@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
@@ -2535,116 +2535,6 @@ body {
2535
2535
  }
2536
2536
 
2537
2537
 
2538
- /* View */
2539
- /* View Component Styles */
2540
-
2541
- /* ─── Base layout ─────────────────────────────────────── */
2542
-
2543
- .muka-view {
2544
- display: flex;
2545
- flex-direction: column;
2546
- height: 100dvh;
2547
- background-color: var(--view-color-background);
2548
- position: relative;
2549
- isolation: isolate;
2550
- box-sizing: border-box;
2551
-
2552
- /* Width reserved for the footer nav once it becomes a left sidebar at the
2553
- large tier (matches BottomBar's desktopAs="sidebar" rail width). */
2554
- --view-sidebar-width: 240px;
2555
- }
2556
-
2557
- /* ─── Surface level variants ─────────────────────────── */
2558
-
2559
- .muka-view--surface-3 {
2560
- background-color: var(--color-surface-level3);
2561
- }
2562
-
2563
- /* ─── Large screens: make room for the left sidebar ──────────
2564
- A footer nav with desktopAs="sidebar" becomes a fixed 240px left rail at
2565
- ≥1024px. Offset the shell so the TopBar/body clear it — tied to the sidebar's
2566
- actual presence (the `.muka-bottombar--desktop-sidebar` element) rather than
2567
- the View's `size`, so a forced `size="lg"` below 1024px never reserves space
2568
- for a sidebar that hasn't rendered yet. */
2569
- @media (min-width: 1024px) {
2570
- .muka-view:has(.muka-bottombar--desktop-sidebar) {
2571
- padding-left: var(--view-sidebar-width);
2572
- }
2573
- }
2574
-
2575
- /* ─── TopBar elevation ────────────────────────────────── */
2576
-
2577
- .muka-view .muka-topbar {
2578
- flex-shrink: 0;
2579
- z-index: 3;
2580
- box-shadow: var(--shadow-level2);
2581
- }
2582
-
2583
- /* ─── Scrollable body ─────────────────────────────────── */
2584
-
2585
- .muka-view__body {
2586
- flex: 1 1 0%;
2587
- min-height: 0;
2588
- overflow-y: auto;
2589
- overflow-x: clip;
2590
- z-index: 1;
2591
-
2592
- /* Column flow so the footer (now a scroll-area child) can pin to the bottom and
2593
- content scrolls *behind* it — letting a floating BottomBar's frosted backdrop
2594
- reveal the content underneath. */
2595
- display: flex;
2596
- flex-direction: column;
2597
- }
2598
-
2599
- /* Inner wrapper constrains content width at the large tier (enterprise desktop)
2600
- using the alias-layer section/container tokens, while the body scrolls full
2601
- width. Full-bleed below large. */
2602
- .muka-view__body-inner {
2603
- width: 100%;
2604
- /* Grow on short content so the sticky footer is pushed to the bottom rather
2605
- than floating mid-screen. */
2606
- flex: 1 0 auto;
2607
- }
2608
-
2609
- @media (min-width: 1024px) {
2610
- .muka-view:not([data-size]) .muka-view__body-inner {
2611
- max-width: var(--container-max-width-xl);
2612
- margin-inline: auto;
2613
- padding-inline: var(--section-padding-horizontal-default);
2614
- }
2615
- }
2616
-
2617
- .muka-view[data-size='lg'] .muka-view__body-inner {
2618
- max-width: var(--container-max-width-xl);
2619
- margin-inline: auto;
2620
- padding-inline: var(--section-padding-horizontal-default);
2621
- }
2622
-
2623
- /* ─── Footer (e.g. BottomBar) ─────────────────────────── */
2624
-
2625
- .muka-view__footer {
2626
- position: sticky;
2627
- bottom: 0;
2628
- flex-shrink: 0;
2629
- z-index: 2;
2630
- }
2631
-
2632
- /* Inside an AppShell, the persistent left rail replaces the per-view bottom
2633
- navigation at the large tier, so hide a footer that holds a navigation bar.
2634
- Scoped to `.muka-app-shell` so bare Views (and the standalone
2635
- desktopAs="sidebar" footer pattern above) are unaffected. Action-bar footers
2636
- (`.muka-bottombar--actions`) don't match and remain at the bottom. */
2637
- @media (min-width: 1024px) {
2638
- .muka-app-shell .muka-view__footer:has(.muka-bottombar--navigation) {
2639
- display: none;
2640
- }
2641
- }
2642
-
2643
- .muka-app-shell[data-size='lg'] .muka-view__footer:has(.muka-bottombar--navigation) {
2644
- display: none;
2645
- }
2646
-
2647
-
2648
2538
  /* Typography */
