@xenia-martech/sdk-js 1.0.0-dev.29 → 1.0.0-dev.30

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.
@@ -1822,6 +1822,17 @@ var STYLES = `
1822
1822
  border: 0; border-radius: var(--xenia-cta-radius, 8px); padding: var(--xenia-cta-padding, 8px 14px);
1823
1823
  font-size: var(--xenia-cta-size, 14px); font-family: inherit; cursor: pointer; }
1824
1824
  .xenia-wheel-spin:disabled { opacity: 0.6; cursor: default; }
1825
+ /* The spinner face and the win/loss screens are siblings toggled via the 'hidden' attribute \u2014
1826
+ during crossFadeReveal's ~320ms crossfade, BOTH the outgoing and incoming screen are visible
1827
+ (not hidden) at once, so without this they'd stack in normal block flow and roughly double
1828
+ this box's height for that window. Since .xenia-modal's flexbox re-centers on every height
1829
+ change, that briefly-doubled height yanks the whole card to a new position with ZERO
1830
+ animation \u2014 right before the scale-down transition starts animating smoothly from that
1831
+ already-jumped spot, reading as "not scaling from center". Grid-stacking every child into the
1832
+ same cell (sized to the tallest non-hidden one) makes the outgoing/incoming screens overlay in
1833
+ place instead of stacking, so there is no discrete height jump to correct for. */
1834
+ .xenia-spin-wheel { display: grid; }
1835
+ .xenia-spin-wheel > * { grid-area: 1 / 1; }
1825
1836
  /* No animation/transform here \u2014 spin-wheel's win/loss screens are ALWAYS full
1826
1837
  custom HTML now (winHtml/lossHtml), never this class's own generated icon/title/prize/cta
1827
1838
  content (those sub-classes below are unreachable dead CSS, kept only for backwards-compat with