@abdellatifui/react 3.1.22 → 3.1.24

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.
@@ -1 +1 @@
1
- {"version":3,"file":"Map.d.ts","sourceRoot":"","sources":["../../../../src/components/NetworkMap/Map.tsx"],"names":[],"mappings":"AAEA,OAAO,KAA2F,MAAM,OAAO,CAAC;AAIhH,OAAO,kCAAkC,CAAC;AAS1C,OAAO,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAqT1C,QAAA,MAAM,UAAU,4GAA4B,CAAC;AAC7C,eAAe,UAAU,CAAC"}
1
+ {"version":3,"file":"Map.d.ts","sourceRoot":"","sources":["../../../../src/components/NetworkMap/Map.tsx"],"names":[],"mappings":"AAEA,OAAO,KAA2F,MAAM,OAAO,CAAC;AAIhH,OAAO,kCAAkC,CAAC;AAS1C,OAAO,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAiU1C,QAAA,MAAM,UAAU,4GAA4B,CAAC;AAC7C,eAAe,UAAU,CAAC"}
@@ -15,7 +15,7 @@ declare const useCreatePath: ({ connections, mapApi, options, selectedConn, _onL
15
15
  getTargetPosition: (d: any) => [any, any];
16
16
  getWidth: 4;
17
17
  pickable: true;
18
- getColor: any;
18
+ getColor: (d: any) => any;
19
19
  opacity: 1;
20
20
  visible: boolean;
21
21
  onHover: (event: {
@@ -77,7 +77,7 @@ declare const useCreatePath: ({ connections, mapApi, options, selectedConn, _onL
77
77
  data: any[];
78
78
  getPath: (d: any) => [any, any][];
79
79
  getTimestamps: (d: any) => any;
80
- getColor: any;
80
+ getColor: (d: any) => any;
81
81
  widthMinPixels: 4;
82
82
  trailLength: 2;
83
83
  currentTime: number;
@@ -1 +1 @@
1
- {"version":3,"file":"useCreatePath.d.ts","sourceRoot":"","sources":["../../../../src/components/NetworkMap/useCreatePath.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5C,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAOjD,QAAA,MAAM,aAAa,GAAK;;;;;;;;CAAuG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAgI9H,CAAC;AAEF,eAAe,aAAa,CAAC"}
1
+ {"version":3,"file":"useCreatePath.d.ts","sourceRoot":"","sources":["../../../../src/components/NetworkMap/useCreatePath.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5C,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAQjD,QAAA,MAAM,aAAa,GAAK;;;;;;;;CAAuG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAgI9H,CAAC;AAEF,eAAe,aAAa,CAAC"}
@@ -9,10 +9,10 @@ export declare const createDefaultNodeTempate: (name: any, id: any, color: any,
9
9
  lat: any;
10
10
  };
11
11
  };
12
- export declare const createDefaultConnTemplate: (name: any, id: any, srcLng: any, srcLat: any, destLng: any, destLat: any, details: any) => {
12
+ export declare const createDefaultConnTemplate: (name: any, id: any, srcLng: any, srcLat: any, destLng: any, destLat: any, details?: {}, linkColor?: any, linkAnimationColor?: any) => {
13
13
  name: any;
14
14
  id: any;
15
- details: any;
15
+ details: {};
16
16
  source: {
17
17
  lng: any;
18
18
  lat: any;
@@ -21,5 +21,7 @@ export declare const createDefaultConnTemplate: (name: any, id: any, srcLng: any
21
21
  lng: any;
22
22
  lat: any;
23
23
  };
24
+ linkColor: any;
25
+ linkAnimationColor: any;
24
26
  };
25
27
  //# sourceMappingURL=utils.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../src/components/NetworkMap/utils.tsx"],"names":[],"mappings":"AAEA,eAAO,MAAM,OAAO,GAAI,QAAG,UAG1B,CAAC;AAGF,eAAO,MAAM,wBAAwB,GAAK,SAAI,EAAG,OAAE,EAAG,UAAK,EAAG,QAAG,EAAG,QAAG,EAAG,YAAO;;;;;;;;;CAWhF,CAAA;AAGD,eAAO,MAAM,yBAAyB,GAAI,SAAI,EAAG,OAAE,EAAG,WAAM,EAAG,WAAM,EAAG,YAAO,EAAG,YAAO,EAAG,YAAO;;;;;;;;;;;;CAQlG,CAAA"}
1
+ {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../src/components/NetworkMap/utils.tsx"],"names":[],"mappings":"AAEA,eAAO,MAAM,OAAO,GAAI,QAAG,UAI1B,CAAC;AAGF,eAAO,MAAM,wBAAwB,GAAK,SAAI,EAAG,OAAE,EAAG,UAAK,EAAG,QAAG,EAAG,QAAG,EAAG,YAAO;;;;;;;;;CAWhF,CAAA;AAGD,eAAO,MAAM,yBAAyB,GAAI,SAAI,EAAG,OAAE,EAAG,WAAM,EAAG,WAAM,EAAG,YAAO,EAAG,YAAO,EAAG,YAAU,EAAG,eAAc,EAAG,wBAAuB;;;;;;;;;;;;;;CAUhJ,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"map.stories.d.ts","sourceRoot":"","sources":["../../../../src/stories/Map/map.stories.tsx"],"names":[],"mappings":"AAEA,OAAO,KAA0B,MAAM,OAAO,CAAC;;;;;;;;;;;;;;;;AAS/C,wBAcC;AA0ED,eAAO,MAAM,OAAO,KAAoB,CAAC;AAiCzC,eAAO,MAAM,cAAc,KAAoB,CAAC;AAYhD,eAAO,MAAM,mBAAmB,KAAoB,CAAC;AAQrD,eAAO,MAAM,UAAU,KAAoB,CAAC"}
1
+ {"version":3,"file":"map.stories.d.ts","sourceRoot":"","sources":["../../../../src/stories/Map/map.stories.tsx"],"names":[],"mappings":"AAEA,OAAO,KAA0B,MAAM,OAAO,CAAC;;;;;;;;;;;;;;;;AAW/C,wBAcC;AA0ED,eAAO,MAAM,OAAO,KAAoB,CAAC;AAiCzC,eAAO,MAAM,cAAc,KAAoB,CAAC;AAYhD,eAAO,MAAM,mBAAmB,KAAoB,CAAC;AAQrD,eAAO,MAAM,UAAU,KAAoB,CAAC"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@abdellatifui/react",
3
3
  "private": false,
4
- "version": "3.1.22",
4
+ "version": "3.1.24",
5
5
  "type": "module",
6
6
  "types": "dist/nextgen.d.ts",
7
7
  "files": [