"use client";

import { ScrollArea } from "@/components/ui/scroll-area";
import { BarcodeTemplatePalette } from "./BarcodeTemplatePalette";
import { BarcodeComponentPalette } from "./BarcodeComponentPalette";

export function BarcodeDesignerLeftPanel() {
  return (
    <div className="flex min-h-0 w-72 shrink-0 flex-col overflow-hidden border-r bg-white">
      <div className="min-h-0 flex-1 overflow-hidden">
        <ScrollArea className="h-full">
          <div className="space-y-4 p-4">
            <BarcodeTemplatePalette />
            <BarcodeComponentPalette />
          </div>
        </ScrollArea>
      </div>
    </div>
  );
}
