@roo-ui/components
Version:
30 lines (21 loc) • 5.05 kB
JavaScript
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
var _styledBase = _interopRequireDefault(require("@emotion/styled-base"));
var _styledSystem = require("styled-system");
var _omitProps = _interopRequireDefault(require("../omitProps"));
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; var ownKeys = Object.keys(source); if (typeof Object.getOwnPropertySymbols === 'function') { ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; })); } ownKeys.forEach(function (key) { _defineProperty(target, key, source[key]); }); } return target; }
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
var Box = (
/*#__PURE__*/
0, _styledBase.default)('div', _extends({}, {
target: "e1syng1p0",
label: "Box"
}, (0, _omitProps.default)()))(_styledSystem.display, " ", _styledSystem.space, " ", _styledSystem.width, " ", _styledSystem.minWidth, " ", _styledSystem.maxWidth, " ", _styledSystem.height, " ", _styledSystem.minHeight, " ", _styledSystem.maxHeight, " ", _styledSystem.color, " ", _styledSystem.textAlign, " ", _styledSystem.boxShadow, " ", _styledSystem.borderRadius, " ", _styledSystem.borders, " ", _styledSystem.borderColor, " ", _styledSystem.flexBasis, " ", _styledSystem.flex, " ", _styledSystem.position, " ", _styledSystem.zIndex, " ", _styledSystem.top, " ", _styledSystem.right, " ", _styledSystem.bottom, " ", _styledSystem.left, process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJ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leH1cbiAgJHt0b3B9XG4gICR7cmlnaHR9XG4gICR7Ym90dG9tfVxuICAke2xlZnR9XG5gO1xuXG5Cb3gucHJvcFR5cGVzID0ge1xuICAuLi5kaXNwbGF5LnByb3BUeXBlcyxcbiAgLi4uc3BhY2UucHJvcFR5cGVzLFxuICAuLi53aWR0aC5wcm9wVHlwZXMsXG4gIC4uLm1pbldpZHRoLnByb3BUeXBlcyxcbiAgLi4ubWF4V2lkdGgucHJvcFR5cGVzLFxuICAuLi5oZWlnaHQucHJvcFR5cGVzLFxuICAuLi5taW5IZWlnaHQucHJvcFR5cGVzLFxuICAuLi5tYXhIZWlnaHQucHJvcFR5cGVzLFxuICAuLi5jb2xvci5wcm9wVHlwZXMsXG4gIC4uLnRleHRBbGlnbi5wcm9wVHlwZXMsXG4gIC4uLmJveFNoYWRvdy5wcm9wVHlwZXMsXG4gIC4uLmJvcmRlclJhZGl1cy5wcm9wVHlwZXMsXG4gIC4uLmJvcmRlcnMucHJvcFR5cGVzLFxuICAuLi5ib3JkZXJDb2xvci5wcm9wVHlwZXMsXG4gIC4uLmZsZXhCYXNpcy5wcm9wVHlwZXMsXG4gIC4uLmZsZXgucHJvcFR5cGVzLFxuICAuLi5wb3NpdGlvbi5wcm9wVHlwZXMsXG4gIC4uLnpJbmRleC5wcm9wVHlwZXMsXG4gIC4uLnRvcC5wcm9wVHlwZXMsXG4gIC4uLnJpZ2h0LnByb3BUeXBlcyxcbiAgLi4uYm90dG9tLnByb3BUeXBlcyxcbiAgLi4ubGVmdC5wcm9wVHlwZXMsXG59O1xuXG5leHBvcnQgZGVmYXVsdCBCb3g7XG4iXX0= */");
Box.propTypes = _objectSpread({}, _styledSystem.display.propTypes, _styledSystem.space.propTypes, _styledSystem.width.propTypes, _styledSystem.minWidth.propTypes, _styledSystem.maxWidth.propTypes, _styledSystem.height.propTypes, _styledSystem.minHeight.propTypes, _styledSystem.maxHeight.propTypes, _styledSystem.color.propTypes, _styledSystem.textAlign.propTypes, _styledSystem.boxShadow.propTypes, _styledSystem.borderRadius.propTypes, _styledSystem.borders.propTypes, _styledSystem.borderColor.propTypes, _styledSystem.flexBasis.propTypes, _styledSystem.flex.propTypes, _styledSystem.position.propTypes, _styledSystem.zIndex.propTypes, _styledSystem.top.propTypes, _styledSystem.right.propTypes, _styledSystem.bottom.propTypes, _styledSystem.left.propTypes);
var _default = Box;
exports.default = _default;
;