@ionic/core 7.3.1-dev.11692293668.19f31f09 → 7.3.1-dev.11692799508.1d7ba666
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/button.js +16 -0
- package/components/input-shims.js +2 -76
- package/components/ion-input.js +1 -1
- package/components/ion-textarea.js +1 -1
- package/dist/cjs/{app-globals-a579aafd.js → app-globals-a264e098.js} +1 -1
- package/dist/cjs/{button-active-dfd2756e.js → button-active-989e4646.js} +1 -1
- package/dist/cjs/{index-484b1104.js → index-8b8cc4f0.js} +9 -85
- package/dist/cjs/{index-8568bedb.js → index-c79fde48.js} +3 -3
- package/dist/cjs/{index-653be4df.js → index-d9ce0677.js} +1 -1
- package/dist/cjs/index.cjs.js +7 -7
- package/dist/cjs/{input-shims-d8e322aa.js → input-shims-f8569707.js} +2 -76
- package/dist/cjs/ion-accordion_2.cjs.entry.js +2 -2
- 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 +5 -5
- package/dist/cjs/ion-avatar_3.cjs.entry.js +2 -2
- package/dist/cjs/ion-back-button.cjs.entry.js +2 -2
- package/dist/cjs/ion-backdrop.cjs.entry.js +2 -2
- package/dist/cjs/ion-breadcrumb_2.cjs.entry.js +2 -2
- package/dist/cjs/ion-button_2.cjs.entry.js +18 -2
- 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 +3 -3
- package/dist/cjs/ion-fab_3.cjs.entry.js +2 -2
- 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 +2 -2
- package/dist/cjs/ion-loading.cjs.entry.js +3 -3
- package/dist/cjs/ion-menu_3.cjs.entry.js +4 -4
- 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 +2 -2
- package/dist/cjs/ion-reorder_2.cjs.entry.js +2 -2
- 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 +2 -2
- package/dist/cjs/ion-segment_2.cjs.entry.js +2 -2
- package/dist/cjs/ion-select_3.cjs.entry.js +3 -3
- 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 +3 -3
- package/dist/cjs/ion-toast.cjs.entry.js +3 -3
- package/dist/cjs/ion-toggle.cjs.entry.js +2 -2
- package/dist/cjs/{ionic-global-f81d8b73.js → ionic-global-fedc2b90.js} +1 -1
- package/dist/cjs/ionic.cjs.js +4 -4
- package/dist/cjs/{ios.transition-f7c78d7c.js → ios.transition-0fb27b5a.js} +2 -2
- package/dist/cjs/loader.cjs.js +4 -4
- package/dist/cjs/{md.transition-65dc7dce.js → md.transition-7d8e50c5.js} +2 -2
- package/dist/cjs/{overlays-0ea06fcb.js → overlays-193cee18.js} +1 -1
- package/dist/cjs/{status-tap-4564b66c.js → status-tap-bd298531.js} +1 -1
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/button/button.js +16 -0
- package/dist/collection/components/input/input.js +1 -1
- package/dist/collection/components/input/test/clear-on-edit/input.e2e.js +33 -0
- package/dist/collection/components/textarea/test/clear-on-edit/textarea.e2e.js +25 -0
- package/dist/collection/components/textarea/textarea.js +1 -1
- package/dist/collection/utils/input-shims/hacks/scroll-assist.js +2 -76
- package/dist/collection/utils/slot-mutation-controller.js +1 -1
- package/dist/docs.d.ts +240 -322
- package/dist/docs.json +3 -3
- package/dist/esm/{app-globals-e8ddf830.js → app-globals-fd465772.js} +1 -1
- package/dist/esm/{button-active-2da0f611.js → button-active-ca3f9d01.js} +1 -1
- package/dist/esm/{index-847f2fde.js → index-70d99ffc.js} +9 -85
- package/dist/esm/{index-6391de89.js → index-86eb68c3.js} +3 -3
- package/dist/esm/{index-b3e05099.js → index-ccf7640c.js} +1 -1
- package/dist/esm/index.js +7 -7
- package/dist/esm/{input-shims-c738363e.js → input-shims-af993f05.js} +2 -76
- package/dist/esm/ion-accordion_2.entry.js +2 -2
- 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 +5 -5
- package/dist/esm/ion-avatar_3.entry.js +2 -2
- package/dist/esm/ion-back-button.entry.js +2 -2
- package/dist/esm/ion-backdrop.entry.js +2 -2
- package/dist/esm/ion-breadcrumb_2.entry.js +2 -2
- package/dist/esm/ion-button_2.entry.js +18 -2
- 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 +3 -3
- package/dist/esm/ion-fab_3.entry.js +2 -2
- 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 +2 -2
- package/dist/esm/ion-loading.entry.js +3 -3
- package/dist/esm/ion-menu_3.entry.js +4 -4
- 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 +2 -2
- package/dist/esm/ion-reorder_2.entry.js +2 -2
- 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 +2 -2
- package/dist/esm/ion-segment_2.entry.js +2 -2
- package/dist/esm/ion-select_3.entry.js +3 -3
- 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 +3 -3
- package/dist/esm/ion-toast.entry.js +3 -3
- package/dist/esm/ion-toggle.entry.js +2 -2
- package/dist/esm/{ionic-global-1ef19007.js → ionic-global-e88a1dad.js} +1 -1
- package/dist/esm/ionic.js +5 -5
- package/dist/esm/{ios.transition-3137d23e.js → ios.transition-fb95e6d3.js} +2 -2
- package/dist/esm/loader.js +5 -5
- package/dist/esm/{md.transition-48b3b77c.js → md.transition-5d6ecb91.js} +2 -2
- package/dist/esm/{overlays-c3387ec0.js → overlays-10ba06f0.js} +1 -1
- package/dist/esm/{status-tap-823a0df3.js → status-tap-ed20e939.js} +1 -1
- package/dist/esm-es5/app-globals-fd465772.js +4 -0
- package/dist/esm-es5/{button-active-2da0f611.js → button-active-ca3f9d01.js} +1 -1
- package/dist/esm-es5/{index-847f2fde.js → index-70d99ffc.js} +1 -1
- package/dist/esm-es5/{index-6391de89.js → index-86eb68c3.js} +1 -1
- package/dist/esm-es5/{index-b3e05099.js → index-ccf7640c.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-1ef19007.js → ionic-global-e88a1dad.js} +1 -1
- package/dist/esm-es5/ionic.js +1 -1
- package/dist/esm-es5/{ios.transition-3137d23e.js → ios.transition-fb95e6d3.js} +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/{md.transition-48b3b77c.js → md.transition-5d6ecb91.js} +1 -1
- package/dist/esm-es5/{overlays-c3387ec0.js → overlays-10ba06f0.js} +1 -1
- package/dist/esm-es5/{status-tap-823a0df3.js → status-tap-ed20e939.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-423d5a4d.entry.js → p-0122956c.entry.js} +1 -1
- package/dist/ionic/p-037b8d72.system.entry.js +4 -0
- package/dist/ionic/{p-96c2a273.system.entry.js → p-04abed42.system.entry.js} +1 -1
- package/dist/ionic/{p-0053fe81.system.entry.js → p-05ce217a.system.entry.js} +1 -1
- package/dist/ionic/{p-82f8ee51.entry.js → p-06f7e890.entry.js} +1 -1
- package/dist/ionic/p-07f42dec.system.js +5 -0
- package/dist/ionic/p-08109158.system.js +4 -0
- package/dist/ionic/{p-06f1f560.system.entry.js → p-0b7f3cc1.system.entry.js} +1 -1
- package/dist/ionic/p-0cad1c08.entry.js +4 -0
- package/dist/ionic/{p-e112994b.system.entry.js → p-10cf0148.system.entry.js} +1 -1
- package/dist/ionic/{p-98a189f3.entry.js → p-10dac2e4.entry.js} +1 -1
- package/dist/ionic/{p-11248f01.js → p-121d1c2e.js} +1 -1
- package/dist/ionic/{p-d3b8aebf.entry.js → p-1950bdfd.entry.js} +1 -1
- package/dist/ionic/{p-785b0913.entry.js → p-1d6468d5.entry.js} +1 -1
- package/dist/ionic/p-20155794.js +4 -0
- package/dist/ionic/{p-229df0d8.entry.js → p-20441be8.entry.js} +1 -1
- package/dist/ionic/{p-2cdcd6f2.entry.js → p-235e2314.entry.js} +1 -1
- package/dist/ionic/{p-5c96dc4e.entry.js → p-29275097.entry.js} +1 -1
- package/dist/ionic/{p-b9312889.entry.js → p-2cf1a687.entry.js} +1 -1
- package/dist/ionic/{p-32d11ce2.system.entry.js → p-2e1bac68.system.entry.js} +1 -1
- package/dist/ionic/{p-e53b8af4.system.entry.js → p-2f727c33.system.entry.js} +1 -1
- package/dist/ionic/{p-11a42c03.system.entry.js → p-2fd2eb1b.system.entry.js} +2 -2
- package/dist/ionic/{p-06d6e9c0.system.entry.js → p-3143b485.system.entry.js} +1 -1
- package/dist/ionic/{p-2da3e015.system.entry.js → p-34f85efb.system.entry.js} +1 -1
- package/dist/ionic/{p-fea46870.system.entry.js → p-354dc88c.system.entry.js} +1 -1
- package/dist/ionic/{p-91459620.js → p-3d0a72a2.js} +1 -1
- package/dist/ionic/{p-e9c112ba.entry.js → p-3e44f9aa.entry.js} +1 -1
- package/dist/ionic/{p-d8538837.entry.js → p-3fee7f7d.entry.js} +1 -1
- package/dist/ionic/{p-5ef91692.js → p-405dfcd1.js} +1 -1
- package/dist/ionic/{p-b9654781.system.entry.js → p-40980493.system.entry.js} +1 -1
- package/dist/ionic/{p-77913af5.entry.js → p-42756631.entry.js} +1 -1
- package/dist/ionic/{p-b22ee0dc.js → p-439a4f2f.js} +1 -1
- package/dist/ionic/{p-99028088.entry.js → p-440aa25d.entry.js} +1 -1
- package/dist/ionic/{p-430e902d.entry.js → p-44667719.entry.js} +1 -1
- package/dist/ionic/p-4531b920.system.js +4 -0
- package/dist/ionic/{p-df6743df.system.js → p-46ec8a6b.system.js} +1 -1
- package/dist/ionic/{p-d79af848.system.entry.js → p-471d2ea1.system.entry.js} +1 -1
- package/dist/ionic/{p-99140340.entry.js → p-47237241.entry.js} +1 -1
- package/dist/ionic/p-497afd6b.js +4 -0
- package/dist/ionic/{p-839bd69f.system.entry.js → p-4b53d30a.system.entry.js} +1 -1
- package/dist/ionic/{p-dc49c681.system.entry.js → p-4d545564.system.entry.js} +1 -1
- package/dist/ionic/{p-2bc49e5d.system.entry.js → p-50978d50.system.entry.js} +1 -1
- package/dist/ionic/{p-0660215f.entry.js → p-5303738b.entry.js} +1 -1
- package/dist/ionic/{p-e3cba96d.js → p-53dccd56.js} +1 -1
- package/dist/ionic/{p-77f91ca9.entry.js → p-5805b86e.entry.js} +1 -1
- package/dist/ionic/{p-c4afbed8.system.entry.js → p-59639003.system.entry.js} +1 -1
- package/dist/ionic/{p-f5b7b710.system.entry.js → p-5aba7c57.system.entry.js} +1 -1
- package/dist/ionic/{p-ccea9adc.system.entry.js → p-5b88aead.system.entry.js} +1 -1
- package/dist/ionic/{p-fe83e3e2.entry.js → p-5bc7d636.entry.js} +1 -1
- package/dist/ionic/{p-fa3327e8.system.entry.js → p-5c8cff6b.system.entry.js} +1 -1
- package/dist/ionic/{p-69303bb5.system.js → p-60273907.system.js} +1 -1
- package/dist/ionic/p-64142d00.js +5 -0
- package/dist/ionic/{p-737a8573.entry.js → p-6707cf74.entry.js} +1 -1
- package/dist/ionic/{p-ed7b205b.entry.js → p-6750cb67.entry.js} +1 -1
- package/dist/ionic/{p-d5e3bff3.entry.js → p-694be610.entry.js} +1 -1
- package/dist/ionic/{p-daec2f17.system.entry.js → p-6c0d21ad.system.entry.js} +1 -1
- package/dist/ionic/{p-8fa43732.system.entry.js → p-6cadc1fe.system.entry.js} +1 -1
- package/dist/ionic/{p-1ec4dc01.entry.js → p-70db1dc5.entry.js} +1 -1
- package/dist/ionic/{p-8ba724fa.system.js → p-714270bd.system.js} +1 -1
- package/dist/ionic/{p-6b9bf14c.system.entry.js → p-726b88e4.system.entry.js} +1 -1
- package/dist/ionic/{p-9b3c3564.entry.js → p-72ccb986.entry.js} +1 -1
- package/dist/ionic/{p-ac80da6c.system.entry.js → p-77076bd4.system.entry.js} +1 -1
- package/dist/ionic/{p-8a676776.entry.js → p-777ecf06.entry.js} +1 -1
- package/dist/ionic/p-782e60c5.js +4 -0
- package/dist/ionic/{p-d5db0834.system.entry.js → p-79479e35.system.entry.js} +1 -1
- package/dist/ionic/p-7a4653fb.entry.js +4 -0
- package/dist/ionic/{p-74723f41.entry.js → p-7e3ea28f.entry.js} +1 -1
- package/dist/ionic/{p-81b46714.system.js → p-839db6d2.system.js} +1 -1
- package/dist/ionic/{p-8b55f026.entry.js → p-876d31cc.entry.js} +1 -1
- package/dist/ionic/{p-0142ba6d.entry.js → p-882dcea5.entry.js} +1 -1
- package/dist/ionic/{p-29b3e70a.entry.js → p-8b4f07f2.entry.js} +1 -1
- package/dist/ionic/{p-ba6f7490.system.entry.js → p-8e59040f.system.entry.js} +1 -1
- package/dist/ionic/{p-9c32000a.entry.js → p-92816df1.entry.js} +1 -1
- package/dist/ionic/{p-81597423.system.js → p-948015ba.system.js} +1 -1
- package/dist/ionic/{p-c0d1e5a1.entry.js → p-980bb9a8.entry.js} +1 -1
- package/dist/ionic/{p-b2514862.system.entry.js → p-9abf4074.system.entry.js} +1 -1
- package/dist/ionic/{p-a3f9d271.entry.js → p-9ba29e45.entry.js} +1 -1
- package/dist/ionic/{p-7b16490a.system.js → p-9be7fdf8.system.js} +1 -1
- package/dist/ionic/{p-6b3afb0f.entry.js → p-9d04d146.entry.js} +1 -1
- package/dist/ionic/{p-68e0ea3c.entry.js → p-9d86c6cb.entry.js} +1 -1
- package/dist/ionic/p-9efd3a45.js +4 -0
- package/dist/ionic/{p-98b618ce.system.entry.js → p-9f16bed3.system.entry.js} +1 -1
- package/dist/ionic/{p-dbb48066.system.entry.js → p-a15d42b1.system.entry.js} +1 -1
- package/dist/ionic/{p-0ff17c93.entry.js → p-a2afc825.entry.js} +1 -1
- package/dist/ionic/{p-2936ec7f.system.entry.js → p-a2e7a6eb.system.entry.js} +1 -1
- package/dist/ionic/p-a606d401.entry.js +4 -0
- package/dist/ionic/{p-83bcaec9.system.entry.js → p-a696138c.system.entry.js} +1 -1
- package/dist/ionic/{p-336420f9.system.entry.js → p-a777febf.system.entry.js} +1 -1
- package/dist/ionic/{p-61769039.entry.js → p-a7b3c9aa.entry.js} +1 -1
- package/dist/ionic/{p-0219ac12.system.entry.js → p-a9136452.system.entry.js} +1 -1
- package/dist/ionic/{p-b22ee955.system.entry.js → p-ae35ae07.system.entry.js} +1 -1
- package/dist/ionic/{p-2061c86f.system.entry.js → p-af665a4e.system.entry.js} +1 -1
- package/dist/ionic/{p-d1356034.system.entry.js → p-b08cafda.system.entry.js} +1 -1
- package/dist/ionic/{p-f95f798a.system.entry.js → p-b0c841c7.system.entry.js} +1 -1
- package/dist/ionic/{p-fac1660b.entry.js → p-b7383b7c.entry.js} +1 -1
- package/dist/ionic/{p-d3378c35.entry.js → p-b76b2d9a.entry.js} +1 -1
- package/dist/ionic/{p-e805ff9f.system.entry.js → p-bdc96d71.system.entry.js} +1 -1
- package/dist/ionic/{p-d1bab5e7.system.entry.js → p-c6fa0239.system.entry.js} +1 -1
- package/dist/ionic/p-c9444e60.entry.js +4 -0
- package/dist/ionic/{p-6405e9f0.system.js → p-cceafe13.system.js} +1 -1
- package/dist/ionic/{p-5b88f780.entry.js → p-d5bc2122.entry.js} +1 -1
- package/dist/ionic/{p-db46fc66.system.js → p-d6bca398.system.js} +1 -1
- package/dist/ionic/{p-83008f7c.system.js → p-d7614175.system.js} +1 -1
- package/dist/ionic/{p-e5a92aa9.entry.js → p-d7e82551.entry.js} +1 -1
- package/dist/ionic/{p-fd42994b.system.entry.js → p-d7fcf10b.system.entry.js} +1 -1
- package/dist/ionic/{p-639d7b25.entry.js → p-d85f8dc2.entry.js} +1 -1
- package/dist/ionic/p-d898dd46.js +4 -0
- package/dist/ionic/{p-65403c81.system.entry.js → p-dd0f1ae3.system.entry.js} +1 -1
- package/dist/ionic/{p-bf4b8d8a.system.entry.js → p-e1329f0b.system.entry.js} +1 -1
- package/dist/ionic/p-e6adac22.system.js +4 -0
- package/dist/ionic/{p-6bf632d0.system.entry.js → p-e9cef284.system.entry.js} +1 -1
- package/dist/ionic/{p-f78e60a5.entry.js → p-ebfa6bb9.entry.js} +1 -1
- package/dist/ionic/{p-79e30193.system.entry.js → p-ede8d71d.system.entry.js} +1 -1
- package/dist/ionic/{p-1d82df31.system.entry.js → p-f0bb9e16.system.entry.js} +1 -1
- package/dist/ionic/p-f4e06456.entry.js +4 -0
- package/dist/ionic/{p-57dc87eb.system.entry.js → p-fe9531c1.system.entry.js} +1 -1
- package/dist/types/components/button/button.d.ts +9 -0
- package/dist/types/components/picker/picker-interface.d.ts +3 -0
- package/dist/types/stencil-public-runtime.d.ts +2 -6
- package/hydrate/index.d.ts +1 -1
- package/hydrate/index.js +39 -26
- package/loader/index.d.ts +1 -1
- package/package.json +3 -3
- package/dist/esm-es5/app-globals-e8ddf830.js +0 -4
- package/dist/esm-es5/input-shims-c738363e.js +0 -4
- package/dist/ionic/p-156967ec.js +0 -5
- package/dist/ionic/p-273e78ae.entry.js +0 -4
- package/dist/ionic/p-3ef88fc2.system.entry.js +0 -4
- package/dist/ionic/p-5b553dc0.system.js +0 -5
- package/dist/ionic/p-64ad5765.entry.js +0 -4
- package/dist/ionic/p-6876a2da.entry.js +0 -4
- package/dist/ionic/p-778460f7.js +0 -4
- package/dist/ionic/p-7c938ad6.js +0 -4
- package/dist/ionic/p-82632e15.system.js +0 -4
- package/dist/ionic/p-a0f1be8d.entry.js +0 -4
- package/dist/ionic/p-a2b25750.js +0 -4
- package/dist/ionic/p-a62c0ff4.js +0 -4
- package/dist/ionic/p-c254bde2.js +0 -4
- package/dist/ionic/p-c53dd7a2.entry.js +0 -4
- package/dist/ionic/p-e3d5608d.system.js +0 -4
- package/dist/ionic/p-f58cbf92.system.js +0 -4
|
@@ -20,68 +20,6 @@ export const enableScrollAssist = (componentEl, inputEl, contentEl, footerEl, ke
|
|
|
20
20
|
* Resize info is available on Capacitor 4+
|
|
21
21
|
*/
|
|
22
22
|
const addScrollPadding = enableScrollPadding && (keyboardResize === undefined || keyboardResize.mode === KeyboardResize.None);
|
|
23
|
-
/**
|
|
24
|
-
* This tracks whether or not the keyboard has been
|
|
25
|
-
* presented for a single focused text field. Note
|
|
26
|
-
* that it does not track if the keyboard is open
|
|
27
|
-
* in general such as if the keyboard is open for
|
|
28
|
-
* a different focused text field.
|
|
29
|
-
*/
|
|
30
|
-
let hasKeyboardBeenPresentedForTextField = false;
|
|
31
|
-
/**
|
|
32
|
-
* Scroll assist is run when a text field
|
|
33
|
-
* is focused. However, it may need to
|
|
34
|
-
* re-run when the keyboard size changes
|
|
35
|
-
* such that the text field is now hidden
|
|
36
|
-
* underneath the keyboard.
|
|
37
|
-
* This function re-runs scroll assist
|
|
38
|
-
* when that happens.
|
|
39
|
-
*
|
|
40
|
-
* One limitation of this is on a web browser
|
|
41
|
-
* where native keyboard APIs do not have cross-browser
|
|
42
|
-
* support. `ionKeyboardDidShow` relies on the Visual Viewport API.
|
|
43
|
-
* This means that if the keyboard changes but does not change
|
|
44
|
-
* geometry, then scroll assist will not re-run even if
|
|
45
|
-
* the user has scrolled the text field under the keyboard.
|
|
46
|
-
* This should not be a problem when running in Cordova/Capacitor
|
|
47
|
-
* because `ionKeyboardDidShow` uses the native events
|
|
48
|
-
* which fire every time the keyboard changes.
|
|
49
|
-
*/
|
|
50
|
-
const keyboardShow = (ev) => {
|
|
51
|
-
/**
|
|
52
|
-
* If the keyboard has not yet been presented
|
|
53
|
-
* for this text field then the text field has just
|
|
54
|
-
* received focus. In that case, the focusin listener
|
|
55
|
-
* will run scroll assist.
|
|
56
|
-
*/
|
|
57
|
-
if (hasKeyboardBeenPresentedForTextField === false) {
|
|
58
|
-
hasKeyboardBeenPresentedForTextField = true;
|
|
59
|
-
return;
|
|
60
|
-
}
|
|
61
|
-
/**
|
|
62
|
-
* Otherwise, the keyboard has already been presented
|
|
63
|
-
* for the focused text field.
|
|
64
|
-
* This means that the keyboard likely changed
|
|
65
|
-
* geometry, and we need to re-run scroll assist.
|
|
66
|
-
* This can happen when the user rotates their device
|
|
67
|
-
* or when they switch keyboards.
|
|
68
|
-
*
|
|
69
|
-
* Make sure we pass in the computed keyboard height
|
|
70
|
-
* rather than the estimated keyboard height.
|
|
71
|
-
*
|
|
72
|
-
* Since the keyboard is already open then we do not
|
|
73
|
-
* need to wait for the webview to resize, so we pass
|
|
74
|
-
* "waitForResize: false".
|
|
75
|
-
*/
|
|
76
|
-
jsSetFocus(componentEl, inputEl, contentEl, footerEl, ev.detail.keyboardHeight, addScrollPadding, disableClonedInput, false);
|
|
77
|
-
};
|
|
78
|
-
/**
|
|
79
|
-
* Reset the internal state when the text field loses focus.
|
|
80
|
-
*/
|
|
81
|
-
const focusOut = () => {
|
|
82
|
-
hasKeyboardBeenPresentedForTextField = false;
|
|
83
|
-
window.removeEventListener('ionKeyboardDidShow', keyboardShow);
|
|
84
|
-
};
|
|
85
23
|
/**
|
|
86
24
|
* When the input is about to receive
|
|
87
25
|
* focus, we need to move it to prevent
|
|
@@ -99,22 +37,10 @@ export const enableScrollAssist = (componentEl, inputEl, contentEl, footerEl, ke
|
|
|
99
37
|
return;
|
|
100
38
|
}
|
|
101
39
|
jsSetFocus(componentEl, inputEl, contentEl, footerEl, keyboardHeight, addScrollPadding, disableClonedInput);
|
|
102
|
-
/**
|
|
103
|
-
* Listen for any changes to the keyboard
|
|
104
|
-
* dimensions in case we need to re-run scroll assist.
|
|
105
|
-
*/
|
|
106
|
-
window.addEventListener('ionKeyboardDidShow', keyboardShow);
|
|
107
|
-
componentEl.addEventListener('focusout', focusOut, true);
|
|
108
40
|
};
|
|
109
41
|
componentEl.addEventListener('focusin', focusIn, true);
|
|
110
|
-
/**
|
|
111
|
-
* Scroll assist is being destroyed for this
|
|
112
|
-
* text field instance, so remove any remaining listeners.
|
|
113
|
-
*/
|
|
114
42
|
return () => {
|
|
115
43
|
componentEl.removeEventListener('focusin', focusIn, true);
|
|
116
|
-
window.removeEventListener('ionKeyboardDidShow', keyboardShow);
|
|
117
|
-
componentEl.removeEventListener('focusout', focusOut, true);
|
|
118
44
|
};
|
|
119
45
|
};
|
|
120
46
|
/**
|
|
@@ -133,7 +59,7 @@ const setManualFocus = (el) => {
|
|
|
133
59
|
el.setAttribute(SKIP_SCROLL_ASSIST, 'true');
|
|
134
60
|
el.focus();
|
|
135
61
|
};
|
|
136
|
-
const jsSetFocus = async (componentEl, inputEl, contentEl, footerEl, keyboardHeight, enableScrollPadding, disableClonedInput = false
|
|
62
|
+
const jsSetFocus = async (componentEl, inputEl, contentEl, footerEl, keyboardHeight, enableScrollPadding, disableClonedInput = false) => {
|
|
137
63
|
if (!contentEl && !footerEl) {
|
|
138
64
|
return;
|
|
139
65
|
}
|
|
@@ -224,7 +150,7 @@ const jsSetFocus = async (componentEl, inputEl, contentEl, footerEl, keyboardHei
|
|
|
224
150
|
* bandwidth to become available.
|
|
225
151
|
*/
|
|
226
152
|
const totalScrollAmount = scrollEl.scrollHeight - scrollEl.clientHeight;
|
|
227
|
-
if (
|
|
153
|
+
if (scrollData.scrollAmount > totalScrollAmount - scrollEl.scrollTop) {
|
|
228
154
|
/**
|
|
229
155
|
* On iOS devices, the system will show a "Passwords" bar above the keyboard
|
|
230
156
|
* after the initial keyboard is shown. This prevents the webview from resizing
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
4
|
import { win } from "./browser/index";
|
|
5
|
-
import { raf } from "
|
|
5
|
+
import { raf } from "helpers";
|
|
6
6
|
/**
|
|
7
7
|
* Used to update a scoped component that uses emulated slots. This fires when
|
|
8
8
|
* content is passed into the slot or when the content inside of a slot changes.
|