@ionic/core 8.2.3-dev.11721064272.19e3ddfd → 8.2.3-dev.11723022900.1196a7bf

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.
Files changed (204) hide show
  1. package/components/button.js +1 -1
  2. package/components/ion-avatar.js +3 -3
  3. package/components/ion-badge.js +3 -3
  4. package/components/ion-chip.js +1 -1
  5. package/components/ion-input.js +1 -1
  6. package/components/ion-segment.js +3 -11
  7. package/components/ion-select-option.js +1 -1
  8. package/components/ion-select.js +2 -2
  9. package/components/ion-skeleton-text.js +2 -2
  10. package/components/ion-split-pane.js +2 -2
  11. package/components/ion-tab-bar.js +2 -2
  12. package/components/ion-tab-button.js +2 -2
  13. package/components/ion-tab.js +2 -2
  14. package/components/ion-tabs.js +1 -1
  15. package/components/ion-text.js +2 -2
  16. package/components/ion-textarea.js +2 -2
  17. package/components/ion-thumbnail.js +2 -2
  18. package/components/ion-title.js +2 -2
  19. package/components/ion-toast.js +2 -2
  20. package/components/ion-toggle.js +3 -3
  21. package/components/ion-toolbar.js +2 -2
  22. package/components/item.js +3 -3
  23. package/components/list.js +1 -1
  24. package/components/select-popover.js +2 -2
  25. package/components/spinner.js +33 -6
  26. package/css/core.css +1 -1
  27. package/css/core.css.map +1 -1
  28. package/css/ionic.bundle.css +1 -1
  29. package/css/ionic.bundle.css.map +1 -1
  30. package/dist/cjs/ion-app_8.cjs.entry.js +4 -4
  31. package/dist/cjs/ion-avatar_3.cjs.entry.js +8 -8
  32. package/dist/cjs/ion-button_2.cjs.entry.js +1 -1
  33. package/dist/cjs/ion-chip.cjs.entry.js +1 -1
  34. package/dist/cjs/ion-input.cjs.entry.js +1 -1
  35. package/dist/cjs/ion-item_8.cjs.entry.js +6 -6
  36. package/dist/cjs/ion-segment_2.cjs.entry.js +3 -11
  37. package/dist/cjs/ion-select_3.cjs.entry.js +5 -5
  38. package/dist/cjs/ion-spinner.cjs.entry.js +30 -4
  39. package/dist/cjs/ion-split-pane.cjs.entry.js +2 -2
  40. package/dist/cjs/ion-tab-bar_2.cjs.entry.js +4 -4
  41. package/dist/cjs/ion-tab_2.cjs.entry.js +3 -3
  42. package/dist/cjs/ion-text.cjs.entry.js +2 -2
  43. package/dist/cjs/ion-textarea.cjs.entry.js +2 -2
  44. package/dist/cjs/ion-toast.cjs.entry.js +2 -2
  45. package/dist/cjs/ion-toggle.cjs.entry.js +3 -3
  46. package/dist/cjs/ionic.cjs.js +1 -1
  47. package/dist/cjs/loader.cjs.js +1 -1
  48. package/dist/collection/collection-manifest.json +0 -2
  49. package/dist/collection/components/avatar/avatar.ionic.css +17 -1
  50. package/dist/collection/components/avatar/avatar.js +5 -5
  51. package/dist/collection/components/avatar/test/shape/avatar.e2e.js +7 -0
  52. package/dist/collection/components/avatar/test/size/avatar.e2e.js +27 -0
  53. package/dist/collection/components/badge/badge.ionic.css +30 -35
  54. package/dist/collection/components/badge/badge.ios.css +94 -3
  55. package/dist/collection/components/badge/badge.md.css +94 -3
  56. package/dist/collection/components/badge/test/basic/badge.e2e.js +1 -1
  57. package/dist/collection/components/button/button.ionic.css +41 -2
  58. package/dist/collection/components/button/test/outline/button.e2e.js +1 -2
  59. package/dist/collection/components/button/test/states/button.e2e.js +3 -3
  60. package/dist/collection/components/chip/chip.ionic.css +22 -1
  61. package/dist/collection/components/chip/test/basic/chip.e2e.js +28 -29
  62. package/dist/collection/components/input/input.ionic.css +2 -1
  63. package/dist/collection/components/item/item.ionic.css +346 -52
  64. package/dist/collection/components/item/item.ios.css +94 -67
  65. package/dist/collection/components/item/item.md.css +94 -67
  66. package/dist/collection/components/item-sliding/test/basic/item-sliding.e2e.js +2 -2
  67. package/dist/collection/components/list/list.ionic.css +1 -0
  68. package/dist/collection/components/segment/segment.js +3 -11
  69. package/dist/collection/components/select/select.js +2 -2
  70. package/dist/collection/components/select-option/select-option.js +1 -1
  71. package/dist/collection/components/select-popover/select-popover.js +2 -2
  72. package/dist/collection/components/skeleton-text/skeleton-text.js +2 -2
  73. package/dist/collection/components/spinner/spinner.common.css +199 -0
  74. package/dist/collection/components/spinner/{spinner.css → spinner.ionic.css} +55 -0
  75. package/dist/collection/components/spinner/spinner.js +40 -3
  76. package/dist/collection/components/spinner/test/size/spinner.e2e.js +47 -0
  77. package/dist/collection/components/split-pane/split-pane.js +2 -2
  78. package/dist/collection/components/tab/tab.js +2 -2
  79. package/dist/collection/components/tab-bar/tab-bar.js +2 -2
  80. package/dist/collection/components/tab-button/tab-button.js +2 -2
  81. package/dist/collection/components/tabs/tabs.js +1 -1
  82. package/dist/collection/components/text/text.js +2 -2
  83. package/dist/collection/components/textarea/textarea.js +2 -2
  84. package/dist/collection/components/thumbnail/thumbnail.js +2 -2
  85. package/dist/collection/components/title/title.js +2 -2
  86. package/dist/collection/components/toast/toast.js +2 -2
  87. package/dist/collection/components/toggle/toggle.js +3 -3
  88. package/dist/collection/components/toolbar/toolbar.js +2 -2
  89. package/dist/collection/themes/ionic/test/colors/theme.e2e.js +120 -0
  90. package/dist/docs.json +190 -48
  91. package/dist/esm/ion-app_8.entry.js +4 -4
  92. package/dist/esm/ion-avatar_3.entry.js +8 -8
  93. package/dist/esm/ion-button_2.entry.js +1 -1
  94. package/dist/esm/ion-chip.entry.js +1 -1
  95. package/dist/esm/ion-input.entry.js +1 -1
  96. package/dist/esm/ion-item_8.entry.js +6 -6
  97. package/dist/esm/ion-segment_2.entry.js +3 -11
  98. package/dist/esm/ion-select_3.entry.js +5 -5
  99. package/dist/esm/ion-spinner.entry.js +30 -4
  100. package/dist/esm/ion-split-pane.entry.js +2 -2
  101. package/dist/esm/ion-tab-bar_2.entry.js +4 -4
  102. package/dist/esm/ion-tab_2.entry.js +3 -3
  103. package/dist/esm/ion-text.entry.js +2 -2
  104. package/dist/esm/ion-textarea.entry.js +2 -2
  105. package/dist/esm/ion-toast.entry.js +2 -2
  106. package/dist/esm/ion-toggle.entry.js +3 -3
  107. package/dist/esm/ionic.js +1 -1
  108. package/dist/esm/loader.js +1 -1
  109. package/dist/esm-es5/ion-app_8.entry.js +1 -1
  110. package/dist/esm-es5/ion-avatar_3.entry.js +1 -1
  111. package/dist/esm-es5/ion-button_2.entry.js +1 -1
  112. package/dist/esm-es5/ion-chip.entry.js +1 -1
  113. package/dist/esm-es5/ion-input.entry.js +1 -1
  114. package/dist/esm-es5/ion-item_8.entry.js +1 -1
  115. package/dist/esm-es5/ion-segment_2.entry.js +1 -1
  116. package/dist/esm-es5/ion-select_3.entry.js +1 -1
  117. package/dist/esm-es5/ion-spinner.entry.js +1 -1
  118. package/dist/esm-es5/ion-split-pane.entry.js +1 -1
  119. package/dist/esm-es5/ion-tab-bar_2.entry.js +1 -1
  120. package/dist/esm-es5/ion-tab_2.entry.js +1 -1
  121. package/dist/esm-es5/ion-text.entry.js +1 -1
  122. package/dist/esm-es5/ion-textarea.entry.js +1 -1
  123. package/dist/esm-es5/ion-toast.entry.js +1 -1
  124. package/dist/esm-es5/ion-toggle.entry.js +1 -1
  125. package/dist/esm-es5/ionic.js +1 -1
  126. package/dist/esm-es5/loader.js +1 -1
  127. package/dist/html.html-data.json +25 -29
  128. package/dist/ionic/ionic.esm.js +1 -1
  129. package/dist/ionic/{p-29f4100d.entry.js → p-01ae1aa0.entry.js} +1 -1
  130. package/dist/ionic/p-1be0295f.entry.js +4 -0
  131. package/dist/ionic/p-201d8768.system.entry.js +4 -0
  132. package/dist/ionic/{p-062c1cb9.system.entry.js → p-223bc7dd.system.entry.js} +1 -1
  133. package/dist/ionic/{p-0595a36c.system.entry.js → p-24592a4d.system.entry.js} +1 -1
  134. package/dist/ionic/{p-2aa6a169.entry.js → p-28649e61.entry.js} +1 -1
  135. package/dist/ionic/{p-385a361b.entry.js → p-39a39279.entry.js} +1 -1
  136. package/dist/ionic/p-40c14f53.system.entry.js +4 -0
  137. package/dist/ionic/{p-cd6d4c1d.entry.js → p-4346453b.entry.js} +1 -1
  138. package/dist/ionic/{p-1be0ed0e.system.entry.js → p-45ca3acb.system.entry.js} +2 -2
  139. package/dist/ionic/p-4b9c6418.system.entry.js +4 -0
  140. package/dist/ionic/p-4fdbf0ef.entry.js +4 -0
  141. package/dist/ionic/p-563a8d3b.entry.js +4 -0
  142. package/dist/ionic/{p-b67ed806.system.entry.js → p-56c72f65.system.entry.js} +1 -1
  143. package/dist/ionic/p-6d47fa40.entry.js +4 -0
  144. package/dist/ionic/p-7459eeb7.system.entry.js +4 -0
  145. package/dist/ionic/{p-da668343.system.entry.js → p-7ab9c88c.system.entry.js} +1 -1
  146. package/dist/ionic/p-7b590e46.system.js +1 -1
  147. package/dist/ionic/{p-c0dace15.system.entry.js → p-7dad531c.system.entry.js} +1 -1
  148. package/dist/ionic/p-81350e4b.system.entry.js +4 -0
  149. package/dist/ionic/p-8ac5efa9.entry.js +4 -0
  150. package/dist/ionic/p-a6bb62ea.entry.js +4 -0
  151. package/dist/ionic/p-b1938594.entry.js +4 -0
  152. package/dist/ionic/{p-aaf1b71f.entry.js → p-b374abe2.entry.js} +1 -1
  153. package/dist/ionic/p-b4b44bf9.system.entry.js +4 -0
  154. package/dist/ionic/{p-61f51286.system.entry.js → p-b5cc6e57.system.entry.js} +1 -1
  155. package/dist/ionic/p-bbefc52b.system.entry.js +4 -0
  156. package/dist/ionic/p-c11fdca2.entry.js +4 -0
  157. package/dist/ionic/{p-adb54d5b.entry.js → p-c23822f8.entry.js} +1 -1
  158. package/dist/ionic/{p-14ae725a.entry.js → p-d2a580db.entry.js} +1 -1
  159. package/dist/ionic/p-d774e194.system.entry.js +4 -0
  160. package/dist/ionic/p-dc8a3888.entry.js +4 -0
  161. package/dist/ionic/{p-5cc8fa7f.system.entry.js → p-f84ea1e9.system.entry.js} +1 -1
  162. package/dist/types/components/avatar/avatar.d.ts +7 -4
  163. package/dist/types/components/segment/segment.d.ts +1 -1
  164. package/dist/types/components/spinner/spinner.d.ts +11 -0
  165. package/dist/types/components.d.ts +12 -30
  166. package/hydrate/index.js +80 -154
  167. package/package.json +1 -1
  168. package/components/ion-segment-content.d.ts +0 -11
  169. package/components/ion-segment-content.js +0 -38
  170. package/components/ion-segment-view.d.ts +0 -11
  171. package/components/ion-segment-view.js +0 -86
  172. package/dist/cjs/ion-segment-content.cjs.entry.js +0 -24
  173. package/dist/cjs/ion-segment-view.cjs.entry.js +0 -72
  174. package/dist/collection/components/segment-content/segment-content.css +0 -5
  175. package/dist/collection/components/segment-content/segment-content.js +0 -22
  176. package/dist/collection/components/segment-view/segment-view.css +0 -15
  177. package/dist/collection/components/segment-view/segment-view.js +0 -81
  178. package/dist/esm/ion-segment-content.entry.js +0 -20
  179. package/dist/esm/ion-segment-view.entry.js +0 -68
  180. package/dist/esm-es5/ion-segment-content.entry.js +0 -4
  181. package/dist/esm-es5/ion-segment-view.entry.js +0 -4
  182. package/dist/ionic/p-07b804ba.entry.js +0 -4
  183. package/dist/ionic/p-405559bd.entry.js +0 -4
  184. package/dist/ionic/p-5839776e.entry.js +0 -4
  185. package/dist/ionic/p-660cf6f3.system.entry.js +0 -4
  186. package/dist/ionic/p-6ced0cc0.entry.js +0 -4
  187. package/dist/ionic/p-6d4534cb.system.entry.js +0 -4
  188. package/dist/ionic/p-72944d53.system.entry.js +0 -4
  189. package/dist/ionic/p-7813dead.system.entry.js +0 -4
  190. package/dist/ionic/p-833593dd.entry.js +0 -4
  191. package/dist/ionic/p-8ef82205.entry.js +0 -4
  192. package/dist/ionic/p-9316e014.system.entry.js +0 -4
  193. package/dist/ionic/p-935801cc.entry.js +0 -4
  194. package/dist/ionic/p-9771abb4.entry.js +0 -4
  195. package/dist/ionic/p-a2830649.system.entry.js +0 -4
  196. package/dist/ionic/p-a3b856e6.system.entry.js +0 -4
  197. package/dist/ionic/p-aa246404.entry.js +0 -4
  198. package/dist/ionic/p-aa97948b.entry.js +0 -4
  199. package/dist/ionic/p-c6e43624.entry.js +0 -4
  200. package/dist/ionic/p-dc60009b.system.entry.js +0 -4
  201. package/dist/ionic/p-f1eb1152.system.entry.js +0 -4
  202. package/dist/ionic/p-f8a16486.system.entry.js +0 -4
  203. package/dist/types/components/segment-content/segment-content.d.ts +0 -5
  204. package/dist/types/components/segment-view/segment-view.d.ts +0 -13
