@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
|
@@ -37,6 +37,7 @@
|
|
|
37
37
|
"components/infinite-scroll/infinite-scroll.js",
|
|
38
38
|
"components/infinite-scroll-content/infinite-scroll-content.js",
|
|
39
39
|
"components/input/input.js",
|
|
40
|
+
"components/input-otp/input-otp.js",
|
|
40
41
|
"components/input-password-toggle/input-password-toggle.js",
|
|
41
42
|
"components/list/list.js",
|
|
42
43
|
"components/radio-group/radio-group.js",
|
|
@@ -485,14 +485,22 @@ export class Input {
|
|
|
485
485
|
'in-item': inItem,
|
|
486
486
|
'in-item-color': hostContext('ion-item.ion-color', this.el),
|
|
487
487
|
'input-disabled': disabled,
|
|
488
|
-
}) }, h("label", { key: '697c6decb1fb8403777db7a37f54853863421ad9', class: "input-wrapper", htmlFor: inputId }, this.renderLabelContainer(), h("div", { key: 'd35f44c3afcf8e075f7f845416cb8500606d3546', class: "native-wrapper" }, h("slot", { key: '41ef868873ffd8262d53fd1a5e506c62030dc3f1', name: "start" }), h("input", Object.assign({ key: 'd98e0aaa285b5424e9589ce36ed4f9910a6859cd', class: "native-input", ref: (input) => (this.nativeInput = input), id: inputId, disabled: disabled, autoCapitalize: this.autocapitalize, autoComplete: this.autocomplete, autoCorrect: this.autocorrect, autoFocus: this.autofocus, enterKeyHint: this.enterkeyhint, inputMode: this.inputmode, min: this.min, max: this.max, minLength: this.minlength, maxLength: this.maxlength, multiple: this.multiple, name: this.name, pattern: this.pattern, placeholder: this.placeholder || '', readOnly: readonly, required: this.required, spellcheck: this.spellcheck, step: this.step, type: this.type, value: value, onInput: this.onInput, onChange: this.onChange, onBlur: this.onBlur, onFocus: this.onFocus, onKeyDown: this.onKeydown, onCompositionstart: this.onCompositionStart, onCompositionend: this.onCompositionEnd, "aria-describedby": this.getHintTextID(), "aria-invalid": this.getHintTextID() === this.errorTextId }, this.inheritedAttributes)), this.clearInput && !readonly && !disabled && (h("button", { key: '
|
|
488
|
+
}) }, h("label", { key: '697c6decb1fb8403777db7a37f54853863421ad9', class: "input-wrapper", htmlFor: inputId }, this.renderLabelContainer(), h("div", { key: 'd35f44c3afcf8e075f7f845416cb8500606d3546', class: "native-wrapper" }, h("slot", { key: '41ef868873ffd8262d53fd1a5e506c62030dc3f1', name: "start" }), h("input", Object.assign({ key: 'd98e0aaa285b5424e9589ce36ed4f9910a6859cd', class: "native-input", ref: (input) => (this.nativeInput = input), id: inputId, disabled: disabled, autoCapitalize: this.autocapitalize, autoComplete: this.autocomplete, autoCorrect: this.autocorrect, autoFocus: this.autofocus, enterKeyHint: this.enterkeyhint, inputMode: this.inputmode, min: this.min, max: this.max, minLength: this.minlength, maxLength: this.maxlength, multiple: this.multiple, name: this.name, pattern: this.pattern, placeholder: this.placeholder || '', readOnly: readonly, required: this.required, spellcheck: this.spellcheck, step: this.step, type: this.type, value: value, onInput: this.onInput, onChange: this.onChange, onBlur: this.onBlur, onFocus: this.onFocus, onKeyDown: this.onKeydown, onCompositionstart: this.onCompositionStart, onCompositionend: this.onCompositionEnd, "aria-describedby": this.getHintTextID(), "aria-invalid": this.getHintTextID() === this.errorTextId }, this.inheritedAttributes)), this.clearInput && !readonly && !disabled && (h("button", { key: '367d1a1c2eb69d4887fe29ab96ead3230d7dd513', "aria-label": "reset", type: "button", class: "input-clear-icon", onPointerDown: (ev) => {
|
|
489
489
|
/**
|
|
490
490
|
* This prevents mobile browsers from
|
|
491
491
|
* blurring the input when the clear
|
|
492
492
|
* button is activated.
|
|
493
493
|
*/
|
|
494
494
|
ev.preventDefault();
|
|
495
|
-
},
|
|
495
|
+
}, onFocusin: (ev) => {
|
|
496
|
+
/**
|
|
497
|
+
* Prevent the focusin event from bubbling otherwise it will cause the focusin
|
|
498
|
+
* event listener in scroll assist to fire. When this fires, focus will be moved
|
|
499
|
+
* back to the input even if the clear button was never tapped. This poses issues
|
|
500
|
+
* for screen readers as it means users would be unable to swipe past the clear button.
|
|
501
|
+
*/
|
|
502
|
+
ev.stopPropagation();
|
|
503
|
+
}, onClick: this.clearTextInput }, h("ion-icon", { key: '69afc5c7ea6bfa1bff301635281b536e84277965', "aria-hidden": "true", icon: clearIconData }))), h("slot", { key: '6f770a0ab703b4d19e936a0e1955274bc9f3e941', name: "end" })), shouldRenderHighlight && h("div", { key: 'a048e240432c4d5e11b2c92fa99a0cff07f9a778', class: "input-highlight" })), this.renderBottomContent()));
|
|
496
504
|
}
|
|
497
505
|
static get is() { return "ion-input"; }
|
|
498
506
|
static get encapsulation() { return "scoped"; }
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -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: 0.55px;
|
|
369
|
+
}
|
|
370
|
+
|
|
371
|
+
:host(.has-focus) .native-input:focus {
|
|
372
|
+
--border-width: 1px;
|
|
373
|
+
}
|
|
374
|
+
|
|
375
|
+
:host(.input-otp-fill-outline) {
|
|
376
|
+
--border-color: var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-250, var(--ion-background-color-step-250, #c8c7cc))));
|
|
377
|
+
}
|