@reuters-graphics/graphics-components 3.0.10 → 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.
@@ -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.10",
3
+ "version": "3.0.11",
4
4
  "type": "module",
5
5
  "private": false,
6
6
  "homepage": "https://reuters-graphics.github.io/graphics-components",