@revikornmann/muka-ui 0.45.0 → 0.45.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.
@@ -6,6 +6,7 @@
6
6
  /* Generated by build-fonts.js - DO NOT EDIT */
7
7
  /* Self-hosted brand fonts (SIL OFL). See ./fonts/*.LICENSE.txt */
8
8
 
9
+ /* Funnel Display — latin */
9
10
  @font-face {
10
11
  font-family: 'Funnel Display';
11
12
  font-style: normal;
@@ -15,6 +16,17 @@
15
16
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
16
17
  }
17
18
 
19
+ /* Funnel Display — latin-ext */
20
+ @font-face {
21
+ font-family: 'Funnel Display';
22
+ font-style: normal;
23
+ font-weight: 300 800;
24
+ font-display: swap;
25
+ src: url('./fonts/funnel-display-latin-ext-wght-normal.woff2') format('woff2');
26
+ unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
27
+ }
28
+
29
+ /* Funnel Sans — latin */
18
30
  @font-face {
19
31
  font-family: 'Funnel Sans';
20
32
  font-style: normal;
@@ -24,6 +36,17 @@
24
36
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
25
37
  }
26
38
 
39
+ /* Funnel Sans — latin-ext */
40
+ @font-face {
41
+ font-family: 'Funnel Sans';
42
+ font-style: normal;
43
+ font-weight: 300 800;
44
+ font-display: swap;
45
+ src: url('./fonts/funnel-sans-latin-ext-wght-normal.woff2') format('woff2');
46
+ unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
47
+ }
48
+
49
+ /* Yesteryear — latin */
27
50
  @font-face {
28
51
  font-family: 'Yesteryear';
29
52
  font-style: normal;
@@ -33,6 +56,16 @@
33
56
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
34
57
  }
35
58
 
59
+ /* Yesteryear — latin-ext */
60
+ @font-face {
61
+ font-family: 'Yesteryear';
62
+ font-style: normal;
63
+ font-weight: 400;
64
+ font-display: swap;
65
+ src: url('./fonts/yesteryear-latin-ext-400-normal.woff2') format('woff2');
66
+ unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
67
+ }
68
+
36
69
  /* ========== Base Styles ========== */
37
70
  /* Base styles for Storybook preview */
38
71
  /* Fallback values in case tokens don't load */
@@ -2676,6 +2709,98 @@ body {
2676
2709
  }
2677
2710
 
2678
2711
 
2712
+ /* Typography */
2713
+ .muka-typography-catalog {
2714
+ display: flex;
2715
+ flex-direction: column;
2716
+ gap: 2.5rem;
2717
+ max-width: 52rem;
2718
+ color: var(--color-text-default-default);
2719
+ }
2720
+
2721
+ .muka-typography-catalog__intro {
2722
+ display: flex;
2723
+ flex-direction: column;
2724
+ gap: 0.75rem;
2725
+ }
2726
+
2727
+ .muka-typography-catalog__heading {
2728
+ margin: 0;
2729
+ font-family: var(--text-heading-md-fontFamily);
2730
+ font-weight: var(--text-heading-md-fontWeight);
2731
+ font-size: var(--text-heading-md-fontSize);
2732
+ line-height: var(--text-heading-md-lineHeight);
2733
+ }
2734
+
2735
+ .muka-typography-catalog__lede {
2736
+ margin: 0;
2737
+ font-family: var(--text-body-base-regular-fontFamily);
2738
+ font-weight: var(--text-body-base-regular-fontWeight);
2739
+ font-size: var(--text-body-base-regular-fontSize);
2740
+ line-height: var(--text-body-base-regular-lineHeight);
2741
+ color: var(--color-text-subtle-default);
2742
+ }
2743
+
2744
+ .muka-typography-catalog__lede code {
2745
+ font-family: var(--alias-font-mono-family, ui-monospace, monospace);
2746
+ font-size: 0.875em;
2747
+ }
2748
+
2749
+ .muka-typography-section {
2750
+ display: flex;
2751
+ flex-direction: column;
2752
+ gap: 1rem;
2753
+ }
2754
+
2755
+ .muka-typography-section__header {
2756
+ display: flex;
2757
+ flex-direction: column;
2758
+ gap: 0.35rem;
2759
+ padding-bottom: 0.75rem;
2760
+ border-bottom: 1px solid var(--color-border-default);
2761
+ }
2762
+
2763
+ .muka-typography-section__title {
2764
+ margin: 0;
2765
+ font-family: var(--text-heading-sm-fontFamily);
2766
+ font-weight: var(--text-heading-sm-fontWeight);
2767
+ font-size: var(--text-heading-sm-fontSize);
2768
+ line-height: var(--text-heading-sm-lineHeight);
2769
+ }
2770
+
2771
+ .muka-typography-section__description {
2772
+ margin: 0;
2773
+ font-family: var(--text-body-sm-regular-fontFamily);
2774
+ font-weight: var(--text-body-sm-regular-fontWeight);
2775
+ font-size: var(--text-body-sm-regular-fontSize);
2776
+ line-height: var(--text-body-sm-regular-lineHeight);
2777
+ color: var(--color-text-subtle-default);
2778
+ }
2779
+
2780
+ .muka-typography-section__list {
2781
+ display: flex;
2782
+ flex-direction: column;
2783
+ gap: 1rem;
2784
+ }
2785
+
2786
+ .muka-typography-specimen {
2787
+ display: flex;
2788
+ flex-direction: column;
2789
+ gap: 0.35rem;
2790
+ }
2791
+
2792
+ .muka-typography-specimen__token {
2793
+ font-family: var(--alias-font-mono-family, ui-monospace, monospace);
2794
+ font-size: 0.75rem;
2795
+ line-height: 1;
2796
+ color: var(--color-text-subtle-default);
2797
+ }
2798
+
2799
+ .muka-typography-specimen__sample {
2800
+ margin: 0;
2801
+ }
2802
+
2803
+
2679
2804
  /* TypingIndicator */
2680
2805
  /* TypingIndicator Component Styles */
2681
2806
 
@@ -2898,98 +3023,6 @@ body {
2898
3023
  }
2899
3024
 
2900
3025
 
2901
- /* Typography */
2902
- .muka-typography-catalog {
2903
- display: flex;
2904
- flex-direction: column;
2905
- gap: 2.5rem;
2906
- max-width: 52rem;
2907
- color: var(--color-text-default-default);
2908
- }
2909
-
2910
- .muka-typography-catalog__intro {
2911
- display: flex;
2912
- flex-direction: column;
2913
- gap: 0.75rem;
2914
- }
2915
-
2916
- .muka-typography-catalog__heading {
2917
- margin: 0;
2918
- font-family: var(--text-heading-md-fontFamily);
2919
- font-weight: var(--text-heading-md-fontWeight);
2920
- font-size: var(--text-heading-md-fontSize);
2921
- line-height: var(--text-heading-md-lineHeight);
2922
- }
2923
-
2924
- .muka-typography-catalog__lede {
2925
- margin: 0;
2926
- font-family: var(--text-body-base-regular-fontFamily);
2927
- font-weight: var(--text-body-base-regular-fontWeight);
2928
- font-size: var(--text-body-base-regular-fontSize);
2929
- line-height: var(--text-body-base-regular-lineHeight);
2930
- color: var(--color-text-subtle-default);
2931
- }
2932
-
2933
- .muka-typography-catalog__lede code {
2934
- font-family: var(--alias-font-mono-family, ui-monospace, monospace);
2935
- font-size: 0.875em;
2936
- }
2937
-
2938
- .muka-typography-section {
2939
- display: flex;
2940
- flex-direction: column;
2941
- gap: 1rem;
2942
- }
2943
-
2944
- .muka-typography-section__header {
2945
- display: flex;
2946
- flex-direction: column;
2947
- gap: 0.35rem;
2948
- padding-bottom: 0.75rem;
2949
- border-bottom: 1px solid var(--color-border-default);
2950
- }
2951
-
2952
- .muka-typography-section__title {
2953
- margin: 0;
2954
- font-family: var(--text-heading-sm-fontFamily);
2955
- font-weight: var(--text-heading-sm-fontWeight);
2956
- font-size: var(--text-heading-sm-fontSize);
2957
- line-height: var(--text-heading-sm-lineHeight);
2958
- }
2959
-
2960
- .muka-typography-section__description {
2961
- margin: 0;
2962
- font-family: var(--text-body-sm-regular-fontFamily);
2963
- font-weight: var(--text-body-sm-regular-fontWeight);
2964
- font-size: var(--text-body-sm-regular-fontSize);
2965
- line-height: var(--text-body-sm-regular-lineHeight);
2966
- color: var(--color-text-subtle-default);
2967
- }
2968
-
2969
- .muka-typography-section__list {
2970
- display: flex;
2971
- flex-direction: column;
2972
- gap: 1rem;
2973
- }
2974
-
2975
- .muka-typography-specimen {
2976
- display: flex;
2977
- flex-direction: column;
2978
- gap: 0.35rem;
2979
- }
2980
-
2981
- .muka-typography-specimen__token {
2982
- font-family: var(--alias-font-mono-family, ui-monospace, monospace);
2983
- font-size: 0.75rem;
2984
- line-height: 1;
2985
- color: var(--color-text-subtle-default);
2986
- }
2987
-
2988
- .muka-typography-specimen__sample {
2989
- margin: 0;
2990
- }
2991
-
2992
-
2993
3026
  /* Tooltip */
