@annalib/anna-core 12.3.4 → 12.3.6

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@annalib/anna-core",
3
- "version": "12.3.4",
3
+ "version": "12.3.6",
4
4
  "peerDependencies": {
5
5
  "@angular-slider/ngx-slider": "^2.0.4",
6
6
  "@angular/common": "^15.2.9",
@@ -4,13 +4,18 @@
4
4
  @mixin no-data-to-display-gt($tableHeight, $rowHeight, $noDataMarginTop) {
5
5
  .table-container {
6
6
  height: calc($tableHeight) !important;
7
+
7
8
  table {
8
- tbody {
9
- border-top: none;
10
- border-left: 1px solid #d3d3d3;
11
- border-right: 1px solid #d3d3d3;
12
- border-bottom: 1px solid #d3d3d3;
9
+ border: solid 1px #d4d4d4;
13
10
 
11
+ thead {
12
+ th {
13
+ box-shadow: none !important;
14
+ border: solid 1px #d4d4d4 !important;
15
+ }
16
+ }
17
+
18
+ tbody {
14
19
  tr.no-border-tr:first-of-type {
15
20
  height: $rowHeight !important;
16
21
 
@@ -34,7 +39,7 @@
34
39
  }
35
40
 
36
41
  @mixin resetFilterStyle() {
37
- padding: 0;
42
+ padding: 0;
38
43
  border: none;
39
44
  display: block;
40
45
  text-align: right;
@@ -46,9 +51,11 @@
46
51
  font-size: 14px !important;
47
52
  letter-spacing: normal !important;
48
53
  font-weight: normal !important;
54
+
49
55
  &:hover:enabled {
50
56
  color: #268bff;
51
57
  }
58
+
52
59
  &:disabled {
53
60
  color: #4a4a4a;
54
61
  opacity: 0.5;
@@ -61,6 +68,7 @@
61
68
  cursor: pointer !important;
62
69
  color: #268bff !important;
63
70
  text-decoration: underline !important;
71
+
64
72
  &.disabled {
65
73
  color: #b7b6b6;
66
74
  pointer-events: none;
@@ -71,71 +79,71 @@
71
79
 
72
80
  @mixin table-ellipses {
73
81
  div {
74
- text-overflow: ellipsis !important;
75
- overflow: hidden !important;
76
- white-space:nowrap !important;
77
- // width: 99.5%;
82
+ text-overflow: ellipsis !important;
83
+ overflow: hidden !important;
84
+ white-space: nowrap !important;
85
+ // width: 99.5%;
78
86
  }
79
87
  }
80
88
 
81
89
  @mixin table-ellipses-only-on-text-span {
82
90
  span {
83
- text-overflow: ellipsis !important;
84
- overflow: hidden !important;
85
- white-space:nowrap !important;
86
- display: inline-block !important;
87
- max-width: 92%;
88
- width: fit-content;
91
+ text-overflow: ellipsis !important;
92
+ overflow: hidden !important;
93
+ white-space: nowrap !important;
94
+ display: inline-block !important;
95
+ max-width: 92%;
96
+ width: fit-content;
89
97
  }
90
98
  }
91
99
 
92
- @mixin genericTableHeaderShadow($columnNumber){
93
- .scroll-left-shadow-effect .header-row th:nth-of-type(#{$columnNumber}) {
100
+ @mixin genericTableHeaderShadow($columnNumber) {
101
+ .scroll-left-shadow-effect .header-row th:nth-of-type(#{$columnNumber}) {
94
102
  border: none !important;
95
103
  filter: drop-shadow(2px 0 2px colors.$lightGray-4);
96
104
  }
97
105
  }
98
106
 
99
- @mixin genericTableTotalRowShadow($columnNumber){
107
+ @mixin genericTableTotalRowShadow($columnNumber) {
100
108
  .scroll-left-shadow-effect .total-row td:nth-of-type(#{$columnNumber}) {
101
109
  filter: drop-shadow(2px 0 2px colors.$lightGray-4);
102
110
  }
103
111
  }
104
112
 
105
- @mixin genericTableTableDataShadow($columnNumber){
106
- .scroll-left-shadow-effect td:nth-of-type(#{$columnNumber}) {
113
+ @mixin genericTableTableDataShadow($columnNumber) {
114
+ .scroll-left-shadow-effect td:nth-of-type(#{$columnNumber}) {
107
115
  filter: drop-shadow(2px 0 1px colors.$lightGray-4);
108
116
  }
109
117
  }
110
118
 
111
- @mixin genericTableOverrideHeaderShadow($columnNumber){
112
- .scroll-left-shadow-effect .header-row th:nth-of-type(#{$columnNumber}) {
119
+ @mixin genericTableOverrideHeaderShadow($columnNumber) {
120
+ .scroll-left-shadow-effect .header-row th:nth-of-type(#{$columnNumber}) {
113
121
  box-shadow: none !important;
114
122
  border: none !important;
115
123
  filter: none;
116
124
  }
117
125
  }
118
126
 
119
- @mixin genericTableOverrideTableDataShadow($columnNumber){
120
- .scroll-left-shadow-effect td:nth-of-type(#{$columnNumber}) {
127
+ @mixin genericTableOverrideTableDataShadow($columnNumber) {
128
+ .scroll-left-shadow-effect td:nth-of-type(#{$columnNumber}) {
121
129
  filter: none;
122
130
  }
123
131
  }
124
132
 
125
- @mixin overrideEmptyTrBorders($startIndex){
126
-
127
- tr.no-border-tr:first-of-type{
128
-
129
- td:nth-of-type(#{$startIndex}){
133
+ @mixin overrideEmptyTrBorders($startIndex) {
134
+
135
+ tr.no-border-tr:first-of-type {
136
+
137
+ td:nth-of-type(#{$startIndex}) {
130
138
  box-shadow: inset 1px 0px 0px 0px #d4d4d4 !important;
131
139
  }
132
-
133
- td:nth-child(n+ #{$startIndex + 1}){
140
+
141
+ td:nth-child(n+ #{$startIndex + 1}) {
134
142
  box-shadow: none !important;
135
143
  }
136
144
 
137
- td:last-of-type{
145
+ td:last-of-type {
138
146
  box-shadow: inset -1px 0px 0px 0px #d4d4d4 !important
139
- }
147
+ }
140
148
  }
141
- }
149
+ }