@ionic/core 7.3.4-dev.11694703986.17ca6214 → 7.3.4-dev.11695051069.10d92d60
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 +22 -5
- package/components/index7.js +1 -1
- package/components/input-shims.js +7 -117
- package/components/ion-menu.js +2 -2
- package/components/ion-toolbar.js +2 -2
- package/dist/cjs/{app-globals-a63c2a19.js → app-globals-a579aafd.js} +1 -1
- package/dist/cjs/{button-active-0ff8e82c.js → button-active-dfd2756e.js} +1 -1
- package/dist/cjs/{index-184fdd62.js → index-484b1104.js} +6 -6
- package/dist/cjs/{index-e6416850.js → index-653be4df.js} +1 -1
- package/dist/cjs/{index-be8a2ab9.js → index-8568bedb.js} +3 -3
- package/dist/cjs/{index-d8d1fc0b.js → index-c3b215ee.js} +1 -1
- package/dist/cjs/index.cjs.js +7 -7
- package/dist/cjs/{input-shims-aa5cd61b.js → input-shims-f8569707.js} +12 -121
- 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 +24 -7
- 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-6d5d27b5.js → ionic-global-f81d8b73.js} +1 -1
- package/dist/cjs/ionic.cjs.js +4 -4
- package/dist/cjs/{ios.transition-80582b44.js → ios.transition-f7c78d7c.js} +2 -2
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/{md.transition-eeca9fb5.js → md.transition-65dc7dce.js} +2 -2
- package/dist/cjs/{overlays-c78a0148.js → overlays-5c1706ed.js} +1 -1
- package/dist/cjs/{status-tap-cc4c6539.js → status-tap-4564b66c.js} +1 -1
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/menu/menu.ios.css +0 -94
- package/dist/collection/components/menu/menu.md.css +0 -94
- package/dist/collection/components/toolbar/toolbar.ios.css +4 -2
- package/dist/collection/components/toolbar/toolbar.md.css +4 -2
- package/dist/collection/utils/input-shims/hacks/scroll-assist.js +4 -115
- package/dist/collection/utils/input-shims/hacks/scroll-data.js +3 -2
- package/dist/docs.json +2 -2
- package/dist/esm/{app-globals-c7886b40.js → app-globals-e8ddf830.js} +1 -1
- package/dist/esm/{button-active-b76ae4ec.js → button-active-2da0f611.js} +1 -1
- package/dist/esm/{index-01839411.js → index-6391de89.js} +3 -3
- package/dist/esm/{index-adfb2000.js → index-847f2fde.js} +6 -6
- package/dist/esm/{index-ecfc2c9f.js → index-87d8642c.js} +1 -1
- package/dist/esm/{index-48f5e259.js → index-b3e05099.js} +1 -1
- package/dist/esm/index.js +7 -7
- package/dist/esm/{input-shims-3ad71991.js → input-shims-af993f05.js} +8 -117
- 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 +24 -7
- 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-9080266a.js → ionic-global-1ef19007.js} +1 -1
- package/dist/esm/ionic.js +5 -5
- package/dist/esm/{ios.transition-f43871cd.js → ios.transition-3137d23e.js} +2 -2
- package/dist/esm/loader.js +4 -4
- package/dist/esm/{md.transition-12d21ad0.js → md.transition-48b3b77c.js} +2 -2
- package/dist/esm/{overlays-4565894b.js → overlays-e1dadfe6.js} +1 -1
- package/dist/esm/{status-tap-121c711d.js → status-tap-823a0df3.js} +1 -1
- package/dist/esm-es5/app-globals-e8ddf830.js +4 -0
- package/dist/esm-es5/{button-active-b76ae4ec.js → button-active-2da0f611.js} +1 -1
- package/dist/esm-es5/{index-01839411.js → index-6391de89.js} +1 -1
- package/dist/esm-es5/{index-48f5e259.js → index-b3e05099.js} +1 -1
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/input-shims-af993f05.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-9080266a.js → ionic-global-1ef19007.js} +1 -1
- package/dist/esm-es5/ionic.js +1 -1
- package/dist/esm-es5/{ios.transition-f43871cd.js → ios.transition-3137d23e.js} +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/md.transition-48b3b77c.js +4 -0
- package/dist/esm-es5/{overlays-4565894b.js → overlays-e1dadfe6.js} +1 -1
- package/dist/esm-es5/{status-tap-121c711d.js → status-tap-823a0df3.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-af6125d1.system.entry.js → p-0053fe81.system.entry.js} +1 -1
- package/dist/ionic/{p-9b53c813.entry.js → p-0142ba6d.entry.js} +1 -1
- package/dist/ionic/{p-516421e2.system.entry.js → p-0219ac12.system.entry.js} +1 -1
- package/dist/ionic/{p-c2d6088f.entry.js → p-0660215f.entry.js} +1 -1
- package/dist/ionic/{p-c68a8814.system.js → p-06902103.system.js} +1 -1
- package/dist/ionic/{p-4446e19f.system.entry.js → p-06d6e9c0.system.entry.js} +1 -1
- package/dist/ionic/{p-74834696.system.entry.js → p-0b68c41d.system.entry.js} +1 -1
- package/dist/ionic/p-0be94477.entry.js +4 -0
- package/dist/ionic/{p-e239ab05.system.entry.js → p-0cc2bf5a.system.entry.js} +1 -1
- package/dist/ionic/{p-5df94bf8.entry.js → p-0ff17c93.entry.js} +1 -1
- package/dist/ionic/{p-d57e8b06.js → p-11248f01.js} +1 -1
- package/dist/ionic/{p-5080e623.system.entry.js → p-11a42c03.system.entry.js} +1 -1
- package/dist/ionic/{p-9f3ad626.system.entry.js → p-180f4e51.system.entry.js} +1 -1
- package/dist/ionic/{p-a8270ae8.system.entry.js → p-1d82df31.system.entry.js} +1 -1
- package/dist/ionic/{p-48d378cf.entry.js → p-1ec4dc01.entry.js} +1 -1
- package/dist/ionic/{p-28d8b87b.entry.js → p-208f640c.entry.js} +1 -1
- package/dist/ionic/{p-3bf120f8.system.entry.js → p-23f63cc8.system.entry.js} +1 -1
- package/dist/ionic/{p-d8d30fd1.system.entry.js → p-2539e967.system.entry.js} +1 -1
- package/dist/ionic/p-273e78ae.entry.js +4 -0
- package/dist/ionic/{p-17e961cf.entry.js → p-2cdcd6f2.entry.js} +1 -1
- package/dist/ionic/{p-4e1a58c6.system.entry.js → p-32d11ce2.system.entry.js} +1 -1
- package/dist/ionic/{p-c8c0d58a.system.entry.js → p-336420f9.system.entry.js} +1 -1
- package/dist/ionic/{p-11d0977d.entry.js → p-38dd9aec.entry.js} +1 -1
- package/dist/ionic/{p-26276eb7.system.entry.js → p-3ea57ced.system.entry.js} +1 -1
- package/dist/ionic/{p-fde174d6.system.entry.js → p-3ef88fc2.system.entry.js} +1 -1
- package/dist/ionic/{p-be187db3.entry.js → p-4457f4a6.entry.js} +1 -1
- package/dist/ionic/p-4531b920.system.js +4 -0
- package/dist/ionic/{p-28375de4.system.entry.js → p-45ee211b.system.entry.js} +1 -1
- package/dist/ionic/{p-8db97b90.entry.js → p-48144921.entry.js} +1 -1
- package/dist/ionic/{p-ec344ed1.system.entry.js → p-5221e3d9.system.entry.js} +1 -1
- package/dist/ionic/{p-47a11fc4.entry.js → p-55afcc56.entry.js} +1 -1
- package/dist/ionic/{p-98bfaff3.system.entry.js → p-57dc87eb.system.entry.js} +1 -1
- package/dist/ionic/p-582dc7c1.js +4 -0
- package/dist/ionic/{p-bacf09d3.entry.js → p-59646db0.entry.js} +1 -1
- package/dist/ionic/{p-dc7d392d.entry.js → p-5b88f780.entry.js} +1 -1
- package/dist/ionic/{p-9eaaa910.entry.js → p-5cd94cc1.entry.js} +1 -1
- package/dist/ionic/{p-fb26fa56.system.entry.js → p-5d7aa5dc.system.entry.js} +1 -1
- package/dist/ionic/{p-68deb933.entry.js → p-5ed5b824.entry.js} +1 -1
- package/dist/ionic/{p-44a6f15d.system.entry.js → p-5f611d9e.system.entry.js} +1 -1
- package/dist/ionic/{p-a037b6d5.system.entry.js → p-62324608.system.entry.js} +1 -1
- package/dist/ionic/{p-f62bed60.entry.js → p-639d7b25.entry.js} +1 -1
- package/dist/ionic/{p-9eced28c.entry.js → p-653f2fc6.entry.js} +1 -1
- package/dist/ionic/{p-8bcd482b.entry.js → p-68e0ea3c.entry.js} +1 -1
- package/dist/ionic/{p-2e5930dd.system.js → p-69303bb5.system.js} +1 -1
- package/dist/ionic/{p-42e0558f.entry.js → p-6b3afb0f.entry.js} +1 -1
- package/dist/ionic/{p-cd002251.entry.js → p-728ac2b3.entry.js} +1 -1
- package/dist/ionic/p-778460f7.js +4 -0
- package/dist/ionic/{p-3f15f60b.entry.js → p-77f91ca9.entry.js} +1 -1
- package/dist/ionic/{p-b052b578.entry.js → p-785b0913.entry.js} +1 -1
- package/dist/ionic/p-79d17e21.system.entry.js +4 -0
- package/dist/ionic/{p-ff3d728d.system.js → p-7b16490a.system.js} +1 -1
- package/dist/ionic/{p-4d2807fa.entry.js → p-7b3fcf85.entry.js} +1 -1
- package/dist/ionic/{p-629b0629.js → p-7c938ad6.js} +1 -1
- package/dist/ionic/{p-5e549223.system.js → p-81597423.system.js} +1 -1
- package/dist/ionic/{p-3d5a6d14.system.js → p-82632e15.system.js} +1 -1
- package/dist/ionic/{p-a314559e.system.js → p-83008f7c.system.js} +2 -2
- package/dist/ionic/{p-7474a472.system.entry.js → p-839bd69f.system.entry.js} +1 -1
- package/dist/ionic/{p-07f5e286.entry.js → p-857be909.entry.js} +1 -1
- package/dist/ionic/{p-4f7109fa.entry.js → p-859b1ee6.entry.js} +1 -1
- package/dist/ionic/{p-95188051.system.entry.js → p-87383d00.system.entry.js} +1 -1
- package/dist/ionic/{p-7106c152.system.js → p-8843b046.system.js} +1 -1
- package/dist/ionic/{p-57847936.entry.js → p-8a676776.entry.js} +1 -1
- package/dist/ionic/{p-ee55302a.system.entry.js → p-8afcaae4.system.entry.js} +1 -1
- package/dist/ionic/{p-5fc777e6.system.js → p-8ba724fa.system.js} +1 -1
- package/dist/ionic/{p-b3f6f321.js → p-91459620.js} +1 -1
- package/dist/ionic/{p-49f2eaa6.entry.js → p-93e47822.entry.js} +1 -1
- package/dist/ionic/{p-6dff4431.entry.js → p-98a189f3.entry.js} +1 -1
- package/dist/ionic/{p-0dbfa45f.entry.js → p-98ebc376.entry.js} +1 -1
- package/dist/ionic/{p-07656a8a.entry.js → p-99028088.entry.js} +1 -1
- package/dist/ionic/{p-fa8fc77b.system.entry.js → p-a1191dc0.system.entry.js} +1 -1
- package/dist/ionic/p-a2b25750.js +4 -0
- package/dist/ionic/p-a62c0ff4.js +4 -0
- package/dist/ionic/{p-b453b38d.entry.js → p-a8e01c65.entry.js} +1 -1
- package/dist/ionic/{p-5a9dc764.system.entry.js → p-af0bc751.system.entry.js} +1 -1
- package/dist/ionic/{p-0ce43a8f.system.entry.js → p-b0129e93.system.entry.js} +1 -1
- package/dist/ionic/{p-6ccffb74.system.entry.js → p-b0e9e0b8.system.entry.js} +1 -1
- package/dist/ionic/{p-f3ec1f2b.entry.js → p-b1e8f045.entry.js} +1 -1
- package/dist/ionic/{p-563068af.js → p-b22ee0dc.js} +1 -1
- package/dist/ionic/{p-204fb8f0.system.entry.js → p-b2514862.system.entry.js} +1 -1
- package/dist/ionic/{p-bfee11b2.system.js → p-b32742f3.system.js} +1 -1
- package/dist/ionic/{p-1b533a76.system.entry.js → p-b3cfc6e1.system.entry.js} +1 -1
- package/dist/ionic/{p-dc4c9086.system.entry.js → p-b5aa940c.system.entry.js} +1 -1
- package/dist/ionic/{p-1c236453.system.entry.js → p-bbae0ac3.system.entry.js} +1 -1
- package/dist/ionic/{p-32983529.system.entry.js → p-bf4b8d8a.system.entry.js} +1 -1
- package/dist/ionic/{p-5163baf4.system.entry.js → p-c4afbed8.system.entry.js} +1 -1
- package/dist/ionic/p-c53dd7a2.entry.js +4 -0
- package/dist/ionic/{p-8946e2d8.entry.js → p-c759a704.entry.js} +1 -1
- package/dist/ionic/{p-041ac2c3.entry.js → p-c75d63c0.entry.js} +1 -1
- package/dist/ionic/{p-a033a91d.system.entry.js → p-d1bab5e7.system.entry.js} +1 -1
- package/dist/ionic/{p-5260588f.system.entry.js → p-d1d3b740.system.entry.js} +1 -1
- package/dist/ionic/p-d2d25501.entry.js +4 -0
- package/dist/ionic/{p-765e6339.entry.js → p-d313542f.entry.js} +1 -1
- package/dist/ionic/{p-59b40b60.entry.js → p-d3378c35.entry.js} +1 -1
- package/dist/ionic/{p-b9179eab.entry.js → p-d3b8aebf.entry.js} +1 -1
- package/dist/ionic/{p-eb91aee6.entry.js → p-d5e3bff3.entry.js} +1 -1
- package/dist/ionic/p-d898dd46.js +4 -0
- package/dist/ionic/{p-ef8a8827.system.entry.js → p-dbb48066.system.entry.js} +1 -1
- package/dist/ionic/{p-574411f2.system.entry.js → p-dc49c681.system.entry.js} +1 -1
- package/dist/ionic/{p-a122ecd0.system.js → p-df6743df.system.js} +1 -1
- package/dist/ionic/{p-2ac2278e.system.entry.js → p-e1f491c6.system.entry.js} +1 -1
- package/dist/ionic/{p-3c325277.js → p-e3cba96d.js} +1 -1
- package/dist/ionic/p-e3d5608d.system.js +4 -0
- package/dist/ionic/{p-84084b75.entry.js → p-e46368a2.entry.js} +1 -1
- package/dist/ionic/{p-b8d7f0eb.system.entry.js → p-e53b8af4.system.entry.js} +1 -1
- package/dist/ionic/{p-9be96bf3.system.entry.js → p-e679bd69.system.entry.js} +1 -1
- package/dist/ionic/{p-ec7ff98b.entry.js → p-ed7b205b.entry.js} +1 -1
- package/dist/ionic/{p-6276ba2f.system.entry.js → p-f79efebd.system.entry.js} +1 -1
- package/dist/ionic/{p-9e8727d6.entry.js → p-f7faa32d.entry.js} +1 -1
- package/dist/ionic/{p-810f1bc9.system.entry.js → p-f95f798a.system.entry.js} +1 -1
- package/dist/ionic/{p-6eb7b33c.system.entry.js → p-fa3327e8.system.entry.js} +1 -1
- package/dist/ionic/{p-072f99fd.entry.js → p-fabb7294.entry.js} +1 -1
- package/dist/ionic/{p-e65aed58.system.entry.js → p-fd42994b.system.entry.js} +1 -1
- package/dist/ionic/{p-1916030e.entry.js → p-fe83e3e2.entry.js} +1 -1
- package/dist/ionic/{p-b703ebeb.system.entry.js → p-fea46870.system.entry.js} +1 -1
- package/dist/node_modules/ionicons/dist/collection/components/icon/icon.css +50 -6
- package/dist/types/stencil-public-runtime.d.ts +3 -3
- package/dist/types/utils/browser/index.d.ts +1 -16
- package/dist/types/utils/input-shims/hacks/scroll-data.d.ts +1 -1
- package/hydrate/index.d.ts +5 -5
- package/hydrate/index.js +68 -50
- package/package.json +4 -4
- package/dist/esm-es5/app-globals-c7886b40.js +0 -4
- package/dist/esm-es5/input-shims-3ad71991.js +0 -4
- package/dist/esm-es5/md.transition-12d21ad0.js +0 -4
- package/dist/ionic/p-23ddd787.system.entry.js +0 -4
- package/dist/ionic/p-2b0ecc04.entry.js +0 -4
- package/dist/ionic/p-56495958.js +0 -4
- package/dist/ionic/p-6d7b34fe.system.js +0 -4
- package/dist/ionic/p-75d4ceab.js +0 -4
- package/dist/ionic/p-83459b99.entry.js +0 -4
- package/dist/ionic/p-8f7edf3e.js +0 -4
- package/dist/ionic/p-99a3df5c.entry.js +0 -4
- package/dist/ionic/p-a533868d.system.js +0 -4
- package/dist/ionic/p-c7ce7e18.entry.js +0 -4
- package/dist/ionic/p-dacb0258.js +0 -4
- package/dist/ionic/p-fe693c54.js +0 -4
- /package/dist/esm-es5/{index-adfb2000.js → index-847f2fde.js} +0 -0
- /package/dist/esm-es5/{index-ecfc2c9f.js → index-87d8642c.js} +0 -0
- /package/dist/ionic/{p-a18eb556.js → p-156967ec.js} +0 -0
- /package/dist/ionic/{p-0a87858b.js → p-547db962.js} +0 -0
- /package/dist/ionic/{p-2441ba84.system.js → p-5b553dc0.system.js} +0 -0
- /package/dist/ionic/{p-8985b268.system.js → p-de640b80.system.js} +0 -0
|
@@ -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-484b1104.js');
|
|
9
9
|
const formController = require('./form-controller-5e223b54.js');
|
|
10
10
|
const notchController = require('./notch-controller-c27fe0b7.js');
|
|
11
11
|
const helpers = require('./helpers-ea4ccbcb.js');
|
|
12
12
|
const index$1 = require('./index-cc7dfb7c.js');
|
|
13
13
|
const input_utils = require('./input.utils-0fe3097c.js');
|
|
14
14
|
const theme = require('./theme-fbc56b3b.js');
|
|
15
|
-
const ionicGlobal = require('./ionic-global-
|
|
15
|
+
const ionicGlobal = require('./ionic-global-f81d8b73.js');
|
|
16
16
|
require('./index-306a7476.js');
|
|
17
17
|
|
|
18
18
|
const textareaIosCss = ".sc-ion-textarea-ios-h{--background:initial;--color:initial;--placeholder-color:initial;--placeholder-font-style:initial;--placeholder-font-weight:initial;--placeholder-opacity:0.6;--padding-top:0;--padding-end:0;--padding-bottom:0;--padding-start:0;--border-radius:0;--border-style:solid;--highlight-color-focused:var(--ion-color-primary, #3880ff);--highlight-color-valid:var(--ion-color-success, #2dd36f);--highlight-color-invalid:var(--ion-color-danger, #eb445a);--highlight-color:var(--highlight-color-focused);display:block;position:relative;width:100%;color:var(--color);font-family:var(--ion-font-family, inherit);z-index:2;-webkit-box-sizing:border-box;box-sizing:border-box}[cols].sc-ion-textarea-ios-h:not([auto-grow]){width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}.legacy-textarea.sc-ion-textarea-ios-h{-ms-flex:1;flex:1;background:var(--background);white-space:pre-wrap}.legacy-textarea.ion-color.sc-ion-textarea-ios-h{color:var(--ion-color-base)}.sc-ion-textarea-ios-h:not(.legacy-textarea){--padding-bottom:8px}.ion-color.sc-ion-textarea-ios-h{--highlight-color-focused:var(--ion-color-base);background:initial}ion-item.sc-ion-textarea-ios-h,ion-item .sc-ion-textarea-ios-h{-ms-flex-item-align:baseline;align-self:baseline}ion-item.sc-ion-textarea-ios-h:not(.item-label),ion-item:not(.item-label) .sc-ion-textarea-ios-h{--padding-start:0}ion-item[slot=start].sc-ion-textarea-ios-h,ion-item [slot=start].sc-ion-textarea-ios-h,ion-item[slot=end].sc-ion-textarea-ios-h,ion-item [slot=end].sc-ion-textarea-ios-h{width:auto}.native-textarea.sc-ion-textarea-ios{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;display:block;position:relative;-ms-flex:1;flex:1;width:100%;max-width:100%;max-height:100%;border:0;outline:none;background:transparent;white-space:pre-wrap;z-index:1;-webkit-box-sizing:border-box;box-sizing:border-box;resize:none;-webkit-appearance:none;-moz-appearance:none;appearance:none}.native-textarea.sc-ion-textarea-ios::-webkit-input-placeholder{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.native-textarea.sc-ion-textarea-ios::-moz-placeholder{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.native-textarea.sc-ion-textarea-ios:-ms-input-placeholder{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.native-textarea.sc-ion-textarea-ios::-ms-input-placeholder{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.native-textarea.sc-ion-textarea-ios::placeholder{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.legacy-textarea.sc-ion-textarea-ios-h .native-textarea.sc-ion-textarea-ios{white-space:inherit}.legacy-textarea.sc-ion-textarea-ios-h .native-textarea.sc-ion-textarea-ios,.legacy-textarea.sc-ion-textarea-ios-h .textarea-legacy-wrapper.sc-ion-textarea-ios::after{-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);border-radius:var(--border-radius)}.native-textarea.sc-ion-textarea-ios{color:inherit;font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-align:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;grid-area:1/1/2/2;word-break:break-word}.legacy-textarea.sc-ion-textarea-ios-h .textarea-legacy-wrapper.sc-ion-textarea-ios::after{font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;grid-area:1/1/2/2;word-break:break-word}.cloned-input.sc-ion-textarea-ios{top:0;bottom:0;position:absolute;pointer-events:none}@supports (inset-inline-start: 0){.cloned-input.sc-ion-textarea-ios{inset-inline-start:0}}@supports not (inset-inline-start: 0){.cloned-input.sc-ion-textarea-ios{left:0}[dir=rtl].sc-ion-textarea-ios-h .cloned-input.sc-ion-textarea-ios,[dir=rtl] .sc-ion-textarea-ios-h .cloned-input.sc-ion-textarea-ios{left:unset;right:unset;right:0}[dir=rtl].sc-ion-textarea-ios .cloned-input.sc-ion-textarea-ios{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){.cloned-input.sc-ion-textarea-ios:dir(rtl){left:unset;right:unset;right:0}}}.cloned-input.sc-ion-textarea-ios:disabled{opacity:1}.legacy-textarea[auto-grow].sc-ion-textarea-ios-h .cloned-input.sc-ion-textarea-ios{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}[auto-grow].sc-ion-textarea-ios-h .cloned-input.sc-ion-textarea-ios{height:100%}[auto-grow].sc-ion-textarea-ios-h .native-textarea.sc-ion-textarea-ios{overflow:hidden}.item-label-floating.item-has-placeholder.sc-ion-textarea-ios-h:not(.item-has-value),.item-label-floating.item-has-placeholder:not(.item-has-value) .sc-ion-textarea-ios-h{opacity:0}.item-label-floating.item-has-placeholder.sc-ion-textarea-ios-h:not(.item-has-value).item-has-focus,.item-label-floating.item-has-placeholder:not(.item-has-value).item-has-focus .sc-ion-textarea-ios-h{-webkit-transition:opacity 0.15s cubic-bezier(0.4, 0, 0.2, 1);transition:opacity 0.15s cubic-bezier(0.4, 0, 0.2, 1);opacity:1}.textarea-wrapper.sc-ion-textarea-ios{-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:0px;padding-bottom:0px;border-radius:var(--border-radius);display:-ms-flexbox;display:flex;position:relative;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:start;align-items:flex-start;height:inherit;min-height:inherit;-webkit-transition:background-color 15ms linear;transition:background-color 15ms linear;background:var(--background);line-height:normal}.native-wrapper.sc-ion-textarea-ios{display:-ms-flexbox;display:flex;position:relative;-ms-flex-positive:1;flex-grow:1;width:100%;height:100%}.has-focus.sc-ion-textarea-ios-h textarea.sc-ion-textarea-ios{caret-color:var(--highlight-color)}.native-wrapper.sc-ion-textarea-ios textarea.sc-ion-textarea-ios{-webkit-padding-start:0px;padding-inline-start:0px;-webkit-padding-end:0px;padding-inline-end:0px;padding-top:var(--padding-top);padding-bottom:var(--padding-bottom)}.native-wrapper.sc-ion-textarea-ios,.textarea-legacy-wrapper.sc-ion-textarea-ios{display:grid;min-width:inherit;max-width:inherit;min-height:inherit;max-height:inherit;grid-auto-rows:100%}.native-wrapper.sc-ion-textarea-ios::after,.textarea-legacy-wrapper.sc-ion-textarea-ios::after{white-space:pre-wrap;content:attr(data-replicated-value) \" \";visibility:hidden}.native-wrapper.sc-ion-textarea-ios::after{padding-left:0;padding-right:0;padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;border-radius:var(--border-radius);color:inherit;font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-align:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;grid-area:1/1/2/2;word-break:break-word}.ion-touched.ion-invalid.sc-ion-textarea-ios-h{--highlight-color:var(--highlight-color-invalid)}.ion-valid.sc-ion-textarea-ios-h{--highlight-color:var(--highlight-color-valid)}.textarea-bottom.sc-ion-textarea-ios{-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:5px;padding-bottom:0;display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;border-top:var(--border-width) var(--border-style) var(--border-color);font-size:12px}.has-focus.ion-valid.sc-ion-textarea-ios-h,.ion-touched.ion-invalid.sc-ion-textarea-ios-h{--border-color:var(--highlight-color)}.textarea-bottom.sc-ion-textarea-ios .error-text.sc-ion-textarea-ios{display:none;color:var(--highlight-color-invalid)}.textarea-bottom.sc-ion-textarea-ios .helper-text.sc-ion-textarea-ios{display:block;color:var(--ion-color-step-550, #737373)}.ion-touched.ion-invalid.sc-ion-textarea-ios-h .textarea-bottom.sc-ion-textarea-ios .error-text.sc-ion-textarea-ios{display:block}.ion-touched.ion-invalid.sc-ion-textarea-ios-h .textarea-bottom.sc-ion-textarea-ios .helper-text.sc-ion-textarea-ios{display:none}.textarea-bottom.sc-ion-textarea-ios .counter.sc-ion-textarea-ios{-webkit-margin-start:auto;margin-inline-start:auto;color:var(--ion-color-step-550, #737373);white-space:nowrap;-webkit-padding-start:16px;padding-inline-start:16px}.label-text-wrapper.sc-ion-textarea-ios{-webkit-padding-start:0px;padding-inline-start:0px;-webkit-padding-end:0px;padding-inline-end:0px;padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);max-width:200px;-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);pointer-events:none}.label-text.sc-ion-textarea-ios,.sc-ion-textarea-ios-s>[slot=label]{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.label-text-wrapper-hidden.sc-ion-textarea-ios,.textarea-outline-notch-hidden.sc-ion-textarea-ios{display:none}.textarea-wrapper.sc-ion-textarea-ios textarea.sc-ion-textarea-ios{-webkit-transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1)}.textarea-label-placement-start.sc-ion-textarea-ios-h .textarea-wrapper.sc-ion-textarea-ios{-ms-flex-direction:row;flex-direction:row}.textarea-label-placement-start.sc-ion-textarea-ios-h .label-text-wrapper.sc-ion-textarea-ios{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:0;margin-bottom:0}.textarea-label-placement-end.sc-ion-textarea-ios-h .textarea-wrapper.sc-ion-textarea-ios{-ms-flex-direction:row-reverse;flex-direction:row-reverse}.textarea-label-placement-end.sc-ion-textarea-ios-h .label-text-wrapper.sc-ion-textarea-ios{-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0;margin-top:0;margin-bottom:0}.textarea-label-placement-fixed.sc-ion-textarea-ios-h .label-text-wrapper.sc-ion-textarea-ios{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:0;margin-bottom:0}.textarea-label-placement-fixed.sc-ion-textarea-ios-h .label-text.sc-ion-textarea-ios{-ms-flex:0 0 100px;flex:0 0 100px;width:100px;min-width:100px;max-width:200px}.textarea-label-placement-stacked.sc-ion-textarea-ios-h .textarea-wrapper.sc-ion-textarea-ios,.textarea-label-placement-floating.sc-ion-textarea-ios-h .textarea-wrapper.sc-ion-textarea-ios{-ms-flex-direction:column;flex-direction:column;-ms-flex-align:start;align-items:start}.textarea-label-placement-stacked.sc-ion-textarea-ios-h .label-text-wrapper.sc-ion-textarea-ios,.textarea-label-placement-floating.sc-ion-textarea-ios-h .label-text-wrapper.sc-ion-textarea-ios{-webkit-transform-origin:left top;transform-origin:left top;-webkit-padding-start:0px;padding-inline-start:0px;-webkit-padding-end:0px;padding-inline-end:0px;padding-top:0px;padding-bottom:0px;max-width:100%;z-index:2}[dir=rtl].sc-ion-textarea-ios-h -no-combinator.textarea-label-placement-stacked.sc-ion-textarea-ios-h .label-text-wrapper.sc-ion-textarea-ios,[dir=rtl] .sc-ion-textarea-ios-h -no-combinator.textarea-label-placement-stacked.sc-ion-textarea-ios-h .label-text-wrapper.sc-ion-textarea-ios,[dir=rtl].textarea-label-placement-stacked.sc-ion-textarea-ios-h .label-text-wrapper.sc-ion-textarea-ios,[dir=rtl] .textarea-label-placement-stacked.sc-ion-textarea-ios-h .label-text-wrapper.sc-ion-textarea-ios,[dir=rtl].sc-ion-textarea-ios-h -no-combinator.textarea-label-placement-floating.sc-ion-textarea-ios-h .label-text-wrapper.sc-ion-textarea-ios,[dir=rtl] .sc-ion-textarea-ios-h -no-combinator.textarea-label-placement-floating.sc-ion-textarea-ios-h .label-text-wrapper.sc-ion-textarea-ios,[dir=rtl].textarea-label-placement-floating.sc-ion-textarea-ios-h .label-text-wrapper.sc-ion-textarea-ios,[dir=rtl] .textarea-label-placement-floating.sc-ion-textarea-ios-h .label-text-wrapper.sc-ion-textarea-ios{-webkit-transform-origin:right top;transform-origin:right top}@supports selector(:dir(rtl)){.textarea-label-placement-stacked.sc-ion-textarea-ios-h .label-text-wrapper.sc-ion-textarea-ios:dir(rtl),.textarea-label-placement-floating.sc-ion-textarea-ios-h .label-text-wrapper.sc-ion-textarea-ios:dir(rtl){-webkit-transform-origin:right top;transform-origin:right top}}.textarea-label-placement-stacked.sc-ion-textarea-ios-h textarea.sc-ion-textarea-ios,.textarea-label-placement-floating.sc-ion-textarea-ios-h textarea.sc-ion-textarea-ios,.textarea-label-placement-stacked[auto-grow].sc-ion-textarea-ios-h .native-wrapper.sc-ion-textarea-ios::after,.textarea-label-placement-floating[auto-grow].sc-ion-textarea-ios-h .native-wrapper.sc-ion-textarea-ios::after{-webkit-margin-start:0px;margin-inline-start:0px;-webkit-margin-end:0px;margin-inline-end:0px;margin-top:8px;margin-bottom:0px}.textarea-label-placement-floating.sc-ion-textarea-ios-h .label-text-wrapper.sc-ion-textarea-ios{-webkit-transform:translateY(100%) scale(1);transform:translateY(100%) scale(1)}.textarea-label-placement-floating.sc-ion-textarea-ios-h textarea.sc-ion-textarea-ios{opacity:0}.has-focus.textarea-label-placement-floating.sc-ion-textarea-ios-h textarea.sc-ion-textarea-ios,.has-value.textarea-label-placement-floating.sc-ion-textarea-ios-h textarea.sc-ion-textarea-ios{opacity:1}.textarea-label-placement-stacked.sc-ion-textarea-ios-h .label-text-wrapper.sc-ion-textarea-ios,.has-focus.textarea-label-placement-floating.sc-ion-textarea-ios-h .label-text-wrapper.sc-ion-textarea-ios,.has-value.textarea-label-placement-floating.sc-ion-textarea-ios-h .label-text-wrapper.sc-ion-textarea-ios{-webkit-transform:translateY(50%) scale(0.75);transform:translateY(50%) scale(0.75);max-width:calc(100% / 0.75)}.sc-ion-textarea-ios-h{--border-width:0.55px;--border-color:var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-250, #c8c7cc)));--padding-top:10px;--padding-end:0px;--padding-bottom:8px;--padding-start:0px;font-size:inherit}.legacy-textarea.sc-ion-textarea-ios-h{--padding-top:10px;--padding-end:8px;--padding-bottom:10px;--padding-start:0}.item-label-stacked.sc-ion-textarea-ios-h,.item-label-stacked .sc-ion-textarea-ios-h,.item-label-floating.sc-ion-textarea-ios-h,.item-label-floating .sc-ion-textarea-ios-h{--padding-top:8px;--padding-bottom:8px;--padding-start:0px}.legacy-textarea.sc-ion-textarea-ios-h .native-textarea[disabled].sc-ion-textarea-ios,.textarea-disabled.sc-ion-textarea-ios-h{opacity:0.3}.sc-ion-textarea-ios-h:not(.legacy-textarea){min-height:44px}.textarea-label-placement-floating.sc-ion-textarea-ios-h,.textarea-label-placement-stacked.sc-ion-textarea-ios-h{--padding-top:0px;min-height:56px}";
|
|
@@ -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-484b1104.js');
|
|
9
9
|
const config = require('./config-d5882735.js');
|
|
10
10
|
const helpers = require('./helpers-ea4ccbcb.js');
|
|
11
11
|
const lockController = require('./lock-controller-4ae2eb59.js');
|
|
12
12
|
const index$1 = require('./index-cc7dfb7c.js');
|
|
13
|
-
const overlays = require('./overlays-
|
|
13
|
+
const overlays = require('./overlays-5c1706ed.js');
|
|
14
14
|
const theme = require('./theme-fbc56b3b.js');
|
|
15
|
-
const ionicGlobal = require('./ionic-global-
|
|
15
|
+
const ionicGlobal = require('./ionic-global-f81d8b73.js');
|
|
16
16
|
const animation = require('./animation-2bb33618.js');
|
|
17
17
|
require('./framework-delegate-c0873a6f.js');
|
|
18
18
|
require('./hardware-back-button-b67c8e75.js');
|
|
@@ -5,15 +5,15 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
8
|
+
const index = require('./index-484b1104.js');
|
|
9
9
|
const formController = require('./form-controller-5e223b54.js');
|
|
10
10
|
const helpers = require('./helpers-ea4ccbcb.js');
|
|
11
11
|
const index$2 = require('./index-cc7dfb7c.js');
|
|
12
12
|
const haptic = require('./haptic-c5f6b4d5.js');
|
|
13
13
|
const dir = require('./dir-f1e0ca26.js');
|
|
14
14
|
const theme = require('./theme-fbc56b3b.js');
|
|
15
|
-
const index$1 = require('./index-
|
|
16
|
-
const ionicGlobal = require('./ionic-global-
|
|
15
|
+
const index$1 = require('./index-c3b215ee.js');
|
|
16
|
+
const ionicGlobal = require('./ionic-global-f81d8b73.js');
|
|
17
17
|
require('./capacitor-2ffba62a.js');
|
|
18
18
|
require('./index-306a7476.js');
|
|
19
19
|
|
package/dist/cjs/ionic.cjs.js
CHANGED
|
@@ -5,12 +5,12 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
9
|
-
const appGlobals = require('./app-globals-
|
|
10
|
-
require('./ionic-global-
|
|
8
|
+
const index = require('./index-484b1104.js');
|
|
9
|
+
const appGlobals = require('./app-globals-a579aafd.js');
|
|
10
|
+
require('./ionic-global-f81d8b73.js');
|
|
11
11
|
|
|
12
12
|
/*
|
|
13
|
-
Stencil Client Patch Browser v4.2.
|
|
13
|
+
Stencil Client Patch Browser v4.2.0 | MIT Licensed | https://stenciljs.com
|
|
14
14
|
*/
|
|
15
15
|
const patchBrowser = () => {
|
|
16
16
|
const importMeta = (typeof document === 'undefined' ? new (require('u' + 'rl').URL)('file:' + __filename).href : (document.currentScript && document.currentScript.src || new URL('ionic.cjs.js', document.baseURI).href));
|
|
@@ -4,10 +4,10 @@
|
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
6
|
const animation = require('./animation-2bb33618.js');
|
|
7
|
-
const index = require('./index-
|
|
7
|
+
const index = require('./index-8568bedb.js');
|
|
8
8
|
require('./index-306a7476.js');
|
|
9
9
|
require('./helpers-ea4ccbcb.js');
|
|
10
|
-
require('./index-
|
|
10
|
+
require('./index-484b1104.js');
|
|
11
11
|
|
|
12
12
|
const DURATION = 540;
|
|
13
13
|
// TODO(FW-2832): types
|
package/dist/cjs/loader.cjs.js
CHANGED
|
@@ -5,9 +5,9 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
9
|
-
const appGlobals = require('./app-globals-
|
|
10
|
-
require('./ionic-global-
|
|
8
|
+
const index = require('./index-484b1104.js');
|
|
9
|
+
const appGlobals = require('./app-globals-a579aafd.js');
|
|
10
|
+
require('./ionic-global-f81d8b73.js');
|
|
11
11
|
|
|
12
12
|
const defineCustomElements = (win, options) => {
|
|
13
13
|
if (typeof window === 'undefined') return undefined;
|
|
@@ -4,10 +4,10 @@
|
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
6
|
const animation = require('./animation-2bb33618.js');
|
|
7
|
-
const index = require('./index-
|
|
7
|
+
const index = require('./index-8568bedb.js');
|
|
8
8
|
require('./index-306a7476.js');
|
|
9
9
|
require('./helpers-ea4ccbcb.js');
|
|
10
|
-
require('./index-
|
|
10
|
+
require('./index-484b1104.js');
|
|
11
11
|
|
|
12
12
|
const mdTransitionAnimation = (_, opts) => {
|
|
13
13
|
var _a, _b, _c;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
const ionicGlobal = require('./ionic-global-
|
|
6
|
+
const ionicGlobal = require('./ionic-global-f81d8b73.js');
|
|
7
7
|
const frameworkDelegate = require('./framework-delegate-c0873a6f.js');
|
|
8
8
|
const hardwareBackButton = require('./hardware-back-button-b67c8e75.js');
|
|
9
9
|
const helpers = require('./helpers-ea4ccbcb.js');
|
|
@@ -47,18 +47,6 @@
|
|
|
47
47
|
}
|
|
48
48
|
|
|
49
49
|
:host(.menu-side-start) .menu-inner {
|
|
50
|
-
/**
|
|
51
|
-
* Menu does not cover the whole screen so we need to set the safe area for the
|
|
52
|
-
* side that touches the screen edge only. Since safe area is not logical, it
|
|
53
|
-
* needs to be applied to the correct side depending on the language direction.
|
|
54
|
-
* Otherwise, the content will have less space on both sides.
|
|
55
|
-
*
|
|
56
|
-
* LTR:
|
|
57
|
-
* The left side of the menu touches the screen edge. The safe area padding has
|
|
58
|
-
* already been set in the core styles, so there's no need to set it again.
|
|
59
|
-
* The right side of the menu is not touching the screen edge. Padding is not
|
|
60
|
-
* applied to the right side of the menu. A value of 0 is set.
|
|
61
|
-
*/
|
|
62
50
|
--ion-safe-area-right: 0px;
|
|
63
51
|
top: 0;
|
|
64
52
|
bottom: 0;
|
|
@@ -89,55 +77,8 @@
|
|
|
89
77
|
}
|
|
90
78
|
}
|
|
91
79
|
}
|
|
92
|
-
:host-context([dir=rtl]):host(.menu-side-start) .menu-inner, :host-context([dir=rtl]).menu-side-start .menu-inner {
|
|
93
|
-
/**
|
|
94
|
-
* Menu does not cover the whole screen so we need to set the safe area for the
|
|
95
|
-
* side that touches the screen edge only. Since safe area is not logical, it
|
|
96
|
-
* needs to be applied to the correct side depending on the language direction.
|
|
97
|
-
* Otherwise, the content will have less space on both sides.
|
|
98
|
-
*
|
|
99
|
-
* RTL:
|
|
100
|
-
* The right side of the menu touches the screen edge. The safe area padding has
|
|
101
|
-
* already been set in the core styles, so there's no need to set it again.
|
|
102
|
-
* The left side of the menu is not touching the screen edge. Padding is not
|
|
103
|
-
* applied to the left side of the menu. A value of 0 is set.
|
|
104
|
-
*/
|
|
105
|
-
--ion-safe-area-right: env(safe-area-inset-right);
|
|
106
|
-
--ion-safe-area-left: 0px;
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
@supports selector(:dir(rtl)) {
|
|
110
|
-
:host(.menu-side-start) .menu-inner:dir(rtl) {
|
|
111
|
-
/**
|
|
112
|
-
* Menu does not cover the whole screen so we need to set the safe area for the
|
|
113
|
-
* side that touches the screen edge only. Since safe area is not logical, it
|
|
114
|
-
* needs to be applied to the correct side depending on the language direction.
|
|
115
|
-
* Otherwise, the content will have less space on both sides.
|
|
116
|
-
*
|
|
117
|
-
* RTL:
|
|
118
|
-
* The right side of the menu touches the screen edge. The safe area padding has
|
|
119
|
-
* already been set in the core styles, so there's no need to set it again.
|
|
120
|
-
* The left side of the menu is not touching the screen edge. Padding is not
|
|
121
|
-
* applied to the left side of the menu. A value of 0 is set.
|
|
122
|
-
*/
|
|
123
|
-
--ion-safe-area-right: env(safe-area-inset-right);
|
|
124
|
-
--ion-safe-area-left: 0px;
|
|
125
|
-
}
|
|
126
|
-
}
|
|
127
80
|
|
|
128
81
|
:host(.menu-side-end) .menu-inner {
|
|
129
|
-
/**
|
|
130
|
-
* Menu does not cover the whole screen so we need to set the safe area for the
|
|
131
|
-
* side that touches the screen edge only. Since safe area is not logical, it
|
|
132
|
-
* needs to be applied to the correct side depending on the language direction.
|
|
133
|
-
* Otherwise, the content will have less space on both sides.
|
|
134
|
-
*
|
|
135
|
-
* LTR:
|
|
136
|
-
* The right side of the menu touches the screen edge. The safe area padding has
|
|
137
|
-
* already been set in the core styles, so there's no need to set it again.
|
|
138
|
-
* The left side of the menu is not touching the screen edge. Padding is not
|
|
139
|
-
* applied to the left side of the menu. A value of 0 is set.
|
|
140
|
-
*/
|
|
141
82
|
--ion-safe-area-left: 0px;
|
|
142
83
|
top: 0;
|
|
143
84
|
bottom: 0;
|
|
@@ -168,41 +109,6 @@
|
|
|
168
109
|
}
|
|
169
110
|
}
|
|
170
111
|
}
|
|
171
|
-
:host-context([dir=rtl]):host(.menu-side-end) .menu-inner, :host-context([dir=rtl]).menu-side-end .menu-inner {
|
|
172
|
-
/**
|
|
173
|
-
* Menu does not cover the whole screen so we need to set the safe area for the
|
|
174
|
-
* side that touches the screen edge only. Since safe area is not logical, it
|
|
175
|
-
* needs to be applied to the correct side depending on the language direction.
|
|
176
|
-
* Otherwise, the content will have less space on both sides.
|
|
177
|
-
*
|
|
178
|
-
* RTL:
|
|
179
|
-
* The left side of the menu touches the screen edge. The safe area padding has
|
|
180
|
-
* already been set in the core styles, so there's no need to set it again.
|
|
181
|
-
* The right side of the menu is not touching the screen edge. Padding is not
|
|
182
|
-
* applied to the right side of the menu. A value of 0 is set.
|
|
183
|
-
*/
|
|
184
|
-
--ion-safe-area-left: env(safe-area-inset-left);
|
|
185
|
-
--ion-safe-area-right: 0px;
|
|
186
|
-
}
|
|
187
|
-
|
|
188
|
-
@supports selector(:dir(rtl)) {
|
|
189
|
-
:host(.menu-side-end) .menu-inner:dir(rtl) {
|
|
190
|
-
/**
|
|
191
|
-
* Menu does not cover the whole screen so we need to set the safe area for the
|
|
192
|
-
* side that touches the screen edge only. Since safe area is not logical, it
|
|
193
|
-
* needs to be applied to the correct side depending on the language direction.
|
|
194
|
-
* Otherwise, the content will have less space on both sides.
|
|
195
|
-
*
|
|
196
|
-
* RTL:
|
|
197
|
-
* The left side of the menu touches the screen edge. The safe area padding has
|
|
198
|
-
* already been set in the core styles, so there's no need to set it again.
|
|
199
|
-
* The right side of the menu is not touching the screen edge. Padding is not
|
|
200
|
-
* applied to the right side of the menu. A value of 0 is set.
|
|
201
|
-
*/
|
|
202
|
-
--ion-safe-area-left: env(safe-area-inset-left);
|
|
203
|
-
--ion-safe-area-right: 0px;
|
|
204
|
-
}
|
|
205
|
-
}
|
|
206
112
|
|
|
207
113
|
ion-backdrop {
|
|
208
114
|
display: none;
|
|
@@ -47,18 +47,6 @@
|
|
|
47
47
|
}
|
|
48
48
|
|
|
49
49
|
:host(.menu-side-start) .menu-inner {
|
|
50
|
-
/**
|
|
51
|
-
* Menu does not cover the whole screen so we need to set the safe area for the
|
|
52
|
-
* side that touches the screen edge only. Since safe area is not logical, it
|
|
53
|
-
* needs to be applied to the correct side depending on the language direction.
|
|
54
|
-
* Otherwise, the content will have less space on both sides.
|
|
55
|
-
*
|
|
56
|
-
* LTR:
|
|
57
|
-
* The left side of the menu touches the screen edge. The safe area padding has
|
|
58
|
-
* already been set in the core styles, so there's no need to set it again.
|
|
59
|
-
* The right side of the menu is not touching the screen edge. Padding is not
|
|
60
|
-
* applied to the right side of the menu. A value of 0 is set.
|
|
61
|
-
*/
|
|
62
50
|
--ion-safe-area-right: 0px;
|
|
63
51
|
top: 0;
|
|
64
52
|
bottom: 0;
|
|
@@ -89,55 +77,8 @@
|
|
|
89
77
|
}
|
|
90
78
|
}
|
|
91
79
|
}
|
|
92
|
-
:host-context([dir=rtl]):host(.menu-side-start) .menu-inner, :host-context([dir=rtl]).menu-side-start .menu-inner {
|
|
93
|
-
/**
|
|
94
|
-
* Menu does not cover the whole screen so we need to set the safe area for the
|
|
95
|
-
* side that touches the screen edge only. Since safe area is not logical, it
|
|
96
|
-
* needs to be applied to the correct side depending on the language direction.
|
|
97
|
-
* Otherwise, the content will have less space on both sides.
|
|
98
|
-
*
|
|
99
|
-
* RTL:
|
|
100
|
-
* The right side of the menu touches the screen edge. The safe area padding has
|
|
101
|
-
* already been set in the core styles, so there's no need to set it again.
|
|
102
|
-
* The left side of the menu is not touching the screen edge. Padding is not
|
|
103
|
-
* applied to the left side of the menu. A value of 0 is set.
|
|
104
|
-
*/
|
|
105
|
-
--ion-safe-area-right: env(safe-area-inset-right);
|
|
106
|
-
--ion-safe-area-left: 0px;
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
@supports selector(:dir(rtl)) {
|
|
110
|
-
:host(.menu-side-start) .menu-inner:dir(rtl) {
|
|
111
|
-
/**
|
|
112
|
-
* Menu does not cover the whole screen so we need to set the safe area for the
|
|
113
|
-
* side that touches the screen edge only. Since safe area is not logical, it
|
|
114
|
-
* needs to be applied to the correct side depending on the language direction.
|
|
115
|
-
* Otherwise, the content will have less space on both sides.
|
|
116
|
-
*
|
|
117
|
-
* RTL:
|
|
118
|
-
* The right side of the menu touches the screen edge. The safe area padding has
|
|
119
|
-
* already been set in the core styles, so there's no need to set it again.
|
|
120
|
-
* The left side of the menu is not touching the screen edge. Padding is not
|
|
121
|
-
* applied to the left side of the menu. A value of 0 is set.
|
|
122
|
-
*/
|
|
123
|
-
--ion-safe-area-right: env(safe-area-inset-right);
|
|
124
|
-
--ion-safe-area-left: 0px;
|
|
125
|
-
}
|
|
126
|
-
}
|
|
127
80
|
|
|
128
81
|
:host(.menu-side-end) .menu-inner {
|
|
129
|
-
/**
|
|
130
|
-
* Menu does not cover the whole screen so we need to set the safe area for the
|
|
131
|
-
* side that touches the screen edge only. Since safe area is not logical, it
|
|
132
|
-
* needs to be applied to the correct side depending on the language direction.
|
|
133
|
-
* Otherwise, the content will have less space on both sides.
|
|
134
|
-
*
|
|
135
|
-
* LTR:
|
|
136
|
-
* The right side of the menu touches the screen edge. The safe area padding has
|
|
137
|
-
* already been set in the core styles, so there's no need to set it again.
|
|
138
|
-
* The left side of the menu is not touching the screen edge. Padding is not
|
|
139
|
-
* applied to the left side of the menu. A value of 0 is set.
|
|
140
|
-
*/
|
|
141
82
|
--ion-safe-area-left: 0px;
|
|
142
83
|
top: 0;
|
|
143
84
|
bottom: 0;
|
|
@@ -168,41 +109,6 @@
|
|
|
168
109
|
}
|
|
169
110
|
}
|
|
170
111
|
}
|
|
171
|
-
:host-context([dir=rtl]):host(.menu-side-end) .menu-inner, :host-context([dir=rtl]).menu-side-end .menu-inner {
|
|
172
|
-
/**
|
|
173
|
-
* Menu does not cover the whole screen so we need to set the safe area for the
|
|
174
|
-
* side that touches the screen edge only. Since safe area is not logical, it
|
|
175
|
-
* needs to be applied to the correct side depending on the language direction.
|
|
176
|
-
* Otherwise, the content will have less space on both sides.
|
|
177
|
-
*
|
|
178
|
-
* RTL:
|
|
179
|
-
* The left side of the menu touches the screen edge. The safe area padding has
|
|
180
|
-
* already been set in the core styles, so there's no need to set it again.
|
|
181
|
-
* The right side of the menu is not touching the screen edge. Padding is not
|
|
182
|
-
* applied to the right side of the menu. A value of 0 is set.
|
|
183
|
-
*/
|
|
184
|
-
--ion-safe-area-left: env(safe-area-inset-left);
|
|
185
|
-
--ion-safe-area-right: 0px;
|
|
186
|
-
}
|
|
187
|
-
|
|
188
|
-
@supports selector(:dir(rtl)) {
|
|
189
|
-
:host(.menu-side-end) .menu-inner:dir(rtl) {
|
|
190
|
-
/**
|
|
191
|
-
* Menu does not cover the whole screen so we need to set the safe area for the
|
|
192
|
-
* side that touches the screen edge only. Since safe area is not logical, it
|
|
193
|
-
* needs to be applied to the correct side depending on the language direction.
|
|
194
|
-
* Otherwise, the content will have less space on both sides.
|
|
195
|
-
*
|
|
196
|
-
* RTL:
|
|
197
|
-
* The left side of the menu touches the screen edge. The safe area padding has
|
|
198
|
-
* already been set in the core styles, so there's no need to set it again.
|
|
199
|
-
* The right side of the menu is not touching the screen edge. Padding is not
|
|
200
|
-
* applied to the right side of the menu. A value of 0 is set.
|
|
201
|
-
*/
|
|
202
|
-
--ion-safe-area-left: env(safe-area-inset-left);
|
|
203
|
-
--ion-safe-area-right: 0px;
|
|
204
|
-
}
|
|
205
|
-
}
|
|
206
112
|
|
|
207
113
|
ion-backdrop {
|
|
208
114
|
display: none;
|
|
@@ -23,11 +23,13 @@
|
|
|
23
23
|
--opacity-scale: 1;
|
|
24
24
|
-moz-osx-font-smoothing: grayscale;
|
|
25
25
|
-webkit-font-smoothing: antialiased;
|
|
26
|
+
-webkit-padding-start: var(--ion-safe-area-left);
|
|
27
|
+
padding-inline-start: var(--ion-safe-area-left);
|
|
28
|
+
-webkit-padding-end: var(--ion-safe-area-right);
|
|
29
|
+
padding-inline-end: var(--ion-safe-area-right);
|
|
26
30
|
display: block;
|
|
27
31
|
position: relative;
|
|
28
32
|
width: 100%;
|
|
29
|
-
padding-right: var(--ion-safe-area-right);
|
|
30
|
-
padding-left: var(--ion-safe-area-left);
|
|
31
33
|
color: var(--color);
|
|
32
34
|
font-family: var(--ion-font-family, inherit);
|
|
33
35
|
contain: content;
|
|
@@ -23,11 +23,13 @@
|
|
|
23
23
|
--opacity-scale: 1;
|
|
24
24
|
-moz-osx-font-smoothing: grayscale;
|
|
25
25
|
-webkit-font-smoothing: antialiased;
|
|
26
|
+
-webkit-padding-start: var(--ion-safe-area-left);
|
|
27
|
+
padding-inline-start: var(--ion-safe-area-left);
|
|
28
|
+
-webkit-padding-end: var(--ion-safe-area-right);
|
|
29
|
+
padding-inline-end: var(--ion-safe-area-right);
|
|
26
30
|
display: block;
|
|
27
31
|
position: relative;
|
|
28
32
|
width: 100%;
|
|
29
|
-
padding-right: var(--ion-safe-area-right);
|
|
30
|
-
padding-left: var(--ion-safe-area-left);
|
|
31
33
|
color: var(--color);
|
|
32
34
|
font-family: var(--ion-font-family, inherit);
|
|
33
35
|
contain: content;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
|
-
import { win } from "../../browser/index";
|
|
5
4
|
import { getScrollElement, scrollByPoint } from "../../content";
|
|
6
5
|
import { raf } from "../../helpers";
|
|
7
6
|
import { KeyboardResize } from "../../native/keyboard";
|
|
@@ -21,112 +20,6 @@ export const enableScrollAssist = (componentEl, inputEl, contentEl, footerEl, ke
|
|
|
21
20
|
* Resize info is available on Capacitor 4+
|
|
22
21
|
*/
|
|
23
22
|
const addScrollPadding = enableScrollPadding && (keyboardResize === undefined || keyboardResize.mode === KeyboardResize.None);
|
|
24
|
-
/**
|
|
25
|
-
* This tracks whether or not the keyboard has been
|
|
26
|
-
* presented for a single focused text field. Note
|
|
27
|
-
* that it does not track if the keyboard is open
|
|
28
|
-
* in general such as if the keyboard is open for
|
|
29
|
-
* a different focused text field.
|
|
30
|
-
*/
|
|
31
|
-
let hasKeyboardBeenPresentedForTextField = false;
|
|
32
|
-
/**
|
|
33
|
-
* When adding scroll padding we need to know
|
|
34
|
-
* how much of the viewport the keyboard obscures.
|
|
35
|
-
* We do this by subtracting the keyboard height
|
|
36
|
-
* from the platform height.
|
|
37
|
-
*
|
|
38
|
-
* If we compute this value when switching between
|
|
39
|
-
* inputs then the webview may already be resized.
|
|
40
|
-
* At this point, `win.innerHeight` has already accounted
|
|
41
|
-
* for the keyboard meaning we would then subtract
|
|
42
|
-
* the keyboard height again. This will result in the input
|
|
43
|
-
* being scrolled more than it needs to.
|
|
44
|
-
*/
|
|
45
|
-
let platformHeight = win !== undefined ? win.innerHeight : 0;
|
|
46
|
-
/**
|
|
47
|
-
* The initial platform height is used to determine the platform
|
|
48
|
-
* height when the webview is fullscreen/the keyboard is closed.
|
|
49
|
-
*/
|
|
50
|
-
const initialPlatformHeight = platformHeight;
|
|
51
|
-
/**
|
|
52
|
-
* Scroll assist is run when a text field
|
|
53
|
-
* is focused. However, it may need to
|
|
54
|
-
* re-run when the keyboard size changes
|
|
55
|
-
* such that the text field is now hidden
|
|
56
|
-
* underneath the keyboard.
|
|
57
|
-
* This function re-runs scroll assist
|
|
58
|
-
* when that happens.
|
|
59
|
-
*
|
|
60
|
-
* One limitation of this is on a web browser
|
|
61
|
-
* where native keyboard APIs do not have cross-browser
|
|
62
|
-
* support. `ionKeyboardDidShow` relies on the Visual Viewport API.
|
|
63
|
-
* This means that if the keyboard changes but does not change
|
|
64
|
-
* geometry, then scroll assist will not re-run even if
|
|
65
|
-
* the user has scrolled the text field under the keyboard.
|
|
66
|
-
* This is not a problem when running in Cordova/Capacitor
|
|
67
|
-
* because `ionKeyboardDidShow` uses the native events
|
|
68
|
-
* which fire every time the keyboard changes.
|
|
69
|
-
*/
|
|
70
|
-
const keyboardShow = (ev) => {
|
|
71
|
-
const { keyboardHeight } = ev.detail;
|
|
72
|
-
/**
|
|
73
|
-
* platformHeight is recomputed every time the keyboard shows
|
|
74
|
-
* to account for any device rotations (i.e. rotating from portrait
|
|
75
|
-
* to landscape). This ensures we are using an accurate platform height.
|
|
76
|
-
*/
|
|
77
|
-
platformHeight = win !== undefined ? win.innerHeight : 0;
|
|
78
|
-
/**
|
|
79
|
-
* If the keyboard has not yet been presented
|
|
80
|
-
* for this text field then the text field has just
|
|
81
|
-
* received focus. In that case, the focusin listener
|
|
82
|
-
* will run scroll assist.
|
|
83
|
-
*/
|
|
84
|
-
if (hasKeyboardBeenPresentedForTextField === false) {
|
|
85
|
-
hasKeyboardBeenPresentedForTextField = true;
|
|
86
|
-
return;
|
|
87
|
-
}
|
|
88
|
-
/*
|
|
89
|
-
* If we are using the Native keyboard resize behavior then
|
|
90
|
-
* the webview will resize when the keyboard is shown. However,
|
|
91
|
-
* this happens asynchronously so the webview is not guaranteed
|
|
92
|
-
* to have resized by the time the keyboard show event is fired.
|
|
93
|
-
* If current platform height is NOT equal to the initial platform height
|
|
94
|
-
* (i.e. the platform height when the keyboard is guaranteed to be closed/the
|
|
95
|
-
* webview is fullsize) then it's possible that the webview has resized.
|
|
96
|
-
* In that case we add the keyboard height to get the real platform height (the
|
|
97
|
-
* height when the keyboard is closed).
|
|
98
|
-
*/
|
|
99
|
-
if (keyboardResize !== undefined &&
|
|
100
|
-
keyboardResize.mode === KeyboardResize.Native &&
|
|
101
|
-
win !== undefined &&
|
|
102
|
-
platformHeight !== initialPlatformHeight) {
|
|
103
|
-
platformHeight += keyboardHeight;
|
|
104
|
-
}
|
|
105
|
-
/**
|
|
106
|
-
* Otherwise, the keyboard has already been presented
|
|
107
|
-
* for the focused text field.
|
|
108
|
-
* This means that the keyboard likely changed
|
|
109
|
-
* geometry, and we need to re-run scroll assist.
|
|
110
|
-
* This can happen when the user rotates their device
|
|
111
|
-
* or when they switch keyboards.
|
|
112
|
-
*
|
|
113
|
-
* Make sure we pass in the computed keyboard height
|
|
114
|
-
* rather than the estimated keyboard height.
|
|
115
|
-
*
|
|
116
|
-
* Since the keyboard is already open then we do not
|
|
117
|
-
* need to wait for the webview to resize, so we pass
|
|
118
|
-
* "waitForResize: false".
|
|
119
|
-
*/
|
|
120
|
-
jsSetFocus(componentEl, inputEl, contentEl, footerEl, keyboardHeight, addScrollPadding, disableClonedInput, platformHeight, false);
|
|
121
|
-
};
|
|
122
|
-
/**
|
|
123
|
-
* Reset the internal state when the text field loses focus.
|
|
124
|
-
*/
|
|
125
|
-
const focusOut = () => {
|
|
126
|
-
hasKeyboardBeenPresentedForTextField = false;
|
|
127
|
-
win === null || win === void 0 ? void 0 : win.removeEventListener('ionKeyboardDidShow', keyboardShow);
|
|
128
|
-
componentEl.removeEventListener('focusout', focusOut, true);
|
|
129
|
-
};
|
|
130
23
|
/**
|
|
131
24
|
* When the input is about to receive
|
|
132
25
|
* focus, we need to move it to prevent
|
|
@@ -143,15 +36,11 @@ export const enableScrollAssist = (componentEl, inputEl, contentEl, footerEl, ke
|
|
|
143
36
|
inputEl.removeAttribute(SKIP_SCROLL_ASSIST);
|
|
144
37
|
return;
|
|
145
38
|
}
|
|
146
|
-
jsSetFocus(componentEl, inputEl, contentEl, footerEl, keyboardHeight, addScrollPadding, disableClonedInput
|
|
147
|
-
win === null || win === void 0 ? void 0 : win.addEventListener('ionKeyboardDidShow', keyboardShow);
|
|
148
|
-
componentEl.addEventListener('focusout', focusOut, true);
|
|
39
|
+
jsSetFocus(componentEl, inputEl, contentEl, footerEl, keyboardHeight, addScrollPadding, disableClonedInput);
|
|
149
40
|
};
|
|
150
41
|
componentEl.addEventListener('focusin', focusIn, true);
|
|
151
42
|
return () => {
|
|
152
43
|
componentEl.removeEventListener('focusin', focusIn, true);
|
|
153
|
-
win === null || win === void 0 ? void 0 : win.removeEventListener('ionKeyboardDidShow', keyboardShow);
|
|
154
|
-
componentEl.removeEventListener('focusout', focusOut, true);
|
|
155
44
|
};
|
|
156
45
|
};
|
|
157
46
|
/**
|
|
@@ -170,11 +59,11 @@ const setManualFocus = (el) => {
|
|
|
170
59
|
el.setAttribute(SKIP_SCROLL_ASSIST, 'true');
|
|
171
60
|
el.focus();
|
|
172
61
|
};
|
|
173
|
-
const jsSetFocus = async (componentEl, inputEl, contentEl, footerEl, keyboardHeight, enableScrollPadding, disableClonedInput = false
|
|
62
|
+
const jsSetFocus = async (componentEl, inputEl, contentEl, footerEl, keyboardHeight, enableScrollPadding, disableClonedInput = false) => {
|
|
174
63
|
if (!contentEl && !footerEl) {
|
|
175
64
|
return;
|
|
176
65
|
}
|
|
177
|
-
const scrollData = getScrollData(componentEl, (contentEl || footerEl), keyboardHeight
|
|
66
|
+
const scrollData = getScrollData(componentEl, (contentEl || footerEl), keyboardHeight);
|
|
178
67
|
if (contentEl && Math.abs(scrollData.scrollAmount) < 4) {
|
|
179
68
|
// the text input is in a safe position that doesn't
|
|
180
69
|
// require it to be scrolled into view, just set focus now
|
|
@@ -261,7 +150,7 @@ const jsSetFocus = async (componentEl, inputEl, contentEl, footerEl, keyboardHei
|
|
|
261
150
|
* bandwidth to become available.
|
|
262
151
|
*/
|
|
263
152
|
const totalScrollAmount = scrollEl.scrollHeight - scrollEl.clientHeight;
|
|
264
|
-
if (
|
|
153
|
+
if (scrollData.scrollAmount > totalScrollAmount - scrollEl.scrollTop) {
|
|
265
154
|
/**
|
|
266
155
|
* On iOS devices, the system will show a "Passwords" bar above the keyboard
|
|
267
156
|
* after the initial keyboard is shown. This prevents the webview from resizing
|
|
@@ -3,10 +3,11 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import { SCROLL_AMOUNT_PADDING } from "./common";
|
|
5
5
|
const SCROLL_ASSIST_SPEED = 0.3;
|
|
6
|
-
export const getScrollData = (componentEl, contentEl, keyboardHeight
|
|
6
|
+
export const getScrollData = (componentEl, contentEl, keyboardHeight) => {
|
|
7
7
|
var _a;
|
|
8
8
|
const itemEl = (_a = componentEl.closest('ion-item,[ion-item]')) !== null && _a !== void 0 ? _a : componentEl;
|
|
9
|
-
return calcScrollData(itemEl.getBoundingClientRect(), contentEl.getBoundingClientRect(), keyboardHeight,
|
|
9
|
+
return calcScrollData(itemEl.getBoundingClientRect(), contentEl.getBoundingClientRect(), keyboardHeight, componentEl.ownerDocument.defaultView.innerHeight // TODO(FW-2832): type
|
|
10
|
+
);
|
|
10
11
|
};
|
|
11
12
|
const calcScrollData = (inputRect, contentRect, keyboardHeight, platformHeight) => {
|
|
12
13
|
// compute input's Y values relative to the body
|
package/dist/docs.json
CHANGED