@opengeni/react 3.7.0-canary.7 → 3.8.0-canary.1
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/README.md +6 -0
- package/dist/chat.js +1 -1
- package/dist/chunk-5M6VTFJ5.js +171 -0
- package/dist/chunk-5M6VTFJ5.js.map +1 -0
- package/dist/{chunk-IOLVN74D.js → chunk-6J56T3MG.js} +15 -1
- package/dist/chunk-6J56T3MG.js.map +1 -0
- package/dist/{chunk-BQGIXRKV.js → chunk-7BWFU6H4.js} +22 -4
- package/dist/chunk-7BWFU6H4.js.map +1 -0
- package/dist/{chunk-3HIF5IFC.js → chunk-7W6PVVTK.js} +63 -18
- package/dist/chunk-7W6PVVTK.js.map +1 -0
- package/dist/{chunk-ZFOFY5ST.js → chunk-NLTS7JHI.js} +16 -31
- package/dist/chunk-NLTS7JHI.js.map +1 -0
- package/dist/chunk-NOSYBS2D.js +208 -0
- package/dist/chunk-NOSYBS2D.js.map +1 -0
- package/dist/{chunk-F2CFHN3Y.js → chunk-YAIPFO5D.js} +2 -1
- package/dist/chunk-YAIPFO5D.js.map +1 -0
- package/dist/chunk-YBM6CQRU.js +292 -0
- package/dist/chunk-YBM6CQRU.js.map +1 -0
- package/dist/chunk-ZYRGEKWS.js +216 -0
- package/dist/chunk-ZYRGEKWS.js.map +1 -0
- package/dist/components/composer.d.ts +4 -2
- package/dist/components/message-timeline.d.ts +9 -2
- package/dist/components/timeline-annotation-chrome.d.ts +25 -0
- package/dist/components/timeline-annotation-layout.d.ts +42 -0
- package/dist/components/timeline-annotation-markers.d.ts +8 -0
- package/dist/components/timeline-annotation-reveal-context.d.ts +4 -0
- package/dist/components/timeline-annotation-shared.d.ts +31 -0
- package/dist/components/timeline-annotations-dialog.d.ts +1 -1
- package/dist/components/timeline-annotations.d.ts +8 -2
- package/dist/composer.js +2 -2
- package/dist/hooks/use-composer.d.ts +2 -0
- package/dist/index.js +9 -6
- package/dist/index.js.map +1 -1
- package/dist/interaction.js +6 -6
- package/dist/machines.js +1 -1
- package/dist/{queue-surface-implementation-XL2A6PBM.js → queue-surface-implementation-LK3S4BIW.js} +5 -2
- package/dist/{queue-surface-implementation-XL2A6PBM.js.map → queue-surface-implementation-LK3S4BIW.js.map} +1 -1
- package/dist/session-ui.js +8 -5
- package/dist/session.js +1 -1
- package/dist/timeline-annotation-markers-DRSTLEM6.js +165 -0
- package/dist/timeline-annotation-markers-DRSTLEM6.js.map +1 -0
- package/dist/timeline-annotation-selection-IHLUGVND.js +236 -0
- package/dist/timeline-annotation-selection-IHLUGVND.js.map +1 -0
- package/dist/timeline-annotations-dialog-6Q53N5FG.js +262 -0
- package/dist/timeline-annotations-dialog-6Q53N5FG.js.map +1 -0
- package/package.json +2 -2
- package/src/components/chat-composer.tsx +5 -2
- package/src/components/composer.tsx +40 -5
- package/src/components/copy-button.tsx +1 -0
- package/src/components/machines-dashboard.tsx +1 -16
- package/src/components/message-timeline.tsx +357 -297
- package/src/components/timeline-annotation-chrome.tsx +183 -0
- package/src/components/timeline-annotation-layout.ts +268 -0
- package/src/components/timeline-annotation-markers.tsx +185 -0
- package/src/components/timeline-annotation-reveal-context.ts +9 -0
- package/src/components/timeline-annotation-selection.tsx +99 -54
- package/src/components/timeline-annotation-shared.ts +245 -0
- package/src/components/timeline-annotations-dialog.tsx +172 -128
- package/src/components/timeline-annotations.tsx +178 -45
- package/src/hooks/use-composer.ts +17 -0
- package/styles/compiled.css +86 -22
- package/dist/chunk-3HIF5IFC.js.map +0 -1
- package/dist/chunk-BQGIXRKV.js.map +0 -1
- package/dist/chunk-F2CFHN3Y.js.map +0 -1
- package/dist/chunk-IOLVN74D.js.map +0 -1
- package/dist/chunk-W3OUAH6M.js +0 -170
- package/dist/chunk-W3OUAH6M.js.map +0 -1
- package/dist/chunk-ZFOFY5ST.js.map +0 -1
- package/dist/timeline-annotation-selection-3L7LHGG2.js +0 -187
- package/dist/timeline-annotation-selection-3L7LHGG2.js.map +0 -1
- package/dist/timeline-annotations-dialog-U7EVLR75.js +0 -196
- package/dist/timeline-annotations-dialog-U7EVLR75.js.map +0 -1
package/styles/compiled.css
CHANGED
|
@@ -469,6 +469,7 @@
|
|
|
469
469
|
--leading-tight: 1.25;
|
|
470
470
|
--leading-snug: 1.375;
|
|
471
471
|
--leading-relaxed: 1.625;
|
|
472
|
+
--radius-2xl: 1rem;
|
|
472
473
|
--ease-out: cubic-bezier(0, 0, 0.2, 1);
|
|
473
474
|
--blur-sm: 8px;
|
|
474
475
|
--blur-md: 12px;
|
|
@@ -1004,6 +1005,9 @@
|
|
|
1004
1005
|
:where(.og-root).z-\[1\],:where(.og-root) .z-\[1\] {
|
|
1005
1006
|
z-index: 1;
|
|
1006
1007
|
}
|
|
1008
|
+
:where(.og-root).z-\[35\],:where(.og-root) .z-\[35\] {
|
|
1009
|
+
z-index: 35;
|
|
1010
|
+
}
|
|
1007
1011
|
:where(.og-root).z-\[75\],:where(.og-root) .z-\[75\] {
|
|
1008
1012
|
z-index: 75;
|
|
1009
1013
|
}
|
|
@@ -1139,6 +1143,9 @@
|
|
|
1139
1143
|
:where(.og-root).mr-2,:where(.og-root) .mr-2 {
|
|
1140
1144
|
margin-right: calc(var(--spacing) * 2);
|
|
1141
1145
|
}
|
|
1146
|
+
:where(.og-root).mb-0\.5,:where(.og-root) .mb-0\.5 {
|
|
1147
|
+
margin-bottom: calc(var(--spacing) * 0.5);
|
|
1148
|
+
}
|
|
1142
1149
|
:where(.og-root).mb-1,:where(.og-root) .mb-1 {
|
|
1143
1150
|
margin-bottom: calc(var(--spacing) * 1);
|
|
1144
1151
|
}
|
|
@@ -1199,6 +1206,12 @@
|
|
|
1199
1206
|
-webkit-box-orient: vertical;
|
|
1200
1207
|
-webkit-line-clamp: 3;
|
|
1201
1208
|
}
|
|
1209
|
+
:where(.og-root).line-clamp-4,:where(.og-root) .line-clamp-4 {
|
|
1210
|
+
overflow: hidden;
|
|
1211
|
+
display: -webkit-box;
|
|
1212
|
+
-webkit-box-orient: vertical;
|
|
1213
|
+
-webkit-line-clamp: 4;
|
|
1214
|
+
}
|
|
1202
1215
|
:where(.og-root).block,:where(.og-root) .block {
|
|
1203
1216
|
display: block;
|
|
1204
1217
|
}
|
|
@@ -1361,9 +1374,6 @@
|
|
|
1361
1374
|
:where(.og-root).max-h-20,:where(.og-root) .max-h-20 {
|
|
1362
1375
|
max-height: calc(var(--spacing) * 20);
|
|
1363
1376
|
}
|
|
1364
|
-
:where(.og-root).max-h-28,:where(.og-root) .max-h-28 {
|
|
1365
|
-
max-height: calc(var(--spacing) * 28);
|
|
1366
|
-
}
|
|
1367
1377
|
:where(.og-root).max-h-40,:where(.og-root) .max-h-40 {
|
|
1368
1378
|
max-height: calc(var(--spacing) * 40);
|
|
1369
1379
|
}
|
|
@@ -1403,12 +1413,12 @@
|
|
|
1403
1413
|
:where(.og-root).max-h-\[min\(28rem\,50dvh\)\],:where(.og-root) .max-h-\[min\(28rem\,50dvh\)\] {
|
|
1404
1414
|
max-height: min(28rem, 50dvh);
|
|
1405
1415
|
}
|
|
1416
|
+
:where(.og-root).max-h-\[min\(28rem\,55vh\)\],:where(.og-root) .max-h-\[min\(28rem\,55vh\)\] {
|
|
1417
|
+
max-height: min(28rem, 55vh);
|
|
1418
|
+
}
|
|
1406
1419
|
:where(.og-root).max-h-\[min\(30rem\,60dvh\)\],:where(.og-root) .max-h-\[min\(30rem\,60dvh\)\] {
|
|
1407
1420
|
max-height: min(30rem, 60dvh);
|
|
1408
1421
|
}
|
|
1409
|
-
:where(.og-root).max-h-\[min\(32rem\,70vh\)\],:where(.og-root) .max-h-\[min\(32rem\,70vh\)\] {
|
|
1410
|
-
max-height: min(32rem, 70vh);
|
|
1411
|
-
}
|
|
1412
1422
|
:where(.og-root).max-h-\[min\(32rem\,var\(--radix-popover-content-available-height\)\)\],:where(.og-root) .max-h-\[min\(32rem\,var\(--radix-popover-content-available-height\)\)\] {
|
|
1413
1423
|
max-height: min(32rem, var(--radix-popover-content-available-height));
|
|
1414
1424
|
}
|
|
@@ -1589,6 +1599,9 @@
|
|
|
1589
1599
|
:where(.og-root).max-w-\[calc\(100vw-16px\)\],:where(.og-root) .max-w-\[calc\(100vw-16px\)\] {
|
|
1590
1600
|
max-width: calc(100vw - 16px);
|
|
1591
1601
|
}
|
|
1602
|
+
:where(.og-root).max-w-\[min\(18rem\,calc\(100vw-1\.5rem\)\)\],:where(.og-root) .max-w-\[min\(18rem\,calc\(100vw-1\.5rem\)\)\] {
|
|
1603
|
+
max-width: min(18rem, calc(100vw - 1.5rem));
|
|
1604
|
+
}
|
|
1592
1605
|
:where(.og-root).max-w-full,:where(.og-root) .max-w-full {
|
|
1593
1606
|
max-width: 100%;
|
|
1594
1607
|
}
|
|
@@ -1607,6 +1620,9 @@
|
|
|
1607
1620
|
:where(.og-root).min-w-0,:where(.og-root) .min-w-0 {
|
|
1608
1621
|
min-width: calc(var(--spacing) * 0);
|
|
1609
1622
|
}
|
|
1623
|
+
:where(.og-root).min-w-4,:where(.og-root) .min-w-4 {
|
|
1624
|
+
min-width: calc(var(--spacing) * 4);
|
|
1625
|
+
}
|
|
1610
1626
|
:where(.og-root).min-w-10,:where(.og-root) .min-w-10 {
|
|
1611
1627
|
min-width: calc(var(--spacing) * 10);
|
|
1612
1628
|
}
|
|
@@ -1669,6 +1685,10 @@
|
|
|
1669
1685
|
--tw-translate-y: calc(calc(1 / 2 * 100%) * -1);
|
|
1670
1686
|
translate: var(--tw-translate-x) var(--tw-translate-y);
|
|
1671
1687
|
}
|
|
1688
|
+
:where(.og-root).-translate-y-\[110\%\],:where(.og-root) .-translate-y-\[110\%\] {
|
|
1689
|
+
--tw-translate-y: calc(110% * -1);
|
|
1690
|
+
translate: var(--tw-translate-x) var(--tw-translate-y);
|
|
1691
|
+
}
|
|
1672
1692
|
:where(.og-root).-translate-y-full,:where(.og-root) .-translate-y-full {
|
|
1673
1693
|
--tw-translate-y: -100%;
|
|
1674
1694
|
translate: var(--tw-translate-x) var(--tw-translate-y);
|
|
@@ -1993,6 +2013,9 @@
|
|
|
1993
2013
|
:where(.og-root).rounded,:where(.og-root) .rounded {
|
|
1994
2014
|
border-radius: 0.25rem;
|
|
1995
2015
|
}
|
|
2016
|
+
:where(.og-root).rounded-2xl,:where(.og-root) .rounded-2xl {
|
|
2017
|
+
border-radius: var(--radius-2xl);
|
|
2018
|
+
}
|
|
1996
2019
|
:where(.og-root).rounded-\[2px\],:where(.og-root) .rounded-\[2px\] {
|
|
1997
2020
|
border-radius: 2px;
|
|
1998
2021
|
}
|
|
@@ -2367,6 +2390,12 @@
|
|
|
2367
2390
|
background-color: color-mix(in oklab, var(--_og-color-accent-soft) 45%, transparent);
|
|
2368
2391
|
}
|
|
2369
2392
|
}
|
|
2393
|
+
:where(.og-root).bg-og-accent-soft\/50,:where(.og-root) .bg-og-accent-soft\/50 {
|
|
2394
|
+
background-color: var(--_og-color-accent-soft);
|
|
2395
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
2396
|
+
background-color: color-mix(in oklab, var(--_og-color-accent-soft) 50%, transparent);
|
|
2397
|
+
}
|
|
2398
|
+
}
|
|
2370
2399
|
:where(.og-root).bg-og-accent\/10,:where(.og-root) .bg-og-accent\/10 {
|
|
2371
2400
|
background-color: var(--og-color-accent);
|
|
2372
2401
|
@supports (color: color-mix(in lab, red, red)) {
|
|
@@ -2379,6 +2408,12 @@
|
|
|
2379
2408
|
background-color: color-mix(in oklab, var(--og-color-accent) 15%, transparent);
|
|
2380
2409
|
}
|
|
2381
2410
|
}
|
|
2411
|
+
:where(.og-root).bg-og-accent\/55,:where(.og-root) .bg-og-accent\/55 {
|
|
2412
|
+
background-color: var(--og-color-accent);
|
|
2413
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
2414
|
+
background-color: color-mix(in oklab, var(--og-color-accent) 55%, transparent);
|
|
2415
|
+
}
|
|
2416
|
+
}
|
|
2382
2417
|
:where(.og-root).bg-og-bg,:where(.og-root) .bg-og-bg {
|
|
2383
2418
|
background-color: var(--og-color-bg);
|
|
2384
2419
|
}
|
|
@@ -2921,6 +2956,9 @@
|
|
|
2921
2956
|
:where(.og-root).pl-2,:where(.og-root) .pl-2 {
|
|
2922
2957
|
padding-left: calc(var(--spacing) * 2);
|
|
2923
2958
|
}
|
|
2959
|
+
:where(.og-root).pl-2\.5,:where(.og-root) .pl-2\.5 {
|
|
2960
|
+
padding-left: calc(var(--spacing) * 2.5);
|
|
2961
|
+
}
|
|
2924
2962
|
:where(.og-root).pl-3,:where(.og-root) .pl-3 {
|
|
2925
2963
|
padding-left: calc(var(--spacing) * 3);
|
|
2926
2964
|
}
|
|
@@ -3368,6 +3406,12 @@
|
|
|
3368
3406
|
:where(.og-root).ring-og-accent,:where(.og-root) .ring-og-accent {
|
|
3369
3407
|
--tw-ring-color: var(--og-color-accent);
|
|
3370
3408
|
}
|
|
3409
|
+
:where(.og-root).ring-og-accent-fg\/35,:where(.og-root) .ring-og-accent-fg\/35 {
|
|
3410
|
+
--tw-ring-color: var(--og-color-accent-fg);
|
|
3411
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
3412
|
+
--tw-ring-color: color-mix(in oklab, var(--og-color-accent-fg) 35%, transparent);
|
|
3413
|
+
}
|
|
3414
|
+
}
|
|
3371
3415
|
:where(.og-root).ring-og-accent\/45,:where(.og-root) .ring-og-accent\/45 {
|
|
3372
3416
|
--tw-ring-color: var(--og-color-accent);
|
|
3373
3417
|
@supports (color: color-mix(in lab, red, red)) {
|
|
@@ -3807,6 +3851,12 @@
|
|
|
3807
3851
|
position: absolute;
|
|
3808
3852
|
}
|
|
3809
3853
|
}
|
|
3854
|
+
:where(.og-root).after\:-inset-2,:where(.og-root) .after\:-inset-2 {
|
|
3855
|
+
&::after {
|
|
3856
|
+
content: var(--tw-content);
|
|
3857
|
+
inset: calc(var(--spacing) * -2);
|
|
3858
|
+
}
|
|
3859
|
+
}
|
|
3810
3860
|
:where(.og-root).after\:inset-x-0,:where(.og-root) .after\:inset-x-0 {
|
|
3811
3861
|
&::after {
|
|
3812
3862
|
content: var(--tw-content);
|
|
@@ -3912,6 +3962,12 @@
|
|
|
3912
3962
|
background-color: var(--_og-color-accent-soft);
|
|
3913
3963
|
}
|
|
3914
3964
|
}
|
|
3965
|
+
:where(.og-root).after\:content-\[\'\'\],:where(.og-root) .after\:content-\[\'\'\] {
|
|
3966
|
+
&::after {
|
|
3967
|
+
--tw-content: '';
|
|
3968
|
+
content: var(--tw-content);
|
|
3969
|
+
}
|
|
3970
|
+
}
|
|
3915
3971
|
:where(.og-root).first\:mt-0,:where(.og-root) .first\:mt-0 {
|
|
3916
3972
|
&:first-child {
|
|
3917
3973
|
margin-top: calc(var(--spacing) * 0);
|
|
@@ -4006,6 +4062,16 @@
|
|
|
4006
4062
|
}
|
|
4007
4063
|
}
|
|
4008
4064
|
}
|
|
4065
|
+
:where(.og-root).hover\:border-og-accent\/40,:where(.og-root) .hover\:border-og-accent\/40 {
|
|
4066
|
+
&:hover {
|
|
4067
|
+
@media (hover: hover) {
|
|
4068
|
+
border-color: var(--og-color-accent);
|
|
4069
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
4070
|
+
border-color: color-mix(in oklab, var(--og-color-accent) 40%, transparent);
|
|
4071
|
+
}
|
|
4072
|
+
}
|
|
4073
|
+
}
|
|
4074
|
+
}
|
|
4009
4075
|
:where(.og-root).hover\:border-og-border,:where(.og-root) .hover\:border-og-border {
|
|
4010
4076
|
&:hover {
|
|
4011
4077
|
@media (hover: hover) {
|
|
@@ -4397,23 +4463,12 @@
|
|
|
4397
4463
|
opacity: 100%;
|
|
4398
4464
|
}
|
|
4399
4465
|
}
|
|
4400
|
-
:where(.og-root).focus\:ring-1,:where(.og-root) .focus\:ring-1 {
|
|
4401
|
-
&:focus {
|
|
4402
|
-
--tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
|
|
4403
|
-
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
4404
|
-
}
|
|
4405
|
-
}
|
|
4406
4466
|
:where(.og-root).focus\:ring-2,:where(.og-root) .focus\:ring-2 {
|
|
4407
4467
|
&:focus {
|
|
4408
4468
|
--tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
|
|
4409
4469
|
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
4410
4470
|
}
|
|
4411
4471
|
}
|
|
4412
|
-
:where(.og-root).focus\:ring-og-accent,:where(.og-root) .focus\:ring-og-accent {
|
|
4413
|
-
&:focus {
|
|
4414
|
-
--tw-ring-color: var(--og-color-accent);
|
|
4415
|
-
}
|
|
4416
|
-
}
|
|
4417
4472
|
:where(.og-root).focus\:ring-og-accent-soft,:where(.og-root) .focus\:ring-og-accent-soft {
|
|
4418
4473
|
&:focus {
|
|
4419
4474
|
--tw-ring-color: var(--_og-color-accent-soft);
|
|
@@ -4468,6 +4523,12 @@
|
|
|
4468
4523
|
opacity: 100%;
|
|
4469
4524
|
}
|
|
4470
4525
|
}
|
|
4526
|
+
:where(.og-root).focus-visible\:ring-0,:where(.og-root) .focus-visible\:ring-0 {
|
|
4527
|
+
&:focus-visible {
|
|
4528
|
+
--tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
|
|
4529
|
+
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
4530
|
+
}
|
|
4531
|
+
}
|
|
4471
4532
|
:where(.og-root).focus-visible\:ring-2,:where(.og-root) .focus-visible\:ring-2 {
|
|
4472
4533
|
&:focus-visible {
|
|
4473
4534
|
--tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
|
|
@@ -5080,11 +5141,6 @@
|
|
|
5080
5141
|
padding-inline: calc(var(--spacing) * 3);
|
|
5081
5142
|
}
|
|
5082
5143
|
}
|
|
5083
|
-
:where(.og-root).sm\:px-4,:where(.og-root) .sm\:px-4 {
|
|
5084
|
-
@media (width >= 40rem) {
|
|
5085
|
-
padding-inline: calc(var(--spacing) * 4);
|
|
5086
|
-
}
|
|
5087
|
-
}
|
|
5088
5144
|
:where(.og-root).sm\:px-6,:where(.og-root) .sm\:px-6 {
|
|
5089
5145
|
@media (width >= 40rem) {
|
|
5090
5146
|
padding-inline: calc(var(--spacing) * 6);
|
|
@@ -5259,6 +5315,14 @@
|
|
|
5259
5315
|
opacity: 100%;
|
|
5260
5316
|
}
|
|
5261
5317
|
}
|
|
5318
|
+
:where(.og-root).pointer-coarse\:after\:-inset-2\.5,:where(.og-root) .pointer-coarse\:after\:-inset-2\.5 {
|
|
5319
|
+
@media (pointer: coarse) {
|
|
5320
|
+
&::after {
|
|
5321
|
+
content: var(--tw-content);
|
|
5322
|
+
inset: calc(var(--spacing) * -2.5);
|
|
5323
|
+
}
|
|
5324
|
+
}
|
|
5325
|
+
}
|
|
5262
5326
|
:where(.og-root).\[\&_strong\]\:text-og-fg-muted,:where(.og-root) .\[\&_strong\]\:text-og-fg-muted {
|
|
5263
5327
|
& strong {
|
|
5264
5328
|
color: var(--og-color-fg-muted);
|