@ionic/core 8.0.0-dev.11711476529.17eae6ec → 8.0.0-dev.11711498366.18f063ac
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/index6.js +3 -1
- package/components/ion-input-password-toggle.d.ts +11 -0
- package/components/ion-input-password-toggle.js +131 -0
- package/components/ion-input.js +28 -8
- 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 +3 -3
- package/components/ion-menu-toggle.js +2 -2
- package/components/ion-menu.js +2 -2
- package/components/ion-modal.js +3 -3
- 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 +3 -3
- package/components/ion-refresher.js +1 -1
- package/components/ion-reorder-group.js +1 -1
- package/components/ion-reorder.js +3 -3
- package/components/ion-router-link.js +2 -2
- package/components/ion-router-outlet.js +1 -1
- package/components/ion-row.js +2 -2
- package/components/ion-searchbar.js +6 -6
- package/components/ion-segment-button.js +3 -3
- package/components/ion-segment.js +2 -2
- package/components/ion-select-option.js +1 -1
- package/components/ion-select.js +3 -3
- 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 +2 -2
- package/components/ion-title.js +2 -2
- package/components/ion-toast.js +2 -2
- package/components/ion-toggle.js +4 -4
- package/components/ion-toolbar.js +2 -2
- package/components/ionic-global.js +2 -2
- package/components/label.js +2 -2
- package/components/list-header.js +2 -2
- package/components/list.js +1 -1
- 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 +1 -1
- package/components/radio.js +3 -3
- package/components/ripple-effect.js +1 -1
- package/components/select-popover.js +2 -2
- package/components/spinner.js +1 -1
- package/dist/cjs/{app-globals-98e49326.js → app-globals-c355ec99.js} +1 -1
- package/dist/cjs/{data-f2ccf911.js → data-7c73c8b9.js} +1 -1
- package/dist/cjs/{hardware-back-button-f66bce00.js → hardware-back-button-e79bd12c.js} +1 -1
- package/dist/cjs/{index-f52c6d38.js → index-073c7cdc.js} +4 -0
- package/dist/cjs/{index-91435ed0.js → index-193def18.js} +1 -1
- package/dist/cjs/{index-f5fcf972.js → index-f06d55a9.js} +2 -2
- package/dist/cjs/index.cjs.js +4 -4
- package/dist/cjs/{input-shims-837af288.js → input-shims-0c59e88a.js} +2 -2
- package/dist/cjs/{input.utils-01c2fa15.js → input.utils-ee49fd29.js} +1 -1
- package/dist/cjs/ion-accordion_2.cjs.entry.js +2 -2
- 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 +11 -11
- package/dist/cjs/ion-avatar_3.cjs.entry.js +3 -3
- package/dist/cjs/ion-back-button.cjs.entry.js +2 -2
- package/dist/cjs/ion-backdrop.cjs.entry.js +1 -1
- package/dist/cjs/ion-breadcrumb_2.cjs.entry.js +2 -2
- 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-chip.cjs.entry.js +1 -1
- package/dist/cjs/ion-col_3.cjs.entry.js +3 -3
- package/dist/cjs/ion-datetime-button.cjs.entry.js +2 -2
- package/dist/cjs/ion-datetime_3.cjs.entry.js +9 -9
- package/dist/cjs/ion-fab_3.cjs.entry.js +2 -2
- 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-password-toggle.cjs.entry.js +92 -0
- package/dist/cjs/ion-input.cjs.entry.js +28 -9
- package/dist/cjs/ion-item-option_3.cjs.entry.js +6 -6
- package/dist/cjs/ion-item_8.cjs.entry.js +14 -14
- package/dist/cjs/ion-loading.cjs.entry.js +5 -5
- package/dist/cjs/ion-menu_3.cjs.entry.js +11 -11
- package/dist/cjs/ion-modal.cjs.entry.js +7 -7
- package/dist/cjs/ion-nav_2.cjs.entry.js +3 -3
- 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-popover.cjs.entry.js +5 -5
- package/dist/cjs/ion-progress-bar.cjs.entry.js +2 -2
- package/dist/cjs/ion-radio_2.cjs.entry.js +5 -5
- package/dist/cjs/ion-range.cjs.entry.js +5 -5
- package/dist/cjs/ion-refresher_2.cjs.entry.js +6 -6
- package/dist/cjs/ion-reorder_2.cjs.entry.js +6 -6
- package/dist/cjs/ion-ripple-effect.cjs.entry.js +2 -2
- package/dist/cjs/ion-route_4.cjs.entry.js +3 -3
- package/dist/cjs/ion-searchbar.cjs.entry.js +7 -7
- package/dist/cjs/ion-segment_2.cjs.entry.js +6 -6
- package/dist/cjs/ion-select_3.cjs.entry.js +9 -9
- package/dist/cjs/ion-spinner.cjs.entry.js +2 -2
- package/dist/cjs/ion-split-pane.cjs.entry.js +3 -3
- package/dist/cjs/ion-tab-bar_2.cjs.entry.js +5 -5
- package/dist/cjs/ion-tab_2.cjs.entry.js +3 -3
- package/dist/cjs/ion-text.cjs.entry.js +3 -3
- package/dist/cjs/ion-textarea.cjs.entry.js +4 -4
- package/dist/cjs/ion-toast.cjs.entry.js +5 -5
- package/dist/cjs/ion-toggle.cjs.entry.js +5 -5
- package/dist/cjs/{ionic-global-94d8021d.js → ionic-global-ceb32795.js} +2 -2
- package/dist/cjs/ionic.cjs.js +3 -3
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/{overlays-de847251.js → overlays-f770745f.js} +2 -2
- package/dist/cjs/{status-tap-3ef7ca2b.js → status-tap-8d40351a.js} +2 -2
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/input/input.ios.css +9 -0
- package/dist/collection/components/input/input.js +26 -5
- package/dist/collection/components/input/input.md.css +9 -0
- package/dist/collection/components/input-password-toggle/input-password-toggle.css +0 -0
- package/dist/collection/components/input-password-toggle/input-password-toggle.js +183 -0
- package/dist/collection/components/input-password-toggle/test/a11y/input-password-toggle.e2e.js +21 -0
- package/dist/collection/components/input-password-toggle/test/basic/input-password-toggle.e2e.js +38 -0
- package/dist/collection/components/input-password-toggle/test/input-password-toggle.spec.js +76 -0
- 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/list.js +1 -1
- 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 +3 -3
- 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 -1
- 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 +2 -2
- package/dist/collection/components/reorder/reorder.js +2 -2
- 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 +2 -2
- package/dist/collection/components/searchbar/searchbar.js +8 -7
- package/dist/collection/components/segment/segment.js +2 -2
- package/dist/collection/components/segment-button/segment-button.js +3 -3
- package/dist/collection/components/select/select.js +2 -2
- package/dist/collection/components/select-option/select-option.js +1 -1
- package/dist/collection/components/select-popover/select-popover.js +2 -2
- 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 +2 -2
- 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/global/ionic-global.js +2 -2
- package/dist/docs.json +180 -5
- package/dist/esm/{app-globals-4194f7b0.js → app-globals-378c927e.js} +1 -1
- package/dist/esm/{data-735635b1.js → data-502c79ce.js} +1 -1
- package/dist/esm/{hardware-back-button-ff84501f.js → hardware-back-button-6d25372a.js} +1 -1
- package/dist/esm/{index-62041d9c.js → index-47afdf4f.js} +2 -2
- package/dist/esm/{index-4bbc4ca3.js → index-84145911.js} +1 -1
- package/dist/esm/{index-f7dc70ba.js → index-e2cf2ceb.js} +3 -1
- package/dist/esm/index.js +4 -4
- package/dist/esm/{input-shims-131a3f9f.js → input-shims-d80cf854.js} +2 -2
- package/dist/esm/{input.utils-41b26b54.js → input.utils-526678b9.js} +1 -1
- package/dist/esm/ion-accordion_2.entry.js +2 -2
- 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 +11 -11
- package/dist/esm/ion-avatar_3.entry.js +3 -3
- package/dist/esm/ion-back-button.entry.js +2 -2
- package/dist/esm/ion-backdrop.entry.js +1 -1
- package/dist/esm/ion-breadcrumb_2.entry.js +2 -2
- 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-chip.entry.js +1 -1
- package/dist/esm/ion-col_3.entry.js +3 -3
- package/dist/esm/ion-datetime-button.entry.js +2 -2
- package/dist/esm/ion-datetime_3.entry.js +9 -9
- package/dist/esm/ion-fab_3.entry.js +2 -2
- 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-password-toggle.entry.js +88 -0
- package/dist/esm/ion-input.entry.js +28 -9
- package/dist/esm/ion-item-option_3.entry.js +6 -6
- package/dist/esm/ion-item_8.entry.js +14 -14
- package/dist/esm/ion-loading.entry.js +5 -5
- package/dist/esm/ion-menu_3.entry.js +11 -11
- package/dist/esm/ion-modal.entry.js +7 -7
- package/dist/esm/ion-nav_2.entry.js +3 -3
- 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-popover.entry.js +5 -5
- package/dist/esm/ion-progress-bar.entry.js +2 -2
- package/dist/esm/ion-radio_2.entry.js +5 -5
- package/dist/esm/ion-range.entry.js +5 -5
- package/dist/esm/ion-refresher_2.entry.js +6 -6
- package/dist/esm/ion-reorder_2.entry.js +6 -6
- package/dist/esm/ion-ripple-effect.entry.js +2 -2
- package/dist/esm/ion-route_4.entry.js +3 -3
- package/dist/esm/ion-searchbar.entry.js +7 -7
- package/dist/esm/ion-segment_2.entry.js +6 -6
- package/dist/esm/ion-select_3.entry.js +9 -9
- package/dist/esm/ion-spinner.entry.js +2 -2
- package/dist/esm/ion-split-pane.entry.js +3 -3
- package/dist/esm/ion-tab-bar_2.entry.js +5 -5
- package/dist/esm/ion-tab_2.entry.js +3 -3
- package/dist/esm/ion-text.entry.js +3 -3
- package/dist/esm/ion-textarea.entry.js +4 -4
- package/dist/esm/ion-toast.entry.js +5 -5
- package/dist/esm/ion-toggle.entry.js +5 -5
- package/dist/esm/{ionic-global-d47e129d.js → ionic-global-a03b1588.js} +2 -2
- package/dist/esm/ionic.js +3 -3
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{overlays-213b5a21.js → overlays-84f5c587.js} +2 -2
- package/dist/esm/{status-tap-8838c434.js → status-tap-a65b162a.js} +2 -2
- package/dist/esm-es5/app-globals-378c927e.js +4 -0
- package/dist/esm-es5/{data-735635b1.js → data-502c79ce.js} +1 -1
- package/dist/esm-es5/{hardware-back-button-ff84501f.js → hardware-back-button-6d25372a.js} +1 -1
- package/dist/esm-es5/{index-62041d9c.js → index-47afdf4f.js} +1 -1
- package/dist/esm-es5/{index-4bbc4ca3.js → index-84145911.js} +1 -1
- package/dist/esm-es5/{index-f7dc70ba.js → index-e2cf2ceb.js} +1 -1
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/{input-shims-131a3f9f.js → input-shims-d80cf854.js} +1 -1
- package/dist/esm-es5/{input.utils-41b26b54.js → input.utils-526678b9.js} +1 -1
- package/dist/esm-es5/ion-accordion_2.entry.js +1 -1
- package/dist/esm-es5/ion-action-sheet.entry.js +1 -1
- package/dist/esm-es5/ion-alert.entry.js +1 -1
- package/dist/esm-es5/ion-app_8.entry.js +1 -1
- package/dist/esm-es5/ion-avatar_3.entry.js +1 -1
- package/dist/esm-es5/ion-back-button.entry.js +1 -1
- package/dist/esm-es5/ion-backdrop.entry.js +1 -1
- package/dist/esm-es5/ion-breadcrumb_2.entry.js +1 -1
- package/dist/esm-es5/ion-button_2.entry.js +1 -1
- package/dist/esm-es5/ion-card_5.entry.js +1 -1
- package/dist/esm-es5/ion-checkbox.entry.js +1 -1
- package/dist/esm-es5/ion-chip.entry.js +1 -1
- package/dist/esm-es5/ion-col_3.entry.js +1 -1
- package/dist/esm-es5/ion-datetime-button.entry.js +1 -1
- package/dist/esm-es5/ion-datetime_3.entry.js +1 -1
- package/dist/esm-es5/ion-fab_3.entry.js +1 -1
- package/dist/esm-es5/ion-img.entry.js +1 -1
- package/dist/esm-es5/ion-infinite-scroll_2.entry.js +1 -1
- package/dist/esm-es5/ion-input-password-toggle.entry.js +4 -0
- 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-popover.entry.js +1 -1
- package/dist/esm-es5/ion-progress-bar.entry.js +1 -1
- package/dist/esm-es5/ion-radio_2.entry.js +1 -1
- package/dist/esm-es5/ion-range.entry.js +1 -1
- package/dist/esm-es5/ion-refresher_2.entry.js +1 -1
- package/dist/esm-es5/ion-reorder_2.entry.js +1 -1
- package/dist/esm-es5/ion-ripple-effect.entry.js +1 -1
- package/dist/esm-es5/ion-route_4.entry.js +1 -1
- package/dist/esm-es5/ion-searchbar.entry.js +1 -1
- package/dist/esm-es5/ion-segment_2.entry.js +1 -1
- package/dist/esm-es5/ion-select_3.entry.js +1 -1
- package/dist/esm-es5/ion-spinner.entry.js +1 -1
- package/dist/esm-es5/ion-split-pane.entry.js +1 -1
- package/dist/esm-es5/ion-tab-bar_2.entry.js +1 -1
- package/dist/esm-es5/ion-tab_2.entry.js +1 -1
- package/dist/esm-es5/ion-text.entry.js +1 -1
- package/dist/esm-es5/ion-textarea.entry.js +1 -1
- package/dist/esm-es5/ion-toast.entry.js +1 -1
- package/dist/esm-es5/ion-toggle.entry.js +1 -1
- package/dist/esm-es5/{ionic-global-d47e129d.js → ionic-global-a03b1588.js} +1 -1
- package/dist/esm-es5/ionic.js +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/{overlays-213b5a21.js → overlays-84f5c587.js} +1 -1
- package/dist/esm-es5/{status-tap-8838c434.js → status-tap-a65b162a.js} +1 -1
- package/dist/html.html-data.json +68 -0
- package/dist/ionic/index.esm.js +1 -1
- package/dist/ionic/ionic.esm.js +1 -1
- package/dist/ionic/ionic.js +1 -1
- package/dist/ionic/p-00017a0e.entry.js +4 -0
- package/dist/ionic/{p-3e9e667a.entry.js → p-0483cb18.entry.js} +1 -1
- package/dist/ionic/{p-3e47e61e.entry.js → p-0afb8cd7.entry.js} +1 -1
- package/dist/ionic/{p-09b71030.entry.js → p-0fc68641.entry.js} +1 -1
- package/dist/ionic/{p-f7a041dc.js → p-11f322f2.js} +1 -1
- package/dist/ionic/{p-23e053d0.system.entry.js → p-158f84ef.system.entry.js} +1 -1
- package/dist/ionic/{p-30aed000.system.entry.js → p-1a721859.system.entry.js} +1 -1
- package/dist/ionic/{p-9385f3c5.entry.js → p-1a8de6fa.entry.js} +1 -1
- package/dist/ionic/p-1e955a45.system.js +4 -0
- package/dist/ionic/{p-617a8c10.system.entry.js → p-1ed7baef.system.entry.js} +1 -1
- package/dist/ionic/{p-bb4431d3.entry.js → p-22c5142f.entry.js} +1 -1
- package/dist/ionic/p-2a31b1f5.system.js +4 -0
- package/dist/ionic/{p-df92bab7.system.js → p-2a6e67b4.system.js} +1 -1
- package/dist/ionic/{p-e399a113.entry.js → p-2ab228af.entry.js} +1 -1
- package/dist/ionic/{p-4c55c5ce.entry.js → p-31b66414.entry.js} +1 -1
- package/dist/ionic/p-31bf1d38.entry.js +4 -0
- package/dist/ionic/{p-c957dcbd.system.entry.js → p-3302a619.system.entry.js} +1 -1
- package/dist/ionic/{p-6d1854de.system.entry.js → p-33c1c033.system.entry.js} +1 -1
- package/dist/ionic/{p-197fca36.system.entry.js → p-348beae7.system.entry.js} +1 -1
- package/dist/ionic/{p-3ecd1809.entry.js → p-355f3434.entry.js} +1 -1
- package/dist/ionic/{p-605c456e.system.entry.js → p-35dc747b.system.entry.js} +1 -1
- package/dist/ionic/{p-1cc1ce24.system.entry.js → p-35e5e98a.system.entry.js} +1 -1
- package/dist/ionic/{p-e7522003.js → p-368b5f57.js} +1 -1
- package/dist/ionic/{p-2fad37de.system.entry.js → p-379c62e1.system.entry.js} +1 -1
- package/dist/ionic/{p-16b3b748.system.js → p-37c9bc91.system.js} +1 -1
- package/dist/ionic/{p-98ced5a7.system.entry.js → p-3b14e7b9.system.entry.js} +1 -1
- package/dist/ionic/{p-e557901b.entry.js → p-3d14260a.entry.js} +1 -1
- package/dist/ionic/{p-b8df09fa.entry.js → p-3df045bd.entry.js} +1 -1
- package/dist/ionic/{p-dff73ffc.system.js → p-47883cab.system.js} +1 -1
- package/dist/ionic/{p-c7e3ef1f.js → p-487bee8d.js} +1 -1
- package/dist/ionic/{p-35b46c05.entry.js → p-49d23e05.entry.js} +1 -1
- package/dist/ionic/{p-bb01995b.entry.js → p-4e27762d.entry.js} +1 -1
- package/dist/ionic/{p-e62f29e0.system.entry.js → p-4f785e62.system.entry.js} +1 -1
- package/dist/ionic/{p-2c8cb8c0.system.entry.js → p-4faa6455.system.entry.js} +1 -1
- package/dist/ionic/{p-7d6993fa.entry.js → p-4fbe6e81.entry.js} +1 -1
- package/dist/ionic/{p-11f25a12.system.js → p-50cf70e8.system.js} +1 -1
- package/dist/ionic/p-525a9d5f.system.entry.js +4 -0
- package/dist/ionic/{p-62ad354a.system.entry.js → p-54cbb70e.system.entry.js} +1 -1
- package/dist/ionic/{p-4f30e4c3.system.entry.js → p-5589bb5b.system.entry.js} +1 -1
- package/dist/ionic/p-57963dea.entry.js +4 -0
- package/dist/ionic/{p-69e691df.system.entry.js → p-58d1ab91.system.entry.js} +1 -1
- package/dist/ionic/{p-de5f6929.system.entry.js → p-58df6e9f.system.entry.js} +1 -1
- package/dist/ionic/{p-5fed4c24.system.entry.js → p-5e0d356b.system.entry.js} +1 -1
- package/dist/ionic/p-602146d8.js +4 -0
- package/dist/ionic/{p-365d2cfe.system.entry.js → p-6117f6c5.system.entry.js} +1 -1
- package/dist/ionic/{p-6718dfd8.system.entry.js → p-61a87440.system.entry.js} +1 -1
- package/dist/ionic/{p-644df0cc.system.entry.js → p-64eb01cb.system.entry.js} +1 -1
- package/dist/ionic/{p-385c76dc.system.entry.js → p-66d0a048.system.entry.js} +1 -1
- package/dist/ionic/{p-af732189.system.js → p-66d55ac3.system.js} +2 -2
- package/dist/ionic/{p-0daf382b.system.entry.js → p-680448fe.system.entry.js} +1 -1
- package/dist/ionic/{p-c78731fc.system.js → p-6df8b089.system.js} +1 -1
- package/dist/ionic/{p-3ed32307.system.entry.js → p-707a9d71.system.entry.js} +1 -1
- package/dist/ionic/{p-322eb715.system.js → p-726f80e7.system.js} +1 -1
- package/dist/ionic/{p-ae3fdd38.entry.js → p-738714f4.entry.js} +1 -1
- package/dist/ionic/{p-52698131.entry.js → p-789f197c.entry.js} +1 -1
- package/dist/ionic/{p-7fefe43e.system.js → p-822696e5.system.js} +1 -1
- package/dist/ionic/{p-ae2c6708.system.entry.js → p-8244824f.system.entry.js} +2 -2
- package/dist/ionic/{p-29ceda88.js → p-832dae23.js} +1 -1
- package/dist/ionic/{p-cd94b05a.system.entry.js → p-83d220ee.system.entry.js} +1 -1
- package/dist/ionic/{p-57082094.entry.js → p-84549d94.entry.js} +1 -1
- package/dist/ionic/{p-23a3320b.js → p-86379b84.js} +1 -1
- package/dist/ionic/{p-57b76977.system.entry.js → p-89d25317.system.entry.js} +1 -1
- package/dist/ionic/{p-b0da0e7e.entry.js → p-8e8522e3.entry.js} +1 -1
- package/dist/ionic/{p-a68b1b19.entry.js → p-8ef1d644.entry.js} +1 -1
- package/dist/ionic/{p-7c6ba817.system.entry.js → p-91b79359.system.entry.js} +1 -1
- package/dist/ionic/{p-71784639.entry.js → p-929058ef.entry.js} +1 -1
- package/dist/ionic/{p-2a4641fb.system.entry.js → p-93c12309.system.entry.js} +1 -1
- package/dist/ionic/{p-d6788bde.system.entry.js → p-94a31caf.system.entry.js} +1 -1
- package/dist/ionic/{p-9a76dbbb.entry.js → p-96472d74.entry.js} +1 -1
- package/dist/ionic/{p-a5456295.entry.js → p-99bf116a.entry.js} +1 -1
- package/dist/ionic/{p-c1d0861e.entry.js → p-9c52644e.entry.js} +1 -1
- package/dist/ionic/p-9d6f10bd.entry.js +4 -0
- package/dist/ionic/p-9dccdc99.entry.js +4 -0
- package/dist/ionic/{p-84dd4f6c.system.entry.js → p-9f1b4c72.system.entry.js} +1 -1
- package/dist/ionic/{p-77cdf8f0.system.entry.js → p-a300b844.system.entry.js} +1 -1
- package/dist/ionic/{p-eab67c46.system.entry.js → p-a3d98f76.system.entry.js} +1 -1
- package/dist/ionic/p-a9e86436.system.entry.js +4 -0
- package/dist/ionic/{p-6770c46d.system.entry.js → p-ab45eca5.system.entry.js} +1 -1
- package/dist/ionic/{p-8cd83c08.system.entry.js → p-ae6a5ee1.system.entry.js} +1 -1
- package/dist/ionic/{p-8fbf7c49.entry.js → p-af5123f7.entry.js} +1 -1
- package/dist/ionic/p-b29b0043.system.entry.js +4 -0
- package/dist/ionic/{p-24cc69ab.entry.js → p-b4f2d31e.entry.js} +1 -1
- package/dist/ionic/{p-46e489c1.entry.js → p-b5c85b3c.entry.js} +1 -1
- package/dist/ionic/{p-4c6278ca.system.entry.js → p-b6ad1585.system.entry.js} +1 -1
- package/dist/ionic/{p-56dfd814.entry.js → p-b8df12bb.entry.js} +1 -1
- package/dist/ionic/{p-f9398178.entry.js → p-ba85f57a.entry.js} +1 -1
- package/dist/ionic/{p-b0bd2f28.system.entry.js → p-bc4f3bb5.system.entry.js} +1 -1
- package/dist/ionic/{p-3e8cfe35.system.entry.js → p-bd1a5533.system.entry.js} +1 -1
- package/dist/ionic/p-bfd648f6.entry.js +4 -0
- package/dist/ionic/{p-716cc857.entry.js → p-c0d40adb.entry.js} +1 -1
- package/dist/ionic/{p-d83f3852.system.entry.js → p-c11dbd56.system.entry.js} +1 -1
- package/dist/ionic/p-c33fe06e.entry.js +4 -0
- package/dist/ionic/{p-e86fef55.system.js → p-c47d0e2a.system.js} +1 -1
- package/dist/ionic/p-c5c7d271.entry.js +4 -0
- package/dist/ionic/{p-fe1345b7.js → p-ca958797.js} +1 -1
- package/dist/ionic/p-cbb46ee9.entry.js +4 -0
- package/dist/ionic/{p-cc1dabd2.system.entry.js → p-cf5829f5.system.entry.js} +1 -1
- package/dist/ionic/{p-afeebbc2.entry.js → p-d08ac146.entry.js} +1 -1
- package/dist/ionic/{p-57a4c6c3.js → p-d3498aab.js} +1 -1
- package/dist/ionic/{p-0507489e.system.entry.js → p-d74b5b06.system.entry.js} +1 -1
- package/dist/ionic/p-da2b833b.js +4 -0
- package/dist/ionic/{p-139e8ff1.js → p-db490c56.js} +1 -1
- package/dist/ionic/{p-2bc784c2.system.entry.js → p-db643807.system.entry.js} +1 -1
- package/dist/ionic/{p-45684f75.system.entry.js → p-dfbfcb53.system.entry.js} +1 -1
- package/dist/ionic/{p-820be1bf.entry.js → p-e03b9251.entry.js} +1 -1
- package/dist/ionic/{p-fea6e789.system.entry.js → p-e1403ca6.system.entry.js} +1 -1
- package/dist/ionic/{p-1126b6fb.entry.js → p-e30d6c34.entry.js} +1 -1
- package/dist/ionic/{p-ed454419.entry.js → p-e39ec17c.entry.js} +1 -1
- package/dist/ionic/{p-f85988bd.entry.js → p-e3b6bda8.entry.js} +1 -1
- package/dist/ionic/{p-ff93a0f3.entry.js → p-e6f26311.entry.js} +1 -1
- package/dist/ionic/{p-18d1e318.system.js → p-e78ab7a6.system.js} +1 -1
- package/dist/ionic/{p-1f04779e.entry.js → p-e85a8a81.entry.js} +1 -1
- package/dist/ionic/{p-226bdf0f.entry.js → p-ec637936.entry.js} +1 -1
- package/dist/ionic/{p-30b7a6a6.system.entry.js → p-ef61637a.system.entry.js} +2 -2
- package/dist/ionic/{p-6981ada8.entry.js → p-f02998b5.entry.js} +1 -1
- package/dist/ionic/{p-d2a65df9.js → p-f35f7d6c.js} +1 -1
- package/dist/ionic/{p-4e7a18b3.entry.js → p-fc174bf1.entry.js} +1 -1
- package/dist/ionic/p-fc9c5b84.system.js +4 -0
- package/dist/types/components/input/input.d.ts +6 -0
- package/dist/types/components/input-password-toggle/input-password-toggle.d.ts +37 -0
- package/dist/types/components/searchbar/searchbar.d.ts +0 -14
- package/dist/types/components.d.ts +47 -1
- package/hydrate/index.js +225 -108
- package/package.json +1 -1
- package/dist/esm-es5/app-globals-4194f7b0.js +0 -4
- package/dist/ionic/p-116239e0.system.entry.js +0 -4
- package/dist/ionic/p-13aa1338.entry.js +0 -4
- package/dist/ionic/p-24e9aa21.entry.js +0 -4
- package/dist/ionic/p-44d8d5c3.entry.js +0 -4
- package/dist/ionic/p-5919403e.js +0 -4
- package/dist/ionic/p-6087c7ac.system.entry.js +0 -4
- package/dist/ionic/p-70a396e0.entry.js +0 -4
- package/dist/ionic/p-831269de.js +0 -4
- package/dist/ionic/p-8fd110c6.entry.js +0 -4
- package/dist/ionic/p-ac1eb107.system.js +0 -4
- package/dist/ionic/p-b69db5bf.entry.js +0 -4
- package/dist/ionic/p-c8985963.system.js +0 -4
- package/dist/ionic/p-dfb6de03.system.js +0 -4
- package/dist/ionic/p-f977c8c5.entry.js +0 -4
- package/dist/ionic/p-ff584ff5.entry.js +0 -4
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
|
+
*/
|
|
4
|
+
import { h } from "@stencil/core";
|
|
5
|
+
import { newSpecPage } from "@stencil/core/testing";
|
|
6
|
+
import { Input } from "../../input/input";
|
|
7
|
+
import { InputPasswordToggle } from "../input-password-toggle";
|
|
8
|
+
import { Button } from "../../button/button";
|
|
9
|
+
import { initialize } from "../../../global/ionic-global";
|
|
10
|
+
describe('input password toggle', () => {
|
|
11
|
+
it('should toggle input type when clicked', async () => {
|
|
12
|
+
const page = await newSpecPage({
|
|
13
|
+
components: [Input, InputPasswordToggle, Button],
|
|
14
|
+
template: () => (h("ion-input", { type: "password" }, h("ion-input-password-toggle", { slot: "end" }))),
|
|
15
|
+
});
|
|
16
|
+
const inputPasswordToggle = page.body.querySelector('ion-input-password-toggle');
|
|
17
|
+
const button = inputPasswordToggle.shadowRoot.querySelector('ion-button');
|
|
18
|
+
const input = page.body.querySelector('ion-input');
|
|
19
|
+
expect(input.type).toBe('password');
|
|
20
|
+
button.click();
|
|
21
|
+
await page.waitForChanges();
|
|
22
|
+
expect(input.type).toBe('text');
|
|
23
|
+
button.click();
|
|
24
|
+
await page.waitForChanges();
|
|
25
|
+
expect(input.type).toBe('password');
|
|
26
|
+
});
|
|
27
|
+
it('should render custom icons', async () => {
|
|
28
|
+
const page = await newSpecPage({
|
|
29
|
+
components: [Input, InputPasswordToggle, Button],
|
|
30
|
+
template: () => (h("ion-input", { type: "password" }, h("ion-input-password-toggle", { showIcon: "show", hideIcon: "hide", slot: "end" }))),
|
|
31
|
+
});
|
|
32
|
+
const inputPasswordToggle = page.body.querySelector('ion-input-password-toggle');
|
|
33
|
+
const button = inputPasswordToggle.shadowRoot.querySelector('ion-button');
|
|
34
|
+
const icon = inputPasswordToggle.shadowRoot.querySelector('ion-icon');
|
|
35
|
+
// Grab the attribute to test since we are not actually passing in a valid SVG
|
|
36
|
+
expect(icon.getAttribute('icon')).toBe('show');
|
|
37
|
+
button.click();
|
|
38
|
+
await page.waitForChanges();
|
|
39
|
+
expect(icon.getAttribute('icon')).toBe('hide');
|
|
40
|
+
});
|
|
41
|
+
it('changing the type on the input should update the icon used in password toggle', async () => {
|
|
42
|
+
const page = await newSpecPage({
|
|
43
|
+
components: [Input, InputPasswordToggle, Button],
|
|
44
|
+
template: () => (h("ion-input", { type: "password" }, h("ion-input-password-toggle", { showIcon: "show", hideIcon: "hide", slot: "end" }))),
|
|
45
|
+
});
|
|
46
|
+
const inputPasswordToggle = page.body.querySelector('ion-input-password-toggle');
|
|
47
|
+
const input = page.body.querySelector('ion-input');
|
|
48
|
+
const icon = inputPasswordToggle.shadowRoot.querySelector('ion-icon');
|
|
49
|
+
// Grab the attribute to test since we are not actually passing in a valid SVG
|
|
50
|
+
expect(icon.getAttribute('icon')).toBe('show');
|
|
51
|
+
input.type = 'text';
|
|
52
|
+
await page.waitForChanges();
|
|
53
|
+
expect(icon.getAttribute('icon')).toBe('hide');
|
|
54
|
+
input.type = 'password';
|
|
55
|
+
await page.waitForChanges();
|
|
56
|
+
expect(icon.getAttribute('icon')).toBe('show');
|
|
57
|
+
});
|
|
58
|
+
it('should inherit the mode and color to internal ionic components', async () => {
|
|
59
|
+
/**
|
|
60
|
+
* This initialize script tells Stencil how to determine the mode on components.
|
|
61
|
+
* This is required for any getIonMode internal logic to function properly in spec tests.
|
|
62
|
+
*/
|
|
63
|
+
initialize();
|
|
64
|
+
const page = await newSpecPage({
|
|
65
|
+
components: [Input, InputPasswordToggle, Button],
|
|
66
|
+
template: () => (h("ion-input", { type: "password", color: "primary" }, h("ion-input-password-toggle", { slot: "end", mode: "ios", color: "danger" }))),
|
|
67
|
+
});
|
|
68
|
+
const inputPasswordToggle = page.body.querySelector('ion-input-password-toggle');
|
|
69
|
+
const button = inputPasswordToggle.shadowRoot.querySelector('ion-button');
|
|
70
|
+
await page.waitForChanges();
|
|
71
|
+
// mode is a virtual prop so we need to access it as an attribute
|
|
72
|
+
expect(button.getAttribute('mode')).toBe('ios');
|
|
73
|
+
// color is an actual prop so we can access the element property
|
|
74
|
+
expect(button.color).toBe('danger');
|
|
75
|
+
});
|
|
76
|
+
});
|
|
@@ -19,11 +19,11 @@ export class ItemDivider {
|
|
|
19
19
|
}
|
|
20
20
|
render() {
|
|
21
21
|
const theme = getIonTheme(this);
|
|
22
|
-
return (h(Host, { key: '
|
|
22
|
+
return (h(Host, { key: '625f9c93dc5d63da7d7116618e85e744c312c9f6', class: createColorClasses(this.color, {
|
|
23
23
|
[theme]: true,
|
|
24
24
|
'item-divider-sticky': this.sticky,
|
|
25
25
|
item: true,
|
|
26
|
-
}) }, h("slot", { key: '
|
|
26
|
+
}) }, h("slot", { key: '314ea0e81490d6bd606e2ac45019640ec34add9e', name: "start" }), h("div", { key: '0e27892adc6caf214265c1037e80ccc713a660a4', class: "item-divider-inner" }, h("div", { key: '2743000f5e7a8fcedf2f829ee46cb41dbea91e72', class: "item-divider-wrapper" }, h("slot", { key: '617526ad20379985a8fbe85caa650e03fcf574fb' })), h("slot", { key: '644746d28d7b03e01a9b2ba7a7d7b8947f64b226', name: "end" }))));
|
|
27
27
|
}
|
|
28
28
|
static get is() { return "ion-item-divider"; }
|
|
29
29
|
static get encapsulation() { return "shadow"; }
|
|
@@ -10,7 +10,7 @@ import { getIonTheme } from "../../global/ionic-global";
|
|
|
10
10
|
export class ItemGroup {
|
|
11
11
|
render() {
|
|
12
12
|
const theme = getIonTheme(this);
|
|
13
|
-
return (h(Host, { key: '
|
|
13
|
+
return (h(Host, { key: '387217ac3867bdc76d962ef53dbbde1d0eb43cd7', role: "group", class: {
|
|
14
14
|
[theme]: true,
|
|
15
15
|
// Used internally for styling
|
|
16
16
|
[`item-group-${theme}`]: true,
|
|
@@ -45,12 +45,12 @@ export class ItemOption {
|
|
|
45
45
|
href: this.href,
|
|
46
46
|
target: this.target,
|
|
47
47
|
};
|
|
48
|
-
return (h(Host, { key: '
|
|
48
|
+
return (h(Host, { key: 'afac18b1ad280f873f76c49041d5710d0e7adc54', onClick: this.onClick, class: createColorClasses(this.color, {
|
|
49
49
|
[theme]: true,
|
|
50
50
|
'item-option-disabled': disabled,
|
|
51
51
|
'item-option-expandable': expandable,
|
|
52
52
|
'ion-activatable': true,
|
|
53
|
-
}) }, h(TagType, Object.assign({ key: '
|
|
53
|
+
}) }, h(TagType, Object.assign({ key: '6dd63941993716374155cdbb4ba2665cf4e20f82' }, attrs, { class: "button-native", part: "native", disabled: disabled }), h("span", { key: '511a31527efad43e74b512c70b314b218439d2ec', class: "button-inner" }, h("slot", { key: '8d7dd33c218391817ec59399565f00423c6d5c1c', name: "top" }), h("div", { key: '1a49be28e08f82f61ae64819a809ffaacae3fab2', class: "horizontal-wrapper" }, h("slot", { key: 'ffa4859d7738305940d79a6020c74ee2a56b123e', name: "start" }), h("slot", { key: 'bc64fa31d19ae447cbad86a9569e069348d2ef5a', name: "icon-only" }), h("slot", { key: '1c2df529ecc65c5906b90a8c0eb050b9cdc26ae7' }), h("slot", { key: 'ef3f2596247bc40e841c8470052573fac014a258', name: "end" })), h("slot", { key: '1235903f302ef8f253579cadefce001453afbdb9', name: "bottom" })), theme === 'md' && h("ion-ripple-effect", null))));
|
|
54
54
|
}
|
|
55
55
|
static get is() { return "ion-item-option"; }
|
|
56
56
|
static get encapsulation() { return "shadow"; }
|
|
@@ -21,7 +21,7 @@ export class ItemOptions {
|
|
|
21
21
|
render() {
|
|
22
22
|
const theme = getIonTheme(this);
|
|
23
23
|
const isEnd = isEndSide(this.side);
|
|
24
|
-
return (h(Host, { key: '
|
|
24
|
+
return (h(Host, { key: 'b3afa3261f85f19616974adade53617b2d8563e9', class: {
|
|
25
25
|
[theme]: true,
|
|
26
26
|
// Used internally for styling
|
|
27
27
|
[`item-options-${theme}`]: true,
|
|
@@ -390,7 +390,7 @@ export class ItemSliding {
|
|
|
390
390
|
}
|
|
391
391
|
render() {
|
|
392
392
|
const theme = getIonTheme(this);
|
|
393
|
-
return (h(Host, { key: '
|
|
393
|
+
return (h(Host, { key: 'a7c3bf766f29173ccb601e781dc8cad6d47cf7bf', class: {
|
|
394
394
|
[theme]: true,
|
|
395
395
|
'item-sliding-active-slide': this.state !== 2 /* SlidingState.Disabled */,
|
|
396
396
|
'item-sliding-active-options-end': (this.state & 8 /* SlidingState.End */) !== 0,
|
|
@@ -56,13 +56,13 @@ export class Label {
|
|
|
56
56
|
render() {
|
|
57
57
|
const position = this.position;
|
|
58
58
|
const theme = getIonTheme(this);
|
|
59
|
-
return (h(Host, { key: '
|
|
59
|
+
return (h(Host, { key: '0702770a60d2b7ee11516a03d64512ceb04598a9', class: createColorClasses(this.color, {
|
|
60
60
|
[theme]: true,
|
|
61
61
|
'in-item-color': hostContext('ion-item.ion-color', this.el),
|
|
62
62
|
[`label-${position}`]: position !== undefined,
|
|
63
63
|
[`label-no-animate`]: this.noAnimate,
|
|
64
64
|
'label-rtl': document.dir === 'rtl',
|
|
65
|
-
}) }, h("slot", { key: '
|
|
65
|
+
}) }, h("slot", { key: '39ed97bbc43c0397928a5957f298ff6003ee41bc' })));
|
|
66
66
|
}
|
|
67
67
|
static get is() { return "ion-label"; }
|
|
68
68
|
static get encapsulation() { return "scoped"; }
|
|
@@ -28,7 +28,7 @@ export class List {
|
|
|
28
28
|
render() {
|
|
29
29
|
const theme = getIonTheme(this);
|
|
30
30
|
const { lines, inset } = this;
|
|
31
|
-
return (h(Host, { key: '
|
|
31
|
+
return (h(Host, { key: '6c5a585619f19b6b5b54cc050377791dd8fe63b3', role: "list", class: {
|
|
32
32
|
[theme]: true,
|
|
33
33
|
// Used internally for styling
|
|
34
34
|
[`list-${theme}`]: true,
|
|
@@ -16,10 +16,10 @@ export class ListHeader {
|
|
|
16
16
|
render() {
|
|
17
17
|
const { lines } = this;
|
|
18
18
|
const theme = getIonTheme(this);
|
|
19
|
-
return (h(Host, { key: '
|
|
19
|
+
return (h(Host, { key: '878156ec53e87d2162d67fdf5158e4a17863ef29', class: createColorClasses(this.color, {
|
|
20
20
|
[theme]: true,
|
|
21
21
|
[`list-header-lines-${lines}`]: lines !== undefined,
|
|
22
|
-
}) }, h("div", { key: '
|
|
22
|
+
}) }, h("div", { key: 'c3a66389e89131967de9592528e48d69e8533d14', class: "list-header-inner" }, h("slot", { key: '6242c8008a12144598e463a0404597a0c3f097ef' }))));
|
|
23
23
|
}
|
|
24
24
|
static get is() { return "ion-list-header"; }
|
|
25
25
|
static get encapsulation() { return "shadow"; }
|
|
@@ -159,9 +159,9 @@ export class Loading {
|
|
|
159
159
|
* Otherwise, don't set aria-labelledby.
|
|
160
160
|
*/
|
|
161
161
|
const ariaLabelledBy = message !== undefined ? msgId : null;
|
|
162
|
-
return (h(Host, Object.assign({ key: '
|
|
162
|
+
return (h(Host, Object.assign({ key: 'cf9f1646059eb9c9cf0df97869f0d88761bacf5f', role: "dialog", "aria-modal": "true", "aria-labelledby": ariaLabelledBy, tabindex: "-1" }, htmlAttributes, { style: {
|
|
163
163
|
zIndex: `${40000 + this.overlayIndex}`,
|
|
164
|
-
}, onIonBackdropTap: this.onBackdropTap, class: Object.assign(Object.assign({}, getClassMap(this.cssClass)), { [theme]: true, 'overlay-hidden': true, 'loading-translucent': this.translucent }) }), h("ion-backdrop", { key: '
|
|
164
|
+
}, onIonBackdropTap: this.onBackdropTap, class: Object.assign(Object.assign({}, getClassMap(this.cssClass)), { [theme]: true, 'overlay-hidden': true, 'loading-translucent': this.translucent }) }), h("ion-backdrop", { key: 'f4f2e08b3c28cee68dfd1965c51c852fb90bc413', visible: this.showBackdrop, tappable: this.backdropDismiss }), h("div", { key: '37e6b589b2bdb54753783dccb46352a40b9c4df8', tabindex: "0" }), h("div", { key: 'f32094cb0194bb463df7e5f4a6cb29cfd67bda7c', class: "loading-wrapper ion-overlay-wrapper" }, spinner && (h("div", { class: "loading-spinner" }, h("ion-spinner", { name: spinner, "aria-hidden": "true" }))), message !== undefined && this.renderLoadingMessage(msgId)), h("div", { key: '2a1748f874a77f137edb962ba3d697adfd113885', tabindex: "0" })));
|
|
165
165
|
}
|
|
166
166
|
static get is() { return "ion-loading"; }
|
|
167
167
|
static get encapsulation() { return "scoped"; }
|
|
@@ -589,14 +589,14 @@ export class Menu {
|
|
|
589
589
|
* the ionBackButton listener in the menu controller
|
|
590
590
|
* will handle closing the menu when Escape is pressed.
|
|
591
591
|
*/
|
|
592
|
-
return (h(Host, { key: '
|
|
592
|
+
return (h(Host, { key: '992d219168e9434ee02b3e001ad337c581a8d945', onKeyDown: shouldUseCloseWatcher() ? null : this.onKeydown, role: "navigation", "aria-label": inheritedAttributes['aria-label'] || 'menu', class: {
|
|
593
593
|
[theme]: true,
|
|
594
594
|
[`menu-type-${type}`]: true,
|
|
595
595
|
'menu-enabled': !disabled,
|
|
596
596
|
[`menu-side-${side}`]: true,
|
|
597
597
|
'menu-pane-visible': isPaneVisible,
|
|
598
598
|
'split-pane-side': hostContext('ion-split-pane', el),
|
|
599
|
-
} }, h("div", { key: '
|
|
599
|
+
} }, h("div", { key: 'd32b67bdcaafa6590a5a9d9ff9d3755f5b5f715a', class: "menu-inner", part: "container", ref: (el) => (this.menuInnerEl = el) }, h("slot", { key: 'ecdad8c9f4000bb5c79385d68f0848b2cf95b5b2' })), h("ion-backdrop", { key: '13fe3027cb8ac17761c9d044c6283d9a26b486b1', ref: (el) => (this.backdropEl = el), class: "menu-backdrop", tappable: false, stopPropagation: false, part: "backdrop" })));
|
|
600
600
|
}
|
|
601
601
|
static get is() { return "ion-menu"; }
|
|
602
602
|
static get encapsulation() { return "shadow"; }
|
|
@@ -47,7 +47,7 @@ export class MenuButton {
|
|
|
47
47
|
type: this.type,
|
|
48
48
|
};
|
|
49
49
|
const ariaLabel = inheritedAttributes['aria-label'] || 'menu';
|
|
50
|
-
return (h(Host, { key: '
|
|
50
|
+
return (h(Host, { key: 'f6bdc7c810c7df4a76dab326295c08f3dfa87abe', onClick: this.onClick, "aria-disabled": disabled ? 'true' : null, "aria-hidden": hidden ? 'true' : null, class: createColorClasses(color, {
|
|
51
51
|
[theme]: true,
|
|
52
52
|
button: true, // ion-buttons target .button
|
|
53
53
|
'menu-button-hidden': hidden,
|
|
@@ -56,7 +56,7 @@ export class MenuButton {
|
|
|
56
56
|
'in-toolbar-color': hostContext('ion-toolbar[color]', this.el),
|
|
57
57
|
'ion-activatable': true,
|
|
58
58
|
'ion-focusable': true,
|
|
59
|
-
}) }, h("button", Object.assign({ key: '
|
|
59
|
+
}) }, h("button", Object.assign({ key: '962db265439e4fbbf7d012eb01e375387b75956b' }, attrs, { disabled: disabled, class: "button-native", part: "native", "aria-label": ariaLabel }), h("span", { key: 'f8e5c4c84cd8f884d3d85e70d534febe1bd7f567', class: "button-inner" }, h("slot", { key: '9edba975bcf8a4cde652aff502b47fadf8d69036' }, h("ion-icon", { key: '667c140306953ebf95b604ead4c712242b90bac0', part: "icon", icon: menuIcon, lazy: false, "aria-hidden": "true" }))), theme === 'md' && h("ion-ripple-effect", { type: "unbounded" }))));
|
|
60
60
|
}
|
|
61
61
|
static get is() { return "ion-menu-button"; }
|
|
62
62
|
static get encapsulation() { return "shadow"; }
|
|
@@ -29,10 +29,10 @@ export class MenuToggle {
|
|
|
29
29
|
render() {
|
|
30
30
|
const theme = getIonTheme(this);
|
|
31
31
|
const hidden = this.autoHide && !this.visible;
|
|
32
|
-
return (h(Host, { key: '
|
|
32
|
+
return (h(Host, { key: '66f29363d2c6fcf24458ff7013531cea2b15c14c', onClick: this.onClick, "aria-hidden": hidden ? 'true' : null, class: {
|
|
33
33
|
[theme]: true,
|
|
34
34
|
'menu-toggle-hidden': hidden,
|
|
35
|
-
} }, h("slot", { key: '
|
|
35
|
+
} }, h("slot", { key: 'ef35254cfb31f109ebc67671983d87b653d568fa' })));
|
|
36
36
|
}
|
|
37
37
|
static get is() { return "ion-menu-toggle"; }
|
|
38
38
|
static get encapsulation() { return "shadow"; }
|
|
@@ -563,9 +563,9 @@ export class Modal {
|
|
|
563
563
|
const theme = getIonTheme(this);
|
|
564
564
|
const isCardModal = presentingElement !== undefined && theme === 'ios';
|
|
565
565
|
const isHandleCycle = handleBehavior === 'cycle';
|
|
566
|
-
return (h(Host, Object.assign({ key: '
|
|
566
|
+
return (h(Host, Object.assign({ key: '0e6dbd096571f5d7fc8f34da1c2aab10598dd65d', "no-router": true, tabindex: "-1" }, htmlAttributes, { style: {
|
|
567
567
|
zIndex: `${20000 + this.overlayIndex}`,
|
|
568
|
-
}, class: Object.assign({ [theme]: true, ['modal-default']: !isCardModal && !isSheetModal, [`modal-card`]: isCardModal, [`modal-sheet`]: isSheetModal, 'overlay-hidden': true }, getClassMap(this.cssClass)), onIonBackdropTap: this.onBackdropTap, onIonModalDidPresent: this.onLifecycle, onIonModalWillPresent: this.onLifecycle, onIonModalWillDismiss: this.onLifecycle, onIonModalDidDismiss: this.onLifecycle }), h("ion-backdrop", { key: '
|
|
568
|
+
}, class: Object.assign({ [theme]: true, ['modal-default']: !isCardModal && !isSheetModal, [`modal-card`]: isCardModal, [`modal-sheet`]: isSheetModal, 'overlay-hidden': true }, getClassMap(this.cssClass)), onIonBackdropTap: this.onBackdropTap, onIonModalDidPresent: this.onLifecycle, onIonModalWillPresent: this.onLifecycle, onIonModalWillDismiss: this.onLifecycle, onIonModalDidDismiss: this.onLifecycle }), h("ion-backdrop", { key: '76b0f13942696cb28c58674c3c76f6194b639021', ref: (el) => (this.backdropEl = el), visible: this.showBackdrop, tappable: this.backdropDismiss, part: "backdrop" }), theme === 'ios' && h("div", { class: "modal-shadow" }), h("div", Object.assign({ key: '52c11dfd4d0885e0f0843175ea390002334c8912',
|
|
569
569
|
/*
|
|
570
570
|
role and aria-modal must be used on the
|
|
571
571
|
same element. They must also be set inside the
|
|
@@ -574,7 +574,7 @@ export class Modal {
|
|
|
574
574
|
*/
|
|
575
575
|
role: "dialog" }, inheritedAttributes, { "aria-modal": "true", class: "modal-wrapper ion-overlay-wrapper", part: "content", ref: (el) => (this.wrapperEl = el) }), showHandle && (h("button", { class: "modal-handle",
|
|
576
576
|
// Prevents the handle from receiving keyboard focus when it does not cycle
|
|
577
|
-
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: '
|
|
577
|
+
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: '72b88f97cbbf47bcea140b01484edc681833ab7f' }))));
|
|
578
578
|
}
|
|
579
579
|
static get is() { return "ion-modal"; }
|
|
580
580
|
static get encapsulation() { return "shadow"; }
|
|
@@ -836,7 +836,7 @@ export class Nav {
|
|
|
836
836
|
}
|
|
837
837
|
}
|
|
838
838
|
render() {
|
|
839
|
-
return h("slot", { key: '
|
|
839
|
+
return h("slot", { key: '4a59480d82787c8ac6c118f9b37cd378f4b24373' });
|
|
840
840
|
}
|
|
841
841
|
static get is() { return "ion-nav"; }
|
|
842
842
|
static get encapsulation() { return "shadow"; }
|
|
@@ -18,7 +18,7 @@ export class NavLink {
|
|
|
18
18
|
this.routerAnimation = undefined;
|
|
19
19
|
}
|
|
20
20
|
render() {
|
|
21
|
-
return h(Host, { key: '
|
|
21
|
+
return h(Host, { key: '790b4ed7d6b4998e4e0e1ef11d8860754324e9a9', onClick: this.onClick });
|
|
22
22
|
}
|
|
23
23
|
static get is() { return "ion-nav-link"; }
|
|
24
24
|
static get properties() {
|
|
@@ -14,9 +14,9 @@ export class Note {
|
|
|
14
14
|
}
|
|
15
15
|
render() {
|
|
16
16
|
const theme = getIonTheme(this);
|
|
17
|
-
return (h(Host, { key: '
|
|
17
|
+
return (h(Host, { key: 'b1cdaf64409931cc89cd37a457933ae60d34a7a3', class: createColorClasses(this.color, {
|
|
18
18
|
[theme]: true,
|
|
19
|
-
}) }, h("slot", { key: '
|
|
19
|
+
}) }, h("slot", { key: '7835cb5ff344e6872ef551f48e80ed736f7844f8' })));
|
|
20
20
|
}
|
|
21
21
|
static get is() { return "ion-note"; }
|
|
22
22
|
static get encapsulation() { return "shadow"; }
|
|
@@ -80,10 +80,10 @@ export class PickerColumnOption {
|
|
|
80
80
|
render() {
|
|
81
81
|
const { color, disabled, ariaLabel } = this;
|
|
82
82
|
const theme = getIonTheme(this);
|
|
83
|
-
return (h(Host, { key: '
|
|
83
|
+
return (h(Host, { key: '6c9db63d7bbbec2bdbf396a755a12fd2161e0945', class: createColorClasses(color, {
|
|
84
84
|
[theme]: true,
|
|
85
85
|
['option-disabled']: disabled,
|
|
86
|
-
}) }, h("button", { key: '
|
|
86
|
+
}) }, h("button", { key: 'a81fdec2b6df1a0a90fc8cd4e5605ef415ec3acd', tabindex: "-1", "aria-label": ariaLabel, disabled: disabled, onClick: () => this.onClick() }, h("slot", { key: 'ea9a8830d3351ef8f6fb61eca3ed0252505e3854' }))));
|
|
87
87
|
}
|
|
88
88
|
static get is() { return "ion-picker-column-option"; }
|
|
89
89
|
static get encapsulation() { return "shadow"; }
|
|
@@ -183,11 +183,11 @@ export class Picker {
|
|
|
183
183
|
render() {
|
|
184
184
|
const { htmlAttributes } = this;
|
|
185
185
|
const theme = getIonTheme(this);
|
|
186
|
-
return (h(Host, Object.assign({ key: '
|
|
186
|
+
return (h(Host, Object.assign({ key: 'ad6fd4292dc1e48c7a6043eb5593e2d5f5785b8f', "aria-modal": "true", tabindex: "-1" }, htmlAttributes, { style: {
|
|
187
187
|
zIndex: `${20000 + this.overlayIndex}`,
|
|
188
188
|
}, class: Object.assign({ [theme]: true,
|
|
189
189
|
// Used internally for styling
|
|
190
|
-
[`picker-${theme}`]: true, 'overlay-hidden': true }, getClassMap(this.cssClass)), onIonBackdropTap: this.onBackdropTap, onIonPickerWillDismiss: this.dispatchCancelHandler }), h("ion-backdrop", { key: '
|
|
190
|
+
[`picker-${theme}`]: true, 'overlay-hidden': true }, getClassMap(this.cssClass)), onIonBackdropTap: this.onBackdropTap, onIonPickerWillDismiss: this.dispatchCancelHandler }), h("ion-backdrop", { key: '0858064f2ee5c3c7f872703333a361b89986481e', visible: this.showBackdrop, tappable: this.backdropDismiss }), h("div", { key: 'f1775e0f116f322d4e50b8b3df9c8e61bc928509', tabindex: "0" }), h("div", { key: '4756c02f70314f0c23548ea49251462e9ca38178', class: "picker-wrapper ion-overlay-wrapper", role: "dialog" }, h("div", { key: '9a805996f53afc87334bdcbdcac59aadd83e1700', 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: '13c01d5c3e6400c09f9b68fdb7d2805992a959a5', class: "picker-columns" }, h("div", { key: 'a4a65cf3a0e6700d70f2b615125a3b970aa52b5d', class: "picker-above-highlight" }), this.presented && this.columns.map((c) => h("ion-picker-legacy-column", { col: c })), h("div", { key: 'b9d6480fe2c9d1d967b94ba304e8d9b77a0a81a1', class: "picker-below-highlight" }))), h("div", { key: '6a1edbe51a5983e2a91990b0b9652e20c08f63f1', tabindex: "0" })));
|
|
191
191
|
}
|
|
192
192
|
static get is() { return "ion-picker-legacy"; }
|
|
193
193
|
static get encapsulation() { return "scoped"; }
|
|
@@ -336,9 +336,9 @@ export class PickerColumnCmp {
|
|
|
336
336
|
render() {
|
|
337
337
|
const col = this.col;
|
|
338
338
|
const theme = getIonTheme(this);
|
|
339
|
-
return (h(Host, { key: '
|
|
339
|
+
return (h(Host, { key: '4d33c5b3df0a872caf31d139161f462c02a5c692', class: Object.assign({ [theme]: 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", { class: "picker-prefix", style: { width: col.prefixWidth } }, col.prefix)), h("div", { key: '
|
|
341
|
+
} }, col.prefix && (h("div", { class: "picker-prefix", style: { width: col.prefixWidth } }, col.prefix)), h("div", { key: 'add69fbafbaf68acc0a70a6a7204c96a433e062c', 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", { 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() {
|
|
@@ -337,9 +337,9 @@ export class Popover {
|
|
|
337
337
|
const { onLifecycle, parentPopover, dismissOnSelect, side, arrow, htmlAttributes } = this;
|
|
338
338
|
const desktop = isPlatform('desktop');
|
|
339
339
|
const enableArrow = arrow && !parentPopover;
|
|
340
|
-
return (h(Host, Object.assign({ key: '
|
|
340
|
+
return (h(Host, Object.assign({ key: '674ba80824b20ef7c69b04bf5118a74097d86fbd', "aria-modal": "true", "no-router": true, tabindex: "-1" }, htmlAttributes, { style: {
|
|
341
341
|
zIndex: `${20000 + this.overlayIndex}`,
|
|
342
|
-
}, class: Object.assign(Object.assign({}, getClassMap(this.cssClass)), { [theme]: true, 'popover-translucent': this.translucent, 'overlay-hidden': true, 'popover-desktop': desktop, [`popover-side-${side}`]: true, 'popover-nested': !!parentPopover }), onIonPopoverDidPresent: onLifecycle, onIonPopoverWillPresent: onLifecycle, onIonPopoverWillDismiss: onLifecycle, onIonPopoverDidDismiss: onLifecycle, onIonBackdropTap: this.onBackdropTap }), !parentPopover && h("ion-backdrop", { tappable: this.backdropDismiss, visible: this.showBackdrop, part: "backdrop" }), h("div", { key: '
|
|
342
|
+
}, class: Object.assign(Object.assign({}, getClassMap(this.cssClass)), { [theme]: true, 'popover-translucent': this.translucent, 'overlay-hidden': true, 'popover-desktop': desktop, [`popover-side-${side}`]: true, 'popover-nested': !!parentPopover }), onIonPopoverDidPresent: onLifecycle, onIonPopoverWillPresent: onLifecycle, onIonPopoverWillDismiss: onLifecycle, onIonPopoverDidDismiss: onLifecycle, onIonBackdropTap: this.onBackdropTap }), !parentPopover && h("ion-backdrop", { tappable: this.backdropDismiss, visible: this.showBackdrop, part: "backdrop" }), h("div", { key: 'bbbd02b9aeba1b6a38f91870a4c98d82a2556525', class: "popover-wrapper ion-overlay-wrapper", onClick: dismissOnSelect ? () => this.dismiss() : undefined }, enableArrow && h("div", { class: "popover-arrow", part: "arrow" }), h("div", { key: 'f757dea98dcb7eace3b870bc4a5b552c0b66913c', class: "popover-content", part: "content" }, h("slot", { key: '9e126f559e5d7dc382db1499268bcb83a18b2991' })))));
|
|
343
343
|
}
|
|
344
344
|
static get is() { return "ion-popover"; }
|
|
345
345
|
static get encapsulation() { return "shadow"; }
|
|
@@ -29,7 +29,7 @@ export class ProgressBar {
|
|
|
29
29
|
const theme = getIonTheme(this);
|
|
30
30
|
// If the progress is displayed as a solid bar.
|
|
31
31
|
const progressSolid = buffer === 1;
|
|
32
|
-
return (h(Host, { key: '
|
|
32
|
+
return (h(Host, { key: '63618b06100d3a77c225b5d816a699eebed46407', role: "progressbar", "aria-valuenow": type === 'determinate' ? value : null, "aria-valuemin": "0", "aria-valuemax": "1", class: createColorClasses(color, {
|
|
33
33
|
[theme]: true,
|
|
34
34
|
[`progress-bar-${type}`]: true,
|
|
35
35
|
'progress-paused': paused,
|
|
@@ -108,7 +108,7 @@ export class Radio {
|
|
|
108
108
|
const { checked, disabled, color, el, justify, labelPlacement, hasLabel, buttonTabindex, alignment } = this;
|
|
109
109
|
const theme = getIonTheme(this);
|
|
110
110
|
const inItem = hostContext('ion-item', el);
|
|
111
|
-
return (h(Host, { key: '
|
|
111
|
+
return (h(Host, { key: 'eaf187c324eac384a50e00d3a72b55c9dfd5f4d1', onFocus: this.onFocus, onBlur: this.onBlur, onClick: this.onClick, class: createColorClasses(color, {
|
|
112
112
|
[theme]: true,
|
|
113
113
|
'in-item': inItem,
|
|
114
114
|
'radio-checked': checked,
|
|
@@ -119,10 +119,10 @@ export class Radio {
|
|
|
119
119
|
// Focus and active styling should not apply when the radio is in an item
|
|
120
120
|
'ion-activatable': !inItem,
|
|
121
121
|
'ion-focusable': !inItem,
|
|
122
|
-
}), role: "radio", "aria-checked": checked ? 'true' : 'false', "aria-disabled": disabled ? 'true' : null, tabindex: buttonTabindex }, h("label", { key: '
|
|
122
|
+
}), role: "radio", "aria-checked": checked ? 'true' : 'false', "aria-disabled": disabled ? 'true' : null, tabindex: buttonTabindex }, h("label", { key: '56ad02309e8d746c4e97fc21bef63c004fadff86', class: "radio-wrapper" }, h("div", { key: '5463297de58985d6933a921629caa52c49a427ed', class: {
|
|
123
123
|
'label-text-wrapper': true,
|
|
124
124
|
'label-text-wrapper-hidden': !hasLabel,
|
|
125
|
-
}, part: "label" }, h("slot", { key: '
|
|
125
|
+
}, part: "label" }, h("slot", { key: 'a95043a62dbb91ad8fea12a5ed6f09824cbd99cc' })), h("div", { key: 'dc725d623aee66e27ccc7747a135ebf7d031a258', class: "native-wrapper" }, this.renderRadioControl()))));
|
|
126
126
|
}
|
|
127
127
|
static get is() { return "ion-radio"; }
|
|
128
128
|
static get encapsulation() { return "shadow"; }
|
|
@@ -157,7 +157,7 @@ export class RadioGroup {
|
|
|
157
157
|
const { label, labelId, el, name, value } = this;
|
|
158
158
|
const theme = getIonTheme(this);
|
|
159
159
|
renderHiddenInput(true, el, name, value, false);
|
|
160
|
-
return (h(Host, { key: '
|
|
160
|
+
return (h(Host, { key: '2f7a60d168cde3bd86c2b68369b09bf396dfc0fa', class: {
|
|
161
161
|
[theme]: true,
|
|
162
162
|
}, role: "radiogroup", "aria-labelledby": label ? labelId : null, onClick: this.onClick }));
|
|
163
163
|
}
|
|
@@ -562,7 +562,7 @@ export class Range {
|
|
|
562
562
|
const needsEndAdjustment = inItem && !hasEndContent;
|
|
563
563
|
const theme = getIonTheme(this);
|
|
564
564
|
renderHiddenInput(true, el, this.name, JSON.stringify(this.getValue()), disabled);
|
|
565
|
-
return (h(Host, { key: '
|
|
565
|
+
return (h(Host, { key: 'fd6045944a8eb8a13c8996cd6611fcd9cec6d3b4', onFocusin: this.onFocus, onFocusout: this.onBlur, id: rangeId, class: createColorClasses(this.color, {
|
|
566
566
|
[theme]: true,
|
|
567
567
|
'in-item': inItem,
|
|
568
568
|
'range-disabled': disabled,
|
|
@@ -571,10 +571,10 @@ export class Range {
|
|
|
571
571
|
[`range-label-placement-${labelPlacement}`]: true,
|
|
572
572
|
'range-item-start-adjustment': needsStartAdjustment,
|
|
573
573
|
'range-item-end-adjustment': needsEndAdjustment,
|
|
574
|
-
}) }, h("label", { key: '
|
|
574
|
+
}) }, h("label", { key: '6c9416a25e26352492b9fc13a07e754c518afc6b', class: "range-wrapper", id: "range-label" }, h("div", { key: '69580aa21219d9901351ea8db101e426064c4c5b', class: {
|
|
575
575
|
'label-text-wrapper': true,
|
|
576
576
|
'label-text-wrapper-hidden': !hasLabel,
|
|
577
|
-
}, part: "label" }, label !== undefined ? h("div", { class: "label-text" }, label) : h("slot", { name: "label" })), h("div", { key: '
|
|
577
|
+
}, part: "label" }, label !== undefined ? h("div", { class: "label-text" }, label) : h("slot", { name: "label" })), h("div", { key: '066ecb1e374d17b2d5eceb808f54562310dc17ff', class: "native-wrapper" }, h("slot", { key: '409c88e5b93afa77bed78deb471c60a01090662e', name: "start" }), this.renderRangeSlider(), h("slot", { key: '580d31ac5abf623e9e9c1af09ce33ac4192dbc89', name: "end" })))));
|
|
578
578
|
}
|
|
579
579
|
static get is() { return "ion-range"; }
|
|
580
580
|
static get encapsulation() { return "shadow"; }
|
|
@@ -595,7 +595,7 @@ export class Refresher {
|
|
|
595
595
|
}
|
|
596
596
|
render() {
|
|
597
597
|
const theme = getIonTheme(this);
|
|
598
|
-
return (h(Host, { key: '
|
|
598
|
+
return (h(Host, { key: 'c4257458e87911a8ff8be8d55044f0515070e7bf', slot: "fixed", class: {
|
|
599
599
|
[theme]: true,
|
|
600
600
|
// Used internally for styling
|
|
601
601
|
[`refresher-${theme}`]: true,
|
|
@@ -55,9 +55,9 @@ export class RefresherContent {
|
|
|
55
55
|
const pullingIcon = this.pullingIcon;
|
|
56
56
|
const hasSpinner = pullingIcon != null && SPINNERS[pullingIcon] !== undefined;
|
|
57
57
|
const theme = getIonTheme(this);
|
|
58
|
-
return (h(Host, { key: '
|
|
58
|
+
return (h(Host, { key: '85a44b93142f4a0c05e14ecd39ec44d4047d7cc0', class: {
|
|
59
59
|
[theme]: true,
|
|
60
|
-
} }, h("div", { key: '
|
|
60
|
+
} }, h("div", { key: 'bfcfe123ee64018a5788cc9d8742287f3a981682', class: "refresher-pulling" }, this.pullingIcon && hasSpinner && (h("div", { class: "refresher-pulling-icon" }, h("div", { class: "spinner-arrow-container" }, h("ion-spinner", { name: this.pullingIcon, paused: true }), theme === 'md' && this.pullingIcon === 'circular' && (h("div", { class: "arrow-container" }, h("ion-icon", { icon: caretBackSharp, "aria-hidden": "true" })))))), this.pullingIcon && !hasSpinner && (h("div", { class: "refresher-pulling-icon" }, h("ion-icon", { icon: this.pullingIcon, lazy: false, "aria-hidden": "true" }))), this.pullingText !== undefined && this.renderPullingText()), h("div", { key: '3e0abc2a65509625c5ea14e5dddcd833b8d5c34d', class: "refresher-refreshing" }, this.refreshingSpinner && (h("div", { class: "refresher-refreshing-icon" }, h("ion-spinner", { name: this.refreshingSpinner }))), this.refreshingText !== undefined && this.renderRefreshingText())));
|
|
61
61
|
}
|
|
62
62
|
static get is() { return "ion-refresher-content"; }
|
|
63
63
|
static get properties() {
|
|
@@ -23,9 +23,9 @@ export class Reorder {
|
|
|
23
23
|
render() {
|
|
24
24
|
const theme = getIonTheme(this);
|
|
25
25
|
const reorderIcon = theme === 'ios' ? reorderThreeOutline : reorderTwoSharp;
|
|
26
|
-
return (h(Host, { key: '
|
|
26
|
+
return (h(Host, { key: '28e184fe304172c51b0562ae11f1f85bb91acfbe', class: {
|
|
27
27
|
[theme]: true,
|
|
28
|
-
} }, h("slot", { key: '
|
|
28
|
+
} }, h("slot", { key: '020bf9424b64d050e85dde330acc2c92917d515d' }, h("ion-icon", { key: '753a238e178dcd8a1a7a5611b553ee6dac878255', icon: reorderIcon, lazy: false, class: "reorder-icon", part: "icon", "aria-hidden": "true" }))));
|
|
29
29
|
}
|
|
30
30
|
static get is() { return "ion-reorder"; }
|
|
31
31
|
static get encapsulation() { return "shadow"; }
|
|
@@ -242,7 +242,7 @@ export class ReorderGroup {
|
|
|
242
242
|
}
|
|
243
243
|
render() {
|
|
244
244
|
const theme = getIonTheme(this);
|
|
245
|
-
return (h(Host, { key: '
|
|
245
|
+
return (h(Host, { key: '224918a96b7e85d6e4f8b774da8d5ba4e139825a', class: {
|
|
246
246
|
[theme]: true,
|
|
247
247
|
'reorder-enabled': !this.disabled,
|
|
248
248
|
'reorder-list-active': this.state !== 0 /* ReorderGroupState.Idle */,
|
|
@@ -63,7 +63,7 @@ export class RippleEffect {
|
|
|
63
63
|
}
|
|
64
64
|
render() {
|
|
65
65
|
const theme = getIonTheme(this);
|
|
66
|
-
return (h(Host, { key: '
|
|
66
|
+
return (h(Host, { key: '530778f547a554267bdf37366f60d26064016c4d', role: "presentation", class: {
|
|
67
67
|
[theme]: true,
|
|
68
68
|
unbounded: this.unbounded,
|
|
69
69
|
} }));
|
|
@@ -27,10 +27,10 @@ export class RouterLink {
|
|
|
27
27
|
rel: this.rel,
|
|
28
28
|
target: this.target,
|
|
29
29
|
};
|
|
30
|
-
return (h(Host, { key: '
|
|
30
|
+
return (h(Host, { key: '8de6795119ef7ef66fcb2666198b47ed0a89c1e0', onClick: this.onClick, class: createColorClasses(this.color, {
|
|
31
31
|
[theme]: true,
|
|
32
32
|
'ion-activatable': true,
|
|
33
|
-
}) }, h("a", Object.assign({ key: '
|
|
33
|
+
}) }, h("a", Object.assign({ key: 'e7bfa23fa6cde7def307d8eb962ba0b3a04bacc7' }, attrs), h("slot", { key: 'b7bf42a00137767eace70fe2a637a7f0faf1a333' }))));
|
|
34
34
|
}
|
|
35
35
|
static get is() { return "ion-router-link"; }
|
|
36
36
|
static get encapsulation() { return "shadow"; }
|
|
@@ -180,7 +180,7 @@ export class RouterOutlet {
|
|
|
180
180
|
return true;
|
|
181
181
|
}
|
|
182
182
|
render() {
|
|
183
|
-
return h("slot", { key: '
|
|
183
|
+
return h("slot", { key: 'e48ce56d7e579635a6c4eec7b01dda14df62d0c6' });
|
|
184
184
|
}
|
|
185
185
|
static get is() { return "ion-router-outlet"; }
|
|
186
186
|
static get encapsulation() { return "shadow"; }
|
|
@@ -10,9 +10,9 @@ import { getIonTheme } from "../../global/ionic-global";
|
|
|
10
10
|
export class Row {
|
|
11
11
|
render() {
|
|
12
12
|
const theme = getIonTheme(this);
|
|
13
|
-
return (h(Host, { key: '
|
|
13
|
+
return (h(Host, { key: '157738c7cf82cd8ceb33b51c1eb84566bd51e805', class: {
|
|
14
14
|
[theme]: true,
|
|
15
|
-
} }, h("slot", { key: '
|
|
15
|
+
} }, h("slot", { key: 'dd90ecc26238c372b9f0d933786082732d42f798' })));
|
|
16
16
|
}
|
|
17
17
|
static get is() { return "ion-row"; }
|
|
18
18
|
static get encapsulation() { return "shadow"; }
|