'use strict';

Object.defineProperty(exports, "__esModule", {
    value: true
});

var _templateObject = _taggedTemplateLiteral(['\n  width: 100%;\n  color: var(--px-input-text-color, #2c404c);\n  overflow: auto;\n  min-height: calc(120px + 0.66667rem);\n  padding: 0.33333rem 0.66667rem;\n  resize: vertical;\n  border: 1px solid var(--px-input-border-color--outer, #889aa5);\n  border-radius: 0;\n  font: inherit;\n  outline: 0;\n  background-color: var(--px-input-background-color, transparent);\n  transition: background .4s, border-color .4s, color .4s;\n  box-sizing: border-box;\n    &:focus{\n        color: var(--px-input-text-color--focused, inherit);\n        background-color: var(--px-input-textarea-background--focused, #eefbff);\n        border: 1px solid var(--px-input-border-color--outer--focused, #007acc);\n    }\n    &:focus::placeholder,\n    &:disabled::placeholder{\n        color: var(--px-input-text-color--placeholder--focused, rgba(0, 0, 0, 0.3));\n    }\n\n    &::placeholder{\n        color: var(--px-input-text-color--placeholder, rgba(0, 0, 0, 0.3));\n    }\n\n    &:disabled::placeholder{\n        color: var(--px-input-text-color--disabled, rgba(0, 0, 0, 0.2));\n    }\n\n    &::-ms-clear {\n        display: none;\n    }\n\n    &[readonly],\n    &:disabled {\n        border-color: var(--px-input-border-color--disabled, rgba(0, 0, 0, 0.2));\n        color: var(--px-input-text-color--disabled, rgba(0, 0, 0, 0.2));\n        cursor: not-allowed;\n        background-color: var(--px-input-background-color--disabled, transparent);\n    }\n\n    &:hover{\n        background-color: var(--px-input-background-color--hover, #d8e0e5);\n    }\n\n    &:focus{\n        border-color: var(--px-input-border-color--outer--focused, #007acc);\n        background-color: var(--px-input-background-color--focused, #eefbff);\n        color: var(--px-input-text-color--focused, inherit);\n    }\n'], ['\n  width: 100%;\n  color: var(--px-input-text-color, #2c404c);\n  overflow: auto;\n  min-height: calc(120px + 0.66667rem);\n  padding: 0.33333rem 0.66667rem;\n  resize: vertical;\n  border: 1px solid var(--px-input-border-color--outer, #889aa5);\n  border-radius: 0;\n  font: inherit;\n  outline: 0;\n  background-color: var(--px-input-background-color, transparent);\n  transition: background .4s, border-color .4s, color .4s;\n  box-sizing: border-box;\n    &:focus{\n        color: var(--px-input-text-color--focused, inherit);\n        background-color: var(--px-input-textarea-background--focused, #eefbff);\n        border: 1px solid var(--px-input-border-color--outer--focused, #007acc);\n    }\n    &:focus::placeholder,\n    &:disabled::placeholder{\n        color: var(--px-input-text-color--placeholder--focused, rgba(0, 0, 0, 0.3));\n    }\n\n    &::placeholder{\n        color: var(--px-input-text-color--placeholder, rgba(0, 0, 0, 0.3));\n    }\n\n    &:disabled::placeholder{\n        color: var(--px-input-text-color--disabled, rgba(0, 0, 0, 0.2));\n    }\n\n    &::-ms-clear {\n        display: none;\n    }\n\n    &[readonly],\n    &:disabled {\n        border-color: var(--px-input-border-color--disabled, rgba(0, 0, 0, 0.2));\n        color: var(--px-input-text-color--disabled, rgba(0, 0, 0, 0.2));\n        cursor: not-allowed;\n        background-color: var(--px-input-background-color--disabled, transparent);\n    }\n\n    &:hover{\n        background-color: var(--px-input-background-color--hover, #d8e0e5);\n    }\n\n    &:focus{\n        border-color: var(--px-input-border-color--outer--focused, #007acc);\n        background-color: var(--px-input-background-color--focused, #eefbff);\n        color: var(--px-input-text-color--focused, inherit);\n    }\n']);

var _react = require('react');

var _react2 = _interopRequireDefault(_react);

var _styledComponents = require('styled-components');

var _styledComponents2 = _interopRequireDefault(_styledComponents);

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

function _taggedTemplateLiteral(strings, raw) { return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }

var Textarea = _styledComponents2.default.textarea(_templateObject);
exports.default = Textarea;