Fixed #5728 - Remove PrimeVueStyled and PrimeVueUnstyled plugins

pull/5756/head
Mert Sincan 2024-05-13 14:44:55 +01:00
parent caa55a3f9f
commit 6689f54106
8 changed files with 0 additions and 53 deletions

View File

@ -1 +0,0 @@
export * from '../config';

View File

@ -1,24 +0,0 @@
import * as PrimeVueConfig from 'primevue/config';
import Aura from 'primevue/themes/aura';
export const defaultOptions = {
...PrimeVueConfig.defaultOptions,
theme: {
preset: Aura,
options: {
prefix: 'p',
darkModeSelector: 'system',
cssLayer: false
}
}
};
export const { usePrimeVue } = PrimeVueConfig;
export default {
install: (app, options) => {
const configOptions = { ...defaultOptions, ...options, unstyled: false };
PrimeVueConfig.setup(app, configOptions);
}
};

View File

@ -1,6 +0,0 @@
{
"main": "./primevuestyled.cjs.js",
"module": "./primevuestyled.esm.js",
"unpkg": "./primevuestyled.min.js",
"types": "./PrimeVueStyled.d.ts"
}

View File

@ -1 +0,0 @@
export * from '../config';

View File

@ -1,11 +0,0 @@
import * as PrimeVueConfig from 'primevue/config';
export const { defaultOptions, usePrimeVue } = PrimeVueConfig;
export default {
install: (app, options) => {
const configOptions = { ...defaultOptions, ...options, unstyled: true };
PrimeVueConfig.setup(app, configOptions);
}
};

View File

@ -1,6 +0,0 @@
{
"main": "./primevueunstyled.cjs.js",
"module": "./primevueunstyled.esm.js",
"unpkg": "./primevueunstyled.min.js",
"types": "./PrimeVueUnstyled.d.ts"
}

View File

@ -223,8 +223,6 @@ export default {
'primevue/utils': path.resolve(__dirname, './components/lib/utils/Utils.js'),
'primevue/service': path.resolve(__dirname, './components/lib/service/PrimeVueService.js'),
'primevue/config': path.resolve(__dirname, './components/lib/config/PrimeVue.js'),
'primevue/styled': path.resolve(__dirname, './components/lib/styled/PrimeVueStyled.js'),
'primevue/unstyled': path.resolve(__dirname, './components/lib/unstyled/PrimeVueUnstyled.js'),
'primevue/api': path.resolve(__dirname, './components/lib/api/Api.js'),
...STYLE_ALIAS,
...THEME_ALIAS,

View File

@ -521,8 +521,6 @@ function addService() {
function addConfig() {
addEntry('config', 'PrimeVue.js', 'config');
addEntry('styled', 'PrimeVueStyled.js', 'primevuestyled');
addEntry('unstyled', 'PrimeVueUnstyled.js', 'primevueunstyled');
}
function addPassThrough() {