@lightningtv/core
Advanced tools
Comparing version 0.0.4 to 0.0.5
@@ -32,4 +32,2 @@ import { createShader } from './lightningInit.js'; | ||
[key: string]: unknown; | ||
} | ||
export declare class ElementNode extends Object { | ||
id?: string; | ||
@@ -48,13 +46,18 @@ debug?: boolean; | ||
forwardFocus?: number | ((this: ElementNode, elm: ElementNode) => boolean | void); | ||
private _undoStyles?; | ||
private _effects?; | ||
private _parent; | ||
private _style?; | ||
private _states?; | ||
private _events?; | ||
private _animationSettings?; | ||
private _animationQueue; | ||
private _animationQueueSettings; | ||
private _animationRunning?; | ||
_undoStyles?: string[]; | ||
_effects?: StyleEffects; | ||
_parent: ElementNode | undefined; | ||
_style?: SolidStyles; | ||
_states?: States; | ||
_events?: Array<[string, (target: ElementNode, event?: Event) => void]>; | ||
_animationSettings?: Partial<AnimationSettings>; | ||
_animationQueue: Array<{ | ||
props: Partial<INodeAnimatableProps>; | ||
animationSettings?: Partial<AnimationSettings>; | ||
}> | undefined; | ||
_animationQueueSettings: Partial<AnimationSettings> | undefined; | ||
_animationRunning?: boolean; | ||
children: Children; | ||
} | ||
export declare class ElementNode extends Object { | ||
constructor(name: string); | ||
@@ -61,0 +64,0 @@ get effects(): StyleEffects | undefined; |
@@ -96,26 +96,2 @@ import { renderer, createShader } from './lightningInit.js'; | ||
export class ElementNode extends Object { | ||
id; | ||
debug; | ||
type; | ||
lng; | ||
rendered; | ||
renderer; | ||
selected; | ||
autofocus; | ||
flexItem; | ||
flexOrder; | ||
flexBoundary; // default is undefined - contained for flex calculated size | ||
_queueDelete; | ||
forwardFocus; | ||
_undoStyles; | ||
_effects; | ||
_parent; | ||
_style; | ||
_states; | ||
_events; | ||
_animationSettings; | ||
_animationQueue; | ||
_animationQueueSettings; | ||
_animationRunning; | ||
children; | ||
constructor(name) { | ||
@@ -122,0 +98,0 @@ super(); |
{ | ||
"name": "@lightningtv/core", | ||
"version": "0.0.4", | ||
"version": "0.0.5", | ||
"description": "Lightning TV Core for Universal Renderers", | ||
@@ -5,0 +5,0 @@ "type": "module", |
@@ -162,6 +162,2 @@ import { renderer, createShader } from './lightningInit.js'; | ||
[key: string]: unknown; | ||
} | ||
// eslint-disable-next-line @typescript-eslint/no-unsafe-declaration-merging | ||
export class ElementNode extends Object { | ||
id?: string; | ||
@@ -183,12 +179,10 @@ debug?: boolean; | ||
private _undoStyles?: string[]; | ||
private _effects?: StyleEffects; | ||
private _parent: ElementNode | undefined; | ||
private _style?: SolidStyles; | ||
private _states?: States; | ||
private _events?: Array< | ||
[string, (target: ElementNode, event?: Event) => void] | ||
>; | ||
private _animationSettings?: Partial<AnimationSettings>; | ||
private _animationQueue: | ||
_undoStyles?: string[]; | ||
_effects?: StyleEffects; | ||
_parent: ElementNode | undefined; | ||
_style?: SolidStyles; | ||
_states?: States; | ||
_events?: Array<[string, (target: ElementNode, event?: Event) => void]>; | ||
_animationSettings?: Partial<AnimationSettings>; | ||
_animationQueue: | ||
| Array<{ | ||
@@ -199,7 +193,9 @@ props: Partial<INodeAnimatableProps>; | ||
| undefined; | ||
private _animationQueueSettings: Partial<AnimationSettings> | undefined; | ||
private _animationRunning?: boolean; | ||
_animationQueueSettings: Partial<AnimationSettings> | undefined; | ||
_animationRunning?: boolean; | ||
children: Children; | ||
} | ||
// eslint-disable-next-line @typescript-eslint/no-unsafe-declaration-merging | ||
export class ElementNode extends Object { | ||
constructor(name: string) { | ||
@@ -206,0 +202,0 @@ super(); |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
148906
2185