mlola-ui 1.0.1 → 1.0.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.
Files changed (33) hide show
  1. package/README.md +1 -1
  2. package/package.json +1 -1
  3. package/registry/assets.json +578 -0
  4. package/registry/index.json +65 -65
  5. package/registry/source/packages/components/alert/alert.tsx +1 -1
  6. package/registry/source/packages/components/badge/badge.tsx +2 -2
  7. package/registry/source/packages/components/breadcrumb/breadcrumb.tsx +1 -1
  8. package/registry/source/packages/components/carousel/carousel.tsx +1 -0
  9. package/registry/source/packages/components/checkbox/checkbox.tsx +3 -2
  10. package/registry/source/packages/components/color-picker/color-picker.tsx +15 -13
  11. package/registry/source/packages/components/color-picker/color.ts +1 -1
  12. package/registry/source/packages/components/combobox/combobox.tsx +33 -6
  13. package/registry/source/packages/components/date-picker/date-picker.tsx +5 -3
  14. package/registry/source/packages/components/dropzone/dropzone.tsx +1 -1
  15. package/registry/source/packages/components/empty-state/empty-state.tsx +1 -1
  16. package/registry/source/packages/components/hover-card/hover-card.tsx +1 -1
  17. package/registry/source/packages/components/number-input/number-input.tsx +6 -5
  18. package/registry/source/packages/components/otp-input/otp-input.tsx +6 -4
  19. package/registry/source/packages/components/progress/progress.tsx +1 -1
  20. package/registry/source/packages/components/segmented-control/segmented-control.tsx +5 -3
  21. package/registry/source/packages/components/select/select.tsx +6 -5
  22. package/registry/source/packages/components/tag-input/tag-input.tsx +7 -6
  23. package/registry/source/packages/components/textarea/textarea.tsx +1 -1
  24. package/registry/source/packages/components/time-picker/time-picker.tsx +8 -5
  25. package/registry/source/packages/components/timeline/timeline.tsx +1 -1
  26. package/registry/source/packages/components/toast/toast.tsx +1 -1
  27. package/registry/source/packages/components/toggle/toggle.tsx +1 -0
  28. package/registry/source/packages/components/tour/tour.tsx +3 -3
  29. package/registry/source-manifest.json +24 -24
  30. package/src/assets.js +90 -0
  31. package/src/cli.js +39 -5
  32. package/src/config.js +1 -0
  33. package/src/pro.js +1 -1
package/README.md CHANGED
@@ -36,7 +36,7 @@ forbidden dependencies.
36
36
  ## Mlola Pro
37
37
 
38
38
  Pro components, blocks, pages and templates are not in this package. With a
39
- licence, create a token at https://ui.mlola.com/account, then:
39
+ license, create a token at https://ui.mlola.com/account, then:
40
40
 
