UNPKG

primevue

Version:

PrimeVue is an open source UI library for Vue featuring a rich set of 80+ components, a theme designer, various theme alternatives such as Material, Bootstrap, Tailwind, premium templates and professional support. In addition, it integrates with PrimeBloc

26 lines (23 loc) 743 B
import { style } from '@primeuix/styles/inputtext'; import BaseStyle from '@primevue/core/base/style'; var classes = { root: function root(_ref) { var instance = _ref.instance, props = _ref.props; return ['p-inputtext p-component', { 'p-filled': instance.$filled, 'p-inputtext-sm p-inputfield-sm': props.size === 'small', 'p-inputtext-lg p-inputfield-lg': props.size === 'large', 'p-invalid': instance.$invalid, 'p-variant-filled': instance.$variant === 'filled', 'p-inputtext-fluid': instance.$fluid }]; } }; var InputTextStyle = BaseStyle.extend({ name: 'inputtext', style: style, classes: classes }); export { InputTextStyle as default }; //# sourceMappingURL=index.mjs.map