@eui/styles 17.0.0-next.2 → 17.0.0-next.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 (70) hide show
  1. package/dist/styles/eui-ecl-ec.css +7 -8
  2. package/dist/styles/eui-ecl-ec.css.map +1 -1
  3. package/dist/styles/eui-ecl-eu.css +7 -8
  4. package/dist/styles/eui-ecl-eu.css.map +1 -1
  5. package/dist/styles/eui-ecl.css +2 -0
  6. package/dist/styles/eui-ecl.css.map +1 -0
  7. package/dist/styles/eui-icons-flags.css +2 -0
  8. package/dist/styles/eui-icons-flags.css.map +1 -0
  9. package/dist/styles/eui-legacy-bootstrap-utilities.css.map +1 -1
  10. package/dist/styles/eui-legacy-icons-font.css +2 -0
  11. package/dist/styles/eui-legacy-icons-font.css.map +1 -0
  12. package/dist/styles/eui-print.css +1 -1
  13. package/dist/styles/eui-print.css.map +1 -1
  14. package/dist/styles/eui-showcase-all.css +2 -1
  15. package/dist/styles/eui-showcase-all.css.map +1 -1
  16. package/dist/styles/eui-theme-compact.css +2 -0
  17. package/dist/styles/eui-theme-compact.css.map +1 -0
  18. package/dist/styles/eui-theme-dark.css +2 -0
  19. package/dist/styles/eui-theme-dark.css.map +1 -0
  20. package/dist/styles/eui-utilities.css +1 -1
  21. package/dist/styles/eui-utilities.css.map +1 -1
  22. package/dist/styles/eui.css +1 -1
  23. package/dist/styles/eui.css.map +1 -1
  24. package/package.json +6 -1
  25. package/src/styles/01-ecl/_module-eui-ecl.scss +27 -0
  26. package/src/styles/02-base/mixins/_eui-border-state.scss +7 -7
  27. package/src/styles/02-base/mixins/_eui-clearable-input.scss +26 -13
  28. package/src/styles/02-base/mixins/_eui-disabled.scss +1 -1
  29. package/src/styles/02-base/mixins/_eui-input.scss +8 -9
  30. package/src/styles/02-base/mixins/_eui-scrollbars.scss +1 -2
  31. package/src/styles/02-base/mixins/_module.scss +0 -6
  32. package/src/styles/02b-base-vars/_layout.vars.scss +0 -23
  33. package/src/styles/02b-base-vars/_module.scss +1 -0
  34. package/src/styles/02b-base-vars/_other.vars.scss +3 -0
  35. package/src/styles/03-assets/_module-icons-flags.scss +1 -0
  36. package/src/styles/03-assets/_module-legacy-icons-font.scss +1 -0
  37. package/src/styles/05-material/_material.scss +54 -0
  38. package/src/styles/05-material/_module.scss +1 -25
  39. package/src/styles/05-material/overrides/_calendar.scss +2 -1
  40. package/src/styles/06-shared/_module.scss +5 -2
  41. package/src/styles/07-elements/_module.scss +2 -1
  42. package/src/styles/07-elements/directives/_eui-clearable-input.scss +26 -0
  43. package/src/styles/{06-shared → 07-elements/directives}/_eui-input-maxlength.scss +1 -3
  44. package/src/styles/07-elements/directives/_module.scss +2 -0
  45. package/src/styles/07-elements/eui-table-default/_eui-table-default.scss +1 -73
  46. package/src/styles/08-themes/_module-compact.scss +34 -8
  47. package/src/styles/08-themes/_module-dark.scss +53 -0
  48. package/src/styles/10-media/_module-print.scss +61 -291
  49. package/src/styles/99-utilities/_module.scss +1 -1
  50. package/src/styles/999-showcase/_component-demo-exports.scss +2 -0
  51. package/src/styles/999-showcase/_module.scss +2 -1
  52. package/src/styles/999-showcase/_prism-dracula.scss +584 -0
  53. package/src/styles/999-showcase/_prism-theme.scss +6 -4
  54. package/src/styles/999-showcase/_specific-typography.scss +14 -8
  55. package/src/styles/eui-ecl.scss +7 -0
  56. package/src/styles/eui-icons-flags.scss +7 -0
  57. package/src/styles/eui-legacy-icons-font.scss +7 -0
  58. package/src/styles/eui-print.scss +2 -0
  59. package/src/styles/eui-showcase-all-dev.scss +10 -11
  60. package/src/styles/eui-showcase-all.scss +8 -10
  61. package/src/styles/eui-theme-compact.scss +7 -0
  62. package/src/styles/eui-theme-dark.scss +7 -0
  63. package/src/styles/eui.scss +0 -6
  64. package/src/styles/02-base/mixins/_eui-accessibility.scss +0 -39
  65. package/src/styles/02-base/mixins/_ux-clearable-input.scss +0 -29
  66. package/src/styles/02-base/mixins/_ux-form-control-state.scss +0 -32
  67. package/src/styles/05-material/_module-cdk.scss +0 -110
  68. package/src/styles/05-material/compiled/_full.scss +0 -685
  69. package/src/styles/05-material/compiled/_sources.scss +0 -382
  70. package/src/styles/06-shared/_default.scss +0 -11
