@ionic/core 8.4.4-dev.11741298262.12200f27 → 8.4.4-dev.11741376313.1cb1887d
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/alert.js +30 -4
- package/components/checkbox.js +4 -6
- package/components/helpers.js +7 -1
- package/components/index6.js +3 -11
- package/components/index9.js +1 -1
- package/components/ion-input.js +2 -2
- package/components/ion-range.js +14 -4
- package/components/ion-router.js +1 -1
- package/components/ion-segment-button.js +1 -1
- package/components/ion-select.js +4 -6
- package/components/ion-textarea.js +2 -2
- package/components/ion-toggle.js +6 -40
- package/components/ionic-global.js +2 -1
- package/components/modal.js +35 -259
- 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-21afee77.js → app-globals-4283fe37.js} +1 -1
- package/dist/cjs/{data-108e531d.js → data-21dc0f81.js} +1 -1
- package/dist/cjs/{framework-delegate-05579976.js → framework-delegate-c4f2ba04.js} +1 -1
- package/dist/cjs/{hardware-back-button-9e8a2c4f.js → hardware-back-button-f2cbbdce.js} +1 -1
- package/dist/cjs/{helpers-4be3f90d.js → helpers-b14a0f09.js} +7 -0
- package/dist/cjs/{index-0ff61d0b.js → index-1248dbd7.js} +4 -4
- package/dist/cjs/{index-26bb7e42.js → index-4e37257d.js} +5 -5
- package/dist/cjs/{index-2a46a047.js → index-5915f9b3.js} +3 -11
- package/dist/cjs/{index-ad7a712e.js → index-786364c7.js} +1 -1
- package/dist/cjs/{index-6770fc00.js → index-a4a74252.js} +2 -2
- package/dist/cjs/index.cjs.js +10 -10
- package/dist/cjs/{input-shims-fd997b01.js → input-shims-b4c0eee7.js} +3 -5
- package/dist/cjs/{input.utils-c15a1814.js → input.utils-4af208ab.js} +2 -2
- package/dist/cjs/ion-accordion_2.cjs.entry.js +3 -3
- package/dist/cjs/ion-action-sheet.cjs.entry.js +6 -6
- package/dist/cjs/ion-alert.cjs.entry.js +36 -10
- package/dist/cjs/ion-app_8.cjs.entry.js +14 -14
- package/dist/cjs/ion-avatar_3.cjs.entry.js +1 -1
- package/dist/cjs/ion-back-button.cjs.entry.js +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 +3 -3
- package/dist/cjs/ion-card_5.cjs.entry.js +2 -2
- package/dist/cjs/ion-checkbox.cjs.entry.js +6 -7
- package/dist/cjs/ion-chip.cjs.entry.js +1 -1
- package/dist/cjs/ion-col_3.cjs.entry.js +1 -1
- package/dist/cjs/ion-datetime-button.cjs.entry.js +4 -4
- package/dist/cjs/ion-datetime_3.cjs.entry.js +7 -7
- package/dist/cjs/ion-fab_3.cjs.entry.js +2 -2
- package/dist/cjs/ion-img.cjs.entry.js +2 -2
- package/dist/cjs/ion-infinite-scroll_2.cjs.entry.js +4 -4
- package/dist/cjs/ion-input-password-toggle.cjs.entry.js +2 -2
- package/dist/cjs/ion-input.cjs.entry.js +7 -7
- package/dist/cjs/ion-item-option_3.cjs.entry.js +4 -4
- package/dist/cjs/ion-item_8.cjs.entry.js +2 -2
- package/dist/cjs/ion-loading.cjs.entry.js +6 -6
- package/dist/cjs/ion-menu_3.cjs.entry.js +7 -7
- package/dist/cjs/ion-modal.cjs.entry.js +43 -266
- package/dist/cjs/ion-nav_2.cjs.entry.js +6 -6
- package/dist/cjs/ion-picker-column-option.cjs.entry.js +2 -2
- package/dist/cjs/ion-picker-column.cjs.entry.js +2 -2
- package/dist/cjs/ion-picker.cjs.entry.js +1 -1
- package/dist/cjs/ion-popover.cjs.entry.js +7 -7
- package/dist/cjs/ion-progress-bar.cjs.entry.js +2 -2
- package/dist/cjs/ion-radio_2.cjs.entry.js +2 -2
- package/dist/cjs/ion-range.cjs.entry.js +17 -7
- package/dist/cjs/ion-refresher_2.cjs.entry.js +4 -4
- package/dist/cjs/ion-reorder_2.cjs.entry.js +4 -4
- package/dist/cjs/ion-ripple-effect.cjs.entry.js +1 -1
- package/dist/cjs/ion-route_4.cjs.entry.js +2 -2
- package/dist/cjs/ion-searchbar.cjs.entry.js +2 -2
- package/dist/cjs/ion-segment_2.cjs.entry.js +2 -2
- package/dist/cjs/ion-select-modal.cjs.entry.js +6 -6
- package/dist/cjs/ion-select_3.cjs.entry.js +11 -12
- package/dist/cjs/ion-spinner.cjs.entry.js +1 -1
- package/dist/cjs/ion-split-pane.cjs.entry.js +1 -1
- package/dist/cjs/ion-tab-bar_2.cjs.entry.js +2 -2
- package/dist/cjs/ion-tab_2.cjs.entry.js +2 -2
- package/dist/cjs/ion-text.cjs.entry.js +1 -1
- package/dist/cjs/ion-textarea.cjs.entry.js +7 -7
- package/dist/cjs/ion-toast.cjs.entry.js +6 -6
- package/dist/cjs/ion-toggle.cjs.entry.js +8 -39
- package/dist/cjs/{ionic-global-d9a8bb5b.js → ionic-global-96da1b2e.js} +2 -1
- package/dist/cjs/ionic.cjs.js +3 -3
- package/dist/cjs/{ios.transition-a4f35c55.js → ios.transition-8d363d77.js} +4 -4
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/{md.transition-cdf904e6.js → md.transition-57d695fa.js} +4 -4
- package/dist/cjs/{notch-controller-a0c464d1.js → notch-controller-bd07748b.js} +1 -1
- package/dist/cjs/{overlays-86695cf1.js → overlays-27703a30.js} +5 -5
- package/dist/cjs/{status-tap-1a2485c1.js → status-tap-654077ee.js} +3 -4
- package/dist/cjs/{swipe-back-47a52b83.js → swipe-back-b70cd52e.js} +1 -1
- package/dist/collection/components/alert/alert.js +34 -4
- package/dist/collection/components/checkbox/checkbox.js +4 -23
- package/dist/collection/components/input/input.ios.css +2 -3
- package/dist/collection/components/input/input.md.css +2 -7
- 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 -79
- 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/range/range.js +10 -4
- package/dist/collection/components/select/select.js +4 -23
- package/dist/collection/components/textarea/textarea.ios.css +2 -3
- package/dist/collection/components/textarea/textarea.md.css +2 -7
- 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/utils/floating-point/index.js +5 -0
- package/dist/collection/utils/helpers.js +6 -0
- package/dist/collection/utils/logging/index.js +3 -10
- package/dist/collection/utils/platform.js +2 -1
- package/dist/collection/utils/test/platform.utils.js +1 -1
- package/dist/docs.json +6 -187
- package/dist/esm/{app-globals-5dbb61a5.js → app-globals-c10a1137.js} +1 -1
- package/dist/esm/{data-b3284b5e.js → data-ae11fd43.js} +1 -1
- package/dist/esm/{framework-delegate-f683816e.js → framework-delegate-42bc40b1.js} +1 -1
- package/dist/esm/{hardware-back-button-06ef3c3e.js → hardware-back-button-44195e92.js} +1 -1
- package/dist/esm/{helpers-9b49d7d2.js → helpers-13b816c6.js} +7 -1
- package/dist/esm/{index-5a0f5fd0.js → index-28c8fd64.js} +1 -1
- package/dist/esm/{index-6a5baab0.js → index-4b39521b.js} +5 -5
- package/dist/esm/{index-7105cd59.js → index-6b548278.js} +4 -4
- package/dist/esm/{index-6ad967f3.js → index-9b0d46f4.js} +3 -11
- package/dist/esm/{index-dd0f7395.js → index-edf58462.js} +2 -2
- package/dist/esm/index.js +10 -10
- package/dist/esm/{input-shims-dff819a9.js → input-shims-5e5e47e8.js} +3 -5
- package/dist/esm/{input.utils-2f1029cf.js → input.utils-d3717b00.js} +2 -2
- package/dist/esm/ion-accordion_2.entry.js +3 -3
- package/dist/esm/ion-action-sheet.entry.js +6 -6
- package/dist/esm/ion-alert.entry.js +36 -10
- package/dist/esm/ion-app_8.entry.js +14 -14
- package/dist/esm/ion-avatar_3.entry.js +1 -1
- package/dist/esm/ion-back-button.entry.js +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 +3 -3
- package/dist/esm/ion-card_5.entry.js +2 -2
- package/dist/esm/ion-checkbox.entry.js +6 -7
- package/dist/esm/ion-chip.entry.js +1 -1
- package/dist/esm/ion-col_3.entry.js +1 -1
- package/dist/esm/ion-datetime-button.entry.js +4 -4
- package/dist/esm/ion-datetime_3.entry.js +7 -7
- package/dist/esm/ion-fab_3.entry.js +2 -2
- package/dist/esm/ion-img.entry.js +2 -2
- package/dist/esm/ion-infinite-scroll_2.entry.js +4 -4
- package/dist/esm/ion-input-password-toggle.entry.js +2 -2
- package/dist/esm/ion-input.entry.js +7 -7
- package/dist/esm/ion-item-option_3.entry.js +4 -4
- package/dist/esm/ion-item_8.entry.js +2 -2
- package/dist/esm/ion-loading.entry.js +6 -6
- package/dist/esm/ion-menu_3.entry.js +7 -7
- package/dist/esm/ion-modal.entry.js +43 -266
- package/dist/esm/ion-nav_2.entry.js +6 -6
- package/dist/esm/ion-picker-column-option.entry.js +2 -2
- package/dist/esm/ion-picker-column.entry.js +2 -2
- package/dist/esm/ion-picker.entry.js +1 -1
- package/dist/esm/ion-popover.entry.js +7 -7
- package/dist/esm/ion-progress-bar.entry.js +2 -2
- package/dist/esm/ion-radio_2.entry.js +2 -2
- package/dist/esm/ion-range.entry.js +17 -7
- package/dist/esm/ion-refresher_2.entry.js +4 -4
- package/dist/esm/ion-reorder_2.entry.js +4 -4
- package/dist/esm/ion-ripple-effect.entry.js +1 -1
- package/dist/esm/ion-route_4.entry.js +2 -2
- package/dist/esm/ion-searchbar.entry.js +2 -2
- package/dist/esm/ion-segment_2.entry.js +2 -2
- package/dist/esm/ion-select-modal.entry.js +6 -6
- package/dist/esm/ion-select_3.entry.js +11 -12
- package/dist/esm/ion-spinner.entry.js +1 -1
- package/dist/esm/ion-split-pane.entry.js +1 -1
- package/dist/esm/ion-tab-bar_2.entry.js +2 -2
- package/dist/esm/ion-tab_2.entry.js +2 -2
- package/dist/esm/ion-text.entry.js +1 -1
- package/dist/esm/ion-textarea.entry.js +7 -7
- package/dist/esm/ion-toast.entry.js +6 -6
- package/dist/esm/ion-toggle.entry.js +8 -39
- package/dist/esm/{ionic-global-c81d82ab.js → ionic-global-bf78a847.js} +2 -1
- package/dist/esm/ionic.js +3 -3
- package/dist/esm/{ios.transition-314468a2.js → ios.transition-e7a4de4f.js} +4 -4
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{md.transition-a560e0e2.js → md.transition-290d8802.js} +4 -4
- package/dist/esm/{notch-controller-3dc61260.js → notch-controller-bb8f3a48.js} +1 -1
- package/dist/esm/{overlays-9a81f230.js → overlays-4ff6e618.js} +5 -5
- package/dist/esm/{status-tap-d07dbc82.js → status-tap-ba401484.js} +3 -4
- package/dist/esm/{swipe-back-23ee7ab1.js → swipe-back-a258b011.js} +1 -1
- package/dist/esm-es5/app-globals-c10a1137.js +4 -0
- package/dist/esm-es5/{data-b3284b5e.js → data-ae11fd43.js} +1 -1
- package/dist/esm-es5/{framework-delegate-f683816e.js → framework-delegate-42bc40b1.js} +1 -1
- package/dist/esm-es5/{hardware-back-button-06ef3c3e.js → hardware-back-button-44195e92.js} +1 -1
- package/dist/esm-es5/{helpers-9b49d7d2.js → helpers-13b816c6.js} +1 -1
- package/dist/esm-es5/{index-5a0f5fd0.js → index-28c8fd64.js} +1 -1
- package/dist/esm-es5/{index-6a5baab0.js → index-4b39521b.js} +1 -1
- package/dist/esm-es5/{index-7105cd59.js → index-6b548278.js} +1 -1
- package/dist/esm-es5/index-9b0d46f4.js +4 -0
- package/dist/esm-es5/{index-dd0f7395.js → index-edf58462.js} +1 -1
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/input-shims-5e5e47e8.js +4 -0
- package/dist/esm-es5/{input.utils-2f1029cf.js → input.utils-d3717b00.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_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-c81d82ab.js → ionic-global-bf78a847.js} +1 -1
- package/dist/esm-es5/ionic.js +1 -1
- package/dist/esm-es5/{ios.transition-314468a2.js → ios.transition-e7a4de4f.js} +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/md.transition-290d8802.js +4 -0
- package/dist/esm-es5/{notch-controller-3dc61260.js → notch-controller-bb8f3a48.js} +1 -1
- package/dist/esm-es5/{overlays-9a81f230.js → overlays-4ff6e618.js} +1 -1
- package/dist/esm-es5/status-tap-ba401484.js +4 -0
- package/dist/esm-es5/{swipe-back-23ee7ab1.js → swipe-back-a258b011.js} +1 -1
- package/dist/html.html-data.json +0 -24
- 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-bb2a6761.entry.js → p-00d5ab83.entry.js} +1 -1
- package/dist/ionic/{p-73897169.system.js → p-0116e7d7.system.js} +1 -1
- package/dist/ionic/{p-5b932840.entry.js → p-026517fb.entry.js} +1 -1
- package/dist/ionic/{p-da8ef548.system.entry.js → p-05f90810.system.entry.js} +1 -1
- package/dist/ionic/p-06fee233.js +4 -0
- package/dist/ionic/{p-e32557bb.system.entry.js → p-0793353d.system.entry.js} +1 -1
- package/dist/ionic/{p-c935cfc9.js → p-07d0478c.js} +1 -1
- package/dist/ionic/{p-70af0afb.entry.js → p-13637707.entry.js} +1 -1
- package/dist/ionic/{p-df862603.entry.js → p-136ff13e.entry.js} +1 -1
- package/dist/ionic/{p-76446a85.entry.js → p-166f4ba0.entry.js} +1 -1
- package/dist/ionic/{p-fca17935.entry.js → p-16dd9c9b.entry.js} +1 -1
- package/dist/ionic/{p-a5b31c0f.entry.js → p-17c772fb.entry.js} +1 -1
- package/dist/ionic/p-1b2657c9.system.entry.js +4 -0
- package/dist/ionic/{p-4ad78edc.entry.js → p-1f62c30b.entry.js} +1 -1
- package/dist/ionic/{p-eeb5cb45.system.entry.js → p-213b12ce.system.entry.js} +2 -2
- package/dist/ionic/{p-990630ca.js → p-230af7f2.js} +1 -1
- package/dist/ionic/{p-dd0c9350.system.entry.js → p-25580c85.system.entry.js} +1 -1
- package/dist/ionic/p-30ec5574.entry.js +4 -0
- package/dist/ionic/{p-8818edd8.entry.js → p-31918ee1.entry.js} +1 -1
- package/dist/ionic/{p-bc616455.entry.js → p-327b452e.entry.js} +1 -1
- package/dist/ionic/{p-9b3bb24e.entry.js → p-34182275.entry.js} +1 -1
- package/dist/ionic/{p-2bc73fb5.js → p-3559bd4f.js} +1 -1
- package/dist/ionic/{p-acc8399c.system.entry.js → p-361ab803.system.entry.js} +2 -2
- package/dist/ionic/{p-d821466d.system.entry.js → p-364ed29d.system.entry.js} +1 -1
- package/dist/ionic/{p-265939f0.entry.js → p-37264dcc.entry.js} +1 -1
- package/dist/ionic/{p-f5d6624d.entry.js → p-379d9002.entry.js} +1 -1
- package/dist/ionic/{p-02e23f26.entry.js → p-37a21d70.entry.js} +1 -1
- package/dist/ionic/{p-77e7b7b6.system.entry.js → p-3fe95571.system.entry.js} +1 -1
- package/dist/ionic/p-4075165f.js +4 -0
- package/dist/ionic/p-4133f9ec.entry.js +4 -0
- package/dist/ionic/{p-afecb188.entry.js → p-42a9bb35.entry.js} +1 -1
- package/dist/ionic/{p-5010643d.system.entry.js → p-43df2d06.system.entry.js} +1 -1
- package/dist/ionic/{p-e8f34871.entry.js → p-441c2c8c.entry.js} +1 -1
- package/dist/ionic/{p-9962f63f.entry.js → p-4429e8c5.entry.js} +1 -1
- package/dist/ionic/{p-d1172fe3.system.entry.js → p-45109533.system.entry.js} +1 -1
- package/dist/ionic/{p-f3102647.system.entry.js → p-478dfa8c.system.entry.js} +1 -1
- package/dist/ionic/p-47ed8b64.entry.js +4 -0
- package/dist/ionic/{p-7ae680ba.system.entry.js → p-486dc46d.system.entry.js} +1 -1
- package/dist/ionic/{p-92365bc1.system.entry.js → p-48e13807.system.entry.js} +1 -1
- package/dist/ionic/{p-0eb2553a.system.entry.js → p-4a98a017.system.entry.js} +1 -1
- package/dist/ionic/p-4e8946f7.js +4 -0
- package/dist/ionic/{p-2abae1cc.system.entry.js → p-4eed0eb2.system.entry.js} +1 -1
- package/dist/ionic/p-51d4cdba.system.js +4 -0
- package/dist/ionic/{p-5126cf1e.system.js → p-52b61cba.system.js} +1 -1
- package/dist/ionic/{p-95775830.entry.js → p-56a8aa85.entry.js} +1 -1
- package/dist/ionic/{p-2515cb4d.system.entry.js → p-5996d3ad.system.entry.js} +1 -1
- package/dist/ionic/{p-346b2baf.js → p-5ae70860.js} +1 -1
- package/dist/ionic/{p-39dd4f62.js → p-5d1be985.js} +1 -1
- package/dist/ionic/{p-f78af648.system.entry.js → p-5d3dc32b.system.entry.js} +1 -1
- package/dist/ionic/{p-155c2bb0.entry.js → p-5e9733d0.entry.js} +1 -1
- package/dist/ionic/{p-f301a694.system.entry.js → p-6347c733.system.entry.js} +1 -1
- package/dist/ionic/{p-058e61eb.system.js → p-64bb1da1.system.js} +1 -1
- package/dist/ionic/p-665f9987.entry.js +4 -0
- package/dist/ionic/{p-578efda4.system.js → p-6a649fcd.system.js} +2 -2
- package/dist/ionic/{p-70ccc275.system.entry.js → p-6c85db7e.system.entry.js} +1 -1
- package/dist/ionic/{p-bb11d9fb.js → p-6eb35904.js} +1 -1
- package/dist/ionic/{p-ecceeb90.js → p-6f3d8334.js} +1 -1
- package/dist/ionic/{p-fca6ef5f.system.entry.js → p-712b57f9.system.entry.js} +1 -1
- package/dist/ionic/p-71d528e6.entry.js +4 -0
- package/dist/ionic/{p-d99e8644.system.js → p-733f53f8.system.js} +1 -1
- package/dist/ionic/{p-18e101b7.system.entry.js → p-7a9407cc.system.entry.js} +2 -2
- package/dist/ionic/{p-d7bb5325.entry.js → p-80f2a47b.entry.js} +1 -1
- package/dist/ionic/{p-8cfba7e9.system.entry.js → p-830f1a37.system.entry.js} +1 -1
- package/dist/ionic/{p-62af944c.entry.js → p-85b1ffae.entry.js} +1 -1
- package/dist/ionic/{p-3c8e5c23.system.js → p-8911101b.system.js} +1 -1
- package/dist/ionic/{p-7a1766d6.js → p-89e678fa.js} +1 -1
- package/dist/ionic/{p-b3680e2f.system.js → p-8aa290af.system.js} +1 -1
- package/dist/ionic/p-8b367303.entry.js +4 -0
- package/dist/ionic/{p-41780810.entry.js → p-8c0d81a9.entry.js} +1 -1
- package/dist/ionic/p-8f3d6be8.entry.js +4 -0
- package/dist/ionic/{p-955c3eb8.entry.js → p-8f89c8e3.entry.js} +1 -1
- package/dist/ionic/{p-c32644d7.entry.js → p-91b944fa.entry.js} +1 -1
- package/dist/ionic/{p-af452fa4.system.js → p-953d9cf5.system.js} +1 -1
- package/dist/ionic/{p-5fce0c0b.system.entry.js → p-9c7efe25.system.entry.js} +1 -1
- package/dist/ionic/{p-bdad26e3.entry.js → p-9d4a8059.entry.js} +1 -1
- package/dist/ionic/p-9e23592d.system.js +4 -0
- package/dist/ionic/{p-c8d645b3.entry.js → p-a4b108a7.entry.js} +1 -1
- package/dist/ionic/{p-9de5c787.entry.js → p-a69cf9ea.entry.js} +1 -1
- package/dist/ionic/p-a749d4a9.entry.js +4 -0
- package/dist/ionic/{p-2507278c.system.entry.js → p-a873feda.system.entry.js} +1 -1
- package/dist/ionic/{p-2cbe5399.entry.js → p-a8d31cd5.entry.js} +1 -1
- package/dist/ionic/{p-655723eb.system.entry.js → p-ac2c154f.system.entry.js} +1 -1
- package/dist/ionic/p-acb5a6e4.entry.js +4 -0
- package/dist/ionic/{p-4d413973.system.entry.js → p-ae02a7ea.system.entry.js} +1 -1
- package/dist/ionic/p-afd6183a.system.entry.js +4 -0
- package/dist/ionic/p-b1c4a9db.js +4 -0
- package/dist/ionic/{p-af744710.system.entry.js → p-b533b7ab.system.entry.js} +1 -1
- package/dist/ionic/{p-d4ca0475.js → p-b566749e.js} +1 -1
- package/dist/ionic/p-b58057d4.js +4 -0
- package/dist/ionic/p-b5a10c8b.system.entry.js +4 -0
- package/dist/ionic/p-b6ee3fc7.system.entry.js +4 -0
- package/dist/ionic/{p-8e407469.system.js → p-bba0bc47.system.js} +1 -1
- package/dist/ionic/{p-10327ad2.system.entry.js → p-bc148b43.system.entry.js} +1 -1
- package/dist/ionic/{p-fec13c57.entry.js → p-c06312bf.entry.js} +1 -1
- package/dist/ionic/{p-860eb968.system.js → p-c09a2f58.system.js} +1 -1
- package/dist/ionic/{p-6d32975a.entry.js → p-c2583512.entry.js} +1 -1
- package/dist/ionic/p-c312ea08.entry.js +4 -0
- package/dist/ionic/{p-2ef3c7ee.system.entry.js → p-c3a51c19.system.entry.js} +1 -1
- package/dist/ionic/{p-f89cf011.system.entry.js → p-c3de6cd1.system.entry.js} +1 -1
- package/dist/ionic/p-c42a4dad.system.entry.js +4 -0
- package/dist/ionic/{p-a9e24ae2.system.entry.js → p-c55254f0.system.entry.js} +1 -1
- package/dist/ionic/{p-33a8a71b.entry.js → p-c66604e4.entry.js} +1 -1
- package/dist/ionic/{p-72ec9a26.entry.js → p-ca5eef42.entry.js} +1 -1
- package/dist/ionic/{p-037fc3f3.entry.js → p-cc991f05.entry.js} +1 -1
- package/dist/ionic/{p-7458862e.system.entry.js → p-d4896d36.system.entry.js} +1 -1
- package/dist/ionic/{p-1a5bc5f7.js → p-d60342e3.js} +1 -1
- package/dist/ionic/{p-5882bffa.system.entry.js → p-d6b3e734.system.entry.js} +1 -1
- package/dist/ionic/{p-acb30a5c.system.js → p-d7607262.system.js} +1 -1
- package/dist/ionic/{p-31a6efce.system.entry.js → p-d785235b.system.entry.js} +1 -1
- package/dist/ionic/{p-ed75fcfb.system.entry.js → p-d7fef52e.system.entry.js} +1 -1
- package/dist/ionic/{p-65346408.system.entry.js → p-d854f4bc.system.entry.js} +1 -1
- package/dist/ionic/{p-a69b9fc5.system.js → p-d86d7845.system.js} +1 -1
- package/dist/ionic/{p-dc146a2a.system.entry.js → p-de4fef3c.system.entry.js} +1 -1
- package/dist/ionic/p-e03cd18a.system.entry.js +4 -0
- package/dist/ionic/p-e03d645e.entry.js +4 -0
- package/dist/ionic/{p-84d08aae.system.entry.js → p-e0a2abde.system.entry.js} +1 -1
- package/dist/ionic/{p-d743e981.js → p-e25cd3c7.js} +1 -1
- package/dist/ionic/{p-484d855b.system.entry.js → p-e3be9fa8.system.entry.js} +2 -2
- package/dist/ionic/{p-56da53ad.system.entry.js → p-e4c1fd74.system.entry.js} +1 -1
- package/dist/ionic/{p-e2e19375.system.entry.js → p-e84da6cb.system.entry.js} +1 -1
- package/dist/ionic/{p-36c448fe.entry.js → p-eab9414f.entry.js} +1 -1
- package/dist/ionic/{p-9f3008d4.system.js → p-eb4ac14d.system.js} +1 -1
- package/dist/ionic/{p-6190d0d6.entry.js → p-ebb85488.entry.js} +1 -1
- package/dist/ionic/{p-89bf08c7.entry.js → p-ebd0a280.entry.js} +1 -1
- package/dist/ionic/{p-93e3654c.system.entry.js → p-ee41045b.system.entry.js} +1 -1
- package/dist/ionic/p-efa8edbc.system.js +4 -0
- package/dist/ionic/p-f1bbc785.js +4 -0
- package/dist/ionic/p-f4f255cb.system.js +4 -0
- package/dist/ionic/{p-4452a8ac.system.js → p-f5a536e1.system.js} +1 -1
- package/dist/ionic/{p-343b6b1d.system.js → p-f687573e.system.js} +1 -1
- package/dist/ionic/{p-95da3ae2.system.js → p-f6e7870b.system.js} +1 -1
- package/dist/ionic/p-f6fe87c1.js +4 -0
- package/dist/ionic/{p-f56752be.system.entry.js → p-f8ef15ba.system.entry.js} +1 -1
- package/dist/ionic/{p-e5849f8d.entry.js → p-fced06e0.entry.js} +1 -1
- package/dist/ionic/{p-7b98cebe.entry.js → p-fd2c0aa6.entry.js} +1 -1
- package/dist/ionic/{p-63c09585.system.entry.js → p-feab8373.system.entry.js} +1 -1
- package/dist/ionic/p-ff4b7e40.system.js +4 -0
- package/dist/ionic/{p-4d3a5f86.js → p-ffb6d30e.js} +1 -1
- package/dist/types/components/checkbox/checkbox.d.ts +0 -6
- 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 -11
- package/dist/types/components/select/select.d.ts +0 -6
- 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 -48
- package/dist/types/utils/config.d.ts +0 -9
- package/dist/types/utils/helpers.d.ts +4 -0
- package/dist/types/utils/logging/index.d.ts +1 -13
- package/dist/types/utils/native/capacitor.d.ts +7 -1
- package/dist/types/utils/test/platform.utils.d.ts +1 -1
- package/hydrate/index.js +109 -341
- package/hydrate/index.mjs +109 -341
- package/package.json +5 -5
- package/dist/esm-es5/app-globals-5dbb61a5.js +0 -4
- package/dist/esm-es5/index-6ad967f3.js +0 -4
- package/dist/esm-es5/input-shims-dff819a9.js +0 -4
- package/dist/esm-es5/md.transition-a560e0e2.js +0 -4
- package/dist/esm-es5/status-tap-d07dbc82.js +0 -4
- package/dist/ionic/p-04e08129.entry.js +0 -4
- package/dist/ionic/p-0574e87e.js +0 -4
- package/dist/ionic/p-0f5d878e.system.entry.js +0 -4
- package/dist/ionic/p-155f4d90.entry.js +0 -4
- package/dist/ionic/p-16bfb979.system.entry.js +0 -4
- package/dist/ionic/p-1f405274.js +0 -4
- package/dist/ionic/p-21227121.js +0 -4
- package/dist/ionic/p-22149a4f.js +0 -4
- package/dist/ionic/p-2c9eb774.system.js +0 -4
- package/dist/ionic/p-322c5fb4.system.js +0 -4
- package/dist/ionic/p-34479cfb.entry.js +0 -4
- package/dist/ionic/p-3990c92b.entry.js +0 -4
- package/dist/ionic/p-3e99e3e0.entry.js +0 -4
- package/dist/ionic/p-4129228f.system.entry.js +0 -4
- package/dist/ionic/p-42c9deb1.entry.js +0 -4
- package/dist/ionic/p-49a0e74c.entry.js +0 -4
- package/dist/ionic/p-52245809.js +0 -4
- package/dist/ionic/p-5c9324c6.js +0 -4
- package/dist/ionic/p-67222c16.system.js +0 -4
- package/dist/ionic/p-712fedc9.entry.js +0 -4
- package/dist/ionic/p-80c6d619.entry.js +0 -4
- package/dist/ionic/p-9a100adc.entry.js +0 -4
- package/dist/ionic/p-af09741c.entry.js +0 -4
- package/dist/ionic/p-b936eb7e.system.entry.js +0 -4
- package/dist/ionic/p-c3802319.system.js +0 -4
- package/dist/ionic/p-e8d56122.js +0 -4
- package/dist/ionic/p-efbf5af5.system.entry.js +0 -4
- package/dist/ionic/p-f2613334.system.entry.js +0 -4
- package/dist/ionic/p-fbf86e62.system.js +0 -4
|
@@ -86,7 +86,6 @@ export class Modal {
|
|
|
86
86
|
this.enterAnimation = undefined;
|
|
87
87
|
this.leaveAnimation = undefined;
|
|
88
88
|
this.breakpoints = undefined;
|
|
89
|
-
this.expandToScroll = true;
|
|
90
89
|
this.initialBreakpoint = undefined;
|
|
91
90
|
this.backdropBreakpoint = 0;
|
|
92
91
|
this.handle = undefined;
|
|
@@ -302,7 +301,6 @@ export class Modal {
|
|
|
302
301
|
presentingEl: presentingElement,
|
|
303
302
|
currentBreakpoint: this.initialBreakpoint,
|
|
304
303
|
backdropBreakpoint: this.backdropBreakpoint,
|
|
305
|
-
expandToScroll: this.expandToScroll,
|
|
306
304
|
});
|
|
307
305
|
/* tslint:disable-next-line */
|
|
308
306
|
if (typeof window !== 'undefined') {
|
|
@@ -353,10 +351,7 @@ export class Modal {
|
|
|
353
351
|
// should be in the DOM and referenced by now, except
|
|
354
352
|
// for the presenting el
|
|
355
353
|
const animationBuilder = this.leaveAnimation || config.get('modalLeave', iosLeaveAnimation);
|
|
356
|
-
const ani = (this.animation = animationBuilder(el, {
|
|
357
|
-
presentingEl: this.presentingElement,
|
|
358
|
-
expandToScroll: this.expandToScroll,
|
|
359
|
-
}));
|
|
354
|
+
const ani = (this.animation = animationBuilder(el, { presentingEl: this.presentingElement }));
|
|
360
355
|
const contentEl = findIonContent(el);
|
|
361
356
|
if (!contentEl) {
|
|
362
357
|
printIonContentErrorMsg(el);
|
|
@@ -401,10 +396,9 @@ export class Modal {
|
|
|
401
396
|
presentingEl: this.presentingElement,
|
|
402
397
|
currentBreakpoint: initialBreakpoint,
|
|
403
398
|
backdropBreakpoint,
|
|
404
|
-
expandToScroll: this.expandToScroll,
|
|
405
399
|
}));
|
|
406
400
|
ani.progressStart(true, 1);
|
|
407
|
-
const { gesture, moveSheetToBreakpoint } = createSheetGesture(this.el, this.backdropEl, wrapperEl, initialBreakpoint, backdropBreakpoint, ani, this.sortedBreakpoints,
|
|
401
|
+
const { gesture, moveSheetToBreakpoint } = createSheetGesture(this.el, this.backdropEl, wrapperEl, initialBreakpoint, backdropBreakpoint, ani, this.sortedBreakpoints, () => { var _a; return (_a = this.currentBreakpoint) !== null && _a !== void 0 ? _a : 0; }, () => this.sheetOnDismiss(), (breakpoint) => {
|
|
408
402
|
if (this.currentBreakpoint !== breakpoint) {
|
|
409
403
|
this.currentBreakpoint = breakpoint;
|
|
410
404
|
this.ionBreakpointDidChange.emit({ breakpoint });
|
|
@@ -482,7 +476,6 @@ export class Modal {
|
|
|
482
476
|
presentingEl: presentingElement,
|
|
483
477
|
currentBreakpoint: (_a = this.currentBreakpoint) !== null && _a !== void 0 ? _a : this.initialBreakpoint,
|
|
484
478
|
backdropBreakpoint: this.backdropBreakpoint,
|
|
485
|
-
expandToScroll: this.expandToScroll,
|
|
486
479
|
});
|
|
487
480
|
if (dismissed) {
|
|
488
481
|
const { delegate } = this.getDelegate();
|
|
@@ -568,23 +561,23 @@ export class Modal {
|
|
|
568
561
|
return true;
|
|
569
562
|
}
|
|
570
563
|
render() {
|
|
571
|
-
const { handle, isSheetModal, presentingElement, htmlAttributes, handleBehavior, inheritedAttributes, focusTrap
|
|
564
|
+
const { handle, isSheetModal, presentingElement, htmlAttributes, handleBehavior, inheritedAttributes, focusTrap } = this;
|
|
572
565
|
const showHandle = handle !== false && isSheetModal;
|
|
573
566
|
const mode = getIonMode(this);
|
|
574
567
|
const isCardModal = presentingElement !== undefined && mode === 'ios';
|
|
575
568
|
const isHandleCycle = handleBehavior === 'cycle';
|
|
576
|
-
return (h(Host, Object.assign({ key: '
|
|
569
|
+
return (h(Host, Object.assign({ key: 'b4da5111fe4719fa450c39b2d4bd884a302a7924', "no-router": true, tabindex: "-1" }, htmlAttributes, { style: {
|
|
577
570
|
zIndex: `${20000 + this.overlayIndex}`,
|
|
578
|
-
}, class: Object.assign({ [mode]: true, ['modal-default']: !isCardModal && !isSheetModal, [`modal-card`]: isCardModal, [`modal-sheet`]: isSheetModal,
|
|
571
|
+
}, class: Object.assign({ [mode]: true, ['modal-default']: !isCardModal && !isSheetModal, [`modal-card`]: isCardModal, [`modal-sheet`]: isSheetModal, 'overlay-hidden': true, [FOCUS_TRAP_DISABLE_CLASS]: focusTrap === false }, getClassMap(this.cssClass)), onIonBackdropTap: this.onBackdropTap, onIonModalDidPresent: this.onLifecycle, onIonModalWillPresent: this.onLifecycle, onIonModalWillDismiss: this.onLifecycle, onIonModalDidDismiss: this.onLifecycle }), h("ion-backdrop", { key: 'c12dbf747e0eb914eaf1331798548ffc7e147763', ref: (el) => (this.backdropEl = el), visible: this.showBackdrop, tappable: this.backdropDismiss, part: "backdrop" }), mode === 'ios' && h("div", { key: 'da546ee80c6576b5acc66e959fd5009e0b9a8160', class: "modal-shadow" }), h("div", Object.assign({ key: '306ebe6427440ad5f7ed36d590e562d15a503b75',
|
|
579
572
|
/*
|
|
580
573
|
role and aria-modal must be used on the
|
|
581
574
|
same element. They must also be set inside the
|
|
582
575
|
shadow DOM otherwise ion-button will not be highlighted
|
|
583
576
|
when using VoiceOver: https://bugs.webkit.org/show_bug.cgi?id=247134
|
|
584
577
|
*/
|
|
585
|
-
role: "dialog" }, inheritedAttributes, { "aria-modal": "true", class: "modal-wrapper ion-overlay-wrapper", part: "content", ref: (el) => (this.wrapperEl = el) }), showHandle && (h("button", { key: '
|
|
578
|
+
role: "dialog" }, inheritedAttributes, { "aria-modal": "true", class: "modal-wrapper ion-overlay-wrapper", part: "content", ref: (el) => (this.wrapperEl = el) }), showHandle && (h("button", { key: 'c5d17e346fe255a7c0cacbbf15c0083f2d09c488', class: "modal-handle",
|
|
586
579
|
// Prevents the handle from receiving keyboard focus when it does not cycle
|
|
587
|
-
tabIndex: !isHandleCycle ? -1 : 0, "aria-label": "Activate to adjust the size of the dialog overlaying the screen", onClick: isHandleCycle ? this.onHandleClick : undefined, part: "handle" })), h("slot", { key: '
|
|
580
|
+
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: '5cc714170a00b67f3eda0cd1d6f37c1489a99c83' }))));
|
|
588
581
|
}
|
|
589
582
|
static get is() { return "ion-modal"; }
|
|
590
583
|
static get encapsulation() { return "shadow"; }
|
|
@@ -742,24 +735,6 @@ export class Modal {
|
|
|
742
735
|
"text": "The breakpoints to use when creating a sheet modal. Each value in the\narray must be a decimal between 0 and 1 where 0 indicates the modal is fully\nclosed and 1 indicates the modal is fully open. Values are relative\nto the height of the modal, not the height of the screen. One of the values in this\narray must be the value of the `initialBreakpoint` property.\nFor example: [0, .25, .5, 1]"
|
|
743
736
|
}
|
|
744
737
|
},
|
|
745
|
-
"expandToScroll": {
|
|
746
|
-
"type": "boolean",
|
|
747
|
-
"mutable": false,
|
|
748
|
-
"complexType": {
|
|
749
|
-
"original": "boolean",
|
|
750
|
-
"resolved": "boolean",
|
|
751
|
-
"references": {}
|
|
752
|
-
},
|
|
753
|
-
"required": false,
|
|
754
|
-
"optional": false,
|
|
755
|
-
"docs": {
|
|
756
|
-
"tags": [],
|
|
757
|
-
"text": "Controls whether scrolling or dragging within the sheet modal expands\nit to a larger breakpoint. This only takes effect when `breakpoints`\nand `initialBreakpoint` are set.\n\nIf `true`, scrolling or dragging anywhere in the modal will first expand\nit to the next breakpoint. Once fully expanded, scrolling will affect the content.\nIf `false`, scrolling will always affect the content, and the modal will only expand\nwhen dragging the header or handle."
|
|
758
|
-
},
|
|
759
|
-
"attribute": "expand-to-scroll",
|
|
760
|
-
"reflect": false,
|
|
761
|
-
"defaultValue": "true"
|
|
762
|
-
},
|
|
763
738
|
"initialBreakpoint": {
|
|
764
739
|
"type": "number",
|
|
765
740
|
"mutable": false,
|
|
@@ -201,12 +201,6 @@ ion-backdrop {
|
|
|
201
201
|
bottom: 0;
|
|
202
202
|
}
|
|
203
203
|
|
|
204
|
-
:host(.modal-sheet.modal-no-expand-scroll) ion-footer {
|
|
205
|
-
position: absolute;
|
|
206
|
-
bottom: 0;
|
|
207
|
-
width: var(--width);
|
|
208
|
-
}
|
|
209
|
-
|
|
210
204
|
/**
|
|
211
205
|
* Convert a font size to a dynamic font size.
|
|
212
206
|
* Fonts that participate in Dynamic Type should use
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import { Host, h } from "@stencil/core";
|
|
5
5
|
import { findClosestIonContent, disableContentScrollY, resetContentScrollY } from "../../utils/content/index";
|
|
6
|
-
import { inheritAriaAttributes, clamp, debounceEvent, renderHiddenInput } from "../../utils/helpers";
|
|
6
|
+
import { inheritAriaAttributes, clamp, debounceEvent, renderHiddenInput, isSafeNumber } from "../../utils/helpers";
|
|
7
7
|
import { printIonWarning } from "../../utils/logging/index";
|
|
8
8
|
import { isRTL } from "../../utils/rtl/index";
|
|
9
9
|
import { createColorClasses, hostContext } from "../../utils/theme";
|
|
@@ -129,11 +129,17 @@ export class Range {
|
|
|
129
129
|
this.ionInput = debounce === undefined ? originalIonInput !== null && originalIonInput !== void 0 ? originalIonInput : ionInput : debounceEvent(ionInput, debounce);
|
|
130
130
|
}
|
|
131
131
|
minChanged() {
|
|
132
|
+
if (!isSafeNumber(this.min)) {
|
|
133
|
+
this.min = 0;
|
|
134
|
+
}
|
|
132
135
|
if (!this.noUpdate) {
|
|
133
136
|
this.updateRatio();
|
|
134
137
|
}
|
|
135
138
|
}
|
|
136
139
|
maxChanged() {
|
|
140
|
+
if (!isSafeNumber(this.max)) {
|
|
141
|
+
this.max = 100;
|
|
142
|
+
}
|
|
137
143
|
if (!this.noUpdate) {
|
|
138
144
|
this.updateRatio();
|
|
139
145
|
}
|
|
@@ -564,7 +570,7 @@ export class Range {
|
|
|
564
570
|
const needsEndAdjustment = inItem && !hasEndContent;
|
|
565
571
|
const mode = getIonMode(this);
|
|
566
572
|
renderHiddenInput(true, el, this.name, JSON.stringify(this.getValue()), disabled);
|
|
567
|
-
return (h(Host, { key: '
|
|
573
|
+
return (h(Host, { key: '37f1c8a1f2952dcfc900d200884b3ac7a76a349c', onFocusin: this.onFocus, onFocusout: this.onBlur, id: rangeId, class: createColorClasses(this.color, {
|
|
568
574
|
[mode]: true,
|
|
569
575
|
'in-item': inItem,
|
|
570
576
|
'range-disabled': disabled,
|
|
@@ -573,10 +579,10 @@ export class Range {
|
|
|
573
579
|
[`range-label-placement-${labelPlacement}`]: true,
|
|
574
580
|
'range-item-start-adjustment': needsStartAdjustment,
|
|
575
581
|
'range-item-end-adjustment': needsEndAdjustment,
|
|
576
|
-
}) }, h("label", { key: '
|
|
582
|
+
}) }, h("label", { key: '2833c43f2f36b95ac21ca7700d85d28527c78936', class: "range-wrapper", id: "range-label" }, h("div", { key: 'e73b0c070244ae7e1b97b4dab05e6a9da4f559a7', class: {
|
|
577
583
|
'label-text-wrapper': true,
|
|
578
584
|
'label-text-wrapper-hidden': !hasLabel,
|
|
579
|
-
}, part: "label" }, label !== undefined ? h("div", { class: "label-text" }, label) : h("slot", { name: "label" })), h("div", { key: '
|
|
585
|
+
}, part: "label" }, label !== undefined ? h("div", { class: "label-text" }, label) : h("slot", { name: "label" })), h("div", { key: '1a93a9e6cc9ff5b03c4d7318f36debe462ffd7ef', class: "native-wrapper" }, h("slot", { key: '976d52d2ae6d91fc872dfe0fd6a35716693af172', name: "start" }), this.renderRangeSlider(), h("slot", { key: 'bad89f6db73b136313ed3a195e598c2c220181c0', name: "end" })))));
|
|
580
586
|
}
|
|
581
587
|
static get is() { return "ion-range"; }
|
|
582
588
|
static get encapsulation() { return "shadow"; }
|
|
@@ -91,7 +91,6 @@ export class Select {
|
|
|
91
91
|
this.expandedIcon = undefined;
|
|
92
92
|
this.shape = undefined;
|
|
93
93
|
this.value = undefined;
|
|
94
|
-
this.required = false;
|
|
95
94
|
}
|
|
96
95
|
styleChanged() {
|
|
97
96
|
this.emitStyle();
|
|
@@ -656,8 +655,8 @@ export class Select {
|
|
|
656
655
|
return renderedLabel;
|
|
657
656
|
}
|
|
658
657
|
renderListbox() {
|
|
659
|
-
const { disabled, inputId, isExpanded
|
|
660
|
-
return (h("button", { disabled: disabled, id: inputId, "aria-label": this.ariaLabel, "aria-haspopup": "dialog", "aria-expanded": `${isExpanded}`,
|
|
658
|
+
const { disabled, inputId, isExpanded } = this;
|
|
659
|
+
return (h("button", { disabled: disabled, id: inputId, "aria-label": this.ariaLabel, "aria-haspopup": "dialog", "aria-expanded": `${isExpanded}`, onFocus: this.onFocus, onBlur: this.onBlur, ref: (focusEl) => (this.focusEl = focusEl) }));
|
|
661
660
|
}
|
|
662
661
|
render() {
|
|
663
662
|
const { disabled, el, isExpanded, expandedIcon, labelPlacement, justify, placeholder, fill, shape, name, value } = this;
|
|
@@ -688,7 +687,7 @@ export class Select {
|
|
|
688
687
|
* TODO(FW-5592): Remove hasStartEndSlots condition
|
|
689
688
|
*/
|
|
690
689
|
const labelShouldFloat = labelPlacement === 'stacked' || (labelPlacement === 'floating' && (hasValue || isExpanded || hasStartEndSlots));
|
|
691
|
-
return (h(Host, { key: '
|
|
690
|
+
return (h(Host, { key: 'b2dca9ae25d88e4d9fdb55003041a66be5668fcf', onClick: this.onClick, class: createColorClasses(this.color, {
|
|
692
691
|
[mode]: true,
|
|
693
692
|
'in-item': inItem,
|
|
694
693
|
'in-item-color': hostContext('ion-item.ion-color', el),
|
|
@@ -704,7 +703,7 @@ export class Select {
|
|
|
704
703
|
[`select-justify-${justify}`]: justifyEnabled,
|
|
705
704
|
[`select-shape-${shape}`]: shape !== undefined,
|
|
706
705
|
[`select-label-placement-${labelPlacement}`]: true,
|
|
707
|
-
}) }, h("label", { key: '
|
|
706
|
+
}) }, h("label", { key: 'c22fe9aee8cd448223497ef143e89529fcef8af6', class: "select-wrapper", id: "select-label" }, this.renderLabelContainer(), h("div", { key: '601972df4579f4fa6a9c2c12865593e807decb72', class: "select-wrapper-inner" }, h("slot", { key: '5f7b1261862f74b978b26f026533e3fd1cc666ba', name: "start" }), h("div", { key: '39616da89f4b4b78432f6da85116a7de2ca589e7', class: "native-wrapper", ref: (el) => (this.nativeWrapperEl = el), part: "container" }, this.renderSelectText(), this.renderListbox()), h("slot", { key: '1d7b3601b73af7c05b3627cfc8e5147ea379bb03', name: "end" }), !hasFloatingOrStackedLabel && this.renderSelectIcon()), hasFloatingOrStackedLabel && this.renderSelectIcon(), shouldRenderHighlight && h("div", { key: 'b0344f0ac15003e22fee66d3d7ed03a07da7e8b7', class: "select-highlight" }))));
|
|
708
707
|
}
|
|
709
708
|
static get is() { return "ion-select"; }
|
|
710
709
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1070,24 +1069,6 @@ export class Select {
|
|
|
1070
1069
|
},
|
|
1071
1070
|
"attribute": "value",
|
|
1072
1071
|
"reflect": false
|
|
1073
|
-
},
|
|
1074
|
-
"required": {
|
|
1075
|
-
"type": "boolean",
|
|
1076
|
-
"mutable": false,
|
|
1077
|
-
"complexType": {
|
|
1078
|
-
"original": "boolean",
|
|
1079
|
-
"resolved": "boolean",
|
|
1080
|
-
"references": {}
|
|
1081
|
-
},
|
|
1082
|
-
"required": false,
|
|
1083
|
-
"optional": false,
|
|
1084
|
-
"docs": {
|
|
1085
|
-
"tags": [],
|
|
1086
|
-
"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."
|
|
1087
|
-
},
|
|
1088
|
-
"attribute": "required",
|
|
1089
|
-
"reflect": false,
|
|
1090
|
-
"defaultValue": "false"
|
|
1091
1072
|
}
|
|
1092
1073
|
};
|
|
1093
1074
|
}
|
|
@@ -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
|
}
|
|
@@ -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
|
}
|
|
@@ -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) {
|
|
@@ -159,39 +151,13 @@ export class Toggle {
|
|
|
159
151
|
get hasLabel() {
|
|
160
152
|
return this.el.textContent !== '';
|
|
161
153
|
}
|
|
162
|
-
getHintTextID() {
|
|
163
|
-
const { el, helperText, errorText, helperTextId, errorTextId } = this;
|
|
164
|
-
if (el.classList.contains('ion-touched') && el.classList.contains('ion-invalid') && errorText) {
|
|
165
|
-
return errorTextId;
|
|
166
|
-
}
|
|
167
|
-
if (helperText) {
|
|
168
|
-
return helperTextId;
|
|
169
|
-
}
|
|
170
|
-
return undefined;
|
|
171
|
-
}
|
|
172
|
-
/**
|
|
173
|
-
* Responsible for rendering helper text and error text.
|
|
174
|
-
* This element should only be rendered if hint text is set.
|
|
175
|
-
*/
|
|
176
|
-
renderHintText() {
|
|
177
|
-
const { helperText, errorText, helperTextId, errorTextId } = this;
|
|
178
|
-
/**
|
|
179
|
-
* undefined and empty string values should
|
|
180
|
-
* be treated as not having helper/error text.
|
|
181
|
-
*/
|
|
182
|
-
const hasHintText = !!helperText || !!errorText;
|
|
183
|
-
if (!hasHintText) {
|
|
184
|
-
return;
|
|
185
|
-
}
|
|
186
|
-
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)));
|
|
187
|
-
}
|
|
188
154
|
render() {
|
|
189
|
-
const { activated, color, checked, disabled, el, justify, labelPlacement, inputId, name, alignment
|
|
155
|
+
const { activated, color, checked, disabled, el, justify, labelPlacement, inputId, name, alignment } = this;
|
|
190
156
|
const mode = getIonMode(this);
|
|
191
157
|
const value = this.getValue();
|
|
192
158
|
const rtl = isRTL(el) ? 'rtl' : 'ltr';
|
|
193
159
|
renderHiddenInput(true, el, name, checked ? value : '', disabled);
|
|
194
|
-
return (h(Host, { key: '
|
|
160
|
+
return (h(Host, { key: 'f52195ec3bc14c024647cb41319c32a4cd330e19', onClick: this.onClick, class: createColorClasses(color, {
|
|
195
161
|
[mode]: true,
|
|
196
162
|
'in-item': hostContext('ion-item', el),
|
|
197
163
|
'toggle-activated': activated,
|
|
@@ -201,10 +167,10 @@ export class Toggle {
|
|
|
201
167
|
[`toggle-alignment-${alignment}`]: alignment !== undefined,
|
|
202
168
|
[`toggle-label-placement-${labelPlacement}`]: true,
|
|
203
169
|
[`toggle-${rtl}`]: true,
|
|
204
|
-
}) }, h("label", { key: '
|
|
170
|
+
}) }, h("label", { key: 'f8b3a215ad85b2cee611ad63449b584e1640f27f', class: "toggle-wrapper" }, h("input", Object.assign({ key: 'f387b1ea840737a9737917e516834c887be99c09', 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: '936af880db59fe377cd2de9101eb28a1c4fb8914', class: {
|
|
205
171
|
'label-text-wrapper': true,
|
|
206
172
|
'label-text-wrapper-hidden': !this.hasLabel,
|
|
207
|
-
}, part: "label" }, h("slot", { key: '
|
|
173
|
+
}, part: "label" }, h("slot", { key: '80a6672e2e792c15011a9496dcd75363cdba31c6' })), h("div", { key: '2b2b318b38ab27b194c0dab4cecd77d9d780f2ca', class: "native-wrapper" }, this.renderToggleControl()))));
|
|
208
174
|
}
|
|
209
175
|
static get is() { return "ion-toggle"; }
|
|
210
176
|
static get encapsulation() { return "shadow"; }
|
|
@@ -299,40 +265,6 @@ export class Toggle {
|
|
|
299
265
|
"reflect": false,
|
|
300
266
|
"defaultValue": "false"
|
|
301
267
|
},
|
|
302
|
-
"errorText": {
|
|
303
|
-
"type": "string",
|
|
304
|
-
"mutable": false,
|
|
305
|
-
"complexType": {
|
|
306
|
-
"original": "string",
|
|
307
|
-
"resolved": "string | undefined",
|
|
308
|
-
"references": {}
|
|
309
|
-
},
|
|
310
|
-
"required": false,
|
|
311
|
-
"optional": true,
|
|
312
|
-
"docs": {
|
|
313
|
-
"tags": [],
|
|
314
|
-
"text": "Text that is placed under the toggle label and displayed when an error is detected."
|
|
315
|
-
},
|
|
316
|
-
"attribute": "error-text",
|
|
317
|
-
"reflect": false
|
|
318
|
-
},
|
|
319
|
-
"helperText": {
|
|
320
|
-
"type": "string",
|
|
321
|
-
"mutable": false,
|
|
322
|
-
"complexType": {
|
|
323
|
-
"original": "string",
|
|
324
|
-
"resolved": "string | undefined",
|
|
325
|
-
"references": {}
|
|
326
|
-
},
|
|
327
|
-
"required": false,
|
|
328
|
-
"optional": true,
|
|
329
|
-
"docs": {
|
|
330
|
-
"tags": [],
|
|
331
|
-
"text": "Text that is placed under the toggle label and displayed when no error is detected."
|
|
332
|
-
},
|
|
333
|
-
"attribute": "helper-text",
|
|
334
|
-
"reflect": false
|
|
335
|
-
},
|
|
336
268
|
"value": {
|
|
337
269
|
"type": "string",
|
|
338
270
|
"mutable": false,
|
|
@@ -420,24 +352,6 @@ export class Toggle {
|
|
|
420
352
|
},
|
|
421
353
|
"attribute": "alignment",
|
|
422
354
|
"reflect": false
|
|
423
|
-
},
|
|
424
|
-
"required": {
|
|
425
|
-
"type": "boolean",
|
|
426
|
-
"mutable": false,
|
|
427
|
-
"complexType": {
|
|
428
|
-
"original": "boolean",
|
|
429
|
-
"resolved": "boolean",
|
|
430
|
-
"references": {}
|
|
431
|
-
},
|
|
432
|
-
"required": false,
|
|
433
|
-
"optional": false,
|
|
434
|
-
"docs": {
|
|
435
|
-
"tags": [],
|
|
436
|
-
"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."
|
|
437
|
-
},
|
|
438
|
-
"attribute": "required",
|
|
439
|
-
"reflect": false,
|
|
440
|
-
"defaultValue": "false"
|
|
441
355
|
}
|
|
442
356
|
};
|
|
443
357
|
}
|
|
@@ -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;
|