41
41
  ```sh
42
42
  npx mlola-ui login mlp_…
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mlola-ui",
3
- "version": "1.0.1",
3
+ "version": "1.0.3",
4
4
  "description": "Source-copy CLI that writes framework-free Mlola UI items into your project",
5
5
  "type": "module",
6
6
  "bin": {
@@ -0,0 +1,578 @@
1
+ {
2
+ "version": 1,
3
+ "source": "https://ui.mlola.com/asset-files",
4
+ "items": [
5
+ {
6
+ "id": "chat-empty",
7
+ "kind": "2d",
8
+ "title": "No messages",
9
+ "summary": "Two speech bubbles, one still typing. For conversations and assistants before the first message.",
10
+ "tags": [
11
+ "empty-state",
12
+ "chat",
13
+ "ai"
14
+ ],
15
+ "themeable": true,
16
+ "files": [
17
+ {
18
+ "path": "chat-empty.svg",
19
+ "role": "source",
20
+ "bytes": 1178,
21
+ "integrity": "sha256-05O1KM7c9gEETSSLRYmQKVhhP3Vzg9NsDU/ROCOH7oA="
22
+ },
23
+ {
24
+ "path": "chat-empty.tsx",
25
+ "role": "react",
26
+ "bytes": 2053,
27
+ "integrity": "sha256-2T65OESaI5widhosExy9CFQcBps17nq7rjkELdNtNSY="
28
+ }
29
+ ]
30
+ },
31
+ {
32
+ "id": "empty-calendar",
33
+ "kind": "2d",
34
+ "title": "Empty calendar",
35
+ "summary": "A calendar page with one day picked. For schedules and bookings with nothing planned.",
36
+ "tags": [
37
+ "empty-state",
38
+ "calendar",
39
+ "scheduling"
40
+ ],
41
+ "themeable": true,
42
+ "files": [
43
+ {
44
+ "path": "empty-calendar.svg",
45
+ "role": "source",
46
+ "bytes": 2065,
47
+ "integrity": "sha256-cznZC+Rb+M0YwzRxAzrEPrexpNQoEOpYquSeOyu5t6c="
48
+ },
49
+ {
50
+ "path": "empty-calendar.tsx",
51
+ "role": "react",
52
+ "bytes": 3076,
53
+ "integrity": "sha256-Y3cKOYK124hl2XIEkOSwND/Wz/9waVSvWRKFs0RnknQ="
54
+ }
55
+ ]
56
+ },
57
+ {
58
+ "id": "empty-cart",
59
+ "kind": "2d",
60
+ "title": "Empty cart",
61
+ "summary": "A shopping cart with nothing in it. For carts, baskets and wish lists.",
62
+ "tags": [
63
+ "empty-state",
64
+ "commerce",
65
+ "cart"
66
+ ],
67
+ "themeable": true,
68
+ "files": [
69
+ {
70
+ "path": "empty-cart.svg",
71
+ "role": "source",
72
+ "bytes": 1196,
73
+ "integrity": "sha256-N6wspN+sbKsANvtN5iZnIpULyu5bY3/XZIkNh3/8hOY="
74
+ },
75
+ {
76
+ "path": "empty-cart.tsx",
77
+ "role": "react",
78
+ "bytes": 2052,
79
+ "integrity": "sha256-jgubjdRwZ9DnNxZK6Hm26dIIzTh+ogkfmQRGziPSeuY="
80
+ }
81
+ ]
82
+ },
83
+ {
84
+ "id": "empty-folder",
85
+ "kind": "2d",
86
+ "title": "Empty folder",
87
+ "summary": "An open folder waiting for its first file. For projects, drives and collections.",
88
+ "tags": [
89
+ "empty-state",
90
+ "files",
91
+ "projects"
92
+ ],
93
+ "themeable": true,
94
+ "files": [
95
+ {
96
+ "path": "empty-folder.svg",
97
+ "role": "source",
98
+ "bytes": 961,
99
+ "integrity": "sha256-3UpQpzsG6dTlczi5f/oFvYHanoE3y3NhzpLG4vn7zWY="
100
+ },
101
+ {
102
+ "path": "empty-folder.tsx",
103
+ "role": "react",
104
+ "bytes": 1817,
105
+ "integrity": "sha256-G/sYUo3LF0XIU8rG37uEKHKcjqcDRfjtVx+dfzQd3m8="
106
+ }
107
+ ]
108
+ },
109
+ {
110
+ "id": "empty-inbox",
111
+ "kind": "2d",
112
+ "title": "Empty inbox",
113
+ "summary": "An open tray with a letter hovering above it. For an inbox or feed with nothing new.",
114
+ "tags": [
115
+ "empty-state",
116
+ "mail",
117
+ "inbox"
118
+ ],
119
+ "themeable": true,
120
+ "files": [
121
+ {
122
+ "path": "empty-inbox.svg",
123
+ "role": "source",
124
+ "bytes": 1359,
125
+ "integrity": "sha256-MneexxesVlfLiMXrBGeP5uxq/4KnJE+AtXoYCeD2FEs="
126
+ },
127
+ {
128
+ "path": "empty-inbox.tsx",
129
+ "role": "react",
130
+ "bytes": 2234,
131
+ "integrity": "sha256-f0vYKRpqhCzF6E7wgOXB9XUMqEJjTRJO+g37f9fwqBE="
132
+ }
133
+ ]
134
+ },
135
+ {
136
+ "id": "integrations",
137
+ "kind": "2d",
138
+ "title": "Integrations",
139
+ "summary": "Two tiles joined by a line. For connecting apps, APIs and first-run setup.",
140
+ "tags": [
141
+ "onboarding",
142
+ "integrations",
143
+ "workflow"
144
+ ],
145
+ "themeable": true,
146
+ "files": [
147
+ {
148
+ "path": "integrations.svg",
149
+ "role": "source",
150
+ "bytes": 1446,
151
+ "integrity": "sha256-89lYJP+281uv0mo2kvjpmT+EQhafRAsmEQNFn8GJoy4="
152
+ },
153
+ {
154
+ "path": "integrations.tsx",
155
+ "role": "react",
156
+ "bytes": 2339,
157
+ "integrity": "sha256-Y0XlA0UYv7WRZwhyn7JyT4nKe4aErBRKiy71Yee2WTs="
158
+ }
159
+ ]
160
+ },
161
+ {
162
+ "id": "no-results",
163
+ "kind": "2d",
164
+ "title": "No results",
165
+ "summary": "A magnifier over an empty list. For searches and filters that match nothing.",
166
+ "tags": [
167
+ "empty-state",
168
+ "search",
169
+ "filter"
170
+ ],
171
+ "themeable": true,
172
+ "files": [
173
+ {
174
+ "path": "no-results.svg",
175
+ "role": "source",
176
+ "bytes": 1436,
177
+ "integrity": "sha256-rtyNnxYnr8K9xn/W6wupyhEzLv4+9CQY6//YjTaEnUI="
178
+ },
179
+ {
180
+ "path": "no-results.tsx",
181
+ "role": "react",
182
+ "bytes": 2330,
183
+ "integrity": "sha256-lCjEqxAhq1oisb9luFl8Poz6GBY0o4SOTd/6+SliWYM="
184
+ }
185
+ ]
186
+ },
187
+ {
188
+ "id": "not-found",
189
+ "kind": "2d",
190
+ "title": "Not found",
191
+ "summary": "A folded map with a pin beside the path. For 404 pages and missing records.",
192
+ "tags": [
193
+ "error",
194
+ "404",
195
+ "navigation"
196
+ ],
197
+ "themeable": true,
198
+ "files": [
199
+ {
200
+ "path": "not-found.svg",
201
+ "role": "source",
202
+ "bytes": 1049,
203
+ "integrity": "sha256-r0hmYKPp4lqkJyliyIKunk6joN6yqzjHargCMxUCVAk="
204
+ },
205
+ {
206
+ "path": "not-found.tsx",
207
+ "role": "react",
208
+ "bytes": 1889,
209
+ "integrity": "sha256-mPasK7vn4NlBt7QXGj1E+vhjucx+eV8JhJuPBbLekrY="
210
+ }
211
+ ]
212
+ },
213
+ {
214
+ "id": "offline",
215
+ "kind": "2d",
216
+ "title": "Offline",
217
+ "summary": "A signal with a broken arc. For lost connections and sync paused.",
218
+ "tags": [
219
+ "error",
220
+ "network",
221
+ "offline"
222
+ ],
223
+ "themeable": true,
224
+ "files": [
225
+ {
226
+ "path": "offline.svg",
227
+ "role": "source",
228
+ "bytes": 1076,
229
+ "integrity": "sha256-jPJMKLzp8AIbFRJk/XXDMqIErvnWrYzeO/1bkuHtUYM="
230
+ },
231
+ {
232
+ "path": "offline.tsx",
233
+ "role": "react",
234
+ "bytes": 1895,
235
+ "integrity": "sha256-NDyHpLTig5lcNA+2e/AyEkSk++1pFKT6hrAfP7/1LFU="
236
+ }
237
+ ]
238
+ },
239
+ {
240
+ "id": "secure",
241
+ "kind": "2d",
242
+ "title": "Secure",
243
+ "summary": "A shield holding a padlock. For security settings, privacy and verified accounts.",
244
+ "tags": [
245
+ "security",
246
+ "privacy",
247
+ "auth"
248
+ ],
249
+ "themeable": true,
250
+ "files": [
251
+ {
252
+ "path": "secure.svg",
253
+ "role": "source",
254
+ "bytes": 1157,
255
+ "integrity": "sha256-S7DfI9tITKPV9MpG3iVuPGlvxM1U6tC7DMb8gsBd/Sc="
256
+ },
257
+ {
258
+ "path": "secure.tsx",
259
+ "role": "react",
260
+ "bytes": 2003,
261
+ "integrity": "sha256-Aqs8ovnE6JkvOc/yCu+/CoCjkxXYIsUInNJsyv4zORw="
262
+ }
263
+ ]
264
+ },
265
+ {
266
+ "id": "success",
267
+ "kind": "2d",
268
+ "title": "Success",
269
+ "summary": "A check in a circle with a little confetti. For completed payments, sign-ups and saves.",
270
+ "tags": [
271
+ "success",
272
+ "confirmation",
273
+ "done"
274
+ ],
275
+ "themeable": true,
276
+ "files": [
277
+ {
278
+ "path": "success.svg",
279
+ "role": "source",
280
+ "bytes": 1249,
281
+ "integrity": "sha256-FH8FNIiTorXNtUoSs65z1dV+sdy0rTxT0T0KytHpm6c="
282
+ },
283
+ {
284
+ "path": "success.tsx",
285
+ "role": "react",
286
+ "bytes": 2144,
287
+ "integrity": "sha256-OLuX17yr/GLK7fKT2+KAQJPN1paz9bjNWFWi+zYAX5Y="
288
+ }
289
+ ]
290
+ },
291
+ {
292
+ "id": "upload",
293
+ "kind": "2d",
294
+ "title": "Upload",
295
+ "summary": "A cloud taking an arrow. For drop zones, imports and the first file.",
296
+ "tags": [
297
+ "upload",
298
+ "files",
299
+ "import"
300
+ ],
301
+ "themeable": true,
302
+ "files": [
303
+ {
304
+ "path": "upload.svg",
305
+ "role": "source",
306
+ "bytes": 932,
307
+ "integrity": "sha256-0NHK1mfA2SwiJhf1xXK8SxdHqQnxSoZh3t8uy6wTEtQ="
308
+ },
309
+ {
310
+ "path": "upload.tsx",
311
+ "role": "react",
312
+ "bytes": 1749,
313
+ "integrity": "sha256-6KlLF4kSQi4oZf923bPvET2CCgSzUYh+i0vvQmHNG8g="
314
+ }
315
+ ]
316
+ },
317
+ {
318
+ "id": "blocks",
319
+ "kind": "3d",
320
+ "title": "Building blocks",
321
+ "summary": "Three rounded blocks, stacked. For onboarding, empty workspaces and anything built piece by piece.",
322
+ "tags": [
323
+ "onboarding",
324
+ "empty-state",
325
+ "components"
326
+ ],
327
+ "themeable": true,
328
+ "files": [
329
+ {
330
+ "path": "blocks.glb",
331
+ "role": "source",
332
+ "bytes": 123736,
333
+ "integrity": "sha256-hTc1jHfDajmF6Gbhutm6tPiqGy1YScEe+zM4DA/4528="
334
+ },
335
+ {
336
+ "path": "blocks-poster.webp",
337
+ "role": "poster",
338
+ "bytes": 14018,
339
+ "integrity": "sha256-C2XC9bKHwG4OsvlE5Qfr8wU7eadZe1PpnUqNyB0Wsj0="
340
+ }
341
+ ]
342
+ },
343
+ {
344
+ "id": "chat",
345
+ "kind": "3d",
346
+ "title": "Chat bubble",
347
+ "summary": "A speech bubble with a typing indicator. Messages, assistants and support.",
348
+ "tags": [
349
+ "chat",
350
+ "ai",
351
+ "support"
352
+ ],
353
+ "themeable": true,
354
+ "files": [
355
+ {
356
+ "path": "chat.glb",
357
+ "role": "source",
358
+ "bytes": 83024,
359
+ "integrity": "sha256-W9+fEDcKZ+qK/i9VJ6L8YX7TSAlZDY/65X18whgsRKQ="
360
+ },
361
+ {
362
+ "path": "chat-poster.webp",
363
+ "role": "poster",
364
+ "bytes": 19110,
365
+ "integrity": "sha256-aCQGs7NFLzexJWfJyLzszKC870p/HiW3jp8lwpIIPYI="
366
+ }
367
+ ]
368
+ },
369
+ {
370
+ "id": "folder",
371
+ "kind": "3d",
372
+ "title": "Folder",
373
+ "summary": "An open folder with a sheet inside. Files, projects and empty collections.",
374
+ "tags": [
375
+ "files",
376
+ "empty-state",
377
+ "projects"
378
+ ],
379
+ "themeable": true,
380
+ "files": [
381
+ {
382
+ "path": "folder.glb",
383
+ "role": "source",
384
+ "bytes": 23248,
385
+ "integrity": "sha256-GAhcw2QvaAcREhWklL9d0UUjEz+ihLKMsPnAm8dwXWs="
386
+ },
387
+ {
388
+ "path": "folder-poster.webp",
389
+ "role": "poster",
390
+ "bytes": 15774,
391
+ "integrity": "sha256-XIpqD76YrUodQQpFRxDeRre6E3WrCoVgma+nkwxpK3g="
392
+ }
393
+ ]
394
+ },
395
+ {
396
+ "id": "gear",
397
+ "kind": "3d",
398
+ "title": "Gear",
399
+ "summary": "A bevelled gear on a metal hub. Settings, automation and anything that runs.",
400
+ "tags": [
401
+ "settings",
402
+ "automation",
403
+ "workflow"
404
+ ],
405
+ "themeable": true,
406
+ "files": [
407
+ {
408
+ "path": "gear.glb",
409
+ "role": "source",
410
+ "bytes": 90120,
411
+ "integrity": "sha256-ZAB8sC9zKtl91yziF9KsK94v80310Go414rfbTYTIBc="
412
+ },
413
+ {
414
+ "path": "gear-poster.webp",
415
+ "role": "poster",
416
+ "bytes": 25034,
417
+ "integrity": "sha256-h4ygoRhb6mduALZlbYCNsJk/sl6MhFJJeYhX4nzxNU8="
418
+ }
419
+ ]
420
+ },
421
+ {
422
+ "id": "layers",
423
+ "kind": "3d",
424
+ "title": "Layers",
425
+ "summary": "Three slabs, gently fanned. Tokens, themes, stacks and anything with levels.",
426
+ "tags": [
427
+ "theming",
428
+ "tokens",
429
+ "stack"
430
+ ],
431
+ "themeable": true,
432
+ "files": [
433
+ {
434
+ "path": "layers.glb",
435
+ "role": "source",
436
+ "bytes": 117840,
437
+ "integrity": "sha256-Jk6Sc/9+vjCIYfc8VCvDgdemoW2W68roRGZTA0iGCxI="
438
+ },
439
+ {
440
+ "path": "layers-poster.webp",
441
+ "role": "poster",
442
+ "bytes": 10430,
443
+ "integrity": "sha256-17LDN5pNVHVXqHIKqNF2LjE0x+EzsUUjbflQaSeOx8Q="
444
+ }
445
+ ]
446
+ },
447
+ {
448
+ "id": "orb",
449
+ "kind": "3d",
450
+ "title": "Orb",
451
+ "summary": "A sphere in a tilted ring. AI, voice, and anything that listens or thinks.",
452
+ "tags": [
453
+ "ai",
454
+ "voice",
455
+ "status"
456
+ ],
457
+ "themeable": true,
458
+ "files": [
459
+ {
460
+ "path": "orb.glb",
461
+ "role": "source",
462
+ "bytes": 139156,
463
+ "integrity": "sha256-GSHJxonm2LffAc1RMwRYtGyHNJ2TumqfrV4e/o4f/zs="
464
+ },
465
+ {
466
+ "path": "orb-poster.webp",
467
+ "role": "poster",
468
+ "bytes": 22332,
469
+ "integrity": "sha256-oDj6nZrzKB0u4MOcVEWRDgmtAb4FpSeFYx1CGxZ7U4s="
470
+ }
471
+ ]
472
+ },
473
+ {
474
+ "id": "package",
475
+ "kind": "3d",
476
+ "title": "Package",
477
+ "summary": "A taped parcel. Orders, shipping, installs and deliveries.",
478
+ "tags": [
479
+ "commerce",
480
+ "shipping",
481
+ "install"
482
+ ],
483
+ "themeable": true,
484
+ "files": [
485
+ {
486
+ "path": "package.glb",
487
+ "role": "source",
488
+ "bytes": 63172,
489
+ "integrity": "sha256-2RcjObZqHS0+mz1XwwX2Xe+Gx7ce5GcER8WXBoxfFLw="
490
+ },
491
+ {
492
+ "path": "package-poster.webp",
493
+ "role": "poster",
494
+ "bytes": 15542,
495
+ "integrity": "sha256-MEjWW6gOTGCZPTwg48br8tgGwSXxx5dBBdjTgDZyyLo="
496
+ }
497
+ ]
498
+ },
499
+ {
500
+ "id": "padlock",
501
+ "kind": "3d",
502
+ "title": "Padlock",
503
+ "summary": "A closed padlock with a metal shackle. Sign-in, locked content and licences.",
504
+ "tags": [
505
+ "auth",
506
+ "security",
507
+ "pro"
508
+ ],
509
+ "themeable": true,
510
+ "files": [
511
+ {
512
+ "path": "padlock.glb",
513
+ "role": "source",
514
+ "bytes": 135232,
515
+ "integrity": "sha256-+kD9l10nq/4SVn0+8AqVsqJJrnsVEAQYcz5GubrWEFQ="
516
+ },
517
+ {
518
+ "path": "padlock-poster.webp",
519
+ "role": "poster",
520
+ "bytes": 16918,
521
+ "integrity": "sha256-js5IRav1fho9ktiqDXUWE8Qvvg8rMCMchTsJ/IcNuYQ="
522
+ }
523
+ ]
524
+ },
525
+ {
526
+ "id": "rocket",
527
+ "kind": "3d",
528
+ "title": "Rocket",
529
+ "summary": "A small rocket with three fins. Launches, upgrades and getting started.",
530
+ "tags": [
531
+ "launch",
532
+ "onboarding",
533
+ "growth"
534
+ ],
535
+ "themeable": true,
536
+ "files": [
537
+ {
538
+ "path": "rocket.glb",
539
+ "role": "source",
540
+ "bytes": 133184,
541
+ "integrity": "sha256-c2dVDhZ0kfms6osU9FB4ErRkrvUmN54pmn6/uJMGjL8="
542
+ },
543
+ {
544
+ "path": "rocket-poster.webp",
545
+ "role": "poster",
546
+ "bytes": 13722,
547
+ "integrity": "sha256-mjVFGM9PKNfWeenNn216kd2yqb6Fe9J3rQX7W9NJr7M="
548
+ }
549
+ ]
550
+ },
551
+ {
552
+ "id": "shield",
553
+ "kind": "3d",
554
+ "title": "Shield",
555
+ "summary": "A shield carrying a check. Security, privacy and verified states.",
556
+ "tags": [
557
+ "security",
558
+ "privacy",
559
+ "success"
560
+ ],
561
+ "themeable": true,
562
+ "files": [
563
+ {
564
+ "path": "shield.glb",
565
+ "role": "source",
566
+ "bytes": 41784,
567
+ "integrity": "sha256-6f15gHhncGozTpcrwmG2U0KsEKw7K9uz6cgOfoUUsUA="
568
+ },
569
+ {
570
+ "path": "shield-poster.webp",
571
+ "role": "poster",
572
+ "bytes": 18298,
573
+ "integrity": "sha256-xtBgLYPOty5299iL7jCjV8qdsC5oVKi/LnYvubBpZMw="
574
+ }
575
+ ]
576
+ }
577
+ ]
578
+ }