voyager-ionic-core 7.6.1 → 7.6.5
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 +15 -3
- package/components/index7.js +1 -1
- package/components/ion-back-button.js +1 -1
- package/components/ion-datetime.js +1 -1
- package/components/ion-input.js +2 -2
- package/components/ion-menu-button.js +1 -1
- package/components/ion-refresher-content.js +10 -3
- package/components/ion-refresher.js +4 -183
- package/components/ion-select.js +2 -2
- package/components/ion-split-pane.js +2 -2
- package/components/ion-textarea.js +2 -2
- package/components/item.js +2 -2
- package/components/list.js +1 -1
- package/components/overlays.js +12 -3
- package/components/radio-group.js +9 -1
- package/components/refresher.utils.js +196 -0
- package/components/spinner.js +1 -1
- package/dist/cjs/{app-globals-7def22c8.js → app-globals-07127773.js} +1 -1
- package/dist/cjs/{button-active-962fe442.js → button-active-85665616.js} +1 -1
- package/dist/cjs/{index-17ab7794.js → index-6bb6b651.js} +3 -3
- package/dist/cjs/{index-50dcfe2f.js → index-71f41461.js} +25 -27
- package/dist/cjs/{index-3b012034.js → index-96a721a7.js} +1 -1
- package/dist/cjs/{index-09471526.js → index-f52c6d38.js} +1 -1
- package/dist/cjs/index.cjs.js +7 -7
- 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 +4 -4
- package/dist/cjs/ion-avatar_3.cjs.entry.js +2 -2
- package/dist/cjs/ion-back-button.cjs.entry.js +4 -4
- 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 +17 -5
- 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 +5 -5
- 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 +5 -5
- package/dist/cjs/ion-item-option_3.cjs.entry.js +2 -2
- package/dist/cjs/ion-item_8.cjs.entry.js +6 -6
- package/dist/cjs/ion-loading.cjs.entry.js +3 -3
- package/dist/cjs/ion-menu_3.cjs.entry.js +6 -6
- 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 +11 -3
- package/dist/cjs/ion-range.cjs.entry.js +2 -2
- package/dist/cjs/ion-refresher_2.cjs.entry.js +30 -15
- 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 +6 -6
- package/dist/cjs/ion-spinner.cjs.entry.js +3 -3
- package/dist/cjs/ion-split-pane.cjs.entry.js +4 -4
- 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 +4 -4
- 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-a4edbf03.js → ionic-global-c70c3fb5.js} +1 -1
- package/dist/cjs/ionic.cjs.js +4 -4
- package/dist/cjs/{ios.transition-b5353f3e.js → ios.transition-9624a175.js} +2 -2
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/{md.transition-67157dd9.js → md.transition-786baf9a.js} +2 -2
- package/dist/cjs/{overlays-e77cc023.js → overlays-4c97edb0.js} +13 -4
- package/dist/cjs/{status-tap-b5d77c08.js → status-tap-66296dcb.js} +1 -1
- package/dist/collection/collection-manifest.json +2 -2
- package/dist/collection/components/accordion-group/accordion-group.js +6 -4
- package/dist/collection/components/action-sheet/action-sheet.js +6 -10
- package/dist/collection/components/alert/alert.js +6 -10
- package/dist/collection/components/app/app.js +3 -2
- package/dist/collection/components/back-button/back-button.js +1 -1
- package/dist/collection/components/content/content.js +24 -40
- package/dist/collection/components/datetime/datetime.ios.css +3 -1
- package/dist/collection/components/datetime/datetime.js +10 -7
- package/dist/collection/components/datetime/test/basic/datetime.e2e.js +29 -0
- package/dist/collection/components/datetime/test/highlighted-dates/datetime.e2e.js +1 -1
- package/dist/collection/components/input/input.ios.css +24 -4
- package/dist/collection/components/input/input.js +1 -1
- package/dist/collection/components/input/input.md.css +25 -4
- package/dist/collection/components/input/test/slot/input.e2e.js +6 -2
- package/dist/collection/components/item/item.ios.css +6 -0
- package/dist/collection/components/item/item.md.css +6 -0
- package/dist/collection/components/item-sliding/item-sliding.js +3 -5
- package/dist/collection/components/label/test/a11y/label.e2e.js +25 -0
- package/dist/collection/components/list/list.md.css +1 -21
- package/dist/collection/components/loading/loading.js +6 -10
- package/dist/collection/components/menu/menu.js +15 -10
- package/dist/collection/components/menu-button/menu-button.js +1 -1
- package/dist/collection/components/modal/modal.js +10 -13
- package/dist/collection/components/nav/nav.js +114 -190
- package/dist/collection/components/picker/picker.js +9 -15
- package/dist/collection/components/picker-column-internal/picker-column-internal.js +3 -2
- package/dist/collection/components/popover/popover.js +18 -21
- package/dist/collection/components/radio/radio.js +6 -4
- package/dist/collection/components/radio/test/a11y/radio.e2e.js +16 -3
- package/dist/collection/components/radio/test/legacy/a11y/radio.e2e.js +15 -2
- package/dist/collection/components/radio-group/radio-group.js +9 -1
- package/dist/collection/components/range/range.js +1 -1
- package/dist/collection/components/refresher/refresher.js +3 -0
- package/dist/collection/components/refresher/refresher.utils.js +19 -11
- package/dist/collection/components/refresher-content/refresher-content.js +9 -3
- package/dist/collection/components/reorder-group/reorder-group.js +3 -5
- package/dist/collection/components/ripple-effect/ripple-effect.js +6 -10
- package/dist/collection/components/router/router.js +12 -14
- package/dist/collection/components/router-outlet/router-outlet.js +21 -14
- package/dist/collection/components/select/select.ios.css +20 -0
- package/dist/collection/components/select/select.js +3 -5
- package/dist/collection/components/select/select.md.css +21 -0
- package/dist/collection/components/select/test/slot/select.e2e.js +6 -2
- package/dist/collection/components/spinner/spinner.js +1 -1
- package/dist/collection/components/split-pane/split-pane.ios.css +9 -0
- package/dist/collection/components/split-pane/split-pane.md.css +9 -0
- package/dist/collection/components/tabs/tabs.js +9 -12
- package/dist/collection/components/textarea/test/slot/textarea.e2e.js +6 -2
- package/dist/collection/components/textarea/textarea.ios.css +20 -0
- package/dist/collection/components/textarea/textarea.js +1 -1
- package/dist/collection/components/textarea/textarea.md.css +21 -0
- package/dist/collection/components/toast/toast.js +6 -10
- package/dist/collection/utils/overlays.js +12 -3
- package/dist/docs.d.ts +1 -21
- package/dist/docs.json +739 -540
- package/dist/esm/{app-globals-8c62bec2.js → app-globals-52c78291.js} +1 -1
- package/dist/esm/{button-active-308d3edd.js → button-active-b62776db.js} +1 -1
- package/dist/esm/{index-1193f005.js → index-01cb9192.js} +1 -1
- package/dist/esm/{index-b7d870cf.js → index-27668d5b.js} +25 -27
- package/dist/esm/{index-4743453d.js → index-a97c95a7.js} +3 -3
- package/dist/esm/{index-c132c5f1.js → index-f7dc70ba.js} +1 -1
- package/dist/esm/index.js +7 -7
- 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 +4 -4
- package/dist/esm/ion-avatar_3.entry.js +2 -2
- package/dist/esm/ion-back-button.entry.js +4 -4
- 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 +17 -5
- 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 +5 -5
- 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 +5 -5
- package/dist/esm/ion-item-option_3.entry.js +2 -2
- package/dist/esm/ion-item_8.entry.js +6 -6
- package/dist/esm/ion-loading.entry.js +3 -3
- package/dist/esm/ion-menu_3.entry.js +6 -6
- 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 +11 -3
- package/dist/esm/ion-range.entry.js +2 -2
- package/dist/esm/ion-refresher_2.entry.js +30 -15
- 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 +6 -6
- package/dist/esm/ion-spinner.entry.js +3 -3
- package/dist/esm/ion-split-pane.entry.js +4 -4
- 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 +4 -4
- package/dist/esm/ion-toast.entry.js +3 -3
- package/dist/esm/ion-toggle.entry.js +3 -3
- package/dist/esm/{ionic-global-1f99b929.js → ionic-global-8fa0f940.js} +1 -1
- package/dist/esm/ionic.js +5 -5
- package/dist/esm/{ios.transition-3376ccb2.js → ios.transition-62fd50ab.js} +2 -2
- package/dist/esm/loader.js +4 -4
- package/dist/esm/{md.transition-f992779f.js → md.transition-7e56966a.js} +2 -2
- package/dist/esm/{overlays-b33f6bca.js → overlays-8414359b.js} +13 -4
- package/dist/esm/{status-tap-16fd8f3d.js → status-tap-129c01cf.js} +1 -1
- package/dist/esm-es5/app-globals-52c78291.js +4 -0
- package/dist/esm-es5/{button-active-308d3edd.js → button-active-b62776db.js} +1 -1
- package/dist/esm-es5/{index-1193f005.js → index-01cb9192.js} +1 -1
- package/dist/esm-es5/index-27668d5b.js +5 -0
- package/dist/esm-es5/{index-4743453d.js → index-a97c95a7.js} +1 -1
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/ion-accordion_2.entry.js +1 -1
- package/dist/esm-es5/ion-action-sheet.entry.js +1 -1
- package/dist/esm-es5/ion-alert.entry.js +1 -1
- package/dist/esm-es5/ion-app_8.entry.js +1 -1
- package/dist/esm-es5/ion-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-1f99b929.js → ionic-global-8fa0f940.js} +1 -1
- package/dist/esm-es5/ionic.js +1 -1
- package/dist/esm-es5/{ios.transition-3376ccb2.js → ios.transition-62fd50ab.js} +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/md.transition-7e56966a.js +4 -0
- package/dist/esm-es5/{overlays-b33f6bca.js → overlays-8414359b.js} +1 -1
- package/dist/esm-es5/{status-tap-16fd8f3d.js → status-tap-129c01cf.js} +1 -1
- package/dist/html.html-data.json +13 -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-005e0ad0.js +4 -0
- package/dist/ionic/{p-928ee57a.entry.js → p-01438d78.entry.js} +1 -1
- package/dist/ionic/{p-9a68d8ef.system.js → p-02e530f5.system.js} +1 -1
- package/dist/ionic/{p-04377cfa.js → p-03e00f90.js} +1 -1
- package/dist/ionic/{p-47bb15a1.entry.js → p-0abedd22.entry.js} +1 -1
- package/dist/ionic/{p-26c4bf85.entry.js → p-0d2b6901.entry.js} +1 -1
- package/dist/ionic/{p-2a583966.entry.js → p-1052ef2b.entry.js} +1 -1
- package/dist/ionic/{p-803efb5d.entry.js → p-127ff448.entry.js} +1 -1
- package/dist/ionic/{p-e33d1ebc.entry.js → p-13387c28.entry.js} +1 -1
- package/dist/ionic/{p-abd5d0d5.system.entry.js → p-1a0bf247.system.entry.js} +1 -1
- package/dist/ionic/{p-19d9ceb8.system.js → p-1a5f0313.system.js} +1 -1
- package/dist/ionic/{p-806a9810.entry.js → p-1f7fc88d.entry.js} +1 -1
- package/dist/ionic/{p-158efe8d.system.entry.js → p-1ffb40d0.system.entry.js} +1 -1
- package/dist/ionic/{p-0509fd34.js → p-23ce95e8.js} +1 -1
- package/dist/ionic/{p-cf53213c.entry.js → p-249633a4.entry.js} +1 -1
- package/dist/ionic/{p-44a56556.js → p-25221a73.js} +1 -1
- package/dist/ionic/{p-507ddbfe.system.entry.js → p-25553eba.system.entry.js} +1 -1
- package/dist/ionic/{p-6ab03751.js → p-2a496995.js} +1 -1
- package/dist/ionic/{p-7dc892f8.entry.js → p-3197dbf7.entry.js} +1 -1
- package/dist/ionic/{p-a074be82.system.js → p-32b8e50d.system.js} +1 -1
- package/dist/ionic/p-35e1a80f.system.entry.js +4 -0
- package/dist/ionic/{p-0dfa4ab4.system.entry.js → p-3b83e483.system.entry.js} +2 -2
- package/dist/ionic/{p-9fda6824.system.entry.js → p-3bcbbf43.system.entry.js} +1 -1
- package/dist/ionic/{p-9f94c72e.system.js → p-3c33dc30.system.js} +1 -1
- package/dist/ionic/{p-ebe8bd8a.entry.js → p-3f0afc6f.entry.js} +1 -1
- package/dist/ionic/{p-4685218a.system.entry.js → p-41040a92.system.entry.js} +1 -1
- package/dist/ionic/{p-84b567a6.entry.js → p-41aa2662.entry.js} +1 -1
- package/dist/ionic/p-436bd99a.entry.js +4 -0
- package/dist/ionic/{p-afa9f205.system.js → p-43afd001.system.js} +1 -1
- package/dist/ionic/{p-6c277fa2.system.entry.js → p-48f7e8cc.system.entry.js} +1 -1
- package/dist/ionic/{p-5ad1fe3b.system.js → p-4a4bbcc5.system.js} +2 -2
- package/dist/ionic/{p-f0504446.system.entry.js → p-4cd6a04c.system.entry.js} +1 -1
- package/dist/ionic/{p-745e3339.system.entry.js → p-525b6ac4.system.entry.js} +1 -1
- package/dist/ionic/p-54c92c77.entry.js +4 -0
- package/dist/ionic/{p-44dc52e5.entry.js → p-5a85d71d.entry.js} +1 -1
- package/dist/ionic/{p-dc71e4ef.system.entry.js → p-5aecd304.system.entry.js} +1 -1
- package/dist/ionic/{p-19c379da.system.entry.js → p-5c2da581.system.entry.js} +1 -1
- package/dist/ionic/p-619fafe3.system.entry.js +4 -0
- package/dist/ionic/{p-8f301ac5.system.entry.js → p-61bf9f6f.system.entry.js} +1 -1
- package/dist/ionic/p-677cb2f7.js +4 -0
- package/dist/ionic/p-67c3a2a8.system.js +5 -0
- package/dist/ionic/{p-ae4b7df8.entry.js → p-688a36c7.entry.js} +1 -1
- package/dist/ionic/{p-c1701827.entry.js → p-6a257379.entry.js} +1 -1
- package/dist/ionic/p-6b9eee40.system.entry.js +4 -0
- package/dist/ionic/{p-cb8dff22.system.entry.js → p-6ba863b1.system.entry.js} +1 -1
- package/dist/ionic/p-6e165986.system.entry.js +4 -0
- package/dist/ionic/{p-11786dc7.entry.js → p-7510e462.entry.js} +1 -1
- package/dist/ionic/{p-2df97906.system.entry.js → p-76b6b42e.system.entry.js} +1 -1
- package/dist/ionic/{p-a49931aa.system.js → p-770f5b43.system.js} +1 -1
- package/dist/ionic/{p-0ebc87b7.system.entry.js → p-7751def0.system.entry.js} +1 -1
- package/dist/ionic/{p-648ad047.system.entry.js → p-788942c8.system.entry.js} +1 -1
- package/dist/ionic/{p-b964aba3.entry.js → p-7bae84aa.entry.js} +1 -1
- package/dist/ionic/{p-cf235986.entry.js → p-7de774dd.entry.js} +1 -1
- package/dist/ionic/{p-1c249831.entry.js → p-803ad1e3.entry.js} +1 -1
- package/dist/ionic/{p-6855f26a.entry.js → p-8084e9cb.entry.js} +1 -1
- package/dist/ionic/p-80ddd0c1.entry.js +4 -0
- package/dist/ionic/{p-0550f802.entry.js → p-85e04029.entry.js} +1 -1
- package/dist/ionic/{p-a42ef163.system.entry.js → p-87e10168.system.entry.js} +1 -1
- package/dist/ionic/{p-69641343.system.entry.js → p-88d99112.system.entry.js} +1 -1
- package/dist/ionic/{p-4981ea0a.system.entry.js → p-89c28901.system.entry.js} +1 -1
- package/dist/ionic/p-928e945d.system.entry.js +4 -0
- package/dist/ionic/{p-ddd48faf.system.entry.js → p-978c6799.system.entry.js} +1 -1
- package/dist/ionic/{p-93390f78.entry.js → p-9a0b9b64.entry.js} +1 -1
- package/dist/ionic/{p-85f48531.entry.js → p-a2d75455.entry.js} +1 -1
- package/dist/ionic/{p-beeed22c.system.entry.js → p-a706cf11.system.entry.js} +1 -1
- package/dist/ionic/{p-aee39e06.entry.js → p-a78d17e2.entry.js} +1 -1
- package/dist/ionic/{p-a3013394.entry.js → p-aca77953.entry.js} +1 -1
- package/dist/ionic/{p-0aa78a8d.system.js → p-ae638cb5.system.js} +1 -1
- package/dist/ionic/{p-2894d5f6.entry.js → p-b09c8228.entry.js} +1 -1
- package/dist/ionic/p-b2205a7c.system.entry.js +4 -0
- package/dist/ionic/{p-61e4d3ec.entry.js → p-b43cf55f.entry.js} +1 -1
- package/dist/ionic/{p-767f1a92.entry.js → p-b6f6f00e.entry.js} +1 -1
- package/dist/ionic/{p-d93eed83.system.entry.js → p-bb41c476.system.entry.js} +1 -1
- package/dist/ionic/{p-b7058a0e.system.entry.js → p-bc59962f.system.entry.js} +1 -1
- package/dist/ionic/{p-17d283b9.system.entry.js → p-be04fcd8.system.entry.js} +1 -1
- package/dist/ionic/{p-b8a9e195.system.entry.js → p-bf595ef8.system.entry.js} +1 -1
- package/dist/ionic/{p-1b27ac67.entry.js → p-bf80f9d1.entry.js} +1 -1
- package/dist/ionic/{p-3671f1b9.system.js → p-c0f62b42.system.js} +1 -1
- package/dist/ionic/{p-e2903cdc.system.entry.js → p-c16d9f2c.system.entry.js} +1 -1
- package/dist/ionic/{p-41208f54.system.entry.js → p-c1c57873.system.entry.js} +1 -1
- package/dist/ionic/{p-6fba0ce1.system.entry.js → p-c48a9ef3.system.entry.js} +1 -1
- package/dist/ionic/{p-60959b71.entry.js → p-c9219299.entry.js} +1 -1
- package/dist/ionic/{p-2ba9a9bd.system.entry.js → p-cae77add.system.entry.js} +1 -1
- package/dist/ionic/{p-4489dd20.system.entry.js → p-cd6bb7f5.system.entry.js} +1 -1
- package/dist/ionic/{p-043aa6cc.system.entry.js → p-cdce5ba3.system.entry.js} +1 -1
- package/dist/ionic/{p-f6e9c227.system.js → p-d2707f9d.system.js} +1 -1
- package/dist/ionic/{p-f894e0ad.entry.js → p-d5216086.entry.js} +1 -1
- package/dist/ionic/p-d6129c6e.js +5 -0
- package/dist/ionic/p-d6beb1c9.system.entry.js +4 -0
- package/dist/ionic/{p-10ec9af7.system.entry.js → p-db798370.system.entry.js} +1 -1
- package/dist/ionic/{p-a821750c.system.entry.js → p-dc1d883c.system.entry.js} +1 -1
- package/dist/ionic/{p-3e8d5e53.entry.js → p-dd9dff11.entry.js} +1 -1
- package/dist/ionic/{p-11a3973f.entry.js → p-df62accd.entry.js} +1 -1
- package/dist/ionic/{p-b7a2ffc9.system.entry.js → p-e1e05489.system.entry.js} +1 -1
- package/dist/ionic/{p-06abe918.system.entry.js → p-e3ff3cde.system.entry.js} +1 -1
- package/dist/ionic/p-e814f9c0.entry.js +4 -0
- package/dist/ionic/p-e8294cc1.entry.js +4 -0
- package/dist/ionic/{p-c08fe2c0.entry.js → p-e87564bc.entry.js} +1 -1
- package/dist/ionic/{p-cd1b920b.entry.js → p-ea7f77e7.entry.js} +1 -1
- package/dist/ionic/{p-6e0539ea.system.entry.js → p-eb210b21.system.entry.js} +1 -1
- package/dist/ionic/{p-da5e2652.entry.js → p-eb80ca40.entry.js} +1 -1
- package/dist/ionic/{p-332ea4d3.system.entry.js → p-eba17ff5.system.entry.js} +1 -1
- package/dist/ionic/{p-ade3cf46.entry.js → p-ed60d571.entry.js} +1 -1
- package/dist/ionic/{p-1501b945.system.js → p-ef3a6b51.system.js} +1 -1
- package/dist/ionic/{p-3313c481.entry.js → p-efcc4b66.entry.js} +1 -1
- package/dist/ionic/p-f08d8865.js +4 -0
- package/dist/ionic/{p-20e0e75d.system.entry.js → p-f3478ed6.system.entry.js} +1 -1
- package/dist/ionic/{p-9fb45814.entry.js → p-f4bf2448.entry.js} +1 -1
- package/dist/ionic/{p-3dfc522b.entry.js → p-f4e37ba7.entry.js} +1 -1
- package/dist/ionic/p-f56d53bd.entry.js +4 -0
- package/dist/ionic/p-f8564a9b.system.entry.js +4 -0
- package/dist/ionic/{p-529b24fb.entry.js → p-f865bc9a.entry.js} +1 -1
- package/dist/ionic/p-fd1a0431.js +4 -0
- package/dist/ionic/{p-7fae5c36.js → p-fd41bd8a.js} +1 -1
- package/dist/types/components/datetime/datetime.d.ts +3 -0
- package/dist/types/components/input/input.d.ts +3 -0
- package/dist/types/components/modal/modal.d.ts +3 -0
- package/dist/types/components/range/range.d.ts +3 -0
- package/dist/types/components/refresher/refresher.d.ts +3 -0
- package/dist/types/components/refresher/refresher.utils.d.ts +16 -0
- package/dist/types/components/spinner/spinner-interface.d.ts +3 -1
- package/dist/types/components/split-pane/split-pane.d.ts +1 -1
- package/dist/types/components/textarea/textarea.d.ts +3 -0
- package/dist/types/components.d.ts +18 -10
- package/dist/types/utils/helpers.d.ts +1 -1
- package/hydrate/index.d.ts +2 -2
- package/hydrate/index.js +1842 -116
- package/package.json +7 -7
- package/dist/esm-es5/app-globals-8c62bec2.js +0 -4
- package/dist/esm-es5/index-b7d870cf.js +0 -5
- package/dist/esm-es5/md.transition-f992779f.js +0 -4
- package/dist/ionic/p-0235067a.js +0 -4
- package/dist/ionic/p-164aa69c.entry.js +0 -4
- package/dist/ionic/p-22827063.system.entry.js +0 -4
- package/dist/ionic/p-290d3fe9.js +0 -5
- package/dist/ionic/p-2cf21a15.system.entry.js +0 -4
- package/dist/ionic/p-38531958.system.entry.js +0 -4
- package/dist/ionic/p-469dd571.system.entry.js +0 -4
- package/dist/ionic/p-52cfafe9.system.js +0 -5
- package/dist/ionic/p-932f2259.system.entry.js +0 -4
- package/dist/ionic/p-950c05ad.entry.js +0 -4
- package/dist/ionic/p-96d4814f.system.entry.js +0 -4
- package/dist/ionic/p-97174c1e.js +0 -4
- package/dist/ionic/p-98f35d98.js +0 -4
- package/dist/ionic/p-9ba72fdb.system.entry.js +0 -4
- package/dist/ionic/p-a06501e3.entry.js +0 -4
- package/dist/ionic/p-b78e6a44.entry.js +0 -4
- package/dist/ionic/p-c5acfeb1.entry.js +0 -4
- package/dist/ionic/p-cd574dfa.js +0 -4
- package/dist/ionic/p-dc6d8647.entry.js +0 -4
- package/dist/ionic/p-f434bcf3.system.entry.js +0 -4
- /package/dist/esm-es5/{index-c132c5f1.js → index-f7dc70ba.js} +0 -0
- /package/dist/ionic/{p-ea96fa73.js → p-831269de.js} +0 -0
- /package/dist/ionic/{p-8050b9b9.system.js → p-dfb6de03.system.js} +0 -0
package/components/list.js
CHANGED
|
@@ -6,7 +6,7 @@ import { b as getIonMode } from './ionic-global.js';
|
|
|
6
6
|
|
|
7
7
|
const listIosCss = "ion-list{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;contain:content;list-style-type:none}ion-list.list-inset{-webkit-transform:translateZ(0);transform:translateZ(0);overflow:hidden}.list-ios{background:var(--ion-item-background, var(--ion-background-color, #fff))}.list-ios.list-inset{-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:16px;margin-bottom:16px;border-radius:10px}.list-ios.list-inset ion-item:only-child,.list-ios.list-inset ion-item:not(:only-of-type):last-of-type,.list-ios.list-inset ion-item-sliding:last-of-type ion-item{--border-width:0;--inner-border-width:0}.list-ios.list-inset+ion-list.list-inset{margin-top:0}.list-ios-lines-none .item-lines-default{--inner-border-width:0px;--border-width:0px}.list-ios-lines-full .item-lines-default{--inner-border-width:0px;--border-width:0 0 0.55px 0}.list-ios-lines-inset .item-lines-default{--inner-border-width:0 0 0.55px 0;--border-width:0px}ion-card .list-ios{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}";
|
|
8
8
|
|
|
9
|
-
const listMdCss = "ion-list{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;contain:content;list-style-type:none}ion-list.list-inset{-webkit-transform:translateZ(0);transform:translateZ(0);overflow:hidden}.list-md{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:8px;padding-bottom:8px;background:var(--ion-item-background, var(--ion-background-color, #fff))}@supports (inset-inline-start: 0){.list-md>.input:last-child::after{inset-inline-start:0}}@supports not (inset-inline-start: 0){.list-md>.input:last-child::after{left:0}:host-context([dir=rtl]) .list-md>.input:last-child::after{left:unset;right:unset;right:0}[dir=rtl] .list-md>.input:last-child::after{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){.list-md>.input:last-child::after:dir(rtl){left:unset;right:unset;right:0}}}.list-md.list-inset{-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:16px;margin-bottom:16px;border-radius:2px}.list-md.list-inset ion-item:not(:only-of-type):
|
|
9
|
+
const listMdCss = "ion-list{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;contain:content;list-style-type:none}ion-list.list-inset{-webkit-transform:translateZ(0);transform:translateZ(0);overflow:hidden}.list-md{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:8px;padding-bottom:8px;background:var(--ion-item-background, var(--ion-background-color, #fff))}@supports (inset-inline-start: 0){.list-md>.input:last-child::after{inset-inline-start:0}}@supports not (inset-inline-start: 0){.list-md>.input:last-child::after{left:0}:host-context([dir=rtl]) .list-md>.input:last-child::after{left:unset;right:unset;right:0}[dir=rtl] .list-md>.input:last-child::after{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){.list-md>.input:last-child::after:dir(rtl){left:unset;right:unset;right:0}}}.list-md.list-inset{-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:16px;margin-bottom:16px;border-radius:2px}.list-md.list-inset ion-item:not(:only-of-type):last-of-type,.list-md.list-inset ion-item-sliding:last-of-type ion-item{--border-width:0;--inner-border-width:0}.list-md.list-inset ion-item:only-child{--border-width:0;--inner-border-width:0}.list-md.list-inset+ion-list.list-inset{margin-top:0}.list-md-lines-none .item-lines-default{--inner-border-width:0px;--border-width:0px}.list-md-lines-full .item-lines-default{--inner-border-width:0px;--border-width:0 0 1px 0}.list-md-lines-inset .item-lines-default{--inner-border-width:0 0 1px 0;--border-width:0px}ion-card .list-md{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}";
|
|
10
10
|
|
|
11
11
|
const List = /*@__PURE__*/ proxyCustomElement(class List extends HTMLElement {
|
|
12
12
|
constructor() {
|
package/components/overlays.js
CHANGED
|
@@ -411,7 +411,7 @@ const present = async (overlay, name, iosEnterAnimation, mdEnterAnimation, opts)
|
|
|
411
411
|
* from returning focus as a result.
|
|
412
412
|
*/
|
|
413
413
|
if (overlay.el.tagName !== 'ION-TOAST') {
|
|
414
|
-
|
|
414
|
+
focusPreviousElementOnDismissIfNeeded(overlay.el);
|
|
415
415
|
}
|
|
416
416
|
/**
|
|
417
417
|
* If the focused element is already
|
|
@@ -433,7 +433,7 @@ const present = async (overlay, name, iosEnterAnimation, mdEnterAnimation, opts)
|
|
|
433
433
|
* to where they were before they
|
|
434
434
|
* opened the overlay.
|
|
435
435
|
*/
|
|
436
|
-
const
|
|
436
|
+
const focusPreviousElementOnDismissIfNeeded = async (overlayEl) => {
|
|
437
437
|
let previousElement = document.activeElement;
|
|
438
438
|
if (!previousElement) {
|
|
439
439
|
return;
|
|
@@ -444,7 +444,16 @@ const focusPreviousElementOnDismiss = async (overlayEl) => {
|
|
|
444
444
|
previousElement = shadowRoot.querySelector(focusableQueryString) || previousElement;
|
|
445
445
|
}
|
|
446
446
|
await overlayEl.onDidDismiss();
|
|
447
|
-
|
|
447
|
+
/**
|
|
448
|
+
* If the user has already removed focus
|
|
449
|
+
* from the overlay (For example, focusing
|
|
450
|
+
* a text box after tapping a button in an
|
|
451
|
+
* action sheet) then don't restore focus
|
|
452
|
+
* to previous element
|
|
453
|
+
*/
|
|
454
|
+
if (document.activeElement === null || document.activeElement === document.body) {
|
|
455
|
+
previousElement.focus();
|
|
456
|
+
}
|
|
448
457
|
};
|
|
449
458
|
const dismiss = async (overlay, data, role, name, iosLeaveAnimation, mdLeaveAnimation, opts) => {
|
|
450
459
|
var _a, _b;
|
|
@@ -38,7 +38,15 @@ const RadioGroup = /*@__PURE__*/ proxyCustomElement(class RadioGroup extends HTM
|
|
|
38
38
|
* using the `name` attribute.
|
|
39
39
|
*/
|
|
40
40
|
const selectedRadio = ev.target && ev.target.closest('ion-radio');
|
|
41
|
-
|
|
41
|
+
/**
|
|
42
|
+
* Our current disabled prop definition causes Stencil to mark it
|
|
43
|
+
* as optional. While this is not desired, fixing this behavior
|
|
44
|
+
* in Stencil is a significant breaking change, so this effort is
|
|
45
|
+
* being de-risked in STENCIL-917. Until then, we compromise
|
|
46
|
+
* here by checking for falsy `disabled` values instead of strictly
|
|
47
|
+
* checking `disabled === false`.
|
|
48
|
+
*/
|
|
49
|
+
if (selectedRadio && !selectedRadio.disabled) {
|
|
42
50
|
const currentValue = this.value;
|
|
43
51
|
const newValue = selectedRadio.value;
|
|
44
52
|
if (newValue !== currentValue) {
|
|
@@ -0,0 +1,196 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
|
+
*/
|
|
4
|
+
import { writeTask } from '@stencil/core/internal/client';
|
|
5
|
+
import { c as createAnimation } from './animation.js';
|
|
6
|
+
import { t as transitionEndAsync, c as componentOnReady, m as clamp } from './helpers.js';
|
|
7
|
+
|
|
8
|
+
const getRefresherAnimationType = (contentEl) => {
|
|
9
|
+
const previousSibling = contentEl.previousElementSibling;
|
|
10
|
+
const hasHeader = previousSibling !== null && previousSibling.tagName === 'ION-HEADER';
|
|
11
|
+
return hasHeader ? 'translate' : 'scale';
|
|
12
|
+
};
|
|
13
|
+
const createPullingAnimation = (type, pullingSpinner, refresherEl) => {
|
|
14
|
+
return type === 'scale'
|
|
15
|
+
? createScaleAnimation(pullingSpinner, refresherEl)
|
|
16
|
+
: createTranslateAnimation(pullingSpinner, refresherEl);
|
|
17
|
+
};
|
|
18
|
+
const createBaseAnimation = (pullingRefresherIcon) => {
|
|
19
|
+
const spinner = pullingRefresherIcon.querySelector('ion-spinner');
|
|
20
|
+
const circle = spinner.shadowRoot.querySelector('circle');
|
|
21
|
+
const spinnerArrowContainer = pullingRefresherIcon.querySelector('.spinner-arrow-container');
|
|
22
|
+
const arrowContainer = pullingRefresherIcon.querySelector('.arrow-container');
|
|
23
|
+
const arrow = arrowContainer ? arrowContainer.querySelector('ion-icon') : null;
|
|
24
|
+
const baseAnimation = createAnimation().duration(1000).easing('ease-out');
|
|
25
|
+
const spinnerArrowContainerAnimation = createAnimation()
|
|
26
|
+
.addElement(spinnerArrowContainer)
|
|
27
|
+
.keyframes([
|
|
28
|
+
{ offset: 0, opacity: '0.3' },
|
|
29
|
+
{ offset: 0.45, opacity: '0.3' },
|
|
30
|
+
{ offset: 0.55, opacity: '1' },
|
|
31
|
+
{ offset: 1, opacity: '1' },
|
|
32
|
+
]);
|
|
33
|
+
const circleInnerAnimation = createAnimation()
|
|
34
|
+
.addElement(circle)
|
|
35
|
+
.keyframes([
|
|
36
|
+
{ offset: 0, strokeDasharray: '1px, 200px' },
|
|
37
|
+
{ offset: 0.2, strokeDasharray: '1px, 200px' },
|
|
38
|
+
{ offset: 0.55, strokeDasharray: '100px, 200px' },
|
|
39
|
+
{ offset: 1, strokeDasharray: '100px, 200px' },
|
|
40
|
+
]);
|
|
41
|
+
const circleOuterAnimation = createAnimation()
|
|
42
|
+
.addElement(spinner)
|
|
43
|
+
.keyframes([
|
|
44
|
+
{ offset: 0, transform: 'rotate(-90deg)' },
|
|
45
|
+
{ offset: 1, transform: 'rotate(210deg)' },
|
|
46
|
+
]);
|
|
47
|
+
/**
|
|
48
|
+
* Only add arrow animation if present
|
|
49
|
+
* this allows users to customize the spinners
|
|
50
|
+
* without errors being thrown
|
|
51
|
+
*/
|
|
52
|
+
if (arrowContainer && arrow) {
|
|
53
|
+
const arrowContainerAnimation = createAnimation()
|
|
54
|
+
.addElement(arrowContainer)
|
|
55
|
+
.keyframes([
|
|
56
|
+
{ offset: 0, transform: 'rotate(0deg)' },
|
|
57
|
+
{ offset: 0.3, transform: 'rotate(0deg)' },
|
|
58
|
+
{ offset: 0.55, transform: 'rotate(280deg)' },
|
|
59
|
+
{ offset: 1, transform: 'rotate(400deg)' },
|
|
60
|
+
]);
|
|
61
|
+
const arrowAnimation = createAnimation()
|
|
62
|
+
.addElement(arrow)
|
|
63
|
+
.keyframes([
|
|
64
|
+
{ offset: 0, transform: 'translateX(2px) scale(0)' },
|
|
65
|
+
{ offset: 0.3, transform: 'translateX(2px) scale(0)' },
|
|
66
|
+
{ offset: 0.55, transform: 'translateX(-1.5px) scale(1)' },
|
|
67
|
+
{ offset: 1, transform: 'translateX(-1.5px) scale(1)' },
|
|
68
|
+
]);
|
|
69
|
+
baseAnimation.addAnimation([arrowContainerAnimation, arrowAnimation]);
|
|
70
|
+
}
|
|
71
|
+
return baseAnimation.addAnimation([spinnerArrowContainerAnimation, circleInnerAnimation, circleOuterAnimation]);
|
|
72
|
+
};
|
|
73
|
+
const createScaleAnimation = (pullingRefresherIcon, refresherEl) => {
|
|
74
|
+
/**
|
|
75
|
+
* Do not take the height of the refresher icon
|
|
76
|
+
* because at this point the DOM has not updated,
|
|
77
|
+
* so the refresher icon is still hidden with
|
|
78
|
+
* display: none.
|
|
79
|
+
* The `ion-refresher` container height
|
|
80
|
+
* is roughly the amount we need to offset
|
|
81
|
+
* the icon by when pulling down.
|
|
82
|
+
*/
|
|
83
|
+
const height = refresherEl.clientHeight;
|
|
84
|
+
const spinnerAnimation = createAnimation()
|
|
85
|
+
.addElement(pullingRefresherIcon)
|
|
86
|
+
.keyframes([
|
|
87
|
+
{ offset: 0, transform: `scale(0) translateY(-${height}px)` },
|
|
88
|
+
{ offset: 1, transform: 'scale(1) translateY(100px)' },
|
|
89
|
+
]);
|
|
90
|
+
return createBaseAnimation(pullingRefresherIcon).addAnimation([spinnerAnimation]);
|
|
91
|
+
};
|
|
92
|
+
const createTranslateAnimation = (pullingRefresherIcon, refresherEl) => {
|
|
93
|
+
/**
|
|
94
|
+
* Do not take the height of the refresher icon
|
|
95
|
+
* because at this point the DOM has not updated,
|
|
96
|
+
* so the refresher icon is still hidden with
|
|
97
|
+
* display: none.
|
|
98
|
+
* The `ion-refresher` container height
|
|
99
|
+
* is roughly the amount we need to offset
|
|
100
|
+
* the icon by when pulling down.
|
|
101
|
+
*/
|
|
102
|
+
const height = refresherEl.clientHeight;
|
|
103
|
+
const spinnerAnimation = createAnimation()
|
|
104
|
+
.addElement(pullingRefresherIcon)
|
|
105
|
+
.keyframes([
|
|
106
|
+
{ offset: 0, transform: `translateY(-${height}px)` },
|
|
107
|
+
{ offset: 1, transform: 'translateY(100px)' },
|
|
108
|
+
]);
|
|
109
|
+
return createBaseAnimation(pullingRefresherIcon).addAnimation([spinnerAnimation]);
|
|
110
|
+
};
|
|
111
|
+
const createSnapBackAnimation = (pullingRefresherIcon) => {
|
|
112
|
+
return createAnimation()
|
|
113
|
+
.duration(125)
|
|
114
|
+
.addElement(pullingRefresherIcon)
|
|
115
|
+
.fromTo('transform', 'translateY(var(--ion-pulling-refresher-translate, 100px))', 'translateY(0px)');
|
|
116
|
+
};
|
|
117
|
+
// iOS Native Refresher
|
|
118
|
+
// -----------------------------
|
|
119
|
+
const setSpinnerOpacity = (spinner, opacity) => {
|
|
120
|
+
spinner.style.setProperty('opacity', opacity.toString());
|
|
121
|
+
};
|
|
122
|
+
const handleScrollWhilePulling = (ticks, numTicks, pullAmount) => {
|
|
123
|
+
const max = 1;
|
|
124
|
+
writeTask(() => {
|
|
125
|
+
ticks.forEach((el, i) => {
|
|
126
|
+
/**
|
|
127
|
+
* Compute the opacity of each tick
|
|
128
|
+
* mark as a percentage of the pullAmount
|
|
129
|
+
* offset by max / numTicks so
|
|
130
|
+
* the tick marks are shown staggered.
|
|
131
|
+
*/
|
|
132
|
+
const min = i * (max / numTicks);
|
|
133
|
+
const range = max - min;
|
|
134
|
+
const start = pullAmount - min;
|
|
135
|
+
const progression = clamp(0, start / range, 1);
|
|
136
|
+
el.style.setProperty('opacity', progression.toString());
|
|
137
|
+
});
|
|
138
|
+
});
|
|
139
|
+
};
|
|
140
|
+
const handleScrollWhileRefreshing = (spinner, lastVelocityY) => {
|
|
141
|
+
writeTask(() => {
|
|
142
|
+
// If user pulls down quickly, the spinner should spin faster
|
|
143
|
+
spinner.style.setProperty('--refreshing-rotation-duration', lastVelocityY >= 1.0 ? '0.5s' : '2s');
|
|
144
|
+
spinner.style.setProperty('opacity', '1');
|
|
145
|
+
});
|
|
146
|
+
};
|
|
147
|
+
const translateElement = (el, value, duration = 200) => {
|
|
148
|
+
if (!el) {
|
|
149
|
+
return Promise.resolve();
|
|
150
|
+
}
|
|
151
|
+
const trans = transitionEndAsync(el, duration);
|
|
152
|
+
writeTask(() => {
|
|
153
|
+
el.style.setProperty('transition', `${duration}ms all ease-out`);
|
|
154
|
+
if (value === undefined) {
|
|
155
|
+
el.style.removeProperty('transform');
|
|
156
|
+
}
|
|
157
|
+
else {
|
|
158
|
+
el.style.setProperty('transform', `translate3d(0px, ${value}, 0px)`);
|
|
159
|
+
}
|
|
160
|
+
});
|
|
161
|
+
return trans;
|
|
162
|
+
};
|
|
163
|
+
// Utils
|
|
164
|
+
// -----------------------------
|
|
165
|
+
/**
|
|
166
|
+
* In order to use the native iOS refresher the device must support rubber band scrolling.
|
|
167
|
+
* As part of this, we need to exclude Desktop Safari because it has a slightly different rubber band effect that is not compatible with the native refresher in Ionic.
|
|
168
|
+
*
|
|
169
|
+
* We also need to be careful not to include devices that spoof their user agent.
|
|
170
|
+
* For example, when using iOS emulation in Chrome the user agent will be spoofed such that
|
|
171
|
+
* navigator.maxTouchPointer > 0. To work around this,
|
|
172
|
+
* we check to see if the apple-pay-logo is supported as a named image which is only
|
|
173
|
+
* true on Apple devices.
|
|
174
|
+
*
|
|
175
|
+
* We previously checked referencEl.style.webkitOverflowScrolling to explicitly check
|
|
176
|
+
* for rubber band support. However, this property was removed on iPadOS and it's possible
|
|
177
|
+
* that this will be removed on iOS in the future too.
|
|
178
|
+
*
|
|
179
|
+
*/
|
|
180
|
+
const supportsRubberBandScrolling = () => {
|
|
181
|
+
return navigator.maxTouchPoints > 0 && CSS.supports('background: -webkit-named-image(apple-pay-logo-black)');
|
|
182
|
+
};
|
|
183
|
+
const shouldUseNativeRefresher = async (referenceEl, mode) => {
|
|
184
|
+
const refresherContent = referenceEl.querySelector('ion-refresher-content');
|
|
185
|
+
if (!refresherContent) {
|
|
186
|
+
return Promise.resolve(false);
|
|
187
|
+
}
|
|
188
|
+
await new Promise((resolve) => componentOnReady(refresherContent, resolve));
|
|
189
|
+
const pullingSpinner = referenceEl.querySelector('ion-refresher-content .refresher-pulling ion-spinner');
|
|
190
|
+
const refreshingSpinner = referenceEl.querySelector('ion-refresher-content .refresher-refreshing ion-spinner');
|
|
191
|
+
return (pullingSpinner !== null &&
|
|
192
|
+
refreshingSpinner !== null &&
|
|
193
|
+
((mode === 'ios' && supportsRubberBandScrolling()) || mode === 'md'));
|
|
194
|
+
};
|
|
195
|
+
|
|
196
|
+
export { setSpinnerOpacity as a, handleScrollWhilePulling as b, createPullingAnimation as c, createSnapBackAnimation as d, supportsRubberBandScrolling as e, getRefresherAnimationType as g, handleScrollWhileRefreshing as h, shouldUseNativeRefresher as s, translateElement as t };
|
package/components/spinner.js
CHANGED
|
@@ -173,7 +173,7 @@ const Spinner = /*@__PURE__*/ proxyCustomElement(class Spinner extends HTMLEleme
|
|
|
173
173
|
const spinnerName = self.getName();
|
|
174
174
|
const spinner = (_a = SPINNERS[spinnerName]) !== null && _a !== void 0 ? _a : SPINNERS['lines'];
|
|
175
175
|
const duration = typeof self.duration === 'number' && self.duration > 10 ? self.duration : spinner.dur;
|
|
176
|
-
const svgs = [];
|
|
176
|
+
const svgs = [];
|
|
177
177
|
if (spinner.circles !== undefined) {
|
|
178
178
|
for (let i = 0; i < spinner.circles; i++) {
|
|
179
179
|
svgs.push(buildCircle(spinner, duration, i, spinner.circles));
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
const index = require('./index-
|
|
6
|
+
const index = require('./index-71f41461.js');
|
|
7
7
|
const helpers = require('./helpers-76bb7efb.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-9624a175.js'); });
|
|
16
|
+
const mdTransitionAnimation = () => Promise.resolve().then(function () { return require('./md.transition-786baf9a.js'); });
|
|
17
17
|
// TODO(FW-2832): types
|
|
18
18
|
const transition = (opts) => {
|
|
19
19
|
return new Promise((resolve, reject) => {
|
|
@@ -24,7 +24,7 @@ function _interopNamespace(e) {
|
|
|
24
24
|
}
|
|
25
25
|
|
|
26
26
|
const NAMESPACE = 'ionic';
|
|
27
|
-
const BUILD = /* ionic */ { allRenderFn: false, appendChildSlotFix: false, asyncLoading: true, asyncQueue: false, attachStyles: true, cloneNodeFix: false, cmpDidLoad: true, cmpDidRender: true, cmpDidUnload: false, cmpDidUpdate: true, cmpShouldUpdate: false, cmpWillLoad: true, cmpWillRender: true, cmpWillUpdate: false, connectedCallback: true, constructableCSS: true, cssAnnotations: true, devTools: false, disconnectedCallback: true, element: false, event: true, experimentalSlotFixes: false, formAssociated: false, hasRenderFn: true, hostListener: true, hostListenerTarget: true, hostListenerTargetBody: true, hostListenerTargetDocument: true, hostListenerTargetParent: false, hostListenerTargetWindow: true, hotModuleReplacement: false, hydrateClientSide: true, hydrateServerSide: false, hydratedAttribute: false, hydratedClass: true, initializeNextTick: false, invisiblePrehydration: true, isDebug: false, isDev: false, isTesting: false, lazyLoad: true, lifecycle: true, lifecycleDOMEvents: false, member: true, method: true, mode: true, observeAttribute: true, profile: false, prop: true, propBoolean: true, propMutable: true, propNumber: true, propString: true, reflect: true, scoped: true, scopedSlotTextContentFix: false, scriptDataOpts: false, shadowDelegatesFocus: true, shadowDom: true, slot: true, slotChildNodesFix: false, slotRelocation: true, state: true, style: true, svg: true, taskQueue: true, transformTagName: false, updatable: true, vdomAttribute: true, vdomClass: true, vdomFunctional: true, vdomKey: true, vdomListener: true, vdomPropOrAttr: true, vdomRef: true, vdomRender: true, vdomStyle: true, vdomText: true, vdomXlink: true, watchCallback: true };
|
|
27
|
+
const BUILD = /* ionic */ { allRenderFn: false, appendChildSlotFix: false, asyncLoading: true, asyncQueue: false, attachStyles: true, cloneNodeFix: false, cmpDidLoad: true, cmpDidRender: true, cmpDidUnload: false, cmpDidUpdate: true, cmpShouldUpdate: false, cmpWillLoad: true, cmpWillRender: true, cmpWillUpdate: false, connectedCallback: true, constructableCSS: true, cssAnnotations: true, devTools: false, disconnectedCallback: true, element: false, event: true, experimentalScopedSlotChanges: false, experimentalSlotFixes: false, formAssociated: false, hasRenderFn: true, hostListener: true, hostListenerTarget: true, hostListenerTargetBody: true, hostListenerTargetDocument: true, hostListenerTargetParent: false, hostListenerTargetWindow: true, hotModuleReplacement: false, hydrateClientSide: true, hydrateServerSide: false, hydratedAttribute: false, hydratedClass: true, initializeNextTick: false, invisiblePrehydration: true, isDebug: false, isDev: false, isTesting: false, lazyLoad: true, lifecycle: true, lifecycleDOMEvents: false, member: true, method: true, mode: true, observeAttribute: true, profile: false, prop: true, propBoolean: true, propMutable: true, propNumber: true, propString: true, reflect: true, scoped: true, scopedSlotTextContentFix: false, scriptDataOpts: false, shadowDelegatesFocus: true, shadowDom: true, slot: true, slotChildNodesFix: false, slotRelocation: true, state: true, style: true, svg: true, taskQueue: true, transformTagName: false, updatable: true, vdomAttribute: true, vdomClass: true, vdomFunctional: true, vdomKey: true, vdomListener: true, vdomPropOrAttr: true, vdomRef: true, vdomRender: true, vdomStyle: true, vdomText: true, vdomXlink: true, watchCallback: true };
|
|
28
28
|
|
|
29
29
|
/**
|
|
30
30
|
* Virtual DOM patching algorithm based on Snabbdom by
|
|
@@ -908,7 +908,6 @@ const updateElement = (oldVnode, newVnode, isSvgMode, memberName) => {
|
|
|
908
908
|
* @returns the newly created node
|
|
909
909
|
*/
|
|
910
910
|
const createElm = (oldParentVNode, newParentVNode, childIndex, parentElm) => {
|
|
911
|
-
var _a;
|
|
912
911
|
// tslint:disable-next-line: prefer-const
|
|
913
912
|
const newVNode = newParentVNode.$children$[childIndex];
|
|
914
913
|
let i = 0;
|
|
@@ -989,8 +988,6 @@ const createElm = (oldParentVNode, newParentVNode, childIndex, parentElm) => {
|
|
|
989
988
|
if (newVNode.$flags$ & (2 /* VNODE_FLAGS.isSlotFallback */ | 1 /* VNODE_FLAGS.isSlotReference */)) {
|
|
990
989
|
// remember the content reference comment
|
|
991
990
|
elm['s-sr'] = true;
|
|
992
|
-
// Persist the name of the slot that this slot was going to be projected into.
|
|
993
|
-
elm['s-fs'] = (_a = newVNode.$attrs$) === null || _a === void 0 ? void 0 : _a.slot;
|
|
994
991
|
// remember the content reference comment
|
|
995
992
|
elm['s-cr'] = contentRef;
|
|
996
993
|
// remember the slot name, or empty string for default slot
|
|
@@ -1009,7 +1006,6 @@ const createElm = (oldParentVNode, newParentVNode, childIndex, parentElm) => {
|
|
|
1009
1006
|
return elm;
|
|
1010
1007
|
};
|
|
1011
1008
|
const putBackInOriginalLocation = (parentElm, recursive) => {
|
|
1012
|
-
var _a;
|
|
1013
1009
|
plt.$flags$ |= 1 /* PLATFORM_FLAGS.isTmpDisconnected */;
|
|
1014
1010
|
const oldSlotChildNodes = parentElm.childNodes;
|
|
1015
1011
|
for (let i = oldSlotChildNodes.length - 1; i >= 0; i--) {
|
|
@@ -1024,12 +1020,6 @@ const putBackInOriginalLocation = (parentElm, recursive) => {
|
|
|
1024
1020
|
childNode['s-ol'] = undefined;
|
|
1025
1021
|
// Reset so we can correctly move the node around again.
|
|
1026
1022
|
childNode['s-sh'] = undefined;
|
|
1027
|
-
// When putting an element node back in its original location,
|
|
1028
|
-
// we need to reset the `slot` attribute back to the value it originally had
|
|
1029
|
-
// so we can correctly relocate it again in the future
|
|
1030
|
-
if (childNode.nodeType === 1 /* NODE_TYPE.ElementNode */) {
|
|
1031
|
-
childNode.setAttribute('slot', (_a = childNode['s-sn']) !== null && _a !== void 0 ? _a : '');
|
|
1032
|
-
}
|
|
1033
1023
|
checkSlotRelocate = true;
|
|
1034
1024
|
}
|
|
1035
1025
|
if (recursive) {
|
|
@@ -1174,8 +1164,9 @@ const removeVnodes = (vnodes, startIdx, endIdx) => {
|
|
|
1174
1164
|
* @param oldCh the old children of the parent node
|
|
1175
1165
|
* @param newVNode the new VNode which will replace the parent
|
|
1176
1166
|
* @param newCh the new children of the parent node
|
|
1167
|
+
* @param isInitialRender whether or not this is the first render of the vdom
|
|
1177
1168
|
*/
|
|
1178
|
-
const updateChildren = (parentElm, oldCh, newVNode, newCh) => {
|
|
1169
|
+
const updateChildren = (parentElm, oldCh, newVNode, newCh, isInitialRender = false) => {
|
|
1179
1170
|
let oldStartIdx = 0;
|
|
1180
1171
|
let newStartIdx = 0;
|
|
1181
1172
|
let idxInOld = 0;
|
|
@@ -1202,24 +1193,24 @@ const updateChildren = (parentElm, oldCh, newVNode, newCh) => {
|
|
|
1202
1193
|
else if (newEndVnode == null) {
|
|
1203
1194
|
newEndVnode = newCh[--newEndIdx];
|
|
1204
1195
|
}
|
|
1205
|
-
else if (isSameVnode(oldStartVnode, newStartVnode)) {
|
|
1196
|
+
else if (isSameVnode(oldStartVnode, newStartVnode, isInitialRender)) {
|
|
1206
1197
|
// if the start nodes are the same then we should patch the new VNode
|
|
1207
1198
|
// onto the old one, and increment our `newStartIdx` and `oldStartIdx`
|
|
1208
1199
|
// indices to reflect that. We don't need to move any DOM Nodes around
|
|
1209
1200
|
// since things are matched up in order.
|
|
1210
|
-
patch(oldStartVnode, newStartVnode);
|
|
1201
|
+
patch(oldStartVnode, newStartVnode, isInitialRender);
|
|
1211
1202
|
oldStartVnode = oldCh[++oldStartIdx];
|
|
1212
1203
|
newStartVnode = newCh[++newStartIdx];
|
|
1213
1204
|
}
|
|
1214
|
-
else if (isSameVnode(oldEndVnode, newEndVnode)) {
|
|
1205
|
+
else if (isSameVnode(oldEndVnode, newEndVnode, isInitialRender)) {
|
|
1215
1206
|
// likewise, if the end nodes are the same we patch new onto old and
|
|
1216
1207
|
// decrement our end indices, and also likewise in this case we don't
|
|
1217
1208
|
// need to move any DOM Nodes.
|
|
1218
|
-
patch(oldEndVnode, newEndVnode);
|
|
1209
|
+
patch(oldEndVnode, newEndVnode, isInitialRender);
|
|
1219
1210
|
oldEndVnode = oldCh[--oldEndIdx];
|
|
1220
1211
|
newEndVnode = newCh[--newEndIdx];
|
|
1221
1212
|
}
|
|
1222
|
-
else if (isSameVnode(oldStartVnode, newEndVnode)) {
|
|
1213
|
+
else if (isSameVnode(oldStartVnode, newEndVnode, isInitialRender)) {
|
|
1223
1214
|
// case: "Vnode moved right"
|
|
1224
1215
|
//
|
|
1225
1216
|
// We've found that the last node in our window on the new children is
|
|
@@ -1237,7 +1228,7 @@ const updateChildren = (parentElm, oldCh, newVNode, newCh) => {
|
|
|
1237
1228
|
if ((oldStartVnode.$tag$ === 'slot' || newEndVnode.$tag$ === 'slot')) {
|
|
1238
1229
|
putBackInOriginalLocation(oldStartVnode.$elm$.parentNode, false);
|
|
1239
1230
|
}
|
|
1240
|
-
patch(oldStartVnode, newEndVnode);
|
|
1231
|
+
patch(oldStartVnode, newEndVnode, isInitialRender);
|
|
1241
1232
|
// We need to move the element for `oldStartVnode` into a position which
|
|
1242
1233
|
// will be appropriate for `newEndVnode`. For this we can use
|
|
1243
1234
|
// `.insertBefore` and `oldEndVnode.$elm$.nextSibling`. If there is a
|
|
@@ -1259,7 +1250,7 @@ const updateChildren = (parentElm, oldCh, newVNode, newCh) => {
|
|
|
1259
1250
|
oldStartVnode = oldCh[++oldStartIdx];
|
|
1260
1251
|
newEndVnode = newCh[--newEndIdx];
|
|
1261
1252
|
}
|
|
1262
|
-
else if (isSameVnode(oldEndVnode, newStartVnode)) {
|
|
1253
|
+
else if (isSameVnode(oldEndVnode, newStartVnode, isInitialRender)) {
|
|
1263
1254
|
// case: "Vnode moved left"
|
|
1264
1255
|
//
|
|
1265
1256
|
// We've found that the first node in our window on the new children is
|
|
@@ -1278,7 +1269,7 @@ const updateChildren = (parentElm, oldCh, newVNode, newCh) => {
|
|
|
1278
1269
|
if ((oldStartVnode.$tag$ === 'slot' || newEndVnode.$tag$ === 'slot')) {
|
|
1279
1270
|
putBackInOriginalLocation(oldEndVnode.$elm$.parentNode, false);
|
|
1280
1271
|
}
|
|
1281
|
-
patch(oldEndVnode, newStartVnode);
|
|
1272
|
+
patch(oldEndVnode, newStartVnode, isInitialRender);
|
|
1282
1273
|
// We've already checked above if `oldStartVnode` and `newStartVnode` are
|
|
1283
1274
|
// the same node, so since we're here we know that they are not. Thus we
|
|
1284
1275
|
// can move the element for `oldEndVnode` _before_ the element for
|
|
@@ -1315,7 +1306,7 @@ const updateChildren = (parentElm, oldCh, newVNode, newCh) => {
|
|
|
1315
1306
|
node = createElm(oldCh && oldCh[newStartIdx], newVNode, idxInOld, parentElm);
|
|
1316
1307
|
}
|
|
1317
1308
|
else {
|
|
1318
|
-
patch(elmToMove, newStartVnode);
|
|
1309
|
+
patch(elmToMove, newStartVnode, isInitialRender);
|
|
1319
1310
|
// invalidate the matching old node so that we won't try to update it
|
|
1320
1311
|
// again later on
|
|
1321
1312
|
oldCh[idxInOld] = undefined;
|
|
@@ -1366,19 +1357,25 @@ const updateChildren = (parentElm, oldCh, newVNode, newCh) => {
|
|
|
1366
1357
|
*
|
|
1367
1358
|
* @param leftVNode the first VNode to check
|
|
1368
1359
|
* @param rightVNode the second VNode to check
|
|
1360
|
+
* @param isInitialRender whether or not this is the first render of the vdom
|
|
1369
1361
|
* @returns whether they're equal or not
|
|
1370
1362
|
*/
|
|
1371
|
-
const isSameVnode = (leftVNode, rightVNode) => {
|
|
1363
|
+
const isSameVnode = (leftVNode, rightVNode, isInitialRender = false) => {
|
|
1372
1364
|
// compare if two vnode to see if they're "technically" the same
|
|
1373
1365
|
// need to have the same element tag, and same key to be the same
|
|
1374
1366
|
if (leftVNode.$tag$ === rightVNode.$tag$) {
|
|
1375
1367
|
if (leftVNode.$tag$ === 'slot') {
|
|
1376
1368
|
return leftVNode.$name$ === rightVNode.$name$;
|
|
1377
1369
|
}
|
|
1378
|
-
// this will be set if
|
|
1379
|
-
|
|
1370
|
+
// this will be set if JSX tags in the build have `key` attrs set on them
|
|
1371
|
+
// we only want to check this if we're not on the first render since on
|
|
1372
|
+
// first render `leftVNode.$key$` will always be `null`, so we can be led
|
|
1373
|
+
// astray and, for instance, accidentally delete a DOM node that we want to
|
|
1374
|
+
// keep around.
|
|
1375
|
+
if (!isInitialRender) {
|
|
1380
1376
|
return leftVNode.$key$ === rightVNode.$key$;
|
|
1381
1377
|
}
|
|
1378
|
+
return true;
|
|
1382
1379
|
}
|
|
1383
1380
|
return false;
|
|
1384
1381
|
};
|
|
@@ -1397,8 +1394,9 @@ const parentReferenceNode = (node) => (node['s-ol'] ? node['s-ol'] : node).paren
|
|
|
1397
1394
|
*
|
|
1398
1395
|
* @param oldVNode an old VNode whose DOM element and children we want to update
|
|
1399
1396
|
* @param newVNode a new VNode representing an updated version of the old one
|
|
1397
|
+
* @param isInitialRender whether or not this is the first render of the vdom
|
|
1400
1398
|
*/
|
|
1401
|
-
const patch = (oldVNode, newVNode) => {
|
|
1399
|
+
const patch = (oldVNode, newVNode, isInitialRender = false) => {
|
|
1402
1400
|
const elm = (newVNode.$elm$ = oldVNode.$elm$);
|
|
1403
1401
|
const oldChildren = oldVNode.$children$;
|
|
1404
1402
|
const newChildren = newVNode.$children$;
|
|
@@ -1424,7 +1422,7 @@ const patch = (oldVNode, newVNode) => {
|
|
|
1424
1422
|
if (oldChildren !== null && newChildren !== null) {
|
|
1425
1423
|
// looks like there's child vnodes for both the old and new vnodes
|
|
1426
1424
|
// so we need to call `updateChildren` to reconcile them
|
|
1427
|
-
updateChildren(elm, oldChildren, newVNode, newChildren);
|
|
1425
|
+
updateChildren(elm, oldChildren, newVNode, newChildren, isInitialRender);
|
|
1428
1426
|
}
|
|
1429
1427
|
else if (newChildren !== null) {
|
|
1430
1428
|
// no old child vnodes, but there are new child vnodes to add
|
|
@@ -1707,7 +1705,7 @@ const renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
|
|
|
1707
1705
|
checkSlotFallbackVisibility = false;
|
|
1708
1706
|
}
|
|
1709
1707
|
// synchronous patch
|
|
1710
|
-
patch(oldVNode, rootVnode);
|
|
1708
|
+
patch(oldVNode, rootVnode, isInitialLoad);
|
|
1711
1709
|
{
|
|
1712
1710
|
// while we're moving nodes around existing nodes, temporarily disable
|
|
1713
1711
|
// the disconnectCallback from working
|
|
@@ -7,7 +7,7 @@ const index$1 = require('./index-c8d52405.js');
|
|
|
7
7
|
const hardwareBackButton = require('./hardware-back-button-76833cac.js');
|
|
8
8
|
const index = require('./index-5915f9b3.js');
|
|
9
9
|
const helpers = require('./helpers-76bb7efb.js');
|
|
10
|
-
const ionicGlobal = require('./ionic-global-
|
|
10
|
+
const ionicGlobal = require('./ionic-global-c70c3fb5.js');
|
|
11
11
|
const animation = require('./animation-9b401d39.js');
|
|
12
12
|
|
|
13
13
|
/**
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
/* Ionicons v7.2.
|
|
6
|
+
/* Ionicons v7.2.2, 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>";
|
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-9b401d39.js');
|
|
9
|
-
const index = require('./index-
|
|
10
|
-
const ios_transition = require('./ios.transition-
|
|
11
|
-
const md_transition = require('./md.transition-
|
|
9
|
+
const index = require('./index-6bb6b651.js');
|
|
10
|
+
const ios_transition = require('./ios.transition-9624a175.js');
|
|
11
|
+
const md_transition = require('./md.transition-786baf9a.js');
|
|
12
12
|
const cubicBezier = require('./cubic-bezier-f2dccc53.js');
|
|
13
13
|
const index$1 = require('./index-d1b59ffa.js');
|
|
14
|
-
const ionicGlobal = require('./ionic-global-
|
|
14
|
+
const ionicGlobal = require('./ionic-global-c70c3fb5.js');
|
|
15
15
|
const helpers = require('./helpers-76bb7efb.js');
|
|
16
16
|
const config = require('./config-4f60b98a.js');
|
|
17
17
|
const theme = require('./theme-d1c573d2.js');
|
|
18
|
-
const index$2 = require('./index-
|
|
19
|
-
const overlays = require('./overlays-
|
|
18
|
+
const index$2 = require('./index-96a721a7.js');
|
|
19
|
+
const overlays = require('./overlays-4c97edb0.js');
|
|
20
20
|
require('./index-c8d52405.js');
|
|
21
|
-
require('./index-
|
|
21
|
+
require('./index-71f41461.js');
|
|
22
22
|
require('./gesture-controller-c40c045a.js');
|
|
23
23
|
require('./hardware-back-button-76833cac.js');
|
|
24
24
|
require('./index-5915f9b3.js');
|
|
@@ -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-71f41461.js');
|
|
9
9
|
const helpers = require('./helpers-76bb7efb.js');
|
|
10
|
-
const index$1 = require('./index-
|
|
11
|
-
const ionicGlobal = require('./ionic-global-
|
|
10
|
+
const index$1 = require('./index-f52c6d38.js');
|
|
11
|
+
const ionicGlobal = require('./ionic-global-c70c3fb5.js');
|
|
12
12
|
const index$2 = require('./index-5915f9b3.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-71f41461.js');
|
|
9
|
+
const buttonActive = require('./button-active-85665616.js');
|
|
10
10
|
const helpers = require('./helpers-76bb7efb.js');
|
|
11
11
|
const lockController = require('./lock-controller-6585a42a.js');
|
|
12
|
-
const overlays = require('./overlays-
|
|
12
|
+
const overlays = require('./overlays-4c97edb0.js');
|
|
13
13
|
const theme = require('./theme-d1c573d2.js');
|
|
14
|
-
const ionicGlobal = require('./ionic-global-
|
|
14
|
+
const ionicGlobal = require('./ionic-global-c70c3fb5.js');
|
|
15
15
|
const animation = require('./animation-9b401d39.js');
|
|
16
16
|
require('./haptic-b882e0bb.js');
|
|
17
17
|
require('./capacitor-c04564bf.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-71f41461.js');
|
|
9
9
|
const config = require('./config-4f60b98a.js');
|
|
10
|
-
const buttonActive = require('./button-active-
|
|
10
|
+
const buttonActive = require('./button-active-85665616.js');
|
|
11
11
|
const helpers = require('./helpers-76bb7efb.js');
|
|
12
12
|
const lockController = require('./lock-controller-6585a42a.js');
|
|
13
|
-
const overlays = require('./overlays-
|
|
13
|
+
const overlays = require('./overlays-4c97edb0.js');
|
|
14
14
|
const theme = require('./theme-d1c573d2.js');
|
|
15
|
-
const ionicGlobal = require('./ionic-global-
|
|
15
|
+
const ionicGlobal = require('./ionic-global-c70c3fb5.js');
|
|
16
16
|
const animation = require('./animation-9b401d39.js');
|
|
17
17
|
require('./haptic-b882e0bb.js');
|
|
18
18
|
require('./capacitor-c04564bf.js');
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
9
|
-
const ionicGlobal = require('./ionic-global-
|
|
8
|
+
const index = require('./index-71f41461.js');
|
|
9
|
+
const ionicGlobal = require('./ionic-global-c70c3fb5.js');
|
|
10
10
|
const helpers = require('./helpers-76bb7efb.js');
|
|
11
11
|
const dir = require('./dir-94c21456.js');
|
|
12
12
|
const theme = require('./theme-d1c573d2.js');
|
|
@@ -15,7 +15,7 @@ const keyboardController = require('./keyboard-controller-c05e747a.js');
|
|
|
15
15
|
const cubicBezier = require('./cubic-bezier-f2dccc53.js');
|
|
16
16
|
const frameworkDelegate = require('./framework-delegate-1c29b14a.js');
|
|
17
17
|
const lockController = require('./lock-controller-6585a42a.js');
|
|
18
|
-
const index$2 = require('./index-
|
|
18
|
+
const index$2 = require('./index-6bb6b651.js');
|
|
19
19
|
require('./index-5915f9b3.js');
|
|
20
20
|
require('./index-c8d52405.js');
|
|
21
21
|
require('./keyboard-0272231f.js');
|
|
@@ -35,7 +35,7 @@ const App = class {
|
|
|
35
35
|
Promise.resolve().then(function () { return require('./index-b4f986cd.js'); }).then((module) => module.startTapClick(ionicGlobal.config));
|
|
36
36
|
}
|
|
37
37
|
if (ionicGlobal.config.getBoolean('statusTap', isHybrid)) {
|
|
38
|
-
Promise.resolve().then(function () { return require('./status-tap-
|
|
38
|
+
Promise.resolve().then(function () { return require('./status-tap-66296dcb.js'); }).then((module) => module.startStatusTap());
|
|
39
39
|
}
|
|
40
40
|
if (ionicGlobal.config.getBoolean('inputShims', needInputShims())) {
|
|
41
41
|
/**
|