From a8b0b5688310b112f2fa61c61627152b6e0cea05 Mon Sep 17 00:00:00 2001 From: Brandy Carney <6577830+brandyscarney@users.noreply.github.com> Date: Wed, 18 Dec 2024 19:06:59 -0500 Subject: [PATCH 1/3] docs(range): update angular to standalone --- .../basic/angular/example_component_html.md | 3 +++ .../basic/angular/example_component_ts.md | 11 ++++++++++ static/usage/v7/range/basic/index.md | 20 ++++++++++++++++-- .../angular/example_component_html.md | 3 +++ .../angular/example_component_ts.md | 11 ++++++++++ static/usage/v7/range/dual-knobs/index.md | 20 ++++++++++++++++-- .../angular/example_component_ts.md | 2 ++ .../angular/example_component_ts.md | 2 ++ .../angular/example_component_html.md | 5 +++++ .../angular/example_component_ts.md | 11 ++++++++++ static/usage/v7/range/label-slot/index.md | 20 ++++++++++++++++-- .../labels/angular/example_component_html.md | 15 +++++++++++++ .../labels/angular/example_component_ts.md | 11 ++++++++++ static/usage/v7/range/labels/index.md | 21 +++++++++++++++++-- .../angular/example_component_html.md | 3 +++ .../angular/example_component_ts.md | 11 ++++++++++ .../usage/v7/range/no-visible-label/index.md | 20 ++++++++++++++++-- .../pins/angular/example_component_ts.md | 2 ++ .../slots/angular/example_component_ts.md | 2 ++ .../angular/example_component_html.md | 3 +++ .../angular/example_component_ts.md | 11 ++++++++++ static/usage/v7/range/snapping-ticks/index.md | 20 ++++++++++++++++-- .../basic/angular/example_component_html.md | 3 +++ .../basic/angular/example_component_ts.md | 11 ++++++++++ static/usage/v8/range/basic/index.md | 20 ++++++++++++++++-- .../angular/example_component_html.md | 3 +++ .../angular/example_component_ts.md | 11 ++++++++++ static/usage/v8/range/dual-knobs/index.md | 20 ++++++++++++++++-- .../angular/example_component_ts.md | 2 ++ .../angular/example_component_ts.md | 2 ++ .../angular/example_component_html.md | 5 +++++ .../angular/example_component_ts.md | 11 ++++++++++ static/usage/v8/range/label-slot/index.md | 20 ++++++++++++++++-- .../labels/angular/example_component_html.md | 15 +++++++++++++ .../labels/angular/example_component_ts.md | 11 ++++++++++ static/usage/v8/range/labels/index.md | 21 +++++++++++++++++-- .../angular/example_component_html.md | 3 +++ .../angular/example_component_ts.md | 11 ++++++++++ .../usage/v8/range/no-visible-label/index.md | 20 ++++++++++++++++-- .../pins/angular/example_component_ts.md | 2 ++ .../slots/angular/example_component_ts.md | 2 ++ .../angular/example_component_html.md | 3 +++ .../angular/example_component_ts.md | 11 ++++++++++ static/usage/v8/range/snapping-ticks/index.md | 20 ++++++++++++++++-- 44 files changed, 430 insertions(+), 24 deletions(-) create mode 100644 static/usage/v7/range/basic/angular/example_component_html.md create mode 100644 static/usage/v7/range/basic/angular/example_component_ts.md create mode 100644 static/usage/v7/range/dual-knobs/angular/example_component_html.md create mode 100644 static/usage/v7/range/dual-knobs/angular/example_component_ts.md create mode 100644 static/usage/v7/range/label-slot/angular/example_component_html.md create mode 100644 static/usage/v7/range/label-slot/angular/example_component_ts.md create mode 100644 static/usage/v7/range/labels/angular/example_component_html.md create mode 100644 static/usage/v7/range/labels/angular/example_component_ts.md create mode 100644 static/usage/v7/range/no-visible-label/angular/example_component_html.md create mode 100644 static/usage/v7/range/no-visible-label/angular/example_component_ts.md create mode 100644 static/usage/v7/range/snapping-ticks/angular/example_component_html.md create mode 100644 static/usage/v7/range/snapping-ticks/angular/example_component_ts.md create mode 100644 static/usage/v8/range/basic/angular/example_component_html.md create mode 100644 static/usage/v8/range/basic/angular/example_component_ts.md create mode 100644 static/usage/v8/range/dual-knobs/angular/example_component_html.md create mode 100644 static/usage/v8/range/dual-knobs/angular/example_component_ts.md create mode 100644 static/usage/v8/range/label-slot/angular/example_component_html.md create mode 100644 static/usage/v8/range/label-slot/angular/example_component_ts.md create mode 100644 static/usage/v8/range/labels/angular/example_component_html.md create mode 100644 static/usage/v8/range/labels/angular/example_component_ts.md create mode 100644 static/usage/v8/range/no-visible-label/angular/example_component_html.md create mode 100644 static/usage/v8/range/no-visible-label/angular/example_component_ts.md create mode 100644 static/usage/v8/range/snapping-ticks/angular/example_component_html.md create mode 100644 static/usage/v8/range/snapping-ticks/angular/example_component_ts.md diff --git a/static/usage/v7/range/basic/angular/example_component_html.md b/static/usage/v7/range/basic/angular/example_component_html.md new file mode 100644 index 00000000000..ea96f2e2dd3 --- /dev/null +++ b/static/usage/v7/range/basic/angular/example_component_html.md @@ -0,0 +1,3 @@ +```html + +``` diff --git a/static/usage/v7/range/basic/angular/example_component_ts.md b/static/usage/v7/range/basic/angular/example_component_ts.md new file mode 100644 index 00000000000..6ee507d5642 --- /dev/null +++ b/static/usage/v7/range/basic/angular/example_component_ts.md @@ -0,0 +1,11 @@ +```ts +import { Component } from '@angular/core'; +import { IonRange } from '@ionic/angular/standalone'; + +@Component({ + selector: 'app-example', + templateUrl: 'example.component.html', + imports: [IonRange], +}) +export class ExampleComponent {} +``` diff --git a/static/usage/v7/range/basic/index.md b/static/usage/v7/range/basic/index.md index 49aed4c5b42..c8dfeaf0338 100644 --- a/static/usage/v7/range/basic/index.md +++ b/static/usage/v7/range/basic/index.md @@ -5,6 +5,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/range/dual-knobs/angular/example_component_html.md b/static/usage/v7/range/dual-knobs/angular/example_component_html.md new file mode 100644 index 00000000000..96eb2e59a0e --- /dev/null +++ b/static/usage/v7/range/dual-knobs/angular/example_component_html.md @@ -0,0 +1,3 @@ +```html + +``` diff --git a/static/usage/v7/range/dual-knobs/angular/example_component_ts.md b/static/usage/v7/range/dual-knobs/angular/example_component_ts.md new file mode 100644 index 00000000000..6ee507d5642 --- /dev/null +++ b/static/usage/v7/range/dual-knobs/angular/example_component_ts.md @@ -0,0 +1,11 @@ +```ts +import { Component } from '@angular/core'; +import { IonRange } from '@ionic/angular/standalone'; + +@Component({ + selector: 'app-example', + templateUrl: 'example.component.html', + imports: [IonRange], +}) +export class ExampleComponent {} +``` diff --git a/static/usage/v7/range/dual-knobs/index.md b/static/usage/v7/range/dual-knobs/index.md index ead42b93ad6..66d3a06fe22 100644 --- a/static/usage/v7/range/dual-knobs/index.md +++ b/static/usage/v7/range/dual-knobs/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/range/ion-change-event/angular/example_component_ts.md b/static/usage/v7/range/ion-change-event/angular/example_component_ts.md index 377ccd2dc28..818fed3b9b6 100644 --- a/static/usage/v7/range/ion-change-event/angular/example_component_ts.md +++ b/static/usage/v7/range/ion-change-event/angular/example_component_ts.md @@ -1,11 +1,13 @@ ```ts import { Component } from '@angular/core'; +import { IonRange } from '@ionic/angular/standalone'; import { RangeCustomEvent } from '@ionic/angular'; @Component({ selector: 'app-example', templateUrl: 'example.component.html', + imports: [IonRange], }) export class ExampleComponent { onIonChange(ev: Event) { diff --git a/static/usage/v7/range/ion-knob-move-event/angular/example_component_ts.md b/static/usage/v7/range/ion-knob-move-event/angular/example_component_ts.md index e1b920f66da..ca89d9dfacf 100644 --- a/static/usage/v7/range/ion-knob-move-event/angular/example_component_ts.md +++ b/static/usage/v7/range/ion-knob-move-event/angular/example_component_ts.md @@ -1,11 +1,13 @@ ```ts import { Component } from '@angular/core'; +import { IonRange } from '@ionic/angular/standalone'; import { RangeCustomEvent } from '@ionic/angular'; @Component({ selector: 'app-example', templateUrl: 'example.component.html', + imports: [IonRange], }) export class ExampleComponent { onIonKnobMoveStart(ev: Event) { diff --git a/static/usage/v7/range/label-slot/angular/example_component_html.md b/static/usage/v7/range/label-slot/angular/example_component_html.md new file mode 100644 index 00000000000..a1942046521 --- /dev/null +++ b/static/usage/v7/range/label-slot/angular/example_component_html.md @@ -0,0 +1,5 @@ +```html + +
Label with custom HTML
+
+``` diff --git a/static/usage/v7/range/label-slot/angular/example_component_ts.md b/static/usage/v7/range/label-slot/angular/example_component_ts.md new file mode 100644 index 00000000000..d4babdd27d5 --- /dev/null +++ b/static/usage/v7/range/label-slot/angular/example_component_ts.md @@ -0,0 +1,11 @@ +```ts +import { Component } from '@angular/core'; +import { IonRange, IonText } from '@ionic/angular/standalone'; + +@Component({ + selector: 'app-example', + templateUrl: 'example.component.html', + imports: [IonRange, IonText], +}) +export class ExampleComponent {} +``` diff --git a/static/usage/v7/range/label-slot/index.md b/static/usage/v7/range/label-slot/index.md index f885a98ce72..f778ab0d518 100644 --- a/static/usage/v7/range/label-slot/index.md +++ b/static/usage/v7/range/label-slot/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/range/labels/angular/example_component_html.md b/static/usage/v7/range/labels/angular/example_component_html.md new file mode 100644 index 00000000000..24c92babb74 --- /dev/null +++ b/static/usage/v7/range/labels/angular/example_component_html.md @@ -0,0 +1,15 @@ +```html + + +
+ + + +
+ + + +
+ + +``` diff --git a/static/usage/v7/range/labels/angular/example_component_ts.md b/static/usage/v7/range/labels/angular/example_component_ts.md new file mode 100644 index 00000000000..6ee507d5642 --- /dev/null +++ b/static/usage/v7/range/labels/angular/example_component_ts.md @@ -0,0 +1,11 @@ +```ts +import { Component } from '@angular/core'; +import { IonRange } from '@ionic/angular/standalone'; + +@Component({ + selector: 'app-example', + templateUrl: 'example.component.html', + imports: [IonRange], +}) +export class ExampleComponent {} +``` diff --git a/static/usage/v7/range/labels/index.md b/static/usage/v7/range/labels/index.md index 0a450c0c603..6980824fbe2 100644 --- a/static/usage/v7/range/labels/index.md +++ b/static/usage/v7/range/labels/index.md @@ -3,6 +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/range/no-visible-label/angular/example_component_html.md b/static/usage/v7/range/no-visible-label/angular/example_component_html.md new file mode 100644 index 00000000000..ea96f2e2dd3 --- /dev/null +++ b/static/usage/v7/range/no-visible-label/angular/example_component_html.md @@ -0,0 +1,3 @@ +```html + +``` diff --git a/static/usage/v7/range/no-visible-label/angular/example_component_ts.md b/static/usage/v7/range/no-visible-label/angular/example_component_ts.md new file mode 100644 index 00000000000..6ee507d5642 --- /dev/null +++ b/static/usage/v7/range/no-visible-label/angular/example_component_ts.md @@ -0,0 +1,11 @@ +```ts +import { Component } from '@angular/core'; +import { IonRange } from '@ionic/angular/standalone'; + +@Component({ + selector: 'app-example', + templateUrl: 'example.component.html', + imports: [IonRange], +}) +export class ExampleComponent {} +``` diff --git a/static/usage/v7/range/no-visible-label/index.md b/static/usage/v7/range/no-visible-label/index.md index f23fc3fd998..38c3f06b37e 100644 --- a/static/usage/v7/range/no-visible-label/index.md +++ b/static/usage/v7/range/no-visible-label/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/range/pins/angular/example_component_ts.md b/static/usage/v7/range/pins/angular/example_component_ts.md index 8dc875e1bda..a5b9731620a 100644 --- a/static/usage/v7/range/pins/angular/example_component_ts.md +++ b/static/usage/v7/range/pins/angular/example_component_ts.md @@ -1,9 +1,11 @@ ```ts import { Component } from '@angular/core'; +import { IonRange } from '@ionic/angular/standalone'; @Component({ selector: 'app-example', templateUrl: 'example.component.html', + imports: [IonRange], }) export class ExampleComponent { pinFormatter(value: number) { diff --git a/static/usage/v7/range/slots/angular/example_component_ts.md b/static/usage/v7/range/slots/angular/example_component_ts.md index f61ba54a333..3ada922624c 100644 --- a/static/usage/v7/range/slots/angular/example_component_ts.md +++ b/static/usage/v7/range/slots/angular/example_component_ts.md @@ -1,5 +1,6 @@ ```ts import { Component } from '@angular/core'; +import { IonIcon, IonRange } from '@ionic/angular/standalone'; import { addIcons } from 'ionicons'; import { snowOutline, sunnyOutline } from 'ionicons/icons'; @@ -8,6 +9,7 @@ import { snowOutline, sunnyOutline } from 'ionicons/icons'; selector: 'app-example', templateUrl: 'example.component.html', styleUrls: ['example.component.css'], + imports: [IonIcon, IonRange], }) export class ExampleComponent { constructor() { diff --git a/static/usage/v7/range/snapping-ticks/angular/example_component_html.md b/static/usage/v7/range/snapping-ticks/angular/example_component_html.md new file mode 100644 index 00000000000..d52f5e4b119 --- /dev/null +++ b/static/usage/v7/range/snapping-ticks/angular/example_component_html.md @@ -0,0 +1,3 @@ +```html + +``` diff --git a/static/usage/v7/range/snapping-ticks/angular/example_component_ts.md b/static/usage/v7/range/snapping-ticks/angular/example_component_ts.md new file mode 100644 index 00000000000..6ee507d5642 --- /dev/null +++ b/static/usage/v7/range/snapping-ticks/angular/example_component_ts.md @@ -0,0 +1,11 @@ +```ts +import { Component } from '@angular/core'; +import { IonRange } from '@ionic/angular/standalone'; + +@Component({ + selector: 'app-example', + templateUrl: 'example.component.html', + imports: [IonRange], +}) +export class ExampleComponent {} +``` diff --git a/static/usage/v7/range/snapping-ticks/index.md b/static/usage/v7/range/snapping-ticks/index.md index 0fc7d22e2ec..f7f4bb1e518 100644 --- a/static/usage/v7/range/snapping-ticks/index.md +++ b/static/usage/v7/range/snapping-ticks/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/range/basic/angular/example_component_html.md b/static/usage/v8/range/basic/angular/example_component_html.md new file mode 100644 index 00000000000..ea96f2e2dd3 --- /dev/null +++ b/static/usage/v8/range/basic/angular/example_component_html.md @@ -0,0 +1,3 @@ +```html + +``` diff --git a/static/usage/v8/range/basic/angular/example_component_ts.md b/static/usage/v8/range/basic/angular/example_component_ts.md new file mode 100644 index 00000000000..6ee507d5642 --- /dev/null +++ b/static/usage/v8/range/basic/angular/example_component_ts.md @@ -0,0 +1,11 @@ +```ts +import { Component } from '@angular/core'; +import { IonRange } from '@ionic/angular/standalone'; + +@Component({ + selector: 'app-example', + templateUrl: 'example.component.html', + imports: [IonRange], +}) +export class ExampleComponent {} +``` diff --git a/static/usage/v8/range/basic/index.md b/static/usage/v8/range/basic/index.md index c9d1d3d6e9b..83ca81ad714 100644 --- a/static/usage/v8/range/basic/index.md +++ b/static/usage/v8/range/basic/index.md @@ -5,6 +5,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/range/dual-knobs/angular/example_component_html.md b/static/usage/v8/range/dual-knobs/angular/example_component_html.md new file mode 100644 index 00000000000..96eb2e59a0e --- /dev/null +++ b/static/usage/v8/range/dual-knobs/angular/example_component_html.md @@ -0,0 +1,3 @@ +```html + +``` diff --git a/static/usage/v8/range/dual-knobs/angular/example_component_ts.md b/static/usage/v8/range/dual-knobs/angular/example_component_ts.md new file mode 100644 index 00000000000..6ee507d5642 --- /dev/null +++ b/static/usage/v8/range/dual-knobs/angular/example_component_ts.md @@ -0,0 +1,11 @@ +```ts +import { Component } from '@angular/core'; +import { IonRange } from '@ionic/angular/standalone'; + +@Component({ + selector: 'app-example', + templateUrl: 'example.component.html', + imports: [IonRange], +}) +export class ExampleComponent {} +``` diff --git a/static/usage/v8/range/dual-knobs/index.md b/static/usage/v8/range/dual-knobs/index.md index 06466b2eca7..aeb799f7551 100644 --- a/static/usage/v8/range/dual-knobs/index.md +++ b/static/usage/v8/range/dual-knobs/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/range/ion-change-event/angular/example_component_ts.md b/static/usage/v8/range/ion-change-event/angular/example_component_ts.md index 377ccd2dc28..818fed3b9b6 100644 --- a/static/usage/v8/range/ion-change-event/angular/example_component_ts.md +++ b/static/usage/v8/range/ion-change-event/angular/example_component_ts.md @@ -1,11 +1,13 @@ ```ts import { Component } from '@angular/core'; +import { IonRange } from '@ionic/angular/standalone'; import { RangeCustomEvent } from '@ionic/angular'; @Component({ selector: 'app-example', templateUrl: 'example.component.html', + imports: [IonRange], }) export class ExampleComponent { onIonChange(ev: Event) { diff --git a/static/usage/v8/range/ion-knob-move-event/angular/example_component_ts.md b/static/usage/v8/range/ion-knob-move-event/angular/example_component_ts.md index e1b920f66da..ca89d9dfacf 100644 --- a/static/usage/v8/range/ion-knob-move-event/angular/example_component_ts.md +++ b/static/usage/v8/range/ion-knob-move-event/angular/example_component_ts.md @@ -1,11 +1,13 @@ ```ts import { Component } from '@angular/core'; +import { IonRange } from '@ionic/angular/standalone'; import { RangeCustomEvent } from '@ionic/angular'; @Component({ selector: 'app-example', templateUrl: 'example.component.html', + imports: [IonRange], }) export class ExampleComponent { onIonKnobMoveStart(ev: Event) { diff --git a/static/usage/v8/range/label-slot/angular/example_component_html.md b/static/usage/v8/range/label-slot/angular/example_component_html.md new file mode 100644 index 00000000000..a1942046521 --- /dev/null +++ b/static/usage/v8/range/label-slot/angular/example_component_html.md @@ -0,0 +1,5 @@ +```html + +
Label with custom HTML
+
+``` diff --git a/static/usage/v8/range/label-slot/angular/example_component_ts.md b/static/usage/v8/range/label-slot/angular/example_component_ts.md new file mode 100644 index 00000000000..d4babdd27d5 --- /dev/null +++ b/static/usage/v8/range/label-slot/angular/example_component_ts.md @@ -0,0 +1,11 @@ +```ts +import { Component } from '@angular/core'; +import { IonRange, IonText } from '@ionic/angular/standalone'; + +@Component({ + selector: 'app-example', + templateUrl: 'example.component.html', + imports: [IonRange, IonText], +}) +export class ExampleComponent {} +``` diff --git a/static/usage/v8/range/label-slot/index.md b/static/usage/v8/range/label-slot/index.md index 53c51cddf66..57691d79b1f 100644 --- a/static/usage/v8/range/label-slot/index.md +++ b/static/usage/v8/range/label-slot/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/range/labels/angular/example_component_html.md b/static/usage/v8/range/labels/angular/example_component_html.md new file mode 100644 index 00000000000..24c92babb74 --- /dev/null +++ b/static/usage/v8/range/labels/angular/example_component_html.md @@ -0,0 +1,15 @@ +```html + + +
+ + + +
+ + + +
+ + +``` diff --git a/static/usage/v8/range/labels/angular/example_component_ts.md b/static/usage/v8/range/labels/angular/example_component_ts.md new file mode 100644 index 00000000000..6ee507d5642 --- /dev/null +++ b/static/usage/v8/range/labels/angular/example_component_ts.md @@ -0,0 +1,11 @@ +```ts +import { Component } from '@angular/core'; +import { IonRange } from '@ionic/angular/standalone'; + +@Component({ + selector: 'app-example', + templateUrl: 'example.component.html', + imports: [IonRange], +}) +export class ExampleComponent {} +``` diff --git a/static/usage/v8/range/labels/index.md b/static/usage/v8/range/labels/index.md index 4d1d0e54e6a..428ffeb3afe 100644 --- a/static/usage/v8/range/labels/index.md +++ b/static/usage/v8/range/labels/index.md @@ -3,6 +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/range/no-visible-label/angular/example_component_html.md b/static/usage/v8/range/no-visible-label/angular/example_component_html.md new file mode 100644 index 00000000000..ea96f2e2dd3 --- /dev/null +++ b/static/usage/v8/range/no-visible-label/angular/example_component_html.md @@ -0,0 +1,3 @@ +```html + +``` diff --git a/static/usage/v8/range/no-visible-label/angular/example_component_ts.md b/static/usage/v8/range/no-visible-label/angular/example_component_ts.md new file mode 100644 index 00000000000..6ee507d5642 --- /dev/null +++ b/static/usage/v8/range/no-visible-label/angular/example_component_ts.md @@ -0,0 +1,11 @@ +```ts +import { Component } from '@angular/core'; +import { IonRange } from '@ionic/angular/standalone'; + +@Component({ + selector: 'app-example', + templateUrl: 'example.component.html', + imports: [IonRange], +}) +export class ExampleComponent {} +``` diff --git a/static/usage/v8/range/no-visible-label/index.md b/static/usage/v8/range/no-visible-label/index.md index 5be64329c2d..9a5e48175e3 100644 --- a/static/usage/v8/range/no-visible-label/index.md +++ b/static/usage/v8/range/no-visible-label/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/range/pins/angular/example_component_ts.md b/static/usage/v8/range/pins/angular/example_component_ts.md index 8dc875e1bda..a5b9731620a 100644 --- a/static/usage/v8/range/pins/angular/example_component_ts.md +++ b/static/usage/v8/range/pins/angular/example_component_ts.md @@ -1,9 +1,11 @@ ```ts import { Component } from '@angular/core'; +import { IonRange } from '@ionic/angular/standalone'; @Component({ selector: 'app-example', templateUrl: 'example.component.html', + imports: [IonRange], }) export class ExampleComponent { pinFormatter(value: number) { diff --git a/static/usage/v8/range/slots/angular/example_component_ts.md b/static/usage/v8/range/slots/angular/example_component_ts.md index f61ba54a333..3ada922624c 100644 --- a/static/usage/v8/range/slots/angular/example_component_ts.md +++ b/static/usage/v8/range/slots/angular/example_component_ts.md @@ -1,5 +1,6 @@ ```ts import { Component } from '@angular/core'; +import { IonIcon, IonRange } from '@ionic/angular/standalone'; import { addIcons } from 'ionicons'; import { snowOutline, sunnyOutline } from 'ionicons/icons'; @@ -8,6 +9,7 @@ import { snowOutline, sunnyOutline } from 'ionicons/icons'; selector: 'app-example', templateUrl: 'example.component.html', styleUrls: ['example.component.css'], + imports: [IonIcon, IonRange], }) export class ExampleComponent { constructor() { diff --git a/static/usage/v8/range/snapping-ticks/angular/example_component_html.md b/static/usage/v8/range/snapping-ticks/angular/example_component_html.md new file mode 100644 index 00000000000..d52f5e4b119 --- /dev/null +++ b/static/usage/v8/range/snapping-ticks/angular/example_component_html.md @@ -0,0 +1,3 @@ +```html + +``` diff --git a/static/usage/v8/range/snapping-ticks/angular/example_component_ts.md b/static/usage/v8/range/snapping-ticks/angular/example_component_ts.md new file mode 100644 index 00000000000..6ee507d5642 --- /dev/null +++ b/static/usage/v8/range/snapping-ticks/angular/example_component_ts.md @@ -0,0 +1,11 @@ +```ts +import { Component } from '@angular/core'; +import { IonRange } from '@ionic/angular/standalone'; + +@Component({ + selector: 'app-example', + templateUrl: 'example.component.html', + imports: [IonRange], +}) +export class ExampleComponent {} +``` diff --git a/static/usage/v8/range/snapping-ticks/index.md b/static/usage/v8/range/snapping-ticks/index.md index a1d4bc07bdd..2f0bf2cd27b 100644 --- a/static/usage/v8/range/snapping-ticks/index.md +++ b/static/usage/v8/range/snapping-ticks/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 54da04cad17446c6e2ee4edddf7444105163e553 Mon Sep 17 00:00:00 2001 From: Brandy Carney <6577830+brandyscarney@users.noreply.github.com> Date: Fri, 20 Dec 2024 15:14:04 -0500 Subject: [PATCH 2/3] docs(range): update angular to standalone --- static/usage/v7/range/basic/angular/example_component_ts.md | 1 + static/usage/v7/range/dual-knobs/angular/example_component_ts.md | 1 + .../v7/range/ion-change-event/angular/example_component_ts.md | 1 + .../v7/range/ion-knob-move-event/angular/example_component_ts.md | 1 + static/usage/v7/range/label-slot/angular/example_component_ts.md | 1 + static/usage/v7/range/labels/angular/example_component_ts.md | 1 + .../v7/range/no-visible-label/angular/example_component_ts.md | 1 + static/usage/v7/range/pins/angular/example_component_ts.md | 1 + .../v7/range/snapping-ticks/angular/example_component_ts.md | 1 + static/usage/v8/range/basic/angular/example_component_ts.md | 1 + static/usage/v8/range/dual-knobs/angular/example_component_ts.md | 1 + .../v8/range/ion-change-event/angular/example_component_ts.md | 1 + .../v8/range/ion-knob-move-event/angular/example_component_ts.md | 1 + static/usage/v8/range/label-slot/angular/example_component_ts.md | 1 + static/usage/v8/range/labels/angular/example_component_ts.md | 1 + .../v8/range/no-visible-label/angular/example_component_ts.md | 1 + static/usage/v8/range/pins/angular/example_component_ts.md | 1 + .../v8/range/snapping-ticks/angular/example_component_ts.md | 1 + 18 files changed, 18 insertions(+) diff --git a/static/usage/v7/range/basic/angular/example_component_ts.md b/static/usage/v7/range/basic/angular/example_component_ts.md index 6ee507d5642..24ea50045aa 100644 --- a/static/usage/v7/range/basic/angular/example_component_ts.md +++ b/static/usage/v7/range/basic/angular/example_component_ts.md @@ -5,6 +5,7 @@ import { IonRange } from '@ionic/angular/standalone'; @Component({ selector: 'app-example', templateUrl: 'example.component.html', + styleUrls: ['example.component.css'], imports: [IonRange], }) export class ExampleComponent {} diff --git a/static/usage/v7/range/dual-knobs/angular/example_component_ts.md b/static/usage/v7/range/dual-knobs/angular/example_component_ts.md index 6ee507d5642..24ea50045aa 100644 --- a/static/usage/v7/range/dual-knobs/angular/example_component_ts.md +++ b/static/usage/v7/range/dual-knobs/angular/example_component_ts.md @@ -5,6 +5,7 @@ import { IonRange } from '@ionic/angular/standalone'; @Component({ selector: 'app-example', templateUrl: 'example.component.html', + styleUrls: ['example.component.css'], imports: [IonRange], }) export class ExampleComponent {} diff --git a/static/usage/v7/range/ion-change-event/angular/example_component_ts.md b/static/usage/v7/range/ion-change-event/angular/example_component_ts.md index 818fed3b9b6..09a539c76c8 100644 --- a/static/usage/v7/range/ion-change-event/angular/example_component_ts.md +++ b/static/usage/v7/range/ion-change-event/angular/example_component_ts.md @@ -7,6 +7,7 @@ import { RangeCustomEvent } from '@ionic/angular'; @Component({ selector: 'app-example', templateUrl: 'example.component.html', + styleUrls: ['example.component.css'], imports: [IonRange], }) export class ExampleComponent { diff --git a/static/usage/v7/range/ion-knob-move-event/angular/example_component_ts.md b/static/usage/v7/range/ion-knob-move-event/angular/example_component_ts.md index ca89d9dfacf..09e07c8b63e 100644 --- a/static/usage/v7/range/ion-knob-move-event/angular/example_component_ts.md +++ b/static/usage/v7/range/ion-knob-move-event/angular/example_component_ts.md @@ -7,6 +7,7 @@ import { RangeCustomEvent } from '@ionic/angular'; @Component({ selector: 'app-example', templateUrl: 'example.component.html', + styleUrls: ['example.component.css'], imports: [IonRange], }) export class ExampleComponent { diff --git a/static/usage/v7/range/label-slot/angular/example_component_ts.md b/static/usage/v7/range/label-slot/angular/example_component_ts.md index d4babdd27d5..2c58b35ac63 100644 --- a/static/usage/v7/range/label-slot/angular/example_component_ts.md +++ b/static/usage/v7/range/label-slot/angular/example_component_ts.md @@ -5,6 +5,7 @@ import { IonRange, IonText } from '@ionic/angular/standalone'; @Component({ selector: 'app-example', templateUrl: 'example.component.html', + styleUrls: ['example.component.css'], imports: [IonRange, IonText], }) export class ExampleComponent {} diff --git a/static/usage/v7/range/labels/angular/example_component_ts.md b/static/usage/v7/range/labels/angular/example_component_ts.md index 6ee507d5642..24ea50045aa 100644 --- a/static/usage/v7/range/labels/angular/example_component_ts.md +++ b/static/usage/v7/range/labels/angular/example_component_ts.md @@ -5,6 +5,7 @@ import { IonRange } from '@ionic/angular/standalone'; @Component({ selector: 'app-example', templateUrl: 'example.component.html', + styleUrls: ['example.component.css'], imports: [IonRange], }) export class ExampleComponent {} diff --git a/static/usage/v7/range/no-visible-label/angular/example_component_ts.md b/static/usage/v7/range/no-visible-label/angular/example_component_ts.md index 6ee507d5642..24ea50045aa 100644 --- a/static/usage/v7/range/no-visible-label/angular/example_component_ts.md +++ b/static/usage/v7/range/no-visible-label/angular/example_component_ts.md @@ -5,6 +5,7 @@ import { IonRange } from '@ionic/angular/standalone'; @Component({ selector: 'app-example', templateUrl: 'example.component.html', + styleUrls: ['example.component.css'], imports: [IonRange], }) export class ExampleComponent {} diff --git a/static/usage/v7/range/pins/angular/example_component_ts.md b/static/usage/v7/range/pins/angular/example_component_ts.md index a5b9731620a..fdae87ebf9e 100644 --- a/static/usage/v7/range/pins/angular/example_component_ts.md +++ b/static/usage/v7/range/pins/angular/example_component_ts.md @@ -5,6 +5,7 @@ import { IonRange } from '@ionic/angular/standalone'; @Component({ selector: 'app-example', templateUrl: 'example.component.html', + styleUrls: ['example.component.css'], imports: [IonRange], }) export class ExampleComponent { diff --git a/static/usage/v7/range/snapping-ticks/angular/example_component_ts.md b/static/usage/v7/range/snapping-ticks/angular/example_component_ts.md index 6ee507d5642..24ea50045aa 100644 --- a/static/usage/v7/range/snapping-ticks/angular/example_component_ts.md +++ b/static/usage/v7/range/snapping-ticks/angular/example_component_ts.md @@ -5,6 +5,7 @@ import { IonRange } from '@ionic/angular/standalone'; @Component({ selector: 'app-example', templateUrl: 'example.component.html', + styleUrls: ['example.component.css'], imports: [IonRange], }) export class ExampleComponent {} diff --git a/static/usage/v8/range/basic/angular/example_component_ts.md b/static/usage/v8/range/basic/angular/example_component_ts.md index 6ee507d5642..24ea50045aa 100644 --- a/static/usage/v8/range/basic/angular/example_component_ts.md +++ b/static/usage/v8/range/basic/angular/example_component_ts.md @@ -5,6 +5,7 @@ import { IonRange } from '@ionic/angular/standalone'; @Component({ selector: 'app-example', templateUrl: 'example.component.html', + styleUrls: ['example.component.css'], imports: [IonRange], }) export class ExampleComponent {} diff --git a/static/usage/v8/range/dual-knobs/angular/example_component_ts.md b/static/usage/v8/range/dual-knobs/angular/example_component_ts.md index 6ee507d5642..24ea50045aa 100644 --- a/static/usage/v8/range/dual-knobs/angular/example_component_ts.md +++ b/static/usage/v8/range/dual-knobs/angular/example_component_ts.md @@ -5,6 +5,7 @@ import { IonRange } from '@ionic/angular/standalone'; @Component({ selector: 'app-example', templateUrl: 'example.component.html', + styleUrls: ['example.component.css'], imports: [IonRange], }) export class ExampleComponent {} diff --git a/static/usage/v8/range/ion-change-event/angular/example_component_ts.md b/static/usage/v8/range/ion-change-event/angular/example_component_ts.md index 818fed3b9b6..09a539c76c8 100644 --- a/static/usage/v8/range/ion-change-event/angular/example_component_ts.md +++ b/static/usage/v8/range/ion-change-event/angular/example_component_ts.md @@ -7,6 +7,7 @@ import { RangeCustomEvent } from '@ionic/angular'; @Component({ selector: 'app-example', templateUrl: 'example.component.html', + styleUrls: ['example.component.css'], imports: [IonRange], }) export class ExampleComponent { diff --git a/static/usage/v8/range/ion-knob-move-event/angular/example_component_ts.md b/static/usage/v8/range/ion-knob-move-event/angular/example_component_ts.md index ca89d9dfacf..09e07c8b63e 100644 --- a/static/usage/v8/range/ion-knob-move-event/angular/example_component_ts.md +++ b/static/usage/v8/range/ion-knob-move-event/angular/example_component_ts.md @@ -7,6 +7,7 @@ import { RangeCustomEvent } from '@ionic/angular'; @Component({ selector: 'app-example', templateUrl: 'example.component.html', + styleUrls: ['example.component.css'], imports: [IonRange], }) export class ExampleComponent { diff --git a/static/usage/v8/range/label-slot/angular/example_component_ts.md b/static/usage/v8/range/label-slot/angular/example_component_ts.md index d4babdd27d5..2c58b35ac63 100644 --- a/static/usage/v8/range/label-slot/angular/example_component_ts.md +++ b/static/usage/v8/range/label-slot/angular/example_component_ts.md @@ -5,6 +5,7 @@ import { IonRange, IonText } from '@ionic/angular/standalone'; @Component({ selector: 'app-example', templateUrl: 'example.component.html', + styleUrls: ['example.component.css'], imports: [IonRange, IonText], }) export class ExampleComponent {} diff --git a/static/usage/v8/range/labels/angular/example_component_ts.md b/static/usage/v8/range/labels/angular/example_component_ts.md index 6ee507d5642..24ea50045aa 100644 --- a/static/usage/v8/range/labels/angular/example_component_ts.md +++ b/static/usage/v8/range/labels/angular/example_component_ts.md @@ -5,6 +5,7 @@ import { IonRange } from '@ionic/angular/standalone'; @Component({ selector: 'app-example', templateUrl: 'example.component.html', + styleUrls: ['example.component.css'], imports: [IonRange], }) export class ExampleComponent {} diff --git a/static/usage/v8/range/no-visible-label/angular/example_component_ts.md b/static/usage/v8/range/no-visible-label/angular/example_component_ts.md index 6ee507d5642..24ea50045aa 100644 --- a/static/usage/v8/range/no-visible-label/angular/example_component_ts.md +++ b/static/usage/v8/range/no-visible-label/angular/example_component_ts.md @@ -5,6 +5,7 @@ import { IonRange } from '@ionic/angular/standalone'; @Component({ selector: 'app-example', templateUrl: 'example.component.html', + styleUrls: ['example.component.css'], imports: [IonRange], }) export class ExampleComponent {} diff --git a/static/usage/v8/range/pins/angular/example_component_ts.md b/static/usage/v8/range/pins/angular/example_component_ts.md index a5b9731620a..fdae87ebf9e 100644 --- a/static/usage/v8/range/pins/angular/example_component_ts.md +++ b/static/usage/v8/range/pins/angular/example_component_ts.md @@ -5,6 +5,7 @@ import { IonRange } from '@ionic/angular/standalone'; @Component({ selector: 'app-example', templateUrl: 'example.component.html', + styleUrls: ['example.component.css'], imports: [IonRange], }) export class ExampleComponent { diff --git a/static/usage/v8/range/snapping-ticks/angular/example_component_ts.md b/static/usage/v8/range/snapping-ticks/angular/example_component_ts.md index 6ee507d5642..24ea50045aa 100644 --- a/static/usage/v8/range/snapping-ticks/angular/example_component_ts.md +++ b/static/usage/v8/range/snapping-ticks/angular/example_component_ts.md @@ -5,6 +5,7 @@ import { IonRange } from '@ionic/angular/standalone'; @Component({ selector: 'app-example', templateUrl: 'example.component.html', + styleUrls: ['example.component.css'], imports: [IonRange], }) export class ExampleComponent {} From 42f9452adec96420392ab06149f2671c9fbf2d8f Mon Sep 17 00:00:00 2001 From: Brandy Carney <6577830+brandyscarney@users.noreply.github.com> Date: Thu, 26 Dec 2024 17:45:39 -0500 Subject: [PATCH 3/3] docs(range): update angular to standalone --- static/usage/v7/range/basic/angular.md | 3 --- static/usage/v7/range/dual-knobs/angular.md | 3 --- .../angular/example_component_ts.md | 4 +--- .../angular/example_component_ts.md | 4 +--- static/usage/v7/range/label-slot/angular.md | 5 ----- static/usage/v7/range/labels/angular.md | 15 --------------- static/usage/v7/range/no-visible-label/angular.md | 3 --- static/usage/v7/range/snapping-ticks/angular.md | 3 --- .../angular/example_component_ts.md | 12 ++++++++++++ .../v7/range/theming/css-properties/index.md | 4 +++- .../angular/example_component_ts.md | 12 ++++++++++++ .../v7/range/theming/css-shadow-parts/index.md | 4 +++- static/usage/v8/range/basic/angular.md | 3 --- static/usage/v8/range/dual-knobs/angular.md | 3 --- .../angular/example_component_ts.md | 4 +--- .../angular/example_component_ts.md | 4 +--- static/usage/v8/range/label-slot/angular.md | 5 ----- static/usage/v8/range/labels/angular.md | 15 --------------- static/usage/v8/range/no-visible-label/angular.md | 3 --- static/usage/v8/range/snapping-ticks/angular.md | 3 --- .../angular/example_component_ts.md | 12 ++++++++++++ .../v8/range/theming/css-properties/index.md | 4 +++- .../angular/example_component_ts.md | 12 ++++++++++++ .../v8/range/theming/css-shadow-parts/index.md | 4 +++- 24 files changed, 64 insertions(+), 80 deletions(-) delete mode 100644 static/usage/v7/range/basic/angular.md delete mode 100644 static/usage/v7/range/dual-knobs/angular.md delete mode 100644 static/usage/v7/range/label-slot/angular.md delete mode 100644 static/usage/v7/range/labels/angular.md delete mode 100644 static/usage/v7/range/no-visible-label/angular.md delete mode 100644 static/usage/v7/range/snapping-ticks/angular.md create mode 100644 static/usage/v7/range/theming/css-properties/angular/example_component_ts.md create mode 100644 static/usage/v7/range/theming/css-shadow-parts/angular/example_component_ts.md delete mode 100644 static/usage/v8/range/basic/angular.md delete mode 100644 static/usage/v8/range/dual-knobs/angular.md delete mode 100644 static/usage/v8/range/label-slot/angular.md delete mode 100644 static/usage/v8/range/labels/angular.md delete mode 100644 static/usage/v8/range/no-visible-label/angular.md delete mode 100644 static/usage/v8/range/snapping-ticks/angular.md create mode 100644 static/usage/v8/range/theming/css-properties/angular/example_component_ts.md create mode 100644 static/usage/v8/range/theming/css-shadow-parts/angular/example_component_ts.md diff --git a/static/usage/v7/range/basic/angular.md b/static/usage/v7/range/basic/angular.md deleted file mode 100644 index ea96f2e2dd3..00000000000 --- a/static/usage/v7/range/basic/angular.md +++ /dev/null @@ -1,3 +0,0 @@ -```html - -``` diff --git a/static/usage/v7/range/dual-knobs/angular.md b/static/usage/v7/range/dual-knobs/angular.md deleted file mode 100644 index 96eb2e59a0e..00000000000 --- a/static/usage/v7/range/dual-knobs/angular.md +++ /dev/null @@ -1,3 +0,0 @@ -```html - -``` diff --git a/static/usage/v7/range/ion-change-event/angular/example_component_ts.md b/static/usage/v7/range/ion-change-event/angular/example_component_ts.md index 09a539c76c8..e1502344095 100644 --- a/static/usage/v7/range/ion-change-event/angular/example_component_ts.md +++ b/static/usage/v7/range/ion-change-event/angular/example_component_ts.md @@ -1,8 +1,6 @@ ```ts import { Component } from '@angular/core'; -import { IonRange } from '@ionic/angular/standalone'; - -import { RangeCustomEvent } from '@ionic/angular'; +import { IonRange, RangeCustomEvent } from '@ionic/angular/standalone'; @Component({ selector: 'app-example', diff --git a/static/usage/v7/range/ion-knob-move-event/angular/example_component_ts.md b/static/usage/v7/range/ion-knob-move-event/angular/example_component_ts.md index 09e07c8b63e..b13b84b308d 100644 --- a/static/usage/v7/range/ion-knob-move-event/angular/example_component_ts.md +++ b/static/usage/v7/range/ion-knob-move-event/angular/example_component_ts.md @@ -1,8 +1,6 @@ ```ts import { Component } from '@angular/core'; -import { IonRange } from '@ionic/angular/standalone'; - -import { RangeCustomEvent } from '@ionic/angular'; +import { IonRange, RangeCustomEvent } from '@ionic/angular/standalone'; @Component({ selector: 'app-example', diff --git a/static/usage/v7/range/label-slot/angular.md b/static/usage/v7/range/label-slot/angular.md deleted file mode 100644 index a1942046521..00000000000 --- a/static/usage/v7/range/label-slot/angular.md +++ /dev/null @@ -1,5 +0,0 @@ -```html - -
Label with custom HTML
-
-``` diff --git a/static/usage/v7/range/labels/angular.md b/static/usage/v7/range/labels/angular.md deleted file mode 100644 index 24c92babb74..00000000000 --- a/static/usage/v7/range/labels/angular.md +++ /dev/null @@ -1,15 +0,0 @@ -```html - - -
- - - -
- - - -
- - -``` diff --git a/static/usage/v7/range/no-visible-label/angular.md b/static/usage/v7/range/no-visible-label/angular.md deleted file mode 100644 index ea96f2e2dd3..00000000000 --- a/static/usage/v7/range/no-visible-label/angular.md +++ /dev/null @@ -1,3 +0,0 @@ -```html - -``` diff --git a/static/usage/v7/range/snapping-ticks/angular.md b/static/usage/v7/range/snapping-ticks/angular.md deleted file mode 100644 index d52f5e4b119..00000000000 --- a/static/usage/v7/range/snapping-ticks/angular.md +++ /dev/null @@ -1,3 +0,0 @@ -```html - -``` diff --git a/static/usage/v7/range/theming/css-properties/angular/example_component_ts.md b/static/usage/v7/range/theming/css-properties/angular/example_component_ts.md new file mode 100644 index 00000000000..24ea50045aa --- /dev/null +++ b/static/usage/v7/range/theming/css-properties/angular/example_component_ts.md @@ -0,0 +1,12 @@ +```ts +import { Component } from '@angular/core'; +import { IonRange } from '@ionic/angular/standalone'; + +@Component({ + selector: 'app-example', + templateUrl: 'example.component.html', + styleUrls: ['example.component.css'], + imports: [IonRange], +}) +export class ExampleComponent {} +``` diff --git a/static/usage/v7/range/theming/css-properties/index.md b/static/usage/v7/range/theming/css-properties/index.md index 380bd5204d7..5dd2a606e5b 100644 --- a/static/usage/v7/range/theming/css-properties/index.md +++ b/static/usage/v7/range/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'; -``` diff --git a/static/usage/v8/range/dual-knobs/angular.md b/static/usage/v8/range/dual-knobs/angular.md deleted file mode 100644 index 96eb2e59a0e..00000000000 --- a/static/usage/v8/range/dual-knobs/angular.md +++ /dev/null @@ -1,3 +0,0 @@ -```html - -``` diff --git a/static/usage/v8/range/ion-change-event/angular/example_component_ts.md b/static/usage/v8/range/ion-change-event/angular/example_component_ts.md index 09a539c76c8..e1502344095 100644 --- a/static/usage/v8/range/ion-change-event/angular/example_component_ts.md +++ b/static/usage/v8/range/ion-change-event/angular/example_component_ts.md @@ -1,8 +1,6 @@ ```ts import { Component } from '@angular/core'; -import { IonRange } from '@ionic/angular/standalone'; - -import { RangeCustomEvent } from '@ionic/angular'; +import { IonRange, RangeCustomEvent } from '@ionic/angular/standalone'; @Component({ selector: 'app-example', diff --git a/static/usage/v8/range/ion-knob-move-event/angular/example_component_ts.md b/static/usage/v8/range/ion-knob-move-event/angular/example_component_ts.md index 09e07c8b63e..b13b84b308d 100644 --- a/static/usage/v8/range/ion-knob-move-event/angular/example_component_ts.md +++ b/static/usage/v8/range/ion-knob-move-event/angular/example_component_ts.md @@ -1,8 +1,6 @@ ```ts import { Component } from '@angular/core'; -import { IonRange } from '@ionic/angular/standalone'; - -import { RangeCustomEvent } from '@ionic/angular'; +import { IonRange, RangeCustomEvent } from '@ionic/angular/standalone'; @Component({ selector: 'app-example', diff --git a/static/usage/v8/range/label-slot/angular.md b/static/usage/v8/range/label-slot/angular.md deleted file mode 100644 index a1942046521..00000000000 --- a/static/usage/v8/range/label-slot/angular.md +++ /dev/null @@ -1,5 +0,0 @@ -```html - -
Label with custom HTML
-
-``` diff --git a/static/usage/v8/range/labels/angular.md b/static/usage/v8/range/labels/angular.md deleted file mode 100644 index 24c92babb74..00000000000 --- a/static/usage/v8/range/labels/angular.md +++ /dev/null @@ -1,15 +0,0 @@ -```html - - -
- - - -
- - - -
- - -``` diff --git a/static/usage/v8/range/no-visible-label/angular.md b/static/usage/v8/range/no-visible-label/angular.md deleted file mode 100644 index ea96f2e2dd3..00000000000 --- a/static/usage/v8/range/no-visible-label/angular.md +++ /dev/null @@ -1,3 +0,0 @@ -```html - -``` diff --git a/static/usage/v8/range/snapping-ticks/angular.md b/static/usage/v8/range/snapping-ticks/angular.md deleted file mode 100644 index d52f5e4b119..00000000000 --- a/static/usage/v8/range/snapping-ticks/angular.md +++ /dev/null @@ -1,3 +0,0 @@ -```html - -``` diff --git a/static/usage/v8/range/theming/css-properties/angular/example_component_ts.md b/static/usage/v8/range/theming/css-properties/angular/example_component_ts.md new file mode 100644 index 00000000000..24ea50045aa --- /dev/null +++ b/static/usage/v8/range/theming/css-properties/angular/example_component_ts.md @@ -0,0 +1,12 @@ +```ts +import { Component } from '@angular/core'; +import { IonRange } from '@ionic/angular/standalone'; + +@Component({ + selector: 'app-example', + templateUrl: 'example.component.html', + styleUrls: ['example.component.css'], + imports: [IonRange], +}) +export class ExampleComponent {} +``` diff --git a/static/usage/v8/range/theming/css-properties/index.md b/static/usage/v8/range/theming/css-properties/index.md index 7d1361b30d0..ade08cf28b4 100644 --- a/static/usage/v8/range/theming/css-properties/index.md +++ b/static/usage/v8/range/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';