Repository URL to install this package:
|
Version:
3.12.16 ▾
|
var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5;
function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
import { Button as SfxButton, InputGroup as SfxInputGroup } from '@scaleflex/ui/core';
import { Spinner as SfxSpinner } from '@scaleflex/icons';
import { PC } from '@filerobot/common';
import styled from 'styled-components';
var InputGroupWrapper = styled.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n display: flex;\n position: relative;\n width: 100%;\n\n .SfxTextarea-root {\n height: 123.6px;\n width: 100%;\n }\n\n .SfxInputGroup-root {\n width: 100%;\n }\n\n .SfxTextarea-Base {\n height: 80%;\n }\n"])));
var InputGroup = styled(SfxInputGroup)(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n\n"])));
var Button = styled(SfxButton)(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n position: absolute;\n bottom: 9px;\n left: 16px;\n"])));
var ClearAllButton = styled(SfxButton)(_templateObject4 || (_templateObject4 = _taggedTemplateLiteral(["\n position: absolute;\n bottom: 9px;\n left: 130px;\n"])));
var Spinner = styled(SfxSpinner)(_templateObject5 || (_templateObject5 = _taggedTemplateLiteral(["\n position: absolute;\n animation: spinner 1.2s linear infinite;\n color: ", ";\n z-index: 10;\n top: 15px;\n left: 26px;\n"])), function (_ref) {
var palette = _ref.theme.palette;
return palette[PC.TextSecondary];
});
var Styled = {
InputGroup: InputGroup,
Button: Button,
ClearAllButton: ClearAllButton,
InputGroupWrapper: InputGroupWrapper,
Spinner: Spinner
};
export default Styled;