@lumerahq/ui 0.7.7 → 0.8.0-dev.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 (38) hide show
  1. package/dist/RecordSheet-CI_6QC-a.js +38151 -0
  2. package/dist/{api-DXN1wKkz.js → api-Da1IIWDG.js} +1 -1
  3. package/dist/{automations-OzVpAuzv.js → automations-BEBG7FqJ.js} +118 -24
  4. package/dist/components/agent-chat/AgentChat.d.ts +3 -0
  5. package/dist/components/agent-chat/AgentChat.d.ts.map +1 -0
  6. package/dist/components/agent-chat/index.d.ts +5 -0
  7. package/dist/components/agent-chat/index.d.ts.map +1 -0
  8. package/dist/components/agent-chat/lumera-agent-transport.d.ts +20 -0
  9. package/dist/components/agent-chat/lumera-agent-transport.d.ts.map +1 -0
  10. package/dist/components/agent-chat/types.d.ts +376 -0
  11. package/dist/components/agent-chat/types.d.ts.map +1 -0
  12. package/dist/components/index.d.ts +2 -0
  13. package/dist/components/index.d.ts.map +1 -1
  14. package/dist/components/index.js +8 -6
  15. package/dist/components/ui/button.d.ts +1 -1
  16. package/dist/{formatters-Baj7FkeG.js → formatters-D4T821Dv.js} +2 -1
  17. package/dist/highlighted-body-OFNGDK62-38mi922Z.js +19 -0
  18. package/dist/hooks/index.d.ts +1 -0
  19. package/dist/hooks/index.d.ts.map +1 -1
  20. package/dist/hooks/index.js +6 -5
  21. package/dist/hooks/use-agent-chat.d.ts +47 -0
  22. package/dist/hooks/use-agent-chat.d.ts.map +1 -0
  23. package/dist/index.js +49 -45
  24. package/dist/lib/bridge.d.ts +46 -0
  25. package/dist/lib/bridge.d.ts.map +1 -1
  26. package/dist/lib/index.d.ts +1 -1
  27. package/dist/lib/index.d.ts.map +1 -1
  28. package/dist/lib/index.js +27 -26
  29. package/dist/logo.svg +15 -0
  30. package/dist/mermaid-GHXKKRXX-CdpO_nzu.js +4 -0
  31. package/dist/ui.css +254 -2
  32. package/dist/use-automation-run-rhYZZhj7.js +746 -0
  33. package/dist/{use-sql-table-DSt5nL70.js → use-sql-table-1EiZ9qCa.js} +2 -2
  34. package/package.json +2 -1
  35. package/dist/RecordSheet-M1ux7vW7.js +0 -12241
  36. package/dist/logo.png +0 -0
  37. package/dist/lumera-logo.png +0 -0
  38. package/dist/use-automation-run-hQ7DMZ8f.js +0 -134
package/dist/ui.css CHANGED
@@ -5,6 +5,11 @@
5
5
  --tw-translate-x: 0;
6
6
  --tw-translate-y: 0;
7
7
  --tw-translate-z: 0;
8
+ --tw-rotate-x: initial;
9
+ --tw-rotate-y: initial;
10
+ --tw-rotate-z: initial;
11
+ --tw-skew-x: initial;
12
+ --tw-skew-y: initial;
8
13
  --tw-space-y-reverse: 0;
9
14
  --tw-border-style: solid;
10
15
  --tw-leading: initial;
@@ -442,6 +447,10 @@
442
447
  position: relative;
443
448
  }
444
449
 
450
+ .static {
451
+ position: static;
452
+ }
453
+
445
454
  .inset-0 {
446
455
  inset: calc(var(--spacing) * 0);
447
456
  }
@@ -470,6 +479,10 @@
470
479
  top: calc(var(--spacing) * 4);
471
480
  }
472
481
 
482
+ .right-0 {
483
+ right: calc(var(--spacing) * 0);
484
+ }
485
+
473
486
  .right-1 {
474
487
  right: calc(var(--spacing) * 1);
475
488
  }
@@ -490,6 +503,10 @@
490
503
  bottom: calc(var(--spacing) * 0);
491
504
  }
492
505
 
506
+ .left-0 {
507
+ left: calc(var(--spacing) * 0);
508
+ }
509
+
493
510
  .left-1\/2 {
494
511
  left: 50%;
495
512
  }
