From f36ea5532add854f58297c630066d947da5ac849 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 16 Jul 2026 19:24:05 +0000 Subject: [PATCH] chore: Update versions (alpha) --- .changeset/pre.json | 15 +++++++++++- apps/react-lightning-example/CHANGELOG.md | 19 +++++++++++++++ apps/react-lightning-example/package.json | 2 +- .../CHANGELOG.md | 23 +++++++++++++++++++ .../package.json | 2 +- apps/storybook/CHANGELOG.md | 23 +++++++++++++++++++ apps/storybook/package.json | 2 +- packages/plugin-flexbox/CHANGELOG.md | 12 ++++++++++ packages/plugin-flexbox/package.json | 2 +- packages/plugin-reanimated/CHANGELOG.md | 16 +++++++++++++ packages/plugin-reanimated/package.json | 2 +- .../react-lightning-components/CHANGELOG.md | 19 +++++++++++++++ .../react-lightning-components/package.json | 2 +- packages/react-lightning/CHANGELOG.md | 10 ++++++++ packages/react-lightning/package.json | 2 +- packages/react-native-lightning/CHANGELOG.md | 21 +++++++++++++++++ packages/react-native-lightning/package.json | 2 +- 17 files changed, 165 insertions(+), 9 deletions(-) diff --git a/.changeset/pre.json b/.changeset/pre.json index 8bd9cae..d77c0ef 100644 --- a/.changeset/pre.json +++ b/.changeset/pre.json @@ -19,7 +19,10 @@ "@plextv/vite-plugin-react-reanimated-lightning": "0.4.3" }, "changesets": [ + "activity-hide-releases-layout", + "classname-style-updates", "css-transform-keyword-colors", + "derived-value-withtiming-ticks", "flatten-exit-animation-materialize", "flatten-layout-views", "flatten-scroll-fold-through", @@ -28,7 +31,10 @@ "flexbox-missing-glyph-fallback", "flexbox-reset-dropped-style-props", "flexbox-sync-flush-settled", + "focus-destination-stale-ref-fallback", + "focus-events-bubble", "focus-skip-empty-groups", + "grid-focus-cross-axis", "lightning-animated-transform-and-resting-styles", "lightning-aspect-ratio", "lightning-border-shader-clear", @@ -45,11 +51,18 @@ "lightning-virtuallist-parity", "lightning-worker-font-url", "percent-translate-own-size", + "pixelratio-scene-truth", "reanimated-dep-inference", "rounded-clipping-option", + "text-color-and-refold", "two-geese-stand", + "virtual-list-viewport-flex", + "virtuallist-native-snap-props", + "virtuallist-no-react-compiler-memo", "virtuallist-pin-cross-axis", "virtuallist-pin-section-cross-axis", - "virtuallist-reveal-on-settled" + "virtuallist-reveal-backstop", + "virtuallist-reveal-on-settled", + "zindex-stacking-scope" ] } diff --git a/apps/react-lightning-example/CHANGELOG.md b/apps/react-lightning-example/CHANGELOG.md index 54b2099..2d6d566 100644 --- a/apps/react-lightning-example/CHANGELOG.md +++ b/apps/react-lightning-example/CHANGELOG.md @@ -1,5 +1,24 @@ # @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 + ## 0.4.4-alpha.0 ### Patch Changes diff --git a/apps/react-lightning-example/package.json b/apps/react-lightning-example/package.json index a5a4341..d850998 100644 --- a/apps/react-lightning-example/package.json +++ b/apps/react-lightning-example/package.json @@ -1,6 +1,6 @@ { "name": "@plextv/react-lightning-example", - "version": "0.4.4-alpha.0", + "version": "0.4.4-alpha.1", "private": true, "description": "Sample implementation of @plextv/react-lightning in a React app", "bugs": { diff --git a/apps/react-native-lightning-example/CHANGELOG.md b/apps/react-native-lightning-example/CHANGELOG.md index 0a7ecd3..abbc062 100644 --- a/apps/react-native-lightning-example/CHANGELOG.md +++ b/apps/react-native-lightning-example/CHANGELOG.md @@ -1,5 +1,28 @@ # @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 + ## 0.4.4-alpha.0 ### Patch Changes diff --git a/apps/react-native-lightning-example/package.json b/apps/react-native-lightning-example/package.json index 76743b9..112c382 100644 --- a/apps/react-native-lightning-example/package.json +++ b/apps/react-native-lightning-example/package.json @@ -1,6 +1,6 @@ { "name": "@plextv/react-native-lightning-example", - "version": "0.4.4-alpha.0", + "version": "0.4.4-alpha.1", "private": true, "description": "Sample implementation of @plextv/react-native-lightning in a React Native app", "bugs": { diff --git a/apps/storybook/CHANGELOG.md b/apps/storybook/CHANGELOG.md index 38ab839..c2549dd 100644 --- a/apps/storybook/CHANGELOG.md +++ b/apps/storybook/CHANGELOG.md @@ -1,5 +1,28 @@ # @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 + ## 0.4.4-alpha.0 ### Patch Changes diff --git a/apps/storybook/package.json b/apps/storybook/package.json index 7a0a550..4ef896f 100644 --- a/apps/storybook/package.json +++ b/apps/storybook/package.json @@ -1,6 +1,6 @@ { "name": "@plextv/react-lightning-storybook", - "version": "0.4.4-alpha.0", + "version": "0.4.4-alpha.1", "private": true, "description": "Documentation for react-lightning", "bugs": { diff --git a/packages/plugin-flexbox/CHANGELOG.md b/packages/plugin-flexbox/CHANGELOG.md index 8891c6c..1530089 100644 --- a/packages/plugin-flexbox/CHANGELOG.md +++ b/packages/plugin-flexbox/CHANGELOG.md @@ -1,5 +1,17 @@ # @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 + ## 0.4.3-alpha.0 ### Patch Changes diff --git a/packages/plugin-flexbox/package.json b/packages/plugin-flexbox/package.json index ccfdcad..bfa326c 100644 --- a/packages/plugin-flexbox/package.json +++ b/packages/plugin-flexbox/package.json @@ -1,6 +1,6 @@ { "name": "@plextv/react-lightning-plugin-flexbox", - "version": "0.4.3-alpha.0", + "version": "0.4.3-alpha.1", "description": "Adds FlexBox layout support to @plextv/react-lightning using yoga", "bugs": { "url": "https://github.com/plexinc/react-lightning/issues/new" diff --git a/packages/plugin-reanimated/CHANGELOG.md b/packages/plugin-reanimated/CHANGELOG.md index 8a6a732..5bf89a2 100644 --- a/packages/plugin-reanimated/CHANGELOG.md +++ b/packages/plugin-reanimated/CHANGELOG.md @@ -1,5 +1,21 @@ # @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 + ## 0.4.3-alpha.0 ### Patch Changes diff --git a/packages/plugin-reanimated/package.json b/packages/plugin-reanimated/package.json index d396b4f..4959a8f 100644 --- a/packages/plugin-reanimated/package.json +++ b/packages/plugin-reanimated/package.json @@ -1,6 +1,6 @@ { "name": "@plextv/react-lightning-plugin-reanimated", - "version": "0.4.3-alpha.0", + "version": "0.4.3-alpha.1", "description": "Reanimated plugin for @plextv/react-native-lightning", "bugs": { "url": "https://github.com/plexinc/react-lightning/issues/new" diff --git a/packages/react-lightning-components/CHANGELOG.md b/packages/react-lightning-components/CHANGELOG.md index 7fa566f..3838c54 100644 --- a/packages/react-lightning-components/CHANGELOG.md +++ b/packages/react-lightning-components/CHANGELOG.md @@ -1,5 +1,24 @@ # @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 + ## 0.4.4-alpha.0 ### Patch Changes diff --git a/packages/react-lightning-components/package.json b/packages/react-lightning-components/package.json index 0da7006..b9fed4d 100644 --- a/packages/react-lightning-components/package.json +++ b/packages/react-lightning-components/package.json @@ -1,6 +1,6 @@ { "name": "@plextv/react-lightning-components", - "version": "0.4.4-alpha.0", + "version": "0.4.4-alpha.1", "description": "React components for react-lightning", "bugs": { "url": "https://github.com/plexinc/react-lightning/issues/new" diff --git a/packages/react-lightning/CHANGELOG.md b/packages/react-lightning/CHANGELOG.md index 1e8df66..9a6717e 100644 --- a/packages/react-lightning/CHANGELOG.md +++ b/packages/react-lightning/CHANGELOG.md @@ -1,5 +1,15 @@ # @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). + ## 0.4.3-alpha.0 ### Patch Changes diff --git a/packages/react-lightning/package.json b/packages/react-lightning/package.json index 806a547..33e6638 100644 --- a/packages/react-lightning/package.json +++ b/packages/react-lightning/package.json @@ -1,6 +1,6 @@ { "name": "@plextv/react-lightning", - "version": "0.4.3-alpha.0", + "version": "0.4.3-alpha.1", "description": "React renderer for rendering React apps with Lightning.js", "bugs": { "url": "https://github.com/plexinc/react-lightning/issues/new" diff --git a/packages/react-native-lightning/CHANGELOG.md b/packages/react-native-lightning/CHANGELOG.md index a65fd4d..c6b83ac 100644 --- a/packages/react-native-lightning/CHANGELOG.md +++ b/packages/react-native-lightning/CHANGELOG.md @@ -1,5 +1,26 @@ # @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 + ## 0.4.3-alpha.0 ### Patch Changes diff --git a/packages/react-native-lightning/package.json b/packages/react-native-lightning/package.json index b078e50..9ff9f91 100644 --- a/packages/react-native-lightning/package.json +++ b/packages/react-native-lightning/package.json @@ -1,6 +1,6 @@ { "name": "@plextv/react-native-lightning", - "version": "0.4.3-alpha.0", + "version": "0.4.3-alpha.1", "description": "@plextv/react-lightning implementation for react-native", "bugs": { "url": "https://github.com/plexinc/react-lightning/issues/new"