@@ -0,0 +1,199 @@
1
+ /**
2
+ * A heuristic that applies CSS to tablet
3
+ * viewports.
4
+ *
5
+ * Usage:
6
+ * @include tablet-viewport() {
7
+ * :host {
8
+ * background-color: green;
9
+ * }
10
+ * }
11
+ */
12
+ /**
13
+ * A heuristic that applies CSS to mobile
14
+ * viewports (i.e. phones, not tablets).
15
+ *
16
+ * Usage:
17
+ * @include mobile-viewport() {
18
+ * :host {
19
+ * background-color: blue;
20
+ * }
21
+ * }
22
+ */
23
+ :host {
24
+ /**
25
+ * @prop --color: Color of the spinner
26
+ */
27
+ display: inline-block;
28
+ position: relative;
29
+ width: 28px;
30
+ height: 28px;
31
+ color: var(--color);
32
+ user-select: none;
33
+ }
34
+
35
+ :host(.ion-color) {
36
+ color: var(--ion-color-base);
37
+ }
38
+
39
+ svg {
40
+ transform-origin: center;
41
+ position: absolute;
42
+ /**
43
+ * Do not use @include position
44
+ * as the alignment of the elements with
45
+ * a spinner should not be RTL aware.
46
+ */
47
+ top: 0;
48
+ /* stylelint-disable-next-line property-disallowed-list */
49
+ left: 0;
50
+ width: 100%;
51
+ height: 100%;
52
+ transform: translateZ(0);
53
+ }
54
+ :host-context([dir=rtl]) svg {
55
+ transform-origin: calc(100% - center);
56
+ }
57
+
58
+ [dir=rtl] svg {
59
+ transform-origin: calc(100% - center);
60
+ }
61
+
62
+ @supports selector(:dir(rtl)) {
63
+ svg:dir(rtl) {
64
+ transform-origin: calc(100% - center);
65
+ }
66
+ }
67
+
68
+ :host(.spinner-lines) line,
69
+ :host(.spinner-lines-small) line {
70
+ stroke-width: 7px;
71
+ }
72
+
73
+ :host(.spinner-lines-sharp) line,
74
+ :host(.spinner-lines-sharp-small) line {
75
+ stroke-width: 4px;
76
+ }
77
+
78
+ :host(.spinner-lines) line,
79
+ :host(.spinner-lines-small) line,
80
+ :host(.spinner-lines-sharp) line,
81
+ :host(.spinner-lines-sharp-small) line {
82
+ stroke-linecap: round;
83
+ stroke: currentColor;
84
+ }
85
+
86
+ :host(.spinner-lines) svg,
87
+ :host(.spinner-lines-small) svg,
88
+ :host(.spinner-lines-sharp) svg,
89
+ :host(.spinner-lines-sharp-small) svg {
90
+ animation: spinner-fade-out 1s linear infinite;
91
+ }
92
+
93
+ :host(.spinner-bubbles) svg {
94
+ animation: spinner-scale-out 1s linear infinite;
95
+ fill: currentColor;
96
+ }
97
+
98
+ :host(.spinner-circles) svg {
99
+ animation: spinner-fade-out 1s linear infinite;
100
+ fill: currentColor;
101
+ }
102
+
103
+ :host(.spinner-crescent) circle {
104
+ fill: transparent;
105
+ stroke-width: 4px;
106
+ stroke-dasharray: 128px;
107
+ stroke-dashoffset: 82px;
108
+ stroke: currentColor;
109
+ }
110
+
111
+ :host(.spinner-crescent) svg {
112
+ animation: spinner-rotate 1s linear infinite;
113
+ }
114
+
115
+ :host(.spinner-dots) circle {
116
+ stroke-width: 0;
117
+ fill: currentColor;
118
+ }
119
+
120
+ :host(.spinner-dots) svg {
121
+ animation: spinner-dots 1s linear infinite;
122
+ }
123
+
124
+ :host(.spinner-circular) svg {
125
+ animation: spinner-circular linear infinite;
126
+ }
127
+
128
+ :host(.spinner-circular) circle {
129
+ animation: spinner-circular-inner ease-in-out infinite;
130
+ stroke: currentColor;
131
+ stroke-dasharray: 80px, 200px;
132
+ stroke-dashoffset: 0px;
133
+ stroke-width: 5.6;
134
+ fill: none;
135
+ }
136
+
137
+ :host(.spinner-paused),
138
+ :host(.spinner-paused) svg,
139
+ :host(.spinner-paused) circle {
140
+ animation-play-state: paused;
141
+ }
142
+
143
+ @keyframes spinner-fade-out {
144
+ 0% {
145
+ opacity: 1;
146
+ }
147
+ 100% {
148
+ opacity: 0;
149
+ }
150
+ }
151
+ @keyframes spinner-scale-out {
152
+ 0% {
153
+ transform: scale(1, 1);
154
+ }
155
+ 100% {
156
+ transform: scale(0, 0);
157
+ }
158
+ }
159
+ @keyframes spinner-rotate {
160
+ 0% {
161
+ transform: rotate(0deg);
162
+ }
163
+ 100% {
164
+ transform: rotate(360deg);
165
+ }
166
+ }
167
+ @keyframes spinner-dots {
168
+ 0% {
169
+ transform: scale(1, 1);
170
+ opacity: 0.9;
171
+ }
172
+ 50% {
173
+ transform: scale(0.4, 0.4);
174
+ opacity: 0.3;
175
+ }
176
+ 100% {
177
+ transform: scale(1, 1);
178
+ opacity: 0.9;
179
+ }
180
+ }
181
+ @keyframes spinner-circular {
182
+ 100% {
183
+ transform: rotate(360deg);
184
+ }
185
+ }
186
+ @keyframes spinner-circular-inner {
187
+ 0% {
188
+ stroke-dasharray: 1px, 200px;
189
+ stroke-dashoffset: 0px;
190
+ }
191
+ 50% {
192
+ stroke-dasharray: 100px, 200px;
193
+ stroke-dashoffset: -15px;
194
+ }
195
+ 100% {
196
+ stroke-dasharray: 100px, 200px;
197
+ stroke-dashoffset: -125px;
198
+ }
199
+ }
@@ -4,6 +4,32 @@
4
4
  * @param pixels - Value in pixels to be converted (i.e. px)
