@ionic/core 8.5.5-dev.11744821352.11e7a84f → 8.5.5-dev.11745934912.1dcd33ea

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 (232) hide show
  1. package/components/backdrop.js +3 -3
  2. package/components/button.js +3 -3
  3. package/components/ion-accordion-group.js +1 -1
  4. package/components/ion-accordion.js +1 -1
  5. package/components/ion-avatar.js +1 -1
  6. package/components/ion-badge.js +3 -3
  7. package/components/ion-chip.js +1 -1
  8. package/components/ion-input-password-toggle.js +5 -5
  9. package/components/ion-input.js +1 -1
  10. package/components/ion-item-option.js +3 -3
  11. package/components/ion-item-options.js +3 -3
  12. package/components/ion-progress-bar.js +3 -3
  13. package/components/ion-range.js +1 -1
  14. package/components/ion-searchbar.js +1 -1
  15. package/components/ion-select.js +3 -3
  16. package/components/ion-tab-button.js +3 -3
  17. package/components/ion-textarea.js +3 -3
  18. package/components/ion-toast.js +3 -3
  19. package/components/ion-toggle.js +3 -3
  20. package/components/item.js +1 -1
  21. package/components/list-header.js +3 -3
  22. package/components/modal.js +3 -3
  23. package/components/ripple-effect.js +1 -1
  24. package/components/spinner.js +5 -5
  25. package/css/core.css.map +1 -1
  26. package/css/ionic/bundle.ionic.css +1 -1
  27. package/css/ionic/bundle.ionic.css.map +1 -1
  28. package/css/ionic/global.bundle.ionic.css +1 -1
  29. package/css/ionic/global.bundle.ionic.css.map +1 -1
  30. package/css/ionic/link.ionic.css +1 -1
  31. package/css/ionic/link.ionic.css.map +1 -1
  32. package/css/ionic.bundle.css.map +1 -1
  33. package/dist/cjs/ion-accordion_2.cjs.entry.js +2 -2
  34. package/dist/cjs/ion-avatar_3.cjs.entry.js +4 -4
  35. package/dist/cjs/ion-backdrop.cjs.entry.js +3 -3
  36. package/dist/cjs/ion-button_2.cjs.entry.js +3 -3
  37. package/dist/cjs/ion-chip.cjs.entry.js +1 -1
  38. package/dist/cjs/ion-input-password-toggle.cjs.entry.js +5 -5
  39. package/dist/cjs/ion-input.cjs.entry.js +1 -1
  40. package/dist/cjs/ion-item-option_3.cjs.entry.js +6 -6
  41. package/dist/cjs/ion-item_8.cjs.entry.js +4 -4
  42. package/dist/cjs/ion-modal.cjs.entry.js +3 -3
  43. package/dist/cjs/ion-progress-bar.cjs.entry.js +3 -3
  44. package/dist/cjs/ion-range.cjs.entry.js +1 -1
  45. package/dist/cjs/ion-ripple-effect.cjs.entry.js +1 -1
  46. package/dist/cjs/ion-searchbar.cjs.entry.js +1 -1
  47. package/dist/cjs/ion-select_3.cjs.entry.js +3 -3
  48. package/dist/cjs/ion-spinner.cjs.entry.js +5 -5
  49. package/dist/cjs/ion-tab-bar_2.cjs.entry.js +3 -3
  50. package/dist/cjs/ion-textarea.cjs.entry.js +3 -3
  51. package/dist/cjs/ion-toast.cjs.entry.js +3 -3
  52. package/dist/cjs/ion-toggle.cjs.entry.js +3 -3
  53. package/dist/collection/components/accordion/accordion.ionic.css +5 -5
  54. package/dist/collection/components/accordion-group/accordion-group.ionic.css +2 -2
  55. package/dist/collection/components/avatar/avatar.ionic.css +38 -52
  56. package/dist/collection/components/avatar/avatar.ios.css +0 -39
  57. package/dist/collection/components/avatar/avatar.md.css +0 -39
  58. package/dist/collection/components/backdrop/backdrop.ionic.css +1 -40
  59. package/dist/collection/components/backdrop/backdrop.ios.css +44 -19
  60. package/dist/collection/components/backdrop/backdrop.md.css +44 -19
  61. package/dist/collection/components/badge/badge.ionic.css +31 -52
  62. package/dist/collection/components/badge/badge.ios.css +8 -41
  63. package/dist/collection/components/badge/badge.md.css +8 -41
  64. package/dist/collection/components/button/button.ionic.css +29 -77
  65. package/dist/collection/components/button/button.ios.css +23 -75
  66. package/dist/collection/components/button/button.md.css +23 -75
  67. package/dist/collection/components/chip/chip.ionic.css +17 -6
  68. package/dist/collection/components/input/input.ionic.css +21 -83
  69. package/dist/collection/components/input/input.md.css +0 -122
  70. package/dist/collection/components/input-password-toggle/input-password-toggle.ionic.css +1 -62
  71. package/dist/collection/components/input-password-toggle/input-password-toggle.js +4 -4
  72. package/dist/collection/components/item/item.ionic.css +9 -4
  73. package/dist/collection/components/item-option/item-option.ionic.css +16 -3
  74. package/dist/collection/components/item-option/item-option.ios.css +4 -1
  75. package/dist/collection/components/item-option/item-option.md.css +4 -1
  76. package/dist/collection/components/item-options/item-options.ionic.css +4 -40
  77. package/dist/collection/components/item-options/item-options.ios.css +65 -40
  78. package/dist/collection/components/item-options/item-options.md.css +65 -40
  79. package/dist/collection/components/list/list.ionic.css +22 -0
  80. package/dist/collection/components/list/list.ios.css +36 -14
  81. package/dist/collection/components/list/list.md.css +36 -14
  82. package/dist/collection/components/list-header/list-header.ionic.css +6 -50
  83. package/dist/collection/components/list-header/list-header.ios.css +70 -44
  84. package/dist/collection/components/list-header/list-header.md.css +70 -44
  85. package/dist/collection/components/modal/modal.ionic.css +16 -18
  86. package/dist/collection/components/modal/modal.ios.css +79 -18
  87. package/dist/collection/components/modal/modal.md.css +79 -18
  88. package/dist/collection/components/progress-bar/progress-bar.ionic.css +6 -50
  89. package/dist/collection/components/progress-bar/progress-bar.ios.css +35 -10
  90. package/dist/collection/components/progress-bar/progress-bar.md.css +35 -10
  91. package/dist/collection/components/range/range.ionic.css +2 -2
  92. package/dist/collection/components/ripple-effect/ripple-effect.ionic.css +64 -1
  93. package/dist/collection/components/searchbar/searchbar.ionic.css +3 -3
  94. package/dist/collection/components/select/select.ionic.css +46 -112
  95. package/dist/collection/components/select/select.ios.css +109 -103
  96. package/dist/collection/components/select/select.md.css +109 -103
  97. package/dist/collection/components/spinner/spinner.ionic.css +12 -10
  98. package/dist/collection/components/spinner/spinner.js +4 -4
  99. package/dist/collection/components/spinner/{spinner.common.css → spinner.native.css} +9 -10
  100. package/dist/collection/components/tab-button/tab-button.ionic.css +19 -8
  101. package/dist/collection/components/tab-button/tab-button.ios.css +5 -5
  102. package/dist/collection/components/tab-button/tab-button.md.css +5 -5
  103. package/dist/collection/components/textarea/textarea.ionic.css +39 -88
  104. package/dist/collection/components/textarea/textarea.ios.css +115 -88
  105. package/dist/collection/components/textarea/textarea.md.css +115 -88
  106. package/dist/collection/components/toast/toast.ionic.css +2 -12
  107. package/dist/collection/components/toast/toast.ios.css +10 -10
  108. package/dist/collection/components/toast/toast.md.css +10 -10
  109. package/dist/collection/components/toggle/toggle.ionic.css +0 -4
  110. package/dist/collection/components/toggle/toggle.ios.css +4 -4
  111. package/dist/collection/components/toggle/toggle.md.css +4 -4
  112. package/dist/docs.json +1 -13
  113. package/dist/esm/ion-accordion_2.entry.js +2 -2
  114. package/dist/esm/ion-avatar_3.entry.js +4 -4
  115. package/dist/esm/ion-backdrop.entry.js +3 -3
  116. package/dist/esm/ion-button_2.entry.js +3 -3
  117. package/dist/esm/ion-chip.entry.js +1 -1
  118. package/dist/esm/ion-input-password-toggle.entry.js +5 -5
  119. package/dist/esm/ion-input.entry.js +1 -1
  120. package/dist/esm/ion-item-option_3.entry.js +6 -6
  121. package/dist/esm/ion-item_8.entry.js +4 -4
  122. package/dist/esm/ion-modal.entry.js +3 -3
  123. package/dist/esm/ion-progress-bar.entry.js +3 -3
  124. package/dist/esm/ion-range.entry.js +1 -1
  125. package/dist/esm/ion-ripple-effect.entry.js +1 -1
  126. package/dist/esm/ion-searchbar.entry.js +1 -1
  127. package/dist/esm/ion-select_3.entry.js +3 -3
  128. package/dist/esm/ion-spinner.entry.js +5 -5
  129. package/dist/esm/ion-tab-bar_2.entry.js +3 -3
  130. package/dist/esm/ion-textarea.entry.js +3 -3
  131. package/dist/esm/ion-toast.entry.js +3 -3
  132. package/dist/esm/ion-toggle.entry.js +3 -3
  133. package/dist/esm-es5/ion-accordion_2.entry.js +1 -1
  134. package/dist/esm-es5/ion-avatar_3.entry.js +1 -1
  135. package/dist/esm-es5/ion-backdrop.entry.js +1 -1
  136. package/dist/esm-es5/ion-button_2.entry.js +1 -1
  137. package/dist/esm-es5/ion-chip.entry.js +1 -1
  138. package/dist/esm-es5/ion-input-password-toggle.entry.js +1 -1
  139. package/dist/esm-es5/ion-input.entry.js +1 -1
  140. package/dist/esm-es5/ion-item-option_3.entry.js +1 -1
  141. package/dist/esm-es5/ion-item_8.entry.js +1 -1
  142. package/dist/esm-es5/ion-modal.entry.js +1 -1
  143. package/dist/esm-es5/ion-progress-bar.entry.js +1 -1
  144. package/dist/esm-es5/ion-range.entry.js +1 -1
  145. package/dist/esm-es5/ion-ripple-effect.entry.js +1 -1
  146. package/dist/esm-es5/ion-searchbar.entry.js +1 -1
  147. package/dist/esm-es5/ion-select_3.entry.js +1 -1
  148. package/dist/esm-es5/ion-spinner.entry.js +1 -1
  149. package/dist/esm-es5/ion-tab-bar_2.entry.js +1 -1
  150. package/dist/esm-es5/ion-textarea.entry.js +1 -1
  151. package/dist/esm-es5/ion-toast.entry.js +1 -1
  152. package/dist/esm-es5/ion-toggle.entry.js +1 -1
  153. package/dist/ionic/ionic.esm.js +1 -1
  154. package/dist/ionic/{p-2d1ea225.entry.js → p-09072d3b.entry.js} +1 -1
  155. package/dist/ionic/p-0d297574.system.entry.js +4 -0
  156. package/dist/ionic/p-246e6dc5.entry.js +4 -0
  157. package/dist/ionic/p-25679df9.system.entry.js +4 -0
  158. package/dist/ionic/p-259dcfa3.entry.js +4 -0
  159. package/dist/ionic/p-2d8cc8b4.entry.js +4 -0
  160. package/dist/ionic/p-350e4850.system.entry.js +4 -0
  161. package/dist/ionic/p-3533c471.system.entry.js +4 -0
  162. package/dist/ionic/p-3824cffd.entry.js +4 -0
  163. package/dist/ionic/p-3b98dd61.system.entry.js +4 -0
  164. package/dist/ionic/p-436bfcc9.system.entry.js +4 -0
  165. package/dist/ionic/p-43d6a02c.system.entry.js +4 -0
  166. package/dist/ionic/p-44b1fefc.entry.js +4 -0
  167. package/dist/ionic/p-4a767053.entry.js +4 -0
  168. package/dist/ionic/p-7c6f71eb.entry.js +4 -0
  169. package/dist/ionic/p-7cf8fbdc.system.entry.js +4 -0
  170. package/dist/ionic/p-8402b59e.system.entry.js +4 -0
  171. package/dist/ionic/p-840f1c59.entry.js +4 -0
  172. package/dist/ionic/p-84ac0a34.system.entry.js +4 -0
  173. package/dist/ionic/p-85c7c591.system.entry.js +4 -0
  174. package/dist/ionic/{p-1d8a608c.entry.js → p-88aa79f6.entry.js} +1 -1
  175. package/dist/ionic/{p-1091cdb9.entry.js → p-9d513c26.entry.js} +1 -1
  176. package/dist/ionic/{p-f724434e.system.entry.js → p-a1d0ee0b.system.entry.js} +1 -1
  177. package/dist/ionic/p-a569fc14.system.entry.js +4 -0
  178. package/dist/ionic/p-a6a71315.entry.js +4 -0
  179. package/dist/ionic/p-aba2d55f.system.entry.js +4 -0
  180. package/dist/ionic/p-b79a47ba.entry.js +4 -0
  181. package/dist/ionic/p-ba992f31.system.entry.js +4 -0
  182. package/dist/ionic/p-c0b7f342.entry.js +4 -0
  183. package/dist/ionic/p-c18ffa8b.entry.js +4 -0
  184. package/dist/ionic/p-c1e7dbd4.system.entry.js +4 -0
  185. package/dist/ionic/p-c847b24b.system.entry.js +4 -0
  186. package/dist/ionic/{p-30c3101d.entry.js → p-c9481069.entry.js} +1 -1
  187. package/dist/ionic/{p-0407e81b.entry.js → p-ccb71d99.entry.js} +1 -1
  188. package/dist/ionic/p-d2314315.system.entry.js +4 -0
  189. package/dist/ionic/p-db8ffacb.system.js +1 -1
  190. package/dist/ionic/p-dfb63dc2.system.entry.js +4 -0
  191. package/dist/ionic/p-e09bb245.system.entry.js +4 -0
  192. package/dist/ionic/p-f6a03670.entry.js +4 -0
  193. package/dist/ionic/p-fb3ce1f1.entry.js +4 -0
  194. package/dist/ionic/p-fec23a6f.entry.js +4 -0
  195. package/hydrate/index.js +58 -58
  196. package/hydrate/index.mjs +58 -58
  197. package/package.json +1 -1
  198. package/dist/ionic/p-049c8d2a.entry.js +0 -4
  199. package/dist/ionic/p-106d1261.system.entry.js +0 -4
  200. package/dist/ionic/p-14405618.system.entry.js +0 -4
  201. package/dist/ionic/p-226163dd.system.entry.js +0 -4
  202. package/dist/ionic/p-25de2d08.entry.js +0 -4
  203. package/dist/ionic/p-36ac0bd0.system.entry.js +0 -4
  204. package/dist/ionic/p-36e022e5.system.entry.js +0 -4
  205. package/dist/ionic/p-4bad1784.system.entry.js +0 -4
  206. package/dist/ionic/p-4c3e0fde.system.entry.js +0 -4
  207. package/dist/ionic/p-4e5e464b.entry.js +0 -4
  208. package/dist/ionic/p-4eab42bc.entry.js +0 -4
  209. package/dist/ionic/p-4ee9dc7a.entry.js +0 -4
  210. package/dist/ionic/p-519dbeb4.entry.js +0 -4
  211. package/dist/ionic/p-537e7cdc.system.entry.js +0 -4
  212. package/dist/ionic/p-5396aa22.system.entry.js +0 -4
  213. package/dist/ionic/p-65c2b2b1.entry.js +0 -4
  214. package/dist/ionic/p-660800ad.entry.js +0 -4
  215. package/dist/ionic/p-7c2fc007.system.entry.js +0 -4
  216. package/dist/ionic/p-7f74d4fc.system.entry.js +0 -4
  217. package/dist/ionic/p-895adf4d.system.entry.js +0 -4
  218. package/dist/ionic/p-8befed6f.entry.js +0 -4
  219. package/dist/ionic/p-8d3c124a.entry.js +0 -4
  220. package/dist/ionic/p-95039c8b.entry.js +0 -4
  221. package/dist/ionic/p-a212bcac.entry.js +0 -4
  222. package/dist/ionic/p-a929d40a.entry.js +0 -4
  223. package/dist/ionic/p-af4d0e38.system.entry.js +0 -4
  224. package/dist/ionic/p-b7f022cd.system.entry.js +0 -4
  225. package/dist/ionic/p-b852ead6.system.entry.js +0 -4
  226. package/dist/ionic/p-c41441ce.system.entry.js +0 -4
  227. package/dist/ionic/p-c595e718.system.entry.js +0 -4
  228. package/dist/ionic/p-caf65cd8.system.entry.js +0 -4
  229. package/dist/ionic/p-e119d90e.entry.js +0 -4
  230. package/dist/ionic/p-ebe9ec08.system.entry.js +0 -4
  231. package/dist/ionic/p-fd806579.entry.js +0 -4
  232. /package/dist/collection/components/input-password-toggle/{input-password-toggle.common.css → input-password-toggle.native.css} +0 -0
