@eui/styles 17.0.0-next.1 → 17.0.0-next.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.
- package/dist/assets/primeng-legacy/eui-primeng.min.css +2 -2
- package/dist/styles/eui-ecl-ec.css +7 -8
- package/dist/styles/eui-ecl-ec.css.map +1 -1
- package/dist/styles/eui-ecl-eu.css +7 -8
- package/dist/styles/eui-ecl-eu.css.map +1 -1
- package/dist/styles/eui-icons-flags.css +2 -0
- package/dist/styles/eui-icons-flags.css.map +1 -0
- package/dist/styles/eui-legacy-bootstrap-utilities.css.map +1 -1
- package/dist/styles/eui-legacy-icons-font.css +2 -0
- package/dist/styles/eui-legacy-icons-font.css.map +1 -0
- package/dist/styles/eui-print.css +1 -1
- package/dist/styles/eui-print.css.map +1 -1
- package/dist/styles/eui-showcase-all.css +2 -1
- package/dist/styles/eui-showcase-all.css.map +1 -1
- package/dist/styles/eui-utilities.css +1 -1
- package/dist/styles/eui-utilities.css.map +1 -1
- package/dist/styles/eui.css +1 -1
- package/dist/styles/eui.css.map +1 -1
- package/package.json +6 -1
- package/src/assets/primeng-legacy/eui-primeng.min.css +2 -2
- package/src/styles/02-base/mixins/_eui-clearable-input.scss +26 -13
- package/src/styles/02-base/mixins/_eui-input.scss +6 -5
- package/src/styles/02-base/mixins/_eui-resizable.scss +14 -0
- package/src/styles/02-base/mixins/_eui-scrollbars.scss +2 -2
- package/src/styles/02-base/mixins/_module.scss +1 -0
- package/src/styles/03-assets/_module-icons-flags.scss +1 -0
- package/src/styles/03-assets/_module-legacy-icons-font.scss +1 -0
- package/src/styles/05-material/{_module-cdk.scss → _material-cdk.scss} +0 -2
- package/src/styles/05-material/_material.scss +156 -0
- package/src/styles/05-material/_module cdk.scss +2 -0
- package/src/styles/05-material/_module.scss +1 -25
- package/src/styles/05-material/overrides/_calendar.scss +2 -1
- package/src/styles/07-elements/eui-table-default/_eui-table-default.scss +1 -1
- package/src/styles/99-utilities/_module.scss +1 -1
- package/src/styles/999-showcase/_component-demo-exports.scss +10 -2
- package/src/styles/999-showcase/_module.scss +1 -1
- package/src/styles/eui-icons-flags.scss +7 -0
- package/src/styles/eui-legacy-icons-font.scss +7 -0
- package/src/styles/eui-print.scss +2 -0
- package/src/styles/eui-showcase-all.scss +2 -9
- package/src/styles/eui.scss +0 -3
- package/src/styles/05-material/compiled/_full.scss +0 -685
- package/src/styles/05-material/compiled/_sources.scss +0 -382
- package/src/styles/eui-showcase-all-dev.scss +0 -50
- /package/dist/assets/{images/common → primeng-legacy/images}/drag-indicator.png +0 -0
- /package/dist/assets/{images/common → primeng-legacy/images}/drag-indicator.svg +0 -0
- /package/src/assets/{images/common → primeng-legacy/images}/drag-indicator.png +0 -0
- /package/src/assets/{images/common → primeng-legacy/images}/drag-indicator.svg +0 -0
|
@@ -1,18 +1,31 @@
|
|
|
1
|
+
// This mixin sets the layout of the euiClearable directive
|
|
1
2
|
@mixin eui-clearable-input() {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
font-size: v(eui-base-font-size-m);
|
|
8
|
-
user-select: none;
|
|
3
|
+
.eui-clearable-wrapper {
|
|
4
|
+
align-items: center;
|
|
5
|
+
display: flex;
|
|
6
|
+
position: relative;
|
|
7
|
+
width: 100%;
|
|
9
8
|
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
9
|
+
.eui-input-text--clearable-icon {
|
|
10
|
+
bottom: calc(#{v(eui-base-spacing-s)} - 2px);
|
|
11
|
+
cursor: pointer;
|
|
12
|
+
position: absolute;
|
|
13
|
+
right: v(eui-base-spacing-s);
|
|
14
|
+
user-select: none;
|
|
15
|
+
visibility: visible;
|
|
16
|
+
z-index: v(eui-base-z-index-clearable-icon);
|
|
17
|
+
|
|
18
|
+
&:focus {
|
|
19
|
+
@include eui-accessible-focus-outline();
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
> svg {
|
|
23
|
+
fill: v(eui-base-color-grey-35);
|
|
14
24
|
|
|
15
|
-
|
|
16
|
-
|
|
25
|
+
&:hover {
|
|
26
|
+
fill: v(eui-base-color-danger-100);
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
}
|
|
17
30
|
}
|
|
18
31
|
}
|
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
// Used for: eui-input-text, eui-input-number, eui-select, eui-textarea, eui-datepicker, eui-autocomplete
|
|
3
3
|
@mixin eui-input() {
|
|
4
4
|
@include eui-font(m, ui);
|
|
5
|
-
@include eui-accessible-focus-border();
|
|
6
5
|
appearance: none;
|
|
7
6
|
background-color: v(eui-base-color-white);
|
|
8
7
|
border: 1px solid v(eui-base-color-grey-50);
|
|
@@ -12,6 +11,7 @@
|
|
|
12
11
|
min-height: calc(#{v(eui-base-spacing-2xl)} + #{v(eui-base-spacing-2xs)}); // DS aligned 44px
|
|
13
12
|
padding: calc(#{v(eui-base-spacing-s)} - 1px); // Trick to have inner paddings without exceeding default min-height
|
|
14
13
|
width: 100%;
|
|
14
|
+
@include eui-accessible-focus-border();
|
|
15
15
|
|
|
16
16
|
&::placeholder {
|
|
17
17
|
color: v(eui-base-color-grey-50) !important;
|
|
@@ -51,21 +51,22 @@
|
|
|
51
51
|
padding-right: v(eui-base-spacing-2xl);
|
|
52
52
|
|
|
53
53
|
&-icon {
|
|
54
|
-
|
|
54
|
+
bottom: calc(#{v(eui-base-spacing-s)} - 2px);
|
|
55
|
+
cursor: pointer;
|
|
55
56
|
position: absolute;
|
|
56
57
|
right: v(eui-base-spacing-s);
|
|
57
|
-
cursor: pointer;
|
|
58
58
|
user-select: none;
|
|
59
|
+
visibility: visible;
|
|
59
60
|
|
|
60
61
|
&:focus {
|
|
61
|
-
@include eui-accessible-focus-
|
|
62
|
+
@include eui-accessible-focus-outline();
|
|
62
63
|
}
|
|
63
64
|
|
|
64
65
|
> svg {
|
|
65
66
|
fill: v(eui-base-color-grey-35);
|
|
66
67
|
|
|
67
68
|
&:hover {
|
|
68
|
-
fill: v(eui-base-color-
|
|
69
|
+
fill: v(eui-base-color-danger-100);
|
|
69
70
|
}
|
|
70
71
|
}
|
|
71
72
|
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
@mixin eui-resizable( $eui-resizable-bar-right-offset: unset, $eui-resizable-icon-top-offset: v(eui-base-spacing-m) ) {
|
|
2
|
+
.eui-resizable {
|
|
3
|
+
.eui-resizable-bar {
|
|
4
|
+
// For eui-page-column
|
|
5
|
+
@if ($eui-resizable-bar-right-offset != unset) {
|
|
6
|
+
right: calc($eui-resizable-bar-right-offset + 2px);
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.eui-resizable-icon__container {
|
|
11
|
+
transform: translateY( calc($eui-resizable-icon-top-offset + 2px) );
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@mixin eui-scrollbars( $size: 8px, $foreground-color: v(eui-base-color-grey-20), $background-color: v(eui-base-color-grey-
|
|
1
|
+
@mixin eui-scrollbars( $size: 8px, $foreground-color: v(eui-base-color-grey-20), $background-color: v(eui-base-color-grey-5), $border-radius: 5rem, $state: active ) {
|
|
2
2
|
&::-webkit-scrollbar {
|
|
3
3
|
display: inherit;
|
|
4
4
|
height: $size; // horizontal scroll
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
border-radius: $border-radius;
|
|
20
20
|
|
|
21
21
|
&:hover {
|
|
22
|
-
background-color: v(eui-base-color-grey-
|
|
22
|
+
background-color: v(eui-base-color-grey-35);
|
|
23
23
|
}
|
|
24
24
|
}
|
|
25
25
|
@else {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@import '@eui/styles-base/src/styles/05-assets/module-icons-flags';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@import '@eui/styles-base/src/styles/05-assets/module-icons-font';
|
|
@@ -0,0 +1,156 @@
|
|
|
1
|
+
// Material colors : generated with : http://mcg.mbitson.com
|
|
2
|
+
|
|
3
|
+
// PRIMARY
|
|
4
|
+
$palette-primary-50: #e0e9f2;
|
|
5
|
+
$palette-primary-100: #b3c7df;
|
|
6
|
+
$palette-primary-200: #80a2ca;
|
|
7
|
+
$palette-primary-300: #4d7cb4;
|
|
8
|
+
$palette-primary-400: #2660a4;
|
|
9
|
+
$palette-primary-500: #004494; // ECL BASE rgb(0, 68, 148)
|
|
10
|
+
$palette-primary-600: #003e8c;
|
|
11
|
+
$palette-primary-700: #003581;
|
|
12
|
+
$palette-primary-800: #002d77;
|
|
13
|
+
$palette-primary-900: #001f65;
|
|
14
|
+
$palette-primary-A100: #95abff;
|
|
15
|
+
$palette-primary-A200: #6283ff;
|
|
16
|
+
$palette-primary-A400: #2f5bff;
|
|
17
|
+
$palette-primary-A700: #1547ff;
|
|
18
|
+
|
|
19
|
+
// ACCENT
|
|
20
|
+
$palette-accent-50: #fffae3;
|
|
21
|
+
$palette-accent-100: #fff3b9;
|
|
22
|
+
$palette-accent-200: #ffeb8b;
|
|
23
|
+
$palette-accent-300: #ffe25d;
|
|
24
|
+
$palette-accent-400: #ffdc3a;
|
|
25
|
+
$palette-accent-500: #ffd617; // ECL BASE rgb(255, 214, 23)
|
|
26
|
+
$palette-accent-600: #ffd114;
|
|
27
|
+
$palette-accent-700: #fc1;
|
|
28
|
+
$palette-accent-800: #ffc60d;
|
|
29
|
+
$palette-accent-900: #ffbc07;
|
|
30
|
+
$palette-accent-A100: #fff;
|
|
31
|
+
$palette-accent-A200: #fffcf4;
|
|
32
|
+
$palette-accent-A400: #ffecc1;
|
|
33
|
+
$palette-accent-A700: #ffe5a7;
|
|
34
|
+
|
|
35
|
+
$private-eui-color: #999;
|
|
36
|
+
$private-eui-color-white: #fff;
|
|
37
|
+
|
|
38
|
+
$mat-eui-primary: (
|
|
39
|
+
50: $palette-primary-50,
|
|
40
|
+
100: $palette-primary-100,
|
|
41
|
+
200: $palette-primary-200,
|
|
42
|
+
300: $palette-primary-300,
|
|
43
|
+
400: $palette-primary-400,
|
|
44
|
+
500: $palette-primary-500,
|
|
45
|
+
600: $palette-primary-600,
|
|
46
|
+
700: $palette-primary-700,
|
|
47
|
+
800: $palette-primary-800,
|
|
48
|
+
900: $palette-primary-900,
|
|
49
|
+
A100: $palette-primary-A100,
|
|
50
|
+
A200: $palette-primary-A200,
|
|
51
|
+
A400: $palette-primary-A400,
|
|
52
|
+
A700: $palette-primary-A700,
|
|
53
|
+
contrast: (
|
|
54
|
+
50: $private-eui-color,
|
|
55
|
+
100: $private-eui-color,
|
|
56
|
+
200: $private-eui-color,
|
|
57
|
+
300: $private-eui-color,
|
|
58
|
+
400: $private-eui-color,
|
|
59
|
+
500: $private-eui-color-white,
|
|
60
|
+
600: $private-eui-color-white,
|
|
61
|
+
700: $private-eui-color-white,
|
|
62
|
+
800: $private-eui-color-white,
|
|
63
|
+
900: $private-eui-color-white,
|
|
64
|
+
A100: $private-eui-color,
|
|
65
|
+
A200: $private-eui-color-white,
|
|
66
|
+
A400: $private-eui-color-white,
|
|
67
|
+
A700: $private-eui-color-white,
|
|
68
|
+
)
|
|
69
|
+
);
|
|
70
|
+
|
|
71
|
+
$mat-eui-danger: (
|
|
72
|
+
50: $palette-danger-50,
|
|
73
|
+
100: $palette-danger-100,
|
|
74
|
+
200: $palette-danger-200,
|
|
75
|
+
300: $palette-danger-300,
|
|
76
|
+
400: $palette-danger-400,
|
|
77
|
+
500: $palette-danger-500,
|
|
78
|
+
600: $palette-danger-600,
|
|
79
|
+
700: $palette-danger-700,
|
|
80
|
+
800: $palette-danger-800,
|
|
81
|
+
900: $palette-danger-900,
|
|
82
|
+
A100: $palette-danger-A100,
|
|
83
|
+
A200: $palette-danger-A200,
|
|
84
|
+
A400: $palette-danger-A400,
|
|
85
|
+
A700: $palette-danger-A700,
|
|
86
|
+
contrast: (
|
|
87
|
+
50: $private-eui-color,
|
|
88
|
+
100: $private-eui-color,
|
|
89
|
+
200: $private-eui-color,
|
|
90
|
+
300: $private-eui-color,
|
|
91
|
+
400: $private-eui-color,
|
|
92
|
+
500: $private-eui-color-white,
|
|
93
|
+
600: $private-eui-color-white,
|
|
94
|
+
700: $private-eui-color-white,
|
|
95
|
+
800: $private-eui-color-white,
|
|
96
|
+
900: $private-eui-color-white,
|
|
97
|
+
A100: $private-eui-color,
|
|
98
|
+
A200: $private-eui-color,
|
|
99
|
+
A400: $private-eui-color,
|
|
100
|
+
A700: $private-eui-color,
|
|
101
|
+
)
|
|
102
|
+
);
|
|
103
|
+
|
|
104
|
+
$mat-eui-accent: (
|
|
105
|
+
50: $palette-accent-50,
|
|
106
|
+
100: $palette-accent-100,
|
|
107
|
+
200: $palette-accent-200,
|
|
108
|
+
300: $palette-accent-300,
|
|
109
|
+
400: $palette-accent-400,
|
|
110
|
+
500: $palette-accent-500,
|
|
111
|
+
600: $palette-accent-600,
|
|
112
|
+
700: $palette-accent-700,
|
|
113
|
+
800: $palette-accent-800,
|
|
114
|
+
900: $palette-accent-900,
|
|
115
|
+
A100: $palette-accent-A100,
|
|
116
|
+
A200: $palette-accent-A200,
|
|
117
|
+
A400: $palette-accent-A400,
|
|
118
|
+
A700: $palette-accent-A700,
|
|
119
|
+
contrast: (
|
|
120
|
+
50: $private-eui-color,
|
|
121
|
+
100: $private-eui-color,
|
|
122
|
+
200: $private-eui-color,
|
|
123
|
+
300: $private-eui-color,
|
|
124
|
+
400: $private-eui-color,
|
|
125
|
+
500: $private-eui-color,
|
|
126
|
+
600: $private-eui-color,
|
|
127
|
+
700: $private-eui-color,
|
|
128
|
+
800: $private-eui-color,
|
|
129
|
+
900: $private-eui-color,
|
|
130
|
+
A100: $private-eui-color,
|
|
131
|
+
A200: $private-eui-color,
|
|
132
|
+
A400: $private-eui-color,
|
|
133
|
+
A700: $private-eui-color,
|
|
134
|
+
)
|
|
135
|
+
);
|
|
136
|
+
|
|
137
|
+
@use '@angular/material' as mat;
|
|
138
|
+
|
|
139
|
+
@include mat.core();
|
|
140
|
+
|
|
141
|
+
// define palettes
|
|
142
|
+
$eui-t-color-primary: mat.define-palette($mat-eui-primary, 500, 300, 900); // $palette-name, $default: 500, $lighter: 100, $darker: 700
|
|
143
|
+
$eui-t-color-accent: mat.define-palette($mat-eui-accent, A200, A100, A400);
|
|
144
|
+
$eui-t-color-warn: mat.define-palette($mat-eui-danger, 500, A700, 900); // The warn palette is optional (default: $mat-red)
|
|
145
|
+
|
|
146
|
+
// define theme
|
|
147
|
+
$eui-theme: mat.define-light-theme((
|
|
148
|
+
color: (
|
|
149
|
+
primary: $eui-t-color-primary,
|
|
150
|
+
accent: $eui-t-color-accent,
|
|
151
|
+
warn: $eui-t-color-warn,
|
|
152
|
+
)
|
|
153
|
+
));
|
|
154
|
+
|
|
155
|
+
@include mat.datepicker-theme($eui-theme);
|
|
156
|
+
@include mat.autocomplete-theme($eui-theme);
|
|
@@ -1,26 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
// @include mat.core();
|
|
4
|
-
|
|
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)
|
|
9
|
-
|
|
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
|
-
// ));
|
|
18
|
-
|
|
19
|
-
// // Apply theme
|
|
20
|
-
// @include mat.core-theme($eui-theme);
|
|
21
|
-
// @include mat.datepicker-theme($eui-theme);
|
|
22
|
-
// @include mat.autocomplete-theme($eui-theme);
|
|
23
|
-
|
|
24
|
-
// TODO v17 - check either alternatives or excludes to specific global css
|
|
25
|
-
@import 'compiled/full';
|
|
1
|
+
@import 'material';
|
|
26
2
|
@import 'overrides/module';
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
.mat-calendar {
|
|
2
|
-
font-size: small;
|
|
2
|
+
font-size: small !important;
|
|
3
|
+
font-family: v(eui-base-font-family) !important;
|
|
3
4
|
|
|
4
5
|
&.mat-calendar-year {
|
|
5
6
|
.mat-calendar-period-button {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
@import '@eui/styles-base/src/styles/99-utilities/module
|
|
1
|
+
@import '@eui/styles-base/src/styles/99-utilities/module';
|
|
@@ -12,7 +12,11 @@
|
|
|
12
12
|
flex: 1 1 50%;
|
|
13
13
|
width: 50%;
|
|
14
14
|
}
|
|
15
|
+
}
|
|
15
16
|
|
|
17
|
+
.eui-showcase-demo,
|
|
18
|
+
.eui-showcase-demo-flex,
|
|
19
|
+
.eui-showcase-demo-flex-column {
|
|
16
20
|
.flex-spacer {
|
|
17
21
|
flex: 1 1 auto;
|
|
18
22
|
margin: 0 2rem;
|
|
@@ -22,20 +26,24 @@
|
|
|
22
26
|
background-color: ghostwhite;
|
|
23
27
|
border: 2px dotted silver;
|
|
24
28
|
display: block;
|
|
29
|
+
height: 100vh;
|
|
25
30
|
max-height: 20rem;
|
|
26
31
|
overflow-y: auto;
|
|
27
32
|
padding: 0.5rem;
|
|
28
33
|
position: relative;
|
|
34
|
+
width: 100%;
|
|
29
35
|
@include eui-scrollbars(6px);
|
|
30
36
|
|
|
31
37
|
pre {
|
|
32
|
-
color: #
|
|
38
|
+
color: #cc367b;
|
|
33
39
|
display: block;
|
|
34
40
|
font-family: monospace;
|
|
35
|
-
font-size:
|
|
41
|
+
font-size: 95%;
|
|
36
42
|
line-height: 1.25;
|
|
37
43
|
margin-bottom: 0;
|
|
38
44
|
overflow: initial;
|
|
45
|
+
white-space: pre;
|
|
46
|
+
word-wrap: break-word;
|
|
39
47
|
|
|
40
48
|
> * {
|
|
41
49
|
align-items: center;
|
|
@@ -11,14 +11,12 @@ $eui-assets-path: '@eui/styles-base/dist/assets';
|
|
|
11
11
|
|
|
12
12
|
// ASSETS
|
|
13
13
|
@import '03-assets/module';
|
|
14
|
-
|
|
15
|
-
|
|
14
|
+
@import '03-assets/module-legacy-icons-font';
|
|
15
|
+
@import '03-assets/module-icons-flags';
|
|
16
16
|
|
|
17
17
|
// BOOTSTRAP ONLY
|
|
18
18
|
@import '04-vendors/module-bootstrap-grid';
|
|
19
19
|
@import '04-vendors/module-bootstrap-utilities';
|
|
20
|
-
// // VENDORS and overrides
|
|
21
|
-
// @import '04-vendors/module-legacy'; // v17 removed
|
|
22
20
|
|
|
23
21
|
// MATERIAL
|
|
24
22
|
@import '05-material/module';
|
|
@@ -29,9 +27,6 @@ $eui-assets-path: '@eui/styles-base/dist/assets';
|
|
|
29
27
|
// COMPONENTS
|
|
30
28
|
@import '07-elements/module';
|
|
31
29
|
|
|
32
|
-
// COMPONENTS
|
|
33
|
-
// @import '07-elements/module-legacy'; // v17 removed
|
|
34
|
-
|
|
35
30
|
// THEMES
|
|
36
31
|
@import '08-themes/module-compact';
|
|
37
32
|
|
|
@@ -45,8 +40,6 @@ $eui-assets-path: '@eui/styles-base/dist/assets';
|
|
|
45
40
|
|
|
46
41
|
// UTILITIES
|
|
47
42
|
@import '99-utilities/module';
|
|
48
|
-
// // UTILITIES
|
|
49
|
-
// @import '99-utilities/module-legacy'; // v17 removed
|
|
50
43
|
|
|
51
44
|
// showcase only styling
|
|
52
45
|
@import '999-showcase/module';
|
package/src/styles/eui.scss
CHANGED