@ionic/core 7.3.4-dev.11694534020.12e16bee → 7.3.4-dev.11694542086.1f624b36
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/icon.js +5 -22
- package/components/index7.js +1 -1
- package/components/input-shims.js +76 -2
- package/components/ion-menu.js +2 -2
- package/components/ion-toolbar.js +2 -2
- package/dist/cjs/{app-globals-a579aafd.js → app-globals-a63c2a19.js} +1 -1
- package/dist/cjs/{button-active-dfd2756e.js → button-active-0ff8e82c.js} +1 -1
- package/dist/cjs/{index-484b1104.js → index-184fdd62.js} +6 -6
- package/dist/cjs/{index-8568bedb.js → index-be8a2ab9.js} +3 -3
- package/dist/cjs/{index-c3b215ee.js → index-d8d1fc0b.js} +1 -1
- package/dist/cjs/{index-653be4df.js → index-e6416850.js} +1 -1
- package/dist/cjs/index.cjs.js +7 -7
- package/dist/cjs/{input-shims-f8569707.js → input-shims-d8e322aa.js} +76 -2
- package/dist/cjs/ion-accordion_2.cjs.entry.js +3 -3
- 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 +7 -7
- package/dist/cjs/ion-avatar_3.cjs.entry.js +2 -2
- package/dist/cjs/ion-back-button.cjs.entry.js +3 -3
- package/dist/cjs/ion-backdrop.cjs.entry.js +2 -2
- package/dist/cjs/ion-breadcrumb_2.cjs.entry.js +3 -3
- package/dist/cjs/ion-button_2.cjs.entry.js +7 -24
- package/dist/cjs/ion-card_5.cjs.entry.js +2 -2
- package/dist/cjs/ion-checkbox.cjs.entry.js +2 -2
- package/dist/cjs/ion-chip.cjs.entry.js +2 -2
- package/dist/cjs/ion-col_3.cjs.entry.js +2 -2
- package/dist/cjs/ion-datetime-button.cjs.entry.js +2 -2
- package/dist/cjs/ion-datetime_3.cjs.entry.js +4 -4
- package/dist/cjs/ion-fab_3.cjs.entry.js +3 -3
- package/dist/cjs/ion-img.cjs.entry.js +2 -2
- package/dist/cjs/ion-infinite-scroll_2.cjs.entry.js +2 -2
- package/dist/cjs/ion-input.cjs.entry.js +3 -3
- 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 +3 -3
- package/dist/cjs/ion-menu_3.cjs.entry.js +7 -7
- package/dist/cjs/ion-modal.cjs.entry.js +4 -4
- package/dist/cjs/ion-nav_2.cjs.entry.js +3 -3
- package/dist/cjs/ion-picker-column-internal.cjs.entry.js +2 -2
- package/dist/cjs/ion-picker-internal.cjs.entry.js +1 -1
- package/dist/cjs/ion-popover.cjs.entry.js +4 -4
- package/dist/cjs/ion-progress-bar.cjs.entry.js +2 -2
- package/dist/cjs/ion-radio_2.cjs.entry.js +2 -2
- package/dist/cjs/ion-range.cjs.entry.js +2 -2
- package/dist/cjs/ion-refresher_2.cjs.entry.js +3 -3
- package/dist/cjs/ion-reorder_2.cjs.entry.js +3 -3
- package/dist/cjs/ion-ripple-effect.cjs.entry.js +2 -2
- package/dist/cjs/ion-route_4.cjs.entry.js +2 -2
- package/dist/cjs/ion-searchbar.cjs.entry.js +3 -3
- package/dist/cjs/ion-segment_2.cjs.entry.js +2 -2
- package/dist/cjs/ion-select_3.cjs.entry.js +4 -4
- package/dist/cjs/ion-spinner.cjs.entry.js +2 -2
- package/dist/cjs/ion-split-pane.cjs.entry.js +2 -2
- package/dist/cjs/ion-tab-bar_2.cjs.entry.js +2 -2
- package/dist/cjs/ion-tab_2.cjs.entry.js +1 -1
- package/dist/cjs/ion-text.cjs.entry.js +2 -2
- package/dist/cjs/ion-textarea.cjs.entry.js +2 -2
- package/dist/cjs/ion-toast.cjs.entry.js +3 -3
- package/dist/cjs/ion-toggle.cjs.entry.js +3 -3
- package/dist/cjs/{ionic-global-f81d8b73.js → ionic-global-6d5d27b5.js} +1 -1
- package/dist/cjs/ionic.cjs.js +4 -4
- package/dist/cjs/{ios.transition-f7c78d7c.js → ios.transition-80582b44.js} +2 -2
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/{md.transition-65dc7dce.js → md.transition-eeca9fb5.js} +2 -2
- package/dist/cjs/{overlays-5c1706ed.js → overlays-c78a0148.js} +1 -1
- package/dist/cjs/{status-tap-4564b66c.js → status-tap-cc4c6539.js} +1 -1
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/menu/menu.ios.css +94 -0
- package/dist/collection/components/menu/menu.md.css +94 -0
- package/dist/collection/components/toolbar/toolbar.ios.css +2 -4
- package/dist/collection/components/toolbar/toolbar.md.css +2 -4
- package/dist/collection/utils/input-shims/hacks/scroll-assist.js +76 -2
- package/dist/docs.json +2 -2
- package/dist/esm/{app-globals-e8ddf830.js → app-globals-c7886b40.js} +1 -1
- package/dist/esm/{button-active-2da0f611.js → button-active-b76ae4ec.js} +1 -1
- package/dist/esm/{index-6391de89.js → index-01839411.js} +3 -3
- package/dist/esm/{index-b3e05099.js → index-48f5e259.js} +1 -1
- package/dist/esm/{index-847f2fde.js → index-adfb2000.js} +6 -6
- package/dist/esm/{index-87d8642c.js → index-ecfc2c9f.js} +1 -1
- package/dist/esm/index.js +7 -7
- package/dist/esm/{input-shims-af993f05.js → input-shims-c738363e.js} +76 -2
- package/dist/esm/ion-accordion_2.entry.js +3 -3
- 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 +7 -7
- package/dist/esm/ion-avatar_3.entry.js +2 -2
- package/dist/esm/ion-back-button.entry.js +3 -3
- package/dist/esm/ion-backdrop.entry.js +2 -2
- package/dist/esm/ion-breadcrumb_2.entry.js +3 -3
- package/dist/esm/ion-button_2.entry.js +7 -24
- package/dist/esm/ion-card_5.entry.js +2 -2
- package/dist/esm/ion-checkbox.entry.js +2 -2
- package/dist/esm/ion-chip.entry.js +2 -2
- package/dist/esm/ion-col_3.entry.js +2 -2
- package/dist/esm/ion-datetime-button.entry.js +2 -2
- package/dist/esm/ion-datetime_3.entry.js +4 -4
- package/dist/esm/ion-fab_3.entry.js +3 -3
- package/dist/esm/ion-img.entry.js +2 -2
- package/dist/esm/ion-infinite-scroll_2.entry.js +2 -2
- package/dist/esm/ion-input.entry.js +3 -3
- 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 +3 -3
- package/dist/esm/ion-menu_3.entry.js +7 -7
- package/dist/esm/ion-modal.entry.js +4 -4
- package/dist/esm/ion-nav_2.entry.js +3 -3
- package/dist/esm/ion-picker-column-internal.entry.js +2 -2
- package/dist/esm/ion-picker-internal.entry.js +1 -1
- package/dist/esm/ion-popover.entry.js +4 -4
- package/dist/esm/ion-progress-bar.entry.js +2 -2
- package/dist/esm/ion-radio_2.entry.js +2 -2
- package/dist/esm/ion-range.entry.js +2 -2
- package/dist/esm/ion-refresher_2.entry.js +3 -3
- package/dist/esm/ion-reorder_2.entry.js +3 -3
- package/dist/esm/ion-ripple-effect.entry.js +2 -2
- package/dist/esm/ion-route_4.entry.js +2 -2
- package/dist/esm/ion-searchbar.entry.js +3 -3
- package/dist/esm/ion-segment_2.entry.js +2 -2
- package/dist/esm/ion-select_3.entry.js +4 -4
- package/dist/esm/ion-spinner.entry.js +2 -2
- package/dist/esm/ion-split-pane.entry.js +2 -2
- package/dist/esm/ion-tab-bar_2.entry.js +2 -2
- package/dist/esm/ion-tab_2.entry.js +1 -1
- package/dist/esm/ion-text.entry.js +2 -2
- package/dist/esm/ion-textarea.entry.js +2 -2
- package/dist/esm/ion-toast.entry.js +3 -3
- package/dist/esm/ion-toggle.entry.js +3 -3
- package/dist/esm/{ionic-global-1ef19007.js → ionic-global-9080266a.js} +1 -1
- package/dist/esm/ionic.js +5 -5
- package/dist/esm/{ios.transition-3137d23e.js → ios.transition-f43871cd.js} +2 -2
- package/dist/esm/loader.js +4 -4
- package/dist/esm/{md.transition-48b3b77c.js → md.transition-12d21ad0.js} +2 -2
- package/dist/esm/{overlays-e1dadfe6.js → overlays-4565894b.js} +1 -1
- package/dist/esm/{status-tap-823a0df3.js → status-tap-121c711d.js} +1 -1
- package/dist/esm-es5/app-globals-c7886b40.js +4 -0
- package/dist/esm-es5/{button-active-2da0f611.js → button-active-b76ae4ec.js} +1 -1
- package/dist/esm-es5/{index-6391de89.js → index-01839411.js} +1 -1
- package/dist/esm-es5/{index-b3e05099.js → index-48f5e259.js} +1 -1
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/input-shims-c738363e.js +4 -0
- 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-avatar_3.entry.js +1 -1
- package/dist/esm-es5/ion-back-button.entry.js +1 -1
- package/dist/esm-es5/ion-backdrop.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-chip.entry.js +1 -1
- package/dist/esm-es5/ion-col_3.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-ripple-effect.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-spinner.entry.js +1 -1
- package/dist/esm-es5/ion-split-pane.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-text.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-global-1ef19007.js → ionic-global-9080266a.js} +1 -1
- package/dist/esm-es5/ionic.js +1 -1
- package/dist/esm-es5/{ios.transition-3137d23e.js → ios.transition-f43871cd.js} +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/md.transition-12d21ad0.js +4 -0
- package/dist/esm-es5/{overlays-e1dadfe6.js → overlays-4565894b.js} +1 -1
- package/dist/esm-es5/{status-tap-823a0df3.js → status-tap-121c711d.js} +1 -1
- 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-c75d63c0.entry.js → p-041ac2c3.entry.js} +1 -1
- package/dist/ionic/{p-fabb7294.entry.js → p-072f99fd.entry.js} +1 -1
- package/dist/ionic/{p-99028088.entry.js → p-07656a8a.entry.js} +1 -1
- package/dist/ionic/{p-857be909.entry.js → p-07f5e286.entry.js} +1 -1
- package/dist/ionic/{p-b0129e93.system.entry.js → p-0ce43a8f.system.entry.js} +1 -1
- package/dist/ionic/{p-98ebc376.entry.js → p-0dbfa45f.entry.js} +1 -1
- package/dist/ionic/{p-38dd9aec.entry.js → p-11d0977d.entry.js} +1 -1
- package/dist/ionic/{p-2cdcd6f2.entry.js → p-17e961cf.entry.js} +1 -1
- package/dist/ionic/{p-fe83e3e2.entry.js → p-1916030e.entry.js} +1 -1
- package/dist/ionic/{p-b3cfc6e1.system.entry.js → p-1b533a76.system.entry.js} +1 -1
- package/dist/ionic/{p-bbae0ac3.system.entry.js → p-1c236453.system.entry.js} +1 -1
- package/dist/ionic/{p-b2514862.system.entry.js → p-204fb8f0.system.entry.js} +1 -1
- package/dist/ionic/p-23ddd787.system.entry.js +4 -0
- package/dist/ionic/{p-3ea57ced.system.entry.js → p-26276eb7.system.entry.js} +1 -1
- package/dist/ionic/{p-208f640c.entry.js → p-28d8b87b.entry.js} +1 -1
- package/dist/ionic/{p-e1f491c6.system.entry.js → p-2ac2278e.system.entry.js} +1 -1
- package/dist/ionic/p-2b0ecc04.entry.js +4 -0
- package/dist/ionic/{p-69303bb5.system.js → p-2e5930dd.system.js} +1 -1
- package/dist/ionic/{p-bf4b8d8a.system.entry.js → p-32983529.system.entry.js} +1 -1
- package/dist/ionic/{p-23f63cc8.system.entry.js → p-3bf120f8.system.entry.js} +1 -1
- package/dist/ionic/{p-e3cba96d.js → p-3c325277.js} +1 -1
- package/dist/ionic/{p-82632e15.system.js → p-3d5a6d14.system.js} +1 -1
- package/dist/ionic/{p-77f91ca9.entry.js → p-3f15f60b.entry.js} +1 -1
- package/dist/ionic/{p-6b3afb0f.entry.js → p-42e0558f.entry.js} +1 -1
- package/dist/ionic/{p-06d6e9c0.system.entry.js → p-4446e19f.system.entry.js} +1 -1
- package/dist/ionic/{p-5f611d9e.system.entry.js → p-44a6f15d.system.entry.js} +1 -1
- package/dist/ionic/{p-55afcc56.entry.js → p-47a11fc4.entry.js} +1 -1
- package/dist/ionic/{p-1ec4dc01.entry.js → p-48d378cf.entry.js} +1 -1
- package/dist/ionic/{p-93e47822.entry.js → p-49f2eaa6.entry.js} +1 -1
- package/dist/ionic/{p-7b3fcf85.entry.js → p-4d2807fa.entry.js} +1 -1
- package/dist/ionic/{p-32d11ce2.system.entry.js → p-4e1a58c6.system.entry.js} +1 -1
- package/dist/ionic/{p-859b1ee6.entry.js → p-4f7109fa.entry.js} +1 -1
- package/dist/ionic/{p-11a42c03.system.entry.js → p-5080e623.system.entry.js} +1 -1
- package/dist/ionic/{p-c4afbed8.system.entry.js → p-5163baf4.system.entry.js} +1 -1
- package/dist/ionic/{p-0219ac12.system.entry.js → p-516421e2.system.entry.js} +1 -1
- package/dist/ionic/{p-d1d3b740.system.entry.js → p-5260588f.system.entry.js} +1 -1
- package/dist/ionic/{p-b22ee0dc.js → p-563068af.js} +1 -1
- package/dist/ionic/p-56495958.js +4 -0
- package/dist/ionic/{p-dc49c681.system.entry.js → p-574411f2.system.entry.js} +1 -1
- package/dist/ionic/{p-8a676776.entry.js → p-57847936.entry.js} +1 -1
- package/dist/ionic/{p-d3378c35.entry.js → p-59b40b60.entry.js} +1 -1
- package/dist/ionic/{p-af0bc751.system.entry.js → p-5a9dc764.system.entry.js} +1 -1
- package/dist/ionic/{p-0ff17c93.entry.js → p-5df94bf8.entry.js} +1 -1
- package/dist/ionic/{p-81597423.system.js → p-5e549223.system.js} +1 -1
- package/dist/ionic/{p-8ba724fa.system.js → p-5fc777e6.system.js} +1 -1
- package/dist/ionic/{p-f79efebd.system.entry.js → p-6276ba2f.system.entry.js} +1 -1
- package/dist/ionic/{p-7c938ad6.js → p-629b0629.js} +1 -1
- package/dist/ionic/{p-5ed5b824.entry.js → p-68deb933.entry.js} +1 -1
- package/dist/ionic/{p-b0e9e0b8.system.entry.js → p-6ccffb74.system.entry.js} +1 -1
- package/dist/ionic/{p-98a189f3.entry.js → p-6dff4431.entry.js} +1 -1
- package/dist/ionic/{p-fa3327e8.system.entry.js → p-6eb7b33c.system.entry.js} +1 -1
- package/dist/ionic/{p-8843b046.system.js → p-7106c152.system.js} +1 -1
- package/dist/ionic/{p-839bd69f.system.entry.js → p-7474a472.system.entry.js} +1 -1
- package/dist/ionic/{p-0b68c41d.system.entry.js → p-74834696.system.entry.js} +1 -1
- package/dist/ionic/p-75d4ceab.js +4 -0
- package/dist/ionic/{p-d313542f.entry.js → p-765e6339.entry.js} +1 -1
- package/dist/ionic/{p-c759a704.entry.js → p-7b14f1a9.entry.js} +1 -1
- package/dist/ionic/{p-f95f798a.system.entry.js → p-810f1bc9.system.entry.js} +1 -1
- package/dist/ionic/p-83459b99.entry.js +4 -0
- package/dist/ionic/{p-e46368a2.entry.js → p-84084b75.entry.js} +1 -1
- package/dist/ionic/{p-68e0ea3c.entry.js → p-8bcd482b.entry.js} +1 -1
- package/dist/ionic/{p-48144921.entry.js → p-8db97b90.entry.js} +1 -1
- package/dist/ionic/p-8f7edf3e.js +4 -0
- package/dist/ionic/{p-87383d00.system.entry.js → p-95188051.system.entry.js} +1 -1
- package/dist/ionic/{p-57dc87eb.system.entry.js → p-98bfaff3.system.entry.js} +1 -1
- package/dist/ionic/p-99a3df5c.entry.js +4 -0
- package/dist/ionic/{p-0142ba6d.entry.js → p-9b53c813.entry.js} +1 -1
- package/dist/ionic/{p-e679bd69.system.entry.js → p-9be96bf3.system.entry.js} +1 -1
- package/dist/ionic/{p-f7faa32d.entry.js → p-9e8727d6.entry.js} +1 -1
- package/dist/ionic/{p-5cd94cc1.entry.js → p-9eaaa910.entry.js} +1 -1
- package/dist/ionic/{p-653f2fc6.entry.js → p-9eced28c.entry.js} +1 -1
- package/dist/ionic/{p-180f4e51.system.entry.js → p-9f3ad626.system.entry.js} +1 -1
- package/dist/ionic/{p-d1bab5e7.system.entry.js → p-a033a91d.system.entry.js} +1 -1
- package/dist/ionic/{p-62324608.system.entry.js → p-a037b6d5.system.entry.js} +1 -1
- package/dist/ionic/{p-df6743df.system.js → p-a122ecd0.system.js} +1 -1
- package/dist/ionic/{p-83008f7c.system.js → p-a314559e.system.js} +2 -2
- package/dist/ionic/p-a533868d.system.js +4 -0
- package/dist/ionic/{p-1d82df31.system.entry.js → p-a8270ae8.system.entry.js} +1 -1
- package/dist/ionic/{p-0053fe81.system.entry.js → p-af6125d1.system.entry.js} +1 -1
- package/dist/ionic/{p-785b0913.entry.js → p-b052b578.entry.js} +1 -1
- package/dist/ionic/{p-91459620.js → p-b3f6f321.js} +1 -1
- package/dist/ionic/{p-a8e01c65.entry.js → p-b453b38d.entry.js} +1 -1
- package/dist/ionic/{p-fea46870.system.entry.js → p-b703ebeb.system.entry.js} +1 -1
- package/dist/ionic/{p-e53b8af4.system.entry.js → p-b8d7f0eb.system.entry.js} +1 -1
- package/dist/ionic/{p-d3b8aebf.entry.js → p-b9179eab.entry.js} +1 -1
- package/dist/ionic/{p-59646db0.entry.js → p-bacf09d3.entry.js} +1 -1
- package/dist/ionic/{p-4457f4a6.entry.js → p-be187db3.entry.js} +1 -1
- package/dist/ionic/{p-b32742f3.system.js → p-bfee11b2.system.js} +1 -1
- package/dist/ionic/p-c254bde2.js +4 -0
- package/dist/ionic/{p-45ee211b.system.entry.js → p-c2b524f3.system.entry.js} +1 -1
- package/dist/ionic/{p-0660215f.entry.js → p-c2d6088f.entry.js} +1 -1
- package/dist/ionic/{p-06902103.system.js → p-c68a8814.system.js} +1 -1
- package/dist/ionic/p-c7ce7e18.entry.js +4 -0
- package/dist/ionic/{p-336420f9.system.entry.js → p-c8c0d58a.system.entry.js} +1 -1
- package/dist/ionic/{p-728ac2b3.entry.js → p-cd002251.entry.js} +1 -1
- package/dist/ionic/{p-11248f01.js → p-d57e8b06.js} +1 -1
- package/dist/ionic/{p-2539e967.system.entry.js → p-d8d30fd1.system.entry.js} +1 -1
- package/dist/ionic/p-dacb0258.js +4 -0
- package/dist/ionic/{p-b5aa940c.system.entry.js → p-dc4c9086.system.entry.js} +1 -1
- package/dist/ionic/{p-5b88f780.entry.js → p-dc7d392d.entry.js} +1 -1
- package/dist/ionic/{p-0cc2bf5a.system.entry.js → p-e239ab05.system.entry.js} +1 -1
- package/dist/ionic/{p-fd42994b.system.entry.js → p-e65aed58.system.entry.js} +1 -1
- package/dist/ionic/{p-d5e3bff3.entry.js → p-eb91aee6.entry.js} +1 -1
- package/dist/ionic/{p-5221e3d9.system.entry.js → p-ec344ed1.system.entry.js} +1 -1
- package/dist/ionic/{p-ed7b205b.entry.js → p-ec7ff98b.entry.js} +1 -1
- package/dist/ionic/{p-8afcaae4.system.entry.js → p-ee55302a.system.entry.js} +1 -1
- package/dist/ionic/{p-dbb48066.system.entry.js → p-ef8a8827.system.entry.js} +1 -1
- package/dist/ionic/{p-b1e8f045.entry.js → p-f3ec1f2b.entry.js} +1 -1
- package/dist/ionic/p-f58cbf92.system.js +4 -0
- package/dist/ionic/{p-639d7b25.entry.js → p-f62bed60.entry.js} +1 -1
- package/dist/ionic/{p-a1191dc0.system.entry.js → p-fa8fc77b.system.entry.js} +1 -1
- package/dist/ionic/{p-5d7aa5dc.system.entry.js → p-fb26fa56.system.entry.js} +1 -1
- package/dist/ionic/{p-3ef88fc2.system.entry.js → p-fde174d6.system.entry.js} +1 -1
- package/dist/ionic/{p-7b16490a.system.js → p-ff3d728d.system.js} +1 -1
- package/dist/node_modules/ionicons/dist/collection/components/icon/icon.css +6 -50
- package/dist/types/stencil-public-runtime.d.ts +3 -3
- package/hydrate/index.d.ts +5 -5
- package/hydrate/index.js +50 -68
- package/package.json +4 -4
- package/dist/esm-es5/app-globals-e8ddf830.js +0 -4
- package/dist/esm-es5/input-shims-af993f05.js +0 -4
- package/dist/esm-es5/md.transition-48b3b77c.js +0 -4
- package/dist/ionic/p-0be94477.entry.js +0 -4
- package/dist/ionic/p-273e78ae.entry.js +0 -4
- package/dist/ionic/p-4531b920.system.js +0 -4
- package/dist/ionic/p-582dc7c1.js +0 -4
- package/dist/ionic/p-778460f7.js +0 -4
- package/dist/ionic/p-79d17e21.system.entry.js +0 -4
- package/dist/ionic/p-a2b25750.js +0 -4
- package/dist/ionic/p-a62c0ff4.js +0 -4
- package/dist/ionic/p-c53dd7a2.entry.js +0 -4
- package/dist/ionic/p-d2d25501.entry.js +0 -4
- package/dist/ionic/p-d898dd46.js +0 -4
- package/dist/ionic/p-e3d5608d.system.js +0 -4
- /package/dist/esm-es5/{index-847f2fde.js → index-adfb2000.js} +0 -0
- /package/dist/esm-es5/{index-87d8642c.js → index-ecfc2c9f.js} +0 -0
- /package/dist/ionic/{p-547db962.js → p-0a87858b.js} +0 -0
- /package/dist/ionic/{p-5b553dc0.system.js → p-2441ba84.system.js} +0 -0
- /package/dist/ionic/{p-de640b80.system.js → p-8985b268.system.js} +0 -0
- /package/dist/ionic/{p-156967ec.js → p-a18eb556.js} +0 -0
package/components/icon.js
CHANGED
|
@@ -221,7 +221,7 @@ const getSvgContent = (url, sanitize) => {
|
|
|
221
221
|
return req;
|
|
222
222
|
};
|
|
223
223
|
|
|
224
|
-
const iconCss = ":host{display:inline-block;width:1em;height:1em;contain:strict;fill:currentColor;-webkit-box-sizing:content-box !important;box-sizing:content-box !important
|
|
224
|
+
const iconCss = ":host{display:inline-block;width:1em;height:1em;contain:strict;fill:currentColor;-webkit-box-sizing:content-box !important;box-sizing:content-box !important}:host .ionicon{stroke:currentColor}.ionicon-fill-none{fill:none}.ionicon-stroke-width{stroke-width:32px;stroke-width:var(--ionicon-stroke-width, 32px)}.icon-inner,.ionicon,svg{display:block;height:100%;width:100%}:host(.flip-rtl) .icon-inner{-webkit-transform:scaleX(-1);transform:scaleX(-1)}:host(.icon-small){font-size:18px !important}:host(.icon-large){font-size:32px !important}:host(.ion-color){color:var(--ion-color-base) !important}:host(.ion-color-primary){--ion-color-base:var(--ion-color-primary, #3880ff)}:host(.ion-color-secondary){--ion-color-base:var(--ion-color-secondary, #0cd1e8)}:host(.ion-color-tertiary){--ion-color-base:var(--ion-color-tertiary, #f4a942)}:host(.ion-color-success){--ion-color-base:var(--ion-color-success, #10dc60)}:host(.ion-color-warning){--ion-color-base:var(--ion-color-warning, #ffce00)}:host(.ion-color-danger){--ion-color-base:var(--ion-color-danger, #f14141)}:host(.ion-color-light){--ion-color-base:var(--ion-color-light, #f4f5f8)}:host(.ion-color-medium){--ion-color-base:var(--ion-color-medium, #989aa2)}:host(.ion-color-dark){--ion-color-base:var(--ion-color-dark, #222428)}";
|
|
225
225
|
|
|
226
226
|
const Icon = /*@__PURE__*/ proxyCustomElement(class Icon extends HTMLElement {
|
|
227
227
|
constructor() {
|
|
@@ -230,7 +230,6 @@ const Icon = /*@__PURE__*/ proxyCustomElement(class Icon extends HTMLElement {
|
|
|
230
230
|
this.__attachShadow();
|
|
231
231
|
this.iconName = null;
|
|
232
232
|
this.inheritedAttributes = {};
|
|
233
|
-
this.didLoadIcon = false;
|
|
234
233
|
this.isVisible = false;
|
|
235
234
|
/**
|
|
236
235
|
* The mode determines which platform styles to use.
|
|
@@ -261,17 +260,6 @@ const Icon = /*@__PURE__*/ proxyCustomElement(class Icon extends HTMLElement {
|
|
|
261
260
|
this.loadIcon();
|
|
262
261
|
});
|
|
263
262
|
}
|
|
264
|
-
componentDidLoad() {
|
|
265
|
-
/**
|
|
266
|
-
* Addresses an Angular issue where property values are assigned after the 'connectedCallback' but prior to the registration of watchers.
|
|
267
|
-
* This enhancement ensures the loading of an icon when the component has finished rendering and the icon has yet to apply the SVG data.
|
|
268
|
-
* This modification pertains to the usage of Angular's binding syntax:
|
|
269
|
-
* `<ion-icon [name]="myIconName"></ion-icon>`
|
|
270
|
-
*/
|
|
271
|
-
if (!this.didLoadIcon) {
|
|
272
|
-
this.loadIcon();
|
|
273
|
-
}
|
|
274
|
-
}
|
|
275
263
|
disconnectedCallback() {
|
|
276
264
|
if (this.io) {
|
|
277
265
|
this.io.disconnect();
|
|
@@ -307,21 +295,16 @@ const Icon = /*@__PURE__*/ proxyCustomElement(class Icon extends HTMLElement {
|
|
|
307
295
|
// async if it hasn't been loaded
|
|
308
296
|
getSvgContent(url, this.sanitize).then(() => (this.svgContent = ioniconContent.get(url)));
|
|
309
297
|
}
|
|
310
|
-
this.didLoadIcon = true;
|
|
311
298
|
}
|
|
312
299
|
}
|
|
313
300
|
this.iconName = getName(this.name, this.icon, this.mode, this.ios, this.md);
|
|
314
301
|
}
|
|
315
302
|
render() {
|
|
316
|
-
const {
|
|
303
|
+
const { iconName, el, inheritedAttributes } = this;
|
|
317
304
|
const mode = this.mode || 'md';
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
: false;
|
|
322
|
-
// if shouldBeFlippable is true, the icon should change direction when `dir` changes
|
|
323
|
-
const shouldBeFlippable = flipRtl || shouldAutoFlip;
|
|
324
|
-
return (h(Host, Object.assign({ role: "img", class: Object.assign(Object.assign({ [mode]: true }, createColorClasses(this.color)), { [`icon-${this.size}`]: !!this.size, 'flip-rtl': shouldBeFlippable, 'icon-rtl': shouldBeFlippable && isRTL(el) }) }, inheritedAttributes), Build.isBrowser && this.svgContent ? (h("div", { class: "icon-inner", innerHTML: this.svgContent })) : (h("div", { class: "icon-inner" }))));
|
|
305
|
+
const flipRtl = this.flipRtl ||
|
|
306
|
+
(iconName && (iconName.indexOf('arrow') > -1 || iconName.indexOf('chevron') > -1) && this.flipRtl !== false);
|
|
307
|
+
return (h(Host, Object.assign({ role: "img", class: Object.assign(Object.assign({ [mode]: true }, createColorClasses(this.color)), { [`icon-${this.size}`]: !!this.size, 'flip-rtl': !!flipRtl && isRTL(el) }) }, inheritedAttributes), Build.isBrowser && this.svgContent ? (h("div", { class: "icon-inner", innerHTML: this.svgContent })) : (h("div", { class: "icon-inner" }))));
|
|
325
308
|
}
|
|
326
309
|
static get assetsDirs() { return ["svg"]; }
|
|
327
310
|
get el() { return this; }
|
package/components/index7.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
|
-
/* Ionicons v7.1.
|
|
4
|
+
/* Ionicons v7.1.0, ES Modules */
|
|
5
5
|
const arrowBackSharp = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><path stroke-linecap='square' stroke-miterlimit='10' stroke-width='48' d='M244 400L100 256l144-144M120 256h292' class='ionicon-fill-none'/></svg>";
|
|
6
6
|
const arrowDown = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><path stroke-linecap='round' stroke-linejoin='round' stroke-width='48' d='M112 268l144 144 144-144M256 392V100' class='ionicon-fill-none'/></svg>";
|
|
7
7
|
const caretBackSharp = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><path d='M368 64L144 256l224 192V64z'/></svg>";
|
|
@@ -253,6 +253,68 @@ const enableScrollAssist = (componentEl, inputEl, contentEl, footerEl, keyboardH
|
|
|
253
253
|
* Resize info is available on Capacitor 4+
|
|
254
254
|
*/
|
|
255
255
|
const addScrollPadding = enableScrollPadding && (keyboardResize === undefined || keyboardResize.mode === KeyboardResize.None);
|
|
256
|
+
/**
|
|
257
|
+
* This tracks whether or not the keyboard has been
|
|
258
|
+
* presented for a single focused text field. Note
|
|
259
|
+
* that it does not track if the keyboard is open
|
|
260
|
+
* in general such as if the keyboard is open for
|
|
261
|
+
* a different focused text field.
|
|
262
|
+
*/
|
|
263
|
+
let hasKeyboardBeenPresentedForTextField = false;
|
|
264
|
+
/**
|
|
265
|
+
* Scroll assist is run when a text field
|
|
266
|
+
* is focused. However, it may need to
|
|
267
|
+
* re-run when the keyboard size changes
|
|
268
|
+
* such that the text field is now hidden
|
|
269
|
+
* underneath the keyboard.
|
|
270
|
+
* This function re-runs scroll assist
|
|
271
|
+
* when that happens.
|
|
272
|
+
*
|
|
273
|
+
* One limitation of this is on a web browser
|
|
274
|
+
* where native keyboard APIs do not have cross-browser
|
|
275
|
+
* support. `ionKeyboardDidShow` relies on the Visual Viewport API.
|
|
276
|
+
* This means that if the keyboard changes but does not change
|
|
277
|
+
* geometry, then scroll assist will not re-run even if
|
|
278
|
+
* the user has scrolled the text field under the keyboard.
|
|
279
|
+
* This should not be a problem when running in Cordova/Capacitor
|
|
280
|
+
* because `ionKeyboardDidShow` uses the native events
|
|
281
|
+
* which fire every time the keyboard changes.
|
|
282
|
+
*/
|
|
283
|
+
const keyboardShow = (ev) => {
|
|
284
|
+
/**
|
|
285
|
+
* If the keyboard has not yet been presented
|
|
286
|
+
* for this text field then the text field has just
|
|
287
|
+
* received focus. In that case, the focusin listener
|
|
288
|
+
* will run scroll assist.
|
|
289
|
+
*/
|
|
290
|
+
if (hasKeyboardBeenPresentedForTextField === false) {
|
|
291
|
+
hasKeyboardBeenPresentedForTextField = true;
|
|
292
|
+
return;
|
|
293
|
+
}
|
|
294
|
+
/**
|
|
295
|
+
* Otherwise, the keyboard has already been presented
|
|
296
|
+
* for the focused text field.
|
|
297
|
+
* This means that the keyboard likely changed
|
|
298
|
+
* geometry, and we need to re-run scroll assist.
|
|
299
|
+
* This can happen when the user rotates their device
|
|
300
|
+
* or when they switch keyboards.
|
|
301
|
+
*
|
|
302
|
+
* Make sure we pass in the computed keyboard height
|
|
303
|
+
* rather than the estimated keyboard height.
|
|
304
|
+
*
|
|
305
|
+
* Since the keyboard is already open then we do not
|
|
306
|
+
* need to wait for the webview to resize, so we pass
|
|
307
|
+
* "waitForResize: false".
|
|
308
|
+
*/
|
|
309
|
+
jsSetFocus(componentEl, inputEl, contentEl, footerEl, ev.detail.keyboardHeight, addScrollPadding, disableClonedInput, false);
|
|
310
|
+
};
|
|
311
|
+
/**
|
|
312
|
+
* Reset the internal state when the text field loses focus.
|
|
313
|
+
*/
|
|
314
|
+
const focusOut = () => {
|
|
315
|
+
hasKeyboardBeenPresentedForTextField = false;
|
|
316
|
+
window.removeEventListener('ionKeyboardDidShow', keyboardShow);
|
|
317
|
+
};
|
|
256
318
|
/**
|
|
257
319
|
* When the input is about to receive
|
|
258
320
|
* focus, we need to move it to prevent
|
|
@@ -270,10 +332,22 @@ const enableScrollAssist = (componentEl, inputEl, contentEl, footerEl, keyboardH
|
|
|
270
332
|
return;
|
|
271
333
|
}
|
|
272
334
|
jsSetFocus(componentEl, inputEl, contentEl, footerEl, keyboardHeight, addScrollPadding, disableClonedInput);
|
|
335
|
+
/**
|
|
336
|
+
* Listen for any changes to the keyboard
|
|
337
|
+
* dimensions in case we need to re-run scroll assist.
|
|
338
|
+
*/
|
|
339
|
+
window.addEventListener('ionKeyboardDidShow', keyboardShow);
|
|
340
|
+
componentEl.addEventListener('focusout', focusOut, true);
|
|
273
341
|
};
|
|
274
342
|
componentEl.addEventListener('focusin', focusIn, true);
|
|
343
|
+
/**
|
|
344
|
+
* Scroll assist is being destroyed for this
|
|
345
|
+
* text field instance, so remove any remaining listeners.
|
|
346
|
+
*/
|
|
275
347
|
return () => {
|
|
276
348
|
componentEl.removeEventListener('focusin', focusIn, true);
|
|
349
|
+
window.removeEventListener('ionKeyboardDidShow', keyboardShow);
|
|
350
|
+
componentEl.removeEventListener('focusout', focusOut, true);
|
|
277
351
|
};
|
|
278
352
|
};
|
|
279
353
|
/**
|
|
@@ -292,7 +366,7 @@ const setManualFocus = (el) => {
|
|
|
292
366
|
el.setAttribute(SKIP_SCROLL_ASSIST, 'true');
|
|
293
367
|
el.focus();
|
|
294
368
|
};
|
|
295
|
-
const jsSetFocus = async (componentEl, inputEl, contentEl, footerEl, keyboardHeight, enableScrollPadding, disableClonedInput = false) => {
|
|
369
|
+
const jsSetFocus = async (componentEl, inputEl, contentEl, footerEl, keyboardHeight, enableScrollPadding, disableClonedInput = false, waitForResize = true) => {
|
|
296
370
|
if (!contentEl && !footerEl) {
|
|
297
371
|
return;
|
|
298
372
|
}
|
|
@@ -383,7 +457,7 @@ const jsSetFocus = async (componentEl, inputEl, contentEl, footerEl, keyboardHei
|
|
|
383
457
|
* bandwidth to become available.
|
|
384
458
|
*/
|
|
385
459
|
const totalScrollAmount = scrollEl.scrollHeight - scrollEl.clientHeight;
|
|
386
|
-
if (scrollData.scrollAmount > totalScrollAmount - scrollEl.scrollTop) {
|
|
460
|
+
if (waitForResize && scrollData.scrollAmount > totalScrollAmount - scrollEl.scrollTop) {
|
|
387
461
|
/**
|
|
388
462
|
* On iOS devices, the system will show a "Passwords" bar above the keyboard
|
|
389
463
|
* after the initial keyboard is shown. This prevents the webview from resizing
|
package/components/ion-menu.js
CHANGED
|
@@ -11,9 +11,9 @@ import { o as getOverlay } from './overlays.js';
|
|
|
11
11
|
import { c as config, b as getIonMode } from './ionic-global.js';
|
|
12
12
|
import { d as defineCustomElement$2 } from './backdrop.js';
|
|
13
13
|
|
|
14
|
-
const menuIosCss = ":host{--width:304px;--min-width:auto;--max-width:auto;--height:100%;--min-height:auto;--max-height:auto;--background:var(--ion-background-color, #fff);left:0;right:0;top:0;bottom:0;display:none;position:absolute;contain:strict}:host(.show-menu){display:block}.menu-inner{-webkit-transform:translateX(-9999px);transform:translateX(-9999px);display:-ms-flexbox;display:flex;position:absolute;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:justify;justify-content:space-between;width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);background:var(--background);contain:strict}:host(.menu-side-start) .menu-inner{--ion-safe-area-right:0px;top:0;bottom:0}@supports (inset-inline-start: 0){:host(.menu-side-start) .menu-inner{inset-inline-start:0;inset-inline-end:auto}}@supports not (inset-inline-start: 0){:host(.menu-side-start) .menu-inner{left:0;right:auto}:host-context([dir=rtl]):host(.menu-side-start) .menu-inner,:host-context([dir=rtl]).menu-side-start .menu-inner{left:unset;right:unset;left:auto;right:0}@supports selector(:dir(rtl)){:host(.menu-side-start) .menu-inner:dir(rtl){left:unset;right:unset;left:auto;right:0}}}:host(.menu-side-end) .menu-inner{--ion-safe-area-left:0px;top:0;bottom:0}@supports (inset-inline-start: 0){:host(.menu-side-end) .menu-inner{inset-inline-start:auto;inset-inline-end:0}}@supports not (inset-inline-start: 0){:host(.menu-side-end) .menu-inner{left:auto;right:0}:host-context([dir=rtl]):host(.menu-side-end) .menu-inner,:host-context([dir=rtl]).menu-side-end .menu-inner{left:unset;right:unset;left:0;right:auto}@supports selector(:dir(rtl)){:host(.menu-side-end) .menu-inner:dir(rtl){left:unset;right:unset;left:0;right:auto}}}ion-backdrop{display:none;opacity:0.01;z-index:-1}@media (max-width: 340px){.menu-inner{--width:264px}}:host(.menu-type-reveal){z-index:0}:host(.menu-type-reveal.show-menu) .menu-inner{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}:host(.menu-type-overlay){z-index:1000}:host(.menu-type-overlay) .show-backdrop{display:block;cursor:pointer}:host(.menu-pane-visible){width:var(--width);min-width:var(--min-width);max-width:var(--max-width)}:host(.menu-pane-visible) .menu-inner{left:0;right:0;width:auto;-webkit-transform:none !important;transform:none !important;-webkit-box-shadow:none !important;box-shadow:none !important}:host(.menu-pane-visible) ion-backdrop{display:hidden !important;}:host(.menu-type-push){z-index:1000}:host(.menu-type-push) .show-backdrop{display:block}";
|
|
14
|
+
const menuIosCss = ":host{--width:304px;--min-width:auto;--max-width:auto;--height:100%;--min-height:auto;--max-height:auto;--background:var(--ion-background-color, #fff);left:0;right:0;top:0;bottom:0;display:none;position:absolute;contain:strict}:host(.show-menu){display:block}.menu-inner{-webkit-transform:translateX(-9999px);transform:translateX(-9999px);display:-ms-flexbox;display:flex;position:absolute;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:justify;justify-content:space-between;width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);background:var(--background);contain:strict}:host(.menu-side-start) .menu-inner{--ion-safe-area-right:0px;top:0;bottom:0}@supports (inset-inline-start: 0){:host(.menu-side-start) .menu-inner{inset-inline-start:0;inset-inline-end:auto}}@supports not (inset-inline-start: 0){:host(.menu-side-start) .menu-inner{left:0;right:auto}:host-context([dir=rtl]):host(.menu-side-start) .menu-inner,:host-context([dir=rtl]).menu-side-start .menu-inner{left:unset;right:unset;left:auto;right:0}@supports selector(:dir(rtl)){:host(.menu-side-start) .menu-inner:dir(rtl){left:unset;right:unset;left:auto;right:0}}}:host-context([dir=rtl]):host(.menu-side-start) .menu-inner,:host-context([dir=rtl]).menu-side-start .menu-inner{--ion-safe-area-right:env(safe-area-inset-right);--ion-safe-area-left:0px}@supports selector(:dir(rtl)){:host(.menu-side-start) .menu-inner:dir(rtl){--ion-safe-area-right:env(safe-area-inset-right);--ion-safe-area-left:0px}}:host(.menu-side-end) .menu-inner{--ion-safe-area-left:0px;top:0;bottom:0}@supports (inset-inline-start: 0){:host(.menu-side-end) .menu-inner{inset-inline-start:auto;inset-inline-end:0}}@supports not (inset-inline-start: 0){:host(.menu-side-end) .menu-inner{left:auto;right:0}:host-context([dir=rtl]):host(.menu-side-end) .menu-inner,:host-context([dir=rtl]).menu-side-end .menu-inner{left:unset;right:unset;left:0;right:auto}@supports selector(:dir(rtl)){:host(.menu-side-end) .menu-inner:dir(rtl){left:unset;right:unset;left:0;right:auto}}}:host-context([dir=rtl]):host(.menu-side-end) .menu-inner,:host-context([dir=rtl]).menu-side-end .menu-inner{--ion-safe-area-left:env(safe-area-inset-left);--ion-safe-area-right:0px}@supports selector(:dir(rtl)){:host(.menu-side-end) .menu-inner:dir(rtl){--ion-safe-area-left:env(safe-area-inset-left);--ion-safe-area-right:0px}}ion-backdrop{display:none;opacity:0.01;z-index:-1}@media (max-width: 340px){.menu-inner{--width:264px}}:host(.menu-type-reveal){z-index:0}:host(.menu-type-reveal.show-menu) .menu-inner{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}:host(.menu-type-overlay){z-index:1000}:host(.menu-type-overlay) .show-backdrop{display:block;cursor:pointer}:host(.menu-pane-visible){width:var(--width);min-width:var(--min-width);max-width:var(--max-width)}:host(.menu-pane-visible) .menu-inner{left:0;right:0;width:auto;-webkit-transform:none !important;transform:none !important;-webkit-box-shadow:none !important;box-shadow:none !important}:host(.menu-pane-visible) ion-backdrop{display:hidden !important;}:host(.menu-type-push){z-index:1000}:host(.menu-type-push) .show-backdrop{display:block}";
|
|
15
15
|
|
|
16
|
-
const menuMdCss = ":host{--width:304px;--min-width:auto;--max-width:auto;--height:100%;--min-height:auto;--max-height:auto;--background:var(--ion-background-color, #fff);left:0;right:0;top:0;bottom:0;display:none;position:absolute;contain:strict}:host(.show-menu){display:block}.menu-inner{-webkit-transform:translateX(-9999px);transform:translateX(-9999px);display:-ms-flexbox;display:flex;position:absolute;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:justify;justify-content:space-between;width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);background:var(--background);contain:strict}:host(.menu-side-start) .menu-inner{--ion-safe-area-right:0px;top:0;bottom:0}@supports (inset-inline-start: 0){:host(.menu-side-start) .menu-inner{inset-inline-start:0;inset-inline-end:auto}}@supports not (inset-inline-start: 0){:host(.menu-side-start) .menu-inner{left:0;right:auto}:host-context([dir=rtl]):host(.menu-side-start) .menu-inner,:host-context([dir=rtl]).menu-side-start .menu-inner{left:unset;right:unset;left:auto;right:0}@supports selector(:dir(rtl)){:host(.menu-side-start) .menu-inner:dir(rtl){left:unset;right:unset;left:auto;right:0}}}:host(.menu-side-end) .menu-inner{--ion-safe-area-left:0px;top:0;bottom:0}@supports (inset-inline-start: 0){:host(.menu-side-end) .menu-inner{inset-inline-start:auto;inset-inline-end:0}}@supports not (inset-inline-start: 0){:host(.menu-side-end) .menu-inner{left:auto;right:0}:host-context([dir=rtl]):host(.menu-side-end) .menu-inner,:host-context([dir=rtl]).menu-side-end .menu-inner{left:unset;right:unset;left:0;right:auto}@supports selector(:dir(rtl)){:host(.menu-side-end) .menu-inner:dir(rtl){left:unset;right:unset;left:0;right:auto}}}ion-backdrop{display:none;opacity:0.01;z-index:-1}@media (max-width: 340px){.menu-inner{--width:264px}}:host(.menu-type-reveal){z-index:0}:host(.menu-type-reveal.show-menu) .menu-inner{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}:host(.menu-type-overlay){z-index:1000}:host(.menu-type-overlay) .show-backdrop{display:block;cursor:pointer}:host(.menu-pane-visible){width:var(--width);min-width:var(--min-width);max-width:var(--max-width)}:host(.menu-pane-visible) .menu-inner{left:0;right:0;width:auto;-webkit-transform:none !important;transform:none !important;-webkit-box-shadow:none !important;box-shadow:none !important}:host(.menu-pane-visible) ion-backdrop{display:hidden !important;}:host(.menu-type-overlay) .menu-inner{-webkit-box-shadow:4px 0px 16px rgba(0, 0, 0, 0.18);box-shadow:4px 0px 16px rgba(0, 0, 0, 0.18)}";
|
|
16
|
+
const menuMdCss = ":host{--width:304px;--min-width:auto;--max-width:auto;--height:100%;--min-height:auto;--max-height:auto;--background:var(--ion-background-color, #fff);left:0;right:0;top:0;bottom:0;display:none;position:absolute;contain:strict}:host(.show-menu){display:block}.menu-inner{-webkit-transform:translateX(-9999px);transform:translateX(-9999px);display:-ms-flexbox;display:flex;position:absolute;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:justify;justify-content:space-between;width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);background:var(--background);contain:strict}:host(.menu-side-start) .menu-inner{--ion-safe-area-right:0px;top:0;bottom:0}@supports (inset-inline-start: 0){:host(.menu-side-start) .menu-inner{inset-inline-start:0;inset-inline-end:auto}}@supports not (inset-inline-start: 0){:host(.menu-side-start) .menu-inner{left:0;right:auto}:host-context([dir=rtl]):host(.menu-side-start) .menu-inner,:host-context([dir=rtl]).menu-side-start .menu-inner{left:unset;right:unset;left:auto;right:0}@supports selector(:dir(rtl)){:host(.menu-side-start) .menu-inner:dir(rtl){left:unset;right:unset;left:auto;right:0}}}:host-context([dir=rtl]):host(.menu-side-start) .menu-inner,:host-context([dir=rtl]).menu-side-start .menu-inner{--ion-safe-area-right:env(safe-area-inset-right);--ion-safe-area-left:0px}@supports selector(:dir(rtl)){:host(.menu-side-start) .menu-inner:dir(rtl){--ion-safe-area-right:env(safe-area-inset-right);--ion-safe-area-left:0px}}:host(.menu-side-end) .menu-inner{--ion-safe-area-left:0px;top:0;bottom:0}@supports (inset-inline-start: 0){:host(.menu-side-end) .menu-inner{inset-inline-start:auto;inset-inline-end:0}}@supports not (inset-inline-start: 0){:host(.menu-side-end) .menu-inner{left:auto;right:0}:host-context([dir=rtl]):host(.menu-side-end) .menu-inner,:host-context([dir=rtl]).menu-side-end .menu-inner{left:unset;right:unset;left:0;right:auto}@supports selector(:dir(rtl)){:host(.menu-side-end) .menu-inner:dir(rtl){left:unset;right:unset;left:0;right:auto}}}:host-context([dir=rtl]):host(.menu-side-end) .menu-inner,:host-context([dir=rtl]).menu-side-end .menu-inner{--ion-safe-area-left:env(safe-area-inset-left);--ion-safe-area-right:0px}@supports selector(:dir(rtl)){:host(.menu-side-end) .menu-inner:dir(rtl){--ion-safe-area-left:env(safe-area-inset-left);--ion-safe-area-right:0px}}ion-backdrop{display:none;opacity:0.01;z-index:-1}@media (max-width: 340px){.menu-inner{--width:264px}}:host(.menu-type-reveal){z-index:0}:host(.menu-type-reveal.show-menu) .menu-inner{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}:host(.menu-type-overlay){z-index:1000}:host(.menu-type-overlay) .show-backdrop{display:block;cursor:pointer}:host(.menu-pane-visible){width:var(--width);min-width:var(--min-width);max-width:var(--max-width)}:host(.menu-pane-visible) .menu-inner{left:0;right:0;width:auto;-webkit-transform:none !important;transform:none !important;-webkit-box-shadow:none !important;box-shadow:none !important}:host(.menu-pane-visible) ion-backdrop{display:hidden !important;}:host(.menu-type-overlay) .menu-inner{-webkit-box-shadow:4px 0px 16px rgba(0, 0, 0, 0.18);box-shadow:4px 0px 16px rgba(0, 0, 0, 0.18)}";
|
|
17
17
|
|
|
18
18
|
const iosEasing = 'cubic-bezier(0.32,0.72,0,1)';
|
|
19
19
|
const mdEasing = 'cubic-bezier(0.0,0.0,0.2,1)';
|
|
@@ -5,9 +5,9 @@ import { proxyCustomElement, HTMLElement, forceUpdate, 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 toolbarIosCss = ":host{--border-width:0;--border-style:solid;--opacity:1;--opacity-scale:1;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased
|
|
8
|
+
const toolbarIosCss = ":host{--border-width:0;--border-style:solid;--opacity:1;--opacity-scale:1;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:block;position:relative;width:100%;padding-right:var(--ion-safe-area-right);padding-left:var(--ion-safe-area-left);color:var(--color);font-family:var(--ion-font-family, inherit);contain:content;z-index:10;-webkit-box-sizing:border-box;box-sizing:border-box}:host(.ion-color){color:var(--ion-color-contrast)}:host(.ion-color) .toolbar-background{background:var(--ion-color-base)}.toolbar-container{-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);display:-ms-flexbox;display:flex;position:relative;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;width:100%;min-height:var(--min-height);contain:content;overflow:hidden;z-index:10;-webkit-box-sizing:border-box;box-sizing:border-box}.toolbar-background{left:0;right:0;top:0;bottom:0;position:absolute;-webkit-transform:translateZ(0);transform:translateZ(0);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);contain:strict;opacity:calc(var(--opacity) * var(--opacity-scale));z-index:-1;pointer-events:none}::slotted(ion-progress-bar){left:0;right:0;bottom:0;position:absolute}:host{--background:var(--ion-toolbar-background, var(--ion-color-step-50, #f7f7f7));--color:var(--ion-toolbar-color, var(--ion-text-color, #000));--border-color:var(--ion-toolbar-border-color, var(--ion-border-color, var(--ion-color-step-150, rgba(0, 0, 0, 0.2))));--padding-top:3px;--padding-bottom:3px;--padding-start:4px;--padding-end:4px;--min-height:44px}.toolbar-content{-ms-flex:1;flex:1;-ms-flex-order:4;order:4;min-width:0}:host(.toolbar-segment) .toolbar-content{display:-ms-inline-flexbox;display:inline-flex}:host(.toolbar-searchbar) .toolbar-container{padding-top:0;padding-bottom:0}:host(.toolbar-searchbar) ::slotted(*){-ms-flex-item-align:start;align-self:start}:host(.toolbar-searchbar) ::slotted(ion-chip){margin-top:3px}:host(.toolbar-searchbar) ::slotted(ion-back-button){height:38px}::slotted(ion-buttons){min-height:38px}::slotted([slot=start]){-ms-flex-order:2;order:2}::slotted([slot=secondary]){-ms-flex-order:3;order:3}::slotted([slot=primary]){-ms-flex-order:5;order:5;text-align:end}::slotted([slot=end]){-ms-flex-order:6;order:6;text-align:end}:host(.toolbar-title-large){padding-bottom:7px}:host(.toolbar-title-large) .toolbar-container{-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-align:start;align-items:flex-start}:host(.toolbar-title-large) .toolbar-content ion-title{-ms-flex:1;flex:1;-ms-flex-order:8;order:8;min-width:100%}";
|
|
9
9
|
|
|
10
|
-
const toolbarMdCss = ":host{--border-width:0;--border-style:solid;--opacity:1;--opacity-scale:1;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased
|
|
10
|
+
const toolbarMdCss = ":host{--border-width:0;--border-style:solid;--opacity:1;--opacity-scale:1;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:block;position:relative;width:100%;padding-right:var(--ion-safe-area-right);padding-left:var(--ion-safe-area-left);color:var(--color);font-family:var(--ion-font-family, inherit);contain:content;z-index:10;-webkit-box-sizing:border-box;box-sizing:border-box}:host(.ion-color){color:var(--ion-color-contrast)}:host(.ion-color) .toolbar-background{background:var(--ion-color-base)}.toolbar-container{-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);display:-ms-flexbox;display:flex;position:relative;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;width:100%;min-height:var(--min-height);contain:content;overflow:hidden;z-index:10;-webkit-box-sizing:border-box;box-sizing:border-box}.toolbar-background{left:0;right:0;top:0;bottom:0;position:absolute;-webkit-transform:translateZ(0);transform:translateZ(0);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);contain:strict;opacity:calc(var(--opacity) * var(--opacity-scale));z-index:-1;pointer-events:none}::slotted(ion-progress-bar){left:0;right:0;bottom:0;position:absolute}:host{--background:var(--ion-toolbar-background, var(--ion-background-color, #fff));--color:var(--ion-toolbar-color, var(--ion-text-color, #424242));--border-color:var(--ion-toolbar-border-color, var(--ion-border-color, var(--ion-color-step-150, #c1c4cd)));--padding-top:0;--padding-bottom:0;--padding-start:0;--padding-end:0;--min-height:56px}.toolbar-content{-ms-flex:1;flex:1;-ms-flex-order:3;order:3;min-width:0;max-width:100%}::slotted(.buttons-first-slot){-webkit-margin-start:4px;margin-inline-start:4px}::slotted(.buttons-last-slot){-webkit-margin-end:4px;margin-inline-end:4px}::slotted([slot=start]){-ms-flex-order:2;order:2}::slotted([slot=secondary]){-ms-flex-order:4;order:4}::slotted([slot=primary]){-ms-flex-order:5;order:5;text-align:end}::slotted([slot=end]){-ms-flex-order:6;order:6;text-align:end}";
|
|
11
11
|
|
|
12
12
|
const Toolbar = /*@__PURE__*/ proxyCustomElement(class Toolbar extends HTMLElement {
|
|
13
13
|
constructor() {
|
|
@@ -153,13 +153,13 @@ const h = (nodeName, vnodeData, ...children) => {
|
|
|
153
153
|
};
|
|
154
154
|
walk(children);
|
|
155
155
|
if (vnodeData) {
|
|
156
|
-
// normalize class / classname attributes
|
|
157
156
|
if (vnodeData.key) {
|
|
158
157
|
key = vnodeData.key;
|
|
159
158
|
}
|
|
160
159
|
if (vnodeData.name) {
|
|
161
160
|
slotName = vnodeData.name;
|
|
162
161
|
}
|
|
162
|
+
// normalize class / className attributes
|
|
163
163
|
{
|
|
164
164
|
const classData = vnodeData.className || vnodeData.class;
|
|
165
165
|
if (classData) {
|
|
@@ -405,7 +405,7 @@ const clientHydrate = (parentVNode, childRenderNodes, slotNodes, shadowRootNodes
|
|
|
405
405
|
}
|
|
406
406
|
}
|
|
407
407
|
else if (childVNode.$hostId$ === hostId) {
|
|
408
|
-
// this comment node is
|
|
408
|
+
// this comment node is specifically for this host id
|
|
409
409
|
if (childNodeType === SLOT_NODE_ID) {
|
|
410
410
|
// `${SLOT_NODE_ID}.${hostId}.${nodeId}.${depth}.${index}.${slotName}`;
|
|
411
411
|
childVNode.$tag$ = 'slot';
|
|
@@ -1632,7 +1632,7 @@ const renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
|
|
|
1632
1632
|
// has a different next sibling or parent relocated
|
|
1633
1633
|
if (nodeToRelocate !== insertBeforeNode) {
|
|
1634
1634
|
if (!nodeToRelocate['s-hn'] && nodeToRelocate['s-ol']) {
|
|
1635
|
-
// probably a component in the index.html that doesn't have
|
|
1635
|
+
// probably a component in the index.html that doesn't have its hostname set
|
|
1636
1636
|
nodeToRelocate['s-hn'] = nodeToRelocate['s-ol'].parentNode.nodeName;
|
|
1637
1637
|
}
|
|
1638
1638
|
// add it back to the dom but in its new home
|
|
@@ -2036,12 +2036,12 @@ const proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
|
2036
2036
|
// customElements.define('my-component', MyComponent);
|
|
2037
2037
|
// </script>
|
|
2038
2038
|
// ```
|
|
2039
|
-
// In this case if we do not
|
|
2039
|
+
// In this case if we do not un-shadow here and use the value of the shadowing property, attributeChangedCallback
|
|
2040
2040
|
// will be called with `newValue = "some-value"` and will set the shadowed property (this.someAttribute = "another-value")
|
|
2041
2041
|
// to the value that was set inline i.e. "some-value" from above example. When
|
|
2042
|
-
// the connectedCallback attempts to
|
|
2042
|
+
// the connectedCallback attempts to un-shadow it will use "some-value" as the initial value rather than "another-value"
|
|
2043
2043
|
//
|
|
2044
|
-
// The case where the attribute was NOT set inline but was not set programmatically shall be handled/
|
|
2044
|
+
// The case where the attribute was NOT set inline but was not set programmatically shall be handled/un-shadowed
|
|
2045
2045
|
// by connectedCallback as this attributeChangedCallback will not fire.
|
|
2046
2046
|
//
|
|
2047
2047
|
// https://developers.google.com/web/fundamentals/web-components/best-practices#lazy-properties
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
const index = require('./index-
|
|
6
|
+
const index = require('./index-184fdd62.js');
|
|
7
7
|
const helpers = require('./helpers-ea4ccbcb.js');
|
|
8
8
|
|
|
9
9
|
const LIFECYCLE_WILL_ENTER = 'ionViewWillEnter';
|
|
@@ -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-80582b44.js'); });
|
|
16
|
+
const mdTransitionAnimation = () => Promise.resolve().then(function () { return require('./md.transition-eeca9fb5.js'); });
|
|
17
17
|
// TODO(FW-2832): types
|
|
18
18
|
const transition = (opts) => {
|
|
19
19
|
return new Promise((resolve, reject) => {
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
/* Ionicons v7.1.
|
|
6
|
+
/* Ionicons v7.1.0, ES Modules */
|
|
7
7
|
const arrowBackSharp = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><path stroke-linecap='square' stroke-miterlimit='10' stroke-width='48' d='M244 400L100 256l144-144M120 256h292' class='ionicon-fill-none'/></svg>";
|
|
8
8
|
const arrowDown = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><path stroke-linecap='round' stroke-linejoin='round' stroke-width='48' d='M112 268l144 144 144-144M256 392V100' class='ionicon-fill-none'/></svg>";
|
|
9
9
|
const caretBackSharp = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><path d='M368 64L144 256l224 192V64z'/></svg>";
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
const hardwareBackButton = require('./hardware-back-button-b67c8e75.js');
|
|
7
7
|
const helpers = require('./helpers-ea4ccbcb.js');
|
|
8
|
-
const ionicGlobal = require('./ionic-global-
|
|
8
|
+
const ionicGlobal = require('./ionic-global-6d5d27b5.js');
|
|
9
9
|
const animation = require('./animation-2bb33618.js');
|
|
10
10
|
|
|
11
11
|
/**
|
package/dist/cjs/index.cjs.js
CHANGED
|
@@ -6,19 +6,19 @@
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
8
|
const animation = require('./animation-2bb33618.js');
|
|
9
|
-
const ios_transition = require('./ios.transition-
|
|
10
|
-
const md_transition = require('./md.transition-
|
|
9
|
+
const ios_transition = require('./ios.transition-80582b44.js');
|
|
10
|
+
const md_transition = require('./md.transition-eeca9fb5.js');
|
|
11
11
|
const cubicBezier = require('./cubic-bezier-6b9222ad.js');
|
|
12
12
|
const index = require('./index-0ee995e4.js');
|
|
13
|
-
const ionicGlobal = require('./ionic-global-
|
|
13
|
+
const ionicGlobal = require('./ionic-global-6d5d27b5.js');
|
|
14
14
|
const helpers = require('./helpers-ea4ccbcb.js');
|
|
15
15
|
const config = require('./config-d5882735.js');
|
|
16
|
-
const index$1 = require('./index-
|
|
17
|
-
const index$2 = require('./index-
|
|
18
|
-
const overlays = require('./overlays-
|
|
16
|
+
const index$1 = require('./index-be8a2ab9.js');
|
|
17
|
+
const index$2 = require('./index-e6416850.js');
|
|
18
|
+
const overlays = require('./overlays-c78a0148.js');
|
|
19
19
|
require('./index-306a7476.js');
|
|
20
20
|
require('./gesture-controller-b46721be.js');
|
|
21
|
-
require('./index-
|
|
21
|
+
require('./index-184fdd62.js');
|
|
22
22
|
require('./hardware-back-button-b67c8e75.js');
|
|
23
23
|
require('./framework-delegate-c0873a6f.js');
|
|
24
24
|
require('./index-cc7dfb7c.js');
|
|
@@ -258,6 +258,68 @@ const enableScrollAssist = (componentEl, inputEl, contentEl, footerEl, keyboardH
|
|
|
258
258
|
* Resize info is available on Capacitor 4+
|
|
259
259
|
*/
|
|
260
260
|
const addScrollPadding = enableScrollPadding && (keyboardResize === undefined || keyboardResize.mode === keyboard.KeyboardResize.None);
|
|
261
|
+
/**
|
|
262
|
+
* This tracks whether or not the keyboard has been
|
|
263
|
+
* presented for a single focused text field. Note
|
|
264
|
+
* that it does not track if the keyboard is open
|
|
265
|
+
* in general such as if the keyboard is open for
|
|
266
|
+
* a different focused text field.
|
|
267
|
+
*/
|
|
268
|
+
let hasKeyboardBeenPresentedForTextField = false;
|
|
269
|
+
/**
|
|
270
|
+
* Scroll assist is run when a text field
|
|
271
|
+
* is focused. However, it may need to
|
|
272
|
+
* re-run when the keyboard size changes
|
|
273
|
+
* such that the text field is now hidden
|
|
274
|
+
* underneath the keyboard.
|
|
275
|
+
* This function re-runs scroll assist
|
|
276
|
+
* when that happens.
|
|
277
|
+
*
|
|
278
|
+
* One limitation of this is on a web browser
|
|
279
|
+
* where native keyboard APIs do not have cross-browser
|
|
280
|
+
* support. `ionKeyboardDidShow` relies on the Visual Viewport API.
|
|
281
|
+
* This means that if the keyboard changes but does not change
|
|
282
|
+
* geometry, then scroll assist will not re-run even if
|
|
283
|
+
* the user has scrolled the text field under the keyboard.
|
|
284
|
+
* This should not be a problem when running in Cordova/Capacitor
|
|
285
|
+
* because `ionKeyboardDidShow` uses the native events
|
|
286
|
+
* which fire every time the keyboard changes.
|
|
287
|
+
*/
|
|
288
|
+
const keyboardShow = (ev) => {
|
|
289
|
+
/**
|
|
290
|
+
* If the keyboard has not yet been presented
|
|
291
|
+
* for this text field then the text field has just
|
|
292
|
+
* received focus. In that case, the focusin listener
|
|
293
|
+
* will run scroll assist.
|
|
294
|
+
*/
|
|
295
|
+
if (hasKeyboardBeenPresentedForTextField === false) {
|
|
296
|
+
hasKeyboardBeenPresentedForTextField = true;
|
|
297
|
+
return;
|
|
298
|
+
}
|
|
299
|
+
/**
|
|
300
|
+
* Otherwise, the keyboard has already been presented
|
|
301
|
+
* for the focused text field.
|
|
302
|
+
* This means that the keyboard likely changed
|
|
303
|
+
* geometry, and we need to re-run scroll assist.
|
|
304
|
+
* This can happen when the user rotates their device
|
|
305
|
+
* or when they switch keyboards.
|
|
306
|
+
*
|
|
307
|
+
* Make sure we pass in the computed keyboard height
|
|
308
|
+
* rather than the estimated keyboard height.
|
|
309
|
+
*
|
|
310
|
+
* Since the keyboard is already open then we do not
|
|
311
|
+
* need to wait for the webview to resize, so we pass
|
|
312
|
+
* "waitForResize: false".
|
|
313
|
+
*/
|
|
314
|
+
jsSetFocus(componentEl, inputEl, contentEl, footerEl, ev.detail.keyboardHeight, addScrollPadding, disableClonedInput, false);
|
|
315
|
+
};
|
|
316
|
+
/**
|
|
317
|
+
* Reset the internal state when the text field loses focus.
|
|
318
|
+
*/
|
|
319
|
+
const focusOut = () => {
|
|
320
|
+
hasKeyboardBeenPresentedForTextField = false;
|
|
321
|
+
window.removeEventListener('ionKeyboardDidShow', keyboardShow);
|
|
322
|
+
};
|
|
261
323
|
/**
|
|
262
324
|
* When the input is about to receive
|
|
263
325
|
* focus, we need to move it to prevent
|
|
@@ -275,10 +337,22 @@ const enableScrollAssist = (componentEl, inputEl, contentEl, footerEl, keyboardH
|
|
|
275
337
|
return;
|
|
276
338
|
}
|
|
277
339
|
jsSetFocus(componentEl, inputEl, contentEl, footerEl, keyboardHeight, addScrollPadding, disableClonedInput);
|
|
340
|
+
/**
|
|
341
|
+
* Listen for any changes to the keyboard
|
|
342
|
+
* dimensions in case we need to re-run scroll assist.
|
|
343
|
+
*/
|
|
344
|
+
window.addEventListener('ionKeyboardDidShow', keyboardShow);
|
|
345
|
+
componentEl.addEventListener('focusout', focusOut, true);
|
|
278
346
|
};
|
|
279
347
|
componentEl.addEventListener('focusin', focusIn, true);
|
|
348
|
+
/**
|
|
349
|
+
* Scroll assist is being destroyed for this
|
|
350
|
+
* text field instance, so remove any remaining listeners.
|
|
351
|
+
*/
|
|
280
352
|
return () => {
|
|
281
353
|
componentEl.removeEventListener('focusin', focusIn, true);
|
|
354
|
+
window.removeEventListener('ionKeyboardDidShow', keyboardShow);
|
|
355
|
+
componentEl.removeEventListener('focusout', focusOut, true);
|
|
282
356
|
};
|
|
283
357
|
};
|
|
284
358
|
/**
|
|
@@ -297,7 +371,7 @@ const setManualFocus = (el) => {
|
|
|
297
371
|
el.setAttribute(SKIP_SCROLL_ASSIST, 'true');
|
|
298
372
|
el.focus();
|
|
299
373
|
};
|
|
300
|
-
const jsSetFocus = async (componentEl, inputEl, contentEl, footerEl, keyboardHeight, enableScrollPadding, disableClonedInput = false) => {
|
|
374
|
+
const jsSetFocus = async (componentEl, inputEl, contentEl, footerEl, keyboardHeight, enableScrollPadding, disableClonedInput = false, waitForResize = true) => {
|
|
301
375
|
if (!contentEl && !footerEl) {
|
|
302
376
|
return;
|
|
303
377
|
}
|
|
@@ -388,7 +462,7 @@ const jsSetFocus = async (componentEl, inputEl, contentEl, footerEl, keyboardHei
|
|
|
388
462
|
* bandwidth to become available.
|
|
389
463
|
*/
|
|
390
464
|
const totalScrollAmount = scrollEl.scrollHeight - scrollEl.clientHeight;
|
|
391
|
-
if (scrollData.scrollAmount > totalScrollAmount - scrollEl.scrollTop) {
|
|
465
|
+
if (waitForResize && scrollData.scrollAmount > totalScrollAmount - scrollEl.scrollTop) {
|
|
392
466
|
/**
|
|
393
467
|
* On iOS devices, the system will show a "Passwords" bar above the keyboard
|
|
394
468
|
* after the initial keyboard is shown. This prevents the webview from resizing
|
|
@@ -5,10 +5,10 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
8
|
+
const index = require('./index-184fdd62.js');
|
|
9
9
|
const helpers = require('./helpers-ea4ccbcb.js');
|
|
10
|
-
const index$1 = require('./index-
|
|
11
|
-
const ionicGlobal = require('./ionic-global-
|
|
10
|
+
const index$1 = require('./index-d8d1fc0b.js');
|
|
11
|
+
const ionicGlobal = require('./ionic-global-6d5d27b5.js');
|
|
12
12
|
const index$2 = require('./index-cc7dfb7c.js');
|
|
13
13
|
|
|
14
14
|
const accordionIosCss = ":host{display:block;position:relative;width:100%;background-color:var(--ion-background-color, #ffffff);overflow:hidden;z-index:0}:host(.accordion-expanding) ::slotted(ion-item[slot=header]),:host(.accordion-expanded) ::slotted(ion-item[slot=header]){--border-width:0px}:host(.accordion-animated){-webkit-transition:all 300ms cubic-bezier(0.25, 0.8, 0.5, 1);transition:all 300ms cubic-bezier(0.25, 0.8, 0.5, 1)}:host(.accordion-animated) #content{-webkit-transition:max-height 300ms cubic-bezier(0.25, 0.8, 0.5, 1);transition:max-height 300ms cubic-bezier(0.25, 0.8, 0.5, 1)}#content{overflow:hidden;will-change:max-height}:host(.accordion-collapsing) #content{max-height:0 !important}:host(.accordion-collapsed) #content{display:none}:host(.accordion-expanding) #content{max-height:0}:host(.accordion-expanding) #content-wrapper{overflow:auto}:host(.accordion-disabled) #header,:host(.accordion-readonly) #header,:host(.accordion-disabled) #content,:host(.accordion-readonly) #content{pointer-events:none}:host(.accordion-disabled) #header,:host(.accordion-disabled) #content{opacity:0.4}@media (prefers-reduced-motion: reduce){:host,#content{-webkit-transition:none !important;transition:none !important}}:host(.accordion-next) ::slotted(ion-item[slot=header]){--border-width:0.55px 0px 0.55px 0px}";
|
|
@@ -5,13 +5,13 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
9
|
-
const buttonActive = require('./button-active-
|
|
8
|
+
const index = require('./index-184fdd62.js');
|
|
9
|
+
const buttonActive = require('./button-active-0ff8e82c.js');
|
|
10
10
|
const helpers = require('./helpers-ea4ccbcb.js');
|
|
11
11
|
const lockController = require('./lock-controller-4ae2eb59.js');
|
|
12
|
-
const overlays = require('./overlays-
|
|
12
|
+
const overlays = require('./overlays-c78a0148.js');
|
|
13
13
|
const theme = require('./theme-fbc56b3b.js');
|
|
14
|
-
const ionicGlobal = require('./ionic-global-
|
|
14
|
+
const ionicGlobal = require('./ionic-global-6d5d27b5.js');
|
|
15
15
|
const animation = require('./animation-2bb33618.js');
|
|
16
16
|
require('./haptic-c5f6b4d5.js');
|
|
17
17
|
require('./capacitor-2ffba62a.js');
|
|
@@ -5,14 +5,14 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
8
|
+
const index = require('./index-184fdd62.js');
|
|
9
9
|
const config = require('./config-d5882735.js');
|
|
10
|
-
const buttonActive = require('./button-active-
|
|
10
|
+
const buttonActive = require('./button-active-0ff8e82c.js');
|
|
11
11
|
const helpers = require('./helpers-ea4ccbcb.js');
|
|
12
12
|
const lockController = require('./lock-controller-4ae2eb59.js');
|
|
13
|
-
const overlays = require('./overlays-
|
|
13
|
+
const overlays = require('./overlays-c78a0148.js');
|
|
14
14
|
const theme = require('./theme-fbc56b3b.js');
|
|
15
|
-
const ionicGlobal = require('./ionic-global-
|
|
15
|
+
const ionicGlobal = require('./ionic-global-6d5d27b5.js');
|
|
16
16
|
const animation = require('./animation-2bb33618.js');
|
|
17
17
|
require('./haptic-c5f6b4d5.js');
|
|
18
18
|
require('./capacitor-2ffba62a.js');
|