@tsparticles/slim 4.2.1 → 4.3.1
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/README.md +3 -9
- package/browser/index.js +1 -1
- package/browser/index.lazy.js +1 -1
- package/cjs/index.js +1 -1
- package/cjs/index.lazy.js +1 -1
- package/esm/index.js +1 -1
- package/esm/index.lazy.js +1 -1
- package/package.json +29 -29
- package/report.html +1 -1
- package/tsparticles.slim.bundle.js +354 -671
- package/tsparticles.slim.bundle.min.js +1 -1
- package/tsparticles.slim.js +2 -2
- package/tsparticles.slim.min.js +1 -1
package/README.md
CHANGED
|
@@ -138,9 +138,7 @@ Once the scripts are loaded you can set up `tsParticles` like this:
|
|
|
138
138
|
|
|
139
139
|
await tsParticles.load({
|
|
140
140
|
id: "tsparticles",
|
|
141
|
-
options: {
|
|
142
|
-
/* options */
|
|
143
|
-
},
|
|
141
|
+
options: {/* options */},
|
|
144
142
|
});
|
|
145
143
|
})();
|
|
146
144
|
```
|
|
@@ -224,9 +222,7 @@ async function particlesInit(engine: Engine) {
|
|
|
224
222
|
```
|
|
225
223
|
|
|
226
224
|
```ts
|
|
227
|
-
const options = {
|
|
228
|
-
/* custom options */
|
|
229
|
-
};
|
|
225
|
+
const options = {/* custom options */};
|
|
230
226
|
|
|
231
227
|
async function particlesInit(engine: Engine): void {
|
|
232
228
|
await loadSlim(engine);
|
|
@@ -245,9 +241,7 @@ async function particlesInit(engine: Engine): void {
|
|
|
245
241
|
```
|
|
246
242
|
|
|
247
243
|
```js
|
|
248
|
-
let options = {
|
|
249
|
-
/* custom options */
|
|
250
|
-
};
|
|
244
|
+
let options = {/* custom options */};
|
|
251
245
|
|
|
252
246
|
let particlesInit = async engine => {
|
|
253
247
|
await loadSlim(engine);
|
package/browser/index.js
CHANGED
|
@@ -26,7 +26,7 @@ import { loadRotateUpdater } from "@tsparticles/updater-rotate";
|
|
|
26
26
|
import { loadSquareShape } from "@tsparticles/shape-square";
|
|
27
27
|
import { loadStarShape } from "@tsparticles/shape-star";
|
|
28
28
|
export async function loadSlim(engine) {
|
|
29
|
-
engine.checkVersion("4.
|
|
29
|
+
engine.checkVersion("4.3.1");
|
|
30
30
|
await engine.pluginManager.register(async (e) => {
|
|
31
31
|
const loadInteractivityForSlim = async (e) => {
|
|
32
32
|
await loadInteractivityPlugin(e);
|
package/browser/index.lazy.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export async function loadSlim(engine) {
|
|
2
|
-
engine.checkVersion("4.
|
|
2
|
+
engine.checkVersion("4.3.1");
|
|
3
3
|
await engine.pluginManager.register(async (e) => {
|
|
4
4
|
const [{ loadBasic }, { loadExternalParallaxInteraction }, { loadExternalAttractInteraction }, { loadExternalBounceInteraction }, { loadExternalBubbleInteraction }, { loadExternalConnectInteraction }, { loadExternalDestroyInteraction }, { loadExternalGrabInteraction }, { loadExternalPauseInteraction }, { loadExternalPushInteraction }, { loadExternalRemoveInteraction }, { loadExternalRepulseInteraction }, { loadExternalSlowInteraction }, { loadParticlesAttractInteraction }, { loadParticlesCollisionsInteraction }, { loadParticlesLinksInteraction }, { loadEasingQuadPlugin }, { loadInteractivityPlugin }, { loadEmojiShape }, { loadImageShape }, { loadLineShape }, { loadPolygonShape }, { loadSquareShape }, { loadStarShape }, { loadLifeUpdater }, { loadPaintUpdater }, { loadRotateUpdater },] = await Promise.all([
|
|
5
5
|
import("@tsparticles/basic/lazy"),
|
package/cjs/index.js
CHANGED
|
@@ -26,7 +26,7 @@ import { loadRotateUpdater } from "@tsparticles/updater-rotate";
|
|
|
26
26
|
import { loadSquareShape } from "@tsparticles/shape-square";
|
|
27
27
|
import { loadStarShape } from "@tsparticles/shape-star";
|
|
28
28
|
export async function loadSlim(engine) {
|
|
29
|
-
engine.checkVersion("4.
|
|
29
|
+
engine.checkVersion("4.3.1");
|
|
30
30
|
await engine.pluginManager.register(async (e) => {
|
|
31
31
|
const loadInteractivityForSlim = async (e) => {
|
|
32
32
|
await loadInteractivityPlugin(e);
|
package/cjs/index.lazy.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export async function loadSlim(engine) {
|
|
2
|
-
engine.checkVersion("4.
|
|
2
|
+
engine.checkVersion("4.3.1");
|
|
3
3
|
await engine.pluginManager.register(async (e) => {
|
|
4
4
|
const [{ loadBasic }, { loadExternalParallaxInteraction }, { loadExternalAttractInteraction }, { loadExternalBounceInteraction }, { loadExternalBubbleInteraction }, { loadExternalConnectInteraction }, { loadExternalDestroyInteraction }, { loadExternalGrabInteraction }, { loadExternalPauseInteraction }, { loadExternalPushInteraction }, { loadExternalRemoveInteraction }, { loadExternalRepulseInteraction }, { loadExternalSlowInteraction }, { loadParticlesAttractInteraction }, { loadParticlesCollisionsInteraction }, { loadParticlesLinksInteraction }, { loadEasingQuadPlugin }, { loadInteractivityPlugin }, { loadEmojiShape }, { loadImageShape }, { loadLineShape }, { loadPolygonShape }, { loadSquareShape }, { loadStarShape }, { loadLifeUpdater }, { loadPaintUpdater }, { loadRotateUpdater },] = await Promise.all([
|
|
5
5
|
import("@tsparticles/basic/lazy"),
|
package/esm/index.js
CHANGED
|
@@ -26,7 +26,7 @@ import { loadRotateUpdater } from "@tsparticles/updater-rotate";
|
|
|
26
26
|
import { loadSquareShape } from "@tsparticles/shape-square";
|
|
27
27
|
import { loadStarShape } from "@tsparticles/shape-star";
|
|
28
28
|
export async function loadSlim(engine) {
|
|
29
|
-
engine.checkVersion("4.
|
|
29
|
+
engine.checkVersion("4.3.1");
|
|
30
30
|
await engine.pluginManager.register(async (e) => {
|
|
31
31
|
const loadInteractivityForSlim = async (e) => {
|
|
32
32
|
await loadInteractivityPlugin(e);
|
package/esm/index.lazy.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export async function loadSlim(engine) {
|
|
2
|
-
engine.checkVersion("4.
|
|
2
|
+
engine.checkVersion("4.3.1");
|
|
3
3
|
await engine.pluginManager.register(async (e) => {
|
|
4
4
|
const [{ loadBasic }, { loadExternalParallaxInteraction }, { loadExternalAttractInteraction }, { loadExternalBounceInteraction }, { loadExternalBubbleInteraction }, { loadExternalConnectInteraction }, { loadExternalDestroyInteraction }, { loadExternalGrabInteraction }, { loadExternalPauseInteraction }, { loadExternalPushInteraction }, { loadExternalRemoveInteraction }, { loadExternalRepulseInteraction }, { loadExternalSlowInteraction }, { loadParticlesAttractInteraction }, { loadParticlesCollisionsInteraction }, { loadParticlesLinksInteraction }, { loadEasingQuadPlugin }, { loadInteractivityPlugin }, { loadEmojiShape }, { loadImageShape }, { loadLineShape }, { loadPolygonShape }, { loadSquareShape }, { loadStarShape }, { loadLifeUpdater }, { loadPaintUpdater }, { loadRotateUpdater },] = await Promise.all([
|
|
5
5
|
import("@tsparticles/basic/lazy"),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tsparticles/slim",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.3.1",
|
|
4
4
|
"description": "Slim tsParticles bundle — core engine with essential plugins, presets, and interactions for lightweight particle animations. Ready to use components available for React, Vue.js (2.x and 3.x), Angular, Svelte, jQuery, Preact, Riot.js, Inferno.",
|
|
5
5
|
"homepage": "https://particles.js.org",
|
|
6
6
|
"repository": {
|
|
@@ -105,34 +105,34 @@
|
|
|
105
105
|
"./package.json": "./package.json"
|
|
106
106
|
},
|
|
107
107
|
"dependencies": {
|
|
108
|
-
"@tsparticles/basic": "4.
|
|
109
|
-
"@tsparticles/engine": "4.
|
|
110
|
-
"@tsparticles/interaction-external-attract": "4.
|
|
111
|
-
"@tsparticles/interaction-external-bounce": "4.
|
|
112
|
-
"@tsparticles/interaction-external-bubble": "4.
|
|
113
|
-
"@tsparticles/interaction-external-connect": "4.
|
|
114
|
-
"@tsparticles/interaction-external-destroy": "4.
|
|
115
|
-
"@tsparticles/interaction-external-grab": "4.
|
|
116
|
-
"@tsparticles/interaction-external-parallax": "4.
|
|
117
|
-
"@tsparticles/interaction-external-pause": "4.
|
|
118
|
-
"@tsparticles/interaction-external-push": "4.
|
|
119
|
-
"@tsparticles/interaction-external-remove": "4.
|
|
120
|
-
"@tsparticles/interaction-external-repulse": "4.
|
|
121
|
-
"@tsparticles/interaction-external-slow": "4.
|
|
122
|
-
"@tsparticles/interaction-particles-attract": "4.
|
|
123
|
-
"@tsparticles/interaction-particles-collisions": "4.
|
|
124
|
-
"@tsparticles/interaction-particles-links": "4.
|
|
125
|
-
"@tsparticles/plugin-easing-quad": "4.
|
|
126
|
-
"@tsparticles/plugin-interactivity": "4.
|
|
127
|
-
"@tsparticles/shape-emoji": "4.
|
|
128
|
-
"@tsparticles/shape-image": "4.
|
|
129
|
-
"@tsparticles/shape-line": "4.
|
|
130
|
-
"@tsparticles/shape-polygon": "4.
|
|
131
|
-
"@tsparticles/shape-square": "4.
|
|
132
|
-
"@tsparticles/shape-star": "4.
|
|
133
|
-
"@tsparticles/updater-life": "4.
|
|
134
|
-
"@tsparticles/updater-paint": "4.
|
|
135
|
-
"@tsparticles/updater-rotate": "4.
|
|
108
|
+
"@tsparticles/basic": "4.3.1",
|
|
109
|
+
"@tsparticles/engine": "4.3.1",
|
|
110
|
+
"@tsparticles/interaction-external-attract": "4.3.1",
|
|
111
|
+
"@tsparticles/interaction-external-bounce": "4.3.1",
|
|
112
|
+
"@tsparticles/interaction-external-bubble": "4.3.1",
|
|
113
|
+
"@tsparticles/interaction-external-connect": "4.3.1",
|
|
114
|
+
"@tsparticles/interaction-external-destroy": "4.3.1",
|
|
115
|
+
"@tsparticles/interaction-external-grab": "4.3.1",
|
|
116
|
+
"@tsparticles/interaction-external-parallax": "4.3.1",
|
|
117
|
+
"@tsparticles/interaction-external-pause": "4.3.1",
|
|
118
|
+
"@tsparticles/interaction-external-push": "4.3.1",
|
|
119
|
+
"@tsparticles/interaction-external-remove": "4.3.1",
|
|
120
|
+
"@tsparticles/interaction-external-repulse": "4.3.1",
|
|
121
|
+
"@tsparticles/interaction-external-slow": "4.3.1",
|
|
122
|
+
"@tsparticles/interaction-particles-attract": "4.3.1",
|
|
123
|
+
"@tsparticles/interaction-particles-collisions": "4.3.1",
|
|
124
|
+
"@tsparticles/interaction-particles-links": "4.3.1",
|
|
125
|
+
"@tsparticles/plugin-easing-quad": "4.3.1",
|
|
126
|
+
"@tsparticles/plugin-interactivity": "4.3.1",
|
|
127
|
+
"@tsparticles/shape-emoji": "4.3.1",
|
|
128
|
+
"@tsparticles/shape-image": "4.3.1",
|
|
129
|
+
"@tsparticles/shape-line": "4.3.1",
|
|
130
|
+
"@tsparticles/shape-polygon": "4.3.1",
|
|
131
|
+
"@tsparticles/shape-square": "4.3.1",
|
|
132
|
+
"@tsparticles/shape-star": "4.3.1",
|
|
133
|
+
"@tsparticles/updater-life": "4.3.1",
|
|
134
|
+
"@tsparticles/updater-paint": "4.3.1",
|
|
135
|
+
"@tsparticles/updater-rotate": "4.3.1"
|
|
136
136
|
},
|
|
137
137
|
"publishConfig": {
|
|
138
138
|
"access": "public"
|