@ionic/core 8.7.6-dev.11762424095.164a4ffe → 8.7.6-dev.11762446926.123acdf7
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/button.js +1 -1
- package/components/checkbox.js +3 -3
- package/components/content.js +3 -3
- package/components/header.js +2 -2
- package/components/ion-card-content.js +7 -8
- package/components/ion-card-header.js +2 -2
- package/components/ion-card-subtitle.js +2 -2
- package/components/ion-card-title.js +2 -2
- package/components/ion-chip.js +2 -2
- package/components/ion-col.js +2 -2
- package/components/ion-datetime-button.js +2 -2
- package/components/ion-datetime.js +2 -2
- package/components/ion-divider.js +2 -2
- package/components/ion-fab-button.js +2 -2
- package/components/ion-fab-list.js +2 -2
- package/components/ion-fab.js +2 -2
- package/components/ion-footer.js +2 -2
- package/components/ion-grid.js +2 -2
- package/components/ion-img.js +2 -2
- package/components/ion-infinite-scroll-content.js +2 -2
- package/components/ion-infinite-scroll.js +1 -1
- package/components/ion-input-otp.js +3 -3
- package/components/ion-input-password-toggle.js +3 -3
- package/components/ion-input.js +4 -4
- package/components/ion-item-divider.js +2 -2
- package/components/ion-item-group.js +1 -1
- package/components/ion-item-option.js +2 -2
- package/components/ion-item-options.js +1 -1
- package/components/ion-item-sliding.js +1 -1
- package/components/ion-loading.js +2 -2
- package/components/ion-menu-button.js +2 -2
- package/components/ion-menu-toggle.js +2 -2
- package/components/ion-menu.js +2 -2
- package/components/ion-nav-link.js +1 -1
- package/components/ion-nav.js +1 -1
- package/components/ion-note.js +2 -2
- package/components/ion-picker-legacy.js +2 -2
- package/components/ion-progress-bar.js +1 -1
- package/components/ion-range.js +3 -3
- package/components/ion-refresher-content.js +2 -2
- package/components/ion-refresher.js +1 -1
- package/components/ion-reorder-group.js +1 -1
- package/components/ion-reorder.js +2 -2
- package/components/ion-router-link.js +2 -2
- package/components/ion-router-outlet.js +1 -1
- package/components/ion-row.js +2 -2
- package/components/ion-searchbar.js +4 -4
- package/components/ion-segment-button.js +2 -2
- package/components/ion-segment-content.js +1 -1
- package/components/ion-segment-view.js +2 -2
- package/components/ion-segment.js +2 -2
- package/components/ion-select-option.js +1 -1
- package/components/ion-select.js +3 -3
- package/components/ion-skeleton-text.js +2 -2
- package/components/ion-split-pane.js +2 -2
- package/components/ion-tab-bar.js +2 -2
- package/components/ion-tab-button.js +2 -2
- package/components/ion-tab.js +2 -2
- package/components/ion-tabs.js +1 -1
- package/components/ion-text.js +2 -2
- package/components/ion-textarea.js +3 -3
- package/components/ion-thumbnail.js +2 -2
- package/components/ion-toast.js +2 -2
- package/components/ion-toggle.js +3 -3
- package/components/label.js +2 -2
- package/components/list-header.js +2 -2
- package/components/list.js +1 -1
- package/components/modal.js +5 -5
- package/components/picker-column-option.js +2 -2
- package/components/picker-column.js +3 -3
- package/components/picker-column2.js +2 -2
- package/components/picker.js +2 -2
- package/components/popover.js +2 -2
- package/components/radio-group.js +2 -2
- package/components/radio.js +3 -3
- package/components/ripple-effect.js +1 -1
- package/components/select-modal.js +3 -10
- package/components/select-popover.js +2 -2
- package/components/spinner.js +1 -1
- package/components/title.js +2 -2
- package/components/toolbar.js +2 -2
- package/css/core.css +1 -1
- package/css/core.css.map +1 -1
- package/css/ionic.bundle.css +1 -1
- package/css/ionic.bundle.css.map +1 -1
- package/dist/cjs/ion-app_8.cjs.entry.js +12 -12
- package/dist/cjs/ion-avatar_3.cjs.entry.js +2 -2
- package/dist/cjs/ion-button_2.cjs.entry.js +1 -1
- package/dist/cjs/ion-card_5.cjs.entry.js +11 -13
- package/dist/cjs/ion-checkbox.cjs.entry.js +3 -3
- package/dist/cjs/ion-chip.cjs.entry.js +2 -2
- package/dist/cjs/ion-col_3.cjs.entry.js +6 -6
- package/dist/cjs/ion-datetime-button.cjs.entry.js +2 -2
- package/dist/cjs/ion-datetime_3.cjs.entry.js +6 -6
- package/dist/cjs/ion-divider.cjs.entry.js +2 -2
- package/dist/cjs/ion-fab_3.cjs.entry.js +6 -6
- 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 +2 -2
- package/dist/cjs/ion-menu_3.cjs.entry.js +6 -6
- 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-picker-column.cjs.entry.js +3 -3
- package/dist/cjs/ion-picker.cjs.entry.js +2 -2
- package/dist/cjs/ion-popover.cjs.entry.js +2 -2
- 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 -9
- package/dist/cjs/ion-select_3.cjs.entry.js +6 -6
- 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 +2 -2
- 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/collection/components/button/button.ionic.css +6 -22
- package/dist/collection/components/card-content/card-content.ionic.css +4 -7
- package/dist/collection/components/card-content/card-content.ios.css +14 -14
- package/dist/collection/components/card-content/card-content.js +3 -4
- package/dist/collection/components/card-content/card-content.md.css +14 -14
- package/dist/collection/components/card-header/card-header.js +2 -2
- package/dist/collection/components/card-subtitle/card-subtitle.js +2 -2
- package/dist/collection/components/card-title/card-title.js +2 -2
- package/dist/collection/components/checkbox/checkbox.js +3 -3
- package/dist/collection/components/chip/chip.js +2 -2
- package/dist/collection/components/col/col.js +2 -2
- package/dist/collection/components/content/content.js +3 -3
- package/dist/collection/components/datetime/datetime.js +2 -2
- package/dist/collection/components/datetime-button/datetime-button.js +2 -2
- package/dist/collection/components/divider/divider.js +2 -2
- package/dist/collection/components/fab/fab.js +2 -2
- package/dist/collection/components/fab-button/fab-button.js +2 -2
- package/dist/collection/components/fab-list/fab-list.js +2 -2
- package/dist/collection/components/footer/footer.js +2 -2
- 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.ionic.css +0 -6
- 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/picker.js +2 -2
- package/dist/collection/components/picker-column/picker-column.js +3 -3
- 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.ionic.css +0 -4
- package/dist/collection/components/select-modal/select-modal.js +2 -9
- 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/docs.json +2 -2
- package/dist/esm/ion-app_8.entry.js +12 -12
- package/dist/esm/ion-avatar_3.entry.js +2 -2
- package/dist/esm/ion-button_2.entry.js +1 -1
- package/dist/esm/ion-card_5.entry.js +11 -13
- package/dist/esm/ion-checkbox.entry.js +3 -3
- package/dist/esm/ion-chip.entry.js +2 -2
- package/dist/esm/ion-col_3.entry.js +6 -6
- package/dist/esm/ion-datetime-button.entry.js +2 -2
- package/dist/esm/ion-datetime_3.entry.js +6 -6
- package/dist/esm/ion-divider.entry.js +2 -2
- package/dist/esm/ion-fab_3.entry.js +6 -6
- 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 +2 -2
- package/dist/esm/ion-menu_3.entry.js +6 -6
- 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-picker-column.entry.js +3 -3
- package/dist/esm/ion-picker.entry.js +2 -2
- package/dist/esm/ion-popover.entry.js +2 -2
- 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 +3 -10
- package/dist/esm/ion-select_3.entry.js +6 -6
- 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 +2 -2
- 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/ionic/ionic.esm.js +1 -1
- package/dist/ionic/{p-16c5a01c.entry.js → p-03d25ce5.entry.js} +1 -1
- package/dist/ionic/{p-ecc8aebb.entry.js → p-15e5d054.entry.js} +1 -1
- package/dist/ionic/{p-90320028.entry.js → p-1a920cdb.entry.js} +1 -1
- package/dist/ionic/{p-88ef6829.entry.js → p-21aee5b7.entry.js} +1 -1
- package/dist/ionic/{p-17b4e51e.entry.js → p-22c02aea.entry.js} +1 -1
- package/dist/ionic/{p-56a9319e.entry.js → p-2dfbae3f.entry.js} +1 -1
- package/dist/ionic/{p-844bd58c.entry.js → p-2e9373ba.entry.js} +1 -1
- package/dist/ionic/{p-59e6c978.entry.js → p-325c3304.entry.js} +1 -1
- package/dist/ionic/p-43d72b76.entry.js +4 -0
- package/dist/ionic/p-48b1b019.entry.js +4 -0
- package/dist/ionic/{p-db90b95a.entry.js → p-49217750.entry.js} +1 -1
- package/dist/ionic/{p-3622a9ea.entry.js → p-493b739a.entry.js} +1 -1
- package/dist/ionic/{p-f3de58bd.entry.js → p-4e349265.entry.js} +1 -1
- package/dist/ionic/{p-2bab0853.entry.js → p-5121535d.entry.js} +1 -1
- package/dist/ionic/{p-83a116e6.entry.js → p-5c4a86bc.entry.js} +1 -1
- package/dist/ionic/{p-9bee2bdd.entry.js → p-5c76d65d.entry.js} +1 -1
- package/dist/ionic/p-5feb1aec.entry.js +4 -0
- package/dist/ionic/{p-dcfb2b1d.entry.js → p-67bb35ab.entry.js} +1 -1
- package/dist/ionic/{p-64385b66.entry.js → p-687242ec.entry.js} +1 -1
- package/dist/ionic/{p-127ae3b5.entry.js → p-6afa042a.entry.js} +1 -1
- package/dist/ionic/{p-a57c0cce.entry.js → p-6b13c6c1.entry.js} +1 -1
- package/dist/ionic/{p-418e4330.entry.js → p-6e079661.entry.js} +1 -1
- package/dist/ionic/{p-66397fac.entry.js → p-75c553c0.entry.js} +1 -1
- package/dist/ionic/{p-3a6a92ab.entry.js → p-77da86d1.entry.js} +1 -1
- package/dist/ionic/{p-4261dc5d.entry.js → p-875e46fd.entry.js} +1 -1
- package/dist/ionic/{p-2e19a4dd.entry.js → p-89346674.entry.js} +1 -1
- package/dist/ionic/p-8d1ebcd0.entry.js +4 -0
- package/dist/ionic/{p-86b82096.entry.js → p-9978eeb9.entry.js} +1 -1
- package/dist/ionic/p-9a31abcd.entry.js +4 -0
- package/dist/ionic/{p-7d450184.entry.js → p-9a80a61f.entry.js} +1 -1
- package/dist/ionic/{p-b2291ef0.entry.js → p-9d649ff0.entry.js} +1 -1
- package/dist/ionic/{p-c775e3c0.entry.js → p-a2583cce.entry.js} +1 -1
- package/dist/ionic/{p-a1128f7f.entry.js → p-a3299f26.entry.js} +1 -1
- package/dist/ionic/{p-91966afa.entry.js → p-a61d1f23.entry.js} +1 -1
- package/dist/ionic/{p-e9dd8600.entry.js → p-a98829dd.entry.js} +1 -1
- package/dist/ionic/{p-b26aeaf8.entry.js → p-ad8f157e.entry.js} +1 -1
- package/dist/ionic/{p-28571945.entry.js → p-b2951be0.entry.js} +1 -1
- package/dist/ionic/{p-c2f738d2.entry.js → p-b5d51634.entry.js} +1 -1
- package/dist/ionic/{p-87678140.entry.js → p-c1448dbf.entry.js} +1 -1
- package/dist/ionic/{p-81770a5c.entry.js → p-cc3ec408.entry.js} +1 -1
- package/dist/ionic/p-ce61e4b4.entry.js +4 -0
- package/dist/ionic/{p-23e4b68a.entry.js → p-eadd22a8.entry.js} +1 -1
- package/dist/ionic/{p-e28d6a81.entry.js → p-eef5cef8.entry.js} +1 -1
- package/dist/ionic/{p-59a79bd9.entry.js → p-efefd9cd.entry.js} +1 -1
- package/dist/ionic/{p-6fac73e6.entry.js → p-f20f9e12.entry.js} +1 -1
- package/dist/ionic/p-f33349c8.entry.js +4 -0
- package/dist/ionic/{p-642b022d.entry.js → p-f62d555b.entry.js} +1 -1
- package/dist/types/components/select-modal/select-modal.d.ts +0 -1
- package/hydrate/index.js +166 -175
- package/hydrate/index.mjs +166 -175
- package/package.json +1 -1
- package/dist/ionic/p-3cb3d194.entry.js +0 -4
- package/dist/ionic/p-6f75cbe0.entry.js +0 -4
- package/dist/ionic/p-89743bba.entry.js +0 -4
- package/dist/ionic/p-ce510c06.entry.js +0 -4
- package/dist/ionic/p-cea1ee31.entry.js +0 -4
- package/dist/ionic/p-d1c60c1c.entry.js +0 -4
- package/dist/ionic/p-ec02238a.entry.js +0 -4
|
@@ -342,11 +342,11 @@ export class DatetimeButton {
|
|
|
342
342
|
render() {
|
|
343
343
|
const { color, dateText, timeText, selectedButton, datetimeActive, disabled } = this;
|
|
344
344
|
const theme = getIonTheme(this);
|
|
345
|
-
return (h(Host, { key: '
|
|
345
|
+
return (h(Host, { key: '3051e96ef973302ba87c85515660c48b8136cba2', class: createColorClasses(color, {
|
|
346
346
|
[theme]: true,
|
|
347
347
|
[`${selectedButton}-active`]: datetimeActive,
|
|
348
348
|
['datetime-button-disabled']: disabled,
|
|
349
|
-
}) }, dateText && (h("button", { key: '
|
|
349
|
+
}) }, dateText && (h("button", { key: 'e3d968bcf0e7c1911bb16076123ffc1daeee62ed', class: "ion-activatable", id: "date-button", "aria-expanded": datetimeActive ? 'true' : 'false', onClick: this.handleDateClick, disabled: disabled, part: "native", ref: (el) => (this.dateTargetEl = el) }, h("slot", { key: 'cdf1f60a0e42cd32633563c8256a1132798e47a1', name: "date-target" }, dateText), theme === 'md' && h("ion-ripple-effect", { key: '2284ac36fd7522a6a2e9f7f906b2e94c48680045' }))), timeText && (h("button", { key: 'e591b668ffd90538716082a3648a50422c24a7c1', class: "ion-activatable", id: "time-button", "aria-expanded": datetimeActive ? 'true' : 'false', onClick: this.handleTimeClick, disabled: disabled, part: "native", ref: (el) => (this.timeTargetEl = el) }, h("slot", { key: '5ef09df0f59663bf2437d05e16ef9d1f05ba25bd', name: "time-target" }, timeText), theme === 'md' && h("ion-ripple-effect", { key: 'a7b5de6e3d0df722cc62abf0e8a1140463af35b5' })))));
|
|
350
350
|
}
|
|
351
351
|
static get is() { return "ion-datetime-button"; }
|
|
352
352
|
static get encapsulation() { return "shadow"; }
|
|
@@ -25,11 +25,11 @@ export class Divider {
|
|
|
25
25
|
render() {
|
|
26
26
|
const { inset, spacing } = this;
|
|
27
27
|
const theme = getIonTheme(this);
|
|
28
|
-
return (h(Host, { key: '
|
|
28
|
+
return (h(Host, { key: '6cc1572a93abaf49be7e27348bf513cb7ee24bff', class: {
|
|
29
29
|
[theme]: true,
|
|
30
30
|
[`divider-spacing-${spacing}`]: spacing !== undefined,
|
|
31
31
|
[`divider-inset`]: inset,
|
|
32
|
-
} }, h("hr", { key: '
|
|
32
|
+
} }, h("hr", { key: '19e4cef3f90d92b56ae0bece15dbdcfbf18d72d9' })));
|
|
33
33
|
}
|
|
34
34
|
static get is() { return "ion-divider"; }
|
|
35
35
|
static get encapsulation() { return "shadow"; }
|
|
@@ -58,12 +58,12 @@ export class Fab {
|
|
|
58
58
|
render() {
|
|
59
59
|
const { horizontal, vertical, edge } = this;
|
|
60
60
|
const theme = getIonTheme(this);
|
|
61
|
-
return (h(Host, { key: '
|
|
61
|
+
return (h(Host, { key: '569b07978a63756169d050f3b67368cecf26dd98', class: {
|
|
62
62
|
[theme]: true,
|
|
63
63
|
[`fab-horizontal-${horizontal}`]: horizontal !== undefined,
|
|
64
64
|
[`fab-vertical-${vertical}`]: vertical !== undefined,
|
|
65
65
|
'fab-edge': edge,
|
|
66
|
-
} }, h("slot", { key: '
|
|
66
|
+
} }, h("slot", { key: 'cd10d4baa1c2e8c2dcfefe66bdb7ffb8262f8e17' })));
|
|
67
67
|
}
|
|
68
68
|
static get is() { return "ion-fab"; }
|
|
69
69
|
static get encapsulation() { return "shadow"; }
|
|
@@ -96,7 +96,7 @@ export class FabButton {
|
|
|
96
96
|
rel: this.rel,
|
|
97
97
|
target: this.target,
|
|
98
98
|
};
|
|
99
|
-
return (h(Host, { key: '
|
|
99
|
+
return (h(Host, { key: '7d1b93dbec8f6b974db63168c55353b93ff169aa', onClick: this.onClick, "aria-disabled": disabled ? 'true' : null, class: createColorClasses(color, {
|
|
100
100
|
[theme]: true,
|
|
101
101
|
'fab-button-in-list': inList,
|
|
102
102
|
'fab-button-translucent-in-list': inList && translucent,
|
|
@@ -107,7 +107,7 @@ export class FabButton {
|
|
|
107
107
|
'ion-activatable': true,
|
|
108
108
|
'ion-focusable': true,
|
|
109
109
|
[`fab-button-${size}`]: size !== undefined,
|
|
110
|
-
}) }, h(TagType, Object.assign({ key: '
|
|
110
|
+
}) }, h(TagType, Object.assign({ key: 'cac887802056b25fee955e272febdb41745c731c' }, attrs, { class: "button-native", part: "native", disabled: disabled, onFocus: this.onFocus, onBlur: this.onBlur, onClick: (ev) => openURL(href, ev, this.routerDirection, this.routerAnimation) }, inheritedAttributes), h("ion-icon", { key: 'c5a932c45ec7ff131d484463203275210cdc5b3a', "aria-hidden": "true", icon: fabButtonCloseIcon, part: "close-icon", class: "close-icon", lazy: false }), h("span", { key: 'bf8f5208c941dc3ddc2b719dbb2f2cf999e2b6a8', class: "button-inner" }, h("slot", { key: '213ca4696b7072ef2dfee806d11d8ddd26abf7af' })), theme === 'md' && h("ion-ripple-effect", { key: 'a2947193263e8ef97eccb15de9f5aa937e87086b' }))));
|
|
111
111
|
}
|
|
112
112
|
static get is() { return "ion-fab-button"; }
|
|
113
113
|
static get encapsulation() { return "shadow"; }
|
|
@@ -28,11 +28,11 @@ export class FabList {
|
|
|
28
28
|
}
|
|
29
29
|
render() {
|
|
30
30
|
const theme = getIonTheme(this);
|
|
31
|
-
return (h(Host, { key: '
|
|
31
|
+
return (h(Host, { key: '8b4d0419170ba48e5d9d1152dcae2b35281cd800', class: {
|
|
32
32
|
[theme]: true,
|
|
33
33
|
'fab-list-active': this.activated,
|
|
34
34
|
[`fab-list-side-${this.side}`]: true,
|
|
35
|
-
} }, h("slot", { key: '
|
|
35
|
+
} }, h("slot", { key: '9276798e2c581440c46ff9914809e87203a86b1b' })));
|
|
36
36
|
}
|
|
37
37
|
static get is() { return "ion-fab-list"; }
|
|
38
38
|
static get encapsulation() { return "shadow"; }
|
|
@@ -90,7 +90,7 @@ export class Footer {
|
|
|
90
90
|
const theme = getIonTheme(this);
|
|
91
91
|
const tabs = this.el.closest('ion-tabs');
|
|
92
92
|
const tabBar = tabs === null || tabs === void 0 ? void 0 : tabs.querySelector(':scope > ion-tab-bar');
|
|
93
|
-
return (h(Host, { key: '
|
|
93
|
+
return (h(Host, { key: '5b61216dcb168a45472e037f9015c5e0f5bf7356', role: "contentinfo", class: {
|
|
94
94
|
[theme]: true,
|
|
95
95
|
// Used internally for styling
|
|
96
96
|
[`footer-${theme}`]: true,
|
|
@@ -98,7 +98,7 @@ export class Footer {
|
|
|
98
98
|
[`footer-translucent-${theme}`]: translucent,
|
|
99
99
|
['footer-toolbar-padding']: !this.keyboardVisible && (!tabBar || tabBar.slot !== 'bottom'),
|
|
100
100
|
[`footer-collapse-${collapse}`]: collapse !== undefined,
|
|
101
|
-
} }, theme === 'ios' && translucent && h("div", { key: '
|
|
101
|
+
} }, theme === 'ios' && translucent && h("div", { key: 'a6af70930e7be3ec51fe692d664304ced53ffe3e', class: "footer-background" }), h("slot", { key: '3591c712d6a3eceb5dc6c7307c32ceff54b1f9a7' })));
|
|
102
102
|
}
|
|
103
103
|
static get is() { return "ion-footer"; }
|
|
104
104
|
static get originalStyleUrls() {
|
|
@@ -16,10 +16,10 @@ export class Grid {
|
|
|
16
16
|
}
|
|
17
17
|
render() {
|
|
18
18
|
const theme = getIonTheme(this);
|
|
19
|
-
return (h(Host, { key: '
|
|
19
|
+
return (h(Host, { key: 'cd55886cabaeab57e3b13193381b196bec2f07f8', class: {
|
|
20
20
|
[theme]: true,
|
|
21
21
|
'grid-fixed': this.fixed,
|
|
22
|
-
} }, h("slot", { key: '
|
|
22
|
+
} }, h("slot", { key: 'c9b95999e6a274a8a0c997451c0be45b1304d77b' })));
|
|
23
23
|
}
|
|
24
24
|
static get is() { return "ion-grid"; }
|
|
25
25
|
static get encapsulation() { return "shadow"; }
|
|
@@ -155,7 +155,7 @@ export class Header {
|
|
|
155
155
|
const collapse = this.collapse || 'none';
|
|
156
156
|
// banner role must be at top level, so remove role if inside a menu
|
|
157
157
|
const roleType = hostContext('ion-menu', this.el) ? 'none' : 'banner';
|
|
158
|
-
return (h(Host, Object.assign({ key: '
|
|
158
|
+
return (h(Host, Object.assign({ key: '6a3ad0b3da7b27c42f96a9a7e2d2380406bfa604', role: roleType, class: {
|
|
159
159
|
[theme]: true,
|
|
160
160
|
// Used internally for styling
|
|
161
161
|
[`header-${theme}`]: true,
|
|
@@ -163,7 +163,7 @@ export class Header {
|
|
|
163
163
|
[`header-collapse-${collapse}`]: true,
|
|
164
164
|
[`header-translucent-${theme}`]: this.translucent,
|
|
165
165
|
['header-divider']: divider,
|
|
166
|
-
} }, inheritedAttributes), theme !== 'md' && translucent && h("div", { key: '
|
|
166
|
+
} }, inheritedAttributes), theme !== 'md' && translucent && h("div", { key: 'c0464df06d745da49d3163837180b21ec9fc2bdb', class: "header-background" }), h("slot", { key: '304859e675c67154563afb85c8e9358a8a6fb27b' })));
|
|
167
167
|
}
|
|
168
168
|
static get is() { return "ion-header"; }
|
|
169
169
|
static get originalStyleUrls() {
|
|
@@ -71,9 +71,9 @@ export class Img {
|
|
|
71
71
|
const { loadSrc, alt, onLoad, loadError, inheritedAttributes } = this;
|
|
72
72
|
const { draggable } = inheritedAttributes;
|
|
73
73
|
const theme = getIonTheme(this);
|
|
74
|
-
return (h(Host, { key: '
|
|
74
|
+
return (h(Host, { key: '1aa7be8e15beabbc92ee21127960f7cfc778555d', class: {
|
|
75
75
|
[theme]: true,
|
|
76
|
-
} }, h("img", { key: '
|
|
76
|
+
} }, h("img", { key: 'a74a222d3b9d232619471ac9089c365b3e7a9b04', decoding: "async", src: loadSrc, alt: alt, onLoad: onLoad, onError: loadError, part: "image", draggable: isDraggable(draggable) })));
|
|
77
77
|
}
|
|
78
78
|
static get is() { return "ion-img"; }
|
|
79
79
|
static get encapsulation() { return "shadow"; }
|
|
@@ -264,7 +264,7 @@ export class InfiniteScroll {
|
|
|
264
264
|
render() {
|
|
265
265
|
const theme = getIonTheme(this);
|
|
266
266
|
const disabled = this.disabled;
|
|
267
|
-
return (h(Host, { key: '
|
|
267
|
+
return (h(Host, { key: '22d99824cb589d9024666a3c1ed205f781858eed', class: {
|
|
268
268
|
[theme]: true,
|
|
269
269
|
'infinite-scroll-loading': this.isLoading,
|
|
270
270
|
'infinite-scroll-enabled': !disabled,
|
|
@@ -29,11 +29,11 @@ export class InfiniteScrollContent {
|
|
|
29
29
|
}
|
|
30
30
|
render() {
|
|
31
31
|
const theme = getIonTheme(this);
|
|
32
|
-
return (h(Host, { key: '
|
|
32
|
+
return (h(Host, { key: 'e94d19f17ef9d4d77786716152e3206366feb546', class: {
|
|
33
33
|
[theme]: true,
|
|
34
34
|
// Used internally for styling
|
|
35
35
|
[`infinite-scroll-content-${theme}`]: true,
|
|
36
|
-
} }, h("div", { key: '
|
|
36
|
+
} }, h("div", { key: '35fcc0572ad27a683aa55a704bd11b19fcdfd29c', class: "infinite-loading" }, this.loadingSpinner && (h("div", { key: 'fec3c13dbb2fa98699401147ce442b73e97e8bd8', class: "infinite-loading-spinner" }, h("ion-spinner", { key: '6cd6083255dacc891b4d201477e6bffccb1084bc', name: this.loadingSpinner }))), this.loadingText !== undefined && this.renderLoadingText())));
|
|
37
37
|
}
|
|
38
38
|
static get is() { return "ion-infinite-scroll-content"; }
|
|
39
39
|
static get originalStyleUrls() {
|
|
@@ -596,7 +596,7 @@ export class Input {
|
|
|
596
596
|
* TODO(FW-5592): Remove hasStartEndSlots condition
|
|
597
597
|
*/
|
|
598
598
|
const labelShouldFloat = labelPlacement === 'stacked' || (labelPlacement === 'floating' && (hasValue || hasFocus || hasStartEndSlots));
|
|
599
|
-
return (h(Host, { key: '
|
|
599
|
+
return (h(Host, { key: 'c01b7ed35861999d1a73b12d853fa90deb831963', class: createColorClasses(this.color, {
|
|
600
600
|
[theme]: true,
|
|
601
601
|
'has-value': hasValue,
|
|
602
602
|
'has-focus': hasFocus,
|
|
@@ -609,7 +609,7 @@ export class Input {
|
|
|
609
609
|
'in-item-color': hostContext('ion-item.ion-color', this.el),
|
|
610
610
|
'input-disabled': disabled,
|
|
611
611
|
'input-readonly': readonly,
|
|
612
|
-
}) }, h("label", { key: '
|
|
612
|
+
}) }, h("label", { key: '49b13f7970d0839d8286a32b52360356f9bd7399', class: "input-wrapper", htmlFor: inputId, onClick: this.onLabelClick }, this.renderLabelContainer(), h("div", { key: '2a976896662e4f18f5b86d7dada141222533047e', class: "native-wrapper", onClick: this.onLabelClick },
|
|
613
613
|
/**
|
|
614
614
|
* For the ionic theme, we render the outline container here
|
|
615
615
|
* instead of higher up, so it can be positioned relative to
|
|
@@ -619,14 +619,14 @@ export class Input {
|
|
|
619
619
|
* <label> element, ensuring that clicking the label text
|
|
620
620
|
* focuses the input.
|
|
621
621
|
*/
|
|
622
|
-
theme === 'ionic' && h("div", { key: '
|
|
622
|
+
theme === 'ionic' && h("div", { key: '47fe7d74f50bfa1aeec03ba3cb1edb0df941773f', class: "input-outline" }), h("slot", { key: 'f9b9884467a216bd0c7af49b512ed22ef67f81f2', name: "start" }), h("input", Object.assign({ key: '12ab5fe9b82083637dbb2c6163b829af69cc9a5f', 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 }, this.inheritedAttributes)), clearInput && !readonly && !disabled && (h("button", { key: '284e6a89fe06fc7de2d0d7cac24ae5330f10594c', "aria-label": "reset", type: "button", class: "input-clear-icon", onPointerDown: (ev) => {
|
|
623
623
|
/**
|
|
624
624
|
* This prevents mobile browsers from
|
|
625
625
|
* blurring the input when the clear
|
|
626
626
|
* button is activated.
|
|
627
627
|
*/
|
|
628
628
|
ev.preventDefault();
|
|
629
|
-
}, onClick: this.clearTextInput }, h("ion-icon", { key: '
|
|
629
|
+
}, onClick: this.clearTextInput }, h("ion-icon", { key: '58ceb89a48d5db08ddb5b22397d29e6ab3524f9c', "aria-hidden": "true", icon: inputClearIcon }))), h("slot", { key: 'a90f9f0b9439e0aa19de35e24ea9ed587ab51add', name: "end" })), shouldRenderHighlight && h("div", { key: '413fe8aa2eeaf41ab90a3b77a6abb20b19ad8446', class: "input-highlight" })), this.renderBottomContent()));
|
|
630
630
|
}
|
|
631
631
|
static get is() { return "ion-input"; }
|
|
632
632
|
static get encapsulation() { return "scoped"; }
|
|
@@ -605,7 +605,7 @@ export class InputOTP {
|
|
|
605
605
|
const tabbableIndex = this.getTabbableIndex();
|
|
606
606
|
const pattern = this.getPattern();
|
|
607
607
|
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()) !== '';
|
|
608
|
-
return (h(Host, { key: '
|
|
608
|
+
return (h(Host, { key: 'b7709a1fd155bd4484fb6f20a2f0c1cdb13809a7', class: createColorClasses(color, {
|
|
609
609
|
[mode]: true,
|
|
610
610
|
'has-focus': hasFocus,
|
|
611
611
|
[`input-otp-size-${size}`]: true,
|
|
@@ -613,10 +613,10 @@ export class InputOTP {
|
|
|
613
613
|
[`input-otp-fill-${fill}`]: true,
|
|
614
614
|
'input-otp-disabled': disabled,
|
|
615
615
|
'input-otp-readonly': readonly,
|
|
616
|
-
}) }, h("div", Object.assign({ key: '
|
|
616
|
+
}) }, h("div", Object.assign({ key: '5948befd722de44eea8aa1a759ae465bebef0d52', role: "group", "aria-label": "One-time password input", class: "input-otp-group" }, inheritedAttributes), Array.from({ length }).map((_, index) => (h(Fragment, null, h("div", { class: "native-wrapper" }, h("input", { class: "native-input", 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" }))))), h("div", { key: 'bb4cdd1da7e42b6d2b8b50fc2ec52ed526608cdd', class: {
|
|
617
617
|
'input-otp-description': true,
|
|
618
618
|
'input-otp-description-hidden': !hasDescription,
|
|
619
|
-
} }, h("slot", { key: '
|
|
619
|
+
} }, h("slot", { key: '006fe25a24266eae57a9c1b58fbfc28008cfb816' }))));
|
|
620
620
|
}
|
|
621
621
|
static get is() { return "ion-input-otp"; }
|
|
622
622
|
static get encapsulation() { return "scoped"; }
|
|
@@ -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: 'e3c21d5bedebeadb57c0c9b7f065d15ab0d49e4a', class: createColorClasses(color, {
|
|
98
98
|
[mode]: true,
|
|
99
|
-
}) }, h("ion-button", { key: '
|
|
99
|
+
}) }, h("ion-button", { key: 'c2529009a921f2fd133f2b3c4f8d36fa66fbfd30', mode: mode, color: color, fill: "clear", shape: "round", "aria-checked": isPasswordVisible ? 'true' : 'false', "aria-label": isPasswordVisible ? 'Hide password' : 'Show password', role: "switch", 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: 'bc25d56ce0402565a2c7c0d617349138a04c008d', 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"; }
|
|
@@ -25,11 +25,11 @@ export class ItemDivider {
|
|
|
25
25
|
}
|
|
26
26
|
render() {
|
|
27
27
|
const theme = getIonTheme(this);
|
|
28
|
-
return (h(Host, { key: '
|
|
28
|
+
return (h(Host, { key: 'ff60c2ed224911e4369138287da9610564785c7f', class: createColorClasses(this.color, {
|
|
29
29
|
[theme]: true,
|
|
30
30
|
'item-divider-sticky': this.sticky,
|
|
31
31
|
item: true,
|
|
32
|
-
}) }, h("slot", { key: '
|
|
32
|
+
}) }, h("slot", { key: '992f32a67a2ecf8ee94d5c8b9bfd231b4b4510d9', name: "start" }), h("div", { key: '44ad1d56fe4c9644267ca285199bcc66cf7269d3', class: "item-divider-inner" }, h("div", { key: '8237db8eb57c0b877da7efa45f10214063e3ac8f', class: "item-divider-wrapper" }, h("slot", { key: '9ac2bf96cfa368d4f6daba9b6fcced3f597dfb4f' })), h("slot", { key: '19bdddb51ac10f0a11c5b50d4ad51a55cada278a', name: "end" }))));
|
|
33
33
|
}
|
|
34
34
|
static get is() { return "ion-item-divider"; }
|
|
35
35
|
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: 'd104330acfa524379c4bf1c28bce6cf7e720db14', role: "group", class: {
|
|
14
14
|
[theme]: true,
|
|
15
15
|
// Used internally for styling
|
|
16
16
|
[`item-group-${theme}`]: true,
|
|
@@ -69,14 +69,14 @@ export class ItemOption {
|
|
|
69
69
|
href: this.href,
|
|
70
70
|
target: this.target,
|
|
71
71
|
};
|
|
72
|
-
return (h(Host, { key: '
|
|
72
|
+
return (h(Host, { key: '419c8059b80ed543021016ae8e47a8c293c61544', onClick: this.onClick, class: createColorClasses(this.color, {
|
|
73
73
|
[theme]: true,
|
|
74
74
|
[`item-option-${shape}`]: shape !== undefined,
|
|
75
75
|
[`item-option-${hue}`]: hue !== undefined,
|
|
76
76
|
'item-option-disabled': disabled,
|
|
77
77
|
'item-option-expandable': expandable,
|
|
78
78
|
'ion-activatable': true,
|
|
79
|
-
}) }, h(TagType, Object.assign({ key: '
|
|
79
|
+
}) }, h(TagType, Object.assign({ key: 'b68a20876078d8c3281ad95c4d25c786ea8534b6' }, attrs, { class: "button-native", part: "native", disabled: disabled }), h("span", { key: '2cca3a5fe121020e647306e73f5a6568e0114e52', class: "button-inner" }, h("slot", { key: 'a58b51ec7a506997f0a7ef419ea2eacd7e317cb0', name: "top" }), h("div", { key: '51d3078bcaf1b587b4d989faaba9eccc064299a1', class: "horizontal-wrapper" }, h("slot", { key: 'f9a5c0f1036dabc30649a31da851acc947e8d0dd', name: "start" }), h("slot", { key: '57474d0a32f99a7d773db30093ab3d4a0529d1c0', name: "icon-only" }), h("slot", { key: 'e9415a290913d535b82a74303fe73b779ff5b5be' }), h("slot", { key: 'e33e61278c599989c80fc410b94688288c0c13f5', name: "end" })), h("slot", { key: '4f3b12f4fcc09e8f87f35ea8c87cf40d15b5ef42', name: "bottom" })), theme === 'md' && h("ion-ripple-effect", { key: '56a65a555e12f0051d69447d786799e1b21683a6' }))));
|
|
80
80
|
}
|
|
81
81
|
static get is() { return "ion-item-option"; }
|
|
82
82
|
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: '631db06441daa78759d646ab8d9e1804184be7ea', class: {
|
|
29
29
|
[theme]: true,
|
|
30
30
|
// Used internally for styling
|
|
31
31
|
[`item-options-${theme}`]: true,
|
|
@@ -395,7 +395,7 @@ export class ItemSliding {
|
|
|
395
395
|
}
|
|
396
396
|
render() {
|
|
397
397
|
const theme = getIonTheme(this);
|
|
398
|
-
return (h(Host, { key: '
|
|
398
|
+
return (h(Host, { key: '837e7162dfc6d2cebcdf3efc40d1c6aa88739451', class: {
|
|
399
399
|
[theme]: true,
|
|
400
400
|
'item-sliding-active-slide': this.state !== 2 /* SlidingState.Disabled */,
|
|
401
401
|
'item-sliding-active-options-end': (this.state & 8 /* SlidingState.End */) !== 0,
|
|
@@ -54,13 +54,13 @@ export class Label {
|
|
|
54
54
|
render() {
|
|
55
55
|
const position = this.position;
|
|
56
56
|
const theme = getIonTheme(this);
|
|
57
|
-
return (h(Host, { key: '
|
|
57
|
+
return (h(Host, { key: '8705671de3aaec1eb21044f4a234ee85fcba8d14', class: createColorClasses(this.color, {
|
|
58
58
|
[theme]: true,
|
|
59
59
|
'in-item-color': hostContext('ion-item.ion-color', this.el),
|
|
60
60
|
[`label-${position}`]: position !== undefined,
|
|
61
61
|
[`label-no-animate`]: this.noAnimate,
|
|
62
62
|
'label-rtl': document.dir === 'rtl',
|
|
63
|
-
}) }, h("slot", { key: '
|
|
63
|
+
}) }, h("slot", { key: '31973de97fc2524da620a612ada1d3c506939f6f' })));
|
|
64
64
|
}
|
|
65
65
|
static get is() { return "ion-label"; }
|
|
66
66
|
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: 'dcdfb595a6b45307f9810e1ded25ba635c947940', role: "list", class: {
|
|
50
50
|
[theme]: true,
|
|
51
51
|
// Used internally for styling
|
|
52
52
|
[`list-${theme}`]: true,
|
|
@@ -12,10 +12,10 @@ export class ListHeader {
|
|
|
12
12
|
render() {
|
|
13
13
|
const { lines } = this;
|
|
14
14
|
const theme = getIonTheme(this);
|
|
15
|
-
return (h(Host, { key: '
|
|
15
|
+
return (h(Host, { key: 'b3478a7ac11992d292d35b5c658de040c51e971d', class: createColorClasses(this.color, {
|
|
16
16
|
[theme]: true,
|
|
17
17
|
[`list-header-lines-${lines}`]: lines !== undefined,
|
|
18
|
-
}) }, h("div", { key: '
|
|
18
|
+
}) }, h("div", { key: '76dff0757cd9930eec0dbd56cb187c72d4e26d21', class: "list-header-inner" }, h("slot", { key: 'd25568f22efb544467ffda8929ac6d6cfd4001fa' }))));
|
|
19
19
|
}
|
|
20
20
|
static get is() { return "ion-list-header"; }
|
|
21
21
|
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: '082392dad8551f7bf3be1b77d4d26d3b96504d39', 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: '1ced20cf2cc6d610c0f5f9d1de147602137347f1', visible: this.showBackdrop, tappable: this.backdropDismiss }), h("div", { key: '450e54507718d290a520d423ae09d05d88009d79', tabindex: "0", "aria-hidden": "true" }), h("div", { key: 'f2338b1915b9339055a27c4ef230b2663959e2f8', class: "loading-wrapper ion-overlay-wrapper" }, spinner && (h("div", { key: '22c0ba1f0ead01c0e0b133c7398f3fa3e03d3f08', class: "loading-spinner" }, h("ion-spinner", { key: '155aa650b590dc49c8902bc1d73f4bba4afd1d35', name: spinner, "aria-hidden": "true" }))), message !== undefined && this.renderLoadingMessage(msgId)), h("div", { key: 'b08785d4408950abd34b0c21dd8e4be783b17ae4', 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: '1983ee36a15d041cce2cf8c010c4a03544095c71', 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: '9b997c29ef41fd00c15843a1f6593407d195a501', class: "menu-inner", part: "container", ref: (el) => (this.menuInnerEl = el) }, h("slot", { key: 'e95f25ccdf6e07b527e2126b7d7221d39e667549' })), h("ion-backdrop", { key: '60271cb8539ef04a148c08ab1a3349be30e8589c', 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: '8777ca08223f62b4b0183e81f7f040635a017827', 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: '7ea9df4e44a3916c97439f273562ad513c02d848' }, attrs, { disabled: disabled, class: "button-native", part: "native", "aria-label": ariaLabel }), h("span", { key: '521997eb3e28a6c89c8783125aee82e081f36db6', class: "button-inner" }, h("slot", { key: '8ec019529598f67ca7a7fb8f7a3eccfe3a970928' }, h("ion-icon", { key: '091855caa99363a61ccdad926229b18a96b03d58', part: "icon", icon: menuIcon, lazy: false, "aria-hidden": "true" }))), theme === 'md' && h("ion-ripple-effect", { key: '9f746b38ae4d954ce0339e5c159b7c4c81d872f0', 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: 'e6cdf611b3c2ef6d39a84069582b706e9270e453', 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: 'c6a040b1b8c341ea8d0774a875266ca57fd6b8ce' })));
|
|
41
41
|
}
|
|
42
42
|
static get is() { return "ion-menu-toggle"; }
|
|
43
43
|
static get encapsulation() { return "shadow"; }
|
|
@@ -207,12 +207,6 @@ ion-backdrop {
|
|
|
207
207
|
--border-radius: var(--token-border-radius-0, var(--token-scale-0, 0px));
|
|
208
208
|
}
|
|
209
209
|
|
|
210
|
-
:host(.select-modal.modal-default) {
|
|
211
|
-
--max-height: 45%;
|
|
212
|
-
--max-width: calc(100% - (var(--token-space-400, var(--token-scale-400, 16px)) * 2));
|
|
213
|
-
--min-height: 340px;
|
|
214
|
-
}
|
|
215
|
-
|
|
216
210
|
.modal-handle {
|
|
217
211
|
right: 0px;
|
|
218
212
|
left: 0px;
|
|
@@ -895,20 +895,20 @@ export class Modal {
|
|
|
895
895
|
const isHandleCycle = handleBehavior === 'cycle';
|
|
896
896
|
const shape = this.getShape();
|
|
897
897
|
const isSheetModalWithHandle = isSheetModal && showHandle;
|
|
898
|
-
return (h(Host, Object.assign({ key: '
|
|
898
|
+
return (h(Host, Object.assign({ key: '488610d76d4d3743e8de0602b247c6e862f7f604', "no-router": true,
|
|
899
899
|
// Allow the modal to be navigable when the handle is focusable
|
|
900
900
|
tabIndex: isHandleCycle && isSheetModalWithHandle ? 0 : -1 }, htmlAttributes, { style: {
|
|
901
901
|
zIndex: `${20000 + this.overlayIndex}`,
|
|
902
|
-
}, 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: '
|
|
902
|
+
}, 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: '85a8517220a84da9337032ab8988362bc221f7b7', ref: (el) => (this.backdropEl = el), visible: this.showBackdrop, tappable: this.backdropDismiss, part: "backdrop" }), theme === 'ios' && h("div", { key: '7a17566ea39641cd8fdf64bd647fc3df0cf099b9', class: "modal-shadow" }), h("div", Object.assign({ key: '1b12a476428d88678a1ab2d0a3421b0ed0866c1f',
|
|
903
903
|
/*
|
|
904
904
|
role and aria-modal must be used on the
|
|
905
905
|
same element. They must also be set inside the
|
|
906
906
|
shadow DOM otherwise ion-button will not be highlighted
|
|
907
907
|
when using VoiceOver: https://bugs.webkit.org/show_bug.cgi?id=247134
|
|
908
908
|
*/
|
|
909
|
-
role: "dialog" }, inheritedAttributes, { "aria-modal": "true", class: "modal-wrapper ion-overlay-wrapper", part: "content", ref: (el) => (this.wrapperEl = el) }), showHandle && (h("button", { key: '
|
|
909
|
+
role: "dialog" }, inheritedAttributes, { "aria-modal": "true", class: "modal-wrapper ion-overlay-wrapper", part: "content", ref: (el) => (this.wrapperEl = el) }), showHandle && (h("button", { key: '48cc88e928df87737d97a4733f6551d37b429d81', class: "modal-handle",
|
|
910
910
|
// Prevents the handle from receiving keyboard focus when it does not cycle
|
|
911
|
-
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: '
|
|
911
|
+
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: 'ae63a8dc8a9044a60c3d2bf046203663343e0de0', onSlotchange: this.onSlotChange }))));
|
|
912
912
|
}
|
|
913
913
|
static get is() { return "ion-modal"; }
|
|
914
914
|
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: '2254b8e14dbdc401b181dabb1c3b6606048291a5' });
|
|
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: '2a45f6d78be837c8c8926f45bfe194a9c75693b1', 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: 'bab27d8461e93c98bb48cbdd4df0c6b012a37798', class: createColorClasses(this.color, {
|
|
15
15
|
[theme]: true,
|
|
16
|
-
}) }, h("slot", { key: '
|
|
16
|
+
}) }, h("slot", { key: 'd2e0f339ce127095fa49b93e515ab888461de1ea' })));
|
|
17
17
|
}
|
|
18
18
|
static get is() { return "ion-note"; }
|
|
19
19
|
static get encapsulation() { return "shadow"; }
|
|
@@ -452,7 +452,7 @@ export class Picker {
|
|
|
452
452
|
this.emitInputModeChange();
|
|
453
453
|
}
|
|
454
454
|
render() {
|
|
455
|
-
return (h(Host, { key: '
|
|
455
|
+
return (h(Host, { key: '0e3b8112fd28191ff6af8313fee72919d9b23ee7', onPointerDown: (ev) => this.onPointerDown(ev), onClick: () => this.onClick() }, h("input", { key: '92e86aab71f000c35fcf5f4082116285f2e43016', "aria-hidden": "true", tabindex: -1, inputmode: "numeric", type: "number", onKeyDown: (ev) => {
|
|
456
456
|
var _a;
|
|
457
457
|
/**
|
|
458
458
|
* The "Enter" key represents
|
|
@@ -467,7 +467,7 @@ export class Picker {
|
|
|
467
467
|
if (ev.key === 'Enter') {
|
|
468
468
|
(_a = this.inputEl) === null || _a === void 0 ? void 0 : _a.blur();
|
|
469
469
|
}
|
|
470
|
-
}, ref: (el) => (this.inputEl = el), onInput: () => this.onInputChange(), onBlur: () => this.exitInputMode() }), h("div", { key: '
|
|
470
|
+
}, ref: (el) => (this.inputEl = el), onInput: () => this.onInputChange(), onBlur: () => this.exitInputMode() }), h("div", { key: '5fad8573cd44bee093f26cd4d7cabad836789e79', class: "picker-before" }), h("div", { key: 'fd26db9e86a3cafe125283eeff0da8be7ea2928e', class: "picker-after" }), h("div", { key: '8174b0f258f3ce00707132c674ff53d3b9fc2aee', class: "picker-highlight", ref: (el) => (this.highlightEl = el) }), h("slot", { key: 'a118b0ec709164758ae95fcb9e110befb574138f' })));
|
|
471
471
|
}
|
|
472
472
|
static get is() { return "ion-picker"; }
|
|
473
473
|
static get encapsulation() { return "shadow"; }
|
|
@@ -552,14 +552,14 @@ export class PickerColumn {
|
|
|
552
552
|
render() {
|
|
553
553
|
const { color, disabled, isActive, numericInput } = this;
|
|
554
554
|
const theme = getIonTheme(this);
|
|
555
|
-
return (h(Host, { key: '
|
|
555
|
+
return (h(Host, { key: '867e0dc27b3a65348415b4e35e980c99d95e183c', class: createColorClasses(color, {
|
|
556
556
|
[theme]: true,
|
|
557
557
|
['picker-column-active']: isActive,
|
|
558
558
|
['picker-column-numeric-input']: numericInput,
|
|
559
559
|
['picker-column-disabled']: disabled,
|
|
560
|
-
}) }, h("slot", { key: '
|
|
560
|
+
}) }, h("slot", { key: '9d68fc2f1524834436098f856af9867d4688c37b', name: "prefix" }), h("div", { key: 'a0b300c9b537ef853bd8703ad10da64dab3876dc', class: "picker-opts", ref: (el) => {
|
|
561
561
|
this.scrollEl = el;
|
|
562
|
-
}, role: "slider", tabindex: this.disabled ? undefined : 0, "aria-label": this.ariaLabel, "aria-valuemin": 0, "aria-valuemax": 0, "aria-valuenow": 0, "aria-valuetext": this.getOptionValueText(this.activeItem), "aria-orientation": "vertical", onKeyDown: (ev) => this.onKeyDown(ev) }, h("div", { key: '
|
|
562
|
+
}, role: "slider", tabindex: this.disabled ? undefined : 0, "aria-label": this.ariaLabel, "aria-valuemin": 0, "aria-valuemax": 0, "aria-valuenow": 0, "aria-valuetext": this.getOptionValueText(this.activeItem), "aria-orientation": "vertical", onKeyDown: (ev) => this.onKeyDown(ev) }, h("div", { key: '4617d1409c852871ff85d0ff6ac2c3d265e56a92', class: "picker-item-empty", "aria-hidden": "true" }, "\u00A0"), h("div", { key: '893559f2b0035135c582e34c334b56c74ddd829c', class: "picker-item-empty", "aria-hidden": "true" }, "\u00A0"), h("div", { key: '44d379b7d3bdff1574cc95330b22d4f629e26724', class: "picker-item-empty", "aria-hidden": "true" }, "\u00A0"), h("slot", { key: '25a5bd6d8f3d360594b38fe8867b925a67111792' }), h("div", { key: '39d4ffe9c6c2c1ee101b65a648ceaa3582676770', class: "picker-item-empty", "aria-hidden": "true" }, "\u00A0"), h("div", { key: '6ea72753cdc8ca3b9b1e5fd0aad8772fa090b39f', class: "picker-item-empty", "aria-hidden": "true" }, "\u00A0"), h("div", { key: '8ec67b388428e1d5d648884b2a69f953aa79702e', class: "picker-item-empty", "aria-hidden": "true" }, "\u00A0")), h("slot", { key: 'ba379669ca1976f3078c076f93c415e42c37847e', name: "suffix" })));
|
|
563
563
|
}
|
|
564
564
|
static get is() { return "ion-picker-column"; }
|
|
565
565
|
static get encapsulation() { return "shadow"; }
|