@tsparticles/preset-ambient 4.0.0-alpha.4 → 4.0.0-beta.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 (95) hide show
  1. package/172.min.js +1 -1
  2. package/{706.min.js → 188.min.js} +1 -1
  3. package/304.min.js +1 -0
  4. package/361.min.js +1 -0
  5. package/392.min.js +1 -0
  6. package/404.min.js +1 -0
  7. package/467.min.js +1 -0
  8. package/48.min.js +1 -0
  9. package/592.min.js +1 -0
  10. package/63.min.js +1 -0
  11. package/632.min.js +1 -0
  12. package/659.min.js +1 -0
  13. package/700.min.js +1 -0
  14. package/714.min.js +1 -0
  15. package/719.min.js +1 -0
  16. package/{104.min.js → 72.min.js} +1 -1
  17. package/74.min.js +1 -0
  18. package/750.min.js +1 -0
  19. package/857.min.js +1 -0
  20. package/86.min.js +1 -0
  21. package/892.min.js +1 -0
  22. package/957.min.js +1 -0
  23. package/README.md +40 -7
  24. package/browser/index.js +6 -6
  25. package/browser/options.js +21 -15
  26. package/cjs/index.js +6 -6
  27. package/cjs/options.js +21 -15
  28. package/dist_browser_options_js.js +2 -2
  29. package/esm/index.js +6 -6
  30. package/esm/options.js +21 -15
  31. package/node_modules_pnpm_tsparticles_basic_4_0_0-beta_11_node_modules_tsparticles_basic_browser_index_js.js +30 -0
  32. package/{node_modules_pnpm_tsparticles_plugin-hex-color_4_0_0-alpha_27_node_modules_tsparticles_plugin-5e1742.js → node_modules_pnpm_tsparticles_plugin-hex-color_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_1-5e0ff2.js} +7 -7
  33. package/{node_modules_pnpm_tsparticles_plugin-hex-color_4_0_0-alpha_27_node_modules_tsparticles_plugin-f33991.js → node_modules_pnpm_tsparticles_plugin-hex-color_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_1-b0d0ee.js} +7 -7
  34. package/node_modules_pnpm_tsparticles_plugin-hsl-color_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_1-060416.js +30 -0
  35. package/{node_modules_pnpm_tsparticles_plugin-hsl-color_4_0_0-alpha_27_node_modules_tsparticles_plugin-522221.js → node_modules_pnpm_tsparticles_plugin-hsl-color_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_1-a6d106.js} +7 -7
  36. package/{node_modules_pnpm_tsparticles_plugin-move_4_0_0-alpha_27_node_modules_tsparticles_plugin-move-719efb.js → node_modules_pnpm_tsparticles_plugin-move_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_11_nod-3a792b.js} +7 -7
  37. package/node_modules_pnpm_tsparticles_plugin-move_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_11_nod-e1bc4b.js +30 -0
  38. package/node_modules_pnpm_tsparticles_plugin-rgb-color_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_1-d9836d.js +30 -0
  39. package/{node_modules_pnpm_tsparticles_plugin-rgb-color_4_0_0-alpha_27_node_modules_tsparticles_plugin-3ced86.js → node_modules_pnpm_tsparticles_plugin-rgb-color_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_1-f22022.js} +7 -7
  40. package/node_modules_pnpm_tsparticles_shape-circle_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_11_no-7552ae.js +40 -0
  41. package/{node_modules_pnpm_tsparticles_shape-circle_4_0_0-alpha_27_node_modules_tsparticles_shape-circ-ba244d.js → node_modules_pnpm_tsparticles_shape-circle_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_11_no-b06fc7.js} +7 -7
  42. package/node_modules_pnpm_tsparticles_updater-opacity_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_11-8f9e09.js +30 -0
  43. package/{node_modules_pnpm_tsparticles_updater-opacity_4_0_0-alpha_27_node_modules_tsparticles_updater-434e81.js → node_modules_pnpm_tsparticles_updater-opacity_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_11-da77ce.js} +7 -7
  44. package/{node_modules_pnpm_tsparticles_updater-out-modes_4_0_0-alpha_27_node_modules_tsparticles_updat-bc74f0.js → node_modules_pnpm_tsparticles_updater-out-modes_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_-df7144.js} +7 -7
  45. package/node_modules_pnpm_tsparticles_updater-paint_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_11_n-589482.js +30 -0
  46. package/node_modules_pnpm_tsparticles_updater-paint_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_11_n-b1f330.js +30 -0
  47. package/node_modules_pnpm_tsparticles_updater-size_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_11_no-a47b81.js +30 -0
  48. package/{node_modules_pnpm_tsparticles_updater-size_4_0_0-alpha_27_node_modules_tsparticles_updater-si-40ad1f.js → node_modules_pnpm_tsparticles_updater-size_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_11_no-d2508a.js} +7 -7
  49. package/package.json +3 -4
  50. package/report.html +84 -29
  51. package/tsparticles.preset.ambient.bundle.js +324 -304
  52. package/tsparticles.preset.ambient.bundle.min.js +2 -2
  53. package/tsparticles.preset.ambient.js +6 -16
  54. package/tsparticles.preset.ambient.min.js +2 -2
  55. package/vendors-node_modules_pnpm_tsparticles_engine_4_0_0-beta_11_node_modules_tsparticles_engine_br-ca098e.js +100 -0
  56. package/vendors-node_modules_pnpm_tsparticles_plugin-move_4_0_0-beta_11__tsparticles_engine_4_0_0-bet-5f2b78.js +40 -0
  57. package/vendors-node_modules_pnpm_tsparticles_updater-out-modes_4_0_0-beta_11__tsparticles_engine_4_0-09fa1a.js +80 -0
  58. package/100.min.js +0 -1
  59. package/134.min.js +0 -1
  60. package/204.min.js +0 -1
  61. package/232.min.js +0 -1
  62. package/280.min.js +0 -1
  63. package/318.min.js +0 -1
  64. package/372.min.js +0 -1
  65. package/496.min.js +0 -1
  66. package/497.min.js +0 -1
  67. package/552.min.js +0 -1
  68. package/607.min.js +0 -1
  69. package/644.min.js +0 -1
  70. package/660.min.js +0 -1
  71. package/803.min.js +0 -1
  72. package/822.min.js +0 -1
  73. package/934.min.js +0 -1
  74. package/946.min.js +0 -1
  75. package/948.min.js +0 -1
  76. package/964.min.js +0 -1
  77. package/967.min.js +0 -1
  78. package/989.min.js +0 -1
  79. package/node_modules_pnpm_tsparticles_basic_4_0_0-alpha_27_node_modules_tsparticles_basic_browser_index_js.js +0 -30
  80. package/node_modules_pnpm_tsparticles_plugin-hsl-color_4_0_0-alpha_27_node_modules_tsparticles_plugin-876e57.js +0 -30
  81. package/node_modules_pnpm_tsparticles_plugin-move_4_0_0-alpha_27_node_modules_tsparticles_plugin-move-98e311.js +0 -30
  82. package/node_modules_pnpm_tsparticles_plugin-rgb-color_4_0_0-alpha_27_node_modules_tsparticles_plugin-aa1c52.js +0 -30
  83. package/node_modules_pnpm_tsparticles_shape-circle_4_0_0-alpha_27_node_modules_tsparticles_shape-circ-7efda1.js +0 -40
  84. package/node_modules_pnpm_tsparticles_updater-fill-color_4_0_0-alpha_27_node_modules_tsparticles_upda-088bee.js +0 -30
  85. package/node_modules_pnpm_tsparticles_updater-fill-color_4_0_0-alpha_27_node_modules_tsparticles_upda-98be88.js +0 -30
  86. package/node_modules_pnpm_tsparticles_updater-opacity_4_0_0-alpha_27_node_modules_tsparticles_updater-fce93f.js +0 -30
  87. package/node_modules_pnpm_tsparticles_updater-size_4_0_0-alpha_27_node_modules_tsparticles_updater-si-df0fa5.js +0 -30
  88. package/node_modules_pnpm_tsparticles_updater-stroke-color_4_0_0-alpha_27_node_modules_tsparticles_up-41a0dd.js +0 -30
  89. package/node_modules_pnpm_tsparticles_updater-stroke-color_4_0_0-alpha_27_node_modules_tsparticles_up-859324.js +0 -30
  90. package/umd/bundle.js +0 -17
  91. package/umd/index.js +0 -60
  92. package/umd/options.js +0 -109
  93. package/vendors-node_modules_pnpm_tsparticles_engine_4_0_0-alpha_27_node_modules_tsparticles_engine_b-6aa2dd.js +0 -90
  94. package/vendors-node_modules_pnpm_tsparticles_plugin-move_4_0_0-alpha_27_node_modules_tsparticles_plu-fcaeb5.js +0 -40
  95. package/vendors-node_modules_pnpm_tsparticles_updater-out-modes_4_0_0-alpha_27_node_modules_tsparticl-3a4a31.js +0 -80
