@lensui/lens-table 0.1.56 → 0.1.58

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/dist/index.cjs CHANGED
@@ -2070,7 +2070,9 @@ function TableInner({
2070
2070
  if (!selection) return void 0;
2071
2071
  const handleOutsidePointerDown = (event) => {
2072
2072
  const target = event.target;
2073
- if (!(target instanceof Node) || rootRef.current?.contains(target)) return;
2073
+ if (!(target instanceof Node)) return;
2074
+ if (rootRef.current?.contains(target)) return;
2075
+ if (target instanceof Element && target.closest(".rvg-choice-content, .rvg-date-content, .rvg-time-dropdown")) return;
2074
2076
  clickedCellRef.current = null;
2075
2077
  setSelectionRange(null);
2076
2078
  setSelection(null);
package/dist/index.css CHANGED
@@ -2106,11 +2106,8 @@
2106
2106
  display: block;
2107
2107
  width: 12px;
2108
2108
  height: 12px;
2109
- fill: none;
2110
- stroke: currentColor;
2111
- stroke-width: 1.5px;
2112
- stroke-linejoin: round;
2113
- paint-order: stroke fill;
2109
+ fill: currentColor;
2110
+ stroke: none;
2114
2111
  }
2115
2112
  .rvg-choice-editor [data-part=trigger]:hover [data-part=indicator],
2116
2113
  .rvg-date-editor [data-part=trigger]:hover {
package/dist/index.js CHANGED
@@ -2040,7 +2040,9 @@ function TableInner({
2040
2040
  if (!selection) return void 0;
2041
2041
  const handleOutsidePointerDown = (event) => {
2042
2042
  const target = event.target;
2043
- if (!(target instanceof Node) || rootRef.current?.contains(target)) return;
2043
+ if (!(target instanceof Node)) return;
2044
+ if (rootRef.current?.contains(target)) return;
2045
+ if (target instanceof Element && target.closest(".rvg-choice-content, .rvg-date-content, .rvg-time-dropdown")) return;
2044
2046
  clickedCellRef.current = null;
2045
2047
  setSelectionRange(null);
2046
2048
  setSelection(null);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lensui/lens-table",
3
- "version": "0.1.56",
3
+ "version": "0.1.58",
4
4
  "description": "A lightweight, canvas-rendered React table component for LensUI.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",