@tsparticles/configs 3.2.2 → 3.4.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.
Files changed (92) hide show
  1. package/browser/c/clickConfetti.js +0 -1
  2. package/browser/e/effectTrailTransform.js +57 -0
  3. package/browser/e/emitterSpawnColor.js +6 -5
  4. package/browser/e/index.js +2 -0
  5. package/browser/f/fireworks.js +3 -1
  6. package/browser/f/fireworks2.js +2 -1
  7. package/browser/g/gradients.js +9 -8
  8. package/browser/i/imagesDirections.js +3 -2
  9. package/browser/m/mouseTrailNoise.js +0 -1
  10. package/browser/p/pop.js +2 -1
  11. package/browser/r/index.js +2 -0
  12. package/browser/r/randomShapes.js +417 -0
  13. package/browser/s/index.js +2 -0
  14. package/browser/s/shapeEmoji.js +6 -6
  15. package/browser/s/shapeInfinity.js +88 -0
  16. package/browser/t/tilt.js +0 -4
  17. package/browser/w/index.js +2 -0
  18. package/browser/w/wobble.js +0 -1
  19. package/browser/w/wobbleBig.js +139 -0
  20. package/cjs/c/clickConfetti.js +0 -1
  21. package/cjs/e/effectTrailTransform.js +59 -0
  22. package/cjs/e/emitterSpawnColor.js +6 -5
  23. package/cjs/e/index.js +2 -0
  24. package/cjs/f/fireworks.js +3 -1
  25. package/cjs/f/fireworks2.js +2 -1
  26. package/cjs/g/gradients.js +9 -8
  27. package/cjs/i/imagesDirections.js +3 -2
  28. package/cjs/m/mouseTrailNoise.js +0 -1
  29. package/cjs/p/pop.js +2 -1
  30. package/cjs/r/index.js +2 -0
  31. package/cjs/r/randomShapes.js +419 -0
  32. package/cjs/s/index.js +2 -0
  33. package/cjs/s/shapeEmoji.js +6 -6
  34. package/cjs/s/shapeInfinity.js +90 -0
  35. package/cjs/t/tilt.js +0 -4
  36. package/cjs/w/index.js +2 -0
  37. package/cjs/w/wobble.js +0 -1
  38. package/cjs/w/wobbleBig.js +141 -0
  39. package/esm/c/clickConfetti.js +0 -1
  40. package/esm/e/effectTrailTransform.js +57 -0
  41. package/esm/e/emitterSpawnColor.js +6 -5
  42. package/esm/e/index.js +2 -0
  43. package/esm/f/fireworks.js +3 -1
  44. package/esm/f/fireworks2.js +2 -1
  45. package/esm/g/gradients.js +9 -8
  46. package/esm/i/imagesDirections.js +3 -2
  47. package/esm/m/mouseTrailNoise.js +0 -1
  48. package/esm/p/pop.js +2 -1
  49. package/esm/r/index.js +2 -0
  50. package/esm/r/randomShapes.js +417 -0
  51. package/esm/s/index.js +2 -0
  52. package/esm/s/shapeEmoji.js +6 -6
  53. package/esm/s/shapeInfinity.js +88 -0
  54. package/esm/t/tilt.js +0 -4
  55. package/esm/w/index.js +2 -0
  56. package/esm/w/wobble.js +0 -1
  57. package/esm/w/wobbleBig.js +139 -0
  58. package/package.json +2 -2
  59. package/report.html +1 -1
  60. package/tsparticles.configs.bundle.js +1 -1
  61. package/tsparticles.configs.bundle.min.js.LICENSE.txt +1 -1
  62. package/tsparticles.configs.js +55 -15
  63. package/tsparticles.configs.min.js +1 -1
  64. package/tsparticles.configs.min.js.LICENSE.txt +1 -1
  65. package/types/e/effectTrailTransform.d.ts +3 -0
  66. package/types/e/index.d.ts +1 -0
  67. package/types/index.d.ts +4 -0
  68. package/types/r/index.d.ts +1 -0
  69. package/types/r/randomShapes.d.ts +3 -0
  70. package/types/s/index.d.ts +1 -0
  71. package/types/s/shapeInfinity.d.ts +3 -0
  72. package/types/w/index.d.ts +1 -0
  73. package/types/w/wobbleBig.d.ts +3 -0
  74. package/umd/c/clickConfetti.js +0 -1
  75. package/umd/e/effectTrailTransform.js +69 -0
  76. package/umd/e/emitterSpawnColor.js +7 -6
  77. package/umd/e/index.js +3 -1
  78. package/umd/f/fireworks.js +4 -2
  79. package/umd/f/fireworks2.js +3 -2
  80. package/umd/g/gradients.js +10 -9
  81. package/umd/i/imagesDirections.js +4 -3
  82. package/umd/m/mouseTrailNoise.js +0 -1
  83. package/umd/p/pop.js +3 -2
  84. package/umd/r/index.js +3 -1
  85. package/umd/r/randomShapes.js +429 -0
  86. package/umd/s/index.js +3 -1
  87. package/umd/s/shapeEmoji.js +7 -7
  88. package/umd/s/shapeInfinity.js +100 -0
  89. package/umd/t/tilt.js +0 -4
  90. package/umd/w/index.js +3 -1
  91. package/umd/w/wobble.js +0 -1
  92. package/umd/w/wobbleBig.js +151 -0
