@ai-matrx/design-system 0.86.369 → 0.86.370
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 +4 -0
- package/dist/data-table/index.cjs +2 -1
- package/dist/data-table/index.cjs.map +1 -1
- package/dist/data-table/index.d.cts +0 -22
- package/dist/data-table/index.d.ts +0 -22
- package/dist/data-table/index.js +2 -1
- package/dist/data-table/index.js.map +1 -1
- package/dist/data-table/virtual-window.cjs +2 -1
- package/dist/data-table/virtual-window.cjs.map +1 -1
- package/dist/data-table/virtual-window.d.cts +0 -22
- package/dist/data-table/virtual-window.d.ts +0 -22
- package/dist/data-table/virtual-window.js +2 -1
- package/dist/data-table/virtual-window.js.map +1 -1
- package/dist/desktop.d.cts +1 -1
- package/dist/desktop.d.ts +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.86.370
|
|
4
|
+
|
|
5
|
+
- Fixed: the virtual window's prefix-sum cache is ONE cache per page. `/data-table` and `/data-table/virtual-window` each bundle `src/data-table/virtual-window.ts`; the cache now lives in kit's `globalSlot`. No API change. Guard: `check-ships-once --state` in `build`.
|
|
6
|
+
|
|
3
7
|
## 0.86.369
|
|
4
8
|
|
|
5
9
|
- `Button variant="meta"` with an `icon`: the glyph is a fine 12px, thin-stroke icon at the heading's size (a section heading's icon-only action, e.g. Pinned's edit). Additive; no consumer action required.
|
|
@@ -15729,6 +15729,7 @@ function groupSummary(group, rowNoun = "row") {
|
|
|
15729
15729
|
}
|
|
15730
15730
|
|
|
15731
15731
|
// src/data-table/virtual-window.ts
|
|
15732
|
+
var import_global_slot3 = require("@ai-matrx/kit/global-slot");
|
|
15732
15733
|
var DEFAULT_OVERSCAN = 6;
|
|
15733
15734
|
function isNum(value) {
|
|
15734
15735
|
return typeof value === "number" && Number.isFinite(value);
|
|
@@ -15804,7 +15805,7 @@ function computeWindow(input) {
|
|
|
15804
15805
|
total
|
|
15805
15806
|
});
|
|
15806
15807
|
}
|
|
15807
|
-
var PREFIX_CACHE = /* @__PURE__ */ new WeakMap();
|
|
15808
|
+
var PREFIX_CACHE = (0, import_global_slot3.globalSlot)("ai-matrx.design-system.virtual-window-prefix", () => /* @__PURE__ */ new WeakMap());
|
|
15808
15809
|
function prefixFor(sizeAt, count) {
|
|
15809
15810
|
let byCount = PREFIX_CACHE.get(sizeAt);
|
|
15810
15811
|
if (!byCount) {
|