@ngx-stoui/core 16.0.2 → 17.0.0

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": "@ngx-stoui/core",
3
- "version": "16.0.2",
3
+ "version": "17.0.0",
4
4
  "author": {
5
5
  "name": "Ronnie Laugen",
6
6
  "email": "rhenri@equinor.com"
@@ -21,12 +21,12 @@
21
21
  "equinor"
22
22
  ],
23
23
  "peerDependencies": {
24
- "@angular/common": "^16.0.0",
25
- "@angular/core": "^16.0.0",
24
+ "@angular/common": "^17.0.0",
25
+ "@angular/core": "^17.0.0",
26
26
  "date-fns": "^2.30.0"
27
27
  },
28
28
  "dependencies": {
29
- "tslib": "^2.1.0"
29
+ "tslib": "^2.4.0"
30
30
  },
31
31
  "exports": {
32
32
  ".": {
@@ -13,17 +13,6 @@
13
13
  text-align: right;
14
14
  }
15
15
 
16
- .mat-mdc-form-field-infix {
17
- border: 0 !important;
18
- margin: 0 !important;
19
- padding: 1px 0 0 0 !important;
20
- }
21
-
22
- .mat-mdc-form-field-flex {
23
- height: 31px;
24
- padding: 4px 6px;
25
- }
26
-
27
16
  .mat-select {
28
17
  .mat-select-arrow {
29
18
  margin-top: -5px;
@@ -69,6 +69,8 @@
69
69
  padding: 0;
70
70
  }
71
71
  .mat-mdc-form-field {
72
+ --mat-form-field-container-vertical-padding: 0px;
73
+ --mat-form-field-container-height: 20px;
72
74
  margin: 0 4px;
73
75
  min-height: 0;
74
76
  }
@@ -158,10 +160,6 @@
158
160
  }
159
161
  }
160
162
  .datatable-body-cell .sto-form__field {
161
- .mat-mdc-form-field-infix {
162
- padding: 0 9px 0 0;
163
- border-top: 0;
164
- }
165
163
  .mat-select,
166
164
  .mat-input {
167
165
  padding: 0;
@@ -177,16 +177,15 @@ $height: 72px;
177
177
  font-size: 11px;
178
178
  margin: 6px;
179
179
  }
180
- .mdc-text-field--no-label:not(.mdc-text-field--outlined):not(.mdc-text-field--textarea),
181
- .mat-mdc-form-field-flex {
182
- .mat-mdc-form-field-infix {
183
- padding: 6px 0 0 0;
184
- }
185
- }
186
- .mat-mdc-form-field-flex .mat-mdc-form-field-infix {
187
- min-height: auto;
188
- border-top: 0.99975em solid transparent;
189
- }
180
+ // .mdc-text-field--no-label:not(.mdc-text-field--outlined):not(.mdc-text-field--textarea),
181
+ // .mat-mdc-form-field-flex {
182
+ // .mat-mdc-form-field-infix {
183
+ // padding: 6px 0 0 0;
184
+ // }
185
+ // }
186
+ // .mat-mdc-form-field-flex .mat-mdc-form-field-infix {
187
+ // border-top: 0.99975em solid transparent;
188
+ // }
190
189
  .mat-mdc-form-field-icon-suffix {
191
190
  height: 18px;
192
191
  color: var(--text);
@@ -216,7 +215,7 @@ $height: 72px;
216
215
 
217
216
  .mat-mdc-slide-toggle {
218
217
  position: absolute;
219
- top: 0;
218
+ bottom: 0;
220
219
  right: 4px;
221
220
  }
222
221
 
@@ -6,8 +6,6 @@ Use with StoGridDirective
6
6
  .sto-f-grid {
7
7
  display: flex;
8
8
  flex-wrap: wrap;
9
- margin-right: -8px;
10
- margin-left: -8px;
11
9
 
12
10
  &__col {
13
11
  min-height: 24px;
@@ -120,12 +120,6 @@
120
120
 
121
121
  background-color: $hover-color;
122
122
  }
123
- .sto-form__field {
124
- .mat-mdc-form-field-infix {
125
- padding: 0 9px 0 0;
126
- border-top: 0;
127
- }
128
- }
129
123
  .mat-mdc-icon-button {
130
124
  --mdc-icon-button-state-layer-size: 28px;
131
125
  padding: 0;