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