@@ -1,42 +1,3 @@
1
- /**
2
- * Convert a pixels given value into rem
3
- *
4
- * @param pixels - Value in pixels to be converted (i.e. px)
5
- * @param context (optional) - Baseline value
6
- */
7
- /**
8
- * Convert a font size to a dynamic font size.
9
- * Fonts that participate in Dynamic Type should use
10
- * dynamic font sizes.
11
- * @param size - The initial font size including the unit (i.e. px or pt)
12
- * @param unit (optional) - The unit to convert to. Use this if you want to
13
- * convert to a unit other than $baselineUnit.
14
- */
15
- /**
16
- * Convert a font size to a dynamic font size but impose
17
- * a maximum font size.
18
- * @param size - The initial font size including the unit (i.e. px or pt)
19
- * @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).
20
- * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
21
- * convert to a unit other than $baselineUnit.
22
- */
23
- /**
24
- * Convert a font size to a dynamic font size but impose
25
- * a minimum font size.
26
- * @param size - The initial font size including the unit (i.e. px or pt)
27
- * @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).
28
- * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
29
- * convert to a unit other than $baselineUnit.
30
- */
31
- /**
32
- * Convert a font size to a dynamic font size but impose
33
- * maximum and minimum font sizes.
34
- * @param size - The initial font size including the unit (i.e. px or pt)
35
- * @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).
36
- * @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).
37
- * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
38
- * convert to a unit other than $baselineUnit.
39
- */
40
1
  /**
41
2
  * A heuristic that applies CSS to tablet
42
3
  * viewports.
@@ -96,11 +57,6 @@
96
57
  overflow: hidden;
97
58
  }
98
59
 
99
- :host(.ion-color) {
100
- background: var(--ion-color-base);
101
- color: var(--ion-color-contrast);
102
- }
103
-
104
60
  .list-header-inner {
105
61
  display: flex;
106
62
  position: relative;
@@ -130,6 +86,76 @@
130
86
  --inner-border-width: 0;
131
87
  }
132
88
 
89
+ /**
90
+ * Convert a pixels given value into rem
91
+ *
92
+ * @param pixels - Value in pixels to be converted (i.e. px)
93
+ * @param context (optional) - Baseline value
94
+ */
95
+ /**
96
+ * Convert a font size to a dynamic font size.
97
+ * Fonts that participate in Dynamic Type should use
98
+ * dynamic font sizes.
99
+ * @param size - The initial font size including the unit (i.e. px or pt)
100
+ * @param unit (optional) - The unit to convert to. Use this if you want to
101
+ * convert to a unit other than $baselineUnit.
102
+ */
103
+ /**
104
+ * Convert a font size to a dynamic font size but impose
105
+ * a maximum font size.
106
+ * @param size - The initial font size including the unit (i.e. px or pt)
107
+ * @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).
108
+ * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
109
+ * convert to a unit other than $baselineUnit.
110
+ */
111
+ /**
112
+ * Convert a font size to a dynamic font size but impose
113
+ * a minimum font size.
114
+ * @param size - The initial font size including the unit (i.e. px or pt)
115
+ * @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).
116
+ * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
117
+ * convert to a unit other than $baselineUnit.
118
+ */
119
+ /**
120
+ * Convert a font size to a dynamic font size but impose
121
+ * maximum and minimum font sizes.
122
+ * @param size - The initial font size including the unit (i.e. px or pt)
123
+ * @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).
124
+ * @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).
125
+ * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
126
+ * convert to a unit other than $baselineUnit.
127
+ */
128
+ /**
129
+ * A heuristic that applies CSS to tablet
130
+ * viewports.
131
+ *
132
+ * Usage:
133
+ * @include tablet-viewport() {
134
+ * :host {
135
+ * background-color: green;
136
+ * }
137
+ * }
138
+ */
139
+ /**
140
+ * A heuristic that applies CSS to mobile
141
+ * viewports (i.e. phones, not tablets).
142
+ *
143
+ * Usage:
144
+ * @include mobile-viewport() {
145
+ * :host {
146
+ * background-color: blue;
147
+ * }
148
+ * }
149
+ */
150
+ :host {
151
+ min-height: 40px;
152
+ }
153
+
154
+ :host(.ion-color) {
155
+ background: var(--ion-color-base);
156
+ color: var(--ion-color-contrast);
157
+ }
158
+
133
159
  /**
134
160
  * Convert a pixels given value into rem
135
161
  *
@@ -173,29 +173,11 @@ ion-backdrop {
173
173
  z-index: 11;
174
174
  }
175
175
  .modal-handle::before {
176
- /**
177
- * Adds a 4px tap area to the perimeter
178
- * of the handle.
179
- */
180
- -webkit-padding-start: 4px;
181
- padding-inline-start: 4px;
182
- -webkit-padding-end: 4px;
183
- padding-inline-end: 4px;
184
- padding-top: 4px;
185
- padding-bottom: 4px;
186
176
  position: absolute;
