Core utilities and base functionality for PrimeVue UI component library
52
Quality
Pending
Does it follow best practices?
Impact
52%
1.15xAverage score across 10 eval scenarios
A small setup module that mounts the UI library plugin with centralized options for ripple effects, input styling, locales, theming, and pass-through behavior so every component shares the same defaults.
filled input styling, and a theme preset when no overrides are passed; a sample button rendered after install uses the ripple effect and the filled input style classes. @test@generates
export type UiLocale = Record<string, unknown>;
export interface UiThemePreset {
name: string;
linkId?: string;
cssPath?: string;
}
export interface UiConfigOptions {
ripple?: boolean;
inputStyle?: 'filled' | 'outlined';
locale?: UiLocale;
theme?: UiThemePreset;
zIndex?: Partial<{ modal: number; overlay: number; tooltip: number; menu: number; toast: number }>;
passThroughMerge?: 'mergeProps' | 'mergeSections';
unstyled?: boolean;
cspNonce?: string;
}
export function installUiPlugin(app: unknown, options?: UiConfigOptions): void;
export function setUiLocale(locale: UiLocale): void;
export function swapUiTheme(nextTheme: UiThemePreset): Promise<void>;
export function toggleUnstyled(enabled: boolean, mergeStrategy?: 'mergeProps' | 'mergeSections'): void;
export function useUiConfig(): {
ripple: boolean;
inputStyle: 'filled' | 'outlined';
locale: UiLocale;
theme: UiThemePreset | null;
zIndex: UiConfigOptions['zIndex'];
unstyled: boolean;
};UI component framework and plugin used to provide global configuration, pass-through customization, and theming. @satisfied-by
Install with Tessl CLI
npx tessl i tessl/npm-primevue--coreevals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10