@eui/styles 15.2.2 → 15.3.0-snapshot-1678030922178

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
@@ -9,6 +9,6 @@
9
9
  "description": "eUI core styling",
10
10
  "author": "ec.europa.eui@gmail.com",
11
11
  "license": "EUPL-1.1",
12
- "version": "15.2.2",
13
- "tag": "latest"
12
+ "version": "15.3.0-snapshot-1678030922178",
13
+ "tag": "snapshot"
14
14
  }
@@ -13,14 +13,15 @@ html.eui-t-compact {
13
13
  /////////////////
14
14
  form.eui-t-form-compact {
15
15
  // Exposed CSS variables
16
- --eui-base-font-size: 14px; // Font size base for compact theme
16
+ --eui-base-font-size: 14px; // Font size base for compact theme
17
17
  --eui-base-line-height: 1.25; // Unitless number value is multiplied by the element's font size
18
- --eui-input-group-spacing: var(--eui-base-spacing-xs); // Spacing between form groups elements
18
+ --eui-input-group-spacing: var(--eui-base-spacing-s); // Spacing between form groups elements
19
19
  // Internals
20
20
  // See: eui-styles-base\src\styles\02-base\mixins\theming\_compact-vars.scss
21
21
  @include eui-compact-get-tokens();
22
22
  // Setup
23
- font-size: var(--eui-base-font-size); // Applies the defined custom font size
23
+ --eui-compact-ratio: 0.82; // Sets form inputs/elements to 39px height (default: 44px)
24
+ font-size: var(--eui-base-font-size); // Applies the defined custom font size
24
25
  line-height: var(--eui-base-line-height); // Applies the defined custom line height ratio
25
26
 
26
27
  // Internals
@@ -33,10 +34,14 @@ form.eui-t-form-compact {
33
34
  }
34
35
 
35
36
  .eui-input-group-addon-item {
36
- min-height: calc(2.5 * #{v(eui-base-spacing)});
37
- min-width: calc(2.5 * #{v(eui-base-spacing)});
37
+ min-height: calc(2.5 * #{v(eui-base-spacing-m)});
38
+ min-width: calc(2.5 * #{v(eui-base-spacing-m)});
38
39
  padding: calc(#{v(eui-base-spacing-xs)} - 1px);
39
40
  }
41
+
42
+ .eui-button--icon-only {
43
+ padding: calc(#{v(eui-base-spacing-s)} - 1px) v(eui-base-spacing-xs);
44
+ }
40
45
  }
41
46
 
42
47
  // TABLE