2649
2539
  .muka-typography-catalog {
2650
2540
  display: flex;
@@ -2995,166 +2885,113 @@ body {
2995
2885
  }
2996
2886
 
2997
2887
 
2998
- /* Toggle */
2999
- /* Toggle Component Styles - Using Muka Design Tokens */
2888
+ /* View */
2889
+ /* View Component Styles */
3000
2890
 
3001
- /* Wrapper container */
3002
- .muka-toggle {
2891
+ /* ─── Base layout ─────────────────────────────────────── */
2892
+
2893
+ .muka-view {
3003
2894
  display: flex;
3004
- align-items: center;
3005
- gap: var(--spacing-2);
2895
+ flex-direction: column;
2896
+ height: 100dvh;
2897
+ background-color: var(--view-color-background);
3006
2898
  position: relative;
3007
- padding: var(--spacing-4) 0;
2899
+ isolation: isolate;
2900
+ box-sizing: border-box;
2901
+
2902
+ /* Width reserved for the footer nav once it becomes a left sidebar at the
2903
+ large tier (matches BottomBar's desktopAs="sidebar" rail width). */
2904
+ --view-sidebar-width: 240px;
3008
2905
  }
3009
2906
 
3010
- .muka-toggle--with-caption {
3011
- padding: var(--spacing-5) 0;
2907
+ /* ─── Surface level variants ─────────────────────────── */
2908
+
2909
+ .muka-view--surface-3 {
2910
+ background-color: var(--color-surface-level3);
3012
2911
  }
3013
2912
 
3014
- .muka-toggle--disabled {
3015
- opacity: 0.6;
2913
+ /* ─── Large screens: make room for the left sidebar ──────────
2914
+ A footer nav with desktopAs="sidebar" becomes a fixed 240px left rail at
2915
+ ≥1024px. Offset the shell so the TopBar/body clear it — tied to the sidebar's
2916
+ actual presence (the `.muka-bottombar--desktop-sidebar` element) rather than
2917
+ the View's `size`, so a forced `size="lg"` below 1024px never reserves space
2918
+ for a sidebar that hasn't rendered yet. */
2919
+ @media (min-width: 1024px) {
2920
+ .muka-view:has(.muka-bottombar--desktop-sidebar) {
2921
+ padding-left: var(--view-sidebar-width);
2922
+ }
3016
2923
  }
3017
2924
 
3018
- /* Icon */
3019
- .muka-toggle__icon {
3020
- display: flex;
3021
- align-items: center;
3022
- justify-content: center;
2925
+ /* ─── TopBar elevation ────────────────────────────────── */
2926
+
2927
+ .muka-view .muka-topbar {
3023
2928
  flex-shrink: 0;
3024
- width: var(--icon-size-default);
3025
- height: var(--icon-size-default);
3026
- color: var(--color-text-default-default);
2929
+ z-index: 3;
2930
+ box-shadow: var(--shadow-level2);
3027
2931
  }
3028
2932
 
3029
- .muka-toggle__icon svg {
3030
- width: 100%;
3031
- height: 100%;
3032
- }
2933
+ /* ─── Scrollable body ─────────────────────────────────── */
3033
2934
 
3034
- /* Content area (label + caption) */
3035
- .muka-toggle__content {
2935
+ .muka-view__body {
2936
+ flex: 1 1 0%;
2937
+ min-height: 0;
2938
+ overflow-y: auto;
2939
+ overflow-x: clip;
2940
+ z-index: 1;
2941
+
2942
+ /* Column flow so the footer (now a scroll-area child) can pin to the bottom and
2943
+ content scrolls *behind* it — letting a floating BottomBar's frosted backdrop
2944
+ reveal the content underneath. */
3036
2945
  display: flex;
3037
2946
  flex-direction: column;
3038
- flex: 1;
3039
- min-width: 0;
3040
- gap: var(--spacing-1);
3041
2947
  }
3042
2948
 
3043
- /* Label */
3044
- .muka-toggle__label {
3045
- font-family: var(--text-label-lg-regular-fontFamily);
3046
- font-weight: var(--text-label-lg-regular-fontWeight);
3047
- font-size: var(--text-label-lg-regular-fontSize);
3048
- line-height: var(--text-label-lg-regular-lineHeight);
3049
- color: var(--color-text-default-default);
3050
- cursor: pointer;
2949
+ /* Inner wrapper constrains content width at the large tier (enterprise desktop)
2950
+ using the alias-layer section/container tokens, while the body scrolls full
2951
+ width. Full-bleed below large. */
2952
+ .muka-view__body-inner {
2953
+ width: 100%;
2954
+ /* Grow on short content so the sticky footer is pushed to the bottom rather
2955
+ than floating mid-screen. */
2956
+ flex: 1 0 auto;
3051
2957
  }
3052
2958
 
3053
- .muka-toggle--with-caption .muka-toggle__label {
3054
- font-family: var(--text-label-lg-semibold-fontFamily);
3055
- font-weight: var(--text-label-lg-semibold-fontWeight);
3056
- font-size: var(--text-label-lg-semibold-fontSize);
3057
- line-height: var(--text-label-lg-semibold-lineHeight);
2959
+ @media (min-width: 1024px) {
2960
+ .muka-view:not([data-size]) .muka-view__body-inner {
2961
+ max-width: var(--container-max-width-xl);
2962
+ margin-inline: auto;
2963
+ padding-inline: var(--section-padding-horizontal-default);
2964
+ }
3058
2965
  }
3059
2966
 
3060
- .muka-toggle--disabled .muka-toggle__label {
3061
- color: var(--color-text-subtle-default);
3062
- cursor: not-allowed;
2967
+ .muka-view[data-size='lg'] .muka-view__body-inner {
2968
+ max-width: var(--container-max-width-xl);
2969
+ margin-inline: auto;
2970
+ padding-inline: var(--section-padding-horizontal-default);
3063
2971
  }
3064
2972
 
3065
- /* Caption */
3066
- .muka-toggle__caption {
3067
- font-family: var(--text-body-base-regular-fontFamily);
3068
- font-weight: var(--text-body-base-regular-fontWeight);
3069
- font-size: var(--text-body-base-regular-fontSize);
3070
- line-height: var(--text-body-base-regular-lineHeight);
3071
- color: var(--color-text-subtle-default);
3072
- }
2973
+ /* ─── Footer (e.g. BottomBar) ─────────────────────────── */
3073
2974
 
3074
- /* Switch container */
3075
- .muka-toggle__switch {
3076
- position: relative;
3077
- display: inline-flex;
2975
+ .muka-view__footer {
2976
+ position: sticky;
2977
+ bottom: 0;
3078
2978
  flex-shrink: 0;
3079
- cursor: pointer;
2979
+ z-index: 2;
3080
2980
  }
3081
2981
 
3082
- .muka-toggle--disabled .muka-toggle__switch {
3083
- cursor: not-allowed;
2982
+ /* Inside an AppShell, the persistent left rail replaces the per-view bottom
2983
+ navigation at the large tier, so hide a footer that holds a navigation bar.
2984
+ Scoped to `.muka-app-shell` so bare Views (and the standalone
2985
+ desktopAs="sidebar" footer pattern above) are unaffected. Action-bar footers
2986
+ (`.muka-bottombar--actions`) don't match and remain at the bottom. */
2987
+ @media (min-width: 1024px) {
2988
+ .muka-app-shell .muka-view__footer:has(.muka-bottombar--navigation) {
2989
+ display: none;
2990
+ }
3084
2991
  }
3085
2992
 
3086
- /* Hidden native input */
3087
- .muka-toggle__input {
3088
- position: absolute;
3089
- width: 1px;
3090
- height: 1px;
3091
- padding: 0;
3092
- margin: -1px;
3093
- overflow: hidden;
3094
- clip: rect(0, 0, 0, 0);
3095
- white-space: nowrap;
3096
- border: 0;
3097
- }
3098
-
3099
- /* Track (background pill) */
3100
- .muka-toggle__track {
3101
- display: flex;
3102
- align-items: center;
3103
- width: var(--toggle-track-width);
3104
- height: var(--toggle-track-height);
3105
- border-radius: var(--toggle-track-radius);
3106
- background-color: var(--toggle-track-color-off);
3107
- transition: background-color 0.2s ease;
3108
- box-shadow: inset 0 1px 4px 0 rgba(0, 0, 0, 0.16);
3109
- position: relative;
3110
- }
3111
-
3112
- /* Knob (sliding circle) */
3113
- .muka-toggle__knob {
3114
- position: absolute;
3115
- width: var(--toggle-knob-size);
3116
- height: var(--toggle-knob-size);
3117
- border-radius: var(--border-radius-full);
3118
- background-color: var(--toggle-knob-color-default);
3119
- box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.1);
3120
- left: var(--toggle-knob-offset);
3121
- transition: left 0.2s ease, transform 0.2s ease;
3122
- }
3123
-
3124
- /* Focus state */
3125
- .muka-toggle__input:focus-visible + .muka-toggle__track {
3126
- outline: 2px solid var(--color-border-focus);
3127
- outline-offset: 2px;
3128
- }
3129
-
3130
- /* Checked (on) state */
3131
- .muka-toggle__input:checked + .muka-toggle__track {
3132
- background-color: var(--toggle-track-color-on);
3133
- }
3134
-
3135
- .muka-toggle__input:checked + .muka-toggle__track .muka-toggle__knob {
3136
- left: calc(var(--toggle-track-width) - var(--toggle-knob-size) - var(--toggle-knob-offset));
3137
- }
3138
-
3139
- /* Disabled state */
3140
- .muka-toggle--disabled .muka-toggle__track {
3141
- background-color: var(--toggle-track-color-disabled);
3142
- box-shadow: none;
3143
- }
3144
-
3145
- .muka-toggle--disabled .muka-toggle__knob {
3146
- background-color: var(--toggle-knob-color-disabled);
3147
- box-shadow: none;
3148
- }
3149
-
3150
- /* Divider */
3151
- .muka-toggle__divider {
3152
- position: absolute;
3153
- bottom: 0;
3154
- left: 0;
3155
- right: 0;
3156
- height: 1px;
3157
- background-color: var(--color-border-muted);
2993
+ .muka-app-shell[data-size='lg'] .muka-view__footer:has(.muka-bottombar--navigation) {
2994
+ display: none;
3158
2995
  }
3159
2996
 
3160
2997
 
@@ -3348,6 +3185,169 @@ body {
3348
3185
  }
3349
3186
 
3350
3187
 
3188
+ /* Toggle */
3189
+ /* Toggle Component Styles - Using Muka Design Tokens */
3190
+
3191
+ /* Wrapper container */
3192
+ .muka-toggle {
3193
+ display: flex;
3194
+ align-items: center;
3195
+ gap: var(--spacing-2);
3196
+ position: relative;
3197
+ padding: var(--spacing-4) 0;
3198
+ }
3199
+
3200
+ .muka-toggle--with-caption {
3201
+ padding: var(--spacing-5) 0;
3202
+ }
3203
+
3204
+ .muka-toggle--disabled {
3205
+ opacity: 0.6;
3206
+ }
3207
+
3208
+ /* Icon */
3209
+ .muka-toggle__icon {
3210
+ display: flex;
3211
+ align-items: center;
3212
+ justify-content: center;
3213
+ flex-shrink: 0;
3214
+ width: var(--icon-size-default);
3215
+ height: var(--icon-size-default);
3216
+ color: var(--color-text-default-default);
3217
+ }
3218
+
3219
+ .muka-toggle__icon svg {
3220
+ width: 100%;
3221
+ height: 100%;
3222
+ }
3223
+
3224
+ /* Content area (label + caption) */
3225
+ .muka-toggle__content {
3226
+ display: flex;
3227
+ flex-direction: column;
3228
+ flex: 1;
3229
+ min-width: 0;
3230
+ gap: var(--spacing-1);
3231
+ }
3232
+
3233
+ /* Label */
3234
+ .muka-toggle__label {
3235
+ font-family: var(--text-label-lg-regular-fontFamily);
3236
+ font-weight: var(--text-label-lg-regular-fontWeight);
3237
+ font-size: var(--text-label-lg-regular-fontSize);
3238
+ line-height: var(--text-label-lg-regular-lineHeight);
3239
+ color: var(--color-text-default-default);
3240
+ cursor: pointer;
3241
+ }
3242
+
3243
+ .muka-toggle--with-caption .muka-toggle__label {
3244
+ font-family: var(--text-label-lg-semibold-fontFamily);
3245
+ font-weight: var(--text-label-lg-semibold-fontWeight);
3246
+ font-size: var(--text-label-lg-semibold-fontSize);
3247
+ line-height: var(--text-label-lg-semibold-lineHeight);
3248
+ }
3249
+
3250
+ .muka-toggle--disabled .muka-toggle__label {
3251
+ color: var(--color-text-subtle-default);
3252
+ cursor: not-allowed;
3253
+ }
3254
+
3255
+ /* Caption */
3256
+ .muka-toggle__caption {
3257
+ font-family: var(--text-body-base-regular-fontFamily);
3258
+ font-weight: var(--text-body-base-regular-fontWeight);
3259
+ font-size: var(--text-body-base-regular-fontSize);
3260
+ line-height: var(--text-body-base-regular-lineHeight);
3261
+ color: var(--color-text-subtle-default);
3262
+ }
3263
+
3264
+ /* Switch container */
3265
+ .muka-toggle__switch {
3266
+ position: relative;
3267
+ display: inline-flex;
3268
+ flex-shrink: 0;
3269
+ cursor: pointer;
3270
+ }
3271
+
3272
+ .muka-toggle--disabled .muka-toggle__switch {
3273
+ cursor: not-allowed;
3274
+ }
3275
+
3276
+ /* Hidden native input */
3277
+ .muka-toggle__input {
3278
+ position: absolute;
3279
+ width: 1px;
3280
+ height: 1px;
3281
+ padding: 0;
3282
+ margin: -1px;
3283
+ overflow: hidden;
3284
+ clip: rect(0, 0, 0, 0);
3285
+ white-space: nowrap;
3286
+ border: 0;
3287
+ }
3288
+
3289
+ /* Track (background pill) */
3290
+ .muka-toggle__track {
3291
+ display: flex;
3292
+ align-items: center;
3293
+ width: var(--toggle-track-width);
3294
+ height: var(--toggle-track-height);
3295
+ border-radius: var(--toggle-track-radius);
3296
+ background-color: var(--toggle-track-color-off);
3297
+ transition: background-color 0.2s ease;
3298
+ box-shadow: inset 0 1px 4px 0 rgba(0, 0, 0, 0.16);
3299
+ position: relative;
3300
+ }
3301
+
3302
+ /* Knob (sliding circle) */
3303
+ .muka-toggle__knob {
3304
+ position: absolute;
3305
+ width: var(--toggle-knob-size);
3306
+ height: var(--toggle-knob-size);
3307
+ border-radius: var(--border-radius-full);
3308
+ background-color: var(--toggle-knob-color-default);
3309
+ box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.1);
3310
+ left: var(--toggle-knob-offset);
3311
+ transition: left 0.2s ease, transform 0.2s ease;
3312
+ }
3313
+
3314
+ /* Focus state */
3315
+ .muka-toggle__input:focus-visible + .muka-toggle__track {
3316
+ outline: 2px solid var(--color-border-focus);
3317
+ outline-offset: 2px;
3318
+ }
3319
+
3320
+ /* Checked (on) state */
3321
+ .muka-toggle__input:checked + .muka-toggle__track {
3322
+ background-color: var(--toggle-track-color-on);
3323
+ }
3324
+
3325
+ .muka-toggle__input:checked + .muka-toggle__track .muka-toggle__knob {
3326
+ left: calc(var(--toggle-track-width) - var(--toggle-knob-size) - var(--toggle-knob-offset));
3327
+ }
3328
+
3329
+ /* Disabled state */
3330
+ .muka-toggle--disabled .muka-toggle__track {
3331
+ background-color: var(--toggle-track-color-disabled);
3332
+ box-shadow: none;
3333
+ }
3334
+
3335
+ .muka-toggle--disabled .muka-toggle__knob {
3336
+ background-color: var(--toggle-knob-color-disabled);
3337
+ box-shadow: none;
3338
+ }
3339
+
3340
+ /* Divider */
3341
+ .muka-toggle__divider {
3342
+ position: absolute;
3343
+ bottom: 0;
3344
+ left: 0;
3345
+ right: 0;
3346
+ height: 1px;
3347
+ background-color: var(--color-border-muted);
3348
+ }
3349
+
3350
+
3351
3351
  /* Tile */
3352
3352
  /* Tile Component Styles - Using Muka Design Tokens */
3353
3353
 
@@ -3709,204 +3709,19 @@ body {
3709
3709
  }
3710
3710
 
3711
3711
 
3712
- /* Thumbnail */
3713
- /* Thumbnail Component Styles - Using Muka Design Tokens */
3712
+ /* Textarea */
3713
+ /* Textarea Component Styles - Using Muka Design Tokens */
3714
3714
 
3715
- .muka-thumbnail {
3716
- position: relative;
3717
- flex-shrink: 0;
3715
+ .muka-textarea {
3716
+ display: inline-flex;
3717
+ flex-direction: column;
3718
+ gap: var(--spacing-2);
3718
3719
  }
3719
3720
 
3720
- /* The frame carries the border, background and shape clip. Keeping it separate
3721
- from the root lets the remove (×) button sit outside the clip (needed for the
3722
- circular/ellipse shape, whose corners would otherwise clip the button). */
3723
- .muka-thumbnail__frame {
3724
- position: absolute;
3725
- inset: 0;
3726
- overflow: hidden;
3727
- border: var(--border-width-regular, 1px) solid var(--color-black-alpha-3);
3728
- border-radius: var(--border-radius-lg);
3729
- background-color: var(--color-surface-level1);
3730
- }
3731
-
3732
- /* ─── Shapes ──────────────────────────────────────────── */
3733
- .muka-thumbnail--4-3 {
3734
- width: 160px;
3735
- height: 120px;
3736
- }
3737
-
3738
- .muka-thumbnail--1-1 {
3739
- width: 120px;
3740
- height: 120px;
3741
- }
3742
-
3743
- .muka-thumbnail--ellipse {
3744
- width: 120px;
3745
- height: 120px;
3746
- }
3747
-
3748
- /* Fluid: fill the parent's width; the shape sets the height via aspect-ratio. */
3749
- .muka-thumbnail--fluid {
3750
- width: 100%;
3751
- height: auto;
3752
- aspect-ratio: 1 / 1;
3753
- }
3754
-
3755
- .muka-thumbnail--fluid.muka-thumbnail--4-3 {
3756
- aspect-ratio: 4 / 3;
3757
- }
3758
-
3759
- .muka-thumbnail--ellipse .muka-thumbnail__frame {
3760
- border-radius: var(--border-radius-full);
3761
- }
3762
-
3763
- /* Image fills the frame, cropped to cover. Sits at scale(1) by default so the
3764
- interactive hover zoom has a clean origin. */
3765
- .muka-thumbnail__image {
3766
- position: absolute;
3767
- inset: 0;
3768
- width: 100%;
3769
- height: 100%;
3770
- object-fit: cover;
3771
- display: block;
3772
- transform-origin: center;
3773
- /* Micro-interaction: hover zoom eases out over the "micro" duration. */
3774
- transition: transform var(--motion-duration-micro) var(--motion-easing-enter);
3775
- }
3776
-
3777
- /* ─── Interactive (click-to-enlarge) ──────────────────── */
3778
- .muka-thumbnail__trigger {
3779
- position: absolute;
3780
- inset: 0;
3781
- padding: 0;
3782
- border: 0;
3783
- background: none;
3784
- cursor: pointer;
3785
- overflow: hidden;
3786
- }
3787
-
3788
- .muka-thumbnail__trigger:focus-visible {
3789
- outline: 2px solid var(--color-border-focus);
3790
- outline-offset: -2px;
3791
- }
3792
-
3793
- /* On hover the image scales up ~8px (160px → 168px) with an ease-out feel. */
3794
- .muka-thumbnail--interactive:hover .muka-thumbnail__image {
3795
- transform: scale(1.05);
3796
- }
3797
-
3798
- /* ─── Loading overlay + progress donut ────────────────── */
3799
- .muka-thumbnail__overlay {
3800
- position: absolute;
3801
- inset: 0;
3802
- display: flex;
3803
- align-items: center;
3804
- justify-content: center;
3805
- background-color: var(--dialog-color-backdrop);
3806
- }
3807
-
3808
- .muka-thumbnail__progress {
3809
- width: 40px;
3810
- height: 40px;
3811
- }
3812
-
3813
- /* ─── Error / corrupt state ───────────────────────────── */
3814
- .muka-thumbnail--error .muka-thumbnail__frame {
3815
- background-color: var(--alias-color-state-error-muted);
3816
- border-color: var(--alias-color-state-error-default);
3817
- }
3818
-
3819
- .muka-thumbnail__error {
3820
- position: absolute;
3821
- inset: 0;
3822
- display: flex;
3823
- flex-direction: column;
3824
- align-items: center;
3825
- justify-content: center;
3826
- gap: var(--spacing-2);
3827
- padding: var(--spacing-3);
3828
- text-align: center;
3829
- }
3830
-
3831
- .muka-thumbnail__error-icon {
3832
- color: var(--alert-color-error-accent);
3833
- }
3834
-
3835
- .muka-thumbnail__caption {
3836
- max-width: 100%;
3837
- overflow: hidden;
3838
- text-overflow: ellipsis;
3839
- white-space: nowrap;
3840
- color: var(--alert-color-error-accent);
3841
- font-family: var(--text-body-sm-regular-fontFamily);
3842
- font-size: var(--text-body-sm-regular-fontSize);
3843
- font-weight: var(--text-body-sm-regular-fontWeight);
3844
- line-height: var(--text-body-sm-regular-lineHeight);
3845
- }
3846
-
3847
- /* ─── Remove (×) button ───────────────────────────────── */
3848
- .muka-thumbnail__remove {
3849
- position: absolute;
3850
- top: var(--spacing-2);
3851
- right: var(--spacing-2);
3852
- display: flex;
3853
- align-items: center;
3854
- justify-content: center;
3855
- width: var(--size-2xl);
3856
- height: var(--size-2xl);
3857
- padding: 0;
3858
- color: var(--button-color-tertiary-foreground-default);
3859
- background-color: var(--button-color-tertiary-background-default);
3860
- border: var(--border-width-regular, 1px) solid var(--button-color-tertiary-border-default);
3861
- border-radius: var(--border-radius-lg);
3862
- cursor: pointer;
3863
- transition: background-color var(--motion-duration-micro) var(--motion-easing-enter),
3864
- border-color var(--motion-duration-micro) var(--motion-easing-enter);
3865
- }
3866
-
3867
- .muka-thumbnail__remove:hover {
3868
- color: var(--button-color-tertiary-foreground-hover);
3869
- background-color: var(--button-color-tertiary-background-hover);
3870
- border-color: var(--button-color-tertiary-border-hover);
3871
- }
3872
-
3873
- .muka-thumbnail__remove:active {
3874
- color: var(--button-color-tertiary-foreground-pressed);
3875
- background-color: var(--button-color-tertiary-background-pressed);
3876
- border-color: var(--button-color-tertiary-border-pressed);
3877
- }
3878
-
3879
- .muka-thumbnail__remove:focus-visible {
3880
- outline: 2px solid var(--color-border-focus);
3881
- outline-offset: 2px;
3882
- }
3883
-
3884
- /* ─── Reduced motion ──────────────────────────────────── */
3885
- @media (prefers-reduced-motion: reduce) {
3886
- .muka-thumbnail__image,
3887
- .muka-thumbnail__remove {
3888
- transition: none;
3889
- }
3890
-
3891
- .muka-thumbnail--interactive:hover .muka-thumbnail__image {
3892
- transform: none;
3893
- }
3894
- }
3895
-
3896
-
3897
- /* Textarea */
3898
- /* Textarea Component Styles - Using Muka Design Tokens */
3899
-
3900
- .muka-textarea {
3901
- display: inline-flex;
3902
- flex-direction: column;
3903
- gap: var(--spacing-2);
3904
- }
3905
-
3906
- /* Label */
3907
- .muka-textarea__label {
3908
- color: var(--color-text-default-default);
3909
- cursor: pointer;
3721
+ /* Label */
3722
+ .muka-textarea__label {
3723
+ color: var(--color-text-default-default);
3724
+ cursor: pointer;
3910
3725
  }
3911
3726
 
3912
3727
  .muka-textarea__label--sm {
@@ -4330,68 +4145,253 @@ body {
4330
4145
  }
4331
4146
 
4332
4147
 
4333
- /* Table */
4334
- /* Table Component Styles - Using Muka Design Tokens */
4335
-
4336
- /* ========================================
4337
- TABLE WRAPPER (Responsive)
4338
- ======================================== */
4148
+ /* Thumbnail */
4149
+ /* Thumbnail Component Styles - Using Muka Design Tokens */
4339
4150
 
4340
- .muka-table-wrapper {
4341
- width: 100%;
4342
- overflow-x: auto;
4343
- -webkit-overflow-scrolling: touch;
4151
+ .muka-thumbnail {
4152
+ position: relative;
4153
+ flex-shrink: 0;
4344
4154
  }
4345
4155
 
4346
- /* ========================================
4347
- TABLE BASE
4348
- ======================================== */
4349
-
4350
- .muka-table {
4351
- width: 100%;
4352
- border-collapse: collapse;
4353
- border-spacing: 0;
4354
- font-family: var(--text-body-base-regular-fontFamily);
4355
- font-size: var(--text-body-base-regular-fontSize);
4356
- font-weight: var(--text-body-base-regular-fontWeight);
4357
- line-height: var(--text-body-base-regular-lineHeight);
4358
- color: var(--color-text-default-default);
4359
- background-color: var(--color-surface-level3);
4156
+ /* The frame carries the border, background and shape clip. Keeping it separate
4157
+ from the root lets the remove (×) button sit outside the clip (needed for the
4158
+ circular/ellipse shape, whose corners would otherwise clip the button). */
4159
+ .muka-thumbnail__frame {
4160
+ position: absolute;
4161
+ inset: 0;
4162
+ overflow: hidden;
4163
+ border: var(--border-width-regular, 1px) solid var(--color-black-alpha-3);
4164
+ border-radius: var(--border-radius-lg);
4165
+ background-color: var(--color-surface-level1);
4360
4166
  }
4361
4167
 
4362
- .muka-table--fixed {
4363
- table-layout: fixed;
4168
+ /* ─── Shapes ──────────────────────────────────────────── */
4169
+ .muka-thumbnail--4-3 {
4170
+ width: 160px;
4171
+ height: 120px;
4364
4172
  }
4365
4173
 
4366
- .muka-table__caption {
4367
- padding: var(--spacing-3);
4368
- font-weight: var(--text-label-md-semibold-fontWeight);
4369
- text-align: left;
4370
- color: var(--color-text-default-default);
4371
- caption-side: top;
4174
+ .muka-thumbnail--1-1 {
4175
+ width: 120px;
4176
+ height: 120px;
4372
4177
  }
4373
4178
 
4374
- /* ========================================
4375
- TABLE HEAD
4376
- ======================================== */
4179
+ .muka-thumbnail--ellipse {
4180
+ width: 120px;
4181
+ height: 120px;
4182
+ }
4377
4183
 
4378
- .muka-table__head {
4379
- border-bottom: var(--border-width-regular) solid var(--color-border-default);
4184
+ /* Fluid: fill the parent's width; the shape sets the height via aspect-ratio. */
4185
+ .muka-thumbnail--fluid {
4186
+ width: 100%;
4187
+ height: auto;
4188
+ aspect-ratio: 1 / 1;
4380
4189
  }
4381
4190
 
4382
- .muka-table__head .muka-table__row {
4383
- background-color: var(--color-surface-level0);
4191
+ .muka-thumbnail--fluid.muka-thumbnail--4-3 {
4192
+ aspect-ratio: 4 / 3;
4384
4193
  }
4385
4194
 
4386
- /* Plain (MUK-103): no tint; small subtle capitals under a section heading. */
4387
- .muka-table__head--plain .muka-table__row {
4388
- background-color: transparent;
4195
+ .muka-thumbnail--ellipse .muka-thumbnail__frame {
4196
+ border-radius: var(--border-radius-full);
4389
4197
  }
4390
4198
 
4391
- .muka-table__head--plain .muka-table__header-cell {
4392
- font-family: var(--text-label-sm-regular-fontFamily);
4393
- font-weight: var(--text-label-sm-regular-fontWeight);
4394
- font-size: var(--text-label-sm-regular-fontSize);
4199
+ /* Image fills the frame, cropped to cover. Sits at scale(1) by default so the
4200
+ interactive hover zoom has a clean origin. */
4201
+ .muka-thumbnail__image {
4202
+ position: absolute;
4203
+ inset: 0;
4204
+ width: 100%;
4205
+ height: 100%;
4206
+ object-fit: cover;
4207
+ display: block;
4208
+ transform-origin: center;
4209
+ /* Micro-interaction: hover zoom eases out over the "micro" duration. */
4210
+ transition: transform var(--motion-duration-micro) var(--motion-easing-enter);
4211
+ }
4212
+
4213
+ /* ─── Interactive (click-to-enlarge) ──────────────────── */
4214
+ .muka-thumbnail__trigger {
4215
+ position: absolute;
4216
+ inset: 0;
4217
+ padding: 0;
4218
+ border: 0;
4219
+ background: none;
4220
+ cursor: pointer;
4221
+ overflow: hidden;
4222
+ }
4223
+
4224
+ .muka-thumbnail__trigger:focus-visible {
4225
+ outline: 2px solid var(--color-border-focus);
4226
+ outline-offset: -2px;
4227
+ }
4228
+
4229
+ /* On hover the image scales up ~8px (160px → 168px) with an ease-out feel. */
4230
+ .muka-thumbnail--interactive:hover .muka-thumbnail__image {
4231
+ transform: scale(1.05);
4232
+ }
4233
+
4234
+ /* ─── Loading overlay + progress donut ────────────────── */
4235
+ .muka-thumbnail__overlay {
4236
+ position: absolute;
4237
+ inset: 0;
4238
+ display: flex;
4239
+ align-items: center;
4240
+ justify-content: center;
4241
+ background-color: var(--dialog-color-backdrop);
4242
+ }
4243
+
4244
+ .muka-thumbnail__progress {
4245
+ width: 40px;
4246
+ height: 40px;
4247
+ }
4248
+
4249
+ /* ─── Error / corrupt state ───────────────────────────── */
4250
+ .muka-thumbnail--error .muka-thumbnail__frame {
4251
+ background-color: var(--alias-color-state-error-muted);
4252
+ border-color: var(--alias-color-state-error-default);
4253
+ }
4254
+
4255
+ .muka-thumbnail__error {
4256
+ position: absolute;
4257
+ inset: 0;
4258
+ display: flex;
4259
+ flex-direction: column;
4260
+ align-items: center;
4261
+ justify-content: center;
4262
+ gap: var(--spacing-2);
4263
+ padding: var(--spacing-3);
4264
+ text-align: center;
4265
+ }
4266
+
4267
+ .muka-thumbnail__error-icon {
4268
+ color: var(--alert-color-error-accent);
4269
+ }
4270
+
4271
+ .muka-thumbnail__caption {
4272
+ max-width: 100%;
4273
+ overflow: hidden;
4274
+ text-overflow: ellipsis;
4275
+ white-space: nowrap;
4276
+ color: var(--alert-color-error-accent);
4277
+ font-family: var(--text-body-sm-regular-fontFamily);
4278
+ font-size: var(--text-body-sm-regular-fontSize);
4279
+ font-weight: var(--text-body-sm-regular-fontWeight);
4280
+ line-height: var(--text-body-sm-regular-lineHeight);
4281
+ }
4282
+
4283
+ /* ─── Remove (×) button ───────────────────────────────── */
4284
+ .muka-thumbnail__remove {
4285
+ position: absolute;
4286
+ top: var(--spacing-2);
4287
+ right: var(--spacing-2);
4288
+ display: flex;
4289
+ align-items: center;
4290
+ justify-content: center;
4291
+ width: var(--size-2xl);
4292
+ height: var(--size-2xl);
4293
+ padding: 0;
4294
+ color: var(--button-color-tertiary-foreground-default);
4295
+ background-color: var(--button-color-tertiary-background-default);
4296
+ border: var(--border-width-regular, 1px) solid var(--button-color-tertiary-border-default);
4297
+ border-radius: var(--border-radius-lg);
4298
+ cursor: pointer;
4299
+ transition: background-color var(--motion-duration-micro) var(--motion-easing-enter),
4300
+ border-color var(--motion-duration-micro) var(--motion-easing-enter);
4301
+ }
4302
+
4303
+ .muka-thumbnail__remove:hover {
4304
+ color: var(--button-color-tertiary-foreground-hover);
4305
+ background-color: var(--button-color-tertiary-background-hover);
4306
+ border-color: var(--button-color-tertiary-border-hover);
4307
+ }
4308
+
4309
+ .muka-thumbnail__remove:active {
4310
+ color: var(--button-color-tertiary-foreground-pressed);
4311
+ background-color: var(--button-color-tertiary-background-pressed);
4312
+ border-color: var(--button-color-tertiary-border-pressed);
4313
+ }
4314
+
4315
+ .muka-thumbnail__remove:focus-visible {
4316
+ outline: 2px solid var(--color-border-focus);
4317
+ outline-offset: 2px;
4318
+ }
4319
+
4320
+ /* ─── Reduced motion ──────────────────────────────────── */
4321
+ @media (prefers-reduced-motion: reduce) {
4322
+ .muka-thumbnail__image,
4323
+ .muka-thumbnail__remove {
4324
+ transition: none;
4325
+ }
4326
+
4327
+ .muka-thumbnail--interactive:hover .muka-thumbnail__image {
4328
+ transform: none;
4329
+ }
4330
+ }
4331
+
4332
+
4333
+ /* Table */
4334
+ /* Table Component Styles - Using Muka Design Tokens */
4335
+
4336
+ /* ========================================
4337
+ TABLE WRAPPER (Responsive)
4338
+ ======================================== */
4339
+
4340
+ .muka-table-wrapper {
4341
+ width: 100%;
4342
+ overflow-x: auto;
4343
+ -webkit-overflow-scrolling: touch;
4344
+ }
4345
+
4346
+ /* ========================================
4347
+ TABLE BASE
4348
+ ======================================== */
4349
+
4350
+ .muka-table {
4351
+ width: 100%;
4352
+ border-collapse: collapse;
4353
+ border-spacing: 0;
4354
+ font-family: var(--text-body-base-regular-fontFamily);
4355
+ font-size: var(--text-body-base-regular-fontSize);
4356
+ font-weight: var(--text-body-base-regular-fontWeight);
4357
+ line-height: var(--text-body-base-regular-lineHeight);
4358
+ color: var(--color-text-default-default);
4359
+ background-color: var(--color-surface-level3);
4360
+ }
4361
+
4362
+ .muka-table--fixed {
4363
+ table-layout: fixed;
4364
+ }
4365
+
4366
+ .muka-table__caption {
4367
+ padding: var(--spacing-3);
4368
+ font-weight: var(--text-label-md-semibold-fontWeight);
4369
+ text-align: left;
4370
+ color: var(--color-text-default-default);
4371
+ caption-side: top;
4372
+ }
4373
+
4374
+ /* ========================================
4375
+ TABLE HEAD
4376
+ ======================================== */
4377
+
4378
+ .muka-table__head {
4379
+ border-bottom: var(--border-width-regular) solid var(--color-border-default);
4380
+ }
4381
+
4382
+ .muka-table__head .muka-table__row {
4383
+ background-color: var(--color-surface-level0);
4384
+ }
4385
+
4386
+ /* Plain (MUK-103): no tint; small subtle capitals under a section heading. */
4387
+ .muka-table__head--plain .muka-table__row {
4388
+ background-color: transparent;
4389
+ }
4390
+
4391
+ .muka-table__head--plain .muka-table__header-cell {
4392
+ font-family: var(--text-label-sm-regular-fontFamily);
4393
+ font-weight: var(--text-label-sm-regular-fontWeight);
4394
+ font-size: var(--text-label-sm-regular-fontSize);
4395
4395
  line-height: var(--text-label-sm-regular-lineHeight);
4396
4396
  color: var(--color-text-subtle-default);
4397
4397
  text-transform: uppercase;
@@ -4734,49 +4734,127 @@ body {
4734
4734
  }
4735
4735
 
4736
4736
 
4737
- /* SwipeActions */
4738
- /* SwipeActions Component Styles */
4737
+ /* Spinner */
4738
+ /* Spinner Component Styles */
4739
4739
 
4740
- .muka-swipe-actions {
4741
- position: relative;
4742
- overflow: hidden;
4743
- touch-action: pan-y;
4744
- -webkit-user-select: none;
4745
- user-select: none;
4746
- background-color: var(--color-surface-level3);
4740
+ .muka-spinner {
4741
+ display: inline-flex;
4742
+ align-items: center;
4743
+ justify-content: center;
4744
+ color: var(--color-text-default-default);
4745
+ line-height: 0;
4747
4746
  }
4748
4747
 
4749
- .muka-swipe-actions--disabled {
4750
- touch-action: auto;
4748
+ .muka-spinner--subtle {
4749
+ color: var(--color-text-subtle-default);
4751
4750
  }
4752
4751
 
4753
- /* ─── Row that holds the actual content ────────────────── */
4752
+ .muka-spinner--inverse {
4753
+ color: var(--color-text-default-inverse);
4754
+ }
4754
4755
 
4755
- .muka-swipe-actions__row {
4756
- position: relative;
4757
- z-index: 1;
4758
- background-color: inherit;
4759
- will-change: transform;
4756
+ .muka-spinner__circle {
4757
+ display: inline-block;
4758
+ border-radius: 50%;
4759
+ border-style: solid;
4760
+ border-color: currentColor;
4761
+ border-right-color: transparent;
4762
+ animation: muka-spinner-rotate 0.7s linear infinite;
4763
+ box-sizing: border-box;
4760
4764
  }
4761
4765
 
4762
- /* ─── Action panels — sit beneath the row ──────────────── */
4766
+ /* ─── Sizes ───────────────────────────────────────────── */
4763
4767
 
4764
- .muka-swipe-actions__panel {
4765
- position: absolute;
4766
- top: 0;
4767
- bottom: 0;
4768
- display: flex;
4769
- align-items: stretch;
4770
- z-index: 0;
4768
+ .muka-spinner--sm .muka-spinner__circle {
4769
+ width: 16px;
4770
+ height: 16px;
4771
+ border-width: 2px;
4771
4772
  }
4772
4773
 
4773
- .muka-swipe-actions__panel--left {
4774
- left: 0;
4774
+ .muka-spinner--md .muka-spinner__circle {
4775
+ width: 20px;
4776
+ height: 20px;
4777
+ border-width: 2px;
4775
4778
  }
4776
4779
 
4777
- .muka-swipe-actions__panel--right {
4778
- right: 0;
4779
- }
4780
+ .muka-spinner--lg .muka-spinner__circle {
4781
+ width: 24px;
4782
+ height: 24px;
4783
+ border-width: 3px;
4784
+ }
4785
+
4786
+ /* ─── Visually-hidden label ───────────────────────────── */
4787
+
4788
+ .muka-spinner__sr-label {
4789
+ position: absolute;
4790
+ width: 1px;
4791
+ height: 1px;
4792
+ padding: 0;
4793
+ margin: -1px;
4794
+ overflow: hidden;
4795
+ clip: rect(0, 0, 0, 0);
4796
+ white-space: nowrap;
4797
+ border: 0;
4798
+ }
4799
+
4800
+ /* ─── Reduced motion ──────────────────────────────────── */
4801
+
4802
+ @keyframes muka-spinner-rotate {
4803
+ to {
4804
+ transform: rotate(360deg);
4805
+ }
4806
+ }
4807
+
4808
+ @media (prefers-reduced-motion: reduce) {
4809
+ .muka-spinner__circle {
4810
+ animation-duration: 2.5s;
4811
+ }
4812
+ }
4813
+
4814
+
4815
+ /* SwipeActions */
4816
+ /* SwipeActions Component Styles */
4817
+
4818
+ .muka-swipe-actions {
4819
+ position: relative;
4820
+ overflow: hidden;
4821
+ touch-action: pan-y;
4822
+ -webkit-user-select: none;
4823
+ user-select: none;
4824
+ background-color: var(--color-surface-level3);
4825
+ }
4826
+
4827
+ .muka-swipe-actions--disabled {
4828
+ touch-action: auto;
4829
+ }
4830
+
4831
+ /* ─── Row that holds the actual content ────────────────── */
4832
+
4833
+ .muka-swipe-actions__row {
4834
+ position: relative;
4835
+ z-index: 1;
4836
+ background-color: inherit;
4837
+ will-change: transform;
4838
+ }
4839
+
4840
+ /* ─── Action panels — sit beneath the row ──────────────── */
4841
+
4842
+ .muka-swipe-actions__panel {
4843
+ position: absolute;
4844
+ top: 0;
4845
+ bottom: 0;
4846
+ display: flex;
4847
+ align-items: stretch;
4848
+ z-index: 0;
4849
+ }
4850
+
4851
+ .muka-swipe-actions__panel--left {
4852
+ left: 0;
4853
+ }
4854
+
4855
+ .muka-swipe-actions__panel--right {
4856
+ right: 0;
4857
+ }
4780
4858
 
4781
4859
  /* ─── Single action button ─────────────────────────────── */
4782
4860
 
@@ -4842,84 +4920,6 @@ body {
4842
4920
  }
4843
4921
 
4844
4922
 
4845
- /* Spinner */
4846
- /* Spinner Component Styles */
4847
-
4848
- .muka-spinner {
4849
- display: inline-flex;
4850
- align-items: center;
4851
- justify-content: center;
4852
- color: var(--color-text-default-default);
4853
- line-height: 0;
4854
- }
4855
-
4856
- .muka-spinner--subtle {
4857
- color: var(--color-text-subtle-default);
4858
- }
4859
-
4860
- .muka-spinner--inverse {
4861
- color: var(--color-text-default-inverse);
4862
- }
4863
-
4864
- .muka-spinner__circle {
4865
- display: inline-block;
4866
- border-radius: 50%;
4867
- border-style: solid;
4868
- border-color: currentColor;
4869
- border-right-color: transparent;
4870
- animation: muka-spinner-rotate 0.7s linear infinite;
4871
- box-sizing: border-box;
4872
- }
4873
-
4874
- /* ─── Sizes ───────────────────────────────────────────── */
4875
-
4876
- .muka-spinner--sm .muka-spinner__circle {
4877
- width: 16px;
4878
- height: 16px;
4879
- border-width: 2px;
4880
- }
4881
-
4882
- .muka-spinner--md .muka-spinner__circle {
4883
- width: 20px;
4884
- height: 20px;
4885
- border-width: 2px;
4886
- }
4887
-
4888
- .muka-spinner--lg .muka-spinner__circle {
4889
- width: 24px;
4890
- height: 24px;
4891
- border-width: 3px;
4892
- }
4893
-
4894
- /* ─── Visually-hidden label ───────────────────────────── */
4895
-
4896
- .muka-spinner__sr-label {
4897
- position: absolute;
4898
- width: 1px;
4899
- height: 1px;
4900
- padding: 0;
4901
- margin: -1px;
4902
- overflow: hidden;
4903
- clip: rect(0, 0, 0, 0);
4904
- white-space: nowrap;
4905
- border: 0;
4906
- }
4907
-
4908
- /* ─── Reduced motion ──────────────────────────────────── */
4909
-
4910
- @keyframes muka-spinner-rotate {
4911
- to {
4912
- transform: rotate(360deg);
4913
- }
4914
- }
4915
-
4916
- @media (prefers-reduced-motion: reduce) {
4917
- .muka-spinner__circle {
4918
- animation-duration: 2.5s;
4919
- }
4920
- }
4921
-
4922
-
4923
4923
  /* SpecList */
4924
4924
  /* SpecList Component Styles */
4925
4925
 
@@ -5347,6 +5347,81 @@ body {
5347
5347
  }
5348
5348
 
5349
5349
 
5350
+ /* Skeleton */
5351
+ /* Skeleton Component Styles */
5352
+
5353
+ .muka-skeleton {
5354
+ background-color: var(--color-surface-level1);
5355
+ display: block;
5356
+ }
5357
+
5358
+ /* Variants */
5359
+ .muka-skeleton--text {
5360
+ height: 1em;
5361
+ border-radius: var(--radius-md);
5362
+ width: 100%;
5363
+ }
5364
+
5365
+ .muka-skeleton--circular {
5366
+ width: 2.5rem;
5367
+ height: 2.5rem;
5368
+ border-radius: var(--radius-full);
5369
+ }
5370
+
5371
+ .muka-skeleton--rectangular {
5372
+ height: 7.5rem;
5373
+ border-radius: var(--radius-md);
5374
+ width: 100%;
5375
+ }
5376
+
5377
+ /* Last line in multi-line text is shorter */
5378
+ .muka-skeleton--last-line {
5379
+ width: 80%;
5380
+ }
5381
+
5382
+ /* Lines container */
5383
+ .muka-skeleton__lines {
5384
+ display: flex;
5385
+ flex-direction: column;
5386
+ gap: var(--spacing-2);
5387
+ }
5388
+
5389
+ /* Shimmer animation */
5390
+ @keyframes muka-skeleton-shimmer {
5391
+ 0% {
5392
+ background-position: -200% 0;
5393
+ }
5394
+ 100% {
5395
+ background-position: 200% 0;
5396
+ }
5397
+ }
5398
+
5399
+ .muka-skeleton--shimmer {
5400
+ background: linear-gradient(
5401
+ 90deg,
5402
+ var(--color-surface-level1) 25%,
5403
+ var(--color-surface-level2) 50%,
5404
+ var(--color-surface-level1) 75%
5405
+ );
5406
+ background-size: 200% 100%;
5407
+ animation: muka-skeleton-shimmer 1.5s ease-in-out infinite;
5408
+ }
5409
+
5410
+ /* Pulse animation */
5411
+ @keyframes muka-skeleton-pulse {
5412
+ 0%, 100% {
5413
+ opacity: 1;
5414
+ }
5415
+ 50% {
5416
+ opacity: 0.4;
5417
+ }
5418
+ }
5419
+
5420
+ .muka-skeleton--pulse {
5421
+ animation: muka-skeleton-pulse 1.5s ease-in-out infinite;
5422
+ }
5423
+
5424
+
5350
5425
  /* Sheet */
5351
5426
  /* Sheet Component Styles */
5352
5427
 
@@ -5427,98 +5502,23 @@ body {
5427
5502
  }
5428
5503
 
5429
5504
 
5430
- /* Skeleton */
5431
- /* Skeleton Component Styles */
5505
+ /* Select */
5506
+ /* Select Component Styles - Aligned with Input for consistency */
5432
5507
 
5433
- .muka-skeleton {
5434
- background-color: var(--color-surface-level1);
5435
- display: block;
5508
+ .muka-select {
5509
+ display: inline-flex;
5510
+ flex-direction: column;
5511
+ gap: var(--spacing-2);
5436
5512
  }
5437
5513
 
5438
- /* Variants */
5439
- .muka-skeleton--text {
5440
- height: 1em;
5441
- border-radius: var(--radius-md);
5514
+ .muka-select--full-width {
5442
5515
  width: 100%;
5443
5516
  }
5444
5517
 
5445
- .muka-skeleton--circular {
5446
- width: 2.5rem;
5447
- height: 2.5rem;
5448
- border-radius: var(--radius-full);
5449
- }
5450
-
5451
- .muka-skeleton--rectangular {
5452
- height: 7.5rem;
5453
- border-radius: var(--radius-md);
5454
- width: 100%;
5455
- }
5456
-
5457
- /* Last line in multi-line text is shorter */
5458
- .muka-skeleton--last-line {
5459
- width: 80%;
5460
- }
5461
-
5462
- /* Lines container */
5463
- .muka-skeleton__lines {
5464
- display: flex;
5465
- flex-direction: column;
5466
- gap: var(--spacing-2);
5467
- }
5468
-
5469
- /* Shimmer animation */
5470
- @keyframes muka-skeleton-shimmer {
5471
- 0% {
5472
- background-position: -200% 0;
5473
- }
5474
- 100% {
5475
- background-position: 200% 0;
5476
- }
5477
- }
5478
-
5479
- .muka-skeleton--shimmer {
5480
- background: linear-gradient(
5481
- 90deg,
5482
- var(--color-surface-level1) 25%,
5483
- var(--color-surface-level2) 50%,
5484
- var(--color-surface-level1) 75%
5485
- );
5486
- background-size: 200% 100%;
5487
- animation: muka-skeleton-shimmer 1.5s ease-in-out infinite;
5488
- }
5489
-
5490
- /* Pulse animation */
5491
- @keyframes muka-skeleton-pulse {
5492
- 0%, 100% {
5493
- opacity: 1;
5494
- }
5495
- 50% {
5496
- opacity: 0.4;
5497
- }
5498
- }
5499
-
5500
- .muka-skeleton--pulse {
5501
- animation: muka-skeleton-pulse 1.5s ease-in-out infinite;
5502
- }
5503
-
5504
-
5505
- /* Select */
5506
- /* Select Component Styles - Aligned with Input for consistency */
5507
-
5508
- .muka-select {
5509
- display: inline-flex;
5510
- flex-direction: column;
5511
- gap: var(--spacing-2);
5512
- }
5513
-
5514
- .muka-select--full-width {
5515
- width: 100%;
5516
- }
5517
-
5518
- /* Label */
5519
- .muka-select__label {
5520
- color: var(--color-text-default-default);
5521
- cursor: pointer;
5518
+ /* Label */
5519
+ .muka-select__label {
5520
+ color: var(--color-text-default-default);
5521
+ cursor: pointer;
5522
5522
  }
5523
5523
 
5524
5524
  .muka-select__label--sm {
@@ -5884,180 +5884,26 @@ body {
5884
5884
  }
5885
5885
 
5886
5886
 
5887
- /* Scrollbar */
5888
- /* Scrollbar — Figma menu scrollbar (32px rail, chevrons, grip thumb) */
5889
-
5890
- .muka-scrollbar {
5891
- display: flex;
5892
- flex-shrink: 0;
5893
- border-left: var(--border-width-regular) solid var(--color-border-default);
5894
- background-color: var(--color-surface-level3);
5895
- user-select: none;
5896
- }
5897
-
5898
- .muka-scrollbar--vertical {
5899
- flex-direction: column;
5900
- width: var(--size-2xl, 32px);
5901
- align-self: stretch;
5902
- }
5903
-
5904
- .muka-scrollbar--horizontal {
5905
- flex-direction: row;
5906
- height: var(--size-2xl, 32px);
5907
- width: 100%;
5908
- border-left: none;
5909
- border-top: var(--border-width-regular) solid var(--color-border-default);
5910
- }
5911
-
5912
- .muka-scrollbar__button {
5913
- display: flex;
5914
- align-items: center;
5915
- justify-content: center;
5916
- flex-shrink: 0;
5917
- width: 100%;
5918
- height: var(--size-2xl, 32px);
5919
- padding: 0;
5920
- border: none;
5921
- background-color: var(--button-color-tertiary-background-default, var(--color-surface-level3));
5922
- color: var(--color-text-default-default);
5923
- cursor: pointer;
5924
- }
5925
-
5926
- .muka-scrollbar--horizontal .muka-scrollbar__button {
5927
- width: var(--size-2xl, 32px);
5928
- height: 100%;
5929
- }
5930
-
5931
- .muka-scrollbar__button:hover {
5932
- background-color: var(--color-surface-hover);
5933
- }
5934
-
5935
- .muka-scrollbar__divider {
5936
- flex-shrink: 0;
5937
- width: 100%;
5938
- height: 1px;
5939
- background-color: var(--color-border-default);
5940
- }
5941
-
5942
- .muka-scrollbar--horizontal .muka-scrollbar__divider {
5943
- width: 1px;
5944
- height: 100%;
5945
- }
5946
-
5947
- .muka-scrollbar__track {
5948
- position: relative;
5949
- display: flex;
5950
- flex-direction: column;
5951
- flex: 1 1 auto;
5952
- min-height: 0;
5953
- width: 100%;
5954
- }
5955
-
5956
- .muka-scrollbar--horizontal .muka-scrollbar__track {
5957
- flex-direction: row;
5958
- min-width: 0;
5959
- height: 100%;
5960
- }
5961
-
5962
- .muka-scrollbar__thumb {
5963
- position: absolute;
5964
- left: 0;
5965
- top: 0;
5966
- z-index: 1;
5967
- display: flex;
5968
- align-items: center;
5969
- justify-content: center;
5970
- width: 100%;
5971
- /* Figma: scrollbar thumb fill = surface/level3 */
5972
- background-color: var(--color-surface-level3);
5973
- cursor: grab;
5974
- touch-action: none;
5975
- }
5976
-
5977
- .muka-scrollbar--horizontal .muka-scrollbar__thumb {
5978
- left: 0;
5979
- top: 0;
5980
- width: auto;
5981
- height: 100%;
5982
- margin-left: 0;
5983
- margin-top: 0;
5984
- }
5985
-
5986
- .muka-scrollbar__thumb:active {
5987
- cursor: grabbing;
5988
- }
5989
-
5990
- .muka-scrollbar__grip {
5991
- display: flex;
5992
- flex-direction: column;
5993
- gap: 2px;
5994
- width: 14px;
5995
- }
5996
-
5997
- .muka-scrollbar__grip::before,
5998
- .muka-scrollbar__grip::after {
5999
- content: '';
6000
- display: block;
6001
- width: 100%;
6002
- height: 2px;
6003
- border-radius: var(--border-radius-md);
6004
- background-color: var(--color-text-subtle-default);
6005
- }
6006
-
6007
- .muka-scrollbar__spacer {
6008
- flex: 1 1 auto;
6009
- min-height: 0;
6010
- background-color: var(--color-surface-level2);
6011
- }
6012
-
6013
-
6014
- /* RecordingBar */
6015
- /* RecordingBar Component Styles */
6016
-
6017
- .muka-recording-bar {
6018
- display: flex;
6019
- align-items: center;
6020
- gap: var(--spacing-3);
6021
- width: 100%;
6022
- min-width: 0;
6023
- }
6024
-
6025
- .muka-recording-bar__dot {
6026
- flex: 0 0 auto;
6027
- width: 0.625rem;
6028
- height: 0.625rem;
6029
- border-radius: var(--radius-full, 9999px);
6030
- background: var(--alert-color-error-accent, var(--color-text-default-default));
6031
- animation: muka-recording-bar-pulse 1s ease-in-out infinite;
6032
- }
5887
+ /* Section */
5888
+ /* Section Component - Layout tokens (section.padding) */
6033
5889
 
6034
- .muka-recording-bar__time {
6035
- flex: 0 0 auto;
6036
- font-size: var(--text-label-sm-fontSize, 0.75rem);
6037
- line-height: var(--text-label-sm-lineHeight, 1);
6038
- font-variant-numeric: tabular-nums;
6039
- color: var(--color-text-default-default);
5890
+ .muka-section {
5891
+ box-sizing: border-box;
6040
5892
  }
6041
5893
 
6042
- .muka-recording-bar__wave {
6043
- flex: 1 1 auto;
6044
- min-width: 0;
5894
+ .muka-section--padding-compact {
5895
+ padding-block: var(--section-padding-vertical-compact);
5896
+ padding-inline: var(--section-padding-horizontal-compact);
6045
5897
  }
6046
5898
 
6047
- @keyframes muka-recording-bar-pulse {
6048
- 0%,
6049
- 100% {
6050
- opacity: 1;
6051
- }
6052
- 50% {
6053
- opacity: 0.3;
6054
- }
5899
+ .muka-section--padding-default {
5900
+ padding-block: var(--section-padding-vertical-default);
5901
+ padding-inline: var(--section-padding-horizontal-default);
6055
5902
  }
6056
5903
 
6057
- @media (prefers-reduced-motion: reduce) {
6058
- .muka-recording-bar__dot {
6059
- animation: none;
6060
- }
5904
+ .muka-section--padding-spacious {
5905
+ padding-block: var(--section-padding-vertical-spacious);
5906
+ padding-inline: var(--section-padding-horizontal-spacious);
6061
5907
  }
6062
5908
 
6063
5909
 
@@ -6230,26 +6076,180 @@ body {
6230
6076
  }
6231
6077
 
6232
6078
 
6233
- /* Section */
6234
- /* Section Component - Layout tokens (section.padding) */
6079
+ /* Scrollbar */
6080
+ /* Scrollbar — Figma menu scrollbar (32px rail, chevrons, grip thumb) */
6235
6081
 
6236
- .muka-section {
6237
- box-sizing: border-box;
6082
+ .muka-scrollbar {
6083
+ display: flex;
6084
+ flex-shrink: 0;
6085
+ border-left: var(--border-width-regular) solid var(--color-border-default);
6086
+ background-color: var(--color-surface-level3);
6087
+ user-select: none;
6238
6088
  }
6239
6089
 
6240
- .muka-section--padding-compact {
6241
- padding-block: var(--section-padding-vertical-compact);
6242
- padding-inline: var(--section-padding-horizontal-compact);
6090
+ .muka-scrollbar--vertical {
6091
+ flex-direction: column;
6092
+ width: var(--size-2xl, 32px);
6093
+ align-self: stretch;
6243
6094
  }
6244
6095
 
6245
- .muka-section--padding-default {
6246
- padding-block: var(--section-padding-vertical-default);
6247
- padding-inline: var(--section-padding-horizontal-default);
6096
+ .muka-scrollbar--horizontal {
6097
+ flex-direction: row;
6098
+ height: var(--size-2xl, 32px);
6099
+ width: 100%;
6100
+ border-left: none;
6101
+ border-top: var(--border-width-regular) solid var(--color-border-default);
6248
6102
  }
6249
6103
 
6250
- .muka-section--padding-spacious {
6251
- padding-block: var(--section-padding-vertical-spacious);
6252
- padding-inline: var(--section-padding-horizontal-spacious);
6104
+ .muka-scrollbar__button {
6105
+ display: flex;
6106
+ align-items: center;
6107
+ justify-content: center;
6108
+ flex-shrink: 0;
6109
+ width: 100%;
6110
+ height: var(--size-2xl, 32px);
6111
+ padding: 0;
6112
+ border: none;
6113
+ background-color: var(--button-color-tertiary-background-default, var(--color-surface-level3));
6114
+ color: var(--color-text-default-default);
6115
+ cursor: pointer;
6116
+ }
6117
+
6118
+ .muka-scrollbar--horizontal .muka-scrollbar__button {
6119
+ width: var(--size-2xl, 32px);
6120
+ height: 100%;
6121
+ }
6122
+
6123
+ .muka-scrollbar__button:hover {
6124
+ background-color: var(--color-surface-hover);
6125
+ }
6126
+
6127
+ .muka-scrollbar__divider {
6128
+ flex-shrink: 0;
6129
+ width: 100%;
6130
+ height: 1px;
6131
+ background-color: var(--color-border-default);
6132
+ }
6133
+
6134
+ .muka-scrollbar--horizontal .muka-scrollbar__divider {
6135
+ width: 1px;
6136
+ height: 100%;
6137
+ }
6138
+
6139
+ .muka-scrollbar__track {
6140
+ position: relative;
6141
+ display: flex;
6142
+ flex-direction: column;
6143
+ flex: 1 1 auto;
6144
+ min-height: 0;
6145
+ width: 100%;
6146
+ }
6147
+
6148
+ .muka-scrollbar--horizontal .muka-scrollbar__track {
6149
+ flex-direction: row;
6150
+ min-width: 0;
6151
+ height: 100%;
6152
+ }
6153
+
6154
+ .muka-scrollbar__thumb {
6155
+ position: absolute;
6156
+ left: 0;
6157
+ top: 0;
6158
+ z-index: 1;
6159
+ display: flex;
6160
+ align-items: center;
6161
+ justify-content: center;
6162
+ width: 100%;
6163
+ /* Figma: scrollbar thumb fill = surface/level3 */
6164
+ background-color: var(--color-surface-level3);
6165
+ cursor: grab;
6166
+ touch-action: none;
6167
+ }
6168
+
6169
+ .muka-scrollbar--horizontal .muka-scrollbar__thumb {
6170
+ left: 0;
6171
+ top: 0;
6172
+ width: auto;
6173
+ height: 100%;
6174
+ margin-left: 0;
6175
+ margin-top: 0;
6176
+ }
6177
+
6178
+ .muka-scrollbar__thumb:active {
6179
+ cursor: grabbing;
6180
+ }
6181
+
6182
+ .muka-scrollbar__grip {
6183
+ display: flex;
6184
+ flex-direction: column;
6185
+ gap: 2px;
6186
+ width: 14px;
6187
+ }
6188
+
6189
+ .muka-scrollbar__grip::before,
6190
+ .muka-scrollbar__grip::after {
6191
+ content: '';
6192
+ display: block;
6193
+ width: 100%;
6194
+ height: 2px;
6195
+ border-radius: var(--border-radius-md);
6196
+ background-color: var(--color-text-subtle-default);
6197
+ }
6198
+
6199
+ .muka-scrollbar__spacer {
6200
+ flex: 1 1 auto;
6201
+ min-height: 0;
6202
+ background-color: var(--color-surface-level2);
6203
+ }
6204
+
6205
+
6206
+ /* RecordingBar */
6207
+ /* RecordingBar Component Styles */
6208
+
6209
+ .muka-recording-bar {
6210
+ display: flex;
6211
+ align-items: center;
6212
+ gap: var(--spacing-3);
6213
+ width: 100%;
6214
+ min-width: 0;
6215
+ }
6216
+
6217
+ .muka-recording-bar__dot {
6218
+ flex: 0 0 auto;
6219
+ width: 0.625rem;
6220
+ height: 0.625rem;
6221
+ border-radius: var(--radius-full, 9999px);
6222
+ background: var(--alert-color-error-accent, var(--color-text-default-default));
6223
+ animation: muka-recording-bar-pulse 1s ease-in-out infinite;
6224
+ }
6225
+
6226
+ .muka-recording-bar__time {
6227
+ flex: 0 0 auto;
6228
+ font-size: var(--text-label-sm-fontSize, 0.75rem);
6229
+ line-height: var(--text-label-sm-lineHeight, 1);
6230
+ font-variant-numeric: tabular-nums;
6231
+ color: var(--color-text-default-default);
6232
+ }
6233
+
6234
+ .muka-recording-bar__wave {
6235
+ flex: 1 1 auto;
6236
+ min-width: 0;
6237
+ }
6238
+
6239
+ @keyframes muka-recording-bar-pulse {
6240
+ 0%,
6241
+ 100% {
6242
+ opacity: 1;
6243
+ }
6244
+ 50% {
6245
+ opacity: 0.3;
6246
+ }
6247
+ }
6248
+
6249
+ @media (prefers-reduced-motion: reduce) {
6250
+ .muka-recording-bar__dot {
6251
+ animation: none;
6252
+ }
6253
6253
  }
6254
6254
 
6255
6255
 
@@ -7625,77 +7625,6 @@ button.muka-progress-tracker__tab:focus-visible {
7625
7625
  }
7626
7626
 
7627
7627
 
7628
- /* ProfileBadge */
7629
- /* ProfileBadge Component Styles - Using Muka Design Tokens */
7630
-
7631
- .muka-profile-badge {
7632
- display: inline-flex;
7633
- align-items: center;
7634
- font-family: var(--text-body-base-regular-fontFamily);
7635
- }
7636
-
7637
- /* Size variants */
7638
- .muka-profile-badge--lg {
7639
- gap: var(--spacing-4); /* 16px */
7640
- }
7641
-
7642
- .muka-profile-badge--md {
7643
- gap: var(--spacing-3); /* 12px */
7644
- }
7645
-
7646
- .muka-profile-badge__avatar {
7647
- flex-shrink: 0;
7648
- }
7649
-
7650
- /* Text stack */
7651
- .muka-profile-badge__text {
7652
- display: flex;
7653
- flex-direction: column;
7654
- align-items: flex-start;
7655
- min-width: 0;
7656
- }
7657
-
7658
- .muka-profile-badge__name {
7659
- font-family: var(--text-body-base-regular-fontFamily);
7660
- font-size: var(--text-body-base-regular-fontSize);
7661
- font-weight: var(--text-body-base-regular-fontWeight);
7662
- line-height: var(--text-body-base-regular-lineHeight);
7663
- color: var(--color-text-default-default);
7664
- }
7665
-
7666
- .muka-profile-badge__email {
7667
- font-family: var(--text-body-xs-regular-fontFamily);
7668
- font-size: var(--text-body-xs-regular-fontSize);
7669
- font-weight: var(--text-body-xs-regular-fontWeight);
7670
- line-height: var(--text-body-xs-regular-lineHeight);
7671
- color: var(--color-text-subtle-default);
7672
- }
7673
-
7674
- /* Clickable state */
7675
- .muka-profile-badge--clickable {
7676
- cursor: pointer;
7677
- border: none;
7678
- background: none;
7679
- padding: 0;
7680
- text-align: left;
7681
- border-radius: var(--radius-md);
7682
- transition: opacity 0.2s ease;
7683
- }
7684
-
7685
- .muka-profile-badge--clickable:hover {
7686
- opacity: 0.9;
7687
- }
7688
-
7689
- .muka-profile-badge--clickable:active {
7690
- opacity: 0.8;
7691
- }
7692
-
7693
- .muka-profile-badge--clickable:focus-visible {
7694
- outline: 2px solid var(--color-border-focus);
7695
- outline-offset: 2px;
7696
- }
7697
-
7698
-
7699
7628
  /* Progress */
7700
7629
  /* Progress Component Styles - Using Muka Design Tokens */
7701
7630
 
@@ -7868,13 +7797,84 @@ button.muka-progress-tracker__tab:focus-visible {
7868
7797
  }
7869
7798
 
7870
7799
 
7871
- /* PriceTag */
7872
- /* PriceTag Component Styles - Using Muka Design Tokens */
7873
-
7874
- .muka-price-tag {
7875
- display: flex;
7876
- flex-shrink: 0;
7877
- }
7800
+ /* ProfileBadge */
7801
+ /* ProfileBadge Component Styles - Using Muka Design Tokens */
7802
+
7803
+ .muka-profile-badge {
7804
+ display: inline-flex;
7805
+ align-items: center;
7806
+ font-family: var(--text-body-base-regular-fontFamily);
7807
+ }
7808
+
7809
+ /* Size variants */
7810
+ .muka-profile-badge--lg {
7811
+ gap: var(--spacing-4); /* 16px */
7812
+ }
7813
+
7814
+ .muka-profile-badge--md {
7815
+ gap: var(--spacing-3); /* 12px */
7816
+ }
7817
+
7818
+ .muka-profile-badge__avatar {
7819
+ flex-shrink: 0;
7820
+ }
7821
+
7822
+ /* Text stack */
7823
+ .muka-profile-badge__text {
7824
+ display: flex;
7825
+ flex-direction: column;
7826
+ align-items: flex-start;
7827
+ min-width: 0;
7828
+ }
7829
+
7830
+ .muka-profile-badge__name {
7831
+ font-family: var(--text-body-base-regular-fontFamily);
7832
+ font-size: var(--text-body-base-regular-fontSize);
7833
+ font-weight: var(--text-body-base-regular-fontWeight);
7834
+ line-height: var(--text-body-base-regular-lineHeight);
7835
+ color: var(--color-text-default-default);
7836
+ }
7837
+
7838
+ .muka-profile-badge__email {
7839
+ font-family: var(--text-body-xs-regular-fontFamily);
7840
+ font-size: var(--text-body-xs-regular-fontSize);
7841
+ font-weight: var(--text-body-xs-regular-fontWeight);
7842
+ line-height: var(--text-body-xs-regular-lineHeight);
7843
+ color: var(--color-text-subtle-default);
7844
+ }
7845
+
7846
+ /* Clickable state */
7847
+ .muka-profile-badge--clickable {
7848
+ cursor: pointer;
7849
+ border: none;
7850
+ background: none;
7851
+ padding: 0;
7852
+ text-align: left;
7853
+ border-radius: var(--radius-md);
7854
+ transition: opacity 0.2s ease;
7855
+ }
7856
+
7857
+ .muka-profile-badge--clickable:hover {
7858
+ opacity: 0.9;
7859
+ }
7860
+
7861
+ .muka-profile-badge--clickable:active {
7862
+ opacity: 0.8;
7863
+ }
7864
+
7865
+ .muka-profile-badge--clickable:focus-visible {
7866
+ outline: 2px solid var(--color-border-focus);
7867
+ outline-offset: 2px;
7868
+ }
7869
+
7870
+
7871
+ /* PriceTag */
7872
+ /* PriceTag Component Styles - Using Muka Design Tokens */
7873
+
7874
+ .muka-price-tag {
7875
+ display: flex;
7876
+ flex-shrink: 0;
7877
+ }
7878
7878
 
7879
7879
  /* Medium: stacked layout (price on top, unit below) */
7880
7880
  .muka-price-tag--md {
@@ -8293,6 +8293,26 @@ button.muka-progress-tracker__tab:focus-visible {
8293
8293
  flex: none;
8294
8294
  }
8295
8295
 
8296
+ /* Label and, optionally, a supporting line under it */
8297
+ .muka-gantt__bar-text {
8298
+ display: flex;
8299
+ flex: 1 1 auto;
8300
+ flex-direction: column;
8301
+ min-width: 0;
8302
+ }
8303
+
8304
+ .muka-gantt__bar-sublabel {
8305
+ min-width: 0;
8306
+ overflow: hidden;
8307
+ text-overflow: ellipsis;
8308
+ white-space: nowrap;
8309
+ color: var(--color-text-subtle-default);
8310
+ font-family: var(--text-body-xs-regular-fontFamily);
8311
+ font-weight: var(--text-body-xs-regular-fontWeight);
8312
+ font-size: var(--text-body-xs-regular-fontSize);
8313
+ line-height: var(--text-body-xs-regular-lineHeight);
8314
+ }
8315
+
8296
8316
  .muka-gantt__bar-label {
8297
8317
  min-width: 0;
8298
8318
  overflow: hidden;
@@ -8300,6 +8320,38 @@ button.muka-progress-tracker__tab:focus-visible {
8300
8320
  white-space: nowrap;
8301
8321
  }
8302
8322
 
8323
+ /* Task names in the bars: wrap to at most two lines; the bar grows with them */
8324
+ .muka-gantt--labels-hidden .muka-gantt__bar-label {
8325
+ display: -webkit-box;
8326
+ -webkit-box-orient: vertical;
8327
+ -webkit-line-clamp: 2;
8328
+ line-clamp: 2;
8329
+ white-space: normal;
8330
+ /* Break between words, never inside one; hyphenate where the page's
8331
+ language allows it, and clip a word that still doesn't fit. */
8332
+ overflow-wrap: normal;
8333
+ word-break: normal;
8334
+ hyphens: auto;
8335
+ }
8336
+
8337
+ /* Hidden task column: the label stays the row's accessible name, off screen */
8338
+ .muka-gantt--labels-hidden .muka-gantt__row {
8339
+ position: relative;
8340
+ grid-template-columns: minmax(0, 1fr);
8341
+ }
8342
+
8343
+ .muka-gantt--labels-hidden .muka-gantt__label {
8344
+ position: absolute;
8345
+ width: 1px;
8346
+ height: 1px;
8347
+ margin: -1px;
8348
+ padding: 0;
8349
+ overflow: hidden;
8350
+ clip: rect(0, 0, 0, 0);
8351
+ white-space: nowrap;
8352
+ border: 0;
8353
+ }
8354
+
8303
8355
  .muka-gantt__bar-badge {
8304
8356
  flex: none;
8305
8357
  display: inline-flex;
@@ -8332,6 +8384,12 @@ button.muka-progress-tracker__tab:focus-visible {
8332
8384
  .muka-gantt__week-label {
8333
8385
  min-width: 0;
8334
8386
  }
8387
+
8388
+ /* Task names in narrow bars: the text gets the whole bar, the status icon
8389
+ goes (the bar's accessible name and the legend still carry it). */
8390
+ .muka-gantt--labels-hidden .muka-gantt__bar-icon {
8391
+ display: none;
8392
+ }
8335
8393
  }
8336
8394
 
8337
8395
 
@@ -10767,28 +10825,6 @@ li.muka-listitem {
10767
10825
  }
10768
10826
 
10769
10827
 
10770
- /* EmojiPicker */
10771
- /* EmojiPicker Component Styles */
10772
-
10773
- .muka-emoji-picker {
10774
- display: grid;
10775
- grid-template-columns: repeat(8, 1fr);
10776
- gap: var(--spacing-1);
10777
- padding: var(--spacing-2);
10778
- max-height: 12rem;
10779
- overflow-y: auto;
10780
- background: var(--color-surface-level2);
10781
- border: var(--border-width-regular, 1px) solid var(--color-border-default);
10782
- border-radius: var(--radius-lg);
10783
- box-shadow: var(--menu-content-shadow, 0 4px 12px rgba(0, 0, 0, 0.12));
10784
- }
10785
-
10786
- .muka-emoji-picker__glyph {
10787
- font-size: 1.25rem;
10788
- line-height: 1;
10789
- }
10790
-
10791
-
10792
10828
  /* EmptyState */
10793
10829
  /* EmptyState Component Styles - Using Muka Design Tokens */
10794
10830
 
@@ -10930,6 +10966,28 @@ li.muka-listitem {
10930
10966
  }
10931
10967
 
10932
10968
 
10969
+ /* EmojiPicker */
10970
+ /* EmojiPicker Component Styles */
10971
+
10972
+ .muka-emoji-picker {
10973
+ display: grid;
10974
+ grid-template-columns: repeat(8, 1fr);
10975
+ gap: var(--spacing-1);
10976
+ padding: var(--spacing-2);
10977
+ max-height: 12rem;
10978
+ overflow-y: auto;
10979
+ background: var(--color-surface-level2);
10980
+ border: var(--border-width-regular, 1px) solid var(--color-border-default);
10981
+ border-radius: var(--radius-lg);
10982
+ box-shadow: var(--menu-content-shadow, 0 4px 12px rgba(0, 0, 0, 0.12));
10983
+ }
10984
+
10985
+ .muka-emoji-picker__glyph {
10986
+ font-size: 1.25rem;
10987
+ line-height: 1;
10988
+ }
10989
+
10990
+
10933
10991
  /* DropdownSelect */
10934
10992
  /* DropdownSelect — Figma Dropdown Menu form field (Menu + chips) */
10935
10993
 
@@ -11913,82 +11971,6 @@ li.muka-listitem {
11913
11971
  }
11914
11972
 
11915
11973
 
11916
- /* DataPieChart */
11917
- /* DataPieChart Component Styles - Using Muka Design Tokens */
11918
-
11919
- .muka-data-pie-chart {
11920
- position: relative;
11921
- display: inline-flex;
11922
- align-items: center;
11923
- justify-content: center;
11924
- flex-shrink: 0;
11925
- }
11926
-
11927
- .muka-data-pie-chart__svg {
11928
- display: block;
11929
- width: 100%;
11930
- height: 100%;
11931
- /* Start the segment at 12 o'clock instead of 3 o'clock */
11932
- transform: rotate(-90deg);
11933
- }
11934
-
11935
- .muka-data-pie-chart__track {
11936
- fill: none;
11937
- }
11938
-
11939
- .muka-data-pie-chart__segment {
11940
- fill: none;
11941
- /* Subtle lift on the filled segment, matching the Figma elevation */
11942
- filter: drop-shadow(0 2px 4px var(--color-black-alpha-5, rgba(0, 0, 0, 0.05)));
11943
- /* Butt caps keep the always-rendered 0% arc invisible (round caps would draw a dot) */
11944
- stroke-linecap: butt;
11945
- /* view duration (300ms) reads at the 24px size; tokens zero it for reduced motion */
11946
- transition: stroke-dasharray var(--motion-duration-view) var(--motion-easing-default);
11947
- }
11948
-
11949
- /* ─── Indeterminate (spinner) ─────────────────────────── */
11950
- /* A masked ring filled with an angular (conic) gradient that rotates. The mask
11951
- band matches the donut geometry (r=40, strokeWidth=16 → 64%–96% of radius) so
11952
- it swaps seamlessly with the value-based progress donut. */
11953
- .muka-data-pie-chart__spinner-track,
11954
- .muka-data-pie-chart__spinner {
11955
- position: absolute;
11956
- inset: 0;
11957
- border-radius: 50%;
11958
- -webkit-mask: radial-gradient(farthest-side, transparent 63%, #000 65%, #000 95%, transparent 97%);
11959
- mask: radial-gradient(farthest-side, transparent 63%, #000 65%, #000 95%, transparent 97%);
11960
- }
11961
-
11962
- .muka-data-pie-chart__spinner {
11963
- animation: muka-data-pie-chart-spin 0.9s linear infinite;
11964
- }
11965
-
11966
- @keyframes muka-data-pie-chart-spin {
11967
- to {
11968
- transform: rotate(360deg);
11969
- }
11970
- }
11971
-
11972
- @media (prefers-reduced-motion: reduce) {
11973
- .muka-data-pie-chart__spinner {
11974
- animation-duration: 2.5s;
11975
- }
11976
- }
11977
-
11978
- .muka-data-pie-chart__value {
11979
- position: absolute;
11980
- inset: 0;
11981
- display: flex;
11982
- align-items: center;
11983
- justify-content: center;
11984
- font-family: var(--text-body-base-bold-fontFamily);
11985
- font-weight: var(--text-body-base-bold-fontWeight);
11986
- font-size: var(--text-body-base-bold-fontSize);
11987
- line-height: var(--text-body-base-bold-lineHeight);
11988
- color: var(--color-text-default-default);
11989
- }
11990
-
11991
-
11992
11974
  /* DataTable */
11993
11975
  /* DataTable Component Styles - Using Muka Design Tokens */
11994
11976
 
@@ -12482,29 +12464,105 @@ li.muka-listitem {
12482
12464
  }
12483
12465
 
12484
12466
 
12485
- /* ContextSelect */
12486
- /* ContextSelect — split label (navigate) + chevron menu button (switch)
12487
- *
12488
- * Figma (5623:8651 / 5631:9344):
12489
- * - Root: gap spacing/1 (4px) between label group and chevron
12490
- * - Label group: gap spacing/2 (8px) icon↔label, pl spacing/2 (8px)
12491
- * - Icons: 16px (icon.size.xs)
12492
- */
12467
+ /* DataPieChart */
12468
+ /* DataPieChart Component Styles - Using Muka Design Tokens */
12493
12469
 
12494
- .muka-context-select {
12495
- display: inline-flex;
12470
+ .muka-data-pie-chart {
12496
12471
  position: relative;
12497
- align-items: flex-start;
12498
- gap: var(--spacing-1, 4px);
12499
- }
12500
-
12501
- .muka-context-select__label-group {
12502
12472
  display: inline-flex;
12503
12473
  align-items: center;
12504
- gap: var(--spacing-2, 8px);
12505
- height: var(--size-2xl, 32px);
12506
- padding-left: var(--spacing-2, 8px);
12507
- padding-right: 0;
12474
+ justify-content: center;
12475
+ flex-shrink: 0;
12476
+ }
12477
+
12478
+ .muka-data-pie-chart__svg {
12479
+ display: block;
12480
+ width: 100%;
12481
+ height: 100%;
12482
+ /* Start the segment at 12 o'clock instead of 3 o'clock */
12483
+ transform: rotate(-90deg);
12484
+ }
12485
+
12486
+ .muka-data-pie-chart__track {
12487
+ fill: none;
12488
+ }
12489
+
12490
+ .muka-data-pie-chart__segment {
12491
+ fill: none;
12492
+ /* Subtle lift on the filled segment, matching the Figma elevation */
12493
+ filter: drop-shadow(0 2px 4px var(--color-black-alpha-5, rgba(0, 0, 0, 0.05)));
12494
+ /* Butt caps keep the always-rendered 0% arc invisible (round caps would draw a dot) */
12495
+ stroke-linecap: butt;
12496
+ /* view duration (300ms) reads at the 24px size; tokens zero it for reduced motion */
12497
+ transition: stroke-dasharray var(--motion-duration-view) var(--motion-easing-default);
12498
+ }
12499
+
12500
+ /* ─── Indeterminate (spinner) ─────────────────────────── */
12501
+ /* A masked ring filled with an angular (conic) gradient that rotates. The mask
12502
+ band matches the donut geometry (r=40, strokeWidth=16 → 64%–96% of radius) so
12503
+ it swaps seamlessly with the value-based progress donut. */
12504
+ .muka-data-pie-chart__spinner-track,
12505
+ .muka-data-pie-chart__spinner {
12506
+ position: absolute;
12507
+ inset: 0;
12508
+ border-radius: 50%;
12509
+ -webkit-mask: radial-gradient(farthest-side, transparent 63%, #000 65%, #000 95%, transparent 97%);
12510
+ mask: radial-gradient(farthest-side, transparent 63%, #000 65%, #000 95%, transparent 97%);
12511
+ }
12512
+
12513
+ .muka-data-pie-chart__spinner {
12514
+ animation: muka-data-pie-chart-spin 0.9s linear infinite;
12515
+ }
12516
+
12517
+ @keyframes muka-data-pie-chart-spin {
12518
+ to {
12519
+ transform: rotate(360deg);
12520
+ }
12521
+ }
12522
+
12523
+ @media (prefers-reduced-motion: reduce) {
12524
+ .muka-data-pie-chart__spinner {
12525
+ animation-duration: 2.5s;
12526
+ }
12527
+ }
12528
+
12529
+ .muka-data-pie-chart__value {
12530
+ position: absolute;
12531
+ inset: 0;
12532
+ display: flex;
12533
+ align-items: center;
12534
+ justify-content: center;
12535
+ font-family: var(--text-body-base-bold-fontFamily);
12536
+ font-weight: var(--text-body-base-bold-fontWeight);
12537
+ font-size: var(--text-body-base-bold-fontSize);
12538
+ line-height: var(--text-body-base-bold-lineHeight);
12539
+ color: var(--color-text-default-default);
12540
+ }
12541
+
12542
+
12543
+ /* ContextSelect */
12544
+ /* ContextSelect — split label (navigate) + chevron menu button (switch)
12545
+ *
12546
+ * Figma (5623:8651 / 5631:9344):
12547
+ * - Root: gap spacing/1 (4px) between label group and chevron
12548
+ * - Label group: gap spacing/2 (8px) icon↔label, pl spacing/2 (8px)
12549
+ * - Icons: 16px (icon.size.xs)
12550
+ */
12551
+
12552
+ .muka-context-select {
12553
+ display: inline-flex;
12554
+ position: relative;
12555
+ align-items: flex-start;
12556
+ gap: var(--spacing-1, 4px);
12557
+ }
12558
+
12559
+ .muka-context-select__label-group {
12560
+ display: inline-flex;
12561
+ align-items: center;
12562
+ gap: var(--spacing-2, 8px);
12563
+ height: var(--size-2xl, 32px);
12564
+ padding-left: var(--spacing-2, 8px);
12565
+ padding-right: 0;
12508
12566
  border-radius: var(--border-radius-lg);
12509
12567
  color: var(--color-text-default-default);
12510
12568
  text-decoration: none;
@@ -12602,808 +12660,686 @@ li.muka-listitem {
12602
12660
  }
12603
12661
 
12604
12662
 
12605
- /* Chip */
12606
- /* Chip Component Styles - Using Muka Design Tokens (Figma: Chip) */
12663
+ /* Container */
12664
+ /* Container Component - Layout tokens (container.max-width, container.gap) */
12607
12665
 
12608
- .muka-chip {
12609
- display: inline-flex;
12610
- align-items: center;
12611
- border-radius: var(--border-radius-full);
12612
- white-space: nowrap;
12613
- user-select: none;
12614
- border: var(--border-width-regular) solid transparent;
12666
+ .muka-container {
12615
12667
  box-sizing: border-box;
12668
+ width: 100%;
12669
+ margin-inline: auto;
12616
12670
  }
12617
12671
 
12618
- /*
12619
- * Sizes — height, gap, type, and default (label-edge) horizontal padding.
12620
- * Vertical centering is handled by the fixed height + align-items: center.
12621
- * The side that carries an adornment (leading icon / dismiss button) gets a
12622
- * tighter padding, applied via the --has-icon / --dismissible modifiers below.
12623
- */
12624
- .muka-chip--sm {
12625
- height: var(--chip-size-height-sm);
12626
- gap: var(--chip-gap-sm);
12627
- padding: 0 var(--chip-padding-label-sm);
12628
- font-family: var(--text-label-sm-regular-fontFamily);
12629
- font-weight: var(--text-label-sm-regular-fontWeight);
12630
- font-size: var(--text-label-sm-regular-fontSize);
12631
- line-height: var(--text-label-sm-regular-lineHeight);
12672
+ /* Max-width variants */
12673
+ .muka-container--max-width-small {
12674
+ max-width: var(--container-max-width-small);
12632
12675
  }
12633
12676
 
12634
- .muka-chip--md {
12635
- height: var(--chip-size-height-md);
12636
- gap: var(--chip-gap-md);
12637
- padding: 0 var(--chip-padding-label-md);
12638
- font-family: var(--text-label-md-regular-fontFamily);
12639
- font-weight: var(--text-label-md-regular-fontWeight);
12640
- font-size: var(--text-label-md-regular-fontSize);
12641
- line-height: var(--text-label-md-regular-lineHeight);
12677
+ .muka-container--max-width-medium {
12678
+ max-width: var(--container-max-width-medium);
12642
12679
  }
12643
12680
 
12644
- .muka-chip--lg {
12645
- height: var(--chip-size-height-lg);
12646
- gap: var(--chip-gap-lg);
12647
- padding: 0 var(--chip-padding-label-lg);
12648
- font-family: var(--text-label-lg-regular-fontFamily);
12649
- font-weight: var(--text-label-lg-regular-fontWeight);
12650
- font-size: var(--text-label-lg-regular-fontSize);
12651
- line-height: var(--text-label-lg-regular-lineHeight);
12681
+ .muka-container--max-width-large {
12682
+ max-width: var(--container-max-width-large);
12652
12683
  }
12653
12684
 
12654
- /* Tighter leading padding when a leading icon is present */
12655
- .muka-chip--sm.muka-chip--has-icon {
12656
- padding-left: var(--chip-padding-leading-sm);
12657
- }
12658
- .muka-chip--md.muka-chip--has-icon {
12659
- padding-left: var(--chip-padding-leading-md);
12685
+ .muka-container--max-width-xlarge {
12686
+ max-width: var(--container-max-width-xlarge);
12660
12687
  }
12661
- .muka-chip--lg.muka-chip--has-icon {
12662
- padding-left: var(--chip-padding-leading-lg);
12688
+
12689
+ /* No gap — max-width only, no flex */
12690
+ .muka-container--gap-none {
12691
+ /* block layout by default */
12663
12692
  }
12664
12693
 
12665
- /* Tighter trailing padding when the dismiss button is present */
12666
- .muka-chip--sm.muka-chip--dismissible,
12667
- .muka-chip--sm.muka-chip--expandable {
12668
- padding-right: var(--chip-padding-trailing-sm);
12694
+ /* Gap variants — flex column with token gap */
12695
+ .muka-container--gap-compact {
12696
+ display: flex;
12697
+ flex-direction: column;
12698
+ gap: var(--container-gap-compact);
12669
12699
  }
12670
- .muka-chip--md.muka-chip--dismissible,
12671
- .muka-chip--md.muka-chip--expandable {
12672
- padding-right: var(--chip-padding-trailing-md);
12700
+
12701
+ .muka-container--gap-default {
12702
+ display: flex;
12703
+ flex-direction: column;
12704
+ gap: var(--container-gap-default);
12673
12705
  }
12674
- .muka-chip--lg.muka-chip--dismissible,
12675
- .muka-chip--lg.muka-chip--expandable {
12676
- padding-right: var(--chip-padding-trailing-lg);
12706
+
12707
+ .muka-container--gap-spacious {
12708
+ display: flex;
12709
+ flex-direction: column;
12710
+ gap: var(--container-gap-spacious);
12677
12711
  }
12678
12712
 
12679
- /* Leading icon slot — Figma icon sizes: sm 16, md 20, lg 24 */
12680
- .muka-chip__icon {
12713
+
12714
+ /* Combobox */
12715
+ /* Combobox — Figma Input Combobox (free-input chips + suggestion Menu) */
12716
+
12717
+ .muka-combobox {
12681
12718
  display: inline-flex;
12682
- align-items: center;
12683
- justify-content: center;
12684
- flex-shrink: 0;
12719
+ flex-direction: column;
12720
+ gap: var(--spacing-2);
12721
+ min-width: 200px;
12685
12722
  }
12686
12723
 
12687
- .muka-chip--sm .muka-chip__icon {
12688
- width: var(--icon-size-xs);
12689
- height: var(--icon-size-xs);
12724
+ .muka-combobox--full-width {
12725
+ width: 100%;
12690
12726
  }
12691
- .muka-chip--md .muka-chip__icon {
12692
- width: var(--icon-size-sm);
12693
- height: var(--icon-size-sm);
12727
+
12728
+ .muka-combobox__label {
12729
+ color: var(--color-text-default-default);
12730
+ cursor: pointer;
12694
12731
  }
12695
- .muka-chip--lg .muka-chip__icon {
12696
- width: var(--icon-size-default);
12697
- height: var(--icon-size-default);
12732
+
12733
+ .muka-combobox__label--sm {
12734
+ font-family: var(--text-label-sm-semibold-fontFamily);
12735
+ font-weight: var(--text-label-sm-semibold-fontWeight);
12736
+ font-size: var(--text-label-sm-semibold-fontSize);
12737
+ line-height: var(--text-label-sm-semibold-lineHeight);
12698
12738
  }
12699
12739
 
12700
- /* Force the passed content (raw <svg> or an <Icon> wrapper) to the slot size,
12701
- so callers don't have to size the icon to match each chip size. The
12702
- .muka-icon selector is intentionally 2 classes deep to override .muka-icon--md. */
12703
- .muka-chip__icon .muka-icon,
12704
- .muka-chip__icon svg {
12705
- width: 100%;
12706
- height: 100%;
12740
+ .muka-combobox__label--md {
12741
+ font-family: var(--text-label-md-semibold-fontFamily);
12742
+ font-weight: var(--text-label-md-semibold-fontWeight);
12743
+ font-size: var(--text-label-md-semibold-fontSize);
12744
+ line-height: var(--text-label-md-semibold-lineHeight);
12707
12745
  }
12708
12746
 
12709
- .muka-chip__label {
12710
- flex: 0 1 auto;
12711
- min-width: 0;
12712
- overflow: hidden;
12713
- text-overflow: ellipsis;
12714
- /*
12715
- * The chip sets a tight line-height (= font size) for compact sizing, but the label's
12716
- * `overflow: hidden` (needed for ellipsis) then clips glyph descenders (g, y, p). Give the
12717
- * label its own roomier line-height so descenders render; vertical centering is unaffected
12718
- * because the chip height is fixed and content is centered via align-items: center.
12719
- */
12720
- line-height: normal;
12747
+ .muka-combobox__label--lg {
12748
+ font-family: var(--text-label-lg-semibold-fontFamily);
12749
+ font-weight: var(--text-label-lg-semibold-fontWeight);
12750
+ font-size: var(--text-label-lg-semibold-fontSize);
12751
+ line-height: var(--text-label-lg-semibold-lineHeight);
12721
12752
  }
12722
12753
 
12723
- /* Trailing button (dismiss or expand) — circular. Figma circle sizes: sm 20, md 24, lg 32 */
12724
- .muka-chip__remove,
12725
- .muka-chip__expand {
12726
- display: inline-flex;
12754
+ .muka-combobox__field {
12755
+ display: flex;
12727
12756
  align-items: center;
12728
- justify-content: center;
12729
- flex-shrink: 0;
12730
- padding: 0;
12731
- margin: 0;
12732
- border: none;
12733
- border-radius: var(--border-radius-full);
12734
- cursor: pointer;
12735
- transition: background-color 0.15s ease, color 0.15s ease;
12736
- }
12737
-
12738
- .muka-chip--sm .muka-chip__remove,
12739
- .muka-chip--sm .muka-chip__expand {
12740
- width: var(--icon-size-sm);
12741
- height: var(--icon-size-sm);
12742
- }
12743
- .muka-chip--md .muka-chip__remove,
12744
- .muka-chip--md .muka-chip__expand {
12745
- width: var(--icon-size-default);
12746
- height: var(--icon-size-default);
12747
- }
12748
- .muka-chip--lg .muka-chip__remove,
12749
- .muka-chip--lg .muka-chip__expand {
12750
- width: var(--icon-size-lg);
12751
- height: var(--icon-size-lg);
12752
- }
12753
-
12754
- .muka-chip__remove:focus-visible {
12755
- outline: 2px solid currentColor;
12756
- outline-offset: 2px;
12757
- }
12758
-
12759
- /*
12760
- * Expandable chip (Figma "Chip/Trailing Expand"): the whole chip is one button,
12761
- * typically a menu trigger. Hovering or pressing anywhere on it drives the
12762
- * chevron's hover / pressed steps; an open menu (aria-expanded) shows pressed,
12763
- * like Button's open state.
12764
- */
12765
- .muka-chip--expandable {
12766
- margin: 0;
12767
- text-align: inherit;
12768
- cursor: pointer;
12769
- }
12770
-
12771
- .muka-chip--expandable:focus-visible {
12772
- outline: 2px solid var(--color-border-focus);
12773
- outline-offset: 2px;
12774
- }
12775
-
12776
- .muka-chip--expandable:disabled {
12777
- cursor: not-allowed;
12757
+ width: 100%;
12758
+ position: relative;
12759
+ isolation: isolate;
12760
+ box-sizing: border-box;
12761
+ background-color: var(--input-field-color-default-background);
12762
+ border: var(--border-width-regular) solid var(--input-field-color-default-border);
12763
+ border-radius: var(--input-field-radius-lg);
12764
+ padding: var(--spacing-2);
12765
+ cursor: text;
12766
+ transition: border-color 0.12s ease, background-color 0.12s ease;
12778
12767
  }
12779
12768
 
12780
- .muka-chip__expand {
12769
+ .muka-combobox__field::after {
12770
+ content: '';
12771
+ position: absolute;
12772
+ inset: 0;
12773
+ border-radius: inherit;
12774
+ box-shadow: inset 0 1px 2px 0 rgba(26, 26, 26, 0.08);
12781
12775
  pointer-events: none;
12782
12776
  }
12783
12777
 
12784
- /*
12785
- * Dismiss button colors — state-tinted per chip variant, with default / hover /
12786
- * pressed steps. Values come from T4 chip.dismiss.* tokens, which reference the
12787
- * brand-specific alias state-surface ramp. The ✕ (.muka-icon) inherits `color`.
12788
- */
12789
- .muka-chip--default .muka-chip__remove,
12790
- .muka-chip--default .muka-chip__expand {
12791
- background-color: var(--chip-dismiss-default-background-default);
12792
- color: var(--chip-dismiss-default-foreground-default);
12793
- }
12794
- .muka-chip--default .muka-chip__remove:hover,
12795
- .muka-chip--default.muka-chip--expandable:hover:not(:disabled) .muka-chip__expand {
12796
- background-color: var(--chip-dismiss-default-background-hover);
12797
- color: var(--chip-dismiss-default-foreground-hover);
12798
- }
12799
- .muka-chip--default .muka-chip__remove:active,
12800
- .muka-chip--default.muka-chip--expandable:active:not(:disabled) .muka-chip__expand,
12801
- .muka-chip--default.muka-chip--expandable[aria-expanded='true'] .muka-chip__expand {
12802
- background-color: var(--chip-dismiss-default-background-pressed);
12803
- color: var(--chip-dismiss-default-foreground-pressed);
12804
- }
12805
-
12806
- .muka-chip--success .muka-chip__remove,
12807
- .muka-chip--success .muka-chip__expand {
12808
- background-color: var(--chip-dismiss-success-background-default);
12809
- color: var(--chip-dismiss-success-foreground-default);
12810
- }
12811
- .muka-chip--success .muka-chip__remove:hover,
12812
- .muka-chip--success.muka-chip--expandable:hover:not(:disabled) .muka-chip__expand {
12813
- background-color: var(--chip-dismiss-success-background-hover);
12814
- color: var(--chip-dismiss-success-foreground-hover);
12815
- }
12816
- .muka-chip--success .muka-chip__remove:active,
12817
- .muka-chip--success.muka-chip--expandable:active:not(:disabled) .muka-chip__expand,
12818
- .muka-chip--success.muka-chip--expandable[aria-expanded='true'] .muka-chip__expand {
12819
- background-color: var(--chip-dismiss-success-background-pressed);
12820
- color: var(--chip-dismiss-success-foreground-pressed);
12821
- }
12822
-
12823
- .muka-chip--warning .muka-chip__remove,
12824
- .muka-chip--warning .muka-chip__expand {
12825
- background-color: var(--chip-dismiss-warning-background-default);
12826
- color: var(--chip-dismiss-warning-foreground-default);
12827
- }
12828
- .muka-chip--warning .muka-chip__remove:hover,
12829
- .muka-chip--warning.muka-chip--expandable:hover:not(:disabled) .muka-chip__expand {
12830
- background-color: var(--chip-dismiss-warning-background-hover);
12831
- color: var(--chip-dismiss-warning-foreground-hover);
12832
- }
12833
- .muka-chip--warning .muka-chip__remove:active,
12834
- .muka-chip--warning.muka-chip--expandable:active:not(:disabled) .muka-chip__expand,
12835
- .muka-chip--warning.muka-chip--expandable[aria-expanded='true'] .muka-chip__expand {
12836
- background-color: var(--chip-dismiss-warning-background-pressed);
12837
- color: var(--chip-dismiss-warning-foreground-pressed);
12838
- }
12839
-
12840
- .muka-chip--error .muka-chip__remove,
12841
- .muka-chip--error .muka-chip__expand {
12842
- background-color: var(--chip-dismiss-error-background-default);
12843
- color: var(--chip-dismiss-error-foreground-default);
12844
- }
12845
- .muka-chip--error .muka-chip__remove:hover,
12846
- .muka-chip--error.muka-chip--expandable:hover:not(:disabled) .muka-chip__expand {
12847
- background-color: var(--chip-dismiss-error-background-hover);
12848
- color: var(--chip-dismiss-error-foreground-hover);
12849
- }
12850
- .muka-chip--error .muka-chip__remove:active,
12851
- .muka-chip--error.muka-chip--expandable:active:not(:disabled) .muka-chip__expand,
12852
- .muka-chip--error.muka-chip--expandable[aria-expanded='true'] .muka-chip__expand {
12853
- background-color: var(--chip-dismiss-error-background-pressed);
12854
- color: var(--chip-dismiss-error-foreground-pressed);
12855
- }
12856
-
12857
- .muka-chip--info .muka-chip__remove,
12858
- .muka-chip--info .muka-chip__expand {
12859
- background-color: var(--chip-dismiss-info-background-default);
12860
- color: var(--chip-dismiss-info-foreground-default);
12861
- }
12862
- .muka-chip--info .muka-chip__remove:hover,
12863
- .muka-chip--info.muka-chip--expandable:hover:not(:disabled) .muka-chip__expand {
12864
- background-color: var(--chip-dismiss-info-background-hover);
12865
- color: var(--chip-dismiss-info-foreground-hover);
12866
- }
12867
- .muka-chip--info .muka-chip__remove:active,
12868
- .muka-chip--info.muka-chip--expandable:active:not(:disabled) .muka-chip__expand,
12869
- .muka-chip--info.muka-chip--expandable[aria-expanded='true'] .muka-chip__expand {
12870
- background-color: var(--chip-dismiss-info-background-pressed);
12871
- color: var(--chip-dismiss-info-foreground-pressed);
12872
- }
12873
-
12874
- /* Variants (solid fill) — icons inherit these foreground colors (see below) */
12875
- .muka-chip--default {
12876
- background-color: var(--color-surface-level1);
12877
- color: var(--color-text-default-default);
12878
- }
12879
-
12880
- .muka-chip--success {
12881
- background-color: var(--color-state-success-background);
12882
- color: var(--color-state-success-contrast);
12883
- }
12884
-
12885
- .muka-chip--warning {
12886
- background-color: var(--color-state-warning-background);
12887
- color: var(--color-state-warning-contrast);
12888
- }
12889
-
12890
- .muka-chip--error {
12891
- background-color: var(--color-state-error-background);
12892
- color: var(--color-state-error-contrast);
12893
- }
12894
-
12895
- .muka-chip--info {
12896
- background-color: var(--color-state-info-background);
12897
- color: var(--color-state-info-contrast);
12778
+ .muka-combobox__field--sm {
12779
+ min-height: var(--input-field-height-sm);
12780
+ border-radius: var(--input-field-radius-sm);
12898
12781
  }
12899
12782
 
12900
- /* Icons (leading + dismiss) inherit the chip's per-variant foreground color */
12901
- .muka-chip .muka-icon {
12902
- color: inherit;
12783
+ .muka-combobox__field--md {
12784
+ min-height: var(--input-field-height-default);
12785
+ border-radius: var(--input-field-radius-md);
12903
12786
  }
12904
12787
 
12905
-
12906
- /* CheckboxTile */
12907
- /* CheckboxTile Component Styles - Using Muka Design Tokens */
12908
-
12909
- /* Base tile styles - horizontal */
12910
- .muka-checkbox-tile {
12911
- display: flex;
12912
- align-items: center;
12913
- gap: var(--spacing-4);
12914
- padding: var(--spacing-4);
12915
- border: var(--border-width-regular) solid var(--input-field-color-default-border);
12788
+ .muka-combobox__field--lg {
12789
+ min-height: var(--input-field-height-lg);
12916
12790
  border-radius: var(--input-field-radius-lg);
12917
- background-color: var(--color-surface-level3);
12918
- cursor: pointer;
12919
- transition: border-color 0.15s ease, border-width 0.15s ease;
12920
- overflow: hidden;
12921
- box-sizing: border-box;
12922
- }
12923
-
12924
- .muka-checkbox-tile--disabled {
12925
- cursor: not-allowed;
12926
- opacity: 0.6;
12927
12791
  }
12928
12792
 
12929
- /* Selected state */
12930
- .muka-checkbox-tile[data-checked] {
12793
+ .muka-combobox__field--focused:not(.muka-combobox__field--disabled) {
12931
12794
  border-width: var(--border-width-bold);
12932
- border-color: var(--color-action-default);
12933
- }
12934
-
12935
- /* Vertical layout */
12936
- .muka-checkbox-tile--vertical {
12937
- flex-direction: column;
12938
- align-items: center;
12939
- gap: var(--spacing-2);
12940
- position: relative;
12941
- width: 160px;
12795
+ border-color: var(--input-field-color-focus-border);
12796
+ background-color: var(--input-field-color-focus-background);
12797
+ padding: calc(var(--spacing-2) - 1px);
12942
12798
  }
12943
12799
 
12944
- /* Checkbox container */
12945
- .muka-checkbox-tile__checkbox {
12946
- flex-shrink: 0;
12800
+ .muka-combobox__field--error:not(.muka-combobox__field--disabled) {
12801
+ border-color: var(--color-state-error-contrast);
12947
12802
  }
12948
12803
 
12949
- /* Corner-positioned checkbox for vertical */
12950
- .muka-checkbox-tile__checkbox--corner {
12951
- position: absolute;
12952
- top: var(--spacing-4);
12953
- left: var(--spacing-4);
12804
+ .muka-combobox__field--disabled {
12805
+ opacity: 0.5;
12806
+ cursor: not-allowed;
12954
12807
  }
12955
12808
 
12956
- /* Adjust corner position when selected (border is thicker) */
12957
- .muka-checkbox-tile[data-checked] .muka-checkbox-tile__checkbox--corner {
12958
- top: calc(var(--spacing-4) - 1px);
12959
- left: calc(var(--spacing-4) - 1px);
12809
+ .muka-combobox__field--multiline {
12810
+ align-items: flex-start;
12811
+ min-height: 7rem;
12960
12812
  }
12961
12813
 
12962
- /* Icon */
12963
- .muka-checkbox-tile__icon {
12814
+ .muka-combobox__chips {
12964
12815
  display: flex;
12816
+ flex: 1 1 auto;
12817
+ flex-wrap: wrap;
12818
+ gap: var(--spacing-2);
12965
12819
  align-items: center;
12966
- justify-content: center;
12967
- flex-shrink: 0;
12968
- width: var(--icon-size-default);
12969
- height: var(--icon-size-default);
12970
- color: var(--color-text-default-default);
12971
- }
12972
-
12973
- .muka-checkbox-tile__icon svg {
12974
- width: 100%;
12975
- height: 100%;
12976
- }
12977
-
12978
- /* Image */
12979
- .muka-checkbox-tile__image {
12980
- flex-shrink: 0;
12981
- overflow: hidden;
12982
- border-radius: var(--border-radius-sm);
12983
- }
12984
-
12985
- .muka-checkbox-tile__image img {
12986
- display: block;
12987
- width: 100%;
12988
- height: 100%;
12989
- object-fit: cover;
12990
- }
12991
-
12992
- /* Horizontal image sizing */
12993
- .muka-checkbox-tile__image--horizontal {
12994
- width: 40px;
12995
- height: 40px;
12996
- }
12997
-
12998
- /* Vertical image sizing */
12999
- .muka-checkbox-tile--vertical .muka-checkbox-tile__image {
13000
- width: 100%;
13001
- aspect-ratio: 4/3;
13002
- }
13003
-
13004
- /* Content container */
13005
- .muka-checkbox-tile__content {
13006
- display: flex;
13007
- flex-direction: column;
13008
- flex: 1;
13009
12820
  min-width: 0;
13010
- gap: var(--spacing-2);
13011
- }
13012
-
13013
- .muka-checkbox-tile__content-inner {
13014
- display: flex;
13015
- flex-direction: column;
13016
- gap: var(--spacing-1);
13017
- }
13018
-
13019
- /* Chip slot (replaces badge; use Chip component) */
13020
- .muka-checkbox-tile__chip {
13021
- flex-shrink: 0;
12821
+ width: 100%;
12822
+ position: relative;
12823
+ z-index: 1;
13022
12824
  }
13023
12825
 
13024
- .muka-checkbox-tile__chip--vertical {
13025
- margin-top: var(--spacing-1);
12826
+ .muka-combobox__input {
12827
+ flex: 1 1 5rem;
12828
+ min-width: 5rem;
12829
+ min-height: 2rem;
12830
+ margin: 0;
12831
+ padding: 0 var(--spacing-1);
12832
+ border: none;
12833
+ outline: none;
12834
+ background: transparent;
12835
+ color: var(--input-field-color-default-foreground);
12836
+ caret-color: var(--input-field-color-default-foreground);
12837
+ font-family: var(--text-label-md-regular-fontFamily);
12838
+ font-size: var(--text-label-md-regular-fontSize);
12839
+ font-weight: var(--text-label-md-regular-fontWeight);
12840
+ line-height: var(--text-label-md-regular-lineHeight);
13026
12841
  }
13027
12842
 
13028
- /* Label */
13029
- .muka-checkbox-tile__label {
13030
- font-family: var(--text-body-lg-regular-fontFamily);
13031
- font-weight: var(--text-body-lg-regular-fontWeight);
13032
- font-size: var(--text-body-lg-regular-fontSize);
13033
- line-height: var(--text-body-lg-regular-lineHeight);
13034
- color: var(--color-text-default-default);
12843
+ .muka-combobox__input::placeholder {
12844
+ color: var(--color-text-subtle-default);
13035
12845
  }
13036
12846
 
13037
- .muka-checkbox-tile__label--bold {
13038
- font-family: var(--text-label-lg-semibold-fontFamily);
13039
- font-weight: var(--text-label-lg-semibold-fontWeight);
13040
- font-size: var(--text-label-lg-semibold-fontSize);
13041
- line-height: var(--text-label-lg-semibold-lineHeight);
12847
+ .muka-combobox__helper {
12848
+ margin: 0;
12849
+ color: var(--color-text-subtle-default);
12850
+ font-family: var(--text-label-sm-regular-fontFamily);
12851
+ font-size: var(--text-label-sm-regular-fontSize);
12852
+ font-weight: var(--text-label-sm-regular-fontWeight);
12853
+ line-height: var(--text-label-sm-regular-lineHeight);
13042
12854
  }
13043
12855
 
13044
- .muka-checkbox-tile__label--center {
13045
- text-align: center;
12856
+ .muka-combobox__error {
12857
+ margin: 0;
12858
+ color: var(--color-state-error-default);
12859
+ font-family: var(--text-label-sm-regular-fontFamily);
12860
+ font-size: var(--text-label-sm-regular-fontSize);
12861
+ font-weight: var(--text-label-sm-regular-fontWeight);
12862
+ line-height: var(--text-label-sm-regular-lineHeight);
13046
12863
  }
13047
12864
 
13048
- /* Caption */
13049
- .muka-checkbox-tile__caption {
13050
- font-family: var(--text-body-base-regular-fontFamily);
13051
- font-weight: var(--text-body-base-regular-fontWeight);
13052
- font-size: var(--text-body-base-regular-fontSize);
13053
- line-height: var(--text-body-base-regular-lineHeight);
13054
- color: var(--color-text-subtle-default);
12865
+ .muka-combobox__menu-anchor {
12866
+ position: absolute;
12867
+ inset: 0;
12868
+ z-index: 0;
12869
+ width: 100%;
12870
+ height: 100%;
12871
+ margin: 0;
12872
+ padding: 0;
12873
+ border: none;
12874
+ background: transparent;
12875
+ pointer-events: none;
12876
+ opacity: 0;
13055
12877
  }
13056
12878
 
13057
- /* Disabled states */
13058
- .muka-checkbox-tile--disabled .muka-checkbox-tile__label,
13059
- .muka-checkbox-tile--disabled .muka-checkbox-tile__icon {
13060
- color: var(--color-text-subtle-default);
12879
+ .muka-combobox__menu {
12880
+ /* Prefer Menu token min-width (280px); may exceed the field when left-aligned. */
12881
+ min-width: var(--menu-content-min-width);
12882
+ width: max-content;
12883
+ max-width: min(100vw - 2rem, 24rem);
13061
12884
  }
13062
12885
 
13063
12886
 
13064
- /* Container */
13065
- /* Container Component - Layout tokens (container.max-width, container.gap) */
12887
+ /* Chip */
12888
+ /* Chip Component Styles - Using Muka Design Tokens (Figma: Chip) */
13066
12889
 
13067
- .muka-container {
12890
+ .muka-chip {
12891
+ display: inline-flex;
12892
+ align-items: center;
12893
+ border-radius: var(--border-radius-full);
12894
+ white-space: nowrap;
12895
+ user-select: none;
12896
+ border: var(--border-width-regular) solid transparent;
13068
12897
  box-sizing: border-box;
13069
- width: 100%;
13070
- margin-inline: auto;
13071
12898
  }
13072
12899
 
13073
- /* Max-width variants */
13074
- .muka-container--max-width-small {
13075
- max-width: var(--container-max-width-small);
12900
+ /*
12901
+ * Sizes — height, gap, type, and default (label-edge) horizontal padding.
12902
+ * Vertical centering is handled by the fixed height + align-items: center.
12903
+ * The side that carries an adornment (leading icon / dismiss button) gets a
12904
+ * tighter padding, applied via the --has-icon / --dismissible modifiers below.
12905
+ */
12906
+ .muka-chip--sm {
12907
+ height: var(--chip-size-height-sm);
12908
+ gap: var(--chip-gap-sm);
12909
+ padding: 0 var(--chip-padding-label-sm);
12910
+ font-family: var(--text-label-sm-regular-fontFamily);
12911
+ font-weight: var(--text-label-sm-regular-fontWeight);
12912
+ font-size: var(--text-label-sm-regular-fontSize);
12913
+ line-height: var(--text-label-sm-regular-lineHeight);
13076
12914
  }
13077
12915
 
13078
- .muka-container--max-width-medium {
13079
- max-width: var(--container-max-width-medium);
12916
+ .muka-chip--md {
12917
+ height: var(--chip-size-height-md);
12918
+ gap: var(--chip-gap-md);
12919
+ padding: 0 var(--chip-padding-label-md);
12920
+ font-family: var(--text-label-md-regular-fontFamily);
12921
+ font-weight: var(--text-label-md-regular-fontWeight);
12922
+ font-size: var(--text-label-md-regular-fontSize);
12923
+ line-height: var(--text-label-md-regular-lineHeight);
13080
12924
  }
13081
12925
 
13082
- .muka-container--max-width-large {
13083
- max-width: var(--container-max-width-large);
12926
+ .muka-chip--lg {
12927
+ height: var(--chip-size-height-lg);
12928
+ gap: var(--chip-gap-lg);
12929
+ padding: 0 var(--chip-padding-label-lg);
12930
+ font-family: var(--text-label-lg-regular-fontFamily);
12931
+ font-weight: var(--text-label-lg-regular-fontWeight);
12932
+ font-size: var(--text-label-lg-regular-fontSize);
12933
+ line-height: var(--text-label-lg-regular-lineHeight);
13084
12934
  }
13085
12935
 
13086
- .muka-container--max-width-xlarge {
13087
- max-width: var(--container-max-width-xlarge);
12936
+ /* Tighter leading padding when a leading icon is present */
12937
+ .muka-chip--sm.muka-chip--has-icon {
12938
+ padding-left: var(--chip-padding-leading-sm);
13088
12939
  }
13089
-
13090
- /* No gap — max-width only, no flex */
13091
- .muka-container--gap-none {
13092
- /* block layout by default */
12940
+ .muka-chip--md.muka-chip--has-icon {
12941
+ padding-left: var(--chip-padding-leading-md);
13093
12942
  }
13094
-
13095
- /* Gap variants — flex column with token gap */
13096
- .muka-container--gap-compact {
13097
- display: flex;
13098
- flex-direction: column;
13099
- gap: var(--container-gap-compact);
12943
+ .muka-chip--lg.muka-chip--has-icon {
12944
+ padding-left: var(--chip-padding-leading-lg);
13100
12945
  }
13101
12946
 
13102
- .muka-container--gap-default {
13103
- display: flex;
13104
- flex-direction: column;
13105
- gap: var(--container-gap-default);
12947
+ /* Tighter trailing padding when the dismiss button is present */
12948
+ .muka-chip--sm.muka-chip--dismissible,
12949
+ .muka-chip--sm.muka-chip--expandable {
12950
+ padding-right: var(--chip-padding-trailing-sm);
13106
12951
  }
13107
-
13108
- .muka-container--gap-spacious {
13109
- display: flex;
13110
- flex-direction: column;
13111
- gap: var(--container-gap-spacious);
12952
+ .muka-chip--md.muka-chip--dismissible,
12953
+ .muka-chip--md.muka-chip--expandable {
12954
+ padding-right: var(--chip-padding-trailing-md);
12955
+ }
12956
+ .muka-chip--lg.muka-chip--dismissible,
12957
+ .muka-chip--lg.muka-chip--expandable {
12958
+ padding-right: var(--chip-padding-trailing-lg);
13112
12959
  }
13113
12960
 
13114
-
13115
- /* Combobox */
13116
- /* Combobox — Figma Input Combobox (free-input chips + suggestion Menu) */
13117
-
13118
- .muka-combobox {
12961
+ /* Leading icon slot — Figma icon sizes: sm 16, md 20, lg 24 */
12962
+ .muka-chip__icon {
13119
12963
  display: inline-flex;
13120
- flex-direction: column;
13121
- gap: var(--spacing-2);
13122
- min-width: 200px;
12964
+ align-items: center;
12965
+ justify-content: center;
12966
+ flex-shrink: 0;
13123
12967
  }
13124
12968
 
13125
- .muka-combobox--full-width {
13126
- width: 100%;
12969
+ .muka-chip--sm .muka-chip__icon {
12970
+ width: var(--icon-size-xs);
12971
+ height: var(--icon-size-xs);
12972
+ }
12973
+ .muka-chip--md .muka-chip__icon {
12974
+ width: var(--icon-size-sm);
12975
+ height: var(--icon-size-sm);
12976
+ }
12977
+ .muka-chip--lg .muka-chip__icon {
12978
+ width: var(--icon-size-default);
12979
+ height: var(--icon-size-default);
13127
12980
  }
13128
12981
 
13129
- .muka-combobox__label {
13130
- color: var(--color-text-default-default);
13131
- cursor: pointer;
12982
+ /* Force the passed content (raw <svg> or an <Icon> wrapper) to the slot size,
12983
+ so callers don't have to size the icon to match each chip size. The
12984
+ .muka-icon selector is intentionally 2 classes deep to override .muka-icon--md. */
12985
+ .muka-chip__icon .muka-icon,
12986
+ .muka-chip__icon svg {
12987
+ width: 100%;
12988
+ height: 100%;
13132
12989
  }
13133
12990
 
13134
- .muka-combobox__label--sm {
13135
- font-family: var(--text-label-sm-semibold-fontFamily);
13136
- font-weight: var(--text-label-sm-semibold-fontWeight);
13137
- font-size: var(--text-label-sm-semibold-fontSize);
13138
- line-height: var(--text-label-sm-semibold-lineHeight);
12991
+ .muka-chip__label {
12992
+ flex: 0 1 auto;
12993
+ min-width: 0;
12994
+ overflow: hidden;
12995
+ text-overflow: ellipsis;
12996
+ /*
12997
+ * The chip sets a tight line-height (= font size) for compact sizing, but the label's
12998
+ * `overflow: hidden` (needed for ellipsis) then clips glyph descenders (g, y, p). Give the
12999
+ * label its own roomier line-height so descenders render; vertical centering is unaffected
13000
+ * because the chip height is fixed and content is centered via align-items: center.
13001
+ */
13002
+ line-height: normal;
13139
13003
  }
13140
13004
 
13141
- .muka-combobox__label--md {
13142
- font-family: var(--text-label-md-semibold-fontFamily);
13143
- font-weight: var(--text-label-md-semibold-fontWeight);
13144
- font-size: var(--text-label-md-semibold-fontSize);
13145
- line-height: var(--text-label-md-semibold-lineHeight);
13005
+ /* Trailing button (dismiss or expand) — circular. Figma circle sizes: sm 20, md 24, lg 32 */
13006
+ .muka-chip__remove,
13007
+ .muka-chip__expand {
13008
+ display: inline-flex;
13009
+ align-items: center;
13010
+ justify-content: center;
13011
+ flex-shrink: 0;
13012
+ padding: 0;
13013
+ margin: 0;
13014
+ border: none;
13015
+ border-radius: var(--border-radius-full);
13016
+ cursor: pointer;
13017
+ transition: background-color 0.15s ease, color 0.15s ease;
13146
13018
  }
13147
13019
 
13148
- .muka-combobox__label--lg {
13149
- font-family: var(--text-label-lg-semibold-fontFamily);
13150
- font-weight: var(--text-label-lg-semibold-fontWeight);
13151
- font-size: var(--text-label-lg-semibold-fontSize);
13152
- line-height: var(--text-label-lg-semibold-lineHeight);
13020
+ .muka-chip--sm .muka-chip__remove,
13021
+ .muka-chip--sm .muka-chip__expand {
13022
+ width: var(--icon-size-sm);
13023
+ height: var(--icon-size-sm);
13024
+ }
13025
+ .muka-chip--md .muka-chip__remove,
13026
+ .muka-chip--md .muka-chip__expand {
13027
+ width: var(--icon-size-default);
13028
+ height: var(--icon-size-default);
13029
+ }
13030
+ .muka-chip--lg .muka-chip__remove,
13031
+ .muka-chip--lg .muka-chip__expand {
13032
+ width: var(--icon-size-lg);
13033
+ height: var(--icon-size-lg);
13153
13034
  }
13154
13035
 
13155
- .muka-combobox__field {
13156
- display: flex;
13157
- align-items: center;
13158
- width: 100%;
13159
- position: relative;
13160
- isolation: isolate;
13161
- box-sizing: border-box;
13162
- background-color: var(--input-field-color-default-background);
13163
- border: var(--border-width-regular) solid var(--input-field-color-default-border);
13164
- border-radius: var(--input-field-radius-lg);
13165
- padding: var(--spacing-2);
13166
- cursor: text;
13167
- transition: border-color 0.12s ease, background-color 0.12s ease;
13036
+ .muka-chip__remove:focus-visible {
13037
+ outline: 2px solid currentColor;
13038
+ outline-offset: 2px;
13168
13039
  }
13169
13040
 
13170
- .muka-combobox__field::after {
13171
- content: '';
13172
- position: absolute;
13173
- inset: 0;
13174
- border-radius: inherit;
13175
- box-shadow: inset 0 1px 2px 0 rgba(26, 26, 26, 0.08);
13176
- pointer-events: none;
13041
+ /*
13042
+ * Expandable chip (Figma "Chip/Trailing Expand"): the whole chip is one button,
13043
+ * typically a menu trigger. Hovering or pressing anywhere on it drives the
13044
+ * chevron's hover / pressed steps; an open menu (aria-expanded) shows pressed,
13045
+ * like Button's open state.
13046
+ */
13047
+ .muka-chip--expandable {
13048
+ margin: 0;
13049
+ text-align: inherit;
13050
+ cursor: pointer;
13177
13051
  }
13178
13052
 
13179
- .muka-combobox__field--sm {
13180
- min-height: var(--input-field-height-sm);
13181
- border-radius: var(--input-field-radius-sm);
13053
+ .muka-chip--expandable:focus-visible {
13054
+ outline: 2px solid var(--color-border-focus);
13055
+ outline-offset: 2px;
13182
13056
  }
13183
13057
 
13184
- .muka-combobox__field--md {
13185
- min-height: var(--input-field-height-default);
13186
- border-radius: var(--input-field-radius-md);
13058
+ .muka-chip--expandable:disabled {
13059
+ cursor: not-allowed;
13187
13060
  }
13188
13061
 
13189
- .muka-combobox__field--lg {
13190
- min-height: var(--input-field-height-lg);
13191
- border-radius: var(--input-field-radius-lg);
13062
+ .muka-chip__expand {
13063
+ pointer-events: none;
13192
13064
  }
13193
13065
 
13194
- .muka-combobox__field--focused:not(.muka-combobox__field--disabled) {
13195
- border-width: var(--border-width-bold);
13196
- border-color: var(--input-field-color-focus-border);
13197
- background-color: var(--input-field-color-focus-background);
13198
- padding: calc(var(--spacing-2) - 1px);
13066
+ /*
13067
+ * Dismiss button colors — state-tinted per chip variant, with default / hover /
13068
+ * pressed steps. Values come from T4 chip.dismiss.* tokens, which reference the
13069
+ * brand-specific alias state-surface ramp. The ✕ (.muka-icon) inherits `color`.
13070
+ */
13071
+ .muka-chip--default .muka-chip__remove,
13072
+ .muka-chip--default .muka-chip__expand {
13073
+ background-color: var(--chip-dismiss-default-background-default);
13074
+ color: var(--chip-dismiss-default-foreground-default);
13075
+ }
13076
+ .muka-chip--default .muka-chip__remove:hover,
13077
+ .muka-chip--default.muka-chip--expandable:hover:not(:disabled) .muka-chip__expand {
13078
+ background-color: var(--chip-dismiss-default-background-hover);
13079
+ color: var(--chip-dismiss-default-foreground-hover);
13080
+ }
13081
+ .muka-chip--default .muka-chip__remove:active,
13082
+ .muka-chip--default.muka-chip--expandable:active:not(:disabled) .muka-chip__expand,
13083
+ .muka-chip--default.muka-chip--expandable[aria-expanded='true'] .muka-chip__expand {
13084
+ background-color: var(--chip-dismiss-default-background-pressed);
13085
+ color: var(--chip-dismiss-default-foreground-pressed);
13199
13086
  }
13200
13087
 
13201
- .muka-combobox__field--error:not(.muka-combobox__field--disabled) {
13202
- border-color: var(--color-state-error-contrast);
13088
+ .muka-chip--success .muka-chip__remove,
13089
+ .muka-chip--success .muka-chip__expand {
13090
+ background-color: var(--chip-dismiss-success-background-default);
13091
+ color: var(--chip-dismiss-success-foreground-default);
13092
+ }
13093
+ .muka-chip--success .muka-chip__remove:hover,
13094
+ .muka-chip--success.muka-chip--expandable:hover:not(:disabled) .muka-chip__expand {
13095
+ background-color: var(--chip-dismiss-success-background-hover);
13096
+ color: var(--chip-dismiss-success-foreground-hover);
13097
+ }
13098
+ .muka-chip--success .muka-chip__remove:active,
13099
+ .muka-chip--success.muka-chip--expandable:active:not(:disabled) .muka-chip__expand,
13100
+ .muka-chip--success.muka-chip--expandable[aria-expanded='true'] .muka-chip__expand {
13101
+ background-color: var(--chip-dismiss-success-background-pressed);
13102
+ color: var(--chip-dismiss-success-foreground-pressed);
13203
13103
  }
13204
13104
 
13205
- .muka-combobox__field--disabled {
13206
- opacity: 0.5;
13207
- cursor: not-allowed;
13105
+ .muka-chip--warning .muka-chip__remove,
13106
+ .muka-chip--warning .muka-chip__expand {
13107
+ background-color: var(--chip-dismiss-warning-background-default);
13108
+ color: var(--chip-dismiss-warning-foreground-default);
13109
+ }
13110
+ .muka-chip--warning .muka-chip__remove:hover,
13111
+ .muka-chip--warning.muka-chip--expandable:hover:not(:disabled) .muka-chip__expand {
13112
+ background-color: var(--chip-dismiss-warning-background-hover);
13113
+ color: var(--chip-dismiss-warning-foreground-hover);
13114
+ }
13115
+ .muka-chip--warning .muka-chip__remove:active,
13116
+ .muka-chip--warning.muka-chip--expandable:active:not(:disabled) .muka-chip__expand,
13117
+ .muka-chip--warning.muka-chip--expandable[aria-expanded='true'] .muka-chip__expand {
13118
+ background-color: var(--chip-dismiss-warning-background-pressed);
13119
+ color: var(--chip-dismiss-warning-foreground-pressed);
13208
13120
  }
13209
13121
 
13210
- .muka-combobox__field--multiline {
13211
- align-items: flex-start;
13212
- min-height: 7rem;
13122
+ .muka-chip--error .muka-chip__remove,
13123
+ .muka-chip--error .muka-chip__expand {
13124
+ background-color: var(--chip-dismiss-error-background-default);
13125
+ color: var(--chip-dismiss-error-foreground-default);
13126
+ }
13127
+ .muka-chip--error .muka-chip__remove:hover,
13128
+ .muka-chip--error.muka-chip--expandable:hover:not(:disabled) .muka-chip__expand {
13129
+ background-color: var(--chip-dismiss-error-background-hover);
13130
+ color: var(--chip-dismiss-error-foreground-hover);
13131
+ }
13132
+ .muka-chip--error .muka-chip__remove:active,
13133
+ .muka-chip--error.muka-chip--expandable:active:not(:disabled) .muka-chip__expand,
13134
+ .muka-chip--error.muka-chip--expandable[aria-expanded='true'] .muka-chip__expand {
13135
+ background-color: var(--chip-dismiss-error-background-pressed);
13136
+ color: var(--chip-dismiss-error-foreground-pressed);
13213
13137
  }
13214
13138
 
13215
- .muka-combobox__chips {
13216
- display: flex;
13217
- flex: 1 1 auto;
13218
- flex-wrap: wrap;
13219
- gap: var(--spacing-2);
13220
- align-items: center;
13221
- min-width: 0;
13222
- width: 100%;
13223
- position: relative;
13224
- z-index: 1;
13139
+ .muka-chip--info .muka-chip__remove,
13140
+ .muka-chip--info .muka-chip__expand {
13141
+ background-color: var(--chip-dismiss-info-background-default);
13142
+ color: var(--chip-dismiss-info-foreground-default);
13143
+ }
13144
+ .muka-chip--info .muka-chip__remove:hover,
13145
+ .muka-chip--info.muka-chip--expandable:hover:not(:disabled) .muka-chip__expand {
13146
+ background-color: var(--chip-dismiss-info-background-hover);
13147
+ color: var(--chip-dismiss-info-foreground-hover);
13148
+ }
13149
+ .muka-chip--info .muka-chip__remove:active,
13150
+ .muka-chip--info.muka-chip--expandable:active:not(:disabled) .muka-chip__expand,
13151
+ .muka-chip--info.muka-chip--expandable[aria-expanded='true'] .muka-chip__expand {
13152
+ background-color: var(--chip-dismiss-info-background-pressed);
13153
+ color: var(--chip-dismiss-info-foreground-pressed);
13225
13154
  }
13226
13155
 
13227
- .muka-combobox__input {
13228
- flex: 1 1 5rem;
13229
- min-width: 5rem;
13230
- min-height: 2rem;
13231
- margin: 0;
13232
- padding: 0 var(--spacing-1);
13233
- border: none;
13234
- outline: none;
13235
- background: transparent;
13236
- color: var(--input-field-color-default-foreground);
13237
- caret-color: var(--input-field-color-default-foreground);
13238
- font-family: var(--text-label-md-regular-fontFamily);
13239
- font-size: var(--text-label-md-regular-fontSize);
13240
- font-weight: var(--text-label-md-regular-fontWeight);
13241
- line-height: var(--text-label-md-regular-lineHeight);
13156
+ /* Variants (solid fill) — icons inherit these foreground colors (see below) */
13157
+ .muka-chip--default {
13158
+ background-color: var(--color-surface-level1);
13159
+ color: var(--color-text-default-default);
13242
13160
  }
13243
13161
 
13244
- .muka-combobox__input::placeholder {
13245
- color: var(--color-text-subtle-default);
13162
+ .muka-chip--success {
13163
+ background-color: var(--color-state-success-background);
13164
+ color: var(--color-state-success-contrast);
13246
13165
  }
13247
13166
 
13248
- .muka-combobox__helper {
13249
- margin: 0;
13250
- color: var(--color-text-subtle-default);
13251
- font-family: var(--text-label-sm-regular-fontFamily);
13252
- font-size: var(--text-label-sm-regular-fontSize);
13253
- font-weight: var(--text-label-sm-regular-fontWeight);
13254
- line-height: var(--text-label-sm-regular-lineHeight);
13167
+ .muka-chip--warning {
13168
+ background-color: var(--color-state-warning-background);
13169
+ color: var(--color-state-warning-contrast);
13255
13170
  }
13256
13171
 
13257
- .muka-combobox__error {
13258
- margin: 0;
13259
- color: var(--color-state-error-default);
13260
- font-family: var(--text-label-sm-regular-fontFamily);
13261
- font-size: var(--text-label-sm-regular-fontSize);
13262
- font-weight: var(--text-label-sm-regular-fontWeight);
13263
- line-height: var(--text-label-sm-regular-lineHeight);
13172
+ .muka-chip--error {
13173
+ background-color: var(--color-state-error-background);
13174
+ color: var(--color-state-error-contrast);
13264
13175
  }
13265
13176
 
13266
- .muka-combobox__menu-anchor {
13267
- position: absolute;
13268
- inset: 0;
13269
- z-index: 0;
13270
- width: 100%;
13271
- height: 100%;
13272
- margin: 0;
13273
- padding: 0;
13274
- border: none;
13275
- background: transparent;
13276
- pointer-events: none;
13277
- opacity: 0;
13177
+ .muka-chip--info {
13178
+ background-color: var(--color-state-info-background);
13179
+ color: var(--color-state-info-contrast);
13278
13180
  }
13279
13181
 
13280
- .muka-combobox__menu {
13281
- /* Prefer Menu token min-width (280px); may exceed the field when left-aligned. */
13282
- min-width: var(--menu-content-min-width);
13283
- width: max-content;
13284
- max-width: min(100vw - 2rem, 24rem);
13182
+ /* Icons (leading + dismiss) inherit the chip's per-variant foreground color */
13183
+ .muka-chip .muka-icon {
13184
+ color: inherit;
13285
13185
  }
13286
13186
 
13287
13187
 
13288
- /* ChatPhotoGrid */
13289
- /* ChatPhotoGrid Component Styles */
13188
+ /* CheckboxTile */
13189
+ /* CheckboxTile Component Styles - Using Muka Design Tokens */
13290
13190
 
13291
- /*
13292
- * The grid clips to its own radius and the tiles stay square, so only the four
13293
- * outer corners round — matching the Figma "Wrapper" frame (5225:1394).
13294
- */
13295
- .muka-chat-photo-grid {
13296
- display: grid;
13297
- gap: var(--chatphotogrid-gap);
13298
- width: 100%;
13299
- min-width: 0;
13191
+ /* Base tile styles - horizontal */
13192
+ .muka-checkbox-tile {
13193
+ display: flex;
13194
+ align-items: center;
13195
+ gap: var(--spacing-4);
13196
+ padding: var(--spacing-4);
13197
+ border: var(--border-width-regular) solid var(--input-field-color-default-border);
13198
+ border-radius: var(--input-field-radius-lg);
13199
+ background-color: var(--color-surface-level3);
13200
+ cursor: pointer;
13201
+ transition: border-color 0.15s ease, border-width 0.15s ease;
13300
13202
  overflow: hidden;
13301
- border-radius: var(--chatphotogrid-radius);
13203
+ box-sizing: border-box;
13302
13204
  }
13303
13205
 
13304
- /* ─── Tiles ────────────────────────────────────────────── */
13206
+ .muka-checkbox-tile--disabled {
13207
+ cursor: not-allowed;
13208
+ opacity: 0.6;
13209
+ }
13305
13210
 
13306
- .muka-chat-photo-grid__tile {
13211
+ /* Selected state */
13212
+ .muka-checkbox-tile[data-checked] {
13213
+ border-width: var(--border-width-bold);
13214
+ border-color: var(--color-action-default);
13215
+ }
13216
+
13217
+ /* Vertical layout */
13218
+ .muka-checkbox-tile--vertical {
13219
+ flex-direction: column;
13220
+ align-items: center;
13221
+ gap: var(--spacing-2);
13307
13222
  position: relative;
13308
- display: block;
13309
- overflow: hidden;
13310
- min-width: 0;
13311
- padding: 0;
13312
- margin: 0;
13313
- border: none;
13314
- background-color: var(--chatphotogrid-color-placeholder);
13315
- aspect-ratio: 1 / 1;
13223
+ width: 160px;
13316
13224
  }
13317
13225
 
13318
- button.muka-chat-photo-grid__tile {
13319
- cursor: pointer;
13320
- appearance: none;
13226
+ /* Checkbox container */
13227
+ .muka-checkbox-tile__checkbox {
13228
+ flex-shrink: 0;
13321
13229
  }
13322
13230
 
13323
- button.muka-chat-photo-grid__tile:focus-visible {
13324
- outline: var(--border-width-bold) solid var(--color-border-focus);
13325
- /* Inset, so the grid's overflow clip cannot cut the ring off on corner tiles */
13326
- outline-offset: calc(-1 * var(--border-width-bold));
13231
+ /* Corner-positioned checkbox for vertical */
13232
+ .muka-checkbox-tile__checkbox--corner {
13233
+ position: absolute;
13234
+ top: var(--spacing-4);
13235
+ left: var(--spacing-4);
13327
13236
  }
13328
13237
 
13329
- .muka-chat-photo-grid__image {
13330
- display: block;
13331
- width: 100%;
13332
- height: 100%;
13333
- object-fit: cover;
13238
+ /* Adjust corner position when selected (border is thicker) */
13239
+ .muka-checkbox-tile[data-checked] .muka-checkbox-tile__checkbox--corner {
13240
+ top: calc(var(--spacing-4) - 1px);
13241
+ left: calc(var(--spacing-4) - 1px);
13334
13242
  }
13335
13243
 
13336
- /* ─── Overflow tile ────────────────────────────────────── */
13337
-
13338
- .muka-chat-photo-grid__overflow {
13339
- position: absolute;
13340
- inset: 0;
13244
+ /* Icon */
13245
+ .muka-checkbox-tile__icon {
13341
13246
  display: flex;
13342
13247
  align-items: center;
13343
13248
  justify-content: center;
13344
- background-color: var(--chatphotogrid-color-overflow-background);
13345
- color: var(--chatphotogrid-color-overflow-foreground);
13346
- font-family: var(--text-body-2xl-regular-fontFamily);
13347
- font-weight: var(--text-body-2xl-regular-fontWeight);
13348
- font-size: var(--text-body-2xl-regular-fontSize);
13349
- line-height: var(--text-body-2xl-regular-lineHeight);
13249
+ flex-shrink: 0;
13250
+ width: var(--icon-size-default);
13251
+ height: var(--icon-size-default);
13252
+ color: var(--color-text-default-default);
13350
13253
  }
13351
13254
 
13352
- /* ─── Layouts ──────────────────────────────────────────── */
13255
+ .muka-checkbox-tile__icon svg {
13256
+ width: 100%;
13257
+ height: 100%;
13258
+ }
13353
13259
 
13354
- .muka-chat-photo-grid--1 {
13355
- grid-template-columns: 1fr;
13260
+ /* Image */
13261
+ .muka-checkbox-tile__image {
13262
+ flex-shrink: 0;
13263
+ overflow: hidden;
13264
+ border-radius: var(--border-radius-sm);
13356
13265
  }
13357
13266
 
13358
- .muka-chat-photo-grid--landscape .muka-chat-photo-grid__tile {
13359
- aspect-ratio: 4 / 3;
13267
+ .muka-checkbox-tile__image img {
13268
+ display: block;
13269
+ width: 100%;
13270
+ height: 100%;
13271
+ object-fit: cover;
13360
13272
  }
13361
13273
 
13362
- .muka-chat-photo-grid--portrait .muka-chat-photo-grid__tile {
13363
- aspect-ratio: 3 / 4;
13274
+ /* Horizontal image sizing */
13275
+ .muka-checkbox-tile__image--horizontal {
13276
+ width: 40px;
13277
+ height: 40px;
13364
13278
  }
13365
13279
 
13366
- .muka-chat-photo-grid--2 {
13367
- grid-template-columns: repeat(2, 1fr);
13280
+ /* Vertical image sizing */
13281
+ .muka-checkbox-tile--vertical .muka-checkbox-tile__image {
13282
+ width: 100%;
13283
+ aspect-ratio: 4/3;
13368
13284
  }
13369
13285
 
13370
- .muka-chat-photo-grid--3 {
13371
- grid-template-columns: repeat(3, 1fr);
13286
+ /* Content container */
13287
+ .muka-checkbox-tile__content {
13288
+ display: flex;
13289
+ flex-direction: column;
13290
+ flex: 1;
13291
+ min-width: 0;
13292
+ gap: var(--spacing-2);
13372
13293
  }
13373
13294
 
13374
- .muka-chat-photo-grid--4 {
13375
- grid-template-columns: repeat(2, 1fr);
13295
+ .muka-checkbox-tile__content-inner {
13296
+ display: flex;
13297
+ flex-direction: column;
13298
+ gap: var(--spacing-1);
13376
13299
  }
13377
13300
 
13378
- /* 5 photos: a 2-up row above a 3-up row, on a shared 6-column track */
13379
- .muka-chat-photo-grid--5 {
13380
- grid-template-columns: repeat(6, 1fr);
13301
+ /* Chip slot (replaces badge; use Chip component) */
13302
+ .muka-checkbox-tile__chip {
13303
+ flex-shrink: 0;
13381
13304
  }
13382
13305
 
13383
- .muka-chat-photo-grid--5 .muka-chat-photo-grid__tile:nth-child(-n + 2) {
13384
- grid-column: span 3;
13306
+ .muka-checkbox-tile__chip--vertical {
13307
+ margin-top: var(--spacing-1);
13385
13308
  }
13386
13309
 
13387
- .muka-chat-photo-grid--5 .muka-chat-photo-grid__tile:nth-child(n + 3) {
13388
- grid-column: span 2;
13310
+ /* Label */
13311
+ .muka-checkbox-tile__label {
13312
+ font-family: var(--text-body-lg-regular-fontFamily);
13313
+ font-weight: var(--text-body-lg-regular-fontWeight);
13314
+ font-size: var(--text-body-lg-regular-fontSize);
13315
+ line-height: var(--text-body-lg-regular-lineHeight);
13316
+ color: var(--color-text-default-default);
13389
13317
  }
13390
13318
 
13391
- .muka-chat-photo-grid--6,
13392
- .muka-chat-photo-grid--overflow {
13393
- grid-template-columns: repeat(3, 1fr);
13319
+ .muka-checkbox-tile__label--bold {
13320
+ font-family: var(--text-label-lg-semibold-fontFamily);
13321
+ font-weight: var(--text-label-lg-semibold-fontWeight);
13322
+ font-size: var(--text-label-lg-semibold-fontSize);
13323
+ line-height: var(--text-label-lg-semibold-lineHeight);
13394
13324
  }
13395
13325
 
13396
- /* ─── Print ────────────────────────────────────────────── */
13326
+ .muka-checkbox-tile__label--center {
13327
+ text-align: center;
13328
+ }
13397
13329
 
13398
- @media print {
13399
- .muka-chat-photo-grid {
13400
- break-inside: avoid;
13401
- }
13330
+ /* Caption */
13331
+ .muka-checkbox-tile__caption {
13332
+ font-family: var(--text-body-base-regular-fontFamily);
13333
+ font-weight: var(--text-body-base-regular-fontWeight);
13334
+ font-size: var(--text-body-base-regular-fontSize);
13335
+ line-height: var(--text-body-base-regular-lineHeight);
13336
+ color: var(--color-text-subtle-default);
13337
+ }
13402
13338
 
13403
- .muka-chat-photo-grid__image {
13404
- print-color-adjust: exact;
13405
- -webkit-print-color-adjust: exact;
13406
- }
13339
+ /* Disabled states */
13340
+ .muka-checkbox-tile--disabled .muka-checkbox-tile__label,
13341
+ .muka-checkbox-tile--disabled .muka-checkbox-tile__icon {
13342
+ color: var(--color-text-subtle-default);
13407
13343
  }
13408
13344
 
13409
13345
 
@@ -13574,6 +13510,128 @@ button.muka-chat-photo-grid__tile:focus-visible {
13574
13510
  }
13575
13511
 
13576
13512
 
13513
+ /* ChatPhotoGrid */
13514
+ /* ChatPhotoGrid Component Styles */
13515
+
13516
+ /*
13517
+ * The grid clips to its own radius and the tiles stay square, so only the four
13518
+ * outer corners round — matching the Figma "Wrapper" frame (5225:1394).
13519
+ */
13520
+ .muka-chat-photo-grid {
13521
+ display: grid;
13522
+ gap: var(--chatphotogrid-gap);
13523
+ width: 100%;
13524
+ min-width: 0;
13525
+ overflow: hidden;
13526
+ border-radius: var(--chatphotogrid-radius);
13527
+ }
13528
+
13529
+ /* ─── Tiles ────────────────────────────────────────────── */
13530
+
13531
+ .muka-chat-photo-grid__tile {
13532
+ position: relative;
13533
+ display: block;
13534
+ overflow: hidden;
13535
+ min-width: 0;
13536
+ padding: 0;
13537
+ margin: 0;
13538
+ border: none;
13539
+ background-color: var(--chatphotogrid-color-placeholder);
13540
+ aspect-ratio: 1 / 1;
13541
+ }
13542
+
13543
+ button.muka-chat-photo-grid__tile {
13544
+ cursor: pointer;
13545
+ appearance: none;
13546
+ }
13547
+
13548
+ button.muka-chat-photo-grid__tile:focus-visible {
13549
+ outline: var(--border-width-bold) solid var(--color-border-focus);
13550
+ /* Inset, so the grid's overflow clip cannot cut the ring off on corner tiles */
13551
+ outline-offset: calc(-1 * var(--border-width-bold));
13552
+ }
13553
+
13554
+ .muka-chat-photo-grid__image {
13555
+ display: block;
13556
+ width: 100%;
13557
+ height: 100%;
13558
+ object-fit: cover;
13559
+ }
13560
+
13561
+ /* ─── Overflow tile ────────────────────────────────────── */
13562
+
13563
+ .muka-chat-photo-grid__overflow {
13564
+ position: absolute;
13565
+ inset: 0;
13566
+ display: flex;
13567
+ align-items: center;
13568
+ justify-content: center;
13569
+ background-color: var(--chatphotogrid-color-overflow-background);
13570
+ color: var(--chatphotogrid-color-overflow-foreground);
13571
+ font-family: var(--text-body-2xl-regular-fontFamily);
13572
+ font-weight: var(--text-body-2xl-regular-fontWeight);
13573
+ font-size: var(--text-body-2xl-regular-fontSize);
13574
+ line-height: var(--text-body-2xl-regular-lineHeight);
13575
+ }
13576
+
13577
+ /* ─── Layouts ──────────────────────────────────────────── */
13578
+
13579
+ .muka-chat-photo-grid--1 {
13580
+ grid-template-columns: 1fr;
13581
+ }
13582
+
13583
+ .muka-chat-photo-grid--landscape .muka-chat-photo-grid__tile {
13584
+ aspect-ratio: 4 / 3;
13585
+ }
13586
+
13587
+ .muka-chat-photo-grid--portrait .muka-chat-photo-grid__tile {
13588
+ aspect-ratio: 3 / 4;
13589
+ }
13590
+
13591
+ .muka-chat-photo-grid--2 {
13592
+ grid-template-columns: repeat(2, 1fr);
13593
+ }
13594
+
13595
+ .muka-chat-photo-grid--3 {
13596
+ grid-template-columns: repeat(3, 1fr);
13597
+ }
13598
+
13599
+ .muka-chat-photo-grid--4 {
13600
+ grid-template-columns: repeat(2, 1fr);
13601
+ }
13602
+
13603
+ /* 5 photos: a 2-up row above a 3-up row, on a shared 6-column track */
13604
+ .muka-chat-photo-grid--5 {
13605
+ grid-template-columns: repeat(6, 1fr);
13606
+ }
13607
+
13608
+ .muka-chat-photo-grid--5 .muka-chat-photo-grid__tile:nth-child(-n + 2) {
13609
+ grid-column: span 3;
13610
+ }
13611
+
13612
+ .muka-chat-photo-grid--5 .muka-chat-photo-grid__tile:nth-child(n + 3) {
13613
+ grid-column: span 2;
13614
+ }
13615
+
13616
+ .muka-chat-photo-grid--6,
13617
+ .muka-chat-photo-grid--overflow {
13618
+ grid-template-columns: repeat(3, 1fr);
13619
+ }
13620
+
13621
+ /* ─── Print ────────────────────────────────────────────── */
13622
+
13623
+ @media print {
13624
+ .muka-chat-photo-grid {
13625
+ break-inside: avoid;
13626
+ }
13627
+
13628
+ .muka-chat-photo-grid__image {
13629
+ print-color-adjust: exact;
13630
+ -webkit-print-color-adjust: exact;
13631
+ }
13632
+ }
13633
+
13634
+
13577
13635
  /* ChatMessageStack */
13578
13636
  /* ChatMessageStack Component Styles */
13579
13637
 
@@ -15041,6 +15099,34 @@ button.muka-chat-photo-grid__tile:focus-visible {
15041
15099
  line-height: var(--text-label-lg-regular-lineHeight);
15042
15100
  }
15043
15101
 
15102
+ /* Truncate: one line; the current page shortens with an ellipsis */
15103
+ .muka-breadcrumb--truncate {
15104
+ min-width: 0;
15105
+ overflow: hidden;
15106
+ }
15107
+
15108
+ .muka-breadcrumb--truncate .muka-breadcrumb__list {
15109
+ flex-wrap: nowrap;
15110
+ min-width: 0;
15111
+ }
15112
+
15113
+ .muka-breadcrumb--truncate .muka-breadcrumb__item {
15114
+ flex-shrink: 0;
15115
+ }
15116
+
15117
+ .muka-breadcrumb--truncate .muka-breadcrumb__item:last-child {
15118
+ flex-shrink: 1;
15119
+ min-width: 0;
15120
+ overflow: hidden;
15121
+ }
15122
+
15123
+ .muka-breadcrumb--truncate .muka-breadcrumb__current {
15124
+ min-width: 0;
15125
+ overflow: hidden;
15126
+ text-overflow: ellipsis;
15127
+ white-space: nowrap;
15128
+ }
15129
+
15044
15130
 
15045
15131
  /* BottomBar */
15046
15132
  /* BottomBar Component Styles */