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
22 lines (19 loc) • 817 B
JavaScript
import BaseStyle from 'primevue/base/style';
var css = "\n@keyframes dash-frame {\n 100% {\n stroke-dashoffset: 0;\n }\n}\n@layer primevue {\n .p-knob-range {\n fill: none;\n transition: stroke 0.1s ease-in;\n }\n .p-knob-value {\n animation-name: dash-frame;\n animation-fill-mode: forwards;\n fill: none;\n }\n .p-knob-text {\n font-size: 1.3rem;\n text-align: center;\n }\n}\n";
var classes = {
root: function root(_ref) {
var props = _ref.props;
return ['p-knob p-component', {
'p-disabled': props.disabled
}];
},
range: 'p-knob-range',
value: 'p-knob-value',
label: 'p-knob-text'
};
var KnobStyle = BaseStyle.extend({
name: 'knob',
css: css,
classes: classes
});
export { KnobStyle as default };