'use client';'use strict';

var r = require('@radix-ui/react-scroll-area');
var css = require('@onbeam/styled-system/css');
var react = require('react');
var recipes = require('@onbeam/styled-system/recipes');
var jsxRuntime = require('react/jsx-runtime');

function _interopNamespace(e) {
	if (e && e.__esModule) return e;
	var n = Object.create(null);
	if (e) {
		Object.keys(e).forEach(function (k) {
			if (k !== 'default') {
				var d = Object.getOwnPropertyDescriptor(e, k);
				Object.defineProperty(n, k, d.get ? d : {
					enumerable: true,
					get: function () { return e[k]; }
				});
			}
		});
	}
	n.default = e;
	return Object.freeze(n);
}

var r__namespace = /*#__PURE__*/_interopNamespace(r);

var A=r__namespace.Corner,p=react.forwardRef(({className:a,children:e,...c},t)=>{let o=recipes.scrollArea();return jsxRuntime.jsxs(r__namespace.Root,{ref:t,className:css.cx(o.root,a),...c,children:[jsxRuntime.jsx(r__namespace.Viewport,{className:o.viewport,children:e}),jsxRuntime.jsx(S,{}),jsxRuntime.jsx(r__namespace.Corner,{})]})});p.displayName=r__namespace.Root.displayName;var S=react.forwardRef(({className:a,orientation:e="horizontal",...c},t)=>{let o=recipes.scrollArea();return jsxRuntime.jsx(r__namespace.ScrollAreaScrollbar,{ref:t,orientation:e,className:css.cx(o.bar,a),...c,children:jsxRuntime.jsx(r__namespace.ScrollAreaThumb,{className:o.thumb})})});S.displayName=r__namespace.ScrollAreaScrollbar.displayName;

exports.a = A;
exports.b = p;
exports.c = S;
//# sourceMappingURL=out.js.map
//# sourceMappingURL=chunk-DXR4VEAI.cjs.map