@tsparticles/preset-firefly 4.0.0-beta.0 → 4.0.0-beta.15
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/browser/browser.js +5 -0
- package/browser/bundle.js +4 -0
- package/browser/index.js +5 -7
- package/browser/index.lazy.js +21 -0
- package/cjs/browser.js +5 -0
- package/cjs/bundle.js +4 -0
- package/cjs/index.js +5 -7
- package/cjs/index.lazy.js +21 -0
- package/esm/browser.js +5 -0
- package/esm/bundle.js +4 -0
- package/esm/index.js +5 -7
- package/esm/index.lazy.js +21 -0
- package/package.json +14 -7
- package/report.html +4949 -94
- package/tsparticles.preset.firefly.bundle.js +7004 -967
- package/tsparticles.preset.firefly.bundle.min.js +1 -2
- package/tsparticles.preset.firefly.js +96 -377
- package/tsparticles.preset.firefly.min.js +1 -2
- package/types/browser.d.ts +1 -0
- package/types/index.lazy.d.ts +2 -0
- package/153.min.js +0 -1
- package/172.min.js +0 -1
- package/188.min.js +0 -1
- package/220.min.js +0 -1
- package/260.min.js +0 -1
- package/304.min.js +0 -1
- package/311.min.js +0 -1
- package/361.min.js +0 -1
- package/392.min.js +0 -1
- package/404.min.js +0 -1
- package/467.min.js +0 -1
- package/48.min.js +0 -1
- package/592.min.js +0 -1
- package/63.min.js +0 -1
- package/632.min.js +0 -1
- package/656.min.js +0 -1
- package/659.min.js +0 -1
- package/700.min.js +0 -1
- package/714.min.js +0 -1
- package/719.min.js +0 -1
- package/72.min.js +0 -1
- package/74.min.js +0 -1
- package/750.min.js +0 -1
- package/857.min.js +0 -1
- package/86.min.js +0 -1
- package/892.min.js +0 -1
- package/902.min.js +0 -1
- package/957.min.js +0 -1
- package/986.min.js +0 -1
- package/dist_browser_options_js.js +0 -30
- package/node_modules_pnpm_tsparticles_basic_4_0_0-beta_11_node_modules_tsparticles_basic_browser_index_js.js +0 -30
- package/node_modules_pnpm_tsparticles_interaction-external-trail_4_0_0-beta_11__tsparticles_engine_4_-b50294.js +0 -70
- package/node_modules_pnpm_tsparticles_plugin-hex-color_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_1-5e0ff2.js +0 -30
- package/node_modules_pnpm_tsparticles_plugin-hex-color_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_1-b0d0ee.js +0 -30
- package/node_modules_pnpm_tsparticles_plugin-hsl-color_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_1-060416.js +0 -30
- package/node_modules_pnpm_tsparticles_plugin-hsl-color_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_1-a6d106.js +0 -30
- package/node_modules_pnpm_tsparticles_plugin-interactivity_4_0_0-beta_11__tsparticles_engine_4_0_0-be-47e198.js +0 -120
- package/node_modules_pnpm_tsparticles_plugin-interactivity_4_0_0-beta_11__tsparticles_engine_4_0_0-be-710e43.js +0 -70
- package/node_modules_pnpm_tsparticles_plugin-move_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_11_nod-3a792b.js +0 -30
- package/node_modules_pnpm_tsparticles_plugin-move_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_11_nod-e1bc4b.js +0 -30
- package/node_modules_pnpm_tsparticles_plugin-rgb-color_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_1-d9836d.js +0 -30
- package/node_modules_pnpm_tsparticles_plugin-rgb-color_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_1-f22022.js +0 -30
- package/node_modules_pnpm_tsparticles_shape-circle_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_11_no-7552ae.js +0 -40
- package/node_modules_pnpm_tsparticles_shape-circle_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_11_no-b06fc7.js +0 -30
- package/node_modules_pnpm_tsparticles_updater-life_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_11_no-9cea59.js +0 -70
- package/node_modules_pnpm_tsparticles_updater-life_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_11_no-a724a4.js +0 -30
- package/node_modules_pnpm_tsparticles_updater-opacity_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_11-8f9e09.js +0 -30
- package/node_modules_pnpm_tsparticles_updater-opacity_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_11-da77ce.js +0 -30
- package/node_modules_pnpm_tsparticles_updater-out-modes_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_-df7144.js +0 -30
- package/node_modules_pnpm_tsparticles_updater-paint_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_11_n-589482.js +0 -30
- package/node_modules_pnpm_tsparticles_updater-paint_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_11_n-b1f330.js +0 -30
- package/node_modules_pnpm_tsparticles_updater-size_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_11_no-a47b81.js +0 -30
- package/node_modules_pnpm_tsparticles_updater-size_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_11_no-d2508a.js +0 -30
- package/vendors-node_modules_pnpm_tsparticles_engine_4_0_0-beta_11_node_modules_tsparticles_engine_br-ca098e.js +0 -100
- package/vendors-node_modules_pnpm_tsparticles_interaction-external-trail_4_0_0-beta_11__tsparticles_e-6dd4b0.js +0 -130
- package/vendors-node_modules_pnpm_tsparticles_plugin-interactivity_4_0_0-beta_11__tsparticles_engine_-32e86c.js +0 -50
- package/vendors-node_modules_pnpm_tsparticles_plugin-move_4_0_0-beta_11__tsparticles_engine_4_0_0-bet-5f2b78.js +0 -40
- package/vendors-node_modules_pnpm_tsparticles_updater-out-modes_4_0_0-beta_11__tsparticles_engine_4_0-09fa1a.js +0 -80
package/browser/bundle.js
CHANGED
|
@@ -1,2 +1,6 @@
|
|
|
1
|
+
import { loadFireflyPreset } from "./index.js";
|
|
1
2
|
export { loadFireflyPreset } from "./index.js";
|
|
2
3
|
export { tsParticles } from "@tsparticles/engine";
|
|
4
|
+
const globalObject = globalThis;
|
|
5
|
+
globalObject.__tsParticlesInternals = globalObject.__tsParticlesInternals ?? {};
|
|
6
|
+
globalObject.loadFireflyPreset = loadFireflyPreset;
|
package/browser/index.js
CHANGED
|
@@ -1,13 +1,11 @@
|
|
|
1
|
+
import { loadBasic } from "@tsparticles/basic";
|
|
2
|
+
import { loadExternalTrailInteraction } from "@tsparticles/interaction-external-trail";
|
|
3
|
+
import { loadInteractivityPlugin } from "@tsparticles/plugin-interactivity";
|
|
4
|
+
import { loadLifeUpdater } from "@tsparticles/updater-life";
|
|
5
|
+
import { options } from "./options.js";
|
|
1
6
|
const presetName = "firefly";
|
|
2
7
|
export async function loadFireflyPreset(engine) {
|
|
3
8
|
await engine.pluginManager.register(async (e) => {
|
|
4
|
-
const [{ loadBasic }, { loadInteractivityPlugin }, { loadLifeUpdater }, { loadExternalTrailInteraction }, { options },] = await Promise.all([
|
|
5
|
-
import("@tsparticles/basic"),
|
|
6
|
-
import("@tsparticles/plugin-interactivity"),
|
|
7
|
-
import("@tsparticles/updater-life"),
|
|
8
|
-
import("@tsparticles/interaction-external-trail"),
|
|
9
|
-
import("./options.js"),
|
|
10
|
-
]);
|
|
11
9
|
await Promise.all([
|
|
12
10
|
loadBasic(e),
|
|
13
11
|
loadLifeUpdater(e),
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
const presetName = "firefly";
|
|
2
|
+
export async function loadFireflyPreset(engine) {
|
|
3
|
+
await engine.pluginManager.register(async (e) => {
|
|
4
|
+
const [{ loadBasic }, { loadInteractivityPlugin }, { loadLifeUpdater }, { loadExternalTrailInteraction }, { options },] = await Promise.all([
|
|
5
|
+
import("@tsparticles/basic/lazy"),
|
|
6
|
+
import("@tsparticles/plugin-interactivity/lazy"),
|
|
7
|
+
import("@tsparticles/updater-life/lazy"),
|
|
8
|
+
import("@tsparticles/interaction-external-trail/lazy"),
|
|
9
|
+
import("./options.js"),
|
|
10
|
+
]);
|
|
11
|
+
await Promise.all([
|
|
12
|
+
loadBasic(e),
|
|
13
|
+
loadLifeUpdater(e),
|
|
14
|
+
(async () => {
|
|
15
|
+
await loadInteractivityPlugin(e);
|
|
16
|
+
await loadExternalTrailInteraction(e);
|
|
17
|
+
})(),
|
|
18
|
+
]);
|
|
19
|
+
e.pluginManager.addPreset(presetName, options);
|
|
20
|
+
});
|
|
21
|
+
}
|
package/cjs/browser.js
ADDED
package/cjs/bundle.js
CHANGED
|
@@ -1,2 +1,6 @@
|
|
|
1
|
+
import { loadFireflyPreset } from "./index.js";
|
|
1
2
|
export { loadFireflyPreset } from "./index.js";
|
|
2
3
|
export { tsParticles } from "@tsparticles/engine";
|
|
4
|
+
const globalObject = globalThis;
|
|
5
|
+
globalObject.__tsParticlesInternals = globalObject.__tsParticlesInternals ?? {};
|
|
6
|
+
globalObject.loadFireflyPreset = loadFireflyPreset;
|
package/cjs/index.js
CHANGED
|
@@ -1,13 +1,11 @@
|
|
|
1
|
+
import { loadBasic } from "@tsparticles/basic";
|
|
2
|
+
import { loadExternalTrailInteraction } from "@tsparticles/interaction-external-trail";
|
|
3
|
+
import { loadInteractivityPlugin } from "@tsparticles/plugin-interactivity";
|
|
4
|
+
import { loadLifeUpdater } from "@tsparticles/updater-life";
|
|
5
|
+
import { options } from "./options.js";
|
|
1
6
|
const presetName = "firefly";
|
|
2
7
|
export async function loadFireflyPreset(engine) {
|
|
3
8
|
await engine.pluginManager.register(async (e) => {
|
|
4
|
-
const [{ loadBasic }, { loadInteractivityPlugin }, { loadLifeUpdater }, { loadExternalTrailInteraction }, { options },] = await Promise.all([
|
|
5
|
-
import("@tsparticles/basic"),
|
|
6
|
-
import("@tsparticles/plugin-interactivity"),
|
|
7
|
-
import("@tsparticles/updater-life"),
|
|
8
|
-
import("@tsparticles/interaction-external-trail"),
|
|
9
|
-
import("./options.js"),
|
|
10
|
-
]);
|
|
11
9
|
await Promise.all([
|
|
12
10
|
loadBasic(e),
|
|
13
11
|
loadLifeUpdater(e),
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
const presetName = "firefly";
|
|
2
|
+
export async function loadFireflyPreset(engine) {
|
|
3
|
+
await engine.pluginManager.register(async (e) => {
|
|
4
|
+
const [{ loadBasic }, { loadInteractivityPlugin }, { loadLifeUpdater }, { loadExternalTrailInteraction }, { options },] = await Promise.all([
|
|
5
|
+
import("@tsparticles/basic/lazy"),
|
|
6
|
+
import("@tsparticles/plugin-interactivity/lazy"),
|
|
7
|
+
import("@tsparticles/updater-life/lazy"),
|
|
8
|
+
import("@tsparticles/interaction-external-trail/lazy"),
|
|
9
|
+
import("./options.js"),
|
|
10
|
+
]);
|
|
11
|
+
await Promise.all([
|
|
12
|
+
loadBasic(e),
|
|
13
|
+
loadLifeUpdater(e),
|
|
14
|
+
(async () => {
|
|
15
|
+
await loadInteractivityPlugin(e);
|
|
16
|
+
await loadExternalTrailInteraction(e);
|
|
17
|
+
})(),
|
|
18
|
+
]);
|
|
19
|
+
e.pluginManager.addPreset(presetName, options);
|
|
20
|
+
});
|
|
21
|
+
}
|
package/esm/browser.js
ADDED
package/esm/bundle.js
CHANGED
|
@@ -1,2 +1,6 @@
|
|
|
1
|
+
import { loadFireflyPreset } from "./index.js";
|
|
1
2
|
export { loadFireflyPreset } from "./index.js";
|
|
2
3
|
export { tsParticles } from "@tsparticles/engine";
|
|
4
|
+
const globalObject = globalThis;
|
|
5
|
+
globalObject.__tsParticlesInternals = globalObject.__tsParticlesInternals ?? {};
|
|
6
|
+
globalObject.loadFireflyPreset = loadFireflyPreset;
|
package/esm/index.js
CHANGED
|
@@ -1,13 +1,11 @@
|
|
|
1
|
+
import { loadBasic } from "@tsparticles/basic";
|
|
2
|
+
import { loadExternalTrailInteraction } from "@tsparticles/interaction-external-trail";
|
|
3
|
+
import { loadInteractivityPlugin } from "@tsparticles/plugin-interactivity";
|
|
4
|
+
import { loadLifeUpdater } from "@tsparticles/updater-life";
|
|
5
|
+
import { options } from "./options.js";
|
|
1
6
|
const presetName = "firefly";
|
|
2
7
|
export async function loadFireflyPreset(engine) {
|
|
3
8
|
await engine.pluginManager.register(async (e) => {
|
|
4
|
-
const [{ loadBasic }, { loadInteractivityPlugin }, { loadLifeUpdater }, { loadExternalTrailInteraction }, { options },] = await Promise.all([
|
|
5
|
-
import("@tsparticles/basic"),
|
|
6
|
-
import("@tsparticles/plugin-interactivity"),
|
|
7
|
-
import("@tsparticles/updater-life"),
|
|
8
|
-
import("@tsparticles/interaction-external-trail"),
|
|
9
|
-
import("./options.js"),
|
|
10
|
-
]);
|
|
11
9
|
await Promise.all([
|
|
12
10
|
loadBasic(e),
|
|
13
11
|
loadLifeUpdater(e),
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
const presetName = "firefly";
|
|
2
|
+
export async function loadFireflyPreset(engine) {
|
|
3
|
+
await engine.pluginManager.register(async (e) => {
|
|
4
|
+
const [{ loadBasic }, { loadInteractivityPlugin }, { loadLifeUpdater }, { loadExternalTrailInteraction }, { options },] = await Promise.all([
|
|
5
|
+
import("@tsparticles/basic/lazy"),
|
|
6
|
+
import("@tsparticles/plugin-interactivity/lazy"),
|
|
7
|
+
import("@tsparticles/updater-life/lazy"),
|
|
8
|
+
import("@tsparticles/interaction-external-trail/lazy"),
|
|
9
|
+
import("./options.js"),
|
|
10
|
+
]);
|
|
11
|
+
await Promise.all([
|
|
12
|
+
loadBasic(e),
|
|
13
|
+
loadLifeUpdater(e),
|
|
14
|
+
(async () => {
|
|
15
|
+
await loadInteractivityPlugin(e);
|
|
16
|
+
await loadExternalTrailInteraction(e);
|
|
17
|
+
})(),
|
|
18
|
+
]);
|
|
19
|
+
e.pluginManager.addPreset(presetName, options);
|
|
20
|
+
});
|
|
21
|
+
}
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tsparticles/preset-firefly",
|
|
3
|
-
"version": "4.0.0-beta.
|
|
3
|
+
"version": "4.0.0-beta.15",
|
|
4
4
|
"description": "tsParticles firefly preset",
|
|
5
5
|
"homepage": "https://particles.js.org",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
8
|
-
"url": "git+https://github.com/tsparticles/
|
|
8
|
+
"url": "git+https://github.com/tsparticles/tsparticles.git",
|
|
9
9
|
"directory": "presets/firefly"
|
|
10
10
|
},
|
|
11
11
|
"keywords": [
|
|
@@ -96,14 +96,21 @@
|
|
|
96
96
|
"umd": "./umd/index.js",
|
|
97
97
|
"default": "./cjs/index.js"
|
|
98
98
|
},
|
|
99
|
+
"./lazy": {
|
|
100
|
+
"types": "./types/index.lazy.d.ts",
|
|
101
|
+
"browser": "./browser/index.lazy.js",
|
|
102
|
+
"import": "./esm/index.lazy.js",
|
|
103
|
+
"require": "./cjs/index.lazy.js",
|
|
104
|
+
"default": "./cjs/index.lazy.js"
|
|
105
|
+
},
|
|
99
106
|
"./package.json": "./package.json"
|
|
100
107
|
},
|
|
101
108
|
"dependencies": {
|
|
102
|
-
"@tsparticles/basic": "
|
|
103
|
-
"@tsparticles/engine": "
|
|
104
|
-
"@tsparticles/interaction-external-trail": "
|
|
105
|
-
"@tsparticles/plugin-interactivity": "
|
|
106
|
-
"@tsparticles/updater-life": "
|
|
109
|
+
"@tsparticles/basic": "4.0.0-beta.15",
|
|
110
|
+
"@tsparticles/engine": "4.0.0-beta.15",
|
|
111
|
+
"@tsparticles/interaction-external-trail": "4.0.0-beta.15",
|
|
112
|
+
"@tsparticles/plugin-interactivity": "4.0.0-beta.15",
|
|
113
|
+
"@tsparticles/updater-life": "4.0.0-beta.15"
|
|
107
114
|
},
|
|
108
115
|
"publishConfig": {
|
|
109
116
|
"access": "public"
|