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 3.39 kB
{"version":3,"file":"index.mjs","sources":["../../../src/divider/style/DividerStyle.js"],"sourcesContent":["import { style } from '@primeuix/styles/divider';\nimport BaseStyle from '@primevue/core/base/style';\n\n/* Position */\nconst inlineStyles = {\n root: ({ props }) => ({\n justifyContent: props.layout === 'horizontal' ? (props.align === 'center' || props.align === null ? 'center' : props.align === 'left' ? 'flex-start' : props.align === 'right' ? 'flex-end' : null) : null,\n alignItems: props.layout === 'vertical' ? (props.align === 'center' || props.align === null ? 'center' : props.align === 'top' ? 'flex-start' : props.align === 'bottom' ? 'flex-end' : null) : null\n })\n};\n\nconst classes = {\n root: ({ props }) => [\n 'p-divider p-component',\n 'p-divider-' + props.layout,\n 'p-divider-' + props.type,\n { 'p-divider-left': props.layout === 'horizontal' && (!props.align || props.align === 'left') },\n { 'p-divider-center': props.layout === 'horizontal' && props.align === 'center' },\n { 'p-divider-right': props.layout === 'horizontal' && props.align === 'right' },\n { 'p-divider-top': props.layout === 'vertical' && props.align === 'top' },\n { 'p-divider-center': props.layout === 'vertical' && (!props.align || props.align === 'center') },\n { 'p-divider-bottom': props.layout === 'vertical' && props.align === 'bottom' }\n ],\n content: 'p-divider-content'\n};\n\nexport default BaseStyle.extend({\n name: 'divider',\n style,\n classes,\n inlineStyles\n});\n"],"names":["inlineStyles","root","_ref","props","justifyContent","layout","align","alignItems","classes","_ref2","type","content","BaseStyle","extend","name","style"],"mappings":";;;AAGA;AACA,IAAMA,YAAY,GAAG;AACjBC,EAAAA,IAAI,EAAE,SAANA,IAAIA,CAAAC,IAAA,EAAA;AAAA,IAAA,IAAKC,KAAK,GAAAD,IAAA,CAALC,KAAK;IAAA,OAAQ;AAClBC,MAAAA,cAAc,EAAED,KAAK,CAACE,MAAM,KAAK,YAAY,GAAIF,KAAK,CAACG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