react-image-annotate-master-custom 0.0.26 → 0.0.28

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.
@@ -15,7 +15,7 @@ var RegionComponents = {
15
15
  return React.createElement("g", {
16
16
  transform: "translate(".concat(region.x * iw, " ").concat(region.y * ih, ")")
17
17
  }, React.createElement("path", {
18
- d: "M 1.866 12.7018 C 4.234 9.7951 9.486 2.7501 9.486 -1.207 C 9.486 -6.0063 5.5922 -9.9 0.793 -9.9 S -7.9 -6.0063 -7.9 -1.207 c 0 3.9571 5.2973 11.0021 7.62 13.9088 c 0.5569 0.6927 1.5892 0.6927 2.1461 0 z M 0.793 -4.1047 A 2.8977 2.8977 90 1 1 0.793 1.6907 a 2.8977 2.8977 90 1 1 0 -5.7953 z",
18
+ d: "M 1.866 12.7018 c2.293,-2.759 7.374,-9.452 7.374,-13.202c0,-4.554 -3.766,-8.238 -8.413,-8.238c-4.646,0 -8.413,3.684 -8.413,8.238c0,3.75 5.124,10.443 7.374,13.202c0.539,0.656 1.538,0.656 2.077,0Zm-1.038,-15.957c1.537,0 2.803,1.241 2.803,2.746c0,1.505 -1.266,2.746 -2.803,2.746c-0.006,0 -0.014,0 -0.019,0c-1.537,0 -2.803,-1.241 -2.803,-2.746c0,-1.505 1.266,-2.746 2.803,-2.746c0.006,0 0.014,0 0.019,0Z",
19
19
  style: {
20
20
  position: "absolute",
21
21
  zIndex: 1
@@ -25,6 +25,13 @@ var RegionComponents = {
25
25
  ,
26
26
  stroke: colorAlpha((region === null || region === void 0 ? void 0 : region.color) || "#E45B21", 1),
27
27
  fill: colorAlpha((region === null || region === void 0 ? void 0 : region.color) || "#E45B21", 1)
28
+ }), React.createElement("circle", {
29
+ cx: "0.8",
30
+ cy: "-0.5",
31
+ r: "5.817",
32
+ style: {
33
+ fill: !(region === null || region === void 0 ? void 0 : region.isNew) ? colorAlpha((region === null || region === void 0 ? void 0 : region.severityColor) || "#FFF", 1) : colorAlpha((region === null || region === void 0 ? void 0 : region.severityColor) || "#E45B21", 1)
34
+ }
28
35
  }));
29
36
  }),
30
37
  line: memo(function (_ref2) {
@@ -231,6 +238,7 @@ export var WrappedRegionList = memo(function (_ref19) {
231
238
  iw = _ref19.iw,
232
239
  ih = _ref19.ih,
233
240
  fullSegmentationMode = _ref19.fullSegmentationMode;
241
+ console.log("🚀 ~ regions:", regions);
234
242
  return regions.filter(function (r) {
235
243
  return r.visible !== false;
236
244
  }).map(function (r) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-image-annotate-master-custom",
3
- "version": "0.0.26",
3
+ "version": "0.0.28",
4
4
  "dependencies": {
5
5
  "@fortawesome/fontawesome-svg-core": "^1.2.12",
6
6
  "@fortawesome/free-solid-svg-icons": "^5.6.3",