{"version":3,"file":"bleed.mjs","names":[],"sources":["../../src/jsx/bleed.js"],"sourcesContent":["import { createElement, forwardRef } from 'react'\nimport { mergeCss } from '../css/css.js';\nimport { splitProps } from '../helpers.js';\nimport { getBleedStyle } from '../patterns/bleed.js';\nimport { styled } from './factory.js';\n\nexport const Bleed = /* @__PURE__ */ forwardRef(function Bleed(props, ref) {\n  const [patternProps, restProps] = splitProps(props, [\"inline\",\"block\"])\n\nconst styleProps = getBleedStyle(patternProps)\nconst cssProps = { css: mergeCss(styleProps, props.css) }\nconst mergedProps = { ref, ...restProps, ...cssProps }\n\nreturn createElement(styled.div, mergedProps)\n  })"],"mappings":";;;;;;AAMA,MAAa,QAAwB,2BAAW,SAAS,MAAM,OAAO,KAAK;CACzE,MAAM,CAAC,cAAc,aAAa,WAAW,OAAO,CAAC,UAAS,OAAO,CAAC;CAGxE,MAAM,WAAW,EAAE,KAAK,SADL,cAAc,YACS,GAAG,MAAM,GAAG,EAAE;CACxD,MAAM,cAAc;EAAE;EAAK,GAAG;EAAW,GAAG;CAAS;CAErD,OAAO,cAAc,OAAO,KAAK,WAAW;AAC1C,CAAC"}