@@ -558,6 +575,14 @@
558
575
  margin-block: calc(var(--spacing) * 1.5);
559
576
  }
560
577
 
578
+ .mt-0\.5 {
579
+ margin-top: calc(var(--spacing) * .5);
580
+ }
581
+
582
+ .mt-1 {
583
+ margin-top: calc(var(--spacing) * 1);
584
+ }
585
+
561
586
  .mt-2 {
562
587
  margin-top: calc(var(--spacing) * 2);
563
588
  }
@@ -594,6 +619,10 @@
594
619
  margin-bottom: calc(var(--spacing) * 3);
595
620
  }
596
621
 
622
+ .mb-4 {
623
+ margin-bottom: calc(var(--spacing) * 4);
624
+ }
625
+
597
626
  .-ml-1 {
598
627
  margin-left: calc(var(--spacing) * -1);
599
628
  }
@@ -676,6 +705,16 @@
676
705
  height: calc(var(--spacing) * 2.5);
677
706
  }
678
707
 
708
+ .size-3 {
709
+ width: calc(var(--spacing) * 3);
710
+ height: calc(var(--spacing) * 3);
711
+ }
712
+
713
+ .size-3\.5 {
714
+ width: calc(var(--spacing) * 3.5);
715
+ height: calc(var(--spacing) * 3.5);
716
+ }
717
+
679
718
  .size-4 {
680
719
  width: calc(var(--spacing) * 4);
681
720
  height: calc(var(--spacing) * 4);
@@ -686,6 +725,11 @@
686
725
  height: calc(var(--spacing) * 6);
687
726
  }
688
727
 
728
+ .size-7 {
729
+ width: calc(var(--spacing) * 7);
730
+ height: calc(var(--spacing) * 7);
731
+ }
732
+
689
733
  .size-8 {
690
734
  width: calc(var(--spacing) * 8);
691
735
  height: calc(var(--spacing) * 8);
@@ -755,6 +799,10 @@
755
799
  height: calc(var(--spacing) * 24);
756
800
  }
757
801
 
802
+ .h-\[720px\] {
803
+ height: 720px;
804
+ }
805
+
758
806
  .h-\[calc\(--spacing\(5\.5\)\)\] {
759
807
  height: calc(calc(var(--spacing) * 5.5));
760
808
  }
@@ -783,10 +831,22 @@
783
831
  max-height: calc(var(--spacing) * 40);
784
832
  }
785
833
 
834
+ .max-h-48 {
835
+ max-height: calc(var(--spacing) * 48);
836
+ }
837
+
838
+ .max-h-56 {
839
+ max-height: calc(var(--spacing) * 56);
840
+ }
841
+
786
842
  .max-h-60 {
787
843
  max-height: calc(var(--spacing) * 60);
788
844
  }
789
845
 
846
+ .max-h-\[calc\(100vh-2rem\)\] {
847
+ max-height: calc(100vh - 2rem);
848
+ }
849
+
790
850
  .max-h-\[min\(calc\(--spacing\(72\)---spacing\(9\)\)\,calc\(var\(--available-height\)---spacing\(9\)\)\)\] {
791
851
  max-height: min(calc(calc(var(--spacing) * 72) - calc(var(--spacing) * 9)), calc(var(--available-height) - calc(var(--spacing) * 9)));
792
852
  }
@@ -799,10 +859,22 @@
799
859
  min-height: calc(var(--spacing) * 9);
800
860
  }
801
861
 
862
+ .min-h-10 {
863
+ min-height: calc(var(--spacing) * 10);
864
+ }
865
+
802
866
  .min-h-16 {
803
867
  min-height: calc(var(--spacing) * 16);
804
868
  }
805
869
 
870
+ .min-h-64 {
871
+ min-height: calc(var(--spacing) * 64);
872
+ }
873
+
874
+ .min-h-\[360px\] {
875
+ min-height: 360px;
876
+ }
877
+
806
878
  .min-h-screen {
807
879
  min-height: 100vh;
808
880
  }
@@ -819,6 +891,10 @@
819
891
  width: var(--sidebar-width);
820
892
  }
821
893
 
894
+ .w-2 {
895
+ width: calc(var(--spacing) * 2);
896
+ }
897
+
822
898
  .w-3 {
823
899
  width: calc(var(--spacing) * 3);
824
900
  }
