@ionic/core 8.2.1 → 8.2.2-dev.11717796763.1aa87d5c
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 +13 -8
- package/components/alert.js +14 -10
- package/components/backdrop.js +10 -6
- package/components/button.js +41 -12
- package/components/buttons.js +10 -6
- package/components/checkbox.js +26 -13
- package/components/data.js +4 -4
- package/components/ghost-duotone.js +6 -0
- package/components/index2.js +1 -2
- package/components/index4.js +8 -7
- package/components/index6.js +27 -30
- package/components/index7.js +124 -27
- package/components/index8.js +150 -111
- package/components/input-shims.js +1 -1
- package/components/input.utils.js +1 -1
- package/components/ion-accordion-group.js +9 -6
- package/components/ion-accordion.js +15 -9
- package/components/ion-app.js +5 -6
- package/components/ion-avatar.js +52 -3
- package/components/ion-back-button.js +28 -19
- package/components/ion-badge.js +42 -6
- package/components/ion-breadcrumb.js +16 -10
- package/components/ion-breadcrumbs.js +9 -5
- package/components/ion-card-content.js +9 -5
- package/components/ion-card-header.js +9 -5
- package/components/ion-card-subtitle.js +9 -5
- package/components/ion-card-title.js +9 -5
- package/components/ion-card.js +17 -9
- package/components/ion-chip.js +45 -8
- package/components/ion-col.js +5 -5
- package/components/ion-content.js +11 -11
- package/components/ion-datetime-button.js +9 -6
- package/components/ion-datetime.js +47 -20
- package/components/ion-fab-button.js +15 -9
- package/components/ion-fab-list.js +5 -5
- package/components/ion-fab.js +6 -6
- package/components/ion-footer.js +15 -11
- package/components/ion-grid.js +5 -5
- package/components/ion-header.js +15 -11
- package/components/ion-img.js +5 -2
- package/components/ion-infinite-scroll-content.js +12 -8
- package/components/ion-infinite-scroll.js +5 -5
- package/components/ion-input-password-toggle.js +7 -8
- package/components/ion-input.js +101 -20
- package/components/ion-item-divider.js +9 -5
- package/components/ion-item-group.js +9 -5
- package/components/ion-item-option.js +11 -7
- package/components/ion-item-options.js +9 -5
- package/components/ion-item-sliding.js +5 -5
- package/components/ion-loading.js +12 -8
- package/components/ion-menu-button.js +13 -9
- package/components/ion-menu-toggle.js +5 -5
- package/components/ion-menu.js +11 -7
- package/components/ion-modal.js +14 -11
- package/components/ion-nav-link.js +1 -1
- package/components/ion-nav.js +7 -6
- package/components/ion-note.js +9 -5
- package/components/ion-picker-legacy.js +7 -8
- package/components/ion-progress-bar.js +10 -6
- package/components/ion-range.js +11 -8
- package/components/ion-refresher-content.js +9 -8
- package/components/ion-refresher.js +11 -7
- package/components/ion-reorder-group.js +5 -5
- package/components/ion-reorder.js +23 -5
- package/components/ion-router-link.js +6 -6
- package/components/ion-router-outlet.js +2 -2
- package/components/ion-row.js +5 -2
- package/components/ion-searchbar.js +79 -16
- package/components/ion-segment-button.js +12 -8
- package/components/ion-segment.js +9 -5
- package/components/ion-select-option.js +5 -2
- package/components/ion-select.js +67 -28
- package/components/ion-skeleton-text.js +5 -5
- package/components/ion-split-pane.js +12 -8
- package/components/ion-tab-bar.js +9 -5
- package/components/ion-tab-button.js +11 -7
- package/components/ion-tab.js +2 -2
- package/components/ion-tabs.js +2 -2
- package/components/ion-text.js +5 -5
- package/components/ion-textarea.js +13 -9
- package/components/ion-thumbnail.js +5 -2
- package/components/ion-title.js +9 -5
- package/components/ion-toast.js +13 -9
- package/components/ion-toggle.js +56 -18
- package/components/ion-toolbar.js +11 -7
- package/components/ionic-global.js +191 -14
- package/components/ios.transition.js +1 -0
- package/components/item.js +17 -11
- package/components/label.js +9 -5
- package/components/list-header.js +9 -5
- package/components/list.js +10 -6
- package/components/overlays.js +1 -2
- package/components/picker-column-option.js +9 -5
- package/components/picker-column.js +7 -7
- package/components/picker-column2.js +4 -4
- package/components/picker.js +8 -4
- package/components/popover.js +11 -8
- package/components/radio-group.js +5 -3
- package/components/radio.js +12 -8
- package/components/ripple-effect.js +5 -5
- package/components/select-popover.js +9 -2
- package/components/spinner.js +6 -6
- package/components/status-tap.js +1 -1
- package/css/core.css +1 -1
- package/css/core.css.map +1 -1
- package/css/display.css.map +1 -1
- package/css/flex-utils.css.map +1 -1
- package/css/float-elements.css.map +1 -1
- package/css/global.bundle.css.map +1 -1
- package/css/ionic/bundle.ionic.css +1 -0
- package/css/ionic/bundle.ionic.css.map +1 -0
- package/css/ionic/core.ionic.css +1 -0
- package/css/ionic/core.ionic.css.map +1 -0
- package/css/ionic/global.bundle.ionic.css +1 -0
- package/css/ionic/global.bundle.ionic.css.map +1 -0
- package/css/ionic/ionic-swiper.ionic.css +1 -0
- package/css/ionic/ionic-swiper.ionic.css.map +1 -0
- package/css/ionic/link.ionic.css +1 -0
- package/css/ionic/link.ionic.css.map +1 -0
- package/css/ionic/structure.ionic.css +1 -0
- package/css/ionic/structure.ionic.css.map +1 -0
- package/css/ionic/typography.ionic.css +1 -0
- package/css/ionic/typography.ionic.css.map +1 -0
- package/css/ionic/utils.bundle.ionic.css +1 -0
- package/css/ionic/utils.bundle.ionic.css.map +1 -0
- package/css/ionic-swiper.css +1 -1
- package/css/ionic-swiper.css.map +1 -1
- package/css/ionic.bundle.css +1 -1
- package/css/ionic.bundle.css.map +1 -1
- package/css/normalize.css.map +1 -1
- package/css/padding.css.map +1 -1
- package/css/palettes/dark.always.css.map +1 -1
- package/css/palettes/dark.class.css.map +1 -1
- package/css/palettes/dark.system.css.map +1 -1
- package/css/palettes/high-contrast-dark.always.css.map +1 -1
- package/css/palettes/high-contrast-dark.class.css.map +1 -1
- package/css/palettes/high-contrast-dark.system.css.map +1 -1
- package/css/palettes/high-contrast.always.css.map +1 -1
- package/css/palettes/high-contrast.class.css.map +1 -1
- package/css/palettes/high-contrast.system.css.map +1 -1
- package/css/structure.css.map +1 -1
- package/css/text-alignment.css.map +1 -1
- package/css/text-transformation.css.map +1 -1
- package/css/typography.css.map +1 -1
- package/css/utils.bundle.css.map +1 -1
- package/dist/cjs/{app-globals-64aa7919.js → app-globals-5b0a3f95.js} +1 -1
- package/dist/cjs/{data-21dc0f81.js → data-7d67d1e3.js} +6 -6
- package/dist/cjs/ghost-duotone-cd930d5c.js +8 -0
- package/dist/cjs/{hardware-back-button-9931602c.js → hardware-back-button-a90bf4cd.js} +1 -1
- package/dist/cjs/{index-63e64bb7.js → index-59095e03.js} +13 -12
- package/dist/cjs/{index-8a653282.js → index-71f7488c.js} +7 -8
- package/dist/cjs/{index-5b6a7459.js → index-ca6de37f.js} +2 -2
- package/dist/cjs/index.cjs.js +7 -8
- package/dist/cjs/{input-shims-9e59ef62.js → input-shims-58aadbb2.js} +3 -2
- package/dist/cjs/{input.utils-611cde0b.js → input.utils-d9907cfc.js} +2 -2
- package/dist/cjs/ion-accordion_2.cjs.entry.js +23 -14
- package/dist/cjs/ion-action-sheet.cjs.entry.js +15 -11
- package/dist/cjs/ion-alert.cjs.entry.js +16 -13
- package/dist/cjs/ion-app_8.cjs.entry.js +86 -67
- package/dist/cjs/ion-avatar_3.cjs.entry.js +90 -7
- package/dist/cjs/ion-back-button.cjs.entry.js +27 -18
- package/dist/cjs/ion-backdrop.cjs.entry.js +10 -6
- package/dist/cjs/ion-breadcrumb_2.cjs.entry.js +23 -13
- package/dist/cjs/ion-button_2.cjs.entry.js +44 -15
- package/dist/cjs/ion-card_5.cjs.entry.js +48 -25
- package/dist/cjs/ion-checkbox.cjs.entry.js +23 -12
- package/dist/cjs/ion-chip.cjs.entry.js +42 -7
- package/dist/cjs/ion-col_3.cjs.entry.js +13 -10
- package/dist/cjs/ion-datetime-button.cjs.entry.js +14 -11
- package/dist/cjs/ion-datetime_3.cjs.entry.js +135 -108
- package/dist/cjs/ion-fab_3.cjs.entry.js +23 -17
- package/dist/cjs/ion-img.cjs.entry.js +5 -2
- package/dist/cjs/ion-infinite-scroll_2.cjs.entry.js +16 -13
- package/dist/cjs/ion-input-password-toggle.cjs.entry.js +9 -10
- package/dist/cjs/ion-input.cjs.entry.js +99 -20
- package/dist/cjs/ion-item-option_3.cjs.entry.js +23 -16
- package/dist/cjs/ion-item_8.cjs.entry.js +69 -39
- package/dist/cjs/ion-loading.cjs.entry.js +14 -11
- package/dist/cjs/ion-menu_3.cjs.entry.js +29 -22
- package/dist/cjs/ion-modal.cjs.entry.js +22 -19
- package/dist/cjs/ion-nav_2.cjs.entry.js +9 -8
- package/dist/cjs/ion-picker-column-option.cjs.entry.js +9 -5
- package/dist/cjs/ion-picker-column.cjs.entry.js +7 -7
- package/dist/cjs/ion-picker.cjs.entry.js +8 -4
- package/dist/cjs/ion-popover.cjs.entry.js +17 -14
- package/dist/cjs/ion-progress-bar.cjs.entry.js +10 -6
- package/dist/cjs/ion-radio_2.cjs.entry.js +16 -10
- package/dist/cjs/ion-range.cjs.entry.js +16 -13
- package/dist/cjs/ion-refresher_2.cjs.entry.js +18 -14
- package/dist/cjs/ion-reorder_2.cjs.entry.js +26 -9
- package/dist/cjs/ion-ripple-effect.cjs.entry.js +5 -5
- package/dist/cjs/ion-route_4.cjs.entry.js +6 -6
- package/dist/cjs/ion-searchbar.cjs.entry.js +78 -15
- package/dist/cjs/ion-segment_2.cjs.entry.js +20 -12
- package/dist/cjs/ion-select_3.cjs.entry.js +80 -32
- package/dist/cjs/ion-spinner.cjs.entry.js +6 -6
- package/dist/cjs/ion-split-pane.cjs.entry.js +12 -8
- package/dist/cjs/ion-tab-bar_2.cjs.entry.js +19 -11
- package/dist/cjs/ion-tab_2.cjs.entry.js +4 -4
- package/dist/cjs/ion-text.cjs.entry.js +5 -5
- package/dist/cjs/ion-textarea.cjs.entry.js +14 -11
- package/dist/cjs/ion-toast.cjs.entry.js +36 -32
- package/dist/cjs/ion-toggle.cjs.entry.js +55 -17
- package/dist/cjs/ionic-global-2bd379ad.js +418 -0
- package/dist/cjs/ionic.cjs.js +3 -3
- package/dist/cjs/{ios.transition-d94b6863.js → ios.transition-4a91b726.js} +3 -3
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/{md.transition-297be114.js → md.transition-1d783fa9.js} +2 -3
- package/dist/cjs/{overlays-569f7878.js → overlays-0c0d0193.js} +3 -4
- package/dist/cjs/{status-tap-607c6244.js → status-tap-87959a2f.js} +2 -2
- package/dist/collection/components/accordion/accordion.ios.css +12 -0
- package/dist/collection/components/accordion/accordion.js +19 -15
- package/dist/collection/components/accordion/accordion.md.css +6 -0
- package/dist/collection/components/accordion-group/accordion-group.ios.css +12 -0
- package/dist/collection/components/accordion-group/accordion-group.js +11 -8
- package/dist/collection/components/accordion-group/accordion-group.md.css +18 -0
- package/dist/collection/components/action-sheet/action-sheet.ios.css +18 -6
- package/dist/collection/components/action-sheet/action-sheet.js +14 -10
- package/dist/collection/components/action-sheet/action-sheet.md.css +17 -5
- package/dist/collection/components/alert/alert.ios.css +19 -1
- package/dist/collection/components/alert/alert.js +15 -12
- package/dist/collection/components/alert/alert.md.css +19 -1
- package/dist/collection/components/app/app.js +8 -4
- package/dist/collection/components/avatar/avatar.ionic.css +255 -0
- package/dist/collection/components/avatar/avatar.ios.css +12 -0
- package/dist/collection/components/avatar/avatar.js +92 -4
- package/dist/collection/components/avatar/avatar.md.css +12 -0
- package/dist/collection/components/avatar/test/shape/avatar.e2e.js +134 -0
- package/dist/collection/components/avatar/test/size/avatar.e2e.js +147 -0
- package/dist/collection/components/back-button/back-button.ios.css +60 -48
- package/dist/collection/components/back-button/back-button.js +27 -19
- package/dist/collection/components/back-button/back-button.md.css +60 -48
- package/dist/collection/components/backdrop/backdrop.ios.css +13 -1
- package/dist/collection/components/backdrop/backdrop.js +12 -6
- package/dist/collection/components/backdrop/backdrop.md.css +13 -1
- package/dist/collection/components/badge/badge.ionic.css +256 -0
- package/dist/collection/components/badge/badge.ios.css +12 -0
- package/dist/collection/components/badge/badge.js +75 -8
- package/dist/collection/components/badge/badge.md.css +12 -0
- package/dist/collection/components/badge/test/shape/badge.e2e.js +84 -0
- package/dist/collection/components/badge/test/size/badge.e2e.js +96 -0
- package/dist/collection/components/breadcrumb/breadcrumb.ios.css +20 -8
- package/dist/collection/components/breadcrumb/breadcrumb.js +16 -10
- package/dist/collection/components/breadcrumb/breadcrumb.md.css +20 -8
- package/dist/collection/components/breadcrumbs/breadcrumbs.ios.css +6 -0
- package/dist/collection/components/breadcrumbs/breadcrumbs.js +11 -9
- package/dist/collection/components/breadcrumbs/breadcrumbs.md.css +6 -0
- package/dist/collection/components/button/button.ionic.css +417 -0
- package/dist/collection/components/button/button.ios.css +42 -16
- package/dist/collection/components/button/button.js +46 -17
- package/dist/collection/components/button/button.md.css +33 -20
- package/dist/collection/components/button/test/clear/button.e2e.js +6 -3
- package/dist/collection/components/button/test/outline/button.e2e.js +1 -0
- package/dist/collection/components/button/test/shape/button.e2e.js +250 -0
- package/dist/collection/components/button/test/size/button.e2e.js +18 -1
- package/dist/collection/components/button/test/states/button.e2e.js +51 -0
- package/dist/collection/components/buttons/buttons.ios.css +22 -4
- package/dist/collection/components/buttons/buttons.js +14 -8
- package/dist/collection/components/buttons/buttons.md.css +18 -0
- package/dist/collection/components/card/card.ionic.css +88 -0
- package/dist/collection/components/card/card.ios.css +30 -4
- package/dist/collection/components/card/card.js +34 -10
- package/dist/collection/components/card/card.md.css +30 -4
- package/dist/collection/components/card/test/shape/card.e2e.js +40 -0
- package/dist/collection/components/card-content/card-content.ios.css +12 -0
- package/dist/collection/components/card-content/card-content.js +11 -8
- package/dist/collection/components/card-content/card-content.md.css +12 -0
- package/dist/collection/components/card-header/card-header.ios.css +12 -0
- package/dist/collection/components/card-header/card-header.js +12 -9
- package/dist/collection/components/card-header/card-header.md.css +12 -0
- package/dist/collection/components/card-subtitle/card-subtitle.ios.css +12 -0
- package/dist/collection/components/card-subtitle/card-subtitle.js +11 -8
- package/dist/collection/components/card-subtitle/card-subtitle.md.css +12 -0
- package/dist/collection/components/card-title/card-title.ios.css +12 -0
- package/dist/collection/components/card-title/card-title.js +11 -8
- package/dist/collection/components/card-title/card-title.md.css +12 -0
- package/dist/collection/components/checkbox/checkbox.ionic.css +498 -0
- package/dist/collection/components/checkbox/checkbox.ios.css +20 -2
- package/dist/collection/components/checkbox/checkbox.js +59 -14
- package/dist/collection/components/checkbox/checkbox.md.css +21 -3
- package/dist/collection/components/checkbox/test/basic/checkbox.e2e.js +66 -1
- package/dist/collection/components/checkbox/test/label/checkbox.e2e.js +1 -1
- package/dist/collection/components/checkbox/test/states/checkbox.e2e.js +32 -1
- package/dist/collection/components/chip/chip.ionic.css +141 -0
- package/dist/collection/components/chip/chip.ios.css +20 -1
- package/dist/collection/components/chip/chip.js +77 -8
- package/dist/collection/components/chip/chip.md.css +20 -1
- package/dist/collection/components/chip/test/shape/chip.e2e.js +39 -0
- package/dist/collection/components/chip/test/size/chip.e2e.js +26 -0
- package/dist/collection/components/chip/test/states/chip.e2e.js +16 -0
- package/dist/collection/components/col/col.css +12 -0
- package/dist/collection/components/col/col.js +9 -5
- package/dist/collection/components/content/content.css +8 -2
- package/dist/collection/components/content/content.js +13 -10
- package/dist/collection/components/datetime/datetime.ios.css +15 -3
- package/dist/collection/components/datetime/datetime.js +47 -19
- package/dist/collection/components/datetime/datetime.md.css +15 -3
- package/dist/collection/components/datetime/utils/data.js +3 -3
- package/dist/collection/components/datetime-button/datetime-button.ios.css +6 -0
- package/dist/collection/components/datetime-button/datetime-button.js +11 -8
- package/dist/collection/components/datetime-button/datetime-button.md.css +6 -0
- package/dist/collection/components/fab/fab.css +25 -1
- package/dist/collection/components/fab/fab.js +9 -5
- package/dist/collection/components/fab-button/fab-button.ios.css +18 -6
- package/dist/collection/components/fab-button/fab-button.js +19 -14
- package/dist/collection/components/fab-button/fab-button.md.css +20 -8
- package/dist/collection/components/fab-list/fab-list.css +12 -0
- package/dist/collection/components/fab-list/fab-list.js +9 -5
- package/dist/collection/components/footer/footer.ios.css +14 -2
- package/dist/collection/components/footer/footer.js +17 -14
- package/dist/collection/components/footer/footer.md.css +12 -0
- package/dist/collection/components/grid/grid.css +12 -0
- package/dist/collection/components/grid/grid.js +9 -5
- package/dist/collection/components/header/header.ios.css +14 -2
- package/dist/collection/components/header/header.js +17 -14
- package/dist/collection/components/header/header.md.css +12 -0
- package/dist/collection/components/img/img.js +8 -2
- package/dist/collection/components/infinite-scroll/infinite-scroll.js +8 -4
- package/dist/collection/components/infinite-scroll-content/infinite-scroll-content.ios.css +12 -0
- package/dist/collection/components/infinite-scroll-content/infinite-scroll-content.js +16 -10
- package/dist/collection/components/infinite-scroll-content/infinite-scroll-content.md.css +12 -0
- package/dist/collection/components/input/input.ionic.css +1031 -0
- package/dist/collection/components/input/input.ios.css +21 -2
- package/dist/collection/components/input/input.js +128 -30
- package/dist/collection/components/input/input.md.css +43 -4
- package/dist/collection/components/input/test/basic/input.e2e.js +66 -0
- package/dist/collection/components/input/test/bottom-content/input.e2e.js +24 -5
- package/dist/collection/components/input/test/fill/input.e2e.js +37 -39
- package/dist/collection/components/input/test/highlight/input.e2e.js +94 -0
- package/dist/collection/components/input/test/shape/input.e2e.js +165 -0
- package/dist/collection/components/input/test/size/input.e2e.js +164 -0
- package/dist/collection/components/input/test/slot/input.e2e.js +14 -0
- package/dist/collection/components/input/test/states/input.e2e.js +173 -0
- package/dist/collection/components/input-password-toggle/input-password-toggle.js +6 -5
- package/dist/collection/components/item/item.ionic.css +137 -0
- package/dist/collection/components/item/item.ios.css +20 -8
- package/dist/collection/components/item/item.js +21 -16
- package/dist/collection/components/item/item.md.css +31 -7
- package/dist/collection/components/item-divider/item-divider.ios.css +18 -0
- package/dist/collection/components/item-divider/item-divider.js +11 -8
- package/dist/collection/components/item-divider/item-divider.md.css +18 -0
- package/dist/collection/components/item-group/item-group.ios.css +12 -0
- package/dist/collection/components/item-group/item-group.js +13 -7
- package/dist/collection/components/item-group/item-group.md.css +12 -0
- package/dist/collection/components/item-option/item-option.ios.css +14 -2
- package/dist/collection/components/item-option/item-option.js +11 -8
- package/dist/collection/components/item-option/item-option.md.css +14 -2
- package/dist/collection/components/item-options/item-options.ios.css +18 -0
- package/dist/collection/components/item-options/item-options.js +13 -7
- package/dist/collection/components/item-options/item-options.md.css +18 -0
- package/dist/collection/components/item-sliding/item-sliding.css +6 -0
- package/dist/collection/components/item-sliding/item-sliding.js +8 -4
- package/dist/collection/components/label/label.ios.css +18 -0
- package/dist/collection/components/label/label.js +11 -8
- package/dist/collection/components/label/label.md.css +18 -0
- package/dist/collection/components/list/list.ios.css +18 -0
- package/dist/collection/components/list/list.js +12 -9
- package/dist/collection/components/list/list.md.css +18 -0
- package/dist/collection/components/list-header/list-header.ios.css +18 -0
- package/dist/collection/components/list-header/list-header.js +11 -8
- package/dist/collection/components/list-header/list-header.md.css +18 -0
- package/dist/collection/components/loading/loading.ios.css +13 -1
- package/dist/collection/components/loading/loading.js +13 -10
- package/dist/collection/components/loading/loading.md.css +13 -1
- package/dist/collection/components/menu/menu.ios.css +15 -3
- package/dist/collection/components/menu/menu.js +12 -7
- package/dist/collection/components/menu/menu.md.css +15 -3
- package/dist/collection/components/menu-button/menu-button.ios.css +16 -4
- package/dist/collection/components/menu-button/menu-button.js +12 -9
- package/dist/collection/components/menu-button/menu-button.md.css +17 -5
- package/dist/collection/components/menu-toggle/menu-toggle.js +8 -5
- package/dist/collection/components/modal/modal.ios.css +14 -2
- package/dist/collection/components/modal/modal.js +13 -10
- package/dist/collection/components/modal/modal.md.css +14 -2
- package/dist/collection/components/nav/nav.css +7 -1
- package/dist/collection/components/nav/nav.js +12 -6
- package/dist/collection/components/nav-link/nav-link.js +5 -1
- package/dist/collection/components/note/note.ios.css +12 -0
- package/dist/collection/components/note/note.js +11 -8
- package/dist/collection/components/note/note.md.css +12 -0
- package/dist/collection/components/picker/picker.ios.css +15 -3
- package/dist/collection/components/picker/picker.js +8 -5
- package/dist/collection/components/picker/picker.md.css +15 -3
- package/dist/collection/components/picker-column/picker-column.css +9 -2
- package/dist/collection/components/picker-column/picker-column.js +8 -7
- package/dist/collection/components/picker-column-option/picker-column-option.ios.css +6 -0
- package/dist/collection/components/picker-column-option/picker-column-option.js +13 -7
- package/dist/collection/components/picker-column-option/picker-column-option.md.css +6 -0
- package/dist/collection/components/picker-legacy/picker.ios.css +13 -1
- package/dist/collection/components/picker-legacy/picker.js +7 -6
- package/dist/collection/components/picker-legacy/picker.md.css +13 -1
- package/dist/collection/components/picker-legacy-column/picker-column.ios.css +12 -0
- package/dist/collection/components/picker-legacy-column/picker-column.js +4 -4
- package/dist/collection/components/picker-legacy-column/picker-column.md.css +12 -0
- package/dist/collection/components/popover/popover.ios.css +13 -1
- package/dist/collection/components/popover/popover.js +15 -12
- package/dist/collection/components/popover/popover.md.css +13 -1
- package/dist/collection/components/progress-bar/progress-bar.ios.css +8 -2
- package/dist/collection/components/progress-bar/progress-bar.js +10 -7
- package/dist/collection/components/progress-bar/progress-bar.md.css +8 -2
- package/dist/collection/components/radio/radio.ios.css +20 -2
- package/dist/collection/components/radio/radio.js +12 -9
- package/dist/collection/components/radio/radio.md.css +20 -2
- package/dist/collection/components/radio-group/radio-group.js +9 -3
- package/dist/collection/components/range/range.ios.css +12 -0
- package/dist/collection/components/range/range.js +12 -9
- package/dist/collection/components/range/range.md.css +12 -0
- package/dist/collection/components/refresher/refresher.ios.css +14 -1
- package/dist/collection/components/refresher/refresher.js +11 -8
- package/dist/collection/components/refresher/refresher.md.css +15 -2
- package/dist/collection/components/refresher-content/refresher-content.js +12 -7
- package/dist/collection/components/reorder/reorder.ios.css +6 -0
- package/dist/collection/components/reorder/reorder.js +26 -6
- package/dist/collection/components/reorder/reorder.md.css +6 -0
- package/dist/collection/components/reorder-group/reorder-group.css +6 -0
- package/dist/collection/components/reorder-group/reorder-group.js +8 -4
- package/dist/collection/components/ripple-effect/ripple-effect.css +7 -1
- package/dist/collection/components/ripple-effect/ripple-effect.js +8 -4
- package/dist/collection/components/route/route.js +4 -0
- package/dist/collection/components/router/router.js +6 -2
- package/dist/collection/components/router-link/router-link.css +8 -2
- package/dist/collection/components/router-link/router-link.js +9 -5
- package/dist/collection/components/router-outlet/router-outlet.css +7 -1
- package/dist/collection/components/router-outlet/router-outlet.js +6 -3
- package/dist/collection/components/row/row.css +12 -0
- package/dist/collection/components/row/row.js +9 -2
- package/dist/collection/components/searchbar/searchbar.ios.css +14 -2
- package/dist/collection/components/searchbar/searchbar.js +85 -25
- package/dist/collection/components/searchbar/searchbar.md.css +14 -2
- package/dist/collection/components/segment/segment.ios.css +18 -0
- package/dist/collection/components/segment/segment.js +11 -8
- package/dist/collection/components/segment/segment.md.css +18 -0
- package/dist/collection/components/segment-button/segment-button.ios.css +16 -4
- package/dist/collection/components/segment-button/segment-button.js +12 -9
- package/dist/collection/components/segment-button/segment-button.md.css +18 -6
- package/dist/collection/components/select/select.ios.css +22 -3
- package/dist/collection/components/select/select.js +70 -31
- package/dist/collection/components/select/select.md.css +38 -5
- package/dist/collection/components/select-option/select-option.js +9 -2
- package/dist/collection/components/select-popover/select-popover.ios.css +18 -0
- package/dist/collection/components/select-popover/select-popover.js +12 -4
- package/dist/collection/components/select-popover/select-popover.md.css +18 -0
- package/dist/collection/components/skeleton-text/skeleton-text.css +6 -0
- package/dist/collection/components/skeleton-text/skeleton-text.js +9 -5
- package/dist/collection/components/spinner/spinner.css +6 -0
- package/dist/collection/components/spinner/spinner.js +10 -6
- package/dist/collection/components/split-pane/split-pane.ios.css +20 -2
- package/dist/collection/components/split-pane/split-pane.js +14 -8
- package/dist/collection/components/split-pane/split-pane.md.css +20 -2
- package/dist/collection/components/tab/tab.js +6 -2
- package/dist/collection/components/tab-bar/tab-bar.ionic.css +163 -0
- package/dist/collection/components/tab-bar/tab-bar.ios.css +18 -0
- package/dist/collection/components/tab-bar/tab-bar.js +12 -9
- package/dist/collection/components/tab-bar/tab-bar.md.css +18 -0
- package/dist/collection/components/tab-bar/test/basic/tab-bar.e2e.js +34 -0
- package/dist/collection/components/tab-button/tab-button.ionic.css +264 -0
- package/dist/collection/components/tab-button/tab-button.ios.css +15 -3
- package/dist/collection/components/tab-button/tab-button.js +11 -8
- package/dist/collection/components/tab-button/tab-button.md.css +15 -3
- package/dist/collection/components/tabs/tabs.css +7 -1
- package/dist/collection/components/tabs/tabs.js +4 -1
- package/dist/collection/components/text/text.css +6 -0
- package/dist/collection/components/text/text.js +7 -6
- package/dist/collection/components/textarea/textarea.ios.css +26 -1
- package/dist/collection/components/textarea/textarea.js +15 -12
- package/dist/collection/components/textarea/textarea.md.css +39 -2
- package/dist/collection/components/thumbnail/thumbnail.css +6 -0
- package/dist/collection/components/thumbnail/thumbnail.js +9 -2
- package/dist/collection/components/title/title.ios.css +6 -0
- package/dist/collection/components/title/title.js +13 -7
- package/dist/collection/components/title/title.md.css +6 -0
- package/dist/collection/components/toast/animations/utils.js +1 -1
- package/dist/collection/components/toast/toast.ios.css +12 -0
- package/dist/collection/components/toast/toast.js +15 -11
- package/dist/collection/components/toast/toast.md.css +12 -0
- package/dist/collection/components/toggle/toggle.ios.css +23 -2
- package/dist/collection/components/toggle/toggle.js +55 -18
- package/dist/collection/components/toggle/toggle.md.css +20 -2
- package/dist/collection/components/toolbar/toolbar.ios.css +14 -2
- package/dist/collection/components/toolbar/toolbar.js +13 -10
- package/dist/collection/components/toolbar/toolbar.md.css +14 -2
- package/dist/collection/css/test/link/basic/link.e2e.js +35 -0
- package/dist/collection/css/test/{a11y → typography/a11y}/typography.e2e.js +1 -1
- package/dist/collection/css/test/typography/basic/typography.e2e.js +90 -0
- package/dist/collection/global/ionic-global.js +161 -13
- package/dist/collection/global/test/ionic-global.spec.js +109 -0
- package/dist/collection/index.js +1 -0
- package/dist/collection/themes/{test → native/test}/colors/theme.e2e.js +1 -1
- package/dist/collection/utils/menu-controller/animations/overlay.js +3 -3
- package/dist/collection/utils/menu-controller/animations/push.js +2 -1
- package/dist/collection/utils/menu-controller/animations/reveal.js +2 -1
- package/dist/collection/utils/test/playwright/generator.js +48 -23
- package/dist/collection/utils/test/playwright/page/utils/goto.js +14 -5
- package/dist/collection/utils/test/playwright/page/utils/set-content.js +13 -1
- package/dist/collection/utils/transition/ios.transition.js +1 -0
- package/dist/docs.json +6522 -348
- package/dist/esm/{app-globals-232dc3ed.js → app-globals-1fabe499.js} +1 -1
- package/dist/esm/{button-active-f7898f4b.js → button-active-367a8e84.js} +1 -1
- package/dist/esm/{data-ae11fd43.js → data-63b889c5.js} +4 -4
- package/dist/esm/ghost-duotone-157f18b8.js +6 -0
- package/dist/esm/{hardware-back-button-7f93f261.js → hardware-back-button-2da817f5.js} +2 -2
- package/dist/esm/{index-5cc724f3.js → index-00b4cca5.js} +1 -1
- package/dist/esm/{index-c71c5417.js → index-3321c202.js} +1 -1
- package/dist/esm/{index-92f14156.js → index-33a3d901.js} +4 -5
- package/dist/esm/{index-c8c3afda.js → index-44013081.js} +9 -8
- package/dist/esm/index.js +8 -9
- package/dist/esm/{input-shims-0314bbe5.js → input-shims-c142630d.js} +3 -2
- package/dist/esm/{input.utils-09c71bc7.js → input.utils-68c66dbc.js} +1 -1
- package/dist/esm/ion-accordion_2.entry.js +23 -14
- package/dist/esm/ion-action-sheet.entry.js +17 -13
- package/dist/esm/ion-alert.entry.js +18 -15
- package/dist/esm/ion-app_8.entry.js +76 -57
- package/dist/esm/ion-avatar_3.entry.js +91 -8
- package/dist/esm/ion-back-button.entry.js +28 -19
- package/dist/esm/ion-backdrop.entry.js +11 -7
- package/dist/esm/ion-breadcrumb_2.entry.js +24 -14
- package/dist/esm/ion-button_2.entry.js +42 -13
- package/dist/esm/ion-card_5.entry.js +49 -26
- package/dist/esm/ion-checkbox.entry.js +24 -13
- package/dist/esm/ion-chip.entry.js +43 -8
- package/dist/esm/ion-col_3.entry.js +14 -11
- package/dist/esm/ion-datetime-button.entry.js +11 -8
- package/dist/esm/ion-datetime_3.entry.js +60 -33
- package/dist/esm/ion-fab_3.entry.js +24 -18
- package/dist/esm/ion-img.entry.js +6 -3
- package/dist/esm/ion-infinite-scroll_2.entry.js +17 -14
- package/dist/esm/ion-input-password-toggle.entry.js +7 -8
- package/dist/esm/ion-input.entry.js +100 -21
- package/dist/esm/ion-item-option_3.entry.js +24 -17
- package/dist/esm/ion-item_8.entry.js +70 -40
- package/dist/esm/ion-loading.entry.js +15 -12
- package/dist/esm/ion-menu_3.entry.js +30 -23
- package/dist/esm/ion-modal.entry.js +18 -15
- package/dist/esm/ion-nav_2.entry.js +10 -9
- package/dist/esm/ion-picker-column-option.entry.js +10 -6
- package/dist/esm/ion-picker-column.entry.js +8 -8
- package/dist/esm/ion-picker.entry.js +9 -5
- package/dist/esm/ion-popover.entry.js +15 -12
- package/dist/esm/ion-progress-bar.entry.js +11 -7
- package/dist/esm/ion-radio_2.entry.js +17 -11
- package/dist/esm/ion-range.entry.js +12 -9
- package/dist/esm/ion-refresher_2.entry.js +19 -15
- package/dist/esm/ion-reorder_2.entry.js +27 -10
- package/dist/esm/ion-ripple-effect.entry.js +6 -6
- package/dist/esm/ion-route_4.entry.js +7 -7
- package/dist/esm/ion-searchbar.entry.js +79 -16
- package/dist/esm/ion-segment_2.entry.js +21 -13
- package/dist/esm/ion-select_3.entry.js +81 -33
- package/dist/esm/ion-spinner.entry.js +7 -7
- package/dist/esm/ion-split-pane.entry.js +13 -9
- package/dist/esm/ion-tab-bar_2.entry.js +20 -12
- package/dist/esm/ion-tab_2.entry.js +5 -5
- package/dist/esm/ion-text.entry.js +6 -6
- package/dist/esm/ion-textarea.entry.js +15 -12
- package/dist/esm/ion-toast.entry.js +16 -12
- package/dist/esm/ion-toggle.entry.js +56 -18
- package/dist/esm/ionic-global-be8fa30a.js +408 -0
- package/dist/esm/ionic.js +5 -5
- package/dist/esm/{ios.transition-2f45f5c1.js → ios.transition-688eab99.js} +4 -4
- package/dist/esm/loader.js +5 -5
- package/dist/esm/{md.transition-6fcc955f.js → md.transition-0540d1d2.js} +3 -4
- package/dist/esm/{overlays-0d212972.js → overlays-a0e93007.js} +2 -3
- package/dist/esm/{status-tap-53150009.js → status-tap-8d02be66.js} +3 -3
- package/dist/esm-es5/app-globals-1fabe499.js +4 -0
- package/dist/esm-es5/{button-active-f7898f4b.js → button-active-367a8e84.js} +1 -1
- package/dist/esm-es5/data-63b889c5.js +4 -0
- package/dist/esm-es5/ghost-duotone-157f18b8.js +4 -0
- package/dist/esm-es5/{hardware-back-button-7f93f261.js → hardware-back-button-2da817f5.js} +1 -1
- package/dist/esm-es5/index-00b4cca5.js +4 -0
- package/dist/esm-es5/{index-c71c5417.js → index-3321c202.js} +1 -1
- package/dist/esm-es5/index-33a3d901.js +4 -0
- package/dist/esm-es5/index-44013081.js +4 -0
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/input-shims-c142630d.js +4 -0
- package/dist/esm-es5/input.utils-68c66dbc.js +4 -0
- package/dist/esm-es5/ion-accordion_2.entry.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-avatar_3.entry.js +1 -1
- package/dist/esm-es5/ion-back-button.entry.js +1 -1
- package/dist/esm-es5/ion-backdrop.entry.js +1 -1
- package/dist/esm-es5/ion-breadcrumb_2.entry.js +1 -1
- package/dist/esm-es5/ion-button_2.entry.js +1 -1
- package/dist/esm-es5/ion-card_5.entry.js +1 -1
- package/dist/esm-es5/ion-checkbox.entry.js +1 -1
- package/dist/esm-es5/ion-chip.entry.js +1 -1
- package/dist/esm-es5/ion-col_3.entry.js +1 -1
- package/dist/esm-es5/ion-datetime-button.entry.js +1 -1
- package/dist/esm-es5/ion-datetime_3.entry.js +1 -1
- package/dist/esm-es5/ion-fab_3.entry.js +1 -1
- package/dist/esm-es5/ion-img.entry.js +1 -1
- package/dist/esm-es5/ion-infinite-scroll_2.entry.js +1 -1
- package/dist/esm-es5/ion-input-password-toggle.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-picker-column-option.entry.js +1 -1
- package/dist/esm-es5/ion-picker-column.entry.js +1 -1
- package/dist/esm-es5/ion-picker.entry.js +1 -1
- package/dist/esm-es5/ion-popover.entry.js +1 -1
- package/dist/esm-es5/ion-progress-bar.entry.js +1 -1
- package/dist/esm-es5/ion-radio_2.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-ripple-effect.entry.js +1 -1
- package/dist/esm-es5/ion-route_4.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-spinner.entry.js +1 -1
- package/dist/esm-es5/ion-split-pane.entry.js +1 -1
- package/dist/esm-es5/ion-tab-bar_2.entry.js +1 -1
- package/dist/esm-es5/ion-tab_2.entry.js +1 -1
- package/dist/esm-es5/ion-text.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/ionic-global-be8fa30a.js +4 -0
- package/dist/esm-es5/ionic.js +1 -1
- package/dist/esm-es5/ios.transition-688eab99.js +4 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/md.transition-0540d1d2.js +4 -0
- package/dist/esm-es5/overlays-a0e93007.js +4 -0
- package/dist/esm-es5/status-tap-8d02be66.js +4 -0
- package/dist/html.html-data.json +2077 -123
- package/dist/ionic/index.esm.js +1 -1
- package/dist/ionic/ionic.esm.js +1 -1
- package/dist/ionic/ionic.js +1 -1
- package/dist/ionic/p-0116d120.entry.js +4 -0
- package/dist/ionic/p-01ae1aa0.entry.js +4 -0
- package/dist/ionic/p-021bee2f.system.entry.js +4 -0
- package/dist/ionic/p-036d86ec.system.entry.js +4 -0
- package/dist/ionic/p-0a93c048.system.js +4 -0
- package/dist/ionic/p-1219eea0.system.entry.js +4 -0
- package/dist/ionic/{p-bbc5329a.system.entry.js → p-128f0f15.system.entry.js} +2 -2
- package/dist/ionic/p-132e1004.entry.js +4 -0
- package/dist/ionic/{p-395a0dd7.js → p-15901e6c.js} +1 -1
- package/dist/ionic/p-1a5d178f.entry.js +4 -0
- package/dist/ionic/{p-9ea607bd.system.js → p-1b75a2d2.system.js} +2 -2
- package/dist/ionic/p-1d548fea.system.entry.js +4 -0
- package/dist/ionic/p-1dbb7fa3.entry.js +4 -0
- package/dist/ionic/{p-a688052d.system.js → p-1ecfe64f.system.js} +1 -1
- package/dist/ionic/p-22388c4d.entry.js +4 -0
- package/dist/ionic/p-22fef691.js +4 -0
- package/dist/ionic/p-24592a4d.system.entry.js +4 -0
- package/dist/ionic/p-25732faa.system.entry.js +4 -0
- package/dist/ionic/p-27e42c9e.system.js +4 -0
- package/dist/ionic/p-28a10445.system.js +4 -0
- package/dist/ionic/{p-0c06e09b.system.js → p-2ac68c59.system.js} +1 -1
- package/dist/ionic/{p-c350c8f8.system.entry.js → p-2d618ba6.system.entry.js} +1 -1
- package/dist/ionic/{p-99a4d7c7.system.js → p-2df16673.system.js} +2 -2
- package/dist/ionic/p-2efee8e9.entry.js +4 -0
- package/dist/ionic/{p-06e58c4e.js → p-2fa9c16c.js} +1 -1
- package/dist/ionic/p-302c9c7a.system.entry.js +4 -0
- package/dist/ionic/p-350462f9.system.entry.js +4 -0
- package/dist/ionic/p-359afeb0.system.entry.js +4 -0
- package/dist/ionic/p-37e801db.entry.js +4 -0
- package/dist/ionic/{p-60eb4c0d.system.entry.js → p-3862d08b.system.entry.js} +1 -1
- package/dist/ionic/p-3b989be4.entry.js +4 -0
- package/dist/ionic/p-3c031826.system.entry.js +4 -0
- package/dist/ionic/p-3c18022f.entry.js +4 -0
- package/dist/ionic/p-3c93f058.system.entry.js +4 -0
- package/dist/ionic/p-3cccd1c7.system.entry.js +4 -0
- package/dist/ionic/p-3d25c6d9.entry.js +4 -0
- package/dist/ionic/p-3df9b7f5.js +4 -0
- package/dist/ionic/p-3e2568b9.system.js +4 -0
- package/dist/ionic/p-3e9a1680.js +4 -0
- package/dist/ionic/{p-ac34105e.entry.js → p-4058051c.entry.js} +1 -1
- package/dist/ionic/{p-266db4b6.entry.js → p-4079d071.entry.js} +1 -1
- package/dist/ionic/p-40c14f53.system.entry.js +4 -0
- package/dist/ionic/{p-f3ff1e58.entry.js → p-41c9fb60.entry.js} +1 -1
- package/dist/ionic/p-42452dc9.entry.js +4 -0
- package/dist/ionic/p-42816eab.entry.js +4 -0
- package/dist/ionic/p-42bb5ed7.system.entry.js +4 -0
- package/dist/ionic/p-44314b44.system.entry.js +4 -0
- package/dist/ionic/p-479bec54.entry.js +4 -0
- package/dist/ionic/{p-e6964b3a.js → p-493a4548.js} +1 -1
- package/dist/ionic/p-4b9c6418.system.entry.js +4 -0
- package/dist/ionic/p-4d6c2031.system.entry.js +4 -0
- package/dist/ionic/p-4ec67d0a.entry.js +4 -0
- package/dist/ionic/p-5436c152.system.entry.js +4 -0
- package/dist/ionic/p-546438d8.js +4 -0
- package/dist/ionic/p-563a8d3b.entry.js +4 -0
- package/dist/ionic/p-56c72f65.system.entry.js +4 -0
- package/dist/ionic/p-59cd0dd7.system.entry.js +4 -0
- package/dist/ionic/p-5b5f7a34.entry.js +4 -0
- package/dist/ionic/p-61dd8967.system.entry.js +4 -0
- package/dist/ionic/p-61ddbdb9.entry.js +4 -0
- package/dist/ionic/{p-44c6eb74.js → p-644c505f.js} +1 -1
- package/dist/ionic/p-645a7748.entry.js +4 -0
- package/dist/ionic/{p-d60342e3.js → p-6649365e.js} +1 -1
- package/dist/ionic/p-6746c32a.entry.js +4 -0
- package/dist/ionic/{p-eb8098d5.system.entry.js → p-67f85d9a.system.entry.js} +1 -1
- package/dist/ionic/p-6c57ed08.js +4 -0
- package/dist/ionic/p-6daa3633.entry.js +4 -0
- package/dist/ionic/p-72e98815.system.js +4 -0
- package/dist/ionic/p-752e285d.entry.js +4 -0
- package/dist/ionic/p-79113968.js +4 -0
- package/dist/ionic/p-7b590e46.system.js +4 -0
- package/dist/ionic/p-7b914bfb.entry.js +4 -0
- package/dist/ionic/p-7bf2087e.entry.js +4 -0
- package/dist/ionic/p-7dad531c.system.entry.js +4 -0
- package/dist/ionic/p-7f5f8a14.entry.js +4 -0
- package/dist/ionic/p-82df3737.system.entry.js +4 -0
- package/dist/ionic/p-87e823ce.js +4 -0
- package/dist/ionic/p-8a04868b.system.entry.js +4 -0
- package/dist/ionic/p-8ac5efa9.entry.js +4 -0
- package/dist/ionic/p-8ed0cef4.system.entry.js +4 -0
- package/dist/ionic/p-90027267.system.js +4 -0
- package/dist/ionic/p-935801cc.entry.js +4 -0
- package/dist/ionic/p-96f109ca.entry.js +4 -0
- package/dist/ionic/p-9771abb4.entry.js +4 -0
- package/dist/ionic/p-9b925d37.system.entry.js +4 -0
- package/dist/ionic/p-9ba25d15.entry.js +4 -0
- package/dist/ionic/p-9ead4417.js +4 -0
- package/dist/ionic/p-a06d7e6a.system.js +4 -0
- package/dist/ionic/{p-5d6e77bd.system.entry.js → p-a2b60239.system.entry.js} +1 -1
- package/dist/ionic/p-a3b856e6.system.entry.js +4 -0
- package/dist/ionic/{p-00333e13.js → p-a42e4adb.js} +1 -1
- package/dist/ionic/p-ada5e8bb.entry.js +4 -0
- package/dist/ionic/{p-9286b16d.system.entry.js → p-b5cc6e57.system.entry.js} +2 -2
- package/dist/ionic/p-b8ce15f6.system.entry.js +4 -0
- package/dist/ionic/p-bab398d1.entry.js +4 -0
- package/dist/ionic/p-bb7162de.system.js +4 -0
- package/dist/ionic/p-bee73070.entry.js +4 -0
- package/dist/ionic/{p-13260c59.entry.js → p-c23822f8.entry.js} +1 -1
- package/dist/ionic/p-c24b81cc.entry.js +4 -0
- package/dist/ionic/p-c374ab05.system.js +4 -0
- package/dist/ionic/{p-1de7f9e4.entry.js → p-c47b75e3.entry.js} +1 -1
- package/dist/ionic/p-c79decb5.system.entry.js +4 -0
- package/dist/ionic/p-c859a8da.system.js +4 -0
- package/dist/ionic/p-ca5aaed3.system.entry.js +4 -0
- package/dist/ionic/{p-96cc4814.js → p-cd99310b.js} +1 -1
- package/dist/ionic/p-d281c150.system.entry.js +4 -0
- package/dist/ionic/p-d2a580db.entry.js +4 -0
- package/dist/ionic/p-d4f55a93.entry.js +4 -0
- package/dist/ionic/p-d5fc7d63.entry.js +4 -0
- package/dist/ionic/{p-f687573e.system.js → p-d98a1d99.system.js} +1 -1
- package/dist/ionic/p-db08a2d0.system.entry.js +4 -0
- package/dist/ionic/p-db3f14c1.system.entry.js +4 -0
- package/dist/ionic/p-db8fac3d.system.entry.js +4 -0
- package/dist/ionic/p-dc60009b.system.entry.js +4 -0
- package/dist/ionic/p-dc8a3888.entry.js +4 -0
- package/dist/ionic/p-e2313846.entry.js +4 -0
- package/dist/ionic/{p-e6a47e94.entry.js → p-e59d16bd.entry.js} +1 -1
- package/dist/ionic/{p-8d3e57a0.system.entry.js → p-e7e3ba54.system.entry.js} +1 -1
- package/dist/ionic/p-e8aa220a.js +4 -0
- package/dist/ionic/p-ebc71ff5.system.entry.js +4 -0
- package/dist/ionic/p-f0fab903.system.entry.js +4 -0
- package/dist/ionic/p-f621b019.entry.js +4 -0
- package/dist/ionic/p-f997141e.entry.js +4 -0
- package/dist/ionic/{p-6ad705f8.system.js → p-fa019443.system.js} +1 -1
- package/dist/ionic/p-fb17d462.entry.js +4 -0
- package/dist/ionic/p-fb8ecdb4.system.entry.js +4 -0
- package/dist/ionic/p-fc0922fa.system.entry.js +4 -0
- package/dist/ionic/{p-7a43878b.system.js → p-fc9f9e4d.system.js} +1 -1
- package/dist/ionic/p-fcb1218a.system.entry.js +4 -0
- package/dist/ionic/p-ff54800f.system.entry.js +4 -0
- package/dist/types/components/accordion/accordion.d.ts +3 -2
- package/dist/types/components/accordion-group/accordion-group.d.ts +2 -1
- package/dist/types/components/action-sheet/action-sheet-interface.d.ts +3 -7
- package/dist/types/components/action-sheet/action-sheet.d.ts +3 -2
- package/dist/types/components/alert/alert-interface.d.ts +3 -7
- package/dist/types/components/alert/alert.d.ts +3 -2
- package/dist/types/components/app/app.d.ts +4 -0
- package/dist/types/components/avatar/avatar.d.ts +25 -0
- package/dist/types/components/back-button/back-button.d.ts +2 -1
- package/dist/types/components/backdrop/backdrop.d.ts +4 -0
- package/dist/types/components/badge/badge.d.ts +23 -1
- package/dist/types/components/breadcrumb/breadcrumb.d.ts +2 -1
- package/dist/types/components/breadcrumbs/breadcrumbs.d.ts +2 -2
- package/dist/types/components/button/button.d.ts +15 -4
- package/dist/types/components/buttons/buttons.d.ts +5 -1
- package/dist/types/components/card/card.d.ts +8 -1
- package/dist/types/components/card-content/card-content.d.ts +2 -1
- package/dist/types/components/card-header/card-header.d.ts +3 -2
- package/dist/types/components/card-subtitle/card-subtitle.d.ts +2 -1
- package/dist/types/components/card-title/card-title.d.ts +2 -1
- package/dist/types/components/checkbox/checkbox.d.ts +14 -4
- package/dist/types/components/chip/chip.d.ts +19 -1
- package/dist/types/components/col/col.d.ts +4 -0
- package/dist/types/components/content/content.d.ts +3 -0
- package/dist/types/components/datetime/datetime.d.ts +18 -1
- package/dist/types/components/datetime/utils/data.d.ts +3 -3
- package/dist/types/components/datetime-button/datetime-button.d.ts +2 -1
- package/dist/types/components/fab/fab.d.ts +4 -0
- package/dist/types/components/fab-button/fab-button.d.ts +4 -3
- package/dist/types/components/fab-list/fab-list.d.ts +4 -0
- package/dist/types/components/footer/footer.d.ts +4 -3
- package/dist/types/components/grid/grid.d.ts +4 -0
- package/dist/types/components/header/header.d.ts +4 -3
- package/dist/types/components/img/img.d.ts +3 -0
- package/dist/types/components/infinite-scroll/infinite-scroll.d.ts +4 -0
- package/dist/types/components/infinite-scroll-content/infinite-scroll-content.d.ts +4 -0
- package/dist/types/components/input/input.d.ts +31 -5
- package/dist/types/components/item/item.d.ts +5 -4
- package/dist/types/components/item-divider/item-divider.d.ts +2 -1
- package/dist/types/components/item-group/item-group.d.ts +4 -0
- package/dist/types/components/item-option/item-option.d.ts +2 -1
- package/dist/types/components/item-options/item-options.d.ts +4 -0
- package/dist/types/components/item-sliding/item-sliding.d.ts +4 -0
- package/dist/types/components/label/label.d.ts +2 -1
- package/dist/types/components/list/list.d.ts +2 -1
- package/dist/types/components/list-header/list-header.d.ts +2 -1
- package/dist/types/components/loading/loading-interface.d.ts +2 -7
- package/dist/types/components/loading/loading.d.ts +3 -2
- package/dist/types/components/menu/menu.d.ts +3 -0
- package/dist/types/components/menu-button/menu-button.d.ts +2 -1
- package/dist/types/components/menu-toggle/menu-toggle.d.ts +3 -0
- package/dist/types/components/modal/modal-interface.d.ts +3 -7
- package/dist/types/components/modal/modal.d.ts +2 -1
- package/dist/types/components/nav/nav-interface.d.ts +9 -1
- package/dist/types/components/nav/nav.d.ts +5 -1
- package/dist/types/components/nav-link/nav-link.d.ts +4 -0
- package/dist/types/components/note/note.d.ts +2 -1
- package/dist/types/components/picker/picker.d.ts +2 -1
- package/dist/types/components/picker-column/picker-column.d.ts +2 -1
- package/dist/types/components/picker-column-option/picker-column-option.d.ts +4 -0
- package/dist/types/components/picker-legacy/picker.d.ts +2 -1
- package/dist/types/components/popover/popover-interface.d.ts +3 -6
- package/dist/types/components/popover/popover.d.ts +6 -5
- package/dist/types/components/progress-bar/progress-bar.d.ts +2 -1
- package/dist/types/components/radio/radio.d.ts +2 -1
- package/dist/types/components/radio-group/radio-group.d.ts +4 -0
- package/dist/types/components/range/range.d.ts +2 -1
- package/dist/types/components/refresher/refresher.d.ts +2 -1
- package/dist/types/components/refresher-content/refresher-content.d.ts +4 -0
- package/dist/types/components/reorder/reorder.d.ts +11 -0
- package/dist/types/components/reorder-group/reorder-group.d.ts +4 -0
- package/dist/types/components/ripple-effect/ripple-effect.d.ts +4 -0
- package/dist/types/components/route/route.d.ts +4 -0
- package/dist/types/components/router/router.d.ts +4 -0
- package/dist/types/components/router-link/router-link.d.ts +4 -0
- package/dist/types/components/router-outlet/router-outlet.d.ts +4 -1
- package/dist/types/components/row/row.d.ts +4 -0
- package/dist/types/components/searchbar/searchbar.d.ts +27 -8
- package/dist/types/components/segment/segment.d.ts +2 -1
- package/dist/types/components/segment-button/segment-button.d.ts +2 -1
- package/dist/types/components/select/select.d.ts +24 -5
- package/dist/types/components/select-option/select-option.d.ts +4 -0
- package/dist/types/components/select-popover/select-popover.d.ts +3 -0
- package/dist/types/components/skeleton-text/skeleton-text.d.ts +4 -0
- package/dist/types/components/spinner/spinner.d.ts +4 -0
- package/dist/types/components/split-pane/split-pane.d.ts +4 -0
- package/dist/types/components/tab/tab.d.ts +4 -0
- package/dist/types/components/tab-bar/tab-bar.d.ts +3 -2
- package/dist/types/components/tab-button/tab-button.d.ts +2 -1
- package/dist/types/components/tabs/tabs.d.ts +3 -0
- package/dist/types/components/text/text.d.ts +2 -1
- package/dist/types/components/textarea/textarea.d.ts +3 -2
- package/dist/types/components/thumbnail/thumbnail.d.ts +4 -0
- package/dist/types/components/title/title.d.ts +4 -0
- package/dist/types/components/toast/animations/utils.d.ts +2 -2
- package/dist/types/components/toast/toast-interface.d.ts +3 -7
- package/dist/types/components/toast/toast.d.ts +3 -2
- package/dist/types/components/toggle/toggle.d.ts +19 -1
- package/dist/types/components/toolbar/toolbar.d.ts +4 -3
- package/dist/types/components.d.ts +1278 -174
- package/dist/types/global/ionic-global.d.ts +25 -2
- package/dist/types/index.d.ts +1 -0
- package/dist/types/interface.d.ts +3 -0
- package/dist/types/utils/config.d.ts +99 -2
- package/dist/types/utils/overlays-interface.d.ts +31 -1
- package/dist/types/utils/platform.d.ts +2 -2
- package/dist/types/utils/test/playwright/generator.d.ts +31 -2
- package/hydrate/index.js +1594 -623
- package/package.json +8 -4
- package/components/index9.js +0 -167
- package/dist/cjs/index-5915f9b3.js +0 -38
- package/dist/cjs/ionic-global-46459c38.js +0 -237
- package/dist/collection/components/button/test/round/button.e2e.js +0 -52
- package/dist/esm/index-9b0d46f4.js +0 -34
- package/dist/esm/ionic-global-b9c0d1da.js +0 -231
- package/dist/esm-es5/app-globals-232dc3ed.js +0 -4
- package/dist/esm-es5/data-ae11fd43.js +0 -4
- package/dist/esm-es5/index-5cc724f3.js +0 -4
- package/dist/esm-es5/index-92f14156.js +0 -4
- package/dist/esm-es5/index-9b0d46f4.js +0 -4
- package/dist/esm-es5/index-c8c3afda.js +0 -4
- package/dist/esm-es5/input-shims-0314bbe5.js +0 -4
- package/dist/esm-es5/input.utils-09c71bc7.js +0 -4
- package/dist/esm-es5/ionic-global-b9c0d1da.js +0 -4
- package/dist/esm-es5/ios.transition-2f45f5c1.js +0 -4
- package/dist/esm-es5/md.transition-6fcc955f.js +0 -4
- package/dist/esm-es5/overlays-0d212972.js +0 -4
- package/dist/esm-es5/status-tap-53150009.js +0 -4
- package/dist/ionic/p-0471d705.entry.js +0 -4
- package/dist/ionic/p-05bbe79d.entry.js +0 -4
- package/dist/ionic/p-06fee233.js +0 -4
- package/dist/ionic/p-0769896d.system.entry.js +0 -4
- package/dist/ionic/p-13d3abce.system.entry.js +0 -4
- package/dist/ionic/p-1731ab58.system.entry.js +0 -4
- package/dist/ionic/p-17c10451.system.entry.js +0 -4
- package/dist/ionic/p-184fc032.system.js +0 -4
- package/dist/ionic/p-18fd2107.entry.js +0 -4
- package/dist/ionic/p-1a0848af.system.entry.js +0 -4
- package/dist/ionic/p-1cebad78.system.entry.js +0 -4
- package/dist/ionic/p-2690b1de.js +0 -4
- package/dist/ionic/p-26e469a2.system.entry.js +0 -4
- package/dist/ionic/p-2b13fb8c.entry.js +0 -4
- package/dist/ionic/p-2e7673a0.system.entry.js +0 -4
- package/dist/ionic/p-3886b5d0.entry.js +0 -4
- package/dist/ionic/p-38c67b66.system.entry.js +0 -4
- package/dist/ionic/p-3a0091c2.system.entry.js +0 -4
- package/dist/ionic/p-3b199ab6.entry.js +0 -4
- package/dist/ionic/p-3c1b674f.entry.js +0 -4
- package/dist/ionic/p-3dba7283.entry.js +0 -4
- package/dist/ionic/p-3ea44c31.system.entry.js +0 -4
- package/dist/ionic/p-418ad596.entry.js +0 -4
- package/dist/ionic/p-44f6a3e4.system.entry.js +0 -4
- package/dist/ionic/p-4c3d1c73.entry.js +0 -4
- package/dist/ionic/p-4d6b6aef.system.entry.js +0 -4
- package/dist/ionic/p-4d7ab66a.system.entry.js +0 -4
- package/dist/ionic/p-4f610234.entry.js +0 -4
- package/dist/ionic/p-52df00b5.entry.js +0 -4
- package/dist/ionic/p-56cb7d41.entry.js +0 -4
- package/dist/ionic/p-591528fc.entry.js +0 -4
- package/dist/ionic/p-5b121ea3.system.entry.js +0 -4
- package/dist/ionic/p-5bbd2b10.entry.js +0 -4
- package/dist/ionic/p-5c22c8fa.system.js +0 -4
- package/dist/ionic/p-5f2dc7f9.entry.js +0 -4
- package/dist/ionic/p-6017cbeb.system.js +0 -4
- package/dist/ionic/p-6167004c.system.entry.js +0 -4
- package/dist/ionic/p-617caf82.entry.js +0 -4
- package/dist/ionic/p-624e1ca6.system.js +0 -4
- package/dist/ionic/p-646d46b1.entry.js +0 -4
- package/dist/ionic/p-64e15640.system.entry.js +0 -4
- package/dist/ionic/p-65fd47cb.system.entry.js +0 -4
- package/dist/ionic/p-66621486.system.entry.js +0 -4
- package/dist/ionic/p-666583e1.system.entry.js +0 -4
- package/dist/ionic/p-68e5bec9.system.entry.js +0 -4
- package/dist/ionic/p-6c76eff8.system.entry.js +0 -4
- package/dist/ionic/p-6cf5d476.system.js +0 -4
- package/dist/ionic/p-6ee1e402.system.js +0 -4
- package/dist/ionic/p-705c21cb.system.entry.js +0 -4
- package/dist/ionic/p-72ee2cd6.entry.js +0 -4
- package/dist/ionic/p-733db888.entry.js +0 -4
- package/dist/ionic/p-738cb3bd.entry.js +0 -4
- package/dist/ionic/p-75cb6744.system.js +0 -4
- package/dist/ionic/p-796cfde4.entry.js +0 -4
- package/dist/ionic/p-7a86bd75.js +0 -4
- package/dist/ionic/p-7f84a4c8.system.entry.js +0 -4
- package/dist/ionic/p-8ee5c5bf.js +0 -4
- package/dist/ionic/p-943bc98f.system.entry.js +0 -4
- package/dist/ionic/p-94953ea1.system.entry.js +0 -4
- package/dist/ionic/p-94c6f6ab.system.entry.js +0 -4
- package/dist/ionic/p-9690c79d.system.entry.js +0 -4
- package/dist/ionic/p-98f199c6.system.entry.js +0 -4
- package/dist/ionic/p-9f5f3485.js +0 -4
- package/dist/ionic/p-a07f9cb7.system.entry.js +0 -4
- package/dist/ionic/p-a3aaeca8.system.entry.js +0 -4
- package/dist/ionic/p-ab27a195.system.entry.js +0 -4
- package/dist/ionic/p-af9d3f33.entry.js +0 -4
- package/dist/ionic/p-b1e856df.entry.js +0 -4
- package/dist/ionic/p-b6fe4a42.entry.js +0 -4
- package/dist/ionic/p-b7fa6074.js +0 -4
- package/dist/ionic/p-b9fcfe50.system.js +0 -4
- package/dist/ionic/p-c1859486.system.js +0 -4
- package/dist/ionic/p-c5477854.system.entry.js +0 -4
- package/dist/ionic/p-c91c13d2.js +0 -4
- package/dist/ionic/p-cb5d9dd4.entry.js +0 -4
- package/dist/ionic/p-ccab4d05.system.entry.js +0 -4
- package/dist/ionic/p-cdddc32e.entry.js +0 -4
- package/dist/ionic/p-d2293261.system.entry.js +0 -4
- package/dist/ionic/p-d2753e35.js +0 -4
- package/dist/ionic/p-d2db72d1.entry.js +0 -4
- package/dist/ionic/p-d529141b.entry.js +0 -4
- package/dist/ionic/p-d5f62e4e.entry.js +0 -4
- package/dist/ionic/p-d7b97091.entry.js +0 -4
- package/dist/ionic/p-d820d1f1.entry.js +0 -4
- package/dist/ionic/p-d9e26540.system.entry.js +0 -4
- package/dist/ionic/p-da0001cd.system.entry.js +0 -4
- package/dist/ionic/p-dbee9e95.system.entry.js +0 -4
- package/dist/ionic/p-df3ebee9.system.entry.js +0 -4
- package/dist/ionic/p-df4bdf05.entry.js +0 -4
- package/dist/ionic/p-dfb78785.system.js +0 -4
- package/dist/ionic/p-e08fb9c2.system.entry.js +0 -4
- package/dist/ionic/p-e12d7323.entry.js +0 -4
- package/dist/ionic/p-e4587da1.js +0 -4
- package/dist/ionic/p-ea4f2b31.entry.js +0 -4
- package/dist/ionic/p-eaed7394.entry.js +0 -4
- package/dist/ionic/p-ecf5f3e0.entry.js +0 -4
- package/dist/ionic/p-ed72bc6c.system.entry.js +0 -4
- package/dist/ionic/p-ef1c5743.entry.js +0 -4
- package/dist/ionic/p-f181073a.entry.js +0 -4
- package/dist/ionic/p-f52c2d9a.entry.js +0 -4
- package/dist/ionic/p-f654e4df.entry.js +0 -4
- package/dist/ionic/p-fa2abaef.entry.js +0 -4
- package/dist/ionic/p-ff4b7e40.system.js +0 -4
package/components/button.js
CHANGED
|
@@ -3,15 +3,17 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
|
|
5
5
|
import { h as hasShadowDom, i as inheritAriaAttributes } from './helpers.js';
|
|
6
|
-
import { p as printIonWarning } from './
|
|
6
|
+
import { d as getIonTheme, p as printIonWarning } from './ionic-global.js';
|
|
7
7
|
import { o as openURL, c as createColorClasses, h as hostContext } from './theme.js';
|
|
8
|
-
import { b as getIonMode } from './ionic-global.js';
|
|
9
8
|
import { d as defineCustomElement$1 } from './ripple-effect.js';
|
|
10
9
|
|
|
11
|
-
const
|
|
10
|
+
const buttonIonicCss = ":host{--overflow:hidden;--border-width:initial;--border-color:initial;--border-style:initial;--color-activated:var(--color);--color-focused:var(--color);--color-hover:var(--color);--box-shadow:none;--padding-bottom:var(--padding-top);--padding-end:var(--ionic-space-400, 16px);--padding-start:var(--padding-end);--padding-top:var(--ionic-space-300, 12px);--focus-ring-color:var(--ionic-state-focus-1, #9ec4fd);--focus-ring-width:var(--ionic-border-size-050, 2px);display:inline-block;position:relative;width:auto;min-height:var(--ionic-scale-1000, 40px);color:var(--color);font-family:var(--ionic-font-family, \"Inter\", sans-serif);font-size:var(--ionic-font-size-350, 0.875rem);text-align:center;text-decoration:none;white-space:normal;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;vertical-align:top;vertical-align:-webkit-baseline-middle;-webkit-font-kerning:none;font-kerning:none}:host::after{right:0;left:0;top:50%;position:absolute;height:100%;min-height:var(--ionic-scale-1200, 48px);-webkit-transform:translateY(-50%);transform:translateY(-50%);content:\"\";cursor:pointer;z-index:1}:host ::slotted(ion-icon[slot=start]){-webkit-margin-end:var(--ionic-space-200, 8px);margin-inline-end:var(--ionic-space-200, 8px)}:host ::slotted(ion-icon[slot=end]){-webkit-margin-start:var(--ionic-space-200, 8px);margin-inline-start:var(--ionic-space-200, 8px)}:host(.button-xsmall) ::slotted(ion-icon[slot=start]),:host(.button-small) ::slotted(ion-icon[slot=start]){-webkit-margin-end:var(--ionic-space-100, 4px);margin-inline-end:var(--ionic-space-100, 4px)}:host(.button-xsmall) ::slotted(ion-icon[slot=end]),:host(.button-small) ::slotted(ion-icon[slot=end]){-webkit-margin-start:var(--ionic-space-100, 4px);margin-inline-start:var(--ionic-space-100, 4px)}:host(.button-xsmall){--padding-top:var(--ionic-space-100, 4px);--padding-end:var(--ionic-space-300, 12px);min-height:var(--ionic-space-600, 24px);font-size:var(--ionic-font-size-300, 0.75rem)}:host(.button-small){--padding-top:var(--ionic-space-200, 8px);--padding-end:var(--ionic-space-400, 16px);min-height:var(--ionic-scale-800, 32px);font-size:var(--ionic-font-size-300, 0.75rem)}:host(.button-large){--padding-top:var(--ionic-space-400, 16px);--padding-end:var(--ionic-space-600, 24px);min-height:var(--ionic-scale-1200, 48px);font-size:var(--ionic-font-size-400, 1rem)}:host(.button-xlarge){--padding-top:var(--ionic-space-400, 16px);--padding-end:var(--ionic-space-800, 32px);min-height:var(--ionic-scale-1400, 56px);font-size:var(--ionic-font-size-500, 1.25rem)}::slotted(ion-icon[slot=start]),::slotted(ion-icon[slot=end]),::slotted(ion-icon[slot=icon-only]){font-size:var(--ionic-font-size-400, 1rem)}:host(.button-xsmall) ::slotted(ion-icon[slot=start]),:host(.button-xsmall) ::slotted(ion-icon[slot=end]),:host(.button-xsmall) ::slotted(ion-icon[slot=icon-only]),:host(.button-small) ::slotted(ion-icon[slot=start]),:host(.button-small) ::slotted(ion-icon[slot=end]),:host(.button-small) ::slotted(ion-icon[slot=icon-only]),:host(.button-large) ::slotted(ion-icon[slot=start]),:host(.button-large) ::slotted(ion-icon[slot=end]),:host(.button-large) ::slotted(ion-icon[slot=icon-only]),:host(.button-xlarge) ::slotted(ion-icon[slot=start]),:host(.button-xlarge) ::slotted(ion-icon[slot=end]),:host(.button-xlarge) ::slotted(ion-icon[slot=icon-only]){font-size:inherit}:host(.button-has-icon-only){--padding-end:var(--padding-top);aspect-ratio:1/1}:host(.button-soft){--border-radius:var(--ionic-border-radius-200, 8px)}:host(.button-soft.button-xsmall),:host(.button-soft.button-small){--border-radius:var(--ionic-border-radius-100, 4px)}:host(.button-round){--border-radius:var(--ionic-border-radius-full, 999px)}:host(.button-rectangular){--border-radius:var(--ionic-border-radius-0, 0px)}:host(.ion-focused) .button-native{outline:var(--focus-ring-width) var(--ionic-border-style-solid, solid) var(--focus-ring-color);outline-offset:var(--ionic-border-size-050, 2px)}:host(.button-solid){--background-activated:var(--ionic-color-primary-base, #105cef)}:host(.button-solid.ion-activated) .button-native::after{background:var(--ionic-color-primary-900, #0d4bc3)}:host(.button-outline){--border-width:var(--ionic-border-size-025, 1px);--border-style:var(--ionic-border-style-solid, solid);--background-activated:var(--ionic-color-neutral-200, #e7e7e7);--background-activated-opacity:1;--background-focused:transparent;--background-hover:transparent;--background-focused-opacity:0.1;--color-activated:var(--ionic-color-primary-base, #105cef)}:host(.button-outline.ion-focused){--border-color:transparent}:host(.button-clear){--background-activated:var(--ionic-color-neutral-200, #e7e7e7);--background-activated-opacity:1;--background-focused:transparent;--background-hover:transparent}:host(.button-solid){--background-hover:var(--ionic-color-primary-800, #0f54da)}:host(.button-outline),:host(.button-clear){--background-hover:var(--ionic-color-neutral-100, #f1f1f1)}:host(.button-disabled){--background:var(--ionic-state-disabled, rgba(255, 255, 255, 0.6));--border-color:var(--color);cursor:default;opacity:0.5;pointer-events:none}:host(.button-solid){--background:var(--ionic-color-primary-base, #105cef);--color:var(--ionic-color-base-white, #ffffff)}:host(.button-outline){--border-color:var(--ionic-color-primary-base, #105cef);--background:var(--ionic-color-base-white, #ffffff);--color:var(--ionic-color-primary-base, #105cef)}:host(.button-clear){--border-width:var(--ionic-border-size-0, 0px);--background:transparent;--color:var(--ionic-color-primary-base, #105cef)}:host(.button-block){display:block}:host(.button-block) .button-native{margin-left:0;margin-right:0;width:100%;clear:both;contain:content}:host(.button-block) .button-native::after{clear:both}:host(.button-full){display:block}:host(.button-full) .button-native{margin-left:0;margin-right:0;width:100%;contain:content}:host(.button-full:not(.button-round)) .button-native{border-radius:0;border-right-width:0;border-left-width:0}.button-native{border-radius:var(--border-radius);-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);color:inherit;font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-align:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;white-space:inherit;display:-ms-flexbox;display:flex;position:relative;-ms-flex-align:center;align-items:center;width:100%;height:100%;min-height:inherit;-webkit-transition:var(--transition);transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);outline:none;background:var(--background);line-height:1;-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);contain:layout style;cursor:pointer;opacity:var(--opacity);overflow:var(--overflow);z-index:0;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-appearance:none;-moz-appearance:none;appearance:none}.button-native::-moz-focus-inner{border:0}.button-inner{display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;z-index:1}::slotted([slot=start]),::slotted([slot=end]){-ms-flex-negative:0;flex-shrink:0}::slotted(ion-icon){font-size:var(--ionic-font-size-500, 1.25rem);pointer-events:none}.button-native::after{right:0;left:0;top:0;bottom:0;position:absolute;content:\"\";opacity:0}:host(.ion-focused){color:var(--color-focused)}:host(.ion-focused) .button-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}@media (any-hover: hover){:host(:hover){color:var(--color-hover)}:host(:hover) .button-native::after{background:var(--background-hover);opacity:var(--background-hover-opacity)}}:host(.ion-activated){color:var(--color-activated)}:host(.ion-activated) .button-native::after{background:var(--background-activated);opacity:var(--background-activated-opacity)}";
|
|
11
|
+
const IonButtonIonicStyle0 = buttonIonicCss;
|
|
12
|
+
|
|
13
|
+
const buttonIosCss = ":host{--overflow:hidden;--ripple-color:currentColor;--border-width:initial;--border-color:initial;--border-style:initial;--color-activated:var(--color);--color-focused:var(--color);--color-hover:var(--color);--box-shadow:none;display:inline-block;width:auto;color:var(--color);font-family:var(--ion-font-family, inherit);text-align:center;text-decoration:none;white-space:normal;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;vertical-align:top;vertical-align:-webkit-baseline-middle;-webkit-font-kerning:none;font-kerning:none}:host(.button-disabled){cursor:default;opacity:0.5;pointer-events:none}:host(.button-solid){--background:var(--ion-color-primary, #0054e9);--color:var(--ion-color-primary-contrast, #fff)}:host(.button-outline){--border-color:var(--ion-color-primary, #0054e9);--background:transparent;--color:var(--ion-color-primary, #0054e9)}:host(.button-clear){--border-width:0;--background:transparent;--color:var(--ion-color-primary, #0054e9)}:host(.button-block){display:block}:host(.button-block) .button-native{margin-left:0;margin-right:0;width:100%;clear:both;contain:content}:host(.button-block) .button-native::after{clear:both}:host(.button-full){display:block}:host(.button-full) .button-native{margin-left:0;margin-right:0;width:100%;contain:content}:host(.button-full:not(.button-round)) .button-native{border-radius:0;border-right-width:0;border-left-width:0}.button-native{border-radius:var(--border-radius);-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);color:inherit;font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-align:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;white-space:inherit;display:-ms-flexbox;display:flex;position:relative;-ms-flex-align:center;align-items:center;width:100%;height:100%;min-height:inherit;-webkit-transition:var(--transition);transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);outline:none;background:var(--background);line-height:1;-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);contain:layout style;cursor:pointer;opacity:var(--opacity);overflow:var(--overflow);z-index:0;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-appearance:none;-moz-appearance:none;appearance:none}.button-native::-moz-focus-inner{border:0}.button-inner{display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;z-index:1}::slotted([slot=start]),::slotted([slot=end]){-ms-flex-negative:0;flex-shrink:0}::slotted(ion-icon){font-size:1.35em;pointer-events:none}::slotted(ion-icon[slot=start]){-webkit-margin-start:-0.3em;margin-inline-start:-0.3em;-webkit-margin-end:0.3em;margin-inline-end:0.3em;margin-top:0;margin-bottom:0}::slotted(ion-icon[slot=end]){-webkit-margin-start:0.3em;margin-inline-start:0.3em;-webkit-margin-end:-0.2em;margin-inline-end:-0.2em;margin-top:0;margin-bottom:0}ion-ripple-effect{color:var(--ripple-color)}.button-native::after{right:0;left:0;top:0;bottom:0;position:absolute;content:\"\";opacity:0}:host(.ion-focused){color:var(--color-focused)}:host(.ion-focused) .button-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}@media (any-hover: hover){:host(:hover){color:var(--color-hover)}:host(:hover) .button-native::after{background:var(--background-hover);opacity:var(--background-hover-opacity)}}:host(.ion-activated){color:var(--color-activated)}:host(.ion-activated) .button-native::after{background:var(--background-activated);opacity:var(--background-activated-opacity)}:host(.button-solid.ion-color) .button-native{background:var(--ion-color-base);color:var(--ion-color-contrast)}:host(.button-outline.ion-color) .button-native{border-color:var(--ion-color-base);background:transparent;color:var(--ion-color-base)}:host(.button-clear.ion-color) .button-native{background:transparent;color:var(--ion-color-base)}:host(.in-toolbar:not(.ion-color):not(.in-toolbar-color)) .button-native{color:var(--ion-toolbar-color, var(--color))}:host(.button-outline.in-toolbar:not(.ion-color):not(.in-toolbar-color)) .button-native{border-color:var(--ion-toolbar-color, var(--color, var(--border-color)))}:host(.button-solid.in-toolbar:not(.ion-color):not(.in-toolbar-color)) .button-native{background:var(--ion-toolbar-color, var(--background));color:var(--ion-toolbar-background, var(--color))}:host{--padding-top:13px;--padding-bottom:13px;--padding-start:1em;--padding-end:1em;--transition:background-color, opacity 100ms linear;-webkit-margin-start:2px;margin-inline-start:2px;-webkit-margin-end:2px;margin-inline-end:2px;margin-top:4px;margin-bottom:4px;min-height:3.1em;font-size:min(1rem, 48px);font-weight:500;letter-spacing:0}:host(.button-solid){--background-activated:var(--ion-color-primary-shade, #004acd);--background-focused:var(--ion-color-primary-shade, #004acd);--background-hover:var(--ion-color-primary-tint, #1a65eb);--background-activated-opacity:1;--background-focused-opacity:1;--background-hover-opacity:1}:host(.button-outline){--border-width:1px;--border-style:solid;--background-activated:var(--ion-color-primary, #0054e9);--background-focused:var(--ion-color-primary, #0054e9);--background-hover:transparent;--background-focused-opacity:0.1;--color-activated:var(--ion-color-primary-contrast, #fff)}:host(.button-clear){--background-activated:transparent;--background-activated-opacity:0;--background-focused:var(--ion-color-primary, #0054e9);--background-hover:transparent;--background-focused-opacity:0.1;font-size:min(1.0625rem, 51px);font-weight:normal}:host(.in-buttons){font-size:clamp(17px, 1.0625rem, 21.08px);font-weight:400}:host(.button-large){--padding-top:17px;--padding-start:1em;--padding-end:1em;--padding-bottom:17px;min-height:3.1em;font-size:min(1.25rem, 60px)}:host(.button-small){--padding-top:4px;--padding-start:0.9em;--padding-end:0.9em;--padding-bottom:4px;min-height:2.1em;font-size:min(0.8125rem, 39px)}:host(.button-soft){--border-radius:6px}:host(.button-soft.button-large){--border-radius:8px}:host(.button-soft.button-small){--border-radius:4px}:host(.button-round){--border-radius:999px}:host(.button-rectangular){--border-radius:0px}:host(.button-strong){font-weight:600}:host(.button-has-icon-only){--padding-top:0;--padding-bottom:var(--padding-top);--padding-end:var(--padding-top);--padding-start:var(--padding-end);min-width:clamp(30px, 2.125em, 60px);min-height:clamp(30px, 2.125em, 60px)}::slotted(ion-icon[slot=icon-only]){font-size:clamp(15.12px, 1.125em, 43.02px)}:host(.button-small.button-has-icon-only){min-width:clamp(23px, 2.16em, 54px);min-height:clamp(23px, 2.16em, 54px)}:host(.button-small) ::slotted(ion-icon[slot=icon-only]){font-size:clamp(12.1394px, 1.308125em, 40.1856px)}:host(.button-large.button-has-icon-only){min-width:clamp(46px, 2.5em, 78px);min-height:clamp(46px, 2.5em, 78px)}:host(.button-large) ::slotted(ion-icon[slot=icon-only]){font-size:clamp(15.12px, 0.9em, 43.056px)}:host(.button-outline.ion-focused.ion-color) .button-native,:host(.button-clear.ion-focused.ion-color) .button-native{color:var(--ion-color-base)}:host(.button-outline.ion-focused.ion-color) .button-native::after,:host(.button-clear.ion-focused.ion-color) .button-native::after{background:var(--ion-color-base)}:host(.button-solid.ion-color.ion-focused) .button-native::after{background:var(--ion-color-shade)}@media (any-hover: hover){:host(.button-clear:not(.ion-activated):hover),:host(.button-outline:not(.ion-activated):hover){opacity:0.6}:host(.button-clear.ion-color:hover) .button-native,:host(.button-outline.ion-color:hover) .button-native{color:var(--ion-color-base)}:host(.button-clear.ion-color:hover) .button-native::after,:host(.button-outline.ion-color:hover) .button-native::after{background:transparent}:host(.button-solid.ion-color:hover) .button-native::after{background:var(--ion-color-tint)}:host(:hover.button-solid.in-toolbar:not(.ion-color):not(.in-toolbar-color):not(.ion-activated)) .button-native::after{background:#fff;opacity:0.1}}:host(.button-clear.ion-activated){opacity:0.4}:host(.button-outline.ion-activated.ion-color) .button-native{color:var(--ion-color-contrast)}:host(.button-outline.ion-activated.ion-color) .button-native::after{background:var(--ion-color-base)}:host(.button-solid.ion-color.ion-activated) .button-native::after{background:var(--ion-color-shade)}:host(.button-outline.ion-activated.in-toolbar:not(.ion-color):not(.in-toolbar-color)) .button-native{background:var(--ion-toolbar-color, var(--color));color:var(--ion-toolbar-background, var(--background), var(--ion-color-primary-contrast, #fff))}";
|
|
12
14
|
const IonButtonIosStyle0 = buttonIosCss;
|
|
13
15
|
|
|
14
|
-
const buttonMdCss = ":host{--overflow:hidden;--ripple-color:currentColor;--border-width:initial;--border-color:initial;--border-style:initial;--color-activated:var(--color);--color-focused:var(--color);--color-hover:var(--color);--box-shadow:none;display:inline-block;width:auto;color:var(--color);font-family:var(--ion-font-family, inherit);text-align:center;text-decoration:none;white-space:normal;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;vertical-align:top;vertical-align:-webkit-baseline-middle;-webkit-font-kerning:none;font-kerning:none}:host(.button-disabled){cursor:default;opacity:0.5;pointer-events:none}:host(.button-solid){--background:var(--ion-color-primary, #0054e9);--color:var(--ion-color-primary-contrast, #fff)}:host(.button-outline){--border-color:var(--ion-color-primary, #0054e9);--background:transparent;--color:var(--ion-color-primary, #0054e9)}:host(.button-clear){--border-width:0;--background:transparent;--color:var(--ion-color-primary, #0054e9)}:host(.button-block){display:block}:host(.button-block) .button-native{margin-left:0;margin-right:0;width:100%;clear:both;contain:content}:host(.button-block) .button-native::after{clear:both}:host(.button-full){display:block}:host(.button-full) .button-native{margin-left:0;margin-right:0;width:100%;contain:content}:host(.button-full:not(.button-round)) .button-native{border-radius:0;border-right-width:0;border-left-width:0}.button-native{border-radius:var(--border-radius);-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-
|
|
16
|
+
const buttonMdCss = ":host{--overflow:hidden;--ripple-color:currentColor;--border-width:initial;--border-color:initial;--border-style:initial;--color-activated:var(--color);--color-focused:var(--color);--color-hover:var(--color);--box-shadow:none;display:inline-block;width:auto;color:var(--color);font-family:var(--ion-font-family, inherit);text-align:center;text-decoration:none;white-space:normal;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;vertical-align:top;vertical-align:-webkit-baseline-middle;-webkit-font-kerning:none;font-kerning:none}:host(.button-disabled){cursor:default;opacity:0.5;pointer-events:none}:host(.button-solid){--background:var(--ion-color-primary, #0054e9);--color:var(--ion-color-primary-contrast, #fff)}:host(.button-outline){--border-color:var(--ion-color-primary, #0054e9);--background:transparent;--color:var(--ion-color-primary, #0054e9)}:host(.button-clear){--border-width:0;--background:transparent;--color:var(--ion-color-primary, #0054e9)}:host(.button-block){display:block}:host(.button-block) .button-native{margin-left:0;margin-right:0;width:100%;clear:both;contain:content}:host(.button-block) .button-native::after{clear:both}:host(.button-full){display:block}:host(.button-full) .button-native{margin-left:0;margin-right:0;width:100%;contain:content}:host(.button-full:not(.button-round)) .button-native{border-radius:0;border-right-width:0;border-left-width:0}.button-native{border-radius:var(--border-radius);-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);color:inherit;font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-align:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;white-space:inherit;display:-ms-flexbox;display:flex;position:relative;-ms-flex-align:center;align-items:center;width:100%;height:100%;min-height:inherit;-webkit-transition:var(--transition);transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);outline:none;background:var(--background);line-height:1;-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);contain:layout style;cursor:pointer;opacity:var(--opacity);overflow:var(--overflow);z-index:0;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-appearance:none;-moz-appearance:none;appearance:none}.button-native::-moz-focus-inner{border:0}.button-inner{display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;z-index:1}::slotted([slot=start]),::slotted([slot=end]){-ms-flex-negative:0;flex-shrink:0}::slotted(ion-icon){font-size:1.35em;pointer-events:none}::slotted(ion-icon[slot=start]){-webkit-margin-start:-0.3em;margin-inline-start:-0.3em;-webkit-margin-end:0.3em;margin-inline-end:0.3em;margin-top:0;margin-bottom:0}::slotted(ion-icon[slot=end]){-webkit-margin-start:0.3em;margin-inline-start:0.3em;-webkit-margin-end:-0.2em;margin-inline-end:-0.2em;margin-top:0;margin-bottom:0}ion-ripple-effect{color:var(--ripple-color)}.button-native::after{right:0;left:0;top:0;bottom:0;position:absolute;content:\"\";opacity:0}:host(.ion-focused){color:var(--color-focused)}:host(.ion-focused) .button-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}@media (any-hover: hover){:host(:hover){color:var(--color-hover)}:host(:hover) .button-native::after{background:var(--background-hover);opacity:var(--background-hover-opacity)}}:host(.ion-activated){color:var(--color-activated)}:host(.ion-activated) .button-native::after{background:var(--background-activated);opacity:var(--background-activated-opacity)}:host(.button-solid.ion-color) .button-native{background:var(--ion-color-base);color:var(--ion-color-contrast)}:host(.button-outline.ion-color) .button-native{border-color:var(--ion-color-base);background:transparent;color:var(--ion-color-base)}:host(.button-clear.ion-color) .button-native{background:transparent;color:var(--ion-color-base)}:host(.in-toolbar:not(.ion-color):not(.in-toolbar-color)) .button-native{color:var(--ion-toolbar-color, var(--color))}:host(.button-outline.in-toolbar:not(.ion-color):not(.in-toolbar-color)) .button-native{border-color:var(--ion-toolbar-color, var(--color, var(--border-color)))}:host(.button-solid.in-toolbar:not(.ion-color):not(.in-toolbar-color)) .button-native{background:var(--ion-toolbar-color, var(--background));color:var(--ion-toolbar-background, var(--color))}:host{--padding-top:8px;--padding-bottom:8px;--padding-start:1.1em;--padding-end:1.1em;--transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1), background-color 15ms linear, color 15ms linear;-webkit-margin-start:2px;margin-inline-start:2px;-webkit-margin-end:2px;margin-inline-end:2px;margin-top:4px;margin-bottom:4px;min-height:36px;font-size:0.875rem;font-weight:500;letter-spacing:0.06em;text-transform:uppercase}:host(.button-solid){--background-activated:transparent;--background-hover:var(--ion-color-primary-contrast, #fff);--background-focused:var(--ion-color-primary-contrast, #fff);--background-activated-opacity:0;--background-focused-opacity:0.24;--background-hover-opacity:0.08;--box-shadow:0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12)}:host(.button-solid.ion-activated){--box-shadow:0 5px 5px -3px rgba(0, 0, 0, 0.2), 0 8px 10px 1px rgba(0, 0, 0, 0.14), 0 3px 14px 2px rgba(0, 0, 0, 0.12)}:host(.button-outline){--border-width:2px;--border-style:solid;--box-shadow:none;--background-activated:transparent;--background-focused:var(--ion-color-primary, #0054e9);--background-hover:var(--ion-color-primary, #0054e9);--background-activated-opacity:0;--background-focused-opacity:0.12;--background-hover-opacity:0.04}:host(.button-outline.ion-activated.ion-color) .button-native{background:transparent}:host(.button-clear){--background-activated:transparent;--background-focused:var(--ion-color-primary, #0054e9);--background-hover:var(--ion-color-primary, #0054e9);--background-activated-opacity:0;--background-focused-opacity:0.12;--background-hover-opacity:0.04}:host(.button-soft){--border-radius:4px}:host(.button-round){--border-radius:999px}:host(.button-rectangular){--border-radius:0px}:host(.button-large){--padding-top:14px;--padding-start:1em;--padding-end:1em;--padding-bottom:14px;min-height:2.8em;font-size:1.25rem}:host(.button-small){--padding-top:4px;--padding-start:0.9em;--padding-end:0.9em;--padding-bottom:4px;min-height:2.1em;font-size:0.8125rem}:host(.button-strong){font-weight:bold}:host(.button-has-icon-only){--padding-top:0;--padding-bottom:var(--padding-top);--padding-end:var(--padding-top);--padding-start:var(--padding-end);min-width:clamp(30px, 2.86em, 60px);min-height:clamp(30px, 2.86em, 60px)}::slotted(ion-icon[slot=icon-only]){font-size:clamp(15.104px, 1.6em, 43.008px)}:host(.button-small.button-has-icon-only){min-width:clamp(23px, 2.16em, 54px);min-height:clamp(23px, 2.16em, 54px)}:host(.button-small) ::slotted(ion-icon[slot=icon-only]){font-size:clamp(13.002px, 1.23125em, 40.385px)}:host(.button-large.button-has-icon-only){min-width:clamp(46px, 2.5em, 78px);min-height:clamp(46px, 2.5em, 78px)}:host(.button-large) ::slotted(ion-icon[slot=icon-only]){font-size:clamp(15.008px, 1.4em, 43.008px)}:host(.button-solid.ion-color.ion-focused) .button-native::after{background:var(--ion-color-contrast)}:host(.button-clear.ion-color.ion-focused) .button-native::after,:host(.button-outline.ion-color.ion-focused) .button-native::after{background:var(--ion-color-base)}@media (any-hover: hover){:host(.button-solid.ion-color:hover) .button-native::after{background:var(--ion-color-contrast)}:host(.button-clear.ion-color:hover) .button-native::after,:host(.button-outline.ion-color:hover) .button-native::after{background:var(--ion-color-base)}}:host(.button-outline.ion-activated.in-toolbar:not(.ion-color):not(.in-toolbar-color)) .button-native{background:var(--ion-toolbar-background, var(--color));color:var(--ion-toolbar-color, var(--background), var(--ion-color-primary-contrast, #fff))}";
|
|
15
17
|
const IonButtonMdStyle0 = buttonMdCss;
|
|
16
18
|
|
|
17
19
|
const Button = /*@__PURE__*/ proxyCustomElement(class Button extends HTMLElement {
|
|
@@ -124,6 +126,31 @@ const Button = /*@__PURE__*/ proxyCustomElement(class Button extends HTMLElement
|
|
|
124
126
|
}
|
|
125
127
|
return 'bounded';
|
|
126
128
|
}
|
|
129
|
+
/**
|
|
130
|
+
* Set the shape based on the theme
|
|
131
|
+
*/
|
|
132
|
+
getShape() {
|
|
133
|
+
const theme = getIonTheme(this);
|
|
134
|
+
const { shape } = this;
|
|
135
|
+
if (shape === undefined) {
|
|
136
|
+
return theme === 'ios' ? 'soft' : 'round';
|
|
137
|
+
}
|
|
138
|
+
return shape;
|
|
139
|
+
}
|
|
140
|
+
/**
|
|
141
|
+
* Disable the "xsmall" and "xlarge" sizes if the theme is "ios" or "md"
|
|
142
|
+
*/
|
|
143
|
+
getSize() {
|
|
144
|
+
const theme = getIonTheme(this);
|
|
145
|
+
const { size } = this;
|
|
146
|
+
if (size === undefined && this.inItem) {
|
|
147
|
+
return 'small';
|
|
148
|
+
}
|
|
149
|
+
if ((theme === 'ios' || theme === 'md') && (size === 'xsmall' || size === 'xlarge')) {
|
|
150
|
+
return undefined;
|
|
151
|
+
}
|
|
152
|
+
return size;
|
|
153
|
+
}
|
|
127
154
|
/**
|
|
128
155
|
* Finds the form element based on the provided `form` selector
|
|
129
156
|
* or element reference provided.
|
|
@@ -184,9 +211,10 @@ const Button = /*@__PURE__*/ proxyCustomElement(class Button extends HTMLElement
|
|
|
184
211
|
}
|
|
185
212
|
}
|
|
186
213
|
render() {
|
|
187
|
-
const
|
|
188
|
-
const
|
|
189
|
-
const
|
|
214
|
+
const { buttonType, type, disabled, rel, target, href, color, expand, hasIconOnly, strong, inheritedAttributes } = this;
|
|
215
|
+
const theme = getIonTheme(this);
|
|
216
|
+
const size = this.getSize();
|
|
217
|
+
const shape = this.getShape();
|
|
190
218
|
const TagType = href === undefined ? 'button' : 'a';
|
|
191
219
|
const attrs = TagType === 'button'
|
|
192
220
|
? { type }
|
|
@@ -214,12 +242,12 @@ const Button = /*@__PURE__*/ proxyCustomElement(class Button extends HTMLElement
|
|
|
214
242
|
{
|
|
215
243
|
type !== 'button' && this.renderHiddenButton();
|
|
216
244
|
}
|
|
217
|
-
return (h(Host, { key: '
|
|
218
|
-
[
|
|
245
|
+
return (h(Host, { key: 'b541bf4e31842abbd28c63c34601703e857342f7', onClick: this.handleClick, "aria-disabled": disabled ? 'true' : null, class: createColorClasses(color, {
|
|
246
|
+
[theme]: true,
|
|
219
247
|
[buttonType]: true,
|
|
220
248
|
[`${buttonType}-${expand}`]: expand !== undefined,
|
|
221
|
-
[`${buttonType}-${
|
|
222
|
-
[`${buttonType}-${shape}`]:
|
|
249
|
+
[`${buttonType}-${size}`]: size !== undefined,
|
|
250
|
+
[`${buttonType}-${shape}`]: true,
|
|
223
251
|
[`${buttonType}-${fill}`]: true,
|
|
224
252
|
[`${buttonType}-strong`]: strong,
|
|
225
253
|
'in-toolbar': hostContext('ion-toolbar', this.el),
|
|
@@ -229,13 +257,14 @@ const Button = /*@__PURE__*/ proxyCustomElement(class Button extends HTMLElement
|
|
|
229
257
|
'button-disabled': disabled,
|
|
230
258
|
'ion-activatable': true,
|
|
231
259
|
'ion-focusable': true,
|
|
232
|
-
}) }, h(TagType, Object.assign({ key: '
|
|
260
|
+
}) }, h(TagType, Object.assign({ key: '946f186bc9b59ce166597352c5a5477e5b8f1497' }, attrs, { class: "button-native", part: "native", disabled: disabled, onFocus: this.onFocus, onBlur: this.onBlur }, inheritedAttributes), h("span", { key: 'e7fae7d9bc649553d03fe5093daeb4be4fe05ee2', class: "button-inner" }, h("slot", { key: 'f84b4ffcde1addfe15e98435c81917cab03160a9', name: "icon-only", onSlotchange: this.slotChanged }), h("slot", { key: 'df052bae97c139a43844f4ed870f6c943575eeda', name: "start" }), h("slot", { key: '08a0582eaa49c55586d168fa03b3d62d6954f7f5' }), h("slot", { key: 'ecaf2227e61fa5094174f13f0c2b671cd5c69557', name: "end" })), theme === 'md' && h("ion-ripple-effect", { key: 'd46220de6ffd3a0fc73299766cf619276b1cdea9', type: this.rippleType }))));
|
|
233
261
|
}
|
|
234
262
|
get el() { return this; }
|
|
235
263
|
static get watchers() { return {
|
|
236
264
|
"disabled": ["disabledChanged"]
|
|
237
265
|
}; }
|
|
238
266
|
static get style() { return {
|
|
267
|
+
ionic: IonButtonIonicStyle0,
|
|
239
268
|
ios: IonButtonIosStyle0,
|
|
240
269
|
md: IonButtonMdStyle0
|
|
241
270
|
}; }
|
package/components/buttons.js
CHANGED
|
@@ -2,9 +2,12 @@
|
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
4
|
import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
|
|
5
|
-
import {
|
|
5
|
+
import { d as getIonTheme } from './ionic-global.js';
|
|
6
6
|
|
|
7
|
-
const
|
|
7
|
+
const ionicButtonsMdCss = ".sc-ion-buttons-ionic-h{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-webkit-transform:translateZ(0);transform:translateZ(0);z-index:99}.sc-ion-buttons-ionic-s ion-button{--padding-top:0;--padding-bottom:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}.sc-ion-buttons-ionic-s ion-button{--padding-top:3px;--padding-bottom:3px;--padding-start:8px;--padding-end:8px;--box-shadow:none;-webkit-margin-start:2px;margin-inline-start:2px;-webkit-margin-end:2px;margin-inline-end:2px;min-height:32px}.sc-ion-buttons-ionic-s .button-has-icon-only{--padding-top:0;--padding-bottom:0}.sc-ion-buttons-ionic-s ion-button:not(.button-round){--border-radius:2px}.sc-ion-buttons-ionic-h.ion-color.sc-ion-buttons-ionic-s .button,.ion-color .sc-ion-buttons-ionic-h.sc-ion-buttons-ionic-s .button{--color:initial;--color-focused:var(--ion-color-contrast);--color-hover:var(--ion-color-contrast);--background-activated:transparent;--background-focused:var(--ion-color-contrast);--background-hover:var(--ion-color-contrast)}.sc-ion-buttons-ionic-h.ion-color.sc-ion-buttons-ionic-s .button-solid,.ion-color .sc-ion-buttons-ionic-h.sc-ion-buttons-ionic-s .button-solid{--background:var(--ion-color-contrast);--background-activated:transparent;--background-focused:var(--ion-color-shade);--background-hover:var(--ion-color-base);--color:var(--ion-color-base);--color-focused:var(--ion-color-base);--color-hover:var(--ion-color-base)}.sc-ion-buttons-ionic-h.ion-color.sc-ion-buttons-ionic-s .button-outline,.ion-color .sc-ion-buttons-ionic-h.sc-ion-buttons-ionic-s .button-outline{--border-color:var(--ion-color-contrast)}.sc-ion-buttons-ionic-s .button-has-icon-only.button-clear{--padding-top:12px;--padding-end:12px;--padding-bottom:12px;--padding-start:12px;--border-radius:50%;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;width:3rem;height:3rem}.sc-ion-buttons-ionic-s .button{--background-hover:currentColor}.sc-ion-buttons-ionic-s .button-solid{--color:var(--ion-toolbar-background, var(--ion-background-color, #fff));--background:var(--ion-toolbar-color, var(--ion-text-color, #424242));--background-activated:transparent;--background-focused:currentColor}.sc-ion-buttons-ionic-s .button-outline{--color:initial;--background:transparent;--background-activated:transparent;--background-focused:currentColor;--background-hover:currentColor;--border-color:currentColor}.sc-ion-buttons-ionic-s .button-clear{--color:initial;--background:transparent;--background-activated:transparent;--background-focused:currentColor;--background-hover:currentColor}.sc-ion-buttons-ionic-s ion-icon[slot=start]{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-margin-end:0.3em;margin-inline-end:0.3em;font-size:1.4em}.sc-ion-buttons-ionic-s ion-icon[slot=end]{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-margin-start:0.4em;margin-inline-start:0.4em;font-size:1.4em}.sc-ion-buttons-ionic-s ion-icon[slot=icon-only]{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;font-size:1.8em}";
|
|
8
|
+
const IonButtonsIonicStyle0 = ionicButtonsMdCss;
|
|
9
|
+
|
|
10
|
+
const buttonsIosCss = ".sc-ion-buttons-ios-h{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-webkit-transform:translateZ(0);transform:translateZ(0);z-index:99}.sc-ion-buttons-ios-s ion-button{--padding-top:0;--padding-bottom:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}.sc-ion-buttons-ios-s ion-button{--padding-top:3px;--padding-bottom:3px;--padding-start:5px;--padding-end:5px;-webkit-margin-start:2px;margin-inline-start:2px;-webkit-margin-end:2px;margin-inline-end:2px;min-height:32px}.sc-ion-buttons-ios-s .button-has-icon-only{--padding-top:0;--padding-bottom:0}.sc-ion-buttons-ios-s ion-button:not(.button-round){--border-radius:4px}.sc-ion-buttons-ios-h.ion-color.sc-ion-buttons-ios-s .button,.ion-color .sc-ion-buttons-ios-h.sc-ion-buttons-ios-s .button{--color:initial;--border-color:initial;--background-focused:var(--ion-color-contrast)}.sc-ion-buttons-ios-h.ion-color.sc-ion-buttons-ios-s .button-solid,.ion-color .sc-ion-buttons-ios-h.sc-ion-buttons-ios-s .button-solid{--background:var(--ion-color-contrast);--background-focused:#000;--background-focused-opacity:0.12;--background-activated:#000;--background-activated-opacity:0.12;--background-hover:var(--ion-color-base);--background-hover-opacity:0.45;--color:var(--ion-color-base);--color-focused:var(--ion-color-base)}.sc-ion-buttons-ios-h.ion-color.sc-ion-buttons-ios-s .button-clear,.ion-color .sc-ion-buttons-ios-h.sc-ion-buttons-ios-s .button-clear{--color-activated:var(--ion-color-contrast);--color-focused:var(--ion-color-contrast)}.sc-ion-buttons-ios-h.ion-color.sc-ion-buttons-ios-s .button-outline,.ion-color .sc-ion-buttons-ios-h.sc-ion-buttons-ios-s .button-outline{--color-activated:var(--ion-color-base);--color-focused:var(--ion-color-contrast);--background-activated:var(--ion-color-contrast)}.sc-ion-buttons-ios-s .button-clear,.sc-ion-buttons-ios-s .button-outline{--background-activated:transparent;--background-focused:currentColor;--background-hover:transparent}.sc-ion-buttons-ios-s .button-solid:not(.ion-color){--background-focused:#000;--background-focused-opacity:0.12;--background-activated:#000;--background-activated-opacity:0.12}.sc-ion-buttons-ios-s ion-icon[slot=start]{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-margin-end:0.3em;margin-inline-end:0.3em;font-size:1.41em;line-height:0.67}.sc-ion-buttons-ios-s ion-icon[slot=end]{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-margin-start:0.4em;margin-inline-start:0.4em;font-size:1.41em;line-height:0.67}.sc-ion-buttons-ios-s ion-icon[slot=icon-only]{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;font-size:1.65em;line-height:0.67}";
|
|
8
11
|
const IonButtonsIosStyle0 = buttonsIosCss;
|
|
9
12
|
|
|
10
13
|
const buttonsMdCss = ".sc-ion-buttons-md-h{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-webkit-transform:translateZ(0);transform:translateZ(0);z-index:99}.sc-ion-buttons-md-s ion-button{--padding-top:0;--padding-bottom:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}.sc-ion-buttons-md-s ion-button{--padding-top:3px;--padding-bottom:3px;--padding-start:8px;--padding-end:8px;--box-shadow:none;-webkit-margin-start:2px;margin-inline-start:2px;-webkit-margin-end:2px;margin-inline-end:2px;min-height:32px}.sc-ion-buttons-md-s .button-has-icon-only{--padding-top:0;--padding-bottom:0}.sc-ion-buttons-md-s ion-button:not(.button-round){--border-radius:2px}.sc-ion-buttons-md-h.ion-color.sc-ion-buttons-md-s .button,.ion-color .sc-ion-buttons-md-h.sc-ion-buttons-md-s .button{--color:initial;--color-focused:var(--ion-color-contrast);--color-hover:var(--ion-color-contrast);--background-activated:transparent;--background-focused:var(--ion-color-contrast);--background-hover:var(--ion-color-contrast)}.sc-ion-buttons-md-h.ion-color.sc-ion-buttons-md-s .button-solid,.ion-color .sc-ion-buttons-md-h.sc-ion-buttons-md-s .button-solid{--background:var(--ion-color-contrast);--background-activated:transparent;--background-focused:var(--ion-color-shade);--background-hover:var(--ion-color-base);--color:var(--ion-color-base);--color-focused:var(--ion-color-base);--color-hover:var(--ion-color-base)}.sc-ion-buttons-md-h.ion-color.sc-ion-buttons-md-s .button-outline,.ion-color .sc-ion-buttons-md-h.sc-ion-buttons-md-s .button-outline{--border-color:var(--ion-color-contrast)}.sc-ion-buttons-md-s .button-has-icon-only.button-clear{--padding-top:12px;--padding-end:12px;--padding-bottom:12px;--padding-start:12px;--border-radius:50%;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;width:3rem;height:3rem}.sc-ion-buttons-md-s .button{--background-hover:currentColor}.sc-ion-buttons-md-s .button-solid{--color:var(--ion-toolbar-background, var(--ion-background-color, #fff));--background:var(--ion-toolbar-color, var(--ion-text-color, #424242));--background-activated:transparent;--background-focused:currentColor}.sc-ion-buttons-md-s .button-outline{--color:initial;--background:transparent;--background-activated:transparent;--background-focused:currentColor;--background-hover:currentColor;--border-color:currentColor}.sc-ion-buttons-md-s .button-clear{--color:initial;--background:transparent;--background-activated:transparent;--background-focused:currentColor;--background-hover:currentColor}.sc-ion-buttons-md-s ion-icon[slot=start]{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-margin-end:0.3em;margin-inline-end:0.3em;font-size:1.4em}.sc-ion-buttons-md-s ion-icon[slot=end]{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-margin-start:0.4em;margin-inline-start:0.4em;font-size:1.4em}.sc-ion-buttons-md-s ion-icon[slot=icon-only]{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;font-size:1.8em}";
|
|
@@ -17,13 +20,14 @@ const Buttons = /*@__PURE__*/ proxyCustomElement(class Buttons extends HTMLEleme
|
|
|
17
20
|
this.collapse = false;
|
|
18
21
|
}
|
|
19
22
|
render() {
|
|
20
|
-
const
|
|
21
|
-
return (h(Host, { key: '
|
|
22
|
-
[
|
|
23
|
+
const theme = getIonTheme(this);
|
|
24
|
+
return (h(Host, { key: '531231fdd882c218a6a7ac6b19b9a49cac4753fe', class: {
|
|
25
|
+
[theme]: true,
|
|
23
26
|
['buttons-collapse']: this.collapse,
|
|
24
|
-
} }, h("slot", { key: '
|
|
27
|
+
} }, h("slot", { key: '1de272d42d980f64f1e8bdd507ec97ea0fb60a76' })));
|
|
25
28
|
}
|
|
26
29
|
static get style() { return {
|
|
30
|
+
ionic: IonButtonsIonicStyle0,
|
|
27
31
|
ios: IonButtonsIosStyle0,
|
|
28
32
|
md: IonButtonsMdStyle0
|
|
29
33
|
}; }
|
package/components/checkbox.js
CHANGED
|
@@ -4,12 +4,15 @@
|
|
|
4
4
|
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
|
|
5
5
|
import { i as inheritAriaAttributes, e as renderHiddenInput } from './helpers.js';
|
|
6
6
|
import { c as createColorClasses, h as hostContext } from './theme.js';
|
|
7
|
-
import {
|
|
7
|
+
import { d as getIonTheme } from './ionic-global.js';
|
|
8
8
|
|
|
9
|
-
const
|
|
9
|
+
const checkboxIonicCss = ":host{--checkbox-background-checked:var(--ion-color-primary, #0054e9);--border-color-checked:var(--ion-color-primary, #0054e9);--checkmark-color:var(--ion-color-primary-contrast, #fff);--transition:none;display:inline-block;position:relative;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:2}:host(.in-item){-ms-flex:1 1 0px;flex:1 1 0;width:100%;height:100%}:host([slot=start]),:host([slot=end]){-ms-flex:initial;flex:initial;width:auto}:host(.ion-color){--checkbox-background-checked:var(--ion-color-base);--border-color-checked:var(--ion-color-base);--checkmark-color:var(--ion-color-contrast)}.checkbox-wrapper{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center;height:inherit;cursor:inherit}.label-text-wrapper{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}:host(.in-item) .label-text-wrapper{margin-top:10px;margin-bottom:10px}:host(.in-item.checkbox-label-placement-stacked) .label-text-wrapper{margin-top:10px;margin-bottom:16px}:host(.in-item.checkbox-label-placement-stacked) .native-wrapper{margin-bottom:10px}.label-text-wrapper-hidden{display:none}input{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;margin:0;padding:0;border:0;outline:0;opacity:0;overflow:hidden;clip:rect(0 0 0 0);-webkit-appearance:none;-moz-appearance:none}.native-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.checkbox-icon{border-radius:var(--border-radius);position:relative;width:var(--size);height:var(--size);-webkit-transition:var(--transition);transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--checkbox-background);-webkit-box-sizing:border-box;box-sizing:border-box}.checkbox-icon path{fill:none;stroke:var(--checkmark-color);stroke-width:var(--checkmark-width);opacity:0}:host(.checkbox-justify-space-between) .checkbox-wrapper{-ms-flex-pack:justify;justify-content:space-between}:host(.checkbox-justify-start) .checkbox-wrapper{-ms-flex-pack:start;justify-content:start}:host(.checkbox-justify-end) .checkbox-wrapper{-ms-flex-pack:end;justify-content:end}:host(.checkbox-alignment-start) .checkbox-wrapper{-ms-flex-align:start;align-items:start}:host(.checkbox-alignment-center) .checkbox-wrapper{-ms-flex-align:center;align-items:center}:host(.checkbox-label-placement-start) .checkbox-wrapper{-ms-flex-direction:row;flex-direction:row}:host(.checkbox-label-placement-start) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px}:host(.checkbox-label-placement-end) .checkbox-wrapper{-ms-flex-direction:row-reverse;flex-direction:row-reverse}:host(.checkbox-label-placement-end) .label-text-wrapper{-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0}:host(.checkbox-label-placement-fixed) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px}:host(.checkbox-label-placement-fixed) .label-text-wrapper{-ms-flex:0 0 100px;flex:0 0 100px;width:100px;min-width:100px;max-width:200px}:host(.checkbox-label-placement-stacked) .checkbox-wrapper{-ms-flex-direction:column;flex-direction:column}:host(.checkbox-label-placement-stacked) .label-text-wrapper{-webkit-transform:scale(0.75);transform:scale(0.75);margin-left:0;margin-right:0;margin-bottom:16px;max-width:calc(100% / 0.75)}:host(.checkbox-label-placement-stacked.checkbox-alignment-start) .label-text-wrapper{-webkit-transform-origin:left top;transform-origin:left top}:host-context([dir=rtl]):host(.checkbox-label-placement-stacked.checkbox-alignment-start) .label-text-wrapper,:host-context([dir=rtl]).checkbox-label-placement-stacked.checkbox-alignment-start .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}@supports selector(:dir(rtl)){:host(.checkbox-label-placement-stacked.checkbox-alignment-start:dir(rtl)) .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}}:host(.checkbox-label-placement-stacked.checkbox-alignment-center) .label-text-wrapper{-webkit-transform-origin:center top;transform-origin:center top}:host-context([dir=rtl]):host(.checkbox-label-placement-stacked.checkbox-alignment-center) .label-text-wrapper,:host-context([dir=rtl]).checkbox-label-placement-stacked.checkbox-alignment-center .label-text-wrapper{-webkit-transform-origin:calc(100% - center) top;transform-origin:calc(100% - center) top}@supports selector(:dir(rtl)){:host(.checkbox-label-placement-stacked.checkbox-alignment-center:dir(rtl)) .label-text-wrapper{-webkit-transform-origin:calc(100% - center) top;transform-origin:calc(100% - center) top}}:host(.checkbox-checked) .checkbox-icon,:host(.checkbox-indeterminate) .checkbox-icon{border-color:var(--border-color-checked);background:var(--checkbox-background-checked)}:host(.checkbox-checked) .checkbox-icon path,:host(.checkbox-indeterminate) .checkbox-icon path{opacity:1}:host(.checkbox-disabled){pointer-events:none}:host{--border-radius:calc(var(--size) / 4 - 2px);--border-width:1px;--border-style:solid;--border-color:var(--ion-color-step-400, var(--ion-background-color-step-400, #999999));--checkmark-width:3;--focus-ring-color:#9ec4fd;--focus-ring-width:2px;--focus-ring-offset:2px;--size:24px}:host::after{right:0;left:0;top:50%;position:absolute;height:100%;min-height:48px;-webkit-transform:translateY(-50%);transform:translateY(-50%);content:\"\";cursor:pointer;z-index:1}:host .native-wrapper{position:relative}:host(.checkbox-size-small){--size:16px}:host(.ion-invalid){--focus-ring-color:#ffafaf}:host(.ion-invalid) .checkbox-icon{border-color:#f72c2c}:host(.checkbox-disabled.checkbox-indeterminate) .checkbox-icon{border-width:0;background-color:var(--ion-color-step-600, var(--ion-background-color-step-600, #666666))}:host(.checkbox-disabled) .checkbox-icon{border-color:#c9c9c9;background-color:#f5f5f5}:host(.checkbox-disabled.checkbox-checked) .checkbox-icon{border-width:0;background-color:var(--ion-color-step-100, var(--ion-background-color-step-100, #e6e6e6))}@media (any-hover: hover){:host(:hover) .checkbox-icon{background-color:#ececec}:host(:hover.checkbox-checked) .checkbox-icon,:host(:hover.checkbox-indeterminate) .checkbox-icon{background-color:#1061da}}:host(.ion-focused:not(.checkbox-disabled)) .checkbox-icon{outline:var(--focus-ring-width) solid var(--focus-ring-color);outline-offset:var(--focus-ring-offset)}:host(.ion-activated) .checkbox-icon{background-color:#e3e3e3}:host(.ion-activated.checkbox-checked) .checkbox-icon,:host(.ion-activated.checkbox-indeterminate) .checkbox-icon{background-color:#105ed1}:host(.checkbox-shape-soft){--border-radius:calc(var(--size) / 4 - 2px)}:host(.checkbox-shape-rectangular){--border-radius:0}.checkbox-wrapper{min-height:48px}";
|
|
10
|
+
const IonCheckboxIonicStyle0 = checkboxIonicCss;
|
|
11
|
+
|
|
12
|
+
const checkboxIosCss = ":host{--checkbox-background-checked:var(--ion-color-primary, #0054e9);--border-color-checked:var(--ion-color-primary, #0054e9);--checkmark-color:var(--ion-color-primary-contrast, #fff);--transition:none;display:inline-block;position:relative;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:2}:host(.in-item){-ms-flex:1 1 0px;flex:1 1 0;width:100%;height:100%}:host([slot=start]),:host([slot=end]){-ms-flex:initial;flex:initial;width:auto}:host(.ion-color){--checkbox-background-checked:var(--ion-color-base);--border-color-checked:var(--ion-color-base);--checkmark-color:var(--ion-color-contrast)}.checkbox-wrapper{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center;height:inherit;cursor:inherit}.label-text-wrapper{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}:host(.in-item) .label-text-wrapper{margin-top:10px;margin-bottom:10px}:host(.in-item.checkbox-label-placement-stacked) .label-text-wrapper{margin-top:10px;margin-bottom:16px}:host(.in-item.checkbox-label-placement-stacked) .native-wrapper{margin-bottom:10px}.label-text-wrapper-hidden{display:none}input{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;margin:0;padding:0;border:0;outline:0;opacity:0;overflow:hidden;clip:rect(0 0 0 0);-webkit-appearance:none;-moz-appearance:none}.native-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.checkbox-icon{border-radius:var(--border-radius);position:relative;width:var(--size);height:var(--size);-webkit-transition:var(--transition);transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--checkbox-background);-webkit-box-sizing:border-box;box-sizing:border-box}.checkbox-icon path{fill:none;stroke:var(--checkmark-color);stroke-width:var(--checkmark-width);opacity:0}:host(.checkbox-justify-space-between) .checkbox-wrapper{-ms-flex-pack:justify;justify-content:space-between}:host(.checkbox-justify-start) .checkbox-wrapper{-ms-flex-pack:start;justify-content:start}:host(.checkbox-justify-end) .checkbox-wrapper{-ms-flex-pack:end;justify-content:end}:host(.checkbox-alignment-start) .checkbox-wrapper{-ms-flex-align:start;align-items:start}:host(.checkbox-alignment-center) .checkbox-wrapper{-ms-flex-align:center;align-items:center}:host(.checkbox-label-placement-start) .checkbox-wrapper{-ms-flex-direction:row;flex-direction:row}:host(.checkbox-label-placement-start) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px}:host(.checkbox-label-placement-end) .checkbox-wrapper{-ms-flex-direction:row-reverse;flex-direction:row-reverse}:host(.checkbox-label-placement-end) .label-text-wrapper{-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0}:host(.checkbox-label-placement-fixed) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px}:host(.checkbox-label-placement-fixed) .label-text-wrapper{-ms-flex:0 0 100px;flex:0 0 100px;width:100px;min-width:100px;max-width:200px}:host(.checkbox-label-placement-stacked) .checkbox-wrapper{-ms-flex-direction:column;flex-direction:column}:host(.checkbox-label-placement-stacked) .label-text-wrapper{-webkit-transform:scale(0.75);transform:scale(0.75);margin-left:0;margin-right:0;margin-bottom:16px;max-width:calc(100% / 0.75)}:host(.checkbox-label-placement-stacked.checkbox-alignment-start) .label-text-wrapper{-webkit-transform-origin:left top;transform-origin:left top}:host-context([dir=rtl]):host(.checkbox-label-placement-stacked.checkbox-alignment-start) .label-text-wrapper,:host-context([dir=rtl]).checkbox-label-placement-stacked.checkbox-alignment-start .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}@supports selector(:dir(rtl)){:host(.checkbox-label-placement-stacked.checkbox-alignment-start:dir(rtl)) .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}}:host(.checkbox-label-placement-stacked.checkbox-alignment-center) .label-text-wrapper{-webkit-transform-origin:center top;transform-origin:center top}:host-context([dir=rtl]):host(.checkbox-label-placement-stacked.checkbox-alignment-center) .label-text-wrapper,:host-context([dir=rtl]).checkbox-label-placement-stacked.checkbox-alignment-center .label-text-wrapper{-webkit-transform-origin:calc(100% - center) top;transform-origin:calc(100% - center) top}@supports selector(:dir(rtl)){:host(.checkbox-label-placement-stacked.checkbox-alignment-center:dir(rtl)) .label-text-wrapper{-webkit-transform-origin:calc(100% - center) top;transform-origin:calc(100% - center) top}}:host(.checkbox-checked) .checkbox-icon,:host(.checkbox-indeterminate) .checkbox-icon{border-color:var(--border-color-checked);background:var(--checkbox-background-checked)}:host(.checkbox-checked) .checkbox-icon path,:host(.checkbox-indeterminate) .checkbox-icon path{opacity:1}:host(.checkbox-disabled){pointer-events:none}:host{--border-radius:50%;--border-width:0.125rem;--border-style:solid;--border-color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.23);--checkbox-background:var(--ion-item-background, var(--ion-background-color, #fff));--size:min(1.375rem, 55.836px);--checkmark-width:1.5px}:host(.checkbox-disabled){opacity:0.3}";
|
|
10
13
|
const IonCheckboxIosStyle0 = checkboxIosCss;
|
|
11
14
|
|
|
12
|
-
const checkboxMdCss = ":host{--checkbox-background-checked:var(--ion-color-primary, #0054e9);--border-color-checked:var(--ion-color-primary, #0054e9);--checkmark-color:var(--ion-color-primary-contrast, #fff);--transition:none;display:inline-block;position:relative;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:2}:host(.in-item){-ms-flex:1 1 0px;flex:1 1 0;width:100%;height:100%}:host([slot=start]),:host([slot=end]){-ms-flex:initial;flex:initial;width:auto}:host(.ion-color){--checkbox-background-checked:var(--ion-color-base);--border-color-checked:var(--ion-color-base);--checkmark-color:var(--ion-color-contrast)}.checkbox-wrapper{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center;height:inherit;cursor:inherit}.label-text-wrapper{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}:host(.in-item) .label-text-wrapper{margin-top:10px;margin-bottom:10px}:host(.in-item.checkbox-label-placement-stacked) .label-text-wrapper{margin-top:10px;margin-bottom:16px}:host(.in-item.checkbox-label-placement-stacked) .native-wrapper{margin-bottom:10px}.label-text-wrapper-hidden{display:none}input{position:absolute;top:0;
|
|
15
|
+
const checkboxMdCss = ":host{--checkbox-background-checked:var(--ion-color-primary, #0054e9);--border-color-checked:var(--ion-color-primary, #0054e9);--checkmark-color:var(--ion-color-primary-contrast, #fff);--transition:none;display:inline-block;position:relative;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:2}:host(.in-item){-ms-flex:1 1 0px;flex:1 1 0;width:100%;height:100%}:host([slot=start]),:host([slot=end]){-ms-flex:initial;flex:initial;width:auto}:host(.ion-color){--checkbox-background-checked:var(--ion-color-base);--border-color-checked:var(--ion-color-base);--checkmark-color:var(--ion-color-contrast)}.checkbox-wrapper{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center;height:inherit;cursor:inherit}.label-text-wrapper{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}:host(.in-item) .label-text-wrapper{margin-top:10px;margin-bottom:10px}:host(.in-item.checkbox-label-placement-stacked) .label-text-wrapper{margin-top:10px;margin-bottom:16px}:host(.in-item.checkbox-label-placement-stacked) .native-wrapper{margin-bottom:10px}.label-text-wrapper-hidden{display:none}input{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;margin:0;padding:0;border:0;outline:0;opacity:0;overflow:hidden;clip:rect(0 0 0 0);-webkit-appearance:none;-moz-appearance:none}.native-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.checkbox-icon{border-radius:var(--border-radius);position:relative;width:var(--size);height:var(--size);-webkit-transition:var(--transition);transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--checkbox-background);-webkit-box-sizing:border-box;box-sizing:border-box}.checkbox-icon path{fill:none;stroke:var(--checkmark-color);stroke-width:var(--checkmark-width);opacity:0}:host(.checkbox-justify-space-between) .checkbox-wrapper{-ms-flex-pack:justify;justify-content:space-between}:host(.checkbox-justify-start) .checkbox-wrapper{-ms-flex-pack:start;justify-content:start}:host(.checkbox-justify-end) .checkbox-wrapper{-ms-flex-pack:end;justify-content:end}:host(.checkbox-alignment-start) .checkbox-wrapper{-ms-flex-align:start;align-items:start}:host(.checkbox-alignment-center) .checkbox-wrapper{-ms-flex-align:center;align-items:center}:host(.checkbox-label-placement-start) .checkbox-wrapper{-ms-flex-direction:row;flex-direction:row}:host(.checkbox-label-placement-start) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px}:host(.checkbox-label-placement-end) .checkbox-wrapper{-ms-flex-direction:row-reverse;flex-direction:row-reverse}:host(.checkbox-label-placement-end) .label-text-wrapper{-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0}:host(.checkbox-label-placement-fixed) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px}:host(.checkbox-label-placement-fixed) .label-text-wrapper{-ms-flex:0 0 100px;flex:0 0 100px;width:100px;min-width:100px;max-width:200px}:host(.checkbox-label-placement-stacked) .checkbox-wrapper{-ms-flex-direction:column;flex-direction:column}:host(.checkbox-label-placement-stacked) .label-text-wrapper{-webkit-transform:scale(0.75);transform:scale(0.75);margin-left:0;margin-right:0;margin-bottom:16px;max-width:calc(100% / 0.75)}:host(.checkbox-label-placement-stacked.checkbox-alignment-start) .label-text-wrapper{-webkit-transform-origin:left top;transform-origin:left top}:host-context([dir=rtl]):host(.checkbox-label-placement-stacked.checkbox-alignment-start) .label-text-wrapper,:host-context([dir=rtl]).checkbox-label-placement-stacked.checkbox-alignment-start .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}@supports selector(:dir(rtl)){:host(.checkbox-label-placement-stacked.checkbox-alignment-start:dir(rtl)) .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}}:host(.checkbox-label-placement-stacked.checkbox-alignment-center) .label-text-wrapper{-webkit-transform-origin:center top;transform-origin:center top}:host-context([dir=rtl]):host(.checkbox-label-placement-stacked.checkbox-alignment-center) .label-text-wrapper,:host-context([dir=rtl]).checkbox-label-placement-stacked.checkbox-alignment-center .label-text-wrapper{-webkit-transform-origin:calc(100% - center) top;transform-origin:calc(100% - center) top}@supports selector(:dir(rtl)){:host(.checkbox-label-placement-stacked.checkbox-alignment-center:dir(rtl)) .label-text-wrapper{-webkit-transform-origin:calc(100% - center) top;transform-origin:calc(100% - center) top}}:host(.checkbox-checked) .checkbox-icon,:host(.checkbox-indeterminate) .checkbox-icon{border-color:var(--border-color-checked);background:var(--checkbox-background-checked)}:host(.checkbox-checked) .checkbox-icon path,:host(.checkbox-indeterminate) .checkbox-icon path{opacity:1}:host(.checkbox-disabled){pointer-events:none}:host{--border-radius:calc(var(--size) * 0.125);--border-width:2px;--border-style:solid;--border-color:rgb(var(--ion-text-color-rgb, 0, 0, 0), 0.6);--checkmark-width:3;--checkbox-background:var(--ion-item-background, var(--ion-background-color, #fff));--transition:background 180ms cubic-bezier(0.4, 0, 0.2, 1);--size:18px}.checkbox-icon path{stroke-dasharray:30;stroke-dashoffset:30}:host(.checkbox-checked) .checkbox-icon path,:host(.checkbox-indeterminate) .checkbox-icon path{stroke-dashoffset:0;-webkit-transition:stroke-dashoffset 90ms linear 90ms;transition:stroke-dashoffset 90ms linear 90ms}:host(.checkbox-disabled) .label-text-wrapper{opacity:0.38}:host(.checkbox-disabled) .native-wrapper{opacity:0.63}";
|
|
13
16
|
const IonCheckboxMdStyle0 = checkboxMdCss;
|
|
14
17
|
|
|
15
18
|
const Checkbox = /*@__PURE__*/ proxyCustomElement(class Checkbox extends HTMLElement {
|
|
@@ -62,6 +65,8 @@ const Checkbox = /*@__PURE__*/ proxyCustomElement(class Checkbox extends HTMLEle
|
|
|
62
65
|
this.labelPlacement = 'start';
|
|
63
66
|
this.justify = 'space-between';
|
|
64
67
|
this.alignment = 'center';
|
|
68
|
+
this.size = undefined;
|
|
69
|
+
this.shape = 'soft';
|
|
65
70
|
}
|
|
66
71
|
componentWillLoad() {
|
|
67
72
|
this.inheritedAttributes = Object.assign({}, inheritAriaAttributes(this.el));
|
|
@@ -72,12 +77,12 @@ const Checkbox = /*@__PURE__*/ proxyCustomElement(class Checkbox extends HTMLEle
|
|
|
72
77
|
}
|
|
73
78
|
}
|
|
74
79
|
render() {
|
|
75
|
-
const { color, checked, disabled, el, getSVGPath, indeterminate, inheritedAttributes, inputId, justify, labelPlacement, name, value, alignment, } = this;
|
|
76
|
-
const
|
|
77
|
-
const path = getSVGPath(
|
|
80
|
+
const { color, checked, disabled, el, getSVGPath, indeterminate, inheritedAttributes, inputId, justify, labelPlacement, name, value, alignment, size, shape, } = this;
|
|
81
|
+
const theme = getIonTheme(this);
|
|
82
|
+
const path = getSVGPath(theme, indeterminate);
|
|
78
83
|
renderHiddenInput(true, el, name, checked ? value : '', disabled);
|
|
79
|
-
return (h(Host, { key: '
|
|
80
|
-
[
|
|
84
|
+
return (h(Host, { key: '534384155ca83b1a2319f4aa5ac63c86513cb15c', "aria-checked": indeterminate ? 'mixed' : `${checked}`, class: createColorClasses(color, {
|
|
85
|
+
[theme]: true,
|
|
81
86
|
'in-item': hostContext('ion-item', el),
|
|
82
87
|
'checkbox-checked': checked,
|
|
83
88
|
'checkbox-disabled': disabled,
|
|
@@ -86,20 +91,26 @@ const Checkbox = /*@__PURE__*/ proxyCustomElement(class Checkbox extends HTMLEle
|
|
|
86
91
|
[`checkbox-justify-${justify}`]: true,
|
|
87
92
|
[`checkbox-alignment-${alignment}`]: true,
|
|
88
93
|
[`checkbox-label-placement-${labelPlacement}`]: true,
|
|
89
|
-
|
|
94
|
+
[`checkbox-size-${size}`]: size !== undefined,
|
|
95
|
+
[`checkbox-shape-${shape}`]: true,
|
|
96
|
+
}), onClick: this.onClick }, h("label", { key: '4a8cdb9ce26ac75c2a2065ef33998a464e263919', class: "checkbox-wrapper" }, h("input", Object.assign({ key: '03beb7d622dda89264d42806423b160ec2623b3f', type: "checkbox", checked: checked ? true : undefined, disabled: disabled, id: inputId, onChange: this.toggleChecked, onFocus: () => this.onFocus(), onBlur: () => this.onBlur(), ref: (focusEl) => (this.focusEl = focusEl) }, inheritedAttributes)), h("div", { key: '38b13d6a934de2c6bfa864d6f5fd5da90c93027a', class: {
|
|
90
97
|
'label-text-wrapper': true,
|
|
91
98
|
'label-text-wrapper-hidden': el.textContent === '',
|
|
92
|
-
}, part: "label" }, h("slot", { key: '
|
|
99
|
+
}, part: "label" }, h("slot", { key: '84ab04ef7328a34f082efb28085253a6544775e5' })), h("div", { key: 'b59910e3502f546aaa4917a7f670bd2d931b6d84', class: "native-wrapper" }, h("svg", { key: '5ea9dfc6c924df37ca1c26eb09f407cbcb4cdf83', class: "checkbox-icon", viewBox: "0 0 24 24", part: "container" }, path)))));
|
|
93
100
|
}
|
|
94
|
-
getSVGPath(
|
|
101
|
+
getSVGPath(theme, indeterminate) {
|
|
95
102
|
let path = indeterminate ? (h("path", { d: "M6 12L18 12", part: "mark" })) : (h("path", { d: "M5.9,12.5l3.8,3.8l8.8-8.8", part: "mark" }));
|
|
96
|
-
if (
|
|
103
|
+
if (theme === 'md') {
|
|
97
104
|
path = indeterminate ? (h("path", { d: "M2 12H22", part: "mark" })) : (h("path", { d: "M1.73,12.91 8.1,19.28 22.79,4.59", part: "mark" }));
|
|
98
105
|
}
|
|
106
|
+
else if (theme === 'ionic') {
|
|
107
|
+
path = indeterminate ? (h("path", { d: "M6.5 12H17.5", "stroke-linecap": "round", part: "mark" })) : (h("path", { d: "M6 12.5L10 16.5L18.5 8", "stroke-linecap": "round", "stroke-linejoin": "round", part: "mark" }));
|
|
108
|
+
}
|
|
99
109
|
return path;
|
|
100
110
|
}
|
|
101
111
|
get el() { return this; }
|
|
102
112
|
static get style() { return {
|
|
113
|
+
ionic: IonCheckboxIonicStyle0,
|
|
103
114
|
ios: IonCheckboxIosStyle0,
|
|
104
115
|
md: IonCheckboxMdStyle0
|
|
105
116
|
}; }
|
|
@@ -112,7 +123,9 @@ const Checkbox = /*@__PURE__*/ proxyCustomElement(class Checkbox extends HTMLEle
|
|
|
112
123
|
"value": [8],
|
|
113
124
|
"labelPlacement": [1, "label-placement"],
|
|
114
125
|
"justify": [1],
|
|
115
|
-
"alignment": [1]
|
|
126
|
+
"alignment": [1],
|
|
127
|
+
"size": [1],
|
|
128
|
+
"shape": [1]
|
|
116
129
|
}]);
|
|
117
130
|
let checkboxIds = 0;
|
|
118
131
|
function defineCustomElement() {
|
package/components/data.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
|
-
import { p as printIonWarning } from './
|
|
4
|
+
import { p as printIonWarning } from './ionic-global.js';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* Returns true if the selected day is equal to the reference day
|
|
@@ -1147,20 +1147,20 @@ const hour23 = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18
|
|
|
1147
1147
|
// h24 hour system uses 1-24. Midnight starts at 24:00.
|
|
1148
1148
|
const hour24 = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 0];
|
|
1149
1149
|
/**
|
|
1150
|
-
* Given a locale and a
|
|
1150
|
+
* Given a locale and a theme,
|
|
1151
1151
|
* return an array with formatted days
|
|
1152
1152
|
* of the week. iOS should display days
|
|
1153
1153
|
* such as "Mon" or "Tue".
|
|
1154
1154
|
* MD should display days such as "M"
|
|
1155
1155
|
* or "T".
|
|
1156
1156
|
*/
|
|
1157
|
-
const getDaysOfWeek = (locale,
|
|
1157
|
+
const getDaysOfWeek = (locale, theme, firstDayOfWeek = 0) => {
|
|
1158
1158
|
/**
|
|
1159
1159
|
* Nov 1st, 2020 starts on a Sunday.
|
|
1160
1160
|
* ion-datetime assumes weeks start on Sunday,
|
|
1161
1161
|
* but is configurable via `firstDayOfWeek`.
|
|
1162
1162
|
*/
|
|
1163
|
-
const weekdayFormat =
|
|
1163
|
+
const weekdayFormat = theme === 'ios' ? 'short' : 'narrow';
|
|
1164
1164
|
const intl = new Intl.DateTimeFormat(locale, { weekday: weekdayFormat });
|
|
1165
1165
|
const startDate = new Date('11/01/2020');
|
|
1166
1166
|
const daysOfWeek = [];
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
|
+
*/
|
|
4
|
+
const ghostDuotoneSvg = 'data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNTYgMjU2IiBmaWxsPSJjdXJyZW50Q29sb3IiPjxwYXRoIGQ9Ik0yMTYsMTIwdjk2bC0yOS4zMy0yNC0yOS4zNCwyNEwxMjgsMTkyLDk4LjY3LDIxNiw2OS4zMywxOTIsNDAsMjE2VjEyMGE4OCw4OCwwLDAsMSwxNzYsMFoiIG9wYWNpdHk9IjAuMiIvPjxwYXRoIGQ9Ik0xMTIsMTE2YTEyLDEyLDAsMSwxLTEyLTEyQTEyLDEyLDAsMCwxLDExMiwxMTZabTQ0LTEyYTEyLDEyLDAsMSwwLDEyLDEyQTEyLDEyLDAsMCwwLDE1NiwxMDRabTY4LDE2djk2YTgsOCwwLDAsMS0xMy4wNyw2LjE5bC0yNC4yNi0xOS44NUwxNjIuNCwyMjIuMTlhOCw4LDAsMCwxLTEwLjEzLDBMMTI4LDIwMi4zNGwtMjQuMjcsMTkuODVhOCw4LDAsMCwxLTEwLjEzLDBMNjkuMzMsMjAyLjM0LDQ1LjA3LDIyMi4xOUE4LDgsMCwwLDEsMzIsMjE2VjEyMGE5Niw5NiwwLDAsMSwxOTIsMFptLTE2LDBhODAsODAsMCwwLDAtMTYwLDB2NzkuMTJsMTYuMjctMTMuMzFhOCw4LDAsMCwxLDEwLjEzLDBsMjQuMjcsMTkuODUsMjQuMjYtMTkuODVhOCw4LDAsMCwxLDEwLjE0LDBsMjQuMjYsMTkuODUsMjQuMjctMTkuODVhOCw4LDAsMCwxLDEwLjEzLDBMMjA4LDE5OS4xMloiLz48L3N2Zz4=';
|
|
5
|
+
|
|
6
|
+
export { ghostDuotoneSvg as g };
|
package/components/index2.js
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
|
-
import { c as config } from './ionic-global.js';
|
|
4
|
+
import { c as config, p as printIonWarning } from './ionic-global.js';
|
|
5
5
|
import { writeTask, Build } from '@stencil/core/internal/client';
|
|
6
|
-
import { p as printIonWarning } from './index6.js';
|
|
7
6
|
import { r as raf } from './helpers.js';
|
|
8
7
|
|
|
9
8
|
const LIFECYCLE_WILL_ENTER = 'ionViewWillEnter';
|
package/components/index4.js
CHANGED
|
@@ -3,9 +3,8 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import { d as doc } from './index5.js';
|
|
5
5
|
import { MENU_BACK_BUTTON_PRIORITY } from './hardware-back-button.js';
|
|
6
|
-
import { p as printIonWarning } from './
|
|
6
|
+
import { b as getIonMode, p as printIonWarning } from './ionic-global.js';
|
|
7
7
|
import { c as componentOnReady } from './helpers.js';
|
|
8
|
-
import { b as getIonMode } from './ionic-global.js';
|
|
9
8
|
import { c as createAnimation } from './animation.js';
|
|
10
9
|
|
|
11
10
|
/**
|
|
@@ -48,10 +47,10 @@ const menuOverlayAnimation = (menu) => {
|
|
|
48
47
|
}
|
|
49
48
|
menuAnimation.addElement(menu.menuInnerEl).fromTo('transform', `translateX(${closedX})`, `translateX(${openedX})`);
|
|
50
49
|
const mode = getIonMode(menu);
|
|
51
|
-
const
|
|
52
|
-
const opacity =
|
|
50
|
+
const isIOS = mode === 'ios';
|
|
51
|
+
const opacity = isIOS ? 0.2 : 0.25;
|
|
53
52
|
backdropAnimation.addElement(menu.backdropEl).fromTo('opacity', 0.01, opacity);
|
|
54
|
-
return baseAnimation(
|
|
53
|
+
return baseAnimation(isIOS).addAnimation([menuAnimation, backdropAnimation]);
|
|
55
54
|
};
|
|
56
55
|
|
|
57
56
|
/**
|
|
@@ -64,6 +63,7 @@ const menuPushAnimation = (menu) => {
|
|
|
64
63
|
let menuClosedX;
|
|
65
64
|
const mode = getIonMode(menu);
|
|
66
65
|
const width = menu.width;
|
|
66
|
+
const isIOS = mode === 'ios';
|
|
67
67
|
if (menu.isEndSide) {
|
|
68
68
|
contentOpenedX = -width + 'px';
|
|
69
69
|
menuClosedX = width + 'px';
|
|
@@ -79,7 +79,7 @@ const menuPushAnimation = (menu) => {
|
|
|
79
79
|
.addElement(menu.contentEl)
|
|
80
80
|
.fromTo('transform', 'translateX(0px)', `translateX(${contentOpenedX})`);
|
|
81
81
|
const backdropAnimation = createAnimation().addElement(menu.backdropEl).fromTo('opacity', 0.01, 0.32);
|
|
82
|
-
return baseAnimation(
|
|
82
|
+
return baseAnimation(isIOS).addAnimation([menuAnimation, contentAnimation, backdropAnimation]);
|
|
83
83
|
};
|
|
84
84
|
|
|
85
85
|
/**
|
|
@@ -89,11 +89,12 @@ const menuPushAnimation = (menu) => {
|
|
|
89
89
|
*/
|
|
90
90
|
const menuRevealAnimation = (menu) => {
|
|
91
91
|
const mode = getIonMode(menu);
|
|
92
|
+
const isIOS = mode === 'ios';
|
|
92
93
|
const openedX = menu.width * (menu.isEndSide ? -1 : 1) + 'px';
|
|
93
94
|
const contentOpen = createAnimation()
|
|
94
95
|
.addElement(menu.contentEl) // REVIEW
|
|
95
96
|
.fromTo('transform', 'translateX(0px)', `translateX(${openedX})`);
|
|
96
|
-
return baseAnimation(
|
|
97
|
+
return baseAnimation(isIOS).addAnimation(contentOpen);
|
|
97
98
|
};
|
|
98
99
|
|
|
99
100
|
const createMenuController = () => {
|