{"version":3,"sources":["../src/Shimmer/Shimmer.tsx"],"sourcesContent":["import { cx } from \"cva\";\nimport { ComponentProps, CSSProperties } from \"react\";\n\nexport type ShimmerProps = Omit<ComponentProps<\"div\">, \"width\" | \"height\"> & {\n  height: CSSProperties[\"height\"];\n  width: CSSProperties[\"width\"];\n};\n\nexport default function Shimmer({ className, height, width, style, ...restProps }: ShimmerProps) {\n  return (\n    <div\n      {...restProps}\n      className={cx(\"kn-shimmer\", className)}\n      style={{ width, height, minWidth: width, minHeight: height, ...style }}\n    />\n  );\n}\n"],"mappings":";;;;;;;AAAA,SAAS,UAAU;AAUf;AAFW,SAAR,QAAyB,IAAiE;AAAjE,eAAE,aAAW,QAAQ,OAAO,MAR5D,IAQgC,IAAsC,sBAAtC,IAAsC,CAApC,aAAW,UAAQ,SAAO;AAC1D,SACE;AAAA,IAAC;AAAA,qCACK,YADL;AAAA,MAEC,WAAW,GAAG,cAAc,SAAS;AAAA,MACrC,OAAO,iBAAE,OAAO,QAAQ,UAAU,OAAO,WAAW,UAAW;AAAA;AAAA,EACjE;AAEJ;","names":[]}