{"version":3,"file":"Column.mjs","names":[],"sources":["../../../../../../src/react-renderer/a2ui-react/catalog/basic/components/Column.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 { createReactComponent } from \"../../../adapter\";\nimport { ColumnApi } from \"@a2ui/web_core/v0_9/basic_catalog\";\nimport { ChildList } from \"./ChildList\";\nimport { mapJustify, mapAlign } from \"../utils\";\n\nexport const Column = createReactComponent(\n  ColumnApi,\n  ({ props, buildChild, context }) => {\n    return (\n      <div\n        style={{\n          display: \"flex\",\n          flexDirection: \"column\",\n          justifyContent: mapJustify(props.justify),\n          alignItems: mapAlign(props.align),\n          width: \"100%\",\n          margin: 0,\n          padding: 0,\n        }}\n      >\n        <ChildList\n          childList={props.children}\n          buildChild={buildChild}\n          context={context}\n        />\n      </div>\n    );\n  },\n);\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAqBA,MAAa,SAAS,qBACpB,YACC,EAAE,OAAO,YAAY,cAAc;AAClC,QACE,oBAAC;EACC,OAAO;GACL,SAAS;GACT,eAAe;GACf,gBAAgB,WAAW,MAAM,QAAQ;GACzC,YAAY,SAAS,MAAM,MAAM;GACjC,OAAO;GACP,QAAQ;GACR,SAAS;GACV;YAED,oBAAC;GACC,WAAW,MAAM;GACL;GACH;IACT;GACE;EAGX"}