@ionic/core 7.5.4-dev.11699404450.136700d7 → 7.5.4-dev.11699469920.1af6ea12
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/animation.js +12 -11
- package/components/checkbox.js +2 -0
- package/components/form-controller.js +5 -1
- package/components/index4.js +10 -12
- package/components/index5.js +0 -22
- package/components/input-shims.js +12 -7
- package/components/ion-datetime.js +2 -2
- package/components/ion-input.js +2 -0
- package/components/ion-modal.js +2 -2
- package/components/ion-range.js +2 -0
- package/components/ion-select.js +4 -2
- package/components/ion-skeleton-text.js +14 -1
- package/components/ion-textarea.js +2 -0
- package/components/ion-toast.js +419 -74
- package/components/ion-toggle.js +2 -0
- package/components/item.js +2 -2
- package/components/label.js +2 -2
- package/components/list.js +2 -2
- package/components/overlays.js +2 -1
- package/components/radio-group.js +1 -1
- package/components/radio.js +2 -0
- package/dist/cjs/{animation-1083855c.js → animation-d101aa7a.js} +13 -12
- package/dist/cjs/{button-active-625d1d77.js → button-active-69c3bee4.js} +1 -1
- package/dist/cjs/{capacitor-2ffba62a.js → capacitor-f68447d3.js} +1 -1
- package/dist/cjs/{form-controller-9343050c.js → form-controller-5e223b54.js} +5 -1
- package/dist/cjs/{haptic-678abc9f.js → haptic-a74c2767.js} +1 -1
- package/dist/cjs/{index-3659e3a5.js → index-9146d04a.js} +11 -13
- package/dist/cjs/{index-135a6097.js → index-adbcffee.js} +2 -2
- package/dist/cjs/index-c8d52405.js +10 -0
- package/dist/cjs/{index-9f379eaa.js → index-e9634bc9.js} +1 -1
- package/dist/cjs/index.cjs.js +8 -8
- package/dist/cjs/{input-shims-b0a75a01.js → input-shims-3e3f35b9.js} +15 -10
- package/dist/cjs/{input.utils-0fe3097c.js → input.utils-590f0f18.js} +1 -1
- package/dist/cjs/ion-action-sheet.cjs.entry.js +6 -6
- package/dist/cjs/ion-alert.cjs.entry.js +6 -6
- package/dist/cjs/ion-app_8.cjs.entry.js +8 -8
- package/dist/cjs/ion-checkbox.cjs.entry.js +3 -1
- package/dist/cjs/ion-datetime_3.cjs.entry.js +7 -7
- package/dist/cjs/ion-input.cjs.entry.js +6 -4
- package/dist/cjs/ion-item_8.cjs.entry.js +19 -6
- package/dist/cjs/ion-loading.cjs.entry.js +3 -3
- package/dist/cjs/ion-menu_3.cjs.entry.js +5 -5
- package/dist/cjs/ion-modal.cjs.entry.js +8 -8
- package/dist/cjs/ion-nav_2.cjs.entry.js +1 -1
- package/dist/cjs/ion-picker-column-internal.cjs.entry.js +3 -3
- package/dist/cjs/ion-popover.cjs.entry.js +4 -4
- package/dist/cjs/ion-radio_2.cjs.entry.js +4 -2
- package/dist/cjs/ion-range.cjs.entry.js +3 -1
- package/dist/cjs/ion-refresher_2.cjs.entry.js +4 -4
- package/dist/cjs/ion-reorder_2.cjs.entry.js +3 -3
- package/dist/cjs/ion-select_3.cjs.entry.js +8 -6
- package/dist/cjs/ion-tab-bar_2.cjs.entry.js +4 -4
- package/dist/cjs/ion-textarea.cjs.entry.js +6 -4
- package/dist/cjs/ion-toast.cjs.entry.js +434 -92
- package/dist/cjs/ion-toggle.cjs.entry.js +6 -4
- package/dist/cjs/ionic.cjs.js +2 -2
- package/dist/cjs/{ios.transition-b71990aa.js → ios.transition-7972d9e3.js} +3 -3
- package/dist/cjs/{keyboard-fd7db491.js → keyboard-43df0428.js} +1 -1
- package/dist/cjs/{keyboard-38f2bb7b.js → keyboard-840107b3.js} +3 -3
- package/dist/cjs/{keyboard-controller-50beb83a.js → keyboard-controller-019f42df.js} +2 -2
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{md.transition-3caa648a.js → md.transition-6e61a10f.js} +3 -3
- package/dist/cjs/{notch-controller-f4f6af5d.js → notch-controller-c22d1344.js} +1 -1
- package/dist/cjs/{overlays-6d1daf80.js → overlays-ba1a1e21.js} +3 -1
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/checkbox/checkbox.js +2 -0
- package/dist/collection/components/datetime/datetime.ios.css +1 -0
- package/dist/collection/components/datetime/datetime.md.css +1 -0
- package/dist/collection/components/input/input.js +2 -0
- package/dist/collection/components/item/item.ios.css +25 -3
- package/dist/collection/components/item/item.md.css +25 -3
- package/dist/collection/components/item/test/basic/item.e2e.js +1 -1
- package/dist/collection/components/item/test/disabled/item.e2e.js +0 -1
- package/dist/collection/components/label/label.ios.css +14 -3
- package/dist/collection/components/label/label.md.css +14 -3
- package/dist/collection/components/list/list.ios.css +1 -15
- package/dist/collection/components/list/list.md.css +3 -41
- package/dist/collection/components/list/test/lines/list.e2e.js +0 -143
- package/dist/collection/components/modal/gestures/swipe-to-close.js +2 -1
- package/dist/collection/components/note/test/a11y/note.e2e.js +43 -0
- package/dist/collection/components/picker-internal/test/basic/picker-internal.e2e.js +0 -5
- package/dist/collection/components/radio/radio.js +2 -0
- package/dist/collection/components/radio-group/radio-group.js +1 -1
- package/dist/collection/components/range/range.js +2 -0
- package/dist/collection/components/select/select.ios.css +5 -0
- package/dist/collection/components/select/select.js +2 -0
- package/dist/collection/components/select/select.md.css +5 -0
- package/dist/collection/components/select/test/legacy/wrapping/select.e2e.js +1 -1
- package/dist/collection/components/skeleton-text/skeleton-text.js +39 -0
- package/dist/collection/components/textarea/textarea.js +2 -0
- package/dist/collection/components/toast/animations/ios.enter.js +2 -1
- package/dist/collection/components/toast/animations/md.enter.js +4 -3
- package/dist/collection/components/toast/animations/utils.js +20 -14
- package/dist/collection/components/toast/gestures/swipe-to-dismiss.js +267 -0
- package/dist/collection/components/toast/test/swipe-gesture/toast.e2e.js +84 -0
- package/dist/collection/components/toast/toast.ios.css +10 -10
- package/dist/collection/components/toast/toast.js +104 -1
- package/dist/collection/components/toast/toast.md.css +10 -0
- package/dist/collection/components/toggle/toggle.js +2 -0
- package/dist/collection/utils/animation/animation.js +12 -11
- package/dist/collection/utils/browser/index.js +0 -22
- package/dist/collection/utils/forms/form-controller.js +5 -1
- package/dist/collection/utils/input-shims/input-shims.js +12 -6
- package/dist/collection/utils/menu-controller/index.js +10 -12
- package/dist/collection/utils/overlays.js +1 -0
- package/dist/docs.json +38 -2
- package/dist/esm/{animation-8aa13916.js → animation-cf3dd234.js} +13 -12
- package/dist/esm/{button-active-1fb561b0.js → button-active-109ba60d.js} +1 -1
- package/dist/esm/{capacitor-b4979570.js → capacitor-f1f25364.js} +1 -1
- package/dist/esm/{form-controller-64edeaad.js → form-controller-ed77647a.js} +5 -1
- package/dist/esm/{haptic-1243b917.js → haptic-1a66d69f.js} +1 -1
- package/dist/esm/{index-47a510cf.js → index-50582f1c.js} +2 -2
- package/dist/esm/{index-056b43e7.js → index-6a48e009.js} +11 -13
- package/dist/esm/index-a5d50daf.js +7 -0
- package/dist/esm/{index-f0cc4e14.js → index-c9e82353.js} +1 -1
- package/dist/esm/index.js +8 -8
- package/dist/esm/{input-shims-d0c93e5d.js → input-shims-1d767845.js} +14 -9
- package/dist/esm/{input.utils-ec063df4.js → input.utils-d04a7212.js} +1 -1
- package/dist/esm/ion-action-sheet.entry.js +6 -6
- package/dist/esm/ion-alert.entry.js +6 -6
- package/dist/esm/ion-app_8.entry.js +8 -8
- package/dist/esm/ion-checkbox.entry.js +3 -1
- package/dist/esm/ion-datetime_3.entry.js +7 -7
- package/dist/esm/ion-input.entry.js +6 -4
- package/dist/esm/ion-item_8.entry.js +19 -6
- package/dist/esm/ion-loading.entry.js +3 -3
- package/dist/esm/ion-menu_3.entry.js +5 -5
- package/dist/esm/ion-modal.entry.js +8 -8
- package/dist/esm/ion-nav_2.entry.js +1 -1
- package/dist/esm/ion-picker-column-internal.entry.js +3 -3
- package/dist/esm/ion-popover.entry.js +4 -4
- package/dist/esm/ion-radio_2.entry.js +4 -2
- package/dist/esm/ion-range.entry.js +3 -1
- package/dist/esm/ion-refresher_2.entry.js +4 -4
- package/dist/esm/ion-reorder_2.entry.js +3 -3
- package/dist/esm/ion-select_3.entry.js +8 -6
- package/dist/esm/ion-tab-bar_2.entry.js +4 -4
- package/dist/esm/ion-textarea.entry.js +6 -4
- package/dist/esm/ion-toast.entry.js +417 -75
- package/dist/esm/ion-toggle.entry.js +6 -4
- package/dist/esm/ionic.js +2 -2
- package/dist/esm/{ios.transition-b53e19a3.js → ios.transition-e20d71bc.js} +3 -3
- package/dist/esm/{keyboard-b551279d.js → keyboard-9f771a04.js} +3 -3
- package/dist/esm/{keyboard-b063f012.js → keyboard-b6230bfb.js} +1 -1
- package/dist/esm/{keyboard-controller-0c2dce71.js → keyboard-controller-3f0faa10.js} +2 -2
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{md.transition-276c1159.js → md.transition-a8469407.js} +3 -3
- package/dist/esm/{notch-controller-8c9c0e54.js → notch-controller-3f79197e.js} +1 -1
- package/dist/esm/{overlays-928a4afe.js → overlays-d79b34b4.js} +3 -2
- package/dist/esm-es5/{animation-8aa13916.js → animation-cf3dd234.js} +1 -1
- package/dist/esm-es5/{button-active-1fb561b0.js → button-active-109ba60d.js} +1 -1
- package/dist/esm-es5/{capacitor-b4979570.js → capacitor-f1f25364.js} +1 -1
- package/dist/esm-es5/{form-controller-64edeaad.js → form-controller-ed77647a.js} +1 -1
- package/dist/esm-es5/{haptic-1243b917.js → haptic-1a66d69f.js} +1 -1
- package/dist/esm-es5/{index-47a510cf.js → index-50582f1c.js} +1 -1
- package/dist/esm-es5/index-6a48e009.js +4 -0
- package/dist/esm-es5/index-c9e82353.js +4 -0
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/input-shims-1d767845.js +4 -0
- package/dist/esm-es5/input.utils-d04a7212.js +4 -0
- package/dist/esm-es5/ion-action-sheet.entry.js +1 -1
- package/dist/esm-es5/ion-alert.entry.js +1 -1
- package/dist/esm-es5/ion-app_8.entry.js +1 -1
- package/dist/esm-es5/ion-checkbox.entry.js +1 -1
- package/dist/esm-es5/ion-datetime_3.entry.js +1 -1
- package/dist/esm-es5/ion-input.entry.js +1 -1
- package/dist/esm-es5/ion-item_8.entry.js +1 -1
- package/dist/esm-es5/ion-loading.entry.js +1 -1
- package/dist/esm-es5/ion-menu_3.entry.js +1 -1
- package/dist/esm-es5/ion-modal.entry.js +1 -1
- package/dist/esm-es5/ion-nav_2.entry.js +1 -1
- package/dist/esm-es5/ion-picker-column-internal.entry.js +1 -1
- package/dist/esm-es5/ion-popover.entry.js +1 -1
- package/dist/esm-es5/ion-radio_2.entry.js +1 -1
- package/dist/esm-es5/ion-range.entry.js +1 -1
- package/dist/esm-es5/ion-refresher_2.entry.js +1 -1
- package/dist/esm-es5/ion-reorder_2.entry.js +1 -1
- package/dist/esm-es5/ion-select_3.entry.js +1 -1
- package/dist/esm-es5/ion-tab-bar_2.entry.js +1 -1
- package/dist/esm-es5/ion-textarea.entry.js +1 -1
- package/dist/esm-es5/ion-toast.entry.js +1 -1
- package/dist/esm-es5/ion-toggle.entry.js +1 -1
- package/dist/esm-es5/ionic.js +1 -1
- package/dist/esm-es5/{ios.transition-b53e19a3.js → ios.transition-e20d71bc.js} +1 -1
- package/dist/esm-es5/{keyboard-b551279d.js → keyboard-9f771a04.js} +1 -1
- package/dist/esm-es5/{keyboard-b063f012.js → keyboard-b6230bfb.js} +1 -1
- package/dist/esm-es5/{keyboard-controller-0c2dce71.js → keyboard-controller-3f0faa10.js} +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/{md.transition-276c1159.js → md.transition-a8469407.js} +1 -1
- package/dist/esm-es5/{notch-controller-8c9c0e54.js → notch-controller-3f79197e.js} +1 -1
- package/dist/esm-es5/{overlays-928a4afe.js → overlays-d79b34b4.js} +1 -1
- package/dist/html.html-data.json +9 -0
- package/dist/ionic/index.esm.js +1 -1
- package/dist/ionic/ionic.esm.js +1 -1
- package/dist/ionic/ionic.js +1 -1
- package/dist/ionic/{p-09ec6b90.entry.js → p-020dd47f.entry.js} +1 -1
- package/dist/ionic/p-02663394.system.js +4 -0
- package/dist/ionic/{p-63676ade.system.entry.js → p-0becf7b5.system.entry.js} +1 -1
- package/dist/ionic/{p-8cc04bea.system.js → p-0c40f7d3.system.js} +1 -1
- package/dist/ionic/p-11104d0d.entry.js +4 -0
- package/dist/ionic/{p-81c818e7.js → p-11cb4e19.js} +1 -1
- package/dist/ionic/{p-a5b3aa82.entry.js → p-138a4a93.entry.js} +1 -1
- package/dist/ionic/{p-a07cd4aa.system.js → p-13dd7d20.system.js} +1 -1
- package/dist/ionic/{p-1a1fcc8b.system.js → p-1511dc35.system.js} +1 -1
- package/dist/ionic/{p-276afddd.js → p-1667596c.js} +1 -1
- package/dist/ionic/{p-40c0c580.system.entry.js → p-1fc6b5a5.system.entry.js} +1 -1
- package/dist/ionic/{p-af589369.system.entry.js → p-2151a4a4.system.entry.js} +1 -1
- package/dist/ionic/p-265fec8a.entry.js +4 -0
- package/dist/ionic/{p-da3e5259.entry.js → p-2fb115dc.entry.js} +1 -1
- package/dist/ionic/p-314c4dee.js +4 -0
- package/dist/ionic/p-344706aa.entry.js +4 -0
- package/dist/ionic/p-3554b264.js +4 -0
- package/dist/ionic/{p-59f491c5.entry.js → p-35787a6f.entry.js} +1 -1
- package/dist/ionic/{p-bf5a7db2.system.entry.js → p-3962542f.system.entry.js} +1 -1
- package/dist/ionic/p-3afb9c3d.entry.js +4 -0
- package/dist/ionic/{p-55ed230e.system.js → p-3d726a67.system.js} +1 -1
- package/dist/ionic/{p-60f55715.system.entry.js → p-3dedd258.system.entry.js} +1 -1
- package/dist/ionic/{p-33986d02.entry.js → p-3fc0b7ba.entry.js} +1 -1
- package/dist/ionic/{p-c4e61a72.entry.js → p-47826f19.entry.js} +1 -1
- package/dist/ionic/p-494e75ad.js +4 -0
- package/dist/ionic/{p-6867d3af.system.entry.js → p-4c50b357.system.entry.js} +1 -1
- package/dist/ionic/p-4e3c07a6.system.js +4 -0
- package/dist/ionic/p-4e4ee05e.js +4 -0
- package/dist/ionic/{p-07fd5d40.system.entry.js → p-50375f3b.system.entry.js} +1 -1
- package/dist/ionic/{p-7d3be70f.system.js → p-53f75103.system.js} +1 -1
- package/dist/ionic/p-561cc050.system.js +4 -0
- package/dist/ionic/p-57b14769.js +4 -0
- package/dist/ionic/{p-8cf94fc1.js → p-5885e9af.js} +1 -1
- package/dist/ionic/{p-f0cd78e0.system.entry.js → p-637d836a.system.entry.js} +1 -1
- package/dist/ionic/{p-565d1dc5.entry.js → p-664cc492.entry.js} +1 -1
- package/dist/ionic/{p-b923f3d7.js → p-6a309574.js} +1 -1
- package/dist/ionic/p-6c89025e.system.entry.js +4 -0
- package/dist/ionic/p-70dcf429.js +4 -0
- package/dist/ionic/p-710cea83.system.js +4 -0
- package/dist/ionic/{p-e1e64156.system.entry.js → p-71e70a57.system.entry.js} +1 -1
- package/dist/ionic/p-78a8e1e8.entry.js +4 -0
- package/dist/ionic/p-7acd17bc.entry.js +4 -0
- package/dist/ionic/{p-3632220b.system.js → p-7def197f.system.js} +1 -1
- package/dist/ionic/p-81bdfa1c.system.entry.js +4 -0
- package/dist/ionic/p-8414ed31.entry.js +4 -0
- package/dist/ionic/{p-b4b4bb29.system.js → p-9292fd42.system.js} +1 -1
- package/dist/ionic/p-92ac915c.system.js +4 -0
- package/dist/ionic/{p-fb10190f.js → p-938c4956.js} +1 -1
- package/dist/ionic/{p-8b951f8a.system.entry.js → p-9471d511.system.entry.js} +1 -1
- package/dist/ionic/{p-677a233c.system.entry.js → p-957f3028.system.entry.js} +1 -1
- package/dist/ionic/{p-41477ad9.system.js → p-958f1c70.system.js} +1 -1
- package/dist/ionic/{p-a843f88e.entry.js → p-9939c98e.entry.js} +1 -1
- package/dist/ionic/{p-a99f55ed.system.entry.js → p-9b34caa0.system.entry.js} +1 -1
- package/dist/ionic/{p-1589d649.system.entry.js → p-a03566c4.system.entry.js} +1 -1
- package/dist/ionic/{p-419eb426.js → p-a135e3ba.js} +1 -1
- package/dist/ionic/p-a6b819ca.entry.js +4 -0
- package/dist/ionic/{p-a3545dad.entry.js → p-a9424586.entry.js} +1 -1
- package/dist/ionic/{p-8704e922.system.entry.js → p-ab1908ba.system.entry.js} +1 -1
- package/dist/ionic/{p-940a581d.system.js → p-abaa9b48.system.js} +1 -1
- package/dist/ionic/{p-ab4cff27.system.js → p-aec8a70a.system.js} +1 -1
- package/dist/ionic/{p-16b94c87.system.entry.js → p-bc48e521.system.entry.js} +1 -1
- package/dist/ionic/p-c2db1374.system.js +4 -0
- package/dist/ionic/p-c3547c7a.system.js +4 -0
- package/dist/ionic/p-ca5cf574.js +4 -0
- package/dist/ionic/{p-084413f2.system.entry.js → p-cb6c380e.system.entry.js} +1 -1
- package/dist/ionic/{p-82c503f7.entry.js → p-ce20c101.entry.js} +1 -1
- package/dist/ionic/p-d075c0aa.system.entry.js +4 -0
- package/dist/ionic/{p-f87219d2.js → p-df18d20d.js} +1 -1
- package/dist/ionic/p-e3b7a2d0.system.entry.js +4 -0
- package/dist/ionic/{p-80baef4f.entry.js → p-e525dbea.entry.js} +1 -1
- package/dist/ionic/{p-3bad5c1a.js → p-e5fd9f10.js} +1 -1
- package/dist/ionic/{p-ccdcb022.system.js → p-e7d20dfb.system.js} +1 -1
- package/dist/ionic/p-e9fe3c8b.system.entry.js +4 -0
- package/dist/ionic/p-ea1650b0.entry.js +4 -0
- package/dist/ionic/{p-e96da585.system.entry.js → p-ed8a02a2.system.entry.js} +1 -1
- package/dist/ionic/{p-a2200630.js → p-edd568c5.js} +1 -1
- package/dist/ionic/p-f2d4e3c8.entry.js +4 -0
- package/dist/ionic/p-f7769c83.js +4 -0
- package/dist/ionic/{p-bba2ce59.system.js → p-f9a641fa.system.js} +1 -1
- package/dist/ionic/p-fa67d712.entry.js +4 -0
- package/dist/types/components/router/router.d.ts +2 -1
- package/dist/types/components/skeleton-text/skeleton-text.d.ts +9 -1
- package/dist/types/components/toast/animations/utils.d.ts +15 -4
- package/dist/types/components/toast/gestures/swipe-to-dismiss.d.ts +9 -0
- package/dist/types/components/toast/toast-interface.d.ts +1 -0
- package/dist/types/components/toast/toast.d.ts +28 -1
- package/dist/types/components.d.ts +25 -2
- package/dist/types/interface.d.ts +1 -5
- package/dist/types/utils/animation/animation-interface.d.ts +4 -4
- package/dist/types/utils/browser/index.d.ts +11 -2
- package/dist/types/utils/hardware-back-button.d.ts +4 -0
- package/dist/types/utils/overlays.d.ts +1 -0
- package/hydrate/index.js +494 -145
- package/package.json +4 -2
- package/dist/cjs/index-306a7476.js +0 -32
- package/dist/collection/components/item/test/text/item.e2e.js +0 -14
- package/dist/esm/index-7a14ecec.js +0 -29
- package/dist/esm-es5/index-056b43e7.js +0 -4
- package/dist/esm-es5/index-f0cc4e14.js +0 -4
- package/dist/esm-es5/input-shims-d0c93e5d.js +0 -4
- package/dist/esm-es5/input.utils-ec063df4.js +0 -4
- package/dist/ionic/p-0816f061.entry.js +0 -4
- package/dist/ionic/p-28acf48d.system.entry.js +0 -4
- package/dist/ionic/p-2e8e0045.js +0 -4
- package/dist/ionic/p-3602001b.system.js +0 -4
- package/dist/ionic/p-3a9f1ddc.entry.js +0 -4
- package/dist/ionic/p-49cfa5b2.entry.js +0 -4
- package/dist/ionic/p-4c75aded.entry.js +0 -4
- package/dist/ionic/p-4eb8645b.system.entry.js +0 -4
- package/dist/ionic/p-5370e786.js +0 -4
- package/dist/ionic/p-5f4c4347.system.entry.js +0 -4
- package/dist/ionic/p-5feb31c6.entry.js +0 -4
- package/dist/ionic/p-67eecef4.system.js +0 -4
- package/dist/ionic/p-7a3766ec.entry.js +0 -4
- package/dist/ionic/p-82c17a8e.system.entry.js +0 -4
- package/dist/ionic/p-852b83c7.entry.js +0 -4
- package/dist/ionic/p-92b8533f.entry.js +0 -4
- package/dist/ionic/p-97c65aa5.js +0 -4
- package/dist/ionic/p-9ab6f3e6.system.js +0 -4
- package/dist/ionic/p-a8e2b2b0.js +0 -4
- package/dist/ionic/p-b1075d53.system.js +0 -4
- package/dist/ionic/p-b6be9a42.system.js +0 -4
- package/dist/ionic/p-c1db8914.system.js +0 -4
- package/dist/ionic/p-c3278d57.js +0 -4
- package/dist/ionic/p-c6e9ffd6.js +0 -4
- package/dist/ionic/p-cbbefe72.system.entry.js +0 -4
- package/dist/ionic/p-cc196b34.js +0 -4
- package/dist/ionic/p-d1de1188.js +0 -4
- package/dist/ionic/p-df9d7fe1.entry.js +0 -4
- package/dist/ionic/p-eb5283b6.entry.js +0 -4
- package/dist/ionic/p-f76c3181.entry.js +0 -4
- package/dist/ionic/p-ff5a10f9.system.js +0 -4
- /package/dist/esm-es5/{index-7a14ecec.js → index-a5d50daf.js} +0 -0
- /package/dist/ionic/{p-0e94957a.system.js → p-792919fd.system.js} +0 -0
- /package/dist/ionic/{p-b347cfd1.js → p-7b30edcc.js} +0 -0
|
@@ -2,7 +2,7 @@ import type { ComponentInterface, EventEmitter } from '../../stencil-public-runt
|
|
|
2
2
|
import type { AnimationBuilder, Color, OverlayInterface, FrameworkDelegate } from '../../interface';
|
|
3
3
|
import type { OverlayEventDetail } from '../../utils/overlays-interface';
|
|
4
4
|
import type { IonicSafeString } from '../../utils/sanitization';
|
|
5
|
-
import type { ToastButton, ToastPosition, ToastLayout } from './toast-interface';
|
|
5
|
+
import type { ToastButton, ToastPosition, ToastLayout, ToastSwipeGestureDirection } from './toast-interface';
|
|
6
6
|
/**
|
|
7
7
|
* @virtualProp {"ios" | "md"} mode - The mode determines which platform styles to use.
|
|
8
8
|
*
|
|
@@ -19,6 +19,7 @@ export declare class Toast implements ComponentInterface, OverlayInterface {
|
|
|
19
19
|
private readonly triggerController;
|
|
20
20
|
private customHTMLEnabled;
|
|
21
21
|
private durationTimeout?;
|
|
22
|
+
private gesture?;
|
|
22
23
|
/**
|
|
23
24
|
* Holds the position of the toast calculated in the present
|
|
24
25
|
* animation, to be passed along to the dismiss animation so
|
|
@@ -126,6 +127,16 @@ export declare class Toast implements ComponentInterface, OverlayInterface {
|
|
|
126
127
|
htmlAttributes?: {
|
|
127
128
|
[key: string]: any;
|
|
128
129
|
};
|
|
130
|
+
/**
|
|
131
|
+
* If set to 'vertical', the Toast can be dismissed with
|
|
132
|
+
* a swipe gesture. The swipe direction is determined by
|
|
133
|
+
* the value of the `position` property:
|
|
134
|
+
* `top`: The Toast can be swiped up to dismiss.
|
|
135
|
+
* `bottom`: The Toast can be swiped down to dismiss.
|
|
136
|
+
* `middle`: The Toast can be swiped up or down to dismiss.
|
|
137
|
+
*/
|
|
138
|
+
swipeGesture?: ToastSwipeGestureDirection;
|
|
139
|
+
swipeGestureChanged(): void;
|
|
129
140
|
/**
|
|
130
141
|
* If `true`, the toast will open. If `false`, the toast will close.
|
|
131
142
|
* Use this if you need finer grained control over presentation, otherwise
|
|
@@ -213,6 +224,22 @@ export declare class Toast implements ComponentInterface, OverlayInterface {
|
|
|
213
224
|
private buttonClick;
|
|
214
225
|
private callButtonHandler;
|
|
215
226
|
private dispatchCancelHandler;
|
|
227
|
+
/**
|
|
228
|
+
* Create a new swipe gesture so Toast
|
|
229
|
+
* can be swiped to dismiss.
|
|
230
|
+
*/
|
|
231
|
+
private createSwipeGesture;
|
|
232
|
+
/**
|
|
233
|
+
* Destroy an existing swipe gesture
|
|
234
|
+
* so Toast can no longer be swiped to dismiss.
|
|
235
|
+
*/
|
|
236
|
+
private destroySwipeGesture;
|
|
237
|
+
/**
|
|
238
|
+
* Returns `true` if swipeGesture
|
|
239
|
+
* is configured to a value that enables the swipe behavior.
|
|
240
|
+
* Returns `false` otherwise.
|
|
241
|
+
*/
|
|
242
|
+
private prefersSwipeGesture;
|
|
216
243
|
renderButtons(buttons: ToastButton[], side: 'start' | 'end'): any;
|
|
217
244
|
/**
|
|
218
245
|
* Render the `message` property.
|
|
@@ -39,7 +39,7 @@ import { SelectChangeEventDetail, SelectCompareFn, SelectInterface } from "./com
|
|
|
39
39
|
import { SelectPopoverOption } from "./components/select-popover/select-popover-interface";
|
|
40
40
|
import { TabBarChangedEventDetail, TabButtonClickEventDetail, TabButtonLayout } from "./components/tab-bar/tab-bar-interface";
|
|
41
41
|
import { TextareaChangeEventDetail, TextareaInputEventDetail } from "./components/textarea/textarea-interface";
|
|
42
|
-
import { ToastButton, ToastDismissOptions, ToastLayout, ToastPosition, ToastPresentOptions } from "./components/toast/toast-interface";
|
|
42
|
+
import { ToastButton, ToastDismissOptions, ToastLayout, ToastPosition, ToastPresentOptions, ToastSwipeGestureDirection } from "./components/toast/toast-interface";
|
|
43
43
|
import { ToggleChangeEventDetail } from "./components/toggle/toggle-interface";
|
|
44
44
|
export { AccordionGroupChangeEventDetail } from "./components/accordion-group/accordion-group-interface";
|
|
45
45
|
export { AnimationBuilder, AutocompleteTypes, Color, ComponentProps, ComponentRef, FrameworkDelegate, StyleEventDetail, TextFieldTypes } from "./interface";
|
|
@@ -75,7 +75,7 @@ export { SelectChangeEventDetail, SelectCompareFn, SelectInterface } from "./com
|
|
|
75
75
|
export { SelectPopoverOption } from "./components/select-popover/select-popover-interface";
|
|
76
76
|
export { TabBarChangedEventDetail, TabButtonClickEventDetail, TabButtonLayout } from "./components/tab-bar/tab-bar-interface";
|
|
77
77
|
export { TextareaChangeEventDetail, TextareaInputEventDetail } from "./components/textarea/textarea-interface";
|
|
78
|
-
export { ToastButton, ToastDismissOptions, ToastLayout, ToastPosition, ToastPresentOptions } from "./components/toast/toast-interface";
|
|
78
|
+
export { ToastButton, ToastDismissOptions, ToastLayout, ToastPosition, ToastPresentOptions, ToastSwipeGestureDirection } from "./components/toast/toast-interface";
|
|
79
79
|
export { ToggleChangeEventDetail } from "./components/toggle/toggle-interface";
|
|
80
80
|
export namespace Components {
|
|
81
81
|
interface IonAccordion {
|
|
@@ -3168,6 +3168,10 @@ export namespace Components {
|
|
|
3168
3168
|
* Present the toast overlay after it has been created.
|
|
3169
3169
|
*/
|
|
3170
3170
|
"present": () => Promise<void>;
|
|
3171
|
+
/**
|
|
3172
|
+
* If set to 'vertical', the Toast can be dismissed with a swipe gesture. The swipe direction is determined by the value of the `position` property: `top`: The Toast can be swiped up to dismiss. `bottom`: The Toast can be swiped down to dismiss. `middle`: The Toast can be swiped up or down to dismiss.
|
|
3173
|
+
*/
|
|
3174
|
+
"swipeGesture"?: ToastSwipeGestureDirection;
|
|
3171
3175
|
/**
|
|
3172
3176
|
* If `true`, the toast will be translucent. Only applies when the mode is `"ios"` and the device supports [`backdrop-filter`](https://developer.mozilla.org/en-US/docs/Web/CSS/backdrop-filter#Browser_compatibility).
|
|
3173
3177
|
*/
|
|
@@ -3386,6 +3390,10 @@ export interface IonSelectCustomEvent<T> extends CustomEvent<T> {
|
|
|
3386
3390
|
detail: T;
|
|
3387
3391
|
target: HTMLIonSelectElement;
|
|
3388
3392
|
}
|
|
3393
|
+
export interface IonSkeletonTextCustomEvent<T> extends CustomEvent<T> {
|
|
3394
|
+
detail: T;
|
|
3395
|
+
target: HTMLIonSkeletonTextElement;
|
|
3396
|
+
}
|
|
3389
3397
|
export interface IonSplitPaneCustomEvent<T> extends CustomEvent<T> {
|
|
3390
3398
|
detail: T;
|
|
3391
3399
|
target: HTMLIonSplitPaneElement;
|
|
@@ -4400,7 +4408,18 @@ declare global {
|
|
|
4400
4408
|
prototype: HTMLIonSelectPopoverElement;
|
|
4401
4409
|
new (): HTMLIonSelectPopoverElement;
|
|
4402
4410
|
};
|
|
4411
|
+
interface HTMLIonSkeletonTextElementEventMap {
|
|
4412
|
+
"ionStyle": StyleEventDetail;
|
|
4413
|
+
}
|
|
4403
4414
|
interface HTMLIonSkeletonTextElement extends Components.IonSkeletonText, HTMLStencilElement {
|
|
4415
|
+
addEventListener<K extends keyof HTMLIonSkeletonTextElementEventMap>(type: K, listener: (this: HTMLIonSkeletonTextElement, ev: IonSkeletonTextCustomEvent<HTMLIonSkeletonTextElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
4416
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
4417
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
4418
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
4419
|
+
removeEventListener<K extends keyof HTMLIonSkeletonTextElementEventMap>(type: K, listener: (this: HTMLIonSkeletonTextElement, ev: IonSkeletonTextCustomEvent<HTMLIonSkeletonTextElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
4420
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
4421
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
4422
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
4404
4423
|
}
|
|
4405
4424
|
var HTMLIonSkeletonTextElement: {
|
|
4406
4425
|
prototype: HTMLIonSkeletonTextElement;
|
|
@@ -7787,6 +7806,10 @@ declare namespace LocalJSX {
|
|
|
7787
7806
|
* The element to anchor the toast's position to. Can be set as a direct reference or the ID of the element. With `position="bottom"`, the toast will sit above the chosen element. With `position="top"`, the toast will sit below the chosen element. With `position="middle"`, the value of `positionAnchor` is ignored.
|
|
7788
7807
|
*/
|
|
7789
7808
|
"positionAnchor"?: HTMLElement | string;
|
|
7809
|
+
/**
|
|
7810
|
+
* If set to 'vertical', the Toast can be dismissed with a swipe gesture. The swipe direction is determined by the value of the `position` property: `top`: The Toast can be swiped up to dismiss. `bottom`: The Toast can be swiped down to dismiss. `middle`: The Toast can be swiped up or down to dismiss.
|
|
7811
|
+
*/
|
|
7812
|
+
"swipeGesture"?: ToastSwipeGestureDirection;
|
|
7790
7813
|
/**
|
|
7791
7814
|
* If `true`, the toast will be translucent. Only applies when the mode is `"ios"` and the device supports [`backdrop-filter`](https://developer.mozilla.org/en-US/docs/Web/CSS/backdrop-filter#Browser_compatibility).
|
|
7792
7815
|
*/
|
|
@@ -32,6 +32,7 @@ export { TabsCustomEvent } from './components/tabs/tabs-interface';
|
|
|
32
32
|
export { TextareaCustomEvent } from './components/textarea/textarea-interface';
|
|
33
33
|
export { ToastOptions } from './components/toast/toast-interface';
|
|
34
34
|
export { ToggleCustomEvent } from './components/toggle/toggle-interface';
|
|
35
|
+
export { BackButtonEvent, BackButtonEventDetail } from './utils/hardware-back-button';
|
|
35
36
|
|
|
36
37
|
// Types from utils
|
|
37
38
|
export {
|
|
@@ -140,17 +141,12 @@ export type ComponentRef = Function | HTMLElement | string | null;
|
|
|
140
141
|
// eslint-disable-next-line
|
|
141
142
|
export type ComponentProps<T = null> = { [key: string]: any };
|
|
142
143
|
export type CssClassMap = { [className: string]: boolean };
|
|
143
|
-
export type BackButtonEvent = CustomEvent<BackButtonEventDetail>;
|
|
144
144
|
|
|
145
145
|
export interface FrameworkDelegate {
|
|
146
146
|
attachViewToDom(container: any, component: any, propsOrDataObj?: any, cssClasses?: string[]): Promise<HTMLElement>;
|
|
147
147
|
removeViewFromDom(container: any, component: any): Promise<void>;
|
|
148
148
|
}
|
|
149
149
|
|
|
150
|
-
export interface BackButtonEventDetail {
|
|
151
|
-
register(priority: number, handler: (processNextHandler: () => void) => Promise<any> | void): void;
|
|
152
|
-
}
|
|
153
|
-
|
|
154
150
|
export interface KeyboardEventDetail {
|
|
155
151
|
keyboardHeight: number;
|
|
156
152
|
}
|
|
@@ -27,9 +27,9 @@ export interface Animation {
|
|
|
27
27
|
progressStart(forceLinearEasing?: boolean, step?: number): Animation;
|
|
28
28
|
progressStep(step: number): Animation;
|
|
29
29
|
progressEnd(playTo: 0 | 1 | undefined, step: number, dur?: number): Animation;
|
|
30
|
-
from(property: string, value:
|
|
31
|
-
to(property: string, value:
|
|
32
|
-
fromTo(property: string, fromValue:
|
|
30
|
+
from(property: string, value: string | number): Animation;
|
|
31
|
+
to(property: string, value: string | number): Animation;
|
|
32
|
+
fromTo(property: string, fromValue: string | number, toValue: string | number): Animation;
|
|
33
33
|
/**
|
|
34
34
|
* Set the keyframes for the animation.
|
|
35
35
|
*/
|
|
@@ -106,7 +106,7 @@ export interface Animation {
|
|
|
106
106
|
* browsers that do not support
|
|
107
107
|
* the Web Animations API.
|
|
108
108
|
*/
|
|
109
|
-
getWebAnimations():
|
|
109
|
+
getWebAnimations(): globalThis.Animation[];
|
|
110
110
|
/**
|
|
111
111
|
* Add a function that performs a
|
|
112
112
|
* DOM read to be run after the
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { BackButtonEvent } from "../hardware-back-button";
|
|
1
2
|
/**
|
|
2
3
|
* When accessing the document or window, it is important
|
|
3
4
|
* to account for SSR applications where the
|
|
@@ -26,14 +27,22 @@
|
|
|
26
27
|
* on the window for certain CustomEvent types you can add that definition
|
|
27
28
|
* here as long as you are using the "win" utility below.
|
|
28
29
|
*/
|
|
29
|
-
type
|
|
30
|
+
type IonicEvents = {
|
|
30
31
|
addEventListener(type: 'ionKeyboardDidShow', listener: (ev: CustomEvent<{
|
|
31
32
|
keyboardHeight: number;
|
|
32
33
|
}>) => void, options?: boolean | AddEventListenerOptions): void;
|
|
33
34
|
removeEventListener(type: 'ionKeyboardDidShow', listener: (ev: CustomEvent<{
|
|
34
35
|
keyboardHeight: number;
|
|
35
36
|
}>) => void, options?: boolean | AddEventListenerOptions): void;
|
|
37
|
+
addEventListener(type: 'ionInputDidLoad', listener: (ev: CustomEvent<HTMLIonInputElement | HTMLIonTextareaElement>) => void, options?: boolean | AddEventListenerOptions): void;
|
|
38
|
+
removeEventListener(type: 'ionInputDidLoad', listener: (ev: CustomEvent<HTMLIonInputElement | HTMLIonTextareaElement>) => void, options?: boolean | AddEventListenerOptions): void;
|
|
39
|
+
addEventListener(type: 'ionInputDidUnload', listener: (ev: CustomEvent<HTMLIonInputElement | HTMLIonTextareaElement>) => void, options?: boolean | AddEventListenerOptions): void;
|
|
40
|
+
removeEventListener(type: 'ionInputDidUnload', listener: (ev: CustomEvent<HTMLIonInputElement | HTMLIonTextareaElement>) => void, options?: boolean | AddEventListenerOptions): void;
|
|
41
|
+
addEventListener(type: 'ionBackButton', listener: (ev: BackButtonEvent) => void, options?: boolean | AddEventListenerOptions): void;
|
|
42
|
+
removeEventListener(type: 'ionBackButton', listener: (ev: BackButtonEvent) => void, options?: boolean | AddEventListenerOptions): void;
|
|
36
43
|
};
|
|
44
|
+
type IonicWindow = Window & IonicEvents;
|
|
45
|
+
type IonicDocument = Document & IonicEvents;
|
|
37
46
|
export declare const win: IonicWindow | undefined;
|
|
38
|
-
export declare const doc:
|
|
47
|
+
export declare const doc: IonicDocument | undefined;
|
|
39
48
|
export {};
|
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
export interface BackButtonEventDetail {
|
|
2
|
+
register(priority: number, handler: (processNextHandler: () => void) => Promise<any> | void): void;
|
|
3
|
+
}
|
|
4
|
+
export type BackButtonEvent = CustomEvent<BackButtonEventDetail>;
|
|
1
5
|
/**
|
|
2
6
|
* When hardwareBackButton: false in config,
|
|
3
7
|
* we need to make sure we also block the default
|
|
@@ -99,6 +99,7 @@ export declare const isCancel: (role: string | undefined) => boolean;
|
|
|
99
99
|
export declare const safeCall: (handler: any, arg?: any) => any;
|
|
100
100
|
export declare const BACKDROP = "backdrop";
|
|
101
101
|
export declare const GESTURE = "gesture";
|
|
102
|
+
export declare const OVERLAY_GESTURE_PRIORITY = 39;
|
|
102
103
|
/**
|
|
103
104
|
* Creates a delegate controller.
|
|
104
105
|
*
|