"use strict";
Object.defineProperty(exports, "__esModule", {
    value: true
});
function _export(target, all) {
    for(var name in all)Object.defineProperty(target, name, {
        enumerable: true,
        get: all[name]
    });
}
_export(exports, {
    Paper: function() {
        return Paper;
    },
    paperVariants: function() {
        return paperVariants;
    }
});
const _jsxruntime = require("react/jsx-runtime");
const _css = require("../utils/css");
const _reactslot = require("@radix-ui/react-slot");
const _classvarianceauthority = require("class-variance-authority");
const paperVariants = (0, _classvarianceauthority.cva)([
    "orderly-rounded orderly-p-3"
], {
    variants: {
        variant: {
            outline: "orderly-border orderly-border-base-100 ",
            contained: "orderly-bg-base-300"
        },
        square: {
            true: "orderly-rounded-none"
        }
    },
    defaultVariants: {
        variant: "contained"
    }
});
const Paper = (props)=>{
    const { asChild, className, variant, square, ...rest } = props;
    const Comp = asChild ? _reactslot.Slot : "div";
    return /*#__PURE__*/ (0, _jsxruntime.jsx)(Comp, {
        className: (0, _css.cn)(paperVariants({
            variant,
            square,
            className
        })),
        ...rest
    });
};

//# sourceMappingURL=paper.js.map