{"version":3,"file":"Card.cjs","names":["createReactComponent","CardApi","getBaseContainerStyle"],"sources":["../../../../../../src/react-renderer/a2ui-react/catalog/basic/components/Card.tsx"],"sourcesContent":["/**\n * Copyright 2026 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport React from \"react\";\nimport { createReactComponent } from \"../../../adapter\";\nimport { CardApi } from \"@a2ui/web_core/v0_9/basic_catalog\";\nimport { getBaseContainerStyle } from \"../utils\";\n\nexport const Card = createReactComponent(CardApi, ({ props, buildChild }) => {\n  const style: React.CSSProperties = {\n    ...getBaseContainerStyle(),\n    backgroundColor: \"#fff\",\n    boxShadow: \"0 2px 4px rgba(0,0,0,0.1)\",\n    width: \"100%\",\n  };\n\n  return (\n    <div style={style}>{props.child ? buildChild(props.child) : null}</div>\n  );\n});\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAqBA,MAAa,OAAOA,qCAAqBC,4CAAU,EAAE,OAAO,iBAAiB;AAQ3E,QACE,2CAAC;EAAI,OAR4B;GACjC,GAAGC,qCAAuB;GAC1B,iBAAiB;GACjB,WAAW;GACX,OAAO;GACR;YAGqB,MAAM,QAAQ,WAAW,MAAM,MAAM,GAAG;GAAW;EAEzE"}