@yushaw/sanqian-chat 0.2.3 → 0.2.6
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 +21 -0
- package/dist/core/index.d.mts +154 -1
- package/dist/core/index.d.ts +154 -1
- package/dist/main/index.d.mts +426 -2
- package/dist/main/index.d.ts +426 -2
- package/dist/main/index.js +1269 -4
- package/dist/main/index.mjs +1279 -3
- package/dist/preload/index.d.ts +49 -1
- package/dist/preload/index.js +42 -0
- package/dist/renderer/index.d.mts +300 -1
- package/dist/renderer/index.d.ts +300 -1
- package/dist/renderer/index.js +1068 -385
- package/dist/renderer/index.mjs +1003 -329
- package/package.json +1 -1
- package/src/renderer/styles/chat.css +37 -0
- package/src/renderer/styles/coreCss.ts +37 -0
- package/src/renderer/styles/safe.css +37 -0
package/package.json
CHANGED
|
@@ -252,6 +252,43 @@ code {
|
|
|
252
252
|
animation: chat-fade-in 0.2s ease-out;
|
|
253
253
|
}
|
|
254
254
|
|
|
255
|
+
/* Modal animations */
|
|
256
|
+
@keyframes chat-modal-fade-in {
|
|
257
|
+
from { opacity: 0; }
|
|
258
|
+
to { opacity: 1; }
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
@keyframes chat-modal-fade-out {
|
|
262
|
+
from { opacity: 1; }
|
|
263
|
+
to { opacity: 0; }
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
@keyframes chat-modal-slide-in {
|
|
267
|
+
from { opacity: 0; transform: scale(0.95); }
|
|
268
|
+
to { opacity: 1; transform: scale(1); }
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
@keyframes chat-modal-slide-out {
|
|
272
|
+
from { opacity: 1; transform: scale(1); }
|
|
273
|
+
to { opacity: 0; transform: scale(0.95); }
|
|
274
|
+
}
|
|
275
|
+
|
|
276
|
+
.chat-modal-backdrop {
|
|
277
|
+
animation: chat-modal-fade-in 0.15s ease-out forwards;
|
|
278
|
+
}
|
|
279
|
+
|
|
280
|
+
.chat-modal-backdrop.chat-modal-closing {
|
|
281
|
+
animation: chat-modal-fade-out 0.12s ease-in forwards;
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
.chat-modal-content {
|
|
285
|
+
animation: chat-modal-slide-in 0.15s ease-out forwards;
|
|
286
|
+
}
|
|
287
|
+
|
|
288
|
+
.chat-modal-content.chat-modal-closing {
|
|
289
|
+
animation: chat-modal-slide-out 0.12s ease-in forwards;
|
|
290
|
+
}
|
|
291
|
+
|
|
255
292
|
/* ========================================
|
|
256
293
|
Prose Overrides
|
|
257
294
|
======================================== */
|
|
@@ -259,6 +259,43 @@ code {
|
|
|
259
259
|
animation: chat-fade-in 0.2s ease-out;
|
|
260
260
|
}
|
|
261
261
|
|
|
262
|
+
/* Modal animations */
|
|
263
|
+
@keyframes chat-modal-fade-in {
|
|
264
|
+
from { opacity: 0; }
|
|
265
|
+
to { opacity: 1; }
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
@keyframes chat-modal-fade-out {
|
|
269
|
+
from { opacity: 1; }
|
|
270
|
+
to { opacity: 0; }
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
@keyframes chat-modal-slide-in {
|
|
274
|
+
from { opacity: 0; transform: scale(0.95); }
|
|
275
|
+
to { opacity: 1; transform: scale(1); }
|
|
276
|
+
}
|
|
277
|
+
|
|
278
|
+
@keyframes chat-modal-slide-out {
|
|
279
|
+
from { opacity: 1; transform: scale(1); }
|
|
280
|
+
to { opacity: 0; transform: scale(0.95); }
|
|
281
|
+
}
|
|
282
|
+
|
|
283
|
+
.chat-modal-backdrop {
|
|
284
|
+
animation: chat-modal-fade-in 0.15s ease-out forwards;
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
.chat-modal-backdrop.chat-modal-closing {
|
|
288
|
+
animation: chat-modal-fade-out 0.12s ease-in forwards;
|
|
289
|
+
}
|
|
290
|
+
|
|
291
|
+
.chat-modal-content {
|
|
292
|
+
animation: chat-modal-slide-in 0.15s ease-out forwards;
|
|
293
|
+
}
|
|
294
|
+
|
|
295
|
+
.chat-modal-content.chat-modal-closing {
|
|
296
|
+
animation: chat-modal-slide-out 0.12s ease-in forwards;
|
|
297
|
+
}
|
|
298
|
+
|
|
262
299
|
/* ========================================
|
|
263
300
|
Prose Overrides
|
|
264
301
|
======================================== */
|
|
@@ -252,6 +252,43 @@ code {
|
|
|
252
252
|
animation: chat-fade-in 0.2s ease-out;
|
|
253
253
|
}
|
|
254
254
|
|
|
255
|
+
/* Modal animations */
|
|
256
|
+
@keyframes chat-modal-fade-in {
|
|
257
|
+
from { opacity: 0; }
|
|
258
|
+
to { opacity: 1; }
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
@keyframes chat-modal-fade-out {
|
|
262
|
+
from { opacity: 1; }
|
|
263
|
+
to { opacity: 0; }
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
@keyframes chat-modal-slide-in {
|
|
267
|
+
from { opacity: 0; transform: scale(0.95); }
|
|
268
|
+
to { opacity: 1; transform: scale(1); }
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
@keyframes chat-modal-slide-out {
|
|
272
|
+
from { opacity: 1; transform: scale(1); }
|
|
273
|
+
to { opacity: 0; transform: scale(0.95); }
|
|
274
|
+
}
|
|
275
|
+
|
|
276
|
+
.chat-modal-backdrop {
|
|
277
|
+
animation: chat-modal-fade-in 0.15s ease-out forwards;
|
|
278
|
+
}
|
|
279
|
+
|
|
280
|
+
.chat-modal-backdrop.chat-modal-closing {
|
|
281
|
+
animation: chat-modal-fade-out 0.12s ease-in forwards;
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
.chat-modal-content {
|
|
285
|
+
animation: chat-modal-slide-in 0.15s ease-out forwards;
|
|
286
|
+
}
|
|
287
|
+
|
|
288
|
+
.chat-modal-content.chat-modal-closing {
|
|
289
|
+
animation: chat-modal-slide-out 0.12s ease-in forwards;
|
|
290
|
+
}
|
|
291
|
+
|
|
255
292
|
/* ========================================
|
|
256
293
|
Prose Overrides
|
|
257
294
|
======================================== */
|