calcsuite-react 1.1.0 → 1.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +13 -0
- package/README.md +3 -0
- package/dist/calcsuite.js +725 -707
- package/dist/settings/SettingsContext.d.ts +3 -1
- package/package.json +1 -1
- package/src/theme.css +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,19 @@
|
|
|
3
3
|
All notable changes to **CalcSuite** are documented here. This project adheres to
|
|
4
4
|
[Semantic Versioning](https://semver.org/).
|
|
5
5
|
|
|
6
|
+
## [1.1.2] — 2026-09-04
|
|
7
|
+
|
|
8
|
+
### Fixed
|
|
9
|
+
- **Unstyled UI when embedded.** `<FinCalcProvider>` now renders the design-token root (`data-fincalc-root` + resolved `data-theme` / `data-density` / accent / font) itself, via a layout-neutral `display: contents` wrapper. Previously that root was applied only by the demo app, so consumers of the package rendered the calculators with every `--fc-*` token undefined — transparent surfaces, no borders, no dialog panel. The wrapper is scoped (not on `<html>`), so it never collides with the host app's own `data-theme`.
|
|
10
|
+
|
|
11
|
+
## [1.1.1] — 2026-09-04
|
|
12
|
+
|
|
13
|
+
### Fixed
|
|
14
|
+
- **Dialog layers above host UI.** Raised the dialog / command-palette / toast z-index so CalcSuite renders above app chrome (e.g. MUI app bars & drawers) when embedded in another app.
|
|
15
|
+
|
|
16
|
+
### Changed
|
|
17
|
+
- **`<FinCalcProvider settings={…}>` now applies.** The provider accepts a deep-partial `settings` prop as *defaults* (region, currency, theme, …). The user's in-app choices still persist in `localStorage` and take precedence, so region stays user-driven.
|
|
18
|
+
|
|
6
19
|
## [1.1.0] — 2026-09-04
|
|
7
20
|
|
|
8
21
|
### Added
|
package/README.md
CHANGED
|
@@ -3,6 +3,9 @@
|
|
|
3
3
|
[](https://github.com/ashish13377/calcsuite/actions/workflows/ci.yml)
|
|
4
4
|
[](https://www.npmjs.com/package/calcsuite-react)
|
|
5
5
|
[](LICENSE)
|
|
6
|
+
[](https://ashish13377.github.io/calcsuite/)
|
|
7
|
+
|
|
8
|
+
**▶ Live demo:** https://ashish13377.github.io/calcsuite/
|
|
6
9
|
|
|
7
10
|
**Decimal-exact, offline-first financial calculator library for React** — ~55 calculators for **🇮🇳 India (₹)** and **🇺🇸 United States ($)**, a scientific calculator, live currency conversion, export, and a keyboard-first launcher/dialog. All money math runs on `decimal.js` — no floating-point in any money path.
|
|
8
11
|
|