{"$schema":"https://ui.shadcn.com/schema/registry-item.json","name":"marketing-changelogs-expandable-changelog","type":"registry:block","title":"Expandable Changelog","files":[{"path":"components/blocks/marketing/changelogs/expandable-changelog.tsx","content":"import { Badge } from \"@/components/ui/badge\";\nimport {\n  Accordion,\n  AccordionContent,\n  AccordionItem,\n  AccordionTrigger,\n} from \"@/components/ui/accordion\";\n\nexport default function ExpandableChangelog() {\n  return (\n    <div className=\"container mx-auto max-w-3xl px-4 py-6 sm:py-8\">\n      <div className=\"mb-6 sm:mb-8\">\n        <h2 className=\"text-2xl font-bold tracking-tight sm:text-3xl\">\n          Changelog\n        </h2>\n        <p className=\"text-muted-foreground mt-2\">\n          Expand each version to see the changes\n        </p>\n      </div>\n\n      <Accordion\n        type=\"single\"\n        collapsible\n        className=\"w-full\"\n        defaultValue=\"v2.0.0\"\n      >\n        <AccordionItem\n          value=\"v2.0.0\"\n          className=\"mb-3 overflow-hidden rounded-lg border sm:mb-4\"\n        >\n          <AccordionTrigger className=\"hover:bg-muted/40 [&[data-state=open]]:bg-muted/40 px-3 py-3 sm:px-6 sm:py-4\">\n            <div className=\"flex w-full flex-wrap items-center gap-2 sm:gap-3\">\n              <span className=\"text-base font-medium sm:text-lg\">\n                Version 2.0.0\n              </span>\n              <Badge className=\"text-xs\">Latest</Badge>\n              <span className=\"text-muted-foreground text-xs\">\n                April 15, 2023\n              </span>\n            </div>\n          </AccordionTrigger>\n          <AccordionContent className=\"px-3 pt-2 pb-4 sm:px-6\">\n            <div className=\"grid grid-cols-1 gap-4 sm:gap-6 md:grid-cols-2\">\n              <div>\n                <h4 className=\"text-muted-foreground mb-2 text-xs font-semibold tracking-wider uppercase sm:mb-3 sm:text-sm\">\n                  Features & Improvements\n                </h4>\n                <ul className=\"space-y-2 sm:space-y-3\">\n                  <li className=\"flex gap-2\">\n                    <svg\n                      xmlns=\"http://www.w3.org/2000/svg\"\n                      width=\"18\"\n                      height=\"18\"\n                      viewBox=\"0 0 24 24\"\n                      fill=\"none\"\n                      stroke=\"currentColor\"\n                      strokeWidth=\"2\"\n                      strokeLinecap=\"round\"\n                      strokeLinejoin=\"round\"\n                      className=\"mt-1 flex-shrink-0 text-green-500\"\n                    >\n                      <polyline points=\"20 6 9 17 4 12\"></polyline>\n                    </svg>\n                    <div>\n                      <p className=\"text-sm font-medium sm:text-base\">\n                        Redesigned dashboard\n                      </p>\n                      <p className=\"text-muted-foreground text-xs sm:text-sm\">\n                        More intuitive UI with improved accessibility\n                      </p>\n                    </div>\n                  </li>\n                  <li className=\"flex gap-2\">\n                    <svg\n                      xmlns=\"http://www.w3.org/2000/svg\"\n                      width=\"18\"\n                      height=\"18\"\n                      viewBox=\"0 0 24 24\"\n                      fill=\"none\"\n                      stroke=\"currentColor\"\n                      strokeWidth=\"2\"\n                      strokeLinecap=\"round\"\n                      strokeLinejoin=\"round\"\n                      className=\"mt-1 flex-shrink-0 text-green-500\"\n                    >\n                      <polyline points=\"20 6 9 17 4 12\"></polyline>\n                    </svg>\n                    <div>\n                      <p className=\"text-sm font-medium sm:text-base\">\n                        Dark mode support\n                      </p>\n                      <p className=\"text-muted-foreground text-xs sm:text-sm\">\n                        Full dark mode across all pages and components\n                      </p>\n                    </div>\n                  </li>\n                  <li className=\"flex gap-2\">\n                    <svg\n                      xmlns=\"http://www.w3.org/2000/svg\"\n                      width=\"18\"\n                      height=\"18\"\n                      viewBox=\"0 0 24 24\"\n                      fill=\"none\"\n                      stroke=\"currentColor\"\n                      strokeWidth=\"2\"\n                      strokeLinecap=\"round\"\n                      strokeLinejoin=\"round\"\n                      className=\"mt-1 flex-shrink-0 text-blue-500\"\n                    >\n                      <polyline points=\"20 6 9 17 4 12\"></polyline>\n                    </svg>\n                    <div>\n                      <p className=\"text-sm font-medium sm:text-base\">\n                        Performance improvements\n                      </p>\n                      <p className=\"text-muted-foreground text-xs sm:text-sm\">\n                        40% faster load times and reduced bundle size\n                      </p>\n                    </div>\n                  </li>\n                </ul>\n              </div>\n              <div>\n                <h4 className=\"text-muted-foreground mb-2 text-xs font-semibold tracking-wider uppercase sm:mb-3 sm:text-sm\">\n                  Bug Fixes & Changes\n                </h4>\n                <ul className=\"space-y-2 sm:space-y-3\">\n                  <li className=\"flex gap-2\">\n                    <svg\n                      xmlns=\"http://www.w3.org/2000/svg\"\n                      width=\"18\"\n                      height=\"18\"\n                      viewBox=\"0 0 24 24\"\n                      fill=\"none\"\n                      stroke=\"currentColor\"\n                      strokeWidth=\"2\"\n                      strokeLinecap=\"round\"\n                      strokeLinejoin=\"round\"\n                      className=\"mt-1 flex-shrink-0 text-red-500\"\n                    >\n                      <polyline points=\"20 6 9 17 4 12\"></polyline>\n                    </svg>\n                    <div>\n                      <p className=\"text-sm font-medium sm:text-base\">\n                        Fixed accessibility issues\n                      </p>\n                      <p className=\"text-muted-foreground text-xs sm:text-sm\">\n                        Improved keyboard navigation and screen reader support\n                      </p>\n                    </div>\n                  </li>\n                  <li className=\"flex gap-2\">\n                    <svg\n                      xmlns=\"http://www.w3.org/2000/svg\"\n                      width=\"18\"\n                      height=\"18\"\n                      viewBox=\"0 0 24 24\"\n                      fill=\"none\"\n                      stroke=\"currentColor\"\n                      strokeWidth=\"2\"\n                      strokeLinecap=\"round\"\n                      strokeLinejoin=\"round\"\n                      className=\"mt-1 flex-shrink-0 text-yellow-500\"\n                    >\n                      <polyline points=\"20 6 9 17 4 12\"></polyline>\n                    </svg>\n                    <div>\n                      <p className=\"text-sm font-medium sm:text-base\">\n                        API changes\n                      </p>\n                      <p className=\"text-muted-foreground text-xs sm:text-sm\">\n                        Restructured endpoints with backward compatibility\n                      </p>\n                    </div>\n                  </li>\n                </ul>\n              </div>\n            </div>\n          </AccordionContent>\n        </AccordionItem>\n\n        <AccordionItem\n          value=\"v1.2.0\"\n          className=\"mb-3 overflow-hidden rounded-lg border sm:mb-4\"\n        >\n          <AccordionTrigger className=\"hover:bg-muted/40 [&[data-state=open]]:bg-muted/40 px-3 py-3 sm:px-6 sm:py-4\">\n            <div className=\"flex w-full flex-wrap items-center gap-2 sm:gap-3\">\n              <span className=\"text-base font-medium sm:text-lg\">\n                Version 1.2.0\n              </span>\n              <span className=\"text-muted-foreground text-xs\">\n                March 2, 2023\n              </span>\n            </div>\n          </AccordionTrigger>\n          <AccordionContent className=\"px-3 pt-2 pb-4 sm:px-6\">\n            <div className=\"space-y-3 sm:space-y-4\">\n              <div>\n                <h4 className=\"text-muted-foreground mb-2 text-xs font-semibold tracking-wider uppercase sm:mb-3 sm:text-sm\">\n                  Features & Improvements\n                </h4>\n                <ul className=\"space-y-2\">\n                  <li className=\"flex gap-2\">\n                    <svg\n                      xmlns=\"http://www.w3.org/2000/svg\"\n                      width=\"18\"\n                      height=\"18\"\n                      viewBox=\"0 0 24 24\"\n                      fill=\"none\"\n                      stroke=\"currentColor\"\n                      strokeWidth=\"2\"\n                      strokeLinecap=\"round\"\n                      strokeLinejoin=\"round\"\n                      className=\"mt-0.5 flex-shrink-0 text-green-500\"\n                    >\n                      <polyline points=\"20 6 9 17 4 12\"></polyline>\n                    </svg>\n                    <p className=\"text-sm sm:text-base\">\n                      Added new analytics dashboard with advanced filters\n                    </p>\n                  </li>\n                  <li className=\"flex gap-2\">\n                    <svg\n                      xmlns=\"http://www.w3.org/2000/svg\"\n                      width=\"18\"\n                      height=\"18\"\n                      viewBox=\"0 0 24 24\"\n                      fill=\"none\"\n                      stroke=\"currentColor\"\n                      strokeWidth=\"2\"\n                      strokeLinecap=\"round\"\n                      strokeLinejoin=\"round\"\n                      className=\"mt-0.5 flex-shrink-0 text-blue-500\"\n                    >\n                      <polyline points=\"20 6 9 17 4 12\"></polyline>\n                    </svg>\n                    <p className=\"text-sm sm:text-base\">\n                      Improved mobile responsiveness across all views\n                    </p>\n                  </li>\n                </ul>\n              </div>\n              <div>\n                <h4 className=\"text-muted-foreground mb-2 text-xs font-semibold tracking-wider uppercase sm:mb-3 sm:text-sm\">\n                  Bug Fixes\n                </h4>\n                <ul className=\"space-y-2\">\n                  <li className=\"flex gap-2\">\n                    <svg\n                      xmlns=\"http://www.w3.org/2000/svg\"\n                      width=\"18\"\n                      height=\"18\"\n                      viewBox=\"0 0 24 24\"\n                      fill=\"none\"\n                      stroke=\"currentColor\"\n                      strokeWidth=\"2\"\n                      strokeLinecap=\"round\"\n                      strokeLinejoin=\"round\"\n                      className=\"mt-0.5 flex-shrink-0 text-red-500\"\n                    >\n                      <polyline points=\"20 6 9 17 4 12\"></polyline>\n                    </svg>\n                    <p className=\"text-sm sm:text-base\">\n                      Fixed bug with user authentication\n                    </p>\n                  </li>\n                </ul>\n              </div>\n            </div>\n          </AccordionContent>\n        </AccordionItem>\n\n        <AccordionItem\n          value=\"v1.1.0\"\n          className=\"mb-3 overflow-hidden rounded-lg border sm:mb-4\"\n        >\n          <AccordionTrigger className=\"hover:bg-muted/40 [&[data-state=open]]:bg-muted/40 px-3 py-3 sm:px-6 sm:py-4\">\n            <div className=\"flex w-full flex-wrap items-center gap-2 sm:gap-3\">\n              <span className=\"text-base font-medium sm:text-lg\">\n                Version 1.1.0\n              </span>\n              <span className=\"text-muted-foreground text-xs\">\n                January 15, 2023\n              </span>\n            </div>\n          </AccordionTrigger>\n          <AccordionContent className=\"px-3 pt-2 pb-4 sm:px-6\">\n            <div className=\"space-y-3 sm:space-y-4\">\n              <div>\n                <h4 className=\"text-muted-foreground mb-2 text-xs font-semibold tracking-wider uppercase sm:mb-3 sm:text-sm\">\n                  What&apos;s New\n                </h4>\n                <ul className=\"space-y-2\">\n                  <li className=\"flex gap-2\">\n                    <svg\n                      xmlns=\"http://www.w3.org/2000/svg\"\n                      width=\"18\"\n                      height=\"18\"\n                      viewBox=\"0 0 24 24\"\n                      fill=\"none\"\n                      stroke=\"currentColor\"\n                      strokeWidth=\"2\"\n                      strokeLinecap=\"round\"\n                      strokeLinejoin=\"round\"\n                      className=\"mt-0.5 flex-shrink-0 text-green-500\"\n                    >\n                      <polyline points=\"20 6 9 17 4 12\"></polyline>\n                    </svg>\n                    <p className=\"text-sm sm:text-base\">\n                      Added support for custom themes\n                    </p>\n                  </li>\n                  <li className=\"flex gap-2\">\n                    <svg\n                      xmlns=\"http://www.w3.org/2000/svg\"\n                      width=\"18\"\n                      height=\"18\"\n                      viewBox=\"0 0 24 24\"\n                      fill=\"none\"\n                      stroke=\"currentColor\"\n                      strokeWidth=\"2\"\n                      strokeLinecap=\"round\"\n                      strokeLinejoin=\"round\"\n                      className=\"mt-0.5 flex-shrink-0 text-green-500\"\n                    >\n                      <polyline points=\"20 6 9 17 4 12\"></polyline>\n                    </svg>\n                    <p className=\"text-sm sm:text-base\">\n                      Improved form validation with helpful error messages\n                    </p>\n                  </li>\n                  <li className=\"flex gap-2\">\n                    <svg\n                      xmlns=\"http://www.w3.org/2000/svg\"\n                      width=\"18\"\n                      height=\"18\"\n                      viewBox=\"0 0 24 24\"\n                      fill=\"none\"\n                      stroke=\"currentColor\"\n                      strokeWidth=\"2\"\n                      strokeLinecap=\"round\"\n                      strokeLinejoin=\"round\"\n                      className=\"mt-0.5 flex-shrink-0 text-blue-500\"\n                    >\n                      <polyline points=\"20 6 9 17 4 12\"></polyline>\n                    </svg>\n                    <p className=\"text-sm sm:text-base\">\n                      Updated documentation with more examples\n                    </p>\n                  </li>\n                </ul>\n              </div>\n            </div>\n          </AccordionContent>\n        </AccordionItem>\n\n        <AccordionItem\n          value=\"v1.0.0\"\n          className=\"overflow-hidden rounded-lg !border\"\n        >\n          <AccordionTrigger className=\"hover:bg-muted/40 [&[data-state=open]]:bg-muted/40 px-3 py-3 sm:px-6 sm:py-4\">\n            <div className=\"flex w-full flex-wrap items-center gap-2 sm:gap-3\">\n              <span className=\"text-base font-medium sm:text-lg\">\n                Version 1.0.0\n              </span>\n              <span className=\"text-muted-foreground text-xs\">\n                December 1, 2022\n              </span>\n            </div>\n          </AccordionTrigger>\n          <AccordionContent className=\"px-3 pt-2 pb-4 sm:px-6\">\n            <p className=\"text-muted-foreground text-sm sm:text-base\">\n              Initial release of the product.\n            </p>\n          </AccordionContent>\n        </AccordionItem>\n      </Accordion>\n    </div>\n  );\n}\n","type":"registry:component","target":"components/blocks/marketing/changelogs/expandable-changelog.tsx"},{"path":"components/ui/badge.tsx","content":"import * as React from \"react\"\nimport { cva, type VariantProps } from \"class-variance-authority\"\nimport { Slot } from \"radix-ui\"\n\nimport { cn } from \"@/lib/utils\"\n\nconst badgeVariants = cva(\n  \"group/badge inline-flex h-5 w-fit shrink-0 items-center justify-center gap-1 overflow-hidden rounded-4xl border border-transparent px-2 py-0.5 text-xs font-medium whitespace-nowrap transition-all focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5 aria-invalid:border-destructive aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 [&>svg]:pointer-events-none [&>svg]:size-3!\",\n  {\n    variants: {\n      variant: {\n        default: \"bg-primary text-primary-foreground [a]:hover:bg-primary/80\",\n        secondary:\n          \"bg-secondary text-secondary-foreground [a]:hover:bg-secondary/80\",\n        destructive:\n          \"bg-destructive/10 text-destructive focus-visible:ring-destructive/20 dark:bg-destructive/20 dark:focus-visible:ring-destructive/40 [a]:hover:bg-destructive/20\",\n        outline:\n          \"border-border text-foreground [a]:hover:bg-muted [a]:hover:text-muted-foreground\",\n        ghost:\n          \"hover:bg-muted hover:text-muted-foreground dark:hover:bg-muted/50\",\n        link: \"text-primary underline-offset-4 hover:underline\",\n      },\n    },\n    defaultVariants: {\n      variant: \"default\",\n    },\n  }\n)\n\nfunction Badge({\n  className,\n  variant = \"default\",\n  asChild = false,\n  ...props\n}: React.ComponentProps<\"span\"> &\n  VariantProps<typeof badgeVariants> & { asChild?: boolean }) {\n  const Comp = asChild ? Slot.Root : \"span\"\n\n  return (\n    <Comp\n      data-slot=\"badge\"\n      data-variant={variant}\n      className={cn(badgeVariants({ variant }), className)}\n      {...props}\n    />\n  )\n}\n\nexport { Badge, badgeVariants }\n","type":"registry:ui","target":"components/ui/badge.tsx"},{"path":"components/ui/accordion.tsx","content":"\"use client\"\n\nimport * as React from \"react\"\nimport { Accordion as AccordionPrimitive } from \"radix-ui\"\n\nimport { cn } from \"@/lib/utils\"\nimport { ChevronDownIcon, ChevronUpIcon } from \"lucide-react\"\n\nfunction Accordion({\n  className,\n  ...props\n}: React.ComponentProps<typeof AccordionPrimitive.Root>) {\n  return (\n    <AccordionPrimitive.Root\n      data-slot=\"accordion\"\n      className={cn(\"flex w-full flex-col\", className)}\n      {...props}\n    />\n  )\n}\n\nfunction AccordionItem({\n  className,\n  ...props\n}: React.ComponentProps<typeof AccordionPrimitive.Item>) {\n  return (\n    <AccordionPrimitive.Item\n      data-slot=\"accordion-item\"\n      className={cn(\"not-last:border-b\", className)}\n      {...props}\n    />\n  )\n}\n\nfunction AccordionTrigger({\n  className,\n  children,\n  ...props\n}: React.ComponentProps<typeof AccordionPrimitive.Trigger>) {\n  return (\n    <AccordionPrimitive.Header className=\"flex\">\n      <AccordionPrimitive.Trigger\n        data-slot=\"accordion-trigger\"\n        className={cn(\n          \"group/accordion-trigger relative flex flex-1 items-start justify-between rounded-md border border-transparent py-4 text-left text-sm font-medium transition-all outline-none hover:underline focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 focus-visible:after:border-ring disabled:pointer-events-none disabled:opacity-50 **:data-[slot=accordion-trigger-icon]:ml-auto **:data-[slot=accordion-trigger-icon]:size-4 **:data-[slot=accordion-trigger-icon]:text-muted-foreground\",\n          className\n        )}\n        {...props}\n      >\n        {children}\n        <ChevronDownIcon data-slot=\"accordion-trigger-icon\" className=\"pointer-events-none shrink-0 group-aria-expanded/accordion-trigger:hidden\" />\n        <ChevronUpIcon data-slot=\"accordion-trigger-icon\" className=\"pointer-events-none hidden shrink-0 group-aria-expanded/accordion-trigger:inline\" />\n      </AccordionPrimitive.Trigger>\n    </AccordionPrimitive.Header>\n  )\n}\n\nfunction AccordionContent({\n  className,\n  children,\n  ...props\n}: React.ComponentProps<typeof AccordionPrimitive.Content>) {\n  return (\n    <AccordionPrimitive.Content\n      data-slot=\"accordion-content\"\n      className=\"overflow-hidden text-sm data-open:animate-accordion-down data-closed:animate-accordion-up\"\n      {...props}\n    >\n      <div\n        className={cn(\n          \"pt-0 pb-4 [&_a]:underline [&_a]:underline-offset-3 [&_a]:hover:text-foreground [&_p:not(:last-child)]:mb-4\",\n          className\n        )}\n      >\n        {children}\n      </div>\n    </AccordionPrimitive.Content>\n  )\n}\n\nexport { Accordion, AccordionItem, AccordionTrigger, AccordionContent }\n","type":"registry:ui","target":"components/ui/accordion.tsx"}],"description":"Collapsed version entries that open on click to reveal full details. Keeps a long release history short while letting readers drill into any update.","dependencies":["class-variance-authority","lucide-react","radix-ui"]}