@eui/styles 15.0.0-next.9 → 15.0.0-rc.10

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 (53) hide show
  1. package/dist/styles/eui-ecl-ec.css +9 -0
  2. package/dist/styles/eui-ecl-ec.css.map +1 -0
  3. package/dist/styles/eui-ecl-eu.css +9 -0
  4. package/dist/styles/eui-ecl-eu.css.map +1 -0
  5. package/dist/styles/eui-extra-utilities.css +1 -1
  6. package/dist/styles/eui-extra-utilities.css.map +1 -1
  7. package/dist/styles/eui-legacy.css +2 -2
  8. package/dist/styles/eui-legacy.css.map +1 -1
  9. package/dist/styles/eui-print.css +1 -1
  10. package/dist/styles/eui-print.css.map +1 -1
  11. package/dist/styles/eui-showcase-all.css +3 -3
  12. package/dist/styles/eui-showcase-all.css.map +1 -1
  13. package/dist/styles/eui.css +2 -2
  14. package/dist/styles/eui.css.map +1 -1
  15. package/package.json +1 -1
  16. package/src/styles/01-ecl/_module-ec.scss +3 -0
  17. package/src/styles/01-ecl/_module-eu.scss +3 -0
  18. package/src/styles/02-base/mixins/_eui-input.scss +14 -2
  19. package/src/styles/02-base/mixins/_eui-svg-icons-content.scss +17 -0
  20. package/src/styles/02-base/mixins/_module.scss +2 -0
  21. package/src/styles/02b-base-vars/_layout.vars.scss +5 -1
  22. package/src/styles/05-material/_module.scss +19 -24
  23. package/src/styles/05-material/_overrides.scss +51 -2
  24. package/src/styles/05-material/compiled/_full.scss +685 -0
  25. package/src/styles/05-material/compiled/_sources.scss +382 -0
  26. package/src/styles/06-shared/_default.scss +11 -0
  27. package/src/styles/06-shared/_module.scss +1 -0
  28. package/src/styles/06-shared/_typography.scss +0 -6
  29. package/src/styles/07-elements/_module-legacy.scss +1 -2
  30. package/src/styles/eui-ecl-ec.scss +1 -0
  31. package/src/styles/eui-ecl-eu.scss +1 -0
  32. package/src/styles/eui-showcase-all-dev.scss +2 -1
  33. package/src/styles/eui-showcase-all.scss +2 -1
  34. package/src/styles/05-material/_old-v14-material/_module.scss +0 -2
  35. package/src/styles/05-material/_old-v14-material/components/_button.scss +0 -133
  36. package/src/styles/05-material/_old-v14-material/components/_calendar.scss +0 -7
  37. package/src/styles/05-material/_old-v14-material/components/_cdk-drag.scss +0 -54
  38. package/src/styles/05-material/_old-v14-material/components/_cdk-global-scrollblock.scss +0 -16
  39. package/src/styles/05-material/_old-v14-material/components/_cdk-overlay-container.scss +0 -13
  40. package/src/styles/05-material/_old-v14-material/components/_cdk-overlay-pane.scss +0 -4
  41. package/src/styles/05-material/_old-v14-material/components/_checkbox.scss +0 -53
  42. package/src/styles/05-material/_old-v14-material/components/_input.scss +0 -13
  43. package/src/styles/05-material/_old-v14-material/components/_module.scss +0 -11
  44. package/src/styles/05-material/_old-v14-material/components/_option.scss +0 -5
  45. package/src/styles/05-material/_old-v14-material/components/_radio.scss +0 -66
  46. package/src/styles/05-material/_old-v14-material/components/_tooltip.scss +0 -290
  47. package/src/styles/05-material/_old-v14-material/themes/default/_module.scss +0 -2
  48. package/src/styles/05-material/_old-v14-material/themes/default/_theme.scss +0 -9
  49. package/src/styles/05-material/_old-v14-material/themes/default/_variables.scss +0 -64
  50. package/src/styles/05-material/overrides/_cdk.scss +0 -20
  51. package/src/styles/05-material/overrides/_tooltip.scss +0 -290
  52. package/src/styles/07-elements/legacy/_input-checkbox-default.scss +0 -368
  53. 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-next.9",
12
+ "version": "15.0.0-rc.10",
13
13
  "tag": "next"
14
14
  }
