@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
@@ -83,39 +83,6 @@ Do not edit directly, this file was auto-generated.
83
83
  * }
84
84
  * }
85
85
  */
86
- /**
87
- * Convert a font size to a dynamic font size.
88
- * Fonts that participate in Dynamic Type should use
89
- * dynamic font sizes.
90
- * @param size - The initial font size including the unit (i.e. px or pt)
91
- * @param unit (optional) - The unit to convert 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
- * a maximum font size.
97
- * @param size - The initial font size including the unit (i.e. px or pt)
98
- * @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).
99
- * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
100
- * convert to a unit other than $baselineUnit.
101
- */
102
- /**
103
- * Convert a font size to a dynamic font size but impose
104
- * a minimum font size.
105
- * @param size - The initial font size including the unit (i.e. px or pt)
106
- * @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).
107
- * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
108
- * convert to a unit other than $baselineUnit.
109
- */
110
- /**
111
- * Convert a font size to a dynamic font size but impose
112
- * maximum and minimum font sizes.
113
- * @param size - The initial font size including the unit (i.e. px or pt)
114
- * @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).
115
- * @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% 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
86
  :host {
120
87
  /**
121
88
  * @prop --background: Background of the badge
@@ -126,10 +93,6 @@ Do not edit directly, this file was auto-generated.
126
93
  * @prop --padding-bottom: Bottom padding of the badge
127
94
  * @prop --padding-start: Left padding if direction is left-to-right, and right padding if direction is right-to-left of the badge
128
95
  */
129
- --padding-top: 3px;
130
- --padding-end: 8px;
131
- --padding-bottom: 3px;
132
- --padding-start: 8px;
133
96
  -moz-osx-font-smoothing: grayscale;
134
97
  -webkit-font-smoothing: antialiased;
135
98
  -webkit-padding-start: var(--padding-start);
@@ -139,12 +102,8 @@ Do not edit directly, this file was auto-generated.
139
102
  padding-top: var(--padding-top);
140
103
  padding-bottom: var(--padding-bottom);
141
104
  display: inline-block;
142
- min-width: 10px;
143
105
  background: var(--background);
144
106
  color: var(--color);
145
- font-size: 0.8125rem;
146
- font-weight: bold;
147
- line-height: 1;
148
107
  text-align: center;
149
108
  white-space: nowrap;
150
109
  contain: content;
@@ -171,10 +130,16 @@ Do not edit directly, this file was auto-generated.
171
130
  --padding-end: var(--ion-space-200, 8px);
172
131
  --padding-top: var(--ion-space-0, 0px);
173
132
  --padding-bottom: var(--ion-space-0, 0px);
133
+ font-size: var(--ion-font-size-300, 0.75rem);
134
+ font-weight: var(--ion-font-weight-medium, 500);
135
+ letter-spacing: var(--ion-font-letter-spacing-0, 0%);
136
+ line-height: var(--ion-font-line-height-500, 20px);
137
+ text-decoration: none;
138
+ text-transform: none;
174
139
  display: inline-flex;
175
140
  align-items: center;
176
141
  justify-content: center;
177
- font-weight: var(--ion-font-weight-medium, 500);
142
+ min-width: var(--ion-scale-250, 10px);
178
143
  }
179
144
 
180
145
  :host(.badge-bold) {
@@ -254,8 +219,6 @@ Do not edit directly, this file was auto-generated.
254
219
  --padding-end: var(--ion-space-100, 4px);
255
220
  min-width: var(--ion-scale-800, 32px);
256
221
  height: var(--ion-scale-800, 32px);
257
- font-size: var(--ion-font-size-400, 1rem);
258
- line-height: var(--ion-font-line-height-600, 24px);
259
222
  }
260
223
 
