2026-05-11 13:01:47 +02:00
|
|
|
'use client';
|
Initial commit: Port Nimara CRM (Layers 0-4)
Full CRM rebuild with Next.js 15, TypeScript, Tailwind, Drizzle ORM,
PostgreSQL, Redis, BullMQ, MinIO, and Socket.io. Includes 461 source
files covering clients, berths, interests/pipeline, documents/EOI,
expenses/invoices, email, notifications, dashboard, admin, and
client portal. CI/CD via Gitea Actions with Docker builds.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-26 11:52:51 +01:00
|
|
|
|
2026-05-11 13:01:47 +02:00
|
|
|
import * as React from 'react';
|
|
|
|
|
import * as RadioGroupPrimitive from '@radix-ui/react-radio-group';
|
|
|
|
|
import { Circle } from 'lucide-react';
|
Initial commit: Port Nimara CRM (Layers 0-4)
Full CRM rebuild with Next.js 15, TypeScript, Tailwind, Drizzle ORM,
PostgreSQL, Redis, BullMQ, MinIO, and Socket.io. Includes 461 source
files covering clients, berths, interests/pipeline, documents/EOI,
expenses/invoices, email, notifications, dashboard, admin, and
client portal. CI/CD via Gitea Actions with Docker builds.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-26 11:52:51 +01:00
|
|
|
|
2026-05-11 13:01:47 +02:00
|
|
|
import { cn } from '@/lib/utils';
|
Initial commit: Port Nimara CRM (Layers 0-4)
Full CRM rebuild with Next.js 15, TypeScript, Tailwind, Drizzle ORM,
PostgreSQL, Redis, BullMQ, MinIO, and Socket.io. Includes 461 source
files covering clients, berths, interests/pipeline, documents/EOI,
expenses/invoices, email, notifications, dashboard, admin, and
client portal. CI/CD via Gitea Actions with Docker builds.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-26 11:52:51 +01:00
|
|
|
|
|
|
|
|
const RadioGroup = React.forwardRef<
|
|
|
|
|
React.ElementRef<typeof RadioGroupPrimitive.Root>,
|
|
|
|
|
React.ComponentPropsWithoutRef<typeof RadioGroupPrimitive.Root>
|
|
|
|
|
>(({ className, ...props }, ref) => {
|
2026-05-11 13:01:47 +02:00
|
|
|
return <RadioGroupPrimitive.Root className={cn('grid gap-2', className)} {...props} ref={ref} />;
|
|
|
|
|
});
|
|
|
|
|
RadioGroup.displayName = RadioGroupPrimitive.Root.displayName;
|
Initial commit: Port Nimara CRM (Layers 0-4)
Full CRM rebuild with Next.js 15, TypeScript, Tailwind, Drizzle ORM,
PostgreSQL, Redis, BullMQ, MinIO, and Socket.io. Includes 461 source
files covering clients, berths, interests/pipeline, documents/EOI,
expenses/invoices, email, notifications, dashboard, admin, and
client portal. CI/CD via Gitea Actions with Docker builds.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-26 11:52:51 +01:00
|
|
|
|
|
|
|
|
const RadioGroupItem = React.forwardRef<
|
|
|
|
|
React.ElementRef<typeof RadioGroupPrimitive.Item>,
|
|
|
|
|
React.ComponentPropsWithoutRef<typeof RadioGroupPrimitive.Item>
|
|
|
|
|
>(({ className, ...props }, ref) => {
|
|
|
|
|
return (
|
|
|
|
|
<RadioGroupPrimitive.Item
|
|
|
|
|
ref={ref}
|
|
|
|
|
className={cn(
|
2026-05-11 13:01:47 +02:00
|
|
|
'aspect-square h-4 w-4 rounded-full border border-primary text-primary shadow focus:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50',
|
|
|
|
|
className,
|
Initial commit: Port Nimara CRM (Layers 0-4)
Full CRM rebuild with Next.js 15, TypeScript, Tailwind, Drizzle ORM,
PostgreSQL, Redis, BullMQ, MinIO, and Socket.io. Includes 461 source
files covering clients, berths, interests/pipeline, documents/EOI,
expenses/invoices, email, notifications, dashboard, admin, and
client portal. CI/CD via Gitea Actions with Docker builds.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-26 11:52:51 +01:00
|
|
|
)}
|
|
|
|
|
{...props}
|
|
|
|
|
>
|
|
|
|
|
<RadioGroupPrimitive.Indicator className="flex items-center justify-center">
|
|
|
|
|
<Circle className="h-3.5 w-3.5 fill-primary" />
|
|
|
|
|
</RadioGroupPrimitive.Indicator>
|
|
|
|
|
</RadioGroupPrimitive.Item>
|
2026-05-11 13:01:47 +02:00
|
|
|
);
|
|
|
|
|
});
|
|
|
|
|
RadioGroupItem.displayName = RadioGroupPrimitive.Item.displayName;
|
Initial commit: Port Nimara CRM (Layers 0-4)
Full CRM rebuild with Next.js 15, TypeScript, Tailwind, Drizzle ORM,
PostgreSQL, Redis, BullMQ, MinIO, and Socket.io. Includes 461 source
files covering clients, berths, interests/pipeline, documents/EOI,
expenses/invoices, email, notifications, dashboard, admin, and
client portal. CI/CD via Gitea Actions with Docker builds.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-26 11:52:51 +01:00
|
|
|
|
2026-05-11 13:01:47 +02:00
|
|
|
export { RadioGroup, RadioGroupItem };
|