From cafd07e69634b00e0105968c69e89bda5f8c6926 Mon Sep 17 00:00:00 2001
From: Cagatay Civici
Date: Thu, 13 Jun 2024 08:58:21 +0300
Subject: [PATCH] Update migration guide
---
apps/showcase/assets/styles/layout/_doc.scss | 6 +++++-
.../doc/guides/migration/v4/changes/BreakingDoc.vue | 13 ++++++++++---
.../guides/migration/v4/changes/CompatibleDoc.vue | 6 ++++--
3 files changed, 19 insertions(+), 6 deletions(-)
diff --git a/apps/showcase/assets/styles/layout/_doc.scss b/apps/showcase/assets/styles/layout/_doc.scss
index c7fabb4d4..6d9d21d1d 100644
--- a/apps/showcase/assets/styles/layout/_doc.scss
+++ b/apps/showcase/assets/styles/layout/_doc.scss
@@ -1,7 +1,7 @@
@mixin mark() {
border-radius: 6px;
padding: 2px 6px;
- font-size: .875rem;
+ font-size: 1rem;
font-weight: 500;
font-style: normal;
background: var(--mark-background);
@@ -153,6 +153,10 @@
@include doc-link();
}
}
+
+ li {
+ font-size: 1.125rem;
+ }
}
.doc-notification {
diff --git a/apps/showcase/doc/guides/migration/v4/changes/BreakingDoc.vue b/apps/showcase/doc/guides/migration/v4/changes/BreakingDoc.vue
index aeb706e6c..da19abf19 100644
--- a/apps/showcase/doc/guides/migration/v4/changes/BreakingDoc.vue
+++ b/apps/showcase/doc/guides/migration/v4/changes/BreakingDoc.vue
@@ -6,6 +6,7 @@
is the only available built-in preset; however, by v4 final, two more presets named Lara and Nora would be included, as well as the Material Design theme. If you had a custom theme for v3, the theme needs to be recreated using the new
APIs. See the customization section at styled mode for details.
+
Removed Components
- TriStateCheckbox | Use Checkbox with indeterminate option.
@@ -23,6 +24,12 @@
- The legacy Tailwind preset at primevue/passthrough/tailwind, migrate to the Tailwind Presets project.
+ Message and InlineMesasge
+
+ InlineMessage is deprecated due to overlap with the Message. The spacing, closable and life properties of the Message have breaking changes to provide InlineMessage functionality. Default margin is
+ removed, closable is false by default and messages do not disappear automatically.
+
+
PT Section Names
The experimental PassThrough feature is not production ready, there are changes on the PT section names due to alignment with CSS classes for certain components. If when component element is another PrimeVue component pc prefix is
@@ -31,9 +38,9 @@
Removed Features
- - Sidebar/Drawer size property is removed, use a responsive class utilty as replacement, demos have new examples.
- - Rating cancel prop is removed as toggling the selected star value clears it.
- - Inplace closable is removed in favor of templating and closeCallback prop.
+ - Sidebar/Drawer size property is removed, use a responsive class utilty as replacement, demos have new examples.
+ - Rating cancel prop is removed as toggling the selected star value clears it.
+ - Inplace closable is removed in favor of templating and closeCallback prop.
diff --git a/apps/showcase/doc/guides/migration/v4/changes/CompatibleDoc.vue b/apps/showcase/doc/guides/migration/v4/changes/CompatibleDoc.vue
index 2aa4c0dea..8ba7653cc 100644
--- a/apps/showcase/doc/guides/migration/v4/changes/CompatibleDoc.vue
+++ b/apps/showcase/doc/guides/migration/v4/changes/CompatibleDoc.vue
@@ -10,11 +10,13 @@
Sidebar -> Drawer.
- Obsolete Components
- Components that are deprecated because of their functionality being provided by other components.
+ Deprecated Components
+ Components that are deprecated since their functionality is provided by other components.
- Chips | Use AutoComplete with multiple enabled and typeahead disabled.
- TabMenu | Use Tabs without panels.
+ - Steps | Use Stepper without panels.
+ - InlineMessage | Use Message component.
- BadgeDirective | Use OverlayBadge instead.
- TabView | Use the new Tabs components.
- Accordion | Use with the new AccordionHeader and AccordionContent components.