Skip to content

fix(styles): replace StyleSheet.absoluteFillObject with absoluteFill - #7

Merged
thinkclay merged 1 commit into
mainfrom
clay/sdk-56-stylesheet-absolutefill
May 25, 2026
Merged

thinkclay merged 1 commit into
mainfrom
clay/sdk-56-stylesheet-absolutefill

Conversation

@thinkclay

Copy link
Copy Markdown
Contributor

Summary

React Native 0.85 (Expo SDK 56) removed StyleSheet.absoluteFillObject. absoluteFill is now the recommended object form with identical shape ({ position: 'absolute', left: 0, right: 0, top: 0, bottom: 0 }).

Fixed 3 sites:

  • src/components/Modal/Modal.styles.ts:34
  • src/components/Sheet/Sheet.styles.ts:63
  • src/components/SearchSelect/SearchSelect.tsx:344

Context

This is the submodule companion to the SDK 56 atomic upgrade in Unicorn/UNI-Construct#298. That PR pins the packages/ui submodule to this commit so its pnpm typecheck passes against [email protected].

Test plan

  • pnpm typecheck in packages/ui (no Property 'absoluteFillObject' does not exist on type 'typeof StyleSheet' errors)
  • Visual smoke for Modal, Sheet, SearchSelect backdrops once SDK 56 lands downstream.

🤖 Generated with Claude Code

React Native 0.85 (Expo SDK 56) removed StyleSheet.absoluteFillObject.
absoluteFill is now the recommended object form with identical shape
({position: 'absolute', left: 0, right: 0, top: 0, bottom: 0}).

Co-Authored-By: Claude Opus 4.7 <[email protected]>
@thinkclay

Copy link
Copy Markdown
Contributor Author

Reopening so we can merge this before cutting UNI-Construct v1.4.0 — its submodule pointer at 44b75ac is only reachable via this branch. See Scaffald/SaaS#298.

@thinkclay thinkclay reopened this May 25, 2026
@thinkclay
thinkclay merged commit a39b033 into main May 25, 2026
thinkclay added a commit to Scaffald/SaaS that referenced this pull request May 25, 2026
Scaffald/ui#7 (the absoluteFillObject → absoluteFill fix for SDK 56)
merged as a39b033 on Scaffald/ui main. Move the pointer off the
clay/sdk-56-stylesheet-absolutefill branch (its only previous reach)
onto a durable main commit ahead of the v1.4.0 cut.

Co-Authored-By: Claude Opus 4.7 <[email protected]>
thinkclay added a commit to Scaffald/SaaS that referenced this pull request May 25, 2026
Moves submodule from 44b75ac (branch-only) to a39b033 (Scaffald/ui main, post Scaffald/ui#7 merge). Required for durable v1.4.0 release tag.
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.

1 participant