@fynd-design-engineering/fynd-one-v2 3.3.9 → 3.3.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.
@@ -1 +1 @@
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()});})();
1
+ "use strict";(()=>{var r=window.gsap,m=["Online Selling","Omnichannel POS","Quick Commerce","Order Management","Supply Chain","Enriched Catalog","Photoshoot","Retail Insights"];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 h(e=m,{fadeDuration:t=.35,holdDuration:d=3}={}){let i=document.querySelector("[chroma-slot]");if(!i||!r)return null;let l=a=>{let o=c(a),n=r.timeline({defaults:{ease:"power1.out"}});return n.add(()=>{i.appendChild(o)}),n.to(o,{duration:t,autoAlpha:1,onStart:()=>u()}),n.to(o,{duration:d,autoAlpha:1}),n.to(o,{duration:t,autoAlpha:0}),n.add(()=>{o.remove()}),n},s=r.timeline({repeat:-1});return e.forEach(a=>s.add(l(a))),s}document.addEventListener("DOMContentLoaded",()=>{h()});})();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fynd-design-engineering/fynd-one-v2",
3
- "version": "3.3.9",
3
+ "version": "3.3.11",
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",