@revikornmann/muka-ui 0.39.0 → 0.41.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (30) hide show
  1. package/dist/cjs/components/Breadcrumb/Breadcrumb.css +28 -0
  2. package/dist/cjs/components/Breadcrumb/Breadcrumb.js +2 -1
  3. package/dist/cjs/components/Breadcrumb/Breadcrumb.js.map +1 -1
  4. package/dist/cjs/components/PlanningGantt/PlanningGantt.css +58 -0
  5. package/dist/cjs/components/PlanningGantt/PlanningGantt.js +5 -3
  6. package/dist/cjs/components/PlanningGantt/PlanningGantt.js.map +1 -1
  7. package/dist/cjs/components/ProfileBadge/ProfileBadge.js +15 -8
  8. package/dist/cjs/components/ProfileBadge/ProfileBadge.js.map +1 -1
  9. package/dist/esm/components/Breadcrumb/Breadcrumb.css +28 -0
  10. package/dist/esm/components/Breadcrumb/Breadcrumb.js +2 -1
  11. package/dist/esm/components/Breadcrumb/Breadcrumb.js.map +1 -1
  12. package/dist/esm/components/PlanningGantt/PlanningGantt.css +58 -0
  13. package/dist/esm/components/PlanningGantt/PlanningGantt.js +6 -4
  14. package/dist/esm/components/PlanningGantt/PlanningGantt.js.map +1 -1
  15. package/dist/esm/components/ProfileBadge/ProfileBadge.js +12 -7
  16. package/dist/esm/components/ProfileBadge/ProfileBadge.js.map +1 -1
  17. package/dist/styles/components/Breadcrumb.css +28 -0
  18. package/dist/styles/components/PlanningGantt.css +58 -0
  19. package/dist/styles/index.css +1766 -1680
  20. package/dist/styles/muka-dark.css +1766 -1680
  21. package/dist/styles/muka-light.css +1766 -1680
  22. package/dist/styles/wireframe-dark.css +1766 -1680
  23. package/dist/styles/wireframe-light.css +1766 -1680
  24. package/dist/types/components/Breadcrumb/Breadcrumb.d.ts +7 -0
  25. package/dist/types/components/Breadcrumb/Breadcrumb.d.ts.map +1 -1
  26. package/dist/types/components/PlanningGantt/PlanningGantt.d.ts +13 -0
  27. package/dist/types/components/PlanningGantt/PlanningGantt.d.ts.map +1 -1
  28. package/dist/types/components/ProfileBadge/ProfileBadge.d.ts +10 -5
  29. package/dist/types/components/ProfileBadge/ProfileBadge.d.ts.map +1 -1
  30. package/package.json +1 -1
@@ -2503,116 +2503,6 @@ body {
2503
2503
  }
2504
2504
 
2505
2505
 
2506
- /* View */
2507
- /* View Component Styles */
2508
-
2509
- /* ─── Base layout ─────────────────────────────────────── */
2510
-
2511
- .muka-view {
2512
- display: flex;
2513
- flex-direction: column;
2514
- height: 100dvh;
2515
- background-color: var(--view-color-background);
2516
- position: relative;
2517
- isolation: isolate;
2518
- box-sizing: border-box;
2519
-
2520
- /* Width reserved for the footer nav once it becomes a left sidebar at the
2521
- large tier (matches BottomBar's desktopAs="sidebar" rail width). */
2522
- --view-sidebar-width: 240px;
2523
- }
2524
-
2525
- /* ─── Surface level variants ─────────────────────────── */
2526
-
2527
- .muka-view--surface-3 {
2528
- background-color: var(--color-surface-level3);
2529
- }
2530
-
2531
- /* ─── Large screens: make room for the left sidebar ──────────
2532
- A footer nav with desktopAs="sidebar" becomes a fixed 240px left rail at
2533
- ≥1024px. Offset the shell so the TopBar/body clear it — tied to the sidebar's
2534
- actual presence (the `.muka-bottombar--desktop-sidebar` element) rather than
2535
- the View's `size`, so a forced `size="lg"` below 1024px never reserves space
2536
- for a sidebar that hasn't rendered yet. */
2537
- @media (min-width: 1024px) {
2538
- .muka-view:has(.muka-bottombar--desktop-sidebar) {
2539
- padding-left: var(--view-sidebar-width);
2540
- }
2541
- }
2542
-
2543
- /* ─── TopBar elevation ────────────────────────────────── */
2544
-
2545
- .muka-view .muka-topbar {
2546
- flex-shrink: 0;
2547
- z-index: 3;
2548
- box-shadow: var(--shadow-level2);
2549
- }
2550
-
2551
- /* ─── Scrollable body ─────────────────────────────────── */
2552
-
2553
- .muka-view__body {
2554
- flex: 1 1 0%;
2555
- min-height: 0;
2556
- overflow-y: auto;
2557
- overflow-x: clip;
2558
- z-index: 1;
2559
-
2560
- /* Column flow so the footer (now a scroll-area child) can pin to the bottom and
2561
- content scrolls *behind* it — letting a floating BottomBar's frosted backdrop
2562
- reveal the content underneath. */
2563
- display: flex;
2564
- flex-direction: column;
2565
- }
2566
-
2567
- /* Inner wrapper constrains content width at the large tier (enterprise desktop)
2568
- using the alias-layer section/container tokens, while the body scrolls full
2569
- width. Full-bleed below large. */
2570
- .muka-view__body-inner {
2571
- width: 100%;
2572
- /* Grow on short content so the sticky footer is pushed to the bottom rather
2573
- than floating mid-screen. */
2574
- flex: 1 0 auto;
2575
- }
2576
-
2577
- @media (min-width: 1024px) {
2578
- .muka-view:not([data-size]) .muka-view__body-inner {
2579
- max-width: var(--container-max-width-xl);
2580
- margin-inline: auto;
2581
- padding-inline: var(--section-padding-horizontal-default);
2582
- }
2583
- }
2584
-
2585
- .muka-view[data-size='lg'] .muka-view__body-inner {
2586
- max-width: var(--container-max-width-xl);
2587
- margin-inline: auto;
2588
- padding-inline: var(--section-padding-horizontal-default);
2589
- }
2590
-
2591
- /* ─── Footer (e.g. BottomBar) ─────────────────────────── */
2592
-
2593
- .muka-view__footer {
2594
- position: sticky;
2595
- bottom: 0;
2596
- flex-shrink: 0;
2597
- z-index: 2;
2598
- }
2599
-
2600
- /* Inside an AppShell, the persistent left rail replaces the per-view bottom
2601
- navigation at the large tier, so hide a footer that holds a navigation bar.
2602
- Scoped to `.muka-app-shell` so bare Views (and the standalone
2603
- desktopAs="sidebar" footer pattern above) are unaffected. Action-bar footers
2604
- (`.muka-bottombar--actions`) don't match and remain at the bottom. */
2605
- @media (min-width: 1024px) {
2606
- .muka-app-shell .muka-view__footer:has(.muka-bottombar--navigation) {
2607
- display: none;
2608
- }
2609
- }
2610
-
2611
- .muka-app-shell[data-size='lg'] .muka-view__footer:has(.muka-bottombar--navigation) {
2612
- display: none;
2613
- }
2614
-
2615
-
2616
2506
  /* Typography */
