@lightningtv/core
Advanced tools
Comparing version 1.0.1 to 1.0.2
import { createShader } from './lightningInit.js'; | ||
import { type IntrinsicCommonProps, type IntrinsicNodeProps, type IntrinsicTextProps, type StyleEffects, type NodeStyles, type TextStyles, AddColorString } from './intrinsicTypes.js'; | ||
import { type IntrinsicCommonProps, type IntrinsicNodeProps, type IntrinsicTextProps, type StyleEffects, type NodeStyles, type TextStyles, type IntrinsicTextStyleCommonProps, AddColorString } from './intrinsicTypes.js'; | ||
import { type ITextNode } from '@lightningjs/renderer'; | ||
import Children from './children.js'; | ||
@@ -10,3 +11,3 @@ import States, { type NodeStates } from './states.js'; | ||
/** Node text, children of a ElementNode of type TextNode */ | ||
export interface ElementText { | ||
export interface ElementText extends Partial<Omit<ITextNode, 'id' | 'parent' | 'shader'>>, IntrinsicTextStyleCommonProps { | ||
id?: string; | ||
@@ -13,0 +14,0 @@ _type: 'text'; |
{ | ||
"name": "@lightningtv/core", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "Lightning TV Core for Universal Renderers", | ||
@@ -5,0 +5,0 @@ "type": "module", |
@@ -11,4 +11,6 @@ import { renderer, createShader } from './lightningInit.js'; | ||
type TextStyles, | ||
type IntrinsicTextStyleCommonProps, | ||
AddColorString, | ||
} from './intrinsicTypes.js'; | ||
import { type ITextNode } from '@lightningjs/renderer'; | ||
import Children from './children.js'; | ||
@@ -148,3 +150,5 @@ import States, { type NodeStates } from './states.js'; | ||
/** Node text, children of a ElementNode of type TextNode */ | ||
export interface ElementText { | ||
export interface ElementText | ||
extends Partial<Omit<ITextNode, 'id' | 'parent' | 'shader'>>, | ||
IntrinsicTextStyleCommonProps { | ||
id?: string; | ||
@@ -151,0 +155,0 @@ _type: 'text'; |
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
162544
2418