@eui/styles 17.0.0-next.13 → 17.0.0-next.14

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/package.json CHANGED
@@ -14,6 +14,6 @@
14
14
  "npm": "Please use yarn instead of NPM to install dependencies"
15
15
  },
16
16
  "license": "EUPL-1.1",
17
- "version": "17.0.0-next.13",
17
+ "version": "17.0.0-next.14",
18
18
  "tag": "next"
19
19
  }
@@ -1,7 +1,7 @@
1
1
  // eUI Inputs Layout & states commons
2
2
  // Used for: eui-input-text, eui-input-number, eui-select, eui-textarea, eui-datepicker, eui-autocomplete
3
3
  @mixin eui-input() {
4
- @include eui-font(m, ui);
4
+ @include eui-font-family();
5
5
  appearance: none;
6
6
  background-color: v(eui-base-color-white);
7
7
  border: 1px solid v(eui-base-color-grey-50);
@@ -3,7 +3,6 @@
3
3
  display: inherit;
4
4
  height: $size; // horizontal scroll
5
5
  width: $size; // vertical scroll
6
- // z-index: v(eui-base-z-index-highlighted); // should be when in edition mode
7
6
  @if ($state == active) {
8
7
  background-color: $background-color;
9
8
  }
@@ -3,7 +3,7 @@
3
3
  width: 100%;
4
4
 
5
5
  .eui-input-maxlength {
6
- @include eui-font(xs, ui);
6
+ @include eui-font-family-xs();
7
7
  background-color: v(eui-base-color-grey-10);
8
8
  border: 1px solid v(eui-base-color-grey-50);
9
9
  border-radius: v(eui-base-border-radius);
@@ -22,7 +22,7 @@ table.eui-table-default {
22
22
  thead {
23
23
  th {
24
24
  border-bottom: 1px solid v(eui-base-color-grey-10);
25
- color: v(eui-base-color-grey-75);
25
+ color: v(eui-base-color-grey-100);
26
26
  font-size: v(eui-base-font-size);
27
27
  padding: v(eui-base-spacing-m) v(eui-base-spacing-s);
28
28
  vertical-align: middle;
@@ -12,10 +12,8 @@
12
12
  html.eui-t-compact {
13
13
  // Exposed CSS variables
14
14
  --eui-base-font-size: 14px; // Font size base for compact theme
15
- --eui-base-line-height: 1.25; // Unitless number value is multiplied by the element's font size
16
15
  // Setup
17
16
  font-size: var(--eui-base-font-size); // Applies the defined custom font size
18
- line-height: var(--eui-base-line-height); // Applies the defined custom line height ratio
19
17
  }
20
18
 
21
19
  // FORM ELEMENTS
@@ -23,7 +21,6 @@ html.eui-t-compact {
23
21
  form.eui-t-form-compact {
24
22
  // Exposed CSS variables
25
23
  --eui-base-font-size: 14px; // Font size base for compact theme
26
- --eui-base-line-height: 1.25; // Unitless number value is multiplied by the element's font size
27
24
  --eui-input-group-spacing: var(--eui-base-spacing-s); // Spacing between form groups elements
28
25
  // Internals
29
26
  // See: eui-styles-base\src\styles\02-base\mixins\theming\_compact-vars.scss
@@ -31,7 +28,6 @@ form.eui-t-form-compact {
31
28
  // Setup
32
29
  --eui-compact-ratio: 0.82; // Sets form inputs/elements to 39px height (default: 44px)
33
30
  font-size: var(--eui-base-font-size); // Applies the defined custom font size
34
- line-height: var(--eui-base-line-height); // Applies the defined custom line height ratio
35
31
 
36
32
  // Internals
37
33
  .eui-input-group {
@@ -58,7 +54,6 @@ form.eui-t-form-compact {
58
54
  .eui-table.eui-t-table-compact {
59
55
  // Exposed CSS variables
60
56
  --eui-base-font-size: 14px; // Font size base for compact theme
61
- --eui-base-line-height: 1.25; // Unitless number value is multiplied by the element's font size
62
57
  --eui-table-header-padding: var(--eui-base-spacing-s); // Table header spacer set to 0.75rem
63
58
  --eui-table-row-padding: var(--eui-base-spacing-2xs); // Table body row spacer set to 0.25rem
64
59
  --eui-table-footer-padding: var(--eui-base-spacing-s); // Table footer spacer set to 0.75rem
@@ -66,7 +61,6 @@ form.eui-t-form-compact {
66
61
  @include eui-compact-get-tokens();
67
62
  // Setup
68
63
  font-size: var(--eui-base-font-size); // Applies the defined custom font size
69
- line-height: var(--eui-base-line-height); // Applies the defined custom line height ratio
70
64
 
71
65
  // Internals
72
66
  thead {
@@ -105,14 +99,12 @@ form.eui-t-form-compact {
105
99
  .eui-card.eui-t-card-compact {
106
100
  // Exposed CSS variables
107
101
  --eui-base-font-size: 14px; // Font size base for compact theme
108
- --eui-base-line-height: 1.25; // Unitless number value is multiplied by the element's font size
109
102
  --eui-card-title-size: var(--eui-base-font-size-m); // Card title font size
110
103
  --eui-card-subtitle-size: var(--eui-base-font-size-s); // Card subtitle font size
111
104
  // Internals
112
105
  @include eui-compact-get-tokens();
113
106
  // Setup
114
107
  font-size: var(--eui-base-font-size); // Applies the defined custom font size
115
- line-height: var(--eui-base-line-height); // Applies the defined custom line height ratio
116
108
 
117
109
  // Internals
118
110
  .eui-card {
@@ -68,11 +68,12 @@ code[class*="language"] {
68
68
  padding: 0 1em;
69
69
  display: block;
70
70
  overflow: auto;
71
+ font-size: v(eui-base-font-size);
71
72
  }
72
73
 
73
74
  :not(pre) > code[class*="language-"],
74
75
  pre[class*="language-"] {
75
- background: #f5f2f0;
76
+ background: #fff;
76
77
  }
77
78
 
78
79
  /* Inline code */
@@ -113,7 +114,7 @@ pre[class*="language-"] {
113
114
  .token.char,
114
115
  .token.builtin,
115
116
  .token.inserted {
116
- color: #690;
117
+ color: #517b00;
117
118
  }
118
119
 
119
120
  .token.operator,