Repository navigation
@components-kit/react v1.0.0
Added
- 7 new headless, accessible React components:
- Combobox - Autocomplete dropdown with async item loading (requires
downshift) - MultiSelect - Multi-value selection with token display (requires
downshift) - Pagination - Page navigation with first/previous/next/last buttons
- Progress - Determinate and indeterminate progress bar
- Slider - Range input with draggable thumb and orientation variants
- Tabs - Tabbed content panels with keyboard navigation
- Toast - Notification toasts via Sonner integration (requires
sonner)
- Combobox - Autocomplete dropdown with async item loading (requires
- Type-safe
variantNamevia register pattern (ComponentsKitVariants,VariantFor<T>) useExitTransitionhook for CSS exit animations- Exported hooks:
useDebouncedCallback,useExitTransition,useFloating,useFloatingSelect - Select, Combobox, MultiSelect: form integration,
clearable,readOnly,error,openOnFocus,placement,maxDropdownHeight - MultiSelect:
fixedValues,tokenSeparators,maxDisplayedTags - Icon
sizeprop (sm,md,lg) - Select icon slot and
placementprop - Table footer row support
- New optional peer dependencies:
@floating-ui/react,sonner
Changed
- Icon restructured — no longer polymorphic, always renders
<span> - Alert icon now applied via CSS variant instead of
iconprop - Table built-in pagination removed in favor of standalone Pagination component
- Select API refactored for consistency with Combobox and MultiSelect
- Slider DOM restructured to sibling pattern for accessibility
Removed
AsyncSelect— functionality merged into Combobox- Polymorphic
asprop removed from Button and Icon
Fixed
- Component audit: accessibility,
data-*attributes, and memory leak fixes - Slider thumb drag behavior, added
orientationandonValueCommit - Button
asChildno longer loses nested icon children
npm: @components-kit/react@1.0.0
Full Changelog: v0.1.1...v1.0.0