@enigmatry/entry-components 1.15.1-preview.20 → 1.15.1-preview.21
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 +3 -9
- package/styles/modules/components/dialogs/_generator.scss +1 -1
- package/styles/modules/components/headers/_generator.scss +1 -1
- package/styles/modules/components/tables/_cells.scss +1 -5
- package/styles/modules/components/tables/_no-result.scss +1 -3
- package/styles/modules/components/tables/_rows.scss +4 -4
- package/styles/modules/components/tables/_sorting.scss +2 -5
- package/styles/modules/typography/_fonts.scss +1 -1
- package/styles/partials/core/components/_index.scss +1 -1
- package/styles/partials/core/components/tables/_general.scss +21 -0
- package/styles/partials/core/components/tables/_action-cells.scss +0 -3
- package/styles/partials/core/components/tables/_index.scss +0 -2
- package/styles/partials/core/components/tables/_layout.scss +0 -30
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.21",
|
|
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",
|
|
@@ -5,8 +5,7 @@ $theme: (
|
|
|
5
5
|
accent-theme: null,
|
|
6
6
|
primary: #2581C4,
|
|
7
7
|
accent: #EA518D,
|
|
8
|
-
|
|
9
|
-
disabled-light: #F5F5F5
|
|
8
|
+
font: #323232
|
|
10
9
|
),
|
|
11
10
|
typography: null,
|
|
12
11
|
fonts: (
|
|
@@ -34,19 +33,14 @@ $theme: (
|
|
|
34
33
|
),
|
|
35
34
|
rows: (
|
|
36
35
|
selected-color: #FFF,
|
|
36
|
+
disabled-color: #F5F5F5,
|
|
37
37
|
odd-even-row: odd,
|
|
38
38
|
odd-even-background: #F0F0F0
|
|
39
39
|
),
|
|
40
|
-
columns: (
|
|
41
|
-
sorted: (
|
|
42
|
-
font-weight: 700
|
|
43
|
-
)
|
|
44
|
-
),
|
|
45
40
|
contents: (
|
|
46
41
|
no-result: (
|
|
47
42
|
font-size: 13px,
|
|
48
|
-
font-weight: 500
|
|
49
|
-
text-transform: none
|
|
43
|
+
font-weight: 500
|
|
50
44
|
)
|
|
51
45
|
)
|
|
52
46
|
),
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
@mixin generate-from($theme) {
|
|
4
4
|
.entry-dialog {
|
|
5
5
|
.title {
|
|
6
|
-
color: map.get($theme, 'general', 'colors', '
|
|
6
|
+
color: map.get($theme, 'general', 'colors', 'font');
|
|
7
7
|
font-size: map.get($theme, 'dialogs', 'title', 'size');
|
|
8
8
|
}
|
|
9
9
|
font-size: map.get($theme, 'general', 'font', 'size');
|
|
@@ -2,11 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
@mixin generate-from($theme) {
|
|
4
4
|
.mat-mdc-cell {
|
|
5
|
-
color: map.get($theme, 'general', 'colors', '
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
.mat-mdc-cell, .mat-mdc-header-cell {
|
|
9
|
-
font-size: map.get($theme, 'general', 'font', 'size');
|
|
5
|
+
color: map.get($theme, 'general', 'colors', 'font');
|
|
10
6
|
}
|
|
11
7
|
|
|
12
8
|
.mat-mdc-header-cell:first-of-type, .mat-mdc-cell:first-of-type, .mat-mdc-footer-cell:first-of-type {
|
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
@use 'sass:map';
|
|
2
2
|
|
|
3
3
|
@mixin generate-from($theme) {
|
|
4
|
-
.entry-table
|
|
5
|
-
text-transform: map.get($theme, 'tables', 'contents', 'no-result', 'text-transform');
|
|
6
|
-
|
|
4
|
+
.entry-table .no-results {
|
|
7
5
|
font: {
|
|
8
6
|
size: map.get($theme, 'tables', 'contents', 'no-result', 'font-size');
|
|
9
7
|
weight: map.get($theme, 'tables', 'contents', 'no-result', 'font-weight');
|
|
@@ -14,10 +14,10 @@
|
|
|
14
14
|
color: map.get($theme, 'tables', 'rows', 'selected-color');
|
|
15
15
|
}
|
|
16
16
|
}
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
17
|
|
|
20
|
-
|
|
21
|
-
|
|
18
|
+
&.mat-row-disabled {
|
|
19
|
+
background-color: map.get($theme, 'tables', 'rows', 'disabled-color');
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
22
|
}
|
|
23
23
|
}
|
|
@@ -2,13 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
@mixin generate-from($theme) {
|
|
4
4
|
.mat-sort-header-sorted {
|
|
5
|
-
font:
|
|
6
|
-
size: map.get($theme, 'general', 'font', 'size');
|
|
7
|
-
weight: map.get($theme, 'tables', 'columns', 'sorted', 'font-weight');
|
|
8
|
-
}
|
|
5
|
+
font-weight: 700;
|
|
9
6
|
}
|
|
10
7
|
|
|
11
8
|
.mat-sort-header-sorted, .mat-sort-header-arrow {
|
|
12
|
-
color: map.get($theme, 'general', 'colors', '
|
|
9
|
+
color: map.get($theme, 'general', 'colors', 'font');
|
|
13
10
|
}
|
|
14
11
|
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
@use '@enigmatry/scss-foundation/src/modules/display/items';
|
|
2
|
+
|
|
3
|
+
.entry-table {
|
|
4
|
+
display: flex;
|
|
5
|
+
flex-direction: column;
|
|
6
|
+
overflow: auto;
|
|
7
|
+
|
|
8
|
+
.selection-cell, .action-cell {
|
|
9
|
+
width: 48px;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.pagination {
|
|
13
|
+
margin-bottom: 10px;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.no-results {
|
|
17
|
+
@include items.align-absolute-center();
|
|
18
|
+
flex: 1;
|
|
19
|
+
min-height: 50px;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
@use '@enigmatry/scss-foundation/src/modules/display/items';
|
|
2
|
-
|
|
3
|
-
.entry-table {
|
|
4
|
-
.mat-table-container {
|
|
5
|
-
&.mat-table-with-data {
|
|
6
|
-
flex: 1;
|
|
7
|
-
}
|
|
8
|
-
}
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
.entry-table-layout {
|
|
12
|
-
display: flex;
|
|
13
|
-
flex: 1 1 auto;
|
|
14
|
-
overflow: auto;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
.entry-table-content {
|
|
18
|
-
flex-direction: column;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
.entry-table-footer {
|
|
22
|
-
position: relative;
|
|
23
|
-
z-index: 1;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
.entry-table-no-result {
|
|
27
|
-
@include items.align-absolute-center();
|
|
28
|
-
flex: 1;
|
|
29
|
-
min-height: 50px;
|
|
30
|
-
}
|