@tsparticles/preset-confetti-falling 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 (94) hide show
  1. package/browser/browser.js +5 -0
  2. package/browser/bundle.js +4 -0
  3. package/browser/index.js +9 -11
  4. package/browser/index.lazy.js +29 -0
  5. package/cjs/browser.js +5 -0
  6. package/cjs/bundle.js +4 -0
  7. package/cjs/index.js +9 -11
  8. package/cjs/index.lazy.js +29 -0
  9. package/esm/browser.js +5 -0
  10. package/esm/bundle.js +4 -0
  11. package/esm/index.js +9 -11
  12. package/esm/index.lazy.js +29 -0
  13. package/package.json +18 -11
  14. package/report.html +4949 -94
  15. package/tsparticles.preset.confettiFalling.bundle.js +6601 -967
  16. package/tsparticles.preset.confettiFalling.bundle.min.js +1 -2
  17. package/tsparticles.preset.confettiFalling.js +124 -417
  18. package/tsparticles.preset.confettiFalling.min.js +1 -2
  19. package/types/browser.d.ts +1 -0
  20. package/types/index.lazy.d.ts +2 -0
  21. package/126.min.js +0 -1
  22. package/128.min.js +0 -1
  23. package/166.min.js +0 -1
  24. package/172.min.js +0 -1
  25. package/188.min.js +0 -1
  26. package/200.min.js +0 -1
  27. package/240.min.js +0 -1
  28. package/304.min.js +0 -1
  29. package/313.min.js +0 -1
  30. package/361.min.js +0 -1
  31. package/392.min.js +0 -1
  32. package/404.min.js +0 -1
  33. package/432.min.js +0 -1
  34. package/467.min.js +0 -1
  35. package/48.min.js +0 -1
  36. package/480.min.js +0 -1
  37. package/499.min.js +0 -1
  38. package/508.min.js +0 -1
  39. package/592.min.js +0 -1
  40. package/600.min.js +0 -1
  41. package/619.min.js +0 -1
  42. package/63.min.js +0 -1
  43. package/632.min.js +0 -1
  44. package/659.min.js +0 -1
  45. package/672.min.js +0 -1
  46. package/700.min.js +0 -1
  47. package/714.min.js +0 -1
  48. package/719.min.js +0 -1
  49. package/72.min.js +0 -1
  50. package/74.min.js +0 -1
  51. package/750.min.js +0 -1
  52. package/76.min.js +0 -1
  53. package/784.min.js +0 -1
  54. package/857.min.js +0 -1
  55. package/86.min.js +0 -1
  56. package/892.min.js +0 -1
  57. package/957.min.js +0 -1
  58. package/dist_browser_options_js.js +0 -30
  59. package/node_modules_pnpm_tsparticles_basic_4_0_0-beta_11_node_modules_tsparticles_basic_browser_index_js.js +0 -30
  60. package/node_modules_pnpm_tsparticles_palette-confetti_4_0_0-beta_0_node_modules_tsparticles_palette--18177c.js +0 -30
  61. package/node_modules_pnpm_tsparticles_palette-confetti_4_0_0-beta_0_node_modules_tsparticles_palette--e88430.js +0 -30
  62. package/node_modules_pnpm_tsparticles_plugin-hex-color_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_1-5e0ff2.js +0 -30
  63. package/node_modules_pnpm_tsparticles_plugin-hex-color_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_1-b0d0ee.js +0 -30
  64. package/node_modules_pnpm_tsparticles_plugin-hsl-color_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_1-060416.js +0 -30
  65. package/node_modules_pnpm_tsparticles_plugin-hsl-color_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_1-a6d106.js +0 -30
  66. package/node_modules_pnpm_tsparticles_plugin-motion_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_11_n-2d5e3e.js +0 -50
  67. package/node_modules_pnpm_tsparticles_plugin-motion_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_11_n-56bbea.js +0 -30
  68. package/node_modules_pnpm_tsparticles_plugin-motion_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_11_n-bf9b7c.js +0 -30
  69. package/node_modules_pnpm_tsparticles_plugin-move_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_11_nod-3a792b.js +0 -30
  70. package/node_modules_pnpm_tsparticles_plugin-move_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_11_nod-e1bc4b.js +0 -30
  71. package/node_modules_pnpm_tsparticles_plugin-rgb-color_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_1-d9836d.js +0 -30
  72. package/node_modules_pnpm_tsparticles_plugin-rgb-color_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_1-f22022.js +0 -30
  73. package/node_modules_pnpm_tsparticles_shape-circle_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_11_no-7552ae.js +0 -40
  74. package/node_modules_pnpm_tsparticles_shape-circle_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_11_no-b06fc7.js +0 -30
  75. package/node_modules_pnpm_tsparticles_shape-square_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_11_no-541147.js +0 -30
  76. package/node_modules_pnpm_tsparticles_shape-square_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_11_no-fd7ee9.js +0 -40
  77. package/node_modules_pnpm_tsparticles_updater-opacity_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_11-8f9e09.js +0 -30
  78. package/node_modules_pnpm_tsparticles_updater-opacity_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_11-da77ce.js +0 -30
  79. package/node_modules_pnpm_tsparticles_updater-out-modes_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_-df7144.js +0 -30
  80. package/node_modules_pnpm_tsparticles_updater-paint_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_11_n-589482.js +0 -30
  81. package/node_modules_pnpm_tsparticles_updater-paint_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_11_n-b1f330.js +0 -30
  82. package/node_modules_pnpm_tsparticles_updater-roll_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_11_no-9a3afd.js +0 -30
  83. package/node_modules_pnpm_tsparticles_updater-roll_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_11_no-afa94a.js +0 -70
  84. package/node_modules_pnpm_tsparticles_updater-rotate_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_11_-03eda6.js +0 -30
  85. package/node_modules_pnpm_tsparticles_updater-rotate_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_11_-6626aa.js +0 -50
  86. package/node_modules_pnpm_tsparticles_updater-size_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_11_no-a47b81.js +0 -30
  87. package/node_modules_pnpm_tsparticles_updater-size_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_11_no-d2508a.js +0 -30
  88. package/node_modules_pnpm_tsparticles_updater-tilt_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_11_no-14b886.js +0 -30
  89. package/node_modules_pnpm_tsparticles_updater-tilt_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_11_no-a0ea75.js +0 -60
  90. package/node_modules_pnpm_tsparticles_updater-wobble_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_11_-14499e.js +0 -60
  91. package/node_modules_pnpm_tsparticles_updater-wobble_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_11_-5cc4d7.js +0 -30
  92. package/vendors-node_modules_pnpm_tsparticles_engine_4_0_0-beta_11_node_modules_tsparticles_engine_br-ca098e.js +0 -100
  93. package/vendors-node_modules_pnpm_tsparticles_plugin-move_4_0_0-beta_11__tsparticles_engine_4_0_0-bet-5f2b78.js +0 -40
  94. 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 { loadConfettiFallingPreset } from "./index.js";
