'use strict';

var React = require('react');
var classnames = require('classnames');
var getMappedAtlantisSpaceToken = require('./getMappedAtlantisSpaceToken-cjs.js');

var styles = {"cover":"sGSmxHTsTfA-","centerContent":"_6S-jbOw7NEA-","spinning":"GG7BmJeHa9Q-"};

function Cover({ children, minHeight, gap, as: Tag = "div", dataAttributes, ariaAttributes, role, id, UNSAFE_className, UNSAFE_style, }) {
    return (React.createElement(Tag, Object.assign({ role: role, id: id }, dataAttributes, ariaAttributes, { style: Object.assign({ "--public-cover-min-height": minHeight, "--public-cover-space": getMappedAtlantisSpaceToken.getMappedAtlantisSpaceToken(gap) }, UNSAFE_style === null || UNSAFE_style === void 0 ? void 0 : UNSAFE_style.container), className: classnames(styles.cover, UNSAFE_className === null || UNSAFE_className === void 0 ? void 0 : UNSAFE_className.container) }), children));
}
Cover.Center = function CenterContent({ children, UNSAFE_className, UNSAFE_style, as: Tag = "div", id, role, ariaAttributes, dataAttributes, }) {
    return (React.createElement(Tag, Object.assign({ role: role, id: id }, dataAttributes, ariaAttributes, { className: classnames(styles.centerContent, UNSAFE_className === null || UNSAFE_className === void 0 ? void 0 : UNSAFE_className.centerContent), style: UNSAFE_style === null || UNSAFE_style === void 0 ? void 0 : UNSAFE_style.centerContent }), children));
};

exports.Cover = Cover;