@@ -1 +1 @@
1
- /*! tsParticles Configs v3.2.2 by Matteo Bruni */
1
+ /*! tsParticles Configs v3.4.0 by Matteo Bruni */
@@ -0,0 +1,3 @@
1
+ import type { ISourceOptions } from "@tsparticles/engine";
2
+ declare const options: ISourceOptions;
3
+ export default options;
@@ -1,6 +1,7 @@
1
1
  declare const _default: {
2
2
  effectBubble: import("@tsparticles/engine").RecursivePartial<import("@tsparticles/engine").IOptions>;
3
3
  effectTrail: import("@tsparticles/engine").RecursivePartial<import("@tsparticles/engine").IOptions>;
4
+ effectTrailTransform: import("@tsparticles/engine").RecursivePartial<import("@tsparticles/engine").IOptions>;
4
5
  emitter: import("@tsparticles/engine").RecursivePartial<import("@tsparticles/engine").IOptions>;
5
6
  emitterAbsorber: import("@tsparticles/engine").RecursivePartial<import("@tsparticles/engine").IOptions>;
6
7
  emitterAngled: import("@tsparticles/engine").RecursivePartial<import("@tsparticles/engine").IOptions>;
package/types/index.d.ts CHANGED
@@ -2,6 +2,7 @@ declare const configs: {
2
2
  zIndex: import("@tsparticles/engine").RecursivePartial<import("@tsparticles/engine").IOptions>;
3
3
  warp: import("@tsparticles/engine").RecursivePartial<import("@tsparticles/engine").IOptions>;
4
4
  wobble: import("@tsparticles/engine").RecursivePartial<import("@tsparticles/engine").IOptions>;
5
+ wobbleBig: import("@tsparticles/engine").RecursivePartial<import("@tsparticles/engine").IOptions>;
5
6
  vibrate: import("@tsparticles/engine").RecursivePartial<import("@tsparticles/engine").IOptions>;
6
7
  virus: import("@tsparticles/engine").RecursivePartial<import("@tsparticles/engine").IOptions>;
7
8
  test: import("@tsparticles/engine").RecursivePartial<import("@tsparticles/engine").IOptions>;
@@ -19,6 +20,7 @@ declare const configs: {
19
20
  shapeCog: import("@tsparticles/engine").RecursivePartial<import("@tsparticles/engine").IOptions>;
20
21
  shapeEmoji: import("@tsparticles/engine").RecursivePartial<import("@tsparticles/engine").IOptions>;
21
22
  shapeHeart: import("@tsparticles/engine").RecursivePartial<import("@tsparticles/engine").IOptions>;
23
+ shapeInfinity: import("@tsparticles/engine").RecursivePartial<import("@tsparticles/engine").IOptions>;
22
24
  shapeMultilineText: import("@tsparticles/engine").RecursivePartial<import("@tsparticles/engine").IOptions>;
23
25
  shapeOptions: import("@tsparticles/engine").RecursivePartial<import("@tsparticles/engine").IOptions>;
24
26
  shapePath: import("@tsparticles/engine").RecursivePartial<import("@tsparticles/engine").IOptions>;
@@ -39,6 +41,7 @@ declare const configs: {
39
41
  style: import("@tsparticles/engine").RecursivePartial<import("@tsparticles/engine").IOptions>;
40
42
  svgReplace: import("@tsparticles/engine").RecursivePartial<import("@tsparticles/engine").IOptions>;
41
43
  random: import("@tsparticles/engine").RecursivePartial<import("@tsparticles/engine").IOptions>;
44
+ randomShapes: import("@tsparticles/engine").RecursivePartial<import("@tsparticles/engine").IOptions>;
42
45
  reactBubbles: import("@tsparticles/engine").RecursivePartial<import("@tsparticles/engine").IOptions>;
43
46
  reactDefaults: import("@tsparticles/engine").RecursivePartial<import("@tsparticles/engine").IOptions>;
44
47
  reactMultipleImages: import("@tsparticles/engine").RecursivePartial<import("@tsparticles/engine").IOptions>;
@@ -112,6 +115,7 @@ declare const configs: {
112
115
  forward: import("@tsparticles/engine").RecursivePartial<import("@tsparticles/engine").IOptions>;
113
116
  effectBubble: import("@tsparticles/engine").RecursivePartial<import("@tsparticles/engine").IOptions>;
114
117
  effectTrail: import("@tsparticles/engine").RecursivePartial<import("@tsparticles/engine").IOptions>;
118
+ effectTrailTransform: import("@tsparticles/engine").RecursivePartial<import("@tsparticles/engine").IOptions>;
115
119
  emitter: import("@tsparticles/engine").RecursivePartial<import("@tsparticles/engine").IOptions>;
116
120
  emitterAbsorber: import("@tsparticles/engine").RecursivePartial<import("@tsparticles/engine").IOptions>;
117
121
  emitterAngled: import("@tsparticles/engine").RecursivePartial<import("@tsparticles/engine").IOptions>;
@@ -1,5 +1,6 @@
1
1
  declare const _default: {
2
2
  random: import("@tsparticles/engine").RecursivePartial<import("@tsparticles/engine").IOptions>;
3
+ randomShapes: import("@tsparticles/engine").RecursivePartial<import("@tsparticles/engine").IOptions>;
3
4
  reactBubbles: import("@tsparticles/engine").RecursivePartial<import("@tsparticles/engine").IOptions>;
4
5
  reactDefaults: import("@tsparticles/engine").RecursivePartial<import("@tsparticles/engine").IOptions>;
5
6
  reactMultipleImages: import("@tsparticles/engine").RecursivePartial<import("@tsparticles/engine").IOptions>;
@@ -0,0 +1,3 @@
1
+ import type { ISourceOptions } from "@tsparticles/engine";
2
+ declare const options: ISourceOptions;
3
+ export default options;
@@ -5,6 +5,7 @@ declare const _default: {
5
5
  shapeCog: import("@tsparticles/engine").RecursivePartial<import("@tsparticles/engine").IOptions>;
6
6
  shapeEmoji: import("@tsparticles/engine").RecursivePartial<import("@tsparticles/engine").IOptions>;
7
7
  shapeHeart: import("@tsparticles/engine").RecursivePartial<import("@tsparticles/engine").IOptions>;
8
+ shapeInfinity: import("@tsparticles/engine").RecursivePartial<import("@tsparticles/engine").IOptions>;
8
9
  shapeMultilineText: import("@tsparticles/engine").RecursivePartial<import("@tsparticles/engine").IOptions>;
9
10
  shapeOptions: import("@tsparticles/engine").RecursivePartial<import("@tsparticles/engine").IOptions>;
10
11
  shapePath: import("@tsparticles/engine").RecursivePartial<import("@tsparticles/engine").IOptions>;
@@ -0,0 +1,3 @@
1
+ import type { ISourceOptions } from "@tsparticles/engine";
2
+ declare const options: ISourceOptions;
3
+ export default options;
@@ -1,5 +1,6 @@
1
1
  declare const _default: {
2
2
  warp: import("@tsparticles/engine").RecursivePartial<import("@tsparticles/engine").IOptions>;
3
3
  wobble: import("@tsparticles/engine").RecursivePartial<import("@tsparticles/engine").IOptions>;
4
+ wobbleBig: import("@tsparticles/engine").RecursivePartial<import("@tsparticles/engine").IOptions>;
4
5
  };
5
6
  export default _default;
@@ -0,0 +1,3 @@
1
+ import type { ISourceOptions } from "@tsparticles/engine";
2
+ declare const options: ISourceOptions;
3
+ export default options;
@@ -139,7 +139,6 @@
139
139
  tilt: {
140
140
  direction: "random",
141
141
  enable: true,
142
- move: true,
143
142
  value: {
144
143
  min: 0,
145
144
  max: 360,
@@ -0,0 +1,69 @@
1
+ (function (factory) {
2
+ if (typeof module === "object" && typeof module.exports === "object") {
3
+ var v = factory(require, exports);
4
+ if (v !== undefined) module.exports = v;
5
+ }
6
+ else if (typeof define === "function" && define.amd) {
7
+ define(["require", "exports"], factory);
8
+ }
9
+ })(function (require, exports) {
10
+ "use strict";
11
+ Object.defineProperty(exports, "__esModule", { value: true });
12
+ const options = {
13
+ key: "effectTrailTransform",
14
+ name: "Effect Trail Transform",
15
+ particles: {
16
+ number: {
17
+ value: 80,
18
+ density: {
19
+ enable: true,
20
+ },
21
+ },
22
+ color: {
23
+ value: "#ff0000",
24
+ animation: {
25
+ enable: true,
26
+ speed: 360,
27
+ sync: true,
28
+ },
29
+ },
30
+ effect: {
31
+ type: "trail",
32
+ options: {
33
+ trail: {
34
+ fade: true,
35
+ length: {
36
+ min: 10,
37
+ max: 30,
38
+ },
39
+ transform: true,
40
+ },
41
+ },
42
+ },
43
+ shape: {
44
+ type: "square",
45
+ },
46
+ size: {
47
+ value: 10,
48
+ },
49
+ move: {
50
+ enable: true,
51
+ speed: { min: 6, max: 15 },
52
+ },
53
+ tilt: {
54
+ direction: "random",
55
+ enable: true,
56
+ value: { min: 0, max: 360 },
57
+ animation: {
58
+ enable: true,
59
+ speed: 60,
60
+ sync: true,
61
+ },
62
+ },
63
+ },
64
+ background: {
65
+ color: "#000000",
66
+ },
67
+ };
68
+ exports.default = options;
69
+ });
@@ -4,11 +4,12 @@
4
4
  if (v !== undefined) module.exports = v;
5
5
  }
6
6
  else if (typeof define === "function" && define.amd) {
7
- define(["require", "exports"], factory);
7
+ define(["require", "exports", "@tsparticles/engine"], factory);
8
8
  }
9
9
  })(function (require, exports) {
10
10
  "use strict";
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
+ const engine_1 = require("@tsparticles/engine");
12
13
  const emitterRate = {
13
14
  delay: 0.1,
14
15
  quantity: 2,
@@ -48,7 +49,7 @@
48
49
  rate: emitterRate,
49
50
  particles: {
50
51
  move: {
51
- direction: "bottom-right",
52
+ direction: engine_1.MoveDirection.bottomRight,
52
53
  },
53
54
  },
54
55
  spawnColor: {
@@ -69,7 +70,7 @@
69
70
  rate: emitterRate,
70
71
  particles: {
71
72
  move: {
72
- direction: "top-right",
73
+ direction: engine_1.MoveDirection.topRight,
73
74
  },
74
75
  },
75
76
  spawnColor: {
@@ -94,7 +95,7 @@
94
95
  rate: emitterRate,
95
96
  particles: {
96
97
  move: {
97
- direction: "bottom-left",
98
+ direction: engine_1.MoveDirection.bottomLeft,
98
99
  },
99
100
  },
100
101
  spawnColor: {
@@ -119,7 +120,7 @@
119
120
  rate: emitterRate,
120
121
  particles: {
121
122
  move: {
122
- direction: "top-left",
123
+ direction: engine_1.MoveDirection.topLeft,
123
124
  },
124
125
  },
125
126
  spawnColor: {
@@ -148,7 +149,7 @@
148
149
  rate: emitterRate,
149
150
  particles: {
150
151
  move: {
151
- direction: "none",
152
+ direction: engine_1.MoveDirection.none,
152
153
  },
153
154
  },
154
155
  spawnColor: {
package/umd/e/index.js CHANGED
@@ -7,13 +7,14 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
7
7
  if (v !== undefined) module.exports = v;
8
8
  }
9
9
  else if (typeof define === "function" && define.amd) {
10
- define(["require", "exports", "./effectBubble.js", "./effectTrail.js", "./emitter.js", "./emitterAbsorber.js", "./emitterAngled.js", "./emitterImageShape.js", "./emitterImages.js", "./emitterPaths.js", "./emitterShapes.js", "./emitterSpawnColor.js", "./emitterTextShape.js", "./emitterTextStrokeShape.js"], factory);
10
+ define(["require", "exports", "./effectBubble.js", "./effectTrail.js", "./effectTrailTransform.js", "./emitter.js", "./emitterAbsorber.js", "./emitterAngled.js", "./emitterImageShape.js", "./emitterImages.js", "./emitterPaths.js", "./emitterShapes.js", "./emitterSpawnColor.js", "./emitterTextShape.js", "./emitterTextStrokeShape.js"], factory);
11
11
  }
12
12
  })(function (require, exports) {
13
13
  "use strict";
14
14
  Object.defineProperty(exports, "__esModule", { value: true });
15
15
  const effectBubble_js_1 = __importDefault(require("./effectBubble.js"));
16
16
  const effectTrail_js_1 = __importDefault(require("./effectTrail.js"));
17
+ const effectTrailTransform_js_1 = __importDefault(require("./effectTrailTransform.js"));
17
18
  const emitter_js_1 = __importDefault(require("./emitter.js"));
18
19
  const emitterAbsorber_js_1 = __importDefault(require("./emitterAbsorber.js"));
19
20
  const emitterAngled_js_1 = __importDefault(require("./emitterAngled.js"));
@@ -27,6 +28,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
27
28
  exports.default = {
28
29
  effectBubble: effectBubble_js_1.default,
29
30
  effectTrail: effectTrail_js_1.default,
31
+ effectTrailTransform: effectTrailTransform_js_1.default,
30
32
  emitter: emitter_js_1.default,
31
33
  emitterAbsorber: emitterAbsorber_js_1.default,
32
34
  emitterAngled: emitterAngled_js_1.default,
@@ -4,11 +4,12 @@
4
4
  if (v !== undefined) module.exports = v;
5
5
  }
6
6
  else if (typeof define === "function" && define.amd) {
7
- define(["require", "exports"], factory);
7
+ define(["require", "exports", "@tsparticles/engine"], factory);
8
8
  }
9
9
  })(function (require, exports) {
10
10
  "use strict";
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
+ const engine_1 = require("@tsparticles/engine");
12
13
  const options = {
13
14
  key: "fireworks",
14
15
  name: "Fireworks",
@@ -148,6 +149,7 @@
148
149
  width: 1,
149
150
  },
150
151
  rotate: {
152
+ enable: true,
151
153
  path: true,
152
154
  },
153
155
  move: {
@@ -177,7 +179,7 @@
177
179
  enable: true,
178
180
  events: [
179
181
  {
180
- event: "particleRemoved",
182
+ event: engine_1.EventType.particleRemoved,
181
183
  filter: (args) => args.data.particle.options.move.gravity.inverse,
182
184
  audio: [
183
185
  "https://particles.js.org/audio/explosion0.mp3",
@@ -4,11 +4,12 @@
4
4
  if (v !== undefined) module.exports = v;
5
5
  }
6
6
  else if (typeof define === "function" && define.amd) {
7
- define(["require", "exports"], factory);
7
+ define(["require", "exports", "@tsparticles/engine"], factory);
8
8
  }
9
9
  })(function (require, exports) {
10
10
  "use strict";
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
+ const engine_1 = require("@tsparticles/engine");
12
13
  const options = {
13
14
  key: "fireworks2",
14
15
  name: "Fireworks 2",
@@ -190,7 +191,7 @@
190
191
  enable: true,
191
192
  events: [
192
193
  {
193
- event: "particleRemoved",
194
+ event: engine_1.EventType.particleRemoved,
194
195
  filter: (args) => args.data.particle.options.move.gravity.inverse,
195
196
  audio: [
196
197
  "https://particles.js.org/audio/explosion0.mp3",
@@ -4,11 +4,12 @@
4
4
  if (v !== undefined) module.exports = v;
5
5
  }
6
6
  else if (typeof define === "function" && define.amd) {
7
- define(["require", "exports"], factory);
7
+ define(["require", "exports", "@tsparticles/engine"], factory);
8
8
  }
9
9
  })(function (require, exports) {
10
10
  "use strict";
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
+ const engine_1 = require("@tsparticles/engine");
12
13
  const options = {
13
14
  key: "gradients",
14
15
  name: "Gradients",
@@ -18,7 +19,7 @@
18
19
  },
19
20
  gradient: [
20
21
  {
21
- type: "radial",
22
+ type: engine_1.GradientType.radial,
22
23
  colors: [
23
24
  {
24
25
  stop: 0.25,
@@ -32,7 +33,7 @@
32
33
  ],
33
34
  },
34
35
  {
35
- type: "radial",
36
+ type: engine_1.GradientType.radial,
36
37
  colors: [
37
38
  {
38
39
  stop: 0.25,
@@ -46,7 +47,7 @@
46
47
  ],
47
48
  },
48
49
  {
49
- type: "radial",
50
+ type: engine_1.GradientType.radial,
50
51
  colors: [
51
52
  {
52
53
  stop: 0.25,
@@ -60,7 +61,7 @@
60
61
  ],
61
62
  },
62
63
  {
63
- type: "radial",
64
+ type: engine_1.GradientType.radial,
64
65
  colors: [
65
66
  {
66
67
  stop: 0.25,
@@ -74,7 +75,7 @@
74
75
  ],
75
76
  },
76
77
  {
77
- type: "radial",
78
+ type: engine_1.GradientType.radial,
78
79
  colors: [
79
80
  {
80
81
  stop: 0.25,
@@ -88,7 +89,7 @@
88
89
  ],
89
90
  },
90
91
  {
91
- type: "radial",
92
+ type: engine_1.GradientType.radial,
92
93
  colors: [
93
94
  {
94
95
  stop: 0.25,
@@ -131,10 +132,10 @@
131
132
  ],
132
133
  },
133
134
  {
134
- type: "linear",
135
+ type: engine_1.GradientType.linear,
135
136
  angle: {
136
137
  value: 0,
137
- direction: "random",
138
+ direction: engine_1.RotateDirection.random,
138
139
  animation: {
139
140
  enable: true,
140
141
  speed: 60,
@@ -4,11 +4,12 @@
4
4
  if (v !== undefined) module.exports = v;
5
5
  }
6
6
  else if (typeof define === "function" && define.amd) {
7
- define(["require", "exports"], factory);
7
+ define(["require", "exports", "@tsparticles/engine"], factory);
8
8
  }
9
9
  })(function (require, exports) {
10
10
  "use strict";
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
+ const engine_1 = require("@tsparticles/engine");
12
13
  const options = {
13
14
  key: "imagesDirections",
14
15
  name: "Images with Custom Directions",
@@ -72,7 +73,7 @@
72
73
  height: 32,
73
74
  particles: {
74
75
  move: {
75
- direction: "top",
76
+ direction: engine_1.MoveDirection.top,
76
77
  },
77
78
  },
78
79
  },
@@ -82,7 +83,7 @@
82
83
  height: 32,
83
84
  particles: {
84
85
  move: {
85
- direction: "bottom",
86
+ direction: engine_1.MoveDirection.bottom,
86
87
  },
87
88
  },
88
89
  },
@@ -74,7 +74,6 @@
74
74
  tilt: {
75
75
  direction: "random",
76
76
  enable: true,
77
- move: true,
78
77
  value: {
79
78
  min: 0,
80
79
  max: 360,
package/umd/p/pop.js CHANGED
@@ -4,11 +4,12 @@
4
4
  if (v !== undefined) module.exports = v;
5
5
  }
6
6
  else if (typeof define === "function" && define.amd) {
7
- define(["require", "exports"], factory);
7
+ define(["require", "exports", "@tsparticles/engine"], factory);
8
8
  }
9
9
  })(function (require, exports) {
10
10
  "use strict";
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
+ const engine_1 = require("@tsparticles/engine");
12
13
  const options = {
13
14
  key: "pop",
14
15
  name: "Pop",
@@ -16,7 +17,7 @@
16
17
  number: {
17
18
  limit: {
18
19
  value: 80,
19
- mode: "wait",
20
+ mode: engine_1.LimitMode.wait,
20
21
  },
21
22
  value: 80,
22
23
  },
package/umd/r/index.js CHANGED
@@ -7,12 +7,13 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
7
7
  if (v !== undefined) module.exports = v;
8
8
  }
9
9
  else if (typeof define === "function" && define.amd) {
10
- define(["require", "exports", "./random.js", "./reactBubbles.js", "./reactDefaults.js", "./reactMultipleImages.js", "./reactNightSky.js", "./reactPolygonMask.js", "./reactSimple.js", "./reactSnow.js", "./reduceDuplicates.js", "./repulse.js", "./repulseBack.js", "./repulseCirc.js", "./repulseCubic.js", "./repulseExpo.js", "./repulseQuart.js", "./repulseQuint.js", "./repulseSine.js", "./responsive.js", "./ring.js"], factory);
10
+ define(["require", "exports", "./random.js", "./randomShapes.js", "./reactBubbles.js", "./reactDefaults.js", "./reactMultipleImages.js", "./reactNightSky.js", "./reactPolygonMask.js", "./reactSimple.js", "./reactSnow.js", "./reduceDuplicates.js", "./repulse.js", "./repulseBack.js", "./repulseCirc.js", "./repulseCubic.js", "./repulseExpo.js", "./repulseQuart.js", "./repulseQuint.js", "./repulseSine.js", "./responsive.js", "./ring.js"], factory);
11
11
  }
12
12
  })(function (require, exports) {
13
13
  "use strict";
14
14
  Object.defineProperty(exports, "__esModule", { value: true });
15
15
  const random_js_1 = __importDefault(require("./random.js"));
16
+ const randomShapes_js_1 = __importDefault(require("./randomShapes.js"));
16
17
  const reactBubbles_js_1 = __importDefault(require("./reactBubbles.js"));
17
18
  const reactDefaults_js_1 = __importDefault(require("./reactDefaults.js"));
18
19
  const reactMultipleImages_js_1 = __importDefault(require("./reactMultipleImages.js"));
@@ -33,6 +34,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
33
34
  const ring_js_1 = __importDefault(require("./ring.js"));
34
35
  exports.default = {
35
36
  random: random_js_1.default,
37
+ randomShapes: randomShapes_js_1.default,
36
38
  reactBubbles: reactBubbles_js_1.default,
37
39
  reactDefaults: reactDefaults_js_1.default,
38
40
  reactMultipleImages: reactMultipleImages_js_1.default,