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

36 lines (33 loc) 904 B
import { style } from '@primeuix/styles/menu'; import BaseStyle from '@primevue/core/base/style'; var classes = { root: function root(_ref) { var props = _ref.props; return ['p-menu p-component', { 'p-menu-overlay': props.popup }]; }, start: 'p-menu-start', list: 'p-menu-list', submenuLabel: 'p-menu-submenu-label', separator: 'p-menu-separator', end: 'p-menu-end', item: function item(_ref2) { var instance = _ref2.instance; return ['p-menu-item', { 'p-focus': instance.id === instance.focusedOptionId, 'p-disabled': instance.disabled() }]; }, itemContent: 'p-menu-item-content', itemLink: 'p-menu-item-link', itemIcon: 'p-menu-item-icon', itemLabel: 'p-menu-item-label' }; var MenuStyle = BaseStyle.extend({ name: 'menu', style: style, classes: classes }); export { MenuStyle as default }; //# sourceMappingURL=index.mjs.map