261
224
  :host(.badge-small) ::slotted(ion-icon) {
@@ -265,10 +228,14 @@ Do not edit directly, this file was auto-generated.
265
228
 
266
229
  /* Medium Badge */
267
230
  :host(.badge-medium) {
231
+ font-size: var(--ion-font-size-350, 0.875rem);
232
+ font-weight: var(--ion-font-weight-medium, 500);
233
+ letter-spacing: var(--ion-font-letter-spacing-0, 0%);
234
+ line-height: var(--ion-font-line-height-600, 24px);
235
+ text-decoration: none;
236
+ text-transform: none;
268
237
  min-width: var(--ion-scale-1000, 40px);
269
238
  height: var(--ion-scale-1000, 40px);
270
- font-size: var(--ion-font-size-450, 1.125rem);
271
- line-height: var(--ion-font-line-height-700, 28px);
272
239
  }
273
240
 
274
241
  :host(.badge-medium) ::slotted(ion-icon) {
@@ -278,10 +245,14 @@ Do not edit directly, this file was auto-generated.
278
245
 
279
246
  /* Large Badge */
280
247
  :host(.badge-large) {
248
+ font-size: var(--ion-font-size-400, 1rem);
249
+ font-weight: var(--ion-font-weight-medium, 500);
250
+ letter-spacing: var(--ion-font-letter-spacing-0, 0%);
251
+ line-height: var(--ion-font-line-height-600, 24px);
252
+ text-decoration: none;
253
+ text-transform: none;
281
254
  min-width: var(--ion-scale-1200, 48px);
282
255
  height: var(--ion-scale-1200, 48px);
283
- font-size: var(--ion-font-size-500, 1.25rem);
284
- line-height: var(--ion-font-line-height-700, 28px);
285
256
  }
286
257
 
287
258
  :host(.badge-large) ::slotted(ion-icon) {
@@ -291,10 +262,14 @@ Do not edit directly, this file was auto-generated.
291
262
 
292
263
  /* Extra Large Badge */
293
264
  :host(.badge-xlarge) {
294
- min-width: var(--ion-scale-1400, 56px);
295
- height: var(--ion-scale-1400, 56px);
296
265
  font-size: var(--ion-font-size-550, 1.375rem);
266
+ font-weight: var(--ion-font-weight-medium, 500);
267
+ letter-spacing: var(--ion-font-letter-spacing-0, 0%);
297
268
  line-height: var(--ion-font-line-height-700, 28px);
269
+ text-decoration: none;
270
+ text-transform: none;
271
+ min-width: var(--ion-scale-1400, 56px);
272
+ height: var(--ion-scale-1400, 56px);
298
273
  }
299
274
 
300
275
  :host(.badge-xlarge) ::slotted(ion-icon) {
@@ -358,10 +333,14 @@ Do not edit directly, this file was auto-generated.
358
333
  }
359
334
 
360
335
  :host(:not(:empty).in-button) {
361
- min-width: var(--ion-scale-400, 16px);
362
- height: var(--ion-scale-400, 16px);
363
336
  font-size: var(--ion-font-size-300, 0.75rem);
337
+ font-weight: var(--ion-font-weight-medium, 500);
338
+ letter-spacing: var(--ion-font-letter-spacing-1, 1%);
364
339
  line-height: var(--ion-font-line-height-500, 20px);
340
+ text-decoration: none;
341
+ text-transform: none;
342
+ min-width: var(--ion-scale-400, 16px);
343
+ height: var(--ion-scale-400, 16px);
365
344
  }
366
345
  :host(:not(:empty).in-button) ::slotted(ion-icon) {
367
346
  width: var(--ion-scale-300, 12px);
@@ -81,39 +81,6 @@
81
81
  * }
82
82
  * }
83
83
  */
84
- /**
85
- * Convert a font size to a dynamic font size.
86
- * Fonts that participate in Dynamic Type should use
87
- * dynamic font sizes.
88
- * @param size - The initial font size including the unit (i.e. px or pt)
89
- * @param unit (optional) - The unit to convert to. Use this if you want to
90
- * convert to a unit other than $baselineUnit.
91
- */
92
- /**
93
- * Convert a font size to a dynamic font size but impose
94
- * a maximum font size.
95
- * @param size - The initial font size including the unit (i.e. px or pt)
96
- * @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).
97
- * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
98
- * convert to a unit other than $baselineUnit.
99
- */
100
- /**
101
- * Convert a font size to a dynamic font size but impose
102
- * a minimum font size.
103
- * @param size - The initial font size including the unit (i.e. px or pt)
104
- * @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).
105
- * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
106
- * convert to a unit other than $baselineUnit.
107
- */
108
- /**
109
- * Convert a font size to a dynamic font size but impose
110
- * maximum and minimum font sizes.
111
- * @param size - The initial font size including the unit (i.e. px or pt)
112
- * @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).
113
- * @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).
114
- * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
115
- * convert to a unit other than $baselineUnit.
116
- */
117
84
  :host {
118
85
  /**
119
86
  * @prop --background: Background of the badge
@@ -124,10 +91,6 @@
124
91
  * @prop --padding-bottom: Bottom padding of the badge
125
92
  * @prop --padding-start: Left padding if direction is left-to-right, and right padding if direction is right-to-left of the badge
126
93
  */
127
- --padding-top: 3px;
128
- --padding-end: 8px;
129
- --padding-bottom: 3px;
130
- --padding-start: 8px;
131
94
  -moz-osx-font-smoothing: grayscale;
132
95
  -webkit-font-smoothing: antialiased;
133
96
  -webkit-padding-start: var(--padding-start);
@@ -137,12 +100,8 @@
137
100
  padding-top: var(--padding-top);
138
101
  padding-bottom: var(--padding-bottom);
139
102
  display: inline-block;
140
- min-width: 10px;
141
103
  background: var(--background);
142
104
  color: var(--color);
143
- font-size: 0.8125rem;
144
- font-weight: bold;
145
- line-height: 1;
146
105
  text-align: center;
147
106
  white-space: nowrap;
148
107
  contain: content;
@@ -204,9 +163,17 @@
204
163
  * @param context (optional) - Baseline value
205
164
  */
206
165
  :host {
166
+ --padding-top: 3px;
167
+ --padding-end: 8px;
168
+ --padding-bottom: 3px;
169
+ --padding-start: 8px;
207
170
  --background: var(--ion-color-primary, #0054e9);
208
171
  --color: var(--ion-color-primary-contrast, #fff);
172
+ min-width: 10px;
209
173
  font-family: var(--ion-font-family, inherit);
174
+ font-size: 0.8125rem;
175
+ font-weight: bold;
176
+ line-height: 1;
210
177
  }
211
178
 
212
179
  :host(.ion-color) {
@@ -81,39 +81,6 @@
81
81
  * }
82
82
  * }
83
83
  */
84
- /**
85
- * Convert a font size to a dynamic font size.
86
- * Fonts that participate in Dynamic Type should use
87
- * dynamic font sizes.
88
- * @param size - The initial font size including the unit (i.e. px or pt)
89
- * @param unit (optional) - The unit to convert to. Use this if you want to
90
- * convert to a unit other than $baselineUnit.
91
- */
92
- /**
93
- * Convert a font size to a dynamic font size but impose
94
- * a maximum font size.
95
- * @param size - The initial font size including the unit (i.e. px or pt)
96
- * @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).
97
- * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
98
- * convert to a unit other than $baselineUnit.
99
- */
100
- /**
101
- * Convert a font size to a dynamic font size but impose
102
- * a minimum font size.
103
- * @param size - The initial font size including the unit (i.e. px or pt)
104
- * @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).
105
- * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
106
- * convert to a unit other than $baselineUnit.
107
- */
108
- /**
109
- * Convert a font size to a dynamic font size but impose
110
- * maximum and minimum font sizes.
111
- * @param size - The initial font size including the unit (i.e. px or pt)
112
- * @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).
113
- * @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).
114
- * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
115
- * convert to a unit other than $baselineUnit.
116
- */
117
84
  :host {
118
85
  /**
119
86
  * @prop --background: Background of the badge
@@ -124,10 +91,6 @@
124
91
  * @prop --padding-bottom: Bottom padding of the badge
125
92
  * @prop --padding-start: Left padding if direction is left-to-right, and right padding if direction is right-to-left of the badge
126
93
  */
127
- --padding-top: 3px;
128
- --padding-end: 8px;
129
- --padding-bottom: 3px;
130
- --padding-start: 8px;
131
94
  -moz-osx-font-smoothing: grayscale;
132
95
  -webkit-font-smoothing: antialiased;
133
96
  -webkit-padding-start: var(--padding-start);
@@ -137,12 +100,8 @@
137
100
  padding-top: var(--padding-top);
138
101
  padding-bottom: var(--padding-bottom);
139
102
  display: inline-block;
140
- min-width: 10px;
141
103
  background: var(--background);
142
104
  color: var(--color);
143
- font-size: 0.8125rem;
144
- font-weight: bold;
145
- line-height: 1;
146
105
  text-align: center;
147
106
  white-space: nowrap;
148
107
  contain: content;
@@ -204,9 +163,17 @@
204
163
  * @param context (optional) - Baseline value
205
164
  */
206
165
  :host {
166
+ --padding-top: 3px;
167
+ --padding-end: 8px;
168
+ --padding-bottom: 3px;
169
+ --padding-start: 8px;
207
170
  --background: var(--ion-color-primary, #0054e9);
208
171
  --color: var(--ion-color-primary-contrast, #fff);
172
+ min-width: 10px;
209
173
  font-family: var(--ion-font-family, inherit);
174
+ font-size: 0.8125rem;
175
+ font-weight: bold;
176
+ line-height: 1;
210
177
  }
211
178
 
212
179
  :host(.ion-color) {
@@ -83,67 +83,6 @@ Do not edit directly, this file was auto-generated.
83
83
  * }
84
84
  * }
85
85
  */
86
- /**
87
- * Convert a pixels given value into rem
88
- *
89
- * @param pixels - Value in pixels to be converted (i.e. px)
90
- * @param context (optional) - Baseline value
91
- */
92
- /**
93
- * Convert a font size to a dynamic font size.
94
- * Fonts that participate in Dynamic Type should use
95
- * dynamic font sizes.
96
- * @param size - The initial font size including the unit (i.e. px or pt)
97
- * @param unit (optional) - The unit to convert to. Use this if you want to
98
- * convert to a unit other than $baselineUnit.
99
- */
100
- /**
101
- * Convert a font size to a dynamic font size but impose
102
- * a maximum font size.
103
- * @param size - The initial font size including the unit (i.e. px or pt)
104
- * @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).
105
- * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
106
- * convert to a unit other than $baselineUnit.
107
- */
108
- /**
109
- * Convert a font size to a dynamic font size but impose
110
- * a minimum font size.
111
- * @param size - The initial font size including the unit (i.e. px or pt)
112
- * @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).
113
- * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
114
- * convert to a unit other than $baselineUnit.
115
- */
116
- /**
117
- * Convert a font size to a dynamic font size but impose
118
- * maximum and minimum font sizes.
119
- * @param size - The initial font size including the unit (i.e. px or pt)
120
- * @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).
121
- * @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).
122
- * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
123
- * convert to a unit other than $baselineUnit.
124
- */
125
- /**
126
- * A heuristic that applies CSS to tablet
127
- * viewports.
128
- *
129
- * Usage:
130
- * @include tablet-viewport() {
131
- * :host {
132
- * background-color: green;
133
- * }
134
- * }
135
- */
136
- /**
137
- * A heuristic that applies CSS to mobile
138
- * viewports (i.e. phones, not tablets).
139
- *
140
- * Usage:
141
- * @include mobile-viewport() {
142
- * :host {
143
- * background-color: blue;
144
- * }
145
- * }
146
- */
147
86
  :host {
148
87
  /**
149
88
  * @prop --background: Background of the button
@@ -203,21 +142,13 @@ Do not edit directly, this file was auto-generated.
203
142
  pointer-events: none;
204
143
  }
205
144
 
206
- :host(.button-solid) {
207
- --background: var(--ion-color-primary, #0054e9);
208
- --color: var(--ion-color-primary-contrast, #fff);
209
- }
210
-
211
145
  :host(.button-outline) {
212
- --border-color: var(--ion-color-primary, #0054e9);
213
146
  --background: transparent;
214
- --color: var(--ion-color-primary, #0054e9);
215
147
  }
216
148
 
217
149
  :host(.button-clear) {
218
150
  --border-width: 0;
219
151
  --background: transparent;
220
- --color: var(--ion-color-primary, #0054e9);
221
152
  }
222
153
 
223
154
  :host(.button-block) {
@@ -412,12 +343,6 @@ ion-ripple-effect {
412
343
  }
413
344
 
414
345
  :host ::slotted(ion-badge[vertical]:not(:empty)) {
415
- -webkit-padding-start: 2px;
416
- padding-inline-start: 2px;
417
- -webkit-padding-end: 2px;
418
- padding-inline-end: 2px;
419
- padding-top: 2px;
420
- padding-bottom: 2px;
421
346
  display: flex;
422
347
  align-items: center;
423
348
  justify-content: center;
@@ -448,11 +373,17 @@ ion-ripple-effect {
448
373
  z-index: 1;
449
374
  }
450
375
 
376
+ :host(.button-clear) {
377
+ --color: var(--ion-color-primary-foreground, var(--ion-text-primary, #0d4bc3));
378
+ }
379
+
451
380
  :host(.button-solid) {
452
381
  --background-activated: var(--ion-color-primary-shade, var(--ion-bg-primary-base-press, #0d4bc3));
453
382
  --background-hover: var(--ion-color-primary-shade, var(--ion-bg-primary-base-press, #0d4bc3));
454
383
  --background-focused: transparent;
455
384
  --background-hover-opacity: 1;
385
+ --background: var(--ion-color-primary, var(--ion-bg-primary-base-default, #105cef));
386
+ --color: var(--ion-color-primary-contrast, var(--ion-text-inverse, #ffffff));
456
387
  --ripple-opacity: var(--background-activated-opacity, 1);
457
388
  --ripple-color: var(--background-activated);
458
389
  }
@@ -464,6 +395,8 @@ ion-ripple-effect {
464
395
  --background-focused: transparent;
465
396
  --background-hover: var(--ion-bg-neutral-subtlest-press, #efefef);
466
397
  --background-hover-opacity: 1;
398
+ --border-color: var(--ion-color-primary, var(--ion-bg-primary-base-default, #105cef));
399
+ --color: var(--ion-color-primary, var(--ion-bg-primary-base-default, #105cef));
467
400
  --ripple-opacity: var(--background-activated-opacity, 1);
468
401
  --ripple-color: var(--background-activated);
469
402
  }
@@ -473,6 +406,7 @@ ion-ripple-effect {
473
406
  --background-focused: transparent;
474
407
  --background-hover: var(--ion-bg-neutral-subtlest-press, #efefef);
475
408
  --background-hover-opacity: 1;
409
+ --color: var(--ion-color-primary-foreground, var(--ion-text-primary, #0d4bc3));
476
410
  --ripple-opacity: var(--background-activated-opacity, 1);
477
411
  --ripple-color: var(--background-activated);
478
412
  }
@@ -598,8 +532,17 @@ ion-ripple-effect {
598
532
  background: var(--ion-color-shade);
599
533
  }
600
534
  }
601
- :host(.button-disabled) {
602
- opacity: 0.6;
535
+ :host(.button-disabled) .button-native::after {
536
+ right: 0;
537
+ left: 0;
538
+ top: 0;
539
+ bottom: 0;
540
+ position: absolute;
541
+ background-color: var(--ion-state-disabled, rgba(255, 255, 255, 0.6));
542
+ content: "";
543
+ pointer-events: none;
544
+ width: inherit;
545
+ height: inherit;
603
546
  }
604
547
 
605
548
  ::slotted(ion-icon) {
@@ -648,4 +591,13 @@ ion-ripple-effect {
648
591
  :host(.button-xlarge) ::slotted(ion-spinner[slot=end]) {
649
592
  -webkit-margin-start: var(--ion-space-300, 12px);
650
593
  margin-inline-start: var(--ion-space-300, 12px);
594
+ }
595
+
596
+ :host ::slotted(ion-badge[vertical]:not(:empty)) {
597
+ -webkit-padding-start: var(--ion-space-050, 2px);
598
+ padding-inline-start: var(--ion-space-050, 2px);
599
+ -webkit-padding-end: var(--ion-space-050, 2px);
600
+ padding-inline-end: var(--ion-space-050, 2px);
601
+ padding-top: var(--ion-space-050, 2px);
602
+ padding-bottom: var(--ion-space-050, 2px);
651
603
  }
@@ -81,67 +81,6 @@
81
81
  * }
82
82
  * }
83
83
  */
84
- /**
85
- * Convert a pixels given value into rem
86
- *
87
- * @param pixels - Value in pixels to be converted (i.e. px)
88
- * @param context (optional) - Baseline value
89
- */
90
- /**
91
- * Convert a font size to a dynamic font size.
92
- * Fonts that participate in Dynamic Type should use
93
- * dynamic font sizes.
94
- * @param size - The initial font size including the unit (i.e. px or pt)
95
- * @param unit (optional) - The unit to convert to. Use this if you want to
96
- * convert to a unit other than $baselineUnit.
97
- */
98
- /**
99
- * Convert a font size to a dynamic font size but impose
100
- * a maximum font size.
101
- * @param size - The initial font size including the unit (i.e. px or pt)
102
- * @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).
103
- * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
104
- * convert to a unit other than $baselineUnit.
105
- */
106
- /**
107
- * Convert a font size to a dynamic font size but impose
108
- * a minimum font size.
109
- * @param size - The initial font size including the unit (i.e. px or pt)
110
- * @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).
111
- * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
112
- * convert to a unit other than $baselineUnit.
113
- */
114
- /**
115
- * Convert a font size to a dynamic font size but impose
116
- * maximum and minimum font sizes.
117
- * @param size - The initial font size including the unit (i.e. px or pt)
118
- * @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).
119
- * @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).
120
- * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
121
- * convert to a unit other than $baselineUnit.
122
- */
123
- /**
124
- * A heuristic that applies CSS to tablet
125
- * viewports.
126
- *
127
- * Usage:
128
- * @include tablet-viewport() {
129
- * :host {
130
- * background-color: green;
131
- * }
132
- * }
133
- */
134
- /**
135
- * A heuristic that applies CSS to mobile
136
- * viewports (i.e. phones, not tablets).
137
- *
138
- * Usage:
139
- * @include mobile-viewport() {
140
- * :host {
141
- * background-color: blue;
142
- * }
143
- * }
144
- */
145
84
  :host {
146
85
  /**
147
86
  * @prop --background: Background of the button
@@ -201,21 +140,13 @@
201
140
  pointer-events: none;
202
141
  }
203
142
 
204
- :host(.button-solid) {
205
- --background: var(--ion-color-primary, #0054e9);
206
- --color: var(--ion-color-primary-contrast, #fff);
207
- }
208
-
209
143
  :host(.button-outline) {
210
- --border-color: var(--ion-color-primary, #0054e9);
211
144
  --background: transparent;
212
- --color: var(--ion-color-primary, #0054e9);
213
145
  }
214
146
 
215
147
  :host(.button-clear) {
216
148
  --border-width: 0;
217
149
  --background: transparent;
218
- --color: var(--ion-color-primary, #0054e9);
219
150
  }
220
151
 
221
152
  :host(.button-block) {
@@ -410,12 +341,6 @@ ion-ripple-effect {
410
341
  }
411
342
 
412
343
  :host ::slotted(ion-badge[vertical]:not(:empty)) {
413
- -webkit-padding-start: 2px;
414
- padding-inline-start: 2px;
415
- -webkit-padding-end: 2px;
416
- padding-inline-end: 2px;
417
- padding-top: 2px;
418
- padding-bottom: 2px;
419
344
  display: flex;
420
345
  align-items: center;
421
346
  justify-content: center;
@@ -425,6 +350,20 @@ ion-ripple-effect {
425
350
  font-family: var(--ion-font-family, inherit);
426
351
  }
427
352
 
353
+ :host(.button-solid) {
354
+ --background: var(--ion-color-primary, #0054e9);
355
+ --color: var(--ion-color-primary-contrast, #fff);
356
+ }
357
+
358
+ :host(.button-outline) {
359
+ --border-color: var(--ion-color-primary, #0054e9);
360
+ --color: var(--ion-color-primary, #0054e9);
361
+ }
362
+
363
+ :host(.button-clear) {
364
+ --color: var(--ion-color-primary, #0054e9);
365
+ }
366
+
428
367
  ::slotted(ion-icon) {
429
368
  font-size: 1.35em;
430
369
  }
@@ -451,6 +390,15 @@ ion-ripple-effect {
451
390
  position: fixed;
452
391
  }
453
392
 
393
+ :host ::slotted(ion-badge[vertical]:not(:empty)) {
394
+ -webkit-padding-start: 2px;
395
+ padding-inline-start: 2px;
396
+ -webkit-padding-end: 2px;
397
+ padding-inline-end: 2px;
398
+ padding-top: 2px;
399
+ padding-bottom: 2px;
400
+ }
401
+
454
402
  /**
455
403
  * Convert a pixels given value into rem
456
404
  *