@fynd-design-engineering/fynd-one-v2 3.3.8 → 3.3.9

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 +1 @@
1
- "use strict";(()=>{var r=window.gsap,u=["selling online","self-checkout in store","product photoshoot","multi-channel catalog","hyperlocal delivery","agentic support"];function c(){let e=document.getElementById("chroma");e&&(e.setAttribute("data-animate","false"),e.offsetWidth,e.setAttribute("data-animate","true"))}function m(e){let t=document.createElement("h1");return t.id="chroma",t.className="chroma-text",t.setAttribute("data-animate","false"),t.textContent=e,t.style.opacity="0",t}function p(e=u,{fadeDuration:t=.35,holdDuration:d=2}={}){let i=document.querySelector("[chroma-slot]");if(!i||!r)return null;let l=a=>{let n=m(a),o=r.timeline({defaults:{ease:"power1.out"}});return o.add(()=>{i.appendChild(n)}),o.to(n,{duration:t,autoAlpha:1,onStart:()=>c()}),o.to(n,{duration:d,autoAlpha:1}),o.to(n,{duration:t,autoAlpha:0}),o.add(()=>{n.remove()}),o},s=r.timeline({repeat:-1});return e.forEach(a=>s.add(l(a))),s}document.addEventListener("DOMContentLoaded",()=>{p()});})();
1
+ "use strict";(()=>{var r=window.gsap,m=["AI Platform for Online Selling","Hyperlocal Commerce","Omnichannel POS","Supply Chain Management","Catalogue Enrichment","Product Photoshoot"];function u(){let e=document.getElementById("chroma");e&&(e.setAttribute("data-animate","false"),e.offsetWidth,e.setAttribute("data-animate","true"))}function c(e){let t=document.createElement("h1");return t.id="chroma",t.className="chroma-text",t.setAttribute("data-animate","false"),t.textContent=e,t.style.opacity="0",t}function p(e=m,{fadeDuration:t=.35,holdDuration:d=2}={}){let i=document.querySelector("[chroma-slot]");if(!i||!r)return null;let l=a=>{let n=c(a),o=r.timeline({defaults:{ease:"power1.out"}});return o.add(()=>{i.appendChild(n)}),o.to(n,{duration:t,autoAlpha:1,onStart:()=>u()}),o.to(n,{duration:d,autoAlpha:1}),o.to(n,{duration:t,autoAlpha:0}),o.add(()=>{n.remove()}),o},s=r.timeline({repeat:-1});return e.forEach(a=>s.add(l(a))),s}document.addEventListener("DOMContentLoaded",()=>{p()});})();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fynd-design-engineering/fynd-one-v2",
3
- "version": "3.3.8",
3
+ "version": "3.3.9",
4
4
  "description": "Updated CDN for fynd.com",
5
5
  "homepage": "https://github.com/Fynd-Design-Engineering/Fynd-Utils/blob/main/README.md",
6
6
  "license": "ISC",