mc-react-structure-visualizer 0.7.1 → 0.7.3

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/README.md CHANGED
@@ -43,6 +43,6 @@ npm install /path/to/package-x.y.z.tgz
43
43
  To make a new version and publish to npm via GitHub Actions:
44
44
 
45
45
  ```bash
46
- npm version <patch/minor/major>
46
+ npm version <major/minor/patch>
47
47
  git push --follow-tags
48
48
  ```
package/dist/index.css CHANGED
@@ -1 +1 @@
1
- .control-box{position:relative;z-index:1;width:100%;background:#f8f8f8;text-align:center;border:1px solid #999;display:flex;flex-wrap:wrap;flex-direction:column;justify-content:center;align-items:start;border-radius:5px;margin-top:-5px;padding:15px 10px 10px}.supercell-container{display:flex;align-items:center;gap:2px}.supercell-input{width:45px;height:25px}.supercell-input::-webkit-inner-spin-button,.supercell-input::-webkit-outer-spin-button{opacity:1}.control-box-row{padding:4px;width:100%;line-height:inherit;display:flex;flex-wrap:wrap;justify-content:space-around;align-items:stretch}.form-label{margin-bottom:0rem}.form-control{padding:0rem .275rem}.camera-controls{display:inline-flex;align-items:center;justify-items:center;text-align:center;gap:2px}.camera-button{border-width:1px;border-color:#000;border-radius:4px;display:inline-flex;align-items:center;justify-items:center;color:#000;background-color:#e0e0e0;padding:8px;height:25px}.camera-button:hover{color:#000;background-color:#b9b9b9}.control-box-row .form-check-input{margin-left:0}.control-box-row .form-check-label{margin-left:4px}.control-box-row .form-check{margin:0;padding:0}.gldiv{width:98%;height:98%;position:relative}.structure-window-outer{position:relative;width:100%;flex:1;display:flex;align-items:stretch}.structure-window-click-handler{width:100%}.structure-window{position:relative;z-index:2;height:100%;width:100%;background:#fff;text-align:center;border:1px solid #999;display:flex;justify-content:center;align-items:center;border-radius:5px}.disable-mouse{pointer-events:none}.mouse-disabled-note{background-color:#f8f8f8;border:1px solid #999999;color:#353434;padding:1px 6px;border-radius:5px;position:absolute;bottom:10px;right:10px;z-index:3;cursor:pointer;-webkit-user-select:none;user-select:none}.on{display:none}.mouse-disabled-note:hover{filter:brightness(90%)}.structure-visualizer{width:100%;height:100%;min-height:250px;min-width:250px;font-size:16px;display:flex;flex-direction:column}
1
+ .control-box{position:relative;z-index:1;width:100%;background:#f8f8f8;text-align:center;display:flex;flex-wrap:wrap;flex-direction:column;justify-content:center;align-items:start;margin-top:-2px;padding:10px}.supercell-container{display:flex;align-items:center;gap:2px;padding:2px}.supercell-input{width:45px;height:25px}.supercell-input::-webkit-inner-spin-button,.supercell-input::-webkit-outer-spin-button{opacity:1}.control-box-row{padding:2px;width:100%;line-height:inherit;display:flex;flex-wrap:wrap;justify-content:space-around;align-items:stretch}.form-label{margin-bottom:0rem}.form-control{padding:0rem .275rem}.camera-controls{display:inline-flex;align-items:center;justify-items:center;text-align:center;gap:2px;padding:2px}.camera-button{border-width:1px;border-color:#000;border-radius:4px;display:inline-flex;align-items:center;justify-items:center;color:#000;background-color:#e0e0e0;padding:8px;height:25px}.camera-button:hover{color:#000;background-color:#b9b9b9}.control-box-row .form-check-input{margin-left:0}.control-box-row .form-check-label{margin-left:4px}.control-box-row .form-check{margin:0;padding:0}.gldiv{width:98%;height:98%;position:relative}.structure-window-outer{position:relative;width:100%;flex:1;display:flex;align-items:stretch}.structure-window-click-handler{width:100%}.structure-window{position:relative;z-index:2;height:100%;width:100%;background:#fff;text-align:center;border-bottom:1px solid #999;display:flex;justify-content:center;align-items:center}.disable-mouse{pointer-events:none}.mouse-disabled-note{background-color:#f8f8f8;border:1px solid #999999;color:#353434;padding:1px 6px;border-radius:5px;position:absolute;bottom:10px;left:10px;z-index:3;cursor:pointer;-webkit-user-select:none;user-select:none}.on{display:none}.mouse-disabled-note:hover{filter:brightness(90%)}.structure-visualizer{width:100%;height:100%;min-height:250px;min-width:250px;font-size:16px;display:flex;flex-direction:column;border-radius:5px;border:1px solid #999;overflow:hidden}
package/dist/main.js CHANGED
@@ -25436,7 +25436,7 @@ class Visualizer3dmol extends React.Component {
25436
25436
  z: E.z
25437
25437
  });
25438
25438
  });
25439
- let x = 0.05, M = this.props.viewerParams.supercell;
25439
+ let x = 0.03, M = this.props.viewerParams.supercell;
25440
25440
  for (let g = -1; g < M[0] + 1; g++)
25441
25441
  for (let E = -1; E < M[1] + 1; E++)
25442
25442
  for (let w = -1; w < M[2] + 1; w++) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mc-react-structure-visualizer",
3
- "version": "0.7.1",
3
+ "version": "0.7.3",
4
4
  "author": "Kristjan Eimre <kristjan.eimre@epfl.ch>",
5
5
  "type": "module",
6
6
  "module": "dist/main.js",