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