Skip to content

Commit 91a2f74

Browse files
committed
docs(breaking): add textarea conversion
1 parent 903b799 commit 91a2f74

File tree

1 file changed

+19
-1
lines changed

1 file changed

+19
-1
lines changed

BREAKING.md

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ This is a comprehensive list of the breaking changes introduced in the major ver
1919
- [Card](#version-9x-card)
2020
- [Chip](#version-9x-chip)
2121
- [Grid](#version-9x-grid)
22+
- [Textarea](#version-9x-textarea)
2223

2324
<h2 id="version-9x-components">Components</h2>
2425

@@ -41,6 +42,7 @@ This is a comprehensive list of the breaking changes introduced in the major ver
4142
<h5>Example 1: Swap two columns</h5>
4243

4344
**Version up to 8.x**
45+
4446
```html
4547
<ion-grid>
4648
<ion-row>
@@ -51,6 +53,7 @@ This is a comprehensive list of the breaking changes introduced in the major ver
5153
</ion-grid>
5254
```
5355
**Version 9.x+**
56+
5457
```html
5558
<ion-grid>
5659
<ion-row>
@@ -62,9 +65,11 @@ This is a comprehensive list of the breaking changes introduced in the major ver
6265
```
6366

6467
<h5>Example 2: Reorder columns with specific sizes</h5>
68+
6569
To reorder two columns where column 1 has `size="9" push="3"` and column 2 has `size="3" pull="9"`:
6670

6771
**Version up to 8.x**
72+
6873
```html
6974
<ion-grid>
7075
<ion-row>
@@ -73,7 +78,9 @@ To reorder two columns where column 1 has `size="9" push="3"` and column 2 has `
7378
</ion-row>
7479
</ion-grid>
7580
```
81+
7682
**Version 9.x+**
83+
7784
```html
7885
<ion-grid>
7986
<ion-row>
@@ -82,7 +89,9 @@ To reorder two columns where column 1 has `size="9" push="3"` and column 2 has `
8289
</ion-row>
8390
</ion-grid>
8491
```
92+
8593
<h5>Example 3: Push</h5>
94+
8695
```html
8796
<ion-grid>
8897
<ion-row>
@@ -96,6 +105,7 @@ To reorder two columns where column 1 has `size="9" push="3"` and column 2 has `
96105
</ion-grid>
97106
```
98107
**Version 9.x+**
108+
99109
```html
100110
<ion-grid>
101111
<ion-row>
@@ -110,6 +120,7 @@ To reorder two columns where column 1 has `size="9" push="3"` and column 2 has `
110120
```
111121

112122
<h5>Example 4: Push and Pull</h5>
123+
113124
```html
114125
<ion-grid>
115126
<ion-row>
@@ -122,6 +133,7 @@ To reorder two columns where column 1 has `size="9" push="3"` and column 2 has `
122133
</ion-row>
123134
</ion-grid>
124135
```
136+
125137
**Version 9.x+**
126138
```html
127139
<ion-grid>
@@ -134,4 +146,10 @@ To reorder two columns where column 1 has `size="9" push="3"` and column 2 has `
134146
</ion-col>
135147
</ion-row>
136148
</ion-grid>
137-
```
149+
```
150+
151+
<h4 id="version-9x-textarea">Textarea</h4>
152+
153+
Converted `ion-textarea` to use [Shadow DOM](https://developer.mozilla.org/en-US/docs/Web/Web_Components/Using_shadow_DOM).
154+
155+
If you were targeting the internals of `ion-textarea` in your CSS, you will need to target the `container`, `label`, `native`, `supporting-text`, `helper-text`, `error-text`, `counter`, or `bottom` [Shadow Parts](https://ionicframework.com/docs/theming/css-shadow-parts) instead, or use the provided CSS Variables.

0 commit comments

Comments
 (0)