@revikornmann/muka-ui 0.50.1 → 0.52.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (104) hide show
  1. package/dist/cjs/components/BadgeNumber/BadgeNumber.css +8 -0
  2. package/dist/cjs/components/BadgeNumber/BadgeNumber.js +3 -3
  3. package/dist/cjs/components/BadgeNumber/BadgeNumber.js.map +1 -1
  4. package/dist/cjs/components/BottomBar/BottomBar.css +10 -0
  5. package/dist/cjs/components/BottomBar/BottomBar.js +4 -2
  6. package/dist/cjs/components/BottomBar/BottomBar.js.map +1 -1
  7. package/dist/cjs/components/DocumentViewer/DocumentCanvas.js +11 -9
  8. package/dist/cjs/components/DocumentViewer/DocumentCanvas.js.map +1 -1
  9. package/dist/cjs/components/DocumentViewer/DocumentThumbnails.js +5 -3
  10. package/dist/cjs/components/DocumentViewer/DocumentThumbnails.js.map +1 -1
  11. package/dist/cjs/components/DocumentViewer/DocumentToolbar.js +4 -2
  12. package/dist/cjs/components/DocumentViewer/DocumentToolbar.js.map +1 -1
  13. package/dist/cjs/components/DocumentViewer/DocumentViewer.js +4 -2
  14. package/dist/cjs/components/DocumentViewer/DocumentViewer.js.map +1 -1
  15. package/dist/cjs/components/DocumentViewer/index.js.map +1 -1
  16. package/dist/cjs/components/DocumentViewer/labels.js +43 -0
  17. package/dist/cjs/components/DocumentViewer/labels.js.map +1 -0
  18. package/dist/cjs/components/FileUpload/FileUpload.js +32 -21
  19. package/dist/cjs/components/FileUpload/FileUpload.js.map +1 -1
  20. package/dist/cjs/components/FileUpload/FileUploadItem.js +12 -11
  21. package/dist/cjs/components/FileUpload/FileUploadItem.js.map +1 -1
  22. package/dist/cjs/components/FileUpload/index.js.map +1 -1
  23. package/dist/cjs/components/ListItem/ListItem.css +19 -0
  24. package/dist/cjs/components/ListItem/ListItem.js +3 -3
  25. package/dist/cjs/components/ListItem/ListItem.js.map +1 -1
  26. package/dist/cjs/components/PhotoUploader/PhotoUploader.js +65 -13
  27. package/dist/cjs/components/PhotoUploader/PhotoUploader.js.map +1 -1
  28. package/dist/cjs/components/PhotoUploader/index.js.map +1 -1
  29. package/dist/cjs/components/index.js.map +1 -1
  30. package/dist/cjs/utils/formatBytes.js +13 -0
  31. package/dist/cjs/utils/formatBytes.js.map +1 -0
  32. package/dist/esm/components/BadgeNumber/BadgeNumber.css +8 -0
  33. package/dist/esm/components/BadgeNumber/BadgeNumber.js +3 -3
  34. package/dist/esm/components/BadgeNumber/BadgeNumber.js.map +1 -1
  35. package/dist/esm/components/BottomBar/BottomBar.css +10 -0
  36. package/dist/esm/components/BottomBar/BottomBar.js +4 -2
  37. package/dist/esm/components/BottomBar/BottomBar.js.map +1 -1
  38. package/dist/esm/components/DocumentViewer/DocumentCanvas.js +12 -10
  39. package/dist/esm/components/DocumentViewer/DocumentCanvas.js.map +1 -1
  40. package/dist/esm/components/DocumentViewer/DocumentThumbnails.js +6 -4
  41. package/dist/esm/components/DocumentViewer/DocumentThumbnails.js.map +1 -1
  42. package/dist/esm/components/DocumentViewer/DocumentToolbar.js +5 -3
  43. package/dist/esm/components/DocumentViewer/DocumentToolbar.js.map +1 -1
  44. package/dist/esm/components/DocumentViewer/DocumentViewer.js +5 -3
  45. package/dist/esm/components/DocumentViewer/DocumentViewer.js.map +1 -1
  46. package/dist/esm/components/DocumentViewer/index.js.map +1 -1
  47. package/dist/esm/components/DocumentViewer/labels.js +39 -0
  48. package/dist/esm/components/DocumentViewer/labels.js.map +1 -0
  49. package/dist/esm/components/FileUpload/FileUpload.js +34 -23
  50. package/dist/esm/components/FileUpload/FileUpload.js.map +1 -1
  51. package/dist/esm/components/FileUpload/FileUploadItem.js +11 -10
  52. package/dist/esm/components/FileUpload/FileUploadItem.js.map +1 -1
  53. package/dist/esm/components/FileUpload/index.js.map +1 -1
  54. package/dist/esm/components/ListItem/ListItem.css +19 -0
  55. package/dist/esm/components/ListItem/ListItem.js +3 -3
  56. package/dist/esm/components/ListItem/ListItem.js.map +1 -1
  57. package/dist/esm/components/PhotoUploader/PhotoUploader.js +66 -14
  58. package/dist/esm/components/PhotoUploader/PhotoUploader.js.map +1 -1
  59. package/dist/esm/components/PhotoUploader/index.js.map +1 -1
  60. package/dist/esm/components/index.js +1 -1
  61. package/dist/esm/components/index.js.map +1 -1
  62. package/dist/esm/utils/formatBytes.js +10 -0
  63. package/dist/esm/utils/formatBytes.js.map +1 -0
  64. package/dist/styles/components/BadgeNumber.css +8 -0
  65. package/dist/styles/components/BottomBar.css +10 -0
  66. package/dist/styles/components/ListItem.css +19 -0
  67. package/dist/styles/index.css +912 -875
  68. package/dist/styles/muka-dark.css +912 -875
  69. package/dist/styles/muka-light.css +912 -875
  70. package/dist/styles/wireframe-dark.css +912 -875
  71. package/dist/styles/wireframe-light.css +912 -875
  72. package/dist/types/components/BadgeNumber/BadgeNumber.d.ts +7 -1
  73. package/dist/types/components/BadgeNumber/BadgeNumber.d.ts.map +1 -1
  74. package/dist/types/components/BottomBar/BottomBar.d.ts +7 -0
  75. package/dist/types/components/BottomBar/BottomBar.d.ts.map +1 -1
  76. package/dist/types/components/DocumentViewer/DocumentCanvas.d.ts +3 -0
  77. package/dist/types/components/DocumentViewer/DocumentCanvas.d.ts.map +1 -1
  78. package/dist/types/components/DocumentViewer/DocumentThumbnails.d.ts +3 -0
  79. package/dist/types/components/DocumentViewer/DocumentThumbnails.d.ts.map +1 -1
  80. package/dist/types/components/DocumentViewer/DocumentToolbar.d.ts +3 -0
  81. package/dist/types/components/DocumentViewer/DocumentToolbar.d.ts.map +1 -1
  82. package/dist/types/components/DocumentViewer/DocumentViewer.d.ts +3 -0
  83. package/dist/types/components/DocumentViewer/DocumentViewer.d.ts.map +1 -1
  84. package/dist/types/components/DocumentViewer/index.d.ts +1 -0
  85. package/dist/types/components/DocumentViewer/index.d.ts.map +1 -1
  86. package/dist/types/components/DocumentViewer/labels.d.ts +57 -0
  87. package/dist/types/components/DocumentViewer/labels.d.ts.map +1 -0
  88. package/dist/types/components/FileUpload/FileUpload.d.ts +46 -6
  89. package/dist/types/components/FileUpload/FileUpload.d.ts.map +1 -1
  90. package/dist/types/components/FileUpload/FileUploadItem.d.ts +19 -0
  91. package/dist/types/components/FileUpload/FileUploadItem.d.ts.map +1 -1
  92. package/dist/types/components/FileUpload/index.d.ts +1 -1
  93. package/dist/types/components/FileUpload/index.d.ts.map +1 -1
  94. package/dist/types/components/ListItem/ListItem.d.ts +8 -1
  95. package/dist/types/components/ListItem/ListItem.d.ts.map +1 -1
  96. package/dist/types/components/PhotoUploader/PhotoUploader.d.ts +55 -9
  97. package/dist/types/components/PhotoUploader/PhotoUploader.d.ts.map +1 -1
  98. package/dist/types/components/PhotoUploader/index.d.ts +1 -1
  99. package/dist/types/components/PhotoUploader/index.d.ts.map +1 -1
  100. package/dist/types/components/index.d.ts +3 -3
  101. package/dist/types/components/index.d.ts.map +1 -1
  102. package/dist/types/utils/formatBytes.d.ts +3 -0
  103. package/dist/types/utils/formatBytes.d.ts.map +1 -0
  104. package/package.json +1 -1
@@ -3543,795 +3543,795 @@ body {
3543
3543
  }
3544
3544
 
3545
3545
 
3546
- /* Thumbnail */
3547
- /* Thumbnail Component Styles - Using Muka Design Tokens */
3546
+ /* Tile */
3547
+ /* Tile Component Styles - Using Muka Design Tokens */
3548
3548
 
3549
- .muka-thumbnail {
3550
- position: relative;
3551
- flex-shrink: 0;
3552
- }
3549
+ /* ─── Base ────────────────────────────────────────────── */
3553
3550
 
