@ionic/core 7.5.6-dev.11700086473.1eebae2a → 7.5.6-dev.11700168085.18cb70d3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/action-sheet.js +2 -2
- package/components/alert.js +2 -2
- package/components/backdrop.js +12 -0
- package/components/gesture-controller.js +1 -1
- package/components/ion-card-subtitle.js +2 -2
- package/components/ion-card-title.js +1 -1
- package/components/ion-card.js +2 -2
- package/components/ion-content.js +1 -1
- package/components/ion-datetime.js +17 -4
- package/components/ion-infinite-scroll-content.js +2 -2
- package/components/ion-input.js +2 -2
- package/components/ion-item-divider.js +2 -2
- package/components/ion-loading.js +2 -2
- package/components/ion-range.js +1 -1
- package/components/ion-searchbar.js +2 -2
- package/components/ion-select.js +2 -2
- package/components/ion-tab-bar.js +2 -2
- package/components/ion-textarea.js +2 -2
- package/components/ion-toast.js +2 -2
- package/components/item.js +2 -2
- package/components/label.js +1 -1
- package/components/list-header.js +1 -1
- package/components/note.js +2 -2
- package/components/overlays.js +1 -5
- package/components/popover.js +1 -1
- package/css/core.css +66 -0
- package/css/core.css.map +1 -1
- package/css/display.css +44 -0
- package/css/display.css.map +1 -1
- package/css/float-elements.css +44 -0
- package/css/float-elements.css.map +1 -1
- package/css/global.bundle.css +88 -0
- package/css/global.bundle.css.map +1 -1
- package/css/ionic-swiper.css +22 -0
- package/css/ionic-swiper.css.map +1 -1
- package/css/ionic.bundle.css.map +1 -1
- package/css/padding.css +44 -0
- package/css/padding.css.map +1 -1
- package/css/structure.css +44 -0
- package/css/structure.css.map +1 -1
- package/css/text-alignment.css +44 -0
- package/css/text-alignment.css.map +1 -1
- package/css/text-transformation.css +44 -0
- package/css/text-transformation.css.map +1 -1
- package/css/typography.css +44 -0
- package/css/typography.css.map +1 -1
- package/css/utils.bundle.css +220 -0
- package/css/utils.bundle.css.map +1 -1
- package/dist/cjs/{button-active-cd07b55b.js → button-active-af897e0e.js} +1 -1
- package/dist/cjs/{gesture-controller-d6a3f907.js → gesture-controller-b46721be.js} +0 -1
- package/dist/cjs/{index-0f8b33f8.js → index-0ee995e4.js} +1 -1
- package/dist/cjs/index.cjs.js +3 -3
- package/dist/cjs/ion-action-sheet.cjs.entry.js +6 -6
- package/dist/cjs/ion-alert.cjs.entry.js +6 -6
- package/dist/cjs/ion-app_8.cjs.entry.js +2 -2
- package/dist/cjs/ion-backdrop.cjs.entry.js +12 -0
- package/dist/cjs/ion-card_5.cjs.entry.js +5 -5
- package/dist/cjs/ion-datetime_3.cjs.entry.js +19 -7
- package/dist/cjs/ion-infinite-scroll_2.cjs.entry.js +2 -2
- package/dist/cjs/ion-input.cjs.entry.js +2 -2
- package/dist/cjs/ion-item-option_3.cjs.entry.js +1 -1
- package/dist/cjs/ion-item_8.cjs.entry.js +8 -8
- package/dist/cjs/ion-loading.cjs.entry.js +3 -4
- package/dist/cjs/ion-menu_3.cjs.entry.js +3 -3
- package/dist/cjs/ion-modal.cjs.entry.js +3 -3
- package/dist/cjs/ion-nav_2.cjs.entry.js +1 -1
- package/dist/cjs/ion-popover.cjs.entry.js +2 -3
- package/dist/cjs/ion-range.cjs.entry.js +2 -2
- package/dist/cjs/ion-refresher_2.cjs.entry.js +3 -3
- package/dist/cjs/ion-reorder_2.cjs.entry.js +1 -1
- package/dist/cjs/ion-searchbar.cjs.entry.js +2 -2
- package/dist/cjs/ion-segment_2.cjs.entry.js +1 -1
- package/dist/cjs/ion-select_3.cjs.entry.js +3 -4
- package/dist/cjs/ion-tab-bar_2.cjs.entry.js +2 -2
- package/dist/cjs/ion-textarea.cjs.entry.js +2 -2
- package/dist/cjs/ion-toast.cjs.entry.js +3 -4
- package/dist/cjs/ion-toggle.cjs.entry.js +1 -1
- package/dist/cjs/{overlays-bd057fe9.js → overlays-2ffc5f27.js} +1 -5
- package/dist/cjs/{swipe-back-a6dc6e5d.js → swipe-back-d0412fb6.js} +2 -2
- package/dist/collection/components/accordion/accordion.ios.css +44 -0
- package/dist/collection/components/accordion/accordion.md.css +22 -0
- package/dist/collection/components/accordion-group/accordion-group.ios.css +44 -0
- package/dist/collection/components/accordion-group/accordion-group.md.css +66 -0
- package/dist/collection/components/action-sheet/action-sheet.ios.css +46 -2
- package/dist/collection/components/action-sheet/action-sheet.md.css +45 -1
- package/dist/collection/components/alert/alert.ios.css +79 -5
- package/dist/collection/components/alert/alert.md.css +126 -14
- package/dist/collection/components/alert/test/basic/alert-tablet.e2e.js +40 -0
- package/dist/collection/components/avatar/avatar.ios.css +44 -0
- package/dist/collection/components/avatar/avatar.md.css +44 -0
- package/dist/collection/components/back-button/back-button.ios.css +44 -0
- package/dist/collection/components/back-button/back-button.md.css +44 -0
- package/dist/collection/components/backdrop/backdrop.ios.css +44 -0
- package/dist/collection/components/backdrop/backdrop.js +12 -0
- package/dist/collection/components/backdrop/backdrop.md.css +44 -0
- package/dist/collection/components/badge/badge.ios.css +44 -0
- package/dist/collection/components/badge/badge.md.css +44 -0
- package/dist/collection/components/breadcrumb/breadcrumb.ios.css +44 -0
- package/dist/collection/components/breadcrumb/breadcrumb.md.css +44 -0
- package/dist/collection/components/breadcrumbs/breadcrumbs.ios.css +22 -0
- package/dist/collection/components/breadcrumbs/breadcrumbs.md.css +22 -0
- package/dist/collection/components/button/button.ios.css +66 -0
- package/dist/collection/components/button/button.md.css +44 -0
- package/dist/collection/components/buttons/buttons.ios.css +66 -0
- package/dist/collection/components/buttons/buttons.md.css +66 -0
- package/dist/collection/components/card/card.ios.css +45 -1
- package/dist/collection/components/card/card.md.css +45 -1
- package/dist/collection/components/card-content/card-content.ios.css +44 -0
- package/dist/collection/components/card-content/card-content.md.css +44 -0
- package/dist/collection/components/card-header/card-header.ios.css +44 -0
- package/dist/collection/components/card-header/card-header.md.css +44 -0
- package/dist/collection/components/card-subtitle/card-subtitle.ios.css +45 -1
- package/dist/collection/components/card-subtitle/card-subtitle.md.css +45 -1
- package/dist/collection/components/card-title/card-title.ios.css +44 -0
- package/dist/collection/components/card-title/card-title.md.css +45 -1
- package/dist/collection/components/checkbox/checkbox.ios.css +66 -0
- package/dist/collection/components/checkbox/checkbox.md.css +66 -0
- package/dist/collection/components/chip/chip.ios.css +22 -0
- package/dist/collection/components/chip/chip.md.css +22 -0
- package/dist/collection/components/col/col.css +66 -0
- package/dist/collection/components/content/content.css +26 -0
- package/dist/collection/components/datetime/datetime.ios.css +48 -4
- package/dist/collection/components/datetime/datetime.js +15 -2
- package/dist/collection/components/datetime/datetime.md.css +47 -3
- package/dist/collection/components/datetime-button/datetime-button.css +22 -0
- package/dist/collection/components/fab/fab.css +88 -0
- package/dist/collection/components/fab-button/fab-button.ios.css +44 -0
- package/dist/collection/components/fab-button/fab-button.md.css +44 -0
- package/dist/collection/components/fab-list/fab-list.css +44 -0
- package/dist/collection/components/footer/footer.ios.css +44 -0
- package/dist/collection/components/footer/footer.md.css +44 -0
- package/dist/collection/components/grid/grid.css +66 -0
- package/dist/collection/components/header/header.ios.css +44 -0
- package/dist/collection/components/header/header.md.css +44 -0
- package/dist/collection/components/infinite-scroll-content/infinite-scroll-content.ios.css +47 -3
- package/dist/collection/components/infinite-scroll-content/infinite-scroll-content.md.css +47 -3
- package/dist/collection/components/input/input.ios.css +69 -3
- package/dist/collection/components/input/input.md.css +143 -11
- package/dist/collection/components/item/item.ios.css +45 -1
- package/dist/collection/components/item/item.md.css +96 -8
- package/dist/collection/components/item-divider/item-divider.ios.css +68 -2
- package/dist/collection/components/item-divider/item-divider.md.css +68 -2
- package/dist/collection/components/item-group/item-group.ios.css +44 -0
- package/dist/collection/components/item-group/item-group.md.css +44 -0
- package/dist/collection/components/item-option/item-option.ios.css +44 -0
- package/dist/collection/components/item-option/item-option.md.css +44 -0
- package/dist/collection/components/item-options/item-options.ios.css +66 -0
- package/dist/collection/components/item-options/item-options.md.css +66 -0
- package/dist/collection/components/item-sliding/item-sliding.css +22 -0
- package/dist/collection/components/label/label.ios.css +66 -0
- package/dist/collection/components/label/label.md.css +67 -1
- package/dist/collection/components/list/list.ios.css +66 -0
- package/dist/collection/components/list/list.md.css +66 -0
- package/dist/collection/components/list-header/list-header.ios.css +67 -1
- package/dist/collection/components/list-header/list-header.md.css +66 -0
- package/dist/collection/components/loading/loading.ios.css +45 -1
- package/dist/collection/components/loading/loading.md.css +46 -2
- package/dist/collection/components/menu/menu.ios.css +44 -0
- package/dist/collection/components/menu/menu.md.css +44 -0
- package/dist/collection/components/menu-button/menu-button.ios.css +44 -0
- package/dist/collection/components/menu-button/menu-button.md.css +44 -0
- package/dist/collection/components/modal/modal.ios.css +44 -0
- package/dist/collection/components/modal/modal.md.css +44 -0
- package/dist/collection/components/nav/nav.css +22 -0
- package/dist/collection/components/note/note.ios.css +45 -1
- package/dist/collection/components/note/note.md.css +45 -1
- package/dist/collection/components/picker/picker.ios.css +44 -0
- package/dist/collection/components/picker/picker.md.css +44 -0
- package/dist/collection/components/picker-column/picker-column.ios.css +44 -0
- package/dist/collection/components/picker-column/picker-column.md.css +44 -0
- package/dist/collection/components/picker-column-internal/picker-column-internal.ios.css +22 -0
- package/dist/collection/components/picker-column-internal/picker-column-internal.md.css +44 -0
- package/dist/collection/components/picker-internal/picker-internal.ios.css +44 -0
- package/dist/collection/components/picker-internal/picker-internal.md.css +44 -0
- package/dist/collection/components/popover/popover.ios.css +45 -1
- package/dist/collection/components/popover/popover.md.css +44 -0
- package/dist/collection/components/progress-bar/progress-bar.ios.css +22 -0
- package/dist/collection/components/progress-bar/progress-bar.md.css +22 -0
- package/dist/collection/components/radio/radio.ios.css +66 -0
- package/dist/collection/components/radio/radio.md.css +66 -0
- package/dist/collection/components/range/range.ios.css +44 -0
- package/dist/collection/components/range/range.md.css +46 -2
- package/dist/collection/components/refresher/refresher.ios.css +44 -0
- package/dist/collection/components/refresher/refresher.md.css +44 -0
- package/dist/collection/components/reorder/reorder.ios.css +22 -0
- package/dist/collection/components/reorder/reorder.md.css +22 -0
- package/dist/collection/components/reorder-group/reorder-group.css +22 -0
- package/dist/collection/components/ripple-effect/ripple-effect.css +22 -0
- package/dist/collection/components/router-link/router-link.css +22 -0
- package/dist/collection/components/router-outlet/router-outlet.css +22 -0
- package/dist/collection/components/row/row.css +66 -0
- package/dist/collection/components/searchbar/searchbar.ios.css +46 -2
- package/dist/collection/components/searchbar/searchbar.md.css +47 -3
- package/dist/collection/components/segment/segment.ios.css +66 -0
- package/dist/collection/components/segment/segment.md.css +66 -0
- package/dist/collection/components/segment-button/segment-button.ios.css +44 -0
- package/dist/collection/components/segment-button/segment-button.md.css +44 -0
- package/dist/collection/components/select/select.ios.css +67 -1
- package/dist/collection/components/select/select.md.css +119 -9
- package/dist/collection/components/select-popover/select-popover.ios.css +66 -0
- package/dist/collection/components/select-popover/select-popover.md.css +66 -0
- package/dist/collection/components/skeleton-text/skeleton-text.css +22 -0
- package/dist/collection/components/spinner/spinner.css +22 -0
- package/dist/collection/components/split-pane/split-pane.ios.css +66 -0
- package/dist/collection/components/split-pane/split-pane.md.css +66 -0
- package/dist/collection/components/tab-bar/tab-bar.ios.css +67 -1
- package/dist/collection/components/tab-bar/tab-bar.md.css +67 -1
- package/dist/collection/components/tab-button/tab-button.ios.css +44 -0
- package/dist/collection/components/tab-button/tab-button.md.css +44 -0
- package/dist/collection/components/tabs/tabs.css +22 -0
- package/dist/collection/components/text/text.css +22 -0
- package/dist/collection/components/textarea/textarea.ios.css +90 -2
- package/dist/collection/components/textarea/textarea.md.css +142 -10
- package/dist/collection/components/thumbnail/thumbnail.css +22 -0
- package/dist/collection/components/title/title.ios.css +22 -0
- package/dist/collection/components/title/title.md.css +22 -0
- package/dist/collection/components/toast/toast.ios.css +46 -2
- package/dist/collection/components/toast/toast.md.css +47 -3
- package/dist/collection/components/toggle/toggle.ios.css +66 -0
- package/dist/collection/components/toggle/toggle.md.css +66 -0
- package/dist/collection/components/toolbar/toolbar.ios.css +44 -0
- package/dist/collection/components/toolbar/toolbar.md.css +44 -0
- package/dist/collection/utils/gesture/gesture-controller.js +1 -1
- package/dist/collection/utils/overlays.js +1 -5
- package/dist/docs.json +1 -1
- package/dist/esm/{button-active-5b0516e7.js → button-active-ce5cba4c.js} +1 -1
- package/dist/esm/{gesture-controller-3723db7c.js → gesture-controller-0fa396c4.js} +1 -1
- package/dist/esm/{index-32cbee52.js → index-ff313b19.js} +2 -2
- package/dist/esm/index.js +3 -3
- package/dist/esm/ion-action-sheet.entry.js +6 -6
- package/dist/esm/ion-alert.entry.js +6 -6
- package/dist/esm/ion-app_8.entry.js +2 -2
- package/dist/esm/ion-backdrop.entry.js +12 -0
- package/dist/esm/ion-card_5.entry.js +5 -5
- package/dist/esm/ion-datetime_3.entry.js +19 -7
- package/dist/esm/ion-infinite-scroll_2.entry.js +2 -2
- package/dist/esm/ion-input.entry.js +2 -2
- package/dist/esm/ion-item-option_3.entry.js +1 -1
- package/dist/esm/ion-item_8.entry.js +8 -8
- package/dist/esm/ion-loading.entry.js +3 -4
- package/dist/esm/ion-menu_3.entry.js +3 -3
- package/dist/esm/ion-modal.entry.js +3 -3
- package/dist/esm/ion-nav_2.entry.js +1 -1
- package/dist/esm/ion-popover.entry.js +2 -3
- package/dist/esm/ion-range.entry.js +2 -2
- package/dist/esm/ion-refresher_2.entry.js +3 -3
- package/dist/esm/ion-reorder_2.entry.js +1 -1
- package/dist/esm/ion-searchbar.entry.js +2 -2
- package/dist/esm/ion-segment_2.entry.js +1 -1
- package/dist/esm/ion-select_3.entry.js +3 -4
- package/dist/esm/ion-tab-bar_2.entry.js +2 -2
- package/dist/esm/ion-textarea.entry.js +2 -2
- package/dist/esm/ion-toast.entry.js +3 -4
- package/dist/esm/ion-toggle.entry.js +1 -1
- package/dist/esm/{overlays-ff6032c5.js → overlays-6c9feb7e.js} +1 -5
- package/dist/esm/{swipe-back-cc4c2bcb.js → swipe-back-0f3bfc8e.js} +2 -2
- package/dist/esm-es5/{button-active-5b0516e7.js → button-active-ce5cba4c.js} +1 -1
- package/dist/esm-es5/{gesture-controller-3723db7c.js → gesture-controller-0fa396c4.js} +1 -1
- package/dist/esm-es5/{index-32cbee52.js → index-ff313b19.js} +1 -1
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/ion-action-sheet.entry.js +1 -1
- package/dist/esm-es5/ion-alert.entry.js +1 -1
- package/dist/esm-es5/ion-app_8.entry.js +1 -1
- package/dist/esm-es5/ion-backdrop.entry.js +1 -1
- package/dist/esm-es5/ion-card_5.entry.js +1 -1
- package/dist/esm-es5/ion-datetime_3.entry.js +1 -1
- package/dist/esm-es5/ion-infinite-scroll_2.entry.js +1 -1
- package/dist/esm-es5/ion-input.entry.js +1 -1
- package/dist/esm-es5/ion-item-option_3.entry.js +1 -1
- package/dist/esm-es5/ion-item_8.entry.js +1 -1
- package/dist/esm-es5/ion-loading.entry.js +1 -1
- package/dist/esm-es5/ion-menu_3.entry.js +1 -1
- package/dist/esm-es5/ion-modal.entry.js +1 -1
- package/dist/esm-es5/ion-nav_2.entry.js +1 -1
- package/dist/esm-es5/ion-popover.entry.js +1 -1
- package/dist/esm-es5/ion-range.entry.js +1 -1
- package/dist/esm-es5/ion-refresher_2.entry.js +1 -1
- package/dist/esm-es5/ion-reorder_2.entry.js +1 -1
- package/dist/esm-es5/ion-searchbar.entry.js +1 -1
- package/dist/esm-es5/ion-segment_2.entry.js +1 -1
- package/dist/esm-es5/ion-select_3.entry.js +1 -1
- package/dist/esm-es5/ion-tab-bar_2.entry.js +1 -1
- package/dist/esm-es5/ion-textarea.entry.js +1 -1
- package/dist/esm-es5/ion-toast.entry.js +1 -1
- package/dist/esm-es5/ion-toggle.entry.js +1 -1
- package/dist/esm-es5/overlays-6c9feb7e.js +4 -0
- package/dist/esm-es5/swipe-back-0f3bfc8e.js +4 -0
- package/dist/ionic/index.esm.js +1 -1
- package/dist/ionic/ionic.esm.js +1 -1
- package/dist/ionic/{p-5e8196d7.system.js → p-09d142b3.system.js} +1 -1
- package/dist/ionic/p-0d8e9393.entry.js +4 -0
- package/dist/ionic/{p-477a182e.entry.js → p-0dc0d9b5.entry.js} +1 -1
- package/dist/ionic/p-0e23256e.system.entry.js +4 -0
- package/dist/ionic/p-14aca3fb.entry.js +4 -0
- package/dist/ionic/p-18e01b30.system.entry.js +4 -0
- package/dist/ionic/p-1cb5f2f8.system.entry.js +4 -0
- package/dist/ionic/p-1e5165db.system.entry.js +4 -0
- package/dist/ionic/{p-22813b28.system.entry.js → p-34d2de14.system.entry.js} +1 -1
- package/dist/ionic/{p-c0c39ac0.system.entry.js → p-377c636c.system.entry.js} +1 -1
- package/dist/ionic/{p-878c7aa5.system.entry.js → p-39044fe6.system.entry.js} +1 -1
- package/dist/ionic/{p-ee800093.entry.js → p-3ce8c3e3.entry.js} +1 -1
- package/dist/ionic/{p-56224549.entry.js → p-3de79805.entry.js} +1 -1
- package/dist/ionic/p-40903d34.system.js +1 -1
- package/dist/ionic/p-4cd588b3.system.entry.js +4 -0
- package/dist/ionic/{p-1c768684.entry.js → p-4fa201a7.entry.js} +1 -1
- package/dist/ionic/p-64296b15.entry.js +4 -0
- package/dist/ionic/p-64ed03a3.entry.js +4 -0
- package/dist/ionic/{p-87b9271f.system.entry.js → p-67ed452a.system.entry.js} +1 -1
- package/dist/ionic/{p-aa4d7f18.system.entry.js → p-6d812360.system.entry.js} +1 -1
- package/dist/ionic/{p-a4cda7a8.system.entry.js → p-6e23777e.system.entry.js} +1 -1
- package/dist/ionic/p-6f4fbf04.entry.js +4 -0
- package/dist/ionic/{p-02b0db62.entry.js → p-7176cea3.entry.js} +1 -1
- package/dist/ionic/{p-b99c615f.entry.js → p-73411c1b.entry.js} +1 -1
- package/dist/ionic/p-77e7a9c8.entry.js +4 -0
- package/dist/ionic/p-800ef057.js +4 -0
- package/dist/ionic/{p-a7e2ac5c.js → p-8b1be026.js} +1 -1
- package/dist/ionic/p-8dbdb163.system.js +4 -0
- package/dist/ionic/p-8e1bded3.entry.js +4 -0
- package/dist/ionic/{p-5ce11143.entry.js → p-965677f1.entry.js} +1 -1
- package/dist/ionic/p-97e31c0a.system.js +4 -0
- package/dist/ionic/{p-6500b298.system.js → p-9e852ff1.system.js} +1 -1
- package/dist/ionic/p-a21b8d05.entry.js +4 -0
- package/dist/ionic/p-a5c1e6ce.entry.js +4 -0
- package/dist/ionic/{p-c7fd81ba.system.js → p-a936d224.system.js} +1 -1
- package/dist/ionic/p-a9c3699b.system.entry.js +4 -0
- package/dist/ionic/{p-a3939ffe.entry.js → p-af016cd3.entry.js} +1 -1
- package/dist/ionic/p-b203659a.system.entry.js +4 -0
- package/dist/ionic/{p-835e0346.entry.js → p-b2a74a72.entry.js} +1 -1
- package/dist/ionic/p-b6f8ee31.entry.js +4 -0
- package/dist/ionic/p-b76c6241.system.entry.js +4 -0
- package/dist/ionic/p-b781d6b2.entry.js +4 -0
- package/dist/ionic/p-b91fe549.entry.js +4 -0
- package/dist/ionic/{p-b3e79338.system.entry.js → p-bed722c4.system.entry.js} +1 -1
- package/dist/ionic/p-c7b8c2ef.system.entry.js +4 -0
- package/dist/ionic/p-c919498d.entry.js +4 -0
- package/dist/ionic/p-cf425ec5.system.entry.js +4 -0
- package/dist/ionic/p-d21bfe66.system.entry.js +4 -0
- package/dist/ionic/p-d3952bd5.system.entry.js +4 -0
- package/dist/ionic/{p-c31fc05f.system.entry.js → p-db5043df.system.entry.js} +1 -1
- package/dist/ionic/p-ddfc4ef4.system.entry.js +4 -0
- package/dist/ionic/{p-100ef961.js → p-e0b06b65.js} +1 -1
- package/dist/ionic/{p-302091ab.js → p-e627ed84.js} +1 -1
- package/dist/ionic/p-e6b240a0.js +4 -0
- package/dist/ionic/p-e76a4bc8.entry.js +4 -0
- package/dist/ionic/{p-bfca5751.system.entry.js → p-e8400078.system.entry.js} +1 -1
- package/dist/ionic/p-eae972be.system.entry.js +4 -0
- package/dist/ionic/{p-939d903b.entry.js → p-f37b4b79.entry.js} +1 -1
- package/dist/ionic/{p-06e6d235.system.entry.js → p-f3c82f74.system.entry.js} +2 -2
- package/dist/ionic/p-f54ddd19.entry.js +4 -0
- package/dist/ionic/p-f5a750e4.system.entry.js +4 -0
- package/dist/ionic/{p-2e1794df.system.js → p-fa8d4788.system.js} +1 -1
- package/dist/types/components/backdrop/backdrop.d.ts +3 -0
- package/dist/types/components/menu/menu.d.ts +1 -1
- package/dist/types/utils/gesture/gesture-controller.d.ts +0 -1
- package/hydrate/index.js +65 -44
- package/package.json +1 -1
- package/dist/esm-es5/overlays-ff6032c5.js +0 -4
- package/dist/esm-es5/swipe-back-cc4c2bcb.js +0 -4
- package/dist/ionic/p-0c244faf.entry.js +0 -4
- package/dist/ionic/p-194d7f26.entry.js +0 -4
- package/dist/ionic/p-1bc82e9c.system.entry.js +0 -4
- package/dist/ionic/p-20a6f743.entry.js +0 -4
- package/dist/ionic/p-2ad38423.system.entry.js +0 -4
- package/dist/ionic/p-3101eb90.system.entry.js +0 -4
- package/dist/ionic/p-334b9abc.entry.js +0 -4
- package/dist/ionic/p-39d2dfb7.system.js +0 -4
- package/dist/ionic/p-3edab395.entry.js +0 -4
- package/dist/ionic/p-574256bf.system.entry.js +0 -4
- package/dist/ionic/p-6408dd16.system.entry.js +0 -4
- package/dist/ionic/p-64724bc3.entry.js +0 -4
- package/dist/ionic/p-65072346.system.entry.js +0 -4
- package/dist/ionic/p-6b38cf09.entry.js +0 -4
- package/dist/ionic/p-7ae44a76.system.entry.js +0 -4
- package/dist/ionic/p-7ff6744b.entry.js +0 -4
- package/dist/ionic/p-8960dcbc.system.entry.js +0 -4
- package/dist/ionic/p-8dd80686.system.entry.js +0 -4
- package/dist/ionic/p-8e6d58ad.entry.js +0 -4
- package/dist/ionic/p-91e3b818.system.entry.js +0 -4
- package/dist/ionic/p-992d3bad.entry.js +0 -4
- package/dist/ionic/p-9c967a65.system.entry.js +0 -4
- package/dist/ionic/p-a0c31088.system.entry.js +0 -4
- package/dist/ionic/p-a110f658.system.entry.js +0 -4
- package/dist/ionic/p-b13026e9.entry.js +0 -4
- package/dist/ionic/p-bde283b8.js +0 -4
- package/dist/ionic/p-c08b222d.system.entry.js +0 -4
- package/dist/ionic/p-c953779e.system.entry.js +0 -4
- package/dist/ionic/p-cd38ff4c.entry.js +0 -4
- package/dist/ionic/p-d860ef84.entry.js +0 -4
- package/dist/ionic/p-dc565ca3.js +0 -4
- package/dist/ionic/p-e88ed07f.system.js +0 -4
- package/dist/ionic/p-eb4dd1b0.entry.js +0 -4
- package/dist/ionic/p-f3b9514c.entry.js +0 -4
|
@@ -31,6 +31,28 @@
|
|
|
31
31
|
* @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
|
|
32
32
|
* convert to a unit other than $baselineUnit.
|
|
33
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
|
+
*/
|
|
34
56
|
:host {
|
|
35
57
|
/**
|
|
36
58
|
* @prop --background: Background of the action sheet group
|
|
@@ -251,6 +273,28 @@
|
|
|
251
273
|
* @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
|
|
252
274
|
* convert to a unit other than $baselineUnit.
|
|
253
275
|
*/
|
|
276
|
+
/**
|
|
277
|
+
* A heuristic that applies CSS to tablet
|
|
278
|
+
* viewports.
|
|
279
|
+
*
|
|
280
|
+
* Usage:
|
|
281
|
+
* @include tablet-viewport() {
|
|
282
|
+
* :host {
|
|
283
|
+
* background-color: green;
|
|
284
|
+
* }
|
|
285
|
+
* }
|
|
286
|
+
*/
|
|
287
|
+
/**
|
|
288
|
+
* A heuristic that applies CSS to mobile
|
|
289
|
+
* viewports (i.e. phones, not tablets).
|
|
290
|
+
*
|
|
291
|
+
* Usage:
|
|
292
|
+
* @include mobile-viewport() {
|
|
293
|
+
* :host {
|
|
294
|
+
* background-color: blue;
|
|
295
|
+
* }
|
|
296
|
+
* }
|
|
297
|
+
*/
|
|
254
298
|
:host {
|
|
255
299
|
--background: var(--ion-overlay-background-color, var(--ion-background-color, #fff));
|
|
256
300
|
--backdrop-opacity: var(--ion-backdrop-opacity, 0.32);
|
|
@@ -263,7 +307,7 @@
|
|
|
263
307
|
--button-background-hover-opacity: .04;
|
|
264
308
|
--button-background-focused: currentColor;
|
|
265
309
|
--button-background-focused-opacity: .12;
|
|
266
|
-
--button-color: var(--ion-
|
|
310
|
+
--button-color: var(--ion-color-step-850, #262626);
|
|
267
311
|
--color: rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.54);
|
|
268
312
|
}
|
|
269
313
|
|
|
@@ -31,6 +31,28 @@
|
|
|
31
31
|
* @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
|
|
32
32
|
* convert to a unit other than $baselineUnit.
|
|
33
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
|
+
*/
|
|
34
56
|
:host {
|
|
35
57
|
/**
|
|
36
58
|
* @prop --background: Background of the alert
|
|
@@ -115,7 +137,15 @@
|
|
|
115
137
|
font-weight: normal;
|
|
116
138
|
}
|
|
117
139
|
|
|
118
|
-
|
|
140
|
+
/**
|
|
141
|
+
* Alert has a maximum height in scenarios
|
|
142
|
+
* such as the MD alert on tablet devices.
|
|
143
|
+
* As a result, we need to make sure the inner
|
|
144
|
+
* containers can scroll otherwise content
|
|
145
|
+
* may be cut off.
|
|
146
|
+
*/
|
|
147
|
+
.alert-message,
|
|
148
|
+
.alert-input-group {
|
|
119
149
|
box-sizing: border-box;
|
|
120
150
|
-webkit-overflow-scrolling: touch;
|
|
121
151
|
overflow-y: auto;
|
|
@@ -198,7 +228,7 @@
|
|
|
198
228
|
|
|
199
229
|
.alert-button.ion-focused,
|
|
200
230
|
.alert-tappable.ion-focused {
|
|
201
|
-
background: var(--ion-
|
|
231
|
+
background: var(--ion-color-step-100, #e6e6e6);
|
|
202
232
|
}
|
|
203
233
|
|
|
204
234
|
.alert-button-inner {
|
|
@@ -291,6 +321,28 @@ textarea.alert-input {
|
|
|
291
321
|
* @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
|
|
292
322
|
* convert to a unit other than $baselineUnit.
|
|
293
323
|
*/
|
|
324
|
+
/**
|
|
325
|
+
* A heuristic that applies CSS to tablet
|
|
326
|
+
* viewports.
|
|
327
|
+
*
|
|
328
|
+
* Usage:
|
|
329
|
+
* @include tablet-viewport() {
|
|
330
|
+
* :host {
|
|
331
|
+
* background-color: green;
|
|
332
|
+
* }
|
|
333
|
+
* }
|
|
334
|
+
*/
|
|
335
|
+
/**
|
|
336
|
+
* A heuristic that applies CSS to mobile
|
|
337
|
+
* viewports (i.e. phones, not tablets).
|
|
338
|
+
*
|
|
339
|
+
* Usage:
|
|
340
|
+
* @include mobile-viewport() {
|
|
341
|
+
* :host {
|
|
342
|
+
* background-color: blue;
|
|
343
|
+
* }
|
|
344
|
+
* }
|
|
345
|
+
*/
|
|
294
346
|
/**
|
|
295
347
|
* Convert a font size to a dynamic font size.
|
|
296
348
|
* Fonts that participate in Dynamic Type should use
|
|
@@ -324,6 +376,28 @@ textarea.alert-input {
|
|
|
324
376
|
* @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
|
|
325
377
|
* convert to a unit other than $baselineUnit.
|
|
326
378
|
*/
|
|
379
|
+
/**
|
|
380
|
+
* A heuristic that applies CSS to tablet
|
|
381
|
+
* viewports.
|
|
382
|
+
*
|
|
383
|
+
* Usage:
|
|
384
|
+
* @include tablet-viewport() {
|
|
385
|
+
* :host {
|
|
386
|
+
* background-color: green;
|
|
387
|
+
* }
|
|
388
|
+
* }
|
|
389
|
+
*/
|
|
390
|
+
/**
|
|
391
|
+
* A heuristic that applies CSS to mobile
|
|
392
|
+
* viewports (i.e. phones, not tablets).
|
|
393
|
+
*
|
|
394
|
+
* Usage:
|
|
395
|
+
* @include mobile-viewport() {
|
|
396
|
+
* :host {
|
|
397
|
+
* background-color: blue;
|
|
398
|
+
* }
|
|
399
|
+
* }
|
|
400
|
+
*/
|
|
327
401
|
/**
|
|
328
402
|
* We want the height of the button to
|
|
329
403
|
* scale with the text so the next never runs
|
|
@@ -374,7 +448,7 @@ textarea.alert-input {
|
|
|
374
448
|
}
|
|
375
449
|
|
|
376
450
|
.alert-sub-title {
|
|
377
|
-
color: var(--ion-
|
|
451
|
+
color: var(--ion-color-step-600, #666666);
|
|
378
452
|
font-size: max(14px, 0.875rem);
|
|
379
453
|
}
|
|
380
454
|
|
|
@@ -411,12 +485,12 @@ textarea.alert-input {
|
|
|
411
485
|
padding-inline-end: 6px;
|
|
412
486
|
padding-top: 6px;
|
|
413
487
|
padding-bottom: 6px;
|
|
414
|
-
border: 0.55px solid var(--ion-
|
|
488
|
+
border: 0.55px solid var(--ion-color-step-250, #bfbfbf);
|
|
415
489
|
background-color: var(--ion-background-color, #fff);
|
|
416
490
|
appearance: none;
|
|
417
491
|
}
|
|
418
492
|
.alert-input::placeholder {
|
|
419
|
-
color: var(--ion-placeholder-color, var(--ion-
|
|
493
|
+
color: var(--ion-placeholder-color, var(--ion-color-step-400, #999999));
|
|
420
494
|
font-family: inherit;
|
|
421
495
|
font-weight: inherit;
|
|
422
496
|
}
|
|
@@ -31,6 +31,28 @@
|
|
|
31
31
|
* @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
|
|
32
32
|
* convert to a unit other than $baselineUnit.
|
|
33
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
|
+
*/
|
|
34
56
|
:host {
|
|
35
57
|
/**
|
|
36
58
|
* @prop --background: Background of the alert
|
|
@@ -115,7 +137,15 @@
|
|
|
115
137
|
font-weight: normal;
|
|
116
138
|
}
|
|
117
139
|
|
|
118
|
-
|
|
140
|
+
/**
|
|
141
|
+
* Alert has a maximum height in scenarios
|
|
142
|
+
* such as the MD alert on tablet devices.
|
|
143
|
+
* As a result, we need to make sure the inner
|
|
144
|
+
* containers can scroll otherwise content
|
|
145
|
+
* may be cut off.
|
|
146
|
+
*/
|
|
147
|
+
.alert-message,
|
|
148
|
+
.alert-input-group {
|
|
119
149
|
box-sizing: border-box;
|
|
120
150
|
-webkit-overflow-scrolling: touch;
|
|
121
151
|
overflow-y: auto;
|
|
@@ -198,7 +228,7 @@
|
|
|
198
228
|
|
|
199
229
|
.alert-button.ion-focused,
|
|
200
230
|
.alert-tappable.ion-focused {
|
|
201
|
-
background: var(--ion-
|
|
231
|
+
background: var(--ion-color-step-100, #e6e6e6);
|
|
202
232
|
}
|
|
203
233
|
|
|
204
234
|
.alert-button-inner {
|
|
@@ -291,6 +321,28 @@ textarea.alert-input {
|
|
|
291
321
|
* @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
|
|
292
322
|
* convert to a unit other than $baselineUnit.
|
|
293
323
|
*/
|
|
324
|
+
/**
|
|
325
|
+
* A heuristic that applies CSS to tablet
|
|
326
|
+
* viewports.
|
|
327
|
+
*
|
|
328
|
+
* Usage:
|
|
329
|
+
* @include tablet-viewport() {
|
|
330
|
+
* :host {
|
|
331
|
+
* background-color: green;
|
|
332
|
+
* }
|
|
333
|
+
* }
|
|
334
|
+
*/
|
|
335
|
+
/**
|
|
336
|
+
* A heuristic that applies CSS to mobile
|
|
337
|
+
* viewports (i.e. phones, not tablets).
|
|
338
|
+
*
|
|
339
|
+
* Usage:
|
|
340
|
+
* @include mobile-viewport() {
|
|
341
|
+
* :host {
|
|
342
|
+
* background-color: blue;
|
|
343
|
+
* }
|
|
344
|
+
* }
|
|
345
|
+
*/
|
|
294
346
|
/**
|
|
295
347
|
* Convert a font size to a dynamic font size.
|
|
296
348
|
* Fonts that participate in Dynamic Type should use
|
|
@@ -324,6 +376,36 @@ textarea.alert-input {
|
|
|
324
376
|
* @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
|
|
325
377
|
* convert to a unit other than $baselineUnit.
|
|
326
378
|
*/
|
|
379
|
+
/**
|
|
380
|
+
* A heuristic that applies CSS to tablet
|
|
381
|
+
* viewports.
|
|
382
|
+
*
|
|
383
|
+
* Usage:
|
|
384
|
+
* @include tablet-viewport() {
|
|
385
|
+
* :host {
|
|
386
|
+
* background-color: green;
|
|
387
|
+
* }
|
|
388
|
+
* }
|
|
389
|
+
*/
|
|
390
|
+
/**
|
|
391
|
+
* A heuristic that applies CSS to mobile
|
|
392
|
+
* viewports (i.e. phones, not tablets).
|
|
393
|
+
*
|
|
394
|
+
* Usage:
|
|
395
|
+
* @include mobile-viewport() {
|
|
396
|
+
* :host {
|
|
397
|
+
* background-color: blue;
|
|
398
|
+
* }
|
|
399
|
+
* }
|
|
400
|
+
*/
|
|
401
|
+
/**
|
|
402
|
+
* Large display requirements for MD Alert:
|
|
403
|
+
* 1. Maintain a minimum of 48px distance from the leading and
|
|
404
|
+
* trailing edges of the screen. (48px * 2 = 96px)
|
|
405
|
+
* 2. The width can increase up to 560px.
|
|
406
|
+
* 3. The height can increase up to 560px.
|
|
407
|
+
* Source: https://m2.material.io/components/dialogs#behavior
|
|
408
|
+
*/
|
|
327
409
|
:host {
|
|
328
410
|
--background: var(--ion-overlay-background-color, var(--ion-background-color, #fff));
|
|
329
411
|
--max-width: 280px;
|
|
@@ -365,14 +447,23 @@ textarea.alert-input {
|
|
|
365
447
|
padding-inline-end: 24px;
|
|
366
448
|
padding-top: 20px;
|
|
367
449
|
padding-bottom: 20px;
|
|
368
|
-
color: var(--ion-
|
|
450
|
+
color: var(--ion-color-step-550, #737373);
|
|
369
451
|
}
|
|
370
452
|
|
|
371
453
|
.alert-message {
|
|
372
|
-
max-height: 266px;
|
|
373
454
|
font-size: 1rem;
|
|
374
455
|
}
|
|
375
456
|
|
|
457
|
+
/**
|
|
458
|
+
* MD Alerts on tablets can expand vertically up to
|
|
459
|
+
* a total maximum height. We only want to set a max-height
|
|
460
|
+
* on mobile phones.
|
|
461
|
+
*/
|
|
462
|
+
@media screen and (max-width: 767px) {
|
|
463
|
+
.alert-message {
|
|
464
|
+
max-height: 266px;
|
|
465
|
+
}
|
|
466
|
+
}
|
|
376
467
|
.alert-message:empty {
|
|
377
468
|
padding-left: 0;
|
|
378
469
|
padding-right: 0;
|
|
@@ -389,11 +480,11 @@ textarea.alert-input {
|
|
|
389
480
|
margin-right: 0;
|
|
390
481
|
margin-top: 5px;
|
|
391
482
|
margin-bottom: 5px;
|
|
392
|
-
border-bottom: 1px solid var(--ion-
|
|
483
|
+
border-bottom: 1px solid var(--ion-color-step-150, #d9d9d9);
|
|
393
484
|
color: var(--ion-text-color, #000);
|
|
394
485
|
}
|
|
395
486
|
.alert-input::placeholder {
|
|
396
|
-
color: var(--ion-placeholder-color, var(--ion-
|
|
487
|
+
color: var(--ion-placeholder-color, var(--ion-color-step-400, #999999));
|
|
397
488
|
font-family: inherit;
|
|
398
489
|
font-weight: inherit;
|
|
399
490
|
}
|
|
@@ -409,12 +500,22 @@ textarea.alert-input {
|
|
|
409
500
|
.alert-radio-group,
|
|
410
501
|
.alert-checkbox-group {
|
|
411
502
|
position: relative;
|
|
412
|
-
|
|
413
|
-
border-
|
|
414
|
-
border-bottom: 1px solid var(--ion-background-color-step-150, #d9d9d9);
|
|
503
|
+
border-top: 1px solid var(--ion-color-step-150, #d9d9d9);
|
|
504
|
+
border-bottom: 1px solid var(--ion-color-step-150, #d9d9d9);
|
|
415
505
|
overflow: auto;
|
|
416
506
|
}
|
|
417
507
|
|
|
508
|
+
/**
|
|
509
|
+
* MD Alerts on tablets can expand vertically up to
|
|
510
|
+
* a total maximum height. We only want to set a max-height
|
|
511
|
+
* on mobile phones.
|
|
512
|
+
*/
|
|
513
|
+
@media screen and (max-width: 767px) {
|
|
514
|
+
.alert-radio-group,
|
|
515
|
+
.alert-checkbox-group {
|
|
516
|
+
max-height: 266px;
|
|
517
|
+
}
|
|
518
|
+
}
|
|
418
519
|
.alert-tappable {
|
|
419
520
|
position: relative;
|
|
420
521
|
min-height: 48px;
|
|
@@ -428,7 +529,7 @@ textarea.alert-input {
|
|
|
428
529
|
padding-top: 13px;
|
|
429
530
|
padding-bottom: 13px;
|
|
430
531
|
flex: 1;
|
|
431
|
-
color: var(--ion-
|
|
532
|
+
color: var(--ion-color-step-850, #262626);
|
|
432
533
|
font-size: 1rem;
|
|
433
534
|
}
|
|
434
535
|
|
|
@@ -441,7 +542,7 @@ textarea.alert-input {
|
|
|
441
542
|
height: 20px;
|
|
442
543
|
border-width: 2px;
|
|
443
544
|
border-style: solid;
|
|
444
|
-
border-color: var(--ion-
|
|
545
|
+
border-color: var(--ion-color-step-550, #737373);
|
|
445
546
|
}
|
|
446
547
|
@supports (inset-inline-start: 0) {
|
|
447
548
|
.alert-radio-icon {
|
|
@@ -510,7 +611,7 @@ textarea.alert-input {
|
|
|
510
611
|
}
|
|
511
612
|
|
|
512
613
|
[aria-checked=true] .alert-radio-label {
|
|
513
|
-
color: var(--ion-
|
|
614
|
+
color: var(--ion-color-step-850, #262626);
|
|
514
615
|
}
|
|
515
616
|
|
|
516
617
|
[aria-checked=true] .alert-radio-icon {
|
|
@@ -530,7 +631,7 @@ textarea.alert-input {
|
|
|
530
631
|
padding-bottom: 13px;
|
|
531
632
|
flex: 1;
|
|
532
633
|
width: calc(100% - 53px);
|
|
533
|
-
color: var(--ion-
|
|
634
|
+
color: var(--ion-color-step-850, #262626);
|
|
534
635
|
font-size: 1rem;
|
|
535
636
|
}
|
|
536
637
|
|
|
@@ -542,7 +643,7 @@ textarea.alert-input {
|
|
|
542
643
|
height: 16px;
|
|
543
644
|
border-width: 2px;
|
|
544
645
|
border-style: solid;
|
|
545
|
-
border-color: var(--ion-
|
|
646
|
+
border-color: var(--ion-color-step-550, #737373);
|
|
546
647
|
contain: strict;
|
|
547
648
|
}
|
|
548
649
|
@supports (inset-inline-start: 0) {
|
|
@@ -655,4 +756,15 @@ textarea.alert-input {
|
|
|
655
756
|
|
|
656
757
|
.alert-button-inner {
|
|
657
758
|
justify-content: flex-end;
|
|
759
|
+
}
|
|
760
|
+
|
|
761
|
+
/**
|
|
762
|
+
* MD alerts should scale up to 560px x 560px
|
|
763
|
+
* on tablet dimensions.
|
|
764
|
+
*/
|
|
765
|
+
@media screen and (min-width: 768px) {
|
|
766
|
+
:host {
|
|
767
|
+
--max-width: min(100vw - 96px, 560px);
|
|
768
|
+
--max-height: min(100vh - 96px, 560px);
|
|
769
|
+
}
|
|
658
770
|
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
|
+
*/
|
|
4
|
+
import { expect } from "@playwright/test";
|
|
5
|
+
import { configs, test, Viewports } from "../../../../utils/test/playwright/index";
|
|
6
|
+
/**
|
|
7
|
+
* This behavior does not vary across directions.
|
|
8
|
+
*/
|
|
9
|
+
configs({ modes: ['md'], directions: ['ltr'] }).forEach(({ title, screenshot, config }) => {
|
|
10
|
+
test.describe(title('alert: rendering - tablet'), () => {
|
|
11
|
+
test.beforeEach(async ({ page }) => {
|
|
12
|
+
await page.setViewportSize(Viewports.tablet.portrait);
|
|
13
|
+
await page.goto('/src/components/alert/test/basic', config);
|
|
14
|
+
});
|
|
15
|
+
test('should expand width and height on larger displays with text', async ({ page }) => {
|
|
16
|
+
const ionAlertDidPresent = await page.spyOnEvent('ionAlertDidPresent');
|
|
17
|
+
const button = page.locator('#longMessage');
|
|
18
|
+
const alert = page.locator('ion-alert');
|
|
19
|
+
await button.click();
|
|
20
|
+
await ionAlertDidPresent.next();
|
|
21
|
+
await expect(alert).toHaveScreenshot(screenshot('alert-tablet-text'));
|
|
22
|
+
});
|
|
23
|
+
test('should expand width and height on larger displays with checkboxes', async ({ page }) => {
|
|
24
|
+
const ionAlertDidPresent = await page.spyOnEvent('ionAlertDidPresent');
|
|
25
|
+
const button = page.locator('#checkbox');
|
|
26
|
+
const alert = page.locator('ion-alert');
|
|
27
|
+
await button.click();
|
|
28
|
+
await ionAlertDidPresent.next();
|
|
29
|
+
await expect(alert).toHaveScreenshot(screenshot('alert-tablet-checkboxes'));
|
|
30
|
+
});
|
|
31
|
+
test('should expand width and height on larger displays with radios', async ({ page }) => {
|
|
32
|
+
const ionAlertDidPresent = await page.spyOnEvent('ionAlertDidPresent');
|
|
33
|
+
const button = page.locator('#radio');
|
|
34
|
+
const alert = page.locator('ion-alert');
|
|
35
|
+
await button.click();
|
|
36
|
+
await ionAlertDidPresent.next();
|
|
37
|
+
await expect(alert).toHaveScreenshot(screenshot('alert-tablet-radios'));
|
|
38
|
+
});
|
|
39
|
+
});
|
|
40
|
+
});
|
|
@@ -31,6 +31,28 @@
|
|
|
31
31
|
* @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
|
|
32
32
|
* convert to a unit other than $baselineUnit.
|
|
33
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
|
+
*/
|
|
34
56
|
:host {
|
|
35
57
|
/**
|
|
36
58
|
* @prop --border-radius: Border radius of the avatar and inner image
|
|
@@ -81,6 +103,28 @@
|
|
|
81
103
|
* @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
|
|
82
104
|
* convert to a unit other than $baselineUnit.
|
|
83
105
|
*/
|
|
106
|
+
/**
|
|
107
|
+
* A heuristic that applies CSS to tablet
|
|
108
|
+
* viewports.
|
|
109
|
+
*
|
|
110
|
+
* Usage:
|
|
111
|
+
* @include tablet-viewport() {
|
|
112
|
+
* :host {
|
|
113
|
+
* background-color: green;
|
|
114
|
+
* }
|
|
115
|
+
* }
|
|
116
|
+
*/
|
|
117
|
+
/**
|
|
118
|
+
* A heuristic that applies CSS to mobile
|
|
119
|
+
* viewports (i.e. phones, not tablets).
|
|
120
|
+
*
|
|
121
|
+
* Usage:
|
|
122
|
+
* @include mobile-viewport() {
|
|
123
|
+
* :host {
|
|
124
|
+
* background-color: blue;
|
|
125
|
+
* }
|
|
126
|
+
* }
|
|
127
|
+
*/
|
|
84
128
|
:host {
|
|
85
129
|
--border-radius: 50%;
|
|
86
130
|
width: 48px;
|
|
@@ -31,6 +31,28 @@
|
|
|
31
31
|
* @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
|
|
32
32
|
* convert to a unit other than $baselineUnit.
|
|
33
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
|
+
*/
|
|
34
56
|
:host {
|
|
35
57
|
/**
|
|
36
58
|
* @prop --border-radius: Border radius of the avatar and inner image
|
|
@@ -81,6 +103,28 @@
|
|
|
81
103
|
* @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
|
|
82
104
|
* convert to a unit other than $baselineUnit.
|
|
83
105
|
*/
|
|
106
|
+
/**
|
|
107
|
+
* A heuristic that applies CSS to tablet
|
|
108
|
+
* viewports.
|
|
109
|
+
*
|
|
110
|
+
* Usage:
|
|
111
|
+
* @include tablet-viewport() {
|
|
112
|
+
* :host {
|
|
113
|
+
* background-color: green;
|
|
114
|
+
* }
|
|
115
|
+
* }
|
|
116
|
+
*/
|
|
117
|
+
/**
|
|
118
|
+
* A heuristic that applies CSS to mobile
|
|
119
|
+
* viewports (i.e. phones, not tablets).
|
|
120
|
+
*
|
|
121
|
+
* Usage:
|
|
122
|
+
* @include mobile-viewport() {
|
|
123
|
+
* :host {
|
|
124
|
+
* background-color: blue;
|
|
125
|
+
* }
|
|
126
|
+
* }
|
|
127
|
+
*/
|
|
84
128
|
:host {
|
|
85
129
|
--border-radius: 50%;
|
|
86
130
|
width: 64px;
|
|
@@ -31,6 +31,28 @@
|
|
|
31
31
|
* @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
|
|
32
32
|
* convert to a unit other than $baselineUnit.
|
|
33
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
|
+
*/
|
|
34
56
|
:host {
|
|
35
57
|
/**
|
|
36
58
|
* @prop --background: Background of the button
|
|
@@ -281,6 +303,28 @@ ion-icon {
|
|
|
281
303
|
* @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
|
|
282
304
|
* convert to a unit other than $baselineUnit.
|
|
283
305
|
*/
|
|
306
|
+
/**
|
|
307
|
+
* A heuristic that applies CSS to tablet
|
|
308
|
+
* viewports.
|
|
309
|
+
*
|
|
310
|
+
* Usage:
|
|
311
|
+
* @include tablet-viewport() {
|
|
312
|
+
* :host {
|
|
313
|
+
* background-color: green;
|
|
314
|
+
* }
|
|
315
|
+
* }
|
|
316
|
+
*/
|
|
317
|
+
/**
|
|
318
|
+
* A heuristic that applies CSS to mobile
|
|
319
|
+
* viewports (i.e. phones, not tablets).
|
|
320
|
+
*
|
|
321
|
+
* Usage:
|
|
322
|
+
* @include mobile-viewport() {
|
|
323
|
+
* :host {
|
|
324
|
+
* background-color: blue;
|
|
325
|
+
* }
|
|
326
|
+
* }
|
|
327
|
+
*/
|
|
284
328
|
:host {
|
|
285
329
|
--background-hover: transparent;
|
|
286
330
|
--background-hover-opacity: 1;
|
|
@@ -31,6 +31,28 @@
|
|
|
31
31
|
* @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
|
|
32
32
|
* convert to a unit other than $baselineUnit.
|
|
33
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
|
+
*/
|
|
34
56
|
:host {
|
|
35
57
|
/**
|
|
36
58
|
* @prop --background: Background of the button
|
|
@@ -281,6 +303,28 @@ ion-icon {
|
|
|
281
303
|
* @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
|
|
282
304
|
* convert to a unit other than $baselineUnit.
|
|
283
305
|
*/
|
|
306
|
+
/**
|
|
307
|
+
* A heuristic that applies CSS to tablet
|
|
308
|
+
* viewports.
|
|
309
|
+
*
|
|
310
|
+
* Usage:
|
|
311
|
+
* @include tablet-viewport() {
|
|
312
|
+
* :host {
|
|
313
|
+
* background-color: green;
|
|
314
|
+
* }
|
|
315
|
+
* }
|
|
316
|
+
*/
|
|
317
|
+
/**
|
|
318
|
+
* A heuristic that applies CSS to mobile
|
|
319
|
+
* viewports (i.e. phones, not tablets).
|
|
320
|
+
*
|
|
321
|
+
* Usage:
|
|
322
|
+
* @include mobile-viewport() {
|
|
323
|
+
* :host {
|
|
324
|
+
* background-color: blue;
|
|
325
|
+
* }
|
|
326
|
+
* }
|
|
327
|
+
*/
|
|
284
328
|
:host {
|
|
285
329
|
--border-radius: 4px;
|
|
286
330
|
--background-focused: currentColor;
|