diff --git a/bun.lockb b/bun.lockb index c127bafc..804b7f34 100755 Binary files a/bun.lockb and b/bun.lockb differ diff --git a/components/ui/disclosure.tsx b/components/ui/disclosure.tsx index 6db3f05b..ef4ea070 100644 --- a/components/ui/disclosure.tsx +++ b/components/ui/disclosure.tsx @@ -22,6 +22,7 @@ import { cn, cr } from "./primitive" interface DisclosureGroupProps extends DisclosureGroupPrimitiveProps { hideBorder?: boolean hideIndicator?: boolean + className?: string } const DisclosureGroupContext = React.createContext({}) @@ -41,14 +42,12 @@ const DisclosureGroup = ({ isDisabled ? "cursor-not-allowed opacity-75" : "cursor-pointer", hideBorder ? "[&_[data-slot=accordion-item]]:border-none" - : "[&_[data-slot=accordion-item]]:border-b", - - className + : "[&_[data-slot=accordion-item]]:border-b" ]) } > {(values) => ( -
+
{typeof children === "function" ? children(values) : children} diff --git a/package.json b/package.json index 69ebd79a..5f46348e 100644 --- a/package.json +++ b/package.json @@ -18,16 +18,16 @@ "dependencies": { "@openpanel/nextjs": "^0.0.10-beta", "@radix-ui/react-collapsible": "^1.1.1", - "@shikijs/transformers": "^1.23.0", + "@shikijs/transformers": "^1.23.1", "chroma-js": "^2.6.0", "clsx": "^2.1.1", "cmdk": "^1.0.4", "color-namer": "^1.4.0", - "embla-carousel-autoplay": "^8.3.1", - "embla-carousel-react": "^8.3.1", + "embla-carousel-autoplay": "^8.4.0", + "embla-carousel-react": "^8.4.0", "framer-motion": "12.0.0-alpha.1", "input-otp": "^1.4.1", - "justd-icons": "^1.7.6", + "justd-icons": "^1.7.9", "mitt": "^3.0.1", "next": "^15.0.3", "next-themes": "^0.2.1", @@ -42,7 +42,7 @@ "rehype-stringify": "^10.0.1", "scroll-into-view-if-needed": "^3.1.0", "sharp": "^0.33.5", - "shiki": "^1.23.0", + "shiki": "^1.23.1", "sonner": "^1.7.0", "tailwind-merge": "^2.5.4", "tailwind-variants": "^0.2.1", @@ -50,11 +50,11 @@ "tailwindcss-react-aria-components": "^1.1.6", "title": "^3.5.3", "use-debounce": "^10.0.4", - "usemods": "^1.8.0", + "usemods": "^1.8.1", "vaul": "^1.1.1" }, "devDependencies": { - "@shikijs/rehype": "^1.23.0", + "@shikijs/rehype": "^1.23.1", "@tailwindcss/typography": "^0.5.15", "@trivago/prettier-plugin-sort-imports": "^4.3.0", "@types/chroma-js": "^2.4.4",