@natec/mef-dev-ui-kit 22.0.305 → 22.0.317
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/README.md +14 -0
- package/fesm2022/natec-mef-dev-ui-kit.mjs +2167 -123
- package/fesm2022/natec-mef-dev-ui-kit.mjs.map +1 -1
- package/package.json +16 -1
- package/src/lib/styles/buttons.scss +114 -0
- package/src/lib/styles/core.scss +1 -19
- package/src/lib/styles/{pg/modules/_form_elements.scss → form-elements.scss} +10 -10
- package/src/lib/styles/grid-bordered.scss +1 -0
- package/src/lib/styles/grid-table.scss +1 -0
- package/src/lib/styles/theme.scss +119 -75
- package/src/lib/styles/{pg/modules/_typography.scss → typography.scss} +2 -2
- package/src/lib/styles/vars.scss +45 -30
- package/src/lib/v2/cards-grid/md-grid-table.scss +31 -31
- package/src/lib/v2/cards-grid/md-grid.scss +105 -105
- package/types/natec-mef-dev-ui-kit.d.ts +534 -42
- package/types/natec-mef-dev-ui-kit.d.ts.map +1 -1
- package/src/lib/styles/pg/modules/_buttons.scss +0 -156
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
// ═════════════════════════════════════════════════════════════════════════
|
|
35
35
|
|
|
36
36
|
.md-grid-header {
|
|
37
|
-
background: $
|
|
37
|
+
background: $light-gray-2;
|
|
38
38
|
border: none;
|
|
39
39
|
box-shadow: none;
|
|
40
40
|
}
|
|
@@ -52,11 +52,11 @@
|
|
|
52
52
|
font-weight: 300;
|
|
53
53
|
text-transform: uppercase;
|
|
54
54
|
letter-spacing: 0.5px;
|
|
55
|
-
color: $
|
|
55
|
+
color: $dark-gray-2;
|
|
56
56
|
vertical-align: middle;
|
|
57
57
|
|
|
58
58
|
&:not(:first-child) {
|
|
59
|
-
border-left: 2px solid $
|
|
59
|
+
border-left: 2px solid $white;
|
|
60
60
|
}
|
|
61
61
|
|
|
62
62
|
&.sortable {
|
|
@@ -69,7 +69,7 @@
|
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
&.sort-active {
|
|
72
|
-
color: $
|
|
72
|
+
color: $dark-gray-2;
|
|
73
73
|
}
|
|
74
74
|
}
|
|
75
75
|
|
|
@@ -82,11 +82,11 @@
|
|
|
82
82
|
// ═════════════════════════════════════════════════════════════════════════
|
|
83
83
|
|
|
84
84
|
.md-grid-sort-icon {
|
|
85
|
-
color: $
|
|
85
|
+
color: $light-gray-1;
|
|
86
86
|
|
|
87
87
|
&.md-grid-sort-asc,
|
|
88
88
|
&.md-grid-sort-desc {
|
|
89
|
-
color: $
|
|
89
|
+
color: $dark-gray-2;
|
|
90
90
|
}
|
|
91
91
|
}
|
|
92
92
|
|
|
@@ -113,21 +113,21 @@
|
|
|
113
113
|
// ═════════════════════════════════════════════════════════════════════════
|
|
114
114
|
|
|
115
115
|
.md-grid-card {
|
|
116
|
-
background: $
|
|
116
|
+
background: $white;
|
|
117
117
|
border: none;
|
|
118
118
|
border-radius: 0;
|
|
119
119
|
box-shadow: none;
|
|
120
120
|
|
|
121
121
|
// Hover effect for dense table rows
|
|
122
122
|
&:hover {
|
|
123
|
-
background: color.mix($
|
|
123
|
+
background: color.mix($light-gray-2, $white, 30%);
|
|
124
124
|
box-shadow: none;
|
|
125
125
|
transform: none;
|
|
126
126
|
}
|
|
127
127
|
|
|
128
128
|
// Active/selected row
|
|
129
129
|
&.md-grid-card-editing {
|
|
130
|
-
background: color.mix($
|
|
130
|
+
background: color.mix($link, $white, 10%) !important;
|
|
131
131
|
border: none;
|
|
132
132
|
box-shadow: none;
|
|
133
133
|
}
|
|
@@ -143,7 +143,7 @@
|
|
|
143
143
|
font-size: 13px;
|
|
144
144
|
font-weight: 400;
|
|
145
145
|
line-height: 21px;
|
|
146
|
-
color: $
|
|
146
|
+
color: $black-color;
|
|
147
147
|
background: transparent;
|
|
148
148
|
max-height: 30px;
|
|
149
149
|
border: none;
|
|
@@ -168,11 +168,11 @@
|
|
|
168
168
|
// ═════════════════════════════════════════════════════════════════════════
|
|
169
169
|
|
|
170
170
|
.md-grid-footer {
|
|
171
|
-
background: $
|
|
171
|
+
background: $light-gray-2;
|
|
172
172
|
border-top: 1px solid rgba(0, 0, 0, 0.08);
|
|
173
173
|
padding: 8px;
|
|
174
174
|
font-size: 12px;
|
|
175
|
-
color: $
|
|
175
|
+
color: $dark-gray-2;
|
|
176
176
|
}
|
|
177
177
|
|
|
178
178
|
.md-grid-pager {
|
|
@@ -186,12 +186,12 @@
|
|
|
186
186
|
border-radius: 4px;
|
|
187
187
|
border: none;
|
|
188
188
|
background: transparent;
|
|
189
|
-
color: $
|
|
189
|
+
color: $dark-gray-2;
|
|
190
190
|
font-size: 12px;
|
|
191
191
|
|
|
192
192
|
&:hover:not(:disabled) {
|
|
193
193
|
background: transparent;
|
|
194
|
-
color: $
|
|
194
|
+
color: $red;
|
|
195
195
|
}
|
|
196
196
|
|
|
197
197
|
&:disabled {
|
|
@@ -210,14 +210,14 @@
|
|
|
210
210
|
// ═════════════════════════════════════════════════════════════════════════
|
|
211
211
|
|
|
212
212
|
.md-grid-group-header {
|
|
213
|
-
background: color.mix($
|
|
213
|
+
background: color.mix($light-gray-2, $white, 50%);
|
|
214
214
|
border-bottom: 1px solid rgba(0, 0, 0, 0.08);
|
|
215
215
|
padding: 12px 20px;
|
|
216
216
|
margin-bottom: 0;
|
|
217
217
|
border-radius: 0;
|
|
218
218
|
font-weight: 600;
|
|
219
219
|
font-size: 13px;
|
|
220
|
-
color: $
|
|
220
|
+
color: $dark-gray-1;
|
|
221
221
|
}
|
|
222
222
|
|
|
223
223
|
// ═════════════════════════════════════════════════════════════════════════
|
|
@@ -279,12 +279,12 @@
|
|
|
279
279
|
|
|
280
280
|
.md-grid-table.zebra-white {
|
|
281
281
|
.md-grid-header {
|
|
282
|
-
background: $
|
|
282
|
+
background: $white;
|
|
283
283
|
}
|
|
284
284
|
|
|
285
285
|
.md-grid-header-cell {
|
|
286
286
|
&:not(:first-child) {
|
|
287
|
-
border-left: 2px solid $
|
|
287
|
+
border-left: 2px solid $light-gray-3;
|
|
288
288
|
}
|
|
289
289
|
}
|
|
290
290
|
|
|
@@ -294,11 +294,11 @@
|
|
|
294
294
|
}
|
|
295
295
|
|
|
296
296
|
&:nth-child(even) {
|
|
297
|
-
background: $
|
|
297
|
+
background: $white;
|
|
298
298
|
}
|
|
299
299
|
|
|
300
300
|
&:hover {
|
|
301
|
-
background: color.mix($
|
|
301
|
+
background: color.mix($light-gray-2, $white, 30%) !important;
|
|
302
302
|
}
|
|
303
303
|
}
|
|
304
304
|
|
|
@@ -309,17 +309,17 @@
|
|
|
309
309
|
}
|
|
310
310
|
|
|
311
311
|
&:nth-child(even) {
|
|
312
|
-
background: $
|
|
312
|
+
background: $white;
|
|
313
313
|
}
|
|
314
314
|
|
|
315
315
|
&:hover {
|
|
316
|
-
background: color.mix($
|
|
316
|
+
background: color.mix($light-gray-2, $white, 30%) !important;
|
|
317
317
|
}
|
|
318
318
|
}
|
|
319
319
|
}
|
|
320
320
|
|
|
321
321
|
.md-grid-footer {
|
|
322
|
-
background: $
|
|
322
|
+
background: $white;
|
|
323
323
|
}
|
|
324
324
|
}
|
|
325
325
|
|
|
@@ -331,19 +331,19 @@
|
|
|
331
331
|
.md-grid-card {
|
|
332
332
|
// White rows (odd)
|
|
333
333
|
&:nth-child(odd) {
|
|
334
|
-
background: $
|
|
334
|
+
background: $white;
|
|
335
335
|
|
|
336
336
|
&:hover {
|
|
337
|
-
background: color.mix($
|
|
337
|
+
background: color.mix($light-gray-2, $white, 30%) !important;
|
|
338
338
|
}
|
|
339
339
|
}
|
|
340
340
|
|
|
341
341
|
// Grey rows (even)
|
|
342
342
|
&:nth-child(even) {
|
|
343
|
-
background: $
|
|
343
|
+
background: $light-gray-2;
|
|
344
344
|
|
|
345
345
|
&:hover {
|
|
346
|
-
background: color.mix($
|
|
346
|
+
background: color.mix($light-gray-2, $white, 30%) !important;
|
|
347
347
|
}
|
|
348
348
|
}
|
|
349
349
|
}
|
|
@@ -351,18 +351,18 @@
|
|
|
351
351
|
.md-grid-group-rows {
|
|
352
352
|
.md-grid-card {
|
|
353
353
|
&:nth-child(odd) {
|
|
354
|
-
background: $
|
|
354
|
+
background: $white;
|
|
355
355
|
|
|
356
356
|
&:hover {
|
|
357
|
-
background: color.mix($
|
|
357
|
+
background: color.mix($light-gray-2, $white, 30%) !important;
|
|
358
358
|
}
|
|
359
359
|
}
|
|
360
360
|
|
|
361
361
|
&:nth-child(even) {
|
|
362
|
-
background: $
|
|
362
|
+
background: $light-gray-2;
|
|
363
363
|
|
|
364
364
|
&:hover {
|
|
365
|
-
background: color.mix($
|
|
365
|
+
background: color.mix($light-gray-2, $white, 30%) !important;
|
|
366
366
|
}
|
|
367
367
|
}
|
|
368
368
|
}
|