@tomorrowos/sdk 0.7.2 → 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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tomorrowos/sdk",
3
- "version": "0.7.2",
3
+ "version": "0.7.3",
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.7.2",
3
+ "version": "0.7.3",
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",
@@ -10,7 +10,7 @@
10
10
  "build-player": "tomorrowos build --platform tizen"
11
11
  },
12
12
  "dependencies": {
13
- "@tomorrowos/sdk": "^0.7.2",
13
+ "@tomorrowos/sdk": "^0.7.3",
14
14
  "dotenv": "^17.2.3"
15
15
  },
16
16
  "devDependencies": {
@@ -120,7 +120,7 @@ body {
120
120
 
121
121
  .devices-grid {
122
122
  display: grid;
123
- grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
123
+ grid-template-columns: repeat(auto-fill, minmax(308px, 1fr));
124
124
  gap: 0.85rem;
125
125
  }
126
126
 
@@ -214,14 +214,16 @@ body {
214
214
 
215
215
  .device-meta-top {
216
216
  display: grid;
217
- grid-template-columns: minmax(0, 1fr) 92px;
218
- gap: 0.65rem;
219
- align-items: stretch;
217
+ grid-template-columns: minmax(0, 1fr) 6.5rem;
218
+ gap: 0.5rem;
219
+ align-items: start;
220
220
  margin-bottom: 0.35rem;
221
221
  }
222
222
 
223
223
  .device-meta--primary {
224
224
  min-width: 0;
225
+ font-size: 0.77rem;
226
+ gap: 0.32rem;
225
227
  }
226
228
 
227
229
  .device-meta--secondary {
@@ -229,11 +231,11 @@ body {
229
231
  }
230
232
 
231
233
  .device-screenshot-slot {
232
- width: 92px;
233
- min-height: 4.85rem;
234
+ width: 6.5rem;
235
+ aspect-ratio: 13 / 9;
234
236
  flex-shrink: 0;
235
237
  border: 1px solid transparent;
236
- border-radius: 6px;
238
+ border-radius: 4px;
237
239
  background: #fafaf9;
238
240
  overflow: hidden;
239
241
  }
@@ -242,7 +244,6 @@ body {
242
244
  display: block;
243
245
  width: 100%;
244
246
  height: 100%;
245
- min-height: 4.85rem;
246
247
  padding: 0;
247
248
  border: 0;
248
249
  background: transparent;
@@ -253,7 +254,6 @@ body {
253
254
  display: block;
254
255
  width: 100%;
255
256
  height: 100%;
256
- min-height: 4.85rem;
257
257
  object-fit: cover;
258
258
  object-position: center;
259
259
  }