@revikornmann/muka-ui 0.52.0 → 0.53.1

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 (41) hide show
  1. package/dist/cjs/components/ListItem/ListItem.css +6 -5
  2. package/dist/cjs/components/Menu/Menu.css +18 -0
  3. package/dist/cjs/components/Menu/Menu.js +3 -2
  4. package/dist/cjs/components/Menu/Menu.js.map +1 -1
  5. package/dist/cjs/components/TopBar/TopBar.css +68 -0
  6. package/dist/cjs/components/TopBar/TopBar.js +11 -2
  7. package/dist/cjs/components/TopBar/TopBar.js.map +1 -1
  8. package/dist/cjs/components/TopBar/index.js.map +1 -1
  9. package/dist/cjs/components/View/View.js +2 -2
  10. package/dist/cjs/components/View/View.js.map +1 -1
  11. package/dist/cjs/components/index.js.map +1 -1
  12. package/dist/esm/components/ListItem/ListItem.css +6 -5
  13. package/dist/esm/components/Menu/Menu.css +18 -0
  14. package/dist/esm/components/Menu/Menu.js +3 -2
  15. package/dist/esm/components/Menu/Menu.js.map +1 -1
  16. package/dist/esm/components/TopBar/TopBar.css +68 -0
  17. package/dist/esm/components/TopBar/TopBar.js +11 -2
  18. package/dist/esm/components/TopBar/TopBar.js.map +1 -1
  19. package/dist/esm/components/TopBar/index.js.map +1 -1
  20. package/dist/esm/components/View/View.js +2 -2
  21. package/dist/esm/components/View/View.js.map +1 -1
  22. package/dist/esm/components/index.js.map +1 -1
  23. package/dist/styles/components/ListItem.css +6 -5
  24. package/dist/styles/components/Menu.css +18 -0
  25. package/dist/styles/components/TopBar.css +68 -0
  26. package/dist/styles/index.css +1052 -965
  27. package/dist/styles/muka-dark.css +1052 -965
  28. package/dist/styles/muka-light.css +1052 -965
  29. package/dist/styles/wireframe-dark.css +1052 -965
  30. package/dist/styles/wireframe-light.css +1052 -965
  31. package/dist/types/components/Menu/Menu.d.ts +5 -0
  32. package/dist/types/components/Menu/Menu.d.ts.map +1 -1
  33. package/dist/types/components/TopBar/TopBar.d.ts +36 -0
  34. package/dist/types/components/TopBar/TopBar.d.ts.map +1 -1
  35. package/dist/types/components/TopBar/index.d.ts +1 -1
  36. package/dist/types/components/TopBar/index.d.ts.map +1 -1
  37. package/dist/types/components/View/View.d.ts +11 -0
  38. package/dist/types/components/View/View.d.ts.map +1 -1
  39. package/dist/types/components/index.d.ts +1 -1
  40. package/dist/types/components/index.d.ts.map +1 -1
  41. package/package.json +1 -1
