Skip to content
This repository was archived by the owner on Jun 2, 2026. It is now read-only.

Commit e1d3141

Browse files
committed
build: fix lerna
1 parent aa279df commit e1d3141

3 files changed

Lines changed: 17 additions & 4 deletions

File tree

components/stencil/src/components.d.ts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,18 @@
55
* It contains typing information for all components that exist in this project.
66
*/
77
import { HTMLStencilElement, JSXBase } from "@stencil/core/internal";
8+
import { Container, Engine, ISourceOptions } from "tsparticles-engine";
9+
export { Container, Engine, ISourceOptions } from "tsparticles-engine";
810
export namespace Components {
911
interface StencilParticles {
1012
/**
1113
* The id
1214
*/
1315
"id": string;
16+
"options": ISourceOptions;
17+
"particlesInit": (engine: Engine) => Promise<void>;
18+
"particlesLoaded": (container: Container) => Promise<void>;
19+
"url": string;
1420
}
1521
}
1622
declare global {
@@ -30,6 +36,10 @@ declare namespace LocalJSX {
3036
* The id
3137
*/
3238
"id"?: string;
39+
"options"?: ISourceOptions;
40+
"particlesInit"?: (engine: Engine) => Promise<void>;
41+
"particlesLoaded"?: (container: Container) => Promise<void>;
42+
"url"?: string;
3343
}
3444
interface IntrinsicElements {
3545
"stencil-particles": StencilParticles;

components/stencil/src/components/stencil-particles/readme.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,13 @@
77

88
## Properties
99

10-
| Property | Attribute | Description | Type | Default |
11-
| -------- | --------- | ----------- | -------- | ----------- |
12-
| `id` | `id` | The id | `string` | `undefined` |
10+
| Property | Attribute | Description | Type | Default |
11+
| ----------------- | --------- | ----------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------- |
12+
| `id` | `id` | The id | `string` | `undefined` |
13+
| `options` | -- | | `{ [x: string]: unknown; autoPlay?: boolean; background?: RecursivePartial<IBackground>; backgroundMask?: RecursivePartial<IBackgroundMask>; backgroundMode?: boolean \| RecursivePartial<IFullScreen>; delay?: RangeValue; detectRetina?: boolean; duration?: RangeValue; fpsLimit?: number; fps_limit?: number; fullScreen?: boolean \| RecursivePartial<IFullScreen>; interactivity?: RecursivePartial<IInteractivity>; manualParticles?: RecursivePartial<IManualParticle>[]; particles?: RecursivePartial<IParticlesOptions>; pauseOnBlur?: boolean; pauseOnOutsideViewport?: boolean; preset?: SingleOrMultiple<string>; responsive?: RecursivePartial<IResponsive>[]; retina_detect?: boolean; smooth?: boolean; style?: RecursivePartial<RecursivePartial<CSSStyleDeclaration>>; themes?: RecursivePartial<ITheme>[]; zLayers?: number; }` | `undefined` |
14+
| `particlesInit` | -- | | `(engine: Engine) => Promise<void>` | `undefined` |
15+
| `particlesLoaded` | -- | | `(container: Container) => Promise<void>` | `undefined` |
16+
| `url` | `url` | | `string` | `undefined` |
1317

1418

1519
----------------------------------------------

lerna.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
"apps/*",
55
"components/*"
66
],
7-
"useWorkspaces": true,
87
"version": "indipendent",
98
"npmClient": "pnpm",
109
"conventionalCommits": true,

0 commit comments

Comments
 (0)