Skip to content

Releases: bamlab/react-tv-space-navigation

v3.1.0

28 Mar 14:38
Compare
Choose a tag to compare

3.1.0 (2024-03-28)

Features

  • Add imperative focus to SpatialNavigationView (cad3e80)

v3.0.0

22 Mar 13:11
Compare
Choose a tag to compare

3.0.0 (2024-03-22)

⚠ BREAKING CHANGES

  • core: remove side effects from rendering cycles. This is marked as breaking change but this might have no impact. Since there's a deep change in the registering mechanism of the nodes, we mark it just in case as breaking to raise your attention.

Bug Fixes

  • core: remove side effects from rendering cycles (d2a0ef2)
  • prevent setting virtualized list size to zero (df9d1c1). Happens when a list is mounted while not on the screen (example: when using react navigation and rendering a new list on another screen).

v2.1.1

11 Mar 09:47
Compare
Choose a tag to compare

2.1.1 (2024-03-11)

Bug Fixes

  • core: export device type provider (b99002c)
  • core: improve scroll view scrolling compatibility across platforms (cc715e7)

v2.1.0

01 Mar 14:58
Compare
Choose a tag to compare

2.1.0 (2024-03-01)

Features

  • accessibility: add accessibility state to focusable views (#80) (375d01b)
  • lists: add SpatialNavigationVirtualizedList ref (75e5059). Allows to imperatively focus an element at a given index!

Bug Fixes

  • core: Fix additional click on some tvs (54d5e11)

v2.0.0

28 Feb 16:00
Compare
Choose a tag to compare

2.0.0 (2024-02-28)

Features

  • core: add SpatialNavigationFocusableView (fa62c33). We now recommend using this instead of custom nodes. As the library evolves, we tend to recommend the node for advanced use cases only 😊
  • core: handle accessibility in focusable views (#79) (1d4bdcf)
  • web: handle TVs with web pointers (111a375) 🎉 many thanks to @thomasrebam @JulienIzz @remilry for the amazing job 🥳

Bug Fixes

  • tests: add default value to list size to not break list tests (#77) (3d02c5e)
demo_pointer.mov.smaller.mp4

v1.5.0

19 Feb 15:54
Compare
Choose a tag to compare

1.5.0 (2024-02-19)

Features

  • add alignInGrid to SpatialNavigationView (b496427)
  • add header handling to virtualized grids (#64) (c033b17)
  • expose SpatialNavigationNode ref (0fce024). This will allow you to imperatively focus elements if ever needed.

Bug Fixes

  • add missing display name to list components (#71) (681488b). Components will now be better named in the devtools!

v1.4.0

15 Feb 15:24
Compare
Choose a tag to compare

1.4.0 (2024-02-15)

Features

  • add isActive props (8549bed). Useful to have a visual effect on a Row that has a focused child, for example!
  • lists: handle different item sizes in virtualized list (47775e3)
  • lists: remove height and width props from virtualized list (96e13b1). This simplifies the API and the reliability a little bit 😊

⚠️ It is strongly recommended to properly memoize your Virtualized Lists data AND itemSize function (when used).

Bug Fixes

  • performance: add missing useMemo on useSpatialNavigatorFocusableAccessibilityProps (6b759c7)

v1.3.1

07 Feb 14:46
Compare
Choose a tag to compare

1.3.1 (2024-02-07)

Features

  • adding testId for virtualized list and grid (53a8814)
  • core: add indexRange props to SpatialNavigationNode (bb5ee0d). This makes grids more flexible (they might have bigger elements)

v1.3.0

24 Nov 10:51
Compare
Choose a tag to compare

1.3.0 (2023-11-24)

Features

  • core: add lock mechanism (941c296)
  • core: add onBlur props to SpatialNavigationNode (2d73227)
  • spatial-navigation: add callback when key pressed but no movement (c9a171c)

Bug Fixes

  • remote: better lifecycles for remote control subscription (#33) (5c56ef0)

v1.2.0

08 Nov 13:41
Compare
Choose a tag to compare

1.2.0 (2023-11-06)

Features

  • spatial-navigation: add callback when key pressed but no movement (c9a171c). Useful to add a side menu to your app!