@@ -2912,6 +2912,7 @@ body {
2912
2912
  of overlapping it. */
2913
2913
  --tb-container-display: grid;
2914
2914
  --tb-title-align: center;
2915
+ --tb-title-justify: center;
2915
2916
  --tb-title-font-family: var(--text-heading-xs-fontFamily);
2916
2917
  --tb-title-font-weight: var(--text-heading-xs-fontWeight);
2917
2918
  --tb-title-font-size: var(--text-heading-xs-fontSize);
@@ -2952,6 +2953,7 @@ body {
2952
2953
  --tb-pad-y: var(--spacing-4);
2953
2954
  --tb-container-display: flex;
2954
2955
  --tb-title-align: left;
2956
+ --tb-title-justify: start;
2955
2957
  --tb-title-font-family: var(--text-heading-md-fontFamily);
2956
2958
  --tb-title-font-weight: var(--text-heading-md-fontWeight);
2957
2959
  --tb-title-font-size: var(--text-heading-md-fontSize);
@@ -2967,6 +2969,7 @@ body {
2967
2969
  --tb-pad-y: var(--spacing-4);
2968
2970
  --tb-container-display: flex;
2969
2971
  --tb-title-align: left;
2972
+ --tb-title-justify: start;
2970
2973
  --tb-title-font-family: var(--text-heading-md-fontFamily);
2971
2974
  --tb-title-font-weight: var(--text-heading-md-fontWeight);
2972
2975
  --tb-title-font-size: var(--text-heading-md-fontSize);
@@ -3089,6 +3092,71 @@ body {
3089
3092
  margin: 0;
3090
3093
  }
3091
3094
 
3095
+ /* ─── Title with a subtitle ─────────────────────────────
3096
+ The block takes the title's grid cell and stacks the title over a subdued
3097
+ line (subtitle), aligned like the title: centred, start in the large tier. */
3098
+
3099
+ .muka-topbar__title-block {
3100
+ grid-column: 2;
3101
+ display: flex;
3102
+ flex-direction: column;
3103
+ align-items: var(--tb-title-justify);
3104
+ min-width: 0;
3105
+ }
3106
+
3107
+ .muka-topbar__title-block > .muka-topbar__title {
3108
+ max-width: 100%;
3109
+ }
3110
+
3111
+ .muka-topbar__subtitle {
3112
+ max-width: 100%;
3113
+ overflow: hidden;
3114
+ text-overflow: ellipsis;
3115
+ white-space: nowrap;
3116
+ text-align: var(--tb-title-align);
3117
+ font-family: var(--text-body-sm-regular-fontFamily);
3118
+ font-weight: var(--text-body-sm-regular-fontWeight);
3119
+ font-size: var(--text-body-sm-regular-fontSize);
3120
+ line-height: var(--text-body-sm-regular-lineHeight);
3121
+ color: var(--color-text-subtle-default);
3122
+ }
3123
+
3124
+ /* ─── Title as a button (titleTrailing) ──────────────────
3125
+ Same type as the text title, with a trailing glyph; sized to its content so
3126
+ only the title is the hit area, centred (start in the large tier). */
3127
+
3128
+ .muka-topbar__title--button {
3129
+ display: inline-flex;
3130
+ align-items: center;
3131
+ gap: var(--spacing-1);
3132
+ justify-self: var(--tb-title-justify);
3133
+ align-self: var(--tb-title-justify);
3134
+ max-width: 100%;
3135
+ padding: 0;
3136
+ border: 0;
3137
+ background: none;
3138
+ cursor: pointer;
3139
+ border-radius: var(--radius-sm);
3140
+ }
3141
+
3142
+ .muka-topbar__title-text {
3143
+ min-width: 0;
3144
+ overflow: hidden;
3145
+ text-overflow: ellipsis;
3146
+ white-space: nowrap;
3147
+ }
3148
+
3149
+ .muka-topbar__title-glyph {
3150
+ display: inline-flex;
3151
+ flex-shrink: 0;
3152
+ color: var(--color-text-subtle-default);
3153
+ }
3154
+
3155
+ .muka-topbar__title--button:focus-visible {
3156
+ outline: 2px solid var(--color-border-focus);
3157
+ outline-offset: 2px;
3158
+ }
3159
+
3092
3160
  /* ─── Trailing slot ───────────────────────────────────── */
3093
3161
 
3094
3162
  .muka-topbar__trailing {
@@ -3609,985 +3677,985 @@ body {
3609
3677
  }
3610
3678
 
3611
3679
 
3612
- /* Tile */
3613
- /* Tile Component Styles - Using Muka Design Tokens */
3614
-
3615
- /* ─── Base ────────────────────────────────────────────── */
3616
-
3617
- .muka-tile {
3618
- display: flex;
3619
- color: var(--color-text-default-default);
3620
- }
3680
+ /* Thumbnail */
3681
+ /* Thumbnail Component Styles - Using Muka Design Tokens */
3621
3682
 
3622
- .muka-tile--interactive {
3623
- cursor: pointer;
3624
- user-select: none;
3683
+ .muka-thumbnail {
3684
+ position: relative;
3685
+ flex-shrink: 0;
3625
3686
  }
3626
3687
 
3627
- .muka-tile--interactive:focus-visible {
3628
- outline: 2px solid var(--color-border-focus);
3629
- outline-offset: 2px;
3688
+ /* The frame carries the border, background and shape clip. Keeping it separate
3689
+ from the root lets the remove (×) button sit outside the clip (needed for the
3690
+ circular/ellipse shape, whose corners would otherwise clip the button). */
3691
+ .muka-thumbnail__frame {
3692
+ position: absolute;
3693
+ inset: 0;
3694
+ overflow: hidden;
3695
+ border: var(--border-width-regular, 1px) solid var(--color-black-alpha-3);
3630
3696
  border-radius: var(--border-radius-lg);
3697
+ background-color: var(--color-surface-level1);
3631
3698
  }
3632
3699
 
3633
- /* ─── Image position variants ─────────────────────────── */
3700
+ /* ─── Shapes ──────────────────────────────────────────── */
3701
+ .muka-thumbnail--4-3 {
3702
+ width: 160px;
3703
+ height: 120px;
3704
+ }
3634
3705
 
3635
- .muka-tile--image-top {
3636
- flex-direction: column;
3706
+ .muka-thumbnail--1-1 {
3707
+ width: 120px;
3708
+ height: 120px;
3637
3709
  }
3638
3710
 
3639
- .muka-tile--image-left {
3640
- flex-direction: row;
3711
+ .muka-thumbnail--ellipse {
3712
+ width: 120px;
3713
+ height: 120px;
3641
3714
  }
3642
3715
 
3643
- .muka-tile--image-right {
3644
- flex-direction: row;
3716
+ /* Fluid: fill the parent's width; the shape sets the height via aspect-ratio. */
3717
+ .muka-thumbnail--fluid {
3718
+ width: 100%;
3719
+ height: auto;
3720
+ aspect-ratio: 1 / 1;
3645
3721
  }
3646
3722
 
3647
- /* ─── Gap by size (top) ───────────────────────────────── */
3723
+ .muka-thumbnail--fluid.muka-thumbnail--4-3 {
3724
+ aspect-ratio: 4 / 3;
3725
+ }
3648
3726
 
3649
- .muka-tile--image-top.muka-tile--lg {
3650
- gap: var(--spacing-6);
3727
+ .muka-thumbnail--ellipse .muka-thumbnail__frame {
3728
+ border-radius: var(--border-radius-full);
3651
3729
  }
3652
3730
 
3653
- .muka-tile--image-top.muka-tile--md {
3654
- gap: var(--spacing-6);
3655
- width: 320px;
3731
+ /* Image fills the frame, cropped to cover. Sits at scale(1) by default so the
3732
+ interactive hover zoom has a clean origin. */
3733
+ .muka-thumbnail__image {
3734
+ position: absolute;
3735
+ inset: 0;
3736
+ width: 100%;
3737
+ height: 100%;
3738
+ object-fit: cover;
3739
+ display: block;
3740
+ transform-origin: center;
3741
+ /* Micro-interaction: hover zoom eases out over the "micro" duration. */
3742
+ transition: transform var(--motion-duration-micro) var(--motion-easing-enter);
3656
3743
  }
3657
3744
 
3658
- .muka-tile--image-top.muka-tile--sm {
3659
- gap: var(--spacing-4);
3660
- min-width: 120px;
3745
+ /* ─── Interactive (click-to-enlarge) ──────────────────── */
3746
+ .muka-thumbnail__trigger {
3747
+ position: absolute;
3748
+ inset: 0;
3749
+ padding: 0;
3750
+ border: 0;
3751
+ background: none;
3752
+ cursor: pointer;
3753
+ overflow: hidden;
3661
3754
  }
3662
3755
 
3663
- /* ─── Gap by size (left/right) ────────────────────────── */
3756
+ .muka-thumbnail__trigger:focus-visible {
3757
+ outline: 2px solid var(--color-border-focus);
3758
+ outline-offset: -2px;
3759
+ }
3664
3760
 
3665
- .muka-tile--image-left.muka-tile--lg,
3666
- .muka-tile--image-right.muka-tile--lg {
3667
- gap: var(--spacing-6);
3668
- align-items: center;
3761
+ /* On hover the image scales up ~8px (160px → 168px) with an ease-out feel. */
3762
+ .muka-thumbnail--interactive:hover .muka-thumbnail__image {
3763
+ transform: scale(1.05);
3669
3764
  }
3670
3765
 
3671
- .muka-tile--image-left.muka-tile--md,
3672
- .muka-tile--image-right.muka-tile--md {
3673
- gap: var(--spacing-6);
3766
+ /* ─── Loading overlay + progress donut ────────────────── */
3767
+ .muka-thumbnail__overlay {
3768
+ position: absolute;
3769
+ inset: 0;
3770
+ display: flex;
3674
3771
  align-items: center;
3772
+ justify-content: center;
3773
+ background-color: var(--dialog-color-backdrop);
3675
3774
  }
3676
3775
 
3677
- .muka-tile--image-left.muka-tile--sm,
3678
- .muka-tile--image-right.muka-tile--sm {
3679
- gap: var(--spacing-4);
3680
- align-items: flex-start;
3776
+ .muka-thumbnail__progress {
3777
+ width: 40px;
3778
+ height: 40px;
3681
3779
  }
3682
3780
 
3683
- /* ─── Photos container ────────────────────────────────── */
3781
+ /* ─── Error / corrupt state ───────────────────────────── */
3782
+ .muka-thumbnail--error .muka-thumbnail__frame {
3783
+ background-color: var(--alias-color-state-error-muted);
3784
+ border-color: var(--alias-color-state-error-default);
3785
+ }
3684
3786
 
3685
- .muka-tile__photos {
3686
- position: relative;
3687
- flex-shrink: 0;
3688
- overflow: hidden;
3787
+ .muka-thumbnail__error {
3788
+ position: absolute;
3789
+ inset: 0;
3689
3790
  display: flex;
3690
3791
  flex-direction: column;
3691
- isolation: isolate;
3792
+ align-items: center;
3793
+ justify-content: center;
3794
+ gap: var(--spacing-2);
3795
+ padding: var(--spacing-3);
3796
+ text-align: center;
3692
3797
  }
3693
3798
 
3694
- /* Photos border radius by size */
3695
- .muka-tile--lg .muka-tile__photos,
3696
- .muka-tile--md .muka-tile__photos {
3697
- border-radius: var(--border-radius-lg);
3799
+ .muka-thumbnail__error-icon {
3800
+ color: var(--alert-color-error-accent);
3698
3801
  }
3699
3802
 
3700
- .muka-tile--sm .muka-tile__photos {
3701
- border-radius: var(--border-radius-md);
3803
+ .muka-thumbnail__caption {
3804
+ max-width: 100%;
3805
+ overflow: hidden;
3806
+ text-overflow: ellipsis;
3807
+ white-space: nowrap;
3808
+ color: var(--alert-color-error-accent);
3809
+ font-family: var(--text-body-sm-regular-fontFamily);
3810
+ font-size: var(--text-body-sm-regular-fontSize);
3811
+ font-weight: var(--text-body-sm-regular-fontWeight);
3812
+ line-height: var(--text-body-sm-regular-lineHeight);
3702
3813
  }
3703
3814
 
3704
- /* Photos sizing: top layout */
3705
- .muka-tile--image-top .muka-tile__photos {
3706
- width: 100%;
3815
+ /* ─── Remove (×) button ───────────────────────────────── */
3816
+ .muka-thumbnail__remove {
3817
+ position: absolute;
3818
+ top: var(--spacing-2);
3819
+ right: var(--spacing-2);
3820
+ display: flex;
3821
+ align-items: center;
3822
+ justify-content: center;
3823
+ width: var(--size-2xl);
3824
+ height: var(--size-2xl);
3825
+ padding: 0;
3826
+ color: var(--button-color-tertiary-foreground-default);
3827
+ background-color: var(--button-color-tertiary-background-default);
3828
+ border: var(--border-width-regular, 1px) solid var(--button-color-tertiary-border-default);
3829
+ border-radius: var(--border-radius-lg);
3830
+ cursor: pointer;
3831
+ transition: background-color var(--motion-duration-micro) var(--motion-easing-enter),
3832
+ border-color var(--motion-duration-micro) var(--motion-easing-enter);
3707
3833
  }
3708
3834
 
3709
- /* Photos sizing: left/right large */
3710
- .muka-tile--image-left.muka-tile--lg .muka-tile__photos,
3711
- .muka-tile--image-right.muka-tile--lg .muka-tile__photos {
3712
- width: 520px;
3835
+ .muka-thumbnail__remove:hover {
3836
+ color: var(--button-color-tertiary-foreground-hover);
3837
+ background-color: var(--button-color-tertiary-background-hover);
3838
+ border-color: var(--button-color-tertiary-border-hover);
3713
3839
  }
3714
3840
 
3715
- /* Photos sizing: left/right medium */
3716
- .muka-tile--image-left.muka-tile--md .muka-tile__photos,
3717
- .muka-tile--image-right.muka-tile--md .muka-tile__photos {
3718
- width: 320px;
3841
+ .muka-thumbnail__remove:active {
3842
+ color: var(--button-color-tertiary-foreground-pressed);
3843
+ background-color: var(--button-color-tertiary-background-pressed);
3844
+ border-color: var(--button-color-tertiary-border-pressed);
3719
3845
  }
3720
3846
 
3721
- /* Photos sizing: left/right small (single 80x80 thumbnail) */
3722
- .muka-tile--image-left.muka-tile--sm .muka-tile__photos,
3723
- .muka-tile--image-right.muka-tile--sm .muka-tile__photos {
3724
- width: 80px;
3725
- align-self: stretch;
3847
+ .muka-thumbnail__remove:focus-visible {
3848
+ outline: 2px solid var(--color-border-focus);
3849
+ outline-offset: 2px;
3726
3850
  }
3727
3851
 
3728
- /* ─── Main photo ──────────────────────────────────────── */
3852
+ /* ─── Reduced motion ──────────────────────────────────── */
3853
+ @media (prefers-reduced-motion: reduce) {
3854
+ .muka-thumbnail__image,
3855
+ .muka-thumbnail__remove {
3856
+ transition: none;
3857
+ }
3729
3858
 
3730
- .muka-tile__photo-main {
3731
- position: relative;
3732
- width: 100%;
3733
- overflow: hidden;
3734
- flex-shrink: 0;
3859
+ .muka-thumbnail--interactive:hover .muka-thumbnail__image {
3860
+ transform: none;
3861
+ }
3735
3862
  }
3736
3863
 
3737
- /* 16:9 aspect for lg and md */
3738
- .muka-tile--lg .muka-tile__photo-main,
3739
- .muka-tile--md .muka-tile__photo-main {
3740
- aspect-ratio: 1280 / 720;
3741
- }
3742
3864
 
3743
- /* 1:1 aspect for top + sm */
3744
- .muka-tile--image-top.muka-tile--sm .muka-tile__photo-main {
3745
- aspect-ratio: 1 / 1;
3746
- }
3865
+ /* Textarea */
3866
+ /* Textarea Component Styles - Using Muka Design Tokens */
3747
3867
 
3748
- /* Fixed size for left/right + sm */
3749
- .muka-tile--image-left.muka-tile--sm .muka-tile__photo-main,
3750
- .muka-tile--image-right.muka-tile--sm .muka-tile__photo-main {
3751
- width: 80px;
3752
- height: 80px;
3753
- aspect-ratio: auto;
3868
+ .muka-textarea {
3869
+ display: inline-flex;
3870
+ flex-direction: column;
3871
+ gap: var(--spacing-2);
3754
3872
  }
3755
3873
 
3756
- .muka-tile__photo-main img {
3757
- width: 100%;
3758
- height: 100%;
3759
- object-fit: cover;
3760
- display: block;
3874
+ /* Label */
3875
+ .muka-textarea__label {
3876
+ color: var(--color-text-default-default);
3877
+ cursor: pointer;
3761
3878
  }
3762
3879
 
3763
- /* ─── Favourite overlay ───────────────────────────────── */
3764
-
3765
- .muka-tile__favourite {
3766
- position: absolute;
3767
- z-index: 3;
3880
+ .muka-textarea__label--sm {
3881
+ font-family: var(--text-label-sm-semibold-fontFamily);
3882
+ font-weight: var(--text-label-sm-semibold-fontWeight);
3883
+ font-size: var(--text-label-sm-semibold-fontSize);
3884
+ line-height: var(--text-label-sm-semibold-lineHeight);
3768
3885
  }
3769
3886
 
3770
- .muka-tile--lg .muka-tile__favourite,
3771
- .muka-tile--md .muka-tile__favourite {
3772
- top: var(--spacing-4);
3773
- right: var(--spacing-4);
3887
+ .muka-textarea__label--md {
3888
+ font-family: var(--text-label-md-semibold-fontFamily);
3889
+ font-weight: var(--text-label-md-semibold-fontWeight);
3890
+ font-size: var(--text-label-md-semibold-fontSize);
3891
+ line-height: var(--text-label-md-semibold-lineHeight);
3774
3892
  }
3775
3893
 
3776
- .muka-tile--image-top.muka-tile--sm .muka-tile__favourite {
3777
- top: var(--spacing-1);
3778
- right: var(--spacing-1);
3894
+ .muka-textarea__label--lg {
3895
+ font-family: var(--text-label-lg-semibold-fontFamily);
3896
+ font-weight: var(--text-label-lg-semibold-fontWeight);
3897
+ font-size: var(--text-label-lg-semibold-fontSize);
3898
+ line-height: var(--text-label-lg-semibold-lineHeight);
3779
3899
  }
3780
3900
 
3781
- /* ─── Thumbnails ──────────────────────────────────────── */
3901
+ .muka-textarea__required {
3902
+ color: var(--color-state-error-default);
3903
+ }
3782
3904
 
3783
- .muka-tile__thumbnails {
3905
+ /* Field container */
3906
+ .muka-textarea__field {
3784
3907
  display: flex;
3785
- gap: 2px;
3786
- overflow: hidden;
3787
- flex-shrink: 0;
3788
- height: 80px;
3908
+ background-color: var(--input-field-color-default-background);
3909
+ border: var(--border-width-regular) solid var(--input-field-color-default-border);
3910
+ border-radius: var(--input-field-radius-md);
3911
+ padding: var(--input-field-padding-y) var(--input-field-padding-x);
3912
+ transition: border-color 0.2s ease, background-color 0.2s ease;
3913
+ box-sizing: border-box;
3789
3914
  }
3790
3915
 
3791
- .muka-tile__thumbnail {
3792
- width: 80px;
3793
- height: 80px;
3794
- flex-shrink: 0;
3795
- overflow: hidden;
3916
+ .muka-textarea__field--sm {
3917
+ min-height: var(--input-textarea-height-sm);
3918
+ border-radius: var(--input-field-radius-sm);
3796
3919
  }
3797
3920
 
3798
- .muka-tile__thumbnail img {
3799
- width: 100%;
3800
- height: 100%;
3801
- object-fit: cover;
3802
- display: block;
3921
+ .muka-textarea__field--md {
3922
+ min-height: var(--input-textarea-height-default);
3923
+ border-radius: var(--input-field-radius-md);
3803
3924
  }
3804
3925
 
3805
- /* Gap between main photo and thumbnails */
3806
- .muka-tile__photos > .muka-tile__photo-main + .muka-tile__thumbnails {
3807
- margin-top: 2px;
3926
+ .muka-textarea__field--lg {
3927
+ min-height: var(--input-textarea-height-lg);
3928
+ border-radius: var(--input-field-radius-lg);
3808
3929
  }
3809
3930
 
3810
- /* ─── Content section ─────────────────────────────────── */
3811
-
3812
- .muka-tile__content {
3813
- display: flex;
3814
- flex-direction: column;
3815
- flex: 1;
3816
- min-width: 0;
3931
+ /* Focus state */
3932
+ .muka-textarea__field--focused:not(.muka-textarea__field--disabled) {
3933
+ border-width: var(--border-width-bold);
3934
+ border-color: var(--input-field-color-focus-border);
3935
+ background-color: var(--input-field-color-focus-background);
3936
+ padding: calc(var(--input-field-padding-y) - 1px) calc(var(--input-field-padding-x) - 1px);
3817
3937
  }
3818
3938
 
3819
- /* Top layout: content has horizontal padding */
3820
- .muka-tile--image-top.muka-tile--lg .muka-tile__content {
3821
- padding: 0 var(--spacing-3);
3822
- gap: var(--spacing-1);
3939
+ /* Error state */
3940
+ .muka-textarea__field--error:not(.muka-textarea__field--disabled) {
3941
+ border-width: var(--border-width-bold);
3942
+ border-color: var(--input-field-color-error-border);
3943
+ background-color: var(--input-field-color-error-background);
3944
+ padding: calc(var(--input-field-padding-y) - 1px) calc(var(--input-field-padding-x) - 1px);
3823
3945
  }
3824
3946
 
3825
- .muka-tile--image-top.muka-tile--md .muka-tile__content {
3826
- padding: 0 var(--spacing-3);
3827
- gap: var(--spacing-2);
3947
+ /* Disabled state */
3948
+ .muka-textarea__field--disabled {
3949
+ background-color: var(--input-field-color-disabled-background);
3950
+ border-color: var(--input-field-color-disabled-border);
3951
+ cursor: not-allowed;
3828
3952
  }
3829
3953
 
3830
- .muka-tile--image-top.muka-tile--sm .muka-tile__content {
3831
- gap: var(--spacing-2);
3954
+ /* Native textarea */
3955
+ .muka-textarea__native {
3956
+ flex: 1;
3957
+ border: none;
3958
+ outline: none;
3959
+ background: transparent;
3960
+ color: var(--input-field-color-default-foreground);
3961
+ font-family: var(--text-input-md-fontFamily);
3962
+ font-weight: var(--text-input-md-fontWeight);
3963
+ font-size: var(--text-input-md-fontSize);
3964
+ line-height: var(--text-input-md-lineHeight);
3965
+ padding: 0;
3966
+ width: 100%;
3967
+ min-width: 0;
3832
3968
  }
3833
3969
 
3834
- /* Left/right layout: content grows to fill space */
3835
- .muka-tile--image-left .muka-tile__content,
3836
- .muka-tile--image-right .muka-tile__content {
3837
- gap: var(--spacing-3);
3970
+ .muka-textarea__field--sm .muka-textarea__native {
3971
+ font-family: var(--text-input-sm-fontFamily);
3972
+ font-weight: var(--text-input-sm-fontWeight);
3973
+ font-size: var(--text-input-sm-fontSize);
3974
+ line-height: var(--text-input-sm-lineHeight);
3838
3975
  }
3839
3976
 
3840
- .muka-tile--image-left.muka-tile--lg .muka-tile__content,
3841
- .muka-tile--image-right.muka-tile--lg .muka-tile__content {
3842
- padding: 0 var(--spacing-3);
3977
+ .muka-textarea__field--lg .muka-textarea__native {
3978
+ font-family: var(--text-input-lg-fontFamily);
3979
+ font-weight: var(--text-input-lg-fontWeight);
3980
+ font-size: var(--text-input-lg-fontSize);
3981
+ line-height: var(--text-input-lg-lineHeight);
3843
3982
  }
3844
3983
 
3845
- .muka-tile--image-left.muka-tile--md .muka-tile__content,
3846
- .muka-tile--image-right.muka-tile--md .muka-tile__content {
3847
- padding: var(--spacing-2) var(--spacing-3);
3984
+ .muka-textarea__native::placeholder {
3985
+ color: var(--color-text-subtle-default);
3848
3986
  }
3849
3987
 
3850
- .muka-tile--image-left.muka-tile--sm .muka-tile__content,
3851
- .muka-tile--image-right.muka-tile--sm .muka-tile__content {
3852
- gap: var(--spacing-2);
3988
+ .muka-textarea__field--disabled .muka-textarea__native {
3989
+ color: var(--input-field-color-disabled-foreground);
3990
+ cursor: not-allowed;
3853
3991
  }
3854
3992
 
3855
- /* ─── Header (heading row + price) ────────────────────── */
3856
-
3857
- .muka-tile__header {
3993
+ /* Footer (helper/error + count) */
3994
+ .muka-textarea__footer {
3858
3995
  display: flex;
3996
+ justify-content: space-between;
3859
3997
  align-items: flex-start;
3860
- gap: var(--spacing-4);
3861
- }
3862
-
3863
- /* Small horizontal: row with text and action */
3864
- .muka-tile--sm:not(.muka-tile--image-top) .muka-tile__header {
3865
3998
  gap: var(--spacing-2);
3866
- align-items: center;
3867
- padding-top: var(--spacing-1);
3868
3999
  }
3869
4000
 
3870
- /* ─── Text group ──────────────────────────────────────── */
3871
-
3872
- .muka-tile__text {
3873
- display: flex;
3874
- flex-direction: column;
3875
- flex: 1;
3876
- min-width: 0;
3877
- gap: var(--spacing-2);
4001
+ .muka-textarea__helper {
4002
+ font-family: var(--text-label-sm-regular-fontFamily);
4003
+ font-weight: var(--text-label-sm-regular-fontWeight);
4004
+ font-size: var(--text-label-sm-regular-fontSize);
4005
+ line-height: var(--text-label-sm-regular-lineHeight);
4006
+ color: var(--color-text-subtle-default);
4007
+ margin: 0;
3878
4008
  }
3879
4009
 
3880
- /* ─── Heading typography ──────────────────────────────── */
3881
-
3882
- .muka-tile__heading {
4010
+ .muka-textarea__error {
4011
+ font-family: var(--text-label-sm-regular-fontFamily);
4012
+ font-weight: var(--text-label-sm-regular-fontWeight);
4013
+ font-size: var(--text-label-sm-regular-fontSize);
4014
+ line-height: var(--text-label-sm-regular-lineHeight);
4015
+ color: var(--color-state-error-default);
3883
4016
  margin: 0;
3884
4017
  }
3885
4018
 
3886
- .muka-tile--lg .muka-tile__heading {
3887
- font-family: var(--text-label-2xl-semibold-fontFamily);
3888
- font-weight: var(--text-label-2xl-semibold-fontWeight);
3889
- font-size: var(--text-label-2xl-semibold-fontSize);
3890
- line-height: var(--text-label-2xl-semibold-lineHeight);
3891
- color: var(--color-text-default-default);
4019
+ .muka-textarea__count {
4020
+ font-family: var(--text-label-sm-regular-fontFamily);
4021
+ font-weight: var(--text-label-sm-regular-fontWeight);
4022
+ font-size: var(--text-label-sm-regular-fontSize);
4023
+ line-height: var(--text-label-sm-regular-lineHeight);
4024
+ color: var(--color-text-subtle-default);
4025
+ margin-left: auto;
3892
4026
  }
3893
4027
 
3894
- .muka-tile--md .muka-tile__heading {
3895
- font-family: var(--text-label-xl-semibold-fontFamily);
3896
- font-weight: var(--text-label-xl-semibold-fontWeight);
3897
- font-size: var(--text-label-xl-semibold-fontSize);
3898
- line-height: var(--text-label-xl-semibold-lineHeight);
3899
- color: var(--color-text-default-default);
3900
- }
3901
4028
 
3902
- .muka-tile--sm .muka-tile__heading {
3903
- font-family: var(--text-label-lg-bold-fontFamily);
3904
- font-weight: var(--text-label-lg-bold-fontWeight);
3905
- font-size: var(--text-label-lg-bold-fontSize);
3906
- line-height: var(--text-label-lg-bold-lineHeight);
3907
- color: var(--color-text-default-default);
3908
- }
4029
+ /* TextLink */
4030
+ /* TextLink Component Styles - Using Muka Design Tokens */
3909
4031
 
3910
- /* ─── Subheading typography ───────────────────────────── */
4032
+ .muka-text-link {
4033
+ display: inline;
4034
+ cursor: pointer;
4035
+ text-decoration: underline;
4036
+ /* Nudge the rule clear of descenders; the Figma underline sits off baseline. */
4037
+ text-underline-offset: 0.2em;
4038
+ text-decoration-thickness: from-font;
4039
+ /* Rounds the focus ring's corners; the link itself has no visible box. */
4040
+ border-radius: var(--border-radius-sm);
4041
+ transition: color var(--motion-duration-micro, 0.15s) var(--motion-easing-enter, ease);
4042
+ }
3911
4043
 
3912
- .muka-tile__subheading {
3913
- margin: 0;
3914
- color: var(--color-text-subtle-default);
3915
- }
3916
-
3917
- .muka-tile--lg .muka-tile__subheading {
3918
- font-family: var(--text-subheading-md-fontFamily);
3919
- font-weight: var(--text-subheading-md-fontWeight);
3920
- font-size: var(--text-subheading-md-fontSize);
3921
- line-height: var(--text-subheading-md-lineHeight);
3922
- }
3923
-
3924
- .muka-tile--md .muka-tile__subheading,
3925
- .muka-tile--sm .muka-tile__subheading {
3926
- font-family: var(--text-subheading-sm-fontFamily);
3927
- font-weight: var(--text-subheading-sm-fontWeight);
3928
- font-size: var(--text-subheading-sm-fontSize);
3929
- line-height: var(--text-subheading-sm-lineHeight);
4044
+ /* ─── Sizes ───────────────────────────────────────────────
4045
+ Mirrors the body text scale so a link matches the copy it sits in. */
4046
+ .muka-text-link--sm {
4047
+ font-family: var(--text-body-sm-regular-fontFamily);
4048
+ font-weight: var(--text-body-sm-regular-fontWeight);
4049
+ font-size: var(--text-body-sm-regular-fontSize);
4050
+ line-height: var(--text-body-sm-regular-lineHeight);
3930
4051
  }
3931
4052
 
3932
- /* ─── Description typography ──────────────────────────── */
3933
-
3934
- .muka-tile__description {
3935
- margin: 0;
3936
- color: var(--color-text-default-default);
4053
+ .muka-text-link--base {
4054
+ font-family: var(--text-body-base-regular-fontFamily);
4055
+ font-weight: var(--text-body-base-regular-fontWeight);
4056
+ font-size: var(--text-body-base-regular-fontSize);
4057
+ line-height: var(--text-body-base-regular-lineHeight);
3937
4058
  }
3938
4059
 
3939
- .muka-tile--lg .muka-tile__description {
4060
+ .muka-text-link--lg {
3940
4061
  font-family: var(--text-body-lg-regular-fontFamily);
3941
4062
  font-weight: var(--text-body-lg-regular-fontWeight);
3942
4063
  font-size: var(--text-body-lg-regular-fontSize);
3943
4064
  line-height: var(--text-body-lg-regular-lineHeight);
3944
4065
  }
3945
4066
 
3946
- .muka-tile--md .muka-tile__description,
3947
- .muka-tile--sm .muka-tile__description {
3948
- font-family: var(--text-body-base-regular-fontFamily);
3949
- font-weight: var(--text-body-base-regular-fontWeight);
3950
- font-size: var(--text-body-base-regular-fontSize);
3951
- line-height: var(--text-body-base-regular-lineHeight);
4067
+ /* ─── Variant: default (accent) ───────────────────────────
4068
+ Visited repeats the default colour on purpose: the design treats visited and
4069
+ default the same, and pinning it stops the browser's purple from showing. */
4070
+ .muka-text-link--default,
4071
+ .muka-text-link--default:visited {
4072
+ color: var(--color-text-action-default);
3952
4073
  }
3953
4074
 
3954
- /* Description overflow for medium */
3955
- .muka-tile--md .muka-tile__description {
3956
- overflow: hidden;
3957
- text-overflow: ellipsis;
4075
+ .muka-text-link--default:hover,
4076
+ .muka-text-link--default:focus-visible {
4077
+ color: var(--color-text-action-hover);
3958
4078
  }
3959
4079
 
3960
- /* ─── Price slot ──────────────────────────────────────── */
4080
+ .muka-text-link--default:active {
4081
+ color: var(--color-text-action-pressed);
4082
+ }
3961
4083
 
3962
- .muka-tile__price {
3963
- flex-shrink: 0;
4084
+ /* ─── Variant: subtle (neutral) ───────────────────────────
4085
+ Hover, focus and pressed all darken to the default text colour. */
4086
+ .muka-text-link--subtle,
4087
+ .muka-text-link--subtle:visited {
4088
+ color: var(--color-text-subtle-default);
3964
4089
  }
3965
4090
 
3966
- /* ─── Action slot ─────────────────────────────────────── */
4091
+ .muka-text-link--subtle:hover,
4092
+ .muka-text-link--subtle:focus-visible,
4093
+ .muka-text-link--subtle:active {
4094
+ color: var(--color-text-default-default);
4095
+ }
3967
4096
 
3968
- .muka-tile__action {
3969
- flex-shrink: 0;
4097
+ /* ─── Focus ───────────────────────────────────────────────
4098
+ Same ring as every other focusable Muka component. */
4099
+ .muka-text-link:focus-visible {
4100
+ outline: 2px solid var(--color-border-focus);
4101
+ outline-offset: 2px;
3970
4102
  }
3971
4103
 
4104
+ @media (prefers-reduced-motion: reduce) {
4105
+ .muka-text-link {
4106
+ transition: none;
4107
+ }
4108
+ }
3972
4109
 
3973
- /* Thumbnail */
3974
- /* Thumbnail Component Styles - Using Muka Design Tokens */
3975
4110
 
3976
- .muka-thumbnail {
3977
- position: relative;
3978
- flex-shrink: 0;
3979
- }
4111
+ /* Tabs */
4112
+ /* Tabs Component Styles - Clean underline style tabs matching Figma */
3980
4113
 
3981
- /* The frame carries the border, background and shape clip. Keeping it separate
3982
- from the root lets the remove (×) button sit outside the clip (needed for the
3983
- circular/ellipse shape, whose corners would otherwise clip the button). */
3984
- .muka-thumbnail__frame {
3985
- position: absolute;
3986
- inset: 0;
3987
- overflow: hidden;
3988
- border: var(--border-width-regular, 1px) solid var(--color-black-alpha-3);
3989
- border-radius: var(--border-radius-lg);
3990
- background-color: var(--color-surface-level1);
4114
+ .muka-tabs {
4115
+ display: flex;
4116
+ flex-direction: column;
3991
4117
  }
3992
4118
 
3993
- /* ─── Shapes ──────────────────────────────────────────── */
3994
- .muka-thumbnail--4-3 {
3995
- width: 160px;
3996
- height: 120px;
4119
+ /* Alignment Variants */
4120
+ .muka-tabs--align-left .muka-tabs__list {
4121
+ justify-content: flex-start;
3997
4122
  }
3998
-
3999
- .muka-thumbnail--1-1 {
4000
- width: 120px;
4001
- height: 120px;
4123
+ .muka-tabs--align-center .muka-tabs__list {
4124
+ justify-content: center;
4002
4125
  }
4003
-
4004
- .muka-thumbnail--ellipse {
4005
- width: 120px;
4006
- height: 120px;
4126
+ .muka-tabs--align-fill .muka-tabs__list {
4127
+ justify-content: space-between;
4128
+ }
4129
+ .muka-tabs--align-fill .muka-tabs__trigger {
4130
+ flex: 1;
4007
4131
  }
4008
4132
 
4009
- /* Fluid: fill the parent's width; the shape sets the height via aspect-ratio. */
4010
- .muka-thumbnail--fluid {
4011
- width: 100%;
4012
- height: auto;
4013
- aspect-ratio: 1 / 1;
4133
+ /* Tab List — strip container */
4134
+ .muka-tabs__list {
4135
+ display: flex;
4136
+ align-items: center;
4137
+ position: relative;
4138
+ z-index: 2;
4139
+ border-bottom: 1px solid var(--tabs-trigger-color-default-border);
4014
4140
  }
4015
4141
 
4016
- .muka-thumbnail--fluid.muka-thumbnail--4-3 {
4017
- aspect-ratio: 4 / 3;
4142
+ /* Padding: inset the tabs; the divider (border) still spans the full width */
4143
+ .muka-tabs--padding-default .muka-tabs__list {
4144
+ padding-inline: var(--tabs-list-padding-x);
4018
4145
  }
4019
4146
 
4020
- .muka-thumbnail--ellipse .muka-thumbnail__frame {
4021
- border-radius: var(--border-radius-full);
4147
+ /* Tab Trigger — clean underline style */
4148
+ .muka-tabs__trigger {
4149
+ display: inline-flex;
4150
+ align-items: center;
4151
+ justify-content: center;
4152
+ gap: var(--spacing-1);
4153
+ background: transparent;
4154
+ border: none;
4155
+ cursor: pointer;
4156
+ user-select: none;
4157
+ transition: background-color 0.2s ease, color 0.2s ease;
4158
+ outline: none;
4159
+ white-space: nowrap;
4160
+ position: relative;
4161
+ z-index: 2;
4162
+ color: var(--tabs-trigger-color-default-foreground);
4163
+
4164
+ /* Default MD size values */
4165
+ min-height: var(--tabs-trigger-min-height-md);
4166
+ padding: var(--spacing-3);
4167
+ font-family: var(--text-label-md-regular-fontFamily);
4168
+ font-weight: var(--text-label-md-regular-fontWeight);
4169
+ font-size: var(--text-label-md-regular-fontSize);
4170
+ line-height: var(--text-label-md-regular-lineHeight);
4022
4171
  }
4023
4172
 
4024
- /* Image fills the frame, cropped to cover. Sits at scale(1) by default so the
4025
- interactive hover zoom has a clean origin. */
4026
- .muka-thumbnail__image {
4027
- position: absolute;
4028
- inset: 0;
4029
- width: 100%;
4030
- height: 100%;
4031
- object-fit: cover;
4032
- display: block;
4033
- transform-origin: center;
4034
- /* Micro-interaction: hover zoom eases out over the "micro" duration. */
4035
- transition: transform var(--motion-duration-micro) var(--motion-easing-enter);
4173
+ /* Size Variants */
4174
+ .muka-tabs--size-sm .muka-tabs__trigger {
4175
+ min-height: var(--tabs-trigger-min-height-sm);
4176
+ padding: 0 var(--spacing-2);
4177
+ font-family: var(--text-label-sm-regular-fontFamily);
4178
+ font-weight: var(--text-label-sm-regular-fontWeight);
4179
+ font-size: var(--text-label-sm-regular-fontSize);
4180
+ line-height: var(--text-label-sm-regular-lineHeight);
4036
4181
  }
4037
4182
 
4038
- /* ─── Interactive (click-to-enlarge) ──────────────────── */
4039
- .muka-thumbnail__trigger {
4040
- position: absolute;
4041
- inset: 0;
4042
- padding: 0;
4043
- border: 0;
4044
- background: none;
4045
- cursor: pointer;
4046
- overflow: hidden;
4183
+ .muka-tabs--size-lg .muka-tabs__trigger {
4184
+ min-height: var(--tabs-trigger-min-height-lg);
4185
+ padding: var(--spacing-4);
4186
+ font-family: var(--text-label-lg-regular-fontFamily);
4187
+ font-weight: var(--text-label-lg-regular-fontWeight);
4188
+ font-size: var(--text-label-lg-regular-fontSize);
4189
+ line-height: var(--text-label-lg-regular-lineHeight);
4047
4190
  }
4048
4191
 
4049
- .muka-thumbnail__trigger:focus-visible {
4050
- outline: 2px solid var(--color-border-focus);
4051
- outline-offset: -2px;
4192
+ /* Hover state */
4193
+ .muka-tabs__trigger:hover:not(:disabled):not(.muka-tabs__trigger--current) {
4194
+ color: var(--tabs-trigger-color-hover-foreground);
4052
4195
  }
4053
4196
 
4054
- /* On hover the image scales up ~8px (160px → 168px) with an ease-out feel. */
4055
- .muka-thumbnail--interactive:hover .muka-thumbnail__image {
4056
- transform: scale(1.05);
4197
+ /* Current tab */
4198
+ .muka-tabs__trigger--current {
4199
+ color: var(--tabs-trigger-color-current-foreground);
4057
4200
  }
4058
4201
 
4059
- /* ─── Loading overlay + progress donut ────────────────── */
4060
- .muka-thumbnail__overlay {
4202
+ /* Active bottom border (underline) */
4203
+ .muka-tabs__trigger--current::after {
4204
+ content: '';
4061
4205
  position: absolute;
4062
- inset: 0;
4063
- display: flex;
4064
- align-items: center;
4065
- justify-content: center;
4066
- background-color: var(--dialog-color-backdrop);
4206
+ bottom: -1px; /* Overlap the 1px border */
4207
+ left: 0;
4208
+ right: 0;
4209
+ height: var(--tabs-indicator-height-md);
4210
+ background-color: var(--tabs-indicator-color);
4211
+ border-bottom-left-radius: 1px;
4212
+ border-bottom-right-radius: 1px;
4213
+ border-top-left-radius: 3px;
4214
+ border-top-right-radius: 3px;
4215
+ z-index: 3;
4067
4216
  }
4068
4217
 
4069
- .muka-thumbnail__progress {
4070
- width: 40px;
4071
- height: 40px;
4218
+ .muka-tabs--size-sm .muka-tabs__trigger--current::after {
4219
+ height: var(--tabs-indicator-height-sm);
4072
4220
  }
4073
-
4074
- /* ─── Error / corrupt state ───────────────────────────── */
4075
- .muka-thumbnail--error .muka-thumbnail__frame {
4076
- background-color: var(--alias-color-state-error-muted);
4077
- border-color: var(--alias-color-state-error-default);
4221
+ .muka-tabs--size-lg .muka-tabs__trigger--current::after {
4222
+ height: var(--tabs-indicator-height-lg);
4078
4223
  }
4079
4224
 
4080
- .muka-thumbnail__error {
4081
- position: absolute;
4082
- inset: 0;
4083
- display: flex;
4084
- flex-direction: column;
4085
- align-items: center;
4086
- justify-content: center;
4087
- gap: var(--spacing-2);
4088
- padding: var(--spacing-3);
4089
- text-align: center;
4225
+ .muka-tabs__trigger--disabled {
4226
+ color: var(--tabs-trigger-color-disabled-foreground);
4227
+ cursor: not-allowed;
4090
4228
  }
4091
4229
 
4092
- .muka-thumbnail__error-icon {
4093
- color: var(--alert-color-error-accent);
4230
+ .muka-tabs__trigger:focus-visible {
4231
+ outline: 2px solid var(--color-border-focus);
4232
+ outline-offset: -2px;
4094
4233
  }
4095
4234
 
4096
- .muka-thumbnail__caption {
4097
- max-width: 100%;
4098
- overflow: hidden;
4099
- text-overflow: ellipsis;
4100
- white-space: nowrap;
4101
- color: var(--alert-color-error-accent);
4102
- font-family: var(--text-body-sm-regular-fontFamily);
4103
- font-size: var(--text-body-sm-regular-fontSize);
4104
- font-weight: var(--text-body-sm-regular-fontWeight);
4105
- line-height: var(--text-body-sm-regular-lineHeight);
4235
+ /* Label: Figma pads the label 8px either side, so with the 4px gap a leading
4236
+ item sits 12px from the text */
4237
+ .muka-tabs__label {
4238
+ padding: 0 var(--spacing-2);
4106
4239
  }
4107
4240
 
4108
- /* ─── Remove (×) button ───────────────────────────────── */
4109
- .muka-thumbnail__remove {
4110
- position: absolute;
4111
- top: var(--spacing-2);
4112
- right: var(--spacing-2);
4241
+ /* Leading item: icon, avatar, avatar group or data pie chart */
4242
+ .muka-tabs__leading {
4113
4243
  display: flex;
4114
4244
  align-items: center;
4115
4245
  justify-content: center;
4116
- width: var(--size-2xl);
4117
- height: var(--size-2xl);
4118
- padding: 0;
4119
- color: var(--button-color-tertiary-foreground-default);
4120
- background-color: var(--button-color-tertiary-background-default);
4121
- border: var(--border-width-regular, 1px) solid var(--button-color-tertiary-border-default);
4122
- border-radius: var(--border-radius-lg);
4123
- cursor: pointer;
4124
- transition: background-color var(--motion-duration-micro) var(--motion-easing-enter),
4125
- border-color var(--motion-duration-micro) var(--motion-easing-enter);
4246
+ flex-shrink: 0;
4126
4247
  }
4248
+ .muka-tabs__trigger .muka-icon {
4249
+ color: inherit;
4250
+ }
4251
+ /* Icon sizes only: avatars and pie charts are sized through their size prop */
4252
+ .muka-tabs--size-sm .muka-tabs__leading > svg,
4253
+ .muka-tabs--size-sm .muka-tabs__leading > .muka-icon svg { width: 16px; height: 16px; }
4254
+ .muka-tabs--size-md .muka-tabs__leading > svg,
4255
+ .muka-tabs--size-md .muka-tabs__leading > .muka-icon svg { width: 20px; height: 20px; }
4256
+ .muka-tabs--size-lg .muka-tabs__leading > svg,
4257
+ .muka-tabs--size-lg .muka-tabs__leading > .muka-icon svg { width: 24px; height: 24px; }
4127
4258
 
4128
- .muka-thumbnail__remove:hover {
4129
- color: var(--button-color-tertiary-foreground-hover);
4130
- background-color: var(--button-color-tertiary-background-hover);
4131
- border-color: var(--button-color-tertiary-border-hover);
4259
+ /* Responsive Scroll behavior on small screens */
4260
+ @media (max-width: 768px) {
4261
+ .muka-tabs__list {
4262
+ /* Make scrollable */
4263
+ overflow-x: auto;
4264
+ overflow-y: hidden;
4265
+ /* Force left alignment on mobile to prevent clipping when scrolling */
4266
+ justify-content: flex-start !important;
4267
+ max-width: 100vw;
4268
+ -webkit-overflow-scrolling: touch;
4269
+ /* Hide scrollbar for cleaner look */
4270
+ scrollbar-width: none;
4271
+ }
4272
+ .muka-tabs__list::-webkit-scrollbar {
4273
+ display: none;
4274
+ }
4275
+ /* Remove flex: 1 behavior for Fill tabs on mobile so they map correctly */
4276
+ .muka-tabs--align-fill .muka-tabs__trigger {
4277
+ flex: 0 0 auto;
4278
+ }
4132
4279
  }
4133
4280
 
4134
- .muka-thumbnail__remove:active {
4135
- color: var(--button-color-tertiary-foreground-pressed);
4136
- background-color: var(--button-color-tertiary-background-pressed);
4137
- border-color: var(--button-color-tertiary-border-pressed);
4281
+ /* Tab Panel — content area */
4282
+ .muka-tabs__panel {
4283
+ background-color: var(--tabs-panel-background);
4284
+ /* border-top: var(--border-width-regular) solid var(--tabs-panel-border); removed in favor of the new tablist border */
4285
+ border-bottom: var(--border-width-regular) solid var(--tabs-panel-border);
4286
+ padding: var(--spacing-4);
4287
+ position: relative;
4288
+ z-index: 1;
4289
+ font-family: var(--text-body-base-regular-fontFamily);
4290
+ font-weight: var(--text-body-base-regular-fontWeight);
4291
+ font-size: var(--text-body-base-regular-fontSize);
4292
+ line-height: var(--text-body-base-regular-lineHeight);
4138
4293
  }
4139
4294
 
4140
- .muka-thumbnail__remove:focus-visible {
4295
+ .muka-tabs__panel:focus-visible {
4141
4296
  outline: 2px solid var(--color-border-focus);
4142
4297
  outline-offset: 2px;
4143
4298
  }
4144
4299
 
4145
- /* ─── Reduced motion ──────────────────────────────────── */
4146
- @media (prefers-reduced-motion: reduce) {
4147
- .muka-thumbnail__image,
4148
- .muka-thumbnail__remove {
4149
- transition: none;
4150
- }
4151
-
4152
- .muka-thumbnail--interactive:hover .muka-thumbnail__image {
4153
- transform: none;
4154
- }
4155
- }
4156
-
4157
4300
 
4158
- /* Textarea */
4159
- /* Textarea Component Styles - Using Muka Design Tokens */
4301
+ /* Tile */
4302
+ /* Tile Component Styles - Using Muka Design Tokens */
4160
4303
 
4161
- .muka-textarea {
4162
- display: inline-flex;
4163
- flex-direction: column;
4164
- gap: var(--spacing-2);
4165
- }
4304
+ /* ─── Base ────────────────────────────────────────────── */
4166
4305
 
4167
- /* Label */
4168
- .muka-textarea__label {
4306
+ .muka-tile {
4307
+ display: flex;
4169
4308
  color: var(--color-text-default-default);
4170
- cursor: pointer;
4171
- }
4172
-
4173
- .muka-textarea__label--sm {
4174
- font-family: var(--text-label-sm-semibold-fontFamily);
4175
- font-weight: var(--text-label-sm-semibold-fontWeight);
4176
- font-size: var(--text-label-sm-semibold-fontSize);
4177
- line-height: var(--text-label-sm-semibold-lineHeight);
4178
4309
  }
4179
4310
 
4180
- .muka-textarea__label--md {
4181
- font-family: var(--text-label-md-semibold-fontFamily);
4182
- font-weight: var(--text-label-md-semibold-fontWeight);
4183
- font-size: var(--text-label-md-semibold-fontSize);
4184
- line-height: var(--text-label-md-semibold-lineHeight);
4311
+ .muka-tile--interactive {
4312
+ cursor: pointer;
4313
+ user-select: none;
4185
4314
  }
4186
4315
 
4187
- .muka-textarea__label--lg {
4188
- font-family: var(--text-label-lg-semibold-fontFamily);
4189
- font-weight: var(--text-label-lg-semibold-fontWeight);
4190
- font-size: var(--text-label-lg-semibold-fontSize);
4191
- line-height: var(--text-label-lg-semibold-lineHeight);
4316
+ .muka-tile--interactive:focus-visible {
4317
+ outline: 2px solid var(--color-border-focus);
4318
+ outline-offset: 2px;
4319
+ border-radius: var(--border-radius-lg);
4192
4320
  }
4193
4321
 
4194
- .muka-textarea__required {
4195
- color: var(--color-state-error-default);
4196
- }
4322
+ /* ─── Image position variants ─────────────────────────── */
4197
4323
 
4198
- /* Field container */
4199
- .muka-textarea__field {
4200
- display: flex;
4201
- background-color: var(--input-field-color-default-background);
4202
- border: var(--border-width-regular) solid var(--input-field-color-default-border);
4203
- border-radius: var(--input-field-radius-md);
4204
- padding: var(--input-field-padding-y) var(--input-field-padding-x);
4205
- transition: border-color 0.2s ease, background-color 0.2s ease;
4206
- box-sizing: border-box;
4324
+ .muka-tile--image-top {
4325
+ flex-direction: column;
4207
4326
  }
4208
4327
 
4209
- .muka-textarea__field--sm {
4210
- min-height: var(--input-textarea-height-sm);
4211
- border-radius: var(--input-field-radius-sm);
4328
+ .muka-tile--image-left {
4329
+ flex-direction: row;
4212
4330
  }
4213
4331
 
4214
- .muka-textarea__field--md {
4215
- min-height: var(--input-textarea-height-default);
4216
- border-radius: var(--input-field-radius-md);
4332
+ .muka-tile--image-right {
4333
+ flex-direction: row;
4217
4334
  }
4218
4335
 
4219
- .muka-textarea__field--lg {
4220
- min-height: var(--input-textarea-height-lg);
4221
- border-radius: var(--input-field-radius-lg);
4222
- }
4336
+ /* ─── Gap by size (top) ───────────────────────────────── */
4223
4337
 
4224
- /* Focus state */
4225
- .muka-textarea__field--focused:not(.muka-textarea__field--disabled) {
4226
- border-width: var(--border-width-bold);
4227
- border-color: var(--input-field-color-focus-border);
4228
- background-color: var(--input-field-color-focus-background);
4229
- padding: calc(var(--input-field-padding-y) - 1px) calc(var(--input-field-padding-x) - 1px);
4338
+ .muka-tile--image-top.muka-tile--lg {
4339
+ gap: var(--spacing-6);
4230
4340
  }
4231
4341
 
4232
- /* Error state */
4233
- .muka-textarea__field--error:not(.muka-textarea__field--disabled) {
4234
- border-width: var(--border-width-bold);
4235
- border-color: var(--input-field-color-error-border);
4236
- background-color: var(--input-field-color-error-background);
4237
- padding: calc(var(--input-field-padding-y) - 1px) calc(var(--input-field-padding-x) - 1px);
4342
+ .muka-tile--image-top.muka-tile--md {
4343
+ gap: var(--spacing-6);
4344
+ width: 320px;
4238
4345
  }
4239
4346
 
4240
- /* Disabled state */
4241
- .muka-textarea__field--disabled {
4242
- background-color: var(--input-field-color-disabled-background);
4243
- border-color: var(--input-field-color-disabled-border);
4244
- cursor: not-allowed;
4347
+ .muka-tile--image-top.muka-tile--sm {
4348
+ gap: var(--spacing-4);
4349
+ min-width: 120px;
4245
4350
  }
4246
4351
 
4247
- /* Native textarea */
4248
- .muka-textarea__native {
4249
- flex: 1;
4250
- border: none;
4251
- outline: none;
4252
- background: transparent;
4253
- color: var(--input-field-color-default-foreground);
4254
- font-family: var(--text-input-md-fontFamily);
4255
- font-weight: var(--text-input-md-fontWeight);
4256
- font-size: var(--text-input-md-fontSize);
4257
- line-height: var(--text-input-md-lineHeight);
4258
- padding: 0;
4259
- width: 100%;
4260
- min-width: 0;
4352
+ /* ─── Gap by size (left/right) ────────────────────────── */
4353
+
4354
+ .muka-tile--image-left.muka-tile--lg,
4355
+ .muka-tile--image-right.muka-tile--lg {
4356
+ gap: var(--spacing-6);
4357
+ align-items: center;
4261
4358
  }
4262
4359
 
4263
- .muka-textarea__field--sm .muka-textarea__native {
4264
- font-family: var(--text-input-sm-fontFamily);
4265
- font-weight: var(--text-input-sm-fontWeight);
4266
- font-size: var(--text-input-sm-fontSize);
4267
- line-height: var(--text-input-sm-lineHeight);
4360
+ .muka-tile--image-left.muka-tile--md,
4361
+ .muka-tile--image-right.muka-tile--md {
4362
+ gap: var(--spacing-6);
4363
+ align-items: center;
4268
4364
  }
4269
4365
 
4270
- .muka-textarea__field--lg .muka-textarea__native {
4271
- font-family: var(--text-input-lg-fontFamily);
4272
- font-weight: var(--text-input-lg-fontWeight);
4273
- font-size: var(--text-input-lg-fontSize);
4274
- line-height: var(--text-input-lg-lineHeight);
4366
+ .muka-tile--image-left.muka-tile--sm,
4367
+ .muka-tile--image-right.muka-tile--sm {
4368
+ gap: var(--spacing-4);
4369
+ align-items: flex-start;
4275
4370
  }
4276
4371
 
4277
- .muka-textarea__native::placeholder {
4278
- color: var(--color-text-subtle-default);
4372
+ /* ─── Photos container ────────────────────────────────── */
4373
+
4374
+ .muka-tile__photos {
4375
+ position: relative;
4376
+ flex-shrink: 0;
4377
+ overflow: hidden;
4378
+ display: flex;
4379
+ flex-direction: column;
4380
+ isolation: isolate;
4279
4381
  }
4280
4382
 
4281
- .muka-textarea__field--disabled .muka-textarea__native {
4282
- color: var(--input-field-color-disabled-foreground);
4283
- cursor: not-allowed;
4383
+ /* Photos border radius by size */
4384
+ .muka-tile--lg .muka-tile__photos,
4385
+ .muka-tile--md .muka-tile__photos {
4386
+ border-radius: var(--border-radius-lg);
4284
4387
  }
4285
4388
 
4286
- /* Footer (helper/error + count) */
4287
- .muka-textarea__footer {
4288
- display: flex;
4289
- justify-content: space-between;
4290
- align-items: flex-start;
4291
- gap: var(--spacing-2);
4389
+ .muka-tile--sm .muka-tile__photos {
4390
+ border-radius: var(--border-radius-md);
4292
4391
  }
4293
4392
 
4294
- .muka-textarea__helper {
4295
- font-family: var(--text-label-sm-regular-fontFamily);
4296
- font-weight: var(--text-label-sm-regular-fontWeight);
4297
- font-size: var(--text-label-sm-regular-fontSize);
4298
- line-height: var(--text-label-sm-regular-lineHeight);
4299
- color: var(--color-text-subtle-default);
4300
- margin: 0;
4393
+ /* Photos sizing: top layout */
4394
+ .muka-tile--image-top .muka-tile__photos {
4395
+ width: 100%;
4301
4396
  }
4302
4397
 
4303
- .muka-textarea__error {
4304
- font-family: var(--text-label-sm-regular-fontFamily);
4305
- font-weight: var(--text-label-sm-regular-fontWeight);
4306
- font-size: var(--text-label-sm-regular-fontSize);
4307
- line-height: var(--text-label-sm-regular-lineHeight);
4308
- color: var(--color-state-error-default);
4309
- margin: 0;
4398
+ /* Photos sizing: left/right large */
4399
+ .muka-tile--image-left.muka-tile--lg .muka-tile__photos,
4400
+ .muka-tile--image-right.muka-tile--lg .muka-tile__photos {
4401
+ width: 520px;
4310
4402
  }
4311
4403
 
4312
- .muka-textarea__count {
4313
- font-family: var(--text-label-sm-regular-fontFamily);
4314
- font-weight: var(--text-label-sm-regular-fontWeight);
4315
- font-size: var(--text-label-sm-regular-fontSize);
4316
- line-height: var(--text-label-sm-regular-lineHeight);
4317
- color: var(--color-text-subtle-default);
4318
- margin-left: auto;
4404
+ /* Photos sizing: left/right medium */
4405
+ .muka-tile--image-left.muka-tile--md .muka-tile__photos,
4406
+ .muka-tile--image-right.muka-tile--md .muka-tile__photos {
4407
+ width: 320px;
4319
4408
  }
4320
4409
 
4410
+ /* Photos sizing: left/right small (single 80x80 thumbnail) */
4411
+ .muka-tile--image-left.muka-tile--sm .muka-tile__photos,
4412
+ .muka-tile--image-right.muka-tile--sm .muka-tile__photos {
4413
+ width: 80px;
4414
+ align-self: stretch;
4415
+ }
4321
4416
 
4322
- /* TextLink */
4323
- /* TextLink Component Styles - Using Muka Design Tokens */
4417
+ /* ─── Main photo ──────────────────────────────────────── */
4324
4418
 
4325
- .muka-text-link {
4326
- display: inline;
4327
- cursor: pointer;
4328
- text-decoration: underline;
4329
- /* Nudge the rule clear of descenders; the Figma underline sits off baseline. */
4330
- text-underline-offset: 0.2em;
4331
- text-decoration-thickness: from-font;
4332
- /* Rounds the focus ring's corners; the link itself has no visible box. */
4333
- border-radius: var(--border-radius-sm);
4334
- transition: color var(--motion-duration-micro, 0.15s) var(--motion-easing-enter, ease);
4419
+ .muka-tile__photo-main {
4420
+ position: relative;
4421
+ width: 100%;
4422
+ overflow: hidden;
4423
+ flex-shrink: 0;
4335
4424
  }
4336
4425
 
4337
- /* ─── Sizes ───────────────────────────────────────────────
4338
- Mirrors the body text scale so a link matches the copy it sits in. */
4339
- .muka-text-link--sm {
4340
- font-family: var(--text-body-sm-regular-fontFamily);
4341
- font-weight: var(--text-body-sm-regular-fontWeight);
4342
- font-size: var(--text-body-sm-regular-fontSize);
4343
- line-height: var(--text-body-sm-regular-lineHeight);
4426
+ /* 16:9 aspect for lg and md */
4427
+ .muka-tile--lg .muka-tile__photo-main,
4428
+ .muka-tile--md .muka-tile__photo-main {
4429
+ aspect-ratio: 1280 / 720;
4344
4430
  }
4345
4431
 
4346
- .muka-text-link--base {
4347
- font-family: var(--text-body-base-regular-fontFamily);
4348
- font-weight: var(--text-body-base-regular-fontWeight);
4349
- font-size: var(--text-body-base-regular-fontSize);
4350
- line-height: var(--text-body-base-regular-lineHeight);
4432
+ /* 1:1 aspect for top + sm */
4433
+ .muka-tile--image-top.muka-tile--sm .muka-tile__photo-main {
4434
+ aspect-ratio: 1 / 1;
4351
4435
  }
4352
4436
 
4353
- .muka-text-link--lg {
4354
- font-family: var(--text-body-lg-regular-fontFamily);
4355
- font-weight: var(--text-body-lg-regular-fontWeight);
4356
- font-size: var(--text-body-lg-regular-fontSize);
4357
- line-height: var(--text-body-lg-regular-lineHeight);
4437
+ /* Fixed size for left/right + sm */
4438
+ .muka-tile--image-left.muka-tile--sm .muka-tile__photo-main,
4439
+ .muka-tile--image-right.muka-tile--sm .muka-tile__photo-main {
4440
+ width: 80px;
4441
+ height: 80px;
4442
+ aspect-ratio: auto;
4358
4443
  }
4359
4444
 
4360
- /* ─── Variant: default (accent) ───────────────────────────
4361
- Visited repeats the default colour on purpose: the design treats visited and
4362
- default the same, and pinning it stops the browser's purple from showing. */
4363
- .muka-text-link--default,
4364
- .muka-text-link--default:visited {
4365
- color: var(--color-text-action-default);
4445
+ .muka-tile__photo-main img {
4446
+ width: 100%;
4447
+ height: 100%;
4448
+ object-fit: cover;
4449
+ display: block;
4366
4450
  }
4367
4451
 
4368
- .muka-text-link--default:hover,
4369
- .muka-text-link--default:focus-visible {
4370
- color: var(--color-text-action-hover);
4452
+ /* ─── Favourite overlay ───────────────────────────────── */
4453
+
4454
+ .muka-tile__favourite {
4455
+ position: absolute;
4456
+ z-index: 3;
4371
4457
  }
4372
4458
 
4373
- .muka-text-link--default:active {
4374
- color: var(--color-text-action-pressed);
4459
+ .muka-tile--lg .muka-tile__favourite,
4460
+ .muka-tile--md .muka-tile__favourite {
4461
+ top: var(--spacing-4);
4462
+ right: var(--spacing-4);
4375
4463
  }
4376
4464
 
4377
- /* ─── Variant: subtle (neutral) ───────────────────────────
4378
- Hover, focus and pressed all darken to the default text colour. */
4379
- .muka-text-link--subtle,
4380
- .muka-text-link--subtle:visited {
4381
- color: var(--color-text-subtle-default);
4465
+ .muka-tile--image-top.muka-tile--sm .muka-tile__favourite {
4466
+ top: var(--spacing-1);
4467
+ right: var(--spacing-1);
4382
4468
  }
4383
4469
 
4384
- .muka-text-link--subtle:hover,
4385
- .muka-text-link--subtle:focus-visible,
4386
- .muka-text-link--subtle:active {
4387
- color: var(--color-text-default-default);
4470
+ /* ─── Thumbnails ──────────────────────────────────────── */
4471
+
4472
+ .muka-tile__thumbnails {
4473
+ display: flex;
4474
+ gap: 2px;
4475
+ overflow: hidden;
4476
+ flex-shrink: 0;
4477
+ height: 80px;
4388
4478
  }
4389
4479
 
4390
- /* ─── Focus ───────────────────────────────────────────────
4391
- Same ring as every other focusable Muka component. */
4392
- .muka-text-link:focus-visible {
4393
- outline: 2px solid var(--color-border-focus);
4394
- outline-offset: 2px;
4480
+ .muka-tile__thumbnail {
4481
+ width: 80px;
4482
+ height: 80px;
4483
+ flex-shrink: 0;
4484
+ overflow: hidden;
4395
4485
  }
4396
4486
 
4397
- @media (prefers-reduced-motion: reduce) {
4398
- .muka-text-link {
4399
- transition: none;
4400
- }
4487
+ .muka-tile__thumbnail img {
4488
+ width: 100%;
4489
+ height: 100%;
4490
+ object-fit: cover;
4491
+ display: block;
4401
4492
  }
4402
4493
 
4494
+ /* Gap between main photo and thumbnails */
4495
+ .muka-tile__photos > .muka-tile__photo-main + .muka-tile__thumbnails {
4496
+ margin-top: 2px;
4497
+ }
4403
4498
 
4404
- /* Tabs */
4405
- /* Tabs Component Styles - Clean underline style tabs matching Figma */
4499
+ /* ─── Content section ─────────────────────────────────── */
4406
4500
 
4407
- .muka-tabs {
4501
+ .muka-tile__content {
4408
4502
  display: flex;
4409
4503
  flex-direction: column;
4504
+ flex: 1;
4505
+ min-width: 0;
4410
4506
  }
4411
4507
 
4412
- /* Alignment Variants */
4413
- .muka-tabs--align-left .muka-tabs__list {
4414
- justify-content: flex-start;
4508
+ /* Top layout: content has horizontal padding */
4509
+ .muka-tile--image-top.muka-tile--lg .muka-tile__content {
4510
+ padding: 0 var(--spacing-3);
4511
+ gap: var(--spacing-1);
4415
4512
  }
4416
- .muka-tabs--align-center .muka-tabs__list {
4417
- justify-content: center;
4513
+
4514
+ .muka-tile--image-top.muka-tile--md .muka-tile__content {
4515
+ padding: 0 var(--spacing-3);
4516
+ gap: var(--spacing-2);
4418
4517
  }
4419
- .muka-tabs--align-fill .muka-tabs__list {
4420
- justify-content: space-between;
4518
+
4519
+ .muka-tile--image-top.muka-tile--sm .muka-tile__content {
4520
+ gap: var(--spacing-2);
4421
4521
  }
4422
- .muka-tabs--align-fill .muka-tabs__trigger {
4423
- flex: 1;
4522
+
4523
+ /* Left/right layout: content grows to fill space */
4524
+ .muka-tile--image-left .muka-tile__content,
4525
+ .muka-tile--image-right .muka-tile__content {
4526
+ gap: var(--spacing-3);
4527
+ }
4528
+
4529
+ .muka-tile--image-left.muka-tile--lg .muka-tile__content,
4530
+ .muka-tile--image-right.muka-tile--lg .muka-tile__content {
4531
+ padding: 0 var(--spacing-3);
4424
4532
  }
4425
4533
 
4426
- /* Tab List — strip container */
4427
- .muka-tabs__list {
4428
- display: flex;
4429
- align-items: center;
4430
- position: relative;
4431
- z-index: 2;
4432
- border-bottom: 1px solid var(--tabs-trigger-color-default-border);
4534
+ .muka-tile--image-left.muka-tile--md .muka-tile__content,
4535
+ .muka-tile--image-right.muka-tile--md .muka-tile__content {
4536
+ padding: var(--spacing-2) var(--spacing-3);
4433
4537
  }
4434
4538
 
4435
- /* Padding: inset the tabs; the divider (border) still spans the full width */
4436
- .muka-tabs--padding-default .muka-tabs__list {
4437
- padding-inline: var(--tabs-list-padding-x);
4539
+ .muka-tile--image-left.muka-tile--sm .muka-tile__content,
4540
+ .muka-tile--image-right.muka-tile--sm .muka-tile__content {
4541
+ gap: var(--spacing-2);
4438
4542
  }
4439
4543
 
4440
- /* Tab Trigger — clean underline style */
4441
- .muka-tabs__trigger {
4442
- display: inline-flex;
4443
- align-items: center;
4444
- justify-content: center;
4445
- gap: var(--spacing-1);
4446
- background: transparent;
4447
- border: none;
4448
- cursor: pointer;
4449
- user-select: none;
4450
- transition: background-color 0.2s ease, color 0.2s ease;
4451
- outline: none;
4452
- white-space: nowrap;
4453
- position: relative;
4454
- z-index: 2;
4455
- color: var(--tabs-trigger-color-default-foreground);
4544
+ /* ─── Header (heading row + price) ────────────────────── */
4456
4545
 
4457
- /* Default MD size values */
4458
- min-height: var(--tabs-trigger-min-height-md);
4459
- padding: var(--spacing-3);
4460
- font-family: var(--text-label-md-regular-fontFamily);
4461
- font-weight: var(--text-label-md-regular-fontWeight);
4462
- font-size: var(--text-label-md-regular-fontSize);
4463
- line-height: var(--text-label-md-regular-lineHeight);
4546
+ .muka-tile__header {
4547
+ display: flex;
4548
+ align-items: flex-start;
4549
+ gap: var(--spacing-4);
4464
4550
  }
4465
4551
 
4466
- /* Size Variants */
4467
- .muka-tabs--size-sm .muka-tabs__trigger {
4468
- min-height: var(--tabs-trigger-min-height-sm);
4469
- padding: 0 var(--spacing-2);
4470
- font-family: var(--text-label-sm-regular-fontFamily);
4471
- font-weight: var(--text-label-sm-regular-fontWeight);
4472
- font-size: var(--text-label-sm-regular-fontSize);
4473
- line-height: var(--text-label-sm-regular-lineHeight);
4552
+ /* Small horizontal: row with text and action */
4553
+ .muka-tile--sm:not(.muka-tile--image-top) .muka-tile__header {
4554
+ gap: var(--spacing-2);
4555
+ align-items: center;
4556
+ padding-top: var(--spacing-1);
4474
4557
  }
4475
4558
 
4476
- .muka-tabs--size-lg .muka-tabs__trigger {
4477
- min-height: var(--tabs-trigger-min-height-lg);
4478
- padding: var(--spacing-4);
4479
- font-family: var(--text-label-lg-regular-fontFamily);
4480
- font-weight: var(--text-label-lg-regular-fontWeight);
4481
- font-size: var(--text-label-lg-regular-fontSize);
4482
- line-height: var(--text-label-lg-regular-lineHeight);
4483
- }
4559
+ /* ─── Text group ──────────────────────────────────────── */
4484
4560
 
4485
- /* Hover state */
4486
- .muka-tabs__trigger:hover:not(:disabled):not(.muka-tabs__trigger--current) {
4487
- color: var(--tabs-trigger-color-hover-foreground);
4561
+ .muka-tile__text {
4562
+ display: flex;
4563
+ flex-direction: column;
4564
+ flex: 1;
4565
+ min-width: 0;
4566
+ gap: var(--spacing-2);
4488
4567
  }
4489
4568
 
4490
- /* Current tab */
4491
- .muka-tabs__trigger--current {
4492
- color: var(--tabs-trigger-color-current-foreground);
4493
- }
4569
+ /* ─── Heading typography ──────────────────────────────── */
4494
4570
 
4495
- /* Active bottom border (underline) */
4496
- .muka-tabs__trigger--current::after {
4497
- content: '';
4498
- position: absolute;
4499
- bottom: -1px; /* Overlap the 1px border */
4500
- left: 0;
4501
- right: 0;
4502
- height: var(--tabs-indicator-height-md);
4503
- background-color: var(--tabs-indicator-color);
4504
- border-bottom-left-radius: 1px;
4505
- border-bottom-right-radius: 1px;
4506
- border-top-left-radius: 3px;
4507
- border-top-right-radius: 3px;
4508
- z-index: 3;
4571
+ .muka-tile__heading {
4572
+ margin: 0;
4509
4573
  }
4510
4574
 
4511
- .muka-tabs--size-sm .muka-tabs__trigger--current::after {
4512
- height: var(--tabs-indicator-height-sm);
4575
+ .muka-tile--lg .muka-tile__heading {
4576
+ font-family: var(--text-label-2xl-semibold-fontFamily);
4577
+ font-weight: var(--text-label-2xl-semibold-fontWeight);
4578
+ font-size: var(--text-label-2xl-semibold-fontSize);
4579
+ line-height: var(--text-label-2xl-semibold-lineHeight);
4580
+ color: var(--color-text-default-default);
4513
4581
  }
4514
- .muka-tabs--size-lg .muka-tabs__trigger--current::after {
4515
- height: var(--tabs-indicator-height-lg);
4582
+
4583
+ .muka-tile--md .muka-tile__heading {
4584
+ font-family: var(--text-label-xl-semibold-fontFamily);
4585
+ font-weight: var(--text-label-xl-semibold-fontWeight);
4586
+ font-size: var(--text-label-xl-semibold-fontSize);
4587
+ line-height: var(--text-label-xl-semibold-lineHeight);
4588
+ color: var(--color-text-default-default);
4516
4589
  }
4517
4590
 
4518
- .muka-tabs__trigger--disabled {
4519
- color: var(--tabs-trigger-color-disabled-foreground);
4520
- cursor: not-allowed;
4591
+ .muka-tile--sm .muka-tile__heading {
4592
+ font-family: var(--text-label-lg-bold-fontFamily);
4593
+ font-weight: var(--text-label-lg-bold-fontWeight);
4594
+ font-size: var(--text-label-lg-bold-fontSize);
4595
+ line-height: var(--text-label-lg-bold-lineHeight);
4596
+ color: var(--color-text-default-default);
4521
4597
  }
4522
4598
 
4523
- .muka-tabs__trigger:focus-visible {
4524
- outline: 2px solid var(--color-border-focus);
4525
- outline-offset: -2px;
4599
+ /* ─── Subheading typography ───────────────────────────── */
4600
+
4601
+ .muka-tile__subheading {
4602
+ margin: 0;
4603
+ color: var(--color-text-subtle-default);
4526
4604
  }
4527
4605
 
4528
- /* Label: Figma pads the label 8px either side, so with the 4px gap a leading
4529
- item sits 12px from the text */
4530
- .muka-tabs__label {
4531
- padding: 0 var(--spacing-2);
4606
+ .muka-tile--lg .muka-tile__subheading {
4607
+ font-family: var(--text-subheading-md-fontFamily);
4608
+ font-weight: var(--text-subheading-md-fontWeight);
4609
+ font-size: var(--text-subheading-md-fontSize);
4610
+ line-height: var(--text-subheading-md-lineHeight);
4532
4611
  }
4533
4612
 
4534
- /* Leading item: icon, avatar, avatar group or data pie chart */
4535
- .muka-tabs__leading {
4536
- display: flex;
4537
- align-items: center;
4538
- justify-content: center;
4539
- flex-shrink: 0;
4613
+ .muka-tile--md .muka-tile__subheading,
4614
+ .muka-tile--sm .muka-tile__subheading {
4615
+ font-family: var(--text-subheading-sm-fontFamily);
4616
+ font-weight: var(--text-subheading-sm-fontWeight);
4617
+ font-size: var(--text-subheading-sm-fontSize);
4618
+ line-height: var(--text-subheading-sm-lineHeight);
4540
4619
  }
4541
- .muka-tabs__trigger .muka-icon {
4542
- color: inherit;
4620
+
4621
+ /* ─── Description typography ──────────────────────────── */
4622
+
4623
+ .muka-tile__description {
4624
+ margin: 0;
4625
+ color: var(--color-text-default-default);
4543
4626
  }
4544
- /* Icon sizes only: avatars and pie charts are sized through their size prop */
4545
- .muka-tabs--size-sm .muka-tabs__leading > svg,
4546
- .muka-tabs--size-sm .muka-tabs__leading > .muka-icon svg { width: 16px; height: 16px; }
4547
- .muka-tabs--size-md .muka-tabs__leading > svg,
4548
- .muka-tabs--size-md .muka-tabs__leading > .muka-icon svg { width: 20px; height: 20px; }
4549
- .muka-tabs--size-lg .muka-tabs__leading > svg,
4550
- .muka-tabs--size-lg .muka-tabs__leading > .muka-icon svg { width: 24px; height: 24px; }
4551
4627
 
4552
- /* Responsive Scroll behavior on small screens */
4553
- @media (max-width: 768px) {
4554
- .muka-tabs__list {
4555
- /* Make scrollable */
4556
- overflow-x: auto;
4557
- overflow-y: hidden;
4558
- /* Force left alignment on mobile to prevent clipping when scrolling */
4559
- justify-content: flex-start !important;
4560
- max-width: 100vw;
4561
- -webkit-overflow-scrolling: touch;
4562
- /* Hide scrollbar for cleaner look */
4563
- scrollbar-width: none;
4564
- }
4565
- .muka-tabs__list::-webkit-scrollbar {
4566
- display: none;
4567
- }
4568
- /* Remove flex: 1 behavior for Fill tabs on mobile so they map correctly */
4569
- .muka-tabs--align-fill .muka-tabs__trigger {
4570
- flex: 0 0 auto;
4571
- }
4628
+ .muka-tile--lg .muka-tile__description {
4629
+ font-family: var(--text-body-lg-regular-fontFamily);
4630
+ font-weight: var(--text-body-lg-regular-fontWeight);
4631
+ font-size: var(--text-body-lg-regular-fontSize);
4632
+ line-height: var(--text-body-lg-regular-lineHeight);
4572
4633
  }
4573
4634
 
4574
- /* Tab Panel — content area */
4575
- .muka-tabs__panel {
4576
- background-color: var(--tabs-panel-background);
4577
- /* border-top: var(--border-width-regular) solid var(--tabs-panel-border); removed in favor of the new tablist border */
4578
- border-bottom: var(--border-width-regular) solid var(--tabs-panel-border);
4579
- padding: var(--spacing-4);
4580
- position: relative;
4581
- z-index: 1;
4635
+ .muka-tile--md .muka-tile__description,
4636
+ .muka-tile--sm .muka-tile__description {
4582
4637
  font-family: var(--text-body-base-regular-fontFamily);
4583
4638
  font-weight: var(--text-body-base-regular-fontWeight);
4584
4639
  font-size: var(--text-body-base-regular-fontSize);
4585
4640
  line-height: var(--text-body-base-regular-lineHeight);
4586
4641
  }
4587
4642
 
4588
- .muka-tabs__panel:focus-visible {
4589
- outline: 2px solid var(--color-border-focus);
4590
- outline-offset: 2px;
4643
+ /* Description overflow for medium */
4644
+ .muka-tile--md .muka-tile__description {
4645
+ overflow: hidden;
4646
+ text-overflow: ellipsis;
4647
+ }
4648
+
4649
+ /* ─── Price slot ──────────────────────────────────────── */
4650
+
4651
+ .muka-tile__price {
4652
+ flex-shrink: 0;
4653
+ }
4654
+
4655
+ /* ─── Action slot ─────────────────────────────────────── */
4656
+
4657
+ .muka-tile__action {
4658
+ flex-shrink: 0;
4591
4659
  }
4592
4660
 
4593
4661
 
@@ -4972,104 +5040,134 @@ body {
4972
5040
  color: var(--color-text-default-default);
4973
5041
  }
4974
5042
 
4975
- .muka-table__header-cell--sortable:focus-visible {
4976
- outline: 2px solid var(--color-action-default);
4977
- outline-offset: -2px;
5043
+ .muka-table__header-cell--sortable:focus-visible {
5044
+ outline: 2px solid var(--color-action-default);
5045
+ outline-offset: -2px;
5046
+ }
5047
+
5048
+ /* Sort icon */
5049
+ .muka-table__sort-icon {
5050
+ width: 1em;
5051
+ height: 1em;
5052
+ opacity: 0.4;
5053
+ transition: opacity 0.2s, transform 0.2s;
5054
+ }
5055
+
5056
+ .muka-table__header-cell--sortable:hover .muka-table__sort-icon {
5057
+ opacity: 0.7;
5058
+ }
5059
+
5060
+ .muka-table__sort-icon--asc,
5061
+ .muka-table__sort-icon--desc {
5062
+ opacity: 1;
5063
+ }
5064
+
5065
+
5066
+ /* SwipeActions */
5067
+ /* SwipeActions Component Styles */
5068
+
5069
+ .muka-swipe-actions {
5070
+ position: relative;
5071
+ overflow: hidden;
5072
+ touch-action: pan-y;
5073
+ -webkit-user-select: none;
5074
+ user-select: none;
5075
+ background-color: var(--color-surface-level3);
5076
+ }
5077
+
5078
+ .muka-swipe-actions--disabled {
5079
+ touch-action: auto;
4978
5080
  }
4979
5081
 
4980
- /* Sort icon */
4981
- .muka-table__sort-icon {
4982
- width: 1em;
4983
- height: 1em;
4984
- opacity: 0.4;
4985
- transition: opacity 0.2s, transform 0.2s;
5082
+ /* ─── Row that holds the actual content ────────────────── */
5083
+
5084
+ .muka-swipe-actions__row {
5085
+ position: relative;
5086
+ z-index: 1;
5087
+ background-color: inherit;
5088
+ will-change: transform;
4986
5089
  }
4987
5090
 
4988
- .muka-table__header-cell--sortable:hover .muka-table__sort-icon {
4989
- opacity: 0.7;
5091
+ /* ─── Action panels — sit beneath the row ──────────────── */
5092
+
5093
+ .muka-swipe-actions__panel {
5094
+ position: absolute;
5095
+ top: 0;
5096
+ bottom: 0;
5097
+ display: flex;
5098
+ align-items: stretch;
5099
+ z-index: 0;
4990
5100
  }
4991
5101
 
4992
- .muka-table__sort-icon--asc,
4993
- .muka-table__sort-icon--desc {
4994
- opacity: 1;
5102
+ .muka-swipe-actions__panel--left {
5103
+ left: 0;
4995
5104
  }
4996
5105
 
5106
+ .muka-swipe-actions__panel--right {
5107
+ right: 0;
5108
+ }
4997
5109
 
4998
- /* Spinner */
4999
- /* Spinner Component Styles */
5110
+ /* ─── Single action button ─────────────────────────────── */
5000
5111
 
5001
- .muka-spinner {
5002
- display: inline-flex;
5112
+ .muka-swipe-actions__button {
5113
+ display: flex;
5114
+ flex-direction: column;
5003
5115
  align-items: center;
5004
5116
  justify-content: center;
5117
+ gap: var(--spacing-1);
5118
+ border: none;
5119
+ cursor: pointer;
5120
+ padding: var(--spacing-2);
5121
+ background-color: var(--color-surface-level2);
5005
5122
  color: var(--color-text-default-default);
5006
- line-height: 0;
5123
+ font-family: var(--text-label-sm-semibold-fontFamily);
5124
+ font-weight: var(--text-label-sm-semibold-fontWeight);
5125
+ font-size: var(--text-label-sm-semibold-fontSize);
5126
+ line-height: var(--text-label-sm-semibold-lineHeight);
5127
+ -webkit-tap-highlight-color: transparent;
5128
+ transition: filter 0.12s ease;
5007
5129
  }
5008
5130
 
5009
- .muka-spinner--subtle {
5010
- color: var(--color-text-subtle-default);
5131
+ .muka-swipe-actions__button:hover {
5132
+ filter: brightness(0.95);
5011
5133
  }
5012
5134
 
5013
- .muka-spinner--inverse {
5014
- color: var(--color-text-default-inverse);
5135
+ .muka-swipe-actions__button:focus-visible {
5136
+ outline: 2px solid var(--color-action-default);
5137
+ outline-offset: -2px;
5015
5138
  }
5016
5139
 
5017
- .muka-spinner__circle {
5018
- display: inline-block;
5019
- border-radius: 50%;
5020
- border-style: solid;
5021
- border-color: currentColor;
5022
- border-right-color: transparent;
5023
- animation: muka-spinner-rotate 0.7s linear infinite;
5024
- box-sizing: border-box;
5140
+ .muka-swipe-actions__button-icon {
5141
+ display: inline-flex;
5142
+ align-items: center;
5143
+ justify-content: center;
5025
5144
  }
5026
5145
 
5027
- /* ─── Sizes ───────────────────────────────────────────── */
5028
-
5029
- .muka-spinner--sm .muka-spinner__circle {
5030
- width: 16px;
5031
- height: 16px;
5032
- border-width: 2px;
5033
- }
5146
+ /* ─── Color variants ───────────────────────────────────── */
5034
5147
 
5035
- .muka-spinner--md .muka-spinner__circle {
5036
- width: 20px;
5037
- height: 20px;
5038
- border-width: 2px;
5148
+ .muka-swipe-actions__button--neutral {
5149
+ background-color: var(--color-surface-level2);
5150
+ color: var(--color-text-default-default);
5039
5151
  }
5040
5152
 
5041
- .muka-spinner--lg .muka-spinner__circle {
5042
- width: 24px;
5043
- height: 24px;
5044
- border-width: 3px;
5153
+ .muka-swipe-actions__button--primary {
5154
+ background-color: var(--color-action-default);
5155
+ color: var(--color-text-default-inverse);
5045
5156
  }
5046
5157
 
5047
- /* ─── Visually-hidden label ───────────────────────────── */
5048
-
5049
- .muka-spinner__sr-label {
5050
- position: absolute;
5051
- width: 1px;
5052
- height: 1px;
5053
- padding: 0;
5054
- margin: -1px;
5055
- overflow: hidden;
5056
- clip: rect(0, 0, 0, 0);
5057
- white-space: nowrap;
5058
- border: 0;
5158
+ .muka-swipe-actions__button--success {
5159
+ background-color: var(--color-state-success-default);
5160
+ color: var(--color-text-default-inverse);
5059
5161
  }
5060
5162
 
5061
- /* ─── Reduced motion ──────────────────────────────────── */
5062
-
5063
- @keyframes muka-spinner-rotate {
5064
- to {
5065
- transform: rotate(360deg);
5066
- }
5163
+ .muka-swipe-actions__button--warning {
5164
+ background-color: var(--color-state-warning-default);
5165
+ color: var(--color-text-default-default);
5067
5166
  }
5068
5167
 
5069
- @media (prefers-reduced-motion: reduce) {
5070
- .muka-spinner__circle {
5071
- animation-duration: 2.5s;
5072
- }
5168
+ .muka-swipe-actions__button--destructive {
5169
+ background-color: var(--color-state-error-default);
5170
+ color: var(--color-text-default-inverse);
5073
5171
  }
5074
5172
 
5075
5173
 
@@ -5158,153 +5256,81 @@ body {
5158
5256
  }
5159
5257
 
5160
5258
 
5161
- /* SocialSignInButton */
5162
- /*
5163
- * SocialSignInButton lockup colors are provider-mandated (Apple HIG /
5164
- * Google Identity branding) and intentionally fixed across Muka brands —
5165
- * same exception pattern as LicensePlateInput regulatory colors.
5166
- *
5167
- * Apple: https://developer.apple.com/design/human-interface-guidelines/sign-in-with-apple
5168
- * Google: https://developers.google.com/identity/branding-guidelines
5169
- */
5170
- .muka-social-sign-in-button {
5171
- --ssi-white: #ffffff;
5172
- --ssi-black: #000000;
5173
- --ssi-google-text-light: #1f1f1f;
5259
+ /* Spinner */
5260
+ /* Spinner Component Styles */
5174
5261
 
5262
+ .muka-spinner {
5175
5263
  display: inline-flex;
5176
5264
  align-items: center;
5177
5265
  justify-content: center;
5178
-
5179
- /* Provider lockup type — matches Figma / HIG, not brand font tokens.
5180
- * SF Pro Text is OS-provided on Apple platforms (not redistributable).
5181
- * Google Sans is not freely shippable; Roboto is the closest system fallback. */
5182
- font-family: inherit;
5183
- font-weight: 600;
5184
- text-decoration: none;
5185
- white-space: nowrap;
5186
-
5187
- border: 1px solid transparent;
5188
- cursor: pointer;
5189
- user-select: none;
5190
- transition: opacity 0.15s ease, filter 0.15s ease;
5191
-
5192
- outline: none;
5193
- position: relative;
5194
- box-sizing: border-box;
5195
- }
5196
-
5197
- .muka-social-sign-in-button--apple {
5198
- font-family: 'SF Pro Text', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
5199
- Helvetica, Arial, sans-serif;
5200
- font-weight: 600;
5201
- }
5202
-
5203
- .muka-social-sign-in-button--google {
5204
- font-family: 'Google Sans', Roboto, 'Helvetica Neue', Arial, sans-serif;
5205
- font-weight: 500;
5206
- }
5207
-
5208
- .muka-social-sign-in-button:focus-visible {
5209
- outline: 2px solid var(--color-border-focus);
5210
- outline-offset: 2px;
5211
- }
5212
-
5213
- /* Sizes — heights align with Button md/lg */
5214
- .muka-social-sign-in-button--md {
5215
- padding: 0 var(--button-padding-md-x);
5216
- border-radius: var(--button-radius-md);
5217
- font-size: var(--text-label-sm-semibold-fontSize);
5218
- line-height: var(--text-label-sm-semibold-lineHeight);
5219
- min-height: 40px;
5220
- min-width: 240px;
5221
- }
5222
-
5223
- .muka-social-sign-in-button--md .muka-social-sign-in-button__label {
5224
- padding: 0 var(--button-gap-md);
5225
- }
5226
-
5227
- .muka-social-sign-in-button--md .muka-social-sign-in-button__icon {
5228
- width: var(--button-icon-md);
5229
- height: var(--button-icon-md);
5230
- }
5231
-
5232
- .muka-social-sign-in-button--lg {
5233
- padding: 0 var(--button-padding-lg-x);
5234
- border-radius: var(--button-radius-lg);
5235
- font-size: var(--text-label-lg-semibold-fontSize);
5236
- line-height: var(--text-label-lg-semibold-lineHeight);
5237
- min-height: 48px;
5238
- min-width: 280px;
5239
- }
5240
-
5241
- .muka-social-sign-in-button--lg .muka-social-sign-in-button__label {
5242
- padding: 0 var(--button-gap-lg);
5266
+ color: var(--color-text-default-default);
5267
+ line-height: 0;
5243
5268
  }
5244
5269
 
5245
- .muka-social-sign-in-button--lg .muka-social-sign-in-button__icon {
5246
- width: var(--button-icon-lg);
5247
- height: var(--button-icon-lg);
5270
+ .muka-spinner--subtle {
5271
+ color: var(--color-text-subtle-default);
5248
5272
  }
5249
5273
 
5250
- /* White lockup — for dark surfaces (Apple White with Outline) */
5251
- .muka-social-sign-in-button--white {
5252
- background-color: var(--ssi-white);
5253
- color: var(--ssi-black);
5254
- border-color: var(--ssi-black);
5274
+ .muka-spinner--inverse {
5275
+ color: var(--color-text-default-inverse);
5255
5276
  }
5256
5277
 
5257
- .muka-social-sign-in-button--white.muka-social-sign-in-button--google {
5258
- color: var(--ssi-google-text-light);
5278
+ .muka-spinner__circle {
5279
+ display: inline-block;
5280
+ border-radius: 50%;
5281
+ border-style: solid;
5282
+ border-color: currentColor;
5283
+ border-right-color: transparent;
5284
+ animation: muka-spinner-rotate 0.7s linear infinite;
5285
+ box-sizing: border-box;
5259
5286
  }
5260
5287
 
5261
- /* Black lockup — for light surfaces */
5262
- .muka-social-sign-in-button--black {
5263
- background-color: var(--ssi-black);
5264
- color: var(--ssi-white);
5265
- border-color: transparent;
5266
- }
5288
+ /* ─── Sizes ───────────────────────────────────────────── */
5267
5289
 
5268
- /* Interaction — luminance/opacity only; no brand tint */
5269
- .muka-social-sign-in-button:hover:not(:disabled) {
5270
- filter: brightness(0.92);
5290
+ .muka-spinner--sm .muka-spinner__circle {
5291
+ width: 16px;
5292
+ height: 16px;
5293
+ border-width: 2px;
5271
5294
  }
5272
5295
 
5273
- .muka-social-sign-in-button:active:not(:disabled) {
5274
- filter: brightness(0.85);
5296
+ .muka-spinner--md .muka-spinner__circle {
5297
+ width: 20px;
5298
+ height: 20px;
5299
+ border-width: 2px;
5275
5300
  }
5276
5301
 
5277
- .muka-social-sign-in-button:disabled,
5278
- .muka-social-sign-in-button--disabled {
5279
- cursor: not-allowed;
5280
- opacity: 0.4;
5281
- pointer-events: none;
5282
- filter: none;
5302
+ .muka-spinner--lg .muka-spinner__circle {
5303
+ width: 24px;
5304
+ height: 24px;
5305
+ border-width: 3px;
5283
5306
  }
5284
5307
 
5285
- .muka-social-sign-in-button--full-width {
5286
- width: 100%;
5287
- min-width: 0;
5288
- }
5308
+ /* ─── Visually-hidden label ───────────────────────────── */
5289
5309
 
5290
- .muka-social-sign-in-button__icon {
5291
- display: inline-flex;
5292
- align-items: center;
5293
- justify-content: center;
5294
- flex-shrink: 0;
5310
+ .muka-spinner__sr-label {
5311
+ position: absolute;
5312
+ width: 1px;
5313
+ height: 1px;
5314
+ padding: 0;
5315
+ margin: -1px;
5316
+ overflow: hidden;
5317
+ clip: rect(0, 0, 0, 0);
5318
+ white-space: nowrap;
5319
+ border: 0;
5295
5320
  }
5296
5321
 
5297
- .muka-social-sign-in-button__icon > *,
5298
- .muka-social-sign-in-button__icon svg {
5299
- width: auto;
5300
- height: 100%;
5301
- max-width: 100%;
5302
- display: block;
5322
+ /* ─── Reduced motion ──────────────────────────────────── */
5323
+
5324
+ @keyframes muka-spinner-rotate {
5325
+ to {
5326
+ transform: rotate(360deg);
5327
+ }
5303
5328
  }
5304
5329
 
5305
- .muka-social-sign-in-button__label {
5306
- display: inline-flex;
5307
- align-items: center;
5330
+ @media (prefers-reduced-motion: reduce) {
5331
+ .muka-spinner__circle {
5332
+ animation-duration: 2.5s;
5333
+ }
5308
5334
  }
5309
5335
 
5310
5336
 
@@ -9384,6 +9410,24 @@ button.muka-progress-tracker__tab:focus-visible {
9384
9410
  white-space: nowrap;
9385
9411
  }
9386
9412
 
9413
+ /* A second line under the label (description): label above, subdued below. */
9414
+ .muka-menu__item--has-description .muka-menu__item-label {
9415
+ display: flex;
9416
+ flex-direction: column;
9417
+ overflow: hidden;
9418
+ }
9419
+
9420
+ .muka-menu__item-description {
9421
+ overflow: hidden;
9422
+ text-overflow: ellipsis;
9423
+ white-space: nowrap;
9424
+ font-family: var(--text-body-sm-regular-fontFamily);
9425
+ font-weight: var(--text-body-sm-regular-fontWeight);
9426
+ font-size: var(--text-body-sm-regular-fontSize);
9427
+ line-height: var(--text-body-sm-regular-lineHeight);
9428
+ color: var(--color-text-subtle-default);
9429
+ }
9430
+
9387
9431
  /* Shortcut trailers replace icons and sit with an 8px right inset. */
9388
9432
  .muka-menu__item--has-shortcut {
9389
9433
  padding-right: var(--spacing-2);
@@ -9930,11 +9974,12 @@ button.muka-progress-tracker__tab:focus-visible {
9930
9974
  margin: 0;
9931
9975
  padding: 0;
9932
9976
 
9933
- /* Typography - using semantic tokens */
9934
- font-family: var(--alias-font-plain-family);
9935
- font-weight: var(--alias-font-plain-weight-regular, 400);
9936
- font-size: var(--text-body-sm-fontSize);
9937
- line-height: var(--text-body-sm-lineHeight);
9977
+ /* Typography: the body-sm regular text style. The bare --text-body-sm-*
9978
+ names exist only as fallbacks in base.css, not in any theme. */
9979
+ font-family: var(--text-body-sm-regular-fontFamily);
9980
+ font-weight: var(--text-body-sm-regular-fontWeight);
9981
+ font-size: var(--text-body-sm-regular-fontSize);
9982
+ line-height: var(--text-body-sm-regular-lineHeight);
9938
9983
  color: var(--color-text-subtle-default);
9939
9984
 
9940
9985
  /* Text handling */
@@ -17626,110 +17671,152 @@ button.muka-chat-photo-grid__tile:focus-visible {
17626
17671
  }
17627
17672
 
17628
17673
 
17629
- /* SwipeActions */
17630
- /* SwipeActions Component Styles */
17674
+ /* SocialSignInButton */
17675
+ /*
17676
+ * SocialSignInButton lockup colors are provider-mandated (Apple HIG /
17677
+ * Google Identity branding) and intentionally fixed across Muka brands —
17678
+ * same exception pattern as LicensePlateInput regulatory colors.
17679
+ *
17680
+ * Apple: https://developer.apple.com/design/human-interface-guidelines/sign-in-with-apple
17681
+ * Google: https://developers.google.com/identity/branding-guidelines
17682
+ */
17683
+ .muka-social-sign-in-button {
17684
+ --ssi-white: #ffffff;
17685
+ --ssi-black: #000000;
17686
+ --ssi-google-text-light: #1f1f1f;
17631
17687
 
17632
- .muka-swipe-actions {
17633
- position: relative;
17634
- overflow: hidden;
17635
- touch-action: pan-y;
17636
- -webkit-user-select: none;
17688
+ display: inline-flex;
17689
+ align-items: center;
17690
+ justify-content: center;
17691
+
17692
+ /* Provider lockup type — matches Figma / HIG, not brand font tokens.
17693
+ * SF Pro Text is OS-provided on Apple platforms (not redistributable).
17694
+ * Google Sans is not freely shippable; Roboto is the closest system fallback. */
17695
+ font-family: inherit;
17696
+ font-weight: 600;
17697
+ text-decoration: none;
17698
+ white-space: nowrap;
17699
+
17700
+ border: 1px solid transparent;
17701
+ cursor: pointer;
17637
17702
  user-select: none;
17638
- background-color: var(--color-surface-level3);
17703
+ transition: opacity 0.15s ease, filter 0.15s ease;
17704
+
17705
+ outline: none;
17706
+ position: relative;
17707
+ box-sizing: border-box;
17639
17708
  }
17640
17709
 
17641
- .muka-swipe-actions--disabled {
17642
- touch-action: auto;
17710
+ .muka-social-sign-in-button--apple {
17711
+ font-family: 'SF Pro Text', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
17712
+ Helvetica, Arial, sans-serif;
17713
+ font-weight: 600;
17643
17714
  }
17644
17715
 
17645
- /* ─── Row that holds the actual content ────────────────── */
17716
+ .muka-social-sign-in-button--google {
17717
+ font-family: 'Google Sans', Roboto, 'Helvetica Neue', Arial, sans-serif;
17718
+ font-weight: 500;
17719
+ }
17646
17720
 
17647
- .muka-swipe-actions__row {
17648
- position: relative;
17649
- z-index: 1;
17650
- background-color: inherit;
17651
- will-change: transform;
17721
+ .muka-social-sign-in-button:focus-visible {
17722
+ outline: 2px solid var(--color-border-focus);
17723
+ outline-offset: 2px;
17652
17724
  }
17653
17725
 
17654
- /* ─── Action panels — sit beneath the row ──────────────── */
17726
+ /* Sizes — heights align with Button md/lg */
17727
+ .muka-social-sign-in-button--md {
17728
+ padding: 0 var(--button-padding-md-x);
17729
+ border-radius: var(--button-radius-md);
17730
+ font-size: var(--text-label-sm-semibold-fontSize);
17731
+ line-height: var(--text-label-sm-semibold-lineHeight);
17732
+ min-height: 40px;
17733
+ min-width: 240px;
17734
+ }
17655
17735
 
17656
- .muka-swipe-actions__panel {
17657
- position: absolute;
17658
- top: 0;
17659
- bottom: 0;
17660
- display: flex;
17661
- align-items: stretch;
17662
- z-index: 0;
17736
+ .muka-social-sign-in-button--md .muka-social-sign-in-button__label {
17737
+ padding: 0 var(--button-gap-md);
17663
17738
  }
17664
17739
 
17665
- .muka-swipe-actions__panel--left {
17666
- left: 0;
17740
+ .muka-social-sign-in-button--md .muka-social-sign-in-button__icon {
17741
+ width: var(--button-icon-md);
17742
+ height: var(--button-icon-md);
17667
17743
  }
17668
17744
 
17669
- .muka-swipe-actions__panel--right {
17670
- right: 0;
17745
+ .muka-social-sign-in-button--lg {
17746
+ padding: 0 var(--button-padding-lg-x);
17747
+ border-radius: var(--button-radius-lg);
17748
+ font-size: var(--text-label-lg-semibold-fontSize);
17749
+ line-height: var(--text-label-lg-semibold-lineHeight);
17750
+ min-height: 48px;
17751
+ min-width: 280px;
17671
17752
  }
17672
17753
 
17673
- /* ─── Single action button ─────────────────────────────── */
17754
+ .muka-social-sign-in-button--lg .muka-social-sign-in-button__label {
17755
+ padding: 0 var(--button-gap-lg);
17756
+ }
17674
17757
 
17675
- .muka-swipe-actions__button {
17676
- display: flex;
17677
- flex-direction: column;
17678
- align-items: center;
17679
- justify-content: center;
17680
- gap: var(--spacing-1);
17681
- border: none;
17682
- cursor: pointer;
17683
- padding: var(--spacing-2);
17684
- background-color: var(--color-surface-level2);
17685
- color: var(--color-text-default-default);
17686
- font-family: var(--text-label-sm-semibold-fontFamily);
17687
- font-weight: var(--text-label-sm-semibold-fontWeight);
17688
- font-size: var(--text-label-sm-semibold-fontSize);
17689
- line-height: var(--text-label-sm-semibold-lineHeight);
17690
- -webkit-tap-highlight-color: transparent;
17691
- transition: filter 0.12s ease;
17758
+ .muka-social-sign-in-button--lg .muka-social-sign-in-button__icon {
17759
+ width: var(--button-icon-lg);
17760
+ height: var(--button-icon-lg);
17692
17761
  }
17693
17762
 
17694
- .muka-swipe-actions__button:hover {
17695
- filter: brightness(0.95);
17763
+ /* White lockup — for dark surfaces (Apple White with Outline) */
17764
+ .muka-social-sign-in-button--white {
17765
+ background-color: var(--ssi-white);
17766
+ color: var(--ssi-black);
17767
+ border-color: var(--ssi-black);
17696
17768
  }
17697
17769
 
17698
- .muka-swipe-actions__button:focus-visible {
17699
- outline: 2px solid var(--color-action-default);
17700
- outline-offset: -2px;
17770
+ .muka-social-sign-in-button--white.muka-social-sign-in-button--google {
17771
+ color: var(--ssi-google-text-light);
17701
17772
  }
17702
17773
 
17703
- .muka-swipe-actions__button-icon {
17704
- display: inline-flex;
17705
- align-items: center;
17706
- justify-content: center;
17774
+ /* Black lockup — for light surfaces */
17775
+ .muka-social-sign-in-button--black {
17776
+ background-color: var(--ssi-black);
17777
+ color: var(--ssi-white);
17778
+ border-color: transparent;
17707
17779
  }
17708
17780
 
17709
- /* ─── Color variants ───────────────────────────────────── */
17781
+ /* Interaction — luminance/opacity only; no brand tint */
17782
+ .muka-social-sign-in-button:hover:not(:disabled) {
17783
+ filter: brightness(0.92);
17784
+ }
17710
17785
 
17711
- .muka-swipe-actions__button--neutral {
17712
- background-color: var(--color-surface-level2);
17713
- color: var(--color-text-default-default);
17786
+ .muka-social-sign-in-button:active:not(:disabled) {
17787
+ filter: brightness(0.85);
17714
17788
  }
17715
17789
 
17716
- .muka-swipe-actions__button--primary {
17717
- background-color: var(--color-action-default);
17718
- color: var(--color-text-default-inverse);
17790
+ .muka-social-sign-in-button:disabled,
17791
+ .muka-social-sign-in-button--disabled {
17792
+ cursor: not-allowed;
17793
+ opacity: 0.4;
17794
+ pointer-events: none;
17795
+ filter: none;
17719
17796
  }
17720
17797
 
17721
- .muka-swipe-actions__button--success {
17722
- background-color: var(--color-state-success-default);
17723
- color: var(--color-text-default-inverse);
17798
+ .muka-social-sign-in-button--full-width {
17799
+ width: 100%;
17800
+ min-width: 0;
17724
17801
  }
17725
17802
 
17726
- .muka-swipe-actions__button--warning {
17727
- background-color: var(--color-state-warning-default);
17728
- color: var(--color-text-default-default);
17803
+ .muka-social-sign-in-button__icon {
17804
+ display: inline-flex;
17805
+ align-items: center;
17806
+ justify-content: center;
17807
+ flex-shrink: 0;
17729
17808
  }
17730
17809
 
17731
- .muka-swipe-actions__button--destructive {
17732
- background-color: var(--color-state-error-default);
17733
- color: var(--color-text-default-inverse);
17810
+ .muka-social-sign-in-button__icon > *,
17811
+ .muka-social-sign-in-button__icon svg {
17812
+ width: auto;
17813
+ height: 100%;
17814
+ max-width: 100%;
17815
+ display: block;
17816
+ }
17817
+
17818
+ .muka-social-sign-in-button__label {
17819
+ display: inline-flex;
17820
+ align-items: center;
17734
17821
  }
17735
17822