@revikornmann/muka-ui 0.45.1 → 0.45.2

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.
@@ -3413,223 +3413,399 @@ body {
3413
3413
  }
3414
3414
 
3415
3415
 
3416
- /* Thumbnail */
3417
- /* Thumbnail Component Styles - Using Muka Design Tokens */
3416
+ /* Tile */
3417
+ /* Tile Component Styles - Using Muka Design Tokens */
3418
3418
 
3419
- .muka-thumbnail {
3420
- position: relative;
3421
- flex-shrink: 0;
3422
- }
3419
+ /* ─── Base ────────────────────────────────────────────── */
3423
3420
 
3424
- /* The frame carries the border, background and shape clip. Keeping it separate
3425
- from the root lets the remove (×) button sit outside the clip (needed for the
3426
- circular/ellipse shape, whose corners would otherwise clip the button). */
3427
- .muka-thumbnail__frame {
3428
- position: absolute;
3429
- inset: 0;
3430
- overflow: hidden;
3431
- border: var(--border-width-regular, 1px) solid var(--color-black-alpha-3);
3432
- border-radius: var(--border-radius-lg);
3433
- background-color: var(--color-surface-level1);
3421
+ .muka-tile {
3422
+ display: flex;
3423
+ color: var(--color-text-default-default);
3434
3424
  }
3435
3425
 
3436
- /* ─── Shapes ──────────────────────────────────────────── */
3437
- .muka-thumbnail--4-3 {
3438
- width: 160px;
3439
- height: 120px;
3426
+ .muka-tile--interactive {
3427
+ cursor: pointer;
3428
+ user-select: none;
3440
3429
  }
3441
3430
 
3442
- .muka-thumbnail--1-1 {
3443
- width: 120px;
3444
- height: 120px;
3431
+ .muka-tile--interactive:focus-visible {
3432
+ outline: 2px solid var(--color-border-focus);
3433
+ outline-offset: 2px;
3434
+ border-radius: var(--border-radius-lg);
3445
3435
  }
3446
3436
 
3447
- .muka-thumbnail--ellipse {
3448
- width: 120px;
3449
- height: 120px;
3450
- }
3437
+ /* ─── Image position variants ─────────────────────────── */
3451
3438
 
3452
- /* Fluid: fill the parent's width; the shape sets the height via aspect-ratio. */
3453
- .muka-thumbnail--fluid {
3454
- width: 100%;
3455
- height: auto;
3456
- aspect-ratio: 1 / 1;
3439
+ .muka-tile--image-top {
3440
+ flex-direction: column;
3457
3441
  }
3458
3442
 
3459
- .muka-thumbnail--fluid.muka-thumbnail--4-3 {
3460
- aspect-ratio: 4 / 3;
3443
+ .muka-tile--image-left {
3444
+ flex-direction: row;
3461
3445
  }
3462
3446
 
3463
- .muka-thumbnail--ellipse .muka-thumbnail__frame {
3464
- border-radius: var(--border-radius-full);
3447
+ .muka-tile--image-right {
3448
+ flex-direction: row;
3465
3449
  }
3466
3450
 
3467
- /* Image fills the frame, cropped to cover. Sits at scale(1) by default so the
3468
- interactive hover zoom has a clean origin. */
3469
- .muka-thumbnail__image {
3470
- position: absolute;
3471
- inset: 0;
3472
- width: 100%;
3473
- height: 100%;
3474
- object-fit: cover;
3475
- display: block;
3476
- transform-origin: center;
3477
- /* Micro-interaction: hover zoom eases out over the "micro" duration. */
3478
- transition: transform var(--motion-duration-micro) var(--motion-easing-enter);
3479
- }
3451
+ /* ─── Gap by size (top) ───────────────────────────────── */
3480
3452
 
3481
- /* ─── Interactive (click-to-enlarge) ──────────────────── */
3482
- .muka-thumbnail__trigger {
3483
- position: absolute;
3484
- inset: 0;
3485
- padding: 0;
3486
- border: 0;
3487
- background: none;
3488
- cursor: pointer;
3489
- overflow: hidden;
3453
+ .muka-tile--image-top.muka-tile--lg {
3454
+ gap: var(--spacing-6);
3490
3455
  }
3491
3456
 
3492
- .muka-thumbnail__trigger:focus-visible {
3493
- outline: 2px solid var(--color-border-focus);
3494
- outline-offset: -2px;
3457
+ .muka-tile--image-top.muka-tile--md {
3458
+ gap: var(--spacing-6);
3459
+ width: 320px;
3495
3460
  }
3496
3461
 
3497
- /* On hover the image scales up ~8px (160px → 168px) with an ease-out feel. */
3498
- .muka-thumbnail--interactive:hover .muka-thumbnail__image {
3499
- transform: scale(1.05);
3462
+ .muka-tile--image-top.muka-tile--sm {
3463
+ gap: var(--spacing-4);
3464
+ min-width: 120px;
3500
3465
  }
3501
3466
 
3502
- /* ─── Loading overlay + progress donut ────────────────── */
3503
- .muka-thumbnail__overlay {
3504
- position: absolute;
3505
- inset: 0;
3506
- display: flex;
3467
+ /* ─── Gap by size (left/right) ────────────────────────── */
3468
+
3469
+ .muka-tile--image-left.muka-tile--lg,
3470
+ .muka-tile--image-right.muka-tile--lg {
3471
+ gap: var(--spacing-6);
3507
3472
  align-items: center;
3508
- justify-content: center;
3509
- background-color: var(--dialog-color-backdrop);
3510
3473
  }
3511
3474
 
3512
- .muka-thumbnail__progress {
3513
- width: 40px;
3514
- height: 40px;
3475
+ .muka-tile--image-left.muka-tile--md,
3476
+ .muka-tile--image-right.muka-tile--md {
3477
+ gap: var(--spacing-6);
3478
+ align-items: center;
3515
3479
  }
3516
3480
 
3517
- /* ─── Error / corrupt state ───────────────────────────── */
3518
- .muka-thumbnail--error .muka-thumbnail__frame {
3519
- background-color: var(--alias-color-state-error-muted);
3520
- border-color: var(--alias-color-state-error-default);
3481
+ .muka-tile--image-left.muka-tile--sm,
3482
+ .muka-tile--image-right.muka-tile--sm {
3483
+ gap: var(--spacing-4);
3484
+ align-items: flex-start;
3521
3485
  }
3522
3486
 
3523
- .muka-thumbnail__error {
3524
- position: absolute;
3525
- inset: 0;
3487
+ /* ─── Photos container ────────────────────────────────── */
3488
+
3489
+ .muka-tile__photos {
3490
+ position: relative;
3491
+ flex-shrink: 0;
3492
+ overflow: hidden;
3526
3493
  display: flex;
3527
3494
  flex-direction: column;
3528
- align-items: center;
3529
- justify-content: center;
3530
- gap: var(--spacing-2);
3531
- padding: var(--spacing-3);
3532
- text-align: center;
3495
+ isolation: isolate;
3533
3496
  }
3534
3497
 
3535
- .muka-thumbnail__error-icon {
3536
- color: var(--alert-color-error-accent);
3498
+ /* Photos border radius by size */
3499
+ .muka-tile--lg .muka-tile__photos,
3500
+ .muka-tile--md .muka-tile__photos {
3501
+ border-radius: var(--border-radius-lg);
3537
3502
  }
3538
3503
 
3539
- .muka-thumbnail__caption {
3540
- max-width: 100%;
3541
- overflow: hidden;
3542
- text-overflow: ellipsis;
3543
- white-space: nowrap;
3544
- color: var(--alert-color-error-accent);
3545
- font-family: var(--text-body-sm-regular-fontFamily);
3546
- font-size: var(--text-body-sm-regular-fontSize);
3547
- font-weight: var(--text-body-sm-regular-fontWeight);
3548
- line-height: var(--text-body-sm-regular-lineHeight);
3504
+ .muka-tile--sm .muka-tile__photos {
3505
+ border-radius: var(--border-radius-md);
3549
3506
  }
3550
3507
 
3551
- /* ─── Remove (×) button ───────────────────────────────── */
3552
- .muka-thumbnail__remove {
3553
- position: absolute;
3554
- top: var(--spacing-2);
3555
- right: var(--spacing-2);
3556
- display: flex;
3557
- align-items: center;
3558
- justify-content: center;
3559
- width: var(--size-2xl);
3560
- height: var(--size-2xl);
3561
- padding: 0;
3562
- color: var(--button-color-tertiary-foreground-default);
3563
- background-color: var(--button-color-tertiary-background-default);
3564
- border: var(--border-width-regular, 1px) solid var(--button-color-tertiary-border-default);
3565
- border-radius: var(--border-radius-lg);
3566
- cursor: pointer;
3567
- transition: background-color var(--motion-duration-micro) var(--motion-easing-enter),
3568
- border-color var(--motion-duration-micro) var(--motion-easing-enter);
3508
+ /* Photos sizing: top layout */
3509
+ .muka-tile--image-top .muka-tile__photos {
3510
+ width: 100%;
3569
3511
  }
3570
3512
 
3571
- .muka-thumbnail__remove:hover {
3572
- color: var(--button-color-tertiary-foreground-hover);
3573
- background-color: var(--button-color-tertiary-background-hover);
3574
- border-color: var(--button-color-tertiary-border-hover);
3513
+ /* Photos sizing: left/right large */
3514
+ .muka-tile--image-left.muka-tile--lg .muka-tile__photos,
3515
+ .muka-tile--image-right.muka-tile--lg .muka-tile__photos {
3516
+ width: 520px;
3575
3517
  }
3576
3518
 
3577
- .muka-thumbnail__remove:active {
3578
- color: var(--button-color-tertiary-foreground-pressed);
3579
- background-color: var(--button-color-tertiary-background-pressed);
3580
- border-color: var(--button-color-tertiary-border-pressed);
3519
+ /* Photos sizing: left/right medium */
3520
+ .muka-tile--image-left.muka-tile--md .muka-tile__photos,
3521
+ .muka-tile--image-right.muka-tile--md .muka-tile__photos {
3522
+ width: 320px;
3581
3523
  }
3582
3524
 
3583
- .muka-thumbnail__remove:focus-visible {
3584
- outline: 2px solid var(--color-border-focus);
3585
- outline-offset: 2px;
3525
+ /* Photos sizing: left/right small (single 80x80 thumbnail) */
3526
+ .muka-tile--image-left.muka-tile--sm .muka-tile__photos,
3527
+ .muka-tile--image-right.muka-tile--sm .muka-tile__photos {
3528
+ width: 80px;
3529
+ align-self: stretch;
3586
3530
  }
3587
3531
 
3588
- /* ─── Reduced motion ──────────────────────────────────── */
3589
- @media (prefers-reduced-motion: reduce) {
3590
- .muka-thumbnail__image,
3591
- .muka-thumbnail__remove {
3592
- transition: none;
3593
- }
3532
+ /* ─── Main photo ──────────────────────────────────────── */
3594
3533
 
3595
- .muka-thumbnail--interactive:hover .muka-thumbnail__image {
3596
- transform: none;
3597
- }
3534
+ .muka-tile__photo-main {
3535
+ position: relative;
3536
+ width: 100%;
3537
+ overflow: hidden;
3538
+ flex-shrink: 0;
3598
3539
  }
3599
3540
 
3600
-
3601
- /* Textarea */
3602
- /* Textarea Component Styles - Using Muka Design Tokens */
3603
-
3604
- .muka-textarea {
3605
- display: inline-flex;
3606
- flex-direction: column;
3607
- gap: var(--spacing-2);
3541
+ /* 16:9 aspect for lg and md */
3542
+ .muka-tile--lg .muka-tile__photo-main,
3543
+ .muka-tile--md .muka-tile__photo-main {
3544
+ aspect-ratio: 1280 / 720;
3608
3545
  }
3609
3546
 
3610
- /* Label */
3611
- .muka-textarea__label {
3612
- color: var(--color-text-default-default);
3613
- cursor: pointer;
3547
+ /* 1:1 aspect for top + sm */
3548
+ .muka-tile--image-top.muka-tile--sm .muka-tile__photo-main {
3549
+ aspect-ratio: 1 / 1;
3614
3550
  }
3615
3551
 
3616
- .muka-textarea__label--sm {
3617
- font-family: var(--text-label-sm-semibold-fontFamily);
3618
- font-weight: var(--text-label-sm-semibold-fontWeight);
3619
- font-size: var(--text-label-sm-semibold-fontSize);
3620
- line-height: var(--text-label-sm-semibold-lineHeight);
3552
+ /* Fixed size for left/right + sm */
3553
+ .muka-tile--image-left.muka-tile--sm .muka-tile__photo-main,
3554
+ .muka-tile--image-right.muka-tile--sm .muka-tile__photo-main {
3555
+ width: 80px;
3556
+ height: 80px;
3557
+ aspect-ratio: auto;
3621
3558
  }
3622
3559
 
3623
- .muka-textarea__label--md {
3624
- font-family: var(--text-label-md-semibold-fontFamily);
3625
- font-weight: var(--text-label-md-semibold-fontWeight);
3626
- font-size: var(--text-label-md-semibold-fontSize);
3627
- line-height: var(--text-label-md-semibold-lineHeight);
3560
+ .muka-tile__photo-main img {
3561
+ width: 100%;
3562
+ height: 100%;
3563
+ object-fit: cover;
3564
+ display: block;
3628
3565
  }
3629
3566
 
3630
- .muka-textarea__label--lg {
3631
- font-family: var(--text-label-lg-semibold-fontFamily);
3632
- font-weight: var(--text-label-lg-semibold-fontWeight);
3567
+ /* ─── Favourite overlay ───────────────────────────────── */
3568
+
3569
+ .muka-tile__favourite {
3570
+ position: absolute;
3571
+ z-index: 3;
3572
+ }
3573
+
3574
+ .muka-tile--lg .muka-tile__favourite,
3575
+ .muka-tile--md .muka-tile__favourite {
3576
+ top: var(--spacing-4);
3577
+ right: var(--spacing-4);
3578
+ }
3579
+
3580
+ .muka-tile--image-top.muka-tile--sm .muka-tile__favourite {
3581
+ top: var(--spacing-1);
3582
+ right: var(--spacing-1);
3583
+ }
3584
+
3585
+ /* ─── Thumbnails ──────────────────────────────────────── */
3586
+
3587
+ .muka-tile__thumbnails {
3588
+ display: flex;
3589
+ gap: 2px;
3590
+ overflow: hidden;
3591
+ flex-shrink: 0;
3592
+ height: 80px;
3593
+ }
3594
+
3595
+ .muka-tile__thumbnail {
3596
+ width: 80px;
3597
+ height: 80px;
3598
+ flex-shrink: 0;
3599
+ overflow: hidden;
3600
+ }
3601
+
3602
+ .muka-tile__thumbnail img {
3603
+ width: 100%;
3604
+ height: 100%;
3605
+ object-fit: cover;
3606
+ display: block;
3607
+ }
3608
+
3609
+ /* Gap between main photo and thumbnails */
3610
+ .muka-tile__photos > .muka-tile__photo-main + .muka-tile__thumbnails {
3611
+ margin-top: 2px;
3612
+ }
3613
+
3614
+ /* ─── Content section ─────────────────────────────────── */
3615
+
3616
+ .muka-tile__content {
3617
+ display: flex;
3618
+ flex-direction: column;
3619
+ flex: 1;
3620
+ min-width: 0;
3621
+ }
3622
+
3623
+ /* Top layout: content has horizontal padding */
3624
+ .muka-tile--image-top.muka-tile--lg .muka-tile__content {
3625
+ padding: 0 var(--spacing-3);
3626
+ gap: var(--spacing-1);
3627
+ }
3628
+
3629
+ .muka-tile--image-top.muka-tile--md .muka-tile__content {
3630
+ padding: 0 var(--spacing-3);
3631
+ gap: var(--spacing-2);
3632
+ }
3633
+
3634
+ .muka-tile--image-top.muka-tile--sm .muka-tile__content {
3635
+ gap: var(--spacing-2);
3636
+ }
3637
+
3638
+ /* Left/right layout: content grows to fill space */
3639
+ .muka-tile--image-left .muka-tile__content,
3640
+ .muka-tile--image-right .muka-tile__content {
3641
+ gap: var(--spacing-3);
3642
+ }
3643
+
3644
+ .muka-tile--image-left.muka-tile--lg .muka-tile__content,
3645
+ .muka-tile--image-right.muka-tile--lg .muka-tile__content {
3646
+ padding: 0 var(--spacing-3);
3647
+ }
3648
+
3649
+ .muka-tile--image-left.muka-tile--md .muka-tile__content,
3650
+ .muka-tile--image-right.muka-tile--md .muka-tile__content {
3651
+ padding: var(--spacing-2) var(--spacing-3);
3652
+ }
3653
+
3654
+ .muka-tile--image-left.muka-tile--sm .muka-tile__content,
3655
+ .muka-tile--image-right.muka-tile--sm .muka-tile__content {
3656
+ gap: var(--spacing-2);
3657
+ }
3658
+
3659
+ /* ─── Header (heading row + price) ────────────────────── */
3660
+
3661
+ .muka-tile__header {
3662
+ display: flex;
3663
+ align-items: flex-start;
3664
+ gap: var(--spacing-4);
3665
+ }
3666
+
3667
+ /* Small horizontal: row with text and action */
3668
+ .muka-tile--sm:not(.muka-tile--image-top) .muka-tile__header {
3669
+ gap: var(--spacing-2);
3670
+ align-items: center;
3671
+ padding-top: var(--spacing-1);
3672
+ }
3673
+
3674
+ /* ─── Text group ──────────────────────────────────────── */
3675
+
3676
+ .muka-tile__text {
3677
+ display: flex;
3678
+ flex-direction: column;
3679
+ flex: 1;
3680
+ min-width: 0;
3681
+ gap: var(--spacing-2);
3682
+ }
3683
+
3684
+ /* ─── Heading typography ──────────────────────────────── */
3685
+
3686
+ .muka-tile__heading {
3687
+ margin: 0;
3688
+ }
3689
+
3690
+ .muka-tile--lg .muka-tile__heading {
3691
+ font-family: var(--text-label-2xl-semibold-fontFamily);
3692
+ font-weight: var(--text-label-2xl-semibold-fontWeight);
3693
+ font-size: var(--text-label-2xl-semibold-fontSize);
3694
+ line-height: var(--text-label-2xl-semibold-lineHeight);
3695
+ color: var(--color-text-default-default);
3696
+ }
3697
+
3698
+ .muka-tile--md .muka-tile__heading {
3699
+ font-family: var(--text-label-xl-semibold-fontFamily);
3700
+ font-weight: var(--text-label-xl-semibold-fontWeight);
3701
+ font-size: var(--text-label-xl-semibold-fontSize);
3702
+ line-height: var(--text-label-xl-semibold-lineHeight);
3703
+ color: var(--color-text-default-default);
3704
+ }
3705
+
3706
+ .muka-tile--sm .muka-tile__heading {
3707
+ font-family: var(--text-label-lg-bold-fontFamily);
3708
+ font-weight: var(--text-label-lg-bold-fontWeight);
3709
+ font-size: var(--text-label-lg-bold-fontSize);
3710
+ line-height: var(--text-label-lg-bold-lineHeight);
3711
+ color: var(--color-text-default-default);
3712
+ }
3713
+
3714
+ /* ─── Subheading typography ───────────────────────────── */
3715
+
3716
+ .muka-tile__subheading {
3717
+ margin: 0;
3718
+ color: var(--color-text-subtle-default);
3719
+ }
3720
+
3721
+ .muka-tile--lg .muka-tile__subheading {
3722
+ font-family: var(--text-subheading-md-fontFamily);
3723
+ font-weight: var(--text-subheading-md-fontWeight);
3724
+ font-size: var(--text-subheading-md-fontSize);
3725
+ line-height: var(--text-subheading-md-lineHeight);
3726
+ }
3727
+
3728
+ .muka-tile--md .muka-tile__subheading,
3729
+ .muka-tile--sm .muka-tile__subheading {
3730
+ font-family: var(--text-subheading-sm-fontFamily);
3731
+ font-weight: var(--text-subheading-sm-fontWeight);
3732
+ font-size: var(--text-subheading-sm-fontSize);
3733
+ line-height: var(--text-subheading-sm-lineHeight);
3734
+ }
3735
+
3736
+ /* ─── Description typography ──────────────────────────── */
3737
+
3738
+ .muka-tile__description {
3739
+ margin: 0;
3740
+ color: var(--color-text-default-default);
3741
+ }
3742
+
3743
+ .muka-tile--lg .muka-tile__description {
3744
+ font-family: var(--text-body-lg-regular-fontFamily);
3745
+ font-weight: var(--text-body-lg-regular-fontWeight);
3746
+ font-size: var(--text-body-lg-regular-fontSize);
3747
+ line-height: var(--text-body-lg-regular-lineHeight);
3748
+ }
3749
+
3750
+ .muka-tile--md .muka-tile__description,
3751
+ .muka-tile--sm .muka-tile__description {
3752
+ font-family: var(--text-body-base-regular-fontFamily);
3753
+ font-weight: var(--text-body-base-regular-fontWeight);
3754
+ font-size: var(--text-body-base-regular-fontSize);
3755
+ line-height: var(--text-body-base-regular-lineHeight);
3756
+ }
3757
+
3758
+ /* Description overflow for medium */
3759
+ .muka-tile--md .muka-tile__description {
3760
+ overflow: hidden;
3761
+ text-overflow: ellipsis;
3762
+ }
3763
+
3764
+ /* ─── Price slot ──────────────────────────────────────── */
3765
+
3766
+ .muka-tile__price {
3767
+ flex-shrink: 0;
3768
+ }
3769
+
3770
+ /* ─── Action slot ─────────────────────────────────────── */
3771
+
3772
+ .muka-tile__action {
3773
+ flex-shrink: 0;
3774
+ }
3775
+
3776
+
3777
+ /* Textarea */
3778
+ /* Textarea Component Styles - Using Muka Design Tokens */
3779
+
3780
+ .muka-textarea {
3781
+ display: inline-flex;
3782
+ flex-direction: column;
3783
+ gap: var(--spacing-2);
3784
+ }
3785
+
3786
+ /* Label */
3787
+ .muka-textarea__label {
3788
+ color: var(--color-text-default-default);
3789
+ cursor: pointer;
3790
+ }
3791
+
3792
+ .muka-textarea__label--sm {
3793
+ font-family: var(--text-label-sm-semibold-fontFamily);
3794
+ font-weight: var(--text-label-sm-semibold-fontWeight);
3795
+ font-size: var(--text-label-sm-semibold-fontSize);
3796
+ line-height: var(--text-label-sm-semibold-lineHeight);
3797
+ }
3798
+
3799
+ .muka-textarea__label--md {
3800
+ font-family: var(--text-label-md-semibold-fontFamily);
3801
+ font-weight: var(--text-label-md-semibold-fontWeight);
3802
+ font-size: var(--text-label-md-semibold-fontSize);
3803
+ line-height: var(--text-label-md-semibold-lineHeight);
3804
+ }
3805
+
3806
+ .muka-textarea__label--lg {
3807
+ font-family: var(--text-label-lg-semibold-fontFamily);
3808
+ font-weight: var(--text-label-lg-semibold-fontWeight);
3633
3809
  font-size: var(--text-label-lg-semibold-fontSize);
3634
3810
  line-height: var(--text-label-lg-semibold-lineHeight);
3635
3811
  }
@@ -4034,364 +4210,188 @@ body {
4034
4210
  }
4035
4211
 
4036
4212
 
4037
- /* Tile */
4038
- /* Tile Component Styles - Using Muka Design Tokens */
4039
-
4040
- /* ─── Base ────────────────────────────────────────────── */
4213
+ /* Thumbnail */
4214
+ /* Thumbnail Component Styles - Using Muka Design Tokens */
4041
4215
 
4042
- .muka-tile {
4043
- display: flex;
4044
- color: var(--color-text-default-default);
4216
+ .muka-thumbnail {
4217
+ position: relative;
4218
+ flex-shrink: 0;
4045
4219
  }
4046
4220
 
4047
- .muka-tile--interactive {
4048
- cursor: pointer;
4049
- user-select: none;
4050
- }
4051
-
4052
- .muka-tile--interactive:focus-visible {
4053
- outline: 2px solid var(--color-border-focus);
4054
- outline-offset: 2px;
4055
- border-radius: var(--border-radius-lg);
4056
- }
4057
-
4058
- /* ─── Image position variants ─────────────────────────── */
4059
-
4060
- .muka-tile--image-top {
4061
- flex-direction: column;
4062
- }
4063
-
4064
- .muka-tile--image-left {
4065
- flex-direction: row;
4066
- }
4067
-
4068
- .muka-tile--image-right {
4069
- flex-direction: row;
4070
- }
4071
-
4072
- /* ─── Gap by size (top) ───────────────────────────────── */
4073
-
4074
- .muka-tile--image-top.muka-tile--lg {
4075
- gap: var(--spacing-6);
4076
- }
4077
-
4078
- .muka-tile--image-top.muka-tile--md {
4079
- gap: var(--spacing-6);
4080
- width: 320px;
4081
- }
4082
-
4083
- .muka-tile--image-top.muka-tile--sm {
4084
- gap: var(--spacing-4);
4085
- min-width: 120px;
4086
- }
4087
-
4088
- /* ─── Gap by size (left/right) ────────────────────────── */
4089
-
4090
- .muka-tile--image-left.muka-tile--lg,
4091
- .muka-tile--image-right.muka-tile--lg {
4092
- gap: var(--spacing-6);
4093
- align-items: center;
4094
- }
4095
-
4096
- .muka-tile--image-left.muka-tile--md,
4097
- .muka-tile--image-right.muka-tile--md {
4098
- gap: var(--spacing-6);
4099
- align-items: center;
4100
- }
4101
-
4102
- .muka-tile--image-left.muka-tile--sm,
4103
- .muka-tile--image-right.muka-tile--sm {
4104
- gap: var(--spacing-4);
4105
- align-items: flex-start;
4106
- }
4107
-
4108
- /* ─── Photos container ────────────────────────────────── */
4109
-
4110
- .muka-tile__photos {
4111
- position: relative;
4112
- flex-shrink: 0;
4221
+ /* The frame carries the border, background and shape clip. Keeping it separate
4222
+ from the root lets the remove (×) button sit outside the clip (needed for the
4223
+ circular/ellipse shape, whose corners would otherwise clip the button). */
4224
+ .muka-thumbnail__frame {
4225
+ position: absolute;
4226
+ inset: 0;
4113
4227
  overflow: hidden;
4114
- display: flex;
4115
- flex-direction: column;
4116
- isolation: isolate;
4117
- }
4118
-
4119
- /* Photos border radius by size */
4120
- .muka-tile--lg .muka-tile__photos,
4121
- .muka-tile--md .muka-tile__photos {
4228
+ border: var(--border-width-regular, 1px) solid var(--color-black-alpha-3);
4122
4229
  border-radius: var(--border-radius-lg);
4230
+ background-color: var(--color-surface-level1);
4123
4231
  }
4124
4232
 
4125
- .muka-tile--sm .muka-tile__photos {
4126
- border-radius: var(--border-radius-md);
4127
- }
4128
-
4129
- /* Photos sizing: top layout */
4130
- .muka-tile--image-top .muka-tile__photos {
4131
- width: 100%;
4132
- }
4133
-
4134
- /* Photos sizing: left/right large */
4135
- .muka-tile--image-left.muka-tile--lg .muka-tile__photos,
4136
- .muka-tile--image-right.muka-tile--lg .muka-tile__photos {
4137
- width: 520px;
4233
+ /* ─── Shapes ──────────────────────────────────────────── */
4234
+ .muka-thumbnail--4-3 {
4235
+ width: 160px;
4236
+ height: 120px;
4138
4237
  }
4139
4238
 
4140
- /* Photos sizing: left/right medium */
4141
- .muka-tile--image-left.muka-tile--md .muka-tile__photos,
4142
- .muka-tile--image-right.muka-tile--md .muka-tile__photos {
4143
- width: 320px;
4239
+ .muka-thumbnail--1-1 {
4240
+ width: 120px;
4241
+ height: 120px;
4144
4242
  }
4145
4243
 
4146
- /* Photos sizing: left/right small (single 80x80 thumbnail) */
4147
- .muka-tile--image-left.muka-tile--sm .muka-tile__photos,
4148
- .muka-tile--image-right.muka-tile--sm .muka-tile__photos {
4149
- width: 80px;
4150
- align-self: stretch;
4244
+ .muka-thumbnail--ellipse {
4245
+ width: 120px;
4246
+ height: 120px;
4151
4247
  }
4152
4248
 
4153
- /* ─── Main photo ──────────────────────────────────────── */
4154
-
4155
- .muka-tile__photo-main {
4156
- position: relative;
4249
+ /* Fluid: fill the parent's width; the shape sets the height via aspect-ratio. */
4250
+ .muka-thumbnail--fluid {
4157
4251
  width: 100%;
4158
- overflow: hidden;
4159
- flex-shrink: 0;
4160
- }
4161
-
4162
- /* 16:9 aspect for lg and md */
4163
- .muka-tile--lg .muka-tile__photo-main,
4164
- .muka-tile--md .muka-tile__photo-main {
4165
- aspect-ratio: 1280 / 720;
4252
+ height: auto;
4253
+ aspect-ratio: 1 / 1;
4166
4254
  }
4167
4255
 
4168
- /* 1:1 aspect for top + sm */
4169
- .muka-tile--image-top.muka-tile--sm .muka-tile__photo-main {
4170
- aspect-ratio: 1 / 1;
4256
+ .muka-thumbnail--fluid.muka-thumbnail--4-3 {
4257
+ aspect-ratio: 4 / 3;
4171
4258
  }
4172
4259
 
4173
- /* Fixed size for left/right + sm */
4174
- .muka-tile--image-left.muka-tile--sm .muka-tile__photo-main,
4175
- .muka-tile--image-right.muka-tile--sm .muka-tile__photo-main {
4176
- width: 80px;
4177
- height: 80px;
4178
- aspect-ratio: auto;
4260
+ .muka-thumbnail--ellipse .muka-thumbnail__frame {
4261
+ border-radius: var(--border-radius-full);
4179
4262
  }
4180
4263
 
4181
- .muka-tile__photo-main img {
4264
+ /* Image fills the frame, cropped to cover. Sits at scale(1) by default so the
4265
+ interactive hover zoom has a clean origin. */
4266
+ .muka-thumbnail__image {
4267
+ position: absolute;
4268
+ inset: 0;
4182
4269
  width: 100%;
4183
4270
  height: 100%;
4184
4271
  object-fit: cover;
4185
4272
  display: block;
4273
+ transform-origin: center;
4274
+ /* Micro-interaction: hover zoom eases out over the "micro" duration. */
4275
+ transition: transform var(--motion-duration-micro) var(--motion-easing-enter);
4186
4276
  }
4187
4277
 
4188
- /* ─── Favourite overlay ───────────────────────────────── */
4189
-
4190
- .muka-tile__favourite {
4278
+ /* ─── Interactive (click-to-enlarge) ──────────────────── */
4279
+ .muka-thumbnail__trigger {
4191
4280
  position: absolute;
4192
- z-index: 3;
4281
+ inset: 0;
4282
+ padding: 0;
4283
+ border: 0;
4284
+ background: none;
4285
+ cursor: pointer;
4286
+ overflow: hidden;
4193
4287
  }
4194
4288
 
4195
- .muka-tile--lg .muka-tile__favourite,
4196
- .muka-tile--md .muka-tile__favourite {
4197
- top: var(--spacing-4);
4198
- right: var(--spacing-4);
4289
+ .muka-thumbnail__trigger:focus-visible {
4290
+ outline: 2px solid var(--color-border-focus);
4291
+ outline-offset: -2px;
4199
4292
  }
4200
4293
 
4201
- .muka-tile--image-top.muka-tile--sm .muka-tile__favourite {
4202
- top: var(--spacing-1);
4203
- right: var(--spacing-1);
4294
+ /* On hover the image scales up ~8px (160px → 168px) with an ease-out feel. */
4295
+ .muka-thumbnail--interactive:hover .muka-thumbnail__image {
4296
+ transform: scale(1.05);
4204
4297
  }
4205
4298
 
4206
- /* ─── Thumbnails ──────────────────────────────────────── */
4207
-
4208
- .muka-tile__thumbnails {
4299
+ /* ─── Loading overlay + progress donut ────────────────── */
4300
+ .muka-thumbnail__overlay {
4301
+ position: absolute;
4302
+ inset: 0;
4209
4303
  display: flex;
4210
- gap: 2px;
4211
- overflow: hidden;
4212
- flex-shrink: 0;
4213
- height: 80px;
4214
- }
4215
-
4216
- .muka-tile__thumbnail {
4217
- width: 80px;
4218
- height: 80px;
4219
- flex-shrink: 0;
4220
- overflow: hidden;
4304
+ align-items: center;
4305
+ justify-content: center;
4306
+ background-color: var(--dialog-color-backdrop);
4221
4307
  }
4222
4308
 
4223
- .muka-tile__thumbnail img {
4224
- width: 100%;
4225
- height: 100%;
4226
- object-fit: cover;
4227
- display: block;
4309
+ .muka-thumbnail__progress {
4310
+ width: 40px;
4311
+ height: 40px;
4228
4312
  }
4229
4313
 
4230
- /* Gap between main photo and thumbnails */
4231
- .muka-tile__photos > .muka-tile__photo-main + .muka-tile__thumbnails {
4232
- margin-top: 2px;
4314
+ /* ─── Error / corrupt state ───────────────────────────── */
4315
+ .muka-thumbnail--error .muka-thumbnail__frame {
4316
+ background-color: var(--alias-color-state-error-muted);
4317
+ border-color: var(--alias-color-state-error-default);
4233
4318
  }
4234
4319
 
4235
- /* ─── Content section ─────────────────────────────────── */
4236
-
4237
- .muka-tile__content {
4320
+ .muka-thumbnail__error {
4321
+ position: absolute;
4322
+ inset: 0;
4238
4323
  display: flex;
4239
4324
  flex-direction: column;
4240
- flex: 1;
4241
- min-width: 0;
4242
- }
4243
-
4244
- /* Top layout: content has horizontal padding */
4245
- .muka-tile--image-top.muka-tile--lg .muka-tile__content {
4246
- padding: 0 var(--spacing-3);
4247
- gap: var(--spacing-1);
4248
- }
4249
-
4250
- .muka-tile--image-top.muka-tile--md .muka-tile__content {
4251
- padding: 0 var(--spacing-3);
4252
- gap: var(--spacing-2);
4253
- }
4254
-
4255
- .muka-tile--image-top.muka-tile--sm .muka-tile__content {
4325
+ align-items: center;
4326
+ justify-content: center;
4256
4327
  gap: var(--spacing-2);
4328
+ padding: var(--spacing-3);
4329
+ text-align: center;
4257
4330
  }
4258
4331
 
4259
- /* Left/right layout: content grows to fill space */
4260
- .muka-tile--image-left .muka-tile__content,
4261
- .muka-tile--image-right .muka-tile__content {
4262
- gap: var(--spacing-3);
4263
- }
4264
-
4265
- .muka-tile--image-left.muka-tile--lg .muka-tile__content,
4266
- .muka-tile--image-right.muka-tile--lg .muka-tile__content {
4267
- padding: 0 var(--spacing-3);
4268
- }
4269
-
4270
- .muka-tile--image-left.muka-tile--md .muka-tile__content,
4271
- .muka-tile--image-right.muka-tile--md .muka-tile__content {
4272
- padding: var(--spacing-2) var(--spacing-3);
4332
+ .muka-thumbnail__error-icon {
4333
+ color: var(--alert-color-error-accent);
4273
4334
  }
4274
4335
 
4275
- .muka-tile--image-left.muka-tile--sm .muka-tile__content,
4276
- .muka-tile--image-right.muka-tile--sm .muka-tile__content {
4277
- gap: var(--spacing-2);
4336
+ .muka-thumbnail__caption {
4337
+ max-width: 100%;
4338
+ overflow: hidden;
4339
+ text-overflow: ellipsis;
4340
+ white-space: nowrap;
4341
+ color: var(--alert-color-error-accent);
4342
+ font-family: var(--text-body-sm-regular-fontFamily);
4343
+ font-size: var(--text-body-sm-regular-fontSize);
4344
+ font-weight: var(--text-body-sm-regular-fontWeight);
4345
+ line-height: var(--text-body-sm-regular-lineHeight);
4278
4346
  }
4279
4347
 
4280
- /* ─── Header (heading row + price) ────────────────────── */
4281
-
4282
- .muka-tile__header {
4348
+ /* ─── Remove (×) button ───────────────────────────────── */
4349
+ .muka-thumbnail__remove {
4350
+ position: absolute;
4351
+ top: var(--spacing-2);
4352
+ right: var(--spacing-2);
4283
4353
  display: flex;
4284
- align-items: flex-start;
4285
- gap: var(--spacing-4);
4286
- }
4287
-
4288
- /* Small horizontal: row with text and action */
4289
- .muka-tile--sm:not(.muka-tile--image-top) .muka-tile__header {
4290
- gap: var(--spacing-2);
4291
4354
  align-items: center;
4292
- padding-top: var(--spacing-1);
4293
- }
4294
-
4295
- /* ─── Text group ──────────────────────────────────────── */
4296
-
4297
- .muka-tile__text {
4298
- display: flex;
4299
- flex-direction: column;
4300
- flex: 1;
4301
- min-width: 0;
4302
- gap: var(--spacing-2);
4303
- }
4304
-
4305
- /* ─── Heading typography ──────────────────────────────── */
4306
-
4307
- .muka-tile__heading {
4308
- margin: 0;
4309
- }
4310
-
4311
- .muka-tile--lg .muka-tile__heading {
4312
- font-family: var(--text-label-2xl-semibold-fontFamily);
4313
- font-weight: var(--text-label-2xl-semibold-fontWeight);
4314
- font-size: var(--text-label-2xl-semibold-fontSize);
4315
- line-height: var(--text-label-2xl-semibold-lineHeight);
4316
- color: var(--color-text-default-default);
4317
- }
4318
-
4319
- .muka-tile--md .muka-tile__heading {
4320
- font-family: var(--text-label-xl-semibold-fontFamily);
4321
- font-weight: var(--text-label-xl-semibold-fontWeight);
4322
- font-size: var(--text-label-xl-semibold-fontSize);
4323
- line-height: var(--text-label-xl-semibold-lineHeight);
4324
- color: var(--color-text-default-default);
4325
- }
4326
-
4327
- .muka-tile--sm .muka-tile__heading {
4328
- font-family: var(--text-label-lg-bold-fontFamily);
4329
- font-weight: var(--text-label-lg-bold-fontWeight);
4330
- font-size: var(--text-label-lg-bold-fontSize);
4331
- line-height: var(--text-label-lg-bold-lineHeight);
4332
- color: var(--color-text-default-default);
4333
- }
4334
-
4335
- /* ─── Subheading typography ───────────────────────────── */
4336
-
4337
- .muka-tile__subheading {
4338
- margin: 0;
4339
- color: var(--color-text-subtle-default);
4340
- }
4341
-
4342
- .muka-tile--lg .muka-tile__subheading {
4343
- font-family: var(--text-subheading-md-fontFamily);
4344
- font-weight: var(--text-subheading-md-fontWeight);
4345
- font-size: var(--text-subheading-md-fontSize);
4346
- line-height: var(--text-subheading-md-lineHeight);
4347
- }
4348
-
4349
- .muka-tile--md .muka-tile__subheading,
4350
- .muka-tile--sm .muka-tile__subheading {
4351
- font-family: var(--text-subheading-sm-fontFamily);
4352
- font-weight: var(--text-subheading-sm-fontWeight);
4353
- font-size: var(--text-subheading-sm-fontSize);
4354
- line-height: var(--text-subheading-sm-lineHeight);
4355
- }
4356
-
4357
- /* ─── Description typography ──────────────────────────── */
4358
-
4359
- .muka-tile__description {
4360
- margin: 0;
4361
- color: var(--color-text-default-default);
4362
- }
4363
-
4364
- .muka-tile--lg .muka-tile__description {
4365
- font-family: var(--text-body-lg-regular-fontFamily);
4366
- font-weight: var(--text-body-lg-regular-fontWeight);
4367
- font-size: var(--text-body-lg-regular-fontSize);
4368
- line-height: var(--text-body-lg-regular-lineHeight);
4369
- }
4370
-
4371
- .muka-tile--md .muka-tile__description,
4372
- .muka-tile--sm .muka-tile__description {
4373
- font-family: var(--text-body-base-regular-fontFamily);
4374
- font-weight: var(--text-body-base-regular-fontWeight);
4375
- font-size: var(--text-body-base-regular-fontSize);
4376
- line-height: var(--text-body-base-regular-lineHeight);
4355
+ justify-content: center;
4356
+ width: var(--size-2xl);
4357
+ height: var(--size-2xl);
4358
+ padding: 0;
4359
+ color: var(--button-color-tertiary-foreground-default);
4360
+ background-color: var(--button-color-tertiary-background-default);
4361
+ border: var(--border-width-regular, 1px) solid var(--button-color-tertiary-border-default);
4362
+ border-radius: var(--border-radius-lg);
4363
+ cursor: pointer;
4364
+ transition: background-color var(--motion-duration-micro) var(--motion-easing-enter),
4365
+ border-color var(--motion-duration-micro) var(--motion-easing-enter);
4377
4366
  }
4378
4367
 
4379
- /* Description overflow for medium */
4380
- .muka-tile--md .muka-tile__description {
4381
- overflow: hidden;
4382
- text-overflow: ellipsis;
4368
+ .muka-thumbnail__remove:hover {
4369
+ color: var(--button-color-tertiary-foreground-hover);
4370
+ background-color: var(--button-color-tertiary-background-hover);
4371
+ border-color: var(--button-color-tertiary-border-hover);
4383
4372
  }
4384
4373
 
4385
- /* ─── Price slot ──────────────────────────────────────── */
4374
+ .muka-thumbnail__remove:active {
4375
+ color: var(--button-color-tertiary-foreground-pressed);
4376
+ background-color: var(--button-color-tertiary-background-pressed);
4377
+ border-color: var(--button-color-tertiary-border-pressed);
4378
+ }
4386
4379
 
4387
- .muka-tile__price {
4388
- flex-shrink: 0;
4380
+ .muka-thumbnail__remove:focus-visible {
4381
+ outline: 2px solid var(--color-border-focus);
4382
+ outline-offset: 2px;
4389
4383
  }
4390
4384
 
4391
- /* ─── Action slot ─────────────────────────────────────── */
4385
+ /* ─── Reduced motion ──────────────────────────────────── */
4386
+ @media (prefers-reduced-motion: reduce) {
4387
+ .muka-thumbnail__image,
4388
+ .muka-thumbnail__remove {
4389
+ transition: none;
4390
+ }
4392
4391
 
4393
- .muka-tile__action {
4394
- flex-shrink: 0;
4392
+ .muka-thumbnail--interactive:hover .muka-thumbnail__image {
4393
+ transform: none;
4394
+ }
4395
4395
  }
4396
4396
 
4397
4397
 
@@ -4799,114 +4799,6 @@ body {
4799
4799
  }
4800
4800
 
4801
4801
 
4802
- /* SwipeActions */
4803
- /* SwipeActions Component Styles */
4804
-
4805
- .muka-swipe-actions {
4806
- position: relative;
4807
- overflow: hidden;
4808
- touch-action: pan-y;
4809
- -webkit-user-select: none;
4810
- user-select: none;
4811
- background-color: var(--color-surface-level3);
4812
- }
4813
-
4814
- .muka-swipe-actions--disabled {
4815
- touch-action: auto;
4816
- }
4817
-
4818
- /* ─── Row that holds the actual content ────────────────── */
4819
-
4820
- .muka-swipe-actions__row {
4821
- position: relative;
4822
- z-index: 1;
4823
- background-color: inherit;
4824
- will-change: transform;
4825
- }
4826
-
4827
- /* ─── Action panels — sit beneath the row ──────────────── */
4828
-
4829
- .muka-swipe-actions__panel {
4830
- position: absolute;
4831
- top: 0;
4832
- bottom: 0;
4833
- display: flex;
4834
- align-items: stretch;
4835
- z-index: 0;
4836
- }
4837
-
4838
- .muka-swipe-actions__panel--left {
4839
- left: 0;
4840
- }
4841
-
4842
- .muka-swipe-actions__panel--right {
4843
- right: 0;
4844
- }
4845
-
4846
- /* ─── Single action button ─────────────────────────────── */
4847
-
4848
- .muka-swipe-actions__button {
4849
- display: flex;
4850
- flex-direction: column;
4851
- align-items: center;
4852
- justify-content: center;
4853
- gap: var(--spacing-1);
4854
- border: none;
4855
- cursor: pointer;
4856
- padding: var(--spacing-2);
4857
- background-color: var(--color-surface-level2);
4858
- color: var(--color-text-default-default);
4859
- font-family: var(--text-label-sm-semibold-fontFamily);
4860
- font-weight: var(--text-label-sm-semibold-fontWeight);
4861
- font-size: var(--text-label-sm-semibold-fontSize);
4862
- line-height: var(--text-label-sm-semibold-lineHeight);
4863
- -webkit-tap-highlight-color: transparent;
4864
- transition: filter 0.12s ease;
4865
- }
4866
-
4867
- .muka-swipe-actions__button:hover {
4868
- filter: brightness(0.95);
4869
- }
4870
-
4871
- .muka-swipe-actions__button:focus-visible {
4872
- outline: 2px solid var(--color-action-default);
4873
- outline-offset: -2px;
4874
- }
4875
-
4876
- .muka-swipe-actions__button-icon {
4877
- display: inline-flex;
4878
- align-items: center;
4879
- justify-content: center;
4880
- }
4881
-
4882
- /* ─── Color variants ───────────────────────────────────── */
4883
-
4884
- .muka-swipe-actions__button--neutral {
4885
- background-color: var(--color-surface-level2);
4886
- color: var(--color-text-default-default);
4887
- }
4888
-
4889
- .muka-swipe-actions__button--primary {
4890
- background-color: var(--color-action-default);
4891
- color: var(--color-text-default-inverse);
4892
- }
4893
-
4894
- .muka-swipe-actions__button--success {
4895
- background-color: var(--color-state-success-default);
4896
- color: var(--color-text-default-inverse);
4897
- }
4898
-
4899
- .muka-swipe-actions__button--warning {
4900
- background-color: var(--color-state-warning-default);
4901
- color: var(--color-text-default-default);
4902
- }
4903
-
4904
- .muka-swipe-actions__button--destructive {
4905
- background-color: var(--color-state-error-default);
4906
- color: var(--color-text-default-inverse);
4907
- }
4908
-
4909
-
4910
4802
  /* Spinner */
4911
4803
  /* Spinner Component Styles */
4912
4804
 
@@ -14321,9 +14213,23 @@ button.muka-chat-photo-grid__tile:focus-visible {
14321
14213
  width: 100%;
14322
14214
  }
14323
14215
 
14216
+ /*
14217
+ * Many choices (a phone with seven options) would push the field and the step
14218
+ * footer off screen. The card gets a height limit and scrolls on its own, so
14219
+ * the prompt, the field and the footer stay in view.
14220
+ */
14324
14221
  .muka-chat-composer__choices-card {
14325
14222
  width: 100%;
14326
- overflow: hidden;
14223
+ max-height: 45dvh;
14224
+ overflow-x: hidden;
14225
+ overflow-y: auto;
14226
+ overscroll-behavior: contain;
14227
+ }
14228
+
14229
+ /* A choice is one short line, not a navigation row: compact padding. */
14230
+ .muka-chat-composer__choice.muka-listitem {
14231
+ align-items: center;
14232
+ padding-block: var(--spacing-3);
14327
14233
  }
14328
14234
 
14329
14235
  /* Choice rows: the ListItem is the interactive control; the Radio/Checkbox is
@@ -17001,3 +16907,111 @@ button.muka-chat-photo-grid__tile:focus-visible {
17001
16907
  border-bottom: none;
17002
16908
  }
17003
16909
 
16910
+
16911
+ /* SwipeActions */
16912
+ /* SwipeActions Component Styles */
16913
+
16914
+ .muka-swipe-actions {
16915
+ position: relative;
16916
+ overflow: hidden;
16917
+ touch-action: pan-y;
16918
+ -webkit-user-select: none;
16919
+ user-select: none;
16920
+ background-color: var(--color-surface-level3);
16921
+ }
16922
+
16923
+ .muka-swipe-actions--disabled {
16924
+ touch-action: auto;
16925
+ }
16926
+
16927
+ /* ─── Row that holds the actual content ────────────────── */
16928
+
16929
+ .muka-swipe-actions__row {
16930
+ position: relative;
16931
+ z-index: 1;
16932
+ background-color: inherit;
16933
+ will-change: transform;
16934
+ }
16935
+
16936
+ /* ─── Action panels — sit beneath the row ──────────────── */
16937
+
16938
+ .muka-swipe-actions__panel {
16939
+ position: absolute;
16940
+ top: 0;
16941
+ bottom: 0;
16942
+ display: flex;
16943
+ align-items: stretch;
16944
+ z-index: 0;
16945
+ }
16946
+
16947
+ .muka-swipe-actions__panel--left {
16948
+ left: 0;
16949
+ }
16950
+
16951
+ .muka-swipe-actions__panel--right {
16952
+ right: 0;
16953
+ }
16954
+
16955
+ /* ─── Single action button ─────────────────────────────── */
16956
+
16957
+ .muka-swipe-actions__button {
16958
+ display: flex;
16959
+ flex-direction: column;
16960
+ align-items: center;
16961
+ justify-content: center;
16962
+ gap: var(--spacing-1);
16963
+ border: none;
16964
+ cursor: pointer;
16965
+ padding: var(--spacing-2);
16966
+ background-color: var(--color-surface-level2);
16967
+ color: var(--color-text-default-default);
16968
+ font-family: var(--text-label-sm-semibold-fontFamily);
16969
+ font-weight: var(--text-label-sm-semibold-fontWeight);
16970
+ font-size: var(--text-label-sm-semibold-fontSize);
16971
+ line-height: var(--text-label-sm-semibold-lineHeight);
16972
+ -webkit-tap-highlight-color: transparent;
16973
+ transition: filter 0.12s ease;
16974
+ }
16975
+
16976
+ .muka-swipe-actions__button:hover {
16977
+ filter: brightness(0.95);
16978
+ }
16979
+
16980
+ .muka-swipe-actions__button:focus-visible {
16981
+ outline: 2px solid var(--color-action-default);
16982
+ outline-offset: -2px;
16983
+ }
16984
+
16985
+ .muka-swipe-actions__button-icon {
16986
+ display: inline-flex;
16987
+ align-items: center;
16988
+ justify-content: center;
16989
+ }
16990
+
16991
+ /* ─── Color variants ───────────────────────────────────── */
16992
+
16993
+ .muka-swipe-actions__button--neutral {
16994
+ background-color: var(--color-surface-level2);
16995
+ color: var(--color-text-default-default);
16996
+ }
16997
+
16998
+ .muka-swipe-actions__button--primary {
16999
+ background-color: var(--color-action-default);
17000
+ color: var(--color-text-default-inverse);
17001
+ }
17002
+
17003
+ .muka-swipe-actions__button--success {
17004
+ background-color: var(--color-state-success-default);
17005
+ color: var(--color-text-default-inverse);
17006
+ }
17007
+
17008
+ .muka-swipe-actions__button--warning {
17009
+ background-color: var(--color-state-warning-default);
17010
+ color: var(--color-text-default-default);
17011
+ }
17012
+
17013
+ .muka-swipe-actions__button--destructive {
17014
+ background-color: var(--color-state-error-default);
17015
+ color: var(--color-text-default-inverse);
17016
+ }
17017
+