3554
- /* The frame carries the border, background and shape clip. Keeping it separate
3555
- from the root lets the remove (×) button sit outside the clip (needed for the
3556
- circular/ellipse shape, whose corners would otherwise clip the button). */
3557
- .muka-thumbnail__frame {
3558
- position: absolute;
3559
- inset: 0;
3560
- overflow: hidden;
3561
- border: var(--border-width-regular, 1px) solid var(--color-black-alpha-3);
3562
- border-radius: var(--border-radius-lg);
3563
- background-color: var(--color-surface-level1);
3551
+ .muka-tile {
3552
+ display: flex;
3553
+ color: var(--color-text-default-default);
3564
3554
  }
3565
3555
 
3566
- /* ─── Shapes ──────────────────────────────────────────── */
3567
- .muka-thumbnail--4-3 {
3568
- width: 160px;
3569
- height: 120px;
3556
+ .muka-tile--interactive {
3557
+ cursor: pointer;
3558
+ user-select: none;
3570
3559
  }
3571
3560
 
3572
- .muka-thumbnail--1-1 {
3573
- width: 120px;
3574
- height: 120px;
3561
+ .muka-tile--interactive:focus-visible {
3562
+ outline: 2px solid var(--color-border-focus);
3563
+ outline-offset: 2px;
3564
+ border-radius: var(--border-radius-lg);
3575
3565
  }
3576
3566
 
3577
- .muka-thumbnail--ellipse {
3578
- width: 120px;
3579
- height: 120px;
3580
- }
3567
+ /* ─── Image position variants ─────────────────────────── */
3581
3568
 
3582
- /* Fluid: fill the parent's width; the shape sets the height via aspect-ratio. */
3583
- .muka-thumbnail--fluid {
3584
- width: 100%;
3585
- height: auto;
3586
- aspect-ratio: 1 / 1;
3569
+ .muka-tile--image-top {
3570
+ flex-direction: column;
3587
3571
  }
3588
3572
 
3589
- .muka-thumbnail--fluid.muka-thumbnail--4-3 {
3590
- aspect-ratio: 4 / 3;
3573
+ .muka-tile--image-left {
3574
+ flex-direction: row;
3591
3575
  }
3592
3576
 
3593
- .muka-thumbnail--ellipse .muka-thumbnail__frame {
3594
- border-radius: var(--border-radius-full);
3577
+ .muka-tile--image-right {
3578
+ flex-direction: row;
3595
3579
  }
3596
3580
 
3597
- /* Image fills the frame, cropped to cover. Sits at scale(1) by default so the
3598
- interactive hover zoom has a clean origin. */
3599
- .muka-thumbnail__image {
3600
- position: absolute;
3601
- inset: 0;
3602
- width: 100%;
3603
- height: 100%;
3604
- object-fit: cover;
3605
- display: block;
3606
- transform-origin: center;
3607
- /* Micro-interaction: hover zoom eases out over the "micro" duration. */
3608
- transition: transform var(--motion-duration-micro) var(--motion-easing-enter);
3609
- }
3581
+ /* ─── Gap by size (top) ───────────────────────────────── */
3610
3582
 
3611
- /* ─── Interactive (click-to-enlarge) ──────────────────── */
3612
- .muka-thumbnail__trigger {
3613
- position: absolute;
3614
- inset: 0;
3615
- padding: 0;
3616
- border: 0;
3617
- background: none;
3618
- cursor: pointer;
3619
- overflow: hidden;
3583
+ .muka-tile--image-top.muka-tile--lg {
3584
+ gap: var(--spacing-6);
3620
3585
  }
3621
3586
 
3622
- .muka-thumbnail__trigger:focus-visible {
3623
- outline: 2px solid var(--color-border-focus);
3624
- outline-offset: -2px;
3587
+ .muka-tile--image-top.muka-tile--md {
3588
+ gap: var(--spacing-6);
3589
+ width: 320px;
3625
3590
  }
3626
3591
 
3627
- /* On hover the image scales up ~8px (160px → 168px) with an ease-out feel. */
3628
- .muka-thumbnail--interactive:hover .muka-thumbnail__image {
3629
- transform: scale(1.05);
3592
+ .muka-tile--image-top.muka-tile--sm {
3593
+ gap: var(--spacing-4);
3594
+ min-width: 120px;
3630
3595
  }
3631
3596
 
3632
- /* ─── Loading overlay + progress donut ────────────────── */
3633
- .muka-thumbnail__overlay {
3634
- position: absolute;
3635
- inset: 0;
3636
- display: flex;
3597
+ /* ─── Gap by size (left/right) ────────────────────────── */
3598
+
3599
+ .muka-tile--image-left.muka-tile--lg,
3600
+ .muka-tile--image-right.muka-tile--lg {
3601
+ gap: var(--spacing-6);
3637
3602
  align-items: center;
3638
- justify-content: center;
3639
- background-color: var(--dialog-color-backdrop);
3640
3603
  }
3641
3604
 
3642
- .muka-thumbnail__progress {
3643
- width: 40px;
3644
- height: 40px;
3605
+ .muka-tile--image-left.muka-tile--md,
3606
+ .muka-tile--image-right.muka-tile--md {
3607
+ gap: var(--spacing-6);
3608
+ align-items: center;
3645
3609
  }
3646
3610
 
3647
- /* ─── Error / corrupt state ───────────────────────────── */
3648
- .muka-thumbnail--error .muka-thumbnail__frame {
3649
- background-color: var(--alias-color-state-error-muted);
3650
- border-color: var(--alias-color-state-error-default);
3611
+ .muka-tile--image-left.muka-tile--sm,
3612
+ .muka-tile--image-right.muka-tile--sm {
3613
+ gap: var(--spacing-4);
3614
+ align-items: flex-start;
3651
3615
  }
3652
3616
 
3653
- .muka-thumbnail__error {
3654
- position: absolute;
3655
- inset: 0;
3617
+ /* ─── Photos container ────────────────────────────────── */
3618
+
3619
+ .muka-tile__photos {
3620
+ position: relative;
3621
+ flex-shrink: 0;
3622
+ overflow: hidden;
3656
3623
  display: flex;
3657
3624
  flex-direction: column;
3658
- align-items: center;
3659
- justify-content: center;
3660
- gap: var(--spacing-2);
3661
- padding: var(--spacing-3);
3662
- text-align: center;
3625
+ isolation: isolate;
3663
3626
  }
3664
3627
 
3665
- .muka-thumbnail__error-icon {
3666
- color: var(--alert-color-error-accent);
3628
+ /* Photos border radius by size */
3629
+ .muka-tile--lg .muka-tile__photos,
3630
+ .muka-tile--md .muka-tile__photos {
3631
+ border-radius: var(--border-radius-lg);
3667
3632
  }
3668
3633
 
3669
- .muka-thumbnail__caption {
3670
- max-width: 100%;
3671
- overflow: hidden;
3672
- text-overflow: ellipsis;
3673
- white-space: nowrap;
3674
- color: var(--alert-color-error-accent);
3675
- font-family: var(--text-body-sm-regular-fontFamily);
3676
- font-size: var(--text-body-sm-regular-fontSize);
3677
- font-weight: var(--text-body-sm-regular-fontWeight);
3678
- line-height: var(--text-body-sm-regular-lineHeight);
3634
+ .muka-tile--sm .muka-tile__photos {
3635
+ border-radius: var(--border-radius-md);
3679
3636
  }
3680
3637
 
3681
- /* ─── Remove (×) button ───────────────────────────────── */
3682
- .muka-thumbnail__remove {
3683
- position: absolute;
3684
- top: var(--spacing-2);
3685
- right: var(--spacing-2);
3686
- display: flex;
3687
- align-items: center;
3688
- justify-content: center;
3689
- width: var(--size-2xl);
3690
- height: var(--size-2xl);
3691
- padding: 0;
3692
- color: var(--button-color-tertiary-foreground-default);
3693
- background-color: var(--button-color-tertiary-background-default);
3694
- border: var(--border-width-regular, 1px) solid var(--button-color-tertiary-border-default);
3695
- border-radius: var(--border-radius-lg);
3696
- cursor: pointer;
3697
- transition: background-color var(--motion-duration-micro) var(--motion-easing-enter),
3698
- border-color var(--motion-duration-micro) var(--motion-easing-enter);
3638
+ /* Photos sizing: top layout */
3639
+ .muka-tile--image-top .muka-tile__photos {
3640
+ width: 100%;
3699
3641
  }
3700
3642
 
3701
- .muka-thumbnail__remove:hover {
3702
- color: var(--button-color-tertiary-foreground-hover);
3703
- background-color: var(--button-color-tertiary-background-hover);
3704
- border-color: var(--button-color-tertiary-border-hover);
3643
+ /* Photos sizing: left/right large */
3644
+ .muka-tile--image-left.muka-tile--lg .muka-tile__photos,
3645
+ .muka-tile--image-right.muka-tile--lg .muka-tile__photos {
3646
+ width: 520px;
3705
3647
  }
3706
3648
 
3707
- .muka-thumbnail__remove:active {
3708
- color: var(--button-color-tertiary-foreground-pressed);
3709
- background-color: var(--button-color-tertiary-background-pressed);
3710
- border-color: var(--button-color-tertiary-border-pressed);
3649
+ /* Photos sizing: left/right medium */
3650
+ .muka-tile--image-left.muka-tile--md .muka-tile__photos,
3651
+ .muka-tile--image-right.muka-tile--md .muka-tile__photos {
3652
+ width: 320px;
3711
3653
  }
3712
3654
 
3713
- .muka-thumbnail__remove:focus-visible {
3714
- outline: 2px solid var(--color-border-focus);
3715
- outline-offset: 2px;
3655
+ /* Photos sizing: left/right small (single 80x80 thumbnail) */
3656
+ .muka-tile--image-left.muka-tile--sm .muka-tile__photos,
3657
+ .muka-tile--image-right.muka-tile--sm .muka-tile__photos {
3658
+ width: 80px;
3659
+ align-self: stretch;
3716
3660
  }
3717
3661
 
3718
- /* ─── Reduced motion ──────────────────────────────────── */
3719
- @media (prefers-reduced-motion: reduce) {
3720
- .muka-thumbnail__image,
3721
- .muka-thumbnail__remove {
3722
- transition: none;
3723
- }
3662
+ /* ─── Main photo ──────────────────────────────────────── */
3724
3663
 
3725
- .muka-thumbnail--interactive:hover .muka-thumbnail__image {
3726
- transform: none;
3727
- }
3664
+ .muka-tile__photo-main {
3665
+ position: relative;
3666
+ width: 100%;
3667
+ overflow: hidden;
3668
+ flex-shrink: 0;
3728
3669
  }
3729
3670
 
3671
+ /* 16:9 aspect for lg and md */
3672
+ .muka-tile--lg .muka-tile__photo-main,
3673
+ .muka-tile--md .muka-tile__photo-main {
3674
+ aspect-ratio: 1280 / 720;
3675
+ }
3730
3676
 
3731
- /* Textarea */
3732
- /* Textarea Component Styles - Using Muka Design Tokens */
3733
-
3734
- .muka-textarea {
3735
- display: inline-flex;
3736
- flex-direction: column;
3737
- gap: var(--spacing-2);
3677
+ /* 1:1 aspect for top + sm */
3678
+ .muka-tile--image-top.muka-tile--sm .muka-tile__photo-main {
3679
+ aspect-ratio: 1 / 1;
3738
3680
  }
3739
3681
 
3740
- /* Label */
3741
- .muka-textarea__label {
3742
- color: var(--color-text-default-default);
3743
- cursor: pointer;
3682
+ /* Fixed size for left/right + sm */
3683
+ .muka-tile--image-left.muka-tile--sm .muka-tile__photo-main,
3684
+ .muka-tile--image-right.muka-tile--sm .muka-tile__photo-main {
3685
+ width: 80px;
3686
+ height: 80px;
3687
+ aspect-ratio: auto;
3744
3688
  }
3745
3689
 
3746
- .muka-textarea__label--sm {
3747
- font-family: var(--text-label-sm-semibold-fontFamily);
3748
- font-weight: var(--text-label-sm-semibold-fontWeight);
3749
- font-size: var(--text-label-sm-semibold-fontSize);
3750
- line-height: var(--text-label-sm-semibold-lineHeight);
3690
+ .muka-tile__photo-main img {
3691
+ width: 100%;
3692
+ height: 100%;
3693
+ object-fit: cover;
3694
+ display: block;
3751
3695
  }
3752
3696
 
3753
- .muka-textarea__label--md {
3754
- font-family: var(--text-label-md-semibold-fontFamily);
3755
- font-weight: var(--text-label-md-semibold-fontWeight);
3756
- font-size: var(--text-label-md-semibold-fontSize);
3757
- line-height: var(--text-label-md-semibold-lineHeight);
3697
+ /* ─── Favourite overlay ───────────────────────────────── */
3698
+
3699
+ .muka-tile__favourite {
3700
+ position: absolute;
3701
+ z-index: 3;
3758
3702
  }
3759
3703
 
3760
- .muka-textarea__label--lg {
3761
- font-family: var(--text-label-lg-semibold-fontFamily);
3762
- font-weight: var(--text-label-lg-semibold-fontWeight);
3763
- font-size: var(--text-label-lg-semibold-fontSize);
3764
- line-height: var(--text-label-lg-semibold-lineHeight);
3704
+ .muka-tile--lg .muka-tile__favourite,
3705
+ .muka-tile--md .muka-tile__favourite {
3706
+ top: var(--spacing-4);
3707
+ right: var(--spacing-4);
3765
3708
  }
3766
3709
 
3767
- .muka-textarea__required {
3768
- color: var(--color-state-error-default);
3710
+ .muka-tile--image-top.muka-tile--sm .muka-tile__favourite {
3711
+ top: var(--spacing-1);
3712
+ right: var(--spacing-1);
3769
3713
  }
3770
3714
 
3771
- /* Field container */
3772
- .muka-textarea__field {
3715
+ /* ─── Thumbnails ──────────────────────────────────────── */
3716
+
3717
+ .muka-tile__thumbnails {
3773
3718
  display: flex;
3774
- background-color: var(--input-field-color-default-background);
3775
- border: var(--border-width-regular) solid var(--input-field-color-default-border);
3776
- border-radius: var(--input-field-radius-md);
3777
- padding: var(--input-field-padding-y) var(--input-field-padding-x);
3778
- transition: border-color 0.2s ease, background-color 0.2s ease;
3779
- box-sizing: border-box;
3719
+ gap: 2px;
3720
+ overflow: hidden;
3721
+ flex-shrink: 0;
3722
+ height: 80px;
3780
3723
  }
3781
3724
 
3782
- .muka-textarea__field--sm {
3783
- min-height: var(--input-textarea-height-sm);
3784
- border-radius: var(--input-field-radius-sm);
3725
+ .muka-tile__thumbnail {
3726
+ width: 80px;
3727
+ height: 80px;
3728
+ flex-shrink: 0;
3729
+ overflow: hidden;
3785
3730
  }
3786
3731
 
3787
- .muka-textarea__field--md {
3788
- min-height: var(--input-textarea-height-default);
3789
- border-radius: var(--input-field-radius-md);
3732
+ .muka-tile__thumbnail img {
3733
+ width: 100%;
3734
+ height: 100%;
3735
+ object-fit: cover;
3736
+ display: block;
3790
3737
  }
3791
3738
 
3792
- .muka-textarea__field--lg {
3793
- min-height: var(--input-textarea-height-lg);
3794
- border-radius: var(--input-field-radius-lg);
3739
+ /* Gap between main photo and thumbnails */
3740
+ .muka-tile__photos > .muka-tile__photo-main + .muka-tile__thumbnails {
3741
+ margin-top: 2px;
3795
3742
  }
3796
3743
 
3797
- /* Focus state */
3798
- .muka-textarea__field--focused:not(.muka-textarea__field--disabled) {
3799
- border-width: var(--border-width-bold);
3800
- border-color: var(--input-field-color-focus-border);
3801
- background-color: var(--input-field-color-focus-background);
3802
- padding: calc(var(--input-field-padding-y) - 1px) calc(var(--input-field-padding-x) - 1px);
3744
+ /* ─── Content section ─────────────────────────────────── */
3745
+
3746
+ .muka-tile__content {
3747
+ display: flex;
3748
+ flex-direction: column;
3749
+ flex: 1;
3750
+ min-width: 0;
3803
3751
  }
3804
3752
 
3805
- /* Error state */
3806
- .muka-textarea__field--error:not(.muka-textarea__field--disabled) {
3807
- border-width: var(--border-width-bold);
3808
- border-color: var(--input-field-color-error-border);
3809
- background-color: var(--input-field-color-error-background);
3810
- padding: calc(var(--input-field-padding-y) - 1px) calc(var(--input-field-padding-x) - 1px);
3753
+ /* Top layout: content has horizontal padding */
3754
+ .muka-tile--image-top.muka-tile--lg .muka-tile__content {
3755
+ padding: 0 var(--spacing-3);
3756
+ gap: var(--spacing-1);
3811
3757
  }
3812
3758
 
3813
- /* Disabled state */
3814
- .muka-textarea__field--disabled {
3815
- background-color: var(--input-field-color-disabled-background);
3816
- border-color: var(--input-field-color-disabled-border);
3817
- cursor: not-allowed;
3759
+ .muka-tile--image-top.muka-tile--md .muka-tile__content {
3760
+ padding: 0 var(--spacing-3);
3761
+ gap: var(--spacing-2);
3818
3762
  }
3819
3763
 
3820
- /* Native textarea */
3821
- .muka-textarea__native {
3822
- flex: 1;
3823
- border: none;
3824
- outline: none;
3825
- background: transparent;
3826
- color: var(--input-field-color-default-foreground);
3827
- font-family: var(--text-input-md-fontFamily);
3828
- font-weight: var(--text-input-md-fontWeight);
3829
- font-size: var(--text-input-md-fontSize);
3830
- line-height: var(--text-input-md-lineHeight);
3831
- padding: 0;
3832
- width: 100%;
3833
- min-width: 0;
3764
+ .muka-tile--image-top.muka-tile--sm .muka-tile__content {
3765
+ gap: var(--spacing-2);
3834
3766
  }
3835
3767
 
3836
- .muka-textarea__field--sm .muka-textarea__native {
3837
- font-family: var(--text-input-sm-fontFamily);
3838
- font-weight: var(--text-input-sm-fontWeight);
3839
- font-size: var(--text-input-sm-fontSize);
3840
- line-height: var(--text-input-sm-lineHeight);
3768
+ /* Left/right layout: content grows to fill space */
3769
+ .muka-tile--image-left .muka-tile__content,
3770
+ .muka-tile--image-right .muka-tile__content {
3771
+ gap: var(--spacing-3);
3841
3772
  }
3842
3773
 
3843
- .muka-textarea__field--lg .muka-textarea__native {
3844
- font-family: var(--text-input-lg-fontFamily);
3845
- font-weight: var(--text-input-lg-fontWeight);
3846
- font-size: var(--text-input-lg-fontSize);
3847
- line-height: var(--text-input-lg-lineHeight);
3774
+ .muka-tile--image-left.muka-tile--lg .muka-tile__content,
3775
+ .muka-tile--image-right.muka-tile--lg .muka-tile__content {
3776
+ padding: 0 var(--spacing-3);
3848
3777
  }
3849
3778
 
3850
- .muka-textarea__native::placeholder {
3851
- color: var(--color-text-subtle-default);
3779
+ .muka-tile--image-left.muka-tile--md .muka-tile__content,
3780
+ .muka-tile--image-right.muka-tile--md .muka-tile__content {
3781
+ padding: var(--spacing-2) var(--spacing-3);
3852
3782
  }
3853
3783
 
3854
- .muka-textarea__field--disabled .muka-textarea__native {
3855
- color: var(--input-field-color-disabled-foreground);
3856
- cursor: not-allowed;
3784
+ .muka-tile--image-left.muka-tile--sm .muka-tile__content,
3785
+ .muka-tile--image-right.muka-tile--sm .muka-tile__content {
3786
+ gap: var(--spacing-2);
3857
3787
  }
3858
3788
 
3859
- /* Footer (helper/error + count) */
3860
- .muka-textarea__footer {
3789
+ /* ─── Header (heading row + price) ────────────────────── */
3790
+
3791
+ .muka-tile__header {
3861
3792
  display: flex;
3862
- justify-content: space-between;
3863
3793
  align-items: flex-start;
3864
- gap: var(--spacing-2);
3794
+ gap: var(--spacing-4);
3865
3795
  }
3866
3796
 
3867
- .muka-textarea__helper {
3868
- font-family: var(--text-label-sm-regular-fontFamily);
3869
- font-weight: var(--text-label-sm-regular-fontWeight);
3870
- font-size: var(--text-label-sm-regular-fontSize);
3871
- line-height: var(--text-label-sm-regular-lineHeight);
3872
- color: var(--color-text-subtle-default);
3873
- margin: 0;
3797
+ /* Small horizontal: row with text and action */
3798
+ .muka-tile--sm:not(.muka-tile--image-top) .muka-tile__header {
3799
+ gap: var(--spacing-2);
3800
+ align-items: center;
3801
+ padding-top: var(--spacing-1);
3874
3802
  }
3875
3803
 
3876
- .muka-textarea__error {
3877
- font-family: var(--text-label-sm-regular-fontFamily);
3878
- font-weight: var(--text-label-sm-regular-fontWeight);
3879
- font-size: var(--text-label-sm-regular-fontSize);
3880
- line-height: var(--text-label-sm-regular-lineHeight);
3881
- color: var(--color-state-error-default);
3882
- margin: 0;
3883
- }
3804
+ /* ─── Text group ──────────────────────────────────────── */
3884
3805
 
3885
- .muka-textarea__count {
3886
- font-family: var(--text-label-sm-regular-fontFamily);
3887
- font-weight: var(--text-label-sm-regular-fontWeight);
3888
- font-size: var(--text-label-sm-regular-fontSize);
3889
- line-height: var(--text-label-sm-regular-lineHeight);
3890
- color: var(--color-text-subtle-default);
3891
- margin-left: auto;
3806
+ .muka-tile__text {
3807
+ display: flex;
3808
+ flex-direction: column;
3809
+ flex: 1;
3810
+ min-width: 0;
3811
+ gap: var(--spacing-2);
3892
3812
  }
3893
3813
 
3814
+ /* ─── Heading typography ──────────────────────────────── */
3894
3815
 
3895
- /* TextLink */
3896
- /* TextLink Component Styles - Using Muka Design Tokens */
3897
-
3898
- .muka-text-link {
3899
- display: inline;
3900
- cursor: pointer;
3901
- text-decoration: underline;
3902
- /* Nudge the rule clear of descenders; the Figma underline sits off baseline. */
3903
- text-underline-offset: 0.2em;
3904
- text-decoration-thickness: from-font;
3905
- /* Rounds the focus ring's corners; the link itself has no visible box. */
3906
- border-radius: var(--border-radius-sm);
3907
- transition: color var(--motion-duration-micro, 0.15s) var(--motion-easing-enter, ease);
3816
+ .muka-tile__heading {
3817
+ margin: 0;
3908
3818
  }
3909
3819
 
3910
- /* ─── Sizes ───────────────────────────────────────────────
3911
- Mirrors the body text scale so a link matches the copy it sits in. */
3912
- .muka-text-link--sm {
3913
- font-family: var(--text-body-sm-regular-fontFamily);
3914
- font-weight: var(--text-body-sm-regular-fontWeight);
3915
- font-size: var(--text-body-sm-regular-fontSize);
3916
- line-height: var(--text-body-sm-regular-lineHeight);
3820
+ .muka-tile--lg .muka-tile__heading {
3821
+ font-family: var(--text-label-2xl-semibold-fontFamily);
3822
+ font-weight: var(--text-label-2xl-semibold-fontWeight);
3823
+ font-size: var(--text-label-2xl-semibold-fontSize);
3824
+ line-height: var(--text-label-2xl-semibold-lineHeight);
3825
+ color: var(--color-text-default-default);
3917
3826
  }
3918
3827
 
3919
- .muka-text-link--base {
3920
- font-family: var(--text-body-base-regular-fontFamily);
3921
- font-weight: var(--text-body-base-regular-fontWeight);
3922
- font-size: var(--text-body-base-regular-fontSize);
3923
- line-height: var(--text-body-base-regular-lineHeight);
3828
+ .muka-tile--md .muka-tile__heading {
3829
+ font-family: var(--text-label-xl-semibold-fontFamily);
3830
+ font-weight: var(--text-label-xl-semibold-fontWeight);
3831
+ font-size: var(--text-label-xl-semibold-fontSize);
3832
+ line-height: var(--text-label-xl-semibold-lineHeight);
3833
+ color: var(--color-text-default-default);
3924
3834
  }
3925
3835
 
3926
- .muka-text-link--lg {
3927
- font-family: var(--text-body-lg-regular-fontFamily);
3928
- font-weight: var(--text-body-lg-regular-fontWeight);
3929
- font-size: var(--text-body-lg-regular-fontSize);
3930
- line-height: var(--text-body-lg-regular-lineHeight);
3836
+ .muka-tile--sm .muka-tile__heading {
3837
+ font-family: var(--text-label-lg-bold-fontFamily);
3838
+ font-weight: var(--text-label-lg-bold-fontWeight);
3839
+ font-size: var(--text-label-lg-bold-fontSize);
3840
+ line-height: var(--text-label-lg-bold-lineHeight);
3841
+ color: var(--color-text-default-default);
3931
3842
  }
3932
3843
 
3933
- /* ─── Variant: default (accent) ───────────────────────────
3934
- Visited repeats the default colour on purpose: the design treats visited and
3935
- default the same, and pinning it stops the browser's purple from showing. */
3936
- .muka-text-link--default,
3937
- .muka-text-link--default:visited {
3938
- color: var(--color-text-action-default);
3939
- }
3844
+ /* ─── Subheading typography ───────────────────────────── */
3940
3845
 
3941
- .muka-text-link--default:hover,
3942
- .muka-text-link--default:focus-visible {
3943
- color: var(--color-text-action-hover);
3846
+ .muka-tile__subheading {
3847
+ margin: 0;
3848
+ color: var(--color-text-subtle-default);
3944
3849
  }
3945
3850
 
3946
- .muka-text-link--default:active {
3947
- color: var(--color-text-action-pressed);
3851
+ .muka-tile--lg .muka-tile__subheading {
3852
+ font-family: var(--text-subheading-md-fontFamily);
3853
+ font-weight: var(--text-subheading-md-fontWeight);
3854
+ font-size: var(--text-subheading-md-fontSize);
3855
+ line-height: var(--text-subheading-md-lineHeight);
3948
3856
  }
3949
3857
 
3950
- /* ─── Variant: subtle (neutral) ───────────────────────────
3951
- Hover, focus and pressed all darken to the default text colour. */
3952
- .muka-text-link--subtle,
3953
- .muka-text-link--subtle:visited {
3954
- color: var(--color-text-subtle-default);
3858
+ .muka-tile--md .muka-tile__subheading,
3859
+ .muka-tile--sm .muka-tile__subheading {
3860
+ font-family: var(--text-subheading-sm-fontFamily);
3861
+ font-weight: var(--text-subheading-sm-fontWeight);
3862
+ font-size: var(--text-subheading-sm-fontSize);
3863
+ line-height: var(--text-subheading-sm-lineHeight);
3955
3864
  }
3956
3865
 
3957
- .muka-text-link--subtle:hover,
3958
- .muka-text-link--subtle:focus-visible,
3959
- .muka-text-link--subtle:active {
3866
+ /* ─── Description typography ──────────────────────────── */
3867
+
3868
+ .muka-tile__description {
3869
+ margin: 0;
3960
3870
  color: var(--color-text-default-default);
3961
3871
  }
3962
3872
 
3963
- /* ─── Focus ───────────────────────────────────────────────
3964
- Same ring as every other focusable Muka component. */
3965
- .muka-text-link:focus-visible {
3966
- outline: 2px solid var(--color-border-focus);
3967
- outline-offset: 2px;
3873
+ .muka-tile--lg .muka-tile__description {
3874
+ font-family: var(--text-body-lg-regular-fontFamily);
3875
+ font-weight: var(--text-body-lg-regular-fontWeight);
3876
+ font-size: var(--text-body-lg-regular-fontSize);
3877
+ line-height: var(--text-body-lg-regular-lineHeight);
3968
3878
  }
3969
3879
 
3970
- @media (prefers-reduced-motion: reduce) {
3971
- .muka-text-link {
3972
- transition: none;
3973
- }
3880
+ .muka-tile--md .muka-tile__description,
3881
+ .muka-tile--sm .muka-tile__description {
3882
+ font-family: var(--text-body-base-regular-fontFamily);
3883
+ font-weight: var(--text-body-base-regular-fontWeight);
3884
+ font-size: var(--text-body-base-regular-fontSize);
3885
+ line-height: var(--text-body-base-regular-lineHeight);
3974
3886
  }
3975
3887
 
3888
+ /* Description overflow for medium */
3889
+ .muka-tile--md .muka-tile__description {
3890
+ overflow: hidden;
3891
+ text-overflow: ellipsis;
3892
+ }
3976
3893
 
3977
- /* Tile */
3978
- /* Tile Component Styles - Using Muka Design Tokens */
3979
-
3980
- /* ─── Base ────────────────────────────────────────────── */
3894
+ /* ─── Price slot ──────────────────────────────────────── */
3981
3895
 
3982
- .muka-tile {
3983
- display: flex;
3984
- color: var(--color-text-default-default);
3896
+ .muka-tile__price {
3897
+ flex-shrink: 0;
3985
3898
  }
3986
3899
 
3987
- .muka-tile--interactive {
3988
- cursor: pointer;
3989
- user-select: none;
3990
- }
3900
+ /* ─── Action slot ─────────────────────────────────────── */
3991
3901
 
3992
- .muka-tile--interactive:focus-visible {
3993
- outline: 2px solid var(--color-border-focus);
3994
- outline-offset: 2px;
3995
- border-radius: var(--border-radius-lg);
3902
+ .muka-tile__action {
3903
+ flex-shrink: 0;
3996
3904
  }
3997
3905
 
3998
- /* ─── Image position variants ─────────────────────────── */
3999
3906
 
4000
- .muka-tile--image-top {
4001
- flex-direction: column;
4002
- }
3907
+ /* Thumbnail */
3908
+ /* Thumbnail Component Styles - Using Muka Design Tokens */
4003
3909
 
4004
- .muka-tile--image-left {
4005
- flex-direction: row;
3910
+ .muka-thumbnail {
3911
+ position: relative;
3912
+ flex-shrink: 0;
4006
3913
  }
4007
3914
 
4008
- .muka-tile--image-right {
4009
- flex-direction: row;
3915
+ /* The frame carries the border, background and shape clip. Keeping it separate
3916
+ from the root lets the remove (×) button sit outside the clip (needed for the
3917
+ circular/ellipse shape, whose corners would otherwise clip the button). */
3918
+ .muka-thumbnail__frame {
3919
+ position: absolute;
3920
+ inset: 0;
3921
+ overflow: hidden;
3922
+ border: var(--border-width-regular, 1px) solid var(--color-black-alpha-3);
3923
+ border-radius: var(--border-radius-lg);
3924
+ background-color: var(--color-surface-level1);
4010
3925
  }
4011
3926
 
4012
- /* ─── Gap by size (top) ───────────────────────────────── */
4013
-
4014
- .muka-tile--image-top.muka-tile--lg {
4015
- gap: var(--spacing-6);
3927
+ /* ─── Shapes ──────────────────────────────────────────── */
3928
+ .muka-thumbnail--4-3 {
3929
+ width: 160px;
3930
+ height: 120px;
4016
3931
  }
4017
3932
 
4018
- .muka-tile--image-top.muka-tile--md {
4019
- gap: var(--spacing-6);
4020
- width: 320px;
3933
+ .muka-thumbnail--1-1 {
3934
+ width: 120px;
3935
+ height: 120px;
4021
3936
  }
4022
3937
 
4023
- .muka-tile--image-top.muka-tile--sm {
4024
- gap: var(--spacing-4);
4025
- min-width: 120px;
3938
+ .muka-thumbnail--ellipse {
3939
+ width: 120px;
3940
+ height: 120px;
4026
3941
  }
4027
3942
 
4028
- /* ─── Gap by size (left/right) ────────────────────────── */
4029
-
4030
- .muka-tile--image-left.muka-tile--lg,
4031
- .muka-tile--image-right.muka-tile--lg {
4032
- gap: var(--spacing-6);
4033
- align-items: center;
3943
+ /* Fluid: fill the parent's width; the shape sets the height via aspect-ratio. */
3944
+ .muka-thumbnail--fluid {
3945
+ width: 100%;
3946
+ height: auto;
3947
+ aspect-ratio: 1 / 1;
4034
3948
  }
4035
3949
 
4036
- .muka-tile--image-left.muka-tile--md,
4037
- .muka-tile--image-right.muka-tile--md {
4038
- gap: var(--spacing-6);
4039
- align-items: center;
3950
+ .muka-thumbnail--fluid.muka-thumbnail--4-3 {
3951
+ aspect-ratio: 4 / 3;
4040
3952
  }
4041
3953
 
4042
- .muka-tile--image-left.muka-tile--sm,
4043
- .muka-tile--image-right.muka-tile--sm {
4044
- gap: var(--spacing-4);
4045
- align-items: flex-start;
3954
+ .muka-thumbnail--ellipse .muka-thumbnail__frame {
3955
+ border-radius: var(--border-radius-full);
4046
3956
  }
4047
3957
 
4048
- /* ─── Photos container ────────────────────────────────── */
3958
+ /* Image fills the frame, cropped to cover. Sits at scale(1) by default so the
3959
+ interactive hover zoom has a clean origin. */
3960
+ .muka-thumbnail__image {
3961
+ position: absolute;
3962
+ inset: 0;
3963
+ width: 100%;
3964
+ height: 100%;
3965
+ object-fit: cover;
3966
+ display: block;
3967
+ transform-origin: center;
3968
+ /* Micro-interaction: hover zoom eases out over the "micro" duration. */
3969
+ transition: transform var(--motion-duration-micro) var(--motion-easing-enter);
3970
+ }
4049
3971
 
4050
- .muka-tile__photos {
4051
- position: relative;
4052
- flex-shrink: 0;
3972
+ /* ─── Interactive (click-to-enlarge) ──────────────────── */
3973
+ .muka-thumbnail__trigger {
3974
+ position: absolute;
3975
+ inset: 0;
3976
+ padding: 0;
3977
+ border: 0;
3978
+ background: none;
3979
+ cursor: pointer;
4053
3980
  overflow: hidden;
4054
- display: flex;
4055
- flex-direction: column;
4056
- isolation: isolate;
4057
3981
  }
4058
3982
 
4059
- /* Photos border radius by size */
4060
- .muka-tile--lg .muka-tile__photos,
4061
- .muka-tile--md .muka-tile__photos {
4062
- border-radius: var(--border-radius-lg);
3983
+ .muka-thumbnail__trigger:focus-visible {
3984
+ outline: 2px solid var(--color-border-focus);
3985
+ outline-offset: -2px;
4063
3986
  }
4064
3987
 
4065
- .muka-tile--sm .muka-tile__photos {
4066
- border-radius: var(--border-radius-md);
3988
+ /* On hover the image scales up ~8px (160px → 168px) with an ease-out feel. */
3989
+ .muka-thumbnail--interactive:hover .muka-thumbnail__image {
3990
+ transform: scale(1.05);
4067
3991
  }
4068
3992
 
4069
- /* Photos sizing: top layout */
4070
- .muka-tile--image-top .muka-tile__photos {
4071
- width: 100%;
3993
+ /* ─── Loading overlay + progress donut ────────────────── */
3994
+ .muka-thumbnail__overlay {
3995
+ position: absolute;
3996
+ inset: 0;
3997
+ display: flex;
3998
+ align-items: center;
3999
+ justify-content: center;
4000
+ background-color: var(--dialog-color-backdrop);
4072
4001
  }
4073
4002
 
4074
- /* Photos sizing: left/right large */
4075
- .muka-tile--image-left.muka-tile--lg .muka-tile__photos,
4076
- .muka-tile--image-right.muka-tile--lg .muka-tile__photos {
4077
- width: 520px;
4003
+ .muka-thumbnail__progress {
4004
+ width: 40px;
4005
+ height: 40px;
4078
4006
  }
4079
4007
 
4080
- /* Photos sizing: left/right medium */
4081
- .muka-tile--image-left.muka-tile--md .muka-tile__photos,
4082
- .muka-tile--image-right.muka-tile--md .muka-tile__photos {
4083
- width: 320px;
4008
+ /* ─── Error / corrupt state ───────────────────────────── */
4009
+ .muka-thumbnail--error .muka-thumbnail__frame {
4010
+ background-color: var(--alias-color-state-error-muted);
4011
+ border-color: var(--alias-color-state-error-default);
4084
4012
  }
4085
4013
 
4086
- /* Photos sizing: left/right small (single 80x80 thumbnail) */
4087
- .muka-tile--image-left.muka-tile--sm .muka-tile__photos,
4088
- .muka-tile--image-right.muka-tile--sm .muka-tile__photos {
4089
- width: 80px;
4090
- align-self: stretch;
4014
+ .muka-thumbnail__error {
4015
+ position: absolute;
4016
+ inset: 0;
4017
+ display: flex;
4018
+ flex-direction: column;
4019
+ align-items: center;
4020
+ justify-content: center;
4021
+ gap: var(--spacing-2);
4022
+ padding: var(--spacing-3);
4023
+ text-align: center;
4091
4024
  }
4092
4025
 
4093
- /* ─── Main photo ──────────────────────────────────────── */
4094
-
4095
- .muka-tile__photo-main {
4096
- position: relative;
4097
- width: 100%;
4098
- overflow: hidden;
4099
- flex-shrink: 0;
4026
+ .muka-thumbnail__error-icon {
4027
+ color: var(--alert-color-error-accent);
4100
4028
  }
4101
4029
 
4102
- /* 16:9 aspect for lg and md */
4103
- .muka-tile--lg .muka-tile__photo-main,
4104
- .muka-tile--md .muka-tile__photo-main {
4105
- aspect-ratio: 1280 / 720;
4030
+ .muka-thumbnail__caption {
4031
+ max-width: 100%;
4032
+ overflow: hidden;
4033
+ text-overflow: ellipsis;
4034
+ white-space: nowrap;
4035
+ color: var(--alert-color-error-accent);
4036
+ font-family: var(--text-body-sm-regular-fontFamily);
4037
+ font-size: var(--text-body-sm-regular-fontSize);
4038
+ font-weight: var(--text-body-sm-regular-fontWeight);
4039
+ line-height: var(--text-body-sm-regular-lineHeight);
4106
4040
  }
4107
4041
 
4108
- /* 1:1 aspect for top + sm */
4109
- .muka-tile--image-top.muka-tile--sm .muka-tile__photo-main {
4110
- aspect-ratio: 1 / 1;
4042
+ /* ─── Remove (×) button ───────────────────────────────── */
4043
+ .muka-thumbnail__remove {
4044
+ position: absolute;
4045
+ top: var(--spacing-2);
4046
+ right: var(--spacing-2);
4047
+ display: flex;
4048
+ align-items: center;
4049
+ justify-content: center;
4050
+ width: var(--size-2xl);
4051
+ height: var(--size-2xl);
4052
+ padding: 0;
4053
+ color: var(--button-color-tertiary-foreground-default);
4054
+ background-color: var(--button-color-tertiary-background-default);
4055
+ border: var(--border-width-regular, 1px) solid var(--button-color-tertiary-border-default);
4056
+ border-radius: var(--border-radius-lg);
4057
+ cursor: pointer;
4058
+ transition: background-color var(--motion-duration-micro) var(--motion-easing-enter),
4059
+ border-color var(--motion-duration-micro) var(--motion-easing-enter);
4111
4060
  }
4112
4061
 
4113
- /* Fixed size for left/right + sm */
4114
- .muka-tile--image-left.muka-tile--sm .muka-tile__photo-main,
4115
- .muka-tile--image-right.muka-tile--sm .muka-tile__photo-main {
4116
- width: 80px;
4117
- height: 80px;
4118
- aspect-ratio: auto;
4062
+ .muka-thumbnail__remove:hover {
4063
+ color: var(--button-color-tertiary-foreground-hover);
4064
+ background-color: var(--button-color-tertiary-background-hover);
4065
+ border-color: var(--button-color-tertiary-border-hover);
4119
4066
  }
4120
4067
 
4121
- .muka-tile__photo-main img {
4122
- width: 100%;
4123
- height: 100%;
4124
- object-fit: cover;
4125
- display: block;
4068
+ .muka-thumbnail__remove:active {
4069
+ color: var(--button-color-tertiary-foreground-pressed);
4070
+ background-color: var(--button-color-tertiary-background-pressed);
4071
+ border-color: var(--button-color-tertiary-border-pressed);
4126
4072
  }
4127
4073
 
4128
- /* ─── Favourite overlay ───────────────────────────────── */
4129
-
4130
- .muka-tile__favourite {
4131
- position: absolute;
4132
- z-index: 3;
4074
+ .muka-thumbnail__remove:focus-visible {
4075
+ outline: 2px solid var(--color-border-focus);
4076
+ outline-offset: 2px;
4133
4077
  }
4134
4078
 
4135
- .muka-tile--lg .muka-tile__favourite,
4136
- .muka-tile--md .muka-tile__favourite {
4137
- top: var(--spacing-4);
4138
- right: var(--spacing-4);
4139
- }
4079
+ /* ─── Reduced motion ──────────────────────────────────── */
4080
+ @media (prefers-reduced-motion: reduce) {
4081
+ .muka-thumbnail__image,
4082
+ .muka-thumbnail__remove {
4083
+ transition: none;
4084
+ }
4140
4085
 
4141
- .muka-tile--image-top.muka-tile--sm .muka-tile__favourite {
4142
- top: var(--spacing-1);
4143
- right: var(--spacing-1);
4086
+ .muka-thumbnail--interactive:hover .muka-thumbnail__image {
4087
+ transform: none;
4088
+ }
4144
4089
  }
4145
4090
 
4146
- /* ─── Thumbnails ──────────────────────────────────────── */
4147
4091
 
4148
- .muka-tile__thumbnails {
4149
- display: flex;
4150
- gap: 2px;
4151
- overflow: hidden;
4152
- flex-shrink: 0;
4153
- height: 80px;
4154
- }
4092
+ /* Textarea */
4093
+ /* Textarea Component Styles - Using Muka Design Tokens */
4155
4094
 
4156
- .muka-tile__thumbnail {
4157
- width: 80px;
4158
- height: 80px;
4159
- flex-shrink: 0;
4160
- overflow: hidden;
4095
+ .muka-textarea {
4096
+ display: inline-flex;
4097
+ flex-direction: column;
4098
+ gap: var(--spacing-2);
4161
4099
  }
4162
4100
 
4163
- .muka-tile__thumbnail img {
4164
- width: 100%;
4165
- height: 100%;
4166
- object-fit: cover;
4167
- display: block;
4101
+ /* Label */
4102
+ .muka-textarea__label {
4103
+ color: var(--color-text-default-default);
4104
+ cursor: pointer;
4168
4105
  }
4169
4106
 
4170
- /* Gap between main photo and thumbnails */
4171
- .muka-tile__photos > .muka-tile__photo-main + .muka-tile__thumbnails {
4172
- margin-top: 2px;
4107
+ .muka-textarea__label--sm {
4108
+ font-family: var(--text-label-sm-semibold-fontFamily);
4109
+ font-weight: var(--text-label-sm-semibold-fontWeight);
4110
+ font-size: var(--text-label-sm-semibold-fontSize);
4111
+ line-height: var(--text-label-sm-semibold-lineHeight);
4173
4112
  }
4174
4113
 
4175
- /* ─── Content section ─────────────────────────────────── */
4176
-
4177
- .muka-tile__content {
4178
- display: flex;
4179
- flex-direction: column;
4180
- flex: 1;
4181
- min-width: 0;
4114
+ .muka-textarea__label--md {
4115
+ font-family: var(--text-label-md-semibold-fontFamily);
4116
+ font-weight: var(--text-label-md-semibold-fontWeight);
4117
+ font-size: var(--text-label-md-semibold-fontSize);
4118
+ line-height: var(--text-label-md-semibold-lineHeight);
4182
4119
  }
4183
4120
 
4184
- /* Top layout: content has horizontal padding */
4185
- .muka-tile--image-top.muka-tile--lg .muka-tile__content {
4186
- padding: 0 var(--spacing-3);
4187
- gap: var(--spacing-1);
4121
+ .muka-textarea__label--lg {
4122
+ font-family: var(--text-label-lg-semibold-fontFamily);
4123
+ font-weight: var(--text-label-lg-semibold-fontWeight);
4124
+ font-size: var(--text-label-lg-semibold-fontSize);
4125
+ line-height: var(--text-label-lg-semibold-lineHeight);
4188
4126
  }
4189
4127
 
4190
- .muka-tile--image-top.muka-tile--md .muka-tile__content {
4191
- padding: 0 var(--spacing-3);
4192
- gap: var(--spacing-2);
4128
+ .muka-textarea__required {
4129
+ color: var(--color-state-error-default);
4193
4130
  }
4194
4131
 
4195
- .muka-tile--image-top.muka-tile--sm .muka-tile__content {
4196
- gap: var(--spacing-2);
4132
+ /* Field container */
4133
+ .muka-textarea__field {
4134
+ display: flex;
4135
+ background-color: var(--input-field-color-default-background);
4136
+ border: var(--border-width-regular) solid var(--input-field-color-default-border);
4137
+ border-radius: var(--input-field-radius-md);
4138
+ padding: var(--input-field-padding-y) var(--input-field-padding-x);
4139
+ transition: border-color 0.2s ease, background-color 0.2s ease;
4140
+ box-sizing: border-box;
4197
4141
  }
4198
4142
 
4199
- /* Left/right layout: content grows to fill space */
4200
- .muka-tile--image-left .muka-tile__content,
4201
- .muka-tile--image-right .muka-tile__content {
4202
- gap: var(--spacing-3);
4143
+ .muka-textarea__field--sm {
4144
+ min-height: var(--input-textarea-height-sm);
4145
+ border-radius: var(--input-field-radius-sm);
4203
4146
  }
4204
4147
 
4205
- .muka-tile--image-left.muka-tile--lg .muka-tile__content,
4206
- .muka-tile--image-right.muka-tile--lg .muka-tile__content {
4207
- padding: 0 var(--spacing-3);
4148
+ .muka-textarea__field--md {
4149
+ min-height: var(--input-textarea-height-default);
4150
+ border-radius: var(--input-field-radius-md);
4208
4151
  }
4209
4152
 
4210
- .muka-tile--image-left.muka-tile--md .muka-tile__content,
4211
- .muka-tile--image-right.muka-tile--md .muka-tile__content {
4212
- padding: var(--spacing-2) var(--spacing-3);
4153
+ .muka-textarea__field--lg {
4154
+ min-height: var(--input-textarea-height-lg);
4155
+ border-radius: var(--input-field-radius-lg);
4213
4156
  }
4214
4157
 
4215
- .muka-tile--image-left.muka-tile--sm .muka-tile__content,
4216
- .muka-tile--image-right.muka-tile--sm .muka-tile__content {
4217
- gap: var(--spacing-2);
4158
+ /* Focus state */
4159
+ .muka-textarea__field--focused:not(.muka-textarea__field--disabled) {
4160
+ border-width: var(--border-width-bold);
4161
+ border-color: var(--input-field-color-focus-border);
4162
+ background-color: var(--input-field-color-focus-background);
4163
+ padding: calc(var(--input-field-padding-y) - 1px) calc(var(--input-field-padding-x) - 1px);
4218
4164
  }
4219
4165
 
4220
- /* ─── Header (heading row + price) ────────────────────── */
4221
-
4222
- .muka-tile__header {
4223
- display: flex;
4224
- align-items: flex-start;
4225
- gap: var(--spacing-4);
4166
+ /* Error state */
4167
+ .muka-textarea__field--error:not(.muka-textarea__field--disabled) {
4168
+ border-width: var(--border-width-bold);
4169
+ border-color: var(--input-field-color-error-border);
4170
+ background-color: var(--input-field-color-error-background);
4171
+ padding: calc(var(--input-field-padding-y) - 1px) calc(var(--input-field-padding-x) - 1px);
4226
4172
  }
4227
4173
 
4228
- /* Small horizontal: row with text and action */
4229
- .muka-tile--sm:not(.muka-tile--image-top) .muka-tile__header {
4230
- gap: var(--spacing-2);
4231
- align-items: center;
4232
- padding-top: var(--spacing-1);
4174
+ /* Disabled state */
4175
+ .muka-textarea__field--disabled {
4176
+ background-color: var(--input-field-color-disabled-background);
4177
+ border-color: var(--input-field-color-disabled-border);
4178
+ cursor: not-allowed;
4233
4179
  }
4234
4180
 
4235
- /* ─── Text group ──────────────────────────────────────── */
4236
-
4237
- .muka-tile__text {
4238
- display: flex;
4239
- flex-direction: column;
4181
+ /* Native textarea */
4182
+ .muka-textarea__native {
4240
4183
  flex: 1;
4184
+ border: none;
4185
+ outline: none;
4186
+ background: transparent;
4187
+ color: var(--input-field-color-default-foreground);
4188
+ font-family: var(--text-input-md-fontFamily);
4189
+ font-weight: var(--text-input-md-fontWeight);
4190
+ font-size: var(--text-input-md-fontSize);
4191
+ line-height: var(--text-input-md-lineHeight);
4192
+ padding: 0;
4193
+ width: 100%;
4241
4194
  min-width: 0;
4242
- gap: var(--spacing-2);
4243
4195
  }
4244
4196
 
4245
- /* ─── Heading typography ──────────────────────────────── */
4197
+ .muka-textarea__field--sm .muka-textarea__native {
4198
+ font-family: var(--text-input-sm-fontFamily);
4199
+ font-weight: var(--text-input-sm-fontWeight);
4200
+ font-size: var(--text-input-sm-fontSize);
4201
+ line-height: var(--text-input-sm-lineHeight);
4202
+ }
4246
4203
 
4247
- .muka-tile__heading {
4248
- margin: 0;
4204
+ .muka-textarea__field--lg .muka-textarea__native {
4205
+ font-family: var(--text-input-lg-fontFamily);
4206
+ font-weight: var(--text-input-lg-fontWeight);
4207
+ font-size: var(--text-input-lg-fontSize);
4208
+ line-height: var(--text-input-lg-lineHeight);
4249
4209
  }
4250
4210
 
4251
- .muka-tile--lg .muka-tile__heading {
4252
- font-family: var(--text-label-2xl-semibold-fontFamily);
4253
- font-weight: var(--text-label-2xl-semibold-fontWeight);
4254
- font-size: var(--text-label-2xl-semibold-fontSize);
4255
- line-height: var(--text-label-2xl-semibold-lineHeight);
4256
- color: var(--color-text-default-default);
4211
+ .muka-textarea__native::placeholder {
4212
+ color: var(--color-text-subtle-default);
4257
4213
  }
4258
4214
 
4259
- .muka-tile--md .muka-tile__heading {
4260
- font-family: var(--text-label-xl-semibold-fontFamily);
4261
- font-weight: var(--text-label-xl-semibold-fontWeight);
4262
- font-size: var(--text-label-xl-semibold-fontSize);
4263
- line-height: var(--text-label-xl-semibold-lineHeight);
4264
- color: var(--color-text-default-default);
4215
+ .muka-textarea__field--disabled .muka-textarea__native {
4216
+ color: var(--input-field-color-disabled-foreground);
4217
+ cursor: not-allowed;
4265
4218
  }
4266
4219
 
4267
- .muka-tile--sm .muka-tile__heading {
4268
- font-family: var(--text-label-lg-bold-fontFamily);
4269
- font-weight: var(--text-label-lg-bold-fontWeight);
4270
- font-size: var(--text-label-lg-bold-fontSize);
4271
- line-height: var(--text-label-lg-bold-lineHeight);
4272
- color: var(--color-text-default-default);
4220
+ /* Footer (helper/error + count) */
4221
+ .muka-textarea__footer {
4222
+ display: flex;
4223
+ justify-content: space-between;
4224
+ align-items: flex-start;
4225
+ gap: var(--spacing-2);
4273
4226
  }
4274
4227
 
4275
- /* ─── Subheading typography ───────────────────────────── */
4228
+ .muka-textarea__helper {
4229
+ font-family: var(--text-label-sm-regular-fontFamily);
4230
+ font-weight: var(--text-label-sm-regular-fontWeight);
4231
+ font-size: var(--text-label-sm-regular-fontSize);
4232
+ line-height: var(--text-label-sm-regular-lineHeight);
4233
+ color: var(--color-text-subtle-default);
4234
+ margin: 0;
4235
+ }
4276
4236
 
4277
- .muka-tile__subheading {
4237
+ .muka-textarea__error {
4238
+ font-family: var(--text-label-sm-regular-fontFamily);
4239
+ font-weight: var(--text-label-sm-regular-fontWeight);
4240
+ font-size: var(--text-label-sm-regular-fontSize);
4241
+ line-height: var(--text-label-sm-regular-lineHeight);
4242
+ color: var(--color-state-error-default);
4278
4243
  margin: 0;
4279
- color: var(--color-text-subtle-default);
4280
4244
  }
4281
4245
 
4282
- .muka-tile--lg .muka-tile__subheading {
4283
- font-family: var(--text-subheading-md-fontFamily);
4284
- font-weight: var(--text-subheading-md-fontWeight);
4285
- font-size: var(--text-subheading-md-fontSize);
4286
- line-height: var(--text-subheading-md-lineHeight);
4246
+ .muka-textarea__count {
4247
+ font-family: var(--text-label-sm-regular-fontFamily);
4248
+ font-weight: var(--text-label-sm-regular-fontWeight);
4249
+ font-size: var(--text-label-sm-regular-fontSize);
4250
+ line-height: var(--text-label-sm-regular-lineHeight);
4251
+ color: var(--color-text-subtle-default);
4252
+ margin-left: auto;
4287
4253
  }
4288
4254
 
4289
- .muka-tile--md .muka-tile__subheading,
4290
- .muka-tile--sm .muka-tile__subheading {
4291
- font-family: var(--text-subheading-sm-fontFamily);
4292
- font-weight: var(--text-subheading-sm-fontWeight);
4293
- font-size: var(--text-subheading-sm-fontSize);
4294
- line-height: var(--text-subheading-sm-lineHeight);
4255
+
4256
+ /* TextLink */
4257
+ /* TextLink Component Styles - Using Muka Design Tokens */
4258
+
4259
+ .muka-text-link {
4260
+ display: inline;
4261
+ cursor: pointer;
4262
+ text-decoration: underline;
4263
+ /* Nudge the rule clear of descenders; the Figma underline sits off baseline. */
4264
+ text-underline-offset: 0.2em;
4265
+ text-decoration-thickness: from-font;
4266
+ /* Rounds the focus ring's corners; the link itself has no visible box. */
4267
+ border-radius: var(--border-radius-sm);
4268
+ transition: color var(--motion-duration-micro, 0.15s) var(--motion-easing-enter, ease);
4295
4269
  }
4296
4270
 
4297
- /* ─── Description typography ──────────────────────────── */
4271
+ /* ─── Sizes ───────────────────────────────────────────────
4272
+ Mirrors the body text scale so a link matches the copy it sits in. */
4273
+ .muka-text-link--sm {
4274
+ font-family: var(--text-body-sm-regular-fontFamily);
4275
+ font-weight: var(--text-body-sm-regular-fontWeight);
4276
+ font-size: var(--text-body-sm-regular-fontSize);
4277
+ line-height: var(--text-body-sm-regular-lineHeight);
4278
+ }
4298
4279
 
4299
- .muka-tile__description {
4300
- margin: 0;
4301
- color: var(--color-text-default-default);
4280
+ .muka-text-link--base {
4281
+ font-family: var(--text-body-base-regular-fontFamily);
4282
+ font-weight: var(--text-body-base-regular-fontWeight);
4283
+ font-size: var(--text-body-base-regular-fontSize);
4284
+ line-height: var(--text-body-base-regular-lineHeight);
4302
4285
  }
4303
4286
 
4304
- .muka-tile--lg .muka-tile__description {
4287
+ .muka-text-link--lg {
4305
4288
  font-family: var(--text-body-lg-regular-fontFamily);
4306
4289
  font-weight: var(--text-body-lg-regular-fontWeight);
4307
4290
  font-size: var(--text-body-lg-regular-fontSize);
4308
4291
  line-height: var(--text-body-lg-regular-lineHeight);
4309
4292
  }
4310
4293
 
4311
- .muka-tile--md .muka-tile__description,
4312
- .muka-tile--sm .muka-tile__description {
4313
- font-family: var(--text-body-base-regular-fontFamily);
4314
- font-weight: var(--text-body-base-regular-fontWeight);
4315
- font-size: var(--text-body-base-regular-fontSize);
4316
- line-height: var(--text-body-base-regular-lineHeight);
4294
+ /* ─── Variant: default (accent) ───────────────────────────
4295
+ Visited repeats the default colour on purpose: the design treats visited and
4296
+ default the same, and pinning it stops the browser's purple from showing. */
4297
+ .muka-text-link--default,
4298
+ .muka-text-link--default:visited {
4299
+ color: var(--color-text-action-default);
4317
4300
  }
4318
4301
 
4319
- /* Description overflow for medium */
4320
- .muka-tile--md .muka-tile__description {
4321
- overflow: hidden;
4322
- text-overflow: ellipsis;
4302
+ .muka-text-link--default:hover,
4303
+ .muka-text-link--default:focus-visible {
4304
+ color: var(--color-text-action-hover);
4323
4305
  }
4324
4306
 
4325
- /* ─── Price slot ──────────────────────────────────────── */
4307
+ .muka-text-link--default:active {
4308
+ color: var(--color-text-action-pressed);
4309
+ }
4326
4310
 
4327
- .muka-tile__price {
4328
- flex-shrink: 0;
4311
+ /* ─── Variant: subtle (neutral) ───────────────────────────
4312
+ Hover, focus and pressed all darken to the default text colour. */
4313
+ .muka-text-link--subtle,
4314
+ .muka-text-link--subtle:visited {
4315
+ color: var(--color-text-subtle-default);
4329
4316
  }
4330
4317
 
4331
- /* ─── Action slot ─────────────────────────────────────── */
4318
+ .muka-text-link--subtle:hover,
4319
+ .muka-text-link--subtle:focus-visible,
4320
+ .muka-text-link--subtle:active {
4321
+ color: var(--color-text-default-default);
4322
+ }
4332
4323
 
4333
- .muka-tile__action {
4334
- flex-shrink: 0;
4324
+ /* ─── Focus ───────────────────────────────────────────────
4325
+ Same ring as every other focusable Muka component. */
4326
+ .muka-text-link:focus-visible {
4327
+ outline: 2px solid var(--color-border-focus);
4328
+ outline-offset: 2px;
4329
+ }
4330
+
4331
+ @media (prefers-reduced-motion: reduce) {
4332
+ .muka-text-link {
4333
+ transition: none;
4334
+ }
4335
4335
  }
4336
4336
 
4337
4337
 
@@ -6665,114 +6665,6 @@ body {
6665
6665
  }
6666
6666
 
6667
6667
 
6668
- /* SwipeActions */
6669
- /* SwipeActions Component Styles */
6670
-
6671
- .muka-swipe-actions {
6672
- position: relative;
6673
- overflow: hidden;
6674
- touch-action: pan-y;
6675
- -webkit-user-select: none;
6676
- user-select: none;
6677
- background-color: var(--color-surface-level3);
6678
- }
6679
-
6680
- .muka-swipe-actions--disabled {
6681
- touch-action: auto;
6682
- }
6683
-
6684
- /* ─── Row that holds the actual content ────────────────── */
6685
-
6686
- .muka-swipe-actions__row {
6687
- position: relative;
6688
- z-index: 1;
6689
- background-color: inherit;
6690
- will-change: transform;
6691
- }
6692
-
6693
- /* ─── Action panels — sit beneath the row ──────────────── */
6694
-
6695
- .muka-swipe-actions__panel {
6696
- position: absolute;
6697
- top: 0;
6698
- bottom: 0;
6699
- display: flex;
6700
- align-items: stretch;
6701
- z-index: 0;
6702
- }
6703
-
6704
- .muka-swipe-actions__panel--left {
6705
- left: 0;
6706
- }
6707
-
6708
- .muka-swipe-actions__panel--right {
6709
- right: 0;
6710
- }
6711
-
6712
- /* ─── Single action button ─────────────────────────────── */
6713
-
6714
- .muka-swipe-actions__button {
6715
- display: flex;
6716
- flex-direction: column;
6717
- align-items: center;
6718
- justify-content: center;
6719
- gap: var(--spacing-1);
6720
- border: none;
6721
- cursor: pointer;
6722
- padding: var(--spacing-2);
6723
- background-color: var(--color-surface-level2);
6724
- color: var(--color-text-default-default);
6725
- font-family: var(--text-label-sm-semibold-fontFamily);
6726
- font-weight: var(--text-label-sm-semibold-fontWeight);
6727
- font-size: var(--text-label-sm-semibold-fontSize);
6728
- line-height: var(--text-label-sm-semibold-lineHeight);
6729
- -webkit-tap-highlight-color: transparent;
6730
- transition: filter 0.12s ease;
6731
- }
6732
-
6733
- .muka-swipe-actions__button:hover {
6734
- filter: brightness(0.95);
6735
- }
6736
-
6737
- .muka-swipe-actions__button:focus-visible {
6738
- outline: 2px solid var(--color-action-default);
6739
- outline-offset: -2px;
6740
- }
6741
-
6742
- .muka-swipe-actions__button-icon {
6743
- display: inline-flex;
6744
- align-items: center;
6745
- justify-content: center;
6746
- }
6747
-
6748
- /* ─── Color variants ───────────────────────────────────── */
6749
-
6750
- .muka-swipe-actions__button--neutral {
6751
- background-color: var(--color-surface-level2);
6752
- color: var(--color-text-default-default);
6753
- }
6754
-
6755
- .muka-swipe-actions__button--primary {
6756
- background-color: var(--color-action-default);
6757
- color: var(--color-text-default-inverse);
6758
- }
6759
-
6760
- .muka-swipe-actions__button--success {
6761
- background-color: var(--color-state-success-default);
6762
- color: var(--color-text-default-inverse);
6763
- }
6764
-
6765
- .muka-swipe-actions__button--warning {
6766
- background-color: var(--color-state-warning-default);
6767
- color: var(--color-text-default-default);
6768
- }
6769
-
6770
- .muka-swipe-actions__button--destructive {
6771
- background-color: var(--color-state-error-default);
6772
- color: var(--color-text-default-inverse);
6773
- }
6774
-
6775
-
6776
6668
  /* RadioTile */
6777
6669
  /* RadioTile Component Styles - Using Muka Design Tokens */
6778
6670
 
@@ -9004,41 +8896,101 @@ button.muka-progress-tracker__tab:focus-visible {
9004
8896
  opacity: 0.4;
9005
8897
  }
9006
8898
 
9007
- /* Size variants */
9008
- .muka-pagination--sm .muka-pagination__button {
9009
- min-width: var(--size-2xl);
9010
- height: var(--size-2xl);
9011
- font-size: var(--text-label-sm-regular-fontSize);
8899
+ /* Size variants */
8900
+ .muka-pagination--sm .muka-pagination__button {
8901
+ min-width: var(--size-2xl);
8902
+ height: var(--size-2xl);
8903
+ font-size: var(--text-label-sm-regular-fontSize);
8904
+ }
8905
+
8906
+ .muka-pagination--sm .muka-pagination__ellipsis {
8907
+ min-width: var(--size-2xl);
8908
+ height: var(--size-2xl);
8909
+ font-size: var(--text-label-sm-regular-fontSize);
8910
+ }
8911
+
8912
+ .muka-pagination--md .muka-pagination__button {
8913
+ min-width: var(--size-3xl);
8914
+ height: var(--size-3xl);
8915
+ font-size: var(--text-label-md-regular-fontSize);
8916
+ }
8917
+
8918
+ .muka-pagination--md .muka-pagination__ellipsis {
8919
+ min-width: var(--size-3xl);
8920
+ height: var(--size-3xl);
8921
+ font-size: var(--text-label-md-regular-fontSize);
8922
+ }
8923
+
8924
+ .muka-pagination--lg .muka-pagination__button {
8925
+ min-width: var(--size-4xl);
8926
+ height: var(--size-4xl);
8927
+ font-size: var(--text-label-lg-regular-fontSize);
8928
+ }
8929
+
8930
+ .muka-pagination--lg .muka-pagination__ellipsis {
8931
+ min-width: var(--size-4xl);
8932
+ height: var(--size-4xl);
8933
+ font-size: var(--text-label-lg-regular-fontSize);
8934
+ }
8935
+
8936
+
8937
+ /* Page */
8938
+ /* Page Component Styles */
8939
+
8940
+ /*
8941
+ * Shell for document-scrolling pages (marketing, sign-in, legal). Safe areas:
8942
+ * env(safe-area-inset-*) is 0 outside notched devices, so the padding below
8943
+ * only appears in an app running edge to edge (viewport-fit=cover).
8944
+ *
8945
+ * `--muka-page-background` is the page colour. SiteHeader reads it, so a
8946
+ * header and its status-bar scrim match the page without configuration.
8947
+ */
8948
+ .muka-page {
8949
+ --muka-page-background: var(--color-surface-level3);
8950
+ display: flex;
8951
+ flex-direction: column;
8952
+ min-height: 100vh;
8953
+ min-height: 100dvh;
8954
+ background-color: var(--muka-page-background);
8955
+ }
8956
+
8957
+ .muka-page--surface-2 {
8958
+ --muka-page-background: var(--color-surface-level2);
8959
+ }
8960
+
8961
+ /* Overscroll (rubber band) shows the document background: keep it the page's. */
8962
+ :root:has(.muka-page--surface-2) body {
8963
+ background-color: var(--color-surface-level2);
9012
8964
  }
9013
8965
 
9014
- .muka-pagination--sm .muka-pagination__ellipsis {
9015
- min-width: var(--size-2xl);
9016
- height: var(--size-2xl);
9017
- font-size: var(--text-label-sm-regular-fontSize);
8966
+ .muka-page__main {
8967
+ flex: 1 0 auto;
8968
+ display: flex;
8969
+ flex-direction: column;
8970
+ /* Landscape: clear the notch. */
8971
+ padding-left: env(safe-area-inset-left, 0px);
8972
+ padding-right: env(safe-area-inset-right, 0px);
9018
8973
  }
9019
8974
 
9020
- .muka-pagination--md .muka-pagination__button {
9021
- min-width: var(--size-3xl);
9022
- height: var(--size-3xl);
9023
- font-size: var(--text-label-md-regular-fontSize);
8975
+ .muka-page__footer {
8976
+ flex-shrink: 0;
8977
+ padding-left: env(safe-area-inset-left, 0px);
8978
+ padding-right: env(safe-area-inset-right, 0px);
8979
+ padding-bottom: env(safe-area-inset-bottom, 0px);
9024
8980
  }
9025
8981
 
9026
- .muka-pagination--md .muka-pagination__ellipsis {
9027
- min-width: var(--size-3xl);
9028
- height: var(--size-3xl);
9029
- font-size: var(--text-label-md-regular-fontSize);
8982
+ /* A footer with its own colour: the colour runs under the home indicator. */
8983
+ .muka-page__footer--surface-2 {
8984
+ background-color: var(--color-surface-level2);
9030
8985
  }
9031
8986
 
9032
- .muka-pagination--lg .muka-pagination__button {
9033
- min-width: var(--size-4xl);
9034
- height: var(--size-4xl);
9035
- font-size: var(--text-label-lg-regular-fontSize);
8987
+ .muka-page__footer--surface-3 {
8988
+ background-color: var(--color-surface-level3);
9036
8989
  }
9037
8990
 
9038
- .muka-pagination--lg .muka-pagination__ellipsis {
9039
- min-width: var(--size-4xl);
9040
- height: var(--size-4xl);
9041
- font-size: var(--text-label-lg-regular-fontSize);
8991
+ /* Without a footer, the content is last and clears the home indicator. */
8992
+ .muka-page:not(:has(> .muka-page__footer)) > .muka-page__main {
8993
+ padding-bottom: env(safe-area-inset-bottom, 0px);
9042
8994
  }
9043
8995
 
9044
8996
 
@@ -9925,6 +9877,25 @@ button.muka-progress-tracker__tab:focus-visible {
9925
9877
  white-space: nowrap;
9926
9878
  }
9927
9879
 
9880
+ /*
9881
+ * Trailing content: time, BadgeNumber, a dot. Stacks vertically (a time above
9882
+ * a badge, as in a chat inbox), aligned to the end, and never shrinks the label
9883
+ * below it: the label ellipsises instead.
9884
+ */
9885
+ .muka-listitem__trailing {
9886
+ display: flex;
9887
+ flex-direction: column;
9888
+ align-items: flex-end;
9889
+ justify-content: center;
9890
+ gap: var(--spacing-1);
9891
+ flex-shrink: 0;
9892
+ font-family: var(--alias-font-plain-family);
9893
+ font-size: var(--text-body-sm-fontSize);
9894
+ line-height: var(--text-body-sm-lineHeight);
9895
+ color: var(--color-text-subtle-default);
9896
+ white-space: nowrap;
9897
+ }
9898
+
9928
9899
  /* Trailing chevron */
9929
9900
  .muka-listitem__chevron {
9930
9901
  display: inline-flex;
@@ -10193,66 +10164,6 @@ li.muka-listitem {
10193
10164
  }
10194
10165
 
10195
10166
 
10196
- /* Page */
10197
- /* Page Component Styles */
10198
-
10199
- /*
10200
- * Shell for document-scrolling pages (marketing, sign-in, legal). Safe areas:
10201
- * env(safe-area-inset-*) is 0 outside notched devices, so the padding below
10202
- * only appears in an app running edge to edge (viewport-fit=cover).
10203
- *
10204
- * `--muka-page-background` is the page colour. SiteHeader reads it, so a
10205
- * header and its status-bar scrim match the page without configuration.
10206
- */
10207
- .muka-page {
10208
- --muka-page-background: var(--color-surface-level3);
10209
- display: flex;
10210
- flex-direction: column;
10211
- min-height: 100vh;
10212
- min-height: 100dvh;
10213
- background-color: var(--muka-page-background);
10214
- }
10215
-
10216
- .muka-page--surface-2 {
10217
- --muka-page-background: var(--color-surface-level2);
10218
- }
10219
-
10220
- /* Overscroll (rubber band) shows the document background: keep it the page's. */
10221
- :root:has(.muka-page--surface-2) body {
10222
- background-color: var(--color-surface-level2);
10223
- }
10224
-
10225
- .muka-page__main {
10226
- flex: 1 0 auto;
10227
- display: flex;
10228
- flex-direction: column;
10229
- /* Landscape: clear the notch. */
10230
- padding-left: env(safe-area-inset-left, 0px);
10231
- padding-right: env(safe-area-inset-right, 0px);
10232
- }
10233
-
10234
- .muka-page__footer {
10235
- flex-shrink: 0;
10236
- padding-left: env(safe-area-inset-left, 0px);
10237
- padding-right: env(safe-area-inset-right, 0px);
10238
- padding-bottom: env(safe-area-inset-bottom, 0px);
10239
- }
10240
-
10241
- /* A footer with its own colour: the colour runs under the home indicator. */
10242
- .muka-page__footer--surface-2 {
10243
- background-color: var(--color-surface-level2);
10244
- }
10245
-
10246
- .muka-page__footer--surface-3 {
10247
- background-color: var(--color-surface-level3);
10248
- }
10249
-
10250
- /* Without a footer, the content is last and clears the home indicator. */
10251
- .muka-page:not(:has(> .muka-page__footer)) > .muka-page__main {
10252
- padding-bottom: env(safe-area-inset-bottom, 0px);
10253
- }
10254
-
10255
-
10256
10167
  /* InputCounter */
10257
10168
  /* InputCounter — numeric field + joined decrement/increment buttons.
10258
10169
  Label, helper and error text reuse Input.css (../Input/Input.css).
@@ -15114,42 +15025,188 @@ button.muka-chat-photo-grid__tile:focus-visible {
15114
15025
  -webkit-tap-highlight-color: transparent;
15115
15026
  }
15116
15027
 
15117
- .muka-chat-attachment-chip__remove:hover:not(:disabled) {
15118
- color: var(--color-text-default-default);
15119
- background-color: var(--color-surface-level2);
15028
+ .muka-chat-attachment-chip__remove:hover:not(:disabled) {
15029
+ color: var(--color-text-default-default);
15030
+ background-color: var(--color-surface-level2);
15031
+ }
15032
+
15033
+ .muka-chat-attachment-chip__remove:focus-visible {
15034
+ outline: 2px solid var(--color-action-default);
15035
+ outline-offset: 2px;
15036
+ }
15037
+
15038
+ .muka-chat-attachment-chip__remove:disabled {
15039
+ cursor: not-allowed;
15040
+ opacity: 0.5;
15041
+ }
15042
+
15043
+ /* ─── Progress bar ─────────────────────────────────────── */
15044
+
15045
+ .muka-chat-attachment-chip__progress {
15046
+ position: absolute;
15047
+ left: 0;
15048
+ right: 0;
15049
+ bottom: 0;
15050
+ height: 2px;
15051
+ background-color: var(--color-surface-level2);
15052
+ overflow: hidden;
15053
+ }
15054
+
15055
+ .muka-chat-attachment-chip__progress-fill {
15056
+ display: block;
15057
+ height: 100%;
15058
+ background-color: var(--color-action-default);
15059
+ transition: width 0.16s ease;
15060
+ }
15061
+
15062
+ .muka-chat-attachment-chip--error .muka-chat-attachment-chip__progress-fill {
15063
+ background-color: var(--color-state-error-default, var(--color-text-default-default));
15064
+ }
15065
+
15066
+
15067
+ /* Card */
15068
+ /* Card Component Styles - Using Muka Design Tokens */
15069
+
15070
+ .muka-card {
15071
+ background-color: var(--card-color-default-background);
15072
+ color: var(--card-color-default-foreground);
15073
+ border: var(--border-width-regular) solid var(--card-color-default-border);
15074
+ box-shadow: var(--card-shadow-default);
15075
+ transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
15076
+ overflow: hidden;
15077
+ }
15078
+
15079
+ /* Padding variants */
15080
+ .muka-card--padding-none {
15081
+ padding: 0;
15082
+ }
15083
+
15084
+ .muka-card--padding-sm {
15085
+ padding: var(--card-padding-sm);
15086
+ }
15087
+
15088
+ .muka-card--padding-md {
15089
+ padding: var(--card-padding-md);
15090
+ }
15091
+
15092
+ .muka-card--padding-lg {
15093
+ padding: var(--card-padding-lg);
15094
+ }
15095
+
15096
+ /* Radius variants */
15097
+ .muka-card--radius-sm {
15098
+ border-radius: var(--card-radius-sm);
15099
+ }
15100
+
15101
+ .muka-card--radius-md {
15102
+ border-radius: var(--card-radius-md);
15103
+ }
15104
+
15105
+ .muka-card--radius-lg {
15106
+ border-radius: var(--card-radius-lg);
15107
+ }
15108
+
15109
+ /* Interactive variant */
15110
+ .muka-card--interactive {
15111
+ cursor: pointer;
15112
+ user-select: none;
15113
+ }
15114
+
15115
+ .muka-card--interactive:hover {
15116
+ background-color: var(--card-color-hover-background);
15117
+ border-color: var(--card-color-hover-border);
15118
+ box-shadow: var(--card-shadow-hover);
15119
+ }
15120
+
15121
+ .muka-card--interactive:active,
15122
+ .muka-card--interactive.muka-card--pressed {
15123
+ background-color: var(--card-color-pressed-background);
15124
+ border-color: var(--card-color-pressed-border);
15125
+ box-shadow: var(--card-shadow-pressed);
15126
+ }
15127
+
15128
+ .muka-card--interactive:focus-visible {
15129
+ outline: 2px solid var(--color-border-focus);
15130
+ outline-offset: 2px;
15131
+ }
15132
+
15133
+ /* Selected variant */
15134
+ .muka-card--selected {
15135
+ background-color: var(--card-color-selected-background);
15136
+ border-color: var(--card-color-selected-border);
15137
+ border-width: var(--border-width-bold);
15138
+ box-shadow: var(--card-shadow-selected);
15139
+ }
15140
+
15141
+ /* Tone: sticky note (MUK-105) */
15142
+ .muka-card--tone-note {
15143
+ background-color: var(--card-color-note-background);
15144
+ color: var(--card-color-note-foreground);
15145
+ border-color: var(--card-color-note-border);
15146
+ box-shadow: var(--card-shadow-note);
15147
+ }
15148
+
15149
+ .muka-card--tone-note.muka-card--interactive:hover,
15150
+ .muka-card--tone-note.muka-card--interactive:active,
15151
+ .muka-card--tone-note.muka-card--interactive.muka-card--pressed {
15152
+ background-color: var(--card-color-note-background);
15153
+ border-color: var(--card-color-note-border);
15154
+ }
15155
+
15156
+ .muka-card--tilt-left {
15157
+ transform: rotate(-0.75deg);
15158
+ }
15159
+
15160
+ .muka-card--tilt-right {
15161
+ transform: rotate(0.6deg);
15120
15162
  }
15121
15163
 
15122
- .muka-chat-attachment-chip__remove:focus-visible {
15123
- outline: 2px solid var(--color-action-default);
15124
- outline-offset: 2px;
15164
+ @media (prefers-reduced-motion: no-preference) {
15165
+ .muka-card--tilt-left,
15166
+ .muka-card--tilt-right {
15167
+ transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
15168
+ }
15125
15169
  }
15126
15170
 
15127
- .muka-chat-attachment-chip__remove:disabled {
15128
- cursor: not-allowed;
15129
- opacity: 0.5;
15171
+ .muka-card--interactive.muka-card--tilt-left:hover,
15172
+ .muka-card--interactive.muka-card--tilt-right:hover {
15173
+ transform: none;
15130
15174
  }
15131
15175
 
15132
- /* ─── Progress bar ─────────────────────────────────────── */
15176
+ /* Optional header (title + description) */
15177
+ .muka-card__header {
15178
+ margin-bottom: var(--spacing-4);
15179
+ }
15133
15180
 
15134
- .muka-chat-attachment-chip__progress {
15135
- position: absolute;
15136
- left: 0;
15137
- right: 0;
15138
- bottom: 0;
15139
- height: 2px;
15140
- background-color: var(--color-surface-level2);
15141
- overflow: hidden;
15181
+ .muka-card__title {
15182
+ margin: 0;
15183
+ color: var(--color-text-default-default);
15184
+ font-family: var(--text-heading-xs-fontFamily);
15185
+ font-weight: var(--text-heading-xs-fontWeight);
15186
+ font-size: var(--text-heading-xs-fontSize);
15187
+ line-height: var(--text-heading-xs-lineHeight);
15188
+ letter-spacing: var(--text-heading-xs-letterSpacing);
15142
15189
  }
15143
15190
 
15144
- .muka-chat-attachment-chip__progress-fill {
15145
- display: block;
15146
- height: 100%;
15147
- background-color: var(--color-action-default);
15148
- transition: width 0.16s ease;
15191
+ .muka-card__description {
15192
+ margin: var(--spacing-1) 0 0;
15193
+ color: var(--color-text-subtle-default);
15194
+ font-family: var(--text-body-sm-regular-fontFamily);
15195
+ font-weight: var(--text-body-sm-regular-fontWeight);
15196
+ font-size: var(--text-body-sm-regular-fontSize);
15197
+ line-height: var(--text-body-sm-regular-lineHeight);
15149
15198
  }
15150
15199
 
15151
- .muka-chat-attachment-chip--error .muka-chat-attachment-chip__progress-fill {
15152
- background-color: var(--color-state-error-default, var(--color-text-default-default));
15200
+ /* Hide divider on last list item inside card */
15201
+ .muka-card > .muka-listitem:last-child > .muka-listitem__divider {
15202
+ display: none;
15203
+ }
15204
+
15205
+ /* Disabled state */
15206
+ .muka-card--disabled {
15207
+ opacity: 0.5;
15208
+ cursor: not-allowed;
15209
+ pointer-events: none;
15153
15210
  }
15154
15211
 
15155
15212
 
@@ -15782,6 +15839,7 @@ button.muka-chat-photo-grid__tile:focus-visible {
15782
15839
  }
15783
15840
 
15784
15841
  .muka-bottombar__tab-icon {
15842
+ position: relative;
15785
15843
  display: flex;
15786
15844
  align-items: center;
15787
15845
  justify-content: center;
@@ -15794,6 +15852,15 @@ button.muka-chat-photo-grid__tile:focus-visible {
15794
15852
  height: 100%;
15795
15853
  }
15796
15854
 
15855
+ /* A count on the icon's top-right corner (unread messages). */
15856
+ .muka-bottombar__tab-badge {
15857
+ position: absolute;
15858
+ top: calc(-1 * var(--spacing-1));
15859
+ left: 60%;
15860
+ display: flex;
15861
+ pointer-events: none;
15862
+ }
15863
+
15797
15864
  .muka-bottombar__tab-label {
15798
15865
  font-family: var(--text-label-sm-regular-fontFamily);
15799
15866
  font-weight: var(--text-label-sm-regular-fontWeight);
@@ -16080,6 +16147,14 @@ button.muka-chat-photo-grid__tile:focus-visible {
16080
16147
  color: var(--color-text-default-inverse);
16081
16148
  }
16082
16149
 
16150
+ /* Dot: something new, without a count */
16151
+ .muka-badge-number--dot {
16152
+ width: var(--spacing-2);
16153
+ height: var(--spacing-2);
16154
+ min-width: 0;
16155
+ padding: 0;
16156
+ }
16157
+
16083
16158
 
16084
16159
  /* Badge */
16085
16160
  /* Badge Component Styles - Using Muka Design Tokens */
@@ -17485,148 +17560,110 @@ button.muka-chat-photo-grid__tile:focus-visible {
17485
17560
  }
17486
17561
 
17487
17562
 
17488
- /* Card */
17489
- /* Card Component Styles - Using Muka Design Tokens */
17563
+ /* SwipeActions */
17564
+ /* SwipeActions Component Styles */
17490
17565
 
17491
- .muka-card {
17492
- background-color: var(--card-color-default-background);
17493
- color: var(--card-color-default-foreground);
17494
- border: var(--border-width-regular) solid var(--card-color-default-border);
17495
- box-shadow: var(--card-shadow-default);
17496
- transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
17566
+ .muka-swipe-actions {
17567
+ position: relative;
17497
17568
  overflow: hidden;
17569
+ touch-action: pan-y;
17570
+ -webkit-user-select: none;
17571
+ user-select: none;
17572
+ background-color: var(--color-surface-level3);
17498
17573
  }
17499
17574
 
17500
- /* Padding variants */
17501
- .muka-card--padding-none {
17502
- padding: 0;
17503
- }
17504
-
17505
- .muka-card--padding-sm {
17506
- padding: var(--card-padding-sm);
17507
- }
17508
-
17509
- .muka-card--padding-md {
17510
- padding: var(--card-padding-md);
17511
- }
17512
-
17513
- .muka-card--padding-lg {
17514
- padding: var(--card-padding-lg);
17575
+ .muka-swipe-actions--disabled {
17576
+ touch-action: auto;
17515
17577
  }
17516
17578
 
17517
- /* Radius variants */
17518
- .muka-card--radius-sm {
17519
- border-radius: var(--card-radius-sm);
17520
- }
17579
+ /* ─── Row that holds the actual content ────────────────── */
17521
17580
 
17522
- .muka-card--radius-md {
17523
- border-radius: var(--card-radius-md);
17581
+ .muka-swipe-actions__row {
17582
+ position: relative;
17583
+ z-index: 1;
17584
+ background-color: inherit;
17585
+ will-change: transform;
17524
17586
  }
17525
17587
 
17526
- .muka-card--radius-lg {
17527
- border-radius: var(--card-radius-lg);
17528
- }
17588
+ /* ─── Action panels — sit beneath the row ──────────────── */
17529
17589
 
17530
- /* Interactive variant */
17531
- .muka-card--interactive {
17532
- cursor: pointer;
17533
- user-select: none;
17590
+ .muka-swipe-actions__panel {
17591
+ position: absolute;
17592
+ top: 0;
17593
+ bottom: 0;
17594
+ display: flex;
17595
+ align-items: stretch;
17596
+ z-index: 0;
17534
17597
  }
17535
17598
 
17536
- .muka-card--interactive:hover {
17537
- background-color: var(--card-color-hover-background);
17538
- border-color: var(--card-color-hover-border);
17539
- box-shadow: var(--card-shadow-hover);
17599
+ .muka-swipe-actions__panel--left {
17600
+ left: 0;
17540
17601
  }
17541
17602
 
17542
- .muka-card--interactive:active,
17543
- .muka-card--interactive.muka-card--pressed {
17544
- background-color: var(--card-color-pressed-background);
17545
- border-color: var(--card-color-pressed-border);
17546
- box-shadow: var(--card-shadow-pressed);
17603
+ .muka-swipe-actions__panel--right {
17604
+ right: 0;
17547
17605
  }
17548
17606
 
17549
- .muka-card--interactive:focus-visible {
17550
- outline: 2px solid var(--color-border-focus);
17551
- outline-offset: 2px;
17552
- }
17607
+ /* ─── Single action button ─────────────────────────────── */
17553
17608
 
17554
- /* Selected variant */
17555
- .muka-card--selected {
17556
- background-color: var(--card-color-selected-background);
17557
- border-color: var(--card-color-selected-border);
17558
- border-width: var(--border-width-bold);
17559
- box-shadow: var(--card-shadow-selected);
17609
+ .muka-swipe-actions__button {
17610
+ display: flex;
17611
+ flex-direction: column;
17612
+ align-items: center;
17613
+ justify-content: center;
17614
+ gap: var(--spacing-1);
17615
+ border: none;
17616
+ cursor: pointer;
17617
+ padding: var(--spacing-2);
17618
+ background-color: var(--color-surface-level2);
17619
+ color: var(--color-text-default-default);
17620
+ font-family: var(--text-label-sm-semibold-fontFamily);
17621
+ font-weight: var(--text-label-sm-semibold-fontWeight);
17622
+ font-size: var(--text-label-sm-semibold-fontSize);
17623
+ line-height: var(--text-label-sm-semibold-lineHeight);
17624
+ -webkit-tap-highlight-color: transparent;
17625
+ transition: filter 0.12s ease;
17560
17626
  }
17561
17627
 
17562
- /* Tone: sticky note (MUK-105) */
17563
- .muka-card--tone-note {
17564
- background-color: var(--card-color-note-background);
17565
- color: var(--card-color-note-foreground);
17566
- border-color: var(--card-color-note-border);
17567
- box-shadow: var(--card-shadow-note);
17628
+ .muka-swipe-actions__button:hover {
17629
+ filter: brightness(0.95);
17568
17630
  }
17569
17631
 
17570
- .muka-card--tone-note.muka-card--interactive:hover,
17571
- .muka-card--tone-note.muka-card--interactive:active,
17572
- .muka-card--tone-note.muka-card--interactive.muka-card--pressed {
17573
- background-color: var(--card-color-note-background);
17574
- border-color: var(--card-color-note-border);
17632
+ .muka-swipe-actions__button:focus-visible {
17633
+ outline: 2px solid var(--color-action-default);
17634
+ outline-offset: -2px;
17575
17635
  }
17576
17636
 
17577
- .muka-card--tilt-left {
17578
- transform: rotate(-0.75deg);
17637
+ .muka-swipe-actions__button-icon {
17638
+ display: inline-flex;
17639
+ align-items: center;
17640
+ justify-content: center;
17579
17641
  }
17580
17642
 
17581
- .muka-card--tilt-right {
17582
- transform: rotate(0.6deg);
17583
- }
17643
+ /* ─── Color variants ───────────────────────────────────── */
17584
17644
 
17585
- @media (prefers-reduced-motion: no-preference) {
17586
- .muka-card--tilt-left,
17587
- .muka-card--tilt-right {
17588
- transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
17589
- }
17645
+ .muka-swipe-actions__button--neutral {
17646
+ background-color: var(--color-surface-level2);
17647
+ color: var(--color-text-default-default);
17590
17648
  }
17591
17649
 
17592
- .muka-card--interactive.muka-card--tilt-left:hover,
17593
- .muka-card--interactive.muka-card--tilt-right:hover {
17594
- transform: none;
17650
+ .muka-swipe-actions__button--primary {
17651
+ background-color: var(--color-action-default);
17652
+ color: var(--color-text-default-inverse);
17595
17653
  }
17596
17654
 
17597
- /* Optional header (title + description) */
17598
- .muka-card__header {
17599
- margin-bottom: var(--spacing-4);
17655
+ .muka-swipe-actions__button--success {
17656
+ background-color: var(--color-state-success-default);
17657
+ color: var(--color-text-default-inverse);
17600
17658
  }
17601
17659
 
17602
- .muka-card__title {
17603
- margin: 0;
17660
+ .muka-swipe-actions__button--warning {
17661
+ background-color: var(--color-state-warning-default);
17604
17662
  color: var(--color-text-default-default);
17605
- font-family: var(--text-heading-xs-fontFamily);
17606
- font-weight: var(--text-heading-xs-fontWeight);
17607
- font-size: var(--text-heading-xs-fontSize);
17608
- line-height: var(--text-heading-xs-lineHeight);
17609
- letter-spacing: var(--text-heading-xs-letterSpacing);
17610
- }
17611
-
17612
- .muka-card__description {
17613
- margin: var(--spacing-1) 0 0;
17614
- color: var(--color-text-subtle-default);
17615
- font-family: var(--text-body-sm-regular-fontFamily);
17616
- font-weight: var(--text-body-sm-regular-fontWeight);
17617
- font-size: var(--text-body-sm-regular-fontSize);
17618
- line-height: var(--text-body-sm-regular-lineHeight);
17619
- }
17620
-
17621
- /* Hide divider on last list item inside card */
17622
- .muka-card > .muka-listitem:last-child > .muka-listitem__divider {
17623
- display: none;
17624
17663
  }
17625
17664
 
17626
- /* Disabled state */
17627
- .muka-card--disabled {
17628
- opacity: 0.5;
17629
- cursor: not-allowed;
17630
- pointer-events: none;
17665
+ .muka-swipe-actions__button--destructive {
17666
+ background-color: var(--color-state-error-default);
17667
+ color: var(--color-text-default-inverse);
17631
17668
  }
17632
17669