@ngx-stoui/core 20.0.2 → 20.0.4

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/ngx-datatable.css CHANGED
@@ -133,10 +133,18 @@
133
133
 
134
134
  .sto-datatable .sto-form__field {
135
135
  width: 100%;
136
+ min-height: auto;
137
+ --mat-form-field-container-vertical-padding: 7px;
136
138
  }
137
139
  .sto-datatable .sto-form__field--readonly .mat-mdc-form-field-flex, .sto-datatable .sto-form__field--disabled .mat-mdc-form-field-flex {
138
140
  border: 0;
139
141
  }
142
+ .sto-datatable .sto-form__field .mat-mdc-form-field-flex {
143
+ padding: 0 6px;
144
+ }
145
+ .sto-datatable .sto-form__field .mat-mdc-form-field-subscript-wrapper {
146
+ display: none;
147
+ }
140
148
  .sto-datatable .sto-form__field input[type=number] {
141
149
  text-align: right;
142
150
  }
@@ -169,7 +177,6 @@
169
177
 
170
178
  .sto-compact .sto-datatable .sto-form__field .mat-mdc-form-field-flex {
171
179
  height: auto;
172
- padding: 0 6px;
173
180
  }
174
181
  .sto-compact .sto-datatable .sto-form__field .mat-mdc-form-field-icon-suffix {
175
182
  height: 22px;
@@ -240,8 +247,8 @@
240
247
  padding: 0;
241
248
  }
242
249
  .sto-datatable .datatable-body .datatable-body-row .datatable-body-cell .mat-mdc-form-field {
243
- --mat-form-field-container-vertical-padding: 0px;
244
- --mat-form-field-container-height: 20px;
250
+ --mat-form-field-container-vertical-padding: 6px;
251
+ --mat-form-field-container-height: 32px;
245
252
  margin: 0 4px;
246
253
  min-height: 0;
247
254
  }
package/ngx-stoui.css CHANGED
@@ -202,6 +202,20 @@ body .sto-datatable {
202
202
  background-color: transparent;
203
203
  color: var(--text);
204
204
  }
205
+ body .sto-datatable .sto-form__field {
206
+ width: 100%;
207
+ min-height: auto;
208
+ --mat-form-field-container-vertical-padding: 8px;
209
+ }
210
+ body .sto-datatable .sto-form__field .mat-mdc-form-field-flex {
211
+ padding: 0 6px;
212
+ }
213
+ body .sto-datatable .sto-form__field .mat-mdc-form-field-flex .mat-mdc-form-field-infix {
214
+ width: auto;
215
+ }
216
+ body .sto-datatable .sto-form__field .mat-mdc-form-field-subscript-wrapper {
217
+ display: none;
218
+ }
205
219
  body .sto-datatable .datatable-body mat-icon,