@@ -2,21 +2,22 @@
2
2
  * eUI Corporate Print Stylesheet
3
3
  * Based on HTML5 Boilerplate v6.x | https://html5boilerplate.com/
4
4
  * Bootstrap 4.x | https://getbootstrap.com/
5
- * eUI 3.x 7.x 9.x | http://eui.ecdevops.eu
5
+ * eUI all versions | http://eui.ecdevops.eu
6
6
  * See also: https://github.com/h5bp/html5-boilerplate/blob/master/src/css/main.css
7
7
  *
8
8
  * @history:
9
- * 28-04-2022 EUI-5888 - Page with columns content display fix
10
- * 07-10-2020 EUI-3459 - Alignments on Bootstrap removal
11
- * 05-06-2020 EUI-2930 + See \src\styles\04-vendors\libs-overrides\bootstrap\_variables.scss
12
- * 20-02-2019 MWP-994
13
- * 18-02-2019 MWP-995
14
- * 13-12-2018 MWP-865
15
- * 23-08-2018 MWP-414
16
- * 20-06-2018 EUI-383
17
- * 15-06-2018 MWP-298
18
- * 07-06-2018 UXATEC-1508 (initial release)
19
- */
9
+ * 20-10-2023 EUI-8258 - Removed all legacy ux references & align to new App-Shell (page) structure
10
+ * 28-04-2022 EUI-5888 - Page with columns content display fix
11
+ * 07-10-2020 EUI-3459 - Alignments on Bootstrap removal
12
+ * 05-06-2020 EUI-2930 + See \src\styles\04-vendors\libs-overrides\bootstrap\_variables.scss
13
+ * 20-02-2019 MWP-994
14
+ * 18-02-2019 MWP-995
15
+ * 13-12-2018 MWP-865
16
+ * 23-08-2018 MWP-414
17
+ * 20-06-2018 EUI-383
18
+ * 15-06-2018 MWP-298
19
+ * 07-06-2018 UXATEC-1508 (initial release)
20
+ */
20
21
 
21
22
  $debug: false;
22
23
  $print-page-size: auto !default; // EUI-2930: fix page layout orientation (portrait or landscape)
@@ -35,17 +36,13 @@ $print-body-min-width: map-get($ecl-base-breakpoints, 'l') !default;
35
36
  // Remove links
36
37
  a,
37
38
  a:visited {
38
- text-decoration: none;
39
+ text-decoration: none !important;
39
40
 
40
41
  &:not(.btn) {
41
- text-decoration: none;
42
+ text-decoration: none !important;
42
43
  }
43
44
  }
44
45
 
45
- // a[href]::after {
46
- // content: " (" attr(href) ")";
47
- // }
48
-
49
46
  abbr[title]::after {
50
47
  content: " (" attr(title) ")";
51
48
  }
@@ -62,13 +59,13 @@ $print-body-min-width: map-get($ecl-base-breakpoints, 'l') !default;
62
59
 
63
60
  pre,
64
61
  blockquote {
65
- border: none;
66
- page-break-inside: avoid;
62
+ border: none !important;
63
+ page-break-inside: avoid !important;
67
64
  }
68
65
 
69
66
  // Printing Tables: http://css-discuss.incutio.com/wiki/Printing_Tables
70
67
  thead {
71
- display: table-header-group; // h5bp.com/t
68
+ display: table-header-group !important; // h5bp.com/t
72
69
  }
73
70
 
74
71
  //----------------------------------------
@@ -117,126 +114,19 @@ $print-body-min-width: map-get($ecl-base-breakpoints, 'l') !default;
117
114
  page-break-after: avoid !important;
118
115
  }
119
116
 
120
- // Always start new sections & articles on a new page
121
- // section,
122
- // article {
123
- // page-break-before: always !important;
124
- // }
125
-
126
117
  // Prevent elements from being split up
127
- // ul, // Attention! This sets ux-panels to a new page
128
118
  tr,
