@sumaris-net/ngx-components 2.7.3-rc46 → 2.7.3-rc48

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": "2.7.3-rc46",
4
+ "version": "2.7.3-rc48",
5
5
  "author": "contact@e-is.pro",
6
6
  "license": "AGPL-3.0",
7
7
  "readmeFilename": "README.md",
@@ -2,7 +2,7 @@
2
2
  "name": "ngx-sumaris-components",
3
3
  "short_name": "ngx-sumaris-components",
4
4
  "manifest_version": 1,
5
- "version": "2.7.3-rc46",
5
+ "version": "2.7.3-rc48",
6
6
  "default_locale": "fr",
7
7
  "description": "Angular components for building beautiful and responsive Apps",
8
8
  "icons": [{
@@ -2,7 +2,6 @@
2
2
  // Import material theme
3
3
  // --------------------------------------------------
4
4
  @use '@angular/material' as mat;
5
- @include mat.core();
6
5
 
7
6
  // Define the palettes for your theme using the Material Design palettes available in palette.scss
8
7
  // (imported above). For each palette, you can optionally specify a default, lighter, and darker
@@ -40,22 +39,6 @@ $mat-indigo-app: (
40
39
  A700: white
41
40
  )
42
41
  );
43
- //mat.$light-theme-background-palette: (
44
- // status-bar: map_get(mat.$grey-palette, 300),
45
- // app-bar: map_get(mat.$grey-palette, 100),
46
- // background: var(--background, map_get(mat.$grey-palette, 50)),
47
- // hover: rgba(black, 0.04), // TODO(kara): check style with Material Design UX
48
- // card: white,
49
- // dialog: white,
50
- // disabled-button: rgba(black, 0.12),
51
- // raised-button: white,
52
- // focused-button: rgba(black, 0.12),
53
- // selected-button: map_get(mat.$grey-palette, 300),
54
- // selected-disabled-button: map_get(mat.$grey-palette, 400),
55
- // disabled-button-toggle: map_get(mat.$grey-palette, 200),
56
- // unselected-chip: map_get(mat.$grey-palette, 300),
57
- // disabled-list-option: map_get(mat.$grey-palette, 200),
58
- //);
59
42
 
60
43
  // FIXME: Why loader toolbar is so dark ?
61
44
  $candy-app-primary: mat.define-palette($mat-indigo-app, 500, 100, 900);
@@ -75,28 +58,9 @@ $candy-app-theme: mat.define-light-theme((
75
58
 
76
59
  ));
77
60
 
78
- @include mat.all-component-themes($candy-app-theme);
79
-
80
-
81
61
  // --------------------------------------------------
82
62
  // Material theme
83
63
  // --------------------------------------------------
84
- //$primary: mat.define-palette(mat.$indigo-palette, 500);
85
- //$accent: mat.define-palette(mat.$pink-palette, A200, A100, A400);
86
- //$warn: mat.define-palette(mat.$red-palette);
87
- //
88
- //$theme: mat.define-light-theme((
89
- // color: (
90
- // primary: $primary,
91
- // accent: $accent,
92
- // warn: $warn,
93
- // ),
94
- // typography: mat.define-typography-config(),
95
- // density: 0,
96
- //));
97
- //@include mat.all-component-themes($theme);
98
-
99
-
100
64
 
101
65
  // Expose some variables
102
66
  $mat-tab-link-height: 48px !default;
@@ -1,3 +1,11 @@
1
+ @use '@angular/material' as mat;
2
+
3
+ // --------------------------------------------------
4
+ // Standard metrial style
5
+ // --------------------------------------------------
6
+ @include mat.core();
7
+ @include mat.all-component-themes($candy-app-theme);
8
+
1
9
  // --------------------------------------------------
2
10
  // Override material style
3
11
  // --------------------------------------------------
@@ -134,13 +134,6 @@ form.form-container {
134
134
  padding-left: 8px;
135
135
  }
136
136
  }
137
-
138
- &.mat-boolean-field-button {
139
- .mat-mdc-form-field-infix {
140
- padding-top: 0;
141
- padding-bottom: 0;
142
- }
143
- }
144
137
  }
145
138
 
146
139
  .mat-mdc-form-field-subscript-wrapper {