5
5
  * @param context (optional) - Baseline value
6
6
  */
7
+ /**
8
+ * This is an auto-generated file, please do not change it directly.
9
+ * Ionic Design System
10
+ */
11
+ /**
12
+ * A heuristic that applies CSS to tablet
13
+ * viewports.
14
+ *
15
+ * Usage:
16
+ * @include tablet-viewport() {
17
+ * :host {
18
+ * background-color: green;
19
+ * }
20
+ * }
21
+ */
22
+ /**
23
+ * A heuristic that applies CSS to mobile
24
+ * viewports (i.e. phones, not tablets).
25
+ *
26
+ * Usage:
27
+ * @include mobile-viewport() {
28
+ * :host {
29
+ * background-color: blue;
30
+ * }
31
+ * }
32
+ */
7
33
  /**
8
34
  * Convert a font size to a dynamic font size.
9
35
  * Fonts that participate in Dynamic Type should use
@@ -235,4 +261,33 @@ svg {
235
261
  stroke-dasharray: 100px, 200px;
236
262
  stroke-dashoffset: -125px;
237
263
  }
264
+ }
265
+ /* Extra Small */
266
+ :host(.spinner-xsmall) {
267
+ width: var(--ionic-scale-600, 24px);
268
+ height: var(--ionic-scale-600, 24px);
269
+ }
270
+
271
+ /* Small */
272
+ :host(.spinner-small) {
273
+ width: var(--ionic-scale-800, 32px);
274
+ height: var(--ionic-scale-800, 32px);
275
+ }
276
+
277
+ /* Medium */
278
+ :host(.spinner-medium) {
279
+ width: var(--ionic-scale-1000, 40px);
280
+ height: var(--ionic-scale-1000, 40px);
281
+ }
282
+
283
+ /* Large */
284
+ :host(.spinner-large) {
285
+ width: var(--ionic-scale-1200, 48px);
286
+ height: var(--ionic-scale-1200, 48px);
287
+ }
288
+
289
+ /* Extra Large */
290
+ :host(.spinner-xlarge) {
291
+ width: var(--ionic-scale-1400, 56px);
292
+ height: var(--ionic-scale-1400, 56px);
238
293
  }
