@abdellatifui/react 3.1.103 → 3.1.105

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/nextgen.js CHANGED
@@ -11175,8 +11175,8 @@ const db = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADUAAAA1CAYAAADh5qNwAA
11175
11175
  onDragEnd: ($) => {
11176
11176
  s != null && s.draggingMode && (s != null && s.hideLinksOnDrag) && A($);
11177
11177
  },
11178
+ dataactive: (o == null ? void 0 : o.elementId) == (selectedNode == null ? void 0 : selectedNode.elementId) ? "true" : "false",
11178
11179
  anchor: "center",
11179
- "data-id": o == null ? void 0 : o.elementId,
11180
11180
  className: B(
11181
11181
  "z-[30] hover:z-[31] hover:pointer--none hover:cursor-defaulte",
11182
11182
  k && "z-[31]",
@@ -11185,12 +11185,13 @@ const db = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADUAAAA1CAYAAADh5qNwAA
11185
11185
  ),
11186
11186
  onClick: ($) => {
11187
11187
  var U;
11188
- (U = $ == null ? void 0 : $.originalEvent) == null || U.stopPropagation(), f({ event: $, data: o, type: "node", id: E, mapApi: a, ref: x });
11188
+ (U = $ == null ? void 0 : $.originalEvent) == null || U.stopPropagation(), f({ event: $, data: o, type: "node", id: E, elementId: o == null ? void 0 : o.elementId, mapApi: a, ref: x });
11189
11189
  },
11190
11190
  children: /* @__PURE__ */ c.jsx(
11191
11191
  "div",
11192
11192
  {
11193
11193
  "data-id": o == null ? void 0 : o.elementId,
11194
+ "data-active": (o == null ? void 0 : o.elementId) == (selectedNode == null ? void 0 : selectedNode.elementId) ? "true" : "false",
11194
11195
  onContextMenu: ($) => {
11195
11196
  f({ event: $, data: o, type: "node", id: E, mapApi: a, ref: x }), p($);
11196
11197
  },
@@ -1 +1 @@
1
- {"version":3,"file":"PinItem.d.ts","sourceRoot":"","sources":["../../../../src/components/NetworkMap/PinItem.tsx"],"names":[],"mappings":"AACA,OAAO,KAA4F,MAAM,OAAO,CAAA;;AAsKhH,wBAA4B"}
1
+ {"version":3,"file":"PinItem.d.ts","sourceRoot":"","sources":["../../../../src/components/NetworkMap/PinItem.tsx"],"names":[],"mappings":"AACA,OAAO,KAA4F,MAAM,OAAO,CAAA;;AAuKhH,wBAA4B"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@abdellatifui/react",
3
3
  "private": false,
4
- "version": "3.1.103",
4
+ "version": "3.1.105",
5
5
  "type": "module",
6
6
  "types": "dist/nextgen.d.ts",
7
7
  "files": [