@tomorrowos/sdk 0.9.9 → 0.9.10

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/REPLIT_SETUP.md CHANGED
@@ -230,7 +230,7 @@ Allowed extras (optional): `"build-player": "tomorrowos build --platform tizen"`
230
230
  "node": ">=20"
231
231
  },
232
232
  "dependencies": {
233
- "@tomorrowos/sdk": "^0.9.9",
233
+ "@tomorrowos/sdk": "^0.9.10",
234
234
  "dotenv": "^17.2.3",
235
235
  "tsx": "^4.19.0"
236
236
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tomorrowos/sdk",
3
- "version": "0.9.9",
3
+ "version": "0.9.10",
4
4
  "description": "TomorrowOS CMS server SDK - WebSocket transport, pairing, device commands, optional static CMS UI. Includes CLI (tomorrowos init / build) and starter templates.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "my-cms",
3
- "version": "0.9.9",
3
+ "version": "0.9.10",
4
4
  "description": "CMS server on @tomorrowos/sdk. Add your UI (React, static files, etc.) alongside this server.",
5
5
  "private": true,
6
6
  "type": "module",
@@ -13,7 +13,7 @@
13
13
  "build-player": "tomorrowos build --platform tizen"
14
14
  },
15
15
  "dependencies": {
16
- "@tomorrowos/sdk": "^0.9.9",
16
+ "@tomorrowos/sdk": "^0.9.10",
17
17
  "dotenv": "^17.2.3",
18
18
  "tsx": "^4.19.0"
19
19
  },
@@ -40,9 +40,16 @@
40
40
  <section class="card">
41
41
  <h2>Pair device</h2>
42
42
  <p class="hint">Enter the 6-character code on the screen (A–Z or 0–9).</p>
43
- <div class="row">
44
- <input id="code" maxlength="6" placeholder="e.g. A3K9Z1" autocapitalize="characters" />
45
- <button type="button" onclick="verify()">Verify</button>
43
+ <div class="row pair-code-row">
44
+ <input
45
+ id="code"
46
+ class="pair-code-input"
47
+ type="text"
48
+ maxlength="6"
49
+ placeholder="e.g. A3K9Z1"
50
+ autocapitalize="characters"
51
+ />
52
+ <button type="button" class="pair-verify-btn" onclick="verify()">Verify</button>
46
53
  </div>
47
54
  </section>
48
55
 
@@ -457,6 +457,35 @@ body {
457
457
  align-items: center;
458
458
  }
459
459
 
460
+ /* Match Pair Verify + code input height to device playlist Remove buttons */
461
+ .pair-code-row {
462
+ align-items: stretch;
463
+ }
464
+
465
+ .pair-code-row .pair-code-input,
466
+ .pair-code-row .pair-verify-btn {
467
+ box-sizing: border-box;
468
+ font-size: 0.78rem;
469
+ line-height: 1.2;
470
+ padding: 0.45rem 0.85rem;
471
+ min-height: 2.05rem;
472
+ height: 2.05rem;
473
+ border-radius: 6px;
474
+ }
475
+
476
+ .pair-code-row .pair-code-input {
477
+ width: 9.5rem;
478
+ }
479
+
480
+ .device-published-list button {
481
+ font-size: 0.78rem;
482
+ line-height: 1.2;
483
+ padding: 0.45rem 0.85rem;
484
+ min-height: 2.05rem;
485
+ height: 2.05rem;
486
+ box-sizing: border-box;
487
+ }
488
+
460
489
  input[type="text"],
461
490
  input[type="date"],
462
491
  input[type="time"],