2617
2507
  .muka-typography-catalog {
2618
2508
  display: flex;
@@ -2963,166 +2853,113 @@ body {
2963
2853
  }
2964
2854
 
2965
2855
 
2966
- /* Toggle */
2967
- /* Toggle Component Styles - Using Muka Design Tokens */
2856
+ /* View */
2857
+ /* View Component Styles */
2968
2858
 
2969
- /* Wrapper container */
2970
- .muka-toggle {
2859
+ /* ─── Base layout ─────────────────────────────────────── */
2860
+
2861
+ .muka-view {
2971
2862
  display: flex;
2972
- align-items: center;
2973
- gap: var(--spacing-2);
2863
+ flex-direction: column;
2864
+ height: 100dvh;
2865
+ background-color: var(--view-color-background);
2974
2866
  position: relative;
2975
- padding: var(--spacing-4) 0;
2867
+ isolation: isolate;
2868
+ box-sizing: border-box;
2869
+
2870
+ /* Width reserved for the footer nav once it becomes a left sidebar at the
2871
+ large tier (matches BottomBar's desktopAs="sidebar" rail width). */
2872
+ --view-sidebar-width: 240px;
2976
2873
  }
2977
2874
 
2978
- .muka-toggle--with-caption {
2979
- padding: var(--spacing-5) 0;
2875
+ /* ─── Surface level variants ─────────────────────────── */
2876
+
2877
+ .muka-view--surface-3 {
2878
+ background-color: var(--color-surface-level3);
2980
2879
  }
2981
2880
 
2982
- .muka-toggle--disabled {
2983
- opacity: 0.6;
2881
+ /* ─── Large screens: make room for the left sidebar ──────────
2882
+ A footer nav with desktopAs="sidebar" becomes a fixed 240px left rail at
2883
+ ≥1024px. Offset the shell so the TopBar/body clear it — tied to the sidebar's
2884
+ actual presence (the `.muka-bottombar--desktop-sidebar` element) rather than
2885
+ the View's `size`, so a forced `size="lg"` below 1024px never reserves space
2886
+ for a sidebar that hasn't rendered yet. */
2887
+ @media (min-width: 1024px) {
2888
+ .muka-view:has(.muka-bottombar--desktop-sidebar) {
2889
+ padding-left: var(--view-sidebar-width);
2890
+ }
2984
2891
  }
2985
2892
 
2986
- /* Icon */
2987
- .muka-toggle__icon {
2988
- display: flex;
2989
- align-items: center;
2990
- justify-content: center;
2893
+ /* ─── TopBar elevation ────────────────────────────────── */
2894
+
2895
+ .muka-view .muka-topbar {
2991
2896
  flex-shrink: 0;
2992
- width: var(--icon-size-default);
2993
- height: var(--icon-size-default);
2994
- color: var(--color-text-default-default);
2897
+ z-index: 3;
2898
+ box-shadow: var(--shadow-level2);
2995
2899
  }
2996
2900
 
2997
- .muka-toggle__icon svg {
2998
- width: 100%;
2999
- height: 100%;
3000
- }
2901
+ /* ─── Scrollable body ─────────────────────────────────── */
3001
2902
 
3002
- /* Content area (label + caption) */
3003
- .muka-toggle__content {
2903
+ .muka-view__body {
2904
+ flex: 1 1 0%;
2905
+ min-height: 0;
2906
+ overflow-y: auto;
2907
+ overflow-x: clip;
2908
+ z-index: 1;
2909
+
2910
+ /* Column flow so the footer (now a scroll-area child) can pin to the bottom and
2911
+ content scrolls *behind* it — letting a floating BottomBar's frosted backdrop
2912
+ reveal the content underneath. */
3004
2913
  display: flex;
3005
2914
  flex-direction: column;
3006
- flex: 1;
3007
- min-width: 0;
3008
- gap: var(--spacing-1);
3009
2915
  }
3010
2916
 
3011
- /* Label */
3012
- .muka-toggle__label {
3013
- font-family: var(--text-label-lg-regular-fontFamily);
3014
- font-weight: var(--text-label-lg-regular-fontWeight);
3015
- font-size: var(--text-label-lg-regular-fontSize);
3016
- line-height: var(--text-label-lg-regular-lineHeight);
3017
- color: var(--color-text-default-default);
3018
- cursor: pointer;
2917
+ /* Inner wrapper constrains content width at the large tier (enterprise desktop)
2918
+ using the alias-layer section/container tokens, while the body scrolls full
2919
+ width. Full-bleed below large. */
2920
+ .muka-view__body-inner {
2921
+ width: 100%;
2922
+ /* Grow on short content so the sticky footer is pushed to the bottom rather
2923
+ than floating mid-screen. */
2924
+ flex: 1 0 auto;
3019
2925
  }
3020
2926
 
3021
- .muka-toggle--with-caption .muka-toggle__label {
3022
- font-family: var(--text-label-lg-semibold-fontFamily);
3023
- font-weight: var(--text-label-lg-semibold-fontWeight);
3024
- font-size: var(--text-label-lg-semibold-fontSize);
3025
- line-height: var(--text-label-lg-semibold-lineHeight);
2927
+ @media (min-width: 1024px) {
2928
+ .muka-view:not([data-size]) .muka-view__body-inner {
2929
+ max-width: var(--container-max-width-xl);
2930
+ margin-inline: auto;
2931
+ padding-inline: var(--section-padding-horizontal-default);
2932
+ }
3026
2933
  }
3027
2934
 
3028
- .muka-toggle--disabled .muka-toggle__label {
3029
- color: var(--color-text-subtle-default);
3030
- cursor: not-allowed;
2935
+ .muka-view[data-size='lg'] .muka-view__body-inner {
2936
+ max-width: var(--container-max-width-xl);
2937
+ margin-inline: auto;
2938
+ padding-inline: var(--section-padding-horizontal-default);
3031
2939
  }
3032
2940
 
3033
- /* Caption */
3034
- .muka-toggle__caption {
3035
- font-family: var(--text-body-base-regular-fontFamily);
3036
- font-weight: var(--text-body-base-regular-fontWeight);
3037
- font-size: var(--text-body-base-regular-fontSize);
3038
- line-height: var(--text-body-base-regular-lineHeight);
3039
- color: var(--color-text-subtle-default);
3040
- }
2941
+ /* ─── Footer (e.g. BottomBar) ─────────────────────────── */
3041
2942
 
3042
- /* Switch container */
3043
- .muka-toggle__switch {
3044
- position: relative;
3045
- display: inline-flex;
2943
+ .muka-view__footer {
2944
+ position: sticky;
2945
+ bottom: 0;
3046
2946
  flex-shrink: 0;
3047
- cursor: pointer;
2947
+ z-index: 2;
3048
2948
  }
3049
2949
 
3050
- .muka-toggle--disabled .muka-toggle__switch {
3051
- cursor: not-allowed;
2950
+ /* Inside an AppShell, the persistent left rail replaces the per-view bottom
2951
+ navigation at the large tier, so hide a footer that holds a navigation bar.
2952
+ Scoped to `.muka-app-shell` so bare Views (and the standalone
2953
+ desktopAs="sidebar" footer pattern above) are unaffected. Action-bar footers
2954
+ (`.muka-bottombar--actions`) don't match and remain at the bottom. */
2955
+ @media (min-width: 1024px) {
2956
+ .muka-app-shell .muka-view__footer:has(.muka-bottombar--navigation) {
2957
+ display: none;
2958
+ }
3052
2959
  }
3053
2960
 
3054
- /* Hidden native input */
3055
- .muka-toggle__input {
3056
- position: absolute;
3057
- width: 1px;
3058
- height: 1px;
3059
- padding: 0;
3060
- margin: -1px;
3061
- overflow: hidden;
3062
- clip: rect(0, 0, 0, 0);
3063
- white-space: nowrap;
3064
- border: 0;
3065
- }
3066
-
3067
- /* Track (background pill) */
3068
- .muka-toggle__track {
3069
- display: flex;
3070
- align-items: center;
3071
- width: var(--toggle-track-width);
3072
- height: var(--toggle-track-height);
3073
- border-radius: var(--toggle-track-radius);
3074
- background-color: var(--toggle-track-color-off);
3075
- transition: background-color 0.2s ease;
3076
- box-shadow: inset 0 1px 4px 0 rgba(0, 0, 0, 0.16);
3077
- position: relative;
3078
- }
3079
-
3080
- /* Knob (sliding circle) */
3081
- .muka-toggle__knob {
3082
- position: absolute;
3083
- width: var(--toggle-knob-size);
3084
- height: var(--toggle-knob-size);
3085
- border-radius: var(--border-radius-full);
3086
- background-color: var(--toggle-knob-color-default);
3087
- box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.1);
3088
- left: var(--toggle-knob-offset);
3089
- transition: left 0.2s ease, transform 0.2s ease;
3090
- }
3091
-
3092
- /* Focus state */
3093
- .muka-toggle__input:focus-visible + .muka-toggle__track {
3094
- outline: 2px solid var(--color-border-focus);
3095
- outline-offset: 2px;
3096
- }
3097
-
3098
- /* Checked (on) state */
3099
- .muka-toggle__input:checked + .muka-toggle__track {
3100
- background-color: var(--toggle-track-color-on);
3101
- }
3102
-
3103
- .muka-toggle__input:checked + .muka-toggle__track .muka-toggle__knob {
3104
- left: calc(var(--toggle-track-width) - var(--toggle-knob-size) - var(--toggle-knob-offset));
3105
- }
3106
-
3107
- /* Disabled state */
3108
- .muka-toggle--disabled .muka-toggle__track {
3109
- background-color: var(--toggle-track-color-disabled);
3110
- box-shadow: none;
3111
- }
3112
-
3113
- .muka-toggle--disabled .muka-toggle__knob {
3114
- background-color: var(--toggle-knob-color-disabled);
3115
- box-shadow: none;
3116
- }
3117
-
3118
- /* Divider */
3119
- .muka-toggle__divider {
3120
- position: absolute;
3121
- bottom: 0;
3122
- left: 0;
3123
- right: 0;
3124
- height: 1px;
3125
- background-color: var(--color-border-muted);
2961
+ .muka-app-shell[data-size='lg'] .muka-view__footer:has(.muka-bottombar--navigation) {
2962
+ display: none;
3126
2963
  }
3127
2964
 
3128
2965
 
@@ -3316,6 +3153,169 @@ body {
3316
3153
  }
3317
3154
 
3318
3155
 
3156
+ /* Toggle */
3157
+ /* Toggle Component Styles - Using Muka Design Tokens */
3158
+
3159
+ /* Wrapper container */
3160
+ .muka-toggle {
3161
+ display: flex;
3162
+ align-items: center;
3163
+ gap: var(--spacing-2);
3164
+ position: relative;
3165
+ padding: var(--spacing-4) 0;
3166
+ }
3167
+
3168
+ .muka-toggle--with-caption {
3169
+ padding: var(--spacing-5) 0;
3170
+ }
3171
+
3172
+ .muka-toggle--disabled {
3173
+ opacity: 0.6;
3174
+ }
3175
+
3176
+ /* Icon */
3177
+ .muka-toggle__icon {
3178
+ display: flex;
3179
+ align-items: center;
3180
+ justify-content: center;
3181
+ flex-shrink: 0;
3182
+ width: var(--icon-size-default);
3183
+ height: var(--icon-size-default);
3184
+ color: var(--color-text-default-default);
3185
+ }
3186
+
3187
+ .muka-toggle__icon svg {
3188
+ width: 100%;
3189
+ height: 100%;
3190
+ }
3191
+
3192
+ /* Content area (label + caption) */
3193
+ .muka-toggle__content {
3194
+ display: flex;
3195
+ flex-direction: column;
3196
+ flex: 1;
3197
+ min-width: 0;
3198
+ gap: var(--spacing-1);
3199
+ }
3200
+
3201
+ /* Label */
3202
+ .muka-toggle__label {
3203
+ font-family: var(--text-label-lg-regular-fontFamily);
3204
+ font-weight: var(--text-label-lg-regular-fontWeight);
3205
+ font-size: var(--text-label-lg-regular-fontSize);
3206
+ line-height: var(--text-label-lg-regular-lineHeight);
3207
+ color: var(--color-text-default-default);
3208
+ cursor: pointer;
3209
+ }
3210
+
3211
+ .muka-toggle--with-caption .muka-toggle__label {
3212
+ font-family: var(--text-label-lg-semibold-fontFamily);
3213
+ font-weight: var(--text-label-lg-semibold-fontWeight);
3214
+ font-size: var(--text-label-lg-semibold-fontSize);
3215
+ line-height: var(--text-label-lg-semibold-lineHeight);
3216
+ }
3217
+
3218
+ .muka-toggle--disabled .muka-toggle__label {
3219
+ color: var(--color-text-subtle-default);
3220
+ cursor: not-allowed;
3221
+ }
3222
+
3223
+ /* Caption */
3224
+ .muka-toggle__caption {
3225
+ font-family: var(--text-body-base-regular-fontFamily);
3226
+ font-weight: var(--text-body-base-regular-fontWeight);
3227
+ font-size: var(--text-body-base-regular-fontSize);
3228
+ line-height: var(--text-body-base-regular-lineHeight);
3229
+ color: var(--color-text-subtle-default);
3230
+ }
3231
+
3232
+ /* Switch container */
3233
+ .muka-toggle__switch {
3234
+ position: relative;
3235
+ display: inline-flex;
3236
+ flex-shrink: 0;
3237
+ cursor: pointer;
3238
+ }
3239
+
3240
+ .muka-toggle--disabled .muka-toggle__switch {
3241
+ cursor: not-allowed;
3242
+ }
3243
+
3244
+ /* Hidden native input */
3245
+ .muka-toggle__input {
3246
+ position: absolute;
3247
+ width: 1px;
3248
+ height: 1px;
3249
+ padding: 0;
3250
+ margin: -1px;
3251
+ overflow: hidden;
3252
+ clip: rect(0, 0, 0, 0);
3253
+ white-space: nowrap;
3254
+ border: 0;
3255
+ }
3256
+
3257
+ /* Track (background pill) */
3258
+ .muka-toggle__track {
3259
+ display: flex;
3260
+ align-items: center;
3261
+ width: var(--toggle-track-width);
3262
+ height: var(--toggle-track-height);
3263
+ border-radius: var(--toggle-track-radius);
3264
+ background-color: var(--toggle-track-color-off);
3265
+ transition: background-color 0.2s ease;
3266
+ box-shadow: inset 0 1px 4px 0 rgba(0, 0, 0, 0.16);
3267
+ position: relative;
3268
+ }
3269
+
3270
+ /* Knob (sliding circle) */
3271
+ .muka-toggle__knob {
3272
+ position: absolute;
3273
+ width: var(--toggle-knob-size);
3274
+ height: var(--toggle-knob-size);
3275
+ border-radius: var(--border-radius-full);
3276
+ background-color: var(--toggle-knob-color-default);
3277
+ box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.1);
3278
+ left: var(--toggle-knob-offset);
3279
+ transition: left 0.2s ease, transform 0.2s ease;
3280
+ }
3281
+
3282
+ /* Focus state */
3283
+ .muka-toggle__input:focus-visible + .muka-toggle__track {
3284
+ outline: 2px solid var(--color-border-focus);
3285
+ outline-offset: 2px;
3286
+ }
3287
+
3288
+ /* Checked (on) state */
3289
+ .muka-toggle__input:checked + .muka-toggle__track {
3290
+ background-color: var(--toggle-track-color-on);
3291
+ }
3292
+
3293
+ .muka-toggle__input:checked + .muka-toggle__track .muka-toggle__knob {
3294
+ left: calc(var(--toggle-track-width) - var(--toggle-knob-size) - var(--toggle-knob-offset));
3295
+ }
3296
+
3297
+ /* Disabled state */
3298
+ .muka-toggle--disabled .muka-toggle__track {
3299
+ background-color: var(--toggle-track-color-disabled);
3300
+ box-shadow: none;
3301
+ }
3302
+
3303
+ .muka-toggle--disabled .muka-toggle__knob {
3304
+ background-color: var(--toggle-knob-color-disabled);
3305
+ box-shadow: none;
3306
+ }
3307
+
3308
+ /* Divider */
3309
+ .muka-toggle__divider {
3310
+ position: absolute;
3311
+ bottom: 0;
3312
+ left: 0;
3313
+ right: 0;
3314
+ height: 1px;
3315
+ background-color: var(--color-border-muted);
3316
+ }
3317
+
3318
+
3319
3319
  /* Tile */
3320
3320
  /* Tile Component Styles - Using Muka Design Tokens */
3321
3321
 
@@ -3677,204 +3677,19 @@ body {
3677
3677
  }
3678
3678
 
3679
3679
 
3680
- /* Thumbnail */
3681
- /* Thumbnail Component Styles - Using Muka Design Tokens */
3680
+ /* Textarea */
3681
+ /* Textarea Component Styles - Using Muka Design Tokens */
3682
3682
 
3683
- .muka-thumbnail {
3684
- position: relative;
3685
- flex-shrink: 0;
3683
+ .muka-textarea {
3684
+ display: inline-flex;
3685
+ flex-direction: column;
3686
+ gap: var(--spacing-2);
3686
3687
  }
3687
3688
 
3688
- /* The frame carries the border, background and shape clip. Keeping it separate
3689
- from the root lets the remove (×) button sit outside the clip (needed for the
3690
- circular/ellipse shape, whose corners would otherwise clip the button). */
3691
- .muka-thumbnail__frame {
3692
- position: absolute;
3693
- inset: 0;
3694
- overflow: hidden;
3695
- border: var(--border-width-regular, 1px) solid var(--color-black-alpha-3);
3696
- border-radius: var(--border-radius-lg);
3697
- background-color: var(--color-surface-level1);
3698
- }
3699
-
3700
- /* ─── Shapes ──────────────────────────────────────────── */
3701
- .muka-thumbnail--4-3 {
3702
- width: 160px;
3703
- height: 120px;
3704
- }
3705
-
3706
- .muka-thumbnail--1-1 {
3707
- width: 120px;
3708
- height: 120px;
3709
- }
3710
-
3711
- .muka-thumbnail--ellipse {
3712
- width: 120px;
3713
- height: 120px;
3714
- }
3715
-
3716
- /* Fluid: fill the parent's width; the shape sets the height via aspect-ratio. */
3717
- .muka-thumbnail--fluid {
3718
- width: 100%;
3719
- height: auto;
3720
- aspect-ratio: 1 / 1;
3721
- }
3722
-
3723
- .muka-thumbnail--fluid.muka-thumbnail--4-3 {
3724
- aspect-ratio: 4 / 3;
3725
- }
3726
-
3727
- .muka-thumbnail--ellipse .muka-thumbnail__frame {
3728
- border-radius: var(--border-radius-full);
3729
- }
3730
-
3731
- /* Image fills the frame, cropped to cover. Sits at scale(1) by default so the
3732
- interactive hover zoom has a clean origin. */
3733
- .muka-thumbnail__image {
3734
- position: absolute;
3735
- inset: 0;
3736
- width: 100%;
3737
- height: 100%;
3738
- object-fit: cover;
3739
- display: block;
3740
- transform-origin: center;
3741
- /* Micro-interaction: hover zoom eases out over the "micro" duration. */
3742
- transition: transform var(--motion-duration-micro) var(--motion-easing-enter);
3743
- }
3744
-
3745
- /* ─── Interactive (click-to-enlarge) ──────────────────── */
3746
- .muka-thumbnail__trigger {
3747
- position: absolute;
3748
- inset: 0;
3749
- padding: 0;
3750
- border: 0;
3751
- background: none;
3752
- cursor: pointer;
3753
- overflow: hidden;
3754
- }
3755
-
3756
- .muka-thumbnail__trigger:focus-visible {
3757
- outline: 2px solid var(--color-border-focus);
3758
- outline-offset: -2px;
3759
- }
3760
-
3761
- /* On hover the image scales up ~8px (160px → 168px) with an ease-out feel. */
3762
- .muka-thumbnail--interactive:hover .muka-thumbnail__image {
3763
- transform: scale(1.05);
3764
- }
3765
-
3766
- /* ─── Loading overlay + progress donut ────────────────── */
3767
- .muka-thumbnail__overlay {
3768
- position: absolute;
3769
- inset: 0;
3770
- display: flex;
3771
- align-items: center;
3772
- justify-content: center;
3773
- background-color: var(--dialog-color-backdrop);
3774
- }
3775
-
3776
- .muka-thumbnail__progress {
3777
- width: 40px;
3778
- height: 40px;
3779
- }
3780
-
3781
- /* ─── Error / corrupt state ───────────────────────────── */
3782
- .muka-thumbnail--error .muka-thumbnail__frame {
3783
- background-color: var(--alias-color-state-error-muted);
3784
- border-color: var(--alias-color-state-error-default);
3785
- }
3786
-
3787
- .muka-thumbnail__error {
3788
- position: absolute;
3789
- inset: 0;
3790
- display: flex;
3791
- flex-direction: column;
3792
- align-items: center;
3793
- justify-content: center;
3794
- gap: var(--spacing-2);
3795
- padding: var(--spacing-3);
3796
- text-align: center;
3797
- }
3798
-
3799
- .muka-thumbnail__error-icon {
3800
- color: var(--alert-color-error-accent);
3801
- }
3802
-
3803
- .muka-thumbnail__caption {
3804
- max-width: 100%;
3805
- overflow: hidden;
3806
- text-overflow: ellipsis;
3807
- white-space: nowrap;
3808
- color: var(--alert-color-error-accent);
3809
- font-family: var(--text-body-sm-regular-fontFamily);
3810
- font-size: var(--text-body-sm-regular-fontSize);
3811
- font-weight: var(--text-body-sm-regular-fontWeight);
3812
- line-height: var(--text-body-sm-regular-lineHeight);
3813
- }
3814
-
3815
- /* ─── Remove (×) button ───────────────────────────────── */
3816
- .muka-thumbnail__remove {
3817
- position: absolute;
3818
- top: var(--spacing-2);
3819
- right: var(--spacing-2);
3820
- display: flex;
3821
- align-items: center;
3822
- justify-content: center;
3823
- width: var(--size-2xl);
3824
- height: var(--size-2xl);
3825
- padding: 0;
3826
- color: var(--button-color-tertiary-foreground-default);
3827
- background-color: var(--button-color-tertiary-background-default);
3828
- border: var(--border-width-regular, 1px) solid var(--button-color-tertiary-border-default);
3829
- border-radius: var(--border-radius-lg);
3830
- cursor: pointer;
3831
- transition: background-color var(--motion-duration-micro) var(--motion-easing-enter),
3832
- border-color var(--motion-duration-micro) var(--motion-easing-enter);
3833
- }
3834
-
3835
- .muka-thumbnail__remove:hover {
3836
- color: var(--button-color-tertiary-foreground-hover);
3837
- background-color: var(--button-color-tertiary-background-hover);
3838
- border-color: var(--button-color-tertiary-border-hover);
3839
- }
3840
-
3841
- .muka-thumbnail__remove:active {
3842
- color: var(--button-color-tertiary-foreground-pressed);
3843
- background-color: var(--button-color-tertiary-background-pressed);
3844
- border-color: var(--button-color-tertiary-border-pressed);
3845
- }
3846
-
3847
- .muka-thumbnail__remove:focus-visible {
3848
- outline: 2px solid var(--color-border-focus);
3849
- outline-offset: 2px;
3850
- }
3851
-
3852
- /* ─── Reduced motion ──────────────────────────────────── */
3853
- @media (prefers-reduced-motion: reduce) {
3854
- .muka-thumbnail__image,
3855
- .muka-thumbnail__remove {
3856
- transition: none;
3857
- }
3858
-
3859
- .muka-thumbnail--interactive:hover .muka-thumbnail__image {
3860
- transform: none;
3861
- }
3862
- }
3863
-
3864
-
3865
- /* Textarea */
3866
- /* Textarea Component Styles - Using Muka Design Tokens */
3867
-
3868
- .muka-textarea {
3869
- display: inline-flex;
3870
- flex-direction: column;
3871
- gap: var(--spacing-2);
3872
- }
3873
-
3874
- /* Label */
3875
- .muka-textarea__label {
3876
- color: var(--color-text-default-default);
3877
- cursor: pointer;
3689
+ /* Label */
3690
+ .muka-textarea__label {
3691
+ color: var(--color-text-default-default);
3692
+ cursor: pointer;
3878
3693
  }
3879
3694
 
3880
3695
  .muka-textarea__label--sm {
@@ -4298,68 +4113,253 @@ body {
4298
4113
  }
4299
4114
 
4300
4115
 
4301
- /* Table */
4302
- /* Table Component Styles - Using Muka Design Tokens */
4303
-
4304
- /* ========================================
4305
- TABLE WRAPPER (Responsive)
4306
- ======================================== */
4116
+ /* Thumbnail */
4117
+ /* Thumbnail Component Styles - Using Muka Design Tokens */
4307
4118
 
4308
- .muka-table-wrapper {
4309
- width: 100%;
4310
- overflow-x: auto;
4311
- -webkit-overflow-scrolling: touch;
4119
+ .muka-thumbnail {
4120
+ position: relative;
4121
+ flex-shrink: 0;
4312
4122
  }
4313
4123
 
4314
- /* ========================================
4315
- TABLE BASE
4316
- ======================================== */
4317
-
4318
- .muka-table {
4319
- width: 100%;
4320
- border-collapse: collapse;
4321
- border-spacing: 0;
4322
- font-family: var(--text-body-base-regular-fontFamily);
4323
- font-size: var(--text-body-base-regular-fontSize);
4324
- font-weight: var(--text-body-base-regular-fontWeight);
4325
- line-height: var(--text-body-base-regular-lineHeight);
4326
- color: var(--color-text-default-default);
4327
- background-color: var(--color-surface-level3);
4124
+ /* The frame carries the border, background and shape clip. Keeping it separate
4125
+ from the root lets the remove (×) button sit outside the clip (needed for the
4126
+ circular/ellipse shape, whose corners would otherwise clip the button). */
4127
+ .muka-thumbnail__frame {
4128
+ position: absolute;
4129
+ inset: 0;
4130
+ overflow: hidden;
4131
+ border: var(--border-width-regular, 1px) solid var(--color-black-alpha-3);
4132
+ border-radius: var(--border-radius-lg);
4133
+ background-color: var(--color-surface-level1);
4328
4134
  }
4329
4135
 
4330
- .muka-table--fixed {
4331
- table-layout: fixed;
4136
+ /* ─── Shapes ──────────────────────────────────────────── */
4137
+ .muka-thumbnail--4-3 {
4138
+ width: 160px;
4139
+ height: 120px;
4332
4140
  }
4333
4141
 
4334
- .muka-table__caption {
4335
- padding: var(--spacing-3);
4336
- font-weight: var(--text-label-md-semibold-fontWeight);
4337
- text-align: left;
4338
- color: var(--color-text-default-default);
4339
- caption-side: top;
4142
+ .muka-thumbnail--1-1 {
4143
+ width: 120px;
4144
+ height: 120px;
4340
4145
  }
4341
4146
 
4342
- /* ========================================
4343
- TABLE HEAD
4344
- ======================================== */
4147
+ .muka-thumbnail--ellipse {
4148
+ width: 120px;
4149
+ height: 120px;
4150
+ }
4345
4151
 
4346
- .muka-table__head {
4347
- border-bottom: var(--border-width-regular) solid var(--color-border-default);
4152
+ /* Fluid: fill the parent's width; the shape sets the height via aspect-ratio. */
4153
+ .muka-thumbnail--fluid {
4154
+ width: 100%;
4155
+ height: auto;
4156
+ aspect-ratio: 1 / 1;
4348
4157
  }
4349
4158
 
4350
- .muka-table__head .muka-table__row {
4351
- background-color: var(--color-surface-level0);
4159
+ .muka-thumbnail--fluid.muka-thumbnail--4-3 {
4160
+ aspect-ratio: 4 / 3;
4352
4161
  }
4353
4162
 
4354
- /* Plain (MUK-103): no tint; small subtle capitals under a section heading. */
4355
- .muka-table__head--plain .muka-table__row {
4356
- background-color: transparent;
4163
+ .muka-thumbnail--ellipse .muka-thumbnail__frame {
4164
+ border-radius: var(--border-radius-full);
4357
4165
  }
4358
4166
 
4359
- .muka-table__head--plain .muka-table__header-cell {
4360
- font-family: var(--text-label-sm-regular-fontFamily);
4361
- font-weight: var(--text-label-sm-regular-fontWeight);
4362
- font-size: var(--text-label-sm-regular-fontSize);
4167
+ /* Image fills the frame, cropped to cover. Sits at scale(1) by default so the
4168
+ interactive hover zoom has a clean origin. */
4169
+ .muka-thumbnail__image {
4170
+ position: absolute;
4171
+ inset: 0;
4172
+ width: 100%;
4173
+ height: 100%;
4174
+ object-fit: cover;
4175
+ display: block;
4176
+ transform-origin: center;
4177
+ /* Micro-interaction: hover zoom eases out over the "micro" duration. */
4178
+ transition: transform var(--motion-duration-micro) var(--motion-easing-enter);
4179
+ }
4180
+
4181
+ /* ─── Interactive (click-to-enlarge) ──────────────────── */
4182
+ .muka-thumbnail__trigger {
4183
+ position: absolute;
4184
+ inset: 0;
4185
+ padding: 0;
4186
+ border: 0;
4187
+ background: none;
4188
+ cursor: pointer;
4189
+ overflow: hidden;
4190
+ }
4191
+
4192
+ .muka-thumbnail__trigger:focus-visible {
4193
+ outline: 2px solid var(--color-border-focus);
4194
+ outline-offset: -2px;
4195
+ }
4196
+
4197
+ /* On hover the image scales up ~8px (160px → 168px) with an ease-out feel. */
4198
+ .muka-thumbnail--interactive:hover .muka-thumbnail__image {
4199
+ transform: scale(1.05);
4200
+ }
4201
+
4202
+ /* ─── Loading overlay + progress donut ────────────────── */
4203
+ .muka-thumbnail__overlay {
4204
+ position: absolute;
4205
+ inset: 0;
4206
+ display: flex;
4207
+ align-items: center;
4208
+ justify-content: center;
4209
+ background-color: var(--dialog-color-backdrop);
4210
+ }
4211
+
4212
+ .muka-thumbnail__progress {
4213
+ width: 40px;
4214
+ height: 40px;
4215
+ }
4216
+
4217
+ /* ─── Error / corrupt state ───────────────────────────── */
4218
+ .muka-thumbnail--error .muka-thumbnail__frame {
4219
+ background-color: var(--alias-color-state-error-muted);
4220
+ border-color: var(--alias-color-state-error-default);
4221
+ }
4222
+
4223
+ .muka-thumbnail__error {
4224
+ position: absolute;
4225
+ inset: 0;
4226
+ display: flex;
4227
+ flex-direction: column;
4228
+ align-items: center;
4229
+ justify-content: center;
4230
+ gap: var(--spacing-2);
4231
+ padding: var(--spacing-3);
4232
+ text-align: center;
4233
+ }
4234
+
4235
+ .muka-thumbnail__error-icon {
4236
+ color: var(--alert-color-error-accent);
4237
+ }
4238
+
4239
+ .muka-thumbnail__caption {
4240
+ max-width: 100%;
4241
+ overflow: hidden;
4242
+ text-overflow: ellipsis;
4243
+ white-space: nowrap;
4244
+ color: var(--alert-color-error-accent);
4245
+ font-family: var(--text-body-sm-regular-fontFamily);
4246
+ font-size: var(--text-body-sm-regular-fontSize);
4247
+ font-weight: var(--text-body-sm-regular-fontWeight);
4248
+ line-height: var(--text-body-sm-regular-lineHeight);
4249
+ }
4250
+
4251
+ /* ─── Remove (×) button ───────────────────────────────── */
4252
+ .muka-thumbnail__remove {
4253
+ position: absolute;
4254
+ top: var(--spacing-2);
4255
+ right: var(--spacing-2);
4256
+ display: flex;
4257
+ align-items: center;
4258
+ justify-content: center;
4259
+ width: var(--size-2xl);
4260
+ height: var(--size-2xl);
4261
+ padding: 0;
4262
+ color: var(--button-color-tertiary-foreground-default);
4263
+ background-color: var(--button-color-tertiary-background-default);
4264
+ border: var(--border-width-regular, 1px) solid var(--button-color-tertiary-border-default);
4265
+ border-radius: var(--border-radius-lg);
4266
+ cursor: pointer;
4267
+ transition: background-color var(--motion-duration-micro) var(--motion-easing-enter),
4268
+ border-color var(--motion-duration-micro) var(--motion-easing-enter);
4269
+ }
4270
+
4271
+ .muka-thumbnail__remove:hover {
4272
+ color: var(--button-color-tertiary-foreground-hover);
4273
+ background-color: var(--button-color-tertiary-background-hover);
4274
+ border-color: var(--button-color-tertiary-border-hover);
4275
+ }
4276
+
4277
+ .muka-thumbnail__remove:active {
4278
+ color: var(--button-color-tertiary-foreground-pressed);
4279
+ background-color: var(--button-color-tertiary-background-pressed);
4280
+ border-color: var(--button-color-tertiary-border-pressed);
4281
+ }
4282
+
4283
+ .muka-thumbnail__remove:focus-visible {
4284
+ outline: 2px solid var(--color-border-focus);
4285
+ outline-offset: 2px;
4286
+ }
4287
+
4288
+ /* ─── Reduced motion ──────────────────────────────────── */
4289
+ @media (prefers-reduced-motion: reduce) {
4290
+ .muka-thumbnail__image,
4291
+ .muka-thumbnail__remove {
4292
+ transition: none;
4293
+ }
4294
+
4295
+ .muka-thumbnail--interactive:hover .muka-thumbnail__image {
4296
+ transform: none;
4297
+ }
4298
+ }
4299
+
4300
+
4301
+ /* Table */
4302
+ /* Table Component Styles - Using Muka Design Tokens */
4303
+
4304
+ /* ========================================
4305
+ TABLE WRAPPER (Responsive)
4306
+ ======================================== */
4307
+
4308
+ .muka-table-wrapper {
4309
+ width: 100%;
4310
+ overflow-x: auto;
4311
+ -webkit-overflow-scrolling: touch;
4312
+ }
4313
+
4314
+ /* ========================================
4315
+ TABLE BASE
4316
+ ======================================== */
4317
+
4318
+ .muka-table {
4319
+ width: 100%;
4320
+ border-collapse: collapse;
4321
+ border-spacing: 0;
4322
+ font-family: var(--text-body-base-regular-fontFamily);
4323
+ font-size: var(--text-body-base-regular-fontSize);
4324
+ font-weight: var(--text-body-base-regular-fontWeight);
4325
+ line-height: var(--text-body-base-regular-lineHeight);
4326
+ color: var(--color-text-default-default);
4327
+ background-color: var(--color-surface-level3);
4328
+ }
4329
+
4330
+ .muka-table--fixed {
4331
+ table-layout: fixed;
4332
+ }
4333
+
4334
+ .muka-table__caption {
4335
+ padding: var(--spacing-3);
4336
+ font-weight: var(--text-label-md-semibold-fontWeight);
4337
+ text-align: left;
4338
+ color: var(--color-text-default-default);
4339
+ caption-side: top;
4340
+ }
4341
+
4342
+ /* ========================================
4343
+ TABLE HEAD
4344
+ ======================================== */
4345
+
4346
+ .muka-table__head {
4347
+ border-bottom: var(--border-width-regular) solid var(--color-border-default);
4348
+ }
4349
+
4350
+ .muka-table__head .muka-table__row {
4351
+ background-color: var(--color-surface-level0);
4352
+ }
4353
+
4354
+ /* Plain (MUK-103): no tint; small subtle capitals under a section heading. */
4355
+ .muka-table__head--plain .muka-table__row {
4356
+ background-color: transparent;
4357
+ }
4358
+
4359
+ .muka-table__head--plain .muka-table__header-cell {
4360
+ font-family: var(--text-label-sm-regular-fontFamily);
4361
+ font-weight: var(--text-label-sm-regular-fontWeight);
4362
+ font-size: var(--text-label-sm-regular-fontSize);
4363
4363
  line-height: var(--text-label-sm-regular-lineHeight);
4364
4364
  color: var(--color-text-subtle-default);
4365
4365
  text-transform: uppercase;
@@ -4702,49 +4702,127 @@ body {
4702
4702
  }
4703
4703
 
4704
4704
 
4705
- /* SwipeActions */
4706
- /* SwipeActions Component Styles */
4705
+ /* Spinner */
4706
+ /* Spinner Component Styles */
4707
4707
 
4708
- .muka-swipe-actions {
4709
- position: relative;
4710
- overflow: hidden;
4711
- touch-action: pan-y;
4712
- -webkit-user-select: none;
4713
- user-select: none;
4714
- background-color: var(--color-surface-level3);
4708
+ .muka-spinner {
4709
+ display: inline-flex;
4710
+ align-items: center;
4711
+ justify-content: center;
4712
+ color: var(--color-text-default-default);
4713
+ line-height: 0;
4715
4714
  }
4716
4715
 
4717
- .muka-swipe-actions--disabled {
4718
- touch-action: auto;
4716
+ .muka-spinner--subtle {
4717
+ color: var(--color-text-subtle-default);
4719
4718
  }
4720
4719
 
4721
- /* ─── Row that holds the actual content ────────────────── */
4720
+ .muka-spinner--inverse {
4721
+ color: var(--color-text-default-inverse);
4722
+ }
4722
4723
 
4723
- .muka-swipe-actions__row {
4724
- position: relative;
4725
- z-index: 1;
4726
- background-color: inherit;
4727
- will-change: transform;
4724
+ .muka-spinner__circle {
4725
+ display: inline-block;
4726
+ border-radius: 50%;
4727
+ border-style: solid;
4728
+ border-color: currentColor;
4729
+ border-right-color: transparent;
4730
+ animation: muka-spinner-rotate 0.7s linear infinite;
4731
+ box-sizing: border-box;
4728
4732
  }
4729
4733
 
4730
- /* ─── Action panels — sit beneath the row ──────────────── */
4734
+ /* ─── Sizes ───────────────────────────────────────────── */
4731
4735
 
4732
- .muka-swipe-actions__panel {
4733
- position: absolute;
4734
- top: 0;
4735
- bottom: 0;
4736
- display: flex;
4737
- align-items: stretch;
4738
- z-index: 0;
4736
+ .muka-spinner--sm .muka-spinner__circle {
4737
+ width: 16px;
4738
+ height: 16px;
4739
+ border-width: 2px;
4739
4740
  }
4740
4741
 
4741
- .muka-swipe-actions__panel--left {
4742
- left: 0;
4742
+ .muka-spinner--md .muka-spinner__circle {
4743
+ width: 20px;
4744
+ height: 20px;
4745
+ border-width: 2px;
4743
4746
  }
4744
4747
 
4745
- .muka-swipe-actions__panel--right {
4746
- right: 0;
4747
- }
4748
+ .muka-spinner--lg .muka-spinner__circle {
4749
+ width: 24px;
4750
+ height: 24px;
4751
+ border-width: 3px;
4752
+ }
4753
+
4754
+ /* ─── Visually-hidden label ───────────────────────────── */
4755
+
4756
+ .muka-spinner__sr-label {
4757
+ position: absolute;
4758
+ width: 1px;
4759
+ height: 1px;
4760
+ padding: 0;
4761
+ margin: -1px;
4762
+ overflow: hidden;
4763
+ clip: rect(0, 0, 0, 0);
4764
+ white-space: nowrap;
4765
+ border: 0;
4766
+ }
4767
+
4768
+ /* ─── Reduced motion ──────────────────────────────────── */
4769
+
4770
+ @keyframes muka-spinner-rotate {
4771
+ to {
4772
+ transform: rotate(360deg);
4773
+ }
4774
+ }
4775
+
4776
+ @media (prefers-reduced-motion: reduce) {
4777
+ .muka-spinner__circle {
4778
+ animation-duration: 2.5s;
4779
+ }
4780
+ }
4781
+
4782
+
4783
+ /* SwipeActions */
4784
+ /* SwipeActions Component Styles */
4785
+
4786
+ .muka-swipe-actions {
4787
+ position: relative;
4788
+ overflow: hidden;
4789
+ touch-action: pan-y;
4790
+ -webkit-user-select: none;
4791
+ user-select: none;
4792
+ background-color: var(--color-surface-level3);
4793
+ }
4794
+
4795
+ .muka-swipe-actions--disabled {
4796
+ touch-action: auto;
4797
+ }
4798
+
4799
+ /* ─── Row that holds the actual content ────────────────── */
4800
+
4801
+ .muka-swipe-actions__row {
4802
+ position: relative;
4803
+ z-index: 1;
4804
+ background-color: inherit;
4805
+ will-change: transform;
4806
+ }
4807
+
4808
+ /* ─── Action panels — sit beneath the row ──────────────── */
4809
+
4810
+ .muka-swipe-actions__panel {
4811
+ position: absolute;
4812
+ top: 0;
4813
+ bottom: 0;
4814
+ display: flex;
4815
+ align-items: stretch;
4816
+ z-index: 0;
4817
+ }
4818
+
4819
+ .muka-swipe-actions__panel--left {
4820
+ left: 0;
4821
+ }
4822
+
4823
+ .muka-swipe-actions__panel--right {
4824
+ right: 0;
4825
+ }
4748
4826
 
4749
4827
  /* ─── Single action button ─────────────────────────────── */
4750
4828
 
@@ -4810,84 +4888,6 @@ body {
4810
4888
  }
4811
4889
 
4812
4890
 
4813
- /* Spinner */
4814
- /* Spinner Component Styles */
4815
-
4816
- .muka-spinner {
4817
- display: inline-flex;
4818
- align-items: center;
4819
- justify-content: center;
4820
- color: var(--color-text-default-default);
4821
- line-height: 0;
4822
- }
4823
-
4824
- .muka-spinner--subtle {
4825
- color: var(--color-text-subtle-default);
4826
- }
4827
-
4828
- .muka-spinner--inverse {
4829
- color: var(--color-text-default-inverse);
4830
- }
4831
-
4832
- .muka-spinner__circle {
4833
- display: inline-block;
4834
- border-radius: 50%;
4835
- border-style: solid;
4836
- border-color: currentColor;
4837
- border-right-color: transparent;
4838
- animation: muka-spinner-rotate 0.7s linear infinite;
4839
- box-sizing: border-box;
4840
- }
4841
-
4842
- /* ─── Sizes ───────────────────────────────────────────── */
4843
-
4844
- .muka-spinner--sm .muka-spinner__circle {
4845
- width: 16px;
4846
- height: 16px;
4847
- border-width: 2px;
4848
- }
4849
-
4850
- .muka-spinner--md .muka-spinner__circle {
4851
- width: 20px;
4852
- height: 20px;
4853
- border-width: 2px;
4854
- }
4855
-
4856
- .muka-spinner--lg .muka-spinner__circle {
4857
- width: 24px;
4858
- height: 24px;
4859
- border-width: 3px;
4860
- }
4861
-
4862
- /* ─── Visually-hidden label ───────────────────────────── */
4863
-
4864
- .muka-spinner__sr-label {
4865
- position: absolute;
4866
- width: 1px;
4867
- height: 1px;
4868
- padding: 0;
4869
- margin: -1px;
4870
- overflow: hidden;
4871
- clip: rect(0, 0, 0, 0);
4872
- white-space: nowrap;
4873
- border: 0;
4874
- }
4875
-
4876
- /* ─── Reduced motion ──────────────────────────────────── */
4877
-
4878
- @keyframes muka-spinner-rotate {
4879
- to {
4880
- transform: rotate(360deg);
4881
- }
4882
- }
4883
-
4884
- @media (prefers-reduced-motion: reduce) {
4885
- .muka-spinner__circle {
4886
- animation-duration: 2.5s;
4887
- }
4888
- }
4889
-
4890
-
4891
4891
  /* SpecList */
4892
4892
  /* SpecList Component Styles */
4893
4893
 
@@ -5315,6 +5315,81 @@ body {
5315
5315
  }
5316
5316
 
5317
5317
 
5318
+ /* Skeleton */
5319
+ /* Skeleton Component Styles */
5320
+
5321
+ .muka-skeleton {
5322
+ background-color: var(--color-surface-level1);
5323
+ display: block;
5324
+ }
5325
+
5326
+ /* Variants */
5327
+ .muka-skeleton--text {
5328
+ height: 1em;
5329
+ border-radius: var(--radius-md);
5330
+ width: 100%;
5331
+ }
5332
+
5333
+ .muka-skeleton--circular {
5334
+ width: 2.5rem;
5335
+ height: 2.5rem;
5336
+ border-radius: var(--radius-full);
5337
+ }
5338
+
5339
+ .muka-skeleton--rectangular {
5340
+ height: 7.5rem;
5341
+ border-radius: var(--radius-md);
5342
+ width: 100%;
5343
+ }
5344
+
5345
+ /* Last line in multi-line text is shorter */
5346
+ .muka-skeleton--last-line {
5347
+ width: 80%;
5348
+ }
5349
+
5350
+ /* Lines container */
5351
+ .muka-skeleton__lines {
5352
+ display: flex;
5353
+ flex-direction: column;
5354
+ gap: var(--spacing-2);
5355
+ }
5356
+
5357
+ /* Shimmer animation */
5358
+ @keyframes muka-skeleton-shimmer {
5359
+ 0% {
5360
+ background-position: -200% 0;
5361
+ }
5362
+ 100% {
5363
+ background-position: 200% 0;
5364
+ }
5365
+ }
5366
+
5367
+ .muka-skeleton--shimmer {
5368
+ background: linear-gradient(
5369
+ 90deg,
5370
+ var(--color-surface-level1) 25%,
5371
+ var(--color-surface-level2) 50%,
5372
+ var(--color-surface-level1) 75%
5373
+ );
5374
+ background-size: 200% 100%;
5375
+ animation: muka-skeleton-shimmer 1.5s ease-in-out infinite;
5376
+ }
5377
+
5378
+ /* Pulse animation */
5379
+ @keyframes muka-skeleton-pulse {
5380
+ 0%, 100% {
5381
+ opacity: 1;
5382
+ }
5383
+ 50% {
5384
+ opacity: 0.4;
5385
+ }
5386
+ }
5387
+
5388
+ .muka-skeleton--pulse {
5389
+ animation: muka-skeleton-pulse 1.5s ease-in-out infinite;
5390
+ }
5391
+
5392
+
5318
5393
  /* Sheet */
5319
5394
  /* Sheet Component Styles */
5320
5395
 
@@ -5395,98 +5470,23 @@ body {
5395
5470
  }
5396
5471
 
5397
5472
 
5398
- /* Skeleton */
5399
- /* Skeleton Component Styles */
5473
+ /* Select */
5474
+ /* Select Component Styles - Aligned with Input for consistency */
5400
5475
 
5401
- .muka-skeleton {
5402
- background-color: var(--color-surface-level1);
5403
- display: block;
5476
+ .muka-select {
5477
+ display: inline-flex;
5478
+ flex-direction: column;
5479
+ gap: var(--spacing-2);
5404
5480
  }
5405
5481
 
5406
- /* Variants */
5407
- .muka-skeleton--text {
5408
- height: 1em;
5409
- border-radius: var(--radius-md);
5482
+ .muka-select--full-width {
5410
5483
  width: 100%;
5411
5484
  }
5412
5485
 
5413
- .muka-skeleton--circular {
5414
- width: 2.5rem;
5415
- height: 2.5rem;
5416
- border-radius: var(--radius-full);
5417
- }
5418
-
5419
- .muka-skeleton--rectangular {
5420
- height: 7.5rem;
5421
- border-radius: var(--radius-md);
5422
- width: 100%;
5423
- }
5424
-
5425
- /* Last line in multi-line text is shorter */
5426
- .muka-skeleton--last-line {
5427
- width: 80%;
5428
- }
5429
-
5430
- /* Lines container */
5431
- .muka-skeleton__lines {
5432
- display: flex;
5433
- flex-direction: column;
5434
- gap: var(--spacing-2);
5435
- }
5436
-
5437
- /* Shimmer animation */
5438
- @keyframes muka-skeleton-shimmer {
5439
- 0% {
5440
- background-position: -200% 0;
5441
- }
5442
- 100% {
5443
- background-position: 200% 0;
5444
- }
5445
- }
5446
-
5447
- .muka-skeleton--shimmer {
5448
- background: linear-gradient(
5449
- 90deg,
5450
- var(--color-surface-level1) 25%,
5451
- var(--color-surface-level2) 50%,
5452
- var(--color-surface-level1) 75%
5453
- );
5454
- background-size: 200% 100%;
5455
- animation: muka-skeleton-shimmer 1.5s ease-in-out infinite;
5456
- }
5457
-
5458
- /* Pulse animation */
5459
- @keyframes muka-skeleton-pulse {
5460
- 0%, 100% {
5461
- opacity: 1;
5462
- }
5463
- 50% {
5464
- opacity: 0.4;
5465
- }
5466
- }
5467
-
5468
- .muka-skeleton--pulse {
5469
- animation: muka-skeleton-pulse 1.5s ease-in-out infinite;
5470
- }
5471
-
5472
-
5473
- /* Select */
5474
- /* Select Component Styles - Aligned with Input for consistency */
5475
-
5476
- .muka-select {
5477
- display: inline-flex;
5478
- flex-direction: column;
5479
- gap: var(--spacing-2);
5480
- }
5481
-
5482
- .muka-select--full-width {
5483
- width: 100%;
5484
- }
5485
-
5486
- /* Label */
5487
- .muka-select__label {
5488
- color: var(--color-text-default-default);
5489
- cursor: pointer;
5486
+ /* Label */
5487
+ .muka-select__label {
5488
+ color: var(--color-text-default-default);
5489
+ cursor: pointer;
5490
5490
  }
5491
5491
 
5492
5492
  .muka-select__label--sm {
@@ -5852,180 +5852,26 @@ body {
5852
5852
  }
5853
5853
 
5854
5854
 
5855
- /* Scrollbar */
5856
- /* Scrollbar — Figma menu scrollbar (32px rail, chevrons, grip thumb) */
5857
-
5858
- .muka-scrollbar {
5859
- display: flex;
5860
- flex-shrink: 0;
5861
- border-left: var(--border-width-regular) solid var(--color-border-default);
5862
- background-color: var(--color-surface-level3);
5863
- user-select: none;
5864
- }
5865
-
5866
- .muka-scrollbar--vertical {
5867
- flex-direction: column;
5868
- width: var(--size-2xl, 32px);
5869
- align-self: stretch;
5870
- }
5871
-
5872
- .muka-scrollbar--horizontal {
5873
- flex-direction: row;
5874
- height: var(--size-2xl, 32px);
5875
- width: 100%;
5876
- border-left: none;
5877
- border-top: var(--border-width-regular) solid var(--color-border-default);
5878
- }
5879
-
5880
- .muka-scrollbar__button {
5881
- display: flex;
5882
- align-items: center;
5883
- justify-content: center;
5884
- flex-shrink: 0;
5885
- width: 100%;
5886
- height: var(--size-2xl, 32px);
5887
- padding: 0;
5888
- border: none;
5889
- background-color: var(--button-color-tertiary-background-default, var(--color-surface-level3));
5890
- color: var(--color-text-default-default);
5891
- cursor: pointer;
5892
- }
5893
-
5894
- .muka-scrollbar--horizontal .muka-scrollbar__button {
5895
- width: var(--size-2xl, 32px);
5896
- height: 100%;
5897
- }
5898
-
5899
- .muka-scrollbar__button:hover {
5900
- background-color: var(--color-surface-hover);
5901
- }
5902
-
5903
- .muka-scrollbar__divider {
5904
- flex-shrink: 0;
5905
- width: 100%;
5906
- height: 1px;
5907
- background-color: var(--color-border-default);
5908
- }
5909
-
5910
- .muka-scrollbar--horizontal .muka-scrollbar__divider {
5911
- width: 1px;
5912
- height: 100%;
5913
- }
5914
-
5915
- .muka-scrollbar__track {
5916
- position: relative;
5917
- display: flex;
5918
- flex-direction: column;
5919
- flex: 1 1 auto;
5920
- min-height: 0;
5921
- width: 100%;
5922
- }
5923
-
5924
- .muka-scrollbar--horizontal .muka-scrollbar__track {
5925
- flex-direction: row;
5926
- min-width: 0;
5927
- height: 100%;
5928
- }
5929
-
5930
- .muka-scrollbar__thumb {
5931
- position: absolute;
5932
- left: 0;
5933
- top: 0;
5934
- z-index: 1;
5935
- display: flex;
5936
- align-items: center;
5937
- justify-content: center;
5938
- width: 100%;
5939
- /* Figma: scrollbar thumb fill = surface/level3 */
5940
- background-color: var(--color-surface-level3);
5941
- cursor: grab;
5942
- touch-action: none;
5943
- }
5944
-
5945
- .muka-scrollbar--horizontal .muka-scrollbar__thumb {
5946
- left: 0;
5947
- top: 0;
5948
- width: auto;
5949
- height: 100%;
5950
- margin-left: 0;
5951
- margin-top: 0;
5952
- }
5953
-
5954
- .muka-scrollbar__thumb:active {
5955
- cursor: grabbing;
5956
- }
5957
-
5958
- .muka-scrollbar__grip {
5959
- display: flex;
5960
- flex-direction: column;
5961
- gap: 2px;
5962
- width: 14px;
5963
- }
5964
-
5965
- .muka-scrollbar__grip::before,
5966
- .muka-scrollbar__grip::after {
5967
- content: '';
5968
- display: block;
5969
- width: 100%;
5970
- height: 2px;
5971
- border-radius: var(--border-radius-md);
5972
- background-color: var(--color-text-subtle-default);
5973
- }
5974
-
5975
- .muka-scrollbar__spacer {
5976
- flex: 1 1 auto;
5977
- min-height: 0;
5978
- background-color: var(--color-surface-level2);
5979
- }
5980
-
5981
-
5982
- /* RecordingBar */
5983
- /* RecordingBar Component Styles */
5984
-
5985
- .muka-recording-bar {
5986
- display: flex;
5987
- align-items: center;
5988
- gap: var(--spacing-3);
5989
- width: 100%;
5990
- min-width: 0;
5991
- }
5992
-
5993
- .muka-recording-bar__dot {
5994
- flex: 0 0 auto;
5995
- width: 0.625rem;
5996
- height: 0.625rem;
5997
- border-radius: var(--radius-full, 9999px);
5998
- background: var(--alert-color-error-accent, var(--color-text-default-default));
5999
- animation: muka-recording-bar-pulse 1s ease-in-out infinite;
6000
- }
5855
+ /* Section */
5856
+ /* Section Component - Layout tokens (section.padding) */
6001
5857
 
6002
- .muka-recording-bar__time {
6003
- flex: 0 0 auto;
6004
- font-size: var(--text-label-sm-fontSize, 0.75rem);
6005
- line-height: var(--text-label-sm-lineHeight, 1);
6006
- font-variant-numeric: tabular-nums;
6007
- color: var(--color-text-default-default);
5858
+ .muka-section {
5859
+ box-sizing: border-box;
6008
5860
  }
6009
5861
 
6010
- .muka-recording-bar__wave {
6011
- flex: 1 1 auto;
6012
- min-width: 0;
5862
+ .muka-section--padding-compact {
5863
+ padding-block: var(--section-padding-vertical-compact);
5864
+ padding-inline: var(--section-padding-horizontal-compact);
6013
5865
  }
6014
5866
 
6015
- @keyframes muka-recording-bar-pulse {
6016
- 0%,
6017
- 100% {
6018
- opacity: 1;
6019
- }
6020
- 50% {
6021
- opacity: 0.3;
6022
- }
5867
+ .muka-section--padding-default {
5868
+ padding-block: var(--section-padding-vertical-default);
5869
+ padding-inline: var(--section-padding-horizontal-default);
6023
5870
  }
6024
5871
 
6025
- @media (prefers-reduced-motion: reduce) {
6026
- .muka-recording-bar__dot {
6027
- animation: none;
6028
- }
5872
+ .muka-section--padding-spacious {
5873
+ padding-block: var(--section-padding-vertical-spacious);
5874
+ padding-inline: var(--section-padding-horizontal-spacious);
6029
5875
  }
6030
5876
 
6031
5877
 
@@ -6198,26 +6044,180 @@ body {
6198
6044
  }
6199
6045
 
6200
6046
 
6201
- /* Section */
6202
- /* Section Component - Layout tokens (section.padding) */
6047
+ /* Scrollbar */
6048
+ /* Scrollbar — Figma menu scrollbar (32px rail, chevrons, grip thumb) */
6203
6049
 
6204
- .muka-section {
6205
- box-sizing: border-box;
6050
+ .muka-scrollbar {
6051
+ display: flex;
6052
+ flex-shrink: 0;
6053
+ border-left: var(--border-width-regular) solid var(--color-border-default);
6054
+ background-color: var(--color-surface-level3);
6055
+ user-select: none;
6206
6056
  }
6207
6057
 
6208
- .muka-section--padding-compact {
6209
- padding-block: var(--section-padding-vertical-compact);
6210
- padding-inline: var(--section-padding-horizontal-compact);
6058
+ .muka-scrollbar--vertical {
6059
+ flex-direction: column;
6060
+ width: var(--size-2xl, 32px);
6061
+ align-self: stretch;
6211
6062
  }
6212
6063
 
6213
- .muka-section--padding-default {
6214
- padding-block: var(--section-padding-vertical-default);
6215
- padding-inline: var(--section-padding-horizontal-default);
6064
+ .muka-scrollbar--horizontal {
6065
+ flex-direction: row;
6066
+ height: var(--size-2xl, 32px);
6067
+ width: 100%;
6068
+ border-left: none;
6069
+ border-top: var(--border-width-regular) solid var(--color-border-default);
6216
6070
  }
6217
6071
 
6218
- .muka-section--padding-spacious {
6219
- padding-block: var(--section-padding-vertical-spacious);
6220
- padding-inline: var(--section-padding-horizontal-spacious);
6072
+ .muka-scrollbar__button {
6073
+ display: flex;
6074
+ align-items: center;
6075
+ justify-content: center;
6076
+ flex-shrink: 0;
6077
+ width: 100%;
6078
+ height: var(--size-2xl, 32px);
6079
+ padding: 0;
6080
+ border: none;
6081
+ background-color: var(--button-color-tertiary-background-default, var(--color-surface-level3));
6082
+ color: var(--color-text-default-default);
6083
+ cursor: pointer;
6084
+ }
6085
+
6086
+ .muka-scrollbar--horizontal .muka-scrollbar__button {
6087
+ width: var(--size-2xl, 32px);
6088
+ height: 100%;
6089
+ }
6090
+
6091
+ .muka-scrollbar__button:hover {
6092
+ background-color: var(--color-surface-hover);
6093
+ }
6094
+
6095
+ .muka-scrollbar__divider {
6096
+ flex-shrink: 0;
6097
+ width: 100%;
6098
+ height: 1px;
6099
+ background-color: var(--color-border-default);
6100
+ }
6101
+
6102
+ .muka-scrollbar--horizontal .muka-scrollbar__divider {
6103
+ width: 1px;
6104
+ height: 100%;
6105
+ }
6106
+
6107
+ .muka-scrollbar__track {
6108
+ position: relative;
6109
+ display: flex;
6110
+ flex-direction: column;
6111
+ flex: 1 1 auto;
6112
+ min-height: 0;
6113
+ width: 100%;
6114
+ }
6115
+
6116
+ .muka-scrollbar--horizontal .muka-scrollbar__track {
6117
+ flex-direction: row;
6118
+ min-width: 0;
6119
+ height: 100%;
6120
+ }
6121
+
6122
+ .muka-scrollbar__thumb {
6123
+ position: absolute;
6124
+ left: 0;
6125
+ top: 0;
6126
+ z-index: 1;
6127
+ display: flex;
6128
+ align-items: center;
6129
+ justify-content: center;
6130
+ width: 100%;
6131
+ /* Figma: scrollbar thumb fill = surface/level3 */
6132
+ background-color: var(--color-surface-level3);
6133
+ cursor: grab;
6134
+ touch-action: none;
6135
+ }
6136
+
6137
+ .muka-scrollbar--horizontal .muka-scrollbar__thumb {
6138
+ left: 0;
6139
+ top: 0;
6140
+ width: auto;
6141
+ height: 100%;
6142
+ margin-left: 0;
6143
+ margin-top: 0;
6144
+ }
6145
+
6146
+ .muka-scrollbar__thumb:active {
6147
+ cursor: grabbing;
6148
+ }
6149
+
6150
+ .muka-scrollbar__grip {
6151
+ display: flex;
6152
+ flex-direction: column;
6153
+ gap: 2px;
6154
+ width: 14px;
6155
+ }
6156
+
6157
+ .muka-scrollbar__grip::before,
6158
+ .muka-scrollbar__grip::after {
6159
+ content: '';
6160
+ display: block;
6161
+ width: 100%;
6162
+ height: 2px;
6163
+ border-radius: var(--border-radius-md);
6164
+ background-color: var(--color-text-subtle-default);
6165
+ }
6166
+
6167
+ .muka-scrollbar__spacer {
6168
+ flex: 1 1 auto;
6169
+ min-height: 0;
6170
+ background-color: var(--color-surface-level2);
6171
+ }
6172
+
6173
+
6174
+ /* RecordingBar */
6175
+ /* RecordingBar Component Styles */
6176
+
6177
+ .muka-recording-bar {
6178
+ display: flex;
6179
+ align-items: center;
6180
+ gap: var(--spacing-3);
6181
+ width: 100%;
6182
+ min-width: 0;
6183
+ }
6184
+
6185
+ .muka-recording-bar__dot {
6186
+ flex: 0 0 auto;
6187
+ width: 0.625rem;
6188
+ height: 0.625rem;
6189
+ border-radius: var(--radius-full, 9999px);
6190
+ background: var(--alert-color-error-accent, var(--color-text-default-default));
6191
+ animation: muka-recording-bar-pulse 1s ease-in-out infinite;
6192
+ }
6193
+
6194
+ .muka-recording-bar__time {
6195
+ flex: 0 0 auto;
6196
+ font-size: var(--text-label-sm-fontSize, 0.75rem);
6197
+ line-height: var(--text-label-sm-lineHeight, 1);
6198
+ font-variant-numeric: tabular-nums;
6199
+ color: var(--color-text-default-default);
6200
+ }
6201
+
6202
+ .muka-recording-bar__wave {
6203
+ flex: 1 1 auto;
6204
+ min-width: 0;
6205
+ }
6206
+
6207
+ @keyframes muka-recording-bar-pulse {
6208
+ 0%,
6209
+ 100% {
6210
+ opacity: 1;
6211
+ }
6212
+ 50% {
6213
+ opacity: 0.3;
6214
+ }
6215
+ }
6216
+
6217
+ @media (prefers-reduced-motion: reduce) {
6218
+ .muka-recording-bar__dot {
6219
+ animation: none;
6220
+ }
6221
6221
  }
6222
6222
 
6223
6223
 
@@ -7593,77 +7593,6 @@ button.muka-progress-tracker__tab:focus-visible {
7593
7593
  }
7594
7594
 
7595
7595
 
7596
- /* ProfileBadge */
7597
- /* ProfileBadge Component Styles - Using Muka Design Tokens */
7598
-
7599
- .muka-profile-badge {
7600
- display: inline-flex;
7601
- align-items: center;
7602
- font-family: var(--text-body-base-regular-fontFamily);
7603
- }
7604
-
7605
- /* Size variants */
7606
- .muka-profile-badge--lg {
7607
- gap: var(--spacing-4); /* 16px */
7608
- }
7609
-
7610
- .muka-profile-badge--md {
7611
- gap: var(--spacing-3); /* 12px */
7612
- }
7613
-
7614
- .muka-profile-badge__avatar {
7615
- flex-shrink: 0;
7616
- }
7617
-
7618
- /* Text stack */
7619
- .muka-profile-badge__text {
7620
- display: flex;
7621
- flex-direction: column;
7622
- align-items: flex-start;
7623
- min-width: 0;
7624
- }
7625
-
7626
- .muka-profile-badge__name {
7627
- font-family: var(--text-body-base-regular-fontFamily);
7628
- font-size: var(--text-body-base-regular-fontSize);
7629
- font-weight: var(--text-body-base-regular-fontWeight);
7630
- line-height: var(--text-body-base-regular-lineHeight);
7631
- color: var(--color-text-default-default);
7632
- }
7633
-
7634
- .muka-profile-badge__email {
7635
- font-family: var(--text-body-xs-regular-fontFamily);
7636
- font-size: var(--text-body-xs-regular-fontSize);
7637
- font-weight: var(--text-body-xs-regular-fontWeight);
7638
- line-height: var(--text-body-xs-regular-lineHeight);
7639
- color: var(--color-text-subtle-default);
7640
- }
7641
-
7642
- /* Clickable state */
7643
- .muka-profile-badge--clickable {
7644
- cursor: pointer;
7645
- border: none;
7646
- background: none;
7647
- padding: 0;
7648
- text-align: left;
7649
- border-radius: var(--radius-md);
7650
- transition: opacity 0.2s ease;
7651
- }
7652
-
7653
- .muka-profile-badge--clickable:hover {
7654
- opacity: 0.9;
7655
- }
7656
-
7657
- .muka-profile-badge--clickable:active {
7658
- opacity: 0.8;
7659
- }
7660
-
7661
- .muka-profile-badge--clickable:focus-visible {
7662
- outline: 2px solid var(--color-border-focus);
7663
- outline-offset: 2px;
7664
- }
7665
-
7666
-
7667
7596
  /* Progress */
7668
7597
  /* Progress Component Styles - Using Muka Design Tokens */
7669
7598
 
@@ -7836,13 +7765,84 @@ button.muka-progress-tracker__tab:focus-visible {
7836
7765
  }
7837
7766
 
7838
7767
 
7839
- /* PriceTag */
7840
- /* PriceTag Component Styles - Using Muka Design Tokens */
7841
-
7842
- .muka-price-tag {
7843
- display: flex;
7844
- flex-shrink: 0;
7845
- }
7768
+ /* ProfileBadge */
7769
+ /* ProfileBadge Component Styles - Using Muka Design Tokens */
7770
+
7771
+ .muka-profile-badge {
7772
+ display: inline-flex;
7773
+ align-items: center;
7774
+ font-family: var(--text-body-base-regular-fontFamily);
7775
+ }
7776
+
7777
+ /* Size variants */
7778
+ .muka-profile-badge--lg {
7779
+ gap: var(--spacing-4); /* 16px */
7780
+ }
7781
+
7782
+ .muka-profile-badge--md {
7783
+ gap: var(--spacing-3); /* 12px */
7784
+ }
7785
+
7786
+ .muka-profile-badge__avatar {
7787
+ flex-shrink: 0;
7788
+ }
7789
+
7790
+ /* Text stack */
7791
+ .muka-profile-badge__text {
7792
+ display: flex;
7793
+ flex-direction: column;
7794
+ align-items: flex-start;
7795
+ min-width: 0;
7796
+ }
7797
+
7798
+ .muka-profile-badge__name {
7799
+ font-family: var(--text-body-base-regular-fontFamily);
7800
+ font-size: var(--text-body-base-regular-fontSize);
7801
+ font-weight: var(--text-body-base-regular-fontWeight);
7802
+ line-height: var(--text-body-base-regular-lineHeight);
7803
+ color: var(--color-text-default-default);
7804
+ }
7805
+
7806
+ .muka-profile-badge__email {
7807
+ font-family: var(--text-body-xs-regular-fontFamily);
7808
+ font-size: var(--text-body-xs-regular-fontSize);
7809
+ font-weight: var(--text-body-xs-regular-fontWeight);
7810
+ line-height: var(--text-body-xs-regular-lineHeight);
7811
+ color: var(--color-text-subtle-default);
7812
+ }
7813
+
7814
+ /* Clickable state */
7815
+ .muka-profile-badge--clickable {
7816
+ cursor: pointer;
7817
+ border: none;
7818
+ background: none;
7819
+ padding: 0;
7820
+ text-align: left;
7821
+ border-radius: var(--radius-md);
7822
+ transition: opacity 0.2s ease;
7823
+ }
7824
+
7825
+ .muka-profile-badge--clickable:hover {
7826
+ opacity: 0.9;
7827
+ }
7828
+
7829
+ .muka-profile-badge--clickable:active {
7830
+ opacity: 0.8;
7831
+ }
7832
+
7833
+ .muka-profile-badge--clickable:focus-visible {
7834
+ outline: 2px solid var(--color-border-focus);
7835
+ outline-offset: 2px;
7836
+ }
7837
+
7838
+
7839
+ /* PriceTag */
7840
+ /* PriceTag Component Styles - Using Muka Design Tokens */
7841
+
7842
+ .muka-price-tag {
7843
+ display: flex;
7844
+ flex-shrink: 0;
7845
+ }
7846
7846
 
7847
7847
  /* Medium: stacked layout (price on top, unit below) */
7848
7848
  .muka-price-tag--md {
@@ -8261,6 +8261,26 @@ button.muka-progress-tracker__tab:focus-visible {
8261
8261
  flex: none;
8262
8262
  }
8263
8263
 
8264
+ /* Label and, optionally, a supporting line under it */
8265
+ .muka-gantt__bar-text {
8266
+ display: flex;
8267
+ flex: 1 1 auto;
8268
+ flex-direction: column;
8269
+ min-width: 0;
8270
+ }
8271
+
8272
+ .muka-gantt__bar-sublabel {
8273
+ min-width: 0;
8274
+ overflow: hidden;
8275
+ text-overflow: ellipsis;
8276
+ white-space: nowrap;
8277
+ color: var(--color-text-subtle-default);
8278
+ font-family: var(--text-body-xs-regular-fontFamily);
8279
+ font-weight: var(--text-body-xs-regular-fontWeight);
8280
+ font-size: var(--text-body-xs-regular-fontSize);
8281
+ line-height: var(--text-body-xs-regular-lineHeight);
8282
+ }
8283
+
8264
8284
  .muka-gantt__bar-label {
8265
8285
  min-width: 0;
8266
8286
  overflow: hidden;
@@ -8268,6 +8288,38 @@ button.muka-progress-tracker__tab:focus-visible {
8268
8288
  white-space: nowrap;
8269
8289
  }
8270
8290
 
8291
+ /* Task names in the bars: wrap to at most two lines; the bar grows with them */
8292
+ .muka-gantt--labels-hidden .muka-gantt__bar-label {
8293
+ display: -webkit-box;
8294
+ -webkit-box-orient: vertical;
8295
+ -webkit-line-clamp: 2;
8296
+ line-clamp: 2;
8297
+ white-space: normal;
8298
+ /* Break between words, never inside one; hyphenate where the page's
8299
+ language allows it, and clip a word that still doesn't fit. */
8300
+ overflow-wrap: normal;
8301
+ word-break: normal;
8302
+ hyphens: auto;
8303
+ }
8304
+
8305
+ /* Hidden task column: the label stays the row's accessible name, off screen */
8306
+ .muka-gantt--labels-hidden .muka-gantt__row {
8307
+ position: relative;
8308
+ grid-template-columns: minmax(0, 1fr);
8309
+ }
8310
+
8311
+ .muka-gantt--labels-hidden .muka-gantt__label {
8312
+ position: absolute;
8313
+ width: 1px;
8314
+ height: 1px;
8315
+ margin: -1px;
8316
+ padding: 0;
8317
+ overflow: hidden;
8318
+ clip: rect(0, 0, 0, 0);
8319
+ white-space: nowrap;
8320
+ border: 0;
8321
+ }
8322
+
8271
8323
  .muka-gantt__bar-badge {
8272
8324
  flex: none;
8273
8325
  display: inline-flex;
@@ -8300,6 +8352,12 @@ button.muka-progress-tracker__tab:focus-visible {
8300
8352
  .muka-gantt__week-label {
8301
8353
  min-width: 0;
8302
8354
  }
8355
+
8356
+ /* Task names in narrow bars: the text gets the whole bar, the status icon
8357
+ goes (the bar's accessible name and the legend still carry it). */
8358
+ .muka-gantt--labels-hidden .muka-gantt__bar-icon {
8359
+ display: none;
8360
+ }
8303
8361
  }
8304
8362
 
8305
8363
 
@@ -10735,28 +10793,6 @@ li.muka-listitem {
10735
10793
  }
10736
10794
 
10737
10795
 
10738
- /* EmojiPicker */
10739
- /* EmojiPicker Component Styles */
10740
-
10741
- .muka-emoji-picker {
10742
- display: grid;
10743
- grid-template-columns: repeat(8, 1fr);
10744
- gap: var(--spacing-1);
10745
- padding: var(--spacing-2);
10746
- max-height: 12rem;
10747
- overflow-y: auto;
10748
- background: var(--color-surface-level2);
10749
- border: var(--border-width-regular, 1px) solid var(--color-border-default);
10750
- border-radius: var(--radius-lg);
10751
- box-shadow: var(--menu-content-shadow, 0 4px 12px rgba(0, 0, 0, 0.12));
10752
- }
10753
-
10754
- .muka-emoji-picker__glyph {
10755
- font-size: 1.25rem;
10756
- line-height: 1;
10757
- }
10758
-
10759
-
10760
10796
  /* EmptyState */
10761
10797
  /* EmptyState Component Styles - Using Muka Design Tokens */
10762
10798
 
@@ -10898,6 +10934,28 @@ li.muka-listitem {
10898
10934
  }
10899
10935
 
10900
10936
 
10937
+ /* EmojiPicker */
10938
+ /* EmojiPicker Component Styles */
10939
+
10940
+ .muka-emoji-picker {
10941
+ display: grid;
10942
+ grid-template-columns: repeat(8, 1fr);
10943
+ gap: var(--spacing-1);
10944
+ padding: var(--spacing-2);
10945
+ max-height: 12rem;
10946
+ overflow-y: auto;
10947
+ background: var(--color-surface-level2);
10948
+ border: var(--border-width-regular, 1px) solid var(--color-border-default);
10949
+ border-radius: var(--radius-lg);
10950
+ box-shadow: var(--menu-content-shadow, 0 4px 12px rgba(0, 0, 0, 0.12));
10951
+ }
10952
+
10953
+ .muka-emoji-picker__glyph {
10954
+ font-size: 1.25rem;
10955
+ line-height: 1;
10956
+ }
10957
+
10958
+
10901
10959
  /* DropdownSelect */
10902
10960
  /* DropdownSelect — Figma Dropdown Menu form field (Menu + chips) */
10903
10961
 
@@ -11881,82 +11939,6 @@ li.muka-listitem {
11881
11939
  }
11882
11940
 
11883
11941
 
11884
- /* DataPieChart */
11885
- /* DataPieChart Component Styles - Using Muka Design Tokens */
11886
-
11887
- .muka-data-pie-chart {
11888
- position: relative;
11889
- display: inline-flex;
11890
- align-items: center;
11891
- justify-content: center;
11892
- flex-shrink: 0;
11893
- }
11894
-
11895
- .muka-data-pie-chart__svg {
11896
- display: block;
11897
- width: 100%;
11898
- height: 100%;
11899
- /* Start the segment at 12 o'clock instead of 3 o'clock */
11900
- transform: rotate(-90deg);
11901
- }
11902
-
11903
- .muka-data-pie-chart__track {
11904
- fill: none;
11905
- }
11906
-
11907
- .muka-data-pie-chart__segment {
11908
- fill: none;
11909
- /* Subtle lift on the filled segment, matching the Figma elevation */
11910
- filter: drop-shadow(0 2px 4px var(--color-black-alpha-5, rgba(0, 0, 0, 0.05)));
11911
- /* Butt caps keep the always-rendered 0% arc invisible (round caps would draw a dot) */
11912
- stroke-linecap: butt;
11913
- /* view duration (300ms) reads at the 24px size; tokens zero it for reduced motion */
11914
- transition: stroke-dasharray var(--motion-duration-view) var(--motion-easing-default);
11915
- }
11916
-
11917
- /* ─── Indeterminate (spinner) ─────────────────────────── */
11918
- /* A masked ring filled with an angular (conic) gradient that rotates. The mask
11919
- band matches the donut geometry (r=40, strokeWidth=16 → 64%–96% of radius) so
11920
- it swaps seamlessly with the value-based progress donut. */
11921
- .muka-data-pie-chart__spinner-track,
11922
- .muka-data-pie-chart__spinner {
11923
- position: absolute;
11924
- inset: 0;
11925
- border-radius: 50%;
11926
- -webkit-mask: radial-gradient(farthest-side, transparent 63%, #000 65%, #000 95%, transparent 97%);
11927
- mask: radial-gradient(farthest-side, transparent 63%, #000 65%, #000 95%, transparent 97%);
11928
- }
11929
-
11930
- .muka-data-pie-chart__spinner {
11931
- animation: muka-data-pie-chart-spin 0.9s linear infinite;
11932
- }
11933
-
11934
- @keyframes muka-data-pie-chart-spin {
11935
- to {
11936
- transform: rotate(360deg);
11937
- }
11938
- }
11939
-
11940
- @media (prefers-reduced-motion: reduce) {
11941
- .muka-data-pie-chart__spinner {
11942
- animation-duration: 2.5s;
11943
- }
11944
- }
11945
-
11946
- .muka-data-pie-chart__value {
11947
- position: absolute;
11948
- inset: 0;
11949
- display: flex;
11950
- align-items: center;
11951
- justify-content: center;
11952
- font-family: var(--text-body-base-bold-fontFamily);
11953
- font-weight: var(--text-body-base-bold-fontWeight);
11954
- font-size: var(--text-body-base-bold-fontSize);
11955
- line-height: var(--text-body-base-bold-lineHeight);
11956
- color: var(--color-text-default-default);
11957
- }
11958
-
11959
-
11960
11942
  /* DataTable */
11961
11943
  /* DataTable Component Styles - Using Muka Design Tokens */
11962
11944
 
@@ -12450,29 +12432,105 @@ li.muka-listitem {
12450
12432
  }
12451
12433
 
12452
12434
 
12453
- /* ContextSelect */
12454
- /* ContextSelect — split label (navigate) + chevron menu button (switch)
12455
- *
12456
- * Figma (5623:8651 / 5631:9344):
12457
- * - Root: gap spacing/1 (4px) between label group and chevron
12458
- * - Label group: gap spacing/2 (8px) icon↔label, pl spacing/2 (8px)
12459
- * - Icons: 16px (icon.size.xs)
12460
- */
12435
+ /* DataPieChart */
12436
+ /* DataPieChart Component Styles - Using Muka Design Tokens */
12461
12437
 
12462
- .muka-context-select {
12463
- display: inline-flex;
12438
+ .muka-data-pie-chart {
12464
12439
  position: relative;
12465
- align-items: flex-start;
12466
- gap: var(--spacing-1, 4px);
12467
- }
12468
-
12469
- .muka-context-select__label-group {
12470
12440
  display: inline-flex;
12471
12441
  align-items: center;
12472
- gap: var(--spacing-2, 8px);
12473
- height: var(--size-2xl, 32px);
12474
- padding-left: var(--spacing-2, 8px);
12475
- padding-right: 0;
12442
+ justify-content: center;
12443
+ flex-shrink: 0;
12444
+ }
12445
+
12446
+ .muka-data-pie-chart__svg {
12447
+ display: block;
12448
+ width: 100%;
12449
+ height: 100%;
12450
+ /* Start the segment at 12 o'clock instead of 3 o'clock */
12451
+ transform: rotate(-90deg);
12452
+ }
12453
+
12454
+ .muka-data-pie-chart__track {
12455
+ fill: none;
12456
+ }
12457
+
12458
+ .muka-data-pie-chart__segment {
12459
+ fill: none;
12460
+ /* Subtle lift on the filled segment, matching the Figma elevation */
12461
+ filter: drop-shadow(0 2px 4px var(--color-black-alpha-5, rgba(0, 0, 0, 0.05)));
12462
+ /* Butt caps keep the always-rendered 0% arc invisible (round caps would draw a dot) */
12463
+ stroke-linecap: butt;
12464
+ /* view duration (300ms) reads at the 24px size; tokens zero it for reduced motion */
12465
+ transition: stroke-dasharray var(--motion-duration-view) var(--motion-easing-default);
12466
+ }
12467
+
12468
+ /* ─── Indeterminate (spinner) ─────────────────────────── */
12469
+ /* A masked ring filled with an angular (conic) gradient that rotates. The mask
12470
+ band matches the donut geometry (r=40, strokeWidth=16 → 64%–96% of radius) so
12471
+ it swaps seamlessly with the value-based progress donut. */
12472
+ .muka-data-pie-chart__spinner-track,
12473
+ .muka-data-pie-chart__spinner {
12474
+ position: absolute;
12475
+ inset: 0;
12476
+ border-radius: 50%;
12477
+ -webkit-mask: radial-gradient(farthest-side, transparent 63%, #000 65%, #000 95%, transparent 97%);
12478
+ mask: radial-gradient(farthest-side, transparent 63%, #000 65%, #000 95%, transparent 97%);
12479
+ }
12480
+
12481
+ .muka-data-pie-chart__spinner {
12482
+ animation: muka-data-pie-chart-spin 0.9s linear infinite;
12483
+ }
12484
+
12485
+ @keyframes muka-data-pie-chart-spin {
12486
+ to {
12487
+ transform: rotate(360deg);
12488
+ }
12489
+ }
12490
+
12491
+ @media (prefers-reduced-motion: reduce) {
12492
+ .muka-data-pie-chart__spinner {
12493
+ animation-duration: 2.5s;
12494
+ }
12495
+ }
12496
+
12497
+ .muka-data-pie-chart__value {
12498
+ position: absolute;
12499
+ inset: 0;
12500
+ display: flex;
12501
+ align-items: center;
12502
+ justify-content: center;
12503
+ font-family: var(--text-body-base-bold-fontFamily);
12504
+ font-weight: var(--text-body-base-bold-fontWeight);
12505
+ font-size: var(--text-body-base-bold-fontSize);
12506
+ line-height: var(--text-body-base-bold-lineHeight);
12507
+ color: var(--color-text-default-default);
12508
+ }
12509
+
12510
+
12511
+ /* ContextSelect */
12512
+ /* ContextSelect — split label (navigate) + chevron menu button (switch)
12513
+ *
12514
+ * Figma (5623:8651 / 5631:9344):
12515
+ * - Root: gap spacing/1 (4px) between label group and chevron
12516
+ * - Label group: gap spacing/2 (8px) icon↔label, pl spacing/2 (8px)
12517
+ * - Icons: 16px (icon.size.xs)
12518
+ */
12519
+
12520
+ .muka-context-select {
12521
+ display: inline-flex;
12522
+ position: relative;
12523
+ align-items: flex-start;
12524
+ gap: var(--spacing-1, 4px);
12525
+ }
12526
+
12527
+ .muka-context-select__label-group {
12528
+ display: inline-flex;
12529
+ align-items: center;
12530
+ gap: var(--spacing-2, 8px);
12531
+ height: var(--size-2xl, 32px);
12532
+ padding-left: var(--spacing-2, 8px);
12533
+ padding-right: 0;
12476
12534
  border-radius: var(--border-radius-lg);
12477
12535
  color: var(--color-text-default-default);
12478
12536
  text-decoration: none;
@@ -12570,808 +12628,686 @@ li.muka-listitem {
12570
12628
  }
12571
12629
 
12572
12630
 
12573
- /* Chip */
12574
- /* Chip Component Styles - Using Muka Design Tokens (Figma: Chip) */
12631
+ /* Container */
12632
+ /* Container Component - Layout tokens (container.max-width, container.gap) */
12575
12633
 
12576
- .muka-chip {
12577
- display: inline-flex;
12578
- align-items: center;
12579
- border-radius: var(--border-radius-full);
12580
- white-space: nowrap;
12581
- user-select: none;
12582
- border: var(--border-width-regular) solid transparent;
12634
+ .muka-container {
12583
12635
  box-sizing: border-box;
12636
+ width: 100%;
12637
+ margin-inline: auto;
12584
12638
  }
12585
12639
 
12586
- /*
12587
- * Sizes — height, gap, type, and default (label-edge) horizontal padding.
12588
- * Vertical centering is handled by the fixed height + align-items: center.
12589
- * The side that carries an adornment (leading icon / dismiss button) gets a
12590
- * tighter padding, applied via the --has-icon / --dismissible modifiers below.
12591
- */
12592
- .muka-chip--sm {
12593
- height: var(--chip-size-height-sm);
12594
- gap: var(--chip-gap-sm);
12595
- padding: 0 var(--chip-padding-label-sm);
12596
- font-family: var(--text-label-sm-regular-fontFamily);
12597
- font-weight: var(--text-label-sm-regular-fontWeight);
12598
- font-size: var(--text-label-sm-regular-fontSize);
12599
- line-height: var(--text-label-sm-regular-lineHeight);
12640
+ /* Max-width variants */
12641
+ .muka-container--max-width-small {
12642
+ max-width: var(--container-max-width-small);
12600
12643
  }
12601
12644
 
12602
- .muka-chip--md {
12603
- height: var(--chip-size-height-md);
12604
- gap: var(--chip-gap-md);
12605
- padding: 0 var(--chip-padding-label-md);
12606
- font-family: var(--text-label-md-regular-fontFamily);
12607
- font-weight: var(--text-label-md-regular-fontWeight);
12608
- font-size: var(--text-label-md-regular-fontSize);
12609
- line-height: var(--text-label-md-regular-lineHeight);
12645
+ .muka-container--max-width-medium {
12646
+ max-width: var(--container-max-width-medium);
12610
12647
  }
12611
12648
 
12612
- .muka-chip--lg {
12613
- height: var(--chip-size-height-lg);
12614
- gap: var(--chip-gap-lg);
12615
- padding: 0 var(--chip-padding-label-lg);
12616
- font-family: var(--text-label-lg-regular-fontFamily);
12617
- font-weight: var(--text-label-lg-regular-fontWeight);
12618
- font-size: var(--text-label-lg-regular-fontSize);
12619
- line-height: var(--text-label-lg-regular-lineHeight);
12649
+ .muka-container--max-width-large {
12650
+ max-width: var(--container-max-width-large);
12620
12651
  }
12621
12652
 
12622
- /* Tighter leading padding when a leading icon is present */
12623
- .muka-chip--sm.muka-chip--has-icon {
12624
- padding-left: var(--chip-padding-leading-sm);
12625
- }
12626
- .muka-chip--md.muka-chip--has-icon {
12627
- padding-left: var(--chip-padding-leading-md);
12653
+ .muka-container--max-width-xlarge {
12654
+ max-width: var(--container-max-width-xlarge);
12628
12655
  }
12629
- .muka-chip--lg.muka-chip--has-icon {
12630
- padding-left: var(--chip-padding-leading-lg);
12656
+
12657
+ /* No gap — max-width only, no flex */
12658
+ .muka-container--gap-none {
12659
+ /* block layout by default */
12631
12660
  }
12632
12661
 
12633
- /* Tighter trailing padding when the dismiss button is present */
12634
- .muka-chip--sm.muka-chip--dismissible,
12635
- .muka-chip--sm.muka-chip--expandable {
12636
- padding-right: var(--chip-padding-trailing-sm);
12662
+ /* Gap variants — flex column with token gap */
12663
+ .muka-container--gap-compact {
12664
+ display: flex;
12665
+ flex-direction: column;
12666
+ gap: var(--container-gap-compact);
12637
12667
  }
12638
- .muka-chip--md.muka-chip--dismissible,
12639
- .muka-chip--md.muka-chip--expandable {
12640
- padding-right: var(--chip-padding-trailing-md);
12668
+
12669
+ .muka-container--gap-default {
12670
+ display: flex;
12671
+ flex-direction: column;
12672
+ gap: var(--container-gap-default);
12641
12673
  }
12642
- .muka-chip--lg.muka-chip--dismissible,
12643
- .muka-chip--lg.muka-chip--expandable {
12644
- padding-right: var(--chip-padding-trailing-lg);
12674
+
12675
+ .muka-container--gap-spacious {
12676
+ display: flex;
12677
+ flex-direction: column;
12678
+ gap: var(--container-gap-spacious);
12645
12679
  }
12646
12680
 
12647
- /* Leading icon slot — Figma icon sizes: sm 16, md 20, lg 24 */
12648
- .muka-chip__icon {
12681
+
12682
+ /* Combobox */
12683
+ /* Combobox — Figma Input Combobox (free-input chips + suggestion Menu) */
12684
+
12685
+ .muka-combobox {
12649
12686
  display: inline-flex;
12650
- align-items: center;
12651
- justify-content: center;
12652
- flex-shrink: 0;
12687
+ flex-direction: column;
12688
+ gap: var(--spacing-2);
12689
+ min-width: 200px;
12653
12690
  }
12654
12691
 
12655
- .muka-chip--sm .muka-chip__icon {
12656
- width: var(--icon-size-xs);
12657
- height: var(--icon-size-xs);
12692
+ .muka-combobox--full-width {
12693
+ width: 100%;
12658
12694
  }
12659
- .muka-chip--md .muka-chip__icon {
12660
- width: var(--icon-size-sm);
12661
- height: var(--icon-size-sm);
12695
+
12696
+ .muka-combobox__label {
12697
+ color: var(--color-text-default-default);
12698
+ cursor: pointer;
12662
12699
  }
12663
- .muka-chip--lg .muka-chip__icon {
12664
- width: var(--icon-size-default);
12665
- height: var(--icon-size-default);
12700
+
12701
+ .muka-combobox__label--sm {
12702
+ font-family: var(--text-label-sm-semibold-fontFamily);
12703
+ font-weight: var(--text-label-sm-semibold-fontWeight);
12704
+ font-size: var(--text-label-sm-semibold-fontSize);
12705
+ line-height: var(--text-label-sm-semibold-lineHeight);
12666
12706
  }
12667
12707
 
12668
- /* Force the passed content (raw <svg> or an <Icon> wrapper) to the slot size,
12669
- so callers don't have to size the icon to match each chip size. The
12670
- .muka-icon selector is intentionally 2 classes deep to override .muka-icon--md. */
12671
- .muka-chip__icon .muka-icon,
12672
- .muka-chip__icon svg {
12673
- width: 100%;
12674
- height: 100%;
12708
+ .muka-combobox__label--md {
12709
+ font-family: var(--text-label-md-semibold-fontFamily);
12710
+ font-weight: var(--text-label-md-semibold-fontWeight);
12711
+ font-size: var(--text-label-md-semibold-fontSize);
12712
+ line-height: var(--text-label-md-semibold-lineHeight);
12675
12713
  }
12676
12714
 
12677
- .muka-chip__label {
12678
- flex: 0 1 auto;
12679
- min-width: 0;
12680
- overflow: hidden;
12681
- text-overflow: ellipsis;
12682
- /*
12683
- * The chip sets a tight line-height (= font size) for compact sizing, but the label's
12684
- * `overflow: hidden` (needed for ellipsis) then clips glyph descenders (g, y, p). Give the
12685
- * label its own roomier line-height so descenders render; vertical centering is unaffected
12686
- * because the chip height is fixed and content is centered via align-items: center.
12687
- */
12688
- line-height: normal;
12715
+ .muka-combobox__label--lg {
12716
+ font-family: var(--text-label-lg-semibold-fontFamily);
12717
+ font-weight: var(--text-label-lg-semibold-fontWeight);
12718
+ font-size: var(--text-label-lg-semibold-fontSize);
12719
+ line-height: var(--text-label-lg-semibold-lineHeight);
12689
12720
  }
12690
12721
 
12691
- /* Trailing button (dismiss or expand) — circular. Figma circle sizes: sm 20, md 24, lg 32 */
12692
- .muka-chip__remove,
12693
- .muka-chip__expand {
12694
- display: inline-flex;
12722
+ .muka-combobox__field {
12723
+ display: flex;
12695
12724
  align-items: center;
12696
- justify-content: center;
12697
- flex-shrink: 0;
12698
- padding: 0;
12699
- margin: 0;
12700
- border: none;
12701
- border-radius: var(--border-radius-full);
12702
- cursor: pointer;
12703
- transition: background-color 0.15s ease, color 0.15s ease;
12704
- }
12705
-
12706
- .muka-chip--sm .muka-chip__remove,
12707
- .muka-chip--sm .muka-chip__expand {
12708
- width: var(--icon-size-sm);
12709
- height: var(--icon-size-sm);
12710
- }
12711
- .muka-chip--md .muka-chip__remove,
12712
- .muka-chip--md .muka-chip__expand {
12713
- width: var(--icon-size-default);
12714
- height: var(--icon-size-default);
12715
- }
12716
- .muka-chip--lg .muka-chip__remove,
12717
- .muka-chip--lg .muka-chip__expand {
12718
- width: var(--icon-size-lg);
12719
- height: var(--icon-size-lg);
12720
- }
12721
-
12722
- .muka-chip__remove:focus-visible {
12723
- outline: 2px solid currentColor;
12724
- outline-offset: 2px;
12725
- }
12726
-
12727
- /*
12728
- * Expandable chip (Figma "Chip/Trailing Expand"): the whole chip is one button,
12729
- * typically a menu trigger. Hovering or pressing anywhere on it drives the
12730
- * chevron's hover / pressed steps; an open menu (aria-expanded) shows pressed,
12731
- * like Button's open state.
12732
- */
12733
- .muka-chip--expandable {
12734
- margin: 0;
12735
- text-align: inherit;
12736
- cursor: pointer;
12737
- }
12738
-
12739
- .muka-chip--expandable:focus-visible {
12740
- outline: 2px solid var(--color-border-focus);
12741
- outline-offset: 2px;
12742
- }
12743
-
12744
- .muka-chip--expandable:disabled {
12745
- cursor: not-allowed;
12725
+ width: 100%;
12726
+ position: relative;
12727
+ isolation: isolate;
12728
+ box-sizing: border-box;
12729
+ background-color: var(--input-field-color-default-background);
12730
+ border: var(--border-width-regular) solid var(--input-field-color-default-border);
12731
+ border-radius: var(--input-field-radius-lg);
12732
+ padding: var(--spacing-2);
12733
+ cursor: text;
12734
+ transition: border-color 0.12s ease, background-color 0.12s ease;
12746
12735
  }
12747
12736
 
12748
- .muka-chip__expand {
12737
+ .muka-combobox__field::after {
12738
+ content: '';
12739
+ position: absolute;
12740
+ inset: 0;
12741
+ border-radius: inherit;
12742
+ box-shadow: inset 0 1px 2px 0 rgba(26, 26, 26, 0.08);
12749
12743
  pointer-events: none;
12750
12744
  }
12751
12745
 
12752
- /*
12753
- * Dismiss button colors — state-tinted per chip variant, with default / hover /
12754
- * pressed steps. Values come from T4 chip.dismiss.* tokens, which reference the
12755
- * brand-specific alias state-surface ramp. The ✕ (.muka-icon) inherits `color`.
12756
- */
12757
- .muka-chip--default .muka-chip__remove,
12758
- .muka-chip--default .muka-chip__expand {
12759
- background-color: var(--chip-dismiss-default-background-default);
12760
- color: var(--chip-dismiss-default-foreground-default);
12761
- }
12762
- .muka-chip--default .muka-chip__remove:hover,
12763
- .muka-chip--default.muka-chip--expandable:hover:not(:disabled) .muka-chip__expand {
12764
- background-color: var(--chip-dismiss-default-background-hover);
12765
- color: var(--chip-dismiss-default-foreground-hover);
12766
- }
12767
- .muka-chip--default .muka-chip__remove:active,
12768
- .muka-chip--default.muka-chip--expandable:active:not(:disabled) .muka-chip__expand,
12769
- .muka-chip--default.muka-chip--expandable[aria-expanded='true'] .muka-chip__expand {
12770
- background-color: var(--chip-dismiss-default-background-pressed);
12771
- color: var(--chip-dismiss-default-foreground-pressed);
12772
- }
12773
-
12774
- .muka-chip--success .muka-chip__remove,
12775
- .muka-chip--success .muka-chip__expand {
12776
- background-color: var(--chip-dismiss-success-background-default);
12777
- color: var(--chip-dismiss-success-foreground-default);
12778
- }
12779
- .muka-chip--success .muka-chip__remove:hover,
12780
- .muka-chip--success.muka-chip--expandable:hover:not(:disabled) .muka-chip__expand {
12781
- background-color: var(--chip-dismiss-success-background-hover);
12782
- color: var(--chip-dismiss-success-foreground-hover);
12783
- }
12784
- .muka-chip--success .muka-chip__remove:active,
12785
- .muka-chip--success.muka-chip--expandable:active:not(:disabled) .muka-chip__expand,
12786
- .muka-chip--success.muka-chip--expandable[aria-expanded='true'] .muka-chip__expand {
12787
- background-color: var(--chip-dismiss-success-background-pressed);
12788
- color: var(--chip-dismiss-success-foreground-pressed);
12789
- }
12790
-
12791
- .muka-chip--warning .muka-chip__remove,
12792
- .muka-chip--warning .muka-chip__expand {
12793
- background-color: var(--chip-dismiss-warning-background-default);
12794
- color: var(--chip-dismiss-warning-foreground-default);
12795
- }
12796
- .muka-chip--warning .muka-chip__remove:hover,
12797
- .muka-chip--warning.muka-chip--expandable:hover:not(:disabled) .muka-chip__expand {
12798
- background-color: var(--chip-dismiss-warning-background-hover);
12799
- color: var(--chip-dismiss-warning-foreground-hover);
12800
- }
12801
- .muka-chip--warning .muka-chip__remove:active,
12802
- .muka-chip--warning.muka-chip--expandable:active:not(:disabled) .muka-chip__expand,
12803
- .muka-chip--warning.muka-chip--expandable[aria-expanded='true'] .muka-chip__expand {
12804
- background-color: var(--chip-dismiss-warning-background-pressed);
12805
- color: var(--chip-dismiss-warning-foreground-pressed);
12806
- }
12807
-
12808
- .muka-chip--error .muka-chip__remove,
12809
- .muka-chip--error .muka-chip__expand {
12810
- background-color: var(--chip-dismiss-error-background-default);
12811
- color: var(--chip-dismiss-error-foreground-default);
12812
- }
12813
- .muka-chip--error .muka-chip__remove:hover,
12814
- .muka-chip--error.muka-chip--expandable:hover:not(:disabled) .muka-chip__expand {
12815
- background-color: var(--chip-dismiss-error-background-hover);
12816
- color: var(--chip-dismiss-error-foreground-hover);
12817
- }
12818
- .muka-chip--error .muka-chip__remove:active,
12819
- .muka-chip--error.muka-chip--expandable:active:not(:disabled) .muka-chip__expand,
12820
- .muka-chip--error.muka-chip--expandable[aria-expanded='true'] .muka-chip__expand {
12821
- background-color: var(--chip-dismiss-error-background-pressed);
12822
- color: var(--chip-dismiss-error-foreground-pressed);
12823
- }
12824
-
12825
- .muka-chip--info .muka-chip__remove,
12826
- .muka-chip--info .muka-chip__expand {
12827
- background-color: var(--chip-dismiss-info-background-default);
12828
- color: var(--chip-dismiss-info-foreground-default);
12829
- }
12830
- .muka-chip--info .muka-chip__remove:hover,
12831
- .muka-chip--info.muka-chip--expandable:hover:not(:disabled) .muka-chip__expand {
12832
- background-color: var(--chip-dismiss-info-background-hover);
12833
- color: var(--chip-dismiss-info-foreground-hover);
12834
- }
12835
- .muka-chip--info .muka-chip__remove:active,
12836
- .muka-chip--info.muka-chip--expandable:active:not(:disabled) .muka-chip__expand,
12837
- .muka-chip--info.muka-chip--expandable[aria-expanded='true'] .muka-chip__expand {
12838
- background-color: var(--chip-dismiss-info-background-pressed);
12839
- color: var(--chip-dismiss-info-foreground-pressed);
12840
- }
12841
-
12842
- /* Variants (solid fill) — icons inherit these foreground colors (see below) */
12843
- .muka-chip--default {
12844
- background-color: var(--color-surface-level1);
12845
- color: var(--color-text-default-default);
12846
- }
12847
-
12848
- .muka-chip--success {
12849
- background-color: var(--color-state-success-background);
12850
- color: var(--color-state-success-contrast);
12851
- }
12852
-
12853
- .muka-chip--warning {
12854
- background-color: var(--color-state-warning-background);
12855
- color: var(--color-state-warning-contrast);
12856
- }
12857
-
12858
- .muka-chip--error {
12859
- background-color: var(--color-state-error-background);
12860
- color: var(--color-state-error-contrast);
12861
- }
12862
-
12863
- .muka-chip--info {
12864
- background-color: var(--color-state-info-background);
12865
- color: var(--color-state-info-contrast);
12746
+ .muka-combobox__field--sm {
12747
+ min-height: var(--input-field-height-sm);
12748
+ border-radius: var(--input-field-radius-sm);
12866
12749
  }
12867
12750
 
12868
- /* Icons (leading + dismiss) inherit the chip's per-variant foreground color */
12869
- .muka-chip .muka-icon {
12870
- color: inherit;
12751
+ .muka-combobox__field--md {
12752
+ min-height: var(--input-field-height-default);
12753
+ border-radius: var(--input-field-radius-md);
12871
12754
  }
12872
12755
 
12873
-
12874
- /* CheckboxTile */
12875
- /* CheckboxTile Component Styles - Using Muka Design Tokens */
12876
-
12877
- /* Base tile styles - horizontal */
12878
- .muka-checkbox-tile {
12879
- display: flex;
12880
- align-items: center;
12881
- gap: var(--spacing-4);
12882
- padding: var(--spacing-4);
12883
- border: var(--border-width-regular) solid var(--input-field-color-default-border);
12756
+ .muka-combobox__field--lg {
12757
+ min-height: var(--input-field-height-lg);
12884
12758
  border-radius: var(--input-field-radius-lg);
12885
- background-color: var(--color-surface-level3);
12886
- cursor: pointer;
12887
- transition: border-color 0.15s ease, border-width 0.15s ease;
12888
- overflow: hidden;
12889
- box-sizing: border-box;
12890
- }
12891
-
12892
- .muka-checkbox-tile--disabled {
12893
- cursor: not-allowed;
12894
- opacity: 0.6;
12895
12759
  }
12896
12760
 
12897
- /* Selected state */
12898
- .muka-checkbox-tile[data-checked] {
12761
+ .muka-combobox__field--focused:not(.muka-combobox__field--disabled) {
12899
12762
  border-width: var(--border-width-bold);
12900
- border-color: var(--color-action-default);
12901
- }
12902
-
12903
- /* Vertical layout */
12904
- .muka-checkbox-tile--vertical {
12905
- flex-direction: column;
12906
- align-items: center;
12907
- gap: var(--spacing-2);
12908
- position: relative;
12909
- width: 160px;
12763
+ border-color: var(--input-field-color-focus-border);
12764
+ background-color: var(--input-field-color-focus-background);
12765
+ padding: calc(var(--spacing-2) - 1px);
12910
12766
  }
12911
12767
 
12912
- /* Checkbox container */
12913
- .muka-checkbox-tile__checkbox {
12914
- flex-shrink: 0;
12768
+ .muka-combobox__field--error:not(.muka-combobox__field--disabled) {
12769
+ border-color: var(--color-state-error-contrast);
12915
12770
  }
12916
12771
 
12917
- /* Corner-positioned checkbox for vertical */
12918
- .muka-checkbox-tile__checkbox--corner {
12919
- position: absolute;
12920
- top: var(--spacing-4);
12921
- left: var(--spacing-4);
12772
+ .muka-combobox__field--disabled {
12773
+ opacity: 0.5;
12774
+ cursor: not-allowed;
12922
12775
  }
12923
12776
 
12924
- /* Adjust corner position when selected (border is thicker) */
12925
- .muka-checkbox-tile[data-checked] .muka-checkbox-tile__checkbox--corner {
12926
- top: calc(var(--spacing-4) - 1px);
12927
- left: calc(var(--spacing-4) - 1px);
12777
+ .muka-combobox__field--multiline {
12778
+ align-items: flex-start;
12779
+ min-height: 7rem;
12928
12780
  }
12929
12781
 
12930
- /* Icon */
12931
- .muka-checkbox-tile__icon {
12782
+ .muka-combobox__chips {
12932
12783
  display: flex;
12784
+ flex: 1 1 auto;
12785
+ flex-wrap: wrap;
12786
+ gap: var(--spacing-2);
12933
12787
  align-items: center;
12934
- justify-content: center;
12935
- flex-shrink: 0;
12936
- width: var(--icon-size-default);
12937
- height: var(--icon-size-default);
12938
- color: var(--color-text-default-default);
12939
- }
12940
-
12941
- .muka-checkbox-tile__icon svg {
12942
- width: 100%;
12943
- height: 100%;
12944
- }
12945
-
12946
- /* Image */
12947
- .muka-checkbox-tile__image {
12948
- flex-shrink: 0;
12949
- overflow: hidden;
12950
- border-radius: var(--border-radius-sm);
12951
- }
12952
-
12953
- .muka-checkbox-tile__image img {
12954
- display: block;
12955
- width: 100%;
12956
- height: 100%;
12957
- object-fit: cover;
12958
- }
12959
-
12960
- /* Horizontal image sizing */
12961
- .muka-checkbox-tile__image--horizontal {
12962
- width: 40px;
12963
- height: 40px;
12964
- }
12965
-
12966
- /* Vertical image sizing */
12967
- .muka-checkbox-tile--vertical .muka-checkbox-tile__image {
12968
- width: 100%;
12969
- aspect-ratio: 4/3;
12970
- }
12971
-
12972
- /* Content container */
12973
- .muka-checkbox-tile__content {
12974
- display: flex;
12975
- flex-direction: column;
12976
- flex: 1;
12977
12788
  min-width: 0;
12978
- gap: var(--spacing-2);
12979
- }
12980
-
12981
- .muka-checkbox-tile__content-inner {
12982
- display: flex;
12983
- flex-direction: column;
12984
- gap: var(--spacing-1);
12985
- }
12986
-
12987
- /* Chip slot (replaces badge; use Chip component) */
12988
- .muka-checkbox-tile__chip {
12989
- flex-shrink: 0;
12789
+ width: 100%;
12790
+ position: relative;
12791
+ z-index: 1;
12990
12792
  }
12991
12793
 
12992
- .muka-checkbox-tile__chip--vertical {
12993
- margin-top: var(--spacing-1);
12794
+ .muka-combobox__input {
12795
+ flex: 1 1 5rem;
12796
+ min-width: 5rem;
12797
+ min-height: 2rem;
12798
+ margin: 0;
12799
+ padding: 0 var(--spacing-1);
12800
+ border: none;
12801
+ outline: none;
12802
+ background: transparent;
12803
+ color: var(--input-field-color-default-foreground);
12804
+ caret-color: var(--input-field-color-default-foreground);
12805
+ font-family: var(--text-label-md-regular-fontFamily);
12806
+ font-size: var(--text-label-md-regular-fontSize);
12807
+ font-weight: var(--text-label-md-regular-fontWeight);
12808
+ line-height: var(--text-label-md-regular-lineHeight);
12994
12809
  }
12995
12810
 
12996
- /* Label */
12997
- .muka-checkbox-tile__label {
12998
- font-family: var(--text-body-lg-regular-fontFamily);
12999
- font-weight: var(--text-body-lg-regular-fontWeight);
13000
- font-size: var(--text-body-lg-regular-fontSize);
13001
- line-height: var(--text-body-lg-regular-lineHeight);
13002
- color: var(--color-text-default-default);
12811
+ .muka-combobox__input::placeholder {
12812
+ color: var(--color-text-subtle-default);
13003
12813
  }
13004
12814
 
13005
- .muka-checkbox-tile__label--bold {
13006
- font-family: var(--text-label-lg-semibold-fontFamily);
13007
- font-weight: var(--text-label-lg-semibold-fontWeight);
13008
- font-size: var(--text-label-lg-semibold-fontSize);
13009
- line-height: var(--text-label-lg-semibold-lineHeight);
12815
+ .muka-combobox__helper {
12816
+ margin: 0;
12817
+ color: var(--color-text-subtle-default);
12818
+ font-family: var(--text-label-sm-regular-fontFamily);
12819
+ font-size: var(--text-label-sm-regular-fontSize);
12820
+ font-weight: var(--text-label-sm-regular-fontWeight);
12821
+ line-height: var(--text-label-sm-regular-lineHeight);
13010
12822
  }
13011
12823
 
13012
- .muka-checkbox-tile__label--center {
13013
- text-align: center;
12824
+ .muka-combobox__error {
12825
+ margin: 0;
12826
+ color: var(--color-state-error-default);
12827
+ font-family: var(--text-label-sm-regular-fontFamily);
12828
+ font-size: var(--text-label-sm-regular-fontSize);
12829
+ font-weight: var(--text-label-sm-regular-fontWeight);
12830
+ line-height: var(--text-label-sm-regular-lineHeight);
13014
12831
  }
13015
12832
 
13016
- /* Caption */
13017
- .muka-checkbox-tile__caption {
13018
- font-family: var(--text-body-base-regular-fontFamily);
13019
- font-weight: var(--text-body-base-regular-fontWeight);
13020
- font-size: var(--text-body-base-regular-fontSize);
13021
- line-height: var(--text-body-base-regular-lineHeight);
13022
- color: var(--color-text-subtle-default);
12833
+ .muka-combobox__menu-anchor {
12834
+ position: absolute;
12835
+ inset: 0;
12836
+ z-index: 0;
12837
+ width: 100%;
12838
+ height: 100%;
12839
+ margin: 0;
12840
+ padding: 0;
12841
+ border: none;
12842
+ background: transparent;
12843
+ pointer-events: none;
12844
+ opacity: 0;
13023
12845
  }
13024
12846
 
13025
- /* Disabled states */
13026
- .muka-checkbox-tile--disabled .muka-checkbox-tile__label,
13027
- .muka-checkbox-tile--disabled .muka-checkbox-tile__icon {
13028
- color: var(--color-text-subtle-default);
12847
+ .muka-combobox__menu {
12848
+ /* Prefer Menu token min-width (280px); may exceed the field when left-aligned. */
12849
+ min-width: var(--menu-content-min-width);
12850
+ width: max-content;
12851
+ max-width: min(100vw - 2rem, 24rem);
13029
12852
  }
13030
12853
 
13031
12854
 
13032
- /* Container */
13033
- /* Container Component - Layout tokens (container.max-width, container.gap) */
12855
+ /* Chip */
12856
+ /* Chip Component Styles - Using Muka Design Tokens (Figma: Chip) */
13034
12857
 
13035
- .muka-container {
12858
+ .muka-chip {
12859
+ display: inline-flex;
12860
+ align-items: center;
12861
+ border-radius: var(--border-radius-full);
12862
+ white-space: nowrap;
12863
+ user-select: none;
12864
+ border: var(--border-width-regular) solid transparent;
13036
12865
  box-sizing: border-box;
13037
- width: 100%;
13038
- margin-inline: auto;
13039
12866
  }
13040
12867
 
13041
- /* Max-width variants */
13042
- .muka-container--max-width-small {
13043
- max-width: var(--container-max-width-small);
12868
+ /*
12869
+ * Sizes — height, gap, type, and default (label-edge) horizontal padding.
12870
+ * Vertical centering is handled by the fixed height + align-items: center.
12871
+ * The side that carries an adornment (leading icon / dismiss button) gets a
12872
+ * tighter padding, applied via the --has-icon / --dismissible modifiers below.
12873
+ */
12874
+ .muka-chip--sm {
12875
+ height: var(--chip-size-height-sm);
12876
+ gap: var(--chip-gap-sm);
12877
+ padding: 0 var(--chip-padding-label-sm);
12878
+ font-family: var(--text-label-sm-regular-fontFamily);
12879
+ font-weight: var(--text-label-sm-regular-fontWeight);
12880
+ font-size: var(--text-label-sm-regular-fontSize);
12881
+ line-height: var(--text-label-sm-regular-lineHeight);
13044
12882
  }
13045
12883
 
13046
- .muka-container--max-width-medium {
13047
- max-width: var(--container-max-width-medium);
12884
+ .muka-chip--md {
12885
+ height: var(--chip-size-height-md);
12886
+ gap: var(--chip-gap-md);
12887
+ padding: 0 var(--chip-padding-label-md);
12888
+ font-family: var(--text-label-md-regular-fontFamily);
12889
+ font-weight: var(--text-label-md-regular-fontWeight);
12890
+ font-size: var(--text-label-md-regular-fontSize);
12891
+ line-height: var(--text-label-md-regular-lineHeight);
13048
12892
  }
13049
12893
 
13050
- .muka-container--max-width-large {
13051
- max-width: var(--container-max-width-large);
12894
+ .muka-chip--lg {
12895
+ height: var(--chip-size-height-lg);
12896
+ gap: var(--chip-gap-lg);
12897
+ padding: 0 var(--chip-padding-label-lg);
12898
+ font-family: var(--text-label-lg-regular-fontFamily);
12899
+ font-weight: var(--text-label-lg-regular-fontWeight);
12900
+ font-size: var(--text-label-lg-regular-fontSize);
12901
+ line-height: var(--text-label-lg-regular-lineHeight);
13052
12902
  }
13053
12903
 
13054
- .muka-container--max-width-xlarge {
13055
- max-width: var(--container-max-width-xlarge);
12904
+ /* Tighter leading padding when a leading icon is present */
12905
+ .muka-chip--sm.muka-chip--has-icon {
12906
+ padding-left: var(--chip-padding-leading-sm);
13056
12907
  }
13057
-
13058
- /* No gap — max-width only, no flex */
13059
- .muka-container--gap-none {
13060
- /* block layout by default */
12908
+ .muka-chip--md.muka-chip--has-icon {
12909
+ padding-left: var(--chip-padding-leading-md);
13061
12910
  }
13062
-
13063
- /* Gap variants — flex column with token gap */
13064
- .muka-container--gap-compact {
13065
- display: flex;
13066
- flex-direction: column;
13067
- gap: var(--container-gap-compact);
12911
+ .muka-chip--lg.muka-chip--has-icon {
12912
+ padding-left: var(--chip-padding-leading-lg);
13068
12913
  }
13069
12914
 
13070
- .muka-container--gap-default {
13071
- display: flex;
13072
- flex-direction: column;
13073
- gap: var(--container-gap-default);
12915
+ /* Tighter trailing padding when the dismiss button is present */
12916
+ .muka-chip--sm.muka-chip--dismissible,
12917
+ .muka-chip--sm.muka-chip--expandable {
12918
+ padding-right: var(--chip-padding-trailing-sm);
13074
12919
  }
13075
-
13076
- .muka-container--gap-spacious {
13077
- display: flex;
13078
- flex-direction: column;
13079
- gap: var(--container-gap-spacious);
12920
+ .muka-chip--md.muka-chip--dismissible,
12921
+ .muka-chip--md.muka-chip--expandable {
12922
+ padding-right: var(--chip-padding-trailing-md);
12923
+ }
12924
+ .muka-chip--lg.muka-chip--dismissible,
12925
+ .muka-chip--lg.muka-chip--expandable {
12926
+ padding-right: var(--chip-padding-trailing-lg);
13080
12927
  }
13081
12928
 
13082
-
13083
- /* Combobox */
13084
- /* Combobox — Figma Input Combobox (free-input chips + suggestion Menu) */
13085
-
13086
- .muka-combobox {
12929
+ /* Leading icon slot — Figma icon sizes: sm 16, md 20, lg 24 */
12930
+ .muka-chip__icon {
13087
12931
  display: inline-flex;
13088
- flex-direction: column;
13089
- gap: var(--spacing-2);
13090
- min-width: 200px;
12932
+ align-items: center;
12933
+ justify-content: center;
12934
+ flex-shrink: 0;
13091
12935
  }
13092
12936
 
13093
- .muka-combobox--full-width {
13094
- width: 100%;
12937
+ .muka-chip--sm .muka-chip__icon {
12938
+ width: var(--icon-size-xs);
12939
+ height: var(--icon-size-xs);
12940
+ }
12941
+ .muka-chip--md .muka-chip__icon {
12942
+ width: var(--icon-size-sm);
12943
+ height: var(--icon-size-sm);
12944
+ }
12945
+ .muka-chip--lg .muka-chip__icon {
12946
+ width: var(--icon-size-default);
12947
+ height: var(--icon-size-default);
13095
12948
  }
13096
12949
 
13097
- .muka-combobox__label {
13098
- color: var(--color-text-default-default);
13099
- cursor: pointer;
12950
+ /* Force the passed content (raw <svg> or an <Icon> wrapper) to the slot size,
12951
+ so callers don't have to size the icon to match each chip size. The
12952
+ .muka-icon selector is intentionally 2 classes deep to override .muka-icon--md. */
12953
+ .muka-chip__icon .muka-icon,
12954
+ .muka-chip__icon svg {
12955
+ width: 100%;
12956
+ height: 100%;
13100
12957
  }
13101
12958
 
13102
- .muka-combobox__label--sm {
13103
- font-family: var(--text-label-sm-semibold-fontFamily);
13104
- font-weight: var(--text-label-sm-semibold-fontWeight);
13105
- font-size: var(--text-label-sm-semibold-fontSize);
13106
- line-height: var(--text-label-sm-semibold-lineHeight);
12959
+ .muka-chip__label {
12960
+ flex: 0 1 auto;
12961
+ min-width: 0;
12962
+ overflow: hidden;
12963
+ text-overflow: ellipsis;
12964
+ /*
12965
+ * The chip sets a tight line-height (= font size) for compact sizing, but the label's
12966
+ * `overflow: hidden` (needed for ellipsis) then clips glyph descenders (g, y, p). Give the
12967
+ * label its own roomier line-height so descenders render; vertical centering is unaffected
12968
+ * because the chip height is fixed and content is centered via align-items: center.
12969
+ */
12970
+ line-height: normal;
13107
12971
  }
13108
12972
 
13109
- .muka-combobox__label--md {
13110
- font-family: var(--text-label-md-semibold-fontFamily);
13111
- font-weight: var(--text-label-md-semibold-fontWeight);
13112
- font-size: var(--text-label-md-semibold-fontSize);
13113
- line-height: var(--text-label-md-semibold-lineHeight);
12973
+ /* Trailing button (dismiss or expand) — circular. Figma circle sizes: sm 20, md 24, lg 32 */
12974
+ .muka-chip__remove,
12975
+ .muka-chip__expand {
12976
+ display: inline-flex;
12977
+ align-items: center;
12978
+ justify-content: center;
12979
+ flex-shrink: 0;
12980
+ padding: 0;
12981
+ margin: 0;
12982
+ border: none;
12983
+ border-radius: var(--border-radius-full);
12984
+ cursor: pointer;
12985
+ transition: background-color 0.15s ease, color 0.15s ease;
13114
12986
  }
13115
12987
 
13116
- .muka-combobox__label--lg {
13117
- font-family: var(--text-label-lg-semibold-fontFamily);
13118
- font-weight: var(--text-label-lg-semibold-fontWeight);
13119
- font-size: var(--text-label-lg-semibold-fontSize);
13120
- line-height: var(--text-label-lg-semibold-lineHeight);
12988
+ .muka-chip--sm .muka-chip__remove,
12989
+ .muka-chip--sm .muka-chip__expand {
12990
+ width: var(--icon-size-sm);
12991
+ height: var(--icon-size-sm);
12992
+ }
12993
+ .muka-chip--md .muka-chip__remove,
12994
+ .muka-chip--md .muka-chip__expand {
12995
+ width: var(--icon-size-default);
12996
+ height: var(--icon-size-default);
12997
+ }
12998
+ .muka-chip--lg .muka-chip__remove,
12999
+ .muka-chip--lg .muka-chip__expand {
13000
+ width: var(--icon-size-lg);
13001
+ height: var(--icon-size-lg);
13121
13002
  }
13122
13003
 
13123
- .muka-combobox__field {
13124
- display: flex;
13125
- align-items: center;
13126
- width: 100%;
13127
- position: relative;
13128
- isolation: isolate;
13129
- box-sizing: border-box;
13130
- background-color: var(--input-field-color-default-background);
13131
- border: var(--border-width-regular) solid var(--input-field-color-default-border);
13132
- border-radius: var(--input-field-radius-lg);
13133
- padding: var(--spacing-2);
13134
- cursor: text;
13135
- transition: border-color 0.12s ease, background-color 0.12s ease;
13004
+ .muka-chip__remove:focus-visible {
13005
+ outline: 2px solid currentColor;
13006
+ outline-offset: 2px;
13136
13007
  }
13137
13008
 
13138
- .muka-combobox__field::after {
13139
- content: '';
13140
- position: absolute;
13141
- inset: 0;
13142
- border-radius: inherit;
13143
- box-shadow: inset 0 1px 2px 0 rgba(26, 26, 26, 0.08);
13144
- pointer-events: none;
13009
+ /*
13010
+ * Expandable chip (Figma "Chip/Trailing Expand"): the whole chip is one button,
13011
+ * typically a menu trigger. Hovering or pressing anywhere on it drives the
13012
+ * chevron's hover / pressed steps; an open menu (aria-expanded) shows pressed,
13013
+ * like Button's open state.
13014
+ */
13015
+ .muka-chip--expandable {
13016
+ margin: 0;
13017
+ text-align: inherit;
13018
+ cursor: pointer;
13145
13019
  }
13146
13020
 
13147
- .muka-combobox__field--sm {
13148
- min-height: var(--input-field-height-sm);
13149
- border-radius: var(--input-field-radius-sm);
13021
+ .muka-chip--expandable:focus-visible {
13022
+ outline: 2px solid var(--color-border-focus);
13023
+ outline-offset: 2px;
13150
13024
  }
13151
13025
 
13152
- .muka-combobox__field--md {
13153
- min-height: var(--input-field-height-default);
13154
- border-radius: var(--input-field-radius-md);
13026
+ .muka-chip--expandable:disabled {
13027
+ cursor: not-allowed;
13155
13028
  }
13156
13029
 
13157
- .muka-combobox__field--lg {
13158
- min-height: var(--input-field-height-lg);
13159
- border-radius: var(--input-field-radius-lg);
13030
+ .muka-chip__expand {
13031
+ pointer-events: none;
13160
13032
  }
13161
13033
 
13162
- .muka-combobox__field--focused:not(.muka-combobox__field--disabled) {
13163
- border-width: var(--border-width-bold);
13164
- border-color: var(--input-field-color-focus-border);
13165
- background-color: var(--input-field-color-focus-background);
13166
- padding: calc(var(--spacing-2) - 1px);
13034
+ /*
13035
+ * Dismiss button colors — state-tinted per chip variant, with default / hover /
13036
+ * pressed steps. Values come from T4 chip.dismiss.* tokens, which reference the
13037
+ * brand-specific alias state-surface ramp. The ✕ (.muka-icon) inherits `color`.
13038
+ */
13039
+ .muka-chip--default .muka-chip__remove,
13040
+ .muka-chip--default .muka-chip__expand {
13041
+ background-color: var(--chip-dismiss-default-background-default);
13042
+ color: var(--chip-dismiss-default-foreground-default);
13043
+ }
13044
+ .muka-chip--default .muka-chip__remove:hover,
13045
+ .muka-chip--default.muka-chip--expandable:hover:not(:disabled) .muka-chip__expand {
13046
+ background-color: var(--chip-dismiss-default-background-hover);
13047
+ color: var(--chip-dismiss-default-foreground-hover);
13048
+ }
13049
+ .muka-chip--default .muka-chip__remove:active,
13050
+ .muka-chip--default.muka-chip--expandable:active:not(:disabled) .muka-chip__expand,
13051
+ .muka-chip--default.muka-chip--expandable[aria-expanded='true'] .muka-chip__expand {
13052
+ background-color: var(--chip-dismiss-default-background-pressed);
13053
+ color: var(--chip-dismiss-default-foreground-pressed);
13167
13054
  }
13168
13055
 
13169
- .muka-combobox__field--error:not(.muka-combobox__field--disabled) {
13170
- border-color: var(--color-state-error-contrast);
13056
+ .muka-chip--success .muka-chip__remove,
13057
+ .muka-chip--success .muka-chip__expand {
13058
+ background-color: var(--chip-dismiss-success-background-default);
13059
+ color: var(--chip-dismiss-success-foreground-default);
13060
+ }
13061
+ .muka-chip--success .muka-chip__remove:hover,
13062
+ .muka-chip--success.muka-chip--expandable:hover:not(:disabled) .muka-chip__expand {
13063
+ background-color: var(--chip-dismiss-success-background-hover);
13064
+ color: var(--chip-dismiss-success-foreground-hover);
13065
+ }
13066
+ .muka-chip--success .muka-chip__remove:active,
13067
+ .muka-chip--success.muka-chip--expandable:active:not(:disabled) .muka-chip__expand,
13068
+ .muka-chip--success.muka-chip--expandable[aria-expanded='true'] .muka-chip__expand {
13069
+ background-color: var(--chip-dismiss-success-background-pressed);
13070
+ color: var(--chip-dismiss-success-foreground-pressed);
13171
13071
  }
13172
13072
 
13173
- .muka-combobox__field--disabled {
13174
- opacity: 0.5;
13175
- cursor: not-allowed;
13073
+ .muka-chip--warning .muka-chip__remove,
13074
+ .muka-chip--warning .muka-chip__expand {
13075
+ background-color: var(--chip-dismiss-warning-background-default);
13076
+ color: var(--chip-dismiss-warning-foreground-default);
13077
+ }
13078
+ .muka-chip--warning .muka-chip__remove:hover,
13079
+ .muka-chip--warning.muka-chip--expandable:hover:not(:disabled) .muka-chip__expand {
13080
+ background-color: var(--chip-dismiss-warning-background-hover);
13081
+ color: var(--chip-dismiss-warning-foreground-hover);
13082
+ }
13083
+ .muka-chip--warning .muka-chip__remove:active,
13084
+ .muka-chip--warning.muka-chip--expandable:active:not(:disabled) .muka-chip__expand,
13085
+ .muka-chip--warning.muka-chip--expandable[aria-expanded='true'] .muka-chip__expand {
13086
+ background-color: var(--chip-dismiss-warning-background-pressed);
13087
+ color: var(--chip-dismiss-warning-foreground-pressed);
13176
13088
  }
13177
13089
 
13178
- .muka-combobox__field--multiline {
13179
- align-items: flex-start;
13180
- min-height: 7rem;
13090
+ .muka-chip--error .muka-chip__remove,
13091
+ .muka-chip--error .muka-chip__expand {
13092
+ background-color: var(--chip-dismiss-error-background-default);
13093
+ color: var(--chip-dismiss-error-foreground-default);
13094
+ }
13095
+ .muka-chip--error .muka-chip__remove:hover,
13096
+ .muka-chip--error.muka-chip--expandable:hover:not(:disabled) .muka-chip__expand {
13097
+ background-color: var(--chip-dismiss-error-background-hover);
13098
+ color: var(--chip-dismiss-error-foreground-hover);
13099
+ }
13100
+ .muka-chip--error .muka-chip__remove:active,
13101
+ .muka-chip--error.muka-chip--expandable:active:not(:disabled) .muka-chip__expand,
13102
+ .muka-chip--error.muka-chip--expandable[aria-expanded='true'] .muka-chip__expand {
13103
+ background-color: var(--chip-dismiss-error-background-pressed);
13104
+ color: var(--chip-dismiss-error-foreground-pressed);
13181
13105
  }
13182
13106
 
13183
- .muka-combobox__chips {
13184
- display: flex;
13185
- flex: 1 1 auto;
13186
- flex-wrap: wrap;
13187
- gap: var(--spacing-2);
13188
- align-items: center;
13189
- min-width: 0;
13190
- width: 100%;
13191
- position: relative;
13192
- z-index: 1;
13107
+ .muka-chip--info .muka-chip__remove,
13108
+ .muka-chip--info .muka-chip__expand {
13109
+ background-color: var(--chip-dismiss-info-background-default);
13110
+ color: var(--chip-dismiss-info-foreground-default);
13111
+ }
13112
+ .muka-chip--info .muka-chip__remove:hover,
13113
+ .muka-chip--info.muka-chip--expandable:hover:not(:disabled) .muka-chip__expand {
13114
+ background-color: var(--chip-dismiss-info-background-hover);
13115
+ color: var(--chip-dismiss-info-foreground-hover);
13116
+ }
13117
+ .muka-chip--info .muka-chip__remove:active,
13118
+ .muka-chip--info.muka-chip--expandable:active:not(:disabled) .muka-chip__expand,
13119
+ .muka-chip--info.muka-chip--expandable[aria-expanded='true'] .muka-chip__expand {
13120
+ background-color: var(--chip-dismiss-info-background-pressed);
13121
+ color: var(--chip-dismiss-info-foreground-pressed);
13193
13122
  }
13194
13123
 
13195
- .muka-combobox__input {
13196
- flex: 1 1 5rem;
13197
- min-width: 5rem;
13198
- min-height: 2rem;
13199
- margin: 0;
13200
- padding: 0 var(--spacing-1);
13201
- border: none;
13202
- outline: none;
13203
- background: transparent;
13204
- color: var(--input-field-color-default-foreground);
13205
- caret-color: var(--input-field-color-default-foreground);
13206
- font-family: var(--text-label-md-regular-fontFamily);
13207
- font-size: var(--text-label-md-regular-fontSize);
13208
- font-weight: var(--text-label-md-regular-fontWeight);
13209
- line-height: var(--text-label-md-regular-lineHeight);
13124
+ /* Variants (solid fill) — icons inherit these foreground colors (see below) */
13125
+ .muka-chip--default {
13126
+ background-color: var(--color-surface-level1);
13127
+ color: var(--color-text-default-default);
13210
13128
  }
13211
13129
 
13212
- .muka-combobox__input::placeholder {
13213
- color: var(--color-text-subtle-default);
13130
+ .muka-chip--success {
13131
+ background-color: var(--color-state-success-background);
13132
+ color: var(--color-state-success-contrast);
13214
13133
  }
13215
13134
 
13216
- .muka-combobox__helper {
13217
- margin: 0;
13218
- color: var(--color-text-subtle-default);
13219
- font-family: var(--text-label-sm-regular-fontFamily);
13220
- font-size: var(--text-label-sm-regular-fontSize);
13221
- font-weight: var(--text-label-sm-regular-fontWeight);
13222
- line-height: var(--text-label-sm-regular-lineHeight);
13135
+ .muka-chip--warning {
13136
+ background-color: var(--color-state-warning-background);
13137
+ color: var(--color-state-warning-contrast);
13223
13138
  }
13224
13139
 
13225
- .muka-combobox__error {
13226
- margin: 0;
13227
- color: var(--color-state-error-default);
13228
- font-family: var(--text-label-sm-regular-fontFamily);
13229
- font-size: var(--text-label-sm-regular-fontSize);
13230
- font-weight: var(--text-label-sm-regular-fontWeight);
13231
- line-height: var(--text-label-sm-regular-lineHeight);
13140
+ .muka-chip--error {
13141
+ background-color: var(--color-state-error-background);
13142
+ color: var(--color-state-error-contrast);
13232
13143
  }
13233
13144
 
13234
- .muka-combobox__menu-anchor {
13235
- position: absolute;
13236
- inset: 0;
13237
- z-index: 0;
13238
- width: 100%;
13239
- height: 100%;
13240
- margin: 0;
13241
- padding: 0;
13242
- border: none;
13243
- background: transparent;
13244
- pointer-events: none;
13245
- opacity: 0;
13145
+ .muka-chip--info {
13146
+ background-color: var(--color-state-info-background);
13147
+ color: var(--color-state-info-contrast);
13246
13148
  }
13247
13149
 
13248
- .muka-combobox__menu {
13249
- /* Prefer Menu token min-width (280px); may exceed the field when left-aligned. */
13250
- min-width: var(--menu-content-min-width);
13251
- width: max-content;
13252
- max-width: min(100vw - 2rem, 24rem);
13150
+ /* Icons (leading + dismiss) inherit the chip's per-variant foreground color */
13151
+ .muka-chip .muka-icon {
13152
+ color: inherit;
13253
13153
  }
13254
13154
 
13255
13155
 
13256
- /* ChatPhotoGrid */
13257
- /* ChatPhotoGrid Component Styles */
13156
+ /* CheckboxTile */
13157
+ /* CheckboxTile Component Styles - Using Muka Design Tokens */
13258
13158
 
13259
- /*
13260
- * The grid clips to its own radius and the tiles stay square, so only the four
13261
- * outer corners round — matching the Figma "Wrapper" frame (5225:1394).
13262
- */
13263
- .muka-chat-photo-grid {
13264
- display: grid;
13265
- gap: var(--chatphotogrid-gap);
13266
- width: 100%;
13267
- min-width: 0;
13159
+ /* Base tile styles - horizontal */
13160
+ .muka-checkbox-tile {
13161
+ display: flex;
13162
+ align-items: center;
13163
+ gap: var(--spacing-4);
13164
+ padding: var(--spacing-4);
13165
+ border: var(--border-width-regular) solid var(--input-field-color-default-border);
13166
+ border-radius: var(--input-field-radius-lg);
13167
+ background-color: var(--color-surface-level3);
13168
+ cursor: pointer;
13169
+ transition: border-color 0.15s ease, border-width 0.15s ease;
13268
13170
  overflow: hidden;
13269
- border-radius: var(--chatphotogrid-radius);
13171
+ box-sizing: border-box;
13270
13172
  }
13271
13173
 
13272
- /* ─── Tiles ────────────────────────────────────────────── */
13174
+ .muka-checkbox-tile--disabled {
13175
+ cursor: not-allowed;
13176
+ opacity: 0.6;
13177
+ }
13273
13178
 
13274
- .muka-chat-photo-grid__tile {
13179
+ /* Selected state */
13180
+ .muka-checkbox-tile[data-checked] {
13181
+ border-width: var(--border-width-bold);
13182
+ border-color: var(--color-action-default);
13183
+ }
13184
+
13185
+ /* Vertical layout */
13186
+ .muka-checkbox-tile--vertical {
13187
+ flex-direction: column;
13188
+ align-items: center;
13189
+ gap: var(--spacing-2);
13275
13190
  position: relative;
13276
- display: block;
13277
- overflow: hidden;
13278
- min-width: 0;
13279
- padding: 0;
13280
- margin: 0;
13281
- border: none;
13282
- background-color: var(--chatphotogrid-color-placeholder);
13283
- aspect-ratio: 1 / 1;
13191
+ width: 160px;
13284
13192
  }
13285
13193
 
13286
- button.muka-chat-photo-grid__tile {
13287
- cursor: pointer;
13288
- appearance: none;
13194
+ /* Checkbox container */
13195
+ .muka-checkbox-tile__checkbox {
13196
+ flex-shrink: 0;
13289
13197
  }
13290
13198
 
13291
- button.muka-chat-photo-grid__tile:focus-visible {
13292
- outline: var(--border-width-bold) solid var(--color-border-focus);
13293
- /* Inset, so the grid's overflow clip cannot cut the ring off on corner tiles */
13294
- outline-offset: calc(-1 * var(--border-width-bold));
13199
+ /* Corner-positioned checkbox for vertical */
13200
+ .muka-checkbox-tile__checkbox--corner {
13201
+ position: absolute;
13202
+ top: var(--spacing-4);
13203
+ left: var(--spacing-4);
13295
13204
  }
13296
13205
 
13297
- .muka-chat-photo-grid__image {
13298
- display: block;
13299
- width: 100%;
13300
- height: 100%;
13301
- object-fit: cover;
13206
+ /* Adjust corner position when selected (border is thicker) */
13207
+ .muka-checkbox-tile[data-checked] .muka-checkbox-tile__checkbox--corner {
13208
+ top: calc(var(--spacing-4) - 1px);
13209
+ left: calc(var(--spacing-4) - 1px);
13302
13210
  }
13303
13211
 
13304
- /* ─── Overflow tile ────────────────────────────────────── */
13305
-
13306
- .muka-chat-photo-grid__overflow {
13307
- position: absolute;
13308
- inset: 0;
13212
+ /* Icon */
13213
+ .muka-checkbox-tile__icon {
13309
13214
  display: flex;
13310
13215
  align-items: center;
13311
13216
  justify-content: center;
13312
- background-color: var(--chatphotogrid-color-overflow-background);
13313
- color: var(--chatphotogrid-color-overflow-foreground);
13314
- font-family: var(--text-body-2xl-regular-fontFamily);
13315
- font-weight: var(--text-body-2xl-regular-fontWeight);
13316
- font-size: var(--text-body-2xl-regular-fontSize);
13317
- line-height: var(--text-body-2xl-regular-lineHeight);
13217
+ flex-shrink: 0;
13218
+ width: var(--icon-size-default);
13219
+ height: var(--icon-size-default);
13220
+ color: var(--color-text-default-default);
13318
13221
  }
13319
13222
 
13320
- /* ─── Layouts ──────────────────────────────────────────── */
13223
+ .muka-checkbox-tile__icon svg {
13224
+ width: 100%;
13225
+ height: 100%;
13226
+ }
13321
13227
 
13322
- .muka-chat-photo-grid--1 {
13323
- grid-template-columns: 1fr;
13228
+ /* Image */
13229
+ .muka-checkbox-tile__image {
13230
+ flex-shrink: 0;
13231
+ overflow: hidden;
13232
+ border-radius: var(--border-radius-sm);
13324
13233
  }
13325
13234
 
13326
- .muka-chat-photo-grid--landscape .muka-chat-photo-grid__tile {
13327
- aspect-ratio: 4 / 3;
13235
+ .muka-checkbox-tile__image img {
13236
+ display: block;
13237
+ width: 100%;
13238
+ height: 100%;
13239
+ object-fit: cover;
13328
13240
  }
13329
13241
 
13330
- .muka-chat-photo-grid--portrait .muka-chat-photo-grid__tile {
13331
- aspect-ratio: 3 / 4;
13242
+ /* Horizontal image sizing */
13243
+ .muka-checkbox-tile__image--horizontal {
13244
+ width: 40px;
13245
+ height: 40px;
13332
13246
  }
13333
13247
 
13334
- .muka-chat-photo-grid--2 {
13335
- grid-template-columns: repeat(2, 1fr);
13248
+ /* Vertical image sizing */
13249
+ .muka-checkbox-tile--vertical .muka-checkbox-tile__image {
13250
+ width: 100%;
13251
+ aspect-ratio: 4/3;
13336
13252
  }
13337
13253
 
13338
- .muka-chat-photo-grid--3 {
13339
- grid-template-columns: repeat(3, 1fr);
13254
+ /* Content container */
13255
+ .muka-checkbox-tile__content {
13256
+ display: flex;
13257
+ flex-direction: column;
13258
+ flex: 1;
13259
+ min-width: 0;
13260
+ gap: var(--spacing-2);
13340
13261
  }
13341
13262
 
13342
- .muka-chat-photo-grid--4 {
13343
- grid-template-columns: repeat(2, 1fr);
13263
+ .muka-checkbox-tile__content-inner {
13264
+ display: flex;
13265
+ flex-direction: column;
13266
+ gap: var(--spacing-1);
13344
13267
  }
13345
13268
 
13346
- /* 5 photos: a 2-up row above a 3-up row, on a shared 6-column track */
13347
- .muka-chat-photo-grid--5 {
13348
- grid-template-columns: repeat(6, 1fr);
13269
+ /* Chip slot (replaces badge; use Chip component) */
13270
+ .muka-checkbox-tile__chip {
13271
+ flex-shrink: 0;
13349
13272
  }
13350
13273
 
13351
- .muka-chat-photo-grid--5 .muka-chat-photo-grid__tile:nth-child(-n + 2) {
13352
- grid-column: span 3;
13274
+ .muka-checkbox-tile__chip--vertical {
13275
+ margin-top: var(--spacing-1);
13353
13276
  }
13354
13277
 
13355
- .muka-chat-photo-grid--5 .muka-chat-photo-grid__tile:nth-child(n + 3) {
13356
- grid-column: span 2;
13278
+ /* Label */
13279
+ .muka-checkbox-tile__label {
13280
+ font-family: var(--text-body-lg-regular-fontFamily);
13281
+ font-weight: var(--text-body-lg-regular-fontWeight);
13282
+ font-size: var(--text-body-lg-regular-fontSize);
13283
+ line-height: var(--text-body-lg-regular-lineHeight);
13284
+ color: var(--color-text-default-default);
13357
13285
  }
13358
13286
 
13359
- .muka-chat-photo-grid--6,
13360
- .muka-chat-photo-grid--overflow {
13361
- grid-template-columns: repeat(3, 1fr);
13287
+ .muka-checkbox-tile__label--bold {
13288
+ font-family: var(--text-label-lg-semibold-fontFamily);
13289
+ font-weight: var(--text-label-lg-semibold-fontWeight);
13290
+ font-size: var(--text-label-lg-semibold-fontSize);
13291
+ line-height: var(--text-label-lg-semibold-lineHeight);
13362
13292
  }
13363
13293
 
13364
- /* ─── Print ────────────────────────────────────────────── */
13294
+ .muka-checkbox-tile__label--center {
13295
+ text-align: center;
13296
+ }
13365
13297
 
13366
- @media print {
13367
- .muka-chat-photo-grid {
13368
- break-inside: avoid;
13369
- }
13298
+ /* Caption */
13299
+ .muka-checkbox-tile__caption {
13300
+ font-family: var(--text-body-base-regular-fontFamily);
13301
+ font-weight: var(--text-body-base-regular-fontWeight);
13302
+ font-size: var(--text-body-base-regular-fontSize);
13303
+ line-height: var(--text-body-base-regular-lineHeight);
13304
+ color: var(--color-text-subtle-default);
13305
+ }
13370
13306
 
13371
- .muka-chat-photo-grid__image {
13372
- print-color-adjust: exact;
13373
- -webkit-print-color-adjust: exact;
13374
- }
13307
+ /* Disabled states */
13308
+ .muka-checkbox-tile--disabled .muka-checkbox-tile__label,
13309
+ .muka-checkbox-tile--disabled .muka-checkbox-tile__icon {
13310
+ color: var(--color-text-subtle-default);
13375
13311
  }
13376
13312
 
13377
13313
 
@@ -13542,6 +13478,128 @@ button.muka-chat-photo-grid__tile:focus-visible {
13542
13478
  }
13543
13479
 
13544
13480
 
13481
+ /* ChatPhotoGrid */
13482
+ /* ChatPhotoGrid Component Styles */
13483
+
13484
+ /*
13485
+ * The grid clips to its own radius and the tiles stay square, so only the four
13486
+ * outer corners round — matching the Figma "Wrapper" frame (5225:1394).
13487
+ */
13488
+ .muka-chat-photo-grid {
13489
+ display: grid;
13490
+ gap: var(--chatphotogrid-gap);
13491
+ width: 100%;
13492
+ min-width: 0;
13493
+ overflow: hidden;
13494
+ border-radius: var(--chatphotogrid-radius);
13495
+ }
13496
+
13497
+ /* ─── Tiles ────────────────────────────────────────────── */
13498
+
13499
+ .muka-chat-photo-grid__tile {
13500
+ position: relative;
13501
+ display: block;
13502
+ overflow: hidden;
13503
+ min-width: 0;
13504
+ padding: 0;
13505
+ margin: 0;
13506
+ border: none;
13507
+ background-color: var(--chatphotogrid-color-placeholder);
13508
+ aspect-ratio: 1 / 1;
13509
+ }
13510
+
13511
+ button.muka-chat-photo-grid__tile {
13512
+ cursor: pointer;
13513
+ appearance: none;
13514
+ }
13515
+
13516
+ button.muka-chat-photo-grid__tile:focus-visible {
13517
+ outline: var(--border-width-bold) solid var(--color-border-focus);
13518
+ /* Inset, so the grid's overflow clip cannot cut the ring off on corner tiles */
13519
+ outline-offset: calc(-1 * var(--border-width-bold));
13520
+ }
13521
+
13522
+ .muka-chat-photo-grid__image {
13523
+ display: block;
13524
+ width: 100%;
13525
+ height: 100%;
13526
+ object-fit: cover;
13527
+ }
13528
+
13529
+ /* ─── Overflow tile ────────────────────────────────────── */
13530
+
13531
+ .muka-chat-photo-grid__overflow {
13532
+ position: absolute;
13533
+ inset: 0;
13534
+ display: flex;
13535
+ align-items: center;
13536
+ justify-content: center;
13537
+ background-color: var(--chatphotogrid-color-overflow-background);
13538
+ color: var(--chatphotogrid-color-overflow-foreground);
13539
+ font-family: var(--text-body-2xl-regular-fontFamily);
13540
+ font-weight: var(--text-body-2xl-regular-fontWeight);
13541
+ font-size: var(--text-body-2xl-regular-fontSize);
13542
+ line-height: var(--text-body-2xl-regular-lineHeight);
13543
+ }
13544
+
13545
+ /* ─── Layouts ──────────────────────────────────────────── */
13546
+
13547
+ .muka-chat-photo-grid--1 {
13548
+ grid-template-columns: 1fr;
13549
+ }
13550
+
13551
+ .muka-chat-photo-grid--landscape .muka-chat-photo-grid__tile {
13552
+ aspect-ratio: 4 / 3;
13553
+ }
13554
+
13555
+ .muka-chat-photo-grid--portrait .muka-chat-photo-grid__tile {
13556
+ aspect-ratio: 3 / 4;
13557
+ }
13558
+
13559
+ .muka-chat-photo-grid--2 {
13560
+ grid-template-columns: repeat(2, 1fr);
13561
+ }
13562
+
13563
+ .muka-chat-photo-grid--3 {
13564
+ grid-template-columns: repeat(3, 1fr);
13565
+ }
13566
+
13567
+ .muka-chat-photo-grid--4 {
13568
+ grid-template-columns: repeat(2, 1fr);
13569
+ }
13570
+
13571
+ /* 5 photos: a 2-up row above a 3-up row, on a shared 6-column track */
13572
+ .muka-chat-photo-grid--5 {
13573
+ grid-template-columns: repeat(6, 1fr);
13574
+ }
13575
+
13576
+ .muka-chat-photo-grid--5 .muka-chat-photo-grid__tile:nth-child(-n + 2) {
13577
+ grid-column: span 3;
13578
+ }
13579
+
13580
+ .muka-chat-photo-grid--5 .muka-chat-photo-grid__tile:nth-child(n + 3) {
13581
+ grid-column: span 2;
13582
+ }
13583
+
13584
+ .muka-chat-photo-grid--6,
13585
+ .muka-chat-photo-grid--overflow {
13586
+ grid-template-columns: repeat(3, 1fr);
13587
+ }
13588
+
13589
+ /* ─── Print ────────────────────────────────────────────── */
13590
+
13591
+ @media print {
13592
+ .muka-chat-photo-grid {
13593
+ break-inside: avoid;
13594
+ }
13595
+
13596
+ .muka-chat-photo-grid__image {
13597
+ print-color-adjust: exact;
13598
+ -webkit-print-color-adjust: exact;
13599
+ }
13600
+ }
13601
+
13602
+
13545
13603
  /* ChatMessageStack */
13546
13604
  /* ChatMessageStack Component Styles */
13547
13605
 
@@ -15009,6 +15067,34 @@ button.muka-chat-photo-grid__tile:focus-visible {
15009
15067
  line-height: var(--text-label-lg-regular-lineHeight);
15010
15068
  }
15011
15069
 
15070
+ /* Truncate: one line; the current page shortens with an ellipsis */
15071
+ .muka-breadcrumb--truncate {
15072
+ min-width: 0;
15073
+ overflow: hidden;
15074
+ }
15075
+
15076
+ .muka-breadcrumb--truncate .muka-breadcrumb__list {
15077
+ flex-wrap: nowrap;
15078
+ min-width: 0;
15079
+ }
15080
+
15081
+ .muka-breadcrumb--truncate .muka-breadcrumb__item {
15082
+ flex-shrink: 0;
15083
+ }
15084
+
15085
+ .muka-breadcrumb--truncate .muka-breadcrumb__item:last-child {
15086
+ flex-shrink: 1;
15087
+ min-width: 0;
15088
+ overflow: hidden;
15089
+ }
15090
+
15091
+ .muka-breadcrumb--truncate .muka-breadcrumb__current {
15092
+ min-width: 0;
15093
+ overflow: hidden;
15094
+ text-overflow: ellipsis;
15095
+ white-space: nowrap;
15096
+ }
15097
+
15012
15098
 
15013
15099
  /* BottomBar */
15014
15100
  /* BottomBar Component Styles */