@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
@@ -3608,795 +3608,795 @@ body {
3608
3608
  }
3609
3609
 
3610
3610
 
3611
- /* Thumbnail */
3612
- /* Thumbnail Component Styles - Using Muka Design Tokens */
3611
+ /* Tile */
3612
+ /* Tile Component Styles - Using Muka Design Tokens */
3613
3613
 
3614
- .muka-thumbnail {
3615
- position: relative;
3616
- flex-shrink: 0;
3617
- }
3614
+ /* ─── Base ────────────────────────────────────────────── */
3618
3615
 
3619
- /* The frame carries the border, background and shape clip. Keeping it separate
3620
- from the root lets the remove (×) button sit outside the clip (needed for the
3621
- circular/ellipse shape, whose corners would otherwise clip the button). */
3622
- .muka-thumbnail__frame {
3623
- position: absolute;
3624
- inset: 0;
3625
- overflow: hidden;
3626
- border: var(--border-width-regular, 1px) solid var(--color-black-alpha-3);
3627
- border-radius: var(--border-radius-lg);
3628
- background-color: var(--color-surface-level1);
3616
+ .muka-tile {
3617
+ display: flex;
3618
+ color: var(--color-text-default-default);
3629
3619
  }
3630
3620
 
3631
- /* ─── Shapes ──────────────────────────────────────────── */
3632
- .muka-thumbnail--4-3 {
3633
- width: 160px;
3634
- height: 120px;
3621
+ .muka-tile--interactive {
3622
+ cursor: pointer;
3623
+ user-select: none;
3635
3624
  }
3636
3625
 
3637
- .muka-thumbnail--1-1 {
3638
- width: 120px;
3639
- height: 120px;
3626
+ .muka-tile--interactive:focus-visible {
3627
+ outline: 2px solid var(--color-border-focus);
3628
+ outline-offset: 2px;
3629
+ border-radius: var(--border-radius-lg);
3640
3630
  }
3641
3631
 
3642
- .muka-thumbnail--ellipse {
3643
- width: 120px;
3644
- height: 120px;
3645
- }
3632
+ /* ─── Image position variants ─────────────────────────── */
3646
3633
 
3647
- /* Fluid: fill the parent's width; the shape sets the height via aspect-ratio. */
3648
- .muka-thumbnail--fluid {
3649
- width: 100%;
3650
- height: auto;
3651
- aspect-ratio: 1 / 1;
3634
+ .muka-tile--image-top {
3635
+ flex-direction: column;
3652
3636
  }
3653
3637
 
3654
- .muka-thumbnail--fluid.muka-thumbnail--4-3 {
3655
- aspect-ratio: 4 / 3;
3638
+ .muka-tile--image-left {
3639
+ flex-direction: row;
3656
3640
  }
3657
3641
 
3658
- .muka-thumbnail--ellipse .muka-thumbnail__frame {
3659
- border-radius: var(--border-radius-full);
3642
+ .muka-tile--image-right {
3643
+ flex-direction: row;
3660
3644
  }
3661
3645
 
3662
- /* Image fills the frame, cropped to cover. Sits at scale(1) by default so the
3663
- interactive hover zoom has a clean origin. */
3664
- .muka-thumbnail__image {
3665
- position: absolute;
3666
- inset: 0;
3667
- width: 100%;
3668
- height: 100%;
3669
- object-fit: cover;
3670
- display: block;
3671
- transform-origin: center;
3672
- /* Micro-interaction: hover zoom eases out over the "micro" duration. */
3673
- transition: transform var(--motion-duration-micro) var(--motion-easing-enter);
3674
- }
3646
+ /* ─── Gap by size (top) ───────────────────────────────── */
3675
3647
 
3676
- /* ─── Interactive (click-to-enlarge) ──────────────────── */
3677
- .muka-thumbnail__trigger {
3678
- position: absolute;
3679
- inset: 0;
3680
- padding: 0;
3681
- border: 0;
3682
- background: none;
3683
- cursor: pointer;
3684
- overflow: hidden;
3648
+ .muka-tile--image-top.muka-tile--lg {
3649
+ gap: var(--spacing-6);
3685
3650
  }
3686
3651
 
3687
- .muka-thumbnail__trigger:focus-visible {
3688
- outline: 2px solid var(--color-border-focus);
3689
- outline-offset: -2px;
3652
+ .muka-tile--image-top.muka-tile--md {
3653
+ gap: var(--spacing-6);
3654
+ width: 320px;
3690
3655
  }
3691
3656
 
3692
- /* On hover the image scales up ~8px (160px → 168px) with an ease-out feel. */
3693
- .muka-thumbnail--interactive:hover .muka-thumbnail__image {
3694
- transform: scale(1.05);
3657
+ .muka-tile--image-top.muka-tile--sm {
3658
+ gap: var(--spacing-4);
3659
+ min-width: 120px;
3695
3660
  }
3696
3661
 
3697
- /* ─── Loading overlay + progress donut ────────────────── */
3698
- .muka-thumbnail__overlay {
3699
- position: absolute;
3700
- inset: 0;
3701
- display: flex;
3662
+ /* ─── Gap by size (left/right) ────────────────────────── */
3663
+
3664
+ .muka-tile--image-left.muka-tile--lg,
3665
+ .muka-tile--image-right.muka-tile--lg {
3666
+ gap: var(--spacing-6);
3702
3667
  align-items: center;
3703
- justify-content: center;
3704
- background-color: var(--dialog-color-backdrop);
3705
3668
  }
3706
3669
 
3707
- .muka-thumbnail__progress {
3708
- width: 40px;
3709
- height: 40px;
3670
+ .muka-tile--image-left.muka-tile--md,
3671
+ .muka-tile--image-right.muka-tile--md {
3672
+ gap: var(--spacing-6);
3673
+ align-items: center;
3710
3674
  }
3711
3675
 
3712
- /* ─── Error / corrupt state ───────────────────────────── */
3713
- .muka-thumbnail--error .muka-thumbnail__frame {
3714
- background-color: var(--alias-color-state-error-muted);
3715
- border-color: var(--alias-color-state-error-default);
3676
+ .muka-tile--image-left.muka-tile--sm,
3677
+ .muka-tile--image-right.muka-tile--sm {
3678
+ gap: var(--spacing-4);
3679
+ align-items: flex-start;
3716
3680
  }
3717
3681
 
3718
- .muka-thumbnail__error {
3719
- position: absolute;
3720
- inset: 0;
3682
+ /* ─── Photos container ────────────────────────────────── */
3683
+
3684
+ .muka-tile__photos {
3685
+ position: relative;
3686
+ flex-shrink: 0;
3687
+ overflow: hidden;
3721
3688
  display: flex;
3722
3689
  flex-direction: column;
3723
- align-items: center;
3724
- justify-content: center;
3725
- gap: var(--spacing-2);
3726
- padding: var(--spacing-3);
3727
- text-align: center;
3690
+ isolation: isolate;
3728
3691
  }
3729
3692
 
3730
- .muka-thumbnail__error-icon {
3731
- color: var(--alert-color-error-accent);
3693
+ /* Photos border radius by size */
3694
+ .muka-tile--lg .muka-tile__photos,
3695
+ .muka-tile--md .muka-tile__photos {
3696
+ border-radius: var(--border-radius-lg);
3732
3697
  }
3733
3698
 
3734
- .muka-thumbnail__caption {
3735
- max-width: 100%;
3736
- overflow: hidden;
3737
- text-overflow: ellipsis;
3738
- white-space: nowrap;
3739
- color: var(--alert-color-error-accent);
3740
- font-family: var(--text-body-sm-regular-fontFamily);
3741
- font-size: var(--text-body-sm-regular-fontSize);
3742
- font-weight: var(--text-body-sm-regular-fontWeight);
3743
- line-height: var(--text-body-sm-regular-lineHeight);
3699
+ .muka-tile--sm .muka-tile__photos {
3700
+ border-radius: var(--border-radius-md);
3744
3701
  }
3745
3702
 
3746
- /* ─── Remove (×) button ───────────────────────────────── */
3747
- .muka-thumbnail__remove {
3748
- position: absolute;
3749
- top: var(--spacing-2);
3750
- right: var(--spacing-2);
3751
- display: flex;
3752
- align-items: center;
3753
- justify-content: center;
3754
- width: var(--size-2xl);
3755
- height: var(--size-2xl);
3756
- padding: 0;
3757
- color: var(--button-color-tertiary-foreground-default);
3758
- background-color: var(--button-color-tertiary-background-default);
3759
- border: var(--border-width-regular, 1px) solid var(--button-color-tertiary-border-default);
3760
- border-radius: var(--border-radius-lg);
3761
- cursor: pointer;
3762
- transition: background-color var(--motion-duration-micro) var(--motion-easing-enter),
3763
- border-color var(--motion-duration-micro) var(--motion-easing-enter);
3703
+ /* Photos sizing: top layout */
3704
+ .muka-tile--image-top .muka-tile__photos {
3705
+ width: 100%;
3764
3706
  }
3765
3707
 
3766
- .muka-thumbnail__remove:hover {
3767
- color: var(--button-color-tertiary-foreground-hover);
3768
- background-color: var(--button-color-tertiary-background-hover);
3769
- border-color: var(--button-color-tertiary-border-hover);
3708
+ /* Photos sizing: left/right large */
3709
+ .muka-tile--image-left.muka-tile--lg .muka-tile__photos,
3710
+ .muka-tile--image-right.muka-tile--lg .muka-tile__photos {
3711
+ width: 520px;
3770
3712
  }
3771
3713
 
3772
- .muka-thumbnail__remove:active {
3773
- color: var(--button-color-tertiary-foreground-pressed);
3774
- background-color: var(--button-color-tertiary-background-pressed);
3775
- border-color: var(--button-color-tertiary-border-pressed);
3714
+ /* Photos sizing: left/right medium */
3715
+ .muka-tile--image-left.muka-tile--md .muka-tile__photos,
3716
+ .muka-tile--image-right.muka-tile--md .muka-tile__photos {
3717
+ width: 320px;
3776
3718
  }
3777
3719
 
3778
- .muka-thumbnail__remove:focus-visible {
3779
- outline: 2px solid var(--color-border-focus);
3780
- outline-offset: 2px;
3720
+ /* Photos sizing: left/right small (single 80x80 thumbnail) */
3721
+ .muka-tile--image-left.muka-tile--sm .muka-tile__photos,
3722
+ .muka-tile--image-right.muka-tile--sm .muka-tile__photos {
3723
+ width: 80px;
3724
+ align-self: stretch;
3781
3725
  }
3782
3726
 
3783
- /* ─── Reduced motion ──────────────────────────────────── */
3784
- @media (prefers-reduced-motion: reduce) {
3785
- .muka-thumbnail__image,
3786
- .muka-thumbnail__remove {
3787
- transition: none;
3788
- }
3727
+ /* ─── Main photo ──────────────────────────────────────── */
3789
3728
 
3790
- .muka-thumbnail--interactive:hover .muka-thumbnail__image {
3791
- transform: none;
3792
- }
3729
+ .muka-tile__photo-main {
3730
+ position: relative;
3731
+ width: 100%;
3732
+ overflow: hidden;
3733
+ flex-shrink: 0;
3793
3734
  }
3794
3735
 
3736
+ /* 16:9 aspect for lg and md */
3737
+ .muka-tile--lg .muka-tile__photo-main,
3738
+ .muka-tile--md .muka-tile__photo-main {
3739
+ aspect-ratio: 1280 / 720;
3740
+ }
3795
3741
 
3796
- /* Textarea */
3797
- /* Textarea Component Styles - Using Muka Design Tokens */
3798
-
3799
- .muka-textarea {
3800
- display: inline-flex;
3801
- flex-direction: column;
3802
- gap: var(--spacing-2);
3742
+ /* 1:1 aspect for top + sm */
3743
+ .muka-tile--image-top.muka-tile--sm .muka-tile__photo-main {
3744
+ aspect-ratio: 1 / 1;
3803
3745
  }
3804
3746
 
3805
- /* Label */
3806
- .muka-textarea__label {
3807
- color: var(--color-text-default-default);
3808
- cursor: pointer;
3747
+ /* Fixed size for left/right + sm */
3748
+ .muka-tile--image-left.muka-tile--sm .muka-tile__photo-main,
3749
+ .muka-tile--image-right.muka-tile--sm .muka-tile__photo-main {
3750
+ width: 80px;
3751
+ height: 80px;
3752
+ aspect-ratio: auto;
3809
3753
  }
3810
3754
 
3811
- .muka-textarea__label--sm {
3812
- font-family: var(--text-label-sm-semibold-fontFamily);
3813
- font-weight: var(--text-label-sm-semibold-fontWeight);
3814
- font-size: var(--text-label-sm-semibold-fontSize);
3815
- line-height: var(--text-label-sm-semibold-lineHeight);
3755
+ .muka-tile__photo-main img {
3756
+ width: 100%;
3757
+ height: 100%;
3758
+ object-fit: cover;
3759
+ display: block;
3816
3760
  }
3817
3761
 
3818
- .muka-textarea__label--md {
3819
- font-family: var(--text-label-md-semibold-fontFamily);
3820
- font-weight: var(--text-label-md-semibold-fontWeight);
3821
- font-size: var(--text-label-md-semibold-fontSize);
3822
- line-height: var(--text-label-md-semibold-lineHeight);
3762
+ /* ─── Favourite overlay ───────────────────────────────── */
3763
+
3764
+ .muka-tile__favourite {
3765
+ position: absolute;
3766
+ z-index: 3;
3823
3767
  }
3824
3768
 
3825
- .muka-textarea__label--lg {
3826
- font-family: var(--text-label-lg-semibold-fontFamily);
3827
- font-weight: var(--text-label-lg-semibold-fontWeight);
3828
- font-size: var(--text-label-lg-semibold-fontSize);
3829
- line-height: var(--text-label-lg-semibold-lineHeight);
3769
+ .muka-tile--lg .muka-tile__favourite,
3770
+ .muka-tile--md .muka-tile__favourite {
3771
+ top: var(--spacing-4);
3772
+ right: var(--spacing-4);
3830
3773
  }
3831
3774
 
3832
- .muka-textarea__required {
3833
- color: var(--color-state-error-default);
3775
+ .muka-tile--image-top.muka-tile--sm .muka-tile__favourite {
3776
+ top: var(--spacing-1);
3777
+ right: var(--spacing-1);
3834
3778
  }
3835
3779
 
3836
- /* Field container */
3837
- .muka-textarea__field {
3780
+ /* ─── Thumbnails ──────────────────────────────────────── */
3781
+
3782
+ .muka-tile__thumbnails {
3838
3783
  display: flex;
3839
- background-color: var(--input-field-color-default-background);
3840
- border: var(--border-width-regular) solid var(--input-field-color-default-border);
3841
- border-radius: var(--input-field-radius-md);
3842
- padding: var(--input-field-padding-y) var(--input-field-padding-x);
3843
- transition: border-color 0.2s ease, background-color 0.2s ease;
3844
- box-sizing: border-box;
3784
+ gap: 2px;
3785
+ overflow: hidden;
3786
+ flex-shrink: 0;
3787
+ height: 80px;
3845
3788
  }
3846
3789
 
3847
- .muka-textarea__field--sm {
3848
- min-height: var(--input-textarea-height-sm);
3849
- border-radius: var(--input-field-radius-sm);
3790
+ .muka-tile__thumbnail {
3791
+ width: 80px;
3792
+ height: 80px;
3793
+ flex-shrink: 0;
3794
+ overflow: hidden;
3850
3795
  }
3851
3796
 
3852
- .muka-textarea__field--md {
3853
- min-height: var(--input-textarea-height-default);
3854
- border-radius: var(--input-field-radius-md);
3797
+ .muka-tile__thumbnail img {
3798
+ width: 100%;
3799
+ height: 100%;
3800
+ object-fit: cover;
3801
+ display: block;
3855
3802
  }
3856
3803
 
3857
- .muka-textarea__field--lg {
3858
- min-height: var(--input-textarea-height-lg);
3859
- border-radius: var(--input-field-radius-lg);
3804
+ /* Gap between main photo and thumbnails */
3805
+ .muka-tile__photos > .muka-tile__photo-main + .muka-tile__thumbnails {
3806
+ margin-top: 2px;
3860
3807
  }
3861
3808
 
3862
- /* Focus state */
3863
- .muka-textarea__field--focused:not(.muka-textarea__field--disabled) {
3864
- border-width: var(--border-width-bold);
3865
- border-color: var(--input-field-color-focus-border);
3866
- background-color: var(--input-field-color-focus-background);
3867
- padding: calc(var(--input-field-padding-y) - 1px) calc(var(--input-field-padding-x) - 1px);
3809
+ /* ─── Content section ─────────────────────────────────── */
3810
+
3811
+ .muka-tile__content {
3812
+ display: flex;
3813
+ flex-direction: column;
3814
+ flex: 1;
3815
+ min-width: 0;
3868
3816
  }
3869
3817
 
3870
- /* Error state */
3871
- .muka-textarea__field--error:not(.muka-textarea__field--disabled) {
3872
- border-width: var(--border-width-bold);
3873
- border-color: var(--input-field-color-error-border);
3874
- background-color: var(--input-field-color-error-background);
3875
- padding: calc(var(--input-field-padding-y) - 1px) calc(var(--input-field-padding-x) - 1px);
3818
+ /* Top layout: content has horizontal padding */
3819
+ .muka-tile--image-top.muka-tile--lg .muka-tile__content {
3820
+ padding: 0 var(--spacing-3);
3821
+ gap: var(--spacing-1);
3876
3822
  }
3877
3823
 
3878
- /* Disabled state */
3879
- .muka-textarea__field--disabled {
3880
- background-color: var(--input-field-color-disabled-background);
3881
- border-color: var(--input-field-color-disabled-border);
3882
- cursor: not-allowed;
3824
+ .muka-tile--image-top.muka-tile--md .muka-tile__content {
3825
+ padding: 0 var(--spacing-3);
3826
+ gap: var(--spacing-2);
3883
3827
  }
3884
3828
 
3885
- /* Native textarea */
3886
- .muka-textarea__native {
3887
- flex: 1;
3888
- border: none;
3889
- outline: none;
3890
- background: transparent;
3891
- color: var(--input-field-color-default-foreground);
3892
- font-family: var(--text-input-md-fontFamily);
3893
- font-weight: var(--text-input-md-fontWeight);
3894
- font-size: var(--text-input-md-fontSize);
3895
- line-height: var(--text-input-md-lineHeight);
3896
- padding: 0;
3897
- width: 100%;
3898
- min-width: 0;
3829
+ .muka-tile--image-top.muka-tile--sm .muka-tile__content {
3830
+ gap: var(--spacing-2);
3899
3831
  }
3900
3832
 
3901
- .muka-textarea__field--sm .muka-textarea__native {
3902
- font-family: var(--text-input-sm-fontFamily);
3903
- font-weight: var(--text-input-sm-fontWeight);
3904
- font-size: var(--text-input-sm-fontSize);
3905
- line-height: var(--text-input-sm-lineHeight);
3833
+ /* Left/right layout: content grows to fill space */
3834
+ .muka-tile--image-left .muka-tile__content,
3835
+ .muka-tile--image-right .muka-tile__content {
3836
+ gap: var(--spacing-3);
3906
3837
  }
3907
3838
 
3908
- .muka-textarea__field--lg .muka-textarea__native {
3909
- font-family: var(--text-input-lg-fontFamily);
3910
- font-weight: var(--text-input-lg-fontWeight);
3911
- font-size: var(--text-input-lg-fontSize);
3912
- line-height: var(--text-input-lg-lineHeight);
3839
+ .muka-tile--image-left.muka-tile--lg .muka-tile__content,
3840
+ .muka-tile--image-right.muka-tile--lg .muka-tile__content {
3841
+ padding: 0 var(--spacing-3);
3913
3842
  }
3914
3843
 
3915
- .muka-textarea__native::placeholder {
3916
- color: var(--color-text-subtle-default);
3844
+ .muka-tile--image-left.muka-tile--md .muka-tile__content,
3845
+ .muka-tile--image-right.muka-tile--md .muka-tile__content {
3846
+ padding: var(--spacing-2) var(--spacing-3);
3917
3847
  }
3918
3848
 
3919
- .muka-textarea__field--disabled .muka-textarea__native {
3920
- color: var(--input-field-color-disabled-foreground);
3921
- cursor: not-allowed;
3849
+ .muka-tile--image-left.muka-tile--sm .muka-tile__content,
3850
+ .muka-tile--image-right.muka-tile--sm .muka-tile__content {
3851
+ gap: var(--spacing-2);
3922
3852
  }
3923
3853
 
3924
- /* Footer (helper/error + count) */
3925
- .muka-textarea__footer {
3854
+ /* ─── Header (heading row + price) ────────────────────── */
3855
+
3856
+ .muka-tile__header {
3926
3857
  display: flex;
3927
- justify-content: space-between;
3928
3858
  align-items: flex-start;
3929
- gap: var(--spacing-2);
3859
+ gap: var(--spacing-4);
3930
3860
  }
3931
3861
 
3932
- .muka-textarea__helper {
3933
- font-family: var(--text-label-sm-regular-fontFamily);
3934
- font-weight: var(--text-label-sm-regular-fontWeight);
3935
- font-size: var(--text-label-sm-regular-fontSize);
3936
- line-height: var(--text-label-sm-regular-lineHeight);
3937
- color: var(--color-text-subtle-default);
3938
- margin: 0;
3862
+ /* Small horizontal: row with text and action */
3863
+ .muka-tile--sm:not(.muka-tile--image-top) .muka-tile__header {
3864
+ gap: var(--spacing-2);
3865
+ align-items: center;
3866
+ padding-top: var(--spacing-1);
3939
3867
  }
3940
3868
 
3941
- .muka-textarea__error {
3942
- font-family: var(--text-label-sm-regular-fontFamily);
3943
- font-weight: var(--text-label-sm-regular-fontWeight);
3944
- font-size: var(--text-label-sm-regular-fontSize);
3945
- line-height: var(--text-label-sm-regular-lineHeight);
3946
- color: var(--color-state-error-default);
3947
- margin: 0;
3948
- }
3869
+ /* ─── Text group ──────────────────────────────────────── */
3949
3870
 
3950
- .muka-textarea__count {
3951
- font-family: var(--text-label-sm-regular-fontFamily);
3952
- font-weight: var(--text-label-sm-regular-fontWeight);
3953
- font-size: var(--text-label-sm-regular-fontSize);
3954
- line-height: var(--text-label-sm-regular-lineHeight);
3955
- color: var(--color-text-subtle-default);
3956
- margin-left: auto;
3871
+ .muka-tile__text {
3872
+ display: flex;
3873
+ flex-direction: column;
3874
+ flex: 1;
3875
+ min-width: 0;
3876
+ gap: var(--spacing-2);
3957
3877
  }
3958
3878
 
3879
+ /* ─── Heading typography ──────────────────────────────── */
3959
3880
 
3960
- /* TextLink */
3961
- /* TextLink Component Styles - Using Muka Design Tokens */
3962
-
3963
- .muka-text-link {
3964
- display: inline;
3965
- cursor: pointer;
3966
- text-decoration: underline;
3967
- /* Nudge the rule clear of descenders; the Figma underline sits off baseline. */
3968
- text-underline-offset: 0.2em;
3969
- text-decoration-thickness: from-font;
3970
- /* Rounds the focus ring's corners; the link itself has no visible box. */
3971
- border-radius: var(--border-radius-sm);
3972
- transition: color var(--motion-duration-micro, 0.15s) var(--motion-easing-enter, ease);
3881
+ .muka-tile__heading {
3882
+ margin: 0;
3973
3883
  }
3974
3884
 
3975
- /* ─── Sizes ───────────────────────────────────────────────
3976
- Mirrors the body text scale so a link matches the copy it sits in. */
3977
- .muka-text-link--sm {
3978
- font-family: var(--text-body-sm-regular-fontFamily);
3979
- font-weight: var(--text-body-sm-regular-fontWeight);
3980
- font-size: var(--text-body-sm-regular-fontSize);
3981
- line-height: var(--text-body-sm-regular-lineHeight);
3885
+ .muka-tile--lg .muka-tile__heading {
3886
+ font-family: var(--text-label-2xl-semibold-fontFamily);
3887
+ font-weight: var(--text-label-2xl-semibold-fontWeight);
3888
+ font-size: var(--text-label-2xl-semibold-fontSize);
3889
+ line-height: var(--text-label-2xl-semibold-lineHeight);
3890
+ color: var(--color-text-default-default);
3982
3891
  }
3983
3892
 
3984
- .muka-text-link--base {
3985
- font-family: var(--text-body-base-regular-fontFamily);
3986
- font-weight: var(--text-body-base-regular-fontWeight);
3987
- font-size: var(--text-body-base-regular-fontSize);
3988
- line-height: var(--text-body-base-regular-lineHeight);
3893
+ .muka-tile--md .muka-tile__heading {
3894
+ font-family: var(--text-label-xl-semibold-fontFamily);
3895
+ font-weight: var(--text-label-xl-semibold-fontWeight);
3896
+ font-size: var(--text-label-xl-semibold-fontSize);
3897
+ line-height: var(--text-label-xl-semibold-lineHeight);
3898
+ color: var(--color-text-default-default);
3989
3899
  }
3990
3900
 
3991
- .muka-text-link--lg {
3992
- font-family: var(--text-body-lg-regular-fontFamily);
3993
- font-weight: var(--text-body-lg-regular-fontWeight);
3994
- font-size: var(--text-body-lg-regular-fontSize);
3995
- line-height: var(--text-body-lg-regular-lineHeight);
3901
+ .muka-tile--sm .muka-tile__heading {
3902
+ font-family: var(--text-label-lg-bold-fontFamily);
3903
+ font-weight: var(--text-label-lg-bold-fontWeight);
3904
+ font-size: var(--text-label-lg-bold-fontSize);
3905
+ line-height: var(--text-label-lg-bold-lineHeight);
3906
+ color: var(--color-text-default-default);
3996
3907
  }
3997
3908
 
3998
- /* ─── Variant: default (accent) ───────────────────────────
3999
- Visited repeats the default colour on purpose: the design treats visited and
4000
- default the same, and pinning it stops the browser's purple from showing. */
4001
- .muka-text-link--default,
4002
- .muka-text-link--default:visited {
4003
- color: var(--color-text-action-default);
4004
- }
3909
+ /* ─── Subheading typography ───────────────────────────── */
4005
3910
 
4006
- .muka-text-link--default:hover,
4007
- .muka-text-link--default:focus-visible {
4008
- color: var(--color-text-action-hover);
3911
+ .muka-tile__subheading {
3912
+ margin: 0;
3913
+ color: var(--color-text-subtle-default);
4009
3914
  }
4010
3915
 
4011
- .muka-text-link--default:active {
4012
- color: var(--color-text-action-pressed);
3916
+ .muka-tile--lg .muka-tile__subheading {
3917
+ font-family: var(--text-subheading-md-fontFamily);
3918
+ font-weight: var(--text-subheading-md-fontWeight);
3919
+ font-size: var(--text-subheading-md-fontSize);
3920
+ line-height: var(--text-subheading-md-lineHeight);
4013
3921
  }
4014
3922
 
4015
- /* ─── Variant: subtle (neutral) ───────────────────────────
4016
- Hover, focus and pressed all darken to the default text colour. */
4017
- .muka-text-link--subtle,
4018
- .muka-text-link--subtle:visited {
4019
- color: var(--color-text-subtle-default);
3923
+ .muka-tile--md .muka-tile__subheading,
3924
+ .muka-tile--sm .muka-tile__subheading {
3925
+ font-family: var(--text-subheading-sm-fontFamily);
3926
+ font-weight: var(--text-subheading-sm-fontWeight);
3927
+ font-size: var(--text-subheading-sm-fontSize);
3928
+ line-height: var(--text-subheading-sm-lineHeight);
4020
3929
  }
4021
3930
 
4022
- .muka-text-link--subtle:hover,
4023
- .muka-text-link--subtle:focus-visible,
4024
- .muka-text-link--subtle:active {
3931
+ /* ─── Description typography ──────────────────────────── */
3932
+
3933
+ .muka-tile__description {
3934
+ margin: 0;
4025
3935
  color: var(--color-text-default-default);
4026
3936
  }
4027
3937
 
4028
- /* ─── Focus ───────────────────────────────────────────────
4029
- Same ring as every other focusable Muka component. */
4030
- .muka-text-link:focus-visible {
4031
- outline: 2px solid var(--color-border-focus);
4032
- outline-offset: 2px;
3938
+ .muka-tile--lg .muka-tile__description {
3939
+ font-family: var(--text-body-lg-regular-fontFamily);
3940
+ font-weight: var(--text-body-lg-regular-fontWeight);
3941
+ font-size: var(--text-body-lg-regular-fontSize);
3942
+ line-height: var(--text-body-lg-regular-lineHeight);
4033
3943
  }
4034
3944
 
4035
- @media (prefers-reduced-motion: reduce) {
4036
- .muka-text-link {
4037
- transition: none;
4038
- }
3945
+ .muka-tile--md .muka-tile__description,
3946
+ .muka-tile--sm .muka-tile__description {
3947
+ font-family: var(--text-body-base-regular-fontFamily);
3948
+ font-weight: var(--text-body-base-regular-fontWeight);
3949
+ font-size: var(--text-body-base-regular-fontSize);
3950
+ line-height: var(--text-body-base-regular-lineHeight);
4039
3951
  }
4040
3952
 
3953
+ /* Description overflow for medium */
3954
+ .muka-tile--md .muka-tile__description {
3955
+ overflow: hidden;
3956
+ text-overflow: ellipsis;
3957
+ }
4041
3958
 
4042
- /* Tile */
4043
- /* Tile Component Styles - Using Muka Design Tokens */
4044
-
4045
- /* ─── Base ────────────────────────────────────────────── */
3959
+ /* ─── Price slot ──────────────────────────────────────── */
4046
3960
 
4047
- .muka-tile {
4048
- display: flex;
4049
- color: var(--color-text-default-default);
3961
+ .muka-tile__price {
3962
+ flex-shrink: 0;
4050
3963
  }
4051
3964
 
4052
- .muka-tile--interactive {
4053
- cursor: pointer;
4054
- user-select: none;
4055
- }
3965
+ /* ─── Action slot ─────────────────────────────────────── */
4056
3966
 
4057
- .muka-tile--interactive:focus-visible {
4058
- outline: 2px solid var(--color-border-focus);
4059
- outline-offset: 2px;
4060
- border-radius: var(--border-radius-lg);
3967
+ .muka-tile__action {
3968
+ flex-shrink: 0;
4061
3969
  }
4062
3970
 
4063
- /* ─── Image position variants ─────────────────────────── */
4064
3971
 
4065
- .muka-tile--image-top {
4066
- flex-direction: column;
4067
- }
3972
+ /* Thumbnail */
3973
+ /* Thumbnail Component Styles - Using Muka Design Tokens */
4068
3974
 
4069
- .muka-tile--image-left {
4070
- flex-direction: row;
3975
+ .muka-thumbnail {
3976
+ position: relative;
3977
+ flex-shrink: 0;
4071
3978
  }
4072
3979
 
4073
- .muka-tile--image-right {
4074
- flex-direction: row;
3980
+ /* The frame carries the border, background and shape clip. Keeping it separate
3981
+ from the root lets the remove (×) button sit outside the clip (needed for the
3982
+ circular/ellipse shape, whose corners would otherwise clip the button). */
3983
+ .muka-thumbnail__frame {
3984
+ position: absolute;
3985
+ inset: 0;
3986
+ overflow: hidden;
3987
+ border: var(--border-width-regular, 1px) solid var(--color-black-alpha-3);
3988
+ border-radius: var(--border-radius-lg);
3989
+ background-color: var(--color-surface-level1);
4075
3990
  }
4076
3991
 
4077
- /* ─── Gap by size (top) ───────────────────────────────── */
4078
-
4079
- .muka-tile--image-top.muka-tile--lg {
4080
- gap: var(--spacing-6);
3992
+ /* ─── Shapes ──────────────────────────────────────────── */
3993
+ .muka-thumbnail--4-3 {
3994
+ width: 160px;
3995
+ height: 120px;
4081
3996
  }
4082
3997
 
4083
- .muka-tile--image-top.muka-tile--md {
4084
- gap: var(--spacing-6);
4085
- width: 320px;
3998
+ .muka-thumbnail--1-1 {
3999
+ width: 120px;
4000
+ height: 120px;
4086
4001
  }
4087
4002
 
4088
- .muka-tile--image-top.muka-tile--sm {
4089
- gap: var(--spacing-4);
4090
- min-width: 120px;
4003
+ .muka-thumbnail--ellipse {
4004
+ width: 120px;
4005
+ height: 120px;
4091
4006
  }
4092
4007
 
4093
- /* ─── Gap by size (left/right) ────────────────────────── */
4094
-
4095
- .muka-tile--image-left.muka-tile--lg,
4096
- .muka-tile--image-right.muka-tile--lg {
4097
- gap: var(--spacing-6);
4098
- align-items: center;
4008
+ /* Fluid: fill the parent's width; the shape sets the height via aspect-ratio. */
4009
+ .muka-thumbnail--fluid {
4010
+ width: 100%;
4011
+ height: auto;
4012
+ aspect-ratio: 1 / 1;
4099
4013
  }
4100
4014
 
4101
- .muka-tile--image-left.muka-tile--md,
4102
- .muka-tile--image-right.muka-tile--md {
4103
- gap: var(--spacing-6);
4104
- align-items: center;
4015
+ .muka-thumbnail--fluid.muka-thumbnail--4-3 {
4016
+ aspect-ratio: 4 / 3;
4105
4017
  }
4106
4018
 
4107
- .muka-tile--image-left.muka-tile--sm,
4108
- .muka-tile--image-right.muka-tile--sm {
4109
- gap: var(--spacing-4);
4110
- align-items: flex-start;
4019
+ .muka-thumbnail--ellipse .muka-thumbnail__frame {
4020
+ border-radius: var(--border-radius-full);
4111
4021
  }
4112
4022
 
4113
- /* ─── Photos container ────────────────────────────────── */
4023
+ /* Image fills the frame, cropped to cover. Sits at scale(1) by default so the
4024
+ interactive hover zoom has a clean origin. */
4025
+ .muka-thumbnail__image {
4026
+ position: absolute;
4027
+ inset: 0;
4028
+ width: 100%;
4029
+ height: 100%;
4030
+ object-fit: cover;
4031
+ display: block;
4032
+ transform-origin: center;
4033
+ /* Micro-interaction: hover zoom eases out over the "micro" duration. */
4034
+ transition: transform var(--motion-duration-micro) var(--motion-easing-enter);
4035
+ }
4114
4036
 
4115
- .muka-tile__photos {
4116
- position: relative;
4117
- flex-shrink: 0;
4037
+ /* ─── Interactive (click-to-enlarge) ──────────────────── */
4038
+ .muka-thumbnail__trigger {
4039
+ position: absolute;
4040
+ inset: 0;
4041
+ padding: 0;
4042
+ border: 0;
4043
+ background: none;
4044
+ cursor: pointer;
4118
4045
  overflow: hidden;
4119
- display: flex;
4120
- flex-direction: column;
4121
- isolation: isolate;
4122
4046
  }
4123
4047
 
4124
- /* Photos border radius by size */
4125
- .muka-tile--lg .muka-tile__photos,
4126
- .muka-tile--md .muka-tile__photos {
4127
- border-radius: var(--border-radius-lg);
4048
+ .muka-thumbnail__trigger:focus-visible {
4049
+ outline: 2px solid var(--color-border-focus);
4050
+ outline-offset: -2px;
4128
4051
  }
4129
4052
 
4130
- .muka-tile--sm .muka-tile__photos {
4131
- border-radius: var(--border-radius-md);
4053
+ /* On hover the image scales up ~8px (160px → 168px) with an ease-out feel. */
4054
+ .muka-thumbnail--interactive:hover .muka-thumbnail__image {
4055
+ transform: scale(1.05);
4132
4056
  }
4133
4057
 
4134
- /* Photos sizing: top layout */
4135
- .muka-tile--image-top .muka-tile__photos {
4136
- width: 100%;
4058
+ /* ─── Loading overlay + progress donut ────────────────── */
4059
+ .muka-thumbnail__overlay {
4060
+ position: absolute;
4061
+ inset: 0;
4062
+ display: flex;
4063
+ align-items: center;
4064
+ justify-content: center;
4065
+ background-color: var(--dialog-color-backdrop);
4137
4066
  }
4138
4067
 
4139
- /* Photos sizing: left/right large */
4140
- .muka-tile--image-left.muka-tile--lg .muka-tile__photos,
4141
- .muka-tile--image-right.muka-tile--lg .muka-tile__photos {
4142
- width: 520px;
4068
+ .muka-thumbnail__progress {
4069
+ width: 40px;
4070
+ height: 40px;
4143
4071
  }
4144
4072
 
4145
- /* Photos sizing: left/right medium */
4146
- .muka-tile--image-left.muka-tile--md .muka-tile__photos,
4147
- .muka-tile--image-right.muka-tile--md .muka-tile__photos {
4148
- width: 320px;
4073
+ /* ─── Error / corrupt state ───────────────────────────── */
4074
+ .muka-thumbnail--error .muka-thumbnail__frame {
4075
+ background-color: var(--alias-color-state-error-muted);
4076
+ border-color: var(--alias-color-state-error-default);
4149
4077
  }
4150
4078
 
4151
- /* Photos sizing: left/right small (single 80x80 thumbnail) */
4152
- .muka-tile--image-left.muka-tile--sm .muka-tile__photos,
4153
- .muka-tile--image-right.muka-tile--sm .muka-tile__photos {
4154
- width: 80px;
4155
- align-self: stretch;
4079
+ .muka-thumbnail__error {
4080
+ position: absolute;
4081
+ inset: 0;
4082
+ display: flex;
4083
+ flex-direction: column;
4084
+ align-items: center;
4085
+ justify-content: center;
4086
+ gap: var(--spacing-2);
4087
+ padding: var(--spacing-3);
4088
+ text-align: center;
4156
4089
  }
4157
4090
 
4158
- /* ─── Main photo ──────────────────────────────────────── */
4159
-
4160
- .muka-tile__photo-main {
4161
- position: relative;
4162
- width: 100%;
4163
- overflow: hidden;
4164
- flex-shrink: 0;
4091
+ .muka-thumbnail__error-icon {
4092
+ color: var(--alert-color-error-accent);
4165
4093
  }
4166
4094
 
4167
- /* 16:9 aspect for lg and md */
4168
- .muka-tile--lg .muka-tile__photo-main,
4169
- .muka-tile--md .muka-tile__photo-main {
4170
- aspect-ratio: 1280 / 720;
4095
+ .muka-thumbnail__caption {
4096
+ max-width: 100%;
4097
+ overflow: hidden;
4098
+ text-overflow: ellipsis;
4099
+ white-space: nowrap;
4100
+ color: var(--alert-color-error-accent);
4101
+ font-family: var(--text-body-sm-regular-fontFamily);
4102
+ font-size: var(--text-body-sm-regular-fontSize);
4103
+ font-weight: var(--text-body-sm-regular-fontWeight);
4104
+ line-height: var(--text-body-sm-regular-lineHeight);
4171
4105
  }
4172
4106
 
4173
- /* 1:1 aspect for top + sm */
4174
- .muka-tile--image-top.muka-tile--sm .muka-tile__photo-main {
4175
- aspect-ratio: 1 / 1;
4107
+ /* ─── Remove (×) button ───────────────────────────────── */
4108
+ .muka-thumbnail__remove {
4109
+ position: absolute;
4110
+ top: var(--spacing-2);
4111
+ right: var(--spacing-2);
4112
+ display: flex;
4113
+ align-items: center;
4114
+ justify-content: center;
4115
+ width: var(--size-2xl);
4116
+ height: var(--size-2xl);
4117
+ padding: 0;
4118
+ color: var(--button-color-tertiary-foreground-default);
4119
+ background-color: var(--button-color-tertiary-background-default);
4120
+ border: var(--border-width-regular, 1px) solid var(--button-color-tertiary-border-default);
4121
+ border-radius: var(--border-radius-lg);
4122
+ cursor: pointer;
4123
+ transition: background-color var(--motion-duration-micro) var(--motion-easing-enter),
4124
+ border-color var(--motion-duration-micro) var(--motion-easing-enter);
4176
4125
  }
4177
4126
 
4178
- /* Fixed size for left/right + sm */
4179
- .muka-tile--image-left.muka-tile--sm .muka-tile__photo-main,
4180
- .muka-tile--image-right.muka-tile--sm .muka-tile__photo-main {
4181
- width: 80px;
4182
- height: 80px;
4183
- aspect-ratio: auto;
4127
+ .muka-thumbnail__remove:hover {
4128
+ color: var(--button-color-tertiary-foreground-hover);
4129
+ background-color: var(--button-color-tertiary-background-hover);
4130
+ border-color: var(--button-color-tertiary-border-hover);
4184
4131
  }
4185
4132
 
4186
- .muka-tile__photo-main img {
4187
- width: 100%;
4188
- height: 100%;
4189
- object-fit: cover;
4190
- display: block;
4133
+ .muka-thumbnail__remove:active {
4134
+ color: var(--button-color-tertiary-foreground-pressed);
4135
+ background-color: var(--button-color-tertiary-background-pressed);
4136
+ border-color: var(--button-color-tertiary-border-pressed);
4191
4137
  }
4192
4138
 
4193
- /* ─── Favourite overlay ───────────────────────────────── */
4194
-
4195
- .muka-tile__favourite {
4196
- position: absolute;
4197
- z-index: 3;
4139
+ .muka-thumbnail__remove:focus-visible {
4140
+ outline: 2px solid var(--color-border-focus);
4141
+ outline-offset: 2px;
4198
4142
  }
4199
4143
 
4200
- .muka-tile--lg .muka-tile__favourite,
4201
- .muka-tile--md .muka-tile__favourite {
4202
- top: var(--spacing-4);
4203
- right: var(--spacing-4);
4204
- }
4144
+ /* ─── Reduced motion ──────────────────────────────────── */
4145
+ @media (prefers-reduced-motion: reduce) {
4146
+ .muka-thumbnail__image,
4147
+ .muka-thumbnail__remove {
4148
+ transition: none;
4149
+ }
4205
4150
 
4206
- .muka-tile--image-top.muka-tile--sm .muka-tile__favourite {
4207
- top: var(--spacing-1);
4208
- right: var(--spacing-1);
4151
+ .muka-thumbnail--interactive:hover .muka-thumbnail__image {
4152
+ transform: none;
4153
+ }
4209
4154
  }
4210
4155
 
4211
- /* ─── Thumbnails ──────────────────────────────────────── */
4212
4156
 
4213
- .muka-tile__thumbnails {
4214
- display: flex;
4215
- gap: 2px;
4216
- overflow: hidden;
4217
- flex-shrink: 0;
4218
- height: 80px;
4219
- }
4157
+ /* Textarea */
4158
+ /* Textarea Component Styles - Using Muka Design Tokens */
4220
4159
 
4221
- .muka-tile__thumbnail {
4222
- width: 80px;
4223
- height: 80px;
4224
- flex-shrink: 0;
4225
- overflow: hidden;
4160
+ .muka-textarea {
4161
+ display: inline-flex;
4162
+ flex-direction: column;
4163
+ gap: var(--spacing-2);
4226
4164
  }
4227
4165
 
4228
- .muka-tile__thumbnail img {
4229
- width: 100%;
4230
- height: 100%;
4231
- object-fit: cover;
4232
- display: block;
4166
+ /* Label */
4167
+ .muka-textarea__label {
4168
+ color: var(--color-text-default-default);
4169
+ cursor: pointer;
4233
4170
  }
4234
4171
 
4235
- /* Gap between main photo and thumbnails */
4236
- .muka-tile__photos > .muka-tile__photo-main + .muka-tile__thumbnails {
4237
- margin-top: 2px;
4172
+ .muka-textarea__label--sm {
4173
+ font-family: var(--text-label-sm-semibold-fontFamily);
4174
+ font-weight: var(--text-label-sm-semibold-fontWeight);
4175
+ font-size: var(--text-label-sm-semibold-fontSize);
4176
+ line-height: var(--text-label-sm-semibold-lineHeight);
4238
4177
  }
4239
4178
 
4240
- /* ─── Content section ─────────────────────────────────── */
4241
-
4242
- .muka-tile__content {
4243
- display: flex;
4244
- flex-direction: column;
4245
- flex: 1;
4246
- min-width: 0;
4179
+ .muka-textarea__label--md {
4180
+ font-family: var(--text-label-md-semibold-fontFamily);
4181
+ font-weight: var(--text-label-md-semibold-fontWeight);
4182
+ font-size: var(--text-label-md-semibold-fontSize);
4183
+ line-height: var(--text-label-md-semibold-lineHeight);
4247
4184
  }
4248
4185
 
4249
- /* Top layout: content has horizontal padding */
4250
- .muka-tile--image-top.muka-tile--lg .muka-tile__content {
4251
- padding: 0 var(--spacing-3);
4252
- gap: var(--spacing-1);
4186
+ .muka-textarea__label--lg {
4187
+ font-family: var(--text-label-lg-semibold-fontFamily);
4188
+ font-weight: var(--text-label-lg-semibold-fontWeight);
4189
+ font-size: var(--text-label-lg-semibold-fontSize);
4190
+ line-height: var(--text-label-lg-semibold-lineHeight);
4253
4191
  }
4254
4192
 
4255
- .muka-tile--image-top.muka-tile--md .muka-tile__content {
4256
- padding: 0 var(--spacing-3);
4257
- gap: var(--spacing-2);
4193
+ .muka-textarea__required {
4194
+ color: var(--color-state-error-default);
4258
4195
  }
4259
4196
 
4260
- .muka-tile--image-top.muka-tile--sm .muka-tile__content {
4261
- gap: var(--spacing-2);
4197
+ /* Field container */
4198
+ .muka-textarea__field {
4199
+ display: flex;
4200
+ background-color: var(--input-field-color-default-background);
4201
+ border: var(--border-width-regular) solid var(--input-field-color-default-border);
4202
+ border-radius: var(--input-field-radius-md);
4203
+ padding: var(--input-field-padding-y) var(--input-field-padding-x);
4204
+ transition: border-color 0.2s ease, background-color 0.2s ease;
4205
+ box-sizing: border-box;
4262
4206
  }
4263
4207
 
4264
- /* Left/right layout: content grows to fill space */
4265
- .muka-tile--image-left .muka-tile__content,
4266
- .muka-tile--image-right .muka-tile__content {
4267
- gap: var(--spacing-3);
4208
+ .muka-textarea__field--sm {
4209
+ min-height: var(--input-textarea-height-sm);
4210
+ border-radius: var(--input-field-radius-sm);
4268
4211
  }
4269
4212
 
4270
- .muka-tile--image-left.muka-tile--lg .muka-tile__content,
4271
- .muka-tile--image-right.muka-tile--lg .muka-tile__content {
4272
- padding: 0 var(--spacing-3);
4213
+ .muka-textarea__field--md {
4214
+ min-height: var(--input-textarea-height-default);
4215
+ border-radius: var(--input-field-radius-md);
4273
4216
  }
4274
4217
 
4275
- .muka-tile--image-left.muka-tile--md .muka-tile__content,
4276
- .muka-tile--image-right.muka-tile--md .muka-tile__content {
4277
- padding: var(--spacing-2) var(--spacing-3);
4218
+ .muka-textarea__field--lg {
4219
+ min-height: var(--input-textarea-height-lg);
4220
+ border-radius: var(--input-field-radius-lg);
4278
4221
  }
4279
4222
 
4280
- .muka-tile--image-left.muka-tile--sm .muka-tile__content,
4281
- .muka-tile--image-right.muka-tile--sm .muka-tile__content {
4282
- gap: var(--spacing-2);
4223
+ /* Focus state */
4224
+ .muka-textarea__field--focused:not(.muka-textarea__field--disabled) {
4225
+ border-width: var(--border-width-bold);
4226
+ border-color: var(--input-field-color-focus-border);
4227
+ background-color: var(--input-field-color-focus-background);
4228
+ padding: calc(var(--input-field-padding-y) - 1px) calc(var(--input-field-padding-x) - 1px);
4283
4229
  }
4284
4230
 
4285
- /* ─── Header (heading row + price) ────────────────────── */
4286
-
4287
- .muka-tile__header {
4288
- display: flex;
4289
- align-items: flex-start;
4290
- gap: var(--spacing-4);
4231
+ /* Error state */
4232
+ .muka-textarea__field--error:not(.muka-textarea__field--disabled) {
4233
+ border-width: var(--border-width-bold);
4234
+ border-color: var(--input-field-color-error-border);
4235
+ background-color: var(--input-field-color-error-background);
4236
+ padding: calc(var(--input-field-padding-y) - 1px) calc(var(--input-field-padding-x) - 1px);
4291
4237
  }
4292
4238
 
4293
- /* Small horizontal: row with text and action */
4294
- .muka-tile--sm:not(.muka-tile--image-top) .muka-tile__header {
4295
- gap: var(--spacing-2);
4296
- align-items: center;
4297
- padding-top: var(--spacing-1);
4239
+ /* Disabled state */
4240
+ .muka-textarea__field--disabled {
4241
+ background-color: var(--input-field-color-disabled-background);
4242
+ border-color: var(--input-field-color-disabled-border);
4243
+ cursor: not-allowed;
4298
4244
  }
4299
4245
 
4300
- /* ─── Text group ──────────────────────────────────────── */
4301
-
4302
- .muka-tile__text {
4303
- display: flex;
4304
- flex-direction: column;
4246
+ /* Native textarea */
4247
+ .muka-textarea__native {
4305
4248
  flex: 1;
4249
+ border: none;
4250
+ outline: none;
4251
+ background: transparent;
4252
+ color: var(--input-field-color-default-foreground);
4253
+ font-family: var(--text-input-md-fontFamily);
4254
+ font-weight: var(--text-input-md-fontWeight);
4255
+ font-size: var(--text-input-md-fontSize);
4256
+ line-height: var(--text-input-md-lineHeight);
4257
+ padding: 0;
4258
+ width: 100%;
4306
4259
  min-width: 0;
4307
- gap: var(--spacing-2);
4308
4260
  }
4309
4261
 
4310
- /* ─── Heading typography ──────────────────────────────── */
4262
+ .muka-textarea__field--sm .muka-textarea__native {
4263
+ font-family: var(--text-input-sm-fontFamily);
4264
+ font-weight: var(--text-input-sm-fontWeight);
4265
+ font-size: var(--text-input-sm-fontSize);
4266
+ line-height: var(--text-input-sm-lineHeight);
4267
+ }
4311
4268
 
4312
- .muka-tile__heading {
4313
- margin: 0;
4269
+ .muka-textarea__field--lg .muka-textarea__native {
4270
+ font-family: var(--text-input-lg-fontFamily);
4271
+ font-weight: var(--text-input-lg-fontWeight);
4272
+ font-size: var(--text-input-lg-fontSize);
4273
+ line-height: var(--text-input-lg-lineHeight);
4314
4274
  }
4315
4275
 
4316
- .muka-tile--lg .muka-tile__heading {
4317
- font-family: var(--text-label-2xl-semibold-fontFamily);
4318
- font-weight: var(--text-label-2xl-semibold-fontWeight);
4319
- font-size: var(--text-label-2xl-semibold-fontSize);
4320
- line-height: var(--text-label-2xl-semibold-lineHeight);
4321
- color: var(--color-text-default-default);
4276
+ .muka-textarea__native::placeholder {
4277
+ color: var(--color-text-subtle-default);
4322
4278
  }
4323
4279
 
4324
- .muka-tile--md .muka-tile__heading {
4325
- font-family: var(--text-label-xl-semibold-fontFamily);
4326
- font-weight: var(--text-label-xl-semibold-fontWeight);
4327
- font-size: var(--text-label-xl-semibold-fontSize);
4328
- line-height: var(--text-label-xl-semibold-lineHeight);
4329
- color: var(--color-text-default-default);
4280
+ .muka-textarea__field--disabled .muka-textarea__native {
4281
+ color: var(--input-field-color-disabled-foreground);
4282
+ cursor: not-allowed;
4330
4283
  }
4331
4284
 
4332
- .muka-tile--sm .muka-tile__heading {
4333
- font-family: var(--text-label-lg-bold-fontFamily);
4334
- font-weight: var(--text-label-lg-bold-fontWeight);
4335
- font-size: var(--text-label-lg-bold-fontSize);
4336
- line-height: var(--text-label-lg-bold-lineHeight);
4337
- color: var(--color-text-default-default);
4285
+ /* Footer (helper/error + count) */
4286
+ .muka-textarea__footer {
4287
+ display: flex;
4288
+ justify-content: space-between;
4289
+ align-items: flex-start;
4290
+ gap: var(--spacing-2);
4338
4291
  }
4339
4292
 
4340
- /* ─── Subheading typography ───────────────────────────── */
4293
+ .muka-textarea__helper {
4294
+ font-family: var(--text-label-sm-regular-fontFamily);
4295
+ font-weight: var(--text-label-sm-regular-fontWeight);
4296
+ font-size: var(--text-label-sm-regular-fontSize);
4297
+ line-height: var(--text-label-sm-regular-lineHeight);
4298
+ color: var(--color-text-subtle-default);
4299
+ margin: 0;
4300
+ }
4341
4301
 
4342
- .muka-tile__subheading {
4302
+ .muka-textarea__error {
4303
+ font-family: var(--text-label-sm-regular-fontFamily);
4304
+ font-weight: var(--text-label-sm-regular-fontWeight);
4305
+ font-size: var(--text-label-sm-regular-fontSize);
4306
+ line-height: var(--text-label-sm-regular-lineHeight);
4307
+ color: var(--color-state-error-default);
4343
4308
  margin: 0;
4344
- color: var(--color-text-subtle-default);
4345
4309
  }
4346
4310
 
4347
- .muka-tile--lg .muka-tile__subheading {
4348
- font-family: var(--text-subheading-md-fontFamily);
4349
- font-weight: var(--text-subheading-md-fontWeight);
4350
- font-size: var(--text-subheading-md-fontSize);
4351
- line-height: var(--text-subheading-md-lineHeight);
4311
+ .muka-textarea__count {
4312
+ font-family: var(--text-label-sm-regular-fontFamily);
4313
+ font-weight: var(--text-label-sm-regular-fontWeight);
4314
+ font-size: var(--text-label-sm-regular-fontSize);
4315
+ line-height: var(--text-label-sm-regular-lineHeight);
4316
+ color: var(--color-text-subtle-default);
4317
+ margin-left: auto;
4352
4318
  }
4353
4319
 
4354
- .muka-tile--md .muka-tile__subheading,
4355
- .muka-tile--sm .muka-tile__subheading {
4356
- font-family: var(--text-subheading-sm-fontFamily);
4357
- font-weight: var(--text-subheading-sm-fontWeight);
4358
- font-size: var(--text-subheading-sm-fontSize);
4359
- line-height: var(--text-subheading-sm-lineHeight);
4320
+
4321
+ /* TextLink */
4322
+ /* TextLink Component Styles - Using Muka Design Tokens */
4323
+
4324
+ .muka-text-link {
4325
+ display: inline;
4326
+ cursor: pointer;
4327
+ text-decoration: underline;
4328
+ /* Nudge the rule clear of descenders; the Figma underline sits off baseline. */
4329
+ text-underline-offset: 0.2em;
4330
+ text-decoration-thickness: from-font;
4331
+ /* Rounds the focus ring's corners; the link itself has no visible box. */
4332
+ border-radius: var(--border-radius-sm);
4333
+ transition: color var(--motion-duration-micro, 0.15s) var(--motion-easing-enter, ease);
4360
4334
  }
4361
4335
 
4362
- /* ─── Description typography ──────────────────────────── */
4336
+ /* ─── Sizes ───────────────────────────────────────────────
4337
+ Mirrors the body text scale so a link matches the copy it sits in. */
4338
+ .muka-text-link--sm {
4339
+ font-family: var(--text-body-sm-regular-fontFamily);
4340
+ font-weight: var(--text-body-sm-regular-fontWeight);
4341
+ font-size: var(--text-body-sm-regular-fontSize);
4342
+ line-height: var(--text-body-sm-regular-lineHeight);
4343
+ }
4363
4344
 
4364
- .muka-tile__description {
4365
- margin: 0;
4366
- color: var(--color-text-default-default);
4345
+ .muka-text-link--base {
4346
+ font-family: var(--text-body-base-regular-fontFamily);
4347
+ font-weight: var(--text-body-base-regular-fontWeight);
4348
+ font-size: var(--text-body-base-regular-fontSize);
4349
+ line-height: var(--text-body-base-regular-lineHeight);
4367
4350
  }
4368
4351
 
4369
- .muka-tile--lg .muka-tile__description {
4352
+ .muka-text-link--lg {
4370
4353
  font-family: var(--text-body-lg-regular-fontFamily);
4371
4354
  font-weight: var(--text-body-lg-regular-fontWeight);
4372
4355
  font-size: var(--text-body-lg-regular-fontSize);
4373
4356
  line-height: var(--text-body-lg-regular-lineHeight);
4374
4357
  }
4375
4358
 
4376
- .muka-tile--md .muka-tile__description,
4377
- .muka-tile--sm .muka-tile__description {
4378
- font-family: var(--text-body-base-regular-fontFamily);
4379
- font-weight: var(--text-body-base-regular-fontWeight);
4380
- font-size: var(--text-body-base-regular-fontSize);
4381
- line-height: var(--text-body-base-regular-lineHeight);
4359
+ /* ─── Variant: default (accent) ───────────────────────────
4360
+ Visited repeats the default colour on purpose: the design treats visited and
4361
+ default the same, and pinning it stops the browser's purple from showing. */
4362
+ .muka-text-link--default,
4363
+ .muka-text-link--default:visited {
4364
+ color: var(--color-text-action-default);
4382
4365
  }
4383
4366
 
4384
- /* Description overflow for medium */
4385
- .muka-tile--md .muka-tile__description {
4386
- overflow: hidden;
4387
- text-overflow: ellipsis;
4367
+ .muka-text-link--default:hover,
4368
+ .muka-text-link--default:focus-visible {
4369
+ color: var(--color-text-action-hover);
4388
4370
  }
4389
4371
 
4390
- /* ─── Price slot ──────────────────────────────────────── */
4372
+ .muka-text-link--default:active {
4373
+ color: var(--color-text-action-pressed);
4374
+ }
4391
4375
 
4392
- .muka-tile__price {
4393
- flex-shrink: 0;
4376
+ /* ─── Variant: subtle (neutral) ───────────────────────────
4377
+ Hover, focus and pressed all darken to the default text colour. */
4378
+ .muka-text-link--subtle,
4379
+ .muka-text-link--subtle:visited {
4380
+ color: var(--color-text-subtle-default);
4394
4381
  }
4395
4382
 
4396
- /* ─── Action slot ─────────────────────────────────────── */
4383
+ .muka-text-link--subtle:hover,
4384
+ .muka-text-link--subtle:focus-visible,
4385
+ .muka-text-link--subtle:active {
4386
+ color: var(--color-text-default-default);
4387
+ }
4397
4388
 
4398
- .muka-tile__action {
4399
- flex-shrink: 0;
4389
+ /* ─── Focus ───────────────────────────────────────────────
4390
+ Same ring as every other focusable Muka component. */
4391
+ .muka-text-link:focus-visible {
4392
+ outline: 2px solid var(--color-border-focus);
4393
+ outline-offset: 2px;
4394
+ }
4395
+
4396
+ @media (prefers-reduced-motion: reduce) {
4397
+ .muka-text-link {
4398
+ transition: none;
4399
+ }
4400
4400
  }
4401
4401
 
4402
4402
 
@@ -6730,114 +6730,6 @@ body {
6730
6730
  }
6731
6731
 
6732
6732
 
6733
- /* SwipeActions */
6734
- /* SwipeActions Component Styles */
6735
-
6736
- .muka-swipe-actions {
6737
- position: relative;
6738
- overflow: hidden;
6739
- touch-action: pan-y;
6740
- -webkit-user-select: none;
6741
- user-select: none;
6742
- background-color: var(--color-surface-level3);
6743
- }
6744
-
6745
- .muka-swipe-actions--disabled {
6746
- touch-action: auto;
6747
- }
6748
-
6749
- /* ─── Row that holds the actual content ────────────────── */
6750
-
6751
- .muka-swipe-actions__row {
6752
- position: relative;
6753
- z-index: 1;
6754
- background-color: inherit;
6755
- will-change: transform;
6756
- }
6757
-
6758
- /* ─── Action panels — sit beneath the row ──────────────── */
6759
-
6760
- .muka-swipe-actions__panel {
6761
- position: absolute;
6762
- top: 0;
6763
- bottom: 0;
6764
- display: flex;
6765
- align-items: stretch;
6766
- z-index: 0;
6767
- }
6768
-
6769
- .muka-swipe-actions__panel--left {
6770
- left: 0;
6771
- }
6772
-
6773
- .muka-swipe-actions__panel--right {
6774
- right: 0;
6775
- }
6776
-
6777
- /* ─── Single action button ─────────────────────────────── */
6778
-
6779
- .muka-swipe-actions__button {
6780
- display: flex;
6781
- flex-direction: column;
6782
- align-items: center;
6783
- justify-content: center;
6784
- gap: var(--spacing-1);
6785
- border: none;
6786
- cursor: pointer;
6787
- padding: var(--spacing-2);
6788
- background-color: var(--color-surface-level2);
6789
- color: var(--color-text-default-default);
6790
- font-family: var(--text-label-sm-semibold-fontFamily);
6791
- font-weight: var(--text-label-sm-semibold-fontWeight);
6792
- font-size: var(--text-label-sm-semibold-fontSize);
6793
- line-height: var(--text-label-sm-semibold-lineHeight);
6794
- -webkit-tap-highlight-color: transparent;
6795
- transition: filter 0.12s ease;
6796
- }
6797
-
6798
- .muka-swipe-actions__button:hover {
6799
- filter: brightness(0.95);
6800
- }
6801
-
6802
- .muka-swipe-actions__button:focus-visible {
6803
- outline: 2px solid var(--color-action-default);
6804
- outline-offset: -2px;
6805
- }
6806
-
6807
- .muka-swipe-actions__button-icon {
6808
- display: inline-flex;
6809
- align-items: center;
6810
- justify-content: center;
6811
- }
6812
-
6813
- /* ─── Color variants ───────────────────────────────────── */
6814
-
6815
- .muka-swipe-actions__button--neutral {
6816
- background-color: var(--color-surface-level2);
6817
- color: var(--color-text-default-default);
6818
- }
6819
-
6820
- .muka-swipe-actions__button--primary {
6821
- background-color: var(--color-action-default);
6822
- color: var(--color-text-default-inverse);
6823
- }
6824
-
6825
- .muka-swipe-actions__button--success {
6826
- background-color: var(--color-state-success-default);
6827
- color: var(--color-text-default-inverse);
6828
- }
6829
-
6830
- .muka-swipe-actions__button--warning {
6831
- background-color: var(--color-state-warning-default);
6832
- color: var(--color-text-default-default);
6833
- }
6834
-
6835
- .muka-swipe-actions__button--destructive {
6836
- background-color: var(--color-state-error-default);
6837
- color: var(--color-text-default-inverse);
6838
- }
6839
-
6840
-
6841
6733
  /* RadioTile */
6842
6734
  /* RadioTile Component Styles - Using Muka Design Tokens */
6843
6735
 
@@ -9069,41 +8961,101 @@ button.muka-progress-tracker__tab:focus-visible {
9069
8961
  opacity: 0.4;
9070
8962
  }
9071
8963
 
9072
- /* Size variants */
9073
- .muka-pagination--sm .muka-pagination__button {
9074
- min-width: var(--size-2xl);
9075
- height: var(--size-2xl);
9076
- font-size: var(--text-label-sm-regular-fontSize);
8964
+ /* Size variants */
8965
+ .muka-pagination--sm .muka-pagination__button {
8966
+ min-width: var(--size-2xl);
8967
+ height: var(--size-2xl);
8968
+ font-size: var(--text-label-sm-regular-fontSize);
8969
+ }
8970
+
8971
+ .muka-pagination--sm .muka-pagination__ellipsis {
8972
+ min-width: var(--size-2xl);
8973
+ height: var(--size-2xl);
8974
+ font-size: var(--text-label-sm-regular-fontSize);
8975
+ }
8976
+
8977
+ .muka-pagination--md .muka-pagination__button {
8978
+ min-width: var(--size-3xl);
8979
+ height: var(--size-3xl);
8980
+ font-size: var(--text-label-md-regular-fontSize);
8981
+ }
8982
+
8983
+ .muka-pagination--md .muka-pagination__ellipsis {
8984
+ min-width: var(--size-3xl);
8985
+ height: var(--size-3xl);
8986
+ font-size: var(--text-label-md-regular-fontSize);
8987
+ }
8988
+
8989
+ .muka-pagination--lg .muka-pagination__button {
8990
+ min-width: var(--size-4xl);
8991
+ height: var(--size-4xl);
8992
+ font-size: var(--text-label-lg-regular-fontSize);
8993
+ }
8994
+
8995
+ .muka-pagination--lg .muka-pagination__ellipsis {
8996
+ min-width: var(--size-4xl);
8997
+ height: var(--size-4xl);
8998
+ font-size: var(--text-label-lg-regular-fontSize);
8999
+ }
9000
+
9001
+
9002
+ /* Page */
9003
+ /* Page Component Styles */
9004
+
9005
+ /*
9006
+ * Shell for document-scrolling pages (marketing, sign-in, legal). Safe areas:
9007
+ * env(safe-area-inset-*) is 0 outside notched devices, so the padding below
9008
+ * only appears in an app running edge to edge (viewport-fit=cover).
9009
+ *
9010
+ * `--muka-page-background` is the page colour. SiteHeader reads it, so a
9011
+ * header and its status-bar scrim match the page without configuration.
9012
+ */
9013
+ .muka-page {
9014
+ --muka-page-background: var(--color-surface-level3);
9015
+ display: flex;
9016
+ flex-direction: column;
9017
+ min-height: 100vh;
9018
+ min-height: 100dvh;
9019
+ background-color: var(--muka-page-background);
9020
+ }
9021
+
9022
+ .muka-page--surface-2 {
9023
+ --muka-page-background: var(--color-surface-level2);
9024
+ }
9025
+
9026
+ /* Overscroll (rubber band) shows the document background: keep it the page's. */
9027
+ :root:has(.muka-page--surface-2) body {
9028
+ background-color: var(--color-surface-level2);
9077
9029
  }
9078
9030
 
9079
- .muka-pagination--sm .muka-pagination__ellipsis {
9080
- min-width: var(--size-2xl);
9081
- height: var(--size-2xl);
9082
- font-size: var(--text-label-sm-regular-fontSize);
9031
+ .muka-page__main {
9032
+ flex: 1 0 auto;
9033
+ display: flex;
9034
+ flex-direction: column;
9035
+ /* Landscape: clear the notch. */
9036
+ padding-left: env(safe-area-inset-left, 0px);
9037
+ padding-right: env(safe-area-inset-right, 0px);
9083
9038
  }
9084
9039
 
9085
- .muka-pagination--md .muka-pagination__button {
9086
- min-width: var(--size-3xl);
9087
- height: var(--size-3xl);
9088
- font-size: var(--text-label-md-regular-fontSize);
9040
+ .muka-page__footer {
9041
+ flex-shrink: 0;
9042
+ padding-left: env(safe-area-inset-left, 0px);
9043
+ padding-right: env(safe-area-inset-right, 0px);
9044
+ padding-bottom: env(safe-area-inset-bottom, 0px);
9089
9045
  }
9090
9046
 
9091
- .muka-pagination--md .muka-pagination__ellipsis {
9092
- min-width: var(--size-3xl);
9093
- height: var(--size-3xl);
9094
- font-size: var(--text-label-md-regular-fontSize);
9047
+ /* A footer with its own colour: the colour runs under the home indicator. */
9048
+ .muka-page__footer--surface-2 {
9049
+ background-color: var(--color-surface-level2);
9095
9050
  }
9096
9051
 
9097
- .muka-pagination--lg .muka-pagination__button {
9098
- min-width: var(--size-4xl);
9099
- height: var(--size-4xl);
9100
- font-size: var(--text-label-lg-regular-fontSize);
9052
+ .muka-page__footer--surface-3 {
9053
+ background-color: var(--color-surface-level3);
9101
9054
  }
9102
9055
 
9103
- .muka-pagination--lg .muka-pagination__ellipsis {
9104
- min-width: var(--size-4xl);
9105
- height: var(--size-4xl);
9106
- font-size: var(--text-label-lg-regular-fontSize);
9056
+ /* Without a footer, the content is last and clears the home indicator. */
9057
+ .muka-page:not(:has(> .muka-page__footer)) > .muka-page__main {
9058
+ padding-bottom: env(safe-area-inset-bottom, 0px);
9107
9059
  }
9108
9060
 
9109
9061
 
@@ -9990,6 +9942,25 @@ button.muka-progress-tracker__tab:focus-visible {
9990
9942
  white-space: nowrap;
9991
9943
  }
9992
9944
 
9945
+ /*
9946
+ * Trailing content: time, BadgeNumber, a dot. Stacks vertically (a time above
9947
+ * a badge, as in a chat inbox), aligned to the end, and never shrinks the label
9948
+ * below it: the label ellipsises instead.
9949
+ */
9950
+ .muka-listitem__trailing {
9951
+ display: flex;
9952
+ flex-direction: column;
9953
+ align-items: flex-end;
9954
+ justify-content: center;
9955
+ gap: var(--spacing-1);
9956
+ flex-shrink: 0;
9957
+ font-family: var(--alias-font-plain-family);
9958
+ font-size: var(--text-body-sm-fontSize);
9959
+ line-height: var(--text-body-sm-lineHeight);
9960
+ color: var(--color-text-subtle-default);
9961
+ white-space: nowrap;
9962
+ }
9963
+
9993
9964
  /* Trailing chevron */
9994
9965
  .muka-listitem__chevron {
9995
9966
  display: inline-flex;
@@ -10258,66 +10229,6 @@ li.muka-listitem {
10258
10229
  }
10259
10230
 
10260
10231
 
10261
- /* Page */
10262
- /* Page Component Styles */
10263
-
10264
- /*
10265
- * Shell for document-scrolling pages (marketing, sign-in, legal). Safe areas:
10266
- * env(safe-area-inset-*) is 0 outside notched devices, so the padding below
10267
- * only appears in an app running edge to edge (viewport-fit=cover).
10268
- *
10269
- * `--muka-page-background` is the page colour. SiteHeader reads it, so a
10270
- * header and its status-bar scrim match the page without configuration.
10271
- */
10272
- .muka-page {
10273
- --muka-page-background: var(--color-surface-level3);
10274
- display: flex;
10275
- flex-direction: column;
10276
- min-height: 100vh;
10277
- min-height: 100dvh;
10278
- background-color: var(--muka-page-background);
10279
- }
10280
-
10281
- .muka-page--surface-2 {
10282
- --muka-page-background: var(--color-surface-level2);
10283
- }
10284
-
10285
- /* Overscroll (rubber band) shows the document background: keep it the page's. */
10286
- :root:has(.muka-page--surface-2) body {
10287
- background-color: var(--color-surface-level2);
10288
- }
10289
-
10290
- .muka-page__main {
10291
- flex: 1 0 auto;
10292
- display: flex;
10293
- flex-direction: column;
10294
- /* Landscape: clear the notch. */
10295
- padding-left: env(safe-area-inset-left, 0px);
10296
- padding-right: env(safe-area-inset-right, 0px);
10297
- }
10298
-
10299
- .muka-page__footer {
10300
- flex-shrink: 0;
10301
- padding-left: env(safe-area-inset-left, 0px);
10302
- padding-right: env(safe-area-inset-right, 0px);
10303
- padding-bottom: env(safe-area-inset-bottom, 0px);
10304
- }
10305
-
10306
- /* A footer with its own colour: the colour runs under the home indicator. */
10307
- .muka-page__footer--surface-2 {
10308
- background-color: var(--color-surface-level2);
10309
- }
10310
-
10311
- .muka-page__footer--surface-3 {
10312
- background-color: var(--color-surface-level3);
10313
- }
10314
-
10315
- /* Without a footer, the content is last and clears the home indicator. */
10316
- .muka-page:not(:has(> .muka-page__footer)) > .muka-page__main {
10317
- padding-bottom: env(safe-area-inset-bottom, 0px);
10318
- }
10319
-
10320
-
10321
10232
  /* InputCounter */
10322
10233
  /* InputCounter — numeric field + joined decrement/increment buttons.
10323
10234
  Label, helper and error text reuse Input.css (../Input/Input.css).
@@ -15179,42 +15090,188 @@ button.muka-chat-photo-grid__tile:focus-visible {
15179
15090
  -webkit-tap-highlight-color: transparent;
15180
15091
  }
15181
15092
 
15182
- .muka-chat-attachment-chip__remove:hover:not(:disabled) {
15183
- color: var(--color-text-default-default);
15184
- background-color: var(--color-surface-level2);
15093
+ .muka-chat-attachment-chip__remove:hover:not(:disabled) {
15094
+ color: var(--color-text-default-default);
15095
+ background-color: var(--color-surface-level2);
15096
+ }
15097
+
15098
+ .muka-chat-attachment-chip__remove:focus-visible {
15099
+ outline: 2px solid var(--color-action-default);
15100
+ outline-offset: 2px;
15101
+ }
15102
+
15103
+ .muka-chat-attachment-chip__remove:disabled {
15104
+ cursor: not-allowed;
15105
+ opacity: 0.5;
15106
+ }
15107
+
15108
+ /* ─── Progress bar ─────────────────────────────────────── */
15109
+
15110
+ .muka-chat-attachment-chip__progress {
15111
+ position: absolute;
15112
+ left: 0;
15113
+ right: 0;
15114
+ bottom: 0;
15115
+ height: 2px;
15116
+ background-color: var(--color-surface-level2);
15117
+ overflow: hidden;
15118
+ }
15119
+
15120
+ .muka-chat-attachment-chip__progress-fill {
15121
+ display: block;
15122
+ height: 100%;
15123
+ background-color: var(--color-action-default);
15124
+ transition: width 0.16s ease;
15125
+ }
15126
+
15127
+ .muka-chat-attachment-chip--error .muka-chat-attachment-chip__progress-fill {
15128
+ background-color: var(--color-state-error-default, var(--color-text-default-default));
15129
+ }
15130
+
15131
+
15132
+ /* Card */
15133
+ /* Card Component Styles - Using Muka Design Tokens */
15134
+
15135
+ .muka-card {
15136
+ background-color: var(--card-color-default-background);
15137
+ color: var(--card-color-default-foreground);
15138
+ border: var(--border-width-regular) solid var(--card-color-default-border);
15139
+ box-shadow: var(--card-shadow-default);
15140
+ transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
15141
+ overflow: hidden;
15142
+ }
15143
+
15144
+ /* Padding variants */
15145
+ .muka-card--padding-none {
15146
+ padding: 0;
15147
+ }
15148
+
15149
+ .muka-card--padding-sm {
15150
+ padding: var(--card-padding-sm);
15151
+ }
15152
+
15153
+ .muka-card--padding-md {
15154
+ padding: var(--card-padding-md);
15155
+ }
15156
+
15157
+ .muka-card--padding-lg {
15158
+ padding: var(--card-padding-lg);
15159
+ }
15160
+
15161
+ /* Radius variants */
15162
+ .muka-card--radius-sm {
15163
+ border-radius: var(--card-radius-sm);
15164
+ }
15165
+
15166
+ .muka-card--radius-md {
15167
+ border-radius: var(--card-radius-md);
15168
+ }
15169
+
15170
+ .muka-card--radius-lg {
15171
+ border-radius: var(--card-radius-lg);
15172
+ }
15173
+
15174
+ /* Interactive variant */
15175
+ .muka-card--interactive {
15176
+ cursor: pointer;
15177
+ user-select: none;
15178
+ }
15179
+
15180
+ .muka-card--interactive:hover {
15181
+ background-color: var(--card-color-hover-background);
15182
+ border-color: var(--card-color-hover-border);
15183
+ box-shadow: var(--card-shadow-hover);
15184
+ }
15185
+
15186
+ .muka-card--interactive:active,
15187
+ .muka-card--interactive.muka-card--pressed {
15188
+ background-color: var(--card-color-pressed-background);
15189
+ border-color: var(--card-color-pressed-border);
15190
+ box-shadow: var(--card-shadow-pressed);
15191
+ }
15192
+
15193
+ .muka-card--interactive:focus-visible {
15194
+ outline: 2px solid var(--color-border-focus);
15195
+ outline-offset: 2px;
15196
+ }
15197
+
15198
+ /* Selected variant */
15199
+ .muka-card--selected {
15200
+ background-color: var(--card-color-selected-background);
15201
+ border-color: var(--card-color-selected-border);
15202
+ border-width: var(--border-width-bold);
15203
+ box-shadow: var(--card-shadow-selected);
15204
+ }
15205
+
15206
+ /* Tone: sticky note (MUK-105) */
15207
+ .muka-card--tone-note {
15208
+ background-color: var(--card-color-note-background);
15209
+ color: var(--card-color-note-foreground);
15210
+ border-color: var(--card-color-note-border);
15211
+ box-shadow: var(--card-shadow-note);
15212
+ }
15213
+
15214
+ .muka-card--tone-note.muka-card--interactive:hover,
15215
+ .muka-card--tone-note.muka-card--interactive:active,
15216
+ .muka-card--tone-note.muka-card--interactive.muka-card--pressed {
15217
+ background-color: var(--card-color-note-background);
15218
+ border-color: var(--card-color-note-border);
15219
+ }
15220
+
15221
+ .muka-card--tilt-left {
15222
+ transform: rotate(-0.75deg);
15223
+ }
15224
+
15225
+ .muka-card--tilt-right {
15226
+ transform: rotate(0.6deg);
15185
15227
  }
15186
15228
 
15187
- .muka-chat-attachment-chip__remove:focus-visible {
15188
- outline: 2px solid var(--color-action-default);
15189
- outline-offset: 2px;
15229
+ @media (prefers-reduced-motion: no-preference) {
15230
+ .muka-card--tilt-left,
15231
+ .muka-card--tilt-right {
15232
+ transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
15233
+ }
15190
15234
  }
15191
15235
 
15192
- .muka-chat-attachment-chip__remove:disabled {
15193
- cursor: not-allowed;
15194
- opacity: 0.5;
15236
+ .muka-card--interactive.muka-card--tilt-left:hover,
15237
+ .muka-card--interactive.muka-card--tilt-right:hover {
15238
+ transform: none;
15195
15239
  }
15196
15240
 
15197
- /* ─── Progress bar ─────────────────────────────────────── */
15241
+ /* Optional header (title + description) */
15242
+ .muka-card__header {
15243
+ margin-bottom: var(--spacing-4);
15244
+ }
15198
15245
 
15199
- .muka-chat-attachment-chip__progress {
15200
- position: absolute;
15201
- left: 0;
15202
- right: 0;
15203
- bottom: 0;
15204
- height: 2px;
15205
- background-color: var(--color-surface-level2);
15206
- overflow: hidden;
15246
+ .muka-card__title {
15247
+ margin: 0;
15248
+ color: var(--color-text-default-default);
15249
+ font-family: var(--text-heading-xs-fontFamily);
15250
+ font-weight: var(--text-heading-xs-fontWeight);
15251
+ font-size: var(--text-heading-xs-fontSize);
15252
+ line-height: var(--text-heading-xs-lineHeight);
15253
+ letter-spacing: var(--text-heading-xs-letterSpacing);
15207
15254
  }
15208
15255
 
15209
- .muka-chat-attachment-chip__progress-fill {
15210
- display: block;
15211
- height: 100%;
15212
- background-color: var(--color-action-default);
15213
- transition: width 0.16s ease;
15256
+ .muka-card__description {
15257
+ margin: var(--spacing-1) 0 0;
15258
+ color: var(--color-text-subtle-default);
15259
+ font-family: var(--text-body-sm-regular-fontFamily);
15260
+ font-weight: var(--text-body-sm-regular-fontWeight);
15261
+ font-size: var(--text-body-sm-regular-fontSize);
15262
+ line-height: var(--text-body-sm-regular-lineHeight);
15214
15263
  }
15215
15264
 
15216
- .muka-chat-attachment-chip--error .muka-chat-attachment-chip__progress-fill {
15217
- background-color: var(--color-state-error-default, var(--color-text-default-default));
15265
+ /* Hide divider on last list item inside card */
15266
+ .muka-card > .muka-listitem:last-child > .muka-listitem__divider {
15267
+ display: none;
15268
+ }
15269
+
15270
+ /* Disabled state */
15271
+ .muka-card--disabled {
15272
+ opacity: 0.5;
15273
+ cursor: not-allowed;
15274
+ pointer-events: none;
15218
15275
  }
15219
15276
 
15220
15277
 
@@ -15847,6 +15904,7 @@ button.muka-chat-photo-grid__tile:focus-visible {
15847
15904
  }
15848
15905
 
15849
15906
  .muka-bottombar__tab-icon {
15907
+ position: relative;
15850
15908
  display: flex;
15851
15909
  align-items: center;
15852
15910
  justify-content: center;
@@ -15859,6 +15917,15 @@ button.muka-chat-photo-grid__tile:focus-visible {
15859
15917
  height: 100%;
15860
15918
  }
15861
15919
 
15920
+ /* A count on the icon's top-right corner (unread messages). */
15921
+ .muka-bottombar__tab-badge {
15922
+ position: absolute;
15923
+ top: calc(-1 * var(--spacing-1));
15924
+ left: 60%;
15925
+ display: flex;
15926
+ pointer-events: none;
15927
+ }
15928
+
15862
15929
  .muka-bottombar__tab-label {
15863
15930
  font-family: var(--text-label-sm-regular-fontFamily);
15864
15931
  font-weight: var(--text-label-sm-regular-fontWeight);
@@ -16145,6 +16212,14 @@ button.muka-chat-photo-grid__tile:focus-visible {
16145
16212
  color: var(--color-text-default-inverse);
16146
16213
  }
16147
16214
 
16215
+ /* Dot: something new, without a count */
16216
+ .muka-badge-number--dot {
16217
+ width: var(--spacing-2);
16218
+ height: var(--spacing-2);
16219
+ min-width: 0;
16220
+ padding: 0;
16221
+ }
16222
+
16148
16223
 
16149
16224
  /* Badge */
16150
16225
  /* Badge Component Styles - Using Muka Design Tokens */
@@ -17550,148 +17625,110 @@ button.muka-chat-photo-grid__tile:focus-visible {
17550
17625
  }
17551
17626
 
17552
17627
 
17553
- /* Card */
17554
- /* Card Component Styles - Using Muka Design Tokens */
17628
+ /* SwipeActions */
17629
+ /* SwipeActions Component Styles */
17555
17630
 
17556
- .muka-card {
17557
- background-color: var(--card-color-default-background);
17558
- color: var(--card-color-default-foreground);
17559
- border: var(--border-width-regular) solid var(--card-color-default-border);
17560
- box-shadow: var(--card-shadow-default);
17561
- transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
17631
+ .muka-swipe-actions {
17632
+ position: relative;
17562
17633
  overflow: hidden;
17634
+ touch-action: pan-y;
17635
+ -webkit-user-select: none;
17636
+ user-select: none;
17637
+ background-color: var(--color-surface-level3);
17563
17638
  }
17564
17639
 
17565
- /* Padding variants */
17566
- .muka-card--padding-none {
17567
- padding: 0;
17568
- }
17569
-
17570
- .muka-card--padding-sm {
17571
- padding: var(--card-padding-sm);
17572
- }
17573
-
17574
- .muka-card--padding-md {
17575
- padding: var(--card-padding-md);
17576
- }
17577
-
17578
- .muka-card--padding-lg {
17579
- padding: var(--card-padding-lg);
17640
+ .muka-swipe-actions--disabled {
17641
+ touch-action: auto;
17580
17642
  }
17581
17643
 
17582
- /* Radius variants */
17583
- .muka-card--radius-sm {
17584
- border-radius: var(--card-radius-sm);
17585
- }
17644
+ /* ─── Row that holds the actual content ────────────────── */
17586
17645
 
17587
- .muka-card--radius-md {
17588
- border-radius: var(--card-radius-md);
17646
+ .muka-swipe-actions__row {
17647
+ position: relative;
17648
+ z-index: 1;
17649
+ background-color: inherit;
17650
+ will-change: transform;
17589
17651
  }
17590
17652
 
17591
- .muka-card--radius-lg {
17592
- border-radius: var(--card-radius-lg);
17593
- }
17653
+ /* ─── Action panels — sit beneath the row ──────────────── */
17594
17654
 
17595
- /* Interactive variant */
17596
- .muka-card--interactive {
17597
- cursor: pointer;
17598
- user-select: none;
17655
+ .muka-swipe-actions__panel {
17656
+ position: absolute;
17657
+ top: 0;
17658
+ bottom: 0;
17659
+ display: flex;
17660
+ align-items: stretch;
17661
+ z-index: 0;
17599
17662
  }
17600
17663
 
17601
- .muka-card--interactive:hover {
17602
- background-color: var(--card-color-hover-background);
17603
- border-color: var(--card-color-hover-border);
17604
- box-shadow: var(--card-shadow-hover);
17664
+ .muka-swipe-actions__panel--left {
17665
+ left: 0;
17605
17666
  }
17606
17667
 
17607
- .muka-card--interactive:active,
17608
- .muka-card--interactive.muka-card--pressed {
17609
- background-color: var(--card-color-pressed-background);
17610
- border-color: var(--card-color-pressed-border);
17611
- box-shadow: var(--card-shadow-pressed);
17668
+ .muka-swipe-actions__panel--right {
17669
+ right: 0;
17612
17670
  }
17613
17671
 
17614
- .muka-card--interactive:focus-visible {
17615
- outline: 2px solid var(--color-border-focus);
17616
- outline-offset: 2px;
17617
- }
17672
+ /* ─── Single action button ─────────────────────────────── */
17618
17673
 
17619
- /* Selected variant */
17620
- .muka-card--selected {
17621
- background-color: var(--card-color-selected-background);
17622
- border-color: var(--card-color-selected-border);
17623
- border-width: var(--border-width-bold);
17624
- box-shadow: var(--card-shadow-selected);
17674
+ .muka-swipe-actions__button {
17675
+ display: flex;
17676
+ flex-direction: column;
17677
+ align-items: center;
17678
+ justify-content: center;
17679
+ gap: var(--spacing-1);
17680
+ border: none;
17681
+ cursor: pointer;
17682
+ padding: var(--spacing-2);
17683
+ background-color: var(--color-surface-level2);
17684
+ color: var(--color-text-default-default);
17685
+ font-family: var(--text-label-sm-semibold-fontFamily);
17686
+ font-weight: var(--text-label-sm-semibold-fontWeight);
17687
+ font-size: var(--text-label-sm-semibold-fontSize);
17688
+ line-height: var(--text-label-sm-semibold-lineHeight);
17689
+ -webkit-tap-highlight-color: transparent;
17690
+ transition: filter 0.12s ease;
17625
17691
  }
17626
17692
 
17627
- /* Tone: sticky note (MUK-105) */
17628
- .muka-card--tone-note {
17629
- background-color: var(--card-color-note-background);
17630
- color: var(--card-color-note-foreground);
17631
- border-color: var(--card-color-note-border);
17632
- box-shadow: var(--card-shadow-note);
17693
+ .muka-swipe-actions__button:hover {
17694
+ filter: brightness(0.95);
17633
17695
  }
17634
17696
 
17635
- .muka-card--tone-note.muka-card--interactive:hover,
17636
- .muka-card--tone-note.muka-card--interactive:active,
17637
- .muka-card--tone-note.muka-card--interactive.muka-card--pressed {
17638
- background-color: var(--card-color-note-background);
17639
- border-color: var(--card-color-note-border);
17697
+ .muka-swipe-actions__button:focus-visible {
17698
+ outline: 2px solid var(--color-action-default);
17699
+ outline-offset: -2px;
17640
17700
  }
17641
17701
 
17642
- .muka-card--tilt-left {
17643
- transform: rotate(-0.75deg);
17702
+ .muka-swipe-actions__button-icon {
17703
+ display: inline-flex;
17704
+ align-items: center;
17705
+ justify-content: center;
17644
17706
  }
17645
17707
 
17646
- .muka-card--tilt-right {
17647
- transform: rotate(0.6deg);
17648
- }
17708
+ /* ─── Color variants ───────────────────────────────────── */
17649
17709
 
17650
- @media (prefers-reduced-motion: no-preference) {
17651
- .muka-card--tilt-left,
17652
- .muka-card--tilt-right {
17653
- transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
17654
- }
17710
+ .muka-swipe-actions__button--neutral {
17711
+ background-color: var(--color-surface-level2);
17712
+ color: var(--color-text-default-default);
17655
17713
  }
17656
17714
 
17657
- .muka-card--interactive.muka-card--tilt-left:hover,
17658
- .muka-card--interactive.muka-card--tilt-right:hover {
17659
- transform: none;
17715
+ .muka-swipe-actions__button--primary {
17716
+ background-color: var(--color-action-default);
17717
+ color: var(--color-text-default-inverse);
17660
17718
  }
17661
17719
 
17662
- /* Optional header (title + description) */
17663
- .muka-card__header {
17664
- margin-bottom: var(--spacing-4);
17720
+ .muka-swipe-actions__button--success {
17721
+ background-color: var(--color-state-success-default);
17722
+ color: var(--color-text-default-inverse);
17665
17723
  }
17666
17724
 
17667
- .muka-card__title {
17668
- margin: 0;
17725
+ .muka-swipe-actions__button--warning {
17726
+ background-color: var(--color-state-warning-default);
17669
17727
  color: var(--color-text-default-default);
17670
- font-family: var(--text-heading-xs-fontFamily);
17671
- font-weight: var(--text-heading-xs-fontWeight);
17672
- font-size: var(--text-heading-xs-fontSize);
17673
- line-height: var(--text-heading-xs-lineHeight);
17674
- letter-spacing: var(--text-heading-xs-letterSpacing);
17675
- }
17676
-
17677
- .muka-card__description {
17678
- margin: var(--spacing-1) 0 0;
17679
- color: var(--color-text-subtle-default);
17680
- font-family: var(--text-body-sm-regular-fontFamily);
17681
- font-weight: var(--text-body-sm-regular-fontWeight);
17682
- font-size: var(--text-body-sm-regular-fontSize);
17683
- line-height: var(--text-body-sm-regular-lineHeight);
17684
- }
17685
-
17686
- /* Hide divider on last list item inside card */
17687
- .muka-card > .muka-listitem:last-child > .muka-listitem__divider {
17688
- display: none;
17689
17728
  }
17690
17729
 
17691
- /* Disabled state */
17692
- .muka-card--disabled {
17693
- opacity: 0.5;
17694
- cursor: not-allowed;
17695
- pointer-events: none;
17730
+ .muka-swipe-actions__button--destructive {
17731
+ background-color: var(--color-state-error-default);
17732
+ color: var(--color-text-default-inverse);
17696
17733
  }
17697
17734