- Updated dependencies [
934d5c06c26f5b822a72be983c219c9f65fabcf2
]:- @shopify/[email protected]
-
#34
617f7c7412bed204f9a757ad11cad8635820e4dc
Thanks @charlesdobson! - fix build output due to misconfigured build script -
Updated dependencies [
617f7c7412bed204f9a757ad11cad8635820e4dc
]:- @shopify/[email protected]
- Updated dependencies [
a79a42172c1af3412ed40213f89e694ac8ada6dd
]:- @shopify/[email protected]
- #76
bb530e3
Thanks @henrytao-me! - Fix leave confirmation for saveBar
- #69
153c3dd
Thanks @henrytao-me! - Bump app-brige-types
- #66
1678fe8
Thanks @charlesdobson! - expose CHANGELOG.md
-
#62
8541115
Thanks @henrytao-me! - add src prop to Modal component to support iframe modals -
#64
b1fbf2b
Thanks @henrytao-me! - add SaveBar component to declaratively control the contextual save bar
See the migration guide for more details on how to migrate your app.
- Added requirement to add the
app-bridge.js
script tag in your app - Added requirement to use
react
andreact-dom
18 or higher - Refactored
Modal
component to accept custom DOM content instead ofsrc
andmessage
props - Refactored
NavigationMenu
component (renamedNavMenu
) to accept<a>
elements as children instead ofnavigationLinks
andmatcher
props - Refactored
TitleBar
component to accept<a>
,<button>
, and<section>
elements as children instead of primaryAction, secondaryActions, actionGroups, and breadcrumbs props - Removed
ContextualSaveBar
component in favour of it being automatically configured throughform
elements - Removed
Loading
component in favour of theshopify.loading
API - Removed
ResourcePicker
component in favour of theshopify.resourcePicker
API - Removed
Toast
component in favour of theshopify.toast
API - Refactored
useAppBridge
hook to access theshopify
global variable instead of theapp
instance - Removed
useAppBridgeState
hook in favour of theshopify.user
API and others - Removed
useAuthenticatedFetch
hook as theapp-bridge.js
script injects automatic authorization into the globalfetch
function - Removed
useContextualSaveBar
hook in favour of it being automatically configured throughform
elements - Removed
useNavigate
hook in favour of the browser Navigation API - Removed
useNavigationHistory
hook in favour of the browser History API - Removed
useToast
hook in favour of theshopify.toast
API