calcsuite-react 1.0.0 → 1.1.0

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 CHANGED
@@ -3,6 +3,11 @@
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.0] — 2026-09-04
7
+
8
+ ### Added
9
+ - **Upload / server API config in Settings.** The Integration Panel — connection URL, auth strategy, endpoints, upload strategy (multipart / presigned / base64Json) with filename template, a payload builder with live JSON preview, test-connection, copy-as-cURL, and a queue inspector — is now embedded under **Settings → File upload & server API**. Users can point exports (PDF/CSV/…) and saved calculations directly at their own server with no code. No secret is ever stored by the app.
10
+
6
11
  ## [1.0.0] — 2026-09-04
7
12
 
8
13
  Initial release. The financial-calculator module of **AceCBM (Ace Cloud Business Management)**.
package/README.md CHANGED
@@ -1,8 +1,8 @@
1
1
  # CalcSuite
2
2
 
3
3
  [![CI](https://github.com/ashish13377/calcsuite/actions/workflows/ci.yml/badge.svg)](https://github.com/ashish13377/calcsuite/actions/workflows/ci.yml)
4
- [![npm version](https://img.shields.io/npm/v/calcsuite.svg)](https://www.npmjs.com/package/calcsuite)
5
- [![license: MIT](https://img.shields.io/npm/l/calcsuite.svg)](LICENSE)
4
+ [![npm version](https://img.shields.io/npm/v/calcsuite-react.svg)](https://www.npmjs.com/package/calcsuite-react)
5
+ [![license: MIT](https://img.shields.io/npm/l/calcsuite-react.svg)](LICENSE)
6
6
 
7
7
  **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
8
 
@@ -13,7 +13,7 @@
13
13
  ## Install
14
14
 
15
15
  ```bash
16
- npm install calcsuite # yarn add calcsuite · pnpm add calcsuite
16
+ npm install calcsuite-react # yarn add calcsuite-react · pnpm add calcsuite-react
17
17
  ```
18
18
 
19
19
  `decimal.js` installs automatically; `react`/`react-dom` are peer deps (18.3+ / 19). Optional PDF/XLSX export: `npm install jspdf xlsx`.
@@ -21,8 +21,8 @@ npm install calcsuite # yarn add calcsuite · pnpm add calcsuite
21
21
  ## Quickstart
22
22
 
23
23
  ```tsx
24
- import { FinCalcProvider, FinCalcLauncher } from 'calcsuite';
25
- import 'calcsuite/theme.css';
24
+ import { FinCalcProvider, FinCalcLauncher } from 'calcsuite-react';
25
+ import 'calcsuite-react/theme.css';
26
26
 
27
27
  export default function App() {
28
28
  return (
@@ -37,14 +37,14 @@ export default function App() {
37
37
  Embed a single calculator:
38
38
 
39
39
  ```tsx
40
- import { CalculatorPanel } from 'calcsuite';
40
+ import { CalculatorPanel } from 'calcsuite-react';
41
41
  <CalculatorPanel id="loan.emi" /> // or "invest.sip", "tax.gst", "tools.scientific", …
42
42
  ```
43
43
 
44
44
  Use the engine with no UI:
45
45
 
46
46
  ```ts
47
- import { loan, finance } from 'calcsuite';
47
+ import { loan, finance } from 'calcsuite-react';
48
48
  loan.solve({ region: 'IN', principal: '2500000', annualRatePct: '8.65', tenureMonths: 240 }).payment.toString(); // "21933.51"
49
49
  finance.xirr([{ date: '2020-01-01', amount: '-10000' }, { date: '2021-01-01', amount: '12000' }]); // ≈ 0.20
50
50
  ```