mc-react-phonon-visualizer 0.2.0 → 0.2.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/README.md +15 -0
- package/dist/PhononVisualizer.css +1 -1
- package/dist/main.js +90043 -86270
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -11,3 +11,18 @@ The React component implemented in this repo mimics the features of the [phonon
|
|
|
11
11
|
## Testing
|
|
12
12
|
|
|
13
13
|
The app is self-tested via the `App` component against local test data (`/data/test.json`).
|
|
14
|
+
|
|
15
|
+
## Publishing a new version
|
|
16
|
+
|
|
17
|
+
Make sure build works locally without problems:
|
|
18
|
+
|
|
19
|
+
```bash
|
|
20
|
+
npm run build
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
To make a new version and publish to npm via GitHub Actions:
|
|
24
|
+
|
|
25
|
+
```bash
|
|
26
|
+
npm version <major/minor/patch>
|
|
27
|
+
git push --follow-tags
|
|
28
|
+
```
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.overlay-div{display:table;z-index:10000;position:absolute;left:0;top:40px;height:calc(100% -
|
|
1
|
+
.overlay-div{display:table;z-index:10000;position:absolute;left:0;top:40px;height:calc(100% - 80px);width:100%;cursor:pointer;background-color:#00000006;font-family:Helvetica Neue,Helvetica,Arial,sans-serif;-webkit-user-select:none;user-select:none;-moz-user-select:none}.overlay-div span{display:table-cell;padding-top:10px;text-align:center;vertical-align:top;line-height:normal;font-size:16px;font-weight:600;color:#505050}.weas-container{overflow:hidden;padding:0}.disable-mouse{pointer-events:none}.mouse-interact-note{background-color:#f8f8f8;border:1px solid #999999;color:#353434;padding:1px 6px;border-radius:5px;position:absolute;bottom:15px;right:20px;z-index:3;cursor:pointer;-webkit-user-select:none;user-select:none}.mouse-interact-note:hover{filter:brightness(90%)}.off{display:none}.play-button{position:absolute;bottom:15px;left:20px}#cellRepetitions{display:flex;padding:0rem .275rem}#cellRepetitions input:not(:last-child){margin-right:.1em}.controls-group{align-items:center;margin-bottom:1rem}#cameraControls button{width:40px;margin-right:.25em}.visualizer-panel .card{height:100%}.visualizer-panel .card-header{text-align:center}
|