Compare commits

..

2 Commits

Author SHA1 Message Date
semantic-release-bot
a79a97a5b9 chore(abacus-react): release v2.13.1 [skip ci]
## [2.13.1](https://github.com/antialias/soroban-abacus-flashcards/compare/abacus-react-v2.13.0...abacus-react-v2.13.1) (2025-11-08)

### Bug Fixes

* **abacus-react:** showNumbers prop was hardcoded to false, breaking numeral display ([de89dcd](de89dcddb3))
2025-11-08 15:41:07 +00:00
Thomas Hallock
de89dcddb3 fix(abacus-react): showNumbers prop was hardcoded to false, breaking numeral display
Critical bug: AbacusReact was passing showNumbers={false} to AbacusSVGRenderer
regardless of the prop value, causing numerals to never be displayed.

Changed line 2315 from:
  showNumbers={false}
to:
  showNumbers={finalConfig.showNumbers}

This was preventing the automatic theme detection for numerals from working,
since numerals were never being rendered at all.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-08 09:39:56 -06:00
2 changed files with 8 additions and 1 deletions

View File

@@ -1,3 +1,10 @@
## [2.13.1](https://github.com/antialias/soroban-abacus-flashcards/compare/abacus-react-v2.13.0...abacus-react-v2.13.1) (2025-11-08)
### Bug Fixes
* **abacus-react:** showNumbers prop was hardcoded to false, breaking numeral display ([de89dcd](https://github.com/antialias/soroban-abacus-flashcards/commit/de89dcddb3e6b5021cc0f90c68c4109f8f6c8907))
# [2.13.0](https://github.com/antialias/soroban-abacus-flashcards/compare/abacus-react-v2.12.0...abacus-react-v2.13.0) (2025-11-08)

View File

@@ -2312,7 +2312,7 @@ export const AbacusReact: React.FC<AbacusConfig> = ({
colorPalette={finalConfig.colorPalette}
hideInactiveBeads={finalConfig.hideInactiveBeads}
frameVisible={finalConfig.frameVisible}
showNumbers={false}
showNumbers={finalConfig.showNumbers}
customStyles={themeAwareCustomStyles}
interactive={finalConfig.interactive}
highlightColumns={highlightColumns}