2
+ const globalObject = globalThis;
3
+ globalObject.__tsParticlesInternals = globalObject.__tsParticlesInternals ?? {};
4
+ globalObject.loadConfettiFallingPreset = loadConfettiFallingPreset;
5
+ export * from "./index.js";
package/browser/bundle.js CHANGED
@@ -1,2 +1,6 @@
1
+ import { loadConfettiFallingPreset } from "./index.js";
1
2
  export { loadConfettiFallingPreset } from "./index.js";
2
3
  export { tsParticles } from "@tsparticles/engine";
4
+ const globalObject = globalThis;
5
+ globalObject.__tsParticlesInternals = globalObject.__tsParticlesInternals ?? {};
6
+ globalObject.loadConfettiFallingPreset = loadConfettiFallingPreset;
package/browser/index.js CHANGED
@@ -1,17 +1,15 @@
1
+ import { loadBasic } from "@tsparticles/basic";
2
+ import { loadConfettiPalette } from "@tsparticles/palette-confetti";
3
+ import { loadMotionPlugin } from "@tsparticles/plugin-motion";
4
+ import { loadRollUpdater } from "@tsparticles/updater-roll";
5
+ import { loadRotateUpdater } from "@tsparticles/updater-rotate";
6
+ import { loadSquareShape } from "@tsparticles/shape-square";
7
+ import { loadTiltUpdater } from "@tsparticles/updater-tilt";
8
+ import { loadWobbleUpdater } from "@tsparticles/updater-wobble";
9
+ import { options } from "./options.js";
1
10
  const presetNames = ["confettiFalling", "confetti-falling"];