@@ -16,7 +16,9 @@ export class Spinner {
16
16
  this.duration = undefined;
17
17
  this.name = undefined;
18
18
  this.paused = false;
19
+ this.size = undefined;
19
20
  }
21
+ // TODO(ROU-10920): Switch `theme` to `mode`.
20
22
  getName() {
21
23
  const spinnerName = this.name || config.get('spinner');
22
24
  const theme = getIonTheme(this);
@@ -25,11 +27,24 @@ export class Spinner {
25
27
  }
26
28
  return theme === 'ios' ? 'lines' : 'circular';
27
29
  }
30
+ getSize() {
31
+ const theme = getIonTheme(this);
32
+ const { size } = this;
33
+ // TODO(ROU-10912): Remove theme check when sizes are defined for all themes.
34
+ if (theme !== 'ionic') {
35
+ return undefined;
36
+ }
37
+ if (size === undefined) {
38
+ return 'xsmall';
39
+ }
40
+ return size;
41
+ }
28
42
  render() {
29
43
  var _a;
30
44
  const self = this;
31
45
  const theme = getIonTheme(self);
32
46
  const spinnerName = self.getName();
47
+ const size = this.getSize();
33
48
  const spinner = (_a = SPINNERS[spinnerName]) !== null && _a !== void 0 ? _a : SPINNERS['lines'];
34
49
  const duration = typeof self.duration === 'number' && self.duration > 10 ? self.duration : spinner.dur;
35
50
  const svgs = [];
@@ -43,22 +58,27 @@ export class Spinner {
43
58
  svgs.push(buildLine(spinner, duration, i, spinner.lines));
44
59
  }
45
60
  }
