@team-geospan/struct3d 1.0.1 → 1.0.2
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/lib/index.js +12 -14
- package/package.json +2 -2
package/lib/index.js
CHANGED
|
@@ -286,20 +286,18 @@ export default function StructureThreeD({
|
|
|
286
286
|
backgroundColor: "#eee",
|
|
287
287
|
},
|
|
288
288
|
},
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
}),
|
|
302
|
-
],
|
|
289
|
+
createElement("div", {
|
|
290
|
+
ref: divRef,
|
|
291
|
+
onClick: handleClick,
|
|
292
|
+
className: "struct-3d",
|
|
293
|
+
style: {
|
|
294
|
+
position: "absolute",
|
|
295
|
+
top: 0,
|
|
296
|
+
left: 0,
|
|
297
|
+
width: "100%",
|
|
298
|
+
height: "100%",
|
|
299
|
+
},
|
|
300
|
+
}),
|
|
303
301
|
);
|
|
304
302
|
}
|
|
305
303
|
|
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@team-geospan/struct3d",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"description": "The 3D Viewer component for StructuresJSON models.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": "GEOSPAN Corp and Contributors",
|
|
7
7
|
"type": "module",
|
|
8
8
|
"scripts": {
|
|
9
9
|
"build:copy-files": "node ./scripts/bundle.js",
|
|
10
|
-
"lint": "eslint --report-unused-disable-directives --max-warnings 0 ./lib ./docs --ext .js,.jsx",
|
|
10
|
+
"lint": "eslint --report-unused-disable-directives --max-warnings 0 ./lib ./docs/src --ext .js,.jsx",
|
|
11
11
|
"lint:fix": "npm run lint -- --fix",
|
|
12
12
|
"start": "astro dev --root ./docs",
|
|
13
13
|
"build": "astro build --root ./docs",
|