cloudflare/kumo @cloudflare/kumo@1.18.0
cloudflare/kumo
Captured source
source ↗published Apr 8, 2026seen Jun 26captured 3whttp 200method plain
@cloudflare/kumo@1.18.0
Repository: cloudflare/kumo
Tag: @cloudflare/kumo@1.18.0
Published: 2026-04-08T20:32:19Z
Prerelease: no
Release notes:
Minor Changes
- b1e51a8: Add Enter key navigation to Pagination page number input and new
pageSelectorprop for dropdown mode - The page number input in
Pagination.Controlsnow navigates on Enter key press (previously only on blur) - New
pageSelectorprop onPagination.Controls: set to"dropdown"to render a Select dropdown instead of a text input for page selection
- e676f0b: Add disabled option support, groups, group labels, and separators to Select
Select.Optionnow acceptsdisabledandclassNameprops- New
Select.GroupandSelect.GroupLabelsub-components for organizing options under labeled headers - New
Select.Separatorsub-component for visual dividers between groups - The
itemsobject-map prop now acceptsSelectItemDescriptorvalues withdisabledmetadata
- a685953: Expose
delayandcloseDelayprops on Tooltip component to control open and close timing. These props are forwarded to the underlying Base UI Trigger component.
Patch Changes
- dacf445: Input and InputArea now automatically apply error styling when the
errorprop is truthy. You no longer need to setvariant="error"separately - just pass an error message and the styling is applied automatically. Thevariant="error"prop is now deprecated but still works for backwards compatibility.
- 44c26f5: Adjust semantic tint usage for status/error ring styles across core form and feedback components.
- Update background styles in
BadgeandBannercomponents to use*-tinttokens. - Update
kumo-dangerto a darker token to improve a11y contrast. - Update error ring styling in form components to use semantic tokens (now darker with token swap).
- Removed
text-color-badge-red-subtletoken in replacement of thedangertoken. - Update theme generator color mappings used by these tints to improve visual consistency.
- 2bb8628: Fix CodeBlock crash when an unsupported
langvalue is passed at runtime. ThecodeVariants()function now uses optional chaining with a nullish coalescing fallback to the default language, matching the defensive pattern already used byswitchVariants()andbadgeVariants().
- e8bcf6f: fix(select): use ring-kumo-hairline token in Select popup (missed in PR #355)
- c3beded: Fix Select popup scrolling and height behavior; align popup/list structure with Base UI. Split popup into frame (Popup) and scroll container (List) to match Combobox pattern and fix touch scroll on long lists.
- 4a2fb02: fix(loader): add ARIA attributes for screen reader accessibility
Added role="status" and aria-label="Loading" to the Loader SVG component to make it accessible to screen readers. This resolves a WCAG 2.1 SC 4.1.3 (Status Messages) violation where assistive technology users received no indication that content was loading.
- 5e4c7b1: Refine badge semantics/fill styling and banner tone updates
- Rework
Badgevariant model to prioritize semantic variants (primary,secondary,error,warning,success,info) with updated descriptions andprimaryas default. - Keep token color variants for product-specific use cases while updating class mappings so semantic and token variants are distinct.
- Slight updates to token color variants to meet a11y contrast requirements.
- Update token color variants by replacing
yellowwithpurplesinceyellowdoesn't meet a11y contrast requirements, and keeping docs/demo examples in sync. - Update badge docs demos/content to focus on primary semantic badges and a consolidated "other variants" section.
- Adjust banner variant surfaces (
default,alert,error) to stronger tinted backgrounds and borders. - Update theme generator badge/semantic token mappings and regenerate
theme-kumo.cssto match the new badge color system.
- 6458fae: Fix Switch label click not toggling when a custom
idprop is provided
The id was not being forwarded to Base UI's Switch.Root, causing a mismatch between the label's htmlFor and the button's actual id.
- cf6b917: Align semantic token documentation and docs presentation updates.
- Update
colors.mdxtoken documentation structure. - Replaced
kumo-ringwithkumo-hairlinefor border/ring colors and all its instances in kumo components and docs. - Sync
packages/kumo/ai/USAGE.mdtoken reference categories and descriptions with the docs token guide. - Adjust the typo in the recessed dark token value in theme generator config and regenerate
theme-kumo.css. - Updated
kumo-fill-hovertoken value fromneutral-700toneutral-800