"use client"; import type { ListBlockProps } from "@/features/editor/state/editorStore"; import { buildItemsTreeFromItems, itemsTreeToLines, linesToItemsTree, parseTextareaToLines, stringifyLinesToTextarea, } from "@/features/editor/state/editorStore"; import { NumericPropertyControl } from "@/features/editor/components/NumericPropertyControl"; import { ColorPickerField, TEXT_COLOR_PALETTE } from "@/features/editor/components/ColorPickerField"; export type ListPropertiesPanelProps = { listProps: ListBlockProps; selectedBlockId: string; selectedListItemId: string | null; updateBlock: (id: string, partial: Partial) => void; }; export function ListPropertiesPanel({ listProps, selectedBlockId, selectedListItemId, updateBlock, }: ListPropertiesPanelProps) { return ( <>