Skip to content

Add private positioning types to s-box checkout component - #4660

Open
oliverigor wants to merge 1 commit into
2026-10-rcfrom
add-box-private-positioning-types
Open

Add private positioning types to s-box checkout component#4660
oliverigor wants to merge 1 commit into
2026-10-rcfrom
add-box-private-positioning-types

Conversation

@oliverigor

@oliverigor oliverigor commented Aug 28, 2026

Copy link
Copy Markdown
Contributor

Adds the private positioning types for the s-box checkout component, mirroring the host-side change merged in shop/world#957019 ([Absolute Positioning]: Add private positioning to s-box).

What

  • packages/ui-extensions/src/surfaces/checkout/components/Box.d.ts: adds the four new @private props to BoxElementProps, copied verbatim from the build-components output in checkout-web:
    • position?: 'absolute' | 'relative' (default 'relative')
    • insetBlock? / insetInline?: `auto ${SizeUnits}` | `${SizeUnits} auto` | 'auto' (default 'auto')
    • transform?: translate(...) forms using SizeUnits, or 'none' (default 'none')
  • Adds a patch changeset.

Notes

  • Only the new-prop hunks were applied instead of wholesale copying the generated files.

Orchestrated-by: ae <noreply@shopify.com>
Assisted-By: devx/77acbc6e-3c3e-4032-875c-788fcedbbf07
@oliverigor
oliverigor marked this pull request as ready for review August 29, 2026 12:26
@oliverigor

Copy link
Copy Markdown
Contributor Author

/snapit

@shopify-github-actions-access

Copy link
Copy Markdown
Contributor

🫰✨ Thanks @oliverigor! Your snapshots have been published to npm.

Test the snapshots by updating your package.json with the newly published versions:

"@shopify/ui-extensions": "0.0.0-snapshot-20260829123027",
"@shopify/ui-extensions-tester": "0.0.0-snapshot-20260829123027"

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