pull/5806/head
Cagatay Civici 2024-05-30 12:23:06 +03:00
commit 9ad9683738
5 changed files with 8 additions and 10 deletions

View File

@ -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';

View File

@ -8,8 +8,7 @@
</component>
</transition>
</template>
<slot v-else :class="cx('root')" :active="active" :a11yAttrs="a11yAttrs"></slot>
<slot v-else :class="cx('root')" :active="$pcAccordionPanel.active" :a11yAttrs="a11yAttrs"></slot>
</template>
<script>

View File

@ -14,7 +14,7 @@ export default {
npm install -g primeclt
`
}
};a
};
}
};
</script>

View File

@ -2,13 +2,13 @@
<DocSectionText v-bind="$attrs">
<p>
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.
</p>
<p>
The most notable feature is the new <NuxtLink to="/theming/styled">styled mode</NuxtLink> implementation. Previous iterations use SASS at an external repo called <i>primevue-sass-theme</i> which requires compilation of a
<i>theme.css</i>a 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 <NuxtLink to="/theming/styled">styled mode</NuxtLink> implementation. Previous iterations use SASS at an external repo called <i>primevue-sass-theme</i> which requires compilation of a <i>theme.css</i>a
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.
</p>
<p>
Names of some of the components have been changed to more common alternatives for example, <i>Popover</i> replaced <i>OverlayPanel</i> and <i>InputSwitch</i> is now called <i>ToggleSwitch</i>. Each component has been reviewed for a

View File

@ -75,7 +75,7 @@ export default {
id: 'animations',
label: 'Animations',
component: AnimationsDoc
},
}
]
};
}