@revikornmann/muka-ui 0.56.0 → 0.59.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 (62) hide show
  1. package/dist/cjs/components/ListItem/ListItem.css +37 -0
  2. package/dist/cjs/components/ListItem/ListItem.js +2 -1
  3. package/dist/cjs/components/ListItem/ListItem.js.map +1 -1
  4. package/dist/cjs/components/Menu/Menu.css +33 -0
  5. package/dist/cjs/components/ProfileBadge/ProfileBadge.css +43 -0
  6. package/dist/cjs/components/ProfileBadge/ProfileBadge.js +7 -2
  7. package/dist/cjs/components/ProfileBadge/ProfileBadge.js.map +1 -1
  8. package/dist/cjs/components/SiteHeader/SiteHeader.css +38 -0
  9. package/dist/cjs/components/SiteHeader/SiteHeader.js +2 -1
  10. package/dist/cjs/components/SiteHeader/SiteHeader.js.map +1 -1
  11. package/dist/cjs/components/TopBar/TopBar.css +22 -28
  12. package/dist/cjs/components/TopBar/TopBar.js +21 -21
  13. package/dist/cjs/components/TopBar/TopBar.js.map +1 -1
  14. package/dist/cjs/components/View/View.js +2 -2
  15. package/dist/cjs/components/View/View.js.map +1 -1
  16. package/dist/esm/components/ListItem/ListItem.css +37 -0
  17. package/dist/esm/components/ListItem/ListItem.js +2 -1
  18. package/dist/esm/components/ListItem/ListItem.js.map +1 -1
  19. package/dist/esm/components/Menu/Menu.css +33 -0
  20. package/dist/esm/components/ProfileBadge/ProfileBadge.css +43 -0
  21. package/dist/esm/components/ProfileBadge/ProfileBadge.js +7 -2
  22. package/dist/esm/components/ProfileBadge/ProfileBadge.js.map +1 -1
  23. package/dist/esm/components/SiteHeader/SiteHeader.css +38 -0
  24. package/dist/esm/components/SiteHeader/SiteHeader.js +2 -1
  25. package/dist/esm/components/SiteHeader/SiteHeader.js.map +1 -1
  26. package/dist/esm/components/TopBar/TopBar.css +22 -28
  27. package/dist/esm/components/TopBar/TopBar.js +21 -21
  28. package/dist/esm/components/TopBar/TopBar.js.map +1 -1
  29. package/dist/esm/components/View/View.js +2 -2
  30. package/dist/esm/components/View/View.js.map +1 -1
  31. package/dist/styles/components/ListItem.css +37 -0
  32. package/dist/styles/components/Menu.css +33 -0
  33. package/dist/styles/components/ProfileBadge.css +43 -0
  34. package/dist/styles/components/SiteHeader.css +38 -0
  35. package/dist/styles/components/TopBar.css +22 -28
  36. package/dist/styles/index.css +1198 -1051
  37. package/dist/styles/muka-dark.css +1198 -1051
  38. package/dist/styles/muka-light.css +1198 -1051
  39. package/dist/styles/tokens-bouwplan-dark.css +3 -1
  40. package/dist/styles/tokens-bouwplan-light.css +3 -1
  41. package/dist/styles/tokens-fscl-dark.css +3 -1
  42. package/dist/styles/tokens-fscl-light.css +3 -1
  43. package/dist/styles/tokens-grip-dark.css +3 -1
  44. package/dist/styles/tokens-grip-light.css +3 -1
  45. package/dist/styles/tokens-muka-dark.css +3 -1
  46. package/dist/styles/tokens-muka-light.css +3 -1
  47. package/dist/styles/tokens-wireframe-dark.css +3 -1
  48. package/dist/styles/tokens-wireframe-light.css +3 -1
  49. package/dist/styles/wireframe-dark.css +1198 -1051
  50. package/dist/styles/wireframe-light.css +1198 -1051
  51. package/dist/types/components/ListItem/ListItem.d.ts +7 -0
  52. package/dist/types/components/ListItem/ListItem.d.ts.map +1 -1
  53. package/dist/types/components/ProfileBadge/ProfileBadge.d.ts +13 -1
  54. package/dist/types/components/ProfileBadge/ProfileBadge.d.ts.map +1 -1
  55. package/dist/types/components/SiteHeader/SiteHeader.d.ts +7 -0
  56. package/dist/types/components/SiteHeader/SiteHeader.d.ts.map +1 -1
  57. package/dist/types/components/TopBar/TopBar.d.ts +3 -9
  58. package/dist/types/components/TopBar/TopBar.d.ts.map +1 -1
  59. package/dist/types/components/View/View.d.ts +0 -6
  60. package/dist/types/components/View/View.d.ts.map +1 -1
  61. package/package.json +1 -1
  62. package/tokens/t4-components/topbar.json +15 -1
