@tsparticles/preset-triangles 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.
- package/browser/browser.js +5 -0
- package/browser/bundle.js +4 -0
- package/browser/index.js +5 -6
- package/browser/index.lazy.js +19 -0
- package/cjs/browser.js +5 -0
- package/cjs/bundle.js +4 -0
- package/cjs/index.js +5 -6
- package/cjs/index.lazy.js +19 -0
- package/esm/browser.js +5 -0
- package/esm/bundle.js +4 -0
- package/esm/index.js +5 -6
- package/esm/index.lazy.js +19 -0
- package/package.json +13 -6
- package/report.html +4949 -94
- package/tsparticles.preset.triangles.bundle.js +7151 -967
- package/tsparticles.preset.triangles.bundle.min.js +1 -2
- package/tsparticles.preset.triangles.js +63 -362
- package/tsparticles.preset.triangles.min.js +1 -2
- package/types/browser.d.ts +1 -0
- package/types/index.lazy.d.ts +2 -0
- package/153.min.js +0 -1
- package/170.min.js +0 -1
- package/172.min.js +0 -1
- package/188.min.js +0 -1
- package/215.min.js +0 -1
- package/220.min.js +0 -1
- package/260.min.js +0 -1
- package/304.min.js +0 -1
- package/361.min.js +0 -1
- package/392.min.js +0 -1
- package/404.min.js +0 -1
- package/467.min.js +0 -1
- package/48.min.js +0 -1
- package/512.min.js +0 -1
- package/592.min.js +0 -1
- package/63.min.js +0 -1
- package/632.min.js +0 -1
- package/659.min.js +0 -1
- package/700.min.js +0 -1
- package/714.min.js +0 -1
- package/719.min.js +0 -1
- package/72.min.js +0 -1
- package/74.min.js +0 -1
- package/750.min.js +0 -1
- package/857.min.js +0 -1
- package/86.min.js +0 -1
- package/892.min.js +0 -1
- package/929.min.js +0 -1
- package/957.min.js +0 -1
- package/dist_browser_options_js.js +0 -30
- package/node_modules_pnpm_tsparticles_basic_4_0_0-beta_11_node_modules_tsparticles_basic_browser_index_js.js +0 -30
- package/node_modules_pnpm_tsparticles_interaction-particles-links_4_0_0-beta_11__tsparticles_canvas-u-806af0.js +0 -60
- package/node_modules_pnpm_tsparticles_interaction-particles-links_4_0_0-beta_11__tsparticles_canvas-u-9987aa.js +0 -30
- package/node_modules_pnpm_tsparticles_interaction-particles-links_4_0_0-beta_11__tsparticles_canvas-u-e325aa.js +0 -40
- package/node_modules_pnpm_tsparticles_plugin-hex-color_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_1-5e0ff2.js +0 -30
- package/node_modules_pnpm_tsparticles_plugin-hex-color_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_1-b0d0ee.js +0 -30
- package/node_modules_pnpm_tsparticles_plugin-hsl-color_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_1-060416.js +0 -30
- package/node_modules_pnpm_tsparticles_plugin-hsl-color_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_1-a6d106.js +0 -30
- package/node_modules_pnpm_tsparticles_plugin-interactivity_4_0_0-beta_11__tsparticles_engine_4_0_0-be-47e198.js +0 -120
- package/node_modules_pnpm_tsparticles_plugin-interactivity_4_0_0-beta_11__tsparticles_engine_4_0_0-be-710e43.js +0 -70
- package/node_modules_pnpm_tsparticles_plugin-move_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_11_nod-3a792b.js +0 -30
- package/node_modules_pnpm_tsparticles_plugin-move_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_11_nod-e1bc4b.js +0 -30
- package/node_modules_pnpm_tsparticles_plugin-rgb-color_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_1-d9836d.js +0 -30
- package/node_modules_pnpm_tsparticles_plugin-rgb-color_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_1-f22022.js +0 -30
- package/node_modules_pnpm_tsparticles_shape-circle_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_11_no-7552ae.js +0 -40
- package/node_modules_pnpm_tsparticles_shape-circle_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_11_no-b06fc7.js +0 -30
- package/node_modules_pnpm_tsparticles_updater-opacity_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_11-8f9e09.js +0 -30
- package/node_modules_pnpm_tsparticles_updater-opacity_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_11-da77ce.js +0 -30
- package/node_modules_pnpm_tsparticles_updater-out-modes_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_-df7144.js +0 -30
- package/node_modules_pnpm_tsparticles_updater-paint_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_11_n-589482.js +0 -30
- package/node_modules_pnpm_tsparticles_updater-paint_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_11_n-b1f330.js +0 -30
- package/node_modules_pnpm_tsparticles_updater-size_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_11_no-a47b81.js +0 -30
- package/node_modules_pnpm_tsparticles_updater-size_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_11_no-d2508a.js +0 -30
- package/vendors-node_modules_pnpm_tsparticles_engine_4_0_0-beta_11_node_modules_tsparticles_engine_br-ca098e.js +0 -100
- package/vendors-node_modules_pnpm_tsparticles_interaction-particles-links_4_0_0-beta_11__tsparticles_-ecbc0d.js +0 -140
- package/vendors-node_modules_pnpm_tsparticles_plugin-interactivity_4_0_0-beta_11__tsparticles_engine_-32e86c.js +0 -50
- package/vendors-node_modules_pnpm_tsparticles_plugin-move_4_0_0-beta_11__tsparticles_engine_4_0_0-bet-5f2b78.js +0 -40
- package/vendors-node_modules_pnpm_tsparticles_updater-out-modes_4_0_0-beta_11__tsparticles_engine_4_0-09fa1a.js +0 -80
package/browser/bundle.js
CHANGED
|
@@ -1,2 +1,6 @@
|
|
|
1
|
+
import { loadTrianglesPreset } from "./index.js";
|
|
1
2
|
export { loadTrianglesPreset } from "./index.js";
|
|
2
3
|
export { tsParticles } from "@tsparticles/engine";
|
|
4
|
+
const globalObject = globalThis;
|
|
5
|
+
globalObject.__tsParticlesInternals = globalObject.__tsParticlesInternals ?? {};
|
|
6
|
+
globalObject.loadTrianglesPreset = loadTrianglesPreset;
|
package/browser/index.js
CHANGED
|
@@ -1,12 +1,11 @@
|
|
|
1
|
+
import { loadBasic } from "@tsparticles/basic";
|
|
2
|
+
import { loadInteractivityPlugin } from "@tsparticles/plugin-interactivity";
|
|
3
|
+
import { loadParticlesLinksInteraction } from "@tsparticles/interaction-particles-links";
|
|
4
|
+
import { options } from "./options.js";
|
|
1
5
|
const presetName = "triangles";
|
|
2
6
|
export async function loadTrianglesPreset(engine) {
|
|
3
7
|
await engine.pluginManager.register(async (e) => {
|
|
4
|
-
const
|
|
5
|
-
import("@tsparticles/basic"),
|
|
6
|
-
import("@tsparticles/interaction-particles-links"),
|
|
7
|
-
import("@tsparticles/plugin-interactivity"),
|
|
8
|
-
import("./options.js"),
|
|
9
|
-
]), loadInteractivityForTriangles = async (e) => {
|
|
8
|
+
const loadInteractivityForTriangles = async (e) => {
|
|
10
9
|
await loadInteractivityPlugin(e);
|
|
11
10
|
await loadParticlesLinksInteraction(e);
|
|
12
11
|
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
const presetName = "triangles";
|
|
2
|
+
export async function loadTrianglesPreset(engine) {
|
|
3
|
+
await engine.pluginManager.register(async (e) => {
|
|
4
|
+
const [{ loadBasic }, { loadParticlesLinksInteraction }, { loadInteractivityPlugin }, { options }] = await Promise.all([
|
|
5
|
+
import("@tsparticles/basic/lazy"),
|
|
6
|
+
import("@tsparticles/interaction-particles-links/lazy"),
|
|
7
|
+
import("@tsparticles/plugin-interactivity/lazy"),
|
|
8
|
+
import("./options.js"),
|
|
9
|
+
]), loadInteractivityForTriangles = async (e) => {
|
|
10
|
+
await loadInteractivityPlugin(e);
|
|
11
|
+
await loadParticlesLinksInteraction(e);
|
|
12
|
+
};
|
|
13
|
+
await Promise.all([
|
|
14
|
+
loadBasic(e),
|
|
15
|
+
loadInteractivityForTriangles(e),
|
|
16
|
+
]);
|
|
17
|
+
e.pluginManager.addPreset(presetName, options);
|
|
18
|
+
});
|
|
19
|
+
}
|
package/cjs/browser.js
ADDED
package/cjs/bundle.js
CHANGED
|
@@ -1,2 +1,6 @@
|
|
|
1
|
+
import { loadTrianglesPreset } from "./index.js";
|
|
1
2
|
export { loadTrianglesPreset } from "./index.js";
|
|
2
3
|
export { tsParticles } from "@tsparticles/engine";
|
|
4
|
+
const globalObject = globalThis;
|
|
5
|
+
globalObject.__tsParticlesInternals = globalObject.__tsParticlesInternals ?? {};
|
|
6
|
+
globalObject.loadTrianglesPreset = loadTrianglesPreset;
|
package/cjs/index.js
CHANGED
|
@@ -1,12 +1,11 @@
|
|
|
1
|
+
import { loadBasic } from "@tsparticles/basic";
|
|
2
|
+
import { loadInteractivityPlugin } from "@tsparticles/plugin-interactivity";
|
|
3
|
+
import { loadParticlesLinksInteraction } from "@tsparticles/interaction-particles-links";
|
|
4
|
+
import { options } from "./options.js";
|
|
1
5
|
const presetName = "triangles";
|
|
2
6
|
export async function loadTrianglesPreset(engine) {
|
|
3
7
|
await engine.pluginManager.register(async (e) => {
|
|
4
|
-
const
|
|
5
|
-
import("@tsparticles/basic"),
|
|
6
|
-
import("@tsparticles/interaction-particles-links"),
|
|
7
|
-
import("@tsparticles/plugin-interactivity"),
|
|
8
|
-
import("./options.js"),
|
|
9
|
-
]), loadInteractivityForTriangles = async (e) => {
|
|
8
|
+
const loadInteractivityForTriangles = async (e) => {
|
|
10
9
|
await loadInteractivityPlugin(e);
|
|
11
10
|
await loadParticlesLinksInteraction(e);
|
|
12
11
|
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
const presetName = "triangles";
|
|
2
|
+
export async function loadTrianglesPreset(engine) {
|
|
3
|
+
await engine.pluginManager.register(async (e) => {
|
|
4
|
+
const [{ loadBasic }, { loadParticlesLinksInteraction }, { loadInteractivityPlugin }, { options }] = await Promise.all([
|
|
5
|
+
import("@tsparticles/basic/lazy"),
|
|
6
|
+
import("@tsparticles/interaction-particles-links/lazy"),
|
|
7
|
+
import("@tsparticles/plugin-interactivity/lazy"),
|
|
8
|
+
import("./options.js"),
|
|
9
|
+
]), loadInteractivityForTriangles = async (e) => {
|
|
10
|
+
await loadInteractivityPlugin(e);
|
|
11
|
+
await loadParticlesLinksInteraction(e);
|
|
12
|
+
};
|
|
13
|
+
await Promise.all([
|
|
14
|
+
loadBasic(e),
|
|
15
|
+
loadInteractivityForTriangles(e),
|
|
16
|
+
]);
|
|
17
|
+
e.pluginManager.addPreset(presetName, options);
|
|
18
|
+
});
|
|
19
|
+
}
|
package/esm/browser.js
ADDED
package/esm/bundle.js
CHANGED
|
@@ -1,2 +1,6 @@
|
|
|
1
|
+
import { loadTrianglesPreset } from "./index.js";
|
|
1
2
|
export { loadTrianglesPreset } from "./index.js";
|
|
2
3
|
export { tsParticles } from "@tsparticles/engine";
|
|
4
|
+
const globalObject = globalThis;
|
|
5
|
+
globalObject.__tsParticlesInternals = globalObject.__tsParticlesInternals ?? {};
|
|
6
|
+
globalObject.loadTrianglesPreset = loadTrianglesPreset;
|
package/esm/index.js
CHANGED
|
@@ -1,12 +1,11 @@
|
|
|
1
|
+
import { loadBasic } from "@tsparticles/basic";
|
|
2
|
+
import { loadInteractivityPlugin } from "@tsparticles/plugin-interactivity";
|
|
3
|
+
import { loadParticlesLinksInteraction } from "@tsparticles/interaction-particles-links";
|
|
4
|
+
import { options } from "./options.js";
|
|
1
5
|
const presetName = "triangles";
|
|
2
6
|
export async function loadTrianglesPreset(engine) {
|
|
3
7
|
await engine.pluginManager.register(async (e) => {
|
|
4
|
-
const
|
|
5
|
-
import("@tsparticles/basic"),
|
|
6
|
-
import("@tsparticles/interaction-particles-links"),
|
|
7
|
-
import("@tsparticles/plugin-interactivity"),
|
|
8
|
-
import("./options.js"),
|
|
9
|
-
]), loadInteractivityForTriangles = async (e) => {
|
|
8
|
+
const loadInteractivityForTriangles = async (e) => {
|
|
10
9
|
await loadInteractivityPlugin(e);
|
|
11
10
|
await loadParticlesLinksInteraction(e);
|
|
12
11
|
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
const presetName = "triangles";
|
|
2
|
+
export async function loadTrianglesPreset(engine) {
|
|
3
|
+
await engine.pluginManager.register(async (e) => {
|
|
4
|
+
const [{ loadBasic }, { loadParticlesLinksInteraction }, { loadInteractivityPlugin }, { options }] = await Promise.all([
|
|
5
|
+
import("@tsparticles/basic/lazy"),
|
|
6
|
+
import("@tsparticles/interaction-particles-links/lazy"),
|
|
7
|
+
import("@tsparticles/plugin-interactivity/lazy"),
|
|
8
|
+
import("./options.js"),
|
|
9
|
+
]), loadInteractivityForTriangles = async (e) => {
|
|
10
|
+
await loadInteractivityPlugin(e);
|
|
11
|
+
await loadParticlesLinksInteraction(e);
|
|
12
|
+
};
|
|
13
|
+
await Promise.all([
|
|
14
|
+
loadBasic(e),
|
|
15
|
+
loadInteractivityForTriangles(e),
|
|
16
|
+
]);
|
|
17
|
+
e.pluginManager.addPreset(presetName, options);
|
|
18
|
+
});
|
|
19
|
+
}
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tsparticles/preset-triangles",
|
|
3
|
-
"version": "4.0.0-beta.
|
|
3
|
+
"version": "4.0.0-beta.15",
|
|
4
4
|
"description": "tsParticles triangles preset",
|
|
5
5
|
"homepage": "https://particles.js.org",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
8
|
-
"url": "git+https://github.com/tsparticles/
|
|
8
|
+
"url": "git+https://github.com/tsparticles/tsparticles.git",
|
|
9
9
|
"directory": "presets/triangles"
|
|
10
10
|
},
|
|
11
11
|
"keywords": [
|
|
@@ -96,13 +96,20 @@
|
|
|
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": "
|
|
103
|
-
"@tsparticles/engine": "
|
|
104
|
-
"@tsparticles/interaction-particles-links": "
|
|
105
|
-
"@tsparticles/plugin-interactivity": "
|
|
109
|
+
"@tsparticles/basic": "4.0.0-beta.15",
|
|
110
|
+
"@tsparticles/engine": "4.0.0-beta.15",
|
|
111
|
+
"@tsparticles/interaction-particles-links": "4.0.0-beta.15",
|
|
112
|
+
"@tsparticles/plugin-interactivity": "4.0.0-beta.15"
|
|
106
113
|
},
|
|
107
114
|
"publishConfig": {
|
|
108
115
|
"access": "public"
|