@reuters-graphics/graphics-components 3.0.9 → 3.0.11

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.
@@ -3,7 +3,7 @@ import getParameterByName from './getParameterByName';
3
3
  import Ias from './ias';
4
4
  const ONETRUST_LOGS = 'ot_logs';
5
5
  const ONETRUST_GEOLOCATION_MOCK = 'ot_geolocation_mock';
6
- const ONETRUST_SCRIPT_ID = '38cb75bd-fbe1-4ac8-b4af-e531ab368caf-test';
6
+ const ONETRUST_SCRIPT_ID = '38cb75bd-fbe1-4ac8-b4af-e531ab368caf';
7
7
  export const loadBootstrap = () => {
8
8
  window.freestar = window.freestar || {};
9
9
  const freestar = window.freestar;
@@ -25,7 +25,7 @@
25
25
  {#each steps as step, i}
26
26
  {#if showStep(i)}
27
27
  <div
28
- class={`step step-${i + 1} w-full absolute`}
28
+ class={`step-background step-${i + 1} w-full absolute`}
29
29
  class:visible={isVisible(i)}
30
30
  class:invisible={!isVisible(i)}
31
31
  >
@@ -122,7 +122,7 @@ Then parse the relevant ArchieML block object before passing to the `Scroller` c
122
122
  {#if block.type === 'ai-scroller'}
123
123
  <Scroller
124
124
  id={block.id}
125
- backgroundWidth={block.width}
125
+ backgroundWidth={block.backgroundWidth}
126
126
  foregroundPosition={block.foregroundPosition}
127
127
  stackBackground={truthy(block.stackBackground)}
128
128
  steps={block.steps.map((step) => ({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@reuters-graphics/graphics-components",
3
- "version": "3.0.9",
3
+ "version": "3.0.11",
4
4
  "type": "module",
5
5
  "private": false,
6
6
  "homepage": "https://reuters-graphics.github.io/graphics-components",