Skip to main content
Back to changelog

Secondary tones and calendar formatting

vortex v1.1.0: Secondary tones and calendar formatting

Use your theme's secondary brand color and customize Calendar month names. Update imports for the ActionBar rename.

New features

  • Added a secondary tone to Alert, Avatar, Badge, and Link, plus secondary colors for style props. Themes without secondary colors fall back to their primary colors.
  • Added formatMonth to Calendar to customize month names in the heading and month picker. Return undefined to keep the locale's name.

Bug fixes

  • Fixed loading Button hover styles overriding disabled and tone styles.
  • Fixed the Sidebar hover highlight sliding from a just-clicked row, showing through the current row, or appearing above selected rows.
  • Fixed Backdrop dialogs to show the Vortex focus ring during keyboard navigation.
  • Fixed the display name for Stack.Item in React DevTools.

Breaking changes

  • Renamed Actionbar to ActionBar and ActionbarProps to ActionBarProps. Update imports, JSX, and type references.
Before → After
// Before
import { Actionbar, type ActionbarProps } from "@vortexlabs/vortex";

// After
import { ActionBar, type ActionBarProps } from "@vortexlabs/vortex";