@ionic/core 8.3.2-dev.11727429833.12af2167 → 8.3.2-dev.11728314937.130218e6
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/action-sheet.js +1 -1
- package/components/alert.js +2 -1
- package/components/animation.js +1 -1
- package/components/backdrop.js +1 -1
- package/components/button.js +2 -2
- package/components/buttons.js +1 -1
- package/components/capacitor.js +1 -1
- package/components/checkbox.js +2 -2
- package/components/config2.js +79 -0
- package/components/focus-visible.js +8 -1
- package/components/framework-delegate.js +3 -1
- package/components/helpers.js +4 -1
- package/components/index2.js +2 -1
- package/components/index4.js +1 -3
- package/components/index5.js +27 -3
- package/components/index6.js +124 -27
- package/components/index7.js +150 -111
- package/components/input-shims.js +2 -2
- package/components/input.utils.js +1 -2
- package/components/ion-accordion-group.js +1 -1
- package/components/ion-accordion.js +3 -2
- package/components/ion-app.js +7 -74
- package/components/ion-avatar.js +1 -1
- package/components/ion-back-button.js +3 -2
- package/components/ion-badge.js +1 -1
- package/components/ion-breadcrumb.js +3 -2
- package/components/ion-breadcrumbs.js +1 -1
- package/components/ion-card-content.js +1 -1
- package/components/ion-card-header.js +1 -1
- package/components/ion-card-subtitle.js +1 -1
- package/components/ion-card-title.js +1 -1
- package/components/ion-card.js +1 -1
- package/components/ion-chip.js +1 -1
- package/components/ion-col.js +1 -1
- package/components/ion-content.js +7 -5
- package/components/ion-datetime-button.js +1 -1
- package/components/ion-datetime.js +3 -2
- package/components/ion-fab-button.js +3 -2
- package/components/ion-fab-list.js +1 -1
- package/components/ion-fab.js +1 -1
- package/components/ion-footer.js +7 -5
- package/components/ion-grid.js +1 -1
- package/components/ion-header.js +8 -6
- package/components/ion-img.js +1 -1
- package/components/ion-infinite-scroll-content.js +2 -1
- package/components/ion-infinite-scroll.js +2 -2
- package/components/ion-input-password-toggle.js +3 -2
- package/components/ion-input.js +4 -3
- package/components/ion-item-divider.js +1 -1
- package/components/ion-item-group.js +1 -1
- package/components/ion-item-option.js +1 -1
- package/components/ion-item-options.js +1 -1
- package/components/ion-item-sliding.js +2 -2
- package/components/ion-loading.js +2 -1
- package/components/ion-menu-button.js +3 -2
- package/components/ion-menu-toggle.js +1 -1
- package/components/ion-menu.js +2 -2
- package/components/ion-modal.js +3 -3
- package/components/ion-nav.js +2 -1
- package/components/ion-note.js +1 -1
- package/components/ion-picker-legacy.js +1 -1
- package/components/ion-progress-bar.js +2 -1
- package/components/ion-range.js +2 -2
- package/components/ion-refresher-content.js +3 -2
- package/components/ion-refresher.js +2 -2
- package/components/ion-reorder-group.js +2 -2
- package/components/ion-reorder.js +3 -2
- package/components/ion-router-link.js +1 -1
- package/components/ion-router-outlet.js +2 -1
- package/components/ion-row.js +1 -1
- package/components/ion-searchbar.js +3 -2
- package/components/ion-segment-button.js +8 -8
- package/components/ion-segment.js +7 -7
- package/components/ion-select-option.js +1 -1
- package/components/ion-select.js +3 -2
- package/components/ion-skeleton-text.js +2 -1
- package/components/ion-split-pane.js +1 -1
- package/components/ion-tab-bar.js +1 -1
- package/components/ion-tab-button.js +2 -1
- package/components/ion-text.js +1 -1
- package/components/ion-textarea.js +2 -2
- package/components/ion-thumbnail.js +1 -1
- package/components/ion-title.js +1 -1
- package/components/ion-toast.js +2 -2
- package/components/ion-toggle.js +3 -2
- package/components/ion-toolbar.js +1 -1
- package/components/ionic-global.js +189 -76
- package/components/item.js +4 -3
- package/components/keyboard-controller.js +4 -2
- package/components/label.js +1 -1
- package/components/list-header.js +2 -2
- package/components/list.js +1 -1
- package/components/notch-controller.js +1 -1
- package/components/overlays.js +4 -4
- package/components/picker-column-option.js +1 -1
- package/components/picker-column.js +1 -2
- package/components/picker-column2.js +1 -1
- package/components/popover.js +1 -1
- package/components/radio-group.js +1 -1
- package/components/radio.js +1 -1
- package/components/ripple-effect.js +1 -1
- package/components/select-popover.js +1 -1
- package/components/spinner.js +3 -2
- package/components/status-tap.js +1 -1
- package/css/ionic/bundle.ionic.css +1 -1
- package/css/ionic/bundle.ionic.css.map +1 -1
- package/css/ionic/core.ionic.css +1 -1
- package/css/ionic/core.ionic.css.map +1 -1
- package/dist/cjs/{animation-b4fdf128.js → animation-232e0c8f.js} +2 -2
- package/dist/cjs/{app-globals-38bbc401.js → app-globals-0189a70c.js} +1 -1
- package/dist/cjs/{button-active-3f2f60b4.js → button-active-41228dbf.js} +4 -4
- package/dist/cjs/{capacitor-c04564bf.js → capacitor-806e7fee.js} +3 -3
- package/dist/cjs/{index-73f75efb.js → config-1349d5b4.js} +79 -0
- package/dist/cjs/{data-b3a1a686.js → data-cad5d489.js} +1 -1
- package/dist/{esm/focus-visible-dd40d69f.js → cjs/focus-visible-9aa87fa3.js} +11 -1
- package/dist/cjs/{framework-delegate-55f5683a.js → framework-delegate-cf116b1d.js} +4 -2
- package/dist/cjs/{haptic-f6b37aa3.js → haptic-f0cad9a6.js} +1 -1
- package/dist/cjs/{helpers-afaa9001.js → helpers-e75eb909.js} +4 -1
- package/dist/cjs/{index-2fa32189.js → index-1d02518d.js} +2 -2
- package/dist/cjs/{index-9509ecad.js → index-2c8b42cd.js} +8 -7
- package/dist/cjs/{index-694a3808.js → index-3ac79a1b.js} +10 -10
- package/dist/cjs/{index-ed0f67a3.js → index-71085796.js} +5 -7
- package/dist/cjs/index.cjs.js +10 -12
- package/dist/cjs/{input-shims-ab680ecf.js → input-shims-2958dcc9.js} +17 -18
- package/dist/cjs/{input.utils-44ff82f0.js → input.utils-ed749ecb.js} +3 -4
- package/dist/cjs/ion-accordion_2.cjs.entry.js +18 -18
- package/dist/cjs/ion-action-sheet.cjs.entry.js +23 -25
- package/dist/cjs/ion-alert.cjs.entry.js +33 -35
- package/dist/cjs/ion-app_8.cjs.entry.js +84 -150
- package/dist/cjs/ion-avatar_3.cjs.entry.js +12 -12
- package/dist/cjs/ion-back-button.cjs.entry.js +13 -13
- package/dist/cjs/ion-backdrop.cjs.entry.js +5 -5
- package/dist/cjs/ion-breadcrumb_2.cjs.entry.js +24 -24
- package/dist/cjs/ion-button_2.cjs.entry.js +14 -14
- package/dist/cjs/ion-card_5.cjs.entry.js +19 -19
- package/dist/cjs/ion-checkbox.cjs.entry.js +16 -16
- package/dist/cjs/ion-chip.cjs.entry.js +5 -5
- package/dist/cjs/ion-col_3.cjs.entry.js +12 -12
- package/dist/cjs/ion-datetime-button.cjs.entry.js +8 -8
- package/dist/cjs/ion-datetime_3.cjs.entry.js +89 -91
- package/dist/cjs/ion-fab_3.cjs.entry.js +21 -21
- package/dist/cjs/ion-img.cjs.entry.js +10 -10
- package/dist/cjs/ion-infinite-scroll_2.cjs.entry.js +22 -22
- package/dist/cjs/ion-input-password-toggle.cjs.entry.js +14 -14
- package/dist/cjs/ion-input.cjs.entry.js +28 -29
- package/dist/cjs/ion-item-option_3.cjs.entry.js +19 -19
- package/dist/cjs/ion-item_8.cjs.entry.js +42 -42
- package/dist/cjs/ion-loading.cjs.entry.js +23 -25
- package/dist/cjs/ion-menu_3.cjs.entry.js +37 -39
- package/dist/cjs/ion-modal.cjs.entry.js +48 -50
- package/dist/cjs/ion-nav_2.cjs.entry.js +25 -25
- package/dist/cjs/ion-picker-column-option.cjs.entry.js +7 -7
- package/dist/cjs/ion-picker-column.cjs.entry.js +13 -14
- package/dist/cjs/ion-picker.cjs.entry.js +7 -7
- package/dist/cjs/ion-popover.cjs.entry.js +22 -24
- package/dist/cjs/ion-progress-bar.cjs.entry.js +10 -10
- package/dist/cjs/ion-radio_2.cjs.entry.js +16 -16
- package/dist/cjs/ion-range.cjs.entry.js +23 -23
- package/dist/cjs/ion-refresher_2.cjs.entry.js +46 -47
- package/dist/cjs/ion-reorder_2.cjs.entry.js +20 -21
- package/dist/cjs/ion-ripple-effect.cjs.entry.js +7 -7
- package/dist/cjs/ion-route_4.cjs.entry.js +14 -14
- package/dist/cjs/ion-searchbar.cjs.entry.js +30 -30
- package/dist/cjs/ion-segment_2.cjs.entry.js +25 -25
- package/dist/cjs/ion-select_3.cjs.entry.js +43 -45
- package/dist/cjs/ion-spinner.cjs.entry.js +13 -13
- package/dist/cjs/ion-split-pane.cjs.entry.js +7 -7
- package/dist/cjs/ion-tab-bar_2.cjs.entry.js +18 -19
- package/dist/cjs/ion-tab_2.cjs.entry.js +13 -13
- package/dist/cjs/ion-text.cjs.entry.js +5 -5
- package/dist/cjs/ion-textarea.cjs.entry.js +24 -25
- package/dist/cjs/ion-toast.cjs.entry.js +29 -31
- package/dist/cjs/ion-toggle.cjs.entry.js +24 -25
- package/dist/cjs/{ionic-global-5df85d73.js → ionic-global-3647b9f5.js} +205 -89
- package/dist/cjs/ionic.cjs.js +7 -7
- package/dist/cjs/{ios.transition-7574ba71.js → ios.transition-4411892c.js} +5 -6
- package/dist/cjs/{keyboard-controller-c05e747a.js → keyboard-controller-020444ad.js} +11 -9
- package/dist/cjs/{keyboard-af1bb365.js → keyboard-e0062bfc.js} +4 -3
- package/dist/cjs/{keyboard-0272231f.js → keyboard-ed6e1327.js} +1 -1
- package/dist/cjs/loader.cjs.js +5 -5
- package/dist/cjs/{md.transition-d9d90911.js → md.transition-261f9f67.js} +5 -6
- package/dist/cjs/{notch-controller-d69150f5.js → notch-controller-70ad2323.js} +4 -4
- package/dist/cjs/{overlays-faf6f843.js → overlays-22320753.js} +17 -17
- package/dist/cjs/{status-tap-28780caa.js → status-tap-cfc7f9a5.js} +8 -8
- package/dist/cjs/{swipe-back-0303a5e4.js → swipe-back-ecdf1cf5.js} +2 -1
- package/dist/collection/components/app/app.js +5 -75
- package/dist/collection/components/button/button.ionic.css +1 -1
- package/dist/collection/components/checkbox/checkbox.ionic.css +1 -0
- package/dist/collection/components/content/content.js +6 -4
- package/dist/collection/components/footer/footer.js +5 -3
- package/dist/collection/components/header/header.js +6 -4
- package/dist/collection/components/input/input.ionic.css +2 -2
- package/dist/collection/components/input/input.js +1 -1
- package/dist/collection/components/item/item.ionic.css +8 -0
- package/dist/collection/components/list-header/list-header.ionic.css +6 -6
- package/dist/collection/components/searchbar/searchbar.js +1 -1
- package/dist/collection/components/segment/segment.ionic.css +119 -0
- package/dist/collection/components/segment/segment.ios.css +27 -2
- package/dist/collection/components/segment/segment.js +4 -4
- package/dist/collection/components/segment/segment.md.css +27 -2
- package/dist/collection/components/segment-button/segment-button.ionic.css +352 -0
- package/dist/collection/components/segment-button/segment-button.ios.css +139 -110
- package/dist/collection/components/segment-button/segment-button.js +5 -5
- package/dist/collection/components/segment-button/segment-button.md.css +139 -110
- package/dist/collection/components/spinner/spinner.ionic.css +4 -0
- package/dist/collection/components/textarea/textarea.ionic.css +5 -0
- package/dist/collection/global/ionic-global.js +69 -1
- package/dist/collection/utils/focus-visible.js +7 -0
- package/dist/collection/utils/framework-delegate.js +3 -1
- package/dist/collection/utils/helpers.js +3 -1
- package/dist/collection/utils/keyboard/keyboard-controller.js +3 -1
- package/dist/collection/utils/overlays.js +2 -1
- package/dist/collection/utils/test/playwright/page/utils/set-content.js +1 -0
- package/dist/docs.json +109 -139
- package/dist/esm/{animation-eab5a4ca.js → animation-16546c84.js} +1 -1
- package/dist/esm/{app-globals-c45950ba.js → app-globals-35381e66.js} +1 -1
- package/dist/esm/{button-active-873732e5.js → button-active-c768aceb.js} +2 -2
- package/dist/esm/{capacitor-59395cbd.js → capacitor-0897b83c.js} +1 -1
- package/dist/esm/{index-723c0e5d.js → config-0b6b1b3d.js} +76 -1
- package/dist/esm/{data-fde041b0.js → data-d9b1fbdb.js} +1 -1
- package/dist/{cjs/focus-visible-7a0ce04f.js → esm/focus-visible-501aff19.js} +8 -3
- package/dist/esm/{framework-delegate-63d1a679.js → framework-delegate-56698eb0.js} +4 -2
- package/dist/esm/{haptic-ac164e4c.js → haptic-d9a770b8.js} +1 -1
- package/dist/esm/{helpers-da915de8.js → helpers-d57f52c8.js} +4 -1
- package/{components/index8.js → dist/esm/index-7f65e865.js} +3 -2
- package/dist/esm/{index-2d8b49ae.js → index-82405a4a.js} +3 -5
- package/dist/esm/{index-29be96b3.js → index-edf94b3b.js} +5 -5
- package/dist/esm/{index-56cab0d6.js → index-f8ad386a.js} +2 -2
- package/dist/esm/index.js +10 -12
- package/dist/esm/{input-shims-59f93016.js → input-shims-0f3cc1c3.js} +6 -7
- package/dist/esm/{input.utils-8755322f.js → input.utils-ef4d8197.js} +2 -3
- package/dist/esm/ion-accordion_2.entry.js +3 -3
- package/dist/esm/ion-action-sheet.entry.js +9 -11
- package/dist/esm/ion-alert.entry.js +9 -11
- package/dist/esm/ion-app_8.entry.js +28 -94
- package/dist/esm/ion-avatar_3.entry.js +2 -2
- 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 +4 -4
- package/dist/esm/ion-chip.entry.js +2 -2
- package/dist/esm/ion-col_3.entry.js +2 -2
- package/dist/esm/ion-datetime-button.entry.js +4 -4
- package/dist/esm/ion-datetime_3.entry.js +10 -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 +4 -4
- package/dist/esm/ion-input-password-toggle.entry.js +2 -2
- package/dist/esm/ion-input.entry.js +6 -7
- package/dist/esm/ion-item-option_3.entry.js +4 -4
- package/dist/esm/ion-item_8.entry.js +5 -5
- package/dist/esm/ion-loading.entry.js +6 -8
- package/dist/esm/ion-menu_3.entry.js +7 -9
- package/dist/esm/ion-modal.entry.js +11 -13
- package/dist/esm/ion-nav_2.entry.js +6 -6
- package/dist/esm/ion-picker-column-option.entry.js +3 -3
- package/dist/esm/ion-picker-column.entry.js +5 -6
- package/dist/esm/ion-picker.entry.js +2 -2
- package/dist/esm/ion-popover.entry.js +7 -9
- package/dist/esm/ion-progress-bar.entry.js +3 -3
- package/dist/esm/ion-radio_2.entry.js +3 -3
- package/dist/esm/ion-range.entry.js +4 -4
- package/dist/esm/ion-refresher_2.entry.js +7 -8
- package/dist/esm/ion-reorder_2.entry.js +6 -7
- package/dist/esm/ion-ripple-effect.entry.js +2 -2
- package/dist/esm/ion-route_4.entry.js +3 -3
- package/dist/esm/ion-searchbar.entry.js +3 -3
- package/dist/esm/ion-segment_2.entry.js +16 -16
- package/dist/esm/ion-select_3.entry.js +6 -8
- package/dist/esm/ion-spinner.entry.js +3 -3
- package/dist/esm/ion-split-pane.entry.js +2 -2
- package/dist/esm/ion-tab-bar_2.entry.js +6 -7
- package/dist/esm/ion-tab_2.entry.js +3 -3
- package/dist/esm/ion-text.entry.js +2 -2
- package/dist/esm/ion-textarea.entry.js +6 -7
- package/dist/esm/ion-toast.entry.js +6 -8
- package/dist/esm/ion-toggle.entry.js +5 -6
- package/dist/esm/{ionic-global-a8cbb8b0.js → ionic-global-d7017fd9.js} +184 -72
- package/dist/esm/ionic.js +4 -4
- package/dist/esm/{ios.transition-4706aa28.js → ios.transition-4b9fe79e.js} +5 -6
- package/dist/esm/{keyboard-52278bd7.js → keyboard-584d2e6f.js} +4 -3
- package/dist/esm/{keyboard-73175e24.js → keyboard-ad38b8fc.js} +1 -1
- package/dist/esm/{keyboard-controller-ec5c2bfa.js → keyboard-controller-9c9c2301.js} +5 -3
- package/dist/esm/loader.js +4 -4
- package/dist/esm/{md.transition-20ad6960.js → md.transition-a71dc418.js} +5 -6
- package/dist/esm/{notch-controller-55b09e11.js → notch-controller-4d9a7b28.js} +2 -2
- package/dist/esm/{overlays-40e86f77.js → overlays-9da9aef5.js} +6 -6
- package/dist/esm/{status-tap-0433b6a6.js → status-tap-82f51b25.js} +4 -4
- package/dist/esm/{swipe-back-e5394307.js → swipe-back-c5709ce5.js} +2 -1
- package/dist/esm-es5/animation-16546c84.js +4 -0
- package/dist/esm-es5/app-globals-35381e66.js +4 -0
- package/dist/esm-es5/button-active-c768aceb.js +4 -0
- package/dist/esm-es5/capacitor-0897b83c.js +4 -0
- package/dist/esm-es5/{index-723c0e5d.js → config-0b6b1b3d.js} +2 -2
- package/dist/esm-es5/{data-fde041b0.js → data-d9b1fbdb.js} +1 -1
- package/dist/esm-es5/focus-visible-501aff19.js +4 -0
- package/dist/esm-es5/framework-delegate-56698eb0.js +4 -0
- package/dist/esm-es5/{haptic-ac164e4c.js → haptic-d9a770b8.js} +1 -1
- package/dist/esm-es5/helpers-d57f52c8.js +4 -0
- package/dist/esm-es5/index-7f65e865.js +4 -0
- package/dist/esm-es5/index-82405a4a.js +4 -0
- package/dist/esm-es5/index-edf94b3b.js +4 -0
- package/dist/esm-es5/{index-56cab0d6.js → index-f8ad386a.js} +1 -1
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/input-shims-0f3cc1c3.js +4 -0
- package/dist/esm-es5/input.utils-ef4d8197.js +4 -0
- 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_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-d7017fd9.js +4 -0
- package/dist/esm-es5/ionic.js +1 -1
- package/dist/esm-es5/ios.transition-4b9fe79e.js +4 -0
- package/dist/esm-es5/keyboard-584d2e6f.js +4 -0
- package/dist/esm-es5/{keyboard-73175e24.js → keyboard-ad38b8fc.js} +1 -1
- package/dist/esm-es5/keyboard-controller-9c9c2301.js +4 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/md.transition-a71dc418.js +4 -0
- package/dist/esm-es5/notch-controller-4d9a7b28.js +4 -0
- package/dist/esm-es5/overlays-9da9aef5.js +4 -0
- package/dist/esm-es5/status-tap-82f51b25.js +4 -0
- package/dist/esm-es5/swipe-back-c5709ce5.js +4 -0
- package/dist/html.html-data.json +102 -102
- 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-027d729e.entry.js +4 -0
- package/dist/ionic/p-036e1c5b.entry.js +4 -0
- package/dist/ionic/{p-8285d686.system.entry.js → p-0695a0af.system.entry.js} +1 -1
- package/dist/ionic/p-08df90cf.system.js +4 -0
- package/dist/ionic/p-08f1ef0c.entry.js +4 -0
- package/dist/ionic/{p-eef611dc.system.entry.js → p-093de343.system.entry.js} +1 -1
- package/dist/ionic/{p-d3fd2c98.entry.js → p-0a701833.entry.js} +1 -1
- package/dist/ionic/{p-0b120b1d.js → p-0a820472.js} +1 -1
- package/dist/ionic/p-0ade0499.system.entry.js +4 -0
- package/dist/ionic/p-1037b7dd.js +4 -0
- package/dist/ionic/p-11915ee9.system.entry.js +4 -0
- package/dist/ionic/p-12e3e308.entry.js +4 -0
- package/dist/ionic/p-14719a77.entry.js +4 -0
- package/dist/ionic/{p-0fd7a8cb.system.entry.js → p-15d007ee.system.entry.js} +1 -1
- package/dist/ionic/p-15d51b10.js +4 -0
- package/dist/ionic/p-221e5078.system.js +4 -0
- package/dist/ionic/p-25e2c98f.system.js +4 -0
- package/dist/ionic/p-26f7c080.system.js +4 -0
- package/dist/ionic/p-28d04212.system.js +4 -0
- package/dist/ionic/{p-cde755fc.system.entry.js → p-291dc0b3.system.entry.js} +1 -1
- package/dist/ionic/p-29d6d1fc.system.entry.js +4 -0
- package/dist/ionic/p-2a559ac6.js +4 -0
- package/dist/ionic/p-2a79e451.entry.js +4 -0
- package/dist/ionic/p-2b428cf6.entry.js +4 -0
- package/dist/ionic/{p-d878447e.entry.js → p-2c368e32.entry.js} +1 -1
- package/dist/ionic/{p-a4519424.system.js → p-2c5d7d84.system.js} +1 -1
- package/dist/ionic/p-2d621d56.system.entry.js +4 -0
- package/dist/ionic/{p-6b6ee9ca.system.entry.js → p-2da8c20c.system.entry.js} +1 -1
- package/dist/ionic/p-334c09da.entry.js +4 -0
- package/dist/ionic/p-33a1d951.system.entry.js +4 -0
- package/dist/ionic/p-36bdcfc4.js +4 -0
- package/dist/ionic/p-388ac217.js +4 -0
- package/dist/ionic/{p-727aa804.system.entry.js → p-39c02066.system.entry.js} +1 -1
- package/dist/ionic/{p-c4ae4d32.system.js → p-3a11234f.system.js} +1 -1
- package/dist/ionic/{p-4ccbf702.system.js → p-3bfe43bc.system.js} +1 -1
- package/dist/ionic/p-3ca5196c.js +4 -0
- package/dist/ionic/{p-35b66bbc.system.entry.js → p-3d9cad0b.system.entry.js} +1 -1
- package/dist/ionic/{p-5a583b1a.entry.js → p-413a936c.entry.js} +1 -1
- package/dist/ionic/p-419fac38.entry.js +4 -0
- package/dist/ionic/p-434c7348.system.entry.js +4 -0
- package/dist/ionic/p-45e150eb.js +4 -0
- package/dist/ionic/p-46787abb.system.js +4 -0
- package/dist/ionic/p-46cc2492.system.js +4 -0
- package/dist/ionic/{p-77c3fe69.entry.js → p-49a3fc76.entry.js} +1 -1
- package/dist/ionic/p-49d80815.entry.js +4 -0
- package/dist/ionic/{p-854b1e11.system.entry.js → p-4a9b61ed.system.entry.js} +1 -1
- package/dist/ionic/{p-b6d72f12.entry.js → p-4b153a9f.entry.js} +1 -1
- package/dist/ionic/p-4c251d59.entry.js +4 -0
- package/dist/ionic/{p-10dacd80.entry.js → p-4d000ec5.entry.js} +1 -1
- package/dist/ionic/p-4e202665.js +4 -0
- package/dist/ionic/p-4ea10a10.entry.js +4 -0
- package/dist/ionic/{p-27281edd.js → p-4ed7dfdb.js} +1 -1
- package/dist/ionic/p-4feea938.entry.js +4 -0
- package/dist/ionic/{p-4de02483.entry.js → p-5468bfbf.entry.js} +1 -1
- package/dist/ionic/p-5655419d.system.entry.js +4 -0
- package/dist/ionic/p-5ce35a03.js +4 -0
- package/dist/ionic/p-5dc2a7c6.entry.js +4 -0
- package/dist/ionic/{p-19ea7bff.system.js → p-61a51379.system.js} +1 -1
- package/dist/ionic/p-6320cbc1.system.entry.js +4 -0
- package/dist/ionic/p-643e2eb8.js +4 -0
- package/dist/ionic/p-660f3b98.entry.js +4 -0
- package/dist/ionic/{p-d05aabdf.system.entry.js → p-68f3fa48.system.entry.js} +2 -2
- package/dist/ionic/{p-bd7fb7b4.js → p-69e54172.js} +1 -1
- package/dist/ionic/p-6ad6d594.js +4 -0
- package/dist/ionic/{p-82028c01.system.entry.js → p-6d9e1887.system.entry.js} +1 -1
- package/dist/ionic/{p-f3cfb48a.entry.js → p-6ecebfc6.entry.js} +1 -1
- package/dist/ionic/{p-c32229bb.system.entry.js → p-6f8c2e62.system.entry.js} +1 -1
- package/dist/ionic/p-70c6cd75.system.js +4 -0
- package/dist/ionic/{p-5cc80c49.system.js → p-71e8ffdd.system.js} +1 -1
- package/dist/ionic/{p-6c555957.system.entry.js → p-726b9197.system.entry.js} +1 -1
- package/dist/ionic/{p-ce5c2902.system.js → p-73e32456.system.js} +1 -1
- package/dist/ionic/{p-9146695e.system.js → p-747e9c9a.system.js} +1 -1
- package/dist/ionic/p-7759fac2.system.entry.js +4 -0
- package/dist/ionic/p-7ebc381e.entry.js +4 -0
- package/dist/ionic/{p-e34e037d.system.entry.js → p-80342c88.system.entry.js} +1 -1
- package/dist/ionic/{p-3f8a3fb4.system.entry.js → p-82832f09.system.entry.js} +1 -1
- package/dist/ionic/p-83d5ee25.entry.js +4 -0
- package/dist/ionic/p-8421aedf.js +4 -0
- package/dist/ionic/{p-927b5898.entry.js → p-846dd10a.entry.js} +1 -1
- package/dist/ionic/p-90089868.system.entry.js +4 -0
- package/dist/ionic/p-9152f6a3.system.entry.js +4 -0
- package/dist/ionic/{p-48cd1ced.entry.js → p-92b48263.entry.js} +1 -1
- package/dist/ionic/p-931dc464.entry.js +4 -0
- package/dist/ionic/p-95e22fa9.entry.js +4 -0
- package/dist/ionic/{p-e259208f.entry.js → p-9a9eb866.entry.js} +1 -1
- package/dist/ionic/p-9c526519.entry.js +4 -0
- package/dist/ionic/p-9e4ede77.system.entry.js +4 -0
- package/dist/ionic/p-9e8e25e4.system.js +4 -0
- package/dist/ionic/p-9e9bff83.system.js +4 -0
- package/dist/ionic/p-9f51595b.entry.js +4 -0
- package/dist/ionic/p-a4df1928.entry.js +4 -0
- package/dist/ionic/{p-3efc5d47.system.entry.js → p-a65fe34d.system.entry.js} +1 -1
- package/dist/ionic/p-a6aaef61.system.entry.js +4 -0
- package/dist/ionic/p-a856dbc6.entry.js +4 -0
- package/dist/ionic/{p-83948e48.js → p-a9fd9d48.js} +2 -2
- package/dist/ionic/p-aacc6ddd.system.js +5 -0
- package/dist/ionic/{p-bcfa9bb5.system.entry.js → p-ab6e0f02.system.entry.js} +1 -1
- package/dist/ionic/p-ac64cba5.entry.js +4 -0
- package/dist/ionic/p-adaa7af1.entry.js +4 -0
- package/dist/ionic/p-adec897a.system.entry.js +4 -0
- package/dist/ionic/p-b0e10591.entry.js +4 -0
- package/dist/ionic/{p-46f790b3.entry.js → p-b14c601a.entry.js} +1 -1
- package/dist/ionic/p-b19a9aa9.system.js +4 -0
- package/dist/ionic/p-b297c7b5.system.js +4 -0
- package/dist/ionic/{p-d6eda1bb.system.entry.js → p-b6fc8ee2.system.entry.js} +1 -1
- package/dist/ionic/{p-89b61afc.js → p-b9b36d56.js} +1 -1
- package/dist/ionic/p-ba3ddec4.js +4 -0
- package/dist/ionic/{p-9c8e5275.system.entry.js → p-bd50f24e.system.entry.js} +1 -1
- package/dist/ionic/{p-db63907a.system.entry.js → p-c2a4c5c5.system.entry.js} +1 -1
- package/dist/ionic/p-c6191942.js +4 -0
- package/dist/ionic/p-c6e47379.entry.js +4 -0
- package/dist/ionic/p-c7e967c0.system.entry.js +4 -0
- package/dist/ionic/p-c8097757.system.entry.js +4 -0
- package/dist/ionic/{p-b06ac4a5.system.js → p-c9ef0ca7.system.js} +1 -1
- package/dist/ionic/p-cb131dda.system.entry.js +4 -0
- package/dist/ionic/{p-ca3bf740.system.entry.js → p-cb8800fe.system.entry.js} +1 -1
- package/dist/ionic/p-cf2f1ede.entry.js +4 -0
- package/dist/ionic/p-d0259f44.system.js +4 -0
- package/dist/ionic/{p-bf673222.system.entry.js → p-d085c881.system.entry.js} +1 -1
- package/dist/ionic/p-d0953ec9.system.entry.js +4 -0
- package/dist/ionic/{p-cb3dc48f.entry.js → p-d0b7fe70.entry.js} +1 -1
- package/dist/ionic/p-d10313a6.system.js +4 -0
- package/dist/ionic/{p-c7e16491.js → p-d1e991c3.js} +1 -1
- package/dist/ionic/p-d2a55f0a.system.entry.js +4 -0
- package/dist/ionic/p-d2ef848a.entry.js +4 -0
- package/dist/ionic/{p-f4ad1cf6.system.entry.js → p-d346c889.system.entry.js} +1 -1
- package/dist/ionic/{p-f7712c17.system.js → p-d8339079.system.js} +1 -1
- package/dist/ionic/{p-1fd1d157.system.js → p-d9e1c48c.system.js} +1 -1
- package/dist/ionic/{p-44c281df.entry.js → p-da968066.entry.js} +1 -1
- package/dist/ionic/p-db8aeb40.system.js +4 -0
- package/dist/ionic/{p-5771eacd.js → p-dbfc5db6.js} +1 -1
- package/dist/ionic/p-dd50ef12.js +4 -0
- package/dist/ionic/p-e270862e.js +4 -0
- package/dist/ionic/{p-dfd995cc.system.entry.js → p-e5239905.system.entry.js} +1 -1
- package/dist/ionic/{p-8985cdb6.system.js → p-e61e3bb4.system.js} +1 -1
- package/dist/ionic/p-e7546060.entry.js +4 -0
- package/dist/ionic/p-eb376af4.entry.js +4 -0
- package/dist/ionic/{p-1fe2380b.system.entry.js → p-ee091b80.system.entry.js} +1 -1
- package/dist/ionic/{p-dde3a646.entry.js → p-eeb60a8f.entry.js} +1 -1
- package/dist/ionic/p-f065578f.js +4 -0
- package/dist/ionic/{p-614d974e.system.entry.js → p-f41914c0.system.entry.js} +1 -1
- package/dist/ionic/p-f4ae533b.js +4 -0
- package/dist/ionic/p-f61ce679.js +4 -0
- package/dist/ionic/p-f63f81aa.system.entry.js +4 -0
- package/dist/ionic/p-f670192b.system.entry.js +4 -0
- package/dist/ionic/{p-a93873de.system.js → p-f8e329da.system.js} +1 -1
- package/dist/ionic/p-fac985b6.system.entry.js +4 -0
- package/dist/ionic/p-fb0c3efa.entry.js +4 -0
- package/dist/ionic/{p-e61c9280.entry.js → p-fbcb3139.entry.js} +1 -1
- package/dist/ionic/{p-0328213e.system.entry.js → p-fbcf9790.system.entry.js} +1 -1
- package/dist/types/components/app/app.d.ts +0 -2
- package/dist/types/global/ionic-global.d.ts +2 -0
- package/dist/types/utils/config.d.ts +7 -0
- package/dist/types/utils/focus-visible.d.ts +1 -0
- package/hydrate/index.js +174 -163
- package/hydrate/index.mjs +174 -163
- package/package.json +1 -1
- package/components/hardware-back-button.js +0 -115
- package/dist/cjs/hardware-back-button-d37054f2.js +0 -122
- package/dist/cjs/index-c8d52405.js +0 -10
- package/dist/esm/hardware-back-button-2bb5194f.js +0 -116
- package/dist/esm/index-79b30591.js +0 -167
- package/dist/esm/index-a5d50daf.js +0 -7
- package/dist/esm-es5/animation-eab5a4ca.js +0 -4
- package/dist/esm-es5/app-globals-c45950ba.js +0 -4
- package/dist/esm-es5/button-active-873732e5.js +0 -4
- package/dist/esm-es5/capacitor-59395cbd.js +0 -4
- package/dist/esm-es5/focus-visible-dd40d69f.js +0 -4
- package/dist/esm-es5/framework-delegate-63d1a679.js +0 -4
- package/dist/esm-es5/hardware-back-button-2bb5194f.js +0 -4
- package/dist/esm-es5/helpers-da915de8.js +0 -4
- package/dist/esm-es5/index-29be96b3.js +0 -4
- package/dist/esm-es5/index-2d8b49ae.js +0 -4
- package/dist/esm-es5/index-79b30591.js +0 -4
- package/dist/esm-es5/index-a5d50daf.js +0 -4
- package/dist/esm-es5/input-shims-59f93016.js +0 -4
- package/dist/esm-es5/input.utils-8755322f.js +0 -4
- package/dist/esm-es5/ionic-global-a8cbb8b0.js +0 -4
- package/dist/esm-es5/ios.transition-4706aa28.js +0 -4
- package/dist/esm-es5/keyboard-52278bd7.js +0 -4
- package/dist/esm-es5/keyboard-controller-ec5c2bfa.js +0 -4
- package/dist/esm-es5/md.transition-20ad6960.js +0 -4
- package/dist/esm-es5/notch-controller-55b09e11.js +0 -4
- package/dist/esm-es5/overlays-40e86f77.js +0 -4
- package/dist/esm-es5/status-tap-0433b6a6.js +0 -4
- package/dist/esm-es5/swipe-back-e5394307.js +0 -4
- package/dist/ionic/p-00093fc0.entry.js +0 -4
- package/dist/ionic/p-09b9918f.system.entry.js +0 -4
- package/dist/ionic/p-0bfbe380.js +0 -4
- package/dist/ionic/p-0cd67533.js +0 -4
- package/dist/ionic/p-0d86eb56.system.entry.js +0 -4
- package/dist/ionic/p-0fa218e9.system.js +0 -5
- package/dist/ionic/p-1158a829.entry.js +0 -4
- package/dist/ionic/p-175821bc.entry.js +0 -4
- package/dist/ionic/p-1dfc11b3.system.js +0 -4
- package/dist/ionic/p-1e4371bd.js +0 -4
- package/dist/ionic/p-1f6507e4.entry.js +0 -4
- package/dist/ionic/p-1f7b26cc.entry.js +0 -4
- package/dist/ionic/p-2282c878.system.entry.js +0 -4
- package/dist/ionic/p-22b0483a.system.entry.js +0 -4
- package/dist/ionic/p-28be0cf9.js +0 -4
- package/dist/ionic/p-2b7827c7.js +0 -4
- package/dist/ionic/p-2b98e44b.system.entry.js +0 -4
- package/dist/ionic/p-2f0f1db6.system.entry.js +0 -4
- package/dist/ionic/p-30c8168f.system.entry.js +0 -4
- package/dist/ionic/p-3281aaeb.entry.js +0 -4
- package/dist/ionic/p-34b11c24.js +0 -4
- package/dist/ionic/p-36db29d9.system.js +0 -4
- package/dist/ionic/p-3ad285e3.system.js +0 -4
- package/dist/ionic/p-3c1b93db.system.entry.js +0 -4
- package/dist/ionic/p-3cc276f4.js +0 -4
- package/dist/ionic/p-3dfa54e6.js +0 -4
- package/dist/ionic/p-4478ea45.entry.js +0 -4
- package/dist/ionic/p-4c2d5b80.system.js +0 -4
- package/dist/ionic/p-4c38fcdd.system.js +0 -4
- package/dist/ionic/p-4ca47744.entry.js +0 -4
- package/dist/ionic/p-4e6c9480.system.entry.js +0 -4
- package/dist/ionic/p-52c8442b.system.entry.js +0 -4
- package/dist/ionic/p-5c766439.entry.js +0 -4
- package/dist/ionic/p-5c8fa89d.system.js +0 -4
- package/dist/ionic/p-600b69a0.entry.js +0 -4
- package/dist/ionic/p-614c3822.system.js +0 -4
- package/dist/ionic/p-62836b01.js +0 -4
- package/dist/ionic/p-63fe75bc.js +0 -4
- package/dist/ionic/p-664480c8.system.entry.js +0 -4
- package/dist/ionic/p-6d7c455f.js +0 -4
- package/dist/ionic/p-6f418011.system.entry.js +0 -4
- package/dist/ionic/p-713374f2.entry.js +0 -4
- package/dist/ionic/p-72812e99.js +0 -4
- package/dist/ionic/p-72bc8a1c.js +0 -4
- package/dist/ionic/p-737d64f9.entry.js +0 -4
- package/dist/ionic/p-792919fd.system.js +0 -4
- package/dist/ionic/p-7b30edcc.js +0 -4
- package/dist/ionic/p-7b341352.js +0 -4
- package/dist/ionic/p-7c9d5354.entry.js +0 -4
- package/dist/ionic/p-7ccf7f29.entry.js +0 -4
- package/dist/ionic/p-80ff4e55.entry.js +0 -4
- package/dist/ionic/p-82d80c8f.entry.js +0 -4
- package/dist/ionic/p-83f68992.entry.js +0 -4
- package/dist/ionic/p-8635f5e6.system.js +0 -4
- package/dist/ionic/p-87365857.system.entry.js +0 -4
- package/dist/ionic/p-87a81a63.system.entry.js +0 -4
- package/dist/ionic/p-8fa4ae3e.entry.js +0 -4
- package/dist/ionic/p-916f6c1d.entry.js +0 -4
- package/dist/ionic/p-93cf45ec.system.entry.js +0 -4
- package/dist/ionic/p-9493acfe.entry.js +0 -4
- package/dist/ionic/p-9805b25a.system.entry.js +0 -4
- package/dist/ionic/p-a15ddedb.system.js +0 -4
- package/dist/ionic/p-a1b80dd6.system.js +0 -4
- package/dist/ionic/p-a48fa08b.system.entry.js +0 -4
- package/dist/ionic/p-a8a04757.system.entry.js +0 -4
- package/dist/ionic/p-abe101da.system.js +0 -4
- package/dist/ionic/p-b016e5d7.system.entry.js +0 -4
- package/dist/ionic/p-b24c259e.entry.js +0 -4
- package/dist/ionic/p-b33b643b.entry.js +0 -4
- package/dist/ionic/p-b51e4004.js +0 -4
- package/dist/ionic/p-ba45ad7d.entry.js +0 -4
- package/dist/ionic/p-bc8e48de.entry.js +0 -4
- package/dist/ionic/p-bcf5573f.entry.js +0 -4
- package/dist/ionic/p-bdd4e026.entry.js +0 -4
- package/dist/ionic/p-c468af8a.system.js +0 -4
- package/dist/ionic/p-c61cc894.js +0 -4
- package/dist/ionic/p-c628bdcb.system.js +0 -4
- package/dist/ionic/p-c6f1b434.js +0 -4
- package/dist/ionic/p-c872ac0c.entry.js +0 -4
- package/dist/ionic/p-c9ecc338.entry.js +0 -4
- package/dist/ionic/p-cd40baea.entry.js +0 -4
- package/dist/ionic/p-d47265c8.js +0 -4
- package/dist/ionic/p-d53e0b4b.entry.js +0 -4
- package/dist/ionic/p-d79ed7b3.system.js +0 -4
- package/dist/ionic/p-d9c8bac9.system.entry.js +0 -4
- package/dist/ionic/p-dbb02a23.system.entry.js +0 -4
- package/dist/ionic/p-dd79c031.js +0 -4
- package/dist/ionic/p-e050dad9.system.js +0 -4
- package/dist/ionic/p-e2bd011e.js +0 -4
- package/dist/ionic/p-eafeb1ff.system.js +0 -4
- package/dist/ionic/p-ed419a44.entry.js +0 -4
- package/dist/ionic/p-f9782d44.system.entry.js +0 -4
- package/dist/ionic/p-fadc15c0.entry.js +0 -4
|
@@ -0,0 +1,352 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Convert a pixels given value into rem
|
|
3
|
+
*
|
|
4
|
+
* @param pixels - Value in pixels to be converted (i.e. px)
|
|
5
|
+
* @param context (optional) - Baseline value
|
|
6
|
+
*/
|
|
7
|
+
/**
|
|
8
|
+
* This is an auto-generated file, please do not change it directly.
|
|
9
|
+
* Ionic Design System
|
|
10
|
+
*/
|
|
11
|
+
/**
|
|
12
|
+
* A heuristic that applies CSS to tablet
|
|
13
|
+
* viewports.
|
|
14
|
+
*
|
|
15
|
+
* Usage:
|
|
16
|
+
* @include tablet-viewport() {
|
|
17
|
+
* :host {
|
|
18
|
+
* background-color: green;
|
|
19
|
+
* }
|
|
20
|
+
* }
|
|
21
|
+
*/
|
|
22
|
+
/**
|
|
23
|
+
* A heuristic that applies CSS to mobile
|
|
24
|
+
* viewports (i.e. phones, not tablets).
|
|
25
|
+
*
|
|
26
|
+
* Usage:
|
|
27
|
+
* @include mobile-viewport() {
|
|
28
|
+
* :host {
|
|
29
|
+
* background-color: blue;
|
|
30
|
+
* }
|
|
31
|
+
* }
|
|
32
|
+
*/
|
|
33
|
+
/**
|
|
34
|
+
* Convert a font size to a dynamic font size.
|
|
35
|
+
* Fonts that participate in Dynamic Type should use
|
|
36
|
+
* dynamic font sizes.
|
|
37
|
+
* @param size - The initial font size including the unit (i.e. px or pt)
|
|
38
|
+
* @param unit (optional) - The unit to convert to. Use this if you want to
|
|
39
|
+
* convert to a unit other than $baselineUnit.
|
|
40
|
+
*/
|
|
41
|
+
/**
|
|
42
|
+
* Convert a font size to a dynamic font size but impose
|
|
43
|
+
* a maximum font size.
|
|
44
|
+
* @param size - The initial font size including the unit (i.e. px or pt)
|
|
45
|
+
* @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).
|
|
46
|
+
* @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
|
|
47
|
+
* convert to a unit other than $baselineUnit.
|
|
48
|
+
*/
|
|
49
|
+
/**
|
|
50
|
+
* Convert a font size to a dynamic font size but impose
|
|
51
|
+
* a minimum font size.
|
|
52
|
+
* @param size - The initial font size including the unit (i.e. px or pt)
|
|
53
|
+
* @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).
|
|
54
|
+
* @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
|
|
55
|
+
* convert to a unit other than $baselineUnit.
|
|
56
|
+
*/
|
|
57
|
+
/**
|
|
58
|
+
* Convert a font size to a dynamic font size but impose
|
|
59
|
+
* maximum and minimum font sizes.
|
|
60
|
+
* @param size - The initial font size including the unit (i.e. px or pt)
|
|
61
|
+
* @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).
|
|
62
|
+
* @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).
|
|
63
|
+
* @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
|
|
64
|
+
* convert to a unit other than $baselineUnit.
|
|
65
|
+
*/
|
|
66
|
+
/**
|
|
67
|
+
* A heuristic that applies CSS to tablet
|
|
68
|
+
* viewports.
|
|
69
|
+
*
|
|
70
|
+
* Usage:
|
|
71
|
+
* @include tablet-viewport() {
|
|
72
|
+
* :host {
|
|
73
|
+
* background-color: green;
|
|
74
|
+
* }
|
|
75
|
+
* }
|
|
76
|
+
*/
|
|
77
|
+
/**
|
|
78
|
+
* A heuristic that applies CSS to mobile
|
|
79
|
+
* viewports (i.e. phones, not tablets).
|
|
80
|
+
*
|
|
81
|
+
* Usage:
|
|
82
|
+
* @include mobile-viewport() {
|
|
83
|
+
* :host {
|
|
84
|
+
* background-color: blue;
|
|
85
|
+
* }
|
|
86
|
+
* }
|
|
87
|
+
*/
|
|
88
|
+
:host {
|
|
89
|
+
/**
|
|
90
|
+
* @prop --background: Background of the segment button
|
|
91
|
+
* @prop --background-checked: Background of the checked segment button
|
|
92
|
+
*
|
|
93
|
+
* @prop --color: Color of the segment button
|
|
94
|
+
* @prop --color-checked: Color of the checked segment button
|
|
95
|
+
*
|
|
96
|
+
* @prop --border-radius: Radius of the segment button border
|
|
97
|
+
* @prop --border-color: Color of the segment button border
|
|
98
|
+
* @prop --border-style: Style of the segment button border
|
|
99
|
+
* @prop --border-width: Width of the segment button border
|
|
100
|
+
*
|
|
101
|
+
* @prop --margin-top: Top margin of the segment button
|
|
102
|
+
* @prop --margin-end: Right margin if direction is left-to-right, and left margin if direction is right-to-left of the segment button
|
|
103
|
+
* @prop --margin-bottom: Bottom margin of the segment button
|
|
104
|
+
* @prop --margin-start: Left margin if direction is left-to-right, and right margin if direction is right-to-left of the segment button
|
|
105
|
+
*
|
|
106
|
+
* @prop --padding-top: Top padding of the segment button
|
|
107
|
+
* @prop --padding-end: Right padding if direction is left-to-right, and left padding if direction is right-to-left of the segment button
|
|
108
|
+
* @prop --padding-bottom: Bottom padding of the segment button
|
|
109
|
+
* @prop --padding-start: Left padding if direction is left-to-right, and right padding if direction is right-to-left of the segment button
|
|
110
|
+
*
|
|
111
|
+
* @prop --transition: Transition of the segment button
|
|
112
|
+
*
|
|
113
|
+
* @prop --indicator-height: Height of the indicator for the checked segment button
|
|
114
|
+
* @prop --indicator-box-shadow: Box shadow on the indicator for the checked segment button
|
|
115
|
+
* @prop --indicator-color: Color of the indicator for the checked segment button
|
|
116
|
+
* @prop --indicator-transition: Transition of the indicator for the checked segment button
|
|
117
|
+
* @prop --indicator-transform: Transform of the indicator for the checked segment button
|
|
118
|
+
*/
|
|
119
|
+
border-radius: var(--border-radius);
|
|
120
|
+
display: flex;
|
|
121
|
+
position: relative;
|
|
122
|
+
flex-direction: column;
|
|
123
|
+
height: auto;
|
|
124
|
+
background: var(--background);
|
|
125
|
+
color: var(--color);
|
|
126
|
+
text-decoration: none;
|
|
127
|
+
text-overflow: ellipsis;
|
|
128
|
+
white-space: nowrap;
|
|
129
|
+
cursor: pointer;
|
|
130
|
+
grid-row: 1;
|
|
131
|
+
font-kerning: none;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
.button-native {
|
|
135
|
+
border-radius: 0;
|
|
136
|
+
-webkit-margin-start: var(--margin-start);
|
|
137
|
+
margin-inline-start: var(--margin-start);
|
|
138
|
+
-webkit-margin-end: var(--margin-end);
|
|
139
|
+
margin-inline-end: var(--margin-end);
|
|
140
|
+
margin-top: var(--margin-top);
|
|
141
|
+
margin-bottom: var(--margin-bottom);
|
|
142
|
+
-webkit-padding-start: var(--padding-start);
|
|
143
|
+
padding-inline-start: var(--padding-start);
|
|
144
|
+
-webkit-padding-end: var(--padding-end);
|
|
145
|
+
padding-inline-end: var(--padding-end);
|
|
146
|
+
padding-top: var(--padding-top);
|
|
147
|
+
padding-bottom: var(--padding-bottom);
|
|
148
|
+
transform: translate3d(0, 0, 0);
|
|
149
|
+
display: flex;
|
|
150
|
+
position: relative;
|
|
151
|
+
flex-direction: inherit;
|
|
152
|
+
flex-grow: 1;
|
|
153
|
+
align-items: center;
|
|
154
|
+
justify-content: center;
|
|
155
|
+
width: 100%;
|
|
156
|
+
min-width: inherit;
|
|
157
|
+
max-width: inherit;
|
|
158
|
+
height: auto;
|
|
159
|
+
min-height: inherit;
|
|
160
|
+
max-height: inherit;
|
|
161
|
+
transition: var(--transition);
|
|
162
|
+
border: none;
|
|
163
|
+
outline: none;
|
|
164
|
+
background: transparent;
|
|
165
|
+
contain: content;
|
|
166
|
+
pointer-events: none;
|
|
167
|
+
overflow: hidden;
|
|
168
|
+
z-index: 2;
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
.button-inner {
|
|
172
|
+
display: flex;
|
|
173
|
+
position: relative;
|
|
174
|
+
flex-flow: inherit;
|
|
175
|
+
align-items: center;
|
|
176
|
+
justify-content: center;
|
|
177
|
+
width: 100%;
|
|
178
|
+
height: 100%;
|
|
179
|
+
z-index: 1;
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
:host(.segment-button-checked) {
|
|
183
|
+
background: var(--background-checked);
|
|
184
|
+
color: var(--color-checked);
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
:host(.segment-button-disabled) {
|
|
188
|
+
cursor: default;
|
|
189
|
+
pointer-events: none;
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
::slotted(ion-icon) {
|
|
193
|
+
flex-shrink: 0;
|
|
194
|
+
order: -1;
|
|
195
|
+
pointer-events: none;
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
::slotted(ion-label) {
|
|
199
|
+
display: block;
|
|
200
|
+
align-self: center;
|
|
201
|
+
max-width: 100%;
|
|
202
|
+
text-overflow: ellipsis;
|
|
203
|
+
white-space: nowrap;
|
|
204
|
+
overflow: hidden;
|
|
205
|
+
box-sizing: border-box;
|
|
206
|
+
pointer-events: none;
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
:host(.segment-button-layout-icon-top) .button-native {
|
|
210
|
+
flex-direction: column;
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
:host(.segment-button-layout-icon-start) .button-native {
|
|
214
|
+
flex-direction: row;
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
:host(.segment-button-layout-icon-end) .button-native {
|
|
218
|
+
flex-direction: row-reverse;
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
:host(.segment-button-layout-icon-bottom) .button-native {
|
|
222
|
+
flex-direction: column-reverse;
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
:host(.segment-button-layout-icon-hide) ::slotted(ion-icon) {
|
|
226
|
+
display: none;
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
:host(.segment-button-layout-label-hide) ::slotted(ion-label) {
|
|
230
|
+
display: none;
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
.segment-button-indicator {
|
|
234
|
+
transform-origin: left;
|
|
235
|
+
position: absolute;
|
|
236
|
+
opacity: 0;
|
|
237
|
+
box-sizing: border-box;
|
|
238
|
+
will-change: transform, opacity;
|
|
239
|
+
pointer-events: none;
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
.segment-button-indicator-background {
|
|
243
|
+
width: 100%;
|
|
244
|
+
height: var(--indicator-height);
|
|
245
|
+
transform: var(--indicator-transform);
|
|
246
|
+
background: var(--indicator-color);
|
|
247
|
+
box-shadow: var(--indicator-box-shadow);
|
|
248
|
+
pointer-events: none;
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
.segment-button-indicator-animated {
|
|
252
|
+
transition: var(--indicator-transition);
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
:host(.segment-button-checked) .segment-button-indicator {
|
|
256
|
+
opacity: 1;
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
@media (prefers-reduced-motion: reduce) {
|
|
260
|
+
.segment-button-indicator-background {
|
|
261
|
+
transform: none;
|
|
262
|
+
}
|
|
263
|
+
.segment-button-indicator-animated {
|
|
264
|
+
transition: none;
|
|
265
|
+
}
|
|
266
|
+
}
|
|
267
|
+
:host {
|
|
268
|
+
/**
|
|
269
|
+
* @prop --color-disabled: Color of the disabled segment button
|
|
270
|
+
*/
|
|
271
|
+
--background: none;
|
|
272
|
+
--background-checked: var(--background);
|
|
273
|
+
--color: var(--ionic-color-neutral-1000, #3b3b3b);
|
|
274
|
+
--color-checked: var(--ionic-color-primary-base, #105cef);
|
|
275
|
+
--color-disabled: var(--ionic-color-neutral-500, #a2a2a2);
|
|
276
|
+
--border-width: var(--ionic-border-size-025, 1px);
|
|
277
|
+
--border-color: var(--ionic-color-neutral-300, #cfcfcf);
|
|
278
|
+
--border-style: var(--ionic-border-style-solid, solid);
|
|
279
|
+
--indicator-box-shadow: none;
|
|
280
|
+
--indicator-color: var(--color-checked);
|
|
281
|
+
--indicator-height: var(--ionic-border-size-025, 1px);
|
|
282
|
+
--indicator-transition: transform 250ms cubic-bezier(0.4, 0, 0.2, 1);
|
|
283
|
+
--indicator-transform: none;
|
|
284
|
+
--padding-top: var(--ionic-space-200, 8px);
|
|
285
|
+
--padding-end: var(--ionic-space-200, 8px);
|
|
286
|
+
--padding-bottom: var(--ionic-space-200, 8px);
|
|
287
|
+
--padding-start: var(--ionic-space-200, 8px);
|
|
288
|
+
--transition: color 0.15s linear 0s, opacity 0.15s linear 0s;
|
|
289
|
+
min-width: var(--ionic-scale-1200, 48px);
|
|
290
|
+
min-height: var(--ionic-scale-1200, 48px);
|
|
291
|
+
}
|
|
292
|
+
|
|
293
|
+
.button-native {
|
|
294
|
+
border-bottom: var(--border-width) var(--border-style) var(--border-color);
|
|
295
|
+
z-index: 1;
|
|
296
|
+
}
|
|
297
|
+
|
|
298
|
+
.button-inner {
|
|
299
|
+
padding-top: var(--ionic-space-100, 4px);
|
|
300
|
+
padding-bottom: var(--ionic-space-100, 4px);
|
|
301
|
+
gap: var(--ionic-space-100, 4px);
|
|
302
|
+
}
|
|
303
|
+
|
|
304
|
+
::slotted(ion-label) {
|
|
305
|
+
font-size: var(--ionic-font-size-350, 0.875rem);
|
|
306
|
+
font-weight: var(--ionic-font-weight-medium, 500);
|
|
307
|
+
letter-spacing: var(--ionic-letter-spacing-1, 1%);
|
|
308
|
+
line-height: var(--ionic-line-height-500, 20px);
|
|
309
|
+
text-decoration: none;
|
|
310
|
+
text-transform: none;
|
|
311
|
+
color: var(--color);
|
|
312
|
+
}
|
|
313
|
+
|
|
314
|
+
::slotted(ion-icon) {
|
|
315
|
+
width: var(--ionic-scale-600, 24px);
|
|
316
|
+
height: var(--ionic-scale-600, 24px);
|
|
317
|
+
color: var(--color);
|
|
318
|
+
}
|
|
319
|
+
|
|
320
|
+
:host(.segment-button-checked) ::slotted(ion-label),
|
|
321
|
+
:host(.segment-button-checked) ::slotted(ion-icon) {
|
|
322
|
+
color: var(--color-checked);
|
|
323
|
+
}
|
|
324
|
+
|
|
325
|
+
:host(.segment-button-disabled) ::slotted(ion-label),
|
|
326
|
+
:host(.segment-button-disabled) ::slotted(ion-icon) {
|
|
327
|
+
color: var(--color-disabled);
|
|
328
|
+
}
|
|
329
|
+
|
|
330
|
+
.segment-button-indicator {
|
|
331
|
+
right: 0;
|
|
332
|
+
left: 0;
|
|
333
|
+
bottom: 0;
|
|
334
|
+
z-index: 2;
|
|
335
|
+
}
|
|
336
|
+
|
|
337
|
+
:host(.segment-button-layout-icon-top),
|
|
338
|
+
:host(.segment-button-layout-icon-bottom) {
|
|
339
|
+
height: var(--ionic-scale-1800, 72px);
|
|
340
|
+
}
|
|
341
|
+
|
|
342
|
+
:host(.segment-button-has-label-only),
|
|
343
|
+
:host(.segment-button-has-icon-only),
|
|
344
|
+
:host(.segment-button-layout-icon-start),
|
|
345
|
+
:host(.segment-button-layout-icon-end) {
|
|
346
|
+
height: var(--ionic-scale-1200, 48px);
|
|
347
|
+
}
|
|
348
|
+
|
|
349
|
+
:host(.segment-button-layout-icon-start) .button-inner,
|
|
350
|
+
:host(.segment-button-layout-icon-end) .button-inner {
|
|
351
|
+
gap: var(--ionic-space-200, 8px);
|
|
352
|
+
}
|
|
@@ -1,42 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Convert a pixels given value into rem
|
|
3
|
-
*
|
|
4
|
-
* @param pixels - Value in pixels to be converted (i.e. px)
|
|
5
|
-
* @param context (optional) - Baseline value
|
|
6
|
-
*/
|
|
7
|
-
/**
|
|
8
|
-
* Convert a font size to a dynamic font size.
|
|
9
|
-
* Fonts that participate in Dynamic Type should use
|
|
10
|
-
* dynamic font sizes.
|
|
11
|
-
* @param size - The initial font size including the unit (i.e. px or pt)
|
|
12
|
-
* @param unit (optional) - The unit to convert to. Use this if you want to
|
|
13
|
-
* convert to a unit other than $baselineUnit.
|
|
14
|
-
*/
|
|
15
|
-
/**
|
|
16
|
-
* Convert a font size to a dynamic font size but impose
|
|
17
|
-
* a maximum font size.
|
|
18
|
-
* @param size - The initial font size including the unit (i.e. px or pt)
|
|
19
|
-
* @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).
|
|
20
|
-
* @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
|
|
21
|
-
* convert to a unit other than $baselineUnit.
|
|
22
|
-
*/
|
|
23
|
-
/**
|
|
24
|
-
* Convert a font size to a dynamic font size but impose
|
|
25
|
-
* a minimum font size.
|
|
26
|
-
* @param size - The initial font size including the unit (i.e. px or pt)
|
|
27
|
-
* @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).
|
|
28
|
-
* @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
|
|
29
|
-
* convert to a unit other than $baselineUnit.
|
|
30
|
-
*/
|
|
31
|
-
/**
|
|
32
|
-
* Convert a font size to a dynamic font size but impose
|
|
33
|
-
* maximum and minimum font sizes.
|
|
34
|
-
* @param size - The initial font size including the unit (i.e. px or pt)
|
|
35
|
-
* @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).
|
|
36
|
-
* @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).
|
|
37
|
-
* @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
|
|
38
|
-
* convert to a unit other than $baselineUnit.
|
|
39
|
-
*/
|
|
40
1
|
/**
|
|
41
2
|
* A heuristic that applies CSS to tablet
|
|
42
3
|
* viewports.
|
|
@@ -64,16 +25,8 @@
|
|
|
64
25
|
* @prop --background: Background of the segment button
|
|
65
26
|
* @prop --background-checked: Background of the checked segment button
|
|
66
27
|
*
|
|
67
|
-
* @prop --background-hover: Background of the segment button on hover
|
|
68
|
-
* @prop --background-focused: Background of the segment button when focused with the tab key
|
|
69
|
-
*
|
|
70
|
-
* @prop --background-hover-opacity: Opacity of the segment button background on hover
|
|
71
|
-
* @prop --background-focused-opacity: Opacity of the segment button background when focused with the tab key
|
|
72
|
-
*
|
|
73
28
|
* @prop --color: Color of the segment button
|
|
74
29
|
* @prop --color-checked: Color of the checked segment button
|
|
75
|
-
* @prop --color-hover: Color of the segment button on hover
|
|
76
|
-
* @prop --color-focused: Color of the segment button when focused with the tab key
|
|
77
30
|
*
|
|
78
31
|
* @prop --border-radius: Radius of the segment button border
|
|
79
32
|
* @prop --border-color: Color of the segment button border
|
|
@@ -98,14 +51,6 @@
|
|
|
98
51
|
* @prop --indicator-transition: Transition of the indicator for the checked segment button
|
|
99
52
|
* @prop --indicator-transform: Transform of the indicator for the checked segment button
|
|
100
53
|
*/
|
|
101
|
-
--color: initial;
|
|
102
|
-
--color-hover: var(--color);
|
|
103
|
-
--color-checked: var(--color);
|
|
104
|
-
--color-disabled: var(--color);
|
|
105
|
-
--padding-start: 0;
|
|
106
|
-
--padding-end: 0;
|
|
107
|
-
--padding-top: 0;
|
|
108
|
-
--padding-bottom: 0;
|
|
109
54
|
border-radius: var(--border-radius);
|
|
110
55
|
display: flex;
|
|
111
56
|
position: relative;
|
|
@@ -123,18 +68,6 @@
|
|
|
123
68
|
|
|
124
69
|
.button-native {
|
|
125
70
|
border-radius: 0;
|
|
126
|
-
color: inherit;
|
|
127
|
-
font-family: inherit;
|
|
128
|
-
font-size: inherit;
|
|
129
|
-
font-style: inherit;
|
|
130
|
-
font-weight: inherit;
|
|
131
|
-
letter-spacing: inherit;
|
|
132
|
-
text-align: inherit;
|
|
133
|
-
text-decoration: inherit;
|
|
134
|
-
text-indent: inherit;
|
|
135
|
-
text-overflow: inherit;
|
|
136
|
-
text-transform: inherit;
|
|
137
|
-
white-space: inherit;
|
|
138
71
|
-webkit-margin-start: var(--margin-start);
|
|
139
72
|
margin-inline-start: var(--margin-start);
|
|
140
73
|
-webkit-margin-end: var(--margin-end);
|
|
@@ -170,16 +103,6 @@
|
|
|
170
103
|
z-index: 2;
|
|
171
104
|
}
|
|
172
105
|
|
|
173
|
-
.button-native::after {
|
|
174
|
-
right: 0;
|
|
175
|
-
left: 0;
|
|
176
|
-
top: 0;
|
|
177
|
-
bottom: 0;
|
|
178
|
-
position: absolute;
|
|
179
|
-
content: "";
|
|
180
|
-
opacity: 0;
|
|
181
|
-
}
|
|
182
|
-
|
|
183
106
|
.button-inner {
|
|
184
107
|
display: flex;
|
|
185
108
|
position: relative;
|
|
@@ -201,30 +124,6 @@
|
|
|
201
124
|
pointer-events: none;
|
|
202
125
|
}
|
|
203
126
|
|
|
204
|
-
:host(.ion-focused) .button-native {
|
|
205
|
-
color: var(--color-focused);
|
|
206
|
-
}
|
|
207
|
-
:host(.ion-focused) .button-native::after {
|
|
208
|
-
background: var(--background-focused);
|
|
209
|
-
opacity: var(--background-focused-opacity);
|
|
210
|
-
}
|
|
211
|
-
|
|
212
|
-
:host(:focus) {
|
|
213
|
-
outline: none;
|
|
214
|
-
}
|
|
215
|
-
|
|
216
|
-
@media (any-hover: hover) {
|
|
217
|
-
:host(:hover) .button-native {
|
|
218
|
-
color: var(--color-hover);
|
|
219
|
-
}
|
|
220
|
-
:host(:hover) .button-native::after {
|
|
221
|
-
background: var(--background-hover);
|
|
222
|
-
opacity: var(--background-hover-opacity);
|
|
223
|
-
}
|
|
224
|
-
:host(.segment-button-checked:hover) .button-native {
|
|
225
|
-
color: var(--color-checked);
|
|
226
|
-
}
|
|
227
|
-
}
|
|
228
127
|
::slotted(ion-icon) {
|
|
229
128
|
flex-shrink: 0;
|
|
230
129
|
order: -1;
|
|
@@ -235,7 +134,6 @@
|
|
|
235
134
|
display: block;
|
|
236
135
|
align-self: center;
|
|
237
136
|
max-width: 100%;
|
|
238
|
-
line-height: 22px;
|
|
239
137
|
text-overflow: ellipsis;
|
|
240
138
|
white-space: nowrap;
|
|
241
139
|
overflow: hidden;
|
|
@@ -267,10 +165,6 @@
|
|
|
267
165
|
display: none;
|
|
268
166
|
}
|
|
269
167
|
|
|
270
|
-
ion-ripple-effect {
|
|
271
|
-
color: var(--ripple-color, var(--color-checked));
|
|
272
|
-
}
|
|
273
|
-
|
|
274
168
|
.segment-button-indicator {
|
|
275
169
|
transform-origin: left;
|
|
276
170
|
position: absolute;
|
|
@@ -284,6 +178,7 @@ ion-ripple-effect {
|
|
|
284
178
|
width: 100%;
|
|
285
179
|
height: var(--indicator-height);
|
|
286
180
|
transform: var(--indicator-transform);
|
|
181
|
+
background: var(--indicator-color);
|
|
287
182
|
box-shadow: var(--indicator-box-shadow);
|
|
288
183
|
pointer-events: none;
|
|
289
184
|
}
|
|
@@ -304,6 +199,144 @@ ion-ripple-effect {
|
|
|
304
199
|
transition: none;
|
|
305
200
|
}
|
|
306
201
|
}
|
|
202
|
+
/**
|
|
203
|
+
* Convert a pixels given value into rem
|
|
204
|
+
*
|
|
205
|
+
* @param pixels - Value in pixels to be converted (i.e. px)
|
|
206
|
+
* @param context (optional) - Baseline value
|
|
207
|
+
*/
|
|
208
|
+
/**
|
|
209
|
+
* Convert a font size to a dynamic font size.
|
|
210
|
+
* Fonts that participate in Dynamic Type should use
|
|
211
|
+
* dynamic font sizes.
|
|
212
|
+
* @param size - The initial font size including the unit (i.e. px or pt)
|
|
213
|
+
* @param unit (optional) - The unit to convert to. Use this if you want to
|
|
214
|
+
* convert to a unit other than $baselineUnit.
|
|
215
|
+
*/
|
|
216
|
+
/**
|
|
217
|
+
* Convert a font size to a dynamic font size but impose
|
|
218
|
+
* a maximum font size.
|
|
219
|
+
* @param size - The initial font size including the unit (i.e. px or pt)
|
|
220
|
+
* @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).
|
|
221
|
+
* @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
|
|
222
|
+
* convert to a unit other than $baselineUnit.
|
|
223
|
+
*/
|
|
224
|
+
/**
|
|
225
|
+
* Convert a font size to a dynamic font size but impose
|
|
226
|
+
* a minimum font size.
|
|
227
|
+
* @param size - The initial font size including the unit (i.e. px or pt)
|
|
228
|
+
* @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).
|
|
229
|
+
* @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
|
|
230
|
+
* convert to a unit other than $baselineUnit.
|
|
231
|
+
*/
|
|
232
|
+
/**
|
|
233
|
+
* Convert a font size to a dynamic font size but impose
|
|
234
|
+
* maximum and minimum font sizes.
|
|
235
|
+
* @param size - The initial font size including the unit (i.e. px or pt)
|
|
236
|
+
* @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).
|
|
237
|
+
* @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).
|
|
238
|
+
* @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
|
|
239
|
+
* convert to a unit other than $baselineUnit.
|
|
240
|
+
*/
|
|
241
|
+
/**
|
|
242
|
+
* A heuristic that applies CSS to tablet
|
|
243
|
+
* viewports.
|
|
244
|
+
*
|
|
245
|
+
* Usage:
|
|
246
|
+
* @include tablet-viewport() {
|
|
247
|
+
* :host {
|
|
248
|
+
* background-color: green;
|
|
249
|
+
* }
|
|
250
|
+
* }
|
|
251
|
+
*/
|
|
252
|
+
/**
|
|
253
|
+
* A heuristic that applies CSS to mobile
|
|
254
|
+
* viewports (i.e. phones, not tablets).
|
|
255
|
+
*
|
|
256
|
+
* Usage:
|
|
257
|
+
* @include mobile-viewport() {
|
|
258
|
+
* :host {
|
|
259
|
+
* background-color: blue;
|
|
260
|
+
* }
|
|
261
|
+
* }
|
|
262
|
+
*/
|
|
263
|
+
:host {
|
|
264
|
+
/**
|
|
265
|
+
* @prop --background-hover: Background of the segment button on hover
|
|
266
|
+
* @prop --background-focused: Background of the segment button when focused with the tab key
|
|
267
|
+
*
|
|
268
|
+
* @prop --background-hover-opacity: Opacity of the segment button background on hover
|
|
269
|
+
* @prop --background-focused-opacity: Opacity of the segment button background when focused with the tab key
|
|
270
|
+
*
|
|
271
|
+
* @prop --color-hover: Color of the segment button on hover
|
|
272
|
+
* @prop --color-focused: Color of the segment button when focused with the tab key
|
|
273
|
+
*/
|
|
274
|
+
--color: initial;
|
|
275
|
+
--color-hover: var(--color);
|
|
276
|
+
--color-checked: var(--color);
|
|
277
|
+
--padding-start: 0;
|
|
278
|
+
--padding-end: 0;
|
|
279
|
+
--padding-top: 0;
|
|
280
|
+
--padding-bottom: 0;
|
|
281
|
+
}
|
|
282
|
+
|
|
283
|
+
.button-native {
|
|
284
|
+
color: inherit;
|
|
285
|
+
font-family: inherit;
|
|
286
|
+
font-size: inherit;
|
|
287
|
+
font-style: inherit;
|
|
288
|
+
font-weight: inherit;
|
|
289
|
+
letter-spacing: inherit;
|
|
290
|
+
text-align: inherit;
|
|
291
|
+
text-decoration: inherit;
|
|
292
|
+
text-indent: inherit;
|
|
293
|
+
text-overflow: inherit;
|
|
294
|
+
text-transform: inherit;
|
|
295
|
+
white-space: inherit;
|
|
296
|
+
}
|
|
297
|
+
|
|
298
|
+
.button-native::after {
|
|
299
|
+
right: 0;
|
|
300
|
+
left: 0;
|
|
301
|
+
top: 0;
|
|
302
|
+
bottom: 0;
|
|
303
|
+
position: absolute;
|
|
304
|
+
content: "";
|
|
305
|
+
opacity: 0;
|
|
306
|
+
}
|
|
307
|
+
|
|
308
|
+
:host(.ion-focused) .button-native {
|
|
309
|
+
color: var(--color-focused);
|
|
310
|
+
}
|
|
311
|
+
:host(.ion-focused) .button-native::after {
|
|
312
|
+
background: var(--background-focused);
|
|
313
|
+
opacity: var(--background-focused-opacity);
|
|
314
|
+
}
|
|
315
|
+
|
|
316
|
+
:host(:focus) {
|
|
317
|
+
outline: none;
|
|
318
|
+
}
|
|
319
|
+
|
|
320
|
+
@media (any-hover: hover) {
|
|
321
|
+
:host(:hover) .button-native {
|
|
322
|
+
color: var(--color-hover);
|
|
323
|
+
}
|
|
324
|
+
:host(:hover) .button-native::after {
|
|
325
|
+
background: var(--background-hover);
|
|
326
|
+
opacity: var(--background-hover-opacity);
|
|
327
|
+
}
|
|
328
|
+
:host(.segment-button-checked:hover) .button-native {
|
|
329
|
+
color: var(--color-checked);
|
|
330
|
+
}
|
|
331
|
+
}
|
|
332
|
+
::slotted(ion-label) {
|
|
333
|
+
line-height: 22px;
|
|
334
|
+
}
|
|
335
|
+
|
|
336
|
+
ion-ripple-effect {
|
|
337
|
+
color: var(--ripple-color, var(--color-checked));
|
|
338
|
+
}
|
|
339
|
+
|
|
307
340
|
/**
|
|
308
341
|
* Convert a pixels given value into rem
|
|
309
342
|
*
|
|
@@ -450,10 +483,6 @@ ion-ripple-effect {
|
|
|
450
483
|
|
|
451
484
|
.segment-button-indicator-background {
|
|
452
485
|
border-radius: var(--border-radius);
|
|
453
|
-
background: var(--indicator-color);
|
|
454
|
-
}
|
|
455
|
-
|
|
456
|
-
.segment-button-indicator-background {
|
|
457
486
|
transition: var(--indicator-transition);
|
|
458
487
|
}
|
|
459
488
|
|
|
@@ -79,7 +79,7 @@ export class SegmentButton {
|
|
|
79
79
|
const { checked, type, disabled, hasIcon, hasLabel, layout, segmentEl } = this;
|
|
80
80
|
const theme = getIonTheme(this);
|
|
81
81
|
const hasSegmentColor = () => (segmentEl === null || segmentEl === void 0 ? void 0 : segmentEl.color) !== undefined;
|
|
82
|
-
return (h(Host, { key: '
|
|
82
|
+
return (h(Host, { key: 'e3340514b7e897015a9d9781a8a8b8d044c14904', class: {
|
|
83
83
|
[theme]: true,
|
|
84
84
|
'in-toolbar': hostContext('ion-toolbar', this.el),
|
|
85
85
|
'in-toolbar-color': hostContext('ion-toolbar[color]', this.el),
|
|
@@ -95,10 +95,10 @@ export class SegmentButton {
|
|
|
95
95
|
'ion-activatable': true,
|
|
96
96
|
'ion-activatable-instant': true,
|
|
97
97
|
'ion-focusable': true,
|
|
98
|
-
} }, h("button", Object.assign({ key: '
|
|
98
|
+
} }, h("button", Object.assign({ key: '3c5017089669022f6f78781ff5ab22e7d482c641', "aria-selected": checked ? 'true' : 'false', role: "tab", ref: (el) => (this.nativeEl = el), type: type, class: "button-native", part: "native", disabled: disabled }, this.inheritedAttributes), h("span", { key: '94e4b22191f9d19f1e2f31c9247331d48cc95be3', class: "button-inner" }, h("slot", { key: 'd8780486332a2993a3c1d76ecba99660f60ecca3' })), theme === 'md' && h("ion-ripple-effect", { key: '676e4737af739dbfe1900132e281bceff796ba37' })), h("div", { key: '0182e9cba30424f0d543b78c270d69d3c72cc2e9', part: "indicator", class: {
|
|
99
99
|
'segment-button-indicator': true,
|
|
100
100
|
'segment-button-indicator-animated': true,
|
|
101
|
-
} }, h("div", { key: '
|
|
101
|
+
} }, h("div", { key: 'b3ad49f2556290f136c271cd013ee293ce3e7d7f', part: "indicator-background", class: "segment-button-indicator-background" }))));
|
|
102
102
|
}
|
|
103
103
|
static get is() { return "ion-segment-button"; }
|
|
104
104
|
static get encapsulation() { return "shadow"; }
|
|
@@ -106,14 +106,14 @@ export class SegmentButton {
|
|
|
106
106
|
return {
|
|
107
107
|
"ios": ["segment-button.ios.scss"],
|
|
108
108
|
"md": ["segment-button.md.scss"],
|
|
109
|
-
"ionic": ["segment-button.
|
|
109
|
+
"ionic": ["segment-button.ionic.scss"]
|
|
110
110
|
};
|
|
111
111
|
}
|
|
112
112
|
static get styleUrls() {
|
|
113
113
|
return {
|
|
114
114
|
"ios": ["segment-button.ios.css"],
|
|
115
115
|
"md": ["segment-button.md.css"],
|
|
116
|
-
"ionic": ["segment-button.
|
|
116
|
+
"ionic": ["segment-button.ionic.css"]
|
|
117
117
|
};
|
|
118
118
|
}
|
|
119
119
|
static get properties() {
|