@limrun/ui 0.9.0-rc.1 → 0.9.0-rc.4

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 (30) hide show
  1. package/dist/core/device-install/apple/client.d.ts +1 -0
  2. package/dist/core/device-install/apple/provisioning.d.ts +42 -31
  3. package/dist/core/device-install/apple/relay.d.ts +5 -9
  4. package/dist/core/device-install/storage/browser-storage.d.ts +19 -0
  5. package/dist/core/device-install/types.d.ts +2 -2
  6. package/dist/device-install/index.cjs +1 -9
  7. package/dist/device-install/index.js +76 -210
  8. package/dist/device-install/react.cjs +1 -1
  9. package/dist/device-install/react.js +1 -1
  10. package/dist/device-install-dialog-86RDdoK9.js +2 -0
  11. package/dist/device-install-dialog-CnyDWf0q.mjs +462 -0
  12. package/dist/device-install-dialog.css +1 -1
  13. package/dist/hooks/use-device-install.d.ts +21 -3
  14. package/dist/index.cjs +1 -1
  15. package/dist/index.js +3 -3
  16. package/dist/use-device-install-CbGVvwPp.js +31 -0
  17. package/dist/use-device-install-j1Gekpl4.mjs +13623 -0
  18. package/package.json +1 -1
  19. package/src/components/device-install/device-install-dialog.css +82 -1
  20. package/src/components/device-install/device-install-dialog.tsx +337 -187
  21. package/src/core/device-install/apple/client.ts +92 -4
  22. package/src/core/device-install/apple/provisioning.ts +67 -24
  23. package/src/core/device-install/apple/relay.ts +121 -205
  24. package/src/core/device-install/storage/browser-storage.ts +26 -1
  25. package/src/core/device-install/types.ts +2 -2
  26. package/src/hooks/use-device-install.ts +748 -60
  27. package/dist/device-install-dialog-CTwVViYY.js +0 -2
  28. package/dist/device-install-dialog-zzKJu7SM.mjs +0 -328
  29. package/dist/use-device-install-CgrOKKyi.mjs +0 -13042
  30. package/dist/use-device-install-DDKRf6IL.js +0 -23
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@limrun/ui",
3
- "version": "0.9.0-rc.1",
3
+ "version": "0.9.0-rc.4",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -103,9 +103,16 @@
103
103
 
104
104
  .lr-device-install__step-header {
105
105
  align-items: flex-start;
106
+ background: transparent;
107
+ border: 0;
108
+ color: inherit;
109
+ cursor: pointer;
106
110
  display: grid;
107
111
  gap: 12px;
108
112
  grid-template-columns: auto 1fr auto;
113
+ padding: 0;
114
+ text-align: left;
115
+ width: 100%;
109
116
  }
110
117
 
111
118
  .lr-device-install__step-number {
@@ -154,6 +161,42 @@
154
161
  margin-top: 12px;
155
162
  }
156
163
 
164
+ .lr-device-install__choice-grid {
165
+ display: grid;
166
+ gap: 10px;
167
+ grid-template-columns: repeat(2, minmax(0, 1fr));
168
+ }
169
+
170
+ .lr-device-install__choice {
171
+ background: #ffffff;
172
+ border: 1px solid #d1d5db;
173
+ border-radius: 10px;
174
+ color: inherit;
175
+ cursor: pointer;
176
+ display: grid;
177
+ gap: 6px;
178
+ padding: 12px;
179
+ text-align: left;
180
+ }
181
+
182
+ .lr-device-install__choice span {
183
+ color: #4b5563;
184
+ font-size: 13px;
185
+ }
186
+
187
+ .lr-device-install__choice--active {
188
+ border-color: #111827;
189
+ box-shadow: 0 0 0 1px #111827;
190
+ }
191
+
192
+ .lr-device-install__section-panel {
193
+ border: 1px solid #e5e7eb;
194
+ border-radius: 12px;
195
+ display: grid;
196
+ gap: 12px;
197
+ padding: 12px;
198
+ }
199
+
157
200
  .lr-device-install__grid {
158
201
  display: grid;
159
202
  gap: 10px;
@@ -171,13 +214,50 @@
171
214
  font-weight: 600;
172
215
  }
173
216
 
174
- .lr-device-install__field input {
217
+ .lr-device-install__field input,
218
+ .lr-device-install__field select {
175
219
  border: 1px solid #d1d5db;
176
220
  border-radius: 8px;
177
221
  font: inherit;
178
222
  padding: 8px 10px;
179
223
  }
180
224
 
225
+ .lr-device-install__actions {
226
+ align-items: center;
227
+ display: flex;
228
+ flex-wrap: wrap;
229
+ gap: 10px;
230
+ }
231
+
232
+ .lr-device-install__hint {
233
+ color: #6b7280;
234
+ font-size: 13px;
235
+ }
236
+
237
+ .lr-device-install__checklist {
238
+ border: 1px solid #e5e7eb;
239
+ border-radius: 10px;
240
+ display: grid;
241
+ overflow: hidden;
242
+ }
243
+
244
+ .lr-device-install__check-row {
245
+ align-items: center;
246
+ display: flex;
247
+ gap: 12px;
248
+ justify-content: space-between;
249
+ padding: 10px 12px;
250
+ }
251
+
252
+ .lr-device-install__check-row + .lr-device-install__check-row {
253
+ border-top: 1px solid #e5e7eb;
254
+ }
255
+
256
+ .lr-device-install__check-row strong {
257
+ color: #111827;
258
+ font-size: 13px;
259
+ }
260
+
181
261
  .lr-device-install__build-logs {
182
262
  border: 1px solid #e5e7eb;
183
263
  border-radius: 10px;
@@ -230,6 +310,7 @@
230
310
  }
231
311
 
232
312
  @media (max-width: 760px) {
313
+ .lr-device-install__choice-grid,
233
314
  .lr-device-install__grid {
234
315
  grid-template-columns: 1fr;
235
316
  }