react-image-annotate-master-custom 0.0.33 → 0.0.34

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.
Files changed (2) hide show
  1. package/RegionTags/index.js +1 -14
  2. package/package.json +10 -4
@@ -114,20 +114,7 @@ export var RegionTags = function RegionTags(_ref) {
114
114
  } : {
115
115
  top: 0
116
116
  })
117
- }, !region.editingLabels ? copyWithout(mouseEvents, "onMouseDown", "onMouseUp") : {}), React.createElement(RegionLabel, {
118
- allowedClasses: regionClsList,
119
- allowedTags: regionTagList,
120
- onOpen: onBeginRegionEdit,
121
- onChange: onChangeRegion,
122
- onClose: onCloseRegionEdit,
123
- onDelete: onDeleteRegion,
124
- editing: region.editingLabels,
125
- region: region,
126
- regions: regions,
127
- imageSrc: imageSrc,
128
- onRegionClassAdded: onRegionClassAdded,
129
- allowComments: allowComments
130
- })));
117
+ }, !region.editingLabels ? copyWithout(mouseEvents, "onMouseDown", "onMouseUp") : {})));
131
118
  });
132
119
  };
133
120
  export default RegionTags;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-image-annotate-master-custom",
3
- "version": "0.0.33",
3
+ "version": "0.0.34",
4
4
  "dependencies": {
5
5
  "@fortawesome/fontawesome-svg-core": "^1.2.12",
6
6
  "@fortawesome/free-solid-svg-icons": "^5.6.3",
@@ -50,13 +50,19 @@
50
50
  "start": "react-scripts start",
51
51
  "test": "react-scripts test",
52
52
  "eject": "react-scripts eject",
53
+
53
54
  "storybook": "start-storybook -p 9090 -s public",
54
- "build": "npm run build:babel && copyfiles -f package.json README.md dist",
55
- "build:babel": "rimraf dist && cross-env NODE_ENV=production babel ./src --ignore \"src/**/*.story.js\" --out-dir=./dist",
55
+
56
+ "build": "npm run build:babel && copyfiles package.json README.md dist",
56
57
  "dist": "npm run build && cd dist && npm publish",
58
+
59
+ "build:babel": "rimraf dist && cross-env NODE_ENV=production babel ./src --ignore \"src/**/*.story.js\" --out-dir=./dist",
60
+
57
61
  "build-storybook": "build-storybook",
58
- "build:gh-pages": "CI=false react-scripts build && mkdirp build/demo && copyfiles -f build/index.html build/demo",
62
+
63
+ "build:gh-pages": "CI=false react-scripts build && npx shx mkdir -p build/demo && copyfiles build/index.html build/demo",
59
64
  "gh-pages": "npm run build:gh-pages && gh-pages -d build",
65
+
60
66
  "prettier": "prettier --write \"src/**/*.js\"",
61
67
  "prettier:test": "prettier --check \"src/**/*.js\""
62
68
  },