@ionic/core 8.7.16-dev.11769623699.1fe289a4 → 8.7.16-dev.11770318223.1177a6ea
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/button.js +20 -15
- package/components/checkbox.js +3 -3
- package/components/content.js +3 -3
- package/components/header.js +2 -2
- package/components/helpers.js +18 -4
- package/components/ion-card-content.js +7 -8
- package/components/ion-card-header.js +2 -2
- package/components/ion-card-subtitle.js +2 -2
- package/components/ion-card-title.js +2 -2
- package/components/ion-chip.js +2 -2
- package/components/ion-col.js +2 -2
- package/components/ion-datetime-button.js +2 -2
- package/components/ion-datetime.js +11 -17
- package/components/ion-divider.js +2 -2
- package/components/ion-fab-button.js +2 -2
- package/components/ion-fab-list.js +2 -2
- package/components/ion-fab.js +2 -2
- package/components/ion-footer.js +2 -2
- package/components/ion-grid.js +2 -2
- package/components/ion-img.js +2 -2
- package/components/ion-infinite-scroll-content.js +2 -2
- package/components/ion-infinite-scroll.js +1 -1
- package/components/ion-input-otp.js +62 -7
- package/components/ion-input-password-toggle.js +3 -3
- package/components/ion-input.js +4 -4
- package/components/ion-item-divider.js +2 -2
- package/components/ion-item-group.js +1 -1
- package/components/ion-item-option.js +2 -2
- package/components/ion-item-options.js +1 -1
- package/components/ion-item-sliding.js +1 -1
- package/components/ion-loading.js +2 -2
- package/components/ion-menu-button.js +2 -2
- package/components/ion-menu-toggle.js +2 -2
- package/components/ion-menu.js +2 -2
- package/components/ion-nav-link.js +1 -1
- package/components/ion-nav.js +1 -1
- package/components/ion-note.js +2 -2
- package/components/ion-picker-legacy.js +2 -2
- package/components/ion-progress-bar.js +1 -1
- package/components/ion-range.js +3 -3
- package/components/ion-refresher-content.js +2 -2
- package/components/ion-refresher.js +1 -1
- package/components/ion-reorder-group.js +1 -1
- package/components/ion-reorder.js +2 -2
- package/components/ion-router-link.js +2 -2
- package/components/ion-router-outlet.js +1 -1
- package/components/ion-row.js +2 -2
- package/components/ion-searchbar.js +4 -4
- package/components/ion-segment-button.js +2 -2
- package/components/ion-segment-content.js +1 -1
- package/components/ion-segment-view.js +2 -2
- package/components/ion-segment.js +2 -2
- package/components/ion-select-option.js +1 -1
- package/components/ion-select.js +3 -3
- package/components/ion-skeleton-text.js +2 -2
- package/components/ion-split-pane.js +2 -2
- package/components/ion-tab-bar.js +2 -2
- package/components/ion-tab-button.js +2 -2
- package/components/ion-tab.js +2 -2
- package/components/ion-tabs.js +1 -1
- package/components/ion-text.js +2 -2
- package/components/ion-textarea.js +81 -14
- package/components/ion-thumbnail.js +2 -2
- package/components/ion-toast.js +2 -2
- package/components/ion-toggle.js +3 -3
- package/components/label.js +2 -2
- package/components/list-header.js +2 -2
- package/components/list.js +1 -1
- package/components/modal.js +4 -4
- package/components/overlays.js +93 -2
- package/components/picker-column-option.js +2 -2
- package/components/picker-column.js +3 -3
- package/components/picker-column2.js +2 -2
- package/components/picker.js +2 -2
- package/components/popover.js +2 -2
- package/components/radio-group.js +2 -2
- package/components/radio.js +3 -3
- package/components/ripple-effect.js +1 -1
- package/components/select-modal.js +1 -1
- package/components/select-popover.js +2 -2
- package/components/spinner.js +1 -1
- package/components/theme.js +25 -1
- package/components/title.js +2 -2
- package/components/toolbar.js +2 -2
- package/components/validity.js +32 -1
- package/css/core.css +1 -1
- package/css/core.css.map +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/css/ionic.bundle.css +1 -1
- package/css/ionic.bundle.css.map +1 -1
- package/dist/cjs/{animation-CD5nuON9.js → animation-C04i0Aq2.js} +2 -2
- package/dist/cjs/{app-globals-CoW5jvJu.js → app-globals-BP1XPbBb.js} +1 -1
- package/dist/cjs/{button-active-Dxyabn6T.js → button-active-B9D1nnqS.js} +2 -2
- package/dist/cjs/{capacitor-C8raJ_tU.js → capacitor-CbwHRb4L.js} +1 -1
- package/dist/cjs/{config-C5fsO43a.js → config-CPCkFfH2.js} +1 -1
- package/dist/cjs/{data-MoL8Ckx5.js → data-BpYscHnl.js} +1 -1
- package/dist/cjs/{framework-delegate-Bwdk9vFS.js → framework-delegate-C7fZ8bup.js} +2 -2
- package/dist/cjs/{haptic-BU6_qLwg.js → haptic-CYmISoOJ.js} +1 -1
- package/dist/cjs/{helpers-DnouLczu.js → helpers-DF1tCuxf.js} +19 -5
- package/dist/cjs/{index-C4_FN9N0.js → index-B2l1iL59.js} +4 -4
- package/dist/cjs/{index-JtyffOXl.js → index-BVcv37_B.js} +4 -4
- package/dist/cjs/{index-CADY2xEW.js → index-BioRZa_4.js} +3 -3
- package/dist/cjs/{index-DUoP_H1L.js → index-C2sRwpb7.js} +2 -2
- package/dist/cjs/{index-D6Wc6v08.js → index-DjlJwy91.js} +41 -4
- package/dist/cjs/index.cjs.js +12 -12
- package/dist/cjs/{input-shims-C-YCyXjg.js → input-shims-BYRSBwuG.js} +6 -6
- package/dist/cjs/{input.utils-C3-BwdV0.js → input.utils-BBh_FWGy.js} +3 -3
- package/dist/cjs/ion-accordion_2.cjs.entry.js +4 -4
- package/dist/cjs/ion-action-sheet.cjs.entry.js +10 -10
- package/dist/cjs/ion-alert.cjs.entry.js +11 -11
- package/dist/cjs/ion-app_8.cjs.entry.js +23 -23
- package/dist/cjs/ion-avatar_3.cjs.entry.js +5 -5
- package/dist/cjs/ion-back-button.cjs.entry.js +4 -4
- package/dist/cjs/ion-backdrop.cjs.entry.js +2 -2
- package/dist/cjs/ion-breadcrumb_2.cjs.entry.js +4 -4
- package/dist/cjs/ion-button_2.cjs.entry.js +23 -18
- package/dist/cjs/ion-card_5.cjs.entry.js +15 -17
- package/dist/cjs/ion-checkbox.cjs.entry.js +8 -8
- package/dist/cjs/ion-chip.cjs.entry.js +5 -5
- package/dist/cjs/ion-col_3.cjs.entry.js +8 -8
- package/dist/cjs/ion-datetime-button.cjs.entry.js +7 -7
- package/dist/cjs/ion-datetime_3.cjs.entry.js +21 -21
- package/dist/cjs/ion-divider.cjs.entry.js +4 -4
- package/dist/cjs/ion-fab_3.cjs.entry.js +10 -10
- package/dist/cjs/ion-img.cjs.entry.js +5 -5
- package/dist/cjs/ion-infinite-scroll_2.cjs.entry.js +8 -8
- package/dist/cjs/ion-input-otp.cjs.entry.js +69 -10
- package/dist/cjs/ion-input-password-toggle.cjs.entry.js +6 -6
- package/dist/cjs/ion-input.cjs.entry.js +11 -11
- package/dist/cjs/ion-item-option_3.cjs.entry.js +9 -9
- package/dist/cjs/ion-item_8.cjs.entry.js +16 -16
- package/dist/cjs/ion-loading.cjs.entry.js +10 -10
- package/dist/cjs/ion-menu_3.cjs.entry.js +14 -14
- package/dist/cjs/ion-modal.cjs.entry.js +16 -16
- package/dist/cjs/ion-nav_2.cjs.entry.js +8 -8
- package/dist/cjs/ion-picker-column-option.cjs.entry.js +6 -6
- package/dist/cjs/ion-picker-column.cjs.entry.js +9 -9
- package/dist/cjs/ion-picker.cjs.entry.js +4 -4
- package/dist/cjs/ion-popover.cjs.entry.js +10 -10
- package/dist/cjs/ion-progress-bar.cjs.entry.js +5 -5
- package/dist/cjs/ion-radio_2.cjs.entry.js +10 -10
- package/dist/cjs/ion-range.cjs.entry.js +8 -8
- package/dist/cjs/ion-refresher_2.cjs.entry.js +11 -11
- package/dist/cjs/ion-reorder_2.cjs.entry.js +9 -9
- package/dist/cjs/ion-ripple-effect.cjs.entry.js +3 -3
- package/dist/cjs/ion-route_4.cjs.entry.js +6 -6
- package/dist/cjs/ion-searchbar.cjs.entry.js +8 -8
- package/dist/cjs/ion-segment-content.cjs.entry.js +2 -2
- package/dist/cjs/ion-segment-view.cjs.entry.js +3 -3
- package/dist/cjs/ion-segment_2.cjs.entry.js +8 -8
- package/dist/cjs/ion-select-modal.cjs.entry.js +7 -7
- package/dist/cjs/ion-select_3.cjs.entry.js +14 -14
- package/dist/cjs/ion-spinner.cjs.entry.js +4 -4
- package/dist/cjs/ion-split-pane.cjs.entry.js +4 -4
- package/dist/cjs/ion-tab-bar_2.cjs.entry.js +11 -11
- package/dist/cjs/ion-tab_2.cjs.entry.js +6 -6
- package/dist/cjs/ion-text.cjs.entry.js +5 -5
- package/dist/cjs/ion-textarea.cjs.entry.js +88 -18
- package/dist/cjs/ion-toast.cjs.entry.js +10 -10
- package/dist/cjs/ion-toggle.cjs.entry.js +10 -10
- package/dist/cjs/{ionic-global-DpRwOXLK.js → ionic-global-Dq_E1GCa.js} +5 -5
- package/dist/cjs/ionic.cjs.js +4 -4
- package/dist/cjs/{ios.transition-Dt4GT8w5.js → ios.transition-DRha8gOi.js} +5 -5
- package/dist/cjs/{keyboard-B8HJHbg3.js → keyboard-DYFGJjuN.js} +4 -4
- package/dist/cjs/{keyboard-controller-O8n0dTQz.js → keyboard-controller-DNlzZiH-.js} +3 -3
- package/dist/cjs/{keyboard-BlrG3xPK.js → keyboard-sMvh7TE6.js} +1 -1
- package/dist/cjs/loader.cjs.js +4 -4
- package/dist/cjs/{md.transition-BolcQzNP.js → md.transition-Dh46qaSH.js} +5 -5
- package/dist/cjs/{notch-controller-BE80VRju.js → notch-controller-qvgjFR8h.js} +2 -2
- package/dist/cjs/{overlays-CRSQCKrz.js → overlays-CA-nLfRi.js} +97 -6
- package/dist/cjs/{status-tap-e-hyosXV.js → status-tap-BLw3gi_z.js} +3 -3
- package/dist/cjs/{swipe-back-CR060nOX.js → swipe-back-BD2lWufH.js} +2 -2
- package/dist/cjs/{theme-CeDs6Hcv.js → theme-IlOsGAz7.js} +25 -1
- package/dist/cjs/validity-QmuwEptc.js +51 -0
- package/dist/collection/components/button/button.ionic.css +10 -0
- package/dist/collection/components/button/button.ios.css +19 -0
- package/dist/collection/components/button/button.js +17 -12
- package/dist/collection/components/button/button.md.css +24 -0
- package/dist/collection/components/card-content/card-content.ionic.css +4 -7
- package/dist/collection/components/card-content/card-content.ios.css +5 -35
- package/dist/collection/components/card-content/card-content.js +3 -4
- package/dist/collection/components/card-content/card-content.md.css +5 -35
- package/dist/collection/components/card-header/card-header.js +2 -2
- package/dist/collection/components/card-subtitle/card-subtitle.js +2 -2
- package/dist/collection/components/card-title/card-title.js +2 -2
- package/dist/collection/components/checkbox/checkbox.js +3 -3
- package/dist/collection/components/chip/chip.js +2 -2
- package/dist/collection/components/col/col.js +2 -2
- package/dist/collection/components/content/content.js +3 -3
- package/dist/collection/components/datetime/datetime.ionic.css +5 -13
- package/dist/collection/components/datetime/datetime.ios.css +47 -12
- package/dist/collection/components/datetime/datetime.js +4 -4
- package/dist/collection/components/datetime/datetime.md.css +37 -2
- package/dist/collection/components/datetime-button/datetime-button.js +2 -2
- package/dist/collection/components/divider/divider.js +2 -2
- package/dist/collection/components/fab/fab.js +2 -2
- package/dist/collection/components/fab-button/fab-button.js +2 -2
- package/dist/collection/components/fab-list/fab-list.js +2 -2
- package/dist/collection/components/footer/footer.js +2 -2
- package/dist/collection/components/grid/grid.js +2 -2
- package/dist/collection/components/header/header.js +2 -2
- package/dist/collection/components/img/img.js +2 -2
- package/dist/collection/components/infinite-scroll/infinite-scroll.js +1 -1
- package/dist/collection/components/infinite-scroll-content/infinite-scroll-content.js +2 -2
- package/dist/collection/components/input/input.js +4 -4
- package/dist/collection/components/input-otp/input-otp.ionic.css +2 -0
- package/dist/collection/components/input-otp/input-otp.ios.css +3 -0
- package/dist/collection/components/input-otp/input-otp.js +69 -4
- package/dist/collection/components/input-otp/input-otp.md.css +3 -0
- package/dist/collection/components/input-password-toggle/input-password-toggle.js +3 -3
- package/dist/collection/components/item-divider/item-divider.js +2 -2
- package/dist/collection/components/item-group/item-group.js +1 -1
- package/dist/collection/components/item-option/item-option.js +2 -2
- package/dist/collection/components/item-options/item-options.js +1 -1
- package/dist/collection/components/item-sliding/item-sliding.js +1 -1
- package/dist/collection/components/label/label.js +2 -2
- package/dist/collection/components/list/list.js +1 -1
- package/dist/collection/components/list-header/list-header.js +2 -2
- package/dist/collection/components/loading/loading.js +2 -2
- package/dist/collection/components/menu/menu.js +2 -2
- package/dist/collection/components/menu-button/menu-button.js +2 -2
- package/dist/collection/components/menu-toggle/menu-toggle.js +2 -2
- package/dist/collection/components/modal/modal.js +4 -4
- package/dist/collection/components/nav/nav.js +1 -1
- package/dist/collection/components/nav-link/nav-link.js +1 -1
- package/dist/collection/components/note/note.js +2 -2
- package/dist/collection/components/picker/picker.js +2 -2
- package/dist/collection/components/picker-column/picker-column.js +3 -3
- package/dist/collection/components/picker-column-option/picker-column-option.js +2 -2
- package/dist/collection/components/picker-legacy/picker.js +2 -2
- package/dist/collection/components/picker-legacy-column/picker-column.js +2 -2
- package/dist/collection/components/popover/popover.js +2 -2
- package/dist/collection/components/progress-bar/progress-bar.js +1 -1
- package/dist/collection/components/radio/radio.js +3 -3
- package/dist/collection/components/radio-group/radio-group.js +2 -2
- package/dist/collection/components/range/range.js +3 -3
- package/dist/collection/components/refresher/refresher.js +1 -1
- package/dist/collection/components/refresher-content/refresher-content.js +2 -2
- package/dist/collection/components/reorder/reorder.js +2 -2
- package/dist/collection/components/reorder-group/reorder-group.js +1 -1
- package/dist/collection/components/ripple-effect/ripple-effect.js +1 -1
- package/dist/collection/components/router-link/router-link.js +2 -2
- package/dist/collection/components/router-outlet/router-outlet.js +1 -1
- package/dist/collection/components/row/row.js +2 -2
- package/dist/collection/components/searchbar/searchbar.js +4 -4
- package/dist/collection/components/segment/segment.js +2 -2
- package/dist/collection/components/segment-button/segment-button.js +2 -2
- package/dist/collection/components/segment-content/segment-content.js +1 -1
- package/dist/collection/components/segment-view/segment-view.js +2 -2
- package/dist/collection/components/select/select.js +3 -3
- package/dist/collection/components/select-modal/select-modal.js +1 -1
- package/dist/collection/components/select-option/select-option.js +1 -1
- package/dist/collection/components/select-popover/select-popover.js +2 -2
- package/dist/collection/components/skeleton-text/skeleton-text.js +2 -2
- package/dist/collection/components/spinner/spinner.js +1 -1
- package/dist/collection/components/split-pane/split-pane.js +2 -2
- package/dist/collection/components/tab/tab.js +2 -2
- package/dist/collection/components/tab-bar/tab-bar.js +2 -2
- package/dist/collection/components/tab-button/tab-button.js +2 -2
- package/dist/collection/components/tabs/tabs.js +1 -1
- package/dist/collection/components/text/text.js +2 -2
- package/dist/collection/components/textarea/textarea.ionic.css +11 -14
- package/dist/collection/components/textarea/textarea.ios.css +8 -14
- package/dist/collection/components/textarea/textarea.js +89 -11
- package/dist/collection/components/textarea/textarea.md.css +9 -14
- package/dist/collection/components/thumbnail/thumbnail.js +2 -2
- package/dist/collection/components/title/title.js +2 -2
- package/dist/collection/components/toast/toast.js +2 -2
- package/dist/collection/components/toggle/toggle.js +3 -3
- package/dist/collection/components/toolbar/toolbar.js +2 -2
- package/dist/collection/utils/focus-trap.js +13 -2
- package/dist/collection/utils/forms/validity.js +31 -0
- package/dist/collection/utils/helpers.js +18 -4
- package/dist/collection/utils/overlays.js +80 -0
- package/dist/collection/utils/theme.js +25 -1
- package/dist/docs.json +178 -15
- package/dist/esm/{animation-BNuoDl-O.js → animation-C5cgFymd.js} +2 -2
- package/dist/esm/{app-globals-tX0s9Zd7.js → app-globals-BQa4bHAm.js} +1 -1
- package/dist/esm/{button-active-BF6GZ_yH.js → button-active-DpavRUgB.js} +2 -2
- package/dist/esm/{capacitor-pzVAlnC0.js → capacitor-Bc47Xxvc.js} +1 -1
- package/dist/esm/{config-mCdtaoPe.js → config-DK9FWNvn.js} +1 -1
- package/dist/esm/{data-DFCY8gnk.js → data-B5lRlGxI.js} +1 -1
- package/dist/esm/{framework-delegate-D2mUP0WI.js → framework-delegate-Dx6tn-_w.js} +2 -2
- package/dist/esm/{haptic-bBvyATla.js → haptic-Dti4RWuD.js} +1 -1
- package/dist/esm/{helpers-Bsml3FcE.js → helpers-6l6yFg3S.js} +19 -5
- package/dist/esm/{index-Bnw-zNoN.js → index-B6MWWbnL.js} +3 -3
- package/dist/esm/{index-BpFi2B8W.js → index-CXCvNx5X.js} +2 -2
- package/dist/esm/{index-BQI9hSZP.js → index-DO9elf_6.js} +4 -4
- package/dist/esm/{index-C8IsBmNU.js → index-gD7P82jx.js} +41 -4
- package/dist/esm/{index-M3l-IyxQ.js → index-urxfV0GK.js} +4 -4
- package/dist/esm/index.js +12 -12
- package/dist/esm/{input-shims-ACbgRt10.js → input-shims-CK_oprMl.js} +6 -6
- package/dist/esm/{input.utils-loPnHH5H.js → input.utils-C3tJs_iL.js} +3 -3
- package/dist/esm/ion-accordion_2.entry.js +4 -4
- package/dist/esm/ion-action-sheet.entry.js +10 -10
- package/dist/esm/ion-alert.entry.js +11 -11
- package/dist/esm/ion-app_8.entry.js +23 -23
- package/dist/esm/ion-avatar_3.entry.js +5 -5
- package/dist/esm/ion-back-button.entry.js +4 -4
- package/dist/esm/ion-backdrop.entry.js +2 -2
- package/dist/esm/ion-breadcrumb_2.entry.js +4 -4
- package/dist/esm/ion-button_2.entry.js +23 -18
- package/dist/esm/ion-card_5.entry.js +15 -17
- package/dist/esm/ion-checkbox.entry.js +8 -8
- package/dist/esm/ion-chip.entry.js +5 -5
- package/dist/esm/ion-col_3.entry.js +8 -8
- package/dist/esm/ion-datetime-button.entry.js +7 -7
- package/dist/esm/ion-datetime_3.entry.js +21 -21
- package/dist/esm/ion-divider.entry.js +4 -4
- package/dist/esm/ion-fab_3.entry.js +10 -10
- package/dist/esm/ion-img.entry.js +5 -5
- package/dist/esm/ion-infinite-scroll_2.entry.js +8 -8
- package/dist/esm/ion-input-otp.entry.js +69 -10
- package/dist/esm/ion-input-password-toggle.entry.js +6 -6
- package/dist/esm/ion-input.entry.js +11 -11
- package/dist/esm/ion-item-option_3.entry.js +9 -9
- package/dist/esm/ion-item_8.entry.js +16 -16
- package/dist/esm/ion-loading.entry.js +10 -10
- package/dist/esm/ion-menu_3.entry.js +14 -14
- package/dist/esm/ion-modal.entry.js +16 -16
- package/dist/esm/ion-nav_2.entry.js +8 -8
- package/dist/esm/ion-picker-column-option.entry.js +6 -6
- package/dist/esm/ion-picker-column.entry.js +9 -9
- package/dist/esm/ion-picker.entry.js +4 -4
- package/dist/esm/ion-popover.entry.js +10 -10
- package/dist/esm/ion-progress-bar.entry.js +5 -5
- package/dist/esm/ion-radio_2.entry.js +10 -10
- package/dist/esm/ion-range.entry.js +8 -8
- package/dist/esm/ion-refresher_2.entry.js +11 -11
- package/dist/esm/ion-reorder_2.entry.js +9 -9
- package/dist/esm/ion-ripple-effect.entry.js +3 -3
- package/dist/esm/ion-route_4.entry.js +6 -6
- package/dist/esm/ion-searchbar.entry.js +8 -8
- package/dist/esm/ion-segment-content.entry.js +2 -2
- package/dist/esm/ion-segment-view.entry.js +3 -3
- package/dist/esm/ion-segment_2.entry.js +8 -8
- package/dist/esm/ion-select-modal.entry.js +7 -7
- package/dist/esm/ion-select_3.entry.js +14 -14
- package/dist/esm/ion-spinner.entry.js +4 -4
- package/dist/esm/ion-split-pane.entry.js +4 -4
- package/dist/esm/ion-tab-bar_2.entry.js +11 -11
- package/dist/esm/ion-tab_2.entry.js +6 -6
- package/dist/esm/ion-text.entry.js +5 -5
- package/dist/esm/ion-textarea.entry.js +88 -18
- package/dist/esm/ion-toast.entry.js +10 -10
- package/dist/esm/ion-toggle.entry.js +10 -10
- package/dist/esm/{ionic-global-2lDD9k7y.js → ionic-global-KnoA5TnE.js} +5 -5
- package/dist/esm/ionic.js +5 -5
- package/dist/esm/{ios.transition-uJxJFbq8.js → ios.transition-D-ZEPllL.js} +5 -5
- package/dist/esm/{keyboard-CU1vRv-b.js → keyboard-C7jpSDLg.js} +1 -1
- package/dist/esm/{keyboard-B-HHSSYU.js → keyboard-CrGPuspU.js} +4 -4
- package/dist/esm/{keyboard-controller-Dplyc4OV.js → keyboard-controller-CFeM2qrY.js} +3 -3
- package/dist/esm/loader.js +5 -5
- package/dist/esm/{md.transition-Dp4NTeSh.js → md.transition-DiPaaGY2.js} +5 -5
- package/dist/esm/{notch-controller-BvFDmO69.js → notch-controller-CEiB8plC.js} +2 -2
- package/dist/esm/{overlays-B037a9Tz.js → overlays-BMHHx7Tm.js} +97 -6
- package/dist/esm/{status-tap-DXVlluKS.js → status-tap-BAJGCN-1.js} +3 -3
- package/dist/esm/{swipe-back-DNhAt9fY.js → swipe-back-bZ7qcCmT.js} +2 -2
- package/dist/esm/{theme-DiVJyqlX.js → theme-DaJxRxSQ.js} +25 -1
- package/dist/esm/validity-BjW8SOqw.js +48 -0
- package/dist/html.html-data.json +28 -1
- package/dist/ionic/index.esm.js +1 -1
- package/dist/ionic/ionic.esm.js +1 -1
- package/dist/ionic/{p-5daa0980.entry.js → p-01dec443.entry.js} +1 -1
- package/dist/ionic/{p-04b1d37a.entry.js → p-01e2ad58.entry.js} +1 -1
- package/dist/ionic/{p-112e1ca9.entry.js → p-04c2c873.entry.js} +1 -1
- package/dist/ionic/{p-28a9d991.entry.js → p-09aab7d0.entry.js} +1 -1
- package/dist/ionic/{p-be82dc77.entry.js → p-0b51f337.entry.js} +1 -1
- package/dist/ionic/{p-616dd053.entry.js → p-131e3b2d.entry.js} +1 -1
- package/dist/ionic/{p-0f124806.entry.js → p-1454c314.entry.js} +1 -1
- package/dist/ionic/p-14c73725.entry.js +4 -0
- package/dist/ionic/p-14d44c66.entry.js +4 -0
- package/dist/ionic/{p-a35678f4.entry.js → p-1af56d46.entry.js} +1 -1
- package/dist/ionic/{p-0744265c.entry.js → p-1c00e5cc.entry.js} +1 -1
- package/dist/ionic/{p-0ac7c560.entry.js → p-25db2a16.entry.js} +1 -1
- package/dist/ionic/{p-60549f06.entry.js → p-2ef8db38.entry.js} +1 -1
- package/dist/ionic/{p-0607ce8e.entry.js → p-31706aa0.entry.js} +1 -1
- package/dist/ionic/{p-19b2060d.entry.js → p-39f88b4f.entry.js} +1 -1
- package/dist/ionic/p-3b163efb.entry.js +4 -0
- package/dist/ionic/{p-ecba552f.entry.js → p-3d69c783.entry.js} +1 -1
- package/dist/ionic/{p-e1d84521.entry.js → p-3d7263e2.entry.js} +1 -1
- package/dist/ionic/p-3f93e610.entry.js +4 -0
- package/dist/ionic/{p-Cq83JWMg.js → p-44OfGWEp.js} +1 -1
- package/dist/ionic/{p-5543b7b8.entry.js → p-45ffc1cb.entry.js} +1 -1
- package/dist/ionic/{p-a89211bd.entry.js → p-4d7a2141.entry.js} +1 -1
- package/dist/ionic/{p-f667945d.entry.js → p-51ddc430.entry.js} +1 -1
- package/dist/ionic/{p-d9c9592a.entry.js → p-69bef533.entry.js} +1 -1
- package/dist/ionic/{p-dacd8666.entry.js → p-717fa143.entry.js} +1 -1
- package/dist/ionic/{p-742fed9f.entry.js → p-7482c8b3.entry.js} +1 -1
- package/dist/ionic/{p-bd295ca7.entry.js → p-74cab2da.entry.js} +1 -1
- package/dist/ionic/p-788de6f7.entry.js +4 -0
- package/dist/ionic/{p-01577340.entry.js → p-7ab2b10c.entry.js} +1 -1
- package/dist/ionic/{p-ecf8e713.entry.js → p-7dc9aa9a.entry.js} +1 -1
- package/dist/ionic/{p-27dbb44c.entry.js → p-7f6069f4.entry.js} +1 -1
- package/dist/ionic/{p-472b2ca3.entry.js → p-8093e290.entry.js} +1 -1
- package/dist/ionic/{p-59a79bd9.entry.js → p-82ca1cae.entry.js} +1 -1
- package/dist/ionic/{p-5f9d9c14.entry.js → p-83c3c072.entry.js} +1 -1
- package/dist/ionic/p-8ddbeb52.entry.js +4 -0
- package/dist/ionic/{p-af1f624e.entry.js → p-9e985573.entry.js} +1 -1
- package/dist/ionic/p-9f29b55e.entry.js +4 -0
- package/dist/ionic/{p-qZR4N8Lu.js → p-B0QqVGqF.js} +1 -1
- package/dist/ionic/p-BAmXMA83.js +4 -0
- package/dist/ionic/p-BIyO17h7.js +4 -0
- package/dist/ionic/p-BjW8SOqw.js +4 -0
- package/dist/ionic/{p-UafGZQ8e.js → p-Br3trE7L.js} +1 -1
- package/dist/ionic/{p-DeEDqH91.js → p-BunTRNUk.js} +1 -1
- package/dist/ionic/p-CCy93Kdo.js +4 -0
- package/dist/ionic/{p-HpOiAvpC.js → p-CDRncjej.js} +1 -1
- package/dist/ionic/{p-CtUK3cKk.js → p-CH4Ab9QE.js} +1 -1
- package/dist/ionic/{p-B3uz75uZ.js → p-CYW7idR0.js} +1 -1
- package/dist/ionic/{p-B-D7Cfki.js → p-Ccfet-fb.js} +1 -1
- package/dist/ionic/p-CdcKo7Br.js +4 -0
- package/dist/ionic/{p-COLHV2ym.js → p-CsyYiC5f.js} +1 -1
- package/dist/ionic/{p-DyaKZbAH.js → p-CtS5hTli.js} +1 -1
- package/dist/ionic/{p-DbQ5QkTP.js → p-Cv5jk_TK.js} +1 -1
- package/dist/ionic/{p-q1ZSn0l7.js → p-CzuA64hv.js} +1 -1
- package/dist/ionic/{p-D-BelbiX.js → p-DGDvjMxF.js} +1 -1
- package/dist/ionic/p-DKogfaNJ.js +4 -0
- package/dist/ionic/p-DOsU-ODO.js +4 -0
- package/dist/ionic/p-DPrmF8Ki.js +4 -0
- package/dist/ionic/p-DYzvRXm5.js +4 -0
- package/dist/ionic/p-DaJxRxSQ.js +4 -0
- package/dist/ionic/{p-CvRDI-Iz.js → p-TL0QOgYo.js} +1 -1
- package/dist/ionic/p-We-0jbXn.js +4 -0
- package/dist/ionic/{p-c082f853.entry.js → p-a0c5e546.entry.js} +1 -1
- package/dist/ionic/{p-0eecce18.entry.js → p-a339cde1.entry.js} +1 -1
- package/dist/ionic/p-a59f21b3.entry.js +4 -0
- package/dist/ionic/{p-d3f64c58.entry.js → p-a5f4fe92.entry.js} +1 -1
- package/dist/ionic/{p-826267d6.entry.js → p-aaff29dd.entry.js} +1 -1
- package/dist/ionic/{p-0c41c8a8.entry.js → p-b4da10d5.entry.js} +1 -1
- package/dist/ionic/{p-8f541b05.entry.js → p-bb04a3d7.entry.js} +1 -1
- package/dist/ionic/{p-a6a37a34.entry.js → p-bc19095e.entry.js} +1 -1
- package/dist/ionic/{p-8ee09d4e.entry.js → p-bd0057bd.entry.js} +1 -1
- package/dist/ionic/{p-da49c0fe.entry.js → p-bf763ab7.entry.js} +1 -1
- package/dist/ionic/{p-cdbfbff6.entry.js → p-c66416de.entry.js} +1 -1
- package/dist/ionic/{p-b475ec18.entry.js → p-d103fef9.entry.js} +1 -1
- package/dist/ionic/{p-68c064ce.entry.js → p-d9c0d206.entry.js} +1 -1
- package/dist/ionic/{p-412d5d9e.entry.js → p-e278c474.entry.js} +1 -1
- package/dist/ionic/{p-6bb99f41.entry.js → p-e8344f8f.entry.js} +1 -1
- package/dist/ionic/{p-04e0ff62.entry.js → p-ec510664.entry.js} +1 -1
- package/dist/ionic/p-eyZt9Ndv.js +4 -0
- package/dist/ionic/{p-8681a2a7.entry.js → p-f0894af8.entry.js} +1 -1
- package/dist/ionic/p-gD7P82jx.js +5 -0
- package/dist/ionic/p-hPTD29t1.js +4 -0
- package/dist/types/components/button/button.d.ts +4 -2
- package/dist/types/components/input-otp/input-otp.d.ts +37 -0
- package/dist/types/components/textarea/textarea.d.ts +36 -0
- package/dist/types/components.d.ts +18 -2
- package/dist/types/utils/focus-trap.d.ts +1 -1
- package/dist/types/utils/forms/validity.d.ts +7 -0
- package/dist/types/utils/theme.d.ts +9 -0
- package/hydrate/index.js +527 -210
- package/hydrate/index.mjs +527 -210
- package/package.json +1 -1
- package/dist/cjs/validity-BpS37YFM.js +0 -19
- package/dist/esm/validity-DJztqcrH.js +0 -17
- package/dist/ionic/p-2dc676b2.entry.js +0 -4
- package/dist/ionic/p-381eb2a4.entry.js +0 -4
- package/dist/ionic/p-57a2d30b.entry.js +0 -4
- package/dist/ionic/p-63a2b52a.entry.js +0 -4
- package/dist/ionic/p-7fe3ea65.entry.js +0 -4
- package/dist/ionic/p-BiTKUjko.js +0 -4
- package/dist/ionic/p-ByhhQryg.js +0 -4
- package/dist/ionic/p-C8IsBmNU.js +0 -5
- package/dist/ionic/p-C8r4dtYR.js +0 -4
- package/dist/ionic/p-CK1xn1Nt.js +0 -4
- package/dist/ionic/p-C_97se21.js +0 -4
- package/dist/ionic/p-DHeUgOSJ.js +0 -4
- package/dist/ionic/p-DJztqcrH.js +0 -4
- package/dist/ionic/p-DM-v_NNE.js +0 -4
- package/dist/ionic/p-DiVJyqlX.js +0 -4
- package/dist/ionic/p-DoGrslUl.js +0 -4
- package/dist/ionic/p-Dq8ap6AD.js +0 -4
- package/dist/ionic/p-add1a5d8.entry.js +0 -4
- package/dist/ionic/p-da0a2ca6.entry.js +0 -4
- package/dist/ionic/p-f6ca543c.entry.js +0 -4
- package/dist/ionic/p-nP9c7bo5.js +0 -4
- package/dist/ionic/p-of4jy1ch.js +0 -4
|
@@ -206,7 +206,7 @@ export class Checkbox {
|
|
|
206
206
|
renderHiddenInput(true, el, name, checked ? value : '', disabled);
|
|
207
207
|
// The host element must have a checkbox role to ensure proper VoiceOver
|
|
208
208
|
// support in Safari for accessibility.
|
|
209
|
-
return (h(Host, { key: '
|
|
209
|
+
return (h(Host, { key: '8e4861ebdd5fce0088a1a2ce35ca7b9a9fb78cf2', role: "checkbox", "aria-checked": indeterminate ? 'mixed' : `${checked}`, "aria-describedby": this.hintTextId, "aria-invalid": this.isInvalid ? 'true' : undefined, "aria-labelledby": hasLabelContent ? this.inputLabelId : null, "aria-label": inheritedAttributes['aria-label'] || null, "aria-disabled": disabled ? 'true' : null, "aria-required": required ? 'true' : undefined, tabindex: disabled ? undefined : 0, onKeyDown: this.onKeyDown, onFocus: this.onFocus, onBlur: this.onBlur, onClick: this.onClick, class: createColorClasses(color, {
|
|
210
210
|
[theme]: true,
|
|
211
211
|
'in-item': hostContext('ion-item', el),
|
|
212
212
|
'checkbox-checked': checked,
|
|
@@ -219,10 +219,10 @@ export class Checkbox {
|
|
|
219
219
|
[`checkbox-label-placement-${labelPlacement}`]: true,
|
|
220
220
|
[`checkbox-size-${size}`]: size !== undefined,
|
|
221
221
|
[`checkbox-shape-${shape}`]: true,
|
|
222
|
-
}) }, h("label", { key: '
|
|
222
|
+
}) }, h("label", { key: '16766cdd986c13512f4dfe742fb634fb4b261888', class: "checkbox-wrapper", htmlFor: inputId }, h("input", Object.assign({ key: '9d7192db9b8065c30ea1667b6c6a92f8e24ea635', type: "checkbox", checked: checked ? true : undefined, disabled: disabled, id: inputId, onChange: this.toggleChecked, required: required }, inheritedAttributes)), h("div", { key: '6b6ba6814552cd76b3bc720f89c15732076f4cbe', class: {
|
|
223
223
|
'label-text-wrapper': true,
|
|
224
224
|
'label-text-wrapper-hidden': !hasLabelContent,
|
|
225
|
-
}, part: "label", id: this.inputLabelId, onClick: this.onDivLabelClick }, h("slot", { key: '
|
|
225
|
+
}, part: "label", id: this.inputLabelId, onClick: this.onDivLabelClick }, h("slot", { key: 'ec4d164a2610de160bd9ed401c78e2326a172dff' }), this.renderHintText()), h("div", { key: 'fce5d27e3af29c2947b2492dcfda01ec63ab4d1d', class: "native-wrapper" }, h("svg", { key: '18a85ec9d98d950eae8476f5036de203153d39f9', class: "checkbox-icon", viewBox: theme === 'ionic' ? '0 0 256 256' : '0 0 24 24', part: "container", "aria-hidden": "true" }, path)))));
|
|
226
226
|
}
|
|
227
227
|
getSVGPath(theme, indeterminate) {
|
|
228
228
|
let path = indeterminate ? (h("path", { d: "M6 12L18 12", part: "mark" })) : (h("path", { d: "M5.9,12.5l3.8,3.8l8.8-8.8", part: "mark" }));
|
|
@@ -56,7 +56,7 @@ export class Chip {
|
|
|
56
56
|
const theme = getIonTheme(this);
|
|
57
57
|
const size = this.getSize();
|
|
58
58
|
const shape = this.getShape();
|
|
59
|
-
return (h(Host, { key: '
|
|
59
|
+
return (h(Host, { key: 'ec10528929fb43fcae7d2d7c9cc52bcf67d9823e', "aria-disabled": this.disabled ? 'true' : null, class: createColorClasses(this.color, {
|
|
60
60
|
[theme]: true,
|
|
61
61
|
[`chip-${shape}`]: true,
|
|
62
62
|
'chip-outline': this.outline,
|
|
@@ -65,7 +65,7 @@ export class Chip {
|
|
|
65
65
|
'ion-focusable': !this.disabled,
|
|
66
66
|
[`chip-${size}`]: size !== undefined,
|
|
67
67
|
[`chip-${hue}`]: hue !== undefined,
|
|
68
|
-
}) }, h("slot", { key: '
|
|
68
|
+
}) }, h("slot", { key: 'c88e9a90b9de62fded05d4323c5b4f86f2f3e96d' }), theme === 'md' && h("ion-ripple-effect", { key: 'f0395345064db0e02cbc886386b07d0d01cb02be' })));
|
|
69
69
|
}
|
|
70
70
|
static get is() { return "ion-chip"; }
|
|
71
71
|
static get encapsulation() { return "shadow"; }
|
|
@@ -80,12 +80,12 @@ export class Col {
|
|
|
80
80
|
const colSize = this.getSizeClass();
|
|
81
81
|
const colOrder = this.getOrderClass();
|
|
82
82
|
const colOffset = this.getOffsetClass();
|
|
83
|
-
return (h(Host, { key: '
|
|
83
|
+
return (h(Host, { key: '4620a4eb3c94f744d6169ae9d4cc43e86a271a52', class: {
|
|
84
84
|
[theme]: true,
|
|
85
85
|
[`${colSize}`]: colSize !== undefined,
|
|
86
86
|
[`${colOrder}`]: colOrder !== undefined,
|
|
87
87
|
[`${colOffset}`]: colOffset !== undefined,
|
|
88
|
-
} }, h("slot", { key: '
|
|
88
|
+
} }, h("slot", { key: '5c3be98deed2050634396339b7787f2770a05d35' })));
|
|
89
89
|
}
|
|
90
90
|
static get is() { return "ion-col"; }
|
|
91
91
|
static get encapsulation() { return "shadow"; }
|
|
@@ -373,7 +373,7 @@ export class Content {
|
|
|
373
373
|
const forceOverscroll = this.shouldForceOverscroll(mode);
|
|
374
374
|
const transitionShadow = theme === 'ios';
|
|
375
375
|
this.resize();
|
|
376
|
-
return (h(Host, Object.assign({ key: '
|
|
376
|
+
return (h(Host, Object.assign({ key: '473f1875e122e18665cc4c9cc977cb8da22cafee', role: isMainContent ? 'main' : undefined, class: createColorClasses(this.color, {
|
|
377
377
|
[theme]: true,
|
|
378
378
|
'content-sizing': hostContext('ion-popover', this.el),
|
|
379
379
|
overscroll: forceOverscroll,
|
|
@@ -381,12 +381,12 @@ export class Content {
|
|
|
381
381
|
}), style: {
|
|
382
382
|
'--offset-top': `${this.cTop}px`,
|
|
383
383
|
'--offset-bottom': `${this.cBottom}px`,
|
|
384
|
-
} }, inheritedAttributes), h("div", { key: '
|
|
384
|
+
} }, inheritedAttributes), h("div", { key: 'ca9a2a594d03d2d8b77c7402b04f8b7f2c9f8c9d', ref: (el) => (this.backgroundContentEl = el), id: "background-content", part: "background" }), fixedSlotPlacement === 'before' ? h("slot", { name: "fixed" }) : null, h("div", { key: '6c5049b93ab007ee2f4914050fa88c9aa3f2c5d4', class: {
|
|
385
385
|
'inner-scroll': true,
|
|
386
386
|
'scroll-x': scrollX,
|
|
387
387
|
'scroll-y': scrollY,
|
|
388
388
|
overscroll: (scrollX || scrollY) && forceOverscroll,
|
|
389
|
-
}, ref: (scrollEl) => (this.scrollEl = scrollEl), onScroll: this.scrollEvents ? (ev) => this.onScroll(ev) : undefined, part: "scroll" }, h("slot", { key: '
|
|
389
|
+
}, ref: (scrollEl) => (this.scrollEl = scrollEl), onScroll: this.scrollEvents ? (ev) => this.onScroll(ev) : undefined, part: "scroll" }, h("slot", { key: '9929c7119d4a87a3bb38e37b7113ccd236a26bd5' })), transitionShadow ? (h("div", { class: "transition-effect" }, h("div", { class: "transition-cover" }), h("div", { class: "transition-shadow" }))) : null, fixedSlotPlacement === 'after' ? h("slot", { name: "fixed" }) : null));
|
|
390
390
|
}
|
|
391
391
|
static get is() { return "ion-content"; }
|
|
392
392
|
static get encapsulation() { return "shadow"; }
|
|
@@ -247,7 +247,8 @@
|
|
|
247
247
|
width: 100%;
|
|
248
248
|
}
|
|
249
249
|
|
|
250
|
-
:host .datetime-action-buttons
|
|
250
|
+
:host .datetime-action-buttons,
|
|
251
|
+
::slotted([slot=buttons]),
|
|
251
252
|
.datetime-action-buttons .datetime-action-buttons-container {
|
|
252
253
|
display: flex;
|
|
253
254
|
}
|
|
@@ -693,19 +694,10 @@
|
|
|
693
694
|
border-bottom: 0;
|
|
694
695
|
}
|
|
695
696
|
|
|
696
|
-
:host .datetime-buttons
|
|
697
|
-
.datetime-action-buttons .datetime-action-buttons-container
|
|
697
|
+
:host .datetime-buttons .datetime-action-buttons,
|
|
698
|
+
.datetime-action-buttons .datetime-action-buttons-container,
|
|
699
|
+
::slotted([slot=buttons]) {
|
|
698
700
|
flex-flow: column;
|
|
699
701
|
align-items: stretch;
|
|
700
702
|
gap: var(--token-space-200, var(--token-scale-200, 8px));
|
|
701
|
-
}
|
|
702
|
-
|
|
703
|
-
:host .datetime-buttons ion-buttons ion-button {
|
|
704
|
-
font-size: var(--token-font-size-400, 16px);
|
|
705
|
-
font-weight: var(--token-font-weight-medium, 500);
|
|
706
|
-
letter-spacing: var(--token-font-letter-spacing-1, 1%);
|
|
707
|
-
line-height: var(--token-font-line-height-600, var(--token-scale-600, 24px));
|
|
708
|
-
text-decoration: none;
|
|
709
|
-
text-transform: none;
|
|
710
|
-
min-height: var(--token-space-1200, var(--token-scale-1200, 48px));
|
|
711
703
|
}
|
|
@@ -250,7 +250,8 @@
|
|
|
250
250
|
width: 100%;
|
|
251
251
|
}
|
|
252
252
|
|
|
253
|
-
:host .datetime-action-buttons
|
|
253
|
+
:host .datetime-action-buttons,
|
|
254
|
+
::slotted([slot=buttons]),
|
|
254
255
|
.datetime-action-buttons .datetime-action-buttons-container {
|
|
255
256
|
display: flex;
|
|
256
257
|
}
|
|
@@ -517,6 +518,22 @@
|
|
|
517
518
|
box-shadow: 0px 0px 0px 4px rgba(var(--ion-color-base-rgb), 0.2);
|
|
518
519
|
}
|
|
519
520
|
|
|
521
|
+
:host .calendar-next-prev {
|
|
522
|
+
display: flex;
|
|
523
|
+
align-items: start;
|
|
524
|
+
}
|
|
525
|
+
|
|
526
|
+
.calendar-next-prev ion-button ion-icon[slot=icon-only] {
|
|
527
|
+
padding-left: 0;
|
|
528
|
+
padding-right: 0;
|
|
529
|
+
padding-top: 0;
|
|
530
|
+
padding-bottom: 0;
|
|
531
|
+
margin-left: 0;
|
|
532
|
+
margin-right: 0;
|
|
533
|
+
margin-top: 0;
|
|
534
|
+
margin-bottom: 0;
|
|
535
|
+
}
|
|
536
|
+
|
|
520
537
|
:host(.datetime-presentation-time) .datetime-time {
|
|
521
538
|
padding-left: 0;
|
|
522
539
|
padding-right: 0;
|
|
@@ -582,7 +599,7 @@ ion-picker {
|
|
|
582
599
|
--fade-background-rgb: var(--wheel-fade-background-rgb);
|
|
583
600
|
}
|
|
584
601
|
|
|
585
|
-
:host .datetime-action-buttons
|
|
602
|
+
:host .datetime-action-buttons {
|
|
586
603
|
justify-content: space-between;
|
|
587
604
|
}
|
|
588
605
|
|
|
@@ -764,22 +781,39 @@ ion-picker {
|
|
|
764
781
|
}
|
|
765
782
|
|
|
766
783
|
:host .calendar-action-buttons .calendar-month-year-toggle ion-icon,
|
|
767
|
-
:host .calendar-action-buttons ion-
|
|
784
|
+
:host .calendar-action-buttons ion-button {
|
|
768
785
|
color: var(--ion-color-base);
|
|
769
786
|
}
|
|
770
787
|
|
|
771
|
-
:host .calendar-action-buttons ion-
|
|
788
|
+
:host .calendar-action-buttons ion-button {
|
|
789
|
+
margin-left: 0;
|
|
790
|
+
margin-right: 0;
|
|
791
|
+
margin-top: 0;
|
|
792
|
+
margin-bottom: 0;
|
|
793
|
+
}
|
|
794
|
+
|
|
795
|
+
:host .calendar-next-prev {
|
|
772
796
|
padding-left: 0;
|
|
773
797
|
padding-right: 0;
|
|
774
798
|
padding-top: 8px;
|
|
775
799
|
padding-bottom: 0;
|
|
776
800
|
}
|
|
777
801
|
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
802
|
+
.calendar-next-prev ion-button {
|
|
803
|
+
--padding-top: 0;
|
|
804
|
+
--padding-bottom: 0;
|
|
805
|
+
--padding-start: 5px;
|
|
806
|
+
--padding-end: 5px;
|
|
807
|
+
-webkit-margin-start: 2px;
|
|
808
|
+
margin-inline-start: 2px;
|
|
809
|
+
-webkit-margin-end: 2px;
|
|
810
|
+
margin-inline-end: 2px;
|
|
811
|
+
min-height: 32px;
|
|
812
|
+
}
|
|
813
|
+
|
|
814
|
+
.calendar-next-prev ion-button ion-icon[slot=icon-only] {
|
|
815
|
+
font-size: 1.65em;
|
|
816
|
+
line-height: 0.67;
|
|
783
817
|
}
|
|
784
818
|
|
|
785
819
|
:host .calendar-days-of-week {
|
|
@@ -993,13 +1027,14 @@ ion-picker {
|
|
|
993
1027
|
border-top: 0.55px solid var(--ion-color-step-200, var(--ion-background-color-step-200, #cccccc));
|
|
994
1028
|
}
|
|
995
1029
|
|
|
996
|
-
:host .datetime-buttons
|
|
997
|
-
|
|
1030
|
+
:host .datetime-buttons,
|
|
1031
|
+
::slotted([slot=buttons]) {
|
|
998
1032
|
display: flex;
|
|
999
1033
|
align-items: center;
|
|
1000
1034
|
justify-content: space-between;
|
|
1001
1035
|
}
|
|
1002
1036
|
|
|
1003
|
-
:host .datetime-action-buttons
|
|
1037
|
+
:host .datetime-action-buttons,
|
|
1038
|
+
::slotted([slot=buttons]) {
|
|
1004
1039
|
width: 100%;
|
|
1005
1040
|
}
|
|
@@ -1121,7 +1121,7 @@ export class Datetime {
|
|
|
1121
1121
|
return (h("div", { class: "datetime-footer" }, h("div", { class: "datetime-buttons" }, h("div", { class: {
|
|
1122
1122
|
['datetime-action-buttons']: true,
|
|
1123
1123
|
['has-clear-button']: this.showClearButton,
|
|
1124
|
-
} }, h("slot", { name: "buttons" },
|
|
1124
|
+
} }, h("slot", { name: "buttons" }, showDefaultButtons && (h("ion-button", { id: "cancel-button", color: this.color, onClick: () => this.cancel(true), disabled: isButtonDisabled }, this.cancelText)), h("div", { class: "datetime-action-buttons-container" }, showClearButton && (h("ion-button", { id: "clear-button", color: this.color, onClick: () => clearButtonClick(), disabled: isButtonDisabled }, this.clearText)), showDefaultButtons && (h("ion-button", { id: "confirm-button", fill: confirmFill, color: this.color, onClick: () => this.confirm(true), disabled: isButtonDisabled }, this.doneText))))))));
|
|
1125
1125
|
}
|
|
1126
1126
|
/**
|
|
1127
1127
|
* Wheel picker render methods
|
|
@@ -1382,7 +1382,7 @@ export class Datetime {
|
|
|
1382
1382
|
'calendar-month-year-toggle': true,
|
|
1383
1383
|
'ion-activatable': true,
|
|
1384
1384
|
'ion-focusable': true,
|
|
1385
|
-
}, part: "month-year-button", disabled: disabled, "aria-label": this.showMonthAndYear ? 'Hide year picker' : 'Show year picker', onClick: () => this.toggleMonthAndYearView() }, h("span", { id: "toggle-wrapper" }, getMonthAndYear(this.locale, this.workingParts), theme !== 'ionic' && (h("ion-icon", { "aria-hidden": "true", icon: this.showMonthAndYear ? datetimeExpandedIcon : datetimeCollapsedIcon, lazy: false, flipRtl: true }))), theme === 'md' && h("ion-ripple-effect", null))), h("div", { class: "calendar-next-prev" }, h("ion-
|
|
1385
|
+
}, part: "month-year-button", disabled: disabled, "aria-label": this.showMonthAndYear ? 'Hide year picker' : 'Show year picker', onClick: () => this.toggleMonthAndYearView() }, h("span", { id: "toggle-wrapper" }, getMonthAndYear(this.locale, this.workingParts), theme !== 'ionic' && (h("ion-icon", { "aria-hidden": "true", icon: this.showMonthAndYear ? datetimeExpandedIcon : datetimeCollapsedIcon, lazy: false, flipRtl: true }))), theme === 'md' && h("ion-ripple-effect", null))), h("div", { class: "calendar-next-prev" }, h("ion-button", { "aria-label": "Previous month", disabled: prevMonthDisabled, onClick: () => this.prevMonth() }, h("ion-icon", { dir: hostDir, "aria-hidden": "true", slot: "icon-only", icon: datetimePreviousIcon, lazy: false, flipRtl: true })), h("ion-button", { "aria-label": "Next month", disabled: nextMonthDisabled, onClick: () => this.nextMonth() }, h("ion-icon", { dir: hostDir, "aria-hidden": "true", slot: "icon-only", icon: datetimeNextIcon, lazy: false, flipRtl: true })))), h("div", { class: "calendar-days-of-week", "aria-hidden": "true" }, getDaysOfWeek(this.locale, theme, this.firstDayOfWeek % 7).map((d) => {
|
|
1386
1386
|
return h("div", { class: "day-of-week" }, d);
|
|
1387
1387
|
}))));
|
|
1388
1388
|
}
|
|
@@ -1766,7 +1766,7 @@ export class Datetime {
|
|
|
1766
1766
|
const hasDatePresentation = presentation === 'date' || presentation === 'date-time' || presentation === 'time-date';
|
|
1767
1767
|
const hasWheelVariant = hasDatePresentation && preferWheel;
|
|
1768
1768
|
renderHiddenInput(true, el, name, formatValue(value), disabled);
|
|
1769
|
-
return (h(Host, { key: '
|
|
1769
|
+
return (h(Host, { key: 'cf2961c6dba64fe6b925a62276b5857b5ac0e112', "aria-disabled": disabled ? 'true' : null, onFocus: this.onFocus, onBlur: this.onBlur, class: Object.assign({}, createColorClasses(color, {
|
|
1770
1770
|
[theme]: true,
|
|
1771
1771
|
['datetime-readonly']: readonly,
|
|
1772
1772
|
['datetime-disabled']: disabled,
|
|
@@ -1776,7 +1776,7 @@ export class Datetime {
|
|
|
1776
1776
|
[`datetime-size-${size}`]: true,
|
|
1777
1777
|
[`datetime-prefer-wheel`]: hasWheelVariant,
|
|
1778
1778
|
[`datetime-grid`]: isGridStyle,
|
|
1779
|
-
})) }, h("div", { key: '
|
|
1779
|
+
})) }, h("div", { key: 'a35ac00a90f23d4d7769aa03f8c849fbc13f0938', class: "intersection-tracker", ref: (el) => (this.intersectionTrackerRef = el) }), this.renderDatetime(theme)));
|
|
1780
1780
|
}
|
|
1781
1781
|
static get is() { return "ion-datetime"; }
|
|
1782
1782
|
static get encapsulation() { return "shadow"; }
|
|
@@ -250,7 +250,8 @@
|
|
|
250
250
|
width: 100%;
|
|
251
251
|
}
|
|
252
252
|
|
|
253
|
-
:host .datetime-action-buttons
|
|
253
|
+
:host .datetime-action-buttons,
|
|
254
|
+
::slotted([slot=buttons]),
|
|
254
255
|
.datetime-action-buttons .datetime-action-buttons-container {
|
|
255
256
|
display: flex;
|
|
256
257
|
}
|
|
@@ -517,6 +518,22 @@
|
|
|
517
518
|
box-shadow: 0px 0px 0px 4px rgba(var(--ion-color-base-rgb), 0.2);
|
|
518
519
|
}
|
|
519
520
|
|
|
521
|
+
:host .calendar-next-prev {
|
|
522
|
+
display: flex;
|
|
523
|
+
align-items: start;
|
|
524
|
+
}
|
|
525
|
+
|
|
526
|
+
.calendar-next-prev ion-button ion-icon[slot=icon-only] {
|
|
527
|
+
padding-left: 0;
|
|
528
|
+
padding-right: 0;
|
|
529
|
+
padding-top: 0;
|
|
530
|
+
padding-bottom: 0;
|
|
531
|
+
margin-left: 0;
|
|
532
|
+
margin-right: 0;
|
|
533
|
+
margin-top: 0;
|
|
534
|
+
margin-bottom: 0;
|
|
535
|
+
}
|
|
536
|
+
|
|
520
537
|
:host(.datetime-presentation-time) .datetime-time {
|
|
521
538
|
padding-left: 0;
|
|
522
539
|
padding-right: 0;
|
|
@@ -582,7 +599,7 @@ ion-picker {
|
|
|
582
599
|
--fade-background-rgb: var(--wheel-fade-background-rgb);
|
|
583
600
|
}
|
|
584
601
|
|
|
585
|
-
:host .datetime-action-buttons
|
|
602
|
+
:host .datetime-action-buttons {
|
|
586
603
|
justify-content: space-between;
|
|
587
604
|
}
|
|
588
605
|
|
|
@@ -738,6 +755,24 @@ ion-picker {
|
|
|
738
755
|
--color: var(--ion-color-step-650, var(--ion-text-color-step-350, #595959));
|
|
739
756
|
}
|
|
740
757
|
|
|
758
|
+
.calendar-next-prev ion-button {
|
|
759
|
+
--padding-top: 12px;
|
|
760
|
+
--padding-end: 12px;
|
|
761
|
+
--padding-bottom: 12px;
|
|
762
|
+
--padding-start: 12px;
|
|
763
|
+
--border-radius: 50%;
|
|
764
|
+
margin-left: 0;
|
|
765
|
+
margin-right: 0;
|
|
766
|
+
margin-top: 0;
|
|
767
|
+
margin-bottom: 0;
|
|
768
|
+
width: 3rem;
|
|
769
|
+
height: 3rem;
|
|
770
|
+
}
|
|
771
|
+
|
|
772
|
+
.calendar-next-prev ion-button ion-icon[slot=icon-only] {
|
|
773
|
+
font-size: 1.8em;
|
|
774
|
+
}
|
|
775
|
+
|
|
741
776
|
.calendar-month-year-toggle {
|
|
742
777
|
-webkit-padding-start: 20px;
|
|
743
778
|
padding-inline-start: 20px;
|
|
@@ -342,11 +342,11 @@ export class DatetimeButton {
|
|
|
342
342
|
render() {
|
|
343
343
|
const { color, dateText, timeText, selectedButton, datetimeActive, disabled } = this;
|
|
344
344
|
const theme = getIonTheme(this);
|
|
345
|
-
return (h(Host, { key: '
|
|
345
|
+
return (h(Host, { key: '3051e96ef973302ba87c85515660c48b8136cba2', class: createColorClasses(color, {
|
|
346
346
|
[theme]: true,
|
|
347
347
|
[`${selectedButton}-active`]: datetimeActive,
|
|
348
348
|
['datetime-button-disabled']: disabled,
|
|
349
|
-
}) }, dateText && (h("button", { key: '
|
|
349
|
+
}) }, dateText && (h("button", { key: 'e3d968bcf0e7c1911bb16076123ffc1daeee62ed', class: "ion-activatable", id: "date-button", "aria-expanded": datetimeActive ? 'true' : 'false', onClick: this.handleDateClick, disabled: disabled, part: "native", ref: (el) => (this.dateTargetEl = el) }, h("slot", { key: 'cdf1f60a0e42cd32633563c8256a1132798e47a1', name: "date-target" }, dateText), theme === 'md' && h("ion-ripple-effect", { key: '2284ac36fd7522a6a2e9f7f906b2e94c48680045' }))), timeText && (h("button", { key: 'e591b668ffd90538716082a3648a50422c24a7c1', class: "ion-activatable", id: "time-button", "aria-expanded": datetimeActive ? 'true' : 'false', onClick: this.handleTimeClick, disabled: disabled, part: "native", ref: (el) => (this.timeTargetEl = el) }, h("slot", { key: '5ef09df0f59663bf2437d05e16ef9d1f05ba25bd', name: "time-target" }, timeText), theme === 'md' && h("ion-ripple-effect", { key: 'a7b5de6e3d0df722cc62abf0e8a1140463af35b5' })))));
|
|
350
350
|
}
|
|
351
351
|
static get is() { return "ion-datetime-button"; }
|
|
352
352
|
static get encapsulation() { return "shadow"; }
|
|
@@ -25,11 +25,11 @@ export class Divider {
|
|
|
25
25
|
render() {
|
|
26
26
|
const { inset, spacing } = this;
|
|
27
27
|
const theme = getIonTheme(this);
|
|
28
|
-
return (h(Host, { key: '
|
|
28
|
+
return (h(Host, { key: '6cc1572a93abaf49be7e27348bf513cb7ee24bff', class: {
|
|
29
29
|
[theme]: true,
|
|
30
30
|
[`divider-spacing-${spacing}`]: spacing !== undefined,
|
|
31
31
|
[`divider-inset`]: inset,
|
|
32
|
-
} }, h("hr", { key: '
|
|
32
|
+
} }, h("hr", { key: '19e4cef3f90d92b56ae0bece15dbdcfbf18d72d9' })));
|
|
33
33
|
}
|
|
34
34
|
static get is() { return "ion-divider"; }
|
|
35
35
|
static get encapsulation() { return "shadow"; }
|
|
@@ -58,12 +58,12 @@ export class Fab {
|
|
|
58
58
|
render() {
|
|
59
59
|
const { horizontal, vertical, edge } = this;
|
|
60
60
|
const theme = getIonTheme(this);
|
|
61
|
-
return (h(Host, { key: '
|
|
61
|
+
return (h(Host, { key: '569b07978a63756169d050f3b67368cecf26dd98', class: {
|
|
62
62
|
[theme]: true,
|
|
63
63
|
[`fab-horizontal-${horizontal}`]: horizontal !== undefined,
|
|
64
64
|
[`fab-vertical-${vertical}`]: vertical !== undefined,
|
|
65
65
|
'fab-edge': edge,
|
|
66
|
-
} }, h("slot", { key: '
|
|
66
|
+
} }, h("slot", { key: 'cd10d4baa1c2e8c2dcfefe66bdb7ffb8262f8e17' })));
|
|
67
67
|
}
|
|
68
68
|
static get is() { return "ion-fab"; }
|
|
69
69
|
static get encapsulation() { return "shadow"; }
|
|
@@ -96,7 +96,7 @@ export class FabButton {
|
|
|
96
96
|
rel: this.rel,
|
|
97
97
|
target: this.target,
|
|
98
98
|
};
|
|
99
|
-
return (h(Host, { key: '
|
|
99
|
+
return (h(Host, { key: '7d1b93dbec8f6b974db63168c55353b93ff169aa', onClick: this.onClick, "aria-disabled": disabled ? 'true' : null, class: createColorClasses(color, {
|
|
100
100
|
[theme]: true,
|
|
101
101
|
'fab-button-in-list': inList,
|
|
102
102
|
'fab-button-translucent-in-list': inList && translucent,
|
|
@@ -107,7 +107,7 @@ export class FabButton {
|
|
|
107
107
|
'ion-activatable': true,
|
|
108
108
|
'ion-focusable': true,
|
|
109
109
|
[`fab-button-${size}`]: size !== undefined,
|
|
110
|
-
}) }, h(TagType, Object.assign({ key: '
|
|
110
|
+
}) }, h(TagType, Object.assign({ key: 'cac887802056b25fee955e272febdb41745c731c' }, attrs, { class: "button-native", part: "native", disabled: disabled, onFocus: this.onFocus, onBlur: this.onBlur, onClick: (ev) => openURL(href, ev, this.routerDirection, this.routerAnimation) }, inheritedAttributes), h("ion-icon", { key: 'c5a932c45ec7ff131d484463203275210cdc5b3a', "aria-hidden": "true", icon: fabButtonCloseIcon, part: "close-icon", class: "close-icon", lazy: false }), h("span", { key: 'bf8f5208c941dc3ddc2b719dbb2f2cf999e2b6a8', class: "button-inner" }, h("slot", { key: '213ca4696b7072ef2dfee806d11d8ddd26abf7af' })), theme === 'md' && h("ion-ripple-effect", { key: 'a2947193263e8ef97eccb15de9f5aa937e87086b' }))));
|
|
111
111
|
}
|
|
112
112
|
static get is() { return "ion-fab-button"; }
|
|
113
113
|
static get encapsulation() { return "shadow"; }
|
|
@@ -28,11 +28,11 @@ export class FabList {
|
|
|
28
28
|
}
|
|
29
29
|
render() {
|
|
30
30
|
const theme = getIonTheme(this);
|
|
31
|
-
return (h(Host, { key: '
|
|
31
|
+
return (h(Host, { key: '8b4d0419170ba48e5d9d1152dcae2b35281cd800', class: {
|
|
32
32
|
[theme]: true,
|
|
33
33
|
'fab-list-active': this.activated,
|
|
34
34
|
[`fab-list-side-${this.side}`]: true,
|
|
35
|
-
} }, h("slot", { key: '
|
|
35
|
+
} }, h("slot", { key: '9276798e2c581440c46ff9914809e87203a86b1b' })));
|
|
36
36
|
}
|
|
37
37
|
static get is() { return "ion-fab-list"; }
|
|
38
38
|
static get encapsulation() { return "shadow"; }
|
|
@@ -90,7 +90,7 @@ export class Footer {
|
|
|
90
90
|
const theme = getIonTheme(this);
|
|
91
91
|
const tabs = this.el.closest('ion-tabs');
|
|
92
92
|
const tabBar = tabs === null || tabs === void 0 ? void 0 : tabs.querySelector(':scope > ion-tab-bar');
|
|
93
|
-
return (h(Host, { key: '
|
|
93
|
+
return (h(Host, { key: '5b61216dcb168a45472e037f9015c5e0f5bf7356', role: "contentinfo", class: {
|
|
94
94
|
[theme]: true,
|
|
95
95
|
// Used internally for styling
|
|
96
96
|
[`footer-${theme}`]: true,
|
|
@@ -98,7 +98,7 @@ export class Footer {
|
|
|
98
98
|
[`footer-translucent-${theme}`]: translucent,
|
|
99
99
|
['footer-toolbar-padding']: !this.keyboardVisible && (!tabBar || tabBar.slot !== 'bottom'),
|
|
100
100
|
[`footer-collapse-${collapse}`]: collapse !== undefined,
|
|
101
|
-
} }, theme === 'ios' && translucent && h("div", { key: '
|
|
101
|
+
} }, theme === 'ios' && translucent && h("div", { key: 'a6af70930e7be3ec51fe692d664304ced53ffe3e', class: "footer-background" }), h("slot", { key: '3591c712d6a3eceb5dc6c7307c32ceff54b1f9a7' })));
|
|
102
102
|
}
|
|
103
103
|
static get is() { return "ion-footer"; }
|
|
104
104
|
static get originalStyleUrls() {
|
|
@@ -16,10 +16,10 @@ export class Grid {
|
|
|
16
16
|
}
|
|
17
17
|
render() {
|
|
18
18
|
const theme = getIonTheme(this);
|
|
19
|
-
return (h(Host, { key: '
|
|
19
|
+
return (h(Host, { key: 'cd55886cabaeab57e3b13193381b196bec2f07f8', class: {
|
|
20
20
|
[theme]: true,
|
|
21
21
|
'grid-fixed': this.fixed,
|
|
22
|
-
} }, h("slot", { key: '
|
|
22
|
+
} }, h("slot", { key: 'c9b95999e6a274a8a0c997451c0be45b1304d77b' })));
|
|
23
23
|
}
|
|
24
24
|
static get is() { return "ion-grid"; }
|
|
25
25
|
static get encapsulation() { return "shadow"; }
|
|
@@ -156,7 +156,7 @@ export class Header {
|
|
|
156
156
|
const isCondensed = collapse === 'condense';
|
|
157
157
|
// banner role must be at top level, so remove role if inside a menu
|
|
158
158
|
const roleType = getRoleType(hostContext('ion-menu', this.el), isCondensed, theme);
|
|
159
|
-
return (h(Host, Object.assign({ key: '
|
|
159
|
+
return (h(Host, Object.assign({ key: '658d5746920c349cc9fe85666c7215f2edc3c794', role: roleType, class: {
|
|
160
160
|
[theme]: true,
|
|
161
161
|
// Used internally for styling
|
|
162
162
|
[`header-${theme}`]: true,
|
|
@@ -164,7 +164,7 @@ export class Header {
|
|
|
164
164
|
[`header-collapse-${collapse}`]: true,
|
|
165
165
|
[`header-translucent-${theme}`]: this.translucent,
|
|
166
166
|
['header-divider']: divider,
|
|
167
|
-
} }, inheritedAttributes), theme !== 'md' && translucent && h("div", { key: '
|
|
167
|
+
} }, inheritedAttributes), theme !== 'md' && translucent && h("div", { key: '4a1470d86e1aac6f8d545fe01e75b4dce665fb70', class: "header-background" }), h("slot", { key: '3b02661242bda5834c4e13e4eb61bf79b53ba33e' })));
|
|
168
168
|
}
|
|
169
169
|
static get is() { return "ion-header"; }
|
|
170
170
|
static get originalStyleUrls() {
|
|
@@ -71,9 +71,9 @@ export class Img {
|
|
|
71
71
|
const { loadSrc, alt, onLoad, loadError, inheritedAttributes } = this;
|
|
72
72
|
const { draggable } = inheritedAttributes;
|
|
73
73
|
const theme = getIonTheme(this);
|
|
74
|
-
return (h(Host, { key: '
|
|
74
|
+
return (h(Host, { key: '1aa7be8e15beabbc92ee21127960f7cfc778555d', class: {
|
|
75
75
|
[theme]: true,
|
|
76
|
-
} }, h("img", { key: '
|
|
76
|
+
} }, h("img", { key: 'a74a222d3b9d232619471ac9089c365b3e7a9b04', decoding: "async", src: loadSrc, alt: alt, onLoad: onLoad, onError: loadError, part: "image", draggable: isDraggable(draggable) })));
|
|
77
77
|
}
|
|
78
78
|
static get is() { return "ion-img"; }
|
|
79
79
|
static get encapsulation() { return "shadow"; }
|
|
@@ -264,7 +264,7 @@ export class InfiniteScroll {
|
|
|
264
264
|
render() {
|
|
265
265
|
const theme = getIonTheme(this);
|
|
266
266
|
const disabled = this.disabled;
|
|
267
|
-
return (h(Host, { key: '
|
|
267
|
+
return (h(Host, { key: '22d99824cb589d9024666a3c1ed205f781858eed', class: {
|
|
268
268
|
[theme]: true,
|
|
269
269
|
'infinite-scroll-loading': this.isLoading,
|
|
270
270
|
'infinite-scroll-enabled': !disabled,
|
|
@@ -29,11 +29,11 @@ export class InfiniteScrollContent {
|
|
|
29
29
|
}
|
|
30
30
|
render() {
|
|
31
31
|
const theme = getIonTheme(this);
|
|
32
|
-
return (h(Host, { key: '
|
|
32
|
+
return (h(Host, { key: 'e94d19f17ef9d4d77786716152e3206366feb546', class: {
|
|
33
33
|
[theme]: true,
|
|
34
34
|
// Used internally for styling
|
|
35
35
|
[`infinite-scroll-content-${theme}`]: true,
|
|
36
|
-
} }, h("div", { key: '
|
|
36
|
+
} }, h("div", { key: '35fcc0572ad27a683aa55a704bd11b19fcdfd29c', class: "infinite-loading" }, this.loadingSpinner && (h("div", { key: 'fec3c13dbb2fa98699401147ce442b73e97e8bd8', class: "infinite-loading-spinner" }, h("ion-spinner", { key: '6cd6083255dacc891b4d201477e6bffccb1084bc', name: this.loadingSpinner }))), this.loadingText !== undefined && this.renderLoadingText())));
|
|
37
37
|
}
|
|
38
38
|
static get is() { return "ion-infinite-scroll-content"; }
|
|
39
39
|
static get originalStyleUrls() {
|
|
@@ -588,7 +588,7 @@ export class Input {
|
|
|
588
588
|
* TODO(FW-5592): Remove hasStartEndSlots condition
|
|
589
589
|
*/
|
|
590
590
|
const labelShouldFloat = labelPlacement === 'stacked' || (labelPlacement === 'floating' && (hasValue || hasFocus || hasStartEndSlots));
|
|
591
|
-
return (h(Host, { key: '
|
|
591
|
+
return (h(Host, { key: 'e8bd77f9ff53452bc1ea9de20263cf865fd6359e', class: createColorClasses(this.color, {
|
|
592
592
|
[theme]: true,
|
|
593
593
|
'has-value': hasValue,
|
|
594
594
|
'has-focus': hasFocus,
|
|
@@ -601,7 +601,7 @@ export class Input {
|
|
|
601
601
|
'in-item-color': hostContext('ion-item.ion-color', this.el),
|
|
602
602
|
'input-disabled': disabled,
|
|
603
603
|
'input-readonly': readonly,
|
|
604
|
-
}) }, h("label", { key: '
|
|
604
|
+
}) }, h("label", { key: 'a3955d9d3ec7181dfc719dfac56974e2faf87503', class: "input-wrapper", htmlFor: inputId, onClick: this.onLabelClick }, this.renderLabelContainer(), h("div", { key: 'b5d63e3dc7862d07c4254e43360992538c50cee7', class: "native-wrapper", onClick: this.onLabelClick },
|
|
605
605
|
/**
|
|
606
606
|
* For the ionic theme, we render the outline container here
|
|
607
607
|
* instead of higher up, so it can be positioned relative to
|
|
@@ -611,14 +611,14 @@ export class Input {
|
|
|
611
611
|
* <label> element, ensuring that clicking the label text
|
|
612
612
|
* focuses the input.
|
|
613
613
|
*/
|
|
614
|
-
theme === 'ionic' && h("div", { key: '
|
|
614
|
+
theme === 'ionic' && h("div", { key: '89f3b9c3b4e463391089e86fb469091934b7d941', class: "input-outline" }), h("slot", { key: '05dcb36c19a5e552d228109275d80c087382599c', name: "start" }), h("input", Object.assign({ key: '17f25585ff28268d5c3090ce952672005c19000e', class: "native-input", ref: (input) => (this.nativeInput = input), id: inputId, disabled: disabled, autoCapitalize: this.autocapitalize, autoComplete: this.autocomplete, autoCorrect: this.autocorrect, autoFocus: this.autofocus, enterKeyHint: this.enterkeyhint, inputMode: this.inputmode, min: this.min, max: this.max, minLength: this.minlength, maxLength: this.maxlength, multiple: this.multiple, name: this.name, pattern: this.pattern, placeholder: this.placeholder || '', readOnly: readonly, required: this.required, spellcheck: this.spellcheck, step: this.step, type: this.type, value: value, onInput: this.onInput, onChange: this.onChange, onBlur: this.onBlur, onFocus: this.onFocus, onKeyDown: this.onKeydown, onCompositionstart: this.onCompositionStart, onCompositionend: this.onCompositionEnd, "aria-describedby": this.getHintTextID(), "aria-invalid": this.isInvalid ? 'true' : undefined }, this.inheritedAttributes)), clearInput && !readonly && !disabled && (h("button", { key: '9f390f1bb877f2f59b8729e8dea7f871d9ab0ec5', "aria-label": "reset", type: "button", class: "input-clear-icon", onPointerDown: (ev) => {
|
|
615
615
|
/**
|
|
616
616
|
* This prevents mobile browsers from
|
|
617
617
|
* blurring the input when the clear
|
|
618
618
|
* button is activated.
|
|
619
619
|
*/
|
|
620
620
|
ev.preventDefault();
|
|
621
|
-
}, onClick: this.clearTextInput }, h("ion-icon", { key: '
|
|
621
|
+
}, onClick: this.clearTextInput }, h("ion-icon", { key: 'a54aadb55162087ab1677380dbb11e92e2f5476c', "aria-hidden": "true", icon: inputClearIcon }))), h("slot", { key: '44b57c79f4b1ccfaf797ce33ee1223799598a8dd', name: "end" })), shouldRenderHighlight && h("div", { key: 'ff7611b1ce5c77b9ab21cffae37769c8cd86f296', class: "input-highlight" })), this.renderBottomContent()));
|
|
622
622
|
}
|
|
623
623
|
static get is() { return "ion-input"; }
|
|
624
624
|
static get encapsulation() { return "scoped"; }
|
|
@@ -167,9 +167,11 @@
|
|
|
167
167
|
border-color: var(--border-color);
|
|
168
168
|
background: var(--background);
|
|
169
169
|
color: var(--color);
|
|
170
|
+
font-family: inherit;
|
|
170
171
|
font-size: inherit;
|
|
171
172
|
text-align: center;
|
|
172
173
|
appearance: none;
|
|
174
|
+
box-sizing: border-box;
|
|
173
175
|
}
|
|
174
176
|
|
|
175
177
|
:host(.has-focus) .native-input {
|
|
@@ -167,9 +167,11 @@
|
|
|
167
167
|
border-color: var(--border-color);
|
|
168
168
|
background: var(--background);
|
|
169
169
|
color: var(--color);
|
|
170
|
+
font-family: inherit;
|
|
170
171
|
font-size: inherit;
|
|
171
172
|
text-align: center;
|
|
172
173
|
appearance: none;
|
|
174
|
+
box-sizing: border-box;
|
|
173
175
|
}
|
|
174
176
|
|
|
175
177
|
:host(.has-focus) .native-input {
|
|
@@ -249,6 +251,7 @@
|
|
|
249
251
|
--highlight-color-focused: var(--ion-color-primary, #0054e9);
|
|
250
252
|
--highlight-color-valid: var(--ion-color-success, #2dd55b);
|
|
251
253
|
--highlight-color-invalid: var(--ion-color-danger, #c5000f);
|
|
254
|
+
font-family: var(--ion-font-family, inherit);
|
|
252
255
|
font-size: 0.875rem;
|
|
253
256
|
}
|
|
254
257
|
|