@ionic/core 8.4.2-dev.11741359058.1ab81f3d → 8.4.2-dev.11741365851.1a97ead6
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-searchbar.js +5 -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/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 +4 -4
- package/dist/cjs/ion-avatar_3.cjs.entry.js +2 -2
- package/dist/cjs/ion-item_8.cjs.entry.js +2 -2
- package/dist/cjs/ion-searchbar.cjs.entry.js +5 -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/collection/components/searchbar/searchbar.ionic.css +18 -12
- package/dist/collection/components/searchbar/searchbar.js +4 -3
- 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 +1 -1
- package/dist/esm/ion-app_8.entry.js +4 -4
- package/dist/esm/ion-avatar_3.entry.js +2 -2
- package/dist/esm/ion-item_8.entry.js +2 -2
- package/dist/esm/ion-searchbar.entry.js +5 -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-es5/ion-app_8.entry.js +1 -1
- package/dist/esm-es5/ion-avatar_3.entry.js +1 -1
- package/dist/esm-es5/ion-item_8.entry.js +1 -1
- package/dist/esm-es5/ion-searchbar.entry.js +1 -1
- package/dist/esm-es5/ion-segment-content.entry.js +1 -1
- package/dist/esm-es5/ion-segment-view.entry.js +1 -1
- package/dist/esm-es5/ion-segment_2.entry.js +1 -1
- package/dist/esm-es5/ion-select-modal.entry.js +1 -1
- package/dist/esm-es5/ion-select_3.entry.js +1 -1
- package/dist/esm-es5/ion-spinner.entry.js +1 -1
- package/dist/esm-es5/ion-split-pane.entry.js +1 -1
- package/dist/esm-es5/ion-tab-bar_2.entry.js +1 -1
- package/dist/esm-es5/ion-tab_2.entry.js +1 -1
- package/dist/esm-es5/ion-text.entry.js +1 -1
- package/dist/esm-es5/ion-textarea.entry.js +1 -1
- package/dist/esm-es5/ion-toast.entry.js +1 -1
- package/dist/esm-es5/ion-toggle.entry.js +1 -1
- package/dist/ionic/ionic.esm.js +1 -1
- package/dist/ionic/{p-ac558084.entry.js → p-20fb0bb4.entry.js} +1 -1
- package/dist/ionic/{p-da89b9bd.system.entry.js → p-21d62720.system.entry.js} +2 -2
- package/dist/ionic/{p-d854fb32.entry.js → p-25fcbafe.entry.js} +1 -1
- package/dist/ionic/{p-d7e43c62.system.entry.js → p-2730ecee.system.entry.js} +1 -1
- package/dist/ionic/p-2f57cb40.entry.js +4 -0
- package/dist/ionic/p-341a80ea.entry.js +4 -0
- package/dist/ionic/{p-4b4e4592.system.entry.js → p-345ed859.system.entry.js} +1 -1
- package/dist/ionic/{p-8a8e843c.system.entry.js → p-497b67a3.system.entry.js} +1 -1
- package/dist/ionic/{p-03df1462.entry.js → p-4b769e3f.entry.js} +1 -1
- package/dist/ionic/{p-7cfe6f4a.entry.js → p-531c3061.entry.js} +1 -1
- package/dist/ionic/{p-9cd19610.system.entry.js → p-633b126a.system.entry.js} +1 -1
- package/dist/ionic/{p-af69da90.entry.js → p-656490af.entry.js} +1 -1
- package/dist/ionic/{p-297fcc18.system.entry.js → p-6fe386d5.system.entry.js} +1 -1
- package/dist/ionic/{p-402ffd31.entry.js → p-8cdc3684.entry.js} +1 -1
- package/dist/ionic/{p-fa5dc348.entry.js → p-91f6fc46.entry.js} +1 -1
- package/dist/ionic/{p-a78181cc.system.entry.js → p-975dcbcb.system.entry.js} +1 -1
- package/dist/ionic/{p-fac055ef.entry.js → p-98f32971.entry.js} +1 -1
- package/dist/ionic/p-9f9a666d.system.js +1 -1
- package/dist/ionic/{p-886ff0f8.system.entry.js → p-a269abe3.system.entry.js} +2 -2
- package/dist/ionic/{p-97cc477f.system.entry.js → p-a27eaf15.system.entry.js} +1 -1
- package/dist/ionic/{p-a685da08.system.entry.js → p-a763eb06.system.entry.js} +2 -2
- package/dist/ionic/{p-5345fc46.entry.js → p-aae0f146.entry.js} +1 -1
- package/dist/ionic/{p-71523065.entry.js → p-aff567d6.entry.js} +1 -1
- package/dist/ionic/{p-695c2cbd.entry.js → p-bc3538f6.entry.js} +1 -1
- package/dist/ionic/{p-05b69c23.system.entry.js → p-bf037413.system.entry.js} +1 -1
- package/dist/ionic/p-c5692272.system.entry.js +4 -0
- package/dist/ionic/{p-af321c18.entry.js → p-ccae763c.entry.js} +1 -1
- package/dist/ionic/p-d7cbcadc.entry.js +4 -0
- package/dist/ionic/{p-49f0023f.entry.js → p-e4444d68.entry.js} +1 -1
- package/dist/ionic/{p-0390f622.system.entry.js → p-e49e5407.system.entry.js} +1 -1
- package/dist/ionic/{p-c48a6425.system.entry.js → p-e6e2ea96.system.entry.js} +1 -1
- package/dist/ionic/{p-d683e61f.system.entry.js → p-f536433d.system.entry.js} +1 -1
- package/dist/ionic/{p-fa5a0d2e.system.entry.js → p-f6b4018a.system.entry.js} +1 -1
- package/dist/ionic/{p-c7aa652c.entry.js → p-f7d26ada.entry.js} +1 -1
- package/dist/ionic/{p-f2f33ab4.system.entry.js → p-f8522131.system.entry.js} +1 -1
- package/hydrate/index.js +47 -46
- package/hydrate/index.mjs +47 -46
- package/package.json +1 -1
- package/dist/ionic/p-27258d5a.entry.js +0 -4
- package/dist/ionic/p-3608e72b.entry.js +0 -4
- package/dist/ionic/p-54da2dd3.system.entry.js +0 -4
- package/dist/ionic/p-a8c55b8a.entry.js +0 -4
|
@@ -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: '03684b2999ac64fe13e376fd7e7f279976e9d4f2' }, h("slot", { key: '143031075bf33ca19e7cfd76fc8a67b83ccaf11c' })));
|
|
8
8
|
}
|
|
9
9
|
static get is() { return "ion-segment-content"; }
|
|
10
10
|
static get encapsulation() { return "shadow"; }
|
|
@@ -94,10 +94,10 @@ export class SegmentView {
|
|
|
94
94
|
}
|
|
95
95
|
render() {
|
|
96
96
|
const { disabled, isManualScroll } = this;
|
|
97
|
-
return (h(Host, { key: '
|
|
97
|
+
return (h(Host, { key: '4a165da536914c666b1dc89827fa5ab053f1a890', class: {
|
|
98
98
|
'segment-view-disabled': disabled,
|
|
99
99
|
'segment-view-scroll-disabled': isManualScroll === false,
|
|
100
|
-
} }, h("slot", { key: '
|
|
100
|
+
} }, h("slot", { key: 'efe04cedb22ce150010277e9121417ba862db43a' })));
|
|
101
101
|
}
|
|
102
102
|
static get is() { return "ion-segment-view"; }
|
|
103
103
|
static get encapsulation() { return "shadow"; }
|
|
@@ -732,7 +732,7 @@ export class Select {
|
|
|
732
732
|
* TODO(FW-5592): Remove hasStartEndSlots condition
|
|
733
733
|
*/
|
|
734
734
|
const labelShouldFloat = labelPlacement === 'stacked' || (labelPlacement === 'floating' && (hasValue || isExpanded || hasStartEndSlots));
|
|
735
|
-
return (h(Host, { key: '
|
|
735
|
+
return (h(Host, { key: '0a33e10a04cc82c85014517e836331d8c6bacd94', onClick: this.onClick, class: createColorClasses(this.color, {
|
|
736
736
|
[theme]: true,
|
|
737
737
|
'in-item': inItem,
|
|
738
738
|
'in-item-color': hostContext('ion-item.ion-color', el),
|
|
@@ -749,7 +749,7 @@ export class Select {
|
|
|
749
749
|
[`select-shape-${shape}`]: shape !== undefined,
|
|
750
750
|
[`select-label-placement-${labelPlacement}`]: true,
|
|
751
751
|
[`select-size-${size}`]: size !== undefined,
|
|
752
|
-
}) }, h("label", { key: '
|
|
752
|
+
}) }, h("label", { key: '09b56cdf15a9d46dee500f546f667b97db3c5ac8', class: "select-wrapper", id: "select-label" }, this.renderLabelContainer(), h("div", { key: '5a5f298c45a67d4efec6bac6e31e5bfe17a938f0', class: "select-wrapper-inner" },
|
|
753
753
|
/**
|
|
754
754
|
* For the ionic theme, we render the outline container here
|
|
755
755
|
* instead of higher up, so it can be positioned relative to
|
|
@@ -759,7 +759,7 @@ export class Select {
|
|
|
759
759
|
* <label> element, ensuring that clicking the label text
|
|
760
760
|
* focuses the select.
|
|
761
761
|
*/
|
|
762
|
-
theme === 'ionic' && fill === 'outline' && h("div", { key: '
|
|
762
|
+
theme === 'ionic' && fill === 'outline' && h("div", { key: '60ec36fb5089550addd48a76fe563b5a83a4fb52', class: "select-outline" }), h("slot", { key: '7c1f11c0c76ff9b7abbef26e82dbb73c37856d1e', name: "start" }), h("div", { key: '5499001e3b7fbac560750aa50b3026f357b9f24f', class: "native-wrapper", ref: (el) => (this.nativeWrapperEl = el), part: "container" }, this.renderSelectText(), this.renderListbox()), h("slot", { key: 'b6fd8fe404dac4477e49ac06fee0e5d96fa9025f', name: "end" }), shouldRenderInnerIcon && this.renderSelectIcon()), shouldRenderOuterIcon && this.renderSelectIcon(), shouldRenderHighlight && h("div", { key: '53160a6a27059cb275614d7d8ee94b524269832e', class: "select-highlight" }))));
|
|
763
763
|
}
|
|
764
764
|
static get is() { return "ion-select"; }
|
|
765
765
|
static get encapsulation() { return "shadow"; }
|
|
@@ -77,7 +77,7 @@ export class SelectModal {
|
|
|
77
77
|
} }, option.text))));
|
|
78
78
|
}
|
|
79
79
|
render() {
|
|
80
|
-
return (h(Host, { key: '
|
|
80
|
+
return (h(Host, { key: 'd8943541f52e4139336d02fe0f7aaa34e3d6dcd4', class: getIonMode(this) }, h("ion-header", { key: '69b220014151a2bff77733d56f6fa7a8783ac381' }, h("ion-toolbar", { key: 'd3817f6d3f4d6465c6fbb533970559fafdce1ba9' }, this.header !== undefined && h("ion-title", { key: '7d895aa66aab684d9f74f893d1153f7c60ca74c7' }, this.header), h("ion-buttons", { key: '32869bea2d04acf8161d7bf7665aeea54f989bf8', slot: "end" }, h("ion-button", { key: '9cee7c716bdc8a9e37c06e816878fb5da93f61b8', onClick: () => this.closeModal() }, "Close")))), h("ion-content", { key: 'cd7e8a51bb037ce4c896dfe0bef65269831a2ff9' }, h("ion-list", { key: '6fb46bd883e668aa93bf9daa355065ad0489588f' }, this.multiple === true ? this.renderCheckboxOptions() : this.renderRadioOptions()))));
|
|
81
81
|
}
|
|
82
82
|
static get is() { return "ion-select-modal"; }
|
|
83
83
|
static get encapsulation() { return "scoped"; }
|
|
@@ -15,7 +15,7 @@ export class SelectOption {
|
|
|
15
15
|
}
|
|
16
16
|
render() {
|
|
17
17
|
const theme = getIonTheme(this);
|
|
18
|
-
return (h(Host, { key: '
|
|
18
|
+
return (h(Host, { key: '54487af48b0482f847f6e782434ef739cde0a73e', class: {
|
|
19
19
|
[theme]: true,
|
|
20
20
|
}, role: "option", id: this.inputId }));
|
|
21
21
|
}
|
|
@@ -106,9 +106,9 @@ export class SelectPopover {
|
|
|
106
106
|
const { header, message, options, subHeader } = this;
|
|
107
107
|
const hasSubHeaderOrMessage = subHeader !== undefined || message !== undefined;
|
|
108
108
|
const theme = getIonTheme(this);
|
|
109
|
-
return (h(Host, { key: '
|
|
109
|
+
return (h(Host, { key: 'e926e43a2e2a191d413ea8288a4785641ec46f8d', class: {
|
|
110
110
|
[theme]: true,
|
|
111
|
-
} }, h("ion-list", { key: '
|
|
111
|
+
} }, h("ion-list", { key: '8d3ec54cb1a6ef1a6af4973d306ebccdf41d3f96' }, header !== undefined && h("ion-list-header", { key: 'f9d6efb98f1b020a98bec431d683e65215f070be' }, header), hasSubHeaderOrMessage && (h("ion-item", { key: '5276388ce33a9d43ab75b7cd466cca634ffa9f85' }, h("ion-label", { key: '72572f777f72a3f15fc6f25a29c5dbacc4a42617', class: "ion-text-wrap" }, subHeader !== undefined && h("h3", { key: '021b5b51cb3bac8ae8325e5f763db78a93833ad0' }, subHeader), message !== undefined && h("p", { key: '684bb4655de6fdc2150c0a76f0ceeb14b7f4e55b' }, message)))), this.renderOptions(options))));
|
|
112
112
|
}
|
|
113
113
|
static get is() { return "ion-select-popover"; }
|
|
114
114
|
static get encapsulation() { return "scoped"; }
|
|
@@ -29,11 +29,11 @@ export class SkeletonText {
|
|
|
29
29
|
const animated = this.animated && config.getBoolean('animated', true);
|
|
30
30
|
const inMedia = hostContext('ion-avatar', this.el) || hostContext('ion-thumbnail', this.el);
|
|
31
31
|
const theme = getIonTheme(this);
|
|
32
|
-
return (h(Host, { key: '
|
|
32
|
+
return (h(Host, { key: '70efd9086ef58705a965a63aa3e5ac775757dc85', class: {
|
|
33
33
|
[theme]: true,
|
|
34
34
|
'skeleton-text-animated': animated,
|
|
35
35
|
'in-media': inMedia,
|
|
36
|
-
} }, h("span", { key: '
|
|
36
|
+
} }, h("span", { key: '296246a88e33e0106045bec2f64738f48593ba12' }, "\u00A0")));
|
|
37
37
|
}
|
|
38
38
|
static get is() { return "ion-skeleton-text"; }
|
|
39
39
|
static get encapsulation() { return "shadow"; }
|
|
@@ -57,7 +57,7 @@ export class Spinner {
|
|
|
57
57
|
svgs.push(buildLine(spinner, duration, i, spinner.lines));
|
|
58
58
|
}
|
|
59
59
|
}
|
|
60
|
-
return (h(Host, { key: '
|
|
60
|
+
return (h(Host, { key: 'e6d6c81972147b610b468cfb8535d4c4acd0911c', class: createColorClasses(self.color, {
|
|
61
61
|
[theme]: true,
|
|
62
62
|
[`spinner-${spinnerName}`]: true,
|
|
63
63
|
'spinner-paused': self.paused || config.getBoolean('_testing'),
|
|
@@ -122,12 +122,12 @@ export class SplitPane {
|
|
|
122
122
|
}
|
|
123
123
|
render() {
|
|
124
124
|
const theme = getIonTheme(this);
|
|
125
|
-
return (h(Host, { key: '
|
|
125
|
+
return (h(Host, { key: '2002430758c0d77fa67290d84c89a13e122cd56e', class: {
|
|
126
126
|
[theme]: true,
|
|
127
127
|
// Used internally for styling
|
|
128
128
|
[`split-pane-${theme}`]: true,
|
|
129
129
|
'split-pane-visible': this.visible,
|
|
130
|
-
} }, h("slot", { key: '
|
|
130
|
+
} }, h("slot", { key: '311917f6487bc42695f983ff7024e2fbc5b85f57' })));
|
|
131
131
|
}
|
|
132
132
|
static get is() { return "ion-split-pane"; }
|
|
133
133
|
static get encapsulation() { return "shadow"; }
|
|
@@ -52,10 +52,10 @@ export class Tab {
|
|
|
52
52
|
}
|
|
53
53
|
render() {
|
|
54
54
|
const { tab, active, component } = this;
|
|
55
|
-
return (h(Host, { key: '
|
|
55
|
+
return (h(Host, { key: '94e7961359b6ee01e5be26be130505cc41fa62f3', role: "tabpanel", "aria-hidden": !active ? 'true' : null, "aria-labelledby": `tab-button-${tab}`, class: {
|
|
56
56
|
'ion-page': component === undefined,
|
|
57
57
|
'tab-hidden': !active,
|
|
58
|
-
} }, h("slot", { key: '
|
|
58
|
+
} }, h("slot", { key: '0b24cddb59292470bf6a631c8ee295267c8d68b2' })));
|
|
59
59
|
}
|
|
60
60
|
static get is() { return "ion-tab"; }
|
|
61
61
|
static get encapsulation() { return "shadow"; }
|
|
@@ -67,13 +67,13 @@ export class TabBar {
|
|
|
67
67
|
const theme = getIonTheme(this);
|
|
68
68
|
const shape = this.getShape();
|
|
69
69
|
const shouldHide = keyboardVisible && this.el.getAttribute('slot') !== 'top';
|
|
70
|
-
return (h(Host, { key: '
|
|
70
|
+
return (h(Host, { key: '1827087d4fa77507b61c87ce6dd12427cb7effd0', role: "tablist", "aria-hidden": shouldHide ? 'true' : null, class: createColorClasses(color, {
|
|
71
71
|
[theme]: true,
|
|
72
72
|
'tab-bar-translucent': translucent,
|
|
73
73
|
'tab-bar-hidden': shouldHide,
|
|
74
74
|
[`tab-bar-${expand}`]: true,
|
|
75
75
|
[`tab-bar-${shape}`]: shape !== undefined,
|
|
76
|
-
}) }, h("slot", { key: '
|
|
76
|
+
}) }, h("slot", { key: '9834dc234608f09af892c2a92401f304167b9f83' })));
|
|
77
77
|
}
|
|
78
78
|
static get is() { return "ion-tab-bar"; }
|
|
79
79
|
static get encapsulation() { return "shadow"; }
|
|
@@ -85,7 +85,7 @@ export class TabButton {
|
|
|
85
85
|
rel,
|
|
86
86
|
target,
|
|
87
87
|
};
|
|
88
|
-
return (h(Host, { key: '
|
|
88
|
+
return (h(Host, { key: '35c0d5aa92aef2f25833319f1b2ceabed06fad4f', onClick: this.onClick, onKeyup: this.onKeyUp, id: tab !== undefined ? `tab-button-${tab}` : null, class: {
|
|
89
89
|
[theme]: true,
|
|
90
90
|
'tab-selected': selected,
|
|
91
91
|
'tab-disabled': disabled,
|
|
@@ -98,7 +98,7 @@ export class TabButton {
|
|
|
98
98
|
'ion-selectable': true,
|
|
99
99
|
[`tab-button-shape-${shape}`]: shape !== undefined,
|
|
100
100
|
'ion-focusable': true,
|
|
101
|
-
} }, h("a", Object.assign({ key: '
|
|
101
|
+
} }, h("a", Object.assign({ key: '87bc750e94738ec73b2316d5a54df0affc4ad297' }, 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: 'ab3044999782632130135f53fca46c39576583b4', class: "button-inner" }, h("slot", { key: '6b9d8e397b9ffe1cd56b7f15de61cc2b77869eaf' })), theme === 'md' && h("ion-ripple-effect", { key: 'ade73af4b03ddef4860cc719b4682c300c3eeb35', type: "unbounded" }))));
|
|
102
102
|
}
|
|
103
103
|
static get is() { return "ion-tab-button"; }
|
|
104
104
|
static get encapsulation() { return "shadow"; }
|
|
@@ -148,7 +148,7 @@ export class Tabs {
|
|
|
148
148
|
return Array.from(this.el.querySelectorAll('ion-tab'));
|
|
149
149
|
}
|
|
150
150
|
render() {
|
|
151
|
-
return (h(Host, { key: '
|
|
151
|
+
return (h(Host, { key: '204d4689b8d91a46b53710974596f719ae040223', onIonTabButtonClick: this.onTabClicked }, h("slot", { key: '31b73cfcffa41720f7746383b692f5b287aa2007', name: "top" }), h("div", { key: 'fba78170055143a821676a463a623c0b174b4d5f', class: "tabs-inner" }, h("slot", { key: '220ee76e56b5508eba63166412204a94fbbe6e7c' })), h("slot", { key: 'b78f32dbf1a10d184fe0a186ebb8312e60cfc095', name: "bottom" })));
|
|
152
152
|
}
|
|
153
153
|
static get is() { return "ion-tabs"; }
|
|
154
154
|
static get encapsulation() { return "shadow"; }
|
|
@@ -14,9 +14,9 @@ export class Text {
|
|
|
14
14
|
}
|
|
15
15
|
render() {
|
|
16
16
|
const theme = getIonTheme(this);
|
|
17
|
-
return (h(Host, { key: '
|
|
17
|
+
return (h(Host, { key: '7bf3aa9197541d2da1d40a361bc1bd9206a5223e', class: createColorClasses(this.color, {
|
|
18
18
|
[theme]: true,
|
|
19
|
-
}) }, h("slot", { key: '
|
|
19
|
+
}) }, h("slot", { key: '5dc6e3ce051f0d26459847c2bc5895edf9d08ca9' })));
|
|
20
20
|
}
|
|
21
21
|
static get is() { return "ion-text"; }
|
|
22
22
|
static get encapsulation() { return "shadow"; }
|
|
@@ -395,7 +395,7 @@ export class Textarea {
|
|
|
395
395
|
* TODO(FW-5592): Remove hasStartEndSlots condition
|
|
396
396
|
*/
|
|
397
397
|
const labelShouldFloat = labelPlacement === 'stacked' || (labelPlacement === 'floating' && (hasValue || hasFocus || hasStartEndSlots));
|
|
398
|
-
return (h(Host, { key: '
|
|
398
|
+
return (h(Host, { key: '74941a2a6f6aae597cf17d7a043e7b6dba5324e8', class: createColorClasses(this.color, {
|
|
399
399
|
[theme]: true,
|
|
400
400
|
'has-value': hasValue,
|
|
401
401
|
'has-focus': hasFocus,
|
|
@@ -406,7 +406,7 @@ export class Textarea {
|
|
|
406
406
|
[`textarea-label-placement-${labelPlacement}`]: true,
|
|
407
407
|
'textarea-disabled': disabled,
|
|
408
408
|
'textarea-readonly': readonly,
|
|
409
|
-
}) }, h("label", { key: '
|
|
409
|
+
}) }, h("label", { key: '2a6736be472bbc5e6417aedb48eb989978769a25', class: "textarea-wrapper", htmlFor: inputId }, this.renderLabelContainer(), h("div", { key: '670fdd27efcf2c2cf636efcf6e2273986f1e9acb', class: "textarea-wrapper-inner" },
|
|
410
410
|
/**
|
|
411
411
|
* For the ionic theme, we render the outline container here
|
|
412
412
|
* instead of higher up, so it can be positioned relative to
|
|
@@ -416,7 +416,7 @@ export class Textarea {
|
|
|
416
416
|
* <label> element, ensuring that clicking the label text
|
|
417
417
|
* focuses the textarea.
|
|
418
418
|
*/
|
|
419
|
-
theme === 'ionic' && fill === 'outline' && h("div", { key: '
|
|
419
|
+
theme === 'ionic' && fill === 'outline' && h("div", { key: 'b5fb2d6ebc0700890941ba59a96bcae8f491e9b5', class: "textarea-outline" }), h("div", { key: '3a52feaf0d97a106abcdcf592c60c9da7cc59cd8', class: "start-slot-wrapper" }, h("slot", { key: '8376c6c129ca13cd82f3b9afdfc4407b754ef2e2', name: "start" })), h("div", { key: '3cfa0cb78a3912b8b5589579e70ac384acd0672a', class: "native-wrapper", ref: (el) => (this.textareaWrapper = el) }, h("textarea", Object.assign({ key: 'e9fe5a7afb7df21fe2c4f106efc3eba9de671dbb', class: "native-textarea", ref: (el) => (this.nativeInput = el), id: inputId, disabled: disabled, autoCapitalize: this.autocapitalize, autoFocus: this.autofocus, enterKeyHint: this.enterkeyhint, inputMode: this.inputmode, minLength: this.minlength, maxLength: this.maxlength, name: this.name, placeholder: this.placeholder || '', readOnly: this.readonly, required: this.required, spellcheck: this.spellcheck, cols: this.cols, rows: this.rows, wrap: this.wrap, onInput: this.onInput, onChange: this.onChange, onBlur: this.onBlur, onFocus: this.onFocus, onKeyDown: this.onKeyDown, "aria-describedby": this.getHintTextID(), "aria-invalid": this.getHintTextID() === this.errorTextId }, this.inheritedAttributes), value)), h("div", { key: 'a9132c9c5f06ddcb7a447bd8d46aa901ab56a88a', class: "end-slot-wrapper" }, h("slot", { key: 'a9d2cfd6ce2fcf0e95f1ed94ee56addda55ad4ad', name: "end" }))), shouldRenderHighlight && h("div", { key: '17f114125438e3a5c9d5b63e7bb3ad1b85dc7174', class: "textarea-highlight" })), this.renderBottomContent()));
|
|
420
420
|
}
|
|
421
421
|
static get is() { return "ion-textarea"; }
|
|
422
422
|
static get encapsulation() { return "scoped"; }
|
|
@@ -10,9 +10,9 @@ import { getIonTheme } from "../../global/ionic-global";
|
|
|
10
10
|
export class Thumbnail {
|
|
11
11
|
render() {
|
|
12
12
|
const theme = getIonTheme(this);
|
|
13
|
-
return (h(Host, { key: '
|
|
13
|
+
return (h(Host, { key: 'd8834b52a3f938cbd2cd7196e0b0e057746e5a7e', class: {
|
|
14
14
|
[theme]: true,
|
|
15
|
-
} }, h("slot", { key: '
|
|
15
|
+
} }, h("slot", { key: 'c7be8264e5c9628d8be1ac202cac7f1ec8f0cb61' })));
|
|
16
16
|
}
|
|
17
17
|
static get is() { return "ion-thumbnail"; }
|
|
18
18
|
static get encapsulation() { return "shadow"; }
|
|
@@ -31,11 +31,11 @@ export class ToolbarTitle {
|
|
|
31
31
|
render() {
|
|
32
32
|
const theme = getIonTheme(this);
|
|
33
33
|
const size = this.getSize();
|
|
34
|
-
return (h(Host, { key: '
|
|
34
|
+
return (h(Host, { key: '4ea0b5b986ff55f4512840d8582c5d015032dccf', class: createColorClasses(this.color, {
|
|
35
35
|
[theme]: true,
|
|
36
36
|
[`title-${size}`]: true,
|
|
37
37
|
'title-rtl': document.dir === 'rtl',
|
|
38
|
-
}) }, h("div", { key: '
|
|
38
|
+
}) }, h("div", { key: '1c1afffd677120d63753f9500e117d77d7f65a8a', class: "toolbar-title" }, h("slot", { key: '4c6329b996db30c09c93ac08506fc23377d0d77f' }))));
|
|
39
39
|
}
|
|
40
40
|
static get is() { return "ion-title"; }
|
|
41
41
|
static get encapsulation() { return "shadow"; }
|
|
@@ -407,9 +407,9 @@ export class Toast {
|
|
|
407
407
|
if (layout === 'stacked' && startButtons.length > 0 && endButtons.length > 0) {
|
|
408
408
|
printIonWarning('This toast is using start and end buttons with the stacked toast layout. We recommend following the best practice of using either start or end buttons with the stacked toast layout.', el);
|
|
409
409
|
}
|
|
410
|
-
return (h(Host, Object.assign({ key: '
|
|
410
|
+
return (h(Host, Object.assign({ key: '789f33465c1381e378b97804abed62614b55bed0', tabindex: "-1" }, this.htmlAttributes, { style: {
|
|
411
411
|
zIndex: `${60000 + this.overlayIndex}`,
|
|
412
|
-
}, class: createColorClasses(this.color, Object.assign(Object.assign({ [mode]: true, [theme]: true }, getClassMap(this.cssClass)), { 'overlay-hidden': true, 'toast-translucent': this.translucent, [`toast-shape-${shape}`]: shape !== undefined })), onIonToastWillDismiss: this.dispatchCancelHandler }), h("div", { key: '
|
|
412
|
+
}, class: createColorClasses(this.color, Object.assign(Object.assign({ [mode]: true, [theme]: true }, getClassMap(this.cssClass)), { 'overlay-hidden': true, 'toast-translucent': this.translucent, [`toast-shape-${shape}`]: shape !== undefined })), onIonToastWillDismiss: this.dispatchCancelHandler }), h("div", { key: '7cdde3cb05a75e23e1e0780fad7f4f5a43474456', class: wrapperClass }, h("div", { key: '5534c44b9ac41c080eb27798ed8d2073a418ec7d', class: "toast-container", part: "container" }, this.renderButtons(startButtons, 'start'), this.icon !== undefined && (h("ion-icon", { key: '66e7384e1d77bb260431675cd1abc4c815da6366', class: "toast-icon", part: "icon", icon: this.icon, lazy: false, "aria-hidden": "true" })), h("div", { key: 'f9528903610b7fb229f78d782e4e2e0473080d61', class: "toast-content", role: "status", "aria-atomic": "true", "aria-live": "polite" }, !revealContentToScreenReader && header !== undefined && this.renderHeader('oldHeader', 'true'), !revealContentToScreenReader && message !== undefined && this.renderToastMessage('oldMessage', 'true'), revealContentToScreenReader && header !== undefined && this.renderHeader('header'), revealContentToScreenReader && message !== undefined && this.renderToastMessage('header')), this.renderButtons(endButtons, 'end')))));
|
|
413
413
|
}
|
|
414
414
|
static get is() { return "ion-toast"; }
|
|
415
415
|
static get encapsulation() { return "shadow"; }
|
|
@@ -208,7 +208,7 @@ export class Toggle {
|
|
|
208
208
|
const rtl = isRTL(el) ? 'rtl' : 'ltr';
|
|
209
209
|
const isIonicTheme = theme === 'ionic';
|
|
210
210
|
renderHiddenInput(true, el, name, checked ? value : '', disabled);
|
|
211
|
-
return (h(Host, { key: '
|
|
211
|
+
return (h(Host, { key: 'fb45e051527a0a0914d18659bc1aeab5e9a4c50e', onClick: this.onClick, class: createColorClasses(color, {
|
|
212
212
|
[theme]: true,
|
|
213
213
|
'in-item': hostContext('ion-item', el),
|
|
214
214
|
'toggle-activated': activated,
|
|
@@ -220,10 +220,10 @@ export class Toggle {
|
|
|
220
220
|
[`toggle-${rtl}`]: true,
|
|
221
221
|
'ion-activatable': isIonicTheme,
|
|
222
222
|
'ion-focusable': isIonicTheme,
|
|
223
|
-
}) }, h("label", { key: '
|
|
223
|
+
}) }, h("label", { key: 'f353323a0ed20368339ef0fed50d63f3b859f1ac', class: "toggle-wrapper" }, h("input", Object.assign({ key: 'dbb471178fe04993330a5f811bb88d3a0fbbcbf4', type: "checkbox", role: "switch", "aria-checked": `${checked}`, checked: checked, disabled: disabled, id: inputId, onFocus: () => this.onFocus(), onBlur: () => this.onBlur(), ref: (focusEl) => (this.focusEl = focusEl) }, this.inheritedAttributes)), h("div", { key: 'b40a037e148ad25490d22c8b55120713e85253c9', class: {
|
|
224
224
|
'label-text-wrapper': true,
|
|
225
225
|
'label-text-wrapper-hidden': !this.hasLabel,
|
|
226
|
-
}, part: "label" }, h("slot", { key: '
|
|
226
|
+
}, part: "label" }, h("slot", { key: '1eb06a2005f862ee50fe6f11e7e750eb9daeba7b' })), h("div", { key: 'd2acbaff908b41301b37fbb1f99385a1c571cdf8', class: "native-wrapper" }, this.renderToggleControl()))));
|
|
227
227
|
}
|
|
228
228
|
static get is() { return "ion-toggle"; }
|
|
229
229
|
static get encapsulation() { return "shadow"; }
|
|
@@ -63,10 +63,10 @@ export class Toolbar {
|
|
|
63
63
|
this.childrenStyles.forEach((value) => {
|
|
64
64
|
Object.assign(childStyles, value);
|
|
65
65
|
});
|
|
66
|
-
return (h(Host, { key: '
|
|
66
|
+
return (h(Host, { key: '31d2cea6423110a58ed8ba749e422889c6f6d310', class: Object.assign(Object.assign({}, childStyles), createColorClasses(this.color, {
|
|
67
67
|
[theme]: true,
|
|
68
68
|
'in-toolbar': hostContext('ion-toolbar', this.el),
|
|
69
|
-
})) }, h("div", { key: '
|
|
69
|
+
})) }, h("div", { key: 'a3ecd195af52489725b7396c0aab32a9b4d4a49c', class: "toolbar-background" }), h("div", { key: 'cfdc07edc4b002370df08ce4c913c3a52955252a', class: "toolbar-container" }, h("slot", { key: 'b77feb227ab03d0fe095fdf620973e8502b486e6', name: "start" }), h("slot", { key: '4284acf3c65df07e74908ee6620d5595255ac547', name: "secondary" }), h("div", { key: '879fdaedc732cbf414d24f3ed3b0abcf4baaae71', class: "toolbar-content" }, h("slot", { key: '975a411effa1492d6c4eb9302b3d8580bbce192d' })), h("slot", { key: '5cfef86927c398b40710769bbdba9cf4c45100c5', name: "primary" }), h("slot", { key: '416036fa2a84a8ef0cb6329d68da040c47bd2aea', name: "end" }))));
|
|
70
70
|
}
|
|
71
71
|
static get is() { return "ion-toolbar"; }
|
|
72
72
|
static get encapsulation() { return "shadow"; }
|
package/dist/docs.json
CHANGED
|
@@ -1192,11 +1192,11 @@ const ToolbarTitle = class {
|
|
|
1192
1192
|
render() {
|
|
1193
1193
|
const theme = getIonTheme(this);
|
|
1194
1194
|
const size = this.getSize();
|
|
1195
|
-
return (h(Host, { key: '
|
|
1195
|
+
return (h(Host, { key: '4ea0b5b986ff55f4512840d8582c5d015032dccf', class: createColorClasses(this.color, {
|
|
1196
1196
|
[theme]: true,
|
|
1197
1197
|
[`title-${size}`]: true,
|
|
1198
1198
|
'title-rtl': document.dir === 'rtl',
|
|
1199
|
-
}) }, h("div", { key: '
|
|
1199
|
+
}) }, h("div", { key: '1c1afffd677120d63753f9500e117d77d7f65a8a', class: "toolbar-title" }, h("slot", { key: '4c6329b996db30c09c93ac08506fc23377d0d77f' }))));
|
|
1200
1200
|
}
|
|
1201
1201
|
get el() { return getElement(this); }
|
|
1202
1202
|
static get watchers() { return {
|
|
@@ -1268,10 +1268,10 @@ const Toolbar = class {
|
|
|
1268
1268
|
this.childrenStyles.forEach((value) => {
|
|
1269
1269
|
Object.assign(childStyles, value);
|
|
1270
1270
|
});
|
|
1271
|
-
return (h(Host, { key: '
|
|
1271
|
+
return (h(Host, { key: '31d2cea6423110a58ed8ba749e422889c6f6d310', class: Object.assign(Object.assign({}, childStyles), createColorClasses(this.color, {
|
|
1272
1272
|
[theme]: true,
|
|
1273
1273
|
'in-toolbar': hostContext('ion-toolbar', this.el),
|
|
1274
|
-
})) }, h("div", { key: '
|
|
1274
|
+
})) }, h("div", { key: 'a3ecd195af52489725b7396c0aab32a9b4d4a49c', class: "toolbar-background" }), h("div", { key: 'cfdc07edc4b002370df08ce4c913c3a52955252a', class: "toolbar-container" }, h("slot", { key: 'b77feb227ab03d0fe095fdf620973e8502b486e6', name: "start" }), h("slot", { key: '4284acf3c65df07e74908ee6620d5595255ac547', name: "secondary" }), h("div", { key: '879fdaedc732cbf414d24f3ed3b0abcf4baaae71', class: "toolbar-content" }, h("slot", { key: '975a411effa1492d6c4eb9302b3d8580bbce192d' })), h("slot", { key: '5cfef86927c398b40710769bbdba9cf4c45100c5', name: "primary" }), h("slot", { key: '416036fa2a84a8ef0cb6329d68da040c47bd2aea', name: "end" }))));
|
|
1275
1275
|
}
|
|
1276
1276
|
get el() { return getElement(this); }
|
|
1277
1277
|
};
|
|
@@ -139,9 +139,9 @@ const Thumbnail = class {
|
|
|
139
139
|
}
|
|
140
140
|
render() {
|
|
141
141
|
const theme = getIonTheme(this);
|
|
142
|
-
return (h(Host, { key: '
|
|
142
|
+
return (h(Host, { key: 'd8834b52a3f938cbd2cd7196e0b0e057746e5a7e', class: {
|
|
143
143
|
[theme]: true,
|
|
144
|
-
} }, h("slot", { key: '
|
|
144
|
+
} }, h("slot", { key: 'c7be8264e5c9628d8be1ac202cac7f1ec8f0cb61' })));
|
|
145
145
|
}
|
|
146
146
|
};
|
|
147
147
|
Thumbnail.style = IonThumbnailStyle0;
|
|
@@ -543,11 +543,11 @@ const SkeletonText = class {
|
|
|
543
543
|
const animated = this.animated && config.getBoolean('animated', true);
|
|
544
544
|
const inMedia = hostContext('ion-avatar', this.el) || hostContext('ion-thumbnail', this.el);
|
|
545
545
|
const theme = getIonTheme(this);
|
|
546
|
-
return (h(Host, { key: '
|
|
546
|
+
return (h(Host, { key: '70efd9086ef58705a965a63aa3e5ac775757dc85', class: {
|
|
547
547
|
[theme]: true,
|
|
548
548
|
'skeleton-text-animated': animated,
|
|
549
549
|
'in-media': inMedia,
|
|
550
|
-
} }, h("span", { key: '
|
|
550
|
+
} }, h("span", { key: '296246a88e33e0106045bec2f64738f48593ba12' }, "\u00A0")));
|
|
551
551
|
}
|
|
552
552
|
get el() { return getElement(this); }
|
|
553
553
|
};
|
|
@@ -15,7 +15,7 @@ const arrowLeftSvg = 'data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53
|
|
|
15
15
|
|
|
16
16
|
const magnifyingGlassSvg = 'data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNTYgMjU2IiBmaWxsPSJjdXJyZW50Q29sb3IiPjxwYXRoIGQ9Ik0yMjkuNjYsMjE4LjM0bC01MC4wNy01MC4wNmE4OC4xMSw4OC4xMSwwLDEsMC0xMS4zMSwxMS4zMWw1MC4wNiw1MC4wN2E4LDgsMCwwLDAsMTEuMzItMTEuMzJaTTQwLDExMmE3Miw3MiwwLDEsMSw3Miw3MkE3Mi4wOCw3Mi4wOCwwLDAsMSw0MCwxMTJaIi8+PC9zdmc+';
|
|
17
17
|
|
|
18
|
-
const searchbarIonicCss = ".sc-ion-searchbar-ionic-h{--placeholder-color:initial;--placeholder-font-style:initial;--placeholder-font-weight:initial;--placeholder-opacity:var(--ion-placeholder-opacity, 1);-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:-ms-flexbox;display:flex;position:relative;-ms-flex-align:center;align-items:center;width:100%;color:var(--color);-webkit-box-sizing:border-box;box-sizing:border-box}.searchbar-search-icon.sc-ion-searchbar-ionic{color:var(--icon-color);pointer-events:none}.searchbar-input-container.sc-ion-searchbar-ionic{display:block;position:relative;-ms-flex-negative:1;flex-shrink:1;width:100%}.searchbar-input.sc-ion-searchbar-ionic{color:inherit;font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-align:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;white-space:inherit;border-radius:var(--border-radius);display:block;width:100%;min-height:inherit;border:0;outline:none;background:var(--background);font-family:inherit;-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-appearance:none;-moz-appearance:none;appearance:none}.searchbar-input.sc-ion-searchbar-ionic::-webkit-input-placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.searchbar-input.sc-ion-searchbar-ionic::-moz-placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.searchbar-input.sc-ion-searchbar-ionic:-ms-input-placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.searchbar-input.sc-ion-searchbar-ionic::-ms-input-placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.searchbar-input.sc-ion-searchbar-ionic::placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.searchbar-input.sc-ion-searchbar-ionic::-webkit-search-cancel-button,.searchbar-input.sc-ion-searchbar-ionic::-ms-clear{display:none}.searchbar-cancel-button.sc-ion-searchbar-ionic{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;display:none;height:100%;border:0;outline:none;color:var(--cancel-button-color);cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none}.searchbar-cancel-button.sc-ion-searchbar-ionic>div.sc-ion-searchbar-ionic{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%}.searchbar-clear-button.sc-ion-searchbar-ionic{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;display:none;min-height:0;outline:none;color:var(--clear-button-color);-webkit-appearance:none;-moz-appearance:none;appearance:none}.searchbar-clear-button.sc-ion-searchbar-ionic:focus{opacity:0.5}.searchbar-has-value.searchbar-should-show-clear.sc-ion-searchbar-ionic-h .searchbar-clear-button.sc-ion-searchbar-ionic{display:block}.sc-ion-searchbar-ionic-h{--background:var(--ion-primitives-neutral-100, #f5f5f5);--border-radius:var(--ion-border-radius-400, 16px);--box-shadow:none;--cancel-button-color:var(--ion-primitives-neutral-800, #626262);--clear-button-color:var(--ion-primitives-neutral-1000, #3b3b3b);--color:var(--ion-primitives-neutral-1200, #242424);--icon-color:var(--ion-primitives-neutral-800, #626262);--placeholder-color:var(--ion-primitives-neutral-800, #626262);--focus-ring-color:var(--ion-border-focus-default, #b5c0f7);--focus-ring-width:var(--ion-border-size-050, 2px);font-size:var(--ion-font-size-350, 0.875rem);font-weight:var(--ion-font-weight-regular, 400);letter-spacing:var(--ion-font-letter-spacing-0, 0%);line-height:var(--ion-font-line-height-600, 24px);text-decoration:none;text-transform:none;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0}.searchbar-search-icon.sc-ion-searchbar-ionic{width:var(--ion-scale-400, 16px);height:var(--ion-scale-400, 16px)}.searchbar-input.sc-ion-searchbar-ionic{padding-top:var(--ion-space-300, 12px);padding-bottom:var(--ion-space-300, 12px);contain:strict}.searchbar-clear-button.sc-ion-searchbar-ionic{width:var(--ion-scale-400, 16px);height:var(--ion-scale-400, 16px);background-color:transparent;font-size:var(--ion-scale-400, 16px);contain:strict}.searchbar-cancel-button.sc-ion-searchbar-ionic{width:var(--ion-scale-400, 16px);height:var(--ion-scale-400, 16px);background-color:transparent;font-size:var(--ion-font-size-400, 1rem)}.searchbar-search-icon.sc-ion-searchbar-ionic,.searchbar-clear-button.sc-ion-searchbar-ionic,.searchbar-cancel-button.sc-ion-searchbar-ionic{top:50%;position:absolute;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.searchbar-clear-button.sc-ion-searchbar-ionic:focus-visible,.searchbar-cancel-button.sc-ion-searchbar-ionic:focus-visible ion-icon.sc-ion-searchbar-ionic{border-radius:var(--ion-border-radius-100, 4px);outline:var(--ion-border-size-050, 2px) var(--ion-border-style-solid, solid) var(--ion-border-focus-default, #b5c0f7);opacity:1}ion-toolbar.searchbar-should-show-cancel.sc-ion-searchbar-ionic-h .searchbar-cancel-button.sc-ion-searchbar-ionic,ion-toolbar .searchbar-should-show-cancel.sc-ion-searchbar-ionic-h .searchbar-cancel-button.sc-ion-searchbar-ionic{inset-inline-start:9px}ion-toolbar.searchbar-should-show-cancel.sc-ion-searchbar-ionic-h .searchbar-input.sc-ion-searchbar-ionic,ion-toolbar .searchbar-should-show-cancel.sc-ion-searchbar-ionic-h .searchbar-input.sc-ion-searchbar-ionic{-webkit-padding-start:calc(9px + var(--ion-scale-400, 16px) + var(--ion-space-200, 8px));padding-inline-start:calc(9px + var(--ion-scale-400, 16px) + var(--ion-space-200, 8px))}.sc-ion-searchbar-ionic-h:hover{--background:var(--ion-primitives-neutral-200, #e7e7e7)}.searchbar-has-focus.sc-ion-searchbar-ionic-h .searchbar-input.sc-ion-searchbar-ionic{outline:var(--focus-ring-width) var(--ion-border-style-solid, solid) var(--focus-ring-color)}.searchbar-has-focus.sc-ion-searchbar-ionic-h .searchbar-search-icon.sc-ion-searchbar-ionic,.searchbar-has-focus.sc-ion-searchbar-ionic-h .searchbar-cancel-button.sc-ion-searchbar-ionic,.searchbar-should-show-cancel.sc-ion-searchbar-ionic-h .searchbar-cancel-button.sc-ion-searchbar-ionic{display:block}.searchbar-has-focus.sc-ion-searchbar-ionic-h .searchbar-cancel-button.sc-ion-searchbar-ionic+.searchbar-search-icon.sc-ion-searchbar-ionic,.searchbar-should-show-cancel.sc-ion-searchbar-ionic-h .searchbar-cancel-button.sc-ion-searchbar-ionic+.searchbar-search-icon.sc-ion-searchbar-ionic{display:none}.searchbar-disabled.sc-ion-searchbar-ionic-h{--color:var(--ion-primitives-neutral-500, #a2a2a2);--icon-color:var(--ion-primitives-neutral-500, #a2a2a2);--placeholder-color:var(--ion-primitives-neutral-500, #a2a2a2);cursor:default;pointer-events:none}.searchbar-shape-soft.sc-ion-searchbar-ionic-h{--border-radius:var(--ion-border-radius-200, 8px)}.searchbar-shape-round.sc-ion-searchbar-ionic-h{--border-radius:var(--ion-border-radius-400, 16px)}.searchbar-shape-rectangular.sc-ion-searchbar-ionic-h{--border-radius:var(--ion-border-radius-0, 0px)}.searchbar-size-small.sc-ion-searchbar-ionic-h .searchbar-input.sc-ion-searchbar-ionic{-webkit-padding-start:calc(var(--ion-space-300, 12px) + var(--ion-scale-400, 16px) + var(--ion-space-200, 8px));padding-inline-start:calc(var(--ion-space-300, 12px) + var(--ion-scale-400, 16px) + var(--ion-space-200, 8px));-webkit-padding-end:calc(var(--ion-space-300, 12px) + var(--ion-scale-400, 16px) + var(--ion-space-200, 8px));padding-inline-end:calc(var(--ion-space-300, 12px) + var(--ion-scale-400, 16px) + var(--ion-space-200, 8px));height:var(--ion-scale-1000, 40px)}.searchbar-size-small.sc-ion-searchbar-ionic-h .searchbar-search-icon.sc-ion-searchbar-ionic,.searchbar-size-small.sc-ion-searchbar-ionic-h .searchbar-cancel-button.sc-ion-searchbar-ionic{inset-inline-start:var(--ion-space-300, 12px)}.searchbar-size-small.sc-ion-searchbar-ionic-h .searchbar-clear-button.sc-ion-searchbar-ionic{inset-inline-end:var(--ion-space-300, 12px)}.searchbar-size-medium.sc-ion-searchbar-ionic-h .searchbar-input.sc-ion-searchbar-ionic{-webkit-padding-start:calc(var(--ion-space-400, 16px) + var(--ion-scale-400, 16px) + var(--ion-space-200, 8px));padding-inline-start:calc(var(--ion-space-400, 16px) + var(--ion-scale-400, 16px) + var(--ion-space-200, 8px));-webkit-padding-end:calc(var(--ion-space-400, 16px) + var(--ion-scale-400, 16px) + var(--ion-space-200, 8px));padding-inline-end:calc(var(--ion-space-400, 16px) + var(--ion-scale-400, 16px) + var(--ion-space-200, 8px));height:var(--ion-scale-1200, 48px)}.searchbar-size-medium.sc-ion-searchbar-ionic-h .searchbar-search-icon.sc-ion-searchbar-ionic,.searchbar-size-medium.sc-ion-searchbar-ionic-h .searchbar-cancel-button.sc-ion-searchbar-ionic{inset-inline-start:var(--ion-space-400, 16px)}.searchbar-size-medium.sc-ion-searchbar-ionic-h .searchbar-clear-button.sc-ion-searchbar-ionic{inset-inline-end:var(--ion-space-400, 16px)}.searchbar-size-large.sc-ion-searchbar-ionic-h .searchbar-search-icon.sc-ion-searchbar-ionic,.searchbar-size-large.sc-ion-searchbar-ionic-h .searchbar-cancel-button.sc-ion-searchbar-ionic{width:var(--ion-scale-500, 20px);height:var(--ion-scale-500, 20px)}.searchbar-size-large.sc-ion-searchbar-ionic-h .searchbar-cancel-button.sc-ion-searchbar-ionic{font-size:var(--ion-font-size-500, 1.25rem)}ion-toolbar.searchbar-size-large.searchbar-should-show-cancel.sc-ion-searchbar-ionic-h .searchbar-input.sc-ion-searchbar-ionic,ion-toolbar .searchbar-size-large.searchbar-should-show-cancel.sc-ion-searchbar-ionic-h .searchbar-input.sc-ion-searchbar-ionic{-webkit-padding-start:calc(9px + var(--ion-scale-500, 20px) + var(--ion-space-200, 8px));padding-inline-start:calc(9px + var(--ion-scale-500, 20px) + var(--ion-space-200, 8px))}.searchbar-size-large.sc-ion-searchbar-ionic-h .searchbar-input.sc-ion-searchbar-ionic{padding-top:var(--ion-space-400, 16px);padding-bottom:var(--ion-space-400, 16px);-webkit-padding-start:calc(var(--ion-space-500, 20px) + var(--ion-scale-500, 20px) + var(--ion-space-200, 8px));padding-inline-start:calc(var(--ion-space-500, 20px) + var(--ion-scale-500, 20px) + var(--ion-space-200, 8px));-webkit-padding-end:calc(var(--ion-space-500, 20px) + var(--ion-scale-400, 16px) + var(--ion-space-200, 8px));padding-inline-end:calc(var(--ion-space-500, 20px) + var(--ion-scale-400, 16px) + var(--ion-space-200, 8px));height:var(--ion-scale-1400, 56px)}.searchbar-size-large.sc-ion-searchbar-ionic-h .searchbar-search-icon.sc-ion-searchbar-ionic,.searchbar-size-large.sc-ion-searchbar-ionic-h .searchbar-cancel-button.sc-ion-searchbar-ionic{inset-inline-start:var(--ion-space-500, 20px)}.searchbar-size-large.sc-ion-searchbar-ionic-h .searchbar-clear-button.sc-ion-searchbar-ionic{inset-inline-end:var(--ion-space-500, 20px)}";
|
|
18
|
+
const searchbarIonicCss = ".sc-ion-searchbar-ionic-h{--placeholder-color:initial;--placeholder-font-style:initial;--placeholder-font-weight:initial;--placeholder-opacity:var(--ion-placeholder-opacity, 1);-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:-ms-flexbox;display:flex;position:relative;-ms-flex-align:center;align-items:center;width:100%;color:var(--color);-webkit-box-sizing:border-box;box-sizing:border-box}.searchbar-search-icon.sc-ion-searchbar-ionic{color:var(--icon-color);pointer-events:none}.searchbar-input-container.sc-ion-searchbar-ionic{display:block;position:relative;-ms-flex-negative:1;flex-shrink:1;width:100%}.searchbar-input.sc-ion-searchbar-ionic{color:inherit;font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-align:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;white-space:inherit;border-radius:var(--border-radius);display:block;width:100%;min-height:inherit;border:0;outline:none;background:var(--background);font-family:inherit;-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-appearance:none;-moz-appearance:none;appearance:none}.searchbar-input.sc-ion-searchbar-ionic::-webkit-input-placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.searchbar-input.sc-ion-searchbar-ionic::-moz-placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.searchbar-input.sc-ion-searchbar-ionic:-ms-input-placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.searchbar-input.sc-ion-searchbar-ionic::-ms-input-placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.searchbar-input.sc-ion-searchbar-ionic::placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.searchbar-input.sc-ion-searchbar-ionic::-webkit-search-cancel-button,.searchbar-input.sc-ion-searchbar-ionic::-ms-clear{display:none}.searchbar-cancel-button.sc-ion-searchbar-ionic{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;display:none;height:100%;border:0;outline:none;color:var(--cancel-button-color);cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none}.searchbar-cancel-button.sc-ion-searchbar-ionic>div.sc-ion-searchbar-ionic{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%}.searchbar-clear-button.sc-ion-searchbar-ionic{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;display:none;min-height:0;outline:none;color:var(--clear-button-color);-webkit-appearance:none;-moz-appearance:none;appearance:none}.searchbar-clear-button.sc-ion-searchbar-ionic:focus{opacity:0.5}.searchbar-has-value.searchbar-should-show-clear.sc-ion-searchbar-ionic-h .searchbar-clear-button.sc-ion-searchbar-ionic{display:block}.sc-ion-searchbar-ionic-h{--background:var(--ion-primitives-neutral-100, #f5f5f5);--border-radius:var(--ion-border-radius-400, 16px);--box-shadow:none;--cancel-button-color:var(--ion-primitives-neutral-800, #626262);--clear-button-color:var(--ion-primitives-neutral-1000, #3b3b3b);--color:var(--ion-primitives-neutral-1200, #242424);--icon-color:var(--ion-primitives-neutral-800, #626262);--placeholder-color:var(--ion-primitives-neutral-800, #626262);--focus-ring-color:var(--ion-border-focus-default, #b5c0f7);--focus-ring-width:var(--ion-border-size-050, 2px);--leading-icon-padding:calc(var(--ion-scale-400, 16px) + var(--ion-space-200, 8px));font-size:var(--ion-font-size-350, 0.875rem);font-weight:var(--ion-font-weight-regular, 400);letter-spacing:var(--ion-font-letter-spacing-0, 0%);line-height:var(--ion-font-line-height-600, 24px);text-decoration:none;text-transform:none;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0}.searchbar-search-icon.sc-ion-searchbar-ionic{width:var(--ion-scale-400, 16px);height:var(--ion-scale-400, 16px)}.searchbar-input.sc-ion-searchbar-ionic{padding-top:var(--ion-space-300, 12px);padding-bottom:var(--ion-space-300, 12px);contain:strict}.searchbar-clear-button.sc-ion-searchbar-ionic{width:var(--ion-scale-400, 16px);height:var(--ion-scale-400, 16px);background-color:transparent;font-size:var(--ion-scale-400, 16px);contain:strict}.searchbar-cancel-button.sc-ion-searchbar-ionic{width:var(--ion-scale-400, 16px);height:var(--ion-scale-400, 16px);background-color:transparent;font-size:var(--ion-font-size-400, 1rem)}.searchbar-search-icon.sc-ion-searchbar-ionic,.searchbar-clear-button.sc-ion-searchbar-ionic,.searchbar-cancel-button.sc-ion-searchbar-ionic{top:50%;position:absolute;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.searchbar-clear-button.sc-ion-searchbar-ionic:focus-visible,.searchbar-cancel-button.sc-ion-searchbar-ionic:focus-visible ion-icon.sc-ion-searchbar-ionic{border-radius:var(--ion-border-radius-100, 4px);outline:var(--ion-border-size-050, 2px) var(--ion-border-style-solid, solid) var(--ion-border-focus-default, #b5c0f7);opacity:1}.sc-ion-searchbar-ionic-h:not(.searchbar-has-leading-icons){--leading-icon-padding:var(--ion-scale-0, 0px)}ion-toolbar.searchbar-should-show-cancel.sc-ion-searchbar-ionic-h .searchbar-cancel-button.sc-ion-searchbar-ionic,ion-toolbar .searchbar-should-show-cancel.sc-ion-searchbar-ionic-h .searchbar-cancel-button.sc-ion-searchbar-ionic{inset-inline-start:9px}ion-toolbar.searchbar-should-show-cancel.sc-ion-searchbar-ionic-h .searchbar-input.sc-ion-searchbar-ionic,ion-toolbar .searchbar-should-show-cancel.sc-ion-searchbar-ionic-h .searchbar-input.sc-ion-searchbar-ionic{-webkit-padding-start:calc(9px + var(--leading-icon-padding));padding-inline-start:calc(9px + var(--leading-icon-padding))}.sc-ion-searchbar-ionic-h:hover{--background:var(--ion-primitives-neutral-200, #e7e7e7)}.searchbar-has-focus.sc-ion-searchbar-ionic-h .searchbar-input.sc-ion-searchbar-ionic{outline:var(--focus-ring-width) var(--ion-border-style-solid, solid) var(--focus-ring-color)}.searchbar-has-focus.sc-ion-searchbar-ionic-h .searchbar-search-icon.sc-ion-searchbar-ionic,.searchbar-has-focus.sc-ion-searchbar-ionic-h .searchbar-cancel-button.sc-ion-searchbar-ionic,.searchbar-should-show-cancel.sc-ion-searchbar-ionic-h .searchbar-cancel-button.sc-ion-searchbar-ionic{display:block}.searchbar-has-focus.sc-ion-searchbar-ionic-h .searchbar-cancel-button.sc-ion-searchbar-ionic+.searchbar-search-icon.sc-ion-searchbar-ionic,.searchbar-should-show-cancel.sc-ion-searchbar-ionic-h .searchbar-cancel-button.sc-ion-searchbar-ionic+.searchbar-search-icon.sc-ion-searchbar-ionic{display:none}.searchbar-disabled.sc-ion-searchbar-ionic-h{--color:var(--ion-primitives-neutral-500, #a2a2a2);--icon-color:var(--ion-primitives-neutral-500, #a2a2a2);--placeholder-color:var(--ion-primitives-neutral-500, #a2a2a2);cursor:default;pointer-events:none}.searchbar-shape-soft.sc-ion-searchbar-ionic-h{--border-radius:var(--ion-border-radius-200, 8px)}.searchbar-shape-round.sc-ion-searchbar-ionic-h{--border-radius:var(--ion-border-radius-400, 16px)}.searchbar-shape-rectangular.sc-ion-searchbar-ionic-h{--border-radius:var(--ion-border-radius-0, 0px)}.searchbar-size-small.sc-ion-searchbar-ionic-h .searchbar-input.sc-ion-searchbar-ionic{-webkit-padding-start:calc(var(--ion-space-300, 12px) + var(--leading-icon-padding));padding-inline-start:calc(var(--ion-space-300, 12px) + var(--leading-icon-padding));-webkit-padding-end:calc(var(--ion-space-300, 12px) + var(--leading-icon-padding));padding-inline-end:calc(var(--ion-space-300, 12px) + var(--leading-icon-padding));height:var(--ion-scale-1000, 40px)}.searchbar-size-small.sc-ion-searchbar-ionic-h .searchbar-search-icon.sc-ion-searchbar-ionic,.searchbar-size-small.sc-ion-searchbar-ionic-h .searchbar-cancel-button.sc-ion-searchbar-ionic{inset-inline-start:var(--ion-space-300, 12px)}.searchbar-size-small.sc-ion-searchbar-ionic-h .searchbar-clear-button.sc-ion-searchbar-ionic{inset-inline-end:var(--ion-space-300, 12px)}.searchbar-size-medium.sc-ion-searchbar-ionic-h .searchbar-input.sc-ion-searchbar-ionic{-webkit-padding-start:calc(var(--ion-space-400, 16px) + var(--leading-icon-padding));padding-inline-start:calc(var(--ion-space-400, 16px) + var(--leading-icon-padding));-webkit-padding-end:calc(var(--ion-space-400, 16px) + var(--leading-icon-padding));padding-inline-end:calc(var(--ion-space-400, 16px) + var(--leading-icon-padding));height:var(--ion-scale-1200, 48px)}.searchbar-size-medium.sc-ion-searchbar-ionic-h .searchbar-search-icon.sc-ion-searchbar-ionic,.searchbar-size-medium.sc-ion-searchbar-ionic-h .searchbar-cancel-button.sc-ion-searchbar-ionic{inset-inline-start:var(--ion-space-400, 16px)}.searchbar-size-medium.sc-ion-searchbar-ionic-h .searchbar-clear-button.sc-ion-searchbar-ionic{inset-inline-end:var(--ion-space-400, 16px)}.searchbar-size-large.sc-ion-searchbar-ionic-h .searchbar-search-icon.sc-ion-searchbar-ionic,.searchbar-size-large.sc-ion-searchbar-ionic-h .searchbar-cancel-button.sc-ion-searchbar-ionic{--leading-icon-padding:calc(var(--ion-scale-500, 20px) + var(--ion-space-200, 8px));width:var(--ion-scale-500, 20px);height:var(--ion-scale-500, 20px)}.searchbar-size-large.sc-ion-searchbar-ionic-h .searchbar-cancel-button.sc-ion-searchbar-ionic{font-size:var(--ion-font-size-500, 1.25rem)}ion-toolbar.searchbar-size-large.searchbar-should-show-cancel.sc-ion-searchbar-ionic-h .searchbar-input.sc-ion-searchbar-ionic,ion-toolbar .searchbar-size-large.searchbar-should-show-cancel.sc-ion-searchbar-ionic-h .searchbar-input.sc-ion-searchbar-ionic{-webkit-padding-start:calc(9px + var(--leading-icon-padding));padding-inline-start:calc(9px + var(--leading-icon-padding))}.searchbar-size-large.sc-ion-searchbar-ionic-h .searchbar-input.sc-ion-searchbar-ionic{padding-top:var(--ion-space-400, 16px);padding-bottom:var(--ion-space-400, 16px);-webkit-padding-start:calc(var(--ion-space-500, 20px) + var(--leading-icon-padding));padding-inline-start:calc(var(--ion-space-500, 20px) + var(--leading-icon-padding));-webkit-padding-end:calc(var(--ion-space-500, 20px) + var(--ion-scale-400, 16px) + var(--ion-space-200, 8px));padding-inline-end:calc(var(--ion-space-500, 20px) + var(--ion-scale-400, 16px) + var(--ion-space-200, 8px));height:var(--ion-scale-1400, 56px)}.searchbar-size-large.sc-ion-searchbar-ionic-h .searchbar-search-icon.sc-ion-searchbar-ionic,.searchbar-size-large.sc-ion-searchbar-ionic-h .searchbar-cancel-button.sc-ion-searchbar-ionic{inset-inline-start:var(--ion-space-500, 20px)}.searchbar-size-large.sc-ion-searchbar-ionic-h .searchbar-clear-button.sc-ion-searchbar-ionic{inset-inline-end:var(--ion-space-500, 20px)}";
|
|
19
19
|
const IonSearchbarIonicStyle0 = searchbarIonicCss;
|
|
20
20
|
|
|
21
21
|
const searchbarIosCss = ".sc-ion-searchbar-ios-h{--placeholder-color:initial;--placeholder-font-style:initial;--placeholder-font-weight:initial;--placeholder-opacity:var(--ion-placeholder-opacity, 1);-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:-ms-flexbox;display:flex;position:relative;-ms-flex-align:center;align-items:center;width:100%;color:var(--color);-webkit-box-sizing:border-box;box-sizing:border-box}.searchbar-search-icon.sc-ion-searchbar-ios{color:var(--icon-color);pointer-events:none}.searchbar-input-container.sc-ion-searchbar-ios{display:block;position:relative;-ms-flex-negative:1;flex-shrink:1;width:100%}.searchbar-input.sc-ion-searchbar-ios{color:inherit;font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-align:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;white-space:inherit;border-radius:var(--border-radius);display:block;width:100%;min-height:inherit;border:0;outline:none;background:var(--background);font-family:inherit;-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-appearance:none;-moz-appearance:none;appearance:none}.searchbar-input.sc-ion-searchbar-ios::-webkit-input-placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.searchbar-input.sc-ion-searchbar-ios::-moz-placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.searchbar-input.sc-ion-searchbar-ios:-ms-input-placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.searchbar-input.sc-ion-searchbar-ios::-ms-input-placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.searchbar-input.sc-ion-searchbar-ios::placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.searchbar-input.sc-ion-searchbar-ios::-webkit-search-cancel-button,.searchbar-input.sc-ion-searchbar-ios::-ms-clear{display:none}.searchbar-cancel-button.sc-ion-searchbar-ios{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;display:none;height:100%;border:0;outline:none;color:var(--cancel-button-color);cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none}.searchbar-cancel-button.sc-ion-searchbar-ios>div.sc-ion-searchbar-ios{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%}.searchbar-clear-button.sc-ion-searchbar-ios{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;display:none;min-height:0;outline:none;color:var(--clear-button-color);-webkit-appearance:none;-moz-appearance:none;appearance:none}.searchbar-clear-button.sc-ion-searchbar-ios:focus{opacity:0.5}.searchbar-has-value.searchbar-should-show-clear.sc-ion-searchbar-ios-h .searchbar-clear-button.sc-ion-searchbar-ios{display:block}.sc-ion-searchbar-ios-h{--placeholder-opacity:var(--ion-placeholder-opacity, 0.6);font-family:var(--ion-font-family, inherit)}.ion-color.sc-ion-searchbar-ios-h{color:var(--ion-color-contrast)}.ion-color.sc-ion-searchbar-ios-h .searchbar-input.sc-ion-searchbar-ios{background:var(--ion-color-base)}.ion-color.sc-ion-searchbar-ios-h .searchbar-clear-button.sc-ion-searchbar-ios,.ion-color.sc-ion-searchbar-ios-h .searchbar-cancel-button.sc-ion-searchbar-ios,.ion-color.sc-ion-searchbar-ios-h .searchbar-search-icon.sc-ion-searchbar-ios{color:inherit}.searchbar-disabled.sc-ion-searchbar-ios-h{cursor:default;opacity:0.4;pointer-events:none}.sc-ion-searchbar-ios-h{--background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.07);--border-radius:10px;--box-shadow:none;--cancel-button-color:var(--ion-color-primary, #0054e9);--clear-button-color:var(--ion-color-step-600, var(--ion-text-color-step-400, #666666));--color:var(--ion-text-color, #000);--icon-color:var(--ion-color-step-600, var(--ion-text-color-step-400, #666666));-webkit-padding-start:12px;padding-inline-start:12px;-webkit-padding-end:12px;padding-inline-end:12px;padding-top:12px;padding-bottom:12px;min-height:60px;contain:content}.searchbar-input-container.sc-ion-searchbar-ios{min-height:36px}.searchbar-search-icon.sc-ion-searchbar-ios{-webkit-margin-start:calc(50% - 60px);margin-inline-start:calc(50% - 60px);top:0;position:absolute;width:1.375rem;height:100%;contain:strict}.searchbar-search-icon.sc-ion-searchbar-ios{inset-inline-start:5px}.searchbar-input.sc-ion-searchbar-ios{-webkit-padding-start:0px;padding-inline-start:0px;-webkit-padding-end:0px;padding-inline-end:0px;padding-top:6px;padding-bottom:6px;height:100%;font-size:1.0625rem;font-weight:400;contain:strict}.searchbar-has-value.searchbar-should-show-clear.sc-ion-searchbar-ios-h .searchbar-input.sc-ion-searchbar-ios{-webkit-padding-start:1.75rem;padding-inline-start:1.75rem;-webkit-padding-end:1.75rem;padding-inline-end:1.75rem}.searchbar-clear-button.sc-ion-searchbar-ios{top:0;background-position:center;position:absolute;width:1.875rem;height:100%;border:0;background-color:transparent}.searchbar-clear-button.sc-ion-searchbar-ios{inset-inline-end:0}.searchbar-clear-icon.sc-ion-searchbar-ios{width:1.125rem;height:100%}.searchbar-cancel-button.sc-ion-searchbar-ios{-webkit-padding-start:12px;padding-inline-start:12px;-webkit-padding-end:0;padding-inline-end:0;padding-top:0;padding-bottom:0;-ms-flex-negative:0;flex-shrink:0;background-color:transparent;font-size:17px}.searchbar-left-aligned.sc-ion-searchbar-ios-h .searchbar-search-icon.sc-ion-searchbar-ios{-webkit-margin-start:0;margin-inline-start:0}.searchbar-left-aligned.sc-ion-searchbar-ios-h .searchbar-input.sc-ion-searchbar-ios{-webkit-padding-start:1.875rem;padding-inline-start:1.875rem}.searchbar-has-focus.sc-ion-searchbar-ios-h .searchbar-cancel-button.sc-ion-searchbar-ios,.searchbar-should-show-cancel.sc-ion-searchbar-ios-h .searchbar-cancel-button.sc-ion-searchbar-ios,.searchbar-animated.sc-ion-searchbar-ios-h .searchbar-cancel-button.sc-ion-searchbar-ios{display:block}.searchbar-animated.sc-ion-searchbar-ios-h .searchbar-search-icon.sc-ion-searchbar-ios,.searchbar-animated.sc-ion-searchbar-ios-h .searchbar-input.sc-ion-searchbar-ios{-webkit-transition:all 300ms ease;transition:all 300ms ease}.searchbar-animated.searchbar-has-focus.sc-ion-searchbar-ios-h .searchbar-cancel-button.sc-ion-searchbar-ios,.searchbar-animated.searchbar-should-show-cancel.sc-ion-searchbar-ios-h .searchbar-cancel-button.sc-ion-searchbar-ios{opacity:1;pointer-events:auto}.searchbar-animated.sc-ion-searchbar-ios-h .searchbar-cancel-button.sc-ion-searchbar-ios{-webkit-margin-end:-100%;margin-inline-end:-100%;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);-webkit-transition:all 300ms ease;transition:all 300ms ease;opacity:0;pointer-events:none}.searchbar-no-animate.sc-ion-searchbar-ios-h .searchbar-search-icon.sc-ion-searchbar-ios,.searchbar-no-animate.sc-ion-searchbar-ios-h .searchbar-input.sc-ion-searchbar-ios,.searchbar-no-animate.sc-ion-searchbar-ios-h .searchbar-cancel-button.sc-ion-searchbar-ios{-webkit-transition-duration:0ms;transition-duration:0ms}.ion-color.sc-ion-searchbar-ios-h .searchbar-cancel-button.sc-ion-searchbar-ios{color:var(--ion-color-base)}@media (any-hover: hover){.ion-color.sc-ion-searchbar-ios-h .searchbar-cancel-button.sc-ion-searchbar-ios:hover{color:var(--ion-color-tint)}}ion-toolbar.sc-ion-searchbar-ios-h,ion-toolbar .sc-ion-searchbar-ios-h{padding-top:1px;padding-bottom:15px;min-height:52px}ion-toolbar.ion-color.sc-ion-searchbar-ios-h:not(.ion-color),ion-toolbar.ion-color .sc-ion-searchbar-ios-h:not(.ion-color){color:inherit}ion-toolbar.ion-color.sc-ion-searchbar-ios-h:not(.ion-color) .searchbar-cancel-button.sc-ion-searchbar-ios,ion-toolbar.ion-color .sc-ion-searchbar-ios-h:not(.ion-color) .searchbar-cancel-button.sc-ion-searchbar-ios{color:currentColor}ion-toolbar.ion-color.sc-ion-searchbar-ios-h .searchbar-search-icon.sc-ion-searchbar-ios,ion-toolbar.ion-color .sc-ion-searchbar-ios-h .searchbar-search-icon.sc-ion-searchbar-ios{color:currentColor;opacity:0.5}ion-toolbar.ion-color.sc-ion-searchbar-ios-h:not(.ion-color) .searchbar-input.sc-ion-searchbar-ios,ion-toolbar.ion-color .sc-ion-searchbar-ios-h:not(.ion-color) .searchbar-input.sc-ion-searchbar-ios{background:rgba(var(--ion-color-contrast-rgb), 0.07);color:currentColor}ion-toolbar.ion-color.sc-ion-searchbar-ios-h:not(.ion-color) .searchbar-clear-button.sc-ion-searchbar-ios,ion-toolbar.ion-color .sc-ion-searchbar-ios-h:not(.ion-color) .searchbar-clear-button.sc-ion-searchbar-ios{color:currentColor;opacity:0.5}";
|
|
@@ -495,7 +495,7 @@ const Searchbar = class {
|
|
|
495
495
|
const shape = this.getShape();
|
|
496
496
|
const size = this.getSize();
|
|
497
497
|
const cancelButton = this.showCancelButton !== 'never' && (h("button", { key: '7dc5854b95da27ab51924514413e981d065b3d14', "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: '7ccba83e849da1cf9a1d9ae4818466170c4e7636', "aria-hidden": "true" }, theme === 'md' || theme === 'ionic' ? (h("ion-icon", { "aria-hidden": "true", icon: searchbarCancelIcon, lazy: false })) : (cancelButtonText))));
|
|
498
|
-
return (h(Host, { key: '
|
|
498
|
+
return (h(Host, { key: 'a207e57178bdd970248428d66f54de17f4106b55', role: "search", "aria-disabled": this.disabled ? 'true' : null, class: createColorClasses(this.color, {
|
|
499
499
|
[theme]: true,
|
|
500
500
|
'searchbar-animated': animated,
|
|
501
501
|
'searchbar-disabled': this.disabled,
|
|
@@ -503,18 +503,19 @@ const Searchbar = class {
|
|
|
503
503
|
'searchbar-has-value': this.hasValue(),
|
|
504
504
|
'searchbar-left-aligned': this.shouldAlignLeft,
|
|
505
505
|
'searchbar-has-focus': this.focused,
|
|
506
|
+
'searchbar-has-leading-icons': theme === 'ionic' && (this.searchIcon !== undefined || this.showCancelButton !== 'never'),
|
|
506
507
|
'searchbar-should-show-clear': this.shouldShowClearButton(),
|
|
507
508
|
'searchbar-should-show-cancel': this.shouldShowCancelButton(),
|
|
508
509
|
[`searchbar-shape-${shape}`]: shape !== undefined,
|
|
509
510
|
[`searchbar-size-${size}`]: size !== undefined,
|
|
510
|
-
}) }, h("div", { key: '
|
|
511
|
+
}) }, h("div", { key: '437ba144b4195ff8e8650f72df4d05639077b111', class: "searchbar-input-container" }, h("input", Object.assign({ key: 'ec10264fbbbaf5ed917e2a912af1bb18c6e95ccf', "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, theme !== 'ionic' || this.searchIcon !== undefined ? (h("ion-icon", { "aria-hidden": "true", icon: searchbarSearchIcon, lazy: false, class: "searchbar-search-icon" })) : null, h("button", { key: '987ae96a62b576a6ebc484a1bd5ac3994f5b46b7', "aria-label": "reset", type: "button", "no-blur": true, class: "searchbar-clear-button", onPointerDown: (ev) => {
|
|
511
512
|
/**
|
|
512
513
|
* This prevents mobile browsers from
|
|
513
514
|
* blurring the input when the clear
|
|
514
515
|
* button is activated.
|
|
515
516
|
*/
|
|
516
517
|
ev.preventDefault();
|
|
517
|
-
}, onClick: () => this.onClearInput(true) }, h("ion-icon", { key: '
|
|
518
|
+
}, onClick: () => this.onClearInput(true) }, h("ion-icon", { key: 'af26bcab2d98a656313256f8689344a9a1cbb0cd', "aria-hidden": "true", icon: searchbarClearIcon, lazy: false, class: "searchbar-clear-icon" }))), theme === 'ios' && cancelButton));
|
|
518
519
|
}
|
|
519
520
|
get el() { return getElement(this); }
|
|
520
521
|
static get watchers() { return {
|
|
@@ -11,7 +11,7 @@ const SegmentContent = class {
|
|
|
11
11
|
registerInstance(this, hostRef);
|
|
12
12
|
}
|
|
13
13
|
render() {
|
|
14
|
-
return (h(Host, { key: '
|
|
14
|
+
return (h(Host, { key: '03684b2999ac64fe13e376fd7e7f279976e9d4f2' }, h("slot", { key: '143031075bf33ca19e7cfd76fc8a67b83ccaf11c' })));
|
|
15
15
|
}
|
|
16
16
|
};
|
|
17
17
|
SegmentContent.style = IonSegmentContentStyle0;
|
|
@@ -106,10 +106,10 @@ const SegmentView = class {
|
|
|
106
106
|
}
|
|
107
107
|
render() {
|
|
108
108
|
const { disabled, isManualScroll } = this;
|
|
109
|
-
return (h(Host, { key: '
|
|
109
|
+
return (h(Host, { key: '4a165da536914c666b1dc89827fa5ab053f1a890', class: {
|
|
110
110
|
'segment-view-disabled': disabled,
|
|
111
111
|
'segment-view-scroll-disabled': isManualScroll === false,
|
|
112
|
-
} }, h("slot", { key: '
|
|
112
|
+
} }, h("slot", { key: 'efe04cedb22ce150010277e9121417ba862db43a' })));
|
|
113
113
|
}
|
|
114
114
|
get el() { return getElement(this); }
|
|
115
115
|
};
|
|
@@ -541,14 +541,14 @@ const Segment = class {
|
|
|
541
541
|
}
|
|
542
542
|
render() {
|
|
543
543
|
const theme = getIonTheme(this);
|
|
544
|
-
return (h(Host, { key: '
|
|
544
|
+
return (h(Host, { key: 'ed534909594c70caa74cc3b3870b5f73fb7e3a84', role: "tablist", onClick: this.onClick, class: createColorClasses(this.color, {
|
|
545
545
|
[theme]: true,
|
|
546
546
|
'in-toolbar': hostContext('ion-toolbar', this.el),
|
|
547
547
|
'in-toolbar-color': hostContext('ion-toolbar[color]', this.el),
|
|
548
548
|
'segment-activated': this.activated,
|
|
549
549
|
'segment-disabled': this.disabled,
|
|
550
550
|
'segment-scrollable': this.scrollable,
|
|
551
|
-
}) }, h("slot", { key: '
|
|
551
|
+
}) }, h("slot", { key: '544c2ca95a25cc733d2cf0449c96097f8632a9b2', onSlotchange: this.onSlottedItemsChange })));
|
|
552
552
|
}
|
|
553
553
|
get el() { return getElement(this); }
|
|
554
554
|
static get watchers() { return {
|
|
@@ -702,7 +702,7 @@ const SegmentButton = class {
|
|
|
702
702
|
const { checked, type, disabled, hasIcon, hasLabel, layout, segmentEl } = this;
|
|
703
703
|
const theme = getIonTheme(this);
|
|
704
704
|
const hasSegmentColor = () => (segmentEl === null || segmentEl === void 0 ? void 0 : segmentEl.color) !== undefined;
|
|
705
|
-
return (h(Host, { key: '
|
|
705
|
+
return (h(Host, { key: '923c49c2f7ad412206ad28c85ddb354c4cf2dbc9', class: {
|
|
706
706
|
[theme]: true,
|
|
707
707
|
'in-toolbar': hostContext('ion-toolbar', this.el),
|
|
708
708
|
'in-toolbar-color': hostContext('ion-toolbar[color]', this.el),
|
|
@@ -718,7 +718,7 @@ const SegmentButton = class {
|
|
|
718
718
|
'ion-activatable': true,
|
|
719
719
|
'ion-activatable-instant': true,
|
|
720
720
|
'ion-focusable': true,
|
|
721
|
-
} }, h("button", Object.assign({ key: '
|
|
721
|
+
} }, h("button", Object.assign({ key: '45c43d4d3062f3c1fa80e3742cb16ac12ae0eefb', "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: 'bea9db4fb86926498fd73d4d6a5a8a1d19ce7b2d', class: "button-inner" }, h("slot", { key: 'e3ad5c48a0920012f36d899a83edcd0f15e379f6' })), theme === 'md' && h("ion-ripple-effect", { key: '323074cca9b783bb6b15bd55fdda1587dd9641ea' })), h("div", { key: 'b272b4106903f7f9c47ae5a9096b6bbb79021b89', part: "indicator", class: "segment-button-indicator segment-button-indicator-animated" }, h("div", { key: '2d5736abd5fabcd5975cf52d73a224beaec93765', part: "indicator-background", class: "segment-button-indicator-background" }))));
|
|
722
722
|
}
|
|
723
723
|
get el() { return getElement(this); }
|
|
724
724
|
static get watchers() { return {
|