@@ -879,6 +955,14 @@
879
955
  max-width: var(--container-5xl);
880
956
  }
881
957
 
958
+ .max-w-\[82\%\] {
959
+ max-width: 82%;
960
+ }
961
+
962
+ .max-w-\[88\%\] {
963
+ max-width: 88%;
964
+ }
965
+
882
966
  .max-w-lg {
883
967
  max-width: var(--container-lg);
884
968
  }
@@ -887,6 +971,10 @@
887
971
  max-width: var(--container-md);
888
972
  }
889
973
 
974
+ .max-w-none {
975
+ max-width: none;
976
+ }
977
+
890
978
  .max-w-sm {
891
979
  max-width: var(--container-sm);
892
980
  }
@@ -964,6 +1052,10 @@
964
1052
  rotate: 45deg;
965
1053
  }
966
1054
 
1055
+ .transform {
1056
+ transform: var(--tw-rotate-x, ) var(--tw-rotate-y, ) var(--tw-rotate-z, ) var(--tw-skew-x, ) var(--tw-skew-y, );
1057
+ }
1058
+
967
1059
  .animate-pulse {
968
1060
  animation: var(--animate-pulse);
969
1061
  }
@@ -972,6 +1064,10 @@
972
1064
  animation: var(--animate-spin);
973
1065
  }
974
1066
 
1067
+ .cursor-col-resize {
1068
+ cursor: col-resize;
1069
+ }
1070
+
975
1071
  .cursor-default {
976
1072
  cursor: default;
977
1073
  }
@@ -984,6 +1080,10 @@
984
1080
  cursor: text;
985
1081
  }
986
1082
 
1083
+ .touch-none {
1084
+ touch-action: none;
1085
+ }
1086
+
987
1087
  .resize-none {
988
1088
  resize: none;
989
1089
  }
@@ -1000,6 +1100,10 @@
1000
1100
  list-style-type: disc;
1001
1101
  }
1002
1102
 
1103
+ .list-none {
1104
+ list-style-type: none;
1105
+ }
1106
+
1003
1107
  .auto-rows-min {
1004
1108
  grid-auto-rows: min-content;
1005
1109
  }
@@ -1040,6 +1144,10 @@
1040
1144
  align-items: center;
1041
1145
  }
1042
1146
 
1147
+ .items-end {
1148
+ align-items: flex-end;
1149
+ }
1150
+
1043
1151
  .items-start {
1044
1152
  align-items: flex-start;
1045
1153
  }
@@ -1112,12 +1220,24 @@
1112
1220
  margin-block-end: calc(calc(var(--spacing) * 2) * calc(1 - var(--tw-space-y-reverse)));
1113
1221
  }
1114
1222
 
1223
+ :where(.space-y-3 > :not(:last-child)) {
1224
+ --tw-space-y-reverse: 0;
1225
+ margin-block-start: calc(calc(var(--spacing) * 3) * var(--tw-space-y-reverse));
1226
+ margin-block-end: calc(calc(var(--spacing) * 3) * calc(1 - var(--tw-space-y-reverse)));
1227
+ }
1228
+
1115
1229
  :where(.space-y-4 > :not(:last-child)) {
1116
1230
  --tw-space-y-reverse: 0;
1117
1231
  margin-block-start: calc(calc(var(--spacing) * 4) * var(--tw-space-y-reverse));
1118
1232
  margin-block-end: calc(calc(var(--spacing) * 4) * calc(1 - var(--tw-space-y-reverse)));
1119
1233
  }
1120
1234
 
1235
+ :where(.space-y-5 > :not(:last-child)) {
1236
+ --tw-space-y-reverse: 0;
1237
+ margin-block-start: calc(calc(var(--spacing) * 5) * var(--tw-space-y-reverse));
1238
+ margin-block-end: calc(calc(var(--spacing) * 5) * calc(1 - var(--tw-space-y-reverse)));
1239
+ }
1240
+
1121
1241
  :where(.space-y-6 > :not(:last-child)) {
1122
1242
  --tw-space-y-reverse: 0;
1123
1243
  margin-block-start: calc(calc(var(--spacing) * 6) * var(--tw-space-y-reverse));
@@ -1136,6 +1256,12 @@
1136
1256
  justify-self: flex-end;
1137
1257
  }
1138
1258
 
