From 0d18ed12d75a997626ed176ff10f95284de26192 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mehmet=20=C3=87etin?= <92744169+mehmetcetin01140@users.noreply.github.com> Date: Thu, 21 Mar 2024 11:11:25 +0300 Subject: [PATCH] examples updated --- src/app/showcase/doc/floatlabel/basicdoc.ts | 12 +- src/app/showcase/doc/iconfield/basicdoc.ts | 20 +-- src/app/showcase/doc/iconfield/templatedoc.ts | 132 ++++++++--------- src/app/showcase/doc/inputgroup/basicdoc.ts | 36 ++--- src/app/showcase/doc/inputgroup/buttondoc.ts | 29 ++-- .../showcase/doc/inputgroup/checkboxdoc.ts | 6 - .../showcase/doc/inputgroup/multipledoc.ts | 34 ++--- .../showcase/doc/inputotp/integeronlydoc.ts | 3 +- src/app/showcase/doc/inputotp/sampledoc.ts | 30 ++-- src/app/showcase/doc/inputotp/templatedoc.ts | 16 +-- .../showcase/doc/metergroup/templatedoc.ts | 136 +++++++++--------- src/app/showcase/doc/stepper/verticaldoc.ts | 118 ++++++++------- 12 files changed, 274 insertions(+), 298 deletions(-) diff --git a/src/app/showcase/doc/floatlabel/basicdoc.ts b/src/app/showcase/doc/floatlabel/basicdoc.ts index fd1daa5e369..8e34e9f351b 100644 --- a/src/app/showcase/doc/floatlabel/basicdoc.ts +++ b/src/app/showcase/doc/floatlabel/basicdoc.ts @@ -21,15 +21,15 @@ export class BasicDoc { code: Code = { basic: ` - - + + `, html: `
- - - - + + + +
`, typescript: ` diff --git a/src/app/showcase/doc/iconfield/basicdoc.ts b/src/app/showcase/doc/iconfield/basicdoc.ts index 6096ffd0f4b..05d7afe40e0 100644 --- a/src/app/showcase/doc/iconfield/basicdoc.ts +++ b/src/app/showcase/doc/iconfield/basicdoc.ts @@ -33,22 +33,24 @@ export class BasicDoc { `, + html: `
- - - - - - - + + + + + + +
`, + typescript: ` import { Component } from '@angular/core'; @Component({ - selector: 'iconField-basic-demo', - templateUrl: './iconField-basic-demo.html' + selector: 'iconfield-basic-demo', + templateUrl: './iconfield-basic-demo.html' }) export class IconFieldBasicDemo {}` }; diff --git a/src/app/showcase/doc/iconfield/templatedoc.ts b/src/app/showcase/doc/iconfield/templatedoc.ts index 0c8d390f66b..db612818418 100644 --- a/src/app/showcase/doc/iconfield/templatedoc.ts +++ b/src/app/showcase/doc/iconfield/templatedoc.ts @@ -43,80 +43,80 @@ import { Code } from '../../domain/code'; - + ` }) export class TemplateDoc { code: Code = { basic: ` - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + `, html: `
- - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + +
`, diff --git a/src/app/showcase/doc/inputgroup/basicdoc.ts b/src/app/showcase/doc/inputgroup/basicdoc.ts index 76393a076b8..1eb5f409b07 100644 --- a/src/app/showcase/doc/inputgroup/basicdoc.ts +++ b/src/app/showcase/doc/inputgroup/basicdoc.ts @@ -14,13 +14,11 @@ import { Code } from '../../domain/code'; - $ .00 - www @@ -37,36 +35,32 @@ export class BasicDoc { - $ .00 - www `, html: `
- - - - - - - - - $ - - .00 - - - - www - - + + + + + + + + $ + + .00 + + + www + +
`, typescript: ` diff --git a/src/app/showcase/doc/inputgroup/buttondoc.ts b/src/app/showcase/doc/inputgroup/buttondoc.ts index d0ce74437d5..e20212f3819 100644 --- a/src/app/showcase/doc/inputgroup/buttondoc.ts +++ b/src/app/showcase/doc/inputgroup/buttondoc.ts @@ -12,12 +12,10 @@ import { Code } from '../../domain/code'; - - @@ -30,31 +28,28 @@ import { Code } from '../../domain/code'; export class ButtonDoc { code: Code = { basic: ` - - - - - - - - - - - - - + + + + + + + + + + + `, + html: `
- - diff --git a/src/app/showcase/doc/inputgroup/checkboxdoc.ts b/src/app/showcase/doc/inputgroup/checkboxdoc.ts index 01179558c45..bd7487bda94 100644 --- a/src/app/showcase/doc/inputgroup/checkboxdoc.ts +++ b/src/app/showcase/doc/inputgroup/checkboxdoc.ts @@ -12,12 +12,10 @@ import { Code } from '../../domain/code'; - - @@ -39,12 +37,10 @@ export class CheckboxDoc { - - @@ -56,12 +52,10 @@ export class CheckboxDoc { - - diff --git a/src/app/showcase/doc/inputgroup/multipledoc.ts b/src/app/showcase/doc/inputgroup/multipledoc.ts index 597b6241ef1..e63714685c7 100644 --- a/src/app/showcase/doc/inputgroup/multipledoc.ts +++ b/src/app/showcase/doc/inputgroup/multipledoc.ts @@ -12,11 +12,9 @@ import { Code } from '../../domain/code'; - - $ .00 @@ -28,33 +26,29 @@ import { Code } from '../../domain/code'; export class MultipleDoc { code: Code = { basic: ` - - - - - - - - - -$ -.00 -`, - - html: `
- - - $ .00 - +`, + + html: `
+ + + + + + + + + $ + .00 +
`, typescript: ` diff --git a/src/app/showcase/doc/inputotp/integeronlydoc.ts b/src/app/showcase/doc/inputotp/integeronlydoc.ts index 06ebc6520f2..1ff970f32ce 100644 --- a/src/app/showcase/doc/inputotp/integeronlydoc.ts +++ b/src/app/showcase/doc/inputotp/integeronlydoc.ts @@ -19,8 +19,7 @@ export class IntegerOnlyDoc { code: Code = { basic: ``, - html: ` -
+ html: `
`, diff --git a/src/app/showcase/doc/inputotp/sampledoc.ts b/src/app/showcase/doc/inputotp/sampledoc.ts index 03dedfd1808..d5b4c8f348b 100644 --- a/src/app/showcase/doc/inputotp/sampledoc.ts +++ b/src/app/showcase/doc/inputotp/sampledoc.ts @@ -89,22 +89,22 @@ export class SampleDoc {
`, html: `
-
-
Authenticate Your Account
-

Please enter the code sent to your phone.

- - - -
- +
+
Authenticate Your Account
+

Please enter the code sent to your phone.

+ + + +
+ +
+
+
+
+ +
- - -
- - -
-
+
`, typescript: ` diff --git a/src/app/showcase/doc/inputotp/templatedoc.ts b/src/app/showcase/doc/inputotp/templatedoc.ts index 8aeef441ba4..db8b0f75930 100644 --- a/src/app/showcase/doc/inputotp/templatedoc.ts +++ b/src/app/showcase/doc/inputotp/templatedoc.ts @@ -44,17 +44,17 @@ export class TemplateDoc { code: Code = { basic: ` - - - -`, - - html: `
- - +`, + + html: `
+ + + + +
`, typescript: ` diff --git a/src/app/showcase/doc/metergroup/templatedoc.ts b/src/app/showcase/doc/metergroup/templatedoc.ts index 6112066e46d..13bbf3016d3 100644 --- a/src/app/showcase/doc/metergroup/templatedoc.ts +++ b/src/app/showcase/doc/metergroup/templatedoc.ts @@ -57,77 +57,77 @@ export class TemplateDoc { code: Code = { basic: ` - -
- - -
-
- {{ meterItem.label }} - {{ meterItem.value }}% -
- - - -
-
-
-
-
- - - - -
- Storage - {{ totalPercent }}% - 1TB -
-
- -
- - -
-
+ +
+ + +
+
+ {{ meterItem.label }} + {{ meterItem.value }}% +
+ + + +
+
+
+
+
+ + + + +
+ Storage + {{ totalPercent }}% + 1TB +
+
+ +
+ + +
+
`, html: `
- - -
- - -
-
- {{ meterItem.label }} - {{ meterItem.value }}% -
- - - -
-
-
-
-
- - - - -
- Storage - {{ totalPercent }}% - 1TB -
-
- -
- - -
-
-
+ + +
+ + +
+
+ {{ meterItem.label }} + {{ meterItem.value }}% +
+ + + +
+
+
+
+
+ + + + +
+ Storage + {{ totalPercent }}% + 1TB +
+
+ +
+ + +
+
+
`, typescript: ` diff --git a/src/app/showcase/doc/stepper/verticaldoc.ts b/src/app/showcase/doc/stepper/verticaldoc.ts index c5d2d1a48e7..9b837be92a6 100644 --- a/src/app/showcase/doc/stepper/verticaldoc.ts +++ b/src/app/showcase/doc/stepper/verticaldoc.ts @@ -45,69 +45,67 @@ import { Code } from '../../domain/code'; export class VerticalDoc { code: Code = { basic: ` - - -
-
Content I
-
-
-
-
- - -
-
Content II
-
-
- -
-
- - -
-
Content III
-
-
-
-
+ + +
+
Content I
+
+
+
+
+ + +
+
Content II
+
+
+ +
+
+ + +
+
Content III
+
+
+
+
`, html: `
- - - -
-
Content I
-
-
-
-
- - - -
-
Content II
-
-
- -
-
- - - -
-
Content III
-
-
-
-
-
+ + + +
+
Content I
+
+
+
+
+ + +
+
Content II
+
+
+ +
+
+ + +
+
Content III
+
+
+
+
+
`, typescript: `