@eui/styles 15.0.0-rc.2 → 15.0.0-rc.4

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.
Files changed (38) hide show
  1. package/dist/styles/eui-legacy.css +1 -1
  2. package/dist/styles/eui-legacy.css.map +1 -1
  3. package/dist/styles/eui-showcase-all.css +1 -1
  4. package/dist/styles/eui-showcase-all.css.map +1 -1
  5. package/dist/styles/eui.css +1 -1
  6. package/dist/styles/eui.css.map +1 -1
  7. package/package.json +1 -1
  8. package/src/styles/02-base/mixins/_eui-input.scss +1 -1
  9. package/src/styles/02-base/mixins/_eui-svg-icons-content.scss +0 -1
  10. package/src/styles/05-material/_module.scss +19 -24
  11. package/src/styles/05-material/_overrides.scss +38 -1
  12. package/src/styles/05-material/compiled/_full.scss +685 -0
  13. package/src/styles/05-material/compiled/_sources.scss +382 -0
  14. package/src/styles/06-shared/_default.scss +11 -0
  15. package/src/styles/06-shared/_module.scss +1 -0
  16. package/src/styles/07-elements/_module-legacy.scss +1 -2
  17. package/src/styles/eui-showcase-all-dev.scss +2 -1
  18. package/src/styles/eui-showcase-all.scss +2 -1
  19. package/src/styles/05-material/_old-v14-material/_module.scss +0 -2
  20. package/src/styles/05-material/_old-v14-material/components/_button.scss +0 -133
  21. package/src/styles/05-material/_old-v14-material/components/_calendar.scss +0 -7
  22. package/src/styles/05-material/_old-v14-material/components/_cdk-drag.scss +0 -54
  23. package/src/styles/05-material/_old-v14-material/components/_cdk-global-scrollblock.scss +0 -16
  24. package/src/styles/05-material/_old-v14-material/components/_cdk-overlay-container.scss +0 -13
  25. package/src/styles/05-material/_old-v14-material/components/_cdk-overlay-pane.scss +0 -4
  26. package/src/styles/05-material/_old-v14-material/components/_checkbox.scss +0 -53
  27. package/src/styles/05-material/_old-v14-material/components/_input.scss +0 -13
  28. package/src/styles/05-material/_old-v14-material/components/_module.scss +0 -11
  29. package/src/styles/05-material/_old-v14-material/components/_option.scss +0 -5
  30. package/src/styles/05-material/_old-v14-material/components/_radio.scss +0 -66
  31. package/src/styles/05-material/_old-v14-material/components/_tooltip.scss +0 -290
  32. package/src/styles/05-material/_old-v14-material/themes/default/_module.scss +0 -2
  33. package/src/styles/05-material/_old-v14-material/themes/default/_theme.scss +0 -9
  34. package/src/styles/05-material/_old-v14-material/themes/default/_variables.scss +0 -64
  35. package/src/styles/05-material/overrides/_cdk.scss +0 -22
  36. package/src/styles/05-material/overrides/_tooltip.scss +0 -290
  37. package/src/styles/07-elements/legacy/_input-checkbox-default.scss +0 -368
  38. package/src/styles/07-elements/legacy/_input-radio-default.scss +0 -289
package/package.json CHANGED
@@ -9,6 +9,6 @@
9
9
  "description": "eUI core styling",
10
10
  "author": "ec.europa.eui@gmail.com",
11
11
  "license": "EUPL-1.1",
12
- "version": "15.0.0-rc.2",
12
+ "version": "15.0.0-rc.4",
13
13
  "tag": "next"
14
14
  }
@@ -9,7 +9,7 @@
9
9
  border-radius: v(eui-base-border-radius);
10
10
  color: v(eui-base-color-grey-100);
11
11
  display: block;
