@ionic/core 8.7.6-dev.11762446926.123acdf7 → 8.7.6-dev.11762793111.1cac12b3
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 +8 -7
- 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 +10 -3
- 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.ionic.css +1 -1
- package/css/ionic/bundle.ionic.css.map +1 -1
- package/css/ionic/core.ionic.css +1 -1
- package/css/ionic/core.ionic.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 +13 -11
- 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 +9 -2
- 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 +25 -9
- package/dist/collection/components/card-content/card-content.ionic.css +7 -4
- package/dist/collection/components/card-content/card-content.ios.css +14 -14
- package/dist/collection/components/card-content/card-content.js +4 -3
- 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 +6 -0
- 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 +4 -0
- package/dist/collection/components/select-modal/select-modal.js +9 -2
- 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 +13 -11
- 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 +10 -3
- 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-0d5fd927.entry.js +4 -0
- package/dist/ionic/{p-6afa042a.entry.js → p-127ae3b5.entry.js} +1 -1
- package/dist/ionic/{p-03d25ce5.entry.js → p-16c5a01c.entry.js} +1 -1
- package/dist/ionic/{p-eadd22a8.entry.js → p-23e4b68a.entry.js} +1 -1
- package/dist/ionic/{p-b2951be0.entry.js → p-28571945.entry.js} +1 -1
- package/dist/ionic/{p-5121535d.entry.js → p-2bab0853.entry.js} +1 -1
- package/dist/ionic/{p-89346674.entry.js → p-2e19a4dd.entry.js} +1 -1
- package/dist/ionic/{p-493b739a.entry.js → p-3622a9ea.entry.js} +1 -1
- package/dist/ionic/{p-77da86d1.entry.js → p-3a6a92ab.entry.js} +1 -1
- package/dist/ionic/p-3cb3d194.entry.js +4 -0
- package/dist/ionic/{p-6e079661.entry.js → p-418e4330.entry.js} +1 -1
- package/dist/ionic/{p-875e46fd.entry.js → p-4261dc5d.entry.js} +1 -1
- package/dist/ionic/{p-2dfbae3f.entry.js → p-56a9319e.entry.js} +1 -1
- package/dist/ionic/{p-efefd9cd.entry.js → p-59a79bd9.entry.js} +1 -1
- package/dist/ionic/{p-325c3304.entry.js → p-59e6c978.entry.js} +1 -1
- package/dist/ionic/{p-f62d555b.entry.js → p-642b022d.entry.js} +1 -1
- package/dist/ionic/{p-687242ec.entry.js → p-64385b66.entry.js} +1 -1
- package/dist/ionic/{p-75c553c0.entry.js → p-66397fac.entry.js} +1 -1
- package/dist/ionic/{p-f20f9e12.entry.js → p-6fac73e6.entry.js} +1 -1
- package/dist/ionic/{p-9a80a61f.entry.js → p-7d450184.entry.js} +1 -1
- package/dist/ionic/{p-cc3ec408.entry.js → p-81770a5c.entry.js} +1 -1
- package/dist/ionic/{p-5c4a86bc.entry.js → p-83a116e6.entry.js} +1 -1
- package/dist/ionic/{p-2e9373ba.entry.js → p-844bd58c.entry.js} +1 -1
- package/dist/ionic/{p-9978eeb9.entry.js → p-86b82096.entry.js} +1 -1
- package/dist/ionic/{p-c1448dbf.entry.js → p-87678140.entry.js} +1 -1
- package/dist/ionic/{p-21aee5b7.entry.js → p-88ef6829.entry.js} +1 -1
- package/dist/ionic/p-89743bba.entry.js +4 -0
- package/dist/ionic/{p-1a920cdb.entry.js → p-90320028.entry.js} +1 -1
- package/dist/ionic/p-915944d6.entry.js +4 -0
- package/dist/ionic/{p-a61d1f23.entry.js → p-91966afa.entry.js} +1 -1
- package/dist/ionic/{p-5c76d65d.entry.js → p-9bee2bdd.entry.js} +1 -1
- package/dist/ionic/{p-a3299f26.entry.js → p-a1128f7f.entry.js} +1 -1
- package/dist/ionic/{p-6b13c6c1.entry.js → p-a57c0cce.entry.js} +1 -1
- package/dist/ionic/{p-9d649ff0.entry.js → p-b2291ef0.entry.js} +1 -1
- package/dist/ionic/{p-ad8f157e.entry.js → p-b26aeaf8.entry.js} +1 -1
- package/dist/ionic/{p-b5d51634.entry.js → p-c2f738d2.entry.js} +1 -1
- package/dist/ionic/{p-a2583cce.entry.js → p-c775e3c0.entry.js} +1 -1
- package/dist/ionic/p-ce510c06.entry.js +4 -0
- package/dist/ionic/p-cea1ee31.entry.js +4 -0
- package/dist/ionic/p-d1c60c1c.entry.js +4 -0
- package/dist/ionic/{p-49217750.entry.js → p-db90b95a.entry.js} +1 -1
- package/dist/ionic/{p-67bb35ab.entry.js → p-dcfb2b1d.entry.js} +1 -1
- package/dist/ionic/{p-eef5cef8.entry.js → p-e28d6a81.entry.js} +1 -1
- package/dist/ionic/{p-a98829dd.entry.js → p-e9dd8600.entry.js} +1 -1
- package/dist/ionic/p-ec02238a.entry.js +4 -0
- package/dist/ionic/{p-15e5d054.entry.js → p-ecc8aebb.entry.js} +1 -1
- package/dist/ionic/{p-4e349265.entry.js → p-f3de58bd.entry.js} +1 -1
- package/dist/types/components/select-modal/select-modal.d.ts +1 -0
- package/hydrate/index.js +175 -166
- package/hydrate/index.mjs +175 -166
- package/package.json +1 -1
- package/dist/ionic/p-22c02aea.entry.js +0 -4
- package/dist/ionic/p-43d72b76.entry.js +0 -4
- package/dist/ionic/p-48b1b019.entry.js +0 -4
- package/dist/ionic/p-5feb1aec.entry.js +0 -4
- package/dist/ionic/p-8d1ebcd0.entry.js +0 -4
- package/dist/ionic/p-9a31abcd.entry.js +0 -4
- package/dist/ionic/p-ce61e4b4.entry.js +0 -4
- package/dist/ionic/p-f33349c8.entry.js +0 -4
|
@@ -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: '7c9603b518a73f9883ff01464fe3f70c14b9059c', 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: 'e98e79dd51550361131d59a8871fe2990dc40edc', name: "prefix" }), h("div", { key: '85894791c93da84401138285bf4fbb169897c3d6', 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: 'd9546be214c2faf2340faf31d8468c2f39f31e4c', class: "picker-item-empty", "aria-hidden": "true" }, "\u00A0"), h("div", { key: '47671f18a0a0659c0660b3b82d234e92b6dcc721', class: "picker-item-empty", "aria-hidden": "true" }, "\u00A0"), h("div", { key: 'f3fc8f9cfc67d0d0dfbf7c134524353297117170', class: "picker-item-empty", "aria-hidden": "true" }, "\u00A0"), h("slot", { key: '4c30c1e5df5f1758978458dbd7e405a01d3118fe' }), h("div", { key: '4e71db05a18d645c6fa49d3a6e67a68cc374b868', class: "picker-item-empty", "aria-hidden": "true" }, "\u00A0"), h("div", { key: '7fd2461759a92a6909ab514a14bdb41f7d2d16d5', class: "picker-item-empty", "aria-hidden": "true" }, "\u00A0"), h("div", { key: '015fc0875e5e2df575810fd79635ed5a0f5a29dd', class: "picker-item-empty", "aria-hidden": "true" }, "\u00A0")), h("slot", { key: 'd706a79b1b5b31dc1e358fe1d64b41a2104ea153', name: "suffix" })));
|
|
563
563
|
}
|
|
564
564
|
static get is() { return "ion-picker-column"; }
|
|
565
565
|
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: '9ceebae71b6df0b01f36691d82d716f6756625d9', class: createColorClasses(color, {
|
|
99
99
|
[theme]: true,
|
|
100
100
|
['option-disabled']: disabled,
|
|
101
|
-
}) }, h("div", { key: '
|
|
101
|
+
}) }, h("div", { key: '1f26246d601779dadfaf055d195e2a4959180f5a', class: 'picker-column-option-button', role: "button", "aria-label": ariaLabel, onClick: () => this.onClick() }, h("slot", { key: 'eed413474a8b7ec7a73da27fa72a2d0a9a2aae2b' }))));
|
|
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: 'efcc823fad9cb37c1379bef4f4b84c6461f3a3a6', "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: '3f44bf34e039210ae149c590c393ee9f7fb85da0', visible: this.showBackdrop, tappable: this.backdropDismiss }), h("div", { key: 'c2a51a89c525b1a22cbc8583cd30f41c3c356d4f', tabindex: "0", "aria-hidden": "true" }), h("div", { key: '23837ffe309d0aad9b8ea09d7ac94d21040ef0d7', class: "picker-wrapper ion-overlay-wrapper", role: "dialog" }, h("div", { key: '91ba7e553d570768142715ded4bcc27fceedbce4', 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: '22661cafeb555f1435ec1e0a122404a48136095b', class: "picker-columns" }, h("div", { key: '5f3db32468b8c60f63c70d81a27b18cce6f2e259', class: "picker-above-highlight" }), this.presented && this.columns.map((c) => h("ion-picker-legacy-column", { col: c })), h("div", { key: '1bae6b170125b1671a480506ba73636b42b65909', class: "picker-below-highlight" }))), h("div", { key: '91beb94ce537122fbd6cd0c2bd3c00f908d0fefe', 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: '66a5b7f51aa1ee343dbad3830e03933dbdab27ed', 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: '19a170752bacdabd50c719f6d1aa9e58a2bd830b', class: "picker-prefix", style: { width: col.prefixWidth } }, col.prefix)), h("div", { key: '871671f796aa6a1f78e07ab2599d94b5fd8cd0bf', 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: '89792e1dc75a4359a4706a8fd1846fe29b866173', 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() {
|
|
@@ -434,9 +434,9 @@ export class Popover {
|
|
|
434
434
|
const { onLifecycle, parentPopover, dismissOnSelect, side, arrow, htmlAttributes, focusTrap } = this;
|
|
435
435
|
const desktop = isPlatform('desktop');
|
|
436
436
|
const enableArrow = arrow && !parentPopover;
|
|
437
|
-
return (h(Host, Object.assign({ key: '
|
|
437
|
+
return (h(Host, Object.assign({ key: 'd8cac78e3fda5731eb8a3532ce83a711190a0f1d', "aria-modal": "true", "no-router": true, tabindex: "-1" }, htmlAttributes, { style: {
|
|
438
438
|
zIndex: `${20000 + this.overlayIndex}`,
|
|
439
|
-
}, 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: '
|
|
439
|
+
}, 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: 'ec62e04664d67c7ef9c43bb77e5baa517ab88e7f', tappable: this.backdropDismiss, visible: this.showBackdrop, part: "backdrop" }), h("div", { key: '1da57db158ecd1f6260369d44f2db5b0791ecd3a', class: "popover-wrapper ion-overlay-wrapper", onClick: dismissOnSelect ? () => this.dismiss() : undefined }, enableArrow && h("div", { key: '22966b014e1a5ff24963dff94cad281200a3b334', class: "popover-arrow", part: "arrow" }), h("div", { key: 'a2b960c96a54c06807e07edc2579b5d459e5d108', class: "popover-content", part: "content" }, h("slot", { key: 'bae331e17437df55a77db538a693ef459f11e78a' })))));
|
|
440
440
|
}
|
|
441
441
|
static get is() { return "ion-popover"; }
|
|
442
442
|
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: '9adef68c31bdf39d48199e01587f8d5295d4c6af', 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,
|
|
@@ -137,7 +137,7 @@ export class Radio {
|
|
|
137
137
|
const { checked, disabled, color, el, justify, labelPlacement, hasLabel, buttonTabindex, alignment } = this;
|
|
138
138
|
const theme = getIonTheme(this);
|
|
139
139
|
const inItem = hostContext('ion-item', el);
|
|
140
|
-
return (h(Host, { key: '
|
|
140
|
+
return (h(Host, { key: '7ac17b6d0b96104b5baba1bb8c28c37f30005fdd', onFocus: this.onFocus, onBlur: this.onBlur, onClick: this.onClick, class: createColorClasses(color, {
|
|
141
141
|
[theme]: true,
|
|
142
142
|
'in-item': inItem,
|
|
143
143
|
'radio-checked': checked,
|
|
@@ -148,10 +148,10 @@ export class Radio {
|
|
|
148
148
|
// Focus and active styling should not apply when the radio is in an item
|
|
149
149
|
'ion-activatable': !inItem,
|
|
150
150
|
'ion-focusable': !inItem,
|
|
151
|
-
}), role: "radio", "aria-checked": checked ? 'true' : 'false', "aria-disabled": disabled ? 'true' : null, tabindex: buttonTabindex }, h("label", { key: '
|
|
151
|
+
}), role: "radio", "aria-checked": checked ? 'true' : 'false', "aria-disabled": disabled ? 'true' : null, tabindex: buttonTabindex }, h("label", { key: '41305f13b3025e3876236097131beb7ef8a40515', class: "radio-wrapper" }, h("div", { key: '603d3ac36c227995a3b9f5bd6fa1ec4de4fa304a', class: {
|
|
152
152
|
'label-text-wrapper': true,
|
|
153
153
|
'label-text-wrapper-hidden': !hasLabel,
|
|
154
|
-
}, part: "label" }, h("slot", { key: '
|
|
154
|
+
}, part: "label" }, h("slot", { key: '838d3a84c3ce2aaa31e61ce2b82c6a23818b0908' })), h("div", { key: '3d4ac72bbf52e04a2500782223baac24784f361e', class: "native-wrapper" }, this.renderRadioControl()))));
|
|
155
155
|
}
|
|
156
156
|
static get is() { return "ion-radio"; }
|
|
157
157
|
static get encapsulation() { return "shadow"; }
|
|
@@ -191,9 +191,9 @@ export class RadioGroup {
|
|
|
191
191
|
const { label, labelId, el, name, value } = this;
|
|
192
192
|
const theme = getIonTheme(this);
|
|
193
193
|
renderHiddenInput(true, el, name, value, false);
|
|
194
|
-
return (h(Host, { key: '
|
|
194
|
+
return (h(Host, { key: '3eb581e8348cac7c4f8d6b7238b968dd79ec3c35', class: {
|
|
195
195
|
[theme]: true,
|
|
196
|
-
}, role: "radiogroup", "aria-labelledby": label ? labelId : null, "aria-describedby": this.getHintTextID(), "aria-invalid": this.getHintTextID() === this.errorTextId, onClick: this.onClick }, this.renderHintText(), h("div", { key: '
|
|
196
|
+
}, role: "radiogroup", "aria-labelledby": label ? labelId : null, "aria-describedby": this.getHintTextID(), "aria-invalid": this.getHintTextID() === this.errorTextId, onClick: this.onClick }, this.renderHintText(), h("div", { key: '1091e1f540cb2b9241ddbc5ed6a2b28a77557682', class: "radio-group-wrapper" }, h("slot", { key: 'd83c63bcc7b20722f6405db656d5f945b3fb5407' }))));
|
|
197
197
|
}
|
|
198
198
|
static get is() { return "ion-radio-group"; }
|
|
199
199
|
static get originalStyleUrls() {
|
|
@@ -682,7 +682,7 @@ export class Range {
|
|
|
682
682
|
const needsEndAdjustment = inItem && !hasEndContent;
|
|
683
683
|
const theme = getIonTheme(this);
|
|
684
684
|
renderHiddenInput(true, el, this.name, JSON.stringify(this.getValue()), disabled);
|
|
685
|
-
return (h(Host, { key: '
|
|
685
|
+
return (h(Host, { key: 'abffed8811679954ae1ccded14b09c1070aec868', onFocusin: this.onFocus, onFocusout: this.onBlur, id: rangeId, class: createColorClasses(this.color, {
|
|
686
686
|
[theme]: true,
|
|
687
687
|
'in-item': inItem,
|
|
688
688
|
'range-disabled': disabled,
|
|
@@ -691,10 +691,10 @@ export class Range {
|
|
|
691
691
|
[`range-label-placement-${labelPlacement}`]: true,
|
|
692
692
|
'range-item-start-adjustment': needsStartAdjustment,
|
|
693
693
|
'range-item-end-adjustment': needsEndAdjustment,
|
|
694
|
-
}) }, h("label", { key: '
|
|
694
|
+
}) }, h("label", { key: '4296d7310d335ba9783d96e982159e8563a3ea35', class: "range-wrapper", id: "range-label" }, h("div", { key: '8087acc009ee1287f0ddd483669cd6284ff84004', class: {
|
|
695
695
|
'label-text-wrapper': true,
|
|
696
696
|
'label-text-wrapper-hidden': !hasLabel,
|
|
697
|
-
}, part: "label" }, label !== undefined ? h("div", { class: "label-text" }, label) : h("slot", { name: "label" })), h("div", { key: '
|
|
697
|
+
}, part: "label" }, label !== undefined ? h("div", { class: "label-text" }, label) : h("slot", { name: "label" })), h("div", { key: 'fa1207cbb99ccb9a9cc60c2409977c1b925476b0', class: "native-wrapper" }, h("slot", { key: 'fdbe6f0c142f3511e1b526f6d4df195c105660c5', name: "start" }), this.renderRangeSlider(), h("slot", { key: '3f03f148fbd461a7a87c8f2da5e5cba37213ef30', name: "end" })))));
|
|
698
698
|
}
|
|
699
699
|
static get is() { return "ion-range"; }
|
|
700
700
|
static get encapsulation() { return "shadow"; }
|
|
@@ -690,7 +690,7 @@ export class Refresher {
|
|
|
690
690
|
}
|
|
691
691
|
render() {
|
|
692
692
|
const theme = getIonTheme(this);
|
|
693
|
-
return (h(Host, { key: '
|
|
693
|
+
return (h(Host, { key: 'fdf580e687c1cd7c507a7357ea87a03270ff9f0b', slot: "fixed", class: {
|
|
694
694
|
[theme]: true,
|
|
695
695
|
// Used internally for styling
|
|
696
696
|
[`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: '3a3a3fb44f8397bb8e5019b51254ada8c26ae371', class: {
|
|
57
57
|
[theme]: true,
|
|
58
|
-
} }, h("div", { key: '
|
|
58
|
+
} }, h("div", { key: '3e63966e8c2b262b1f9d4a5545dbdd00e97a4c68', class: "refresher-pulling" }, this.pullingIcon && hasSpinner && (h("div", { key: 'd4c8fa7151cee666520a40050c58f6e8201b14a5', class: "refresher-pulling-icon" }, h("div", { key: '2f45a17fe5fe51e81e2d7bd580fd60ce754c5989', class: "spinner-arrow-container" }, h("ion-spinner", { key: '210cd5f152453a283dbc579f545c683e3af84ea3', name: this.pullingIcon, paused: true }), (theme === 'md' || theme === 'ionic') && this.pullingIcon === 'circular' && (h("div", { key: '060c8d531e90478121113f59989ac29809f48947', class: "arrow-container" }, h("ion-icon", { key: '7c30ddd2c1a6e2274e7d57f792733017c663197b', icon: arrowIcon, "aria-hidden": "true" })))))), this.pullingIcon && !hasSpinner && (h("div", { key: '3dee253d56c871195dcd59eaedc2b867ac578319', class: "refresher-pulling-icon" }, h("ion-icon", { key: '46b859328da272449f316ea8f68f3c3dd545c2e7', icon: this.pullingIcon, lazy: false, "aria-hidden": "true" }))), this.pullingText !== undefined && this.renderPullingText()), h("div", { key: '56660f9f6cff1006c5552df3a9430124689d42cb', class: "refresher-refreshing" }, this.refreshingSpinner && (h("div", { key: 'e8232281f251e5d0d22972fa8e38176edc3d9e5d', class: "refresher-refreshing-icon" }, h("ion-spinner", { key: '70f42df444c4669f393137f218ba9d635f76a26c', 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: 'ba59a095c200b70c6d847dc7362d52b315dc853a', class: {
|
|
47
47
|
[theme]: true,
|
|
48
|
-
} }, h("slot", { key: '
|
|
48
|
+
} }, h("slot", { key: '79be263f78cc21c9c4f91326e557e65849ab1e51' }, h("ion-icon", { key: '6e5c47c8bbd33f5cd405a5fd531831cb87c8e57e', 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: 'df12858536c409c76552fe79b88827b3c4a5d9c5', 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: '502ce1841747f255dfab542914bebd0d0f4ae9bd', 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: '518b86cf40eb95e03f75a20ff44fff804ac8ec4d', 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: 'dbf3cc12752b4fa2d3873723a8ea5a30b053d261' }, attrs), h("slot", { key: '9614e46a8d35201937f1f9a39b88f71b78efa7a0' }))));
|
|
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: '3f107f085a977b4d27c7266771a9564e3219f736' });
|
|
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: '6f5dd5032485a69ddf9510e2e539a7ba90afda47', class: {
|
|
14
14
|
[theme]: true,
|
|
15
|
-
} }, h("slot", { key: '
|
|
15
|
+
} }, h("slot", { key: '994dcbbc871d606b61ff5993fb29aa1fa349c483' })));
|
|
16
16
|
}
|
|
17
17
|
static get is() { return "ion-row"; }
|
|
18
18
|
static get encapsulation() { return "shadow"; }
|
|
@@ -531,8 +531,8 @@ export class Searchbar {
|
|
|
531
531
|
const shouldShowCancelButton = this.shouldShowCancelButton();
|
|
532
532
|
const shape = this.getShape();
|
|
533
533
|
const size = this.getSize();
|
|
534
|
-
const cancelButton = this.showCancelButton !== 'never' && (h("button", { key: '
|
|
535
|
-
return (h(Host, { key: '
|
|
534
|
+
const cancelButton = this.showCancelButton !== 'never' && (h("button", { key: '3f7daa2a4ec57132e8baf591542569338e7ec9c8', "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: 'f214142fec5644d91eae82644558e6b817094957', "aria-hidden": "true" }, theme === 'md' || theme === 'ionic' ? (h("ion-icon", { "aria-hidden": "true", icon: searchbarCancelIcon, lazy: false })) : (cancelButtonText))));
|
|
535
|
+
return (h(Host, { key: '47e075305f28373fffab3e006ab4014da6dfb0c8', role: "search", "aria-disabled": this.disabled ? 'true' : null, class: createColorClasses(this.color, {
|
|
536
536
|
[theme]: true,
|
|
537
537
|
'searchbar-animated': animated,
|
|
538
538
|
'searchbar-disabled': this.disabled,
|
|
@@ -546,14 +546,14 @@ export class Searchbar {
|
|
|
546
546
|
[`searchbar-shape-${shape}`]: shape !== undefined,
|
|
547
547
|
[`searchbar-size-${size}`]: size !== undefined,
|
|
548
548
|
'in-toolbar': hostContext('ion-toolbar', this.el),
|
|
549
|
-
}) }, h("div", { key: '
|
|
549
|
+
}) }, h("div", { key: '14b271ab3eebf1b651a8cfd758c7880b548bb98d', class: "searchbar-input-container" }, h("input", Object.assign({ key: 'f84a9435002eba2084ce0269fa3c926b7c03209d', "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: 'e1c7a66dba99591b0e3df5966acd027a561ee0ca', "aria-hidden": "true", icon: searchbarSearchIcon, lazy: false, class: "searchbar-search-icon" })), this.shouldShowClearButton() && (h("button", { key: 'bf55ac02128e22f9d303e75b9289c251bd582cdd', "aria-label": "reset", type: "button", "no-blur": true, class: "searchbar-clear-button", onPointerDown: (ev) => {
|
|
550
550
|
/**
|
|
551
551
|
* This prevents mobile browsers from
|
|
552
552
|
* blurring the input when the clear
|
|
553
553
|
* button is activated.
|
|
554
554
|
*/
|
|
555
555
|
ev.preventDefault();
|
|
556
|
-
}, onClick: () => this.onClearInput(true) }, h("ion-icon", { key: '
|
|
556
|
+
}, onClick: () => this.onClearInput(true) }, h("ion-icon", { key: '1ce87193499ccb682ad115a64cc5579e9bb586c9', "aria-hidden": "true", icon: searchbarClearIcon, lazy: false, class: "searchbar-clear-icon" })))), theme === 'ios' && cancelButton));
|
|
557
557
|
}
|
|
558
558
|
static get is() { return "ion-searchbar"; }
|
|
559
559
|
static get encapsulation() { return "scoped"; }
|
|
@@ -544,14 +544,14 @@ export class Segment {
|
|
|
544
544
|
}
|
|
545
545
|
render() {
|
|
546
546
|
const theme = getIonTheme(this);
|
|
547
|
-
return (h(Host, { key: '
|
|
547
|
+
return (h(Host, { key: '578d4eb20a89742c8c3cb3109fe62a5fdf87b089', role: "tablist", onClick: this.onClick, class: createColorClasses(this.color, {
|
|
548
548
|
[theme]: true,
|
|
549
549
|
'in-toolbar': hostContext('ion-toolbar', this.el),
|
|
550
550
|
'in-toolbar-color': hostContext('ion-toolbar[color]', this.el),
|
|
551
551
|
'segment-activated': this.activated,
|
|
552
552
|
'segment-disabled': this.disabled,
|
|
553
553
|
'segment-scrollable': this.scrollable,
|
|
554
|
-
}) }, h("slot", { key: '
|
|
554
|
+
}) }, h("slot", { key: '4b9999c95622773aea0c1bf3d1ab9dc650efb5eb', onSlotchange: this.onSlottedItemsChange })));
|
|
555
555
|
}
|
|
556
556
|
static get is() { return "ion-segment"; }
|
|
557
557
|
static get encapsulation() { return "shadow"; }
|
|
@@ -112,7 +112,7 @@ export class SegmentButton {
|
|
|
112
112
|
const { checked, type, disabled, hasIcon, hasLabel, layout, segmentEl } = this;
|
|
113
113
|
const theme = getIonTheme(this);
|
|
114
114
|
const hasSegmentColor = () => (segmentEl === null || segmentEl === void 0 ? void 0 : segmentEl.color) !== undefined;
|
|
115
|
-
return (h(Host, { key: '
|
|
115
|
+
return (h(Host, { key: '75eeffd15e3581c15f48a0b12cbf5a4229b087d6', class: {
|
|
116
116
|
[theme]: true,
|
|
117
117
|
'in-toolbar': hostContext('ion-toolbar', this.el),
|
|
118
118
|
'in-toolbar-color': hostContext('ion-toolbar[color]', this.el),
|
|
@@ -128,7 +128,7 @@ export class SegmentButton {
|
|
|
128
128
|
'ion-activatable': true,
|
|
129
129
|
'ion-activatable-instant': true,
|
|
130
130
|
'ion-focusable': true,
|
|
131
|
-
} }, h("button", Object.assign({ key: '
|
|
131
|
+
} }, h("button", Object.assign({ key: '701fd86647377f744d91eb92427c73583d229253', "aria-selected": checked ? 'true' : 'false', role: "tab", ref: (el) => (this.nativeEl = el), type: type, class: "button-native", part: "native", disabled: disabled }, this.inheritedAttributes), h("span", { key: '63634d3e500312c847194551996a2897610e0cc7', class: "button-inner" }, h("slot", { key: '89963e233c9a7ea84b7262ab84db6edbe76ee95e' })), theme === 'md' && h("ion-ripple-effect", { key: '9d766c3d48c0b2ba50ab03f2279ccf710973bbba' })), h("div", { key: 'a70f2d1a57cca4e04b00b36a6b47eb93ef4cb26e', part: "indicator", class: "segment-button-indicator segment-button-indicator-animated" }, h("div", { key: 'aff9931755a1f643147bf0e7d2be29b35d8f9d41', part: "indicator-background", class: "segment-button-indicator-background" }))));
|
|
132
132
|
}
|
|
133
133
|
static get is() { return "ion-segment-button"; }
|
|
134
134
|
static get encapsulation() { return "shadow"; }
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
import { Host, h } from "@stencil/core";
|
|
5
5
|
export class SegmentContent {
|
|
6
6
|
render() {
|
|
7
|
-
return (h(Host, { key: '
|
|
7
|
+
return (h(Host, { key: '81cc29460a17c32592fbf9fca6242f4bb1738aa6' }, h("slot", { key: '4f718420caf11c6672642fcf1a1bdb7f48d6cdfc' })));
|
|
8
8
|
}
|
|
9
9
|
static get is() { return "ion-segment-content"; }
|
|
10
10
|
static get encapsulation() { return "shadow"; }
|
|
@@ -99,10 +99,10 @@ export class SegmentView {
|
|
|
99
99
|
}
|
|
100
100
|
render() {
|
|
101
101
|
const { disabled, isManualScroll } = this;
|
|
102
|
-
return (h(Host, { key: '
|
|
102
|
+
return (h(Host, { key: 'caf57037127fff688f45edd7c27018fc1d8cc689', class: {
|
|
103
103
|
'segment-view-disabled': disabled,
|
|
104
104
|
'segment-view-scroll-disabled': isManualScroll === false,
|
|
105
|
-
} }, h("slot", { key: '
|
|
105
|
+
} }, h("slot", { key: 'f93d19747ed3f04ee5a966412f62f2900ee45480' })));
|
|
106
106
|
}
|
|
107
107
|
static get is() { return "ion-segment-view"; }
|
|
108
108
|
static get encapsulation() { return "shadow"; }
|
|
@@ -853,7 +853,7 @@ export class Select {
|
|
|
853
853
|
* TODO(FW-5592): Remove hasStartEndSlots condition
|
|
854
854
|
*/
|
|
855
855
|
const labelShouldFloat = labelPlacement === 'stacked' || (labelPlacement === 'floating' && (hasValue || isExpanded || hasStartEndSlots));
|
|
856
|
-
return (h(Host, { key: '
|
|
856
|
+
return (h(Host, { key: '1ab6cf909651f167800bb3398a1522c360d03023', onClick: this.onClick, class: createColorClasses(this.color, {
|
|
857
857
|
[theme]: true,
|
|
858
858
|
'in-item': inItem,
|
|
859
859
|
'in-item-color': hostContext('ion-item.ion-color', el),
|
|
@@ -872,7 +872,7 @@ export class Select {
|
|
|
872
872
|
[`select-shape-${shape}`]: shape !== undefined,
|
|
873
873
|
[`select-label-placement-${labelPlacement}`]: true,
|
|
874
874
|
[`select-size-${size}`]: size !== undefined,
|
|
875
|
-
}) }, h("label", { key: '
|
|
875
|
+
}) }, h("label", { key: '9a78e88197abc7bc4d9fb8f42a56172ee50fcb64', class: "select-wrapper", id: "select-label", onClick: this.onLabelClick }, this.renderLabelContainer(), h("div", { key: '51e1ec9bfb08344c8d1ff2fb08ead29ece3fbe6d', class: "select-wrapper-inner" },
|
|
876
876
|
/**
|
|
877
877
|
* For the ionic theme, we render the outline container here
|
|
878
878
|
* instead of higher up, so it can be positioned relative to
|
|
@@ -882,7 +882,7 @@ export class Select {
|
|
|
882
882
|
* <label> element, ensuring that clicking the label text
|
|
883
883
|
* focuses the select.
|
|
884
884
|
*/
|
|
885
|
-
theme === 'ionic' && fill === 'outline' && h("div", { key: '
|
|
885
|
+
theme === 'ionic' && fill === 'outline' && h("div", { key: '9008f743f2cbeac39cb736e285854e855625f45d', class: "select-outline" }), h("slot", { key: 'a5c981053510d9b19d9097fb0b220d9eaccd61d7', name: "start" }), h("div", { key: '80ba2091466f912ee63a3e4c11334b657f8d9b3d', class: "native-wrapper", ref: (el) => (this.nativeWrapperEl = el), part: "container" }, this.renderSelectText(), this.renderListbox()), h("slot", { key: '18b657eee882ac2b63c945843d1035f26474aa58', name: "end" }), shouldRenderInnerIcon && this.renderSelectIcon()), shouldRenderOuterIcon && this.renderSelectIcon(), shouldRenderHighlight && h("div", { key: '84630c4f5716fd87400da571aa3cf6c1d624694e', class: "select-highlight" })), this.renderBottomContent()));
|
|
886
886
|
}
|
|
887
887
|
static get is() { return "ion-select"; }
|
|
888
888
|
static get encapsulation() { return "shadow"; }
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
import { getIonMode } from "../../global/ionic-global";
|
|
5
5
|
import { Host, forceUpdate, h } from "@stencil/core";
|
|
6
6
|
import { safeCall } from "../../utils/overlays";
|
|
7
|
-
import { getClassMap } from "../../utils/theme";
|
|
7
|
+
import { getClassMap, hostContext } from "../../utils/theme";
|
|
8
8
|
export class SelectModal {
|
|
9
9
|
constructor() {
|
|
10
10
|
this.options = [];
|
|
@@ -47,6 +47,13 @@ export class SelectModal {
|
|
|
47
47
|
option.checked = ev.detail.checked;
|
|
48
48
|
}
|
|
49
49
|
}
|
|
50
|
+
getModalContextClasses() {
|
|
51
|
+
const el = this.el;
|
|
52
|
+
return {
|
|
53
|
+
'in-modal-default': hostContext('ion-modal.modal-default', el),
|
|
54
|
+
'in-modal-sheet': hostContext('ion-modal.modal-sheet', el),
|
|
55
|
+
};
|
|
56
|
+
}
|
|
50
57
|
renderRadioOptions() {
|
|
51
58
|
const checked = this.options.filter((o) => o.checked).map((o) => o.value)[0];
|
|
52
59
|
return (h("ion-radio-group", { value: checked, onIonChange: (ev) => this.callOptionHandler(ev) }, this.options.map((option) => (h("ion-item", { lines: "none", class: Object.assign({
|
|
@@ -75,7 +82,7 @@ export class SelectModal {
|
|
|
75
82
|
} }, option.text))));
|
|
76
83
|
}
|
|
77
84
|
render() {
|
|
78
|
-
return (h(Host, { key: '
|
|
85
|
+
return (h(Host, { key: '2ceb196accee272559c43225a859befa68027333', class: Object.assign({ [getIonMode(this)]: true }, this.getModalContextClasses()) }, h("ion-header", { key: 'b0176847bd9ce94e28d72766d6a035a93ff6f10a' }, h("ion-toolbar", { key: '49c2b1cf8e82b1d975cca67b154b149823b47b1f' }, this.header !== undefined && h("ion-title", { key: 'fdc881fd94c07ca38d60e85170d176c7cf4139fb' }, this.header), h("ion-buttons", { key: '8dfc972aa974909ecf2e5782e972b959a900f8c5', slot: "end" }, h("ion-button", { key: 'b862896118bd4da0afc17925eab9dc9ed5269220', onClick: () => this.closeModal() }, "Close")))), h("ion-content", { key: 'a7f5bf8f88377d978d2c7bdba3abefcc332296a3' }, h("ion-list", { key: '23529677979b9ac63e2cba8d55f7f965489b74c5' }, this.multiple === true ? this.renderCheckboxOptions() : this.renderRadioOptions()))));
|
|
79
86
|
}
|
|
80
87
|
static get is() { return "ion-select-modal"; }
|
|
81
88
|
static get encapsulation() { return "scoped"; }
|
|
@@ -17,7 +17,7 @@ export class SelectOption {
|
|
|
17
17
|
}
|
|
18
18
|
render() {
|
|
19
19
|
const theme = getIonTheme(this);
|
|
20
|
-
return (h(Host, { key: '
|
|
20
|
+
return (h(Host, { key: '39af595655b3645c923617fe4d4fa64112008273', class: {
|
|
21
21
|
[theme]: true,
|
|
22
22
|
}, role: "option", id: this.inputId }));
|
|
23
23
|
}
|
|
@@ -105,9 +105,9 @@ export class SelectPopover {
|
|
|
105
105
|
const { header, message, options, subHeader } = this;
|
|
106
106
|
const hasSubHeaderOrMessage = subHeader !== undefined || message !== undefined;
|
|
107
107
|
const theme = getIonTheme(this);
|
|
108
|
-
return (h(Host, { key: '
|
|
108
|
+
return (h(Host, { key: '9b5160e6657620038fb4167ab7d08e2687be554b', class: {
|
|
109
109
|
[theme]: true,
|
|
110
|
-
} }, h("ion-list", { key: '
|
|
110
|
+
} }, h("ion-list", { key: '5f015bcc53bf96de3da98f05a73c6e1e7bc3250c' }, header !== undefined && h("ion-list-header", { key: 'e7275a4b3b0b8706b6a89ed9fd4bf1bb6cf274a8' }, header), hasSubHeaderOrMessage && (h("ion-item", { key: 'ca5750144abaf01d613f7ff4923939e6d6f4c0c8' }, h("ion-label", { key: '299735684f529e05f08405b6587dec23fb8d2851', class: "ion-text-wrap" }, subHeader !== undefined && h("h3", { key: 'af85ac2c17050eca4902811a886e7001b92701fe' }, subHeader), message !== undefined && h("p", { key: 'f64006af8f2ffaf41d6d21701efa2d40580796e0' }, message)))), this.renderOptions(options))));
|
|
111
111
|
}
|
|
112
112
|
static get is() { return "ion-select-popover"; }
|
|
113
113
|
static get encapsulation() { return "scoped"; }
|
|
@@ -32,11 +32,11 @@ export class SkeletonText {
|
|
|
32
32
|
const animated = this.animated && config.getBoolean('animated', true);
|
|
33
33
|
const inMedia = hostContext('ion-avatar', this.el) || hostContext('ion-thumbnail', this.el);
|
|
34
34
|
const theme = getIonTheme(this);
|
|
35
|
-
return (h(Host, { key: '
|
|
35
|
+
return (h(Host, { key: '5014563646b6c5213750d503babce3013b66ec96', class: {
|
|
36
36
|
[theme]: true,
|
|
37
37
|
'skeleton-text-animated': animated,
|
|
38
38
|
'in-media': inMedia,
|
|
39
|
-
} }, h("span", { key: '
|
|
39
|
+
} }, h("span", { key: '4b816883b1c71bb1db66d8b2b084559f7cb489bd' }, "\u00A0")));
|
|
40
40
|
}
|
|
41
41
|
static get is() { return "ion-skeleton-text"; }
|
|
42
42
|
static get encapsulation() { return "shadow"; }
|
|
@@ -56,7 +56,7 @@ export class Spinner {
|
|
|
56
56
|
svgs.push(buildLine(spinner, duration, i, spinner.lines));
|
|
57
57
|
}
|
|
58
58
|
}
|
|
59
|
-
return (h(Host, { key: '
|
|
59
|
+
return (h(Host, { key: '0b3ce4b99c2c828d05b507c4f073811ebbe17d0f', class: createColorClasses(self.color, {
|
|
60
60
|
[theme]: true,
|
|
61
61
|
[`spinner-${spinnerName}`]: true,
|
|
62
62
|
'spinner-paused': self.paused || config.getBoolean('_testing'),
|
|
@@ -130,12 +130,12 @@ export class SplitPane {
|
|
|
130
130
|
}
|
|
131
131
|
render() {
|
|
132
132
|
const theme = getIonTheme(this);
|
|
133
|
-
return (h(Host, { key: '
|
|
133
|
+
return (h(Host, { key: '9d0c67f1f81b09bb9a6f14a66053e5cc7431a286', class: {
|
|
134
134
|
[theme]: true,
|
|
135
135
|
// Used internally for styling
|
|
136
136
|
[`split-pane-${theme}`]: true,
|
|
137
137
|
'split-pane-visible': this.visible,
|
|
138
|
-
} }, h("slot", { key: '
|
|
138
|
+
} }, h("slot", { key: 'ab7b3050d3c5484bd00949cf57efa4396b4d5bc3' })));
|
|
139
139
|
}
|
|
140
140
|
static get is() { return "ion-split-pane"; }
|
|
141
141
|
static get encapsulation() { return "shadow"; }
|
|
@@ -51,10 +51,10 @@ export class Tab {
|
|
|
51
51
|
}
|
|
52
52
|
render() {
|
|
53
53
|
const { tab, active, component } = this;
|
|
54
|
-
return (h(Host, { key: '
|
|
54
|
+
return (h(Host, { key: 'b249545a5adfcef4616afe79aa0f215bab464d0a', role: "tabpanel", "aria-hidden": !active ? 'true' : null, "aria-labelledby": `tab-button-${tab}`, class: {
|
|
55
55
|
'ion-page': component === undefined,
|
|
56
56
|
'tab-hidden': !active,
|
|
57
|
-
} }, h("slot", { key: '
|
|
57
|
+
} }, h("slot", { key: '19e2a406d96d20d8d4af8c3ff900e975d06021f6' })));
|
|
58
58
|
}
|
|
59
59
|
static get is() { return "ion-tab"; }
|
|
60
60
|
static get encapsulation() { return "shadow"; }
|
|
@@ -78,13 +78,13 @@ export class TabBar {
|
|
|
78
78
|
const theme = getIonTheme(this);
|
|
79
79
|
const shape = this.getShape();
|
|
80
80
|
const shouldHide = keyboardVisible && this.el.getAttribute('slot') !== 'top';
|
|
81
|
-
return (h(Host, { key: '
|
|
81
|
+
return (h(Host, { key: '21c2a3f3a8ea77cc2c757c37bb8ccad2016c3c4c', role: "tablist", "aria-hidden": shouldHide ? 'true' : null, class: createColorClasses(color, {
|
|
82
82
|
[theme]: true,
|
|
83
83
|
'tab-bar-translucent': translucent,
|
|
84
84
|
'tab-bar-hidden': shouldHide,
|
|
85
85
|
[`tab-bar-${expand}`]: true,
|
|
86
86
|
[`tab-bar-${shape}`]: shape !== undefined,
|
|
87
|
-
}) }, h("slot", { key: '
|
|
87
|
+
}) }, h("slot", { key: '3b6784b6f6206efcd69327bd224e10ff6225222b' })));
|
|
88
88
|
}
|
|
89
89
|
static get is() { return "ion-tab-bar"; }
|
|
90
90
|
static get encapsulation() { return "shadow"; }
|
|
@@ -84,7 +84,7 @@ export class TabButton {
|
|
|
84
84
|
rel,
|
|
85
85
|
target,
|
|
86
86
|
};
|
|
87
|
-
return (h(Host, { key: '
|
|
87
|
+
return (h(Host, { key: '848ea6fa1aff3e7ac9add43a6acb50759653c13b', onClick: this.onClick, onKeyup: this.onKeyUp, id: tab !== undefined ? `tab-button-${tab}` : null, class: {
|
|
88
88
|
[theme]: true,
|
|
89
89
|
'tab-selected': selected,
|
|
90
90
|
'tab-disabled': disabled,
|
|
@@ -97,7 +97,7 @@ export class TabButton {
|
|
|
97
97
|
'ion-selectable': true,
|
|
98
98
|
[`tab-button-shape-${shape}`]: shape !== undefined,
|
|
99
99
|
'ion-focusable': true,
|
|
100
|
-
} }, h("a", Object.assign({ key: '
|
|
100
|
+
} }, h("a", Object.assign({ key: 'f6081f8ef0220a2b5e232f6b51da8538d68a3e80' }, attrs, { class: "button-native", part: "native", role: "tab", "aria-selected": selected ? 'true' : null, "aria-disabled": disabled ? 'true' : null, tabindex: disabled ? '-1' : undefined }, inheritedAttributes), h("span", { key: 'ed8af45092210cfd868adb4eb57dfc6e13a873a0', class: "button-inner" }, h("slot", { key: '253fcce3a920b9d2cae5af2a14872b1e127c7d62' })), theme === 'md' && h("ion-ripple-effect", { key: '5161991db4e08d16da5d0838fe2aee145afd91ad', type: "unbounded" }))));
|
|
101
101
|
}
|
|
102
102
|
static get is() { return "ion-tab-button"; }
|
|
103
103
|
static get encapsulation() { return "shadow"; }
|
|
@@ -166,7 +166,7 @@ export class Tabs {
|
|
|
166
166
|
return Array.from(this.el.querySelectorAll('ion-tab'));
|
|
167
167
|
}
|
|
168
168
|
render() {
|
|
169
|
-
return (h(Host, { key: '
|
|
169
|
+
return (h(Host, { key: '36ea7975bf456a6a874d9701a7e81275d85bc4d9', onIonTabButtonClick: this.onTabClicked }, h("slot", { key: 'f4765050fa4b9092b25ea839ad2d10fab7a95bfd', name: "top" }), h("div", { key: 'af7f7caaad51bc7b5fc3ab4ce51e00b067ad002e', class: "tabs-inner" }, h("slot", { key: '1f83638b73c6f9a2a146b32aa07a230e4f65d017' })), h("slot", { key: '8db364ec5fa354682de09a3103b071c0f8bb6b50', name: "bottom" })));
|
|
170
170
|
}
|
|
171
171
|
static get is() { return "ion-tabs"; }
|
|
172
172
|
static get encapsulation() { return "shadow"; }
|