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
35 lines (32 loc) • 976 B
JavaScript
import { style } from '@primeuix/styles/colorpicker';
import BaseStyle from '@primevue/core/base/style';
var classes = {
root: 'p-colorpicker p-component',
preview: function preview(_ref) {
var props = _ref.props;
return ['p-colorpicker-preview', {
'p-disabled': props.disabled
}];
},
panel: function panel(_ref2) {
var instance = _ref2.instance,
props = _ref2.props;
return ['p-colorpicker-panel', {
'p-colorpicker-panel-inline': props.inline,
'p-disabled': props.disabled,
'p-invalid': instance.$invalid
}];
},
colorSelector: 'p-colorpicker-color-selector',
colorBackground: 'p-colorpicker-color-background',
colorHandle: 'p-colorpicker-color-handle',
hue: 'p-colorpicker-hue',
hueHandle: 'p-colorpicker-hue-handle'
};
var ColorPickerStyle = BaseStyle.extend({
name: 'colorpicker',
style: style,
classes: classes
});
export { ColorPickerStyle as default };
//# sourceMappingURL=index.mjs.map