@ionic/core 8.4.4-dev.11740674215.19381153 → 8.4.4-dev.11740685209.1c1ac2bf
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/alert.js +12 -26
- package/components/checkbox.js +6 -4
- package/components/helpers.js +1 -11
- package/components/index6.js +11 -3
- package/components/index9.js +1 -1
- package/components/ion-item-divider.js +2 -2
- package/components/ion-item-group.js +1 -1
- package/components/ion-item-option.js +2 -2
- package/components/ion-item-options.js +1 -1
- package/components/ion-item-sliding.js +1 -1
- package/components/ion-loading.js +2 -2
- package/components/ion-menu-button.js +2 -2
- package/components/ion-menu-toggle.js +2 -2
- package/components/ion-menu.js +2 -2
- package/components/ion-nav-link.js +1 -1
- package/components/ion-nav.js +1 -1
- package/components/ion-note.js +2 -2
- package/components/ion-picker-legacy.js +2 -2
- package/components/ion-progress-bar.js +1 -1
- package/components/ion-range.js +3 -3
- package/components/ion-refresher-content.js +1 -1
- package/components/ion-refresher.js +1 -1
- package/components/ion-reorder-group.js +1 -1
- package/components/ion-reorder.js +1 -1
- package/components/ion-router-link.js +2 -2
- package/components/ion-router-outlet.js +1 -1
- package/components/ion-row.js +1 -1
- package/components/ion-searchbar.js +4 -4
- package/components/ion-segment-button.js +9 -40
- package/components/ion-segment-content.js +1 -1
- package/components/ion-segment-view.js +2 -2
- package/components/ion-segment.js +2 -2
- package/components/ion-select-option.js +1 -1
- package/components/ion-select.js +6 -4
- package/components/ion-skeleton-text.js +2 -2
- package/components/ion-split-pane.js +2 -2
- package/components/ion-tab-bar.js +2 -2
- package/components/ion-tab-button.js +2 -2
- package/components/ion-tab.js +2 -2
- package/components/ion-tabs.js +1 -1
- package/components/ion-text.js +2 -2
- package/components/ion-textarea.js +2 -2
- package/components/ion-thumbnail.js +1 -1
- package/components/ion-toast.js +2 -2
- package/components/ion-toggle.js +6 -4
- package/components/label.js +2 -2
- package/components/list-header.js +2 -2
- package/components/modal.js +259 -35
- package/components/picker-column-option.js +2 -2
- package/components/picker-column2.js +2 -2
- package/components/popover.js +2 -2
- package/components/radio-group.js +39 -2
- package/components/radio.js +3 -3
- package/components/ripple-effect.js +1 -1
- package/components/select-modal.js +1 -1
- package/components/select-popover.js +1 -1
- package/components/spinner.js +1 -1
- package/components/title.js +2 -2
- package/components/toolbar.js +2 -2
- package/css/core.css.map +1 -1
- package/css/ionic.bundle.css.map +1 -1
- package/dist/cjs/{data-21dc0f81.js → data-108e531d.js} +1 -1
- package/dist/cjs/{framework-delegate-05579976.js → framework-delegate-55f5683a.js} +1 -1
- package/dist/cjs/{helpers-4be3f90d.js → helpers-afaa9001.js} +0 -11
- package/dist/cjs/{index-c441c903.js → index-0d762bba.js} +2 -2
- package/dist/cjs/{index-5915f9b3.js → index-2a46a047.js} +11 -3
- package/dist/cjs/{index-1ae3f40a.js → index-3652c918.js} +2 -2
- package/dist/cjs/{index-ad7a712e.js → index-9509ecad.js} +1 -1
- package/dist/cjs/{index-4e14a46e.js → index-e975c92b.js} +4 -4
- package/dist/cjs/index.cjs.js +8 -8
- package/dist/cjs/{input-shims-e748a364.js → input-shims-cd05268a.js} +5 -3
- package/dist/cjs/{input.utils-74e4ec28.js → input.utils-ffb2f81b.js} +2 -2
- package/dist/cjs/ion-accordion_2.cjs.entry.js +2 -2
- package/dist/cjs/ion-action-sheet.cjs.entry.js +4 -4
- package/dist/cjs/ion-alert.cjs.entry.js +16 -30
- package/dist/cjs/ion-app_8.cjs.entry.js +14 -14
- package/dist/cjs/ion-avatar_3.cjs.entry.js +1 -1
- package/dist/cjs/ion-back-button.cjs.entry.js +1 -1
- package/dist/cjs/ion-breadcrumb_2.cjs.entry.js +1 -1
- package/dist/cjs/ion-button_2.cjs.entry.js +2 -2
- package/dist/cjs/ion-card_5.cjs.entry.js +1 -1
- package/dist/cjs/ion-checkbox.cjs.entry.js +6 -5
- package/dist/cjs/ion-col_3.cjs.entry.js +1 -1
- package/dist/cjs/ion-datetime-button.cjs.entry.js +3 -3
- package/dist/cjs/ion-datetime_3.cjs.entry.js +9 -9
- package/dist/cjs/ion-fab_3.cjs.entry.js +1 -1
- package/dist/cjs/ion-img.cjs.entry.js +1 -1
- package/dist/cjs/ion-infinite-scroll_2.cjs.entry.js +3 -3
- package/dist/cjs/ion-input-password-toggle.cjs.entry.js +1 -1
- package/dist/cjs/ion-input.cjs.entry.js +4 -4
- package/dist/cjs/ion-item-option_3.cjs.entry.js +7 -7
- package/dist/cjs/ion-item_8.cjs.entry.js +12 -12
- package/dist/cjs/ion-loading.cjs.entry.js +6 -6
- package/dist/cjs/ion-menu_3.cjs.entry.js +11 -11
- package/dist/cjs/ion-modal.cjs.entry.js +264 -41
- package/dist/cjs/ion-nav_2.cjs.entry.js +7 -7
- package/dist/cjs/ion-picker-column-option.cjs.entry.js +3 -3
- package/dist/cjs/ion-picker-column.cjs.entry.js +1 -1
- package/dist/cjs/ion-picker.cjs.entry.js +1 -1
- package/dist/cjs/ion-popover.cjs.entry.js +7 -7
- package/dist/cjs/ion-progress-bar.cjs.entry.js +2 -2
- package/dist/cjs/ion-radio_2.cjs.entry.js +40 -5
- package/dist/cjs/ion-range.cjs.entry.js +6 -6
- package/dist/cjs/ion-refresher_2.cjs.entry.js +5 -5
- package/dist/cjs/ion-reorder_2.cjs.entry.js +5 -5
- package/dist/cjs/ion-ripple-effect.cjs.entry.js +1 -1
- package/dist/cjs/ion-route_4.cjs.entry.js +3 -3
- package/dist/cjs/ion-searchbar.cjs.entry.js +5 -5
- package/dist/cjs/ion-segment-content.cjs.entry.js +1 -1
- package/dist/cjs/ion-segment-view.cjs.entry.js +2 -2
- package/dist/cjs/ion-segment_2.cjs.entry.js +11 -42
- package/dist/cjs/ion-select-modal.cjs.entry.js +5 -5
- package/dist/cjs/ion-select_3.cjs.entry.js +12 -11
- package/dist/cjs/ion-spinner.cjs.entry.js +1 -1
- package/dist/cjs/ion-split-pane.cjs.entry.js +2 -2
- package/dist/cjs/ion-tab-bar_2.cjs.entry.js +5 -5
- package/dist/cjs/ion-tab_2.cjs.entry.js +5 -5
- package/dist/cjs/ion-text.cjs.entry.js +2 -2
- package/dist/cjs/ion-textarea.cjs.entry.js +6 -6
- package/dist/cjs/ion-toast.cjs.entry.js +6 -6
- package/dist/cjs/ion-toggle.cjs.entry.js +6 -5
- package/dist/cjs/ionic.cjs.js +1 -1
- package/dist/cjs/{ios.transition-afdec89f.js → ios.transition-0e664e88.js} +3 -3
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{md.transition-9f0d3db5.js → md.transition-2e8aef2c.js} +3 -3
- package/dist/cjs/{notch-controller-a0c464d1.js → notch-controller-d69150f5.js} +1 -1
- package/dist/cjs/{overlays-76b29cd4.js → overlays-65fdaff6.js} +3 -3
- package/dist/cjs/{status-tap-fb807fad.js → status-tap-d74f1429.js} +4 -3
- package/dist/cjs/{swipe-back-47a52b83.js → swipe-back-0303a5e4.js} +1 -1
- package/dist/collection/components/alert/alert.js +12 -30
- package/dist/collection/components/checkbox/checkbox.js +23 -4
- package/dist/collection/components/item-divider/item-divider.js +2 -2
- package/dist/collection/components/item-group/item-group.js +1 -1
- package/dist/collection/components/item-option/item-option.js +2 -2
- package/dist/collection/components/item-options/item-options.js +1 -1
- package/dist/collection/components/item-sliding/item-sliding.js +1 -1
- package/dist/collection/components/label/label.js +2 -2
- package/dist/collection/components/list-header/list-header.js +2 -2
- package/dist/collection/components/loading/loading.js +2 -2
- package/dist/collection/components/menu/menu.js +2 -2
- package/dist/collection/components/menu-button/menu-button.js +2 -2
- package/dist/collection/components/menu-toggle/menu-toggle.js +2 -2
- package/dist/collection/components/modal/animations/ios.enter.js +50 -4
- package/dist/collection/components/modal/animations/ios.leave.js +24 -2
- package/dist/collection/components/modal/animations/md.enter.js +52 -5
- package/dist/collection/components/modal/animations/md.leave.js +26 -3
- package/dist/collection/components/modal/animations/sheet.js +11 -2
- package/dist/collection/components/modal/gestures/sheet.js +79 -10
- package/dist/collection/components/modal/modal.ios.css +16 -0
- package/dist/collection/components/modal/modal.js +32 -7
- package/dist/collection/components/modal/modal.md.css +6 -0
- package/dist/collection/components/nav/nav.js +1 -1
- package/dist/collection/components/nav-link/nav-link.js +1 -1
- package/dist/collection/components/note/note.js +2 -2
- package/dist/collection/components/picker-column-option/picker-column-option.js +2 -2
- package/dist/collection/components/picker-legacy/picker.js +2 -2
- package/dist/collection/components/picker-legacy-column/picker-column.js +2 -2
- package/dist/collection/components/popover/popover.js +2 -2
- package/dist/collection/components/progress-bar/progress-bar.js +1 -1
- package/dist/collection/components/radio/radio.js +3 -3
- package/dist/collection/components/radio-group/radio-group.ios.css +202 -0
- package/dist/collection/components/radio-group/radio-group.js +72 -1
- package/dist/collection/components/radio-group/radio-group.md.css +202 -0
- package/dist/collection/components/range/range.js +3 -3
- package/dist/collection/components/refresher/refresher.js +1 -1
- package/dist/collection/components/refresher-content/refresher-content.js +1 -1
- package/dist/collection/components/reorder/reorder.js +1 -1
- package/dist/collection/components/reorder-group/reorder-group.js +1 -1
- package/dist/collection/components/ripple-effect/ripple-effect.js +1 -1
- package/dist/collection/components/router-link/router-link.js +2 -2
- package/dist/collection/components/router-outlet/router-outlet.js +1 -1
- package/dist/collection/components/row/row.js +1 -1
- package/dist/collection/components/searchbar/searchbar.js +4 -4
- package/dist/collection/components/segment/segment.js +2 -2
- package/dist/collection/components/segment-button/segment-button.js +9 -40
- package/dist/collection/components/segment-content/segment-content.js +1 -1
- package/dist/collection/components/segment-view/segment-view.js +2 -2
- package/dist/collection/components/select/select.js +23 -4
- package/dist/collection/components/select-modal/select-modal.js +1 -1
- package/dist/collection/components/select-option/select-option.js +1 -1
- package/dist/collection/components/select-popover/select-popover.js +1 -1
- package/dist/collection/components/skeleton-text/skeleton-text.js +2 -2
- package/dist/collection/components/spinner/spinner.js +1 -1
- package/dist/collection/components/split-pane/split-pane.js +2 -2
- package/dist/collection/components/tab/tab.js +2 -2
- package/dist/collection/components/tab-bar/tab-bar.js +2 -2
- package/dist/collection/components/tab-button/tab-button.js +2 -2
- package/dist/collection/components/tabs/tabs.js +1 -1
- package/dist/collection/components/text/text.js +2 -2
- package/dist/collection/components/textarea/textarea.js +2 -2
- package/dist/collection/components/thumbnail/thumbnail.js +1 -1
- package/dist/collection/components/title/title.js +2 -2
- package/dist/collection/components/toast/toast.js +2 -2
- package/dist/collection/components/toggle/toggle.js +23 -4
- package/dist/collection/components/toolbar/toolbar.js +6 -2
- package/dist/collection/utils/helpers.js +0 -10
- package/dist/collection/utils/logging/index.js +10 -3
- package/dist/docs.json +163 -6
- package/dist/esm/{data-ae11fd43.js → data-b3284b5e.js} +1 -1
- package/dist/esm/{framework-delegate-f683816e.js → framework-delegate-63d1a679.js} +1 -1
- package/dist/esm/{helpers-9b49d7d2.js → helpers-da915de8.js} +1 -11
- package/dist/esm/{index-7ec5519a.js → index-2f7fde3d.js} +4 -4
- package/dist/esm/{index-9b0d46f4.js → index-6ad967f3.js} +11 -3
- package/dist/esm/{index-5a0f5fd0.js → index-79b30591.js} +1 -1
- package/dist/esm/{index-8785a9c6.js → index-cb21eccb.js} +2 -2
- package/dist/esm/{index-33f7e3ff.js → index-efb8ecdf.js} +2 -2
- package/dist/esm/index.js +8 -8
- package/dist/esm/{input-shims-0e65111b.js → input-shims-2fd7c6ef.js} +5 -3
- package/dist/esm/{input.utils-1ad8dafc.js → input.utils-961c9f17.js} +2 -2
- package/dist/esm/ion-accordion_2.entry.js +2 -2
- package/dist/esm/ion-action-sheet.entry.js +4 -4
- package/dist/esm/ion-alert.entry.js +16 -30
- package/dist/esm/ion-app_8.entry.js +14 -14
- package/dist/esm/ion-avatar_3.entry.js +1 -1
- package/dist/esm/ion-back-button.entry.js +1 -1
- package/dist/esm/ion-breadcrumb_2.entry.js +1 -1
- package/dist/esm/ion-button_2.entry.js +2 -2
- package/dist/esm/ion-card_5.entry.js +1 -1
- package/dist/esm/ion-checkbox.entry.js +6 -5
- package/dist/esm/ion-col_3.entry.js +1 -1
- package/dist/esm/ion-datetime-button.entry.js +3 -3
- package/dist/esm/ion-datetime_3.entry.js +9 -9
- package/dist/esm/ion-fab_3.entry.js +1 -1
- package/dist/esm/ion-img.entry.js +1 -1
- package/dist/esm/ion-infinite-scroll_2.entry.js +3 -3
- package/dist/esm/ion-input-password-toggle.entry.js +1 -1
- package/dist/esm/ion-input.entry.js +4 -4
- package/dist/esm/ion-item-option_3.entry.js +7 -7
- package/dist/esm/ion-item_8.entry.js +12 -12
- package/dist/esm/ion-loading.entry.js +6 -6
- package/dist/esm/ion-menu_3.entry.js +11 -11
- package/dist/esm/ion-modal.entry.js +264 -41
- package/dist/esm/ion-nav_2.entry.js +7 -7
- package/dist/esm/ion-picker-column-option.entry.js +3 -3
- package/dist/esm/ion-picker-column.entry.js +1 -1
- package/dist/esm/ion-picker.entry.js +1 -1
- package/dist/esm/ion-popover.entry.js +7 -7
- package/dist/esm/ion-progress-bar.entry.js +2 -2
- package/dist/esm/ion-radio_2.entry.js +40 -5
- package/dist/esm/ion-range.entry.js +6 -6
- package/dist/esm/ion-refresher_2.entry.js +5 -5
- package/dist/esm/ion-reorder_2.entry.js +5 -5
- package/dist/esm/ion-ripple-effect.entry.js +1 -1
- package/dist/esm/ion-route_4.entry.js +3 -3
- package/dist/esm/ion-searchbar.entry.js +5 -5
- package/dist/esm/ion-segment-content.entry.js +1 -1
- package/dist/esm/ion-segment-view.entry.js +2 -2
- package/dist/esm/ion-segment_2.entry.js +11 -42
- package/dist/esm/ion-select-modal.entry.js +5 -5
- package/dist/esm/ion-select_3.entry.js +12 -11
- package/dist/esm/ion-spinner.entry.js +1 -1
- package/dist/esm/ion-split-pane.entry.js +2 -2
- package/dist/esm/ion-tab-bar_2.entry.js +5 -5
- package/dist/esm/ion-tab_2.entry.js +5 -5
- package/dist/esm/ion-text.entry.js +2 -2
- package/dist/esm/ion-textarea.entry.js +6 -6
- package/dist/esm/ion-toast.entry.js +6 -6
- package/dist/esm/ion-toggle.entry.js +6 -5
- package/dist/esm/ionic.js +1 -1
- package/dist/esm/{ios.transition-085853ff.js → ios.transition-b1da3753.js} +3 -3
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{md.transition-33826623.js → md.transition-571b3859.js} +3 -3
- package/dist/esm/{notch-controller-3dc61260.js → notch-controller-55b09e11.js} +1 -1
- package/dist/esm/{overlays-e3d0d356.js → overlays-5deab4de.js} +3 -3
- package/dist/esm/{status-tap-163e8128.js → status-tap-79eac0ac.js} +4 -3
- package/dist/esm/{swipe-back-23ee7ab1.js → swipe-back-e5394307.js} +1 -1
- package/dist/esm-es5/{data-ae11fd43.js → data-b3284b5e.js} +1 -1
- package/dist/esm-es5/{framework-delegate-f683816e.js → framework-delegate-63d1a679.js} +1 -1
- package/dist/esm-es5/{helpers-9b49d7d2.js → helpers-da915de8.js} +1 -1
- package/dist/esm-es5/{index-7ec5519a.js → index-2f7fde3d.js} +1 -1
- package/dist/esm-es5/index-6ad967f3.js +4 -0
- package/dist/esm-es5/{index-5a0f5fd0.js → index-79b30591.js} +1 -1
- package/dist/esm-es5/{index-8785a9c6.js → index-cb21eccb.js} +1 -1
- package/dist/esm-es5/{index-33f7e3ff.js → index-efb8ecdf.js} +1 -1
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/input-shims-2fd7c6ef.js +4 -0
- package/dist/esm-es5/{input.utils-1ad8dafc.js → input.utils-961c9f17.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-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-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-password-toggle.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-option.entry.js +1 -1
- package/dist/esm-es5/ion-picker-column.entry.js +1 -1
- package/dist/esm-es5/ion-picker.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-content.entry.js +1 -1
- package/dist/esm-es5/ion-segment-view.entry.js +1 -1
- package/dist/esm-es5/ion-segment_2.entry.js +1 -1
- package/dist/esm-es5/ion-select-modal.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.js +1 -1
- package/dist/esm-es5/{ios.transition-085853ff.js → ios.transition-b1da3753.js} +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/md.transition-571b3859.js +4 -0
- package/dist/esm-es5/{notch-controller-3dc61260.js → notch-controller-55b09e11.js} +1 -1
- package/dist/esm-es5/{overlays-e3d0d356.js → overlays-5deab4de.js} +1 -1
- package/dist/esm-es5/status-tap-79eac0ac.js +4 -0
- package/dist/esm-es5/{swipe-back-23ee7ab1.js → swipe-back-e5394307.js} +1 -1
- package/dist/html.html-data.json +24 -0
- package/dist/ionic/index.esm.js +1 -1
- package/dist/ionic/ionic.esm.js +1 -1
- package/dist/ionic/{p-a9e24ae2.system.entry.js → p-01186920.system.entry.js} +1 -1
- package/dist/ionic/{p-f78af648.system.entry.js → p-03692b8d.system.entry.js} +1 -1
- package/dist/ionic/{p-e265ae18.system.entry.js → p-0445f081.system.entry.js} +1 -1
- package/dist/ionic/{p-3eaf1444.system.entry.js → p-05b74e45.system.entry.js} +1 -1
- package/dist/ionic/p-073b47c8.system.entry.js +4 -0
- package/dist/ionic/{p-bb2a6761.entry.js → p-081a4ce4.entry.js} +1 -1
- package/dist/ionic/{p-2ef3c7ee.system.entry.js → p-08f8804f.system.entry.js} +1 -1
- package/dist/ionic/p-0af823e1.js +4 -0
- package/dist/ionic/{p-aa63b365.system.js → p-0eb35a7f.system.js} +1 -1
- package/dist/ionic/{p-9a1f985d.system.entry.js → p-102e55aa.system.entry.js} +1 -1
- package/dist/ionic/p-116f21ad.entry.js +4 -0
- package/dist/ionic/{p-203633d1.entry.js → p-120fb79a.entry.js} +1 -1
- package/dist/ionic/p-13966709.entry.js +4 -0
- package/dist/ionic/{p-3df889b3.system.entry.js → p-14350389.system.entry.js} +2 -2
- package/dist/ionic/{p-5cde8ef3.entry.js → p-15d18206.entry.js} +1 -1
- package/dist/ionic/{p-e8f34871.entry.js → p-15e76dd1.entry.js} +1 -1
- package/dist/ionic/{p-9be5f3ee.system.entry.js → p-1854b62d.system.entry.js} +2 -2
- package/dist/ionic/{p-5126cf1e.system.js → p-19ea7bff.system.js} +1 -1
- package/dist/ionic/{p-d60342e3.js → p-1a5bc5f7.js} +1 -1
- package/dist/ionic/{p-42808996.js → p-1ab13b2b.js} +1 -1
- package/dist/ionic/{p-84d08aae.system.entry.js → p-1e67b266.system.entry.js} +1 -1
- package/dist/ionic/{p-92365bc1.system.entry.js → p-1eb2e3bc.system.entry.js} +1 -1
- package/dist/ionic/{p-d06601eb.system.entry.js → p-1fdf3d2e.system.entry.js} +1 -1
- package/dist/ionic/{p-41780810.entry.js → p-2034ff3e.entry.js} +1 -1
- package/dist/ionic/{p-0c9b6d3a.system.entry.js → p-2346ab53.system.entry.js} +1 -1
- package/dist/ionic/{p-162c8d0c.system.entry.js → p-248318e0.system.entry.js} +1 -1
- package/dist/ionic/{p-f5035354.js → p-28706c6f.js} +1 -1
- package/dist/ionic/{p-83e68c71.entry.js → p-2b0ce71f.entry.js} +1 -1
- package/dist/ionic/{p-16799667.system.entry.js → p-2f43663c.system.entry.js} +1 -1
- package/dist/ionic/{p-6b1bd0c1.entry.js → p-308d9b4c.entry.js} +1 -1
- package/dist/ionic/p-322c5fb4.system.js +1 -1
- package/dist/ionic/{p-f2b8c349.system.entry.js → p-34093a29.system.entry.js} +1 -1
- package/dist/ionic/{p-f687573e.system.js → p-343b6b1d.system.js} +1 -1
- package/dist/ionic/{p-2bc73fb5.js → p-34b11c24.js} +1 -1
- package/dist/ionic/{p-b3680e2f.system.js → p-3ad285e3.system.js} +1 -1
- package/dist/ionic/{p-d4ca0475.js → p-3cc276f4.js} +1 -1
- package/dist/ionic/{p-afecb188.entry.js → p-442e3021.entry.js} +1 -1
- package/dist/ionic/{p-424eb140.system.entry.js → p-468b7fe5.system.entry.js} +1 -1
- package/dist/ionic/{p-4c252070.entry.js → p-46d78904.entry.js} +1 -1
- package/dist/ionic/{p-6d32975a.entry.js → p-48d2c8e3.entry.js} +1 -1
- package/dist/ionic/p-4c2d5b80.system.js +4 -0
- package/dist/ionic/p-4c98e2cf.system.js +4 -0
- package/dist/ionic/{p-2515cb4d.system.entry.js → p-4fb8b6f8.system.entry.js} +1 -1
- package/dist/ionic/{p-4ad78edc.entry.js → p-52d7a191.entry.js} +1 -1
- package/dist/ionic/{p-5b932840.entry.js → p-571f7efd.entry.js} +1 -1
- package/dist/ionic/{p-da8ef548.system.entry.js → p-58d5df0c.system.entry.js} +1 -1
- package/dist/ionic/p-58fff30e.entry.js +4 -0
- package/dist/ionic/{p-6190d0d6.entry.js → p-59a63a7f.entry.js} +1 -1
- package/dist/ionic/{p-32e99b0a.entry.js → p-5a064906.entry.js} +1 -1
- package/dist/ionic/{p-9eee4de1.system.js → p-5c08627a.system.js} +1 -1
- package/dist/ionic/{p-7b96e5c1.system.entry.js → p-6270042b.system.entry.js} +1 -1
- package/dist/ionic/{p-f89cf011.system.entry.js → p-63b0abde.system.entry.js} +1 -1
- package/dist/ionic/{p-7458862e.system.entry.js → p-65493214.system.entry.js} +1 -1
- package/dist/ionic/p-67222c16.system.js +4 -0
- package/dist/ionic/{p-f301a694.system.entry.js → p-6b888f65.system.entry.js} +1 -1
- package/dist/ionic/p-6c95736e.entry.js +4 -0
- package/dist/ionic/{p-02e23f26.entry.js → p-6f0f433c.entry.js} +1 -1
- package/dist/ionic/p-702bc67d.entry.js +4 -0
- package/dist/ionic/{p-a4575db1.system.entry.js → p-71c66f13.system.entry.js} +1 -1
- package/dist/ionic/{p-7a1766d6.js → p-72812e99.js} +1 -1
- package/dist/ionic/p-72bc8a1c.js +4 -0
- package/dist/ionic/p-7513b0c4.js +4 -0
- package/dist/ionic/{p-803f0bc2.entry.js → p-766477e0.entry.js} +1 -1
- package/dist/ionic/{p-0397811d.entry.js → p-797204e3.entry.js} +1 -1
- package/dist/ionic/{p-14143257.entry.js → p-7a6eaf9e.entry.js} +1 -1
- package/dist/ionic/{p-fca17935.entry.js → p-7b9a2b23.entry.js} +1 -1
- package/dist/ionic/{p-95775830.entry.js → p-7d6d8f1f.entry.js} +1 -1
- package/dist/ionic/{p-a2b6dd57.system.js → p-7de1e42c.system.js} +1 -1
- package/dist/ionic/{p-0eb2553a.system.entry.js → p-7ed1657c.system.entry.js} +1 -1
- package/dist/ionic/{p-95da3ae2.system.js → p-8635f5e6.system.js} +1 -1
- package/dist/ionic/{p-da074ff7.entry.js → p-89bf08c7.entry.js} +1 -1
- package/dist/ionic/{p-48a8d9b4.system.entry.js → p-8ac07653.system.entry.js} +2 -2
- package/dist/ionic/{p-c29f8157.system.entry.js → p-8cfba7e9.system.entry.js} +1 -1
- package/dist/ionic/{p-561ddcd4.system.entry.js → p-933727f9.system.entry.js} +2 -2
- package/dist/ionic/p-9343a445.js +4 -0
- package/dist/ionic/{p-57379000.entry.js → p-948e6c6a.entry.js} +1 -1
- package/dist/ionic/{p-265939f0.entry.js → p-959886ca.entry.js} +1 -1
- package/dist/ionic/{p-2507278c.system.entry.js → p-9659caca.system.entry.js} +1 -1
- package/dist/ionic/{p-dc146a2a.system.entry.js → p-985a7e17.system.entry.js} +1 -1
- package/dist/ionic/p-9fd14430.system.entry.js +4 -0
- package/dist/ionic/{p-3572f86a.system.entry.js → p-a090bce8.system.entry.js} +1 -1
- package/dist/ionic/{p-4452a8ac.system.js → p-a15ddedb.system.js} +1 -1
- package/dist/ionic/{p-a3c78186.system.entry.js → p-a2cc2247.system.entry.js} +1 -1
- package/dist/ionic/p-a3db8ee3.js +4 -0
- package/dist/ionic/{p-a0a4fc48.system.entry.js → p-a4a2420e.system.entry.js} +1 -1
- package/dist/ionic/{p-1a790eef.system.js → p-a88dec0d.system.js} +2 -2
- package/dist/ionic/p-a8f2c254.entry.js +4 -0
- package/dist/ionic/{p-4346c79d.system.entry.js → p-a9b68560.system.entry.js} +1 -1
- package/dist/ionic/{p-7b98cebe.entry.js → p-aacfc8f1.entry.js} +1 -1
- package/dist/ionic/{p-c1b51537.system.js → p-ada36597.system.js} +1 -1
- package/dist/ionic/{p-e2e19375.system.entry.js → p-b0dce4ab.system.entry.js} +1 -1
- package/dist/ionic/{p-45de8d2a.entry.js → p-b1eb86fd.entry.js} +1 -1
- package/dist/ionic/{p-e8232807.system.js → p-b3c60433.system.js} +1 -1
- package/dist/ionic/{p-bb11d9fb.js → p-b51e4004.js} +1 -1
- package/dist/ionic/{p-13dc21b0.js → p-b6efeab8.js} +1 -1
- package/dist/ionic/{p-af09741c.entry.js → p-b8427d77.entry.js} +1 -1
- package/dist/ionic/{p-9b3bb24e.entry.js → p-b9d7015f.entry.js} +1 -1
- package/dist/ionic/{p-d192fdf7.system.entry.js → p-bac6d8b8.system.entry.js} +1 -1
- package/dist/ionic/{p-2abae1cc.system.entry.js → p-c078a25d.system.entry.js} +1 -1
- package/dist/ionic/{p-c8d645b3.entry.js → p-c41ac815.entry.js} +1 -1
- package/dist/ionic/{p-340e3f24.system.js → p-c4238c12.system.js} +1 -1
- package/dist/ionic/p-c5d5571d.system.entry.js +4 -0
- package/dist/ionic/{p-57ceead7.entry.js → p-c8c015fa.entry.js} +1 -1
- package/dist/ionic/{p-dd0c9350.system.entry.js → p-cac0e0b3.system.entry.js} +1 -1
- package/dist/ionic/{p-51dec25d.js → p-cb13696c.js} +1 -1
- package/dist/ionic/{p-73dc4950.entry.js → p-d12c8b7c.entry.js} +1 -1
- package/dist/ionic/{p-76446a85.entry.js → p-d1918f92.entry.js} +1 -1
- package/dist/ionic/p-d1c5b60e.system.js +4 -0
- package/dist/ionic/{p-e1bbacb7.entry.js → p-d1d88a4a.entry.js} +1 -1
- package/dist/ionic/{p-881d9e52.system.js → p-d22e2a38.system.js} +1 -1
- package/dist/ionic/{p-c32644d7.entry.js → p-d3a4e061.entry.js} +1 -1
- package/dist/ionic/{p-1bbe8665.system.entry.js → p-d4c9f8f6.system.entry.js} +2 -2
- package/dist/ionic/{p-955c3eb8.entry.js → p-d7aa6b00.entry.js} +1 -1
- package/dist/ionic/{p-ed75fcfb.system.entry.js → p-d8a385f2.system.entry.js} +1 -1
- package/dist/ionic/{p-91f17b25.system.entry.js → p-e09d6392.system.entry.js} +2 -2
- package/dist/ionic/{p-b91acf8d.system.entry.js → p-e1ebcbb2.system.entry.js} +1 -1
- package/dist/ionic/{p-70ccc275.system.entry.js → p-e3e4ac8f.system.entry.js} +2 -2
- package/dist/ionic/{p-f42743d1.entry.js → p-e76dae93.entry.js} +1 -1
- package/dist/ionic/{p-77e7b7b6.system.entry.js → p-e7bfd50d.system.entry.js} +1 -1
- package/dist/ionic/p-e8d56122.js +4 -0
- package/dist/ionic/p-eb027b33.entry.js +4 -0
- package/dist/ionic/{p-26194519.entry.js → p-eb86eafb.entry.js} +1 -1
- package/dist/ionic/{p-fca6ef5f.system.entry.js → p-ed059cb7.system.entry.js} +1 -1
- package/dist/ionic/p-edbf38cf.entry.js +4 -0
- package/dist/ionic/{p-e97a3f44.entry.js → p-ef2b566d.entry.js} +1 -1
- package/dist/ionic/p-ef67a752.entry.js +4 -0
- package/dist/ionic/p-efe06d98.entry.js +4 -0
- package/dist/ionic/{p-82b931e2.entry.js → p-f0270b8c.entry.js} +1 -1
- package/dist/ionic/{p-ffc48bc5.system.entry.js → p-f03b3a76.system.entry.js} +1 -1
- package/dist/ionic/{p-02e1ebd9.js → p-f1c4dcd4.js} +1 -1
- package/dist/ionic/{p-62af944c.entry.js → p-f200c0f2.entry.js} +1 -1
- package/dist/ionic/{p-1bc65aec.system.entry.js → p-fd257e86.system.entry.js} +1 -1
- package/dist/types/components/checkbox/checkbox.d.ts +6 -0
- package/dist/types/components/modal/animations/sheet.d.ts +1 -0
- package/dist/types/components/modal/gestures/sheet.d.ts +1 -1
- package/dist/types/components/modal/modal-interface.d.ts +1 -0
- package/dist/types/components/modal/modal.d.ts +11 -0
- package/dist/types/components/radio-group/radio-group.d.ts +15 -0
- package/dist/types/components/segment-button/segment-button.d.ts +1 -2
- package/dist/types/components/select/select.d.ts +6 -0
- package/dist/types/components/toggle/toggle.d.ts +6 -0
- package/dist/types/components/toolbar/toolbar.d.ts +4 -0
- package/dist/types/components.d.ts +48 -0
- package/dist/types/utils/config.d.ts +9 -0
- package/dist/types/utils/helpers.d.ts +0 -1
- package/dist/types/utils/logging/index.d.ts +13 -1
- package/hydrate/index.js +431 -209
- package/hydrate/index.mjs +431 -209
- package/package.json +2 -2
- package/dist/esm-es5/index-9b0d46f4.js +0 -4
- package/dist/esm-es5/input-shims-0e65111b.js +0 -4
- package/dist/esm-es5/md.transition-33826623.js +0 -4
- package/dist/esm-es5/status-tap-163e8128.js +0 -4
- package/dist/ionic/p-06fee233.js +0 -4
- package/dist/ionic/p-075a94bd.js +0 -4
- package/dist/ionic/p-0a59f4fa.entry.js +0 -4
- package/dist/ionic/p-0e43be1b.entry.js +0 -4
- package/dist/ionic/p-0ee3b5a2.system.js +0 -4
- package/dist/ionic/p-135e5731.js +0 -4
- package/dist/ionic/p-14be4015.entry.js +0 -4
- package/dist/ionic/p-16bfb979.system.entry.js +0 -4
- package/dist/ionic/p-1f405274.js +0 -4
- package/dist/ionic/p-25fa1d30.system.entry.js +0 -4
- package/dist/ionic/p-2c8798d0.entry.js +0 -4
- package/dist/ionic/p-2c9eb774.system.js +0 -4
- package/dist/ionic/p-49a0e74c.entry.js +0 -4
- package/dist/ionic/p-56da53ad.system.entry.js +0 -4
- package/dist/ionic/p-61d044b4.entry.js +0 -4
- package/dist/ionic/p-68dc53a5.js +0 -4
- package/dist/ionic/p-8a836849.entry.js +0 -4
- package/dist/ionic/p-b7433d7d.js +0 -4
- package/dist/ionic/p-cc700b6b.entry.js +0 -4
- package/dist/ionic/p-df862603.entry.js +0 -4
- package/dist/ionic/p-e308de5b.system.js +0 -4
- package/dist/ionic/p-fe7544d7.entry.js +0 -4
- package/dist/ionic/p-ff4b7e40.system.js +0 -4
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
|
+
import { config } from "../../global/config";
|
|
4
5
|
/**
|
|
5
6
|
* Logs a warning to the console with an Ionic prefix
|
|
6
7
|
* to indicate the library that is warning the developer.
|
|
@@ -8,9 +9,12 @@
|
|
|
8
9
|
* @param message - The string message to be logged to the console.
|
|
9
10
|
*/
|
|
10
11
|
export const printIonWarning = (message, ...params) => {
|
|
11
|
-
|
|
12
|
+
const logLevel = config.get('logLevel', "WARN" /* LogLevel.WARN */);
|
|
13
|
+
if (["WARN" /* LogLevel.WARN */].includes(logLevel)) {
|
|
14
|
+
return console.warn(`[Ionic Warning]: ${message}`, ...params);
|
|
15
|
+
}
|
|
12
16
|
};
|
|
13
|
-
|
|
17
|
+
/**
|
|
14
18
|
* Logs an error to the console with an Ionic prefix
|
|
15
19
|
* to indicate the library that is warning the developer.
|
|
16
20
|
*
|
|
@@ -18,7 +22,10 @@ export const printIonWarning = (message, ...params) => {
|
|
|
18
22
|
* @param params - Additional arguments to supply to the console.error.
|
|
19
23
|
*/
|
|
20
24
|
export const printIonError = (message, ...params) => {
|
|
21
|
-
|
|
25
|
+
const logLevel = config.get('logLevel', "ERROR" /* LogLevel.ERROR */);
|
|
26
|
+
if (["ERROR" /* LogLevel.ERROR */, "WARN" /* LogLevel.WARN */].includes(logLevel)) {
|
|
27
|
+
return console.error(`[Ionic Error]: ${message}`, ...params);
|
|
28
|
+
}
|
|
22
29
|
};
|
|
23
30
|
/**
|
|
24
31
|
* Prints an error informing developers that an implementation requires an element to be used
|
package/dist/docs.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"timestamp": "2025-02-
|
|
2
|
+
"timestamp": "2025-02-27T19:42:01",
|
|
3
3
|
"compiler": {
|
|
4
4
|
"name": "@stencil/core",
|
|
5
5
|
"version": "4.20.0",
|
|
@@ -1921,10 +1921,6 @@
|
|
|
1921
1921
|
"Promise": {
|
|
1922
1922
|
"location": "global",
|
|
1923
1923
|
"id": "global::Promise"
|
|
1924
|
-
},
|
|
1925
|
-
"HTMLButtonElement": {
|
|
1926
|
-
"location": "global",
|
|
1927
|
-
"id": "global::HTMLButtonElement"
|
|
1928
1924
|
}
|
|
1929
1925
|
},
|
|
1930
1926
|
"return": "Promise<void>"
|
|
@@ -6022,6 +6018,28 @@
|
|
|
6022
6018
|
"optional": false,
|
|
6023
6019
|
"required": false
|
|
6024
6020
|
},
|
|
6021
|
+
{
|
|
6022
|
+
"name": "required",
|
|
6023
|
+
"type": "boolean",
|
|
6024
|
+
"complexType": {
|
|
6025
|
+
"original": "boolean",
|
|
6026
|
+
"resolved": "boolean",
|
|
6027
|
+
"references": {}
|
|
6028
|
+
},
|
|
6029
|
+
"mutable": false,
|
|
6030
|
+
"attr": "required",
|
|
6031
|
+
"reflectToAttr": false,
|
|
6032
|
+
"docs": "If true, screen readers will announce it as a required field. This property\nworks only for accessibility purposes, it will not prevent the form from\nsubmitting if the value is invalid.",
|
|
6033
|
+
"docsTags": [],
|
|
6034
|
+
"default": "false",
|
|
6035
|
+
"values": [
|
|
6036
|
+
{
|
|
6037
|
+
"type": "boolean"
|
|
6038
|
+
}
|
|
6039
|
+
],
|
|
6040
|
+
"optional": false,
|
|
6041
|
+
"required": false
|
|
6042
|
+
},
|
|
6025
6043
|
{
|
|
6026
6044
|
"name": "value",
|
|
6027
6045
|
"type": "any",
|
|
@@ -17028,6 +17046,28 @@
|
|
|
17028
17046
|
"optional": true,
|
|
17029
17047
|
"required": false
|
|
17030
17048
|
},
|
|
17049
|
+
{
|
|
17050
|
+
"name": "expandToScroll",
|
|
17051
|
+
"type": "boolean",
|
|
17052
|
+
"complexType": {
|
|
17053
|
+
"original": "boolean",
|
|
17054
|
+
"resolved": "boolean",
|
|
17055
|
+
"references": {}
|
|
17056
|
+
},
|
|
17057
|
+
"mutable": false,
|
|
17058
|
+
"attr": "expand-to-scroll",
|
|
17059
|
+
"reflectToAttr": false,
|
|
17060
|
+
"docs": "Controls whether scrolling or dragging within the sheet modal expands\nit to a larger breakpoint. This only takes effect when `breakpoints`\nand `initialBreakpoint` are set.\n\nIf `true`, scrolling or dragging anywhere in the modal will first expand\nit to the next breakpoint. Once fully expanded, scrolling will affect the content.\nIf `false`, scrolling will always affect the content, and the modal will only expand\nwhen dragging the header or handle.",
|
|
17061
|
+
"docsTags": [],
|
|
17062
|
+
"default": "true",
|
|
17063
|
+
"values": [
|
|
17064
|
+
{
|
|
17065
|
+
"type": "boolean"
|
|
17066
|
+
}
|
|
17067
|
+
],
|
|
17068
|
+
"optional": false,
|
|
17069
|
+
"required": false
|
|
17070
|
+
},
|
|
17031
17071
|
{
|
|
17032
17072
|
"name": "focusTrap",
|
|
17033
17073
|
"type": "boolean",
|
|
@@ -22544,6 +22584,54 @@
|
|
|
22544
22584
|
"optional": true,
|
|
22545
22585
|
"required": false
|
|
22546
22586
|
},
|
|
22587
|
+
{
|
|
22588
|
+
"name": "errorText",
|
|
22589
|
+
"type": "string | undefined",
|
|
22590
|
+
"complexType": {
|
|
22591
|
+
"original": "string",
|
|
22592
|
+
"resolved": "string | undefined",
|
|
22593
|
+
"references": {}
|
|
22594
|
+
},
|
|
22595
|
+
"mutable": false,
|
|
22596
|
+
"attr": "error-text",
|
|
22597
|
+
"reflectToAttr": false,
|
|
22598
|
+
"docs": "The error text to display at the top of the radio group.",
|
|
22599
|
+
"docsTags": [],
|
|
22600
|
+
"values": [
|
|
22601
|
+
{
|
|
22602
|
+
"type": "string"
|
|
22603
|
+
},
|
|
22604
|
+
{
|
|
22605
|
+
"type": "undefined"
|
|
22606
|
+
}
|
|
22607
|
+
],
|
|
22608
|
+
"optional": true,
|
|
22609
|
+
"required": false
|
|
22610
|
+
},
|
|
22611
|
+
{
|
|
22612
|
+
"name": "helperText",
|
|
22613
|
+
"type": "string | undefined",
|
|
22614
|
+
"complexType": {
|
|
22615
|
+
"original": "string",
|
|
22616
|
+
"resolved": "string | undefined",
|
|
22617
|
+
"references": {}
|
|
22618
|
+
},
|
|
22619
|
+
"mutable": false,
|
|
22620
|
+
"attr": "helper-text",
|
|
22621
|
+
"reflectToAttr": false,
|
|
22622
|
+
"docs": "The helper text to display at the top of the radio group.",
|
|
22623
|
+
"docsTags": [],
|
|
22624
|
+
"values": [
|
|
22625
|
+
{
|
|
22626
|
+
"type": "string"
|
|
22627
|
+
},
|
|
22628
|
+
{
|
|
22629
|
+
"type": "undefined"
|
|
22630
|
+
}
|
|
22631
|
+
],
|
|
22632
|
+
"optional": true,
|
|
22633
|
+
"required": false
|
|
22634
|
+
},
|
|
22547
22635
|
{
|
|
22548
22636
|
"name": "name",
|
|
22549
22637
|
"type": "string",
|
|
@@ -27702,6 +27790,28 @@
|
|
|
27702
27790
|
"optional": true,
|
|
27703
27791
|
"required": false
|
|
27704
27792
|
},
|
|
27793
|
+
{
|
|
27794
|
+
"name": "required",
|
|
27795
|
+
"type": "boolean",
|
|
27796
|
+
"complexType": {
|
|
27797
|
+
"original": "boolean",
|
|
27798
|
+
"resolved": "boolean",
|
|
27799
|
+
"references": {}
|
|
27800
|
+
},
|
|
27801
|
+
"mutable": false,
|
|
27802
|
+
"attr": "required",
|
|
27803
|
+
"reflectToAttr": false,
|
|
27804
|
+
"docs": "If true, screen readers will announce it as a required field. This property\nworks only for accessibility purposes, it will not prevent the form from\nsubmitting if the value is invalid.",
|
|
27805
|
+
"docsTags": [],
|
|
27806
|
+
"default": "false",
|
|
27807
|
+
"values": [
|
|
27808
|
+
{
|
|
27809
|
+
"type": "boolean"
|
|
27810
|
+
}
|
|
27811
|
+
],
|
|
27812
|
+
"optional": false,
|
|
27813
|
+
"required": false
|
|
27814
|
+
},
|
|
27705
27815
|
{
|
|
27706
27816
|
"name": "selectedText",
|
|
27707
27817
|
"type": "null | string | undefined",
|
|
@@ -32663,6 +32773,28 @@
|
|
|
32663
32773
|
"optional": false,
|
|
32664
32774
|
"required": false
|
|
32665
32775
|
},
|
|
32776
|
+
{
|
|
32777
|
+
"name": "required",
|
|
32778
|
+
"type": "boolean",
|
|
32779
|
+
"complexType": {
|
|
32780
|
+
"original": "boolean",
|
|
32781
|
+
"resolved": "boolean",
|
|
32782
|
+
"references": {}
|
|
32783
|
+
},
|
|
32784
|
+
"mutable": false,
|
|
32785
|
+
"attr": "required",
|
|
32786
|
+
"reflectToAttr": false,
|
|
32787
|
+
"docs": "If true, screen readers will announce it as a required field. This property\nworks only for accessibility purposes, it will not prevent the form from\nsubmitting if the value is invalid.",
|
|
32788
|
+
"docsTags": [],
|
|
32789
|
+
"default": "false",
|
|
32790
|
+
"values": [
|
|
32791
|
+
{
|
|
32792
|
+
"type": "boolean"
|
|
32793
|
+
}
|
|
32794
|
+
],
|
|
32795
|
+
"optional": false,
|
|
32796
|
+
"required": false
|
|
32797
|
+
},
|
|
32666
32798
|
{
|
|
32667
32799
|
"name": "value",
|
|
32668
32800
|
"type": "null | string | undefined",
|
|
@@ -32949,6 +33081,18 @@
|
|
|
32949
33081
|
{
|
|
32950
33082
|
"name": "slot",
|
|
32951
33083
|
"text": "end - Content is placed to the right of the toolbar text in LTR, and to the left in RTL."
|
|
33084
|
+
},
|
|
33085
|
+
{
|
|
33086
|
+
"name": "part",
|
|
33087
|
+
"text": "background - The background of the toolbar, covering the entire area behind the toolbar content."
|
|
33088
|
+
},
|
|
33089
|
+
{
|
|
33090
|
+
"name": "part",
|
|
33091
|
+
"text": "container - The container that wraps all toolbar content, including the default slot and named slot content."
|
|
33092
|
+
},
|
|
33093
|
+
{
|
|
33094
|
+
"name": "part",
|
|
33095
|
+
"text": "content - The container for the default slot, wrapping content provided without a named slot."
|
|
32952
33096
|
}
|
|
32953
33097
|
],
|
|
32954
33098
|
"usage": {},
|
|
@@ -33206,7 +33350,20 @@
|
|
|
33206
33350
|
"docs": "Content is placed to the left of the toolbar text in LTR, and to the right in RTL."
|
|
33207
33351
|
}
|
|
33208
33352
|
],
|
|
33209
|
-
"parts": [
|
|
33353
|
+
"parts": [
|
|
33354
|
+
{
|
|
33355
|
+
"name": "background",
|
|
33356
|
+
"docs": "The background of the toolbar, covering the entire area behind the toolbar content."
|
|
33357
|
+
},
|
|
33358
|
+
{
|
|
33359
|
+
"name": "container",
|
|
33360
|
+
"docs": "The container that wraps all toolbar content, including the default slot and named slot content."
|
|
33361
|
+
},
|
|
33362
|
+
{
|
|
33363
|
+
"name": "content",
|
|
33364
|
+
"docs": "The container for the default slot, wrapping content provided without a named slot."
|
|
33365
|
+
}
|
|
33366
|
+
],
|
|
33210
33367
|
"dependents": [
|
|
33211
33368
|
"ion-select-modal"
|
|
33212
33369
|
],
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
|
-
import { c as componentOnReady } from './helpers-
|
|
4
|
+
import { c as componentOnReady } from './helpers-da915de8.js';
|
|
5
5
|
|
|
6
6
|
// TODO(FW-2832): types
|
|
7
7
|
const attachComponent = async (delegate, container, component, cssClasses, componentProps, inline) => {
|
|
@@ -358,15 +358,5 @@ const shallowEqualStringMap = (map1, map2) => {
|
|
|
358
358
|
}
|
|
359
359
|
return true;
|
|
360
360
|
};
|
|
361
|
-
const getNextSiblingOfType = (element) => {
|
|
362
|
-
let sibling = element.nextSibling;
|
|
363
|
-
while (sibling) {
|
|
364
|
-
if (sibling.nodeType === Node.ELEMENT_NODE && sibling !== null) {
|
|
365
|
-
return sibling;
|
|
366
|
-
}
|
|
367
|
-
sibling = sibling.nextSibling;
|
|
368
|
-
}
|
|
369
|
-
return null;
|
|
370
|
-
};
|
|
371
361
|
|
|
372
|
-
export { addEventListener as a, removeEventListener as b, componentOnReady as c, renderHiddenInput as d, debounceEvent as e, focusVisibleElement as f, getElementRoot as g, inheritAttributes as h, inheritAriaAttributes as i, clamp as j, hasLazyBuild as k, hasShadowDom as l, assert as m,
|
|
362
|
+
export { addEventListener as a, removeEventListener as b, componentOnReady as c, renderHiddenInput as d, debounceEvent as e, focusVisibleElement as f, getElementRoot as g, inheritAttributes as h, inheritAriaAttributes as i, clamp as j, hasLazyBuild as k, hasShadowDom as l, assert as m, isEndSide as n, debounce as o, pointerCoord as p, raf as r, shallowEqualStringMap as s, transitionEndAsync as t };
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import { c as config } from './ionic-global-c81d82ab.js';
|
|
5
5
|
import { w as writeTask, B as Build } from './index-28849c61.js';
|
|
6
|
-
import { p as printIonWarning } from './index-
|
|
7
|
-
import { r as raf } from './helpers-
|
|
6
|
+
import { p as printIonWarning } from './index-6ad967f3.js';
|
|
7
|
+
import { r as raf } from './helpers-da915de8.js';
|
|
8
8
|
|
|
9
9
|
const LIFECYCLE_WILL_ENTER = 'ionViewWillEnter';
|
|
10
10
|
const LIFECYCLE_DID_ENTER = 'ionViewDidEnter';
|
|
@@ -120,8 +120,8 @@ const createFocusController = () => {
|
|
|
120
120
|
};
|
|
121
121
|
const LAST_FOCUS = 'ion-last-focus';
|
|
122
122
|
|
|
123
|
-
const iosTransitionAnimation = () => import('./ios.transition-
|
|
124
|
-
const mdTransitionAnimation = () => import('./md.transition-
|
|
123
|
+
const iosTransitionAnimation = () => import('./ios.transition-b1da3753.js');
|
|
124
|
+
const mdTransitionAnimation = () => import('./md.transition-571b3859.js');
|
|
125
125
|
const focusController = createFocusController();
|
|
126
126
|
// TODO(FW-2832): types
|
|
127
127
|
const transition = (opts) => {
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
|
+
import { c as config } from './ionic-global-c81d82ab.js';
|
|
5
|
+
|
|
4
6
|
/**
|
|
5
7
|
* Logs a warning to the console with an Ionic prefix
|
|
6
8
|
* to indicate the library that is warning the developer.
|
|
@@ -8,9 +10,12 @@
|
|
|
8
10
|
* @param message - The string message to be logged to the console.
|
|
9
11
|
*/
|
|
10
12
|
const printIonWarning = (message, ...params) => {
|
|
11
|
-
|
|
13
|
+
const logLevel = config.get('logLevel', "WARN" /* LogLevel.WARN */);
|
|
14
|
+
if (["WARN" /* LogLevel.WARN */].includes(logLevel)) {
|
|
15
|
+
return console.warn(`[Ionic Warning]: ${message}`, ...params);
|
|
16
|
+
}
|
|
12
17
|
};
|
|
13
|
-
|
|
18
|
+
/**
|
|
14
19
|
* Logs an error to the console with an Ionic prefix
|
|
15
20
|
* to indicate the library that is warning the developer.
|
|
16
21
|
*
|
|
@@ -18,7 +23,10 @@ const printIonWarning = (message, ...params) => {
|
|
|
18
23
|
* @param params - Additional arguments to supply to the console.error.
|
|
19
24
|
*/
|
|
20
25
|
const printIonError = (message, ...params) => {
|
|
21
|
-
|
|
26
|
+
const logLevel = config.get('logLevel', "ERROR" /* LogLevel.ERROR */);
|
|
27
|
+
if (["ERROR" /* LogLevel.ERROR */, "WARN" /* LogLevel.WARN */].includes(logLevel)) {
|
|
28
|
+
return console.error(`[Ionic Error]: ${message}`, ...params);
|
|
29
|
+
}
|
|
22
30
|
};
|
|
23
31
|
/**
|
|
24
32
|
* Prints an error informing developers that an implementation requires an element to be used
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
4
|
import { d as doc } from './index-a5d50daf.js';
|
|
5
|
-
import {
|
|
5
|
+
import { p as pointerCoord } from './helpers-da915de8.js';
|
|
6
6
|
|
|
7
7
|
const startTapClick = (config) => {
|
|
8
8
|
if (doc === undefined) {
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import { d as doc } from './index-a5d50daf.js';
|
|
5
5
|
import { MENU_BACK_BUTTON_PRIORITY } from './hardware-back-button-06ef3c3e.js';
|
|
6
|
-
import { p as printIonWarning } from './index-
|
|
7
|
-
import { c as componentOnReady } from './helpers-
|
|
6
|
+
import { p as printIonWarning } from './index-6ad967f3.js';
|
|
7
|
+
import { c as componentOnReady } from './helpers-da915de8.js';
|
|
8
8
|
import { b as getIonMode } from './ionic-global-c81d82ab.js';
|
|
9
9
|
import { c as createAnimation } from './animation-eab5a4ca.js';
|
|
10
10
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
|
-
import { c as componentOnReady } from './helpers-
|
|
5
|
-
import { b as printRequiredElementError } from './index-
|
|
4
|
+
import { c as componentOnReady } from './helpers-da915de8.js';
|
|
5
|
+
import { b as printRequiredElementError } from './index-6ad967f3.js';
|
|
6
6
|
|
|
7
7
|
const ION_CONTENT_TAG_NAME = 'ION-CONTENT';
|
|
8
8
|
const ION_CONTENT_ELEMENT_SELECTOR = 'ion-content';
|
package/dist/esm/index.js
CHANGED
|
@@ -2,23 +2,23 @@
|
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
4
|
export { c as createAnimation } from './animation-eab5a4ca.js';
|
|
5
|
-
export { a as LIFECYCLE_DID_ENTER, c as LIFECYCLE_DID_LEAVE, L as LIFECYCLE_WILL_ENTER, b as LIFECYCLE_WILL_LEAVE, d as LIFECYCLE_WILL_UNLOAD, g as getIonPageElement } from './index-
|
|
6
|
-
export { iosTransitionAnimation } from './ios.transition-
|
|
7
|
-
export { mdTransitionAnimation } from './md.transition-
|
|
5
|
+
export { a as LIFECYCLE_DID_ENTER, c as LIFECYCLE_DID_LEAVE, L as LIFECYCLE_WILL_ENTER, b as LIFECYCLE_WILL_LEAVE, d as LIFECYCLE_WILL_UNLOAD, g as getIonPageElement } from './index-2f7fde3d.js';
|
|
6
|
+
export { iosTransitionAnimation } from './ios.transition-b1da3753.js';
|
|
7
|
+
export { mdTransitionAnimation } from './md.transition-571b3859.js';
|
|
8
8
|
export { g as getTimeGivenProgression } from './cubic-bezier-fe2083dc.js';
|
|
9
9
|
export { createGesture } from './index-39782642.js';
|
|
10
10
|
export { g as getPlatforms, i as initialize, a as isPlatform } from './ionic-global-c81d82ab.js';
|
|
11
|
-
export { c as componentOnReady } from './helpers-
|
|
11
|
+
export { c as componentOnReady } from './helpers-da915de8.js';
|
|
12
12
|
export { I as IonicSafeString, g as getMode, s as setupConfig } from './config-49c88215.js';
|
|
13
13
|
export { o as openURL } from './theme-01f3f29c.js';
|
|
14
|
-
export { m as menuController } from './index-
|
|
15
|
-
export { b as actionSheetController, a as alertController, l as loadingController, m as modalController, p as pickerController, c as popoverController, t as toastController } from './overlays-
|
|
14
|
+
export { m as menuController } from './index-cb21eccb.js';
|
|
15
|
+
export { b as actionSheetController, a as alertController, l as loadingController, m as modalController, p as pickerController, c as popoverController, t as toastController } from './overlays-5deab4de.js';
|
|
16
16
|
import './index-a5d50daf.js';
|
|
17
17
|
import './index-28849c61.js';
|
|
18
|
-
import './index-
|
|
18
|
+
import './index-6ad967f3.js';
|
|
19
19
|
import './gesture-controller-314a54f6.js';
|
|
20
20
|
import './hardware-back-button-06ef3c3e.js';
|
|
21
|
-
import './framework-delegate-
|
|
21
|
+
import './framework-delegate-63d1a679.js';
|
|
22
22
|
|
|
23
23
|
const IonicSlides = (opts) => {
|
|
24
24
|
const { swiper, extendParams } = opts;
|
|
@@ -2,10 +2,12 @@
|
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
4
|
import { w as win, d as doc } from './index-a5d50daf.js';
|
|
5
|
-
import { g as getScrollElement, c as scrollByPoint, f as findClosestIonContent } from './index-
|
|
6
|
-
import { a as addEventListener, b as removeEventListener, r as raf, c as componentOnReady } from './helpers-
|
|
5
|
+
import { g as getScrollElement, c as scrollByPoint, f as findClosestIonContent } from './index-efb8ecdf.js';
|
|
6
|
+
import { a as addEventListener, b as removeEventListener, r as raf, c as componentOnReady } from './helpers-da915de8.js';
|
|
7
7
|
import { a as KeyboardResize, K as Keyboard } from './keyboard-73175e24.js';
|
|
8
|
-
import './index-
|
|
8
|
+
import './index-6ad967f3.js';
|
|
9
|
+
import './ionic-global-c81d82ab.js';
|
|
10
|
+
import './index-28849c61.js';
|
|
9
11
|
import './capacitor-59395cbd.js';
|
|
10
12
|
|
|
11
13
|
const cloneMap = new WeakMap();
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
4
|
import { w as win } from './index-a5d50daf.js';
|
|
5
|
-
import { r as raf } from './helpers-
|
|
6
|
-
import { a as printIonError } from './index-
|
|
5
|
+
import { r as raf } from './helpers-da915de8.js';
|
|
6
|
+
import { a as printIonError } from './index-6ad967f3.js';
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* Used to update a scoped component that uses emulated slots. This fires when
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
4
|
import { r as registerInstance, h, f as Host, i as getElement, d as createEvent } from './index-28849c61.js';
|
|
5
|
-
import { r as raf, t as transitionEndAsync, a as addEventListener, b as removeEventListener, g as getElementRoot } from './helpers-
|
|
5
|
+
import { r as raf, t as transitionEndAsync, a as addEventListener, b as removeEventListener, g as getElementRoot } from './helpers-da915de8.js';
|
|
6
6
|
import { l as chevronDown } from './index-e2cf2ceb.js';
|
|
7
7
|
import { c as config, b as getIonMode } from './ionic-global-c81d82ab.js';
|
|
8
|
-
import { p as printIonWarning } from './index-
|
|
8
|
+
import { p as printIonWarning } from './index-6ad967f3.js';
|
|
9
9
|
|
|
10
10
|
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}";
|
|
11
11
|
const IonAccordionIosStyle0 = accordionIosCss;
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import { r as registerInstance, d as createEvent, e as readTask, h, f as Host, i as getElement } from './index-28849c61.js';
|
|
5
5
|
import { c as createButtonActiveGesture } from './button-active-f6503382.js';
|
|
6
|
-
import { r as raf } from './helpers-
|
|
6
|
+
import { r as raf } from './helpers-da915de8.js';
|
|
7
7
|
import { c as createLockController } from './lock-controller-316928be.js';
|
|
8
|
-
import { d as createDelegateController, e as createTriggerController, B as BACKDROP, i as isCancel, f as present, g as dismiss, h as eventMethod, s as safeCall, j as prepareOverlay, k as setOverlayId } from './overlays-
|
|
8
|
+
import { d as createDelegateController, e as createTriggerController, B as BACKDROP, i as isCancel, f as present, g as dismiss, h as eventMethod, s as safeCall, j as prepareOverlay, k as setOverlayId } from './overlays-5deab4de.js';
|
|
9
9
|
import { g as getClassMap } from './theme-01f3f29c.js';
|
|
10
10
|
import { b as getIonMode } from './ionic-global-c81d82ab.js';
|
|
11
11
|
import { c as createAnimation } from './animation-eab5a4ca.js';
|
|
@@ -15,8 +15,8 @@ import './index-a5d50daf.js';
|
|
|
15
15
|
import './index-39782642.js';
|
|
16
16
|
import './gesture-controller-314a54f6.js';
|
|
17
17
|
import './hardware-back-button-06ef3c3e.js';
|
|
18
|
-
import './framework-delegate-
|
|
19
|
-
import './index-
|
|
18
|
+
import './framework-delegate-63d1a679.js';
|
|
19
|
+
import './index-6ad967f3.js';
|
|
20
20
|
|
|
21
21
|
/**
|
|
22
22
|
* iOS Action Sheet Enter Animation
|
|
@@ -4,9 +4,9 @@
|
|
|
4
4
|
import { r as registerInstance, d as createEvent, j as forceUpdate, h, f as Host, i as getElement } from './index-28849c61.js';
|
|
5
5
|
import { E as ENABLE_HTML_CONTENT_DEFAULT, a as sanitizeDOMString } from './config-49c88215.js';
|
|
6
6
|
import { c as createButtonActiveGesture } from './button-active-f6503382.js';
|
|
7
|
-
import { r as raf } from './helpers-
|
|
7
|
+
import { r as raf } from './helpers-da915de8.js';
|
|
8
8
|
import { c as createLockController } from './lock-controller-316928be.js';
|
|
9
|
-
import { d as createDelegateController, e as createTriggerController, B as BACKDROP, i as isCancel, j as prepareOverlay, k as setOverlayId, f as present, g as dismiss, h as eventMethod, s as safeCall } from './overlays-
|
|
9
|
+
import { d as createDelegateController, e as createTriggerController, B as BACKDROP, i as isCancel, j as prepareOverlay, k as setOverlayId, f as present, g as dismiss, h as eventMethod, s as safeCall } from './overlays-5deab4de.js';
|
|
10
10
|
import { g as getClassMap } from './theme-01f3f29c.js';
|
|
11
11
|
import { c as config, b as getIonMode } from './ionic-global-c81d82ab.js';
|
|
12
12
|
import { c as createAnimation } from './animation-eab5a4ca.js';
|
|
@@ -16,8 +16,8 @@ import './index-a5d50daf.js';
|
|
|
16
16
|
import './index-39782642.js';
|
|
17
17
|
import './gesture-controller-314a54f6.js';
|
|
18
18
|
import './hardware-back-button-06ef3c3e.js';
|
|
19
|
-
import './framework-delegate-
|
|
20
|
-
import './index-
|
|
19
|
+
import './framework-delegate-63d1a679.js';
|
|
20
|
+
import './index-6ad967f3.js';
|
|
21
21
|
|
|
22
22
|
/**
|
|
23
23
|
* iOS Alert Enter Animation
|
|
@@ -172,7 +172,6 @@ const Alert = class {
|
|
|
172
172
|
}
|
|
173
173
|
}
|
|
174
174
|
onKeydown(ev) {
|
|
175
|
-
var _a;
|
|
176
175
|
const inputTypes = new Set(this.processedInputs.map((i) => i.type));
|
|
177
176
|
/**
|
|
178
177
|
* Based on keyboard navigation requirements, the
|
|
@@ -182,17 +181,6 @@ const Alert = class {
|
|
|
182
181
|
ev.preventDefault();
|
|
183
182
|
return;
|
|
184
183
|
}
|
|
185
|
-
/**
|
|
186
|
-
* Ensure when alert container is being focused, and the user presses the tab + shift keys, the focus will be set to the last alert button.
|
|
187
|
-
*/
|
|
188
|
-
if (ev.target.classList.contains('alert-wrapper')) {
|
|
189
|
-
if (ev.key === 'Tab' && ev.shiftKey) {
|
|
190
|
-
ev.preventDefault();
|
|
191
|
-
const lastChildBtn = (_a = this.wrapperEl) === null || _a === void 0 ? void 0 : _a.querySelector('.alert-button:last-child');
|
|
192
|
-
lastChildBtn.focus();
|
|
193
|
-
return;
|
|
194
|
-
}
|
|
195
|
-
}
|
|
196
184
|
// The only inputs we want to navigate between using arrow keys are the radios
|
|
197
185
|
// ignore the keydown event if it is not on a radio button
|
|
198
186
|
if (!inputTypes.has('radio') ||
|
|
@@ -324,16 +312,7 @@ const Alert = class {
|
|
|
324
312
|
async present() {
|
|
325
313
|
const unlock = await this.lockController.lock();
|
|
326
314
|
await this.delegateController.attachViewToDom();
|
|
327
|
-
await present(this, 'alertEnter', iosEnterAnimation, mdEnterAnimation)
|
|
328
|
-
var _a, _b;
|
|
329
|
-
if (this.buttons.length === 1 && this.inputs.length === 0) {
|
|
330
|
-
const queryBtn = (_a = this.wrapperEl) === null || _a === void 0 ? void 0 : _a.querySelector('.alert-button');
|
|
331
|
-
queryBtn.focus();
|
|
332
|
-
}
|
|
333
|
-
else {
|
|
334
|
-
(_b = this.wrapperEl) === null || _b === void 0 ? void 0 : _b.focus();
|
|
335
|
-
}
|
|
336
|
-
});
|
|
315
|
+
await present(this, 'alertEnter', iosEnterAnimation, mdEnterAnimation);
|
|
337
316
|
unlock();
|
|
338
317
|
}
|
|
339
318
|
/**
|
|
@@ -504,15 +483,22 @@ const Alert = class {
|
|
|
504
483
|
return (h("div", { id: msgId, class: "alert-message" }, message));
|
|
505
484
|
}
|
|
506
485
|
render() {
|
|
507
|
-
const { overlayIndex, header, subHeader, htmlAttributes } = this;
|
|
486
|
+
const { overlayIndex, header, subHeader, message, htmlAttributes } = this;
|
|
508
487
|
const mode = getIonMode(this);
|
|
509
488
|
const hdrId = `alert-${overlayIndex}-hdr`;
|
|
510
|
-
const msgId = `alert-${overlayIndex}-msg`;
|
|
511
489
|
const subHdrId = `alert-${overlayIndex}-sub-hdr`;
|
|
490
|
+
const msgId = `alert-${overlayIndex}-msg`;
|
|
512
491
|
const role = this.inputs.length > 0 || this.buttons.length > 0 ? 'alertdialog' : 'alert';
|
|
513
|
-
|
|
492
|
+
/**
|
|
493
|
+
* Use both the header and subHeader ids if they are defined.
|
|
494
|
+
* If only the header is defined, use the header id.
|
|
495
|
+
* If only the subHeader is defined, use the subHeader id.
|
|
496
|
+
* If neither are defined, do not set aria-labelledby.
|
|
497
|
+
*/
|
|
498
|
+
const ariaLabelledBy = header && subHeader ? `${hdrId} ${subHdrId}` : header ? hdrId : subHeader ? subHdrId : null;
|
|
499
|
+
return (h(Host, Object.assign({ key: 'ad7e14b4f92a09387aa80abfb718a755e4e889d6', role: role, "aria-modal": "true", "aria-labelledby": ariaLabelledBy, "aria-describedby": message !== undefined ? msgId : null, tabindex: "-1" }, htmlAttributes, { style: {
|
|
514
500
|
zIndex: `${20000 + overlayIndex}`,
|
|
515
|
-
}, class: Object.assign(Object.assign({}, getClassMap(this.cssClass)), { [mode]: true, 'overlay-hidden': true, 'alert-translucent': this.translucent }), onIonAlertWillDismiss: this.dispatchCancelHandler, onIonBackdropTap: this.onBackdropTap }, h("ion-backdrop", { key: '
|
|
501
|
+
}, class: Object.assign(Object.assign({}, getClassMap(this.cssClass)), { [mode]: true, 'overlay-hidden': true, 'alert-translucent': this.translucent }), onIonAlertWillDismiss: this.dispatchCancelHandler, onIonBackdropTap: this.onBackdropTap }), h("ion-backdrop", { key: '4b4693dca3c910aa9a61c4d90295d785ec6cbe3d', tappable: this.backdropDismiss }), h("div", { key: '64fd19b8f1d8246dcc869053f858bc33506def4b', tabindex: "0", "aria-hidden": "true" }), h("div", { key: 'e61ba6f339c3a02cecd37d8b641ee5043018eb29', class: "alert-wrapper ion-overlay-wrapper", ref: (el) => (this.wrapperEl = el) }, h("div", { key: '044e00667ffcb74aa2c5e0d0b42669c4004dbb4f', class: "alert-head" }, header && (h("h2", { key: '1aaae8d58722c4cf5debb1f00415ab7ed0a52bbd', id: hdrId, class: "alert-title" }, header)), subHeader && !header && (h("h2", { key: '9c9854dc3b0ad40f1861a49b76d5636afcae9c74', id: subHdrId, class: "alert-sub-title" }, subHeader)), subHeader && header && (h("h3", { key: '19aaca9912f77cde4ae8079be210eda697ed8de1', id: subHdrId, class: "alert-sub-title" }, subHeader))), this.renderAlertMessage(msgId), this.renderAlertInputs(), this.renderAlertButtons()), h("div", { key: 'a85d27c516f7cdbc85b19f40d2f0bd865490b6a7', tabindex: "0", "aria-hidden": "true" })));
|
|
516
502
|
}
|
|
517
503
|
get el() { return getElement(this); }
|
|
518
504
|
static get watchers() { return {
|