@biggive/components 202401021355.0.0 → 202401021422.0.0

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/hydrate/index.js CHANGED
@@ -10707,7 +10707,11 @@ class BiggiveTotalizer {
10707
10707
  // We've seen the initial calculation exclude the ~30px per set of values end padding before,
10708
10708
  // and it's safe to err on the side of more copies to reduce the chance of abrupt early loop
10709
10709
  // ends, so we add a buffer of 40px to the calculation when deciding how many copies to use.
10710
- const sleeveCount = Math.max(1, Math.min(4, Math.ceil((2 * (40 + itemsWidth)) / containerWidth)));
10710
+ // const sleeveCount = Math.max(1, Math.min(4, Math.ceil((2 * (40 + itemsWidth)) / containerWidth)));
10711
+ // TODO Ultimately we'd like to get multiple copies working, or simplify. This
10712
+ // has proven very hard to iterate on pending a fix for DON-867 because
10713
+ // there is Angular-specific behaviour breaking the contents of copies.
10714
+ const sleeveCount = 1;
10711
10715
  this.host.style.setProperty('--ticker-end-left', `-${sleeveCount * 100}%`);
10712
10716
  const duration = Math.round((itemsWidth / 100) * sleeveCount);
10713
10717
  for (let ii = 1; ii <= sleeveCount; ii++) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@biggive/components",
3
3
  "_comment": "Version number below is automatically replaced during CircleCI build.",
4
- "version": "202401021355.0.0",
4
+ "version": "202401021422.0.0",
5
5
  "description": "Big Give Components",
6
6
  "main": "dist/index.cjs.js",
7
7
  "module": "dist/index.js",