1259
+ .truncate {
1260
+ text-overflow: ellipsis;
1261
+ white-space: nowrap;
1262
+ overflow: hidden;
1263
+ }
1264
+
1139
1265
  .overflow-auto {
1140
1266
  overflow: auto;
1141
1267
  }
@@ -1244,6 +1370,26 @@
1244
1370
  border-color: var(--border);
1245
1371
  }
1246
1372
 
1373
+ .border-destructive\/30 {
1374
+ border-color: var(--destructive);
1375
+ }
1376
+
1377
+ @supports (color: color-mix(in lab, red, red)) {
1378
+ .border-destructive\/30 {
1379
+ border-color: color-mix(in oklab, var(--destructive) 30%, transparent);
1380
+ }
1381
+ }
1382
+
1383
+ .border-destructive\/40 {
1384
+ border-color: var(--destructive);
1385
+ }
1386
+
1387
+ @supports (color: color-mix(in lab, red, red)) {
1388
+ .border-destructive\/40 {
1389
+ border-color: color-mix(in oklab, var(--destructive) 40%, transparent);
1390
+ }
1391
+ }
1392
+
1247
1393
  .border-destructive\/50 {
1248
1394
  border-color: var(--destructive);
1249
1395
  }
@@ -1254,6 +1400,10 @@
1254
1400
  }
1255
1401
  }
1256
1402
 
1403
+ .border-input {
1404
+ border-color: var(--input);
1405
+ }
1406
+
1257
1407
  .border-red-200 {
1258
1408
  border-color: var(--color-red-200);
1259
1409
  }
@@ -1318,7 +1468,7 @@
1318
1468
  background-color: var(--card);
1319
1469
  }
1320
1470
 
1321
- .bg-destructive\/10 {
1471
+ .bg-destructive, .bg-destructive\/10 {
1322
1472
  background-color: var(--destructive);
1323
1473
  }
1324
1474
 
@@ -1352,7 +1502,17 @@
1352
1502
  }
1353
1503
  }
1354
1504
 
1355
- .bg-muted, .bg-muted\/40 {
1505
+ .bg-muted, .bg-muted\/30 {
1506
+ background-color: var(--muted);
1507
+ }
1508
+
1509
+ @supports (color: color-mix(in lab, red, red)) {
1510
+ .bg-muted\/30 {
1511
+ background-color: color-mix(in oklab, var(--muted) 30%, transparent);
1512
+ }
1513
+ }
1514
+
1515
+ .bg-muted\/40 {
1356
1516
  background-color: var(--muted);
1357
1517
  }
1358
1518
 
@@ -1512,6 +1672,10 @@
1512
1672
  padding-block: calc(var(--spacing) * 3);
1513
1673
  }
1514
1674
 
1675
+ .py-4 {
1676
+ padding-block: calc(var(--spacing) * 4);
1677
+ }
1678
+
1515
1679
  .py-6 {
1516
1680
  padding-block: calc(var(--spacing) * 6);
1517
1681
  }
@@ -1614,6 +1778,10 @@
1614
1778
  line-height: var(--tw-leading, var(--text-xs--line-height));
1615
1779
  }
1616
1780
 
1781
+ .text-\[10px\] {
1782
+ font-size: 10px;
1783
+ }
1784
+
1617
1785
  .text-\[11px\] {
1618
1786
  font-size: 11px;
1619
1787
  }
@@ -1695,6 +1863,10 @@
1695
1863
  color: var(--destructive);
1696
1864
  }
1697
1865
 
1866
+ .text-destructive-foreground {
1867
+ color: var(--destructive-foreground);
1868
+ }
1869
+
1698
1870
  .text-emerald-800 {
1699
1871
  color: var(--color-emerald-800);
1700
1872
  }
@@ -1782,6 +1954,10 @@
1782
1954
  opacity: .5;
1783
1955
  }
1784
1956
 
1957
+ .opacity-80 {
1958
+ opacity: .8;
1959
+ }
1960
+
1785
1961
  .mix-blend-color {
1786
1962
  mix-blend-mode: color;
1787
1963
  }
@@ -2237,6 +2413,11 @@
2237
2413
  border-color: var(--ring);
2238
2414
  }
2239
2415
 
