Skip to content

chore: Update versions (alpha)#116

Merged
RuudBurger merged 1 commit into
mainfrom
changeset-release/main
Jul 16, 2026
Merged

chore: Update versions (alpha)#116
RuudBurger merged 1 commit into
mainfrom
changeset-release/main

Conversation

@plex-ops

Copy link
Copy Markdown
Contributor

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

⚠️⚠️⚠️⚠️⚠️⚠️

main is currently in pre mode so this branch has prereleases rather than normal releases. If you want to exit prereleases, run changeset pre exit on main.

⚠️⚠️⚠️⚠️⚠️⚠️

Releases

@plextv/react-lightning-plugin-flexbox@0.4.3-alpha.1

Patch Changes

  • 5f304aa: Keep className-derived styles on style-only updates. Update payloads omit an unchanged className, so its resolved styles vanished from the style object and the flexbox plugin reset those props (a column screen re-laid out as a row after toggling display). The className plugin now remembers what it resolved per instance. Also: a dropped flexDirection resets to column (the node creation default, not the CSS row default), and addChildNode without an index appends at the parent's child count instead of index 0.
  • Updated dependencies [edaeae2]
  • Updated dependencies [895f6a9]
  • Updated dependencies [badb2f6]
  • Updated dependencies [692445d]
  • Updated dependencies [0f901bd]
    • @plextv/react-lightning@0.4.3-alpha.1

@plextv/react-lightning-plugin-reanimated@0.4.3-alpha.1

Patch Changes

  • eea5290: Make useDerivedValue(() => withTiming(...)) expose the live number reanimated does. It stored the raw animation descriptor, so reading it back for arithmetic (or as a style value) got an object, not a number. Now the derived value ticks from its current value toward the target on the JS thread each frame (timing and spring share the path, since a spring bakes its physics into the easing), so reads stay numeric and styles still animate. Composed programs (withSequence/withRepeat/withDelay) snap to their resting target.
  • Updated dependencies [edaeae2]
  • Updated dependencies [5f304aa]
  • Updated dependencies [895f6a9]
  • Updated dependencies [badb2f6]
  • Updated dependencies [a9a5dc3]
  • Updated dependencies [692445d]
  • Updated dependencies [0f901bd]
    • @plextv/react-lightning@0.4.3-alpha.1
    • @plextv/react-native-lightning@0.4.3-alpha.1
    • @plextv/react-lightning-plugin-flexbox@0.4.3-alpha.1

@plextv/react-lightning@0.4.3-alpha.1

