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

1 lines 1.7 kB
{"version":3,"file":"index.mjs","sources":["../../../src/message/style/MessageStyle.js"],"sourcesContent":["import { style } from '@primeuix/styles/message';\nimport BaseStyle from '@primevue/core/base/style';\n\nconst classes = {\n root: ({ props }) => [\n 'p-message p-component p-message-' + props.severity,\n {\n 'p-message-outlined': props.variant === 'outlined',\n 'p-message-simple': props.variant === 'simple',\n 'p-message-sm': props.size === 'small',\n 'p-message-lg': props.size === 'large'\n }\n ],\n content: 'p-message-content',\n icon: 'p-message-icon',\n text: 'p-message-text',\n closeButton: 'p-message-close-button',\n closeIcon: 'p-message-close-icon'\n};\n\nexport default BaseStyle.extend({\n name: 'message',\n style,\n classes\n});\n"],"names":["classes","root","_ref","props","severity","variant","size","content","icon","text","closeButton","closeIcon","BaseStyle","extend","name","style"],"mappings":";;;AAGA,IAAMA,OAAO,GAAG;AACZC,EAAAA,IAAI,EAAE,SAANA,IAAIA,CAAAC,IAAA,EAAA;AAAA,IAAA,IAAKC,KAAK,GAAAD,IAAA,CAALC,KAAK;AAAA,IAAA,OAAO,CACjB,kCAAkC,GAAGA,KAAK,CAACC,QAAQ,EACnD;AACI,MAAA,oBAAoB,EAAED,KAAK,CAACE,OAAO,KAAK,UAAU;AAClD,MAAA,kBAAkB,EAAEF,KAAK,CAACE,OAAO,KAAK,QAAQ;AAC9C,MAAA,cAAc,EAAEF,KAAK,CAACG,IAAI,KAAK,OAAO;AACtC,MAAA,cAAc,EAAEH,KAAK,CAACG,IAAI,KAAK;AACnC,KAAC,CACJ;AAAA,GAAA;AACDC,EAAAA,OAAO,EAAE,mBAAmB;AAC5BC,EAAAA,IAAI,EAAE,gBAAgB;AACtBC,EAAAA,IAAI,EAAE,gBAAgB;AACtBC,EAAAA,WAAW,EAAE,wBAAwB;AACrCC,EAAAA,SAAS,EAAE;AACf,CAAC;AAED,mBAAeC,SAAS,CAACC,MAAM,CAAC;AAC5BC,EAAAA,IAAI,EAAE,SAAS;AACfC,EAAAA,KAAK,EAALA,KAAK;AACLf,EAAAA,OAAO,EAAPA;AACJ,CAAC,CAAC;;;;"}