46
- return (h(Host, { key: '5cb7fe35a97d06ec56f83facd294847b51cbc7af', class: createColorClasses(self.color, {
61
+ return (h(Host, { key: '6cac09975f1088551e71b1c60033d3571438f374', class: createColorClasses(self.color, {
47
62
  [theme]: true,
48
63
  [`spinner-${spinnerName}`]: true,
49
64
  'spinner-paused': self.paused || config.getBoolean('_testing'),
65
+ [`spinner-${size}`]: size !== undefined,
50
66
  }), role: "progressbar", style: spinner.elmDuration ? { animationDuration: duration + 'ms' } : {} }, svgs));
51
67
  }
52
68
  static get is() { return "ion-spinner"; }
53
69
  static get encapsulation() { return "shadow"; }
54
70
  static get originalStyleUrls() {
55
71
  return {
56
- "$": ["spinner.scss"]
72
+ "ios": ["spinner.common.scss"],
73
+ "md": ["spinner.common.scss"],
74
+ "ionic": ["spinner.ionic.scss"]
57
75
  };
58
76
  }
59
77
  static get styleUrls() {
60
78
  return {
61
- "$": ["spinner.css"]
79
+ "ios": ["spinner.common.css"],
80
+ "md": ["spinner.common.css"],
81
+ "ionic": ["spinner.ionic.css"]
62
82
  };
63
83
  }
64
84
  static get properties() {
@@ -143,6 +163,23 @@ export class Spinner {
143
163
  "attribute": "paused",
144
164
  "reflect": false,
145
165
  "defaultValue": "false"
166
+ },
167
+ "size": {
168
+ "type": "string",
169
+ "mutable": false,
170
+ "complexType": {
171
+ "original": "'xsmall' | 'small' | 'medium' | 'large' | 'xlarge'",
172
+ "resolved": "\"large\" | \"medium\" | \"small\" | \"xlarge\" | \"xsmall\" | undefined",
173
+ "references": {}
174
+ },
175
+ "required": false,
176
+ "optional": true,
177
+ "docs": {
178
+ "tags": [],
179
+ "text": "Set to `\"xsmall\"` for the smallest size.\nSet to `\"small\"` for a smaller size.\nSet to `\"medium\"` for a medium size.\nSet to `\"large\"` for a large size.\nSet to `\"xlarge\"` for the largest size.\n\nDefaults to `\"xsmall\"` for the `ionic` theme, undefined for all other themes."
180
+ },
181
+ "attribute": "size",
182
+ "reflect": false
146
183
  }
147
184
  };
148
185
  }
@@ -0,0 +1,47 @@
1
+ /*!
2
+ * (C) Ionic http://ionicframework.com - MIT License
3
+ */
4
+ import { expect } from "@playwright/test";
5
+ import { configs, test } from "../../../../utils/test/playwright/index";
6
+ /**
7
+ * This behavior does not vary across directions.
8
+ */
9
+ configs({ directions: ['ltr'], modes: ['ionic-md'] }).forEach(({ config, screenshot, title }) => {
10
+ test.describe(title('spinner: size'), () => {
11
+ test('should render xsmall spinner', async ({ page }) => {
12
+ await page.setContent(`
13
+ <ion-spinner size="xsmall"></ion-spinner>
14
+ `, config);
15
+ const spinner = page.locator('ion-spinner');
16
+ await expect(spinner).toHaveScreenshot(screenshot(`spinner-size-xsmall`));
17
+ });
18
+ test('should render small spinner', async ({ page }) => {
19
+ await page.setContent(`
20
+ <ion-spinner size="small"></ion-spinner>
21
+ `, config);
22
+ const spinner = page.locator('ion-spinner');
23
+ await expect(spinner).toHaveScreenshot(screenshot(`spinner-size-small`));
24
+ });
25
+ test('should render medium spinner', async ({ page }) => {
26
+ await page.setContent(`
27
+ <ion-spinner size="medium"></ion-spinner>
28
+ `, config);
29
+ const spinner = page.locator('ion-spinner');
30
+ await expect(spinner).toHaveScreenshot(screenshot(`spinner-size-medium`));
31
+ });
32
+ test('should render large spinner', async ({ page }) => {
33
+ await page.setContent(`
34
+ <ion-spinner size="large"></ion-spinner>
35
+ `, config);
36
+ const spinner = page.locator('ion-spinner');
37
+ await expect(spinner).toHaveScreenshot(screenshot(`spinner-size-large`));
38
+ });
39
+ test('should render xlarge spinner', async ({ page }) => {
40
+ await page.setContent(`
41
+ <ion-spinner size="xlarge"></ion-spinner>
42
+ `, config);
43
+ const spinner = page.locator('ion-spinner');
44
+ await expect(spinner).toHaveScreenshot(screenshot(`spinner-size-xlarge`));
45
+ });
46
+ });
47
+ });
@@ -122,12 +122,12 @@ export class SplitPane {
122
122
  }
123
123
  render() {
124
124
  const theme = getIonTheme(this);
125
- return (h(Host, { key: 'a52854c638f501f9464c3d1d4c30bee020fd781e', class: {
125
+ return (h(Host, { key: 'f2090ca1bf3210b4ba6e20adafbc6f5839704cdd', 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: 'b2164b195c5811dda3d855c47f1bb59975172329' })));
130
+ } }, h("slot", { key: '3ecadb0aa95e4b7799b34122afe25d028bba8710' })));
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: '121affd326db55663c47d9c917e64e863f909028', role: "tabpanel", "aria-hidden": !active ? 'true' : null, "aria-labelledby": `tab-button-${tab}`, class: {
55
+ return (h(Host, { key: '91a0d6e7f70446804044b06eaf22e6fe0eb14510', 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: '8c80289c7e745a8a07692565519b9b13eb56ff19' })));
58
+ } }, h("slot", { key: '6bb7036c2a8a149212b5afdc0a34c6131efd1aee' })));
59
59
  }
