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