@guardian/interactive-component-library 0.9.1 → 0.9.3

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.
@@ -1,9 +1,9 @@
1
- const section = "_section_s7ln2_9";
2
- const fullWidth = "_fullWidth_s7ln2_58";
3
- const borderLeftCol = "_borderLeftCol_s7ln2_75";
4
- const header = "_header_s7ln2_82";
5
- const content = "_content_s7ln2_87";
6
- const borderTop = "_borderTop_s7ln2_92";
1
+ const section = "_section_1vdz3_9";
2
+ const fullWidth = "_fullWidth_1vdz3_57";
3
+ const borderLeftCol = "_borderLeftCol_1vdz3_74";
4
+ const header = "_header_1vdz3_81";
5
+ const content = "_content_1vdz3_86";
6
+ const borderTop = "_borderTop_1vdz3_91";
7
7
  const defaultStyles = {
8
8
  section,
9
9
  fullWidth,
package/dist/style.css CHANGED
@@ -2192,14 +2192,14 @@ body.android {
2192
2192
  --top-inset: 58px;
2193
2193
  }
2194
2194
 
2195
- ._section_s7ln2_9 {
2195
+ ._section_1vdz3_9 {
2196
2196
  background-color: var(--background-color);
2197
2197
  display: grid;
2198
2198
  grid-column-gap: 10px;
2199
2199
  grid-row-gap: 10px;
2200
2200
  grid-template-areas: "header" "content";
2201
2201
  --padding: 10px;
2202
- --bleed: 10px;
2202
+ --bleed: 0px;
2203
2203
  width: calc(100% + var(--bleed) * 2);
2204
2204
  padding-left: var(--padding);
2205
2205
  padding-right: var(--padding);
@@ -2207,75 +2207,74 @@ body.android {
2207
2207
  margin-right: calc(var(--bleed) * -1);
2208
2208
  }
2209
2209
  @media (min-width: 480px) {
2210
- ._section_s7ln2_9 {
2210
+ ._section_1vdz3_9 {
2211
2211
  --padding: 20px;
2212
- --bleed: 20px;
2213
- }
2214
- }
2215
- @media (min-width: 740px) and (max-width: 1140px) {
2216
- ._section_s7ln2_9 {
2217
- --bleed: 0px;
2218
2212
  }
2219
2213
  }
2220
2214
  @media (min-width: 980px) {
2221
- ._section_s7ln2_9 {
2215
+ ._section_1vdz3_9 {
2222
2216
  width: calc(100% + var(--bleed) * 2 - 2px);
2223
2217
  grid-template-columns: 620px;
2224
2218
  }
2225
2219
  }
2220
+ @media (min-width: 1140px) {
2221
+ ._section_1vdz3_9 {
2222
+ --bleed: 20px;
2223
+ }
2224
+ }
2226
2225
  @media (min-width: 1140px) and (max-width: 1300px) {
2227
- ._section_s7ln2_9 {
2226
+ ._section_1vdz3_9 {
2228
2227
  margin-left: calc(var(--bleed) * -1 - 1px);
2229
2228
  }
2230
2229
  }
2231
2230
  @media (min-width: 1140px) {
2232
- ._section_s7ln2_9 {
2231
+ ._section_1vdz3_9 {
2233
2232
  grid-template-columns: 140px 1px 620px 1fr;
2234
2233
  grid-template-areas: "header border content .";
2235
2234
  }
2236
2235
  }
2237
2236
  @media (min-width: 1300px) {
2238
- ._section_s7ln2_9 {
2237
+ ._section_1vdz3_9 {
2239
2238
  grid-template-columns: 219px 1px 620px;
2240
2239
  }
2241
2240
  }
2242
2241
 
2243
2242
  @media (min-width: 980px) {
2244
- ._section_s7ln2_9._fullWidth_s7ln2_58 {
2243
+ ._section_1vdz3_9._fullWidth_1vdz3_57 {
2245
2244
  grid-template-columns: 1fr;
2246
2245
  }
2247
2246
  }
2248
2247
  @media (min-width: 1140px) {
2249
- ._section_s7ln2_9._fullWidth_s7ln2_58 {
2248
+ ._section_1vdz3_9._fullWidth_1vdz3_57 {
2250
2249
  grid-template-columns: 140px 1px 1fr;
2251
2250
  grid-template-areas: "header border content";
2252
2251
  }
2253
2252
  }
2254
2253
  @media (min-width: 1300px) {
2255
- ._section_s7ln2_9._fullWidth_s7ln2_58 {
2254
+ ._section_1vdz3_9._fullWidth_1vdz3_57 {
2256
2255
  grid-template-columns: 219px 1px 1fr;
2257
2256
  }
2258
2257
  }
2259
2258
 
2260
2259
  @media (min-width: 1140px) {
2261
- ._section_s7ln2_9._borderLeftCol_s7ln2_75:before {
2260
+ ._section_1vdz3_9._borderLeftCol_1vdz3_74:before {
2262
2261
  content: "";
2263
2262
  grid-area: border;
2264
2263
  border-left: 1px solid var(--border-divider-color);
2265
2264
  }
2266
2265
  }
2267
2266
 
2268
- ._header_s7ln2_82 {
2267
+ ._header_1vdz3_81 {
2269
2268
  padding-top: 10px;
2270
2269
  grid-area: header;
2271
2270
  }
2272
2271
 
2273
- ._content_s7ln2_87 {
2272
+ ._content_1vdz3_86 {
2274
2273
  padding-top: 10px;
2275
2274
  grid-area: content;
2276
2275
  }
2277
2276
 
2278
- ._borderTop_s7ln2_92 {
2277
+ ._borderTop_1vdz3_91 {
2279
2278
  border-top: 1px solid var(--border-divider-color);
2280
2279
  }._text_1ci1k_1 {
2281
2280
  font-family: var(--text-sans);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@guardian/interactive-component-library",
3
3
  "private": false,
4
- "version": "0.9.1",
4
+ "version": "0.9.3",
5
5
  "packageManager": "pnpm@8.4.0",
6
6
  "repository": {
7
7
  "type": "git",