Patch Changes

  • edaeae2: React-hidden trees (Activity mode="hidden", suspended Suspense content) now set display: none instead of only alpha: 0, so they release their layout space like react-dom. The hide is sticky across later style pushes (a full style update used to reset display and pop the space back in while invisible), and unhide restores display and opacity from the current props.
  • 895f6a9: Skip focus destinations that are unfocusable or no longer registered instead of aborting the whole focus move. A destination can hold a stale ref (a recycled list cell that unmounted after setDestinations); the redirect now falls through to the next destination or to normal child focus, matching native TVFocusGuideView, which drops invalid node handles.
  • badb2f6: Bubble focus/blur events up the element tree. tvOS and web deliver focus events to ancestor views (a wrapper View's onFocus fires when a focused descendant changes), but the focus path only reaches registered focus nodes, so handlers on plain wrappers never fired. FocusManager now walks the focused leaf's element ancestry on every leaf change and delivers the event to elements that didn't just fire their own focus()/blur(). VirtualList forwards onFocus/onBlur to its outer element so handlers spread onto a list participate like they do on a native FlashList host view.
  • 692445d: Two text-element fixes. A colorless Text mounted transparent: the mount-time color 0 stamp (meant for views, where the renderer default is white) ran before the text element's white default, so any Text without an explicit style color was invisible. Text elements are now excluded from the stamp. And a text fragment nested more than one level deep (Text > Text > string) only re-folded its direct parent on update; the text setter now propagates the re-fold through every aggregating ancestor.
  • 0f901bd: Contain zIndex to its RN parent under view flattening. A flattened wrapper hoisted zIndex-carrying children to the nearest real ancestor, letting the index compete against unrelated subtrees (a nav bar's zIndex: 2 outranked modal screens mounted after it). A non-zero zIndex/zIndexLocked now materializes the flattened parent so the index only sorts among its real RN siblings, on attach and on every zIndex write path (setNodeProp, batched props, fast-path styles).

@plextv/react-lightning-components@0.4.4-alpha.1

Patch Changes

  • badb2f6: Bubble focus/blur events up the element tree. tvOS and web deliver focus events to ancestor views (a wrapper View's onFocus fires when a focused descendant changes), but the focus path only reaches registered focus nodes, so handlers on plain wrappers never fired. FocusManager now walks the focused leaf's element ancestry on every leaf change and delivers the event to elements that didn't just fire their own focus()/blur(). VirtualList forwards onFocus/onBlur to its outer element so handlers spread onto a list participate like they do on a native FlashList host view.
  • 0980f51: Resolve the focused VirtualList index with the cross axis. handleVLFocus mapped the focused child back to an item via its main-axis offset alone, which in a multi-column grid identifies only the row: findIndexAtOffset returned the row's first index, the shouldFocus claim then pulled focus to column 0. New LayoutManager.findIndexAt(offset, crossOffset) walks the row's entries and picks the column containing the cross position, so D-pad Down/Up land on the item directly below/above.
  • 18eb21a: Give a vertical VirtualList's outer element a zero flex basis. With the default auto basis, the content plane's explicit height became the flex basis of every ancestor, and one grow-only ancestor (no flexShrink) locked the whole chain at content height (tens of thousands of px). A virtualized list never sizes from its content.
  • 74aefc6: VirtualList understands the native snap props: snapToAlignment/scrollSnapAlign resolve per child, scrollSnapOffset shifts the snap point, and snapToItemPadding pads the snapped item against the viewport edge.
  • 75738d7: Keep the React Compiler from caching VirtualList's mutable layout reads. Layout state lives in the LayoutManager and every change (data updates, measurements, reveal re-checks) signals through a bare version-bump state that the compiler's dependency sets never see, so the memoized visible range replayed stale and data arriving after mount never mounted any cells (the footer offset had the same staleness). The render-phase reads now live in two 'use no memo' hooks (useVisibleRange, useLayoutTotalSize) whose fresh results downstream scopes key on; the rest of the component stays compiled.
  • 5af32c0: Back-stop the VirtualList reveal gate for cells that never measure. A cell that is visible with an estimated size but has not measured yet (async content still pending) returned Infinity from the gate, so no re-check timer was scheduled and every cell below it stayed hidden until an unrelated commit woke the list. Such a cell now counts down the same max window a churning cell already uses, so the rows below it can't be stranded invisibly.
  • Updated dependencies [edaeae2]
  • Updated dependencies [5f304aa]
  • Updated dependencies [895f6a9]
  • Updated dependencies [badb2f6]
  • Updated dependencies [692445d]
  • Updated dependencies [0f901bd]
    • @plextv/react-lightning@0.4.3-alpha.1
    • @plextv/react-lightning-plugin-flexbox@0.4.3-alpha.1

@plextv/react-native-lightning@0.4.3-alpha.1

Patch Changes

  • 5f304aa: Keep className-derived styles on style-only updates. Update payloads omit an unchanged className, so its resolved styles vanished from the style object and the flexbox plugin reset those props (a column screen re-laid out as a row after toggling display). The className plugin now remembers what it resolved per instance. Also: a dropped flexDirection resets to column (the node creation default, not the CSS row default), and addChildNode without an index appends at the parent's child count instead of index 0.
  • a9a5dc3: Report PixelRatio 1 instead of window.devicePixelRatio. The Lightning canvas backing store equals the configured scene size, so one layout pixel is one canvas pixel; inheriting react-native-web's devicePixelRatio made image sizing fetch 2x assets on retina displays that the renderer downscales anyway: 4x the texture memory for no visible gain, enough to blow the texture manager's cleanup budget and evict visible tiles.
  • Updated dependencies [edaeae2]
  • Updated dependencies [5f304aa]
  • Updated dependencies [895f6a9]
  • Updated dependencies [badb2f6]
  • Updated dependencies [0980f51]
  • Updated dependencies [692445d]
  • Updated dependencies [18eb21a]
  • Updated dependencies [74aefc6]
  • Updated dependencies [75738d7]
  • Updated dependencies [5af32c0]
  • Updated dependencies [0f901bd]
    • @plextv/react-lightning@0.4.3-alpha.1
    • @plextv/react-lightning-plugin-flexbox@0.4.3-alpha.1
    • @plextv/react-lightning-components@0.4.4-alpha.1

@plextv/react-lightning-example@0.4.4-alpha.1

Patch Changes

  • Updated dependencies [edaeae2]
  • Updated dependencies [5f304aa]
  • Updated dependencies [895f6a9]
  • Updated dependencies [badb2f6]
  • Updated dependencies [0980f51]
  • Updated dependencies [692445d]
  • Updated dependencies [18eb21a]
  • Updated dependencies [74aefc6]
  • Updated dependencies [75738d7]
  • Updated dependencies [5af32c0]
  • Updated dependencies [0f901bd]
    • @plextv/react-lightning@0.4.3-alpha.1
    • @plextv/react-lightning-plugin-flexbox@0.4.3-alpha.1
    • @plextv/react-lightning-components@0.4.4-alpha.1

@plextv/react-native-lightning-example@0.4.4-alpha.1

Patch Changes

  • Updated dependencies [edaeae2]
  • Updated dependencies [5f304aa]
  • Updated dependencies [eea5290]
  • Updated dependencies [895f6a9]
  • Updated dependencies [badb2f6]
  • Updated dependencies [0980f51]
  • Updated dependencies [a9a5dc3]
  • Updated dependencies [692445d]
  • Updated dependencies [18eb21a]
  • Updated dependencies [74aefc6]
  • Updated dependencies [75738d7]
  • Updated dependencies [5af32c0]
  • Updated dependencies [0f901bd]
    • @plextv/react-lightning@0.4.3-alpha.1
    • @plextv/react-native-lightning@0.4.3-alpha.1
    • @plextv/react-lightning-plugin-flexbox@0.4.3-alpha.1
    • @plextv/react-lightning-plugin-reanimated@0.4.3-alpha.1
    • @plextv/react-lightning-components@0.4.4-alpha.1

@plextv/react-lightning-storybook@0.4.4-alpha.1

Patch Changes

  • Updated dependencies [edaeae2]
  • Updated dependencies [5f304aa]
  • Updated dependencies [eea5290]
  • Updated dependencies [895f6a9]
  • Updated dependencies [badb2f6]
  • Updated dependencies [0980f51]
  • Updated dependencies [a9a5dc3]
  • Updated dependencies [692445d]
  • Updated dependencies [18eb21a]
  • Updated dependencies [74aefc6]
  • Updated dependencies [75738d7]
  • Updated dependencies [5af32c0]
  • Updated dependencies [0f901bd]
    • @plextv/react-lightning@0.4.3-alpha.1
    • @plextv/react-native-lightning@0.4.3-alpha.1
    • @plextv/react-lightning-plugin-flexbox@0.4.3-alpha.1
    • @plextv/react-lightning-plugin-reanimated@0.4.3-alpha.1
    • @plextv/react-lightning-components@0.4.4-alpha.1

@RuudBurger
RuudBurger self-requested a review July 16, 2026 19:25
@RuudBurger
RuudBurger merged commit 2447f1f into main Jul 16, 2026
1 check passed
@RuudBurger
RuudBurger deleted the changeset-release/main branch July 16, 2026 19:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants