@ionic/react 7.7.2-dev.11707425083.192d8103 → 7.7.2-dev.11707840956.16e27b4c
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/css/core.css +35 -98
- package/css/core.css.map +1 -1
- package/css/display.css.map +1 -1
- package/css/float-elements.css.map +1 -1
- package/css/global.bundle.css +1 -1
- package/css/global.bundle.css.map +1 -1
- package/css/ionic-swiper.css.map +1 -1
- package/css/ionic.bundle.css +1 -1
- package/css/ionic.bundle.css.map +1 -1
- package/css/padding.css.map +1 -1
- package/css/structure.css.map +1 -1
- package/css/text-alignment.css.map +1 -1
- package/css/text-transformation.css.map +1 -1
- package/css/typography.css +1 -1
- package/css/typography.css.map +1 -1
- package/css/utils.bundle.css.map +1 -1
- package/dist/index.js +86 -93
- package/dist/index.js.map +1 -1
- package/dist/types/components/IonPicker.d.ts +3 -0
- package/dist/types/components/index.d.ts +1 -1
- package/dist/types/components/proxies.d.ts +0 -3
- package/dist/types/hooks/useIonPicker.d.ts +0 -1
- package/package.json +2 -2
- package/css/themes/dark.always.css +0 -122
- package/css/themes/dark.always.css.map +0 -1
- package/css/themes/dark.class.css +0 -122
- package/css/themes/dark.class.css.map +0 -1
- package/css/themes/dark.css +0 -3
- package/css/themes/dark.css.map +0 -1
- package/css/themes/dark.system.css +0 -124
- package/css/themes/dark.system.css.map +0 -1
- package/dist/types/components/IonPickerLegacy.d.ts +0 -3
package/dist/index.js
CHANGED
|
@@ -39,37 +39,34 @@ import { defineCustomElement as defineCustomElement$x } from '@ionic/core/compon
|
|
|
39
39
|
import { defineCustomElement as defineCustomElement$y } from '@ionic/core/components/ion-menu.js';
|
|
40
40
|
import { defineCustomElement as defineCustomElement$z } from '@ionic/core/components/ion-menu-button.js';
|
|
41
41
|
import { defineCustomElement as defineCustomElement$A } from '@ionic/core/components/ion-menu-toggle.js';
|
|
42
|
-
import { defineCustomElement as defineCustomElement$
|
|
42
|
+
import { defineCustomElement as defineCustomElement$1d } from '@ionic/core/components/ion-nav.js';
|
|
43
43
|
import { defineCustomElement as defineCustomElement$B } from '@ionic/core/components/ion-nav-link.js';
|
|
44
44
|
import { defineCustomElement as defineCustomElement$C } from '@ionic/core/components/ion-note.js';
|
|
45
|
-
import { defineCustomElement as defineCustomElement$D } from '@ionic/core/components/ion-
|
|
46
|
-
import { defineCustomElement as defineCustomElement$E } from '@ionic/core/components/ion-
|
|
47
|
-
import { defineCustomElement as defineCustomElement$F } from '@ionic/core/components/ion-
|
|
48
|
-
import { defineCustomElement as defineCustomElement$G } from '@ionic/core/components/ion-
|
|
49
|
-
import { defineCustomElement as defineCustomElement$H } from '@ionic/core/components/ion-
|
|
50
|
-
import { defineCustomElement as defineCustomElement$I } from '@ionic/core/components/ion-
|
|
51
|
-
import { defineCustomElement as defineCustomElement$J } from '@ionic/core/components/ion-
|
|
52
|
-
import { defineCustomElement as defineCustomElement$K } from '@ionic/core/components/ion-
|
|
53
|
-
import { defineCustomElement as defineCustomElement$L } from '@ionic/core/components/ion-
|
|
54
|
-
import { defineCustomElement as defineCustomElement$M } from '@ionic/core/components/ion-
|
|
55
|
-
import { defineCustomElement as defineCustomElement$N } from '@ionic/core/components/ion-
|
|
56
|
-
import { defineCustomElement as defineCustomElement$O } from '@ionic/core/components/ion-
|
|
57
|
-
import { defineCustomElement as defineCustomElement$P } from '@ionic/core/components/ion-
|
|
58
|
-
import { defineCustomElement as defineCustomElement$Q } from '@ionic/core/components/ion-
|
|
59
|
-
import { defineCustomElement as defineCustomElement$R } from '@ionic/core/components/ion-
|
|
60
|
-
import { defineCustomElement as defineCustomElement$S } from '@ionic/core/components/ion-
|
|
61
|
-
import { defineCustomElement as defineCustomElement$T } from '@ionic/core/components/ion-
|
|
62
|
-
import { defineCustomElement as defineCustomElement$U } from '@ionic/core/components/ion-
|
|
63
|
-
import { defineCustomElement as defineCustomElement$V } from '@ionic/core/components/ion-
|
|
64
|
-
import { defineCustomElement as defineCustomElement$W } from '@ionic/core/components/ion-
|
|
65
|
-
import { defineCustomElement as defineCustomElement$X } from '@ionic/core/components/ion-
|
|
66
|
-
import { defineCustomElement as defineCustomElement$Y } from '@ionic/core/components/ion-
|
|
67
|
-
import { defineCustomElement as defineCustomElement$Z } from '@ionic/core/components/ion-
|
|
68
|
-
import { defineCustomElement as defineCustomElement$_ } from '@ionic/core/components/ion-
|
|
69
|
-
import { defineCustomElement as defineCustomElement$$ } from '@ionic/core/components/ion-
|
|
70
|
-
import { defineCustomElement as defineCustomElement$10 } from '@ionic/core/components/ion-title.js';
|
|
71
|
-
import { defineCustomElement as defineCustomElement$11 } from '@ionic/core/components/ion-toggle.js';
|
|
72
|
-
import { defineCustomElement as defineCustomElement$12 } from '@ionic/core/components/ion-toolbar.js';
|
|
45
|
+
import { defineCustomElement as defineCustomElement$D } from '@ionic/core/components/ion-progress-bar.js';
|
|
46
|
+
import { defineCustomElement as defineCustomElement$E } from '@ionic/core/components/ion-radio.js';
|
|
47
|
+
import { defineCustomElement as defineCustomElement$F } from '@ionic/core/components/ion-radio-group.js';
|
|
48
|
+
import { defineCustomElement as defineCustomElement$G } from '@ionic/core/components/ion-range.js';
|
|
49
|
+
import { defineCustomElement as defineCustomElement$H } from '@ionic/core/components/ion-refresher.js';
|
|
50
|
+
import { defineCustomElement as defineCustomElement$I } from '@ionic/core/components/ion-refresher-content.js';
|
|
51
|
+
import { defineCustomElement as defineCustomElement$J } from '@ionic/core/components/ion-reorder.js';
|
|
52
|
+
import { defineCustomElement as defineCustomElement$K } from '@ionic/core/components/ion-reorder-group.js';
|
|
53
|
+
import { defineCustomElement as defineCustomElement$L } from '@ionic/core/components/ion-ripple-effect.js';
|
|
54
|
+
import { defineCustomElement as defineCustomElement$M } from '@ionic/core/components/ion-row.js';
|
|
55
|
+
import { defineCustomElement as defineCustomElement$N } from '@ionic/core/components/ion-searchbar.js';
|
|
56
|
+
import { defineCustomElement as defineCustomElement$O } from '@ionic/core/components/ion-segment.js';
|
|
57
|
+
import { defineCustomElement as defineCustomElement$P } from '@ionic/core/components/ion-segment-button.js';
|
|
58
|
+
import { defineCustomElement as defineCustomElement$Q } from '@ionic/core/components/ion-select.js';
|
|
59
|
+
import { defineCustomElement as defineCustomElement$R } from '@ionic/core/components/ion-select-option.js';
|
|
60
|
+
import { defineCustomElement as defineCustomElement$S } from '@ionic/core/components/ion-skeleton-text.js';
|
|
61
|
+
import { defineCustomElement as defineCustomElement$T } from '@ionic/core/components/ion-spinner.js';
|
|
62
|
+
import { defineCustomElement as defineCustomElement$U } from '@ionic/core/components/ion-split-pane.js';
|
|
63
|
+
import { defineCustomElement as defineCustomElement$V } from '@ionic/core/components/ion-tab.js';
|
|
64
|
+
import { defineCustomElement as defineCustomElement$W } from '@ionic/core/components/ion-text.js';
|
|
65
|
+
import { defineCustomElement as defineCustomElement$X } from '@ionic/core/components/ion-textarea.js';
|
|
66
|
+
import { defineCustomElement as defineCustomElement$Y } from '@ionic/core/components/ion-thumbnail.js';
|
|
67
|
+
import { defineCustomElement as defineCustomElement$Z } from '@ionic/core/components/ion-title.js';
|
|
68
|
+
import { defineCustomElement as defineCustomElement$_ } from '@ionic/core/components/ion-toggle.js';
|
|
69
|
+
import { defineCustomElement as defineCustomElement$$ } from '@ionic/core/components/ion-toolbar.js';
|
|
73
70
|
import { IonBreadcrumb as IonBreadcrumb$1 } from '@ionic/core/components/ion-breadcrumb.js';
|
|
74
71
|
import { IonButton as IonButton$1 } from '@ionic/core/components/ion-button.js';
|
|
75
72
|
import { IonCard as IonCard$1 } from '@ionic/core/components/ion-card.js';
|
|
@@ -77,19 +74,19 @@ import { IonFabButton as IonFabButton$1 } from '@ionic/core/components/ion-fab-b
|
|
|
77
74
|
import { IonItemOption as IonItemOption$1 } from '@ionic/core/components/ion-item-option.js';
|
|
78
75
|
import { IonItem as IonItem$1 } from '@ionic/core/components/ion-item.js';
|
|
79
76
|
import { IonRouterLink as IonRouterLink$1 } from '@ionic/core/components/ion-router-link.js';
|
|
80
|
-
import { defineCustomElement as defineCustomElement$
|
|
81
|
-
import { defineCustomElement as defineCustomElement$
|
|
82
|
-
import { defineCustomElement as defineCustomElement$
|
|
83
|
-
import { defineCustomElement as defineCustomElement$
|
|
84
|
-
import { defineCustomElement as defineCustomElement$
|
|
85
|
-
import { defineCustomElement as defineCustomElement$
|
|
86
|
-
import { defineCustomElement as defineCustomElement$
|
|
87
|
-
import { defineCustomElement as defineCustomElement$
|
|
88
|
-
import { defineCustomElement as defineCustomElement$
|
|
89
|
-
import { defineCustomElement as defineCustomElement$
|
|
90
|
-
import { defineCustomElement as defineCustomElement$
|
|
91
|
-
import { defineCustomElement as defineCustomElement$
|
|
92
|
-
import { defineCustomElement as defineCustomElement$
|
|
77
|
+
import { defineCustomElement as defineCustomElement$10 } from '@ionic/core/components/ion-alert.js';
|
|
78
|
+
import { defineCustomElement as defineCustomElement$11 } from '@ionic/core/components/ion-loading.js';
|
|
79
|
+
import { defineCustomElement as defineCustomElement$12 } from '@ionic/core/components/ion-toast.js';
|
|
80
|
+
import { defineCustomElement as defineCustomElement$13 } from '@ionic/core/components/ion-picker.js';
|
|
81
|
+
import { defineCustomElement as defineCustomElement$14 } from '@ionic/core/components/ion-action-sheet.js';
|
|
82
|
+
import { defineCustomElement as defineCustomElement$15 } from '@ionic/core/components/ion-modal.js';
|
|
83
|
+
import { defineCustomElement as defineCustomElement$16 } from '@ionic/core/components/ion-popover.js';
|
|
84
|
+
import { defineCustomElement as defineCustomElement$1c } from '@ionic/core/components/ion-app.js';
|
|
85
|
+
import { defineCustomElement as defineCustomElement$1b } from '@ionic/core/components/ion-back-button.js';
|
|
86
|
+
import { defineCustomElement as defineCustomElement$18 } from '@ionic/core/components/ion-router-outlet.js';
|
|
87
|
+
import { defineCustomElement as defineCustomElement$17 } from '@ionic/core/components/ion-tab-bar.js';
|
|
88
|
+
import { defineCustomElement as defineCustomElement$1a } from '@ionic/core/components/ion-tab-button.js';
|
|
89
|
+
import { defineCustomElement as defineCustomElement$19 } from 'ionicons/components/ion-icon.js';
|
|
93
90
|
|
|
94
91
|
const IonLifeCycleContext = /*@__PURE__*/ React.createContext({
|
|
95
92
|
onIonViewWillEnter: () => {
|
|
@@ -654,34 +651,31 @@ const IonMenuButton = /*@__PURE__*/ createReactComponent('ion-menu-button', unde
|
|
|
654
651
|
const IonMenuToggle = /*@__PURE__*/ createReactComponent('ion-menu-toggle', undefined, undefined, defineCustomElement$A);
|
|
655
652
|
const IonNavLink = /*@__PURE__*/ createReactComponent('ion-nav-link', undefined, undefined, defineCustomElement$B);
|
|
656
653
|
const IonNote = /*@__PURE__*/ createReactComponent('ion-note', undefined, undefined, defineCustomElement$C);
|
|
657
|
-
const
|
|
658
|
-
const
|
|
659
|
-
const
|
|
660
|
-
const
|
|
661
|
-
const
|
|
662
|
-
const
|
|
663
|
-
const
|
|
664
|
-
const
|
|
665
|
-
const
|
|
666
|
-
const
|
|
667
|
-
const
|
|
668
|
-
const
|
|
669
|
-
const
|
|
670
|
-
const
|
|
671
|
-
const
|
|
672
|
-
const
|
|
673
|
-
const
|
|
674
|
-
const
|
|
675
|
-
const
|
|
676
|
-
const
|
|
677
|
-
const
|
|
678
|
-
const
|
|
679
|
-
const
|
|
680
|
-
const
|
|
681
|
-
const
|
|
682
|
-
const IonTitle = /*@__PURE__*/ createReactComponent('ion-title', undefined, undefined, defineCustomElement$10);
|
|
683
|
-
const IonToggle = /*@__PURE__*/ createReactComponent('ion-toggle', undefined, undefined, defineCustomElement$11);
|
|
684
|
-
const IonToolbar = /*@__PURE__*/ createReactComponent('ion-toolbar', undefined, undefined, defineCustomElement$12);
|
|
654
|
+
const IonProgressBar = /*@__PURE__*/ createReactComponent('ion-progress-bar', undefined, undefined, defineCustomElement$D);
|
|
655
|
+
const IonRadio = /*@__PURE__*/ createReactComponent('ion-radio', undefined, undefined, defineCustomElement$E);
|
|
656
|
+
const IonRadioGroup = /*@__PURE__*/ createReactComponent('ion-radio-group', undefined, undefined, defineCustomElement$F);
|
|
657
|
+
const IonRange = /*@__PURE__*/ createReactComponent('ion-range', undefined, undefined, defineCustomElement$G);
|
|
658
|
+
const IonRefresher = /*@__PURE__*/ createReactComponent('ion-refresher', undefined, undefined, defineCustomElement$H);
|
|
659
|
+
const IonRefresherContent = /*@__PURE__*/ createReactComponent('ion-refresher-content', undefined, undefined, defineCustomElement$I);
|
|
660
|
+
const IonReorder = /*@__PURE__*/ createReactComponent('ion-reorder', undefined, undefined, defineCustomElement$J);
|
|
661
|
+
const IonReorderGroup = /*@__PURE__*/ createReactComponent('ion-reorder-group', undefined, undefined, defineCustomElement$K);
|
|
662
|
+
const IonRippleEffect = /*@__PURE__*/ createReactComponent('ion-ripple-effect', undefined, undefined, defineCustomElement$L);
|
|
663
|
+
const IonRow = /*@__PURE__*/ createReactComponent('ion-row', undefined, undefined, defineCustomElement$M);
|
|
664
|
+
const IonSearchbar = /*@__PURE__*/ createReactComponent('ion-searchbar', undefined, undefined, defineCustomElement$N);
|
|
665
|
+
const IonSegment = /*@__PURE__*/ createReactComponent('ion-segment', undefined, undefined, defineCustomElement$O);
|
|
666
|
+
const IonSegmentButton = /*@__PURE__*/ createReactComponent('ion-segment-button', undefined, undefined, defineCustomElement$P);
|
|
667
|
+
const IonSelect = /*@__PURE__*/ createReactComponent('ion-select', undefined, undefined, defineCustomElement$Q);
|
|
668
|
+
const IonSelectOption = /*@__PURE__*/ createReactComponent('ion-select-option', undefined, undefined, defineCustomElement$R);
|
|
669
|
+
const IonSkeletonText = /*@__PURE__*/ createReactComponent('ion-skeleton-text', undefined, undefined, defineCustomElement$S);
|
|
670
|
+
const IonSpinner = /*@__PURE__*/ createReactComponent('ion-spinner', undefined, undefined, defineCustomElement$T);
|
|
671
|
+
const IonSplitPane = /*@__PURE__*/ createReactComponent('ion-split-pane', undefined, undefined, defineCustomElement$U);
|
|
672
|
+
const IonTab = /*@__PURE__*/ createReactComponent('ion-tab', undefined, undefined, defineCustomElement$V);
|
|
673
|
+
const IonText = /*@__PURE__*/ createReactComponent('ion-text', undefined, undefined, defineCustomElement$W);
|
|
674
|
+
const IonTextarea = /*@__PURE__*/ createReactComponent('ion-textarea', undefined, undefined, defineCustomElement$X);
|
|
675
|
+
const IonThumbnail = /*@__PURE__*/ createReactComponent('ion-thumbnail', undefined, undefined, defineCustomElement$Y);
|
|
676
|
+
const IonTitle = /*@__PURE__*/ createReactComponent('ion-title', undefined, undefined, defineCustomElement$Z);
|
|
677
|
+
const IonToggle = /*@__PURE__*/ createReactComponent('ion-toggle', undefined, undefined, defineCustomElement$_);
|
|
678
|
+
const IonToolbar = /*@__PURE__*/ createReactComponent('ion-toolbar', undefined, undefined, defineCustomElement$$);
|
|
685
679
|
|
|
686
680
|
const createForwardRef = (ReactComponent, // TODO(FW-2959): type
|
|
687
681
|
displayName) => {
|
|
@@ -966,19 +960,19 @@ const createInlineOverlayComponent = (tagName, defineCustomElement, hasDelegateH
|
|
|
966
960
|
};
|
|
967
961
|
const DELEGATE_HOST = 'ion-delegate-host';
|
|
968
962
|
|
|
969
|
-
const IonAlert = /*@__PURE__*/ createInlineOverlayComponent('ion-alert', defineCustomElement$
|
|
963
|
+
const IonAlert = /*@__PURE__*/ createInlineOverlayComponent('ion-alert', defineCustomElement$10);
|
|
970
964
|
|
|
971
|
-
const IonLoading = /*@__PURE__*/ createInlineOverlayComponent('ion-loading', defineCustomElement$
|
|
965
|
+
const IonLoading = /*@__PURE__*/ createInlineOverlayComponent('ion-loading', defineCustomElement$11);
|
|
972
966
|
|
|
973
|
-
const IonToast = /*@__PURE__*/ createInlineOverlayComponent('ion-toast', defineCustomElement$
|
|
967
|
+
const IonToast = /*@__PURE__*/ createInlineOverlayComponent('ion-toast', defineCustomElement$12);
|
|
974
968
|
|
|
975
|
-
const
|
|
969
|
+
const IonPicker = /*@__PURE__*/ createInlineOverlayComponent('ion-picker', defineCustomElement$13);
|
|
976
970
|
|
|
977
|
-
const IonActionSheet = /*@__PURE__*/ createInlineOverlayComponent('ion-action-sheet', defineCustomElement$
|
|
971
|
+
const IonActionSheet = /*@__PURE__*/ createInlineOverlayComponent('ion-action-sheet', defineCustomElement$14);
|
|
978
972
|
|
|
979
|
-
const IonModal = /*@__PURE__*/ createInlineOverlayComponent('ion-modal', defineCustomElement$
|
|
973
|
+
const IonModal = /*@__PURE__*/ createInlineOverlayComponent('ion-modal', defineCustomElement$15, true);
|
|
980
974
|
|
|
981
|
-
const IonPopover = /*@__PURE__*/ createInlineOverlayComponent('ion-popover', defineCustomElement$
|
|
975
|
+
const IonPopover = /*@__PURE__*/ createInlineOverlayComponent('ion-popover', defineCustomElement$16);
|
|
982
976
|
|
|
983
977
|
const IonContext = React.createContext({
|
|
984
978
|
addOverlay: () => {
|
|
@@ -1070,13 +1064,13 @@ const IonOverlayManager = ({ onAddOverlay, onRemoveOverlay }) => {
|
|
|
1070
1064
|
})));
|
|
1071
1065
|
};
|
|
1072
1066
|
|
|
1073
|
-
const IonTabButtonInner = /*@__PURE__*/ createReactComponent('ion-tab-button', undefined, undefined, defineCustomElement$
|
|
1074
|
-
const IonTabBarInner = /*@__PURE__*/ createReactComponent('ion-tab-bar', undefined, undefined, defineCustomElement$
|
|
1075
|
-
const IonBackButtonInner = /*@__PURE__*/ createReactComponent('ion-back-button', undefined, undefined, defineCustomElement$
|
|
1076
|
-
const IonRouterOutletInner = /*@__PURE__*/ createReactComponent('ion-router-outlet', undefined, undefined, defineCustomElement$
|
|
1077
|
-
const IonAppInner = /*@__PURE__*/ createReactComponent('ion-app', undefined, undefined, defineCustomElement$
|
|
1067
|
+
const IonTabButtonInner = /*@__PURE__*/ createReactComponent('ion-tab-button', undefined, undefined, defineCustomElement$1a);
|
|
1068
|
+
const IonTabBarInner = /*@__PURE__*/ createReactComponent('ion-tab-bar', undefined, undefined, defineCustomElement$17);
|
|
1069
|
+
const IonBackButtonInner = /*@__PURE__*/ createReactComponent('ion-back-button', undefined, undefined, defineCustomElement$1b);
|
|
1070
|
+
const IonRouterOutletInner = /*@__PURE__*/ createReactComponent('ion-router-outlet', undefined, undefined, defineCustomElement$18);
|
|
1071
|
+
const IonAppInner = /*@__PURE__*/ createReactComponent('ion-app', undefined, undefined, defineCustomElement$1c);
|
|
1078
1072
|
// ionicons
|
|
1079
|
-
const IonIconInner = /*@__PURE__*/ createReactComponent('ion-icon', undefined, undefined, defineCustomElement$
|
|
1073
|
+
const IonIconInner = /*@__PURE__*/ createReactComponent('ion-icon', undefined, undefined, defineCustomElement$19);
|
|
1080
1074
|
|
|
1081
1075
|
const IonApp = /*@__PURE__*/ (() => class extends React.Component {
|
|
1082
1076
|
constructor(props) {
|
|
@@ -1237,7 +1231,7 @@ const ReactDelegate = (addView, removeView) => {
|
|
|
1237
1231
|
};
|
|
1238
1232
|
};
|
|
1239
1233
|
|
|
1240
|
-
const IonNavInner = createReactComponent('ion-nav', undefined, undefined, defineCustomElement$
|
|
1234
|
+
const IonNavInner = createReactComponent('ion-nav', undefined, undefined, defineCustomElement$1d);
|
|
1241
1235
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
1242
1236
|
const IonNavInternal = (_a) => {
|
|
1243
1237
|
var { children, forwardedRef } = _a, restOfProps = __rest(_a, ["children", "forwardedRef"]);
|
|
@@ -1939,7 +1933,7 @@ function useController(displayName, controller, defineCustomElement) {
|
|
|
1939
1933
|
* @returns Returns the present and dismiss methods in an array
|
|
1940
1934
|
*/
|
|
1941
1935
|
function useIonActionSheet() {
|
|
1942
|
-
const controller = useController('IonActionSheet', actionSheetController, defineCustomElement$
|
|
1936
|
+
const controller = useController('IonActionSheet', actionSheetController, defineCustomElement$14);
|
|
1943
1937
|
const present = useCallback((buttonsOrOptions, header) => {
|
|
1944
1938
|
if (Array.isArray(buttonsOrOptions)) {
|
|
1945
1939
|
return controller.present({
|
|
@@ -1959,7 +1953,7 @@ function useIonActionSheet() {
|
|
|
1959
1953
|
* @returns Returns the present and dismiss methods in an array
|
|
1960
1954
|
*/
|
|
1961
1955
|
function useIonAlert() {
|
|
1962
|
-
const controller = useController('IonAlert', alertController, defineCustomElement$
|
|
1956
|
+
const controller = useController('IonAlert', alertController, defineCustomElement$10);
|
|
1963
1957
|
const present = useCallback((messageOrOptions, buttons) => {
|
|
1964
1958
|
if (typeof messageOrOptions === 'string') {
|
|
1965
1959
|
return controller.present({
|
|
@@ -1979,7 +1973,7 @@ function useIonAlert() {
|
|
|
1979
1973
|
* @returns Returns the present and dismiss methods in an array
|
|
1980
1974
|
*/
|
|
1981
1975
|
function useIonToast() {
|
|
1982
|
-
const controller = useController('IonToast', toastController, defineCustomElement$
|
|
1976
|
+
const controller = useController('IonToast', toastController, defineCustomElement$12);
|
|
1983
1977
|
const present = useCallback((messageOrOptions, duration) => {
|
|
1984
1978
|
if (typeof messageOrOptions === 'string') {
|
|
1985
1979
|
return controller.present({
|
|
@@ -2062,7 +2056,7 @@ function useOverlay(displayName, controller, defineCustomElement, component, com
|
|
|
2062
2056
|
* @returns Returns the present and dismiss methods in an array
|
|
2063
2057
|
*/
|
|
2064
2058
|
function useIonModal(component, componentProps) {
|
|
2065
|
-
const controller = useOverlay('IonModal', modalController, defineCustomElement$
|
|
2059
|
+
const controller = useOverlay('IonModal', modalController, defineCustomElement$15, component, componentProps);
|
|
2066
2060
|
const present = useCallback((options = {}) => {
|
|
2067
2061
|
controller.present(options);
|
|
2068
2062
|
}, [controller.present]);
|
|
@@ -2077,7 +2071,7 @@ function useIonModal(component, componentProps) {
|
|
|
2077
2071
|
* @returns Returns the present and dismiss methods in an array
|
|
2078
2072
|
*/
|
|
2079
2073
|
function useIonPopover(component, componentProps) {
|
|
2080
|
-
const controller = useOverlay('IonPopover', popoverController, defineCustomElement$
|
|
2074
|
+
const controller = useOverlay('IonPopover', popoverController, defineCustomElement$16, component, componentProps);
|
|
2081
2075
|
const present = useCallback((options = {}) => {
|
|
2082
2076
|
controller.present(options);
|
|
2083
2077
|
}, [controller.present]);
|
|
@@ -2087,10 +2081,9 @@ function useIonPopover(component, componentProps) {
|
|
|
2087
2081
|
/**
|
|
2088
2082
|
* A hook for presenting/dismissing an IonPicker component
|
|
2089
2083
|
* @returns Returns the present and dismiss methods in an array
|
|
2090
|
-
* @deprecated Use the inline ion-picker component instead.
|
|
2091
2084
|
*/
|
|
2092
2085
|
function useIonPicker() {
|
|
2093
|
-
const controller = useController('IonPicker', pickerController, defineCustomElement$
|
|
2086
|
+
const controller = useController('IonPicker', pickerController, defineCustomElement$13);
|
|
2094
2087
|
const present = useCallback((columnsOrOptions, buttons) => {
|
|
2095
2088
|
if (Array.isArray(columnsOrOptions)) {
|
|
2096
2089
|
return controller.present({
|
|
@@ -2110,7 +2103,7 @@ function useIonPicker() {
|
|
|
2110
2103
|
* @returns Returns the present and dismiss methods in an array
|
|
2111
2104
|
*/
|
|
2112
2105
|
function useIonLoading() {
|
|
2113
|
-
const controller = useController('IonLoading', loadingController, defineCustomElement$
|
|
2106
|
+
const controller = useController('IonLoading', loadingController, defineCustomElement$11);
|
|
2114
2107
|
const present = useCallback((messageOrOptions = {}, duration, spinner) => {
|
|
2115
2108
|
if (typeof messageOrOptions === 'string') {
|
|
2116
2109
|
return controller.present({
|
|
@@ -2455,5 +2448,5 @@ class ViewStacks {
|
|
|
2455
2448
|
}
|
|
2456
2449
|
}
|
|
2457
2450
|
|
|
2458
|
-
export { CreateAnimation, DefaultIonLifeCycleContext, IonAccordion, IonAccordionGroup, IonActionSheet, IonAlert, IonApp, IonAvatar, IonBackButton, IonBackdrop, IonBadge, IonBreadcrumb, IonBreadcrumbs, IonButton, IonButtons, IonCard, IonCardContent, IonCardHeader, IonCardSubtitle, IonCardTitle, IonCheckbox, IonChip, IonCol, IonContent, IonDatetime, IonDatetimeButton, IonFab, IonFabButton, IonFabList, IonFooter, IonGrid, IonHeader, IonIcon, IonImg, IonInfiniteScroll, IonInfiniteScrollContent, IonInput, IonItem, IonItemDivider, IonItemGroup, IonItemOption, IonItemOptions, IonItemSliding, IonLabel, IonLifeCycleContext, IonList, IonListHeader, IonLoading, IonMenu, IonMenuButton, IonMenuToggle, IonModal, IonNav, IonNavLink, IonNote, IonPage, IonPicker,
|
|
2451
|
+
export { CreateAnimation, DefaultIonLifeCycleContext, IonAccordion, IonAccordionGroup, IonActionSheet, IonAlert, IonApp, IonAvatar, IonBackButton, IonBackdrop, IonBadge, IonBreadcrumb, IonBreadcrumbs, IonButton, IonButtons, IonCard, IonCardContent, IonCardHeader, IonCardSubtitle, IonCardTitle, IonCheckbox, IonChip, IonCol, IonContent, IonDatetime, IonDatetimeButton, IonFab, IonFabButton, IonFabList, IonFooter, IonGrid, IonHeader, IonIcon, IonImg, IonInfiniteScroll, IonInfiniteScrollContent, IonInput, IonItem, IonItemDivider, IonItemGroup, IonItemOption, IonItemOptions, IonItemSliding, IonLabel, IonLifeCycleContext, IonList, IonListHeader, IonLoading, IonMenu, IonMenuButton, IonMenuToggle, IonModal, IonNav, IonNavLink, IonNote, IonPage, IonPicker, IonPopover, IonProgressBar, IonRadio, IonRadioGroup, IonRange, IonRedirect, IonRefresher, IonRefresherContent, IonReorder, IonReorderGroup, IonRippleEffect, IonRoute, IonRouterContext, IonRouterLink, IonRouterOutlet, IonRow, IonSearchbar, IonSegment, IonSegmentButton, IonSelect, IonSelectOption, IonSkeletonText, IonSpinner, IonSplitPane, IonTab, IonTabBar, IonTabButton, IonTabs, IonTabsContext, IonText, IonTextarea, IonThumbnail, IonTitle, IonToast, IonToggle, IonToolbar, LocationHistory, NavContext, NavManager, RouteManagerContext, StackContext, ViewLifeCycleManager, ViewStacks, generateId, getConfig, getPlatforms, isPlatform, setupIonicReact, useIonActionSheet, useIonAlert, useIonLoading, useIonModal, useIonPicker, useIonPopover, useIonRouter, useIonToast, useIonViewDidEnter, useIonViewDidLeave, useIonViewWillEnter, useIonViewWillLeave, withIonLifeCycle };
|
|
2459
2452
|
//# sourceMappingURL=index.js.map
|