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
33 lines (30 loc) • 827 B
JavaScript
import { style } from '@primeuix/styles/steps';
import BaseStyle from '@primevue/core/base/style';
var classes = {
root: function root(_ref) {
var props = _ref.props;
return ['p-steps p-component', {
'p-readonly': props.readonly
}];
},
list: 'p-steps-list',
item: function item(_ref2) {
var instance = _ref2.instance,
_item = _ref2.item,
index = _ref2.index;
return ['p-steps-item', {
'p-steps-item-active': instance.isActive(index),
'p-disabled': instance.isItemDisabled(_item, index)
}];
},
itemLink: 'p-steps-item-link',
itemNumber: 'p-steps-item-number',
itemLabel: 'p-steps-item-label'
};
var StepsStyle = BaseStyle.extend({
name: 'steps',
style: style,
classes: classes
});
export { StepsStyle as default };
//# sourceMappingURL=index.mjs.map