@lightningtv/solid
Advanced tools
Comparing version 1.0.0-rc1 to 1.0.0
@@ -6,1 +6,2 @@ export * from './useFocusManager.js'; | ||
export * from './portal.jsx'; | ||
export * from './LazyUp.jsx'; |
@@ -6,2 +6,3 @@ export * from './useFocusManager.js'; | ||
export * from './portal.jsx'; | ||
export * from './LazyUp.jsx'; | ||
//# sourceMappingURL=index.js.map |
@@ -9,3 +9,3 @@ import { type IntrinsicNodeProps, type IntrinsicTextProps } from '@lightningtv/core'; | ||
rootNode: import("@lightningtv/core").ElementNode; | ||
render: (code: () => JSXElement, node?: HTMLElement | string) => () => void; | ||
render: (code: () => JSXElement) => () => void; | ||
}; | ||
@@ -12,0 +12,0 @@ export declare const effect: <T>(fn: (prev?: T) => T, init?: T) => void, memo: <T>(fn: () => T, equal: boolean) => () => T, createComponent: <T>(Comp: (props: T) => SolidNode, props: T) => SolidNode, createElement: (tag: string) => SolidNode, createTextNode: (value: string) => SolidNode, insertNode: (parent: SolidNode, node: SolidNode, anchor?: SolidNode | undefined) => void, insert: <T>(parent: any, accessor: T | (() => T), marker?: any | null) => SolidNode, spread: <T>(node: any, accessor: (() => T) | T, skipChildren?: Boolean) => void, setProp: <T>(node: SolidNode, name: string, value: T, prev?: T | undefined) => T, mergeProps: (...sources: unknown[]) => unknown, use: <A, T>(fn: (element: SolidNode, arg: A) => T, element: SolidNode, arg: A) => T; |
@@ -8,3 +8,3 @@ import { createRenderer as solidCreateRenderer } from 'solid-js/universal'; | ||
export const rootNode = nodeOpts.createElement('App'); | ||
const render = function (code, node) { | ||
const render = function (code) { | ||
// @ts-expect-error - code is jsx element and not SolidElement yet | ||
@@ -11,0 +11,0 @@ return solidRenderer.render(code, rootNode); |
{ | ||
"name": "@lightningtv/solid", | ||
"version": "1.0.0-rc1", | ||
"version": "1.0.0", | ||
"description": "Lightning Renderer for Solid Universal", | ||
@@ -45,3 +45,3 @@ "type": "module", | ||
"dependencies": { | ||
"@lightningtv/core": "1.0.0-rc1.2", | ||
"@lightningtv/core": "1.0.0", | ||
"@solid-primitives/event-listener": "^2.3.3", | ||
@@ -75,3 +75,3 @@ "@solid-primitives/keyboard": "^1.2.8", | ||
"peerDependencies": { | ||
"@lightningjs/renderer": "^1.0.0-rc.1", | ||
"@lightningjs/renderer": "^1.0.0", | ||
"solid-js": "*" | ||
@@ -78,0 +78,0 @@ }, |
@@ -6,1 +6,2 @@ export * from './useFocusManager.js'; | ||
export * from './portal.jsx'; | ||
export * from './LazyUp.jsx'; |
@@ -24,3 +24,3 @@ import { createRenderer as solidCreateRenderer } from 'solid-js/universal'; | ||
const render = function (code: () => JSXElement, node?: HTMLElement | string) { | ||
const render = function (code: () => JSXElement) { | ||
// @ts-expect-error - code is jsx element and not SolidElement yet | ||
@@ -27,0 +27,0 @@ return solidRenderer.render(code, rootNode); |
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
156443
70
1975
2
+ Added@lightningtv/core@1.0.0(transitive)
- Removed@lightningtv/core@1.0.0-rc1.2(transitive)
Updated@lightningtv/core@1.0.0