9remote 2.1.5 → 2.1.6

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.
@@ -1233,6 +1233,9 @@ button {
1233
1233
  .max-h-\[calc\(100dvh-14rem\)\]{
1234
1234
  max-height: calc(100dvh - 14rem);
1235
1235
  }
1236
+ .max-h-full{
1237
+ max-height: 100%;
1238
+ }
1236
1239
  .min-h-0{
1237
1240
  min-height: 0px;
1238
1241
  }
@@ -1662,6 +1665,9 @@ button {
1662
1665
  .bg-bg{
1663
1666
  background-color: var(--bg-main);
1664
1667
  }
1668
+ .bg-black\/30{
1669
+ background-color: rgb(0 0 0 / 0.3);
1670
+ }
1665
1671
  .bg-black\/40{
1666
1672
  background-color: rgb(0 0 0 / 0.4);
1667
1673
  }
@@ -1728,6 +1734,9 @@ button {
1728
1734
  -o-object-fit: cover;
1729
1735
  object-fit: cover;
1730
1736
  }
1737
+ .p-0{
1738
+ padding: 0px;
1739
+ }
1731
1740
  .p-0\.5{
1732
1741
  padding: 0.125rem;
1733
1742
  }
@@ -1755,6 +1764,9 @@ button {
1755
1764
  .p-6{
1756
1765
  padding: 1.5rem;
1757
1766
  }
1767
+ .p-px{
1768
+ padding: 1px;
1769
+ }
1758
1770
  .px-0\.5{
1759
1771
  padding-left: 0.125rem;
1760
1772
  padding-right: 0.125rem;
@@ -2304,23 +2316,27 @@ button {
2304
2316
  .terminal-wrapper .xterm-viewport {
2305
2317
  overflow-y: auto !important;
2306
2318
  scrollbar-width: thin;
2307
- scrollbar-color: rgba(var(--brand-rgb), 0.5) transparent;
2319
+ scrollbar-color: transparent transparent;
2308
2320
  }
2321
+ /* Native webkit thumb: transparent until viewport hovered (auto-hide) */
2309
2322
  .terminal-wrapper .xterm-viewport::-webkit-scrollbar { width: 6px; }
2310
2323
  .terminal-wrapper .xterm-viewport::-webkit-scrollbar-track { background: transparent; }
2311
2324
  .terminal-wrapper .xterm-viewport::-webkit-scrollbar-thumb {
2312
- background: rgba(var(--brand-rgb), 0.5);
2325
+ background: transparent;
2313
2326
  border-radius: 3px;
2314
2327
  }
2315
- .terminal-wrapper .xterm-viewport::-webkit-scrollbar-thumb:hover {
2328
+ .terminal-wrapper:hover .xterm-viewport::-webkit-scrollbar-thumb {
2329
+ background: rgba(var(--brand-rgb), 0.4);
2330
+ }
2331
+ .terminal-wrapper:hover .xterm-viewport::-webkit-scrollbar-thumb:hover {
2316
2332
  background: rgba(var(--brand-rgb), 0.8);
2317
2333
  }
2318
- /* XTerm custom overlay scrollbar (JS-rendered div) — 7px brand-colored, no fade. */
2334
+ /* XTerm overlay scrollbar (JS-rendered div) — auto-hide: only .visible while scrolling/hovering. */
2319
2335
  .terminal-wrapper .xterm .xterm-scrollable-element > .scrollbar {
2320
2336
  width: 7px !important;
2321
- opacity: 1 !important;
2322
- pointer-events: auto !important;
2323
- transition: none !important;
2337
+ opacity: 0 !important;
2338
+ pointer-events: none !important;
2339
+ transition: opacity 0.18s ease !important;
2324
2340
  }
2325
2341
  .terminal-wrapper .xterm .xterm-scrollable-element > .scrollbar .slider {
2326
2342
  width: 7px !important;
@@ -2330,13 +2346,10 @@ button {
2330
2346
  .terminal-wrapper .xterm .xterm-scrollable-element > .scrollbar .slider:hover {
2331
2347
  background: rgba(var(--brand-rgb), 0.8) !important;
2332
2348
  }
2333
- /* Force the overlay scrollbar solid at all times when scrollable. xterm fades
2334
- it to .invisible after an idle timeout; override both visibility classes. */
2335
- .terminal-wrapper .xterm .xterm-scrollable-element > .scrollbar.visible,
2336
- .terminal-wrapper .xterm .xterm-scrollable-element > .scrollbar.invisible {
2349
+ /* Show overlay scrollbar only while xterm marks it .visible (scrolling / hovering track). */
2350
+ .terminal-wrapper .xterm .xterm-scrollable-element > .scrollbar.visible {
2337
2351
  opacity: 1 !important;
2338
2352
  pointer-events: auto !important;
2339
- transition: none !important;
2340
2353
  }
2341
2354
  .terminal-wrapper .xterm-screen { touch-action: pan-y !important; }
2342
2355
  .xterm .xterm-helpers { z-index: 0 !important; }
@@ -14,8 +14,8 @@
14
14
  const savedTheme = localStorage.getItem("9remote-theme") || "dark";
15
15
  document.documentElement.setAttribute("data-theme", savedTheme);
16
16
  </script>
17
- <script type="module" crossorigin src="/assets/index-x-cLAYQY.js"></script>
18
- <link rel="stylesheet" crossorigin href="/assets/index-DxFTXB_J.css">
17
+ <script type="module" crossorigin src="/assets/index-BxhFJ5gG.js"></script>
18
+ <link rel="stylesheet" crossorigin href="/assets/index-CedBHegS.css">
19
19
  </head>
20
20
  <body>
21
21
  <div id="root"></div>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "9remote",
3
- "version": "2.1.5",
3
+ "version": "2.1.6",
4
4
  "type": "module",
5
5
  "description": "Remote terminal access from anywhere",
6
6
  "main": "dist/server.cjs",
@@ -33,28 +33,29 @@
33
33
  "@xterm/addon-fit": "^0.11.0",
34
34
  "@xterm/addon-unicode11": "^0.9.0",
35
35
  "@xterm/xterm": "^6.0.0",
36
- "bufferutil": "^4.1.0",
36
+ "bufferutil": "4.1.0",
37
37
  "chalk": "^5.4.1",
38
38
  "chokidar": "^3.6.0",
39
39
  "edge-tts-node": "^1.5.7",
40
40
  "http-proxy": "^1.18.1",
41
41
  "inquirer": "^9.3.8",
42
42
  "multicast-dns": "^7.2.5",
43
- "node-datachannel": "^0.32.3",
44
43
  "node-machine-id": "^1.1.12",
45
44
  "node-screenshots": "^0.2.8",
46
45
  "ora": "^8.1.1",
47
46
  "preact": "^10.26.2",
48
47
  "qrcode": "^1.5.4",
49
48
  "qrcode-terminal": "^0.12.0",
50
- "sharp": "^0.33.5",
49
+ "sharp": "0.33.5",
51
50
  "socket.io": "^4.8.3",
52
51
  "socket.io-client": "^4.8.3",
53
- "utf-8-validate": "^6.0.6",
52
+ "utf-8-validate": "6.0.6",
54
53
  "web-push": "^3.6.7"
55
54
  },
56
55
  "optionalDependencies": {
57
56
  "@hurdlegroup/robotjs": "^0.12.1",
57
+ "@julusian/jpeg-turbo": "3.0.1",
58
+ "node-datachannel": "0.32.3",
58
59
  "node-pty": "1.2.0-beta.12"
59
60
  },
60
61
  "devDependencies": {