@@ -0,0 +1,30 @@
1
+ /*!
2
+ * Author : Matteo Bruni
3
+ * MIT license: https://opensource.org/licenses/MIT
4
+ * Demo / Generator : https://particles.js.org/
5
+ * GitHub : https://www.github.com/matteobruni/tsparticles
6
+ * How to use? : Check the GitHub README
7
+ * v4.0.0-beta.0
8
+ */
9
+ "use strict";
10
+ /*
11
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
12
+ * This devtool is neither made for production nor for readable output files.
13
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
14
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
15
+ * or disable the default devtool with "devtool: false".
16
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
17
+ */
18
+ (this["webpackChunk_tsparticles_preset_ambient"] = this["webpackChunk_tsparticles_preset_ambient"] || []).push([["node_modules_pnpm_tsparticles_updater-size_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_11_no-a47b81"],{
19
+
20
+ /***/ "../../node_modules/.pnpm/@tsparticles+updater-size@4.0.0-beta.11_@tsparticles+engine@4.0.0-beta.11/node_modules/@tsparticles/updater-size/browser/SizeUpdater.js"
21
+ /*!************************************************************************************************************************************************************************!*\
22
+ !*** ../../node_modules/.pnpm/@tsparticles+updater-size@4.0.0-beta.11_@tsparticles+engine@4.0.0-beta.11/node_modules/@tsparticles/updater-size/browser/SizeUpdater.js ***!
23
+ \************************************************************************************************************************************************************************/
24
+ (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
25
+
26
+ eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ SizeUpdater: () => (/* binding */ SizeUpdater)\n/* harmony export */ });\n/* harmony import */ var _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @tsparticles/engine */ \"../../node_modules/.pnpm/@tsparticles+engine@4.0.0-beta.11/node_modules/@tsparticles/engine/browser/index.js\");\n\nconst minLoops = 0;\nclass SizeUpdater {\n _container;\n constructor(container) {\n this._container = container;\n }\n init(particle) {\n const container = this._container, sizeOptions = particle.options.size, sizeAnimation = sizeOptions.animation;\n if (sizeAnimation.enable) {\n particle.size.velocity =\n (particle.retina.sizeAnimationSpeed / _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.percentDenominator) * container.retina.reduceFactor;\n if (!sizeAnimation.sync) {\n particle.size.velocity *= (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.getRandom)();\n }\n }\n }\n isEnabled(particle) {\n return (!particle.destroyed &&\n !particle.spawning &&\n particle.size.enable &&\n ((particle.size.maxLoops ?? minLoops) <= minLoops ||\n ((particle.size.maxLoops ?? minLoops) > minLoops &&\n (particle.size.loops ?? minLoops) < (particle.size.maxLoops ?? minLoops))));\n }\n reset(particle) {\n particle.size.time = 0;\n particle.size.loops = 0;\n }\n update(particle, delta) {\n if (!this.isEnabled(particle)) {\n return;\n }\n (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.updateAnimation)(particle, particle.size, true, particle.options.size.animation.destroy, delta);\n }\n}\n\n\n//# sourceURL=webpack://@tsparticles/preset-ambient/../../node_modules/.pnpm/@tsparticles+updater-size@4.0.0-beta.11_@tsparticles+engine@4.0.0-beta.11/node_modules/@tsparticles/updater-size/browser/SizeUpdater.js?\n}");
27
+
28
+ /***/ }
29
+
30
+ }]);
@@ -4,7 +4,7 @@
4
4
  * Demo / Generator : https://particles.js.org/
