diff --git a/packages/core/package.json b/packages/core/package.json index fe934ce6c..185760972 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -54,4 +54,4 @@ "engines": { "node": ">=12.11.0" } -} +} \ No newline at end of file diff --git a/packages/core/src/config/PrimeVue.d.ts b/packages/core/src/config/PrimeVue.d.ts index 9a8156bae..33a2bc35c 100644 --- a/packages/core/src/config/PrimeVue.d.ts +++ b/packages/core/src/config/PrimeVue.d.ts @@ -1,6 +1,6 @@ import { Plugin } from 'vue'; -export interface PrimeVueConfiguration { +export interface PrimeVueConfiguration { ripple?: boolean; /** * @deprecated since v4.0. Use 'inputVariant' instead. @@ -12,8 +12,8 @@ export interface PrimeVueConfiguration=12.11.0" } -} +} \ No newline at end of file diff --git a/packages/primevue/src/config/Config.d.ts b/packages/primevue/src/config/Config.d.ts index 04144a3cc..9edcfc447 100644 --- a/packages/primevue/src/config/Config.d.ts +++ b/packages/primevue/src/config/Config.d.ts @@ -1,5 +1,5 @@ import type { DefaultPassThrough, PassThrough } from '@primevue/core'; -import type { PrimeVueConfiguration as PrimeVueCoreConfiguration } from '@primevue/core/config'; +import type { PrimeVueCSPOptions, PrimeVueLocaleOptions, PrimeVueZIndexOptions } from '@primevue/core/config'; import type { AccordionPassThroughOptions } from 'primevue/accordion'; import type { AccordionContentPassThroughOptions } from 'primevue/accordioncontent'; import type { AccordionHeaderPassThroughOptions } from 'primevue/accordionheader'; @@ -110,7 +110,22 @@ import type { VirtualScrollerPassThroughOptions } from 'primevue/virtualscroller export * from '@primevue/core/config'; -export interface PrimeVueConfiguration extends PrimeVueCoreConfiguration, PassThroughOptions> {} +export interface PrimeVueConfiguration { + ripple?: boolean; + /** + * @deprecated since v4.0. Use 'inputVariant' instead. + */ + inputStyle?: 'filled' | 'outlined' | undefined; + inputVariant?: 'filled' | 'outlined' | undefined; + locale?: PrimeVueLocaleOptions; + filterMatchModeOptions?: any; + zIndex?: PrimeVueZIndexOptions; + theme?: any; + unstyled?: boolean; + pt?: PassThrough; + ptOptions?: PassThroughOptions; + csp?: PrimeVueCSPOptions; +} export interface PrimeVuePTOptions { accordion?: DefaultPassThrough;