refactor(item): remove deprecated apis (#29102)

BREAKING CHANGE:

- The `helper` slot has been removed. Developers should use the `helperText` property on `ion-input` and `ion-textarea`.
- The `error` slot has been removed. Developers should use the `errorText` property on `ion-input` and `ion-textarea`.
- Counter functionality has been removed including the `counter` and `counterFormatter` properties. Developers should use the properties of the same name on `ion-input` and `ion-textarea`.
- The `fill` property has been removed. Developers should use the property of the same name on `ion-input`, `ion-select`, and `ion-textarea`.
- The `shape` property has been removed. Developers should use the property of the same name on `ion-input`, `ion-select`, and `ion-textarea`.
This commit is contained in:
Liam DeBeasi
2024-03-07 11:37:40 +00:00
committed by GitHub
parent 6852719077
commit 743f517fec
60 changed files with 21 additions and 917 deletions

View File

@ -16,13 +16,6 @@
font-size: $textarea-ios-font-size;
}
:host-context(.item-label-stacked),
:host-context(.item-label-floating) {
--padding-top: 8px;
--padding-bottom: 8px;
--padding-start: 0px;
}
// Textarea - Disabled
// ----------------------------------------------------------------
// The textarea, label, helper text, char counter and placeholder

View File

@ -116,10 +116,6 @@
align-self: baseline;
}
:host-context(ion-item:not(.item-label)) {
--padding-start: 0;
}
:host-context(ion-item)[slot="start"],
:host-context(ion-item)[slot="end"] {
width: auto;
@ -238,20 +234,6 @@
overflow: hidden;
}
// Item Floating: Placeholder
// ----------------------------------------------------------------
// When used with a floating item the placeholder should hide
:host-context(.item-label-floating.item-has-placeholder:not(.item-has-value)) {
opacity: 0;
}
:host-context(.item-label-floating.item-has-placeholder:not(.item-has-value).item-has-focus) {
transition: opacity 0.15s cubic-bezier(0.4, 0, 0.2, 1);
opacity: 1;
}
// Textarea Wrapper
// ----------------------------------------------------------------