206
220
  body .sto-datatable .datatable-header mat-icon {
207
221
  color: var(--text-secondary);
@@ -4058,12 +4072,13 @@ input::-webkit-inner-spin-button {
4058
4072
  }
4059
4073
 
4060
4074
  html body.mat-app-background {
4075
+ --mat-button-outlined-disabled-label-text-color: var(--text-disabled);
4076
+ --mat-button-outlined-label-text-color: var(--text);
4061
4077
  --mat-button-protected-label-text-color: var(--primary-hover-alt);
4062
4078
  --mat-button-text-container-height: 46px;
4079
+ --mat-button-text-disabled-label-text-color: var(--text-disabled);
4063
4080
  --mat-button-text-label-text-color: var(--text);
4064
4081
  --mat-button-toggle-text-color: var(--text);
4065
- --mat-button-outlined-disabled-label-text-color: var(--text-disabled);
4066
- --mat-button-outlined-label-text-color: var(--text);
4067
4082
  --mat-card-elevated-container-color: var(--bg-card);
4068
4083
  --mat-card-outlined-container-color: hsla(from var(--bg-card) h s l / 50%);
4069
4084
  --mat-checkbox-label-text-color: var(--text);
@@ -4073,6 +4088,7 @@ html body.mat-app-background {
4073
4088
  --mat-checkbox-unselected-hover-icon-color: var(--text-disabled);
4074
4089
  --mat-checkbox-unselected-icon-color: var(--text);
4075
4090
  --mat-datepicker-calendar-body-label-text-color: var(--text);
4091
+ --mat-datepicker-calendar-date-today-outline-color: var(--primary-hover);
4076
4092
  --mat-datepicker-calendar-container-background-color: var(--bg-card);
4077
4093
  --mat-datepicker-calendar-date-selected-state-background-color: var(
4078
4094
  --primary-resting
@@ -4120,6 +4136,7 @@ html body.mat-app-background {
4120
4136
  --mat-menu-item-icon-color: var(--text);
4121
4137
  --mat-menu-item-label-text-color: var(--text);
4122
4138
  --mat-option-label-text-color: var(--text);
4139
+ --mat-option-selected-state-label-text-color: var(--text);
4123
4140
  --mat-progress-bar-active-indicator-color: var(--primary-highlight);
4124
4141
  --mat-pseudo-checkbox-full-unselected-icon-color: var(--text);
4125
4142
  --mat-radio-selected-icon-color: var(--primary-resting);
@@ -4136,6 +4153,7 @@ html body.mat-app-background {
4136
4153
  --primary-selected-hover
4137
4154
  );
4138
4155
  --mat-slide-toggle-selected-track-color: var(--primary-selected-hover);
4156
+ --mat-sort-arrow-color: var(--text);
4139
4157
  --mat-tab-active-label-text-color: var(--text);
4140
4158
  --mat-tab-inactive-focus-label-text-color: var(--text-disabled);
4141
4159
  --mat-tab-inactive-hover-label-text-color: var(--text-disabled);
@@ -4148,6 +4166,28 @@ html body.mat-app-background {
4148
4166
  color: var(--text);
4149
4167
  scrollbar-color: var(--primary-resting) var(--bg-card);
4150
4168
  }
4169
+ html body .mat-primary {
4170
+ --mat-pseudo-checkbox-full-selected-icon-color: var(--primary-resting);
4171
+ --mat-pseudo-checkbox-full-selected-checkmark-color: var(
4172
+ --accent-hover-contrast
4173
+ );
4174
+ --mat-pseudo-checkbox-full-unselected-icon-color: var(--text);
4175
+ --mat-pseudo-checkbox-full-disabled-selected-checkmark-color: var(
4176
+ --text-disabled
4177
+ );
4178
+ --mat-pseudo-checkbox-full-disabled-unselected-icon-color: var(
4179
+ --text-disabled
4180
+ );
4181
+ --mat-pseudo-checkbox-full-disabled-selected-icon-color: var(
4182
+ --text-disabled
4183
+ );
4184
+ --mat-pseudo-checkbox-minimal-selected-checkmark-color: var(
4185
+ --primary-resting
4186
+ );
4187
+ --mat-pseudo-checkbox-minimal-disabled-selected-checkmark-color: var(
4188
+ --text-disabled
4189
+ );
4190
+ }
4151
4191
  html body .mat-mdc-checkbox,
4152
4192
  html body .mat-mdc-checkbox.mat-primary {
4153
4193
  --mat-checkbox-label-text-color: var(--text);
@@ -4156,7 +4196,6 @@ html body .mat-mdc-checkbox.mat-primary {
4156
4196
  --mat-checkbox-unselected-focus-icon-color: var(--text-disabled);
4157
4197
  --mat-checkbox-unselected-hover-icon-color: var(--text-disabled);
4158
4198
  --mat-checkbox-unselected-icon-color: var(--text);
4159
- --mat-pseudo-checkbox-full-unselected-icon-color: var(--text);
4160
4199
  }
4161
4200
  html body .mat-mdc-select-panel {
4162
4201
  padding: 0;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ngx-stoui/core",
3
- "version": "20.0.2",
3
+ "version": "20.0.4",
4
4
  "author": {
5
5
  "name": "Ronnie Laugen",
6
6
  "email": "rhenri@equinor.com"
@@ -1,12 +1,20 @@
1
1
  .sto-datatable {
2
2
  .sto-form__field {
3
3
  width: 100%;
4
+ min-height: auto;
5
+ --mat-form-field-container-vertical-padding: 7px;
4
6
  &--readonly,
5
7
  &--disabled {
6
8
  .mat-mdc-form-field-flex {
7
9
  border: 0;
8
10
  }
9
11
  }
12
+ .mat-mdc-form-field-flex {
13
+ padding: 0 6px;
14
+ }
15
+ .mat-mdc-form-field-subscript-wrapper {
16
+ display: none;
17
+ }
10
18
 
11
19
  input[type='number'] {
12
20
  text-align: right;
@@ -56,7 +64,6 @@
56
64
  .sto-form__field {
57
65
  .mat-mdc-form-field-flex {
58
66
  height: auto;
59
- padding: 0 6px;
60
67
  }
61
68
 
62
69
  .mat-mdc-form-field-icon-suffix {
@@ -70,8 +70,8 @@
70
70
  padding: 0;
71
71
  }
72
72
  .mat-mdc-form-field {
73
- --mat-form-field-container-vertical-padding: 0px;
74
- --mat-form-field-container-height: 20px;
73
+ --mat-form-field-container-vertical-padding: 6px;
74
+ --mat-form-field-container-height: 32px;
75
75
  margin: 0 4px;
76
76
  min-height: 0;
77
77
  }
@@ -80,7 +80,20 @@
80
80
  .sto-datatable {
81
81
  background-color: $background-color;
82
82
  color: $color;
83
-
83
+ .sto-form__field {
84
+ width: 100%;
85
+ min-height: auto;
86
+ --mat-form-field-container-vertical-padding: 8px;
87
+ .mat-mdc-form-field-flex {
88
+ padding: 0 6px;
89
+ .mat-mdc-form-field-infix {
90
+ width: auto;
91
+ }
92
+ }
93
+ .mat-mdc-form-field-subscript-wrapper {
94
+ display: none;
95
+ }
96
+ }
84
97
  .datatable-body,
85
98
  .datatable-header {
86
99
  mat-icon {