voyager-ionic-core 7.7.2 → 7.7.3
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/helpers.js +2 -2
- package/components/ion-select.js +3 -3
- package/components/label.js +2 -2
- package/components/overlays.js +66 -20
- package/dist/cjs/{animation-fdab9de5.js → animation-c2840aea.js} +1 -1
- package/dist/cjs/{form-controller-7b90d7b7.js → form-controller-c83330c0.js} +1 -1
- package/dist/cjs/{framework-delegate-a3e6d060.js → framework-delegate-e0e13baa.js} +1 -1
- package/dist/cjs/{helpers-2e1028fa.js → helpers-da4c0ed1.js} +2 -2
- package/dist/cjs/{index-a43f7a0f.js → index-4c96691f.js} +2 -2
- package/dist/cjs/{index-10da82ce.js → index-62290fec.js} +1 -1
- package/dist/cjs/{index-c3580a90.js → index-9bfcb6e8.js} +3 -3
- package/dist/cjs/{index-53d162b2.js → index-bef98850.js} +1 -1
- package/dist/cjs/index.cjs.js +8 -8
- package/dist/cjs/{input-shims-6f804705.js → input-shims-a9a85bb9.js} +2 -2
- package/dist/cjs/{input.utils-d693d18a.js → input.utils-d7dca90f.js} +1 -1
- package/dist/cjs/ion-accordion_2.cjs.entry.js +1 -1
- package/dist/cjs/ion-action-sheet.cjs.entry.js +4 -4
- package/dist/cjs/ion-alert.cjs.entry.js +4 -4
- package/dist/cjs/ion-app_8.cjs.entry.js +8 -8
- package/dist/cjs/ion-back-button.cjs.entry.js +1 -1
- package/dist/cjs/ion-breadcrumb_2.cjs.entry.js +1 -1
- package/dist/cjs/ion-button_2.cjs.entry.js +1 -1
- package/dist/cjs/ion-card_5.cjs.entry.js +1 -1
- package/dist/cjs/ion-checkbox.cjs.entry.js +2 -2
- package/dist/cjs/ion-datetime-button.cjs.entry.js +1 -1
- package/dist/cjs/ion-datetime_3.cjs.entry.js +4 -4
- package/dist/cjs/ion-fab_3.cjs.entry.js +1 -1
- package/dist/cjs/ion-img.cjs.entry.js +1 -1
- package/dist/cjs/ion-infinite-scroll_2.cjs.entry.js +2 -2
- package/dist/cjs/ion-input.cjs.entry.js +4 -4
- package/dist/cjs/ion-item-option_3.cjs.entry.js +2 -2
- package/dist/cjs/ion-item_8.cjs.entry.js +3 -3
- package/dist/cjs/ion-loading.cjs.entry.js +4 -4
- package/dist/cjs/ion-menu_3.cjs.entry.js +5 -5
- package/dist/cjs/ion-modal.cjs.entry.js +6 -6
- package/dist/cjs/ion-nav_2.cjs.entry.js +4 -4
- package/dist/cjs/ion-picker-column-internal.cjs.entry.js +1 -1
- package/dist/cjs/ion-picker-internal.cjs.entry.js +1 -1
- package/dist/cjs/ion-popover.cjs.entry.js +5 -5
- package/dist/cjs/ion-progress-bar.cjs.entry.js +1 -1
- package/dist/cjs/ion-radio_2.cjs.entry.js +2 -2
- package/dist/cjs/ion-range.cjs.entry.js +3 -3
- package/dist/cjs/ion-refresher_2.cjs.entry.js +3 -3
- package/dist/cjs/ion-reorder_2.cjs.entry.js +2 -2
- package/dist/cjs/ion-route_4.cjs.entry.js +1 -1
- package/dist/cjs/ion-searchbar.cjs.entry.js +1 -1
- package/dist/cjs/ion-segment_2.cjs.entry.js +1 -1
- package/dist/cjs/ion-select_3.cjs.entry.js +7 -7
- package/dist/cjs/ion-tab-bar_2.cjs.entry.js +1 -1
- package/dist/cjs/ion-tab_2.cjs.entry.js +2 -2
- package/dist/cjs/ion-textarea.cjs.entry.js +4 -4
- package/dist/cjs/ion-toast.cjs.entry.js +4 -4
- package/dist/cjs/ion-toggle.cjs.entry.js +2 -2
- package/dist/cjs/{ios.transition-c3b11cc3.js → ios.transition-96679580.js} +3 -3
- package/dist/cjs/{md.transition-82a8c649.js → md.transition-d6c98822.js} +3 -3
- package/dist/cjs/{notch-controller-db0127c4.js → notch-controller-bfbcbb7a.js} +1 -1
- package/dist/cjs/{overlays-fb7ca451.js → overlays-db5d96f3.js} +67 -21
- package/dist/cjs/{status-tap-692f6d32.js → status-tap-7ad5f0fb.js} +2 -2
- package/dist/cjs/{swipe-back-7a848bb8.js → swipe-back-dcd0d4a9.js} +1 -1
- package/dist/collection/components/label/label.ios.css +0 -4
- package/dist/collection/components/label/label.md.css +0 -4
- package/dist/collection/components/label/test/item/item.e2e.js +24 -0
- package/dist/collection/components/select/select.js +3 -3
- package/dist/collection/utils/helpers.js +1 -1
- package/dist/collection/utils/overlays.js +66 -20
- package/dist/collection/utils/test/overlays/overlays.e2e.js +89 -0
- package/dist/docs.json +1 -1
- package/dist/esm/{animation-60dbdd13.js → animation-6a0c5338.js} +1 -1
- package/dist/esm/{form-controller-014aa89f.js → form-controller-21dd62b1.js} +1 -1
- package/dist/esm/{framework-delegate-fed7fe7c.js → framework-delegate-ed4ba327.js} +1 -1
- package/dist/esm/{helpers-c0b9ca37.js → helpers-be245865.js} +2 -2
- package/dist/esm/{index-d64f34ea.js → index-020f5464.js} +1 -1
- package/dist/esm/{index-0b4beb69.js → index-348ed70a.js} +3 -3
- package/dist/esm/{index-47b2066d.js → index-e1b622e3.js} +2 -2
- package/dist/esm/{index-eb12ef92.js → index-f3946ac1.js} +1 -1
- package/dist/esm/index.js +8 -8
- package/dist/esm/{input-shims-b90ca55f.js → input-shims-5329bbe8.js} +2 -2
- package/dist/esm/{input.utils-6e9b0046.js → input.utils-a445f677.js} +1 -1
- package/dist/esm/ion-accordion_2.entry.js +1 -1
- package/dist/esm/ion-action-sheet.entry.js +4 -4
- package/dist/esm/ion-alert.entry.js +4 -4
- package/dist/esm/ion-app_8.entry.js +8 -8
- package/dist/esm/ion-back-button.entry.js +1 -1
- package/dist/esm/ion-breadcrumb_2.entry.js +1 -1
- package/dist/esm/ion-button_2.entry.js +1 -1
- package/dist/esm/ion-card_5.entry.js +1 -1
- package/dist/esm/ion-checkbox.entry.js +2 -2
- package/dist/esm/ion-datetime-button.entry.js +1 -1
- package/dist/esm/ion-datetime_3.entry.js +4 -4
- package/dist/esm/ion-fab_3.entry.js +1 -1
- package/dist/esm/ion-img.entry.js +1 -1
- package/dist/esm/ion-infinite-scroll_2.entry.js +2 -2
- package/dist/esm/ion-input.entry.js +4 -4
- package/dist/esm/ion-item-option_3.entry.js +2 -2
- package/dist/esm/ion-item_8.entry.js +3 -3
- package/dist/esm/ion-loading.entry.js +4 -4
- package/dist/esm/ion-menu_3.entry.js +5 -5
- package/dist/esm/ion-modal.entry.js +6 -6
- package/dist/esm/ion-nav_2.entry.js +4 -4
- package/dist/esm/ion-picker-column-internal.entry.js +1 -1
- package/dist/esm/ion-picker-internal.entry.js +1 -1
- package/dist/esm/ion-popover.entry.js +5 -5
- package/dist/esm/ion-progress-bar.entry.js +1 -1
- package/dist/esm/ion-radio_2.entry.js +2 -2
- 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 +2 -2
- package/dist/esm/ion-route_4.entry.js +1 -1
- package/dist/esm/ion-searchbar.entry.js +1 -1
- package/dist/esm/ion-segment_2.entry.js +1 -1
- package/dist/esm/ion-select_3.entry.js +7 -7
- package/dist/esm/ion-tab-bar_2.entry.js +1 -1
- package/dist/esm/ion-tab_2.entry.js +2 -2
- package/dist/esm/ion-textarea.entry.js +4 -4
- package/dist/esm/ion-toast.entry.js +4 -4
- package/dist/esm/ion-toggle.entry.js +2 -2
- package/dist/esm/{ios.transition-b76c7020.js → ios.transition-7459f819.js} +3 -3
- package/dist/esm/{md.transition-564937a7.js → md.transition-b8224313.js} +3 -3
- package/dist/esm/{notch-controller-15d281a4.js → notch-controller-6bd3e0f9.js} +1 -1
- package/dist/esm/{overlays-04a9a43f.js → overlays-19b26885.js} +67 -21
- package/dist/esm/{status-tap-5a95077d.js → status-tap-b41ece3c.js} +2 -2
- package/dist/esm/{swipe-back-fa0ec5cd.js → swipe-back-c6d0e5d9.js} +1 -1
- package/dist/esm-es5/{animation-60dbdd13.js → animation-6a0c5338.js} +1 -1
- package/dist/esm-es5/{form-controller-014aa89f.js → form-controller-21dd62b1.js} +1 -1
- package/dist/esm-es5/{framework-delegate-fed7fe7c.js → framework-delegate-ed4ba327.js} +1 -1
- package/dist/esm-es5/helpers-be245865.js +4 -0
- package/dist/esm-es5/index-020f5464.js +4 -0
- package/dist/esm-es5/{index-0b4beb69.js → index-348ed70a.js} +1 -1
- package/dist/esm-es5/{index-47b2066d.js → index-e1b622e3.js} +1 -1
- package/dist/esm-es5/{index-eb12ef92.js → index-f3946ac1.js} +1 -1
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/{input-shims-b90ca55f.js → input-shims-5329bbe8.js} +1 -1
- package/dist/esm-es5/{input.utils-6e9b0046.js → input.utils-a445f677.js} +1 -1
- package/dist/esm-es5/ion-accordion_2.entry.js +1 -1
- 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-back-button.entry.js +1 -1
- package/dist/esm-es5/ion-breadcrumb_2.entry.js +1 -1
- package/dist/esm-es5/ion-button_2.entry.js +1 -1
- package/dist/esm-es5/ion-card_5.entry.js +1 -1
- package/dist/esm-es5/ion-checkbox.entry.js +1 -1
- package/dist/esm-es5/ion-datetime-button.entry.js +1 -1
- package/dist/esm-es5/ion-datetime_3.entry.js +1 -1
- package/dist/esm-es5/ion-fab_3.entry.js +1 -1
- package/dist/esm-es5/ion-img.entry.js +1 -1
- package/dist/esm-es5/ion-infinite-scroll_2.entry.js +1 -1
- package/dist/esm-es5/ion-input.entry.js +1 -1
- package/dist/esm-es5/ion-item-option_3.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-picker-internal.entry.js +1 -1
- package/dist/esm-es5/ion-popover.entry.js +1 -1
- package/dist/esm-es5/ion-progress-bar.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-route_4.entry.js +1 -1
- package/dist/esm-es5/ion-searchbar.entry.js +1 -1
- package/dist/esm-es5/ion-segment_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-tab_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/{ios.transition-b76c7020.js → ios.transition-7459f819.js} +1 -1
- package/dist/esm-es5/md.transition-b8224313.js +4 -0
- package/dist/esm-es5/{notch-controller-15d281a4.js → notch-controller-6bd3e0f9.js} +1 -1
- package/dist/esm-es5/overlays-19b26885.js +4 -0
- package/dist/esm-es5/{status-tap-5a95077d.js → status-tap-b41ece3c.js} +1 -1
- package/dist/esm-es5/{swipe-back-fa0ec5cd.js → swipe-back-c6d0e5d9.js} +1 -1
- package/dist/ionic/index.esm.js +1 -1
- package/dist/ionic/ionic.esm.js +1 -1
- package/dist/ionic/{p-bd4787eb.entry.js → p-021f9d72.entry.js} +1 -1
- package/dist/ionic/{p-f53d074d.system.entry.js → p-02542247.system.entry.js} +1 -1
- package/dist/ionic/p-02ad4bbe.js +4 -0
- package/dist/ionic/{p-30cd5e7b.js → p-05253db9.js} +1 -1
- package/dist/ionic/{p-64db1331.entry.js → p-079da3df.entry.js} +1 -1
- package/dist/ionic/p-0b34d3a7.system.js +1 -1
- package/dist/ionic/{p-396083cc.entry.js → p-12527c4b.entry.js} +1 -1
- package/dist/ionic/{p-2e14c533.system.js → p-125f8cdd.system.js} +1 -1
- package/dist/ionic/{p-b253ad7f.js → p-12a8643e.js} +1 -1
- package/dist/ionic/{p-c39cc96d.system.entry.js → p-15a40a0b.system.entry.js} +1 -1
- package/dist/ionic/p-1846513c.js +4 -0
- package/dist/ionic/{p-afd6d696.system.entry.js → p-18918a24.system.entry.js} +1 -1
- package/dist/ionic/{p-027f3674.entry.js → p-1a680496.entry.js} +1 -1
- package/dist/ionic/{p-b8c685a7.system.js → p-1bc9b5f5.system.js} +1 -1
- package/dist/ionic/{p-b0ff8075.entry.js → p-2178329b.entry.js} +1 -1
- package/dist/ionic/p-257046d2.system.js +4 -0
- package/dist/ionic/{p-5b40d967.entry.js → p-262024fd.entry.js} +1 -1
- package/dist/ionic/{p-5928fac9.system.entry.js → p-2765a571.system.entry.js} +1 -1
- package/dist/ionic/{p-f0194418.system.entry.js → p-288649db.system.entry.js} +1 -1
- package/dist/ionic/{p-94be3ad7.js → p-2c118b1e.js} +1 -1
- package/dist/ionic/{p-275705e5.entry.js → p-2c4bfe1c.entry.js} +1 -1
- package/dist/ionic/{p-74deb358.system.js → p-2c86025e.system.js} +1 -1
- package/dist/ionic/{p-1131946f.system.entry.js → p-2ea71956.system.entry.js} +1 -1
- package/dist/ionic/{p-05d560ec.entry.js → p-2fd3c3dd.entry.js} +1 -1
- package/dist/ionic/p-36be3332.js +4 -0
- package/dist/ionic/{p-3471a7c0.system.entry.js → p-437f4d02.system.entry.js} +1 -1
- package/dist/ionic/{p-c858f685.js → p-46bcc2f5.js} +1 -1
- package/dist/ionic/{p-508a4c87.entry.js → p-4788693d.entry.js} +1 -1
- package/dist/ionic/{p-cd9a7017.system.entry.js → p-479f5926.system.entry.js} +1 -1
- package/dist/ionic/{p-2e1f014a.system.entry.js → p-482ea916.system.entry.js} +1 -1
- package/dist/ionic/{p-edcada2b.system.entry.js → p-49f481cc.system.entry.js} +1 -1
- package/dist/ionic/{p-8794fa00.system.entry.js → p-4b8a620f.system.entry.js} +1 -1
- package/dist/ionic/{p-2327064c.entry.js → p-521b3971.entry.js} +1 -1
- package/dist/ionic/{p-31c495c2.js → p-56ee6d9a.js} +1 -1
- package/dist/ionic/{p-a022b684.system.entry.js → p-5de920f4.system.entry.js} +1 -1
- package/dist/ionic/{p-6871553b.system.js → p-62b7320a.system.js} +1 -1
- package/dist/ionic/{p-64856c3c.system.entry.js → p-644d03d7.system.entry.js} +1 -1
- package/dist/ionic/p-6812d37d.js +4 -0
- package/dist/ionic/{p-61ba2137.system.js → p-6afef6c1.system.js} +1 -1
- package/dist/ionic/{p-3e9ad72a.system.entry.js → p-6b6ca3f5.system.entry.js} +1 -1
- package/dist/ionic/p-6c45c617.js +4 -0
- package/dist/ionic/{p-eb07b88f.entry.js → p-6e23d039.entry.js} +1 -1
- package/dist/ionic/{p-18beebdf.system.entry.js → p-6f59cdbc.system.entry.js} +1 -1
- package/dist/ionic/{p-0457213c.entry.js → p-70fbf4e2.entry.js} +1 -1
- package/dist/ionic/{p-fb9f8495.system.entry.js → p-741a0f0d.system.entry.js} +1 -1
- package/dist/ionic/{p-601e17b4.entry.js → p-7670acd8.entry.js} +1 -1
- package/dist/ionic/{p-e04b9647.system.entry.js → p-76b8bcb8.system.entry.js} +1 -1
- package/dist/ionic/{p-a3f572a7.js → p-779aede8.js} +1 -1
- package/dist/ionic/{p-3d961d93.entry.js → p-7a615a5a.entry.js} +1 -1
- package/dist/ionic/{p-d39ab63d.entry.js → p-7e16220b.entry.js} +1 -1
- package/dist/ionic/{p-7b1ed642.system.entry.js → p-7e838f43.system.entry.js} +1 -1
- package/dist/ionic/{p-bf05cbc7.entry.js → p-7f30ad48.entry.js} +1 -1
- package/dist/ionic/{p-42a9f663.system.entry.js → p-80aed9fb.system.entry.js} +1 -1
- package/dist/ionic/{p-5c580e89.entry.js → p-822730c4.entry.js} +1 -1
- package/dist/ionic/{p-c11bab7e.entry.js → p-84b85535.entry.js} +1 -1
- package/dist/ionic/{p-667e3e2d.entry.js → p-85f66c3c.entry.js} +1 -1
- package/dist/ionic/{p-6486e393.system.entry.js → p-860e2539.system.entry.js} +1 -1
- package/dist/ionic/{p-a6e465f5.entry.js → p-8cc34120.entry.js} +1 -1
- package/dist/ionic/{p-c747f89b.system.entry.js → p-91f4e611.system.entry.js} +1 -1
- package/dist/ionic/{p-9393a49f.js → p-942a9358.js} +1 -1
- package/dist/ionic/{p-f460c7ae.entry.js → p-96084f36.entry.js} +1 -1
- package/dist/ionic/{p-5f169eba.entry.js → p-973b4db3.entry.js} +1 -1
- package/dist/ionic/{p-3c6f02cf.system.js → p-97ca0cb9.system.js} +1 -1
- package/dist/ionic/{p-5c6a04bd.entry.js → p-98aa0553.entry.js} +1 -1
- package/dist/ionic/{p-ea25b4c8.system.entry.js → p-9998cb62.system.entry.js} +1 -1
- package/dist/ionic/{p-aaaa615c.system.entry.js → p-9de75bac.system.entry.js} +1 -1
- package/dist/ionic/{p-502780e4.entry.js → p-a02ea777.entry.js} +1 -1
- package/dist/ionic/{p-c2289cd1.js → p-a1036ce7.js} +1 -1
- package/dist/ionic/{p-7ce40e7b.entry.js → p-a1222c24.entry.js} +1 -1
- package/dist/ionic/{p-e81bf09e.system.entry.js → p-a4aa6dd2.system.entry.js} +1 -1
- package/dist/ionic/{p-49543c9c.system.js → p-a667dd1f.system.js} +1 -1
- package/dist/ionic/{p-123b4809.js → p-a6c0a380.js} +1 -1
- package/dist/ionic/{p-4fda5c35.entry.js → p-a8459bfb.entry.js} +1 -1
- package/dist/ionic/{p-b2595011.system.entry.js → p-ae2b3a7a.system.entry.js} +1 -1
- package/dist/ionic/{p-0e23c289.system.entry.js → p-ae828bd9.system.entry.js} +1 -1
- package/dist/ionic/{p-cde3ac34.system.entry.js → p-b0aa3806.system.entry.js} +1 -1
- package/dist/ionic/{p-a0b28c69.system.entry.js → p-b27bba38.system.entry.js} +1 -1
- package/dist/ionic/p-b4d2f43c.system.js +4 -0
- package/dist/ionic/{p-91cb3f9a.entry.js → p-b58686e0.entry.js} +1 -1
- package/dist/ionic/{p-43a5edee.entry.js → p-b727af6a.entry.js} +1 -1
- package/dist/ionic/{p-cb9e71e0.entry.js → p-ba0fbecc.entry.js} +1 -1
- package/dist/ionic/{p-3481d54e.system.entry.js → p-baf8eeac.system.entry.js} +1 -1
- package/dist/ionic/{p-9cd7ba27.system.js → p-bcd9cad8.system.js} +1 -1
- package/dist/ionic/{p-37c33319.system.js → p-bd313b73.system.js} +1 -1
- package/dist/ionic/{p-ae35294f.system.entry.js → p-c1a871ff.system.entry.js} +1 -1
- package/dist/ionic/{p-db30f71b.entry.js → p-c1c7309e.entry.js} +1 -1
- package/dist/ionic/{p-1924f2e0.system.entry.js → p-c7288e78.system.entry.js} +2 -2
- package/dist/ionic/{p-f840d817.entry.js → p-cb3065b8.entry.js} +1 -1
- package/dist/ionic/{p-23c73017.entry.js → p-cb9812f7.entry.js} +1 -1
- package/dist/ionic/{p-d4cadd34.system.js → p-cbcffe6e.system.js} +1 -1
- package/dist/ionic/{p-7173ba59.system.entry.js → p-ce1c0a0e.system.entry.js} +1 -1
- package/dist/ionic/p-cfb4d7e0.js +4 -0
- package/dist/ionic/{p-5e23bea8.system.entry.js → p-d143fefa.system.entry.js} +1 -1
- package/dist/ionic/{p-95d5a097.entry.js → p-d425b1de.entry.js} +1 -1
- package/dist/ionic/{p-c1797ec5.system.entry.js → p-d6c6541b.system.entry.js} +1 -1
- package/dist/ionic/{p-dcb5711d.entry.js → p-dff97cfa.entry.js} +1 -1
- package/dist/ionic/{p-c308f773.entry.js → p-e1c52dc6.entry.js} +1 -1
- package/dist/ionic/{p-f8c96502.system.entry.js → p-e4e74b5f.system.entry.js} +1 -1
- package/dist/ionic/{p-68ba8e77.system.entry.js → p-e626800f.system.entry.js} +1 -1
- package/dist/ionic/{p-64761c90.entry.js → p-e94c1402.entry.js} +1 -1
- package/dist/ionic/{p-30d77a91.system.js → p-ebc1ca90.system.js} +1 -1
- package/dist/ionic/{p-70e34286.system.entry.js → p-ebc86ce9.system.entry.js} +1 -1
- package/dist/ionic/{p-a8a56449.entry.js → p-ed4760ef.entry.js} +1 -1
- package/dist/ionic/{p-9ec7208d.system.js → p-f02c41af.system.js} +1 -1
- package/dist/ionic/{p-ba97a133.system.entry.js → p-f0e54781.system.entry.js} +1 -1
- package/dist/ionic/{p-3a7de59c.entry.js → p-fa8d3b01.entry.js} +1 -1
- package/dist/ionic/p-fbd01db3.system.js +4 -0
- package/dist/ionic/{p-e2bb92ed.system.js → p-fe320051.system.js} +1 -1
- package/dist/types/utils/helpers.d.ts +1 -1
- package/dist/types/utils/overlays.d.ts +5 -0
- package/hydrate/index.js +70 -24
- package/package.json +1 -1
- package/dist/esm-es5/helpers-c0b9ca37.js +0 -4
- package/dist/esm-es5/index-d64f34ea.js +0 -4
- package/dist/esm-es5/md.transition-564937a7.js +0 -4
- package/dist/esm-es5/overlays-04a9a43f.js +0 -4
- package/dist/ionic/p-21ca1f1c.js +0 -4
- package/dist/ionic/p-49aba878.js +0 -4
- package/dist/ionic/p-4f777b5e.js +0 -4
- package/dist/ionic/p-5c2ae448.js +0 -4
- package/dist/ionic/p-a5951821.system.js +0 -4
- package/dist/ionic/p-c80c7e90.system.js +0 -4
- package/dist/ionic/p-dbcba5a2.js +0 -4
- package/dist/ionic/p-e9f9388e.system.js +0 -4
- package/dist/ionic/p-fd2aa50c.js +0 -4
- /package/dist/ionic/{p-b5839dc2.js → p-1b3ffb2f.js} +0 -0
- /package/dist/ionic/{p-fd8ced99.system.js → p-5fc8d5ef.system.js} +0 -0
package/components/helpers.js
CHANGED
|
@@ -237,7 +237,7 @@ const findItemLabel = (componentEl) => {
|
|
|
237
237
|
}
|
|
238
238
|
return null;
|
|
239
239
|
};
|
|
240
|
-
const
|
|
240
|
+
const focusVisibleElement = (el) => {
|
|
241
241
|
el.focus();
|
|
242
242
|
/**
|
|
243
243
|
* When programmatically focusing an element,
|
|
@@ -415,4 +415,4 @@ const shallowEqualStringMap = (map1, map2) => {
|
|
|
415
415
|
return true;
|
|
416
416
|
};
|
|
417
417
|
|
|
418
|
-
export { addEventListener as a, removeEventListener as b, componentOnReady as c, inheritAttributes as d, renderHiddenInput as e,
|
|
418
|
+
export { addEventListener as a, removeEventListener as b, componentOnReady as c, inheritAttributes as d, renderHiddenInput as e, focusVisibleElement as f, getElementRoot as g, hasShadowDom as h, inheritAriaAttributes as i, getAriaLabel as j, findItemLabel as k, hasLazyBuild as l, clamp as m, debounceEvent as n, isEndSide as o, assert as p, debounce as q, raf as r, shallowEqualStringMap as s, transitionEndAsync as t, now as u, pointerCoord as v };
|
package/components/ion-select.js
CHANGED
|
@@ -5,7 +5,7 @@ import { proxyCustomElement, HTMLElement, createEvent, h, Host, forceUpdate } fr
|
|
|
5
5
|
import { c as createLegacyFormController } from './form-controller.js';
|
|
6
6
|
import { c as createNotchController } from './notch-controller.js';
|
|
7
7
|
import { i as isOptionSelected, c as compareOptions, d as defineCustomElement$5 } from './radio.js';
|
|
8
|
-
import { d as inheritAttributes, f as
|
|
8
|
+
import { d as inheritAttributes, f as focusVisibleElement, k as findItemLabel, e as renderHiddenInput, j as getAriaLabel } from './helpers.js';
|
|
9
9
|
import { p as printIonWarning } from './index6.js';
|
|
10
10
|
import { c as popoverController, b as actionSheetController, a as alertController } from './overlays.js';
|
|
11
11
|
import { i as isRTL } from './dir.js';
|
|
@@ -176,7 +176,7 @@ const Select = /*@__PURE__*/ proxyCustomElement(class Select extends HTMLElement
|
|
|
176
176
|
if (indexOfSelected > -1) {
|
|
177
177
|
const selectedItem = overlay.querySelector(`.select-interface-option:nth-child(${indexOfSelected + 1})`);
|
|
178
178
|
if (selectedItem) {
|
|
179
|
-
|
|
179
|
+
focusVisibleElement(selectedItem);
|
|
180
180
|
/**
|
|
181
181
|
* Browsers such as Firefox do not
|
|
182
182
|
* correctly delegate focus when manually
|
|
@@ -200,7 +200,7 @@ const Select = /*@__PURE__*/ proxyCustomElement(class Select extends HTMLElement
|
|
|
200
200
|
*/
|
|
201
201
|
const firstEnabledOption = overlay.querySelector('ion-radio:not(.radio-disabled), ion-checkbox:not(.checkbox-disabled)');
|
|
202
202
|
if (firstEnabledOption) {
|
|
203
|
-
|
|
203
|
+
focusVisibleElement(firstEnabledOption.closest('ion-item'));
|
|
204
204
|
/**
|
|
205
205
|
* Focus the option for the same reason as we do above.
|
|
206
206
|
*/
|
package/components/label.js
CHANGED
|
@@ -5,10 +5,10 @@ import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/
|
|
|
5
5
|
import { c as createColorClasses, h as hostContext } from './theme.js';
|
|
6
6
|
import { b as getIonMode } from './ionic-global.js';
|
|
7
7
|
|
|
8
|
-
const labelIosCss = ".item.sc-ion-label-ios-h,.item .sc-ion-label-ios-h{--color:initial;display:block;color:var(--color);font-family:var(--ion-font-family, inherit);font-size:inherit;text-overflow:ellipsis;-webkit-box-sizing:border-box;box-sizing:border-box}.item-legacy.sc-ion-label-ios-h,.item-legacy .sc-ion-label-ios-h{white-space:nowrap;overflow:hidden}.
|
|
8
|
+
const labelIosCss = ".item.sc-ion-label-ios-h,.item .sc-ion-label-ios-h{--color:initial;display:block;color:var(--color);font-family:var(--ion-font-family, inherit);font-size:inherit;text-overflow:ellipsis;-webkit-box-sizing:border-box;box-sizing:border-box}.item-legacy.sc-ion-label-ios-h,.item-legacy .sc-ion-label-ios-h{white-space:nowrap;overflow:hidden}.ion-color.sc-ion-label-ios-h{color:var(--ion-color-base)}.ion-text-nowrap.sc-ion-label-ios-h{overflow:hidden}.item-interactive-disabled.sc-ion-label-ios-h:not(.item-multiple-inputs),.item-interactive-disabled:not(.item-multiple-inputs) .sc-ion-label-ios-h{cursor:default;opacity:0.3;pointer-events:none}.item-input.sc-ion-label-ios-h,.item-input .sc-ion-label-ios-h{-ms-flex:initial;flex:initial;max-width:200px;pointer-events:none}.item-textarea.sc-ion-label-ios-h,.item-textarea .sc-ion-label-ios-h{-ms-flex-item-align:baseline;align-self:baseline}.item-skeleton-text.sc-ion-label-ios-h,.item-skeleton-text .sc-ion-label-ios-h{overflow:hidden}.label-fixed.sc-ion-label-ios-h{-ms-flex:0 0 100px;flex:0 0 100px;width:100px;min-width:100px;max-width:200px}.label-stacked.sc-ion-label-ios-h,.label-floating.sc-ion-label-ios-h{margin-bottom:0;-ms-flex-item-align:stretch;align-self:stretch;width:auto;max-width:100%}.label-no-animate.label-floating.sc-ion-label-ios-h{-webkit-transition:none;transition:none}.sc-ion-label-ios-s h1,.sc-ion-label-ios-s h2,.sc-ion-label-ios-s h3,.sc-ion-label-ios-s h4,.sc-ion-label-ios-s h5,.sc-ion-label-ios-s h6{text-overflow:inherit;overflow:inherit}.ion-text-wrap.sc-ion-label-ios-h{font-size:0.875rem;line-height:1.5}.label-stacked.sc-ion-label-ios-h{margin-bottom:4px;font-size:0.875rem}.label-floating.sc-ion-label-ios-h{margin-bottom:0;-webkit-transform:translate(0, 29px);transform:translate(0, 29px);-webkit-transform-origin:left top;transform-origin:left top;-webkit-transition:-webkit-transform 150ms ease-in-out;transition:-webkit-transform 150ms ease-in-out;transition:transform 150ms ease-in-out;transition:transform 150ms ease-in-out, -webkit-transform 150ms ease-in-out}[dir=rtl].sc-ion-label-ios-h -no-combinator.label-floating.sc-ion-label-ios-h,[dir=rtl] .sc-ion-label-ios-h -no-combinator.label-floating.sc-ion-label-ios-h,[dir=rtl].label-floating.sc-ion-label-ios-h,[dir=rtl] .label-floating.sc-ion-label-ios-h{-webkit-transform-origin:right top;transform-origin:right top}@supports selector(:dir(rtl)){.label-floating.sc-ion-label-ios-h:dir(rtl){-webkit-transform-origin:right top;transform-origin:right top}}.item-textarea.label-floating.sc-ion-label-ios-h,.item-textarea .label-floating.sc-ion-label-ios-h{-webkit-transform:translate(0, 28px);transform:translate(0, 28px)}.item-has-focus.label-floating.sc-ion-label-ios-h,.item-has-focus .label-floating.sc-ion-label-ios-h,.item-has-placeholder.sc-ion-label-ios-h:not(.item-input).label-floating,.item-has-placeholder:not(.item-input) .label-floating.sc-ion-label-ios-h,.item-has-value.label-floating.sc-ion-label-ios-h,.item-has-value .label-floating.sc-ion-label-ios-h{-webkit-transform:scale(0.82);transform:scale(0.82)}.sc-ion-label-ios-s h1{margin-left:0;margin-right:0;margin-top:3px;margin-bottom:2px;font-size:1.375rem;font-weight:normal}.sc-ion-label-ios-s h2{margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px;font-size:1.0625rem;font-weight:normal}.sc-ion-label-ios-s h3,.sc-ion-label-ios-s h4,.sc-ion-label-ios-s h5,.sc-ion-label-ios-s h6{margin-left:0;margin-right:0;margin-top:0;margin-bottom:3px;font-size:0.875rem;font-weight:normal;line-height:normal}.sc-ion-label-ios-s p{margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px;font-size:0.875rem;line-height:normal;text-overflow:inherit;overflow:inherit}.sc-ion-label-ios-s>p{color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.4)}.sc-ion-label-ios-h.in-item-color.sc-ion-label-ios-s>p{color:inherit}.sc-ion-label-ios-s h2:last-child,.sc-ion-label-ios-s h3:last-child,.sc-ion-label-ios-s h4:last-child,.sc-ion-label-ios-s h5:last-child,.sc-ion-label-ios-s h6:last-child,.sc-ion-label-ios-s p:last-child{margin-bottom:0}";
|
|
9
9
|
const IonLabelIosStyle0 = labelIosCss;
|
|
10
10
|
|
|
11
|
-
const labelMdCss = ".item.sc-ion-label-md-h,.item .sc-ion-label-md-h{--color:initial;display:block;color:var(--color);font-family:var(--ion-font-family, inherit);font-size:inherit;text-overflow:ellipsis;-webkit-box-sizing:border-box;box-sizing:border-box}.item-legacy.sc-ion-label-md-h,.item-legacy .sc-ion-label-md-h{white-space:nowrap;overflow:hidden}.item.sc-ion-label-md-h:not(.item-input):not(.item-legacy),.item:not(.item-input):not(.item-legacy) .sc-ion-label-md-h{-ms-flex-positive:1;flex-grow:1}.ion-color.sc-ion-label-md-h{color:var(--ion-color-base)}.ion-text-nowrap.sc-ion-label-md-h{overflow:hidden}.item-interactive-disabled.sc-ion-label-md-h:not(.item-multiple-inputs),.item-interactive-disabled:not(.item-multiple-inputs) .sc-ion-label-md-h{cursor:default;opacity:0.3;pointer-events:none}.item-input.sc-ion-label-md-h,.item-input .sc-ion-label-md-h{-ms-flex:initial;flex:initial;max-width:200px;pointer-events:none}.item-textarea.sc-ion-label-md-h,.item-textarea .sc-ion-label-md-h{-ms-flex-item-align:baseline;align-self:baseline}.item-skeleton-text.sc-ion-label-md-h,.item-skeleton-text .sc-ion-label-md-h{overflow:hidden}.label-fixed.sc-ion-label-md-h{-ms-flex:0 0 100px;flex:0 0 100px;width:100px;min-width:100px;max-width:200px}.label-stacked.sc-ion-label-md-h,.label-floating.sc-ion-label-md-h{margin-bottom:0;-ms-flex-item-align:stretch;align-self:stretch;width:auto;max-width:100%}.label-no-animate.label-floating.sc-ion-label-md-h{-webkit-transition:none;transition:none}.sc-ion-label-md-s h1,.sc-ion-label-md-s h2,.sc-ion-label-md-s h3,.sc-ion-label-md-s h4,.sc-ion-label-md-s h5,.sc-ion-label-md-s h6{text-overflow:inherit;overflow:inherit}.ion-text-wrap.sc-ion-label-md-h{line-height:1.5}.label-stacked.sc-ion-label-md-h,.label-floating.sc-ion-label-md-h{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-transform-origin:top left;transform-origin:top left}.label-stacked.label-rtl.sc-ion-label-md-h,.label-floating.label-rtl.sc-ion-label-md-h{-webkit-transform-origin:top right;transform-origin:top right}.label-stacked.sc-ion-label-md-h{-webkit-transform:translateY(50%) scale(0.75);transform:translateY(50%) scale(0.75);-webkit-transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1)}.label-floating.sc-ion-label-md-h{-webkit-transform:translateY(96%);transform:translateY(96%);-webkit-transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), transform 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), transform 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1)}.ion-focused.label-floating.sc-ion-label-md-h,.ion-focused .label-floating.sc-ion-label-md-h,.item-has-focus.label-floating.sc-ion-label-md-h,.item-has-focus .label-floating.sc-ion-label-md-h,.item-has-placeholder.sc-ion-label-md-h:not(.item-input).label-floating,.item-has-placeholder:not(.item-input) .label-floating.sc-ion-label-md-h,.item-has-value.label-floating.sc-ion-label-md-h,.item-has-value .label-floating.sc-ion-label-md-h{-webkit-transform:translateY(50%) scale(0.75);transform:translateY(50%) scale(0.75)}.item-fill-outline.ion-focused.label-floating.sc-ion-label-md-h,.item-fill-outline.ion-focused .label-floating.sc-ion-label-md-h,.item-fill-outline.item-has-focus.label-floating.sc-ion-label-md-h,.item-fill-outline.item-has-focus .label-floating.sc-ion-label-md-h,.item-fill-outline.item-has-placeholder.sc-ion-label-md-h:not(.item-input).label-floating,.item-fill-outline.item-has-placeholder:not(.item-input) .label-floating.sc-ion-label-md-h,.item-fill-outline.item-has-value.label-floating.sc-ion-label-md-h,.item-fill-outline.item-has-value .label-floating.sc-ion-label-md-h{-webkit-transform:translateY(-6px) scale(0.75);transform:translateY(-6px) scale(0.75);position:relative;max-width:-webkit-min-content;max-width:-moz-min-content;max-width:min-content;background-color:var(--ion-item-background, var(--ion-background-color, #fff));overflow:visible;z-index:3}.item-fill-outline.ion-focused.label-floating.sc-ion-label-md-h::before,.item-fill-outline.ion-focused .label-floating.sc-ion-label-md-h::before,.item-fill-outline.ion-focused.label-floating.sc-ion-label-md-h::after,.item-fill-outline.ion-focused .label-floating.sc-ion-label-md-h::after,.item-fill-outline.item-has-focus.label-floating.sc-ion-label-md-h::before,.item-fill-outline.item-has-focus .label-floating.sc-ion-label-md-h::before,.item-fill-outline.item-has-focus.label-floating.sc-ion-label-md-h::after,.item-fill-outline.item-has-focus .label-floating.sc-ion-label-md-h::after,.item-fill-outline.item-has-placeholder.sc-ion-label-md-h:not(.item-input).label-floating::before,.item-fill-outline.item-has-placeholder:not(.item-input) .label-floating.sc-ion-label-md-h::before,.item-fill-outline.item-has-placeholder.sc-ion-label-md-h:not(.item-input).label-floating::after,.item-fill-outline.item-has-placeholder:not(.item-input) .label-floating.sc-ion-label-md-h::after,.item-fill-outline.item-has-value.label-floating.sc-ion-label-md-h::before,.item-fill-outline.item-has-value .label-floating.sc-ion-label-md-h::before,.item-fill-outline.item-has-value.label-floating.sc-ion-label-md-h::after,.item-fill-outline.item-has-value .label-floating.sc-ion-label-md-h::after{position:absolute;width:4px;height:100%;background-color:var(--ion-item-background, var(--ion-background-color, #fff));content:\"\"}.item-fill-outline.ion-focused.label-floating.sc-ion-label-md-h::before,.item-fill-outline.ion-focused .label-floating.sc-ion-label-md-h::before,.item-fill-outline.item-has-focus.label-floating.sc-ion-label-md-h::before,.item-fill-outline.item-has-focus .label-floating.sc-ion-label-md-h::before,.item-fill-outline.item-has-placeholder.sc-ion-label-md-h:not(.item-input).label-floating::before,.item-fill-outline.item-has-placeholder:not(.item-input) .label-floating.sc-ion-label-md-h::before,.item-fill-outline.item-has-value.label-floating.sc-ion-label-md-h::before,.item-fill-outline.item-has-value .label-floating.sc-ion-label-md-h::before{left:calc(-1 * 4px)}.item-fill-outline.ion-focused.label-floating.sc-ion-label-md-h::after,.item-fill-outline.ion-focused .label-floating.sc-ion-label-md-h::after,.item-fill-outline.item-has-focus.label-floating.sc-ion-label-md-h::after,.item-fill-outline.item-has-focus .label-floating.sc-ion-label-md-h::after,.item-fill-outline.item-has-placeholder.sc-ion-label-md-h:not(.item-input).label-floating::after,.item-fill-outline.item-has-placeholder:not(.item-input) .label-floating.sc-ion-label-md-h::after,.item-fill-outline.item-has-value.label-floating.sc-ion-label-md-h::after,.item-fill-outline.item-has-value .label-floating.sc-ion-label-md-h::after{right:calc(-1 * 4px)}.item-fill-outline.ion-focused.item-has-start-slot.label-floating.sc-ion-label-md-h,.item-fill-outline.ion-focused.item-has-start-slot .label-floating.sc-ion-label-md-h,.item-fill-outline.item-has-focus.item-has-start-slot.label-floating.sc-ion-label-md-h,.item-fill-outline.item-has-focus.item-has-start-slot .label-floating.sc-ion-label-md-h,.item-fill-outline.item-has-placeholder.sc-ion-label-md-h:not(.item-input).item-has-start-slot.label-floating,.item-fill-outline.item-has-placeholder:not(.item-input).item-has-start-slot .label-floating.sc-ion-label-md-h,.item-fill-outline.item-has-value.item-has-start-slot.label-floating.sc-ion-label-md-h,.item-fill-outline.item-has-value.item-has-start-slot .label-floating.sc-ion-label-md-h{-webkit-transform:translateX(-32px) translateY(-6px) scale(0.75);transform:translateX(-32px) translateY(-6px) scale(0.75)}.item-fill-outline.ion-focused.item-has-start-slot.label-floating.label-rtl.sc-ion-label-md-h,.item-fill-outline.ion-focused.item-has-start-slot .label-floating.label-rtl.sc-ion-label-md-h,.item-fill-outline.item-has-focus.item-has-start-slot.label-floating.label-rtl.sc-ion-label-md-h,.item-fill-outline.item-has-focus.item-has-start-slot .label-floating.label-rtl.sc-ion-label-md-h,.item-fill-outline.item-has-placeholder.sc-ion-label-md-h:not(.item-input).item-has-start-slot.label-floating.label-rtl,.item-fill-outline.item-has-placeholder:not(.item-input).item-has-start-slot .label-floating.label-rtl.sc-ion-label-md-h,.item-fill-outline.item-has-value.item-has-start-slot.label-floating.label-rtl.sc-ion-label-md-h,.item-fill-outline.item-has-value.item-has-start-slot .label-floating.label-rtl.sc-ion-label-md-h{-webkit-transform:translateX(calc(-1 * -32px)) translateY(-6px) scale(0.75);transform:translateX(calc(-1 * -32px)) translateY(-6px) scale(0.75)}.ion-focused.label-stacked.sc-ion-label-md-h:not(.ion-color),.ion-focused .label-stacked.sc-ion-label-md-h:not(.ion-color),.ion-focused.label-floating.sc-ion-label-md-h:not(.ion-color),.ion-focused .label-floating.sc-ion-label-md-h:not(.ion-color),.item-has-focus.label-stacked.sc-ion-label-md-h:not(.ion-color),.item-has-focus .label-stacked.sc-ion-label-md-h:not(.ion-color),.item-has-focus.label-floating.sc-ion-label-md-h:not(.ion-color),.item-has-focus .label-floating.sc-ion-label-md-h:not(.ion-color){color:var(--ion-color-primary, #3880ff)}.ion-focused.ion-color.label-stacked.sc-ion-label-md-h:not(.ion-color),.ion-focused.ion-color .label-stacked.sc-ion-label-md-h:not(.ion-color),.ion-focused.ion-color.label-floating.sc-ion-label-md-h:not(.ion-color),.ion-focused.ion-color .label-floating.sc-ion-label-md-h:not(.ion-color),.item-has-focus.ion-color.label-stacked.sc-ion-label-md-h:not(.ion-color),.item-has-focus.ion-color .label-stacked.sc-ion-label-md-h:not(.ion-color),.item-has-focus.ion-color.label-floating.sc-ion-label-md-h:not(.ion-color),.item-has-focus.ion-color .label-floating.sc-ion-label-md-h:not(.ion-color){color:var(--ion-color-contrast)}.item-fill-solid.ion-focused.ion-color.label-stacked.sc-ion-label-md-h:not(.ion-color),.item-fill-solid.ion-focused.ion-color .label-stacked.sc-ion-label-md-h:not(.ion-color),.item-fill-solid.ion-focused.ion-color.label-floating.sc-ion-label-md-h:not(.ion-color),.item-fill-solid.ion-focused.ion-color .label-floating.sc-ion-label-md-h:not(.ion-color),.item-fill-outline.ion-focused.ion-color.label-stacked.sc-ion-label-md-h:not(.ion-color),.item-fill-outline.ion-focused.ion-color .label-stacked.sc-ion-label-md-h:not(.ion-color),.item-fill-outline.ion-focused.ion-color.label-floating.sc-ion-label-md-h:not(.ion-color),.item-fill-outline.ion-focused.ion-color .label-floating.sc-ion-label-md-h:not(.ion-color),.item-fill-solid.item-has-focus.ion-color.label-stacked.sc-ion-label-md-h:not(.ion-color),.item-fill-solid.item-has-focus.ion-color .label-stacked.sc-ion-label-md-h:not(.ion-color),.item-fill-solid.item-has-focus.ion-color.label-floating.sc-ion-label-md-h:not(.ion-color),.item-fill-solid.item-has-focus.ion-color .label-floating.sc-ion-label-md-h:not(.ion-color),.item-fill-outline.item-has-focus.ion-color.label-stacked.sc-ion-label-md-h:not(.ion-color),.item-fill-outline.item-has-focus.ion-color .label-stacked.sc-ion-label-md-h:not(.ion-color),.item-fill-outline.item-has-focus.ion-color.label-floating.sc-ion-label-md-h:not(.ion-color),.item-fill-outline.item-has-focus.ion-color .label-floating.sc-ion-label-md-h:not(.ion-color){color:var(--ion-color-base)}.ion-invalid.ion-touched.label-stacked.sc-ion-label-md-h:not(.ion-color),.ion-invalid.ion-touched .label-stacked.sc-ion-label-md-h:not(.ion-color),.ion-invalid.ion-touched.label-floating.sc-ion-label-md-h:not(.ion-color),.ion-invalid.ion-touched .label-floating.sc-ion-label-md-h:not(.ion-color){color:var(--highlight-color-invalid)}.sc-ion-label-md-s h1{margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px;font-size:1.5rem;font-weight:normal}.sc-ion-label-md-s h2{margin-left:0;margin-right:0;margin-top:2px;margin-bottom:2px;font-size:1rem;font-weight:normal}.sc-ion-label-md-s h3,.sc-ion-label-md-s h4,.sc-ion-label-md-s h5,.sc-ion-label-md-s h6{margin-left:0;margin-right:0;margin-top:2px;margin-bottom:2px;font-size:0.875rem;font-weight:normal;line-height:normal}.sc-ion-label-md-s p{margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px;font-size:0.875rem;line-height:1.25rem;text-overflow:inherit;overflow:inherit}.sc-ion-label-md-s>p{color:var(--ion-color-step-600, #666666)}.sc-ion-label-md-h.in-item-color.sc-ion-label-md-s>p{color:inherit}";
|
|
11
|
+
const labelMdCss = ".item.sc-ion-label-md-h,.item .sc-ion-label-md-h{--color:initial;display:block;color:var(--color);font-family:var(--ion-font-family, inherit);font-size:inherit;text-overflow:ellipsis;-webkit-box-sizing:border-box;box-sizing:border-box}.item-legacy.sc-ion-label-md-h,.item-legacy .sc-ion-label-md-h{white-space:nowrap;overflow:hidden}.ion-color.sc-ion-label-md-h{color:var(--ion-color-base)}.ion-text-nowrap.sc-ion-label-md-h{overflow:hidden}.item-interactive-disabled.sc-ion-label-md-h:not(.item-multiple-inputs),.item-interactive-disabled:not(.item-multiple-inputs) .sc-ion-label-md-h{cursor:default;opacity:0.3;pointer-events:none}.item-input.sc-ion-label-md-h,.item-input .sc-ion-label-md-h{-ms-flex:initial;flex:initial;max-width:200px;pointer-events:none}.item-textarea.sc-ion-label-md-h,.item-textarea .sc-ion-label-md-h{-ms-flex-item-align:baseline;align-self:baseline}.item-skeleton-text.sc-ion-label-md-h,.item-skeleton-text .sc-ion-label-md-h{overflow:hidden}.label-fixed.sc-ion-label-md-h{-ms-flex:0 0 100px;flex:0 0 100px;width:100px;min-width:100px;max-width:200px}.label-stacked.sc-ion-label-md-h,.label-floating.sc-ion-label-md-h{margin-bottom:0;-ms-flex-item-align:stretch;align-self:stretch;width:auto;max-width:100%}.label-no-animate.label-floating.sc-ion-label-md-h{-webkit-transition:none;transition:none}.sc-ion-label-md-s h1,.sc-ion-label-md-s h2,.sc-ion-label-md-s h3,.sc-ion-label-md-s h4,.sc-ion-label-md-s h5,.sc-ion-label-md-s h6{text-overflow:inherit;overflow:inherit}.ion-text-wrap.sc-ion-label-md-h{line-height:1.5}.label-stacked.sc-ion-label-md-h,.label-floating.sc-ion-label-md-h{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-transform-origin:top left;transform-origin:top left}.label-stacked.label-rtl.sc-ion-label-md-h,.label-floating.label-rtl.sc-ion-label-md-h{-webkit-transform-origin:top right;transform-origin:top right}.label-stacked.sc-ion-label-md-h{-webkit-transform:translateY(50%) scale(0.75);transform:translateY(50%) scale(0.75);-webkit-transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1)}.label-floating.sc-ion-label-md-h{-webkit-transform:translateY(96%);transform:translateY(96%);-webkit-transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), transform 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), transform 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1)}.ion-focused.label-floating.sc-ion-label-md-h,.ion-focused .label-floating.sc-ion-label-md-h,.item-has-focus.label-floating.sc-ion-label-md-h,.item-has-focus .label-floating.sc-ion-label-md-h,.item-has-placeholder.sc-ion-label-md-h:not(.item-input).label-floating,.item-has-placeholder:not(.item-input) .label-floating.sc-ion-label-md-h,.item-has-value.label-floating.sc-ion-label-md-h,.item-has-value .label-floating.sc-ion-label-md-h{-webkit-transform:translateY(50%) scale(0.75);transform:translateY(50%) scale(0.75)}.item-fill-outline.ion-focused.label-floating.sc-ion-label-md-h,.item-fill-outline.ion-focused .label-floating.sc-ion-label-md-h,.item-fill-outline.item-has-focus.label-floating.sc-ion-label-md-h,.item-fill-outline.item-has-focus .label-floating.sc-ion-label-md-h,.item-fill-outline.item-has-placeholder.sc-ion-label-md-h:not(.item-input).label-floating,.item-fill-outline.item-has-placeholder:not(.item-input) .label-floating.sc-ion-label-md-h,.item-fill-outline.item-has-value.label-floating.sc-ion-label-md-h,.item-fill-outline.item-has-value .label-floating.sc-ion-label-md-h{-webkit-transform:translateY(-6px) scale(0.75);transform:translateY(-6px) scale(0.75);position:relative;max-width:-webkit-min-content;max-width:-moz-min-content;max-width:min-content;background-color:var(--ion-item-background, var(--ion-background-color, #fff));overflow:visible;z-index:3}.item-fill-outline.ion-focused.label-floating.sc-ion-label-md-h::before,.item-fill-outline.ion-focused .label-floating.sc-ion-label-md-h::before,.item-fill-outline.ion-focused.label-floating.sc-ion-label-md-h::after,.item-fill-outline.ion-focused .label-floating.sc-ion-label-md-h::after,.item-fill-outline.item-has-focus.label-floating.sc-ion-label-md-h::before,.item-fill-outline.item-has-focus .label-floating.sc-ion-label-md-h::before,.item-fill-outline.item-has-focus.label-floating.sc-ion-label-md-h::after,.item-fill-outline.item-has-focus .label-floating.sc-ion-label-md-h::after,.item-fill-outline.item-has-placeholder.sc-ion-label-md-h:not(.item-input).label-floating::before,.item-fill-outline.item-has-placeholder:not(.item-input) .label-floating.sc-ion-label-md-h::before,.item-fill-outline.item-has-placeholder.sc-ion-label-md-h:not(.item-input).label-floating::after,.item-fill-outline.item-has-placeholder:not(.item-input) .label-floating.sc-ion-label-md-h::after,.item-fill-outline.item-has-value.label-floating.sc-ion-label-md-h::before,.item-fill-outline.item-has-value .label-floating.sc-ion-label-md-h::before,.item-fill-outline.item-has-value.label-floating.sc-ion-label-md-h::after,.item-fill-outline.item-has-value .label-floating.sc-ion-label-md-h::after{position:absolute;width:4px;height:100%;background-color:var(--ion-item-background, var(--ion-background-color, #fff));content:\"\"}.item-fill-outline.ion-focused.label-floating.sc-ion-label-md-h::before,.item-fill-outline.ion-focused .label-floating.sc-ion-label-md-h::before,.item-fill-outline.item-has-focus.label-floating.sc-ion-label-md-h::before,.item-fill-outline.item-has-focus .label-floating.sc-ion-label-md-h::before,.item-fill-outline.item-has-placeholder.sc-ion-label-md-h:not(.item-input).label-floating::before,.item-fill-outline.item-has-placeholder:not(.item-input) .label-floating.sc-ion-label-md-h::before,.item-fill-outline.item-has-value.label-floating.sc-ion-label-md-h::before,.item-fill-outline.item-has-value .label-floating.sc-ion-label-md-h::before{left:calc(-1 * 4px)}.item-fill-outline.ion-focused.label-floating.sc-ion-label-md-h::after,.item-fill-outline.ion-focused .label-floating.sc-ion-label-md-h::after,.item-fill-outline.item-has-focus.label-floating.sc-ion-label-md-h::after,.item-fill-outline.item-has-focus .label-floating.sc-ion-label-md-h::after,.item-fill-outline.item-has-placeholder.sc-ion-label-md-h:not(.item-input).label-floating::after,.item-fill-outline.item-has-placeholder:not(.item-input) .label-floating.sc-ion-label-md-h::after,.item-fill-outline.item-has-value.label-floating.sc-ion-label-md-h::after,.item-fill-outline.item-has-value .label-floating.sc-ion-label-md-h::after{right:calc(-1 * 4px)}.item-fill-outline.ion-focused.item-has-start-slot.label-floating.sc-ion-label-md-h,.item-fill-outline.ion-focused.item-has-start-slot .label-floating.sc-ion-label-md-h,.item-fill-outline.item-has-focus.item-has-start-slot.label-floating.sc-ion-label-md-h,.item-fill-outline.item-has-focus.item-has-start-slot .label-floating.sc-ion-label-md-h,.item-fill-outline.item-has-placeholder.sc-ion-label-md-h:not(.item-input).item-has-start-slot.label-floating,.item-fill-outline.item-has-placeholder:not(.item-input).item-has-start-slot .label-floating.sc-ion-label-md-h,.item-fill-outline.item-has-value.item-has-start-slot.label-floating.sc-ion-label-md-h,.item-fill-outline.item-has-value.item-has-start-slot .label-floating.sc-ion-label-md-h{-webkit-transform:translateX(-32px) translateY(-6px) scale(0.75);transform:translateX(-32px) translateY(-6px) scale(0.75)}.item-fill-outline.ion-focused.item-has-start-slot.label-floating.label-rtl.sc-ion-label-md-h,.item-fill-outline.ion-focused.item-has-start-slot .label-floating.label-rtl.sc-ion-label-md-h,.item-fill-outline.item-has-focus.item-has-start-slot.label-floating.label-rtl.sc-ion-label-md-h,.item-fill-outline.item-has-focus.item-has-start-slot .label-floating.label-rtl.sc-ion-label-md-h,.item-fill-outline.item-has-placeholder.sc-ion-label-md-h:not(.item-input).item-has-start-slot.label-floating.label-rtl,.item-fill-outline.item-has-placeholder:not(.item-input).item-has-start-slot .label-floating.label-rtl.sc-ion-label-md-h,.item-fill-outline.item-has-value.item-has-start-slot.label-floating.label-rtl.sc-ion-label-md-h,.item-fill-outline.item-has-value.item-has-start-slot .label-floating.label-rtl.sc-ion-label-md-h{-webkit-transform:translateX(calc(-1 * -32px)) translateY(-6px) scale(0.75);transform:translateX(calc(-1 * -32px)) translateY(-6px) scale(0.75)}.ion-focused.label-stacked.sc-ion-label-md-h:not(.ion-color),.ion-focused .label-stacked.sc-ion-label-md-h:not(.ion-color),.ion-focused.label-floating.sc-ion-label-md-h:not(.ion-color),.ion-focused .label-floating.sc-ion-label-md-h:not(.ion-color),.item-has-focus.label-stacked.sc-ion-label-md-h:not(.ion-color),.item-has-focus .label-stacked.sc-ion-label-md-h:not(.ion-color),.item-has-focus.label-floating.sc-ion-label-md-h:not(.ion-color),.item-has-focus .label-floating.sc-ion-label-md-h:not(.ion-color){color:var(--ion-color-primary, #3880ff)}.ion-focused.ion-color.label-stacked.sc-ion-label-md-h:not(.ion-color),.ion-focused.ion-color .label-stacked.sc-ion-label-md-h:not(.ion-color),.ion-focused.ion-color.label-floating.sc-ion-label-md-h:not(.ion-color),.ion-focused.ion-color .label-floating.sc-ion-label-md-h:not(.ion-color),.item-has-focus.ion-color.label-stacked.sc-ion-label-md-h:not(.ion-color),.item-has-focus.ion-color .label-stacked.sc-ion-label-md-h:not(.ion-color),.item-has-focus.ion-color.label-floating.sc-ion-label-md-h:not(.ion-color),.item-has-focus.ion-color .label-floating.sc-ion-label-md-h:not(.ion-color){color:var(--ion-color-contrast)}.item-fill-solid.ion-focused.ion-color.label-stacked.sc-ion-label-md-h:not(.ion-color),.item-fill-solid.ion-focused.ion-color .label-stacked.sc-ion-label-md-h:not(.ion-color),.item-fill-solid.ion-focused.ion-color.label-floating.sc-ion-label-md-h:not(.ion-color),.item-fill-solid.ion-focused.ion-color .label-floating.sc-ion-label-md-h:not(.ion-color),.item-fill-outline.ion-focused.ion-color.label-stacked.sc-ion-label-md-h:not(.ion-color),.item-fill-outline.ion-focused.ion-color .label-stacked.sc-ion-label-md-h:not(.ion-color),.item-fill-outline.ion-focused.ion-color.label-floating.sc-ion-label-md-h:not(.ion-color),.item-fill-outline.ion-focused.ion-color .label-floating.sc-ion-label-md-h:not(.ion-color),.item-fill-solid.item-has-focus.ion-color.label-stacked.sc-ion-label-md-h:not(.ion-color),.item-fill-solid.item-has-focus.ion-color .label-stacked.sc-ion-label-md-h:not(.ion-color),.item-fill-solid.item-has-focus.ion-color.label-floating.sc-ion-label-md-h:not(.ion-color),.item-fill-solid.item-has-focus.ion-color .label-floating.sc-ion-label-md-h:not(.ion-color),.item-fill-outline.item-has-focus.ion-color.label-stacked.sc-ion-label-md-h:not(.ion-color),.item-fill-outline.item-has-focus.ion-color .label-stacked.sc-ion-label-md-h:not(.ion-color),.item-fill-outline.item-has-focus.ion-color.label-floating.sc-ion-label-md-h:not(.ion-color),.item-fill-outline.item-has-focus.ion-color .label-floating.sc-ion-label-md-h:not(.ion-color){color:var(--ion-color-base)}.ion-invalid.ion-touched.label-stacked.sc-ion-label-md-h:not(.ion-color),.ion-invalid.ion-touched .label-stacked.sc-ion-label-md-h:not(.ion-color),.ion-invalid.ion-touched.label-floating.sc-ion-label-md-h:not(.ion-color),.ion-invalid.ion-touched .label-floating.sc-ion-label-md-h:not(.ion-color){color:var(--highlight-color-invalid)}.sc-ion-label-md-s h1{margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px;font-size:1.5rem;font-weight:normal}.sc-ion-label-md-s h2{margin-left:0;margin-right:0;margin-top:2px;margin-bottom:2px;font-size:1rem;font-weight:normal}.sc-ion-label-md-s h3,.sc-ion-label-md-s h4,.sc-ion-label-md-s h5,.sc-ion-label-md-s h6{margin-left:0;margin-right:0;margin-top:2px;margin-bottom:2px;font-size:0.875rem;font-weight:normal;line-height:normal}.sc-ion-label-md-s p{margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px;font-size:0.875rem;line-height:1.25rem;text-overflow:inherit;overflow:inherit}.sc-ion-label-md-s>p{color:var(--ion-color-step-600, #666666)}.sc-ion-label-md-h.in-item-color.sc-ion-label-md-s>p{color:inherit}";
|
|
12
12
|
const IonLabelMdStyle0 = labelMdCss;
|
|
13
13
|
|
|
14
14
|
const Label = /*@__PURE__*/ proxyCustomElement(class Label extends HTMLElement {
|
package/components/overlays.js
CHANGED
|
@@ -5,7 +5,7 @@ import { d as doc } from './index5.js';
|
|
|
5
5
|
import { OVERLAY_BACK_BUTTON_PRIORITY, shoudUseCloseWatcher } from './hardware-back-button.js';
|
|
6
6
|
import { b as getIonMode, c as config } from './ionic-global.js';
|
|
7
7
|
import { C as CoreDelegate } from './framework-delegate.js';
|
|
8
|
-
import { c as componentOnReady, f as
|
|
8
|
+
import { c as componentOnReady, f as focusVisibleElement, a as addEventListener, b as removeEventListener, g as getElementRoot } from './helpers.js';
|
|
9
9
|
import { p as printIonWarning } from './index6.js';
|
|
10
10
|
|
|
11
11
|
let lastOverlayIndex = 0;
|
|
@@ -98,32 +98,48 @@ const createOverlay = (tagName, opts) => {
|
|
|
98
98
|
* valid usage for the disabled property on ion-button.
|
|
99
99
|
*/
|
|
100
100
|
const focusableQueryString = '[tabindex]:not([tabindex^="-"]):not([hidden]):not([disabled]), input:not([type=hidden]):not([tabindex^="-"]):not([hidden]):not([disabled]), textarea:not([tabindex^="-"]):not([hidden]):not([disabled]), button:not([tabindex^="-"]):not([hidden]):not([disabled]), select:not([tabindex^="-"]):not([hidden]):not([disabled]), .ion-focusable:not([tabindex^="-"]):not([hidden]):not([disabled]), .ion-focusable[disabled="false"]:not([tabindex^="-"]):not([hidden])';
|
|
101
|
+
const isOverlayHidden = (overlay) => overlay.classList.contains('overlay-hidden');
|
|
102
|
+
/**
|
|
103
|
+
* Focuses the first descendant in an overlay
|
|
104
|
+
* that can receive focus. If none exists,
|
|
105
|
+
* the entire overlay will be focused.
|
|
106
|
+
*/
|
|
101
107
|
const focusFirstDescendant = (ref, overlay) => {
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
if (shadowRoot) {
|
|
105
|
-
// If there are no inner focusable elements, just focus the host element.
|
|
106
|
-
firstInput = shadowRoot.querySelector(focusableQueryString) || firstInput;
|
|
107
|
-
}
|
|
108
|
-
if (firstInput) {
|
|
109
|
-
focusElement(firstInput);
|
|
110
|
-
}
|
|
111
|
-
else {
|
|
112
|
-
// Focus overlay instead of letting focus escape
|
|
113
|
-
overlay.focus();
|
|
114
|
-
}
|
|
108
|
+
const firstInput = ref.querySelector(focusableQueryString);
|
|
109
|
+
focusElementInOverlay(firstInput, overlay);
|
|
115
110
|
};
|
|
116
|
-
|
|
111
|
+
/**
|
|
112
|
+
* Focuses the last descendant in an overlay
|
|
113
|
+
* that can receive focus. If none exists,
|
|
114
|
+
* the entire overlay will be focused.
|
|
115
|
+
*/
|
|
117
116
|
const focusLastDescendant = (ref, overlay) => {
|
|
118
117
|
const inputs = Array.from(ref.querySelectorAll(focusableQueryString));
|
|
119
|
-
|
|
120
|
-
|
|
118
|
+
const lastInput = inputs.length > 0 ? inputs[inputs.length - 1] : null;
|
|
119
|
+
focusElementInOverlay(lastInput, overlay);
|
|
120
|
+
};
|
|
121
|
+
/**
|
|
122
|
+
* Focuses a particular element in an overlay. If the element
|
|
123
|
+
* doesn't have anything focusable associated with it then
|
|
124
|
+
* the overlay itself will be focused.
|
|
125
|
+
* This should be used instead of the focus() method
|
|
126
|
+
* on most elements because the focusable element
|
|
127
|
+
* may not be the host element.
|
|
128
|
+
*
|
|
129
|
+
* For example, if an ion-button should be focused
|
|
130
|
+
* then we should actually focus the native <button>
|
|
131
|
+
* element inside of ion-button's shadow root, not
|
|
132
|
+
* the host element itself.
|
|
133
|
+
*/
|
|
134
|
+
const focusElementInOverlay = (hostToFocus, overlay) => {
|
|
135
|
+
let elementToFocus = hostToFocus;
|
|
136
|
+
const shadowRoot = hostToFocus === null || hostToFocus === void 0 ? void 0 : hostToFocus.shadowRoot;
|
|
121
137
|
if (shadowRoot) {
|
|
122
138
|
// If there are no inner focusable elements, just focus the host element.
|
|
123
|
-
|
|
139
|
+
elementToFocus = shadowRoot.querySelector(focusableQueryString) || hostToFocus;
|
|
124
140
|
}
|
|
125
|
-
if (
|
|
126
|
-
|
|
141
|
+
if (elementToFocus) {
|
|
142
|
+
focusVisibleElement(elementToFocus);
|
|
127
143
|
}
|
|
128
144
|
else {
|
|
129
145
|
// Focus overlay instead of letting focus escape
|
|
@@ -174,6 +190,21 @@ const trapKeyboardFocus = (ev, doc) => {
|
|
|
174
190
|
*/
|
|
175
191
|
if (lastOverlay === target) {
|
|
176
192
|
lastOverlay.lastFocus = undefined;
|
|
193
|
+
/**
|
|
194
|
+
* Toasts can be presented from an overlay.
|
|
195
|
+
* However, focus should still be returned to
|
|
196
|
+
* the overlay when clicking a toast. Normally,
|
|
197
|
+
* focus would be returned to the last focusable
|
|
198
|
+
* descendant in the overlay which may not always be
|
|
199
|
+
* the button that the toast was presented from. In this case,
|
|
200
|
+
* the focus may be returned to an unexpected element.
|
|
201
|
+
* To account for this, we make sure to return focus to the
|
|
202
|
+
* last focused element in the overlay if focus is
|
|
203
|
+
* moved to the toast.
|
|
204
|
+
*/
|
|
205
|
+
}
|
|
206
|
+
else if (target.tagName === 'ION-TOAST') {
|
|
207
|
+
focusElementInOverlay(lastOverlay.lastFocus, lastOverlay);
|
|
177
208
|
/**
|
|
178
209
|
* Otherwise, we must be focusing an element
|
|
179
210
|
* inside of the overlay. The two possible options
|
|
@@ -245,6 +276,21 @@ const trapKeyboardFocus = (ev, doc) => {
|
|
|
245
276
|
*/
|
|
246
277
|
if (lastOverlay.contains(target)) {
|
|
247
278
|
lastOverlay.lastFocus = target;
|
|
279
|
+
/**
|
|
280
|
+
* Toasts can be presented from an overlay.
|
|
281
|
+
* However, focus should still be returned to
|
|
282
|
+
* the overlay when clicking a toast. Normally,
|
|
283
|
+
* focus would be returned to the last focusable
|
|
284
|
+
* descendant in the overlay which may not always be
|
|
285
|
+
* the button that the toast was presented from. In this case,
|
|
286
|
+
* the focus may be returned to an unexpected element.
|
|
287
|
+
* To account for this, we make sure to return focus to the
|
|
288
|
+
* last focused element in the overlay if focus is
|
|
289
|
+
* moved to the toast.
|
|
290
|
+
*/
|
|
291
|
+
}
|
|
292
|
+
else if (target.tagName === 'ION-TOAST') {
|
|
293
|
+
focusElementInOverlay(lastOverlay.lastFocus, lastOverlay);
|
|
248
294
|
}
|
|
249
295
|
else {
|
|
250
296
|
/**
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
const helpers = require('./helpers-
|
|
6
|
+
const helpers = require('./helpers-da4c0ed1.js');
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* Creates a controller that tracks whether a form control is using the legacy or modern syntax. This should be removed when the legacy form control syntax is removed.
|
|
@@ -239,7 +239,7 @@ const findItemLabel = (componentEl) => {
|
|
|
239
239
|
}
|
|
240
240
|
return null;
|
|
241
241
|
};
|
|
242
|
-
const
|
|
242
|
+
const focusVisibleElement = (el) => {
|
|
243
243
|
el.focus();
|
|
244
244
|
/**
|
|
245
245
|
* When programmatically focusing an element,
|
|
@@ -424,7 +424,7 @@ exports.componentOnReady = componentOnReady;
|
|
|
424
424
|
exports.debounce = debounce;
|
|
425
425
|
exports.debounceEvent = debounceEvent;
|
|
426
426
|
exports.findItemLabel = findItemLabel;
|
|
427
|
-
exports.
|
|
427
|
+
exports.focusVisibleElement = focusVisibleElement;
|
|
428
428
|
exports.getAriaLabel = getAriaLabel;
|
|
429
429
|
exports.getElementRoot = getElementRoot;
|
|
430
430
|
exports.hasLazyBuild = hasLazyBuild;
|
|
@@ -6,9 +6,9 @@
|
|
|
6
6
|
const index$1 = require('./index-c8d52405.js');
|
|
7
7
|
const hardwareBackButton = require('./hardware-back-button-2696acaf.js');
|
|
8
8
|
const index = require('./index-5915f9b3.js');
|
|
9
|
-
const helpers = require('./helpers-
|
|
9
|
+
const helpers = require('./helpers-da4c0ed1.js');
|
|
10
10
|
const ionicGlobal = require('./ionic-global-59a10130.js');
|
|
11
|
-
const animation = require('./animation-
|
|
11
|
+
const animation = require('./animation-c2840aea.js');
|
|
12
12
|
|
|
13
13
|
/**
|
|
14
14
|
* baseAnimation
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
6
|
const index = require('./index-0ffe376d.js');
|
|
7
|
-
const helpers = require('./helpers-
|
|
7
|
+
const helpers = require('./helpers-da4c0ed1.js');
|
|
8
8
|
|
|
9
9
|
const LIFECYCLE_WILL_ENTER = 'ionViewWillEnter';
|
|
10
10
|
const LIFECYCLE_DID_ENTER = 'ionViewDidEnter';
|
|
@@ -12,8 +12,8 @@ const LIFECYCLE_WILL_LEAVE = 'ionViewWillLeave';
|
|
|
12
12
|
const LIFECYCLE_DID_LEAVE = 'ionViewDidLeave';
|
|
13
13
|
const LIFECYCLE_WILL_UNLOAD = 'ionViewWillUnload';
|
|
14
14
|
|
|
15
|
-
const iosTransitionAnimation = () => Promise.resolve().then(function () { return require('./ios.transition-
|
|
16
|
-
const mdTransitionAnimation = () => Promise.resolve().then(function () { return require('./md.transition-
|
|
15
|
+
const iosTransitionAnimation = () => Promise.resolve().then(function () { return require('./ios.transition-96679580.js'); });
|
|
16
|
+
const mdTransitionAnimation = () => Promise.resolve().then(function () { return require('./md.transition-d6c98822.js'); });
|
|
17
17
|
// TODO(FW-2832): types
|
|
18
18
|
const transition = (opts) => {
|
|
19
19
|
return new Promise((resolve, reject) => {
|
package/dist/cjs/index.cjs.js
CHANGED
|
@@ -5,24 +5,24 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const animation = require('./animation-
|
|
9
|
-
const index = require('./index-
|
|
10
|
-
const ios_transition = require('./ios.transition-
|
|
11
|
-
const md_transition = require('./md.transition-
|
|
8
|
+
const animation = require('./animation-c2840aea.js');
|
|
9
|
+
const index = require('./index-9bfcb6e8.js');
|
|
10
|
+
const ios_transition = require('./ios.transition-96679580.js');
|
|
11
|
+
const md_transition = require('./md.transition-d6c98822.js');
|
|
12
12
|
const cubicBezier = require('./cubic-bezier-f2dccc53.js');
|
|
13
13
|
const index$1 = require('./index-d1b59ffa.js');
|
|
14
14
|
const ionicGlobal = require('./ionic-global-59a10130.js');
|
|
15
|
-
const helpers = require('./helpers-
|
|
15
|
+
const helpers = require('./helpers-da4c0ed1.js');
|
|
16
16
|
const config = require('./config-4f60b98a.js');
|
|
17
17
|
const theme = require('./theme-d1c573d2.js');
|
|
18
|
-
const index$2 = require('./index-
|
|
19
|
-
const overlays = require('./overlays-
|
|
18
|
+
const index$2 = require('./index-4c96691f.js');
|
|
19
|
+
const overlays = require('./overlays-db5d96f3.js');
|
|
20
20
|
require('./index-c8d52405.js');
|
|
21
21
|
require('./index-0ffe376d.js');
|
|
22
22
|
require('./gesture-controller-c40c045a.js');
|
|
23
23
|
require('./hardware-back-button-2696acaf.js');
|
|
24
24
|
require('./index-5915f9b3.js');
|
|
25
|
-
require('./framework-delegate-
|
|
25
|
+
require('./framework-delegate-e0e13baa.js');
|
|
26
26
|
|
|
27
27
|
const IonicSlides = (opts) => {
|
|
28
28
|
const { swiper, extendParams } = opts;
|
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
6
|
const index = require('./index-c8d52405.js');
|
|
7
|
-
const index$1 = require('./index-
|
|
8
|
-
const helpers = require('./helpers-
|
|
7
|
+
const index$1 = require('./index-bef98850.js');
|
|
8
|
+
const helpers = require('./helpers-da4c0ed1.js');
|
|
9
9
|
const keyboard = require('./keyboard-0272231f.js');
|
|
10
10
|
require('./index-5915f9b3.js');
|
|
11
11
|
require('./capacitor-c04564bf.js');
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
8
|
const index = require('./index-0ffe376d.js');
|
|
9
|
-
const helpers = require('./helpers-
|
|
9
|
+
const helpers = require('./helpers-da4c0ed1.js');
|
|
10
10
|
const index$1 = require('./index-f52c6d38.js');
|
|
11
11
|
const ionicGlobal = require('./ionic-global-59a10130.js');
|
|
12
12
|
const index$2 = require('./index-5915f9b3.js');
|
|
@@ -7,19 +7,19 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
7
7
|
|
|
8
8
|
const index = require('./index-0ffe376d.js');
|
|
9
9
|
const buttonActive = require('./button-active-2d6520ec.js');
|
|
10
|
-
const helpers = require('./helpers-
|
|
10
|
+
const helpers = require('./helpers-da4c0ed1.js');
|
|
11
11
|
const lockController = require('./lock-controller-6585a42a.js');
|
|
12
|
-
const overlays = require('./overlays-
|
|
12
|
+
const overlays = require('./overlays-db5d96f3.js');
|
|
13
13
|
const theme = require('./theme-d1c573d2.js');
|
|
14
14
|
const ionicGlobal = require('./ionic-global-59a10130.js');
|
|
15
|
-
const animation = require('./animation-
|
|
15
|
+
const animation = require('./animation-c2840aea.js');
|
|
16
16
|
require('./haptic-b882e0bb.js');
|
|
17
17
|
require('./capacitor-c04564bf.js');
|
|
18
18
|
require('./index-c8d52405.js');
|
|
19
19
|
require('./index-d1b59ffa.js');
|
|
20
20
|
require('./gesture-controller-c40c045a.js');
|
|
21
21
|
require('./hardware-back-button-2696acaf.js');
|
|
22
|
-
require('./framework-delegate-
|
|
22
|
+
require('./framework-delegate-e0e13baa.js');
|
|
23
23
|
require('./index-5915f9b3.js');
|
|
24
24
|
|
|
25
25
|
/**
|
|
@@ -8,19 +8,19 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
8
8
|
const index = require('./index-0ffe376d.js');
|
|
9
9
|
const config = require('./config-4f60b98a.js');
|
|
10
10
|
const buttonActive = require('./button-active-2d6520ec.js');
|
|
11
|
-
const helpers = require('./helpers-
|
|
11
|
+
const helpers = require('./helpers-da4c0ed1.js');
|
|
12
12
|
const lockController = require('./lock-controller-6585a42a.js');
|
|
13
|
-
const overlays = require('./overlays-
|
|
13
|
+
const overlays = require('./overlays-db5d96f3.js');
|
|
14
14
|
const theme = require('./theme-d1c573d2.js');
|
|
15
15
|
const ionicGlobal = require('./ionic-global-59a10130.js');
|
|
16
|
-
const animation = require('./animation-
|
|
16
|
+
const animation = require('./animation-c2840aea.js');
|
|
17
17
|
require('./haptic-b882e0bb.js');
|
|
18
18
|
require('./capacitor-c04564bf.js');
|
|
19
19
|
require('./index-c8d52405.js');
|
|
20
20
|
require('./index-d1b59ffa.js');
|
|
21
21
|
require('./gesture-controller-c40c045a.js');
|
|
22
22
|
require('./hardware-back-button-2696acaf.js');
|
|
23
|
-
require('./framework-delegate-
|
|
23
|
+
require('./framework-delegate-e0e13baa.js');
|
|
24
24
|
require('./index-5915f9b3.js');
|
|
25
25
|
|
|
26
26
|
/**
|
|
@@ -9,15 +9,15 @@ const index = require('./index-0ffe376d.js');
|
|
|
9
9
|
const hardwareBackButton = require('./hardware-back-button-2696acaf.js');
|
|
10
10
|
const index$1 = require('./index-5915f9b3.js');
|
|
11
11
|
const ionicGlobal = require('./ionic-global-59a10130.js');
|
|
12
|
-
const helpers = require('./helpers-
|
|
12
|
+
const helpers = require('./helpers-da4c0ed1.js');
|
|
13
13
|
const dir = require('./dir-94c21456.js');
|
|
14
14
|
const theme = require('./theme-d1c573d2.js');
|
|
15
|
-
const index$2 = require('./index-
|
|
15
|
+
const index$2 = require('./index-bef98850.js');
|
|
16
16
|
const keyboardController = require('./keyboard-controller-c05e747a.js');
|
|
17
17
|
const cubicBezier = require('./cubic-bezier-f2dccc53.js');
|
|
18
|
-
const frameworkDelegate = require('./framework-delegate-
|
|
18
|
+
const frameworkDelegate = require('./framework-delegate-e0e13baa.js');
|
|
19
19
|
const lockController = require('./lock-controller-6585a42a.js');
|
|
20
|
-
const index$3 = require('./index-
|
|
20
|
+
const index$3 = require('./index-9bfcb6e8.js');
|
|
21
21
|
require('./index-c8d52405.js');
|
|
22
22
|
require('./keyboard-0272231f.js');
|
|
23
23
|
require('./capacitor-c04564bf.js');
|
|
@@ -34,10 +34,10 @@ const App = class {
|
|
|
34
34
|
rIC(async () => {
|
|
35
35
|
const isHybrid = ionicGlobal.isPlatform(window, 'hybrid');
|
|
36
36
|
if (!ionicGlobal.config.getBoolean('_testing')) {
|
|
37
|
-
Promise.resolve().then(function () { return require('./index-
|
|
37
|
+
Promise.resolve().then(function () { return require('./index-62290fec.js'); }).then((module) => module.startTapClick(ionicGlobal.config));
|
|
38
38
|
}
|
|
39
39
|
if (ionicGlobal.config.getBoolean('statusTap', isHybrid)) {
|
|
40
|
-
Promise.resolve().then(function () { return require('./status-tap-
|
|
40
|
+
Promise.resolve().then(function () { return require('./status-tap-7ad5f0fb.js'); }).then((module) => module.startStatusTap());
|
|
41
41
|
}
|
|
42
42
|
if (ionicGlobal.config.getBoolean('inputShims', needInputShims())) {
|
|
43
43
|
/**
|
|
@@ -45,7 +45,7 @@ const App = class {
|
|
|
45
45
|
* platforms proceed into this block.
|
|
46
46
|
*/
|
|
47
47
|
const platform = ionicGlobal.isPlatform(window, 'ios') ? 'ios' : 'android';
|
|
48
|
-
Promise.resolve().then(function () { return require('./input-shims-
|
|
48
|
+
Promise.resolve().then(function () { return require('./input-shims-a9a85bb9.js'); }).then((module) => module.startInputShims(ionicGlobal.config, platform));
|
|
49
49
|
}
|
|
50
50
|
const hardwareBackButtonModule = await Promise.resolve().then(function () { return require('./hardware-back-button-2696acaf.js'); });
|
|
51
51
|
const supportsHardwareBackButtonEvents = isHybrid || hardwareBackButton.shoudUseCloseWatcher();
|
|
@@ -1032,7 +1032,7 @@ const RouterOutlet = class {
|
|
|
1032
1032
|
this.swipeHandler.onStart();
|
|
1033
1033
|
}
|
|
1034
1034
|
};
|
|
1035
|
-
this.gesture = (await Promise.resolve().then(function () { return require('./swipe-back-
|
|
1035
|
+
this.gesture = (await Promise.resolve().then(function () { return require('./swipe-back-dcd0d4a9.js'); })).createSwipeBackGesture(this.el, () => !this.gestureOrAnimationInProgress && !!this.swipeHandler && this.swipeHandler.canStart(), () => onStart(), (step) => { var _a; return (_a = this.ani) === null || _a === void 0 ? void 0 : _a.progressStep(step); }, (shouldComplete, step, dur) => {
|
|
1036
1036
|
if (this.ani) {
|
|
1037
1037
|
this.ani.onFinish(() => {
|
|
1038
1038
|
this.gestureOrAnimationInProgress = false;
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
8
|
const index = require('./index-0ffe376d.js');
|
|
9
|
-
const helpers = require('./helpers-
|
|
9
|
+
const helpers = require('./helpers-da4c0ed1.js');
|
|
10
10
|
const theme = require('./theme-d1c573d2.js');
|
|
11
11
|
const index$1 = require('./index-f52c6d38.js');
|
|
12
12
|
const ionicGlobal = require('./ionic-global-59a10130.js');
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
8
|
const index = require('./index-0ffe376d.js');
|
|
9
|
-
const helpers = require('./helpers-
|
|
9
|
+
const helpers = require('./helpers-da4c0ed1.js');
|
|
10
10
|
const theme = require('./theme-d1c573d2.js');
|
|
11
11
|
const index$1 = require('./index-f52c6d38.js');
|
|
12
12
|
const ionicGlobal = require('./ionic-global-59a10130.js');
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
8
|
const index = require('./index-0ffe376d.js');
|
|
9
|
-
const helpers = require('./helpers-
|
|
9
|
+
const helpers = require('./helpers-da4c0ed1.js');
|
|
10
10
|
const index$1 = require('./index-5915f9b3.js');
|
|
11
11
|
const theme = require('./theme-d1c573d2.js');
|
|
12
12
|
const ionicGlobal = require('./ionic-global-59a10130.js');
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
8
|
const index = require('./index-0ffe376d.js');
|
|
9
|
-
const helpers = require('./helpers-
|
|
9
|
+
const helpers = require('./helpers-da4c0ed1.js');
|
|
10
10
|
const theme = require('./theme-d1c573d2.js');
|
|
11
11
|
const ionicGlobal = require('./ionic-global-59a10130.js');
|
|
12
12
|
|
|
@@ -6,8 +6,8 @@
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
8
|
const index = require('./index-0ffe376d.js');
|
|
9
|
-
const formController = require('./form-controller-
|
|
10
|
-
const helpers = require('./helpers-
|
|
9
|
+
const formController = require('./form-controller-c83330c0.js');
|
|
10
|
+
const helpers = require('./helpers-da4c0ed1.js');
|
|
11
11
|
const index$1 = require('./index-5915f9b3.js');
|
|
12
12
|
const theme = require('./theme-d1c573d2.js');
|
|
13
13
|
const ionicGlobal = require('./ionic-global-59a10130.js');
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
8
|
const index = require('./index-0ffe376d.js');
|
|
9
|
-
const helpers = require('./helpers-
|
|
9
|
+
const helpers = require('./helpers-da4c0ed1.js');
|
|
10
10
|
const index$1 = require('./index-5915f9b3.js');
|
|
11
11
|
const theme = require('./theme-d1c573d2.js');
|
|
12
12
|
const ionicGlobal = require('./ionic-global-59a10130.js');
|
|
@@ -7,7 +7,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
7
7
|
|
|
8
8
|
const index$1 = require('./index-0ffe376d.js');
|
|
9
9
|
const focusVisible = require('./focus-visible-7a0ce04f.js');
|
|
10
|
-
const helpers = require('./helpers-
|
|
10
|
+
const helpers = require('./helpers-da4c0ed1.js');
|
|
11
11
|
const index = require('./index-5915f9b3.js');
|
|
12
12
|
const dir = require('./dir-94c21456.js');
|
|
13
13
|
const theme = require('./theme-d1c573d2.js');
|
|
@@ -15,12 +15,12 @@ const index$2 = require('./index-f52c6d38.js');
|
|
|
15
15
|
const ionicGlobal = require('./ionic-global-59a10130.js');
|
|
16
16
|
const data = require('./data-a5109f09.js');
|
|
17
17
|
const lockController = require('./lock-controller-6585a42a.js');
|
|
18
|
-
const overlays = require('./overlays-
|
|
19
|
-
const animation = require('./animation-
|
|
18
|
+
const overlays = require('./overlays-db5d96f3.js');
|
|
19
|
+
const animation = require('./animation-c2840aea.js');
|
|
20
20
|
const haptic = require('./haptic-b882e0bb.js');
|
|
21
21
|
require('./index-c8d52405.js');
|
|
22
22
|
require('./hardware-back-button-2696acaf.js');
|
|
23
|
-
require('./framework-delegate-
|
|
23
|
+
require('./framework-delegate-e0e13baa.js');
|
|
24
24
|
require('./capacitor-c04564bf.js');
|
|
25
25
|
|
|
26
26
|
const isYearDisabled = (refYear, minParts, maxParts) => {
|
|
@@ -7,7 +7,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
7
7
|
|
|
8
8
|
const index = require('./index-0ffe376d.js');
|
|
9
9
|
const ionicGlobal = require('./ionic-global-59a10130.js');
|
|
10
|
-
const helpers = require('./helpers-
|
|
10
|
+
const helpers = require('./helpers-da4c0ed1.js');
|
|
11
11
|
const theme = require('./theme-d1c573d2.js');
|
|
12
12
|
const index$1 = require('./index-f52c6d38.js');
|
|
13
13
|
|