@ionic/core 8.8.7-dev.11779400352.127ba526 → 8.8.7-dev.11779467048.1641d05e
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/index.js +1 -1
- package/components/ion-action-sheet.js +1 -1
- package/components/ion-alert.js +1 -1
- package/components/ion-back-button.js +1 -1
- package/components/ion-button.js +1 -1
- package/components/ion-card.js +1 -1
- package/components/ion-chip.js +1 -1
- package/components/ion-datetime-button.js +1 -1
- package/components/ion-datetime.js +1 -1
- package/components/ion-fab-button.js +1 -1
- package/components/ion-gallery.js +1 -1
- package/components/ion-grid.js +1 -1
- package/components/ion-header.js +1 -1
- package/components/ion-img.js +1 -1
- package/components/ion-infinite-scroll-content.js +1 -1
- package/components/ion-infinite-scroll.js +1 -1
- package/components/ion-input-otp.js +1 -1
- package/components/ion-input-password-toggle.js +1 -1
- package/components/ion-input.js +1 -1
- package/components/ion-item-divider.js +1 -1
- package/components/ion-item-group.js +1 -1
- package/components/ion-item-option.js +1 -1
- package/components/ion-item-options.js +1 -1
- package/components/ion-item-sliding.js +1 -1
- package/components/ion-item.js +1 -1
- package/components/ion-label.js +1 -1
- package/components/ion-list-header.js +1 -1
- package/components/ion-list.js +1 -1
- package/components/ion-loading.js +1 -1
- package/components/ion-menu-button.js +1 -1
- package/components/ion-menu-toggle.js +1 -1
- package/components/ion-menu.js +1 -1
- package/components/ion-modal.js +1 -1
- package/components/ion-nav-link.js +1 -1
- package/components/ion-nav.js +1 -1
- package/components/ion-note.js +1 -1
- package/components/ion-picker-column-option.js +1 -1
- package/components/ion-picker-legacy-column.js +1 -1
- package/components/ion-picker-legacy.js +1 -1
- package/components/ion-popover.js +1 -1
- package/components/ion-progress-bar.js +1 -1
- package/components/ion-radio-group.js +1 -1
- package/components/ion-radio.js +1 -1
- package/components/ion-range.js +1 -1
- package/components/ion-refresher-content.js +1 -1
- package/components/ion-refresher.js +1 -1
- package/components/ion-reorder-group.js +1 -1
- package/components/ion-reorder.js +1 -1
- package/components/ion-ripple-effect.js +1 -1
- package/components/ion-router-link.js +1 -1
- package/components/ion-router-outlet.js +1 -1
- package/components/ion-row.js +1 -1
- package/components/ion-searchbar.js +1 -1
- package/components/ion-segment-button.js +1 -1
- package/components/ion-segment-content.js +1 -1
- package/components/ion-segment-view.js +1 -1
- package/components/ion-segment.js +1 -1
- package/components/ion-select-modal.js +1 -1
- package/components/ion-select-option.js +1 -1
- package/components/ion-select-popover.js +1 -1
- package/components/ion-select.js +1 -1
- package/components/ion-skeleton-text.js +1 -1
- package/components/ion-spinner.js +1 -1
- package/components/ion-split-pane.js +1 -1
- package/components/ion-tab-bar.js +1 -1
- package/components/ion-tab-button.js +1 -1
- package/components/ion-tab.js +1 -1
- package/components/ion-tabs.js +1 -1
- package/components/ion-text.js +1 -1
- package/components/ion-textarea.js +1 -1
- package/components/ion-thumbnail.js +1 -1
- package/components/ion-title.js +1 -1
- package/components/ion-toast.js +1 -1
- package/components/ion-toggle.js +1 -1
- package/components/ion-toolbar.js +1 -1
- package/components/{p-B-oPDoNQ.js → p-BFbsici0.js} +1 -1
- package/components/{p-6_r-Odtt.js → p-BLCuPAtN.js} +1 -1
- package/components/{p-CSf_VKpz.js → p-BRWWcnBq.js} +1 -1
- package/components/{p-CvljGih0.js → p-BXcCGjEc.js} +1 -1
- package/components/{p-DZOqbnq2.js → p-BqImG3uk.js} +1 -1
- package/components/{p-D42P_qbe.js → p-C38HUpU5.js} +1 -1
- package/components/{p-Ddl4_R29.js → p-C4G6C9fP.js} +1 -1
- package/components/{p-C-Vjb84N.js → p-C8ktKu9j.js} +1 -1
- package/components/{p-J7srYGKf.js → p-CIoAIKEr.js} +1 -1
- package/components/{p-BhkRbo3L.js → p-CN-WzkJE.js} +1 -1
- package/components/p-CVRxImH6.js +4 -0
- package/components/{p-KF2RUDHO.js → p-CoFDGTFO.js} +1 -1
- package/components/{p-n94Bzx6_.js → p-CoFqDNc5.js} +1 -1
- package/components/{p-vGxjPSKT.js → p-CykCvfXQ.js} +1 -1
- package/components/p-DHTe6lDL.js +4 -0
- package/components/{p-C75do9pU.js → p-DH_9VCbD.js} +1 -1
- package/components/{p-Ct1_qpJ-.js → p-DTtRWhIZ.js} +1 -1
- package/components/{p-BdmDSErh.js → p-DXUyXgVL.js} +1 -1
- package/components/{p-BLHs-wsh.js → p-IMXp2Inn.js} +1 -1
- package/components/{p-lEYPO4ZC.js → p-TR4ubkPu.js} +1 -1
- package/components/{p-CieebRr6.js → p-qZr7hBPz.js} +1 -1
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/ion-action-sheet.cjs.entry.js +1 -1
- package/dist/cjs/ion-alert.cjs.entry.js +1 -1
- package/dist/cjs/ion-app_8.cjs.entry.js +7 -7
- package/dist/cjs/ion-avatar_3.cjs.entry.js +2 -2
- package/dist/cjs/ion-col_3.cjs.entry.js +4 -4
- package/dist/cjs/ion-datetime_3.cjs.entry.js +5 -5
- package/dist/cjs/ion-gallery.cjs.entry.js +8 -57
- package/dist/cjs/ion-img.cjs.entry.js +2 -2
- package/dist/cjs/ion-infinite-scroll_2.cjs.entry.js +3 -3
- package/dist/cjs/ion-input-otp.cjs.entry.js +3 -3
- package/dist/cjs/ion-input-password-toggle.cjs.entry.js +3 -3
- package/dist/cjs/ion-input.cjs.entry.js +4 -4
- package/dist/cjs/ion-item-option_3.cjs.entry.js +4 -4
- package/dist/cjs/ion-item_8.cjs.entry.js +12 -12
- package/dist/cjs/ion-loading.cjs.entry.js +3 -3
- package/dist/cjs/ion-menu_3.cjs.entry.js +7 -7
- package/dist/cjs/ion-modal.cjs.entry.js +5 -5
- package/dist/cjs/ion-nav_2.cjs.entry.js +2 -2
- package/dist/cjs/ion-picker-column-option.cjs.entry.js +2 -2
- package/dist/cjs/ion-popover.cjs.entry.js +3 -3
- package/dist/cjs/ion-progress-bar.cjs.entry.js +1 -1
- package/dist/cjs/ion-radio_2.cjs.entry.js +5 -5
- package/dist/cjs/ion-range.cjs.entry.js +3 -3
- package/dist/cjs/ion-refresher_2.cjs.entry.js +3 -3
- package/dist/cjs/ion-reorder_2.cjs.entry.js +3 -3
- package/dist/cjs/ion-ripple-effect.cjs.entry.js +1 -1
- package/dist/cjs/ion-route_4.cjs.entry.js +2 -2
- package/dist/cjs/ion-searchbar.cjs.entry.js +4 -4
- package/dist/cjs/ion-segment-content.cjs.entry.js +1 -1
- package/dist/cjs/ion-segment-view.cjs.entry.js +2 -2
- package/dist/cjs/ion-segment_2.cjs.entry.js +4 -4
- package/dist/cjs/ion-select-modal.cjs.entry.js +2 -2
- package/dist/cjs/ion-select_3.cjs.entry.js +7 -7
- package/dist/cjs/ion-spinner.cjs.entry.js +1 -1
- package/dist/cjs/ion-split-pane.cjs.entry.js +2 -2
- package/dist/cjs/ion-tab-bar_2.cjs.entry.js +4 -4
- package/dist/cjs/ion-tab_2.cjs.entry.js +3 -3
- package/dist/cjs/ion-text.cjs.entry.js +2 -2
- package/dist/cjs/ion-textarea.cjs.entry.js +3 -3
- package/dist/cjs/ion-toast.cjs.entry.js +3 -3
- package/dist/cjs/ion-toggle.cjs.entry.js +3 -3
- package/dist/cjs/ionic.cjs.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{overlays-Hci_7vw_.js → overlays-C54DhaTC.js} +187 -10
- package/dist/collection/collection-manifest.json +0 -1
- package/dist/collection/components/gallery/gallery.css +24 -0
- package/dist/collection/components/gallery/gallery.js +7 -56
- package/dist/collection/components/gallery/test/utils.js +13 -13
- package/dist/collection/components/grid/grid.js +2 -2
- package/dist/collection/components/header/header.js +2 -2
- package/dist/collection/components/img/img.js +2 -2
- package/dist/collection/components/infinite-scroll/infinite-scroll.js +1 -1
- package/dist/collection/components/infinite-scroll-content/infinite-scroll-content.js +2 -2
- package/dist/collection/components/input/input.js +4 -4
- package/dist/collection/components/input-otp/input-otp.js +3 -3
- package/dist/collection/components/input-password-toggle/input-password-toggle.js +3 -3
- package/dist/collection/components/item-divider/item-divider.js +2 -2
- package/dist/collection/components/item-group/item-group.js +1 -1
- package/dist/collection/components/item-option/item-option.js +2 -2
- package/dist/collection/components/item-options/item-options.js +1 -1
- package/dist/collection/components/item-sliding/item-sliding.js +1 -1
- package/dist/collection/components/label/label.js +2 -2
- package/dist/collection/components/list/list.js +1 -1
- package/dist/collection/components/list-header/list-header.js +2 -2
- package/dist/collection/components/loading/loading.js +2 -2
- package/dist/collection/components/menu/menu.js +2 -2
- package/dist/collection/components/menu-button/menu-button.js +2 -2
- package/dist/collection/components/menu-toggle/menu-toggle.js +2 -2
- package/dist/collection/components/modal/modal.js +4 -4
- package/dist/collection/components/nav/nav.js +1 -1
- package/dist/collection/components/nav-link/nav-link.js +1 -1
- package/dist/collection/components/note/note.js +2 -2
- package/dist/collection/components/picker-column-option/picker-column-option.js +2 -2
- package/dist/collection/components/picker-legacy/picker.js +2 -2
- package/dist/collection/components/picker-legacy-column/picker-column.js +2 -2
- package/dist/collection/components/popover/popover.js +2 -2
- package/dist/collection/components/progress-bar/progress-bar.js +1 -1
- package/dist/collection/components/radio/radio.js +3 -3
- package/dist/collection/components/radio-group/radio-group.js +2 -2
- package/dist/collection/components/range/range.js +3 -3
- package/dist/collection/components/refresher/refresher.js +1 -1
- package/dist/collection/components/refresher-content/refresher-content.js +2 -2
- package/dist/collection/components/reorder/reorder.js +2 -2
- package/dist/collection/components/reorder-group/reorder-group.js +1 -1
- package/dist/collection/components/ripple-effect/ripple-effect.js +1 -1
- package/dist/collection/components/router-link/router-link.js +2 -2
- package/dist/collection/components/router-outlet/router-outlet.js +1 -1
- package/dist/collection/components/row/row.js +2 -2
- package/dist/collection/components/searchbar/searchbar.js +4 -4
- package/dist/collection/components/segment/segment.js +2 -2
- package/dist/collection/components/segment-button/segment-button.js +2 -2
- package/dist/collection/components/segment-content/segment-content.js +1 -1
- package/dist/collection/components/segment-view/segment-view.js +2 -2
- package/dist/collection/components/select/select.js +3 -3
- package/dist/collection/components/select-modal/select-modal.js +1 -1
- package/dist/collection/components/select-option/select-option.js +1 -1
- package/dist/collection/components/select-popover/select-popover.js +2 -2
- package/dist/collection/components/skeleton-text/skeleton-text.js +2 -2
- package/dist/collection/components/spinner/spinner.js +1 -1
- package/dist/collection/components/split-pane/split-pane.js +2 -2
- package/dist/collection/components/tab/tab.js +2 -2
- package/dist/collection/components/tab-bar/tab-bar.js +2 -2
- package/dist/collection/components/tab-button/tab-button.js +2 -2
- package/dist/collection/components/tabs/tabs.js +1 -1
- package/dist/collection/components/text/text.js +2 -2
- package/dist/collection/components/textarea/textarea.js +3 -3
- package/dist/collection/components/thumbnail/thumbnail.js +2 -2
- package/dist/collection/components/title/title.js +2 -2
- package/dist/collection/components/toast/toast.js +2 -2
- package/dist/collection/components/toggle/toggle.js +3 -3
- package/dist/collection/components/toolbar/toolbar.js +2 -2
- package/dist/collection/utils/overlays.js +187 -10
- package/dist/docs.json +1 -85
- package/dist/esm/index.js +1 -1
- package/dist/esm/ion-action-sheet.entry.js +1 -1
- package/dist/esm/ion-alert.entry.js +1 -1
- package/dist/esm/ion-app_8.entry.js +7 -7
- package/dist/esm/ion-avatar_3.entry.js +2 -2
- package/dist/esm/ion-col_3.entry.js +4 -4
- package/dist/esm/ion-datetime_3.entry.js +5 -5
- package/dist/esm/ion-gallery.entry.js +8 -57
- package/dist/esm/ion-img.entry.js +2 -2
- package/dist/esm/ion-infinite-scroll_2.entry.js +3 -3
- package/dist/esm/ion-input-otp.entry.js +3 -3
- package/dist/esm/ion-input-password-toggle.entry.js +3 -3
- package/dist/esm/ion-input.entry.js +4 -4
- package/dist/esm/ion-item-option_3.entry.js +4 -4
- package/dist/esm/ion-item_8.entry.js +12 -12
- package/dist/esm/ion-loading.entry.js +3 -3
- package/dist/esm/ion-menu_3.entry.js +7 -7
- package/dist/esm/ion-modal.entry.js +5 -5
- package/dist/esm/ion-nav_2.entry.js +2 -2
- package/dist/esm/ion-picker-column-option.entry.js +2 -2
- package/dist/esm/ion-popover.entry.js +3 -3
- package/dist/esm/ion-progress-bar.entry.js +1 -1
- package/dist/esm/ion-radio_2.entry.js +5 -5
- package/dist/esm/ion-range.entry.js +3 -3
- package/dist/esm/ion-refresher_2.entry.js +3 -3
- package/dist/esm/ion-reorder_2.entry.js +3 -3
- package/dist/esm/ion-ripple-effect.entry.js +1 -1
- package/dist/esm/ion-route_4.entry.js +2 -2
- package/dist/esm/ion-searchbar.entry.js +4 -4
- package/dist/esm/ion-segment-content.entry.js +1 -1
- package/dist/esm/ion-segment-view.entry.js +2 -2
- package/dist/esm/ion-segment_2.entry.js +4 -4
- package/dist/esm/ion-select-modal.entry.js +2 -2
- package/dist/esm/ion-select_3.entry.js +7 -7
- package/dist/esm/ion-spinner.entry.js +1 -1
- package/dist/esm/ion-split-pane.entry.js +2 -2
- package/dist/esm/ion-tab-bar_2.entry.js +4 -4
- package/dist/esm/ion-tab_2.entry.js +3 -3
- package/dist/esm/ion-text.entry.js +2 -2
- package/dist/esm/ion-textarea.entry.js +3 -3
- package/dist/esm/ion-toast.entry.js +3 -3
- package/dist/esm/ion-toggle.entry.js +3 -3
- package/dist/esm/ionic.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{overlays-rwDDzEs4.js → overlays-ttYCMKRp.js} +187 -10
- package/dist/html.html-data.json +0 -42
- package/dist/ionic/index.esm.js +1 -1
- package/dist/ionic/ionic.esm.js +1 -1
- package/dist/ionic/{p-6911beb3.entry.js → p-00c0bd38.entry.js} +1 -1
- package/dist/ionic/p-06bd033b.entry.js +4 -0
- package/dist/ionic/{p-b8f7e970.entry.js → p-1709b0aa.entry.js} +1 -1
- package/dist/ionic/{p-7761b69d.entry.js → p-1c2c1869.entry.js} +1 -1
- package/dist/ionic/{p-bd3ae730.entry.js → p-1c4de46b.entry.js} +1 -1
- package/dist/ionic/p-1e1c8d61.entry.js +4 -0
- package/dist/ionic/{p-fe073307.entry.js → p-1f74b8d4.entry.js} +1 -1
- package/dist/ionic/p-2aa7567e.entry.js +4 -0
- package/dist/ionic/{p-455ac83a.entry.js → p-2ad79c23.entry.js} +1 -1
- package/dist/ionic/{p-2c252788.entry.js → p-2f8aa0ac.entry.js} +1 -1
- package/dist/ionic/{p-3d939d55.entry.js → p-3331cfa9.entry.js} +1 -1
- package/dist/ionic/{p-dd1e95c5.entry.js → p-33c34361.entry.js} +1 -1
- package/dist/ionic/{p-636aa79b.entry.js → p-3f79f594.entry.js} +1 -1
- package/dist/ionic/{p-8291455b.entry.js → p-48026d15.entry.js} +1 -1
- package/dist/ionic/{p-e5976b28.entry.js → p-5061a8d4.entry.js} +1 -1
- package/dist/ionic/{p-fc01563c.entry.js → p-50b61fab.entry.js} +1 -1
- package/dist/ionic/{p-c55a5578.entry.js → p-50cd2d57.entry.js} +1 -1
- package/dist/ionic/{p-503219b5.entry.js → p-5274f999.entry.js} +1 -1
- package/dist/ionic/{p-c1d6501a.entry.js → p-586d4270.entry.js} +1 -1
- package/dist/ionic/{p-e342b205.entry.js → p-7054a1b9.entry.js} +1 -1
- package/dist/ionic/{p-cecceb9f.entry.js → p-72491468.entry.js} +1 -1
- package/dist/ionic/{p-02a1a45c.entry.js → p-76307d10.entry.js} +1 -1
- package/dist/ionic/{p-5b164421.entry.js → p-7d5057c4.entry.js} +1 -1
- package/dist/ionic/{p-bb2d2635.entry.js → p-83c693c4.entry.js} +1 -1
- package/dist/ionic/{p-fdf0e290.entry.js → p-8537b2fb.entry.js} +1 -1
- package/dist/ionic/{p-4a0260e6.entry.js → p-8f04bd89.entry.js} +1 -1
- package/dist/ionic/{p-0ef2fcda.entry.js → p-90e653e3.entry.js} +1 -1
- package/dist/ionic/p-967576f8.entry.js +4 -0
- package/dist/ionic/{p-d604defc.entry.js → p-9d789053.entry.js} +1 -1
- package/dist/ionic/p-DdyNaGpi.js +4 -0
- package/dist/ionic/{p-65159e09.entry.js → p-ae667493.entry.js} +1 -1
- package/dist/ionic/{p-e73a7fe2.entry.js → p-b2fe6c1c.entry.js} +1 -1
- package/dist/ionic/{p-92427c9d.entry.js → p-b3c9f19c.entry.js} +1 -1
- package/dist/ionic/{p-83c0eb9b.entry.js → p-b653f4c2.entry.js} +1 -1
- package/dist/ionic/{p-9f914d43.entry.js → p-bb898d47.entry.js} +1 -1
- package/dist/ionic/{p-0c3bf0a7.entry.js → p-bd71a4a7.entry.js} +1 -1
- package/dist/ionic/{p-3fd97ea9.entry.js → p-d4ed5710.entry.js} +1 -1
- package/dist/ionic/{p-874945f3.entry.js → p-d6299c37.entry.js} +1 -1
- package/dist/ionic/{p-229c8fb5.entry.js → p-dea52cb3.entry.js} +1 -1
- package/dist/ionic/{p-2a66b899.entry.js → p-e18d3fdb.entry.js} +1 -1
- package/dist/ionic/{p-6ec1e450.entry.js → p-fad05840.entry.js} +1 -1
- package/dist/ionic/{p-432c5888.entry.js → p-fc796d48.entry.js} +1 -1
- package/dist/types/components/gallery/gallery.d.ts +2 -10
- package/dist/types/components/gallery/test/utils.d.ts +1 -1
- package/dist/types/components.d.ts +0 -29
- package/hydrate/index.js +317 -269
- package/hydrate/index.mjs +317 -269
- package/package.json +1 -1
- package/components/ion-gallery-item.d.ts +0 -11
- package/components/ion-gallery-item.js +0 -4
- package/components/p-C4dDZdpz.js +0 -4
- package/components/p-CtiqM786.js +0 -4
- package/dist/cjs/ion-gallery-item.cjs.entry.js +0 -72
- package/dist/collection/components/gallery-item/gallery-item.css +0 -87
- package/dist/collection/components/gallery-item/gallery-item.js +0 -87
- package/dist/esm/ion-gallery-item.entry.js +0 -70
- package/dist/ionic/p-1ab01507.entry.js +0 -4
- package/dist/ionic/p-21ca5788.entry.js +0 -4
- package/dist/ionic/p-2981a0bd.entry.js +0 -4
- package/dist/ionic/p-2d5a2511.entry.js +0 -4
- package/dist/ionic/p-76de7898.entry.js +0 -4
- package/dist/ionic/p-C4uUM9DM.js +0 -4
- package/dist/types/components/gallery-item/gallery-item.d.ts +0 -25
|
@@ -39,7 +39,7 @@ const DEFAULT_COLUMNS = {
|
|
|
39
39
|
};
|
|
40
40
|
const DEFAULT_GAP = '16px';
|
|
41
41
|
|
|
42
|
-
const galleryCss = () => `:host{display:grid;grid-template-columns:repeat(var(--internal-gallery-columns, 2), minmax(0, 1fr))}:host(.gallery-layout-uniform){gap:var(--internal-gallery-gap, 16px)}:host(.gallery-layout-masonry){-ms-flex-align:start;align-items:start;-webkit-column-gap:var(--internal-gallery-gap, 16px);-moz-column-gap:var(--internal-gallery-gap, 16px);column-gap:var(--internal-gallery-gap, 16px);row-gap:0;grid-auto-rows:2px}`;
|
|
42
|
+
const galleryCss = () => `:host{display:grid;grid-template-columns:repeat(var(--internal-gallery-columns, 2), minmax(0, 1fr))}:host(.gallery-layout-uniform){gap:var(--internal-gallery-gap, 16px)}:host(.gallery-layout-uniform) ::slotted(*){aspect-ratio:1/1}:host(.gallery-layout-masonry){-ms-flex-align:start;align-items:start;-webkit-column-gap:var(--internal-gallery-gap, 16px);-moz-column-gap:var(--internal-gallery-gap, 16px);column-gap:var(--internal-gallery-gap, 16px);row-gap:0;grid-auto-rows:2px}:host(.gallery-layout-masonry) ::slotted(*){display:block;min-height:unset;margin-bottom:var(--internal-gallery-gap, 16px)}::slotted(*){margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;width:100%}::slotted(img){display:block;-o-object-fit:cover;object-fit:cover;-o-object-position:center;object-position:center}`;
|
|
43
43
|
|
|
44
44
|
// TODO(FW-7285): Replace with global breakpoints
|
|
45
45
|
const BREAKPOINTS = {
|
|
@@ -51,7 +51,6 @@ const BREAKPOINTS = {
|
|
|
51
51
|
xxl: 1400,
|
|
52
52
|
};
|
|
53
53
|
const BREAKPOINT_ORDER = ['xs', 'sm', 'md', 'lg', 'xl', 'xxl'];
|
|
54
|
-
const GALLERY_ITEM_SELECTOR = 'ion-gallery-item';
|
|
55
54
|
const Gallery = class {
|
|
56
55
|
constructor(hostRef) {
|
|
57
56
|
registerInstance(this, hostRef);
|
|
@@ -60,7 +59,6 @@ const Gallery = class {
|
|
|
60
59
|
this.hasWarnedInvalidColumns = false;
|
|
61
60
|
this.hasWarnedInvalidGap = false;
|
|
62
61
|
this.hasWarnedUnusedOrder = false;
|
|
63
|
-
this.hasWarnedInvalidItems = false;
|
|
64
62
|
/**
|
|
65
63
|
* The visual layout of the gallery. When `uniform`, rows take up the height
|
|
66
64
|
* of the tallest item and are spaced evenly across the gallery. Additionally,
|
|
@@ -110,9 +108,8 @@ const Gallery = class {
|
|
|
110
108
|
const styles = getComputedStyle(this.el);
|
|
111
109
|
const rowHeight = parseFloat(styles.getPropertyValue('grid-auto-rows')) || 0;
|
|
112
110
|
const rowGap = parseFloat(styles.getPropertyValue('row-gap')) || parseFloat(styles.getPropertyValue('gap')) || 0;
|
|
113
|
-
const itemGap = parseFloat(styles.getPropertyValue('column-gap')) || parseFloat(styles.getPropertyValue('gap')) || 0;
|
|
114
111
|
const items = this.getItems();
|
|
115
|
-
this.layoutMasonry(items, rowHeight, rowGap,
|
|
112
|
+
this.layoutMasonry(items, rowHeight, rowGap, columns);
|
|
116
113
|
};
|
|
117
114
|
}
|
|
118
115
|
onColumnsOrGapChanged() {
|
|
@@ -313,16 +310,6 @@ const Gallery = class {
|
|
|
313
310
|
printIonWarning(`[ion-gallery] - "order" has no effect when "layout" is "uniform". Set "layout" to "masonry" for "order" to apply.`, this.el);
|
|
314
311
|
this.hasWarnedUnusedOrder = true;
|
|
315
312
|
}
|
|
316
|
-
/**
|
|
317
|
-
* Warn when gallery content is missing required `ion-gallery-item` components.
|
|
318
|
-
*/
|
|
319
|
-
warnInvalidItems() {
|
|
320
|
-
if (this.hasWarnedInvalidItems) {
|
|
321
|
-
return;
|
|
322
|
-
}
|
|
323
|
-
printIonWarning('[ion-gallery] - Gallery items must be wrapped in "ion-gallery-item" components. Non-item direct children are ignored unless they contain nested "ion-gallery-item" elements.', this.el);
|
|
324
|
-
this.hasWarnedInvalidItems = true;
|
|
325
|
-
}
|
|
326
313
|
/**
|
|
327
314
|
* Resolve the active columns value for the current width. Falls back to
|
|
328
315
|
* the default responsive columns when the provided prop is invalid.
|
|
@@ -379,45 +366,12 @@ const Gallery = class {
|
|
|
379
366
|
const gap = this.getGapForWidth(width);
|
|
380
367
|
this.el.style.setProperty('--internal-gallery-gap', `${gap}`);
|
|
381
368
|
}
|
|
382
|
-
isGalleryItemElement(element) {
|
|
383
|
-
var _a;
|
|
384
|
-
return typeof ((_a = element.style) === null || _a === void 0 ? void 0 : _a.setProperty) === 'function';
|
|
385
|
-
}
|
|
386
369
|
/**
|
|
387
|
-
* Return all gallery
|
|
388
|
-
*
|
|
389
|
-
* containers and flattened to nested `ion-gallery-item` children. Direct
|
|
390
|
-
* children without nested `ion-gallery-item` components are ignored.
|
|
370
|
+
* Return all directly slotted children of the gallery that can be grid items
|
|
371
|
+
* with inline placement styles (HTML elements and SVG elements).
|
|
391
372
|
*/
|
|
392
373
|
getItems() {
|
|
393
|
-
|
|
394
|
-
const flattenedItems = [];
|
|
395
|
-
// Expand an <ion-gallery-item> component into the actual gallery items
|
|
396
|
-
// that should be used for grid placement.
|
|
397
|
-
const pushWrappedItems = (galleryItemEl) => {
|
|
398
|
-
const galleryItems = Array.from(galleryItemEl.children).filter((child) => this.isGalleryItemElement(child));
|
|
399
|
-
flattenedItems.push(...galleryItems);
|
|
400
|
-
};
|
|
401
|
-
directChildren.forEach((directChildEl) => {
|
|
402
|
-
// Standard path: <ion-gallery-item> is a direct child of <ion-gallery>.
|
|
403
|
-
if (directChildEl.matches(GALLERY_ITEM_SELECTOR)) {
|
|
404
|
-
pushWrappedItems(directChildEl);
|
|
405
|
-
return;
|
|
406
|
-
}
|
|
407
|
-
// Compatibility path: a non-gallery-item direct child (e.g. wrapper <div>)
|
|
408
|
-
// may contain nested <ion-gallery-item> components.
|
|
409
|
-
const nestedGalleryItems = Array.from(directChildEl.querySelectorAll(GALLERY_ITEM_SELECTOR)).filter((child) => this.isGalleryItemElement(child));
|
|
410
|
-
// Invalid children path: no <ion-gallery-item> components found.
|
|
411
|
-
if (nestedGalleryItems.length === 0) {
|
|
412
|
-
this.warnInvalidItems();
|
|
413
|
-
return;
|
|
414
|
-
}
|
|
415
|
-
// Flatten gallery-item containers so nested <ion-gallery-item> children can
|
|
416
|
-
// become the effective gallery items.
|
|
417
|
-
directChildEl.style.display = 'contents';
|
|
418
|
-
nestedGalleryItems.forEach((nestedGalleryItem) => pushWrappedItems(nestedGalleryItem));
|
|
419
|
-
});
|
|
420
|
-
return flattenedItems;
|
|
374
|
+
return Array.from(this.el.children).filter((child) => { var _a; return typeof ((_a = child.style) === null || _a === void 0 ? void 0 : _a.setProperty) === 'function'; });
|
|
421
375
|
}
|
|
422
376
|
/**
|
|
423
377
|
* Clear the item styles for the given item element.
|
|
@@ -474,14 +428,11 @@ const Gallery = class {
|
|
|
474
428
|
/**
|
|
475
429
|
* Apply masonry placement by assigning each item a column and row span.
|
|
476
430
|
*/
|
|
477
|
-
layoutMasonry(items, rowHeight, rowGap,
|
|
431
|
+
layoutMasonry(items, rowHeight, rowGap, columns) {
|
|
478
432
|
const columnHeights = new Array(columns).fill(0);
|
|
479
433
|
const lastItemsByColumn = new Array(columns).fill(undefined);
|
|
480
434
|
items.forEach((itemEl, i) => {
|
|
481
435
|
itemEl.style.marginBottom = '';
|
|
482
|
-
if (itemEl.parentElement !== this.el) {
|
|
483
|
-
itemEl.style.marginBottom = `${itemGap}px`;
|
|
484
|
-
}
|
|
485
436
|
const span = this.calculateRowSpan(itemEl, rowHeight, rowGap);
|
|
486
437
|
if (span === undefined) {
|
|
487
438
|
this.clearItemStyles(itemEl);
|
|
@@ -530,11 +481,11 @@ const Gallery = class {
|
|
|
530
481
|
const { layout } = this;
|
|
531
482
|
const order = this.getOrder();
|
|
532
483
|
const theme = getIonTheme(this);
|
|
533
|
-
return (h(Host, { key: '
|
|
484
|
+
return (h(Host, { key: '1bf2973d22835c0dbddf3214b602f8c08b95e421', class: {
|
|
534
485
|
[theme]: true,
|
|
535
486
|
[`gallery-layout-${layout}`]: true,
|
|
536
487
|
[`gallery-order-${order}`]: layout === 'masonry' && order !== undefined,
|
|
537
|
-
} }, h("slot", { key: '
|
|
488
|
+
} }, h("slot", { key: '0dea31f609f6afdb1d73ecb2d873909ffe49203f', onSlotchange: this.onSlotChange })));
|
|
538
489
|
}
|
|
539
490
|
get el() { return getElement(this); }
|
|
540
491
|
static get watchers() { return {
|
|
@@ -82,9 +82,9 @@ const Img = class {
|
|
|
82
82
|
const { loadSrc, alt, onLoad, loadError, inheritedAttributes } = this;
|
|
83
83
|
const { draggable } = inheritedAttributes;
|
|
84
84
|
const theme = getIonTheme(this);
|
|
85
|
-
return (h(Host, { key: '
|
|
85
|
+
return (h(Host, { key: '91de170493b31d6260e975b440beceb6906b6d5a', class: {
|
|
86
86
|
[theme]: true,
|
|
87
|
-
} }, h("img", { key: '
|
|
87
|
+
} }, h("img", { key: 'ac1f41afbece34a3e38e656733f3e55cce385b4c', decoding: "async", src: loadSrc, alt: alt, onLoad: onLoad, onError: loadError, part: "image", draggable: isDraggable(draggable) })));
|
|
88
88
|
}
|
|
89
89
|
get el() { return getElement(this); }
|
|
90
90
|
static get watchers() { return {
|
|
@@ -269,7 +269,7 @@ const InfiniteScroll = class {
|
|
|
269
269
|
render() {
|
|
270
270
|
const theme = getIonTheme(this);
|
|
271
271
|
const disabled = this.disabled;
|
|
272
|
-
return (h(Host, { key: '
|
|
272
|
+
return (h(Host, { key: '02beca21d668e4e605532ad5ca5a67a08c71eebb', class: {
|
|
273
273
|
[theme]: true,
|
|
274
274
|
'infinite-scroll-loading': this.isLoading,
|
|
275
275
|
'infinite-scroll-enabled': !disabled,
|
|
@@ -313,11 +313,11 @@ const InfiniteScrollContent = class {
|
|
|
313
313
|
}
|
|
314
314
|
render() {
|
|
315
315
|
const theme = getIonTheme(this);
|
|
316
|
-
return (h(Host, { key: '
|
|
316
|
+
return (h(Host, { key: 'b51954f829eeafd5ec304b3e66e330776485ffc8', class: {
|
|
317
317
|
[theme]: true,
|
|
318
318
|
// Used internally for styling
|
|
319
319
|
[`infinite-scroll-content-${theme}`]: true,
|
|
320
|
-
} }, h("div", { key: '
|
|
320
|
+
} }, h("div", { key: '047da7f15fe38deed592dd66d1c97e12da4545bb', class: "infinite-loading" }, this.loadingSpinner && (h("div", { key: '1c05820f091052b8ee9e9ca20054495a676c21aa', class: "infinite-loading-spinner" }, h("ion-spinner", { key: 'ff801e3486f3c1a4605d2a2de9b47bd7bd536698', name: this.loadingSpinner }))), this.loadingText !== undefined && this.renderLoadingText())));
|
|
321
321
|
}
|
|
322
322
|
};
|
|
323
323
|
InfiniteScrollContent.style = {
|
|
@@ -690,7 +690,7 @@ const InputOTP = class {
|
|
|
690
690
|
const tabbableIndex = this.getTabbableIndex();
|
|
691
691
|
const pattern = this.getPattern();
|
|
692
692
|
const hasDescription = ((_b = (_a = el.querySelector('.input-otp-description')) === null || _a === void 0 ? void 0 : _a.textContent) === null || _b === void 0 ? void 0 : _b.trim()) !== '';
|
|
693
|
-
return (h(Host, { key: '
|
|
693
|
+
return (h(Host, { key: '7a5c5dbb7e1880bd94d4b00e579af941366b1cb2', class: createColorClasses(color, {
|
|
694
694
|
[mode]: true,
|
|
695
695
|
'has-focus': hasFocus,
|
|
696
696
|
[`input-otp-size-${size}`]: true,
|
|
@@ -698,10 +698,10 @@ const InputOTP = class {
|
|
|
698
698
|
[`input-otp-fill-${fill}`]: true,
|
|
699
699
|
'input-otp-disabled': disabled,
|
|
700
700
|
'input-otp-readonly': readonly,
|
|
701
|
-
}) }, h("div", Object.assign({ key: '
|
|
701
|
+
}) }, h("div", Object.assign({ key: 'a4427602ea1894d53e4d0f502dbb972c93a86bff', role: "group", "aria-label": "One-time password input", class: "input-otp-group", part: "group" }, inheritedAttributes), Array.from({ length }).map((_, index) => (h(Fragment, null, h("div", { class: "native-wrapper", part: "container" }, h("input", { class: "native-input", part: "native", id: `${inputId}-${index}`, "aria-label": `Input ${index + 1} of ${length}`, type: "text", autoCapitalize: autocapitalize, inputmode: inputmode, pattern: pattern, disabled: disabled, readOnly: readonly, tabIndex: index === tabbableIndex ? 0 : -1, value: inputValues[index] || '', autocomplete: "one-time-code", ref: (el) => (inputRefs[index] = el), onInput: this.onInput(index), onBlur: this.onBlur, onFocus: this.onFocus(index), onKeyDown: this.onKeyDown(index), onPaste: this.onPaste })), this.showSeparator(index) && h("div", { class: "input-otp-separator", part: "separator" }))))), h("div", { key: '7ee9d8dfd2e52875f1bfe3e3dea0494c18c12f4a', class: {
|
|
702
702
|
'input-otp-description': true,
|
|
703
703
|
'input-otp-description-hidden': !hasDescription,
|
|
704
|
-
}, part: "description" }, h("slot", { key: '
|
|
704
|
+
}, part: "description" }, h("slot", { key: '163c374e7ae5dbdb1dc12483161e5aca919a50d5' }))));
|
|
705
705
|
}
|
|
706
706
|
static get formAssociated() { return true; }
|
|
707
707
|
get el() { return getElement(this); }
|
|
@@ -99,16 +99,16 @@ const InputPasswordToggle = class {
|
|
|
99
99
|
const { color, inputPasswordHideIcon, inputPasswordShowIcon, type } = this;
|
|
100
100
|
const mode = getIonMode(this);
|
|
101
101
|
const isPasswordVisible = type === 'text';
|
|
102
|
-
return (h(Host, { key: '
|
|
102
|
+
return (h(Host, { key: 'c7f0805958b284005806a0cb3ed0b5cba42cecd1', class: createColorClasses(color, {
|
|
103
103
|
[mode]: true,
|
|
104
|
-
}) }, h("ion-button", { key: '
|
|
104
|
+
}) }, h("ion-button", { key: 'dee2bdeb169d1fa4943c9a8b0164b8fbb4cdfe06', mode: mode, color: color, fill: "clear", shape: "round", "aria-label": isPasswordVisible ? 'Hide password' : 'Show password', "aria-pressed": isPasswordVisible ? 'true' : 'false', type: "button", onPointerDown: (ev) => {
|
|
105
105
|
/**
|
|
106
106
|
* This prevents mobile browsers from
|
|
107
107
|
* blurring the input when the password toggle
|
|
108
108
|
* button is activated.
|
|
109
109
|
*/
|
|
110
110
|
ev.preventDefault();
|
|
111
|
-
}, onClick: this.togglePasswordVisibility }, h("ion-icon", { key: '
|
|
111
|
+
}, onClick: this.togglePasswordVisibility }, h("ion-icon", { key: 'be752db7186a7cd6fc033c7002fcb1683d93c162', slot: "icon-only", "aria-hidden": "true", icon: isPasswordVisible ? inputPasswordHideIcon : inputPasswordShowIcon }))));
|
|
112
112
|
}
|
|
113
113
|
get el() { return getElement(this); }
|
|
114
114
|
static get watchers() { return {
|
|
@@ -620,7 +620,7 @@ const Input = class {
|
|
|
620
620
|
* TODO(FW-5592): Remove hasStartEndSlots condition
|
|
621
621
|
*/
|
|
622
622
|
const labelShouldFloat = labelPlacement === 'stacked' || (labelPlacement === 'floating' && (hasValue || hasFocus || hasStartEndSlots));
|
|
623
|
-
return (h(Host, { key: '
|
|
623
|
+
return (h(Host, { key: 'beeeca9939e7e416783425f67d3c9e2be6bbae99', class: createColorClasses(this.color, {
|
|
624
624
|
[theme]: true,
|
|
625
625
|
'has-value': hasValue,
|
|
626
626
|
'has-focus': hasFocus,
|
|
@@ -633,7 +633,7 @@ const Input = class {
|
|
|
633
633
|
'in-item-color': hostContext('ion-item.ion-color', this.el),
|
|
634
634
|
'input-disabled': disabled,
|
|
635
635
|
'input-readonly': readonly,
|
|
636
|
-
}) }, h("label", { key: '
|
|
636
|
+
}) }, h("label", { key: 'f227df52a6ad60344f16261a82c0d0566bb8cd5b', class: "input-wrapper", htmlFor: inputId, onClick: this.onLabelClick }, this.renderLabelContainer(), h("div", { key: 'ae6da554ce21f805361a7704139b776a9344dcb2', class: "native-wrapper", onClick: this.onLabelClick },
|
|
637
637
|
/**
|
|
638
638
|
* For the ionic theme, we render the outline container here
|
|
639
639
|
* instead of higher up, so it can be positioned relative to
|
|
@@ -643,14 +643,14 @@ const Input = class {
|
|
|
643
643
|
* <label> element, ensuring that clicking the label text
|
|
644
644
|
* focuses the input.
|
|
645
645
|
*/
|
|
646
|
-
theme === 'ionic' && h("div", { key: '
|
|
646
|
+
theme === 'ionic' && h("div", { key: '83aa5e7ad97b0c964e31966c1d2b8771d1ecfc53', class: "input-outline" }), h("slot", { key: '1931003f2b0d19508acaaffab58fee644d1f6158', name: "start" }), h("input", Object.assign({ key: '33a06efb4ce0b6e67c12e77f131effb113fba73f', class: "native-input", ref: (input) => (this.nativeInput = input), id: inputId, disabled: disabled, autoCapitalize: this.autocapitalize, autoComplete: this.autocomplete, autoCorrect: this.autocorrect, autoFocus: this.autofocus, enterKeyHint: this.enterkeyhint, inputMode: this.inputmode, min: this.min, max: this.max, minLength: this.minlength, maxLength: this.maxlength, multiple: this.multiple, name: this.name, pattern: this.pattern, placeholder: this.placeholder || '', readOnly: readonly, required: this.required, spellcheck: this.spellcheck, step: this.step, type: this.type, value: value, onInput: this.onInput, onChange: this.onChange, onBlur: this.onBlur, onFocus: this.onFocus, onKeyDown: this.onKeydown, onCompositionstart: this.onCompositionStart, onCompositionend: this.onCompositionEnd, "aria-describedby": this.getHintTextID(), "aria-invalid": this.isInvalid ? 'true' : undefined, "aria-labelledby": this.getLabelledById() }, this.inheritedAttributes)), clearInput && !readonly && !disabled && (h("button", { key: 'd350f26cf6927ee089373ea8903db2479a0a404c', "aria-label": "reset", type: "button", class: "input-clear-icon", onPointerDown: (ev) => {
|
|
647
647
|
/**
|
|
648
648
|
* This prevents mobile browsers from
|
|
649
649
|
* blurring the input when the clear
|
|
650
650
|
* button is activated.
|
|
651
651
|
*/
|
|
652
652
|
ev.preventDefault();
|
|
653
|
-
}, onClick: this.clearTextInput }, h("ion-icon", { key: '
|
|
653
|
+
}, onClick: this.clearTextInput }, h("ion-icon", { key: '972a2d94dcf599e63aac1d73e34873a9c3d0bf94', "aria-hidden": "true", icon: inputClearIcon }))), h("slot", { key: 'fac4dcaabb02f647e46276e92e3f341557170aec', name: "end" })), shouldRenderHighlight && h("div", { key: 'a10e519d8d1f0dcd81ffc43b8e4086797476f753', class: "input-highlight" })), this.renderBottomContent()));
|
|
654
654
|
}
|
|
655
655
|
get el() { return getElement(this); }
|
|
656
656
|
static get watchers() { return {
|
|
@@ -68,14 +68,14 @@ const ItemOption = class {
|
|
|
68
68
|
href: this.href,
|
|
69
69
|
target: this.target,
|
|
70
70
|
};
|
|
71
|
-
return (h(Host, { key: '
|
|
71
|
+
return (h(Host, { key: 'bfade0042108ff525077dfbdfd45169ccfd6b920', onClick: this.onClick, class: createColorClasses(this.color, {
|
|
72
72
|
[theme]: true,
|
|
73
73
|
[`item-option-${shape}`]: shape !== undefined,
|
|
74
74
|
[`item-option-${hue}`]: hue !== undefined,
|
|
75
75
|
'item-option-disabled': disabled,
|
|
76
76
|
'item-option-expandable': expandable,
|
|
77
77
|
'ion-activatable': true,
|
|
78
|
-
}) }, h(TagType, Object.assign({ key: '
|
|
78
|
+
}) }, h(TagType, Object.assign({ key: '38466b511f4a20a3728f37dbf6779b852eba531a' }, attrs, { class: "button-native", part: "native", disabled: disabled }), h("span", { key: 'bb8f1b332afa2f575bcc69b340bd8f1faa5ca925', class: "button-inner", part: "inner" }, h("slot", { key: '41d627511e1615283956712e1b9519bae92460f6', name: "top" }), h("div", { key: 'bb949a43a586a8996933ee7528e5491beb647aa5', class: "horizontal-wrapper", part: "container" }, h("slot", { key: 'c0d6a73ef49082bfbdf0f542f7465d044ccb6521', name: "start" }), h("slot", { key: '79c6103e680983b2c1a17f1f11dbc41224cd4016', name: "icon-only" }), h("slot", { key: '6c7f17723544d3f6e8b9689b84ddf6196f1897a5' }), h("slot", { key: 'e15d0e02fde71bad8ff7bab0eded7d49508a926e', name: "end" })), h("slot", { key: 'c509d54d44ce33f5a34597b9d0ec29960bbcff62', name: "bottom" })), theme === 'md' && h("ion-ripple-effect", { key: '412d4dc645c941d0b4356cf982be3d5bc2686f13' }))));
|
|
79
79
|
}
|
|
80
80
|
get el() { return getElement(this); }
|
|
81
81
|
};
|
|
@@ -110,7 +110,7 @@ const ItemOptions = class {
|
|
|
110
110
|
render() {
|
|
111
111
|
const theme = getIonTheme(this);
|
|
112
112
|
const isEnd = isEndSide(this.side);
|
|
113
|
-
return (h(Host, { key: '
|
|
113
|
+
return (h(Host, { key: 'f3bb726a28c571101791d33d946df9017f47e5ec', class: {
|
|
114
114
|
[theme]: true,
|
|
115
115
|
// Used internally for styling
|
|
116
116
|
[`item-options-${theme}`]: true,
|
|
@@ -904,7 +904,7 @@ const ItemSliding = class {
|
|
|
904
904
|
}
|
|
905
905
|
render() {
|
|
906
906
|
const theme = getIonTheme(this);
|
|
907
|
-
return (h(Host, { key: '
|
|
907
|
+
return (h(Host, { key: 'e6890a1b14faaf9121a07912b1c2f46e06148202', class: {
|
|
908
908
|
[theme]: true,
|
|
909
909
|
'item-sliding-active-slide': this.state !== 2 /* SlidingState.Disabled */,
|
|
910
910
|
'item-sliding-active-options-end': (this.state & 8 /* SlidingState.End */) !== 0,
|
|
@@ -308,11 +308,11 @@ const ItemDivider = class {
|
|
|
308
308
|
}
|
|
309
309
|
render() {
|
|
310
310
|
const theme = getIonTheme(this);
|
|
311
|
-
return (h(Host, { key: '
|
|
311
|
+
return (h(Host, { key: 'ede65c17ec8e42e4096f8753116923d6b8d2cc14', class: createColorClasses(this.color, {
|
|
312
312
|
[theme]: true,
|
|
313
313
|
'item-divider-sticky': this.sticky,
|
|
314
314
|
item: true,
|
|
315
|
-
}) }, h("slot", { key: '
|
|
315
|
+
}) }, h("slot", { key: '4e16384a4481326490dab1ad31218c19eb9108db', name: "start" }), h("div", { key: '0bddbea071781e3372b5c7147c2fdd3ba0e29ffe', class: "item-divider-inner", part: "inner" }, h("div", { key: 'dfa603352f7cc58aaa717a32507b1dbbd7b79757', class: "item-divider-wrapper", part: "container" }, h("slot", { key: '4b1b67cfe72266645943f88ede9f8c61a344967d' })), h("slot", { key: '6ddd72a410c449e281f5344d02324e7461ba29e8', name: "end" }))));
|
|
316
316
|
}
|
|
317
317
|
get el() { return getElement(this); }
|
|
318
318
|
};
|
|
@@ -334,7 +334,7 @@ const ItemGroup = class {
|
|
|
334
334
|
}
|
|
335
335
|
render() {
|
|
336
336
|
const theme = getIonTheme(this);
|
|
337
|
-
return (h(Host, { key: '
|
|
337
|
+
return (h(Host, { key: '66ad8ce335cd97703e884538bdf6ea1927a30889', role: "group", class: {
|
|
338
338
|
[theme]: true,
|
|
339
339
|
// Used internally for styling
|
|
340
340
|
[`item-group-${theme}`]: true,
|
|
@@ -408,13 +408,13 @@ const Label = class {
|
|
|
408
408
|
render() {
|
|
409
409
|
const position = this.position;
|
|
410
410
|
const theme = getIonTheme(this);
|
|
411
|
-
return (h(Host, { key: '
|
|
411
|
+
return (h(Host, { key: '7cbec4c1b8fe8925f44255e02cee78bc1873fd70', class: createColorClasses(this.color, {
|
|
412
412
|
[theme]: true,
|
|
413
413
|
'in-item-color': hostContext('ion-item.ion-color', this.el),
|
|
414
414
|
[`label-${position}`]: position !== undefined,
|
|
415
415
|
[`label-no-animate`]: this.noAnimate,
|
|
416
416
|
'label-rtl': document.dir === 'rtl',
|
|
417
|
-
}) }, h("slot", { key: '
|
|
417
|
+
}) }, h("slot", { key: '6d8b4a7ab396792d7a7c0b7e259c622840b7ef9b' })));
|
|
418
418
|
}
|
|
419
419
|
get el() { return getElement(this); }
|
|
420
420
|
static get watchers() { return {
|
|
@@ -478,7 +478,7 @@ const List = class {
|
|
|
478
478
|
const theme = getIonTheme(this);
|
|
479
479
|
const shape = this.getShape();
|
|
480
480
|
const { lines, inset } = this;
|
|
481
|
-
return (h(Host, { key: '
|
|
481
|
+
return (h(Host, { key: 'f17f7af20c567ea0098b362ea04d051b44aa151a', role: "list", class: {
|
|
482
482
|
[theme]: true,
|
|
483
483
|
// Used internally for styling
|
|
484
484
|
[`list-${theme}`]: true,
|
|
@@ -509,10 +509,10 @@ const ListHeader = class {
|
|
|
509
509
|
render() {
|
|
510
510
|
const { lines } = this;
|
|
511
511
|
const theme = getIonTheme(this);
|
|
512
|
-
return (h(Host, { key: '
|
|
512
|
+
return (h(Host, { key: '90c594b0290949b159f35bd36c86c3231a1b8e44', class: createColorClasses(this.color, {
|
|
513
513
|
[theme]: true,
|
|
514
514
|
[`list-header-lines-${lines}`]: lines !== undefined,
|
|
515
|
-
}) }, h("div", { key: '
|
|
515
|
+
}) }, h("div", { key: '9d1bde129787263edb79bc921cdf0168a2935a27', class: "list-header-inner", part: "inner" }, h("slot", { key: 'fe157b5ff88355adfb09209ee92fd03c82e067ff' }))));
|
|
516
516
|
}
|
|
517
517
|
};
|
|
518
518
|
ListHeader.style = {
|
|
@@ -533,9 +533,9 @@ const Note = class {
|
|
|
533
533
|
}
|
|
534
534
|
render() {
|
|
535
535
|
const theme = getIonTheme(this);
|
|
536
|
-
return (h(Host, { key: '
|
|
536
|
+
return (h(Host, { key: '34a74796fc2e41549100c6611a5900d60c8d688d', class: createColorClasses(this.color, {
|
|
537
537
|
[theme]: true,
|
|
538
|
-
}) }, h("slot", { key: '
|
|
538
|
+
}) }, h("slot", { key: 'ea4c2e3b5666d10ca312e175db200134d8a30382' })));
|
|
539
539
|
}
|
|
540
540
|
};
|
|
541
541
|
Note.style = {
|
|
@@ -571,11 +571,11 @@ const SkeletonText = class {
|
|
|
571
571
|
const animated = this.animated && config.getBoolean('animated', true);
|
|
572
572
|
const inMedia = hostContext('ion-avatar', this.el) || hostContext('ion-thumbnail', this.el);
|
|
573
573
|
const theme = getIonTheme(this);
|
|
574
|
-
return (h(Host, { key: '
|
|
574
|
+
return (h(Host, { key: 'aa94213767105077047a369d4e4861027af96060', class: {
|
|
575
575
|
[theme]: true,
|
|
576
576
|
'skeleton-text-animated': animated,
|
|
577
577
|
'in-media': inMedia,
|
|
578
|
-
} }, h("span", { key: '
|
|
578
|
+
} }, h("span", { key: 'c5dab0fb89d524827936aef5345cc0c7eda9e274' }, "\u00A0")));
|
|
579
579
|
}
|
|
580
580
|
get el() { return getElement(this); }
|
|
581
581
|
};
|
|
@@ -5,7 +5,7 @@ import { r as registerInstance, c as createEvent, e as config, h, d as Host, g a
|
|
|
5
5
|
import { E as ENABLE_HTML_CONTENT_DEFAULT } from './config-BwKpO3Is.js';
|
|
6
6
|
import { r as raf } from './helpers-Do7zwvM1.js';
|
|
7
7
|
import { c as createLockController } from './lock-controller-B-hirT0v.js';
|
|
8
|
-
import { d as createDelegateController, e as createTriggerController, B as BACKDROP, j as prepareOverlay, k as setOverlayId, f as present, g as dismiss, h as eventMethod } from './overlays-
|
|
8
|
+
import { d as createDelegateController, e as createTriggerController, B as BACKDROP, j as prepareOverlay, k as setOverlayId, f as present, g as dismiss, h as eventMethod } from './overlays-ttYCMKRp.js';
|
|
9
9
|
import { s as sanitizeDOMString } from './index-D4ugF_sT.js';
|
|
10
10
|
import { g as getClassMap } from './theme-DaJxRxSQ.js';
|
|
11
11
|
import { c as getIonTheme } from './ionic-global-CAZb-5i-.js';
|
|
@@ -278,9 +278,9 @@ const Loading = class {
|
|
|
278
278
|
* Otherwise, don't set aria-labelledby.
|
|
279
279
|
*/
|
|
280
280
|
const ariaLabelledBy = message !== undefined ? msgId : null;
|
|
281
|
-
return (h(Host, Object.assign({ key: '
|
|
281
|
+
return (h(Host, Object.assign({ key: 'b1e84a0d078fac04c0736a19d067d8d49e339323', role: "dialog", "aria-modal": "true", "aria-labelledby": ariaLabelledBy, tabindex: "-1" }, htmlAttributes, { style: {
|
|
282
282
|
zIndex: `${40000 + this.overlayIndex}`,
|
|
283
|
-
}, onIonBackdropTap: this.onBackdropTap, class: Object.assign(Object.assign({}, getClassMap(this.cssClass)), { [theme]: true, 'overlay-hidden': true, 'loading-translucent': this.translucent }) }), h("ion-backdrop", { key: '
|
|
283
|
+
}, onIonBackdropTap: this.onBackdropTap, class: Object.assign(Object.assign({}, getClassMap(this.cssClass)), { [theme]: true, 'overlay-hidden': true, 'loading-translucent': this.translucent }) }), h("ion-backdrop", { key: '19884fd6f8bf6f704bff388ecfa245d1cd98156c', visible: this.showBackdrop, tappable: this.backdropDismiss }), h("div", { key: 'ecd47d503a9805a5c18f1b0d48989e54b4cb8f78', tabindex: "0", "aria-hidden": "true" }), h("div", { key: '231821576b812ffaa90ed9ced4437e456908ad53', class: "loading-wrapper ion-overlay-wrapper" }, spinner && (h("div", { key: 'e18d21751a73f408bd058aa4270f245285cd57fa', class: "loading-spinner" }, h("ion-spinner", { key: '478761b8a000191951e9902138483b389e1b76c4', name: spinner, "aria-hidden": "true" }))), message !== undefined && this.renderLoadingMessage(msgId)), h("div", { key: '968be6c72872ce5bc8706fa37f242dcdc38efb33', tabindex: "0", "aria-hidden": "true" })));
|
|
284
284
|
}
|
|
285
285
|
get el() { return getElement(this); }
|
|
286
286
|
static get watchers() { return {
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import { r as registerInstance, c as createEvent, e as config, j as printIonError, h, d as Host, g as getElement } from './index-Omi_TcwW.js';
|
|
5
5
|
import { g as getTimeGivenProgression } from './cubic-bezier-hHmYLOfE.js';
|
|
6
|
-
import { o as getPresentedOverlay, B as BACKDROP, n as focusFirstDescendant, q as focusLastDescendant, G as GESTURE } from './overlays-
|
|
6
|
+
import { o as getPresentedOverlay, B as BACKDROP, n as focusFirstDescendant, q as focusLastDescendant, G as GESTURE } from './overlays-ttYCMKRp.js';
|
|
7
7
|
import { G as GESTURE_CONTROLLER } from './gesture-controller-BTEOs1at.js';
|
|
8
8
|
import { b as getIonMode, a as isPlatform, c as getIonTheme, s as shouldUseCloseWatcher } from './ionic-global-CAZb-5i-.js';
|
|
9
9
|
import { p as isEndSide, i as inheritAriaAttributes, l as assert, e as clamp } from './helpers-Do7zwvM1.js';
|
|
@@ -664,14 +664,14 @@ const Menu = class {
|
|
|
664
664
|
* the ionBackButton listener in the menu controller
|
|
665
665
|
* will handle closing the menu when Escape is pressed.
|
|
666
666
|
*/
|
|
667
|
-
return (h(Host, { key: '
|
|
667
|
+
return (h(Host, { key: 'd42a7b48a1464a4d71188e3a31f719c5dc296d77', onKeyDown: shouldUseCloseWatcher() ? null : this.onKeydown, role: "navigation", "aria-label": inheritedAttributes['aria-label'] || 'menu', class: {
|
|
668
668
|
[theme]: true,
|
|
669
669
|
[`menu-type-${type}`]: true,
|
|
670
670
|
'menu-enabled': !disabled,
|
|
671
671
|
[`menu-side-${side}`]: true,
|
|
672
672
|
'menu-pane-visible': isPaneVisible,
|
|
673
673
|
'split-pane-side': hostContext('ion-split-pane', el),
|
|
674
|
-
} }, h("div", { key: '
|
|
674
|
+
} }, h("div", { key: '3ffcedd178c412771657599f3d5de2cd2a717c00', class: "menu-inner", part: "container", ref: (el) => (this.menuInnerEl = el) }, h("slot", { key: '2d8dfdb569c4b433cbacbe2aee8a12954e157a51' })), h("ion-backdrop", { key: 'e1fcbdcf6bd3aa0fa10dcf05a2b012bef196a243', ref: (el) => (this.backdropEl = el), class: "menu-backdrop", tappable: false, stopPropagation: false, part: "backdrop" })));
|
|
675
675
|
}
|
|
676
676
|
get el() { return getElement(this); }
|
|
677
677
|
static get watchers() { return {
|
|
@@ -772,7 +772,7 @@ const MenuButton = class {
|
|
|
772
772
|
type: this.type,
|
|
773
773
|
};
|
|
774
774
|
const ariaLabel = inheritedAttributes['aria-label'] || 'menu';
|
|
775
|
-
return (h(Host, { key: '
|
|
775
|
+
return (h(Host, { key: 'd150818e749a1cbe72dc05011247023f6d442eb8', onClick: this.onClick, "aria-disabled": disabled ? 'true' : null, "aria-hidden": hidden ? 'true' : null, class: createColorClasses(color, {
|
|
776
776
|
[theme]: true,
|
|
777
777
|
button: true, // ion-buttons target .button
|
|
778
778
|
'menu-button-hidden': hidden,
|
|
@@ -781,7 +781,7 @@ const MenuButton = class {
|
|
|
781
781
|
'in-toolbar-color': hostContext('ion-toolbar[color]', this.el),
|
|
782
782
|
'ion-activatable': true,
|
|
783
783
|
'ion-focusable': true,
|
|
784
|
-
}) }, h("button", Object.assign({ key: '
|
|
784
|
+
}) }, h("button", Object.assign({ key: '88bef93aa6c1a0d5795c4a9ba3edffd99413a758' }, attrs, { disabled: disabled, class: "button-native", part: "native", "aria-label": ariaLabel }), h("span", { key: '12b2f8bc542239a35adee62d76acccff571a84d7', class: "button-inner" }, h("slot", { key: '5bba549d8e92745aa34372c105cfe80e0ecbc9f5' }, h("ion-icon", { key: '864ff8bf1722b7fe1f17f2a40dfc5b91cb3403f9', part: "icon", icon: menuIcon, lazy: false, "aria-hidden": "true" }))), theme === 'md' && h("ion-ripple-effect", { key: '59e24ecb22970e43b51739324b11457c6e4bc117', type: "unbounded" }))));
|
|
785
785
|
}
|
|
786
786
|
get el() { return getElement(this); }
|
|
787
787
|
};
|
|
@@ -817,10 +817,10 @@ const MenuToggle = class {
|
|
|
817
817
|
render() {
|
|
818
818
|
const theme = getIonTheme(this);
|
|
819
819
|
const hidden = this.autoHide && !this.visible;
|
|
820
|
-
return (h(Host, { key: '
|
|
820
|
+
return (h(Host, { key: '973372d778e7902eac28b2a6a5e74165b51d60d6', onClick: this.onClick, "aria-hidden": hidden ? 'true' : null, class: {
|
|
821
821
|
[theme]: true,
|
|
822
822
|
'menu-toggle-hidden': hidden,
|
|
823
|
-
} }, h("slot", { key: '
|
|
823
|
+
} }, h("slot", { key: '760b8ffe93ae490b62f7ad6fc94ecbc8521ead64' })));
|
|
824
824
|
}
|
|
825
825
|
};
|
|
826
826
|
MenuToggle.style = menuToggleCss();
|
|
@@ -7,7 +7,7 @@ import { C as CoreDelegate, a as attachComponent, d as detachComponent } from '.
|
|
|
7
7
|
import { g as getElementRoot, e as clamp, r as raf, b as inheritAttributes, h as hasLazyBuild } from './helpers-Do7zwvM1.js';
|
|
8
8
|
import { c as createLockController } from './lock-controller-B-hirT0v.js';
|
|
9
9
|
import { g as getCapacitor } from './capacitor-C4lYa1nV.js';
|
|
10
|
-
import { G as GESTURE, O as OVERLAY_GESTURE_PRIORITY, F as FOCUS_TRAP_DISABLE_CLASS, e as createTriggerController, B as BACKDROP, j as prepareOverlay, k as setOverlayId, f as present, g as dismiss, h as eventMethod } from './overlays-
|
|
10
|
+
import { G as GESTURE, O as OVERLAY_GESTURE_PRIORITY, F as FOCUS_TRAP_DISABLE_CLASS, e as createTriggerController, B as BACKDROP, j as prepareOverlay, k as setOverlayId, f as present, g as dismiss, h as eventMethod } from './overlays-ttYCMKRp.js';
|
|
11
11
|
import { g as getClassMap } from './theme-DaJxRxSQ.js';
|
|
12
12
|
import { e as deepReady, w as waitForMount } from './index-CGthURny.js';
|
|
13
13
|
import { w as win, b as getIonMode, c as getIonTheme } from './ionic-global-CAZb-5i-.js';
|
|
@@ -3081,20 +3081,20 @@ const Modal = class {
|
|
|
3081
3081
|
const isHandleCycle = handleBehavior === 'cycle';
|
|
3082
3082
|
const shape = this.getShape();
|
|
3083
3083
|
const isSheetModalWithHandle = isSheetModal && showHandle;
|
|
3084
|
-
return (h(Host, Object.assign({ key: '
|
|
3084
|
+
return (h(Host, Object.assign({ key: '2d3a31da1613386cf90f0d59d6b26c9a5b654d2a', "no-router": true,
|
|
3085
3085
|
// Allow the modal to be navigable when the handle is focusable
|
|
3086
3086
|
tabIndex: isHandleCycle && isSheetModalWithHandle ? 0 : -1 }, htmlAttributes, { style: {
|
|
3087
3087
|
zIndex: `${20000 + this.overlayIndex}`,
|
|
3088
|
-
}, class: Object.assign({ [theme]: true, ['modal-default']: !isCardModal && !isSheetModal, [`modal-card`]: isCardModal, [`modal-sheet`]: isSheetModal, [`modal-${shape}`]: shape !== undefined, [`modal-no-expand-scroll`]: isSheetModal && !expandToScroll, 'overlay-hidden': true, [FOCUS_TRAP_DISABLE_CLASS]: focusTrap === false }, getClassMap(this.cssClass)), onIonBackdropTap: this.onBackdropTap, onIonModalDidPresent: this.onLifecycle, onIonModalWillPresent: this.onLifecycle, onIonModalWillDismiss: this.onLifecycle, onIonModalDidDismiss: this.onLifecycle, onFocus: this.onModalFocus }), h("ion-backdrop", { key: '
|
|
3088
|
+
}, class: Object.assign({ [theme]: true, ['modal-default']: !isCardModal && !isSheetModal, [`modal-card`]: isCardModal, [`modal-sheet`]: isSheetModal, [`modal-${shape}`]: shape !== undefined, [`modal-no-expand-scroll`]: isSheetModal && !expandToScroll, 'overlay-hidden': true, [FOCUS_TRAP_DISABLE_CLASS]: focusTrap === false }, getClassMap(this.cssClass)), onIonBackdropTap: this.onBackdropTap, onIonModalDidPresent: this.onLifecycle, onIonModalWillPresent: this.onLifecycle, onIonModalWillDismiss: this.onLifecycle, onIonModalDidDismiss: this.onLifecycle, onFocus: this.onModalFocus }), h("ion-backdrop", { key: 'baf6be86f7d5053d870a4ad794c1d584985c5ba0', ref: (el) => (this.backdropEl = el), visible: this.showBackdrop, tappable: this.backdropDismiss, part: "backdrop" }), theme === 'ios' && h("div", { key: 'e3b76699bc31e8dd29b09ed6091d8f9003865e15', class: "modal-shadow" }), h("div", Object.assign({ key: '3043e51b33a1e394ae731ebc49fd4df7ef71be99',
|
|
3089
3089
|
/*
|
|
3090
3090
|
role and aria-modal must be used on the
|
|
3091
3091
|
same element. They must also be set inside the
|
|
3092
3092
|
shadow DOM otherwise ion-button will not be highlighted
|
|
3093
3093
|
when using VoiceOver: https://bugs.webkit.org/show_bug.cgi?id=247134
|
|
3094
3094
|
*/
|
|
3095
|
-
role: "dialog" }, inheritedAttributes, { "aria-modal": "true", class: "modal-wrapper ion-overlay-wrapper", part: "content", ref: (el) => (this.wrapperEl = el) }), showHandle && (h("button", { key: '
|
|
3095
|
+
role: "dialog" }, inheritedAttributes, { "aria-modal": "true", class: "modal-wrapper ion-overlay-wrapper", part: "content", ref: (el) => (this.wrapperEl = el) }), showHandle && (h("button", { key: '19e71dc84abf18b21be76ec35229c5c5e7410c6e', class: "modal-handle",
|
|
3096
3096
|
// Prevents the handle from receiving keyboard focus when it does not cycle
|
|
3097
|
-
tabIndex: !isHandleCycle ? -1 : 0, "aria-label": "Activate to adjust the size of the dialog overlaying the screen", onClick: isHandleCycle ? this.onHandleClick : undefined, part: "handle", ref: (el) => (this.dragHandleEl = el) })), h("slot", { key: '
|
|
3097
|
+
tabIndex: !isHandleCycle ? -1 : 0, "aria-label": "Activate to adjust the size of the dialog overlaying the screen", onClick: isHandleCycle ? this.onHandleClick : undefined, part: "handle", ref: (el) => (this.dragHandleEl = el) })), h("slot", { key: '9b868070ee1be064e6b385f4783fc428c78d8084', onSlotchange: this.onSlotChange }))));
|
|
3098
3098
|
}
|
|
3099
3099
|
get el() { return getElement(this); }
|
|
3100
3100
|
static get watchers() { return {
|
|
@@ -898,7 +898,7 @@ const Nav = class {
|
|
|
898
898
|
}
|
|
899
899
|
}
|
|
900
900
|
render() {
|
|
901
|
-
return h("slot", { key: '
|
|
901
|
+
return h("slot", { key: '87188d8fb4232d448ef2ad8e3db29c3730b1ff9e' });
|
|
902
902
|
}
|
|
903
903
|
get el() { return getElement(this); }
|
|
904
904
|
static get watchers() { return {
|
|
@@ -944,7 +944,7 @@ const NavLink = class {
|
|
|
944
944
|
};
|
|
945
945
|
}
|
|
946
946
|
render() {
|
|
947
|
-
return h(Host, { key: '
|
|
947
|
+
return h(Host, { key: '38f3d2e7a3ae4e57ac1479436c143e6820d25cd2', onClick: this.onClick });
|
|
948
948
|
}
|
|
949
949
|
get el() { return getElement(this); }
|
|
950
950
|
};
|
|
@@ -100,10 +100,10 @@ const PickerColumnOption = class {
|
|
|
100
100
|
render() {
|
|
101
101
|
const { color, disabled, ariaLabel } = this;
|
|
102
102
|
const theme = getIonTheme(this);
|
|
103
|
-
return (h(Host, { key: '
|
|
103
|
+
return (h(Host, { key: '54c254f01017aa47aac76c0833f9ef04bf20bdc9', class: createColorClasses(color, {
|
|
104
104
|
[theme]: true,
|
|
105
105
|
['option-disabled']: disabled,
|
|
106
|
-
}) }, h("div", { key: '
|
|
106
|
+
}) }, h("div", { key: '36b21f1b7d9a5b05f0211ce8be90f66578641224', class: 'picker-column-option-button', role: "button", "aria-label": ariaLabel, onClick: () => this.onClick() }, h("slot", { key: '154bf9ca37ca1c6e5d34d42c16b04203e83210be' }))));
|
|
107
107
|
}
|
|
108
108
|
get el() { return getElement(this); }
|
|
109
109
|
static get watchers() { return {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
4
|
import { r as registerInstance, c as createEvent, f as printIonWarning, h, d as Host, g as getElement } from './index-Omi_TcwW.js';
|
|
5
|
-
import { B as BACKDROP, j as prepareOverlay, k as setOverlayId, f as present, n as focusFirstDescendant, g as dismiss, h as eventMethod, F as FOCUS_TRAP_DISABLE_CLASS } from './overlays-
|
|
5
|
+
import { B as BACKDROP, j as prepareOverlay, k as setOverlayId, f as present, n as focusFirstDescendant, g as dismiss, h as eventMethod, F as FOCUS_TRAP_DISABLE_CLASS } from './overlays-ttYCMKRp.js';
|
|
6
6
|
import { C as CoreDelegate, a as attachComponent, d as detachComponent } from './framework-delegate-CjVwn_KZ.js';
|
|
7
7
|
import { g as getElementRoot, r as raf, f as addEventListener, h as hasLazyBuild } from './helpers-Do7zwvM1.js';
|
|
8
8
|
import { c as createLockController } from './lock-controller-B-hirT0v.js';
|
|
@@ -1543,9 +1543,9 @@ const Popover = class {
|
|
|
1543
1543
|
const { onLifecycle, parentPopover, dismissOnSelect, side, arrow, htmlAttributes, focusTrap } = this;
|
|
1544
1544
|
const desktop = isPlatform('desktop');
|
|
1545
1545
|
const enableArrow = arrow && !parentPopover;
|
|
1546
|
-
return (h(Host, Object.assign({ key: '
|
|
1546
|
+
return (h(Host, Object.assign({ key: '43128f8b7e57f08a451af1a237534d0517d86eda', "aria-modal": "true", "no-router": true, tabindex: "-1" }, htmlAttributes, { style: {
|
|
1547
1547
|
zIndex: `${20000 + this.overlayIndex}`,
|
|
1548
|
-
}, class: Object.assign(Object.assign({}, getClassMap(this.cssClass)), { [theme]: true, 'popover-translucent': this.translucent, 'overlay-hidden': true, 'popover-desktop': desktop, [`popover-side-${side}`]: true, [FOCUS_TRAP_DISABLE_CLASS]: focusTrap === false, 'popover-nested': !!parentPopover }), onIonPopoverDidPresent: onLifecycle, onIonPopoverWillPresent: onLifecycle, onIonPopoverWillDismiss: onLifecycle, onIonPopoverDidDismiss: onLifecycle, onIonBackdropTap: this.onBackdropTap }), !parentPopover && h("ion-backdrop", { key: '
|
|
1548
|
+
}, class: Object.assign(Object.assign({}, getClassMap(this.cssClass)), { [theme]: true, 'popover-translucent': this.translucent, 'overlay-hidden': true, 'popover-desktop': desktop, [`popover-side-${side}`]: true, [FOCUS_TRAP_DISABLE_CLASS]: focusTrap === false, 'popover-nested': !!parentPopover }), onIonPopoverDidPresent: onLifecycle, onIonPopoverWillPresent: onLifecycle, onIonPopoverWillDismiss: onLifecycle, onIonPopoverDidDismiss: onLifecycle, onIonBackdropTap: this.onBackdropTap }), !parentPopover && h("ion-backdrop", { key: 'c087932225f8fc872af7451fd847ab2667ae6ffb', tappable: this.backdropDismiss, visible: this.showBackdrop, part: "backdrop" }), h("div", { key: '25fb1c8320099d1170f3a61766760c694d84bf0b', class: "popover-wrapper ion-overlay-wrapper", onClick: dismissOnSelect ? () => this.dismiss() : undefined }, enableArrow && h("div", { key: '552f4b70758470fac0d2e2bd114eaf5d9b81a3ac', class: "popover-arrow", part: "arrow" }), h("div", { key: 'f19c1d60b0f4ff86bf308c5837637cd4bbd6814e', class: "popover-content", part: "content" }, h("slot", { key: '00870a41134268d84e239d305bf2daed7b049c34' })))));
|
|
1549
1549
|
}
|
|
1550
1550
|
get el() { return getElement(this); }
|
|
1551
1551
|
static get watchers() { return {
|
|
@@ -56,7 +56,7 @@ const ProgressBar = class {
|
|
|
56
56
|
const shape = this.getShape();
|
|
57
57
|
// If the progress is displayed as a solid bar.
|
|
58
58
|
const progressSolid = buffer === 1;
|
|
59
|
-
return (h(Host, { key: '
|
|
59
|
+
return (h(Host, { key: '0f6202e25d884fb85d18578769f6cfa5c704e9d9', role: "progressbar", "aria-valuenow": type === 'determinate' ? value : null, "aria-valuemin": "0", "aria-valuemax": "1", class: createColorClasses(color, {
|
|
60
60
|
[theme]: true,
|
|
61
61
|
[`progress-bar-${type}`]: true,
|
|
62
62
|
'progress-paused': paused,
|