Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Update yarn.
Update dependencies.
Changed UI.
  • Loading branch information
logue committed Feb 8, 2024
1 parent 16d9bfa commit d6bf881
Show file tree
Hide file tree
Showing 6 changed files with 927 additions and 1,128 deletions.
672 changes: 336 additions & 336 deletions .yarn/releases/yarn-4.0.2.cjs → .yarn/releases/yarn-4.1.0.cjs

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion .yarnrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ enableGlobalCache: false

nodeLinker: node-modules

yarnPath: .yarn/releases/yarn-4.0.2.cjs
yarnPath: .yarn/releases/yarn-4.1.0.cjs
122 changes: 75 additions & 47 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@
<section class="card mb-3" id="player">
<div class="card-header">
<h2 class="card-title h5">MIDI Player</h2>
<h3 class="card-subtitle mb-2 text-muted h6">
<h3 class="card-subtitle text-muted h6">
Drag and drop *.mid, *.mld, *.ms2mml, *.mms, *.mml, *.mmi file
here, to play local midi file.
</h3>
Expand Down Expand Up @@ -334,6 +334,7 @@ <h3 class="card-subtitle mb-2 text-muted h6">
<!-- Player control -->
<div class="d-sm-flex align-items-center mb-2">
<div>
<!-- previous music button -->
<button
type="button"
class="btn btn-info btn-lg control-btn"
Expand All @@ -343,6 +344,7 @@ <h3 class="card-subtitle mb-2 text-muted h6">
>
<i class="bi bi-skip-start"></i>
</button>
<!-- Play/Stop button -->
<button
type="button"
class="btn btn-primary btn-lg control-btn"
Expand All @@ -352,6 +354,7 @@ <h3 class="card-subtitle mb-2 text-muted h6">
>
<i class="bi bi-play"></i>
</button>
<!-- Stop button -->
<button
type="button"
class="btn btn-danger btn-lg control-btn"
Expand All @@ -361,6 +364,7 @@ <h3 class="card-subtitle mb-2 text-muted h6">
>
<i class="bi bi-stop"></i>
</button>
<!-- Next button -->
<button
type="button"
class="btn btn-info btn-lg control-btn"
Expand All @@ -370,6 +374,7 @@ <h3 class="card-subtitle mb-2 text-muted h6">
>
<i class="bi bi-skip-end"></i>
</button>
<!-- Panic button -->
<button
type="button"
class="btn btn-warning btn-lg control-btn"
Expand All @@ -379,10 +384,39 @@ <h3 class="card-subtitle mb-2 text-muted h6">
>
<i class="bi bi-exclamation-octagon"></i>
</button>
<!--button type="button" class="btn btn-secondary btn-lg control-btn" id="copy" disabled="disabled"
title="Copy midi URL to clipboard">
<i class="bi bi-share"></i>
</button-->
<!--
<button
type="button"
class="btn btn-secondary btn-lg control-btn"
id="copy"
disabled="disabled"
title="Copy midi URL to clipboard"
>
<i class="bi bi-share"></i>
</button>
-->
<div>
<!-- Master Volume -->
<label for="volume" class="form-label">
Master Volume:
<span id="volume_value" class="badge text-bg-secondary">
0.5
</span>
</label>
<div class="d-flex">
<div><i class="bi bi-volume-off"></i></div>
<input
id="volume"
type="range"
class="form-range mx-1"
min="0"
max="1"
step="0.01"
value="0.5"
/>
<div><i class="bi bi-volume-up"></i></div>
</div>
</div>
</div>
<!-- time -->
<div class="flex-grow-1 mx-3">
Expand All @@ -406,7 +440,7 @@ <h3 class="card-subtitle mb-2 text-muted h6">
<span id="current-tempo">120</span>
</span>
</div>

<!-- Music progress -->
<div class="progress" id="music-progress">
<div
class="progress-bar percentage"
Expand All @@ -423,7 +457,7 @@ <h3 class="card-subtitle mb-2 text-muted h6">
</div>
<!-- Midi selector -->
<div class="row">
<div class="col-md-8 col-xs-12 mb-2">
<div class="col-md-7 col-xs-12 mb-2">
<label class="form-label" for="files">Sequence file:</label>
<div class="input-group">
<span class="input-group-text">
Expand All @@ -442,7 +476,7 @@ <h3 class="card-subtitle mb-2 text-muted h6">
</button>
</div>
</div>
<div class="col-md-4 col-xs-12 mb-2">
<div class="col-md-5 col-xs-12 mb-2">
<label for="zips" class="form-label">
Zip archive file:
</label>
Expand Down Expand Up @@ -600,30 +634,45 @@ <h3 class="card-subtitle mb-2 text-muted h6">
<div class="row">
<div class="col-md-7 col-xs-12 mb-2">
<label class="form-label" for="music_title">Title</label>
<input
type="text"
class="form-control"
id="music_title"
readonly="readonly"
/>
<div class="input-group">
<span class="input-group-text">
<i class="bi bi-file-earmark-music"></i>
</span>
<input
type="text"
class="form-control"
id="music_title"
readonly="readonly"
/>
</div>
</div>
<div class="col-md-5 col-xs-12 mb-2">
<label class="form-label" for="copyright ">Copyright</label>
<input
type="text"
class="form-control"
id="copyright"
readonly="readonly"
/>
<div class="input-group">
<span class="input-group-text">
<i class="bi bi-c-circle"></i>
</span>
<input
type="text"
class="form-control"
id="copyright"
readonly="readonly"
/>
</div>
</div>
<div class="col-12 mb-2">
<label class="form-label" for="text_event">Text</label>
<input
type="text"
class="form-control"
id="text_event"
readonly="readonly"
/>
<div class="input-group">
<span class="input-group-text">
<i class="bi bi-body-text"></i>
</span>
<input
type="text"
class="form-control"
id="text_event"
readonly="readonly"
/>
</div>
</div>
<div class="col-12">
<div class="form-label">Lyrics (karaoke)</div>
Expand Down Expand Up @@ -720,27 +769,6 @@ <h3 class="card-subtitle mb-2 text-muted h6">
value="1.0"
/>
</div>
</div>
<div>
<label for="volume" class="form-label">
Master Volume:
<span id="volume_value" class="badge bg-secondary">
0.5
</span>
</label>
<div class="d-flex">
<div><i class="bi bi-volume-off"></i></div>
<input
id="volume"
type="range"
class="form-range mx-1"
min="0"
max="1"
step="0.01"
value="0.5"
/>
<div><i class="bi bi-volume-up"></i></div>
</div>
<hr />
<button
type="button"
Expand Down
37 changes: 19 additions & 18 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"url": "https://logue.dev"
}
],
"version": "0.5.5",
"version": "0.5.6",
"license": "MIT",
"repository": {
"type": "git",
Expand Down Expand Up @@ -57,7 +57,7 @@
"node": ">=18.12.5",
"yarn": ">=1.22.19"
},
"packageManager": "yarn@4.0.2",
"packageManager": "yarn@4.1.0",
"scripts": {
"dev": "vite --mode=docs",
"clean": "rimraf node_modules/.vite",
Expand All @@ -74,28 +74,28 @@
},
"devDependencies": {
"@popperjs/core": "^2.11.8",
"@types/ini": "^1.3.33",
"@zip.js/zip.js": "^2.7.31",
"@types/ini": "^4.1.0",
"@zip.js/zip.js": "^2.7.34",
"bootstrap": "5.3.2",
"bootstrap-icons": "^1.11.2",
"bootstrap-icons": "^1.11.3",
"buffer": "^6.0.3",
"dseg": "^0.46.0",
"eslint": "^8.55.0",
"eslint": "^8.56.0",
"eslint-config-google": "^0.14.0",
"eslint-config-prettier": "^9.1.0",
"eslint-import-resolver-alias": "^1.1.2",
"eslint-plugin-import": "^2.29.0",
"eslint-plugin-prettier": "^5.0.1",
"husky": "^8.0.3",
"lint-staged": "^15.2.0",
"prettier": "^3.1.0",
"query-string": "^8.1.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-prettier": "^5.1.3",
"husky": "^9.0.10",
"lint-staged": "^15.2.2",
"prettier": "^3.2.5",
"query-string": "^8.2.0",
"rimraf": "^5.0.5",
"sass": "^1.69.5",
"sass": "^1.70.0",
"streamsaver": "^2.0.6",
"vite": "^5.0.4",
"vite": "^5.0.12",
"vite-plugin-banner": "^0.7.1",
"vite-plugin-checker": "^0.6.2"
"vite-plugin-checker": "^0.6.4"
},
"husky": {
"hooks": {
Expand All @@ -107,9 +107,10 @@
"*": "prettier -w -u"
},
"resolutions": {
"http-cache-semantics": "^4.1.1",
"json5": "^2.2.3",
"semver": "^7.5.2",
"yaml": "^2.2.2"
"lodash": ">=4.17.21",
"postcss": "^8.4.31",
"semver": "^7.5.3",
"yaml": "^2.3.2"
}
}
1 change: 1 addition & 0 deletions src-docs/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
//
@import '~/bootstrap/scss/alert';
@import '~/bootstrap/scss/buttons';
@import '~/bootstrap/scss/badge';
@import '~/bootstrap/scss/card';
@import '~/bootstrap/scss/dropdown';
@import '~/bootstrap/scss/forms';
Expand Down
Loading

0 comments on commit d6bf881

Please sign in to comment.