@tsparticles/preset-big-circles 3.0.0-beta.1 → 3.0.0-beta.4

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/index.js CHANGED
@@ -1,8 +1,10 @@
1
1
  import { loadBasic } from "@tsparticles/basic";
2
2
  import { loadEmittersPlugin } from "@tsparticles/plugin-emitters";
3
+ import { loadEmittersShapeSquare } from "@tsparticles/plugin-emitters-shape-square";
3
4
  import { options } from "./options";
4
5
  export async function loadBigCirclesPreset(engine, refresh = true) {
5
6
  await loadBasic(engine, false);
7
+ await loadEmittersShapeSquare(engine, false);
6
8
  await loadEmittersPlugin(engine, false);
7
9
  await engine.addPreset("bigCircles", options, false);
8
10
  await engine.addPreset("big-circles", options, refresh);
@@ -14,7 +14,7 @@ export const options = {
14
14
  type: "circle",
15
15
  },
16
16
  opacity: {
17
- value: 0.5,
17
+ value: { min: 0.4, max: 0.8 },
18
18
  },
19
19
  size: {
20
20
  value: { min: 200, max: 400 },
package/cjs/index.js CHANGED
@@ -3,9 +3,11 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.loadBigCirclesPreset = void 0;
4
4
  const basic_1 = require("@tsparticles/basic");
5
5
  const plugin_emitters_1 = require("@tsparticles/plugin-emitters");
6
+ const plugin_emitters_shape_square_1 = require("@tsparticles/plugin-emitters-shape-square");
6
7
  const options_1 = require("./options");
7
8
  async function loadBigCirclesPreset(engine, refresh = true) {
8
9
  await (0, basic_1.loadBasic)(engine, false);
10
+ await (0, plugin_emitters_shape_square_1.loadEmittersShapeSquare)(engine, false);
9
11
  await (0, plugin_emitters_1.loadEmittersPlugin)(engine, false);
10
12
  await engine.addPreset("bigCircles", options_1.options, false);
11
13
  await engine.addPreset("big-circles", options_1.options, refresh);
package/cjs/options.js CHANGED
@@ -17,7 +17,7 @@ exports.options = {
17
17
  type: "circle",
18
18
  },
19
19
  opacity: {
20
- value: 0.5,
20
+ value: { min: 0.4, max: 0.8 },
21
21
  },
22
22
  size: {
23
23
  value: { min: 200, max: 400 },
package/esm/index.js CHANGED
@@ -1,8 +1,10 @@
1
1
  import { loadBasic } from "@tsparticles/basic";
2
2
  import { loadEmittersPlugin } from "@tsparticles/plugin-emitters";
3
+ import { loadEmittersShapeSquare } from "@tsparticles/plugin-emitters-shape-square";
3
4
  import { options } from "./options";
4
5
  export async function loadBigCirclesPreset(engine, refresh = true) {
5
6
  await loadBasic(engine, false);
7
+ await loadEmittersShapeSquare(engine, false);
6
8
  await loadEmittersPlugin(engine, false);
7
9
  await engine.addPreset("bigCircles", options, false);
8
10
  await engine.addPreset("big-circles", options, refresh);
package/esm/options.js CHANGED
@@ -14,7 +14,7 @@ export const options = {
14
14
  type: "circle",
15
15
  },
16
16
  opacity: {
17
- value: 0.5,
17
+ value: { min: 0.4, max: 0.8 },
18
18
  },
19
19
  size: {
20
20
  value: { min: 200, max: 400 },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tsparticles/preset-big-circles",
3
- "version": "3.0.0-beta.1",
3
+ "version": "3.0.0-beta.4",
4
4
  "description": "tsParticles big circles preset",
5
5
  "homepage": "https://particles.js.org",
6
6
  "repository": {
@@ -60,7 +60,7 @@
60
60
  "confettijs",
61
61
  "fireworksjs",
62
62
  "canvas-confetti",
63
- "@tsparticles/preset"
63
+ "tsparticles-preset"
64
64
  ],
65
65
  "author": "Matteo Bruni <matteo.bruni@me.com>",
66
66
  "license": "MIT",
@@ -87,8 +87,12 @@
87
87
  "module": "esm/index.js",
88
88
  "types": "types/index.d.ts",
89
89
  "dependencies": {
90
- "@tsparticles/basic": "^3.0.0-beta.1",
91
- "@tsparticles/engine": "^3.0.0-beta.1",
92
- "@tsparticles/plugin-emitters": "^3.0.0-beta.1"
90
+ "@tsparticles/basic": "^3.0.0-beta.4",
91
+ "@tsparticles/engine": "^3.0.0-beta.4",
92
+ "@tsparticles/plugin-emitters": "^3.0.0-beta.4",
93
+ "@tsparticles/plugin-emitters-shape-square": "^3.0.0-beta.4"
94
+ },
95
+ "publishConfig": {
96
+ "access": "public"
93
97
  }
94
98
  }