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) • 930 B
JavaScript
import { style } from '@primeuix/styles/dock';
import BaseStyle from '@primevue/core/base/style';
var classes = {
root: function root(_ref) {
var instance = _ref.instance,
props = _ref.props;
return ['p-dock p-component', "p-dock-".concat(props.position), {
'p-dock-mobile': instance.queryMatches
}];
},
listContainer: 'p-dock-list-container',
list: 'p-dock-list',
item: function item(_ref2) {
var instance = _ref2.instance,
processedItem = _ref2.processedItem,
id = _ref2.id;
return ['p-dock-item', {
'p-focus': instance.isItemActive(id),
'p-disabled': instance.disabled(processedItem)
}];
},
itemContent: 'p-dock-item-content',
itemLink: 'p-dock-item-link',
itemIcon: 'p-dock-item-icon'
};
var DockStyle = BaseStyle.extend({
name: 'dock',
style: style,
classes: classes
});
export { DockStyle as default };
//# sourceMappingURL=index.mjs.map