@tsparticles/qwik 4.0.0-beta.12 → 4.0.0-beta.17

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 CHANGED
@@ -1,7 +1,12 @@
1
1
  {
2
2
  "name": "@tsparticles/qwik",
3
- "version": "4.0.0-beta.12",
3
+ "version": "4.0.0-beta.17",
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
- "build": "echo build",
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.12"
47
+ "@tsparticles/engine": "^4.0.0-beta.17"
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.12",
59
+ "tsparticles": "^4.0.0-beta.17",
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": "ebd73f94ae2391c9068de098f2856e1efb26254c"
68
+ "gitHead": "0d916315d63fa920fcfcb7a07b66d49aded6af2c"
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
- }
@@ -1,6 +0,0 @@
1
- import type { IParticlesProps } from "./IParticlesProps";
2
- import Particles from "./particles";
3
- export type { IParticlesProps };
4
- export type ParticlesProps = IParticlesProps;
5
- export default Particles;
6
- export { Particles };
@@ -1,6 +0,0 @@
1
- import type { IParticlesProps } from "./IParticlesProps";
2
- /**
3
- * @param (props:IParticlesProps) Particles component properties
4
- */
5
- declare const Particles: import("@builder.io/qwik").Component<IParticlesProps>;
6
- export default Particles;
@@ -1,2 +0,0 @@
1
- import { type RenderOptions } from "@builder.io/qwik";
2
- export default function (opts: RenderOptions): Promise<import("@builder.io/qwik").RenderResult>;
@@ -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>;
@@ -1 +0,0 @@
1
- export { Particles } from "./components/particles";
@@ -1,2 +0,0 @@
1
- declare const _default: () => import("@builder.io/qwik/jsx-runtime").JSX.Element;
2
- export default _default;
@@ -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,6 +0,0 @@
1
- import type { IParticlesProps } from "./IParticlesProps";
2
- /**
3
- * @param (props:IParticlesProps) Particles component properties
4
- */
5
- declare const Particles: import("@builder.io/qwik").Component<IParticlesProps>;
6
- export default Particles;
@@ -1,2 +0,0 @@
1
- import { type RenderOptions } from "@builder.io/qwik";
2
- export default function (opts: RenderOptions): Promise<import("@builder.io/qwik").RenderResult>;
@@ -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>;
@@ -1 +0,0 @@
1
- export { Particles, initParticlesEngine, type IParticlesProps, type ParticlesPluginRegistrar, } from "./components/particles";
@@ -1,2 +0,0 @@
1
- declare const _default: () => import("@builder.io/qwik").JSXOutput;
2
- export default _default;