Skip to content

Commit

Permalink
fix: (core) chaged text examples selectors to fix stackblitz (#5000)
Browse files Browse the repository at this point in the history
  • Loading branch information
Oleksii Aleksandrov committed Mar 25, 2021
1 parent 707ce45 commit 1b0e83e
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 16 deletions.
@@ -1,7 +1,7 @@
import { Component } from '@angular/core';

@Component({
selector: 'text-basic',
selector: 'fd-text-basic',
templateUrl: './text-basic.component.html'
})
export class TextBasicComponent {}
@@ -1,7 +1,7 @@
import { Component } from '@angular/core';

@Component({
selector: 'text-expandable',
selector: 'fd-text-expandable',
templateUrl: './text-expandable.component.html'
})
export class TextExpandableComponent {
Expand Down
@@ -1,7 +1,7 @@
import { Component } from '@angular/core';

@Component({
selector: 'text-hyphenation',
selector: 'fd-text-hyphenation',
templateUrl: './text-hyphenation.component.html',
styleUrls: ['./text-hyphenation.component.scss']
})
Expand Down
@@ -1,7 +1,7 @@
import { Component } from '@angular/core';

@Component({
selector: 'text-max-lines',
selector: 'fd-text-max-lines',
templateUrl: './text-max-lines.component.html'
})
export class TextMaxLinesComponent {
Expand Down
@@ -1,7 +1,7 @@
import { Component } from '@angular/core';

@Component({
selector: 'text-whitespaces',
selector: 'fd-text-whitespaces',
templateUrl: './text-whitespaces.component.html'
})
export class TextWhitespacesComponent {
Expand Down
Expand Up @@ -2,7 +2,7 @@
Text basic example
</fd-docs-section-title>
<component-example>
<text-basic></text-basic>
<fd-text-basic></fd-text-basic>
</component-example>
<code-example [exampleFiles]="textBasic"></code-example>

Expand All @@ -12,7 +12,7 @@
Text whitespaces example
</fd-docs-section-title>
<component-example>
<text-whitespaces></text-whitespaces>
<fd-text-whitespaces></fd-text-whitespaces>
</component-example>
<code-example [exampleFiles]="textWhitespaces"></code-example>

Expand All @@ -22,7 +22,7 @@
Text Max lines example
</fd-docs-section-title>
<component-example>
<text-max-lines></text-max-lines>
<fd-text-max-lines></fd-text-max-lines>
</component-example>
<code-example [exampleFiles]="textMaxLines"></code-example>

Expand All @@ -36,7 +36,7 @@
<a href="https://developer.mozilla.org/en-US/docs/Web/CSS/hyphens">MDN hyphens</a>
</description>
<component-example>
<text-hyphenation></text-hyphenation>
<fd-text-hyphenation></fd-text-hyphenation>
</component-example>
<code-example [exampleFiles]="textHyphenation"></code-example>

Expand All @@ -46,7 +46,7 @@
Text Expandable example
</fd-docs-section-title>
<component-example>
<text-expandable></text-expandable>
<fd-text-expandable></fd-text-expandable>
</component-example>
<code-example [exampleFiles]="textExpandable"></code-example>

Expand Down
Expand Up @@ -57,18 +57,14 @@ export class TextDocsComponent {
{
language: 'html',
code: textHyphenationHtml,
fileName: 'text-hyphenation'
fileName: 'text-hyphenation',
scssFileCode: textHyphenationScss
},
{
language: 'typescript',
code: textHyphenationTs,
component: 'TextHyphenationComponent',
fileName: 'text-hyphenation'
},
{
language: 'scss',
code: textHyphenationScss,
fileName: 'text-hyphenation'
}
];

Expand Down

0 comments on commit 1b0e83e

Please sign in to comment.