@ionic/core 8.8.14-dev.11784238294.131cd99d → 8.8.14-dev.11784243422.11f0110c
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/index.js +1 -1
- package/components/ion-action-sheet.js +1 -1
- package/components/ion-alert.js +1 -1
- package/components/ion-back-button.js +1 -1
- package/components/ion-button.js +1 -1
- package/components/ion-card.js +1 -1
- package/components/ion-chip.js +1 -1
- package/components/ion-datetime-button.js +1 -1
- package/components/ion-datetime.js +1 -1
- package/components/ion-fab-button.js +1 -1
- package/components/ion-img.js +1 -1
- package/components/ion-infinite-scroll-content.js +1 -1
- package/components/ion-input-password-toggle.js +1 -1
- package/components/ion-input.js +1 -1
- package/components/ion-item-option.js +1 -1
- package/components/ion-item.js +1 -1
- package/components/ion-loading.js +1 -1
- package/components/ion-menu-button.js +1 -1
- package/components/ion-menu.js +1 -1
- package/components/ion-modal.js +1 -1
- package/components/ion-popover.js +1 -1
- package/components/ion-progress-bar.js +1 -1
- package/components/ion-radio.js +1 -1
- package/components/ion-range.js +1 -1
- 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-ripple-effect.js +1 -1
- package/components/ion-router-link.js +1 -1
- package/components/ion-router-outlet.js +1 -1
- package/components/ion-row.js +1 -1
- package/components/ion-searchbar.js +1 -1
- package/components/ion-segment-button.js +1 -1
- package/components/ion-segment-content.js +1 -1
- package/components/ion-segment-view.js +1 -1
- package/components/ion-segment.js +1 -1
- package/components/ion-select-modal.js +1 -1
- package/components/ion-select-option.js +1 -1
- package/components/ion-select-popover.js +1 -1
- package/components/ion-select.js +1 -1
- package/components/ion-skeleton-text.js +1 -1
- package/components/ion-spinner.js +1 -1
- package/components/ion-split-pane.js +1 -1
- package/components/ion-tab-bar.js +1 -1
- package/components/ion-tab-button.js +1 -1
- package/components/ion-tab.js +1 -1
- package/components/ion-tabs.js +1 -1
- package/components/ion-text.js +1 -1
- package/components/ion-textarea.js +1 -1
- package/components/ion-thumbnail.js +1 -1
- package/components/ion-title.js +1 -1
- package/components/ion-toast.js +1 -1
- package/components/ion-toggle.js +1 -1
- package/components/ion-toolbar.js +1 -1
- package/components/p-279dFMvg.js +4 -0
- package/components/p-BSQPZ79H.js +4 -0
- package/components/{p-BHrrc-3d.js → p-Buf_7zcy.js} +1 -1
- package/components/p-BwKpO3Is.js +4 -0
- package/components/p-C-Rx1zny.js +4 -0
- package/components/p-CHzfYZbv.js +4 -0
- package/components/p-D4h1H_hh.js +4 -0
- package/components/{p-BSEgsdFI.js → p-DhkITZ-y.js} +1 -1
- package/components/{p-5bE_Wz4Y.js → p-DpV-p5Xs.js} +1 -1
- package/components/{p-Cfx4M1Bn.js → p-Dz74mwlk.js} +1 -1
- package/components/p-LMGfIvTf.js +4 -0
- package/components/{p-BLmJ0zRm.js → p-XJWMAP8m.js} +1 -1
- package/components/p-_lHSumhG.js +4 -0
- package/components/p-j9Da6cYO.js +4 -0
- package/components/p-jOtMJMv8.js +4 -0
- package/components/{p-B60hm8Qv.js → p-r0aq7dpt.js} +1 -1
- package/components/p-uTR_dEqg.js +4 -0
- package/components/{p-rCa2eL0j.js → p-wk2QqrAo.js} +1 -1
- package/dist/cjs/config-DWdFbSNK.js +35 -0
- package/dist/cjs/index-Cueg3U4w.js +429 -0
- package/dist/cjs/index.cjs.js +6 -6
- package/dist/cjs/ion-action-sheet.cjs.entry.js +27 -7
- package/dist/cjs/ion-alert.cjs.entry.js +64 -25
- package/dist/cjs/ion-app_8.cjs.entry.js +23 -9
- package/dist/cjs/ion-avatar_3.cjs.entry.js +1 -1
- package/dist/cjs/ion-col_3.cjs.entry.js +1 -1
- package/dist/cjs/{ion-datetime_3.cjs.entry.js → ion-datetime.cjs.entry.js} +1 -639
- package/dist/cjs/ion-img.cjs.entry.js +3 -1
- package/dist/cjs/ion-infinite-scroll_2.cjs.entry.js +3 -2
- package/dist/cjs/ion-input.cjs.entry.js +4 -4
- package/dist/cjs/ion-item_8.cjs.entry.js +2 -2
- package/dist/cjs/ion-loading.cjs.entry.js +10 -5
- package/dist/cjs/ion-menu_3.cjs.entry.js +1 -1
- package/dist/cjs/ion-modal.cjs.entry.js +23 -32
- package/dist/cjs/ion-popover.cjs.entry.js +9 -5
- package/dist/cjs/ion-progress-bar.cjs.entry.js +1 -1
- package/dist/cjs/ion-radio_2.cjs.entry.js +3 -3
- package/dist/cjs/ion-range.cjs.entry.js +3 -3
- package/dist/cjs/ion-refresher_2.cjs.entry.js +6 -5
- package/dist/cjs/ion-reorder_2.cjs.entry.js +2 -2
- package/dist/cjs/ion-ripple-effect.cjs.entry.js +1 -1
- package/dist/cjs/ion-route_4.cjs.entry.js +2 -2
- package/dist/cjs/ion-searchbar.cjs.entry.js +5 -5
- package/dist/cjs/ion-segment-content.cjs.entry.js +1 -1
- package/dist/cjs/ion-segment-view.cjs.entry.js +2 -2
- package/dist/cjs/ion-segment_2.cjs.entry.js +4 -4
- package/dist/cjs/ion-select-modal.cjs.entry.js +84 -30
- package/dist/cjs/ion-select_3.cjs.entry.js +407 -49
- package/dist/cjs/ion-spinner.cjs.entry.js +1 -1
- package/dist/cjs/ion-split-pane.cjs.entry.js +2 -2
- package/dist/cjs/ion-tab-bar_2.cjs.entry.js +4 -4
- package/dist/cjs/ion-tab_2.cjs.entry.js +3 -3
- package/dist/cjs/ion-text.cjs.entry.js +2 -2
- package/dist/cjs/ion-textarea.cjs.entry.js +2 -2
- package/dist/cjs/ion-toast.cjs.entry.js +6 -5
- package/dist/cjs/ion-toggle.cjs.entry.js +3 -3
- package/dist/cjs/ionic.cjs.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/overlay-control-label-D2sdL2O8.js +50 -0
- package/dist/cjs/{overlays-DdtIYQUH.js → overlays-DSmSrd_4.js} +27 -31
- package/dist/cjs/select-option-render-DTF50t5r.js +124 -0
- package/dist/collection/collection-manifest.json +6 -10
- package/dist/collection/components/action-sheet/action-sheet.ios.css +229 -2
- package/dist/collection/components/action-sheet/action-sheet.js +24 -5
- package/dist/collection/components/action-sheet/action-sheet.md.css +175 -2
- package/dist/collection/components/alert/alert.ios.css +280 -10
- package/dist/collection/components/alert/alert.js +59 -21
- package/dist/collection/components/alert/alert.md.css +269 -20
- package/dist/collection/components/img/img.js +6 -1
- package/dist/collection/components/input/input.js +8 -8
- package/dist/collection/components/loading/loading.js +7 -3
- package/dist/collection/components/modal/gestures/sheet.js +0 -7
- package/dist/collection/components/modal/gestures/swipe-to-close.js +0 -7
- package/dist/collection/components/modal/modal.ios.css +0 -8
- package/dist/collection/components/modal/modal.js +23 -18
- package/dist/collection/components/modal/modal.md.css +0 -8
- package/dist/collection/components/popover/popover.ios.css +15 -0
- package/dist/collection/components/popover/popover.js +7 -3
- package/dist/collection/components/popover/popover.md.css +15 -0
- package/dist/collection/components/progress-bar/progress-bar.js +1 -1
- package/dist/collection/components/radio/radio.js +4 -4
- 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 +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 +38 -5
- package/dist/collection/components/row/row.js +1 -1
- package/dist/collection/components/searchbar/searchbar.js +9 -9
- 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.ios.css +33 -0
- package/dist/collection/components/select/select.js +323 -16
- package/dist/collection/components/select/select.md.css +33 -0
- package/dist/collection/components/select-modal/select-modal.ios.css +219 -0
- package/dist/collection/components/select-modal/select-modal.js +79 -26
- package/dist/collection/components/select-modal/select-modal.md.css +165 -0
- package/dist/collection/components/select-option/select-option.js +67 -3
- package/dist/collection/components/select-popover/select-popover.ios.css +219 -0
- package/dist/collection/components/select-popover/select-popover.js +78 -26
- package/dist/collection/components/select-popover/select-popover.md.css +165 -0
- 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.js +2 -2
- 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/index.js +1 -1
- package/dist/collection/utils/overlay-control-label.js +45 -0
- package/dist/collection/utils/overlays.js +26 -30
- package/dist/collection/utils/sanitization/index.js +274 -18
- package/dist/collection/utils/select-option-render.js +119 -0
- package/dist/collection/utils/test/playwright/drag-element.js +0 -5
- package/dist/docs.json +485 -1177
- package/dist/esm/config-BwKpO3Is.js +31 -0
- package/dist/esm/{index-DV3sJJW8.js → index-AlrZKoWR.js} +1 -1
- package/dist/esm/index-DQSkZyOJ.js +424 -0
- package/dist/esm/index.js +3 -2
- package/dist/esm/ion-accordion_2.entry.js +1 -1
- package/dist/esm/ion-action-sheet.entry.js +27 -7
- package/dist/esm/ion-alert.entry.js +63 -24
- package/dist/esm/ion-app_8.entry.js +23 -9
- package/dist/esm/ion-avatar_3.entry.js +1 -1
- package/dist/esm/ion-back-button.entry.js +1 -1
- package/dist/esm/ion-breadcrumb_2.entry.js +1 -1
- package/dist/esm/ion-col_3.entry.js +1 -1
- package/dist/esm/{ion-datetime_3.entry.js → ion-datetime.entry.js} +5 -641
- package/dist/esm/ion-fab_3.entry.js +1 -1
- package/dist/esm/ion-img.entry.js +4 -2
- package/dist/esm/ion-infinite-scroll_2.entry.js +2 -1
- package/dist/esm/ion-input-password-toggle.entry.js +1 -1
- package/dist/esm/ion-input.entry.js +5 -5
- package/dist/esm/ion-item_8.entry.js +3 -3
- package/dist/esm/ion-loading.entry.js +9 -4
- package/dist/esm/ion-menu_3.entry.js +2 -2
- package/dist/esm/ion-modal.entry.js +23 -32
- package/dist/esm/ion-popover.entry.js +9 -5
- package/dist/esm/ion-progress-bar.entry.js +1 -1
- package/dist/esm/ion-radio_2.entry.js +3 -3
- package/dist/esm/ion-range.entry.js +3 -3
- package/dist/esm/ion-refresher_2.entry.js +5 -4
- package/dist/esm/ion-reorder_2.entry.js +3 -3
- package/dist/esm/ion-ripple-effect.entry.js +1 -1
- package/dist/esm/ion-route_4.entry.js +2 -2
- package/dist/esm/ion-searchbar.entry.js +6 -6
- package/dist/esm/ion-segment-content.entry.js +1 -1
- package/dist/esm/ion-segment-view.entry.js +2 -2
- package/dist/esm/ion-segment_2.entry.js +4 -4
- package/dist/esm/ion-select-modal.entry.js +84 -30
- package/dist/esm/ion-select_3.entry.js +410 -52
- package/dist/esm/ion-spinner.entry.js +1 -1
- package/dist/esm/ion-split-pane.entry.js +2 -2
- package/dist/esm/ion-tab-bar_2.entry.js +4 -4
- package/dist/esm/ion-tab_2.entry.js +3 -3
- package/dist/esm/ion-text.entry.js +2 -2
- package/dist/esm/ion-textarea.entry.js +2 -2
- package/dist/esm/ion-toast.entry.js +5 -4
- package/dist/esm/ion-toggle.entry.js +4 -4
- package/dist/esm/ionic.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/overlay-control-label-BSQPZ79H.js +47 -0
- package/dist/esm/{overlays-Dg0q2_tJ.js → overlays-DLNOHWNc.js} +28 -32
- package/dist/esm/select-option-render-B8nWZRnd.js +122 -0
- package/dist/html.html-data.json +51 -79
- package/dist/ionic/index.esm.js +1 -1
- package/dist/ionic/ionic.esm.js +1 -1
- package/dist/ionic/p-038eb991.entry.js +4 -0
- package/dist/ionic/{p-8fce95d5.entry.js → p-14095ba5.entry.js} +1 -1
- package/dist/ionic/{p-3a126bca.entry.js → p-259d0d98.entry.js} +1 -1
- package/dist/ionic/{p-fabcce6c.entry.js → p-341032b3.entry.js} +1 -1
- package/dist/ionic/{p-3a7d1e91.entry.js → p-4502a274.entry.js} +1 -1
- package/dist/ionic/p-4621c387.entry.js +4 -0
- package/dist/ionic/p-4ace7762.entry.js +4 -0
- package/dist/ionic/p-4bb3eb60.entry.js +4 -0
- package/dist/ionic/p-4e9ec5c5.entry.js +4 -0
- package/dist/ionic/{p-874b4bd8.entry.js → p-51cd1643.entry.js} +1 -1
- package/dist/ionic/p-5c3ec490.entry.js +4 -0
- package/dist/ionic/p-5d1ac2c7.entry.js +4 -0
- package/dist/ionic/{p-3ae5f277.entry.js → p-627fabd9.entry.js} +1 -1
- package/dist/ionic/{p-e0be05c5.entry.js → p-629e4703.entry.js} +1 -1
- package/dist/ionic/p-700795f6.entry.js +4 -0
- package/dist/ionic/{p-5d1da0a2.entry.js → p-76e92a84.entry.js} +1 -1
- package/dist/ionic/p-79a36078.entry.js +4 -0
- package/dist/ionic/{p-9f1103ce.entry.js → p-7a37b3ce.entry.js} +1 -1
- package/dist/ionic/{p-3353c229.entry.js → p-80b44b3c.entry.js} +1 -1
- package/dist/ionic/p-913b218a.entry.js +4 -0
- package/dist/ionic/{p-390ca786.entry.js → p-9177f4ac.entry.js} +1 -1
- package/dist/ionic/{p-DV3sJJW8.js → p-AlrZKoWR.js} +1 -1
- package/dist/ionic/p-BDtODLZ4.js +4 -0
- package/dist/ionic/p-BSQPZ79H.js +4 -0
- package/dist/ionic/p-BwKpO3Is.js +4 -0
- package/dist/ionic/p-Cg5-OQYy.js +4 -0
- package/dist/ionic/p-DCOvXkOm.js +4 -0
- package/dist/ionic/{p-4858af1f.entry.js → p-a5213260.entry.js} +1 -1
- package/dist/ionic/{p-37e720da.entry.js → p-a7628bc7.entry.js} +1 -1
- package/dist/ionic/p-a9a33367.entry.js +4 -0
- package/dist/ionic/p-ad728198.entry.js +4 -0
- package/dist/ionic/{p-ef4c3bee.entry.js → p-b1599fca.entry.js} +1 -1
- package/dist/ionic/{p-84d5ce05.entry.js → p-b9ac1fe0.entry.js} +1 -1
- package/dist/ionic/p-bfc8c629.entry.js +4 -0
- package/dist/ionic/p-c08e666a.entry.js +4 -0
- package/dist/ionic/{p-34586ead.entry.js → p-c93553d2.entry.js} +1 -1
- package/dist/ionic/p-ce7992c4.entry.js +4 -0
- package/dist/ionic/{p-75dc25ba.entry.js → p-d2c7f046.entry.js} +1 -1
- package/dist/ionic/{p-c4d8641b.entry.js → p-d8387b99.entry.js} +1 -1
- package/dist/ionic/{p-9a65ac7f.entry.js → p-db1b6738.entry.js} +1 -1
- package/dist/ionic/p-ed797c72.entry.js +4 -0
- package/dist/ionic/{p-8eb8ee76.entry.js → p-ef93ca92.entry.js} +1 -1
- package/dist/ionic/p-f09f9642.entry.js +4 -0
- package/dist/ionic/p-f1c06f82.entry.js +4 -0
- package/dist/ionic/p-f718fccb.entry.js +4 -0
- package/dist/ionic/{p-0fa9c382.entry.js → p-fe4aa1db.entry.js} +1 -1
- package/dist/types/components/img/img.d.ts +2 -0
- package/dist/types/components/input/input.d.ts +1 -1
- package/dist/types/components/modal/modal.d.ts +11 -4
- package/dist/types/components/router-outlet/router-outlet.d.ts +7 -0
- package/dist/types/components/searchbar/searchbar.d.ts +1 -1
- package/dist/types/components/select/select-interface.d.ts +31 -0
- package/dist/types/components/select/select.d.ts +18 -0
- package/dist/types/components/select-option/select-option.d.ts +42 -1
- package/dist/types/components.d.ts +72 -288
- package/dist/types/index.d.ts +1 -1
- package/dist/types/interface.d.ts +0 -1
- package/dist/types/utils/config.d.ts +0 -8
- package/dist/types/utils/overlay-control-label.d.ts +32 -0
- package/dist/types/utils/overlays.d.ts +11 -9
- package/dist/types/utils/sanitization/index.d.ts +58 -2
- package/dist/types/utils/select-option-render.d.ts +53 -0
- package/hydrate/index.js +1401 -1182
- package/hydrate/index.mjs +1401 -1182
- package/package.json +37 -5
- package/components/ion-picker-legacy-column.d.ts +0 -11
- package/components/ion-picker-legacy-column.js +0 -4
- package/components/ion-picker-legacy.d.ts +0 -11
- package/components/ion-picker-legacy.js +0 -4
- package/components/p-BIPPbW0M.js +0 -4
- package/components/p-BUYFy35a.js +0 -4
- package/components/p-BWEZufiK.js +0 -4
- package/components/p-BqpciLfi.js +0 -4
- package/components/p-BsQPAqo9.js +0 -4
- package/components/p-CRNiQiYf.js +0 -4
- package/components/p-CU5rbWAW.js +0 -4
- package/components/p-k_E4tX5Z.js +0 -4
- package/components/p-nyXeHk23.js +0 -4
- package/dist/cjs/config-xninhj0J.js +0 -201
- package/dist/collection/components/picker-legacy/animations/ios.enter.js +0 -27
- package/dist/collection/components/picker-legacy/animations/ios.leave.js +0 -23
- package/dist/collection/components/picker-legacy/picker-interface.js +0 -1
- package/dist/collection/components/picker-legacy/picker.ios.css +0 -300
- package/dist/collection/components/picker-legacy/picker.js +0 -890
- package/dist/collection/components/picker-legacy/picker.md.css +0 -287
- package/dist/collection/components/picker-legacy-column/picker-column.ios.css +0 -231
- package/dist/collection/components/picker-legacy-column/picker-column.js +0 -422
- package/dist/collection/components/picker-legacy-column/picker-column.md.css +0 -222
- package/dist/collection/components/picker-legacy-column/test/test.utils.js +0 -43
- package/dist/esm/config-DQCONYYp.js +0 -195
- package/dist/ionic/p-01f81ea5.entry.js +0 -4
- package/dist/ionic/p-0dc33652.entry.js +0 -4
- package/dist/ionic/p-20b1a044.entry.js +0 -4
- package/dist/ionic/p-21eb76d5.entry.js +0 -4
- package/dist/ionic/p-27d30585.entry.js +0 -4
- package/dist/ionic/p-2a05aa64.entry.js +0 -4
- package/dist/ionic/p-2bb2cb18.entry.js +0 -4
- package/dist/ionic/p-485fda23.entry.js +0 -4
- package/dist/ionic/p-4baa5b82.entry.js +0 -4
- package/dist/ionic/p-5018dfc8.entry.js +0 -4
- package/dist/ionic/p-50e1194a.entry.js +0 -4
- package/dist/ionic/p-5eb8e86d.entry.js +0 -4
- package/dist/ionic/p-65ebdf1b.entry.js +0 -4
- package/dist/ionic/p-6ebdbebe.entry.js +0 -4
- package/dist/ionic/p-9f9db3a2.entry.js +0 -4
- package/dist/ionic/p-D-3ycHmd.js +0 -4
- package/dist/ionic/p-DzWaWHGc.js +0 -4
- package/dist/ionic/p-a21add2f.entry.js +0 -4
- package/dist/ionic/p-ca2ab74d.entry.js +0 -4
- package/dist/ionic/p-e6a4bb56.entry.js +0 -4
- package/dist/ionic/p-ec090e0a.entry.js +0 -4
- package/dist/types/components/picker-legacy/animations/ios.enter.d.ts +0 -5
- package/dist/types/components/picker-legacy/animations/ios.leave.d.ts +0 -5
- package/dist/types/components/picker-legacy/picker-interface.d.ts +0 -52
- package/dist/types/components/picker-legacy/picker.d.ts +0 -158
- package/dist/types/components/picker-legacy-column/picker-column.d.ts +0 -46
- package/dist/types/components/picker-legacy-column/test/test.utils.d.ts +0 -9
|
@@ -25,7 +25,6 @@ import { NavComponent, NavComponentWithProps, NavOptions, RouterOutletOptions, S
|
|
|
25
25
|
import { ViewController } from "./components/nav/view-controller";
|
|
26
26
|
import { PickerChangeEventDetail } from "./components/picker/picker-interfaces";
|
|
27
27
|
import { PickerColumnChangeEventDetail, PickerColumnValue } from "./components/picker-column/picker-column-interfaces";
|
|
28
|
-
import { PickerButton, PickerColumn } from "./components/picker-legacy/picker-interface";
|
|
29
28
|
import { PopoverSize, PositionAlign, PositionReference, PositionSide, TriggerAction } from "./components/popover/popover-interface";
|
|
30
29
|
import { RadioGroupChangeEventDetail, RadioGroupCompareFn } from "./components/radio-group/radio-group-interface";
|
|
31
30
|
import { PinFormatter, RangeChangeEventDetail, RangeKnobMoveEndEventDetail, RangeKnobMoveStartEventDetail, RangeValue } from "./components/range/range-interface";
|
|
@@ -63,7 +62,6 @@ export { NavComponent, NavComponentWithProps, NavOptions, RouterOutletOptions, S
|
|
|
63
62
|
export { ViewController } from "./components/nav/view-controller";
|
|
64
63
|
export { PickerChangeEventDetail } from "./components/picker/picker-interfaces";
|
|
65
64
|
export { PickerColumnChangeEventDetail, PickerColumnValue } from "./components/picker-column/picker-column-interfaces";
|
|
66
|
-
export { PickerButton, PickerColumn } from "./components/picker-legacy/picker-interface";
|
|
67
65
|
export { PopoverSize, PositionAlign, PositionReference, PositionSide, TriggerAction } from "./components/popover/popover-interface";
|
|
68
66
|
export { RadioGroupChangeEventDetail, RadioGroupCompareFn } from "./components/radio-group/radio-group-interface";
|
|
69
67
|
export { PinFormatter, RangeChangeEventDetail, RangeKnobMoveEndEventDetail, RangeKnobMoveStartEventDetail, RangeValue } from "./components/range/range-interface";
|
|
@@ -1245,6 +1243,9 @@ export namespace Components {
|
|
|
1245
1243
|
*/
|
|
1246
1244
|
"translucent": boolean;
|
|
1247
1245
|
}
|
|
1246
|
+
/**
|
|
1247
|
+
* @deprecated
|
|
1248
|
+
*/
|
|
1248
1249
|
interface IonImg {
|
|
1249
1250
|
/**
|
|
1250
1251
|
* This attribute defines the alternative text describing the image. Users will see this text displayed if the image URL is wrong, the image is not in one of the supported formats, or if the image is not yet downloaded.
|
|
@@ -1299,9 +1300,9 @@ export namespace Components {
|
|
|
1299
1300
|
"autocomplete": AutocompleteTypes;
|
|
1300
1301
|
/**
|
|
1301
1302
|
* Whether auto correction should be enabled when the user is entering/editing the text value.
|
|
1302
|
-
* @default
|
|
1303
|
+
* @default false
|
|
1303
1304
|
*/
|
|
1304
|
-
"autocorrect":
|
|
1305
|
+
"autocorrect": boolean;
|
|
1305
1306
|
/**
|
|
1306
1307
|
* Sets the [`autofocus` attribute](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/autofocus) on the native input element. This may not be sufficient for the element to be focused on page load. See [managing focus](/docs/developing/managing-focus) for more information.
|
|
1307
1308
|
* @default false
|
|
@@ -2009,8 +2010,8 @@ export namespace Components {
|
|
|
2009
2010
|
*/
|
|
2010
2011
|
"handle"?: boolean;
|
|
2011
2012
|
/**
|
|
2012
|
-
* The interaction behavior for the sheet modal when the handle is pressed.
|
|
2013
|
-
* @default '
|
|
2013
|
+
* The interaction behavior for the sheet modal when the handle is pressed. Handle behavior is unavailable when the `handle` property is set to `false` or when the `breakpoints` property is not set (using a fullscreen or card modal). Set to `"cycle"` to make the handle focusable and let the sheet modal cycle between available breakpoints when pressed. This keeps the sheet operable with assistive technology. Set to `"none"` to make the handle purely decorative when pressed and removed from the tab order. Defaults to `"cycle"`.
|
|
2014
|
+
* @default 'cycle'
|
|
2014
2015
|
*/
|
|
2015
2016
|
"handleBehavior"?: ModalHandleBehavior;
|
|
2016
2017
|
/**
|
|
@@ -2293,107 +2294,6 @@ export namespace Components {
|
|
|
2293
2294
|
*/
|
|
2294
2295
|
"value"?: any | null;
|
|
2295
2296
|
}
|
|
2296
|
-
interface IonPickerLegacy {
|
|
2297
|
-
/**
|
|
2298
|
-
* If `true`, the picker will animate.
|
|
2299
|
-
* @default true
|
|
2300
|
-
*/
|
|
2301
|
-
"animated": boolean;
|
|
2302
|
-
/**
|
|
2303
|
-
* If `true`, the picker will be dismissed when the backdrop is clicked.
|
|
2304
|
-
* @default true
|
|
2305
|
-
*/
|
|
2306
|
-
"backdropDismiss": boolean;
|
|
2307
|
-
/**
|
|
2308
|
-
* Array of buttons to be displayed at the top of the picker.
|
|
2309
|
-
* @default []
|
|
2310
|
-
*/
|
|
2311
|
-
"buttons": PickerButton[];
|
|
2312
|
-
/**
|
|
2313
|
-
* Array of columns to be displayed in the picker.
|
|
2314
|
-
* @default []
|
|
2315
|
-
*/
|
|
2316
|
-
"columns": PickerColumn[];
|
|
2317
|
-
/**
|
|
2318
|
-
* Additional classes to apply for custom CSS. If multiple classes are provided they should be separated by spaces.
|
|
2319
|
-
*/
|
|
2320
|
-
"cssClass"?: string | string[];
|
|
2321
|
-
"delegate"?: FrameworkDelegate;
|
|
2322
|
-
/**
|
|
2323
|
-
* Dismiss the picker overlay after it has been presented.
|
|
2324
|
-
* @param data Any data to emit in the dismiss events.
|
|
2325
|
-
* @param role The role of the element that is dismissing the picker. This can be useful in a button handler for determining which button was clicked to dismiss the picker. Some examples include: ``"cancel"`, `"destructive"`, "selected"`, and `"backdrop"`.
|
|
2326
|
-
*/
|
|
2327
|
-
"dismiss": (data?: any, role?: string) => Promise<boolean>;
|
|
2328
|
-
/**
|
|
2329
|
-
* Number of milliseconds to wait before dismissing the picker.
|
|
2330
|
-
* @default 0
|
|
2331
|
-
*/
|
|
2332
|
-
"duration": number;
|
|
2333
|
-
/**
|
|
2334
|
-
* Animation to use when the picker is presented.
|
|
2335
|
-
*/
|
|
2336
|
-
"enterAnimation"?: AnimationBuilder;
|
|
2337
|
-
/**
|
|
2338
|
-
* Get the column that matches the specified name.
|
|
2339
|
-
* @param name The name of the column.
|
|
2340
|
-
*/
|
|
2341
|
-
"getColumn": (name: string) => Promise<PickerColumn | undefined>;
|
|
2342
|
-
/**
|
|
2343
|
-
* @default false
|
|
2344
|
-
*/
|
|
2345
|
-
"hasController": boolean;
|
|
2346
|
-
/**
|
|
2347
|
-
* Additional attributes to pass to the picker.
|
|
2348
|
-
*/
|
|
2349
|
-
"htmlAttributes"?: { [key: string]: any };
|
|
2350
|
-
/**
|
|
2351
|
-
* If `true`, the picker will open. If `false`, the picker will close. Use this if you need finer grained control over presentation, otherwise just use the pickerController or the `trigger` property. Note: `isOpen` will not automatically be set back to `false` when the picker dismisses. You will need to do that in your code.
|
|
2352
|
-
* @default false
|
|
2353
|
-
*/
|
|
2354
|
-
"isOpen": boolean;
|
|
2355
|
-
/**
|
|
2356
|
-
* If `true`, the keyboard will be automatically dismissed when the overlay is presented.
|
|
2357
|
-
* @default true
|
|
2358
|
-
*/
|
|
2359
|
-
"keyboardClose": boolean;
|
|
2360
|
-
/**
|
|
2361
|
-
* Animation to use when the picker is dismissed.
|
|
2362
|
-
*/
|
|
2363
|
-
"leaveAnimation"?: AnimationBuilder;
|
|
2364
|
-
/**
|
|
2365
|
-
* The mode determines which platform styles to use.
|
|
2366
|
-
*/
|
|
2367
|
-
"mode"?: "ios" | "md";
|
|
2368
|
-
/**
|
|
2369
|
-
* Returns a promise that resolves when the picker did dismiss.
|
|
2370
|
-
*/
|
|
2371
|
-
"onDidDismiss": <T = any>() => Promise<OverlayEventDetail<T>>;
|
|
2372
|
-
/**
|
|
2373
|
-
* Returns a promise that resolves when the picker will dismiss.
|
|
2374
|
-
*/
|
|
2375
|
-
"onWillDismiss": <T = any>() => Promise<OverlayEventDetail<T>>;
|
|
2376
|
-
"overlayIndex": number;
|
|
2377
|
-
/**
|
|
2378
|
-
* Present the picker overlay after it has been created.
|
|
2379
|
-
*/
|
|
2380
|
-
"present": () => Promise<void>;
|
|
2381
|
-
/**
|
|
2382
|
-
* If `true`, a backdrop will be displayed behind the picker.
|
|
2383
|
-
* @default true
|
|
2384
|
-
*/
|
|
2385
|
-
"showBackdrop": boolean;
|
|
2386
|
-
/**
|
|
2387
|
-
* An ID corresponding to the trigger element that causes the picker to open when clicked.
|
|
2388
|
-
*/
|
|
2389
|
-
"trigger": string | undefined;
|
|
2390
|
-
}
|
|
2391
|
-
interface IonPickerLegacyColumn {
|
|
2392
|
-
/**
|
|
2393
|
-
* Picker column data
|
|
2394
|
-
*/
|
|
2395
|
-
"col": PickerColumn;
|
|
2396
|
-
}
|
|
2397
2297
|
interface IonPopover {
|
|
2398
2298
|
/**
|
|
2399
2299
|
* Describes how to align the popover content with the `reference` point. Defaults to `"center"` for `ios` mode, and `"start"` for `md` mode.
|
|
@@ -2919,6 +2819,10 @@ export namespace Components {
|
|
|
2919
2819
|
*/
|
|
2920
2820
|
"mode": "ios" | "md";
|
|
2921
2821
|
"setRouteId": (id: string, params: ComponentProps | undefined, direction: RouterDirection, animation?: AnimationBuilder) => Promise<RouteWrite>;
|
|
2822
|
+
/**
|
|
2823
|
+
* If `true`, the router-outlet should allow navigation via swipe-to-go-back gesture. Defaults to `true` for `"ios"` mode and `false` for `"md"` mode.
|
|
2824
|
+
*/
|
|
2825
|
+
"swipeGesture"?: boolean;
|
|
2922
2826
|
"swipeHandler"?: SwipeGestureHandler;
|
|
2923
2827
|
}
|
|
2924
2828
|
interface IonRow {
|
|
@@ -2941,9 +2845,9 @@ export namespace Components {
|
|
|
2941
2845
|
"autocomplete": AutocompleteTypes;
|
|
2942
2846
|
/**
|
|
2943
2847
|
* Set the input's autocorrect property.
|
|
2944
|
-
* @default
|
|
2848
|
+
* @default false
|
|
2945
2849
|
*/
|
|
2946
|
-
"autocorrect":
|
|
2850
|
+
"autocorrect": boolean;
|
|
2947
2851
|
/**
|
|
2948
2852
|
* Set the cancel button icon. Only applies to `md` mode. Defaults to `arrow-back-sharp`.
|
|
2949
2853
|
* @default config.get('backButtonIcon', arrowBackSharp) as string
|
|
@@ -3246,10 +3150,26 @@ export namespace Components {
|
|
|
3246
3150
|
}
|
|
3247
3151
|
interface IonSelectOption {
|
|
3248
3152
|
/**
|
|
3249
|
-
*
|
|
3153
|
+
* Text that is placed underneath the option text to provide additional details about the option.
|
|
3154
|
+
*/
|
|
3155
|
+
"description"?: string;
|
|
3156
|
+
/**
|
|
3157
|
+
* If `true`, the user cannot interact with the select option.
|
|
3250
3158
|
* @default false
|
|
3251
3159
|
*/
|
|
3252
3160
|
"disabled": boolean;
|
|
3161
|
+
/**
|
|
3162
|
+
* How to pack the label and the option's selection control within a line. `"start"`: The label and radio will appear on the left in LTR and on the right in RTL. `"end"`: The label and radio will appear on the right in LTR and on the left in RTL. `"space-between"`: The label and radio will appear on opposite ends of the line with space between the two elements. Applies to the `alert`, `popover`, and `modal` interfaces, but has no visible effect on radio options in `popover` or `modal` on `md` (the radio control is hidden there). When unset, the interface picks a default based on mode and control type.
|
|
3163
|
+
*/
|
|
3164
|
+
"justify"?: 'start' | 'end' | 'space-between';
|
|
3165
|
+
/**
|
|
3166
|
+
* Where the label is placed relative to the option's selection control (radio circle or checkbox box) when the option is rendered in an `alert`, `popover`, or `modal` interface. `"start"`: The label will appear to the left of the radio in LTR and to the right in RTL. `"end"`: The label will appear to the right of the radio in LTR and to the left in RTL. Applies to the `alert`, `popover`, and `modal` interfaces, but has no visible effect on radio options in `popover` or `modal` on `md` (the radio control is hidden there). When unset, the interface picks a default based on mode and control type.
|
|
3167
|
+
*/
|
|
3168
|
+
"labelPlacement"?: 'start' | 'end';
|
|
3169
|
+
/**
|
|
3170
|
+
* The mode determines the platform behaviors of the component.
|
|
3171
|
+
*/
|
|
3172
|
+
"mode"?: "ios" | "md";
|
|
3253
3173
|
/**
|
|
3254
3174
|
* The text value of the option.
|
|
3255
3175
|
*/
|
|
@@ -3862,14 +3782,6 @@ export interface IonPickerColumnCustomEvent<T> extends CustomEvent<T> {
|
|
|
3862
3782
|
detail: T;
|
|
3863
3783
|
target: HTMLIonPickerColumnElement;
|
|
3864
3784
|
}
|
|
3865
|
-
export interface IonPickerLegacyCustomEvent<T> extends CustomEvent<T> {
|
|
3866
|
-
detail: T;
|
|
3867
|
-
target: HTMLIonPickerLegacyElement;
|
|
3868
|
-
}
|
|
3869
|
-
export interface IonPickerLegacyColumnCustomEvent<T> extends CustomEvent<T> {
|
|
3870
|
-
detail: T;
|
|
3871
|
-
target: HTMLIonPickerLegacyColumnElement;
|
|
3872
|
-
}
|
|
3873
3785
|
export interface IonPopoverCustomEvent<T> extends CustomEvent<T> {
|
|
3874
3786
|
detail: T;
|
|
3875
3787
|
target: HTMLIonPopoverElement;
|
|
@@ -4298,6 +4210,9 @@ declare global {
|
|
|
4298
4210
|
"ionImgDidLoad": void;
|
|
4299
4211
|
"ionError": void;
|
|
4300
4212
|
}
|
|
4213
|
+
/**
|
|
4214
|
+
* @deprecated
|
|
4215
|
+
*/
|
|
4301
4216
|
interface HTMLIonImgElement extends Components.IonImg, HTMLStencilElement {
|
|
4302
4217
|
addEventListener<K extends keyof HTMLIonImgElementEventMap>(type: K, listener: (this: HTMLIonImgElement, ev: IonImgCustomEvent<HTMLIonImgElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
4303
4218
|
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -4627,47 +4542,6 @@ declare global {
|
|
|
4627
4542
|
prototype: HTMLIonPickerColumnOptionElement;
|
|
4628
4543
|
new (): HTMLIonPickerColumnOptionElement;
|
|
4629
4544
|
};
|
|
4630
|
-
interface HTMLIonPickerLegacyElementEventMap {
|
|
4631
|
-
"ionPickerDidPresent": void;
|
|
4632
|
-
"ionPickerWillPresent": void;
|
|
4633
|
-
"ionPickerWillDismiss": OverlayEventDetail;
|
|
4634
|
-
"ionPickerDidDismiss": OverlayEventDetail;
|
|
4635
|
-
"didPresent": void;
|
|
4636
|
-
"willPresent": void;
|
|
4637
|
-
"willDismiss": OverlayEventDetail;
|
|
4638
|
-
"didDismiss": OverlayEventDetail;
|
|
4639
|
-
}
|
|
4640
|
-
interface HTMLIonPickerLegacyElement extends Components.IonPickerLegacy, HTMLStencilElement {
|
|
4641
|
-
addEventListener<K extends keyof HTMLIonPickerLegacyElementEventMap>(type: K, listener: (this: HTMLIonPickerLegacyElement, ev: IonPickerLegacyCustomEvent<HTMLIonPickerLegacyElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
4642
|
-
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
4643
|
-
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
4644
|
-
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
4645
|
-
removeEventListener<K extends keyof HTMLIonPickerLegacyElementEventMap>(type: K, listener: (this: HTMLIonPickerLegacyElement, ev: IonPickerLegacyCustomEvent<HTMLIonPickerLegacyElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
4646
|
-
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
4647
|
-
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
4648
|
-
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
4649
|
-
}
|
|
4650
|
-
var HTMLIonPickerLegacyElement: {
|
|
4651
|
-
prototype: HTMLIonPickerLegacyElement;
|
|
4652
|
-
new (): HTMLIonPickerLegacyElement;
|
|
4653
|
-
};
|
|
4654
|
-
interface HTMLIonPickerLegacyColumnElementEventMap {
|
|
4655
|
-
"ionPickerColChange": PickerColumn;
|
|
4656
|
-
}
|
|
4657
|
-
interface HTMLIonPickerLegacyColumnElement extends Components.IonPickerLegacyColumn, HTMLStencilElement {
|
|
4658
|
-
addEventListener<K extends keyof HTMLIonPickerLegacyColumnElementEventMap>(type: K, listener: (this: HTMLIonPickerLegacyColumnElement, ev: IonPickerLegacyColumnCustomEvent<HTMLIonPickerLegacyColumnElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
4659
|
-
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
4660
|
-
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
4661
|
-
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
4662
|
-
removeEventListener<K extends keyof HTMLIonPickerLegacyColumnElementEventMap>(type: K, listener: (this: HTMLIonPickerLegacyColumnElement, ev: IonPickerLegacyColumnCustomEvent<HTMLIonPickerLegacyColumnElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
4663
|
-
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
4664
|
-
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
4665
|
-
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
4666
|
-
}
|
|
4667
|
-
var HTMLIonPickerLegacyColumnElement: {
|
|
4668
|
-
prototype: HTMLIonPickerLegacyColumnElement;
|
|
4669
|
-
new (): HTMLIonPickerLegacyColumnElement;
|
|
4670
|
-
};
|
|
4671
4545
|
interface HTMLIonPopoverElementEventMap {
|
|
4672
4546
|
"ionPopoverDidPresent": void;
|
|
4673
4547
|
"ionPopoverWillPresent": void;
|
|
@@ -5265,8 +5139,6 @@ declare global {
|
|
|
5265
5139
|
"ion-picker": HTMLIonPickerElement;
|
|
5266
5140
|
"ion-picker-column": HTMLIonPickerColumnElement;
|
|
5267
5141
|
"ion-picker-column-option": HTMLIonPickerColumnOptionElement;
|
|
5268
|
-
"ion-picker-legacy": HTMLIonPickerLegacyElement;
|
|
5269
|
-
"ion-picker-legacy-column": HTMLIonPickerLegacyColumnElement;
|
|
5270
5142
|
"ion-popover": HTMLIonPopoverElement;
|
|
5271
5143
|
"ion-progress-bar": HTMLIonProgressBarElement;
|
|
5272
5144
|
"ion-radio": HTMLIonRadioElement;
|
|
@@ -6486,6 +6358,9 @@ declare namespace LocalJSX {
|
|
|
6486
6358
|
*/
|
|
6487
6359
|
"translucent"?: boolean;
|
|
6488
6360
|
}
|
|
6361
|
+
/**
|
|
6362
|
+
* @deprecated
|
|
6363
|
+
*/
|
|
6489
6364
|
interface IonImg {
|
|
6490
6365
|
/**
|
|
6491
6366
|
* This attribute defines the alternative text describing the image. Users will see this text displayed if the image URL is wrong, the image is not in one of the supported formats, or if the image is not yet downloaded.
|
|
@@ -6552,9 +6427,9 @@ declare namespace LocalJSX {
|
|
|
6552
6427
|
"autocomplete"?: AutocompleteTypes;
|
|
6553
6428
|
/**
|
|
6554
6429
|
* Whether auto correction should be enabled when the user is entering/editing the text value.
|
|
6555
|
-
* @default
|
|
6430
|
+
* @default false
|
|
6556
6431
|
*/
|
|
6557
|
-
"autocorrect"?:
|
|
6432
|
+
"autocorrect"?: boolean;
|
|
6558
6433
|
/**
|
|
6559
6434
|
* Sets the [`autofocus` attribute](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/autofocus) on the native input element. This may not be sufficient for the element to be focused on page load. See [managing focus](/docs/developing/managing-focus) for more information.
|
|
6560
6435
|
* @default false
|
|
@@ -7233,8 +7108,8 @@ declare namespace LocalJSX {
|
|
|
7233
7108
|
*/
|
|
7234
7109
|
"handle"?: boolean;
|
|
7235
7110
|
/**
|
|
7236
|
-
* The interaction behavior for the sheet modal when the handle is pressed.
|
|
7237
|
-
* @default '
|
|
7111
|
+
* The interaction behavior for the sheet modal when the handle is pressed. Handle behavior is unavailable when the `handle` property is set to `false` or when the `breakpoints` property is not set (using a fullscreen or card modal). Set to `"cycle"` to make the handle focusable and let the sheet modal cycle between available breakpoints when pressed. This keeps the sheet operable with assistive technology. Set to `"none"` to make the handle purely decorative when pressed and removed from the tab order. Defaults to `"cycle"`.
|
|
7112
|
+
* @default 'cycle'
|
|
7238
7113
|
*/
|
|
7239
7114
|
"handleBehavior"?: ModalHandleBehavior;
|
|
7240
7115
|
/**
|
|
@@ -7436,110 +7311,6 @@ declare namespace LocalJSX {
|
|
|
7436
7311
|
*/
|
|
7437
7312
|
"value"?: any | null;
|
|
7438
7313
|
}
|
|
7439
|
-
interface IonPickerLegacy {
|
|
7440
|
-
/**
|
|
7441
|
-
* If `true`, the picker will animate.
|
|
7442
|
-
* @default true
|
|
7443
|
-
*/
|
|
7444
|
-
"animated"?: boolean;
|
|
7445
|
-
/**
|
|
7446
|
-
* If `true`, the picker will be dismissed when the backdrop is clicked.
|
|
7447
|
-
* @default true
|
|
7448
|
-
*/
|
|
7449
|
-
"backdropDismiss"?: boolean;
|
|
7450
|
-
/**
|
|
7451
|
-
* Array of buttons to be displayed at the top of the picker.
|
|
7452
|
-
* @default []
|
|
7453
|
-
*/
|
|
7454
|
-
"buttons"?: PickerButton[];
|
|
7455
|
-
/**
|
|
7456
|
-
* Array of columns to be displayed in the picker.
|
|
7457
|
-
* @default []
|
|
7458
|
-
*/
|
|
7459
|
-
"columns"?: PickerColumn[];
|
|
7460
|
-
/**
|
|
7461
|
-
* Additional classes to apply for custom CSS. If multiple classes are provided they should be separated by spaces.
|
|
7462
|
-
*/
|
|
7463
|
-
"cssClass"?: string | string[];
|
|
7464
|
-
/**
|
|
7465
|
-
* Number of milliseconds to wait before dismissing the picker.
|
|
7466
|
-
* @default 0
|
|
7467
|
-
*/
|
|
7468
|
-
"duration"?: number;
|
|
7469
|
-
/**
|
|
7470
|
-
* Animation to use when the picker is presented.
|
|
7471
|
-
*/
|
|
7472
|
-
"enterAnimation"?: AnimationBuilder;
|
|
7473
|
-
/**
|
|
7474
|
-
* Additional attributes to pass to the picker.
|
|
7475
|
-
*/
|
|
7476
|
-
"htmlAttributes"?: { [key: string]: any };
|
|
7477
|
-
/**
|
|
7478
|
-
* If `true`, the picker will open. If `false`, the picker will close. Use this if you need finer grained control over presentation, otherwise just use the pickerController or the `trigger` property. Note: `isOpen` will not automatically be set back to `false` when the picker dismisses. You will need to do that in your code.
|
|
7479
|
-
* @default false
|
|
7480
|
-
*/
|
|
7481
|
-
"isOpen"?: boolean;
|
|
7482
|
-
/**
|
|
7483
|
-
* If `true`, the keyboard will be automatically dismissed when the overlay is presented.
|
|
7484
|
-
* @default true
|
|
7485
|
-
*/
|
|
7486
|
-
"keyboardClose"?: boolean;
|
|
7487
|
-
/**
|
|
7488
|
-
* Animation to use when the picker is dismissed.
|
|
7489
|
-
*/
|
|
7490
|
-
"leaveAnimation"?: AnimationBuilder;
|
|
7491
|
-
/**
|
|
7492
|
-
* The mode determines which platform styles to use.
|
|
7493
|
-
*/
|
|
7494
|
-
"mode"?: "ios" | "md";
|
|
7495
|
-
/**
|
|
7496
|
-
* Emitted after the picker has dismissed. Shorthand for ionPickerDidDismiss.
|
|
7497
|
-
*/
|
|
7498
|
-
"onDidDismiss"?: (event: IonPickerLegacyCustomEvent<OverlayEventDetail>) => void;
|
|
7499
|
-
/**
|
|
7500
|
-
* Emitted after the picker has presented. Shorthand for ionPickerWillDismiss.
|
|
7501
|
-
*/
|
|
7502
|
-
"onDidPresent"?: (event: IonPickerLegacyCustomEvent<void>) => void;
|
|
7503
|
-
/**
|
|
7504
|
-
* Emitted after the picker has dismissed.
|
|
7505
|
-
*/
|
|
7506
|
-
"onIonPickerDidDismiss"?: (event: IonPickerLegacyCustomEvent<OverlayEventDetail>) => void;
|
|
7507
|
-
/**
|
|
7508
|
-
* Emitted after the picker has presented.
|
|
7509
|
-
*/
|
|
7510
|
-
"onIonPickerDidPresent"?: (event: IonPickerLegacyCustomEvent<void>) => void;
|
|
7511
|
-
/**
|
|
7512
|
-
* Emitted before the picker has dismissed.
|
|
7513
|
-
*/
|
|
7514
|
-
"onIonPickerWillDismiss"?: (event: IonPickerLegacyCustomEvent<OverlayEventDetail>) => void;
|
|
7515
|
-
/**
|
|
7516
|
-
* Emitted before the picker has presented.
|
|
7517
|
-
*/
|
|
7518
|
-
"onIonPickerWillPresent"?: (event: IonPickerLegacyCustomEvent<void>) => void;
|
|
7519
|
-
/**
|
|
7520
|
-
* Emitted before the picker has dismissed. Shorthand for ionPickerWillDismiss.
|
|
7521
|
-
*/
|
|
7522
|
-
"onWillDismiss"?: (event: IonPickerLegacyCustomEvent<OverlayEventDetail>) => void;
|
|
7523
|
-
/**
|
|
7524
|
-
* Emitted before the picker has presented. Shorthand for ionPickerWillPresent.
|
|
7525
|
-
*/
|
|
7526
|
-
"onWillPresent"?: (event: IonPickerLegacyCustomEvent<void>) => void;
|
|
7527
|
-
/**
|
|
7528
|
-
* If `true`, a backdrop will be displayed behind the picker.
|
|
7529
|
-
* @default true
|
|
7530
|
-
*/
|
|
7531
|
-
"showBackdrop"?: boolean;
|
|
7532
|
-
/**
|
|
7533
|
-
* An ID corresponding to the trigger element that causes the picker to open when clicked.
|
|
7534
|
-
*/
|
|
7535
|
-
"trigger"?: string | undefined;
|
|
7536
|
-
}
|
|
7537
|
-
interface IonPickerLegacyColumn {
|
|
7538
|
-
/**
|
|
7539
|
-
* Picker column data
|
|
7540
|
-
*/
|
|
7541
|
-
"col": PickerColumn;
|
|
7542
|
-
}
|
|
7543
7314
|
interface IonPopover {
|
|
7544
7315
|
/**
|
|
7545
7316
|
* Describes how to align the popover content with the `reference` point. Defaults to `"center"` for `ios` mode, and `"start"` for `md` mode.
|
|
@@ -8104,6 +7875,10 @@ declare namespace LocalJSX {
|
|
|
8104
7875
|
* @default getIonMode(this)
|
|
8105
7876
|
*/
|
|
8106
7877
|
"mode"?: "ios" | "md";
|
|
7878
|
+
/**
|
|
7879
|
+
* If `true`, the router-outlet should allow navigation via swipe-to-go-back gesture. Defaults to `true` for `"ios"` mode and `false` for `"md"` mode.
|
|
7880
|
+
*/
|
|
7881
|
+
"swipeGesture"?: boolean;
|
|
8107
7882
|
}
|
|
8108
7883
|
interface IonRow {
|
|
8109
7884
|
}
|
|
@@ -8125,9 +7900,9 @@ declare namespace LocalJSX {
|
|
|
8125
7900
|
"autocomplete"?: AutocompleteTypes;
|
|
8126
7901
|
/**
|
|
8127
7902
|
* Set the input's autocorrect property.
|
|
8128
|
-
* @default
|
|
7903
|
+
* @default false
|
|
8129
7904
|
*/
|
|
8130
|
-
"autocorrect"?:
|
|
7905
|
+
"autocorrect"?: boolean;
|
|
8131
7906
|
/**
|
|
8132
7907
|
* Set the cancel button icon. Only applies to `md` mode. Defaults to `arrow-back-sharp`.
|
|
8133
7908
|
* @default config.get('backButtonIcon', arrowBackSharp) as string
|
|
@@ -8463,10 +8238,26 @@ declare namespace LocalJSX {
|
|
|
8463
8238
|
}
|
|
8464
8239
|
interface IonSelectOption {
|
|
8465
8240
|
/**
|
|
8466
|
-
*
|
|
8241
|
+
* Text that is placed underneath the option text to provide additional details about the option.
|
|
8242
|
+
*/
|
|
8243
|
+
"description"?: string;
|
|
8244
|
+
/**
|
|
8245
|
+
* If `true`, the user cannot interact with the select option.
|
|
8467
8246
|
* @default false
|
|
8468
8247
|
*/
|
|
8469
8248
|
"disabled"?: boolean;
|
|
8249
|
+
/**
|
|
8250
|
+
* How to pack the label and the option's selection control within a line. `"start"`: The label and radio will appear on the left in LTR and on the right in RTL. `"end"`: The label and radio will appear on the right in LTR and on the left in RTL. `"space-between"`: The label and radio will appear on opposite ends of the line with space between the two elements. Applies to the `alert`, `popover`, and `modal` interfaces, but has no visible effect on radio options in `popover` or `modal` on `md` (the radio control is hidden there). When unset, the interface picks a default based on mode and control type.
|
|
8251
|
+
*/
|
|
8252
|
+
"justify"?: 'start' | 'end' | 'space-between';
|
|
8253
|
+
/**
|
|
8254
|
+
* Where the label is placed relative to the option's selection control (radio circle or checkbox box) when the option is rendered in an `alert`, `popover`, or `modal` interface. `"start"`: The label will appear to the left of the radio in LTR and to the right in RTL. `"end"`: The label will appear to the right of the radio in LTR and to the left in RTL. Applies to the `alert`, `popover`, and `modal` interfaces, but has no visible effect on radio options in `popover` or `modal` on `md` (the radio control is hidden there). When unset, the interface picks a default based on mode and control type.
|
|
8255
|
+
*/
|
|
8256
|
+
"labelPlacement"?: 'start' | 'end';
|
|
8257
|
+
/**
|
|
8258
|
+
* The mode determines the platform behaviors of the component.
|
|
8259
|
+
*/
|
|
8260
|
+
"mode"?: "ios" | "md";
|
|
8470
8261
|
/**
|
|
8471
8262
|
* The text value of the option.
|
|
8472
8263
|
*/
|
|
@@ -9246,7 +9037,7 @@ declare namespace LocalJSX {
|
|
|
9246
9037
|
"color": Color;
|
|
9247
9038
|
"autocapitalize": string;
|
|
9248
9039
|
"autocomplete": AutocompleteTypes;
|
|
9249
|
-
"autocorrect":
|
|
9040
|
+
"autocorrect": boolean;
|
|
9250
9041
|
"autofocus": boolean;
|
|
9251
9042
|
"clearInput": boolean;
|
|
9252
9043
|
"clearInputIcon": string;
|
|
@@ -9414,16 +9205,6 @@ declare namespace LocalJSX {
|
|
|
9414
9205
|
"value": string;
|
|
9415
9206
|
"color": Color;
|
|
9416
9207
|
}
|
|
9417
|
-
interface IonPickerLegacyAttributes {
|
|
9418
|
-
"keyboardClose": boolean;
|
|
9419
|
-
"cssClass": string | string[];
|
|
9420
|
-
"duration": number;
|
|
9421
|
-
"showBackdrop": boolean;
|
|
9422
|
-
"backdropDismiss": boolean;
|
|
9423
|
-
"animated": boolean;
|
|
9424
|
-
"isOpen": boolean;
|
|
9425
|
-
"trigger": string | undefined;
|
|
9426
|
-
}
|
|
9427
9208
|
interface IonPopoverAttributes {
|
|
9428
9209
|
"component": ComponentRef;
|
|
9429
9210
|
"keyboardClose": boolean;
|
|
@@ -9527,13 +9308,14 @@ declare namespace LocalJSX {
|
|
|
9527
9308
|
interface IonRouterOutletAttributes {
|
|
9528
9309
|
"mode": "ios" | "md";
|
|
9529
9310
|
"animated": boolean;
|
|
9311
|
+
"swipeGesture": boolean;
|
|
9530
9312
|
}
|
|
9531
9313
|
interface IonSearchbarAttributes {
|
|
9532
9314
|
"color": Color;
|
|
9533
9315
|
"animated": boolean;
|
|
9534
9316
|
"autocapitalize": string;
|
|
9535
9317
|
"autocomplete": AutocompleteTypes;
|
|
9536
|
-
"autocorrect":
|
|
9318
|
+
"autocorrect": boolean;
|
|
9537
9319
|
"cancelButtonIcon": string;
|
|
9538
9320
|
"cancelButtonText": string;
|
|
9539
9321
|
"clearIcon": string;
|
|
@@ -9603,6 +9385,9 @@ declare namespace LocalJSX {
|
|
|
9603
9385
|
interface IonSelectOptionAttributes {
|
|
9604
9386
|
"disabled": boolean;
|
|
9605
9387
|
"value": string;
|
|
9388
|
+
"description": string;
|
|
9389
|
+
"labelPlacement": 'start' | 'end';
|
|
9390
|
+
"justify": 'start' | 'end' | 'space-between';
|
|
9606
9391
|
}
|
|
9607
9392
|
interface IonSelectPopoverAttributes {
|
|
9608
9393
|
"header": string;
|
|
@@ -9774,8 +9559,6 @@ declare namespace LocalJSX {
|
|
|
9774
9559
|
"ion-picker": IonPicker;
|
|
9775
9560
|
"ion-picker-column": Omit<IonPickerColumn, keyof IonPickerColumnAttributes> & { [K in keyof IonPickerColumn & keyof IonPickerColumnAttributes]?: IonPickerColumn[K] } & { [K in keyof IonPickerColumn & keyof IonPickerColumnAttributes as `attr:${K}`]?: IonPickerColumnAttributes[K] } & { [K in keyof IonPickerColumn & keyof IonPickerColumnAttributes as `prop:${K}`]?: IonPickerColumn[K] };
|
|
9776
9561
|
"ion-picker-column-option": Omit<IonPickerColumnOption, keyof IonPickerColumnOptionAttributes> & { [K in keyof IonPickerColumnOption & keyof IonPickerColumnOptionAttributes]?: IonPickerColumnOption[K] } & { [K in keyof IonPickerColumnOption & keyof IonPickerColumnOptionAttributes as `attr:${K}`]?: IonPickerColumnOptionAttributes[K] } & { [K in keyof IonPickerColumnOption & keyof IonPickerColumnOptionAttributes as `prop:${K}`]?: IonPickerColumnOption[K] };
|
|
9777
|
-
"ion-picker-legacy": Omit<IonPickerLegacy, keyof IonPickerLegacyAttributes> & { [K in keyof IonPickerLegacy & keyof IonPickerLegacyAttributes]?: IonPickerLegacy[K] } & { [K in keyof IonPickerLegacy & keyof IonPickerLegacyAttributes as `attr:${K}`]?: IonPickerLegacyAttributes[K] } & { [K in keyof IonPickerLegacy & keyof IonPickerLegacyAttributes as `prop:${K}`]?: IonPickerLegacy[K] };
|
|
9778
|
-
"ion-picker-legacy-column": IonPickerLegacyColumn;
|
|
9779
9562
|
"ion-popover": Omit<IonPopover, keyof IonPopoverAttributes> & { [K in keyof IonPopover & keyof IonPopoverAttributes]?: IonPopover[K] } & { [K in keyof IonPopover & keyof IonPopoverAttributes as `attr:${K}`]?: IonPopoverAttributes[K] } & { [K in keyof IonPopover & keyof IonPopoverAttributes as `prop:${K}`]?: IonPopover[K] };
|
|
9780
9563
|
"ion-progress-bar": Omit<IonProgressBar, keyof IonProgressBarAttributes> & { [K in keyof IonProgressBar & keyof IonProgressBarAttributes]?: IonProgressBar[K] } & { [K in keyof IonProgressBar & keyof IonProgressBarAttributes as `attr:${K}`]?: IonProgressBarAttributes[K] } & { [K in keyof IonProgressBar & keyof IonProgressBarAttributes as `prop:${K}`]?: IonProgressBar[K] };
|
|
9781
9564
|
"ion-radio": Omit<IonRadio, keyof IonRadioAttributes> & { [K in keyof IonRadio & keyof IonRadioAttributes]?: IonRadio[K] } & { [K in keyof IonRadio & keyof IonRadioAttributes as `attr:${K}`]?: IonRadioAttributes[K] } & { [K in keyof IonRadio & keyof IonRadioAttributes as `prop:${K}`]?: IonRadio[K] };
|
|
@@ -9851,6 +9634,9 @@ declare module "@stencil/core" {
|
|
|
9851
9634
|
"ion-footer": LocalJSX.IntrinsicElements["ion-footer"] & JSXBase.HTMLAttributes<HTMLIonFooterElement>;
|
|
9852
9635
|
"ion-grid": LocalJSX.IntrinsicElements["ion-grid"] & JSXBase.HTMLAttributes<HTMLIonGridElement>;
|
|
9853
9636
|
"ion-header": LocalJSX.IntrinsicElements["ion-header"] & JSXBase.HTMLAttributes<HTMLIonHeaderElement>;
|
|
9637
|
+
/**
|
|
9638
|
+
* @deprecated
|
|
9639
|
+
*/
|
|
9854
9640
|
"ion-img": LocalJSX.IntrinsicElements["ion-img"] & JSXBase.HTMLAttributes<HTMLIonImgElement>;
|
|
9855
9641
|
"ion-infinite-scroll": LocalJSX.IntrinsicElements["ion-infinite-scroll"] & JSXBase.HTMLAttributes<HTMLIonInfiniteScrollElement>;
|
|
9856
9642
|
"ion-infinite-scroll-content": LocalJSX.IntrinsicElements["ion-infinite-scroll-content"] & JSXBase.HTMLAttributes<HTMLIonInfiniteScrollContentElement>;
|
|
@@ -9877,8 +9663,6 @@ declare module "@stencil/core" {
|
|
|
9877
9663
|
"ion-picker": LocalJSX.IntrinsicElements["ion-picker"] & JSXBase.HTMLAttributes<HTMLIonPickerElement>;
|
|
9878
9664
|
"ion-picker-column": LocalJSX.IntrinsicElements["ion-picker-column"] & JSXBase.HTMLAttributes<HTMLIonPickerColumnElement>;
|
|
9879
9665
|
"ion-picker-column-option": LocalJSX.IntrinsicElements["ion-picker-column-option"] & JSXBase.HTMLAttributes<HTMLIonPickerColumnOptionElement>;
|
|
9880
|
-
"ion-picker-legacy": LocalJSX.IntrinsicElements["ion-picker-legacy"] & JSXBase.HTMLAttributes<HTMLIonPickerLegacyElement>;
|
|
9881
|
-
"ion-picker-legacy-column": LocalJSX.IntrinsicElements["ion-picker-legacy-column"] & JSXBase.HTMLAttributes<HTMLIonPickerLegacyColumnElement>;
|
|
9882
9666
|
"ion-popover": LocalJSX.IntrinsicElements["ion-popover"] & JSXBase.HTMLAttributes<HTMLIonPopoverElement>;
|
|
9883
9667
|
"ion-progress-bar": LocalJSX.IntrinsicElements["ion-progress-bar"] & JSXBase.HTMLAttributes<HTMLIonProgressBarElement>;
|
|
9884
9668
|
"ion-radio": LocalJSX.IntrinsicElements["ion-radio"] & JSXBase.HTMLAttributes<HTMLIonRadioElement>;
|
package/dist/types/index.d.ts
CHANGED
|
@@ -14,5 +14,5 @@ export { IonicConfig, getMode, setupConfig } from './utils/config';
|
|
|
14
14
|
export { openURL } from './utils/theme';
|
|
15
15
|
export { LIFECYCLE_WILL_ENTER, LIFECYCLE_DID_ENTER, LIFECYCLE_WILL_LEAVE, LIFECYCLE_DID_LEAVE, LIFECYCLE_WILL_UNLOAD, } from './components/nav/constants';
|
|
16
16
|
export { menuController } from './utils/menu-controller';
|
|
17
|
-
export { alertController, actionSheetController, modalController, loadingController,
|
|
17
|
+
export { alertController, actionSheetController, modalController, loadingController, popoverController, toastController, } from './utils/overlays';
|
|
18
18
|
export { IonicSlides } from './components/slides/IonicSlides';
|
|
@@ -19,7 +19,6 @@ export { LoadingOptions } from './components/loading/loading-interface';
|
|
|
19
19
|
export { MenuCustomEvent, MenuI, MenuControllerI } from './components/menu/menu-interface';
|
|
20
20
|
export { ModalOptions, ModalCustomEvent, ModalDragEventDetail } from './components/modal/modal-interface';
|
|
21
21
|
export { NavDirection, NavCustomEvent } from './components/nav/nav-interface';
|
|
22
|
-
export { PickerOptions, PickerColumnOption } from './components/picker-legacy/picker-interface';
|
|
23
22
|
export { PopoverOptions } from './components/popover/popover-interface';
|
|
24
23
|
export { RadioGroupCustomEvent } from './components/radio-group/radio-group-interface';
|
|
25
24
|
export { RangeCustomEvent, PinFormatter } from './components/range/range-interface';
|
|
@@ -117,10 +117,6 @@ export interface IonicConfig {
|
|
|
117
117
|
* Provides a custom enter animation for all `ion-toast`, overriding the default "animation".
|
|
118
118
|
*/
|
|
119
119
|
toastEnter?: AnimationBuilder;
|
|
120
|
-
/**
|
|
121
|
-
* Provides a custom enter animation for all `ion-picker-legacy`, overriding the default "animation".
|
|
122
|
-
*/
|
|
123
|
-
pickerEnter?: AnimationBuilder;
|
|
124
120
|
/**
|
|
125
121
|
* Provides a custom leave animation for all `ion-action-sheet`, overriding the default "animation".
|
|
126
122
|
*/
|
|
@@ -145,10 +141,6 @@ export interface IonicConfig {
|
|
|
145
141
|
* Provides a custom leave animation for all `ion-toast`, overriding the default "animation".
|
|
146
142
|
*/
|
|
147
143
|
toastLeave?: AnimationBuilder;
|
|
148
|
-
/**
|
|
149
|
-
* Provides a custom leave animation for all `ion-picker-legacy`, overriding the default "animation".
|
|
150
|
-
*/
|
|
151
|
-
pickerLeave?: AnimationBuilder;
|
|
152
144
|
/**
|
|
153
145
|
* If `true`, Ionic will enable a basic DOM sanitizer on component properties that accept custom HTML.
|
|
154
146
|
*/
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import type { Mode } from '../interface';
|
|
2
|
+
/**
|
|
3
|
+
* Returns the default `labelPlacement` for a radio or checkbox option
|
|
4
|
+
* rendered inside an overlay. Defaults follow each mode's established
|
|
5
|
+
* option-row layout:
|
|
6
|
+
* - `ios`: `"start"` for radio in `alert` and `popover`. The `modal`
|
|
7
|
+
* interface flips iOS radio back to `"end"`. Checkbox is always
|
|
8
|
+
* `"end"` on iOS.
|
|
9
|
+
* - everything else (e.g. `md`): `"end"`.
|
|
10
|
+
*
|
|
11
|
+
* `interfaceType` is optional; only `"modal"` changes the result, so
|
|
12
|
+
* callers that aren't a modal can omit it.
|
|
13
|
+
*
|
|
14
|
+
* Used by `select-popover` and `select-modal` as the fallback when an
|
|
15
|
+
* option doesn't explicitly set `labelPlacement`.
|
|
16
|
+
*/
|
|
17
|
+
export declare const getOverlayLabelPlacement: (mode: Mode, control: "radio" | "checkbox", interfaceType?: "alert" | "popover" | "modal") => "start" | "end";
|
|
18
|
+
/**
|
|
19
|
+
* Returns the default `justify` for a radio or checkbox option rendered
|
|
20
|
+
* inside an overlay. Defaults follow each mode's option-row layout:
|
|
21
|
+
* - `ios`: `"space-between"` for radio in `alert` and `popover`. The
|
|
22
|
+
* `modal` interface falls back to `"start"`. Checkbox is always `"start"`
|
|
23
|
+
* on iOS.
|
|
24
|
+
* - everything else (e.g. `md`): `"start"`.
|
|
25
|
+
*
|
|
26
|
+
* `interfaceType` is optional; only `"modal"` changes the result, so
|
|
27
|
+
* callers that aren't a modal can omit it.
|
|
28
|
+
*
|
|
29
|
+
* Used by `select-popover` and `select-modal` as the fallback when an
|
|
30
|
+
* option doesn't explicitly set `justify`.
|
|
31
|
+
*/
|
|
32
|
+
export declare const getOverlayLabelJustify: (mode: Mode, control: "radio" | "checkbox", interfaceType?: "alert" | "popover" | "modal") => "start" | "end" | "space-between";
|