60
60
  static get is() { return "ion-tab"; }
61
61
  static get encapsulation() { return "shadow"; }
@@ -52,11 +52,11 @@ export class TabBar {
52
52
  const { color, translucent, keyboardVisible } = this;
53
53
  const theme = getIonTheme(this);
54
54
  const shouldHide = keyboardVisible && this.el.getAttribute('slot') !== 'top';
55
- return (h(Host, { key: 'cf965ce80081170fd2200e7368c69cd6ccdada5d', role: "tablist", "aria-hidden": shouldHide ? 'true' : null, class: createColorClasses(color, {
55
+ return (h(Host, { key: 'a17e0599a93095bd47d519336fda9ceeda3029d1', role: "tablist", "aria-hidden": shouldHide ? 'true' : null, class: createColorClasses(color, {
56
56
  [theme]: true,
57
57
  'tab-bar-translucent': translucent,
58
58
  'tab-bar-hidden': shouldHide,
59
- }) }, h("slot", { key: '94538a393f7cf1000f4c476a4afdc73b7d593f32' })));
59
+ }) }, h("slot", { key: '7c1f1abe56e8a0f3f24d3479dd6c839aaf90c7be' })));
60
60
  }
61
61
  static get is() { return "ion-tab-bar"; }
62
62
  static get encapsulation() { return "shadow"; }
@@ -71,7 +71,7 @@ export class TabButton {
71
71
  rel,
72
72
  target,
73
73
  };
74
- return (h(Host, { key: 'c5d5a400c9e489dca8f69a474e9d2f7321181352', onClick: this.onClick, onKeyup: this.onKeyUp, id: tab !== undefined ? `tab-button-${tab}` : null, class: {
74
+ return (h(Host, { key: '9d7ead0ffeaea5d99e3aa357bff6c5ac64fa1f26', onClick: this.onClick, onKeyup: this.onKeyUp, id: tab !== undefined ? `tab-button-${tab}` : null, class: {
75
75
  [theme]: true,
76
76
  'tab-selected': selected,
77
77
  'tab-disabled': disabled,
@@ -83,7 +83,7 @@ export class TabButton {
83
83
  'ion-activatable': true,
84
84
  'ion-selectable': true,
85
85
  'ion-focusable': true,
86
- } }, h("a", Object.assign({ key: '7c8ebc51f564778ebd07615b06466e9250539682' }, 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: '0ec2cb0c616c612af1a97338b5b774196c7498e5', class: "button-inner" }, h("slot", { key: '84ba9e4c88466da0ae7c71de19f9896c9e4e93ef' })), theme === 'md' && h("ion-ripple-effect", { key: '647c96627b7f8339d72c36ca01320677b8b7839c', type: "unbounded" }))));
86
+ } }, h("a", Object.assign({ key: 'fa0e9730e8b396d83df43a97b41067bbc6b195c2' }, 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: '70b80731de0115a7720de8f0e1f16bac4eb326c3', class: "button-inner" }, h("slot", { key: '3abf65a17ef45a00ae54909b3301f68117a04575' })), theme === 'md' && h("ion-ripple-effect", { key: 'becf3d93675dc8943dc16fc27d204b5c1ad00817', type: "unbounded" }))));
87
87
  }
88
88
  static get is() { return "ion-tab-button"; }
89
89
  static get encapsulation() { return "shadow"; }
@@ -138,7 +138,7 @@ export class Tabs {
138
138
  return Array.from(this.el.querySelectorAll('ion-tab'));
139
139
  }
140
140
  render() {
141
- return (h(Host, { key: 'ba731d1538baa664111266c5f9bc3311fe02f9b7', onIonTabButtonClick: this.onTabClicked }, h("slot", { key: '51f8ca87cd096a8e638a0b15d4fbab5aa730f5fa', name: "top" }), h("div", { key: 'e608434927bb5aac108027a4ce9389a0d930e1c2', class: "tabs-inner" }, h("slot", { key: '2922d0e28afc21fda97f2b29a8b5222d9782a6b4' })), h("slot", { key: 'f42306887fc30a816c961fea6cb609375eb56875', name: "bottom" })));
141
+ return (h(Host, { key: 'b38aa13e0115484aa4201c438956ba598671c7f7', onIonTabButtonClick: this.onTabClicked }, h("slot", { key: '47c5aead7a4caf5a496a020e2c4bcac2f5b4082a', name: "top" }), h("div", { key: '839c4cf7b8adbf3263b6e8b94963fe41ba7b1b35', class: "tabs-inner" }, h("slot", { key: '74d33c76bb578a3eddc6a2bfc833018b912b2947' })), h("slot", { key: '45919fcd3ba83ab5d3a928ec83ca14039dde68e2', name: "bottom" })));
142
142
  }
143
143
  static get is() { return "ion-tabs"; }
144
144
  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: 'e1398a44433bb39074bd1c03a157968fde144dbd', class: createColorClasses(this.color, {
17
+ return (h(Host, { key: '1d7afeee75e183280309a1300a919eb6b554226c', class: createColorClasses(this.color, {
18
18
  [theme]: true,
19
- }) }, h("slot", { key: '1c26cfb6121b165c9129fad3e98ae8a373949721' })));
19
+ }) }, h("slot", { key: '5083935a5010701514fb18576912eabb738bb862' })));
20
20
  }
21
21
  static get is() { return "ion-text"; }
22
22
  static get encapsulation() { return "shadow"; }
