feat(chat): port chat widget components from Dart to React

This commit is contained in:
2026-06-09 20:19:52 +08:00
parent 199a14650e
commit 109a3e3855
48 changed files with 2463 additions and 382 deletions
@@ -0,0 +1,37 @@
/* ChatSendButton 发送按钮样式 */
.button {
flex: 0 0 auto;
width: 48px;
height: 40px;
border: 0;
border-radius: 9999px;
background: var(--color-button-gradient-end, #fc69df);
color: #fff;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
transition: background 0.2s, transform 0.1s;
}
.button:disabled {
opacity: 0.4;
cursor: not-allowed;
}
.button:focus-visible,
.buttonActive {
background: linear-gradient(
to right,
var(--color-button-gradient-start, #ff67e0),
var(--color-button-gradient-end, #ff52a2)
);
}
.icon {
width: 24px;
height: 24px;
font-size: 24px;
line-height: 1;
}