From f9d76dc1a606c01a2823a990f7c5db21fd31f939 Mon Sep 17 00:00:00 2001 From: Brandy Carney <6577830+brandyscarney@users.noreply.github.com> Date: Wed, 18 Dec 2024 19:06:53 -0500 Subject: [PATCH 1/3] docs(item-divider): update angular to standalone --- .../basic/angular/example_component_html.md | 35 +++++++++++++++++++ .../basic/angular/example_component_ts.md | 11 ++++++ static/usage/v7/item-divider/basic/index.md | 16 +++++++-- .../colors/angular/example_component_html.md | 32 +++++++++++++++++ .../colors/angular/example_component_ts.md | 11 ++++++ .../v7/item-divider/theming/colors/index.md | 16 +++++++-- .../basic/angular/example_component_html.md | 35 +++++++++++++++++++ .../basic/angular/example_component_ts.md | 11 ++++++ static/usage/v8/item-divider/basic/index.md | 16 +++++++-- .../colors/angular/example_component_html.md | 32 +++++++++++++++++ .../colors/angular/example_component_ts.md | 11 ++++++ .../v8/item-divider/theming/colors/index.md | 16 +++++++-- 12 files changed, 234 insertions(+), 8 deletions(-) create mode 100644 static/usage/v7/item-divider/basic/angular/example_component_html.md create mode 100644 static/usage/v7/item-divider/basic/angular/example_component_ts.md create mode 100644 static/usage/v7/item-divider/theming/colors/angular/example_component_html.md create mode 100644 static/usage/v7/item-divider/theming/colors/angular/example_component_ts.md create mode 100644 static/usage/v8/item-divider/basic/angular/example_component_html.md create mode 100644 static/usage/v8/item-divider/basic/angular/example_component_ts.md create mode 100644 static/usage/v8/item-divider/theming/colors/angular/example_component_html.md create mode 100644 static/usage/v8/item-divider/theming/colors/angular/example_component_ts.md diff --git a/static/usage/v7/item-divider/basic/angular/example_component_html.md b/static/usage/v7/item-divider/basic/angular/example_component_html.md new file mode 100644 index 00000000000..35dccbdbc88 --- /dev/null +++ b/static/usage/v7/item-divider/basic/angular/example_component_html.md @@ -0,0 +1,35 @@ +```html + + + + Section A + + + + A1 + + + A2 + + + A3 + + + + + + Section B + + + + B1 + + + B2 + + + B3 + + + +``` diff --git a/static/usage/v7/item-divider/basic/angular/example_component_ts.md b/static/usage/v7/item-divider/basic/angular/example_component_ts.md new file mode 100644 index 00000000000..56cd082ef14 --- /dev/null +++ b/static/usage/v7/item-divider/basic/angular/example_component_ts.md @@ -0,0 +1,11 @@ +```ts +import { Component } from '@angular/core'; +import { IonItem, IonItemDivider, IonItemGroup, IonLabel, IonList } from '@ionic/angular/standalone'; + +@Component({ + selector: 'app-example', + templateUrl: 'example.component.html', + imports: [IonItem, IonItemDivider, IonItemGroup, IonLabel, IonList], +}) +export class ExampleComponent {} +``` diff --git a/static/usage/v7/item-divider/basic/index.md b/static/usage/v7/item-divider/basic/index.md index 9c8a9e292be..1415cd6805e 100644 --- a/static/usage/v7/item-divider/basic/index.md +++ b/static/usage/v7/item-divider/basic/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/v7/item-divider/theming/colors/angular/example_component_html.md b/static/usage/v7/item-divider/theming/colors/angular/example_component_html.md new file mode 100644 index 00000000000..e23070ec5a0 --- /dev/null +++ b/static/usage/v7/item-divider/theming/colors/angular/example_component_html.md @@ -0,0 +1,32 @@ +```html + + Default + + + Primary + + + Secondary + + + Tertiary + + + Success + + + Warning + + + Danger + + + Light + + + Medium + + + Dark + +``` diff --git a/static/usage/v7/item-divider/theming/colors/angular/example_component_ts.md b/static/usage/v7/item-divider/theming/colors/angular/example_component_ts.md new file mode 100644 index 00000000000..8b5cc069b6b --- /dev/null +++ b/static/usage/v7/item-divider/theming/colors/angular/example_component_ts.md @@ -0,0 +1,11 @@ +```ts +import { Component } from '@angular/core'; +import { IonItemDivider, IonLabel } from '@ionic/angular/standalone'; + +@Component({ + selector: 'app-example', + templateUrl: 'example.component.html', + imports: [IonItemDivider, IonLabel], +}) +export class ExampleComponent {} +``` diff --git a/static/usage/v7/item-divider/theming/colors/index.md b/static/usage/v7/item-divider/theming/colors/index.md index a728b84c5db..0e3629f0d4e 100644 --- a/static/usage/v7/item-divider/theming/colors/index.md +++ b/static/usage/v7/item-divider/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/item-divider/basic/angular/example_component_html.md b/static/usage/v8/item-divider/basic/angular/example_component_html.md new file mode 100644 index 00000000000..35dccbdbc88 --- /dev/null +++ b/static/usage/v8/item-divider/basic/angular/example_component_html.md @@ -0,0 +1,35 @@ +```html + + + + Section A + + + + A1 + + + A2 + + + A3 + + + + + + Section B + + + + B1 + + + B2 + + + B3 + + + +``` diff --git a/static/usage/v8/item-divider/basic/angular/example_component_ts.md b/static/usage/v8/item-divider/basic/angular/example_component_ts.md new file mode 100644 index 00000000000..56cd082ef14 --- /dev/null +++ b/static/usage/v8/item-divider/basic/angular/example_component_ts.md @@ -0,0 +1,11 @@ +```ts +import { Component } from '@angular/core'; +import { IonItem, IonItemDivider, IonItemGroup, IonLabel, IonList } from '@ionic/angular/standalone'; + +@Component({ + selector: 'app-example', + templateUrl: 'example.component.html', + imports: [IonItem, IonItemDivider, IonItemGroup, IonLabel, IonList], +}) +export class ExampleComponent {} +``` diff --git a/static/usage/v8/item-divider/basic/index.md b/static/usage/v8/item-divider/basic/index.md index be308e5e361..ae41cc694f6 100644 --- a/static/usage/v8/item-divider/basic/index.md +++ b/static/usage/v8/item-divider/basic/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/item-divider/theming/colors/angular/example_component_html.md b/static/usage/v8/item-divider/theming/colors/angular/example_component_html.md new file mode 100644 index 00000000000..e23070ec5a0 --- /dev/null +++ b/static/usage/v8/item-divider/theming/colors/angular/example_component_html.md @@ -0,0 +1,32 @@ +```html + + Default + + + Primary + + + Secondary + + + Tertiary + + + Success + + + Warning + + + Danger + + + Light + + + Medium + + + Dark + +``` diff --git a/static/usage/v8/item-divider/theming/colors/angular/example_component_ts.md b/static/usage/v8/item-divider/theming/colors/angular/example_component_ts.md new file mode 100644 index 00000000000..8b5cc069b6b --- /dev/null +++ b/static/usage/v8/item-divider/theming/colors/angular/example_component_ts.md @@ -0,0 +1,11 @@ +```ts +import { Component } from '@angular/core'; +import { IonItemDivider, IonLabel } from '@ionic/angular/standalone'; + +@Component({ + selector: 'app-example', + templateUrl: 'example.component.html', + imports: [IonItemDivider, IonLabel], +}) +export class ExampleComponent {} +``` diff --git a/static/usage/v8/item-divider/theming/colors/index.md b/static/usage/v8/item-divider/theming/colors/index.md index 95d2d7db318..14b4143f7ab 100644 --- a/static/usage/v8/item-divider/theming/colors/index.md +++ b/static/usage/v8/item-divider/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 2ebae84e226d83abc58e2ff71cedc9d952d927d4 Mon Sep 17 00:00:00 2001 From: Brandy Carney <6577830+brandyscarney@users.noreply.github.com> Date: Fri, 20 Dec 2024 15:06:18 -0500 Subject: [PATCH 2/3] docs(item-divider): update angular to standalone --- .../usage/v7/item-divider/basic/angular/example_component_ts.md | 1 + .../item-divider/theming/colors/angular/example_component_ts.md | 1 + .../usage/v8/item-divider/basic/angular/example_component_ts.md | 1 + .../item-divider/theming/colors/angular/example_component_ts.md | 1 + 4 files changed, 4 insertions(+) diff --git a/static/usage/v7/item-divider/basic/angular/example_component_ts.md b/static/usage/v7/item-divider/basic/angular/example_component_ts.md index 56cd082ef14..1d2ea0f0dbf 100644 --- a/static/usage/v7/item-divider/basic/angular/example_component_ts.md +++ b/static/usage/v7/item-divider/basic/angular/example_component_ts.md @@ -5,6 +5,7 @@ import { IonItem, IonItemDivider, IonItemGroup, IonLabel, IonList } from '@ionic @Component({ selector: 'app-example', templateUrl: 'example.component.html', + styleUrls: ['example.component.css'], imports: [IonItem, IonItemDivider, IonItemGroup, IonLabel, IonList], }) export class ExampleComponent {} diff --git a/static/usage/v7/item-divider/theming/colors/angular/example_component_ts.md b/static/usage/v7/item-divider/theming/colors/angular/example_component_ts.md index 8b5cc069b6b..11c0c268eb1 100644 --- a/static/usage/v7/item-divider/theming/colors/angular/example_component_ts.md +++ b/static/usage/v7/item-divider/theming/colors/angular/example_component_ts.md @@ -5,6 +5,7 @@ import { IonItemDivider, IonLabel } from '@ionic/angular/standalone'; @Component({ selector: 'app-example', templateUrl: 'example.component.html', + styleUrls: ['example.component.css'], imports: [IonItemDivider, IonLabel], }) export class ExampleComponent {} diff --git a/static/usage/v8/item-divider/basic/angular/example_component_ts.md b/static/usage/v8/item-divider/basic/angular/example_component_ts.md index 56cd082ef14..1d2ea0f0dbf 100644 --- a/static/usage/v8/item-divider/basic/angular/example_component_ts.md +++ b/static/usage/v8/item-divider/basic/angular/example_component_ts.md @@ -5,6 +5,7 @@ import { IonItem, IonItemDivider, IonItemGroup, IonLabel, IonList } from '@ionic @Component({ selector: 'app-example', templateUrl: 'example.component.html', + styleUrls: ['example.component.css'], imports: [IonItem, IonItemDivider, IonItemGroup, IonLabel, IonList], }) export class ExampleComponent {} diff --git a/static/usage/v8/item-divider/theming/colors/angular/example_component_ts.md b/static/usage/v8/item-divider/theming/colors/angular/example_component_ts.md index 8b5cc069b6b..11c0c268eb1 100644 --- a/static/usage/v8/item-divider/theming/colors/angular/example_component_ts.md +++ b/static/usage/v8/item-divider/theming/colors/angular/example_component_ts.md @@ -5,6 +5,7 @@ import { IonItemDivider, IonLabel } from '@ionic/angular/standalone'; @Component({ selector: 'app-example', templateUrl: 'example.component.html', + styleUrls: ['example.component.css'], imports: [IonItemDivider, IonLabel], }) export class ExampleComponent {} From 70bbc9d7a6db48cbbb47cee8ee8addf446803f31 Mon Sep 17 00:00:00 2001 From: Brandy Carney <6577830+brandyscarney@users.noreply.github.com> Date: Mon, 23 Dec 2024 18:28:04 -0500 Subject: [PATCH 3/3] docs(item-divider): update angular to standalone --- static/usage/v7/item-divider/basic/angular.md | 35 ------------------- .../v7/item-divider/theming/colors/angular.md | 32 ----------------- .../angular/example_component_ts.md | 12 +++++++ .../theming/css-properties/index.md | 2 ++ static/usage/v8/item-divider/basic/angular.md | 35 ------------------- .../v8/item-divider/theming/colors/angular.md | 32 ----------------- .../angular/example_component_ts.md | 12 +++++++ .../theming/css-properties/index.md | 2 ++ 8 files changed, 28 insertions(+), 134 deletions(-) delete mode 100644 static/usage/v7/item-divider/basic/angular.md delete mode 100644 static/usage/v7/item-divider/theming/colors/angular.md create mode 100644 static/usage/v7/item-divider/theming/css-properties/angular/example_component_ts.md delete mode 100644 static/usage/v8/item-divider/basic/angular.md delete mode 100644 static/usage/v8/item-divider/theming/colors/angular.md create mode 100644 static/usage/v8/item-divider/theming/css-properties/angular/example_component_ts.md diff --git a/static/usage/v7/item-divider/basic/angular.md b/static/usage/v7/item-divider/basic/angular.md deleted file mode 100644 index 35dccbdbc88..00000000000 --- a/static/usage/v7/item-divider/basic/angular.md +++ /dev/null @@ -1,35 +0,0 @@ -```html - - - - Section A - - - - A1 - - - A2 - - - A3 - - - - - - Section B - - - - B1 - - - B2 - - - B3 - - - -``` diff --git a/static/usage/v7/item-divider/theming/colors/angular.md b/static/usage/v7/item-divider/theming/colors/angular.md deleted file mode 100644 index e23070ec5a0..00000000000 --- a/static/usage/v7/item-divider/theming/colors/angular.md +++ /dev/null @@ -1,32 +0,0 @@ -```html - - Default - - - Primary - - - Secondary - - - Tertiary - - - Success - - - Warning - - - Danger - - - Light - - - Medium - - - Dark - -``` diff --git a/static/usage/v7/item-divider/theming/css-properties/angular/example_component_ts.md b/static/usage/v7/item-divider/theming/css-properties/angular/example_component_ts.md new file mode 100644 index 00000000000..11c0c268eb1 --- /dev/null +++ b/static/usage/v7/item-divider/theming/css-properties/angular/example_component_ts.md @@ -0,0 +1,12 @@ +```ts +import { Component } from '@angular/core'; +import { IonItemDivider, IonLabel } from '@ionic/angular/standalone'; + +@Component({ + selector: 'app-example', + templateUrl: 'example.component.html', + styleUrls: ['example.component.css'], + imports: [IonItemDivider, IonLabel], +}) +export class ExampleComponent {} +``` diff --git a/static/usage/v7/item-divider/theming/css-properties/index.md b/static/usage/v7/item-divider/theming/css-properties/index.md index f425706d75d..7ee7eda8a5b 100644 --- a/static/usage/v7/item-divider/theming/css-properties/index.md +++ b/static/usage/v7/item-divider/theming/css-properties/index.md @@ -9,6 +9,7 @@ import vue from './vue.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'; - - - Section A - - - - A1 - - - A2 - - - A3 - - - - - - Section B - - - - B1 - - - B2 - - - B3 - - - -``` diff --git a/static/usage/v8/item-divider/theming/colors/angular.md b/static/usage/v8/item-divider/theming/colors/angular.md deleted file mode 100644 index e23070ec5a0..00000000000 --- a/static/usage/v8/item-divider/theming/colors/angular.md +++ /dev/null @@ -1,32 +0,0 @@ -```html - - Default - - - Primary - - - Secondary - - - Tertiary - - - Success - - - Warning - - - Danger - - - Light - - - Medium - - - Dark - -``` diff --git a/static/usage/v8/item-divider/theming/css-properties/angular/example_component_ts.md b/static/usage/v8/item-divider/theming/css-properties/angular/example_component_ts.md new file mode 100644 index 00000000000..11c0c268eb1 --- /dev/null +++ b/static/usage/v8/item-divider/theming/css-properties/angular/example_component_ts.md @@ -0,0 +1,12 @@ +```ts +import { Component } from '@angular/core'; +import { IonItemDivider, IonLabel } from '@ionic/angular/standalone'; + +@Component({ + selector: 'app-example', + templateUrl: 'example.component.html', + styleUrls: ['example.component.css'], + imports: [IonItemDivider, IonLabel], +}) +export class ExampleComponent {} +``` diff --git a/static/usage/v8/item-divider/theming/css-properties/index.md b/static/usage/v8/item-divider/theming/css-properties/index.md index a275698ebed..d41b02daf22 100644 --- a/static/usage/v8/item-divider/theming/css-properties/index.md +++ b/static/usage/v8/item-divider/theming/css-properties/index.md @@ -9,6 +9,7 @@ import vue from './vue.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';