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

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 (54) hide show
  1. package/dist/styles/eui-ecl-ec.css +2 -1
  2. package/dist/styles/eui-ecl-ec.css.map +1 -1
  3. package/dist/styles/eui-ecl-eu.css +2 -1
  4. package/dist/styles/eui-ecl-eu.css.map +1 -1
  5. package/dist/styles/eui-extra-utilities.css.map +1 -1
  6. package/dist/styles/eui-legacy-bootstrap.css.map +1 -1
  7. package/dist/styles/eui-legacy-icons-font.css.map +1 -1
  8. package/dist/styles/eui-legacy-utilities.css.map +1 -1
  9. package/dist/styles/eui-legacy.css +2 -2
  10. package/dist/styles/eui-legacy.css.map +1 -1
  11. package/dist/styles/eui-print.css +1 -1
  12. package/dist/styles/eui-print.css.map +1 -1
  13. package/dist/styles/eui-showcase-all.css +2 -2
  14. package/dist/styles/eui-showcase-all.css.map +1 -1
  15. package/dist/styles/eui.css +2 -2
  16. package/dist/styles/eui.css.map +1 -1
  17. package/package.json +1 -1
  18. package/src/styles/01-ecl/_module-ec.scss +2 -0
  19. package/src/styles/01-ecl/_module-eu.scss +2 -0
  20. package/src/styles/02-base/mixins/_eui-input.scss +14 -2
  21. package/src/styles/02-base/mixins/_module.scss +0 -2
  22. package/src/styles/02b-base-vars/_layout.vars.scss +4 -4
  23. package/src/styles/05-material/_module.scss +20 -25
  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/05-material/{_old-v14-material/components → overrides}/_calendar.scss +2 -0
  27. package/src/styles/05-material/{_old-v14-material/components → overrides}/_cdk-drag.scss +5 -11
  28. package/src/styles/05-material/overrides/{_cdk.scss → _cdk-global-scrollblock.scss} +1 -5
  29. package/src/styles/05-material/{_old-v14-material/components → overrides}/_cdk-overlay-container.scss +0 -0
  30. package/src/styles/05-material/overrides/_cdk-overlay-pane.scss +4 -0
  31. package/src/styles/05-material/{_old-v14-material/components → overrides}/_module.scss +0 -6
  32. package/src/styles/06-shared/_default.scss +11 -0
  33. package/src/styles/06-shared/_module.scss +1 -0
  34. package/src/styles/06-shared/_typography.scss +0 -6
  35. package/src/styles/07-elements/_module-legacy.scss +1 -2
  36. package/src/styles/eui-showcase-all-dev.scss +2 -1
  37. package/src/styles/eui-showcase-all.scss +2 -1
  38. package/src/styles/02-base/mixins/_eui-svg-icons-content.scss +0 -18
  39. package/src/styles/05-material/_old-v14-material/_module.scss +0 -2
  40. package/src/styles/05-material/_old-v14-material/components/_button.scss +0 -133
  41. package/src/styles/05-material/_old-v14-material/components/_cdk-global-scrollblock.scss +0 -16
  42. package/src/styles/05-material/_old-v14-material/components/_cdk-overlay-pane.scss +0 -4
  43. package/src/styles/05-material/_old-v14-material/components/_checkbox.scss +0 -53
  44. package/src/styles/05-material/_old-v14-material/components/_input.scss +0 -13
  45. package/src/styles/05-material/_old-v14-material/components/_option.scss +0 -5
  46. package/src/styles/05-material/_old-v14-material/components/_radio.scss +0 -66
  47. package/src/styles/05-material/_old-v14-material/components/_tooltip.scss +0 -290
  48. package/src/styles/05-material/_old-v14-material/themes/default/_module.scss +0 -2
  49. package/src/styles/05-material/_old-v14-material/themes/default/_theme.scss +0 -9
  50. package/src/styles/05-material/_old-v14-material/themes/default/_variables.scss +0 -64
  51. package/src/styles/05-material/_overrides.scss +0 -1
  52. package/src/styles/05-material/overrides/_tooltip.scss +0 -290
  53. package/src/styles/07-elements/legacy/_input-checkbox-default.scss +0 -368
  54. package/src/styles/07-elements/legacy/_input-radio-default.scss +0 -289
