Skip to content

Add more components#1

Merged
fcollonval merged 26 commits intomainfrom
ft/more-components
Apr 10, 2026
Merged

Add more components#1
fcollonval merged 26 commits intomainfrom
ft/more-components

Conversation

@fcollonval
Copy link
Copy Markdown
Contributor

Add the following components:

  • Accordion
  • AlertDialog
  • ButtonGroup
  • Collapsible
  • Field
  • InputGroup
  • Popover
  • Resizable
  • ScrollArea
  • Sheet
  • Separator
  • Sidebar
  • Skeleton
  • Table
  • Toast

Covers accordion, alert-dialog, button-group, collapsible, field,
input-group, popover, resizable, scroll-area, separator, sheet,
sidebar, skeleton, slider, toast, and table. Defines dependency-first
build order, token additions, component APIs, testing and story strategy.
Implements Popover with PopoverTrigger, PopoverContent, and PopoverClose
using @base-ui/react/popover. Also adds optimizeDeps.include entries to
vitest.config.ts to prevent mid-run Vite reloads for new Base UI sub-packages.
Implements Slider built on @base-ui/react/slider with Control, Track,
Indicator, and Thumb sub-components. Test for min/max uses native HTML
attributes (not aria-valuemin/max) since Base UI uses a hidden input[type=range].
Also adds @base-ui/react/collapsible, /accordion, /alert-dialog to
vitest optimizeDeps to fix React duplicate-instance error in browser tests.
Accessible form field with label, description, error message, fieldset, and layout helpers using Base UI Field/Fieldset primitives.
Implements the Sidebar component with context-based state management,
mobile Sheet mode, collapsible icon/offcanvas modes, Tooltip integration
for collapsed hints, and Separator/Skeleton sub-components. Also fixes
TooltipTrigger to expose the render prop, and sets the test viewport to
1280x720 to ensure sidebar tests run in desktop mode.
Add exports for all 16 new components to packages/registry/src/index.ts,
create the missing lib/cx.ts utility, and fix a sidebar state type annotation.
@fcollonval fcollonval merged commit 724082a into main Apr 10, 2026
2 checks passed
@fcollonval fcollonval deleted the ft/more-components branch April 10, 2026 14:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant