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/dist/cjs/ionic.cjs.js
CHANGED
|
@@ -5,12 +5,12 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
9
|
-
const appGlobals = require('./app-globals-
|
|
10
|
-
require('./ionic-global-
|
|
8
|
+
const index = require('./index-71f41461.js');
|
|
9
|
+
const appGlobals = require('./app-globals-07127773.js');
|
|
10
|
+
require('./ionic-global-c70c3fb5.js');
|
|
11
11
|
|
|
12
12
|
/*
|
|
13
|
-
Stencil Client Patch Browser v4.
|
|
13
|
+
Stencil Client Patch Browser v4.10.0 | MIT Licensed | https://stenciljs.com
|
|
14
14
|
*/
|
|
15
15
|
const patchBrowser = () => {
|
|
16
16
|
const importMeta = (typeof document === 'undefined' ? new (require('u' + 'rl').URL)('file:' + __filename).href : (document.currentScript && document.currentScript.src || new URL('ionic.cjs.js', document.baseURI).href));
|
|
@@ -4,10 +4,10 @@
|
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
6
|
const animation = require('./animation-9b401d39.js');
|
|
7
|
-
const index = require('./index-
|
|
7
|
+
const index = require('./index-6bb6b651.js');
|
|
8
8
|
require('./index-c8d52405.js');
|
|
9
9
|
require('./helpers-76bb7efb.js');
|
|
10
|
-
require('./index-
|
|
10
|
+
require('./index-71f41461.js');
|
|
11
11
|
|
|
12
12
|
const DURATION = 540;
|
|
13
13
|
// TODO(FW-2832): types
|
package/dist/cjs/loader.cjs.js
CHANGED
|
@@ -5,9 +5,9 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
9
|
-
const appGlobals = require('./app-globals-
|
|
10
|
-
require('./ionic-global-
|
|
8
|
+
const index = require('./index-71f41461.js');
|
|
9
|
+
const appGlobals = require('./app-globals-07127773.js');
|
|
10
|
+
require('./ionic-global-c70c3fb5.js');
|
|
11
11
|
|
|
12
12
|
const defineCustomElements = (win, options) => {
|
|
13
13
|
if (typeof window === 'undefined') return undefined;
|
|
@@ -4,10 +4,10 @@
|
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
6
|
const animation = require('./animation-9b401d39.js');
|
|
7
|
-
const index = require('./index-
|
|
7
|
+
const index = require('./index-6bb6b651.js');
|
|
8
8
|
require('./index-c8d52405.js');
|
|
9
9
|
require('./helpers-76bb7efb.js');
|
|
10
|
-
require('./index-
|
|
10
|
+
require('./index-71f41461.js');
|
|
11
11
|
|
|
12
12
|
const mdTransitionAnimation = (_, opts) => {
|
|
13
13
|
var _a, _b, _c;
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
6
|
const index = require('./index-c8d52405.js');
|
|
7
|
-
const ionicGlobal = require('./ionic-global-
|
|
7
|
+
const ionicGlobal = require('./ionic-global-c70c3fb5.js');
|
|
8
8
|
const frameworkDelegate = require('./framework-delegate-1c29b14a.js');
|
|
9
9
|
const hardwareBackButton = require('./hardware-back-button-76833cac.js');
|
|
10
10
|
const helpers = require('./helpers-76bb7efb.js');
|
|
@@ -413,7 +413,7 @@ const present = async (overlay, name, iosEnterAnimation, mdEnterAnimation, opts)
|
|
|
413
413
|
* from returning focus as a result.
|
|
414
414
|
*/
|
|
415
415
|
if (overlay.el.tagName !== 'ION-TOAST') {
|
|
416
|
-
|
|
416
|
+
focusPreviousElementOnDismissIfNeeded(overlay.el);
|
|
417
417
|
}
|
|
418
418
|
/**
|
|
419
419
|
* If the focused element is already
|
|
@@ -435,7 +435,7 @@ const present = async (overlay, name, iosEnterAnimation, mdEnterAnimation, opts)
|
|
|
435
435
|
* to where they were before they
|
|
436
436
|
* opened the overlay.
|
|
437
437
|
*/
|
|
438
|
-
const
|
|
438
|
+
const focusPreviousElementOnDismissIfNeeded = async (overlayEl) => {
|
|
439
439
|
let previousElement = document.activeElement;
|
|
440
440
|
if (!previousElement) {
|
|
441
441
|
return;
|
|
@@ -446,7 +446,16 @@ const focusPreviousElementOnDismiss = async (overlayEl) => {
|
|
|
446
446
|
previousElement = shadowRoot.querySelector(focusableQueryString) || previousElement;
|
|
447
447
|
}
|
|
448
448
|
await overlayEl.onDidDismiss();
|
|
449
|
-
|
|
449
|
+
/**
|
|
450
|
+
* If the user has already removed focus
|
|
451
|
+
* from the overlay (For example, focusing
|
|
452
|
+
* a text box after tapping a button in an
|
|
453
|
+
* action sheet) then don't restore focus
|
|
454
|
+
* to previous element
|
|
455
|
+
*/
|
|
456
|
+
if (document.activeElement === null || document.activeElement === document.body) {
|
|
457
|
+
previousElement.focus();
|
|
458
|
+
}
|
|
450
459
|
};
|
|
451
460
|
const dismiss = async (overlay, data, role, name, iosLeaveAnimation, mdLeaveAnimation, opts) => {
|
|
452
461
|
var _a, _b;
|
|
@@ -382,11 +382,13 @@ export class AccordionGroup {
|
|
|
382
382
|
"complexType": {
|
|
383
383
|
"signature": "(accordionValue: string | undefined, accordionExpand: boolean) => Promise<void>",
|
|
384
384
|
"parameters": [{
|
|
385
|
-
"
|
|
386
|
-
"
|
|
385
|
+
"name": "accordionValue",
|
|
386
|
+
"type": "string | undefined",
|
|
387
|
+
"docs": ""
|
|
387
388
|
}, {
|
|
388
|
-
"
|
|
389
|
-
"
|
|
389
|
+
"name": "accordionExpand",
|
|
390
|
+
"type": "boolean",
|
|
391
|
+
"docs": ""
|
|
390
392
|
}],
|
|
391
393
|
"references": {
|
|
392
394
|
"Promise": {
|
|
@@ -684,17 +684,13 @@ export class ActionSheet {
|
|
|
684
684
|
"complexType": {
|
|
685
685
|
"signature": "(data?: any, role?: string) => Promise<boolean>",
|
|
686
686
|
"parameters": [{
|
|
687
|
-
"
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
}],
|
|
691
|
-
"text": "Any data to emit in the dismiss events."
|
|
687
|
+
"name": "data",
|
|
688
|
+
"type": "any",
|
|
689
|
+
"docs": "Any data to emit in the dismiss events."
|
|
692
690
|
}, {
|
|
693
|
-
"
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
}],
|
|
697
|
-
"text": "The role of the element that is dismissing the action sheet.\nThis can be useful in a button handler for determining which button was\nclicked to dismiss the action sheet.\nSome examples include: ``\"cancel\"`, `\"destructive\"`, \"selected\"`, and `\"backdrop\"`."
|
|
691
|
+
"name": "role",
|
|
692
|
+
"type": "string | undefined",
|
|
693
|
+
"docs": "The role of the element that is dismissing the action sheet.\nThis can be useful in a button handler for determining which button was\nclicked to dismiss the action sheet.\nSome examples include: ``\"cancel\"`, `\"destructive\"`, \"selected\"`, and `\"backdrop\"`."
|
|
698
694
|
}],
|
|
699
695
|
"references": {
|
|
700
696
|
"Promise": {
|
|
@@ -926,17 +926,13 @@ export class Alert {
|
|
|
926
926
|
"complexType": {
|
|
927
927
|
"signature": "(data?: any, role?: string) => Promise<boolean>",
|
|
928
928
|
"parameters": [{
|
|
929
|
-
"
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
}],
|
|
933
|
-
"text": "Any data to emit in the dismiss events."
|
|
929
|
+
"name": "data",
|
|
930
|
+
"type": "any",
|
|
931
|
+
"docs": "Any data to emit in the dismiss events."
|
|
934
932
|
}, {
|
|
935
|
-
"
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
}],
|
|
939
|
-
"text": "The role of the element that is dismissing the alert.\nThis can be useful in a button handler for determining which button was\nclicked to dismiss the alert.\nSome examples include: ``\"cancel\"`, `\"destructive\"`, \"selected\"`, and `\"backdrop\"`."
|
|
933
|
+
"name": "role",
|
|
934
|
+
"type": "string | undefined",
|
|
935
|
+
"docs": "The role of the element that is dismissing the alert.\nThis can be useful in a button handler for determining which button was\nclicked to dismiss the alert.\nSome examples include: ``\"cancel\"`, `\"destructive\"`, \"selected\"`, and `\"backdrop\"`."
|
|
940
936
|
}],
|
|
941
937
|
"references": {
|
|
942
938
|
"Promise": {
|
|
@@ -78,8 +78,9 @@ export class App {
|
|
|
78
78
|
"complexType": {
|
|
79
79
|
"signature": "(elements: HTMLElement[]) => Promise<void>",
|
|
80
80
|
"parameters": [{
|
|
81
|
-
"
|
|
82
|
-
"
|
|
81
|
+
"name": "elements",
|
|
82
|
+
"type": "HTMLElement[]",
|
|
83
|
+
"docs": ""
|
|
83
84
|
}],
|
|
84
85
|
"references": {
|
|
85
86
|
"Promise": {
|
|
@@ -74,7 +74,7 @@ export class BackButton {
|
|
|
74
74
|
const ariaLabel = inheritedAttributes['aria-label'] || backButtonText || 'back';
|
|
75
75
|
return (h(Host, { onClick: this.onClick, class: createColorClasses(color, {
|
|
76
76
|
[mode]: true,
|
|
77
|
-
button: true,
|
|
77
|
+
button: true, // ion-buttons target .button
|
|
78
78
|
'back-button-disabled': disabled,
|
|
79
79
|
'back-button-has-icon-only': hasIconOnly,
|
|
80
80
|
'in-toolbar': hostContext('ion-toolbar', this.el),
|
|
@@ -596,11 +596,9 @@ export class Content {
|
|
|
596
596
|
"complexType": {
|
|
597
597
|
"signature": "(duration?: number) => Promise<void>",
|
|
598
598
|
"parameters": [{
|
|
599
|
-
"
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
}],
|
|
603
|
-
"text": "The amount of time to take scrolling to the top. Defaults to `0`."
|
|
599
|
+
"name": "duration",
|
|
600
|
+
"type": "number",
|
|
601
|
+
"docs": "The amount of time to take scrolling to the top. Defaults to `0`."
|
|
604
602
|
}],
|
|
605
603
|
"references": {
|
|
606
604
|
"Promise": {
|
|
@@ -622,11 +620,9 @@ export class Content {
|
|
|
622
620
|
"complexType": {
|
|
623
621
|
"signature": "(duration?: number) => Promise<void>",
|
|
624
622
|
"parameters": [{
|
|
625
|
-
"
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
}],
|
|
629
|
-
"text": "The amount of time to take scrolling to the bottom. Defaults to `0`."
|
|
623
|
+
"name": "duration",
|
|
624
|
+
"type": "number",
|
|
625
|
+
"docs": "The amount of time to take scrolling to the bottom. Defaults to `0`."
|
|
630
626
|
}],
|
|
631
627
|
"references": {
|
|
632
628
|
"Promise": {
|
|
@@ -648,23 +644,17 @@ export class Content {
|
|
|
648
644
|
"complexType": {
|
|
649
645
|
"signature": "(x: number, y: number, duration: number) => Promise<void>",
|
|
650
646
|
"parameters": [{
|
|
651
|
-
"
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
}],
|
|
655
|
-
"text": "The amount to scroll by on the horizontal axis."
|
|
647
|
+
"name": "x",
|
|
648
|
+
"type": "number",
|
|
649
|
+
"docs": "The amount to scroll by on the horizontal axis."
|
|
656
650
|
}, {
|
|
657
|
-
"
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
}],
|
|
661
|
-
"text": "The amount to scroll by on the vertical axis."
|
|
651
|
+
"name": "y",
|
|
652
|
+
"type": "number",
|
|
653
|
+
"docs": "The amount to scroll by on the vertical axis."
|
|
662
654
|
}, {
|
|
663
|
-
"
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
}],
|
|
667
|
-
"text": "The amount of time to take scrolling by that amount."
|
|
655
|
+
"name": "duration",
|
|
656
|
+
"type": "number",
|
|
657
|
+
"docs": "The amount of time to take scrolling by that amount."
|
|
668
658
|
}],
|
|
669
659
|
"references": {
|
|
670
660
|
"Promise": {
|
|
@@ -692,23 +682,17 @@ export class Content {
|
|
|
692
682
|
"complexType": {
|
|
693
683
|
"signature": "(x: number | undefined | null, y: number | undefined | null, duration?: number) => Promise<void>",
|
|
694
684
|
"parameters": [{
|
|
695
|
-
"
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
}],
|
|
699
|
-
"text": "The point to scroll to on the horizontal axis."
|
|
685
|
+
"name": "x",
|
|
686
|
+
"type": "number | null | undefined",
|
|
687
|
+
"docs": "The point to scroll to on the horizontal axis."
|
|
700
688
|
}, {
|
|
701
|
-
"
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
}],
|
|
705
|
-
"text": "The point to scroll to on the vertical axis."
|
|
689
|
+
"name": "y",
|
|
690
|
+
"type": "number | null | undefined",
|
|
691
|
+
"docs": "The point to scroll to on the vertical axis."
|
|
706
692
|
}, {
|
|
707
|
-
"
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
}],
|
|
711
|
-
"text": "The amount of time to take scrolling to that point. Defaults to `0`."
|
|
693
|
+
"name": "duration",
|
|
694
|
+
"type": "number",
|
|
695
|
+
"docs": "The amount of time to take scrolling to that point. Defaults to `0`."
|
|
712
696
|
}],
|
|
713
697
|
"references": {
|
|
714
698
|
"Promise": {
|
|
@@ -806,9 +806,11 @@ ion-picker-column-internal {
|
|
|
806
806
|
|
|
807
807
|
/**
|
|
808
808
|
* Day that is selected and is today
|
|
809
|
-
* should have
|
|
809
|
+
* should have base background color
|
|
810
|
+
* with contrast text.
|
|
810
811
|
*/
|
|
811
812
|
:host .calendar-day.calendar-day-today.calendar-day-active {
|
|
813
|
+
background: var(--ion-color-base);
|
|
812
814
|
color: var(--ion-color-contrast);
|
|
813
815
|
}
|
|
814
816
|
|
|
@@ -1946,7 +1946,7 @@ export class Datetime {
|
|
|
1946
1946
|
"optional": true,
|
|
1947
1947
|
"docs": {
|
|
1948
1948
|
"tags": [],
|
|
1949
|
-
"text": "A callback used to format the header text that shows how many\ndates are selected. Only used if there are 0 or more than 1\nselected (i.e. unused for exactly 1). By default, the header\ntext is set to \"numberOfDates days\"."
|
|
1949
|
+
"text": "A callback used to format the header text that shows how many\ndates are selected. Only used if there are 0 or more than 1\nselected (i.e. unused for exactly 1). By default, the header\ntext is set to \"numberOfDates days\".\n\nSee https://ionicframework.com/docs/troubleshooting/runtime#accessing-this\nif you need to access `this` from within the callback."
|
|
1950
1950
|
}
|
|
1951
1951
|
},
|
|
1952
1952
|
"multiple": {
|
|
@@ -2293,8 +2293,9 @@ export class Datetime {
|
|
|
2293
2293
|
"complexType": {
|
|
2294
2294
|
"signature": "(closeOverlay?: boolean) => Promise<void>",
|
|
2295
2295
|
"parameters": [{
|
|
2296
|
-
"
|
|
2297
|
-
"
|
|
2296
|
+
"name": "closeOverlay",
|
|
2297
|
+
"type": "boolean",
|
|
2298
|
+
"docs": ""
|
|
2298
2299
|
}],
|
|
2299
2300
|
"references": {
|
|
2300
2301
|
"Promise": {
|
|
@@ -2313,8 +2314,9 @@ export class Datetime {
|
|
|
2313
2314
|
"complexType": {
|
|
2314
2315
|
"signature": "(startDate?: string) => Promise<void>",
|
|
2315
2316
|
"parameters": [{
|
|
2316
|
-
"
|
|
2317
|
-
"
|
|
2317
|
+
"name": "startDate",
|
|
2318
|
+
"type": "string | undefined",
|
|
2319
|
+
"docs": ""
|
|
2318
2320
|
}],
|
|
2319
2321
|
"references": {
|
|
2320
2322
|
"Promise": {
|
|
@@ -2333,8 +2335,9 @@ export class Datetime {
|
|
|
2333
2335
|
"complexType": {
|
|
2334
2336
|
"signature": "(closeOverlay?: boolean) => Promise<void>",
|
|
2335
2337
|
"parameters": [{
|
|
2336
|
-
"
|
|
2337
|
-
"
|
|
2338
|
+
"name": "closeOverlay",
|
|
2339
|
+
"type": "boolean",
|
|
2340
|
+
"docs": ""
|
|
2338
2341
|
}],
|
|
2339
2342
|
"references": {
|
|
2340
2343
|
"Promise": {
|
|
@@ -325,6 +325,35 @@ configs({ modes: ['md'], directions: ['ltr'] }).forEach(({ title, config }) => {
|
|
|
325
325
|
});
|
|
326
326
|
});
|
|
327
327
|
});
|
|
328
|
+
configs({ directions: ['ltr'] }).forEach(({ title, screenshot, config }) => {
|
|
329
|
+
test.describe(title('datetime: today button rendering'), () => {
|
|
330
|
+
test('should render today button correctly when selected', async ({ page }) => {
|
|
331
|
+
test.info().annotations.push({
|
|
332
|
+
type: 'issue',
|
|
333
|
+
description: 'FW-5808',
|
|
334
|
+
});
|
|
335
|
+
await page.setContent(`
|
|
336
|
+
<ion-datetime presentation="date" value="2022-01-02"></ion-datetime>
|
|
337
|
+
|
|
338
|
+
<script>
|
|
339
|
+
const mockToday = '2022-01-02T16:22';
|
|
340
|
+
Date = class extends Date {
|
|
341
|
+
constructor(...args) {
|
|
342
|
+
if (args.length === 0) {
|
|
343
|
+
super(mockToday)
|
|
344
|
+
} else {
|
|
345
|
+
super(...args);
|
|
346
|
+
}
|
|
347
|
+
}
|
|
348
|
+
}
|
|
349
|
+
</script>
|
|
350
|
+
`, config);
|
|
351
|
+
const datetime = page.locator('ion-datetime');
|
|
352
|
+
await page.waitForSelector('.datetime-ready');
|
|
353
|
+
await expect(datetime.locator('.calendar-day-today')).toHaveScreenshot(screenshot(`datetime-today-calendar-button`));
|
|
354
|
+
});
|
|
355
|
+
});
|
|
356
|
+
});
|
|
328
357
|
/**
|
|
329
358
|
* The calendar day highlight does not render
|
|
330
359
|
* on iOS and has the same behavior across directions.
|
|
@@ -15,7 +15,7 @@ configs({ directions: ['ltr'] }).forEach(({ title, screenshot, config }) => {
|
|
|
15
15
|
await datetime.evaluate((el) => {
|
|
16
16
|
el.highlightedDates = [
|
|
17
17
|
{
|
|
18
|
-
date: '2023-01-01',
|
|
18
|
+
date: '2023-01-01', // ensure selected date style overrides highlight
|
|
19
19
|
textColor: '#800080',
|
|
20
20
|
backgroundColor: '#ffc0cb',
|
|
21
21
|
},
|
|
@@ -308,13 +308,13 @@
|
|
|
308
308
|
visibility: visible;
|
|
309
309
|
}
|
|
310
310
|
|
|
311
|
-
:host(.has-focus) {
|
|
311
|
+
:host(.has-focus.legacy-input) {
|
|
312
312
|
pointer-events: none;
|
|
313
313
|
}
|
|
314
314
|
|
|
315
|
-
:host(.has-focus) input,
|
|
316
|
-
:host(.has-focus) a,
|
|
317
|
-
:host(.has-focus) button {
|
|
315
|
+
:host(.has-focus.legacy-input) input,
|
|
316
|
+
:host(.has-focus.legacy-input) a,
|
|
317
|
+
:host(.has-focus.legacy-input) button {
|
|
318
318
|
pointer-events: auto;
|
|
319
319
|
}
|
|
320
320
|
|
|
@@ -666,10 +666,12 @@
|
|
|
666
666
|
|
|
667
667
|
::slotted([slot=start]) {
|
|
668
668
|
margin-inline-end: 16px;
|
|
669
|
+
margin-inline-start: 0;
|
|
669
670
|
}
|
|
670
671
|
|
|
671
672
|
::slotted([slot=end]) {
|
|
672
673
|
margin-inline-start: 16px;
|
|
674
|
+
margin-inline-end: 0;
|
|
673
675
|
}
|
|
674
676
|
|
|
675
677
|
/**
|
|
@@ -810,4 +812,22 @@
|
|
|
810
812
|
:host(.legacy-input) .native-input[disabled],
|
|
811
813
|
:host(.input-disabled) {
|
|
812
814
|
opacity: 0.3;
|
|
815
|
+
}
|
|
816
|
+
|
|
817
|
+
/**
|
|
818
|
+
* Slotted buttons have a lot of default padding that can
|
|
819
|
+
* cause them to look misaligned from other pieces such
|
|
820
|
+
* as the control's label, especially when using a clear
|
|
821
|
+
* fill. We also make them circular to ensure that non-
|
|
822
|
+
* clear buttons and the focus/hover state on clear ones
|
|
823
|
+
* don't look too crowded.
|
|
824
|
+
*/
|
|
825
|
+
::slotted(ion-button[slot=start].button-has-icon-only),
|
|
826
|
+
::slotted(ion-button[slot=end].button-has-icon-only) {
|
|
827
|
+
--border-radius: 50%;
|
|
828
|
+
--padding-start: 0;
|
|
829
|
+
--padding-end: 0;
|
|
830
|
+
--padding-top: 0;
|
|
831
|
+
--padding-bottom: 0;
|
|
832
|
+
aspect-ratio: 1;
|
|
813
833
|
}
|
|
@@ -677,7 +677,7 @@ Developers can dismiss this warning by removing their usage of the "legacy" prop
|
|
|
677
677
|
"optional": true,
|
|
678
678
|
"docs": {
|
|
679
679
|
"tags": [],
|
|
680
|
-
"text": "A callback used to format the counter text.\nBy default the counter text is set to \"itemLength / maxLength\"."
|
|
680
|
+
"text": "A callback used to format the counter text.\nBy default the counter text is set to \"itemLength / maxLength\".\n\nSee https://ionicframework.com/docs/troubleshooting/runtime#accessing-this\nif you need to access `this` from within the callback."
|
|
681
681
|
}
|
|
682
682
|
},
|
|
683
683
|
"debounce": {
|
|
@@ -308,13 +308,13 @@
|
|
|
308
308
|
visibility: visible;
|
|
309
309
|
}
|
|
310
310
|
|
|
311
|
-
:host(.has-focus) {
|
|
311
|
+
:host(.has-focus.legacy-input) {
|
|
312
312
|
pointer-events: none;
|
|
313
313
|
}
|
|
314
314
|
|
|
315
|
-
:host(.has-focus) input,
|
|
316
|
-
:host(.has-focus) a,
|
|
317
|
-
:host(.has-focus) button {
|
|
315
|
+
:host(.has-focus.legacy-input) input,
|
|
316
|
+
:host(.has-focus.legacy-input) a,
|
|
317
|
+
:host(.has-focus.legacy-input) button {
|
|
318
318
|
pointer-events: auto;
|
|
319
319
|
}
|
|
320
320
|
|
|
@@ -666,10 +666,12 @@
|
|
|
666
666
|
|
|
667
667
|
::slotted([slot=start]) {
|
|
668
668
|
margin-inline-end: 16px;
|
|
669
|
+
margin-inline-start: 0;
|
|
669
670
|
}
|
|
670
671
|
|
|
671
672
|
::slotted([slot=end]) {
|
|
672
673
|
margin-inline-start: 16px;
|
|
674
|
+
margin-inline-end: 0;
|
|
673
675
|
}
|
|
674
676
|
|
|
675
677
|
/**
|
|
@@ -1422,4 +1424,23 @@
|
|
|
1422
1424
|
|
|
1423
1425
|
:host(.input-shape-round) {
|
|
1424
1426
|
--border-radius: 16px;
|
|
1427
|
+
}
|
|
1428
|
+
|
|
1429
|
+
/**
|
|
1430
|
+
* Slotted buttons have a lot of default padding that can
|
|
1431
|
+
* cause them to look misaligned from other pieces such
|
|
1432
|
+
* as the control's label, especially when using a clear
|
|
1433
|
+
* fill. We also make them circular to ensure that non-
|
|
1434
|
+
* clear buttons and the focus/hover state on clear ones
|
|
1435
|
+
* don't look too crowded.
|
|
1436
|
+
*/
|
|
1437
|
+
::slotted(ion-button[slot=start].button-has-icon-only),
|
|
1438
|
+
::slotted(ion-button[slot=end].button-has-icon-only) {
|
|
1439
|
+
--border-radius: 50%;
|
|
1440
|
+
--padding-start: 8px;
|
|
1441
|
+
--padding-end: 8px;
|
|
1442
|
+
--padding-top: 8px;
|
|
1443
|
+
--padding-bottom: 8px;
|
|
1444
|
+
aspect-ratio: 1;
|
|
1445
|
+
min-height: 40px;
|
|
1425
1446
|
}
|
|
@@ -9,7 +9,9 @@ configs().forEach(({ title, screenshot, config }) => {
|
|
|
9
9
|
await page.setContent(`
|
|
10
10
|
<ion-input label-placement="start" fill="solid" value="100" label="Weight" clear-input="true">
|
|
11
11
|
<ion-icon slot="start" name="barbell" aria-hidden="true"></ion-icon>
|
|
12
|
-
<ion-
|
|
12
|
+
<ion-button slot="end" aria-label="Show/hide password">
|
|
13
|
+
<ion-icon slot="icon-only" name="lock-closed" aria-hidden="true"></ion-icon>
|
|
14
|
+
</ion-button>
|
|
13
15
|
</ion-input>
|
|
14
16
|
`, config);
|
|
15
17
|
const input = page.locator('ion-input');
|
|
@@ -19,7 +21,9 @@ configs().forEach(({ title, screenshot, config }) => {
|
|
|
19
21
|
await page.setContent(`
|
|
20
22
|
<ion-input label-placement="floating" fill="solid" value="100" label="Weight" clear-input="true">
|
|
21
23
|
<ion-icon slot="start" name="barbell" aria-hidden="true"></ion-icon>
|
|
22
|
-
<ion-
|
|
24
|
+
<ion-button slot="end" aria-label="Show/hide password">
|
|
25
|
+
<ion-icon slot="icon-only" name="lock-closed" aria-hidden="true"></ion-icon>
|
|
26
|
+
</ion-button>
|
|
23
27
|
</ion-input>
|
|
24
28
|
`, config);
|
|
25
29
|
const input = page.locator('ion-input');
|
|
@@ -418,6 +418,12 @@ button, a {
|
|
|
418
418
|
::slotted(ion-label:not([slot=end])) {
|
|
419
419
|
flex: 1;
|
|
420
420
|
width: min-content;
|
|
421
|
+
/**
|
|
422
|
+
* We allow labels in the default
|
|
423
|
+
* slot to grow. However, we do not
|
|
424
|
+
* want them to grow indefinitely.
|
|
425
|
+
*/
|
|
426
|
+
max-width: 100%;
|
|
421
427
|
}
|
|
422
428
|
|
|
423
429
|
:host(.item-input) {
|
|
@@ -418,6 +418,12 @@ button, a {
|
|
|
418
418
|
::slotted(ion-label:not([slot=end])) {
|
|
419
419
|
flex: 1;
|
|
420
420
|
width: min-content;
|
|
421
|
+
/**
|
|
422
|
+
* We allow labels in the default
|
|
423
|
+
* slot to grow. However, we do not
|
|
424
|
+
* want them to grow indefinitely.
|
|
425
|
+
*/
|
|
426
|
+
max-width: 100%;
|
|
421
427
|
}
|
|
422
428
|
|
|
423
429
|
:host(.item-input) {
|
|
@@ -491,11 +491,9 @@ export class ItemSliding {
|
|
|
491
491
|
"complexType": {
|
|
492
492
|
"signature": "(side: Side | undefined) => Promise<void>",
|
|
493
493
|
"parameters": [{
|
|
494
|
-
"
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
}],
|
|
498
|
-
"text": "The side of the options to open. If a side is not provided, it will open the first set of options it finds within the item."
|
|
494
|
+
"name": "side",
|
|
495
|
+
"type": "Side | undefined",
|
|
496
|
+
"docs": "The side of the options to open. If a side is not provided, it will open the first set of options it finds within the item."
|
|
499
497
|
}],
|
|
500
498
|
"references": {
|
|
501
499
|
"Promise": {
|