Skip to content

Releases: ianpaschal/combat-command-components

v2.1.0

13 May 13:05

Choose a tag to compare

v2.1.0

Bug Fixes

  • <Select/> missing size prop: The size prop was absent and the component defaulted to 36px instead of the correct 40px. Both are now fixed. (CC-41, #23)
  • <RadioCards/> not highlighting null values: Selecting a card with a null value would animate the selection dot but not highlight the card itself. Card highlighting now works correctly for null values. (CC-40, #25)
  • <Select/> items missing padding: Menu items were rendering without padding. (CC-60, #26)

Improvements

  • Action sheet bottom spacing: Increased bottom spacing on the mobile action sheet for better visual balance. (CC-46, #24)
    Full Changelog: v2.0.1...v2.1.0

v2.0.1

28 Apr 14:49

Choose a tag to compare

  • Fixed CC-20: Menu items on desktop did not receive a hover effect.
  • Tweaked the Daybreak and Midnight theme colors slightly.

v2.0.0

28 Apr 14:44

Choose a tag to compare

Breaking Changes & Migration

  • ThemeProvider is now required - Intent-based color tokens (accent, neutral, danger, etc.) no longer resolve without a <ThemeProvider> wrapping your app. Add it at your root and pass your themes via the theme registry. The theme prop optionally locks the active theme and overrides any user selection or setTheme calls.
  • Radix UI replaced by Base UI - radix-ui, @radix-ui/colors have been removed as dependencies. @base-ui/react replaces them, bumped from ^1.2.0 to ^1.4.1. If you were importing any Radix primitives transitively, install them directly.
  • AppLogo removed as a top-level export - AppLogo is no longer exported from the package root. It is now an internal sub-component of AppNavigation.
  • AppNavigation sub-component renames - DesktopRouteListDesktopRoutes, MobileRouteListMobileRoutes. Update any direct imports.
  • Button default prop changes
    • intent: 'neutral''secondary'
    • variant: 'primary''solid' |
  • Peer dependencies removed - react-router-dom, react-pdf, and pdfjs-dist are no longer declared as peer dependencies. They are now either bundled dependencies or not required at all. Remove them from your own peer dependency constraints if you had added them transitively.

Added

ThemeProvider

New component that sets CSS custom properties for intent-based color tokens. Supports system theme detection, user-controlled theme switching, and a theme prop to force a specific theme. Themes are registered via a global store and exposed as selectable options through context.

Tabs

Controlled and uncontrolled tab component built on Base UI. Accepts a tabs array, supports value/defaultValue/onValueChange, and exposes tab state via context to child components.

New form components

  • Checkbox and CheckboxGroup
  • Switch
  • RadioCards
  • InputTextArea
  • InputDateTime — date/time picker using react-day-picker
  • InputPanel

New display/layout components

  • Card
  • Hero
  • ImageViewer
  • CircularProgress
  • Menu

Dialog

  • New confirmText prop to override the default confirm button label (previously hardcoded as "Confirm")
  • New fullHeight and fullWidth props
  • New maxHeight prop (previously only maxWidth was supported)
  • Cancel button now uses variant="shaded" instead of variant="secondary"

AppNavigation

Query parameters are now included when matching active routes.


Fixed

  • Drawer: fullSize prop had no effect. It now correctly sets data-full-width or data-full-height on the popup based on the drawer's side prop.
  • Select: Overflow indicator borders were not respecting dark mode.

Removed

  • AppLogo top-level export (now internal to AppNavigation)
  • DesktopRouteList and MobileRouteList exports (renamed — see migration above)
  • radix-ui and @radix-ui/colors dependencies
  • react-router-dom, react-pdf, pdfjs-dist peer dependencies

v1.5.0

27 Nov 19:25

Choose a tag to compare

Improvements

  • Added animated focus outlines to interactive elements (elements using a variant and intent);
  • Reduce <DialogProvider/> children re-renders by implementing a store;

Bug Fixes

  • Dialog only cancels on backdrop click (as compared to any loss of focus);

v1.4.1

27 Nov 19:22

Choose a tag to compare

Improvements

  • Improved styles for <Dialog/>

v1.4.0

27 Nov 19:19

Choose a tag to compare

New Features

  • Added <Dialog/>;
  • Added <Spinner/>;
  • Added <Button/>;

v1.3.0

17 Nov 18:44

Choose a tag to compare

New Features

  • Added a <Table/> component.

Bug Fixes

  • <Badge/>'s intent is no longer passed to its child.

v1.2.0

15 Nov 15:01

Choose a tag to compare

New Features

  • Adds a <Badge/> component.

Bug Fixes

  • Numerous rendering (style) issues fixed on <AppNavigation/>.