@sumaris-net/ngx-components 18.6.21 → 18.6.22

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/doc/changelog.md CHANGED
@@ -1151,3 +1151,6 @@ enh: Environment: add useHash property to configure Angular router to use hash U
1151
1151
 
1152
1152
  # 18.6.19
1153
1153
  - fix(autocomplete-field) Avoid too many blur events - see issue sumaris-app#837
1154
+
1155
+ # 18.6.22
1156
+ - enh(styles) Avoid use selection of tab labels
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.6.21",
4
+ "version": "18.6.22",
5
5
  "author": "contact@e-is.pro",
6
6
  "license": "AGPL-3.0",
7
7
  "readmeFilename": "README.md",
@@ -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): 0 | 1 | -1;
20
+ export declare function tabindexComparator(a: InputElement, b: InputElement): 1 | 0 | -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.6.21",
5
+ "version": "18.6.22",
6
6
  "default_locale": "fr",
7
7
  "description": "Angular components for building beautiful and responsive Apps",
8
8
  "icons": [{
@@ -39,6 +39,16 @@
39
39
  display: inherit;
40
40
  }
41
41
 
42
+ // --- Avoid use selection of tab labels
43
+ .mat-mdc-tab-label,
44
+ .mat-mdc-tab-link {
45
+ -webkit-user-select: none;
46
+ -moz-user-select: none;
47
+ -ms-user-select: none;
48
+ user-select: none;
49
+ }
50
+
51
+
42
52
  // --- Dark mode
43
53
  .dark {
44
54
  .mat-mdc-tab-group, .mat-mdc-tab-nav-bar {
@@ -71,3 +81,4 @@
71
81
  }
72
82
  }
73
83
  }
84
+