@@ -2141,8 +2141,9 @@ body {
2141
2141
  --topbar-height-lg: 80px;
2142
2142
  --topbar-padding-x-sm: 0.75rem;
2143
2143
  --topbar-padding-x-md: 0.75rem;
2144
- --topbar-padding-x-lg: 1.5rem;
2144
+ --topbar-padding-x-lg: 1rem;
2145
2145
  --topbar-title-max-width: 197px;
2146
+ --topbar-title-inset-lg: 0.5rem;
2146
2147
  --topbar-icon-size-sm: 24px;
2147
2148
  --topbar-icon-size-md: 32px;
2148
2149
  --topbar-icon-size-lg: 32px;
@@ -2154,6 +2155,7 @@ body {
2154
2155
  --topbar-drag-handle-color: #e0e0e0;
2155
2156
  --topbar-drag-handle-padding-y: 0.75rem;
2156
2157
  --topbar-drag-handle-radius: 999rem;
2158
+ --topbar-gap-lg: 2rem;
2157
2159
  --controlbar-color-background: #fcfcfc;
2158
2160
  --controlbar-max-width-sm: 768px;
2159
2161
  --controlbar-max-width-lg: 1024px;
@@ -2858,7 +2860,6 @@ body {
2858
2860
  --tb-title-font-size: var(--text-heading-xs-fontSize);
2859
2861
  --tb-title-line-height: var(--text-heading-xs-lineHeight);
2860
2862
  --tb-title-letter-spacing: var(--text-heading-xs-letterSpacing);
2861
- --tb-breadcrumb-display: none;
2862
2863
  --tb-pad-y: 0;
2863
2864
  }
2864
2865
 
@@ -2885,7 +2886,7 @@ body {
2885
2886
  --tb-title-letter-spacing: var(--text-heading-md-letterSpacing);
2886
2887
  }
2887
2888
 
2888
- /* ─── Large tier: left-aligned title, breadcrumb row ─── */
2889
+ /* ─── Large tier: back button, then a left-aligned title ─── */
2889
2890
  @media (min-width: 1024px) {
2890
2891
  .muka-topbar:not([data-size]):not([data-max-size='md']) {
2891
2892
  --tb-height: var(--topbar-height-lg);
@@ -2899,7 +2900,6 @@ body {
2899
2900
  --tb-title-font-size: var(--text-heading-md-fontSize);
2900
2901
  --tb-title-line-height: var(--text-heading-md-lineHeight);
2901
2902
  --tb-title-letter-spacing: var(--text-heading-md-letterSpacing);
2902
- --tb-breadcrumb-display: flex;
2903
2903
  }
2904
2904
  }
2905
2905
 
@@ -2915,7 +2915,6 @@ body {
2915
2915
  --tb-title-font-size: var(--text-heading-md-fontSize);
2916
2916
  --tb-title-line-height: var(--text-heading-md-lineHeight);
2917
2917
  --tb-title-letter-spacing: var(--text-heading-md-letterSpacing);
2918
- --tb-breadcrumb-display: flex;
2919
2918
  }
2920
2919
 
2921
2920
  /* Push content below the iOS notch / status bar. Opt out via disableSafeArea. */
@@ -2939,13 +2938,6 @@ body {
2939
2938
  border-radius: var(--topbar-drag-handle-radius);
2940
2939
  }
2941
2940
 
2942
- /* ─── Breadcrumb (large tier, stacked above the title) ── */
2943
-
2944
- .muka-topbar__breadcrumb {
2945
- display: var(--tb-breadcrumb-display);
2946
- align-items: center;
2947
- }
2948
-
2949
2941
  /* ─── Container (the bar itself) ──────────────────────── */
2950
2942
 
2951
2943
  .muka-topbar__container {
@@ -2974,46 +2966,50 @@ body {
2974
2966
  z-index: 1;
2975
2967
  }
2976
2968
 
2977
- /* Large tier with a breadcrumb replaces the back button with the breadcrumb. */
2978
- @media (min-width: 1024px) {
2979
- .muka-topbar:not([data-size]):not([data-max-size='md']):has(.muka-topbar__breadcrumb) .muka-topbar__leading {
2980
- display: none;
2981
- }
2982
- }
2983
-
2984
- .muka-topbar[data-size='lg']:has(.muka-topbar__breadcrumb) .muka-topbar__leading {
2985
- display: none;
2986
- }
2987
-
2988
- /* ─── Heading (breadcrumb + title) ────────────────────── */
2969
+ /* ─── Heading (title) ─────────────────────────────────── */
2989
2970
 
2990
- /* Base/sm/md: transparent wrapper so the title is the center grid item and
2991
- the breadcrumb stays hidden. */
2971
+ /* Base/sm/md: transparent wrapper so the title is the center grid item. */
2992
2972
  .muka-topbar__heading {
2993
2973
  display: contents;
2994
2974
  }
2995
2975
 
2996
- /* Large tier: a tight column with the breadcrumb stacked above the title. */
2976
+ /* Large tier: the heading takes the free width so a long title truncates
2977
+ before the trailing actions, and sits a fixed gap after the back button. */
2997
2978
  @media (min-width: 1024px) {
2998
2979
  .muka-topbar:not([data-size]):not([data-max-size='md']) .muka-topbar__heading {
2999
2980
  display: flex;
3000
2981
  flex-direction: column;
3001
2982
  justify-content: center;
3002
- gap: var(--spacing-1);
3003
2983
  flex: 1 1 0%;
3004
2984
  min-width: 0;
3005
2985
  }
2986
+
2987
+ .muka-topbar:not([data-size]):not([data-max-size='md']) .muka-topbar__leading + .muka-topbar__heading {
2988
+ margin-left: var(--topbar-gap-lg);
2989
+ }
2990
+
2991
+ .muka-topbar:not([data-size]):not([data-max-size='md']) .muka-topbar__heading:first-child {
2992
+ padding-left: var(--topbar-title-inset-lg);
2993
+ }
3006
2994
  }
3007
2995
 
3008
2996
  .muka-topbar[data-size='lg'] .muka-topbar__heading {
3009
2997
  display: flex;
3010
2998
  flex-direction: column;
3011
2999
  justify-content: center;
3012
- gap: var(--spacing-1);
3013
3000
  flex: 1 1 0%;
3014
3001
  min-width: 0;
3015
3002
  }
3016
3003
 
3004
+ .muka-topbar[data-size='lg'] .muka-topbar__leading + .muka-topbar__heading {
3005
+ margin-left: var(--topbar-gap-lg);
3006
+ }
3007
+
3008
+ /* No back button: the title sits a little further in than the bar padding. */
3009
+ .muka-topbar[data-size='lg'] .muka-topbar__heading:first-child {
3010
+ padding-left: var(--topbar-title-inset-lg);
3011
+ }
3012
+
3017
3013
  /* ─── Title ───────────────────────────────────────────── */
3018
3014
 
3019
3015
  .muka-topbar__title {
@@ -4000,191 +3996,6 @@ body {
4000
3996
  }
4001
3997
 
4002
3998
 
4003
- /* Thumbnail */
4004
- /* Thumbnail Component Styles - Using Muka Design Tokens */
4005
-
4006
- .muka-thumbnail {
4007
- position: relative;
4008
- flex-shrink: 0;
4009
- }
4010
-
4011
- /* The frame carries the border, background and shape clip. Keeping it separate
4012
- from the root lets the remove (×) button sit outside the clip (needed for the
4013
- circular/ellipse shape, whose corners would otherwise clip the button). */
4014
- .muka-thumbnail__frame {
4015
- position: absolute;
4016
- inset: 0;
4017
- overflow: hidden;
4018
- border: var(--border-width-regular, 1px) solid var(--color-black-alpha-3);
4019
- border-radius: var(--border-radius-lg);
4020
- background-color: var(--color-surface-level1);
4021
- }
4022
-
4023
- /* ─── Shapes ──────────────────────────────────────────── */
4024
- .muka-thumbnail--4-3 {
4025
- width: 160px;
4026
- height: 120px;
4027
- }
4028
-
4029
- .muka-thumbnail--1-1 {
4030
- width: 120px;
4031
- height: 120px;
4032
- }
4033
-
4034
- .muka-thumbnail--ellipse {
4035
- width: 120px;
4036
- height: 120px;
4037
- }
4038
-
4039
- /* Fluid: fill the parent's width; the shape sets the height via aspect-ratio. */
4040
- .muka-thumbnail--fluid {
4041
- width: 100%;
4042
- height: auto;
4043
- aspect-ratio: 1 / 1;
4044
- }
4045
-
4046
- .muka-thumbnail--fluid.muka-thumbnail--4-3 {
4047
- aspect-ratio: 4 / 3;
4048
- }
4049
-
4050
- .muka-thumbnail--ellipse .muka-thumbnail__frame {
4051
- border-radius: var(--border-radius-full);
4052
- }
4053
-
4054
- /* Image fills the frame, cropped to cover. Sits at scale(1) by default so the
4055
- interactive hover zoom has a clean origin. */
4056
- .muka-thumbnail__image {
4057
- position: absolute;
4058
- inset: 0;
4059
- width: 100%;
4060
- height: 100%;
4061
- object-fit: cover;
4062
- display: block;
4063
- transform-origin: center;
4064
- /* Micro-interaction: hover zoom eases out over the "micro" duration. */
4065
- transition: transform var(--motion-duration-micro) var(--motion-easing-enter);
4066
- }
4067
-
4068
- /* ─── Interactive (click-to-enlarge) ──────────────────── */
4069
- .muka-thumbnail__trigger {
4070
- position: absolute;
4071
- inset: 0;
4072
- padding: 0;
4073
- border: 0;
4074
- background: none;
4075
- cursor: pointer;
4076
- overflow: hidden;
4077
- }
4078
-
4079
- .muka-thumbnail__trigger:focus-visible {
4080
- outline: 2px solid var(--color-border-focus);
4081
- outline-offset: -2px;
4082
- }
4083
-
4084
- /* On hover the image scales up ~8px (160px → 168px) with an ease-out feel. */
4085
- .muka-thumbnail--interactive:hover .muka-thumbnail__image {
4086
- transform: scale(1.05);
4087
- }
4088
-
4089
- /* ─── Loading overlay + progress donut ────────────────── */
4090
- .muka-thumbnail__overlay {
4091
- position: absolute;
4092
- inset: 0;
4093
- display: flex;
4094
- align-items: center;
4095
- justify-content: center;
4096
- background-color: var(--dialog-color-backdrop);
4097
- }
4098
-
4099
- .muka-thumbnail__progress {
4100
- width: 40px;
4101
- height: 40px;
4102
- }
4103
-
4104
- /* ─── Error / corrupt state ───────────────────────────── */
4105
- .muka-thumbnail--error .muka-thumbnail__frame {
4106
- background-color: var(--alias-color-state-error-muted);
4107
- border-color: var(--alias-color-state-error-default);
4108
- }
4109
-
4110
- .muka-thumbnail__error {
4111
- position: absolute;
4112
- inset: 0;
4113
- display: flex;
4114
- flex-direction: column;
4115
- align-items: center;
4116
- justify-content: center;
4117
- gap: var(--spacing-2);
4118
- padding: var(--spacing-3);
4119
- text-align: center;
4120
- }
4121
-
4122
- .muka-thumbnail__error-icon {
4123
- color: var(--alert-color-error-accent);
4124
- }
4125
-
4126
- .muka-thumbnail__caption {
4127
- max-width: 100%;
4128
- overflow: hidden;
4129
- text-overflow: ellipsis;
4130
- white-space: nowrap;
4131
- color: var(--alert-color-error-accent);
4132
- font-family: var(--text-body-sm-regular-fontFamily);
4133
- font-size: var(--text-body-sm-regular-fontSize);
4134
- font-weight: var(--text-body-sm-regular-fontWeight);
4135
- line-height: var(--text-body-sm-regular-lineHeight);
4136
- }
4137
-
4138
- /* ─── Remove (×) button ───────────────────────────────── */
4139
- .muka-thumbnail__remove {
4140
- position: absolute;
4141
- top: var(--spacing-2);
4142
- right: var(--spacing-2);
4143
- display: flex;
4144
- align-items: center;
4145
- justify-content: center;
4146
- width: var(--size-2xl);
4147
- height: var(--size-2xl);
4148
- padding: 0;
4149
- color: var(--button-color-tertiary-foreground-default);
4150
- background-color: var(--button-color-tertiary-background-default);
4151
- border: var(--border-width-regular, 1px) solid var(--button-color-tertiary-border-default);
4152
- border-radius: var(--border-radius-lg);
4153
- cursor: pointer;
4154
- transition: background-color var(--motion-duration-micro) var(--motion-easing-enter),
4155
- border-color var(--motion-duration-micro) var(--motion-easing-enter);
4156
- }
4157
-
4158
- .muka-thumbnail__remove:hover {
4159
- color: var(--button-color-tertiary-foreground-hover);
4160
- background-color: var(--button-color-tertiary-background-hover);
4161
- border-color: var(--button-color-tertiary-border-hover);
4162
- }
4163
-
4164
- .muka-thumbnail__remove:active {
4165
- color: var(--button-color-tertiary-foreground-pressed);
4166
- background-color: var(--button-color-tertiary-background-pressed);
4167
- border-color: var(--button-color-tertiary-border-pressed);
4168
- }
4169
-
4170
- .muka-thumbnail__remove:focus-visible {
4171
- outline: 2px solid var(--color-border-focus);
4172
- outline-offset: 2px;
4173
- }
4174
-
4175
- /* ─── Reduced motion ──────────────────────────────────── */
4176
- @media (prefers-reduced-motion: reduce) {
4177
- .muka-thumbnail__image,
4178
- .muka-thumbnail__remove {
4179
- transition: none;
4180
- }
4181
-
4182
- .muka-thumbnail--interactive:hover .muka-thumbnail__image {
4183
- transform: none;
4184
- }
4185
- }
4186
-
4187
-
4188
3999
  /* Textarea */
4189
4000
  /* Textarea Component Styles - Using Muka Design Tokens */
4190
4001
 
@@ -4621,36 +4432,221 @@ body {
4621
4432
  }
4622
4433
 
4623
4434
 
4624
- /* TablePagination */
4625
- /* TablePagination Component Styles - Using Muka Design Tokens */
4435
+ /* Thumbnail */
4436
+ /* Thumbnail Component Styles - Using Muka Design Tokens */
4626
4437
 
4627
- /* ========================================
4628
- PAGINATION CONTAINER
4629
- ======================================== */
4438
+ .muka-thumbnail {
4439
+ position: relative;
4440
+ flex-shrink: 0;
4441
+ }
4630
4442
 
4631
- .muka-table-pagination {
4632
- display: flex;
4633
- align-items: center;
4634
- justify-content: space-between;
4635
- flex-wrap: wrap;
4636
- gap: var(--table-pagination-gap, var(--spacing-4));
4637
- padding: var(--table-pagination-padding, var(--spacing-3));
4638
- background-color: var(--table-pagination-background, var(--color-surface-level1));
4639
- border-top: var(--border-width-regular) solid var(--table-pagination-border, var(--color-border-default));
4640
- font-family: var(--text-body-base-regular-fontFamily);
4641
- font-size: var(--text-body-sm-regular-fontSize);
4642
- line-height: var(--text-body-sm-regular-lineHeight);
4643
- color: var(--color-text-default-default);
4443
+ /* The frame carries the border, background and shape clip. Keeping it separate
4444
+ from the root lets the remove (×) button sit outside the clip (needed for the
4445
+ circular/ellipse shape, whose corners would otherwise clip the button). */
4446
+ .muka-thumbnail__frame {
4447
+ position: absolute;
4448
+ inset: 0;
4449
+ overflow: hidden;
4450
+ border: var(--border-width-regular, 1px) solid var(--color-black-alpha-3);
4451
+ border-radius: var(--border-radius-lg);
4452
+ background-color: var(--color-surface-level1);
4644
4453
  }
4645
4454
 
4646
- /* ========================================
4647
- LEFT SECTION (Page Size & Range)
4648
- ======================================== */
4455
+ /* ─── Shapes ──────────────────────────────────────────── */
4456
+ .muka-thumbnail--4-3 {
4457
+ width: 160px;
4458
+ height: 120px;
4459
+ }
4649
4460
 
4650
- .muka-table-pagination__left {
4651
- display: flex;
4652
- align-items: center;
4653
- gap: var(--spacing-4);
4461
+ .muka-thumbnail--1-1 {
4462
+ width: 120px;
4463
+ height: 120px;
4464
+ }
4465
+
4466
+ .muka-thumbnail--ellipse {
4467
+ width: 120px;
4468
+ height: 120px;
4469
+ }
4470
+
4471
+ /* Fluid: fill the parent's width; the shape sets the height via aspect-ratio. */
4472
+ .muka-thumbnail--fluid {
4473
+ width: 100%;
4474
+ height: auto;
4475
+ aspect-ratio: 1 / 1;
4476
+ }
4477
+
4478
+ .muka-thumbnail--fluid.muka-thumbnail--4-3 {
4479
+ aspect-ratio: 4 / 3;
4480
+ }
4481
+
4482
+ .muka-thumbnail--ellipse .muka-thumbnail__frame {
4483
+ border-radius: var(--border-radius-full);
4484
+ }
4485
+
4486
+ /* Image fills the frame, cropped to cover. Sits at scale(1) by default so the
4487
+ interactive hover zoom has a clean origin. */
4488
+ .muka-thumbnail__image {
4489
+ position: absolute;
4490
+ inset: 0;
4491
+ width: 100%;
4492
+ height: 100%;
4493
+ object-fit: cover;
4494
+ display: block;
4495
+ transform-origin: center;
4496
+ /* Micro-interaction: hover zoom eases out over the "micro" duration. */
4497
+ transition: transform var(--motion-duration-micro) var(--motion-easing-enter);
4498
+ }
4499
+
4500
+ /* ─── Interactive (click-to-enlarge) ──────────────────── */
4501
+ .muka-thumbnail__trigger {
4502
+ position: absolute;
4503
+ inset: 0;
4504
+ padding: 0;
4505
+ border: 0;
4506
+ background: none;
4507
+ cursor: pointer;
4508
+ overflow: hidden;
4509
+ }
4510
+
4511
+ .muka-thumbnail__trigger:focus-visible {
4512
+ outline: 2px solid var(--color-border-focus);
4513
+ outline-offset: -2px;
4514
+ }
4515
+
4516
+ /* On hover the image scales up ~8px (160px → 168px) with an ease-out feel. */
4517
+ .muka-thumbnail--interactive:hover .muka-thumbnail__image {
4518
+ transform: scale(1.05);
4519
+ }
4520
+
4521
+ /* ─── Loading overlay + progress donut ────────────────── */
4522
+ .muka-thumbnail__overlay {
4523
+ position: absolute;
4524
+ inset: 0;
4525
+ display: flex;
4526
+ align-items: center;
4527
+ justify-content: center;
4528
+ background-color: var(--dialog-color-backdrop);
4529
+ }
4530
+
4531
+ .muka-thumbnail__progress {
4532
+ width: 40px;
4533
+ height: 40px;
4534
+ }
4535
+
4536
+ /* ─── Error / corrupt state ───────────────────────────── */
4537
+ .muka-thumbnail--error .muka-thumbnail__frame {
4538
+ background-color: var(--alias-color-state-error-muted);
4539
+ border-color: var(--alias-color-state-error-default);
4540
+ }
4541
+
4542
+ .muka-thumbnail__error {
4543
+ position: absolute;
4544
+ inset: 0;
4545
+ display: flex;
4546
+ flex-direction: column;
4547
+ align-items: center;
4548
+ justify-content: center;
4549
+ gap: var(--spacing-2);
4550
+ padding: var(--spacing-3);
4551
+ text-align: center;
4552
+ }
4553
+
4554
+ .muka-thumbnail__error-icon {
4555
+ color: var(--alert-color-error-accent);
4556
+ }
4557
+
4558
+ .muka-thumbnail__caption {
4559
+ max-width: 100%;
4560
+ overflow: hidden;
4561
+ text-overflow: ellipsis;
4562
+ white-space: nowrap;
4563
+ color: var(--alert-color-error-accent);
4564
+ font-family: var(--text-body-sm-regular-fontFamily);
4565
+ font-size: var(--text-body-sm-regular-fontSize);
4566
+ font-weight: var(--text-body-sm-regular-fontWeight);
4567
+ line-height: var(--text-body-sm-regular-lineHeight);
4568
+ }
4569
+
4570
+ /* ─── Remove (×) button ───────────────────────────────── */
4571
+ .muka-thumbnail__remove {
4572
+ position: absolute;
4573
+ top: var(--spacing-2);
4574
+ right: var(--spacing-2);
4575
+ display: flex;
4576
+ align-items: center;
4577
+ justify-content: center;
4578
+ width: var(--size-2xl);
4579
+ height: var(--size-2xl);
4580
+ padding: 0;
4581
+ color: var(--button-color-tertiary-foreground-default);
4582
+ background-color: var(--button-color-tertiary-background-default);
4583
+ border: var(--border-width-regular, 1px) solid var(--button-color-tertiary-border-default);
4584
+ border-radius: var(--border-radius-lg);
4585
+ cursor: pointer;
4586
+ transition: background-color var(--motion-duration-micro) var(--motion-easing-enter),
4587
+ border-color var(--motion-duration-micro) var(--motion-easing-enter);
4588
+ }
4589
+
4590
+ .muka-thumbnail__remove:hover {
4591
+ color: var(--button-color-tertiary-foreground-hover);
4592
+ background-color: var(--button-color-tertiary-background-hover);
4593
+ border-color: var(--button-color-tertiary-border-hover);
4594
+ }
4595
+
4596
+ .muka-thumbnail__remove:active {
4597
+ color: var(--button-color-tertiary-foreground-pressed);
4598
+ background-color: var(--button-color-tertiary-background-pressed);
4599
+ border-color: var(--button-color-tertiary-border-pressed);
4600
+ }
4601
+
4602
+ .muka-thumbnail__remove:focus-visible {
4603
+ outline: 2px solid var(--color-border-focus);
4604
+ outline-offset: 2px;
4605
+ }
4606
+
4607
+ /* ─── Reduced motion ──────────────────────────────────── */
4608
+ @media (prefers-reduced-motion: reduce) {
4609
+ .muka-thumbnail__image,
4610
+ .muka-thumbnail__remove {
4611
+ transition: none;
4612
+ }
4613
+
4614
+ .muka-thumbnail--interactive:hover .muka-thumbnail__image {
4615
+ transform: none;
4616
+ }
4617
+ }
4618
+
4619
+
4620
+ /* TablePagination */
4621
+ /* TablePagination Component Styles - Using Muka Design Tokens */
4622
+
4623
+ /* ========================================
4624
+ PAGINATION CONTAINER
4625
+ ======================================== */
4626
+
4627
+ .muka-table-pagination {
4628
+ display: flex;
4629
+ align-items: center;
4630
+ justify-content: space-between;
4631
+ flex-wrap: wrap;
4632
+ gap: var(--table-pagination-gap, var(--spacing-4));
4633
+ padding: var(--table-pagination-padding, var(--spacing-3));
4634
+ background-color: var(--table-pagination-background, var(--color-surface-level1));
4635
+ border-top: var(--border-width-regular) solid var(--table-pagination-border, var(--color-border-default));
4636
+ font-family: var(--text-body-base-regular-fontFamily);
4637
+ font-size: var(--text-body-sm-regular-fontSize);
4638
+ line-height: var(--text-body-sm-regular-lineHeight);
4639
+ color: var(--color-text-default-default);
4640
+ }
4641
+
4642
+ /* ========================================
4643
+ LEFT SECTION (Page Size & Range)
4644
+ ======================================== */
4645
+
4646
+ .muka-table-pagination__left {
4647
+ display: flex;
4648
+ align-items: center;
4649
+ gap: var(--spacing-4);
4654
4650
  }
4655
4651
 
4656
4652
  .muka-table-pagination__page-size {
@@ -5025,164 +5021,56 @@ body {
5025
5021
  }
5026
5022
 
5027
5023
 
5028
- /* SwipeActions */
5029
- /* SwipeActions Component Styles */
5024
+ /* Spinner */
5025
+ /* Spinner Component Styles */
5030
5026
 
5031
- .muka-swipe-actions {
5032
- position: relative;
5033
- overflow: hidden;
5034
- touch-action: pan-y;
5035
- -webkit-user-select: none;
5036
- user-select: none;
5037
- background-color: var(--color-surface-level3);
5027
+ .muka-spinner {
5028
+ display: inline-flex;
5029
+ align-items: center;
5030
+ justify-content: center;
5031
+ color: var(--color-text-default-default);
5032
+ line-height: 0;
5038
5033
  }
5039
5034
 
5040
- .muka-swipe-actions--disabled {
5041
- touch-action: auto;
5035
+ .muka-spinner--subtle {
5036
+ color: var(--color-text-subtle-default);
5042
5037
  }
5043
5038
 
5044
- /* ─── Row that holds the actual content ────────────────── */
5039
+ .muka-spinner--inverse {
5040
+ color: var(--color-text-default-inverse);
5041
+ }
5045
5042
 
5046
- .muka-swipe-actions__row {
5047
- position: relative;
5048
- z-index: 1;
5049
- background-color: inherit;
5050
- will-change: transform;
5043
+ .muka-spinner__circle {
5044
+ display: inline-block;
5045
+ border-radius: 50%;
5046
+ border-style: solid;
5047
+ border-color: currentColor;
5048
+ border-right-color: transparent;
5049
+ animation: muka-spinner-rotate 0.7s linear infinite;
5050
+ box-sizing: border-box;
5051
5051
  }
5052
5052
 
5053
- /* ─── Action panels — sit beneath the row ──────────────── */
5053
+ /* ─── Sizes ───────────────────────────────────────────── */
5054
5054
 
5055
- .muka-swipe-actions__panel {
5056
- position: absolute;
5057
- top: 0;
5058
- bottom: 0;
5059
- display: flex;
5060
- align-items: stretch;
5061
- z-index: 0;
5055
+ .muka-spinner--sm .muka-spinner__circle {
5056
+ width: 16px;
5057
+ height: 16px;
5058
+ border-width: 2px;
5062
5059
  }
5063
5060
 
5064
- .muka-swipe-actions__panel--left {
5065
- left: 0;
5061
+ .muka-spinner--md .muka-spinner__circle {
5062
+ width: 20px;
5063
+ height: 20px;
5064
+ border-width: 2px;
5066
5065
  }
5067
5066
 
5068
- .muka-swipe-actions__panel--right {
5069
- right: 0;
5067
+ .muka-spinner--lg .muka-spinner__circle {
5068
+ width: 24px;
5069
+ height: 24px;
5070
+ border-width: 3px;
5070
5071
  }
5071
5072
 
5072
- /* ─── Single action button ─────────────────────────────── */
5073
-
5074
- .muka-swipe-actions__button {
5075
- display: flex;
5076
- flex-direction: column;
5077
- align-items: center;
5078
- justify-content: center;
5079
- gap: var(--spacing-1);
5080
- border: none;
5081
- cursor: pointer;
5082
- padding: var(--spacing-2);
5083
- background-color: var(--color-surface-level2);
5084
- color: var(--color-text-default-default);
5085
- font-family: var(--text-label-sm-semibold-fontFamily);
5086
- font-weight: var(--text-label-sm-semibold-fontWeight);
5087
- font-size: var(--text-label-sm-semibold-fontSize);
5088
- line-height: var(--text-label-sm-semibold-lineHeight);
5089
- -webkit-tap-highlight-color: transparent;
5090
- transition: filter 0.12s ease;
5091
- }
5092
-
5093
- .muka-swipe-actions__button:hover {
5094
- filter: brightness(0.95);
5095
- }
5096
-
5097
- .muka-swipe-actions__button:focus-visible {
5098
- outline: 2px solid var(--color-action-default);
5099
- outline-offset: -2px;
5100
- }
5101
-
5102
- .muka-swipe-actions__button-icon {
5103
- display: inline-flex;
5104
- align-items: center;
5105
- justify-content: center;
5106
- }
5107
-
5108
- /* ─── Color variants ───────────────────────────────────── */
5109
-
5110
- .muka-swipe-actions__button--neutral {
5111
- background-color: var(--color-surface-level2);
5112
- color: var(--color-text-default-default);
5113
- }
5114
-
5115
- .muka-swipe-actions__button--primary {
5116
- background-color: var(--color-action-default);
5117
- color: var(--color-text-default-inverse);
5118
- }
5119
-
5120
- .muka-swipe-actions__button--success {
5121
- background-color: var(--color-state-success-default);
5122
- color: var(--color-text-default-inverse);
5123
- }
5124
-
5125
- .muka-swipe-actions__button--warning {
5126
- background-color: var(--color-state-warning-default);
5127
- color: var(--color-text-default-default);
5128
- }
5129
-
5130
- .muka-swipe-actions__button--destructive {
5131
- background-color: var(--color-state-error-default);
5132
- color: var(--color-text-default-inverse);
5133
- }
5134
-
5135
-
5136
- /* Spinner */
5137
- /* Spinner Component Styles */
5138
-
5139
- .muka-spinner {
5140
- display: inline-flex;
5141
- align-items: center;
5142
- justify-content: center;
5143
- color: var(--color-text-default-default);
5144
- line-height: 0;
5145
- }
5146
-
5147
- .muka-spinner--subtle {
5148
- color: var(--color-text-subtle-default);
5149
- }
5150
-
5151
- .muka-spinner--inverse {
5152
- color: var(--color-text-default-inverse);
5153
- }
5154
-
5155
- .muka-spinner__circle {
5156
- display: inline-block;
5157
- border-radius: 50%;
5158
- border-style: solid;
5159
- border-color: currentColor;
5160
- border-right-color: transparent;
5161
- animation: muka-spinner-rotate 0.7s linear infinite;
5162
- box-sizing: border-box;
5163
- }
5164
-
5165
- /* ─── Sizes ───────────────────────────────────────────── */
5166
-
5167
- .muka-spinner--sm .muka-spinner__circle {
5168
- width: 16px;
5169
- height: 16px;
5170
- border-width: 2px;
5171
- }
5172
-
5173
- .muka-spinner--md .muka-spinner__circle {
5174
- width: 20px;
5175
- height: 20px;
5176
- border-width: 2px;
5177
- }
5178
-
5179
- .muka-spinner--lg .muka-spinner__circle {
5180
- width: 24px;
5181
- height: 24px;
5182
- border-width: 3px;
5183
- }
5184
-
5185
- /* ─── Visually-hidden label ───────────────────────────── */
5073
+ /* ─── Visually-hidden label ───────────────────────────── */
5186
5074
 
5187
5075
  .muka-spinner__sr-label {
5188
5076
  position: absolute;
@@ -5819,6 +5707,126 @@ body {
5819
5707
  }
5820
5708
  }
5821
5709
 
5710
+ /*
5711
+ * layout="full" (Figma Public header, Bouwplan): the content spans the width,
5712
+ * the nav sits between brand and actions (space-between), and the inset grows
5713
+ * with the screen: 24/16 on small screens, 16/24 from 768px, 32 from 1536px.
5714
+ * Safe-area insets still win where they are larger.
5715
+ */
5716
+ .muka-site-header--full .muka-site-header__inner {
5717
+ max-width: none;
5718
+ justify-content: space-between;
5719
+ }
5720
+
5721
+ .muka-site-header--full .muka-site-header__actions {
5722
+ margin-left: 0;
5723
+ }
5724
+
5725
+ @media (min-width: 768px) {
5726
+ .muka-site-header--full .muka-site-header__inner {
5727
+ padding-block: var(--spacing-4);
5728
+ padding-left: max(var(--spacing-6), env(safe-area-inset-left, 0px));
5729
+ padding-right: max(var(--spacing-6), env(safe-area-inset-right, 0px));
5730
+ }
5731
+ }
5732
+
5733
+ @media (min-width: 1536px) {
5734
+ .muka-site-header--full .muka-site-header__inner {
5735
+ padding-block: var(--spacing-8);
5736
+ padding-left: max(var(--spacing-8), env(safe-area-inset-left, 0px));
5737
+ padding-right: max(var(--spacing-8), env(safe-area-inset-right, 0px));
5738
+ }
5739
+ }
5740
+
5741
+ /* Small screens: no nav, so the actions take the end on their own. */
5742
+ @media (max-width: 767px) {
5743
+ .muka-site-header--full .muka-site-header__actions {
5744
+ margin-left: auto;
5745
+ }
5746
+ }
5747
+
5748
+
5749
+ /* Sheet */
5750
+ /* Sheet Component Styles */
5751
+
5752
+ /* ─── Backdrop ────────────────────────────────────────── */
5753
+
5754
+ .muka-sheet__overlay {
5755
+ position: fixed;
5756
+ inset: 0;
5757
+ background-color: var(--color-surface-backdrop);
5758
+ -webkit-backdrop-filter: blur(var(--effect-blur-backdrop));
5759
+ backdrop-filter: blur(var(--effect-blur-backdrop));
5760
+ z-index: 50;
5761
+ }
5762
+
5763
+ /* ─── Surface ─────────────────────────────────────────── */
5764
+
5765
+ .muka-sheet {
5766
+ position: fixed;
5767
+ left: 0;
5768
+ right: 0;
5769
+ bottom: 0;
5770
+ z-index: 51;
5771
+
5772
+ display: flex;
5773
+ flex-direction: column;
5774
+
5775
+ max-height: 96dvh;
5776
+
5777
+ background-color: var(--color-surface-level3);
5778
+ border-top-left-radius: var(--radius-lg);
5779
+ border-top-right-radius: var(--radius-lg);
5780
+ box-shadow: var(--shadow-level5);
5781
+
5782
+ outline: none;
5783
+ }
5784
+
5785
+ /* Safe-area bottom inset for the iPhone home indicator. */
5786
+ .muka-sheet:not(.muka-sheet--no-safe-area) {
5787
+ padding-bottom: env(safe-area-inset-bottom);
5788
+ }
5789
+
5790
+ /* ─── Drag handle ─────────────────────────────────────── */
5791
+
5792
+ .muka-sheet__handle-container {
5793
+ display: flex;
5794
+ justify-content: center;
5795
+ flex-shrink: 0;
5796
+ padding: var(--spacing-3) 0;
5797
+ }
5798
+
5799
+ .muka-sheet__handle {
5800
+ width: var(--dialog-drag-handle-width);
5801
+ height: var(--dialog-drag-handle-height);
5802
+ background-color: var(--dialog-drag-handle-color);
5803
+ border-radius: var(--dialog-drag-handle-radius);
5804
+ }
5805
+
5806
+ /* ─── Body (scrollable) ───────────────────────────────── */
5807
+
5808
+ .muka-sheet__body {
5809
+ flex: 1 1 0%;
5810
+ min-height: 0;
5811
+ overflow-y: auto;
5812
+ -webkit-overflow-scrolling: touch;
5813
+ overscroll-behavior: contain;
5814
+ }
5815
+
5816
+ /* ─── Visually-hidden title (a11y) ────────────────────── */
5817
+
5818
+ .muka-sheet__sr-title {
5819
+ position: absolute;
5820
+ width: 1px;
5821
+ height: 1px;
5822
+ padding: 0;
5823
+ margin: -1px;
5824
+ overflow: hidden;
5825
+ clip: rect(0, 0, 0, 0);
5826
+ white-space: nowrap;
5827
+ border: 0;
5828
+ }
5829
+
5822
5830
 
5823
5831
  /* Select */
5824
5832
  /* Select Component Styles - Aligned with Input for consistency */
@@ -8120,6 +8128,8 @@ button.muka-progress-tracker__tab:focus-visible {
8120
8128
 
8121
8129
  .muka-profile-badge {
8122
8130
  display: inline-flex;
8131
+ max-width: 100%;
8132
+ min-width: 0;
8123
8133
  align-items: center;
8124
8134
  font-family: var(--text-body-base-regular-fontFamily);
8125
8135
  }
@@ -8133,6 +8143,10 @@ button.muka-progress-tracker__tab:focus-visible {
8133
8143
  gap: var(--spacing-3); /* 12px */
8134
8144
  }
8135
8145
 
8146
+ .muka-profile-badge--sm {
8147
+ gap: var(--spacing-2); /* 8px */
8148
+ }
8149
+
8136
8150
  .muka-profile-badge__avatar {
8137
8151
  flex-shrink: 0;
8138
8152
  }
@@ -8146,6 +8160,10 @@ button.muka-progress-tracker__tab:focus-visible {
8146
8160
  }
8147
8161
 
8148
8162
  .muka-profile-badge__name {
8163
+ max-width: 100%;
8164
+ overflow: hidden;
8165
+ text-overflow: ellipsis;
8166
+ white-space: nowrap;
8149
8167
  font-family: var(--text-body-base-regular-fontFamily);
8150
8168
  font-size: var(--text-body-base-regular-fontSize);
8151
8169
  font-weight: var(--text-body-base-regular-fontWeight);
@@ -8185,6 +8203,39 @@ button.muka-progress-tracker__tab:focus-visible {
8185
8203
  outline-offset: 2px;
8186
8204
  }
8187
8205
 
8206
+ /* Trailing chevron: the badge opens a menu */
8207
+ .muka-profile-badge__chevron {
8208
+ flex-shrink: 0;
8209
+ }
8210
+
8211
+ /*
8212
+ * A clickable badge with a chevron is a pill (Figma Profile Badge, Bouwplan
8213
+ * header): 4px inset on the avatar side, 12px after the chevron. The border
8214
+ * is an inset shadow so it appears on hover and while the menu is open
8215
+ * without moving the content.
8216
+ */
8217
+ .muka-profile-badge--clickable.muka-profile-badge--with-chevron {
8218
+ padding: var(--spacing-1) var(--spacing-3) var(--spacing-1) var(--spacing-1);
8219
+ border-radius: var(--radius-full);
8220
+ transition: box-shadow 0.2s ease;
8221
+ }
8222
+
8223
+ .muka-profile-badge--clickable.muka-profile-badge--with-chevron:hover,
8224
+ .muka-profile-badge--clickable.muka-profile-badge--with-chevron:active {
8225
+ opacity: 1;
8226
+ }
8227
+
8228
+ .muka-profile-badge--clickable.muka-profile-badge--with-chevron:hover,
8229
+ .muka-profile-badge--clickable.muka-profile-badge--with-chevron[aria-expanded='true'],
8230
+ .muka-profile-badge--clickable.muka-profile-badge--with-chevron[data-state='open'] {
8231
+ box-shadow: inset 0 0 0 var(--border-width-regular) var(--button-color-ghost-border-hover);
8232
+ }
8233
+
8234
+ /* A badge without an avatar keeps the 12px start inset */
8235
+ .muka-profile-badge--clickable.muka-profile-badge--with-chevron:not(:has(.muka-profile-badge__avatar)) {
8236
+ padding-left: var(--spacing-3);
8237
+ }
8238
+
8188
8239
 
8189
8240
  /* PriceTag */
8190
8241
  /* PriceTag Component Styles - Using Muka Design Tokens */
@@ -9136,104 +9187,22 @@ button.muka-progress-tracker__tab:focus-visible {
9136
9187
  }
9137
9188
 
9138
9189
 
9139
- /* Sheet */
9140
- /* Sheet Component Styles */
9190
+ /* NumberInput */
9191
+ /* NumberInput — reuses Input field styles (../Input/Input.css). */
9192
+ /* Only the prefix/suffix affixes are NumberInput-specific. */
9141
9193
 
9142
- /* ─── Backdrop ────────────────────────────────────────── */
9143
-
9144
- .muka-sheet__overlay {
9145
- position: fixed;
9146
- inset: 0;
9147
- background-color: var(--color-surface-backdrop);
9148
- -webkit-backdrop-filter: blur(var(--effect-blur-backdrop));
9149
- backdrop-filter: blur(var(--effect-blur-backdrop));
9150
- z-index: 50;
9151
- }
9152
-
9153
- /* ─── Surface ─────────────────────────────────────────── */
9154
-
9155
- .muka-sheet {
9156
- position: fixed;
9157
- left: 0;
9158
- right: 0;
9159
- bottom: 0;
9160
- z-index: 51;
9161
-
9162
- display: flex;
9163
- flex-direction: column;
9164
-
9165
- max-height: 96dvh;
9166
-
9167
- background-color: var(--color-surface-level3);
9168
- border-top-left-radius: var(--radius-lg);
9169
- border-top-right-radius: var(--radius-lg);
9170
- box-shadow: var(--shadow-level5);
9171
-
9172
- outline: none;
9173
- }
9174
-
9175
- /* Safe-area bottom inset for the iPhone home indicator. */
9176
- .muka-sheet:not(.muka-sheet--no-safe-area) {
9177
- padding-bottom: env(safe-area-inset-bottom);
9178
- }
9179
-
9180
- /* ─── Drag handle ─────────────────────────────────────── */
9181
-
9182
- .muka-sheet__handle-container {
9183
- display: flex;
9184
- justify-content: center;
9185
- flex-shrink: 0;
9186
- padding: var(--spacing-3) 0;
9187
- }
9188
-
9189
- .muka-sheet__handle {
9190
- width: var(--dialog-drag-handle-width);
9191
- height: var(--dialog-drag-handle-height);
9192
- background-color: var(--dialog-drag-handle-color);
9193
- border-radius: var(--dialog-drag-handle-radius);
9194
- }
9195
-
9196
- /* ─── Body (scrollable) ───────────────────────────────── */
9197
-
9198
- .muka-sheet__body {
9199
- flex: 1 1 0%;
9200
- min-height: 0;
9201
- overflow-y: auto;
9202
- -webkit-overflow-scrolling: touch;
9203
- overscroll-behavior: contain;
9204
- }
9205
-
9206
- /* ─── Visually-hidden title (a11y) ────────────────────── */
9207
-
9208
- .muka-sheet__sr-title {
9209
- position: absolute;
9210
- width: 1px;
9211
- height: 1px;
9212
- padding: 0;
9213
- margin: -1px;
9214
- overflow: hidden;
9215
- clip: rect(0, 0, 0, 0);
9216
- white-space: nowrap;
9217
- border: 0;
9218
- }
9219
-
9220
-
9221
- /* NumberInput */
9222
- /* NumberInput — reuses Input field styles (../Input/Input.css). */
9223
- /* Only the prefix/suffix affixes are NumberInput-specific. */
9224
-
9225
- .muka-numberinput__addon {
9226
- display: inline-flex;
9227
- align-items: center;
9228
- flex: none;
9229
- color: var(--color-text-subtle-default);
9230
- font-family: var(--text-input-md-fontFamily);
9231
- font-size: var(--text-input-md-fontSize);
9232
- line-height: var(--text-input-md-lineHeight);
9233
- user-select: none;
9234
- pointer-events: none;
9235
- white-space: nowrap;
9236
- }
9194
+ .muka-numberinput__addon {
9195
+ display: inline-flex;
9196
+ align-items: center;
9197
+ flex: none;
9198
+ color: var(--color-text-subtle-default);
9199
+ font-family: var(--text-input-md-fontFamily);
9200
+ font-size: var(--text-input-md-fontSize);
9201
+ line-height: var(--text-input-md-lineHeight);
9202
+ user-select: none;
9203
+ pointer-events: none;
9204
+ white-space: nowrap;
9205
+ }
9237
9206
 
9238
9207
  /* Hide the native number spinners — affixes/step API replace them. */
9239
9208
  .muka-numberinput__field .muka-input__native::-webkit-outer-spin-button,
@@ -9772,6 +9741,39 @@ button.muka-progress-tracker__tab:focus-visible {
9772
9741
  }
9773
9742
  }
9774
9743
 
9744
+ /* ─── Items with an icon: compact ListItem rows ──────────────────────────── */
9745
+
9746
+ /*
9747
+ * A menu whose items carry an icon uses the compact ListItem layout (Figma
9748
+ * ListItem × Padding=Compact, the Bouwplan account menu): a 12px inset on the
9749
+ * list, rows with an 8px inset, a 32px icon slot holding a 20px icon, 12px
9750
+ * between icon and label. The icon takes
9751
+ * the menu's icon colour, so an `<Icon>` passed in doesn't need a colour or
9752
+ * a size of its own. Menus without icons keep their tighter rows.
9753
+ */
9754
+ .muka-menu__viewport:has(.muka-menu__item-icon) {
9755
+ padding: var(--spacing-3);
9756
+ }
9757
+
9758
+ .muka-menu__item:has(> .muka-menu__item-icon) {
9759
+ gap: var(--spacing-3);
9760
+ padding-top: var(--spacing-2);
9761
+ padding-bottom: var(--spacing-2);
9762
+ padding-left: var(--spacing-2);
9763
+ }
9764
+
9765
+ .muka-menu__item-icon {
9766
+ min-width: var(--size-2xl);
9767
+ min-height: var(--size-2xl);
9768
+ }
9769
+
9770
+ .muka-menu__item-icon > .muka-icon,
9771
+ .muka-menu__item-icon > svg {
9772
+ width: var(--icon-size-sm);
9773
+ height: var(--icon-size-sm);
9774
+ color: inherit;
9775
+ }
9776
+
9775
9777
 
9776
9778
  /* MediaViewer */
9777
9779
  /* MediaViewer Component Styles - Using Muka Design Tokens */
@@ -10241,6 +10243,43 @@ li.muka-listitem {
10241
10243
  display: none;
10242
10244
  }
10243
10245
 
10246
+ /* ─── Compact padding ──────────────────────────────────── */
10247
+
10248
+ /*
10249
+ * Figma ListItem × Padding=Compact: an 8px inset, 12px between leading and
10250
+ * label, a 32px leading slot (a 20px icon centred, or a 32px avatar) and a
10251
+ * regular-weight label. Used in menus and short navigation lists.
10252
+ */
10253
+ .muka-listitem--compact {
10254
+ align-items: center;
10255
+ gap: var(--spacing-3);
10256
+ padding: var(--spacing-2);
10257
+ }
10258
+
10259
+ .muka-listitem--compact .muka-listitem__leading {
10260
+ width: var(--size-2xl);
10261
+ height: var(--size-2xl);
10262
+ }
10263
+
10264
+ .muka-listitem--compact .muka-listitem__icon {
10265
+ width: var(--size-2xl);
10266
+ height: var(--size-2xl);
10267
+ }
10268
+
10269
+ .muka-listitem--compact .muka-listitem__image {
10270
+ width: var(--size-2xl);
10271
+ height: var(--size-2xl);
10272
+ border-radius: var(--radius-sm);
10273
+ }
10274
+
10275
+ .muka-listitem--compact .muka-listitem__label {
10276
+ font-weight: var(--text-label-md-regular-fontWeight);
10277
+ }
10278
+
10279
+ .muka-listitem--compact .muka-listitem__content {
10280
+ gap: var(--spacing-3);
10281
+ }
10282
+
10244
10283
 
10245
10284
  /* LicensePlateInput */
10246
10285
  /* LicensePlateInput — Dutch RDW-style plate input
@@ -10935,26 +10974,6 @@ li.muka-listitem {
10935
10974
  }
10936
10975
 
10937
10976
 
10938
- /* Form */
10939
- .muka-form {
10940
- display: flex;
10941
- flex-direction: column;
10942
- width: 100%;
10943
- }
10944
-
10945
- .muka-form--gap-sm {
10946
- gap: var(--size-sm);
10947
- }
10948
-
10949
- .muka-form--gap-md {
10950
- gap: var(--size-md);
10951
- }
10952
-
10953
- .muka-form--gap-lg {
10954
- gap: var(--size-lg);
10955
- }
10956
-
10957
-
10958
10977
  /* Icon */
10959
10978
  /* Icon Component Styles - Using Muka Design Tokens */
10960
10979
 
@@ -11009,6 +11028,26 @@ li.muka-listitem {
11009
11028
  }
11010
11029
 
11011
11030
 
11031
+ /* Form */
11032
+ .muka-form {
11033
+ display: flex;
11034
+ flex-direction: column;
11035
+ width: 100%;
11036
+ }
11037
+
11038
+ .muka-form--gap-sm {
11039
+ gap: var(--size-sm);
11040
+ }
11041
+
11042
+ .muka-form--gap-md {
11043
+ gap: var(--size-md);
11044
+ }
11045
+
11046
+ .muka-form--gap-lg {
11047
+ gap: var(--size-lg);
11048
+ }
11049
+
11050
+
11012
11051
  /* FileUpload */
11013
11052
  /* FileUpload Component Styles */
11014
11053
 
@@ -14235,6 +14274,47 @@ button.muka-chip__trailing[aria-expanded='true'],
14235
14274
  }
14236
14275
 
14237
14276
 
14277
+ /* ChatQuestionSeries */
14278
+ /* ChatQuestionSeries — step dots and the collapsed summary (experimental) */
14279
+ .muka-chat-series__dots {
14280
+ display: inline-flex;
14281
+ align-items: center;
14282
+ gap: var(--spacing-1);
14283
+ }
14284
+
14285
+ .muka-chat-series__dot {
14286
+ width: var(--spacing-1);
14287
+ height: var(--spacing-1);
14288
+ border-radius: var(--border-radius-full);
14289
+ background-color: var(--color-border-default);
14290
+ }
14291
+
14292
+ .muka-chat-series__dot--done {
14293
+ background-color: var(--color-text-subtle-default);
14294
+ }
14295
+
14296
+ .muka-chat-series__dot--current {
14297
+ width: var(--spacing-2);
14298
+ height: var(--spacing-2);
14299
+ background-color: var(--color-text-default-default);
14300
+ }
14301
+
14302
+ .muka-chat-series__summary {
14303
+ display: flex;
14304
+ flex-direction: column;
14305
+ gap: var(--spacing-2);
14306
+ }
14307
+
14308
+ .muka-chat-series__summary-row {
14309
+ display: flex;
14310
+ flex-direction: column;
14311
+ }
14312
+
14313
+ .muka-chat-series__summary-question {
14314
+ color: var(--color-text-subtle-default);
14315
+ }
14316
+
14317
+
14238
14318
  /* ChatQuestionCard */
14239
14319
  /*
14240
14320
  * ChatQuestionCard — in-thread question widget (experimental).
@@ -14436,45 +14516,72 @@ button.muka-chat-photo-grid__tile:focus-visible {
14436
14516
  }
14437
14517
 
14438
14518
 
14439
- /* ChatQuestionSeries */
14440
- /* ChatQuestionSeries — step dots and the collapsed summary (experimental) */
14441
- .muka-chat-series__dots {
14442
- display: inline-flex;
14443
- align-items: center;
14444
- gap: var(--spacing-1);
14445
- }
14446
-
14447
- .muka-chat-series__dot {
14448
- width: var(--spacing-1);
14449
- height: var(--spacing-1);
14450
- border-radius: var(--border-radius-full);
14451
- background-color: var(--color-border-default);
14452
- }
14453
-
14454
- .muka-chat-series__dot--done {
14455
- background-color: var(--color-text-subtle-default);
14456
- }
14457
-
14458
- .muka-chat-series__dot--current {
14459
- width: var(--spacing-2);
14460
- height: var(--spacing-2);
14461
- background-color: var(--color-text-default-default);
14462
- }
14519
+ /* ChatMessageStack */
14520
+ /* ChatMessageStack Component Styles */
14463
14521
 
14464
- .muka-chat-series__summary {
14522
+ .muka-chat-message-stack {
14465
14523
  display: flex;
14466
14524
  flex-direction: column;
14467
- gap: var(--spacing-2);
14525
+ gap: var(--chatbubble-stack-gap);
14526
+ width: 100%;
14527
+ max-width: 100%;
14468
14528
  }
14469
14529
 
14470
- .muka-chat-series__summary-row {
14530
+ .muka-chat-message-stack__messages {
14471
14531
  display: flex;
14472
14532
  flex-direction: column;
14533
+ gap: var(--chatbubble-stack-gap);
14534
+ width: 100%;
14473
14535
  }
14474
14536
 
14475
- .muka-chat-series__summary-question {
14476
- color: var(--color-text-subtle-default);
14477
- }
14537
+ /*
14538
+ * Reasoning sits above the stack, indented past the avatar rail so it lines up
14539
+ * with the bubbles rather than with the avatar (Figma 5379:47300).
14540
+ */
14541
+ .muka-chat-message-stack__reasoning {
14542
+ min-width: 0;
14543
+ }
14544
+
14545
+ /* In-thread widgets after the messages share the reasoning's indent. */
14546
+ .muka-chat-message-stack__widgets {
14547
+ display: flex;
14548
+ flex-direction: column;
14549
+ gap: var(--chatbubble-stack-gap);
14550
+ min-width: 0;
14551
+ }
14552
+
14553
+ .muka-chat-message-stack--has-avatar .muka-chat-message-stack__widgets,
14554
+ .muka-chat-message-stack--has-avatar .muka-chat-message-stack__reasoning {
14555
+ padding-left: calc(var(--chatbubble-avatar-size) + var(--chatbubble-row-gap));
14556
+ }
14557
+
14558
+ .muka-chat-message-stack--own.muka-chat-message-stack--has-avatar
14559
+ .muka-chat-message-stack__widgets,
14560
+ .muka-chat-message-stack--own.muka-chat-message-stack--has-avatar
14561
+ .muka-chat-message-stack__reasoning {
14562
+ padding-left: 0;
14563
+ padding-right: calc(var(--chatbubble-avatar-size) + var(--chatbubble-row-gap));
14564
+ }
14565
+
14566
+ /* Follow the message's compact rail and gap below the desktop breakpoint */
14567
+ @media (max-width: 1023px) {
14568
+ .muka-chat-message-stack--has-avatar .muka-chat-message-stack__widgets,
14569
+ .muka-chat-message-stack--has-avatar .muka-chat-message-stack__reasoning {
14570
+ padding-left: calc(
14571
+ var(--chatbubble-avatar-size-compact) + var(--chatbubble-row-gap-compact)
14572
+ );
14573
+ }
14574
+
14575
+ .muka-chat-message-stack--own.muka-chat-message-stack--has-avatar
14576
+ .muka-chat-message-stack__widgets,
14577
+ .muka-chat-message-stack--own.muka-chat-message-stack--has-avatar
14578
+ .muka-chat-message-stack__reasoning {
14579
+ padding-left: 0;
14580
+ padding-right: calc(
14581
+ var(--chatbubble-avatar-size-compact) + var(--chatbubble-row-gap-compact)
14582
+ );
14583
+ }
14584
+ }
14478
14585
 
14479
14586
 
14480
14587
  /* ChatMessageList */
@@ -15205,74 +15312,6 @@ button.muka-chat-photo-grid__tile:focus-visible {
15205
15312
  }
15206
15313
 
15207
15314
 
15208
- /* ChatMessageStack */
15209
- /* ChatMessageStack Component Styles */
15210
-
15211
- .muka-chat-message-stack {
15212
- display: flex;
15213
- flex-direction: column;
15214
- gap: var(--chatbubble-stack-gap);
15215
- width: 100%;
15216
- max-width: 100%;
15217
- }
15218
-
15219
- .muka-chat-message-stack__messages {
15220
- display: flex;
15221
- flex-direction: column;
15222
- gap: var(--chatbubble-stack-gap);
15223
- width: 100%;
15224
- }
15225
-
15226
- /*
15227
- * Reasoning sits above the stack, indented past the avatar rail so it lines up
15228
- * with the bubbles rather than with the avatar (Figma 5379:47300).
15229
- */
15230
- .muka-chat-message-stack__reasoning {
15231
- min-width: 0;
15232
- }
15233
-
15234
- /* In-thread widgets after the messages share the reasoning's indent. */
15235
- .muka-chat-message-stack__widgets {
15236
- display: flex;
15237
- flex-direction: column;
15238
- gap: var(--chatbubble-stack-gap);
15239
- min-width: 0;
15240
- }
15241
-
15242
- .muka-chat-message-stack--has-avatar .muka-chat-message-stack__widgets,
15243
- .muka-chat-message-stack--has-avatar .muka-chat-message-stack__reasoning {
15244
- padding-left: calc(var(--chatbubble-avatar-size) + var(--chatbubble-row-gap));
15245
- }
15246
-
15247
- .muka-chat-message-stack--own.muka-chat-message-stack--has-avatar
15248
- .muka-chat-message-stack__widgets,
15249
- .muka-chat-message-stack--own.muka-chat-message-stack--has-avatar
15250
- .muka-chat-message-stack__reasoning {
15251
- padding-left: 0;
15252
- padding-right: calc(var(--chatbubble-avatar-size) + var(--chatbubble-row-gap));
15253
- }
15254
-
15255
- /* Follow the message's compact rail and gap below the desktop breakpoint */
15256
- @media (max-width: 1023px) {
15257
- .muka-chat-message-stack--has-avatar .muka-chat-message-stack__widgets,
15258
- .muka-chat-message-stack--has-avatar .muka-chat-message-stack__reasoning {
15259
- padding-left: calc(
15260
- var(--chatbubble-avatar-size-compact) + var(--chatbubble-row-gap-compact)
15261
- );
15262
- }
15263
-
15264
- .muka-chat-message-stack--own.muka-chat-message-stack--has-avatar
15265
- .muka-chat-message-stack__widgets,
15266
- .muka-chat-message-stack--own.muka-chat-message-stack--has-avatar
15267
- .muka-chat-message-stack__reasoning {
15268
- padding-left: 0;
15269
- padding-right: calc(
15270
- var(--chatbubble-avatar-size-compact) + var(--chatbubble-row-gap-compact)
15271
- );
15272
- }
15273
- }
15274
-
15275
-
15276
15315
  /* ChatChoiceCard */
15277
15316
  /* ChatChoiceCard — compact option rows (experimental) */
15278
15317
  .muka-chat-choice__list {
@@ -15309,105 +15348,261 @@ button.muka-chat-photo-grid__tile:focus-visible {
15309
15348
  }
15310
15349
 
15311
15350
 
15312
- /* Card */
15313
- /* Card Component Styles - Using Muka Design Tokens */
15351
+ /* ChatAttachmentChip */
15352
+ /* ChatAttachmentChip Component Styles */
15314
15353
 
15315
- .muka-card {
15316
- background-color: var(--card-color-default-background);
15317
- color: var(--card-color-default-foreground);
15318
- border: var(--border-width-regular) solid var(--card-color-default-border);
15319
- box-shadow: var(--card-shadow-default);
15320
- transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
15354
+ .muka-chat-attachment-chip {
15355
+ position: relative;
15356
+ display: inline-flex;
15357
+ align-items: center;
15358
+ gap: var(--spacing-1);
15359
+ max-width: 240px;
15360
+ padding: var(--spacing-2) var(--spacing-3);
15361
+ background-color: var(--color-surface-level1);
15362
+ border: var(--border-width-regular) solid var(--color-border-default);
15363
+ border-radius: var(--radius-md);
15321
15364
  overflow: hidden;
15322
15365
  }
15323
15366
 
15324
- /* Padding variants */
15325
- .muka-card--padding-none {
15326
- padding: 0;
15327
- }
15328
-
15329
- .muka-card--padding-sm {
15330
- padding: var(--card-padding-sm);
15331
- }
15332
-
15333
- .muka-card--padding-md {
15334
- padding: var(--card-padding-md);
15367
+ .muka-chat-attachment-chip--uploading {
15368
+ padding-bottom: calc(var(--spacing-2) + 2px);
15335
15369
  }
15336
15370
 
15337
- .muka-card--padding-lg {
15338
- padding: var(--card-padding-lg);
15371
+ .muka-chat-attachment-chip--error {
15372
+ border-color: var(--color-state-error-default, var(--color-text-default-default));
15339
15373
  }
15340
15374
 
15341
- /* Radius variants */
15342
- .muka-card--radius-sm {
15343
- border-radius: var(--card-radius-sm);
15375
+ .muka-chat-attachment-chip--disabled {
15376
+ opacity: 0.5;
15377
+ pointer-events: none;
15344
15378
  }
15345
15379
 
15346
- .muka-card--radius-md {
15347
- border-radius: var(--card-radius-md);
15348
- }
15380
+ /* ─── Body (icon + text) ───────────────────────────────── */
15349
15381
 
15350
- .muka-card--radius-lg {
15351
- border-radius: var(--card-radius-lg);
15382
+ .muka-chat-attachment-chip__body {
15383
+ display: inline-flex;
15384
+ align-items: center;
15385
+ gap: var(--spacing-2);
15386
+ min-width: 0;
15387
+ flex: 1 1 auto;
15388
+ background: none;
15389
+ border: none;
15390
+ padding: 0;
15391
+ margin: 0;
15392
+ text-align: left;
15393
+ color: inherit;
15394
+ font: inherit;
15395
+ cursor: default;
15396
+ -webkit-tap-highlight-color: transparent;
15352
15397
  }
15353
15398
 
15354
- /* Interactive variant */
15355
- .muka-card--interactive {
15399
+ .muka-chat-attachment-chip--interactive .muka-chat-attachment-chip__body {
15356
15400
  cursor: pointer;
15357
- user-select: none;
15358
- }
15359
-
15360
- .muka-card--interactive:hover {
15361
- background-color: var(--card-color-hover-background);
15362
- border-color: var(--card-color-hover-border);
15363
- box-shadow: var(--card-shadow-hover);
15364
- }
15365
-
15366
- .muka-card--interactive:active,
15367
- .muka-card--interactive.muka-card--pressed {
15368
- background-color: var(--card-color-pressed-background);
15369
- border-color: var(--card-color-pressed-border);
15370
- box-shadow: var(--card-shadow-pressed);
15371
15401
  }
15372
15402
 
15373
- .muka-card--interactive:focus-visible {
15374
- outline: 2px solid var(--color-border-focus);
15403
+ .muka-chat-attachment-chip--interactive .muka-chat-attachment-chip__body:focus-visible {
15404
+ outline: 2px solid var(--color-action-default);
15375
15405
  outline-offset: 2px;
15406
+ border-radius: var(--radius-sm);
15376
15407
  }
15377
15408
 
15378
- /* Selected variant */
15379
- .muka-card--selected {
15380
- background-color: var(--card-color-selected-background);
15381
- border-color: var(--card-color-selected-border);
15382
- border-width: var(--border-width-bold);
15383
- box-shadow: var(--card-shadow-selected);
15409
+ .muka-chat-attachment-chip__icon {
15410
+ display: inline-flex;
15411
+ align-items: center;
15412
+ justify-content: center;
15413
+ flex-shrink: 0;
15414
+ color: var(--color-text-subtle-default);
15384
15415
  }
15385
15416
 
15386
- /* Tone: sticky note (MUK-105) */
15387
- .muka-card--tone-note {
15388
- background-color: var(--card-color-note-background);
15389
- color: var(--card-color-note-foreground);
15390
- border-color: var(--card-color-note-border);
15391
- box-shadow: var(--card-shadow-note);
15417
+ .muka-chat-attachment-chip__text {
15418
+ display: flex;
15419
+ flex-direction: column;
15420
+ min-width: 0;
15421
+ flex: 1 1 auto;
15392
15422
  }
15393
15423
 
15394
- .muka-card--tone-note.muka-card--interactive:hover,
15395
- .muka-card--tone-note.muka-card--interactive:active,
15396
- .muka-card--tone-note.muka-card--interactive.muka-card--pressed {
15397
- background-color: var(--card-color-note-background);
15398
- border-color: var(--card-color-note-border);
15424
+ .muka-chat-attachment-chip__name {
15425
+ color: var(--color-text-default-default);
15426
+ font-family: var(--text-body-sm-regular-fontFamily);
15427
+ font-weight: var(--text-body-sm-regular-fontWeight);
15428
+ font-size: var(--text-body-sm-regular-fontSize);
15429
+ line-height: var(--text-body-sm-regular-lineHeight);
15430
+ white-space: nowrap;
15431
+ overflow: hidden;
15432
+ text-overflow: ellipsis;
15399
15433
  }
15400
15434
 
15401
- .muka-card--tilt-left {
15402
- transform: rotate(-0.75deg);
15435
+ .muka-chat-attachment-chip__meta {
15436
+ color: var(--color-text-subtle-default);
15437
+ font-family: var(--text-body-sm-regular-fontFamily);
15438
+ font-weight: var(--text-body-sm-regular-fontWeight);
15439
+ font-size: var(--text-body-sm-regular-fontSize);
15440
+ line-height: var(--text-body-sm-regular-lineHeight);
15441
+ white-space: nowrap;
15442
+ overflow: hidden;
15443
+ text-overflow: ellipsis;
15403
15444
  }
15404
15445
 
15405
- .muka-card--tilt-right {
15406
- transform: rotate(0.6deg);
15446
+ .muka-chat-attachment-chip--error .muka-chat-attachment-chip__meta {
15447
+ color: var(--color-state-error-default, var(--color-text-default-default));
15407
15448
  }
15408
15449
 
15409
- @media (prefers-reduced-motion: no-preference) {
15410
- .muka-card--tilt-left,
15450
+ /* ─── Remove button ────────────────────────────────────── */
15451
+
15452
+ .muka-chat-attachment-chip__remove {
15453
+ display: inline-flex;
15454
+ align-items: center;
15455
+ justify-content: center;
15456
+ width: 20px;
15457
+ height: 20px;
15458
+ border: none;
15459
+ background: none;
15460
+ padding: 0;
15461
+ border-radius: var(--radius-sm);
15462
+ cursor: pointer;
15463
+ color: var(--color-text-subtle-default);
15464
+ flex-shrink: 0;
15465
+ -webkit-tap-highlight-color: transparent;
15466
+ }
15467
+
15468
+ .muka-chat-attachment-chip__remove:hover:not(:disabled) {
15469
+ color: var(--color-text-default-default);
15470
+ background-color: var(--color-surface-level2);
15471
+ }
15472
+
15473
+ .muka-chat-attachment-chip__remove:focus-visible {
15474
+ outline: 2px solid var(--color-action-default);
15475
+ outline-offset: 2px;
15476
+ }
15477
+
15478
+ .muka-chat-attachment-chip__remove:disabled {
15479
+ cursor: not-allowed;
15480
+ opacity: 0.5;
15481
+ }
15482
+
15483
+ /* ─── Progress bar ─────────────────────────────────────── */
15484
+
15485
+ .muka-chat-attachment-chip__progress {
15486
+ position: absolute;
15487
+ left: 0;
15488
+ right: 0;
15489
+ bottom: 0;
15490
+ height: 2px;
15491
+ background-color: var(--color-surface-level2);
15492
+ overflow: hidden;
15493
+ }
15494
+
15495
+ .muka-chat-attachment-chip__progress-fill {
15496
+ display: block;
15497
+ height: 100%;
15498
+ background-color: var(--color-action-default);
15499
+ transition: width 0.16s ease;
15500
+ }
15501
+
15502
+ .muka-chat-attachment-chip--error .muka-chat-attachment-chip__progress-fill {
15503
+ background-color: var(--color-state-error-default, var(--color-text-default-default));
15504
+ }
15505
+
15506
+
15507
+ /* Card */
15508
+ /* Card Component Styles - Using Muka Design Tokens */
15509
+
15510
+ .muka-card {
15511
+ background-color: var(--card-color-default-background);
15512
+ color: var(--card-color-default-foreground);
15513
+ border: var(--border-width-regular) solid var(--card-color-default-border);
15514
+ box-shadow: var(--card-shadow-default);
15515
+ transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
15516
+ overflow: hidden;
15517
+ }
15518
+
15519
+ /* Padding variants */
15520
+ .muka-card--padding-none {
15521
+ padding: 0;
15522
+ }
15523
+
15524
+ .muka-card--padding-sm {
15525
+ padding: var(--card-padding-sm);
15526
+ }
15527
+
15528
+ .muka-card--padding-md {
15529
+ padding: var(--card-padding-md);
15530
+ }
15531
+
15532
+ .muka-card--padding-lg {
15533
+ padding: var(--card-padding-lg);
15534
+ }
15535
+
15536
+ /* Radius variants */
15537
+ .muka-card--radius-sm {
15538
+ border-radius: var(--card-radius-sm);
15539
+ }
15540
+
15541
+ .muka-card--radius-md {
15542
+ border-radius: var(--card-radius-md);
15543
+ }
15544
+
15545
+ .muka-card--radius-lg {
15546
+ border-radius: var(--card-radius-lg);
15547
+ }
15548
+
15549
+ /* Interactive variant */
15550
+ .muka-card--interactive {
15551
+ cursor: pointer;
15552
+ user-select: none;
15553
+ }
15554
+
15555
+ .muka-card--interactive:hover {
15556
+ background-color: var(--card-color-hover-background);
15557
+ border-color: var(--card-color-hover-border);
15558
+ box-shadow: var(--card-shadow-hover);
15559
+ }
15560
+
15561
+ .muka-card--interactive:active,
15562
+ .muka-card--interactive.muka-card--pressed {
15563
+ background-color: var(--card-color-pressed-background);
15564
+ border-color: var(--card-color-pressed-border);
15565
+ box-shadow: var(--card-shadow-pressed);
15566
+ }
15567
+
15568
+ .muka-card--interactive:focus-visible {
15569
+ outline: 2px solid var(--color-border-focus);
15570
+ outline-offset: 2px;
15571
+ }
15572
+
15573
+ /* Selected variant */
15574
+ .muka-card--selected {
15575
+ background-color: var(--card-color-selected-background);
15576
+ border-color: var(--card-color-selected-border);
15577
+ border-width: var(--border-width-bold);
15578
+ box-shadow: var(--card-shadow-selected);
15579
+ }
15580
+
15581
+ /* Tone: sticky note (MUK-105) */
15582
+ .muka-card--tone-note {
15583
+ background-color: var(--card-color-note-background);
15584
+ color: var(--card-color-note-foreground);
15585
+ border-color: var(--card-color-note-border);
15586
+ box-shadow: var(--card-shadow-note);
15587
+ }
15588
+
15589
+ .muka-card--tone-note.muka-card--interactive:hover,
15590
+ .muka-card--tone-note.muka-card--interactive:active,
15591
+ .muka-card--tone-note.muka-card--interactive.muka-card--pressed {
15592
+ background-color: var(--card-color-note-background);
15593
+ border-color: var(--card-color-note-border);
15594
+ }
15595
+
15596
+ .muka-card--tilt-left {
15597
+ transform: rotate(-0.75deg);
15598
+ }
15599
+
15600
+ .muka-card--tilt-right {
15601
+ transform: rotate(0.6deg);
15602
+ }
15603
+
15604
+ @media (prefers-reduced-motion: no-preference) {
15605
+ .muka-card--tilt-left,
15411
15606
  .muka-card--tilt-right {
15412
15607
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
15413
15608
  }
@@ -16285,237 +16480,81 @@ button.muka-chat-photo-grid__tile:focus-visible {
16285
16480
  }
16286
16481
 
16287
16482
 
16288
- /* ChatAttachmentChip */
16289
- /* ChatAttachmentChip Component Styles */
16483
+ /* BadgeNumber */
16484
+ /* BadgeNumber Component Styles - Using Muka Design Tokens */
16290
16485
 
16291
- .muka-chat-attachment-chip {
16292
- position: relative;
16486
+ .muka-badge-number {
16293
16487
  display: inline-flex;
16294
16488
  align-items: center;
16295
- gap: var(--spacing-1);
16296
- max-width: 240px;
16297
- padding: var(--spacing-2) var(--spacing-3);
16298
- background-color: var(--color-surface-level1);
16299
- border: var(--border-width-regular) solid var(--color-border-default);
16300
- border-radius: var(--radius-md);
16301
- overflow: hidden;
16489
+ justify-content: center;
16490
+ border-radius: var(--border-radius-full);
16491
+ white-space: nowrap;
16492
+ user-select: none;
16493
+ box-sizing: border-box;
16302
16494
  }
16303
16495
 
16304
- .muka-chat-attachment-chip--uploading {
16305
- padding-bottom: calc(var(--spacing-2) + 2px);
16496
+ /*
16497
+ * Sizes — fixed height, matching min-width (so a single digit renders as a
16498
+ * circle), horizontal padding, and bold label typography. Vertical centering
16499
+ * is handled by the fixed height + align-items: center.
16500
+ */
16501
+ .muka-badge-number--2xs {
16502
+ height: var(--badge-number-size-2xs);
16503
+ min-width: var(--badge-number-size-2xs);
16504
+ padding: 0 var(--badge-number-padding-2xs);
16505
+ font-family: var(--text-label-xs-bold-fontFamily);
16506
+ font-weight: var(--text-label-xs-bold-fontWeight);
16507
+ font-size: var(--text-label-xs-bold-fontSize);
16508
+ line-height: var(--text-label-xs-bold-lineHeight);
16306
16509
  }
16307
16510
 
16308
- .muka-chat-attachment-chip--error {
16309
- border-color: var(--color-state-error-default, var(--color-text-default-default));
16511
+ .muka-badge-number--xs {
16512
+ height: var(--badge-number-size-xs);
16513
+ min-width: var(--badge-number-size-xs);
16514
+ padding: 0 var(--badge-number-padding-xs);
16515
+ font-family: var(--text-label-sm-bold-fontFamily);
16516
+ font-weight: var(--text-label-sm-bold-fontWeight);
16517
+ font-size: var(--text-label-sm-bold-fontSize);
16518
+ line-height: var(--text-label-sm-bold-lineHeight);
16310
16519
  }
16311
16520
 
16312
- .muka-chat-attachment-chip--disabled {
16313
- opacity: 0.5;
16314
- pointer-events: none;
16521
+ .muka-badge-number--sm {
16522
+ height: var(--badge-number-size-sm);
16523
+ min-width: var(--badge-number-size-sm);
16524
+ padding: 0 var(--badge-number-padding-sm);
16525
+ font-family: var(--text-label-md-bold-fontFamily);
16526
+ font-weight: var(--text-label-md-bold-fontWeight);
16527
+ font-size: var(--text-label-md-bold-fontSize);
16528
+ line-height: var(--text-label-md-bold-lineHeight);
16315
16529
  }
16316
16530
 
16317
- /* ─── Body (icon + text) ───────────────────────────────── */
16531
+ .muka-badge-number--md {
16532
+ height: var(--badge-number-size-md);
16533
+ min-width: var(--badge-number-size-md);
16534
+ padding: 0 var(--badge-number-padding-md);
16535
+ font-family: var(--text-label-lg-bold-fontFamily);
16536
+ font-weight: var(--text-label-lg-bold-fontWeight);
16537
+ font-size: var(--text-label-lg-bold-fontSize);
16538
+ line-height: var(--text-label-lg-bold-lineHeight);
16539
+ }
16318
16540
 
16319
- .muka-chat-attachment-chip__body {
16320
- display: inline-flex;
16321
- align-items: center;
16322
- gap: var(--spacing-2);
16323
- min-width: 0;
16324
- flex: 1 1 auto;
16325
- background: none;
16326
- border: none;
16327
- padding: 0;
16328
- margin: 0;
16329
- text-align: left;
16330
- color: inherit;
16331
- font: inherit;
16332
- cursor: default;
16333
- -webkit-tap-highlight-color: transparent;
16541
+ .muka-badge-number--lg {
16542
+ height: var(--badge-number-size-lg);
16543
+ min-width: var(--badge-number-size-lg);
16544
+ padding: 0 var(--badge-number-padding-lg);
16545
+ font-family: var(--text-label-2xl-bold-fontFamily);
16546
+ font-weight: var(--text-label-2xl-bold-fontWeight);
16547
+ font-size: var(--text-label-2xl-bold-fontSize);
16548
+ line-height: var(--text-label-2xl-bold-lineHeight);
16334
16549
  }
16335
16550
 
16336
- .muka-chat-attachment-chip--interactive .muka-chat-attachment-chip__body {
16337
- cursor: pointer;
16338
- }
16339
-
16340
- .muka-chat-attachment-chip--interactive .muka-chat-attachment-chip__body:focus-visible {
16341
- outline: 2px solid var(--color-action-default);
16342
- outline-offset: 2px;
16343
- border-radius: var(--radius-sm);
16344
- }
16345
-
16346
- .muka-chat-attachment-chip__icon {
16347
- display: inline-flex;
16348
- align-items: center;
16349
- justify-content: center;
16350
- flex-shrink: 0;
16351
- color: var(--color-text-subtle-default);
16352
- }
16353
-
16354
- .muka-chat-attachment-chip__text {
16355
- display: flex;
16356
- flex-direction: column;
16357
- min-width: 0;
16358
- flex: 1 1 auto;
16359
- }
16360
-
16361
- .muka-chat-attachment-chip__name {
16362
- color: var(--color-text-default-default);
16363
- font-family: var(--text-body-sm-regular-fontFamily);
16364
- font-weight: var(--text-body-sm-regular-fontWeight);
16365
- font-size: var(--text-body-sm-regular-fontSize);
16366
- line-height: var(--text-body-sm-regular-lineHeight);
16367
- white-space: nowrap;
16368
- overflow: hidden;
16369
- text-overflow: ellipsis;
16370
- }
16371
-
16372
- .muka-chat-attachment-chip__meta {
16373
- color: var(--color-text-subtle-default);
16374
- font-family: var(--text-body-sm-regular-fontFamily);
16375
- font-weight: var(--text-body-sm-regular-fontWeight);
16376
- font-size: var(--text-body-sm-regular-fontSize);
16377
- line-height: var(--text-body-sm-regular-lineHeight);
16378
- white-space: nowrap;
16379
- overflow: hidden;
16380
- text-overflow: ellipsis;
16381
- }
16382
-
16383
- .muka-chat-attachment-chip--error .muka-chat-attachment-chip__meta {
16384
- color: var(--color-state-error-default, var(--color-text-default-default));
16385
- }
16386
-
16387
- /* ─── Remove button ────────────────────────────────────── */
16388
-
16389
- .muka-chat-attachment-chip__remove {
16390
- display: inline-flex;
16391
- align-items: center;
16392
- justify-content: center;
16393
- width: 20px;
16394
- height: 20px;
16395
- border: none;
16396
- background: none;
16397
- padding: 0;
16398
- border-radius: var(--radius-sm);
16399
- cursor: pointer;
16400
- color: var(--color-text-subtle-default);
16401
- flex-shrink: 0;
16402
- -webkit-tap-highlight-color: transparent;
16403
- }
16404
-
16405
- .muka-chat-attachment-chip__remove:hover:not(:disabled) {
16406
- color: var(--color-text-default-default);
16407
- background-color: var(--color-surface-level2);
16408
- }
16409
-
16410
- .muka-chat-attachment-chip__remove:focus-visible {
16411
- outline: 2px solid var(--color-action-default);
16412
- outline-offset: 2px;
16413
- }
16414
-
16415
- .muka-chat-attachment-chip__remove:disabled {
16416
- cursor: not-allowed;
16417
- opacity: 0.5;
16418
- }
16419
-
16420
- /* ─── Progress bar ─────────────────────────────────────── */
16421
-
16422
- .muka-chat-attachment-chip__progress {
16423
- position: absolute;
16424
- left: 0;
16425
- right: 0;
16426
- bottom: 0;
16427
- height: 2px;
16428
- background-color: var(--color-surface-level2);
16429
- overflow: hidden;
16430
- }
16431
-
16432
- .muka-chat-attachment-chip__progress-fill {
16433
- display: block;
16434
- height: 100%;
16435
- background-color: var(--color-action-default);
16436
- transition: width 0.16s ease;
16437
- }
16438
-
16439
- .muka-chat-attachment-chip--error .muka-chat-attachment-chip__progress-fill {
16440
- background-color: var(--color-state-error-default, var(--color-text-default-default));
16441
- }
16442
-
16443
-
16444
- /* BadgeNumber */
16445
- /* BadgeNumber Component Styles - Using Muka Design Tokens */
16446
-
16447
- .muka-badge-number {
16448
- display: inline-flex;
16449
- align-items: center;
16450
- justify-content: center;
16451
- border-radius: var(--border-radius-full);
16452
- white-space: nowrap;
16453
- user-select: none;
16454
- box-sizing: border-box;
16455
- }
16456
-
16457
- /*
16458
- * Sizes — fixed height, matching min-width (so a single digit renders as a
16459
- * circle), horizontal padding, and bold label typography. Vertical centering
16460
- * is handled by the fixed height + align-items: center.
16461
- */
16462
- .muka-badge-number--2xs {
16463
- height: var(--badge-number-size-2xs);
16464
- min-width: var(--badge-number-size-2xs);
16465
- padding: 0 var(--badge-number-padding-2xs);
16466
- font-family: var(--text-label-xs-bold-fontFamily);
16467
- font-weight: var(--text-label-xs-bold-fontWeight);
16468
- font-size: var(--text-label-xs-bold-fontSize);
16469
- line-height: var(--text-label-xs-bold-lineHeight);
16470
- }
16471
-
16472
- .muka-badge-number--xs {
16473
- height: var(--badge-number-size-xs);
16474
- min-width: var(--badge-number-size-xs);
16475
- padding: 0 var(--badge-number-padding-xs);
16476
- font-family: var(--text-label-sm-bold-fontFamily);
16477
- font-weight: var(--text-label-sm-bold-fontWeight);
16478
- font-size: var(--text-label-sm-bold-fontSize);
16479
- line-height: var(--text-label-sm-bold-lineHeight);
16480
- }
16481
-
16482
- .muka-badge-number--sm {
16483
- height: var(--badge-number-size-sm);
16484
- min-width: var(--badge-number-size-sm);
16485
- padding: 0 var(--badge-number-padding-sm);
16486
- font-family: var(--text-label-md-bold-fontFamily);
16487
- font-weight: var(--text-label-md-bold-fontWeight);
16488
- font-size: var(--text-label-md-bold-fontSize);
16489
- line-height: var(--text-label-md-bold-lineHeight);
16490
- }
16491
-
16492
- .muka-badge-number--md {
16493
- height: var(--badge-number-size-md);
16494
- min-width: var(--badge-number-size-md);
16495
- padding: 0 var(--badge-number-padding-md);
16496
- font-family: var(--text-label-lg-bold-fontFamily);
16497
- font-weight: var(--text-label-lg-bold-fontWeight);
16498
- font-size: var(--text-label-lg-bold-fontSize);
16499
- line-height: var(--text-label-lg-bold-lineHeight);
16500
- }
16501
-
16502
- .muka-badge-number--lg {
16503
- height: var(--badge-number-size-lg);
16504
- min-width: var(--badge-number-size-lg);
16505
- padding: 0 var(--badge-number-padding-lg);
16506
- font-family: var(--text-label-2xl-bold-fontFamily);
16507
- font-weight: var(--text-label-2xl-bold-fontWeight);
16508
- font-size: var(--text-label-2xl-bold-fontSize);
16509
- line-height: var(--text-label-2xl-bold-lineHeight);
16510
- }
16511
-
16512
- .muka-badge-number__label {
16513
- /*
16514
- * The badge sets a tight line-height for compact sizing, which would clip
16515
- * glyph descenders; give the label a roomier line-height. Vertical centering
16516
- * is unaffected because the badge height is fixed and content is centered.
16517
- */
16518
- line-height: normal;
16551
+ .muka-badge-number__label {
16552
+ /*
16553
+ * The badge sets a tight line-height for compact sizing, which would clip
16554
+ * glyph descenders; give the label a roomier line-height. Vertical centering
16555
+ * is unaffected because the badge height is fixed and content is centered.
16556
+ */
16557
+ line-height: normal;
16519
16558
  }
16520
16559
 
16521
16560
  /* Neutral variant */
@@ -17120,6 +17159,72 @@ button.muka-chat-photo-grid__tile:focus-visible {
17120
17159
  }
17121
17160
 
17122
17161
 
17162
+ /* Autocomplete */
17163
+ /* Autocomplete — Figma Input Autocomplete (Input field + single-line suggestion Menu).
17164
+ The field reuses the Input styles (.muka-input*); only the menu wiring lives here. */
17165
+
17166
+ .muka-autocomplete {
17167
+ min-width: 200px;
17168
+ }
17169
+
17170
+ /* Covers the field's outer edge so the menu matches its full width. The menu
17171
+ is only open while focused, when the field has the bold border. */
17172
+ .muka-autocomplete__menu-anchor {
17173
+ position: absolute;
17174
+ inset: calc(-1 * var(--border-width-bold));
17175
+ z-index: 0;
17176
+ margin: 0;
17177
+ padding: 0;
17178
+ border: none;
17179
+ background: transparent;
17180
+ pointer-events: none;
17181
+ opacity: 0;
17182
+ }
17183
+
17184
+ /* Keep the field content above the invisible anchor. */
17185
+ .muka-autocomplete__field > :not(.muka-autocomplete__menu-anchor) {
17186
+ position: relative;
17187
+ z-index: 1;
17188
+ }
17189
+
17190
+ /* Figma: the menu is as wide as the field (never below the menu min-width token). */
17191
+ .muka-autocomplete__menu {
17192
+ width: var(--radix-dropdown-menu-trigger-width);
17193
+ max-width: calc(100vw - 2rem);
17194
+ }
17195
+
17196
+ /* Suggestions are single-line; long labels truncate. */
17197
+ .muka-autocomplete__menu .muka-menu__item-label {
17198
+ overflow: hidden;
17199
+ text-overflow: ellipsis;
17200
+ }
17201
+
17202
+ /* Loading and empty rows: menu-row geometry, not selectable. */
17203
+ .muka-autocomplete__status {
17204
+ display: flex;
17205
+ align-items: center;
17206
+ gap: var(--menu-item-gap);
17207
+ min-height: var(--menu-item-height);
17208
+ padding: var(--menu-item-padding-y) var(--menu-item-padding-x);
17209
+ color: var(--color-text-subtle-default);
17210
+ font-family: var(--text-label-md-regular-fontFamily);
17211
+ font-size: var(--text-label-md-regular-fontSize);
17212
+ font-weight: var(--text-label-md-regular-fontWeight);
17213
+ line-height: var(--text-label-md-regular-lineHeight);
17214
+ }
17215
+
17216
+ .muka-autocomplete__footer {
17217
+ flex-shrink: 0;
17218
+ padding: var(--spacing-2) var(--spacing-3);
17219
+ border-top: var(--border-width-regular) solid var(--color-border-default);
17220
+ color: var(--color-text-subtle-default);
17221
+ font-family: var(--text-label-sm-regular-fontFamily);
17222
+ font-size: var(--text-label-sm-regular-fontSize);
17223
+ font-weight: var(--text-label-sm-regular-fontWeight);
17224
+ line-height: var(--text-label-sm-regular-lineHeight);
17225
+ }
17226
+
17227
+
17123
17228
  /* AppShell */
17124
17229
  /* AppShell Component Styles */
17125
17230
 
@@ -17242,74 +17347,8 @@ button.muka-chat-photo-grid__tile:focus-visible {
17242
17347
  }
17243
17348
 
17244
17349
 
17245
- /* Autocomplete */
17246
- /* Autocomplete — Figma Input Autocomplete (Input field + single-line suggestion Menu).
17247
- The field reuses the Input styles (.muka-input*); only the menu wiring lives here. */
17248
-
17249
- .muka-autocomplete {
17250
- min-width: 200px;
17251
- }
17252
-
17253
- /* Covers the field's outer edge so the menu matches its full width. The menu
17254
- is only open while focused, when the field has the bold border. */
17255
- .muka-autocomplete__menu-anchor {
17256
- position: absolute;
17257
- inset: calc(-1 * var(--border-width-bold));
17258
- z-index: 0;
17259
- margin: 0;
17260
- padding: 0;
17261
- border: none;
17262
- background: transparent;
17263
- pointer-events: none;
17264
- opacity: 0;
17265
- }
17266
-
17267
- /* Keep the field content above the invisible anchor. */
17268
- .muka-autocomplete__field > :not(.muka-autocomplete__menu-anchor) {
17269
- position: relative;
17270
- z-index: 1;
17271
- }
17272
-
17273
- /* Figma: the menu is as wide as the field (never below the menu min-width token). */
17274
- .muka-autocomplete__menu {
17275
- width: var(--radix-dropdown-menu-trigger-width);
17276
- max-width: calc(100vw - 2rem);
17277
- }
17278
-
17279
- /* Suggestions are single-line; long labels truncate. */
17280
- .muka-autocomplete__menu .muka-menu__item-label {
17281
- overflow: hidden;
17282
- text-overflow: ellipsis;
17283
- }
17284
-
17285
- /* Loading and empty rows: menu-row geometry, not selectable. */
17286
- .muka-autocomplete__status {
17287
- display: flex;
17288
- align-items: center;
17289
- gap: var(--menu-item-gap);
17290
- min-height: var(--menu-item-height);
17291
- padding: var(--menu-item-padding-y) var(--menu-item-padding-x);
17292
- color: var(--color-text-subtle-default);
17293
- font-family: var(--text-label-md-regular-fontFamily);
17294
- font-size: var(--text-label-md-regular-fontSize);
17295
- font-weight: var(--text-label-md-regular-fontWeight);
17296
- line-height: var(--text-label-md-regular-lineHeight);
17297
- }
17298
-
17299
- .muka-autocomplete__footer {
17300
- flex-shrink: 0;
17301
- padding: var(--spacing-2) var(--spacing-3);
17302
- border-top: var(--border-width-regular) solid var(--color-border-default);
17303
- color: var(--color-text-subtle-default);
17304
- font-family: var(--text-label-sm-regular-fontFamily);
17305
- font-size: var(--text-label-sm-regular-fontSize);
17306
- font-weight: var(--text-label-sm-regular-fontWeight);
17307
- line-height: var(--text-label-sm-regular-lineHeight);
17308
- }
17309
-
17310
-
17311
- /* Alert */
17312
- /* Alert Component Styles - Using Muka Design Tokens */
17350
+ /* Alert */
17351
+ /* Alert Component Styles - Using Muka Design Tokens */
17313
17352
 
17314
17353
  .muka-alert {
17315
17354
  display: flex;
@@ -17688,6 +17727,148 @@ button.muka-chat-photo-grid__tile:focus-visible {
17688
17727
  }
17689
17728
 
17690
17729
 
17730
+ /* ActionSheet */
17731
+ /* ActionSheet Component Styles */
17732
+
17733
+ .muka-action-sheet__inner {
17734
+ display: flex;
17735
+ flex-direction: column;
17736
+ padding: 0 var(--spacing-4) var(--spacing-3) var(--spacing-4);
17737
+ gap: var(--spacing-3);
17738
+ }
17739
+
17740
+ /* ─── Header ──────────────────────────────────────────── */
17741
+
17742
+ .muka-action-sheet__header {
17743
+ display: flex;
17744
+ flex-direction: column;
17745
+ align-items: center;
17746
+ gap: var(--spacing-1);
17747
+ padding: var(--spacing-2) 0 var(--spacing-3);
17748
+ text-align: center;
17749
+ }
17750
+
17751
+ .muka-action-sheet__title {
17752
+ margin: 0;
17753
+ color: var(--color-text-default-default);
17754
+ font-family: var(--text-label-md-semibold-fontFamily);
17755
+ font-weight: var(--text-label-md-semibold-fontWeight);
17756
+ font-size: var(--text-label-md-semibold-fontSize);
17757
+ line-height: var(--text-label-md-semibold-lineHeight);
17758
+ }
17759
+
17760
+ .muka-action-sheet__description {
17761
+ margin: 0;
17762
+ color: var(--color-text-subtle-default);
17763
+ font-family: var(--text-body-sm-regular-fontFamily);
17764
+ font-weight: var(--text-body-sm-regular-fontWeight);
17765
+ font-size: var(--text-body-sm-regular-fontSize);
17766
+ line-height: var(--text-body-sm-regular-lineHeight);
17767
+ }
17768
+
17769
+ /* ─── Actions group ───────────────────────────────────── */
17770
+
17771
+ .muka-action-sheet__actions {
17772
+ display: flex;
17773
+ flex-direction: column;
17774
+ background-color: var(--color-surface-level1);
17775
+ border-radius: var(--radius-md);
17776
+ overflow: hidden;
17777
+ }
17778
+
17779
+ .muka-action-sheet__item {
17780
+ display: flex;
17781
+ align-items: center;
17782
+ gap: var(--spacing-3);
17783
+ padding: var(--spacing-3) var(--spacing-4);
17784
+ background: none;
17785
+ border: none;
17786
+ cursor: pointer;
17787
+ text-align: left;
17788
+ color: var(--color-text-default-default);
17789
+ font-family: var(--text-body-base-regular-fontFamily);
17790
+ font-weight: var(--text-body-base-regular-fontWeight);
17791
+ font-size: var(--text-body-base-regular-fontSize);
17792
+ line-height: var(--text-body-base-regular-lineHeight);
17793
+ -webkit-tap-highlight-color: transparent;
17794
+ transition: background-color 0.12s ease;
17795
+ }
17796
+
17797
+ .muka-action-sheet__item + .muka-action-sheet__item {
17798
+ border-top: var(--border-width-regular) solid var(--color-border-default);
17799
+ }
17800
+
17801
+ .muka-action-sheet__item:hover:not(:disabled) {
17802
+ background-color: var(--color-surface-level2);
17803
+ }
17804
+
17805
+ .muka-action-sheet__item:active:not(:disabled) {
17806
+ background-color: var(--color-surface-level3);
17807
+ }
17808
+
17809
+ .muka-action-sheet__item:focus-visible {
17810
+ outline: 2px solid var(--color-action-default);
17811
+ outline-offset: -2px;
17812
+ }
17813
+
17814
+ .muka-action-sheet__item--destructive {
17815
+ color: var(--color-state-error-default);
17816
+ }
17817
+
17818
+ .muka-action-sheet__item--disabled,
17819
+ .muka-action-sheet__item:disabled {
17820
+ opacity: 0.5;
17821
+ cursor: not-allowed;
17822
+ }
17823
+
17824
+ .muka-action-sheet__item-icon {
17825
+ display: inline-flex;
17826
+ align-items: center;
17827
+ justify-content: center;
17828
+ width: 24px;
17829
+ height: 24px;
17830
+ flex-shrink: 0;
17831
+ }
17832
+
17833
+ .muka-action-sheet__item-icon svg {
17834
+ width: 100%;
17835
+ height: 100%;
17836
+ }
17837
+
17838
+ .muka-action-sheet__item-label {
17839
+ flex: 1;
17840
+ }
17841
+
17842
+ /* ─── Cancel button (separate at bottom) ──────────────── */
17843
+
17844
+ .muka-action-sheet__cancel {
17845
+ display: flex;
17846
+ align-items: center;
17847
+ justify-content: center;
17848
+ padding: var(--spacing-3) var(--spacing-4);
17849
+ background-color: var(--color-surface-level1);
17850
+ border: none;
17851
+ border-radius: var(--radius-md);
17852
+ cursor: pointer;
17853
+ color: var(--color-text-default-default);
17854
+ font-family: var(--text-label-md-semibold-fontFamily);
17855
+ font-weight: var(--text-label-md-semibold-fontWeight);
17856
+ font-size: var(--text-label-md-semibold-fontSize);
17857
+ line-height: var(--text-label-md-semibold-lineHeight);
17858
+ -webkit-tap-highlight-color: transparent;
17859
+ transition: background-color 0.12s ease;
17860
+ }
17861
+
17862
+ .muka-action-sheet__cancel:hover {
17863
+ background-color: var(--color-surface-level2);
17864
+ }
17865
+
17866
+ .muka-action-sheet__cancel:focus-visible {
17867
+ outline: 2px solid var(--color-action-default);
17868
+ outline-offset: 2px;
17869
+ }
17870
+
17871
+
17691
17872
  /* Accordion */
17692
17873
  /* Accordion Component Styles */
17693
17874
 
@@ -17819,144 +18000,110 @@ button.muka-chat-photo-grid__tile:focus-visible {
17819
18000
  }
17820
18001
 
17821
18002
 
17822
- /* ActionSheet */
17823
- /* ActionSheet Component Styles */
18003
+ /* SwipeActions */
18004
+ /* SwipeActions Component Styles */
17824
18005
 
17825
- .muka-action-sheet__inner {
17826
- display: flex;
17827
- flex-direction: column;
17828
- padding: 0 var(--spacing-4) var(--spacing-3) var(--spacing-4);
17829
- gap: var(--spacing-3);
18006
+ .muka-swipe-actions {
18007
+ position: relative;
18008
+ overflow: hidden;
18009
+ touch-action: pan-y;
18010
+ -webkit-user-select: none;
18011
+ user-select: none;
18012
+ background-color: var(--color-surface-level3);
17830
18013
  }
17831
18014
 
17832
- /* ─── Header ──────────────────────────────────────────── */
18015
+ .muka-swipe-actions--disabled {
18016
+ touch-action: auto;
18017
+ }
17833
18018
 
17834
- .muka-action-sheet__header {
18019
+ /* ─── Row that holds the actual content ────────────────── */
18020
+
18021
+ .muka-swipe-actions__row {
18022
+ position: relative;
18023
+ z-index: 1;
18024
+ background-color: inherit;
18025
+ will-change: transform;
18026
+ }
18027
+
18028
+ /* ─── Action panels — sit beneath the row ──────────────── */
18029
+
18030
+ .muka-swipe-actions__panel {
18031
+ position: absolute;
18032
+ top: 0;
18033
+ bottom: 0;
17835
18034
  display: flex;
17836
- flex-direction: column;
17837
- align-items: center;
17838
- gap: var(--spacing-1);
17839
- padding: var(--spacing-2) 0 var(--spacing-3);
17840
- text-align: center;
18035
+ align-items: stretch;
18036
+ z-index: 0;
17841
18037
  }
17842
18038
 
17843
- .muka-action-sheet__title {
17844
- margin: 0;
17845
- color: var(--color-text-default-default);
17846
- font-family: var(--text-label-md-semibold-fontFamily);
17847
- font-weight: var(--text-label-md-semibold-fontWeight);
17848
- font-size: var(--text-label-md-semibold-fontSize);
17849
- line-height: var(--text-label-md-semibold-lineHeight);
18039
+ .muka-swipe-actions__panel--left {
18040
+ left: 0;
17850
18041
  }
17851
18042
 
17852
- .muka-action-sheet__description {
17853
- margin: 0;
17854
- color: var(--color-text-subtle-default);
17855
- font-family: var(--text-body-sm-regular-fontFamily);
17856
- font-weight: var(--text-body-sm-regular-fontWeight);
17857
- font-size: var(--text-body-sm-regular-fontSize);
17858
- line-height: var(--text-body-sm-regular-lineHeight);
18043
+ .muka-swipe-actions__panel--right {
18044
+ right: 0;
17859
18045
  }
17860
18046
 
17861
- /* ─── Actions group ───────────────────────────────────── */
18047
+ /* ─── Single action button ─────────────────────────────── */
17862
18048
 
17863
- .muka-action-sheet__actions {
18049
+ .muka-swipe-actions__button {
17864
18050
  display: flex;
17865
18051
  flex-direction: column;
17866
- background-color: var(--color-surface-level1);
17867
- border-radius: var(--radius-md);
17868
- overflow: hidden;
17869
- }
17870
-
17871
- .muka-action-sheet__item {
17872
- display: flex;
17873
18052
  align-items: center;
17874
- gap: var(--spacing-3);
17875
- padding: var(--spacing-3) var(--spacing-4);
17876
- background: none;
18053
+ justify-content: center;
18054
+ gap: var(--spacing-1);
17877
18055
  border: none;
17878
18056
  cursor: pointer;
17879
- text-align: left;
18057
+ padding: var(--spacing-2);
18058
+ background-color: var(--color-surface-level2);
17880
18059
  color: var(--color-text-default-default);
17881
- font-family: var(--text-body-base-regular-fontFamily);
17882
- font-weight: var(--text-body-base-regular-fontWeight);
17883
- font-size: var(--text-body-base-regular-fontSize);
17884
- line-height: var(--text-body-base-regular-lineHeight);
18060
+ font-family: var(--text-label-sm-semibold-fontFamily);
18061
+ font-weight: var(--text-label-sm-semibold-fontWeight);
18062
+ font-size: var(--text-label-sm-semibold-fontSize);
18063
+ line-height: var(--text-label-sm-semibold-lineHeight);
17885
18064
  -webkit-tap-highlight-color: transparent;
17886
- transition: background-color 0.12s ease;
17887
- }
17888
-
17889
- .muka-action-sheet__item + .muka-action-sheet__item {
17890
- border-top: var(--border-width-regular) solid var(--color-border-default);
17891
- }
17892
-
17893
- .muka-action-sheet__item:hover:not(:disabled) {
17894
- background-color: var(--color-surface-level2);
18065
+ transition: filter 0.12s ease;
17895
18066
  }
17896
18067
 
17897
- .muka-action-sheet__item:active:not(:disabled) {
17898
- background-color: var(--color-surface-level3);
18068
+ .muka-swipe-actions__button:hover {
18069
+ filter: brightness(0.95);
17899
18070
  }
17900
18071
 
17901
- .muka-action-sheet__item:focus-visible {
18072
+ .muka-swipe-actions__button:focus-visible {
17902
18073
  outline: 2px solid var(--color-action-default);
17903
18074
  outline-offset: -2px;
17904
18075
  }
17905
18076
 
17906
- .muka-action-sheet__item--destructive {
17907
- color: var(--color-state-error-default);
17908
- }
17909
-
17910
- .muka-action-sheet__item--disabled,
17911
- .muka-action-sheet__item:disabled {
17912
- opacity: 0.5;
17913
- cursor: not-allowed;
17914
- }
17915
-
17916
- .muka-action-sheet__item-icon {
18077
+ .muka-swipe-actions__button-icon {
17917
18078
  display: inline-flex;
17918
18079
  align-items: center;
17919
18080
  justify-content: center;
17920
- width: 24px;
17921
- height: 24px;
17922
- flex-shrink: 0;
17923
18081
  }
17924
18082
 
17925
- .muka-action-sheet__item-icon svg {
17926
- width: 100%;
17927
- height: 100%;
17928
- }
18083
+ /* ─── Color variants ───────────────────────────────────── */
17929
18084
 
17930
- .muka-action-sheet__item-label {
17931
- flex: 1;
18085
+ .muka-swipe-actions__button--neutral {
18086
+ background-color: var(--color-surface-level2);
18087
+ color: var(--color-text-default-default);
17932
18088
  }
17933
18089
 
17934
- /* ─── Cancel button (separate at bottom) ──────────────── */
18090
+ .muka-swipe-actions__button--primary {
18091
+ background-color: var(--color-action-default);
18092
+ color: var(--color-text-default-inverse);
18093
+ }
17935
18094
 
17936
- .muka-action-sheet__cancel {
17937
- display: flex;
17938
- align-items: center;
17939
- justify-content: center;
17940
- padding: var(--spacing-3) var(--spacing-4);
17941
- background-color: var(--color-surface-level1);
17942
- border: none;
17943
- border-radius: var(--radius-md);
17944
- cursor: pointer;
17945
- color: var(--color-text-default-default);
17946
- font-family: var(--text-label-md-semibold-fontFamily);
17947
- font-weight: var(--text-label-md-semibold-fontWeight);
17948
- font-size: var(--text-label-md-semibold-fontSize);
17949
- line-height: var(--text-label-md-semibold-lineHeight);
17950
- -webkit-tap-highlight-color: transparent;
17951
- transition: background-color 0.12s ease;
18095
+ .muka-swipe-actions__button--success {
18096
+ background-color: var(--color-state-success-default);
18097
+ color: var(--color-text-default-inverse);
17952
18098
  }
17953
18099
 
17954
- .muka-action-sheet__cancel:hover {
17955
- background-color: var(--color-surface-level2);
18100
+ .muka-swipe-actions__button--warning {
18101
+ background-color: var(--color-state-warning-default);
18102
+ color: var(--color-text-default-default);
17956
18103
  }
17957
18104
 
17958
- .muka-action-sheet__cancel:focus-visible {
17959
- outline: 2px solid var(--color-action-default);
17960
- outline-offset: 2px;
18105
+ .muka-swipe-actions__button--destructive {
18106
+ background-color: var(--color-state-error-default);
18107
+ color: var(--color-text-default-inverse);
17961
18108
  }
17962
18109