@tsparticles/slim 3.0.0-beta.4 → 3.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/README.md +1 -1
- package/browser/index.js +2 -4
- package/cjs/index.js +2 -4
- package/esm/index.js +2 -4
- package/package.json +33 -34
- package/report.html +3 -3
- package/tsparticles.slim.bundle.js +155 -279
- package/tsparticles.slim.bundle.min.js +1 -1
- package/tsparticles.slim.bundle.min.js.LICENSE.txt +1 -1
- package/tsparticles.slim.js +18 -29
- package/tsparticles.slim.min.js +1 -1
- package/tsparticles.slim.min.js.LICENSE.txt +1 -1
- package/umd/index.js +3 -5
package/README.md
CHANGED
|
@@ -31,7 +31,7 @@ a `@tsparticles/engine` instance.
|
|
|
31
31
|
- [@tsparticles/shape-polygon](https://github.com/tsparticles/tsparticles/tree/main/shapes/polygon)
|
|
32
32
|
- [@tsparticles/shape-square](https://github.com/tsparticles/tsparticles/tree/main/shapes/square)
|
|
33
33
|
- [@tsparticles/shape-star](https://github.com/tsparticles/tsparticles/tree/main/shapes/star)
|
|
34
|
-
- [@tsparticles/shape-
|
|
34
|
+
- [@tsparticles/shape-emoji](https://github.com/tsparticles/tsparticles/tree/main/shapes/emoji)
|
|
35
35
|
- [@tsparticles/updater-life](https://github.com/tsparticles/tsparticles/tree/main/updaters/life)
|
|
36
36
|
- [@tsparticles/updater-rotate](https://github.com/tsparticles/tsparticles/tree/main/updaters/rotate)
|
|
37
37
|
- [@tsparticles/updater-stroke-color](https://github.com/tsparticles/tsparticles/tree/main/updaters/strokeColor)
|
package/browser/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { initPjs } from "@tsparticles/pjs";
|
|
2
1
|
import { loadBasic } from "@tsparticles/basic";
|
|
3
2
|
import { loadEasingQuadPlugin } from "@tsparticles/plugin-easing-quad";
|
|
3
|
+
import { loadEmojiShape } from "@tsparticles/shape-emoji";
|
|
4
4
|
import { loadExternalAttractInteraction } from "@tsparticles/interaction-external-attract";
|
|
5
5
|
import { loadExternalBounceInteraction } from "@tsparticles/interaction-external-bounce";
|
|
6
6
|
import { loadExternalBubbleInteraction } from "@tsparticles/interaction-external-bubble";
|
|
@@ -23,9 +23,7 @@ import { loadRotateUpdater } from "@tsparticles/updater-rotate";
|
|
|
23
23
|
import { loadSquareShape } from "@tsparticles/shape-square";
|
|
24
24
|
import { loadStarShape } from "@tsparticles/shape-star";
|
|
25
25
|
import { loadStrokeColorUpdater } from "@tsparticles/updater-stroke-color";
|
|
26
|
-
import { loadTextShape } from "@tsparticles/shape-text";
|
|
27
26
|
export async function loadSlim(engine, refresh = true) {
|
|
28
|
-
initPjs(engine);
|
|
29
27
|
await loadParallaxMover(engine, false);
|
|
30
28
|
await loadExternalAttractInteraction(engine, false);
|
|
31
29
|
await loadExternalBounceInteraction(engine, false);
|
|
@@ -41,12 +39,12 @@ export async function loadSlim(engine, refresh = true) {
|
|
|
41
39
|
await loadParticlesCollisionsInteraction(engine, false);
|
|
42
40
|
await loadParticlesLinksInteraction(engine, false);
|
|
43
41
|
await loadEasingQuadPlugin();
|
|
42
|
+
await loadEmojiShape(engine, false);
|
|
44
43
|
await loadImageShape(engine, false);
|
|
45
44
|
await loadLineShape(engine, false);
|
|
46
45
|
await loadPolygonShape(engine, false);
|
|
47
46
|
await loadSquareShape(engine, false);
|
|
48
47
|
await loadStarShape(engine, false);
|
|
49
|
-
await loadTextShape(engine, false);
|
|
50
48
|
await loadLifeUpdater(engine, false);
|
|
51
49
|
await loadRotateUpdater(engine, false);
|
|
52
50
|
await loadStrokeColorUpdater(engine, false);
|
package/cjs/index.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.loadSlim = void 0;
|
|
4
|
-
const pjs_1 = require("@tsparticles/pjs");
|
|
5
4
|
const basic_1 = require("@tsparticles/basic");
|
|
6
5
|
const plugin_easing_quad_1 = require("@tsparticles/plugin-easing-quad");
|
|
6
|
+
const shape_emoji_1 = require("@tsparticles/shape-emoji");
|
|
7
7
|
const interaction_external_attract_1 = require("@tsparticles/interaction-external-attract");
|
|
8
8
|
const interaction_external_bounce_1 = require("@tsparticles/interaction-external-bounce");
|
|
9
9
|
const interaction_external_bubble_1 = require("@tsparticles/interaction-external-bubble");
|
|
@@ -26,9 +26,7 @@ const updater_rotate_1 = require("@tsparticles/updater-rotate");
|
|
|
26
26
|
const shape_square_1 = require("@tsparticles/shape-square");
|
|
27
27
|
const shape_star_1 = require("@tsparticles/shape-star");
|
|
28
28
|
const updater_stroke_color_1 = require("@tsparticles/updater-stroke-color");
|
|
29
|
-
const shape_text_1 = require("@tsparticles/shape-text");
|
|
30
29
|
async function loadSlim(engine, refresh = true) {
|
|
31
|
-
(0, pjs_1.initPjs)(engine);
|
|
32
30
|
await (0, move_parallax_1.loadParallaxMover)(engine, false);
|
|
33
31
|
await (0, interaction_external_attract_1.loadExternalAttractInteraction)(engine, false);
|
|
34
32
|
await (0, interaction_external_bounce_1.loadExternalBounceInteraction)(engine, false);
|
|
@@ -44,12 +42,12 @@ async function loadSlim(engine, refresh = true) {
|
|
|
44
42
|
await (0, interaction_particles_collisions_1.loadParticlesCollisionsInteraction)(engine, false);
|
|
45
43
|
await (0, interaction_particles_links_1.loadParticlesLinksInteraction)(engine, false);
|
|
46
44
|
await (0, plugin_easing_quad_1.loadEasingQuadPlugin)();
|
|
45
|
+
await (0, shape_emoji_1.loadEmojiShape)(engine, false);
|
|
47
46
|
await (0, shape_image_1.loadImageShape)(engine, false);
|
|
48
47
|
await (0, shape_line_1.loadLineShape)(engine, false);
|
|
49
48
|
await (0, shape_polygon_1.loadPolygonShape)(engine, false);
|
|
50
49
|
await (0, shape_square_1.loadSquareShape)(engine, false);
|
|
51
50
|
await (0, shape_star_1.loadStarShape)(engine, false);
|
|
52
|
-
await (0, shape_text_1.loadTextShape)(engine, false);
|
|
53
51
|
await (0, updater_life_1.loadLifeUpdater)(engine, false);
|
|
54
52
|
await (0, updater_rotate_1.loadRotateUpdater)(engine, false);
|
|
55
53
|
await (0, updater_stroke_color_1.loadStrokeColorUpdater)(engine, false);
|
package/esm/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { initPjs } from "@tsparticles/pjs";
|
|
2
1
|
import { loadBasic } from "@tsparticles/basic";
|
|
3
2
|
import { loadEasingQuadPlugin } from "@tsparticles/plugin-easing-quad";
|
|
3
|
+
import { loadEmojiShape } from "@tsparticles/shape-emoji";
|
|
4
4
|
import { loadExternalAttractInteraction } from "@tsparticles/interaction-external-attract";
|
|
5
5
|
import { loadExternalBounceInteraction } from "@tsparticles/interaction-external-bounce";
|
|
6
6
|
import { loadExternalBubbleInteraction } from "@tsparticles/interaction-external-bubble";
|
|
@@ -23,9 +23,7 @@ import { loadRotateUpdater } from "@tsparticles/updater-rotate";
|
|
|
23
23
|
import { loadSquareShape } from "@tsparticles/shape-square";
|
|
24
24
|
import { loadStarShape } from "@tsparticles/shape-star";
|
|
25
25
|
import { loadStrokeColorUpdater } from "@tsparticles/updater-stroke-color";
|
|
26
|
-
import { loadTextShape } from "@tsparticles/shape-text";
|
|
27
26
|
export async function loadSlim(engine, refresh = true) {
|
|
28
|
-
initPjs(engine);
|
|
29
27
|
await loadParallaxMover(engine, false);
|
|
30
28
|
await loadExternalAttractInteraction(engine, false);
|
|
31
29
|
await loadExternalBounceInteraction(engine, false);
|
|
@@ -41,12 +39,12 @@ export async function loadSlim(engine, refresh = true) {
|
|
|
41
39
|
await loadParticlesCollisionsInteraction(engine, false);
|
|
42
40
|
await loadParticlesLinksInteraction(engine, false);
|
|
43
41
|
await loadEasingQuadPlugin();
|
|
42
|
+
await loadEmojiShape(engine, false);
|
|
44
43
|
await loadImageShape(engine, false);
|
|
45
44
|
await loadLineShape(engine, false);
|
|
46
45
|
await loadPolygonShape(engine, false);
|
|
47
46
|
await loadSquareShape(engine, false);
|
|
48
47
|
await loadStarShape(engine, false);
|
|
49
|
-
await loadTextShape(engine, false);
|
|
50
48
|
await loadLifeUpdater(engine, false);
|
|
51
49
|
await loadRotateUpdater(engine, false);
|
|
52
50
|
await loadStrokeColorUpdater(engine, false);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tsparticles/slim",
|
|
3
|
-
"version": "3.0.0
|
|
3
|
+
"version": "3.0.0",
|
|
4
4
|
"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.",
|
|
5
5
|
"homepage": "https://particles.js.org",
|
|
6
6
|
"repository": {
|
|
@@ -99,39 +99,38 @@
|
|
|
99
99
|
"./package.json": "./package.json"
|
|
100
100
|
},
|
|
101
101
|
"dependencies": {
|
|
102
|
-
"@tsparticles/basic": "^3.0.0
|
|
103
|
-
"@tsparticles/engine": "^3.0.0
|
|
104
|
-
"@tsparticles/interaction-external-attract": "^3.0.0
|
|
105
|
-
"@tsparticles/interaction-external-bounce": "^3.0.0
|
|
106
|
-
"@tsparticles/interaction-external-bubble": "^3.0.0
|
|
107
|
-
"@tsparticles/interaction-external-connect": "^3.0.0
|
|
108
|
-
"@tsparticles/interaction-external-grab": "^3.0.0
|
|
109
|
-
"@tsparticles/interaction-external-pause": "^3.0.0
|
|
110
|
-
"@tsparticles/interaction-external-push": "^3.0.0
|
|
111
|
-
"@tsparticles/interaction-external-remove": "^3.0.0
|
|
112
|
-
"@tsparticles/interaction-external-repulse": "^3.0.0
|
|
113
|
-
"@tsparticles/interaction-external-slow": "^3.0.0
|
|
114
|
-
"@tsparticles/interaction-particles-attract": "^3.0.0
|
|
115
|
-
"@tsparticles/interaction-particles-collisions": "^3.0.0
|
|
116
|
-
"@tsparticles/interaction-particles-links": "^3.0.0
|
|
117
|
-
"@tsparticles/move-base": "^3.0.0
|
|
118
|
-
"@tsparticles/move-parallax": "^3.0.0
|
|
119
|
-
"@tsparticles/
|
|
120
|
-
"@tsparticles/
|
|
121
|
-
"@tsparticles/shape-
|
|
122
|
-
"@tsparticles/shape-image": "^3.0.0
|
|
123
|
-
"@tsparticles/shape-line": "^3.0.0
|
|
124
|
-
"@tsparticles/shape-polygon": "^3.0.0
|
|
125
|
-
"@tsparticles/shape-square": "^3.0.0
|
|
126
|
-
"@tsparticles/shape-star": "^3.0.0
|
|
127
|
-
"@tsparticles/
|
|
128
|
-
"@tsparticles/updater-
|
|
129
|
-
"@tsparticles/updater-
|
|
130
|
-
"@tsparticles/updater-
|
|
131
|
-
"@tsparticles/updater-
|
|
132
|
-
"@tsparticles/updater-
|
|
133
|
-
"@tsparticles/updater-
|
|
134
|
-
"@tsparticles/updater-stroke-color": "^3.0.0-beta.4"
|
|
102
|
+
"@tsparticles/basic": "^3.0.0",
|
|
103
|
+
"@tsparticles/engine": "^3.0.0",
|
|
104
|
+
"@tsparticles/interaction-external-attract": "^3.0.0",
|
|
105
|
+
"@tsparticles/interaction-external-bounce": "^3.0.0",
|
|
106
|
+
"@tsparticles/interaction-external-bubble": "^3.0.0",
|
|
107
|
+
"@tsparticles/interaction-external-connect": "^3.0.0",
|
|
108
|
+
"@tsparticles/interaction-external-grab": "^3.0.0",
|
|
109
|
+
"@tsparticles/interaction-external-pause": "^3.0.0",
|
|
110
|
+
"@tsparticles/interaction-external-push": "^3.0.0",
|
|
111
|
+
"@tsparticles/interaction-external-remove": "^3.0.0",
|
|
112
|
+
"@tsparticles/interaction-external-repulse": "^3.0.0",
|
|
113
|
+
"@tsparticles/interaction-external-slow": "^3.0.0",
|
|
114
|
+
"@tsparticles/interaction-particles-attract": "^3.0.0",
|
|
115
|
+
"@tsparticles/interaction-particles-collisions": "^3.0.0",
|
|
116
|
+
"@tsparticles/interaction-particles-links": "^3.0.0",
|
|
117
|
+
"@tsparticles/move-base": "^3.0.0",
|
|
118
|
+
"@tsparticles/move-parallax": "^3.0.0",
|
|
119
|
+
"@tsparticles/plugin-easing-quad": "^3.0.0",
|
|
120
|
+
"@tsparticles/shape-circle": "^3.0.0",
|
|
121
|
+
"@tsparticles/shape-emoji": "^3.0.0",
|
|
122
|
+
"@tsparticles/shape-image": "^3.0.0",
|
|
123
|
+
"@tsparticles/shape-line": "^3.0.0",
|
|
124
|
+
"@tsparticles/shape-polygon": "^3.0.0",
|
|
125
|
+
"@tsparticles/shape-square": "^3.0.0",
|
|
126
|
+
"@tsparticles/shape-star": "^3.0.0",
|
|
127
|
+
"@tsparticles/updater-color": "^3.0.0",
|
|
128
|
+
"@tsparticles/updater-life": "^3.0.0",
|
|
129
|
+
"@tsparticles/updater-opacity": "^3.0.0",
|
|
130
|
+
"@tsparticles/updater-out-modes": "^3.0.0",
|
|
131
|
+
"@tsparticles/updater-rotate": "^3.0.0",
|
|
132
|
+
"@tsparticles/updater-size": "^3.0.0",
|
|
133
|
+
"@tsparticles/updater-stroke-color": "^3.0.0"
|
|
135
134
|
},
|
|
136
135
|
"publishConfig": {
|
|
137
136
|
"access": "public"
|