@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.
@@ -3347,223 +3347,399 @@ body {
3347
3347
  }
3348
3348
 
3349
3349
 
3350
- /* Thumbnail */
3351
- /* Thumbnail Component Styles - Using Muka Design Tokens */
3350
+ /* Tile */
3351
+ /* Tile Component Styles - Using Muka Design Tokens */
3352
3352
 
3353
- .muka-thumbnail {
3354
- position: relative;
3355
- flex-shrink: 0;
3356
- }
3353
+ /* ─── Base ────────────────────────────────────────────── */
3357
3354
 
3358
- /* The frame carries the border, background and shape clip. Keeping it separate
3359
- from the root lets the remove (×) button sit outside the clip (needed for the
3360
- circular/ellipse shape, whose corners would otherwise clip the button). */
3361
- .muka-thumbnail__frame {
3362
- position: absolute;
3363
- inset: 0;
3364
- overflow: hidden;
3365
- border: var(--border-width-regular, 1px) solid var(--color-black-alpha-3);
3366
- border-radius: var(--border-radius-lg);
3367
- background-color: var(--color-surface-level1);
3355
+ .muka-tile {
3356
+ display: flex;
3357
+ color: var(--color-text-default-default);
3368
3358
  }
3369
3359
 
3370
- /* ─── Shapes ──────────────────────────────────────────── */
3371
- .muka-thumbnail--4-3 {
3372
- width: 160px;
3373
- height: 120px;
3360
+ .muka-tile--interactive {
3361
+ cursor: pointer;
3362
+ user-select: none;
3374
3363
  }
3375
3364
 
3376
- .muka-thumbnail--1-1 {
3377
- width: 120px;
3378
- height: 120px;
3365
+ .muka-tile--interactive:focus-visible {
3366
+ outline: 2px solid var(--color-border-focus);
3367
+ outline-offset: 2px;
3368
+ border-radius: var(--border-radius-lg);
3379
3369
  }
3380
3370
 
3381
- .muka-thumbnail--ellipse {
3382
- width: 120px;
3383
- height: 120px;
3384
- }
3371
+ /* ─── Image position variants ─────────────────────────── */
3385
3372
 
3386
- /* Fluid: fill the parent's width; the shape sets the height via aspect-ratio. */
3387
- .muka-thumbnail--fluid {
3388
- width: 100%;
3389
- height: auto;
3390
- aspect-ratio: 1 / 1;
3373
+ .muka-tile--image-top {
3374
+ flex-direction: column;
3391
3375
  }
3392
3376
 
3393
- .muka-thumbnail--fluid.muka-thumbnail--4-3 {
3394
- aspect-ratio: 4 / 3;
3377
+ .muka-tile--image-left {
3378
+ flex-direction: row;
3395
3379
  }
3396
3380
 
3397
- .muka-thumbnail--ellipse .muka-thumbnail__frame {
3398
- border-radius: var(--border-radius-full);
3381
+ .muka-tile--image-right {
3382
+ flex-direction: row;
3399
3383
  }
3400
3384
 
3401
- /* Image fills the frame, cropped to cover. Sits at scale(1) by default so the
3402
- interactive hover zoom has a clean origin. */
3403
- .muka-thumbnail__image {
3404
- position: absolute;
3405
- inset: 0;
3406
- width: 100%;
3407
- height: 100%;
3408
- object-fit: cover;
3409
- display: block;
3410
- transform-origin: center;
3411
- /* Micro-interaction: hover zoom eases out over the "micro" duration. */
3412
- transition: transform var(--motion-duration-micro) var(--motion-easing-enter);
3413
- }
3385
+ /* ─── Gap by size (top) ───────────────────────────────── */
3414
3386
 
3415
- /* ─── Interactive (click-to-enlarge) ──────────────────── */
3416
- .muka-thumbnail__trigger {
3417
- position: absolute;
3418
- inset: 0;
3419
- padding: 0;
3420
- border: 0;
3421
- background: none;
3422
- cursor: pointer;
3423
- overflow: hidden;
3387
+ .muka-tile--image-top.muka-tile--lg {
3388
+ gap: var(--spacing-6);
3424
3389
  }
3425
3390
 
3426
- .muka-thumbnail__trigger:focus-visible {
3427
- outline: 2px solid var(--color-border-focus);
3428
- outline-offset: -2px;
3391
+ .muka-tile--image-top.muka-tile--md {
3392
+ gap: var(--spacing-6);
3393
+ width: 320px;
3429
3394
  }
3430
3395
 
3431
- /* On hover the image scales up ~8px (160px → 168px) with an ease-out feel. */
3432
- .muka-thumbnail--interactive:hover .muka-thumbnail__image {
3433
- transform: scale(1.05);
3396
+ .muka-tile--image-top.muka-tile--sm {
3397
+ gap: var(--spacing-4);
3398
+ min-width: 120px;
3434
3399
  }
3435
3400
 
3436
- /* ─── Loading overlay + progress donut ────────────────── */
3437
- .muka-thumbnail__overlay {
3438
- position: absolute;
3439
- inset: 0;
3440
- display: flex;
3401
+ /* ─── Gap by size (left/right) ────────────────────────── */
3402
+
3403
+ .muka-tile--image-left.muka-tile--lg,
3404
+ .muka-tile--image-right.muka-tile--lg {
3405
+ gap: var(--spacing-6);
3441
3406
  align-items: center;
3442
- justify-content: center;
3443
- background-color: var(--dialog-color-backdrop);
3444
3407
  }
3445
3408
 
3446
- .muka-thumbnail__progress {
3447
- width: 40px;
3448
- height: 40px;
3409
+ .muka-tile--image-left.muka-tile--md,
3410
+ .muka-tile--image-right.muka-tile--md {
3411
+ gap: var(--spacing-6);
3412
+ align-items: center;
3449
3413
  }
3450
3414
 
3451
- /* ─── Error / corrupt state ───────────────────────────── */
3452
- .muka-thumbnail--error .muka-thumbnail__frame {
3453
- background-color: var(--alias-color-state-error-muted);
3454
- border-color: var(--alias-color-state-error-default);
3415
+ .muka-tile--image-left.muka-tile--sm,
3416
+ .muka-tile--image-right.muka-tile--sm {
3417
+ gap: var(--spacing-4);
3418
+ align-items: flex-start;
3455
3419
  }
3456
3420
 
3457
- .muka-thumbnail__error {
3458
- position: absolute;
3459
- inset: 0;
3421
+ /* ─── Photos container ────────────────────────────────── */
3422
+
3423
+ .muka-tile__photos {
3424
+ position: relative;
3425
+ flex-shrink: 0;
3426
+ overflow: hidden;
3460
3427
  display: flex;
3461
3428
  flex-direction: column;
3462
- align-items: center;
3463
- justify-content: center;
3464
- gap: var(--spacing-2);
3465
- padding: var(--spacing-3);
3466
- text-align: center;
3429
+ isolation: isolate;
3467
3430
  }
3468
3431
 
3469
- .muka-thumbnail__error-icon {
3470
- color: var(--alert-color-error-accent);
3432
+ /* Photos border radius by size */
3433
+ .muka-tile--lg .muka-tile__photos,
3434
+ .muka-tile--md .muka-tile__photos {
3435
+ border-radius: var(--border-radius-lg);
3471
3436
  }
3472
3437
 
3473
- .muka-thumbnail__caption {
3474
- max-width: 100%;
3475
- overflow: hidden;
3476
- text-overflow: ellipsis;
3477
- white-space: nowrap;
3478
- color: var(--alert-color-error-accent);
3479
- font-family: var(--text-body-sm-regular-fontFamily);
3480
- font-size: var(--text-body-sm-regular-fontSize);
3481
- font-weight: var(--text-body-sm-regular-fontWeight);
3482
- line-height: var(--text-body-sm-regular-lineHeight);
3438
+ .muka-tile--sm .muka-tile__photos {
3439
+ border-radius: var(--border-radius-md);
3483
3440
  }
3484
3441
 
3485
- /* ─── Remove (×) button ───────────────────────────────── */
3486
- .muka-thumbnail__remove {
3487
- position: absolute;
3488
- top: var(--spacing-2);
3489
- right: var(--spacing-2);
3490
- display: flex;
3491
- align-items: center;
3492
- justify-content: center;
3493
- width: var(--size-2xl);
3494
- height: var(--size-2xl);
3495
- padding: 0;
3496
- color: var(--button-color-tertiary-foreground-default);
3497
- background-color: var(--button-color-tertiary-background-default);
3498
- border: var(--border-width-regular, 1px) solid var(--button-color-tertiary-border-default);
3499
- border-radius: var(--border-radius-lg);
3500
- cursor: pointer;
3501
- transition: background-color var(--motion-duration-micro) var(--motion-easing-enter),
3502
- border-color var(--motion-duration-micro) var(--motion-easing-enter);
3442
+ /* Photos sizing: top layout */
3443
+ .muka-tile--image-top .muka-tile__photos {
3444
+ width: 100%;
3503
3445
  }
3504
3446
 
3505
- .muka-thumbnail__remove:hover {
3506
- color: var(--button-color-tertiary-foreground-hover);
3507
- background-color: var(--button-color-tertiary-background-hover);
3508
- border-color: var(--button-color-tertiary-border-hover);
3447
+ /* Photos sizing: left/right large */
3448
+ .muka-tile--image-left.muka-tile--lg .muka-tile__photos,
3449
+ .muka-tile--image-right.muka-tile--lg .muka-tile__photos {
3450
+ width: 520px;
3509
3451
  }
3510
3452
 
3511
- .muka-thumbnail__remove:active {
3512
- color: var(--button-color-tertiary-foreground-pressed);
3513
- background-color: var(--button-color-tertiary-background-pressed);
3514
- border-color: var(--button-color-tertiary-border-pressed);
3453
+ /* Photos sizing: left/right medium */
3454
+ .muka-tile--image-left.muka-tile--md .muka-tile__photos,
3455
+ .muka-tile--image-right.muka-tile--md .muka-tile__photos {
3456
+ width: 320px;
3515
3457
  }
3516
3458
 
3517
- .muka-thumbnail__remove:focus-visible {
3518
- outline: 2px solid var(--color-border-focus);
3519
- outline-offset: 2px;
3459
+ /* Photos sizing: left/right small (single 80x80 thumbnail) */
3460
+ .muka-tile--image-left.muka-tile--sm .muka-tile__photos,
3461
+ .muka-tile--image-right.muka-tile--sm .muka-tile__photos {
3462
+ width: 80px;
3463
+ align-self: stretch;
3520
3464
  }
3521
3465
 
3522
- /* ─── Reduced motion ──────────────────────────────────── */
3523
- @media (prefers-reduced-motion: reduce) {
3524
- .muka-thumbnail__image,
3525
- .muka-thumbnail__remove {
3526
- transition: none;
3527
- }
3466
+ /* ─── Main photo ──────────────────────────────────────── */
3528
3467
 
3529
- .muka-thumbnail--interactive:hover .muka-thumbnail__image {
3530
- transform: none;
3531
- }
3468
+ .muka-tile__photo-main {
3469
+ position: relative;
3470
+ width: 100%;
3471
+ overflow: hidden;
3472
+ flex-shrink: 0;
3532
3473
  }
3533
3474
 
3534
-
3535
- /* Textarea */
3536
- /* Textarea Component Styles - Using Muka Design Tokens */
3537
-
3538
- .muka-textarea {
3539
- display: inline-flex;
3540
- flex-direction: column;
3541
- gap: var(--spacing-2);
3475
+ /* 16:9 aspect for lg and md */
3476
+ .muka-tile--lg .muka-tile__photo-main,
3477
+ .muka-tile--md .muka-tile__photo-main {
3478
+ aspect-ratio: 1280 / 720;
3542
3479
  }
3543
3480
 
3544
- /* Label */
3545
- .muka-textarea__label {
3546
- color: var(--color-text-default-default);
3547
- cursor: pointer;
3481
+ /* 1:1 aspect for top + sm */
3482
+ .muka-tile--image-top.muka-tile--sm .muka-tile__photo-main {
3483
+ aspect-ratio: 1 / 1;
3548
3484
  }
3549
3485
 
3550
- .muka-textarea__label--sm {
3551
- font-family: var(--text-label-sm-semibold-fontFamily);
3552
- font-weight: var(--text-label-sm-semibold-fontWeight);
3553
- font-size: var(--text-label-sm-semibold-fontSize);
3554
- line-height: var(--text-label-sm-semibold-lineHeight);
3486
+ /* Fixed size for left/right + sm */
3487
+ .muka-tile--image-left.muka-tile--sm .muka-tile__photo-main,
3488
+ .muka-tile--image-right.muka-tile--sm .muka-tile__photo-main {
3489
+ width: 80px;
3490
+ height: 80px;
3491
+ aspect-ratio: auto;
3555
3492
  }
3556
3493
 
3557
- .muka-textarea__label--md {
3558
- font-family: var(--text-label-md-semibold-fontFamily);
3559
- font-weight: var(--text-label-md-semibold-fontWeight);
3560
- font-size: var(--text-label-md-semibold-fontSize);
3561
- line-height: var(--text-label-md-semibold-lineHeight);
3494
+ .muka-tile__photo-main img {
3495
+ width: 100%;
3496
+ height: 100%;
3497
+ object-fit: cover;
3498
+ display: block;
3562
3499
  }
3563
3500
 
3564
- .muka-textarea__label--lg {
3565
- font-family: var(--text-label-lg-semibold-fontFamily);
3566
- font-weight: var(--text-label-lg-semibold-fontWeight);
3501
+ /* ─── Favourite overlay ───────────────────────────────── */
3502
+
3503
+ .muka-tile__favourite {
3504
+ position: absolute;
3505
+ z-index: 3;
3506
+ }
3507
+
3508
+ .muka-tile--lg .muka-tile__favourite,
3509
+ .muka-tile--md .muka-tile__favourite {
3510
+ top: var(--spacing-4);
3511
+ right: var(--spacing-4);
3512
+ }
3513
+
3514
+ .muka-tile--image-top.muka-tile--sm .muka-tile__favourite {
3515
+ top: var(--spacing-1);
3516
+ right: var(--spacing-1);
3517
+ }
3518
+
3519
+ /* ─── Thumbnails ──────────────────────────────────────── */
3520
+
3521
+ .muka-tile__thumbnails {
3522
+ display: flex;
3523
+ gap: 2px;
3524
+ overflow: hidden;
3525
+ flex-shrink: 0;
3526
+ height: 80px;
3527
+ }
3528
+
3529
+ .muka-tile__thumbnail {
3530
+ width: 80px;
3531
+ height: 80px;
3532
+ flex-shrink: 0;
3533
+ overflow: hidden;
3534
+ }
3535
+
3536
+ .muka-tile__thumbnail img {
3537
+ width: 100%;
3538
+ height: 100%;
3539
+ object-fit: cover;
3540
+ display: block;
3541
+ }
3542
+
3543
+ /* Gap between main photo and thumbnails */
3544
+ .muka-tile__photos > .muka-tile__photo-main + .muka-tile__thumbnails {
3545
+ margin-top: 2px;
3546
+ }
3547
+
3548
+ /* ─── Content section ─────────────────────────────────── */
3549
+
3550
+ .muka-tile__content {
3551
+ display: flex;
3552
+ flex-direction: column;
3553
+ flex: 1;
3554
+ min-width: 0;
3555
+ }
3556
+
3557
+ /* Top layout: content has horizontal padding */
3558
+ .muka-tile--image-top.muka-tile--lg .muka-tile__content {
3559
+ padding: 0 var(--spacing-3);
3560
+ gap: var(--spacing-1);
3561
+ }
3562
+
3563
+ .muka-tile--image-top.muka-tile--md .muka-tile__content {
3564
+ padding: 0 var(--spacing-3);
3565
+ gap: var(--spacing-2);
3566
+ }
3567
+
3568
+ .muka-tile--image-top.muka-tile--sm .muka-tile__content {
3569
+ gap: var(--spacing-2);
3570
+ }
3571
+
3572
+ /* Left/right layout: content grows to fill space */
3573
+ .muka-tile--image-left .muka-tile__content,
3574
+ .muka-tile--image-right .muka-tile__content {
3575
+ gap: var(--spacing-3);
3576
+ }
3577
+
3578
+ .muka-tile--image-left.muka-tile--lg .muka-tile__content,
3579
+ .muka-tile--image-right.muka-tile--lg .muka-tile__content {
3580
+ padding: 0 var(--spacing-3);
3581
+ }
3582
+
3583
+ .muka-tile--image-left.muka-tile--md .muka-tile__content,
3584
+ .muka-tile--image-right.muka-tile--md .muka-tile__content {
3585
+ padding: var(--spacing-2) var(--spacing-3);
3586
+ }
3587
+
3588
+ .muka-tile--image-left.muka-tile--sm .muka-tile__content,
3589
+ .muka-tile--image-right.muka-tile--sm .muka-tile__content {
3590
+ gap: var(--spacing-2);
3591
+ }
3592
+
3593
+ /* ─── Header (heading row + price) ────────────────────── */
3594
+
3595
+ .muka-tile__header {
3596
+ display: flex;
3597
+ align-items: flex-start;
3598
+ gap: var(--spacing-4);
3599
+ }
3600
+
3601
+ /* Small horizontal: row with text and action */
3602
+ .muka-tile--sm:not(.muka-tile--image-top) .muka-tile__header {
3603
+ gap: var(--spacing-2);
3604
+ align-items: center;
3605
+ padding-top: var(--spacing-1);
3606
+ }
3607
+
3608
+ /* ─── Text group ──────────────────────────────────────── */
3609
+
3610
+ .muka-tile__text {
3611
+ display: flex;
3612
+ flex-direction: column;
3613
+ flex: 1;
3614
+ min-width: 0;
3615
+ gap: var(--spacing-2);
3616
+ }
3617
+
3618
+ /* ─── Heading typography ──────────────────────────────── */
3619
+
3620
+ .muka-tile__heading {
3621
+ margin: 0;
3622
+ }
3623
+
3624
+ .muka-tile--lg .muka-tile__heading {
3625
+ font-family: var(--text-label-2xl-semibold-fontFamily);
3626
+ font-weight: var(--text-label-2xl-semibold-fontWeight);
3627
+ font-size: var(--text-label-2xl-semibold-fontSize);
3628
+ line-height: var(--text-label-2xl-semibold-lineHeight);
3629
+ color: var(--color-text-default-default);
3630
+ }
3631
+
3632
+ .muka-tile--md .muka-tile__heading {
3633
+ font-family: var(--text-label-xl-semibold-fontFamily);
3634
+ font-weight: var(--text-label-xl-semibold-fontWeight);
3635
+ font-size: var(--text-label-xl-semibold-fontSize);
3636
+ line-height: var(--text-label-xl-semibold-lineHeight);
3637
+ color: var(--color-text-default-default);
3638
+ }
3639
+
3640
+ .muka-tile--sm .muka-tile__heading {
3641
+ font-family: var(--text-label-lg-bold-fontFamily);
3642
+ font-weight: var(--text-label-lg-bold-fontWeight);
3643
+ font-size: var(--text-label-lg-bold-fontSize);
3644
+ line-height: var(--text-label-lg-bold-lineHeight);
3645
+ color: var(--color-text-default-default);
3646
+ }
3647
+
3648
+ /* ─── Subheading typography ───────────────────────────── */
3649
+
3650
+ .muka-tile__subheading {
3651
+ margin: 0;
3652
+ color: var(--color-text-subtle-default);
3653
+ }
3654
+
3655
+ .muka-tile--lg .muka-tile__subheading {
3656
+ font-family: var(--text-subheading-md-fontFamily);
3657
+ font-weight: var(--text-subheading-md-fontWeight);
3658
+ font-size: var(--text-subheading-md-fontSize);
3659
+ line-height: var(--text-subheading-md-lineHeight);
3660
+ }
3661
+
3662
+ .muka-tile--md .muka-tile__subheading,
3663
+ .muka-tile--sm .muka-tile__subheading {
3664
+ font-family: var(--text-subheading-sm-fontFamily);
3665
+ font-weight: var(--text-subheading-sm-fontWeight);
3666
+ font-size: var(--text-subheading-sm-fontSize);
3667
+ line-height: var(--text-subheading-sm-lineHeight);
3668
+ }
3669
+
3670
+ /* ─── Description typography ──────────────────────────── */
3671
+
3672
+ .muka-tile__description {
3673
+ margin: 0;
3674
+ color: var(--color-text-default-default);
3675
+ }
3676
+
3677
+ .muka-tile--lg .muka-tile__description {
3678
+ font-family: var(--text-body-lg-regular-fontFamily);
3679
+ font-weight: var(--text-body-lg-regular-fontWeight);
3680
+ font-size: var(--text-body-lg-regular-fontSize);
3681
+ line-height: var(--text-body-lg-regular-lineHeight);
3682
+ }
3683
+
3684
+ .muka-tile--md .muka-tile__description,
3685
+ .muka-tile--sm .muka-tile__description {
3686
+ font-family: var(--text-body-base-regular-fontFamily);
3687
+ font-weight: var(--text-body-base-regular-fontWeight);
3688
+ font-size: var(--text-body-base-regular-fontSize);
3689
+ line-height: var(--text-body-base-regular-lineHeight);
3690
+ }
3691
+
3692
+ /* Description overflow for medium */
3693
+ .muka-tile--md .muka-tile__description {
3694
+ overflow: hidden;
3695
+ text-overflow: ellipsis;
3696
+ }
3697
+
3698
+ /* ─── Price slot ──────────────────────────────────────── */
3699
+
3700
+ .muka-tile__price {
3701
+ flex-shrink: 0;
3702
+ }
3703
+
3704
+ /* ─── Action slot ─────────────────────────────────────── */
3705
+
3706
+ .muka-tile__action {
3707
+ flex-shrink: 0;
3708
+ }
3709
+
3710
+
3711
+ /* Textarea */
3712
+ /* Textarea Component Styles - Using Muka Design Tokens */
3713
+
3714
+ .muka-textarea {
3715
+ display: inline-flex;
3716
+ flex-direction: column;
3717
+ gap: var(--spacing-2);
3718
+ }
3719
+
3720
+ /* Label */
3721
+ .muka-textarea__label {
3722
+ color: var(--color-text-default-default);
3723
+ cursor: pointer;
3724
+ }
3725
+
3726
+ .muka-textarea__label--sm {
3727
+ font-family: var(--text-label-sm-semibold-fontFamily);
3728
+ font-weight: var(--text-label-sm-semibold-fontWeight);
3729
+ font-size: var(--text-label-sm-semibold-fontSize);
3730
+ line-height: var(--text-label-sm-semibold-lineHeight);
3731
+ }
3732
+
3733
+ .muka-textarea__label--md {
3734
+ font-family: var(--text-label-md-semibold-fontFamily);
3735
+ font-weight: var(--text-label-md-semibold-fontWeight);
3736
+ font-size: var(--text-label-md-semibold-fontSize);
3737
+ line-height: var(--text-label-md-semibold-lineHeight);
3738
+ }
3739
+
3740
+ .muka-textarea__label--lg {
3741
+ font-family: var(--text-label-lg-semibold-fontFamily);
3742
+ font-weight: var(--text-label-lg-semibold-fontWeight);
3567
3743
  font-size: var(--text-label-lg-semibold-fontSize);
3568
3744
  line-height: var(--text-label-lg-semibold-lineHeight);
3569
3745
  }
@@ -3968,364 +4144,188 @@ body {
3968
4144
  }
3969
4145
 
3970
4146
 
3971
- /* Tile */
3972
- /* Tile Component Styles - Using Muka Design Tokens */
3973
-
3974
- /* ─── Base ────────────────────────────────────────────── */
4147
+ /* Thumbnail */
4148
+ /* Thumbnail Component Styles - Using Muka Design Tokens */
3975
4149
 
3976
- .muka-tile {
3977
- display: flex;
3978
- color: var(--color-text-default-default);
4150
+ .muka-thumbnail {
4151
+ position: relative;
4152
+ flex-shrink: 0;
3979
4153
  }
3980
4154
 
3981
- .muka-tile--interactive {
3982
- cursor: pointer;
3983
- user-select: none;
3984
- }
3985
-
3986
- .muka-tile--interactive:focus-visible {
3987
- outline: 2px solid var(--color-border-focus);
3988
- outline-offset: 2px;
3989
- border-radius: var(--border-radius-lg);
3990
- }
3991
-
3992
- /* ─── Image position variants ─────────────────────────── */
3993
-
3994
- .muka-tile--image-top {
3995
- flex-direction: column;
3996
- }
3997
-
3998
- .muka-tile--image-left {
3999
- flex-direction: row;
4000
- }
4001
-
4002
- .muka-tile--image-right {
4003
- flex-direction: row;
4004
- }
4005
-
4006
- /* ─── Gap by size (top) ───────────────────────────────── */
4007
-
4008
- .muka-tile--image-top.muka-tile--lg {
4009
- gap: var(--spacing-6);
4010
- }
4011
-
4012
- .muka-tile--image-top.muka-tile--md {
4013
- gap: var(--spacing-6);
4014
- width: 320px;
4015
- }
4016
-
4017
- .muka-tile--image-top.muka-tile--sm {
4018
- gap: var(--spacing-4);
4019
- min-width: 120px;
4020
- }
4021
-
4022
- /* ─── Gap by size (left/right) ────────────────────────── */
4023
-
4024
- .muka-tile--image-left.muka-tile--lg,
4025
- .muka-tile--image-right.muka-tile--lg {
4026
- gap: var(--spacing-6);
4027
- align-items: center;
4028
- }
4029
-
4030
- .muka-tile--image-left.muka-tile--md,
4031
- .muka-tile--image-right.muka-tile--md {
4032
- gap: var(--spacing-6);
4033
- align-items: center;
4034
- }
4035
-
4036
- .muka-tile--image-left.muka-tile--sm,
4037
- .muka-tile--image-right.muka-tile--sm {
4038
- gap: var(--spacing-4);
4039
- align-items: flex-start;
4040
- }
4041
-
4042
- /* ─── Photos container ────────────────────────────────── */
4043
-
4044
- .muka-tile__photos {
4045
- position: relative;
4046
- flex-shrink: 0;
4155
+ /* The frame carries the border, background and shape clip. Keeping it separate
4156
+ from the root lets the remove (×) button sit outside the clip (needed for the
4157
+ circular/ellipse shape, whose corners would otherwise clip the button). */
4158
+ .muka-thumbnail__frame {
4159
+ position: absolute;
4160
+ inset: 0;
4047
4161
  overflow: hidden;
4048
- display: flex;
4049
- flex-direction: column;
4050
- isolation: isolate;
4051
- }
4052
-
4053
- /* Photos border radius by size */
4054
- .muka-tile--lg .muka-tile__photos,
4055
- .muka-tile--md .muka-tile__photos {
4162
+ border: var(--border-width-regular, 1px) solid var(--color-black-alpha-3);
4056
4163
  border-radius: var(--border-radius-lg);
4164
+ background-color: var(--color-surface-level1);
4057
4165
  }
4058
4166
 
4059
- .muka-tile--sm .muka-tile__photos {
4060
- border-radius: var(--border-radius-md);
4061
- }
4062
-
4063
- /* Photos sizing: top layout */
4064
- .muka-tile--image-top .muka-tile__photos {
4065
- width: 100%;
4066
- }
4067
-
4068
- /* Photos sizing: left/right large */
4069
- .muka-tile--image-left.muka-tile--lg .muka-tile__photos,
4070
- .muka-tile--image-right.muka-tile--lg .muka-tile__photos {
4071
- width: 520px;
4167
+ /* ─── Shapes ──────────────────────────────────────────── */
4168
+ .muka-thumbnail--4-3 {
4169
+ width: 160px;
4170
+ height: 120px;
4072
4171
  }
4073
4172
 
4074
- /* Photos sizing: left/right medium */
4075
- .muka-tile--image-left.muka-tile--md .muka-tile__photos,
4076
- .muka-tile--image-right.muka-tile--md .muka-tile__photos {
4077
- width: 320px;
4173
+ .muka-thumbnail--1-1 {
4174
+ width: 120px;
4175
+ height: 120px;
4078
4176
  }
4079
4177
 
4080
- /* Photos sizing: left/right small (single 80x80 thumbnail) */
4081
- .muka-tile--image-left.muka-tile--sm .muka-tile__photos,
4082
- .muka-tile--image-right.muka-tile--sm .muka-tile__photos {
4083
- width: 80px;
4084
- align-self: stretch;
4178
+ .muka-thumbnail--ellipse {
4179
+ width: 120px;
4180
+ height: 120px;
4085
4181
  }
4086
4182
 
4087
- /* ─── Main photo ──────────────────────────────────────── */
4088
-
4089
- .muka-tile__photo-main {
4090
- position: relative;
4183
+ /* Fluid: fill the parent's width; the shape sets the height via aspect-ratio. */
4184
+ .muka-thumbnail--fluid {
4091
4185
  width: 100%;
4092
- overflow: hidden;
4093
- flex-shrink: 0;
4094
- }
4095
-
4096
- /* 16:9 aspect for lg and md */
4097
- .muka-tile--lg .muka-tile__photo-main,
4098
- .muka-tile--md .muka-tile__photo-main {
4099
- aspect-ratio: 1280 / 720;
4186
+ height: auto;
4187
+ aspect-ratio: 1 / 1;
4100
4188
  }
4101
4189
 
4102
- /* 1:1 aspect for top + sm */
4103
- .muka-tile--image-top.muka-tile--sm .muka-tile__photo-main {
4104
- aspect-ratio: 1 / 1;
4190
+ .muka-thumbnail--fluid.muka-thumbnail--4-3 {
4191
+ aspect-ratio: 4 / 3;
4105
4192
  }
4106
4193
 
4107
- /* Fixed size for left/right + sm */
4108
- .muka-tile--image-left.muka-tile--sm .muka-tile__photo-main,
4109
- .muka-tile--image-right.muka-tile--sm .muka-tile__photo-main {
4110
- width: 80px;
4111
- height: 80px;
4112
- aspect-ratio: auto;
4194
+ .muka-thumbnail--ellipse .muka-thumbnail__frame {
4195
+ border-radius: var(--border-radius-full);
4113
4196
  }
4114
4197
 
4115
- .muka-tile__photo-main img {
4198
+ /* Image fills the frame, cropped to cover. Sits at scale(1) by default so the
4199
+ interactive hover zoom has a clean origin. */
4200
+ .muka-thumbnail__image {
4201
+ position: absolute;
4202
+ inset: 0;
4116
4203
  width: 100%;
4117
4204
  height: 100%;
4118
4205
  object-fit: cover;
4119
4206
  display: block;
4207
+ transform-origin: center;
4208
+ /* Micro-interaction: hover zoom eases out over the "micro" duration. */
4209
+ transition: transform var(--motion-duration-micro) var(--motion-easing-enter);
4120
4210
  }
4121
4211
 
4122
- /* ─── Favourite overlay ───────────────────────────────── */
4123
-
4124
- .muka-tile__favourite {
4212
+ /* ─── Interactive (click-to-enlarge) ──────────────────── */
4213
+ .muka-thumbnail__trigger {
4125
4214
  position: absolute;
4126
- z-index: 3;
4215
+ inset: 0;
4216
+ padding: 0;
4217
+ border: 0;
4218
+ background: none;
4219
+ cursor: pointer;
4220
+ overflow: hidden;
4127
4221
  }
4128
4222
 
4129
- .muka-tile--lg .muka-tile__favourite,
4130
- .muka-tile--md .muka-tile__favourite {
4131
- top: var(--spacing-4);
4132
- right: var(--spacing-4);
4223
+ .muka-thumbnail__trigger:focus-visible {
4224
+ outline: 2px solid var(--color-border-focus);
4225
+ outline-offset: -2px;
4133
4226
  }
4134
4227
 
4135
- .muka-tile--image-top.muka-tile--sm .muka-tile__favourite {
4136
- top: var(--spacing-1);
4137
- right: var(--spacing-1);
4228
+ /* On hover the image scales up ~8px (160px → 168px) with an ease-out feel. */
4229
+ .muka-thumbnail--interactive:hover .muka-thumbnail__image {
4230
+ transform: scale(1.05);
4138
4231
  }
4139
4232
 
4140
- /* ─── Thumbnails ──────────────────────────────────────── */
4141
-
4142
- .muka-tile__thumbnails {
4233
+ /* ─── Loading overlay + progress donut ────────────────── */
4234
+ .muka-thumbnail__overlay {
4235
+ position: absolute;
4236
+ inset: 0;
4143
4237
  display: flex;
4144
- gap: 2px;
4145
- overflow: hidden;
4146
- flex-shrink: 0;
4147
- height: 80px;
4148
- }
4149
-
4150
- .muka-tile__thumbnail {
4151
- width: 80px;
4152
- height: 80px;
4153
- flex-shrink: 0;
4154
- overflow: hidden;
4238
+ align-items: center;
4239
+ justify-content: center;
4240
+ background-color: var(--dialog-color-backdrop);
4155
4241
  }
4156
4242
 
4157
- .muka-tile__thumbnail img {
4158
- width: 100%;
4159
- height: 100%;
4160
- object-fit: cover;
4161
- display: block;
4243
+ .muka-thumbnail__progress {
4244
+ width: 40px;
4245
+ height: 40px;
4162
4246
  }
4163
4247
 
4164
- /* Gap between main photo and thumbnails */
4165
- .muka-tile__photos > .muka-tile__photo-main + .muka-tile__thumbnails {
4166
- margin-top: 2px;
4248
+ /* ─── Error / corrupt state ───────────────────────────── */
4249
+ .muka-thumbnail--error .muka-thumbnail__frame {
4250
+ background-color: var(--alias-color-state-error-muted);
4251
+ border-color: var(--alias-color-state-error-default);
4167
4252
  }
4168
4253
 
4169
- /* ─── Content section ─────────────────────────────────── */
4170
-
4171
- .muka-tile__content {
4254
+ .muka-thumbnail__error {
4255
+ position: absolute;
4256
+ inset: 0;
4172
4257
  display: flex;
4173
4258
  flex-direction: column;
4174
- flex: 1;
4175
- min-width: 0;
4176
- }
4177
-
4178
- /* Top layout: content has horizontal padding */
4179
- .muka-tile--image-top.muka-tile--lg .muka-tile__content {
4180
- padding: 0 var(--spacing-3);
4181
- gap: var(--spacing-1);
4182
- }
4183
-
4184
- .muka-tile--image-top.muka-tile--md .muka-tile__content {
4185
- padding: 0 var(--spacing-3);
4186
- gap: var(--spacing-2);
4187
- }
4188
-
4189
- .muka-tile--image-top.muka-tile--sm .muka-tile__content {
4259
+ align-items: center;
4260
+ justify-content: center;
4190
4261
  gap: var(--spacing-2);
4262
+ padding: var(--spacing-3);
4263
+ text-align: center;
4191
4264
  }
4192
4265
 
4193
- /* Left/right layout: content grows to fill space */
4194
- .muka-tile--image-left .muka-tile__content,
4195
- .muka-tile--image-right .muka-tile__content {
4196
- gap: var(--spacing-3);
4197
- }
4198
-
4199
- .muka-tile--image-left.muka-tile--lg .muka-tile__content,
4200
- .muka-tile--image-right.muka-tile--lg .muka-tile__content {
4201
- padding: 0 var(--spacing-3);
4202
- }
4203
-
4204
- .muka-tile--image-left.muka-tile--md .muka-tile__content,
4205
- .muka-tile--image-right.muka-tile--md .muka-tile__content {
4206
- padding: var(--spacing-2) var(--spacing-3);
4266
+ .muka-thumbnail__error-icon {
4267
+ color: var(--alert-color-error-accent);
4207
4268
  }
4208
4269
 
4209
- .muka-tile--image-left.muka-tile--sm .muka-tile__content,
4210
- .muka-tile--image-right.muka-tile--sm .muka-tile__content {
4211
- gap: var(--spacing-2);
4270
+ .muka-thumbnail__caption {
4271
+ max-width: 100%;
4272
+ overflow: hidden;
4273
+ text-overflow: ellipsis;
4274
+ white-space: nowrap;
4275
+ color: var(--alert-color-error-accent);
4276
+ font-family: var(--text-body-sm-regular-fontFamily);
4277
+ font-size: var(--text-body-sm-regular-fontSize);
4278
+ font-weight: var(--text-body-sm-regular-fontWeight);
4279
+ line-height: var(--text-body-sm-regular-lineHeight);
4212
4280
  }
4213
4281
 
4214
- /* ─── Header (heading row + price) ────────────────────── */
4215
-
4216
- .muka-tile__header {
4282
+ /* ─── Remove (×) button ───────────────────────────────── */
4283
+ .muka-thumbnail__remove {
4284
+ position: absolute;
4285
+ top: var(--spacing-2);
4286
+ right: var(--spacing-2);
4217
4287
  display: flex;
4218
- align-items: flex-start;
4219
- gap: var(--spacing-4);
4220
- }
4221
-
4222
- /* Small horizontal: row with text and action */
4223
- .muka-tile--sm:not(.muka-tile--image-top) .muka-tile__header {
4224
- gap: var(--spacing-2);
4225
4288
  align-items: center;
4226
- padding-top: var(--spacing-1);
4227
- }
4228
-
4229
- /* ─── Text group ──────────────────────────────────────── */
4230
-
4231
- .muka-tile__text {
4232
- display: flex;
4233
- flex-direction: column;
4234
- flex: 1;
4235
- min-width: 0;
4236
- gap: var(--spacing-2);
4237
- }
4238
-
4239
- /* ─── Heading typography ──────────────────────────────── */
4240
-
4241
- .muka-tile__heading {
4242
- margin: 0;
4243
- }
4244
-
4245
- .muka-tile--lg .muka-tile__heading {
4246
- font-family: var(--text-label-2xl-semibold-fontFamily);
4247
- font-weight: var(--text-label-2xl-semibold-fontWeight);
4248
- font-size: var(--text-label-2xl-semibold-fontSize);
4249
- line-height: var(--text-label-2xl-semibold-lineHeight);
4250
- color: var(--color-text-default-default);
4251
- }
4252
-
4253
- .muka-tile--md .muka-tile__heading {
4254
- font-family: var(--text-label-xl-semibold-fontFamily);
4255
- font-weight: var(--text-label-xl-semibold-fontWeight);
4256
- font-size: var(--text-label-xl-semibold-fontSize);
4257
- line-height: var(--text-label-xl-semibold-lineHeight);
4258
- color: var(--color-text-default-default);
4259
- }
4260
-
4261
- .muka-tile--sm .muka-tile__heading {
4262
- font-family: var(--text-label-lg-bold-fontFamily);
4263
- font-weight: var(--text-label-lg-bold-fontWeight);
4264
- font-size: var(--text-label-lg-bold-fontSize);
4265
- line-height: var(--text-label-lg-bold-lineHeight);
4266
- color: var(--color-text-default-default);
4267
- }
4268
-
4269
- /* ─── Subheading typography ───────────────────────────── */
4270
-
4271
- .muka-tile__subheading {
4272
- margin: 0;
4273
- color: var(--color-text-subtle-default);
4274
- }
4275
-
4276
- .muka-tile--lg .muka-tile__subheading {
4277
- font-family: var(--text-subheading-md-fontFamily);
4278
- font-weight: var(--text-subheading-md-fontWeight);
4279
- font-size: var(--text-subheading-md-fontSize);
4280
- line-height: var(--text-subheading-md-lineHeight);
4281
- }
4282
-
4283
- .muka-tile--md .muka-tile__subheading,
4284
- .muka-tile--sm .muka-tile__subheading {
4285
- font-family: var(--text-subheading-sm-fontFamily);
4286
- font-weight: var(--text-subheading-sm-fontWeight);
4287
- font-size: var(--text-subheading-sm-fontSize);
4288
- line-height: var(--text-subheading-sm-lineHeight);
4289
- }
4290
-
4291
- /* ─── Description typography ──────────────────────────── */
4292
-
4293
- .muka-tile__description {
4294
- margin: 0;
4295
- color: var(--color-text-default-default);
4296
- }
4297
-
4298
- .muka-tile--lg .muka-tile__description {
4299
- font-family: var(--text-body-lg-regular-fontFamily);
4300
- font-weight: var(--text-body-lg-regular-fontWeight);
4301
- font-size: var(--text-body-lg-regular-fontSize);
4302
- line-height: var(--text-body-lg-regular-lineHeight);
4303
- }
4304
-
4305
- .muka-tile--md .muka-tile__description,
4306
- .muka-tile--sm .muka-tile__description {
4307
- font-family: var(--text-body-base-regular-fontFamily);
4308
- font-weight: var(--text-body-base-regular-fontWeight);
4309
- font-size: var(--text-body-base-regular-fontSize);
4310
- line-height: var(--text-body-base-regular-lineHeight);
4289
+ justify-content: center;
4290
+ width: var(--size-2xl);
4291
+ height: var(--size-2xl);
4292
+ padding: 0;
4293
+ color: var(--button-color-tertiary-foreground-default);
4294
+ background-color: var(--button-color-tertiary-background-default);
4295
+ border: var(--border-width-regular, 1px) solid var(--button-color-tertiary-border-default);
4296
+ border-radius: var(--border-radius-lg);
4297
+ cursor: pointer;
4298
+ transition: background-color var(--motion-duration-micro) var(--motion-easing-enter),
4299
+ border-color var(--motion-duration-micro) var(--motion-easing-enter);
4311
4300
  }
4312
4301
 
4313
- /* Description overflow for medium */
4314
- .muka-tile--md .muka-tile__description {
4315
- overflow: hidden;
4316
- text-overflow: ellipsis;
4302
+ .muka-thumbnail__remove:hover {
4303
+ color: var(--button-color-tertiary-foreground-hover);
4304
+ background-color: var(--button-color-tertiary-background-hover);
4305
+ border-color: var(--button-color-tertiary-border-hover);
4317
4306
  }
4318
4307
 
4319
- /* ─── Price slot ──────────────────────────────────────── */
4308
+ .muka-thumbnail__remove:active {
4309
+ color: var(--button-color-tertiary-foreground-pressed);
4310
+ background-color: var(--button-color-tertiary-background-pressed);
4311
+ border-color: var(--button-color-tertiary-border-pressed);
4312
+ }
4320
4313
 
4321
- .muka-tile__price {
4322
- flex-shrink: 0;
4314
+ .muka-thumbnail__remove:focus-visible {
4315
+ outline: 2px solid var(--color-border-focus);
4316
+ outline-offset: 2px;
4323
4317
  }
4324
4318
 
4325
- /* ─── Action slot ─────────────────────────────────────── */
4319
+ /* ─── Reduced motion ──────────────────────────────────── */
4320
+ @media (prefers-reduced-motion: reduce) {
4321
+ .muka-thumbnail__image,
4322
+ .muka-thumbnail__remove {
4323
+ transition: none;
4324
+ }
4326
4325
 
4327
- .muka-tile__action {
4328
- flex-shrink: 0;
4326
+ .muka-thumbnail--interactive:hover .muka-thumbnail__image {
4327
+ transform: none;
4328
+ }
4329
4329
  }
4330
4330
 
4331
4331
 
@@ -4733,114 +4733,6 @@ body {
4733
4733
  }
4734
4734
 
4735
4735
 
4736
- /* SwipeActions */
4737
- /* SwipeActions Component Styles */
4738
-
4739
- .muka-swipe-actions {
4740
- position: relative;
4741
- overflow: hidden;
4742
- touch-action: pan-y;
4743
- -webkit-user-select: none;
4744
- user-select: none;
4745
- background-color: var(--color-surface-level3);
4746
- }
4747
-
4748
- .muka-swipe-actions--disabled {
4749
- touch-action: auto;
4750
- }
4751
-
4752
- /* ─── Row that holds the actual content ────────────────── */
4753
-
4754
- .muka-swipe-actions__row {
4755
- position: relative;
4756
- z-index: 1;
4757
- background-color: inherit;
4758
- will-change: transform;
4759
- }
4760
-
4761
- /* ─── Action panels — sit beneath the row ──────────────── */
4762
-
4763
- .muka-swipe-actions__panel {
4764
- position: absolute;
4765
- top: 0;
4766
- bottom: 0;
4767
- display: flex;
4768
- align-items: stretch;
4769
- z-index: 0;
4770
- }
4771
-
4772
- .muka-swipe-actions__panel--left {
4773
- left: 0;
4774
- }
4775
-
4776
- .muka-swipe-actions__panel--right {
4777
- right: 0;
4778
- }
4779
-
4780
- /* ─── Single action button ─────────────────────────────── */
4781
-
4782
- .muka-swipe-actions__button {
4783
- display: flex;
4784
- flex-direction: column;
4785
- align-items: center;
4786
- justify-content: center;
4787
- gap: var(--spacing-1);
4788
- border: none;
4789
- cursor: pointer;
4790
- padding: var(--spacing-2);
4791
- background-color: var(--color-surface-level2);
4792
- color: var(--color-text-default-default);
4793
- font-family: var(--text-label-sm-semibold-fontFamily);
4794
- font-weight: var(--text-label-sm-semibold-fontWeight);
4795
- font-size: var(--text-label-sm-semibold-fontSize);
4796
- line-height: var(--text-label-sm-semibold-lineHeight);
4797
- -webkit-tap-highlight-color: transparent;
4798
- transition: filter 0.12s ease;
4799
- }
4800
-
4801
- .muka-swipe-actions__button:hover {
4802
- filter: brightness(0.95);
4803
- }
4804
-
4805
- .muka-swipe-actions__button:focus-visible {
4806
- outline: 2px solid var(--color-action-default);
4807
- outline-offset: -2px;
4808
- }
4809
-
4810
- .muka-swipe-actions__button-icon {
4811
- display: inline-flex;
4812
- align-items: center;
4813
- justify-content: center;
4814
- }
4815
-
4816
- /* ─── Color variants ───────────────────────────────────── */
4817
-
4818
- .muka-swipe-actions__button--neutral {
4819
- background-color: var(--color-surface-level2);
4820
- color: var(--color-text-default-default);
4821
- }
4822
-
4823
- .muka-swipe-actions__button--primary {
4824
- background-color: var(--color-action-default);
4825
- color: var(--color-text-default-inverse);
4826
- }
4827
-
4828
- .muka-swipe-actions__button--success {
4829
- background-color: var(--color-state-success-default);
4830
- color: var(--color-text-default-inverse);
4831
- }
4832
-
4833
- .muka-swipe-actions__button--warning {
4834
- background-color: var(--color-state-warning-default);
4835
- color: var(--color-text-default-default);
4836
- }
4837
-
4838
- .muka-swipe-actions__button--destructive {
4839
- background-color: var(--color-state-error-default);
4840
- color: var(--color-text-default-inverse);
4841
- }
4842
-
4843
-
4844
4736
  /* Spinner */
4845
4737
  /* Spinner Component Styles */
4846
4738
 
@@ -14255,9 +14147,23 @@ button.muka-chat-photo-grid__tile:focus-visible {
14255
14147
  width: 100%;
14256
14148
  }
14257
14149
 
14150
+ /*
14151
+ * Many choices (a phone with seven options) would push the field and the step
14152
+ * footer off screen. The card gets a height limit and scrolls on its own, so
14153
+ * the prompt, the field and the footer stay in view.
14154
+ */
14258
14155
  .muka-chat-composer__choices-card {
14259
14156
  width: 100%;
14260
- overflow: hidden;
14157
+ max-height: 45dvh;
14158
+ overflow-x: hidden;
14159
+ overflow-y: auto;
14160
+ overscroll-behavior: contain;
14161
+ }
14162
+
14163
+ /* A choice is one short line, not a navigation row: compact padding. */
14164
+ .muka-chat-composer__choice.muka-listitem {
14165
+ align-items: center;
14166
+ padding-block: var(--spacing-3);
14261
14167
  }
14262
14168
 
14263
14169
  /* Choice rows: the ListItem is the interactive control; the Radio/Checkbox is
@@ -16935,3 +16841,111 @@ button.muka-chat-photo-grid__tile:focus-visible {
16935
16841
  border-bottom: none;
16936
16842
  }
16937
16843
 
16844
+
16845
+ /* SwipeActions */
16846
+ /* SwipeActions Component Styles */
16847
+
16848
+ .muka-swipe-actions {
16849
+ position: relative;
16850
+ overflow: hidden;
16851
+ touch-action: pan-y;
16852
+ -webkit-user-select: none;
16853
+ user-select: none;
16854
+ background-color: var(--color-surface-level3);
16855
+ }
16856
+
16857
+ .muka-swipe-actions--disabled {
16858
+ touch-action: auto;
16859
+ }
16860
+
16861
+ /* ─── Row that holds the actual content ────────────────── */
16862
+
16863
+ .muka-swipe-actions__row {
16864
+ position: relative;
16865
+ z-index: 1;
16866
+ background-color: inherit;
16867
+ will-change: transform;
16868
+ }
16869
+
16870
+ /* ─── Action panels — sit beneath the row ──────────────── */
16871
+
16872
+ .muka-swipe-actions__panel {
16873
+ position: absolute;
16874
+ top: 0;
16875
+ bottom: 0;
16876
+ display: flex;
16877
+ align-items: stretch;
16878
+ z-index: 0;
16879
+ }
16880
+
16881
+ .muka-swipe-actions__panel--left {
16882
+ left: 0;
16883
+ }
16884
+
16885
+ .muka-swipe-actions__panel--right {
16886
+ right: 0;
16887
+ }
16888
+
16889
+ /* ─── Single action button ─────────────────────────────── */
16890
+
16891
+ .muka-swipe-actions__button {
16892
+ display: flex;
16893
+ flex-direction: column;
16894
+ align-items: center;
16895
+ justify-content: center;
16896
+ gap: var(--spacing-1);
16897
+ border: none;
16898
+ cursor: pointer;
16899
+ padding: var(--spacing-2);
16900
+ background-color: var(--color-surface-level2);
16901
+ color: var(--color-text-default-default);
16902
+ font-family: var(--text-label-sm-semibold-fontFamily);
16903
+ font-weight: var(--text-label-sm-semibold-fontWeight);
16904
+ font-size: var(--text-label-sm-semibold-fontSize);
16905
+ line-height: var(--text-label-sm-semibold-lineHeight);
16906
+ -webkit-tap-highlight-color: transparent;
16907
+ transition: filter 0.12s ease;
16908
+ }
16909
+
16910
+ .muka-swipe-actions__button:hover {
16911
+ filter: brightness(0.95);
16912
+ }
16913
+
16914
+ .muka-swipe-actions__button:focus-visible {
16915
+ outline: 2px solid var(--color-action-default);
16916
+ outline-offset: -2px;
16917
+ }
16918
+
16919
+ .muka-swipe-actions__button-icon {
16920
+ display: inline-flex;
16921
+ align-items: center;
16922
+ justify-content: center;
16923
+ }
16924
+
16925
+ /* ─── Color variants ───────────────────────────────────── */
16926
+
16927
+ .muka-swipe-actions__button--neutral {
16928
+ background-color: var(--color-surface-level2);
16929
+ color: var(--color-text-default-default);
16930
+ }
16931
+
16932
+ .muka-swipe-actions__button--primary {
16933
+ background-color: var(--color-action-default);
16934
+ color: var(--color-text-default-inverse);
16935
+ }
16936
+
16937
+ .muka-swipe-actions__button--success {
16938
+ background-color: var(--color-state-success-default);
16939
+ color: var(--color-text-default-inverse);
16940
+ }
16941
+
16942
+ .muka-swipe-actions__button--warning {
16943
+ background-color: var(--color-state-warning-default);
16944
+ color: var(--color-text-default-default);
16945
+ }
16946
+
16947
+ .muka-swipe-actions__button--destructive {
16948
+ background-color: var(--color-state-error-default);
16949
+ color: var(--color-text-default-inverse);
16950
+ }
16951
+