@ionic/core 8.0.0-beta.1 → 8.0.0-beta.2
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 +3 -3
- package/components/alert.js +2 -2
- package/components/backdrop.js +1 -1
- package/components/button.js +2 -2
- package/components/buttons.js +3 -3
- package/components/checkbox.js +3 -3
- package/components/data.js +23 -38
- package/components/hardware-back-button.js +3 -3
- package/components/helpers.js +1 -8
- package/components/input.utils.js +12 -0
- package/components/ion-app.js +4 -4
- package/components/ion-avatar.js +1 -1
- package/components/ion-back-button.js +2 -2
- package/components/ion-badge.js +2 -2
- package/components/ion-breadcrumb.js +2 -2
- package/components/ion-breadcrumbs.js +2 -2
- package/components/ion-card-content.js +1 -1
- 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-card.js +1 -1
- package/components/ion-chip.js +2 -2
- package/components/ion-col.js +2 -2
- package/components/ion-content.js +3 -3
- package/components/ion-datetime-button.js +11 -10
- package/components/ion-datetime.js +69 -7
- 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-header.js +2 -2
- package/components/ion-img.js +1 -1
- package/components/ion-infinite-scroll-content.js +2 -2
- package/components/ion-infinite-scroll.js +1 -1
- package/components/ion-input.js +6 -6
- 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 +3 -3
- package/components/ion-modal.js +3 -3
- package/components/ion-nav-link.js +1 -1
- package/components/ion-nav.js +1 -1
- package/components/ion-note.js +43 -1
- package/components/ion-picker-legacy.js +2 -2
- package/components/ion-progress-bar.js +1 -1
- package/components/ion-range.js +129 -24
- package/components/ion-refresher-content.js +1 -1
- package/components/ion-refresher.js +1 -1
- package/components/ion-reorder-group.js +1 -1
- package/components/ion-reorder.js +1 -1
- package/components/ion-router-link.js +2 -2
- package/components/ion-router-outlet.js +1 -1
- package/components/ion-row.js +1 -1
- package/components/ion-searchbar.js +34 -5
- package/components/ion-segment-button.js +3 -3
- package/components/ion-segment.js +2 -2
- package/components/ion-select-option.js +1 -1
- package/components/ion-select.js +23 -29
- 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 +5 -5
- package/components/ion-thumbnail.js +1 -1
- package/components/ion-title.js +2 -2
- package/components/ion-toast.js +2 -2
- package/components/ion-toggle.js +3 -3
- package/components/ion-toolbar.js +2 -2
- package/components/item.js +11 -92
- package/components/label.js +5 -5
- package/components/list-header.js +2 -2
- package/components/list.js +1 -1
- package/components/overlays.js +61 -19
- 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 +1 -1
- package/components/radio.js +3 -3
- package/components/ripple-effect.js +1 -1
- package/components/select-popover.js +13 -19
- package/components/spinner.js +1 -1
- package/dist/cjs/{animation-4ad55058.js → animation-3e7bb91e.js} +1 -1
- package/dist/cjs/{app-globals-4d26cb5a.js → app-globals-e132c781.js} +1 -1
- package/dist/cjs/{button-active-e447f58b.js → button-active-60ecf64d.js} +1 -1
- package/dist/cjs/{data-e2bf21de.js → data-21dc0f81.js} +22 -39
- package/dist/cjs/{framework-delegate-53817ef1.js → framework-delegate-0499d444.js} +1 -1
- package/dist/cjs/{hardware-back-button-4cb049f1.js → hardware-back-button-1c67a5a2.js} +5 -5
- package/dist/cjs/{helpers-b71ca811.js → helpers-668b3d95.js} +1 -8
- package/dist/cjs/{index-7574e3d2.js → index-275cc12e.js} +1 -1
- package/dist/cjs/{index-ea266398.js → index-2d21d526.js} +441 -12
- package/dist/cjs/{index-bbc5b1f7.js → index-ba7ba0af.js} +4 -4
- package/dist/cjs/{index-347883f6.js → index-c49cb371.js} +1 -1
- package/dist/cjs/{index-92bb95d6.js → index-e4b6c97e.js} +4 -4
- package/dist/cjs/index.cjs.js +11 -11
- package/dist/cjs/{input-shims-679d87bc.js → input-shims-b419f083.js} +2 -2
- package/dist/cjs/{input.utils-5175aea1.js → input.utils-32c0a14a.js} +13 -1
- package/dist/cjs/ion-accordion_2.cjs.entry.js +3 -3
- package/dist/cjs/ion-action-sheet.cjs.entry.js +11 -11
- package/dist/cjs/ion-alert.cjs.entry.js +10 -10
- package/dist/cjs/ion-app_8.cjs.entry.js +29 -29
- package/dist/cjs/ion-avatar_3.cjs.entry.js +6 -6
- package/dist/cjs/ion-back-button.cjs.entry.js +5 -5
- package/dist/cjs/ion-backdrop.cjs.entry.js +3 -3
- package/dist/cjs/ion-breadcrumb_2.cjs.entry.js +7 -7
- package/dist/cjs/ion-button_2.cjs.entry.js +5 -5
- package/dist/cjs/ion-card_5.cjs.entry.js +11 -11
- package/dist/cjs/ion-checkbox.cjs.entry.js +6 -6
- package/dist/cjs/ion-chip.cjs.entry.js +4 -4
- package/dist/cjs/ion-col_3.cjs.entry.js +7 -7
- package/dist/cjs/ion-datetime-button.cjs.entry.js +14 -13
- package/dist/cjs/ion-datetime_3.cjs.entry.js +77 -18
- package/dist/cjs/ion-fab_3.cjs.entry.js +9 -9
- package/dist/cjs/ion-img.cjs.entry.js +4 -4
- package/dist/cjs/ion-infinite-scroll_2.cjs.entry.js +7 -7
- package/dist/cjs/ion-input.cjs.entry.js +10 -10
- package/dist/cjs/ion-item-option_3.cjs.entry.js +8 -8
- package/dist/cjs/ion-item_8.cjs.entry.js +23 -92
- package/dist/cjs/ion-loading.cjs.entry.js +9 -9
- package/dist/cjs/ion-menu_3.cjs.entry.js +14 -14
- package/dist/cjs/ion-modal.cjs.entry.js +12 -12
- package/dist/cjs/ion-nav_2.cjs.entry.js +8 -8
- package/dist/cjs/ion-picker-column-option.cjs.entry.js +5 -5
- package/dist/cjs/ion-picker-column.cjs.entry.js +6 -6
- 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 +4 -4
- package/dist/cjs/ion-radio_2.cjs.entry.js +7 -7
- package/dist/cjs/ion-range.cjs.entry.js +133 -28
- package/dist/cjs/ion-refresher_2.cjs.entry.js +7 -7
- package/dist/cjs/ion-reorder_2.cjs.entry.js +6 -6
- package/dist/cjs/ion-ripple-effect.cjs.entry.js +3 -3
- package/dist/cjs/ion-route_4.cjs.entry.js +5 -5
- package/dist/cjs/ion-searchbar.cjs.entry.js +31 -7
- package/dist/cjs/ion-segment_2.cjs.entry.js +8 -8
- package/dist/cjs/ion-select_3.cjs.entry.js +13 -13
- package/dist/cjs/ion-spinner.cjs.entry.js +3 -3
- package/dist/cjs/ion-split-pane.cjs.entry.js +4 -4
- package/dist/cjs/ion-tab-bar_2.cjs.entry.js +7 -7
- package/dist/cjs/ion-tab_2.cjs.entry.js +6 -6
- package/dist/cjs/ion-text.cjs.entry.js +4 -4
- package/dist/cjs/ion-textarea.cjs.entry.js +9 -9
- package/dist/cjs/ion-toast.cjs.entry.js +9 -9
- package/dist/cjs/ion-toggle.cjs.entry.js +6 -6
- package/dist/cjs/{ionic-global-59aa7eb7.js → ionic-global-5762eca9.js} +1 -1
- package/dist/cjs/ionic.cjs.js +28 -5
- package/dist/cjs/{ios.transition-997fe325.js → ios.transition-3e119901.js} +4 -4
- package/dist/cjs/loader.cjs.js +4 -4
- package/dist/cjs/{md.transition-2b76c2c6.js → md.transition-c1392f92.js} +4 -4
- package/dist/cjs/{notch-controller-8e0ae870.js → notch-controller-08a24f39.js} +1 -1
- package/dist/cjs/{overlays-3d02b54f.js → overlays-44b8d0e0.js} +64 -22
- package/dist/cjs/{status-tap-3761c2d4.js → status-tap-32430b3e.js} +3 -3
- package/dist/cjs/{swipe-back-72c5c8b7.js → swipe-back-dc4dbb65.js} +1 -1
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/action-sheet/action-sheet.js +3 -3
- package/dist/collection/components/alert/alert.js +2 -2
- package/dist/collection/components/app/app.js +4 -4
- package/dist/collection/components/avatar/avatar.js +1 -1
- package/dist/collection/components/back-button/back-button.js +2 -2
- package/dist/collection/components/backdrop/backdrop.js +1 -1
- package/dist/collection/components/badge/badge.js +2 -2
- package/dist/collection/components/breadcrumb/breadcrumb.js +2 -2
- package/dist/collection/components/breadcrumbs/breadcrumbs.js +2 -2
- package/dist/collection/components/button/button.js +2 -2
- package/dist/collection/components/buttons/buttons.js +2 -2
- package/dist/collection/components/card/card.js +1 -1
- package/dist/collection/components/card-content/card-content.js +1 -1
- 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/checkbox/test/checkbox.spec.js +12 -0
- 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.js +50 -7
- package/dist/collection/components/datetime/test/basic/datetime.e2e.js +77 -0
- package/dist/collection/components/datetime/test/format.spec.js +65 -15
- package/dist/collection/components/datetime/utils/format.js +24 -37
- package/dist/collection/components/datetime/utils/validate.js +45 -0
- package/dist/collection/components/datetime-button/datetime-button.js +11 -10
- package/dist/collection/components/datetime-button/test/basic/datetime-button.e2e.js +65 -0
- 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 +1 -1
- 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.ios.css +2 -0
- package/dist/collection/components/input/input.js +3 -3
- package/dist/collection/components/input/input.md.css +4 -2
- package/dist/collection/components/input/test/highlight/input.e2e.js +144 -0
- package/dist/collection/components/item/item.ios.css +5 -197
- package/dist/collection/components/item/item.js +4 -166
- package/dist/collection/components/item/item.md.css +7 -360
- package/dist/collection/components/item/test/basic/item.e2e.js +0 -5
- package/dist/collection/components/item/test/item.spec.js +1 -1
- 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.ios.css +0 -5
- package/dist/collection/components/label/label.js +2 -2
- package/dist/collection/components/label/label.md.css +0 -75
- 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 +12 -6
- 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 +3 -3
- 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 +1 -1
- package/dist/collection/components/range/range.js +129 -24
- package/dist/collection/components/range/test/range-events.e2e.js +27 -0
- package/dist/collection/components/refresher/refresher.js +1 -1
- package/dist/collection/components/refresher-content/refresher-content.js +1 -1
- package/dist/collection/components/reorder/reorder.js +1 -1
- package/dist/collection/components/reorder-group/reorder-group.js +1 -1
- package/dist/collection/components/ripple-effect/ripple-effect.js +1 -1
- package/dist/collection/components/router-link/router-link.js +2 -2
- package/dist/collection/components/router-outlet/router-outlet.js +1 -1
- package/dist/collection/components/row/row.js +1 -1
- package/dist/collection/components/searchbar/searchbar.js +84 -5
- package/dist/collection/components/searchbar/test/searchbar.spec.js +20 -2
- package/dist/collection/components/segment/segment.js +2 -2
- package/dist/collection/components/segment-button/segment-button.js +3 -3
- package/dist/collection/components/select/select.ios.css +5 -0
- package/dist/collection/components/select/select.js +2 -2
- package/dist/collection/components/select/select.md.css +4 -27
- package/dist/collection/components/select/test/highlight/select.e2e.js +88 -4
- package/dist/collection/components/select-option/select-option.js +1 -1
- package/dist/collection/components/select-popover/select-popover.js +1 -1
- package/dist/collection/components/skeleton-text/skeleton-text.js +2 -2
- package/dist/collection/components/spinner/spinner.js +1 -1
- package/dist/collection/components/split-pane/split-pane.js +2 -2
- package/dist/collection/components/tab/tab.js +2 -2
- package/dist/collection/components/tab-bar/tab-bar.js +2 -2
- package/dist/collection/components/tab-button/tab-button.js +2 -2
- package/dist/collection/components/tabs/tabs.js +1 -1
- package/dist/collection/components/text/text.js +2 -2
- package/dist/collection/components/textarea/test/highlight/textarea.e2e.js +144 -0
- package/dist/collection/components/textarea/textarea.ios.css +2 -20
- package/dist/collection/components/textarea/textarea.js +2 -2
- package/dist/collection/components/textarea/textarea.md.css +4 -15
- package/dist/collection/components/thumbnail/thumbnail.js +1 -1
- package/dist/collection/components/title/title.js +2 -2
- package/dist/collection/components/toast/toast.js +2 -2
- package/dist/collection/components/toggle/toggle.js +3 -3
- package/dist/collection/components/toolbar/toolbar.js +2 -2
- package/dist/collection/utils/forms/index.js +0 -1
- package/dist/collection/utils/hardware-back-button.js +2 -2
- package/dist/collection/utils/helpers.js +1 -8
- package/dist/collection/utils/overlays.js +61 -19
- package/dist/collection/utils/slot-mutation-controller.js +12 -0
- package/dist/collection/utils/test/overlays/overlays.spec.js +53 -0
- package/dist/docs.json +158 -189
- package/dist/esm/{animation-a4acf150.js → animation-9a23ed8d.js} +1 -1
- package/dist/esm/{app-globals-cfb6787b.js → app-globals-80842d68.js} +1 -1
- package/dist/esm/{button-active-454e5c57.js → button-active-c6e18fac.js} +1 -1
- package/dist/esm/{data-691286f1.js → data-ae11fd43.js} +23 -38
- package/dist/esm/{framework-delegate-1eb3236c.js → framework-delegate-3fd96df8.js} +1 -1
- package/dist/esm/{hardware-back-button-3a14f99e.js → hardware-back-button-fb295e3a.js} +5 -5
- package/dist/esm/{helpers-ae74b3c9.js → helpers-f51cf76f.js} +1 -8
- package/dist/esm/{index-1f563746.js → index-1262064c.js} +1 -1
- package/dist/esm/{index-9b6d6df3.js → index-5d6a0317.js} +441 -13
- package/dist/esm/{index-5847f4a9.js → index-6da05eef.js} +4 -4
- package/dist/esm/{index-66871a1d.js → index-86688780.js} +1 -1
- package/dist/esm/{index-03086279.js → index-9d7e5d3e.js} +4 -4
- package/dist/esm/index.js +11 -11
- package/dist/esm/{input-shims-56c1f603.js → input-shims-2a4ad5a1.js} +2 -2
- package/dist/esm/{input.utils-482fc893.js → input.utils-d2dee48e.js} +13 -1
- package/dist/esm/ion-accordion_2.entry.js +3 -3
- package/dist/esm/ion-action-sheet.entry.js +11 -11
- package/dist/esm/ion-alert.entry.js +10 -10
- package/dist/esm/ion-app_8.entry.js +29 -29
- package/dist/esm/ion-avatar_3.entry.js +6 -6
- package/dist/esm/ion-back-button.entry.js +5 -5
- package/dist/esm/ion-backdrop.entry.js +3 -3
- package/dist/esm/ion-breadcrumb_2.entry.js +7 -7
- package/dist/esm/ion-button_2.entry.js +5 -5
- package/dist/esm/ion-card_5.entry.js +11 -11
- package/dist/esm/ion-checkbox.entry.js +6 -6
- package/dist/esm/ion-chip.entry.js +4 -4
- package/dist/esm/ion-col_3.entry.js +7 -7
- package/dist/esm/ion-datetime-button.entry.js +14 -13
- package/dist/esm/ion-datetime_3.entry.js +77 -18
- package/dist/esm/ion-fab_3.entry.js +9 -9
- package/dist/esm/ion-img.entry.js +4 -4
- package/dist/esm/ion-infinite-scroll_2.entry.js +7 -7
- package/dist/esm/ion-input.entry.js +10 -10
- package/dist/esm/ion-item-option_3.entry.js +8 -8
- package/dist/esm/ion-item_8.entry.js +23 -92
- package/dist/esm/ion-loading.entry.js +9 -9
- package/dist/esm/ion-menu_3.entry.js +14 -14
- package/dist/esm/ion-modal.entry.js +12 -12
- package/dist/esm/ion-nav_2.entry.js +8 -8
- package/dist/esm/ion-picker-column-option.entry.js +5 -5
- package/dist/esm/ion-picker-column.entry.js +6 -6
- 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 +4 -4
- package/dist/esm/ion-radio_2.entry.js +7 -7
- package/dist/esm/ion-range.entry.js +133 -28
- package/dist/esm/ion-refresher_2.entry.js +7 -7
- package/dist/esm/ion-reorder_2.entry.js +6 -6
- package/dist/esm/ion-ripple-effect.entry.js +3 -3
- package/dist/esm/ion-route_4.entry.js +5 -5
- package/dist/esm/ion-searchbar.entry.js +31 -7
- package/dist/esm/ion-segment_2.entry.js +8 -8
- package/dist/esm/ion-select_3.entry.js +13 -13
- package/dist/esm/ion-spinner.entry.js +3 -3
- package/dist/esm/ion-split-pane.entry.js +4 -4
- package/dist/esm/ion-tab-bar_2.entry.js +7 -7
- package/dist/esm/ion-tab_2.entry.js +6 -6
- package/dist/esm/ion-text.entry.js +4 -4
- package/dist/esm/ion-textarea.entry.js +9 -9
- package/dist/esm/ion-toast.entry.js +9 -9
- package/dist/esm/ion-toggle.entry.js +6 -6
- package/dist/esm/{ionic-global-c976d684.js → ionic-global-a589c12c.js} +1 -1
- package/dist/esm/ionic.js +29 -6
- package/dist/esm/{ios.transition-a097dbf5.js → ios.transition-fbde96b0.js} +4 -4
- package/dist/esm/loader.js +5 -5
- package/dist/esm/{md.transition-b4170ef7.js → md.transition-76e0020b.js} +4 -4
- package/dist/esm/{notch-controller-18bf9f76.js → notch-controller-00572cf8.js} +1 -1
- package/dist/esm/{overlays-4ba3b255.js → overlays-b1ac1c63.js} +64 -22
- package/dist/esm/{status-tap-7a12f017.js → status-tap-84b41f36.js} +3 -3
- package/dist/esm/{swipe-back-348f1971.js → swipe-back-f2bec781.js} +1 -1
- package/dist/esm-es5/{animation-a4acf150.js → animation-9a23ed8d.js} +1 -1
- package/dist/esm-es5/app-globals-80842d68.js +4 -0
- package/dist/esm-es5/{button-active-454e5c57.js → button-active-c6e18fac.js} +1 -1
- package/dist/esm-es5/data-ae11fd43.js +4 -0
- package/dist/esm-es5/{framework-delegate-1eb3236c.js → framework-delegate-3fd96df8.js} +1 -1
- package/dist/esm-es5/hardware-back-button-fb295e3a.js +4 -0
- package/dist/esm-es5/helpers-f51cf76f.js +4 -0
- package/dist/esm-es5/index-1262064c.js +4 -0
- package/dist/esm-es5/index-5d6a0317.js +5 -0
- package/dist/esm-es5/{index-5847f4a9.js → index-6da05eef.js} +1 -1
- package/dist/esm-es5/{index-66871a1d.js → index-86688780.js} +1 -1
- package/dist/esm-es5/{index-03086279.js → index-9d7e5d3e.js} +1 -1
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/{input-shims-56c1f603.js → input-shims-2a4ad5a1.js} +1 -1
- package/dist/esm-es5/input.utils-d2dee48e.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.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-c976d684.js → ionic-global-a589c12c.js} +1 -1
- package/dist/esm-es5/ionic.js +1 -1
- package/dist/esm-es5/{ios.transition-a097dbf5.js → ios.transition-fbde96b0.js} +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/md.transition-76e0020b.js +4 -0
- package/dist/esm-es5/{notch-controller-18bf9f76.js → notch-controller-00572cf8.js} +1 -1
- package/dist/esm-es5/overlays-b1ac1c63.js +4 -0
- package/dist/esm-es5/{status-tap-7a12f017.js → status-tap-84b41f36.js} +1 -1
- package/dist/esm-es5/{swipe-back-348f1971.js → swipe-back-f2bec781.js} +1 -1
- package/dist/html.html-data.json +24 -26
- 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-a8cc0027.system.js → p-01171ead.system.js} +1 -1
- package/dist/ionic/{p-5aa60929.js → p-031c5621.js} +1 -1
- package/dist/ionic/{p-d504bc71.entry.js → p-03f3ebd2.entry.js} +1 -1
- package/dist/ionic/{p-a06af32c.system.js → p-04f9ce05.system.js} +1 -1
- package/dist/ionic/{p-41b9cdd2.entry.js → p-05f10e5f.entry.js} +1 -1
- package/dist/ionic/{p-7665bbbc.system.entry.js → p-063c093d.system.entry.js} +1 -1
- package/dist/ionic/p-06e951a9.entry.js +4 -0
- package/dist/ionic/{p-77982637.entry.js → p-070cf7c3.entry.js} +1 -1
- package/dist/ionic/{p-1bca443b.system.entry.js → p-0afaf65b.system.entry.js} +1 -1
- package/dist/ionic/p-0da58e53.entry.js +4 -0
- package/dist/ionic/p-144ae947.js +4 -0
- package/dist/ionic/{p-c5b77291.system.entry.js → p-15e2ff5f.system.entry.js} +1 -1
- package/dist/ionic/{p-85cb4733.entry.js → p-19243ae6.entry.js} +1 -1
- package/dist/ionic/p-1acaf641.entry.js +4 -0
- package/dist/ionic/{p-8e83b7f1.system.entry.js → p-1d1394da.system.entry.js} +1 -1
- package/dist/ionic/{p-842777af.js → p-1e5c0c49.js} +1 -1
- package/dist/ionic/{p-1ed99eba.system.entry.js → p-2028668d.system.entry.js} +1 -1
- package/dist/ionic/{p-1a68de09.entry.js → p-2070f8d8.entry.js} +1 -1
- package/dist/ionic/{p-1c436e95.system.entry.js → p-219c17cf.system.entry.js} +1 -1
- package/dist/ionic/p-21e88629.entry.js +4 -0
- package/dist/ionic/{p-41970e75.entry.js → p-234dc736.entry.js} +1 -1
- package/dist/ionic/{p-1600d68c.system.entry.js → p-237b1791.system.entry.js} +1 -1
- package/dist/ionic/{p-27594fc2.js → p-239906f1.js} +1 -1
- package/dist/ionic/{p-85464e28.system.entry.js → p-25648922.system.entry.js} +2 -2
- package/dist/ionic/{p-e38b3c29.entry.js → p-29ecf879.entry.js} +1 -1
- package/dist/ionic/{p-62f15daf.system.entry.js → p-2e2635b4.system.entry.js} +2 -2
- package/dist/ionic/p-2f53f47a.entry.js +4 -0
- package/dist/ionic/{p-6d95943d.system.js → p-30dfa360.system.js} +1 -1
- package/dist/ionic/p-314ae72a.js +4 -0
- package/dist/ionic/{p-816476b0.system.js → p-33e39575.system.js} +1 -1
- package/dist/ionic/p-373e757d.entry.js +4 -0
- package/dist/ionic/{p-8a50f8d6.system.js → p-3944820a.system.js} +1 -1
- package/dist/ionic/p-39483fc9.js +4 -0
- package/dist/ionic/{p-5afb6e48.entry.js → p-39860681.entry.js} +1 -1
- package/dist/ionic/{p-6fd26009.js → p-3a572692.js} +1 -1
- package/dist/ionic/{p-a5b7a286.entry.js → p-42d9f81e.entry.js} +1 -1
- package/dist/ionic/{p-b4bb9cd0.system.entry.js → p-45a2b1ee.system.entry.js} +1 -1
- package/dist/ionic/{p-15708968.js → p-46a4e4e8.js} +1 -1
- package/dist/ionic/{p-cb3f2ab6.system.entry.js → p-47974116.system.entry.js} +1 -1
- package/dist/ionic/p-489eb5c6.js +4 -0
- package/dist/ionic/{p-f16bfd53.entry.js → p-48fef2f1.entry.js} +1 -1
- package/dist/ionic/p-493bce1f.entry.js +4 -0
- package/dist/ionic/{p-c38c5dfc.system.js → p-4997d7dc.system.js} +1 -1
- package/dist/ionic/{p-cb944b1a.system.js → p-49a205d0.system.js} +1 -1
- package/dist/ionic/{p-c880c809.js → p-4ba6d7d1.js} +1 -1
- package/dist/ionic/p-4d6ec139.entry.js +4 -0
- package/dist/ionic/{p-8d4d902b.js → p-4da2ae44.js} +1 -1
- package/dist/ionic/{p-466bdeae.entry.js → p-5054b3db.entry.js} +1 -1
- package/dist/ionic/{p-f7ed6a44.system.entry.js → p-50d19fc7.system.entry.js} +1 -1
- package/dist/ionic/p-513abaf6.system.entry.js +4 -0
- package/dist/ionic/p-517b76cb.entry.js +4 -0
- package/dist/ionic/{p-a6cc38d4.js → p-51b1a6be.js} +1 -1
- package/dist/ionic/p-53c592ec.system.js +4 -0
- package/dist/ionic/{p-ebe0be94.system.entry.js → p-566818dd.system.entry.js} +1 -1
- package/dist/ionic/{p-6e1fa025.js → p-59e86adb.js} +1 -1
- package/dist/ionic/{p-91a72ad6.system.entry.js → p-5f9abba8.system.entry.js} +2 -2
- package/dist/ionic/{p-baa409f1.system.entry.js → p-6042920d.system.entry.js} +2 -2
- package/dist/ionic/{p-7b44b443.entry.js → p-65374504.entry.js} +1 -1
- package/dist/ionic/{p-f3d6085c.entry.js → p-66596659.entry.js} +1 -1
- package/dist/ionic/p-667290b0.system.js +4 -0
- package/dist/ionic/{p-c3a2e5cc.entry.js → p-66e50777.entry.js} +1 -1
- package/dist/ionic/{p-4a8f173c.system.js → p-67dbcd3b.system.js} +1 -1
- package/dist/ionic/{p-0efb1cce.entry.js → p-68fbfcd5.entry.js} +1 -1
- package/dist/ionic/{p-95e14c7b.system.js → p-696db6f4.system.js} +1 -1
- package/dist/ionic/p-69df28fd.entry.js +4 -0
- package/dist/ionic/p-6d0e7669.system.entry.js +4 -0
- package/dist/ionic/p-6d1f5de9.system.entry.js +4 -0
- package/dist/ionic/{p-dcfc297d.system.entry.js → p-6d75fbe8.system.entry.js} +1 -1
- package/dist/ionic/{p-d4d0538c.system.entry.js → p-7162350a.system.entry.js} +1 -1
- package/dist/ionic/p-7200f2da.entry.js +4 -0
- package/dist/ionic/{p-81869a97.system.entry.js → p-739f8b95.system.entry.js} +1 -1
- package/dist/ionic/{p-7a3fa32c.entry.js → p-75addf49.entry.js} +1 -1
- package/dist/ionic/{p-1fa738c4.js → p-78b3da77.js} +1 -1
- package/dist/ionic/{p-03f63663.system.js → p-7c7e495d.system.js} +1 -1
- package/dist/ionic/{p-8ab308e9.js → p-7d4f6f18.js} +1 -1
- package/dist/ionic/{p-5c3991e3.system.entry.js → p-824d44c5.system.entry.js} +2 -2
- package/dist/ionic/{p-ded27993.entry.js → p-8c0b08db.entry.js} +1 -1
- package/dist/ionic/p-8dfe436d.system.js +4 -0
- package/dist/ionic/{p-da83d833.system.entry.js → p-91567c90.system.entry.js} +1 -1
- package/dist/ionic/{p-5a055df4.entry.js → p-95648db9.entry.js} +1 -1
- package/dist/ionic/{p-f71082f7.entry.js → p-9c970454.entry.js} +1 -1
- package/dist/ionic/{p-1ccbaaf3.system.entry.js → p-9ddbed2f.system.entry.js} +1 -1
- package/dist/ionic/{p-30892e0c.system.js → p-9e3177a5.system.js} +1 -1
- package/dist/ionic/p-a03c993e.entry.js +4 -0
- package/dist/ionic/{p-8aeed464.system.entry.js → p-a37d4fe9.system.entry.js} +1 -1
- package/dist/ionic/{p-3bac30bf.system.entry.js → p-a43fbe0a.system.entry.js} +1 -1
- package/dist/ionic/{p-1a5ed3fe.system.entry.js → p-a5c33d6b.system.entry.js} +1 -1
- package/dist/ionic/p-a7f788ec.entry.js +4 -0
- package/dist/ionic/{p-1e0a18a1.system.entry.js → p-acd64713.system.entry.js} +1 -1
- package/dist/ionic/{p-eec92f77.system.js → p-af9256a0.system.js} +1 -1
- package/dist/ionic/p-afe27188.system.js +4 -0
- package/dist/ionic/{p-7541ca9f.system.entry.js → p-b0850af6.system.entry.js} +1 -1
- package/dist/ionic/p-b0d35de4.system.js +4 -0
- package/dist/ionic/p-b996756b.entry.js +4 -0
- package/dist/ionic/p-ba9120fe.system.entry.js +4 -0
- package/dist/ionic/p-bb78b64e.entry.js +4 -0
- package/dist/ionic/{p-97135baa.entry.js → p-bbc4f653.entry.js} +1 -1
- package/dist/ionic/p-c34d1515.js +4 -0
- package/dist/ionic/{p-82f5375e.system.entry.js → p-c4390f10.system.entry.js} +1 -1
- package/dist/ionic/p-c629d22b.system.js +5 -0
- package/dist/ionic/p-c834c535.system.entry.js +4 -0
- package/dist/ionic/{p-ad2b216a.system.entry.js → p-c8675b7b.system.entry.js} +1 -1
- package/dist/ionic/p-c962e9ea.entry.js +4 -0
- package/dist/ionic/p-cbb753d4.entry.js +4 -0
- package/dist/ionic/p-cc19ecba.system.entry.js +4 -0
- package/dist/ionic/{p-1ea88de9.system.js → p-ce36d285.system.js} +1 -1
- package/dist/ionic/{p-fd94dd20.system.entry.js → p-d09c9468.system.entry.js} +1 -1
- package/dist/ionic/{p-4523be60.entry.js → p-d10bbab7.entry.js} +1 -1
- package/dist/ionic/p-d268f7e2.system.entry.js +4 -0
- package/dist/ionic/{p-4c2cac66.entry.js → p-d3c1c23f.entry.js} +1 -1
- package/dist/ionic/{p-780ff3b5.system.entry.js → p-d4be0d81.system.entry.js} +1 -1
- package/dist/ionic/p-d5ef3a0a.entry.js +4 -0
- package/dist/ionic/p-d60342e3.js +4 -0
- package/dist/ionic/{p-1ce172db.entry.js → p-d85eebc3.entry.js} +1 -1
- package/dist/ionic/{p-09872ec8.system.entry.js → p-d9dfdbb5.system.entry.js} +1 -1
- package/dist/ionic/{p-25850474.entry.js → p-da5bbd4f.entry.js} +1 -1
- package/dist/ionic/{p-7cc01684.js → p-dad515dc.js} +1 -1
- package/dist/ionic/{p-afcd4f49.entry.js → p-de39f314.entry.js} +1 -1
- package/dist/ionic/{p-ddc4e717.entry.js → p-de4c700f.entry.js} +1 -1
- package/dist/ionic/{p-19f6ac6c.system.js → p-e01ebeba.system.js} +1 -1
- package/dist/ionic/{p-602494c6.entry.js → p-e222fdd1.entry.js} +1 -1
- package/dist/ionic/{p-add93c7a.entry.js → p-e5e492d8.entry.js} +1 -1
- package/dist/ionic/{p-874510e9.system.entry.js → p-e9412fe7.system.entry.js} +1 -1
- package/dist/ionic/{p-3410a9cb.system.js → p-ea5173f9.system.js} +1 -1
- package/dist/ionic/{p-4825e380.entry.js → p-eb546888.entry.js} +1 -1
- package/dist/ionic/{p-65d3f0e9.js → p-eee87ebb.js} +1 -1
- package/dist/ionic/p-f012e8f2.system.entry.js +4 -0
- package/dist/ionic/{p-aaca8dd4.system.entry.js → p-f15b0bbc.system.entry.js} +1 -1
- package/dist/ionic/{p-2b3e0d99.system.entry.js → p-f15f8140.system.entry.js} +1 -1
- package/dist/ionic/{p-a71dc777.system.js → p-f3e8c505.system.js} +1 -1
- package/dist/ionic/{p-760dbd5e.js → p-f5cb9689.js} +1 -1
- package/dist/ionic/p-f687573e.system.js +4 -0
- package/dist/ionic/{p-f6a6b7ef.system.entry.js → p-f6db2e96.system.entry.js} +2 -2
- package/dist/ionic/p-f8502e85.js +5 -0
- package/dist/ionic/{p-cd366840.system.entry.js → p-f8dfae89.system.entry.js} +1 -1
- package/dist/ionic/p-fcec3b7a.system.entry.js +4 -0
- package/dist/ionic/{p-cb0e4100.system.entry.js → p-ff740d68.system.entry.js} +1 -1
- package/dist/ionic/p-ffaeba0a.system.entry.js +4 -0
- package/dist/types/components/datetime/datetime-interface.d.ts +10 -0
- package/dist/types/components/datetime/datetime.d.ts +9 -1
- package/dist/types/components/datetime/utils/format.d.ts +7 -13
- package/dist/types/components/datetime/utils/validate.d.ts +8 -0
- package/dist/types/components/item/item.d.ts +0 -32
- package/dist/types/components/menu/menu-interface.d.ts +1 -0
- package/dist/types/components/menu/menu.d.ts +2 -2
- package/dist/types/components/range/range.d.ts +29 -0
- package/dist/types/components/searchbar/searchbar.d.ts +38 -0
- package/dist/types/components.d.ts +38 -46
- package/dist/types/utils/forms/index.d.ts +0 -1
- package/dist/types/utils/hardware-back-button.d.ts +1 -1
- package/dist/types/utils/helpers.d.ts +0 -1
- package/hydrate/index.js +499 -349
- package/package.json +1 -1
- package/components/note.js +0 -48
- package/dist/collection/components/item/test/legacy/disabled/item.e2e.js +0 -14
- package/dist/collection/utils/forms/form-controller.js +0 -61
- package/dist/esm-es5/app-globals-cfb6787b.js +0 -4
- package/dist/esm-es5/data-691286f1.js +0 -4
- package/dist/esm-es5/hardware-back-button-3a14f99e.js +0 -4
- package/dist/esm-es5/helpers-ae74b3c9.js +0 -4
- package/dist/esm-es5/index-1f563746.js +0 -4
- package/dist/esm-es5/index-9b6d6df3.js +0 -5
- package/dist/esm-es5/input.utils-482fc893.js +0 -4
- package/dist/esm-es5/md.transition-b4170ef7.js +0 -4
- package/dist/esm-es5/overlays-4ba3b255.js +0 -4
- package/dist/ionic/p-060fdc03.entry.js +0 -4
- package/dist/ionic/p-069388dd.system.js +0 -4
- package/dist/ionic/p-06fccad7.entry.js +0 -4
- package/dist/ionic/p-08dfa278.system.entry.js +0 -4
- package/dist/ionic/p-0ca35c1d.system.entry.js +0 -4
- package/dist/ionic/p-134d4936.system.js +0 -4
- package/dist/ionic/p-19e79fe8.entry.js +0 -4
- package/dist/ionic/p-22d2a891.js +0 -4
- package/dist/ionic/p-300b2cf1.entry.js +0 -4
- package/dist/ionic/p-43322b14.js +0 -4
- package/dist/ionic/p-4ad02639.entry.js +0 -4
- package/dist/ionic/p-5289aade.js +0 -4
- package/dist/ionic/p-60efe117.js +0 -5
- package/dist/ionic/p-6657681b.system.entry.js +0 -4
- package/dist/ionic/p-66e6860f.system.js +0 -4
- package/dist/ionic/p-6e5eeb35.entry.js +0 -4
- package/dist/ionic/p-6f6d56f1.entry.js +0 -4
- package/dist/ionic/p-70218e28.system.entry.js +0 -4
- package/dist/ionic/p-72bc2484.system.entry.js +0 -4
- package/dist/ionic/p-8ba5912c.entry.js +0 -4
- package/dist/ionic/p-8d602214.system.js +0 -5
- package/dist/ionic/p-8e3ee444.system.entry.js +0 -4
- package/dist/ionic/p-9382ebab.entry.js +0 -4
- package/dist/ionic/p-942c19cb.entry.js +0 -4
- package/dist/ionic/p-96391c0e.entry.js +0 -4
- package/dist/ionic/p-9d6f351e.js +0 -4
- package/dist/ionic/p-9e3b3f15.system.js +0 -4
- package/dist/ionic/p-a375c9f6.system.entry.js +0 -4
- package/dist/ionic/p-a58ec401.js +0 -4
- package/dist/ionic/p-b1a9e85a.system.entry.js +0 -4
- package/dist/ionic/p-bcb58446.entry.js +0 -4
- package/dist/ionic/p-c2336a9e.system.entry.js +0 -4
- package/dist/ionic/p-c68e75ea.system.js +0 -4
- package/dist/ionic/p-cbc3840e.entry.js +0 -4
- package/dist/ionic/p-cf852615.system.entry.js +0 -4
- package/dist/ionic/p-df7ea05d.entry.js +0 -4
- package/dist/ionic/p-e15eda82.system.js +0 -4
- package/dist/ionic/p-e470466e.entry.js +0 -4
- package/dist/ionic/p-ef99a759.entry.js +0 -4
- package/dist/ionic/p-f2473724.js +0 -4
- package/dist/ionic/p-fc5ddbf6.entry.js +0 -4
- package/dist/ionic/p-feb66f6f.entry.js +0 -4
- package/dist/types/utils/forms/form-controller.d.ts +0 -15
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
import type { DatetimeParts, DatetimeHourCycle } from '../datetime-interface';
|
|
2
|
-
|
|
2
|
+
/**
|
|
3
|
+
* Including time zone options may lead to the rendered text showing a
|
|
4
|
+
* different time from what was selected in the Datetime, which could cause
|
|
5
|
+
* confusion.
|
|
6
|
+
*/
|
|
7
|
+
export declare const stripTimeZone: (formatOptions: Intl.DateTimeFormatOptions) => Intl.DateTimeFormatOptions;
|
|
8
|
+
export declare const getLocalizedTime: (locale: string, refParts: DatetimeParts, hourCycle: DatetimeHourCycle, formatOptions?: Intl.DateTimeFormatOptions) => string;
|
|
3
9
|
/**
|
|
4
10
|
* Adds padding to a time value so
|
|
5
11
|
* that it is always 2 digits.
|
|
@@ -18,11 +24,6 @@ export declare const getFormattedHour: (hour: number, hourCycle: DatetimeHourCyc
|
|
|
18
24
|
* today's date.
|
|
19
25
|
*/
|
|
20
26
|
export declare const generateDayAriaLabel: (locale: string, today: boolean, refParts: DatetimeParts) => string | null;
|
|
21
|
-
/**
|
|
22
|
-
* Gets the day of the week, month, and day
|
|
23
|
-
* Used for the header in MD mode.
|
|
24
|
-
*/
|
|
25
|
-
export declare const getMonthAndDay: (locale: string, refParts: DatetimeParts) => string;
|
|
26
27
|
/**
|
|
27
28
|
* Given a locale and a date object,
|
|
28
29
|
* return a formatted string that includes
|
|
@@ -30,13 +31,6 @@ export declare const getMonthAndDay: (locale: string, refParts: DatetimeParts) =
|
|
|
30
31
|
* Example: May 2021
|
|
31
32
|
*/
|
|
32
33
|
export declare const getMonthAndYear: (locale: string, refParts: DatetimeParts) => string;
|
|
33
|
-
/**
|
|
34
|
-
* Given a locale and a date object,
|
|
35
|
-
* return a formatted string that includes
|
|
36
|
-
* the short month, numeric day, and full year.
|
|
37
|
-
* Example: Apr 22, 2021
|
|
38
|
-
*/
|
|
39
|
-
export declare const getMonthDayAndYear: (locale: string, refParts: DatetimeParts) => string;
|
|
40
34
|
/**
|
|
41
35
|
* Given a locale and a date object,
|
|
42
36
|
* return a formatted string that includes
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { DatetimePresentation, FormatOptions } from '../datetime-interface';
|
|
2
|
+
/**
|
|
3
|
+
* If a time zone is provided in the format options, the rendered text could
|
|
4
|
+
* differ from what was selected in the Datetime, which could cause
|
|
5
|
+
* confusion.
|
|
6
|
+
*/
|
|
7
|
+
export declare const warnIfTimeZoneProvided: (el: HTMLElement, formatOptions?: FormatOptions) => void;
|
|
8
|
+
export declare const checkForPresentationFormatMismatch: (el: HTMLElement, presentation: DatetimePresentation, formatOptions?: FormatOptions) => void;
|
|
@@ -1,17 +1,13 @@
|
|
|
1
1
|
import type { ComponentInterface } from '../../stencil-public-runtime';
|
|
2
2
|
import type { AnchorInterface, ButtonInterface } from "../../utils/element-interface";
|
|
3
3
|
import type { AnimationBuilder, Color, StyleEventDetail } from '../../interface';
|
|
4
|
-
import type { InputInputEventDetail } from '../input/input-interface';
|
|
5
4
|
import type { RouterDirection } from '../router/utils/interface';
|
|
6
|
-
import type { CounterFormatter } from './item-interface';
|
|
7
5
|
/**
|
|
8
6
|
* @virtualProp {"ios" | "md"} mode - The mode determines which platform styles to use.
|
|
9
7
|
*
|
|
10
8
|
* @slot - Content is placed between the named slots if provided without a slot.
|
|
11
9
|
* @slot start - Content is placed to the left of the item text in LTR, and to the right in RTL.
|
|
12
10
|
* @slot end - Content is placed to the right of the item text in LTR, and to the left in RTL.
|
|
13
|
-
* @slot helper - Content is placed under the item and displayed when no error is detected. **DEPRECATED** Use the "helperText" property on ion-input or ion-textarea instead.
|
|
14
|
-
* @slot error - Content is placed under the item and displayed when an error is detected. **DEPRECATED** Use the "errorText" property on ion-input or ion-textarea instead.
|
|
15
11
|
*
|
|
16
12
|
* @part native - The native HTML button, anchor or div element that wraps all child elements.
|
|
17
13
|
* @part detail-icon - The chevron icon for the item. Only applies when `detail="true"`.
|
|
@@ -53,17 +49,6 @@ export declare class Item implements ComponentInterface, AnchorInterface, Button
|
|
|
53
49
|
* (the user can still change the file name if they want).
|
|
54
50
|
*/
|
|
55
51
|
download: string | undefined;
|
|
56
|
-
/**
|
|
57
|
-
* The fill for the item. If `"solid"` the item will have a background. If
|
|
58
|
-
* `"outline"` the item will be transparent with a border. Only available in `md` mode.
|
|
59
|
-
* @deprecated Use the `fill` property on `ion-input` or `ion-textarea` instead.
|
|
60
|
-
*/
|
|
61
|
-
fill?: 'outline' | 'solid';
|
|
62
|
-
/**
|
|
63
|
-
* The shape of the item. If "round" it will have increased
|
|
64
|
-
* border radius.
|
|
65
|
-
*/
|
|
66
|
-
shape?: 'round';
|
|
67
52
|
/**
|
|
68
53
|
* Contains a URL or a URL fragment that the hyperlink points to.
|
|
69
54
|
* If this property is set, an anchor tag will be rendered.
|
|
@@ -78,11 +63,6 @@ export declare class Item implements ComponentInterface, AnchorInterface, Button
|
|
|
78
63
|
* How the bottom border should be displayed on the item.
|
|
79
64
|
*/
|
|
80
65
|
lines?: 'full' | 'inset' | 'none';
|
|
81
|
-
/**
|
|
82
|
-
* If `true`, a character counter will display the ratio of characters used and the total character limit. Only applies when the `maxlength` property is set on the inner `ion-input` or `ion-textarea`.
|
|
83
|
-
* @deprecated Use the `counter` property on `ion-input` or `ion-textarea` instead.
|
|
84
|
-
*/
|
|
85
|
-
counter: boolean;
|
|
86
66
|
/**
|
|
87
67
|
* When using a router, it specifies the transition animation when navigating to
|
|
88
68
|
* another page using `href`.
|
|
@@ -103,16 +83,7 @@ export declare class Item implements ComponentInterface, AnchorInterface, Button
|
|
|
103
83
|
* The type of the button. Only used when an `onclick` or `button` property is present.
|
|
104
84
|
*/
|
|
105
85
|
type: 'submit' | 'reset' | 'button';
|
|
106
|
-
/**
|
|
107
|
-
* A callback used to format the counter text.
|
|
108
|
-
* By default the counter text is set to "itemLength / maxLength".
|
|
109
|
-
* @deprecated Use the `counterFormatter` property on `ion-input` or `ion-textarea` instead.
|
|
110
|
-
*/
|
|
111
|
-
counterFormatter?: CounterFormatter;
|
|
112
|
-
counterString: string | null | undefined;
|
|
113
86
|
buttonChanged(): void;
|
|
114
|
-
counterFormatterChanged(): void;
|
|
115
|
-
handleIonInput(ev: CustomEvent<InputInputEventDetail>): void;
|
|
116
87
|
labelColorChanged(ev: CustomEvent<string>): void;
|
|
117
88
|
itemStyle(ev: CustomEvent<StyleEventDetail>): void;
|
|
118
89
|
connectedCallback(): void;
|
|
@@ -123,9 +94,6 @@ export declare class Item implements ComponentInterface, AnchorInterface, Button
|
|
|
123
94
|
private isClickable;
|
|
124
95
|
private canActivate;
|
|
125
96
|
private isFocusable;
|
|
126
|
-
private getFirstInput;
|
|
127
|
-
private updateCounterOutput;
|
|
128
|
-
private defaultCounterFormatter;
|
|
129
97
|
private hasStartEl;
|
|
130
98
|
private getFirstInteractive;
|
|
131
99
|
render(): any;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { ComponentInterface, EventEmitter } from '../../stencil-public-runtime';
|
|
2
|
-
import type { MenuChangeEventDetail, MenuI, Side } from './menu-interface';
|
|
2
|
+
import type { MenuChangeEventDetail, MenuI, MenuType, Side } from './menu-interface';
|
|
3
3
|
/**
|
|
4
4
|
* @part container - The container for the menu content.
|
|
5
5
|
* @part backdrop - The backdrop that appears over the main content when the menu is open.
|
|
@@ -54,7 +54,7 @@ export declare class Menu implements ComponentInterface, MenuI {
|
|
|
54
54
|
* The display type of the menu.
|
|
55
55
|
* Available options: `"overlay"`, `"reveal"`, `"push"`.
|
|
56
56
|
*/
|
|
57
|
-
type?:
|
|
57
|
+
type?: MenuType;
|
|
58
58
|
typeChanged(type: string, oldType: string | undefined): void;
|
|
59
59
|
/**
|
|
60
60
|
* If `true`, the menu is disabled.
|
|
@@ -168,10 +168,39 @@ export declare class Range implements ComponentInterface {
|
|
|
168
168
|
* This API should not be used for external value changes.
|
|
169
169
|
*/
|
|
170
170
|
private emitValueChange;
|
|
171
|
+
/**
|
|
172
|
+
* The value should be updated on touch end or
|
|
173
|
+
* when the component is being dragged.
|
|
174
|
+
* This follows the native behavior of mobile devices.
|
|
175
|
+
*
|
|
176
|
+
* For example: When the user lifts their finger from the
|
|
177
|
+
* screen after tapping the bar or dragging the bar or knob.
|
|
178
|
+
*/
|
|
171
179
|
private onStart;
|
|
180
|
+
/**
|
|
181
|
+
* The value should be updated while dragging the
|
|
182
|
+
* bar or knob.
|
|
183
|
+
*
|
|
184
|
+
* While the user is dragging, the view
|
|
185
|
+
* should not scroll. This is to prevent the user from
|
|
186
|
+
* feeling disoriented while dragging.
|
|
187
|
+
*
|
|
188
|
+
* The user can scroll on the view if the knob or
|
|
189
|
+
* bar is not being dragged.
|
|
190
|
+
*
|
|
191
|
+
* @param detail The details of the gesture event.
|
|
192
|
+
*/
|
|
172
193
|
private onMove;
|
|
194
|
+
/**
|
|
195
|
+
* The value should be updated on touch end:
|
|
196
|
+
* - When the user lifts their finger from the screen after
|
|
197
|
+
* tapping the bar.
|
|
198
|
+
*
|
|
199
|
+
* @param detail The details of the gesture or mouse event.
|
|
200
|
+
*/
|
|
173
201
|
private onEnd;
|
|
174
202
|
private update;
|
|
203
|
+
private setPressedKnob;
|
|
175
204
|
private get valA();
|
|
176
205
|
private get valB();
|
|
177
206
|
private get ratioLower();
|
|
@@ -10,6 +10,7 @@ export declare class Searchbar implements ComponentInterface {
|
|
|
10
10
|
private shouldAlignLeft;
|
|
11
11
|
private originalIonInput?;
|
|
12
12
|
private inputId;
|
|
13
|
+
private inheritedAttributes;
|
|
13
14
|
/**
|
|
14
15
|
* The value of the input when the textarea is focused.
|
|
15
16
|
*/
|
|
@@ -17,6 +18,15 @@ export declare class Searchbar implements ComponentInterface {
|
|
|
17
18
|
el: HTMLIonSearchbarElement;
|
|
18
19
|
focused: boolean;
|
|
19
20
|
noAnimate: boolean;
|
|
21
|
+
/**
|
|
22
|
+
* lang and dir are globally enumerated attributes.
|
|
23
|
+
* As a result, creating these as properties
|
|
24
|
+
* can have unintended side effects. Instead, we
|
|
25
|
+
* listen for attribute changes and inherit them
|
|
26
|
+
* to the inner `<input>` element.
|
|
27
|
+
*/
|
|
28
|
+
onLangChanged(newValue: string): void;
|
|
29
|
+
onDirChanged(newValue: string): void;
|
|
20
30
|
/**
|
|
21
31
|
* The color to use from your application's color palette.
|
|
22
32
|
* Default options are: `"primary"`, `"secondary"`, `"tertiary"`, `"success"`, `"warning"`, `"danger"`, `"light"`, `"medium"`, and `"dark"`.
|
|
@@ -27,6 +37,25 @@ export declare class Searchbar implements ComponentInterface {
|
|
|
27
37
|
* If `true`, enable searchbar animation.
|
|
28
38
|
*/
|
|
29
39
|
animated: boolean;
|
|
40
|
+
/**
|
|
41
|
+
* Prior to the addition of this property
|
|
42
|
+
* autocapitalize was enabled by default on iOS
|
|
43
|
+
* and disabled by default on Android
|
|
44
|
+
* for Searchbar. The autocapitalize type on HTMLElement
|
|
45
|
+
* requires that it be a string and never undefined.
|
|
46
|
+
* However, setting it to a string value would be a breaking change
|
|
47
|
+
* in behavior, so we use "!" to tell TypeScript that this property
|
|
48
|
+
* is always defined so we can rely on the browser defaults. Browsers
|
|
49
|
+
* will automatically set a default value if the developer does not set one.
|
|
50
|
+
*
|
|
51
|
+
* In the future, this property will default to "off" to align with
|
|
52
|
+
* Input and Textarea, and the "!" will not be needed.
|
|
53
|
+
*/
|
|
54
|
+
/**
|
|
55
|
+
* Indicates whether and how the text value should be automatically capitalized as it is entered/edited by the user.
|
|
56
|
+
* Available options: `"off"`, `"none"`, `"on"`, `"sentences"`, `"words"`, `"characters"`.
|
|
57
|
+
*/
|
|
58
|
+
autocapitalize: string;
|
|
30
59
|
/**
|
|
31
60
|
* Set the input's autocomplete property.
|
|
32
61
|
*/
|
|
@@ -69,6 +98,14 @@ export declare class Searchbar implements ComponentInterface {
|
|
|
69
98
|
* `"previous"`, `"search"`, and `"send"`.
|
|
70
99
|
*/
|
|
71
100
|
enterkeyhint?: 'enter' | 'done' | 'go' | 'next' | 'previous' | 'search' | 'send';
|
|
101
|
+
/**
|
|
102
|
+
* This attribute specifies the maximum number of characters that the user can enter.
|
|
103
|
+
*/
|
|
104
|
+
maxlength?: number;
|
|
105
|
+
/**
|
|
106
|
+
* This attribute specifies the minimum number of characters that the user can enter.
|
|
107
|
+
*/
|
|
108
|
+
minlength?: number;
|
|
72
109
|
/**
|
|
73
110
|
* If used in a form, set the name of the control, which is submitted with the form data.
|
|
74
111
|
*/
|
|
@@ -156,6 +193,7 @@ export declare class Searchbar implements ComponentInterface {
|
|
|
156
193
|
protected valueChanged(): void;
|
|
157
194
|
protected showCancelButtonChanged(): void;
|
|
158
195
|
connectedCallback(): void;
|
|
196
|
+
componentWillLoad(): void;
|
|
159
197
|
componentDidLoad(): void;
|
|
160
198
|
private emitStyle;
|
|
161
199
|
/**
|
|
@@ -15,11 +15,10 @@ import { RouteID, RouterDirection, RouterEventDetail, RouteWrite } from "./compo
|
|
|
15
15
|
import { BreadcrumbCollapsedClickEventDetail } from "./components/breadcrumb/breadcrumb-interface";
|
|
16
16
|
import { CheckboxChangeEventDetail } from "./components/checkbox/checkbox-interface";
|
|
17
17
|
import { ScrollBaseDetail, ScrollDetail } from "./components/content/content-interface";
|
|
18
|
-
import { DatetimeChangeEventDetail, DatetimeHighlight, DatetimeHighlightCallback, DatetimeHourCycle, DatetimePresentation, TitleSelectedDatesFormatter } from "./components/datetime/datetime-interface";
|
|
18
|
+
import { DatetimeChangeEventDetail, DatetimeHighlight, DatetimeHighlightCallback, DatetimeHourCycle, DatetimePresentation, FormatOptions, TitleSelectedDatesFormatter } from "./components/datetime/datetime-interface";
|
|
19
19
|
import { SpinnerTypes } from "./components/spinner/spinner-configs";
|
|
20
20
|
import { InputChangeEventDetail, InputInputEventDetail } from "./components/input/input-interface";
|
|
21
|
-
import {
|
|
22
|
-
import { MenuChangeEventDetail, Side } from "./components/menu/menu-interface";
|
|
21
|
+
import { MenuChangeEventDetail, MenuType, Side } from "./components/menu/menu-interface";
|
|
23
22
|
import { ModalBreakpointChangeEventDetail, ModalHandleBehavior } from "./components/modal/modal-interface";
|
|
24
23
|
import { NavComponent, NavComponentWithProps, NavOptions, RouterOutletOptions, SwipeGestureHandler, TransitionDoneFn, TransitionInstruction } from "./components/nav/nav-interface";
|
|
25
24
|
import { ViewController } from "./components/nav/view-controller";
|
|
@@ -51,11 +50,10 @@ export { RouteID, RouterDirection, RouterEventDetail, RouteWrite } from "./compo
|
|
|
51
50
|
export { BreadcrumbCollapsedClickEventDetail } from "./components/breadcrumb/breadcrumb-interface";
|
|
52
51
|
export { CheckboxChangeEventDetail } from "./components/checkbox/checkbox-interface";
|
|
53
52
|
export { ScrollBaseDetail, ScrollDetail } from "./components/content/content-interface";
|
|
54
|
-
export { DatetimeChangeEventDetail, DatetimeHighlight, DatetimeHighlightCallback, DatetimeHourCycle, DatetimePresentation, TitleSelectedDatesFormatter } from "./components/datetime/datetime-interface";
|
|
53
|
+
export { DatetimeChangeEventDetail, DatetimeHighlight, DatetimeHighlightCallback, DatetimeHourCycle, DatetimePresentation, FormatOptions, TitleSelectedDatesFormatter } from "./components/datetime/datetime-interface";
|
|
55
54
|
export { SpinnerTypes } from "./components/spinner/spinner-configs";
|
|
56
55
|
export { InputChangeEventDetail, InputInputEventDetail } from "./components/input/input-interface";
|
|
57
|
-
export {
|
|
58
|
-
export { MenuChangeEventDetail, Side } from "./components/menu/menu-interface";
|
|
56
|
+
export { MenuChangeEventDetail, MenuType, Side } from "./components/menu/menu-interface";
|
|
59
57
|
export { ModalBreakpointChangeEventDetail, ModalHandleBehavior } from "./components/modal/modal-interface";
|
|
60
58
|
export { NavComponent, NavComponentWithProps, NavOptions, RouterOutletOptions, SwipeGestureHandler, TransitionDoneFn, TransitionInstruction } from "./components/nav/nav-interface";
|
|
61
59
|
export { ViewController } from "./components/nav/view-controller";
|
|
@@ -854,6 +852,10 @@ export namespace Components {
|
|
|
854
852
|
* The first day of the week to use for `ion-datetime`. The default value is `0` and represents Sunday.
|
|
855
853
|
*/
|
|
856
854
|
"firstDayOfWeek": number;
|
|
855
|
+
/**
|
|
856
|
+
* Formatting options for dates and times. Should include a 'date' and/or 'time' object, each of which is of type [Intl.DateTimeFormatOptions](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DateTimeFormat/DateTimeFormat#options).
|
|
857
|
+
*/
|
|
858
|
+
"formatOptions"?: FormatOptions;
|
|
857
859
|
/**
|
|
858
860
|
* Used to apply custom text and background colors to specific dates. Can be either an array of objects containing ISO strings and colors, or a callback that receives an ISO string and returns the colors. Only applies to the `date`, `date-time`, and `time-date` presentations, with `preferWheel="false"`.
|
|
859
861
|
*/
|
|
@@ -1294,16 +1296,6 @@ export namespace Components {
|
|
|
1294
1296
|
* The color to use from your application's color palette. Default options are: `"primary"`, `"secondary"`, `"tertiary"`, `"success"`, `"warning"`, `"danger"`, `"light"`, `"medium"`, and `"dark"`. For more information on colors, see [theming](/docs/theming/basics).
|
|
1295
1297
|
*/
|
|
1296
1298
|
"color"?: Color;
|
|
1297
|
-
/**
|
|
1298
|
-
* If `true`, a character counter will display the ratio of characters used and the total character limit. Only applies when the `maxlength` property is set on the inner `ion-input` or `ion-textarea`.
|
|
1299
|
-
* @deprecated Use the `counter` property on `ion-input` or `ion-textarea` instead.
|
|
1300
|
-
*/
|
|
1301
|
-
"counter": boolean;
|
|
1302
|
-
/**
|
|
1303
|
-
* A callback used to format the counter text. By default the counter text is set to "itemLength / maxLength".
|
|
1304
|
-
* @deprecated Use the `counterFormatter` property on `ion-input` or `ion-textarea` instead.
|
|
1305
|
-
*/
|
|
1306
|
-
"counterFormatter"?: CounterFormatter;
|
|
1307
1299
|
/**
|
|
1308
1300
|
* If `true`, a detail arrow will appear on the item. Defaults to `false` unless the `mode` is `ios` and an `href` or `button` property is present.
|
|
1309
1301
|
*/
|
|
@@ -1320,11 +1312,6 @@ export namespace Components {
|
|
|
1320
1312
|
* This attribute instructs browsers to download a URL instead of navigating to it, so the user will be prompted to save it as a local file. If the attribute has a value, it is used as the pre-filled file name in the Save prompt (the user can still change the file name if they want).
|
|
1321
1313
|
*/
|
|
1322
1314
|
"download": string | undefined;
|
|
1323
|
-
/**
|
|
1324
|
-
* The fill for the item. If `"solid"` the item will have a background. If `"outline"` the item will be transparent with a border. Only available in `md` mode.
|
|
1325
|
-
* @deprecated Use the `fill` property on `ion-input` or `ion-textarea` instead.
|
|
1326
|
-
*/
|
|
1327
|
-
"fill"?: 'outline' | 'solid';
|
|
1328
1315
|
/**
|
|
1329
1316
|
* Contains a URL or a URL fragment that the hyperlink points to. If this property is set, an anchor tag will be rendered.
|
|
1330
1317
|
*/
|
|
@@ -1349,10 +1336,6 @@ export namespace Components {
|
|
|
1349
1336
|
* When using a router, it specifies the transition direction when navigating to another page using `href`.
|
|
1350
1337
|
*/
|
|
1351
1338
|
"routerDirection": RouterDirection;
|
|
1352
|
-
/**
|
|
1353
|
-
* The shape of the item. If "round" it will have increased border radius.
|
|
1354
|
-
*/
|
|
1355
|
-
"shape"?: 'round';
|
|
1356
1339
|
/**
|
|
1357
1340
|
* Specifies where to display the linked URL. Only applies when an `href` is provided. Special keywords: `"_blank"`, `"_self"`, `"_parent"`, `"_top"`.
|
|
1358
1341
|
*/
|
|
@@ -1631,7 +1614,7 @@ export namespace Components {
|
|
|
1631
1614
|
/**
|
|
1632
1615
|
* The display type of the menu. Available options: `"overlay"`, `"reveal"`, `"push"`.
|
|
1633
1616
|
*/
|
|
1634
|
-
"type"?:
|
|
1617
|
+
"type"?: MenuType;
|
|
1635
1618
|
}
|
|
1636
1619
|
interface IonMenuButton {
|
|
1637
1620
|
/**
|
|
@@ -2544,6 +2527,10 @@ export namespace Components {
|
|
|
2544
2527
|
* If `true`, enable searchbar animation.
|
|
2545
2528
|
*/
|
|
2546
2529
|
"animated": boolean;
|
|
2530
|
+
/**
|
|
2531
|
+
* Indicates whether and how the text value should be automatically capitalized as it is entered/edited by the user. Available options: `"off"`, `"none"`, `"on"`, `"sentences"`, `"words"`, `"characters"`.
|
|
2532
|
+
*/
|
|
2533
|
+
"autocapitalize": string;
|
|
2547
2534
|
/**
|
|
2548
2535
|
* Set the input's autocomplete property.
|
|
2549
2536
|
*/
|
|
@@ -2588,6 +2575,14 @@ export namespace Components {
|
|
|
2588
2575
|
* A hint to the browser for which keyboard to display. Possible values: `"none"`, `"text"`, `"tel"`, `"url"`, `"email"`, `"numeric"`, `"decimal"`, and `"search"`.
|
|
2589
2576
|
*/
|
|
2590
2577
|
"inputmode"?: 'none' | 'text' | 'tel' | 'url' | 'email' | 'numeric' | 'decimal' | 'search';
|
|
2578
|
+
/**
|
|
2579
|
+
* This attribute specifies the maximum number of characters that the user can enter.
|
|
2580
|
+
*/
|
|
2581
|
+
"maxlength"?: number;
|
|
2582
|
+
/**
|
|
2583
|
+
* This attribute specifies the minimum number of characters that the user can enter.
|
|
2584
|
+
*/
|
|
2585
|
+
"minlength"?: number;
|
|
2591
2586
|
/**
|
|
2592
2587
|
* The mode determines which platform styles to use.
|
|
2593
2588
|
*/
|
|
@@ -5504,6 +5499,10 @@ declare namespace LocalJSX {
|
|
|
5504
5499
|
* The first day of the week to use for `ion-datetime`. The default value is `0` and represents Sunday.
|
|
5505
5500
|
*/
|
|
5506
5501
|
"firstDayOfWeek"?: number;
|
|
5502
|
+
/**
|
|
5503
|
+
* Formatting options for dates and times. Should include a 'date' and/or 'time' object, each of which is of type [Intl.DateTimeFormatOptions](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DateTimeFormat/DateTimeFormat#options).
|
|
5504
|
+
*/
|
|
5505
|
+
"formatOptions"?: FormatOptions;
|
|
5507
5506
|
/**
|
|
5508
5507
|
* Used to apply custom text and background colors to specific dates. Can be either an array of objects containing ISO strings and colors, or a callback that receives an ISO string and returns the colors. Only applies to the `date`, `date-time`, and `time-date` presentations, with `preferWheel="false"`.
|
|
5509
5508
|
*/
|
|
@@ -5976,16 +5975,6 @@ declare namespace LocalJSX {
|
|
|
5976
5975
|
* The color to use from your application's color palette. Default options are: `"primary"`, `"secondary"`, `"tertiary"`, `"success"`, `"warning"`, `"danger"`, `"light"`, `"medium"`, and `"dark"`. For more information on colors, see [theming](/docs/theming/basics).
|
|
5977
5976
|
*/
|
|
5978
5977
|
"color"?: Color;
|
|
5979
|
-
/**
|
|
5980
|
-
* If `true`, a character counter will display the ratio of characters used and the total character limit. Only applies when the `maxlength` property is set on the inner `ion-input` or `ion-textarea`.
|
|
5981
|
-
* @deprecated Use the `counter` property on `ion-input` or `ion-textarea` instead.
|
|
5982
|
-
*/
|
|
5983
|
-
"counter"?: boolean;
|
|
5984
|
-
/**
|
|
5985
|
-
* A callback used to format the counter text. By default the counter text is set to "itemLength / maxLength".
|
|
5986
|
-
* @deprecated Use the `counterFormatter` property on `ion-input` or `ion-textarea` instead.
|
|
5987
|
-
*/
|
|
5988
|
-
"counterFormatter"?: CounterFormatter;
|
|
5989
5978
|
/**
|
|
5990
5979
|
* If `true`, a detail arrow will appear on the item. Defaults to `false` unless the `mode` is `ios` and an `href` or `button` property is present.
|
|
5991
5980
|
*/
|
|
@@ -6002,11 +5991,6 @@ declare namespace LocalJSX {
|
|
|
6002
5991
|
* This attribute instructs browsers to download a URL instead of navigating to it, so the user will be prompted to save it as a local file. If the attribute has a value, it is used as the pre-filled file name in the Save prompt (the user can still change the file name if they want).
|
|
6003
5992
|
*/
|
|
6004
5993
|
"download"?: string | undefined;
|
|
6005
|
-
/**
|
|
6006
|
-
* The fill for the item. If `"solid"` the item will have a background. If `"outline"` the item will be transparent with a border. Only available in `md` mode.
|
|
6007
|
-
* @deprecated Use the `fill` property on `ion-input` or `ion-textarea` instead.
|
|
6008
|
-
*/
|
|
6009
|
-
"fill"?: 'outline' | 'solid';
|
|
6010
5994
|
/**
|
|
6011
5995
|
* Contains a URL or a URL fragment that the hyperlink points to. If this property is set, an anchor tag will be rendered.
|
|
6012
5996
|
*/
|
|
@@ -6031,10 +6015,6 @@ declare namespace LocalJSX {
|
|
|
6031
6015
|
* When using a router, it specifies the transition direction when navigating to another page using `href`.
|
|
6032
6016
|
*/
|
|
6033
6017
|
"routerDirection"?: RouterDirection;
|
|
6034
|
-
/**
|
|
6035
|
-
* The shape of the item. If "round" it will have increased border radius.
|
|
6036
|
-
*/
|
|
6037
|
-
"shape"?: 'round';
|
|
6038
6018
|
/**
|
|
6039
6019
|
* Specifies where to display the linked URL. Only applies when an `href` is provided. Special keywords: `"_blank"`, `"_self"`, `"_parent"`, `"_top"`.
|
|
6040
6020
|
*/
|
|
@@ -6298,7 +6278,7 @@ declare namespace LocalJSX {
|
|
|
6298
6278
|
/**
|
|
6299
6279
|
* The display type of the menu. Available options: `"overlay"`, `"reveal"`, `"push"`.
|
|
6300
6280
|
*/
|
|
6301
|
-
"type"?:
|
|
6281
|
+
"type"?: MenuType;
|
|
6302
6282
|
}
|
|
6303
6283
|
interface IonMenuButton {
|
|
6304
6284
|
/**
|
|
@@ -7131,6 +7111,10 @@ declare namespace LocalJSX {
|
|
|
7131
7111
|
* If `true`, enable searchbar animation.
|
|
7132
7112
|
*/
|
|
7133
7113
|
"animated"?: boolean;
|
|
7114
|
+
/**
|
|
7115
|
+
* Indicates whether and how the text value should be automatically capitalized as it is entered/edited by the user. Available options: `"off"`, `"none"`, `"on"`, `"sentences"`, `"words"`, `"characters"`.
|
|
7116
|
+
*/
|
|
7117
|
+
"autocapitalize": string;
|
|
7134
7118
|
/**
|
|
7135
7119
|
* Set the input's autocomplete property.
|
|
7136
7120
|
*/
|
|
@@ -7171,6 +7155,14 @@ declare namespace LocalJSX {
|
|
|
7171
7155
|
* A hint to the browser for which keyboard to display. Possible values: `"none"`, `"text"`, `"tel"`, `"url"`, `"email"`, `"numeric"`, `"decimal"`, and `"search"`.
|
|
7172
7156
|
*/
|
|
7173
7157
|
"inputmode"?: 'none' | 'text' | 'tel' | 'url' | 'email' | 'numeric' | 'decimal' | 'search';
|
|
7158
|
+
/**
|
|
7159
|
+
* This attribute specifies the maximum number of characters that the user can enter.
|
|
7160
|
+
*/
|
|
7161
|
+
"maxlength"?: number;
|
|
7162
|
+
/**
|
|
7163
|
+
* This attribute specifies the minimum number of characters that the user can enter.
|
|
7164
|
+
*/
|
|
7165
|
+
"minlength"?: number;
|
|
7174
7166
|
/**
|
|
7175
7167
|
* The mode determines which platform styles to use.
|
|
7176
7168
|
*/
|
|
@@ -14,7 +14,7 @@ export type BackButtonEvent = CustomEvent<BackButtonEventDetail>;
|
|
|
14
14
|
* moment this file is evaluated which could be
|
|
15
15
|
* before the config is set.
|
|
16
16
|
*/
|
|
17
|
-
export declare const
|
|
17
|
+
export declare const shouldUseCloseWatcher: () => any;
|
|
18
18
|
/**
|
|
19
19
|
* When hardwareBackButton: false in config,
|
|
20
20
|
* we need to make sure we also block the default
|
|
@@ -60,7 +60,6 @@ export declare const getElementRoot: (el: HTMLElement, fallback?: HTMLElement) =
|
|
|
60
60
|
*/
|
|
61
61
|
export declare const raf: (h: FrameRequestCallback) => number;
|
|
62
62
|
export declare const hasShadowDom: (el: HTMLElement) => boolean;
|
|
63
|
-
export declare const findItemLabel: (componentEl: HTMLElement) => HTMLIonLabelElement | null;
|
|
64
63
|
export declare const focusVisibleElement: (el: HTMLElement) => void;
|
|
65
64
|
/**
|
|
66
65
|
* This method is used for Ionic's input components that use Shadow DOM. In
|