From 8b15243cc0f8b230627d995714a35eb3f5e2d9f8 Mon Sep 17 00:00:00 2001 From: tugcekucukoglu Date: Thu, 30 May 2024 11:59:49 +0300 Subject: [PATCH 1/3] Update templates.js --- components/doc/codeeditor/templates.js | 1 - 1 file changed, 1 deletion(-) diff --git a/components/doc/codeeditor/templates.js b/components/doc/codeeditor/templates.js index f3564da0f..00f0b30a5 100644 --- a/components/doc/codeeditor/templates.js +++ b/components/doc/codeeditor/templates.js @@ -139,7 +139,6 @@ import ThemeSwitcher from './components/ThemeSwitcher.vue'; import { router } from "./router"; import AutoComplete from 'primevue/autocomplete'; import Accordion from 'primevue/accordion'; -import Accordion from 'primevue/accordion'; import AccordionPanel from 'primevue/accordionpanel'; import AccordionHeader from 'primevue/accordionheader'; import AccordionContent from 'primevue/accordioncontent'; From a41873a49f2758da7318f4169ff4370cb39aa137 Mon Sep 17 00:00:00 2001 From: tugcekucukoglu Date: Thu, 30 May 2024 12:00:06 +0300 Subject: [PATCH 2/3] AccordionContent active option fixes --- components/lib/accordioncontent/AccordionContent.vue | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/components/lib/accordioncontent/AccordionContent.vue b/components/lib/accordioncontent/AccordionContent.vue index fe5043d95..d7f93a45c 100755 --- a/components/lib/accordioncontent/AccordionContent.vue +++ b/components/lib/accordioncontent/AccordionContent.vue @@ -8,8 +8,7 @@ - - + diff --git a/doc/guides/migration/v4/OverviewDoc.vue b/doc/guides/migration/v4/OverviewDoc.vue index e0a02a799..f5a542b57 100644 --- a/doc/guides/migration/v4/OverviewDoc.vue +++ b/doc/guides/migration/v4/OverviewDoc.vue @@ -2,13 +2,13 @@

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. 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. + 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 styled mode implementation. Previous iterations use SASS at an external repo called primevue-sass-theme which requires compilation of a - theme.cssa file. This file had to be included in the application and need to be swapped at runtime for basic tasks like dark mode or primary color changes. In v4, styled mode is now part of the core, SASS is not used at all, and a - new design token based architecture that fully utilizes CSS variables has been created. The new API is modern and superior to the legacy styled mode. + The most notable feature is the new styled mode implementation. Previous iterations use SASS at an external repo called primevue-sass-theme which requires compilation of a theme.cssa + file. This file had to be included in the application and need to be swapped at runtime for basic tasks like dark mode or primary color changes. In v4, styled mode is now part of the core, SASS is not used at all, and a new design token + based architecture that fully utilizes CSS variables has been created. The new API is modern and superior to the legacy styled mode.

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 diff --git a/pages/tailwind/index.vue b/pages/tailwind/index.vue index 69247fcf8..b04131c6f 100644 --- a/pages/tailwind/index.vue +++ b/pages/tailwind/index.vue @@ -75,7 +75,7 @@ export default { id: 'animations', label: 'Animations', component: AnimationsDoc - }, + } ] }; }