@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
|
@@ -94,16 +94,16 @@ export class InputPasswordToggle {
|
|
|
94
94
|
const { color, inputPasswordHideIcon, inputPasswordShowIcon, type } = this;
|
|
95
95
|
const mode = getIonMode(this);
|
|
96
96
|
const isPasswordVisible = type === 'text';
|
|
97
|
-
return (h(Host, { key: '
|
|
97
|
+
return (h(Host, { key: 'c7f0805958b284005806a0cb3ed0b5cba42cecd1', class: createColorClasses(color, {
|
|
98
98
|
[mode]: true,
|
|
99
|
-
}) }, h("ion-button", { key: '
|
|
99
|
+
}) }, 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) => {
|
|
100
100
|
/**
|
|
101
101
|
* This prevents mobile browsers from
|
|
102
102
|
* blurring the input when the password toggle
|
|
103
103
|
* button is activated.
|
|
104
104
|
*/
|
|
105
105
|
ev.preventDefault();
|
|
106
|
-
}, onClick: this.togglePasswordVisibility }, h("ion-icon", { key: '
|
|
106
|
+
}, onClick: this.togglePasswordVisibility }, h("ion-icon", { key: 'be752db7186a7cd6fc033c7002fcb1683d93c162', slot: "icon-only", "aria-hidden": "true", icon: isPasswordVisible ? inputPasswordHideIcon : inputPasswordShowIcon }))));
|
|
107
107
|
}
|
|
108
108
|
static get is() { return "ion-input-password-toggle"; }
|
|
109
109
|
static get encapsulation() { return "shadow"; }
|
|
@@ -28,11 +28,11 @@ export class ItemDivider {
|
|
|
28
28
|
}
|
|
29
29
|
render() {
|
|
30
30
|
const theme = getIonTheme(this);
|
|
31
|
-
return (h(Host, { key: '
|
|
31
|
+
return (h(Host, { key: 'ede65c17ec8e42e4096f8753116923d6b8d2cc14', class: createColorClasses(this.color, {
|
|
32
32
|
[theme]: true,
|
|
33
33
|
'item-divider-sticky': this.sticky,
|
|
34
34
|
item: true,
|
|
35
|
-
}) }, h("slot", { key: '
|
|
35
|
+
}) }, 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" }))));
|
|
36
36
|
}
|
|
37
37
|
static get is() { return "ion-item-divider"; }
|
|
38
38
|
static get encapsulation() { return "shadow"; }
|
|
@@ -10,7 +10,7 @@ import { getIonTheme } from "../../global/ionic-global";
|
|
|
10
10
|
export class ItemGroup {
|
|
11
11
|
render() {
|
|
12
12
|
const theme = getIonTheme(this);
|
|
13
|
-
return (h(Host, { key: '
|
|
13
|
+
return (h(Host, { key: '66ad8ce335cd97703e884538bdf6ea1927a30889', role: "group", class: {
|
|
14
14
|
[theme]: true,
|
|
15
15
|
// Used internally for styling
|
|
16
16
|
[`item-group-${theme}`]: true,
|
|
@@ -71,14 +71,14 @@ export class ItemOption {
|
|
|
71
71
|
href: this.href,
|
|
72
72
|
target: this.target,
|
|
73
73
|
};
|
|
74
|
-
return (h(Host, { key: '
|
|
74
|
+
return (h(Host, { key: 'bfade0042108ff525077dfbdfd45169ccfd6b920', onClick: this.onClick, class: createColorClasses(this.color, {
|
|
75
75
|
[theme]: true,
|
|
76
76
|
[`item-option-${shape}`]: shape !== undefined,
|
|
77
77
|
[`item-option-${hue}`]: hue !== undefined,
|
|
78
78
|
'item-option-disabled': disabled,
|
|
79
79
|
'item-option-expandable': expandable,
|
|
80
80
|
'ion-activatable': true,
|
|
81
|
-
}) }, h(TagType, Object.assign({ key: '
|
|
81
|
+
}) }, 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' }))));
|
|
82
82
|
}
|
|
83
83
|
static get is() { return "ion-item-option"; }
|
|
84
84
|
static get encapsulation() { return "shadow"; }
|
|
@@ -25,7 +25,7 @@ export class ItemOptions {
|
|
|
25
25
|
render() {
|
|
26
26
|
const theme = getIonTheme(this);
|
|
27
27
|
const isEnd = isEndSide(this.side);
|
|
28
|
-
return (h(Host, { key: '
|
|
28
|
+
return (h(Host, { key: 'f3bb726a28c571101791d33d946df9017f47e5ec', class: {
|
|
29
29
|
[theme]: true,
|
|
30
30
|
// Used internally for styling
|
|
31
31
|
[`item-options-${theme}`]: true,
|
|
@@ -773,7 +773,7 @@ export class ItemSliding {
|
|
|
773
773
|
}
|
|
774
774
|
render() {
|
|
775
775
|
const theme = getIonTheme(this);
|
|
776
|
-
return (h(Host, { key: '
|
|
776
|
+
return (h(Host, { key: 'e6890a1b14faaf9121a07912b1c2f46e06148202', class: {
|
|
777
777
|
[theme]: true,
|
|
778
778
|
'item-sliding-active-slide': this.state !== 2 /* SlidingState.Disabled */,
|
|
779
779
|
'item-sliding-active-options-end': (this.state & 8 /* SlidingState.End */) !== 0,
|
|
@@ -59,13 +59,13 @@ export class Label {
|
|
|
59
59
|
render() {
|
|
60
60
|
const position = this.position;
|
|
61
61
|
const theme = getIonTheme(this);
|
|
62
|
-
return (h(Host, { key: '
|
|
62
|
+
return (h(Host, { key: '7cbec4c1b8fe8925f44255e02cee78bc1873fd70', class: createColorClasses(this.color, {
|
|
63
63
|
[theme]: true,
|
|
64
64
|
'in-item-color': hostContext('ion-item.ion-color', this.el),
|
|
65
65
|
[`label-${position}`]: position !== undefined,
|
|
66
66
|
[`label-no-animate`]: this.noAnimate,
|
|
67
67
|
'label-rtl': document.dir === 'rtl',
|
|
68
|
-
}) }, h("slot", { key: '
|
|
68
|
+
}) }, h("slot", { key: '6d8b4a7ab396792d7a7c0b7e259c622840b7ef9b' })));
|
|
69
69
|
}
|
|
70
70
|
static get is() { return "ion-label"; }
|
|
71
71
|
static get encapsulation() { return "scoped"; }
|
|
@@ -46,7 +46,7 @@ export class List {
|
|
|
46
46
|
const theme = getIonTheme(this);
|
|
47
47
|
const shape = this.getShape();
|
|
48
48
|
const { lines, inset } = this;
|
|
49
|
-
return (h(Host, { key: '
|
|
49
|
+
return (h(Host, { key: 'f17f7af20c567ea0098b362ea04d051b44aa151a', role: "list", class: {
|
|
50
50
|
[theme]: true,
|
|
51
51
|
// Used internally for styling
|
|
52
52
|
[`list-${theme}`]: true,
|
|
@@ -14,10 +14,10 @@ export class ListHeader {
|
|
|
14
14
|
render() {
|
|
15
15
|
const { lines } = this;
|
|
16
16
|
const theme = getIonTheme(this);
|
|
17
|
-
return (h(Host, { key: '
|
|
17
|
+
return (h(Host, { key: '90c594b0290949b159f35bd36c86c3231a1b8e44', class: createColorClasses(this.color, {
|
|
18
18
|
[theme]: true,
|
|
19
19
|
[`list-header-lines-${lines}`]: lines !== undefined,
|
|
20
|
-
}) }, h("div", { key: '
|
|
20
|
+
}) }, h("div", { key: '9d1bde129787263edb79bc921cdf0168a2935a27', class: "list-header-inner", part: "inner" }, h("slot", { key: 'fe157b5ff88355adfb09209ee92fd03c82e067ff' }))));
|
|
21
21
|
}
|
|
22
22
|
static get is() { return "ion-list-header"; }
|
|
23
23
|
static get encapsulation() { return "shadow"; }
|
|
@@ -180,9 +180,9 @@ export class Loading {
|
|
|
180
180
|
* Otherwise, don't set aria-labelledby.
|
|
181
181
|
*/
|
|
182
182
|
const ariaLabelledBy = message !== undefined ? msgId : null;
|
|
183
|
-
return (h(Host, Object.assign({ key: '
|
|
183
|
+
return (h(Host, Object.assign({ key: 'b1e84a0d078fac04c0736a19d067d8d49e339323', role: "dialog", "aria-modal": "true", "aria-labelledby": ariaLabelledBy, tabindex: "-1" }, htmlAttributes, { style: {
|
|
184
184
|
zIndex: `${40000 + this.overlayIndex}`,
|
|
185
|
-
}, onIonBackdropTap: this.onBackdropTap, class: Object.assign(Object.assign({}, getClassMap(this.cssClass)), { [theme]: true, 'overlay-hidden': true, 'loading-translucent': this.translucent }) }), h("ion-backdrop", { key: '
|
|
185
|
+
}, 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" })));
|
|
186
186
|
}
|
|
187
187
|
static get is() { return "ion-loading"; }
|
|
188
188
|
static get encapsulation() { return "scoped"; }
|
|
@@ -661,14 +661,14 @@ export class Menu {
|
|
|
661
661
|
* the ionBackButton listener in the menu controller
|
|
662
662
|
* will handle closing the menu when Escape is pressed.
|
|
663
663
|
*/
|
|
664
|
-
return (h(Host, { key: '
|
|
664
|
+
return (h(Host, { key: 'd42a7b48a1464a4d71188e3a31f719c5dc296d77', onKeyDown: shouldUseCloseWatcher() ? null : this.onKeydown, role: "navigation", "aria-label": inheritedAttributes['aria-label'] || 'menu', class: {
|
|
665
665
|
[theme]: true,
|
|
666
666
|
[`menu-type-${type}`]: true,
|
|
667
667
|
'menu-enabled': !disabled,
|
|
668
668
|
[`menu-side-${side}`]: true,
|
|
669
669
|
'menu-pane-visible': isPaneVisible,
|
|
670
670
|
'split-pane-side': hostContext('ion-split-pane', el),
|
|
671
|
-
} }, h("div", { key: '
|
|
671
|
+
} }, 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" })));
|
|
672
672
|
}
|
|
673
673
|
static get is() { return "ion-menu"; }
|
|
674
674
|
static get encapsulation() { return "shadow"; }
|
|
@@ -67,7 +67,7 @@ export class MenuButton {
|
|
|
67
67
|
type: this.type,
|
|
68
68
|
};
|
|
69
69
|
const ariaLabel = inheritedAttributes['aria-label'] || 'menu';
|
|
70
|
-
return (h(Host, { key: '
|
|
70
|
+
return (h(Host, { key: 'd150818e749a1cbe72dc05011247023f6d442eb8', onClick: this.onClick, "aria-disabled": disabled ? 'true' : null, "aria-hidden": hidden ? 'true' : null, class: createColorClasses(color, {
|
|
71
71
|
[theme]: true,
|
|
72
72
|
button: true, // ion-buttons target .button
|
|
73
73
|
'menu-button-hidden': hidden,
|
|
@@ -76,7 +76,7 @@ export class MenuButton {
|
|
|
76
76
|
'in-toolbar-color': hostContext('ion-toolbar[color]', this.el),
|
|
77
77
|
'ion-activatable': true,
|
|
78
78
|
'ion-focusable': true,
|
|
79
|
-
}) }, h("button", Object.assign({ key: '
|
|
79
|
+
}) }, 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" }))));
|
|
80
80
|
}
|
|
81
81
|
static get is() { return "ion-menu-button"; }
|
|
82
82
|
static get encapsulation() { return "shadow"; }
|
|
@@ -34,10 +34,10 @@ export class MenuToggle {
|
|
|
34
34
|
render() {
|
|
35
35
|
const theme = getIonTheme(this);
|
|
36
36
|
const hidden = this.autoHide && !this.visible;
|
|
37
|
-
return (h(Host, { key: '
|
|
37
|
+
return (h(Host, { key: '973372d778e7902eac28b2a6a5e74165b51d60d6', onClick: this.onClick, "aria-hidden": hidden ? 'true' : null, class: {
|
|
38
38
|
[theme]: true,
|
|
39
39
|
'menu-toggle-hidden': hidden,
|
|
40
|
-
} }, h("slot", { key: '
|
|
40
|
+
} }, h("slot", { key: '760b8ffe93ae490b62f7ad6fc94ecbc8521ead64' })));
|
|
41
41
|
}
|
|
42
42
|
static get is() { return "ion-menu-toggle"; }
|
|
43
43
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1179,20 +1179,20 @@ export class Modal {
|
|
|
1179
1179
|
const isHandleCycle = handleBehavior === 'cycle';
|
|
1180
1180
|
const shape = this.getShape();
|
|
1181
1181
|
const isSheetModalWithHandle = isSheetModal && showHandle;
|
|
1182
|
-
return (h(Host, Object.assign({ key: '
|
|
1182
|
+
return (h(Host, Object.assign({ key: '2d3a31da1613386cf90f0d59d6b26c9a5b654d2a', "no-router": true,
|
|
1183
1183
|
// Allow the modal to be navigable when the handle is focusable
|
|
1184
1184
|
tabIndex: isHandleCycle && isSheetModalWithHandle ? 0 : -1 }, htmlAttributes, { style: {
|
|
1185
1185
|
zIndex: `${20000 + this.overlayIndex}`,
|
|
1186
|
-
}, 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: '
|
|
1186
|
+
}, 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',
|
|
1187
1187
|
/*
|
|
1188
1188
|
role and aria-modal must be used on the
|
|
1189
1189
|
same element. They must also be set inside the
|
|
1190
1190
|
shadow DOM otherwise ion-button will not be highlighted
|
|
1191
1191
|
when using VoiceOver: https://bugs.webkit.org/show_bug.cgi?id=247134
|
|
1192
1192
|
*/
|
|
1193
|
-
role: "dialog" }, inheritedAttributes, { "aria-modal": "true", class: "modal-wrapper ion-overlay-wrapper", part: "content", ref: (el) => (this.wrapperEl = el) }), showHandle && (h("button", { key: '
|
|
1193
|
+
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",
|
|
1194
1194
|
// Prevents the handle from receiving keyboard focus when it does not cycle
|
|
1195
|
-
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: '
|
|
1195
|
+
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 }))));
|
|
1196
1196
|
}
|
|
1197
1197
|
static get is() { return "ion-modal"; }
|
|
1198
1198
|
static get encapsulation() { return "shadow"; }
|
|
@@ -834,7 +834,7 @@ export class Nav {
|
|
|
834
834
|
}
|
|
835
835
|
}
|
|
836
836
|
render() {
|
|
837
|
-
return h("slot", { key: '
|
|
837
|
+
return h("slot", { key: '87188d8fb4232d448ef2ad8e3db29c3730b1ff9e' });
|
|
838
838
|
}
|
|
839
839
|
static get is() { return "ion-nav"; }
|
|
840
840
|
static get encapsulation() { return "shadow"; }
|
|
@@ -18,7 +18,7 @@ export class NavLink {
|
|
|
18
18
|
};
|
|
19
19
|
}
|
|
20
20
|
render() {
|
|
21
|
-
return h(Host, { key: '
|
|
21
|
+
return h(Host, { key: '38f3d2e7a3ae4e57ac1479436c143e6820d25cd2', onClick: this.onClick });
|
|
22
22
|
}
|
|
23
23
|
static get is() { return "ion-nav-link"; }
|
|
24
24
|
static get properties() {
|
|
@@ -11,9 +11,9 @@ import { getIonTheme } from "../../global/ionic-global";
|
|
|
11
11
|
export class Note {
|
|
12
12
|
render() {
|
|
13
13
|
const theme = getIonTheme(this);
|
|
14
|
-
return (h(Host, { key: '
|
|
14
|
+
return (h(Host, { key: '34a74796fc2e41549100c6611a5900d60c8d688d', class: createColorClasses(this.color, {
|
|
15
15
|
[theme]: true,
|
|
16
|
-
}) }, h("slot", { key: '
|
|
16
|
+
}) }, h("slot", { key: 'ea4c2e3b5666d10ca312e175db200134d8a30382' })));
|
|
17
17
|
}
|
|
18
18
|
static get is() { return "ion-note"; }
|
|
19
19
|
static get encapsulation() { return "shadow"; }
|
|
@@ -95,10 +95,10 @@ export class PickerColumnOption {
|
|
|
95
95
|
render() {
|
|
96
96
|
const { color, disabled, ariaLabel } = this;
|
|
97
97
|
const theme = getIonTheme(this);
|
|
98
|
-
return (h(Host, { key: '
|
|
98
|
+
return (h(Host, { key: '54c254f01017aa47aac76c0833f9ef04bf20bdc9', class: createColorClasses(color, {
|
|
99
99
|
[theme]: true,
|
|
100
100
|
['option-disabled']: disabled,
|
|
101
|
-
}) }, h("div", { key: '
|
|
101
|
+
}) }, h("div", { key: '36b21f1b7d9a5b05f0211ce8be90f66578641224', class: 'picker-column-option-button', role: "button", "aria-label": ariaLabel, onClick: () => this.onClick() }, h("slot", { key: '154bf9ca37ca1c6e5d34d42c16b04203e83210be' }))));
|
|
102
102
|
}
|
|
103
103
|
static get is() { return "ion-picker-column-option"; }
|
|
104
104
|
static get encapsulation() { return "shadow"; }
|
|
@@ -208,11 +208,11 @@ export class Picker {
|
|
|
208
208
|
render() {
|
|
209
209
|
const { htmlAttributes } = this;
|
|
210
210
|
const theme = getIonTheme(this);
|
|
211
|
-
return (h(Host, Object.assign({ key: '
|
|
211
|
+
return (h(Host, Object.assign({ key: 'b0c1fc8eee284f03c696f0c8aaa29f4a6d7be0be', "aria-modal": "true", tabindex: "-1" }, htmlAttributes, { style: {
|
|
212
212
|
zIndex: `${20000 + this.overlayIndex}`,
|
|
213
213
|
}, class: Object.assign({ [theme]: true,
|
|
214
214
|
// Used internally for styling
|
|
215
|
-
[`picker-${theme}`]: true, 'overlay-hidden': true }, getClassMap(this.cssClass)), onIonBackdropTap: this.onBackdropTap, onIonPickerWillDismiss: this.dispatchCancelHandler }), h("ion-backdrop", { key: '
|
|
215
|
+
[`picker-${theme}`]: true, 'overlay-hidden': true }, getClassMap(this.cssClass)), onIonBackdropTap: this.onBackdropTap, onIonPickerWillDismiss: this.dispatchCancelHandler }), h("ion-backdrop", { key: 'b56a9f94c7a95efc047d7be95e76ba3a2284801d', visible: this.showBackdrop, tappable: this.backdropDismiss }), h("div", { key: 'f134d49a3afcfd2a809147b55949cea43fc34462', tabindex: "0", "aria-hidden": "true" }), h("div", { key: '9ae98dc10164e182a13eaef2105894a717a03cc4', class: "picker-wrapper ion-overlay-wrapper", role: "dialog" }, h("div", { key: '96acad60c1214e13098282182fa855b19f0a386c', class: "picker-toolbar" }, this.buttons.map((b) => (h("div", { class: buttonWrapperClass(b) }, h("button", { type: "button", onClick: () => this.buttonClick(b), class: buttonClass(b) }, b.text))))), h("div", { key: 'af26cd644ed9bb50c22f06624da3726e7e60426f', class: "picker-columns" }, h("div", { key: 'c0d8bf724f7dc081c314bef61fa08894a75c657b', class: "picker-above-highlight" }), this.presented && this.columns.map((c) => h("ion-picker-legacy-column", { col: c })), h("div", { key: '7315333742b5b0c9533f30e5ce3dfc6ec9112dc1', class: "picker-below-highlight" }))), h("div", { key: '454546aaf27319ae7973e74063c0a026cfc88834', tabindex: "0", "aria-hidden": "true" })));
|
|
216
216
|
}
|
|
217
217
|
static get is() { return "ion-picker-legacy"; }
|
|
218
218
|
static get encapsulation() { return "scoped"; }
|
|
@@ -335,9 +335,9 @@ export class PickerColumnCmp {
|
|
|
335
335
|
render() {
|
|
336
336
|
const col = this.col;
|
|
337
337
|
const theme = getIonTheme(this);
|
|
338
|
-
return (h(Host, { key: '
|
|
338
|
+
return (h(Host, { key: '5751788e3b7ecd2fe269c096db883b0681646270', class: Object.assign({ [theme]: true, 'picker-col': true, 'picker-opts-left': this.col.align === 'left', 'picker-opts-right': this.col.align === 'right' }, getClassMap(col.cssClass)), style: {
|
|
339
339
|
'max-width': this.col.columnWidth,
|
|
340
|
-
} }, col.prefix && (h("div", { key: '
|
|
340
|
+
} }, col.prefix && (h("div", { key: '833f3309c8c77e1faa773f7eaa066516dfd51067', class: "picker-prefix", style: { width: col.prefixWidth } }, col.prefix)), h("div", { key: 'a39f38e60938e70425e4d7674f5e481885b6b548', class: "picker-opts", style: { maxWidth: col.optionsWidth }, ref: (el) => (this.optsEl = el) }, col.options.map((o, index) => (h("button", { "aria-label": o.ariaLabel, class: { 'picker-opt': true, 'picker-opt-disabled': !!o.disabled }, "opt-index": index }, o.text)))), col.suffix && (h("div", { key: 'a2f1e0eab834c85e84cee0a716eb1083aa6c7741', class: "picker-suffix", style: { width: col.suffixWidth } }, col.suffix))));
|
|
341
341
|
}
|
|
342
342
|
static get is() { return "ion-picker-legacy-column"; }
|
|
343
343
|
static get originalStyleUrls() {
|
|
@@ -468,9 +468,9 @@ export class Popover {
|
|
|
468
468
|
const { onLifecycle, parentPopover, dismissOnSelect, side, arrow, htmlAttributes, focusTrap } = this;
|
|
469
469
|
const desktop = isPlatform('desktop');
|
|
470
470
|
const enableArrow = arrow && !parentPopover;
|
|
471
|
-
return (h(Host, Object.assign({ key: '
|
|
471
|
+
return (h(Host, Object.assign({ key: '43128f8b7e57f08a451af1a237534d0517d86eda', "aria-modal": "true", "no-router": true, tabindex: "-1" }, htmlAttributes, { style: {
|
|
472
472
|
zIndex: `${20000 + this.overlayIndex}`,
|
|
473
|
-
}, 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: '
|
|
473
|
+
}, 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' })))));
|
|
474
474
|
}
|
|
475
475
|
static get is() { return "ion-popover"; }
|
|
476
476
|
static get encapsulation() { return "shadow"; }
|
|
@@ -57,7 +57,7 @@ export class ProgressBar {
|
|
|
57
57
|
const shape = this.getShape();
|
|
58
58
|
// If the progress is displayed as a solid bar.
|
|
59
59
|
const progressSolid = buffer === 1;
|
|
60
|
-
return (h(Host, { key: '
|
|
60
|
+
return (h(Host, { key: '0f6202e25d884fb85d18578769f6cfa5c704e9d9', role: "progressbar", "aria-valuenow": type === 'determinate' ? value : null, "aria-valuemin": "0", "aria-valuemax": "1", class: createColorClasses(color, {
|
|
61
61
|
[theme]: true,
|
|
62
62
|
[`progress-bar-${type}`]: true,
|
|
63
63
|
'progress-paused': paused,
|
|
@@ -139,7 +139,7 @@ export class Radio {
|
|
|
139
139
|
const { checked, disabled, color, el, justify, labelPlacement, hasLabel, buttonTabindex, alignment } = this;
|
|
140
140
|
const theme = getIonTheme(this);
|
|
141
141
|
const inItem = hostContext('ion-item', el);
|
|
142
|
-
return (h(Host, { key: '
|
|
142
|
+
return (h(Host, { key: '82127b11eac97fa45886179d248c8509ca07655a', onFocus: this.onFocus, onBlur: this.onBlur, onClick: this.onClick, class: createColorClasses(color, {
|
|
143
143
|
[theme]: true,
|
|
144
144
|
'in-item': inItem,
|
|
145
145
|
'radio-checked': checked,
|
|
@@ -150,10 +150,10 @@ export class Radio {
|
|
|
150
150
|
// Focus and active styling should not apply when the radio is in an item
|
|
151
151
|
'ion-activatable': !inItem,
|
|
152
152
|
'ion-focusable': !inItem,
|
|
153
|
-
}), role: "radio", "aria-checked": checked ? 'true' : 'false', "aria-disabled": disabled ? 'true' : null, tabindex: buttonTabindex }, h("label", { key: '
|
|
153
|
+
}), role: "radio", "aria-checked": checked ? 'true' : 'false', "aria-disabled": disabled ? 'true' : null, tabindex: buttonTabindex }, h("label", { key: '352c25ebdeeba01b85dc02b2108de988e9eb14a6', class: "radio-wrapper" }, h("div", { key: '8eca395a22199d24b376c57dd52eeaa91ba51c34', class: {
|
|
154
154
|
'label-text-wrapper': true,
|
|
155
155
|
'label-text-wrapper-hidden': !hasLabel,
|
|
156
|
-
}, part: "label" }, h("slot", { key: '
|
|
156
|
+
}, part: "label" }, h("slot", { key: '9c26b977843398be61f1b753251d8fe40d65702a' })), h("div", { key: '336b2d6aeb5e86dc1d994ac1eac52634f5da5b9c', class: "native-wrapper" }, this.renderRadioControl()))));
|
|
157
157
|
}
|
|
158
158
|
static get is() { return "ion-radio"; }
|
|
159
159
|
static get encapsulation() { return "shadow"; }
|
|
@@ -265,10 +265,10 @@ export class RadioGroup {
|
|
|
265
265
|
const { label, labelId, el, name, value } = this;
|
|
266
266
|
const theme = getIonTheme(this);
|
|
267
267
|
renderHiddenInput(true, el, name, value, false);
|
|
268
|
-
return (h(Host, { key: '
|
|
268
|
+
return (h(Host, { key: 'c8077cb16bcc6719fa2aba1a5a9cb139e0b81a9e', class: {
|
|
269
269
|
[theme]: true,
|
|
270
270
|
'in-list': hostContext('ion-list', el),
|
|
271
|
-
}, role: "radiogroup", "aria-labelledby": label ? labelId : null, "aria-describedby": this.hintTextId, "aria-invalid": this.isInvalid ? 'true' : undefined, onClick: this.onClick }, this.renderHintText(), h("slot", { key: '
|
|
271
|
+
}, role: "radiogroup", "aria-labelledby": label ? labelId : null, "aria-describedby": this.hintTextId, "aria-invalid": this.isInvalid ? 'true' : undefined, onClick: this.onClick }, this.renderHintText(), h("slot", { key: 'ddeca1867cb8e74121add7616f6be9e1a202c142' })));
|
|
272
272
|
}
|
|
273
273
|
static get is() { return "ion-radio-group"; }
|
|
274
274
|
static get encapsulation() { return "shadow"; }
|
|
@@ -773,7 +773,7 @@ export class Range {
|
|
|
773
773
|
const valueAtMin = dualKnobs ? this.valA === min || this.valB === min : this.valA === min;
|
|
774
774
|
const valueAtMax = dualKnobs ? this.valA === max || this.valB === max : this.valA === max;
|
|
775
775
|
renderHiddenInput(true, el, this.name, JSON.stringify(this.getValue()), disabled);
|
|
776
|
-
return (h(Host, { key: '
|
|
776
|
+
return (h(Host, { key: '6c11f7ad176a00ca5368be9ba46c29f6a9aa02bb', onFocusin: this.onFocus, onFocusout: this.onBlur, id: rangeId, class: createColorClasses(this.color, {
|
|
777
777
|
[theme]: true,
|
|
778
778
|
'in-item': inItem,
|
|
779
779
|
'range-disabled': disabled,
|
|
@@ -787,10 +787,10 @@ export class Range {
|
|
|
787
787
|
'range-item-end-adjustment': needsEndAdjustment,
|
|
788
788
|
'range-value-min': valueAtMin,
|
|
789
789
|
'range-value-max': valueAtMax,
|
|
790
|
-
}) }, h("label", { key: '
|
|
790
|
+
}) }, h("label", { key: '4ac202cf5fd17a9f69e288508e89cfe266a2c8f2', class: "range-wrapper", id: "range-label" }, h("div", { key: '1261d51ce247e066e5005f4aaa7b474ae0ddd421', class: {
|
|
791
791
|
'label-text-wrapper': true,
|
|
792
792
|
'label-text-wrapper-hidden': !hasLabel,
|
|
793
|
-
}, part: "label" }, label !== undefined ? h("div", { class: "label-text" }, label) : h("slot", { name: "label" })), h("div", { key: '
|
|
793
|
+
}, part: "label" }, label !== undefined ? h("div", { class: "label-text" }, label) : h("slot", { name: "label" })), h("div", { key: '4c09b153ab02c2c80b6197c2beb73c8cd1dc9348', class: "native-wrapper" }, h("slot", { key: 'a81e2e9a5442603f128fec3d1f15090615164abf', name: "start" }), this.renderRangeSlider(), h("slot", { key: 'ccc0a89eb6ce714e5b67893fb6845670a7857914', name: "end" })))));
|
|
794
794
|
}
|
|
795
795
|
static get is() { return "ion-range"; }
|
|
796
796
|
static get encapsulation() { return "shadow"; }
|
|
@@ -717,7 +717,7 @@ export class Refresher {
|
|
|
717
717
|
}
|
|
718
718
|
render() {
|
|
719
719
|
const theme = getIonTheme(this);
|
|
720
|
-
return (h(Host, { key: '
|
|
720
|
+
return (h(Host, { key: 'd2671f7850b565e7a6fc5b3ff15b2410bcf7cb32', slot: "fixed", class: {
|
|
721
721
|
[theme]: true,
|
|
722
722
|
// Used internally for styling
|
|
723
723
|
[`refresher-${theme}`]: true,
|
|
@@ -53,9 +53,9 @@ export class RefresherContent {
|
|
|
53
53
|
const hasSpinner = pullingIcon != null && SPINNERS[pullingIcon] !== undefined;
|
|
54
54
|
const theme = getIonTheme(this);
|
|
55
55
|
const arrowIcon = theme === 'ionic' ? caretLeftFill : caretBackSharp;
|
|
56
|
-
return (h(Host, { key: '
|
|
56
|
+
return (h(Host, { key: '684bf1189acba94c502e2bb421f0b65313c3e9f9', class: {
|
|
57
57
|
[theme]: true,
|
|
58
|
-
} }, h("div", { key: '
|
|
58
|
+
} }, h("div", { key: '29bfcc52d581913654f7639b0f669d149bf91026', class: "refresher-pulling" }, this.pullingIcon && hasSpinner && (h("div", { key: 'c5ddc5a3c22ec365906e8716cdbdb8cf793bb978', class: "refresher-pulling-icon" }, h("div", { key: '4314fff1f89758c81de7d908be2eaae81e8d9fb8', class: "spinner-arrow-container" }, h("ion-spinner", { key: 'cea2bc74fd42c35ec6d6349f033830e745c9e99b', name: this.pullingIcon, paused: true }), (theme === 'md' || theme === 'ionic') && this.pullingIcon === 'circular' && (h("div", { key: 'bfd43614c33fa6e83f67ac95022db5343af160d6', class: "arrow-container" }, h("ion-icon", { key: '64f48d15dc2c17cbeb177f28272477ee8535136b', icon: arrowIcon, "aria-hidden": "true" })))))), this.pullingIcon && !hasSpinner && (h("div", { key: '6f540e79e981a923050f57167aff8da92bfe8990', class: "refresher-pulling-icon" }, h("ion-icon", { key: '97b0755e0f240ec199b408a9cfef9fc48b481a68', icon: this.pullingIcon, lazy: false, "aria-hidden": "true" }))), this.pullingText !== undefined && this.renderPullingText()), h("div", { key: '1cd2a284b786fa94272f88659942ff15a7344f66', class: "refresher-refreshing" }, this.refreshingSpinner && (h("div", { key: '722aea4deaef0b014f49ce61a4a81ef219d0b101', class: "refresher-refreshing-icon" }, h("ion-spinner", { key: '8152f4fe27037c4f34918e515ac460c1f03240d5', name: this.refreshingSpinner }))), this.refreshingText !== undefined && this.renderRefreshingText())));
|
|
59
59
|
}
|
|
60
60
|
static get is() { return "ion-refresher-content"; }
|
|
61
61
|
static get originalStyleUrls() {
|
|
@@ -43,9 +43,9 @@ export class Reorder {
|
|
|
43
43
|
render() {
|
|
44
44
|
const { reorderHandleIcon } = this;
|
|
45
45
|
const theme = getIonTheme(this);
|
|
46
|
-
return (h(Host, { key: '
|
|
46
|
+
return (h(Host, { key: '2a30643d0c5dbebab97a7aca68c165ee79ceed33', class: {
|
|
47
47
|
[theme]: true,
|
|
48
|
-
} }, h("slot", { key: '
|
|
48
|
+
} }, h("slot", { key: '9ac45a0cc21aea6ed0ec03aa12334886219b1051' }, h("ion-icon", { key: '6d6789a718db4f252c6b3b4484148be2a65c80b8', icon: reorderHandleIcon, lazy: false, class: "reorder-icon", part: "icon", "aria-hidden": "true" }))));
|
|
49
49
|
}
|
|
50
50
|
static get is() { return "ion-reorder"; }
|
|
51
51
|
static get encapsulation() { return "shadow"; }
|
|
@@ -257,7 +257,7 @@ export class ReorderGroup {
|
|
|
257
257
|
}
|
|
258
258
|
render() {
|
|
259
259
|
const theme = getIonTheme(this);
|
|
260
|
-
return (h(Host, { key: '
|
|
260
|
+
return (h(Host, { key: 'f618089290a47bae34bcaaed968c3f8f4daa827f', class: {
|
|
261
261
|
[theme]: true,
|
|
262
262
|
'reorder-enabled': !this.disabled,
|
|
263
263
|
'reorder-list-active': this.state !== 0 /* ReorderGroupState.Idle */,
|
|
@@ -72,7 +72,7 @@ export class RippleEffect {
|
|
|
72
72
|
}
|
|
73
73
|
render() {
|
|
74
74
|
const theme = getIonTheme(this);
|
|
75
|
-
return (h(Host, { key: '
|
|
75
|
+
return (h(Host, { key: 'f4db39623cfd1bdc773e222b2dd9ed52a26cc685', role: "presentation", class: {
|
|
76
76
|
[theme]: true,
|
|
77
77
|
unbounded: this.unbounded,
|
|
78
78
|
} }));
|
|
@@ -26,10 +26,10 @@ export class RouterLink {
|
|
|
26
26
|
rel: this.rel,
|
|
27
27
|
target: this.target,
|
|
28
28
|
};
|
|
29
|
-
return (h(Host, { key: '
|
|
29
|
+
return (h(Host, { key: '989574921f3bf06e4e5ad4e98ea3cce2e5c7165e', onClick: this.onClick, class: createColorClasses(this.color, {
|
|
30
30
|
[theme]: true,
|
|
31
31
|
'ion-activatable': true,
|
|
32
|
-
}) }, h("a", Object.assign({ key: '
|
|
32
|
+
}) }, h("a", Object.assign({ key: 'ee72dba91cc13ca4f251ba6bb5a8b7bf54b6f88d' }, attrs), h("slot", { key: '8e8b5afd795bb213b8765f731463e0588799b001' }))));
|
|
33
33
|
}
|
|
34
34
|
static get is() { return "ion-router-link"; }
|
|
35
35
|
static get encapsulation() { return "shadow"; }
|
|
@@ -184,7 +184,7 @@ export class RouterOutlet {
|
|
|
184
184
|
return true;
|
|
185
185
|
}
|
|
186
186
|
render() {
|
|
187
|
-
return h("slot", { key: '
|
|
187
|
+
return h("slot", { key: 'f59dfdc11831ed91f5f7d8147cdc14f3c07bc289' });
|
|
188
188
|
}
|
|
189
189
|
static get is() { return "ion-router-outlet"; }
|
|
190
190
|
static get encapsulation() { return "shadow"; }
|
|
@@ -10,9 +10,9 @@ import { getIonTheme } from "../../global/ionic-global";
|
|
|
10
10
|
export class Row {
|
|
11
11
|
render() {
|
|
12
12
|
const theme = getIonTheme(this);
|
|
13
|
-
return (h(Host, { key: '
|
|
13
|
+
return (h(Host, { key: '64ff6346d95be8d99d6500a6263067081f3fe254', class: {
|
|
14
14
|
[theme]: true,
|
|
15
|
-
} }, h("slot", { key: '
|
|
15
|
+
} }, h("slot", { key: 'e9b4c111f3a49515a721bf679ef2f1a039c9822a' })));
|
|
16
16
|
}
|
|
17
17
|
static get is() { return "ion-row"; }
|
|
18
18
|
static get encapsulation() { return "shadow"; }
|
|
@@ -542,8 +542,8 @@ export class Searchbar {
|
|
|
542
542
|
const shouldShowCancelButton = this.shouldShowCancelButton();
|
|
543
543
|
const shape = this.getShape();
|
|
544
544
|
const size = this.getSize();
|
|
545
|
-
const cancelButton = this.showCancelButton !== 'never' && (h("button", { key: '
|
|
546
|
-
return (h(Host, { key: '
|
|
545
|
+
const cancelButton = this.showCancelButton !== 'never' && (h("button", { key: '9b71660f86c93ab8e1c4bca45a778584b1473a48', "aria-label": cancelButtonText, "aria-hidden": shouldShowCancelButton ? undefined : 'true', type: "button", tabIndex: theme === 'ios' && !shouldShowCancelButton ? -1 : undefined, onMouseDown: this.onCancelSearchbar, onTouchStart: this.onCancelSearchbar, class: "searchbar-cancel-button" }, h("div", { key: '27c4121c6b49906b2a9c225bd7ba9ab2a41e4292', "aria-hidden": "true" }, theme === 'md' || theme === 'ionic' ? (h("ion-icon", { "aria-hidden": "true", icon: searchbarCancelIcon, lazy: false })) : (cancelButtonText))));
|
|
546
|
+
return (h(Host, { key: 'd5fc37533478d088fd40697b21cffc8f9c673add', role: "search", "aria-disabled": this.disabled ? 'true' : null, class: createColorClasses(this.color, {
|
|
547
547
|
[theme]: true,
|
|
548
548
|
'searchbar-animated': animated,
|
|
549
549
|
'searchbar-disabled': this.disabled,
|
|
@@ -557,14 +557,14 @@ export class Searchbar {
|
|
|
557
557
|
[`searchbar-shape-${shape}`]: shape !== undefined,
|
|
558
558
|
[`searchbar-size-${size}`]: size !== undefined,
|
|
559
559
|
'in-toolbar': hostContext('ion-toolbar', this.el),
|
|
560
|
-
}) }, h("div", { key: '
|
|
560
|
+
}) }, h("div", { key: 'b7e0dbfa02f9ea4db7eb01cb293d81d4a54e23d2', class: "searchbar-input-container" }, h("input", Object.assign({ key: '3b790197d1f8bad980086ebd898cb2487d56ea24', "aria-label": "search text", disabled: this.disabled, ref: (el) => (this.nativeInput = el), class: "searchbar-input", inputMode: this.inputmode, enterKeyHint: this.enterkeyhint, name: this.name, onInput: this.onInput, onChange: this.onChange, onBlur: this.onBlur, onFocus: this.onFocus, minLength: this.minlength, maxLength: this.maxlength, placeholder: this.placeholder, type: this.type, value: this.getValue(), autoCapitalize: autocapitalize === 'default' ? undefined : autocapitalize, autoComplete: this.autocomplete, autoCorrect: this.autocorrect, spellcheck: this.spellcheck }, this.inheritedAttributes)), (theme === 'md' || theme === 'ionic') && cancelButton, this.shouldShowSearchIcon() && (h("ion-icon", { key: 'fce3e3510516d768d8b51a6334cf9d9ac934345e', "aria-hidden": "true", icon: searchbarSearchIcon, lazy: false, class: "searchbar-search-icon" })), this.shouldShowClearButton() && (h("button", { key: 'b47cb7c79fd07e44f2273e55782a784f6d567155', "aria-label": "reset", type: "button", "no-blur": true, class: "searchbar-clear-button", onPointerDown: (ev) => {
|
|
561
561
|
/**
|
|
562
562
|
* This prevents mobile browsers from
|
|
563
563
|
* blurring the input when the clear
|
|
564
564
|
* button is activated.
|
|
565
565
|
*/
|
|
566
566
|
ev.preventDefault();
|
|
567
|
-
}, onClick: () => this.onClearInput(true) }, h("ion-icon", { key: '
|
|
567
|
+
}, onClick: () => this.onClearInput(true) }, h("ion-icon", { key: '6d4f026bd1fde68d43c4e49531ca7b1689590e80', "aria-hidden": "true", icon: searchbarClearIcon, lazy: false, class: "searchbar-clear-icon" })))), theme === 'ios' && cancelButton));
|
|
568
568
|
}
|
|
569
569
|
static get is() { return "ion-searchbar"; }
|
|
570
570
|
static get encapsulation() { return "scoped"; }
|
|
@@ -548,14 +548,14 @@ export class Segment {
|
|
|
548
548
|
}
|
|
549
549
|
render() {
|
|
550
550
|
const theme = getIonTheme(this);
|
|
551
|
-
return (h(Host, { key: '
|
|
551
|
+
return (h(Host, { key: '2c0631392507f2e903670070232029928470bf11', role: "tablist", onClick: this.onClick, class: createColorClasses(this.color, {
|
|
552
552
|
[theme]: true,
|
|
553
553
|
'in-toolbar': hostContext('ion-toolbar', this.el),
|
|
554
554
|
'in-toolbar-color': hostContext('ion-toolbar[color]', this.el),
|
|
555
555
|
'segment-activated': this.activated,
|
|
556
556
|
'segment-disabled': this.disabled,
|
|
557
557
|
'segment-scrollable': this.scrollable,
|
|
558
|
-
}) }, h("slot", { key: '
|
|
558
|
+
}) }, h("slot", { key: 'ed99c28b8976c4d51ad12089680cb8fb51d835a7', onSlotchange: this.onSlottedItemsChange })));
|
|
559
559
|
}
|
|
560
560
|
static get is() { return "ion-segment"; }
|
|
561
561
|
static get encapsulation() { return "shadow"; }
|