@tsparticles/qwik 4.0.0-beta.12 → 4.0.0-beta.16
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/package.json +15 -5
- package/lib-types/components/particles/IParticlesProps.d.ts +0 -16
- package/lib-types/components/particles/index.d.ts +0 -6
- package/lib-types/components/particles/particles.d.ts +0 -6
- package/lib-types/entry.dev.d.ts +0 -2
- package/lib-types/entry.ssr.d.ts +0 -14
- package/lib-types/index.d.ts +0 -1
- package/lib-types/root.d.ts +0 -2
- package/lib-types/src/components/particles/IParticlesProps.d.ts +0 -15
- package/lib-types/src/components/particles/index.d.ts +0 -8
- package/lib-types/src/components/particles/initParticlesEngine.d.ts +0 -5
- package/lib-types/src/components/particles/particles.d.ts +0 -6
- package/lib-types/src/entry.dev.d.ts +0 -2
- package/lib-types/src/entry.ssr.d.ts +0 -14
- package/lib-types/src/index.d.ts +0 -1
- package/lib-types/src/root.d.ts +0 -2
package/package.json
CHANGED
|
@@ -1,7 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tsparticles/qwik",
|
|
3
|
-
"version": "4.0.0-beta.
|
|
3
|
+
"version": "4.0.0-beta.16",
|
|
4
4
|
"description": "Official tsParticles Qwik Component - Easily create highly customizable particle, confetti and fireworks animations and use them as animated backgrounds for your website. Ready to use components available also for Web Components, Vue.js (2.x and 3.x), Angular, Svelte, jQuery, Preact, React, Riot.js, Solid.js, Inferno.",
|
|
5
|
+
"repository": {
|
|
6
|
+
"type": "git",
|
|
7
|
+
"url": "git+https://github.com/tsparticles/tsparticles.git",
|
|
8
|
+
"directory": "wrappers/qwik"
|
|
9
|
+
},
|
|
5
10
|
"main": "./lib/index.qwik.mjs",
|
|
6
11
|
"qwik": "./lib/index.qwik.mjs",
|
|
7
12
|
"types": "./lib-types/index.d.ts",
|
|
@@ -21,7 +26,12 @@
|
|
|
21
26
|
},
|
|
22
27
|
"type": "module",
|
|
23
28
|
"scripts": {
|
|
24
|
-
"
|
|
29
|
+
"prettify:src": "prettier --write ./src/**/*",
|
|
30
|
+
"prettify:readme": "prettier --write ./README.md",
|
|
31
|
+
"prettify:ci:src": "prettier --check ./src/**/*",
|
|
32
|
+
"prettify:ci:readme": "prettier --check ./README.md",
|
|
33
|
+
"build": "pnpm run prettify:src && pnpm run build.lib && pnpm run build.types",
|
|
34
|
+
"build:ci": "pnpm run prettify:ci:src && pnpm run build.lib && pnpm run build.types",
|
|
25
35
|
"build.lib": "vite build --mode lib",
|
|
26
36
|
"build.types": "tsc --emitDeclarationOnly",
|
|
27
37
|
"dev": "vite --mode ssr",
|
|
@@ -34,7 +44,7 @@
|
|
|
34
44
|
"qwik": "qwik"
|
|
35
45
|
},
|
|
36
46
|
"dependencies": {
|
|
37
|
-
"@tsparticles/engine": "^4.0.0-beta.
|
|
47
|
+
"@tsparticles/engine": "^4.0.0-beta.16"
|
|
38
48
|
},
|
|
39
49
|
"devDependencies": {
|
|
40
50
|
"@builder.io/qwik": "1.19.2",
|
|
@@ -46,7 +56,7 @@
|
|
|
46
56
|
"eslint-plugin-qwik": "latest",
|
|
47
57
|
"np": "11.0.3",
|
|
48
58
|
"prettier": "3.8.2",
|
|
49
|
-
"tsparticles": "^4.0.0-beta.
|
|
59
|
+
"tsparticles": "^4.0.0-beta.16",
|
|
50
60
|
"typescript": "6.0.2",
|
|
51
61
|
"undici": "8.1.0",
|
|
52
62
|
"vite": "8.0.8",
|
|
@@ -55,5 +65,5 @@
|
|
|
55
65
|
"publishConfig": {
|
|
56
66
|
"access": "public"
|
|
57
67
|
},
|
|
58
|
-
"gitHead": "
|
|
68
|
+
"gitHead": "8ac678c4da53ea2b6a9a33aaa40f5141e2a7d513"
|
|
59
69
|
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { CSSProperties, ClassList, NoSerialize, QRL, Signal } from "@builder.io/qwik";
|
|
2
|
-
import type { Container, Engine, ISourceOptions } from "@tsparticles/engine";
|
|
3
|
-
export interface IParticlesProps {
|
|
4
|
-
id?: string;
|
|
5
|
-
width?: number | string;
|
|
6
|
-
height?: number | string;
|
|
7
|
-
options?: ISourceOptions;
|
|
8
|
-
url?: string;
|
|
9
|
-
params?: ISourceOptions;
|
|
10
|
-
style?: CSSProperties;
|
|
11
|
-
class?: ClassList | Signal<ClassList>;
|
|
12
|
-
canvasClassName?: ClassList | Signal<ClassList>;
|
|
13
|
-
container?: Signal<NoSerialize<Container | undefined>>;
|
|
14
|
-
init?: QRL<(engine: Engine) => Promise<void>>;
|
|
15
|
-
loaded?: QRL<(container?: Container) => Promise<void>>;
|
|
16
|
-
}
|
package/lib-types/entry.dev.d.ts
DELETED
package/lib-types/entry.ssr.d.ts
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* WHAT IS THIS FILE?
|
|
3
|
-
*
|
|
4
|
-
* SSR entry point, in all cases the application is rendered outside the browser, this
|
|
5
|
-
* entry point will be the common one.
|
|
6
|
-
*
|
|
7
|
-
* - Server (express, cloudflare...)
|
|
8
|
-
* - npm run start
|
|
9
|
-
* - npm run preview
|
|
10
|
-
* - npm run build
|
|
11
|
-
*
|
|
12
|
-
*/
|
|
13
|
-
import { type RenderToStreamOptions } from "@builder.io/qwik/server";
|
|
14
|
-
export default function (opts: RenderToStreamOptions): Promise<import("@builder.io/qwik/server").RenderToStreamResult>;
|
package/lib-types/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { Particles } from "./components/particles";
|
package/lib-types/root.d.ts
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { CSSProperties, ClassList, NoSerialize, QRL, Signal } from "@builder.io/qwik";
|
|
2
|
-
import type { Container, ISourceOptions } from "@tsparticles/engine";
|
|
3
|
-
export interface IParticlesProps {
|
|
4
|
-
id?: string;
|
|
5
|
-
width?: number | string;
|
|
6
|
-
height?: number | string;
|
|
7
|
-
options?: ISourceOptions;
|
|
8
|
-
url?: string;
|
|
9
|
-
params?: ISourceOptions;
|
|
10
|
-
style?: CSSProperties;
|
|
11
|
-
class?: ClassList | Signal<ClassList>;
|
|
12
|
-
canvasClassName?: ClassList | Signal<ClassList>;
|
|
13
|
-
container?: Signal<NoSerialize<Container | undefined>>;
|
|
14
|
-
loaded?: QRL<(container?: Container) => Promise<void>>;
|
|
15
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import type { IParticlesProps } from "./IParticlesProps";
|
|
2
|
-
import { initParticlesEngine, type ParticlesPluginRegistrar } from "./initParticlesEngine";
|
|
3
|
-
import Particles from "./particles";
|
|
4
|
-
export type { IParticlesProps };
|
|
5
|
-
export type ParticlesProps = IParticlesProps;
|
|
6
|
-
export type { ParticlesPluginRegistrar };
|
|
7
|
-
export default Particles;
|
|
8
|
-
export { Particles, initParticlesEngine };
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import type { Engine } from "@tsparticles/engine";
|
|
2
|
-
export type ParticlesPluginRegistrar = (engine: Engine) => Promise<void> | void;
|
|
3
|
-
export declare function initParticlesEngine(init?: ParticlesPluginRegistrar): Promise<void>;
|
|
4
|
-
export declare function isParticlesEngineInitialized(): boolean;
|
|
5
|
-
export declare function waitForParticlesEngineInitialization(): Promise<void>;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* WHAT IS THIS FILE?
|
|
3
|
-
*
|
|
4
|
-
* SSR entry point, in all cases the application is rendered outside the browser, this
|
|
5
|
-
* entry point will be the common one.
|
|
6
|
-
*
|
|
7
|
-
* - Server (express, cloudflare...)
|
|
8
|
-
* - npm run start
|
|
9
|
-
* - npm run preview
|
|
10
|
-
* - npm run build
|
|
11
|
-
*
|
|
12
|
-
*/
|
|
13
|
-
import { type RenderToStreamOptions } from "@builder.io/qwik/server";
|
|
14
|
-
export default function (opts: RenderToStreamOptions): Promise<import("@builder.io/qwik/server").RenderToStreamResult>;
|
package/lib-types/src/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { Particles, initParticlesEngine, type IParticlesProps, type ParticlesPluginRegistrar, } from "./components/particles";
|
package/lib-types/src/root.d.ts
DELETED