@tsparticles/preset-squares 3.1.0 → 3.2.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.
@@ -1 +1 @@
1
- /*! tsParticles undefined Preset v3.1.0 by Matteo Bruni */
1
+ /*! tsParticles undefined Preset v3.2.0 by Matteo Bruni */
package/umd/index.js CHANGED
@@ -4,19 +4,21 @@
4
4
  if (v !== undefined) module.exports = v;
5
5
  }
6
6
  else if (typeof define === "function" && define.amd) {
7
- define(["require", "exports", "@tsparticles/plugin-emitters", "@tsparticles/updater-rotate", "@tsparticles/updater-size", "@tsparticles/shape-square", "@tsparticles/updater-stroke-color", "./options.js"], factory);
7
+ define(["require", "exports", "@tsparticles/plugin-emitters", "@tsparticles/plugin-hex-color", "@tsparticles/updater-rotate", "@tsparticles/updater-size", "@tsparticles/shape-square", "@tsparticles/updater-stroke-color", "./options.js"], factory);
8
8
  }
9
9
  })(function (require, exports) {
10
10
  "use strict";
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.loadSquaresPreset = void 0;
13
13
  const plugin_emitters_1 = require("@tsparticles/plugin-emitters");
14
+ const plugin_hex_color_1 = require("@tsparticles/plugin-hex-color");
14
15
  const updater_rotate_1 = require("@tsparticles/updater-rotate");
15
16
  const updater_size_1 = require("@tsparticles/updater-size");
16
17
  const shape_square_1 = require("@tsparticles/shape-square");
17
18
  const updater_stroke_color_1 = require("@tsparticles/updater-stroke-color");
18
19
  const options_js_1 = require("./options.js");
19
20
  async function loadSquaresPreset(engine, refresh = true) {
21
+ await (0, plugin_hex_color_1.loadHexColorPlugin)(engine, false);
20
22
  await (0, plugin_emitters_1.loadEmittersPlugin)(engine, false);
21
23
  await (0, shape_square_1.loadSquareShape)(engine, false);
22
24
  await (0, updater_rotate_1.loadRotateUpdater)(engine, false);