2994
3027
  /* Tooltip Component Styles */
2995
3028
 
@@ -3026,214 +3059,24 @@ body {
3026
3059
  }
3027
3060
 
3028
3061
 
3029
- /* Toast */
3030
- /* Toast Component Styles - Using Muka Design Tokens */
3062
+ /* Toggle */
3063
+ /* Toggle Component Styles - Using Muka Design Tokens */
3031
3064
 
3032
- .muka-toast {
3065
+ /* Wrapper container */
3066
+ .muka-toggle {
3033
3067
  display: flex;
3034
- align-items: flex-start;
3035
- gap: var(--toast-gap);
3036
- padding: var(--toast-padding-y) var(--toast-padding-x);
3037
- border-radius: var(--toast-radius);
3038
- box-shadow: var(--toast-shadow);
3039
- min-width: var(--toast-width-min);
3040
- max-width: var(--toast-width-max);
3041
- pointer-events: auto;
3042
- animation: muka-toast-slide-in 0.2s ease-out;
3043
- }
3044
-
3045
- /* Entry animation */
3046
- @keyframes muka-toast-slide-in {
3047
- from {
3048
- opacity: 0;
3049
- transform: translateY(8px);
3050
- }
3051
- to {
3052
- opacity: 1;
3053
- transform: translateY(0);
3054
- }
3068
+ align-items: center;
3069
+ gap: var(--spacing-2);
3070
+ position: relative;
3071
+ padding: var(--spacing-4) 0;
3055
3072
  }
3056
3073
 
3057
- /* Position variants (for standalone use - typically managed by ToastProvider) */
3058
- .muka-toast--top-right,
3059
- .muka-toast--top-left,
3060
- .muka-toast--top-center,
3061
- .muka-toast--bottom-right,
3062
- .muka-toast--bottom-left,
3063
- .muka-toast--bottom-center {
3064
- position: fixed;
3065
- z-index: 9999;
3074
+ .muka-toggle--with-caption {
3075
+ padding: var(--spacing-5) 0;
3066
3076
  }
3067
3077
 
3068
- .muka-toast--top-right {
3069
- top: var(--spacing-4);
3070
- right: var(--spacing-4);
3071
- }
3072
-
3073
- .muka-toast--top-left {
3074
- top: var(--spacing-4);
3075
- left: var(--spacing-4);
3076
- }
3077
-
3078
- .muka-toast--top-center {
3079
- top: var(--spacing-4);
3080
- left: 50%;
3081
- transform: translateX(-50%);
3082
- }
3083
-
3084
- .muka-toast--bottom-right {
3085
- bottom: var(--spacing-4);
3086
- right: var(--spacing-4);
3087
- }
3088
-
3089
- .muka-toast--bottom-left {
3090
- bottom: var(--spacing-4);
3091
- left: var(--spacing-4);
3092
- }
3093
-
3094
- .muka-toast--bottom-center {
3095
- bottom: var(--spacing-4);
3096
- left: 50%;
3097
- transform: translateX(-50%);
3098
- }
3099
-
3100
- /* Variant: Info */
3101
- .muka-toast--info {
3102
- background-color: var(--toast-color-info-background);
3103
- color: var(--toast-color-info-foreground);
3104
- }
3105
-
3106
- .muka-toast--info .muka-toast__icon {
3107
- color: var(--toast-color-info-accent);
3108
- }
3109
-
3110
- /* Variant: Success */
3111
- .muka-toast--success {
3112
- background-color: var(--toast-color-success-background);
3113
- color: var(--toast-color-success-foreground);
3114
- }
3115
-
3116
- .muka-toast--success .muka-toast__icon {
3117
- color: var(--toast-color-success-accent);
3118
- }
3119
-
3120
- /* Variant: Warning */
3121
- .muka-toast--warning {
3122
- background-color: var(--toast-color-warning-background);
3123
- color: var(--toast-color-warning-foreground);
3124
- }
3125
-
3126
- .muka-toast--warning .muka-toast__icon {
3127
- color: var(--toast-color-warning-accent);
3128
- }
3129
-
3130
- /* Variant: Error */
3131
- .muka-toast--error {
3132
- background-color: var(--toast-color-error-background);
3133
- color: var(--toast-color-error-foreground);
3134
- }
3135
-
3136
- .muka-toast--error .muka-toast__icon {
3137
- color: var(--toast-color-error-accent);
3138
- }
3139
-
3140
- /* Icon */
3141
- .muka-toast__icon {
3142
- display: flex;
3143
- align-items: center;
3144
- justify-content: center;
3145
- flex-shrink: 0;
3146
- width: var(--toast-icon-size);
3147
- height: var(--toast-icon-size);
3148
- }
3149
-
3150
- .muka-toast__icon svg {
3151
- width: 100%;
3152
- height: 100%;
3153
- }
3154
-
3155
- /* Content */
3156
- .muka-toast__content {
3157
- flex: 1;
3158
- min-width: 0;
3159
- }
3160
-
3161
- .muka-toast__title {
3162
- font-family: var(--text-label-md-semibold-fontFamily);
3163
- font-weight: var(--text-label-md-semibold-fontWeight);
3164
- font-size: var(--text-label-md-semibold-fontSize);
3165
- line-height: var(--text-label-md-semibold-lineHeight);
3166
- margin-bottom: var(--spacing-1);
3167
- }
3168
-
3169
- .muka-toast__message {
3170
- font-family: var(--text-body-sm-regular-fontFamily);
3171
- font-weight: var(--text-body-sm-regular-fontWeight);
3172
- font-size: var(--text-body-sm-regular-fontSize);
3173
- line-height: var(--text-body-sm-regular-lineHeight);
3174
- }
3175
-
3176
- /* Action slot */
3177
- .muka-toast__action {
3178
- display: flex;
3179
- align-items: center;
3180
- flex-shrink: 0;
3181
- }
3182
-
3183
- /* Dismiss button */
3184
- .muka-toast__dismiss {
3185
- display: flex;
3186
- align-items: center;
3187
- justify-content: center;
3188
- flex-shrink: 0;
3189
- width: 24px;
3190
- height: 24px;
3191
- padding: 0;
3192
- margin: -2px -4px -2px 0;
3193
- border: none;
3194
- background: transparent;
3195
- color: inherit;
3196
- opacity: 0.7;
3197
- cursor: pointer;
3198
- border-radius: var(--border-radius-sm);
3199
- transition: opacity 0.15s ease, background-color 0.15s ease;
3200
- }
3201
-
3202
- .muka-toast__dismiss:hover {
3203
- opacity: 1;
3204
- background-color: rgba(0, 0, 0, 0.05);
3205
- }
3206
-
3207
- .muka-toast__dismiss:focus-visible {
3208
- outline: 2px solid var(--color-border-focus);
3209
- outline-offset: 2px;
3210
- opacity: 1;
3211
- }
3212
-
3213
- .muka-toast__dismiss svg {
3214
- width: 16px;
3215
- height: 16px;
3216
- }
3217
-
3218
-
3219
- /* Toggle */
3220
- /* Toggle Component Styles - Using Muka Design Tokens */
3221
-
3222
- /* Wrapper container */
3223
- .muka-toggle {
3224
- display: flex;
3225
- align-items: center;
3226
- gap: var(--spacing-2);
3227
- position: relative;
3228
- padding: var(--spacing-4) 0;
3229
- }
3230
-
3231
- .muka-toggle--with-caption {
3232
- padding: var(--spacing-5) 0;
3233
- }
3234
-
3235
- .muka-toggle--disabled {
3236
- opacity: 0.6;
3078
+ .muka-toggle--disabled {
3079
+ opacity: 0.6;
3237
3080
  }
3238
3081
 
3239
3082
  /* Icon */
@@ -3379,364 +3222,378 @@ body {
3379
3222
  }
3380
3223
 
3381
3224
 
3382
- /* Tile */
3383
- /* Tile Component Styles - Using Muka Design Tokens */
3384
-
3385
- /* ─── Base ────────────────────────────────────────────── */
3225
+ /* Toast */
3226
+ /* Toast Component Styles - Using Muka Design Tokens */
3386
3227
 
3387
- .muka-tile {
3228
+ .muka-toast {
3388
3229
  display: flex;
3389
- color: var(--color-text-default-default);
3230
+ align-items: flex-start;
3231
+ gap: var(--toast-gap);
3232
+ padding: var(--toast-padding-y) var(--toast-padding-x);
3233
+ border-radius: var(--toast-radius);
3234
+ box-shadow: var(--toast-shadow);
3235
+ min-width: var(--toast-width-min);
3236
+ max-width: var(--toast-width-max);
3237
+ pointer-events: auto;
3238
+ animation: muka-toast-slide-in 0.2s ease-out;
3390
3239
  }
3391
3240
 
3392
- .muka-tile--interactive {
3393
- cursor: pointer;
3394
- user-select: none;
3241
+ /* Entry animation */
3242
+ @keyframes muka-toast-slide-in {
3243
+ from {
3244
+ opacity: 0;
3245
+ transform: translateY(8px);
3246
+ }
3247
+ to {
3248
+ opacity: 1;
3249
+ transform: translateY(0);
3250
+ }
3395
3251
  }
3396
3252
 
3397
- .muka-tile--interactive:focus-visible {
3398
- outline: 2px solid var(--color-border-focus);
3399
- outline-offset: 2px;
3400
- border-radius: var(--border-radius-lg);
3253
+ /* Position variants (for standalone use - typically managed by ToastProvider) */
3254
+ .muka-toast--top-right,
3255
+ .muka-toast--top-left,
3256
+ .muka-toast--top-center,
3257
+ .muka-toast--bottom-right,
3258
+ .muka-toast--bottom-left,
3259
+ .muka-toast--bottom-center {
3260
+ position: fixed;
3261
+ z-index: 9999;
3401
3262
  }
3402
3263
 
3403
- /* ─── Image position variants ─────────────────────────── */
3404
-
3405
- .muka-tile--image-top {
3406
- flex-direction: column;
3264
+ .muka-toast--top-right {
3265
+ top: var(--spacing-4);
3266
+ right: var(--spacing-4);
3407
3267
  }
3408
3268
 
3409
- .muka-tile--image-left {
3410
- flex-direction: row;
3269
+ .muka-toast--top-left {
3270
+ top: var(--spacing-4);
3271
+ left: var(--spacing-4);
3411
3272
  }
3412
3273
 
3413
- .muka-tile--image-right {
3414
- flex-direction: row;
3274
+ .muka-toast--top-center {
3275
+ top: var(--spacing-4);
3276
+ left: 50%;
3277
+ transform: translateX(-50%);
3415
3278
  }
3416
3279
 
3417
- /* ─── Gap by size (top) ───────────────────────────────── */
3418
-
3419
- .muka-tile--image-top.muka-tile--lg {
3420
- gap: var(--spacing-6);
3280
+ .muka-toast--bottom-right {
3281
+ bottom: var(--spacing-4);
3282
+ right: var(--spacing-4);
3421
3283
  }
3422
3284
 
3423
- .muka-tile--image-top.muka-tile--md {
3424
- gap: var(--spacing-6);
3425
- width: 320px;
3285
+ .muka-toast--bottom-left {
3286
+ bottom: var(--spacing-4);
3287
+ left: var(--spacing-4);
3426
3288
  }
3427
3289
 
3428
- .muka-tile--image-top.muka-tile--sm {
3429
- gap: var(--spacing-4);
3430
- min-width: 120px;
3290
+ .muka-toast--bottom-center {
3291
+ bottom: var(--spacing-4);
3292
+ left: 50%;
3293
+ transform: translateX(-50%);
3431
3294
  }
3432
3295
 
3433
- /* ─── Gap by size (left/right) ────────────────────────── */
3434
-
3435
- .muka-tile--image-left.muka-tile--lg,
3436
- .muka-tile--image-right.muka-tile--lg {
3437
- gap: var(--spacing-6);
3438
- align-items: center;
3296
+ /* Variant: Info */
3297
+ .muka-toast--info {
3298
+ background-color: var(--toast-color-info-background);
3299
+ color: var(--toast-color-info-foreground);
3439
3300
  }
3440
3301
 
3441
- .muka-tile--image-left.muka-tile--md,
3442
- .muka-tile--image-right.muka-tile--md {
3443
- gap: var(--spacing-6);
3444
- align-items: center;
3302
+ .muka-toast--info .muka-toast__icon {
3303
+ color: var(--toast-color-info-accent);
3445
3304
  }
3446
3305
 
3447
- .muka-tile--image-left.muka-tile--sm,
3448
- .muka-tile--image-right.muka-tile--sm {
3449
- gap: var(--spacing-4);
3450
- align-items: flex-start;
3306
+ /* Variant: Success */
3307
+ .muka-toast--success {
3308
+ background-color: var(--toast-color-success-background);
3309
+ color: var(--toast-color-success-foreground);
3451
3310
  }
3452
3311
 
3453
- /* ─── Photos container ────────────────────────────────── */
3312
+ .muka-toast--success .muka-toast__icon {
3313
+ color: var(--toast-color-success-accent);
3314
+ }
3454
3315
 
3455
- .muka-tile__photos {
3456
- position: relative;
3457
- flex-shrink: 0;
3458
- overflow: hidden;
3459
- display: flex;
3460
- flex-direction: column;
3461
- isolation: isolate;
3316
+ /* Variant: Warning */
3317
+ .muka-toast--warning {
3318
+ background-color: var(--toast-color-warning-background);
3319
+ color: var(--toast-color-warning-foreground);
3462
3320
  }
3463
3321
 
3464
- /* Photos border radius by size */
3465
- .muka-tile--lg .muka-tile__photos,
3466
- .muka-tile--md .muka-tile__photos {
3467
- border-radius: var(--border-radius-lg);
3322
+ .muka-toast--warning .muka-toast__icon {
3323
+ color: var(--toast-color-warning-accent);
3468
3324
  }
3469
3325
 
3470
- .muka-tile--sm .muka-tile__photos {
3471
- border-radius: var(--border-radius-md);
3326
+ /* Variant: Error */
3327
+ .muka-toast--error {
3328
+ background-color: var(--toast-color-error-background);
3329
+ color: var(--toast-color-error-foreground);
3472
3330
  }
3473
3331
 
3474
- /* Photos sizing: top layout */
3475
- .muka-tile--image-top .muka-tile__photos {
3476
- width: 100%;
3332
+ .muka-toast--error .muka-toast__icon {
3333
+ color: var(--toast-color-error-accent);
3477
3334
  }
3478
3335
 
3479
- /* Photos sizing: left/right large */
3480
- .muka-tile--image-left.muka-tile--lg .muka-tile__photos,
3481
- .muka-tile--image-right.muka-tile--lg .muka-tile__photos {
3482
- width: 520px;
3336
+ /* Icon */
3337
+ .muka-toast__icon {
3338
+ display: flex;
3339
+ align-items: center;
3340
+ justify-content: center;
3341
+ flex-shrink: 0;
3342
+ width: var(--toast-icon-size);
3343
+ height: var(--toast-icon-size);
3483
3344
  }
3484
3345
 
3485
- /* Photos sizing: left/right medium */
3486
- .muka-tile--image-left.muka-tile--md .muka-tile__photos,
3487
- .muka-tile--image-right.muka-tile--md .muka-tile__photos {
3488
- width: 320px;
3346
+ .muka-toast__icon svg {
3347
+ width: 100%;
3348
+ height: 100%;
3489
3349
  }
3490
3350
 
3491
- /* Photos sizing: left/right small (single 80x80 thumbnail) */
3492
- .muka-tile--image-left.muka-tile--sm .muka-tile__photos,
3493
- .muka-tile--image-right.muka-tile--sm .muka-tile__photos {
3494
- width: 80px;
3495
- align-self: stretch;
3351
+ /* Content */
3352
+ .muka-toast__content {
3353
+ flex: 1;
3354
+ min-width: 0;
3496
3355
  }
3497
3356
 
3498
- /* ─── Main photo ──────────────────────────────────────── */
3357
+ .muka-toast__title {
3358
+ font-family: var(--text-label-md-semibold-fontFamily);
3359
+ font-weight: var(--text-label-md-semibold-fontWeight);
3360
+ font-size: var(--text-label-md-semibold-fontSize);
3361
+ line-height: var(--text-label-md-semibold-lineHeight);
3362
+ margin-bottom: var(--spacing-1);
3363
+ }
3499
3364
 
3500
- .muka-tile__photo-main {
3501
- position: relative;
3502
- width: 100%;
3503
- overflow: hidden;
3365
+ .muka-toast__message {
3366
+ font-family: var(--text-body-sm-regular-fontFamily);
3367
+ font-weight: var(--text-body-sm-regular-fontWeight);
3368
+ font-size: var(--text-body-sm-regular-fontSize);
3369
+ line-height: var(--text-body-sm-regular-lineHeight);
3370
+ }
3371
+
3372
+ /* Action slot */
3373
+ .muka-toast__action {
3374
+ display: flex;
3375
+ align-items: center;
3504
3376
  flex-shrink: 0;
3505
3377
  }
3506
3378
 
3507
- /* 16:9 aspect for lg and md */
3508
- .muka-tile--lg .muka-tile__photo-main,
3509
- .muka-tile--md .muka-tile__photo-main {
3510
- aspect-ratio: 1280 / 720;
3379
+ /* Dismiss button */
3380
+ .muka-toast__dismiss {
3381
+ display: flex;
3382
+ align-items: center;
3383
+ justify-content: center;
3384
+ flex-shrink: 0;
3385
+ width: 24px;
3386
+ height: 24px;
3387
+ padding: 0;
3388
+ margin: -2px -4px -2px 0;
3389
+ border: none;
3390
+ background: transparent;
3391
+ color: inherit;
3392
+ opacity: 0.7;
3393
+ cursor: pointer;
3394
+ border-radius: var(--border-radius-sm);
3395
+ transition: opacity 0.15s ease, background-color 0.15s ease;
3511
3396
  }
3512
3397
 
3513
- /* 1:1 aspect for top + sm */
3514
- .muka-tile--image-top.muka-tile--sm .muka-tile__photo-main {
3515
- aspect-ratio: 1 / 1;
3398
+ .muka-toast__dismiss:hover {
3399
+ opacity: 1;
3400
+ background-color: rgba(0, 0, 0, 0.05);
3516
3401
  }
3517
3402
 
3518
- /* Fixed size for left/right + sm */
3519
- .muka-tile--image-left.muka-tile--sm .muka-tile__photo-main,
3520
- .muka-tile--image-right.muka-tile--sm .muka-tile__photo-main {
3521
- width: 80px;
3522
- height: 80px;
3523
- aspect-ratio: auto;
3403
+ .muka-toast__dismiss:focus-visible {
3404
+ outline: 2px solid var(--color-border-focus);
3405
+ outline-offset: 2px;
3406
+ opacity: 1;
3524
3407
  }
3525
3408
 
3526
- .muka-tile__photo-main img {
3527
- width: 100%;
3528
- height: 100%;
3529
- object-fit: cover;
3530
- display: block;
3409
+ .muka-toast__dismiss svg {
3410
+ width: 16px;
3411
+ height: 16px;
3531
3412
  }
3532
3413
 
3533
- /* ─── Favourite overlay ───────────────────────────────── */
3534
3414
 
3535
- .muka-tile__favourite {
3415
+ /* Thumbnail */
3416
+ /* Thumbnail Component Styles - Using Muka Design Tokens */
3417
+
3418
+ .muka-thumbnail {
3419
+ position: relative;
3420
+ flex-shrink: 0;
3421
+ }
3422
+
3423
+ /* The frame carries the border, background and shape clip. Keeping it separate
3424
+ from the root lets the remove (×) button sit outside the clip (needed for the
3425
+ circular/ellipse shape, whose corners would otherwise clip the button). */
3426
+ .muka-thumbnail__frame {
3536
3427
  position: absolute;
3537
- z-index: 3;
3428
+ inset: 0;
3429
+ overflow: hidden;
3430
+ border: var(--border-width-regular, 1px) solid var(--color-black-alpha-3);
3431
+ border-radius: var(--border-radius-lg);
3432
+ background-color: var(--color-surface-level1);
3538
3433
  }
3539
3434
 
3540
- .muka-tile--lg .muka-tile__favourite,
3541
- .muka-tile--md .muka-tile__favourite {
3542
- top: var(--spacing-4);
3543
- right: var(--spacing-4);
3435
+ /* ─── Shapes ──────────────────────────────────────────── */
3436
+ .muka-thumbnail--4-3 {
3437
+ width: 160px;
3438
+ height: 120px;
3544
3439
  }
3545
3440
 
3546
- .muka-tile--image-top.muka-tile--sm .muka-tile__favourite {
3547
- top: var(--spacing-1);
3548
- right: var(--spacing-1);
3441
+ .muka-thumbnail--1-1 {
3442
+ width: 120px;
3443
+ height: 120px;
3549
3444
  }
3550
3445
 
3551
- /* ─── Thumbnails ──────────────────────────────────────── */
3446
+ .muka-thumbnail--ellipse {
3447
+ width: 120px;
3448
+ height: 120px;
3449
+ }
3552
3450
 
3553
- .muka-tile__thumbnails {
3554
- display: flex;
3555
- gap: 2px;
3556
- overflow: hidden;
3557
- flex-shrink: 0;
3558
- height: 80px;
3451
+ /* Fluid: fill the parent's width; the shape sets the height via aspect-ratio. */
3452
+ .muka-thumbnail--fluid {
3453
+ width: 100%;
3454
+ height: auto;
3455
+ aspect-ratio: 1 / 1;
3559
3456
  }
3560
3457
 
3561
- .muka-tile__thumbnail {
3562
- width: 80px;
3563
- height: 80px;
3564
- flex-shrink: 0;
3565
- overflow: hidden;
3458
+ .muka-thumbnail--fluid.muka-thumbnail--4-3 {
3459
+ aspect-ratio: 4 / 3;
3566
3460
  }
3567
3461
 
3568
- .muka-tile__thumbnail img {
3462
+ .muka-thumbnail--ellipse .muka-thumbnail__frame {
3463
+ border-radius: var(--border-radius-full);
3464
+ }
3465
+
3466
+ /* Image fills the frame, cropped to cover. Sits at scale(1) by default so the
3467
+ interactive hover zoom has a clean origin. */
3468
+ .muka-thumbnail__image {
3469
+ position: absolute;
3470
+ inset: 0;
3569
3471
  width: 100%;
3570
3472
  height: 100%;
3571
3473
  object-fit: cover;
3572
3474
  display: block;
3475
+ transform-origin: center;
3476
+ /* Micro-interaction: hover zoom eases out over the "micro" duration. */
3477
+ transition: transform var(--motion-duration-micro) var(--motion-easing-enter);
3573
3478
  }
3574
3479
 
3575
- /* Gap between main photo and thumbnails */
3576
- .muka-tile__photos > .muka-tile__photo-main + .muka-tile__thumbnails {
3577
- margin-top: 2px;
3480
+ /* ─── Interactive (click-to-enlarge) ──────────────────── */
3481
+ .muka-thumbnail__trigger {
3482
+ position: absolute;
3483
+ inset: 0;
3484
+ padding: 0;
3485
+ border: 0;
3486
+ background: none;
3487
+ cursor: pointer;
3488
+ overflow: hidden;
3578
3489
  }
3579
3490
 
3580
- /* ─── Content section ─────────────────────────────────── */
3581
-
3582
- .muka-tile__content {
3583
- display: flex;
3584
- flex-direction: column;
3585
- flex: 1;
3586
- min-width: 0;
3491
+ .muka-thumbnail__trigger:focus-visible {
3492
+ outline: 2px solid var(--color-border-focus);
3493
+ outline-offset: -2px;
3587
3494
  }
3588
3495
 
3589
- /* Top layout: content has horizontal padding */
3590
- .muka-tile--image-top.muka-tile--lg .muka-tile__content {
3591
- padding: 0 var(--spacing-3);
3592
- gap: var(--spacing-1);
3496
+ /* On hover the image scales up ~8px (160px → 168px) with an ease-out feel. */
3497
+ .muka-thumbnail--interactive:hover .muka-thumbnail__image {
3498
+ transform: scale(1.05);
3593
3499
  }
3594
3500
 
3595
- .muka-tile--image-top.muka-tile--md .muka-tile__content {
3596
- padding: 0 var(--spacing-3);
3597
- gap: var(--spacing-2);
3501
+ /* ─── Loading overlay + progress donut ────────────────── */
3502
+ .muka-thumbnail__overlay {
3503
+ position: absolute;
3504
+ inset: 0;
3505
+ display: flex;
3506
+ align-items: center;
3507
+ justify-content: center;
3508
+ background-color: var(--dialog-color-backdrop);
3598
3509
  }
3599
3510
 
3600
- .muka-tile--image-top.muka-tile--sm .muka-tile__content {
3601
- gap: var(--spacing-2);
3511
+ .muka-thumbnail__progress {
3512
+ width: 40px;
3513
+ height: 40px;
3602
3514
  }
3603
3515
 
3604
- /* Left/right layout: content grows to fill space */
3605
- .muka-tile--image-left .muka-tile__content,
3606
- .muka-tile--image-right .muka-tile__content {
3607
- gap: var(--spacing-3);
3608
- }
3609
-
3610
- .muka-tile--image-left.muka-tile--lg .muka-tile__content,
3611
- .muka-tile--image-right.muka-tile--lg .muka-tile__content {
3612
- padding: 0 var(--spacing-3);
3613
- }
3614
-
3615
- .muka-tile--image-left.muka-tile--md .muka-tile__content,
3616
- .muka-tile--image-right.muka-tile--md .muka-tile__content {
3617
- padding: var(--spacing-2) var(--spacing-3);
3618
- }
3619
-
3620
- .muka-tile--image-left.muka-tile--sm .muka-tile__content,
3621
- .muka-tile--image-right.muka-tile--sm .muka-tile__content {
3622
- gap: var(--spacing-2);
3623
- }
3624
-
3625
- /* ─── Header (heading row + price) ────────────────────── */
3626
-
3627
- .muka-tile__header {
3628
- display: flex;
3629
- align-items: flex-start;
3630
- gap: var(--spacing-4);
3631
- }
3632
-
3633
- /* Small horizontal: row with text and action */
3634
- .muka-tile--sm:not(.muka-tile--image-top) .muka-tile__header {
3635
- gap: var(--spacing-2);
3636
- align-items: center;
3637
- padding-top: var(--spacing-1);
3516
+ /* ─── Error / corrupt state ───────────────────────────── */
3517
+ .muka-thumbnail--error .muka-thumbnail__frame {
3518
+ background-color: var(--alias-color-state-error-muted);
3519
+ border-color: var(--alias-color-state-error-default);
3638
3520
  }
3639
3521
 
3640
- /* ─── Text group ──────────────────────────────────────── */
3641
-
3642
- .muka-tile__text {
3522
+ .muka-thumbnail__error {
3523
+ position: absolute;
3524
+ inset: 0;
3643
3525
  display: flex;
3644
3526
  flex-direction: column;
3645
- flex: 1;
3646
- min-width: 0;
3527
+ align-items: center;
3528
+ justify-content: center;
3647
3529
  gap: var(--spacing-2);
3530
+ padding: var(--spacing-3);
3531
+ text-align: center;
3648
3532
  }
3649
3533
 
3650
- /* ─── Heading typography ──────────────────────────────── */
3651
-
3652
- .muka-tile__heading {
3653
- margin: 0;
3654
- }
3655
-
3656
- .muka-tile--lg .muka-tile__heading {
3657
- font-family: var(--text-label-2xl-semibold-fontFamily);
3658
- font-weight: var(--text-label-2xl-semibold-fontWeight);
3659
- font-size: var(--text-label-2xl-semibold-fontSize);
3660
- line-height: var(--text-label-2xl-semibold-lineHeight);
3661
- color: var(--color-text-default-default);
3662
- }
3663
-
3664
- .muka-tile--md .muka-tile__heading {
3665
- font-family: var(--text-label-xl-semibold-fontFamily);
3666
- font-weight: var(--text-label-xl-semibold-fontWeight);
3667
- font-size: var(--text-label-xl-semibold-fontSize);
3668
- line-height: var(--text-label-xl-semibold-lineHeight);
3669
- color: var(--color-text-default-default);
3670
- }
3671
-
3672
- .muka-tile--sm .muka-tile__heading {
3673
- font-family: var(--text-label-lg-bold-fontFamily);
3674
- font-weight: var(--text-label-lg-bold-fontWeight);
3675
- font-size: var(--text-label-lg-bold-fontSize);
3676
- line-height: var(--text-label-lg-bold-lineHeight);
3677
- color: var(--color-text-default-default);
3678
- }
3679
-
3680
- /* ─── Subheading typography ───────────────────────────── */
3681
-
3682
- .muka-tile__subheading {
3683
- margin: 0;
3684
- color: var(--color-text-subtle-default);
3685
- }
3686
-
3687
- .muka-tile--lg .muka-tile__subheading {
3688
- font-family: var(--text-subheading-md-fontFamily);
3689
- font-weight: var(--text-subheading-md-fontWeight);
3690
- font-size: var(--text-subheading-md-fontSize);
3691
- line-height: var(--text-subheading-md-lineHeight);
3692
- }
3693
-
3694
- .muka-tile--md .muka-tile__subheading,
3695
- .muka-tile--sm .muka-tile__subheading {
3696
- font-family: var(--text-subheading-sm-fontFamily);
3697
- font-weight: var(--text-subheading-sm-fontWeight);
3698
- font-size: var(--text-subheading-sm-fontSize);
3699
- line-height: var(--text-subheading-sm-lineHeight);
3534
+ .muka-thumbnail__error-icon {
3535
+ color: var(--alert-color-error-accent);
3700
3536
  }
3701
3537
 
3702
- /* ─── Description typography ──────────────────────────── */
3703
-
3704
- .muka-tile__description {
3705
- margin: 0;
3706
- color: var(--color-text-default-default);
3538
+ .muka-thumbnail__caption {
3539
+ max-width: 100%;
3540
+ overflow: hidden;
3541
+ text-overflow: ellipsis;
3542
+ white-space: nowrap;
3543
+ color: var(--alert-color-error-accent);
3544
+ font-family: var(--text-body-sm-regular-fontFamily);
3545
+ font-size: var(--text-body-sm-regular-fontSize);
3546
+ font-weight: var(--text-body-sm-regular-fontWeight);
3547
+ line-height: var(--text-body-sm-regular-lineHeight);
3707
3548
  }
3708
3549
 
3709
- .muka-tile--lg .muka-tile__description {
3710
- font-family: var(--text-body-lg-regular-fontFamily);
3711
- font-weight: var(--text-body-lg-regular-fontWeight);
3712
- font-size: var(--text-body-lg-regular-fontSize);
3713
- line-height: var(--text-body-lg-regular-lineHeight);
3550
+ /* ─── Remove (×) button ───────────────────────────────── */
3551
+ .muka-thumbnail__remove {
3552
+ position: absolute;
3553
+ top: var(--spacing-2);
3554
+ right: var(--spacing-2);
3555
+ display: flex;
3556
+ align-items: center;
3557
+ justify-content: center;
3558
+ width: var(--size-2xl);
3559
+ height: var(--size-2xl);
3560
+ padding: 0;
3561
+ color: var(--button-color-tertiary-foreground-default);
3562
+ background-color: var(--button-color-tertiary-background-default);
3563
+ border: var(--border-width-regular, 1px) solid var(--button-color-tertiary-border-default);
3564
+ border-radius: var(--border-radius-lg);
3565
+ cursor: pointer;
3566
+ transition: background-color var(--motion-duration-micro) var(--motion-easing-enter),
3567
+ border-color var(--motion-duration-micro) var(--motion-easing-enter);
3714
3568
  }
3715
3569
 
3716
- .muka-tile--md .muka-tile__description,
3717
- .muka-tile--sm .muka-tile__description {
3718
- font-family: var(--text-body-base-regular-fontFamily);
3719
- font-weight: var(--text-body-base-regular-fontWeight);
3720
- font-size: var(--text-body-base-regular-fontSize);
3721
- line-height: var(--text-body-base-regular-lineHeight);
3570
+ .muka-thumbnail__remove:hover {
3571
+ color: var(--button-color-tertiary-foreground-hover);
3572
+ background-color: var(--button-color-tertiary-background-hover);
3573
+ border-color: var(--button-color-tertiary-border-hover);
3722
3574
  }
3723
3575
 
3724
- /* Description overflow for medium */
3725
- .muka-tile--md .muka-tile__description {
3726
- overflow: hidden;
3727
- text-overflow: ellipsis;
3576
+ .muka-thumbnail__remove:active {
3577
+ color: var(--button-color-tertiary-foreground-pressed);
3578
+ background-color: var(--button-color-tertiary-background-pressed);
3579
+ border-color: var(--button-color-tertiary-border-pressed);
3728
3580
  }
3729
3581
 
3730
- /* ─── Price slot ──────────────────────────────────────── */
3731
-
3732
- .muka-tile__price {
3733
- flex-shrink: 0;
3582
+ .muka-thumbnail__remove:focus-visible {
3583
+ outline: 2px solid var(--color-border-focus);
3584
+ outline-offset: 2px;
3734
3585
  }
3735
3586
 
3736
- /* ─── Action slot ─────────────────────────────────────── */
3587
+ /* ─── Reduced motion ──────────────────────────────────── */
3588
+ @media (prefers-reduced-motion: reduce) {
3589
+ .muka-thumbnail__image,
3590
+ .muka-thumbnail__remove {
3591
+ transition: none;
3592
+ }
3737
3593
 
3738
- .muka-tile__action {
3739
- flex-shrink: 0;
3594
+ .muka-thumbnail--interactive:hover .muka-thumbnail__image {
3595
+ transform: none;
3596
+ }
3740
3597
  }
3741
3598
 
3742
3599
 
@@ -4176,188 +4033,364 @@ body {
4176
4033
  }
4177
4034
 
4178
4035
 
4179
- /* Thumbnail */
4180
- /* Thumbnail Component Styles - Using Muka Design Tokens */
4036
+ /* Tile */
4037
+ /* Tile Component Styles - Using Muka Design Tokens */
4181
4038
 
4182
- .muka-thumbnail {
4039
+ /* ─── Base ────────────────────────────────────────────── */
4040
+
4041
+ .muka-tile {
4042
+ display: flex;
4043
+ color: var(--color-text-default-default);
4044
+ }
4045
+
4046
+ .muka-tile--interactive {
4047
+ cursor: pointer;
4048
+ user-select: none;
4049
+ }
4050
+
4051
+ .muka-tile--interactive:focus-visible {
4052
+ outline: 2px solid var(--color-border-focus);
4053
+ outline-offset: 2px;
4054
+ border-radius: var(--border-radius-lg);
4055
+ }
4056
+
4057
+ /* ─── Image position variants ─────────────────────────── */
4058
+
4059
+ .muka-tile--image-top {
4060
+ flex-direction: column;
4061
+ }
4062
+
4063
+ .muka-tile--image-left {
4064
+ flex-direction: row;
4065
+ }
4066
+
4067
+ .muka-tile--image-right {
4068
+ flex-direction: row;
4069
+ }
4070
+
4071
+ /* ─── Gap by size (top) ───────────────────────────────── */
4072
+
4073
+ .muka-tile--image-top.muka-tile--lg {
4074
+ gap: var(--spacing-6);
4075
+ }
4076
+
4077
+ .muka-tile--image-top.muka-tile--md {
4078
+ gap: var(--spacing-6);
4079
+ width: 320px;
4080
+ }
4081
+
4082
+ .muka-tile--image-top.muka-tile--sm {
4083
+ gap: var(--spacing-4);
4084
+ min-width: 120px;
4085
+ }
4086
+
4087
+ /* ─── Gap by size (left/right) ────────────────────────── */
4088
+
4089
+ .muka-tile--image-left.muka-tile--lg,
4090
+ .muka-tile--image-right.muka-tile--lg {
4091
+ gap: var(--spacing-6);
4092
+ align-items: center;
4093
+ }
4094
+
4095
+ .muka-tile--image-left.muka-tile--md,
4096
+ .muka-tile--image-right.muka-tile--md {
4097
+ gap: var(--spacing-6);
4098
+ align-items: center;
4099
+ }
4100
+
4101
+ .muka-tile--image-left.muka-tile--sm,
4102
+ .muka-tile--image-right.muka-tile--sm {
4103
+ gap: var(--spacing-4);
4104
+ align-items: flex-start;
4105
+ }
4106
+
4107
+ /* ─── Photos container ────────────────────────────────── */
4108
+
4109
+ .muka-tile__photos {
4183
4110
  position: relative;
4184
4111
  flex-shrink: 0;
4112
+ overflow: hidden;
4113
+ display: flex;
4114
+ flex-direction: column;
4115
+ isolation: isolate;
4185
4116
  }
4186
4117
 
4187
- /* The frame carries the border, background and shape clip. Keeping it separate
4188
- from the root lets the remove (×) button sit outside the clip (needed for the
4189
- circular/ellipse shape, whose corners would otherwise clip the button). */
4190
- .muka-thumbnail__frame {
4191
- position: absolute;
4192
- inset: 0;
4193
- overflow: hidden;
4194
- border: var(--border-width-regular, 1px) solid var(--color-black-alpha-3);
4118
+ /* Photos border radius by size */
4119
+ .muka-tile--lg .muka-tile__photos,
4120
+ .muka-tile--md .muka-tile__photos {
4195
4121
  border-radius: var(--border-radius-lg);
4196
- background-color: var(--color-surface-level1);
4197
4122
  }
4198
4123
 
4199
- /* ─── Shapes ──────────────────────────────────────────── */
4200
- .muka-thumbnail--4-3 {
4201
- width: 160px;
4202
- height: 120px;
4124
+ .muka-tile--sm .muka-tile__photos {
4125
+ border-radius: var(--border-radius-md);
4203
4126
  }
4204
4127
 
4205
- .muka-thumbnail--1-1 {
4206
- width: 120px;
4207
- height: 120px;
4128
+ /* Photos sizing: top layout */
4129
+ .muka-tile--image-top .muka-tile__photos {
4130
+ width: 100%;
4208
4131
  }
4209
4132
 
4210
- .muka-thumbnail--ellipse {
4211
- width: 120px;
4212
- height: 120px;
4133
+ /* Photos sizing: left/right large */
4134
+ .muka-tile--image-left.muka-tile--lg .muka-tile__photos,
4135
+ .muka-tile--image-right.muka-tile--lg .muka-tile__photos {
4136
+ width: 520px;
4213
4137
  }
4214
4138
 
4215
- /* Fluid: fill the parent's width; the shape sets the height via aspect-ratio. */
4216
- .muka-thumbnail--fluid {
4139
+ /* Photos sizing: left/right medium */
4140
+ .muka-tile--image-left.muka-tile--md .muka-tile__photos,
4141
+ .muka-tile--image-right.muka-tile--md .muka-tile__photos {
4142
+ width: 320px;
4143
+ }
4144
+
4145
+ /* Photos sizing: left/right small (single 80x80 thumbnail) */
4146
+ .muka-tile--image-left.muka-tile--sm .muka-tile__photos,
4147
+ .muka-tile--image-right.muka-tile--sm .muka-tile__photos {
4148
+ width: 80px;
4149
+ align-self: stretch;
4150
+ }
4151
+
4152
+ /* ─── Main photo ──────────────────────────────────────── */
4153
+
4154
+ .muka-tile__photo-main {
4155
+ position: relative;
4217
4156
  width: 100%;
4218
- height: auto;
4219
- aspect-ratio: 1 / 1;
4157
+ overflow: hidden;
4158
+ flex-shrink: 0;
4220
4159
  }
4221
4160
 
4222
- .muka-thumbnail--fluid.muka-thumbnail--4-3 {
4223
- aspect-ratio: 4 / 3;
4161
+ /* 16:9 aspect for lg and md */
4162
+ .muka-tile--lg .muka-tile__photo-main,
4163
+ .muka-tile--md .muka-tile__photo-main {
4164
+ aspect-ratio: 1280 / 720;
4224
4165
  }
4225
4166
 
4226
- .muka-thumbnail--ellipse .muka-thumbnail__frame {
4227
- border-radius: var(--border-radius-full);
4167
+ /* 1:1 aspect for top + sm */
4168
+ .muka-tile--image-top.muka-tile--sm .muka-tile__photo-main {
4169
+ aspect-ratio: 1 / 1;
4228
4170
  }
4229
4171
 
4230
- /* Image fills the frame, cropped to cover. Sits at scale(1) by default so the
4231
- interactive hover zoom has a clean origin. */
4232
- .muka-thumbnail__image {
4233
- position: absolute;
4234
- inset: 0;
4172
+ /* Fixed size for left/right + sm */
4173
+ .muka-tile--image-left.muka-tile--sm .muka-tile__photo-main,
4174
+ .muka-tile--image-right.muka-tile--sm .muka-tile__photo-main {
4175
+ width: 80px;
4176
+ height: 80px;
4177
+ aspect-ratio: auto;
4178
+ }
4179
+
4180
+ .muka-tile__photo-main img {
4235
4181
  width: 100%;
4236
4182
  height: 100%;
4237
4183
  object-fit: cover;
4238
4184
  display: block;
4239
- transform-origin: center;
4240
- /* Micro-interaction: hover zoom eases out over the "micro" duration. */
4241
- transition: transform var(--motion-duration-micro) var(--motion-easing-enter);
4242
4185
  }
4243
4186
 
4244
- /* ─── Interactive (click-to-enlarge) ──────────────────── */
4245
- .muka-thumbnail__trigger {
4187
+ /* ─── Favourite overlay ───────────────────────────────── */
4188
+
4189
+ .muka-tile__favourite {
4246
4190
  position: absolute;
4247
- inset: 0;
4248
- padding: 0;
4249
- border: 0;
4250
- background: none;
4251
- cursor: pointer;
4191
+ z-index: 3;
4192
+ }
4193
+
4194
+ .muka-tile--lg .muka-tile__favourite,
4195
+ .muka-tile--md .muka-tile__favourite {
4196
+ top: var(--spacing-4);
4197
+ right: var(--spacing-4);
4198
+ }
4199
+
4200
+ .muka-tile--image-top.muka-tile--sm .muka-tile__favourite {
4201
+ top: var(--spacing-1);
4202
+ right: var(--spacing-1);
4203
+ }
4204
+
4205
+ /* ─── Thumbnails ──────────────────────────────────────── */
4206
+
4207
+ .muka-tile__thumbnails {
4208
+ display: flex;
4209
+ gap: 2px;
4252
4210
  overflow: hidden;
4211
+ flex-shrink: 0;
4212
+ height: 80px;
4253
4213
  }
4254
4214
 
4255
- .muka-thumbnail__trigger:focus-visible {
4256
- outline: 2px solid var(--color-border-focus);
4257
- outline-offset: -2px;
4215
+ .muka-tile__thumbnail {
4216
+ width: 80px;
4217
+ height: 80px;
4218
+ flex-shrink: 0;
4219
+ overflow: hidden;
4258
4220
  }
4259
4221
 
4260
- /* On hover the image scales up ~8px (160px → 168px) with an ease-out feel. */
4261
- .muka-thumbnail--interactive:hover .muka-thumbnail__image {
4262
- transform: scale(1.05);
4222
+ .muka-tile__thumbnail img {
4223
+ width: 100%;
4224
+ height: 100%;
4225
+ object-fit: cover;
4226
+ display: block;
4263
4227
  }
4264
4228
 
4265
- /* ─── Loading overlay + progress donut ────────────────── */
4266
- .muka-thumbnail__overlay {
4267
- position: absolute;
4268
- inset: 0;
4229
+ /* Gap between main photo and thumbnails */
4230
+ .muka-tile__photos > .muka-tile__photo-main + .muka-tile__thumbnails {
4231
+ margin-top: 2px;
4232
+ }
4233
+
4234
+ /* ─── Content section ─────────────────────────────────── */
4235
+
4236
+ .muka-tile__content {
4269
4237
  display: flex;
4238
+ flex-direction: column;
4239
+ flex: 1;
4240
+ min-width: 0;
4241
+ }
4242
+
4243
+ /* Top layout: content has horizontal padding */
4244
+ .muka-tile--image-top.muka-tile--lg .muka-tile__content {
4245
+ padding: 0 var(--spacing-3);
4246
+ gap: var(--spacing-1);
4247
+ }
4248
+
4249
+ .muka-tile--image-top.muka-tile--md .muka-tile__content {
4250
+ padding: 0 var(--spacing-3);
4251
+ gap: var(--spacing-2);
4252
+ }
4253
+
4254
+ .muka-tile--image-top.muka-tile--sm .muka-tile__content {
4255
+ gap: var(--spacing-2);
4256
+ }
4257
+
4258
+ /* Left/right layout: content grows to fill space */
4259
+ .muka-tile--image-left .muka-tile__content,
4260
+ .muka-tile--image-right .muka-tile__content {
4261
+ gap: var(--spacing-3);
4262
+ }
4263
+
4264
+ .muka-tile--image-left.muka-tile--lg .muka-tile__content,
4265
+ .muka-tile--image-right.muka-tile--lg .muka-tile__content {
4266
+ padding: 0 var(--spacing-3);
4267
+ }
4268
+
4269
+ .muka-tile--image-left.muka-tile--md .muka-tile__content,
4270
+ .muka-tile--image-right.muka-tile--md .muka-tile__content {
4271
+ padding: var(--spacing-2) var(--spacing-3);
4272
+ }
4273
+
4274
+ .muka-tile--image-left.muka-tile--sm .muka-tile__content,
4275
+ .muka-tile--image-right.muka-tile--sm .muka-tile__content {
4276
+ gap: var(--spacing-2);
4277
+ }
4278
+
4279
+ /* ─── Header (heading row + price) ────────────────────── */
4280
+
4281
+ .muka-tile__header {
4282
+ display: flex;
4283
+ align-items: flex-start;
4284
+ gap: var(--spacing-4);
4285
+ }
4286
+
4287
+ /* Small horizontal: row with text and action */
4288
+ .muka-tile--sm:not(.muka-tile--image-top) .muka-tile__header {
4289
+ gap: var(--spacing-2);
4270
4290
  align-items: center;
4271
- justify-content: center;
4272
- background-color: var(--dialog-color-backdrop);
4291
+ padding-top: var(--spacing-1);
4292
+ }
4293
+
4294
+ /* ─── Text group ──────────────────────────────────────── */
4295
+
4296
+ .muka-tile__text {
4297
+ display: flex;
4298
+ flex-direction: column;
4299
+ flex: 1;
4300
+ min-width: 0;
4301
+ gap: var(--spacing-2);
4302
+ }
4303
+
4304
+ /* ─── Heading typography ──────────────────────────────── */
4305
+
4306
+ .muka-tile__heading {
4307
+ margin: 0;
4308
+ }
4309
+
4310
+ .muka-tile--lg .muka-tile__heading {
4311
+ font-family: var(--text-label-2xl-semibold-fontFamily);
4312
+ font-weight: var(--text-label-2xl-semibold-fontWeight);
4313
+ font-size: var(--text-label-2xl-semibold-fontSize);
4314
+ line-height: var(--text-label-2xl-semibold-lineHeight);
4315
+ color: var(--color-text-default-default);
4316
+ }
4317
+
4318
+ .muka-tile--md .muka-tile__heading {
4319
+ font-family: var(--text-label-xl-semibold-fontFamily);
4320
+ font-weight: var(--text-label-xl-semibold-fontWeight);
4321
+ font-size: var(--text-label-xl-semibold-fontSize);
4322
+ line-height: var(--text-label-xl-semibold-lineHeight);
4323
+ color: var(--color-text-default-default);
4324
+ }
4325
+
4326
+ .muka-tile--sm .muka-tile__heading {
4327
+ font-family: var(--text-label-lg-bold-fontFamily);
4328
+ font-weight: var(--text-label-lg-bold-fontWeight);
4329
+ font-size: var(--text-label-lg-bold-fontSize);
4330
+ line-height: var(--text-label-lg-bold-lineHeight);
4331
+ color: var(--color-text-default-default);
4332
+ }
4333
+
4334
+ /* ─── Subheading typography ───────────────────────────── */
4335
+
4336
+ .muka-tile__subheading {
4337
+ margin: 0;
4338
+ color: var(--color-text-subtle-default);
4339
+ }
4340
+
4341
+ .muka-tile--lg .muka-tile__subheading {
4342
+ font-family: var(--text-subheading-md-fontFamily);
4343
+ font-weight: var(--text-subheading-md-fontWeight);
4344
+ font-size: var(--text-subheading-md-fontSize);
4345
+ line-height: var(--text-subheading-md-lineHeight);
4273
4346
  }
4274
4347
 
4275
- .muka-thumbnail__progress {
4276
- width: 40px;
4277
- height: 40px;
4348
+ .muka-tile--md .muka-tile__subheading,
4349
+ .muka-tile--sm .muka-tile__subheading {
4350
+ font-family: var(--text-subheading-sm-fontFamily);
4351
+ font-weight: var(--text-subheading-sm-fontWeight);
4352
+ font-size: var(--text-subheading-sm-fontSize);
4353
+ line-height: var(--text-subheading-sm-lineHeight);
4278
4354
  }
4279
4355
 
4280
- /* ─── Error / corrupt state ───────────────────────────── */
4281
- .muka-thumbnail--error .muka-thumbnail__frame {
4282
- background-color: var(--alias-color-state-error-muted);
4283
- border-color: var(--alias-color-state-error-default);
4356
+ /* ─── Description typography ──────────────────────────── */
4357
+
4358
+ .muka-tile__description {
4359
+ margin: 0;
4360
+ color: var(--color-text-default-default);
4284
4361
  }
4285
4362
 
4286
- .muka-thumbnail__error {
4287
- position: absolute;
4288
- inset: 0;
4289
- display: flex;
4290
- flex-direction: column;
4291
- align-items: center;
4292
- justify-content: center;
4293
- gap: var(--spacing-2);
4294
- padding: var(--spacing-3);
4295
- text-align: center;
4363
+ .muka-tile--lg .muka-tile__description {
4364
+ font-family: var(--text-body-lg-regular-fontFamily);
4365
+ font-weight: var(--text-body-lg-regular-fontWeight);
4366
+ font-size: var(--text-body-lg-regular-fontSize);
4367
+ line-height: var(--text-body-lg-regular-lineHeight);
4296
4368
  }
4297
4369
 
4298
- .muka-thumbnail__error-icon {
4299
- color: var(--alert-color-error-accent);
4370
+ .muka-tile--md .muka-tile__description,
4371
+ .muka-tile--sm .muka-tile__description {
4372
+ font-family: var(--text-body-base-regular-fontFamily);
4373
+ font-weight: var(--text-body-base-regular-fontWeight);
4374
+ font-size: var(--text-body-base-regular-fontSize);
4375
+ line-height: var(--text-body-base-regular-lineHeight);
4300
4376
  }
4301
4377
 
4302
- .muka-thumbnail__caption {
4303
- max-width: 100%;
4378
+ /* Description overflow for medium */
4379
+ .muka-tile--md .muka-tile__description {
4304
4380
  overflow: hidden;
4305
4381
  text-overflow: ellipsis;
4306
- white-space: nowrap;
4307
- color: var(--alert-color-error-accent);
4308
- font-family: var(--text-body-sm-regular-fontFamily);
4309
- font-size: var(--text-body-sm-regular-fontSize);
4310
- font-weight: var(--text-body-sm-regular-fontWeight);
4311
- line-height: var(--text-body-sm-regular-lineHeight);
4312
- }
4313
-
4314
- /* ─── Remove (×) button ───────────────────────────────── */
4315
- .muka-thumbnail__remove {
4316
- position: absolute;
4317
- top: var(--spacing-2);
4318
- right: var(--spacing-2);
4319
- display: flex;
4320
- align-items: center;
4321
- justify-content: center;
4322
- width: var(--size-2xl);
4323
- height: var(--size-2xl);
4324
- padding: 0;
4325
- color: var(--button-color-tertiary-foreground-default);
4326
- background-color: var(--button-color-tertiary-background-default);
4327
- border: var(--border-width-regular, 1px) solid var(--button-color-tertiary-border-default);
4328
- border-radius: var(--border-radius-lg);
4329
- cursor: pointer;
4330
- transition: background-color var(--motion-duration-micro) var(--motion-easing-enter),
4331
- border-color var(--motion-duration-micro) var(--motion-easing-enter);
4332
- }
4333
-
4334
- .muka-thumbnail__remove:hover {
4335
- color: var(--button-color-tertiary-foreground-hover);
4336
- background-color: var(--button-color-tertiary-background-hover);
4337
- border-color: var(--button-color-tertiary-border-hover);
4338
4382
  }
4339
4383
 
4340
- .muka-thumbnail__remove:active {
4341
- color: var(--button-color-tertiary-foreground-pressed);
4342
- background-color: var(--button-color-tertiary-background-pressed);
4343
- border-color: var(--button-color-tertiary-border-pressed);
4344
- }
4384
+ /* ─── Price slot ──────────────────────────────────────── */
4345
4385
 
4346
- .muka-thumbnail__remove:focus-visible {
4347
- outline: 2px solid var(--color-border-focus);
4348
- outline-offset: 2px;
4386
+ .muka-tile__price {
4387
+ flex-shrink: 0;
4349
4388
  }
4350
4389
 
4351
- /* ─── Reduced motion ──────────────────────────────────── */
4352
- @media (prefers-reduced-motion: reduce) {
4353
- .muka-thumbnail__image,
4354
- .muka-thumbnail__remove {
4355
- transition: none;
4356
- }
4390
+ /* ─── Action slot ─────────────────────────────────────── */
4357
4391
 
4358
- .muka-thumbnail--interactive:hover .muka-thumbnail__image {
4359
- transform: none;
4360
- }
4392
+ .muka-tile__action {
4393
+ flex-shrink: 0;
4361
4394
  }
4362
4395
 
4363
4396
 
@@ -4873,6 +4906,84 @@ body {
4873
4906
  }
4874
4907
 
4875
4908
 
4909
+ /* Spinner */
4910
+ /* Spinner Component Styles */
4911
+
4912
+ .muka-spinner {
4913
+ display: inline-flex;
4914
+ align-items: center;
4915
+ justify-content: center;
4916
+ color: var(--color-text-default-default);
4917
+ line-height: 0;
4918
+ }
4919
+
4920
+ .muka-spinner--subtle {
4921
+ color: var(--color-text-subtle-default);
4922
+ }
4923
+
4924
+ .muka-spinner--inverse {
4925
+ color: var(--color-text-default-inverse);
4926
+ }
4927
+
4928
+ .muka-spinner__circle {
4929
+ display: inline-block;
4930
+ border-radius: 50%;
4931
+ border-style: solid;
4932
+ border-color: currentColor;
4933
+ border-right-color: transparent;
4934
+ animation: muka-spinner-rotate 0.7s linear infinite;
4935
+ box-sizing: border-box;
4936
+ }
4937
+
4938
+ /* ─── Sizes ───────────────────────────────────────────── */
4939
+
4940
+ .muka-spinner--sm .muka-spinner__circle {
4941
+ width: 16px;
4942
+ height: 16px;
4943
+ border-width: 2px;
4944
+ }
4945
+
4946
+ .muka-spinner--md .muka-spinner__circle {
4947
+ width: 20px;
4948
+ height: 20px;
4949
+ border-width: 2px;
4950
+ }
4951
+
4952
+ .muka-spinner--lg .muka-spinner__circle {
4953
+ width: 24px;
4954
+ height: 24px;
4955
+ border-width: 3px;
4956
+ }
4957
+
4958
+ /* ─── Visually-hidden label ───────────────────────────── */
4959
+
4960
+ .muka-spinner__sr-label {
4961
+ position: absolute;
4962
+ width: 1px;
4963
+ height: 1px;
4964
+ padding: 0;
4965
+ margin: -1px;
4966
+ overflow: hidden;
4967
+ clip: rect(0, 0, 0, 0);
4968
+ white-space: nowrap;
4969
+ border: 0;
4970
+ }
4971
+
4972
+ /* ─── Reduced motion ──────────────────────────────────── */
4973
+
4974
+ @keyframes muka-spinner-rotate {
4975
+ to {
4976
+ transform: rotate(360deg);
4977
+ }
4978
+ }
4979
+
4980
+ @media (prefers-reduced-motion: reduce) {
4981
+ .muka-spinner__circle {
4982
+ animation-duration: 2.5s;
4983
+ }
4984
+ }
4985
+
4986
+
4876
4987
  /* SpecList */
4877
4988
  /* SpecList Component Styles */
4878
4989
 
@@ -16889,81 +17000,3 @@ button.muka-chat-photo-grid__tile:focus-visible {
16889
17000
  border-bottom: none;
16890
17001
  }
16891
17002
 
16892
-
16893
- /* Spinner */
16894
- /* Spinner Component Styles */
16895
-
16896
- .muka-spinner {
16897
- display: inline-flex;
16898
- align-items: center;
16899
- justify-content: center;
16900
- color: var(--color-text-default-default);
16901
- line-height: 0;
16902
- }
16903
-
16904
- .muka-spinner--subtle {
16905
- color: var(--color-text-subtle-default);
16906
- }
16907
-
16908
- .muka-spinner--inverse {
16909
- color: var(--color-text-default-inverse);
16910
- }
16911
-
16912
- .muka-spinner__circle {
16913
- display: inline-block;
16914
- border-radius: 50%;
16915
- border-style: solid;
16916
- border-color: currentColor;
16917
- border-right-color: transparent;
16918
- animation: muka-spinner-rotate 0.7s linear infinite;
16919
- box-sizing: border-box;
16920
- }
16921
-
16922
- /* ─── Sizes ───────────────────────────────────────────── */
16923
-
16924
- .muka-spinner--sm .muka-spinner__circle {
16925
- width: 16px;
16926
- height: 16px;
16927
- border-width: 2px;
16928
- }
16929
-
16930
- .muka-spinner--md .muka-spinner__circle {
16931
- width: 20px;
16932
- height: 20px;
16933
- border-width: 2px;
16934
- }
16935
-
16936
- .muka-spinner--lg .muka-spinner__circle {
16937
- width: 24px;
16938
- height: 24px;
16939
- border-width: 3px;
16940
- }
16941
-
16942
- /* ─── Visually-hidden label ───────────────────────────── */
16943
-
16944
- .muka-spinner__sr-label {
16945
- position: absolute;
16946
- width: 1px;
16947
- height: 1px;
16948
- padding: 0;
16949
- margin: -1px;
16950
- overflow: hidden;
16951
- clip: rect(0, 0, 0, 0);
16952
- white-space: nowrap;
16953
- border: 0;
16954
- }
16955
-
16956
- /* ─── Reduced motion ──────────────────────────────────── */
16957
-
16958
- @keyframes muka-spinner-rotate {
16959
- to {
16960
- transform: rotate(360deg);
16961
- }
16962
- }
16963
-
16964
- @media (prefers-reduced-motion: reduce) {
16965
- .muka-spinner__circle {
16966
- animation-duration: 2.5s;
16967
- }
16968
- }
16969
-