187
177
  transform: translate(-50%, -50%);
188
178
  content: "";
189
179
  }
190
180
 
191
- /**
192
- * Ensure that the sheet modal does not
193
- * completely cover the content.
194
- */
195
- :host(.modal-sheet) {
196
- --height: calc(100% - (var(--ion-safe-area-top) + 10px));
197
- }
198
-
199
181
  :host(.modal-sheet) .modal-wrapper,
200
182
  :host(.modal-sheet) .modal-shadow {
201
183
  position: absolute;
@@ -236,10 +218,26 @@ ion-backdrop {
236
218
  height: var(--ion-scale-100, 4px);
237
219
  background-color: var(--ion-primitives-neutral-300, #e0e0e0);
238
220
  }
221
+ .modal-handle::before {
222
+ -webkit-padding-start: var(--ion-space-100, 4px);
223
+ padding-inline-start: var(--ion-space-100, 4px);
224
+ -webkit-padding-end: var(--ion-space-100, 4px);
225
+ padding-inline-end: var(--ion-space-100, 4px);
226
+ padding-top: var(--ion-space-100, 4px);
227
+ padding-bottom: var(--ion-space-100, 4px);
228
+ }
239
229
 
240
230
  :host(.modal-sheet) .modal-wrapper {
241
231
  border-start-start-radius: var(--border-radius);
242
232
  border-start-end-radius: var(--border-radius);
243
233
  border-end-end-radius: 0;
244
234
  border-end-start-radius: 0;
235
+ }
236
+
237
+ /**
238
+ * Ensure that the sheet modal does not
239
+ * completely cover the content.
240
+ */
241
+ :host(.modal-sheet) {
242
+ --height: calc(100% - (var(--ion-safe-area-top) + var(--ion-scale-250, 10px)));
245
243
  }
@@ -111,29 +111,11 @@ ion-backdrop {
111
111
  }
112
112
 
113
113
  .modal-handle::before {
114
- /**
115
- * Adds a 4px tap area to the perimeter
116
- * of the handle.
117
- */
118
- -webkit-padding-start: 4px;
119
- padding-inline-start: 4px;
120
- -webkit-padding-end: 4px;
121
- padding-inline-end: 4px;
122
- padding-top: 4px;
123
- padding-bottom: 4px;
124
114
  position: absolute;
125
115
  transform: translate(-50%, -50%);
126
116
  content: "";
127
117
  }
128
118
 
129
- /**
130
- * Ensure that the sheet modal does not
131
- * completely cover the content.
132
- */
133
- :host(.modal-sheet) {
134
- --height: calc(100% - (var(--ion-safe-area-top) + 10px));
135
- }
136
-
137
119
  :host(.modal-sheet) .modal-wrapper,
138
120
  :host(.modal-sheet) .modal-shadow {
139
121
  position: absolute;
@@ -146,6 +128,67 @@ ion-backdrop {
146
128
  width: var(--width);
147
129
  }
148
130
 
131
+ /**
132
+ * Convert a pixels given value into rem
133
+ *
134
+ * @param pixels - Value in pixels to be converted (i.e. px)
135
+ * @param context (optional) - Baseline value
136
+ */
137
+ /**
138
+ * Convert a font size to a dynamic font size.
139
+ * Fonts that participate in Dynamic Type should use
140
+ * dynamic font sizes.
141
+ * @param size - The initial font size including the unit (i.e. px or pt)
142
+ * @param unit (optional) - The unit to convert to. Use this if you want to
143
+ * convert to a unit other than $baselineUnit.
144
+ */
145
+ /**
146
+ * Convert a font size to a dynamic font size but impose
147
+ * a maximum font size.
148
+ * @param size - The initial font size including the unit (i.e. px or pt)
149
+ * @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).
150
+ * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
151
+ * convert to a unit other than $baselineUnit.
152
+ */
153
+ /**
154
+ * Convert a font size to a dynamic font size but impose
155
+ * a minimum font size.
156
+ * @param size - The initial font size including the unit (i.e. px or pt)
157
+ * @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).
158
+ * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
159
+ * convert to a unit other than $baselineUnit.
160
+ */
161
+ /**
162
+ * Convert a font size to a dynamic font size but impose
163
+ * maximum and minimum font sizes.
164
+ * @param size - The initial font size including the unit (i.e. px or pt)
165
+ * @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).
166
+ * @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).
167
+ * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
168
+ * convert to a unit other than $baselineUnit.
169
+ */
170
+ /**
171
+ * A heuristic that applies CSS to tablet
172
+ * viewports.
173
+ *
174
+ * Usage:
175
+ * @include tablet-viewport() {
176
+ * :host {
177
+ * background-color: green;
178
+ * }
179
+ * }
180
+ */
181
+ /**
182
+ * A heuristic that applies CSS to mobile
183
+ * viewports (i.e. phones, not tablets).
184
+ *
185
+ * Usage:
186
+ * @include mobile-viewport() {
187
+ * :host {
188
+ * background-color: blue;
189
+ * }
190
+ * }
191
+ */
149
192
  /**
150
193
  * Convert a pixels given value into rem
151
194
  *
@@ -240,10 +283,28 @@ ion-backdrop {
240
283
  background: var(--ion-color-step-350, var(--ion-background-color-step-350, #c0c0be));
241
284
  }
242
285
  .modal-handle::before {
286
+ /**
287
+ * Adds a 4px tap area to the perimeter
288
+ * of the handle.
289
+ */
290
+ -webkit-padding-start: 4px;
291
+ padding-inline-start: 4px;
292
+ -webkit-padding-end: 4px;
293
+ padding-inline-end: 4px;
294
+ padding-top: 4px;
295
+ padding-bottom: 4px;
243
296
  width: 36px;
244
297
  height: 5px;
245
298
  }
246
299
 
300
+ /**
301
+ * Ensure that the sheet modal does not
302
+ * completely cover the content.
303
+ */
304
+ :host(.modal-sheet) {
305
+ --height: calc(100% - (var(--ion-safe-area-top) + 10px));
306
+ }
307
+
247
308
  /**
248
309
  * Convert a pixels given value into rem
249
310
  *
@@ -111,29 +111,11 @@ ion-backdrop {
111
111
  }
112
112
 
113
113
  .modal-handle::before {
114
- /**
115
- * Adds a 4px tap area to the perimeter
116
- * of the handle.
117
- */
118
- -webkit-padding-start: 4px;
119
- padding-inline-start: 4px;
120
- -webkit-padding-end: 4px;
121
- padding-inline-end: 4px;
122
- padding-top: 4px;
123
- padding-bottom: 4px;
124
114
  position: absolute;
125
115
  transform: translate(-50%, -50%);
126
116
  content: "";
127
117
  }
128
118
 
129
- /**
130
- * Ensure that the sheet modal does not
131
- * completely cover the content.
132
- */
133
- :host(.modal-sheet) {
134
- --height: calc(100% - (var(--ion-safe-area-top) + 10px));
135
- }
136
-
137
119
  :host(.modal-sheet) .modal-wrapper,
138
120
  :host(.modal-sheet) .modal-shadow {
139
121
  position: absolute;
@@ -146,6 +128,67 @@ ion-backdrop {
146
128
  width: var(--width);
147
129
  }
148
130
 
131
+ /**
132
+ * Convert a pixels given value into rem
133
+ *
134
+ * @param pixels - Value in pixels to be converted (i.e. px)
135
+ * @param context (optional) - Baseline value
136
+ */
137
+ /**
138
+ * Convert a font size to a dynamic font size.
139
+ * Fonts that participate in Dynamic Type should use
140
+ * dynamic font sizes.
141
+ * @param size - The initial font size including the unit (i.e. px or pt)
142
+ * @param unit (optional) - The unit to convert to. Use this if you want to
143
+ * convert to a unit other than $baselineUnit.
144
+ */
145
+ /**
146
+ * Convert a font size to a dynamic font size but impose
147
+ * a maximum font size.
148
+ * @param size - The initial font size including the unit (i.e. px or pt)
149
+ * @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).
150
+ * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
151
+ * convert to a unit other than $baselineUnit.
152
+ */
153
+ /**
154
+ * Convert a font size to a dynamic font size but impose
155
+ * a minimum font size.
156
+ * @param size - The initial font size including the unit (i.e. px or pt)
157
+ * @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).
158
+ * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
159
+ * convert to a unit other than $baselineUnit.
160
+ */
161
+ /**
162
+ * Convert a font size to a dynamic font size but impose
163
+ * maximum and minimum font sizes.
164
+ * @param size - The initial font size including the unit (i.e. px or pt)
165
+ * @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).
166
+ * @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).
167
+ * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
168
+ * convert to a unit other than $baselineUnit.
169
+ */
170
+ /**
171
+ * A heuristic that applies CSS to tablet
172
+ * viewports.
173
+ *
174
+ * Usage:
175
+ * @include tablet-viewport() {
176
+ * :host {
177
+ * background-color: green;
178
+ * }
179
+ * }
180
+ */
181
+ /**
182
+ * A heuristic that applies CSS to mobile
183
+ * viewports (i.e. phones, not tablets).
184
+ *
185
+ * Usage:
186
+ * @include mobile-viewport() {
187
+ * :host {
188
+ * background-color: blue;
189
+ * }
190
+ * }
191
+ */
149
192
  /**
150
193
  * Convert a pixels given value into rem
151
194
  *
@@ -240,10 +283,28 @@ ion-backdrop {
240
283
  background: var(--ion-color-step-350, var(--ion-background-color-step-350, #c0c0be));
241
284
  }
242
285
  .modal-handle::before {
286
+ /**
287
+ * Adds a 4px tap area to the perimeter
288
+ * of the handle.
289
+ */
290
+ -webkit-padding-start: 4px;
291
+ padding-inline-start: 4px;
292
+ -webkit-padding-end: 4px;
293
+ padding-inline-end: 4px;
294
+ padding-top: 4px;
295
+ padding-bottom: 4px;
243
296
  width: 36px;
244
297
  height: 5px;
245
298
  }
246
299
 
300
+ /**
301
+ * Ensure that the sheet modal does not
302
+ * completely cover the content.
303
+ */
304
+ :host(.modal-sheet) {
305
+ --height: calc(100% - (var(--ion-safe-area-top) + 10px));
306
+ }
307
+
247
308
  /**
248
309
  * Convert a pixels given value into rem
249
310
  *
@@ -61,45 +61,6 @@ Do not edit directly, this file was auto-generated.
61
61
  * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
62
62
  * convert to a unit other than $baselineUnit.
63
63
  */
64
- /**
65
- * Convert a pixels given value into rem
66
- *
67
- * @param pixels - Value in pixels to be converted (i.e. px)
68
- * @param context (optional) - Baseline value
69
- */
70
- /**
71
- * Convert a font size to a dynamic font size.
72
- * Fonts that participate in Dynamic Type should use
73
- * dynamic font sizes.
74
- * @param size - The initial font size including the unit (i.e. px or pt)
75
- * @param unit (optional) - The unit to convert to. Use this if you want to
76
- * convert to a unit other than $baselineUnit.
77
- */
78
- /**
79
- * Convert a font size to a dynamic font size but impose
80
- * a maximum font size.
81
- * @param size - The initial font size including the unit (i.e. px or pt)
82
- * @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).
83
- * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
84
- * convert to a unit other than $baselineUnit.
85
- */
86
- /**
87
- * Convert a font size to a dynamic font size but impose
88
- * a minimum font size.
89
- * @param size - The initial font size including the unit (i.e. px or pt)
90
- * @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).
91
- * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
92
- * convert to a unit other than $baselineUnit.
93
- */
94
- /**
95
- * Convert a font size to a dynamic font size but impose
96
- * maximum and minimum font sizes.
97
- * @param size - The initial font size including the unit (i.e. px or pt)
98
- * @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).
99
- * @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).
100
- * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
101
- * convert to a unit other than $baselineUnit.
102
- */
103
64
  /**
104
65
  * A heuristic that applies CSS to tablet
105
66
  * viewports.
@@ -123,12 +84,6 @@ Do not edit directly, this file was auto-generated.
123
84
  * }
124
85
  */
125
86
  :host {
126
- /**
127
- * @prop --background: Background of the progress track, or the buffer bar if `buffer` is set
128
- * @prop --progress-background: Background of the progress bar representing the current value
129
- */
130
- --background: rgba(var(--ion-color-primary-rgb, 0, 84, 233), 0.3);
131
- --progress-background: var(--ion-color-primary, #0054e9);
132
87
  display: block;
133
88
  position: relative;
134
89
  width: 100%;
@@ -239,13 +194,9 @@ Do not edit directly, this file was auto-generated.
239
194
  animation-play-state: paused;
240
195
  }
241
196
 
242
- :host(.ion-color) .buffer-circles {
243
- background-image: radial-gradient(ellipse at center, rgba(var(--ion-color-base-rgb), 0.3) 0%, rgba(var(--ion-color-base-rgb), 0.3) 30%, transparent 30%);
244
- }
245
-
246
197
  :host(.ion-color) .progress,
247
198
  :host(.ion-color) .progress-indeterminate {
248
- background: var(--ion-color-base);
199
+ background: current-color(base);
249
200
  }
250
201
 
251
202
  @keyframes primary-indeterminate-translate {
@@ -321,6 +272,7 @@ Do not edit directly, this file was auto-generated.
321
272
  }
322
273
  :host {
323
274
  --background: var(--ion-bg-neutral-subtle-default, #efefef);
275
+ --progress-background: var(--ion-color-primary, var(--ion-bg-primary-base-default, #105cef));
324
276
  height: var(--ion-scale-100, 4px);
325
277
  }
326
278
 
@@ -330,4 +282,8 @@ Do not edit directly, this file was auto-generated.
330
282
 
331
283
  :host(.progress-bar-shape-rectangular) {
332
284
  border-radius: var(--ion-rectangular-xs, 0px);
285
+ }
286
+
287
+ :host(.ion-color) .buffer-circles {
288
+ background-image: radial-gradient(ellipse at center, rgba(var(--ion-color-base-rgb), 0.3) 0%, rgba(var(--ion-color-base-rgb), 0.3) 30%, transparent 30%);
333
289
  }
@@ -59,13 +59,29 @@
59
59
  * }
60
60
  * }
61
61
  */
62
+ /**
63
+ * A heuristic that applies CSS to tablet
64
+ * viewports.
65
+ *
66
+ * Usage:
67
+ * @include tablet-viewport() {
68
+ * :host {
69
+ * background-color: green;
70
+ * }
71
+ * }
72
+ */
73
+ /**
74
+ * A heuristic that applies CSS to mobile
75
+ * viewports (i.e. phones, not tablets).
76
+ *
77
+ * Usage:
78
+ * @include mobile-viewport() {
79
+ * :host {
80
+ * background-color: blue;
81
+ * }
82
+ * }
83
+ */
62
84
  :host {
63
- /**
64
- * @prop --background: Background of the progress track, or the buffer bar if `buffer` is set
65
- * @prop --progress-background: Background of the progress bar representing the current value
66
- */
67
- --background: rgba(var(--ion-color-primary-rgb, 0, 84, 233), 0.3);
68
- --progress-background: var(--ion-color-primary, #0054e9);
69
85
  display: block;
70
86
  position: relative;
71
87
  width: 100%;
@@ -176,10 +192,6 @@
176
192
  animation-play-state: paused;
177
193
  }
178
194
 
179
- :host(.ion-color) .buffer-circles {
180
- background-image: radial-gradient(ellipse at center, rgba(var(--ion-color-base-rgb), 0.3) 0%, rgba(var(--ion-color-base-rgb), 0.3) 30%, transparent 30%);
181
- }
182
-
183
195
  :host(.ion-color) .progress,
184
196
  :host(.ion-color) .progress-indeterminate {
185
197
  background: var(--ion-color-base);
@@ -256,6 +268,19 @@
256
268
  transform: translateX(-10px);
257
269
  }
258
270
  }
271
+ :host {
272
+ /**
273
+ * @prop --background: Background of the progress track, or the buffer bar if `buffer` is set
274
+ * @prop --progress-background: Background of the progress bar representing the current value
275
+ */
276
+ --background: rgba(var(--ion-color-primary-rgb, 0, 84, 233), 0.3);
277
+ --progress-background: var(--ion-color-primary, #0054e9);
278
+ }
279
+
280
+ :host(.ion-color) .buffer-circles {
281
+ background-image: radial-gradient(ellipse at center, rgba(var(--ion-color-base-rgb), 0.3) 0%, rgba(var(--ion-color-base-rgb), 0.3) 30%, transparent 30%);
282
+ }
283
+
259
284
  :host {
260
285
  border-radius: 9999px;
261
286
  height: 4px;
@@ -59,13 +59,29 @@
59
59
  * }
60
60
  * }
61
61
  */
62
+ /**
63
+ * A heuristic that applies CSS to tablet
64
+ * viewports.
65
+ *
66
+ * Usage:
67
+ * @include tablet-viewport() {
68
+ * :host {
69
+ * background-color: green;
70
+ * }
71
+ * }
72
+ */
73
+ /**
74
+ * A heuristic that applies CSS to mobile
75
+ * viewports (i.e. phones, not tablets).
76
+ *
77
+ * Usage:
78
+ * @include mobile-viewport() {
79
+ * :host {
80
+ * background-color: blue;
81
+ * }
82
+ * }
83
+ */
62
84
  :host {
63
- /**
64
- * @prop --background: Background of the progress track, or the buffer bar if `buffer` is set
65
- * @prop --progress-background: Background of the progress bar representing the current value
66
- */
67
- --background: rgba(var(--ion-color-primary-rgb, 0, 84, 233), 0.3);
68
- --progress-background: var(--ion-color-primary, #0054e9);
69
85
  display: block;
70
86
  position: relative;
71
87
  width: 100%;
@@ -176,10 +192,6 @@
176
192
  animation-play-state: paused;
177
193
  }
178
194
 
179
- :host(.ion-color) .buffer-circles {
180
- background-image: radial-gradient(ellipse at center, rgba(var(--ion-color-base-rgb), 0.3) 0%, rgba(var(--ion-color-base-rgb), 0.3) 30%, transparent 30%);
181
- }
182
-
183
195
  :host(.ion-color) .progress,
184
196
  :host(.ion-color) .progress-indeterminate {
185
197
  background: var(--ion-color-base);
@@ -256,6 +268,19 @@
256
268
  transform: translateX(-10px);
257
269
  }
258
270
  }
271
+ :host {
272
+ /**
273
+ * @prop --background: Background of the progress track, or the buffer bar if `buffer` is set
274
+ * @prop --progress-background: Background of the progress bar representing the current value
275
+ */
276
+ --background: rgba(var(--ion-color-primary-rgb, 0, 84, 233), 0.3);
277
+ --progress-background: var(--ion-color-primary, #0054e9);
278
+ }
279
+
280
+ :host(.ion-color) .buffer-circles {
281
+ background-image: radial-gradient(ellipse at center, rgba(var(--ion-color-base-rgb), 0.3) 0%, rgba(var(--ion-color-base-rgb), 0.3) 30%, transparent 30%);
282
+ }
283
+
259
284
  :host {
260
285
  height: 4px;
261
286
  }
@@ -429,7 +429,7 @@ Do not edit directly, this file was auto-generated.
429
429
  * margin to the bottom of the label, it provides a buffer
430
430
  * for the pin to move into when it is pressed.
431
431
  */
432
- margin-bottom: calc(var(--ion-space-200, 8px) + 0.75rem);
432
+ margin-bottom: calc(var(--ion-space-200, 8px) + var(--ion-font-size-300, 0.75rem));
433
433
  }
434
434
 
435
435
  .range-bar-active {
@@ -466,7 +466,7 @@ Do not edit directly, this file was auto-generated.
466
466
  min-width: var(--ion-scale-700, 28px);
467
467
  transform: translate3d(0, -100%, 0);
468
468
  background: transparent;
469
- font-size: 0.75rem;
469
+ font-size: var(--ion-font-size-300, 0.75rem);
470
470
  text-align: center;
471
471
  }
472
472