@ionic/core 8.4.4-dev.11740685209.1c1ac2bf → 8.4.4-dev.11741027468.1f4941f2
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/helpers.js +11 -1
- 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 +40 -9
- 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 +39 -12
- 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 +3 -3
- package/components/label.js +2 -2
- package/components/list-header.js +2 -2
- package/components/modal.js +4 -4
- 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 +2 -39
- 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/dist/cjs/{framework-delegate-55f5683a.js → framework-delegate-05579976.js} +1 -1
- package/dist/cjs/{helpers-afaa9001.js → helpers-4be3f90d.js} +11 -0
- package/dist/cjs/{index-3652c918.js → index-0ff61d0b.js} +1 -1
- package/dist/cjs/{index-e975c92b.js → index-26bb7e42.js} +3 -3
- package/dist/cjs/{index-0d762bba.js → index-6770fc00.js} +1 -1
- package/dist/cjs/{index-9509ecad.js → index-ad7a712e.js} +1 -1
- package/dist/cjs/index.cjs.js +7 -7
- package/dist/cjs/{input-shims-cd05268a.js → input-shims-fd997b01.js} +2 -2
- package/dist/cjs/{input.utils-ffb2f81b.js → input.utils-c15a1814.js} +1 -1
- package/dist/cjs/ion-accordion_2.cjs.entry.js +1 -1
- package/dist/cjs/ion-action-sheet.cjs.entry.js +3 -3
- package/dist/cjs/ion-alert.cjs.entry.js +3 -3
- package/dist/cjs/ion-app_8.cjs.entry.js +13 -13
- 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 +1 -1
- package/dist/cjs/ion-card_5.cjs.entry.js +1 -1
- package/dist/cjs/ion-checkbox.cjs.entry.js +1 -1
- package/dist/cjs/ion-col_3.cjs.entry.js +1 -1
- package/dist/cjs/ion-datetime-button.cjs.entry.js +1 -1
- package/dist/cjs/ion-datetime_3.cjs.entry.js +7 -7
- 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 +2 -2
- package/dist/cjs/ion-input.cjs.entry.js +3 -3
- package/dist/cjs/ion-item-option_3.cjs.entry.js +6 -6
- package/dist/cjs/ion-item_8.cjs.entry.js +12 -12
- package/dist/cjs/ion-loading.cjs.entry.js +5 -5
- package/dist/cjs/ion-menu_3.cjs.entry.js +10 -10
- package/dist/cjs/ion-modal.cjs.entry.js +9 -9
- package/dist/cjs/ion-nav_2.cjs.entry.js +6 -6
- 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 +6 -6
- package/dist/cjs/ion-progress-bar.cjs.entry.js +2 -2
- package/dist/cjs/ion-radio_2.cjs.entry.js +5 -40
- package/dist/cjs/ion-range.cjs.entry.js +5 -5
- package/dist/cjs/ion-refresher_2.cjs.entry.js +4 -4
- package/dist/cjs/ion-reorder_2.cjs.entry.js +4 -4
- 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 +42 -11
- package/dist/cjs/ion-select-modal.cjs.entry.js +4 -4
- package/dist/cjs/ion-select_3.cjs.entry.js +44 -17
- 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 +5 -5
- package/dist/cjs/ion-toast.cjs.entry.js +5 -5
- package/dist/cjs/ion-toggle.cjs.entry.js +4 -4
- package/dist/cjs/ionic.cjs.js +1 -1
- package/dist/cjs/{ios.transition-0e664e88.js → ios.transition-a4f35c55.js} +2 -2
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{md.transition-2e8aef2c.js → md.transition-cdf904e6.js} +2 -2
- package/dist/cjs/{notch-controller-d69150f5.js → notch-controller-a0c464d1.js} +1 -1
- package/dist/cjs/{overlays-65fdaff6.js → overlays-86695cf1.js} +2 -2
- package/dist/cjs/{status-tap-d74f1429.js → status-tap-1a2485c1.js} +2 -2
- package/dist/cjs/{swipe-back-0303a5e4.js → swipe-back-47a52b83.js} +1 -1
- 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/modal.js +4 -4
- 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.js +1 -72
- 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 +40 -9
- 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 +38 -11
- 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 +3 -3
- package/dist/collection/components/toolbar/toolbar.js +2 -2
- package/dist/collection/utils/helpers.js +10 -0
- package/dist/docs.json +1 -49
- package/dist/esm/{framework-delegate-63d1a679.js → framework-delegate-f683816e.js} +1 -1
- package/dist/esm/{helpers-da915de8.js → helpers-9b49d7d2.js} +11 -1
- package/dist/esm/{index-79b30591.js → index-5a0f5fd0.js} +1 -1
- package/dist/esm/{index-2f7fde3d.js → index-6a5baab0.js} +3 -3
- package/dist/esm/{index-cb21eccb.js → index-7105cd59.js} +1 -1
- package/dist/esm/{index-efb8ecdf.js → index-dd0f7395.js} +1 -1
- package/dist/esm/index.js +7 -7
- package/dist/esm/{input-shims-2fd7c6ef.js → input-shims-dff819a9.js} +2 -2
- package/dist/esm/{input.utils-961c9f17.js → input.utils-2f1029cf.js} +1 -1
- package/dist/esm/ion-accordion_2.entry.js +1 -1
- package/dist/esm/ion-action-sheet.entry.js +3 -3
- package/dist/esm/ion-alert.entry.js +3 -3
- package/dist/esm/ion-app_8.entry.js +13 -13
- 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 +1 -1
- package/dist/esm/ion-card_5.entry.js +1 -1
- package/dist/esm/ion-checkbox.entry.js +1 -1
- package/dist/esm/ion-col_3.entry.js +1 -1
- package/dist/esm/ion-datetime-button.entry.js +1 -1
- package/dist/esm/ion-datetime_3.entry.js +7 -7
- 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 +2 -2
- package/dist/esm/ion-input.entry.js +3 -3
- package/dist/esm/ion-item-option_3.entry.js +6 -6
- package/dist/esm/ion-item_8.entry.js +12 -12
- package/dist/esm/ion-loading.entry.js +5 -5
- package/dist/esm/ion-menu_3.entry.js +10 -10
- package/dist/esm/ion-modal.entry.js +9 -9
- package/dist/esm/ion-nav_2.entry.js +6 -6
- 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 +6 -6
- package/dist/esm/ion-progress-bar.entry.js +2 -2
- package/dist/esm/ion-radio_2.entry.js +5 -40
- package/dist/esm/ion-range.entry.js +5 -5
- package/dist/esm/ion-refresher_2.entry.js +4 -4
- package/dist/esm/ion-reorder_2.entry.js +4 -4
- 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 +42 -11
- package/dist/esm/ion-select-modal.entry.js +4 -4
- package/dist/esm/ion-select_3.entry.js +44 -17
- 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 +5 -5
- package/dist/esm/ion-toast.entry.js +5 -5
- package/dist/esm/ion-toggle.entry.js +4 -4
- package/dist/esm/ionic.js +1 -1
- package/dist/esm/{ios.transition-b1da3753.js → ios.transition-314468a2.js} +2 -2
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{md.transition-571b3859.js → md.transition-a560e0e2.js} +2 -2
- package/dist/esm/{notch-controller-55b09e11.js → notch-controller-3dc61260.js} +1 -1
- package/dist/esm/{overlays-5deab4de.js → overlays-9a81f230.js} +2 -2
- package/dist/esm/{status-tap-79eac0ac.js → status-tap-d07dbc82.js} +2 -2
- package/dist/esm/{swipe-back-e5394307.js → swipe-back-23ee7ab1.js} +1 -1
- package/dist/esm-es5/{framework-delegate-63d1a679.js → framework-delegate-f683816e.js} +1 -1
- package/dist/esm-es5/{helpers-da915de8.js → helpers-9b49d7d2.js} +1 -1
- package/dist/esm-es5/{index-79b30591.js → index-5a0f5fd0.js} +1 -1
- package/dist/esm-es5/{index-2f7fde3d.js → index-6a5baab0.js} +1 -1
- package/dist/esm-es5/{index-cb21eccb.js → index-7105cd59.js} +1 -1
- package/dist/esm-es5/{index-efb8ecdf.js → index-dd0f7395.js} +1 -1
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/{input-shims-2fd7c6ef.js → input-shims-dff819a9.js} +1 -1
- package/dist/esm-es5/{input.utils-961c9f17.js → input.utils-2f1029cf.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.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-b1da3753.js → ios.transition-314468a2.js} +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/md.transition-a560e0e2.js +4 -0
- package/dist/esm-es5/{notch-controller-55b09e11.js → notch-controller-3dc61260.js} +1 -1
- package/dist/esm-es5/{overlays-5deab4de.js → overlays-9a81f230.js} +1 -1
- package/dist/esm-es5/{status-tap-79eac0ac.js → status-tap-d07dbc82.js} +1 -1
- package/dist/esm-es5/{swipe-back-e5394307.js → swipe-back-23ee7ab1.js} +1 -1
- package/dist/html.html-data.json +0 -8
- package/dist/ionic/index.esm.js +1 -1
- package/dist/ionic/ionic.esm.js +1 -1
- package/dist/ionic/{p-6f0f433c.entry.js → p-02e23f26.entry.js} +1 -1
- package/dist/ionic/{p-797204e3.entry.js → p-037fc3f3.entry.js} +1 -1
- package/dist/ionic/{p-b3c60433.system.js → p-058e61eb.system.js} +1 -1
- package/dist/ionic/{p-1fdf3d2e.system.entry.js → p-0bfffa34.system.entry.js} +1 -1
- package/dist/ionic/{p-7ed1657c.system.entry.js → p-0eb2553a.system.entry.js} +1 -1
- package/dist/ionic/{p-a2cc2247.system.entry.js → p-10327ad2.system.entry.js} +1 -1
- package/dist/ionic/p-14be4015.entry.js +4 -0
- package/dist/ionic/{p-5a064906.entry.js → p-155c2bb0.entry.js} +1 -1
- package/dist/ionic/{p-a8f2c254.entry.js → p-155f4d90.entry.js} +1 -1
- package/dist/ionic/{p-2f43663c.system.entry.js → p-16799667.system.entry.js} +1 -1
- package/dist/ionic/p-16bfb979.system.entry.js +4 -0
- package/dist/ionic/{p-0445f081.system.entry.js → p-179bf9d1.system.entry.js} +1 -1
- package/dist/ionic/{p-2346ab53.system.entry.js → p-18e101b7.system.entry.js} +1 -1
- package/dist/ionic/p-1f405274.js +4 -0
- package/dist/ionic/p-21227121.js +4 -0
- package/dist/ionic/{p-7513b0c4.js → p-22149a4f.js} +1 -1
- package/dist/ionic/{p-9659caca.system.entry.js → p-2507278c.system.entry.js} +1 -1
- package/dist/ionic/{p-4fb8b6f8.system.entry.js → p-2515cb4d.system.entry.js} +1 -1
- package/dist/ionic/{p-959886ca.entry.js → p-265939f0.entry.js} +1 -1
- package/dist/ionic/{p-c078a25d.system.entry.js → p-2abae1cc.system.entry.js} +1 -1
- package/dist/ionic/{p-34b11c24.js → p-2bc73fb5.js} +1 -1
- package/dist/ionic/p-2c9eb774.system.js +4 -0
- package/dist/ionic/{p-308d9b4c.entry.js → p-2cbe5399.entry.js} +1 -1
- package/dist/ionic/{p-08f8804f.system.entry.js → p-2ef3c7ee.system.entry.js} +1 -1
- package/dist/ionic/{p-6270042b.system.entry.js → p-31a6efce.system.entry.js} +1 -1
- package/dist/ionic/p-322c5fb4.system.js +1 -1
- package/dist/ionic/{p-eb027b33.entry.js → p-34479cfb.entry.js} +1 -1
- package/dist/ionic/p-346b2baf.js +4 -0
- package/dist/ionic/{p-b1eb86fd.entry.js → p-36c448fe.entry.js} +1 -1
- package/dist/ionic/{p-1ab13b2b.js → p-39dd4f62.js} +1 -1
- package/dist/ionic/p-3e99e3e0.entry.js +4 -0
- package/dist/ionic/{p-2034ff3e.entry.js → p-41780810.entry.js} +1 -1
- package/dist/ionic/{p-468b7fe5.system.entry.js → p-424eb140.system.entry.js} +1 -1
- package/dist/ionic/{p-58fff30e.entry.js → p-42c9deb1.entry.js} +1 -1
- package/dist/ionic/{p-a15ddedb.system.js → p-4452a8ac.system.js} +1 -1
- package/dist/ionic/{p-933727f9.system.entry.js → p-484d855b.system.entry.js} +2 -2
- package/dist/ionic/p-49a0e74c.entry.js +4 -0
- package/dist/ionic/{p-52d7a191.entry.js → p-4ad78edc.entry.js} +1 -1
- package/dist/ionic/{p-28706c6f.js → p-4d3a5f86.js} +1 -1
- package/dist/ionic/{p-71c66f13.system.entry.js → p-4d413973.system.entry.js} +1 -1
- package/dist/ionic/{p-d4c9f8f6.system.entry.js → p-5010643d.system.entry.js} +1 -1
- package/dist/ionic/{p-19ea7bff.system.js → p-5126cf1e.system.js} +1 -1
- package/dist/ionic/p-52245809.js +4 -0
- package/dist/ionic/p-56da53ad.system.entry.js +4 -0
- package/dist/ionic/{p-a88dec0d.system.js → p-578efda4.system.js} +1 -1
- package/dist/ionic/{p-fd257e86.system.entry.js → p-5882bffa.system.entry.js} +1 -1
- package/dist/ionic/{p-571f7efd.entry.js → p-5b932840.entry.js} +1 -1
- package/dist/ionic/{p-a3db8ee3.js → p-5c9324c6.js} +1 -1
- package/dist/ionic/{p-766477e0.entry.js → p-5fe8b767.entry.js} +1 -1
- package/dist/ionic/{p-59a63a7f.entry.js → p-6190d0d6.entry.js} +1 -1
- package/dist/ionic/{p-f200c0f2.entry.js → p-62af944c.entry.js} +1 -1
- package/dist/ionic/{p-14350389.system.entry.js → p-63c09585.system.entry.js} +2 -2
- package/dist/ionic/{p-e1ebcbb2.system.entry.js → p-65346408.system.entry.js} +1 -1
- package/dist/ionic/{p-a4a2420e.system.entry.js → p-655723eb.system.entry.js} +1 -1
- package/dist/ionic/{p-48d2c8e3.entry.js → p-6d32975a.entry.js} +1 -1
- package/dist/ionic/{p-120fb79a.entry.js → p-70af0afb.entry.js} +1 -1
- package/dist/ionic/{p-e3e4ac8f.system.entry.js → p-70ccc275.system.entry.js} +2 -2
- package/dist/ionic/{p-6c95736e.entry.js → p-712fedc9.entry.js} +1 -1
- package/dist/ionic/p-72ec9a26.entry.js +4 -0
- package/dist/ionic/{p-0eb35a7f.system.js → p-73897169.system.js} +1 -1
- package/dist/ionic/{p-d12c8b7c.entry.js → p-73dc4950.entry.js} +1 -1
- package/dist/ionic/{p-65493214.system.entry.js → p-7458862e.system.entry.js} +1 -1
- package/dist/ionic/{p-d1918f92.entry.js → p-76446a85.entry.js} +1 -1
- package/dist/ionic/{p-e7bfd50d.system.entry.js → p-77e7b7b6.system.entry.js} +1 -1
- package/dist/ionic/{p-72812e99.js → p-7a1766d6.js} +1 -1
- package/dist/ionic/{p-34093a29.system.entry.js → p-7ae680ba.system.entry.js} +1 -1
- package/dist/ionic/{p-aacfc8f1.entry.js → p-7b98cebe.entry.js} +1 -1
- package/dist/ionic/{p-ef2b566d.entry.js → p-80c6d619.entry.js} +1 -1
- package/dist/ionic/{p-1e67b266.system.entry.js → p-84d08aae.system.entry.js} +1 -1
- package/dist/ionic/{p-7de1e42c.system.js → p-860eb968.system.js} +1 -1
- package/dist/ionic/{p-2b0ce71f.entry.js → p-8818edd8.entry.js} +1 -1
- package/dist/ionic/{p-c4238c12.system.js → p-8e407469.system.js} +1 -1
- package/dist/ionic/{p-1eb2e3bc.system.entry.js → p-92365bc1.system.entry.js} +1 -1
- package/dist/ionic/{p-bac6d8b8.system.entry.js → p-93e3654c.system.entry.js} +1 -1
- package/dist/ionic/{p-d7aa6b00.entry.js → p-955c3eb8.entry.js} +1 -1
- package/dist/ionic/{p-7d6d8f1f.entry.js → p-95775830.entry.js} +1 -1
- package/dist/ionic/{p-8635f5e6.system.js → p-95da3ae2.system.js} +1 -1
- package/dist/ionic/{p-15d18206.entry.js → p-97a65908.entry.js} +1 -1
- package/dist/ionic/{p-b6efeab8.js → p-990630ca.js} +1 -1
- package/dist/ionic/{p-f0270b8c.entry.js → p-9962f63f.entry.js} +1 -1
- package/dist/ionic/{p-b9d7015f.entry.js → p-9b3bb24e.entry.js} +1 -1
- package/dist/ionic/{p-eb86eafb.entry.js → p-9de5c787.entry.js} +1 -1
- package/dist/ionic/{p-13966709.entry.js → p-a18470c6.entry.js} +1 -1
- package/dist/ionic/{p-248318e0.system.entry.js → p-a584c79d.system.entry.js} +1 -1
- package/dist/ionic/{p-c8c015fa.entry.js → p-a5b31c0f.entry.js} +1 -1
- package/dist/ionic/{p-01186920.system.entry.js → p-a9e24ae2.system.entry.js} +1 -1
- package/dist/ionic/{p-5c08627a.system.js → p-acb30a5c.system.js} +1 -1
- package/dist/ionic/{p-8ac07653.system.entry.js → p-acc8399c.system.entry.js} +1 -1
- package/dist/ionic/{p-b8427d77.entry.js → p-af09741c.entry.js} +1 -1
- package/dist/ionic/{p-d22e2a38.system.js → p-af452fa4.system.js} +1 -1
- package/dist/ionic/{p-e09d6392.system.entry.js → p-af744710.system.entry.js} +1 -1
- package/dist/ionic/{p-442e3021.entry.js → p-afecb188.entry.js} +1 -1
- package/dist/ionic/{p-3ad285e3.system.js → p-b3680e2f.system.js} +1 -1
- package/dist/ionic/{p-b51e4004.js → p-bb11d9fb.js} +1 -1
- package/dist/ionic/{p-081a4ce4.entry.js → p-bb2a6761.entry.js} +1 -1
- package/dist/ionic/{p-948e6c6a.entry.js → p-bc616455.entry.js} +1 -1
- package/dist/ionic/{p-d3a4e061.entry.js → p-c32644d7.entry.js} +1 -1
- package/dist/ionic/{p-4c98e2cf.system.js → p-c3802319.system.js} +1 -1
- package/dist/ionic/{p-c41ac815.entry.js → p-c8d645b3.entry.js} +1 -1
- package/dist/ionic/{p-f1c4dcd4.js → p-c935cfc9.js} +1 -1
- package/dist/ionic/{p-102e55aa.system.entry.js → p-d1172fe3.system.entry.js} +1 -1
- package/dist/ionic/{p-3cc276f4.js → p-d4ca0475.js} +1 -1
- package/dist/ionic/{p-7a6eaf9e.entry.js → p-d7bb5325.entry.js} +1 -1
- package/dist/ionic/{p-a090bce8.system.entry.js → p-d821466d.system.entry.js} +1 -1
- package/dist/ionic/{p-ada36597.system.js → p-d99e8644.system.js} +1 -1
- package/dist/ionic/{p-58d5df0c.system.entry.js → p-da8ef548.system.entry.js} +1 -1
- package/dist/ionic/{p-985a7e17.system.entry.js → p-dc146a2a.system.entry.js} +1 -1
- package/dist/ionic/{p-cac0e0b3.system.entry.js → p-dd0c9350.system.entry.js} +1 -1
- package/dist/ionic/p-df862603.entry.js +4 -0
- package/dist/ionic/{p-b0dce4ab.system.entry.js → p-e2e19375.system.entry.js} +1 -1
- package/dist/ionic/{p-05b74e45.system.entry.js → p-e32557bb.system.entry.js} +1 -1
- package/dist/ionic/{p-46d78904.entry.js → p-e5849f8d.entry.js} +1 -1
- package/dist/ionic/{p-15e76dd1.entry.js → p-e8f34871.entry.js} +1 -1
- package/dist/ionic/{p-d8a385f2.system.entry.js → p-ed75fcfb.system.entry.js} +1 -1
- package/dist/ionic/{p-1854b62d.system.entry.js → p-eeb5cb45.system.entry.js} +2 -2
- package/dist/ionic/{p-a9b68560.system.entry.js → p-efbf5af5.system.entry.js} +1 -1
- package/dist/ionic/{p-9fd14430.system.entry.js → p-f2613334.system.entry.js} +1 -1
- package/dist/ionic/{p-6b888f65.system.entry.js → p-f301a694.system.entry.js} +1 -1
- package/dist/ionic/{p-f03b3a76.system.entry.js → p-f56752be.system.entry.js} +1 -1
- package/dist/ionic/{p-e76dae93.entry.js → p-f5d6624d.entry.js} +1 -1
- package/dist/ionic/{p-03692b8d.system.entry.js → p-f78af648.system.entry.js} +1 -1
- package/dist/ionic/{p-63b0abde.system.entry.js → p-f89cf011.system.entry.js} +1 -1
- package/dist/ionic/p-fbf86e62.system.js +4 -0
- package/dist/ionic/{p-7b9a2b23.entry.js → p-fca17935.entry.js} +1 -1
- package/dist/ionic/{p-ed059cb7.system.entry.js → p-fca6ef5f.system.entry.js} +1 -1
- package/dist/ionic/{p-d1d88a4a.entry.js → p-fec13c57.entry.js} +1 -1
- package/dist/types/components/radio-group/radio-group.d.ts +0 -15
- package/dist/types/components/segment-button/segment-button.d.ts +2 -1
- package/dist/types/components.d.ts +0 -16
- package/dist/types/utils/helpers.d.ts +1 -0
- package/hydrate/index.js +178 -147
- package/hydrate/index.mjs +178 -147
- package/package.json +2 -2
- package/dist/collection/components/radio-group/radio-group.ios.css +0 -202
- package/dist/collection/components/radio-group/radio-group.md.css +0 -202
- package/dist/esm-es5/md.transition-571b3859.js +0 -4
- package/dist/ionic/p-073b47c8.system.entry.js +0 -4
- package/dist/ionic/p-0af823e1.js +0 -4
- package/dist/ionic/p-116f21ad.entry.js +0 -4
- package/dist/ionic/p-4c2d5b80.system.js +0 -4
- package/dist/ionic/p-702bc67d.entry.js +0 -4
- package/dist/ionic/p-72bc8a1c.js +0 -4
- package/dist/ionic/p-9343a445.js +0 -4
- package/dist/ionic/p-c5d5571d.system.entry.js +0 -4
- package/dist/ionic/p-cb13696c.js +0 -4
- package/dist/ionic/p-d1c5b60e.system.js +0 -4
- package/dist/ionic/p-edbf38cf.entry.js +0 -4
- package/dist/ionic/p-ef67a752.entry.js +0 -4
- package/dist/ionic/p-efe06d98.entry.js +0 -4
|
@@ -614,14 +614,14 @@ export class Menu {
|
|
|
614
614
|
* the ionBackButton listener in the menu controller
|
|
615
615
|
* will handle closing the menu when Escape is pressed.
|
|
616
616
|
*/
|
|
617
|
-
return (h(Host, { key: '
|
|
617
|
+
return (h(Host, { key: 'da96fdb4c5ddf60e615cc4cdda7ccdb3fd7e089b', onKeyDown: shouldUseCloseWatcher() ? null : this.onKeydown, role: "navigation", "aria-label": inheritedAttributes['aria-label'] || 'menu', class: {
|
|
618
618
|
[mode]: true,
|
|
619
619
|
[`menu-type-${type}`]: true,
|
|
620
620
|
'menu-enabled': !disabled,
|
|
621
621
|
[`menu-side-${side}`]: true,
|
|
622
622
|
'menu-pane-visible': isPaneVisible,
|
|
623
623
|
'split-pane-side': hostContext('ion-split-pane', el),
|
|
624
|
-
} }, h("div", { key: '
|
|
624
|
+
} }, h("div", { key: '894e680fe227534711128c7aca980964ddb5a08a', class: "menu-inner", part: "container", ref: (el) => (this.menuInnerEl = el) }, h("slot", { key: 'e9f5934518dc0cceaeadf1f2820614595fec6bc9' })), h("ion-backdrop", { key: '7282077817657b1bb6c155f1404c0a519fece993', ref: (el) => (this.backdropEl = el), class: "menu-backdrop", tappable: false, stopPropagation: false, part: "backdrop" })));
|
|
625
625
|
}
|
|
626
626
|
static get is() { return "ion-menu"; }
|
|
627
627
|
static get encapsulation() { return "shadow"; }
|
|
@@ -46,7 +46,7 @@ export class MenuButton {
|
|
|
46
46
|
type: this.type,
|
|
47
47
|
};
|
|
48
48
|
const ariaLabel = inheritedAttributes['aria-label'] || 'menu';
|
|
49
|
-
return (h(Host, { key: '
|
|
49
|
+
return (h(Host, { key: '7ec29715ce7926b7c2b08f3d9cac8aaa16b3dc28', onClick: this.onClick, "aria-disabled": disabled ? 'true' : null, "aria-hidden": hidden ? 'true' : null, class: createColorClasses(color, {
|
|
50
50
|
[mode]: true,
|
|
51
51
|
button: true, // ion-buttons target .button
|
|
52
52
|
'menu-button-hidden': hidden,
|
|
@@ -55,7 +55,7 @@ export class MenuButton {
|
|
|
55
55
|
'in-toolbar-color': hostContext('ion-toolbar[color]', this.el),
|
|
56
56
|
'ion-activatable': true,
|
|
57
57
|
'ion-focusable': true,
|
|
58
|
-
}) }, h("button", Object.assign({ key: '
|
|
58
|
+
}) }, h("button", Object.assign({ key: 'd4c5929264af3ba0328118bcc27d2ab7ef5d3809' }, attrs, { disabled: disabled, class: "button-native", part: "native", "aria-label": ariaLabel }), h("span", { key: '7bfa6e9a93105486623d044861e879ec79ff64f1', class: "button-inner" }, h("slot", { key: '071ab58e285832fc188706166f5547d45d501ac5' }, h("ion-icon", { key: '918ec5d791921de9821c347af4f65f97dd94aabf', part: "icon", icon: menuIcon, mode: mode, lazy: false, "aria-hidden": "true" }))), mode === 'md' && h("ion-ripple-effect", { key: '00ffdd53f635e706c1dbd01b8e7944498650fe81', type: "unbounded" }))));
|
|
59
59
|
}
|
|
60
60
|
static get is() { return "ion-menu-button"; }
|
|
61
61
|
static get encapsulation() { return "shadow"; }
|
|
@@ -26,10 +26,10 @@ export class MenuToggle {
|
|
|
26
26
|
render() {
|
|
27
27
|
const mode = getIonMode(this);
|
|
28
28
|
const hidden = this.autoHide && !this.visible;
|
|
29
|
-
return (h(Host, { key: '
|
|
29
|
+
return (h(Host, { key: '7c27ea5b0795676bf5cb33e1f83aa142c197f64e', onClick: this.onClick, "aria-hidden": hidden ? 'true' : null, class: {
|
|
30
30
|
[mode]: true,
|
|
31
31
|
'menu-toggle-hidden': hidden,
|
|
32
|
-
} }, h("slot", { key: '
|
|
32
|
+
} }, h("slot", { key: '69f187becedc0fe34603d41d279f043cf0fdf776' })));
|
|
33
33
|
}
|
|
34
34
|
static get is() { return "ion-menu-toggle"; }
|
|
35
35
|
static get encapsulation() { return "shadow"; }
|
|
@@ -573,18 +573,18 @@ export class Modal {
|
|
|
573
573
|
const mode = getIonMode(this);
|
|
574
574
|
const isCardModal = presentingElement !== undefined && mode === 'ios';
|
|
575
575
|
const isHandleCycle = handleBehavior === 'cycle';
|
|
576
|
-
return (h(Host, Object.assign({ key: '
|
|
576
|
+
return (h(Host, Object.assign({ key: 'ff15df63e72caaeb0a4ad68e9eedeaaa7d3f3bde', "no-router": true, tabindex: "-1" }, htmlAttributes, { style: {
|
|
577
577
|
zIndex: `${20000 + this.overlayIndex}`,
|
|
578
|
-
}, class: Object.assign({ [mode]: true, ['modal-default']: !isCardModal && !isSheetModal, [`modal-card`]: isCardModal, [`modal-sheet`]: isSheetModal, [`modal-no-expand-scroll`]: isSheetModal && !expandToScroll, 'overlay-hidden': true, [FOCUS_TRAP_DISABLE_CLASS]: focusTrap === false }, getClassMap(this.cssClass)), onIonBackdropTap: this.onBackdropTap, onIonModalDidPresent: this.onLifecycle, onIonModalWillPresent: this.onLifecycle, onIonModalWillDismiss: this.onLifecycle, onIonModalDidDismiss: this.onLifecycle }), h("ion-backdrop", { key: '
|
|
578
|
+
}, class: Object.assign({ [mode]: true, ['modal-default']: !isCardModal && !isSheetModal, [`modal-card`]: isCardModal, [`modal-sheet`]: isSheetModal, [`modal-no-expand-scroll`]: isSheetModal && !expandToScroll, 'overlay-hidden': true, [FOCUS_TRAP_DISABLE_CLASS]: focusTrap === false }, getClassMap(this.cssClass)), onIonBackdropTap: this.onBackdropTap, onIonModalDidPresent: this.onLifecycle, onIonModalWillPresent: this.onLifecycle, onIonModalWillDismiss: this.onLifecycle, onIonModalDidDismiss: this.onLifecycle }), h("ion-backdrop", { key: '27a73655779af9d175a829d3d2d29e42fd2a63ee', ref: (el) => (this.backdropEl = el), visible: this.showBackdrop, tappable: this.backdropDismiss, part: "backdrop" }), mode === 'ios' && h("div", { key: '406a65080087e7895026ecc2f04e9d707439e86f', class: "modal-shadow" }), h("div", Object.assign({ key: '8e410eb925374158996c82cbbd522f07d741679e',
|
|
579
579
|
/*
|
|
580
580
|
role and aria-modal must be used on the
|
|
581
581
|
same element. They must also be set inside the
|
|
582
582
|
shadow DOM otherwise ion-button will not be highlighted
|
|
583
583
|
when using VoiceOver: https://bugs.webkit.org/show_bug.cgi?id=247134
|
|
584
584
|
*/
|
|
585
|
-
role: "dialog" }, inheritedAttributes, { "aria-modal": "true", class: "modal-wrapper ion-overlay-wrapper", part: "content", ref: (el) => (this.wrapperEl = el) }), showHandle && (h("button", { key: '
|
|
585
|
+
role: "dialog" }, inheritedAttributes, { "aria-modal": "true", class: "modal-wrapper ion-overlay-wrapper", part: "content", ref: (el) => (this.wrapperEl = el) }), showHandle && (h("button", { key: '7326c969ebe5a70a35e83b09d3db2bb848c90e47', class: "modal-handle",
|
|
586
586
|
// Prevents the handle from receiving keyboard focus when it does not cycle
|
|
587
|
-
tabIndex: !isHandleCycle ? -1 : 0, "aria-label": "Activate to adjust the size of the dialog overlaying the screen", onClick: isHandleCycle ? this.onHandleClick : undefined, part: "handle" })), h("slot", { key: '
|
|
587
|
+
tabIndex: !isHandleCycle ? -1 : 0, "aria-label": "Activate to adjust the size of the dialog overlaying the screen", onClick: isHandleCycle ? this.onHandleClick : undefined, part: "handle" })), h("slot", { key: '0b65cdb9e337a27edf437b9e754e79f1449c217d' }))));
|
|
588
588
|
}
|
|
589
589
|
static get is() { return "ion-modal"; }
|
|
590
590
|
static get encapsulation() { return "shadow"; }
|
|
@@ -830,7 +830,7 @@ export class Nav {
|
|
|
830
830
|
}
|
|
831
831
|
}
|
|
832
832
|
render() {
|
|
833
|
-
return h("slot", { key: '
|
|
833
|
+
return h("slot", { key: 'dfe98cb6604a2015a49f41beffebdd2da957dfff' });
|
|
834
834
|
}
|
|
835
835
|
static get is() { return "ion-nav"; }
|
|
836
836
|
static get encapsulation() { return "shadow"; }
|
|
@@ -14,7 +14,7 @@ export class NavLink {
|
|
|
14
14
|
this.routerAnimation = undefined;
|
|
15
15
|
}
|
|
16
16
|
render() {
|
|
17
|
-
return h(Host, { key: '
|
|
17
|
+
return h(Host, { key: 'd2f8545b4fbd5aa25ef36eb01dffbc5d35ccfbb9', onClick: this.onClick });
|
|
18
18
|
}
|
|
19
19
|
static get is() { return "ion-nav-link"; }
|
|
20
20
|
static get properties() {
|
|
@@ -13,9 +13,9 @@ export class Note {
|
|
|
13
13
|
}
|
|
14
14
|
render() {
|
|
15
15
|
const mode = getIonMode(this);
|
|
16
|
-
return (h(Host, { key: '
|
|
16
|
+
return (h(Host, { key: '10a3495bc21166176986441479f8f7539029d161', class: createColorClasses(this.color, {
|
|
17
17
|
[mode]: true,
|
|
18
|
-
}) }, h("slot", { key: '
|
|
18
|
+
}) }, h("slot", { key: 'b6a9459e1b85f608fafd060a4bfeb11637ebe873' })));
|
|
19
19
|
}
|
|
20
20
|
static get is() { return "ion-note"; }
|
|
21
21
|
static get encapsulation() { return "shadow"; }
|
|
@@ -76,10 +76,10 @@ export class PickerColumnOption {
|
|
|
76
76
|
render() {
|
|
77
77
|
const { color, disabled, ariaLabel } = this;
|
|
78
78
|
const mode = getIonMode(this);
|
|
79
|
-
return (h(Host, { key: '
|
|
79
|
+
return (h(Host, { key: 'c743c6ef44bb9f765cc15b3b5d2864de6520203a', class: createColorClasses(color, {
|
|
80
80
|
[mode]: true,
|
|
81
81
|
['option-disabled']: disabled,
|
|
82
|
-
}) }, h("button", { key: '
|
|
82
|
+
}) }, h("button", { key: '4c3d9eb245c52b2c007f727e145cfb55759bd7a9', tabindex: "-1", "aria-label": ariaLabel, disabled: disabled, onClick: () => this.onClick() }, h("slot", { key: '4c907d2187cbe9d5941e27f2b12578e2b7271461' }))));
|
|
83
83
|
}
|
|
84
84
|
static get is() { return "ion-picker-column-option"; }
|
|
85
85
|
static get encapsulation() { return "shadow"; }
|
|
@@ -185,11 +185,11 @@ export class Picker {
|
|
|
185
185
|
render() {
|
|
186
186
|
const { htmlAttributes } = this;
|
|
187
187
|
const mode = getIonMode(this);
|
|
188
|
-
return (h(Host, Object.assign({ key: '
|
|
188
|
+
return (h(Host, Object.assign({ key: '0712fa8732141848e50ad2e08e2ba66ef2a48991', "aria-modal": "true", tabindex: "-1" }, htmlAttributes, { style: {
|
|
189
189
|
zIndex: `${20000 + this.overlayIndex}`,
|
|
190
190
|
}, class: Object.assign({ [mode]: true,
|
|
191
191
|
// Used internally for styling
|
|
192
|
-
[`picker-${mode}`]: true, 'overlay-hidden': true }, getClassMap(this.cssClass)), onIonBackdropTap: this.onBackdropTap, onIonPickerWillDismiss: this.dispatchCancelHandler }), h("ion-backdrop", { key: '
|
|
192
|
+
[`picker-${mode}`]: true, 'overlay-hidden': true }, getClassMap(this.cssClass)), onIonBackdropTap: this.onBackdropTap, onIonPickerWillDismiss: this.dispatchCancelHandler }), h("ion-backdrop", { key: 'c997632ef0488698739664012de5a6494de438b6', visible: this.showBackdrop, tappable: this.backdropDismiss }), h("div", { key: '20045054a76cca997b410835fa6b305af22dcb12', tabindex: "0", "aria-hidden": "true" }), h("div", { key: 'a73a6ac20b685ed9694d4fa95ea236ce5d63fdbf', class: "picker-wrapper ion-overlay-wrapper", role: "dialog" }, h("div", { key: '1221cdcc2ff013deeba12170129c8fe78308330c', class: "picker-toolbar" }, this.buttons.map((b) => (h("div", { class: buttonWrapperClass(b) }, h("button", { type: "button", onClick: () => this.buttonClick(b), class: buttonClass(b) }, b.text))))), h("div", { key: '45038a58430a4251100797b902e7034243137564', class: "picker-columns" }, h("div", { key: 'c579bb69cddd4090912855ffd7f59536280f34b9', class: "picker-above-highlight" }), this.presented && this.columns.map((c) => h("ion-picker-legacy-column", { col: c })), h("div", { key: '978c6632d82a97d053b729c9de65dd3af4c4cee2', class: "picker-below-highlight" }))), h("div", { key: 'e7e9dc437a3cf6d559e2cb0df71af69047a2ae31', tabindex: "0", "aria-hidden": "true" })));
|
|
193
193
|
}
|
|
194
194
|
static get is() { return "ion-picker-legacy"; }
|
|
195
195
|
static get encapsulation() { return "scoped"; }
|
|
@@ -336,9 +336,9 @@ export class PickerColumnCmp {
|
|
|
336
336
|
render() {
|
|
337
337
|
const col = this.col;
|
|
338
338
|
const mode = getIonMode(this);
|
|
339
|
-
return (h(Host, { key: '
|
|
339
|
+
return (h(Host, { key: 'c015eb8bc01b3287cbd1d71af0aa311b6be89d36', class: Object.assign({ [mode]: true, 'picker-col': true, 'picker-opts-left': this.col.align === 'left', 'picker-opts-right': this.col.align === 'right' }, getClassMap(col.cssClass)), style: {
|
|
340
340
|
'max-width': this.col.columnWidth,
|
|
341
|
-
} }, col.prefix && (h("div", { key: '
|
|
341
|
+
} }, col.prefix && (h("div", { key: 'f9de3fe2f5c7ad3256d6e5f44b6d03a2b1f96ffb', class: "picker-prefix", style: { width: col.prefixWidth } }, col.prefix)), h("div", { key: '10f9c12aa174f96c7cf9adc30efbb26695c0aa64', class: "picker-opts", style: { maxWidth: col.optionsWidth }, ref: (el) => (this.optsEl = el) }, col.options.map((o, index) => (h("button", { "aria-label": o.ariaLabel, class: { 'picker-opt': true, 'picker-opt-disabled': !!o.disabled }, "opt-index": index }, o.text)))), col.suffix && (h("div", { key: '1d9c0892ce56e0da9044c79eb953827166f5190b', class: "picker-suffix", style: { width: col.suffixWidth } }, col.suffix))));
|
|
342
342
|
}
|
|
343
343
|
static get is() { return "ion-picker-legacy-column"; }
|
|
344
344
|
static get originalStyleUrls() {
|
|
@@ -338,9 +338,9 @@ export class Popover {
|
|
|
338
338
|
const { onLifecycle, parentPopover, dismissOnSelect, side, arrow, htmlAttributes, focusTrap } = this;
|
|
339
339
|
const desktop = isPlatform('desktop');
|
|
340
340
|
const enableArrow = arrow && !parentPopover;
|
|
341
|
-
return (h(Host, Object.assign({ key: '
|
|
341
|
+
return (h(Host, Object.assign({ key: 'ffe8b37c9ffb5cac210a7307e6cdfcf78712905b', "aria-modal": "true", "no-router": true, tabindex: "-1" }, htmlAttributes, { style: {
|
|
342
342
|
zIndex: `${20000 + this.overlayIndex}`,
|
|
343
|
-
}, class: Object.assign(Object.assign({}, getClassMap(this.cssClass)), { [mode]: true, 'popover-translucent': this.translucent, 'overlay-hidden': true, 'popover-desktop': desktop, [`popover-side-${side}`]: true, [FOCUS_TRAP_DISABLE_CLASS]: focusTrap === false, 'popover-nested': !!parentPopover }), onIonPopoverDidPresent: onLifecycle, onIonPopoverWillPresent: onLifecycle, onIonPopoverWillDismiss: onLifecycle, onIonPopoverDidDismiss: onLifecycle, onIonBackdropTap: this.onBackdropTap }), !parentPopover && h("ion-backdrop", { key: '
|
|
343
|
+
}, class: Object.assign(Object.assign({}, getClassMap(this.cssClass)), { [mode]: true, 'popover-translucent': this.translucent, 'overlay-hidden': true, 'popover-desktop': desktop, [`popover-side-${side}`]: true, [FOCUS_TRAP_DISABLE_CLASS]: focusTrap === false, 'popover-nested': !!parentPopover }), onIonPopoverDidPresent: onLifecycle, onIonPopoverWillPresent: onLifecycle, onIonPopoverWillDismiss: onLifecycle, onIonPopoverDidDismiss: onLifecycle, onIonBackdropTap: this.onBackdropTap }), !parentPopover && h("ion-backdrop", { key: '12b3ffa3928b4d56a4f09c3d2f5d493d47b45255', tappable: this.backdropDismiss, visible: this.showBackdrop, part: "backdrop" }), h("div", { key: '2c2862d5c7e75b637973c712b4982bf4978c0cdf', class: "popover-wrapper ion-overlay-wrapper", onClick: dismissOnSelect ? () => this.dismiss() : undefined }, enableArrow && h("div", { key: '0cfacc52afaa7abc28c1b7742889d7a1c23a37ad', class: "popover-arrow", part: "arrow" }), h("div", { key: '3ef570c44d4fe7f063dd419008c92c8c40d3cd22', class: "popover-content", part: "content" }, h("slot", { key: '6fc5dfdce20fee1642bc1f05d41b5bf7d1034457' })))));
|
|
344
344
|
}
|
|
345
345
|
static get is() { return "ion-popover"; }
|
|
346
346
|
static get encapsulation() { return "shadow"; }
|
|
@@ -28,7 +28,7 @@ export class ProgressBar {
|
|
|
28
28
|
const mode = getIonMode(this);
|
|
29
29
|
// If the progress is displayed as a solid bar.
|
|
30
30
|
const progressSolid = buffer === 1;
|
|
31
|
-
return (h(Host, { key: '
|
|
31
|
+
return (h(Host, { key: '8d8ddf0b26fe33803d3a6168cbedd523d1a888e7', role: "progressbar", "aria-valuenow": type === 'determinate' ? value : null, "aria-valuemin": "0", "aria-valuemax": "1", class: createColorClasses(color, {
|
|
32
32
|
[mode]: true,
|
|
33
33
|
[`progress-bar-${type}`]: true,
|
|
34
34
|
'progress-paused': paused,
|
|
@@ -120,7 +120,7 @@ export class Radio {
|
|
|
120
120
|
const { checked, disabled, color, el, justify, labelPlacement, hasLabel, buttonTabindex, alignment } = this;
|
|
121
121
|
const mode = getIonMode(this);
|
|
122
122
|
const inItem = hostContext('ion-item', el);
|
|
123
|
-
return (h(Host, { key: '
|
|
123
|
+
return (h(Host, { key: '5a0adab55ad009305de4856fa1b9f93f2279a734', onFocus: this.onFocus, onBlur: this.onBlur, onClick: this.onClick, class: createColorClasses(color, {
|
|
124
124
|
[mode]: true,
|
|
125
125
|
'in-item': inItem,
|
|
126
126
|
'radio-checked': checked,
|
|
@@ -131,10 +131,10 @@ export class Radio {
|
|
|
131
131
|
// Focus and active styling should not apply when the radio is in an item
|
|
132
132
|
'ion-activatable': !inItem,
|
|
133
133
|
'ion-focusable': !inItem,
|
|
134
|
-
}), role: "radio", "aria-checked": checked ? 'true' : 'false', "aria-disabled": disabled ? 'true' : null, tabindex: buttonTabindex }, h("label", { key: '
|
|
134
|
+
}), role: "radio", "aria-checked": checked ? 'true' : 'false', "aria-disabled": disabled ? 'true' : null, tabindex: buttonTabindex }, h("label", { key: 'f5673a798e6d87868339f046445f707e1d93b7b6', class: "radio-wrapper" }, h("div", { key: 'e9190c06f75a171cab63e3f74ccf771c3ed87005', class: {
|
|
135
135
|
'label-text-wrapper': true,
|
|
136
136
|
'label-text-wrapper-hidden': !hasLabel,
|
|
137
|
-
}, part: "label" }, h("slot", { key: '
|
|
137
|
+
}, part: "label" }, h("slot", { key: '6cedf4e7b3bd03e4a635727dd7b6094bab64af64' })), h("div", { key: '26dd48d9d2848b7f100b732abdc4a3171adde483', class: "native-wrapper" }, this.renderRadioControl()))));
|
|
138
138
|
}
|
|
139
139
|
static get is() { return "ion-radio"; }
|
|
140
140
|
static get encapsulation() { return "shadow"; }
|
|
@@ -7,8 +7,6 @@ import { getIonMode } from "../../global/ionic-global";
|
|
|
7
7
|
export class RadioGroup {
|
|
8
8
|
constructor() {
|
|
9
9
|
this.inputId = `ion-rg-${radioGroupIds++}`;
|
|
10
|
-
this.helperTextId = `${this.inputId}-helper-text`;
|
|
11
|
-
this.errorTextId = `${this.inputId}-error-text`;
|
|
12
10
|
this.labelId = `${this.inputId}-lbl`;
|
|
13
11
|
this.setRadioTabindex = (value) => {
|
|
14
12
|
const radios = this.getRadios();
|
|
@@ -60,8 +58,6 @@ export class RadioGroup {
|
|
|
60
58
|
this.compareWith = undefined;
|
|
61
59
|
this.name = this.inputId;
|
|
62
60
|
this.value = undefined;
|
|
63
|
-
this.helperText = undefined;
|
|
64
|
-
this.errorText = undefined;
|
|
65
61
|
}
|
|
66
62
|
valueChanged(value) {
|
|
67
63
|
this.setRadioTabindex(value);
|
|
@@ -160,46 +156,13 @@ export class RadioGroup {
|
|
|
160
156
|
const radioToFocus = this.getRadios().find((r) => r.tabIndex !== -1);
|
|
161
157
|
radioToFocus === null || radioToFocus === void 0 ? void 0 : radioToFocus.setFocus();
|
|
162
158
|
}
|
|
163
|
-
/**
|
|
164
|
-
* Renders the helper text or error text values
|
|
165
|
-
*/
|
|
166
|
-
renderHintText() {
|
|
167
|
-
const { helperText, errorText, helperTextId, errorTextId } = this;
|
|
168
|
-
const hasHintText = !!helperText || !!errorText;
|
|
169
|
-
if (!hasHintText) {
|
|
170
|
-
return;
|
|
171
|
-
}
|
|
172
|
-
return (h("div", { class: "supporting-text" }, h("div", { id: helperTextId, class: "helper-text" }, helperText), h("div", { id: errorTextId, class: "error-text" }, errorText)));
|
|
173
|
-
}
|
|
174
|
-
getHintTextID() {
|
|
175
|
-
const { el, helperText, errorText, helperTextId, errorTextId } = this;
|
|
176
|
-
if (el.classList.contains('ion-touched') && el.classList.contains('ion-invalid') && errorText) {
|
|
177
|
-
return errorTextId;
|
|
178
|
-
}
|
|
179
|
-
if (helperText) {
|
|
180
|
-
return helperTextId;
|
|
181
|
-
}
|
|
182
|
-
return undefined;
|
|
183
|
-
}
|
|
184
159
|
render() {
|
|
185
160
|
const { label, labelId, el, name, value } = this;
|
|
186
161
|
const mode = getIonMode(this);
|
|
187
162
|
renderHiddenInput(true, el, name, value, false);
|
|
188
|
-
return
|
|
163
|
+
return h(Host, { key: 'a853e38901f0f4ba17bbf21ebb5da5b5c20b327e', role: "radiogroup", "aria-labelledby": label ? labelId : null, onClick: this.onClick, class: mode });
|
|
189
164
|
}
|
|
190
165
|
static get is() { return "ion-radio-group"; }
|
|
191
|
-
static get originalStyleUrls() {
|
|
192
|
-
return {
|
|
193
|
-
"ios": ["radio-group.ios.scss"],
|
|
194
|
-
"md": ["radio-group.md.scss"]
|
|
195
|
-
};
|
|
196
|
-
}
|
|
197
|
-
static get styleUrls() {
|
|
198
|
-
return {
|
|
199
|
-
"ios": ["radio-group.ios.css"],
|
|
200
|
-
"md": ["radio-group.md.css"]
|
|
201
|
-
};
|
|
202
|
-
}
|
|
203
166
|
static get properties() {
|
|
204
167
|
return {
|
|
205
168
|
"allowEmptySelection": {
|
|
@@ -277,40 +240,6 @@ export class RadioGroup {
|
|
|
277
240
|
},
|
|
278
241
|
"attribute": "value",
|
|
279
242
|
"reflect": false
|
|
280
|
-
},
|
|
281
|
-
"helperText": {
|
|
282
|
-
"type": "string",
|
|
283
|
-
"mutable": false,
|
|
284
|
-
"complexType": {
|
|
285
|
-
"original": "string",
|
|
286
|
-
"resolved": "string | undefined",
|
|
287
|
-
"references": {}
|
|
288
|
-
},
|
|
289
|
-
"required": false,
|
|
290
|
-
"optional": true,
|
|
291
|
-
"docs": {
|
|
292
|
-
"tags": [],
|
|
293
|
-
"text": "The helper text to display at the top of the radio group."
|
|
294
|
-
},
|
|
295
|
-
"attribute": "helper-text",
|
|
296
|
-
"reflect": false
|
|
297
|
-
},
|
|
298
|
-
"errorText": {
|
|
299
|
-
"type": "string",
|
|
300
|
-
"mutable": false,
|
|
301
|
-
"complexType": {
|
|
302
|
-
"original": "string",
|
|
303
|
-
"resolved": "string | undefined",
|
|
304
|
-
"references": {}
|
|
305
|
-
},
|
|
306
|
-
"required": false,
|
|
307
|
-
"optional": true,
|
|
308
|
-
"docs": {
|
|
309
|
-
"tags": [],
|
|
310
|
-
"text": "The error text to display at the top of the radio group."
|
|
311
|
-
},
|
|
312
|
-
"attribute": "error-text",
|
|
313
|
-
"reflect": false
|
|
314
243
|
}
|
|
315
244
|
};
|
|
316
245
|
}
|
|
@@ -564,7 +564,7 @@ export class Range {
|
|
|
564
564
|
const needsEndAdjustment = inItem && !hasEndContent;
|
|
565
565
|
const mode = getIonMode(this);
|
|
566
566
|
renderHiddenInput(true, el, this.name, JSON.stringify(this.getValue()), disabled);
|
|
567
|
-
return (h(Host, { key: '
|
|
567
|
+
return (h(Host, { key: '05c699caaead7cc74deaae2a958c4632191473a8', onFocusin: this.onFocus, onFocusout: this.onBlur, id: rangeId, class: createColorClasses(this.color, {
|
|
568
568
|
[mode]: true,
|
|
569
569
|
'in-item': inItem,
|
|
570
570
|
'range-disabled': disabled,
|
|
@@ -573,10 +573,10 @@ export class Range {
|
|
|
573
573
|
[`range-label-placement-${labelPlacement}`]: true,
|
|
574
574
|
'range-item-start-adjustment': needsStartAdjustment,
|
|
575
575
|
'range-item-end-adjustment': needsEndAdjustment,
|
|
576
|
-
}) }, h("label", { key: '
|
|
576
|
+
}) }, h("label", { key: '959837bcc48c4bda33ae1f62b66ef444329a2961', class: "range-wrapper", id: "range-label" }, h("div", { key: 'a434c6b5c26f57f52b3af98d881e7e6a179c89fc', class: {
|
|
577
577
|
'label-text-wrapper': true,
|
|
578
578
|
'label-text-wrapper-hidden': !hasLabel,
|
|
579
|
-
}, part: "label" }, label !== undefined ? h("div", { class: "label-text" }, label) : h("slot", { name: "label" })), h("div", { key: '
|
|
579
|
+
}, part: "label" }, label !== undefined ? h("div", { class: "label-text" }, label) : h("slot", { name: "label" })), h("div", { key: '87df1037b6b3337bd1fab05d33a26bf658c57914', class: "native-wrapper" }, h("slot", { key: '2cb88f101da49b70aeae29b0bf5445fac241bb2f', name: "start" }), this.renderRangeSlider(), h("slot", { key: '17b835cfb2bd9b8e1957afd425543ff02b913d83', name: "end" })))));
|
|
580
580
|
}
|
|
581
581
|
static get is() { return "ion-range"; }
|
|
582
582
|
static get encapsulation() { return "shadow"; }
|
|
@@ -621,7 +621,7 @@ export class Refresher {
|
|
|
621
621
|
}
|
|
622
622
|
render() {
|
|
623
623
|
const mode = getIonMode(this);
|
|
624
|
-
return (h(Host, { key: '
|
|
624
|
+
return (h(Host, { key: '9d4ac22988aec2c6af0b0c90934c52f62f0e4ce3', slot: "fixed", class: {
|
|
625
625
|
[mode]: true,
|
|
626
626
|
// Used internally for styling
|
|
627
627
|
[`refresher-${mode}`]: true,
|
|
@@ -52,7 +52,7 @@ export class RefresherContent {
|
|
|
52
52
|
const pullingIcon = this.pullingIcon;
|
|
53
53
|
const hasSpinner = pullingIcon != null && SPINNERS[pullingIcon] !== undefined;
|
|
54
54
|
const mode = getIonMode(this);
|
|
55
|
-
return (h(Host, { key: '
|
|
55
|
+
return (h(Host, { key: '19633bbcf02e3dba885d6bdcdaf2269bf4c8e2f5', class: mode }, h("div", { key: '28922e434a55a6cac0476fe2bee56941ce0d1c02', class: "refresher-pulling" }, this.pullingIcon && hasSpinner && (h("div", { key: 'fe575bf996021884677e9b23a3215d63caf894f5', class: "refresher-pulling-icon" }, h("div", { key: '59fe12297fd95bc33b8df8cd35316e2a1c084d91', class: "spinner-arrow-container" }, h("ion-spinner", { key: 'af9cc013ae04945c140b2865610ca73edb52ab48', name: this.pullingIcon, paused: true }), mode === 'md' && this.pullingIcon === 'circular' && (h("div", { key: '34df66ad1b0f706a0532957251aa2c20bf4587d8', class: "arrow-container" }, h("ion-icon", { key: 'ffdb5c123e606b823491c6c51cc2b497f62581bb', icon: caretBackSharp, "aria-hidden": "true" })))))), this.pullingIcon && !hasSpinner && (h("div", { key: 'ac3a2032bb969264d20fa057e9123441005d7a9d', class: "refresher-pulling-icon" }, h("ion-icon", { key: 'd969d10915548e72aae289b52154366f3dd39b31', icon: this.pullingIcon, lazy: false, "aria-hidden": "true" }))), this.pullingText !== undefined && this.renderPullingText()), h("div", { key: 'a8f854f81a94812d7bef8ce088331d94f49ff53d', class: "refresher-refreshing" }, this.refreshingSpinner && (h("div", { key: 'a1f646945370e40c844d62bc0c647443ae9dfbe7', class: "refresher-refreshing-icon" }, h("ion-spinner", { key: 'ab3ff4047769b6436e222b46d193c1e8b23e2fce', name: this.refreshingSpinner }))), this.refreshingText !== undefined && this.renderRefreshingText())));
|
|
56
56
|
}
|
|
57
57
|
static get is() { return "ion-refresher-content"; }
|
|
58
58
|
static get properties() {
|
|
@@ -20,7 +20,7 @@ export class Reorder {
|
|
|
20
20
|
render() {
|
|
21
21
|
const mode = getIonMode(this);
|
|
22
22
|
const reorderIcon = mode === 'ios' ? reorderThreeOutline : reorderTwoSharp;
|
|
23
|
-
return (h(Host, { key: '
|
|
23
|
+
return (h(Host, { key: '27266e30bcb7e10c57fb6d546399cfb1f1c93b23', class: mode }, h("slot", { key: '8745cb9a31458e884c27eed1fb90d104fe9a79eb' }, h("ion-icon", { key: '6c4b9631a2f5610f1e21b2db025b6702d0d593bf', icon: reorderIcon, lazy: false, class: "reorder-icon", part: "icon", "aria-hidden": "true" }))));
|
|
24
24
|
}
|
|
25
25
|
static get is() { return "ion-reorder"; }
|
|
26
26
|
static get encapsulation() { return "shadow"; }
|
|
@@ -238,7 +238,7 @@ export class ReorderGroup {
|
|
|
238
238
|
}
|
|
239
239
|
render() {
|
|
240
240
|
const mode = getIonMode(this);
|
|
241
|
-
return (h(Host, { key: '
|
|
241
|
+
return (h(Host, { key: 'a38c7fbceb677201330a602273d5b55abb32da19', class: {
|
|
242
242
|
[mode]: true,
|
|
243
243
|
'reorder-enabled': !this.disabled,
|
|
244
244
|
'reorder-list-active': this.state !== 0 /* ReorderGroupState.Idle */,
|
|
@@ -59,7 +59,7 @@ export class RippleEffect {
|
|
|
59
59
|
}
|
|
60
60
|
render() {
|
|
61
61
|
const mode = getIonMode(this);
|
|
62
|
-
return (h(Host, { key: '
|
|
62
|
+
return (h(Host, { key: '7ae559bda5d2c1856a45bfa150c2cb4f83373f8e', role: "presentation", class: {
|
|
63
63
|
[mode]: true,
|
|
64
64
|
unbounded: this.unbounded,
|
|
65
65
|
} }));
|
|
@@ -23,10 +23,10 @@ export class RouterLink {
|
|
|
23
23
|
rel: this.rel,
|
|
24
24
|
target: this.target,
|
|
25
25
|
};
|
|
26
|
-
return (h(Host, { key: '
|
|
26
|
+
return (h(Host, { key: '529ceed5beaf92d7b4cc315c82f449eac18310e8', onClick: this.onClick, class: createColorClasses(this.color, {
|
|
27
27
|
[mode]: true,
|
|
28
28
|
'ion-activatable': true,
|
|
29
|
-
}) }, h("a", Object.assign({ key: '
|
|
29
|
+
}) }, h("a", Object.assign({ key: 'd5f1f8b256695d70bdafd20ff3d1b625963fa2da' }, attrs), h("slot", { key: '613fcdb36a71e076f989551ea21f1d5c118b1cd2' }))));
|
|
30
30
|
}
|
|
31
31
|
static get is() { return "ion-router-link"; }
|
|
32
32
|
static get encapsulation() { return "shadow"; }
|
|
@@ -177,7 +177,7 @@ export class RouterOutlet {
|
|
|
177
177
|
return true;
|
|
178
178
|
}
|
|
179
179
|
render() {
|
|
180
|
-
return h("slot", { key: '
|
|
180
|
+
return h("slot", { key: 'a70341f58d19df55de1dad00e3464388e446aa2a' });
|
|
181
181
|
}
|
|
182
182
|
static get is() { return "ion-router-outlet"; }
|
|
183
183
|
static get encapsulation() { return "shadow"; }
|
|
@@ -5,7 +5,7 @@ import { Host, h } from "@stencil/core";
|
|
|
5
5
|
import { getIonMode } from "../../global/ionic-global";
|
|
6
6
|
export class Row {
|
|
7
7
|
render() {
|
|
8
|
-
return (h(Host, { key: '
|
|
8
|
+
return (h(Host, { key: 'aea072a5005e3f1f309f0d1ae5be5ee19869b035', class: getIonMode(this) }, h("slot", { key: '2a481c2126ac6ca65f0a1bbd07c2d3365409cb78' })));
|
|
9
9
|
}
|
|
10
10
|
static get is() { return "ion-row"; }
|
|
11
11
|
static get encapsulation() { return "shadow"; }
|
|
@@ -378,8 +378,8 @@ export class Searchbar {
|
|
|
378
378
|
const clearIcon = this.clearIcon || (mode === 'ios' ? closeCircle : closeSharp);
|
|
379
379
|
const searchIcon = this.searchIcon || (mode === 'ios' ? searchOutline : searchSharp);
|
|
380
380
|
const shouldShowCancelButton = this.shouldShowCancelButton();
|
|
381
|
-
const cancelButton = this.showCancelButton !== 'never' && (h("button", { key: '
|
|
382
|
-
return (h(Host, { key: '
|
|
381
|
+
const cancelButton = this.showCancelButton !== 'never' && (h("button", { key: '0ef595eb1628928d4c7fdb166b8e41768700fa6e', "aria-label": cancelButtonText, "aria-hidden": shouldShowCancelButton ? undefined : 'true', type: "button", tabIndex: mode === 'ios' && !shouldShowCancelButton ? -1 : undefined, onMouseDown: this.onCancelSearchbar, onTouchStart: this.onCancelSearchbar, class: "searchbar-cancel-button" }, h("div", { key: 'ea2c9b36d991acf5af7662059cb6b045f683ca94', "aria-hidden": "true" }, mode === 'md' ? (h("ion-icon", { "aria-hidden": "true", mode: mode, icon: this.cancelButtonIcon, lazy: false })) : (cancelButtonText))));
|
|
382
|
+
return (h(Host, { key: '17d57ece5852d03047e4d53ddad6c9d88a432a00', role: "search", "aria-disabled": this.disabled ? 'true' : null, class: createColorClasses(this.color, {
|
|
383
383
|
[mode]: true,
|
|
384
384
|
'searchbar-animated': animated,
|
|
385
385
|
'searchbar-disabled': this.disabled,
|
|
@@ -389,14 +389,14 @@ export class Searchbar {
|
|
|
389
389
|
'searchbar-has-focus': this.focused,
|
|
390
390
|
'searchbar-should-show-clear': this.shouldShowClearButton(),
|
|
391
391
|
'searchbar-should-show-cancel': this.shouldShowCancelButton(),
|
|
392
|
-
}) }, h("div", { key: '
|
|
392
|
+
}) }, h("div", { key: 'f67c2124e70c24eef0a271516e9c4bdaf7e98ceb', class: "searchbar-input-container" }, h("input", Object.assign({ key: '8c7f7ccc6809cca30ccc8c4e98e349d3f916321d', "aria-label": "search text", disabled: this.disabled, ref: (el) => (this.nativeInput = el), class: "searchbar-input", inputMode: this.inputmode, enterKeyHint: this.enterkeyhint, name: this.name, onInput: this.onInput, onChange: this.onChange, onBlur: this.onBlur, onFocus: this.onFocus, minLength: this.minlength, maxLength: this.maxlength, placeholder: this.placeholder, type: this.type, value: this.getValue(), autoCapitalize: autocapitalize === 'default' ? undefined : autocapitalize, autoComplete: this.autocomplete, autoCorrect: this.autocorrect, spellcheck: this.spellcheck }, this.inheritedAttributes)), mode === 'md' && cancelButton, h("ion-icon", { key: 'f06524d3163b3883bbde937862aa1e0e8f49f6e1', "aria-hidden": "true", mode: mode, icon: searchIcon, lazy: false, class: "searchbar-search-icon" }), h("button", { key: '9f7ba2bec93412ecb674b197be13db1de308bb57', "aria-label": "reset", type: "button", "no-blur": true, class: "searchbar-clear-button", onPointerDown: (ev) => {
|
|
393
393
|
/**
|
|
394
394
|
* This prevents mobile browsers from
|
|
395
395
|
* blurring the input when the clear
|
|
396
396
|
* button is activated.
|
|
397
397
|
*/
|
|
398
398
|
ev.preventDefault();
|
|
399
|
-
}, onClick: () => this.onClearInput(true) }, h("ion-icon", { key: '
|
|
399
|
+
}, onClick: () => this.onClearInput(true) }, h("ion-icon", { key: '19fc3dbc722acc47ff7eb3c94ad4de8aed38dff4', "aria-hidden": "true", mode: mode, icon: clearIcon, lazy: false, class: "searchbar-clear-icon" }))), mode === 'ios' && cancelButton));
|
|
400
400
|
}
|
|
401
401
|
static get is() { return "ion-searchbar"; }
|
|
402
402
|
static get encapsulation() { return "scoped"; }
|
|
@@ -530,14 +530,14 @@ export class Segment {
|
|
|
530
530
|
}
|
|
531
531
|
render() {
|
|
532
532
|
const mode = getIonMode(this);
|
|
533
|
-
return (h(Host, { key: '
|
|
533
|
+
return (h(Host, { key: 'b1eb4a6e4f953f6c4882395585799503735bbc6b', role: "tablist", onClick: this.onClick, class: createColorClasses(this.color, {
|
|
534
534
|
[mode]: true,
|
|
535
535
|
'in-toolbar': hostContext('ion-toolbar', this.el),
|
|
536
536
|
'in-toolbar-color': hostContext('ion-toolbar[color]', this.el),
|
|
537
537
|
'segment-activated': this.activated,
|
|
538
538
|
'segment-disabled': this.disabled,
|
|
539
539
|
'segment-scrollable': this.scrollable,
|
|
540
|
-
}) }, h("slot", { key: '
|
|
540
|
+
}) }, h("slot", { key: 'e7df6b017d154f30eb8021bc965f2e6c8e6480bf', onSlotchange: this.onSlottedItemsChange })));
|
|
541
541
|
}
|
|
542
542
|
static get is() { return "ion-segment"; }
|
|
543
543
|
static get encapsulation() { return "shadow"; }
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
4
|
import { Host, forceUpdate, h } from "@stencil/core";
|
|
5
|
-
import { addEventListener, removeEventListener, inheritAttributes } from "../../utils/helpers";
|
|
5
|
+
import { addEventListener, removeEventListener, inheritAttributes, getNextSiblingOfType } from "../../utils/helpers";
|
|
6
6
|
import { hostContext } from "../../utils/theme";
|
|
7
7
|
import { getIonMode } from "../../global/ionic-global";
|
|
8
8
|
let ids = 0;
|
|
@@ -39,7 +39,35 @@ export class SegmentButton {
|
|
|
39
39
|
valueChanged() {
|
|
40
40
|
this.updateState();
|
|
41
41
|
}
|
|
42
|
-
|
|
42
|
+
waitForSegmentContent(ionSegment, contentId) {
|
|
43
|
+
return new Promise((resolve, reject) => {
|
|
44
|
+
let timeoutId = undefined;
|
|
45
|
+
let animationFrameId;
|
|
46
|
+
const check = () => {
|
|
47
|
+
if (!ionSegment) {
|
|
48
|
+
reject(new Error(`Segment not found when looking for Segment Content`));
|
|
49
|
+
return;
|
|
50
|
+
}
|
|
51
|
+
const segmentView = getNextSiblingOfType(ionSegment); // Skip the text nodes
|
|
52
|
+
const segmentContent = segmentView === null || segmentView === void 0 ? void 0 : segmentView.querySelector(`ion-segment-content[id="${contentId}"]`);
|
|
53
|
+
if (segmentContent && timeoutId) {
|
|
54
|
+
clearTimeout(timeoutId); // Clear the timeout if the segmentContent is found
|
|
55
|
+
cancelAnimationFrame(animationFrameId);
|
|
56
|
+
resolve(segmentContent);
|
|
57
|
+
}
|
|
58
|
+
else {
|
|
59
|
+
animationFrameId = requestAnimationFrame(check); // Keep checking on the next animation frame
|
|
60
|
+
}
|
|
61
|
+
};
|
|
62
|
+
check();
|
|
63
|
+
// Set a timeout to reject the promise
|
|
64
|
+
timeoutId = setTimeout(() => {
|
|
65
|
+
cancelAnimationFrame(animationFrameId);
|
|
66
|
+
reject(new Error(`Unable to find Segment Content with id="${contentId} within 1000 ms`));
|
|
67
|
+
}, 1000);
|
|
68
|
+
});
|
|
69
|
+
}
|
|
70
|
+
async connectedCallback() {
|
|
43
71
|
const segmentEl = (this.segmentEl = this.el.closest('ion-segment'));
|
|
44
72
|
if (segmentEl) {
|
|
45
73
|
this.updateState();
|
|
@@ -49,11 +77,14 @@ export class SegmentButton {
|
|
|
49
77
|
// Return if there is no contentId defined
|
|
50
78
|
if (!this.contentId)
|
|
51
79
|
return;
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
80
|
+
let segmentContent;
|
|
81
|
+
try {
|
|
82
|
+
// Attempt to find the Segment Content by its contentId
|
|
83
|
+
segmentContent = await this.waitForSegmentContent(segmentEl, this.contentId);
|
|
84
|
+
}
|
|
85
|
+
catch (error) {
|
|
86
|
+
// If no associated Segment Content exists, log an error and return
|
|
87
|
+
console.error('Segment Button: ', error.message);
|
|
57
88
|
return;
|
|
58
89
|
}
|
|
59
90
|
// Ensure the found element is a valid ION-SEGMENT-CONTENT
|
|
@@ -99,7 +130,7 @@ export class SegmentButton {
|
|
|
99
130
|
const { checked, type, disabled, hasIcon, hasLabel, layout, segmentEl } = this;
|
|
100
131
|
const mode = getIonMode(this);
|
|
101
132
|
const hasSegmentColor = () => (segmentEl === null || segmentEl === void 0 ? void 0 : segmentEl.color) !== undefined;
|
|
102
|
-
return (h(Host, { key: '
|
|
133
|
+
return (h(Host, { key: 'f9da656c8eccb80e4ef30e3fa977f2dbbefbc988', class: {
|
|
103
134
|
[mode]: true,
|
|
104
135
|
'in-toolbar': hostContext('ion-toolbar', this.el),
|
|
105
136
|
'in-toolbar-color': hostContext('ion-toolbar[color]', this.el),
|
|
@@ -115,7 +146,7 @@ export class SegmentButton {
|
|
|
115
146
|
'ion-activatable': true,
|
|
116
147
|
'ion-activatable-instant': true,
|
|
117
148
|
'ion-focusable': true,
|
|
118
|
-
} }, h("button", Object.assign({ key: '
|
|
149
|
+
} }, h("button", Object.assign({ key: '00dbcdbd81cd74abdd39803f6840a6e477cc7b0c', "aria-selected": checked ? 'true' : 'false', role: "tab", ref: (el) => (this.nativeEl = el), type: type, class: "button-native", part: "native", disabled: disabled }, this.inheritedAttributes), h("span", { key: '5200c082a9c4788010c4fc33fe75e2b2ad28364a', class: "button-inner" }, h("slot", { key: 'cf3fce2b5d22436b84cd4367a5885df7d6a2715f' })), mode === 'md' && h("ion-ripple-effect", { key: 'f1a2816465f4c2c06644be07315bff2da77e2342' })), h("div", { key: 'aaf31c0ed39641fca698ee98d0773131f4eea6bd', part: "indicator", class: "segment-button-indicator segment-button-indicator-animated" }, h("div", { key: 'fc556651361b7ac305aaedd25ea4afe3173abd20', part: "indicator-background", class: "segment-button-indicator-background" }))));
|
|
119
150
|
}
|
|
120
151
|
static get is() { return "ion-segment-button"; }
|
|
121
152
|
static get encapsulation() { return "shadow"; }
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
import { Host, h } from "@stencil/core";
|
|
5
5
|
export class SegmentContent {
|
|
6
6
|
render() {
|
|
7
|
-
return (h(Host, { key: '
|
|
7
|
+
return (h(Host, { key: '03684b2999ac64fe13e376fd7e7f279976e9d4f2' }, h("slot", { key: '143031075bf33ca19e7cfd76fc8a67b83ccaf11c' })));
|
|
8
8
|
}
|
|
9
9
|
static get is() { return "ion-segment-content"; }
|
|
10
10
|
static get encapsulation() { return "shadow"; }
|