Skip to content

Commit d4db3af

Browse files
rtpHarrybrandyscarney
authored andcommitted
docs(css): replace text-wrap directive with class (#19144)
1 parent c7b6c7d commit d4db3af

File tree

11 files changed

+24
-24
lines changed

11 files changed

+24
-24
lines changed

core/src/components/item/readme.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -131,14 +131,14 @@ List Items
131131
</ion-item>
132132

133133
<ion-item>
134-
<ion-label text-wrap>
134+
<ion-label class="ion-text-wrap">
135135
Multiline text that should wrap when it is too long
136136
to fit on one line in the item.
137137
</ion-label>
138138
</ion-item>
139139

140140
<ion-item>
141-
<ion-label text-wrap>
141+
<ion-label class="ion-text-wrap">
142142
<ion-text color="primary">
143143
<h3>H3 Primary Title</h3>
144144
</ion-text>
@@ -455,14 +455,14 @@ List Items
455455
</ion-item>
456456

457457
<ion-item>
458-
<ion-label text-wrap>
458+
<ion-label class="ion-text-wrap">
459459
Multiline text that should wrap when it is too long
460460
to fit on one line in the item.
461461
</ion-label>
462462
</ion-item>
463463

464464
<ion-item>
465-
<ion-label text-wrap>
465+
<ion-label class="ion-text-wrap">
466466
<ion-text color="primary">
467467
<h3>H3 Primary Title</h3>
468468
</ion-text>
@@ -778,14 +778,14 @@ const Example: React.FC<{}> = () => (
778778
</IonItem>
779779

780780
<IonItem>
781-
<IonLabel text-wrap>
781+
<IonLabel class="ion-text-wrap">
782782
Multiline text that should wrap when it is too long
783783
to fit on one line in the item.
784784
</IonLabel>
785785
</IonItem>
786786

787787
<IonItem>
788-
<IonLabel text-wrap>
788+
<IonLabel class="ion-text-wrap">
789789
<IonText color="primary">
790790
<h3>H3 Primary Title</h3>
791791
</IonText>
@@ -1098,14 +1098,14 @@ List Items
10981098
</ion-item>
10991099

11001100
<ion-item>
1101-
<ion-label text-wrap>
1101+
<ion-label class="ion-text-wrap">
11021102
Multiline text that should wrap when it is too long
11031103
to fit on one line in the item.
11041104
</ion-label>
11051105
</ion-item>
11061106

11071107
<ion-item>
1108-
<ion-label text-wrap>
1108+
<ion-label class="ion-text-wrap">
11091109
<ion-text color="primary">
11101110
<h3>H3 Primary Title</h3>
11111111
</ion-text>

core/src/components/item/usage/angular.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,14 +68,14 @@ List Items
6868
</ion-item>
6969

7070
<ion-item>
71-
<ion-label text-wrap>
71+
<ion-label class="ion-text-wrap">
7272
Multiline text that should wrap when it is too long
7373
to fit on one line in the item.
7474
</ion-label>
7575
</ion-item>
7676

7777
<ion-item>
78-
<ion-label text-wrap>
78+
<ion-label class="ion-text-wrap">
7979
<ion-text color="primary">
8080
<h3>H3 Primary Title</h3>
8181
</ion-text>

core/src/components/item/usage/javascript.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,14 +68,14 @@ List Items
6868
</ion-item>
6969

7070
<ion-item>
71-
<ion-label text-wrap>
71+
<ion-label class="ion-text-wrap">
7272
Multiline text that should wrap when it is too long
7373
to fit on one line in the item.
7474
</ion-label>
7575
</ion-item>
7676

7777
<ion-item>
78-
<ion-label text-wrap>
78+
<ion-label class="ion-text-wrap">
7979
<ion-text color="primary">
8080
<h3>H3 Primary Title</h3>
8181
</ion-text>

core/src/components/item/usage/react.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,14 +67,14 @@ const Example: React.FC<{}> = () => (
6767
</IonItem>
6868

6969
<IonItem>
70-
<IonLabel text-wrap>
70+
<IonLabel class="ion-text-wrap">
7171
Multiline text that should wrap when it is too long
7272
to fit on one line in the item.
7373
</IonLabel>
7474
</IonItem>
7575

7676
<IonItem>
77-
<IonLabel text-wrap>
77+
<IonLabel class="ion-text-wrap">
7878
<IonText color="primary">
7979
<h3>H3 Primary Title</h3>
8080
</IonText>

core/src/components/item/usage/vue.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,14 +73,14 @@ List Items
7373
</ion-item>
7474

7575
<ion-item>
76-
<ion-label text-wrap>
76+
<ion-label class="ion-text-wrap">
7777
Multiline text that should wrap when it is too long
7878
to fit on one line in the item.
7979
</ion-label>
8080
</ion-item>
8181

8282
<ion-item>
83-
<ion-label text-wrap>
83+
<ion-label class="ion-text-wrap">
8484
<ion-text color="primary">
8585
<h3>H3 Primary Title</h3>
8686
</ion-text>

core/src/components/label/readme.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Label is a wrapper element that can be used in combination with `ion-item`, `ion
2727
</ion-item>
2828

2929
<ion-item>
30-
<ion-label text-wrap>
30+
<ion-label class="ion-text-wrap">
3131
Multi-line text that should wrap when it is too long
3232
to fit on one line in the item.
3333
</ion-label>
@@ -90,7 +90,7 @@ export const LabelExample: React.FC = () => (
9090
</IonItem>
9191

9292
<IonItem>
93-
<IonLabel text-wrap>
93+
<IonLabel class="ion-text-wrap">
9494
Multi-line text that should wrap when it is too long
9595
to fit on one line in the item.
9696
</IonLabel>
@@ -151,7 +151,7 @@ export const LabelExample: React.FC = () => (
151151
</ion-item>
152152

153153
<ion-item>
154-
<ion-label text-wrap>
154+
<ion-label class="ion-text-wrap">
155155
Multi-line text that should wrap when it is too long
156156
to fit on one line in the item.
157157
</ion-label>

core/src/components/label/usage/angular.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
</ion-item>
1616

1717
<ion-item>
18-
<ion-label text-wrap>
18+
<ion-label class="ion-text-wrap">
1919
Multi-line text that should wrap when it is too long
2020
to fit on one line in the item.
2121
</ion-label>

core/src/components/label/usage/javascript.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
</ion-item>
1616

1717
<ion-item>
18-
<ion-label text-wrap>
18+
<ion-label class="ion-text-wrap">
1919
Multi-line text that should wrap when it is too long
2020
to fit on one line in the item.
2121
</ion-label>

core/src/components/label/usage/react.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ export const LabelExample: React.FC = () => (
2020
</IonItem>
2121

2222
<IonItem>
23-
<IonLabel text-wrap>
23+
<IonLabel class="ion-text-wrap">
2424
Multi-line text that should wrap when it is too long
2525
to fit on one line in the item.
2626
</IonLabel>

core/src/components/label/usage/vue.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
</ion-item>
1717

1818
<ion-item>
19-
<ion-label text-wrap>
19+
<ion-label class="ion-text-wrap">
2020
Multi-line text that should wrap when it is too long
2121
to fit on one line in the item.
2222
</ion-label>

0 commit comments

Comments
 (0)