@sumaris-net/ngx-components 18.23.0-beta.2 → 18.23.0-beta.3

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.0-beta.2",
4
+ "version": "18.23.0-beta.3",
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): 1 | -1 | 0;
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;
@@ -551,24 +551,27 @@
551
551
  }
552
552
 
553
553
  // Cell selection
554
+ --app-cell-selected-color: var(--ion-color-secondary50);
555
+ --app-cell-dragging-color: var(--ion-color-secondary50-shade);
556
+ --app-cell-selection-border-color: var(--ion-color-accent, gray);
557
+
554
558
  td.cell-selected {
555
- background-color: rgba(102, 51, 153, 0.2) !important;
559
+ background-color: var(--app-cell-selected-color) !important;
556
560
  }
557
561
 
558
562
  td.cell-dragging {
559
- background-color: rgba(102, 51, 153, 0.3) !important;
563
+ background-color: var(--app-cell-dragging-color) !important;
560
564
  }
561
565
 
562
566
  div.cell-selection-overlay {
563
- --border-color: var(--ion-color-accent, gray);
564
567
  position: absolute;
565
568
  z-index: 5;
566
569
  animation: linearGradientMove 0.3s infinite linear;
567
570
  background:
568
- linear-gradient(90deg, var(--border-color) 50%, transparent 0) repeat-x,
569
- linear-gradient(90deg, var(--border-color) 50%, transparent 0) repeat-x,
570
- linear-gradient(0deg, var(--border-color) 50%, transparent 0) repeat-y,
571
- linear-gradient(0deg, var(--border-color) 50%, transparent 0) repeat-y;
571
+ linear-gradient(90deg, var(--app-cell-selection-border-color) 50%, transparent 0) repeat-x,
572
+ linear-gradient(90deg, var(--app-cell-selection-border-color) 50%, transparent 0) repeat-x,
573
+ linear-gradient(0deg, var(--app-cell-selection-border-color) 50%, transparent 0) repeat-y,
574
+ linear-gradient(0deg, var(--app-cell-selection-border-color) 50%, transparent 0) repeat-y;
572
575
  background-size:
573
576
  4px 2px,
574
577
  4px 2px,