@ionic/core 8.5.5-dev.11744821352.11e7a84f → 8.5.5-dev.11746020351.1d3165fc
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/backdrop.js +3 -3
- package/components/button.js +3 -3
- package/components/ion-accordion-group.js +1 -1
- package/components/ion-accordion.js +1 -1
- package/components/ion-avatar.js +1 -1
- package/components/ion-badge.js +3 -3
- package/components/ion-chip.js +1 -1
- package/components/ion-input-password-toggle.js +5 -5
- package/components/ion-input.js +1 -1
- package/components/ion-item-option.js +3 -3
- package/components/ion-item-options.js +3 -3
- package/components/ion-progress-bar.js +3 -3
- package/components/ion-range.js +1 -1
- package/components/ion-searchbar.js +1 -1
- package/components/ion-select.js +3 -3
- package/components/ion-tab-button.js +3 -3
- package/components/ion-textarea.js +3 -3
- package/components/ion-toast.js +3 -3
- package/components/ion-toggle.js +3 -3
- package/components/item.js +1 -1
- package/components/list-header.js +3 -3
- package/components/modal.js +3 -3
- package/components/ripple-effect.js +1 -1
- package/components/spinner.js +5 -5
- package/css/core.css.map +1 -1
- package/css/ionic.bundle.css.map +1 -1
- package/dist/cjs/ion-accordion_2.cjs.entry.js +2 -2
- package/dist/cjs/ion-avatar_3.cjs.entry.js +4 -4
- package/dist/cjs/ion-backdrop.cjs.entry.js +3 -3
- package/dist/cjs/ion-button_2.cjs.entry.js +3 -3
- package/dist/cjs/ion-chip.cjs.entry.js +1 -1
- package/dist/cjs/ion-input-password-toggle.cjs.entry.js +5 -5
- package/dist/cjs/ion-input.cjs.entry.js +1 -1
- package/dist/cjs/ion-item-option_3.cjs.entry.js +6 -6
- package/dist/cjs/ion-item_8.cjs.entry.js +4 -4
- package/dist/cjs/ion-modal.cjs.entry.js +3 -3
- package/dist/cjs/ion-progress-bar.cjs.entry.js +3 -3
- package/dist/cjs/ion-range.cjs.entry.js +1 -1
- package/dist/cjs/ion-ripple-effect.cjs.entry.js +1 -1
- package/dist/cjs/ion-searchbar.cjs.entry.js +1 -1
- package/dist/cjs/ion-select_3.cjs.entry.js +3 -3
- package/dist/cjs/ion-spinner.cjs.entry.js +5 -5
- package/dist/cjs/ion-tab-bar_2.cjs.entry.js +3 -3
- package/dist/cjs/ion-textarea.cjs.entry.js +3 -3
- package/dist/cjs/ion-toast.cjs.entry.js +3 -3
- package/dist/cjs/ion-toggle.cjs.entry.js +3 -3
- package/dist/collection/components/accordion/accordion.ionic.css +5 -5
- package/dist/collection/components/accordion-group/accordion-group.ionic.css +2 -2
- package/dist/collection/components/avatar/avatar.ionic.css +38 -52
- package/dist/collection/components/avatar/avatar.ios.css +0 -39
- package/dist/collection/components/avatar/avatar.md.css +0 -39
- package/dist/collection/components/backdrop/backdrop.ionic.css +1 -40
- package/dist/collection/components/backdrop/backdrop.ios.css +44 -19
- package/dist/collection/components/backdrop/backdrop.md.css +44 -19
- package/dist/collection/components/badge/badge.ionic.css +31 -52
- package/dist/collection/components/badge/badge.ios.css +8 -41
- package/dist/collection/components/badge/badge.md.css +8 -41
- package/dist/collection/components/button/button.ionic.css +29 -77
- package/dist/collection/components/button/button.ios.css +23 -75
- package/dist/collection/components/button/button.md.css +23 -75
- package/dist/collection/components/chip/chip.ionic.css +17 -6
- package/dist/collection/components/input/input.ionic.css +21 -83
- package/dist/collection/components/input/input.md.css +0 -122
- package/dist/collection/components/input-password-toggle/input-password-toggle.ionic.css +1 -62
- package/dist/collection/components/input-password-toggle/input-password-toggle.js +4 -4
- package/dist/collection/components/item/item.ionic.css +9 -4
- package/dist/collection/components/item-option/item-option.ionic.css +16 -3
- package/dist/collection/components/item-option/item-option.ios.css +4 -1
- package/dist/collection/components/item-option/item-option.md.css +4 -1
- package/dist/collection/components/item-options/item-options.ionic.css +4 -40
- package/dist/collection/components/item-options/item-options.ios.css +65 -40
- package/dist/collection/components/item-options/item-options.md.css +65 -40
- package/dist/collection/components/list/list.ionic.css +22 -0
- package/dist/collection/components/list/list.ios.css +36 -14
- package/dist/collection/components/list/list.md.css +36 -14
- package/dist/collection/components/list-header/list-header.ionic.css +6 -50
- package/dist/collection/components/list-header/list-header.ios.css +70 -44
- package/dist/collection/components/list-header/list-header.md.css +70 -44
- package/dist/collection/components/modal/modal.ionic.css +18 -20
- package/dist/collection/components/modal/modal.ios.css +79 -18
- package/dist/collection/components/modal/modal.md.css +79 -18
- package/dist/collection/components/progress-bar/progress-bar.ionic.css +6 -50
- package/dist/collection/components/progress-bar/progress-bar.ios.css +35 -10
- package/dist/collection/components/progress-bar/progress-bar.md.css +35 -10
- package/dist/collection/components/range/range.ionic.css +2 -2
- package/dist/collection/components/ripple-effect/ripple-effect.ionic.css +64 -1
- package/dist/collection/components/searchbar/searchbar.ionic.css +3 -3
- package/dist/collection/components/select/select.ionic.css +46 -112
- package/dist/collection/components/select/select.ios.css +109 -103
- package/dist/collection/components/select/select.md.css +109 -103
- package/dist/collection/components/spinner/spinner.ionic.css +12 -10
- package/dist/collection/components/spinner/spinner.js +4 -4
- package/dist/collection/components/spinner/{spinner.common.css → spinner.native.css} +9 -10
- package/dist/collection/components/tab-button/tab-button.ionic.css +19 -8
- package/dist/collection/components/tab-button/tab-button.ios.css +5 -5
- package/dist/collection/components/tab-button/tab-button.md.css +5 -5
- package/dist/collection/components/textarea/textarea.ionic.css +39 -88
- package/dist/collection/components/textarea/textarea.ios.css +115 -88
- package/dist/collection/components/textarea/textarea.md.css +115 -88
- package/dist/collection/components/toast/toast.ionic.css +2 -12
- package/dist/collection/components/toast/toast.ios.css +10 -10
- package/dist/collection/components/toast/toast.md.css +10 -10
- package/dist/collection/components/toggle/toggle.ionic.css +0 -4
- package/dist/collection/components/toggle/toggle.ios.css +4 -4
- package/dist/collection/components/toggle/toggle.md.css +4 -4
- package/dist/docs.json +1 -13
- package/dist/esm/ion-accordion_2.entry.js +2 -2
- package/dist/esm/ion-avatar_3.entry.js +4 -4
- package/dist/esm/ion-backdrop.entry.js +3 -3
- package/dist/esm/ion-button_2.entry.js +3 -3
- package/dist/esm/ion-chip.entry.js +1 -1
- package/dist/esm/ion-input-password-toggle.entry.js +5 -5
- package/dist/esm/ion-input.entry.js +1 -1
- package/dist/esm/ion-item-option_3.entry.js +6 -6
- package/dist/esm/ion-item_8.entry.js +4 -4
- package/dist/esm/ion-modal.entry.js +3 -3
- package/dist/esm/ion-progress-bar.entry.js +3 -3
- package/dist/esm/ion-range.entry.js +1 -1
- package/dist/esm/ion-ripple-effect.entry.js +1 -1
- package/dist/esm/ion-searchbar.entry.js +1 -1
- package/dist/esm/ion-select_3.entry.js +3 -3
- package/dist/esm/ion-spinner.entry.js +5 -5
- package/dist/esm/ion-tab-bar_2.entry.js +3 -3
- package/dist/esm/ion-textarea.entry.js +3 -3
- package/dist/esm/ion-toast.entry.js +3 -3
- package/dist/esm/ion-toggle.entry.js +3 -3
- package/dist/esm-es5/ion-accordion_2.entry.js +1 -1
- package/dist/esm-es5/ion-avatar_3.entry.js +1 -1
- package/dist/esm-es5/ion-backdrop.entry.js +1 -1
- package/dist/esm-es5/ion-button_2.entry.js +1 -1
- package/dist/esm-es5/ion-chip.entry.js +1 -1
- package/dist/esm-es5/ion-input-password-toggle.entry.js +1 -1
- package/dist/esm-es5/ion-input.entry.js +1 -1
- package/dist/esm-es5/ion-item-option_3.entry.js +1 -1
- package/dist/esm-es5/ion-item_8.entry.js +1 -1
- package/dist/esm-es5/ion-modal.entry.js +1 -1
- package/dist/esm-es5/ion-progress-bar.entry.js +1 -1
- package/dist/esm-es5/ion-range.entry.js +1 -1
- package/dist/esm-es5/ion-ripple-effect.entry.js +1 -1
- package/dist/esm-es5/ion-searchbar.entry.js +1 -1
- package/dist/esm-es5/ion-select_3.entry.js +1 -1
- package/dist/esm-es5/ion-spinner.entry.js +1 -1
- package/dist/esm-es5/ion-tab-bar_2.entry.js +1 -1
- package/dist/esm-es5/ion-textarea.entry.js +1 -1
- package/dist/esm-es5/ion-toast.entry.js +1 -1
- package/dist/esm-es5/ion-toggle.entry.js +1 -1
- package/dist/ionic/ionic.esm.js +1 -1
- package/dist/ionic/{p-2d1ea225.entry.js → p-09072d3b.entry.js} +1 -1
- package/dist/ionic/p-0d297574.system.entry.js +4 -0
- package/dist/ionic/p-246e6dc5.entry.js +4 -0
- package/dist/ionic/p-25679df9.system.entry.js +4 -0
- package/dist/ionic/p-259dcfa3.entry.js +4 -0
- package/dist/ionic/p-2d8cc8b4.entry.js +4 -0
- package/dist/ionic/p-350e4850.system.entry.js +4 -0
- package/dist/ionic/p-3533c471.system.entry.js +4 -0
- package/dist/ionic/p-3824cffd.entry.js +4 -0
- package/dist/ionic/p-3b98dd61.system.entry.js +4 -0
- package/dist/ionic/{p-0407e81b.entry.js → p-3e161a46.entry.js} +1 -1
- package/dist/ionic/p-436bfcc9.system.entry.js +4 -0
- package/dist/ionic/p-43d6a02c.system.entry.js +4 -0
- package/dist/ionic/p-44b1fefc.entry.js +4 -0
- package/dist/ionic/p-4a767053.entry.js +4 -0
- package/dist/ionic/p-7c6f71eb.entry.js +4 -0
- package/dist/ionic/p-8402b59e.system.entry.js +4 -0
- package/dist/ionic/p-840f1c59.entry.js +4 -0
- package/dist/ionic/p-84ac0a34.system.entry.js +4 -0
- package/dist/ionic/p-85c7c591.system.entry.js +4 -0
- package/dist/ionic/{p-1d8a608c.entry.js → p-88aa79f6.entry.js} +1 -1
- package/dist/ionic/p-940bc10a.system.entry.js +4 -0
- package/dist/ionic/{p-1091cdb9.entry.js → p-9d513c26.entry.js} +1 -1
- package/dist/ionic/{p-f724434e.system.entry.js → p-a1d0ee0b.system.entry.js} +1 -1
- package/dist/ionic/p-a569fc14.system.entry.js +4 -0
- package/dist/ionic/p-a6a71315.entry.js +4 -0
- package/dist/ionic/p-aba2d55f.system.entry.js +4 -0
- package/dist/ionic/p-b79a47ba.entry.js +4 -0
- package/dist/ionic/p-ba992f31.system.entry.js +4 -0
- package/dist/ionic/p-c0b7f342.entry.js +4 -0
- package/dist/ionic/p-c18ffa8b.entry.js +4 -0
- package/dist/ionic/p-c1e7dbd4.system.entry.js +4 -0
- package/dist/ionic/p-c847b24b.system.entry.js +4 -0
- package/dist/ionic/{p-30c3101d.entry.js → p-c9481069.entry.js} +1 -1
- package/dist/ionic/p-d2314315.system.entry.js +4 -0
- package/dist/ionic/p-db8ffacb.system.js +1 -1
- package/dist/ionic/p-dfb63dc2.system.entry.js +4 -0
- package/dist/ionic/p-e09bb245.system.entry.js +4 -0
- package/dist/ionic/p-f6a03670.entry.js +4 -0
- package/dist/ionic/p-fb3ce1f1.entry.js +4 -0
- package/dist/ionic/p-fec23a6f.entry.js +4 -0
- package/hydrate/index.js +58 -58
- package/hydrate/index.mjs +58 -58
- package/package.json +1 -1
- package/dist/ionic/p-049c8d2a.entry.js +0 -4
- package/dist/ionic/p-106d1261.system.entry.js +0 -4
- package/dist/ionic/p-14405618.system.entry.js +0 -4
- package/dist/ionic/p-226163dd.system.entry.js +0 -4
- package/dist/ionic/p-25de2d08.entry.js +0 -4
- package/dist/ionic/p-36ac0bd0.system.entry.js +0 -4
- package/dist/ionic/p-36e022e5.system.entry.js +0 -4
- package/dist/ionic/p-4bad1784.system.entry.js +0 -4
- package/dist/ionic/p-4c3e0fde.system.entry.js +0 -4
- package/dist/ionic/p-4e5e464b.entry.js +0 -4
- package/dist/ionic/p-4eab42bc.entry.js +0 -4
- package/dist/ionic/p-4ee9dc7a.entry.js +0 -4
- package/dist/ionic/p-519dbeb4.entry.js +0 -4
- package/dist/ionic/p-537e7cdc.system.entry.js +0 -4
- package/dist/ionic/p-5396aa22.system.entry.js +0 -4
- package/dist/ionic/p-65c2b2b1.entry.js +0 -4
- package/dist/ionic/p-660800ad.entry.js +0 -4
- package/dist/ionic/p-7c2fc007.system.entry.js +0 -4
- package/dist/ionic/p-7f74d4fc.system.entry.js +0 -4
- package/dist/ionic/p-895adf4d.system.entry.js +0 -4
- package/dist/ionic/p-8befed6f.entry.js +0 -4
- package/dist/ionic/p-8d3c124a.entry.js +0 -4
- package/dist/ionic/p-95039c8b.entry.js +0 -4
- package/dist/ionic/p-a212bcac.entry.js +0 -4
- package/dist/ionic/p-a929d40a.entry.js +0 -4
- package/dist/ionic/p-af4d0e38.system.entry.js +0 -4
- package/dist/ionic/p-b7f022cd.system.entry.js +0 -4
- package/dist/ionic/p-b852ead6.system.entry.js +0 -4
- package/dist/ionic/p-c41441ce.system.entry.js +0 -4
- package/dist/ionic/p-c595e718.system.entry.js +0 -4
- package/dist/ionic/p-caf65cd8.system.entry.js +0 -4
- package/dist/ionic/p-e119d90e.entry.js +0 -4
- package/dist/ionic/p-ebe9ec08.system.entry.js +0 -4
- package/dist/ionic/p-fd806579.entry.js +0 -4
- /package/dist/collection/components/input-password-toggle/{input-password-toggle.common.css → input-password-toggle.native.css} +0 -0
|
@@ -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 select
|
|
@@ -185,7 +124,6 @@
|
|
|
185
124
|
display: block;
|
|
186
125
|
position: relative;
|
|
187
126
|
width: 100%;
|
|
188
|
-
min-height: 44px;
|
|
189
127
|
white-space: nowrap;
|
|
190
128
|
cursor: pointer;
|
|
191
129
|
}
|
|
@@ -202,10 +140,6 @@
|
|
|
202
140
|
pointer-events: none;
|
|
203
141
|
}
|
|
204
142
|
|
|
205
|
-
:host(.ion-focused) button {
|
|
206
|
-
border: 2px solid #5e9ed6;
|
|
207
|
-
}
|
|
208
|
-
|
|
209
143
|
/**
|
|
210
144
|
* Select can be slotted
|
|
211
145
|
* in components such as item and
|
|
@@ -278,7 +212,6 @@ button {
|
|
|
278
212
|
|
|
279
213
|
.select-text {
|
|
280
214
|
flex: 1;
|
|
281
|
-
min-width: 16px;
|
|
282
215
|
font-size: inherit;
|
|
283
216
|
text-overflow: ellipsis;
|
|
284
217
|
white-space: inherit;
|
|
@@ -306,15 +239,6 @@ button {
|
|
|
306
239
|
box-sizing: border-box;
|
|
307
240
|
}
|
|
308
241
|
|
|
309
|
-
.select-wrapper .select-placeholder {
|
|
310
|
-
/**
|
|
311
|
-
* When the floating label appears on top of the
|
|
312
|
-
* select, we need to fade the text out so that the
|
|
313
|
-
* label does not overlap with the placeholder.
|
|
314
|
-
*/
|
|
315
|
-
transition: opacity 150ms cubic-bezier(0.4, 0, 0.2, 1);
|
|
316
|
-
}
|
|
317
|
-
|
|
318
242
|
.select-wrapper-inner {
|
|
319
243
|
display: flex;
|
|
320
244
|
align-items: center;
|
|
@@ -391,16 +315,6 @@ button {
|
|
|
391
315
|
*/
|
|
392
316
|
display: flex;
|
|
393
317
|
align-items: center;
|
|
394
|
-
/**
|
|
395
|
-
* Label text should not extend
|
|
396
|
-
* beyond the bounds of the select.
|
|
397
|
-
* However, we do not set the max
|
|
398
|
-
* width to 100% because then
|
|
399
|
-
* only the label would show and users
|
|
400
|
-
* would not be able to see what they are typing.
|
|
401
|
-
*/
|
|
402
|
-
max-width: 200px;
|
|
403
|
-
transition: color 150ms cubic-bezier(0.4, 0, 0.2, 1), transform 150ms cubic-bezier(0.4, 0, 0.2, 1);
|
|
404
318
|
/**
|
|
405
319
|
* This ensures that double tapping this text
|
|
406
320
|
* clicks the <label> and focuses the input
|
|
@@ -442,12 +356,6 @@ button {
|
|
|
442
356
|
.native-wrapper {
|
|
443
357
|
display: flex;
|
|
444
358
|
align-items: center;
|
|
445
|
-
/**
|
|
446
|
-
* When the floating label appears on top of the
|
|
447
|
-
* input, we need to fade the input out so that the
|
|
448
|
-
* label does not overlap with the placeholder.
|
|
449
|
-
*/
|
|
450
|
-
transition: opacity 150ms cubic-bezier(0.4, 0, 0.2, 1);
|
|
451
359
|
/**
|
|
452
360
|
* This ensures that the .select-text gets
|
|
453
361
|
* truncated with ellipses when the text is
|
|
@@ -484,17 +392,6 @@ button {
|
|
|
484
392
|
flex-direction: row-reverse;
|
|
485
393
|
}
|
|
486
394
|
|
|
487
|
-
/**
|
|
488
|
-
* Label is on the left of the select in LTR and
|
|
489
|
-
* on the right in RTL. Label also has a fixed width.
|
|
490
|
-
*/
|
|
491
|
-
:host(.select-label-placement-fixed) .label-text-wrapper {
|
|
492
|
-
flex: 0 0 100px;
|
|
493
|
-
width: 100px;
|
|
494
|
-
min-width: 100px;
|
|
495
|
-
max-width: 200px;
|
|
496
|
-
}
|
|
497
|
-
|
|
498
395
|
/**
|
|
499
396
|
* Stacked: Label sits above the select and is scaled down.
|
|
500
397
|
* Floating: Label sits over the select when the select has no
|
|
@@ -585,12 +482,78 @@ button {
|
|
|
585
482
|
margin-inline-end: 0;
|
|
586
483
|
}
|
|
587
484
|
|
|
485
|
+
/**
|
|
486
|
+
* Convert a pixels given value into rem
|
|
487
|
+
*
|
|
488
|
+
* @param pixels - Value in pixels to be converted (i.e. px)
|
|
489
|
+
* @param context (optional) - Baseline value
|
|
490
|
+
*/
|
|
491
|
+
/**
|
|
492
|
+
* Convert a font size to a dynamic font size.
|
|
493
|
+
* Fonts that participate in Dynamic Type should use
|
|
494
|
+
* dynamic font sizes.
|
|
495
|
+
* @param size - The initial font size including the unit (i.e. px or pt)
|
|
496
|
+
* @param unit (optional) - The unit to convert to. Use this if you want to
|
|
497
|
+
* convert to a unit other than $baselineUnit.
|
|
498
|
+
*/
|
|
499
|
+
/**
|
|
500
|
+
* Convert a font size to a dynamic font size but impose
|
|
501
|
+
* a maximum font size.
|
|
502
|
+
* @param size - The initial font size including the unit (i.e. px or pt)
|
|
503
|
+
* @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).
|
|
504
|
+
* @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
|
|
505
|
+
* convert to a unit other than $baselineUnit.
|
|
506
|
+
*/
|
|
507
|
+
/**
|
|
508
|
+
* Convert a font size to a dynamic font size but impose
|
|
509
|
+
* a minimum font size.
|
|
510
|
+
* @param size - The initial font size including the unit (i.e. px or pt)
|
|
511
|
+
* @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).
|
|
512
|
+
* @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
|
|
513
|
+
* convert to a unit other than $baselineUnit.
|
|
514
|
+
*/
|
|
515
|
+
/**
|
|
516
|
+
* Convert a font size to a dynamic font size but impose
|
|
517
|
+
* maximum and minimum font sizes.
|
|
518
|
+
* @param size - The initial font size including the unit (i.e. px or pt)
|
|
519
|
+
* @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).
|
|
520
|
+
* @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).
|
|
521
|
+
* @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
|
|
522
|
+
* convert to a unit other than $baselineUnit.
|
|
523
|
+
*/
|
|
524
|
+
/**
|
|
525
|
+
* A heuristic that applies CSS to tablet
|
|
526
|
+
* viewports.
|
|
527
|
+
*
|
|
528
|
+
* Usage:
|
|
529
|
+
* @include tablet-viewport() {
|
|
530
|
+
* :host {
|
|
531
|
+
* background-color: green;
|
|
532
|
+
* }
|
|
533
|
+
* }
|
|
534
|
+
*/
|
|
535
|
+
/**
|
|
536
|
+
* A heuristic that applies CSS to mobile
|
|
537
|
+
* viewports (i.e. phones, not tablets).
|
|
538
|
+
*
|
|
539
|
+
* Usage:
|
|
540
|
+
* @include mobile-viewport() {
|
|
541
|
+
* :host {
|
|
542
|
+
* background-color: blue;
|
|
543
|
+
* }
|
|
544
|
+
* }
|
|
545
|
+
*/
|
|
588
546
|
:host {
|
|
589
547
|
--placeholder-opacity: var(--ion-placeholder-opacity, 0.6);
|
|
548
|
+
min-height: 44px;
|
|
590
549
|
font-family: var(--ion-font-family, inherit);
|
|
591
550
|
z-index: 2;
|
|
592
551
|
}
|
|
593
552
|
|
|
553
|
+
:host(.ion-focused) button {
|
|
554
|
+
border: 2px solid #5e9ed6;
|
|
555
|
+
}
|
|
556
|
+
|
|
594
557
|
.select-icon {
|
|
595
558
|
-webkit-margin-start: 4px;
|
|
596
559
|
margin-inline-start: 4px;
|
|
@@ -622,6 +585,15 @@ button {
|
|
|
622
585
|
border-radius: var(--border-radius);
|
|
623
586
|
}
|
|
624
587
|
|
|
588
|
+
.select-wrapper .select-placeholder {
|
|
589
|
+
/**
|
|
590
|
+
* When the floating label appears on top of the
|
|
591
|
+
* select, we need to fade the text out so that the
|
|
592
|
+
* label does not overlap with the placeholder.
|
|
593
|
+
*/
|
|
594
|
+
transition: opacity 150ms cubic-bezier(0.4, 0, 0.2, 1);
|
|
595
|
+
}
|
|
596
|
+
|
|
625
597
|
.select-bottom {
|
|
626
598
|
/**
|
|
627
599
|
* The bottom content should take on the start and end
|
|
@@ -641,6 +613,23 @@ button {
|
|
|
641
613
|
color: var(--ion-color-step-700, var(--ion-text-color-step-300, #4d4d4d));
|
|
642
614
|
}
|
|
643
615
|
|
|
616
|
+
.select-text {
|
|
617
|
+
min-width: 16px;
|
|
618
|
+
}
|
|
619
|
+
|
|
620
|
+
.label-text-wrapper {
|
|
621
|
+
/**
|
|
622
|
+
* Label text should not extend
|
|
623
|
+
* beyond the bounds of the select.
|
|
624
|
+
* However, we do not set the max
|
|
625
|
+
* width to 100% because then
|
|
626
|
+
* only the label would show and users
|
|
627
|
+
* would not be able to see what they are typing.
|
|
628
|
+
*/
|
|
629
|
+
max-width: 200px;
|
|
630
|
+
transition: color 150ms cubic-bezier(0.4, 0, 0.2, 1), transform 150ms cubic-bezier(0.4, 0, 0.2, 1);
|
|
631
|
+
}
|
|
632
|
+
|
|
644
633
|
:host(.select-label-placement-start) .label-text-wrapper {
|
|
645
634
|
/**
|
|
646
635
|
* The margin between the label and
|
|
@@ -681,6 +670,14 @@ button {
|
|
|
681
670
|
margin-inline-end: 16px;
|
|
682
671
|
margin-top: 0;
|
|
683
672
|
margin-bottom: 0;
|
|
673
|
+
/**
|
|
674
|
+
* Label is on the left of the select in LTR and
|
|
675
|
+
* on the right in RTL. Label also has a fixed width.
|
|
676
|
+
*/
|
|
677
|
+
flex: 0 0 100px;
|
|
678
|
+
width: 100px;
|
|
679
|
+
min-width: 100px;
|
|
680
|
+
max-width: 200px;
|
|
684
681
|
}
|
|
685
682
|
|
|
686
683
|
/**
|
|
@@ -753,6 +750,15 @@ button {
|
|
|
753
750
|
margin-inline-start: 16px;
|
|
754
751
|
}
|
|
755
752
|
|
|
753
|
+
.native-wrapper {
|
|
754
|
+
/**
|
|
755
|
+
* When the floating label appears on top of the
|
|
756
|
+
* input, we need to fade the input out so that the
|
|
757
|
+
* label does not overlap with the placeholder.
|
|
758
|
+
*/
|
|
759
|
+
transition: opacity 150ms cubic-bezier(0.4, 0, 0.2, 1);
|
|
760
|
+
}
|
|
761
|
+
|
|
756
762
|
/**
|
|
757
763
|
* Convert a pixels given value into rem
|
|
758
764
|
*
|
|
@@ -128,16 +128,6 @@ svg {
|
|
|
128
128
|
}
|
|
129
129
|
}
|
|
130
130
|
|
|
131
|
-
:host(.spinner-lines) line,
|
|
132
|
-
:host(.spinner-lines-small) line {
|
|
133
|
-
stroke-width: 7px;
|
|
134
|
-
}
|
|
135
|
-
|
|
136
|
-
:host(.spinner-lines-sharp) line,
|
|
137
|
-
:host(.spinner-lines-sharp-small) line {
|
|
138
|
-
stroke-width: 4px;
|
|
139
|
-
}
|
|
140
|
-
|
|
141
131
|
:host(.spinner-lines) line,
|
|
142
132
|
:host(.spinner-lines-small) line,
|
|
143
133
|
:host(.spinner-lines-sharp) line,
|
|
@@ -262,6 +252,18 @@ svg {
|
|
|
262
252
|
}
|
|
263
253
|
:host {
|
|
264
254
|
--color: var(--ion-primitives-neutral-800, #626262);
|
|
255
|
+
width: var(--ion-scale-700, 28px);
|
|
256
|
+
height: var(--ion-scale-700, 28px);
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
:host(.spinner-lines) line,
|
|
260
|
+
:host(.spinner-lines-small) line {
|
|
261
|
+
stroke-width: var(--ion-scale-150, 6px);
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
:host(.spinner-lines-sharp) line,
|
|
265
|
+
:host(.spinner-lines-sharp-small) line {
|
|
266
|
+
stroke-width: var(--ion-scale-100, 4px);
|
|
265
267
|
}
|
|
266
268
|
|
|
267
269
|
/* Extra Small */
|
|
@@ -68,15 +68,15 @@ export class Spinner {
|
|
|
68
68
|
static get encapsulation() { return "shadow"; }
|
|
69
69
|
static get originalStyleUrls() {
|
|
70
70
|
return {
|
|
71
|
-
"ios": ["spinner.
|
|
72
|
-
"md": ["spinner.
|
|
71
|
+
"ios": ["spinner.native.scss"],
|
|
72
|
+
"md": ["spinner.native.scss"],
|
|
73
73
|
"ionic": ["spinner.ionic.scss"]
|
|
74
74
|
};
|
|
75
75
|
}
|
|
76
76
|
static get styleUrls() {
|
|
77
77
|
return {
|
|
78
|
-
"ios": ["spinner.
|
|
79
|
-
"md": ["spinner.
|
|
78
|
+
"ios": ["spinner.native.css"],
|
|
79
|
+
"md": ["spinner.native.css"],
|
|
80
80
|
"ionic": ["spinner.ionic.css"]
|
|
81
81
|
};
|
|
82
82
|
}
|
|
@@ -65,16 +65,6 @@ svg {
|
|
|
65
65
|
}
|
|
66
66
|
}
|
|
67
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
68
|
:host(.spinner-lines) line,
|
|
79
69
|
:host(.spinner-lines-small) line,
|
|
80
70
|
:host(.spinner-lines-sharp) line,
|
|
@@ -196,4 +186,13 @@ svg {
|
|
|
196
186
|
stroke-dasharray: 100px, 200px;
|
|
197
187
|
stroke-dashoffset: -125px;
|
|
198
188
|
}
|
|
189
|
+
}
|
|
190
|
+
:host(.spinner-lines) line,
|
|
191
|
+
:host(.spinner-lines-small) line {
|
|
192
|
+
stroke-width: 7px;
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
:host(.spinner-lines-sharp) line,
|
|
196
|
+
:host(.spinner-lines-sharp-small) line {
|
|
197
|
+
stroke-width: 4px;
|
|
199
198
|
}
|
|
@@ -141,11 +141,6 @@ Do not edit directly, this file was auto-generated.
|
|
|
141
141
|
display: none !important;
|
|
142
142
|
}
|
|
143
143
|
|
|
144
|
-
:host(.tab-disabled) {
|
|
145
|
-
pointer-events: none;
|
|
146
|
-
opacity: 0.4;
|
|
147
|
-
}
|
|
148
|
-
|
|
149
144
|
::slotted(ion-label),
|
|
150
145
|
::slotted(ion-icon) {
|
|
151
146
|
display: block;
|
|
@@ -203,12 +198,16 @@ ion-ripple-effect {
|
|
|
203
198
|
:host {
|
|
204
199
|
--focus-ring-color: var(--ion-border-focus-default, #b5c0f7);
|
|
205
200
|
--focus-ring-width: var(--ion-border-radius-025, 2px);
|
|
201
|
+
font-size: var(--ion-font-size-350, 0.875rem);
|
|
202
|
+
font-weight: var(--ion-font-weight-medium, 500);
|
|
203
|
+
letter-spacing: var(--ion-font-letter-spacing-1, 1%);
|
|
204
|
+
line-height: var(--ion-font-line-height-500, 20px);
|
|
205
|
+
text-decoration: none;
|
|
206
|
+
text-transform: none;
|
|
207
|
+
position: relative;
|
|
206
208
|
align-content: center;
|
|
207
209
|
min-height: var(--ion-scale-1200, 48px);
|
|
208
210
|
max-height: var(--ion-scale-1800, 72px);
|
|
209
|
-
font-size: var(--ion-font-size-300, 0.75rem);
|
|
210
|
-
font-weight: var(--ion-font-weight-medium, 500);
|
|
211
|
-
line-height: var(--ion-font-line-height-500, 20px);
|
|
212
211
|
}
|
|
213
212
|
|
|
214
213
|
.button-native {
|
|
@@ -248,6 +247,18 @@ ion-ripple-effect {
|
|
|
248
247
|
opacity: 0;
|
|
249
248
|
}
|
|
250
249
|
|
|
250
|
+
:host(.tab-disabled)::after {
|
|
251
|
+
right: 0;
|
|
252
|
+
left: 0;
|
|
253
|
+
top: 0;
|
|
254
|
+
bottom: 0;
|
|
255
|
+
position: absolute;
|
|
256
|
+
background-color: var(--ion-state-disabled, rgba(255, 255, 255, 0.6));
|
|
257
|
+
content: "";
|
|
258
|
+
pointer-events: none;
|
|
259
|
+
z-index: 1;
|
|
260
|
+
}
|
|
261
|
+
|
|
251
262
|
.button-native {
|
|
252
263
|
min-width: var(--ion-scale-1200, 48px);
|
|
253
264
|
overflow: visible;
|
|
@@ -78,11 +78,6 @@
|
|
|
78
78
|
display: none !important;
|
|
79
79
|
}
|
|
80
80
|
|
|
81
|
-
:host(.tab-disabled) {
|
|
82
|
-
pointer-events: none;
|
|
83
|
-
opacity: 0.4;
|
|
84
|
-
}
|
|
85
|
-
|
|
86
81
|
::slotted(ion-label),
|
|
87
82
|
::slotted(ion-icon) {
|
|
88
83
|
display: block;
|
|
@@ -234,6 +229,11 @@ ion-ripple-effect {
|
|
|
234
229
|
opacity: 0;
|
|
235
230
|
}
|
|
236
231
|
|
|
232
|
+
:host(.tab-disabled) {
|
|
233
|
+
pointer-events: none;
|
|
234
|
+
opacity: 0.4;
|
|
235
|
+
}
|
|
236
|
+
|
|
237
237
|
/**
|
|
238
238
|
* Convert a pixels given value into rem
|
|
239
239
|
*
|
|
@@ -78,11 +78,6 @@
|
|
|
78
78
|
display: none !important;
|
|
79
79
|
}
|
|
80
80
|
|
|
81
|
-
:host(.tab-disabled) {
|
|
82
|
-
pointer-events: none;
|
|
83
|
-
opacity: 0.4;
|
|
84
|
-
}
|
|
85
|
-
|
|
86
81
|
::slotted(ion-label),
|
|
87
82
|
::slotted(ion-icon) {
|
|
88
83
|
display: block;
|
|
@@ -234,6 +229,11 @@ ion-ripple-effect {
|
|
|
234
229
|
opacity: 0;
|
|
235
230
|
}
|
|
236
231
|
|
|
232
|
+
:host(.tab-disabled) {
|
|
233
|
+
pointer-events: none;
|
|
234
|
+
opacity: 0.4;
|
|
235
|
+
}
|
|
236
|
+
|
|
237
237
|
/**
|
|
238
238
|
* Convert a pixels given value into rem
|
|
239
239
|
*
|
|
@@ -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.
|
|
@@ -154,16 +115,11 @@ Do not edit directly, this file was auto-generated.
|
|
|
154
115
|
--placeholder-color: initial;
|
|
155
116
|
--placeholder-font-style: initial;
|
|
156
117
|
--placeholder-font-weight: initial;
|
|
157
|
-
--placeholder-opacity: var(--ion-placeholder-opacity, 0.6);
|
|
158
118
|
--padding-top: 0;
|
|
159
119
|
--padding-end: 0;
|
|
160
|
-
--padding-bottom: 8px;
|
|
161
120
|
--padding-start: 0;
|
|
162
121
|
--border-radius: 0;
|
|
163
122
|
--border-style: solid;
|
|
164
|
-
--highlight-color-focused: var(--ion-color-primary, #0054e9);
|
|
165
|
-
--highlight-color-valid: var(--ion-color-success, #2dd55b);
|
|
166
|
-
--highlight-color-invalid: var(--ion-color-danger, #c5000f);
|
|
167
123
|
/**
|
|
168
124
|
* This is a private API that is used to switch
|
|
169
125
|
* out the highlight color based on the state
|
|
@@ -195,7 +151,6 @@ Do not edit directly, this file was auto-generated.
|
|
|
195
151
|
}
|
|
196
152
|
|
|
197
153
|
:host(.ion-color) {
|
|
198
|
-
--highlight-color-focused: var(--ion-color-base);
|
|
199
154
|
background: initial;
|
|
200
155
|
}
|
|
201
156
|
|
|
@@ -444,7 +399,6 @@ Do not edit directly, this file was auto-generated.
|
|
|
444
399
|
*/
|
|
445
400
|
-webkit-margin-start: auto;
|
|
446
401
|
margin-inline-start: auto;
|
|
447
|
-
color: var(--ion-color-step-700, var(--ion-text-color-step-300, #4d4d4d));
|
|
448
402
|
white-space: nowrap;
|
|
449
403
|
}
|
|
450
404
|
|
|
@@ -455,16 +409,6 @@ Do not edit directly, this file was auto-generated.
|
|
|
455
409
|
padding-inline-end: 0px;
|
|
456
410
|
padding-top: var(--padding-top);
|
|
457
411
|
padding-bottom: var(--padding-bottom);
|
|
458
|
-
/**
|
|
459
|
-
* Label text should not extend
|
|
460
|
-
* beyond the bounds of the textarea.
|
|
461
|
-
* However, we do not set the max
|
|
462
|
-
* width to 100% because then
|
|
463
|
-
* only the label would show and users
|
|
464
|
-
* would not be able to see what they are typing.
|
|
465
|
-
*/
|
|
466
|
-
max-width: 200px;
|
|
467
|
-
transition: color 150ms cubic-bezier(0.4, 0, 0.2, 1), transform 150ms cubic-bezier(0.4, 0, 0.2, 1);
|
|
468
412
|
/**
|
|
469
413
|
* This ensures that double tapping this text
|
|
470
414
|
* clicks the <label> and focuses the textarea
|
|
@@ -503,15 +447,6 @@ Do not edit directly, this file was auto-generated.
|
|
|
503
447
|
display: none;
|
|
504
448
|
}
|
|
505
449
|
|
|
506
|
-
.textarea-wrapper textarea {
|
|
507
|
-
/**
|
|
508
|
-
* When the floating label appears on top of the
|
|
509
|
-
* textarea, we need to fade the textarea out so that the
|
|
510
|
-
* label does not overlap with the placeholder.
|
|
511
|
-
*/
|
|
512
|
-
transition: opacity 150ms cubic-bezier(0.4, 0, 0.2, 1);
|
|
513
|
-
}
|
|
514
|
-
|
|
515
450
|
/**
|
|
516
451
|
* Label is on the left of the textarea in LTR and
|
|
517
452
|
* on the right in RTL.
|
|
@@ -528,17 +463,6 @@ Do not edit directly, this file was auto-generated.
|
|
|
528
463
|
flex-direction: row-reverse;
|
|
529
464
|
}
|
|
530
465
|
|
|
531
|
-
/**
|
|
532
|
-
* Label is on the left of the textarea in LTR and
|
|
533
|
-
* on the right in RTL. Label also has a fixed width.
|
|
534
|
-
*/
|
|
535
|
-
:host(.textarea-label-placement-fixed) .label-text {
|
|
536
|
-
flex: 0 0 100px;
|
|
537
|
-
width: 100px;
|
|
538
|
-
min-width: 100px;
|
|
539
|
-
max-width: 200px;
|
|
540
|
-
}
|
|
541
|
-
|
|
542
466
|
/**
|
|
543
467
|
* Stacked: Label sits above the textarea and is scaled down.
|
|
544
468
|
* Floating: Label sits over the textarea when the textarea has no
|
|
@@ -622,18 +546,6 @@ Do not edit directly, this file was auto-generated.
|
|
|
622
546
|
opacity: 1;
|
|
623
547
|
}
|
|
624
548
|
|
|
625
|
-
/**
|
|
626
|
-
* This makes the label sit above the textarea.
|
|
627
|
-
*/
|
|
628
|
-
:host(.label-floating) .label-text-wrapper {
|
|
629
|
-
transform: translateY(50%) scale(0.75);
|
|
630
|
-
/**
|
|
631
|
-
* Label text should not extend
|
|
632
|
-
* beyond the bounds of the textarea.
|
|
633
|
-
*/
|
|
634
|
-
max-width: calc(100% / 0.75);
|
|
635
|
-
}
|
|
636
|
-
|
|
637
549
|
.start-slot-wrapper,
|
|
638
550
|
.end-slot-wrapper {
|
|
639
551
|
display: flex;
|
|
@@ -693,9 +605,11 @@ Do not edit directly, this file was auto-generated.
|
|
|
693
605
|
--color: var(--ion-primitives-neutral-1200, #242424);
|
|
694
606
|
--highlight-color-valid: var(--ion-semantics-success-900, #126f23);
|
|
695
607
|
--highlight-color-invalid: var(--ion-semantics-danger-800, #bf2222);
|
|
608
|
+
--highlight-color-focused: var(--ion-color-primary, var(--ion-bg-primary-base-default, #105cef));
|
|
696
609
|
--placeholder-color: var(--ion-primitives-neutral-800, #626262);
|
|
697
610
|
--placeholder-opacity: 1;
|
|
698
611
|
--background: var(--ion-primitives-base-white, #ffffff);
|
|
612
|
+
--padding-bottom: var(--ion-space-200, 8px);
|
|
699
613
|
font-size: var(--ion-font-size-350, 0.875rem);
|
|
700
614
|
font-weight: var(--ion-font-weight-regular, 400);
|
|
701
615
|
letter-spacing: var(--ion-font-letter-spacing-0, 0%);
|
|
@@ -704,6 +618,10 @@ Do not edit directly, this file was auto-generated.
|
|
|
704
618
|
text-transform: none;
|
|
705
619
|
}
|
|
706
620
|
|
|
621
|
+
:host(.ion-color) {
|
|
622
|
+
--highlight-color-focused: var(--ion-color-base);
|
|
623
|
+
}
|
|
624
|
+
|
|
707
625
|
.textarea-wrapper-inner {
|
|
708
626
|
height: 0;
|
|
709
627
|
}
|
|
@@ -773,6 +691,8 @@ Do not edit directly, this file was auto-generated.
|
|
|
773
691
|
line-height: var(--ion-font-line-height-500, 20px);
|
|
774
692
|
text-decoration: none;
|
|
775
693
|
text-transform: none;
|
|
694
|
+
max-width: var(--ion-scale-5000, 200px);
|
|
695
|
+
transition: color var(--ion-transition-time-150, 150ms) var(--ion-transition-curve-expressive, cubic-bezier(0.4, 0, 0.2, 1)), transform var(--ion-transition-time-150, 150ms) var(--ion-transition-curve-expressive, cubic-bezier(0.4, 0, 0.2, 1));
|
|
776
696
|
color: var(--ion-primitives-neutral-1000, #3b3b3b);
|
|
777
697
|
}
|
|
778
698
|
|
|
@@ -876,4 +796,35 @@ ion-icon {
|
|
|
876
796
|
|
|
877
797
|
:host(.textarea-readonly) {
|
|
878
798
|
--background: var(--ion-primitives-neutral-100, #f5f5f5);
|
|
799
|
+
}
|
|
800
|
+
|
|
801
|
+
/**
|
|
802
|
+
* This makes the label sit above the textarea.
|
|
803
|
+
*/
|
|
804
|
+
:host(.label-floating) .label-text-wrapper {
|
|
805
|
+
/**
|
|
806
|
+
* Label text should not extend
|
|
807
|
+
* beyond the bounds of the textarea.
|
|
808
|
+
*/
|
|
809
|
+
max-width: calc(100% / 0.75);
|
|
810
|
+
}
|
|
811
|
+
|
|
812
|
+
.textarea-wrapper textarea {
|
|
813
|
+
/**
|
|
814
|
+
* When the floating label appears on top of the
|
|
815
|
+
* textarea, we need to fade the textarea out so that the
|
|
816
|
+
* label does not overlap with the placeholder.
|
|
817
|
+
*/
|
|
818
|
+
transition: opacity var(--ion-transition-time-150, 150ms) var(--ion-transition-curve-expressive, cubic-bezier(0.4, 0, 0.2, 1));
|
|
819
|
+
}
|
|
820
|
+
|
|
821
|
+
/**
|
|
822
|
+
* Label is on the left of the textarea in LTR and
|
|
823
|
+
* on the right in RTL. Label also has a fixed width.
|
|
824
|
+
*/
|
|
825
|
+
:host(.textarea-label-placement-fixed) .label-text {
|
|
826
|
+
flex: 0 0 calc(var(--ion-scale-2400, 96px) + var(--ion-space-100, 4px));
|
|
827
|
+
width: calc(var(--ion-scale-2400, 96px) + var(--ion-space-100, 4px));
|
|
828
|
+
min-width: calc(var(--ion-scale-2400, 96px) + var(--ion-space-100, 4px));
|
|
829
|
+
max-width: var(--ion-scale-5000, 200px);
|
|
879
830
|
}
|