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