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

51 lines (45 loc) 2.28 kB
'use strict'; var BaseStyle = require('primevue/base/style'); function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; } var BaseStyle__default = /*#__PURE__*/_interopDefaultLegacy(BaseStyle); var css = "\n@layer primevue {\n .p-panelmenu .p-panelmenu-header-action {\n display: flex;\n align-items: center;\n user-select: none;\n cursor: pointer;\n position: relative;\n text-decoration: none;\n }\n\n .p-panelmenu .p-panelmenu-header-action:focus {\n z-index: 1;\n }\n\n .p-panelmenu .p-submenu-list {\n margin: 0;\n padding: 0;\n list-style: none;\n }\n\n .p-panelmenu .p-menuitem-link {\n display: flex;\n align-items: center;\n user-select: none;\n cursor: pointer;\n text-decoration: none;\n position: relative;\n overflow: hidden;\n }\n\n .p-panelmenu .p-menuitem-text {\n line-height: 1;\n }\n}\n"; var classes = { root: 'p-panelmenu p-component', panel: 'p-panelmenu-panel', header: function header(_ref) { var instance = _ref.instance, item = _ref.item; return ['p-panelmenu-header', { 'p-highlight': instance.isItemActive(item) && !!item.items, 'p-disabled': instance.isItemDisabled(item) }]; }, headerContent: 'p-panelmenu-header-content', headerAction: 'p-panelmenu-header-action', headerIcon: 'p-menuitem-icon', headerLabel: 'p-menuitem-text', toggleableContent: 'p-toggleable-content', menuContent: 'p-panelmenu-content', menu: 'p-panelmenu-root-list', menuitem: function menuitem(_ref2) { var instance = _ref2.instance, processedItem = _ref2.processedItem; return ['p-menuitem', { 'p-focus': instance.isItemFocused(processedItem), 'p-disabled': instance.isItemDisabled(processedItem) }]; }, content: 'p-menuitem-content', action: 'p-menuitem-link', icon: 'p-menuitem-icon', label: 'p-menuitem-text', submenuIcon: 'p-submenu-icon', submenu: 'p-submenu-list', separator: 'p-menuitem-separator' }; var PanelMenuStyle = BaseStyle__default["default"].extend({ name: 'panelmenu', css: css, classes: classes }); module.exports = PanelMenuStyle;