@limrun/ui 0.14.0-rc.4 → 0.14.0

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.
Files changed (115) hide show
  1. package/README.md +9 -26
  2. package/dist/components/remote-control.d.ts +36 -0
  3. package/dist/index.cjs +1 -1
  4. package/dist/index.d.ts +1 -1
  5. package/dist/index.js +1189 -1089
  6. package/package.json +10 -51
  7. package/src/components/remote-control.tsx +267 -0
  8. package/src/index.ts +1 -1
  9. package/vite.config.ts +0 -9
  10. package/dist/app-store-relay/index.cjs +0 -9
  11. package/dist/app-store-relay/index.d.ts +0 -100
  12. package/dist/app-store-relay/index.js +0 -484
  13. package/dist/app-store-relay/react.cjs +0 -1
  14. package/dist/app-store-relay/react.d.ts +0 -15
  15. package/dist/app-store-relay/react.js +0 -69
  16. package/dist/apple-credentials/index.cjs +0 -1
  17. package/dist/apple-credentials/index.d.ts +0 -59
  18. package/dist/apple-credentials/index.js +0 -227
  19. package/dist/browser-storage-BnO-Ma-e.mjs +0 -219
  20. package/dist/browser-storage-DLxIqZk5.js +0 -1
  21. package/dist/client-D1drDXxE.js +0 -1
  22. package/dist/client-DSuNtWDv.mjs +0 -184
  23. package/dist/core/device-install/apple/client.d.ts +0 -18
  24. package/dist/core/device-install/apple/crypto.d.ts +0 -20
  25. package/dist/core/device-install/apple/gsa-srp.d.ts +0 -26
  26. package/dist/core/device-install/apple/index.d.ts +0 -5
  27. package/dist/core/device-install/apple/provisioning.d.ts +0 -212
  28. package/dist/core/device-install/apple/relay.d.ts +0 -40
  29. package/dist/core/device-install/index.d.ts +0 -4
  30. package/dist/core/device-install/operations/index.d.ts +0 -6
  31. package/dist/core/device-install/operations/limbuild-client.d.ts +0 -43
  32. package/dist/core/device-install/operations/operations.d.ts +0 -47
  33. package/dist/core/device-install/operations/relay-client.d.ts +0 -26
  34. package/dist/core/device-install/operations/relay-protocol.d.ts +0 -27
  35. package/dist/core/device-install/operations/usbmux.d.ts +0 -32
  36. package/dist/core/device-install/operations/webusb.d.ts +0 -21
  37. package/dist/core/device-install/storage/browser-storage.d.ts +0 -56
  38. package/dist/core/device-install/storage/index.d.ts +0 -2
  39. package/dist/core/device-install/storage/secret-store.d.ts +0 -101
  40. package/dist/core/device-install/types.d.ts +0 -57
  41. package/dist/core/errors.d.ts +0 -1
  42. package/dist/core/play-publish/google.d.ts +0 -13
  43. package/dist/core/play-publish/publish.d.ts +0 -34
  44. package/dist/device-build/index.cjs +0 -1
  45. package/dist/device-build/index.d.ts +0 -4
  46. package/dist/device-build/index.js +0 -85
  47. package/dist/device-build/react.cjs +0 -1
  48. package/dist/device-build/react.d.ts +0 -21
  49. package/dist/device-build/react.js +0 -68
  50. package/dist/device-build/signing.d.ts +0 -20
  51. package/dist/device-install/demo/demo.d.ts +0 -0
  52. package/dist/device-install/index.cjs +0 -1
  53. package/dist/device-install/index.d.ts +0 -18
  54. package/dist/device-install/index.js +0 -591
  55. package/dist/device-install/react.cjs +0 -1
  56. package/dist/device-install/react.d.ts +0 -24
  57. package/dist/device-install/react.js +0 -105
  58. package/dist/errors-BSkqS7U-.js +0 -1
  59. package/dist/errors-gy8yQJos.mjs +0 -6
  60. package/dist/gsa-srp-Bme3JLEi.mjs +0 -266
  61. package/dist/gsa-srp-CCIfUz7Y.js +0 -1
  62. package/dist/index-ChhtuQ7e.js +0 -22
  63. package/dist/index-YDu8K9a4.mjs +0 -11279
  64. package/dist/limbuild-client-BagK_FWE.mjs +0 -83
  65. package/dist/limbuild-client-CVDwq54z.js +0 -1
  66. package/dist/play-publish/index.cjs +0 -1
  67. package/dist/play-publish/index.d.ts +0 -2
  68. package/dist/play-publish/index.js +0 -109
  69. package/dist/play-publish/react.cjs +0 -1
  70. package/dist/play-publish/react.d.ts +0 -31
  71. package/dist/play-publish/react.js +0 -91
  72. package/dist/provisioning-B_DefBEp.mjs +0 -239
  73. package/dist/provisioning-BlQMccX_.js +0 -1
  74. package/src/app-store-relay/index.test.ts +0 -60
  75. package/src/app-store-relay/index.ts +0 -511
  76. package/src/app-store-relay/react.ts +0 -131
  77. package/src/apple-credentials/index.test.ts +0 -158
  78. package/src/apple-credentials/index.ts +0 -241
  79. package/src/core/device-install/apple/client.ts +0 -143
  80. package/src/core/device-install/apple/crypto.ts +0 -205
  81. package/src/core/device-install/apple/gsa-srp.ts +0 -123
  82. package/src/core/device-install/apple/index.ts +0 -5
  83. package/src/core/device-install/apple/provisioning.test.ts +0 -84
  84. package/src/core/device-install/apple/provisioning.ts +0 -380
  85. package/src/core/device-install/apple/relay.ts +0 -182
  86. package/src/core/device-install/index.ts +0 -4
  87. package/src/core/device-install/operations/index.ts +0 -6
  88. package/src/core/device-install/operations/limbuild-client.ts +0 -144
  89. package/src/core/device-install/operations/operations.ts +0 -234
  90. package/src/core/device-install/operations/relay-client.ts +0 -286
  91. package/src/core/device-install/operations/relay-protocol.ts +0 -71
  92. package/src/core/device-install/operations/usbmux.ts +0 -270
  93. package/src/core/device-install/operations/webusb-dom.d.ts +0 -54
  94. package/src/core/device-install/operations/webusb.ts +0 -110
  95. package/src/core/device-install/storage/browser-storage.test.ts +0 -65
  96. package/src/core/device-install/storage/browser-storage.ts +0 -325
  97. package/src/core/device-install/storage/index.ts +0 -2
  98. package/src/core/device-install/storage/secret-store.ts +0 -298
  99. package/src/core/device-install/types.ts +0 -69
  100. package/src/core/errors.ts +0 -3
  101. package/src/core/play-publish/google.ts +0 -113
  102. package/src/core/play-publish/publish.test.ts +0 -68
  103. package/src/core/play-publish/publish.ts +0 -89
  104. package/src/device-build/index.ts +0 -42
  105. package/src/device-build/react.ts +0 -130
  106. package/src/device-build/signing.ts +0 -94
  107. package/src/device-install/README.md +0 -423
  108. package/src/device-install/demo/demo.css +0 -493
  109. package/src/device-install/demo/demo.tsx +0 -1061
  110. package/src/device-install/demo/index.html +0 -12
  111. package/src/device-install/index.ts +0 -50
  112. package/src/device-install/react.ts +0 -195
  113. package/src/play-publish/README.md +0 -66
  114. package/src/play-publish/index.ts +0 -12
  115. package/src/play-publish/react.ts +0 -208
