@tomny-dev/uzi 0.18.1 → 0.19.0-pr.129.444.1.d699072
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/components/ai-chat/AIChat.d.ts +24 -2
- package/dist/components/ai-chat/AIChat.d.ts.map +1 -1
- package/dist/index.cjs +1 -0
- package/dist/index.d.ts +2 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -2
- package/dist/index83.js +33 -7
- package/dist/index83.js.map +1 -1
- package/dist/index84.cjs +46 -8
- package/dist/index84.cjs.map +1 -1
- package/dist/index84.js +175 -43
- package/dist/index84.js.map +1 -1
- package/dist/index85.cjs +175 -42
- package/dist/index85.cjs.map +1 -1
- package/dist/style.css +210 -32
- package/package.json +1 -1
package/dist/style.css
CHANGED
|
@@ -3865,13 +3865,47 @@ button.uzi-sidebar-nav-module__item__uMHkJ {
|
|
|
3865
3865
|
filter: brightness(0.95);
|
|
3866
3866
|
}
|
|
3867
3867
|
|
|
3868
|
-
.uzi-ai-chat-
|
|
3869
|
-
|
|
3870
|
-
|
|
3871
|
-
|
|
3872
|
-
|
|
3868
|
+
.uzi-ai-chat-module__activityBubble__wik-k {
|
|
3869
|
+
display: inline-flex;
|
|
3870
|
+
align-items: center;
|
|
3871
|
+
align-self: flex-start;
|
|
3872
|
+
gap: 0.625rem;
|
|
3873
|
+
width: fit-content;
|
|
3874
|
+
max-width: 100%;
|
|
3875
|
+
padding: 0.75rem 0.875rem;
|
|
3876
|
+
border: 1px solid var(--border);
|
|
3877
|
+
border-radius: 0.875rem;
|
|
3878
|
+
background: var(--muted);
|
|
3873
3879
|
color: var(--muted-foreground);
|
|
3874
|
-
font-
|
|
3880
|
+
font-size: 0.8125rem;
|
|
3881
|
+
line-height: 1.4;
|
|
3882
|
+
animation: uzi-ai-chat-module__uzi-chat-activity-enter__eSi1y 180ms ease-out 120ms both;
|
|
3883
|
+
}
|
|
3884
|
+
|
|
3885
|
+
.uzi-ai-chat-module__activityDots__WNLWX { display: flex; align-items: center; gap: 0.2rem; }
|
|
3886
|
+
.uzi-ai-chat-module__activityDots__WNLWX i {
|
|
3887
|
+
display: block;
|
|
3888
|
+
width: 0.35rem;
|
|
3889
|
+
height: 0.35rem;
|
|
3890
|
+
flex: 0 0 auto;
|
|
3891
|
+
border-radius: 50%;
|
|
3892
|
+
background: currentColor;
|
|
3893
|
+
animation: uzi-ai-chat-module__uzi-chat-dot-pulse__l3fH6 1.2s ease-in-out infinite;
|
|
3894
|
+
}
|
|
3895
|
+
.uzi-ai-chat-module__activityDots__WNLWX i:nth-child(2) { animation-delay: 150ms; }
|
|
3896
|
+
.uzi-ai-chat-module__activityDots__WNLWX i:nth-child(3) { animation-delay: 300ms; }
|
|
3897
|
+
|
|
3898
|
+
@keyframes uzi-ai-chat-module__uzi-chat-activity-enter__eSi1y {
|
|
3899
|
+
from { opacity: 0; transform: translateY(3px); }
|
|
3900
|
+
to { opacity: 1; transform: translateY(0); }
|
|
3901
|
+
}
|
|
3902
|
+
@keyframes uzi-ai-chat-module__uzi-chat-dot-pulse__l3fH6 {
|
|
3903
|
+
0%, 60%, 100% { opacity: 0.35; transform: translateY(0); }
|
|
3904
|
+
30% { opacity: 1; transform: translateY(-3px); }
|
|
3905
|
+
}
|
|
3906
|
+
|
|
3907
|
+
@media (prefers-reduced-motion: reduce) {
|
|
3908
|
+
.uzi-ai-chat-module__activityBubble__wik-k, .uzi-ai-chat-module__activityDots__WNLWX i { animation: none; }
|
|
3875
3909
|
}
|
|
3876
3910
|
|
|
3877
3911
|
.uzi-ai-chat-module__error__csAOF {
|
|
@@ -3967,14 +4001,24 @@ button.uzi-sidebar-nav-module__item__uMHkJ {
|
|
|
3967
4001
|
}
|
|
3968
4002
|
|
|
3969
4003
|
.uzi-ai-chat-module__approvalActions__ptwyO { display: flex; align-items: center; flex-wrap: wrap; gap: 0.5rem; padding-top: 0.5rem; }
|
|
3970
|
-
.uzi-ai-chat-module__approvalActions__ptwyO button
|
|
4004
|
+
.uzi-ai-chat-module__approvalActions__ptwyO button {
|
|
3971
4005
|
background: var(--background); color: var(--foreground); border: 1px solid var(--border);
|
|
3972
4006
|
border-radius: 0.375rem; padding: 0.3rem 0.55rem; cursor: pointer;
|
|
3973
4007
|
}
|
|
3974
4008
|
.uzi-ai-chat-module__approvalActions__ptwyO button:disabled { opacity: 0.5; cursor: not-allowed; }
|
|
3975
4009
|
.uzi-ai-chat-module__attachmentError__E-kU- { color: var(--destructive); padding: 0.5rem 1rem; margin: 0; }
|
|
3976
|
-
.uzi-ai-chat-module__attachmentList__isbAi {
|
|
3977
|
-
|
|
4010
|
+
.uzi-ai-chat-module__attachmentList__isbAi {
|
|
4011
|
+
display: flex;
|
|
4012
|
+
flex-wrap: nowrap;
|
|
4013
|
+
gap: 0.625rem;
|
|
4014
|
+
max-width: 100%;
|
|
4015
|
+
padding: 0.125rem 0.125rem 0.5rem;
|
|
4016
|
+
margin: 0;
|
|
4017
|
+
overflow-x: auto;
|
|
4018
|
+
list-style: none;
|
|
4019
|
+
scrollbar-width: thin;
|
|
4020
|
+
}
|
|
4021
|
+
.uzi-ai-chat-module__attachmentList__isbAi li { display: flex; flex: 0 0 auto; min-width: 0; }
|
|
3978
4022
|
|
|
3979
4023
|
/* Role-aware message layout shared by the default renderer and consumer apps. */
|
|
3980
4024
|
.uzi-ai-chat-module__messageBubble__ZG7M- { width: fit-content; min-width: 0; max-width: 100%; }
|
|
@@ -4014,42 +4058,176 @@ button.uzi-sidebar-nav-module__item__uMHkJ {
|
|
|
4014
4058
|
.uzi-ai-chat-module__composerIconButton__6FYlZ:disabled { opacity: 0.5; cursor: not-allowed; }
|
|
4015
4059
|
.uzi-ai-chat-module__visuallyHidden__qVCl7 { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
|
|
4016
4060
|
|
|
4017
|
-
/*
|
|
4018
|
-
.uzi-ai-chat-
|
|
4019
|
-
gap: 0.5rem;
|
|
4020
|
-
padding: 0;
|
|
4021
|
-
align-items: center;
|
|
4022
|
-
}
|
|
4023
|
-
.uzi-ai-chat-module__attachmentList__isbAi li {
|
|
4024
|
-
max-width: 100%;
|
|
4061
|
+
/* Shared image tiles and file cards for both the composer and message history. */
|
|
4062
|
+
.uzi-ai-chat-module__attachmentCard__JdvKJ {
|
|
4025
4063
|
position: relative;
|
|
4026
|
-
|
|
4027
|
-
|
|
4064
|
+
display: flex;
|
|
4065
|
+
flex-direction: column;
|
|
4066
|
+
min-width: 0;
|
|
4067
|
+
max-width: 100%;
|
|
4068
|
+
overflow: hidden;
|
|
4028
4069
|
border: 1px solid var(--border);
|
|
4070
|
+
border-radius: 0.75rem;
|
|
4029
4071
|
background: var(--uzi-surface-1, var(--muted));
|
|
4030
|
-
padding: 0.125rem;
|
|
4031
4072
|
}
|
|
4073
|
+
.uzi-ai-chat-module__stagedAttachment__5axXj {
|
|
4074
|
+
width: 5.75rem;
|
|
4075
|
+
height: 5.75rem;
|
|
4076
|
+
}
|
|
4077
|
+
.uzi-ai-chat-module__stagedFileAttachment__hZfVm { width: min(15rem, 75vw); }
|
|
4078
|
+
.uzi-ai-chat-module__sentAttachment__PP-fs {
|
|
4079
|
+
width: fit-content;
|
|
4080
|
+
max-width: min(16rem, 100%);
|
|
4081
|
+
}
|
|
4082
|
+
.uzi-ai-chat-module__imageAttachmentButton__PM2cf {
|
|
4083
|
+
display: block;
|
|
4084
|
+
width: 100%;
|
|
4085
|
+
min-width: 0;
|
|
4086
|
+
padding: 0;
|
|
4087
|
+
border: 0;
|
|
4088
|
+
background: transparent;
|
|
4089
|
+
cursor: zoom-in;
|
|
4090
|
+
}
|
|
4091
|
+
.uzi-ai-chat-module__stagedAttachment__5axXj .uzi-ai-chat-module__imageAttachmentButton__PM2cf { height: 100%; }
|
|
4032
4092
|
.uzi-ai-chat-module__attachmentThumbnail__OzmIc {
|
|
4033
|
-
|
|
4034
|
-
|
|
4035
|
-
|
|
4036
|
-
|
|
4093
|
+
display: block;
|
|
4094
|
+
max-width: 100%;
|
|
4095
|
+
object-fit: contain;
|
|
4096
|
+
}
|
|
4097
|
+
.uzi-ai-chat-module__stagedAttachment__5axXj .uzi-ai-chat-module__attachmentThumbnail__OzmIc { width: 100%; height: 100%; object-fit: cover; }
|
|
4098
|
+
.uzi-ai-chat-module__sentAttachment__PP-fs .uzi-ai-chat-module__attachmentThumbnail__OzmIc {
|
|
4099
|
+
width: auto;
|
|
4100
|
+
min-width: 6rem;
|
|
4101
|
+
max-height: 14rem;
|
|
4037
4102
|
}
|
|
4038
|
-
.uzi-ai-chat-
|
|
4039
|
-
|
|
4103
|
+
.uzi-ai-chat-module__sentAttachmentName__rGevY {
|
|
4104
|
+
display: block;
|
|
4105
|
+
max-width: 100%;
|
|
4106
|
+
padding: 0.375rem 0.5rem;
|
|
4040
4107
|
overflow: hidden;
|
|
4041
4108
|
text-overflow: ellipsis;
|
|
4042
4109
|
white-space: nowrap;
|
|
4043
|
-
|
|
4110
|
+
color: var(--muted-foreground);
|
|
4111
|
+
font-size: 0.6875rem;
|
|
4112
|
+
}
|
|
4113
|
+
.uzi-ai-chat-module__fileAttachment__lVB09 {
|
|
4114
|
+
display: flex;
|
|
4115
|
+
align-items: center;
|
|
4116
|
+
gap: 0.625rem;
|
|
4117
|
+
min-width: 0;
|
|
4118
|
+
min-height: 4rem;
|
|
4119
|
+
padding: 0.625rem;
|
|
4120
|
+
color: var(--foreground);
|
|
4121
|
+
}
|
|
4122
|
+
.uzi-ai-chat-module__stagedFileAttachment__hZfVm .uzi-ai-chat-module__fileAttachment__lVB09 { height: 100%; box-sizing: border-box; padding-right: 1.875rem; }
|
|
4123
|
+
.uzi-ai-chat-module__fileAttachment__lVB09 svg { flex: 0 0 auto; color: var(--muted-foreground); }
|
|
4124
|
+
.uzi-ai-chat-module__fileAttachmentDetails__NVfrg {
|
|
4125
|
+
display: flex;
|
|
4126
|
+
flex-direction: column;
|
|
4127
|
+
gap: 0.125rem;
|
|
4128
|
+
min-width: 0;
|
|
4129
|
+
font-size: 0.75rem;
|
|
4130
|
+
}
|
|
4131
|
+
.uzi-ai-chat-module__fileAttachmentDetails__NVfrg a,
|
|
4132
|
+
.uzi-ai-chat-module__fileAttachmentDetails__NVfrg > span {
|
|
4133
|
+
display: block;
|
|
4134
|
+
overflow: hidden;
|
|
4135
|
+
text-overflow: ellipsis;
|
|
4136
|
+
white-space: nowrap;
|
|
4137
|
+
color: var(--foreground);
|
|
4138
|
+
text-decoration: none;
|
|
4139
|
+
}
|
|
4140
|
+
.uzi-ai-chat-module__fileAttachmentDetails__NVfrg a:hover { text-decoration: underline; }
|
|
4141
|
+
.uzi-ai-chat-module__fileAttachmentDetails__NVfrg small { color: var(--muted-foreground); font-size: 0.6875rem; }
|
|
4142
|
+
.uzi-ai-chat-module__removeAttachment__ck6iq {
|
|
4143
|
+
position: absolute;
|
|
4144
|
+
top: 0.25rem;
|
|
4145
|
+
right: 0.25rem;
|
|
4146
|
+
display: grid;
|
|
4147
|
+
place-items: center;
|
|
4148
|
+
width: 1.5rem;
|
|
4149
|
+
height: 1.5rem;
|
|
4150
|
+
padding: 0;
|
|
4151
|
+
border: 1px solid var(--border);
|
|
4152
|
+
border-radius: 50%;
|
|
4153
|
+
background: var(--background);
|
|
4154
|
+
color: var(--foreground);
|
|
4155
|
+
font: inherit;
|
|
4156
|
+
font-size: 1.125rem;
|
|
4157
|
+
line-height: 1;
|
|
4158
|
+
cursor: pointer;
|
|
4159
|
+
box-shadow: 0 1px 4px rgb(0 0 0 / 20%);
|
|
4160
|
+
}
|
|
4161
|
+
.uzi-ai-chat-module__removeAttachment__ck6iq:hover { background: var(--muted); }
|
|
4162
|
+
.uzi-ai-chat-module__removeAttachmentSlot__Xk--P {
|
|
4163
|
+
position: absolute;
|
|
4164
|
+
top: 0.25rem;
|
|
4165
|
+
right: 0.25rem;
|
|
4166
|
+
display: grid;
|
|
4167
|
+
place-items: center;
|
|
4168
|
+
}
|
|
4169
|
+
.uzi-ai-chat-module__removeAttachmentSlot__Xk--P button {
|
|
4170
|
+
display: grid;
|
|
4171
|
+
place-items: center;
|
|
4172
|
+
width: 1.5rem;
|
|
4173
|
+
min-width: 1.5rem;
|
|
4174
|
+
height: 1.5rem;
|
|
4175
|
+
min-height: 1.5rem;
|
|
4176
|
+
padding: 0;
|
|
4177
|
+
border: 1px solid var(--border);
|
|
4178
|
+
border-radius: 50%;
|
|
4179
|
+
background: var(--background);
|
|
4180
|
+
color: var(--foreground);
|
|
4181
|
+
font-size: 1.125rem;
|
|
4182
|
+
line-height: 1;
|
|
4183
|
+
box-shadow: 0 1px 4px rgb(0 0 0 / 20%);
|
|
4184
|
+
}
|
|
4185
|
+
.uzi-ai-chat-module__imageAttachmentButton__PM2cf:focus-visible, .uzi-ai-chat-module__removeAttachment__ck6iq:focus-visible,
|
|
4186
|
+
.uzi-ai-chat-module__fileAttachmentDetails__NVfrg a:focus-visible, .uzi-ai-chat-module__attachmentDialog__qrG-G button:focus-visible {
|
|
4187
|
+
outline: 2px solid var(--ring);
|
|
4188
|
+
outline-offset: 2px;
|
|
4189
|
+
}
|
|
4190
|
+
.uzi-ai-chat-module__attachmentDialog__qrG-G {
|
|
4191
|
+
max-width: min(95vw, 60rem);
|
|
4192
|
+
max-height: 90dvh;
|
|
4193
|
+
padding: 0.75rem;
|
|
4194
|
+
border: 1px solid var(--border);
|
|
4195
|
+
border-radius: 0.875rem;
|
|
4196
|
+
background: var(--background);
|
|
4197
|
+
color: var(--foreground);
|
|
4198
|
+
box-shadow: 0 16px 60px rgb(0 0 0 / 35%);
|
|
4199
|
+
}
|
|
4200
|
+
.uzi-ai-chat-module__attachmentDialog__qrG-G::backdrop { background: rgb(0 0 0 / 80%); }
|
|
4201
|
+
.uzi-ai-chat-module__attachmentDialogHeader__cmWXt {
|
|
4202
|
+
display: flex;
|
|
4203
|
+
align-items: center;
|
|
4204
|
+
justify-content: space-between;
|
|
4205
|
+
gap: 1rem;
|
|
4206
|
+
padding-bottom: 0.5rem;
|
|
4207
|
+
font-size: 0.8125rem;
|
|
4044
4208
|
}
|
|
4045
|
-
.uzi-ai-chat-
|
|
4209
|
+
.uzi-ai-chat-module__attachmentDialogHeader__cmWXt span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
4210
|
+
.uzi-ai-chat-module__attachmentDialogHeader__cmWXt button {
|
|
4046
4211
|
flex-shrink: 0;
|
|
4212
|
+
width: 2rem;
|
|
4213
|
+
height: 2rem;
|
|
4047
4214
|
border: 0;
|
|
4048
|
-
|
|
4049
|
-
|
|
4050
|
-
|
|
4215
|
+
border-radius: 50%;
|
|
4216
|
+
background: var(--muted);
|
|
4217
|
+
color: var(--foreground);
|
|
4218
|
+
font: inherit;
|
|
4219
|
+
font-size: 1.25rem;
|
|
4220
|
+
cursor: pointer;
|
|
4221
|
+
}
|
|
4222
|
+
.uzi-ai-chat-module__attachmentDialog__qrG-G > img {
|
|
4223
|
+
display: block;
|
|
4224
|
+
width: auto;
|
|
4225
|
+
height: auto;
|
|
4226
|
+
max-width: 100%;
|
|
4227
|
+
max-height: calc(90dvh - 5rem);
|
|
4228
|
+
margin: auto;
|
|
4229
|
+
object-fit: contain;
|
|
4051
4230
|
}
|
|
4052
|
-
.uzi-ai-chat-module__attachmentList__isbAi li button:hover { color: var(--foreground); background: var(--muted); }
|
|
4053
4231
|
.uzi-ai-chat-dock-module__dock__hHrvH {
|
|
4054
4232
|
position: relative;
|
|
4055
4233
|
z-index: 100;
|