'use strict';

var jsxRuntime = require('../../node_modules/.pnpm/react@18.2.0/node_modules/react/jsx-runtime.cjs');
var index = require('../../node_modules/.pnpm/@radix-ui_react-tabs@1.0.4_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-tabs/dist/index.cjs');
var index$1 = require('../../node_modules/.pnpm/class-variance-authority@0.7.1/node_modules/class-variance-authority/dist/index.cjs');
var React = require('react');
var tabs_module = require('./tabs.module.css.cjs');

const root = index$1.cva(tabs_module.default.root);
const list = index$1.cva(tabs_module.default.list);
const trigger = index$1.cva(tabs_module.default.trigger);
const content = index$1.cva(tabs_module.default.content);
const TabsRoot = React.forwardRef(({ className, 'aria-label': ariaLabel, ...props }, ref) => (jsxRuntime.jsxRuntimeExports.jsx(index.Root, { ref: ref, className: root({ className }), "aria-label": ariaLabel || "Tabs", ...props })));
const TabsList = React.forwardRef(({ className, ...props }, ref) => (jsxRuntime.jsxRuntimeExports.jsx(index.List, { ref: ref, role: "tablist", className: list({ className }), ...props })));
const TabsTrigger = React.forwardRef(({ className, icon, children, disabled, ...props }, ref) => (jsxRuntime.jsxRuntimeExports.jsxs(index.Trigger, { ref: ref, className: trigger({ className }), disabled: disabled, "aria-disabled": disabled, ...props, children: [icon && jsxRuntime.jsxRuntimeExports.jsx("span", { className: tabs_module.default["trigger-icon"], children: icon }), children] })));
const TabsContent = React.forwardRef(({ className, ...props }, ref) => (jsxRuntime.jsxRuntimeExports.jsx(index.Content, { ref: ref, role: "tabpanel", className: content({ className }), ...props })));
TabsRoot.displayName = index.Root.displayName;
TabsList.displayName = index.List.displayName;
TabsTrigger.displayName = index.Trigger.displayName;
TabsContent.displayName = index.Content.displayName;
const Tabs = {
    Root: TabsRoot,
    List: TabsList,
    Trigger: TabsTrigger,
    Content: TabsContent,
};

exports.Tabs = Tabs;
//# sourceMappingURL=tabs.cjs.map