@@ -360,7 +360,7 @@ export class Textarea {
360
360
  * TODO(FW-5592): Remove hasStartEndSlots condition
361
361
  */
362
362
  const labelShouldFloat = labelPlacement === 'stacked' || (labelPlacement === 'floating' && (hasValue || hasFocus || hasStartEndSlots));
363
- return (h(Host, { key: '35aa08db103e5deb78d957cab4b927f6b75cfa0d', class: createColorClasses(this.color, {
363
+ return (h(Host, { key: '911726b3af25343ca7ba3084a00f6f70d10c11ed', class: createColorClasses(this.color, {
364
364
  [theme]: true,
365
365
  'has-value': hasValue,
366
366
  'has-focus': hasFocus,
@@ -369,7 +369,7 @@ export class Textarea {
369
369
  [`textarea-shape-${shape}`]: shape !== undefined,
370
370
  [`textarea-label-placement-${labelPlacement}`]: true,
371
371
  'textarea-disabled': disabled,
372
- }) }, h("label", { key: '088fd6d57899f9b1595712c7a63642e9877f5e00', class: "textarea-wrapper", htmlFor: inputId }, this.renderLabelContainer(), h("div", { key: '3f1ab81e9c4a7a286f985fa7f6f30dca5f26833b', class: "textarea-wrapper-inner" }, h("div", { key: '4afa68f18bb62b32138a91d903c75672d9a8a9ba', class: "start-slot-wrapper" }, h("slot", { key: '635fa7a5c9754654a3d7f012d33fc12cbe9fd0cf', name: "start" })), h("div", { key: '0895b08cb759a157783a38f423c04967ec8c0ce1', class: "native-wrapper", ref: (el) => (this.textareaWrapper = el) }, h("textarea", Object.assign({ key: 'ec1ebe99508fbce9897c870d5e74239a32dfba91', 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 }, this.inheritedAttributes), value)), h("div", { key: '411186d7c420c386233296edcbc9afd1d3de03a7', class: "end-slot-wrapper" }, h("slot", { key: 'b37cd68f0dc3f310cd78107d6f61933ba0e27d83', name: "end" }))), shouldRenderHighlight && h("div", { key: '43c7ae2f1e797701d9dbfd905d40320bb0f40e89', class: "textarea-highlight" })), this.renderBottomContent()));
372
+ }) }, h("label", { key: '6f5f1633788b266b919c4bf9da1598fe3e33d9c0', class: "textarea-wrapper", htmlFor: inputId }, this.renderLabelContainer(), h("div", { key: 'bc04ce5f1174737a931c45f8851ba5a2b96e3f88', class: "textarea-wrapper-inner" }, h("div", { key: 'fa8552e1782232e56d7ff0ad69cd77f5bdff1dd8', class: "start-slot-wrapper" }, h("slot", { key: '96f59a916db5d3d386f5d87bfe5490b55bc39573', name: "start" })), h("div", { key: '7b0bab61d53d051bc0bfd8b7da99e9d8bc28d7d0', class: "native-wrapper", ref: (el) => (this.textareaWrapper = el) }, h("textarea", Object.assign({ key: '162f9bafda1156f8b370e108a2acc76540b69f9a', 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 }, this.inheritedAttributes), value)), h("div", { key: '00f6074ba777a9c4410267a41ac3303c30be4b43', class: "end-slot-wrapper" }, h("slot", { key: '633af4fbfbbada66b4755ead8f1fe8ec412530b7', name: "end" }))), shouldRenderHighlight && h("div", { key: '04e74015f00c89279f23a13cc8f67944f8c9d336', class: "textarea-highlight" })), this.renderBottomContent()));
373
373
  }
374
374
  static get is() { return "ion-textarea"; }
375
375
  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: '43ea61d750f53e8f3623df191eb3795a59599e40', class: {
13
+ return (h(Host, { key: '8911848dc9edd536023c8a68e51752b751e3f0ab', class: {
14
14
  [theme]: true,
15
- } }, h("slot", { key: 'feaecfa188c84b219d61ff99296b34c7ab26ec66' })));
15
+ } }, h("slot", { key: 'aaa7d7010d4050eebaed490b3ef7e641b076607c' })));
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: '2312208012fcc0021511e9f83a797f0efecc95d7', class: createColorClasses(this.color, {
34
+ return (h(Host, { key: '67f00e2664322d0a5df32e093c7e227fc6f16c98', class: createColorClasses(this.color, {
35
35
  [theme]: true,
36
36
  [`title-${size}`]: true,
37
37
  'title-rtl': document.dir === 'rtl',
38
- }) }, h("div", { key: '0d5cb6cb7065aa70a299061ebd1d7be04f0c5d22', class: "toolbar-title" }, h("slot", { key: '9f95add2dda42160f45137f7ebd8df0f3c3f1a69' }))));
38
+ }) }, h("div", { key: 'cfc8295c9c599a9a61ea794b30169fdd574708f1', class: "toolbar-title" }, h("slot", { key: '2065458af3ed39d230c935332e7ff9c9d2d20e78' }))));
39
39
  }
40
40
  static get is() { return "ion-title"; }
41
41
  static get encapsulation() { return "shadow"; }
@@ -390,9 +390,9 @@ export class Toast {
390
390
  if (layout === 'stacked' && startButtons.length > 0 && endButtons.length > 0) {
391
391
  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);
392
392
  }
