@lightningtv/solid
Advanced tools
Comparing version 2.0.1 to 2.1.0
@@ -7,2 +7,2 @@ export * from './useFocusManager.js'; | ||
export * from './LazyUp.jsx'; | ||
export type { KeyHandler } from '@lightningtv/core'; | ||
export type { KeyHandler } from '@lightningtv/core/focusManager'; |
@@ -1,4 +0,5 @@ | ||
import type { KeyMap, KeyHoldOptions, ElementNode } from '@lightningtv/core'; | ||
import type { ElementNode } from '@lightningtv/core'; | ||
import { type KeyMap, type KeyHoldOptions } from '@lightningtv/core/focusManager'; | ||
declare const focusPath: import("solid-js").Accessor<ElementNode[]>; | ||
export { focusPath }; | ||
export declare const useFocusManager: (userKeyMap?: Partial<KeyMap>, keyHoldOptions?: KeyHoldOptions) => void; |
import { createEffect, on, createSignal, onCleanup, getOwner, runWithOwner, } from 'solid-js'; | ||
import { useFocusManager as useFocusManagerCore, Config, } from '@lightningtv/core'; | ||
import { Config } from '@lightningtv/core'; | ||
import { useFocusManager as useFocusManagerCore, } from '@lightningtv/core/focusManager'; | ||
import { activeElement, setActiveElement } from '../activeElement.js'; | ||
@@ -4,0 +5,0 @@ const [focusPath, setFocusPath] = createSignal([]); |
@@ -5,3 +5,3 @@ import { type IntrinsicNodeProps, type IntrinsicTextProps, type RendererMain, type RendererMainSettings } from '@lightningtv/core'; | ||
export declare const rootNode: import("@lightningtv/core").ElementNode; | ||
export declare function createRenderer(rendererOptions: RendererMainSettings | undefined, node?: HTMLElement | string): { | ||
export declare function createRenderer(rendererOptions?: RendererMainSettings, node?: HTMLElement | string): { | ||
renderer: RendererMain; | ||
@@ -8,0 +8,0 @@ rootNode: import("@lightningtv/core").ElementNode; |
{ | ||
"name": "@lightningtv/solid", | ||
"version": "2.0.1", | ||
"version": "2.1.0", | ||
"description": "Lightning Renderer for Solid Universal", | ||
@@ -45,3 +45,3 @@ "type": "module", | ||
"dependencies": { | ||
"@lightningtv/core": "^2.0.1", | ||
"@lightningtv/core": "^2.1.0", | ||
"@solid-primitives/event-listener": "^2.3.3", | ||
@@ -48,0 +48,0 @@ "@solid-primitives/mouse": "^2.0.19", |
@@ -7,2 +7,2 @@ export * from './useFocusManager.js'; | ||
export * from './LazyUp.jsx'; | ||
export type { KeyHandler } from '@lightningtv/core'; | ||
export type { KeyHandler } from '@lightningtv/core/focusManager'; |
@@ -9,7 +9,9 @@ import { | ||
} from 'solid-js'; | ||
import { Config } from '@lightningtv/core'; | ||
import type { ElementNode } from '@lightningtv/core'; | ||
import { | ||
useFocusManager as useFocusManagerCore, | ||
Config, | ||
} from '@lightningtv/core'; | ||
import type { KeyMap, KeyHoldOptions, ElementNode } from '@lightningtv/core'; | ||
type KeyMap, | ||
type KeyHoldOptions, | ||
} from '@lightningtv/core/focusManager'; | ||
import { activeElement, setActiveElement } from '../activeElement.js'; | ||
@@ -16,0 +18,0 @@ |
@@ -32,3 +32,3 @@ import { createRenderer as solidCreateRenderer } from 'solid-js/universal'; | ||
export function createRenderer( | ||
rendererOptions: RendererMainSettings | undefined, | ||
rendererOptions?: RendererMainSettings, | ||
node?: HTMLElement | string, | ||
@@ -35,0 +35,0 @@ ) { |
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
144732
1708
Updated@lightningtv/core@^2.1.0