5
5
  * GitHub : https://www.github.com/matteobruni/tsparticles
6
6
  * How to use? : Check the GitHub README
7
- * v4.0.0-alpha.4
7
+ * v4.0.0-beta.0
8
8
  */
9
9
  "use strict";
10
10
  /*
@@ -15,15 +15,15 @@
15
15
  * or disable the default devtool with "devtool: false".
16
16
  * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
17
17
  */
18
- (this["webpackChunk_tsparticles_preset_ambient"] = this["webpackChunk_tsparticles_preset_ambient"] || []).push([["node_modules_pnpm_tsparticles_updater-size_4_0_0-alpha_27_node_modules_tsparticles_updater-si-40ad1f"],{
18
+ (this["webpackChunk_tsparticles_preset_ambient"] = this["webpackChunk_tsparticles_preset_ambient"] || []).push([["node_modules_pnpm_tsparticles_updater-size_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_11_no-d2508a"],{
19
19
 
20
- /***/ "../../node_modules/.pnpm/@tsparticles+updater-size@4.0.0-alpha.27/node_modules/@tsparticles/updater-size/browser/index.js"
21
- /*!*********************************************************************************************************************************!*\
22
- !*** ../../node_modules/.pnpm/@tsparticles+updater-size@4.0.0-alpha.27/node_modules/@tsparticles/updater-size/browser/index.js ***!
23
- \*********************************************************************************************************************************/
20
+ /***/ "../../node_modules/.pnpm/@tsparticles+updater-size@4.0.0-beta.11_@tsparticles+engine@4.0.0-beta.11/node_modules/@tsparticles/updater-size/browser/index.js"
21
+ /*!******************************************************************************************************************************************************************!*\
22
+ !*** ../../node_modules/.pnpm/@tsparticles+updater-size@4.0.0-beta.11_@tsparticles+engine@4.0.0-beta.11/node_modules/@tsparticles/updater-size/browser/index.js ***!
23
+ \******************************************************************************************************************************************************************/
24
24
  (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
25
25
 
26
- eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ loadSizeUpdater: () => (/* binding */ loadSizeUpdater)\n/* harmony export */ });\nasync function loadSizeUpdater(engine) {\n engine.checkVersion(\"4.0.0-alpha.27\");\n await engine.register(e => {\n e.addParticleUpdater(\"size\", async () => {\n const { SizeUpdater } = await __webpack_require__.e(/*! import() */ \"node_modules_pnpm_tsparticles_updater-size_4_0_0-alpha_27_node_modules_tsparticles_updater-si-df0fa5\").then(__webpack_require__.bind(__webpack_require__, /*! ./SizeUpdater.js */ \"../../node_modules/.pnpm/@tsparticles+updater-size@4.0.0-alpha.27/node_modules/@tsparticles/updater-size/browser/SizeUpdater.js\"));\n return new SizeUpdater();\n });\n });\n}\n\n\n//# sourceURL=webpack://@tsparticles/preset-ambient/../../node_modules/.pnpm/@tsparticles+updater-size@4.0.0-alpha.27/node_modules/@tsparticles/updater-size/browser/index.js?\n}");
26
+ eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ loadSizeUpdater: () => (/* binding */ loadSizeUpdater)\n/* harmony export */ });\nasync function loadSizeUpdater(engine) {\n engine.checkVersion(\"4.0.0-beta.11\");\n await engine.pluginManager.register(e => {\n e.pluginManager.addParticleUpdater(\"size\", async (container) => {\n const { SizeUpdater } = await __webpack_require__.e(/*! import() */ \"node_modules_pnpm_tsparticles_updater-size_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_11_no-a47b81\").then(__webpack_require__.bind(__webpack_require__, /*! ./SizeUpdater.js */ \"../../node_modules/.pnpm/@tsparticles+updater-size@4.0.0-beta.11_@tsparticles+engine@4.0.0-beta.11/node_modules/@tsparticles/updater-size/browser/SizeUpdater.js\"));\n return new SizeUpdater(container);\n });\n });\n}\n\n\n//# sourceURL=webpack://@tsparticles/preset-ambient/../../node_modules/.pnpm/@tsparticles+updater-size@4.0.0-beta.11_@tsparticles+engine@4.0.0-beta.11/node_modules/@tsparticles/updater-size/browser/index.js?\n}");
27
27
 
28
28
  /***/ }
29
29
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tsparticles/preset-ambient",
3
- "version": "4.0.0-alpha.4",
3
+ "version": "4.0.0-beta.0",
4
4
  "description": "tsParticles ambient preset",
5
5
  "homepage": "https://particles.js.org",
6
6
  "repository": {
@@ -99,9 +99,8 @@
99
99
  "./package.json": "./package.json"
100
100
  },
101
101
  "dependencies": {
102
- "@tsparticles/basic": "^4.0.0-alpha.27",
103
- "@tsparticles/engine": "^4.0.0-alpha.27",
104
- "@tsparticles/updater-stroke-color": "^4.0.0-alpha.27"
102
+ "@tsparticles/basic": "^4.0.0-beta.11",
103
+ "@tsparticles/engine": "^4.0.0-beta.11"
105
104
  },
106
105
  "publishConfig": {
107
106
  "access": "public"