{"ast":null,"code":"import * as React from 'react';\nimport classNames from 'classnames';\nimport { textAreaPropDefs } from './text-area.props';\nimport { extractMarginProps, withMarginProps, withBreakpoints } from '../helpers';\nconst TextArea = React.forwardRef((props, forwardedRef) => {\n  const {\n    rest: marginRest,\n    ...marginProps\n  } = extractMarginProps(props);\n  const {\n    className,\n    size = textAreaPropDefs.size.default,\n    variant = textAreaPropDefs.variant.default,\n    color = textAreaPropDefs.color.default,\n    ...textAreaProps\n  } = marginRest;\n  return React.createElement(\"textarea\", {\n    \"data-accent-color\": color,\n    ...textAreaProps,\n    ref: forwardedRef,\n    className: classNames('rt-TextArea', className, withBreakpoints(size, 'rt-r-size'), `rt-variant-${variant}`, withMarginProps(marginProps))\n  });\n});\nTextArea.displayName = 'TextArea';\nexport { TextArea };","map":{"version":3,"names":["React","classNames","textAreaPropDefs","extractMarginProps","withMarginProps","withBreakpoints","TextArea","forwardRef","props","forwardedRef","rest","marginRest","marginProps","className","size","default","variant","color","textAreaProps","createElement","ref","displayName"],"sources":["../../../src/components/text-area.tsx"],"sourcesContent":[null],"mappings":"AAAA,OAAO,KAAKA,KAAK,MAAM,OAAO;AAC9B,OAAOC,UAAU,MAAM,YAAY;AACnC,SAASC,gBAAgB,QAAQ,mBAAmB;AACpD,SAASC,kBAAkB,EAAEC,eAAe,EAAEC,eAAe,QAAQ,YAAY;AAUjF,MAAMC,QAAQ,GAAGN,KAAK,CAACO,UAAU,CAAiC,CAACC,KAAK,EAAEC,YAAY,KAAI;EACxF,MAAM;IAAEC,IAAI,EAAEC,UAAU;IAAE,GAAGC;EAAW,CAAE,GAAGT,kBAAkB,CAACK,KAAK,CAAC;EACtE,MAAM;IACJK,SAAS;IACTC,IAAI,GAAGZ,gBAAgB,CAACY,IAAI,CAACC,OAAO;IACpCC,OAAO,GAAGd,gBAAgB,CAACc,OAAO,CAACD,OAAO;IAC1CE,KAAK,GAAGf,gBAAgB,CAACe,KAAK,CAACF,OAAO;IACtC,GAAGG;EAAa,CACjB,GAAGP,UAAU;EACd,OACEX,KAAA,CAAAmB,aAAA;IAAA,qBACqBF,KAAK;IAAA,GACpBC,aAAa;IACjBE,GAAG,EAAEX,YAAY;IACjBI,SAAS,EAAEZ,UAAU,CACnB,aAAa,EACbY,SAAS,EACTR,eAAe,CAACS,IAAI,EAAE,WAAW,CAAC,EAClC,cAAcE,OAAO,EAAE,EACvBZ,eAAe,CAACQ,WAAW,CAAC;EAC7B,EACD;AAEN,CAAC,CAAC;AACFN,QAAQ,CAACe,WAAW,GAAG,UAAU;AAEjC,SAASf,QAAQ"},"metadata":{},"sourceType":"module","externalDependencies":[]}