129
119
  img,
130
120
  pre,
131
121
  blockquote,
132
- figure,
133
- // table, // MWP-995
134
- .ux-layout-page-header-wrapper,
135
- // .ux-panel-item, // do not select!
136
- .ux-panel-header,
137
- .ux-progress-circle-wrapper,
138
- .ux-badge-group {
122
+ figure {
139
123
  page-break-inside: avoid !important;
140
124
  }
141
125
 
142
- //----------------------
143
- // BOOTSTRAP SPECIFIC
144
- //----------------------
145
- .badge {
146
- border: none !important;
147
- }
148
-
149
- .container {
150
- width: auto; // Workaround for Safari v8+which uses fixed-width
151
- }
152
-
153
- .navbar {
154
- display: none !important;
155
- }
156
-
157
- .btn,
158
- .dropup > .btn {
159
- > .caret {
160
- border-top-color: #000 !important;
161
- }
162
- }
163
-
164
- .label {
165
- border: 1px solid #000;
166
- }
167
-
168
- .table {
169
- border-collapse: collapse !important;
170
-
171
- td,
172
- th {
173
- background-color: #fff !important;
174
- }
175
- }
176
-
177
- .table-bordered {
178
- th,
179
- td {
180
- border: 1px solid #ddd !important;
181
- }
182
- }
183
-
184
- .table-responsive {
185
- overflow: hidden !important;
186
- }
187
-
188
126
  //------------------------
189
127
  // eUI COMPONENTS & MISC
190
128
  //------------------------
191
129
 
192
- // Show border
193
- .btn.btn-secondary,
194
- .ux-panel-item {
195
- background-color: #fff !important;
196
- border: 1px solid #999 !important;
197
- box-shadow: none !important;
198
- }
199
-
200
- // ux-modal
201
- .modal,
202
- .ux-modal__body,
203
- .ux-modal__content,
204
- .modal-open .modal {
205
- overflow: hidden !important;
206
- }
207
-
208
- // Modal title customization
209
- .modal-title.ux-modal__header-title {
210
- color: #004494;
211
- font-family: "eui-bold", "Helvetica Neue", Helvetica, sans-serif;
212
- font-size: 1.5rem;
213
- font-weight: normal;
214
- overflow: visible; // show all text visible (disable ellipsis)
215
- }
216
-
217
- .modal,
218
- .ux-modal__dialog,
219
- .ux-modal--full-screen .ux-modal__content {
220
- background: #fff !important;
221
- // height: 100% !important;
222
- height: auto !important; // 100vh;
223
- margin: 0 !important;
224
- overflow: hidden !important;
225
- padding: 0;
226
- visibility: visible !important;
227
- width: 100% !important;
228
- }
229
-
230
- // PrimeNG Data Grids - MWP-994
231
- .ui-table-scrollable-body,
232
- .ui-datatable-scrollable-body {
233
- overflow: hidden !important;
234
- }
235
-
236
- //----------------------
237
- // DISPLAY
238
- //----------------------
239
-
240
130
  // Watermark: add every top page content (QR code, logo, etc.)
241
131
  // #app-wrapper::after {
242
132
  // content: url(https://chart.googleapis.com/chart?cht=qr&amp;chs=150x150&amp;chl=<?=$_SERVER["SERVER_NAME"].$_SERVER["REQUEST_URI"] ?>&amp;choe=UTF-8);
@@ -246,60 +136,19 @@ $print-body-min-width: map-get($ecl-base-breakpoints, 'l') !default;
246
136
  // }
247
137
 
248
138
  // Elements to hide
249
- #app-header,
250
- #app-footer,
251
- .ux-layout-header,
252
- .ux-layout-nav-bar,
253
- .ux-layout-page-header__actions,
254
- .sidebar,
255
- .ux-modal__footer--custom-alignment,
256
- .modal-header .close,
257
- .overlay-panel,
258
- .ux-overlay,
259
- .ux-layout-footer,
260
- .ux-layout-footer-action-bar-wrapper,
261
- .ux-growl,
262
- .ux-block-document,
263
- // .ux-button, // MWP-994, MWP-994 buttons especially button icons should be displayed/printed
264
- .ux-layout-page-header__actions-icons__item,
265
- .ux-popover,
266
- .ux-a-toolbar-filter-trigger,
267
139
  .d-print-none,
268
- .fixed-action-btn,
269
- .ux-carousel-items__arrow,
270
- .ux-carousel-items__summary-indicators,
271
- .ux-carousel-items__summary-indicators-item,
272
- .ux-app-shell__header,
273
- .ux-app-shell__sidebar,
274
- .ux-app-shell__nav-bar,
275
- .ux-app-shell__feedback,
276
- .ux-app-shell__footer,
277
- .ux-button-floating,
140
+ .eui-overlay,
141
+ .eui-growl,
142
+ .eui-block-content,
143
+ .eui-block-document,
144
+ .eui-popover,
145
+ .eui-button-fixed
278
146
  .eui-button-floating,
279
147
  .eui-u-hidden-desktop-down {
280
148
  display: none !important;
281
149
  visibility: hidden !important;
282
150
  }
283
151
 
284
- // Keep the Breadcrumb from the navbar
285
- .ux-app-shell__nav-bar {
286
- background-color: #fff !important;
287
-
288
- .ux-app-shell__nav-bar-actions {
289
- display: none !important;
290
- visibility: hidden !important;
291
- }
292
-
293
- .ux-app-shell__nav-bar-breadcrumb .ux-layout-breadcrumbs .ux-layout-breadcrumbs__item a {
294
- color: #000 !important;
295
-
296
- > span {
297
- color: #000 !important;
298
- overflow: visible;
299
- }
300
- }
301
- }
302
-
303
152
  // Removing Multimedia elements
304
153
  iframe {
305
154
  display: none !important;
@@ -321,9 +170,7 @@ $print-body-min-width: map-get($ecl-base-breakpoints, 'l') !default;
321
170
  }
322
171
 
323
172
  // Visible elements
324
- #printSection,
325
- .ux-layout-page-header__title,
326
- .ux-layout-page-header__sub-title {
173
+ #printSection {
327
174
  visibility: visible !important;
328
175
  }
329
176
 
@@ -340,12 +187,7 @@ $print-body-min-width: map-get($ecl-base-breakpoints, 'l') !default;
340
187
  .d-print-table-row,
341
188
  .d-print-table-cell,
342
189
  .d-print-flex,
343
- .d-print-inline-flex,
344
- .ui-datatable,
345
- .ui-datatable-tablewrapper,
346
- .ui-datatable--no-borders,
347
- .ui-datatable--scrollable,
348
- .ui-datatable-scrollable-view {
190
+ .d-print-inline-flex {
349
191
  background-color: #fff !important;
350
192
  display: block !important;
351
193
  float: none !important;
@@ -355,135 +197,64 @@ $print-body-min-width: map-get($ecl-base-breakpoints, 'l') !default;
355
197
  position: static !important;
356
198
  width: 100% !important;
357
199
 
200
+ & .eui-u-flex,
358
201
  & .flex-container,
359
- & .d-flex,
360
- & .row {
202
+ & .d-flex
203
+ & .row
204
+ {
361
205
  display: flex !important;
362
206
  }
363
207
  }
364
208
 
365
- // Fix margin when Sidebar is off (no margins, no paddings)
366
- #main-content {
367
- margin: 0 !important;
368
- padding: 0 !important;
369
- }
370
-
371
209
  // Avoid last page to be cut (sometimes still bugged on Chrome)
372
- body,
373
- #main,
374
- .ux-app-shell__main-content {
210
+ body {
375
211
  background-color: #fff !important;
376
212
  display: block !important;
377
- }
378
-
379
- // Elements to not truncate (remove ellipsis)
380
- .ux-layout-page-header-wrapper,
381
- .ux-layout-page-header,
382
- .ux-layout-page-header__sub-title,
383
- .page-sub-title,
384
- .modal-title.ux-modal__header-title {
385
- display: block !important;
386
213
  margin: 0 !important;
387
- overflow: visible !important;
388
- // padding: 0 !important; // do not touch original padding
389
- page-break-inside: avoid !important;
390
- text-overflow: clip; // removes ellipsis truncation if any
391
- @if ($debug) {
392
- border: 1px dashed lime;
393
- }
394
- }
395
-
396
- // ux-panels
397
- .ux-panel-item {
398
- background-color: #fff !important;
399
- border: 1px solid #999 !important;
400
- box-shadow: none !important;
401
-
402
- &::after {
403
- content: ' ';
404
- @if ($debug) {
405
- border-top: 1px dashed magenta;
406
- }
407
- }
408
- }
409
-
410
- .ux-panel-content {
411
- background-color: #fff !important;
412
- display: block !important;
413
- height: auto !important;
414
-
415
- // Print scrollable content (MWP-414)
416
- &--fixed-height,
417
- &--fixed-height-scrollable {
418
- height: auto !important;
419
- overflow-y: visible !important;
420
- width: 100% !important;
421
-
422
- &[style] {
423
- height: auto !important;
424
- max-height: 100% !important;
425
- }
426
- }
427
-
428
- // Do not Print panel content when collapsed (MWP-994)
429
- &[hidden] {
430
- display: none !important;
431
- height: 0 !important;
432
- visibility: hidden !important;
433
- }
434
-
435
- &::after {
436
- content: '';
437
- @if ($debug) {
438
- border: 1px dashed blue;
439
- }
440
- }
214
+ padding: 0 !important;
441
215
  }
442
216
 
443
- // Landing page
444
- .ux-t-landing-page {
445
- & .masthead,
446
- & .bg-primary,
447
- > section * {
448
- background: #fff !important;
449
- color: #000 !important;
450
- }
451
-
452
- hr.light {
453
- border-color: black !important;
454
- }
455
- }
217
+ // DISABLED - For elements to not truncate (remove ellipsis) use this:
218
+ // display: block !important;
219
+ // margin: 0 !important;
220
+ // overflow: visible !important;
221
+ // // padding: 0 !important; // do not touch original padding
222
+ // page-break-inside: avoid !important;
223
+ // text-overflow: clip; // removes ellipsis truncation if any
224
+ // }
456
225
 
457
226
  // Miscellaneous
458
- * .text-white,
459
- * .text-faded {
227
+ * .eui-u-color-white,
228
+ * .eui-u-color-grey-0 {
460
229
  color: #000 !important;
461
230
  }
462
231
 
463
232
  // REACTIVE FORMS
464
- .ux-form-group {
233
+ .eui-input-group {
234
+ align-items: flex-start !important;
465
235
  display: flex !important;
466
- flex-direction: row !important;
467
-
468
- &.ux-form-group--vertical {
469
- flex-direction: column !important;
470
- }
236
+ flex-direction: column !important;
237
+ }
471
238
 
472
- @media (orientation: portrait) {
473
- .ux-form-group__label-wrapper.col-form-label {
474
- text-align: left !important;
475
- }
476
- }
239
+ .row.eui-input-group {
240
+ align-items: center !important;
241
+ display: flex !important;
242
+ flex-direction: row !important;
477
243
 
478
- @media (orientation: landscape) {
479
- .ux-form-group__label-wrapper.col-form-label {
480
- text-align: right !important;
481
- }
244
+ > * {
245
+ box-sizing: border-box !important;
246
+ flex-shrink: 0 !important;
247
+ width: auto !important;
248
+ max-width: unset !important;
249
+ padding-right: calc(var(--bs-gutter-x) * 0.5) !important;
250
+ padding-left: calc(var(--bs-gutter-x) * 0.5) !important;
251
+ margin-top: var(--bs-gutter-y) !important;
482
252
  }
483
253
  }
484
254
 
485
- // SHELL NEXT (eUI 10+)
255
+ // APP-SHELL NEXT (eUI 10+)
486
256
  .eui-app-main {
257
+ background: var(--eui-base-color-white) !important;
487
258
  margin-left: 0 !important;
488
259
  width: 100% !important;
489
260
 
@@ -496,7 +267,6 @@ $print-body-min-width: map-get($ecl-base-breakpoints, 'l') !default;
496
267
  }
497
268
  }
498
269
 
499
- app-floating-content,
500
270
  .cdk-overlay-container,
501
271
  .eui-app-sidebar,
502
272
  .eui-clearable-input-wrapper__clear {
@@ -1 +1 @@
1
- @import '@eui/styles-base/src/styles/99-utilities/module-all';
1
+ @import '@eui/styles-base/src/styles/99-utilities/module';
@@ -33,6 +33,7 @@
33
33
  position: relative;
34
34
  width: 100%;
35
35
  @include eui-scrollbars(6px);
36
+ // @include eui-accessible-focus();
36
37
 
37
38
  pre {
38
39
  color: #cc367b;
@@ -44,6 +45,7 @@
44
45
  overflow: initial;
45
46
  white-space: pre;
46
47
  word-wrap: break-word;
48
+ // @include eui-accessible-focus();
47
49
 
48
50
  > * {
49
51
  align-items: center;
@@ -1,6 +1,7 @@
1
- @import '@eui/styles-base/src/styles/eui-base-showcase-exports';
1
+ @import '@eui/styles-base/src/styles/999-showcase-exports/module';
2
2
 
3
3
  @import 'prism-theme';
4
+ @import 'prism-dracula';
4
5
  @import 'component-demo-exports';
5
6
  @import 'docpage-navigation';
6
7
  @import 'specific-typography'; // v15 transfered from shared