@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.
@@ -6727,24 +6727,6 @@ import { Fragment as Fragment7, jsx as jsx36, jsxs as jsxs27 } from "react/jsx-r
6727
6727
  function hasSameRowReferences(previous, next) {
6728
6728
  return previous.length === next.length && previous.every((row, index) => row === next[index]);
6729
6729
  }
6730
- function forwardUnboundedVerticalWheel(event) {
6731
- const tableScroller = event.currentTarget;
6732
- const isVerticalGesture = !event.shiftKey && Math.abs(event.deltaY) > Math.abs(event.deltaX);
6733
- const tableOwnsVerticalScroll = tableScroller.scrollHeight > tableScroller.clientHeight + 1;
6734
- if (!isVerticalGesture || tableOwnsVerticalScroll || event.deltaY === 0) return;
6735
- let ancestor = tableScroller.parentElement;
6736
- while (ancestor) {
6737
- const overflowY = window.getComputedStyle(ancestor).overflowY;
6738
- const canScroll = (overflowY === "auto" || overflowY === "scroll") && ancestor.scrollHeight > ancestor.clientHeight + 1;
6739
- if (canScroll) {
6740
- const scale = event.deltaMode === WheelEvent.DOM_DELTA_LINE ? 16 : event.deltaMode === WheelEvent.DOM_DELTA_PAGE ? ancestor.clientHeight : 1;
6741
- event.preventDefault();
6742
- ancestor.scrollTop += event.deltaY * scale;
6743
- return;
6744
- }
6745
- ancestor = ancestor.parentElement;
6746
- }
6747
- }
6748
6730
  function TableRowCopyControl({
6749
6731
  copy,
6750
6732
  row,
@@ -8275,7 +8257,6 @@ function MatrxDataTableCore({
8275
8257
  ref: scrollRef,
8276
8258
  "data-matrx-table-scroll": true,
8277
8259
  onScroll: updateScrollHint,
8278
- onWheel: forwardUnboundedVerticalWheel,
8279
8260
  "aria-busy": isLoading || isFetching,
8280
8261
  ...appendQuery === null ? {} : { style: { containerType: "inline-size" } },
8281
8262
  className: cn(