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
+49Lines changed: 49 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,6 +18,7 @@ This is a comprehensive list of the breaking changes introduced in the major ver
18
18
-[Button](#version-9x-button)
19
19
-[Card](#version-9x-card)
20
20
-[Chip](#version-9x-chip)
21
+
-[Grid](#version-9x-grid)
21
22
22
23
<h2id="version-9x-components">Components</h2>
23
24
@@ -32,3 +33,51 @@ This is a comprehensive list of the breaking changes introduced in the major ver
32
33
<h4id="version-9x-chip">Chip</h4>
33
34
34
35
- The `border-radius` of the `ios` and `md` chip now defaults to `10px` and `8px`, respectively, instead of `16px` in accordance with the iOS and Material Design 3 guidelines. To revert to the previous appearance, set the `shape` to `"round"`, or override the `--border-radius` CSS variable to specify a different value.
36
+
37
+
<h4id="version-9x-grid">Grid</h4>
38
+
- The properties `pull` and `push`, have been removed. The similar look can be achieved with the newly added property `order`.
39
+
40
+
<h5>Example 1: Swap two columns</h5>
41
+
42
+
**Version up to 8.x**
43
+
```html
44
+
<ion-grid>
45
+
<ion-row>
46
+
<ion-colpush="4">1</ion-col>
47
+
<ion-colpull="4">2</ion-col>
48
+
<ion-col>3</ion-col>
49
+
</ion-row>
50
+
</ion-grid>
51
+
```
52
+
**Version 9.x+**
53
+
```html
54
+
<ion-grid>
55
+
<ion-row>
56
+
<ion-colorder="2">1</ion-col>
57
+
<ion-colorder="1">2</ion-col>
58
+
<ion-colorder="3">3</ion-col>
59
+
</ion-row>
60
+
</ion-grid>
61
+
```
62
+
63
+
<h5>Example 2: Reorder columns with specific sizes</h5>
64
+
To reorder two columns where column 1 has `size="9" push="3"` and column 2 has `size="3" pull="9"`:
0 commit comments