From cb7d2f102239d5f5067d11761f0189a9936873b2 Mon Sep 17 00:00:00 2001 From: Brandy Smith <6577830+brandyscarney@users.noreply.github.com> Date: Thu, 12 Jun 2025 13:40:46 -0400 Subject: [PATCH 01/22] chore: use dev build --- plugins/docusaurus-plugin-ionic-component-api/index.js | 8 ++------ static/code/stackblitz/v8/html/index.html | 4 ++-- static/code/stackblitz/v8/html/index.withContent.html | 4 ++-- static/usage/v8/reorder/basic/demo.html | 4 ++-- static/usage/v8/reorder/custom-icon/demo.html | 4 ++-- static/usage/v8/reorder/custom-scroll-target/demo.html | 4 ++-- static/usage/v8/reorder/toggling-disabled/demo.html | 4 ++-- static/usage/v8/reorder/updating-data/demo.html | 4 ++-- static/usage/v8/reorder/wrapper/demo.html | 4 ++-- 9 files changed, 18 insertions(+), 22 deletions(-) diff --git a/plugins/docusaurus-plugin-ionic-component-api/index.js b/plugins/docusaurus-plugin-ionic-component-api/index.js index d3b3d2d7255..f8e27cce33b 100644 --- a/plugins/docusaurus-plugin-ionic-component-api/index.js +++ b/plugins/docusaurus-plugin-ionic-component-api/index.js @@ -50,12 +50,8 @@ module.exports = function (context, options) { await generateMarkdownForVersion(version, npmTag, false); } - let npmTag = 'latest'; - if (currentVersion.banner === 'unreleased') { - npmTag = 'next'; - } else if (currentVersion.path !== undefined) { - npmTag = currentVersion.path.slice(1); - } + // TODO: remove this before merging + let npmTag = '8.6.2-dev.11749668763.17db572c'; // Latest version await generateMarkdownForVersion(currentVersion.path || currentVersion.label, npmTag, true); diff --git a/static/code/stackblitz/v8/html/index.html b/static/code/stackblitz/v8/html/index.html index 34f05146a9a..808ffe6aff9 100644 --- a/static/code/stackblitz/v8/html/index.html +++ b/static/code/stackblitz/v8/html/index.html @@ -1,8 +1,8 @@ - - + + diff --git a/static/code/stackblitz/v8/html/index.withContent.html b/static/code/stackblitz/v8/html/index.withContent.html index af371907653..b9cb923aac2 100644 --- a/static/code/stackblitz/v8/html/index.withContent.html +++ b/static/code/stackblitz/v8/html/index.withContent.html @@ -1,8 +1,8 @@ - - + + diff --git a/static/usage/v8/reorder/basic/demo.html b/static/usage/v8/reorder/basic/demo.html index f9afb7d750a..981793e33c0 100644 --- a/static/usage/v8/reorder/basic/demo.html +++ b/static/usage/v8/reorder/basic/demo.html @@ -6,8 +6,8 @@ Reorder - - + + diff --git a/static/usage/v8/reorder/custom-icon/demo.html b/static/usage/v8/reorder/custom-icon/demo.html index 49209eeb387..c62bb56761a 100644 --- a/static/usage/v8/reorder/custom-icon/demo.html +++ b/static/usage/v8/reorder/custom-icon/demo.html @@ -17,7 +17,7 @@ diff --git a/static/usage/v8/reorder/custom-scroll-target/demo.html b/static/usage/v8/reorder/custom-scroll-target/demo.html index 041520c1925..98472c585ff 100644 --- a/static/usage/v8/reorder/custom-scroll-target/demo.html +++ b/static/usage/v8/reorder/custom-scroll-target/demo.html @@ -17,7 +17,7 @@ diff --git a/static/usage/v8/reorder/updating-data/demo.html b/static/usage/v8/reorder/updating-data/demo.html index 5251a379ad2..1b01783c7ca 100644 --- a/static/usage/v8/reorder/updating-data/demo.html +++ b/static/usage/v8/reorder/updating-data/demo.html @@ -17,7 +17,7 @@ diff --git a/static/usage/v8/reorder/wrapper/demo.html b/static/usage/v8/reorder/wrapper/demo.html index 40c2bf7e0bf..19a27bf82f5 100644 --- a/static/usage/v8/reorder/wrapper/demo.html +++ b/static/usage/v8/reorder/wrapper/demo.html @@ -17,7 +17,7 @@ From 2f597e8a370eda005ed323cb5cc4972b0284c533 Mon Sep 17 00:00:00 2001 From: Brandy Smith <6577830+brandyscarney@users.noreply.github.com> Date: Fri, 13 Jun 2025 11:35:50 -0400 Subject: [PATCH 10/22] docs(reorder): CustomEvent -> ReorderEndCustomEvent --- .../v8/reorder/basic/angular/example_component_ts.md | 4 ++-- static/usage/v8/reorder/basic/react.md | 4 ++-- static/usage/v8/reorder/basic/vue.md | 4 ++-- .../custom-icon/angular/example_component_ts.md | 4 ++-- static/usage/v8/reorder/custom-icon/react.md | 4 ++-- static/usage/v8/reorder/custom-icon/vue.md | 4 ++-- .../angular/example_component_ts.md | 4 ++-- .../usage/v8/reorder/custom-scroll-target/demo.html | 7 ++++--- .../reorder/custom-scroll-target/react/main_tsx.md | 4 ++-- static/usage/v8/reorder/custom-scroll-target/vue.md | 4 ++-- .../angular/example_component_ts.md | 4 ++-- static/usage/v8/reorder/toggling-disabled/react.md | 4 ++-- static/usage/v8/reorder/toggling-disabled/vue.md | 12 ++++++++++-- .../updating-data/angular/example_component_ts.md | 4 ++-- static/usage/v8/reorder/updating-data/react.md | 4 ++-- static/usage/v8/reorder/updating-data/vue.md | 4 ++-- .../reorder/wrapper/angular/example_component_ts.md | 4 ++-- static/usage/v8/reorder/wrapper/react.md | 4 ++-- static/usage/v8/reorder/wrapper/vue.md | 4 ++-- 19 files changed, 48 insertions(+), 39 deletions(-) diff --git a/static/usage/v8/reorder/basic/angular/example_component_ts.md b/static/usage/v8/reorder/basic/angular/example_component_ts.md index 541fd9c6df3..d990713e3c9 100644 --- a/static/usage/v8/reorder/basic/angular/example_component_ts.md +++ b/static/usage/v8/reorder/basic/angular/example_component_ts.md @@ -1,12 +1,12 @@ ```ts import { Component } from '@angular/core'; import { - ItemReorderEventDetail, IonItem, IonLabel, IonList, IonReorder, IonReorderGroup, + ReorderEndCustomEvent, } from '@ionic/angular/standalone'; @Component({ @@ -16,7 +16,7 @@ import { imports: [IonItem, IonLabel, IonList, IonReorder, IonReorderGroup], }) export class ExampleComponent { - handleReorder(event: CustomEvent) { + handleReorder(event: ReorderEndCustomEvent) { // The `from` and `to` properties contain the index of the item // when the drag started and ended, respectively console.log('Dragged from index', event.detail.from, 'to', event.detail.to); diff --git a/static/usage/v8/reorder/basic/react.md b/static/usage/v8/reorder/basic/react.md index 51d38b23fde..a8f67d46bfa 100644 --- a/static/usage/v8/reorder/basic/react.md +++ b/static/usage/v8/reorder/basic/react.md @@ -1,9 +1,9 @@ ```tsx import React from 'react'; -import { IonItem, IonLabel, IonList, IonReorder, IonReorderGroup, ItemReorderEventDetail } from '@ionic/react'; +import { IonItem, IonLabel, IonList, IonReorder, IonReorderGroup, ReorderEndCustomEvent } from '@ionic/react'; function Example() { - function handleReorder(event: CustomEvent) { + function handleReorder(event: ReorderEndCustomEvent) { // The `from` and `to` properties contain the index of the item // when the drag started and ended, respectively console.log('Dragged from index', event.detail.from, 'to', event.detail.to); diff --git a/static/usage/v8/reorder/basic/vue.md b/static/usage/v8/reorder/basic/vue.md index c332a345765..dbb048862c7 100644 --- a/static/usage/v8/reorder/basic/vue.md +++ b/static/usage/v8/reorder/basic/vue.md @@ -32,13 +32,13 @@ diff --git a/static/usage/v8/reorder/custom-icon/angular/example_component_html.md b/static/usage/v8/reorder/custom-icon/angular/example_component_html.md index 367400f5f02..cc6692c862d 100644 --- a/static/usage/v8/reorder/custom-icon/angular/example_component_html.md +++ b/static/usage/v8/reorder/custom-icon/angular/example_component_html.md @@ -2,7 +2,7 @@ - + Item 1 diff --git a/static/usage/v8/reorder/custom-icon/angular/example_component_ts.md b/static/usage/v8/reorder/custom-icon/angular/example_component_ts.md index f009b9c4ac6..27b65bf8786 100644 --- a/static/usage/v8/reorder/custom-icon/angular/example_component_ts.md +++ b/static/usage/v8/reorder/custom-icon/angular/example_component_ts.md @@ -29,7 +29,7 @@ export class ExampleComponent { addIcons({ pizza }); } - handleReorder(event: ReorderEndCustomEvent) { + handleReorderEnd(event: ReorderEndCustomEvent) { // The `from` and `to` properties contain the index of the item // when the drag started and ended, respectively console.log('Dragged from index', event.detail.from, 'to', event.detail.to); diff --git a/static/usage/v8/reorder/custom-icon/react.md b/static/usage/v8/reorder/custom-icon/react.md index 582b404473a..c02e309e484 100644 --- a/static/usage/v8/reorder/custom-icon/react.md +++ b/static/usage/v8/reorder/custom-icon/react.md @@ -4,7 +4,7 @@ import { IonIcon, IonItem, IonLabel, IonList, IonReorder, IonReorderGroup, Reord import { pizza } from 'ionicons/icons'; function Example() { - function handleReorder(event: ReorderEndCustomEvent) { + function handleReorderEnd(event: ReorderEndCustomEvent) { // The `from` and `to` properties contain the index of the item // when the drag started and ended, respectively console.log('Dragged from index', event.detail.from, 'to', event.detail.to); @@ -18,7 +18,7 @@ function Example() { return ( {/* The reorder gesture is disabled by default, enable it to drag and drop items */} - + Item 1 diff --git a/static/usage/v8/reorder/custom-icon/vue.md b/static/usage/v8/reorder/custom-icon/vue.md index d9f3bfe12d3..4a463b7d8b7 100644 --- a/static/usage/v8/reorder/custom-icon/vue.md +++ b/static/usage/v8/reorder/custom-icon/vue.md @@ -2,7 +2,7 @@