Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Checkout UI extensions] Add Localized Fields API to Unstable #2547

Merged
merged 5 commits into from
Jan 2, 2025

Conversation

rcaplanshopify
Copy link
Contributor

@rcaplanshopify rcaplanshopify commented Dec 23, 2024

Background

This unstable patch introduces the Localized Fields API. It also adds the useLocalizedFields hook to the @shopify/ui-extensions-react package.

(Provide a link to any relevant issues AND provide a TLDR of the issue in this pull request)

Solution

(Describe your solution, why this approach was chosen, and what the alternatives/impacts may be)

🎩

API list
Localized Fields API

Checklist

  • I have 🎩'd these changes
  • I have updated relevant documentation

@rcaplanshopify rcaplanshopify changed the title [Checkout UI extensions] Add Localized Fields API [Checkout UI extensions] Add Localized Fields API to Unstable Dec 23, 2024
@rcaplanshopify
Copy link
Contributor Author

/snapit

@shopify-github-actions-access
Copy link
Contributor

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

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

"@shopify/data-extensions": "0.0.0-snapshot-20241223184422",
"@shopify/ui-extensions": "0.0.0-snapshot-20241223184422",
"@shopify/ui-extensions-react": "0.0.0-snapshot-20241223184422"

@@ -858,6 +858,49 @@ export type CountryCode =
| 'ZW'
| 'ZZ';

// For instructions on how to update this list see: https://github.com/Shopify/checkout-web/pull/39534
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Separating this comment prevents inclusion of the PR link in the docs and IDE.

Screenshot 2025-01-02 at 12 26 56 PM

@rcaplanshopify rcaplanshopify marked this pull request as ready for review January 2, 2025 20:37
Copy link
Contributor

@mleandres mleandres left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🚀

@rcaplanshopify rcaplanshopify merged commit b1b3473 into unstable Jan 2, 2025
7 checks passed
rcaplanshopify added a commit that referenced this pull request Jan 2, 2025
[Checkout UI extensions] Add Localized Fields API to `Unstable`
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