@ionic/core 8.8.10 → 8.8.11-dev.11781186446.19d9a1cc
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/components/index.js +1 -1
- package/components/ion-action-sheet.js +1 -1
- package/components/ion-alert.js +1 -1
- package/components/ion-back-button.js +1 -1
- package/components/ion-button.js +1 -1
- package/components/ion-card.js +1 -1
- package/components/ion-chip.js +1 -1
- package/components/ion-datetime-button.js +1 -1
- package/components/ion-datetime.js +1 -1
- package/components/ion-fab-button.js +1 -1
- package/components/ion-infinite-scroll-content.js +1 -1
- package/components/ion-input-password-toggle.js +1 -1
- package/components/ion-input.js +1 -1
- package/components/ion-item-option.js +1 -1
- package/components/ion-item.js +1 -1
- package/components/ion-loading.js +1 -1
- package/components/ion-menu-button.js +1 -1
- package/components/ion-menu.js +1 -1
- package/components/ion-modal.js +1 -1
- package/components/ion-popover.js +1 -1
- package/components/ion-progress-bar.js +1 -1
- package/components/ion-radio.js +1 -1
- package/components/ion-range.js +1 -1
- package/components/ion-refresher-content.js +1 -1
- package/components/ion-refresher.js +1 -1
- package/components/ion-reorder-group.js +1 -1
- package/components/ion-reorder.js +1 -1
- package/components/ion-ripple-effect.js +1 -1
- package/components/ion-router-link.js +1 -1
- package/components/ion-router-outlet.js +1 -1
- package/components/ion-row.js +1 -1
- package/components/ion-searchbar.js +1 -1
- package/components/ion-segment-button.js +1 -1
- package/components/ion-segment-content.js +1 -1
- package/components/ion-segment-view.js +1 -1
- package/components/ion-segment.js +1 -1
- package/components/ion-select-modal.js +1 -1
- package/components/ion-select-option.js +1 -1
- package/components/ion-select-popover.js +1 -1
- package/components/ion-select.js +1 -1
- package/components/ion-skeleton-text.js +1 -1
- package/components/ion-spinner.js +1 -1
- package/components/ion-split-pane.js +1 -1
- package/components/ion-tab-bar.js +1 -1
- package/components/ion-tab-button.js +1 -1
- package/components/ion-tab.js +1 -1
- package/components/ion-tabs.js +1 -1
- package/components/ion-text.js +1 -1
- package/components/ion-textarea.js +1 -1
- package/components/ion-thumbnail.js +1 -1
- package/components/ion-title.js +1 -1
- package/components/ion-toast.js +1 -1
- package/components/ion-toggle.js +1 -1
- package/components/ion-toolbar.js +1 -1
- package/components/{p-nQi4oKcG.js → p-B8U2xbtx.js} +1 -1
- package/components/p-BpCi7xHq.js +4 -0
- package/components/p-CHzfYZbv.js +4 -0
- package/components/{p-DDWp95gH.js → p-Ck2wcXbv.js} +1 -1
- package/components/{p-C2lKgrXx.js → p-DEBD4LvH.js} +1 -1
- package/components/p-DH50pr9O.js +4 -0
- package/components/{p-BSEgsdFI.js → p-DhkITZ-y.js} +1 -1
- package/components/p-DmpBvltk.js +4 -0
- package/components/{p-5bE_Wz4Y.js → p-DpV-p5Xs.js} +1 -1
- package/components/{p-Cfx4M1Bn.js → p-Dz74mwlk.js} +1 -1
- package/components/{p-BLmJ0zRm.js → p-XJWMAP8m.js} +1 -1
- package/components/p-djQLE88P.js +4 -0
- package/components/{p-B60hm8Qv.js → p-r0aq7dpt.js} +1 -1
- package/components/{p-rCa2eL0j.js → p-wk2QqrAo.js} +1 -1
- package/dist/cjs/index.cjs.js +1 -2
- package/dist/cjs/ion-action-sheet.cjs.entry.js +8 -4
- package/dist/cjs/ion-alert.cjs.entry.js +7 -3
- package/dist/cjs/ion-app_8.cjs.entry.js +23 -9
- package/dist/cjs/ion-avatar_3.cjs.entry.js +1 -1
- package/dist/cjs/ion-col_3.cjs.entry.js +1 -1
- package/dist/cjs/{ion-datetime_3.cjs.entry.js → ion-datetime.cjs.entry.js} +1 -639
- package/dist/cjs/ion-input.cjs.entry.js +4 -4
- package/dist/cjs/ion-item_8.cjs.entry.js +2 -2
- package/dist/cjs/ion-loading.cjs.entry.js +7 -3
- package/dist/cjs/ion-menu_3.cjs.entry.js +1 -1
- package/dist/cjs/ion-modal.cjs.entry.js +9 -5
- package/dist/cjs/ion-popover.cjs.entry.js +7 -3
- package/dist/cjs/ion-progress-bar.cjs.entry.js +1 -1
- package/dist/cjs/ion-radio_2.cjs.entry.js +3 -3
- package/dist/cjs/ion-range.cjs.entry.js +3 -3
- package/dist/cjs/ion-refresher_2.cjs.entry.js +2 -2
- package/dist/cjs/ion-reorder_2.cjs.entry.js +2 -2
- package/dist/cjs/ion-ripple-effect.cjs.entry.js +1 -1
- package/dist/cjs/ion-route_4.cjs.entry.js +2 -2
- package/dist/cjs/ion-searchbar.cjs.entry.js +5 -5
- package/dist/cjs/ion-segment-content.cjs.entry.js +1 -1
- package/dist/cjs/ion-segment-view.cjs.entry.js +2 -2
- package/dist/cjs/ion-segment_2.cjs.entry.js +4 -4
- package/dist/cjs/ion-select-modal.cjs.entry.js +2 -2
- package/dist/cjs/ion-select_3.cjs.entry.js +36 -5
- package/dist/cjs/ion-spinner.cjs.entry.js +1 -1
- package/dist/cjs/ion-split-pane.cjs.entry.js +2 -2
- package/dist/cjs/ion-tab-bar_2.cjs.entry.js +4 -4
- package/dist/cjs/ion-tab_2.cjs.entry.js +3 -3
- package/dist/cjs/ion-text.cjs.entry.js +2 -2
- package/dist/cjs/ion-textarea.cjs.entry.js +2 -2
- package/dist/cjs/ion-toast.cjs.entry.js +3 -3
- package/dist/cjs/ion-toggle.cjs.entry.js +3 -3
- package/dist/cjs/ionic.cjs.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{overlays-TbKsuC-K.js → overlays-DSmSrd_4.js} +26 -7
- package/dist/collection/collection-manifest.json +5 -9
- package/dist/collection/components/action-sheet/action-sheet.js +8 -4
- package/dist/collection/components/alert/alert.js +7 -3
- package/dist/collection/components/input/input.js +8 -8
- package/dist/collection/components/loading/loading.js +7 -3
- package/dist/collection/components/modal/modal.js +9 -5
- package/dist/collection/components/popover/popover.js +7 -3
- package/dist/collection/components/progress-bar/progress-bar.js +1 -1
- package/dist/collection/components/radio/radio.js +4 -4
- package/dist/collection/components/range/range.js +3 -3
- package/dist/collection/components/refresher/refresher.js +1 -1
- package/dist/collection/components/refresher-content/refresher-content.js +1 -1
- package/dist/collection/components/reorder/reorder.js +1 -1
- package/dist/collection/components/reorder-group/reorder-group.js +1 -1
- package/dist/collection/components/ripple-effect/ripple-effect.js +1 -1
- package/dist/collection/components/router-link/router-link.js +2 -2
- package/dist/collection/components/router-outlet/router-outlet.js +38 -5
- package/dist/collection/components/row/row.js +1 -1
- package/dist/collection/components/searchbar/searchbar.js +9 -9
- package/dist/collection/components/segment/segment.js +2 -2
- package/dist/collection/components/segment-button/segment-button.js +2 -2
- package/dist/collection/components/segment-content/segment-content.js +1 -1
- package/dist/collection/components/segment-view/segment-view.js +2 -2
- package/dist/collection/components/select/select.js +33 -2
- package/dist/collection/components/select-modal/select-modal.js +1 -1
- package/dist/collection/components/select-option/select-option.js +1 -1
- package/dist/collection/components/select-popover/select-popover.js +1 -1
- package/dist/collection/components/skeleton-text/skeleton-text.js +2 -2
- package/dist/collection/components/spinner/spinner.js +1 -1
- package/dist/collection/components/split-pane/split-pane.js +2 -2
- package/dist/collection/components/tab/tab.js +2 -2
- package/dist/collection/components/tab-bar/tab-bar.js +2 -2
- package/dist/collection/components/tab-button/tab-button.js +2 -2
- package/dist/collection/components/tabs/tabs.js +1 -1
- package/dist/collection/components/text/text.js +2 -2
- package/dist/collection/components/textarea/textarea.js +2 -2
- package/dist/collection/components/thumbnail/thumbnail.js +1 -1
- package/dist/collection/components/title/title.js +2 -2
- package/dist/collection/components/toast/toast.js +2 -2
- package/dist/collection/components/toggle/toggle.js +3 -3
- package/dist/collection/components/toolbar/toolbar.js +2 -2
- package/dist/collection/index.js +1 -1
- package/dist/collection/utils/overlays.js +25 -6
- package/dist/docs.json +247 -1170
- package/dist/esm/{index-DV3sJJW8.js → index-AlrZKoWR.js} +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/ion-accordion_2.entry.js +1 -1
- package/dist/esm/ion-action-sheet.entry.js +8 -4
- package/dist/esm/ion-alert.entry.js +7 -3
- package/dist/esm/ion-app_8.entry.js +23 -9
- package/dist/esm/ion-avatar_3.entry.js +1 -1
- package/dist/esm/ion-back-button.entry.js +1 -1
- package/dist/esm/ion-breadcrumb_2.entry.js +1 -1
- package/dist/esm/ion-col_3.entry.js +1 -1
- package/dist/esm/{ion-datetime_3.entry.js → ion-datetime.entry.js} +5 -641
- package/dist/esm/ion-fab_3.entry.js +1 -1
- package/dist/esm/ion-input-password-toggle.entry.js +1 -1
- package/dist/esm/ion-input.entry.js +5 -5
- package/dist/esm/ion-item_8.entry.js +3 -3
- package/dist/esm/ion-loading.entry.js +7 -3
- package/dist/esm/ion-menu_3.entry.js +2 -2
- package/dist/esm/ion-modal.entry.js +9 -5
- package/dist/esm/ion-popover.entry.js +7 -3
- package/dist/esm/ion-progress-bar.entry.js +1 -1
- package/dist/esm/ion-radio_2.entry.js +3 -3
- package/dist/esm/ion-range.entry.js +3 -3
- package/dist/esm/ion-refresher_2.entry.js +3 -3
- package/dist/esm/ion-reorder_2.entry.js +3 -3
- package/dist/esm/ion-ripple-effect.entry.js +1 -1
- package/dist/esm/ion-route_4.entry.js +2 -2
- package/dist/esm/ion-searchbar.entry.js +6 -6
- package/dist/esm/ion-segment-content.entry.js +1 -1
- package/dist/esm/ion-segment-view.entry.js +2 -2
- package/dist/esm/ion-segment_2.entry.js +4 -4
- package/dist/esm/ion-select-modal.entry.js +2 -2
- package/dist/esm/ion-select_3.entry.js +38 -7
- package/dist/esm/ion-spinner.entry.js +1 -1
- package/dist/esm/ion-split-pane.entry.js +2 -2
- package/dist/esm/ion-tab-bar_2.entry.js +4 -4
- package/dist/esm/ion-tab_2.entry.js +3 -3
- package/dist/esm/ion-text.entry.js +2 -2
- package/dist/esm/ion-textarea.entry.js +2 -2
- package/dist/esm/ion-toast.entry.js +3 -3
- package/dist/esm/ion-toggle.entry.js +4 -4
- package/dist/esm/ionic.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{overlays-TbiM4mdr.js → overlays-DLNOHWNc.js} +26 -7
- package/dist/html.html-data.json +6 -77
- package/dist/ionic/index.esm.js +1 -1
- package/dist/ionic/ionic.esm.js +1 -1
- package/dist/ionic/{p-aa5d6b8f.entry.js → p-03aa786d.entry.js} +1 -1
- package/dist/ionic/{p-8fce95d5.entry.js → p-14095ba5.entry.js} +1 -1
- package/dist/ionic/{p-3a126bca.entry.js → p-259d0d98.entry.js} +1 -1
- package/dist/ionic/{p-e847a888.entry.js → p-2a6d6565.entry.js} +1 -1
- package/dist/ionic/{p-fabcce6c.entry.js → p-341032b3.entry.js} +1 -1
- package/dist/ionic/{p-a21add2f.entry.js → p-441fbb13.entry.js} +1 -1
- package/dist/ionic/{p-3a7d1e91.entry.js → p-4502a274.entry.js} +1 -1
- package/dist/ionic/p-4621c387.entry.js +4 -0
- package/dist/ionic/p-4bb3eb60.entry.js +4 -0
- package/dist/ionic/{p-874b4bd8.entry.js → p-51cd1643.entry.js} +1 -1
- package/dist/ionic/p-5c3ec490.entry.js +4 -0
- package/dist/ionic/{p-3ae5f277.entry.js → p-627fabd9.entry.js} +1 -1
- package/dist/ionic/{p-e0be05c5.entry.js → p-629e4703.entry.js} +1 -1
- package/dist/ionic/{p-5d1da0a2.entry.js → p-76e92a84.entry.js} +1 -1
- package/dist/ionic/{p-9f1103ce.entry.js → p-7a37b3ce.entry.js} +1 -1
- package/dist/ionic/p-7aed7726.entry.js +4 -0
- package/dist/ionic/p-7ebd980c.entry.js +4 -0
- package/dist/ionic/{p-3353c229.entry.js → p-80b44b3c.entry.js} +1 -1
- package/dist/ionic/p-8d624ee5.entry.js +4 -0
- package/dist/ionic/{p-390ca786.entry.js → p-9177f4ac.entry.js} +1 -1
- package/dist/ionic/p-944c8939.entry.js +4 -0
- package/dist/ionic/p-9c6a5a8d.entry.js +4 -0
- package/dist/ionic/{p-DV3sJJW8.js → p-AlrZKoWR.js} +1 -1
- package/dist/ionic/p-Cg5-OQYy.js +4 -0
- package/dist/ionic/p-a2e51c5d.entry.js +4 -0
- package/dist/ionic/{p-4858af1f.entry.js → p-a5213260.entry.js} +1 -1
- package/dist/ionic/{p-37e720da.entry.js → p-a7628bc7.entry.js} +1 -1
- package/dist/ionic/{p-ef4c3bee.entry.js → p-b1599fca.entry.js} +1 -1
- package/dist/ionic/p-b16be471.entry.js +4 -0
- package/dist/ionic/{p-84d5ce05.entry.js → p-b9ac1fe0.entry.js} +1 -1
- package/dist/ionic/{p-94f2a736.entry.js → p-c93553d2.entry.js} +1 -1
- package/dist/ionic/{p-75dc25ba.entry.js → p-d2c7f046.entry.js} +1 -1
- package/dist/ionic/{p-c4d8641b.entry.js → p-d8387b99.entry.js} +1 -1
- package/dist/ionic/p-d8ac9eea.entry.js +4 -0
- package/dist/ionic/{p-9a65ac7f.entry.js → p-db1b6738.entry.js} +1 -1
- package/dist/ionic/p-ed797c72.entry.js +4 -0
- package/dist/ionic/{p-8eb8ee76.entry.js → p-ef93ca92.entry.js} +1 -1
- package/dist/ionic/p-f09f9642.entry.js +4 -0
- package/dist/ionic/p-f1c06f82.entry.js +4 -0
- package/dist/ionic/{p-0fa9c382.entry.js → p-fe4aa1db.entry.js} +1 -1
- package/dist/types/components/input/input.d.ts +1 -1
- package/dist/types/components/router-outlet/router-outlet.d.ts +7 -0
- package/dist/types/components/searchbar/searchbar.d.ts +1 -1
- package/dist/types/components/select/select.d.ts +1 -0
- package/dist/types/components.d.ts +19 -282
- package/dist/types/index.d.ts +1 -1
- package/dist/types/interface.d.ts +0 -1
- package/dist/types/utils/config.d.ts +0 -8
- package/dist/types/utils/overlays.d.ts +11 -9
- package/hydrate/index.js +202 -795
- package/hydrate/index.mjs +202 -795
- package/package.json +37 -5
- package/components/ion-picker-legacy-column.d.ts +0 -11
- package/components/ion-picker-legacy-column.js +0 -4
- package/components/ion-picker-legacy.d.ts +0 -11
- package/components/ion-picker-legacy.js +0 -4
- package/components/p-0NRupjzW.js +0 -4
- package/components/p-Bth-EzJ0.js +0 -4
- package/components/p-CU5rbWAW.js +0 -4
- package/components/p-W9CZ2mWX.js +0 -4
- package/components/p-dhLYXa7A.js +0 -4
- package/components/p-uVRyUM3z.js +0 -4
- package/dist/collection/components/picker-legacy/animations/ios.enter.js +0 -27
- package/dist/collection/components/picker-legacy/animations/ios.leave.js +0 -23
- package/dist/collection/components/picker-legacy/picker-interface.js +0 -1
- package/dist/collection/components/picker-legacy/picker.ios.css +0 -300
- package/dist/collection/components/picker-legacy/picker.js +0 -890
- package/dist/collection/components/picker-legacy/picker.md.css +0 -287
- package/dist/collection/components/picker-legacy-column/picker-column.ios.css +0 -231
- package/dist/collection/components/picker-legacy-column/picker-column.js +0 -422
- package/dist/collection/components/picker-legacy-column/picker-column.md.css +0 -222
- package/dist/collection/components/picker-legacy-column/test/test.utils.js +0 -43
- package/dist/ionic/p-00dbb17e.entry.js +0 -4
- package/dist/ionic/p-01f81ea5.entry.js +0 -4
- package/dist/ionic/p-0d005398.entry.js +0 -4
- package/dist/ionic/p-27d30585.entry.js +0 -4
- package/dist/ionic/p-2bb2cb18.entry.js +0 -4
- package/dist/ionic/p-2f55dc1a.entry.js +0 -4
- package/dist/ionic/p-30bf9737.entry.js +0 -4
- package/dist/ionic/p-3a541154.entry.js +0 -4
- package/dist/ionic/p-485fda23.entry.js +0 -4
- package/dist/ionic/p-4baa5b82.entry.js +0 -4
- package/dist/ionic/p-4dc1c33c.entry.js +0 -4
- package/dist/ionic/p-5fc7e542.entry.js +0 -4
- package/dist/ionic/p-e686695b.entry.js +0 -4
- package/dist/ionic/p-ec090e0a.entry.js +0 -4
- package/dist/ionic/p-xOfi7-Zn.js +0 -4
- package/dist/types/components/picker-legacy/animations/ios.enter.d.ts +0 -5
- package/dist/types/components/picker-legacy/animations/ios.leave.d.ts +0 -5
- package/dist/types/components/picker-legacy/picker-interface.d.ts +0 -52
- package/dist/types/components/picker-legacy/picker.d.ts +0 -158
- package/dist/types/components/picker-legacy-column/picker-column.d.ts +0 -46
- package/dist/types/components/picker-legacy-column/test/test.utils.d.ts +0 -9
|
@@ -25,7 +25,6 @@ import { NavComponent, NavComponentWithProps, NavOptions, RouterOutletOptions, S
|
|
|
25
25
|
import { ViewController } from "./components/nav/view-controller";
|
|
26
26
|
import { PickerChangeEventDetail } from "./components/picker/picker-interfaces";
|
|
27
27
|
import { PickerColumnChangeEventDetail, PickerColumnValue } from "./components/picker-column/picker-column-interfaces";
|
|
28
|
-
import { PickerButton, PickerColumn } from "./components/picker-legacy/picker-interface";
|
|
29
28
|
import { PopoverSize, PositionAlign, PositionReference, PositionSide, TriggerAction } from "./components/popover/popover-interface";
|
|
30
29
|
import { RadioGroupChangeEventDetail, RadioGroupCompareFn } from "./components/radio-group/radio-group-interface";
|
|
31
30
|
import { PinFormatter, RangeChangeEventDetail, RangeKnobMoveEndEventDetail, RangeKnobMoveStartEventDetail, RangeValue } from "./components/range/range-interface";
|
|
@@ -63,7 +62,6 @@ export { NavComponent, NavComponentWithProps, NavOptions, RouterOutletOptions, S
|
|
|
63
62
|
export { ViewController } from "./components/nav/view-controller";
|
|
64
63
|
export { PickerChangeEventDetail } from "./components/picker/picker-interfaces";
|
|
65
64
|
export { PickerColumnChangeEventDetail, PickerColumnValue } from "./components/picker-column/picker-column-interfaces";
|
|
66
|
-
export { PickerButton, PickerColumn } from "./components/picker-legacy/picker-interface";
|
|
67
65
|
export { PopoverSize, PositionAlign, PositionReference, PositionSide, TriggerAction } from "./components/popover/popover-interface";
|
|
68
66
|
export { RadioGroupChangeEventDetail, RadioGroupCompareFn } from "./components/radio-group/radio-group-interface";
|
|
69
67
|
export { PinFormatter, RangeChangeEventDetail, RangeKnobMoveEndEventDetail, RangeKnobMoveStartEventDetail, RangeValue } from "./components/range/range-interface";
|
|
@@ -1295,9 +1293,9 @@ export namespace Components {
|
|
|
1295
1293
|
"autocomplete": AutocompleteTypes;
|
|
1296
1294
|
/**
|
|
1297
1295
|
* Whether auto correction should be enabled when the user is entering/editing the text value.
|
|
1298
|
-
* @default
|
|
1296
|
+
* @default false
|
|
1299
1297
|
*/
|
|
1300
|
-
"autocorrect":
|
|
1298
|
+
"autocorrect": boolean;
|
|
1301
1299
|
/**
|
|
1302
1300
|
* Sets the [`autofocus` attribute](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/autofocus) on the native input element. This may not be sufficient for the element to be focused on page load. See [managing focus](/docs/developing/managing-focus) for more information.
|
|
1303
1301
|
* @default false
|
|
@@ -2289,107 +2287,6 @@ export namespace Components {
|
|
|
2289
2287
|
*/
|
|
2290
2288
|
"value"?: any | null;
|
|
2291
2289
|
}
|
|
2292
|
-
interface IonPickerLegacy {
|
|
2293
|
-
/**
|
|
2294
|
-
* If `true`, the picker will animate.
|
|
2295
|
-
* @default true
|
|
2296
|
-
*/
|
|
2297
|
-
"animated": boolean;
|
|
2298
|
-
/**
|
|
2299
|
-
* If `true`, the picker will be dismissed when the backdrop is clicked.
|
|
2300
|
-
* @default true
|
|
2301
|
-
*/
|
|
2302
|
-
"backdropDismiss": boolean;
|
|
2303
|
-
/**
|
|
2304
|
-
* Array of buttons to be displayed at the top of the picker.
|
|
2305
|
-
* @default []
|
|
2306
|
-
*/
|
|
2307
|
-
"buttons": PickerButton[];
|
|
2308
|
-
/**
|
|
2309
|
-
* Array of columns to be displayed in the picker.
|
|
2310
|
-
* @default []
|
|
2311
|
-
*/
|
|
2312
|
-
"columns": PickerColumn[];
|
|
2313
|
-
/**
|
|
2314
|
-
* Additional classes to apply for custom CSS. If multiple classes are provided they should be separated by spaces.
|
|
2315
|
-
*/
|
|
2316
|
-
"cssClass"?: string | string[];
|
|
2317
|
-
"delegate"?: FrameworkDelegate;
|
|
2318
|
-
/**
|
|
2319
|
-
* Dismiss the picker overlay after it has been presented.
|
|
2320
|
-
* @param data Any data to emit in the dismiss events.
|
|
2321
|
-
* @param role The role of the element that is dismissing the picker. This can be useful in a button handler for determining which button was clicked to dismiss the picker. Some examples include: ``"cancel"`, `"destructive"`, "selected"`, and `"backdrop"`.
|
|
2322
|
-
*/
|
|
2323
|
-
"dismiss": (data?: any, role?: string) => Promise<boolean>;
|
|
2324
|
-
/**
|
|
2325
|
-
* Number of milliseconds to wait before dismissing the picker.
|
|
2326
|
-
* @default 0
|
|
2327
|
-
*/
|
|
2328
|
-
"duration": number;
|
|
2329
|
-
/**
|
|
2330
|
-
* Animation to use when the picker is presented.
|
|
2331
|
-
*/
|
|
2332
|
-
"enterAnimation"?: AnimationBuilder;
|
|
2333
|
-
/**
|
|
2334
|
-
* Get the column that matches the specified name.
|
|
2335
|
-
* @param name The name of the column.
|
|
2336
|
-
*/
|
|
2337
|
-
"getColumn": (name: string) => Promise<PickerColumn | undefined>;
|
|
2338
|
-
/**
|
|
2339
|
-
* @default false
|
|
2340
|
-
*/
|
|
2341
|
-
"hasController": boolean;
|
|
2342
|
-
/**
|
|
2343
|
-
* Additional attributes to pass to the picker.
|
|
2344
|
-
*/
|
|
2345
|
-
"htmlAttributes"?: { [key: string]: any };
|
|
2346
|
-
/**
|
|
2347
|
-
* If `true`, the picker will open. If `false`, the picker will close. Use this if you need finer grained control over presentation, otherwise just use the pickerController or the `trigger` property. Note: `isOpen` will not automatically be set back to `false` when the picker dismisses. You will need to do that in your code.
|
|
2348
|
-
* @default false
|
|
2349
|
-
*/
|
|
2350
|
-
"isOpen": boolean;
|
|
2351
|
-
/**
|
|
2352
|
-
* If `true`, the keyboard will be automatically dismissed when the overlay is presented.
|
|
2353
|
-
* @default true
|
|
2354
|
-
*/
|
|
2355
|
-
"keyboardClose": boolean;
|
|
2356
|
-
/**
|
|
2357
|
-
* Animation to use when the picker is dismissed.
|
|
2358
|
-
*/
|
|
2359
|
-
"leaveAnimation"?: AnimationBuilder;
|
|
2360
|
-
/**
|
|
2361
|
-
* The mode determines which platform styles to use.
|
|
2362
|
-
*/
|
|
2363
|
-
"mode"?: "ios" | "md";
|
|
2364
|
-
/**
|
|
2365
|
-
* Returns a promise that resolves when the picker did dismiss.
|
|
2366
|
-
*/
|
|
2367
|
-
"onDidDismiss": <T = any>() => Promise<OverlayEventDetail<T>>;
|
|
2368
|
-
/**
|
|
2369
|
-
* Returns a promise that resolves when the picker will dismiss.
|
|
2370
|
-
*/
|
|
2371
|
-
"onWillDismiss": <T = any>() => Promise<OverlayEventDetail<T>>;
|
|
2372
|
-
"overlayIndex": number;
|
|
2373
|
-
/**
|
|
2374
|
-
* Present the picker overlay after it has been created.
|
|
2375
|
-
*/
|
|
2376
|
-
"present": () => Promise<void>;
|
|
2377
|
-
/**
|
|
2378
|
-
* If `true`, a backdrop will be displayed behind the picker.
|
|
2379
|
-
* @default true
|
|
2380
|
-
*/
|
|
2381
|
-
"showBackdrop": boolean;
|
|
2382
|
-
/**
|
|
2383
|
-
* An ID corresponding to the trigger element that causes the picker to open when clicked.
|
|
2384
|
-
*/
|
|
2385
|
-
"trigger": string | undefined;
|
|
2386
|
-
}
|
|
2387
|
-
interface IonPickerLegacyColumn {
|
|
2388
|
-
/**
|
|
2389
|
-
* Picker column data
|
|
2390
|
-
*/
|
|
2391
|
-
"col": PickerColumn;
|
|
2392
|
-
}
|
|
2393
2290
|
interface IonPopover {
|
|
2394
2291
|
/**
|
|
2395
2292
|
* Describes how to align the popover content with the `reference` point. Defaults to `"center"` for `ios` mode, and `"start"` for `md` mode.
|
|
@@ -2915,6 +2812,10 @@ export namespace Components {
|
|
|
2915
2812
|
*/
|
|
2916
2813
|
"mode": "ios" | "md";
|
|
2917
2814
|
"setRouteId": (id: string, params: ComponentProps | undefined, direction: RouterDirection, animation?: AnimationBuilder) => Promise<RouteWrite>;
|
|
2815
|
+
/**
|
|
2816
|
+
* If `true`, the router-outlet should allow navigation via swipe-to-go-back gesture. Defaults to `true` for `"ios"` mode and `false` for `"md"` mode.
|
|
2817
|
+
*/
|
|
2818
|
+
"swipeGesture"?: boolean;
|
|
2918
2819
|
"swipeHandler"?: SwipeGestureHandler;
|
|
2919
2820
|
}
|
|
2920
2821
|
interface IonRow {
|
|
@@ -2937,9 +2838,9 @@ export namespace Components {
|
|
|
2937
2838
|
"autocomplete": AutocompleteTypes;
|
|
2938
2839
|
/**
|
|
2939
2840
|
* Set the input's autocorrect property.
|
|
2940
|
-
* @default
|
|
2841
|
+
* @default false
|
|
2941
2842
|
*/
|
|
2942
|
-
"autocorrect":
|
|
2843
|
+
"autocorrect": boolean;
|
|
2943
2844
|
/**
|
|
2944
2845
|
* Set the cancel button icon. Only applies to `md` mode. Defaults to `arrow-back-sharp`.
|
|
2945
2846
|
* @default config.get('backButtonIcon', arrowBackSharp) as string
|
|
@@ -3858,14 +3759,6 @@ export interface IonPickerColumnCustomEvent<T> extends CustomEvent<T> {
|
|
|
3858
3759
|
detail: T;
|
|
3859
3760
|
target: HTMLIonPickerColumnElement;
|
|
3860
3761
|
}
|
|
3861
|
-
export interface IonPickerLegacyCustomEvent<T> extends CustomEvent<T> {
|
|
3862
|
-
detail: T;
|
|
3863
|
-
target: HTMLIonPickerLegacyElement;
|
|
3864
|
-
}
|
|
3865
|
-
export interface IonPickerLegacyColumnCustomEvent<T> extends CustomEvent<T> {
|
|
3866
|
-
detail: T;
|
|
3867
|
-
target: HTMLIonPickerLegacyColumnElement;
|
|
3868
|
-
}
|
|
3869
3762
|
export interface IonPopoverCustomEvent<T> extends CustomEvent<T> {
|
|
3870
3763
|
detail: T;
|
|
3871
3764
|
target: HTMLIonPopoverElement;
|
|
@@ -4623,47 +4516,6 @@ declare global {
|
|
|
4623
4516
|
prototype: HTMLIonPickerColumnOptionElement;
|
|
4624
4517
|
new (): HTMLIonPickerColumnOptionElement;
|
|
4625
4518
|
};
|
|
4626
|
-
interface HTMLIonPickerLegacyElementEventMap {
|
|
4627
|
-
"ionPickerDidPresent": void;
|
|
4628
|
-
"ionPickerWillPresent": void;
|
|
4629
|
-
"ionPickerWillDismiss": OverlayEventDetail;
|
|
4630
|
-
"ionPickerDidDismiss": OverlayEventDetail;
|
|
4631
|
-
"didPresent": void;
|
|
4632
|
-
"willPresent": void;
|
|
4633
|
-
"willDismiss": OverlayEventDetail;
|
|
4634
|
-
"didDismiss": OverlayEventDetail;
|
|
4635
|
-
}
|
|
4636
|
-
interface HTMLIonPickerLegacyElement extends Components.IonPickerLegacy, HTMLStencilElement {
|
|
4637
|
-
addEventListener<K extends keyof HTMLIonPickerLegacyElementEventMap>(type: K, listener: (this: HTMLIonPickerLegacyElement, ev: IonPickerLegacyCustomEvent<HTMLIonPickerLegacyElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
4638
|
-
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
4639
|
-
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
4640
|
-
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
4641
|
-
removeEventListener<K extends keyof HTMLIonPickerLegacyElementEventMap>(type: K, listener: (this: HTMLIonPickerLegacyElement, ev: IonPickerLegacyCustomEvent<HTMLIonPickerLegacyElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
4642
|
-
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
4643
|
-
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
4644
|
-
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
4645
|
-
}
|
|
4646
|
-
var HTMLIonPickerLegacyElement: {
|
|
4647
|
-
prototype: HTMLIonPickerLegacyElement;
|
|
4648
|
-
new (): HTMLIonPickerLegacyElement;
|
|
4649
|
-
};
|
|
4650
|
-
interface HTMLIonPickerLegacyColumnElementEventMap {
|
|
4651
|
-
"ionPickerColChange": PickerColumn;
|
|
4652
|
-
}
|
|
4653
|
-
interface HTMLIonPickerLegacyColumnElement extends Components.IonPickerLegacyColumn, HTMLStencilElement {
|
|
4654
|
-
addEventListener<K extends keyof HTMLIonPickerLegacyColumnElementEventMap>(type: K, listener: (this: HTMLIonPickerLegacyColumnElement, ev: IonPickerLegacyColumnCustomEvent<HTMLIonPickerLegacyColumnElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
4655
|
-
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
4656
|
-
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
4657
|
-
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
4658
|
-
removeEventListener<K extends keyof HTMLIonPickerLegacyColumnElementEventMap>(type: K, listener: (this: HTMLIonPickerLegacyColumnElement, ev: IonPickerLegacyColumnCustomEvent<HTMLIonPickerLegacyColumnElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
4659
|
-
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
4660
|
-
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
4661
|
-
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
4662
|
-
}
|
|
4663
|
-
var HTMLIonPickerLegacyColumnElement: {
|
|
4664
|
-
prototype: HTMLIonPickerLegacyColumnElement;
|
|
4665
|
-
new (): HTMLIonPickerLegacyColumnElement;
|
|
4666
|
-
};
|
|
4667
4519
|
interface HTMLIonPopoverElementEventMap {
|
|
4668
4520
|
"ionPopoverDidPresent": void;
|
|
4669
4521
|
"ionPopoverWillPresent": void;
|
|
@@ -5261,8 +5113,6 @@ declare global {
|
|
|
5261
5113
|
"ion-picker": HTMLIonPickerElement;
|
|
5262
5114
|
"ion-picker-column": HTMLIonPickerColumnElement;
|
|
5263
5115
|
"ion-picker-column-option": HTMLIonPickerColumnOptionElement;
|
|
5264
|
-
"ion-picker-legacy": HTMLIonPickerLegacyElement;
|
|
5265
|
-
"ion-picker-legacy-column": HTMLIonPickerLegacyColumnElement;
|
|
5266
5116
|
"ion-popover": HTMLIonPopoverElement;
|
|
5267
5117
|
"ion-progress-bar": HTMLIonProgressBarElement;
|
|
5268
5118
|
"ion-radio": HTMLIonRadioElement;
|
|
@@ -6548,9 +6398,9 @@ declare namespace LocalJSX {
|
|
|
6548
6398
|
"autocomplete"?: AutocompleteTypes;
|
|
6549
6399
|
/**
|
|
6550
6400
|
* Whether auto correction should be enabled when the user is entering/editing the text value.
|
|
6551
|
-
* @default
|
|
6401
|
+
* @default false
|
|
6552
6402
|
*/
|
|
6553
|
-
"autocorrect"?:
|
|
6403
|
+
"autocorrect"?: boolean;
|
|
6554
6404
|
/**
|
|
6555
6405
|
* Sets the [`autofocus` attribute](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/autofocus) on the native input element. This may not be sufficient for the element to be focused on page load. See [managing focus](/docs/developing/managing-focus) for more information.
|
|
6556
6406
|
* @default false
|
|
@@ -7432,110 +7282,6 @@ declare namespace LocalJSX {
|
|
|
7432
7282
|
*/
|
|
7433
7283
|
"value"?: any | null;
|
|
7434
7284
|
}
|
|
7435
|
-
interface IonPickerLegacy {
|
|
7436
|
-
/**
|
|
7437
|
-
* If `true`, the picker will animate.
|
|
7438
|
-
* @default true
|
|
7439
|
-
*/
|
|
7440
|
-
"animated"?: boolean;
|
|
7441
|
-
/**
|
|
7442
|
-
* If `true`, the picker will be dismissed when the backdrop is clicked.
|
|
7443
|
-
* @default true
|
|
7444
|
-
*/
|
|
7445
|
-
"backdropDismiss"?: boolean;
|
|
7446
|
-
/**
|
|
7447
|
-
* Array of buttons to be displayed at the top of the picker.
|
|
7448
|
-
* @default []
|
|
7449
|
-
*/
|
|
7450
|
-
"buttons"?: PickerButton[];
|
|
7451
|
-
/**
|
|
7452
|
-
* Array of columns to be displayed in the picker.
|
|
7453
|
-
* @default []
|
|
7454
|
-
*/
|
|
7455
|
-
"columns"?: PickerColumn[];
|
|
7456
|
-
/**
|
|
7457
|
-
* Additional classes to apply for custom CSS. If multiple classes are provided they should be separated by spaces.
|
|
7458
|
-
*/
|
|
7459
|
-
"cssClass"?: string | string[];
|
|
7460
|
-
/**
|
|
7461
|
-
* Number of milliseconds to wait before dismissing the picker.
|
|
7462
|
-
* @default 0
|
|
7463
|
-
*/
|
|
7464
|
-
"duration"?: number;
|
|
7465
|
-
/**
|
|
7466
|
-
* Animation to use when the picker is presented.
|
|
7467
|
-
*/
|
|
7468
|
-
"enterAnimation"?: AnimationBuilder;
|
|
7469
|
-
/**
|
|
7470
|
-
* Additional attributes to pass to the picker.
|
|
7471
|
-
*/
|
|
7472
|
-
"htmlAttributes"?: { [key: string]: any };
|
|
7473
|
-
/**
|
|
7474
|
-
* If `true`, the picker will open. If `false`, the picker will close. Use this if you need finer grained control over presentation, otherwise just use the pickerController or the `trigger` property. Note: `isOpen` will not automatically be set back to `false` when the picker dismisses. You will need to do that in your code.
|
|
7475
|
-
* @default false
|
|
7476
|
-
*/
|
|
7477
|
-
"isOpen"?: boolean;
|
|
7478
|
-
/**
|
|
7479
|
-
* If `true`, the keyboard will be automatically dismissed when the overlay is presented.
|
|
7480
|
-
* @default true
|
|
7481
|
-
*/
|
|
7482
|
-
"keyboardClose"?: boolean;
|
|
7483
|
-
/**
|
|
7484
|
-
* Animation to use when the picker is dismissed.
|
|
7485
|
-
*/
|
|
7486
|
-
"leaveAnimation"?: AnimationBuilder;
|
|
7487
|
-
/**
|
|
7488
|
-
* The mode determines which platform styles to use.
|
|
7489
|
-
*/
|
|
7490
|
-
"mode"?: "ios" | "md";
|
|
7491
|
-
/**
|
|
7492
|
-
* Emitted after the picker has dismissed. Shorthand for ionPickerDidDismiss.
|
|
7493
|
-
*/
|
|
7494
|
-
"onDidDismiss"?: (event: IonPickerLegacyCustomEvent<OverlayEventDetail>) => void;
|
|
7495
|
-
/**
|
|
7496
|
-
* Emitted after the picker has presented. Shorthand for ionPickerWillDismiss.
|
|
7497
|
-
*/
|
|
7498
|
-
"onDidPresent"?: (event: IonPickerLegacyCustomEvent<void>) => void;
|
|
7499
|
-
/**
|
|
7500
|
-
* Emitted after the picker has dismissed.
|
|
7501
|
-
*/
|
|
7502
|
-
"onIonPickerDidDismiss"?: (event: IonPickerLegacyCustomEvent<OverlayEventDetail>) => void;
|
|
7503
|
-
/**
|
|
7504
|
-
* Emitted after the picker has presented.
|
|
7505
|
-
*/
|
|
7506
|
-
"onIonPickerDidPresent"?: (event: IonPickerLegacyCustomEvent<void>) => void;
|
|
7507
|
-
/**
|
|
7508
|
-
* Emitted before the picker has dismissed.
|
|
7509
|
-
*/
|
|
7510
|
-
"onIonPickerWillDismiss"?: (event: IonPickerLegacyCustomEvent<OverlayEventDetail>) => void;
|
|
7511
|
-
/**
|
|
7512
|
-
* Emitted before the picker has presented.
|
|
7513
|
-
*/
|
|
7514
|
-
"onIonPickerWillPresent"?: (event: IonPickerLegacyCustomEvent<void>) => void;
|
|
7515
|
-
/**
|
|
7516
|
-
* Emitted before the picker has dismissed. Shorthand for ionPickerWillDismiss.
|
|
7517
|
-
*/
|
|
7518
|
-
"onWillDismiss"?: (event: IonPickerLegacyCustomEvent<OverlayEventDetail>) => void;
|
|
7519
|
-
/**
|
|
7520
|
-
* Emitted before the picker has presented. Shorthand for ionPickerWillPresent.
|
|
7521
|
-
*/
|
|
7522
|
-
"onWillPresent"?: (event: IonPickerLegacyCustomEvent<void>) => void;
|
|
7523
|
-
/**
|
|
7524
|
-
* If `true`, a backdrop will be displayed behind the picker.
|
|
7525
|
-
* @default true
|
|
7526
|
-
*/
|
|
7527
|
-
"showBackdrop"?: boolean;
|
|
7528
|
-
/**
|
|
7529
|
-
* An ID corresponding to the trigger element that causes the picker to open when clicked.
|
|
7530
|
-
*/
|
|
7531
|
-
"trigger"?: string | undefined;
|
|
7532
|
-
}
|
|
7533
|
-
interface IonPickerLegacyColumn {
|
|
7534
|
-
/**
|
|
7535
|
-
* Picker column data
|
|
7536
|
-
*/
|
|
7537
|
-
"col": PickerColumn;
|
|
7538
|
-
}
|
|
7539
7285
|
interface IonPopover {
|
|
7540
7286
|
/**
|
|
7541
7287
|
* Describes how to align the popover content with the `reference` point. Defaults to `"center"` for `ios` mode, and `"start"` for `md` mode.
|
|
@@ -8100,6 +7846,10 @@ declare namespace LocalJSX {
|
|
|
8100
7846
|
* @default getIonMode(this)
|
|
8101
7847
|
*/
|
|
8102
7848
|
"mode"?: "ios" | "md";
|
|
7849
|
+
/**
|
|
7850
|
+
* If `true`, the router-outlet should allow navigation via swipe-to-go-back gesture. Defaults to `true` for `"ios"` mode and `false` for `"md"` mode.
|
|
7851
|
+
*/
|
|
7852
|
+
"swipeGesture"?: boolean;
|
|
8103
7853
|
}
|
|
8104
7854
|
interface IonRow {
|
|
8105
7855
|
}
|
|
@@ -8121,9 +7871,9 @@ declare namespace LocalJSX {
|
|
|
8121
7871
|
"autocomplete"?: AutocompleteTypes;
|
|
8122
7872
|
/**
|
|
8123
7873
|
* Set the input's autocorrect property.
|
|
8124
|
-
* @default
|
|
7874
|
+
* @default false
|
|
8125
7875
|
*/
|
|
8126
|
-
"autocorrect"?:
|
|
7876
|
+
"autocorrect"?: boolean;
|
|
8127
7877
|
/**
|
|
8128
7878
|
* Set the cancel button icon. Only applies to `md` mode. Defaults to `arrow-back-sharp`.
|
|
8129
7879
|
* @default config.get('backButtonIcon', arrowBackSharp) as string
|
|
@@ -9242,7 +8992,7 @@ declare namespace LocalJSX {
|
|
|
9242
8992
|
"color": Color;
|
|
9243
8993
|
"autocapitalize": string;
|
|
9244
8994
|
"autocomplete": AutocompleteTypes;
|
|
9245
|
-
"autocorrect":
|
|
8995
|
+
"autocorrect": boolean;
|
|
9246
8996
|
"autofocus": boolean;
|
|
9247
8997
|
"clearInput": boolean;
|
|
9248
8998
|
"clearInputIcon": string;
|
|
@@ -9410,16 +9160,6 @@ declare namespace LocalJSX {
|
|
|
9410
9160
|
"value": string;
|
|
9411
9161
|
"color": Color;
|
|
9412
9162
|
}
|
|
9413
|
-
interface IonPickerLegacyAttributes {
|
|
9414
|
-
"keyboardClose": boolean;
|
|
9415
|
-
"cssClass": string | string[];
|
|
9416
|
-
"duration": number;
|
|
9417
|
-
"showBackdrop": boolean;
|
|
9418
|
-
"backdropDismiss": boolean;
|
|
9419
|
-
"animated": boolean;
|
|
9420
|
-
"isOpen": boolean;
|
|
9421
|
-
"trigger": string | undefined;
|
|
9422
|
-
}
|
|
9423
9163
|
interface IonPopoverAttributes {
|
|
9424
9164
|
"component": ComponentRef;
|
|
9425
9165
|
"keyboardClose": boolean;
|
|
@@ -9523,13 +9263,14 @@ declare namespace LocalJSX {
|
|
|
9523
9263
|
interface IonRouterOutletAttributes {
|
|
9524
9264
|
"mode": "ios" | "md";
|
|
9525
9265
|
"animated": boolean;
|
|
9266
|
+
"swipeGesture": boolean;
|
|
9526
9267
|
}
|
|
9527
9268
|
interface IonSearchbarAttributes {
|
|
9528
9269
|
"color": Color;
|
|
9529
9270
|
"animated": boolean;
|
|
9530
9271
|
"autocapitalize": string;
|
|
9531
9272
|
"autocomplete": AutocompleteTypes;
|
|
9532
|
-
"autocorrect":
|
|
9273
|
+
"autocorrect": boolean;
|
|
9533
9274
|
"cancelButtonIcon": string;
|
|
9534
9275
|
"cancelButtonText": string;
|
|
9535
9276
|
"clearIcon": string;
|
|
@@ -9770,8 +9511,6 @@ declare namespace LocalJSX {
|
|
|
9770
9511
|
"ion-picker": IonPicker;
|
|
9771
9512
|
"ion-picker-column": Omit<IonPickerColumn, keyof IonPickerColumnAttributes> & { [K in keyof IonPickerColumn & keyof IonPickerColumnAttributes]?: IonPickerColumn[K] } & { [K in keyof IonPickerColumn & keyof IonPickerColumnAttributes as `attr:${K}`]?: IonPickerColumnAttributes[K] } & { [K in keyof IonPickerColumn & keyof IonPickerColumnAttributes as `prop:${K}`]?: IonPickerColumn[K] };
|
|
9772
9513
|
"ion-picker-column-option": Omit<IonPickerColumnOption, keyof IonPickerColumnOptionAttributes> & { [K in keyof IonPickerColumnOption & keyof IonPickerColumnOptionAttributes]?: IonPickerColumnOption[K] } & { [K in keyof IonPickerColumnOption & keyof IonPickerColumnOptionAttributes as `attr:${K}`]?: IonPickerColumnOptionAttributes[K] } & { [K in keyof IonPickerColumnOption & keyof IonPickerColumnOptionAttributes as `prop:${K}`]?: IonPickerColumnOption[K] };
|
|
9773
|
-
"ion-picker-legacy": Omit<IonPickerLegacy, keyof IonPickerLegacyAttributes> & { [K in keyof IonPickerLegacy & keyof IonPickerLegacyAttributes]?: IonPickerLegacy[K] } & { [K in keyof IonPickerLegacy & keyof IonPickerLegacyAttributes as `attr:${K}`]?: IonPickerLegacyAttributes[K] } & { [K in keyof IonPickerLegacy & keyof IonPickerLegacyAttributes as `prop:${K}`]?: IonPickerLegacy[K] };
|
|
9774
|
-
"ion-picker-legacy-column": IonPickerLegacyColumn;
|
|
9775
9514
|
"ion-popover": Omit<IonPopover, keyof IonPopoverAttributes> & { [K in keyof IonPopover & keyof IonPopoverAttributes]?: IonPopover[K] } & { [K in keyof IonPopover & keyof IonPopoverAttributes as `attr:${K}`]?: IonPopoverAttributes[K] } & { [K in keyof IonPopover & keyof IonPopoverAttributes as `prop:${K}`]?: IonPopover[K] };
|
|
9776
9515
|
"ion-progress-bar": Omit<IonProgressBar, keyof IonProgressBarAttributes> & { [K in keyof IonProgressBar & keyof IonProgressBarAttributes]?: IonProgressBar[K] } & { [K in keyof IonProgressBar & keyof IonProgressBarAttributes as `attr:${K}`]?: IonProgressBarAttributes[K] } & { [K in keyof IonProgressBar & keyof IonProgressBarAttributes as `prop:${K}`]?: IonProgressBar[K] };
|
|
9777
9516
|
"ion-radio": Omit<IonRadio, keyof IonRadioAttributes> & { [K in keyof IonRadio & keyof IonRadioAttributes]?: IonRadio[K] } & { [K in keyof IonRadio & keyof IonRadioAttributes as `attr:${K}`]?: IonRadioAttributes[K] } & { [K in keyof IonRadio & keyof IonRadioAttributes as `prop:${K}`]?: IonRadio[K] };
|
|
@@ -9873,8 +9612,6 @@ declare module "@stencil/core" {
|
|
|
9873
9612
|
"ion-picker": LocalJSX.IntrinsicElements["ion-picker"] & JSXBase.HTMLAttributes<HTMLIonPickerElement>;
|
|
9874
9613
|
"ion-picker-column": LocalJSX.IntrinsicElements["ion-picker-column"] & JSXBase.HTMLAttributes<HTMLIonPickerColumnElement>;
|
|
9875
9614
|
"ion-picker-column-option": LocalJSX.IntrinsicElements["ion-picker-column-option"] & JSXBase.HTMLAttributes<HTMLIonPickerColumnOptionElement>;
|
|
9876
|
-
"ion-picker-legacy": LocalJSX.IntrinsicElements["ion-picker-legacy"] & JSXBase.HTMLAttributes<HTMLIonPickerLegacyElement>;
|
|
9877
|
-
"ion-picker-legacy-column": LocalJSX.IntrinsicElements["ion-picker-legacy-column"] & JSXBase.HTMLAttributes<HTMLIonPickerLegacyColumnElement>;
|
|
9878
9615
|
"ion-popover": LocalJSX.IntrinsicElements["ion-popover"] & JSXBase.HTMLAttributes<HTMLIonPopoverElement>;
|
|
9879
9616
|
"ion-progress-bar": LocalJSX.IntrinsicElements["ion-progress-bar"] & JSXBase.HTMLAttributes<HTMLIonProgressBarElement>;
|
|
9880
9617
|
"ion-radio": LocalJSX.IntrinsicElements["ion-radio"] & JSXBase.HTMLAttributes<HTMLIonRadioElement>;
|
package/dist/types/index.d.ts
CHANGED
|
@@ -14,5 +14,5 @@ export { IonicConfig, getMode, setupConfig } from './utils/config';
|
|
|
14
14
|
export { openURL } from './utils/theme';
|
|
15
15
|
export { LIFECYCLE_WILL_ENTER, LIFECYCLE_DID_ENTER, LIFECYCLE_WILL_LEAVE, LIFECYCLE_DID_LEAVE, LIFECYCLE_WILL_UNLOAD, } from './components/nav/constants';
|
|
16
16
|
export { menuController } from './utils/menu-controller';
|
|
17
|
-
export { alertController, actionSheetController, modalController, loadingController,
|
|
17
|
+
export { alertController, actionSheetController, modalController, loadingController, popoverController, toastController, } from './utils/overlays';
|
|
18
18
|
export { IonicSlides } from './components/slides/IonicSlides';
|
|
@@ -19,7 +19,6 @@ export { LoadingOptions } from './components/loading/loading-interface';
|
|
|
19
19
|
export { MenuCustomEvent, MenuI, MenuControllerI } from './components/menu/menu-interface';
|
|
20
20
|
export { ModalOptions, ModalCustomEvent, ModalDragEventDetail } from './components/modal/modal-interface';
|
|
21
21
|
export { NavDirection, NavCustomEvent } from './components/nav/nav-interface';
|
|
22
|
-
export { PickerOptions, PickerColumnOption } from './components/picker-legacy/picker-interface';
|
|
23
22
|
export { PopoverOptions } from './components/popover/popover-interface';
|
|
24
23
|
export { RadioGroupCustomEvent } from './components/radio-group/radio-group-interface';
|
|
25
24
|
export { RangeCustomEvent, PinFormatter } from './components/range/range-interface';
|
|
@@ -117,10 +117,6 @@ export interface IonicConfig {
|
|
|
117
117
|
* Provides a custom enter animation for all `ion-toast`, overriding the default "animation".
|
|
118
118
|
*/
|
|
119
119
|
toastEnter?: AnimationBuilder;
|
|
120
|
-
/**
|
|
121
|
-
* Provides a custom enter animation for all `ion-picker-legacy`, overriding the default "animation".
|
|
122
|
-
*/
|
|
123
|
-
pickerEnter?: AnimationBuilder;
|
|
124
120
|
/**
|
|
125
121
|
* Provides a custom leave animation for all `ion-action-sheet`, overriding the default "animation".
|
|
126
122
|
*/
|
|
@@ -145,10 +141,6 @@ export interface IonicConfig {
|
|
|
145
141
|
* Provides a custom leave animation for all `ion-toast`, overriding the default "animation".
|
|
146
142
|
*/
|
|
147
143
|
toastLeave?: AnimationBuilder;
|
|
148
|
-
/**
|
|
149
|
-
* Provides a custom leave animation for all `ion-picker-legacy`, overriding the default "animation".
|
|
150
|
-
*/
|
|
151
|
-
pickerLeave?: AnimationBuilder;
|
|
152
144
|
/**
|
|
153
145
|
* If `true`, Ionic will enable a basic DOM sanitizer on component properties that accept custom HTML.
|
|
154
146
|
*/
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ActionSheetOptions, AlertOptions, Animation, AnimationBuilder, FrameworkDelegate, HTMLIonOverlayElement, IonicConfig, LoadingOptions, ModalOptions, OverlayInterface,
|
|
1
|
+
import type { ActionSheetOptions, AlertOptions, Animation, AnimationBuilder, FrameworkDelegate, HTMLIonOverlayElement, IonicConfig, LoadingOptions, ModalOptions, OverlayInterface, PopoverOptions, ToastOptions } from '../interface';
|
|
2
2
|
export declare const activeAnimations: WeakMap<OverlayInterface, Animation[]>;
|
|
3
3
|
export declare const alertController: {
|
|
4
4
|
create(options: AlertOptions): Promise<HTMLIonAlertElement>;
|
|
@@ -20,14 +20,6 @@ export declare const modalController: {
|
|
|
20
20
|
dismiss(data?: any, role?: string, id?: string): Promise<boolean>;
|
|
21
21
|
getTop(): Promise<HTMLIonModalElement | undefined>;
|
|
22
22
|
};
|
|
23
|
-
/**
|
|
24
|
-
* @deprecated Use the inline ion-picker component instead.
|
|
25
|
-
*/
|
|
26
|
-
export declare const pickerController: {
|
|
27
|
-
create(options: PickerOptions): Promise<HTMLIonPickerLegacyElement>;
|
|
28
|
-
dismiss(data?: any, role?: string, id?: string): Promise<boolean>;
|
|
29
|
-
getTop(): Promise<HTMLIonPickerLegacyElement | undefined>;
|
|
30
|
-
};
|
|
31
23
|
export declare const popoverController: {
|
|
32
24
|
create(options: PopoverOptions<import("../interface").ComponentRef>): Promise<HTMLIonPopoverElement>;
|
|
33
25
|
dismiss(data?: any, role?: string, id?: string): Promise<boolean>;
|
|
@@ -86,6 +78,16 @@ export declare const getPresentedOverlay: (doc: Document, overlayTag?: string, i
|
|
|
86
78
|
* for main content.
|
|
87
79
|
*/
|
|
88
80
|
export declare const setRootAriaHidden: (hidden?: boolean) => void;
|
|
81
|
+
/**
|
|
82
|
+
* Cleans up root `aria-hidden` and `backdrop-no-scroll` when
|
|
83
|
+
* an overlay is removed from the DOM without going through
|
|
84
|
+
* the `dismiss()` flow (e.g., when a framework unmounts the
|
|
85
|
+
* overlay during a route change).
|
|
86
|
+
*
|
|
87
|
+
* Should be called from an overlay's `disconnectedCallback`
|
|
88
|
+
* when the overlay was still presented at the time of removal.
|
|
89
|
+
*/
|
|
90
|
+
export declare const cleanupRootFocusTrapAccessibility: () => void;
|
|
89
91
|
export declare const present: <OverlayPresentOptions>(overlay: OverlayInterface, name: keyof IonicConfig, iosEnterAnimation: AnimationBuilder, mdEnterAnimation: AnimationBuilder, opts?: OverlayPresentOptions) => Promise<void>;
|
|
90
92
|
export declare const dismiss: <OverlayDismissOptions>(overlay: OverlayInterface, data: any | undefined, role: string | undefined, name: keyof IonicConfig, iosLeaveAnimation: AnimationBuilder, mdLeaveAnimation: AnimationBuilder, opts?: OverlayDismissOptions) => Promise<boolean>;
|
|
91
93
|
export declare const eventMethod: <T>(element: HTMLElement, eventName: string) => Promise<T>;
|