@tsparticles/confetti
Advanced tools
Comparing version 3.4.0 to 3.5.0
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.confetti = void 0; | ||
exports.confetti = confetti; | ||
const engine_1 = require("@tsparticles/engine"); | ||
@@ -326,3 +326,2 @@ const plugin_emitters_1 = require("@tsparticles/plugin-emitters"); | ||
} | ||
exports.confetti = confetti; | ||
confetti.create = async (canvas, options) => { | ||
@@ -329,0 +328,0 @@ if (!canvas) { |
{ | ||
"name": "@tsparticles/confetti", | ||
"version": "3.4.0", | ||
"version": "3.5.0", | ||
"description": "Easily create highly customizable particle animations and use them as animated backgrounds for your website. Ready to use components available also for React, Vue.js (2.x and 3.x), Angular, Svelte, jQuery, Preact, Riot.js, Inferno.", | ||
@@ -102,18 +102,18 @@ "homepage": "https://particles.js.org", | ||
"dependencies": { | ||
"@tsparticles/basic": "^3.4.0", | ||
"@tsparticles/engine": "^3.4.0", | ||
"@tsparticles/plugin-emitters": "^3.4.0", | ||
"@tsparticles/plugin-motion": "^3.4.0", | ||
"@tsparticles/shape-cards": "^3.4.0", | ||
"@tsparticles/shape-emoji": "^3.4.0", | ||
"@tsparticles/shape-heart": "^3.4.0", | ||
"@tsparticles/shape-image": "^3.4.0", | ||
"@tsparticles/shape-polygon": "^3.4.0", | ||
"@tsparticles/shape-square": "^3.4.0", | ||
"@tsparticles/shape-star": "^3.4.0", | ||
"@tsparticles/updater-life": "^3.4.0", | ||
"@tsparticles/updater-roll": "^3.4.0", | ||
"@tsparticles/updater-rotate": "^3.4.0", | ||
"@tsparticles/updater-tilt": "^3.4.0", | ||
"@tsparticles/updater-wobble": "^3.4.0" | ||
"@tsparticles/basic": "^3.5.0", | ||
"@tsparticles/engine": "^3.5.0", | ||
"@tsparticles/plugin-emitters": "^3.5.0", | ||
"@tsparticles/plugin-motion": "^3.5.0", | ||
"@tsparticles/shape-cards": "^3.5.0", | ||
"@tsparticles/shape-emoji": "^3.5.0", | ||
"@tsparticles/shape-heart": "^3.5.0", | ||
"@tsparticles/shape-image": "^3.5.0", | ||
"@tsparticles/shape-polygon": "^3.5.0", | ||
"@tsparticles/shape-square": "^3.5.0", | ||
"@tsparticles/shape-star": "^3.5.0", | ||
"@tsparticles/updater-life": "^3.5.0", | ||
"@tsparticles/updater-roll": "^3.5.0", | ||
"@tsparticles/updater-rotate": "^3.5.0", | ||
"@tsparticles/updater-tilt": "^3.5.0", | ||
"@tsparticles/updater-wobble": "^3.5.0" | ||
}, | ||
@@ -120,0 +120,0 @@ "publishConfig": { |
@@ -1,1 +0,1 @@ | ||
/*! tsParticles Confetti v3.4.0 by Matteo Bruni */ | ||
/*! tsParticles Confetti v3.5.0 by Matteo Bruni */ |
@@ -7,3 +7,3 @@ /*! | ||
* How to use? : Check the GitHub README | ||
* v3.4.0 | ||
* v3.5.0 | ||
*/ | ||
@@ -10,0 +10,0 @@ /* |
/*! For license information please see tsparticles.confetti.min.js.LICENSE.txt */ | ||
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("@tsparticles/engine"),require("@tsparticles/plugin-emitters"),require("@tsparticles/basic"),require("@tsparticles/shape-cards"),require("@tsparticles/shape-emoji"),require("@tsparticles/shape-heart"),require("@tsparticles/shape-image"),require("@tsparticles/updater-life"),require("@tsparticles/plugin-motion"),require("@tsparticles/shape-polygon"),require("@tsparticles/updater-roll"),require("@tsparticles/updater-rotate"),require("@tsparticles/shape-square"),require("@tsparticles/shape-star"),require("@tsparticles/updater-tilt"),require("@tsparticles/updater-wobble"));else if("function"==typeof define&&define.amd)define(["@tsparticles/engine","@tsparticles/plugin-emitters","@tsparticles/basic","@tsparticles/shape-cards","@tsparticles/shape-emoji","@tsparticles/shape-heart","@tsparticles/shape-image","@tsparticles/updater-life","@tsparticles/plugin-motion","@tsparticles/shape-polygon","@tsparticles/updater-roll","@tsparticles/updater-rotate","@tsparticles/shape-square","@tsparticles/shape-star","@tsparticles/updater-tilt","@tsparticles/updater-wobble"],t);else{var i="object"==typeof exports?t(require("@tsparticles/engine"),require("@tsparticles/plugin-emitters"),require("@tsparticles/basic"),require("@tsparticles/shape-cards"),require("@tsparticles/shape-emoji"),require("@tsparticles/shape-heart"),require("@tsparticles/shape-image"),require("@tsparticles/updater-life"),require("@tsparticles/plugin-motion"),require("@tsparticles/shape-polygon"),require("@tsparticles/updater-roll"),require("@tsparticles/updater-rotate"),require("@tsparticles/shape-square"),require("@tsparticles/shape-star"),require("@tsparticles/updater-tilt"),require("@tsparticles/updater-wobble")):t(e.window,e.window,e.window,e.window,e.window,e.window,e.window,e.window,e.window,e.window,e.window,e.window,e.window,e.window,e.window,e.window);for(var a in i)("object"==typeof exports?exports:e)[a]=i[a]}}(this,((e,t,i,a,s,r,o,n,l,p,d,c,u,h,f,m)=>(()=>{var y={145:e=>{e.exports=i},303:t=>{t.exports=e},526:e=>{e.exports=t},235:e=>{e.exports=l},720:e=>{e.exports=a},109:e=>{e.exports=s},899:e=>{e.exports=r},162:e=>{e.exports=o},73:e=>{e.exports=p},400:e=>{e.exports=u},29:e=>{e.exports=h},75:e=>{e.exports=n},544:e=>{e.exports=d},668:e=>{e.exports=c},844:e=>{e.exports=f},238:e=>{e.exports=m}},v={};function w(e){var t=v[e];if(void 0!==t)return t.exports;var i=v[e]={exports:{}};return y[e](i,i.exports,w),i.exports}w.d=(e,t)=>{for(var i in t)w.o(t,i)&&!w.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},w.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),w.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var x={};return(()=>{w.r(x),w.d(x,{confetti:()=>k});var e=w(303),t=w(526);class i{constructor(){this.angle=90,this.count=50,this.spread=45,this.startVelocity=45,this.decay=.9,this.gravity=1,this.drift=0,this.ticks=200,this.position={x:50,y:50},this.colors=["#26ccff","#a25afd","#ff5e7e","#88ff5a","#fcff42","#ffa62d","#ff36ff"],this.shapes=["square","circle"],this.scalar=1,this.zIndex=100,this.disableForReducedMotion=!0,this.flat=!1,this.shapeOptions={}}get origin(){return{x:this.position.x/e.percentDenominator,y:this.position.y/e.percentDenominator}}set origin(t){this.position.x=t.x*e.percentDenominator,this.position.y=t.y*e.percentDenominator}get particleCount(){return this.count}set particleCount(e){this.count=e}load(t){if(!t)return;void 0!==t.angle&&(this.angle=t.angle);const i=t.count??t.particleCount;void 0!==i&&(this.count=i),void 0!==t.spread&&(this.spread=t.spread),void 0!==t.startVelocity&&(this.startVelocity=t.startVelocity),void 0!==t.decay&&(this.decay=t.decay),void 0!==t.flat&&(this.flat=t.flat),void 0!==t.gravity&&(this.gravity=t.gravity),void 0!==t.drift&&(this.drift=t.drift),void 0!==t.ticks&&(this.ticks=t.ticks);const a=t.origin;a&&!t.position&&(t.position={x:void 0!==a.x?a.x*e.percentDenominator:void 0,y:void 0!==a.y?a.y*e.percentDenominator:void 0});const s=t.position;s&&(void 0!==s.x&&(this.position.x=s.x),void 0!==s.y&&(this.position.y=s.y)),void 0!==t.colors&&((0,e.isArray)(t.colors)?this.colors=[...t.colors]:this.colors=t.colors);const r=t.shapeOptions;if(void 0!==r)for(const t in r){const i=r[t];i&&(this.shapeOptions[t]=(0,e.deepExtend)(this.shapeOptions[t]??{},i))}void 0!==t.shapes&&((0,e.isArray)(t.shapes)?this.shapes=[...t.shapes]:this.shapes=t.shapes),void 0!==t.scalar&&(this.scalar=t.scalar),void 0!==t.zIndex&&(this.zIndex=t.zIndex),void 0!==t.disableForReducedMotion&&(this.disableForReducedMotion=t.disableForReducedMotion)}}var a=w(145),s=w(720),r=w(109),o=w(899),n=w(162),l=w(75),p=w(235),d=w(73),c=w(544),u=w(668),h=w(400),f=w(29),m=w(844),y=w(238);const v=9.81,b=5,g=3,q=1,S=0,P=0;let j=!1,O=!1;const z=new Map;async function M(e){if(!j){if(O)return new Promise((e=>{const t=setInterval((()=>{j&&(clearInterval(t),e())}),100)}));O=!0,await(0,t.loadEmittersPlugin)(e,!1),await(0,p.loadMotionPlugin)(e,!1),await(0,s.loadCardsShape)(e,!1),await(0,o.loadHeartShape)(e,!1),await(0,n.loadImageShape)(e,!1),await(0,d.loadPolygonShape)(e,!1),await(0,h.loadSquareShape)(e,!1),await(0,f.loadStarShape)(e,!1),await(0,r.loadEmojiShape)(e,!1),await(0,u.loadRotateUpdater)(e,!1),await(0,l.loadLifeUpdater)(e,!1),await(0,c.loadRollUpdater)(e,!1),await(0,m.loadTiltUpdater)(e,!1),await(0,y.loadWobbleUpdater)(e,!1),await(0,a.loadBasic)(e),O=!1,j=!0}}async function I(t){const a=new i;let s;a.load(t.options);const r=a.ticks*e.millisecondsToSeconds/(3.6*e.millisecondsToSeconds*120);if(z.has(t.id)&&(s=z.get(t.id),s&&!s.destroyed)){const e=s;if(e.addEmitter)return void await e.addEmitter({startCount:a.count,position:a.position,size:{width:0,height:0},rate:{delay:0,quantity:0},life:{duration:.1,count:1},particles:{color:{value:a.colors},shape:{type:a.shapes,options:a.shapeOptions},life:{count:1},opacity:{value:{min:0,max:1},animation:{enable:!0,sync:!0,speed:r,startValue:"max",destroy:"min"}},size:{value:b*a.scalar},move:{angle:{value:a.spread,offset:0},drift:{min:-a.drift,max:a.drift},gravity:{acceleration:a.gravity*v},speed:a.startVelocity*g,decay:q-a.decay,direction:-a.angle},rotate:{value:a.flat?S:{min:0,max:360},direction:"random",animation:{enable:!a.flat,speed:60}},tilt:{direction:"random",enable:!a.flat,value:a.flat?P:{min:0,max:360},animation:{enable:!0,speed:60}},roll:{darken:{enable:!0,value:25},enable:!a.flat,speed:{min:15,max:25}},wobble:{distance:30,enable:!a.flat,speed:{min:-15,max:15}}}})}const o={fullScreen:{enable:!t.canvas,zIndex:a.zIndex},fpsLimit:120,particles:{number:{value:0},color:{value:a.colors},shape:{type:a.shapes,options:a.shapeOptions},opacity:{value:{min:0,max:1},animation:{enable:!0,sync:!0,speed:r,startValue:"max",destroy:"min"}},size:{value:b*a.scalar},links:{enable:!1},life:{count:1},move:{angle:{value:a.spread,offset:0},drift:{min:-a.drift,max:a.drift},enable:!0,gravity:{enable:!0,acceleration:a.gravity*v},speed:a.startVelocity*g,decay:q-a.decay,direction:-a.angle,random:!0,straight:!1,outModes:{default:"none",bottom:"destroy"}},rotate:{value:a.flat?S:{min:0,max:360},direction:"random",animation:{enable:!a.flat,speed:60}},tilt:{direction:"random",enable:!a.flat,value:a.flat?P:{min:0,max:360},animation:{enable:!0,speed:60}},roll:{darken:{enable:!0,value:25},enable:!a.flat,speed:{min:15,max:25}},wobble:{distance:30,enable:!a.flat,speed:{min:-15,max:15}}},detectRetina:!0,motion:{disable:a.disableForReducedMotion},emitters:{name:"confetti",startCount:a.count,position:a.position,size:{width:0,height:0},rate:{delay:0,quantity:0},life:{duration:.1,count:1}}};return s=await e.tsParticles.load({id:t.id,element:t.canvas,options:o}),z.set(t.id,s),s}async function k(t,i){let a,s;return await M(e.tsParticles),(0,e.isString)(t)?(s=t,a=i??{}):(s="confetti",a=t),I({id:s,options:a})}k.create=async(t,i)=>{if(!t)return k;await M(e.tsParticles);const a=t.getAttribute("id")??"confetti";return t.setAttribute("id",a),async(s,r)=>{let o,n;return(0,e.isString)(s)?(n=s,o=r??i):(n=a,o=s),I({id:n,canvas:t,options:o})}},k.init=async()=>{await M(e.tsParticles)},k.version=e.tsParticles.version,(0,e.isSsr)()||(window.confetti=k)})(),x})())); | ||
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("@tsparticles/engine"),require("@tsparticles/plugin-emitters"),require("@tsparticles/basic"),require("@tsparticles/shape-cards"),require("@tsparticles/shape-emoji"),require("@tsparticles/shape-heart"),require("@tsparticles/shape-image"),require("@tsparticles/updater-life"),require("@tsparticles/plugin-motion"),require("@tsparticles/shape-polygon"),require("@tsparticles/updater-roll"),require("@tsparticles/updater-rotate"),require("@tsparticles/shape-square"),require("@tsparticles/shape-star"),require("@tsparticles/updater-tilt"),require("@tsparticles/updater-wobble"));else if("function"==typeof define&&define.amd)define(["@tsparticles/engine","@tsparticles/plugin-emitters","@tsparticles/basic","@tsparticles/shape-cards","@tsparticles/shape-emoji","@tsparticles/shape-heart","@tsparticles/shape-image","@tsparticles/updater-life","@tsparticles/plugin-motion","@tsparticles/shape-polygon","@tsparticles/updater-roll","@tsparticles/updater-rotate","@tsparticles/shape-square","@tsparticles/shape-star","@tsparticles/updater-tilt","@tsparticles/updater-wobble"],t);else{var i="object"==typeof exports?t(require("@tsparticles/engine"),require("@tsparticles/plugin-emitters"),require("@tsparticles/basic"),require("@tsparticles/shape-cards"),require("@tsparticles/shape-emoji"),require("@tsparticles/shape-heart"),require("@tsparticles/shape-image"),require("@tsparticles/updater-life"),require("@tsparticles/plugin-motion"),require("@tsparticles/shape-polygon"),require("@tsparticles/updater-roll"),require("@tsparticles/updater-rotate"),require("@tsparticles/shape-square"),require("@tsparticles/shape-star"),require("@tsparticles/updater-tilt"),require("@tsparticles/updater-wobble")):t(e.window,e.window,e.window,e.window,e.window,e.window,e.window,e.window,e.window,e.window,e.window,e.window,e.window,e.window,e.window,e.window);for(var a in i)("object"==typeof exports?exports:e)[a]=i[a]}}(this,((e,t,i,a,s,r,o,n,l,p,d,c,u,h,f,m)=>(()=>{var y={145:e=>{e.exports=i},303:t=>{t.exports=e},526:e=>{e.exports=t},235:e=>{e.exports=l},720:e=>{e.exports=a},109:e=>{e.exports=s},899:e=>{e.exports=r},162:e=>{e.exports=o},73:e=>{e.exports=p},400:e=>{e.exports=u},29:e=>{e.exports=h},75:e=>{e.exports=n},544:e=>{e.exports=d},668:e=>{e.exports=c},844:e=>{e.exports=f},238:e=>{e.exports=m}},v={};function w(e){var t=v[e];if(void 0!==t)return t.exports;var i=v[e]={exports:{}};return y[e](i,i.exports,w),i.exports}w.d=(e,t)=>{for(var i in t)w.o(t,i)&&!w.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},w.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),w.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var x={};w.r(x),w.d(x,{confetti:()=>N});var b=w(303),g=w(526);class q{constructor(){this.angle=90,this.count=50,this.spread=45,this.startVelocity=45,this.decay=.9,this.gravity=1,this.drift=0,this.ticks=200,this.position={x:50,y:50},this.colors=["#26ccff","#a25afd","#ff5e7e","#88ff5a","#fcff42","#ffa62d","#ff36ff"],this.shapes=["square","circle"],this.scalar=1,this.zIndex=100,this.disableForReducedMotion=!0,this.flat=!1,this.shapeOptions={}}get origin(){return{x:this.position.x/b.percentDenominator,y:this.position.y/b.percentDenominator}}set origin(e){this.position.x=e.x*b.percentDenominator,this.position.y=e.y*b.percentDenominator}get particleCount(){return this.count}set particleCount(e){this.count=e}load(e){if(!e)return;void 0!==e.angle&&(this.angle=e.angle);const t=e.count??e.particleCount;void 0!==t&&(this.count=t),void 0!==e.spread&&(this.spread=e.spread),void 0!==e.startVelocity&&(this.startVelocity=e.startVelocity),void 0!==e.decay&&(this.decay=e.decay),void 0!==e.flat&&(this.flat=e.flat),void 0!==e.gravity&&(this.gravity=e.gravity),void 0!==e.drift&&(this.drift=e.drift),void 0!==e.ticks&&(this.ticks=e.ticks);const i=e.origin;i&&!e.position&&(e.position={x:void 0!==i.x?i.x*b.percentDenominator:void 0,y:void 0!==i.y?i.y*b.percentDenominator:void 0});const a=e.position;a&&(void 0!==a.x&&(this.position.x=a.x),void 0!==a.y&&(this.position.y=a.y)),void 0!==e.colors&&((0,b.isArray)(e.colors)?this.colors=[...e.colors]:this.colors=e.colors);const s=e.shapeOptions;if(void 0!==s)for(const e in s){const t=s[e];t&&(this.shapeOptions[e]=(0,b.deepExtend)(this.shapeOptions[e]??{},t))}void 0!==e.shapes&&((0,b.isArray)(e.shapes)?this.shapes=[...e.shapes]:this.shapes=e.shapes),void 0!==e.scalar&&(this.scalar=e.scalar),void 0!==e.zIndex&&(this.zIndex=e.zIndex),void 0!==e.disableForReducedMotion&&(this.disableForReducedMotion=e.disableForReducedMotion)}}var S=w(145),P=w(720),j=w(109),O=w(899),z=w(162),M=w(75),I=w(235),k=w(73),R=w(544),V=w(668),C=w(400),D=w(29),E=w(844),F=w(238);const T=9.81,U=5,A=3,L=1,_=0,B=0;let H=!1,W=!1;const G=new Map;async function J(e){if(!H){if(W)return new Promise((e=>{const t=setInterval((()=>{H&&(clearInterval(t),e())}),100)}));W=!0,await(0,g.loadEmittersPlugin)(e,!1),await(0,I.loadMotionPlugin)(e,!1),await(0,P.loadCardsShape)(e,!1),await(0,O.loadHeartShape)(e,!1),await(0,z.loadImageShape)(e,!1),await(0,k.loadPolygonShape)(e,!1),await(0,C.loadSquareShape)(e,!1),await(0,D.loadStarShape)(e,!1),await(0,j.loadEmojiShape)(e,!1),await(0,V.loadRotateUpdater)(e,!1),await(0,M.loadLifeUpdater)(e,!1),await(0,R.loadRollUpdater)(e,!1),await(0,E.loadTiltUpdater)(e,!1),await(0,F.loadWobbleUpdater)(e,!1),await(0,S.loadBasic)(e),W=!1,H=!0}}async function K(e){const t=new q;let i;t.load(e.options);const a=t.ticks*b.millisecondsToSeconds/(3.6*b.millisecondsToSeconds*120);if(G.has(e.id)&&(i=G.get(e.id),i&&!i.destroyed)){const e=i;if(e.addEmitter)return void await e.addEmitter({startCount:t.count,position:t.position,size:{width:0,height:0},rate:{delay:0,quantity:0},life:{duration:.1,count:1},particles:{color:{value:t.colors},shape:{type:t.shapes,options:t.shapeOptions},life:{count:1},opacity:{value:{min:0,max:1},animation:{enable:!0,sync:!0,speed:a,startValue:"max",destroy:"min"}},size:{value:U*t.scalar},move:{angle:{value:t.spread,offset:0},drift:{min:-t.drift,max:t.drift},gravity:{acceleration:t.gravity*T},speed:t.startVelocity*A,decay:L-t.decay,direction:-t.angle},rotate:{value:t.flat?_:{min:0,max:360},direction:"random",animation:{enable:!t.flat,speed:60}},tilt:{direction:"random",enable:!t.flat,value:t.flat?B:{min:0,max:360},animation:{enable:!0,speed:60}},roll:{darken:{enable:!0,value:25},enable:!t.flat,speed:{min:15,max:25}},wobble:{distance:30,enable:!t.flat,speed:{min:-15,max:15}}}})}const s={fullScreen:{enable:!e.canvas,zIndex:t.zIndex},fpsLimit:120,particles:{number:{value:0},color:{value:t.colors},shape:{type:t.shapes,options:t.shapeOptions},opacity:{value:{min:0,max:1},animation:{enable:!0,sync:!0,speed:a,startValue:"max",destroy:"min"}},size:{value:U*t.scalar},links:{enable:!1},life:{count:1},move:{angle:{value:t.spread,offset:0},drift:{min:-t.drift,max:t.drift},enable:!0,gravity:{enable:!0,acceleration:t.gravity*T},speed:t.startVelocity*A,decay:L-t.decay,direction:-t.angle,random:!0,straight:!1,outModes:{default:"none",bottom:"destroy"}},rotate:{value:t.flat?_:{min:0,max:360},direction:"random",animation:{enable:!t.flat,speed:60}},tilt:{direction:"random",enable:!t.flat,value:t.flat?B:{min:0,max:360},animation:{enable:!0,speed:60}},roll:{darken:{enable:!0,value:25},enable:!t.flat,speed:{min:15,max:25}},wobble:{distance:30,enable:!t.flat,speed:{min:-15,max:15}}},detectRetina:!0,motion:{disable:t.disableForReducedMotion},emitters:{name:"confetti",startCount:t.count,position:t.position,size:{width:0,height:0},rate:{delay:0,quantity:0},life:{duration:.1,count:1}}};return i=await b.tsParticles.load({id:e.id,element:e.canvas,options:s}),G.set(e.id,i),i}async function N(e,t){let i,a;return await J(b.tsParticles),(0,b.isString)(e)?(a=e,i=t??{}):(a="confetti",i=e),K({id:a,options:i})}return N.create=async(e,t)=>{if(!e)return N;await J(b.tsParticles);const i=e.getAttribute("id")??"confetti";return e.setAttribute("id",i),async(a,s)=>{let r,o;return(0,b.isString)(a)?(o=a,r=s??t):(o=i,r=a),K({id:o,canvas:e,options:r})}},N.init=async()=>{await J(b.tsParticles)},N.version=b.tsParticles.version,(0,b.isSsr)()||(window.confetti=N),x})())); |
@@ -1,1 +0,1 @@ | ||
/*! tsParticles Confetti v3.4.0 by Matteo Bruni */ | ||
/*! tsParticles Confetti v3.5.0 by Matteo Bruni */ |
@@ -12,3 +12,3 @@ (function (factory) { | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.confetti = void 0; | ||
exports.confetti = confetti; | ||
const engine_1 = require("@tsparticles/engine"); | ||
@@ -336,3 +336,2 @@ const plugin_emitters_1 = require("@tsparticles/plugin-emitters"); | ||
} | ||
exports.confetti = confetti; | ||
confetti.create = async (canvas, options) => { | ||
@@ -339,0 +338,0 @@ if (!canvas) { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1289193
6599
Updated@tsparticles/basic@^3.5.0
Updated@tsparticles/engine@^3.5.0