diff --git a/static/usage/v7/chip/basic/angular.md b/static/usage/v7/chip/basic/angular/example_component_html.md similarity index 100% rename from static/usage/v7/chip/basic/angular.md rename to static/usage/v7/chip/basic/angular/example_component_html.md diff --git a/static/usage/v7/chip/basic/angular/example_component_ts.md b/static/usage/v7/chip/basic/angular/example_component_ts.md new file mode 100644 index 00000000000..0cfbf3e1a78 --- /dev/null +++ b/static/usage/v7/chip/basic/angular/example_component_ts.md @@ -0,0 +1,12 @@ +```ts +import { Component } from '@angular/core'; +import { IonChip } from '@ionic/angular/standalone'; + +@Component({ + selector: 'app-example', + templateUrl: 'example.component.html', + styleUrls: ['example.component.css'], + imports: [IonChip], +}) +export class ExampleComponent {} +``` diff --git a/static/usage/v7/chip/basic/index.md b/static/usage/v7/chip/basic/index.md index e605cabed8e..0028e62ec53 100644 --- a/static/usage/v7/chip/basic/index.md +++ b/static/usage/v7/chip/basic/index.md @@ -3,6 +3,22 @@ import Playground from '@site/src/components/global/Playground'; import javascript from './javascript.md'; import react from './react.md'; import vue from './vue.md'; -import angular from './angular.md'; - +import angular_example_component_html from './angular/example_component_html.md'; +import angular_example_component_ts from './angular/example_component_ts.md'; + + diff --git a/static/usage/v7/chip/slots/angular/example_component_ts.md b/static/usage/v7/chip/slots/angular/example_component_ts.md index 6b388ef38d9..5edb3cd8867 100644 --- a/static/usage/v7/chip/slots/angular/example_component_ts.md +++ b/static/usage/v7/chip/slots/angular/example_component_ts.md @@ -1,5 +1,6 @@ ```ts import { Component } from '@angular/core'; +import { IonAvatar, IonChip, IonIcon, IonLabel } from '@ionic/angular/standalone'; import { addIcons } from 'ionicons'; import { close, closeCircle, pin } from 'ionicons/icons'; @@ -8,6 +9,7 @@ import { close, closeCircle, pin } from 'ionicons/icons'; selector: 'app-example', templateUrl: 'example.component.html', styleUrls: ['example.component.css'], + imports: [IonAvatar, IonChip, IonIcon, IonLabel], }) export class ExampleComponent { constructor() { diff --git a/static/usage/v7/chip/theming/colors/angular.md b/static/usage/v7/chip/theming/colors/angular/example_component_html.md similarity index 100% rename from static/usage/v7/chip/theming/colors/angular.md rename to static/usage/v7/chip/theming/colors/angular/example_component_html.md diff --git a/static/usage/v7/chip/theming/colors/angular/example_component_ts.md b/static/usage/v7/chip/theming/colors/angular/example_component_ts.md new file mode 100644 index 00000000000..0cfbf3e1a78 --- /dev/null +++ b/static/usage/v7/chip/theming/colors/angular/example_component_ts.md @@ -0,0 +1,12 @@ +```ts +import { Component } from '@angular/core'; +import { IonChip } from '@ionic/angular/standalone'; + +@Component({ + selector: 'app-example', + templateUrl: 'example.component.html', + styleUrls: ['example.component.css'], + imports: [IonChip], +}) +export class ExampleComponent {} +``` diff --git a/static/usage/v7/chip/theming/colors/index.md b/static/usage/v7/chip/theming/colors/index.md index 08aba14caca..1fef347970a 100644 --- a/static/usage/v7/chip/theming/colors/index.md +++ b/static/usage/v7/chip/theming/colors/index.md @@ -3,6 +3,22 @@ import Playground from '@site/src/components/global/Playground'; import javascript from './javascript.md'; import react from './react.md'; import vue from './vue.md'; -import angular from './angular.md'; - +import angular_example_component_html from './angular/example_component_html.md'; +import angular_example_component_ts from './angular/example_component_ts.md'; + + diff --git a/static/usage/v7/chip/theming/css-properties/angular/example_component_ts.md b/static/usage/v7/chip/theming/css-properties/angular/example_component_ts.md new file mode 100644 index 00000000000..0cfbf3e1a78 --- /dev/null +++ b/static/usage/v7/chip/theming/css-properties/angular/example_component_ts.md @@ -0,0 +1,12 @@ +```ts +import { Component } from '@angular/core'; +import { IonChip } from '@ionic/angular/standalone'; + +@Component({ + selector: 'app-example', + templateUrl: 'example.component.html', + styleUrls: ['example.component.css'], + imports: [IonChip], +}) +export class ExampleComponent {} +``` diff --git a/static/usage/v7/chip/theming/css-properties/index.md b/static/usage/v7/chip/theming/css-properties/index.md index 2ce8f542f9c..29019aac707 100644 --- a/static/usage/v7/chip/theming/css-properties/index.md +++ b/static/usage/v7/chip/theming/css-properties/index.md @@ -7,8 +7,9 @@ import react_main_tsx from './react/main_tsx.md'; import vue from './vue.md'; -import angular_example_component_css from './angular/example_component_css.md'; import angular_example_component_html from './angular/example_component_html.md'; +import angular_example_component_css from './angular/example_component_css.md'; +import angular_example_component_ts from './angular/example_component_ts.md'; +import angular_example_component_html from './angular/example_component_html.md'; +import angular_example_component_ts from './angular/example_component_ts.md'; + + diff --git a/static/usage/v8/chip/slots/angular/example_component_ts.md b/static/usage/v8/chip/slots/angular/example_component_ts.md index 6b388ef38d9..5edb3cd8867 100644 --- a/static/usage/v8/chip/slots/angular/example_component_ts.md +++ b/static/usage/v8/chip/slots/angular/example_component_ts.md @@ -1,5 +1,6 @@ ```ts import { Component } from '@angular/core'; +import { IonAvatar, IonChip, IonIcon, IonLabel } from '@ionic/angular/standalone'; import { addIcons } from 'ionicons'; import { close, closeCircle, pin } from 'ionicons/icons'; @@ -8,6 +9,7 @@ import { close, closeCircle, pin } from 'ionicons/icons'; selector: 'app-example', templateUrl: 'example.component.html', styleUrls: ['example.component.css'], + imports: [IonAvatar, IonChip, IonIcon, IonLabel], }) export class ExampleComponent { constructor() { diff --git a/static/usage/v8/chip/theming/colors/angular.md b/static/usage/v8/chip/theming/colors/angular/example_component_html.md similarity index 100% rename from static/usage/v8/chip/theming/colors/angular.md rename to static/usage/v8/chip/theming/colors/angular/example_component_html.md diff --git a/static/usage/v8/chip/theming/colors/angular/example_component_ts.md b/static/usage/v8/chip/theming/colors/angular/example_component_ts.md new file mode 100644 index 00000000000..0cfbf3e1a78 --- /dev/null +++ b/static/usage/v8/chip/theming/colors/angular/example_component_ts.md @@ -0,0 +1,12 @@ +```ts +import { Component } from '@angular/core'; +import { IonChip } from '@ionic/angular/standalone'; + +@Component({ + selector: 'app-example', + templateUrl: 'example.component.html', + styleUrls: ['example.component.css'], + imports: [IonChip], +}) +export class ExampleComponent {} +``` diff --git a/static/usage/v8/chip/theming/colors/index.md b/static/usage/v8/chip/theming/colors/index.md index e0e5188b2f5..0be46b82fcf 100644 --- a/static/usage/v8/chip/theming/colors/index.md +++ b/static/usage/v8/chip/theming/colors/index.md @@ -3,6 +3,22 @@ import Playground from '@site/src/components/global/Playground'; import javascript from './javascript.md'; import react from './react.md'; import vue from './vue.md'; -import angular from './angular.md'; - +import angular_example_component_html from './angular/example_component_html.md'; +import angular_example_component_ts from './angular/example_component_ts.md'; + + diff --git a/static/usage/v8/chip/theming/css-properties/angular/example_component_ts.md b/static/usage/v8/chip/theming/css-properties/angular/example_component_ts.md new file mode 100644 index 00000000000..0cfbf3e1a78 --- /dev/null +++ b/static/usage/v8/chip/theming/css-properties/angular/example_component_ts.md @@ -0,0 +1,12 @@ +```ts +import { Component } from '@angular/core'; +import { IonChip } from '@ionic/angular/standalone'; + +@Component({ + selector: 'app-example', + templateUrl: 'example.component.html', + styleUrls: ['example.component.css'], + imports: [IonChip], +}) +export class ExampleComponent {} +``` diff --git a/static/usage/v8/chip/theming/css-properties/index.md b/static/usage/v8/chip/theming/css-properties/index.md index 5ddfdd87f3c..26a973eb23d 100644 --- a/static/usage/v8/chip/theming/css-properties/index.md +++ b/static/usage/v8/chip/theming/css-properties/index.md @@ -7,8 +7,9 @@ import react_main_tsx from './react/main_tsx.md'; import vue from './vue.md'; -import angular_example_component_css from './angular/example_component_css.md'; import angular_example_component_html from './angular/example_component_html.md'; +import angular_example_component_css from './angular/example_component_css.md'; +import angular_example_component_ts from './angular/example_component_ts.md';