@umami/react-zen 0.39.0 → 0.41.0

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/styles.css CHANGED
@@ -2840,7 +2840,7 @@ body a.Button_button__N2NhN {
2840
2840
  }
2841
2841
 
2842
2842
  /* virtual-css:css:e93e399a7d084c43e7eb6d4a64b3f486 */
2843
- .Dialog_dialog__YjBmO {
2843
+ .Dialog_dialog__OTEwM {
2844
2844
  position: relative;
2845
2845
  padding: var(--spacing-6);
2846
2846
  box-shadow: var(--box-shadow-4);
@@ -2849,11 +2849,18 @@ body a.Button_button__N2NhN {
2849
2849
  border-radius: var(--border-radius);
2850
2850
  outline: none;
2851
2851
  }
2852
- .Dialog_title__MmNiZ {
2852
+ .Dialog_title__MTE4N {
2853
2853
  font-size: var(--font-size-4);
2854
2854
  font-weight: 700;
2855
2855
  margin-bottom: var(--spacing-3);
2856
2856
  }
2857
+ .Dialog_sheet__MWQ0Z {
2858
+ width: 100%;
2859
+ height: 100%;
2860
+ border-radius: 0;
2861
+ box-shadow: none;
2862
+ z-index: 9999;
2863
+ }
2857
2864
 
2858
2865
  /* virtual-css:css:e1347b3b22ddaaeb1276bb5bb9f2f2b8 */
2859
2866
  .AlertDialog_dialog__NDdlY {
@@ -3491,7 +3498,7 @@ body a.Button_button__N2NhN {
3491
3498
  }
3492
3499
 
3493
3500
  /* virtual-css:css:2e838e52dc8fe0aeb7a209b02dafe189 */
3494
- .Modal_overlay__NDQ5M {
3501
+ .Modal_overlay__MzYwN {
3495
3502
  position: fixed;
3496
3503
  top: 0;
3497
3504
  left: 0;
@@ -3501,20 +3508,85 @@ body a.Button_button__N2NhN {
3501
3508
  display: flex;
3502
3509
  align-items: center;
3503
3510
  justify-content: center;
3511
+ --modal-offset: 50%;
3504
3512
  }
3505
- .Modal_overlay__NDQ5M[data-entering] {
3506
- animation: Modal_modal-fade__ZWUyZ 200ms;
3513
+ .Modal_overlay__MzYwN[data-entering] {
3514
+ animation: Modal_modal-fade-in__MDBkZ 200ms;
3507
3515
  }
3508
- .Modal_overlay__NDQ5M[data-exiting] {
3509
- animation: Modal_modal-fade__ZWUyZ 150ms reverse ease-in;
3516
+ .Modal_overlay__MzYwN[data-exiting] {
3517
+ animation: Modal_modal-fade-in__MDBkZ 200ms reverse ease-in;
3510
3518
  }
3511
- .Modal_modal__ZmIxM {
3519
+ .Modal_modal__ZTRjZ {
3512
3520
  position: relative;
3521
+ z-index: 9999;
3522
+ }
3523
+ .Modal_modal__ZTRjZ.Modal_left__NWIxM {
3524
+ position: absolute;
3525
+ top: 0;
3526
+ left: 0;
3527
+ bottom: 0;
3528
+ margin: auto;
3529
+ width: calc(100dvw - var(--modal-offset, 0));
3530
+ }
3531
+ .Modal_modal__ZTRjZ.Modal_right__MGNkY {
3532
+ position: absolute;
3533
+ top: 0;
3534
+ right: 0;
3535
+ bottom: 0;
3536
+ margin: auto;
3537
+ width: calc(100dvw - var(--modal-offset, 0));
3538
+ }
3539
+ .Modal_modal__ZTRjZ.Modal_top__ZmViY {
3540
+ position: absolute;
3541
+ top: 0;
3542
+ left: 0;
3543
+ right: 0;
3544
+ margin: auto;
3545
+ height: calc(100dvh - var(--modal-offset, 0));
3546
+ }
3547
+ .Modal_modal__ZTRjZ.Modal_bottom__Zjg4M {
3548
+ position: absolute;
3549
+ left: 0;
3550
+ right: 0;
3551
+ bottom: 0;
3552
+ margin: auto;
3553
+ height: calc(100dvh - var(--modal-offset, 0));
3554
+ }
3555
+ .Modal_modal__ZTRjZ.Modal_fullscreen__NmZiM {
3556
+ width: 100dvw;
3557
+ height: 100dvh;
3558
+ }
3559
+ .Modal_modal__ZTRjZ.Modal_center__ZWFmO[data-entering] {
3560
+ animation: Modal_modal-zoom__MmU0M 300ms cubic-bezier(0.175, 0.885, 0.32, 1.275);
3513
3561
  }
3514
- .Modal_modal__ZmIxM[data-entering] {
3515
- animation: Modal_modal-zoom__MDZmY 300ms cubic-bezier(0.175, 0.885, 0.32, 1.275);
3562
+ .Modal_modal__ZTRjZ.Modal_left__NWIxM[data-entering] {
3563
+ animation: Modal_modal-left__MWY5M 200ms ease-out;
3516
3564
  }
3517
- @keyframes Modal_modal-fade__ZWUyZ {
3565
+ .Modal_modal__ZTRjZ.Modal_left__NWIxM[data-exiting] {
3566
+ animation: Modal_modal-left__MWY5M 200ms reverse ease-out;
3567
+ }
3568
+ .Modal_modal__ZTRjZ.Modal_right__MGNkY[data-entering] {
3569
+ animation: Modal_modal-right__OWVlM 200ms ease-out;
3570
+ }
3571
+ .Modal_modal__ZTRjZ.Modal_right__MGNkY[data-exiting] {
3572
+ animation: Modal_modal-right__OWVlM 200ms reverse ease-in;
3573
+ }
3574
+ .Modal_modal__ZTRjZ.Modal_top__ZmViY[data-entering] {
3575
+ animation: Modal_modal-top__NDc4M 200ms ease-out;
3576
+ }
3577
+ .Modal_modal__ZTRjZ.Modal_top__ZmViY[data-exiting] {
3578
+ animation: Modal_modal-top__NDc4M 200ms reverse ease-in;
3579
+ }
3580
+ .Modal_modal__ZTRjZ.Modal_bottom__Zjg4M[data-entering] {
3581
+ animation: Modal_modal-bottom__YTE1Z 200ms ease-out;
3582
+ }
3583
+ .Modal_modal__ZTRjZ.Modal_bottom__Zjg4M[data-exiting] {
3584
+ animation: Modal_modal-bottom__YTE1Z 200ms reverse ease-in;
3585
+ }
3586
+ .Modal_modal__ZTRjZ.Modal_fullscreen__NmZiM[data-entering] {
3587
+ animation: Modal_modal-fade-in__MDBkZ 200ms ease-out;
3588
+ }
3589
+ @keyframes Modal_modal-fade-in__MDBkZ {
3518
3590
  from {
3519
3591
  opacity: 0;
3520
3592
  }
@@ -3522,7 +3594,7 @@ body a.Button_button__N2NhN {
3522
3594
  opacity: 1;
3523
3595
  }
3524
3596
  }
3525
- @keyframes Modal_modal-zoom__MDZmY {
3597
+ @keyframes Modal_modal-zoom__MmU0M {
3526
3598
  from {
3527
3599
  transform: scale(0.8);
3528
3600
  }
@@ -3530,21 +3602,37 @@ body a.Button_button__N2NhN {
3530
3602
  transform: scale(1);
3531
3603
  }
3532
3604
  }
3533
-
3534
- /* virtual-css:css:3bfbb09f24953e4c776b7494b4f2e619 */
3535
- .MobileMenuButton_modal__YjAxN,
3536
- .MobileMenuButton_dialog__Mzc5Y {
3537
- width: 100dvw !important;
3538
- height: 100dvh !important;
3539
- overflow: hidden;
3605
+ @keyframes Modal_modal-left__MWY5M {
3606
+ from {
3607
+ transform: translateX(-100%);
3608
+ }
3609
+ to {
3610
+ transform: translateX(0);
3611
+ }
3540
3612
  }
3541
- .MobileMenuButton_dialog__Mzc5Y {
3542
- border: 0;
3543
- border-radius: 0;
3544
- box-shadow: none;
3613
+ @keyframes Modal_modal-right__OWVlM {
3614
+ from {
3615
+ transform: translateX(100%);
3616
+ }
3617
+ to {
3618
+ transform: translateX(0);
3619
+ }
3545
3620
  }
3546
- .MobileMenuButton_content__MjQ3N {
3547
- overflow: auto;
3621
+ @keyframes Modal_modal-top__NDc4M {
3622
+ from {
3623
+ transform: translateY(-100%);
3624
+ }
3625
+ to {
3626
+ transform: translateX(0);
3627
+ }
3628
+ }
3629
+ @keyframes Modal_modal-bottom__YTE1Z {
3630
+ from {
3631
+ transform: translateY(100%);
3632
+ }
3633
+ to {
3634
+ transform: translateX(0);
3635
+ }
3548
3636
  }
3549
3637
 
3550
3638
  /* virtual-css:css:f06faaaaad4324b9459c87ab9d58d827 */