- Replaced instances of Badge with RdxBadge in SupplierStatusBadge, DataTableFacetedFilter, MultiSelectField, and other components. - Updated RdxEditorPageLayout to use width prop instead of complexity. - Added new recurring proforma operational summary feature with tests. - Introduced recurring proforma status entity and related UI helpers. - Enhanced recurring proforma list and detail views with new components and hooks. - Added tests for new functionality and components.
12 lines
462 B
TypeScript
12 lines
462 B
TypeScript
import type { useRender } from "@base-ui/react/use-render";
|
|
import { Badge, type badgeVariants } from "@repo/shadcn-ui/components";
|
|
import { cn } from "@repo/shadcn-ui/lib/utils";
|
|
import type { VariantProps } from "class-variance-authority";
|
|
|
|
export const RdxBadge = ({
|
|
className,
|
|
...props
|
|
}: useRender.ComponentProps<"span"> & VariantProps<typeof badgeVariants>) => (
|
|
<Badge className={cn("tracking-wide px-4 h-6 rounded-md", className)} {...props} />
|
|
);
|