You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: BREAKING.md
+19-1Lines changed: 19 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,6 +19,7 @@ This is a comprehensive list of the breaking changes introduced in the major ver
19
19
-[Card](#version-9x-card)
20
20
-[Chip](#version-9x-chip)
21
21
-[Grid](#version-9x-grid)
22
+
-[Textarea](#version-9x-textarea)
22
23
23
24
<h2id="version-9x-components">Components</h2>
24
25
@@ -41,6 +42,7 @@ This is a comprehensive list of the breaking changes introduced in the major ver
41
42
<h5>Example 1: Swap two columns</h5>
42
43
43
44
**Version up to 8.x**
45
+
44
46
```html
45
47
<ion-grid>
46
48
<ion-row>
@@ -51,6 +53,7 @@ This is a comprehensive list of the breaking changes introduced in the major ver
51
53
</ion-grid>
52
54
```
53
55
**Version 9.x+**
56
+
54
57
```html
55
58
<ion-grid>
56
59
<ion-row>
@@ -62,9 +65,11 @@ This is a comprehensive list of the breaking changes introduced in the major ver
62
65
```
63
66
64
67
<h5>Example 2: Reorder columns with specific sizes</h5>
68
+
65
69
To reorder two columns where column 1 has `size="9" push="3"` and column 2 has `size="3" pull="9"`:
66
70
67
71
**Version up to 8.x**
72
+
68
73
```html
69
74
<ion-grid>
70
75
<ion-row>
@@ -73,7 +78,9 @@ To reorder two columns where column 1 has `size="9" push="3"` and column 2 has `
73
78
</ion-row>
74
79
</ion-grid>
75
80
```
81
+
76
82
**Version 9.x+**
83
+
77
84
```html
78
85
<ion-grid>
79
86
<ion-row>
@@ -82,7 +89,9 @@ To reorder two columns where column 1 has `size="9" push="3"` and column 2 has `
82
89
</ion-row>
83
90
</ion-grid>
84
91
```
92
+
85
93
<h5>Example 3: Push</h5>
94
+
86
95
```html
87
96
<ion-grid>
88
97
<ion-row>
@@ -96,6 +105,7 @@ To reorder two columns where column 1 has `size="9" push="3"` and column 2 has `
96
105
</ion-grid>
97
106
```
98
107
**Version 9.x+**
108
+
99
109
```html
100
110
<ion-grid>
101
111
<ion-row>
@@ -110,6 +120,7 @@ To reorder two columns where column 1 has `size="9" push="3"` and column 2 has `
110
120
```
111
121
112
122
<h5>Example 4: Push and Pull</h5>
123
+
113
124
```html
114
125
<ion-grid>
115
126
<ion-row>
@@ -122,6 +133,7 @@ To reorder two columns where column 1 has `size="9" push="3"` and column 2 has `
122
133
</ion-row>
123
134
</ion-grid>
124
135
```
136
+
125
137
**Version 9.x+**
126
138
```html
127
139
<ion-grid>
@@ -134,4 +146,10 @@ To reorder two columns where column 1 has `size="9" push="3"` and column 2 has `
134
146
</ion-col>
135
147
</ion-row>
136
148
</ion-grid>
137
-
```
149
+
```
150
+
151
+
<h4id="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