@ai-matrx/design-system 0.18.8 → 0.18.9
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 +10 -0
- package/dist/data-table/index.cjs +0 -19
- package/dist/data-table/index.cjs.map +1 -1
- package/dist/data-table/index.js +0 -19
- package/dist/data-table/index.js.map +1 -1
- package/dist/styles.css +4 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.18.9 — 2026-09-12
|
|
4
|
+
|
|
5
|
+
Data tables and mobile-card scrollers now contain horizontal overscroll while
|
|
6
|
+
leaving vertical wheel and touch chaining to the browser. This removes the
|
|
7
|
+
manual wheel reroute that could strand nested page scrolling at a table edge.
|
|
8
|
+
|
|
9
|
+
### Consumer action
|
|
10
|
+
|
|
11
|
+
Update to 0.18.9. No host configuration changes are required.
|
|
12
|
+
|
|
3
13
|
## 0.18.8 — 2026-09-12
|
|
4
14
|
|
|
5
15
|
Table and selected-row export menus now use one canonical typed source built
|
|
@@ -6719,24 +6719,6 @@ var import_jsx_runtime36 = require("react/jsx-runtime");
|
|
|
6719
6719
|
function hasSameRowReferences(previous, next) {
|
|
6720
6720
|
return previous.length === next.length && previous.every((row, index) => row === next[index]);
|
|
6721
6721
|
}
|
|
6722
|
-
function forwardUnboundedVerticalWheel(event) {
|
|
6723
|
-
const tableScroller = event.currentTarget;
|
|
6724
|
-
const isVerticalGesture = !event.shiftKey && Math.abs(event.deltaY) > Math.abs(event.deltaX);
|
|
6725
|
-
const tableOwnsVerticalScroll = tableScroller.scrollHeight > tableScroller.clientHeight + 1;
|
|
6726
|
-
if (!isVerticalGesture || tableOwnsVerticalScroll || event.deltaY === 0) return;
|
|
6727
|
-
let ancestor = tableScroller.parentElement;
|
|
6728
|
-
while (ancestor) {
|
|
6729
|
-
const overflowY = window.getComputedStyle(ancestor).overflowY;
|
|
6730
|
-
const canScroll = (overflowY === "auto" || overflowY === "scroll") && ancestor.scrollHeight > ancestor.clientHeight + 1;
|
|
6731
|
-
if (canScroll) {
|
|
6732
|
-
const scale = event.deltaMode === WheelEvent.DOM_DELTA_LINE ? 16 : event.deltaMode === WheelEvent.DOM_DELTA_PAGE ? ancestor.clientHeight : 1;
|
|
6733
|
-
event.preventDefault();
|
|
6734
|
-
ancestor.scrollTop += event.deltaY * scale;
|
|
6735
|
-
return;
|
|
6736
|
-
}
|
|
6737
|
-
ancestor = ancestor.parentElement;
|
|
6738
|
-
}
|
|
6739
|
-
}
|
|
6740
6722
|
function TableRowCopyControl({
|
|
6741
6723
|
copy,
|
|
6742
6724
|
row,
|
|
@@ -8267,7 +8249,6 @@ function MatrxDataTableCore({
|
|
|
8267
8249
|
ref: scrollRef,
|
|
8268
8250
|
"data-matrx-table-scroll": true,
|
|
8269
8251
|
onScroll: updateScrollHint,
|
|
8270
|
-
onWheel: forwardUnboundedVerticalWheel,
|
|
8271
8252
|
"aria-busy": isLoading || isFetching,
|
|
8272
8253
|
...appendQuery === null ? {} : { style: { containerType: "inline-size" } },
|
|
8273
8254
|
className: cn(
|