@sumaris-net/ngx-components 1.23.59 → 1.23.61

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.
@@ -183,7 +183,7 @@ MatBooleanField.decorators = [
183
183
  DEFAULT_VALUE_ACCESSOR
184
184
  ],
185
185
  changeDetection: ChangeDetectionStrategy.OnPush,
186
- styles: [":host{width:100%}.mat-form-field.mat-boolean-field-radio{margin-top:-2px}.mat-form-field.mat-boolean-field-button{margin-top:-4px}.mat-form-field .mat-form-field-buttons{width:100%;display:flex;flex-flow:row wrap;justify-content:flex-start;align-items:center}.mat-form-field .mat-form-field-buttons .mat-form-field-button{--flex-basis:calc(100% / var(--buttons-col-count, 2));flex:0 1 var(--flex-basis);max-width:min(var(--flex-basis),150px);white-space:normal;padding:0 2px;height:40px}"]
186
+ styles: [":host{width:100%}.mat-form-field.mat-boolean-field-radio{margin-top:-2px}.mat-form-field.mat-boolean-field-button{margin-top:-4px}.mat-form-field .mat-form-field-buttons{width:100%;display:flex;flex-flow:row wrap;justify-content:flex-start;align-items:center}.mat-form-field .mat-form-field-buttons .mat-form-field-button{--button-padding-end:2px;--flex-basis:calc(100% / var(--buttons-col-count, 2) - var(--button-padding-end));flex:0 1 var(--flex-basis);max-width:min(var(--flex-basis),150px);text-transform:capitalize;white-space:normal;padding-inline-end:var(--button-padding-end)!important;padding-bottom:var(--button-padding-end)!important;height:40px}"]
187
187
  },] }
188
188
  ];
189
189
  MatBooleanField.ctorParameters = () => [
@@ -6766,7 +6766,7 @@ MatBooleanField.decorators = [
6766
6766
  DEFAULT_VALUE_ACCESSOR$4
6767
6767
  ],
6768
6768
  changeDetection: ChangeDetectionStrategy.OnPush,
6769
- styles: [":host{width:100%}.mat-form-field.mat-boolean-field-radio{margin-top:-2px}.mat-form-field.mat-boolean-field-button{margin-top:-4px}.mat-form-field .mat-form-field-buttons{width:100%;display:flex;flex-flow:row wrap;justify-content:flex-start;align-items:center}.mat-form-field .mat-form-field-buttons .mat-form-field-button{--flex-basis:calc(100% / var(--buttons-col-count, 2));flex:0 1 var(--flex-basis);max-width:min(var(--flex-basis),150px);white-space:normal;padding:0 2px;height:40px}"]
6769
+ styles: [":host{width:100%}.mat-form-field.mat-boolean-field-radio{margin-top:-2px}.mat-form-field.mat-boolean-field-button{margin-top:-4px}.mat-form-field .mat-form-field-buttons{width:100%;display:flex;flex-flow:row wrap;justify-content:flex-start;align-items:center}.mat-form-field .mat-form-field-buttons .mat-form-field-button{--button-padding-end:2px;--flex-basis:calc(100% / var(--buttons-col-count, 2) - var(--button-padding-end));flex:0 1 var(--flex-basis);max-width:min(var(--flex-basis),150px);text-transform:capitalize;white-space:normal;padding-inline-end:var(--button-padding-end)!important;padding-bottom:var(--button-padding-end)!important;height:40px}"]
6770
6770
  },] }
6771
6771
  ];
6772
6772
  MatBooleanField.ctorParameters = () => [
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@sumaris-net/ngx-components",
3
3
  "description": "SUMARiS Angular components",
4
- "version": "1.23.59",
4
+ "version": "1.23.61",
5
5
  "author": "contact@e-is.pro",
6
6
  "license": "AGPL-3.0",
7
7
  "readmeFilename": "README.md",
@@ -260,15 +260,23 @@ mat-date-time-field {
260
260
  }
261
261
 
262
262
  // --- mat-autocomplete and mat-select panel
263
+ // When simple text option, add a padding
263
264
  mat-option {
264
265
  .mat-option-text:not(:has(ion-row)) {
265
266
  padding: 0 16px;
266
267
  }
267
-
268
+ .mat-option-text:has(ion-searchbar) {
269
+ padding: 0 !important;
270
+ }
268
271
  ion-row,
269
272
  .mat-option-text:has(ion-row) {
270
273
  padding: 0;
271
274
  }
275
+ mat-autocomplete-footer {
276
+ .mat-option-text {
277
+ padding: 0 !important;
278
+ }
279
+ }
272
280
  }
273
281
 
274
282
  mat-option:not(:last-of-type) {