12
- padding: calc(#{v(eui-base-spacing-s)} - 1px);
12
+ padding: calc(#{v(eui-base-spacing-s)} - 2px);
13
13
  width: 100%;
14
14
 
15
15
  // STATES
@@ -15,4 +15,3 @@
15
15
  width: 1rem;
16
16
  content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Ctitle%3EChevron Down%3C/title%3E%3Cpath fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='48' d='M112 184l144 144 144-144'/%3E%3C/svg%3E");
17
17
  }
18
-
@@ -1,30 +1,25 @@
1
- @use '@angular/material' as mat;
2
- @use '@angular/material/datepicker/datepicker-theme' as datepicker-theme;
3
- @use '@angular/material/autocomplete/autocomplete-theme' as autocomplete-theme;
4
- @use '@angular/material/slide-toggle/slide-toggle-theme' as slide-toggle-theme;
1
+ // @use '@angular/material' as mat;
5
2
 
6
- @include mat.core();
7
- // @include cdk.overlay();
3
+ // @include mat.core();
8
4
 
9
- // define palettes
10
- $eui-t-color-primary: mat.define-palette($mat-eui-primary, 500, 300, 900); // $palette-name, $default: 500, $lighter: 100, $darker: 700
11
- $eui-t-color-accent: mat.define-palette($mat-eui-accent, A200, A100, A400);
12
- $eui-t-color-warn: mat.define-palette($mat-eui-danger, 500, A700, 900); // The warn palette is optional (default: $mat-red)
5
+ // // define palettes
6
+ // $eui-t-color-primary: mat.define-palette($mat-eui-primary, 500, 300, 900); // $palette-name, $default: 500, $lighter: 100, $darker: 700
7
+ // $eui-t-color-accent: mat.define-palette($mat-eui-accent, A200, A100, A400);
8
+ // $eui-t-color-warn: mat.define-palette($mat-eui-danger, 500, A700, 900); // The warn palette is optional (default: $mat-red)
13
9
 
14
- // define theme
15
- $eui-theme: mat.define-light-theme((
16
- color: (
17
- primary: $eui-t-color-primary,
18
- accent: $eui-t-color-accent,
19
- warn: $eui-t-color-warn,
20
- )
21
- ));
10
+ // // define theme
11
+ // $eui-theme: mat.define-light-theme((
12
+ // color: (
13
+ // primary: $eui-t-color-primary,
14
+ // accent: $eui-t-color-accent,
15
+ // warn: $eui-t-color-warn,
16
+ // )
17
+ // ));
22
18
 
23
- // Apply theme
24
- @include mat.core-theme($eui-theme);
25
- @include datepicker-theme.color($eui-theme);
26
- @include autocomplete-theme.color($eui-theme);
27
- @include slide-toggle-theme.color($eui-theme);
19
+ // // Apply theme
20
+ // @include mat.core-theme($eui-theme);
21
+ // @include mat.datepicker-theme($eui-theme);
22
+ // @include mat.autocomplete-theme($eui-theme);
28
23
 
29
- // overrides over material for some edge cases
24
+ @import 'compiled/full';
30
25
  @import 'overrides';
@@ -1 +1,38 @@
1
- @import 'overrides/cdk';
1
+ .cdk-overlay-pane {
2
+ background-color: white;
3
+ }
4
+
5
+ // Disable global scrollbars (used in full screen eui-dialog for example)
6
+ .cdk-global-scrollblock {
7
+ position: fixed;
8
+ overflow-y: visible;
9
+ width: 100%;
10
+ @include eui-scrollbars;
11
+ top: 0 !important;
12
+ left: 0 !important;
13
+ }
14
+ @include media($eui-bkp-mobile) {
15
+ .cdk-global-scrollblock {
16
+ height: 100%;
17
+ overflow: auto;
18
+ position: fixed;
19
+ width: 100%;
20
+ @include eui-scrollbars;
21
+ }
22
+ }
23
+
24
+ .mat-mdc-input-element {
25
+ @include eui-input();
26
+
27
+ margin-top: 0 !important;
28
+
29
+ &.custom-select {
30
+ background: white;
31
+ }
32
+
33
+ &:disabled {
34
+ background-color: #f5f5f5;
35
+ color: v(eui-base-color-grey-90) !important;
36
+ cursor: not-allowed !important;
37
+ }
38
+ }