@ionic/core 8.7.6-dev.11762446926.123acdf7 → 8.7.6-dev.11762860091.168e634c
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 +3 -3
- package/components/ion-tab-button.js +3 -3
- 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 +6 -6
- 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.ionic.css +16 -1
- package/dist/collection/components/tab-bar/tab-bar.js +2 -2
- package/dist/collection/components/tab-button/tab-button.ionic.css +1 -0
- 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 +6 -6
- 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-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-734b6dc2.entry.js +4 -0
- 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 +177 -168
- package/hydrate/index.mjs +177 -168
- 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-77da86d1.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
|
@@ -10,12 +10,13 @@ import { getIonTheme } from "../../global/ionic-global";
|
|
|
10
10
|
export class CardContent {
|
|
11
11
|
render() {
|
|
12
12
|
const theme = getIonTheme(this);
|
|
13
|
-
return (h(Host, { key: '
|
|
13
|
+
return (h(Host, { key: '9e0a23306b43bafffd82900a4da7e020fe45c04f', class: {
|
|
14
14
|
[theme]: true,
|
|
15
|
-
|
|
15
|
+
// Used internally for styling
|
|
16
|
+
[`card-content-${theme}`]: true,
|
|
17
|
+
} }));
|
|
16
18
|
}
|
|
17
19
|
static get is() { return "ion-card-content"; }
|
|
18
|
-
static get encapsulation() { return "shadow"; }
|
|
19
20
|
static get originalStyleUrls() {
|
|
20
21
|
return {
|
|
21
22
|
"ios": ["card-content.ios.scss"],
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
ion-card-content {
|
|
2
2
|
position: relative;
|
|
3
3
|
}
|
|
4
4
|
|
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
* }
|
|
64
64
|
* }
|
|
65
65
|
*/
|
|
66
|
-
|
|
66
|
+
ion-card-content {
|
|
67
67
|
display: block;
|
|
68
68
|
}
|
|
69
69
|
|
|
@@ -128,7 +128,7 @@
|
|
|
128
128
|
* }
|
|
129
129
|
* }
|
|
130
130
|
*/
|
|
131
|
-
|
|
131
|
+
.card-content-md {
|
|
132
132
|
-webkit-padding-start: 16px;
|
|
133
133
|
padding-inline-start: 16px;
|
|
134
134
|
-webkit-padding-end: 16px;
|
|
@@ -138,8 +138,7 @@
|
|
|
138
138
|
font-size: 0.875rem;
|
|
139
139
|
line-height: 1.5;
|
|
140
140
|
}
|
|
141
|
-
|
|
142
|
-
::slotted(h1) {
|
|
141
|
+
.card-content-md h1 {
|
|
143
142
|
margin-left: 0;
|
|
144
143
|
margin-right: 0;
|
|
145
144
|
margin-top: 0;
|
|
@@ -147,8 +146,7 @@
|
|
|
147
146
|
font-size: 1.5rem;
|
|
148
147
|
font-weight: normal;
|
|
149
148
|
}
|
|
150
|
-
|
|
151
|
-
::slotted(h2) {
|
|
149
|
+
.card-content-md h2 {
|
|
152
150
|
margin-left: 0;
|
|
153
151
|
margin-right: 0;
|
|
154
152
|
margin-top: 2px;
|
|
@@ -156,11 +154,10 @@
|
|
|
156
154
|
font-size: 1rem;
|
|
157
155
|
font-weight: normal;
|
|
158
156
|
}
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
::slotted(h6) {
|
|
157
|
+
.card-content-md h3,
|
|
158
|
+
.card-content-md h4,
|
|
159
|
+
.card-content-md h5,
|
|
160
|
+
.card-content-md h6 {
|
|
164
161
|
margin-left: 0;
|
|
165
162
|
margin-right: 0;
|
|
166
163
|
margin-top: 2px;
|
|
@@ -168,8 +165,7 @@
|
|
|
168
165
|
font-size: 0.875rem;
|
|
169
166
|
font-weight: normal;
|
|
170
167
|
}
|
|
171
|
-
|
|
172
|
-
::slotted(p) {
|
|
168
|
+
.card-content-md p {
|
|
173
169
|
margin-left: 0;
|
|
174
170
|
margin-right: 0;
|
|
175
171
|
margin-top: 0;
|
|
@@ -177,4 +173,8 @@
|
|
|
177
173
|
font-size: 0.875rem;
|
|
178
174
|
font-weight: normal;
|
|
179
175
|
line-height: 1.5;
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
ion-card-header + .card-content-md {
|
|
179
|
+
padding-top: 0;
|
|
180
180
|
}
|
|
@@ -19,11 +19,11 @@ export class CardHeader {
|
|
|
19
19
|
}
|
|
20
20
|
render() {
|
|
21
21
|
const theme = getIonTheme(this);
|
|
22
|
-
return (h(Host, { key: '
|
|
22
|
+
return (h(Host, { key: '2d5d1399c54960f0ccb114a6aaddd7ff16d3d091', class: createColorClasses(this.color, {
|
|
23
23
|
'card-header-translucent': this.translucent,
|
|
24
24
|
'ion-inherit-color': true,
|
|
25
25
|
[theme]: true,
|
|
26
|
-
}) }, h("slot", { key: '
|
|
26
|
+
}) }, h("slot", { key: 'aae02f8bcd357d741990353cc09dafcbce3139c5' })));
|
|
27
27
|
}
|
|
28
28
|
static get is() { return "ion-card-header"; }
|
|
29
29
|
static get encapsulation() { return "shadow"; }
|
|
@@ -11,10 +11,10 @@ import { getIonTheme } from "../../global/ionic-global";
|
|
|
11
11
|
export class CardSubtitle {
|
|
12
12
|
render() {
|
|
13
13
|
const theme = getIonTheme(this);
|
|
14
|
-
return (h(Host, { key: '
|
|
14
|
+
return (h(Host, { key: '91e326f598ccf4f2c6b3030cbdb69b065d9a8434', role: "heading", "aria-level": "3", class: createColorClasses(this.color, {
|
|
15
15
|
'ion-inherit-color': true,
|
|
16
16
|
[theme]: true,
|
|
17
|
-
}) }, h("slot", { key: '
|
|
17
|
+
}) }, h("slot", { key: 'b23b77de6877e1e1212bc624410ad4d0ce4727a9' })));
|
|
18
18
|
}
|
|
19
19
|
static get is() { return "ion-card-subtitle"; }
|
|
20
20
|
static get encapsulation() { return "shadow"; }
|
|
@@ -11,10 +11,10 @@ import { getIonTheme } from "../../global/ionic-global";
|
|
|
11
11
|
export class CardTitle {
|
|
12
12
|
render() {
|
|
13
13
|
const theme = getIonTheme(this);
|
|
14
|
-
return (h(Host, { key: '
|
|
14
|
+
return (h(Host, { key: 'abcd0c06a8afd4b358442588a0171354c4b24b45', role: "heading", "aria-level": "2", class: createColorClasses(this.color, {
|
|
15
15
|
'ion-inherit-color': true,
|
|
16
16
|
[theme]: true,
|
|
17
|
-
}) }, h("slot", { key: '
|
|
17
|
+
}) }, h("slot", { key: '8bf45935b7d625d379d7fb6e87fc9db7dddd15f9' })));
|
|
18
18
|
}
|
|
19
19
|
static get is() { return "ion-card-title"; }
|
|
20
20
|
static get encapsulation() { return "shadow"; }
|
|
@@ -157,7 +157,7 @@ export class Checkbox {
|
|
|
157
157
|
renderHiddenInput(true, el, name, checked ? value : '', disabled);
|
|
158
158
|
// The host element must have a checkbox role to ensure proper VoiceOver
|
|
159
159
|
// support in Safari for accessibility.
|
|
160
|
-
return (h(Host, { key: '
|
|
160
|
+
return (h(Host, { key: 'd6cffe4c15f84f1d80996b152e24a27410f67974', role: "checkbox", "aria-checked": indeterminate ? 'mixed' : `${checked}`, "aria-describedby": this.getHintTextID(), "aria-invalid": this.getHintTextID() === this.errorTextId, "aria-labelledby": hasLabelContent ? this.inputLabelId : null, "aria-label": inheritedAttributes['aria-label'] || null, "aria-disabled": disabled ? 'true' : null, tabindex: disabled ? undefined : 0, onKeyDown: this.onKeyDown, class: createColorClasses(color, {
|
|
161
161
|
[theme]: true,
|
|
162
162
|
'in-item': hostContext('ion-item', el),
|
|
163
163
|
'checkbox-checked': checked,
|
|
@@ -170,10 +170,10 @@ export class Checkbox {
|
|
|
170
170
|
[`checkbox-label-placement-${labelPlacement}`]: true,
|
|
171
171
|
[`checkbox-size-${size}`]: size !== undefined,
|
|
172
172
|
[`checkbox-shape-${shape}`]: true,
|
|
173
|
-
}), onClick: this.onClick }, h("label", { key: '
|
|
173
|
+
}), onClick: this.onClick }, h("label", { key: '8718460c6d837cc85dd4abc499e272dd54c99123', class: "checkbox-wrapper", htmlFor: inputId }, h("input", Object.assign({ key: '5890992eab61c5559fc07fd2c8376ffe2f832d30', type: "checkbox", checked: checked ? true : undefined, disabled: disabled, id: inputId, onChange: this.toggleChecked, onFocus: () => this.onFocus(), onBlur: () => this.onBlur(), ref: (focusEl) => (this.focusEl = focusEl), required: required }, inheritedAttributes)), h("div", { key: '31393af0106b916dac2cee77fa481e3d5693b3b5', class: {
|
|
174
174
|
'label-text-wrapper': true,
|
|
175
175
|
'label-text-wrapper-hidden': !hasLabelContent,
|
|
176
|
-
}, part: "label", id: this.inputLabelId, onClick: this.onDivLabelClick }, h("slot", { key: '
|
|
176
|
+
}, part: "label", id: this.inputLabelId, onClick: this.onDivLabelClick }, h("slot", { key: 'd4fc48668b7b07e6d9f227bd1bf41482602fdbe6' }), this.renderHintText()), h("div", { key: '02758e75d81616e5ffa764b5e6d7f3137473a408', class: "native-wrapper" }, h("svg", { key: '770fd7b860b07cd8d174337b90e5d4d24d175268', class: "checkbox-icon", viewBox: theme === 'ionic' ? '0 0 256 256' : '0 0 24 24', part: "container", "aria-hidden": "true" }, path)))));
|
|
177
177
|
}
|
|
178
178
|
getSVGPath(theme, indeterminate) {
|
|
179
179
|
let path = indeterminate ? (h("path", { d: "M6 12L18 12", part: "mark" })) : (h("path", { d: "M5.9,12.5l3.8,3.8l8.8-8.8", part: "mark" }));
|
|
@@ -56,7 +56,7 @@ export class Chip {
|
|
|
56
56
|
const theme = getIonTheme(this);
|
|
57
57
|
const size = this.getSize();
|
|
58
58
|
const shape = this.getShape();
|
|
59
|
-
return (h(Host, { key: '
|
|
59
|
+
return (h(Host, { key: 'ea96c8086760e827848fc37d9a2b910a621ad293', "aria-disabled": this.disabled ? 'true' : null, class: createColorClasses(this.color, {
|
|
60
60
|
[theme]: true,
|
|
61
61
|
[`chip-${shape}`]: true,
|
|
62
62
|
'chip-outline': this.outline,
|
|
@@ -65,7 +65,7 @@ export class Chip {
|
|
|
65
65
|
'ion-focusable': !this.disabled,
|
|
66
66
|
[`chip-${size}`]: size !== undefined,
|
|
67
67
|
[`chip-${hue}`]: hue !== undefined,
|
|
68
|
-
}) }, h("slot", { key: '
|
|
68
|
+
}) }, h("slot", { key: 'e6ba1a4993a63ffb72829ce946f64c5a494004dc' }), theme === 'md' && h("ion-ripple-effect", { key: '27e4540c9402d3b65ab0aa4f12b4d5ca44ab0f25' })));
|
|
69
69
|
}
|
|
70
70
|
static get is() { return "ion-chip"; }
|
|
71
71
|
static get encapsulation() { return "shadow"; }
|
|
@@ -80,12 +80,12 @@ export class Col {
|
|
|
80
80
|
const colSize = this.getSizeClass();
|
|
81
81
|
const colOrder = this.getOrderClass();
|
|
82
82
|
const colOffset = this.getOffsetClass();
|
|
83
|
-
return (h(Host, { key: '
|
|
83
|
+
return (h(Host, { key: 'e4a5e41ee5cd7ef62aa32a1f4f290a3be2fae212', class: {
|
|
84
84
|
[theme]: true,
|
|
85
85
|
[`${colSize}`]: colSize !== undefined,
|
|
86
86
|
[`${colOrder}`]: colOrder !== undefined,
|
|
87
87
|
[`${colOffset}`]: colOffset !== undefined,
|
|
88
|
-
} }, h("slot", { key: '
|
|
88
|
+
} }, h("slot", { key: '7058c34c183cdad24630314ec0bedffef40a32af' })));
|
|
89
89
|
}
|
|
90
90
|
static get is() { return "ion-col"; }
|
|
91
91
|
static get encapsulation() { return "shadow"; }
|
|
@@ -364,7 +364,7 @@ export class Content {
|
|
|
364
364
|
const forceOverscroll = this.shouldForceOverscroll(mode);
|
|
365
365
|
const transitionShadow = theme === 'ios';
|
|
366
366
|
this.resize();
|
|
367
|
-
return (h(Host, Object.assign({ key: '
|
|
367
|
+
return (h(Host, Object.assign({ key: 'ee94e34dd128cb2a21ef2b370d35e099a1125447', role: isMainContent ? 'main' : undefined, class: createColorClasses(this.color, {
|
|
368
368
|
[theme]: true,
|
|
369
369
|
'content-sizing': hostContext('ion-popover', this.el),
|
|
370
370
|
overscroll: forceOverscroll,
|
|
@@ -372,12 +372,12 @@ export class Content {
|
|
|
372
372
|
}), style: {
|
|
373
373
|
'--offset-top': `${this.cTop}px`,
|
|
374
374
|
'--offset-bottom': `${this.cBottom}px`,
|
|
375
|
-
} }, inheritedAttributes), h("div", { key: '
|
|
375
|
+
} }, inheritedAttributes), h("div", { key: '75954692de33cae260441064d0c4034d818b7de6', ref: (el) => (this.backgroundContentEl = el), id: "background-content", part: "background" }), fixedSlotPlacement === 'before' ? h("slot", { name: "fixed" }) : null, h("div", { key: '374f5d2da6f15b42df0ad268c2f9a188ac6aedcb', class: {
|
|
376
376
|
'inner-scroll': true,
|
|
377
377
|
'scroll-x': scrollX,
|
|
378
378
|
'scroll-y': scrollY,
|
|
379
379
|
overscroll: (scrollX || scrollY) && forceOverscroll,
|
|
380
|
-
}, ref: (scrollEl) => (this.scrollEl = scrollEl), onScroll: this.scrollEvents ? (ev) => this.onScroll(ev) : undefined, part: "scroll" }, h("slot", { key: '
|
|
380
|
+
}, ref: (scrollEl) => (this.scrollEl = scrollEl), onScroll: this.scrollEvents ? (ev) => this.onScroll(ev) : undefined, part: "scroll" }, h("slot", { key: '625c1dc26f6b6c43ade2de6f61a92ae7a8bcbaa7' })), transitionShadow ? (h("div", { class: "transition-effect" }, h("div", { class: "transition-cover" }), h("div", { class: "transition-shadow" }))) : null, fixedSlotPlacement === 'after' ? h("slot", { name: "fixed" }) : null));
|
|
381
381
|
}
|
|
382
382
|
static get is() { return "ion-content"; }
|
|
383
383
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1733,7 +1733,7 @@ export class Datetime {
|
|
|
1733
1733
|
const hasDatePresentation = presentation === 'date' || presentation === 'date-time' || presentation === 'time-date';
|
|
1734
1734
|
const hasWheelVariant = hasDatePresentation && preferWheel;
|
|
1735
1735
|
renderHiddenInput(true, el, name, formatValue(value), disabled);
|
|
1736
|
-
return (h(Host, { key: '
|
|
1736
|
+
return (h(Host, { key: 'd87c9e8d85ae7b1c8af3c8f266b76dd8d364a446', "aria-disabled": disabled ? 'true' : null, onFocus: this.onFocus, onBlur: this.onBlur, class: Object.assign({}, createColorClasses(color, {
|
|
1737
1737
|
[theme]: true,
|
|
1738
1738
|
['datetime-readonly']: readonly,
|
|
1739
1739
|
['datetime-disabled']: disabled,
|
|
@@ -1743,7 +1743,7 @@ export class Datetime {
|
|
|
1743
1743
|
[`datetime-size-${size}`]: true,
|
|
1744
1744
|
[`datetime-prefer-wheel`]: hasWheelVariant,
|
|
1745
1745
|
[`datetime-grid`]: isGridStyle,
|
|
1746
|
-
})) }, h("div", { key: '
|
|
1746
|
+
})) }, h("div", { key: '4d2e7316268ebbadf79f00b5d85928bbeffd283d', class: "intersection-tracker", ref: (el) => (this.intersectionTrackerRef = el) }), this.renderDatetime(theme)));
|
|
1747
1747
|
}
|
|
1748
1748
|
static get is() { return "ion-datetime"; }
|
|
1749
1749
|
static get encapsulation() { return "shadow"; }
|
|
@@ -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: '2ecfe6f03acf6c81f1e650f1fee86c481e18b1bd', 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: '1aa569cc7c7522d1be720912d070299782619991', 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: '09357e2f4756bd4a842e3742af28c09baa615cc3', name: "date-target" }, dateText), theme === 'md' && h("ion-ripple-effect", { key: '36d4f288b353d1a3627045d9ea960cf943c1faee' }))), timeText && (h("button", { key: 'f66b309484b1c859b88c635e55b35dcc522bb6fd', 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: '72edee77f6bd115c664e6ed2ddeba030f5c0ee91', name: "time-target" }, timeText), theme === 'md' && h("ion-ripple-effect", { key: '98c5184fed75174d16412197aa91702e39175032' })))));
|
|
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: '387f7cb3ce69a1d4aa299f988d21d731fd5775d9', 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: 'cecfeab61e8f532a1eda36e73011f5447be63480' })));
|
|
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: '8b758c5283382f1bddd051f5a575d4952b001c50', 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: '45ce20f308b3de9c09d625d45b3f3dc7b4ee8652' })));
|
|
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: 'ffc552ad3b542e0f79e319fa86b063c3289e1a23', 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: 'acf0c99822630499b171f0873924cfe10ef41547' }, 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: '236a7340cf8213a69325716cb3b813abb627b40a', "aria-hidden": "true", icon: fabButtonCloseIcon, part: "close-icon", class: "close-icon", lazy: false }), h("span", { key: '908a53794c801a64c8cdae9b08ae75deb93a5b22', class: "button-inner" }, h("slot", { key: '41bf30e091cfcf90dcf3975a4b05a30c987e8aae' })), theme === 'md' && h("ion-ripple-effect", { key: 'b665e44a357138ef30454e267a2214356dc0fe3b' }))));
|
|
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: 'b0e984c110ea8bf4aa0daeca5f66253c9e0666fd', 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: '7bedbb010e89d1304d86c4261f5378e90741611e' })));
|
|
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: 'e70e2616f69a6205a1c2045bf13a792c9a6bc27c', 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: '72803059c1d82a766a0ce69e5a8a6a3b7e576700', class: "footer-background" }), h("slot", { key: 'de450e4eb8f5c63b11f548061f29d957ef308539' })));
|
|
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: 'f439594e1c4186e30d5b57bf3ca95c220df954fa', class: {
|
|
20
20
|
[theme]: true,
|
|
21
21
|
'grid-fixed': this.fixed,
|
|
22
|
-
} }, h("slot", { key: '
|
|
22
|
+
} }, h("slot", { key: 'e8e01f0b46a05fb3220837fbfa9f161b086c06ad' })));
|
|
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: 'f5c81cee59b635b407fcad7732c793c651edb91e', 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: 'd8373a8418756961185de934082142da01b27a26', class: "header-background" }), h("slot", { key: '9fda3dcb16fd09f7f6fa1c345d17cdf130e1e331' })));
|
|
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: '70377d0128ad109580598f5c0a19cdee1d1f8f2a', class: {
|
|
75
75
|
[theme]: true,
|
|
76
|
-
} }, h("img", { key: '
|
|
76
|
+
} }, h("img", { key: '022467667337d04384d19d78378b5cf499e1b6c9', 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: 'd2505798673c258aa017ecbe646b59105a62970d', 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: '51742937a374c43c290c20569857f617c99e1e7c', 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: '42c249b6df301004a834bb615766c38d5ab03d91', class: "infinite-loading" }, this.loadingSpinner && (h("div", { key: '7cc7aab81997ef58b914e084402f45dc3abf2ce4', class: "infinite-loading-spinner" }, h("ion-spinner", { key: '5c84df7096076580e0bb4926d377c2fac4f75c3d', 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: '83b06d3ba2deb8be1aac86573e44eb9fedaf8ebc', 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: 'd30a09196b14b7c50c81ee81b0db153a0a552ff8', class: "input-wrapper", htmlFor: inputId, onClick: this.onLabelClick }, this.renderLabelContainer(), h("div", { key: 'bd215e071a7c82b530c36bf98481b8a21bf827a8', 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: 'f77b77e9b3fa8f704f676a876abb237ade2c6a80', class: "input-outline" }), h("slot", { key: '5bf76988e97fb13db47b10a2ea9016c9db582d64', name: "start" }), h("input", Object.assign({ key: '98772c54302eb90155511e234d3c0948b46f7907', 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: 'd0adf91f18cdff60b5d5055a53fb8a1e33cda140', "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: '6fc9e8afce4d19cfbad9fb8044c32beb4a5734a5', "aria-hidden": "true", icon: inputClearIcon }))), h("slot", { key: '493645d76a65e3e469c516e1244e3ff23d9d6f29', name: "end" })), shouldRenderHighlight && h("div", { key: '270caadc085e6f30b663b2bac03495bb8ce47e42', 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: '16e1e487d2aabe8e9f84682fb50f30966179ffa6', 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: 'd7757f5984abe39da9b6320683198db040d0220e', 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: '6254cef5b2379359b319b4e573868340885e310a', class: {
|
|
617
617
|
'input-otp-description': true,
|
|
618
618
|
'input-otp-description-hidden': !hasDescription,
|
|
619
|
-
} }, h("slot", { key: '
|
|
619
|
+
} }, h("slot", { key: '4f4b63bb67a01b7618719f9bde56ef60d582e7d6' }))));
|
|
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: 'e265bb6460041189fea1812d391121a9e8dde669', class: createColorClasses(color, {
|
|
98
98
|
[mode]: true,
|
|
99
|
-
}) }, h("ion-button", { key: '
|
|
99
|
+
}) }, h("ion-button", { key: 'b7ca2e12e3b1b9a161acc002abb8f1b8efeea46e', 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: '4d5ba21325812d9c820ae26688d17ae821ffd25c', 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: 'f026528e983b0b77cd059400d961d012dec9caae', 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: '409f111b2b37782bd242af5f3205d871d85b6254', name: "start" }), h("div", { key: '6811502ae39e51104b46f4f3b272631017a91e4a', class: "item-divider-inner" }, h("div", { key: 'c7cf5918a8e8f891426fda028586b36f21909b00', class: "item-divider-wrapper" }, h("slot", { key: '7db6745917458bb6d854c0662bbf0394142d2996' })), h("slot", { key: 'bad5e02a4d4852fc6e106552b314a42842a0b2e7', 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: '3fb0784b321736344604e259cfb05c6307159bed', 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: 'c36a39053b339086ee45e30a5051256fecf1e9d6', 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: '8fa60eb0b2538cd1afe7ad26d0ba9ea0a152b754' }, attrs, { class: "button-native", part: "native", disabled: disabled }), h("span", { key: 'd444dd749c3abfdb43f66ac8eae49c3e3b3b9960', class: "button-inner" }, h("slot", { key: 'b8164b8893c95c6d4ae9d79a5755eb52c3a1af22', name: "top" }), h("div", { key: '6c840ac03adc45b6dce2f11d64b143a3208e2071', class: "horizontal-wrapper" }, h("slot", { key: '8c08ea25119e1831b9320c2f2e61461d45158611', name: "start" }), h("slot", { key: 'dfc5823b66fcfdcad6277105bd86590958632fdd', name: "icon-only" }), h("slot", { key: '30d0d597802daca4a534055e3f326c38a77c5cf8' }), h("slot", { key: 'bc58e8826067ad905b81608ad0344ed4dedd3a07', name: "end" })), h("slot", { key: '59c3e025a00824c163dbcbeb359ba82871ba06f2', name: "bottom" })), theme === 'md' && h("ion-ripple-effect", { key: '046a2ae39dbec7aebcbac3e250d80016065ed0f0' }))));
|
|
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: 'cc55282505679d51fb90ebf30869e930c71afbd4', 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: '79cd09dd43183008f470b31abb7b3606f653a98b', 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: '583b4ed56decb1f5ce39ea6f58fbaa6d4fde01a5', 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: '89467c7725dc79d73d51442cb5a233e244cef1b3' })));
|
|
64
64
|
}
|
|
65
65
|
static get is() { return "ion-label"; }
|
|
66
66
|
static get encapsulation() { return "scoped"; }
|