UNPKG

kwikid-components-react

Version:

KwikID's Component Library in React

15 lines (14 loc) 2.44 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.KwikUIStyleInputDateTimeWrapper = exports.KwikUIStyleInputDateTimeMessagesContainer = exports.KwikUIStyleInputDateTimeLabel = exports.KwikUIStyleInputDateTimeContainer = void 0; var _styledComponents = _interopRequireDefault(require("styled-components")); var _Input = require("../../../../shared/styles/Input.style"); var _templateObject, _templateObject2, _templateObject3, _templateObject4; function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; } function _taggedTemplateLiteral(e, t) { return t || (t = e.slice(0)), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } })); } const KwikUIStyleInputDateTimeWrapper = exports.KwikUIStyleInputDateTimeWrapper = _styledComponents.default.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: column;\n align-content: flex-start;\n justify-content: flex-start;\n align-items: flex-start;\n\n & > *:not(:last-child) {\n margin-bottom: 0.5rem;\n }\n"]))); const KwikUIStyleInputDateTimeLabel = exports.KwikUIStyleInputDateTimeLabel = _styledComponents.default.label(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n ", "\n\n position: absolute;\n top: 0px;\n margin-left: -0.15rem;\n transform: translate(0px, -50%);\n"])), _Input.KwikUIStyleInputLabel); const KwikUIStyleInputDateTimeContainer = exports.KwikUIStyleInputDateTimeContainer = _styledComponents.default.div(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n ", "\n ", "\n ", "\n ", "\n ", "\n #prefix {\n ", "\n }\n #postfix {\n ", "\n }\n\n input {\n ", "\n ", "\n ", "\n &::placeholder {\n ", "\n }\n }\n"])), _Input.KwikUIStyleInputContainerBase, _Input.KwikUIStyleInputStatus, _Input.KwikUIStyleInputContainerDisabled, _Input.KwikUIStyleInputContainerSize, _Input.KwikUIStyleInputContainerShape, _Input.KwikUIStyleInputPrefix, _Input.KwikUIStyleInputPostfix, _Input.KwikUIStyleInputReset, _Input.KwikUIStyleInputBase, _Input.KwikUIStyleInputSize, _Input.KwikUIStyleInputPlaceholder); const KwikUIStyleInputDateTimeMessagesContainer = exports.KwikUIStyleInputDateTimeMessagesContainer = _styledComponents.default.div(_templateObject4 || (_templateObject4 = _taggedTemplateLiteral(["\n width: 100%;\n margin-left: 0.25rem;\n font-size: 0.9rem;\n"])));