393
- return (h(Host, Object.assign({ key: 'c479651c07a43bc57908af9c40ebd096cf37b055', tabindex: "-1" }, this.htmlAttributes, { style: {
393
+ return (h(Host, Object.assign({ key: 'cb84d6f739571bc4193840fb790caa5bb5d86570', tabindex: "-1" }, this.htmlAttributes, { style: {
394
394
  zIndex: `${60000 + this.overlayIndex}`,
395
- }, class: createColorClasses(this.color, Object.assign(Object.assign({ [theme]: true }, getClassMap(this.cssClass)), { 'overlay-hidden': true, 'toast-translucent': this.translucent })), onIonToastWillDismiss: this.dispatchCancelHandler }), h("div", { key: 'd4939b5d4f3ffee11ad3167387fbcf5d65107ddc', class: wrapperClass }, h("div", { key: 'bea0d04b6c936b61d0a8df70eb147f2792b7dadd', class: "toast-container", part: "container" }, this.renderButtons(startButtons, 'start'), this.icon !== undefined && (h("ion-icon", { key: 'ea29fdcf23d8b915bb3c294bff094743e3e06e82', class: "toast-icon", part: "icon", icon: this.icon, lazy: false, "aria-hidden": "true" })), h("div", { key: 'c0092793067bbc2cd5b7e538ccdc82aacd424fe1', 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')))));
395
+ }, class: createColorClasses(this.color, Object.assign(Object.assign({ [theme]: true }, getClassMap(this.cssClass)), { 'overlay-hidden': true, 'toast-translucent': this.translucent })), onIonToastWillDismiss: this.dispatchCancelHandler }), h("div", { key: '2d9d8ce5d886779f406410197df2a6244032c012', class: wrapperClass }, h("div", { key: '3a64cc8e864daf97f13c94416a544a80738273ba', class: "toast-container", part: "container" }, this.renderButtons(startButtons, 'start'), this.icon !== undefined && (h("ion-icon", { key: 'c1461d577adabfb1244be84d5bc433c256a86a38', class: "toast-icon", part: "icon", icon: this.icon, lazy: false, "aria-hidden": "true" })), h("div", { key: '5a4cfe8b8fe74fa550468183b3f43294827b800f', 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')))));
396
396
  }
397
397
  static get is() { return "ion-toast"; }
398
398
  static get encapsulation() { return "shadow"; }
@@ -207,7 +207,7 @@ export class Toggle {
207
207
  const value = this.getValue();
208
208
  const rtl = isRTL(el) ? 'rtl' : 'ltr';
209
209
  renderHiddenInput(true, el, name, checked ? value : '', disabled);
210
- return (h(Host, { key: 'aa9dc67384dc4be027ac562730e899f4315fdcfc', onClick: this.onClick, class: createColorClasses(color, {
210
+ return (h(Host, { key: '06f5bc54f99b5f27f0d67a6934aea6bb671ec440', onClick: this.onClick, class: createColorClasses(color, {
211
211
  [theme]: true,
212
212
  'in-item': hostContext('ion-item', el),
213
213
  'toggle-activated': activated,
@@ -217,10 +217,10 @@ export class Toggle {
217
217
  [`toggle-alignment-${alignment}`]: true,
218
218
  [`toggle-label-placement-${labelPlacement}`]: true,
219
219
  [`toggle-${rtl}`]: true,
220
- }) }, h("label", { key: 'f154b73f5def7cc59a9d5f355eece52c57e5b493', class: "toggle-wrapper" }, h("input", Object.assign({ key: 'a1c4864c94a8f28a0d2e018ae35275125674cfa6', 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: '074b23eb8020c8318aeb8747c5bcef7e0ee235bb', class: {
220
+ }) }, h("label", { key: '7831cd36159ce5fc9d854ebecb597ae3c659a1c1', class: "toggle-wrapper" }, h("input", Object.assign({ key: '11ea2c3830239223c8b570216ca84109155d7776', 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: '5ae16c5503913089ca9ec268cf4db8a7745460b6', class: {
221
221
  'label-text-wrapper': true,
222
222
  'label-text-wrapper-hidden': !this.hasLabel,
223
- }, part: "label" }, h("slot", { key: '94d49b13cf0a4fa6fd0177931217446661691bc0' })), h("div", { key: 'c4468059e95a4f6342c60ccaaf3956e45a9b13cc', class: "native-wrapper" }, this.renderToggleControl()))));
223
+ }, part: "label" }, h("slot", { key: '8787021fe340347d6ae44c22959f387f03b871e0' })), h("div", { key: '7ac6cf4bfeb41fc0e8ff9fa2e55571234ab07d03', class: "native-wrapper" }, this.renderToggleControl()))));
224
224
  }
225
225
  static get is() { return "ion-toggle"; }
226
226
  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: '301c7915c8331f4b00cf929068083102ec85a75d', class: Object.assign(Object.assign({}, childStyles), createColorClasses(this.color, {
66
+ return (h(Host, { key: '958f4b7dd7edd7e14188ede019a3ec83955047e7', 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: 'fa60782795f4c50a2bf6fe85799439ee4469c51f', class: "toolbar-background" }), h("div", { key: 'd22e03c135a3360b796c9149018888a176d05a7e', class: "toolbar-container" }, h("slot", { key: 'e97e52fd2426ef4fdddcad9202a5331c4d1ef6b7', name: "start" }), h("slot", { key: '1f82aa2d95a17ab478d13ade7ae52da227de2bfc', name: "secondary" }), h("div", { key: 'e7698f82a464a9c863bd3a602d396a14d987bad0', class: "toolbar-content" }, h("slot", { key: '215f4fcd1cae042da6e2d5ef9832d9857db1b7c6' })), h("slot", { key: '962027f724f2a3ba009dcb218f71bbc97fb6927a', name: "primary" }), h("slot", { key: '5d7d1a5132501a436a82e267d660ec7feea96012', name: "end" }))));
69
+ })) }, h("div", { key: '13c34671af2a47ee2d13c3348d87590696fe2043', class: "toolbar-background" }), h("div", { key: '00cb26c46ab564017c5b59133082966487f3268a', class: "toolbar-container" }, h("slot", { key: 'a9c5fc777ff5eab4ef91d7c9b274a53012280f35', name: "start" }), h("slot", { key: 'a5a4e11b5d5847ff167ae95b86cd3625d482e257', name: "secondary" }), h("div", { key: 'e9f06b74b6aa933363aa0b671216b37300cc660c', class: "toolbar-content" }, h("slot", { key: '05929530a64a6d497ef5bc69dbc42adc11c9694f' })), h("slot", { key: 'f03445495cd36c54a7a43b47ab47169c53d9d15b', name: "primary" }), h("slot", { key: 'd8a60db04c290933462b517cc6627500bd9ebe34', name: "end" }))));
70
70
  }
71
71
  static get is() { return "ion-toolbar"; }
72
72
  static get encapsulation() { return "shadow"; }