@@ -1,493 +0,0 @@
1
- * {
2
- box-sizing: border-box;
3
- }
4
-
5
- body {
6
- margin: 0;
7
- min-height: 100vh;
8
- background: #f4f7fb;
9
- color: #111827;
10
- font-family:
11
- Inter,
12
- ui-sans-serif,
13
- system-ui,
14
- -apple-system,
15
- BlinkMacSystemFont,
16
- 'Segoe UI',
17
- sans-serif;
18
- }
19
-
20
- button,
21
- input,
22
- select {
23
- font: inherit;
24
- }
25
-
26
- button {
27
- border: 0;
28
- border-radius: 10px;
29
- background: #111827;
30
- color: #fff;
31
- cursor: pointer;
32
- font-weight: 700;
33
- padding: 11px 16px;
34
- }
35
-
36
- button:hover:not(:disabled) {
37
- background: #253044;
38
- }
39
-
40
- button:disabled {
41
- cursor: not-allowed;
42
- opacity: 0.45;
43
- }
44
-
45
- button.secondary {
46
- background: #e5e7eb;
47
- color: #111827;
48
- }
49
-
50
- button.secondary:hover:not(:disabled) {
51
- background: #d1d5db;
52
- }
53
-
54
- code {
55
- border-radius: 6px;
56
- background: #eef2ff;
57
- color: #3730a3;
58
- padding: 1px 5px;
59
- }
60
-
61
- .page {
62
- display: grid;
63
- gap: 18px;
64
- margin: 0 auto;
65
- max-width: 1120px;
66
- padding: 28px 18px 56px;
67
- }
68
-
69
- .hero {
70
- border-radius: 22px;
71
- background: linear-gradient(135deg, #1f2937 0%, #4338ca 100%);
72
- box-shadow: 0 18px 45px rgb(15 23 42 / 16%);
73
- color: #fff;
74
- padding: 34px;
75
- }
76
-
77
- .hero h1 {
78
- margin: 0;
79
- max-width: 820px;
80
- font-size: clamp(2rem, 5vw, 3.6rem);
81
- letter-spacing: -0.05em;
82
- line-height: 0.98;
83
- }
84
-
85
- .hero p {
86
- margin: 16px 0 0;
87
- max-width: 780px;
88
- color: rgb(255 255 255 / 82%);
89
- line-height: 1.6;
90
- }
91
-
92
- .eyebrow {
93
- color: #c7d2fe !important;
94
- font-size: 0.76rem;
95
- font-weight: 800;
96
- letter-spacing: 0.18em;
97
- margin: 0 0 12px !important;
98
- text-transform: uppercase;
99
- }
100
-
101
- .card,
102
- .error {
103
- min-width: 0;
104
- border: 1px solid #e5e7eb;
105
- border-radius: 18px;
106
- background: #fff;
107
- box-shadow: 0 10px 28px rgb(15 23 42 / 7%);
108
- padding: 22px;
109
- }
110
-
111
- .card h2,
112
- .card p {
113
- margin: 0;
114
- }
115
-
116
- .card h2 {
117
- font-size: 1.18rem;
118
- letter-spacing: -0.02em;
119
- }
120
-
121
- .card p,
122
- .hint {
123
- color: #6b7280;
124
- line-height: 1.5;
125
- }
126
-
127
- .error {
128
- border-color: #fecaca;
129
- background: #fff1f2;
130
- color: #7f1d1d;
131
- }
132
-
133
- .error pre {
134
- margin: 8px 0 0;
135
- white-space: pre-wrap;
136
- }
137
-
138
- .errorToast {
139
- position: fixed;
140
- top: 16px;
141
- left: 50%;
142
- z-index: 1000;
143
- display: flex;
144
- align-items: flex-start;
145
- gap: 12px;
146
- width: min(680px, calc(100% - 32px));
147
- border: 1px solid #fecaca;
148
- border-radius: 14px;
149
- background: #fff1f2;
150
- box-shadow: 0 16px 40px rgb(127 29 29 / 22%);
151
- color: #7f1d1d;
152
- padding: 14px 16px;
153
- transform: translateX(-50%);
154
- }
155
-
156
- .errorToastBody {
157
- min-width: 0;
158
- flex: 1;
159
- }
160
-
161
- .errorToastBody pre {
162
- max-height: 220px;
163
- overflow: auto;
164
- margin: 6px 0 0;
165
- white-space: pre-wrap;
166
- word-break: break-word;
167
- }
168
-
169
- .errorToastClose {
170
- flex: 0 0 auto;
171
- border-radius: 8px;
172
- background: rgb(127 29 29 / 8%);
173
- color: #7f1d1d;
174
- padding: 6px 10px;
175
- }
176
-
177
- .errorToastClose:hover:not(:disabled) {
178
- background: rgb(127 29 29 / 16%);
179
- }
180
-
181
- .grid {
182
- display: grid;
183
- gap: 14px;
184
- margin-top: 16px;
185
- }
186
-
187
- .grid.two {
188
- grid-template-columns: repeat(2, minmax(0, 1fr));
189
- }
190
-
191
- label {
192
- display: grid;
193
- gap: 7px;
194
- color: #374151;
195
- font-size: 0.88rem;
196
- font-weight: 700;
197
- }
198
-
199
- input {
200
- min-width: 0;
201
- border: 1px solid #d1d5db;
202
- border-radius: 10px;
203
- background: #fff;
204
- color: #111827;
205
- padding: 11px 12px;
206
- }
207
-
208
- select {
209
- min-width: 0;
210
- border: 1px solid #d1d5db;
211
- border-radius: 10px;
212
- background: #fff;
213
- color: #111827;
214
- padding: 11px 12px;
215
- }
216
-
217
- input:focus,
218
- select:focus {
219
- border-color: #4f46e5;
220
- box-shadow: 0 0 0 3px rgb(79 70 229 / 15%);
221
- outline: none;
222
- }
223
-
224
- .tabs {
225
- display: inline-flex;
226
- gap: 6px;
227
- border-radius: 12px;
228
- background: #f3f4f6;
229
- margin: 4px 0 16px;
230
- padding: 5px;
231
- }
232
-
233
- button.tab {
234
- border-radius: 9px;
235
- background: transparent;
236
- color: #4b5563;
237
- padding: 9px 13px;
238
- }
239
-
240
- button.tab.active {
241
- background: #fff;
242
- box-shadow: 0 1px 5px rgb(15 23 42 / 12%);
243
- color: #111827;
244
- }
245
-
246
- .subPanel {
247
- border: 1px solid #e5e7eb;
248
- border-radius: 14px;
249
- background: #fbfdff;
250
- margin-top: 16px;
251
- padding: 16px;
252
- }
253
-
254
- .sectionHeader.compact {
255
- margin-bottom: 10px;
256
- }
257
-
258
- .sectionHeader h3 {
259
- margin: 0;
260
- font-size: 1rem;
261
- }
262
-
263
- .inlineForm {
264
- display: flex;
265
- gap: 10px;
266
- margin-top: 12px;
267
- }
268
-
269
- .inlineForm input {
270
- max-width: 220px;
271
- }
272
-
273
- .multiSelect {
274
- min-height: 132px;
275
- }
276
-
277
- .sectionHeader {
278
- display: flex;
279
- align-items: flex-start;
280
- justify-content: space-between;
281
- gap: 18px;
282
- margin-bottom: 16px;
283
- }
284
-
285
- .sectionHeader > div {
286
- min-width: 0;
287
- }
288
-
289
- .actions {
290
- display: flex;
291
- flex-wrap: wrap;
292
- gap: 10px;
293
- margin-top: 16px;
294
- }
295
-
296
- .pill {
297
- border-radius: 999px;
298
- flex: 0 0 auto;
299
- font-size: 0.78rem;
300
- font-weight: 800;
301
- padding: 7px 11px;
302
- text-transform: capitalize;
303
- }
304
-
305
- .pill.neutral {
306
- background: #f3f4f6;
307
- color: #374151;
308
- }
309
-
310
- .pill.active {
311
- background: #dbeafe;
312
- color: #1e40af;
313
- }
314
-
315
- .pill.success {
316
- background: #dcfce7;
317
- color: #166534;
318
- }
319
-
320
- .pill.danger {
321
- background: #fee2e2;
322
- color: #991b1b;
323
- }
324
-
325
- .facts {
326
- display: grid;
327
- gap: 10px;
328
- grid-template-columns: repeat(3, minmax(0, 1fr));
329
- margin: 18px 0 0;
330
- }
331
-
332
- .facts div {
333
- min-width: 0;
334
- border-radius: 12px;
335
- background: #f9fafb;
336
- padding: 12px;
337
- }
338
-
339
- .facts dt {
340
- color: #6b7280;
341
- font-size: 0.76rem;
342
- font-weight: 800;
343
- letter-spacing: 0.08em;
344
- text-transform: uppercase;
345
- }
346
-
347
- .facts dd {
348
- overflow-wrap: anywhere;
349
- margin: 6px 0 0;
350
- color: #111827;
351
- font-weight: 700;
352
- }
353
-
354
- .logBox {
355
- max-height: 260px;
356
- min-height: 120px;
357
- overflow: auto;
358
- border-radius: 12px;
359
- background: #111827;
360
- color: #d1fae5;
361
- font-size: 0.82rem;
362
- line-height: 1.45;
363
- margin: 16px 0 0;
364
- padding: 14px;
365
- white-space: pre-wrap;
366
- word-break: break-word;
367
- }
368
-
369
- .activity {
370
- display: grid;
371
- gap: 10px;
372
- }
373
-
374
- .activityLine {
375
- display: grid;
376
- gap: 3px;
377
- border-radius: 12px;
378
- background: #f9fafb;
379
- padding: 12px;
380
- }
381
-
382
- .activityLine span {
383
- color: #6b7280;
384
- font-size: 0.78rem;
385
- font-weight: 700;
386
- }
387
-
388
- .activityLine pre {
389
- margin: 4px 0 0;
390
- overflow-wrap: anywhere;
391
- white-space: pre-wrap;
392
- }
393
-
394
- .stepper {
395
- display: grid;
396
- grid-template-columns: repeat(4, minmax(0, 1fr));
397
- gap: 12px;
398
- }
399
-
400
- .step {
401
- display: flex;
402
- align-items: center;
403
- gap: 11px;
404
- border: 1px solid #e5e7eb;
405
- border-left: 4px solid #d1d5db;
406
- border-radius: 14px;
407
- background: #fff;
408
- box-shadow: 0 10px 28px rgb(15 23 42 / 7%);
409
- padding: 14px 16px;
410
- }
411
-
412
- .stepDot {
413
- display: flex;
414
- flex: 0 0 auto;
415
- align-items: center;
416
- justify-content: center;
417
- width: 26px;
418
- height: 26px;
419
- border-radius: 999px;
420
- background: #e5e7eb;
421
- color: #374151;
422
- font-size: 0.85rem;
423
- font-weight: 800;
424
- }
425
-
426
- .stepText {
427
- display: grid;
428
- min-width: 0;
429
- gap: 2px;
430
- }
431
-
432
- .stepTitle {
433
- font-size: 0.95rem;
434
- font-weight: 800;
435
- letter-spacing: -0.01em;
436
- }
437
-
438
- .stepLabel {
439
- overflow: hidden;
440
- color: #6b7280;
441
- font-size: 0.8rem;
442
- text-overflow: ellipsis;
443
- white-space: nowrap;
444
- }
445
-
446
- .step.active {
447
- border-left-color: #3b82f6;
448
- }
449
-
450
- .step.active .stepDot {
451
- background: #dbeafe;
452
- color: #1e40af;
453
- }
454
-
455
- .step.done {
456
- border-left-color: #22c55e;
457
- }
458
-
459
- .step.done .stepDot {
460
- background: #16a34a;
461
- color: #fff;
462
- }
463
-
464
- .step.error {
465
- border-left-color: #ef4444;
466
- }
467
-
468
- .step.error .stepDot {
469
- background: #dc2626;
470
- color: #fff;
471
- }
472
-
473
- @media (max-width: 760px) {
474
- .stepper {
475
- grid-template-columns: repeat(2, minmax(0, 1fr));
476
- }
477
-
478
- .grid.two,
479
- .facts {
480
- grid-template-columns: 1fr;
481
- }
482
-
483
- .sectionHeader {
484
- align-items: stretch;
485
- flex-direction: column;
486
- }
487
-
488
- .hero,
489
- .card,
490
- .error {
491
- padding: 18px;
492
- }
493
- }