2416
+ .focus-within\:ring-2:focus-within {
2417
+ --tw-ring-shadow: var(--tw-ring-inset, ) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
2418
+ box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
2419
+ }
2420
+
2240
2421
  .focus-within\:ring-3:focus-within {
2241
2422
  --tw-ring-shadow: var(--tw-ring-inset, ) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
2242
2423
  box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
@@ -2252,7 +2433,27 @@
2252
2433
  }
2253
2434
  }
2254
2435
 
2436
+ .focus-within\:ring-ring\/40:focus-within {
2437
+ --tw-ring-color: var(--ring);
2438
+ }
2439
+
2440
+ @supports (color: color-mix(in lab, red, red)) {
2441
+ .focus-within\:ring-ring\/40:focus-within {
2442
+ --tw-ring-color: color-mix(in oklab, var(--ring) 40%, transparent);
2443
+ }
2444
+ }
2445
+
2255
2446
  @media (hover: hover) {
2447
+ .hover\:bg-destructive\/10:hover {
2448
+ background-color: var(--destructive);
2449
+ }
2450
+
2451
+ @supports (color: color-mix(in lab, red, red)) {
2452
+ .hover\:bg-destructive\/10:hover {
2453
+ background-color: color-mix(in oklab, var(--destructive) 10%, transparent);
2454
+ }
2455
+ }
2456
+
2256
2457
  .hover\:bg-destructive\/20:hover {
2257
2458
  background-color: var(--destructive);
2258
2459
  }
@@ -2273,6 +2474,16 @@
2273
2474
  }
2274
2475
  }
2275
2476
 
2477
+ .hover\:bg-primary\/20:hover {
2478
+ background-color: var(--primary);
2479
+ }
2480
+
2481
+ @supports (color: color-mix(in lab, red, red)) {
2482
+ .hover\:bg-primary\/20:hover {
2483
+ background-color: color-mix(in oklab, var(--primary) 20%, transparent);
2484
+ }
2485
+ }
2486
+
2276
2487
  .hover\:bg-primary\/80:hover {
2277
2488
  background-color: var(--primary);
2278
2489
  }
@@ -2317,6 +2528,10 @@
2317
2528
  text-decoration-line: underline;
2318
2529
  }
2319
2530
 
2531
+ .hover\:opacity-90:hover {
2532
+ opacity: .9;
2533
+ }
2534
+
2320
2535
  .hover\:opacity-100:hover {
2321
2536
  opacity: 1;
2322
2537
  }
@@ -2428,6 +2643,10 @@
2428
2643
  opacity: .5;
2429
2644
  }
2430
2645
 
2646
+ .disabled\:opacity-60:disabled {
2647
+ opacity: .6;
2648
+ }
2649
+
2431
2650
  :where([data-side="left"]) .in-data-\[side\=left\]\:cursor-w-resize {
2432
2651
  cursor: w-resize;
2433
2652
  }
@@ -3708,6 +3927,14 @@
3708
3927
  height: calc(var(--spacing) * 8);
3709
3928
  }
3710
3929
 
3930
+ .\[\&\>\*\:first-child\]\:mt-0 > :first-child {
3931
+ margin-top: calc(var(--spacing) * 0);
3932
+ }
3933
+
3934
+ .\[\&\>\*\:last-child\]\:mb-0 > :last-child {
3935
+ margin-bottom: calc(var(--spacing) * 0);
3936
+ }
3937
+
3711
3938
  .\[\&\>\.sr-only\]\:w-auto > .sr-only {
3712
3939
  width: auto;
3713
3940
  }
@@ -4092,6 +4319,31 @@
4092
4319
  initial-value: 0;
4093
4320
  }
4094
4321
 
4322
+ @property --tw-rotate-x {
4323
+ syntax: "*";
4324
+ inherits: false
4325
+ }
4326
+
4327
+ @property --tw-rotate-y {
4328
+ syntax: "*";
4329
+ inherits: false
4330
+ }
4331
+
4332
+ @property --tw-rotate-z {
4333
+ syntax: "*";
4334
+ inherits: false
4335
+ }
4336
+
4337
+ @property --tw-skew-x {
4338
+ syntax: "*";
4339
+ inherits: false
4340
+ }
4341
+
4342
+ @property --tw-skew-y {
4343
+ syntax: "*";
4344
+ inherits: false
4345
+ }
4346
+
4095
4347
  @property --tw-space-y-reverse {
4096
4348
  syntax: "*";
4097
4349
  inherits: false;