{"version":3,"file":"Block.mjs","names":["Flexbox"],"sources":["../../src/Block/Block.tsx"],"sourcesContent":["'use client';\n\nimport { cx } from 'antd-style';\nimport { type FC } from 'react';\n\nimport { Flexbox } from '@/Flex';\n\nimport { variants } from './style';\nimport type { BlockProps } from './type';\n\nconst Block: FC<BlockProps> = ({\n  className,\n  variant = 'filled',\n  shadow,\n  glass,\n  children,\n  clickable,\n  ref,\n  ...rest\n}) => {\n  return (\n    <Flexbox\n      className={cx(variants({ clickable, glass, shadow, variant }), className)}\n      ref={ref}\n      {...rest}\n    >\n      {children}\n    </Flexbox>\n  );\n};\n\nBlock.displayName = 'Block';\n\nexport default Block;\n"],"mappings":";;;;;;AAUA,MAAM,SAAyB,EAC7B,WACA,UAAU,UACV,QACA,OACA,UACA,WACA,KACA,GAAG,WACC;AACJ,QACE,oBAACA,mBAAD;EACE,WAAW,GAAG,SAAS;GAAE;GAAW;GAAO;GAAQ;GAAS,CAAC,EAAE,UAAU;EACpE;EACL,GAAI;EAEH;EACO,CAAA;;AAId,MAAM,cAAc"}