"use client"; // Adapted from Adobe React Spectrum starters (Apache-2.0). // Modified: owned composition, local runtime, scoped CSS and customization. // See THIRD_PARTY_NOTICES.md. import { ColorSwatchPicker as AriaColorSwatchPicker, ColorSwatchPickerItem as AriaColorSwatchPickerItem, ColorSwatch, type ColorSwatchPickerProps, type ColorSwatchPickerItemProps, composeRenderProps, } from "./react-aria-runtime.js"; export function ColorSwatchPicker({ className, ...props }: ColorSwatchPickerProps) { return ( `ynr-color-swatch-picker ynr-aria ${value ?? ""}`, )} /> ); } export function ColorSwatchPickerItem({ className, ...props }: Omit) { return ( `ynr-aria-swatch-item ${value ?? ""}`, )} > ); }