"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }"use client";
var _chunk5KRCPBZRcjs = require('./chunk-5KRCPBZR.cjs');var _chunk3CNSKST2cjs = require('./chunk-3CNSKST2.cjs');var d=_chunk3CNSKST2cjs.a.call(void 0, "EulTextarea",["root"]),s=r=>_chunk5KRCPBZRcjs.e.call(void 0, "EulTextarea",{root:["root",r.disabled&&"disabled",r.focused&&"focused",r.error&&"error"]}),o= exports.a =d;var _react = require('react');var _clsx = require('clsx'); var _clsx2 = _interopRequireDefault(_clsx);var _react3 = require('@emotion/react');var l=_chunk3CNSKST2cjs.m.call(void 0, "textarea")(({theme:r})=>_react3.css`
    position: relative;
    display: inline-flex;
    flex-direction: row;
    gap: ${r.spacing(4)};
    align-items: center;
    width: 100%;
    padding: ${r.spacing(2.5,4)};
    color: ${r.palette.text.primary};
    font-weight: ${r.typography.body1.fontWeight};
    font-size: ${r.typography.body1.fontSize};
    line-height: ${r.typography.body1.lineHeight};
    background-color: ${r.palette.background[200]};
    border: none;
    border-radius: ${r.spacing(2)};
    outline: ${r.spacing(.5)} solid transparent;
    outline-offset: ${r.spacing(-.5)};
    cursor: text;
    transition: ${r.transitions.create(["background-color","outline-color"])};

    &:hover {
      background-color: ${r.palette.background[100]};
    }

    &.${o.error} {
      color: ${r.palette.red[600]};
      outline-color: currentColor;
    }

    &.${o.focused}, &:focus-visible {
      outline-color: currentColor;
    }

    &.${o.disabled} {
      background-color: transparent;
      outline-width: ${r.spacing(.25)};
      outline-color: ${r.palette.background[600]};
      cursor: not-allowed;
    }
  `);var _jsxruntime = require('react/jsx-runtime');var i=_react.forwardRef.call(void 0, (r,n)=>{let{className:c}=r,p=s(r);return _jsxruntime.jsx.call(void 0, l,{className:_clsx2.default.call(void 0, c,p.root),ref:n,...r})});i.displayName="Textarea";var $=i;exports.a = o; exports.b = $;
