@eui/styles 15.0.0-next.2 → 15.0.0-next.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/dist/styles/eui-bootstrap.css +7 -0
- package/dist/styles/eui-bootstrap.css.map +1 -0
- 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-legacy.css +1 -1
- package/dist/styles/eui-legacy.css.map +1 -1
- package/dist/styles/eui-utilities.css +2 -0
- package/dist/styles/eui-utilities.css.map +1 -0
- package/dist/styles/eui.css +1 -8
- package/dist/styles/eui.css.map +1 -1
- package/package.json +1 -1
- package/src/styles/03-assets/_module.scss +0 -1
- package/src/styles/04-vendors/{_module.scss → _module-bootstrap.scss} +0 -0
- package/src/styles/06-shared/{_old-to-review/_eui-input-maxlength.scss → _eui-input-maxlength.scss} +0 -0
- package/src/styles/06-shared/_flex.scss +2 -0
- package/src/styles/06-shared/_module.scss +3 -3
- package/src/styles/06-shared/_typography.scss +8 -0
- package/src/styles/{07-elements/legacy/_old → 06-shared}/_ux-form-group.scss +0 -0
- package/src/styles/06-shared/_ux-input-maxlength.scss +25 -0
- package/src/styles/{07-elements/legacy/_old/_input-placeholders.scss → 06-shared/_ux-input-placeholder.scss} +0 -0
- package/src/styles/07-elements/_module-legacy.scss +5 -18
- package/src/styles/07-elements/legacy/{_old → _old-to-review}/_inputs.scss +0 -0
- package/src/styles/07-elements/legacy/_ux-form-group.scss +62 -0
- package/src/styles/07-elements/legacy/_ux-input-maxlength.scss +25 -0
- package/src/styles/07-elements/legacy/_ux-input-placeholder.scss +56 -0
- package/src/styles/999-showcase/_module.scss +1 -1
- package/src/styles/eui-bootstrap.scss +7 -0
- package/src/styles/eui-dev.scss +0 -7
- package/src/styles/eui-legacy-dev.scss +0 -1
- package/src/styles/eui-legacy-icons-font.scss +7 -0
- package/src/styles/eui-legacy.scss +0 -1
- package/src/styles/eui-utilities.scss +7 -0
- package/src/styles/eui.scss +0 -8
- package/src/styles/07-elements/legacy/_old/_input-group.scss +0 -56
- package/src/styles/07-elements/legacy/_old/_ux-card.scss +0 -35
- package/src/styles/07-elements/legacy/_old/_ux-control-feedback.scss +0 -8
- package/src/styles/07-elements/legacy/_old/_ux-form-control.scss +0 -3
- package/src/styles/07-elements/legacy/_old/_ux-tree.scss +0 -12
package/package.json
CHANGED
|
File without changes
|
package/src/styles/06-shared/{_old-to-review/_eui-input-maxlength.scss → _eui-input-maxlength.scss}
RENAMED
|
File without changes
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
+
// TODO v15 check to transfer to cmp
|
|
2
|
+
|
|
1
3
|
// @import 'eui-inline-edit'; // eUI13+
|
|
2
|
-
// @import 'eui-input-maxlength'; // eUI13+ DS aligned
|
|
3
|
-
// @import 'inputs-placeholder'; // eUI13 + legacy (common)
|
|
4
|
-
// @import 'inputs-maxlength'; // KEEP for legacy
|
|
5
4
|
// @import 'inputs-ngvalidation'; // KEEP for legacy
|
|
6
5
|
|
|
7
6
|
@import 'flex';
|
|
8
7
|
@import 'typography';
|
|
8
|
+
@import 'eui-input-maxlength'; // eUI13+ DS aligned
|
|
@@ -82,3 +82,11 @@ h6,
|
|
|
82
82
|
abbr[title] {
|
|
83
83
|
text-decoration: none; // TODO: underline dotted is the default and recommended usage
|
|
84
84
|
}
|
|
85
|
+
|
|
86
|
+
.label, abbr, blockquote, del, label, mark, p {
|
|
87
|
+
font-size: v(eui-base-font-size);
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
label {
|
|
91
|
+
margin-bottom: v(eui-base-spacing-xs);
|
|
92
|
+
}
|
|
File without changes
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
// Used by Legacy & eUI10.x
|
|
2
|
+
// For eUI13+ use eui-input-maxlength.scss
|
|
3
|
+
.input-maxlength-wrapper {
|
|
4
|
+
position: relative;
|
|
5
|
+
width: 100%;
|
|
6
|
+
|
|
7
|
+
.input-maxlength {
|
|
8
|
+
background-color: v(eui-base-color-grey-10);
|
|
9
|
+
border: 1px solid v(eui-base-color-grey-15);
|
|
10
|
+
border-radius: v(eui-base-border-radius);
|
|
11
|
+
color: v(eui-base-color-black);
|
|
12
|
+
font-size: v(eui-base-font-size-xs);
|
|
13
|
+
padding: 1px 3px;
|
|
14
|
+
position: absolute;
|
|
15
|
+
right: calc(-1 * #{v(eui-base-spacing-xs)});
|
|
16
|
+
top: calc(-1 * #{v(eui-base-spacing-s)});
|
|
17
|
+
z-index: v(eui-base-z-index-input-maxlength);
|
|
18
|
+
|
|
19
|
+
&.error {
|
|
20
|
+
background-color: v(eui-base-color-danger-110);
|
|
21
|
+
border-color: v(eui-base-color-danger-100);
|
|
22
|
+
color: v(eui-base-color-white);
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
}
|
|
File without changes
|
|
@@ -1,20 +1,7 @@
|
|
|
1
1
|
@import 'legacy/form';
|
|
2
2
|
@import 'legacy/form-compact';
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
// @import 'legacy/ux-control-feedback';
|
|
9
|
-
// @import 'legacy/ux-form-control';
|
|
10
|
-
// @import 'legacy/ux-form-group';
|
|
11
|
-
// @import 'legacy/ux-card';
|
|
12
|
-
// @import 'legacy/ux-tree';
|
|
13
|
-
|
|
14
|
-
.label, abbr, blockquote, del, label, mark, p {
|
|
15
|
-
font-size: v(eui-base-font-size);
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
label {
|
|
19
|
-
margin-bottom: v(eui-base-spacing-xs);
|
|
20
|
-
}
|
|
3
|
+
@import 'legacy/input-checkbox-default';
|
|
4
|
+
@import 'legacy/input-radio-default';
|
|
5
|
+
@import 'legacy/ux-input-placeholder';
|
|
6
|
+
@import 'legacy/ux-input-maxlength';
|
|
7
|
+
@import 'legacy/ux-form-group';
|
|
File without changes
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
.ux-form-group {
|
|
2
|
+
&--primary,
|
|
3
|
+
&--info,
|
|
4
|
+
&--success,
|
|
5
|
+
&--danger {
|
|
6
|
+
.ux-input-group-text {
|
|
7
|
+
color: v(eui-base-color-white) !important;
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
&--secondary,
|
|
12
|
+
&--warning,
|
|
13
|
+
&--accent {
|
|
14
|
+
.ux-input-group-text {
|
|
15
|
+
color: v(eui-base-color-black) !important;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
&--read-only {
|
|
20
|
+
// For textarea
|
|
21
|
+
pre {
|
|
22
|
+
color: v(eui-base-color-grey-100);
|
|
23
|
+
font-family: v(eui-base-font-family);
|
|
24
|
+
font-size: v(eui-base-font-size);
|
|
25
|
+
margin: 0;
|
|
26
|
+
white-space: pre-line;
|
|
27
|
+
word-break: break-word;
|
|
28
|
+
@include eui-font-family-bold();
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
&__loading-indicator {
|
|
33
|
+
position: absolute;
|
|
34
|
+
right: 0;
|
|
35
|
+
top: calc(#{v(eui-base-spacing-m)} + #{v(eui-base-spacing-2xs)} + 2px);
|
|
36
|
+
|
|
37
|
+
&.ux-icon-spin {
|
|
38
|
+
animation: none;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
&--compact {
|
|
43
|
+
// Horizontal layout
|
|
44
|
+
input[type=checkbox].ux-input__checkbox + label,
|
|
45
|
+
input[type=radio].ux-input__radio + label {
|
|
46
|
+
margin-top: v(eui-base-spacing-2xs);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
// Vertical layout
|
|
50
|
+
&.ux-form-group--vertical {
|
|
51
|
+
input[type=checkbox].ux-input__checkbox + label,
|
|
52
|
+
input[type=radio].ux-input__radio + label {
|
|
53
|
+
margin-bottom: v(eui-base-spacing-2xs);
|
|
54
|
+
margin-top: v(eui-base-spacing-2xs) !important;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.ux-datepicker--read-only {
|
|
58
|
+
margin-bottom: 0 !important;
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
// Used by Legacy & eUI10.x
|
|
2
|
+
// For eUI13+ use eui-input-maxlength.scss
|
|
3
|
+
.input-maxlength-wrapper {
|
|
4
|
+
position: relative;
|
|
5
|
+
width: 100%;
|
|
6
|
+
|
|
7
|
+
.input-maxlength {
|
|
8
|
+
background-color: v(eui-base-color-grey-10);
|
|
9
|
+
border: 1px solid v(eui-base-color-grey-15);
|
|
10
|
+
border-radius: v(eui-base-border-radius);
|
|
11
|
+
color: v(eui-base-color-black);
|
|
12
|
+
font-size: v(eui-base-font-size-xs);
|
|
13
|
+
padding: 1px 3px;
|
|
14
|
+
position: absolute;
|
|
15
|
+
right: calc(-1 * #{v(eui-base-spacing-xs)});
|
|
16
|
+
top: calc(-1 * #{v(eui-base-spacing-s)});
|
|
17
|
+
z-index: v(eui-base-z-index-input-maxlength);
|
|
18
|
+
|
|
19
|
+
&.error {
|
|
20
|
+
background-color: v(eui-base-color-danger-110);
|
|
21
|
+
border-color: v(eui-base-color-danger-100);
|
|
22
|
+
color: v(eui-base-color-white);
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
/* Chrome/Opera/Safari */
|
|
2
|
+
input::-webkit-input-placeholder {
|
|
3
|
+
color: v(eui-base-color-grey-25) !important;
|
|
4
|
+
// @include eui-font-family-light;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
/* Firefox 19+ */
|
|
8
|
+
input::-moz-placeholder {
|
|
9
|
+
color: v(eui-base-color-grey-25) !important;
|
|
10
|
+
// @include eui-font-family-light;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
/* IE 10+ */
|
|
14
|
+
input:-ms-input-placeholder {
|
|
15
|
+
color: v(eui-base-color-grey-80) !important;
|
|
16
|
+
@include eui-font-family-light;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
/* Firefox 18- */
|
|
20
|
+
input:-moz-placeholder {
|
|
21
|
+
color: v(eui-base-color-grey-80) !important;
|
|
22
|
+
@include eui-font-family-light;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
textarea::-webkit-input-placeholder {
|
|
26
|
+
color: v(eui-base-color-grey-80) !important;
|
|
27
|
+
@include eui-font-family-light;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
textarea::-moz-placeholder {
|
|
31
|
+
color: v(eui-base-color-grey-80) !important;
|
|
32
|
+
@include eui-font-family-light;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
textarea:-ms-input-placeholder {
|
|
36
|
+
color: v(eui-base-color-grey-80) !important;
|
|
37
|
+
@include eui-font-family-light;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
textarea:-moz-placeholder {
|
|
41
|
+
color: v(eui-base-color-grey-80) !important;
|
|
42
|
+
@include eui-font-family-light;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
/* On iOS, the placeholder doesn't disapear on focus */
|
|
46
|
+
:focus::-webkit-input-placeholder {
|
|
47
|
+
color: transparent !important;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
:focus::-ms-input-placeholder {
|
|
51
|
+
color: transparent !important;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
:focus::-moz-placeholder {
|
|
55
|
+
color: transparent !important;
|
|
56
|
+
}
|
package/src/styles/eui-dev.scss
CHANGED
|
@@ -10,9 +10,6 @@
|
|
|
10
10
|
// ASSETS
|
|
11
11
|
@import '03-assets/module';
|
|
12
12
|
|
|
13
|
-
// VENDORS and overrides
|
|
14
|
-
@import '04-vendors/module';
|
|
15
|
-
|
|
16
13
|
// MATERIAL
|
|
17
14
|
// @import '05-material/module'; // TODO v15 migration
|
|
18
15
|
|
|
@@ -27,7 +24,3 @@
|
|
|
27
24
|
|
|
28
25
|
// MEDIA
|
|
29
26
|
@import '10-media/module';
|
|
30
|
-
|
|
31
|
-
// UTILITIES
|
|
32
|
-
@import '99-utilities/module';
|
|
33
|
-
|
package/src/styles/eui.scss
CHANGED
|
@@ -12,9 +12,6 @@ $eui-assets-path: '@eui/styles-base/dist/assets';
|
|
|
12
12
|
// ASSETS
|
|
13
13
|
@import '03-assets/module';
|
|
14
14
|
|
|
15
|
-
// VENDORS and overrides
|
|
16
|
-
@import '04-vendors/module';
|
|
17
|
-
|
|
18
15
|
// MATERIAL
|
|
19
16
|
// @import '05-material/module'; // TODO v15 migration
|
|
20
17
|
|
|
@@ -29,8 +26,3 @@ $eui-assets-path: '@eui/styles-base/dist/assets';
|
|
|
29
26
|
|
|
30
27
|
// MEDIA
|
|
31
28
|
@import '10-media/module';
|
|
32
|
-
|
|
33
|
-
// UTILITIES
|
|
34
|
-
@import '99-utilities/module';
|
|
35
|
-
|
|
36
|
-
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
// APPEND & PREPEND
|
|
2
|
-
.ux-input-group {
|
|
3
|
-
align-items: stretch;
|
|
4
|
-
display: flex;
|
|
5
|
-
flex-wrap: nowrap; // for append & prepend options it must be nowrap
|
|
6
|
-
position: relative;
|
|
7
|
-
width: 100%;
|
|
8
|
-
|
|
9
|
-
.ux-input-group-text {
|
|
10
|
-
align-items: center;
|
|
11
|
-
background-color: v(eui-base-color-grey-5);
|
|
12
|
-
border: 1px solid v(eui-base-color-grey-20);
|
|
13
|
-
border-radius: v(eui-base-border-radius);
|
|
14
|
-
color: v(eui-base-color-grey-100);
|
|
15
|
-
display: flex;
|
|
16
|
-
font-size: v(eui-base-font-size);
|
|
17
|
-
font-weight: 400;
|
|
18
|
-
justify-content: center;
|
|
19
|
-
line-height: v(eui-base-line-height);
|
|
20
|
-
margin-bottom: 0;
|
|
21
|
-
min-width: v(eui-base-spacing-2xl);
|
|
22
|
-
padding: v(eui-base-spacing-2xs);
|
|
23
|
-
text-align: center;
|
|
24
|
-
white-space: nowrap;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
.ux-input-group-prepend {
|
|
28
|
-
display: flex;
|
|
29
|
-
margin-right: -1px;
|
|
30
|
-
|
|
31
|
-
.ux-input-group-text {
|
|
32
|
-
border-bottom-right-radius: 0;
|
|
33
|
-
border-top-right-radius: 0;
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
.ux-input-group-append {
|
|
38
|
-
display: flex;
|
|
39
|
-
margin-left: -1px;
|
|
40
|
-
|
|
41
|
-
.ux-input-group-text {
|
|
42
|
-
border-bottom-left-radius: 0;
|
|
43
|
-
border-top-left-radius: 0;
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
.ux-form-control:not(:first-child) {
|
|
48
|
-
border-bottom-left-radius: 0;
|
|
49
|
-
border-top-left-radius: 0;
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
.ux-form-control:not(:last-child) {
|
|
53
|
-
border-bottom-right-radius: 0;
|
|
54
|
-
border-top-right-radius: 0;
|
|
55
|
-
}
|
|
56
|
-
}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
.ux-card {
|
|
2
|
-
.ux-card__header {
|
|
3
|
-
.ux-card__header-left-content {
|
|
4
|
-
.ux-card__header-left-content-select {
|
|
5
|
-
input[type=checkbox].ux-input__checkbox,
|
|
6
|
-
input[type=radio].ux-input__radio {
|
|
7
|
-
position: relative;
|
|
8
|
-
|
|
9
|
-
+ label {
|
|
10
|
-
margin: 0;
|
|
11
|
-
padding: 0;
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
// TODO: this should be fixed in eui-styles-base with eui-u-color-%human% namings
|
|
16
|
-
ux-a-icon {
|
|
17
|
-
&.eui-u-color-accent-dark {
|
|
18
|
-
color: v(eui-base-color-accent-110);
|
|
19
|
-
}
|
|
20
|
-
// This will be automatically fixed with eui-flag-icon fixes
|
|
21
|
-
.eui-icon {
|
|
22
|
-
box-shadow: none;
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
&--selected {
|
|
29
|
-
.ux-input__checkbox {
|
|
30
|
-
&::before {
|
|
31
|
-
@include eui-accessible-focus-outline();
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
}
|