cloudflare/kumo @cloudflare/kumo@2.0.3
cloudflare/kumo
Captured source
source ↗published May 4, 2026seen Jun 26captured 4whttp 200method plain
@cloudflare/kumo@2.0.3
Repository: cloudflare/kumo
Tag: @cloudflare/kumo@2.0.3
Published: 2026-05-04T20:02:38Z
Prerelease: no
Release notes:
Patch Changes
- 3b36e21: fix(combobox): forward all props from TriggerValue to ComboboxBase.Value, enabling placeholder support and styled placeholder text via data-[placeholder]:text-kumo-placeholder
- 5d5d810: fix(registry): correct Select component metadata for AI-generated code
The component registry metadata was incorrectly typing Select's value, defaultValue, and onValueChange props as string, causing AI agents to produce broken code when implementing Select with object values (e.g., rendering object.value in the trigger instead of the label).
Changes:
valuetype:string→T(generic, matches actual component interface)defaultValuetype:string→TonValueChangetype:(value: string) => void→(value: T) => void- Added missing
renderValueprop:(value: T) => ReactNode— required for object values - Added missing
itemsprop: supports bothRecordandArrayforms - Added missing
isItemEqualToValueprop: required for object equality comparison
- 62e093c: Gracefully fall back to default variant instead of crashing when an invalid variant prop is passed at runtime. Previously 22 of 25 components would throw
TypeErroron unknown variant values; all 25 now use a sharedresolveVariant()utility that returns the default config and logs a dev warning.