@sumaris-net/ngx-components 18.23.4 → 18.23.5

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,7 +1,7 @@
1
1
  {
2
2
  "name": "@sumaris-net/ngx-components",
3
3
  "description": "SUMARiS Angular components",
4
- "version": "18.23.4",
4
+ "version": "18.23.5",
5
5
  "author": "contact@e-is.pro",
6
6
  "license": "AGPL-3.0",
7
7
  "readmeFilename": "README.md",
@@ -46,7 +46,7 @@ export declare class AppInstallUpgradeCard implements OnInit, OnDestroy {
46
46
  download(event: Event, link: InstallAppLink): Promise<void>;
47
47
  openFile(event: Event, link: InstallAppLink): Promise<void>;
48
48
  tryOnline(): Promise<void>;
49
- getPlatformName(platform: 'android' | 'ios' | 'electron'): "desktop" | "" | "Android" | "iOS";
49
+ getPlatformName(platform: 'android' | 'ios' | 'electron'): "" | "desktop" | "Android" | "iOS";
50
50
  asLink(value: any): InstallAppLink;
51
51
  private checkNeedInstallOrUpdate;
52
52
  private getCompatibleInstallLinks;
@@ -17,7 +17,7 @@ export interface InputElement extends FocusableElement {
17
17
  }
18
18
  export declare function isInputElement(object: any): object is InputElement;
19
19
  export declare function asInputElement<T = any>(object: ElementRef<T>): InputElement | undefined;
20
- export declare function tabindexComparator(a: InputElement, b: InputElement): 1 | 0 | -1;
20
+ export declare function tabindexComparator(a: InputElement, b: InputElement): 0 | 1 | -1;
21
21
  export interface CanGainFocusOptions {
22
22
  minTabindex?: number;
23
23
  maxTabindex?: number;
@@ -2,7 +2,7 @@
2
2
  "name": "ngx-sumaris-components",
3
3
  "short_name": "ngx-sumaris-components",
4
4
  "manifest_version": 1,
5
- "version": "18.23.4",
5
+ "version": "18.23.5",
6
6
  "default_locale": "fr",
7
7
  "description": "Angular components for building beautiful and responsive Apps",
8
8
  "icons": [{
@@ -60,31 +60,16 @@ app-toolbar ion-title {
60
60
 
61
61
  // Ionic Safe Margins
62
62
  // --------------------------------------------------
63
- html.plt-ios.plt-hybrid,
64
- html.plt-ios.plt-pwa {
65
- --ion-statusbar-padding: 20px;
66
- }
67
63
 
68
64
  html {
69
- --ion-safe-area-top: var(--ion-statusbar-padding);
70
- }
71
-
72
- // TODO: remove once Safari 11.2 dies
73
- @supports (padding-top: constant(safe-area-inset-top)) {
74
- html {
75
- --ion-safe-area-top: constant(safe-area-inset-top);
76
- --ion-safe-area-bottom: constant(safe-area-inset-bottom);
77
- --ion-safe-area-left: constant(safe-area-inset-left);
78
- --ion-safe-area-right: constant(safe-area-inset-right);
79
- }
80
- }
81
-
82
- @supports (padding-top: env(safe-area-inset-top)) {
83
- html {
84
- --ion-safe-area-top: env(safe-area-inset-top);
85
- --ion-safe-area-bottom: env(safe-area-inset-bottom);
86
- --ion-safe-area-left: env(safe-area-inset-left);
87
- --ion-safe-area-right: env(safe-area-inset-right);
65
+ --ion-safe-area-top: env(safe-area-inset-top, 0px);
66
+ --ion-safe-area-bottom: env(safe-area-inset-bottom, 0px);
67
+ --ion-safe-area-left: env(safe-area-inset-left, 0px);
68
+ --ion-safe-area-right: env(safe-area-inset-right, 0px);
69
+
70
+ &.plt-ios.plt-hybrid,
71
+ &.plt-ios.plt-pwa {
72
+ --ion-statusbar-padding: env(safe-area-inset-top, 20px);
88
73
  }
89
74
  }
90
75