@ionic/core 8.7.12-dev.11764773727.110f4197 → 8.7.12-dev.11764783037.19423064
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/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/modal.js +4 -4
- package/components/picker-column-option.js +2 -2
- package/components/picker-column2.js +2 -2
- package/components/popover.js +2 -2
- package/components/radio-group.js +8 -7
- package/components/radio.js +3 -3
- package/components/ripple-effect.js +1 -1
- package/components/select-modal.js +1 -1
- 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/dist/cjs/ion-app_8.cjs.entry.js +5 -5
- package/dist/cjs/ion-avatar_3.cjs.entry.js +2 -2
- package/dist/cjs/ion-col_3.cjs.entry.js +2 -2
- package/dist/cjs/ion-datetime_3.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 +11 -11
- 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 +4 -4
- package/dist/cjs/ion-nav_2.cjs.entry.js +2 -2
- package/dist/cjs/ion-picker-column-option.cjs.entry.js +2 -2
- package/dist/cjs/ion-popover.cjs.entry.js +2 -2
- package/dist/cjs/ion-progress-bar.cjs.entry.js +1 -1
- package/dist/cjs/ion-radio_2.cjs.entry.js +9 -9
- 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 +1 -1
- 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/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-header/list-header.js +2 -2
- package/dist/collection/components/loading/loading.js +2 -2
- package/dist/collection/components/menu/menu.js +2 -2
- package/dist/collection/components/menu-button/menu-button.js +2 -2
- package/dist/collection/components/menu-toggle/menu-toggle.js +2 -2
- package/dist/collection/components/modal/modal.js +4 -4
- package/dist/collection/components/nav/nav.js +1 -1
- package/dist/collection/components/nav-link/nav-link.js +1 -1
- package/dist/collection/components/note/note.js +2 -2
- package/dist/collection/components/picker-column-option/picker-column-option.js +2 -2
- package/dist/collection/components/picker-legacy/picker.js +2 -2
- package/dist/collection/components/picker-legacy-column/picker-column.js +2 -2
- package/dist/collection/components/popover/popover.js +2 -2
- package/dist/collection/components/progress-bar/progress-bar.js +1 -1
- package/dist/collection/components/radio/radio.js +3 -3
- package/dist/collection/components/radio-group/radio-group.ionic.css +8 -17
- package/dist/collection/components/radio-group/radio-group.ios.css +4 -8
- package/dist/collection/components/radio-group/radio-group.js +4 -3
- package/dist/collection/components/radio-group/radio-group.md.css +4 -8
- package/dist/collection/components/range/range.js +3 -3
- package/dist/collection/components/refresher/refresher.js +1 -1
- package/dist/collection/components/refresher-content/refresher-content.js +2 -2
- package/dist/collection/components/reorder/reorder.js +2 -2
- package/dist/collection/components/reorder-group/reorder-group.js +1 -1
- package/dist/collection/components/ripple-effect/ripple-effect.js +1 -1
- package/dist/collection/components/router-link/router-link.js +2 -2
- package/dist/collection/components/router-outlet/router-outlet.js +1 -1
- package/dist/collection/components/row/row.js +2 -2
- package/dist/collection/components/searchbar/searchbar.js +4 -4
- package/dist/collection/components/segment/segment.js +2 -2
- package/dist/collection/components/segment-button/segment-button.js +2 -2
- package/dist/collection/components/segment-content/segment-content.js +1 -1
- package/dist/collection/components/segment-view/segment-view.js +2 -2
- package/dist/collection/components/select/select.js +3 -3
- package/dist/collection/components/select-modal/select-modal.js +1 -1
- package/dist/collection/components/select-option/select-option.js +1 -1
- package/dist/collection/components/select-popover/select-popover.js +2 -2
- package/dist/collection/components/skeleton-text/skeleton-text.js +2 -2
- package/dist/collection/components/spinner/spinner.js +1 -1
- package/dist/collection/components/split-pane/split-pane.js +2 -2
- package/dist/collection/components/tab/tab.js +2 -2
- package/dist/collection/components/tab-bar/tab-bar.js +2 -2
- package/dist/collection/components/tab-button/tab-button.js +2 -2
- package/dist/collection/components/tabs/tabs.js +1 -1
- package/dist/collection/components/text/text.js +2 -2
- package/dist/collection/components/textarea/textarea.js +3 -3
- package/dist/collection/components/thumbnail/thumbnail.js +2 -2
- package/dist/collection/components/title/title.js +2 -2
- package/dist/collection/components/toast/toast.js +2 -2
- package/dist/collection/components/toggle/toggle.js +3 -3
- package/dist/collection/components/toolbar/toolbar.js +2 -2
- package/dist/docs.json +16 -3
- package/dist/esm/ion-app_8.entry.js +5 -5
- package/dist/esm/ion-avatar_3.entry.js +2 -2
- package/dist/esm/ion-col_3.entry.js +2 -2
- package/dist/esm/ion-datetime_3.entry.js +4 -4
- package/dist/esm/ion-item-option_3.entry.js +4 -4
- package/dist/esm/ion-item_8.entry.js +11 -11
- 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 +4 -4
- package/dist/esm/ion-nav_2.entry.js +2 -2
- package/dist/esm/ion-picker-column-option.entry.js +2 -2
- package/dist/esm/ion-popover.entry.js +2 -2
- package/dist/esm/ion-progress-bar.entry.js +1 -1
- package/dist/esm/ion-radio_2.entry.js +9 -9
- 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 +1 -1
- 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-0774e5a0.entry.js +4 -0
- package/dist/ionic/{p-1d342a37.entry.js → p-09bcf828.entry.js} +1 -1
- package/dist/ionic/{p-91966afa.entry.js → p-105826fe.entry.js} +1 -1
- package/dist/ionic/{p-10fdbbc1.entry.js → p-1635ea5e.entry.js} +1 -1
- package/dist/ionic/{p-6fac73e6.entry.js → p-2061a732.entry.js} +1 -1
- package/dist/ionic/{p-88ef6829.entry.js → p-2c504bd3.entry.js} +1 -1
- package/dist/ionic/{p-d05c7578.entry.js → p-36f2ff62.entry.js} +1 -1
- package/dist/ionic/{p-db4b3111.entry.js → p-3948040f.entry.js} +1 -1
- package/dist/ionic/{p-81770a5c.entry.js → p-3d0e07cf.entry.js} +1 -1
- package/dist/ionic/{p-3a4865fd.entry.js → p-48366887.entry.js} +1 -1
- package/dist/ionic/{p-db90b95a.entry.js → p-495912a4.entry.js} +1 -1
- package/dist/ionic/{p-93ed8a1d.entry.js → p-55734084.entry.js} +1 -1
- package/dist/ionic/{p-2a3ff36f.entry.js → p-698ae42d.entry.js} +1 -1
- package/dist/ionic/{p-57ef19f7.entry.js → p-6bb99f41.entry.js} +1 -1
- package/dist/ionic/{p-665c2df8.entry.js → p-74601090.entry.js} +1 -1
- package/dist/ionic/{p-7d450184.entry.js → p-78f1c348.entry.js} +1 -1
- package/dist/ionic/{p-86b82096.entry.js → p-826267d6.entry.js} +1 -1
- package/dist/ionic/{p-4041ddea.entry.js → p-931fd886.entry.js} +1 -1
- package/dist/ionic/{p-484aeb4c.entry.js → p-9a20f9cb.entry.js} +1 -1
- package/dist/ionic/{p-5883f08d.entry.js → p-9e3fa08c.entry.js} +1 -1
- package/dist/ionic/{p-46fb5199.entry.js → p-a2179948.entry.js} +1 -1
- package/dist/ionic/{p-86a6f814.entry.js → p-a3fefcf5.entry.js} +1 -1
- package/dist/ionic/{p-4757e558.entry.js → p-b652eff7.entry.js} +1 -1
- package/dist/ionic/{p-5557bd92.entry.js → p-b65b47bf.entry.js} +1 -1
- package/dist/ionic/{p-a1128f7f.entry.js → p-ce2762f2.entry.js} +1 -1
- package/dist/ionic/{p-e12bb3dc.entry.js → p-d0b9e5ff.entry.js} +1 -1
- package/dist/ionic/{p-3622a9ea.entry.js → p-d774af7c.entry.js} +1 -1
- package/dist/ionic/p-da0a2ca6.entry.js +4 -0
- package/dist/ionic/{p-f3de58bd.entry.js → p-e3daf16c.entry.js} +1 -1
- package/dist/ionic/{p-0f7163d6.entry.js → p-e46bf046.entry.js} +1 -1
- package/dist/ionic/{p-f8abe85c.entry.js → p-f5fe6d47.entry.js} +1 -1
- package/dist/ionic/{p-cdd40776.entry.js → p-f9e3f9e1.entry.js} +1 -1
- package/dist/ionic/{p-7a18e825.entry.js → p-fa6895f9.entry.js} +1 -1
- package/hydrate/index.js +107 -107
- package/hydrate/index.mjs +107 -107
- package/package.json +1 -1
- package/dist/ionic/p-89743bba.entry.js +0 -4
- package/dist/ionic/p-ce510c06.entry.js +0 -4
|
@@ -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: '46f930d038a8558a4e25887c68a91b0a69e52360', 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: '90d9a689440656669b31204af3516e7b69c99cba', name: "start" }), h("div", { key: 'cfe916d9abf53e8c7fd8bf83a4c93ccd3bef1c18', class: "item-divider-inner" }, h("div", { key: 'bec1b90d37f9fc32b0025f6397df38d8d2750c03', class: "item-divider-wrapper" }, h("slot", { key: 'c44a3ee1ffad90859e2bd2b674c30cfe2009a739' })), h("slot", { key: 'a746e357af8c80072a76837901af5d146304df6a', 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: '0781b620a79a4d69a99da8761d5812f6494dacd3', 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: 'ee1762e16639662dca1cd9448cc8b232c507d19b', 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: '8f583bac97a4ff120ed69fc584305f59408ec4d3' }, attrs, { class: "button-native", part: "native", disabled: disabled }), h("span", { key: '901da7a78a71df5dad3908ab80fe32e734d7e437', class: "button-inner" }, h("slot", { key: '06263119ba9afd2ec8fedb3d5fa8f37464c00d34', name: "top" }), h("div", { key: '1bc966ccc6c453e4aaa4d6c7ec64bbecc11c54cf', class: "horizontal-wrapper" }, h("slot", { key: '2a6c548dbec92bc07062be5d57564f1dbc551ba8', name: "start" }), h("slot", { key: '6c6325fd4f2000c59779cae7cfd5b070b2ac54b9', name: "icon-only" }), h("slot", { key: '4ca2f7b2aced99ffc191497989efd6676c59da0f' }), h("slot", { key: '69e229a01881c8d1ddba0410407a1552fe6751d5', name: "end" })), h("slot", { key: 'd81b00fdcc5d46f2852b471267338308c0a1d00a', name: "bottom" })), theme === 'md' && h("ion-ripple-effect", { key: '44884946e44486c42df711efa4b22652c6b42ebf' }))));
|
|
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: '38b7632e7027ed35ec6d981ae7e45a6c21430362', 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: 'c6d3f3b293f89bf1b7ec264fca241cc1c9675854', 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: '0ba94de3410c90898d63744748bc9172414dcaa7', 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: '001aa07a7d2689abf209946f049668ac5e4f9766' })));
|
|
64
64
|
}
|
|
65
65
|
static get is() { return "ion-label"; }
|
|
66
66
|
static get encapsulation() { return "scoped"; }
|
|
@@ -12,10 +12,10 @@ export class ListHeader {
|
|
|
12
12
|
render() {
|
|
13
13
|
const { lines } = this;
|
|
14
14
|
const theme = getIonTheme(this);
|
|
15
|
-
return (h(Host, { key: '
|
|
15
|
+
return (h(Host, { key: 'cee1cdcc73c8f852941e2080ca059cf3e9476622', class: createColorClasses(this.color, {
|
|
16
16
|
[theme]: true,
|
|
17
17
|
[`list-header-lines-${lines}`]: lines !== undefined,
|
|
18
|
-
}) }, h("div", { key: '
|
|
18
|
+
}) }, h("div", { key: '3863ba35771a41ef520ed0ede73839663a67357c', class: "list-header-inner" }, h("slot", { key: '237ed9be79524579b98fb344e1c90c59f2cee926' }))));
|
|
19
19
|
}
|
|
20
20
|
static get is() { return "ion-list-header"; }
|
|
21
21
|
static get encapsulation() { return "shadow"; }
|
|
@@ -180,9 +180,9 @@ export class Loading {
|
|
|
180
180
|
* Otherwise, don't set aria-labelledby.
|
|
181
181
|
*/
|
|
182
182
|
const ariaLabelledBy = message !== undefined ? msgId : null;
|
|
183
|
-
return (h(Host, Object.assign({ key: '
|
|
183
|
+
return (h(Host, Object.assign({ key: '16ed5f0600e08cdd435b6a25c3531fb318d68a30', role: "dialog", "aria-modal": "true", "aria-labelledby": ariaLabelledBy, tabindex: "-1" }, htmlAttributes, { style: {
|
|
184
184
|
zIndex: `${40000 + this.overlayIndex}`,
|
|
185
|
-
}, onIonBackdropTap: this.onBackdropTap, class: Object.assign(Object.assign({}, getClassMap(this.cssClass)), { [theme]: true, 'overlay-hidden': true, 'loading-translucent': this.translucent }) }), h("ion-backdrop", { key: '
|
|
185
|
+
}, onIonBackdropTap: this.onBackdropTap, class: Object.assign(Object.assign({}, getClassMap(this.cssClass)), { [theme]: true, 'overlay-hidden': true, 'loading-translucent': this.translucent }) }), h("ion-backdrop", { key: 'd69cf5c81f565ac85a49a97c638c01ba382312ed', visible: this.showBackdrop, tappable: this.backdropDismiss }), h("div", { key: '7632c156a7e38ebeaf1b467a29baea0ce2655f67', tabindex: "0", "aria-hidden": "true" }), h("div", { key: 'c6da42d2f7cc23a273d9af15890be3cd6c086fbc', class: "loading-wrapper ion-overlay-wrapper" }, spinner && (h("div", { key: '406bca826943780a742d3a3afffdc8e13b193ef2', class: "loading-spinner" }, h("ion-spinner", { key: 'ad437d51c9c9c7d23434c7484418fbb0a082830c', name: spinner, "aria-hidden": "true" }))), message !== undefined && this.renderLoadingMessage(msgId)), h("div", { key: '5c8bf806fea5711213a9acba2429e13667bf7a73', tabindex: "0", "aria-hidden": "true" })));
|
|
186
186
|
}
|
|
187
187
|
static get is() { return "ion-loading"; }
|
|
188
188
|
static get encapsulation() { return "scoped"; }
|
|
@@ -661,14 +661,14 @@ export class Menu {
|
|
|
661
661
|
* the ionBackButton listener in the menu controller
|
|
662
662
|
* will handle closing the menu when Escape is pressed.
|
|
663
663
|
*/
|
|
664
|
-
return (h(Host, { key: '
|
|
664
|
+
return (h(Host, { key: '77c64f0e339d5446f0e798d282935aace70da864', onKeyDown: shouldUseCloseWatcher() ? null : this.onKeydown, role: "navigation", "aria-label": inheritedAttributes['aria-label'] || 'menu', class: {
|
|
665
665
|
[theme]: true,
|
|
666
666
|
[`menu-type-${type}`]: true,
|
|
667
667
|
'menu-enabled': !disabled,
|
|
668
668
|
[`menu-side-${side}`]: true,
|
|
669
669
|
'menu-pane-visible': isPaneVisible,
|
|
670
670
|
'split-pane-side': hostContext('ion-split-pane', el),
|
|
671
|
-
} }, h("div", { key: '
|
|
671
|
+
} }, h("div", { key: '6a2f346328fa682f8e9feae415427a0bfc34c958', class: "menu-inner", part: "container", ref: (el) => (this.menuInnerEl = el) }, h("slot", { key: 'd115caef9535f0a99becb1e7b6c28386f00bc4af' })), h("ion-backdrop", { key: '777937d2d456a4c1d22632fad6726c7db3647baf', ref: (el) => (this.backdropEl = el), class: "menu-backdrop", tappable: false, stopPropagation: false, part: "backdrop" })));
|
|
672
672
|
}
|
|
673
673
|
static get is() { return "ion-menu"; }
|
|
674
674
|
static get encapsulation() { return "shadow"; }
|
|
@@ -67,7 +67,7 @@ export class MenuButton {
|
|
|
67
67
|
type: this.type,
|
|
68
68
|
};
|
|
69
69
|
const ariaLabel = inheritedAttributes['aria-label'] || 'menu';
|
|
70
|
-
return (h(Host, { key: '
|
|
70
|
+
return (h(Host, { key: '03935c67ec2448862cb0f2b4e643946438e1e566', onClick: this.onClick, "aria-disabled": disabled ? 'true' : null, "aria-hidden": hidden ? 'true' : null, class: createColorClasses(color, {
|
|
71
71
|
[theme]: true,
|
|
72
72
|
button: true, // ion-buttons target .button
|
|
73
73
|
'menu-button-hidden': hidden,
|
|
@@ -76,7 +76,7 @@ export class MenuButton {
|
|
|
76
76
|
'in-toolbar-color': hostContext('ion-toolbar[color]', this.el),
|
|
77
77
|
'ion-activatable': true,
|
|
78
78
|
'ion-focusable': true,
|
|
79
|
-
}) }, h("button", Object.assign({ key: '
|
|
79
|
+
}) }, h("button", Object.assign({ key: 'e877eed6a614918eaaf7e041ba725331e27797a5' }, attrs, { disabled: disabled, class: "button-native", part: "native", "aria-label": ariaLabel }), h("span", { key: 'dca1c233c1da70ad7cd8f511713a0b18caa1666d', class: "button-inner" }, h("slot", { key: '7b663519d50fa74c5a287d4e0fc896406f48e759' }, h("ion-icon", { key: '42d30513e68b6c3830ec8a42e7d08abd55aad33b', part: "icon", icon: menuIcon, lazy: false, "aria-hidden": "true" }))), theme === 'md' && h("ion-ripple-effect", { key: '6b8c422244d078255fed90abe147a1701cbd6b92', type: "unbounded" }))));
|
|
80
80
|
}
|
|
81
81
|
static get is() { return "ion-menu-button"; }
|
|
82
82
|
static get encapsulation() { return "shadow"; }
|
|
@@ -34,10 +34,10 @@ export class MenuToggle {
|
|
|
34
34
|
render() {
|
|
35
35
|
const theme = getIonTheme(this);
|
|
36
36
|
const hidden = this.autoHide && !this.visible;
|
|
37
|
-
return (h(Host, { key: '
|
|
37
|
+
return (h(Host, { key: '971acbed9c17a29b559281e20f8b3d53aa5a1fde', onClick: this.onClick, "aria-hidden": hidden ? 'true' : null, class: {
|
|
38
38
|
[theme]: true,
|
|
39
39
|
'menu-toggle-hidden': hidden,
|
|
40
|
-
} }, h("slot", { key: '
|
|
40
|
+
} }, h("slot", { key: 'c6ba836a3380866148420953f5ef4a86ad9b6b85' })));
|
|
41
41
|
}
|
|
42
42
|
static get is() { return "ion-menu-toggle"; }
|
|
43
43
|
static get encapsulation() { return "shadow"; }
|
|
@@ -895,20 +895,20 @@ export class Modal {
|
|
|
895
895
|
const isHandleCycle = handleBehavior === 'cycle';
|
|
896
896
|
const shape = this.getShape();
|
|
897
897
|
const isSheetModalWithHandle = isSheetModal && showHandle;
|
|
898
|
-
return (h(Host, Object.assign({ key: '
|
|
898
|
+
return (h(Host, Object.assign({ key: '2111b0cb69c57d4827050f75f4033ad37f8e4f7a', "no-router": true,
|
|
899
899
|
// Allow the modal to be navigable when the handle is focusable
|
|
900
900
|
tabIndex: isHandleCycle && isSheetModalWithHandle ? 0 : -1 }, htmlAttributes, { style: {
|
|
901
901
|
zIndex: `${20000 + this.overlayIndex}`,
|
|
902
|
-
}, class: Object.assign({ [theme]: true, ['modal-default']: !isCardModal && !isSheetModal, [`modal-card`]: isCardModal, [`modal-sheet`]: isSheetModal, [`modal-${shape}`]: shape !== undefined, [`modal-no-expand-scroll`]: isSheetModal && !expandToScroll, 'overlay-hidden': true, [FOCUS_TRAP_DISABLE_CLASS]: focusTrap === false }, getClassMap(this.cssClass)), onIonBackdropTap: this.onBackdropTap, onIonModalDidPresent: this.onLifecycle, onIonModalWillPresent: this.onLifecycle, onIonModalWillDismiss: this.onLifecycle, onIonModalDidDismiss: this.onLifecycle, onFocus: this.onModalFocus }), h("ion-backdrop", { key: '
|
|
902
|
+
}, class: Object.assign({ [theme]: true, ['modal-default']: !isCardModal && !isSheetModal, [`modal-card`]: isCardModal, [`modal-sheet`]: isSheetModal, [`modal-${shape}`]: shape !== undefined, [`modal-no-expand-scroll`]: isSheetModal && !expandToScroll, 'overlay-hidden': true, [FOCUS_TRAP_DISABLE_CLASS]: focusTrap === false }, getClassMap(this.cssClass)), onIonBackdropTap: this.onBackdropTap, onIonModalDidPresent: this.onLifecycle, onIonModalWillPresent: this.onLifecycle, onIonModalWillDismiss: this.onLifecycle, onIonModalDidDismiss: this.onLifecycle, onFocus: this.onModalFocus }), h("ion-backdrop", { key: 'd936c1d88a29b3210c0122a38148373e6349458c', ref: (el) => (this.backdropEl = el), visible: this.showBackdrop, tappable: this.backdropDismiss, part: "backdrop" }), theme === 'ios' && h("div", { key: '126a9c79f4c9d702b6c291dd07b87eae270bc3c3', class: "modal-shadow" }), h("div", Object.assign({ key: '8381a634dbcb4bdf895996aebd5c1e938058d631',
|
|
903
903
|
/*
|
|
904
904
|
role and aria-modal must be used on the
|
|
905
905
|
same element. They must also be set inside the
|
|
906
906
|
shadow DOM otherwise ion-button will not be highlighted
|
|
907
907
|
when using VoiceOver: https://bugs.webkit.org/show_bug.cgi?id=247134
|
|
908
908
|
*/
|
|
909
|
-
role: "dialog" }, inheritedAttributes, { "aria-modal": "true", class: "modal-wrapper ion-overlay-wrapper", part: "content", ref: (el) => (this.wrapperEl = el) }), showHandle && (h("button", { key: '
|
|
909
|
+
role: "dialog" }, inheritedAttributes, { "aria-modal": "true", class: "modal-wrapper ion-overlay-wrapper", part: "content", ref: (el) => (this.wrapperEl = el) }), showHandle && (h("button", { key: '8aa16ae5e8b532dedfe0f072f3ec908c463a1c6b', class: "modal-handle",
|
|
910
910
|
// Prevents the handle from receiving keyboard focus when it does not cycle
|
|
911
|
-
tabIndex: !isHandleCycle ? -1 : 0, "aria-label": "Activate to adjust the size of the dialog overlaying the screen", onClick: isHandleCycle ? this.onHandleClick : undefined, part: "handle", ref: (el) => (this.dragHandleEl = el) })), h("slot", { key: '
|
|
911
|
+
tabIndex: !isHandleCycle ? -1 : 0, "aria-label": "Activate to adjust the size of the dialog overlaying the screen", onClick: isHandleCycle ? this.onHandleClick : undefined, part: "handle", ref: (el) => (this.dragHandleEl = el) })), h("slot", { key: '29ead0cd14368eff40bd330ab7c8172e3d9235f9', onSlotchange: this.onSlotChange }))));
|
|
912
912
|
}
|
|
913
913
|
static get is() { return "ion-modal"; }
|
|
914
914
|
static get encapsulation() { return "shadow"; }
|
|
@@ -834,7 +834,7 @@ export class Nav {
|
|
|
834
834
|
}
|
|
835
835
|
}
|
|
836
836
|
render() {
|
|
837
|
-
return h("slot", { key: '
|
|
837
|
+
return h("slot", { key: '7ba9deeadcdaa58afa69cb6d0f9f12b72b1cc5d6' });
|
|
838
838
|
}
|
|
839
839
|
static get is() { return "ion-nav"; }
|
|
840
840
|
static get encapsulation() { return "shadow"; }
|
|
@@ -18,7 +18,7 @@ export class NavLink {
|
|
|
18
18
|
};
|
|
19
19
|
}
|
|
20
20
|
render() {
|
|
21
|
-
return h(Host, { key: '
|
|
21
|
+
return h(Host, { key: 'e516e140c532b6fb17a2cbab9159a696be6af9f2', onClick: this.onClick });
|
|
22
22
|
}
|
|
23
23
|
static get is() { return "ion-nav-link"; }
|
|
24
24
|
static get properties() {
|
|
@@ -11,9 +11,9 @@ import { getIonTheme } from "../../global/ionic-global";
|
|
|
11
11
|
export class Note {
|
|
12
12
|
render() {
|
|
13
13
|
const theme = getIonTheme(this);
|
|
14
|
-
return (h(Host, { key: '
|
|
14
|
+
return (h(Host, { key: 'd9aa35a602491c26342032b2aba8ebd63416a6b5', class: createColorClasses(this.color, {
|
|
15
15
|
[theme]: true,
|
|
16
|
-
}) }, h("slot", { key: '
|
|
16
|
+
}) }, h("slot", { key: 'c5d448d5f23357487d9e98dfb0ea7f4e9960a325' })));
|
|
17
17
|
}
|
|
18
18
|
static get is() { return "ion-note"; }
|
|
19
19
|
static get encapsulation() { return "shadow"; }
|
|
@@ -95,10 +95,10 @@ export class PickerColumnOption {
|
|
|
95
95
|
render() {
|
|
96
96
|
const { color, disabled, ariaLabel } = this;
|
|
97
97
|
const theme = getIonTheme(this);
|
|
98
|
-
return (h(Host, { key: '
|
|
98
|
+
return (h(Host, { key: 'dc87366ba724d5a0243dcde6bc8cc5c16d6d0c26', class: createColorClasses(color, {
|
|
99
99
|
[theme]: true,
|
|
100
100
|
['option-disabled']: disabled,
|
|
101
|
-
}) }, h("div", { key: '
|
|
101
|
+
}) }, h("div", { key: '4cb0791a9e8f0e6c3403b2cb72c74502025f5218', class: 'picker-column-option-button', role: "button", "aria-label": ariaLabel, onClick: () => this.onClick() }, h("slot", { key: 'f6b8dd7bc429991ae9c0d3448127117d62c068ba' }))));
|
|
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: '722010a58f4c7fc3128b1f95675eba2b2b4a6f6a', "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: 'b3acdedf7f305b26dbec78a9e3445f24707b6673', visible: this.showBackdrop, tappable: this.backdropDismiss }), h("div", { key: '67bc76dbd12f1429ff5b5951480ed248fdef0d3b', tabindex: "0", "aria-hidden": "true" }), h("div", { key: '9bf585133a606474e1ec4ddc1028f06e1bbc88d5', class: "picker-wrapper ion-overlay-wrapper", role: "dialog" }, h("div", { key: '8bd35f590263153814969636c3c47399f13aed64', 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: 'e12063ea0bd81dfc54e379adddca75941cb8f172', class: "picker-columns" }, h("div", { key: '96baa0fab12ef8d9b79d8f10617a6791dcb2711c', class: "picker-above-highlight" }), this.presented && this.columns.map((c) => h("ion-picker-legacy-column", { col: c })), h("div", { key: '42f2f7ad28a1802a5763e113c3fa3f807caa96de', class: "picker-below-highlight" }))), h("div", { key: '274d15028222bbd586c0497d56934d0ff72125bd', 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: 'ab339936b884abbaf075bfaf1a1556dc396ea959', 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: '3cea9388a0818db89789087b90790b7734c4a9bf', class: "picker-prefix", style: { width: col.prefixWidth } }, col.prefix)), h("div", { key: '4e4a704f5a6ca6e1647960655ce3fe454fa33f0a', 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: '536ee0f81d87db545846d5cdc8364e93f15a344c', 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: '3e4ee2404b2b3c9cc04786c2cf08ad7f02de44be', "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: 'cdfca56f6357d4db105cf6fe01269025b92a89ec', tappable: this.backdropDismiss, visible: this.showBackdrop, part: "backdrop" }), h("div", { key: '5e03c9ba84604240cd0f33193936ebeab65fd3f9', class: "popover-wrapper ion-overlay-wrapper", onClick: dismissOnSelect ? () => this.dismiss() : undefined }, enableArrow && h("div", { key: '682ea432a1aa259e928df915f3f1a4dcc374e712', class: "popover-arrow", part: "arrow" }), h("div", { key: '82f52224083c7dc7e3b78f1ba6342391a317dfa2', class: "popover-content", part: "content" }, h("slot", { key: '504ff686b81a2d745bbfc739807f8d175569d27e' })))));
|
|
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: '09f756769766e86f291305dff5bd8f0886d08fdb', 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: '1b569684af9f60c173d115365e6b489345710b12', 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: '1e16fd85e901ba9b30f8b15b3ec0995258fc27b1', class: "radio-wrapper" }, h("div", { key: 'f37d80531099fb119e671824bc8ea7d1077b6895', 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: 'a9458913373b29cf2d6a20fbc8871a6613ae174e' })), h("div", { key: '2e937c439425c196f1b610a7031f9b92bf0c745c', class: "native-wrapper" }, this.renderRadioControl()))));
|
|
155
155
|
}
|
|
156
156
|
static get is() { return "ion-radio"; }
|
|
157
157
|
static get encapsulation() { return "shadow"; }
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
* @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
|
|
60
60
|
* convert to a unit other than $baselineUnit.
|
|
61
61
|
*/
|
|
62
|
-
|
|
62
|
+
:host {
|
|
63
63
|
vertical-align: top;
|
|
64
64
|
}
|
|
65
65
|
|
|
@@ -75,11 +75,11 @@ ion-radio-group {
|
|
|
75
75
|
display: block;
|
|
76
76
|
}
|
|
77
77
|
|
|
78
|
-
.ion-touched.ion-invalid .radio-group-top .error-text {
|
|
78
|
+
:host(.ion-touched.ion-invalid) .radio-group-top .error-text {
|
|
79
79
|
display: block;
|
|
80
80
|
}
|
|
81
81
|
|
|
82
|
-
.ion-touched.ion-invalid .radio-group-top .helper-text {
|
|
82
|
+
:host(.ion-touched.ion-invalid) .radio-group-top .helper-text {
|
|
83
83
|
display: none;
|
|
84
84
|
}
|
|
85
85
|
|
|
@@ -101,25 +101,16 @@ ion-radio-group {
|
|
|
101
101
|
color: var(--token-text-subtlest, var(--token-primitives-neutral-800, #626262));
|
|
102
102
|
}
|
|
103
103
|
|
|
104
|
-
|
|
105
|
-
|
|
104
|
+
/* stylelint-disable */
|
|
105
|
+
:host-context(ion-list) .radio-group-top {
|
|
106
106
|
padding-right: var(--token-space-400, var(--token-scale-400, 16px));
|
|
107
107
|
padding-left: calc(var(--token-space-400, var(--token-scale-400, 16px)) + var(--ion-safe-area-left, 0px));
|
|
108
|
-
/* stylelint-enable */
|
|
109
|
-
}
|
|
110
|
-
:host-context([dir=rtl]) ion-list .radio-group-top {
|
|
111
|
-
padding-right: calc(var(--token-space-400, var(--token-scale-400, 16px)) + var(--ion-safe-area-right, 0px));
|
|
112
|
-
padding-left: var(--token-space-400, var(--token-scale-400, 16px));
|
|
113
108
|
}
|
|
114
109
|
|
|
115
|
-
[dir=rtl] ion-list .radio-group-top
|
|
110
|
+
:host-context([dir=rtl] ion-list) .radio-group-top,
|
|
111
|
+
:host-context(ion-list) .radio-group-top:dir(rtl) {
|
|
116
112
|
padding-right: calc(var(--token-space-400, var(--token-scale-400, 16px)) + var(--ion-safe-area-right, 0px));
|
|
117
113
|
padding-left: var(--token-space-400, var(--token-scale-400, 16px));
|
|
118
114
|
}
|
|
119
115
|
|
|
120
|
-
|
|
121
|
-
ion-list .radio-group-top:dir(rtl) {
|
|
122
|
-
padding-right: calc(var(--token-space-400, var(--token-scale-400, 16px)) + var(--ion-safe-area-right, 0px));
|
|
123
|
-
padding-left: var(--token-space-400, var(--token-scale-400, 16px));
|
|
124
|
-
}
|
|
125
|
-
}
|
|
116
|
+
/* stylelint-enable */
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
* }
|
|
60
60
|
* }
|
|
61
61
|
*/
|
|
62
|
-
|
|
62
|
+
:host {
|
|
63
63
|
vertical-align: top;
|
|
64
64
|
}
|
|
65
65
|
|
|
@@ -75,11 +75,11 @@ ion-radio-group {
|
|
|
75
75
|
display: block;
|
|
76
76
|
}
|
|
77
77
|
|
|
78
|
-
.ion-touched.ion-invalid .radio-group-top .error-text {
|
|
78
|
+
:host(.ion-touched.ion-invalid) .radio-group-top .error-text {
|
|
79
79
|
display: block;
|
|
80
80
|
}
|
|
81
81
|
|
|
82
|
-
.ion-touched.ion-invalid .radio-group-top .helper-text {
|
|
82
|
+
:host(.ion-touched.ion-invalid) .radio-group-top .helper-text {
|
|
83
83
|
display: none;
|
|
84
84
|
}
|
|
85
85
|
|
|
@@ -144,10 +144,6 @@ ion-radio-group {
|
|
|
144
144
|
* }
|
|
145
145
|
* }
|
|
146
146
|
*/
|
|
147
|
-
.radio-group-wrapper {
|
|
148
|
-
display: inline;
|
|
149
|
-
}
|
|
150
|
-
|
|
151
147
|
.radio-group-top {
|
|
152
148
|
line-height: 1.5;
|
|
153
149
|
}
|
|
@@ -221,7 +217,7 @@ ion-radio-group {
|
|
|
221
217
|
* }
|
|
222
218
|
* }
|
|
223
219
|
*/
|
|
224
|
-
ion-list .radio-group-top {
|
|
220
|
+
:host-context(ion-list) .radio-group-top {
|
|
225
221
|
-webkit-padding-start: 16px;
|
|
226
222
|
padding-inline-start: 16px;
|
|
227
223
|
-webkit-padding-end: 16px;
|
|
@@ -226,7 +226,7 @@ export class RadioGroup {
|
|
|
226
226
|
if (!hasHintText) {
|
|
227
227
|
return;
|
|
228
228
|
}
|
|
229
|
-
return (h("div", { class: "radio-group-top" }, h("div", { id: helperTextId, class: "helper-text", "aria-live": "polite" }, !isInvalid ? helperText : null), h("div", { id: errorTextId, class: "error-text", role: "alert" }, isInvalid ? errorText : null)));
|
|
229
|
+
return (h("div", { class: "radio-group-top", part: "top" }, h("div", { id: helperTextId, class: "helper-text", part: "helper-text", "aria-live": "polite" }, !isInvalid ? helperText : null), h("div", { id: errorTextId, class: "error-text", part: "error-text", role: "alert" }, isInvalid ? errorText : null)));
|
|
230
230
|
}
|
|
231
231
|
getHintTextId() {
|
|
232
232
|
const { helperText, errorText, helperTextId, errorTextId, isInvalid } = this;
|
|
@@ -242,11 +242,12 @@ export class RadioGroup {
|
|
|
242
242
|
const { label, labelId, el, name, value } = this;
|
|
243
243
|
const theme = getIonTheme(this);
|
|
244
244
|
renderHiddenInput(true, el, name, value, false);
|
|
245
|
-
return (h(Host, { key: '
|
|
245
|
+
return (h(Host, { key: '70aaac0d9192cd73d549b8a2b71dc6c1d9847436', class: {
|
|
246
246
|
[theme]: true,
|
|
247
|
-
}, role: "radiogroup", "aria-labelledby": label ? labelId : null, "aria-describedby": this.hintTextId, "aria-invalid": this.isInvalid ? 'true' : undefined, onClick: this.onClick }, this.renderHintText(), h("
|
|
247
|
+
}, role: "radiogroup", "aria-labelledby": label ? labelId : null, "aria-describedby": this.hintTextId, "aria-invalid": this.isInvalid ? 'true' : undefined, onClick: this.onClick }, this.renderHintText(), h("slot", { key: 'de85a24d06f348e0d7fb9fb802c7254e6658e422' })));
|
|
248
248
|
}
|
|
249
249
|
static get is() { return "ion-radio-group"; }
|
|
250
|
+
static get encapsulation() { return "shadow"; }
|
|
250
251
|
static get originalStyleUrls() {
|
|
251
252
|
return {
|
|
252
253
|
"ios": ["radio-group.ios.scss"],
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
* }
|
|
60
60
|
* }
|
|
61
61
|
*/
|
|
62
|
-
|
|
62
|
+
:host {
|
|
63
63
|
vertical-align: top;
|
|
64
64
|
}
|
|
65
65
|
|
|
@@ -75,11 +75,11 @@ ion-radio-group {
|
|
|
75
75
|
display: block;
|
|
76
76
|
}
|
|
77
77
|
|
|
78
|
-
.ion-touched.ion-invalid .radio-group-top .error-text {
|
|
78
|
+
:host(.ion-touched.ion-invalid) .radio-group-top .error-text {
|
|
79
79
|
display: block;
|
|
80
80
|
}
|
|
81
81
|
|
|
82
|
-
.ion-touched.ion-invalid .radio-group-top .helper-text {
|
|
82
|
+
:host(.ion-touched.ion-invalid) .radio-group-top .helper-text {
|
|
83
83
|
display: none;
|
|
84
84
|
}
|
|
85
85
|
|
|
@@ -144,10 +144,6 @@ ion-radio-group {
|
|
|
144
144
|
* }
|
|
145
145
|
* }
|
|
146
146
|
*/
|
|
147
|
-
.radio-group-wrapper {
|
|
148
|
-
display: inline;
|
|
149
|
-
}
|
|
150
|
-
|
|
151
147
|
.radio-group-top {
|
|
152
148
|
line-height: 1.5;
|
|
153
149
|
}
|
|
@@ -221,7 +217,7 @@ ion-radio-group {
|
|
|
221
217
|
* }
|
|
222
218
|
* }
|
|
223
219
|
*/
|
|
224
|
-
ion-list .radio-group-top {
|
|
220
|
+
:host-context(ion-list) .radio-group-top {
|
|
225
221
|
-webkit-padding-start: 16px;
|
|
226
222
|
padding-inline-start: 16px;
|
|
227
223
|
-webkit-padding-end: 16px;
|
|
@@ -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: '9cca7c3c2af026ec3f002f2a2816e9604caf5eac', 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: 'c26c87b4b7897e7dfe17c2838e85359c2639614c', class: "range-wrapper", id: "range-label" }, h("div", { key: '7f0b72f40c9e6737f15b6f3eb9933ee9c8e26e44', 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: 'd0cabe21050b1cbca40d43074a198b5c488839f2', class: "native-wrapper" }, h("slot", { key: '61b055f7b19e84b900bc003dd9033707ac7c9b54', name: "start" }), this.renderRangeSlider(), h("slot", { key: '50f9cd92015d4c24a3a1a58361a716f00943829c', 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: '13723330779934646621e76579049496116ef197', 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: '99eb28dbd0a72adf54c76066bf0ee91533cb8940', class: {
|
|
57
57
|
[theme]: true,
|
|
58
|
-
} }, h("div", { key: '
|
|
58
|
+
} }, h("div", { key: 'b77c81e7e222983d026e053143e55391b09a054d', class: "refresher-pulling" }, this.pullingIcon && hasSpinner && (h("div", { key: '6e21168c8aaf7185f369236406dc702d302e02ae', class: "refresher-pulling-icon" }, h("div", { key: 'f5f591937aa1249059974adc4ff197e1ec0e31d7', class: "spinner-arrow-container" }, h("ion-spinner", { key: '18c220c982f951e218777506967a82f8b55a70c0', name: this.pullingIcon, paused: true }), (theme === 'md' || theme === 'ionic') && this.pullingIcon === 'circular' && (h("div", { key: '21abdd0e39a7077688b50b4f71644f9dd959509a', class: "arrow-container" }, h("ion-icon", { key: '70224906446a48bf5d8fb312b16257ca5ebce20d', icon: arrowIcon, "aria-hidden": "true" })))))), this.pullingIcon && !hasSpinner && (h("div", { key: 'e8af99677f773f33e1e9b49e4d854f5dd937c88a', class: "refresher-pulling-icon" }, h("ion-icon", { key: '557bd69b056d2c43d10a9a97403b4dfaaa5624dc', icon: this.pullingIcon, lazy: false, "aria-hidden": "true" }))), this.pullingText !== undefined && this.renderPullingText()), h("div", { key: 'b88562e251525218f1e94ac427732632e181dd52', class: "refresher-refreshing" }, this.refreshingSpinner && (h("div", { key: '9e3ac78eb28a29ba302a5ba27c3be116e3f28688', class: "refresher-refreshing-icon" }, h("ion-spinner", { key: 'b10a1f2bb18ba728b6b581fbcc522c69bc9d397c', 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: 'e42645240aa9a32cc6768289eb1af656ed15482d', class: {
|
|
47
47
|
[theme]: true,
|
|
48
|
-
} }, h("slot", { key: '
|
|
48
|
+
} }, h("slot", { key: '9e6d2fb09480e7e0ef6bb84524bfc2a23fa1d9cb' }, h("ion-icon", { key: '411e5791ce7575383c54c05ba305c1c83acaacde', 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: '5b543cb56208112bda355b3cbfeaf3bc4202c203', 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: 'a06d781599e14357c3acc2537059543ae3f1a1f4', role: "presentation", class: {
|
|
76
76
|
[theme]: true,
|
|
77
77
|
unbounded: this.unbounded,
|
|
78
78
|
} }));
|