pull/5756/head
Cagatay Civici 2024-05-13 17:02:23 +03:00
commit 59637a9671
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() {