From 68fc1381532db4ef02e587dca7682df01a317eea Mon Sep 17 00:00:00 2001 From: Brandy Carney <6577830+brandyscarney@users.noreply.github.com> Date: Wed, 18 Dec 2024 19:06:47 -0500 Subject: [PATCH 1/3] docs(checkbox): update angular to standalone --- .../angular/example_component_html.md | 11 ++++++++++ .../alignment/angular/example_component_ts.md | 11 ++++++++++ static/usage/v7/checkbox/alignment/index.md | 11 ++++++++-- .../basic/angular/example_component_html.md | 3 +++ .../basic/angular/example_component_ts.md | 11 ++++++++++ static/usage/v7/checkbox/basic/index.md | 11 ++++++++-- .../angular/example_component_html.md | 3 +++ .../angular/example_component_ts.md | 11 ++++++++++ .../usage/v7/checkbox/indeterminate/index.md | 11 ++++++++-- .../justify/angular/example_component_html.md | 15 ++++++++++++++ .../justify/angular/example_component_ts.md | 11 ++++++++++ static/usage/v7/checkbox/justify/index.md | 20 +++++++++++++++++-- .../angular/example_component_html.md | 3 +++ .../angular/example_component_ts.md | 11 ++++++++++ static/usage/v7/checkbox/label-link/index.md | 11 ++++++++-- .../angular/example_component_html.md | 15 ++++++++++++++ .../angular/example_component_ts.md | 11 ++++++++++ .../v7/checkbox/label-placement/index.md | 20 +++++++++++++++++-- .../angular/example_component_html.md | 11 ++++++++++ .../alignment/angular/example_component_ts.md | 11 ++++++++++ static/usage/v8/checkbox/alignment/index.md | 11 ++++++++-- .../basic/angular/example_component_html.md | 3 +++ .../basic/angular/example_component_ts.md | 11 ++++++++++ static/usage/v8/checkbox/basic/index.md | 11 ++++++++-- .../angular/example_component_html.md | 3 +++ .../angular/example_component_ts.md | 11 ++++++++++ .../usage/v8/checkbox/indeterminate/index.md | 11 ++++++++-- .../justify/angular/example_component_html.md | 15 ++++++++++++++ .../justify/angular/example_component_ts.md | 11 ++++++++++ static/usage/v8/checkbox/justify/index.md | 20 +++++++++++++++++-- .../angular/example_component_html.md | 3 +++ .../angular/example_component_ts.md | 11 ++++++++++ static/usage/v8/checkbox/label-link/index.md | 11 ++++++++-- .../angular/example_component_html.md | 15 ++++++++++++++ .../angular/example_component_ts.md | 11 ++++++++++ .../v8/checkbox/label-placement/index.md | 20 +++++++++++++++++-- 36 files changed, 376 insertions(+), 24 deletions(-) create mode 100644 static/usage/v7/checkbox/alignment/angular/example_component_html.md create mode 100644 static/usage/v7/checkbox/alignment/angular/example_component_ts.md create mode 100644 static/usage/v7/checkbox/basic/angular/example_component_html.md create mode 100644 static/usage/v7/checkbox/basic/angular/example_component_ts.md create mode 100644 static/usage/v7/checkbox/indeterminate/angular/example_component_html.md create mode 100644 static/usage/v7/checkbox/indeterminate/angular/example_component_ts.md create mode 100644 static/usage/v7/checkbox/justify/angular/example_component_html.md create mode 100644 static/usage/v7/checkbox/justify/angular/example_component_ts.md create mode 100644 static/usage/v7/checkbox/label-link/angular/example_component_html.md create mode 100644 static/usage/v7/checkbox/label-link/angular/example_component_ts.md create mode 100644 static/usage/v7/checkbox/label-placement/angular/example_component_html.md create mode 100644 static/usage/v7/checkbox/label-placement/angular/example_component_ts.md create mode 100644 static/usage/v8/checkbox/alignment/angular/example_component_html.md create mode 100644 static/usage/v8/checkbox/alignment/angular/example_component_ts.md create mode 100644 static/usage/v8/checkbox/basic/angular/example_component_html.md create mode 100644 static/usage/v8/checkbox/basic/angular/example_component_ts.md create mode 100644 static/usage/v8/checkbox/indeterminate/angular/example_component_html.md create mode 100644 static/usage/v8/checkbox/indeterminate/angular/example_component_ts.md create mode 100644 static/usage/v8/checkbox/justify/angular/example_component_html.md create mode 100644 static/usage/v8/checkbox/justify/angular/example_component_ts.md create mode 100644 static/usage/v8/checkbox/label-link/angular/example_component_html.md create mode 100644 static/usage/v8/checkbox/label-link/angular/example_component_ts.md create mode 100644 static/usage/v8/checkbox/label-placement/angular/example_component_html.md create mode 100644 static/usage/v8/checkbox/label-placement/angular/example_component_ts.md diff --git a/static/usage/v7/checkbox/alignment/angular/example_component_html.md b/static/usage/v7/checkbox/alignment/angular/example_component_html.md new file mode 100644 index 00000000000..4cb28d1b19b --- /dev/null +++ b/static/usage/v7/checkbox/alignment/angular/example_component_html.md @@ -0,0 +1,11 @@ +```html + + + Aligned to the Start + + + + Aligned to the Center + + +``` diff --git a/static/usage/v7/checkbox/alignment/angular/example_component_ts.md b/static/usage/v7/checkbox/alignment/angular/example_component_ts.md new file mode 100644 index 00000000000..4ac769b770a --- /dev/null +++ b/static/usage/v7/checkbox/alignment/angular/example_component_ts.md @@ -0,0 +1,11 @@ +```ts +import { Component } from '@angular/core'; +import { IonCheckbox, IonItem, IonList } from '@ionic/angular/standalone'; + +@Component({ + selector: 'app-example', + templateUrl: 'example.component.html', + imports: [IonCheckbox, IonItem, IonList], +}) +export class ExampleComponent {} +``` diff --git a/static/usage/v7/checkbox/alignment/index.md b/static/usage/v7/checkbox/alignment/index.md index 80aa3a8c538..72565eb94c1 100644 --- a/static/usage/v7/checkbox/alignment/index.md +++ b/static/usage/v7/checkbox/alignment/index.md @@ -3,7 +3,9 @@ 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/checkbox/basic/angular/example_component_html.md b/static/usage/v7/checkbox/basic/angular/example_component_html.md new file mode 100644 index 00000000000..985ef4cdc1e --- /dev/null +++ b/static/usage/v7/checkbox/basic/angular/example_component_html.md @@ -0,0 +1,3 @@ +```html +I agree to the terms and conditions +``` diff --git a/static/usage/v7/checkbox/basic/angular/example_component_ts.md b/static/usage/v7/checkbox/basic/angular/example_component_ts.md new file mode 100644 index 00000000000..0e92ef96de2 --- /dev/null +++ b/static/usage/v7/checkbox/basic/angular/example_component_ts.md @@ -0,0 +1,11 @@ +```ts +import { Component } from '@angular/core'; +import { IonCheckbox } from '@ionic/angular/standalone'; + +@Component({ + selector: 'app-example', + templateUrl: 'example.component.html', + imports: [IonCheckbox], +}) +export class ExampleComponent {} +``` diff --git a/static/usage/v7/checkbox/basic/index.md b/static/usage/v7/checkbox/basic/index.md index e238ae9c63f..ec6feae0a22 100644 --- a/static/usage/v7/checkbox/basic/index.md +++ b/static/usage/v7/checkbox/basic/index.md @@ -3,7 +3,9 @@ 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/checkbox/indeterminate/angular/example_component_html.md b/static/usage/v7/checkbox/indeterminate/angular/example_component_html.md new file mode 100644 index 00000000000..1ae617e7558 --- /dev/null +++ b/static/usage/v7/checkbox/indeterminate/angular/example_component_html.md @@ -0,0 +1,3 @@ +```html +Indeterminate checkbox +``` diff --git a/static/usage/v7/checkbox/indeterminate/angular/example_component_ts.md b/static/usage/v7/checkbox/indeterminate/angular/example_component_ts.md new file mode 100644 index 00000000000..0e92ef96de2 --- /dev/null +++ b/static/usage/v7/checkbox/indeterminate/angular/example_component_ts.md @@ -0,0 +1,11 @@ +```ts +import { Component } from '@angular/core'; +import { IonCheckbox } from '@ionic/angular/standalone'; + +@Component({ + selector: 'app-example', + templateUrl: 'example.component.html', + imports: [IonCheckbox], +}) +export class ExampleComponent {} +``` diff --git a/static/usage/v7/checkbox/indeterminate/index.md b/static/usage/v7/checkbox/indeterminate/index.md index bcc02a761e7..d28dabb4d30 100644 --- a/static/usage/v7/checkbox/indeterminate/index.md +++ b/static/usage/v7/checkbox/indeterminate/index.md @@ -3,7 +3,9 @@ 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/checkbox/justify/angular/example_component_html.md b/static/usage/v7/checkbox/justify/angular/example_component_html.md new file mode 100644 index 00000000000..9205434ceaa --- /dev/null +++ b/static/usage/v7/checkbox/justify/angular/example_component_html.md @@ -0,0 +1,15 @@ +```html + + + Packed at the Start of Line + + + + Packed at the End of Line + + + + Space Between Label and Control + + +``` diff --git a/static/usage/v7/checkbox/justify/angular/example_component_ts.md b/static/usage/v7/checkbox/justify/angular/example_component_ts.md new file mode 100644 index 00000000000..4ac769b770a --- /dev/null +++ b/static/usage/v7/checkbox/justify/angular/example_component_ts.md @@ -0,0 +1,11 @@ +```ts +import { Component } from '@angular/core'; +import { IonCheckbox, IonItem, IonList } from '@ionic/angular/standalone'; + +@Component({ + selector: 'app-example', + templateUrl: 'example.component.html', + imports: [IonCheckbox, IonItem, IonList], +}) +export class ExampleComponent {} +``` diff --git a/static/usage/v7/checkbox/justify/index.md b/static/usage/v7/checkbox/justify/index.md index 1128d74a9f6..c27af62666b 100644 --- a/static/usage/v7/checkbox/justify/index.md +++ b/static/usage/v7/checkbox/justify/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/checkbox/label-link/angular/example_component_html.md b/static/usage/v7/checkbox/label-link/angular/example_component_html.md new file mode 100644 index 00000000000..34ec3baab77 --- /dev/null +++ b/static/usage/v7/checkbox/label-link/angular/example_component_html.md @@ -0,0 +1,3 @@ +```html +I agree to the terms and conditions +``` diff --git a/static/usage/v7/checkbox/label-link/angular/example_component_ts.md b/static/usage/v7/checkbox/label-link/angular/example_component_ts.md new file mode 100644 index 00000000000..0e92ef96de2 --- /dev/null +++ b/static/usage/v7/checkbox/label-link/angular/example_component_ts.md @@ -0,0 +1,11 @@ +```ts +import { Component } from '@angular/core'; +import { IonCheckbox } from '@ionic/angular/standalone'; + +@Component({ + selector: 'app-example', + templateUrl: 'example.component.html', + imports: [IonCheckbox], +}) +export class ExampleComponent {} +``` diff --git a/static/usage/v7/checkbox/label-link/index.md b/static/usage/v7/checkbox/label-link/index.md index 1e34eef6990..3c7ff7673dd 100644 --- a/static/usage/v7/checkbox/label-link/index.md +++ b/static/usage/v7/checkbox/label-link/index.md @@ -3,7 +3,9 @@ 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/checkbox/label-placement/angular/example_component_html.md b/static/usage/v7/checkbox/label-placement/angular/example_component_html.md new file mode 100644 index 00000000000..154f82929d8 --- /dev/null +++ b/static/usage/v7/checkbox/label-placement/angular/example_component_html.md @@ -0,0 +1,15 @@ +```html +Label at the Start + +
+ +Label at the End + +
+ +Fixed Width Label + +
+ +Stacked Label +``` diff --git a/static/usage/v7/checkbox/label-placement/angular/example_component_ts.md b/static/usage/v7/checkbox/label-placement/angular/example_component_ts.md new file mode 100644 index 00000000000..0e92ef96de2 --- /dev/null +++ b/static/usage/v7/checkbox/label-placement/angular/example_component_ts.md @@ -0,0 +1,11 @@ +```ts +import { Component } from '@angular/core'; +import { IonCheckbox } from '@ionic/angular/standalone'; + +@Component({ + selector: 'app-example', + templateUrl: 'example.component.html', + imports: [IonCheckbox], +}) +export class ExampleComponent {} +``` diff --git a/static/usage/v7/checkbox/label-placement/index.md b/static/usage/v7/checkbox/label-placement/index.md index 2534249529a..96474facc29 100644 --- a/static/usage/v7/checkbox/label-placement/index.md +++ b/static/usage/v7/checkbox/label-placement/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/checkbox/alignment/angular/example_component_html.md b/static/usage/v8/checkbox/alignment/angular/example_component_html.md new file mode 100644 index 00000000000..4cb28d1b19b --- /dev/null +++ b/static/usage/v8/checkbox/alignment/angular/example_component_html.md @@ -0,0 +1,11 @@ +```html + + + Aligned to the Start + + + + Aligned to the Center + + +``` diff --git a/static/usage/v8/checkbox/alignment/angular/example_component_ts.md b/static/usage/v8/checkbox/alignment/angular/example_component_ts.md new file mode 100644 index 00000000000..4ac769b770a --- /dev/null +++ b/static/usage/v8/checkbox/alignment/angular/example_component_ts.md @@ -0,0 +1,11 @@ +```ts +import { Component } from '@angular/core'; +import { IonCheckbox, IonItem, IonList } from '@ionic/angular/standalone'; + +@Component({ + selector: 'app-example', + templateUrl: 'example.component.html', + imports: [IonCheckbox, IonItem, IonList], +}) +export class ExampleComponent {} +``` diff --git a/static/usage/v8/checkbox/alignment/index.md b/static/usage/v8/checkbox/alignment/index.md index 5192cffcfbd..6b3fca2227a 100644 --- a/static/usage/v8/checkbox/alignment/index.md +++ b/static/usage/v8/checkbox/alignment/index.md @@ -3,7 +3,9 @@ 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/checkbox/basic/angular/example_component_html.md b/static/usage/v8/checkbox/basic/angular/example_component_html.md new file mode 100644 index 00000000000..985ef4cdc1e --- /dev/null +++ b/static/usage/v8/checkbox/basic/angular/example_component_html.md @@ -0,0 +1,3 @@ +```html +I agree to the terms and conditions +``` diff --git a/static/usage/v8/checkbox/basic/angular/example_component_ts.md b/static/usage/v8/checkbox/basic/angular/example_component_ts.md new file mode 100644 index 00000000000..0e92ef96de2 --- /dev/null +++ b/static/usage/v8/checkbox/basic/angular/example_component_ts.md @@ -0,0 +1,11 @@ +```ts +import { Component } from '@angular/core'; +import { IonCheckbox } from '@ionic/angular/standalone'; + +@Component({ + selector: 'app-example', + templateUrl: 'example.component.html', + imports: [IonCheckbox], +}) +export class ExampleComponent {} +``` diff --git a/static/usage/v8/checkbox/basic/index.md b/static/usage/v8/checkbox/basic/index.md index 7eac2e6b127..686e0827984 100644 --- a/static/usage/v8/checkbox/basic/index.md +++ b/static/usage/v8/checkbox/basic/index.md @@ -3,7 +3,9 @@ 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/checkbox/indeterminate/angular/example_component_html.md b/static/usage/v8/checkbox/indeterminate/angular/example_component_html.md new file mode 100644 index 00000000000..1ae617e7558 --- /dev/null +++ b/static/usage/v8/checkbox/indeterminate/angular/example_component_html.md @@ -0,0 +1,3 @@ +```html +Indeterminate checkbox +``` diff --git a/static/usage/v8/checkbox/indeterminate/angular/example_component_ts.md b/static/usage/v8/checkbox/indeterminate/angular/example_component_ts.md new file mode 100644 index 00000000000..0e92ef96de2 --- /dev/null +++ b/static/usage/v8/checkbox/indeterminate/angular/example_component_ts.md @@ -0,0 +1,11 @@ +```ts +import { Component } from '@angular/core'; +import { IonCheckbox } from '@ionic/angular/standalone'; + +@Component({ + selector: 'app-example', + templateUrl: 'example.component.html', + imports: [IonCheckbox], +}) +export class ExampleComponent {} +``` diff --git a/static/usage/v8/checkbox/indeterminate/index.md b/static/usage/v8/checkbox/indeterminate/index.md index 5ab8784522c..43514e0b2df 100644 --- a/static/usage/v8/checkbox/indeterminate/index.md +++ b/static/usage/v8/checkbox/indeterminate/index.md @@ -3,7 +3,9 @@ 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/checkbox/justify/angular/example_component_html.md b/static/usage/v8/checkbox/justify/angular/example_component_html.md new file mode 100644 index 00000000000..9205434ceaa --- /dev/null +++ b/static/usage/v8/checkbox/justify/angular/example_component_html.md @@ -0,0 +1,15 @@ +```html + + + Packed at the Start of Line + + + + Packed at the End of Line + + + + Space Between Label and Control + + +``` diff --git a/static/usage/v8/checkbox/justify/angular/example_component_ts.md b/static/usage/v8/checkbox/justify/angular/example_component_ts.md new file mode 100644 index 00000000000..4ac769b770a --- /dev/null +++ b/static/usage/v8/checkbox/justify/angular/example_component_ts.md @@ -0,0 +1,11 @@ +```ts +import { Component } from '@angular/core'; +import { IonCheckbox, IonItem, IonList } from '@ionic/angular/standalone'; + +@Component({ + selector: 'app-example', + templateUrl: 'example.component.html', + imports: [IonCheckbox, IonItem, IonList], +}) +export class ExampleComponent {} +``` diff --git a/static/usage/v8/checkbox/justify/index.md b/static/usage/v8/checkbox/justify/index.md index 2e08aaf0b79..1df7c12e5d2 100644 --- a/static/usage/v8/checkbox/justify/index.md +++ b/static/usage/v8/checkbox/justify/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/checkbox/label-link/angular/example_component_html.md b/static/usage/v8/checkbox/label-link/angular/example_component_html.md new file mode 100644 index 00000000000..34ec3baab77 --- /dev/null +++ b/static/usage/v8/checkbox/label-link/angular/example_component_html.md @@ -0,0 +1,3 @@ +```html +I agree to the terms and conditions +``` diff --git a/static/usage/v8/checkbox/label-link/angular/example_component_ts.md b/static/usage/v8/checkbox/label-link/angular/example_component_ts.md new file mode 100644 index 00000000000..0e92ef96de2 --- /dev/null +++ b/static/usage/v8/checkbox/label-link/angular/example_component_ts.md @@ -0,0 +1,11 @@ +```ts +import { Component } from '@angular/core'; +import { IonCheckbox } from '@ionic/angular/standalone'; + +@Component({ + selector: 'app-example', + templateUrl: 'example.component.html', + imports: [IonCheckbox], +}) +export class ExampleComponent {} +``` diff --git a/static/usage/v8/checkbox/label-link/index.md b/static/usage/v8/checkbox/label-link/index.md index c368f3c3747..c6b6e82a833 100644 --- a/static/usage/v8/checkbox/label-link/index.md +++ b/static/usage/v8/checkbox/label-link/index.md @@ -3,7 +3,9 @@ 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/checkbox/label-placement/angular/example_component_html.md b/static/usage/v8/checkbox/label-placement/angular/example_component_html.md new file mode 100644 index 00000000000..154f82929d8 --- /dev/null +++ b/static/usage/v8/checkbox/label-placement/angular/example_component_html.md @@ -0,0 +1,15 @@ +```html +Label at the Start + +
+ +Label at the End + +
+ +Fixed Width Label + +
+ +Stacked Label +``` diff --git a/static/usage/v8/checkbox/label-placement/angular/example_component_ts.md b/static/usage/v8/checkbox/label-placement/angular/example_component_ts.md new file mode 100644 index 00000000000..0e92ef96de2 --- /dev/null +++ b/static/usage/v8/checkbox/label-placement/angular/example_component_ts.md @@ -0,0 +1,11 @@ +```ts +import { Component } from '@angular/core'; +import { IonCheckbox } from '@ionic/angular/standalone'; + +@Component({ + selector: 'app-example', + templateUrl: 'example.component.html', + imports: [IonCheckbox], +}) +export class ExampleComponent {} +``` diff --git a/static/usage/v8/checkbox/label-placement/index.md b/static/usage/v8/checkbox/label-placement/index.md index 90a28f06693..70e3ed29e3e 100644 --- a/static/usage/v8/checkbox/label-placement/index.md +++ b/static/usage/v8/checkbox/label-placement/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'; + + From 0511f788cec0b3576a536f3815a8442c5d91b9dd Mon Sep 17 00:00:00 2001 From: Brandy Carney <6577830+brandyscarney@users.noreply.github.com> Date: Fri, 20 Dec 2024 14:59:20 -0500 Subject: [PATCH 2/3] docs(checkbox): update angular to standalone --- .../usage/v7/checkbox/alignment/angular/example_component_ts.md | 1 + static/usage/v7/checkbox/basic/angular/example_component_ts.md | 1 + .../v7/checkbox/indeterminate/angular/example_component_ts.md | 1 + static/usage/v7/checkbox/justify/angular/example_component_ts.md | 1 + .../usage/v7/checkbox/label-link/angular/example_component_ts.md | 1 + .../v7/checkbox/label-placement/angular/example_component_ts.md | 1 + .../usage/v8/checkbox/alignment/angular/example_component_ts.md | 1 + static/usage/v8/checkbox/basic/angular/example_component_ts.md | 1 + .../v8/checkbox/indeterminate/angular/example_component_ts.md | 1 + static/usage/v8/checkbox/justify/angular/example_component_ts.md | 1 + .../usage/v8/checkbox/label-link/angular/example_component_ts.md | 1 + .../v8/checkbox/label-placement/angular/example_component_ts.md | 1 + 12 files changed, 12 insertions(+) diff --git a/static/usage/v7/checkbox/alignment/angular/example_component_ts.md b/static/usage/v7/checkbox/alignment/angular/example_component_ts.md index 4ac769b770a..b6b56f82f51 100644 --- a/static/usage/v7/checkbox/alignment/angular/example_component_ts.md +++ b/static/usage/v7/checkbox/alignment/angular/example_component_ts.md @@ -5,6 +5,7 @@ import { IonCheckbox, IonItem, IonList } from '@ionic/angular/standalone'; @Component({ selector: 'app-example', templateUrl: 'example.component.html', + styleUrls: ['example.component.css'], imports: [IonCheckbox, IonItem, IonList], }) export class ExampleComponent {} diff --git a/static/usage/v7/checkbox/basic/angular/example_component_ts.md b/static/usage/v7/checkbox/basic/angular/example_component_ts.md index 0e92ef96de2..0d67119a86b 100644 --- a/static/usage/v7/checkbox/basic/angular/example_component_ts.md +++ b/static/usage/v7/checkbox/basic/angular/example_component_ts.md @@ -5,6 +5,7 @@ import { IonCheckbox } from '@ionic/angular/standalone'; @Component({ selector: 'app-example', templateUrl: 'example.component.html', + styleUrls: ['example.component.css'], imports: [IonCheckbox], }) export class ExampleComponent {} diff --git a/static/usage/v7/checkbox/indeterminate/angular/example_component_ts.md b/static/usage/v7/checkbox/indeterminate/angular/example_component_ts.md index 0e92ef96de2..0d67119a86b 100644 --- a/static/usage/v7/checkbox/indeterminate/angular/example_component_ts.md +++ b/static/usage/v7/checkbox/indeterminate/angular/example_component_ts.md @@ -5,6 +5,7 @@ import { IonCheckbox } from '@ionic/angular/standalone'; @Component({ selector: 'app-example', templateUrl: 'example.component.html', + styleUrls: ['example.component.css'], imports: [IonCheckbox], }) export class ExampleComponent {} diff --git a/static/usage/v7/checkbox/justify/angular/example_component_ts.md b/static/usage/v7/checkbox/justify/angular/example_component_ts.md index 4ac769b770a..b6b56f82f51 100644 --- a/static/usage/v7/checkbox/justify/angular/example_component_ts.md +++ b/static/usage/v7/checkbox/justify/angular/example_component_ts.md @@ -5,6 +5,7 @@ import { IonCheckbox, IonItem, IonList } from '@ionic/angular/standalone'; @Component({ selector: 'app-example', templateUrl: 'example.component.html', + styleUrls: ['example.component.css'], imports: [IonCheckbox, IonItem, IonList], }) export class ExampleComponent {} diff --git a/static/usage/v7/checkbox/label-link/angular/example_component_ts.md b/static/usage/v7/checkbox/label-link/angular/example_component_ts.md index 0e92ef96de2..0d67119a86b 100644 --- a/static/usage/v7/checkbox/label-link/angular/example_component_ts.md +++ b/static/usage/v7/checkbox/label-link/angular/example_component_ts.md @@ -5,6 +5,7 @@ import { IonCheckbox } from '@ionic/angular/standalone'; @Component({ selector: 'app-example', templateUrl: 'example.component.html', + styleUrls: ['example.component.css'], imports: [IonCheckbox], }) export class ExampleComponent {} diff --git a/static/usage/v7/checkbox/label-placement/angular/example_component_ts.md b/static/usage/v7/checkbox/label-placement/angular/example_component_ts.md index 0e92ef96de2..0d67119a86b 100644 --- a/static/usage/v7/checkbox/label-placement/angular/example_component_ts.md +++ b/static/usage/v7/checkbox/label-placement/angular/example_component_ts.md @@ -5,6 +5,7 @@ import { IonCheckbox } from '@ionic/angular/standalone'; @Component({ selector: 'app-example', templateUrl: 'example.component.html', + styleUrls: ['example.component.css'], imports: [IonCheckbox], }) export class ExampleComponent {} diff --git a/static/usage/v8/checkbox/alignment/angular/example_component_ts.md b/static/usage/v8/checkbox/alignment/angular/example_component_ts.md index 4ac769b770a..b6b56f82f51 100644 --- a/static/usage/v8/checkbox/alignment/angular/example_component_ts.md +++ b/static/usage/v8/checkbox/alignment/angular/example_component_ts.md @@ -5,6 +5,7 @@ import { IonCheckbox, IonItem, IonList } from '@ionic/angular/standalone'; @Component({ selector: 'app-example', templateUrl: 'example.component.html', + styleUrls: ['example.component.css'], imports: [IonCheckbox, IonItem, IonList], }) export class ExampleComponent {} diff --git a/static/usage/v8/checkbox/basic/angular/example_component_ts.md b/static/usage/v8/checkbox/basic/angular/example_component_ts.md index 0e92ef96de2..0d67119a86b 100644 --- a/static/usage/v8/checkbox/basic/angular/example_component_ts.md +++ b/static/usage/v8/checkbox/basic/angular/example_component_ts.md @@ -5,6 +5,7 @@ import { IonCheckbox } from '@ionic/angular/standalone'; @Component({ selector: 'app-example', templateUrl: 'example.component.html', + styleUrls: ['example.component.css'], imports: [IonCheckbox], }) export class ExampleComponent {} diff --git a/static/usage/v8/checkbox/indeterminate/angular/example_component_ts.md b/static/usage/v8/checkbox/indeterminate/angular/example_component_ts.md index 0e92ef96de2..0d67119a86b 100644 --- a/static/usage/v8/checkbox/indeterminate/angular/example_component_ts.md +++ b/static/usage/v8/checkbox/indeterminate/angular/example_component_ts.md @@ -5,6 +5,7 @@ import { IonCheckbox } from '@ionic/angular/standalone'; @Component({ selector: 'app-example', templateUrl: 'example.component.html', + styleUrls: ['example.component.css'], imports: [IonCheckbox], }) export class ExampleComponent {} diff --git a/static/usage/v8/checkbox/justify/angular/example_component_ts.md b/static/usage/v8/checkbox/justify/angular/example_component_ts.md index 4ac769b770a..b6b56f82f51 100644 --- a/static/usage/v8/checkbox/justify/angular/example_component_ts.md +++ b/static/usage/v8/checkbox/justify/angular/example_component_ts.md @@ -5,6 +5,7 @@ import { IonCheckbox, IonItem, IonList } from '@ionic/angular/standalone'; @Component({ selector: 'app-example', templateUrl: 'example.component.html', + styleUrls: ['example.component.css'], imports: [IonCheckbox, IonItem, IonList], }) export class ExampleComponent {} diff --git a/static/usage/v8/checkbox/label-link/angular/example_component_ts.md b/static/usage/v8/checkbox/label-link/angular/example_component_ts.md index 0e92ef96de2..0d67119a86b 100644 --- a/static/usage/v8/checkbox/label-link/angular/example_component_ts.md +++ b/static/usage/v8/checkbox/label-link/angular/example_component_ts.md @@ -5,6 +5,7 @@ import { IonCheckbox } from '@ionic/angular/standalone'; @Component({ selector: 'app-example', templateUrl: 'example.component.html', + styleUrls: ['example.component.css'], imports: [IonCheckbox], }) export class ExampleComponent {} diff --git a/static/usage/v8/checkbox/label-placement/angular/example_component_ts.md b/static/usage/v8/checkbox/label-placement/angular/example_component_ts.md index 0e92ef96de2..0d67119a86b 100644 --- a/static/usage/v8/checkbox/label-placement/angular/example_component_ts.md +++ b/static/usage/v8/checkbox/label-placement/angular/example_component_ts.md @@ -5,6 +5,7 @@ import { IonCheckbox } from '@ionic/angular/standalone'; @Component({ selector: 'app-example', templateUrl: 'example.component.html', + styleUrls: ['example.component.css'], imports: [IonCheckbox], }) export class ExampleComponent {} From 308691fbbe440f1a89213bda45cb49e25cc84b22 Mon Sep 17 00:00:00 2001 From: Brandy Carney <6577830+brandyscarney@users.noreply.github.com> Date: Fri, 20 Dec 2024 16:15:50 -0500 Subject: [PATCH 3/3] docs(checkbox): update angular to standalone --- static/usage/v7/checkbox/alignment/angular.md | 11 ----------- static/usage/v7/checkbox/basic/angular.md | 3 --- static/usage/v7/checkbox/indeterminate/angular.md | 3 --- static/usage/v7/checkbox/justify/angular.md | 15 --------------- static/usage/v7/checkbox/label-link/angular.md | 3 --- .../usage/v7/checkbox/label-placement/angular.md | 15 --------------- .../angular/example_component_ts.md | 12 ++++++++++++ .../v7/checkbox/theming/css-properties/index.md | 2 ++ static/usage/v8/checkbox/alignment/angular.md | 11 ----------- static/usage/v8/checkbox/basic/angular.md | 3 --- static/usage/v8/checkbox/indeterminate/angular.md | 3 --- static/usage/v8/checkbox/justify/angular.md | 15 --------------- static/usage/v8/checkbox/label-link/angular.md | 3 --- .../usage/v8/checkbox/label-placement/angular.md | 15 --------------- .../angular/example_component_ts.md | 12 ++++++++++++ .../v8/checkbox/theming/css-properties/index.md | 2 ++ 16 files changed, 28 insertions(+), 100 deletions(-) delete mode 100644 static/usage/v7/checkbox/alignment/angular.md delete mode 100644 static/usage/v7/checkbox/basic/angular.md delete mode 100644 static/usage/v7/checkbox/indeterminate/angular.md delete mode 100644 static/usage/v7/checkbox/justify/angular.md delete mode 100644 static/usage/v7/checkbox/label-link/angular.md delete mode 100644 static/usage/v7/checkbox/label-placement/angular.md create mode 100644 static/usage/v7/checkbox/theming/css-properties/angular/example_component_ts.md delete mode 100644 static/usage/v8/checkbox/alignment/angular.md delete mode 100644 static/usage/v8/checkbox/basic/angular.md delete mode 100644 static/usage/v8/checkbox/indeterminate/angular.md delete mode 100644 static/usage/v8/checkbox/justify/angular.md delete mode 100644 static/usage/v8/checkbox/label-link/angular.md delete mode 100644 static/usage/v8/checkbox/label-placement/angular.md create mode 100644 static/usage/v8/checkbox/theming/css-properties/angular/example_component_ts.md diff --git a/static/usage/v7/checkbox/alignment/angular.md b/static/usage/v7/checkbox/alignment/angular.md deleted file mode 100644 index 4cb28d1b19b..00000000000 --- a/static/usage/v7/checkbox/alignment/angular.md +++ /dev/null @@ -1,11 +0,0 @@ -```html - - - Aligned to the Start - - - - Aligned to the Center - - -``` diff --git a/static/usage/v7/checkbox/basic/angular.md b/static/usage/v7/checkbox/basic/angular.md deleted file mode 100644 index 985ef4cdc1e..00000000000 --- a/static/usage/v7/checkbox/basic/angular.md +++ /dev/null @@ -1,3 +0,0 @@ -```html -I agree to the terms and conditions -``` diff --git a/static/usage/v7/checkbox/indeterminate/angular.md b/static/usage/v7/checkbox/indeterminate/angular.md deleted file mode 100644 index 1ae617e7558..00000000000 --- a/static/usage/v7/checkbox/indeterminate/angular.md +++ /dev/null @@ -1,3 +0,0 @@ -```html -Indeterminate checkbox -``` diff --git a/static/usage/v7/checkbox/justify/angular.md b/static/usage/v7/checkbox/justify/angular.md deleted file mode 100644 index 9205434ceaa..00000000000 --- a/static/usage/v7/checkbox/justify/angular.md +++ /dev/null @@ -1,15 +0,0 @@ -```html - - - Packed at the Start of Line - - - - Packed at the End of Line - - - - Space Between Label and Control - - -``` diff --git a/static/usage/v7/checkbox/label-link/angular.md b/static/usage/v7/checkbox/label-link/angular.md deleted file mode 100644 index 34ec3baab77..00000000000 --- a/static/usage/v7/checkbox/label-link/angular.md +++ /dev/null @@ -1,3 +0,0 @@ -```html -I agree to the terms and conditions -``` diff --git a/static/usage/v7/checkbox/label-placement/angular.md b/static/usage/v7/checkbox/label-placement/angular.md deleted file mode 100644 index 154f82929d8..00000000000 --- a/static/usage/v7/checkbox/label-placement/angular.md +++ /dev/null @@ -1,15 +0,0 @@ -```html -Label at the Start - -
- -Label at the End - -
- -Fixed Width Label - -
- -Stacked Label -``` diff --git a/static/usage/v7/checkbox/theming/css-properties/angular/example_component_ts.md b/static/usage/v7/checkbox/theming/css-properties/angular/example_component_ts.md new file mode 100644 index 00000000000..0d67119a86b --- /dev/null +++ b/static/usage/v7/checkbox/theming/css-properties/angular/example_component_ts.md @@ -0,0 +1,12 @@ +```ts +import { Component } from '@angular/core'; +import { IonCheckbox } from '@ionic/angular/standalone'; + +@Component({ + selector: 'app-example', + templateUrl: 'example.component.html', + styleUrls: ['example.component.css'], + imports: [IonCheckbox], +}) +export class ExampleComponent {} +``` diff --git a/static/usage/v7/checkbox/theming/css-properties/index.md b/static/usage/v7/checkbox/theming/css-properties/index.md index 51d619f8ccf..d6ae616fd9c 100644 --- a/static/usage/v7/checkbox/theming/css-properties/index.md +++ b/static/usage/v7/checkbox/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'; - - Aligned to the Start - - - - Aligned to the Center - - -``` diff --git a/static/usage/v8/checkbox/basic/angular.md b/static/usage/v8/checkbox/basic/angular.md deleted file mode 100644 index 985ef4cdc1e..00000000000 --- a/static/usage/v8/checkbox/basic/angular.md +++ /dev/null @@ -1,3 +0,0 @@ -```html -I agree to the terms and conditions -``` diff --git a/static/usage/v8/checkbox/indeterminate/angular.md b/static/usage/v8/checkbox/indeterminate/angular.md deleted file mode 100644 index 1ae617e7558..00000000000 --- a/static/usage/v8/checkbox/indeterminate/angular.md +++ /dev/null @@ -1,3 +0,0 @@ -```html -Indeterminate checkbox -``` diff --git a/static/usage/v8/checkbox/justify/angular.md b/static/usage/v8/checkbox/justify/angular.md deleted file mode 100644 index 9205434ceaa..00000000000 --- a/static/usage/v8/checkbox/justify/angular.md +++ /dev/null @@ -1,15 +0,0 @@ -```html - - - Packed at the Start of Line - - - - Packed at the End of Line - - - - Space Between Label and Control - - -``` diff --git a/static/usage/v8/checkbox/label-link/angular.md b/static/usage/v8/checkbox/label-link/angular.md deleted file mode 100644 index 34ec3baab77..00000000000 --- a/static/usage/v8/checkbox/label-link/angular.md +++ /dev/null @@ -1,3 +0,0 @@ -```html -I agree to the terms and conditions -``` diff --git a/static/usage/v8/checkbox/label-placement/angular.md b/static/usage/v8/checkbox/label-placement/angular.md deleted file mode 100644 index 154f82929d8..00000000000 --- a/static/usage/v8/checkbox/label-placement/angular.md +++ /dev/null @@ -1,15 +0,0 @@ -```html -Label at the Start - -
- -Label at the End - -
- -Fixed Width Label - -
- -Stacked Label -``` diff --git a/static/usage/v8/checkbox/theming/css-properties/angular/example_component_ts.md b/static/usage/v8/checkbox/theming/css-properties/angular/example_component_ts.md new file mode 100644 index 00000000000..0d67119a86b --- /dev/null +++ b/static/usage/v8/checkbox/theming/css-properties/angular/example_component_ts.md @@ -0,0 +1,12 @@ +```ts +import { Component } from '@angular/core'; +import { IonCheckbox } from '@ionic/angular/standalone'; + +@Component({ + selector: 'app-example', + templateUrl: 'example.component.html', + styleUrls: ['example.component.css'], + imports: [IonCheckbox], +}) +export class ExampleComponent {} +``` diff --git a/static/usage/v8/checkbox/theming/css-properties/index.md b/static/usage/v8/checkbox/theming/css-properties/index.md index b4a4e04917b..b64b47485a4 100644 --- a/static/usage/v8/checkbox/theming/css-properties/index.md +++ b/static/usage/v8/checkbox/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';