From b11b6cd0a346f1129c78736ea29a5e21044d5ad2 Mon Sep 17 00:00:00 2001 From: fpladano Date: Thu, 5 Oct 2023 17:55:10 -0500 Subject: [PATCH 1/2] feat: export openURL utilities #27911 --- core/src/index.ts | 1 + packages/angular/src/index.ts | 1 + packages/react/src/components/index.ts | 1 + packages/vue/src/index.ts | 1 + 4 files changed, 4 insertions(+) diff --git a/core/src/index.ts b/core/src/index.ts index 6bf73d59611..6ae0ae61136 100644 --- a/core/src/index.ts +++ b/core/src/index.ts @@ -11,6 +11,7 @@ export { componentOnReady } from './utils/helpers'; export { isPlatform, Platforms, PlatformConfig, getPlatforms } from './utils/platform'; export { IonicSafeString } from './utils/sanitization'; export { IonicConfig, getMode, setupConfig } from './utils/config'; +export { openURL } from "./utils/theme"; export { LIFECYCLE_WILL_ENTER, LIFECYCLE_DID_ENTER, diff --git a/packages/angular/src/index.ts b/packages/angular/src/index.ts index 366ccf3742a..2c4d4482cb7 100644 --- a/packages/angular/src/index.ts +++ b/packages/angular/src/index.ts @@ -131,4 +131,5 @@ export { ToggleChangeEventDetail, ToggleCustomEvent, TransitionOptions, + openURL, } from '@ionic/core'; diff --git a/packages/react/src/components/index.ts b/packages/react/src/components/index.ts index bfe29ae6597..8d3f178bf9f 100644 --- a/packages/react/src/components/index.ts +++ b/packages/react/src/components/index.ts @@ -10,6 +10,7 @@ export { IonicSlides, getTimeGivenProgression, getIonPageElement, + openURL, // TYPES Animation, diff --git a/packages/vue/src/index.ts b/packages/vue/src/index.ts index 99822141c5b..1aaab322d91 100644 --- a/packages/vue/src/index.ts +++ b/packages/vue/src/index.ts @@ -48,6 +48,7 @@ export { menuController, getTimeGivenProgression, getIonPageElement, + openURL, // TYPES Animation, From cf23f0ca5bc205581821e894968bfd18260a36e5 Mon Sep 17 00:00:00 2001 From: fpladano Date: Fri, 6 Oct 2023 10:00:15 -0500 Subject: [PATCH 2/2] feat: export openURL utilities ionic-team#27911 Update openURL import to use single quotes --- core/src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/index.ts b/core/src/index.ts index 6ae0ae61136..90f4199de54 100644 --- a/core/src/index.ts +++ b/core/src/index.ts @@ -11,7 +11,7 @@ export { componentOnReady } from './utils/helpers'; export { isPlatform, Platforms, PlatformConfig, getPlatforms } from './utils/platform'; export { IonicSafeString } from './utils/sanitization'; export { IonicConfig, getMode, setupConfig } from './utils/config'; -export { openURL } from "./utils/theme"; +export { openURL } from './utils/theme'; export { LIFECYCLE_WILL_ENTER, LIFECYCLE_DID_ENTER,