@ionic/core 8.7.12-dev.11764783037.19423064 → 8.7.12-dev.11764844107.1b9ced55
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/checkbox.js +1 -1
- 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 +7 -8
- 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-checkbox.cjs.entry.js +1 -1
- 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/checkbox/checkbox.ionic.css +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-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 +20 -11
- package/dist/collection/components/radio-group/radio-group.ios.css +8 -4
- package/dist/collection/components/radio-group/radio-group.js +3 -4
- package/dist/collection/components/radio-group/radio-group.md.css +8 -4
- 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 +3 -16
- package/dist/esm/ion-app_8.entry.js +5 -5
- package/dist/esm/ion-avatar_3.entry.js +2 -2
- package/dist/esm/ion-checkbox.entry.js +1 -1
- 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-0ba82e4f.entry.js +4 -0
- package/dist/ionic/{p-e46bf046.entry.js → p-0f7163d6.entry.js} +1 -1
- package/dist/ionic/{p-1635ea5e.entry.js → p-10fdbbc1.entry.js} +1 -1
- package/dist/ionic/{p-698ae42d.entry.js → p-2a3ff36f.entry.js} +1 -1
- package/dist/ionic/{p-d774af7c.entry.js → p-3622a9ea.entry.js} +1 -1
- package/dist/ionic/{p-48366887.entry.js → p-3a4865fd.entry.js} +1 -1
- package/dist/ionic/{p-931fd886.entry.js → p-4041ddea.entry.js} +1 -1
- package/dist/ionic/{p-a2179948.entry.js → p-46fb5199.entry.js} +1 -1
- package/dist/ionic/{p-b652eff7.entry.js → p-4757e558.entry.js} +1 -1
- package/dist/ionic/{p-9a20f9cb.entry.js → p-484aeb4c.entry.js} +1 -1
- package/dist/ionic/{p-b65b47bf.entry.js → p-5557bd92.entry.js} +1 -1
- package/dist/ionic/{p-6bb99f41.entry.js → p-57ef19f7.entry.js} +1 -1
- package/dist/ionic/{p-9e3fa08c.entry.js → p-5883f08d.entry.js} +1 -1
- package/dist/ionic/{p-74601090.entry.js → p-665c2df8.entry.js} +1 -1
- package/dist/ionic/{p-2061a732.entry.js → p-6fac73e6.entry.js} +1 -1
- package/dist/ionic/{p-fa6895f9.entry.js → p-7a18e825.entry.js} +1 -1
- package/dist/ionic/{p-78f1c348.entry.js → p-7d450184.entry.js} +1 -1
- package/dist/ionic/{p-3d0e07cf.entry.js → p-81770a5c.entry.js} +1 -1
- package/dist/ionic/{p-a3fefcf5.entry.js → p-86a6f814.entry.js} +1 -1
- package/dist/ionic/{p-826267d6.entry.js → p-86b82096.entry.js} +1 -1
- package/dist/ionic/{p-2c504bd3.entry.js → p-88ef6829.entry.js} +1 -1
- package/dist/ionic/p-89743bba.entry.js +4 -0
- package/dist/ionic/{p-09bcf828.entry.js → p-8e6857fa.entry.js} +1 -1
- package/dist/ionic/{p-105826fe.entry.js → p-91966afa.entry.js} +1 -1
- package/dist/ionic/{p-55734084.entry.js → p-93ed8a1d.entry.js} +1 -1
- package/dist/ionic/{p-ce2762f2.entry.js → p-a1128f7f.entry.js} +1 -1
- package/dist/ionic/{p-f9e3f9e1.entry.js → p-cdd40776.entry.js} +1 -1
- package/dist/ionic/p-ce510c06.entry.js +4 -0
- package/dist/ionic/{p-36f2ff62.entry.js → p-d05c7578.entry.js} +1 -1
- package/dist/ionic/{p-3948040f.entry.js → p-db4b3111.entry.js} +1 -1
- package/dist/ionic/{p-495912a4.entry.js → p-db90b95a.entry.js} +1 -1
- package/dist/ionic/{p-d0b9e5ff.entry.js → p-e12bb3dc.entry.js} +1 -1
- package/dist/ionic/{p-e3daf16c.entry.js → p-f3de58bd.entry.js} +1 -1
- package/dist/ionic/{p-f5fe6d47.entry.js → p-f8abe85c.entry.js} +1 -1
- package/hydrate/index.js +108 -108
- package/hydrate/index.mjs +108 -108
- package/package.json +1 -1
- package/dist/ionic/p-0774e5a0.entry.js +0 -4
- package/dist/ionic/p-c8740f44.entry.js +0 -4
- package/dist/ionic/p-da0a2ca6.entry.js +0 -4
|
@@ -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
|
+
ion-radio-group {
|
|
63
63
|
vertical-align: top;
|
|
64
64
|
}
|
|
65
65
|
|
|
@@ -75,19 +75,19 @@
|
|
|
75
75
|
display: block;
|
|
76
76
|
}
|
|
77
77
|
|
|
78
|
-
|
|
78
|
+
.ion-touched.ion-invalid .radio-group-top .error-text {
|
|
79
79
|
display: block;
|
|
80
80
|
}
|
|
81
81
|
|
|
82
|
-
|
|
82
|
+
.ion-touched.ion-invalid .radio-group-top .helper-text {
|
|
83
83
|
display: none;
|
|
84
84
|
}
|
|
85
85
|
|
|
86
86
|
.radio-group-top {
|
|
87
|
-
font-size: var(--token-font-size-
|
|
88
|
-
font-weight: var(--token-font-weight-
|
|
87
|
+
font-size: var(--token-font-size-300, 12px);
|
|
88
|
+
font-weight: var(--token-font-weight-medium, 500);
|
|
89
89
|
letter-spacing: var(--token-font-letter-spacing-0, 0%);
|
|
90
|
-
line-height: var(--token-font-line-height-
|
|
90
|
+
line-height: var(--token-font-line-height-500, var(--token-scale-500, 20px));
|
|
91
91
|
text-decoration: none;
|
|
92
92
|
text-transform: none;
|
|
93
93
|
margin-bottom: var(--token-space-400, var(--token-scale-400, 16px));
|
|
@@ -101,16 +101,25 @@
|
|
|
101
101
|
color: var(--token-text-subtlest, var(--token-primitives-neutral-800, #626262));
|
|
102
102
|
}
|
|
103
103
|
|
|
104
|
-
|
|
105
|
-
|
|
104
|
+
ion-list .radio-group-top {
|
|
105
|
+
/* stylelint-disable */
|
|
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));
|
|
108
113
|
}
|
|
109
114
|
|
|
110
|
-
|
|
111
|
-
:host-context(ion-list) .radio-group-top:dir(rtl) {
|
|
115
|
+
[dir=rtl] ion-list .radio-group-top {
|
|
112
116
|
padding-right: calc(var(--token-space-400, var(--token-scale-400, 16px)) + var(--ion-safe-area-right, 0px));
|
|
113
117
|
padding-left: var(--token-space-400, var(--token-scale-400, 16px));
|
|
114
118
|
}
|
|
115
119
|
|
|
116
|
-
|
|
120
|
+
@supports selector(:dir(rtl)) {
|
|
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
|
+
}
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
* }
|
|
60
60
|
* }
|
|
61
61
|
*/
|
|
62
|
-
|
|
62
|
+
ion-radio-group {
|
|
63
63
|
vertical-align: top;
|
|
64
64
|
}
|
|
65
65
|
|
|
@@ -75,11 +75,11 @@
|
|
|
75
75
|
display: block;
|
|
76
76
|
}
|
|
77
77
|
|
|
78
|
-
|
|
78
|
+
.ion-touched.ion-invalid .radio-group-top .error-text {
|
|
79
79
|
display: block;
|
|
80
80
|
}
|
|
81
81
|
|
|
82
|
-
|
|
82
|
+
.ion-touched.ion-invalid .radio-group-top .helper-text {
|
|
83
83
|
display: none;
|
|
84
84
|
}
|
|
85
85
|
|
|
@@ -144,6 +144,10 @@
|
|
|
144
144
|
* }
|
|
145
145
|
* }
|
|
146
146
|
*/
|
|
147
|
+
.radio-group-wrapper {
|
|
148
|
+
display: inline;
|
|
149
|
+
}
|
|
150
|
+
|
|
147
151
|
.radio-group-top {
|
|
148
152
|
line-height: 1.5;
|
|
149
153
|
}
|
|
@@ -217,7 +221,7 @@
|
|
|
217
221
|
* }
|
|
218
222
|
* }
|
|
219
223
|
*/
|
|
220
|
-
|
|
224
|
+
ion-list .radio-group-top {
|
|
221
225
|
-webkit-padding-start: 16px;
|
|
222
226
|
padding-inline-start: 16px;
|
|
223
227
|
-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"
|
|
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)));
|
|
230
230
|
}
|
|
231
231
|
getHintTextId() {
|
|
232
232
|
const { helperText, errorText, helperTextId, errorTextId, isInvalid } = this;
|
|
@@ -242,12 +242,11 @@ 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: '61befc92b686c561be1a4cc350cd02bab9c802e4', 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("slot", { key: '
|
|
247
|
+
}, role: "radiogroup", "aria-labelledby": label ? labelId : null, "aria-describedby": this.hintTextId, "aria-invalid": this.isInvalid ? 'true' : undefined, onClick: this.onClick }, this.renderHintText(), h("div", { key: '4f09341fb3d8d3ac14e1ab82841f099a9dab9435', class: "radio-group-wrapper" }, h("slot", { key: '4317ba35d152faa7ddabd7770a6cd3592dee4514' }))));
|
|
248
248
|
}
|
|
249
249
|
static get is() { return "ion-radio-group"; }
|
|
250
|
-
static get encapsulation() { return "shadow"; }
|
|
251
250
|
static get originalStyleUrls() {
|
|
252
251
|
return {
|
|
253
252
|
"ios": ["radio-group.ios.scss"],
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
* }
|
|
60
60
|
* }
|
|
61
61
|
*/
|
|
62
|
-
|
|
62
|
+
ion-radio-group {
|
|
63
63
|
vertical-align: top;
|
|
64
64
|
}
|
|
65
65
|
|
|
@@ -75,11 +75,11 @@
|
|
|
75
75
|
display: block;
|
|
76
76
|
}
|
|
77
77
|
|
|
78
|
-
|
|
78
|
+
.ion-touched.ion-invalid .radio-group-top .error-text {
|
|
79
79
|
display: block;
|
|
80
80
|
}
|
|
81
81
|
|
|
82
|
-
|
|
82
|
+
.ion-touched.ion-invalid .radio-group-top .helper-text {
|
|
83
83
|
display: none;
|
|
84
84
|
}
|
|
85
85
|
|
|
@@ -144,6 +144,10 @@
|
|
|
144
144
|
* }
|
|
145
145
|
* }
|
|
146
146
|
*/
|
|
147
|
+
.radio-group-wrapper {
|
|
148
|
+
display: inline;
|
|
149
|
+
}
|
|
150
|
+
|
|
147
151
|
.radio-group-top {
|
|
148
152
|
line-height: 1.5;
|
|
149
153
|
}
|
|
@@ -217,7 +221,7 @@
|
|
|
217
221
|
* }
|
|
218
222
|
* }
|
|
219
223
|
*/
|
|
220
|
-
|
|
224
|
+
ion-list .radio-group-top {
|
|
221
225
|
-webkit-padding-start: 16px;
|
|
222
226
|
padding-inline-start: 16px;
|
|
223
227
|
-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: 'abffed8811679954ae1ccded14b09c1070aec868', onFocusin: this.onFocus, onFocusout: this.onBlur, id: rangeId, class: createColorClasses(this.color, {
|
|
686
686
|
[theme]: true,
|
|
687
687
|
'in-item': inItem,
|
|
688
688
|
'range-disabled': disabled,
|
|
@@ -691,10 +691,10 @@ export class Range {
|
|
|
691
691
|
[`range-label-placement-${labelPlacement}`]: true,
|
|
692
692
|
'range-item-start-adjustment': needsStartAdjustment,
|
|
693
693
|
'range-item-end-adjustment': needsEndAdjustment,
|
|
694
|
-
}) }, h("label", { key: '
|
|
694
|
+
}) }, h("label", { key: '4296d7310d335ba9783d96e982159e8563a3ea35', class: "range-wrapper", id: "range-label" }, h("div", { key: '8087acc009ee1287f0ddd483669cd6284ff84004', class: {
|
|
695
695
|
'label-text-wrapper': true,
|
|
696
696
|
'label-text-wrapper-hidden': !hasLabel,
|
|
697
|
-
}, part: "label" }, label !== undefined ? h("div", { class: "label-text" }, label) : h("slot", { name: "label" })), h("div", { key: '
|
|
697
|
+
}, part: "label" }, label !== undefined ? h("div", { class: "label-text" }, label) : h("slot", { name: "label" })), h("div", { key: 'fa1207cbb99ccb9a9cc60c2409977c1b925476b0', class: "native-wrapper" }, h("slot", { key: 'fdbe6f0c142f3511e1b526f6d4df195c105660c5', name: "start" }), this.renderRangeSlider(), h("slot", { key: '3f03f148fbd461a7a87c8f2da5e5cba37213ef30', name: "end" })))));
|
|
698
698
|
}
|
|
699
699
|
static get is() { return "ion-range"; }
|
|
700
700
|
static get encapsulation() { return "shadow"; }
|
|
@@ -690,7 +690,7 @@ export class Refresher {
|
|
|
690
690
|
}
|
|
691
691
|
render() {
|
|
692
692
|
const theme = getIonTheme(this);
|
|
693
|
-
return (h(Host, { key: '
|
|
693
|
+
return (h(Host, { key: 'fdf580e687c1cd7c507a7357ea87a03270ff9f0b', slot: "fixed", class: {
|
|
694
694
|
[theme]: true,
|
|
695
695
|
// Used internally for styling
|
|
696
696
|
[`refresher-${theme}`]: true,
|
|
@@ -53,9 +53,9 @@ export class RefresherContent {
|
|
|
53
53
|
const hasSpinner = pullingIcon != null && SPINNERS[pullingIcon] !== undefined;
|
|
54
54
|
const theme = getIonTheme(this);
|
|
55
55
|
const arrowIcon = theme === 'ionic' ? caretLeftFill : caretBackSharp;
|
|
56
|
-
return (h(Host, { key: '
|
|
56
|
+
return (h(Host, { key: '3a3a3fb44f8397bb8e5019b51254ada8c26ae371', class: {
|
|
57
57
|
[theme]: true,
|
|
58
|
-
} }, h("div", { key: '
|
|
58
|
+
} }, h("div", { key: '3e63966e8c2b262b1f9d4a5545dbdd00e97a4c68', class: "refresher-pulling" }, this.pullingIcon && hasSpinner && (h("div", { key: 'd4c8fa7151cee666520a40050c58f6e8201b14a5', class: "refresher-pulling-icon" }, h("div", { key: '2f45a17fe5fe51e81e2d7bd580fd60ce754c5989', class: "spinner-arrow-container" }, h("ion-spinner", { key: '210cd5f152453a283dbc579f545c683e3af84ea3', name: this.pullingIcon, paused: true }), (theme === 'md' || theme === 'ionic') && this.pullingIcon === 'circular' && (h("div", { key: '060c8d531e90478121113f59989ac29809f48947', class: "arrow-container" }, h("ion-icon", { key: '7c30ddd2c1a6e2274e7d57f792733017c663197b', icon: arrowIcon, "aria-hidden": "true" })))))), this.pullingIcon && !hasSpinner && (h("div", { key: '3dee253d56c871195dcd59eaedc2b867ac578319', class: "refresher-pulling-icon" }, h("ion-icon", { key: '46b859328da272449f316ea8f68f3c3dd545c2e7', icon: this.pullingIcon, lazy: false, "aria-hidden": "true" }))), this.pullingText !== undefined && this.renderPullingText()), h("div", { key: '56660f9f6cff1006c5552df3a9430124689d42cb', class: "refresher-refreshing" }, this.refreshingSpinner && (h("div", { key: 'e8232281f251e5d0d22972fa8e38176edc3d9e5d', class: "refresher-refreshing-icon" }, h("ion-spinner", { key: '70f42df444c4669f393137f218ba9d635f76a26c', name: this.refreshingSpinner }))), this.refreshingText !== undefined && this.renderRefreshingText())));
|
|
59
59
|
}
|
|
60
60
|
static get is() { return "ion-refresher-content"; }
|
|
61
61
|
static get originalStyleUrls() {
|
|
@@ -43,9 +43,9 @@ export class Reorder {
|
|
|
43
43
|
render() {
|
|
44
44
|
const { reorderHandleIcon } = this;
|
|
45
45
|
const theme = getIonTheme(this);
|
|
46
|
-
return (h(Host, { key: '
|
|
46
|
+
return (h(Host, { key: 'ba59a095c200b70c6d847dc7362d52b315dc853a', class: {
|
|
47
47
|
[theme]: true,
|
|
48
|
-
} }, h("slot", { key: '
|
|
48
|
+
} }, h("slot", { key: '79be263f78cc21c9c4f91326e557e65849ab1e51' }, h("ion-icon", { key: '6e5c47c8bbd33f5cd405a5fd531831cb87c8e57e', icon: reorderHandleIcon, lazy: false, class: "reorder-icon", part: "icon", "aria-hidden": "true" }))));
|
|
49
49
|
}
|
|
50
50
|
static get is() { return "ion-reorder"; }
|
|
51
51
|
static get encapsulation() { return "shadow"; }
|
|
@@ -257,7 +257,7 @@ export class ReorderGroup {
|
|
|
257
257
|
}
|
|
258
258
|
render() {
|
|
259
259
|
const theme = getIonTheme(this);
|
|
260
|
-
return (h(Host, { key: '
|
|
260
|
+
return (h(Host, { key: 'df12858536c409c76552fe79b88827b3c4a5d9c5', class: {
|
|
261
261
|
[theme]: true,
|
|
262
262
|
'reorder-enabled': !this.disabled,
|
|
263
263
|
'reorder-list-active': this.state !== 0 /* ReorderGroupState.Idle */,
|
|
@@ -72,7 +72,7 @@ export class RippleEffect {
|
|
|
72
72
|
}
|
|
73
73
|
render() {
|
|
74
74
|
const theme = getIonTheme(this);
|
|
75
|
-
return (h(Host, { key: '
|
|
75
|
+
return (h(Host, { key: '502ce1841747f255dfab542914bebd0d0f4ae9bd', role: "presentation", class: {
|
|
76
76
|
[theme]: true,
|
|
77
77
|
unbounded: this.unbounded,
|
|
78
78
|
} }));
|
|
@@ -26,10 +26,10 @@ export class RouterLink {
|
|
|
26
26
|
rel: this.rel,
|
|
27
27
|
target: this.target,
|
|
28
28
|
};
|
|
29
|
-
return (h(Host, { key: '
|
|
29
|
+
return (h(Host, { key: '518b86cf40eb95e03f75a20ff44fff804ac8ec4d', onClick: this.onClick, class: createColorClasses(this.color, {
|
|
30
30
|
[theme]: true,
|
|
31
31
|
'ion-activatable': true,
|
|
32
|
-
}) }, h("a", Object.assign({ key: '
|
|
32
|
+
}) }, h("a", Object.assign({ key: 'dbf3cc12752b4fa2d3873723a8ea5a30b053d261' }, attrs), h("slot", { key: '9614e46a8d35201937f1f9a39b88f71b78efa7a0' }))));
|
|
33
33
|
}
|
|
34
34
|
static get is() { return "ion-router-link"; }
|
|
35
35
|
static get encapsulation() { return "shadow"; }
|
|
@@ -184,7 +184,7 @@ export class RouterOutlet {
|
|
|
184
184
|
return true;
|
|
185
185
|
}
|
|
186
186
|
render() {
|
|
187
|
-
return h("slot", { key: '
|
|
187
|
+
return h("slot", { key: '3f107f085a977b4d27c7266771a9564e3219f736' });
|
|
188
188
|
}
|
|
189
189
|
static get is() { return "ion-router-outlet"; }
|
|
190
190
|
static get encapsulation() { return "shadow"; }
|
|
@@ -10,9 +10,9 @@ import { getIonTheme } from "../../global/ionic-global";
|
|
|
10
10
|
export class Row {
|
|
11
11
|
render() {
|
|
12
12
|
const theme = getIonTheme(this);
|
|
13
|
-
return (h(Host, { key: '
|
|
13
|
+
return (h(Host, { key: '6f5dd5032485a69ddf9510e2e539a7ba90afda47', class: {
|
|
14
14
|
[theme]: true,
|
|
15
|
-
} }, h("slot", { key: '
|
|
15
|
+
} }, h("slot", { key: '994dcbbc871d606b61ff5993fb29aa1fa349c483' })));
|
|
16
16
|
}
|
|
17
17
|
static get is() { return "ion-row"; }
|
|
18
18
|
static get encapsulation() { return "shadow"; }
|
|
@@ -531,8 +531,8 @@ export class Searchbar {
|
|
|
531
531
|
const shouldShowCancelButton = this.shouldShowCancelButton();
|
|
532
532
|
const shape = this.getShape();
|
|
533
533
|
const size = this.getSize();
|
|
534
|
-
const cancelButton = this.showCancelButton !== 'never' && (h("button", { key: '
|
|
535
|
-
return (h(Host, { key: '
|
|
534
|
+
const cancelButton = this.showCancelButton !== 'never' && (h("button", { key: '3f7daa2a4ec57132e8baf591542569338e7ec9c8', "aria-label": cancelButtonText, "aria-hidden": shouldShowCancelButton ? undefined : 'true', type: "button", tabIndex: theme === 'ios' && !shouldShowCancelButton ? -1 : undefined, onMouseDown: this.onCancelSearchbar, onTouchStart: this.onCancelSearchbar, class: "searchbar-cancel-button" }, h("div", { key: 'f214142fec5644d91eae82644558e6b817094957', "aria-hidden": "true" }, theme === 'md' || theme === 'ionic' ? (h("ion-icon", { "aria-hidden": "true", icon: searchbarCancelIcon, lazy: false })) : (cancelButtonText))));
|
|
535
|
+
return (h(Host, { key: '47e075305f28373fffab3e006ab4014da6dfb0c8', role: "search", "aria-disabled": this.disabled ? 'true' : null, class: createColorClasses(this.color, {
|
|
536
536
|
[theme]: true,
|
|
537
537
|
'searchbar-animated': animated,
|
|
538
538
|
'searchbar-disabled': this.disabled,
|
|
@@ -546,14 +546,14 @@ export class Searchbar {
|
|
|
546
546
|
[`searchbar-shape-${shape}`]: shape !== undefined,
|
|
547
547
|
[`searchbar-size-${size}`]: size !== undefined,
|
|
548
548
|
'in-toolbar': hostContext('ion-toolbar', this.el),
|
|
549
|
-
}) }, h("div", { key: '
|
|
549
|
+
}) }, h("div", { key: '14b271ab3eebf1b651a8cfd758c7880b548bb98d', class: "searchbar-input-container" }, h("input", Object.assign({ key: 'f84a9435002eba2084ce0269fa3c926b7c03209d', "aria-label": "search text", disabled: this.disabled, ref: (el) => (this.nativeInput = el), class: "searchbar-input", inputMode: this.inputmode, enterKeyHint: this.enterkeyhint, name: this.name, onInput: this.onInput, onChange: this.onChange, onBlur: this.onBlur, onFocus: this.onFocus, minLength: this.minlength, maxLength: this.maxlength, placeholder: this.placeholder, type: this.type, value: this.getValue(), autoCapitalize: autocapitalize === 'default' ? undefined : autocapitalize, autoComplete: this.autocomplete, autoCorrect: this.autocorrect, spellcheck: this.spellcheck }, this.inheritedAttributes)), (theme === 'md' || theme === 'ionic') && cancelButton, this.shouldShowSearchIcon() && (h("ion-icon", { key: 'e1c7a66dba99591b0e3df5966acd027a561ee0ca', "aria-hidden": "true", icon: searchbarSearchIcon, lazy: false, class: "searchbar-search-icon" })), this.shouldShowClearButton() && (h("button", { key: 'bf55ac02128e22f9d303e75b9289c251bd582cdd', "aria-label": "reset", type: "button", "no-blur": true, class: "searchbar-clear-button", onPointerDown: (ev) => {
|
|
550
550
|
/**
|
|
551
551
|
* This prevents mobile browsers from
|
|
552
552
|
* blurring the input when the clear
|
|
553
553
|
* button is activated.
|
|
554
554
|
*/
|
|
555
555
|
ev.preventDefault();
|
|
556
|
-
}, onClick: () => this.onClearInput(true) }, h("ion-icon", { key: '
|
|
556
|
+
}, onClick: () => this.onClearInput(true) }, h("ion-icon", { key: '1ce87193499ccb682ad115a64cc5579e9bb586c9', "aria-hidden": "true", icon: searchbarClearIcon, lazy: false, class: "searchbar-clear-icon" })))), theme === 'ios' && cancelButton));
|
|
557
557
|
}
|
|
558
558
|
static get is() { return "ion-searchbar"; }
|
|
559
559
|
static get encapsulation() { return "scoped"; }
|
|
@@ -544,14 +544,14 @@ export class Segment {
|
|
|
544
544
|
}
|
|
545
545
|
render() {
|
|
546
546
|
const theme = getIonTheme(this);
|
|
547
|
-
return (h(Host, { key: '
|
|
547
|
+
return (h(Host, { key: '578d4eb20a89742c8c3cb3109fe62a5fdf87b089', role: "tablist", onClick: this.onClick, class: createColorClasses(this.color, {
|
|
548
548
|
[theme]: true,
|
|
549
549
|
'in-toolbar': hostContext('ion-toolbar', this.el),
|
|
550
550
|
'in-toolbar-color': hostContext('ion-toolbar[color]', this.el),
|
|
551
551
|
'segment-activated': this.activated,
|
|
552
552
|
'segment-disabled': this.disabled,
|
|
553
553
|
'segment-scrollable': this.scrollable,
|
|
554
|
-
}) }, h("slot", { key: '
|
|
554
|
+
}) }, h("slot", { key: '4b9999c95622773aea0c1bf3d1ab9dc650efb5eb', onSlotchange: this.onSlottedItemsChange })));
|
|
555
555
|
}
|
|
556
556
|
static get is() { return "ion-segment"; }
|
|
557
557
|
static get encapsulation() { return "shadow"; }
|
|
@@ -112,7 +112,7 @@ export class SegmentButton {
|
|
|
112
112
|
const { checked, type, disabled, hasIcon, hasLabel, layout, segmentEl } = this;
|
|
113
113
|
const theme = getIonTheme(this);
|
|
114
114
|
const hasSegmentColor = () => (segmentEl === null || segmentEl === void 0 ? void 0 : segmentEl.color) !== undefined;
|
|
115
|
-
return (h(Host, { key: '
|
|
115
|
+
return (h(Host, { key: '75eeffd15e3581c15f48a0b12cbf5a4229b087d6', class: {
|
|
116
116
|
[theme]: true,
|
|
117
117
|
'in-toolbar': hostContext('ion-toolbar', this.el),
|
|
118
118
|
'in-toolbar-color': hostContext('ion-toolbar[color]', this.el),
|
|
@@ -128,7 +128,7 @@ export class SegmentButton {
|
|
|
128
128
|
'ion-activatable': true,
|
|
129
129
|
'ion-activatable-instant': true,
|
|
130
130
|
'ion-focusable': true,
|
|
131
|
-
} }, h("button", Object.assign({ key: '
|
|
131
|
+
} }, h("button", Object.assign({ key: '701fd86647377f744d91eb92427c73583d229253', "aria-selected": checked ? 'true' : 'false', role: "tab", ref: (el) => (this.nativeEl = el), type: type, class: "button-native", part: "native", disabled: disabled }, this.inheritedAttributes), h("span", { key: '63634d3e500312c847194551996a2897610e0cc7', class: "button-inner" }, h("slot", { key: '89963e233c9a7ea84b7262ab84db6edbe76ee95e' })), theme === 'md' && h("ion-ripple-effect", { key: '9d766c3d48c0b2ba50ab03f2279ccf710973bbba' })), h("div", { key: 'a70f2d1a57cca4e04b00b36a6b47eb93ef4cb26e', part: "indicator", class: "segment-button-indicator segment-button-indicator-animated" }, h("div", { key: 'aff9931755a1f643147bf0e7d2be29b35d8f9d41', part: "indicator-background", class: "segment-button-indicator-background" }))));
|
|
132
132
|
}
|
|
133
133
|
static get is() { return "ion-segment-button"; }
|
|
134
134
|
static get encapsulation() { return "shadow"; }
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
import { Host, h } from "@stencil/core";
|
|
5
5
|
export class SegmentContent {
|
|
6
6
|
render() {
|
|
7
|
-
return (h(Host, { key: '
|
|
7
|
+
return (h(Host, { key: '81cc29460a17c32592fbf9fca6242f4bb1738aa6' }, h("slot", { key: '4f718420caf11c6672642fcf1a1bdb7f48d6cdfc' })));
|
|
8
8
|
}
|
|
9
9
|
static get is() { return "ion-segment-content"; }
|
|
10
10
|
static get encapsulation() { return "shadow"; }
|
|
@@ -99,10 +99,10 @@ export class SegmentView {
|
|
|
99
99
|
}
|
|
100
100
|
render() {
|
|
101
101
|
const { disabled, isManualScroll } = this;
|
|
102
|
-
return (h(Host, { key: '
|
|
102
|
+
return (h(Host, { key: 'caf57037127fff688f45edd7c27018fc1d8cc689', class: {
|
|
103
103
|
'segment-view-disabled': disabled,
|
|
104
104
|
'segment-view-scroll-disabled': isManualScroll === false,
|
|
105
|
-
} }, h("slot", { key: '
|
|
105
|
+
} }, h("slot", { key: 'f93d19747ed3f04ee5a966412f62f2900ee45480' })));
|
|
106
106
|
}
|
|
107
107
|
static get is() { return "ion-segment-view"; }
|
|
108
108
|
static get encapsulation() { return "shadow"; }
|
|
@@ -899,7 +899,7 @@ export class Select {
|
|
|
899
899
|
* TODO(FW-5592): Remove hasStartEndSlots condition
|
|
900
900
|
*/
|
|
901
901
|
const labelShouldFloat = labelPlacement === 'stacked' || (labelPlacement === 'floating' && (hasValue || isExpanded || hasStartEndSlots));
|
|
902
|
-
return (h(Host, { key: '
|
|
902
|
+
return (h(Host, { key: 'f7cd507ad8d9a480ed2f48237a63def44fb5cfbe', onClick: this.onClick, class: createColorClasses(this.color, {
|
|
903
903
|
[theme]: true,
|
|
904
904
|
'in-item': inItem,
|
|
905
905
|
'in-item-color': hostContext('ion-item.ion-color', el),
|
|
@@ -918,7 +918,7 @@ export class Select {
|
|
|
918
918
|
[`select-shape-${shape}`]: shape !== undefined,
|
|
919
919
|
[`select-label-placement-${labelPlacement}`]: true,
|
|
920
920
|
[`select-size-${size}`]: size !== undefined,
|
|
921
|
-
}) }, h("label", { key: '
|
|
921
|
+
}) }, h("label", { key: '773c355e02fad6946eb0515b517c7e33308d9d36', class: "select-wrapper", id: "select-label", onClick: this.onLabelClick }, this.renderLabelContainer(), h("div", { key: 'ff3d179c5e2944c61a3096214f1530317571623f', class: "select-wrapper-inner" },
|
|
922
922
|
/**
|
|
923
923
|
* For the ionic theme, we render the outline container here
|
|
924
924
|
* instead of higher up, so it can be positioned relative to
|
|
@@ -928,7 +928,7 @@ export class Select {
|
|
|
928
928
|
* <label> element, ensuring that clicking the label text
|
|
929
929
|
* focuses the select.
|
|
930
930
|
*/
|
|
931
|
-
theme === 'ionic' && fill === 'outline' && h("div", { key: '
|
|
931
|
+
theme === 'ionic' && fill === 'outline' && h("div", { key: '7830f405008ed239d439fa2cdb631c956b94b09f', class: "select-outline" }), h("slot", { key: '9bb2454c635cff619fde5cd09a87fc3bc279e063', name: "start" }), h("div", { key: '8238a804b15f9a14152aed0296ede7340ebcb293', class: "native-wrapper", ref: (el) => (this.nativeWrapperEl = el), part: "container" }, this.renderSelectText(), this.renderListbox()), h("slot", { key: 'f69bcdea9ffb8047f8833d08eaf4fc5f4647fcbf', name: "end" }), shouldRenderInnerIcon && this.renderSelectIcon()), shouldRenderOuterIcon && this.renderSelectIcon(), shouldRenderHighlight && h("div", { key: 'cea830f2652a7d26b60be500caf89a11dcba5fbc', class: "select-highlight" })), this.renderBottomContent()));
|
|
932
932
|
}
|
|
933
933
|
static get is() { return "ion-select"; }
|
|
934
934
|
static get encapsulation() { return "shadow"; }
|
|
@@ -82,7 +82,7 @@ export class SelectModal {
|
|
|
82
82
|
} }, option.text))));
|
|
83
83
|
}
|
|
84
84
|
render() {
|
|
85
|
-
return (h(Host, { key: '
|
|
85
|
+
return (h(Host, { key: '2ceb196accee272559c43225a859befa68027333', class: Object.assign({ [getIonMode(this)]: true }, this.getModalContextClasses()) }, h("ion-header", { key: 'b0176847bd9ce94e28d72766d6a035a93ff6f10a' }, h("ion-toolbar", { key: '49c2b1cf8e82b1d975cca67b154b149823b47b1f' }, this.header !== undefined && h("ion-title", { key: 'fdc881fd94c07ca38d60e85170d176c7cf4139fb' }, this.header), h("ion-buttons", { key: '8dfc972aa974909ecf2e5782e972b959a900f8c5', slot: "end" }, h("ion-button", { key: 'b862896118bd4da0afc17925eab9dc9ed5269220', onClick: () => this.closeModal() }, "Close")))), h("ion-content", { key: 'a7f5bf8f88377d978d2c7bdba3abefcc332296a3' }, h("ion-list", { key: '23529677979b9ac63e2cba8d55f7f965489b74c5' }, this.multiple === true ? this.renderCheckboxOptions() : this.renderRadioOptions()))));
|
|
86
86
|
}
|
|
87
87
|
static get is() { return "ion-select-modal"; }
|
|
88
88
|
static get encapsulation() { return "scoped"; }
|
|
@@ -17,7 +17,7 @@ export class SelectOption {
|
|
|
17
17
|
}
|
|
18
18
|
render() {
|
|
19
19
|
const theme = getIonTheme(this);
|
|
20
|
-
return (h(Host, { key: '
|
|
20
|
+
return (h(Host, { key: '39af595655b3645c923617fe4d4fa64112008273', class: {
|
|
21
21
|
[theme]: true,
|
|
22
22
|
}, role: "option", id: this.inputId }));
|
|
23
23
|
}
|
|
@@ -105,9 +105,9 @@ export class SelectPopover {
|
|
|
105
105
|
const { header, message, options, subHeader } = this;
|
|
106
106
|
const hasSubHeaderOrMessage = subHeader !== undefined || message !== undefined;
|
|
107
107
|
const theme = getIonTheme(this);
|
|
108
|
-
return (h(Host, { key: '
|
|
108
|
+
return (h(Host, { key: '9b5160e6657620038fb4167ab7d08e2687be554b', class: {
|
|
109
109
|
[theme]: true,
|
|
110
|
-
} }, h("ion-list", { key: '
|
|
110
|
+
} }, h("ion-list", { key: '5f015bcc53bf96de3da98f05a73c6e1e7bc3250c' }, header !== undefined && h("ion-list-header", { key: 'e7275a4b3b0b8706b6a89ed9fd4bf1bb6cf274a8' }, header), hasSubHeaderOrMessage && (h("ion-item", { key: 'ca5750144abaf01d613f7ff4923939e6d6f4c0c8' }, h("ion-label", { key: '299735684f529e05f08405b6587dec23fb8d2851', class: "ion-text-wrap" }, subHeader !== undefined && h("h3", { key: 'af85ac2c17050eca4902811a886e7001b92701fe' }, subHeader), message !== undefined && h("p", { key: 'f64006af8f2ffaf41d6d21701efa2d40580796e0' }, message)))), this.renderOptions(options))));
|
|
111
111
|
}
|
|
112
112
|
static get is() { return "ion-select-popover"; }
|
|
113
113
|
static get encapsulation() { return "scoped"; }
|
|
@@ -32,11 +32,11 @@ export class SkeletonText {
|
|
|
32
32
|
const animated = this.animated && config.getBoolean('animated', true);
|
|
33
33
|
const inMedia = hostContext('ion-avatar', this.el) || hostContext('ion-thumbnail', this.el);
|
|
34
34
|
const theme = getIonTheme(this);
|
|
35
|
-
return (h(Host, { key: '
|
|
35
|
+
return (h(Host, { key: '5014563646b6c5213750d503babce3013b66ec96', class: {
|
|
36
36
|
[theme]: true,
|
|
37
37
|
'skeleton-text-animated': animated,
|
|
38
38
|
'in-media': inMedia,
|
|
39
|
-
} }, h("span", { key: '
|
|
39
|
+
} }, h("span", { key: '4b816883b1c71bb1db66d8b2b084559f7cb489bd' }, "\u00A0")));
|
|
40
40
|
}
|
|
41
41
|
static get is() { return "ion-skeleton-text"; }
|
|
42
42
|
static get encapsulation() { return "shadow"; }
|
|
@@ -56,7 +56,7 @@ export class Spinner {
|
|
|
56
56
|
svgs.push(buildLine(spinner, duration, i, spinner.lines));
|
|
57
57
|
}
|
|
58
58
|
}
|
|
59
|
-
return (h(Host, { key: '
|
|
59
|
+
return (h(Host, { key: '0b3ce4b99c2c828d05b507c4f073811ebbe17d0f', class: createColorClasses(self.color, {
|
|
60
60
|
[theme]: true,
|
|
61
61
|
[`spinner-${spinnerName}`]: true,
|
|
62
62
|
'spinner-paused': self.paused || config.getBoolean('_testing'),
|
|
@@ -130,12 +130,12 @@ export class SplitPane {
|
|
|
130
130
|
}
|
|
131
131
|
render() {
|
|
132
132
|
const theme = getIonTheme(this);
|
|
133
|
-
return (h(Host, { key: '
|
|
133
|
+
return (h(Host, { key: '9d0c67f1f81b09bb9a6f14a66053e5cc7431a286', class: {
|
|
134
134
|
[theme]: true,
|
|
135
135
|
// Used internally for styling
|
|
136
136
|
[`split-pane-${theme}`]: true,
|
|
137
137
|
'split-pane-visible': this.visible,
|
|
138
|
-
} }, h("slot", { key: '
|
|
138
|
+
} }, h("slot", { key: 'ab7b3050d3c5484bd00949cf57efa4396b4d5bc3' })));
|
|
139
139
|
}
|
|
140
140
|
static get is() { return "ion-split-pane"; }
|
|
141
141
|
static get encapsulation() { return "shadow"; }
|
|
@@ -51,10 +51,10 @@ export class Tab {
|
|
|
51
51
|
}
|
|
52
52
|
render() {
|
|
53
53
|
const { tab, active, component } = this;
|
|
54
|
-
return (h(Host, { key: '
|
|
54
|
+
return (h(Host, { key: 'b249545a5adfcef4616afe79aa0f215bab464d0a', role: "tabpanel", "aria-hidden": !active ? 'true' : null, "aria-labelledby": `tab-button-${tab}`, class: {
|
|
55
55
|
'ion-page': component === undefined,
|
|
56
56
|
'tab-hidden': !active,
|
|
57
|
-
} }, h("slot", { key: '
|
|
57
|
+
} }, h("slot", { key: '19e2a406d96d20d8d4af8c3ff900e975d06021f6' })));
|
|
58
58
|
}
|
|
59
59
|
static get is() { return "ion-tab"; }
|
|
60
60
|
static get encapsulation() { return "shadow"; }
|
|
@@ -91,13 +91,13 @@ export class TabBar {
|
|
|
91
91
|
const theme = getIonTheme(this);
|
|
92
92
|
const shape = this.getShape();
|
|
93
93
|
const shouldHide = keyboardVisible && this.el.getAttribute('slot') !== 'top';
|
|
94
|
-
return (h(Host, { key: '
|
|
94
|
+
return (h(Host, { key: 'c659f0d907c52602880822351d21c78339d2b6d3', role: "tablist", "aria-hidden": shouldHide ? 'true' : null, class: createColorClasses(color, {
|
|
95
95
|
[theme]: true,
|
|
96
96
|
'tab-bar-translucent': translucent,
|
|
97
97
|
'tab-bar-hidden': shouldHide,
|
|
98
98
|
[`tab-bar-${expand}`]: true,
|
|
99
99
|
[`tab-bar-${shape}`]: shape !== undefined,
|
|
100
|
-
}) }, h("slot", { key: '
|
|
100
|
+
}) }, h("slot", { key: '34000fa9365e40f29a7aaf9669b523292b304af8' })));
|
|
101
101
|
}
|
|
102
102
|
static get is() { return "ion-tab-bar"; }
|
|
103
103
|
static get encapsulation() { return "shadow"; }
|
|
@@ -93,7 +93,7 @@ export class TabButton {
|
|
|
93
93
|
rel,
|
|
94
94
|
target,
|
|
95
95
|
};
|
|
96
|
-
return (h(Host, { key: '
|
|
96
|
+
return (h(Host, { key: '5a32785eaf0570cdc3444d52ce8bba8174c3e0b9', onClick: this.onClick, onKeyup: this.onKeyUp, id: tab !== undefined ? `tab-button-${tab}` : null, class: {
|
|
97
97
|
[theme]: true,
|
|
98
98
|
'tab-selected': selected,
|
|
99
99
|
'tab-disabled': disabled,
|
|
@@ -106,7 +106,7 @@ export class TabButton {
|
|
|
106
106
|
'ion-selectable': true,
|
|
107
107
|
[`tab-button-shape-${shape}`]: shape !== undefined,
|
|
108
108
|
'ion-focusable': true,
|
|
109
|
-
} }, h("a", Object.assign({ key: '
|
|
109
|
+
} }, h("a", Object.assign({ key: '1441f409b4a60823a57f27b90f6840b557b7d65a' }, attrs, { class: "button-native", part: "native", role: "tab", "aria-selected": selected ? 'true' : null, "aria-disabled": disabled ? 'true' : null, tabindex: disabled ? '-1' : undefined }, inheritedAttributes), h("span", { key: '1566ca0af66b6e51068aca221a89133d2af061ed', class: "button-inner" }, h("slot", { key: '757878091cfe3768107eb0a53b8d1c895ce43399' })), theme === 'md' && h("ion-ripple-effect", { key: '28dde3e7127bdc9d5e1477b47458a5a4ab71328e', type: "unbounded" }))));
|
|
110
110
|
}
|
|
111
111
|
static get is() { return "ion-tab-button"; }
|
|
112
112
|
static get encapsulation() { return "shadow"; }
|
|
@@ -165,7 +165,7 @@ export class Tabs {
|
|
|
165
165
|
return Array.from(this.el.querySelectorAll('ion-tab'));
|
|
166
166
|
}
|
|
167
167
|
render() {
|
|
168
|
-
return (h(Host, { key: '
|
|
168
|
+
return (h(Host, { key: '9c05f69a72ab24897f1febab0928783d08224734', onIonTabButtonClick: this.onTabClicked }, h("slot", { key: '56407c9562bfd095e0259e430879151b824287fd', name: "top" }), h("div", { key: '6a86ceff372b8a60342040d9361ad31bf05e80ec', class: "tabs-inner" }, h("slot", { key: 'a554d3e835236a87686a0a53bd16d3124e77c0c5' })), h("slot", { key: 'd241d4cfba26a7ce3a3f93703dae18b8857bd9ee', name: "bottom" })));
|
|
169
169
|
}
|
|
170
170
|
static get is() { return "ion-tabs"; }
|
|
171
171
|
static get encapsulation() { return "shadow"; }
|
|
@@ -11,9 +11,9 @@ import { getIonTheme } from "../../global/ionic-global";
|
|
|
11
11
|
export class Text {
|
|
12
12
|
render() {
|
|
13
13
|
const theme = getIonTheme(this);
|
|
14
|
-
return (h(Host, { key: '
|
|
14
|
+
return (h(Host, { key: '7a3f31d6e219207a1ff98ac441357caa512012e5', class: createColorClasses(this.color, {
|
|
15
15
|
[theme]: true,
|
|
16
|
-
}) }, h("slot", { key: '
|
|
16
|
+
}) }, h("slot", { key: '392d48d6a5e0e5d1b44e762ec96fb8b53b3ebd49' })));
|
|
17
17
|
}
|
|
18
18
|
static get is() { return "ion-text"; }
|
|
19
19
|
static get encapsulation() { return "shadow"; }
|