import { j as jsxRuntimeExports } from '../node_modules/.pnpm/react@18.2.0/node_modules/react/jsx-runtime.js';
import { Root as $1bf158f521e1b1b4$export$be92b6f5f03c0fe9, Item as $1bf158f521e1b1b4$export$6d08773d2e66f8f2, Header as $1bf158f521e1b1b4$export$8b251419efc915eb, Trigger as $1bf158f521e1b1b4$export$41fb9f06171c75f4, Content as $1bf158f521e1b1b4$export$7c6e2c02157bb7d2 } from '../node_modules/.pnpm/@radix-ui_react-accordion@1.1.2_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3._nizm4bosmpm2rb3z7oy3ycykpi/node_modules/@radix-ui/react-accordion/dist/index.js';
import * as React from 'react';
import { DiscIcon, ChevronDownIcon } from '../node_modules/.pnpm/@radix-ui_react-icons@1.3.0_react@18.2.0/node_modules/@radix-ui/react-icons/dist/react-icons.esm.js';
import { Flex } from '../flex/flex.js';
import styles from './accordion.module.css.js';

const AccordionRoot = React.forwardRef(({ className, ...props }, ref) => (jsxRuntimeExports.jsx($1bf158f521e1b1b4$export$be92b6f5f03c0fe9, { ref: ref, className: styles.accordion, ...props })));
const AccordionItem = React.forwardRef(({ className, ...props }, ref) => (jsxRuntimeExports.jsxs(Flex, { gap: "medium", style: { width: "100%" }, children: [jsxRuntimeExports.jsx(DiscIcon, { width: 16, height: 16, style: { margin: "14px 0" } }), jsxRuntimeExports.jsx($1bf158f521e1b1b4$export$6d08773d2e66f8f2, { ref: ref, className: `${styles.item} ${className}`, ...props })] })));
AccordionItem.displayName = "AccordionItem";
const AccordionTrigger = React.forwardRef(({ className, children, ...props }, ref) => (jsxRuntimeExports.jsx($1bf158f521e1b1b4$export$8b251419efc915eb, { className: styles.header, children: jsxRuntimeExports.jsxs($1bf158f521e1b1b4$export$41fb9f06171c75f4, { ref: ref, className: styles.trigger, ...props, children: [children, jsxRuntimeExports.jsx(ChevronDownIcon, { className: styles.svg })] }) })));
AccordionTrigger.displayName = $1bf158f521e1b1b4$export$41fb9f06171c75f4.displayName;
const AccordionContent = React.forwardRef(({ className = "", children, ...props }, ref) => (jsxRuntimeExports.jsx($1bf158f521e1b1b4$export$7c6e2c02157bb7d2, { ref: ref, className: styles.content, ...props, children: jsxRuntimeExports.jsx("div", { className: `${styles.className}`, children: children }) })));
AccordionContent.displayName = $1bf158f521e1b1b4$export$7c6e2c02157bb7d2.displayName;
const Accordion = Object.assign(AccordionRoot, {
    Content: AccordionContent,
    Item: AccordionItem,
    Trigger: AccordionTrigger,
});

export { Accordion };
//# sourceMappingURL=accordion.js.map
