@1771technologies/lytenyte-pro 0.0.52 → 0.0.53

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.js CHANGED
@@ -2830,6 +2830,7 @@ function useContextMenuListener(setMenu) {
2830
2830
  const grid = useGrid$1();
2831
2831
  const viewport = grid.state.internal.viewport.use();
2832
2832
  const menuRenderer = grid.state.contextMenuRenderer.use();
2833
+ const predicate = grid.state.contextMenuPredicate.use();
2833
2834
  const target = grid.state.internal.contextMenuTarget.use();
2834
2835
  useEffect(() => {
2835
2836
  if (!viewport || !menuRenderer) return;
@@ -2864,6 +2865,9 @@ function useContextMenuListener(setMenu) {
2864
2865
  setMenu(null);
2865
2866
  return;
2866
2867
  }
2868
+ if (predicate && !predicate({ api: grid.api, menuTarget, columnIndex: hoveredCell, rowIndex: hoveredRow })) {
2869
+ return;
2870
+ }
2867
2871
  setMenu({
2868
2872
  menuTarget,
2869
2873
  hoveredRow,
@@ -2895,7 +2899,8 @@ function useContextMenuListener(setMenu) {
2895
2899
  grid.state.internal.contextMenuTarget,
2896
2900
  menuRenderer,
2897
2901
  viewport,
2898
- setMenu
2902
+ setMenu,
2903
+ predicate
2899
2904
  ]);
2900
2905
  }
2901
2906
  function ContextMenuDriver() {
@@ -1208,6 +1208,7 @@ body.lng1771-drag-on .lng1771-pill-manager__pill-outer[data-pill-active="false"]
1208
1208
  font-size: 14px;
1209
1209
  color: var(--lng1771-gray-80);
1210
1210
  font-family: var(--lng1771-typeface);
1211
+ white-space: nowrap;
1211
1212
  position: relative;
1212
1213
  overflow: hidden;
1213
1214
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@1771technologies/lytenyte-pro",
3
- "version": "0.0.52",
3
+ "version": "0.0.53",
4
4
  "license": "COMMERCIAL",
5
5
  "type": "module",
6
6
  "files": [
@@ -70,20 +70,20 @@
70
70
  "react-dom": "^18.0.0 || ^19.0.0"
71
71
  },
72
72
  "dependencies": {
73
- "@1771technologies/grid-client-data-source-pro": "0.0.52",
74
- "@1771technologies/grid-core": "0.0.52",
75
- "@1771technologies/grid-design": "0.0.52",
76
- "@1771technologies/grid-provider": "0.0.52",
77
- "@1771technologies/grid-store-pro": "0.0.52",
78
- "@1771technologies/grid-tree-data-source": "0.0.52",
79
- "@1771technologies/grid-types": "0.0.52",
80
- "@1771technologies/js-utils": "0.0.52",
81
- "@1771technologies/lytenyte-core": "0.0.52",
82
- "@1771technologies/react-cascada": "0.0.52",
83
- "@1771technologies/react-dragon": "0.0.52",
84
- "@1771technologies/react-sizer": "0.0.52",
85
- "@1771technologies/react-split-pane": "0.0.52",
86
- "@1771technologies/react-utils": "0.0.52",
73
+ "@1771technologies/grid-client-data-source-pro": "0.0.53",
74
+ "@1771technologies/grid-core": "0.0.53",
75
+ "@1771technologies/grid-design": "0.0.53",
76
+ "@1771technologies/grid-provider": "0.0.53",
77
+ "@1771technologies/grid-store-pro": "0.0.53",
78
+ "@1771technologies/grid-tree-data-source": "0.0.53",
79
+ "@1771technologies/grid-types": "0.0.53",
80
+ "@1771technologies/js-utils": "0.0.53",
81
+ "@1771technologies/lytenyte-core": "0.0.53",
82
+ "@1771technologies/react-cascada": "0.0.53",
83
+ "@1771technologies/react-dragon": "0.0.53",
84
+ "@1771technologies/react-sizer": "0.0.53",
85
+ "@1771technologies/react-split-pane": "0.0.53",
86
+ "@1771technologies/react-utils": "0.0.53",
87
87
  "@base-ui-components/react": "1.0.0-alpha.7"
88
88
  },
89
89
  "devDependencies": {