@ionic/core 8.5.7-dev.11747858611.1d1dc603 → 8.5.7-dev.11747949628.1b740070
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/ion-input-password-toggle.js +3 -3
- 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-DvwumQAI.js → app-globals-CWtQHdcK.js} +1 -1
- package/dist/cjs/{button-active-Du_YCFSd.js → button-active-BzpKQ5zN.js} +1 -1
- package/dist/cjs/{index-QuFS9UpQ.js → index-C6GLB0dQ.js} +3 -3
- package/dist/cjs/{index-DCB2XSaQ.js → index-CrE5792q.js} +1 -1
- package/dist/cjs/{index-B6-BlKCh.js → index-qOuhvt-6.js} +0 -4
- package/dist/cjs/index.cjs.js +7 -7
- 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 +9 -9
- 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-password-toggle.cjs.entry.js +5 -5
- package/dist/cjs/ion-input.cjs.entry.js +2 -2
- 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-C3I6b0Is.js → ionic-global-BC3ee-Wa.js} +1 -1
- package/dist/cjs/ionic.cjs.js +4 -4
- package/dist/cjs/{ios.transition-CL8Q2_Bi.js → ios.transition-C9J4bBGV.js} +2 -2
- package/dist/cjs/loader.cjs.js +4 -4
- package/dist/cjs/{md.transition-D1Ast6la.js → md.transition-DT8PB4eS.js} +2 -2
- package/dist/cjs/{overlays-Ci3nLg5M.js → overlays-B4rlyxhY.js} +1 -1
- package/dist/cjs/{status-tap-Bx_wzOTo.js → status-tap-B8fjNFjq.js} +1 -1
- package/dist/collection/collection-manifest.json +0 -1
- 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/docs.json +1 -907
- package/dist/esm/{app-globals-C74-VMUb.js → app-globals-Ts_E1ch0.js} +1 -1
- package/dist/esm/{button-active-DRCPpzqj.js → button-active-BQqkZ_sm.js} +1 -1
- package/dist/esm/{index-lgeUQ6qY.js → index-B83thFnh.js} +3 -3
- package/dist/esm/{index-3GtB1kQI.js → index-EP3pwcdb.js} +1 -4
- package/dist/esm/{index-lp0kQfoC.js → index-RyWq7qIc.js} +1 -1
- package/dist/esm/index.js +7 -7
- 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 +9 -9
- 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-password-toggle.entry.js +5 -5
- package/dist/esm/ion-input.entry.js +2 -2
- 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-Dw-MNnQB.js → ionic-global-DapnXdYs.js} +1 -1
- package/dist/esm/ionic.js +5 -5
- package/dist/esm/{ios.transition-Doo_7Vid.js → ios.transition-DN6Dy4K4.js} +2 -2
- package/dist/esm/loader.js +5 -5
- package/dist/esm/{md.transition-BbcCfRk9.js → md.transition-DR8zuFnL.js} +2 -2
- package/dist/esm/{overlays-Pn0MyOv4.js → overlays-Blhb_0oI.js} +1 -1
- package/dist/esm/{status-tap-Cn5uETrs.js → status-tap-CZEjiztV.js} +1 -1
- package/dist/html.html-data.json +0 -160
- package/dist/ionic/index.esm.js +1 -1
- package/dist/ionic/ionic.esm.js +1 -1
- package/dist/ionic/{p-14d26301.entry.js → p-030daf32.entry.js} +1 -1
- package/dist/ionic/{p-f331dda5.entry.js → p-0434efbb.entry.js} +1 -1
- package/dist/ionic/p-07a47eb6.entry.js +4 -0
- package/dist/ionic/{p-43f012a4.entry.js → p-08232f2d.entry.js} +1 -1
- package/dist/ionic/{p-ff88b250.entry.js → p-0c2a069d.entry.js} +1 -1
- package/dist/ionic/{p-2e42fa68.entry.js → p-112af08b.entry.js} +1 -1
- package/dist/ionic/{p-1e9ea564.entry.js → p-12b44c66.entry.js} +1 -1
- package/dist/ionic/{p-e83ead65.entry.js → p-1a19090e.entry.js} +1 -1
- package/dist/ionic/{p-2517fcdf.entry.js → p-306eab7a.entry.js} +1 -1
- package/dist/ionic/{p-6bd192d8.entry.js → p-38598652.entry.js} +1 -1
- package/dist/ionic/{p-0bcd3299.entry.js → p-38921e2f.entry.js} +1 -1
- package/dist/ionic/{p-b18a4590.entry.js → p-38dcbd40.entry.js} +1 -1
- package/dist/ionic/{p-1da92348.entry.js → p-3edb2346.entry.js} +1 -1
- package/dist/ionic/{p-cde545fa.entry.js → p-4119d144.entry.js} +1 -1
- package/dist/ionic/{p-9c7d7711.entry.js → p-46a1ce99.entry.js} +1 -1
- package/dist/ionic/{p-8d7afec5.entry.js → p-46c15fe2.entry.js} +1 -1
- package/dist/ionic/p-46f82b82.entry.js +4 -0
- package/dist/ionic/{p-a20a15cc.entry.js → p-484073b5.entry.js} +1 -1
- package/dist/ionic/{p-98f759e4.entry.js → p-49122d48.entry.js} +1 -1
- package/dist/ionic/{p-592db4a8.entry.js → p-4a5cf7ac.entry.js} +1 -1
- package/dist/ionic/p-5459e444.entry.js +4 -0
- package/dist/ionic/{p-a22fe54d.entry.js → p-5b8abc2f.entry.js} +1 -1
- package/dist/ionic/{p-96d912f5.entry.js → p-5fb997f8.entry.js} +1 -1
- package/dist/ionic/{p-29186993.entry.js → p-61f52724.entry.js} +1 -1
- package/dist/ionic/{p-2c6931ed.entry.js → p-89e3b3c6.entry.js} +1 -1
- package/dist/ionic/{p-e5495b3b.entry.js → p-8dda7cd4.entry.js} +1 -1
- package/dist/ionic/{p-920540c6.entry.js → p-93996b12.entry.js} +1 -1
- package/dist/ionic/{p-178084cb.entry.js → p-94375099.entry.js} +1 -1
- package/dist/ionic/{p-fb714eec.entry.js → p-99c93730.entry.js} +1 -1
- package/dist/ionic/{p-0bc3d6d0.entry.js → p-9a0bde6e.entry.js} +1 -1
- package/dist/ionic/{p-DYqTiW2v.js → p-BSMFLyVh.js} +1 -1
- package/dist/ionic/{p-wsLGfiE0.js → p-CgRZM5_E.js} +1 -1
- package/dist/ionic/p-CqNf-A5G.js +4 -0
- package/dist/ionic/{p-BBMlbfDQ.js → p-DCstKNei.js} +1 -1
- package/dist/ionic/{p-CjUUcfjC.js → p-DPhSdjFK.js} +1 -1
- package/dist/ionic/{p-CuVupNFU.js → p-Dnc554yu.js} +1 -1
- package/dist/ionic/{p-3GtB1kQI.js → p-EP3pwcdb.js} +2 -2
- package/dist/ionic/p-EglNvYQn.js +4 -0
- package/dist/ionic/{p-BC2IYr2c.js → p-LpklIrOy.js} +1 -1
- package/dist/ionic/{p-CGyDG2ar.js → p-Uz6zKimy.js} +1 -1
- package/dist/ionic/{p-ed36aee8.entry.js → p-a178af33.entry.js} +1 -1
- package/dist/ionic/{p-c1b0e3b6.entry.js → p-a26637b1.entry.js} +1 -1
- package/dist/ionic/{p-e2d9c488.entry.js → p-a4bcf305.entry.js} +1 -1
- package/dist/ionic/{p-691fa8c7.entry.js → p-a9997b1b.entry.js} +1 -1
- package/dist/ionic/{p-eec040ff.entry.js → p-ade7bda6.entry.js} +1 -1
- package/dist/ionic/{p-bc84650a.entry.js → p-aeb7297a.entry.js} +1 -1
- package/dist/ionic/{p-250c972f.entry.js → p-b2b0f539.entry.js} +1 -1
- package/dist/ionic/{p-3fa87259.entry.js → p-bc9feb4b.entry.js} +1 -1
- package/dist/ionic/{p-99cc16fb.entry.js → p-c19bc276.entry.js} +1 -1
- package/dist/ionic/{p-fd156864.entry.js → p-c3abde95.entry.js} +1 -1
- package/dist/ionic/{p-832b6c90.entry.js → p-c9bca536.entry.js} +1 -1
- package/dist/ionic/{p-d4742f5c.entry.js → p-ce26cd7d.entry.js} +1 -1
- package/dist/ionic/{p-f35cb090.entry.js → p-d77d0b41.entry.js} +1 -1
- package/dist/ionic/{p-7a6c96ca.entry.js → p-d887000e.entry.js} +1 -1
- package/dist/ionic/{p-05427be9.entry.js → p-d9c08f93.entry.js} +1 -1
- package/dist/ionic/{p-3ca63859.entry.js → p-e2e4b1f1.entry.js} +1 -1
- package/dist/ionic/{p-da105dce.entry.js → p-e426331f.entry.js} +1 -1
- package/dist/ionic/{p-9262223a.entry.js → p-e471e1e5.entry.js} +1 -1
- package/dist/ionic/{p-ee504ce4.entry.js → p-e5e82fa5.entry.js} +1 -1
- package/dist/ionic/{p-2438054c.entry.js → p-f0c5ea4c.entry.js} +1 -1
- package/dist/ionic/{p-5756b724.entry.js → p-ff362ebc.entry.js} +1 -1
- package/dist/types/components.d.ts +0 -167
- package/dist/types/interface.d.ts +0 -1
- package/hydrate/index.js +99 -688
- package/hydrate/index.mjs +99 -688
- package/package.json +1 -1
- package/components/ion-input-otp.d.ts +0 -11
- package/components/ion-input-otp.js +0 -608
- package/dist/cjs/ion-input-otp.cjs.entry.js +0 -571
- package/dist/collection/components/input-otp/input-otp-interface.js +0 -1
- package/dist/collection/components/input-otp/input-otp.ios.css +0 -377
- package/dist/collection/components/input-otp/input-otp.js +0 -996
- package/dist/collection/components/input-otp/input-otp.md.css +0 -377
- package/dist/esm/ion-input-otp.entry.js +0 -569
- package/dist/ionic/p-1fe35f29.entry.js +0 -4
- package/dist/ionic/p-58f92c36.entry.js +0 -4
- package/dist/ionic/p-8c496d65.entry.js +0 -4
- package/dist/ionic/p-B7Khsp7D.js +0 -4
- package/dist/ionic/p-CO_y91jJ.js +0 -4
- package/dist/ionic/p-bf6b00ab.entry.js +0 -4
- package/dist/types/components/input-otp/input-otp-interface.d.ts +0 -21
- package/dist/types/components/input-otp/input-otp.d.ts +0 -270
|
@@ -1,377 +0,0 @@
|
|
|
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
|
-
}
|