@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.
Files changed (78) hide show
  1. package/browser/browser.js +5 -0
  2. package/browser/bundle.js +4 -0
  3. package/browser/index.js +5 -7
  4. package/browser/index.lazy.js +21 -0
  5. package/cjs/browser.js +5 -0
  6. package/cjs/bundle.js +4 -0
  7. package/cjs/index.js +5 -7
  8. package/cjs/index.lazy.js +21 -0
  9. package/esm/browser.js +5 -0
  10. package/esm/bundle.js +4 -0
  11. package/esm/index.js +5 -7
  12. package/esm/index.lazy.js +21 -0
  13. package/package.json +14 -7
  14. package/report.html +4949 -94
  15. package/tsparticles.preset.firefly.bundle.js +7004 -967
  16. package/tsparticles.preset.firefly.bundle.min.js +1 -2
  17. package/tsparticles.preset.firefly.js +96 -377
  18. package/tsparticles.preset.firefly.min.js +1 -2
  19. package/types/browser.d.ts +1 -0
  20. package/types/index.lazy.d.ts +2 -0
  21. package/153.min.js +0 -1
  22. package/172.min.js +0 -1
  23. package/188.min.js +0 -1
  24. package/220.min.js +0 -1
  25. package/260.min.js +0 -1
  26. package/304.min.js +0 -1
  27. package/311.min.js +0 -1
  28. package/361.min.js +0 -1
  29. package/392.min.js +0 -1
  30. package/404.min.js +0 -1
  31. package/467.min.js +0 -1
  32. package/48.min.js +0 -1
  33. package/592.min.js +0 -1
  34. package/63.min.js +0 -1
  35. package/632.min.js +0 -1
  36. package/656.min.js +0 -1
  37. package/659.min.js +0 -1
  38. package/700.min.js +0 -1
  39. package/714.min.js +0 -1
  40. package/719.min.js +0 -1
  41. package/72.min.js +0 -1
  42. package/74.min.js +0 -1
  43. package/750.min.js +0 -1
  44. package/857.min.js +0 -1
  45. package/86.min.js +0 -1
  46. package/892.min.js +0 -1
  47. package/902.min.js +0 -1
  48. package/957.min.js +0 -1
  49. package/986.min.js +0 -1
  50. package/dist_browser_options_js.js +0 -30
  51. package/node_modules_pnpm_tsparticles_basic_4_0_0-beta_11_node_modules_tsparticles_basic_browser_index_js.js +0 -30
  52. package/node_modules_pnpm_tsparticles_interaction-external-trail_4_0_0-beta_11__tsparticles_engine_4_-b50294.js +0 -70
  53. package/node_modules_pnpm_tsparticles_plugin-hex-color_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_1-5e0ff2.js +0 -30
  54. package/node_modules_pnpm_tsparticles_plugin-hex-color_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_1-b0d0ee.js +0 -30
  55. package/node_modules_pnpm_tsparticles_plugin-hsl-color_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_1-060416.js +0 -30
  56. package/node_modules_pnpm_tsparticles_plugin-hsl-color_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_1-a6d106.js +0 -30
  57. package/node_modules_pnpm_tsparticles_plugin-interactivity_4_0_0-beta_11__tsparticles_engine_4_0_0-be-47e198.js +0 -120
  58. package/node_modules_pnpm_tsparticles_plugin-interactivity_4_0_0-beta_11__tsparticles_engine_4_0_0-be-710e43.js +0 -70
  59. package/node_modules_pnpm_tsparticles_plugin-move_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_11_nod-3a792b.js +0 -30
  60. package/node_modules_pnpm_tsparticles_plugin-move_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_11_nod-e1bc4b.js +0 -30
  61. package/node_modules_pnpm_tsparticles_plugin-rgb-color_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_1-d9836d.js +0 -30
  62. package/node_modules_pnpm_tsparticles_plugin-rgb-color_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_1-f22022.js +0 -30
  63. package/node_modules_pnpm_tsparticles_shape-circle_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_11_no-7552ae.js +0 -40
  64. package/node_modules_pnpm_tsparticles_shape-circle_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_11_no-b06fc7.js +0 -30
  65. package/node_modules_pnpm_tsparticles_updater-life_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_11_no-9cea59.js +0 -70
  66. package/node_modules_pnpm_tsparticles_updater-life_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_11_no-a724a4.js +0 -30
  67. package/node_modules_pnpm_tsparticles_updater-opacity_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_11-8f9e09.js +0 -30
  68. package/node_modules_pnpm_tsparticles_updater-opacity_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_11-da77ce.js +0 -30
  69. package/node_modules_pnpm_tsparticles_updater-out-modes_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_-df7144.js +0 -30
  70. package/node_modules_pnpm_tsparticles_updater-paint_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_11_n-589482.js +0 -30
  71. package/node_modules_pnpm_tsparticles_updater-paint_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_11_n-b1f330.js +0 -30
  72. package/node_modules_pnpm_tsparticles_updater-size_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_11_no-a47b81.js +0 -30
  73. package/node_modules_pnpm_tsparticles_updater-size_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_11_no-d2508a.js +0 -30
  74. package/vendors-node_modules_pnpm_tsparticles_engine_4_0_0-beta_11_node_modules_tsparticles_engine_br-ca098e.js +0 -100
  75. package/vendors-node_modules_pnpm_tsparticles_interaction-external-trail_4_0_0-beta_11__tsparticles_e-6dd4b0.js +0 -130
  76. package/vendors-node_modules_pnpm_tsparticles_plugin-interactivity_4_0_0-beta_11__tsparticles_engine_-32e86c.js +0 -50
  77. package/vendors-node_modules_pnpm_tsparticles_plugin-move_4_0_0-beta_11__tsparticles_engine_4_0_0-bet-5f2b78.js +0 -40
  78. package/vendors-node_modules_pnpm_tsparticles_updater-out-modes_4_0_0-beta_11__tsparticles_engine_4_0-09fa1a.js +0 -80
@@ -0,0 +1,5 @@
1
+ import { loadFireflyPreset } from "./index.js";
2
+ const globalObject = globalThis;
3
+ globalObject.__tsParticlesInternals = globalObject.__tsParticlesInternals ?? {};
4
+ globalObject.loadFireflyPreset = loadFireflyPreset;
5
+ export * from "./index.js";
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
@@ -0,0 +1,5 @@
1
+ import { loadFireflyPreset } from "./index.js";
2
+ const globalObject = globalThis;
3
+ globalObject.__tsParticlesInternals = globalObject.__tsParticlesInternals ?? {};
4
+ globalObject.loadFireflyPreset = loadFireflyPreset;
5
+ export * from "./index.js";
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
@@ -0,0 +1,5 @@
1
+ import { loadFireflyPreset } from "./index.js";
2
+ const globalObject = globalThis;
3
+ globalObject.__tsParticlesInternals = globalObject.__tsParticlesInternals ?? {};
4
+ globalObject.loadFireflyPreset = loadFireflyPreset;
5
+ export * from "./index.js";
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.0",
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/presets.git",
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": "^4.0.0-beta.11",
103
- "@tsparticles/engine": "^4.0.0-beta.11",
104
- "@tsparticles/interaction-external-trail": "^4.0.0-beta.11",
105
- "@tsparticles/plugin-interactivity": "^4.0.0-beta.11",
106
- "@tsparticles/updater-life": "^4.0.0-beta.11"
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"