i-tech-shared-components 1.2.9 → 1.2.10

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 (2) hide show
  1. package/package.json +1 -1
  2. package/theme/_ag-grid.scss +126 -17
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "i-tech-shared-components",
3
- "version": "1.2.9",
3
+ "version": "1.2.10",
4
4
  "peerDependencies": {
5
5
  "@angular/material": "~18.2.14",
6
6
  "@angular/animations": "~18.0.0",
@@ -11,27 +11,27 @@ body {
11
11
 
12
12
  // Success theme
13
13
  .ag-row.success-row {
14
- background-color: #{mat.get-theme-color($m3-light-theme, primary, 99)} !important;
14
+ background-color: #{mat.get-theme-color($m3-light-theme, primary, 99)};
15
15
  }
16
16
  .ag-row.success-row:hover:before {
17
- background-color: #{mat.get-theme-color($m3-light-theme, primary, 98)} !important;
17
+ background-color: #{mat.get-theme-color($m3-light-theme, primary, 98)};
18
18
  }
19
19
 
20
20
  // Change theme
21
21
  .ag-cell-changed {
22
- background-color: #{mat.get-theme-color($m3-light-theme, secondary, 99)} !important;
22
+ background-color: #{mat.get-theme-color($m3-light-theme, secondary, 99)};
23
23
  &.ag-cell-focus,
24
24
  &:hover {
25
- background-color: #{mat.get-theme-color($m3-light-theme, secondary, 98)} !important;
25
+ background-color: #{mat.get-theme-color($m3-light-theme, secondary, 98)};
26
26
  }
27
27
  }
28
28
 
29
29
  // Error theme
30
30
  .ag-row.error-row {
31
- background-color: #{mat.get-theme-color($m3-light-theme, error, 99)} !important;
31
+ background-color: #{mat.get-theme-color($m3-light-theme, error, 99)};
32
32
  }
33
33
  .ag-row.error-row:hover:before {
34
- background-color: #{mat.get-theme-color($m3-light-theme, error, 98)} !important;
34
+ background-color: #{mat.get-theme-color($m3-light-theme, error, 98)};
35
35
  }
36
36
 
37
37
  .ag-row.not-found-row-even {
@@ -84,23 +84,23 @@ body {
84
84
  }
85
85
 
86
86
  .ag-root-wrapper {
87
- background-color: transparent !important;
88
- border: unset !important;
89
- border-radius: unset !important;
90
- --ag-border-color: var(--neutral90) !important;
87
+ background-color: transparent;
88
+ border: unset;
89
+ border-radius: unset;
90
+ --ag-border-color: var(--neutral90);
91
91
 
92
92
  .ag-root-wrapper-body {
93
- border-bottom-left-radius: #{$borderRadius} !important;
94
- border-bottom-right-radius: #{$borderRadius} !important;
95
- border: 1px solid var(--neutral90) !important;
96
- background-color: var(--white-color) !important;
93
+ border-bottom-left-radius: #{$borderRadius};
94
+ border-bottom-right-radius: #{$borderRadius};
95
+ border: 1px solid var(--neutral90);
96
+ background-color: var(--white-color);
97
97
  }
98
98
 
99
99
  .ag-picker-field-wrapper {
100
- border-radius: 4px !important;
100
+ border-radius: 4px;
101
101
  height: 40px;
102
102
  border: 1px solid var(--neutral90);
103
- box-shadow: unset !important;
103
+ box-shadow: unset;
104
104
  .ag-picker-field-display {
105
105
  color: #424954;
106
106
  font-weight: 500;
@@ -114,7 +114,116 @@ body {
114
114
  }
115
115
 
116
116
  .ag-paging-panel {
117
- border-top: unset !important;
117
+ border-top: unset;
118
+ }
119
+ }
120
+
121
+
122
+ .full-width-grid {
123
+ .ag-root-wrapper .ag-root-wrapper-body {
124
+ border-left: none !important;
125
+ }
126
+ }
127
+
128
+ .grid-with-selection {
129
+ --ag-selected-row-background-color: #{mat.get-theme-color($m3-light-theme, primary, 98)};
130
+ --ag-row-hover-color: #{mat.get-theme-color($m3-light-theme, primary, 99)};
131
+ }
132
+
133
+ // Overrides for master/detail grid row group for payments
134
+ .grid-with-master-detail.ag-theme-material {
135
+ .ag-row-group {
136
+ line-height: unset;
137
+ font-weight: unset;
138
+ letter-spacing: unset;
139
+ text-transform: unset;
140
+ background-color: unset;
141
+ font-size: unset;
142
+ align-items: center;
143
+ height: 100%;
144
+ }
145
+ .ag-row-group-leaf-indent {
146
+ height: 100%;
147
+ margin-left: 26px;
148
+ }
149
+ }
150
+
151
+ .grid-with-group-rows-and-master-detail.ag-theme-material {
152
+ .ag-center-cols-container {
153
+ min-width: 100%;
154
+ // Override for Master Detail for payments
155
+ .ag-row-group {
156
+ color: unset;
157
+ background-color: unset;
158
+ line-height: unset;
159
+ font-weight: unset;
160
+ letter-spacing: unset;
161
+ text-transform: unset;
162
+ font-size: unset;
163
+ align-items: center;
164
+ height: 100%;
165
+ }
166
+ }
167
+
168
+ .ag-row-group-leaf-indent {
169
+ height: 100%;
170
+ margin-left: 26px;
171
+ }
172
+
173
+ .ag-sticky-top-container {
174
+ .ag-row-group {
175
+ line-height: unset;
176
+ font-weight: unset;
177
+ letter-spacing: unset;
178
+ text-transform: unset;
179
+ background-color: unset;
180
+ font-size: unset;
181
+ align-items: center;
182
+ height: 100%;
183
+ }
184
+
185
+ .ag-row-group-leaf-indent {
186
+ height: 100%;
187
+ margin-left: 26px;
188
+ }
189
+ }
190
+ }
191
+
192
+ .side-pane-grouped-grid.ag-theme-material {
193
+ .ag-row-group {
194
+ color: unset;
195
+ background-color: unset;
196
+ font-weight: unset;
197
+ letter-spacing: unset;
198
+ text-transform: unset;
199
+ font-size: unset;
200
+ align-items: center;
201
+ .ag-column-first {
202
+ padding-left: 10px;
203
+ }
204
+ }
205
+
206
+
207
+ .ag-row {
208
+ .ag-column-first {
209
+ padding-left: 10px;
210
+ .ag-row-group-leaf-indent {
211
+ margin-left: 22px;
212
+ }
213
+ }
214
+ }
215
+
216
+ .ag-group-contracted {
217
+ margin-right: 4px;
218
+ }
219
+
220
+ .ag-group-expanded {
221
+ margin-right: 4px;
222
+ }
223
+
224
+ .ag-root-wrapper .ag-root-wrapper-body {
225
+ border-right: none;
226
+ border-left: none;
118
227
  }
119
228
  }
120
229