@smallwebco/tinypivot-react 1.0.80 → 1.0.83
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/README.md +2 -0
- package/dist/index.cjs +3 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/dist/themes.css +955 -0
- package/dist/themes.d.cts +2 -0
- package/dist/themes.d.ts +2 -0
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -4,6 +4,8 @@ A lightweight data grid with free pivot tables, Pro charts, and optional AI-powe
|
|
|
4
4
|
|
|
5
5
|
**[Live Demo](https://tiny-pivot.com)** · **[Buy License](https://tiny-pivot.com/#pricing)**
|
|
6
6
|
|
|
7
|
+
[](https://stackblitz.com/github/Small-Web-Co/tinypivot/tree/master/examples/stackblitz-react)
|
|
8
|
+
|
|
7
9
|
## Why TinyPivot?
|
|
8
10
|
|
|
9
11
|
- **Lightweight**: Under 40KB gzipped vs 500KB+ for AG Grid
|
package/dist/index.cjs
CHANGED
|
@@ -4410,7 +4410,7 @@ function PivotSkeleton({
|
|
|
4410
4410
|
const cellCount = (maxRow - minRow + 1) * (maxCol - minCol + 1);
|
|
4411
4411
|
setCopyToastMessage(`Copied ${cellCount} cell${cellCount > 1 ? "s" : ""}`);
|
|
4412
4412
|
setShowCopyToast(true);
|
|
4413
|
-
setTimeout(
|
|
4413
|
+
setTimeout(setShowCopyToast, 2e3, false);
|
|
4414
4414
|
}).catch((err) => {
|
|
4415
4415
|
console.error("Copy failed:", err);
|
|
4416
4416
|
});
|
|
@@ -5448,13 +5448,13 @@ function DataGrid({
|
|
|
5448
5448
|
const cellCount = (selectionBounds.maxRow - selectionBounds.minRow + 1) * (selectionBounds.maxCol - selectionBounds.minCol + 1);
|
|
5449
5449
|
setCopyToastMessage(`Copied ${cellCount} cell${cellCount > 1 ? "s" : ""}`);
|
|
5450
5450
|
setShowCopyToast(true);
|
|
5451
|
-
setTimeout(
|
|
5451
|
+
setTimeout(setShowCopyToast, 2e3, false);
|
|
5452
5452
|
onCopy?.({ text, cellCount });
|
|
5453
5453
|
},
|
|
5454
5454
|
(err) => {
|
|
5455
5455
|
setCopyToastMessage("Copy failed");
|
|
5456
5456
|
setShowCopyToast(true);
|
|
5457
|
-
setTimeout(
|
|
5457
|
+
setTimeout(setShowCopyToast, 2e3, false);
|
|
5458
5458
|
console.error("Copy failed:", err);
|
|
5459
5459
|
}
|
|
5460
5460
|
);
|