@lightningjs/solid
Advanced tools
Comparing version 0.6.2 to 0.6.3
@@ -9,3 +9,3 @@ import { createShader } from '../../index.js'; | ||
parent?: ElementNode; | ||
zIndex?: undefined; | ||
zIndex?: number; | ||
states?: States; | ||
@@ -12,0 +12,0 @@ x?: number; |
import { type INodeWritableProps, type ITextNodeWritableProps } from '@lightningjs/renderer'; | ||
import { type ElementNode, type TextNode } from './core/node/index.js'; | ||
interface IntrinsicCommonProps { | ||
onFocus?: () => void; | ||
onBlur?: () => void; | ||
onLoad?: () => void; | ||
style?: any; | ||
autofocus?: boolean; | ||
id?: string; | ||
ref?: any; | ||
marginLeft?: number; | ||
marginRight?: number; | ||
marginTop?: number; | ||
marginBottom?: number; | ||
states?: Array<string>; | ||
children?: any; | ||
} | ||
export interface IntrinsicTextProps extends Partial<ITextNodeWritableProps>, IntrinsicCommonProps { | ||
export interface IntrinsicTextProps extends Partial<Omit<ITextNodeWritableProps, 'text' | 'parent'>>, TextNode, IntrinsicCommonProps { | ||
} | ||
export interface IntrinsicNodeProps extends Partial<INodeWritableProps>, IntrinsicCommonProps { | ||
selected?: number; | ||
children?: any; | ||
effects?: any; | ||
export interface IntrinsicNodeProps extends Partial<Omit<INodeWritableProps, 'animate' | 'parent' | 'shader'>>, Partial<Omit<ElementNode, 'children' | 'animate'>>, IntrinsicCommonProps { | ||
animate?: boolean; | ||
} | ||
export {}; |
import {} from '@lightningjs/renderer'; | ||
import {} from './core/node/index.js'; | ||
//# sourceMappingURL=intrinsicTypes.js.map |
{ | ||
"name": "@lightningjs/solid", | ||
"version": "0.6.2", | ||
"version": "0.6.3", | ||
"description": "Lightning renderer for solid universal", | ||
@@ -5,0 +5,0 @@ "type": "module", |
@@ -126,6 +126,3 @@ /* | ||
parent?: ElementNode; | ||
// These don't seem to be needed by a TextNode but are potentially assigned anyway | ||
// in various places | ||
zIndex?: undefined; | ||
zIndex?: number; | ||
states?: States; | ||
@@ -132,0 +129,0 @@ x?: number; |
@@ -5,2 +5,3 @@ import { | ||
} from '@lightningjs/renderer'; | ||
import { type ElementNode, type TextNode } from './core/node/index.js'; | ||
@@ -10,25 +11,16 @@ interface IntrinsicCommonProps { | ||
onBlur?: () => void; | ||
onLoad?: () => void; | ||
style?: any; | ||
autofocus?: boolean; | ||
id?: string; | ||
ref?: any; | ||
marginLeft?: number; | ||
marginRight?: number; | ||
marginTop?: number; | ||
marginBottom?: number; | ||
states?: Array<string>; | ||
children?: any; | ||
} | ||
export interface IntrinsicTextProps | ||
extends Partial<ITextNodeWritableProps>, | ||
extends Partial<Omit<ITextNodeWritableProps, 'text' | 'parent'>>, | ||
TextNode, | ||
IntrinsicCommonProps {} | ||
export interface IntrinsicNodeProps | ||
extends Partial<INodeWritableProps>, | ||
extends Partial<Omit<INodeWritableProps, 'animate' | 'parent' | 'shader'>>, | ||
Partial<Omit<ElementNode, 'children' | 'animate'>>, | ||
IntrinsicCommonProps { | ||
selected?: number; | ||
children?: any; | ||
effects?: any; | ||
animate?: boolean; | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
223279
3355