Skip to content

Commit

Permalink
docs(css): replace text-wrap directive with class (ionic-team#19144)
Browse files Browse the repository at this point in the history
  • Loading branch information
rtpHarry authored and brandyscarney committed Aug 26, 2019
1 parent c7b6c7d commit d4db3af
Show file tree
Hide file tree
Showing 11 changed files with 24 additions and 24 deletions.
16 changes: 8 additions & 8 deletions core/src/components/item/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -131,14 +131,14 @@ List Items
</ion-item>

<ion-item>
<ion-label text-wrap>
<ion-label class="ion-text-wrap">
Multiline text that should wrap when it is too long
to fit on one line in the item.
</ion-label>
</ion-item>

<ion-item>
<ion-label text-wrap>
<ion-label class="ion-text-wrap">
<ion-text color="primary">
<h3>H3 Primary Title</h3>
</ion-text>
Expand Down Expand Up @@ -455,14 +455,14 @@ List Items
</ion-item>

<ion-item>
<ion-label text-wrap>
<ion-label class="ion-text-wrap">
Multiline text that should wrap when it is too long
to fit on one line in the item.
</ion-label>
</ion-item>

<ion-item>
<ion-label text-wrap>
<ion-label class="ion-text-wrap">
<ion-text color="primary">
<h3>H3 Primary Title</h3>
</ion-text>
Expand Down Expand Up @@ -778,14 +778,14 @@ const Example: React.FC<{}> = () => (
</IonItem>

<IonItem>
<IonLabel text-wrap>
<IonLabel class="ion-text-wrap">
Multiline text that should wrap when it is too long
to fit on one line in the item.
</IonLabel>
</IonItem>

<IonItem>
<IonLabel text-wrap>
<IonLabel class="ion-text-wrap">
<IonText color="primary">
<h3>H3 Primary Title</h3>
</IonText>
Expand Down Expand Up @@ -1098,14 +1098,14 @@ List Items
</ion-item>

<ion-item>
<ion-label text-wrap>
<ion-label class="ion-text-wrap">
Multiline text that should wrap when it is too long
to fit on one line in the item.
</ion-label>
</ion-item>

<ion-item>
<ion-label text-wrap>
<ion-label class="ion-text-wrap">
<ion-text color="primary">
<h3>H3 Primary Title</h3>
</ion-text>
Expand Down
4 changes: 2 additions & 2 deletions core/src/components/item/usage/angular.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,14 +68,14 @@ List Items
</ion-item>

<ion-item>
<ion-label text-wrap>
<ion-label class="ion-text-wrap">
Multiline text that should wrap when it is too long
to fit on one line in the item.
</ion-label>
</ion-item>

<ion-item>
<ion-label text-wrap>
<ion-label class="ion-text-wrap">
<ion-text color="primary">
<h3>H3 Primary Title</h3>
</ion-text>
Expand Down
4 changes: 2 additions & 2 deletions core/src/components/item/usage/javascript.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,14 +68,14 @@ List Items
</ion-item>

<ion-item>
<ion-label text-wrap>
<ion-label class="ion-text-wrap">
Multiline text that should wrap when it is too long
to fit on one line in the item.
</ion-label>
</ion-item>

<ion-item>
<ion-label text-wrap>
<ion-label class="ion-text-wrap">
<ion-text color="primary">
<h3>H3 Primary Title</h3>
</ion-text>
Expand Down
4 changes: 2 additions & 2 deletions core/src/components/item/usage/react.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,14 +67,14 @@ const Example: React.FC<{}> = () => (
</IonItem>

<IonItem>
<IonLabel text-wrap>
<IonLabel class="ion-text-wrap">
Multiline text that should wrap when it is too long
to fit on one line in the item.
</IonLabel>
</IonItem>

<IonItem>
<IonLabel text-wrap>
<IonLabel class="ion-text-wrap">
<IonText color="primary">
<h3>H3 Primary Title</h3>
</IonText>
Expand Down
4 changes: 2 additions & 2 deletions core/src/components/item/usage/vue.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,14 +73,14 @@ List Items
</ion-item>

<ion-item>
<ion-label text-wrap>
<ion-label class="ion-text-wrap">
Multiline text that should wrap when it is too long
to fit on one line in the item.
</ion-label>
</ion-item>

<ion-item>
<ion-label text-wrap>
<ion-label class="ion-text-wrap">
<ion-text color="primary">
<h3>H3 Primary Title</h3>
</ion-text>
Expand Down
6 changes: 3 additions & 3 deletions core/src/components/label/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Label is a wrapper element that can be used in combination with `ion-item`, `ion
</ion-item>

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

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

<ion-item>
<ion-label text-wrap>
<ion-label class="ion-text-wrap">
Multi-line text that should wrap when it is too long
to fit on one line in the item.
</ion-label>
Expand Down
2 changes: 1 addition & 1 deletion core/src/components/label/usage/angular.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
</ion-item>

<ion-item>
<ion-label text-wrap>
<ion-label class="ion-text-wrap">
Multi-line text that should wrap when it is too long
to fit on one line in the item.
</ion-label>
Expand Down
2 changes: 1 addition & 1 deletion core/src/components/label/usage/javascript.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
</ion-item>

<ion-item>
<ion-label text-wrap>
<ion-label class="ion-text-wrap">
Multi-line text that should wrap when it is too long
to fit on one line in the item.
</ion-label>
Expand Down
2 changes: 1 addition & 1 deletion core/src/components/label/usage/react.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export const LabelExample: React.FC = () => (
</IonItem>

<IonItem>
<IonLabel text-wrap>
<IonLabel class="ion-text-wrap">
Multi-line text that should wrap when it is too long
to fit on one line in the item.
</IonLabel>
Expand Down
2 changes: 1 addition & 1 deletion core/src/components/label/usage/vue.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
</ion-item>

<ion-item>
<ion-label text-wrap>
<ion-label class="ion-text-wrap">
Multi-line text that should wrap when it is too long
to fit on one line in the item.
</ion-label>
Expand Down
2 changes: 1 addition & 1 deletion core/src/components/select-popover/select-popover.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ export class SelectPopover implements ComponentInterface {
{this.header !== undefined && <ion-list-header>{this.header}</ion-list-header>}
{ (this.subHeader !== undefined || this.message !== undefined) &&
<ion-item>
<ion-label text-wrap>
<ion-label class="ion-text-wrap">
{this.subHeader !== undefined && <h3>{this.subHeader}</h3>}
{this.message !== undefined && <p>{this.message}</p>}
</ion-label>
Expand Down

0 comments on commit d4db3af

Please sign in to comment.