From 52e3c27d1acc84ff67fd0d5f2a8ff8463d8df0e7 Mon Sep 17 00:00:00 2001 From: Brandy Carney <6577830+brandyscarney@users.noreply.github.com> Date: Wed, 18 Dec 2024 19:06:46 -0500 Subject: [PATCH 1/3] docs(badge): update angular to standalone --- .../basic/angular/example_component_html.md | 12 ++++++++ .../basic/angular/example_component_ts.md | 11 ++++++++ static/usage/v7/badge/basic/index.md | 20 +++++++++++-- .../colors/angular/example_component_html.md | 28 +++++++++++++++++++ .../colors/angular/example_component_ts.md | 11 ++++++++ static/usage/v7/badge/theming/colors/index.md | 16 +++++++++-- .../basic/angular/example_component_html.md | 12 ++++++++ .../basic/angular/example_component_ts.md | 11 ++++++++ static/usage/v8/badge/basic/index.md | 20 +++++++++++-- .../colors/angular/example_component_html.md | 28 +++++++++++++++++++ .../colors/angular/example_component_ts.md | 11 ++++++++ static/usage/v8/badge/theming/colors/index.md | 16 +++++++++-- 12 files changed, 188 insertions(+), 8 deletions(-) create mode 100644 static/usage/v7/badge/basic/angular/example_component_html.md create mode 100644 static/usage/v7/badge/basic/angular/example_component_ts.md create mode 100644 static/usage/v7/badge/theming/colors/angular/example_component_html.md create mode 100644 static/usage/v7/badge/theming/colors/angular/example_component_ts.md create mode 100644 static/usage/v8/badge/basic/angular/example_component_html.md create mode 100644 static/usage/v8/badge/basic/angular/example_component_ts.md create mode 100644 static/usage/v8/badge/theming/colors/angular/example_component_html.md create mode 100644 static/usage/v8/badge/theming/colors/angular/example_component_ts.md diff --git a/static/usage/v7/badge/basic/angular/example_component_html.md b/static/usage/v7/badge/basic/angular/example_component_html.md new file mode 100644 index 00000000000..9f8de1ff7eb --- /dev/null +++ b/static/usage/v7/badge/basic/angular/example_component_html.md @@ -0,0 +1,12 @@ +```html + + + 11 + Badge in start slot + + + 22 + Badge in end slot + + +``` diff --git a/static/usage/v7/badge/basic/angular/example_component_ts.md b/static/usage/v7/badge/basic/angular/example_component_ts.md new file mode 100644 index 00000000000..646b91776fd --- /dev/null +++ b/static/usage/v7/badge/basic/angular/example_component_ts.md @@ -0,0 +1,11 @@ +```ts +import { Component } from '@angular/core'; +import { IonBadge, IonItem, IonLabel, IonList } from '@ionic/angular/standalone'; + +@Component({ + selector: 'app-example', + templateUrl: 'example.component.html', + imports: [IonBadge, IonItem, IonLabel, IonList], +}) +export class ExampleComponent {} +``` diff --git a/static/usage/v7/badge/basic/index.md b/static/usage/v7/badge/basic/index.md index 843c4a046cf..4faf184aeac 100644 --- a/static/usage/v7/badge/basic/index.md +++ b/static/usage/v7/badge/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/badge/theming/colors/angular/example_component_html.md b/static/usage/v7/badge/theming/colors/angular/example_component_html.md new file mode 100644 index 00000000000..bad750b1bfc --- /dev/null +++ b/static/usage/v7/badge/theming/colors/angular/example_component_html.md @@ -0,0 +1,28 @@ +```html + + + Followers + 22k + + + Likes + 118k + + + Stars + 34k + + + Completed + 80 + + + Warnings + 70 + + + Notifications + 1000 + + +``` diff --git a/static/usage/v7/badge/theming/colors/angular/example_component_ts.md b/static/usage/v7/badge/theming/colors/angular/example_component_ts.md new file mode 100644 index 00000000000..646b91776fd --- /dev/null +++ b/static/usage/v7/badge/theming/colors/angular/example_component_ts.md @@ -0,0 +1,11 @@ +```ts +import { Component } from '@angular/core'; +import { IonBadge, IonItem, IonLabel, IonList } from '@ionic/angular/standalone'; + +@Component({ + selector: 'app-example', + templateUrl: 'example.component.html', + imports: [IonBadge, IonItem, IonLabel, IonList], +}) +export class ExampleComponent {} +``` diff --git a/static/usage/v7/badge/theming/colors/index.md b/static/usage/v7/badge/theming/colors/index.md index 1b640d0675b..24e4c355683 100644 --- a/static/usage/v7/badge/theming/colors/index.md +++ b/static/usage/v7/badge/theming/colors/index.md @@ -3,11 +3,23 @@ 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/badge/basic/angular/example_component_html.md b/static/usage/v8/badge/basic/angular/example_component_html.md new file mode 100644 index 00000000000..9f8de1ff7eb --- /dev/null +++ b/static/usage/v8/badge/basic/angular/example_component_html.md @@ -0,0 +1,12 @@ +```html + + + 11 + Badge in start slot + + + 22 + Badge in end slot + + +``` diff --git a/static/usage/v8/badge/basic/angular/example_component_ts.md b/static/usage/v8/badge/basic/angular/example_component_ts.md new file mode 100644 index 00000000000..646b91776fd --- /dev/null +++ b/static/usage/v8/badge/basic/angular/example_component_ts.md @@ -0,0 +1,11 @@ +```ts +import { Component } from '@angular/core'; +import { IonBadge, IonItem, IonLabel, IonList } from '@ionic/angular/standalone'; + +@Component({ + selector: 'app-example', + templateUrl: 'example.component.html', + imports: [IonBadge, IonItem, IonLabel, IonList], +}) +export class ExampleComponent {} +``` diff --git a/static/usage/v8/badge/basic/index.md b/static/usage/v8/badge/basic/index.md index 6c15d3150c4..058f7ff3626 100644 --- a/static/usage/v8/badge/basic/index.md +++ b/static/usage/v8/badge/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/v8/badge/theming/colors/angular/example_component_html.md b/static/usage/v8/badge/theming/colors/angular/example_component_html.md new file mode 100644 index 00000000000..bad750b1bfc --- /dev/null +++ b/static/usage/v8/badge/theming/colors/angular/example_component_html.md @@ -0,0 +1,28 @@ +```html + + + Followers + 22k + + + Likes + 118k + + + Stars + 34k + + + Completed + 80 + + + Warnings + 70 + + + Notifications + 1000 + + +``` diff --git a/static/usage/v8/badge/theming/colors/angular/example_component_ts.md b/static/usage/v8/badge/theming/colors/angular/example_component_ts.md new file mode 100644 index 00000000000..646b91776fd --- /dev/null +++ b/static/usage/v8/badge/theming/colors/angular/example_component_ts.md @@ -0,0 +1,11 @@ +```ts +import { Component } from '@angular/core'; +import { IonBadge, IonItem, IonLabel, IonList } from '@ionic/angular/standalone'; + +@Component({ + selector: 'app-example', + templateUrl: 'example.component.html', + imports: [IonBadge, IonItem, IonLabel, IonList], +}) +export class ExampleComponent {} +``` diff --git a/static/usage/v8/badge/theming/colors/index.md b/static/usage/v8/badge/theming/colors/index.md index dedf7570d7f..ebb93bc7a14 100644 --- a/static/usage/v8/badge/theming/colors/index.md +++ b/static/usage/v8/badge/theming/colors/index.md @@ -3,11 +3,23 @@ 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'; From 182f7b3fcd09fea57936990e2eb70420113c1a6b Mon Sep 17 00:00:00 2001 From: Brandy Carney <6577830+brandyscarney@users.noreply.github.com> Date: Fri, 20 Dec 2024 12:29:10 -0500 Subject: [PATCH 2/3] docs(badge): update angular to standalone --- static/usage/v7/badge/basic/angular.md | 12 -------- .../usage/v7/badge/theming/colors/angular.md | 28 ------------------- .../angular/example_component_ts.md | 11 ++++++++ .../v7/badge/theming/css-properties/index.md | 2 ++ static/usage/v8/badge/basic/angular.md | 12 -------- .../usage/v8/badge/theming/colors/angular.md | 28 ------------------- .../angular/example_component_ts.md | 11 ++++++++ .../v8/badge/theming/css-properties/index.md | 2 ++ 8 files changed, 26 insertions(+), 80 deletions(-) delete mode 100644 static/usage/v7/badge/basic/angular.md delete mode 100644 static/usage/v7/badge/theming/colors/angular.md create mode 100644 static/usage/v7/badge/theming/css-properties/angular/example_component_ts.md delete mode 100644 static/usage/v8/badge/basic/angular.md delete mode 100644 static/usage/v8/badge/theming/colors/angular.md create mode 100644 static/usage/v8/badge/theming/css-properties/angular/example_component_ts.md diff --git a/static/usage/v7/badge/basic/angular.md b/static/usage/v7/badge/basic/angular.md deleted file mode 100644 index 9f8de1ff7eb..00000000000 --- a/static/usage/v7/badge/basic/angular.md +++ /dev/null @@ -1,12 +0,0 @@ -```html - - - 11 - Badge in start slot - - - 22 - Badge in end slot - - -``` diff --git a/static/usage/v7/badge/theming/colors/angular.md b/static/usage/v7/badge/theming/colors/angular.md deleted file mode 100644 index bad750b1bfc..00000000000 --- a/static/usage/v7/badge/theming/colors/angular.md +++ /dev/null @@ -1,28 +0,0 @@ -```html - - - Followers - 22k - - - Likes - 118k - - - Stars - 34k - - - Completed - 80 - - - Warnings - 70 - - - Notifications - 1000 - - -``` diff --git a/static/usage/v7/badge/theming/css-properties/angular/example_component_ts.md b/static/usage/v7/badge/theming/css-properties/angular/example_component_ts.md new file mode 100644 index 00000000000..646b91776fd --- /dev/null +++ b/static/usage/v7/badge/theming/css-properties/angular/example_component_ts.md @@ -0,0 +1,11 @@ +```ts +import { Component } from '@angular/core'; +import { IonBadge, IonItem, IonLabel, IonList } from '@ionic/angular/standalone'; + +@Component({ + selector: 'app-example', + templateUrl: 'example.component.html', + imports: [IonBadge, IonItem, IonLabel, IonList], +}) +export class ExampleComponent {} +``` diff --git a/static/usage/v7/badge/theming/css-properties/index.md b/static/usage/v7/badge/theming/css-properties/index.md index 3fdf7e333a1..427b06d5336 100644 --- a/static/usage/v7/badge/theming/css-properties/index.md +++ b/static/usage/v7/badge/theming/css-properties/index.md @@ -8,6 +8,7 @@ import react_main_css from './react/main_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'; - - 11 - Badge in start slot - - - 22 - Badge in end slot - - -``` diff --git a/static/usage/v8/badge/theming/colors/angular.md b/static/usage/v8/badge/theming/colors/angular.md deleted file mode 100644 index bad750b1bfc..00000000000 --- a/static/usage/v8/badge/theming/colors/angular.md +++ /dev/null @@ -1,28 +0,0 @@ -```html - - - Followers - 22k - - - Likes - 118k - - - Stars - 34k - - - Completed - 80 - - - Warnings - 70 - - - Notifications - 1000 - - -``` diff --git a/static/usage/v8/badge/theming/css-properties/angular/example_component_ts.md b/static/usage/v8/badge/theming/css-properties/angular/example_component_ts.md new file mode 100644 index 00000000000..646b91776fd --- /dev/null +++ b/static/usage/v8/badge/theming/css-properties/angular/example_component_ts.md @@ -0,0 +1,11 @@ +```ts +import { Component } from '@angular/core'; +import { IonBadge, IonItem, IonLabel, IonList } from '@ionic/angular/standalone'; + +@Component({ + selector: 'app-example', + templateUrl: 'example.component.html', + imports: [IonBadge, IonItem, IonLabel, IonList], +}) +export class ExampleComponent {} +``` diff --git a/static/usage/v8/badge/theming/css-properties/index.md b/static/usage/v8/badge/theming/css-properties/index.md index f52a73262c7..73f088f4aa6 100644 --- a/static/usage/v8/badge/theming/css-properties/index.md +++ b/static/usage/v8/badge/theming/css-properties/index.md @@ -8,6 +8,7 @@ import react_main_css from './react/main_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'; Date: Fri, 20 Dec 2024 14:52:47 -0500 Subject: [PATCH 3/3] docs(badge): update angular to standalone --- static/usage/v7/badge/basic/angular/example_component_ts.md | 1 + .../v7/badge/theming/colors/angular/example_component_ts.md | 1 + .../badge/theming/css-properties/angular/example_component_ts.md | 1 + static/usage/v8/badge/basic/angular/example_component_ts.md | 1 + .../v8/badge/theming/colors/angular/example_component_ts.md | 1 + .../badge/theming/css-properties/angular/example_component_ts.md | 1 + 6 files changed, 6 insertions(+) diff --git a/static/usage/v7/badge/basic/angular/example_component_ts.md b/static/usage/v7/badge/basic/angular/example_component_ts.md index 646b91776fd..73c490c2240 100644 --- a/static/usage/v7/badge/basic/angular/example_component_ts.md +++ b/static/usage/v7/badge/basic/angular/example_component_ts.md @@ -5,6 +5,7 @@ import { IonBadge, IonItem, IonLabel, IonList } from '@ionic/angular/standalone' @Component({ selector: 'app-example', templateUrl: 'example.component.html', + styleUrls: ['example.component.css'], imports: [IonBadge, IonItem, IonLabel, IonList], }) export class ExampleComponent {} diff --git a/static/usage/v7/badge/theming/colors/angular/example_component_ts.md b/static/usage/v7/badge/theming/colors/angular/example_component_ts.md index 646b91776fd..73c490c2240 100644 --- a/static/usage/v7/badge/theming/colors/angular/example_component_ts.md +++ b/static/usage/v7/badge/theming/colors/angular/example_component_ts.md @@ -5,6 +5,7 @@ import { IonBadge, IonItem, IonLabel, IonList } from '@ionic/angular/standalone' @Component({ selector: 'app-example', templateUrl: 'example.component.html', + styleUrls: ['example.component.css'], imports: [IonBadge, IonItem, IonLabel, IonList], }) export class ExampleComponent {} diff --git a/static/usage/v7/badge/theming/css-properties/angular/example_component_ts.md b/static/usage/v7/badge/theming/css-properties/angular/example_component_ts.md index 646b91776fd..73c490c2240 100644 --- a/static/usage/v7/badge/theming/css-properties/angular/example_component_ts.md +++ b/static/usage/v7/badge/theming/css-properties/angular/example_component_ts.md @@ -5,6 +5,7 @@ import { IonBadge, IonItem, IonLabel, IonList } from '@ionic/angular/standalone' @Component({ selector: 'app-example', templateUrl: 'example.component.html', + styleUrls: ['example.component.css'], imports: [IonBadge, IonItem, IonLabel, IonList], }) export class ExampleComponent {} diff --git a/static/usage/v8/badge/basic/angular/example_component_ts.md b/static/usage/v8/badge/basic/angular/example_component_ts.md index 646b91776fd..73c490c2240 100644 --- a/static/usage/v8/badge/basic/angular/example_component_ts.md +++ b/static/usage/v8/badge/basic/angular/example_component_ts.md @@ -5,6 +5,7 @@ import { IonBadge, IonItem, IonLabel, IonList } from '@ionic/angular/standalone' @Component({ selector: 'app-example', templateUrl: 'example.component.html', + styleUrls: ['example.component.css'], imports: [IonBadge, IonItem, IonLabel, IonList], }) export class ExampleComponent {} diff --git a/static/usage/v8/badge/theming/colors/angular/example_component_ts.md b/static/usage/v8/badge/theming/colors/angular/example_component_ts.md index 646b91776fd..73c490c2240 100644 --- a/static/usage/v8/badge/theming/colors/angular/example_component_ts.md +++ b/static/usage/v8/badge/theming/colors/angular/example_component_ts.md @@ -5,6 +5,7 @@ import { IonBadge, IonItem, IonLabel, IonList } from '@ionic/angular/standalone' @Component({ selector: 'app-example', templateUrl: 'example.component.html', + styleUrls: ['example.component.css'], imports: [IonBadge, IonItem, IonLabel, IonList], }) export class ExampleComponent {} diff --git a/static/usage/v8/badge/theming/css-properties/angular/example_component_ts.md b/static/usage/v8/badge/theming/css-properties/angular/example_component_ts.md index 646b91776fd..73c490c2240 100644 --- a/static/usage/v8/badge/theming/css-properties/angular/example_component_ts.md +++ b/static/usage/v8/badge/theming/css-properties/angular/example_component_ts.md @@ -5,6 +5,7 @@ import { IonBadge, IonItem, IonLabel, IonList } from '@ionic/angular/standalone' @Component({ selector: 'app-example', templateUrl: 'example.component.html', + styleUrls: ['example.component.css'], imports: [IonBadge, IonItem, IonLabel, IonList], }) export class ExampleComponent {}