@lightningtv/solid-ui
Advanced tools
Comparing version 0.29.10 to 0.29.11
@@ -23,6 +23,6 @@ /* | ||
import styles from './Column.styles.js'; | ||
const onUp = handleNavigation('up'); | ||
const onDown = handleNavigation('down'); | ||
const scroll = withScrolling(false); | ||
const Column = props => { | ||
const onUp = handleNavigation('up'); | ||
const onDown = handleNavigation('down'); | ||
const scroll = withScrolling(false); | ||
return (<View {...props} onUp={chainFunctions(props.onUp, onUp)} onDown={chainFunctions(props.onDown, onDown)} selected={props.selected || 0} forwardFocus={onGridFocus} onFocus={chainFunctions(props.onFocus, props.onSelectedChanged && handleOnSelect(props.onSelectedChanged))} onLayout={props.selected ? chainFunctions(props.onLayout, scroll) : props.onLayout} onSelectedChanged={chainFunctions(props.onSelectedChanged, props.scroll !== 'none' ? scroll : undefined)} | ||
@@ -29,0 +29,0 @@ // @ts-expect-error TODO type needs to be fixed in framework |
@@ -23,6 +23,6 @@ /* | ||
import styles from './Row.styles.js'; | ||
const onLeft = handleNavigation('left'); | ||
const onRight = handleNavigation('right'); | ||
const scroll = withScrolling(true); | ||
const Row = props => { | ||
const onLeft = handleNavigation('left'); | ||
const onRight = handleNavigation('right'); | ||
const scroll = withScrolling(true); | ||
return (<View {...props} selected={props.selected || 0} onLeft={chainFunctions(props.onLeft, onLeft)} onRight={chainFunctions(props.onRight, onRight)} onFocus={chainFunctions(props.onFocus, props.onSelectedChanged && handleOnSelect(props.onSelectedChanged))} forwardFocus={onGridFocus} onLayout={props.selected ? chainFunctions(props.onLayout, scroll) : props.onLayout} onSelectedChanged={chainFunctions(props.onSelectedChanged, props.scroll !== 'none' ? scroll : undefined)} | ||
@@ -29,0 +29,0 @@ // @ts-expect-error TODO type needs to be fixed in framework |
{ | ||
"name": "@lightningtv/solid-ui", | ||
"version": "0.29.10", | ||
"version": "0.29.11", | ||
"description": "A shared library of components for the LightningJS Solid Framework.", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
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
700431