From e67e860837539b877e701b33dbd80b48dac7e588 Mon Sep 17 00:00:00 2001 From: amaher Date: Thu, 18 Dec 2025 17:42:27 +0200 Subject: [PATCH 1/4] docs(v3 migration): update migration guide, especially regarding accordion component --- .../1.getting-started/3.migration/2.v3.md | 54 +++++++++++++++++++ 1 file changed, 54 insertions(+) diff --git a/docs/content/docs/1.getting-started/3.migration/2.v3.md b/docs/content/docs/1.getting-started/3.migration/2.v3.md index 836f1a327f..c091ab1905 100644 --- a/docs/content/docs/1.getting-started/3.migration/2.v3.md +++ b/docs/content/docs/1.getting-started/3.migration/2.v3.md @@ -399,6 +399,60 @@ This change affects the following components: `Modal`, `Slideover`. + ``` +#### Accordion +The `Accordion` component has been hugely redesigned to provide a clearer state model, improved accessibility, and more flexible customization. As a result, its API is not fullybackward compatible. + +Below are the most important changes to migrate existing usage. + +- The `multiple` prop has been replaced by the `type` prop: + +```diff + +``` +When omitted, `type` defaults to `single`. + +- The `default-open` prop and `defaultOpen` **item** property have been removed. + +Accordion state is now controlled using default-value (uncontrolled) or v-model (controlled): + +```diff + +``` + +- The slot API has been simplified and made more explicit. +The `#item` slot has been removed in favor of `#content` and `#body`: + +```diff + +``` + +::note +The default slot now only customizes the trigger, with additional slots for finer control (`#leading`, `#trailing`, `#body`). +:: + +::note +The Accordion now follows a controlled / uncontrolled pattern (v-model / default-value) and introduces a more structured slot and styling system. +Refer to the Accordion documentation for full details and advanced use cases. +:: + ### Changed composables - The `useToast()` composable `timeout` prop has been renamed to `duration`: From bf5f6a7099dc1de8a8fb24975531dff097748f62 Mon Sep 17 00:00:00 2001 From: amaher Date: Thu, 18 Dec 2025 19:38:22 +0200 Subject: [PATCH 2/4] docs(v3 migration): updating the miigration guide regarding Table component --- .../1.getting-started/3.migration/2.v3.md | 58 +++++++++++++++++++ 1 file changed, 58 insertions(+) diff --git a/docs/content/docs/1.getting-started/3.migration/2.v3.md b/docs/content/docs/1.getting-started/3.migration/2.v3.md index c091ab1905..094459b45e 100644 --- a/docs/content/docs/1.getting-started/3.migration/2.v3.md +++ b/docs/content/docs/1.getting-started/3.migration/2.v3.md @@ -453,6 +453,64 @@ The Accordion now follows a controlled / uncontrolled pattern (v-model / default Refer to the Accordion documentation for full details and advanced use cases. :: + +#### Table +The `Table` component had a major redesign, as it now uses the [TanStack Table](https://tanstack.com/table/latest){target="_blank" rel="noopener"} under the hood. This resulted in an almost new API and some breaking changes, but with many great features along the way. + +Below are the most important changes to migrate existing usage. + +- The `rows` prop has been renamed in favbor of `data`: + +```diff + +``` + +- Columns definition is now explicit & semantic: + +```diff + +``` + +- Row cell slot names has been changed from `-data` to `-cell`: + +```diff +