@ionic/core 8.5.7-dev.11747180955.1e468923 → 8.5.7-dev.11747676931.1d53b808
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/input-shims.js +0 -18
- package/components/ion-input-otp.d.ts +11 -0
- package/components/ion-input-otp.js +611 -0
- package/components/ion-input-password-toggle.js +3 -3
- package/components/ion-input.js +10 -2
- package/components/ion-item-divider.js +2 -2
- package/components/ion-item-group.js +1 -1
- package/components/ion-item-option.js +2 -2
- package/components/ion-item-options.js +1 -1
- package/components/ion-item-sliding.js +1 -1
- package/components/ion-loading.js +2 -2
- package/components/ion-menu-button.js +2 -2
- package/components/ion-menu-toggle.js +2 -2
- package/components/ion-menu.js +2 -2
- package/components/ion-nav-link.js +1 -1
- package/components/ion-nav.js +1 -1
- package/components/ion-note.js +2 -2
- package/components/ion-picker-legacy.js +2 -2
- package/components/ion-progress-bar.js +1 -1
- package/components/ion-range.js +3 -3
- package/components/ion-refresher-content.js +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 +4 -4
- package/components/ion-segment-button.js +2 -2
- package/components/ion-segment-content.js +1 -1
- package/components/ion-segment-view.js +2 -2
- package/components/ion-segment.js +2 -2
- package/components/ion-select-option.js +1 -1
- package/components/ion-select.js +2 -2
- 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 +2 -2
- package/components/ion-thumbnail.js +1 -1
- package/components/ion-toast.js +2 -2
- package/components/ion-toggle.js +3 -3
- package/components/label.js +2 -2
- package/components/list-header.js +2 -2
- package/components/list.js +1 -1
- package/components/modal.js +4 -4
- package/components/picker-column-option.js +2 -2
- package/components/picker-column2.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-modal.js +1 -1
- package/components/select-popover.js +1 -1
- package/components/spinner.js +1 -1
- package/components/title.js +2 -2
- package/components/toolbar.js +2 -2
- package/dist/cjs/{app-globals-CWtQHdcK.js → app-globals-DvwumQAI.js} +1 -1
- package/dist/cjs/{button-active-BzpKQ5zN.js → button-active-Du_YCFSd.js} +1 -1
- package/dist/cjs/{index-qOuhvt-6.js → index-B6-BlKCh.js} +4 -0
- package/dist/cjs/{index-CrE5792q.js → index-DCB2XSaQ.js} +1 -1
- package/dist/cjs/{index-C6GLB0dQ.js → index-QuFS9UpQ.js} +3 -3
- package/dist/cjs/index.cjs.js +7 -7
- package/dist/cjs/{input-shims-BIfSj_O3.js → input-shims-DGvxKeWy.js} +0 -18
- package/dist/cjs/ion-accordion_2.cjs.entry.js +2 -2
- package/dist/cjs/ion-action-sheet.cjs.entry.js +4 -4
- package/dist/cjs/ion-alert.cjs.entry.js +4 -4
- package/dist/cjs/ion-app_8.cjs.entry.js +10 -10
- package/dist/cjs/ion-avatar_3.cjs.entry.js +3 -3
- package/dist/cjs/ion-back-button.cjs.entry.js +2 -2
- package/dist/cjs/ion-backdrop.cjs.entry.js +2 -2
- package/dist/cjs/ion-breadcrumb_2.cjs.entry.js +2 -2
- package/dist/cjs/ion-button_2.cjs.entry.js +2 -2
- package/dist/cjs/ion-card_5.cjs.entry.js +2 -2
- package/dist/cjs/ion-checkbox.cjs.entry.js +2 -2
- package/dist/cjs/ion-chip.cjs.entry.js +2 -2
- package/dist/cjs/ion-col_3.cjs.entry.js +3 -3
- package/dist/cjs/ion-datetime-button.cjs.entry.js +2 -2
- package/dist/cjs/ion-datetime_3.cjs.entry.js +7 -7
- package/dist/cjs/ion-fab_3.cjs.entry.js +2 -2
- package/dist/cjs/ion-img.cjs.entry.js +2 -2
- package/dist/cjs/ion-infinite-scroll_2.cjs.entry.js +2 -2
- package/dist/cjs/ion-input-otp.cjs.entry.js +574 -0
- package/dist/cjs/ion-input-password-toggle.cjs.entry.js +5 -5
- package/dist/cjs/ion-input.cjs.entry.js +12 -4
- package/dist/cjs/ion-item-option_3.cjs.entry.js +6 -6
- package/dist/cjs/ion-item_8.cjs.entry.js +14 -14
- package/dist/cjs/ion-loading.cjs.entry.js +5 -5
- package/dist/cjs/ion-menu_3.cjs.entry.js +10 -10
- package/dist/cjs/ion-modal.cjs.entry.js +8 -8
- package/dist/cjs/ion-nav_2.cjs.entry.js +5 -5
- package/dist/cjs/ion-picker-column-option.cjs.entry.js +4 -4
- package/dist/cjs/ion-picker-column.cjs.entry.js +2 -2
- package/dist/cjs/ion-picker.cjs.entry.js +1 -1
- package/dist/cjs/ion-popover.cjs.entry.js +6 -6
- package/dist/cjs/ion-progress-bar.cjs.entry.js +3 -3
- package/dist/cjs/ion-radio_2.cjs.entry.js +6 -6
- package/dist/cjs/ion-range.cjs.entry.js +5 -5
- package/dist/cjs/ion-refresher_2.cjs.entry.js +4 -4
- package/dist/cjs/ion-reorder_2.cjs.entry.js +4 -4
- package/dist/cjs/ion-ripple-effect.cjs.entry.js +3 -3
- package/dist/cjs/ion-route_4.cjs.entry.js +4 -4
- package/dist/cjs/ion-searchbar.cjs.entry.js +6 -6
- package/dist/cjs/ion-segment-content.cjs.entry.js +2 -2
- package/dist/cjs/ion-segment-view.cjs.entry.js +3 -3
- package/dist/cjs/ion-segment_2.cjs.entry.js +6 -6
- package/dist/cjs/ion-select-modal.cjs.entry.js +4 -4
- package/dist/cjs/ion-select_3.cjs.entry.js +7 -7
- 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 +6 -6
- package/dist/cjs/ion-tab_2.cjs.entry.js +4 -4
- package/dist/cjs/ion-text.cjs.entry.js +4 -4
- package/dist/cjs/ion-textarea.cjs.entry.js +4 -4
- package/dist/cjs/ion-toast.cjs.entry.js +5 -5
- package/dist/cjs/ion-toggle.cjs.entry.js +5 -5
- package/dist/cjs/{ionic-global-BC3ee-Wa.js → ionic-global-C3I6b0Is.js} +1 -1
- package/dist/cjs/ionic.cjs.js +4 -4
- package/dist/cjs/{ios.transition-C9J4bBGV.js → ios.transition-CL8Q2_Bi.js} +2 -2
- package/dist/cjs/loader.cjs.js +4 -4
- package/dist/cjs/{md.transition-DT8PB4eS.js → md.transition-D1Ast6la.js} +2 -2
- package/dist/cjs/{overlays-B4rlyxhY.js → overlays-Ci3nLg5M.js} +1 -1
- package/dist/cjs/{status-tap-B8fjNFjq.js → status-tap-Bx_wzOTo.js} +1 -1
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/input/input.js +10 -2
- package/dist/collection/components/input-otp/input-otp-interface.js +1 -0
- package/dist/collection/components/input-otp/input-otp.ios.css +377 -0
- package/dist/collection/components/input-otp/input-otp.js +999 -0
- package/dist/collection/components/input-otp/input-otp.md.css +377 -0
- package/dist/collection/components/input-password-toggle/input-password-toggle.js +3 -3
- package/dist/collection/components/item-divider/item-divider.js +2 -2
- package/dist/collection/components/item-group/item-group.js +1 -1
- package/dist/collection/components/item-option/item-option.js +2 -2
- package/dist/collection/components/item-options/item-options.js +1 -1
- package/dist/collection/components/item-sliding/item-sliding.js +1 -1
- package/dist/collection/components/label/label.js +2 -2
- package/dist/collection/components/list/list.js +1 -1
- package/dist/collection/components/list-header/list-header.js +2 -2
- package/dist/collection/components/loading/loading.js +2 -2
- package/dist/collection/components/menu/menu.js +2 -2
- package/dist/collection/components/menu-button/menu-button.js +2 -2
- package/dist/collection/components/menu-toggle/menu-toggle.js +2 -2
- package/dist/collection/components/modal/modal.js +4 -4
- package/dist/collection/components/nav/nav.js +1 -1
- package/dist/collection/components/nav-link/nav-link.js +1 -1
- package/dist/collection/components/note/note.js +2 -2
- package/dist/collection/components/picker-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 +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 +1 -1
- package/dist/collection/components/row/row.js +1 -1
- package/dist/collection/components/searchbar/searchbar.js +4 -4
- package/dist/collection/components/segment/segment.js +2 -2
- package/dist/collection/components/segment-button/segment-button.js +2 -2
- package/dist/collection/components/segment-content/segment-content.js +1 -1
- package/dist/collection/components/segment-view/segment-view.js +2 -2
- package/dist/collection/components/select/select.js +2 -2
- package/dist/collection/components/select-modal/select-modal.js +1 -1
- package/dist/collection/components/select-option/select-option.js +1 -1
- package/dist/collection/components/select-popover/select-popover.js +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/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/utils/input-shims/hacks/scroll-assist.js +0 -18
- package/dist/docs.json +907 -1
- package/dist/esm/{app-globals-Ts_E1ch0.js → app-globals-C74-VMUb.js} +1 -1
- package/dist/esm/{button-active-BQqkZ_sm.js → button-active-DRCPpzqj.js} +1 -1
- package/dist/esm/{index-EP3pwcdb.js → index-3GtB1kQI.js} +4 -1
- package/dist/esm/{index-B83thFnh.js → index-lgeUQ6qY.js} +3 -3
- package/dist/esm/{index-RyWq7qIc.js → index-lp0kQfoC.js} +1 -1
- package/dist/esm/index.js +7 -7
- package/dist/esm/{input-shims-BbXgvAcA.js → input-shims-qlIPzMSm.js} +0 -18
- package/dist/esm/ion-accordion_2.entry.js +2 -2
- package/dist/esm/ion-action-sheet.entry.js +4 -4
- package/dist/esm/ion-alert.entry.js +4 -4
- package/dist/esm/ion-app_8.entry.js +10 -10
- package/dist/esm/ion-avatar_3.entry.js +3 -3
- package/dist/esm/ion-back-button.entry.js +2 -2
- package/dist/esm/ion-backdrop.entry.js +2 -2
- package/dist/esm/ion-breadcrumb_2.entry.js +2 -2
- package/dist/esm/ion-button_2.entry.js +2 -2
- package/dist/esm/ion-card_5.entry.js +2 -2
- package/dist/esm/ion-checkbox.entry.js +2 -2
- package/dist/esm/ion-chip.entry.js +2 -2
- package/dist/esm/ion-col_3.entry.js +3 -3
- package/dist/esm/ion-datetime-button.entry.js +2 -2
- package/dist/esm/ion-datetime_3.entry.js +7 -7
- package/dist/esm/ion-fab_3.entry.js +2 -2
- package/dist/esm/ion-img.entry.js +2 -2
- package/dist/esm/ion-infinite-scroll_2.entry.js +2 -2
- package/dist/esm/ion-input-otp.entry.js +572 -0
- package/dist/esm/ion-input-password-toggle.entry.js +5 -5
- package/dist/esm/ion-input.entry.js +12 -4
- package/dist/esm/ion-item-option_3.entry.js +6 -6
- package/dist/esm/ion-item_8.entry.js +14 -14
- package/dist/esm/ion-loading.entry.js +5 -5
- package/dist/esm/ion-menu_3.entry.js +10 -10
- package/dist/esm/ion-modal.entry.js +8 -8
- package/dist/esm/ion-nav_2.entry.js +5 -5
- package/dist/esm/ion-picker-column-option.entry.js +4 -4
- package/dist/esm/ion-picker-column.entry.js +2 -2
- package/dist/esm/ion-picker.entry.js +1 -1
- package/dist/esm/ion-popover.entry.js +6 -6
- package/dist/esm/ion-progress-bar.entry.js +3 -3
- package/dist/esm/ion-radio_2.entry.js +6 -6
- package/dist/esm/ion-range.entry.js +5 -5
- package/dist/esm/ion-refresher_2.entry.js +4 -4
- package/dist/esm/ion-reorder_2.entry.js +4 -4
- package/dist/esm/ion-ripple-effect.entry.js +3 -3
- package/dist/esm/ion-route_4.entry.js +4 -4
- package/dist/esm/ion-searchbar.entry.js +6 -6
- package/dist/esm/ion-segment-content.entry.js +2 -2
- package/dist/esm/ion-segment-view.entry.js +3 -3
- package/dist/esm/ion-segment_2.entry.js +6 -6
- package/dist/esm/ion-select-modal.entry.js +4 -4
- package/dist/esm/ion-select_3.entry.js +7 -7
- 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 +6 -6
- package/dist/esm/ion-tab_2.entry.js +4 -4
- package/dist/esm/ion-text.entry.js +4 -4
- package/dist/esm/ion-textarea.entry.js +4 -4
- package/dist/esm/ion-toast.entry.js +5 -5
- package/dist/esm/ion-toggle.entry.js +5 -5
- package/dist/esm/{ionic-global-DapnXdYs.js → ionic-global-Dw-MNnQB.js} +1 -1
- package/dist/esm/ionic.js +5 -5
- package/dist/esm/{ios.transition-DN6Dy4K4.js → ios.transition-Doo_7Vid.js} +2 -2
- package/dist/esm/loader.js +5 -5
- package/dist/esm/{md.transition-DR8zuFnL.js → md.transition-BbcCfRk9.js} +2 -2
- package/dist/esm/{overlays-Blhb_0oI.js → overlays-Pn0MyOv4.js} +1 -1
- package/dist/esm/{status-tap-CZEjiztV.js → status-tap-Cn5uETrs.js} +1 -1
- package/dist/html.html-data.json +160 -0
- package/dist/ionic/index.esm.js +1 -1
- package/dist/ionic/ionic.esm.js +1 -1
- package/dist/ionic/{p-d9c08f93.entry.js → p-05427be9.entry.js} +1 -1
- package/dist/ionic/{p-9a0bde6e.entry.js → p-0bc3d6d0.entry.js} +1 -1
- package/dist/ionic/{p-38921e2f.entry.js → p-0bcd3299.entry.js} +1 -1
- package/dist/ionic/{p-030daf32.entry.js → p-14d26301.entry.js} +1 -1
- package/dist/ionic/p-178084cb.entry.js +4 -0
- package/dist/ionic/{p-3edb2346.entry.js → p-1da92348.entry.js} +1 -1
- package/dist/ionic/{p-12b44c66.entry.js → p-1e9ea564.entry.js} +1 -1
- package/dist/ionic/p-1fe35f29.entry.js +4 -0
- package/dist/ionic/{p-f0c5ea4c.entry.js → p-2438054c.entry.js} +1 -1
- package/dist/ionic/{p-b2b0f539.entry.js → p-250c972f.entry.js} +1 -1
- package/dist/ionic/{p-306eab7a.entry.js → p-2517fcdf.entry.js} +1 -1
- package/dist/ionic/{p-61f52724.entry.js → p-29186993.entry.js} +1 -1
- package/dist/ionic/{p-89e3b3c6.entry.js → p-2c6931ed.entry.js} +1 -1
- package/dist/ionic/{p-112af08b.entry.js → p-2e42fa68.entry.js} +1 -1
- package/dist/ionic/{p-EP3pwcdb.js → p-3GtB1kQI.js} +2 -2
- package/dist/ionic/{p-e2e4b1f1.entry.js → p-3ca63859.entry.js} +1 -1
- package/dist/ionic/{p-bc9feb4b.entry.js → p-3fa87259.entry.js} +1 -1
- package/dist/ionic/{p-08232f2d.entry.js → p-43f012a4.entry.js} +1 -1
- package/dist/ionic/{p-ff362ebc.entry.js → p-5756b724.entry.js} +1 -1
- package/dist/ionic/{p-4a5cf7ac.entry.js → p-592db4a8.entry.js} +1 -1
- package/dist/ionic/{p-a9997b1b.entry.js → p-691fa8c7.entry.js} +1 -1
- package/dist/ionic/{p-38598652.entry.js → p-6bd192d8.entry.js} +1 -1
- package/dist/ionic/{p-d887000e.entry.js → p-7a6c96ca.entry.js} +1 -1
- package/dist/ionic/{p-df87cf2d.entry.js → p-832b6c90.entry.js} +1 -1
- package/dist/ionic/p-8c496d65.entry.js +4 -0
- package/dist/ionic/{p-46c15fe2.entry.js → p-8d7afec5.entry.js} +1 -1
- package/dist/ionic/{p-93996b12.entry.js → p-920540c6.entry.js} +1 -1
- package/dist/ionic/{p-e471e1e5.entry.js → p-9262223a.entry.js} +1 -1
- package/dist/ionic/{p-5fb997f8.entry.js → p-96d912f5.entry.js} +1 -1
- package/dist/ionic/{p-49122d48.entry.js → p-98f759e4.entry.js} +1 -1
- package/dist/ionic/{p-c19bc276.entry.js → p-99cc16fb.entry.js} +1 -1
- package/dist/ionic/{p-46a1ce99.entry.js → p-9c7d7711.entry.js} +1 -1
- package/dist/ionic/p-B7Khsp7D.js +4 -0
- package/dist/ionic/{p-DCstKNei.js → p-BBMlbfDQ.js} +1 -1
- package/dist/ionic/{p-LpklIrOy.js → p-BC2IYr2c.js} +1 -1
- package/dist/ionic/{p-Uz6zKimy.js → p-CGyDG2ar.js} +1 -1
- package/dist/ionic/p-CO_y91jJ.js +4 -0
- package/dist/ionic/{p-DPhSdjFK.js → p-CjUUcfjC.js} +1 -1
- package/dist/ionic/{p-Dnc554yu.js → p-CuVupNFU.js} +1 -1
- package/dist/ionic/{p-BSMFLyVh.js → p-DYqTiW2v.js} +1 -1
- package/dist/ionic/p-DjV8cNim.js +4 -0
- package/dist/ionic/{p-484073b5.entry.js → p-a20a15cc.entry.js} +1 -1
- package/dist/ionic/{p-5b8abc2f.entry.js → p-a22fe54d.entry.js} +1 -1
- package/dist/ionic/p-a6db87e1.entry.js +4 -0
- package/dist/ionic/{p-38dcbd40.entry.js → p-b18a4590.entry.js} +1 -1
- package/dist/ionic/{p-aeb7297a.entry.js → p-bc84650a.entry.js} +1 -1
- package/dist/ionic/p-bf6b00ab.entry.js +4 -0
- package/dist/ionic/{p-a26637b1.entry.js → p-c1b0e3b6.entry.js} +1 -1
- package/dist/ionic/{p-4119d144.entry.js → p-cde545fa.entry.js} +1 -1
- package/dist/ionic/{p-ce26cd7d.entry.js → p-d4742f5c.entry.js} +1 -1
- package/dist/ionic/{p-e426331f.entry.js → p-da105dce.entry.js} +1 -1
- package/dist/ionic/{p-a4bcf305.entry.js → p-e2d9c488.entry.js} +1 -1
- package/dist/ionic/{p-8dda7cd4.entry.js → p-e5495b3b.entry.js} +1 -1
- package/dist/ionic/{p-1a19090e.entry.js → p-e83ead65.entry.js} +1 -1
- package/dist/ionic/{p-a178af33.entry.js → p-ed36aee8.entry.js} +1 -1
- package/dist/ionic/{p-e5e82fa5.entry.js → p-ee504ce4.entry.js} +1 -1
- package/dist/ionic/{p-ade7bda6.entry.js → p-eec040ff.entry.js} +1 -1
- package/dist/ionic/{p-0434efbb.entry.js → p-f331dda5.entry.js} +1 -1
- package/dist/ionic/{p-d77d0b41.entry.js → p-f35cb090.entry.js} +1 -1
- package/dist/ionic/{p-99c93730.entry.js → p-fb714eec.entry.js} +1 -1
- package/dist/ionic/{p-c3abde95.entry.js → p-fd156864.entry.js} +1 -1
- package/dist/ionic/{p-0c2a069d.entry.js → p-ff88b250.entry.js} +1 -1
- package/dist/ionic/{p-CgRZM5_E.js → p-wsLGfiE0.js} +1 -1
- package/dist/types/components/input-otp/input-otp-interface.d.ts +21 -0
- package/dist/types/components/input-otp/input-otp.d.ts +270 -0
- package/dist/types/components.d.ts +167 -0
- package/dist/types/interface.d.ts +1 -0
- package/hydrate/index.js +701 -101
- package/hydrate/index.mjs +701 -101
- package/package.json +1 -1
- package/dist/ionic/p-07a47eb6.entry.js +0 -4
- package/dist/ionic/p-46f82b82.entry.js +0 -4
- package/dist/ionic/p-5459e444.entry.js +0 -4
- package/dist/ionic/p-83fdd9f6.entry.js +0 -4
- package/dist/ionic/p-CqNf-A5G.js +0 -4
- package/dist/ionic/p-DWFxQD6t.js +0 -4
- package/dist/ionic/p-EglNvYQn.js +0 -4
|
@@ -0,0 +1,377 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Convert a font size to a dynamic font size.
|
|
3
|
+
* Fonts that participate in Dynamic Type should use
|
|
4
|
+
* dynamic font sizes.
|
|
5
|
+
* @param size - The initial font size including the unit (i.e. px or pt)
|
|
6
|
+
* @param unit (optional) - The unit to convert to. Use this if you want to
|
|
7
|
+
* convert to a unit other than $baselineUnit.
|
|
8
|
+
*/
|
|
9
|
+
/**
|
|
10
|
+
* Convert a font size to a dynamic font size but impose
|
|
11
|
+
* a maximum font size.
|
|
12
|
+
* @param size - The initial font size including the unit (i.e. px or pt)
|
|
13
|
+
* @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).
|
|
14
|
+
* @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
|
|
15
|
+
* convert to a unit other than $baselineUnit.
|
|
16
|
+
*/
|
|
17
|
+
/**
|
|
18
|
+
* Convert a font size to a dynamic font size but impose
|
|
19
|
+
* a minimum font size.
|
|
20
|
+
* @param size - The initial font size including the unit (i.e. px or pt)
|
|
21
|
+
* @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).
|
|
22
|
+
* @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
|
|
23
|
+
* convert to a unit other than $baselineUnit.
|
|
24
|
+
*/
|
|
25
|
+
/**
|
|
26
|
+
* Convert a font size to a dynamic font size but impose
|
|
27
|
+
* maximum and minimum font sizes.
|
|
28
|
+
* @param size - The initial font size including the unit (i.e. px or pt)
|
|
29
|
+
* @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).
|
|
30
|
+
* @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).
|
|
31
|
+
* @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
|
|
32
|
+
* convert to a unit other than $baselineUnit.
|
|
33
|
+
*/
|
|
34
|
+
/**
|
|
35
|
+
* A heuristic that applies CSS to tablet
|
|
36
|
+
* viewports.
|
|
37
|
+
*
|
|
38
|
+
* Usage:
|
|
39
|
+
* @include tablet-viewport() {
|
|
40
|
+
* :host {
|
|
41
|
+
* background-color: green;
|
|
42
|
+
* }
|
|
43
|
+
* }
|
|
44
|
+
*/
|
|
45
|
+
/**
|
|
46
|
+
* A heuristic that applies CSS to mobile
|
|
47
|
+
* viewports (i.e. phones, not tablets).
|
|
48
|
+
*
|
|
49
|
+
* Usage:
|
|
50
|
+
* @include mobile-viewport() {
|
|
51
|
+
* :host {
|
|
52
|
+
* background-color: blue;
|
|
53
|
+
* }
|
|
54
|
+
* }
|
|
55
|
+
*/
|
|
56
|
+
:host {
|
|
57
|
+
/**
|
|
58
|
+
* @prop --background: Background color of the input boxes
|
|
59
|
+
*
|
|
60
|
+
* @prop --border-radius: Border radius of the input boxes
|
|
61
|
+
*
|
|
62
|
+
* @prop --border-width: Border width of the input boxes
|
|
63
|
+
* @prop --border-color: Border color of the input boxes
|
|
64
|
+
*
|
|
65
|
+
* @prop --color: Text color of the input
|
|
66
|
+
*
|
|
67
|
+
* @prop --margin-top: Top margin of the input group
|
|
68
|
+
* @prop --margin-end: Right margin if direction is left-to-right, and left margin if direction is right-to-left of the input group
|
|
69
|
+
* @prop --margin-bottom: Bottom margin of the input group
|
|
70
|
+
* @prop --margin-start: Left margin if direction is left-to-right, and right margin if direction is right-to-left of the input group
|
|
71
|
+
*
|
|
72
|
+
* @prop --padding-top: Top padding of the input group
|
|
73
|
+
* @prop --padding-end: Right padding if direction is left-to-right, and left padding if direction is right-to-left of the input group
|
|
74
|
+
* @prop --padding-bottom: Bottom padding of the input group
|
|
75
|
+
* @prop --padding-start: Left padding if direction is left-to-right, and right padding if direction is right-to-left of the input group
|
|
76
|
+
*
|
|
77
|
+
* @prop --height: Height of input boxes
|
|
78
|
+
* @prop --width: Width of input boxes
|
|
79
|
+
* @prop --min-width: Minimum width of input boxes
|
|
80
|
+
*
|
|
81
|
+
* @prop --separator-color: Color of the separator between boxes
|
|
82
|
+
* @prop --separator-width: Width of the separator between boxes
|
|
83
|
+
* @prop --separator-height: Height of the separator between boxes
|
|
84
|
+
* @prop --separator-border-radius: Border radius of the separator between boxes
|
|
85
|
+
*
|
|
86
|
+
* @prop --highlight-color-focused: The color of the highlight on the input when focused
|
|
87
|
+
* @prop --highlight-color-valid: The color of the highlight on the input when valid
|
|
88
|
+
* @prop --highlight-color-invalid: The color of the highlight on the input when invalid
|
|
89
|
+
*/
|
|
90
|
+
--margin-top: 0;
|
|
91
|
+
--margin-end: 0;
|
|
92
|
+
--margin-bottom: 0;
|
|
93
|
+
--margin-start: 0;
|
|
94
|
+
--padding-top: 16px;
|
|
95
|
+
--padding-end: 0;
|
|
96
|
+
--padding-bottom: 16px;
|
|
97
|
+
--padding-start: 0;
|
|
98
|
+
--color: initial;
|
|
99
|
+
--min-width: 40px;
|
|
100
|
+
--separator-width: 8px;
|
|
101
|
+
--separator-height: var(--separator-width);
|
|
102
|
+
--separator-border-radius: 999px;
|
|
103
|
+
--separator-color: var(--ion-color-step-150, var(--ion-background-color-step-150, #d9d9d9));
|
|
104
|
+
--highlight-color-focused: var(--ion-color-primary, #0054e9);
|
|
105
|
+
--highlight-color-valid: var(--ion-color-success, #2dd55b);
|
|
106
|
+
--highlight-color-invalid: var(--ion-color-danger, #c5000f);
|
|
107
|
+
/**
|
|
108
|
+
* This is a private API that is used to switch
|
|
109
|
+
* out the highlight color based on the state
|
|
110
|
+
* of the component without having to write
|
|
111
|
+
* different selectors for different fill variants.
|
|
112
|
+
*/
|
|
113
|
+
--highlight-color: var(--highlight-color-focused);
|
|
114
|
+
display: block;
|
|
115
|
+
position: relative;
|
|
116
|
+
font-size: 0.875rem;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
.input-otp-group {
|
|
120
|
+
-webkit-margin-start: var(--margin-start);
|
|
121
|
+
margin-inline-start: var(--margin-start);
|
|
122
|
+
-webkit-margin-end: var(--margin-end);
|
|
123
|
+
margin-inline-end: var(--margin-end);
|
|
124
|
+
margin-top: var(--margin-top);
|
|
125
|
+
margin-bottom: var(--margin-bottom);
|
|
126
|
+
-webkit-padding-start: var(--padding-start);
|
|
127
|
+
padding-inline-start: var(--padding-start);
|
|
128
|
+
-webkit-padding-end: var(--padding-end);
|
|
129
|
+
padding-inline-end: var(--padding-end);
|
|
130
|
+
padding-top: var(--padding-top);
|
|
131
|
+
padding-bottom: var(--padding-bottom);
|
|
132
|
+
display: flex;
|
|
133
|
+
align-items: center;
|
|
134
|
+
justify-content: center;
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
.native-wrapper {
|
|
138
|
+
display: flex;
|
|
139
|
+
align-items: center;
|
|
140
|
+
justify-content: center;
|
|
141
|
+
min-width: var(--min-width);
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
.native-input {
|
|
145
|
+
border-radius: var(--border-radius);
|
|
146
|
+
width: var(--width);
|
|
147
|
+
min-width: inherit;
|
|
148
|
+
height: var(--height);
|
|
149
|
+
border-width: var(--border-width);
|
|
150
|
+
border-style: solid;
|
|
151
|
+
border-color: var(--border-color);
|
|
152
|
+
background: var(--background);
|
|
153
|
+
color: var(--color);
|
|
154
|
+
font-size: inherit;
|
|
155
|
+
text-align: center;
|
|
156
|
+
appearance: none;
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
:host(.has-focus) .native-input {
|
|
160
|
+
caret-color: var(--highlight-color);
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
.input-otp-description {
|
|
164
|
+
color: var(--ion-color-step-700, var(--ion-text-color-step-300, #4d4d4d));
|
|
165
|
+
font-size: 0.75rem;
|
|
166
|
+
line-height: 1.25rem;
|
|
167
|
+
text-align: center;
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
.input-otp-separator {
|
|
171
|
+
border-radius: var(--separator-border-radius);
|
|
172
|
+
flex-shrink: 0;
|
|
173
|
+
width: var(--separator-width);
|
|
174
|
+
height: var(--separator-height);
|
|
175
|
+
background: var(--separator-color);
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
:host(.input-otp-size-small) {
|
|
179
|
+
--width: 40px;
|
|
180
|
+
--height: 40px;
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
:host(.input-otp-size-small) .input-otp-group {
|
|
184
|
+
gap: 8px;
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
:host(.input-otp-size-medium) {
|
|
188
|
+
--width: 48px;
|
|
189
|
+
--height: 48px;
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
:host(.input-otp-size-large) {
|
|
193
|
+
--width: 56px;
|
|
194
|
+
--height: 56px;
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
:host(.input-otp-size-medium) .input-otp-group,
|
|
198
|
+
:host(.input-otp-size-large) .input-otp-group {
|
|
199
|
+
gap: 12px;
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
:host(.input-otp-shape-round) {
|
|
203
|
+
--border-radius: 16px;
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
:host(.input-otp-shape-soft) {
|
|
207
|
+
--border-radius: 8px;
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
:host(.input-otp-shape-rectangular) {
|
|
211
|
+
--border-radius: 0;
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
:host(.input-otp-fill-outline) {
|
|
215
|
+
--background: none;
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
:host(.input-otp-fill-solid) {
|
|
219
|
+
--border-color: var(--ion-color-step-50, var(--ion-background-color-step-50, #f2f2f2));
|
|
220
|
+
--background: var(--ion-color-step-50, var(--ion-background-color-step-50, #f2f2f2));
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
:host(.input-otp-disabled) {
|
|
224
|
+
--color: var(--ion-color-step-350, var(--ion-text-color-step-650, #a6a6a6));
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
:host(.input-otp-fill-outline.input-otp-disabled) {
|
|
228
|
+
--background: var(--ion-color-step-50, var(--ion-background-color-step-50, #f2f2f2));
|
|
229
|
+
--border-color: var(--ion-color-step-100, var(--ion-background-color-step-100, #e6e6e6));
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
:host(.input-otp-disabled),
|
|
233
|
+
:host(.input-otp-disabled) .native-input:disabled {
|
|
234
|
+
cursor: not-allowed;
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
:host(.has-focus) .native-input:focus {
|
|
238
|
+
--border-color: var(--highlight-color);
|
|
239
|
+
outline: none;
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
:host(.input-otp-fill-outline.input-otp-readonly) {
|
|
243
|
+
--background: var(--ion-color-step-50, var(--ion-background-color-step-50, #f2f2f2));
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
:host(.input-otp-fill-solid.input-otp-disabled),
|
|
247
|
+
:host(.input-otp-fill-solid.input-otp-readonly) {
|
|
248
|
+
--border-color: var(--ion-color-step-100, var(--ion-background-color-step-100, #e6e6e6));
|
|
249
|
+
--background: var(--ion-color-step-100, var(--ion-background-color-step-100, #e6e6e6));
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
:host(.ion-touched.ion-invalid) {
|
|
253
|
+
--highlight-color: var(--highlight-color-invalid);
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
/**
|
|
257
|
+
* The component highlight is only shown
|
|
258
|
+
* on focus, so we can safely set the valid
|
|
259
|
+
* color state when valid. If we
|
|
260
|
+
* set it when .has-focus is present then
|
|
261
|
+
* the highlight color would change
|
|
262
|
+
* from the valid color to the component's
|
|
263
|
+
* color during the transition after the
|
|
264
|
+
* component loses focus.
|
|
265
|
+
*/
|
|
266
|
+
:host(.ion-valid) {
|
|
267
|
+
--highlight-color: var(--highlight-color-valid);
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
/**
|
|
271
|
+
* If the input has a validity state, the
|
|
272
|
+
* border should reflect that as a color.
|
|
273
|
+
* The invalid state should show if the input is
|
|
274
|
+
* invalid and has already been touched.
|
|
275
|
+
* The valid state should show if the input
|
|
276
|
+
* is valid, has already been touched, and
|
|
277
|
+
* is currently focused. Do not show the valid
|
|
278
|
+
* highlight when the input is blurred.
|
|
279
|
+
*/
|
|
280
|
+
:host(.has-focus.ion-valid),
|
|
281
|
+
:host(.ion-touched.ion-invalid) {
|
|
282
|
+
--border-color: var(--highlight-color);
|
|
283
|
+
}
|
|
284
|
+
|
|
285
|
+
:host(.ion-color) {
|
|
286
|
+
--highlight-color-focused: var(--ion-color-base);
|
|
287
|
+
}
|
|
288
|
+
|
|
289
|
+
:host(.input-otp-fill-outline.ion-color) .native-input,
|
|
290
|
+
:host(.input-otp-fill-solid.ion-color) .native-input:focus {
|
|
291
|
+
border-color: rgba(var(--ion-color-base-rgb), 0.6);
|
|
292
|
+
}
|
|
293
|
+
|
|
294
|
+
:host(.input-otp-fill-outline.ion-color.ion-invalid) .native-input,
|
|
295
|
+
:host(.input-otp-fill-solid.ion-color.ion-invalid) .native-input,
|
|
296
|
+
:host(.input-otp-fill-outline.ion-color.has-focus.ion-invalid) .native-input,
|
|
297
|
+
:host(.input-otp-fill-solid.ion-color.has-focus.ion-invalid) .native-input {
|
|
298
|
+
border-color: var(--ion-color-danger, #c5000f);
|
|
299
|
+
}
|
|
300
|
+
|
|
301
|
+
:host(.input-otp-fill-outline.ion-color.ion-valid) .native-input,
|
|
302
|
+
:host(.input-otp-fill-solid.ion-color.ion-valid) .native-input,
|
|
303
|
+
:host(.input-otp-fill-outline.ion-color.has-focus.ion-valid) .native-input,
|
|
304
|
+
:host(.input-otp-fill-solid.ion-color.has-focus.ion-valid) .native-input {
|
|
305
|
+
border-color: var(--ion-color-success, #2dd55b);
|
|
306
|
+
}
|
|
307
|
+
|
|
308
|
+
:host(.input-otp-fill-outline.input-otp-disabled.ion-color) .native-input {
|
|
309
|
+
border-color: rgba(var(--ion-color-base-rgb), 0.3);
|
|
310
|
+
}
|
|
311
|
+
|
|
312
|
+
/**
|
|
313
|
+
* Convert a font size to a dynamic font size.
|
|
314
|
+
* Fonts that participate in Dynamic Type should use
|
|
315
|
+
* dynamic font sizes.
|
|
316
|
+
* @param size - The initial font size including the unit (i.e. px or pt)
|
|
317
|
+
* @param unit (optional) - The unit to convert to. Use this if you want to
|
|
318
|
+
* convert to a unit other than $baselineUnit.
|
|
319
|
+
*/
|
|
320
|
+
/**
|
|
321
|
+
* Convert a font size to a dynamic font size but impose
|
|
322
|
+
* a maximum font size.
|
|
323
|
+
* @param size - The initial font size including the unit (i.e. px or pt)
|
|
324
|
+
* @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).
|
|
325
|
+
* @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
|
|
326
|
+
* convert to a unit other than $baselineUnit.
|
|
327
|
+
*/
|
|
328
|
+
/**
|
|
329
|
+
* Convert a font size to a dynamic font size but impose
|
|
330
|
+
* a minimum font size.
|
|
331
|
+
* @param size - The initial font size including the unit (i.e. px or pt)
|
|
332
|
+
* @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).
|
|
333
|
+
* @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
|
|
334
|
+
* convert to a unit other than $baselineUnit.
|
|
335
|
+
*/
|
|
336
|
+
/**
|
|
337
|
+
* Convert a font size to a dynamic font size but impose
|
|
338
|
+
* maximum and minimum font sizes.
|
|
339
|
+
* @param size - The initial font size including the unit (i.e. px or pt)
|
|
340
|
+
* @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).
|
|
341
|
+
* @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).
|
|
342
|
+
* @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
|
|
343
|
+
* convert to a unit other than $baselineUnit.
|
|
344
|
+
*/
|
|
345
|
+
/**
|
|
346
|
+
* A heuristic that applies CSS to tablet
|
|
347
|
+
* viewports.
|
|
348
|
+
*
|
|
349
|
+
* Usage:
|
|
350
|
+
* @include tablet-viewport() {
|
|
351
|
+
* :host {
|
|
352
|
+
* background-color: green;
|
|
353
|
+
* }
|
|
354
|
+
* }
|
|
355
|
+
*/
|
|
356
|
+
/**
|
|
357
|
+
* A heuristic that applies CSS to mobile
|
|
358
|
+
* viewports (i.e. phones, not tablets).
|
|
359
|
+
*
|
|
360
|
+
* Usage:
|
|
361
|
+
* @include mobile-viewport() {
|
|
362
|
+
* :host {
|
|
363
|
+
* background-color: blue;
|
|
364
|
+
* }
|
|
365
|
+
* }
|
|
366
|
+
*/
|
|
367
|
+
:host {
|
|
368
|
+
--border-width: 1px;
|
|
369
|
+
}
|
|
370
|
+
|
|
371
|
+
:host(.has-focus) .native-input:focus {
|
|
372
|
+
--border-width: 2px;
|
|
373
|
+
}
|
|
374
|
+
|
|
375
|
+
:host(.input-otp-fill-outline) {
|
|
376
|
+
--border-color: var(--ion-color-step-300, var(--ion-background-color-step-300, #b3b3b3));
|
|
377
|
+
}
|
|
@@ -60,16 +60,16 @@ export class InputPasswordToggle {
|
|
|
60
60
|
const showPasswordIcon = (_a = this.showIcon) !== null && _a !== void 0 ? _a : eye;
|
|
61
61
|
const hidePasswordIcon = (_b = this.hideIcon) !== null && _b !== void 0 ? _b : eyeOff;
|
|
62
62
|
const isPasswordVisible = type === 'text';
|
|
63
|
-
return (h(Host, { key: '
|
|
63
|
+
return (h(Host, { key: '91bc55664d496fe457518bd112865dd7811d0c17', class: createColorClasses(color, {
|
|
64
64
|
[mode]: true,
|
|
65
|
-
}) }, h("ion-button", { key: '
|
|
65
|
+
}) }, h("ion-button", { key: '99f86e2ee97ffa6dbc74a433df4e22a867889dd7', mode: mode, color: color, fill: "clear", shape: "round", "aria-checked": isPasswordVisible ? 'true' : 'false', "aria-label": "show password", role: "switch", type: "button", onPointerDown: (ev) => {
|
|
66
66
|
/**
|
|
67
67
|
* This prevents mobile browsers from
|
|
68
68
|
* blurring the input when the password toggle
|
|
69
69
|
* button is activated.
|
|
70
70
|
*/
|
|
71
71
|
ev.preventDefault();
|
|
72
|
-
}, onClick: this.togglePasswordVisibility }, h("ion-icon", { key: '
|
|
72
|
+
}, onClick: this.togglePasswordVisibility }, h("ion-icon", { key: 'e7656040b08c6a394d56f1fc41d6ca34225287d2', slot: "icon-only", "aria-hidden": "true", icon: isPasswordVisible ? hidePasswordIcon : showPasswordIcon }))));
|
|
73
73
|
}
|
|
74
74
|
static get is() { return "ion-input-password-toggle"; }
|
|
75
75
|
static get encapsulation() { return "shadow"; }
|
|
@@ -24,11 +24,11 @@ export class ItemDivider {
|
|
|
24
24
|
}
|
|
25
25
|
render() {
|
|
26
26
|
const mode = getIonMode(this);
|
|
27
|
-
return (h(Host, { key: '
|
|
27
|
+
return (h(Host, { key: '1523095ce4af3f2611512ff0948ead659959ee4a', class: createColorClasses(this.color, {
|
|
28
28
|
[mode]: true,
|
|
29
29
|
'item-divider-sticky': this.sticky,
|
|
30
30
|
item: true,
|
|
31
|
-
}) }, h("slot", { key: '
|
|
31
|
+
}) }, h("slot", { key: '39105d888e115416c3a3fe588da44b4c61f4e5fe', name: "start" }), h("div", { key: '67e16f1056bd39187f3629c1bb383b7abbda829b', class: "item-divider-inner" }, h("div", { key: 'b3a218fdcc7b9aeab6e0155340152d39fa0b6329', class: "item-divider-wrapper" }, h("slot", { key: '69d8587533b387869d34b075d02f61396858fc90' })), h("slot", { key: 'b91c654699b3b26d0012ea0c719c4a07d1fcfbaa', name: "end" }))));
|
|
32
32
|
}
|
|
33
33
|
static get is() { return "ion-item-divider"; }
|
|
34
34
|
static get encapsulation() { return "shadow"; }
|
|
@@ -6,7 +6,7 @@ import { getIonMode } from "../../global/ionic-global";
|
|
|
6
6
|
export class ItemGroup {
|
|
7
7
|
render() {
|
|
8
8
|
const mode = getIonMode(this);
|
|
9
|
-
return (h(Host, { key: '
|
|
9
|
+
return (h(Host, { key: 'e49dc8f99247d2431d7c6db01b6e021a0f5b1c37', role: "group", class: {
|
|
10
10
|
[mode]: true,
|
|
11
11
|
// Used internally for styling
|
|
12
12
|
[`item-group-${mode}`]: true,
|
|
@@ -48,12 +48,12 @@ export class ItemOption {
|
|
|
48
48
|
href: this.href,
|
|
49
49
|
target: this.target,
|
|
50
50
|
};
|
|
51
|
-
return (h(Host, { key: '
|
|
51
|
+
return (h(Host, { key: '189a0040b97163b2336bf216baa71d584c5923a8', onClick: this.onClick, class: createColorClasses(this.color, {
|
|
52
52
|
[mode]: true,
|
|
53
53
|
'item-option-disabled': disabled,
|
|
54
54
|
'item-option-expandable': expandable,
|
|
55
55
|
'ion-activatable': true,
|
|
56
|
-
}) }, h(TagType, Object.assign({ key: '
|
|
56
|
+
}) }, h(TagType, Object.assign({ key: '5a7140eb99da5ec82fe2ea3ea134513130763399' }, attrs, { class: "button-native", part: "native", disabled: disabled }), h("span", { key: '9b8577e612706b43e575c9a20f2f9d35c0d1bcb1', class: "button-inner" }, h("slot", { key: '9acb82f04e4822bfaa363cc2c4d29d5c0fec0ad6', name: "top" }), h("div", { key: '66f5fb4fdd0c39f205574c602c793dcf109c7a17', class: "horizontal-wrapper" }, h("slot", { key: '3761a32bca7c6c41b7eb394045497cfde181a62a', name: "start" }), h("slot", { key: 'a96a568955cf6962883dc6771726d3d07462da00', name: "icon-only" }), h("slot", { key: 'af5dfe5eb41456b9359bafe3615b576617ed7b57' }), h("slot", { key: '00426958066ab7b949ff966fabad5cf8a0b54079', name: "end" })), h("slot", { key: 'ae66c8bd536a9f27865f49240980d7b4b831b229', name: "bottom" })), mode === 'md' && h("ion-ripple-effect", { key: '30df6c935ef8a3f28a6bc1f3bb162ca4f80aaf26' }))));
|
|
57
57
|
}
|
|
58
58
|
static get is() { return "ion-item-option"; }
|
|
59
59
|
static get encapsulation() { return "shadow"; }
|
|
@@ -21,7 +21,7 @@ export class ItemOptions {
|
|
|
21
21
|
render() {
|
|
22
22
|
const mode = getIonMode(this);
|
|
23
23
|
const isEnd = isEndSide(this.side);
|
|
24
|
-
return (h(Host, { key: '
|
|
24
|
+
return (h(Host, { key: '05a22a505e043c2715e3805e5e26ab4668940af0', class: {
|
|
25
25
|
[mode]: true,
|
|
26
26
|
// Used internally for styling
|
|
27
27
|
[`item-options-${mode}`]: true,
|
|
@@ -390,7 +390,7 @@ export class ItemSliding {
|
|
|
390
390
|
}
|
|
391
391
|
render() {
|
|
392
392
|
const mode = getIonMode(this);
|
|
393
|
-
return (h(Host, { key: '
|
|
393
|
+
return (h(Host, { key: '9880396ad79e06117d572a27f92c4b753d1e26db', class: {
|
|
394
394
|
[mode]: true,
|
|
395
395
|
'item-sliding-active-slide': this.state !== 2 /* SlidingState.Disabled */,
|
|
396
396
|
'item-sliding-active-options-end': (this.state & 8 /* SlidingState.End */) !== 0,
|
|
@@ -53,13 +53,13 @@ export class Label {
|
|
|
53
53
|
render() {
|
|
54
54
|
const position = this.position;
|
|
55
55
|
const mode = getIonMode(this);
|
|
56
|
-
return (h(Host, { key: '
|
|
56
|
+
return (h(Host, { key: 'd6fba1a97189acc8ddfd64a2f009954a3e46e188', class: createColorClasses(this.color, {
|
|
57
57
|
[mode]: true,
|
|
58
58
|
'in-item-color': hostContext('ion-item.ion-color', this.el),
|
|
59
59
|
[`label-${position}`]: position !== undefined,
|
|
60
60
|
[`label-no-animate`]: this.noAnimate,
|
|
61
61
|
'label-rtl': document.dir === 'rtl',
|
|
62
|
-
}) }, h("slot", { key: '
|
|
62
|
+
}) }, h("slot", { key: 'ce0ab50b5700398fdf50f36d02b7ad287eb71481' })));
|
|
63
63
|
}
|
|
64
64
|
static get is() { return "ion-label"; }
|
|
65
65
|
static get encapsulation() { return "scoped"; }
|
|
@@ -29,7 +29,7 @@ export class List {
|
|
|
29
29
|
render() {
|
|
30
30
|
const mode = getIonMode(this);
|
|
31
31
|
const { lines, inset } = this;
|
|
32
|
-
return (h(Host, { key: '
|
|
32
|
+
return (h(Host, { key: '7f9943751542d2cbd49a4ad3f28e16d9949f70d4', role: "list", class: {
|
|
33
33
|
[mode]: true,
|
|
34
34
|
// Used internally for styling
|
|
35
35
|
[`list-${mode}`]: true,
|
|
@@ -11,10 +11,10 @@ export class ListHeader {
|
|
|
11
11
|
render() {
|
|
12
12
|
const { lines } = this;
|
|
13
13
|
const mode = getIonMode(this);
|
|
14
|
-
return (h(Host, { key: '
|
|
14
|
+
return (h(Host, { key: 'd9bc827ad8cc77231efddc2435831a7fc080f77d', class: createColorClasses(this.color, {
|
|
15
15
|
[mode]: true,
|
|
16
16
|
[`list-header-lines-${lines}`]: lines !== undefined,
|
|
17
|
-
}) }, h("div", { key: '
|
|
17
|
+
}) }, h("div", { key: '02dd9698304a7b2997ea1487e2f308bebea2b44c', class: "list-header-inner" }, h("slot", { key: '01d63a572c003286ae467a1ab23631e37e695042' }))));
|
|
18
18
|
}
|
|
19
19
|
static get is() { return "ion-list-header"; }
|
|
20
20
|
static get encapsulation() { return "shadow"; }
|
|
@@ -180,9 +180,9 @@ export class Loading {
|
|
|
180
180
|
* Otherwise, don't set aria-labelledby.
|
|
181
181
|
*/
|
|
182
182
|
const ariaLabelledBy = message !== undefined ? msgId : null;
|
|
183
|
-
return (h(Host, Object.assign({ key: '
|
|
183
|
+
return (h(Host, Object.assign({ key: '6369ed244c06c39aa338141bffacf7a861d7da1a', role: "dialog", "aria-modal": "true", "aria-labelledby": ariaLabelledBy, tabindex: "-1" }, htmlAttributes, { style: {
|
|
184
184
|
zIndex: `${40000 + this.overlayIndex}`,
|
|
185
|
-
}, onIonBackdropTap: this.onBackdropTap, class: Object.assign(Object.assign({}, getClassMap(this.cssClass)), { [mode]: true, 'overlay-hidden': true, 'loading-translucent': this.translucent }) }), h("ion-backdrop", { key: '
|
|
185
|
+
}, onIonBackdropTap: this.onBackdropTap, class: Object.assign(Object.assign({}, getClassMap(this.cssClass)), { [mode]: true, 'overlay-hidden': true, 'loading-translucent': this.translucent }) }), h("ion-backdrop", { key: '1fd5fd8581d59eec321e534f9116f3ec0501010a', visible: this.showBackdrop, tappable: this.backdropDismiss }), h("div", { key: 'b4028045b0c8fbb9946136d85d939d55120b867c', tabindex: "0", "aria-hidden": "true" }), h("div", { key: 'b045fb0e61cc28e8163d45be18b431918dc27c80', class: "loading-wrapper ion-overlay-wrapper" }, spinner && (h("div", { key: '2cf9df796f987d1251b3599d10a48ed87a1d0eb9', class: "loading-spinner" }, h("ion-spinner", { key: '371cd41655402326adcb1e2fe1481009a83243b2', name: spinner, "aria-hidden": "true" }))), message !== undefined && this.renderLoadingMessage(msgId)), h("div", { key: '2a5e5e66d22ee4c1cef0c93815ef023d47e7a8eb', tabindex: "0", "aria-hidden": "true" })));
|
|
186
186
|
}
|
|
187
187
|
static get is() { return "ion-loading"; }
|
|
188
188
|
static get encapsulation() { return "scoped"; }
|
|
@@ -633,14 +633,14 @@ export class Menu {
|
|
|
633
633
|
* the ionBackButton listener in the menu controller
|
|
634
634
|
* will handle closing the menu when Escape is pressed.
|
|
635
635
|
*/
|
|
636
|
-
return (h(Host, { key: '
|
|
636
|
+
return (h(Host, { key: '9e4ae9476a76781f1d228395c9af9e1c39ec82bb', onKeyDown: shouldUseCloseWatcher() ? null : this.onKeydown, role: "navigation", "aria-label": inheritedAttributes['aria-label'] || 'menu', class: {
|
|
637
637
|
[mode]: true,
|
|
638
638
|
[`menu-type-${type}`]: true,
|
|
639
639
|
'menu-enabled': !disabled,
|
|
640
640
|
[`menu-side-${side}`]: true,
|
|
641
641
|
'menu-pane-visible': isPaneVisible,
|
|
642
642
|
'split-pane-side': hostContext('ion-split-pane', el),
|
|
643
|
-
} }, h("div", { key: '
|
|
643
|
+
} }, h("div", { key: 'c6153589d872ac7e3fdf5eedfdb858eb64ccd713', class: "menu-inner", part: "container", ref: (el) => (this.menuInnerEl = el) }, h("slot", { key: '9994aac4b22f17db34c9b8b2aa56b8710b9df645' })), h("ion-backdrop", { key: 'f09ac30cc4dd2dcb10628965e659dae5a23baf98', ref: (el) => (this.backdropEl = el), class: "menu-backdrop", tappable: false, stopPropagation: false, part: "backdrop" })));
|
|
644
644
|
}
|
|
645
645
|
static get is() { return "ion-menu"; }
|
|
646
646
|
static get encapsulation() { return "shadow"; }
|
|
@@ -53,7 +53,7 @@ export class MenuButton {
|
|
|
53
53
|
type: this.type,
|
|
54
54
|
};
|
|
55
55
|
const ariaLabel = inheritedAttributes['aria-label'] || 'menu';
|
|
56
|
-
return (h(Host, { key: '
|
|
56
|
+
return (h(Host, { key: '9f0f0e50d39a6872508220c58e64bb2092a0d7ef', onClick: this.onClick, "aria-disabled": disabled ? 'true' : null, "aria-hidden": hidden ? 'true' : null, class: createColorClasses(color, {
|
|
57
57
|
[mode]: true,
|
|
58
58
|
button: true, // ion-buttons target .button
|
|
59
59
|
'menu-button-hidden': hidden,
|
|
@@ -62,7 +62,7 @@ export class MenuButton {
|
|
|
62
62
|
'in-toolbar-color': hostContext('ion-toolbar[color]', this.el),
|
|
63
63
|
'ion-activatable': true,
|
|
64
64
|
'ion-focusable': true,
|
|
65
|
-
}) }, h("button", Object.assign({ key: '
|
|
65
|
+
}) }, h("button", Object.assign({ key: 'ffebf7083d23501839970059ef8e411b571de197' }, attrs, { disabled: disabled, class: "button-native", part: "native", "aria-label": ariaLabel }), h("span", { key: 'cab0c1c763b3ce33ef11dba1d230f66126e59424', class: "button-inner" }, h("slot", { key: 'ccfd2be8479b75b5c63e97e1ca7dfe203e9b36ee' }, h("ion-icon", { key: 'ac254fe7f327b08f1ae3fcea89d5cf0e83c9a96c', part: "icon", icon: menuIcon, mode: mode, lazy: false, "aria-hidden": "true" }))), mode === 'md' && h("ion-ripple-effect", { key: 'f0f17c4ca96e3eed3c1727ee00578d40af8f0115', type: "unbounded" }))));
|
|
66
66
|
}
|
|
67
67
|
static get is() { return "ion-menu-button"; }
|
|
68
68
|
static get encapsulation() { return "shadow"; }
|
|
@@ -31,10 +31,10 @@ export class MenuToggle {
|
|
|
31
31
|
render() {
|
|
32
32
|
const mode = getIonMode(this);
|
|
33
33
|
const hidden = this.autoHide && !this.visible;
|
|
34
|
-
return (h(Host, { key: '
|
|
34
|
+
return (h(Host, { key: 'cd567114769a30bd3871ed5d15bf42aed39956e1', onClick: this.onClick, "aria-hidden": hidden ? 'true' : null, class: {
|
|
35
35
|
[mode]: true,
|
|
36
36
|
'menu-toggle-hidden': hidden,
|
|
37
|
-
} }, h("slot", { key: '
|
|
37
|
+
} }, h("slot", { key: '773d4cff95ca75f23578b1e1dca53c9933f28a33' })));
|
|
38
38
|
}
|
|
39
39
|
static get is() { return "ion-menu-toggle"; }
|
|
40
40
|
static get encapsulation() { return "shadow"; }
|
|
@@ -653,18 +653,18 @@ export class Modal {
|
|
|
653
653
|
const mode = getIonMode(this);
|
|
654
654
|
const isCardModal = presentingElement !== undefined && mode === 'ios';
|
|
655
655
|
const isHandleCycle = handleBehavior === 'cycle';
|
|
656
|
-
return (h(Host, Object.assign({ key: '
|
|
656
|
+
return (h(Host, Object.assign({ key: '0bcbdcfcd7d890eb599da3f97f21c317d34f8e0e', "no-router": true, tabindex: "-1" }, htmlAttributes, { style: {
|
|
657
657
|
zIndex: `${20000 + this.overlayIndex}`,
|
|
658
|
-
}, class: Object.assign({ [mode]: true, ['modal-default']: !isCardModal && !isSheetModal, [`modal-card`]: isCardModal, [`modal-sheet`]: isSheetModal, [`modal-no-expand-scroll`]: isSheetModal && !expandToScroll, 'overlay-hidden': true, [FOCUS_TRAP_DISABLE_CLASS]: focusTrap === false }, getClassMap(this.cssClass)), onIonBackdropTap: this.onBackdropTap, onIonModalDidPresent: this.onLifecycle, onIonModalWillPresent: this.onLifecycle, onIonModalWillDismiss: this.onLifecycle, onIonModalDidDismiss: this.onLifecycle }), h("ion-backdrop", { key: '
|
|
658
|
+
}, class: Object.assign({ [mode]: true, ['modal-default']: !isCardModal && !isSheetModal, [`modal-card`]: isCardModal, [`modal-sheet`]: isSheetModal, [`modal-no-expand-scroll`]: isSheetModal && !expandToScroll, 'overlay-hidden': true, [FOCUS_TRAP_DISABLE_CLASS]: focusTrap === false }, getClassMap(this.cssClass)), onIonBackdropTap: this.onBackdropTap, onIonModalDidPresent: this.onLifecycle, onIonModalWillPresent: this.onLifecycle, onIonModalWillDismiss: this.onLifecycle, onIonModalDidDismiss: this.onLifecycle }), h("ion-backdrop", { key: 'd72159e73daa5af7349aa9e8f695aa435eb43069', ref: (el) => (this.backdropEl = el), visible: this.showBackdrop, tappable: this.backdropDismiss, part: "backdrop" }), mode === 'ios' && h("div", { key: 'fd2d9b13676ae72473881649a397b6eacde03a03', class: "modal-shadow" }), h("div", Object.assign({ key: '908eccb1ad982dcde2dbcff0cbb18b6e60f8ba74',
|
|
659
659
|
/*
|
|
660
660
|
role and aria-modal must be used on the
|
|
661
661
|
same element. They must also be set inside the
|
|
662
662
|
shadow DOM otherwise ion-button will not be highlighted
|
|
663
663
|
when using VoiceOver: https://bugs.webkit.org/show_bug.cgi?id=247134
|
|
664
664
|
*/
|
|
665
|
-
role: "dialog" }, inheritedAttributes, { "aria-modal": "true", class: "modal-wrapper ion-overlay-wrapper", part: "content", ref: (el) => (this.wrapperEl = el) }), showHandle && (h("button", { key: '
|
|
665
|
+
role: "dialog" }, inheritedAttributes, { "aria-modal": "true", class: "modal-wrapper ion-overlay-wrapper", part: "content", ref: (el) => (this.wrapperEl = el) }), showHandle && (h("button", { key: '332dc0b40363a77c7be62331d9f26def91c790e9', class: "modal-handle",
|
|
666
666
|
// Prevents the handle from receiving keyboard focus when it does not cycle
|
|
667
|
-
tabIndex: !isHandleCycle ? -1 : 0, "aria-label": "Activate to adjust the size of the dialog overlaying the screen", onClick: isHandleCycle ? this.onHandleClick : undefined, part: "handle" })), h("slot", { key: '
|
|
667
|
+
tabIndex: !isHandleCycle ? -1 : 0, "aria-label": "Activate to adjust the size of the dialog overlaying the screen", onClick: isHandleCycle ? this.onHandleClick : undefined, part: "handle" })), h("slot", { key: 'c32698350193c450327e97049daf8b8d1fda0d0e' }))));
|
|
668
668
|
}
|
|
669
669
|
static get is() { return "ion-modal"; }
|
|
670
670
|
static get encapsulation() { return "shadow"; }
|
|
@@ -828,7 +828,7 @@ export class Nav {
|
|
|
828
828
|
}
|
|
829
829
|
}
|
|
830
830
|
render() {
|
|
831
|
-
return h("slot", { key: '
|
|
831
|
+
return h("slot", { key: '8067c9835d255daec61f33dba200fd3a6ff839a0' });
|
|
832
832
|
}
|
|
833
833
|
static get is() { return "ion-nav"; }
|
|
834
834
|
static get encapsulation() { return "shadow"; }
|
|
@@ -14,7 +14,7 @@ export class NavLink {
|
|
|
14
14
|
};
|
|
15
15
|
}
|
|
16
16
|
render() {
|
|
17
|
-
return h(Host, { key: '
|
|
17
|
+
return h(Host, { key: '6dbb1ad4f351e9215375aac11ab9b53762e07a08', onClick: this.onClick });
|
|
18
18
|
}
|
|
19
19
|
static get is() { return "ion-nav-link"; }
|
|
20
20
|
static get properties() {
|
|
@@ -10,9 +10,9 @@ import { getIonMode } from "../../global/ionic-global";
|
|
|
10
10
|
export class Note {
|
|
11
11
|
render() {
|
|
12
12
|
const mode = getIonMode(this);
|
|
13
|
-
return (h(Host, { key: '
|
|
13
|
+
return (h(Host, { key: '0ec2ef7367d867fd7588611953f696eecdf3221e', class: createColorClasses(this.color, {
|
|
14
14
|
[mode]: true,
|
|
15
|
-
}) }, h("slot", { key: '
|
|
15
|
+
}) }, h("slot", { key: 'a200b94ddffb29cf6dabe6e984220930ea7efdef' })));
|
|
16
16
|
}
|
|
17
17
|
static get is() { return "ion-note"; }
|
|
18
18
|
static get encapsulation() { return "shadow"; }
|