@ecl/spotlight 5.0.0-alpha.16 → 5.0.0-alpha.17

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 (2) hide show
  1. package/package.json +5 -5
  2. package/spotlight.scss +3 -3
package/package.json CHANGED
@@ -2,13 +2,13 @@
2
2
  "name": "@ecl/spotlight",
3
3
  "author": "European Commission",
4
4
  "license": "EUPL-1.2",
5
- "version": "5.0.0-alpha.16",
5
+ "version": "5.0.0-alpha.17",
6
6
  "description": "ECL Spotlight",
7
7
  "style": "spotlight.scss",
8
8
  "dependencies": {
9
- "@ecl/grid": "5.0.0-alpha.16",
10
- "@ecl/mixins-typography": "5.0.0-alpha.16",
11
- "@ecl/picture": "5.0.0-alpha.16"
9
+ "@ecl/grid": "5.0.0-alpha.17",
10
+ "@ecl/mixins-typography": "5.0.0-alpha.17",
11
+ "@ecl/picture": "5.0.0-alpha.17"
12
12
  },
13
13
  "publishConfig": {
14
14
  "access": "public"
@@ -26,5 +26,5 @@
26
26
  "europa-component-library",
27
27
  "design-system"
28
28
  ],
29
- "gitHead": "0842ff3b72ce9099c13e5407ad2b5eda9d06ba69"
29
+ "gitHead": "9f3b8df2dd9b9abc25aacbd0aa68f324da01fa3e"
30
30
  }
package/spotlight.scss CHANGED
@@ -139,7 +139,7 @@ $spotlight: null !default;
139
139
  }
140
140
  }
141
141
 
142
- @container ecl-spotlight (width >= #{map.get($theme, 'breakpoint', 'm')}) {
142
+ @include breakpoints.up('m') {
143
143
  .ecl-spotlight__container {
144
144
  height: map.get($spotlight, 'gradient-height-tablet');
145
145
  }
@@ -174,7 +174,7 @@ $spotlight: null !default;
174
174
  }
175
175
  }
176
176
 
177
- @container ecl-spotlight (width >= #{map.get($theme, 'breakpoint', 'xl')}) {
177
+ @include breakpoints.up('xl') {
178
178
  .ecl-spotlight__title {
179
179
  max-width: 950px;
180
180
  padding-block: map.get($spotlight, 'title', 'padding-block-desktop');
@@ -191,7 +191,7 @@ $spotlight: null !default;
191
191
  }
192
192
  }
193
193
 
194
- @container ecl-spotlight (width >= #{map.get($theme, 'container', 'xl')}) {
194
+ @media (min-width: map.get($theme, 'container', 'xl')) {
195
195
  .ecl-spotlight__picture-container,
196
196
  .ecl-spotlight .ecl-spotlight__image {
197
197
  aspect-ratio: 3/1;