@ionic/core 8.3.2-dev.11727691590.17002933 → 8.3.2-dev.11728333520.118877e0
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 +8 -13
- package/components/alert.js +36 -18
- package/components/backdrop.js +6 -10
- package/components/button.js +11 -41
- package/components/buttons.js +7 -11
- package/components/checkbox.js +13 -30
- package/components/data.js +4 -4
- package/components/index2.js +2 -1
- package/components/index4.js +7 -8
- package/components/index6.js +30 -27
- package/components/index7.js +27 -124
- package/components/index8.js +111 -150
- package/components/index9.js +167 -0
- package/components/input-shims.js +1 -1
- package/components/input.utils.js +1 -1
- package/components/ion-accordion-group.js +6 -9
- package/components/ion-accordion.js +9 -31
- package/components/ion-app.js +6 -6
- package/components/ion-avatar.js +3 -52
- package/components/ion-back-button.js +19 -28
- package/components/ion-badge.js +8 -44
- package/components/ion-breadcrumb.js +11 -44
- package/components/ion-breadcrumbs.js +5 -9
- package/components/ion-card-content.js +7 -11
- package/components/ion-card-header.js +5 -9
- package/components/ion-card-subtitle.js +5 -9
- package/components/ion-card-title.js +5 -9
- package/components/ion-card.js +9 -17
- package/components/ion-chip.js +8 -45
- package/components/ion-col.js +5 -5
- package/components/ion-content.js +11 -11
- package/components/ion-datetime-button.js +6 -9
- package/components/ion-datetime.js +20 -95
- package/components/ion-fab-button.js +10 -32
- package/components/ion-fab-list.js +5 -5
- package/components/ion-fab.js +6 -6
- package/components/ion-footer.js +11 -15
- package/components/ion-grid.js +5 -5
- package/components/ion-header.js +13 -20
- package/components/ion-img.js +2 -5
- package/components/ion-infinite-scroll-content.js +8 -12
- package/components/ion-infinite-scroll.js +5 -5
- package/components/ion-input-password-toggle.js +14 -52
- package/components/ion-input.js +20 -117
- package/components/ion-item-divider.js +5 -9
- package/components/ion-item-group.js +5 -9
- package/components/ion-item-option.js +8 -28
- package/components/ion-item-options.js +5 -9
- package/components/ion-item-sliding.js +5 -5
- package/components/ion-loading.js +8 -12
- package/components/ion-menu-button.js +10 -27
- package/components/ion-menu-toggle.js +5 -5
- package/components/ion-menu.js +7 -11
- package/components/ion-modal.js +11 -29
- package/components/ion-nav-link.js +1 -1
- package/components/ion-nav.js +6 -7
- package/components/ion-note.js +5 -9
- package/components/ion-picker-legacy.js +8 -7
- package/components/ion-progress-bar.js +6 -10
- package/components/ion-range.js +8 -11
- package/components/ion-refresher-content.js +9 -27
- package/components/ion-refresher.js +7 -11
- package/components/ion-reorder-group.js +5 -5
- package/components/ion-reorder.js +5 -30
- package/components/ion-router-link.js +6 -6
- package/components/ion-router-outlet.js +2 -2
- package/components/ion-row.js +2 -5
- package/components/ion-searchbar.js +16 -92
- package/components/ion-segment-button.js +8 -12
- package/components/ion-segment.js +22 -13
- package/components/ion-select-option.js +2 -5
- package/components/ion-select.js +28 -76
- package/components/ion-skeleton-text.js +5 -5
- package/components/ion-split-pane.js +8 -12
- package/components/ion-tab-bar.js +8 -31
- package/components/ion-tab-button.js +7 -11
- package/components/ion-tab.js +2 -2
- package/components/ion-tabs.js +2 -2
- package/components/ion-text.js +5 -5
- package/components/ion-textarea.js +11 -38
- package/components/ion-thumbnail.js +2 -5
- package/components/ion-title.js +7 -11
- package/components/ion-toast.js +9 -13
- package/components/ion-toggle.js +18 -76
- package/components/ion-toolbar.js +7 -11
- package/components/ionic-global.js +14 -191
- package/components/ios.transition.js +0 -1
- package/components/item.js +11 -40
- package/components/label.js +5 -9
- package/components/list-header.js +5 -9
- package/components/list.js +6 -29
- package/components/overlays.js +2 -1
- package/components/picker-column-option.js +5 -9
- package/components/picker-column.js +7 -7
- package/components/picker-column2.js +4 -4
- package/components/picker.js +4 -8
- package/components/popover.js +8 -11
- package/components/radio-group.js +3 -5
- package/components/radio.js +8 -12
- package/components/ripple-effect.js +8 -18
- package/components/select-popover.js +2 -9
- package/components/spinner.js +9 -35
- package/components/status-tap.js +1 -1
- package/css/core.css +1 -1
- package/css/core.css.map +1 -1
- package/css/display.css.map +1 -1
- package/css/flex-utils.css.map +1 -1
- package/css/float-elements.css.map +1 -1
- package/css/global.bundle.css.map +1 -1
- package/css/ionic-swiper.css +1 -1
- package/css/ionic-swiper.css.map +1 -1
- package/css/ionic.bundle.css +1 -1
- package/css/ionic.bundle.css.map +1 -1
- package/css/normalize.css.map +1 -1
- package/css/padding.css.map +1 -1
- package/css/palettes/dark.always.css.map +1 -1
- package/css/palettes/dark.class.css.map +1 -1
- package/css/palettes/dark.system.css.map +1 -1
- package/css/palettes/high-contrast-dark.always.css.map +1 -1
- package/css/palettes/high-contrast-dark.class.css.map +1 -1
- package/css/palettes/high-contrast-dark.system.css.map +1 -1
- package/css/palettes/high-contrast.always.css.map +1 -1
- package/css/palettes/high-contrast.class.css.map +1 -1
- package/css/palettes/high-contrast.system.css.map +1 -1
- package/css/structure.css.map +1 -1
- package/css/text-alignment.css.map +1 -1
- package/css/text-transformation.css.map +1 -1
- package/css/typography.css.map +1 -1
- package/css/utils.bundle.css.map +1 -1
- package/dist/cjs/{app-globals-38bbc401.js → app-globals-21afee77.js} +1 -1
- package/dist/cjs/{data-b3a1a686.js → data-21dc0f81.js} +6 -6
- package/dist/cjs/{hardware-back-button-d37054f2.js → hardware-back-button-9e8a2c4f.js} +1 -1
- package/dist/cjs/index-5915f9b3.js +38 -0
- package/dist/cjs/{index-2fa32189.js → index-5b6a7459.js} +2 -2
- package/dist/cjs/{index-ed0f67a3.js → index-9cd00dc3.js} +12 -13
- package/dist/cjs/{index-694a3808.js → index-f05acd21.js} +8 -7
- package/dist/cjs/index.cjs.js +8 -7
- package/dist/cjs/{input-shims-ab680ecf.js → input-shims-9e59ef62.js} +2 -3
- package/dist/cjs/{input.utils-44ff82f0.js → input.utils-611cde0b.js} +2 -2
- package/dist/cjs/ion-accordion_2.cjs.entry.js +14 -39
- package/dist/cjs/ion-action-sheet.cjs.entry.js +11 -15
- package/dist/cjs/ion-alert.cjs.entry.js +39 -20
- package/dist/cjs/ion-app_8.cjs.entry.js +72 -94
- package/dist/cjs/ion-avatar_3.cjs.entry.js +9 -92
- package/dist/cjs/ion-back-button.cjs.entry.js +18 -27
- package/dist/cjs/ion-backdrop.cjs.entry.js +6 -10
- package/dist/cjs/ion-breadcrumb_2.cjs.entry.js +14 -51
- package/dist/cjs/ion-button_2.cjs.entry.js +14 -44
- package/dist/cjs/ion-card_5.cjs.entry.js +27 -50
- package/dist/cjs/ion-checkbox.cjs.entry.js +12 -27
- package/dist/cjs/ion-chip.cjs.entry.js +7 -42
- package/dist/cjs/ion-col_3.cjs.entry.js +10 -13
- package/dist/cjs/ion-datetime-button.cjs.entry.js +11 -14
- package/dist/cjs/ion-datetime_3.cjs.entry.js +108 -183
- package/dist/cjs/ion-fab_3.cjs.entry.js +18 -40
- package/dist/cjs/ion-img.cjs.entry.js +2 -5
- package/dist/cjs/ion-infinite-scroll_2.cjs.entry.js +13 -16
- package/dist/cjs/ion-input-password-toggle.cjs.entry.js +16 -54
- package/dist/cjs/ion-input.cjs.entry.js +20 -115
- package/dist/cjs/ion-item-option_3.cjs.entry.js +16 -38
- package/dist/cjs/ion-item_8.cjs.entry.js +39 -110
- package/dist/cjs/ion-loading.cjs.entry.js +11 -14
- package/dist/cjs/ion-menu_3.cjs.entry.js +23 -43
- package/dist/cjs/ion-modal.cjs.entry.js +19 -36
- package/dist/cjs/ion-nav_2.cjs.entry.js +8 -9
- package/dist/cjs/ion-picker-column-option.cjs.entry.js +5 -9
- package/dist/cjs/ion-picker-column.cjs.entry.js +7 -7
- package/dist/cjs/ion-picker.cjs.entry.js +4 -8
- package/dist/cjs/ion-popover.cjs.entry.js +14 -17
- package/dist/cjs/ion-progress-bar.cjs.entry.js +6 -10
- package/dist/cjs/ion-radio_2.cjs.entry.js +10 -16
- package/dist/cjs/ion-range.cjs.entry.js +13 -16
- package/dist/cjs/ion-refresher_2.cjs.entry.js +14 -35
- package/dist/cjs/ion-reorder_2.cjs.entry.js +9 -33
- package/dist/cjs/ion-ripple-effect.cjs.entry.js +7 -17
- package/dist/cjs/ion-route_4.cjs.entry.js +6 -6
- package/dist/cjs/ion-searchbar.cjs.entry.js +15 -91
- package/dist/cjs/ion-segment_2.cjs.entry.js +29 -24
- package/dist/cjs/ion-select_3.cjs.entry.js +32 -89
- package/dist/cjs/ion-spinner.cjs.entry.js +7 -32
- package/dist/cjs/ion-split-pane.cjs.entry.js +8 -12
- package/dist/cjs/ion-tab-bar_2.cjs.entry.js +14 -39
- package/dist/cjs/ion-tab_2.cjs.entry.js +4 -4
- package/dist/cjs/ion-text.cjs.entry.js +5 -5
- package/dist/cjs/ion-textarea.cjs.entry.js +13 -38
- package/dist/cjs/ion-toast.cjs.entry.js +32 -36
- package/dist/cjs/ion-toggle.cjs.entry.js +17 -75
- package/dist/cjs/ionic-global-d9a8bb5b.js +237 -0
- package/dist/cjs/ionic.cjs.js +3 -3
- package/dist/cjs/{ios.transition-7574ba71.js → ios.transition-cf40433b.js} +3 -3
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/{md.transition-d9d90911.js → md.transition-ededf99f.js} +3 -2
- package/dist/cjs/{overlays-faf6f843.js → overlays-0123d7d4.js} +4 -3
- package/dist/cjs/{status-tap-28780caa.js → status-tap-37681226.js} +2 -2
- package/dist/collection/components/accordion/accordion.ios.css +0 -12
- package/dist/collection/components/accordion/accordion.js +15 -35
- package/dist/collection/components/accordion/accordion.md.css +0 -6
- package/dist/collection/components/accordion-group/accordion-group.ios.css +0 -12
- package/dist/collection/components/accordion-group/accordion-group.js +8 -11
- package/dist/collection/components/accordion-group/accordion-group.md.css +0 -18
- package/dist/collection/components/action-sheet/action-sheet.ios.css +6 -18
- package/dist/collection/components/action-sheet/action-sheet.js +10 -14
- package/dist/collection/components/action-sheet/action-sheet.md.css +5 -17
- package/dist/collection/components/alert/alert.ios.css +1 -19
- package/dist/collection/components/alert/alert.js +42 -19
- package/dist/collection/components/alert/alert.md.css +1 -19
- package/dist/collection/components/app/app.js +6 -14
- package/dist/collection/components/avatar/avatar.ios.css +0 -12
- package/dist/collection/components/avatar/avatar.js +4 -92
- package/dist/collection/components/avatar/avatar.md.css +0 -12
- package/dist/collection/components/back-button/back-button.ios.css +48 -60
- package/dist/collection/components/back-button/back-button.js +19 -27
- package/dist/collection/components/back-button/back-button.md.css +48 -60
- package/dist/collection/components/backdrop/backdrop.ios.css +1 -13
- package/dist/collection/components/backdrop/backdrop.js +6 -12
- package/dist/collection/components/backdrop/backdrop.md.css +1 -13
- package/dist/collection/components/badge/badge.ios.css +3 -106
- package/dist/collection/components/badge/badge.js +8 -75
- package/dist/collection/components/badge/badge.md.css +3 -106
- package/dist/collection/components/breadcrumb/breadcrumb.ios.css +8 -20
- package/dist/collection/components/breadcrumb/breadcrumb.js +11 -43
- package/dist/collection/components/breadcrumb/breadcrumb.md.css +8 -20
- package/dist/collection/components/breadcrumbs/breadcrumbs.ios.css +0 -6
- package/dist/collection/components/breadcrumbs/breadcrumbs.js +9 -11
- package/dist/collection/components/breadcrumbs/breadcrumbs.md.css +0 -6
- package/dist/collection/components/button/button.ios.css +36 -129
- package/dist/collection/components/button/button.js +16 -46
- package/dist/collection/components/button/button.md.css +40 -120
- package/dist/collection/components/buttons/buttons.ios.css +7 -59
- package/dist/collection/components/buttons/buttons.js +8 -14
- package/dist/collection/components/buttons/buttons.md.css +3 -55
- package/dist/collection/components/card/card.ios.css +14 -65
- package/dist/collection/components/card/card.js +10 -34
- package/dist/collection/components/card/card.md.css +14 -65
- package/dist/collection/components/card-content/card-content.ios.css +1 -16
- package/dist/collection/components/card-content/card-content.js +8 -11
- package/dist/collection/components/card-content/card-content.md.css +1 -16
- package/dist/collection/components/card-header/card-header.ios.css +15 -27
- package/dist/collection/components/card-header/card-header.js +9 -12
- package/dist/collection/components/card-header/card-header.md.css +15 -27
- package/dist/collection/components/card-subtitle/card-subtitle.ios.css +0 -12
- package/dist/collection/components/card-subtitle/card-subtitle.js +8 -11
- package/dist/collection/components/card-subtitle/card-subtitle.md.css +0 -12
- package/dist/collection/components/card-title/card-title.ios.css +0 -73
- package/dist/collection/components/card-title/card-title.js +8 -11
- package/dist/collection/components/card-title/card-title.md.css +0 -73
- package/dist/collection/components/checkbox/checkbox.ios.css +2 -20
- package/dist/collection/components/checkbox/checkbox.js +14 -63
- package/dist/collection/components/checkbox/checkbox.md.css +3 -21
- package/dist/collection/components/chip/chip.ios.css +1 -20
- package/dist/collection/components/chip/chip.js +8 -77
- package/dist/collection/components/chip/chip.md.css +1 -20
- package/dist/collection/components/col/col.css +0 -12
- package/dist/collection/components/col/col.js +5 -9
- package/dist/collection/components/content/content.css +2 -8
- package/dist/collection/components/content/content.js +10 -13
- package/dist/collection/components/datetime/datetime.ios.css +73 -232
- package/dist/collection/components/datetime/datetime.js +19 -95
- package/dist/collection/components/datetime/datetime.md.css +73 -232
- package/dist/collection/components/datetime/utils/data.js +3 -3
- package/dist/collection/components/datetime-button/datetime-button.ios.css +0 -6
- package/dist/collection/components/datetime-button/datetime-button.js +8 -11
- package/dist/collection/components/datetime-button/datetime-button.md.css +0 -6
- package/dist/collection/components/fab/fab.css +1 -25
- package/dist/collection/components/fab/fab.js +5 -9
- package/dist/collection/components/fab-button/fab-button.ios.css +6 -18
- package/dist/collection/components/fab-button/fab-button.js +15 -36
- package/dist/collection/components/fab-button/fab-button.md.css +8 -20
- package/dist/collection/components/fab-list/fab-list.css +0 -12
- package/dist/collection/components/fab-list/fab-list.js +5 -9
- package/dist/collection/components/footer/footer.ios.css +2 -14
- package/dist/collection/components/footer/footer.js +14 -17
- package/dist/collection/components/footer/footer.md.css +0 -12
- package/dist/collection/components/grid/grid.css +0 -12
- package/dist/collection/components/grid/grid.js +5 -9
- package/dist/collection/components/header/header.ios.css +10 -25
- package/dist/collection/components/header/header.js +15 -38
- package/dist/collection/components/header/header.md.css +8 -23
- package/dist/collection/components/img/img.js +2 -8
- package/dist/collection/components/infinite-scroll/infinite-scroll.js +4 -8
- package/dist/collection/components/infinite-scroll-content/infinite-scroll-content.ios.css +0 -12
- package/dist/collection/components/infinite-scroll-content/infinite-scroll-content.js +10 -16
- package/dist/collection/components/infinite-scroll-content/infinite-scroll-content.md.css +0 -12
- package/dist/collection/components/input/input.ios.css +2 -21
- package/dist/collection/components/input/input.js +29 -143
- package/dist/collection/components/input/input.md.css +4 -43
- package/dist/collection/components/input-password-toggle/input-password-toggle.js +12 -48
- package/dist/collection/components/item/item.ios.css +69 -108
- package/dist/collection/components/item/item.js +16 -44
- package/dist/collection/components/item/item.md.css +68 -119
- package/dist/collection/components/item-divider/item-divider.ios.css +0 -18
- package/dist/collection/components/item-divider/item-divider.js +8 -11
- package/dist/collection/components/item-divider/item-divider.md.css +0 -18
- package/dist/collection/components/item-group/item-group.ios.css +0 -12
- package/dist/collection/components/item-group/item-group.js +7 -13
- package/dist/collection/components/item-group/item-group.md.css +0 -12
- package/dist/collection/components/item-option/item-option.ios.css +2 -14
- package/dist/collection/components/item-option/item-option.js +8 -43
- package/dist/collection/components/item-option/item-option.md.css +2 -14
- package/dist/collection/components/item-options/item-options.ios.css +0 -18
- package/dist/collection/components/item-options/item-options.js +7 -13
- package/dist/collection/components/item-options/item-options.md.css +0 -18
- package/dist/collection/components/item-sliding/item-sliding.css +0 -6
- package/dist/collection/components/item-sliding/item-sliding.js +4 -8
- package/dist/collection/components/label/label.ios.css +0 -18
- package/dist/collection/components/label/label.js +8 -11
- package/dist/collection/components/label/label.md.css +0 -18
- package/dist/collection/components/list/list.ios.css +0 -18
- package/dist/collection/components/list/list.js +9 -47
- package/dist/collection/components/list/list.md.css +2 -20
- package/dist/collection/components/list-header/list-header.ios.css +0 -18
- package/dist/collection/components/list-header/list-header.js +8 -11
- package/dist/collection/components/list-header/list-header.md.css +0 -18
- package/dist/collection/components/loading/loading.ios.css +1 -13
- package/dist/collection/components/loading/loading.js +10 -13
- package/dist/collection/components/loading/loading.md.css +1 -13
- package/dist/collection/components/menu/menu.ios.css +3 -15
- package/dist/collection/components/menu/menu.js +7 -12
- package/dist/collection/components/menu/menu.md.css +3 -15
- package/dist/collection/components/menu-button/menu-button.ios.css +14 -48
- package/dist/collection/components/menu-button/menu-button.js +10 -26
- package/dist/collection/components/menu-button/menu-button.md.css +15 -49
- package/dist/collection/components/menu-toggle/menu-toggle.js +5 -8
- package/dist/collection/components/modal/modal.ios.css +63 -106
- package/dist/collection/components/modal/modal.js +10 -44
- package/dist/collection/components/modal/modal.md.css +63 -106
- package/dist/collection/components/nav/nav.css +1 -7
- package/dist/collection/components/nav/nav.js +5 -11
- package/dist/collection/components/nav-link/nav-link.js +1 -5
- package/dist/collection/components/note/note.ios.css +0 -12
- package/dist/collection/components/note/note.js +8 -11
- package/dist/collection/components/note/note.md.css +0 -12
- package/dist/collection/components/picker/picker.ios.css +3 -15
- package/dist/collection/components/picker/picker.js +5 -8
- package/dist/collection/components/picker/picker.md.css +3 -15
- package/dist/collection/components/picker-column/picker-column.css +2 -9
- package/dist/collection/components/picker-column/picker-column.js +7 -8
- package/dist/collection/components/picker-column-option/picker-column-option.ios.css +0 -6
- package/dist/collection/components/picker-column-option/picker-column-option.js +7 -13
- package/dist/collection/components/picker-column-option/picker-column-option.md.css +0 -6
- package/dist/collection/components/picker-legacy/picker.ios.css +1 -13
- package/dist/collection/components/picker-legacy/picker.js +6 -7
- package/dist/collection/components/picker-legacy/picker.md.css +1 -13
- package/dist/collection/components/picker-legacy-column/picker-column.ios.css +0 -12
- package/dist/collection/components/picker-legacy-column/picker-column.js +4 -4
- package/dist/collection/components/picker-legacy-column/picker-column.md.css +0 -12
- package/dist/collection/components/popover/popover.ios.css +1 -13
- package/dist/collection/components/popover/popover.js +12 -15
- package/dist/collection/components/popover/popover.md.css +1 -13
- package/dist/collection/components/progress-bar/progress-bar.ios.css +2 -8
- package/dist/collection/components/progress-bar/progress-bar.js +7 -10
- package/dist/collection/components/progress-bar/progress-bar.md.css +2 -8
- package/dist/collection/components/radio/radio.ios.css +91 -134
- package/dist/collection/components/radio/radio.js +9 -12
- package/dist/collection/components/radio/radio.md.css +91 -134
- package/dist/collection/components/radio-group/radio-group.js +3 -9
- package/dist/collection/components/range/range.ios.css +0 -12
- package/dist/collection/components/range/range.js +9 -12
- package/dist/collection/components/range/range.md.css +0 -12
- package/dist/collection/components/refresher/refresher.ios.css +1 -14
- package/dist/collection/components/refresher/refresher.js +8 -11
- package/dist/collection/components/refresher/refresher.md.css +2 -15
- package/dist/collection/components/refresher-content/refresher-content.js +7 -28
- package/dist/collection/components/reorder/reorder.ios.css +0 -6
- package/dist/collection/components/reorder/reorder.js +6 -33
- package/dist/collection/components/reorder/reorder.md.css +0 -6
- package/dist/collection/components/reorder-group/reorder-group.css +0 -6
- package/dist/collection/components/reorder-group/reorder-group.js +4 -8
- package/dist/collection/components/ripple-effect/{ripple-effect.common.css → ripple-effect.css} +1 -7
- package/dist/collection/components/ripple-effect/ripple-effect.js +6 -14
- package/dist/collection/components/route/route.js +0 -4
- package/dist/collection/components/router/router.js +0 -4
- package/dist/collection/components/router-link/router-link.css +2 -8
- package/dist/collection/components/router-link/router-link.js +5 -9
- package/dist/collection/components/router-outlet/router-outlet.css +1 -7
- package/dist/collection/components/router-outlet/router-outlet.js +2 -5
- package/dist/collection/components/row/row.css +0 -12
- package/dist/collection/components/row/row.js +2 -9
- package/dist/collection/components/searchbar/searchbar.ios.css +18 -56
- package/dist/collection/components/searchbar/searchbar.js +24 -96
- package/dist/collection/components/searchbar/searchbar.md.css +18 -56
- package/dist/collection/components/segment/segment.ios.css +0 -18
- package/dist/collection/components/segment/segment.js +25 -15
- package/dist/collection/components/segment/segment.md.css +0 -18
- package/dist/collection/components/segment-button/segment-button.ios.css +4 -16
- package/dist/collection/components/segment-button/segment-button.js +9 -12
- package/dist/collection/components/segment-button/segment-button.md.css +6 -18
- package/dist/collection/components/select/select.ios.css +3 -22
- package/dist/collection/components/select/select.js +31 -79
- package/dist/collection/components/select/select.md.css +5 -38
- package/dist/collection/components/select-option/select-option.js +2 -9
- package/dist/collection/components/select-popover/select-popover.ios.css +0 -18
- package/dist/collection/components/select-popover/select-popover.js +4 -12
- package/dist/collection/components/select-popover/select-popover.md.css +0 -18
- package/dist/collection/components/skeleton-text/skeleton-text.css +0 -6
- package/dist/collection/components/skeleton-text/skeleton-text.js +5 -9
- package/dist/collection/components/spinner/{spinner.ionic.css → spinner.css} +0 -61
- package/dist/collection/components/spinner/spinner.js +6 -46
- package/dist/collection/components/split-pane/split-pane.ios.css +2 -20
- package/dist/collection/components/split-pane/split-pane.js +8 -14
- package/dist/collection/components/split-pane/split-pane.md.css +2 -20
- package/dist/collection/components/tab/tab.js +2 -6
- package/dist/collection/components/tab-bar/tab-bar.ios.css +43 -71
- package/dist/collection/components/tab-bar/tab-bar.js +10 -65
- package/dist/collection/components/tab-bar/tab-bar.md.css +43 -71
- package/dist/collection/components/tab-button/tab-button.ios.css +88 -103
- package/dist/collection/components/tab-button/tab-button.js +8 -11
- package/dist/collection/components/tab-button/tab-button.md.css +88 -103
- package/dist/collection/components/tabs/tabs.css +1 -7
- package/dist/collection/components/tabs/tabs.js +1 -4
- package/dist/collection/components/text/text.css +0 -6
- package/dist/collection/components/text/text.js +6 -7
- package/dist/collection/components/textarea/textarea.ios.css +96 -201
- package/dist/collection/components/textarea/textarea.js +16 -59
- package/dist/collection/components/textarea/textarea.md.css +97 -214
- package/dist/collection/components/thumbnail/thumbnail.css +0 -6
- package/dist/collection/components/thumbnail/thumbnail.js +2 -9
- package/dist/collection/components/title/title.ios.css +4 -32
- package/dist/collection/components/title/title.js +7 -13
- package/dist/collection/components/title/title.md.css +4 -32
- package/dist/collection/components/toast/animations/utils.js +1 -1
- package/dist/collection/components/toast/toast.ios.css +0 -12
- package/dist/collection/components/toast/toast.js +11 -15
- package/dist/collection/components/toast/toast.md.css +0 -12
- package/dist/collection/components/toggle/toggle.ios.css +120 -166
- package/dist/collection/components/toggle/toggle.js +18 -73
- package/dist/collection/components/toggle/toggle.md.css +120 -163
- package/dist/collection/components/toolbar/toolbar.ios.css +47 -90
- package/dist/collection/components/toolbar/toolbar.js +10 -13
- package/dist/collection/components/toolbar/toolbar.md.css +47 -90
- package/dist/collection/global/ionic-global.js +13 -161
- package/dist/collection/utils/menu-controller/animations/overlay.js +3 -3
- package/dist/collection/utils/menu-controller/animations/push.js +1 -2
- package/dist/collection/utils/menu-controller/animations/reveal.js +1 -2
- package/dist/collection/utils/test/playwright/generator.js +23 -48
- package/dist/collection/utils/test/playwright/page/utils/goto.js +5 -14
- package/dist/collection/utils/test/playwright/page/utils/set-content.js +1 -13
- package/dist/collection/utils/transition/ios.transition.js +0 -1
- package/dist/docs.json +252 -6870
- package/dist/esm/{app-globals-c45950ba.js → app-globals-5dbb61a5.js} +1 -1
- package/dist/esm/{button-active-873732e5.js → button-active-f6503382.js} +1 -1
- package/dist/esm/{data-fde041b0.js → data-ae11fd43.js} +4 -4
- package/dist/esm/{hardware-back-button-2bb5194f.js → hardware-back-button-06ef3c3e.js} +2 -2
- package/dist/esm/{index-723c0e5d.js → index-28849c61.js} +1 -1
- package/dist/esm/{index-29be96b3.js → index-3ad7f18b.js} +5 -4
- package/dist/esm/{index-56cab0d6.js → index-5cc724f3.js} +1 -1
- package/dist/esm/index-9b0d46f4.js +34 -0
- package/dist/esm/{index-d997525d.js → index-e2cf2ceb.js} +1 -1
- package/dist/esm/{index-2d8b49ae.js → index-fe1782b1.js} +8 -9
- package/dist/esm/index.js +9 -8
- package/dist/esm/{input-shims-59f93016.js → input-shims-0314bbe5.js} +2 -3
- package/dist/esm/{input.utils-8755322f.js → input.utils-09c71bc7.js} +1 -1
- package/dist/esm/ion-accordion_2.entry.js +15 -40
- package/dist/esm/ion-action-sheet.entry.js +13 -17
- package/dist/esm/ion-alert.entry.js +41 -22
- package/dist/esm/ion-app_8.entry.js +62 -84
- package/dist/esm/ion-avatar_3.entry.js +10 -93
- package/dist/esm/ion-back-button.entry.js +20 -29
- package/dist/esm/ion-backdrop.entry.js +7 -11
- package/dist/esm/ion-breadcrumb_2.entry.js +16 -53
- package/dist/esm/ion-button_2.entry.js +12 -42
- package/dist/esm/ion-card_5.entry.js +28 -51
- package/dist/esm/ion-checkbox.entry.js +13 -28
- package/dist/esm/ion-chip.entry.js +8 -43
- package/dist/esm/ion-col_3.entry.js +11 -14
- package/dist/esm/ion-datetime-button.entry.js +8 -11
- package/dist/esm/ion-datetime_3.entry.js +33 -108
- package/dist/esm/ion-fab_3.entry.js +20 -42
- package/dist/esm/ion-img.entry.js +3 -6
- package/dist/esm/ion-infinite-scroll_2.entry.js +14 -17
- package/dist/esm/ion-input-password-toggle.entry.js +15 -53
- package/dist/esm/ion-input.entry.js +22 -117
- package/dist/esm/ion-item-option_3.entry.js +17 -39
- package/dist/esm/ion-item_8.entry.js +41 -112
- package/dist/esm/ion-loading.entry.js +12 -15
- package/dist/esm/ion-menu_3.entry.js +25 -45
- package/dist/esm/ion-modal.entry.js +15 -32
- package/dist/esm/ion-nav_2.entry.js +9 -10
- package/dist/esm/ion-picker-column-option.entry.js +6 -10
- package/dist/esm/ion-picker-column.entry.js +8 -8
- package/dist/esm/ion-picker.entry.js +5 -9
- package/dist/esm/ion-popover.entry.js +12 -15
- package/dist/esm/ion-progress-bar.entry.js +7 -11
- package/dist/esm/ion-radio_2.entry.js +11 -17
- package/dist/esm/ion-range.entry.js +9 -12
- package/dist/esm/ion-refresher_2.entry.js +16 -37
- package/dist/esm/ion-reorder_2.entry.js +11 -35
- package/dist/esm/ion-ripple-effect.entry.js +8 -18
- package/dist/esm/ion-route_4.entry.js +7 -7
- package/dist/esm/ion-searchbar.entry.js +17 -93
- package/dist/esm/ion-segment_2.entry.js +30 -25
- package/dist/esm/ion-select_3.entry.js +34 -91
- package/dist/esm/ion-spinner.entry.js +8 -33
- package/dist/esm/ion-split-pane.entry.js +9 -13
- package/dist/esm/ion-tab-bar_2.entry.js +15 -40
- package/dist/esm/ion-tab_2.entry.js +5 -5
- package/dist/esm/ion-text.entry.js +6 -6
- package/dist/esm/ion-textarea.entry.js +14 -39
- package/dist/esm/ion-toast.entry.js +12 -16
- package/dist/esm/ion-toggle.entry.js +19 -77
- package/dist/esm/ionic-global-c81d82ab.js +231 -0
- package/dist/esm/ionic.js +5 -5
- package/dist/esm/{ios.transition-4706aa28.js → ios.transition-4ee1a3af.js} +4 -4
- package/dist/esm/loader.js +5 -5
- package/dist/esm/{md.transition-20ad6960.js → md.transition-5106a0d2.js} +4 -3
- package/dist/esm/{overlays-40e86f77.js → overlays-9c75ec54.js} +3 -2
- package/dist/esm/{status-tap-0433b6a6.js → status-tap-f472b09f.js} +3 -3
- package/dist/esm-es5/app-globals-5dbb61a5.js +4 -0
- package/dist/esm-es5/{button-active-873732e5.js → button-active-f6503382.js} +1 -1
- package/dist/esm-es5/data-ae11fd43.js +4 -0
- package/dist/esm-es5/{hardware-back-button-2bb5194f.js → hardware-back-button-06ef3c3e.js} +1 -1
- package/dist/esm-es5/{index-723c0e5d.js → index-28849c61.js} +1 -1
- package/dist/esm-es5/index-3ad7f18b.js +4 -0
- package/dist/esm-es5/index-5cc724f3.js +4 -0
- package/dist/esm-es5/index-9b0d46f4.js +4 -0
- package/dist/esm-es5/{index-d997525d.js → index-e2cf2ceb.js} +1 -1
- package/dist/esm-es5/index-fe1782b1.js +4 -0
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/input-shims-0314bbe5.js +4 -0
- package/dist/esm-es5/input.utils-09c71bc7.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-c81d82ab.js +4 -0
- package/dist/esm-es5/ionic.js +1 -1
- package/dist/esm-es5/ios.transition-4ee1a3af.js +4 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/md.transition-5106a0d2.js +4 -0
- package/dist/esm-es5/overlays-9c75ec54.js +4 -0
- package/dist/esm-es5/status-tap-f472b09f.js +4 -0
- package/dist/html.html-data.json +121 -2193
- 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-c32229bb.system.entry.js → p-01186920.system.entry.js} +1 -1
- package/dist/ionic/p-0303d0f8.js +4 -0
- package/dist/ionic/p-0574e87e.js +4 -0
- package/dist/ionic/p-06e07c7b.system.entry.js +4 -0
- package/dist/ionic/p-06e58c4e.js +4 -0
- package/dist/ionic/p-06fee233.js +4 -0
- package/dist/ionic/p-081a4ce4.entry.js +4 -0
- package/dist/ionic/{p-4c38fcdd.system.js → p-0c06e09b.system.js} +1 -1
- package/dist/ionic/p-1136a842.entry.js +4 -0
- package/dist/ionic/p-15e76dd1.entry.js +4 -0
- package/dist/ionic/p-17474161.system.js +4 -0
- package/dist/ionic/p-19ec4f42.entry.js +4 -0
- package/dist/ionic/p-1acf0142.entry.js +4 -0
- package/dist/ionic/p-1e010627.system.entry.js +4 -0
- package/dist/ionic/p-1e67b266.system.entry.js +4 -0
- package/dist/ionic/{p-115d74cd.system.js → p-1e955a45.system.js} +1 -1
- package/dist/ionic/p-2097482f.entry.js +4 -0
- package/dist/ionic/p-21e5e7e4.js +4 -0
- package/dist/ionic/p-22c020db.system.entry.js +4 -0
- package/dist/ionic/p-2507278c.system.entry.js +4 -0
- package/dist/ionic/{p-0fa218e9.system.js → p-25180df3.system.js} +1 -1
- package/dist/ionic/p-2690b1de.js +4 -0
- package/dist/ionic/p-2799c6d3.system.entry.js +4 -0
- package/dist/ionic/p-2e46590d.system.entry.js +4 -0
- package/dist/ionic/p-2eba228d.system.entry.js +4 -0
- package/dist/ionic/p-322c5fb4.system.js +4 -0
- package/dist/ionic/p-3254d107.entry.js +4 -0
- package/dist/ionic/p-347ac2ef.system.entry.js +4 -0
- package/dist/ionic/{p-a4519424.system.js → p-372ae7f4.system.js} +1 -1
- package/dist/ionic/p-3b323c61.entry.js +4 -0
- package/dist/ionic/{p-f7712c17.system.js → p-3c8e5c23.system.js} +1 -1
- package/dist/ionic/p-3cd3704c.entry.js +4 -0
- package/dist/ionic/p-41b6ad85.system.entry.js +4 -0
- package/dist/ionic/p-42eee9d3.system.entry.js +4 -0
- package/dist/ionic/p-4439fc2a.entry.js +4 -0
- package/dist/ionic/p-449ec9f0.system.entry.js +4 -0
- package/dist/ionic/p-45693d7e.entry.js +4 -0
- package/dist/ionic/p-469e0773.entry.js +4 -0
- package/dist/ionic/p-52d7a191.entry.js +4 -0
- package/dist/ionic/p-53b77274.system.entry.js +4 -0
- package/dist/ionic/p-567de071.system.entry.js +4 -0
- package/dist/ionic/p-5823babc.system.entry.js +4 -0
- package/dist/ionic/{p-2b98e44b.system.entry.js → p-58d5df0c.system.entry.js} +1 -1
- package/dist/ionic/p-5988556c.system.entry.js +4 -0
- package/dist/ionic/p-5a6d132d.entry.js +4 -0
- package/dist/ionic/p-5ad5dd4e.entry.js +4 -0
- package/dist/ionic/{p-4ccbf702.system.js → p-5da94421.system.js} +2 -2
- package/dist/ionic/p-5f9b0722.entry.js +4 -0
- package/dist/ionic/p-61e494dc.system.entry.js +4 -0
- package/dist/ionic/p-63b0abde.system.entry.js +4 -0
- package/dist/ionic/p-66640ff7.system.entry.js +4 -0
- package/dist/ionic/p-68642392.entry.js +4 -0
- package/dist/ionic/p-69066a53.js +4 -0
- package/dist/ionic/p-6d32975a.entry.js +4 -0
- package/dist/ionic/{p-8285d686.system.entry.js → p-7458862e.system.entry.js} +1 -1
- package/dist/ionic/p-7740e32c.system.js +4 -0
- package/dist/ionic/p-78feb35d.entry.js +4 -0
- package/dist/ionic/p-7b9a2b23.entry.js +4 -0
- package/dist/ionic/p-7ed1657c.system.entry.js +4 -0
- package/dist/ionic/p-802b4ce7.entry.js +4 -0
- package/dist/ionic/p-850a3c12.entry.js +4 -0
- package/dist/ionic/p-87a5f97a.system.entry.js +4 -0
- package/dist/ionic/p-88e63c7d.js +4 -0
- package/dist/ionic/p-8ebd3f36.system.entry.js +4 -0
- package/dist/ionic/p-90df71aa.system.entry.js +4 -0
- package/dist/ionic/p-927f180c.system.entry.js +4 -0
- package/dist/ionic/p-92a96c69.system.entry.js +4 -0
- package/dist/ionic/p-937a7e21.entry.js +4 -0
- package/dist/ionic/p-9644984a.entry.js +4 -0
- package/dist/ionic/{p-6d7c455f.js → p-96cc4814.js} +1 -1
- package/dist/ionic/{p-eef611dc.system.entry.js → p-98231c01.system.entry.js} +1 -1
- package/dist/ionic/p-985a7e17.system.entry.js +4 -0
- package/dist/ionic/p-98871496.system.js +4 -0
- package/dist/ionic/p-98e71235.system.entry.js +4 -0
- package/dist/ionic/p-9c901780.entry.js +4 -0
- package/dist/ionic/p-9df2c6fb.entry.js +4 -0
- package/dist/ionic/{p-c4ae4d32.system.js → p-9ea607bd.system.js} +2 -2
- package/dist/ionic/p-9ee1e8a6.entry.js +4 -0
- package/dist/ionic/p-9f18a6cf.entry.js +4 -0
- package/dist/ionic/p-9f3008d4.system.js +4 -0
- package/dist/ionic/p-9fa07aec.entry.js +4 -0
- package/dist/ionic/p-a440397c.js +4 -0
- package/dist/ionic/p-a4565eb5.system.js +4 -0
- package/dist/ionic/p-a49378bb.system.entry.js +4 -0
- package/dist/ionic/p-a4d51b8d.system.js +4 -0
- package/dist/ionic/p-a61cba41.entry.js +4 -0
- package/dist/ionic/p-a69b9fc5.system.js +4 -0
- package/dist/ionic/p-a6d7bc6c.entry.js +4 -0
- package/dist/ionic/p-adcb6def.system.entry.js +4 -0
- package/dist/ionic/p-adceb282.system.entry.js +4 -0
- package/dist/ionic/{p-b6d72f12.entry.js → p-afecb188.entry.js} +1 -1
- package/dist/ionic/p-b14210d4.system.entry.js +4 -0
- package/dist/ionic/p-b398aa77.entry.js +4 -0
- package/dist/ionic/{p-44c281df.entry.js → p-b9d7015f.entry.js} +1 -1
- package/dist/ionic/p-bb0db172.entry.js +4 -0
- package/dist/ionic/p-bc36ad98.system.entry.js +4 -0
- package/dist/ionic/p-bdad26e3.entry.js +4 -0
- package/dist/ionic/p-bfceff7f.system.entry.js +4 -0
- package/dist/ionic/{p-3efc5d47.system.entry.js → p-c0b0a426.system.entry.js} +2 -2
- package/dist/ionic/p-c29f8157.system.entry.js +4 -0
- package/dist/ionic/{p-ed419a44.entry.js → p-c41ac815.entry.js} +1 -1
- package/dist/ionic/p-c7b03316.entry.js +4 -0
- package/dist/ionic/p-c9f3a539.entry.js +4 -0
- package/dist/ionic/p-ca065903.system.entry.js +4 -0
- package/dist/ionic/p-cac0e0b3.system.entry.js +4 -0
- package/dist/ionic/p-cfab4f20.entry.js +4 -0
- package/dist/ionic/p-d04481d7.entry.js +4 -0
- package/dist/ionic/p-d18ab582.system.entry.js +4 -0
- package/dist/ionic/p-d1db10ed.system.entry.js +4 -0
- package/dist/ionic/{p-0b120b1d.js → p-d60342e3.js} +1 -1
- package/dist/ionic/p-d6841eac.js +4 -0
- package/dist/ionic/{p-5771eacd.js → p-d743e981.js} +1 -1
- package/dist/ionic/p-d77e12ca.entry.js +4 -0
- package/dist/ionic/p-d7aa6b00.entry.js +4 -0
- package/dist/ionic/{p-83948e48.js → p-d836d43e.js} +1 -1
- package/dist/ionic/p-da074ff7.entry.js +4 -0
- package/dist/ionic/{p-58f16ef6.js → p-da2b833b.js} +1 -1
- package/dist/ionic/p-de930745.entry.js +4 -0
- package/dist/ionic/p-dfb78785.system.js +4 -0
- package/dist/ionic/p-e2fb0d06.system.entry.js +4 -0
- package/dist/ionic/p-e3f13b08.js +4 -0
- package/dist/ionic/p-e4ee80be.system.entry.js +4 -0
- package/dist/ionic/p-eba29931.entry.js +4 -0
- package/dist/ionic/p-eba81f15.entry.js +4 -0
- package/dist/ionic/{p-0bfbe380.js → p-ecceeb90.js} +1 -1
- package/dist/ionic/p-efaffe74.entry.js +4 -0
- package/dist/ionic/p-f1acf541.system.entry.js +4 -0
- package/dist/ionic/p-f3102647.system.entry.js +4 -0
- package/dist/ionic/p-f43382c8.system.entry.js +4 -0
- package/dist/ionic/{p-1fd1d157.system.js → p-f687573e.system.js} +1 -1
- package/dist/ionic/p-f9a53abb.system.js +4 -0
- package/dist/ionic/p-ff4b7e40.system.js +4 -0
- package/dist/types/components/accordion/accordion.d.ts +2 -4
- package/dist/types/components/accordion-group/accordion-group.d.ts +1 -2
- package/dist/types/components/action-sheet/action-sheet-interface.d.ts +7 -3
- package/dist/types/components/action-sheet/action-sheet.d.ts +2 -3
- package/dist/types/components/alert/alert-interface.d.ts +7 -3
- package/dist/types/components/alert/alert.d.ts +2 -3
- package/dist/types/components/app/app.d.ts +0 -5
- package/dist/types/components/avatar/avatar.d.ts +0 -28
- package/dist/types/components/back-button/back-button.d.ts +1 -2
- package/dist/types/components/backdrop/backdrop.d.ts +0 -4
- package/dist/types/components/badge/badge.d.ts +1 -23
- package/dist/types/components/breadcrumb/breadcrumb.d.ts +1 -4
- package/dist/types/components/breadcrumbs/breadcrumbs.d.ts +2 -2
- package/dist/types/components/button/button.d.ts +4 -15
- package/dist/types/components/buttons/buttons.d.ts +1 -5
- package/dist/types/components/card/card.d.ts +1 -8
- package/dist/types/components/card-content/card-content.d.ts +1 -2
- package/dist/types/components/card-header/card-header.d.ts +2 -3
- package/dist/types/components/card-subtitle/card-subtitle.d.ts +1 -2
- package/dist/types/components/card-title/card-title.d.ts +1 -2
- package/dist/types/components/checkbox/checkbox.d.ts +4 -14
- package/dist/types/components/chip/chip.d.ts +1 -19
- package/dist/types/components/col/col.d.ts +0 -4
- package/dist/types/components/content/content.d.ts +0 -3
- package/dist/types/components/datetime/datetime.d.ts +1 -26
- package/dist/types/components/datetime/utils/data.d.ts +3 -3
- package/dist/types/components/datetime-button/datetime-button.d.ts +1 -2
- package/dist/types/components/fab/fab.d.ts +0 -4
- package/dist/types/components/fab-button/fab-button.d.ts +3 -5
- package/dist/types/components/fab-list/fab-list.d.ts +0 -4
- package/dist/types/components/footer/footer.d.ts +3 -4
- package/dist/types/components/grid/grid.d.ts +0 -4
- package/dist/types/components/header/header.d.ts +3 -9
- package/dist/types/components/img/img.d.ts +0 -3
- package/dist/types/components/infinite-scroll/infinite-scroll.d.ts +0 -4
- package/dist/types/components/infinite-scroll-content/infinite-scroll-content.d.ts +0 -4
- package/dist/types/components/input/input.d.ts +5 -31
- package/dist/types/components/input-password-toggle/input-password-toggle.d.ts +0 -2
- package/dist/types/components/item/item.d.ts +4 -11
- package/dist/types/components/item-divider/item-divider.d.ts +1 -2
- package/dist/types/components/item-group/item-group.d.ts +0 -4
- package/dist/types/components/item-option/item-option.d.ts +1 -11
- package/dist/types/components/item-options/item-options.d.ts +0 -4
- package/dist/types/components/item-sliding/item-sliding.d.ts +0 -4
- package/dist/types/components/label/label.d.ts +1 -2
- package/dist/types/components/list/list.d.ts +1 -15
- package/dist/types/components/list-header/list-header.d.ts +1 -2
- package/dist/types/components/loading/loading-interface.d.ts +7 -2
- package/dist/types/components/loading/loading.d.ts +2 -3
- package/dist/types/components/menu/menu.d.ts +0 -3
- package/dist/types/components/menu-button/menu-button.d.ts +1 -3
- package/dist/types/components/menu-toggle/menu-toggle.d.ts +0 -3
- package/dist/types/components/modal/modal-interface.d.ts +7 -3
- package/dist/types/components/modal/modal.d.ts +1 -11
- package/dist/types/components/nav/nav-interface.d.ts +1 -9
- package/dist/types/components/nav/nav.d.ts +1 -5
- package/dist/types/components/nav-link/nav-link.d.ts +0 -4
- package/dist/types/components/note/note.d.ts +1 -2
- package/dist/types/components/picker/picker.d.ts +1 -2
- package/dist/types/components/picker-column/picker-column.d.ts +1 -2
- package/dist/types/components/picker-column-option/picker-column-option.d.ts +0 -4
- package/dist/types/components/picker-legacy/picker.d.ts +1 -2
- package/dist/types/components/popover/popover-interface.d.ts +6 -3
- package/dist/types/components/popover/popover.d.ts +5 -6
- package/dist/types/components/progress-bar/progress-bar.d.ts +1 -2
- package/dist/types/components/radio/radio.d.ts +1 -2
- package/dist/types/components/radio-group/radio-group.d.ts +0 -4
- package/dist/types/components/range/range.d.ts +1 -2
- package/dist/types/components/refresher/refresher.d.ts +1 -2
- package/dist/types/components/refresher-content/refresher-content.d.ts +0 -4
- package/dist/types/components/reorder/reorder.d.ts +0 -9
- package/dist/types/components/reorder-group/reorder-group.d.ts +0 -4
- package/dist/types/components/ripple-effect/ripple-effect.d.ts +0 -4
- package/dist/types/components/route/route.d.ts +0 -4
- package/dist/types/components/router/router.d.ts +0 -4
- package/dist/types/components/router-link/router-link.d.ts +0 -4
- package/dist/types/components/router-outlet/router-outlet.d.ts +1 -4
- package/dist/types/components/row/row.d.ts +0 -4
- package/dist/types/components/searchbar/searchbar.d.ts +8 -30
- package/dist/types/components/segment/segment.d.ts +1 -2
- package/dist/types/components/segment-button/segment-button.d.ts +1 -2
- package/dist/types/components/select/select.d.ts +5 -20
- package/dist/types/components/select-option/select-option.d.ts +0 -4
- package/dist/types/components/select-popover/select-popover.d.ts +0 -3
- package/dist/types/components/skeleton-text/skeleton-text.d.ts +0 -4
- package/dist/types/components/spinner/spinner.d.ts +0 -15
- package/dist/types/components/split-pane/split-pane.d.ts +0 -4
- package/dist/types/components/tab/tab.d.ts +0 -4
- package/dist/types/components/tab-bar/tab-bar.d.ts +2 -22
- package/dist/types/components/tab-button/tab-button.d.ts +1 -2
- package/dist/types/components/tabs/tabs.d.ts +0 -3
- package/dist/types/components/text/text.d.ts +1 -2
- package/dist/types/components/textarea/textarea.d.ts +4 -16
- package/dist/types/components/thumbnail/thumbnail.d.ts +0 -4
- package/dist/types/components/title/title.d.ts +0 -4
- package/dist/types/components/toast/animations/utils.d.ts +2 -2
- package/dist/types/components/toast/toast-interface.d.ts +7 -3
- package/dist/types/components/toast/toast.d.ts +2 -3
- package/dist/types/components/toggle/toggle.d.ts +1 -15
- package/dist/types/components/toolbar/toolbar.d.ts +3 -4
- package/dist/types/components.d.ts +181 -1346
- package/dist/types/global/ionic-global.d.ts +2 -25
- package/dist/types/interface.d.ts +0 -3
- package/dist/types/utils/config.d.ts +2 -99
- package/dist/types/utils/overlays-interface.d.ts +1 -31
- package/dist/types/utils/test/playwright/generator.d.ts +2 -31
- package/hydrate/index.js +696 -2031
- package/hydrate/index.mjs +696 -2031
- package/package.json +5 -9
- package/components/caret-down.js +0 -6
- package/components/caret-left.js +0 -6
- package/components/caret-right.js +0 -6
- package/components/list2.js +0 -6
- package/components/x.js +0 -6
- package/css/ionic/bundle.ionic.css +0 -1
- package/css/ionic/bundle.ionic.css.map +0 -1
- package/css/ionic/core.ionic.css +0 -1
- package/css/ionic/core.ionic.css.map +0 -1
- package/css/ionic/global.bundle.ionic.css +0 -1
- package/css/ionic/global.bundle.ionic.css.map +0 -1
- package/css/ionic/ionic-swiper.ionic.css +0 -1
- package/css/ionic/ionic-swiper.ionic.css.map +0 -1
- package/css/ionic/link.ionic.css +0 -1
- package/css/ionic/link.ionic.css.map +0 -1
- package/css/ionic/structure.ionic.css +0 -1
- package/css/ionic/structure.ionic.css.map +0 -1
- package/css/ionic/typography.ionic.css +0 -1
- package/css/ionic/typography.ionic.css.map +0 -1
- package/css/ionic/utils.bundle.ionic.css +0 -1
- package/css/ionic/utils.bundle.ionic.css.map +0 -1
- package/dist/cjs/caret-down-3c215cff.js +0 -8
- package/dist/cjs/caret-left-2bb66970.js +0 -8
- package/dist/cjs/caret-right-88e03970.js +0 -8
- package/dist/cjs/ionic-global-5df85d73.js +0 -418
- package/dist/cjs/list-2930c629.js +0 -8
- package/dist/cjs/x-81a8f51c.js +0 -8
- package/dist/collection/components/avatar/avatar.ionic.css +0 -271
- package/dist/collection/components/backdrop/backdrop.ionic.css +0 -153
- package/dist/collection/components/badge/badge.ionic.css +0 -251
- package/dist/collection/components/button/button.ionic.css +0 -591
- package/dist/collection/components/buttons/buttons.ionic.css +0 -101
- package/dist/collection/components/card/card.ionic.css +0 -139
- package/dist/collection/components/card-content/card-content.ionic.css +0 -92
- package/dist/collection/components/card-header/card-header.ionic.css +0 -89
- package/dist/collection/components/card-subtitle/card-subtitle.ionic.css +0 -148
- package/dist/collection/components/checkbox/checkbox.ionic.css +0 -408
- package/dist/collection/components/chip/chip.ionic.css +0 -162
- package/dist/collection/components/datetime/datetime.ionic.css +0 -670
- package/dist/collection/components/header/header.ionic.css +0 -88
- package/dist/collection/components/input/input.ionic.css +0 -1099
- package/dist/collection/components/input-password-toggle/input-password-toggle.common.css +0 -61
- package/dist/collection/components/input-password-toggle/input-password-toggle.ionic.css +0 -143
- package/dist/collection/components/item/item.ionic.css +0 -494
- package/dist/collection/components/item-option/item-option.ionic.css +0 -334
- package/dist/collection/components/item-options/item-options.ionic.css +0 -260
- package/dist/collection/components/list/list.ionic.css +0 -196
- package/dist/collection/components/list-header/list-header.ionic.css +0 -238
- package/dist/collection/components/menu-button/menu-button.ionic.css +0 -240
- package/dist/collection/components/modal/modal.ionic.css +0 -241
- package/dist/collection/components/radio/radio.ionic.css +0 -420
- package/dist/collection/components/ripple-effect/ripple-effect.ionic.css +0 -154
- package/dist/collection/components/searchbar/searchbar.ionic.css +0 -270
- package/dist/collection/components/spinner/spinner.common.css +0 -199
- package/dist/collection/components/tab-bar/tab-bar.ionic.css +0 -254
- package/dist/collection/components/tab-button/tab-button.ionic.css +0 -273
- package/dist/collection/components/textarea/textarea.ionic.css +0 -806
- package/dist/collection/components/title/title.ionic.css +0 -147
- package/dist/collection/components/toggle/toggle.ionic.css +0 -421
- package/dist/collection/components/toolbar/toolbar.ionic.css +0 -235
- package/dist/esm/caret-down-3eaad1cc.js +0 -6
- package/dist/esm/caret-left-33424bb0.js +0 -6
- package/dist/esm/caret-right-68d856ad.js +0 -6
- package/dist/esm/ionic-global-a8cbb8b0.js +0 -408
- package/dist/esm/list-6524700c.js +0 -6
- package/dist/esm/x-a64bcd9f.js +0 -6
- package/dist/esm-es5/app-globals-c45950ba.js +0 -4
- package/dist/esm-es5/caret-down-3eaad1cc.js +0 -4
- package/dist/esm-es5/caret-left-33424bb0.js +0 -4
- package/dist/esm-es5/caret-right-68d856ad.js +0 -4
- package/dist/esm-es5/data-fde041b0.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-56cab0d6.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/list-6524700c.js +0 -4
- package/dist/esm-es5/md.transition-20ad6960.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/x-a64bcd9f.js +0 -4
- package/dist/ionic/p-00093fc0.entry.js +0 -4
- package/dist/ionic/p-01d80901.system.js +0 -4
- package/dist/ionic/p-0328213e.system.entry.js +0 -4
- package/dist/ionic/p-06ec4706.js +0 -4
- package/dist/ionic/p-09b9918f.system.entry.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-0fd7a8cb.system.entry.js +0 -4
- package/dist/ionic/p-10dacd80.entry.js +0 -4
- package/dist/ionic/p-1158a829.entry.js +0 -4
- package/dist/ionic/p-175821bc.entry.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-1fe2380b.system.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-243adf8c.js +0 -4
- package/dist/ionic/p-28be0cf9.js +0 -4
- package/dist/ionic/p-2f0f1db6.system.entry.js +0 -4
- package/dist/ionic/p-2fd3e890.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-35b66bbc.system.entry.js +0 -4
- package/dist/ionic/p-36db29d9.system.js +0 -4
- package/dist/ionic/p-3c1b93db.system.entry.js +0 -4
- package/dist/ionic/p-3dfa54e6.js +0 -4
- package/dist/ionic/p-3f8a3fb4.system.entry.js +0 -4
- package/dist/ionic/p-429dd2b5.system.js +0 -4
- package/dist/ionic/p-46f790b3.entry.js +0 -4
- package/dist/ionic/p-48cd1ced.entry.js +0 -4
- package/dist/ionic/p-4ca47744.entry.js +0 -4
- package/dist/ionic/p-4de02483.entry.js +0 -4
- package/dist/ionic/p-4e6c9480.system.entry.js +0 -4
- package/dist/ionic/p-4e7c68a5.entry.js +0 -4
- package/dist/ionic/p-52c8442b.system.entry.js +0 -4
- package/dist/ionic/p-5a583b1a.entry.js +0 -4
- package/dist/ionic/p-5b57d327.system.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-5cc80c49.system.js +0 -4
- package/dist/ionic/p-600b69a0.entry.js +0 -4
- package/dist/ionic/p-607c9c33.js +0 -4
- package/dist/ionic/p-614c3822.system.js +0 -4
- package/dist/ionic/p-614d974e.system.entry.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-6a0dd6bc.js +0 -4
- package/dist/ionic/p-6b6ee9ca.system.entry.js +0 -4
- package/dist/ionic/p-6c555957.system.entry.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-727aa804.system.entry.js +0 -4
- package/dist/ionic/p-737d64f9.entry.js +0 -4
- package/dist/ionic/p-77c3fe69.entry.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-82028c01.system.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-854b1e11.system.entry.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-927b5898.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-9c8e5275.system.entry.js +0 -4
- package/dist/ionic/p-a1b80dd6.system.js +0 -4
- package/dist/ionic/p-a8a04757.system.entry.js +0 -4
- package/dist/ionic/p-a9af4103.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-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-bcfa9bb5.system.entry.js +0 -4
- package/dist/ionic/p-bd7fb7b4.js +0 -4
- package/dist/ionic/p-bdd4e026.entry.js +0 -4
- package/dist/ionic/p-bf673222.system.entry.js +0 -4
- package/dist/ionic/p-c248c88d.system.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-ca3bf740.system.entry.js +0 -4
- package/dist/ionic/p-cb3dc48f.entry.js +0 -4
- package/dist/ionic/p-cd40baea.entry.js +0 -4
- package/dist/ionic/p-cde755fc.system.entry.js +0 -4
- package/dist/ionic/p-ce5c2902.system.js +0 -4
- package/dist/ionic/p-d05aabdf.system.entry.js +0 -4
- package/dist/ionic/p-d3fd2c98.entry.js +0 -4
- package/dist/ionic/p-d53e0b4b.entry.js +0 -4
- package/dist/ionic/p-d6eda1bb.system.entry.js +0 -4
- package/dist/ionic/p-d79ed7b3.system.js +0 -4
- package/dist/ionic/p-d878447e.entry.js +0 -4
- package/dist/ionic/p-d9c8bac9.system.entry.js +0 -4
- package/dist/ionic/p-db63907a.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-dde3a646.entry.js +0 -4
- package/dist/ionic/p-dfd995cc.system.entry.js +0 -4
- package/dist/ionic/p-e050dad9.system.js +0 -4
- package/dist/ionic/p-e259208f.entry.js +0 -4
- package/dist/ionic/p-e2bd011e.js +0 -4
- package/dist/ionic/p-e34e037d.system.entry.js +0 -4
- package/dist/ionic/p-e3b70846.system.js +0 -4
- package/dist/ionic/p-e61c9280.entry.js +0 -4
- package/dist/ionic/p-eafeb1ff.system.js +0 -4
- package/dist/ionic/p-f3cfb48a.entry.js +0 -4
- package/dist/ionic/p-f4ad1cf6.system.entry.js +0 -4
- package/dist/ionic/p-f9782d44.system.entry.js +0 -4
- package/dist/ionic/p-fadc15c0.entry.js +0 -4
- /package/dist/collection/components/{refresher-content/refresher-content.css → input-password-toggle/input-password-toggle.css} +0 -0
|
@@ -1,9 +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
1
|
/**
|
|
8
2
|
* Convert a font size to a dynamic font size.
|
|
9
3
|
* Fonts that participate in Dynamic Type should use
|
|
@@ -59,28 +53,6 @@
|
|
|
59
53
|
* }
|
|
60
54
|
* }
|
|
61
55
|
*/
|
|
62
|
-
/**
|
|
63
|
-
* A heuristic that applies CSS to tablet
|
|
64
|
-
* viewports.
|
|
65
|
-
*
|
|
66
|
-
* Usage:
|
|
67
|
-
* @include tablet-viewport() {
|
|
68
|
-
* :host {
|
|
69
|
-
* background-color: green;
|
|
70
|
-
* }
|
|
71
|
-
* }
|
|
72
|
-
*/
|
|
73
|
-
/**
|
|
74
|
-
* A heuristic that applies CSS to mobile
|
|
75
|
-
* viewports (i.e. phones, not tablets).
|
|
76
|
-
*
|
|
77
|
-
* Usage:
|
|
78
|
-
* @include mobile-viewport() {
|
|
79
|
-
* :host {
|
|
80
|
-
* background-color: blue;
|
|
81
|
-
* }
|
|
82
|
-
* }
|
|
83
|
-
*/
|
|
84
56
|
:host {
|
|
85
57
|
/**
|
|
86
58
|
* @prop --color: Color of the radio
|
|
@@ -95,28 +67,10 @@
|
|
|
95
67
|
min-height: inherit;
|
|
96
68
|
cursor: pointer;
|
|
97
69
|
user-select: none;
|
|
70
|
+
z-index: 2;
|
|
98
71
|
box-sizing: border-box;
|
|
99
72
|
}
|
|
100
73
|
|
|
101
|
-
input {
|
|
102
|
-
position: absolute;
|
|
103
|
-
top: 0;
|
|
104
|
-
right: 0;
|
|
105
|
-
bottom: 0;
|
|
106
|
-
left: 0;
|
|
107
|
-
width: 100%;
|
|
108
|
-
height: 100%;
|
|
109
|
-
margin: 0;
|
|
110
|
-
padding: 0;
|
|
111
|
-
border: 0;
|
|
112
|
-
outline: 0;
|
|
113
|
-
opacity: 0;
|
|
114
|
-
overflow: hidden;
|
|
115
|
-
clip: rect(0 0 0 0);
|
|
116
|
-
-webkit-appearance: none;
|
|
117
|
-
-moz-appearance: none;
|
|
118
|
-
}
|
|
119
|
-
|
|
120
74
|
:host(.radio-disabled) {
|
|
121
75
|
pointer-events: none;
|
|
122
76
|
}
|
|
@@ -135,6 +89,25 @@ input {
|
|
|
135
89
|
box-sizing: border-box;
|
|
136
90
|
}
|
|
137
91
|
|
|
92
|
+
input {
|
|
93
|
+
position: absolute;
|
|
94
|
+
top: 0;
|
|
95
|
+
left: 0;
|
|
96
|
+
right: 0;
|
|
97
|
+
bottom: 0;
|
|
98
|
+
width: 100%;
|
|
99
|
+
height: 100%;
|
|
100
|
+
margin: 0;
|
|
101
|
+
padding: 0;
|
|
102
|
+
border: 0;
|
|
103
|
+
outline: 0;
|
|
104
|
+
clip: rect(0 0 0 0);
|
|
105
|
+
opacity: 0;
|
|
106
|
+
overflow: hidden;
|
|
107
|
+
-webkit-appearance: none;
|
|
108
|
+
-moz-appearance: none;
|
|
109
|
+
}
|
|
110
|
+
|
|
138
111
|
:host(:focus) {
|
|
139
112
|
outline: none;
|
|
140
113
|
}
|
|
@@ -168,6 +141,26 @@ input {
|
|
|
168
141
|
cursor: inherit;
|
|
169
142
|
}
|
|
170
143
|
|
|
144
|
+
.label-text-wrapper {
|
|
145
|
+
text-overflow: ellipsis;
|
|
146
|
+
white-space: nowrap;
|
|
147
|
+
overflow: hidden;
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
:host(.in-item) .label-text-wrapper {
|
|
151
|
+
margin-top: 10px;
|
|
152
|
+
margin-bottom: 10px;
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
:host(.in-item.radio-label-placement-stacked) .label-text-wrapper {
|
|
156
|
+
margin-top: 10px;
|
|
157
|
+
margin-bottom: 16px;
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
:host(.in-item.radio-label-placement-stacked) .native-wrapper {
|
|
161
|
+
margin-bottom: 10px;
|
|
162
|
+
}
|
|
163
|
+
|
|
171
164
|
/**
|
|
172
165
|
* If no label text is placed into the slot
|
|
173
166
|
* then the element should be hidden otherwise
|
|
@@ -218,81 +211,6 @@ input {
|
|
|
218
211
|
flex-direction: row;
|
|
219
212
|
}
|
|
220
213
|
|
|
221
|
-
/**
|
|
222
|
-
* Label is on the right of the radio in LTR and
|
|
223
|
-
* on the left in RTL.
|
|
224
|
-
*/
|
|
225
|
-
:host(.radio-label-placement-end) .radio-wrapper {
|
|
226
|
-
flex-direction: row-reverse;
|
|
227
|
-
}
|
|
228
|
-
|
|
229
|
-
/**
|
|
230
|
-
* Label is on the left of the radio in LTR and
|
|
231
|
-
* on the right in RTL. Label also has a fixed width.
|
|
232
|
-
*/
|
|
233
|
-
:host(.radio-label-placement-fixed) .label-text-wrapper {
|
|
234
|
-
flex: 0 0 100px;
|
|
235
|
-
width: 100px;
|
|
236
|
-
min-width: 100px;
|
|
237
|
-
}
|
|
238
|
-
|
|
239
|
-
/**
|
|
240
|
-
* Label is on top of the radio.
|
|
241
|
-
*/
|
|
242
|
-
:host(.radio-label-placement-stacked) .radio-wrapper {
|
|
243
|
-
flex-direction: column;
|
|
244
|
-
}
|
|
245
|
-
|
|
246
|
-
:host(.radio-label-placement-stacked.radio-alignment-start) .label-text-wrapper {
|
|
247
|
-
transform-origin: left top;
|
|
248
|
-
}
|
|
249
|
-
:host-context([dir=rtl]):host(.radio-label-placement-stacked.radio-alignment-start) .label-text-wrapper, :host-context([dir=rtl]).radio-label-placement-stacked.radio-alignment-start .label-text-wrapper {
|
|
250
|
-
transform-origin: right top;
|
|
251
|
-
}
|
|
252
|
-
|
|
253
|
-
@supports selector(:dir(rtl)) {
|
|
254
|
-
:host(.radio-label-placement-stacked.radio-alignment-start:dir(rtl)) .label-text-wrapper {
|
|
255
|
-
transform-origin: right top;
|
|
256
|
-
}
|
|
257
|
-
}
|
|
258
|
-
|
|
259
|
-
:host(.radio-label-placement-stacked.radio-alignment-center) .label-text-wrapper {
|
|
260
|
-
transform-origin: center top;
|
|
261
|
-
}
|
|
262
|
-
:host-context([dir=rtl]):host(.radio-label-placement-stacked.radio-alignment-center) .label-text-wrapper, :host-context([dir=rtl]).radio-label-placement-stacked.radio-alignment-center .label-text-wrapper {
|
|
263
|
-
transform-origin: calc(100% - center) top;
|
|
264
|
-
}
|
|
265
|
-
|
|
266
|
-
@supports selector(:dir(rtl)) {
|
|
267
|
-
:host(.radio-label-placement-stacked.radio-alignment-center:dir(rtl)) .label-text-wrapper {
|
|
268
|
-
transform-origin: calc(100% - center) top;
|
|
269
|
-
}
|
|
270
|
-
}
|
|
271
|
-
|
|
272
|
-
:host {
|
|
273
|
-
z-index: 2;
|
|
274
|
-
}
|
|
275
|
-
|
|
276
|
-
.label-text-wrapper {
|
|
277
|
-
text-overflow: ellipsis;
|
|
278
|
-
white-space: nowrap;
|
|
279
|
-
overflow: hidden;
|
|
280
|
-
}
|
|
281
|
-
|
|
282
|
-
:host(.in-item) .label-text-wrapper {
|
|
283
|
-
margin-top: 10px;
|
|
284
|
-
margin-bottom: 10px;
|
|
285
|
-
}
|
|
286
|
-
|
|
287
|
-
:host(.in-item.radio-label-placement-stacked) .label-text-wrapper {
|
|
288
|
-
margin-top: 10px;
|
|
289
|
-
margin-bottom: 16px;
|
|
290
|
-
}
|
|
291
|
-
|
|
292
|
-
:host(.in-item.radio-label-placement-stacked) .native-wrapper {
|
|
293
|
-
margin-bottom: 10px;
|
|
294
|
-
}
|
|
295
|
-
|
|
296
214
|
:host(.radio-label-placement-start) .label-text-wrapper {
|
|
297
215
|
/**
|
|
298
216
|
* The margin between the label and
|
|
@@ -305,6 +223,14 @@ input {
|
|
|
305
223
|
margin-inline-end: 16px;
|
|
306
224
|
}
|
|
307
225
|
|
|
226
|
+
/**
|
|
227
|
+
* Label is on the right of the radio in LTR and
|
|
228
|
+
* on the left in RTL.
|
|
229
|
+
*/
|
|
230
|
+
:host(.radio-label-placement-end) .radio-wrapper {
|
|
231
|
+
flex-direction: row-reverse;
|
|
232
|
+
}
|
|
233
|
+
|
|
308
234
|
/**
|
|
309
235
|
* The margin between the label and
|
|
310
236
|
* the radio should be on the start
|
|
@@ -329,6 +255,23 @@ input {
|
|
|
329
255
|
margin-inline-end: 16px;
|
|
330
256
|
}
|
|
331
257
|
|
|
258
|
+
/**
|
|
259
|
+
* Label is on the left of the radio in LTR and
|
|
260
|
+
* on the right in RTL. Label also has a fixed width.
|
|
261
|
+
*/
|
|
262
|
+
:host(.radio-label-placement-fixed) .label-text-wrapper {
|
|
263
|
+
flex: 0 0 100px;
|
|
264
|
+
width: 100px;
|
|
265
|
+
min-width: 100px;
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
/**
|
|
269
|
+
* Label is on top of the radio.
|
|
270
|
+
*/
|
|
271
|
+
:host(.radio-label-placement-stacked) .radio-wrapper {
|
|
272
|
+
flex-direction: column;
|
|
273
|
+
}
|
|
274
|
+
|
|
332
275
|
:host(.radio-label-placement-stacked) .label-text-wrapper {
|
|
333
276
|
transform: scale(0.75);
|
|
334
277
|
/**
|
|
@@ -346,12 +289,32 @@ input {
|
|
|
346
289
|
max-width: calc(100% / 0.75);
|
|
347
290
|
}
|
|
348
291
|
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
292
|
+
:host(.radio-label-placement-stacked.radio-alignment-start) .label-text-wrapper {
|
|
293
|
+
transform-origin: left top;
|
|
294
|
+
}
|
|
295
|
+
:host-context([dir=rtl]):host(.radio-label-placement-stacked.radio-alignment-start) .label-text-wrapper, :host-context([dir=rtl]).radio-label-placement-stacked.radio-alignment-start .label-text-wrapper {
|
|
296
|
+
transform-origin: right top;
|
|
297
|
+
}
|
|
298
|
+
|
|
299
|
+
@supports selector(:dir(rtl)) {
|
|
300
|
+
:host(.radio-label-placement-stacked.radio-alignment-start:dir(rtl)) .label-text-wrapper {
|
|
301
|
+
transform-origin: right top;
|
|
302
|
+
}
|
|
303
|
+
}
|
|
304
|
+
|
|
305
|
+
:host(.radio-label-placement-stacked.radio-alignment-center) .label-text-wrapper {
|
|
306
|
+
transform-origin: center top;
|
|
307
|
+
}
|
|
308
|
+
:host-context([dir=rtl]):host(.radio-label-placement-stacked.radio-alignment-center) .label-text-wrapper, :host-context([dir=rtl]).radio-label-placement-stacked.radio-alignment-center .label-text-wrapper {
|
|
309
|
+
transform-origin: calc(100% - center) top;
|
|
310
|
+
}
|
|
311
|
+
|
|
312
|
+
@supports selector(:dir(rtl)) {
|
|
313
|
+
:host(.radio-label-placement-stacked.radio-alignment-center:dir(rtl)) .label-text-wrapper {
|
|
314
|
+
transform-origin: calc(100% - center) top;
|
|
315
|
+
}
|
|
316
|
+
}
|
|
317
|
+
|
|
355
318
|
/**
|
|
356
319
|
* Convert a font size to a dynamic font size.
|
|
357
320
|
* Fonts that participate in Dynamic Type should use
|
|
@@ -407,12 +370,6 @@ input {
|
|
|
407
370
|
* }
|
|
408
371
|
* }
|
|
409
372
|
*/
|
|
410
|
-
/**
|
|
411
|
-
* Convert a pixels given value into rem
|
|
412
|
-
*
|
|
413
|
-
* @param pixels - Value in pixels to be converted (i.e. px)
|
|
414
|
-
* @param context (optional) - Baseline value
|
|
415
|
-
*/
|
|
416
373
|
/**
|
|
417
374
|
* Convert a font size to a dynamic font size.
|
|
418
375
|
* Fonts that participate in Dynamic Type should use
|
|
@@ -3,11 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import { Host, h } from "@stencil/core";
|
|
5
5
|
import { renderHiddenInput } from "../../utils/helpers";
|
|
6
|
-
import {
|
|
7
|
-
/**
|
|
8
|
-
* @virtualProp {"ios" | "md"} mode - The mode determines the platform behaviors of the component.
|
|
9
|
-
* @virtualProp {"ios" | "md" | "ionic"} theme - The theme determines the visual appearance of the component.
|
|
10
|
-
*/
|
|
6
|
+
import { getIonMode } from "../../global/ionic-global";
|
|
11
7
|
export class RadioGroup {
|
|
12
8
|
constructor() {
|
|
13
9
|
this.inputId = `ion-rg-${radioGroupIds++}`;
|
|
@@ -155,11 +151,9 @@ export class RadioGroup {
|
|
|
155
151
|
}
|
|
156
152
|
render() {
|
|
157
153
|
const { label, labelId, el, name, value } = this;
|
|
158
|
-
const
|
|
154
|
+
const mode = getIonMode(this);
|
|
159
155
|
renderHiddenInput(true, el, name, value, false);
|
|
160
|
-
return
|
|
161
|
-
[theme]: true,
|
|
162
|
-
}, role: "radiogroup", "aria-labelledby": label ? labelId : null, onClick: this.onClick }));
|
|
156
|
+
return h(Host, { key: '672d1df4a5d2fd22415e8772b054313907aba8f6', role: "radiogroup", "aria-labelledby": label ? labelId : null, onClick: this.onClick, class: mode });
|
|
163
157
|
}
|
|
164
158
|
static get is() { return "ion-radio-group"; }
|
|
165
159
|
static get properties() {
|
|
@@ -1,9 +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
1
|
/**
|
|
8
2
|
* Convert a font size to a dynamic font size.
|
|
9
3
|
* Fonts that participate in Dynamic Type should use
|
|
@@ -395,12 +389,6 @@
|
|
|
395
389
|
margin-bottom: 0px;
|
|
396
390
|
}
|
|
397
391
|
|
|
398
|
-
/**
|
|
399
|
-
* Convert a pixels given value into rem
|
|
400
|
-
*
|
|
401
|
-
* @param pixels - Value in pixels to be converted (i.e. px)
|
|
402
|
-
* @param context (optional) - Baseline value
|
|
403
|
-
*/
|
|
404
392
|
/**
|
|
405
393
|
* Convert a font size to a dynamic font size.
|
|
406
394
|
* Fonts that participate in Dynamic Type should use
|
|
@@ -7,12 +7,11 @@ import { inheritAriaAttributes, clamp, debounceEvent, renderHiddenInput } from "
|
|
|
7
7
|
import { printIonWarning } from "../../utils/logging/index";
|
|
8
8
|
import { isRTL } from "../../utils/rtl/index";
|
|
9
9
|
import { createColorClasses, hostContext } from "../../utils/theme";
|
|
10
|
-
import {
|
|
10
|
+
import { getIonMode } from "../../global/ionic-global";
|
|
11
11
|
import { roundToMaxDecimalPlaces } from "../../utils/floating-point";
|
|
12
12
|
// TODO(FW-2832): types
|
|
13
13
|
/**
|
|
14
|
-
* @virtualProp {"ios" | "md"} mode - The mode determines
|
|
15
|
-
* @virtualProp {"ios" | "md" | "ionic"} theme - The theme determines the visual appearance of the component.
|
|
14
|
+
* @virtualProp {"ios" | "md"} mode - The mode determines which platform styles to use.
|
|
16
15
|
*
|
|
17
16
|
* @slot label - The label text to associate with the range. Use the "labelPlacement" property to control where the label is placed relative to the range.
|
|
18
17
|
* @slot start - Content is placed to the left of the range slider in LTR, and to the right in RTL.
|
|
@@ -563,10 +562,10 @@ export class Range {
|
|
|
563
562
|
*/
|
|
564
563
|
const hasEndContent = (hasLabel && labelPlacement === 'end') || this.hasEndSlotContent;
|
|
565
564
|
const needsEndAdjustment = inItem && !hasEndContent;
|
|
566
|
-
const
|
|
565
|
+
const mode = getIonMode(this);
|
|
567
566
|
renderHiddenInput(true, el, this.name, JSON.stringify(this.getValue()), disabled);
|
|
568
|
-
return (h(Host, { key: '
|
|
569
|
-
[
|
|
567
|
+
return (h(Host, { key: '05c699caaead7cc74deaae2a958c4632191473a8', onFocusin: this.onFocus, onFocusout: this.onBlur, id: rangeId, class: createColorClasses(this.color, {
|
|
568
|
+
[mode]: true,
|
|
570
569
|
'in-item': inItem,
|
|
571
570
|
'range-disabled': disabled,
|
|
572
571
|
'range-pressed': pressedKnob !== undefined,
|
|
@@ -574,25 +573,23 @@ export class Range {
|
|
|
574
573
|
[`range-label-placement-${labelPlacement}`]: true,
|
|
575
574
|
'range-item-start-adjustment': needsStartAdjustment,
|
|
576
575
|
'range-item-end-adjustment': needsEndAdjustment,
|
|
577
|
-
}) }, h("label", { key: '
|
|
576
|
+
}) }, h("label", { key: '959837bcc48c4bda33ae1f62b66ef444329a2961', class: "range-wrapper", id: "range-label" }, h("div", { key: 'a434c6b5c26f57f52b3af98d881e7e6a179c89fc', class: {
|
|
578
577
|
'label-text-wrapper': true,
|
|
579
578
|
'label-text-wrapper-hidden': !hasLabel,
|
|
580
|
-
}, part: "label" }, label !== undefined ? h("div", { class: "label-text" }, label) : h("slot", { name: "label" })), h("div", { key: '
|
|
579
|
+
}, part: "label" }, label !== undefined ? h("div", { class: "label-text" }, label) : h("slot", { name: "label" })), h("div", { key: '87df1037b6b3337bd1fab05d33a26bf658c57914', class: "native-wrapper" }, h("slot", { key: '2cb88f101da49b70aeae29b0bf5445fac241bb2f', name: "start" }), this.renderRangeSlider(), h("slot", { key: '17b835cfb2bd9b8e1957afd425543ff02b913d83', name: "end" })))));
|
|
581
580
|
}
|
|
582
581
|
static get is() { return "ion-range"; }
|
|
583
582
|
static get encapsulation() { return "shadow"; }
|
|
584
583
|
static get originalStyleUrls() {
|
|
585
584
|
return {
|
|
586
585
|
"ios": ["range.ios.scss"],
|
|
587
|
-
"md": ["range.md.scss"]
|
|
588
|
-
"ionic": ["range.md.scss"]
|
|
586
|
+
"md": ["range.md.scss"]
|
|
589
587
|
};
|
|
590
588
|
}
|
|
591
589
|
static get styleUrls() {
|
|
592
590
|
return {
|
|
593
591
|
"ios": ["range.ios.css"],
|
|
594
|
-
"md": ["range.md.css"]
|
|
595
|
-
"ionic": ["range.md.css"]
|
|
592
|
+
"md": ["range.md.css"]
|
|
596
593
|
};
|
|
597
594
|
}
|
|
598
595
|
static get properties() {
|
|
@@ -1,9 +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
1
|
/**
|
|
8
2
|
* Convert a font size to a dynamic font size.
|
|
9
3
|
* Fonts that participate in Dynamic Type should use
|
|
@@ -395,12 +389,6 @@
|
|
|
395
389
|
margin-bottom: 0px;
|
|
396
390
|
}
|
|
397
391
|
|
|
398
|
-
/**
|
|
399
|
-
* Convert a pixels given value into rem
|
|
400
|
-
*
|
|
401
|
-
* @param pixels - Value in pixels to be converted (i.e. px)
|
|
402
|
-
* @param context (optional) - Baseline value
|
|
403
|
-
*/
|
|
404
392
|
/**
|
|
405
393
|
* Convert a font size to a dynamic font size.
|
|
406
394
|
* Fonts that participate in Dynamic Type should use
|
|
@@ -1,9 +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
1
|
/**
|
|
8
2
|
* Convert a font size to a dynamic font size.
|
|
9
3
|
* Fonts that participate in Dynamic Type should use
|
|
@@ -149,17 +143,10 @@ ion-refresher-content .arrow-container {
|
|
|
149
143
|
transform: scale(0);
|
|
150
144
|
}
|
|
151
145
|
|
|
152
|
-
.refresher-native .refresher-pulling-text,
|
|
153
|
-
.refresher-native .refresher-refreshing-text {
|
|
146
|
+
.refresher-native .refresher-pulling-text, .refresher-native .refresher-refreshing-text {
|
|
154
147
|
display: none;
|
|
155
148
|
}
|
|
156
149
|
|
|
157
|
-
/**
|
|
158
|
-
* Convert a pixels given value into rem
|
|
159
|
-
*
|
|
160
|
-
* @param pixels - Value in pixels to be converted (i.e. px)
|
|
161
|
-
* @param context (optional) - Baseline value
|
|
162
|
-
*/
|
|
163
150
|
/**
|
|
164
151
|
* Convert a font size to a dynamic font size.
|
|
165
152
|
* Fonts that participate in Dynamic Type should use
|
|
@@ -6,11 +6,10 @@ import { getTimeGivenProgression } from "../../utils/animation/cubic-bezier";
|
|
|
6
6
|
import { getScrollElement, ION_CONTENT_CLASS_SELECTOR, ION_CONTENT_ELEMENT_SELECTOR, printIonContentErrorMsg, } from "../../utils/content/index";
|
|
7
7
|
import { clamp, componentOnReady, getElementRoot, raf, transitionEndAsync } from "../../utils/helpers";
|
|
8
8
|
import { ImpactStyle, hapticImpact } from "../../utils/native/haptic";
|
|
9
|
-
import { getIonMode
|
|
9
|
+
import { getIonMode } from "../../global/ionic-global";
|
|
10
10
|
import { createPullingAnimation, createSnapBackAnimation, getRefresherAnimationType, handleScrollWhilePulling, handleScrollWhileRefreshing, setSpinnerOpacity, shouldUseNativeRefresher, translateElement, } from "./refresher.utils";
|
|
11
11
|
/**
|
|
12
|
-
* @virtualProp {"ios" | "md"} mode - The mode determines
|
|
13
|
-
* @virtualProp {"ios" | "md" | "ionic"} theme - The theme determines the visual appearance of the component.
|
|
12
|
+
* @virtualProp {"ios" | "md"} mode - The mode determines which platform styles to use.
|
|
14
13
|
*/
|
|
15
14
|
export class Refresher {
|
|
16
15
|
constructor() {
|
|
@@ -621,11 +620,11 @@ export class Refresher {
|
|
|
621
620
|
}
|
|
622
621
|
}
|
|
623
622
|
render() {
|
|
624
|
-
const
|
|
625
|
-
return (h(Host, { key: '
|
|
626
|
-
[
|
|
623
|
+
const mode = getIonMode(this);
|
|
624
|
+
return (h(Host, { key: '9d4ac22988aec2c6af0b0c90934c52f62f0e4ce3', slot: "fixed", class: {
|
|
625
|
+
[mode]: true,
|
|
627
626
|
// Used internally for styling
|
|
628
|
-
[`refresher-${
|
|
627
|
+
[`refresher-${mode}`]: true,
|
|
629
628
|
'refresher-native': this.nativeRefresher,
|
|
630
629
|
'refresher-active': this.state !== 1 /* RefresherState.Inactive */,
|
|
631
630
|
'refresher-pulling': this.state === 2 /* RefresherState.Pulling */,
|
|
@@ -639,15 +638,13 @@ export class Refresher {
|
|
|
639
638
|
static get originalStyleUrls() {
|
|
640
639
|
return {
|
|
641
640
|
"ios": ["refresher.ios.scss"],
|
|
642
|
-
"md": ["refresher.md.scss"]
|
|
643
|
-
"ionic": ["refresher.md.scss"]
|
|
641
|
+
"md": ["refresher.md.scss"]
|
|
644
642
|
};
|
|
645
643
|
}
|
|
646
644
|
static get styleUrls() {
|
|
647
645
|
return {
|
|
648
646
|
"ios": ["refresher.ios.css"],
|
|
649
|
-
"md": ["refresher.md.css"]
|
|
650
|
-
"ionic": ["refresher.md.css"]
|
|
647
|
+
"md": ["refresher.md.css"]
|
|
651
648
|
};
|
|
652
649
|
}
|
|
653
650
|
static get properties() {
|
|
@@ -1,9 +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
1
|
/**
|
|
8
2
|
* Convert a font size to a dynamic font size.
|
|
9
3
|
* Fonts that participate in Dynamic Type should use
|
|
@@ -149,17 +143,10 @@ ion-refresher-content .arrow-container {
|
|
|
149
143
|
transform: scale(0);
|
|
150
144
|
}
|
|
151
145
|
|
|
152
|
-
.refresher-native .refresher-pulling-text,
|
|
153
|
-
.refresher-native .refresher-refreshing-text {
|
|
146
|
+
.refresher-native .refresher-pulling-text, .refresher-native .refresher-refreshing-text {
|
|
154
147
|
display: none;
|
|
155
148
|
}
|
|
156
149
|
|
|
157
|
-
/**
|
|
158
|
-
* Convert a pixels given value into rem
|
|
159
|
-
*
|
|
160
|
-
* @param pixels - Value in pixels to be converted (i.e. px)
|
|
161
|
-
* @param context (optional) - Baseline value
|
|
162
|
-
*/
|
|
163
150
|
/**
|
|
164
151
|
* Convert a font size to a dynamic font size.
|
|
165
152
|
* Fonts that participate in Dynamic Type should use
|
|
@@ -268,8 +255,8 @@ ion-refresher.refresher-native .arrow-container ion-icon {
|
|
|
268
255
|
margin-inline-end: auto;
|
|
269
256
|
margin-top: 0;
|
|
270
257
|
margin-bottom: 0;
|
|
271
|
-
right: 0;
|
|
272
258
|
left: 0;
|
|
259
|
+
right: 0;
|
|
273
260
|
bottom: -4px;
|
|
274
261
|
position: absolute;
|
|
275
262
|
color: var(--ion-color-primary, #0054e9);
|
|
@@ -1,19 +1,14 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
|
-
import caretLeftFill from "@phosphor-icons/core/assets/fill/caret-left-fill.svg";
|
|
5
4
|
import { Host, h } from "@stencil/core";
|
|
6
5
|
import { ENABLE_HTML_CONTENT_DEFAULT } from "../../utils/config";
|
|
7
6
|
import { sanitizeDOMString } from "../../utils/sanitization/index";
|
|
8
7
|
import { arrowDown, caretBackSharp } from "ionicons/icons";
|
|
9
8
|
import { config } from "../../global/config";
|
|
10
|
-
import {
|
|
9
|
+
import { getIonMode } from "../../global/ionic-global";
|
|
11
10
|
import { supportsRubberBandScrolling } from "../refresher/refresher.utils";
|
|
12
11
|
import { SPINNERS } from "../spinner/spinner-configs";
|
|
13
|
-
/**
|
|
14
|
-
* @virtualProp {"ios" | "md"} mode - The mode determines the platform behaviors of the component.
|
|
15
|
-
* @virtualProp {"ios" | "md" | "ionic"} theme - The theme determines the visual appearance of the component.
|
|
16
|
-
*/
|
|
17
12
|
export class RefresherContent {
|
|
18
13
|
constructor() {
|
|
19
14
|
this.customHTMLEnabled = config.get('innerHTMLTemplatesEnabled', ENABLE_HTML_CONTENT_DEFAULT);
|
|
@@ -23,7 +18,6 @@ export class RefresherContent {
|
|
|
23
18
|
this.refreshingText = undefined;
|
|
24
19
|
}
|
|
25
20
|
componentWillLoad() {
|
|
26
|
-
const theme = getIonTheme(this);
|
|
27
21
|
if (this.pullingIcon === undefined) {
|
|
28
22
|
/**
|
|
29
23
|
* The native iOS refresher uses a spinner instead of
|
|
@@ -31,11 +25,13 @@ export class RefresherContent {
|
|
|
31
25
|
* the native iOS refresher.
|
|
32
26
|
*/
|
|
33
27
|
const hasRubberBandScrolling = supportsRubberBandScrolling();
|
|
28
|
+
const mode = getIonMode(this);
|
|
34
29
|
const overflowRefresher = hasRubberBandScrolling ? 'lines' : arrowDown;
|
|
35
|
-
this.pullingIcon = config.get('refreshingIcon',
|
|
30
|
+
this.pullingIcon = config.get('refreshingIcon', mode === 'ios' && hasRubberBandScrolling ? config.get('spinner', overflowRefresher) : 'circular');
|
|
36
31
|
}
|
|
37
32
|
if (this.refreshingSpinner === undefined) {
|
|
38
|
-
|
|
33
|
+
const mode = getIonMode(this);
|
|
34
|
+
this.refreshingSpinner = config.get('refreshingSpinner', config.get('spinner', mode === 'ios' ? 'lines' : 'circular'));
|
|
39
35
|
}
|
|
40
36
|
}
|
|
41
37
|
renderPullingText() {
|
|
@@ -55,27 +51,10 @@ export class RefresherContent {
|
|
|
55
51
|
render() {
|
|
56
52
|
const pullingIcon = this.pullingIcon;
|
|
57
53
|
const hasSpinner = pullingIcon != null && SPINNERS[pullingIcon] !== undefined;
|
|
58
|
-
const
|
|
59
|
-
|
|
60
|
-
return (h(Host, { key: '8dcfdbc6969e4370e070e1f3c5fc1785c63f620b', class: {
|
|
61
|
-
[theme]: true,
|
|
62
|
-
} }, h("div", { key: '2322cc218e3b78c9b85a3d5596b2e67bf82a7de5', class: "refresher-pulling" }, this.pullingIcon && hasSpinner && (h("div", { key: '8cbb0dd8862e474b3d0255c1a727cc9a6ed437f2', class: "refresher-pulling-icon" }, h("div", { key: 'a510b37135e9ba3045d66e68b8b5f374034d48a4', class: "spinner-arrow-container" }, h("ion-spinner", { key: '58f33aaa8b659e0241db0ce464a7bcd180820e8e', name: this.pullingIcon, paused: true }), (theme === 'md' || theme === 'ionic') && this.pullingIcon === 'circular' && (h("div", { key: '8e93bed47f0961b68cc5c3010508d7d70b6e81da', class: "arrow-container" }, h("ion-icon", { key: 'd8c0aea713104112de808b15b8a1d90805623a87', icon: arrowIcon, "aria-hidden": "true" })))))), this.pullingIcon && !hasSpinner && (h("div", { key: 'ebc1847517406c2f4b09d0793e45f786feb9b062', class: "refresher-pulling-icon" }, h("ion-icon", { key: '74f2778b23a53ceece7a77276aaa74c75a01a15f', icon: this.pullingIcon, lazy: false, "aria-hidden": "true" }))), this.pullingText !== undefined && this.renderPullingText()), h("div", { key: '722264dcb2ade5489ef1939024506fa16a8f7f6a', class: "refresher-refreshing" }, this.refreshingSpinner && (h("div", { key: '83f066cfb0586534ad43c2bba715624be131ba8f', class: "refresher-refreshing-icon" }, h("ion-spinner", { key: '0c8093761225dc4b1d99696c14f9f2a62ae987ad', name: this.refreshingSpinner }))), this.refreshingText !== undefined && this.renderRefreshingText())));
|
|
54
|
+
const mode = getIonMode(this);
|
|
55
|
+
return (h(Host, { key: '19633bbcf02e3dba885d6bdcdaf2269bf4c8e2f5', class: mode }, h("div", { key: '28922e434a55a6cac0476fe2bee56941ce0d1c02', class: "refresher-pulling" }, this.pullingIcon && hasSpinner && (h("div", { key: 'fe575bf996021884677e9b23a3215d63caf894f5', class: "refresher-pulling-icon" }, h("div", { key: '59fe12297fd95bc33b8df8cd35316e2a1c084d91', class: "spinner-arrow-container" }, h("ion-spinner", { key: 'af9cc013ae04945c140b2865610ca73edb52ab48', name: this.pullingIcon, paused: true }), mode === 'md' && this.pullingIcon === 'circular' && (h("div", { key: '34df66ad1b0f706a0532957251aa2c20bf4587d8', class: "arrow-container" }, h("ion-icon", { key: 'ffdb5c123e606b823491c6c51cc2b497f62581bb', icon: caretBackSharp, "aria-hidden": "true" })))))), this.pullingIcon && !hasSpinner && (h("div", { key: 'ac3a2032bb969264d20fa057e9123441005d7a9d', class: "refresher-pulling-icon" }, h("ion-icon", { key: 'd969d10915548e72aae289b52154366f3dd39b31', icon: this.pullingIcon, lazy: false, "aria-hidden": "true" }))), this.pullingText !== undefined && this.renderPullingText()), h("div", { key: 'a8f854f81a94812d7bef8ce088331d94f49ff53d', class: "refresher-refreshing" }, this.refreshingSpinner && (h("div", { key: 'a1f646945370e40c844d62bc0c647443ae9dfbe7', class: "refresher-refreshing-icon" }, h("ion-spinner", { key: 'ab3ff4047769b6436e222b46d193c1e8b23e2fce', name: this.refreshingSpinner }))), this.refreshingText !== undefined && this.renderRefreshingText())));
|
|
63
56
|
}
|
|
64
57
|
static get is() { return "ion-refresher-content"; }
|
|
65
|
-
static get originalStyleUrls() {
|
|
66
|
-
return {
|
|
67
|
-
"ios": ["refresher-content.scss"],
|
|
68
|
-
"md": ["refresher-content.scss"],
|
|
69
|
-
"ionic": ["refresher-content.scss"]
|
|
70
|
-
};
|
|
71
|
-
}
|
|
72
|
-
static get styleUrls() {
|
|
73
|
-
return {
|
|
74
|
-
"ios": ["refresher-content.css"],
|
|
75
|
-
"md": ["refresher-content.css"],
|
|
76
|
-
"ionic": ["refresher-content.css"]
|
|
77
|
-
};
|
|
78
|
-
}
|
|
79
58
|
static get properties() {
|
|
80
59
|
return {
|
|
81
60
|
"pullingIcon": {
|
|
@@ -16,12 +16,6 @@
|
|
|
16
16
|
font-size: dynamic-font(16px);
|
|
17
17
|
}
|
|
18
18
|
|
|
19
|
-
/**
|
|
20
|
-
* Convert a pixels given value into rem
|
|
21
|
-
*
|
|
22
|
-
* @param pixels - Value in pixels to be converted (i.e. px)
|
|
23
|
-
* @param context (optional) - Baseline value
|
|
24
|
-
*/
|
|
25
19
|
/**
|
|
26
20
|
* Convert a font size to a dynamic font size.
|
|
27
21
|
* Fonts that participate in Dynamic Type should use
|