kwikid-components-react
Version:
KwikID's Component Library in React
14 lines (13 loc) • 2.08 kB
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.KwikIDFormFieldTypeTitle = exports.KwikIDFormFieldTypeApiContainer = exports.KwikIDFormFieldTypeApi = exports.FormMain = void 0;
var _styledComponents = _interopRequireDefault(require("styled-components"));
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 FormMain = exports.FormMain = _styledComponents.default.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: column;\n align-items: stretch;\n justify-content: flex-start;\n padding: 0rem 1rem;\n\n & > *:not(:last-child) {\n margin-bottom: 1rem;\n }\n"])));
const KwikIDFormFieldTypeTitle = exports.KwikIDFormFieldTypeTitle = _styledComponents.default.div(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n border-left: 0.25rem solid var(--kwikui-color-primary);\n padding: 0.75rem;\n font-size: 1.4em;\n font-weight: bold;\n background-color: #f5f5f5;\n display: flex;\n flex-direction: row;\n align-content: center;\n justify-content: space-between;\n align-items: center;\n\n & > *:not(:last-child) {\n margin-right: 0.5rem;\n }\n\n &:not(:first-child) {\n margin-top: 0.5rem;\n }\n"])));
const KwikIDFormFieldTypeApi = exports.KwikIDFormFieldTypeApi = _styledComponents.default.div(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: space-between;\n\n & > *:not(:last-child) {\n margin-right: 0.5rem;\n }\n"])));
const KwikIDFormFieldTypeApiContainer = exports.KwikIDFormFieldTypeApiContainer = _styledComponents.default.div(_templateObject4 || (_templateObject4 = _taggedTemplateLiteral(["\n & > *:not(:last-child) {\n margin-bottom: 0.25rem;\n }\n"])));