@@ -0,0 +1,3 @@
1
+ @import '@eui/styles-base/src/styles/01-ecl/module-ec';
2
+ @import '@eui/styles-base/src/styles/01-ecl/module-ec-print';
3
+ @import '@eui/styles-base/src/styles/01-ecl/module-ec-rtl';
@@ -0,0 +1,3 @@
1
+ @import '@eui/styles-base/src/styles/01-ecl/module-eu';
2
+ @import '@eui/styles-base/src/styles/01-ecl/module-eu-print';
3
+ @import '@eui/styles-base/src/styles/01-ecl/module-eu-rtl';
@@ -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)} - 1px); // DS aligned;
13
13
  width: 100%;
14
14
 
15
15
  // STATES
@@ -45,7 +45,19 @@
45
45
  padding-right: v(eui-base-spacing-2xl);
46
46
 
47
47
  &-icon {
48
- @include eui-clearable-input();
48
+ visibility: visible;
49
+ position: absolute;
50
+ right: v(eui-base-spacing-s);
51
+ cursor: pointer;
52
+ user-select: none;
53
+
54
+ svg.eui-icon-svg {
55
+ fill: v(eui-base-color-grey-35);
56
+
57
+ &:hover {
58
+ fill: v(eui-base-color-grey-100);
59
+ }
60
+ }
49
61
  }
50
62
  }
51
63
 
@@ -0,0 +1,17 @@
1
+ @mixin euiSvgCheckmarkWhite() {
2
+ height: 1rem;
3
+ width: 1rem;
4
+ content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Ctitle%3ECheckmark%3C/title%3E%3Cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='64' d='M416 128L192 384l-96-96'/%3E%3C/svg%3E");
5
+ }
6
+
7
+ @mixin euiSvgChevronForward() {
8
+ height: 1rem;
9
+ width: 1rem;
10
+ content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Ctitle%3EChevron Forward%3C/title%3E%3Cpath fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='48' d='M184 112l144 144-144 144'/%3E%3C/svg%3E");
11
+ }
12
+
13
+ @mixin euiSvgChevronDown() {
14
+ height: 1rem;
15
+ width: 1rem;
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
+ }
@@ -13,3 +13,5 @@
13
13
 
14
14
  @import 'ux-form-control-state';
15
15
  @import 'ux-clearable-input';
16
+
17
+ @import 'eui-svg-icons-content';
@@ -5,6 +5,10 @@
5
5
  --eui-app-header-height-active: 90px;
6
6
  --eui-app-header-height-shrink: 0px;
7
7
 
8
+ --eui-app-breadcrumb-height-default: 0px;
9
+ --eui-app-breadcrumb-height: 0px;
10
+ --eui-app-breadcrumb-height-active: 20px;
11
+
8
12
  --eui-app-top-message-height-default: 0px;
9
13
  --eui-app-top-message-height: 0px;
10
14
  --eui-app-top-message-height-active: 42px;
@@ -54,7 +58,7 @@
54
58
  --eui-app-sidebar-bg-color: var(--eui-base-color-grey-2);
55
59
  --eui-app-sidebar-border-right-color: #f2f4f9;
56
60
 
57
- --eui-app-body-bg-color: var(--eui-base-color-grey-5);
61
+ --eui-app-body-bg-color: var(--eui-base-color-grey-2);
58
62
  --eui-app-main-bg-color: var(--eui-base-color-grey-2);
59
63
 
60
64
  --eui-app-footer-color: var(--eui-base-color-font);
@@ -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,2 +1,51 @@
1
- @import 'overrides/cdk';
2
- //@import 'overrides/tooltip'; // TODO v15 DISABLED cause it adds 20kb of not needed css... refactor
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
+ .cdk-drop-list {
25
+ display: flex;
26
+ min-width: 100%;
27
+
28
+ &:not(.cdk-drop-list-disabled) {
29
+ min-height: v(eui-base-spacing-xl);
30
+ }
31
+ }
32
+
33
+ .mat-mdc-input-element {
34
+ @include eui-input();
35
+
36
+ margin-top: 0 !important;
37
+
38
+ &.custom-select {
39
+ background: white;
40
+ }
41
+
42
+ &:disabled {
43
+ background-color: #f5f5f5;
44
+ color: v(eui-base-color-grey-90) !important;
45
+ cursor: not-allowed !important;
46
+ }
47
+ }
48
+
49
+ .mat-calendar {
50
+ font-size: small;
51
+ }