@tomny-dev/uzi 0.18.1-pr.128.433.1.911cffa → 0.18.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/dist/style.css CHANGED
@@ -3865,47 +3865,13 @@ button.uzi-sidebar-nav-module__item__uMHkJ {
3865
3865
  filter: brightness(0.95);
3866
3866
  }
3867
3867
 
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);
3879
- color: var(--muted-foreground);
3868
+ .uzi-ai-chat-module__status__Wm3t3 {
3869
+ margin: 0;
3870
+ padding: 0.5rem 1rem;
3871
+ text-align: center;
3880
3872
  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; }
3873
+ color: var(--muted-foreground);
3874
+ font-style: italic;
3909
3875
  }
3910
3876
 
3911
3877
  .uzi-ai-chat-module__error__csAOF {
@@ -4001,24 +3967,14 @@ button.uzi-sidebar-nav-module__item__uMHkJ {
4001
3967
  }
4002
3968
 
4003
3969
  .uzi-ai-chat-module__approvalActions__ptwyO { display: flex; align-items: center; flex-wrap: wrap; gap: 0.5rem; padding-top: 0.5rem; }
4004
- .uzi-ai-chat-module__approvalActions__ptwyO button {
3970
+ .uzi-ai-chat-module__approvalActions__ptwyO button, .uzi-ai-chat-module__attachmentList__isbAi button {
4005
3971
  background: var(--background); color: var(--foreground); border: 1px solid var(--border);
4006
3972
  border-radius: 0.375rem; padding: 0.3rem 0.55rem; cursor: pointer;
4007
3973
  }
4008
3974
  .uzi-ai-chat-module__approvalActions__ptwyO button:disabled { opacity: 0.5; cursor: not-allowed; }
4009
3975
  .uzi-ai-chat-module__attachmentError__E-kU- { color: var(--destructive); padding: 0.5rem 1rem; margin: 0; }
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; }
3976
+ .uzi-ai-chat-module__attachmentList__isbAi { display: flex; flex-wrap: wrap; gap: 0.5rem; padding: 0.4rem 0; margin: 0; list-style: none; }
3977
+ .uzi-ai-chat-module__attachmentList__isbAi li { display: inline-flex; gap: 0.5rem; align-items: center; font-size: 0.75rem; }
4022
3978
 
4023
3979
  /* Role-aware message layout shared by the default renderer and consumer apps. */
4024
3980
  .uzi-ai-chat-module__messageBubble__ZG7M- { width: fit-content; min-width: 0; max-width: 100%; }
@@ -4058,153 +4014,42 @@ button.uzi-sidebar-nav-module__item__uMHkJ {
4058
4014
  .uzi-ai-chat-module__composerIconButton__6FYlZ:disabled { opacity: 0.5; cursor: not-allowed; }
4059
4015
  .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; }
4060
4016
 
4061
- /* Shared image tiles and file cards for both the composer and message history. */
4062
- .uzi-ai-chat-module__attachmentCard__JdvKJ {
4063
- position: relative;
4064
- display: flex;
4065
- flex-direction: column;
4066
- min-width: 0;
4017
+ /* Thumbnail treatment matches the Betty attachment shelf. */
4018
+ .uzi-ai-chat-module__attachmentList__isbAi {
4019
+ gap: 0.5rem;
4020
+ padding: 0;
4021
+ align-items: center;
4022
+ }
4023
+ .uzi-ai-chat-module__attachmentList__isbAi li {
4067
4024
  max-width: 100%;
4068
- overflow: hidden;
4025
+ position: relative;
4026
+ min-height: 3rem;
4027
+ border-radius: 0.625rem;
4069
4028
  border: 1px solid var(--border);
4070
- border-radius: 0.75rem;
4071
4029
  background: var(--uzi-surface-1, var(--muted));
4030
+ padding: 0.125rem;
4072
4031
  }
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%; }
4092
4032
  .uzi-ai-chat-module__attachmentThumbnail__OzmIc {
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;
4102
- }
4103
- .uzi-ai-chat-module__sentAttachmentName__rGevY {
4104
- display: block;
4105
- max-width: 100%;
4106
- padding: 0.375rem 0.5rem;
4107
- overflow: hidden;
4108
- text-overflow: ellipsis;
4109
- white-space: nowrap;
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%; 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;
4033
+ width: 3rem;
4034
+ height: 3rem;
4035
+ border-radius: 0.5rem;
4036
+ object-fit: cover;
4130
4037
  }
4131
- .uzi-ai-chat-module__fileAttachmentDetails__NVfrg a,
4132
- .uzi-ai-chat-module__fileAttachmentDetails__NVfrg > span {
4133
- display: block;
4038
+ .uzi-ai-chat-module__attachmentFilename__yHCLk {
4039
+ max-width: 11rem;
4134
4040
  overflow: hidden;
4135
4041
  text-overflow: ellipsis;
4136
4042
  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__imageAttachmentButton__PM2cf:focus-visible, .uzi-ai-chat-module__removeAttachment__ck6iq:focus-visible,
4163
- .uzi-ai-chat-module__fileAttachmentDetails__NVfrg a:focus-visible, .uzi-ai-chat-module__attachmentDialog__qrG-G button:focus-visible {
4164
- outline: 2px solid var(--ring);
4165
- outline-offset: 2px;
4166
- }
4167
- .uzi-ai-chat-module__attachmentDialog__qrG-G {
4168
- max-width: min(95vw, 60rem);
4169
- max-height: 90dvh;
4170
- padding: 0.75rem;
4171
- border: 1px solid var(--border);
4172
- border-radius: 0.875rem;
4173
- background: var(--background);
4174
- color: var(--foreground);
4175
- box-shadow: 0 16px 60px rgb(0 0 0 / 35%);
4176
- }
4177
- .uzi-ai-chat-module__attachmentDialog__qrG-G::backdrop { background: rgb(0 0 0 / 80%); }
4178
- .uzi-ai-chat-module__attachmentDialogHeader__cmWXt {
4179
- display: flex;
4180
- align-items: center;
4181
- justify-content: space-between;
4182
- gap: 1rem;
4183
- padding-bottom: 0.5rem;
4184
- font-size: 0.8125rem;
4043
+ padding: 0.5rem;
4185
4044
  }
4186
- .uzi-ai-chat-module__attachmentDialogHeader__cmWXt span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
4187
- .uzi-ai-chat-module__attachmentDialogHeader__cmWXt button {
4045
+ .uzi-ai-chat-module__attachmentList__isbAi li button {
4188
4046
  flex-shrink: 0;
4189
- width: 2rem;
4190
- height: 2rem;
4191
4047
  border: 0;
4192
- border-radius: 50%;
4193
- background: var(--muted);
4194
- color: var(--foreground);
4195
- font: inherit;
4196
- font-size: 1.25rem;
4197
- cursor: pointer;
4198
- }
4199
- .uzi-ai-chat-module__attachmentDialog__qrG-G > img {
4200
- display: block;
4201
- width: auto;
4202
- height: auto;
4203
- max-width: 100%;
4204
- max-height: calc(90dvh - 5rem);
4205
- margin: auto;
4206
- object-fit: contain;
4048
+ background: transparent;
4049
+ color: var(--muted-foreground);
4050
+ border-radius: 0.4rem;
4207
4051
  }
4052
+ .uzi-ai-chat-module__attachmentList__isbAi li button:hover { color: var(--foreground); background: var(--muted); }
4208
4053
  .uzi-ai-chat-dock-module__dock__hHrvH {
4209
4054
  position: relative;
4210
4055
  z-index: 100;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tomny-dev/uzi",
3
- "version": "0.18.1-pr.128.433.1.911cffa",
3
+ "version": "0.18.1",
4
4
  "description": "Rapid-fire React UI components. Ship faster, build more.",
5
5
  "type": "module",
6
6
  "repository": {