2
11
  export async function loadConfettiFallingPreset(engine) {
3
12
  await engine.pluginManager.register(async (e) => {
4
- const [{ loadBasic }, { loadMotionPlugin }, { loadRotateUpdater }, { loadSquareShape }, { loadTiltUpdater }, { loadWobbleUpdater }, { loadRollUpdater }, { loadConfettiPalette }, { options },] = await Promise.all([
5
- import("@tsparticles/basic"),
6
- import("@tsparticles/plugin-motion"),
7
- import("@tsparticles/updater-rotate"),
8
- import("@tsparticles/shape-square"),
9
- import("@tsparticles/updater-tilt"),
10
- import("@tsparticles/updater-wobble"),
11
- import("@tsparticles/updater-roll"),
12
- import("@tsparticles/palette-confetti"),
13
- import("./options.js"),
14
- ]);
15
13
  await Promise.all([
16
14
  loadBasic(e),
17
15
  loadConfettiPalette(e),
@@ -0,0 +1,29 @@
1
+ const presetNames = ["confettiFalling", "confetti-falling"];
2
+ export async function loadConfettiFallingPreset(engine) {
3
+ await engine.pluginManager.register(async (e) => {
4
+ const [{ loadBasic }, { loadMotionPlugin }, { loadRotateUpdater }, { loadSquareShape }, { loadTiltUpdater }, { loadWobbleUpdater }, { loadRollUpdater }, { loadConfettiPalette }, { options },] = await Promise.all([
5
+ import("@tsparticles/basic/lazy"),
6
+ import("@tsparticles/plugin-motion/lazy"),
7
+ import("@tsparticles/updater-rotate/lazy"),
8
+ import("@tsparticles/shape-square/lazy"),
9
+ import("@tsparticles/updater-tilt/lazy"),
10
+ import("@tsparticles/updater-wobble/lazy"),
11
+ import("@tsparticles/updater-roll/lazy"),
12
+ import("@tsparticles/palette-confetti/lazy"),
13
+ import("./options.js"),
14
+ ]);
15
+ await Promise.all([
16
+ loadBasic(e),
17
+ loadConfettiPalette(e),
18
+ loadSquareShape(e),
19
+ loadMotionPlugin(e),
20
+ loadWobbleUpdater(e),
21
+ loadRollUpdater(e),
22
+ loadRotateUpdater(e),
23
+ loadTiltUpdater(e),
24
+ ]);
25
+ presetNames.forEach(name => {
26
+ e.pluginManager.addPreset(name, options, false);
27
+ });
28
+ });
29
+ }
package/cjs/browser.js ADDED
@@ -0,0 +1,5 @@
1
+ import { loadConfettiFallingPreset } from "./index.js";
2
+ const globalObject = globalThis;
3
+ globalObject.__tsParticlesInternals = globalObject.__tsParticlesInternals ?? {};
4
+ globalObject.loadConfettiFallingPreset = loadConfettiFallingPreset;
5
+ export * from "./index.js";
package/cjs/bundle.js CHANGED
@@ -1,2 +1,6 @@
1
+ import { loadConfettiFallingPreset } from "./index.js";
1
2
  export { loadConfettiFallingPreset } from "./index.js";
2
3
  export { tsParticles } from "@tsparticles/engine";
4
+ const globalObject = globalThis;
5
+ globalObject.__tsParticlesInternals = globalObject.__tsParticlesInternals ?? {};
6
+ globalObject.loadConfettiFallingPreset = loadConfettiFallingPreset;
package/cjs/index.js CHANGED
@@ -1,17 +1,15 @@
1
+ import { loadBasic } from "@tsparticles/basic";
2
+ import { loadConfettiPalette } from "@tsparticles/palette-confetti";
3
+ import { loadMotionPlugin } from "@tsparticles/plugin-motion";
4
+ import { loadRollUpdater } from "@tsparticles/updater-roll";
5
+ import { loadRotateUpdater } from "@tsparticles/updater-rotate";
6
+ import { loadSquareShape } from "@tsparticles/shape-square";
7
+ import { loadTiltUpdater } from "@tsparticles/updater-tilt";
8
+ import { loadWobbleUpdater } from "@tsparticles/updater-wobble";
9
+ import { options } from "./options.js";
1
10
  const presetNames = ["confettiFalling", "confetti-falling"];
2
11
  export async function loadConfettiFallingPreset(engine) {
3
12
  await engine.pluginManager.register(async (e) => {
4
- const [{ loadBasic }, { loadMotionPlugin }, { loadRotateUpdater }, { loadSquareShape }, { loadTiltUpdater }, { loadWobbleUpdater }, { loadRollUpdater }, { loadConfettiPalette }, { options },] = await Promise.all([
5
- import("@tsparticles/basic"),
6
- import("@tsparticles/plugin-motion"),
7
- import("@tsparticles/updater-rotate"),
8
- import("@tsparticles/shape-square"),
9
- import("@tsparticles/updater-tilt"),
10
- import("@tsparticles/updater-wobble"),
11
- import("@tsparticles/updater-roll"),
12
- import("@tsparticles/palette-confetti"),
13
- import("./options.js"),
14
- ]);
15
13
  await Promise.all([
16
14
  loadBasic(e),
17
15
  loadConfettiPalette(e),
@@ -0,0 +1,29 @@
1
+ const presetNames = ["confettiFalling", "confetti-falling"];
2
+ export async function loadConfettiFallingPreset(engine) {
3
+ await engine.pluginManager.register(async (e) => {
4
+ const [{ loadBasic }, { loadMotionPlugin }, { loadRotateUpdater }, { loadSquareShape }, { loadTiltUpdater }, { loadWobbleUpdater }, { loadRollUpdater }, { loadConfettiPalette }, { options },] = await Promise.all([
5
+ import("@tsparticles/basic/lazy"),
6
+ import("@tsparticles/plugin-motion/lazy"),
7
+ import("@tsparticles/updater-rotate/lazy"),
8
+ import("@tsparticles/shape-square/lazy"),
9
+ import("@tsparticles/updater-tilt/lazy"),
10
+ import("@tsparticles/updater-wobble/lazy"),
11
+ import("@tsparticles/updater-roll/lazy"),
12
+ import("@tsparticles/palette-confetti/lazy"),
13
+ import("./options.js"),
14
+ ]);
15
+ await Promise.all([
16
+ loadBasic(e),
17
+ loadConfettiPalette(e),
18
+ loadSquareShape(e),
19
+ loadMotionPlugin(e),
20
+ loadWobbleUpdater(e),
21
+ loadRollUpdater(e),
22
+ loadRotateUpdater(e),
23
+ loadTiltUpdater(e),
24
+ ]);
25
+ presetNames.forEach(name => {
26
+ e.pluginManager.addPreset(name, options, false);
27
+ });
28
+ });
29
+ }
package/esm/browser.js ADDED
@@ -0,0 +1,5 @@
1
+ import { loadConfettiFallingPreset } from "./index.js";
2
+ const globalObject = globalThis;
3
+ globalObject.__tsParticlesInternals = globalObject.__tsParticlesInternals ?? {};
4
+ globalObject.loadConfettiFallingPreset = loadConfettiFallingPreset;
5
+ export * from "./index.js";
package/esm/bundle.js CHANGED
@@ -1,2 +1,6 @@
1
+ import { loadConfettiFallingPreset } from "./index.js";
1
2
  export { loadConfettiFallingPreset } from "./index.js";
2
3
  export { tsParticles } from "@tsparticles/engine";
4
+ const globalObject = globalThis;
5
+ globalObject.__tsParticlesInternals = globalObject.__tsParticlesInternals ?? {};
6
+ globalObject.loadConfettiFallingPreset = loadConfettiFallingPreset;
package/esm/index.js CHANGED
@@ -1,17 +1,15 @@
1
+ import { loadBasic } from "@tsparticles/basic";
2
+ import { loadConfettiPalette } from "@tsparticles/palette-confetti";
3
+ import { loadMotionPlugin } from "@tsparticles/plugin-motion";
4
+ import { loadRollUpdater } from "@tsparticles/updater-roll";
5
+ import { loadRotateUpdater } from "@tsparticles/updater-rotate";
6
+ import { loadSquareShape } from "@tsparticles/shape-square";
7
+ import { loadTiltUpdater } from "@tsparticles/updater-tilt";
8
+ import { loadWobbleUpdater } from "@tsparticles/updater-wobble";
9
+ import { options } from "./options.js";
1
10
  const presetNames = ["confettiFalling", "confetti-falling"];
2
11
  export async function loadConfettiFallingPreset(engine) {
3
12
  await engine.pluginManager.register(async (e) => {
4
- const [{ loadBasic }, { loadMotionPlugin }, { loadRotateUpdater }, { loadSquareShape }, { loadTiltUpdater }, { loadWobbleUpdater }, { loadRollUpdater }, { loadConfettiPalette }, { options },] = await Promise.all([
5
- import("@tsparticles/basic"),
6
- import("@tsparticles/plugin-motion"),
7
- import("@tsparticles/updater-rotate"),
8
- import("@tsparticles/shape-square"),
9
- import("@tsparticles/updater-tilt"),
10
- import("@tsparticles/updater-wobble"),
11
- import("@tsparticles/updater-roll"),
12
- import("@tsparticles/palette-confetti"),
13
- import("./options.js"),
14
- ]);
15
13
  await Promise.all([
16
14
  loadBasic(e),
17
15
  loadConfettiPalette(e),
@@ -0,0 +1,29 @@
1
+ const presetNames = ["confettiFalling", "confetti-falling"];
2
+ export async function loadConfettiFallingPreset(engine) {
3
+ await engine.pluginManager.register(async (e) => {
4
+ const [{ loadBasic }, { loadMotionPlugin }, { loadRotateUpdater }, { loadSquareShape }, { loadTiltUpdater }, { loadWobbleUpdater }, { loadRollUpdater }, { loadConfettiPalette }, { options },] = await Promise.all([
5
+ import("@tsparticles/basic/lazy"),
6
+ import("@tsparticles/plugin-motion/lazy"),
7
+ import("@tsparticles/updater-rotate/lazy"),
8
+ import("@tsparticles/shape-square/lazy"),
9
+ import("@tsparticles/updater-tilt/lazy"),
10
+ import("@tsparticles/updater-wobble/lazy"),
11
+ import("@tsparticles/updater-roll/lazy"),
12
+ import("@tsparticles/palette-confetti/lazy"),
13
+ import("./options.js"),
14
+ ]);
15
+ await Promise.all([
16
+ loadBasic(e),
17
+ loadConfettiPalette(e),
18
+ loadSquareShape(e),
19
+ loadMotionPlugin(e),
20
+ loadWobbleUpdater(e),
21
+ loadRollUpdater(e),
22
+ loadRotateUpdater(e),
23
+ loadTiltUpdater(e),
24
+ ]);
25
+ presetNames.forEach(name => {
26
+ e.pluginManager.addPreset(name, options, false);
27
+ });
28
+ });
29
+ }
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@tsparticles/preset-confetti-falling",
3
- "version": "4.0.0-beta.0",
3
+ "version": "4.0.0-beta.15",
4
4
  "description": "tsParticles confetti falling 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/confettiFalling"
10
10
  },
11
11
  "keywords": [
@@ -96,18 +96,25 @@
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/palette-confetti": "^4.0.0-beta.0",
105
- "@tsparticles/plugin-motion": "^4.0.0-beta.11",
106
- "@tsparticles/shape-square": "^4.0.0-beta.11",
107
- "@tsparticles/updater-roll": "^4.0.0-beta.11",
108
- "@tsparticles/updater-rotate": "^4.0.0-beta.11",
109
- "@tsparticles/updater-tilt": "^4.0.0-beta.11",
110
- "@tsparticles/updater-wobble": "^4.0.0-beta.11"
109
+ "@tsparticles/basic": "4.0.0-beta.15",
110
+ "@tsparticles/engine": "4.0.0-beta.15",
111
+ "@tsparticles/palette-confetti": "4.0.0-beta.15",
112
+ "@tsparticles/plugin-motion": "4.0.0-beta.15",
113
+ "@tsparticles/shape-square": "4.0.0-beta.15",
114
+ "@tsparticles/updater-roll": "4.0.0-beta.15",
115
+ "@tsparticles/updater-rotate": "4.0.0-beta.15",
116
+ "@tsparticles/updater-tilt": "4.0.0-beta.15",
117
+ "@tsparticles/updater-wobble": "4.0.0-beta.15"
111
118
  },
112
119
  "publishConfig": {
113
120
  "access": "public"