'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-toggle-group@1.0.4_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18_5zbjdlb44rd4ljslt6t3dgnbxq/node_modules/@radix-ui/react-toggle-group/dist/index.cjs');
var togglegroup_module = require('./togglegroup.module.css.cjs');
var index$1 = require('../node_modules/.pnpm/class-variance-authority@0.7.1/node_modules/class-variance-authority/dist/index.cjs');

const root = index$1.cva(togglegroup_module.default.root);
/**
 * @deprecated Use ToggleGroupRoot from '@raystack/apsara/v1' instead.
 */
const ToggleGroupRoot = ({ className, ...props }) => {
    return (jsxRuntime.jsxRuntimeExports.jsx(index.Root, { className: root({ className }), ...props }));
};
ToggleGroupRoot.defaultProps = { type: "single" };
const item = index$1.cva(togglegroup_module.default.item);
/**
 * @deprecated Use ToggleGroupItem from '@raystack/apsara/v1' instead.
 */
const ToggleGroupItem = ({ className, ...props }) => {
    return (jsxRuntime.jsxRuntimeExports.jsx(index.Item, { className: item({ className }), ...props }));
};
/**
 * @deprecated Use ToggleGroup from '@raystack/apsara/v1' instead.
 */
const ToggleGroup = Object.assign(ToggleGroupRoot, {
    Item: ToggleGroupItem,
});

exports.ToggleGroup = ToggleGroup;
exports.ToggleGroupItem = ToggleGroupItem;
exports.ToggleGroupRoot = ToggleGroupRoot;
//# sourceMappingURL=togglegroup.cjs.map
