Skip to content

feat(web): add accelerated checkout element shell - #796

Draft
rsomlette wants to merge 3 commits into
mainfrom
wallets/release-01-component-shell
Draft

rsomlette wants to merge 3 commits into
mainfrom
wallets/release-01-component-shell

Conversation

@rsomlette

Copy link
Copy Markdown

Review purpose

Establish the smallest buildable and testable home for the Headless accelerated-checkout custom element. This PR contains no merchant configuration or wallet runtime behavior.

Changes

  • add the @shopify/checkout-kit/wallets package subpath
  • add the wallets.js build entry and declaration output
  • synchronously register <shopify-accelerated-checkout-buttons>
  • render an empty accessible shadow-root mount
  • cover registration, duplicate evaluation, and the empty mount
  • update the package snapshot for the new published entry

Non-goals

  • merchant inputs or callbacks
  • Portable Wallets loading
  • wallet eligibility or rendering
  • skeleton markup or styling
  • local proxy configuration

Related ticket

Related: https://github.com/shop/issues-checkout/issues/14751

This is the shell portion of the ticket. The local development fixture is the next stacked PR, so this PR does not close the ticket.

Validation

  • web lint and typecheck
  • 260 web tests
  • production package build
  • publint
  • package snapshot comparison

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

#gsd:50662 Rebase Checkout Kit on UCP

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant