@guardian/interactive-component-library 0.1.0-alpha.16 → 0.1.0-alpha.18

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/dist/style.css CHANGED
@@ -2208,46 +2208,51 @@ body.android {
2208
2208
  --top-inset: 58px;
2209
2209
  }
2210
2210
 
2211
- ._ticker_1tpek_9 {
2211
+ ._ticker_2eemh_9 {
2212
2212
  position: relative;
2213
2213
  --ticker-item-width: 100%;
2214
2214
  }
2215
2215
  @media (min-width: 30em) {
2216
- ._ticker_1tpek_9 {
2216
+ ._ticker_2eemh_9 {
2217
2217
  --ticker-item-width: 200px;
2218
2218
  }
2219
2219
  }
2220
2220
 
2221
- ._tickerItems_1tpek_19 {
2221
+ ._tickerItems_2eemh_19 {
2222
+ width: 100%;
2223
+ overflow: clip;
2224
+ }
2225
+
2226
+ ._tickerScroll_2eemh_24 {
2222
2227
  display: flex;
2223
2228
  flex-direction: column;
2224
2229
  row-gap: var(--space-2);
2225
2230
  align-items: stretch;
2226
2231
  max-height: 300px;
2227
- overflow: hidden;
2232
+ overflow: visible;
2228
2233
  }
2229
2234
  @media (min-width: 30em) {
2230
- ._tickerItems_1tpek_19 {
2235
+ ._tickerScroll_2eemh_24 {
2231
2236
  flex-direction: row;
2232
2237
  column-gap: var(--space-2);
2238
+ transform: translateX(var(--ticker-offset));
2239
+ transition: transform 0.5s ease-in-out;
2233
2240
  }
2234
2241
  }
2235
2242
 
2236
- ._tickerItem_1tpek_19 {
2243
+ ._tickerItem_2eemh_19 {
2237
2244
  width: var(--ticker-item-width);
2238
2245
  flex-shrink: 0;
2239
- transform: translateX(calc(-1 * var(--ticker-offset) * var(--ticker-item-width)));
2240
- transition: transform 0.3s ease-in-out;
2241
2246
  }
2242
2247
 
2243
- ._controls_1tpek_41 {
2248
+ ._controls_2eemh_46 {
2244
2249
  position: absolute;
2245
2250
  bottom: 0;
2246
2251
  width: 100%;
2247
2252
  height: 86px;
2248
2253
  }
2249
2254
  @media (min-width: 30em) {
2250
- ._controls_1tpek_41 {
2255
+ ._controls_2eemh_46 {
2251
2256
  top: 0;
2252
2257
  right: 0;
2253
2258
  width: 86px;
@@ -2255,25 +2260,25 @@ body.android {
2255
2260
  }
2256
2261
  }
2257
2262
 
2258
- ._gradient_1tpek_56 {
2263
+ ._gradient_2eemh_61 {
2259
2264
  position: absolute;
2260
2265
  width: 100%;
2261
2266
  bottom: 0;
2262
2267
  height: 86px;
2263
2268
  }
2264
2269
  @media (min-width: 30em) {
2265
- ._gradient_1tpek_56 {
2270
+ ._gradient_2eemh_61 {
2266
2271
  width: auto;
2267
2272
  height: 100%;
2268
2273
  right: 0;
2269
2274
  }
2270
2275
  }
2271
2276
 
2272
- ._buttons_1tpek_70 {
2277
+ ._buttons_2eemh_75 {
2273
2278
  display: none;
2274
2279
  }
2275
2280
  @media (min-width: 30em) {
2276
- ._buttons_1tpek_70 {
2281
+ ._buttons_2eemh_75 {
2277
2282
  position: absolute;
2278
2283
  top: 0;
2279
2284
  right: var(--space-5);
@@ -2284,39 +2289,29 @@ body.android {
2284
2289
  }
2285
2290
  }
2286
2291
 
2287
- ._button_1tpek_70 {
2292
+ ._button_2eemh_75 {
2288
2293
  position: absolute;
2289
2294
  bottom: -20px;
2290
2295
  left: 0;
2291
2296
  }
2292
2297
  @media (min-width: 30em) {
2293
- ._button_1tpek_70 {
2298
+ ._button_2eemh_75 {
2294
2299
  display: none;
2295
2300
  }
2296
2301
  }
2297
2302
 
2298
- ._buttonInner_1tpek_96 {
2303
+ ._buttonInner_2eemh_101 {
2299
2304
  background-color: var(--tertiary-bg-color);
2300
2305
  }
2301
2306
 
2302
- ._ticker_1tpek_9[data-expanded=true] ._tickerItems_1tpek_19 {
2303
- max-height: calc(100vh - env(safe-area-inset-bottom, 0) - env(safe-area-inset-top, 0) - var(--top-inset));
2304
- }
2305
- @supports (height: 100dvh) {
2306
- ._ticker_1tpek_9[data-expanded=true] ._tickerItems_1tpek_19 {
2307
- max-height: calc(100dvh - var(--top-inset));
2308
- }
2309
- }
2310
- @supports (-webkit-touch-callout: none) {
2311
- ._ticker_1tpek_9[data-expanded=true] ._tickerItems_1tpek_19 {
2312
- max-height: -webkit-fill-available;
2313
- }
2307
+ ._ticker_2eemh_9[data-expanded=true] ._tickerScroll_2eemh_24 {
2308
+ max-height: fit-content;
2314
2309
  }
2315
2310
 
2316
- ._ticker_1tpek_9[data-expanded=true] ._controls_1tpek_41 {
2311
+ ._ticker_2eemh_9[data-expanded=true] ._controls_2eemh_46 {
2317
2312
  position: sticky;
2318
2313
  margin-top: -40px;
2319
2314
  }
2320
- ._ticker_1tpek_9[data-expanded=true] ._controls_1tpek_41 ._button_1tpek_70 {
2315
+ ._ticker_2eemh_9[data-expanded=true] ._controls_2eemh_46 ._button_2eemh_75 {
2321
2316
  bottom: 0;
2322
2317
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@guardian/interactive-component-library",
3
3
  "private": false,
4
- "version": "v0.1.0-alpha.16",
4
+ "version": "v0.1.0-alpha.18",
5
5
  "packageManager": "pnpm@8.4.0",
6
6
  "repository": {
7
7
  "type": "git",