Skip to content

Changelog

⋯

Changes to the package are tracked here.

  • Added expanded child header rows and trailing disclosure controls to Table Tree for nested account tables.
  • Gave read-only inputs the light gray surface from the Figma design while preserving native focus and form behavior.
  • Kept Sheet backdrops and panels above page tabs and other locally stacked controls.
  • Added controlled Pagination with optional page-size selection and bounded page navigation.
  • Added Table.SortButton for controlled column sorting and an opt-in directory density with content-driven header and row heights.
  • Added a compact InputGroup button for trailing actions that inherits the group’s disabled state.
  • Added Sidebar.AccountMenu.Item with built-in action styling and optional icon and shortcut slots.
  • Allowed Sidebar.MenuButton and Sidebar.MenuSubButton directly inside their lists; Sidebar wraps simple navigation rows in list items.
  • Changed Breadcrumb to a compound-only API; use Breadcrumb.Root and its parts instead of the callable root or standalone part exports.
  • Added compound InputOtp with paste, autofill, controlled values, and configurable alphanumeric codes.
  • Added a searchable single-value Combobox with custom options and form support.
  • Added StepperItem arrow separators and optional supporting text and subtitles.
  • Removed the vertical divider from indented Sidebar submenu items.
  • Added a compound Sidebar AccountMenu with composable trigger, content, account choices, and application actions.
  • Added searchable Multi Select with controlled and uncontrolled selection, form submission, option counts, bulk actions, and empty results.
  • Added a composable Date Picker calendar presentation with Nesra Select navigation and responsive presets.
  • Added responsive Filters layout and trigger parts for filter bars and advanced editors.
  • Added Timeline for chronological activity and audit entries.
  • Added a compound Sidebar with controlled state, cookie persistence, keyboard shortcuts, collapsed navigation, nested items, and a mobile drawer.
  • Added Empty State with configurable visuals, content, and actions.
  • Added breadcrumb, step indicator, progress bar, and stepper parts to Indicator.
  • Replaced the native Tabs mobile selector with Nesra Select and animated the desktop selection indicator.
  • Removed the Popover arrow and aligned its anchor and viewport spacing with Select.
  • Moved the default Toast viewport and stack to the top right.
  • Aligned the Select trigger chevron and selected-option check icon with semantic trigger colors.
  • Added Avatar with image fallback, sizes, actions, and Avatar Group composition.
  • Added Badge label, indicator, status, course, XP, and level variants.
  • Added Card surfaces with neutral and gray background variants.
  • Added composable Dialog, Popover, and right-side Sheet overlays.
  • Added Select and Switch form controls.
  • Added Skeleton placeholders with semantic styling and reduced-motion support.
  • Added Toast notifications with a scoped manager, accessible viewport, status styling, actions, and dismissal controls.
  • Removed the browser’s default border from Button variants without an explicit border.
  • Kept ref handling and form event types compatible with React 18 and React 19.
  • Established the @nesra/ui package with Base UI, Tailwind CSS v4, semantic theme tokens, and the Button component.
  • Added root and granular Button exports.
  • Added Tailwind stylesheet entrypoints that leave Tailwind CSS and Preflight under application control.
  • Exposed the approved Figma primitive colors and Light Mode roles through namespaced CSS tokens and Tailwind utilities.
  • Applied semantic color roles to representative Button states.
  • Added Text with heading and body typography roles, explicit HTML semantics, and root and granular exports.
  • Added Figma-backed layout, radius, stroke, and shadow values for the supported light theme.
  • Aligned Button variants, sizes, icon placement, loading, focus, and disabled states with the approved design.
  • Added Input, Textarea, File Input, File Upload Card, Field, and InputGroup for text and file entry.
  • Added Checkbox, Radio Group, Tabs, Tooltip, Dropdown Menu, and inline Date Picker with their documented interaction and accessibility contracts.
  • Added the native Table family, reusable data cells, sticky columns, and expandable Table Tree rows.
  • Added Line, Area, Bar, Pie, and Bar + Line Combo charts with semantic colors and native data tables.
  • Exported named Dropdown Menu part prop types for consumer wrappers and fixed Button and Tabs refs under React 18.