@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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yushaw/sanqian-chat",
3
- "version": "0.2.3",
3
+ "version": "0.2.6",
4
4
  "description": "Floating chat window SDK for Sanqian AI Assistant",
5
5
  "main": "./dist/main/index.js",
6
6
  "types": "./dist/main/index.d.ts",
@@ -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
  ======================================== */