diff --git a/assets/styles/layout/_doc.scss b/assets/styles/layout/_doc.scss
index ec6cf4360..683902249 100644
--- a/assets/styles/layout/_doc.scss
+++ b/assets/styles/layout/_doc.scss
@@ -1,3 +1,17 @@
+@mixin mark() {
+ border-radius: 6px;
+ padding: 2px 6px;
+ font-size: .875rem;
+ font-weight: 500;
+ font-style: normal;
+ background: var(--mark-background);
+ color: var(--mark-text);
+}
+
+.mark {
+ @include mark();
+}
+
.doc-tabmenu {
list-style: none;
margin: 0;
@@ -132,13 +146,7 @@
font-size: 1rem;
i {
- border-radius: 6px;
- padding: 2px 6px;
- font-size: .875rem;
- font-weight: 500;
- font-style: normal;
- background: var(--mark-background);
- color: var(--mark-text);
+ @include mark();
}
a {
diff --git a/doc/guides/migration/v4/NewFeaturesDoc.vue b/doc/guides/migration/v4/NewFeaturesDoc.vue
deleted file mode 100644
index 75a8eaa80..000000000
--- a/doc/guides/migration/v4/NewFeaturesDoc.vue
+++ /dev/null
@@ -1,9 +0,0 @@
-
-
- The most notable feature is the new
At PrimeTek, we have been developing UI component libraries since 2008. The web continues to undergo technological advancements, and as a result, we have to modernize and update our libraries to stay relevant. PrimeVue v4 is the
- next-generation version that fully embraces modern Web APIs and removes technical debt like the legacy-styled mode. As part of our commitment to our products and the community, PrimeVue v3 will continue to be maintained until the end of
+ next-generation version that fully embraces modern Web APIs and removes technical debt like the legacy-styled mode. Every component has been reviewed and enhanced. As part of our commitment to our products and the community, PrimeVue v3 will continue to be maintained until the end of
2024.
+ The most notable feature is the new
+ Names of some of the components have been changed to more common alternatives for example, Popover replaced OverlayPanel and InputSwitch is now called ToggleSwitch. Each component has been reviewed for a
+ consistent naming between CSS class names and PT sections. An example would be the option element of a Select component that uses p-select-option for the class name.
+
+ Components have been utilized more within other components, for instance Dialog close button is not actually a PrimeVue button so that closeButtonProps can be used to enable the features of button like outlined, raised and more.
+ Whenever a component is using another component, in v3 the pt sections were causing confusion, to prevent this pc prefix is added to indicate that the PT section is actually a PrimeVue component, not a simple DOM element. This is
+ especially useful because PT allows passing arbitrary attributes to DOM elements whereas if the element is actually a PrimeVue component, props can also be passed.
+ The team has put in a great effort to migrate the entire UI suite with minor breaking changes. Two components have been removed by design.
- The styled mode theming has been reimplemented from scratch based on an all-new architecture. There is no theme.css involved, so you need to migrate to the API. Currently, Aura 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
-
+ The styled mode theming has been reimplemented from scratch based on an all-new architecture. The theme.css and the primevue/resources do not exist anymore, so any imports of these assets needs to be removed. Currently, Aura
+ 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
+ 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
+ added for indication. Review the Pass Through section of a component for the new API. The Tailwind CSS presets for the unstyled mode are not updated to v4 yet.
+ Old names are deprecated but still functional, migrate to new import paths instead e.g. primevue/calendar becomes primevue/datepicker. Components that are deprecated because of their functionality being provided by other components. Issue tickets with detailed information about component internal changes.
-
-
diff --git a/doc/guides/migration/v4/breakingchanges/StyledModeDoc.vue b/doc/guides/migration/v4/breakingchanges/StyledModeDoc.vue
deleted file mode 100644
index 1971a6dbb..000000000
--- a/doc/guides/migration/v4/breakingchanges/StyledModeDoc.vue
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
-
-
diff --git a/doc/guides/migration/v4/changes/BreakingDoc.vue b/doc/guides/migration/v4/changes/BreakingDoc.vue
new file mode 100644
index 000000000..aeb706e6c
--- /dev/null
+++ b/doc/guides/migration/v4/changes/BreakingDoc.vue
@@ -0,0 +1,39 @@
+
+ SASS Themes
+ Removed Components
+
+
+
+ Removed APIs
+
+
+
+ Removed Files
+
+
+
+ PT Section Names
+ Removed Features
+
+
+ Renamed Components
+
+
+
+ Obsolete Components
+
+
+
+ Important Tickets
+
Migration guide to PrimeVue v4.