Skip to content

Releases: NoriginMedia/Norigin-Spatial-Navigation

@noriginmedia/norigin-spatial-navigation@3.2.1

Choose a tag to compare

@github-actions github-actions released this 01 Jul 13:36
58b5da0

Patch Changes

  • Updated dependencies [54353b0]
  • Updated dependencies [54353b0]
  • Updated dependencies [54353b0]
    • @noriginmedia/norigin-spatial-navigation-core@4.0.0
    • @noriginmedia/norigin-spatial-navigation-react@3.2.1

@noriginmedia/norigin-spatial-navigation-react@3.2.1

Choose a tag to compare

@github-actions github-actions released this 01 Jul 13:36
58b5da0

Patch Changes

  • 54353b0: - Add nextFocusResolver to override default behavior
  • Updated dependencies [54353b0]
  • Updated dependencies [54353b0]
  • Updated dependencies [54353b0]
    • @noriginmedia/norigin-spatial-navigation-core@4.0.0

@noriginmedia/norigin-spatial-navigation-react-native-tvos@4.0.0

Choose a tag to compare

@github-actions github-actions released this 01 Jul 13:50
58b5da0

Major Changes

  • 54353b0: - Add NodeTypeOverrides interface to allow node type to be overridden by the adapter

    • Added ReactNativeLayoutAdapter for React Native TV support

    BREAKING CHANGES

    • Removed nativeMode option from SpatialNavigationServiceOptions
    • Removed isNativeMode method from SpatialNavigationService

Patch Changes

  • 54353b0: - Add extra compatibility for web bundlers like Vite or Webpack when using with React Native Web
  • Updated dependencies [54353b0]
  • Updated dependencies [54353b0]
  • Updated dependencies [54353b0]
    • @noriginmedia/norigin-spatial-navigation-core@4.0.0
    • @noriginmedia/norigin-spatial-navigation-react@3.2.1

@noriginmedia/norigin-spatial-navigation-core@4.0.0

Choose a tag to compare

@github-actions github-actions released this 01 Jul 13:36
58b5da0

Major Changes

  • 54353b0: - Measure layout methods are now async
    • Deprecated useGetBoundingClientRect option in init method. Prefer init({ layoutAdapter: GetBoundingClientRectAdapter }) or keep the flag until you migrate
    • Added Scheduler class to manage asynchronous tasks in a strict sequence
    • Export BaseWebAdapter and GetBoundingClientRectAdapter from @noriginmedia/norigin-spatial-navigation-core

Minor Changes

  • 54353b0: - Add NodeTypeOverrides interface to allow node type to be overridden by the adapter

    • Added ReactNativeLayoutAdapter for React Native TV support

    BREAKING CHANGES

    • Removed nativeMode option from SpatialNavigationServiceOptions
    • Removed isNativeMode method from SpatialNavigationService

Patch Changes

  • 54353b0: - Add nextFocusResolver to override default behavior

@noriginmedia/norigin-spatial-navigation@3.2.0

Choose a tag to compare

@github-actions github-actions released this 18 Jun 13:28
2a0924b

Minor Changes

  • a18ed66: Add focusOnPresetKey init option (default true) to control whether a component is automatically focused when it is added and its focus key was already set as the current focus key (e.g. setFocus was called before the component mounted). Set it to false to disable this implicit refocus on add.

Patch Changes

  • Updated dependencies [a18ed66]
    • @noriginmedia/norigin-spatial-navigation-core@3.2.0
    • @noriginmedia/norigin-spatial-navigation-react@3.2.0

@noriginmedia/norigin-spatial-navigation-react@3.2.0

Choose a tag to compare

@github-actions github-actions released this 18 Jun 13:28
2a0924b

Minor Changes

  • a18ed66: Add focusOnPresetKey init option (default true) to control whether a component is automatically focused when it is added and its focus key was already set as the current focus key (e.g. setFocus was called before the component mounted). Set it to false to disable this implicit refocus on add.

Patch Changes

  • Updated dependencies [a18ed66]
    • @noriginmedia/norigin-spatial-navigation-core@3.2.0

@noriginmedia/norigin-spatial-navigation-core@3.2.0

Choose a tag to compare

@github-actions github-actions released this 18 Jun 13:28
2a0924b

Minor Changes

  • a18ed66: Add focusOnPresetKey init option (default true) to control whether a component is automatically focused when it is added and its focus key was already set as the current focus key (e.g. setFocus was called before the component mounted). Set it to false to disable this implicit refocus on add.

@noriginmedia/norigin-spatial-navigation@3.1.0

Choose a tag to compare

@github-actions github-actions released this 24 Apr 15:04
eda97ef

Minor Changes

  • 0a867bd: Add accessibility labels on focusable components.

    Introduces a new optional onUtterText callback on init() and an accessibilityLabel prop on useFocusable() (and the underlying addFocusable / updateFocusable payloads). When focus lands on a focusable component, the library concatenates the labels of all newly-entered parent regions with the leaf node's own label and passes the resulting string to onUtterText. Parent region labels are only included when focus enters a region for the first time (similar to how aria-label on role="region" behaves), so subsequent focus moves within the same parent only utter the leaf label.

    This library does not implement Text-To-Speech itself — it only provides a unified way to declare accessibility labels and wire the callback to the platform's TTS engine, which is particularly useful for cross-platform TV apps where native aria-* support is fragmented.

Patch Changes

  • Updated dependencies [0a867bd]
    • @noriginmedia/norigin-spatial-navigation-core@3.1.0
    • @noriginmedia/norigin-spatial-navigation-react@3.1.0

@noriginmedia/norigin-spatial-navigation-react@3.1.0

Choose a tag to compare

@github-actions github-actions released this 24 Apr 15:04
eda97ef

Minor Changes

  • 0a867bd: Add accessibility labels on focusable components.

    Introduces a new optional onUtterText callback on init() and an accessibilityLabel prop on useFocusable() (and the underlying addFocusable / updateFocusable payloads). When focus lands on a focusable component, the library concatenates the labels of all newly-entered parent regions with the leaf node's own label and passes the resulting string to onUtterText. Parent region labels are only included when focus enters a region for the first time (similar to how aria-label on role="region" behaves), so subsequent focus moves within the same parent only utter the leaf label.

    This library does not implement Text-To-Speech itself — it only provides a unified way to declare accessibility labels and wire the callback to the platform's TTS engine, which is particularly useful for cross-platform TV apps where native aria-* support is fragmented.

Patch Changes

  • Updated dependencies [0a867bd]
    • @noriginmedia/norigin-spatial-navigation-core@3.1.0

@noriginmedia/norigin-spatial-navigation-core@3.1.0

Choose a tag to compare

@github-actions github-actions released this 24 Apr 15:04
eda97ef

Minor Changes

  • 0a867bd: Add accessibility labels on focusable components.

    Introduces a new optional onUtterText callback on init() and an accessibilityLabel prop on useFocusable() (and the underlying addFocusable / updateFocusable payloads). When focus lands on a focusable component, the library concatenates the labels of all newly-entered parent regions with the leaf node's own label and passes the resulting string to onUtterText. Parent region labels are only included when focus enters a region for the first time (similar to how aria-label on role="region" behaves), so subsequent focus moves within the same parent only utter the leaf label.

    This library does not implement Text-To-Speech itself — it only provides a unified way to declare accessibility labels and wire the callback to the platform's TTS engine, which is particularly useful for cross-platform TV apps where native aria-* support is fragmented.