@ionic/core 8.4.4-dev.11741648084.118e26ac → 8.4.4-dev.11741872392.110b2b59
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/checkbox.js +6 -40
- package/components/helpers.js +0 -28
- package/components/index6.js +3 -11
- package/components/ion-input.js +2 -2
- 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 +2 -2
- package/components/ion-segment-content.js +1 -1
- package/components/ion-segment-view.js +2 -2
- package/components/ion-segment.js +2 -2
- package/components/ion-select-option.js +1 -1
- package/components/ion-select.js +6 -50
- 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 +4 -4
- package/components/ion-thumbnail.js +1 -1
- package/components/ion-toast.js +2 -2
- package/components/ion-toggle.js +6 -40
- package/components/ionic-global.js +1 -12
- package/components/label.js +2 -2
- package/components/list-header.js +2 -2
- package/components/modal.js +35 -267
- 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/css/core.css.map +1 -1
- package/css/ionic.bundle.css.map +1 -1
- package/dist/cjs/{app-globals-4283fe37.js → app-globals-dd592863.js} +1 -1
- package/dist/cjs/{button-active-3f2f60b4.js → button-active-43e2b419.js} +1 -1
- package/dist/cjs/{data-26456291.js → data-21dc0f81.js} +1 -1
- package/dist/cjs/{framework-delegate-c4f2ba04.js → framework-delegate-11b0ba2f.js} +1 -1
- package/dist/cjs/{hardware-back-button-f2cbbdce.js → hardware-back-button-5a99001f.js} +2 -2
- package/dist/cjs/{helpers-b14a0f09.js → helpers-d0dfbb50.js} +0 -28
- package/dist/cjs/{index-73f75efb.js → index-2e236a04.js} +0 -4
- package/dist/cjs/{index-786364c7.js → index-363fe6b2.js} +1 -1
- package/dist/cjs/{index-6ad4725f.js → index-55a184f7.js} +6 -6
- package/dist/cjs/{index-275c982e.js → index-5915f9b3.js} +3 -11
- package/dist/cjs/{index-608fc5fd.js → index-77e085b4.js} +2 -2
- package/dist/cjs/{index-0d2610b6.js → index-864d95f4.js} +4 -4
- package/dist/cjs/index.cjs.js +11 -11
- package/dist/cjs/{input-shims-a2cf9d15.js → input-shims-52924092.js} +3 -5
- package/dist/cjs/{input.utils-18725f61.js → input.utils-e4144534.js} +2 -2
- package/dist/cjs/ion-accordion_2.cjs.entry.js +4 -4
- package/dist/cjs/ion-action-sheet.cjs.entry.js +8 -8
- package/dist/cjs/ion-alert.cjs.entry.js +8 -8
- package/dist/cjs/ion-app_8.cjs.entry.js +18 -18
- package/dist/cjs/ion-avatar_3.cjs.entry.js +3 -3
- package/dist/cjs/ion-back-button.cjs.entry.js +3 -3
- package/dist/cjs/ion-backdrop.cjs.entry.js +2 -2
- package/dist/cjs/ion-breadcrumb_2.cjs.entry.js +3 -3
- package/dist/cjs/ion-button_2.cjs.entry.js +4 -4
- package/dist/cjs/ion-card_5.cjs.entry.js +3 -3
- package/dist/cjs/ion-checkbox.cjs.entry.js +9 -40
- package/dist/cjs/ion-chip.cjs.entry.js +2 -2
- package/dist/cjs/ion-col_3.cjs.entry.js +3 -3
- package/dist/cjs/ion-datetime-button.cjs.entry.js +5 -5
- package/dist/cjs/ion-datetime_3.cjs.entry.js +12 -12
- package/dist/cjs/ion-fab_3.cjs.entry.js +3 -3
- package/dist/cjs/ion-img.cjs.entry.js +3 -3
- package/dist/cjs/ion-infinite-scroll_2.cjs.entry.js +5 -5
- package/dist/cjs/ion-input-password-toggle.cjs.entry.js +3 -3
- package/dist/cjs/ion-input.cjs.entry.js +8 -8
- package/dist/cjs/ion-item-option_3.cjs.entry.js +9 -9
- package/dist/cjs/ion-item_8.cjs.entry.js +14 -14
- package/dist/cjs/ion-loading.cjs.entry.js +9 -9
- package/dist/cjs/ion-menu_3.cjs.entry.js +14 -14
- package/dist/cjs/ion-modal.cjs.entry.js +44 -275
- package/dist/cjs/ion-nav_2.cjs.entry.js +9 -9
- package/dist/cjs/ion-picker-column-option.cjs.entry.js +5 -5
- package/dist/cjs/ion-picker-column.cjs.entry.js +3 -3
- package/dist/cjs/ion-picker.cjs.entry.js +2 -2
- package/dist/cjs/ion-popover.cjs.entry.js +10 -10
- package/dist/cjs/ion-progress-bar.cjs.entry.js +4 -4
- package/dist/cjs/ion-radio_2.cjs.entry.js +7 -42
- package/dist/cjs/ion-range.cjs.entry.js +8 -8
- package/dist/cjs/ion-refresher_2.cjs.entry.js +7 -7
- package/dist/cjs/ion-reorder_2.cjs.entry.js +7 -7
- package/dist/cjs/ion-ripple-effect.cjs.entry.js +3 -3
- package/dist/cjs/ion-route_4.cjs.entry.js +5 -5
- package/dist/cjs/ion-searchbar.cjs.entry.js +7 -7
- package/dist/cjs/ion-segment-content.cjs.entry.js +2 -2
- package/dist/cjs/ion-segment-view.cjs.entry.js +3 -3
- package/dist/cjs/ion-segment_2.cjs.entry.js +7 -7
- package/dist/cjs/ion-select-modal.cjs.entry.js +8 -8
- package/dist/cjs/ion-select_3.cjs.entry.js +16 -57
- package/dist/cjs/ion-spinner.cjs.entry.js +3 -3
- package/dist/cjs/ion-split-pane.cjs.entry.js +4 -4
- package/dist/cjs/ion-tab-bar_2.cjs.entry.js +7 -7
- package/dist/cjs/ion-tab_2.cjs.entry.js +6 -6
- package/dist/cjs/ion-text.cjs.entry.js +4 -4
- package/dist/cjs/ion-textarea.cjs.entry.js +10 -10
- package/dist/cjs/ion-toast.cjs.entry.js +9 -9
- package/dist/cjs/ion-toggle.cjs.entry.js +9 -40
- package/dist/cjs/{ionic-global-96da1b2e.js → ionic-global-acb665ad.js} +1 -12
- package/dist/cjs/ionic.cjs.js +4 -4
- package/dist/cjs/{ios.transition-e188169d.js → ios.transition-abac30e4.js} +5 -5
- package/dist/cjs/loader.cjs.js +4 -4
- package/dist/cjs/{md.transition-b66da2a1.js → md.transition-e328f70d.js} +5 -5
- package/dist/cjs/{notch-controller-bd07748b.js → notch-controller-58d2e557.js} +1 -1
- package/dist/cjs/{overlays-b0b07774.js → overlays-2f264f05.js} +5 -5
- package/dist/cjs/{status-tap-3b633cba.js → status-tap-191ccc90.js} +4 -5
- package/dist/cjs/{swipe-back-b70cd52e.js → swipe-back-951be2fd.js} +1 -1
- package/dist/collection/components/checkbox/checkbox.ios.css +15 -52
- package/dist/collection/components/checkbox/checkbox.js +4 -90
- package/dist/collection/components/checkbox/checkbox.md.css +15 -52
- package/dist/collection/components/input/input.ios.css +2 -3
- package/dist/collection/components/input/input.md.css +2 -7
- package/dist/collection/components/item-divider/item-divider.js +2 -2
- package/dist/collection/components/item-group/item-group.js +1 -1
- package/dist/collection/components/item-option/item-option.js +2 -2
- package/dist/collection/components/item-options/item-options.js +1 -1
- package/dist/collection/components/item-sliding/item-sliding.js +1 -1
- package/dist/collection/components/label/label.js +2 -2
- package/dist/collection/components/list-header/list-header.js +2 -2
- package/dist/collection/components/loading/loading.js +2 -2
- package/dist/collection/components/menu/menu.js +2 -2
- package/dist/collection/components/menu-button/menu-button.js +2 -2
- package/dist/collection/components/menu-toggle/menu-toggle.js +2 -2
- package/dist/collection/components/modal/animations/ios.enter.js +4 -50
- package/dist/collection/components/modal/animations/ios.leave.js +2 -24
- package/dist/collection/components/modal/animations/md.enter.js +5 -52
- package/dist/collection/components/modal/animations/md.leave.js +3 -26
- package/dist/collection/components/modal/animations/sheet.js +2 -11
- package/dist/collection/components/modal/gestures/sheet.js +10 -87
- package/dist/collection/components/modal/modal.ios.css +0 -16
- package/dist/collection/components/modal/modal.js +7 -32
- package/dist/collection/components/modal/modal.md.css +0 -6
- 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 +2 -2
- 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.ios.css +0 -59
- package/dist/collection/components/select/select.js +4 -100
- package/dist/collection/components/select/select.md.css +0 -61
- 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.ios.css +2 -3
- package/dist/collection/components/textarea/textarea.js +2 -2
- package/dist/collection/components/textarea/textarea.md.css +2 -7
- 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.ios.css +15 -52
- package/dist/collection/components/toggle/toggle.js +4 -90
- package/dist/collection/components/toggle/toggle.md.css +15 -52
- package/dist/collection/components/toolbar/toolbar.js +2 -6
- package/dist/collection/global/ionic-global.js +1 -12
- package/dist/collection/utils/helpers.js +0 -28
- package/dist/collection/utils/logging/index.js +3 -10
- package/dist/docs.json +2 -379
- package/dist/esm/{app-globals-c10a1137.js → app-globals-7b6cbf1a.js} +1 -1
- package/dist/esm/{button-active-f6503382.js → button-active-90f1dbc4.js} +1 -1
- package/dist/esm/{data-bf516e75.js → data-ae11fd43.js} +1 -1
- package/dist/esm/{framework-delegate-42bc40b1.js → framework-delegate-c7d92b77.js} +1 -1
- package/dist/esm/{hardware-back-button-44195e92.js → hardware-back-button-864101a3.js} +2 -2
- package/dist/esm/{helpers-13b816c6.js → helpers-e48b0397.js} +0 -28
- package/dist/esm/{index-28849c61.js → index-527b9e34.js} +1 -4
- package/dist/esm/{index-28c8fd64.js → index-8222b29f.js} +1 -1
- package/dist/esm/{index-ce8d38d0.js → index-9b0d46f4.js} +3 -11
- package/dist/esm/{index-879a2080.js → index-c4a831fd.js} +6 -6
- package/dist/esm/{index-ec2140bf.js → index-d4642b24.js} +2 -2
- package/dist/esm/{index-b4ac4019.js → index-df741ec6.js} +4 -4
- package/dist/esm/index.js +11 -11
- package/dist/esm/{input-shims-4c3d7279.js → input-shims-80c5b98e.js} +3 -5
- package/dist/esm/{input.utils-b4805900.js → input.utils-3a4c0a2a.js} +2 -2
- package/dist/esm/ion-accordion_2.entry.js +4 -4
- package/dist/esm/ion-action-sheet.entry.js +8 -8
- package/dist/esm/ion-alert.entry.js +8 -8
- package/dist/esm/ion-app_8.entry.js +18 -18
- package/dist/esm/ion-avatar_3.entry.js +3 -3
- package/dist/esm/ion-back-button.entry.js +3 -3
- package/dist/esm/ion-backdrop.entry.js +2 -2
- package/dist/esm/ion-breadcrumb_2.entry.js +3 -3
- package/dist/esm/ion-button_2.entry.js +4 -4
- package/dist/esm/ion-card_5.entry.js +3 -3
- package/dist/esm/ion-checkbox.entry.js +9 -40
- package/dist/esm/ion-chip.entry.js +2 -2
- package/dist/esm/ion-col_3.entry.js +3 -3
- package/dist/esm/ion-datetime-button.entry.js +5 -5
- package/dist/esm/ion-datetime_3.entry.js +12 -12
- package/dist/esm/ion-fab_3.entry.js +3 -3
- package/dist/esm/ion-img.entry.js +3 -3
- package/dist/esm/ion-infinite-scroll_2.entry.js +5 -5
- package/dist/esm/ion-input-password-toggle.entry.js +3 -3
- package/dist/esm/ion-input.entry.js +8 -8
- package/dist/esm/ion-item-option_3.entry.js +9 -9
- package/dist/esm/ion-item_8.entry.js +14 -14
- package/dist/esm/ion-loading.entry.js +9 -9
- package/dist/esm/ion-menu_3.entry.js +14 -14
- package/dist/esm/ion-modal.entry.js +44 -275
- package/dist/esm/ion-nav_2.entry.js +9 -9
- package/dist/esm/ion-picker-column-option.entry.js +5 -5
- package/dist/esm/ion-picker-column.entry.js +3 -3
- package/dist/esm/ion-picker.entry.js +2 -2
- package/dist/esm/ion-popover.entry.js +10 -10
- package/dist/esm/ion-progress-bar.entry.js +4 -4
- package/dist/esm/ion-radio_2.entry.js +7 -42
- package/dist/esm/ion-range.entry.js +8 -8
- package/dist/esm/ion-refresher_2.entry.js +7 -7
- package/dist/esm/ion-reorder_2.entry.js +7 -7
- package/dist/esm/ion-ripple-effect.entry.js +3 -3
- package/dist/esm/ion-route_4.entry.js +5 -5
- package/dist/esm/ion-searchbar.entry.js +7 -7
- package/dist/esm/ion-segment-content.entry.js +2 -2
- package/dist/esm/ion-segment-view.entry.js +3 -3
- package/dist/esm/ion-segment_2.entry.js +7 -7
- package/dist/esm/ion-select-modal.entry.js +8 -8
- package/dist/esm/ion-select_3.entry.js +16 -57
- package/dist/esm/ion-spinner.entry.js +3 -3
- package/dist/esm/ion-split-pane.entry.js +4 -4
- package/dist/esm/ion-tab-bar_2.entry.js +7 -7
- package/dist/esm/ion-tab_2.entry.js +6 -6
- package/dist/esm/ion-text.entry.js +4 -4
- package/dist/esm/ion-textarea.entry.js +10 -10
- package/dist/esm/ion-toast.entry.js +9 -9
- package/dist/esm/ion-toggle.entry.js +9 -40
- package/dist/esm/{ionic-global-bf78a847.js → ionic-global-ca86cf32.js} +1 -12
- package/dist/esm/ionic.js +5 -5
- package/dist/esm/{ios.transition-ffee637f.js → ios.transition-a81c9c6b.js} +5 -5
- package/dist/esm/loader.js +5 -5
- package/dist/esm/{md.transition-3a4f9709.js → md.transition-dbb51edc.js} +5 -5
- package/dist/esm/{notch-controller-bb8f3a48.js → notch-controller-381a5334.js} +1 -1
- package/dist/esm/{overlays-36f5880e.js → overlays-4ff1fca8.js} +5 -5
- package/dist/esm/{status-tap-2ce7841e.js → status-tap-73b183f4.js} +4 -5
- package/dist/esm/{swipe-back-a258b011.js → swipe-back-276cda49.js} +1 -1
- package/dist/esm-es5/app-globals-7b6cbf1a.js +4 -0
- package/dist/esm-es5/{button-active-f6503382.js → button-active-90f1dbc4.js} +1 -1
- package/dist/esm-es5/{data-bf516e75.js → data-ae11fd43.js} +1 -1
- package/dist/esm-es5/{framework-delegate-42bc40b1.js → framework-delegate-c7d92b77.js} +1 -1
- package/dist/esm-es5/{hardware-back-button-44195e92.js → hardware-back-button-864101a3.js} +1 -1
- package/dist/esm-es5/helpers-e48b0397.js +4 -0
- package/dist/esm-es5/index-527b9e34.js +5 -0
- package/dist/esm-es5/{index-28c8fd64.js → index-8222b29f.js} +1 -1
- package/dist/esm-es5/index-9b0d46f4.js +4 -0
- package/dist/esm-es5/{index-879a2080.js → index-c4a831fd.js} +1 -1
- package/dist/esm-es5/{index-ec2140bf.js → index-d4642b24.js} +1 -1
- package/dist/esm-es5/{index-b4ac4019.js → index-df741ec6.js} +1 -1
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/input-shims-80c5b98e.js +4 -0
- package/dist/esm-es5/{input.utils-b4805900.js → input.utils-3a4c0a2a.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 +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-global-ca86cf32.js +4 -0
- package/dist/esm-es5/ionic.js +1 -1
- package/dist/esm-es5/{ios.transition-ffee637f.js → ios.transition-a81c9c6b.js} +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/{md.transition-3a4f9709.js → md.transition-dbb51edc.js} +1 -1
- package/dist/esm-es5/{notch-controller-bb8f3a48.js → notch-controller-381a5334.js} +1 -1
- package/dist/esm-es5/{overlays-36f5880e.js → overlays-4ff1fca8.js} +1 -1
- package/dist/esm-es5/status-tap-73b183f4.js +4 -0
- package/dist/esm-es5/{swipe-back-a258b011.js → swipe-back-276cda49.js} +1 -1
- package/dist/html.html-data.json +0 -48
- 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-f6d066b4.system.js → p-00ab8b89.system.js} +2 -2
- package/dist/ionic/{p-05f90810.system.entry.js → p-023e8017.system.entry.js} +1 -1
- package/dist/ionic/p-06fee233.js +4 -0
- package/dist/ionic/p-0749768d.entry.js +4 -0
- package/dist/ionic/{p-e56b4e0f.system.entry.js → p-0b860115.system.entry.js} +1 -1
- package/dist/ionic/{p-c3de6cd1.system.entry.js → p-0c9b8240.system.entry.js} +1 -1
- package/dist/ionic/{p-9aaaff17.system.entry.js → p-0eb49e5c.system.entry.js} +1 -1
- package/dist/ionic/{p-4a98a017.system.entry.js → p-1164ff6b.system.entry.js} +1 -1
- package/dist/ionic/{p-aae5907a.system.entry.js → p-11bbdab8.system.entry.js} +1 -1
- package/dist/ionic/{p-21780245.entry.js → p-1332050e.entry.js} +1 -1
- package/dist/ionic/{p-3b872754.entry.js → p-16cd36e4.entry.js} +1 -1
- package/dist/ionic/p-19179876.js +4 -0
- package/dist/ionic/{p-f5f52b6d.system.entry.js → p-1a289aba.system.entry.js} +1 -1
- package/dist/ionic/{p-9c7efe25.system.entry.js → p-1c1d781d.system.entry.js} +1 -1
- package/dist/ionic/{p-5bc47f96.entry.js → p-1cfb788a.entry.js} +1 -1
- package/dist/ionic/p-1d98a7f1.entry.js +4 -0
- package/dist/ionic/{p-cad0b874.system.entry.js → p-1ef02643.system.entry.js} +1 -1
- package/dist/ionic/p-1ffab75e.entry.js +4 -0
- package/dist/ionic/{p-69066a53.js → p-21891ead.js} +1 -1
- package/dist/ionic/{p-7ef62ef9.system.entry.js → p-21d1c1c7.system.entry.js} +2 -2
- package/dist/ionic/{p-e25cd3c7.js → p-22bc235f.js} +1 -1
- package/dist/ionic/{p-8a3509b8.js → p-27da8c2c.js} +1 -1
- package/dist/ionic/p-297d6806.system.js +4 -0
- package/dist/ionic/{p-c55254f0.system.entry.js → p-2ab4a324.system.entry.js} +1 -1
- package/dist/ionic/p-2d4658d4.system.entry.js +4 -0
- package/dist/ionic/{p-72210f2a.system.entry.js → p-2f890012.system.entry.js} +1 -1
- package/dist/ionic/{p-7d1cbf97.system.entry.js → p-31d6b3d0.system.entry.js} +1 -1
- package/dist/ionic/{p-986a98d9.system.entry.js → p-3250466d.system.entry.js} +1 -1
- package/dist/ionic/{p-8eee812a.entry.js → p-32d4ac00.entry.js} +1 -1
- package/dist/ionic/{p-6321783a.system.entry.js → p-34b077b1.system.entry.js} +1 -1
- package/dist/ionic/{p-84fb742d.system.entry.js → p-36079188.system.entry.js} +1 -1
- package/dist/ionic/p-360f5507.entry.js +4 -0
- package/dist/ionic/{p-dde5afee.entry.js → p-3705c194.entry.js} +1 -1
- package/dist/ionic/{p-fe7be7b4.js → p-37e874f1.js} +1 -1
- package/dist/ionic/{p-dbe534f5.entry.js → p-39b5611c.entry.js} +1 -1
- package/dist/ionic/p-3c66a690.entry.js +4 -0
- package/dist/ionic/p-3e0bb0e1.entry.js +4 -0
- package/dist/ionic/{p-f5a536e1.system.js → p-3e86b4fa.system.js} +1 -1
- package/dist/ionic/p-3ef5e7fc.entry.js +4 -0
- package/dist/ionic/{p-9994c82e.system.entry.js → p-3fc787a8.system.entry.js} +1 -1
- package/dist/ionic/{p-f6e7870b.system.js → p-44e168f3.system.js} +1 -1
- package/dist/ionic/p-4979cd1d.entry.js +4 -0
- package/dist/ionic/{p-de4fef3c.system.entry.js → p-49cb79a1.system.entry.js} +1 -1
- package/dist/ionic/{p-f2a72b24.entry.js → p-4cfb0dc8.entry.js} +1 -1
- package/dist/ionic/{p-0f138cf3.entry.js → p-4e1b109b.entry.js} +1 -1
- package/dist/ionic/{p-09e4bf0d.entry.js → p-5175f06a.entry.js} +1 -1
- package/dist/ionic/p-51fc2fac.system.entry.js +4 -0
- package/dist/ionic/{p-bd1c99cb.entry.js → p-53d4d8c7.entry.js} +1 -1
- package/dist/ionic/p-5430a6da.entry.js +4 -0
- package/dist/ionic/p-597ff9af.js +4 -0
- package/dist/ionic/{p-441c2c8c.entry.js → p-5f4ff20a.entry.js} +1 -1
- package/dist/ionic/{p-0434c94c.entry.js → p-611d105b.entry.js} +1 -1
- package/dist/ionic/{p-9d4a8059.entry.js → p-61e794fb.entry.js} +1 -1
- package/dist/ionic/{p-97542341.system.entry.js → p-6386ccd6.system.entry.js} +1 -1
- package/dist/ionic/{p-47026941.system.entry.js → p-6390c6ab.system.entry.js} +1 -1
- package/dist/ionic/p-64279526.js +4 -0
- package/dist/ionic/p-64da0521.system.js +4 -0
- package/dist/ionic/p-66a5d6a8.js +5 -0
- package/dist/ionic/{p-ee70a913.system.entry.js → p-684c6a80.system.entry.js} +1 -1
- package/dist/ionic/p-6aa6839e.entry.js +4 -0
- package/dist/ionic/p-6cb61a35.entry.js +4 -0
- package/dist/ionic/{p-8f89c8e3.entry.js → p-6e24cf82.entry.js} +1 -1
- package/dist/ionic/{p-761c42da.js → p-7737b8fa.js} +1 -1
- package/dist/ionic/{p-86a9a4ca.system.js → p-782ed885.system.js} +1 -1
- package/dist/ionic/{p-eb4ac14d.system.js → p-7cc33a9a.system.js} +1 -1
- package/dist/ionic/{p-166a794f.system.entry.js → p-7d425376.system.entry.js} +1 -1
- package/dist/ionic/{p-478dfa8c.system.entry.js → p-7e3b5638.system.entry.js} +1 -1
- package/dist/ionic/p-7f39653f.entry.js +4 -0
- package/dist/ionic/{p-ec92cc52.system.entry.js → p-811ff2a0.system.entry.js} +2 -2
- package/dist/ionic/{p-bbfa740f.entry.js → p-847fd113.entry.js} +1 -1
- package/dist/ionic/p-85446175.js +4 -0
- package/dist/ionic/{p-82afe775.entry.js → p-85f19de9.entry.js} +1 -1
- package/dist/ionic/{p-1f62c30b.entry.js → p-85f6070f.entry.js} +1 -1
- package/dist/ionic/p-89204f3f.system.js +4 -0
- package/dist/ionic/{p-fa5a45cd.system.entry.js → p-8b378b48.system.entry.js} +1 -1
- package/dist/ionic/{p-6703c724.system.entry.js → p-8cfaf64f.system.entry.js} +1 -1
- package/dist/ionic/p-8d611ccd.entry.js +4 -0
- package/dist/ionic/p-8db97fa1.js +4 -0
- package/dist/ionic/{p-187396b1.system.js → p-8dbe745b.system.js} +1 -1
- package/dist/ionic/{p-0eab6979.entry.js → p-9023f5eb.entry.js} +1 -1
- package/dist/ionic/p-9048389e.entry.js +4 -0
- package/dist/ionic/{p-74e328cf.system.js → p-91fe21bb.system.js} +1 -1
- package/dist/ionic/p-941c06bc.js +4 -0
- package/dist/ionic/{p-99b4160f.system.entry.js → p-96f7bb84.system.entry.js} +1 -1
- package/dist/ionic/p-988a0306.system.js +4 -0
- package/dist/ionic/{p-52b61cba.system.js → p-9a2ff5ea.system.js} +1 -1
- package/dist/ionic/{p-6f3d8334.js → p-9af7f110.js} +1 -1
- package/dist/ionic/{p-8fa80de0.entry.js → p-9e7a9a27.entry.js} +1 -1
- package/dist/ionic/p-a300835e.system.entry.js +4 -0
- package/dist/ionic/{p-372ae7f4.system.js → p-a4866e3e.system.js} +1 -1
- package/dist/ionic/p-a6042939.entry.js +4 -0
- package/dist/ionic/{p-25580c85.system.entry.js → p-a63b345e.system.entry.js} +1 -1
- package/dist/ionic/{p-8911101b.system.js → p-a6625de8.system.js} +1 -1
- package/dist/ionic/p-a6f13a4e.system.entry.js +4 -0
- package/dist/ionic/{p-5f7a9125.system.entry.js → p-a8584808.system.entry.js} +2 -2
- package/dist/ionic/{p-1cf593cf.system.entry.js → p-a8cc566d.system.entry.js} +1 -1
- package/dist/ionic/{p-b1dbfc12.entry.js → p-a9b9259c.entry.js} +1 -1
- package/dist/ionic/p-aae8187b.system.entry.js +4 -0
- package/dist/ionic/p-ad780230.js +4 -0
- package/dist/ionic/{p-d8c1ac0d.system.js → p-adbbf974.system.js} +1 -1
- package/dist/ionic/p-ae518f0b.system.entry.js +4 -0
- package/dist/ionic/{p-6579f457.system.js → p-af873227.system.js} +1 -1
- package/dist/ionic/p-afcd55c6.entry.js +4 -0
- package/dist/ionic/{p-ebceb0ac.entry.js → p-afd7a6a9.entry.js} +1 -1
- package/dist/ionic/{p-f4cddcd0.entry.js → p-b7ed7f16.entry.js} +1 -1
- package/dist/ionic/{p-a4b108a7.entry.js → p-b85d199c.entry.js} +1 -1
- package/dist/ionic/{p-de0b8503.entry.js → p-b88c5ce4.entry.js} +1 -1
- package/dist/ionic/{p-fb048d4d.system.entry.js → p-b8e3b3ca.system.entry.js} +1 -1
- package/dist/ionic/p-b9ea58ef.js +4 -0
- package/dist/ionic/p-bf64af90.system.js +4 -0
- package/dist/ionic/{p-9104d662.system.entry.js → p-bf7f7084.system.entry.js} +2 -2
- package/dist/ionic/{p-506f2664.system.entry.js → p-bf973e4b.system.entry.js} +2 -2
- package/dist/ionic/{p-c66604e4.entry.js → p-c005cc37.entry.js} +1 -1
- package/dist/ionic/{p-5f10138c.system.entry.js → p-c5abee89.system.entry.js} +1 -1
- package/dist/ionic/{p-3559bd4f.js → p-c8402249.js} +1 -1
- package/dist/ionic/{p-5cc9314d.system.entry.js → p-c8c27ae7.system.entry.js} +1 -1
- package/dist/ionic/p-cbd5b96a.entry.js +4 -0
- package/dist/ionic/p-ccbb47f5.entry.js +4 -0
- package/dist/ionic/{p-62d2e17d.entry.js → p-cd239b25.entry.js} +1 -1
- package/dist/ionic/{p-89e678fa.js → p-ceaea4ce.js} +1 -1
- package/dist/ionic/{p-e0a2abde.system.entry.js → p-d37fdc68.system.entry.js} +1 -1
- package/dist/ionic/{p-98aefaa1.system.entry.js → p-d4308e05.system.entry.js} +1 -1
- package/dist/ionic/{p-03940ae5.js → p-d60342e3.js} +1 -1
- package/dist/ionic/{p-826c4d67.system.entry.js → p-da5ae6cf.system.entry.js} +1 -1
- package/dist/ionic/p-dbac4f3e.system.entry.js +4 -0
- package/dist/ionic/{p-41d7ca3c.entry.js → p-dc8cbb8b.entry.js} +1 -1
- package/dist/ionic/{p-66425a02.system.entry.js → p-dd141012.system.entry.js} +1 -1
- package/dist/ionic/p-ded39921.entry.js +4 -0
- package/dist/ionic/{p-c52ca485.system.entry.js → p-df4c00a4.system.entry.js} +1 -1
- package/dist/ionic/p-df61d353.entry.js +4 -0
- package/dist/ionic/p-e394222f.entry.js +4 -0
- package/dist/ionic/p-ea925d34.system.entry.js +4 -0
- package/dist/ionic/{p-4e0643a3.js → p-ec631b0f.js} +1 -1
- package/dist/ionic/p-f11a9436.system.js +5 -0
- package/dist/ionic/{p-4200e056.system.entry.js → p-f1ad06bd.system.entry.js} +1 -1
- package/dist/ionic/{p-020df11a.entry.js → p-f1b20f28.entry.js} +1 -1
- package/dist/ionic/p-f1be5454.entry.js +4 -0
- package/dist/ionic/p-f201b53a.system.js +4 -0
- package/dist/ionic/{p-3a4d77b9.system.js → p-f30071a2.system.js} +1 -1
- package/dist/ionic/{p-b566749e.js → p-f554845e.js} +1 -1
- package/dist/ionic/{p-80d837dd.system.js → p-f59611e2.system.js} +1 -1
- package/dist/ionic/{p-2c1d4963.system.js → p-f687573e.system.js} +1 -1
- package/dist/ionic/{p-717520d6.system.entry.js → p-f97efff5.system.entry.js} +1 -1
- package/dist/ionic/{p-a4e7eaf6.system.entry.js → p-f9e7de97.system.entry.js} +1 -1
- package/dist/ionic/{p-43bfbfd7.entry.js → p-fd0f8d68.entry.js} +1 -1
- package/dist/ionic/p-ff4b7e40.system.js +4 -0
- package/dist/types/components/checkbox/checkbox.d.ts +0 -25
- package/dist/types/components/modal/animations/sheet.d.ts +0 -1
- package/dist/types/components/modal/gestures/sheet.d.ts +1 -1
- package/dist/types/components/modal/modal-interface.d.ts +0 -1
- package/dist/types/components/modal/modal.d.ts +0 -14
- package/dist/types/components/radio-group/radio-group.d.ts +0 -15
- package/dist/types/components/select/select.d.ts +0 -29
- package/dist/types/components/toggle/toggle.d.ts +0 -25
- package/dist/types/components/toolbar/toolbar.d.ts +0 -4
- package/dist/types/components.d.ts +0 -96
- package/dist/types/utils/config.d.ts +0 -12
- package/dist/types/utils/logging/index.d.ts +1 -13
- package/hydrate/index.js +146 -574
- package/hydrate/index.mjs +146 -574
- package/package.json +2 -2
- package/dist/collection/components/radio-group/radio-group.ios.css +0 -205
- package/dist/collection/components/radio-group/radio-group.md.css +0 -205
- package/dist/esm-es5/app-globals-c10a1137.js +0 -4
- package/dist/esm-es5/helpers-13b816c6.js +0 -4
- package/dist/esm-es5/index-28849c61.js +0 -5
- package/dist/esm-es5/index-ce8d38d0.js +0 -4
- package/dist/esm-es5/input-shims-4c3d7279.js +0 -4
- package/dist/esm-es5/ionic-global-bf78a847.js +0 -4
- package/dist/esm-es5/status-tap-2ce7841e.js +0 -4
- package/dist/ionic/p-00d5ab83.entry.js +0 -4
- package/dist/ionic/p-0412232d.js +0 -4
- package/dist/ionic/p-0ab8caf8.system.entry.js +0 -4
- package/dist/ionic/p-16dd9c9b.entry.js +0 -4
- package/dist/ionic/p-21ee4f71.system.entry.js +0 -4
- package/dist/ionic/p-221fbdf5.entry.js +0 -4
- package/dist/ionic/p-25180df3.system.js +0 -5
- package/dist/ionic/p-2840743b.entry.js +0 -4
- package/dist/ionic/p-29cccf08.entry.js +0 -4
- package/dist/ionic/p-2f429536.entry.js +0 -4
- package/dist/ionic/p-34182275.entry.js +0 -4
- package/dist/ionic/p-38df41a6.system.js +0 -4
- package/dist/ionic/p-3e6be709.entry.js +0 -4
- package/dist/ionic/p-48e9eedb.entry.js +0 -4
- package/dist/ionic/p-4e8946f7.js +0 -4
- package/dist/ionic/p-51d4cdba.system.js +0 -4
- package/dist/ionic/p-541b5191.entry.js +0 -4
- package/dist/ionic/p-5a1017f3.entry.js +0 -4
- package/dist/ionic/p-5c364a5b.entry.js +0 -4
- package/dist/ionic/p-60f7c85d.entry.js +0 -4
- package/dist/ionic/p-62151078.system.entry.js +0 -4
- package/dist/ionic/p-623b4fa6.system.entry.js +0 -4
- package/dist/ionic/p-6eb35904.js +0 -4
- package/dist/ionic/p-6f6dd24f.entry.js +0 -4
- package/dist/ionic/p-7af3d1e8.system.entry.js +0 -4
- package/dist/ionic/p-7e70835f.js +0 -4
- package/dist/ionic/p-845f8d16.js +0 -4
- package/dist/ionic/p-85d6d07c.entry.js +0 -4
- package/dist/ionic/p-8973b827.system.js +0 -4
- package/dist/ionic/p-8aa290af.system.js +0 -4
- package/dist/ionic/p-95a11fc4.entry.js +0 -4
- package/dist/ionic/p-9a950d3c.entry.js +0 -4
- package/dist/ionic/p-a17a1fb9.entry.js +0 -4
- package/dist/ionic/p-a3e60403.js +0 -4
- package/dist/ionic/p-afba4c00.system.entry.js +0 -4
- package/dist/ionic/p-b1c4a9db.js +0 -4
- package/dist/ionic/p-be8ecfc1.js +0 -4
- package/dist/ionic/p-c1ad8eb0.system.js +0 -4
- package/dist/ionic/p-c30c10af.js +0 -4
- package/dist/ionic/p-c43872df.entry.js +0 -4
- package/dist/ionic/p-c4f9367a.entry.js +0 -4
- package/dist/ionic/p-d836d43e.js +0 -5
- package/dist/ionic/p-d86d7845.system.js +0 -4
- package/dist/ionic/p-d9162cf7.system.entry.js +0 -4
- package/dist/ionic/p-e3bd1070.entry.js +0 -4
- package/dist/ionic/p-e824ffe7.entry.js +0 -4
- package/dist/ionic/p-f4f255cb.system.js +0 -4
- package/dist/ionic/p-fe00ac05.system.entry.js +0 -4
|
@@ -77,7 +77,7 @@ export class SelectModal {
|
|
|
77
77
|
} }, option.text))));
|
|
78
78
|
}
|
|
79
79
|
render() {
|
|
80
|
-
return (h(Host, { key: '
|
|
80
|
+
return (h(Host, { key: '4df42c447b4026d09d9231f09dc4bdae9a8cfe4a', class: getIonMode(this) }, h("ion-header", { key: '211c4e869b858867f3d60637e570aeb01de41de7' }, h("ion-toolbar", { key: 'dc4b151331aecbaaaafb460802ee9b689493601d' }, this.header !== undefined && h("ion-title", { key: 'ba1347a59ae0a5c6770c239b5ec02a536a445bd1' }, this.header), h("ion-buttons", { key: '43c98fd25d7e7f54b94b24e53535c6d5ba599892', slot: "end" }, h("ion-button", { key: '51b2b3f3eed42637b2cfc213c95d0bcf10e4b89d', onClick: () => this.closeModal() }, "Close")))), h("ion-content", { key: 'fe721b09f80555856211f7e40dbfc31a533acae1' }, h("ion-list", { key: 'd0b932d137136958d896408fb2fa571023775b92' }, this.multiple === true ? this.renderCheckboxOptions() : this.renderRadioOptions()))));
|
|
81
81
|
}
|
|
82
82
|
static get is() { return "ion-select-modal"; }
|
|
83
83
|
static get encapsulation() { return "scoped"; }
|
|
@@ -10,7 +10,7 @@ export class SelectOption {
|
|
|
10
10
|
this.value = undefined;
|
|
11
11
|
}
|
|
12
12
|
render() {
|
|
13
|
-
return h(Host, { key: '
|
|
13
|
+
return h(Host, { key: '2e6fa159464f04f6d8720f960141f67918bc7534', role: "option", id: this.inputId, class: getIonMode(this) });
|
|
14
14
|
}
|
|
15
15
|
static get is() { return "ion-select-option"; }
|
|
16
16
|
static get encapsulation() { return "shadow"; }
|
|
@@ -102,7 +102,7 @@ export class SelectPopover {
|
|
|
102
102
|
render() {
|
|
103
103
|
const { header, message, options, subHeader } = this;
|
|
104
104
|
const hasSubHeaderOrMessage = subHeader !== undefined || message !== undefined;
|
|
105
|
-
return (h(Host, { key: '
|
|
105
|
+
return (h(Host, { key: 'dd0990db4de4f175b176b27f35501dd1604ca400', class: getIonMode(this) }, h("ion-list", { key: 'cea2bc3687b8b2490a2a9ff4a1e16cd34169558e' }, header !== undefined && h("ion-list-header", { key: '194aebb53453c43f913daae45a1a3066a1708c4c' }, header), hasSubHeaderOrMessage && (h("ion-item", { key: 'b706b07a3c63ad8104d2db413e210c735ec1bec9' }, h("ion-label", { key: '6e52b5b4cf6b04ff3dd5671d64264233de4190d5', class: "ion-text-wrap" }, subHeader !== undefined && h("h3", { key: '6ef4440d17f5db8c96c63b9aa5073f4fe4b8ad62' }, subHeader), message !== undefined && h("p", { key: 'c7b3b76c30ecd606c0e985a0258c13d3a75756e7' }, message)))), this.renderOptions(options))));
|
|
106
106
|
}
|
|
107
107
|
static get is() { return "ion-select-popover"; }
|
|
108
108
|
static get encapsulation() { return "scoped"; }
|
|
@@ -25,11 +25,11 @@ export class SkeletonText {
|
|
|
25
25
|
const animated = this.animated && config.getBoolean('animated', true);
|
|
26
26
|
const inMedia = hostContext('ion-avatar', this.el) || hostContext('ion-thumbnail', this.el);
|
|
27
27
|
const mode = getIonMode(this);
|
|
28
|
-
return (h(Host, { key: '
|
|
28
|
+
return (h(Host, { key: 'fdfabf9364caf507450239b62be24f08873bd650', class: {
|
|
29
29
|
[mode]: true,
|
|
30
30
|
'skeleton-text-animated': animated,
|
|
31
31
|
'in-media': inMedia,
|
|
32
|
-
} }, h("span", { key: '
|
|
32
|
+
} }, h("span", { key: '3482c88dcc177547185ce87972afa064a542367d' }, "\u00A0")));
|
|
33
33
|
}
|
|
34
34
|
static get is() { return "ion-skeleton-text"; }
|
|
35
35
|
static get encapsulation() { return "shadow"; }
|
|
@@ -39,7 +39,7 @@ export class Spinner {
|
|
|
39
39
|
svgs.push(buildLine(spinner, duration, i, spinner.lines));
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
|
-
return (h(Host, { key: '
|
|
42
|
+
return (h(Host, { key: '9d30ee9f5aa0dd0e220da07e75d05b8b2435224d', class: createColorClasses(self.color, {
|
|
43
43
|
[mode]: true,
|
|
44
44
|
[`spinner-${spinnerName}`]: true,
|
|
45
45
|
'spinner-paused': self.paused || config.getBoolean('_testing'),
|
|
@@ -118,12 +118,12 @@ export class SplitPane {
|
|
|
118
118
|
}
|
|
119
119
|
render() {
|
|
120
120
|
const mode = getIonMode(this);
|
|
121
|
-
return (h(Host, { key: '
|
|
121
|
+
return (h(Host, { key: '1ca0b0299d03605bb358112ca56cbafbe58f00f5', class: {
|
|
122
122
|
[mode]: true,
|
|
123
123
|
// Used internally for styling
|
|
124
124
|
[`split-pane-${mode}`]: true,
|
|
125
125
|
'split-pane-visible': this.visible,
|
|
126
|
-
} }, h("slot", { key: '
|
|
126
|
+
} }, h("slot", { key: 'abe231361727ae7fc63edd592a4490caac1909fb' })));
|
|
127
127
|
}
|
|
128
128
|
static get is() { return "ion-split-pane"; }
|
|
129
129
|
static get encapsulation() { return "shadow"; }
|
|
@@ -48,10 +48,10 @@ export class Tab {
|
|
|
48
48
|
}
|
|
49
49
|
render() {
|
|
50
50
|
const { tab, active, component } = this;
|
|
51
|
-
return (h(Host, { key: '
|
|
51
|
+
return (h(Host, { key: 'cb75d0877979b3b8df8f7e1952bfa9677da1eaa5', role: "tabpanel", "aria-hidden": !active ? 'true' : null, "aria-labelledby": `tab-button-${tab}`, class: {
|
|
52
52
|
'ion-page': component === undefined,
|
|
53
53
|
'tab-hidden': !active,
|
|
54
|
-
} }, h("slot", { key: '
|
|
54
|
+
} }, h("slot", { key: '37fbb7b7a6b03eb93b1dacd2dc1025b78eb2aa6b' })));
|
|
55
55
|
}
|
|
56
56
|
static get is() { return "ion-tab"; }
|
|
57
57
|
static get encapsulation() { return "shadow"; }
|
|
@@ -51,11 +51,11 @@ export class TabBar {
|
|
|
51
51
|
const { color, translucent, keyboardVisible } = this;
|
|
52
52
|
const mode = getIonMode(this);
|
|
53
53
|
const shouldHide = keyboardVisible && this.el.getAttribute('slot') !== 'top';
|
|
54
|
-
return (h(Host, { key: '
|
|
54
|
+
return (h(Host, { key: 'a87fd2ea5df053705a37ea7ffec043e75c4a9907', role: "tablist", "aria-hidden": shouldHide ? 'true' : null, class: createColorClasses(color, {
|
|
55
55
|
[mode]: true,
|
|
56
56
|
'tab-bar-translucent': translucent,
|
|
57
57
|
'tab-bar-hidden': shouldHide,
|
|
58
|
-
}) }, h("slot", { key: '
|
|
58
|
+
}) }, h("slot", { key: '81a6223299b6cab29d7ddced590e9152e2b3ded0' })));
|
|
59
59
|
}
|
|
60
60
|
static get is() { return "ion-tab-bar"; }
|
|
61
61
|
static get encapsulation() { return "shadow"; }
|
|
@@ -70,7 +70,7 @@ export class TabButton {
|
|
|
70
70
|
rel,
|
|
71
71
|
target,
|
|
72
72
|
};
|
|
73
|
-
return (h(Host, { key: '
|
|
73
|
+
return (h(Host, { key: '5976c45943ea7ea8e7c1a85fc9996de421439f08', onClick: this.onClick, onKeyup: this.onKeyUp, id: tab !== undefined ? `tab-button-${tab}` : null, class: {
|
|
74
74
|
[mode]: true,
|
|
75
75
|
'tab-selected': selected,
|
|
76
76
|
'tab-disabled': disabled,
|
|
@@ -82,7 +82,7 @@ export class TabButton {
|
|
|
82
82
|
'ion-activatable': true,
|
|
83
83
|
'ion-selectable': true,
|
|
84
84
|
'ion-focusable': true,
|
|
85
|
-
} }, h("a", Object.assign({ key: '
|
|
85
|
+
} }, h("a", Object.assign({ key: '1db09d861b67ff292018fb4b0dc7b85bd4677eb8' }, attrs, { class: "button-native", part: "native", role: "tab", "aria-selected": selected ? 'true' : null, "aria-disabled": disabled ? 'true' : null, tabindex: disabled ? '-1' : undefined }, inheritedAttributes), h("span", { key: '4381eafcb27e8c7bb0d86d4f115ceb0caf03b9b4', class: "button-inner" }, h("slot", { key: '1981135f6fbb88376c1bd923c55c70fe8b5c5159' })), mode === 'md' && h("ion-ripple-effect", { key: '0509bc7155d055d1ed710600e9cf4df135881491', type: "unbounded" }))));
|
|
86
86
|
}
|
|
87
87
|
static get is() { return "ion-tab-button"; }
|
|
88
88
|
static get encapsulation() { return "shadow"; }
|
|
@@ -145,7 +145,7 @@ export class Tabs {
|
|
|
145
145
|
return Array.from(this.el.querySelectorAll('ion-tab'));
|
|
146
146
|
}
|
|
147
147
|
render() {
|
|
148
|
-
return (h(Host, { key: '
|
|
148
|
+
return (h(Host, { key: 'e01ccf6bfaccad094515be50e407399c733fc226', onIonTabButtonClick: this.onTabClicked }, h("slot", { key: '38d2d01dbfd8a08f01e6f0e27274b21d75424e37', name: "top" }), h("div", { key: '7e894f0f423e2d43e1c68daff5f9f6c442fad237', class: "tabs-inner" }, h("slot", { key: 'df16be529a0370a26d0adf850530b31607507c23' })), h("slot", { key: '44642e1cb24c3281c43db75fd69a32fe0defe40a', name: "bottom" })));
|
|
149
149
|
}
|
|
150
150
|
static get is() { return "ion-tabs"; }
|
|
151
151
|
static get encapsulation() { return "shadow"; }
|
|
@@ -13,9 +13,9 @@ export class Text {
|
|
|
13
13
|
}
|
|
14
14
|
render() {
|
|
15
15
|
const mode = getIonMode(this);
|
|
16
|
-
return (h(Host, { key: '
|
|
16
|
+
return (h(Host, { key: 'e134d70c04344b708a2ecf6253722781ad2ca826', class: createColorClasses(this.color, {
|
|
17
17
|
[mode]: true,
|
|
18
|
-
}) }, h("slot", { key: '
|
|
18
|
+
}) }, h("slot", { key: 'da79c760f7ebbcd007ce110439f05a62cb22eac8' })));
|
|
19
19
|
}
|
|
20
20
|
static get is() { return "ion-text"; }
|
|
21
21
|
static get encapsulation() { return "shadow"; }
|
|
@@ -373,7 +373,6 @@
|
|
|
373
373
|
justify-content: space-between;
|
|
374
374
|
border-top: var(--border-width) var(--border-style) var(--border-color);
|
|
375
375
|
font-size: 0.75rem;
|
|
376
|
-
white-space: normal;
|
|
377
376
|
}
|
|
378
377
|
|
|
379
378
|
/**
|
|
@@ -397,7 +396,7 @@
|
|
|
397
396
|
|
|
398
397
|
.textarea-bottom .helper-text {
|
|
399
398
|
display: block;
|
|
400
|
-
color: var(--ion-color-step-
|
|
399
|
+
color: var(--ion-color-step-550, var(--ion-text-color-step-450, #737373));
|
|
401
400
|
}
|
|
402
401
|
|
|
403
402
|
:host(.ion-touched.ion-invalid) .textarea-bottom .error-text {
|
|
@@ -416,7 +415,7 @@
|
|
|
416
415
|
*/
|
|
417
416
|
-webkit-margin-start: auto;
|
|
418
417
|
margin-inline-start: auto;
|
|
419
|
-
color: var(--ion-color-step-
|
|
418
|
+
color: var(--ion-color-step-550, var(--ion-text-color-step-450, #737373));
|
|
420
419
|
white-space: nowrap;
|
|
421
420
|
padding-inline-start: 16px;
|
|
422
421
|
}
|
|
@@ -374,7 +374,7 @@ export class Textarea {
|
|
|
374
374
|
* TODO(FW-5592): Remove hasStartEndSlots condition
|
|
375
375
|
*/
|
|
376
376
|
const labelShouldFloat = labelPlacement === 'stacked' || (labelPlacement === 'floating' && (hasValue || hasFocus || hasStartEndSlots));
|
|
377
|
-
return (h(Host, { key: '
|
|
377
|
+
return (h(Host, { key: 'd6e25c83d8eab8cb1a5b6ab411c9a13847f69f8d', class: createColorClasses(this.color, {
|
|
378
378
|
[mode]: true,
|
|
379
379
|
'has-value': hasValue,
|
|
380
380
|
'has-focus': hasFocus,
|
|
@@ -383,7 +383,7 @@ export class Textarea {
|
|
|
383
383
|
[`textarea-shape-${shape}`]: shape !== undefined,
|
|
384
384
|
[`textarea-label-placement-${labelPlacement}`]: true,
|
|
385
385
|
'textarea-disabled': disabled,
|
|
386
|
-
}) }, h("label", { key: '
|
|
386
|
+
}) }, h("label", { key: 'f840a5be2b776a4b9c18c6da24e0b7d3d4838fee', class: "textarea-wrapper", htmlFor: inputId }, this.renderLabelContainer(), h("div", { key: '979461fc0d4684926d79d75759c63c6867b7622b', class: "textarea-wrapper-inner" }, h("div", { key: '88f0d5d4bac29597cc2588e5b2ed72fb4fbe153d', class: "start-slot-wrapper" }, h("slot", { key: '21dcca0e59c1260e3d0d1e126c1c590de15c4bad', name: "start" })), h("div", { key: '3c48a4bb3d763a389d3429123e7c110064b9b8d4', class: "native-wrapper", ref: (el) => (this.textareaWrapper = el) }, h("textarea", Object.assign({ key: '1550599ad15b3f215c104c014e90711f073ace8b', class: "native-textarea", ref: (el) => (this.nativeInput = el), id: inputId, disabled: disabled, autoCapitalize: this.autocapitalize, autoFocus: this.autofocus, enterKeyHint: this.enterkeyhint, inputMode: this.inputmode, minLength: this.minlength, maxLength: this.maxlength, name: this.name, placeholder: this.placeholder || '', readOnly: this.readonly, required: this.required, spellcheck: this.spellcheck, cols: this.cols, rows: this.rows, wrap: this.wrap, onInput: this.onInput, onChange: this.onChange, onBlur: this.onBlur, onFocus: this.onFocus, onKeyDown: this.onKeyDown, "aria-describedby": this.getHintTextID(), "aria-invalid": this.getHintTextID() === this.errorTextId }, this.inheritedAttributes), value)), h("div", { key: '4f01ab4d2994a6de6f49eb9ed2e310d00daf21b2', class: "end-slot-wrapper" }, h("slot", { key: '501e288b6807e039972bb4f0b63906114255518a', name: "end" }))), shouldRenderHighlight && h("div", { key: 'd3008eed34494aa9f8e98a28eac3b465dc4c2bd0', class: "textarea-highlight" })), this.renderBottomContent()));
|
|
387
387
|
}
|
|
388
388
|
static get is() { return "ion-textarea"; }
|
|
389
389
|
static get encapsulation() { return "scoped"; }
|
|
@@ -373,7 +373,6 @@
|
|
|
373
373
|
justify-content: space-between;
|
|
374
374
|
border-top: var(--border-width) var(--border-style) var(--border-color);
|
|
375
375
|
font-size: 0.75rem;
|
|
376
|
-
white-space: normal;
|
|
377
376
|
}
|
|
378
377
|
|
|
379
378
|
/**
|
|
@@ -397,7 +396,7 @@
|
|
|
397
396
|
|
|
398
397
|
.textarea-bottom .helper-text {
|
|
399
398
|
display: block;
|
|
400
|
-
color: var(--ion-color-step-
|
|
399
|
+
color: var(--ion-color-step-550, var(--ion-text-color-step-450, #737373));
|
|
401
400
|
}
|
|
402
401
|
|
|
403
402
|
:host(.ion-touched.ion-invalid) .textarea-bottom .error-text {
|
|
@@ -416,7 +415,7 @@
|
|
|
416
415
|
*/
|
|
417
416
|
-webkit-margin-start: auto;
|
|
418
417
|
margin-inline-start: auto;
|
|
419
|
-
color: var(--ion-color-step-
|
|
418
|
+
color: var(--ion-color-step-550, var(--ion-text-color-step-450, #737373));
|
|
420
419
|
white-space: nowrap;
|
|
421
420
|
padding-inline-start: 16px;
|
|
422
421
|
}
|
|
@@ -929,10 +928,6 @@
|
|
|
929
928
|
--border-color: var(--highlight-color);
|
|
930
929
|
}
|
|
931
930
|
|
|
932
|
-
/**
|
|
933
|
-
* The bottom content should never have
|
|
934
|
-
* a border with the solid style.
|
|
935
|
-
*/
|
|
936
931
|
:host(.textarea-fill-solid) .textarea-bottom {
|
|
937
932
|
border-top: none;
|
|
938
933
|
}
|
|
@@ -5,7 +5,7 @@ import { Host, h } from "@stencil/core";
|
|
|
5
5
|
import { getIonMode } from "../../global/ionic-global";
|
|
6
6
|
export class Thumbnail {
|
|
7
7
|
render() {
|
|
8
|
-
return (h(Host, { key: '
|
|
8
|
+
return (h(Host, { key: 'cfa9aeb1d4fd624a9732c5230d29dd887e4b7771', class: getIonMode(this) }, h("slot", { key: '29bc6e64063cba44e2643228df54394883933918' })));
|
|
9
9
|
}
|
|
10
10
|
static get is() { return "ion-thumbnail"; }
|
|
11
11
|
static get encapsulation() { return "shadow"; }
|
|
@@ -27,11 +27,11 @@ export class ToolbarTitle {
|
|
|
27
27
|
render() {
|
|
28
28
|
const mode = getIonMode(this);
|
|
29
29
|
const size = this.getSize();
|
|
30
|
-
return (h(Host, { key: '
|
|
30
|
+
return (h(Host, { key: '7293d2ecd6262feb0d8d769effbb208230baed89', class: createColorClasses(this.color, {
|
|
31
31
|
[mode]: true,
|
|
32
32
|
[`title-${size}`]: true,
|
|
33
33
|
'title-rtl': document.dir === 'rtl',
|
|
34
|
-
}) }, h("div", { key: '
|
|
34
|
+
}) }, h("div", { key: '086ec3a361ebdf6506846a8704b457cda3a6f897', class: "toolbar-title" }, h("slot", { key: '59add7eb92b82d6832a8f0894f897c51fdf4f214' }))));
|
|
35
35
|
}
|
|
36
36
|
static get is() { return "ion-title"; }
|
|
37
37
|
static get encapsulation() { return "shadow"; }
|
|
@@ -391,9 +391,9 @@ export class Toast {
|
|
|
391
391
|
if (layout === 'stacked' && startButtons.length > 0 && endButtons.length > 0) {
|
|
392
392
|
printIonWarning('This toast is using start and end buttons with the stacked toast layout. We recommend following the best practice of using either start or end buttons with the stacked toast layout.', el);
|
|
393
393
|
}
|
|
394
|
-
return (h(Host, Object.assign({ key: '
|
|
394
|
+
return (h(Host, Object.assign({ key: 'c05655ff06af8d0e48c2a85396b07ad942fa81b4', tabindex: "-1" }, this.htmlAttributes, { style: {
|
|
395
395
|
zIndex: `${60000 + this.overlayIndex}`,
|
|
396
|
-
}, class: createColorClasses(this.color, Object.assign(Object.assign({ [mode]: true }, getClassMap(this.cssClass)), { 'overlay-hidden': true, 'toast-translucent': this.translucent })), onIonToastWillDismiss: this.dispatchCancelHandler }), h("div", { key: '
|
|
396
|
+
}, class: createColorClasses(this.color, Object.assign(Object.assign({ [mode]: true }, getClassMap(this.cssClass)), { 'overlay-hidden': true, 'toast-translucent': this.translucent })), onIonToastWillDismiss: this.dispatchCancelHandler }), h("div", { key: '9393ead4de1bf28529661d6f64049d34e18d725c', class: wrapperClass }, h("div", { key: '3e9dd73c17c337849c3f26e8d0f395b3e5ee20a7', class: "toast-container", part: "container" }, this.renderButtons(startButtons, 'start'), this.icon !== undefined && (h("ion-icon", { key: '5d15b18364301ad55e44e9f601014ac33181590b', class: "toast-icon", part: "icon", icon: this.icon, lazy: false, "aria-hidden": "true" })), h("div", { key: 'f6dd164502637a882c5caf18445d8509b85ad6f9', class: "toast-content", role: "status", "aria-atomic": "true", "aria-live": "polite" }, !revealContentToScreenReader && header !== undefined && this.renderHeader('oldHeader', 'true'), !revealContentToScreenReader && message !== undefined && this.renderToastMessage('oldMessage', 'true'), revealContentToScreenReader && header !== undefined && this.renderHeader('header'), revealContentToScreenReader && message !== undefined && this.renderToastMessage('header')), this.renderButtons(endButtons, 'end')))));
|
|
397
397
|
}
|
|
398
398
|
static get is() { return "ion-toast"; }
|
|
399
399
|
static get encapsulation() { return "shadow"; }
|
|
@@ -171,39 +171,32 @@ input {
|
|
|
171
171
|
align-items: center;
|
|
172
172
|
}
|
|
173
173
|
|
|
174
|
-
.toggle-
|
|
175
|
-
padding-top: 4px;
|
|
176
|
-
display: flex;
|
|
174
|
+
:host(.toggle-justify-space-between) .toggle-wrapper {
|
|
177
175
|
justify-content: space-between;
|
|
178
|
-
font-size: 0.75rem;
|
|
179
|
-
white-space: normal;
|
|
180
176
|
}
|
|
181
177
|
|
|
182
|
-
:host(.toggle-
|
|
183
|
-
|
|
178
|
+
:host(.toggle-justify-start) .toggle-wrapper {
|
|
179
|
+
justify-content: start;
|
|
184
180
|
}
|
|
185
181
|
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
* present on the checkbox. Otherwise the helper text should
|
|
189
|
-
* be shown.
|
|
190
|
-
*/
|
|
191
|
-
.toggle-bottom .error-text {
|
|
192
|
-
display: none;
|
|
193
|
-
color: var(--ion-color-danger, #c5000f);
|
|
182
|
+
:host(.toggle-justify-end) .toggle-wrapper {
|
|
183
|
+
justify-content: end;
|
|
194
184
|
}
|
|
195
185
|
|
|
196
|
-
.toggle-
|
|
197
|
-
|
|
198
|
-
color: var(--ion-color-step-700, var(--ion-text-color-step-300, #4d4d4d));
|
|
186
|
+
:host(.toggle-alignment-start) .toggle-wrapper {
|
|
187
|
+
align-items: start;
|
|
199
188
|
}
|
|
200
189
|
|
|
201
|
-
:host(.
|
|
202
|
-
|
|
190
|
+
:host(.toggle-alignment-center) .toggle-wrapper {
|
|
191
|
+
align-items: center;
|
|
203
192
|
}
|
|
204
193
|
|
|
205
|
-
:host(.
|
|
206
|
-
|
|
194
|
+
:host(.toggle-justify-space-between),
|
|
195
|
+
:host(.toggle-justify-start),
|
|
196
|
+
:host(.toggle-justify-end),
|
|
197
|
+
:host(.toggle-alignment-start),
|
|
198
|
+
:host(.toggle-alignment-center) {
|
|
199
|
+
display: block;
|
|
207
200
|
}
|
|
208
201
|
|
|
209
202
|
/**
|
|
@@ -232,7 +225,6 @@ input {
|
|
|
232
225
|
*/
|
|
233
226
|
:host(.toggle-label-placement-end) .toggle-wrapper {
|
|
234
227
|
flex-direction: row-reverse;
|
|
235
|
-
justify-content: start;
|
|
236
228
|
}
|
|
237
229
|
|
|
238
230
|
/**
|
|
@@ -275,7 +267,6 @@ input {
|
|
|
275
267
|
*/
|
|
276
268
|
:host(.toggle-label-placement-stacked) .toggle-wrapper {
|
|
277
269
|
flex-direction: column;
|
|
278
|
-
text-align: center;
|
|
279
270
|
}
|
|
280
271
|
|
|
281
272
|
:host(.toggle-label-placement-stacked) .label-text-wrapper {
|
|
@@ -321,34 +312,6 @@ input {
|
|
|
321
312
|
}
|
|
322
313
|
}
|
|
323
314
|
|
|
324
|
-
:host(.toggle-justify-space-between) .toggle-wrapper {
|
|
325
|
-
justify-content: space-between;
|
|
326
|
-
}
|
|
327
|
-
|
|
328
|
-
:host(.toggle-justify-start) .toggle-wrapper {
|
|
329
|
-
justify-content: start;
|
|
330
|
-
}
|
|
331
|
-
|
|
332
|
-
:host(.toggle-justify-end) .toggle-wrapper {
|
|
333
|
-
justify-content: end;
|
|
334
|
-
}
|
|
335
|
-
|
|
336
|
-
:host(.toggle-alignment-start) .toggle-wrapper {
|
|
337
|
-
align-items: start;
|
|
338
|
-
}
|
|
339
|
-
|
|
340
|
-
:host(.toggle-alignment-center) .toggle-wrapper {
|
|
341
|
-
align-items: center;
|
|
342
|
-
}
|
|
343
|
-
|
|
344
|
-
:host(.toggle-justify-space-between),
|
|
345
|
-
:host(.toggle-justify-start),
|
|
346
|
-
:host(.toggle-justify-end),
|
|
347
|
-
:host(.toggle-alignment-start),
|
|
348
|
-
:host(.toggle-alignment-center) {
|
|
349
|
-
display: block;
|
|
350
|
-
}
|
|
351
|
-
|
|
352
315
|
.toggle-icon-wrapper {
|
|
353
316
|
display: flex;
|
|
354
317
|
position: relative;
|
|
@@ -17,15 +17,10 @@ import { getIonMode } from "../../global/ionic-global";
|
|
|
17
17
|
* @part track - The background track of the toggle.
|
|
18
18
|
* @part handle - The toggle handle, or knob, used to change the checked state.
|
|
19
19
|
* @part label - The label text describing the toggle.
|
|
20
|
-
* @part supporting-text - Supporting text displayed beneath the toggle label.
|
|
21
|
-
* @part helper-text - Supporting text displayed beneath the toggle label when the toggle is valid.
|
|
22
|
-
* @part error-text - Supporting text displayed beneath the toggle label when the toggle is invalid and touched.
|
|
23
20
|
*/
|
|
24
21
|
export class Toggle {
|
|
25
22
|
constructor() {
|
|
26
23
|
this.inputId = `ion-tg-${toggleIds++}`;
|
|
27
|
-
this.helperTextId = `${this.inputId}-helper-text`;
|
|
28
|
-
this.errorTextId = `${this.inputId}-error-text`;
|
|
29
24
|
this.lastDrag = 0;
|
|
30
25
|
this.inheritedAttributes = {};
|
|
31
26
|
this.didLoad = false;
|
|
@@ -71,14 +66,11 @@ export class Toggle {
|
|
|
71
66
|
this.name = this.inputId;
|
|
72
67
|
this.checked = false;
|
|
73
68
|
this.disabled = false;
|
|
74
|
-
this.errorText = undefined;
|
|
75
|
-
this.helperText = undefined;
|
|
76
69
|
this.value = 'on';
|
|
77
70
|
this.enableOnOffLabels = config.get('toggleOnOffLabels');
|
|
78
71
|
this.labelPlacement = 'start';
|
|
79
72
|
this.justify = undefined;
|
|
80
73
|
this.alignment = undefined;
|
|
81
|
-
this.required = false;
|
|
82
74
|
}
|
|
83
75
|
disabledChanged() {
|
|
84
76
|
if (this.gesture) {
|
|
@@ -160,39 +152,13 @@ export class Toggle {
|
|
|
160
152
|
get hasLabel() {
|
|
161
153
|
return this.el.textContent !== '';
|
|
162
154
|
}
|
|
163
|
-
getHintTextID() {
|
|
164
|
-
const { el, helperText, errorText, helperTextId, errorTextId } = this;
|
|
165
|
-
if (el.classList.contains('ion-touched') && el.classList.contains('ion-invalid') && errorText) {
|
|
166
|
-
return errorTextId;
|
|
167
|
-
}
|
|
168
|
-
if (helperText) {
|
|
169
|
-
return helperTextId;
|
|
170
|
-
}
|
|
171
|
-
return undefined;
|
|
172
|
-
}
|
|
173
|
-
/**
|
|
174
|
-
* Responsible for rendering helper text and error text.
|
|
175
|
-
* This element should only be rendered if hint text is set.
|
|
176
|
-
*/
|
|
177
|
-
renderHintText() {
|
|
178
|
-
const { helperText, errorText, helperTextId, errorTextId } = this;
|
|
179
|
-
/**
|
|
180
|
-
* undefined and empty string values should
|
|
181
|
-
* be treated as not having helper/error text.
|
|
182
|
-
*/
|
|
183
|
-
const hasHintText = !!helperText || !!errorText;
|
|
184
|
-
if (!hasHintText) {
|
|
185
|
-
return;
|
|
186
|
-
}
|
|
187
|
-
return (h("div", { class: "toggle-bottom" }, h("div", { id: helperTextId, class: "helper-text", part: "supporting-text helper-text" }, helperText), h("div", { id: errorTextId, class: "error-text", part: "supporting-text error-text" }, errorText)));
|
|
188
|
-
}
|
|
189
155
|
render() {
|
|
190
|
-
const { activated, color, checked, disabled, el, justify, labelPlacement, inputId, name, alignment
|
|
156
|
+
const { activated, color, checked, disabled, el, justify, labelPlacement, inputId, name, alignment } = this;
|
|
191
157
|
const mode = getIonMode(this);
|
|
192
158
|
const value = this.getValue();
|
|
193
159
|
const rtl = isRTL(el) ? 'rtl' : 'ltr';
|
|
194
160
|
renderHiddenInput(true, el, name, checked ? value : '', disabled);
|
|
195
|
-
return (h(Host, { key: '
|
|
161
|
+
return (h(Host, { key: '9d2a77db6d0bf36ef2452ac8b78a309943bff2b7', onClick: this.onClick, class: createColorClasses(color, {
|
|
196
162
|
[mode]: true,
|
|
197
163
|
'in-item': hostContext('ion-item', el),
|
|
198
164
|
'toggle-activated': activated,
|
|
@@ -202,10 +168,10 @@ export class Toggle {
|
|
|
202
168
|
[`toggle-alignment-${alignment}`]: alignment !== undefined,
|
|
203
169
|
[`toggle-label-placement-${labelPlacement}`]: true,
|
|
204
170
|
[`toggle-${rtl}`]: true,
|
|
205
|
-
}) }, h("label", { key: '
|
|
171
|
+
}) }, h("label", { key: '079edf3636766fa423364e8e81712b83e8d5ec1c', class: "toggle-wrapper" }, h("input", Object.assign({ key: 'f822114a89c7a48480c06057c987c2d63f21a25b', type: "checkbox", role: "switch", "aria-checked": `${checked}`, checked: checked, disabled: disabled, id: inputId, onFocus: () => this.onFocus(), onBlur: () => this.onBlur(), ref: (focusEl) => (this.focusEl = focusEl) }, this.inheritedAttributes)), h("div", { key: '1029805e127d2632bafb484429fb79b244a52c57', class: {
|
|
206
172
|
'label-text-wrapper': true,
|
|
207
173
|
'label-text-wrapper-hidden': !this.hasLabel,
|
|
208
|
-
}, part: "label" }, h("slot", { key: '
|
|
174
|
+
}, part: "label" }, h("slot", { key: 'ed27634a667c5bf30561f9911a3f94f3f755028f' })), h("div", { key: '72ef6224eece08b6539fb3797e81d8817651a952', class: "native-wrapper" }, this.renderToggleControl()))));
|
|
209
175
|
}
|
|
210
176
|
static get is() { return "ion-toggle"; }
|
|
211
177
|
static get encapsulation() { return "shadow"; }
|
|
@@ -300,40 +266,6 @@ export class Toggle {
|
|
|
300
266
|
"reflect": false,
|
|
301
267
|
"defaultValue": "false"
|
|
302
268
|
},
|
|
303
|
-
"errorText": {
|
|
304
|
-
"type": "string",
|
|
305
|
-
"mutable": false,
|
|
306
|
-
"complexType": {
|
|
307
|
-
"original": "string",
|
|
308
|
-
"resolved": "string | undefined",
|
|
309
|
-
"references": {}
|
|
310
|
-
},
|
|
311
|
-
"required": false,
|
|
312
|
-
"optional": true,
|
|
313
|
-
"docs": {
|
|
314
|
-
"tags": [],
|
|
315
|
-
"text": "Text that is placed under the toggle label and displayed when an error is detected."
|
|
316
|
-
},
|
|
317
|
-
"attribute": "error-text",
|
|
318
|
-
"reflect": false
|
|
319
|
-
},
|
|
320
|
-
"helperText": {
|
|
321
|
-
"type": "string",
|
|
322
|
-
"mutable": false,
|
|
323
|
-
"complexType": {
|
|
324
|
-
"original": "string",
|
|
325
|
-
"resolved": "string | undefined",
|
|
326
|
-
"references": {}
|
|
327
|
-
},
|
|
328
|
-
"required": false,
|
|
329
|
-
"optional": true,
|
|
330
|
-
"docs": {
|
|
331
|
-
"tags": [],
|
|
332
|
-
"text": "Text that is placed under the toggle label and displayed when no error is detected."
|
|
333
|
-
},
|
|
334
|
-
"attribute": "helper-text",
|
|
335
|
-
"reflect": false
|
|
336
|
-
},
|
|
337
269
|
"value": {
|
|
338
270
|
"type": "string",
|
|
339
271
|
"mutable": false,
|
|
@@ -421,24 +353,6 @@ export class Toggle {
|
|
|
421
353
|
},
|
|
422
354
|
"attribute": "alignment",
|
|
423
355
|
"reflect": false
|
|
424
|
-
},
|
|
425
|
-
"required": {
|
|
426
|
-
"type": "boolean",
|
|
427
|
-
"mutable": false,
|
|
428
|
-
"complexType": {
|
|
429
|
-
"original": "boolean",
|
|
430
|
-
"resolved": "boolean",
|
|
431
|
-
"references": {}
|
|
432
|
-
},
|
|
433
|
-
"required": false,
|
|
434
|
-
"optional": false,
|
|
435
|
-
"docs": {
|
|
436
|
-
"tags": [],
|
|
437
|
-
"text": "If true, screen readers will announce it as a required field. This property\nworks only for accessibility purposes, it will not prevent the form from\nsubmitting if the value is invalid."
|
|
438
|
-
},
|
|
439
|
-
"attribute": "required",
|
|
440
|
-
"reflect": false,
|
|
441
|
-
"defaultValue": "false"
|
|
442
356
|
}
|
|
443
357
|
};
|
|
444
358
|
}
|
|
@@ -171,39 +171,32 @@ input {
|
|
|
171
171
|
align-items: center;
|
|
172
172
|
}
|
|
173
173
|
|
|
174
|
-
.toggle-
|
|
175
|
-
padding-top: 4px;
|
|
176
|
-
display: flex;
|
|
174
|
+
:host(.toggle-justify-space-between) .toggle-wrapper {
|
|
177
175
|
justify-content: space-between;
|
|
178
|
-
font-size: 0.75rem;
|
|
179
|
-
white-space: normal;
|
|
180
176
|
}
|
|
181
177
|
|
|
182
|
-
:host(.toggle-
|
|
183
|
-
|
|
178
|
+
:host(.toggle-justify-start) .toggle-wrapper {
|
|
179
|
+
justify-content: start;
|
|
184
180
|
}
|
|
185
181
|
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
* present on the checkbox. Otherwise the helper text should
|
|
189
|
-
* be shown.
|
|
190
|
-
*/
|
|
191
|
-
.toggle-bottom .error-text {
|
|
192
|
-
display: none;
|
|
193
|
-
color: var(--ion-color-danger, #c5000f);
|
|
182
|
+
:host(.toggle-justify-end) .toggle-wrapper {
|
|
183
|
+
justify-content: end;
|
|
194
184
|
}
|
|
195
185
|
|
|
196
|
-
.toggle-
|
|
197
|
-
|
|
198
|
-
color: var(--ion-color-step-700, var(--ion-text-color-step-300, #4d4d4d));
|
|
186
|
+
:host(.toggle-alignment-start) .toggle-wrapper {
|
|
187
|
+
align-items: start;
|
|
199
188
|
}
|
|
200
189
|
|
|
201
|
-
:host(.
|
|
202
|
-
|
|
190
|
+
:host(.toggle-alignment-center) .toggle-wrapper {
|
|
191
|
+
align-items: center;
|
|
203
192
|
}
|
|
204
193
|
|
|
205
|
-
:host(.
|
|
206
|
-
|
|
194
|
+
:host(.toggle-justify-space-between),
|
|
195
|
+
:host(.toggle-justify-start),
|
|
196
|
+
:host(.toggle-justify-end),
|
|
197
|
+
:host(.toggle-alignment-start),
|
|
198
|
+
:host(.toggle-alignment-center) {
|
|
199
|
+
display: block;
|
|
207
200
|
}
|
|
208
201
|
|
|
209
202
|
/**
|
|
@@ -232,7 +225,6 @@ input {
|
|
|
232
225
|
*/
|
|
233
226
|
:host(.toggle-label-placement-end) .toggle-wrapper {
|
|
234
227
|
flex-direction: row-reverse;
|
|
235
|
-
justify-content: start;
|
|
236
228
|
}
|
|
237
229
|
|
|
238
230
|
/**
|
|
@@ -275,7 +267,6 @@ input {
|
|
|
275
267
|
*/
|
|
276
268
|
:host(.toggle-label-placement-stacked) .toggle-wrapper {
|
|
277
269
|
flex-direction: column;
|
|
278
|
-
text-align: center;
|
|
279
270
|
}
|
|
280
271
|
|
|
281
272
|
:host(.toggle-label-placement-stacked) .label-text-wrapper {
|
|
@@ -321,34 +312,6 @@ input {
|
|
|
321
312
|
}
|
|
322
313
|
}
|
|
323
314
|
|
|
324
|
-
:host(.toggle-justify-space-between) .toggle-wrapper {
|
|
325
|
-
justify-content: space-between;
|
|
326
|
-
}
|
|
327
|
-
|
|
328
|
-
:host(.toggle-justify-start) .toggle-wrapper {
|
|
329
|
-
justify-content: start;
|
|
330
|
-
}
|
|
331
|
-
|
|
332
|
-
:host(.toggle-justify-end) .toggle-wrapper {
|
|
333
|
-
justify-content: end;
|
|
334
|
-
}
|
|
335
|
-
|
|
336
|
-
:host(.toggle-alignment-start) .toggle-wrapper {
|
|
337
|
-
align-items: start;
|
|
338
|
-
}
|
|
339
|
-
|
|
340
|
-
:host(.toggle-alignment-center) .toggle-wrapper {
|
|
341
|
-
align-items: center;
|
|
342
|
-
}
|
|
343
|
-
|
|
344
|
-
:host(.toggle-justify-space-between),
|
|
345
|
-
:host(.toggle-justify-start),
|
|
346
|
-
:host(.toggle-justify-end),
|
|
347
|
-
:host(.toggle-alignment-start),
|
|
348
|
-
:host(.toggle-alignment-center) {
|
|
349
|
-
display: block;
|
|
350
|
-
}
|
|
351
|
-
|
|
352
315
|
.toggle-icon-wrapper {
|
|
353
316
|
display: flex;
|
|
354
317
|
position: relative;
|