@@ -1,289 +0,0 @@
1
- ////////////////////////////////////////////////////////////////////////////////
2
- // DEFAULT RADIO STYLE
3
- // Duplicated selectors are present for better understanding
4
- ////////////////////////////////////////////////////////////////////////////////
5
- // stylelint-disable no-descending-specificity
6
- // stylelint-disable no-duplicate-selectors
7
-
8
- input[type="radio"]:not(.cdk-visually-hidden),
9
- input[type="radio"]:not(.eui-input-radio) {
10
- // Hide default
11
- border: 0;
12
- clip: rect(0 0 0 0);
13
- height: 1px;
14
- opacity: 0;
15
- overflow: hidden;
16
- padding: 0;
17
- position: absolute;
18
- width: 1px;
19
- }
20
-
21
- table {
22
- // Show default checkbox
23
- input[type="radio"]:not(.cdk-visually-hidden),
24
- input[type="radio"]:not(.eui-input-radio) {
25
- -moz-appearance: initial; // Hack for Firefox browsers which does not support after/before pseudos on input type
26
- border: inherit;
27
- clip: initial;
28
- height: 0;
29
- opacity: 1;
30
- overflow: visible;
31
- padding: 0;
32
- position: absolute !important;
33
- width: 0;
34
-
35
- &:focus {
36
- &::before {
37
- border: 2px solid v(eui-base-color-accent-120);
38
- box-shadow: inset 0 0 0 3px v(eui-base-color-white), 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
39
- cursor: pointer;
40
- outline: none;
41
- }
42
- }
43
-
44
- // Force hiding default input radio when using ux-form-control (EUI-4602)
45
- &.ux-input__radio {
46
- clip: rect(0 0 0 0) !important;
47
-
48
- &::after,
49
- &::before {
50
- content: none !important;
51
- }
52
- }
53
- }
54
- }
55
-
56
- [type="radio"]:not(.cdk-visually-hidden),
57
- [type="radio"]:not(.eui-input-radio) {
58
- -moz-appearance: initial; // Hack for Firefox browsers which does not support after/before pseudos on input type
59
-
60
- // WITHOUT LABEL
61
- /////////////////
62
- &.ux-radio {
63
- clip: auto !important;
64
- height: calc(#{v(eui-base-spacing-m)} + #{v(eui-base-spacing-2xs)}) !important;
65
- opacity: 1 !important;
66
- position: relative !important;
67
- width: calc(#{v(eui-base-spacing-m)} + #{v(eui-base-spacing-2xs)}) !important;
68
- }
69
-
70
- // Unchecked
71
- &::before {
72
- background: v(eui-base-color-white);
73
- border: 2px solid v(eui-base-color-grey-15);
74
- border-radius: 100%;
75
- clip: auto; // +
76
- content: '';
77
- cursor: pointer;
78
- display: inline-block;
79
- height: calc(#{v(eui-base-spacing-m)} + #{v(eui-base-spacing-2xs)});
80
- margin-right: v(eui-base-spacing-m);
81
- opacity: 1; // +
82
- position: relative;
83
- text-align: center;
84
- top: 0;
85
- transition: all 250ms ease;
86
- vertical-align: top;
87
- width: calc(#{v(eui-base-spacing-m)} + #{v(eui-base-spacing-2xs)});
88
- }
89
-
90
- // Checked
91
- &:checked {
92
- // The circle
93
- &::before {
94
- background: v(eui-base-color-primary-100);
95
- border: 2px solid v(eui-base-color-grey-15);
96
- box-shadow: inset 0 0 0 3px v(eui-base-color-white);
97
- }
98
- }
99
-
100
- &:disabled {
101
- opacity: v(eui-base-disabled-opacity);
102
- pointer-events: none;
103
-
104
- &::before {
105
- background: v(eui-base-color-grey-15);
106
- border: 2px solid v(eui-base-color-grey-15);
107
- }
108
-
109
- &:checked {
110
- &::before {
111
- background-color: v(eui-base-color-grey-20);
112
- }
113
- }
114
- }
115
-
116
- // Focused
117
- &:focus {
118
- &::before {
119
- border: 2px solid v(eui-base-color-accent-120);
120
- box-shadow: inset 0 0 0 3px v(eui-base-color-white);
121
- cursor: pointer;
122
- outline: none;
123
- }
124
- }
125
-
126
- &[readonly] {
127
- background: v(eui-base-color-grey-25);
128
- box-shadow: none;
129
- outline: none;
130
- pointer-events: none;
131
-
132
- // The circle
133
- &::before {
134
- background: v(eui-base-color-grey-20);
135
- border: 2px solid v(eui-base-color-grey-15);
136
- }
137
-
138
- // Checked
139
- &:checked {
140
- // The circle
141
- &::before {
142
- // Keep it displayed!
143
- background: v(eui-base-color-grey-25);
144
- border: 2px solid v(eui-base-color-grey-15);
145
- box-shadow: inset 0 0 0 3px v(eui-base-color-white);
146
- }
147
- }
148
- }
149
-
150
- // WITH LABEL
151
- /////////////////
152
- // Unchecked
153
- + label:not(:empty) {
154
- cursor: pointer;
155
- // margin-bottom: v(eui-base-spacing-2xs);
156
- // margin-top: v(eui-base-spacing-2xs);
157
- padding-left: v(eui-base-spacing-xl);
158
-
159
- &::before {
160
- background: v(eui-base-color-white);
161
- border: 2px solid v(eui-base-color-grey-15);
162
- border-radius: 100%;
163
- content: '';
164
- cursor: pointer;
165
- display: inline-block;
166
- flex-shrink: 0; // Fixes long label issue
167
- height: calc(#{v(eui-base-spacing-m)} + #{v(eui-base-spacing-2xs)});
168
- margin-right: v(eui-base-spacing-m);
169
- text-align: center;
170
- top: 0;
171
- transition: all 250ms ease;
172
- vertical-align: top;
173
- width: calc(#{v(eui-base-spacing-m)} + #{v(eui-base-spacing-2xs)});
174
- }
175
-
176
- &:empty {
177
- &::before {
178
- margin-right: 0;
179
- }
180
- }
181
- }
182
-
183
- // Checked (duplicated here for better reading & understanding)
184
- &:checked {
185
- + label {
186
- cursor: pointer;
187
- // margin-bottom: v(eui-base-spacing-2xs);
188
- // margin-top: v(eui-base-spacing-2xs);;
189
- padding-left: v(eui-base-spacing-xl);
190
-
191
- &::before {
192
- background-color: v(eui-base-color-primary-100);
193
- box-shadow: inset 0 0 0 3px v(eui-base-color-white);
194
- }
195
- }
196
- }
197
- // Focused (duplicated here for better reading & understanding)
198
- &:focus {
199
- + label {
200
- &::before {
201
- border-color: v(eui-base-color-accent-120);
202
- box-shadow: inset 0 0 0 3px v(eui-base-color-white), 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
203
- cursor: pointer;
204
- outline: none;
205
- }
206
- }
207
- }
208
-
209
- &:disabled {
210
- opacity: v(eui-base-disabled-opacity);
211
- pointer-events: none;
212
-
213
- // Unchecked
214
- + label {
215
- color: v(eui-base-color-grey-25);
216
- pointer-events: none;
217
-
218
- &::before {
219
- background: v(eui-base-color-grey-10);
220
- border: 2px solid v(eui-base-color-grey-15);
221
- box-shadow: none;
222
- }
223
- }
224
- // Checked
225
- &:checked {
226
- pointer-events: none;
227
-
228
- + label {
229
- color: v(eui-base-color-grey-25);
230
- pointer-events: none;
231
-
232
- &::before {
233
- background-color: v(eui-base-color-primary-100);
234
- border: 2px solid v(eui-base-color-grey-15);
235
- box-shadow: inset 0 0 0 3px v(eui-base-color-white);
236
- opacity: v(eui-base-disabled-opacity);
237
- }
238
- }
239
- }
240
- }
241
-
242
- &[readonly] {
243
- background: v(eui-base-color-grey-25);
244
- background-image: none;
245
- box-shadow: none;
246
- outline: none;
247
- pointer-events: none;
248
-
249
- &::after {
250
- background: v(eui-base-color-grey-15);
251
- }
252
-
253
- // Unchecked
254
- + label {
255
- cursor: not-allowed;
256
- pointer-events: none;
257
-
258
- &::before {
259
- background: v(eui-base-color-grey-20);
260
- border: 2px solid v(eui-base-color-grey-15);
261
- }
262
- }
263
- // Checked
264
- &:checked {
265
- pointer-events: none;
266
-
267
- &::after {
268
- background: v(eui-base-color-grey-25);
269
- }
270
-
271
- + label {
272
- color: v(eui-base-color-text);
273
- pointer-events: none;
274
-
275
- .ux-form-group--inline & {
276
- position: relative;
277
- top: calc(-1 * #{v(eui-base-spacing-2xs)});
278
- }
279
-
280
- &::before {
281
- background: v(eui-base-color-grey-20);
282
- border-color: v(eui-base-color-grey-15);
283
- box-shadow: inset 0 0 0 3px v(eui-base-color-white);
284
- display: none;
285
- }
286
- }
287
- }
288
- }
289
- }