{"version":3,"file":"card.mjs","names":[],"sources":["../../../../src/web-components/catalog/basic/card.ts"],"sourcesContent":["import { html, nothing } from \"lit\";\nimport { styleMap } from \"lit/directives/style-map.js\";\nimport { CardApi } from \"@a2ui/web_core/v0_9/basic_catalog\";\nimport { createLitComponent } from \"../../adapter\";\nimport { getBaseContainerStyle } from \"./utils\";\n\nexport const Card = createLitComponent(\n  CardApi,\n  ({ props, buildChild }) => html`\n  <div\n    style=${styleMap({\n      ...getBaseContainerStyle(),\n      backgroundColor: \"#fff\",\n      boxShadow: \"0 2px 4px rgba(0,0,0,0.1)\",\n      width: \"100%\",\n    })}\n  >\n    ${props.child ? buildChild(props.child) : nothing}\n  </div>\n`,\n);\n"],"mappings":";;;;;;;AAMA,MAAa,OAAO,mBAClB,UACC,EAAE,OAAO,iBAAiB,IAAI;;YAErB,SAAS;CACf,GAAG,uBAAuB;CAC1B,iBAAiB;CACjB,WAAW;CACX,OAAO;CACR,CAAC,CAAC;;MAED,MAAM,QAAQ,WAAW,MAAM,MAAM,GAAG,QAAQ;;EAGrD"}