@enigmatry/entry-components 1.15.1-preview.16 → 1.15.1-preview.17
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/package.json +1 -1
- package/styles/modules/_default-theme.scss +2 -7
- package/styles/modules/components/tables/_cells.scss +2 -6
- package/styles/modules/components/tables/_rows.scss +8 -11
- package/styles/modules/components/tables/_sorting.scss +0 -4
- package/styles/partials/core/components/tables/_action-cells.scss +2 -15
- package/styles/partials/core/components/tables/_index.scss +1 -4
- package/styles/partials/core/components/tables/_layout.scss +2 -19
- package/styles/partials/core/components/tables/_cells.scss +0 -47
- package/styles/partials/core/components/tables/_rows.scss +0 -15
- package/styles/partials/core/components/tables/_sorting.scss +0 -8
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@enigmatry/entry-components",
|
|
3
|
-
"version": "1.15.1-preview.
|
|
3
|
+
"version": "1.15.1-preview.17",
|
|
4
4
|
"author": "Enigmatry",
|
|
5
5
|
"description": "Enigmatry entry angular material components",
|
|
6
6
|
"homepage": "https://github.com/enigmatry/entry-angular-building-blocks/tree/master/libs/entry-components#readme",
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/* stylelint-disable number-max-precision */
|
|
2
1
|
$theme: (
|
|
3
2
|
general: (
|
|
4
3
|
colors: (
|
|
@@ -31,20 +30,16 @@ $theme: (
|
|
|
31
30
|
),
|
|
32
31
|
tables: (
|
|
33
32
|
cells: (
|
|
34
|
-
|
|
35
|
-
last-cell-padding-right: 4px,
|
|
36
|
-
min-width: unset
|
|
33
|
+
edge-gap: 4px
|
|
37
34
|
),
|
|
38
35
|
rows: (
|
|
39
|
-
selected-background-color: #06C,
|
|
40
36
|
selected-color: #FFF,
|
|
41
37
|
odd-even-row: odd,
|
|
42
38
|
odd-even-background: #F0F0F0
|
|
43
39
|
),
|
|
44
40
|
columns: (
|
|
45
41
|
sorted: (
|
|
46
|
-
font-weight: 700
|
|
47
|
-
content-align: left
|
|
42
|
+
font-weight: 700
|
|
48
43
|
)
|
|
49
44
|
),
|
|
50
45
|
contents: (
|
|
@@ -10,14 +10,10 @@
|
|
|
10
10
|
}
|
|
11
11
|
|
|
12
12
|
.mat-mdc-header-cell:first-of-type, .mat-mdc-cell:first-of-type, .mat-mdc-footer-cell:first-of-type {
|
|
13
|
-
padding-left: map.get($theme, 'tables', 'cells', '
|
|
13
|
+
padding-left: map.get($theme, 'tables', 'cells', 'edge-gap');
|
|
14
14
|
}
|
|
15
15
|
|
|
16
16
|
.mat-mdc-header-cell:last-of-type, .mat-mdc-cell:last-of-type, .mat-mdc-footer-cell:last-of-type {
|
|
17
|
-
padding-right: map.get($theme, 'tables', 'cells', '
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
.entry-table-checkbox-cell, .entry-table-context-menu-cell {
|
|
21
|
-
min-width: map.get($theme, 'tables', 'cells', 'min-width');
|
|
17
|
+
padding-right: map.get($theme, 'tables', 'cells', 'edge-gap');
|
|
22
18
|
}
|
|
23
19
|
}
|
|
@@ -3,19 +3,16 @@
|
|
|
3
3
|
|
|
4
4
|
@mixin generate-from($theme) {
|
|
5
5
|
.mat-mdc-row {
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
&.mdc-data-table__row {
|
|
7
|
+
@include list.row-coloring(map.get($theme, 'tables', 'rows', 'odd-even-background'),
|
|
8
|
+
map.get($theme, 'tables', 'rows', 'odd-even-row'));
|
|
8
9
|
|
|
9
|
-
|
|
10
|
-
|
|
10
|
+
&.selected {
|
|
11
|
+
background-color: map.get($theme, 'general', 'colors', 'primary');
|
|
11
12
|
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
.mat-mdc-cell {
|
|
18
|
-
color: map.get($theme, 'tables', 'rows', 'selected-color');
|
|
13
|
+
.mat-mdc-cell {
|
|
14
|
+
color: map.get($theme, 'tables', 'rows', 'selected-color');
|
|
15
|
+
}
|
|
19
16
|
}
|
|
20
17
|
}
|
|
21
18
|
}
|
|
@@ -1,16 +1,3 @@
|
|
|
1
|
-
.entry-table .
|
|
2
|
-
|
|
3
|
-
border: none;
|
|
4
|
-
background-color: transparent;
|
|
5
|
-
cursor: pointer;
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
.entry-table-checkbox-cell {
|
|
9
|
-
flex: none;
|
|
10
|
-
width: 56px;
|
|
11
|
-
max-width: 40px;
|
|
12
|
-
|
|
13
|
-
.mat-mdc-checkbox {
|
|
14
|
-
display: flex;
|
|
15
|
-
}
|
|
1
|
+
.entry-table-checkbox-cell, .entry-table-context-menu-cell {
|
|
2
|
+
width: 48px;
|
|
16
3
|
}
|
|
@@ -1,23 +1,11 @@
|
|
|
1
1
|
@use '@enigmatry/scss-foundation/src/modules/display/items';
|
|
2
2
|
|
|
3
3
|
.entry-table {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
flex-direction: column;
|
|
7
|
-
width: 100%;
|
|
8
|
-
|
|
9
|
-
.mat-mdc-table-container {
|
|
10
|
-
overflow: auto;
|
|
11
|
-
|
|
12
|
-
&.mat-mdc-table-with-data {
|
|
4
|
+
.mat-table-container {
|
|
5
|
+
&.mat-table-with-data {
|
|
13
6
|
flex: 1;
|
|
14
7
|
}
|
|
15
8
|
}
|
|
16
|
-
|
|
17
|
-
.mat-mdc-table {
|
|
18
|
-
min-width: 100%;
|
|
19
|
-
border-collapse: separate;
|
|
20
|
-
}
|
|
21
9
|
}
|
|
22
10
|
|
|
23
11
|
.entry-table-layout {
|
|
@@ -26,11 +14,6 @@
|
|
|
26
14
|
overflow: auto;
|
|
27
15
|
}
|
|
28
16
|
|
|
29
|
-
.entry-table-content {
|
|
30
|
-
flex-direction: column;
|
|
31
|
-
width: 0;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
17
|
.entry-table-footer {
|
|
35
18
|
position: relative;
|
|
36
19
|
z-index: 1;
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
@use '@enigmatry/scss-foundation/src/modules/display/items';
|
|
2
|
-
|
|
3
|
-
.entry-table {
|
|
4
|
-
.mat-mdc-cell, .mat-mdc-header-cell {
|
|
5
|
-
padding: 0 10px;
|
|
6
|
-
border-bottom: none;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
.mat-mdc-header-cell, .mat-mdc-footer-cell, .mat-mdc-cell {
|
|
10
|
-
box-sizing: border-box;
|
|
11
|
-
padding: 4px 10px;
|
|
12
|
-
|
|
13
|
-
&.entry-table-checkbox-cell {
|
|
14
|
-
padding: {
|
|
15
|
-
right: 10px;
|
|
16
|
-
left: 10px;
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
&.entry-table-context-menu-cell {
|
|
21
|
-
@include items.fully-align(center, flex-end);
|
|
22
|
-
/* stylelint-disable-next-line declaration-no-important */
|
|
23
|
-
min-width: unset !important;
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
.mat-mdc-table {
|
|
28
|
-
.mat-mdc-header-cell, .mat-mdc-footer-cell, .mat-mdc-cell {
|
|
29
|
-
&:not(.entry-table-checkbox-cell) {
|
|
30
|
-
min-width: 80px;
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
.mat-header-cell-inner {
|
|
36
|
-
display: flex;
|
|
37
|
-
align-items: center;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
.currency {
|
|
41
|
-
text-align: right;
|
|
42
|
-
|
|
43
|
-
.mat-header-cell-inner {
|
|
44
|
-
justify-content: right;
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
}
|