@nine-lab/nine-ux 0.1.55 → 0.1.57

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.
@@ -318,6 +318,57 @@ const wl = `
318
318
  :host(.rgb) div.head:hover {
319
319
  filter: unset;
320
320
  }
321
+
322
+
323
+ /* 1. 기본 애니메이션 설정 */
324
+ :host {
325
+ --animation-duration: 0.3s;
326
+ }
327
+
328
+ dialog {
329
+ transition: opacity var(--animation-duration) ease,
330
+ transform var(--animation-duration) cubic-bezier(0.34, 1.56, 0.64, 1);
331
+ }
332
+
333
+ /* 2. Fade In 효과 */
334
+ :host(.fade-in) dialog {
335
+ animation: fade-in var(--animation-duration) forwards;
336
+ }
337
+
338
+ @keyframes fade-in {
339
+ from { opacity: 0; }
340
+ to { opacity: 1; }
341
+ }
342
+
343
+ /* 3. Zoom In 효과 */
344
+ :host(.zoom-in) dialog {
345
+ animation: zoom-in var(--animation-duration) forwards;
346
+ }
347
+
348
+ @keyframes zoom-in {
349
+ from { opacity: 0; transform: scale(0.8); }
350
+ to { opacity: 1; transform: scale(1); }
351
+ }
352
+
353
+ /* 4. 닫기 애니메이션 (out 클래스 대응) */
354
+ dialog.out {
355
+ animation: fade-out var(--animation-duration) forwards;
356
+ pointer-events: none;
357
+ }
358
+
359
+ @keyframes fade-out {
360
+ from { opacity: 1; transform: scale(1); }
361
+ to { opacity: 0; transform: scale(0.95); }
362
+ }
363
+
364
+ /* 5. 백드롭(배경) 애니메이션 */
365
+ dialog::backdrop {
366
+ transition: opacity var(--animation-duration) ease;
367
+ }
368
+
369
+ :host(.fade-in) dialog::backdrop {
370
+ background: rgba(0, 0, 0, 0.3);
371
+ }
321
372
  `;
322
373
  var Oe, j, Nn, An, Dn;
323
374
  class Cl extends HTMLElement {
@@ -14560,7 +14611,7 @@ Lr = function() {
14560
14611
  const t = Ae.getComponentCssPath("nineEditor.css"), r = t ? `@import "${t}";` : "";
14561
14612
  this.shadowRoot.innerHTML = `
14562
14613
  <style>
14563
- @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-ux@0.1.55/dist/css/nineEditor.css";
14614
+ @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-ux@0.1.57/dist/css/nineEditor.css";
14564
14615
  ${r}
14565
14616
  </style>
14566
14617