@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
@@ -2207,8 +2207,9 @@ body {
2207
2207
  --topbar-height-lg: 80px;
2208
2208
  --topbar-padding-x-sm: 0.75rem;
2209
2209
  --topbar-padding-x-md: 0.75rem;
2210
- --topbar-padding-x-lg: 1.5rem;
2210
+ --topbar-padding-x-lg: 1rem;
2211
2211
  --topbar-title-max-width: 197px;
2212
+ --topbar-title-inset-lg: 0.5rem;
2212
2213
  --topbar-icon-size-sm: 24px;
2213
2214
  --topbar-icon-size-md: 32px;
2214
2215
  --topbar-icon-size-lg: 32px;
@@ -2220,6 +2221,7 @@ body {
2220
2221
  --topbar-drag-handle-color: #eae7ec;
2221
2222
  --topbar-drag-handle-padding-y: 0.75rem;
2222
2223
  --topbar-drag-handle-radius: 999rem;
2224
+ --topbar-gap-lg: 2rem;
2223
2225
  --controlbar-color-background: #fdfcfd;
2224
2226
  --controlbar-max-width-sm: 768px;
2225
2227
  --controlbar-max-width-lg: 1024px;
@@ -2924,7 +2926,6 @@ body {
2924
2926
  --tb-title-font-size: var(--text-heading-xs-fontSize);
2925
2927
  --tb-title-line-height: var(--text-heading-xs-lineHeight);
2926
2928
  --tb-title-letter-spacing: var(--text-heading-xs-letterSpacing);
2927
- --tb-breadcrumb-display: none;
2928
2929
  --tb-pad-y: 0;
2929
2930
  }
2930
2931
 
@@ -2951,7 +2952,7 @@ body {
2951
2952
  --tb-title-letter-spacing: var(--text-heading-md-letterSpacing);
2952
2953
  }
2953
2954
 
2954
- /* ─── Large tier: left-aligned title, breadcrumb row ─── */
2955
+ /* ─── Large tier: back button, then a left-aligned title ─── */
2955
2956
  @media (min-width: 1024px) {
2956
2957
  .muka-topbar:not([data-size]):not([data-max-size='md']) {
2957
2958
  --tb-height: var(--topbar-height-lg);
@@ -2965,7 +2966,6 @@ body {
2965
2966
  --tb-title-font-size: var(--text-heading-md-fontSize);
2966
2967
  --tb-title-line-height: var(--text-heading-md-lineHeight);
2967
2968
  --tb-title-letter-spacing: var(--text-heading-md-letterSpacing);
2968
- --tb-breadcrumb-display: flex;
2969
2969
  }
2970
2970
  }
2971
2971
 
@@ -2981,7 +2981,6 @@ body {
2981
2981
  --tb-title-font-size: var(--text-heading-md-fontSize);
2982
2982
  --tb-title-line-height: var(--text-heading-md-lineHeight);
2983
2983
  --tb-title-letter-spacing: var(--text-heading-md-letterSpacing);
2984
- --tb-breadcrumb-display: flex;
2985
2984
  }
2986
2985
 
2987
2986
  /* Push content below the iOS notch / status bar. Opt out via disableSafeArea. */
@@ -3005,13 +3004,6 @@ body {
3005
3004
  border-radius: var(--topbar-drag-handle-radius);
3006
3005
  }
3007
3006
 
3008
- /* ─── Breadcrumb (large tier, stacked above the title) ── */
3009
-
3010
- .muka-topbar__breadcrumb {
3011
- display: var(--tb-breadcrumb-display);
3012
- align-items: center;
3013
- }
3014
-
3015
3007
  /* ─── Container (the bar itself) ──────────────────────── */
3016
3008
 
3017
3009
  .muka-topbar__container {
@@ -3040,46 +3032,50 @@ body {
3040
3032
  z-index: 1;
3041
3033
  }
3042
3034
 
3043
- /* Large tier with a breadcrumb replaces the back button with the breadcrumb. */
3044
- @media (min-width: 1024px) {
3045
- .muka-topbar:not([data-size]):not([data-max-size='md']):has(.muka-topbar__breadcrumb) .muka-topbar__leading {
3046
- display: none;
3047
- }
3048
- }
3049
-
3050
- .muka-topbar[data-size='lg']:has(.muka-topbar__breadcrumb) .muka-topbar__leading {
3051
- display: none;
3052
- }
3053
-
3054
- /* ─── Heading (breadcrumb + title) ────────────────────── */
3035
+ /* ─── Heading (title) ─────────────────────────────────── */
3055
3036
 
3056
- /* Base/sm/md: transparent wrapper so the title is the center grid item and
3057
- the breadcrumb stays hidden. */
3037
+ /* Base/sm/md: transparent wrapper so the title is the center grid item. */
3058
3038
  .muka-topbar__heading {
3059
3039
  display: contents;
3060
3040
  }
3061
3041
 
3062
- /* Large tier: a tight column with the breadcrumb stacked above the title. */
3042
+ /* Large tier: the heading takes the free width so a long title truncates
3043
+ before the trailing actions, and sits a fixed gap after the back button. */
3063
3044
  @media (min-width: 1024px) {
3064
3045
  .muka-topbar:not([data-size]):not([data-max-size='md']) .muka-topbar__heading {
3065
3046
  display: flex;
3066
3047
  flex-direction: column;
3067
3048
  justify-content: center;
3068
- gap: var(--spacing-1);
3069
3049
  flex: 1 1 0%;
3070
3050
  min-width: 0;
3071
3051
  }
3052
+
3053
+ .muka-topbar:not([data-size]):not([data-max-size='md']) .muka-topbar__leading + .muka-topbar__heading {
3054
+ margin-left: var(--topbar-gap-lg);
3055
+ }
3056
+
3057
+ .muka-topbar:not([data-size]):not([data-max-size='md']) .muka-topbar__heading:first-child {
3058
+ padding-left: var(--topbar-title-inset-lg);
3059
+ }
3072
3060
  }
3073
3061
 
3074
3062
  .muka-topbar[data-size='lg'] .muka-topbar__heading {
3075
3063
  display: flex;
3076
3064
  flex-direction: column;
3077
3065
  justify-content: center;
3078
- gap: var(--spacing-1);
3079
3066
  flex: 1 1 0%;
3080
3067
  min-width: 0;
3081
3068
  }
3082
3069
 
3070
+ .muka-topbar[data-size='lg'] .muka-topbar__leading + .muka-topbar__heading {
3071
+ margin-left: var(--topbar-gap-lg);
3072
+ }
3073
+
3074
+ /* No back button: the title sits a little further in than the bar padding. */
3075
+ .muka-topbar[data-size='lg'] .muka-topbar__heading:first-child {
3076
+ padding-left: var(--topbar-title-inset-lg);
3077
+ }
3078
+
3083
3079
  /* ─── Title ───────────────────────────────────────────── */
3084
3080
 
3085
3081
  .muka-topbar__title {
@@ -4066,191 +4062,6 @@ body {
4066
4062
  }
4067
4063
 
4068
4064
 
4069
- /* Thumbnail */
4070
- /* Thumbnail Component Styles - Using Muka Design Tokens */
4071
-
4072
- .muka-thumbnail {
4073
- position: relative;
4074
- flex-shrink: 0;
4075
- }
4076
-
4077
- /* The frame carries the border, background and shape clip. Keeping it separate
4078
- from the root lets the remove (×) button sit outside the clip (needed for the
4079
- circular/ellipse shape, whose corners would otherwise clip the button). */
4080
- .muka-thumbnail__frame {
4081
- position: absolute;
4082
- inset: 0;
4083
- overflow: hidden;
4084
- border: var(--border-width-regular, 1px) solid var(--color-black-alpha-3);
4085
- border-radius: var(--border-radius-lg);
4086
- background-color: var(--color-surface-level1);
4087
- }
4088
-
4089
- /* ─── Shapes ──────────────────────────────────────────── */
4090
- .muka-thumbnail--4-3 {
4091
- width: 160px;
4092
- height: 120px;
4093
- }
4094
-
4095
- .muka-thumbnail--1-1 {
4096
- width: 120px;
4097
- height: 120px;
4098
- }
4099
-
4100
- .muka-thumbnail--ellipse {
4101
- width: 120px;
4102
- height: 120px;
4103
- }
4104
-
4105
- /* Fluid: fill the parent's width; the shape sets the height via aspect-ratio. */
4106
- .muka-thumbnail--fluid {
4107
- width: 100%;
4108
- height: auto;
4109
- aspect-ratio: 1 / 1;
4110
- }
4111
-
4112
- .muka-thumbnail--fluid.muka-thumbnail--4-3 {
4113
- aspect-ratio: 4 / 3;
4114
- }
4115
-
4116
- .muka-thumbnail--ellipse .muka-thumbnail__frame {
4117
- border-radius: var(--border-radius-full);
4118
- }
4119
-
4120
- /* Image fills the frame, cropped to cover. Sits at scale(1) by default so the
4121
- interactive hover zoom has a clean origin. */
4122
- .muka-thumbnail__image {
4123
- position: absolute;
4124
- inset: 0;
4125
- width: 100%;
4126
- height: 100%;
4127
- object-fit: cover;
4128
- display: block;
4129
- transform-origin: center;
4130
- /* Micro-interaction: hover zoom eases out over the "micro" duration. */
4131
- transition: transform var(--motion-duration-micro) var(--motion-easing-enter);
4132
- }
4133
-
4134
- /* ─── Interactive (click-to-enlarge) ──────────────────── */
4135
- .muka-thumbnail__trigger {
4136
- position: absolute;
4137
- inset: 0;
4138
- padding: 0;
4139
- border: 0;
4140
- background: none;
4141
- cursor: pointer;
4142
- overflow: hidden;
4143
- }
4144
-
4145
- .muka-thumbnail__trigger:focus-visible {
4146
- outline: 2px solid var(--color-border-focus);
4147
- outline-offset: -2px;
4148
- }
4149
-
4150
- /* On hover the image scales up ~8px (160px → 168px) with an ease-out feel. */
4151
- .muka-thumbnail--interactive:hover .muka-thumbnail__image {
4152
- transform: scale(1.05);
4153
- }
4154
-
4155
- /* ─── Loading overlay + progress donut ────────────────── */
4156
- .muka-thumbnail__overlay {
4157
- position: absolute;
4158
- inset: 0;
4159
- display: flex;
4160
- align-items: center;
4161
- justify-content: center;
4162
- background-color: var(--dialog-color-backdrop);
4163
- }
4164
-
4165
- .muka-thumbnail__progress {
4166
- width: 40px;
4167
- height: 40px;
4168
- }
4169
-
4170
- /* ─── Error / corrupt state ───────────────────────────── */
4171
- .muka-thumbnail--error .muka-thumbnail__frame {
4172
- background-color: var(--alias-color-state-error-muted);
4173
- border-color: var(--alias-color-state-error-default);
4174
- }
4175
-
4176
- .muka-thumbnail__error {
4177
- position: absolute;
4178
- inset: 0;
4179
- display: flex;
4180
- flex-direction: column;
4181
- align-items: center;
4182
- justify-content: center;
4183
- gap: var(--spacing-2);
4184
- padding: var(--spacing-3);
4185
- text-align: center;
4186
- }
4187
-
4188
- .muka-thumbnail__error-icon {
4189
- color: var(--alert-color-error-accent);
4190
- }
4191
-
4192
- .muka-thumbnail__caption {
4193
- max-width: 100%;
4194
- overflow: hidden;
4195
- text-overflow: ellipsis;
4196
- white-space: nowrap;
4197
- color: var(--alert-color-error-accent);
4198
- font-family: var(--text-body-sm-regular-fontFamily);
4199
- font-size: var(--text-body-sm-regular-fontSize);
4200
- font-weight: var(--text-body-sm-regular-fontWeight);
4201
- line-height: var(--text-body-sm-regular-lineHeight);
4202
- }
4203
-
4204
- /* ─── Remove (×) button ───────────────────────────────── */
4205
- .muka-thumbnail__remove {
4206
- position: absolute;
4207
- top: var(--spacing-2);
4208
- right: var(--spacing-2);
4209
- display: flex;
4210
- align-items: center;
4211
- justify-content: center;
4212
- width: var(--size-2xl);
4213
- height: var(--size-2xl);
4214
- padding: 0;
4215
- color: var(--button-color-tertiary-foreground-default);
4216
- background-color: var(--button-color-tertiary-background-default);
4217
- border: var(--border-width-regular, 1px) solid var(--button-color-tertiary-border-default);
4218
- border-radius: var(--border-radius-lg);
4219
- cursor: pointer;
4220
- transition: background-color var(--motion-duration-micro) var(--motion-easing-enter),
4221
- border-color var(--motion-duration-micro) var(--motion-easing-enter);
4222
- }
4223
-
4224
- .muka-thumbnail__remove:hover {
4225
- color: var(--button-color-tertiary-foreground-hover);
4226
- background-color: var(--button-color-tertiary-background-hover);
4227
- border-color: var(--button-color-tertiary-border-hover);
4228
- }
4229
-
4230
- .muka-thumbnail__remove:active {
4231
- color: var(--button-color-tertiary-foreground-pressed);
4232
- background-color: var(--button-color-tertiary-background-pressed);
4233
- border-color: var(--button-color-tertiary-border-pressed);
4234
- }
4235
-
4236
- .muka-thumbnail__remove:focus-visible {
4237
- outline: 2px solid var(--color-border-focus);
4238
- outline-offset: 2px;
4239
- }
4240
-
4241
- /* ─── Reduced motion ──────────────────────────────────── */
4242
- @media (prefers-reduced-motion: reduce) {
4243
- .muka-thumbnail__image,
4244
- .muka-thumbnail__remove {
4245
- transition: none;
4246
- }
4247
-
4248
- .muka-thumbnail--interactive:hover .muka-thumbnail__image {
4249
- transform: none;
4250
- }
4251
- }
4252
-
4253
-
4254
4065
  /* Textarea */
4255
4066
  /* Textarea Component Styles - Using Muka Design Tokens */
4256
4067
 
@@ -4687,36 +4498,221 @@ body {
4687
4498
  }
4688
4499
 
4689
4500
 
4690
- /* TablePagination */
4691
- /* TablePagination Component Styles - Using Muka Design Tokens */
4501
+ /* Thumbnail */
4502
+ /* Thumbnail Component Styles - Using Muka Design Tokens */
4692
4503
 
4693
- /* ========================================
4694
- PAGINATION CONTAINER
4695
- ======================================== */
4504
+ .muka-thumbnail {
4505
+ position: relative;
4506
+ flex-shrink: 0;
4507
+ }
4696
4508
 
4697
- .muka-table-pagination {
4698
- display: flex;
4699
- align-items: center;
4700
- justify-content: space-between;
4701
- flex-wrap: wrap;
4702
- gap: var(--table-pagination-gap, var(--spacing-4));
4703
- padding: var(--table-pagination-padding, var(--spacing-3));
4704
- background-color: var(--table-pagination-background, var(--color-surface-level1));
4705
- border-top: var(--border-width-regular) solid var(--table-pagination-border, var(--color-border-default));
4706
- font-family: var(--text-body-base-regular-fontFamily);
4707
- font-size: var(--text-body-sm-regular-fontSize);
4708
- line-height: var(--text-body-sm-regular-lineHeight);
4709
- color: var(--color-text-default-default);
4509
+ /* The frame carries the border, background and shape clip. Keeping it separate
4510
+ from the root lets the remove (×) button sit outside the clip (needed for the
4511
+ circular/ellipse shape, whose corners would otherwise clip the button). */
4512
+ .muka-thumbnail__frame {
4513
+ position: absolute;
4514
+ inset: 0;
4515
+ overflow: hidden;
4516
+ border: var(--border-width-regular, 1px) solid var(--color-black-alpha-3);
4517
+ border-radius: var(--border-radius-lg);
4518
+ background-color: var(--color-surface-level1);
4710
4519
  }
4711
4520
 
4712
- /* ========================================
4713
- LEFT SECTION (Page Size & Range)
4714
- ======================================== */
4521
+ /* ─── Shapes ──────────────────────────────────────────── */
4522
+ .muka-thumbnail--4-3 {
4523
+ width: 160px;
4524
+ height: 120px;
4525
+ }
4715
4526
 
4716
- .muka-table-pagination__left {
4717
- display: flex;
4718
- align-items: center;
4719
- gap: var(--spacing-4);
4527
+ .muka-thumbnail--1-1 {
4528
+ width: 120px;
4529
+ height: 120px;
4530
+ }
4531
+
4532
+ .muka-thumbnail--ellipse {
4533
+ width: 120px;
4534
+ height: 120px;
4535
+ }
4536
+
4537
+ /* Fluid: fill the parent's width; the shape sets the height via aspect-ratio. */
4538
+ .muka-thumbnail--fluid {
4539
+ width: 100%;
4540
+ height: auto;
4541
+ aspect-ratio: 1 / 1;
4542
+ }
4543
+
4544
+ .muka-thumbnail--fluid.muka-thumbnail--4-3 {
4545
+ aspect-ratio: 4 / 3;
4546
+ }
4547
+
4548
+ .muka-thumbnail--ellipse .muka-thumbnail__frame {
4549
+ border-radius: var(--border-radius-full);
4550
+ }
4551
+
4552
+ /* Image fills the frame, cropped to cover. Sits at scale(1) by default so the
4553
+ interactive hover zoom has a clean origin. */
4554
+ .muka-thumbnail__image {
4555
+ position: absolute;
4556
+ inset: 0;
4557
+ width: 100%;
4558
+ height: 100%;
4559
+ object-fit: cover;
4560
+ display: block;
4561
+ transform-origin: center;
4562
+ /* Micro-interaction: hover zoom eases out over the "micro" duration. */
4563
+ transition: transform var(--motion-duration-micro) var(--motion-easing-enter);
4564
+ }
4565
+
4566
+ /* ─── Interactive (click-to-enlarge) ──────────────────── */
4567
+ .muka-thumbnail__trigger {
4568
+ position: absolute;
4569
+ inset: 0;
4570
+ padding: 0;
4571
+ border: 0;
4572
+ background: none;
4573
+ cursor: pointer;
4574
+ overflow: hidden;
4575
+ }
4576
+
4577
+ .muka-thumbnail__trigger:focus-visible {
4578
+ outline: 2px solid var(--color-border-focus);
4579
+ outline-offset: -2px;
4580
+ }
4581
+
4582
+ /* On hover the image scales up ~8px (160px → 168px) with an ease-out feel. */
4583
+ .muka-thumbnail--interactive:hover .muka-thumbnail__image {
4584
+ transform: scale(1.05);
4585
+ }
4586
+
4587
+ /* ─── Loading overlay + progress donut ────────────────── */
4588
+ .muka-thumbnail__overlay {
4589
+ position: absolute;
4590
+ inset: 0;
4591
+ display: flex;
4592
+ align-items: center;
4593
+ justify-content: center;
4594
+ background-color: var(--dialog-color-backdrop);
4595
+ }
4596
+
4597
+ .muka-thumbnail__progress {
4598
+ width: 40px;
4599
+ height: 40px;
4600
+ }
4601
+
4602
+ /* ─── Error / corrupt state ───────────────────────────── */
4603
+ .muka-thumbnail--error .muka-thumbnail__frame {
4604
+ background-color: var(--alias-color-state-error-muted);
4605
+ border-color: var(--alias-color-state-error-default);
4606
+ }
4607
+
4608
+ .muka-thumbnail__error {
4609
+ position: absolute;
4610
+ inset: 0;
4611
+ display: flex;
4612
+ flex-direction: column;
4613
+ align-items: center;
4614
+ justify-content: center;
4615
+ gap: var(--spacing-2);
4616
+ padding: var(--spacing-3);
4617
+ text-align: center;
4618
+ }
4619
+
4620
+ .muka-thumbnail__error-icon {
4621
+ color: var(--alert-color-error-accent);
4622
+ }
4623
+
4624
+ .muka-thumbnail__caption {
4625
+ max-width: 100%;
4626
+ overflow: hidden;
4627
+ text-overflow: ellipsis;
4628
+ white-space: nowrap;
4629
+ color: var(--alert-color-error-accent);
4630
+ font-family: var(--text-body-sm-regular-fontFamily);
4631
+ font-size: var(--text-body-sm-regular-fontSize);
4632
+ font-weight: var(--text-body-sm-regular-fontWeight);
4633
+ line-height: var(--text-body-sm-regular-lineHeight);
4634
+ }
4635
+
4636
+ /* ─── Remove (×) button ───────────────────────────────── */
4637
+ .muka-thumbnail__remove {
4638
+ position: absolute;
4639
+ top: var(--spacing-2);
4640
+ right: var(--spacing-2);
4641
+ display: flex;
4642
+ align-items: center;
4643
+ justify-content: center;
4644
+ width: var(--size-2xl);
4645
+ height: var(--size-2xl);
4646
+ padding: 0;
4647
+ color: var(--button-color-tertiary-foreground-default);
4648
+ background-color: var(--button-color-tertiary-background-default);
4649
+ border: var(--border-width-regular, 1px) solid var(--button-color-tertiary-border-default);
4650
+ border-radius: var(--border-radius-lg);
4651
+ cursor: pointer;
4652
+ transition: background-color var(--motion-duration-micro) var(--motion-easing-enter),
4653
+ border-color var(--motion-duration-micro) var(--motion-easing-enter);
4654
+ }
4655
+
4656
+ .muka-thumbnail__remove:hover {
4657
+ color: var(--button-color-tertiary-foreground-hover);
4658
+ background-color: var(--button-color-tertiary-background-hover);
4659
+ border-color: var(--button-color-tertiary-border-hover);
4660
+ }
4661
+
4662
+ .muka-thumbnail__remove:active {
4663
+ color: var(--button-color-tertiary-foreground-pressed);
4664
+ background-color: var(--button-color-tertiary-background-pressed);
4665
+ border-color: var(--button-color-tertiary-border-pressed);
4666
+ }
4667
+
4668
+ .muka-thumbnail__remove:focus-visible {
4669
+ outline: 2px solid var(--color-border-focus);
4670
+ outline-offset: 2px;
4671
+ }
4672
+
4673
+ /* ─── Reduced motion ──────────────────────────────────── */
4674
+ @media (prefers-reduced-motion: reduce) {
4675
+ .muka-thumbnail__image,
4676
+ .muka-thumbnail__remove {
4677
+ transition: none;
4678
+ }
4679
+
4680
+ .muka-thumbnail--interactive:hover .muka-thumbnail__image {
4681
+ transform: none;
4682
+ }
4683
+ }
4684
+
4685
+
4686
+ /* TablePagination */
4687
+ /* TablePagination Component Styles - Using Muka Design Tokens */
4688
+
4689
+ /* ========================================
4690
+ PAGINATION CONTAINER
4691
+ ======================================== */
4692
+
4693
+ .muka-table-pagination {
4694
+ display: flex;
4695
+ align-items: center;
4696
+ justify-content: space-between;
4697
+ flex-wrap: wrap;
4698
+ gap: var(--table-pagination-gap, var(--spacing-4));
4699
+ padding: var(--table-pagination-padding, var(--spacing-3));
4700
+ background-color: var(--table-pagination-background, var(--color-surface-level1));
4701
+ border-top: var(--border-width-regular) solid var(--table-pagination-border, var(--color-border-default));
4702
+ font-family: var(--text-body-base-regular-fontFamily);
4703
+ font-size: var(--text-body-sm-regular-fontSize);
4704
+ line-height: var(--text-body-sm-regular-lineHeight);
4705
+ color: var(--color-text-default-default);
4706
+ }
4707
+
4708
+ /* ========================================
4709
+ LEFT SECTION (Page Size & Range)
4710
+ ======================================== */
4711
+
4712
+ .muka-table-pagination__left {
4713
+ display: flex;
4714
+ align-items: center;
4715
+ gap: var(--spacing-4);
4720
4716
  }
4721
4717
 
4722
4718
  .muka-table-pagination__page-size {
@@ -5091,164 +5087,56 @@ body {
5091
5087
  }
5092
5088
 
5093
5089
 
5094
- /* SwipeActions */
5095
- /* SwipeActions Component Styles */
5090
+ /* Spinner */
5091
+ /* Spinner Component Styles */
5096
5092
 
5097
- .muka-swipe-actions {
5098
- position: relative;
5099
- overflow: hidden;
5100
- touch-action: pan-y;
5101
- -webkit-user-select: none;
5102
- user-select: none;
5103
- background-color: var(--color-surface-level3);
5093
+ .muka-spinner {
5094
+ display: inline-flex;
5095
+ align-items: center;
5096
+ justify-content: center;
5097
+ color: var(--color-text-default-default);
5098
+ line-height: 0;
5104
5099
  }
5105
5100
 
5106
- .muka-swipe-actions--disabled {
5107
- touch-action: auto;
5101
+ .muka-spinner--subtle {
5102
+ color: var(--color-text-subtle-default);
5108
5103
  }
5109
5104
 
5110
- /* ─── Row that holds the actual content ────────────────── */
5105
+ .muka-spinner--inverse {
5106
+ color: var(--color-text-default-inverse);
5107
+ }
5111
5108
 
5112
- .muka-swipe-actions__row {
5113
- position: relative;
5114
- z-index: 1;
5115
- background-color: inherit;
5116
- will-change: transform;
5109
+ .muka-spinner__circle {
5110
+ display: inline-block;
5111
+ border-radius: 50%;
5112
+ border-style: solid;
5113
+ border-color: currentColor;
5114
+ border-right-color: transparent;
5115
+ animation: muka-spinner-rotate 0.7s linear infinite;
5116
+ box-sizing: border-box;
5117
5117
  }
5118
5118
 
5119
- /* ─── Action panels — sit beneath the row ──────────────── */
5119
+ /* ─── Sizes ───────────────────────────────────────────── */
5120
5120
 
5121
- .muka-swipe-actions__panel {
5122
- position: absolute;
5123
- top: 0;
5124
- bottom: 0;
5125
- display: flex;
5126
- align-items: stretch;
5127
- z-index: 0;
5121
+ .muka-spinner--sm .muka-spinner__circle {
5122
+ width: 16px;
5123
+ height: 16px;
5124
+ border-width: 2px;
5128
5125
  }
5129
5126
 
5130
- .muka-swipe-actions__panel--left {
5131
- left: 0;
5127
+ .muka-spinner--md .muka-spinner__circle {
5128
+ width: 20px;
5129
+ height: 20px;
5130
+ border-width: 2px;
5132
5131
  }
5133
5132
 
5134
- .muka-swipe-actions__panel--right {
5135
- right: 0;
5133
+ .muka-spinner--lg .muka-spinner__circle {
5134
+ width: 24px;
5135
+ height: 24px;
5136
+ border-width: 3px;
5136
5137
  }
5137
5138
 
5138
- /* ─── Single action button ─────────────────────────────── */
5139
-
5140
- .muka-swipe-actions__button {
5141
- display: flex;
5142
- flex-direction: column;
5143
- align-items: center;
5144
- justify-content: center;
5145
- gap: var(--spacing-1);
5146
- border: none;
5147
- cursor: pointer;
5148
- padding: var(--spacing-2);
5149
- background-color: var(--color-surface-level2);
5150
- color: var(--color-text-default-default);
5151
- font-family: var(--text-label-sm-semibold-fontFamily);
5152
- font-weight: var(--text-label-sm-semibold-fontWeight);
5153
- font-size: var(--text-label-sm-semibold-fontSize);
5154
- line-height: var(--text-label-sm-semibold-lineHeight);
5155
- -webkit-tap-highlight-color: transparent;
5156
- transition: filter 0.12s ease;
5157
- }
5158
-
5159
- .muka-swipe-actions__button:hover {
5160
- filter: brightness(0.95);
5161
- }
5162
-
5163
- .muka-swipe-actions__button:focus-visible {
5164
- outline: 2px solid var(--color-action-default);
5165
- outline-offset: -2px;
5166
- }
5167
-
5168
- .muka-swipe-actions__button-icon {
5169
- display: inline-flex;
5170
- align-items: center;
5171
- justify-content: center;
5172
- }
5173
-
5174
- /* ─── Color variants ───────────────────────────────────── */
5175
-
5176
- .muka-swipe-actions__button--neutral {
5177
- background-color: var(--color-surface-level2);
5178
- color: var(--color-text-default-default);
5179
- }
5180
-
5181
- .muka-swipe-actions__button--primary {
5182
- background-color: var(--color-action-default);
5183
- color: var(--color-text-default-inverse);
5184
- }
5185
-
5186
- .muka-swipe-actions__button--success {
5187
- background-color: var(--color-state-success-default);
5188
- color: var(--color-text-default-inverse);
5189
- }
5190
-
5191
- .muka-swipe-actions__button--warning {
5192
- background-color: var(--color-state-warning-default);
5193
- color: var(--color-text-default-default);
5194
- }
5195
-
5196
- .muka-swipe-actions__button--destructive {
5197
- background-color: var(--color-state-error-default);
5198
- color: var(--color-text-default-inverse);
5199
- }
5200
-
5201
-
5202
- /* Spinner */
5203
- /* Spinner Component Styles */
5204
-
5205
- .muka-spinner {
5206
- display: inline-flex;
5207
- align-items: center;
5208
- justify-content: center;
5209
- color: var(--color-text-default-default);
5210
- line-height: 0;
5211
- }
5212
-
5213
- .muka-spinner--subtle {
5214
- color: var(--color-text-subtle-default);
5215
- }
5216
-
5217
- .muka-spinner--inverse {
5218
- color: var(--color-text-default-inverse);
5219
- }
5220
-
5221
- .muka-spinner__circle {
5222
- display: inline-block;
5223
- border-radius: 50%;
5224
- border-style: solid;
5225
- border-color: currentColor;
5226
- border-right-color: transparent;
5227
- animation: muka-spinner-rotate 0.7s linear infinite;
5228
- box-sizing: border-box;
5229
- }
5230
-
5231
- /* ─── Sizes ───────────────────────────────────────────── */
5232
-
5233
- .muka-spinner--sm .muka-spinner__circle {
5234
- width: 16px;
5235
- height: 16px;
5236
- border-width: 2px;
5237
- }
5238
-
5239
- .muka-spinner--md .muka-spinner__circle {
5240
- width: 20px;
5241
- height: 20px;
5242
- border-width: 2px;
5243
- }
5244
-
5245
- .muka-spinner--lg .muka-spinner__circle {
5246
- width: 24px;
5247
- height: 24px;
5248
- border-width: 3px;
5249
- }
5250
-
5251
- /* ─── Visually-hidden label ───────────────────────────── */
5139
+ /* ─── Visually-hidden label ───────────────────────────── */
5252
5140
 
5253
5141
  .muka-spinner__sr-label {
5254
5142
  position: absolute;
@@ -5885,6 +5773,126 @@ body {
5885
5773
  }
5886
5774
  }
5887
5775
 
5776
+ /*
5777
+ * layout="full" (Figma Public header, Bouwplan): the content spans the width,
5778
+ * the nav sits between brand and actions (space-between), and the inset grows
5779
+ * with the screen: 24/16 on small screens, 16/24 from 768px, 32 from 1536px.
5780
+ * Safe-area insets still win where they are larger.
5781
+ */
5782
+ .muka-site-header--full .muka-site-header__inner {
5783
+ max-width: none;
5784
+ justify-content: space-between;
5785
+ }
5786
+
5787
+ .muka-site-header--full .muka-site-header__actions {
5788
+ margin-left: 0;
5789
+ }
5790
+
5791
+ @media (min-width: 768px) {
5792
+ .muka-site-header--full .muka-site-header__inner {
5793
+ padding-block: var(--spacing-4);
5794
+ padding-left: max(var(--spacing-6), env(safe-area-inset-left, 0px));
5795
+ padding-right: max(var(--spacing-6), env(safe-area-inset-right, 0px));
5796
+ }
5797
+ }
5798
+
5799
+ @media (min-width: 1536px) {
5800
+ .muka-site-header--full .muka-site-header__inner {
5801
+ padding-block: var(--spacing-8);
5802
+ padding-left: max(var(--spacing-8), env(safe-area-inset-left, 0px));
5803
+ padding-right: max(var(--spacing-8), env(safe-area-inset-right, 0px));
5804
+ }
5805
+ }
5806
+
5807
+ /* Small screens: no nav, so the actions take the end on their own. */
5808
+ @media (max-width: 767px) {
5809
+ .muka-site-header--full .muka-site-header__actions {
5810
+ margin-left: auto;
5811
+ }
5812
+ }
5813
+
5814
+
5815
+ /* Sheet */
5816
+ /* Sheet Component Styles */
5817
+
5818
+ /* ─── Backdrop ────────────────────────────────────────── */
5819
+
5820
+ .muka-sheet__overlay {
5821
+ position: fixed;
5822
+ inset: 0;
5823
+ background-color: var(--color-surface-backdrop);
5824
+ -webkit-backdrop-filter: blur(var(--effect-blur-backdrop));
5825
+ backdrop-filter: blur(var(--effect-blur-backdrop));
5826
+ z-index: 50;
5827
+ }
5828
+
5829
+ /* ─── Surface ─────────────────────────────────────────── */
5830
+
5831
+ .muka-sheet {
5832
+ position: fixed;
5833
+ left: 0;
5834
+ right: 0;
5835
+ bottom: 0;
5836
+ z-index: 51;
5837
+
5838
+ display: flex;
5839
+ flex-direction: column;
5840
+
5841
+ max-height: 96dvh;
5842
+
5843
+ background-color: var(--color-surface-level3);
5844
+ border-top-left-radius: var(--radius-lg);
5845
+ border-top-right-radius: var(--radius-lg);
5846
+ box-shadow: var(--shadow-level5);
5847
+
5848
+ outline: none;
5849
+ }
5850
+
5851
+ /* Safe-area bottom inset for the iPhone home indicator. */
5852
+ .muka-sheet:not(.muka-sheet--no-safe-area) {
5853
+ padding-bottom: env(safe-area-inset-bottom);
5854
+ }
5855
+
5856
+ /* ─── Drag handle ─────────────────────────────────────── */
5857
+
5858
+ .muka-sheet__handle-container {
5859
+ display: flex;
5860
+ justify-content: center;
5861
+ flex-shrink: 0;
5862
+ padding: var(--spacing-3) 0;
5863
+ }
5864
+
5865
+ .muka-sheet__handle {
5866
+ width: var(--dialog-drag-handle-width);
5867
+ height: var(--dialog-drag-handle-height);
5868
+ background-color: var(--dialog-drag-handle-color);
5869
+ border-radius: var(--dialog-drag-handle-radius);
5870
+ }
5871
+
5872
+ /* ─── Body (scrollable) ───────────────────────────────── */
5873
+
5874
+ .muka-sheet__body {
5875
+ flex: 1 1 0%;
5876
+ min-height: 0;
5877
+ overflow-y: auto;
5878
+ -webkit-overflow-scrolling: touch;
5879
+ overscroll-behavior: contain;
5880
+ }
5881
+
5882
+ /* ─── Visually-hidden title (a11y) ────────────────────── */
5883
+
5884
+ .muka-sheet__sr-title {
5885
+ position: absolute;
5886
+ width: 1px;
5887
+ height: 1px;
5888
+ padding: 0;
5889
+ margin: -1px;
5890
+ overflow: hidden;
5891
+ clip: rect(0, 0, 0, 0);
5892
+ white-space: nowrap;
5893
+ border: 0;
5894
+ }
5895
+
5888
5896
 
5889
5897
  /* Select */
5890
5898
  /* Select Component Styles - Aligned with Input for consistency */
@@ -8186,6 +8194,8 @@ button.muka-progress-tracker__tab:focus-visible {
8186
8194
 
8187
8195
  .muka-profile-badge {
8188
8196
  display: inline-flex;
8197
+ max-width: 100%;
8198
+ min-width: 0;
8189
8199
  align-items: center;
8190
8200
  font-family: var(--text-body-base-regular-fontFamily);
8191
8201
  }
@@ -8199,6 +8209,10 @@ button.muka-progress-tracker__tab:focus-visible {
8199
8209
  gap: var(--spacing-3); /* 12px */
8200
8210
  }
8201
8211
 
8212
+ .muka-profile-badge--sm {
8213
+ gap: var(--spacing-2); /* 8px */
8214
+ }
8215
+
8202
8216
  .muka-profile-badge__avatar {
8203
8217
  flex-shrink: 0;
8204
8218
  }
@@ -8212,6 +8226,10 @@ button.muka-progress-tracker__tab:focus-visible {
8212
8226
  }
8213
8227
 
8214
8228
  .muka-profile-badge__name {
8229
+ max-width: 100%;
8230
+ overflow: hidden;
8231
+ text-overflow: ellipsis;
8232
+ white-space: nowrap;
8215
8233
  font-family: var(--text-body-base-regular-fontFamily);
8216
8234
  font-size: var(--text-body-base-regular-fontSize);
8217
8235
  font-weight: var(--text-body-base-regular-fontWeight);
@@ -8251,6 +8269,39 @@ button.muka-progress-tracker__tab:focus-visible {
8251
8269
  outline-offset: 2px;
8252
8270
  }
8253
8271
 
8272
+ /* Trailing chevron: the badge opens a menu */
8273
+ .muka-profile-badge__chevron {
8274
+ flex-shrink: 0;
8275
+ }
8276
+
8277
+ /*
8278
+ * A clickable badge with a chevron is a pill (Figma Profile Badge, Bouwplan
8279
+ * header): 4px inset on the avatar side, 12px after the chevron. The border
8280
+ * is an inset shadow so it appears on hover and while the menu is open
8281
+ * without moving the content.
8282
+ */
8283
+ .muka-profile-badge--clickable.muka-profile-badge--with-chevron {
8284
+ padding: var(--spacing-1) var(--spacing-3) var(--spacing-1) var(--spacing-1);
8285
+ border-radius: var(--radius-full);
8286
+ transition: box-shadow 0.2s ease;
8287
+ }
8288
+
8289
+ .muka-profile-badge--clickable.muka-profile-badge--with-chevron:hover,
8290
+ .muka-profile-badge--clickable.muka-profile-badge--with-chevron:active {
8291
+ opacity: 1;
8292
+ }
8293
+
8294
+ .muka-profile-badge--clickable.muka-profile-badge--with-chevron:hover,
8295
+ .muka-profile-badge--clickable.muka-profile-badge--with-chevron[aria-expanded='true'],
8296
+ .muka-profile-badge--clickable.muka-profile-badge--with-chevron[data-state='open'] {
8297
+ box-shadow: inset 0 0 0 var(--border-width-regular) var(--button-color-ghost-border-hover);
8298
+ }
8299
+
8300
+ /* A badge without an avatar keeps the 12px start inset */
8301
+ .muka-profile-badge--clickable.muka-profile-badge--with-chevron:not(:has(.muka-profile-badge__avatar)) {
8302
+ padding-left: var(--spacing-3);
8303
+ }
8304
+
8254
8305
 
8255
8306
  /* PriceTag */
8256
8307
  /* PriceTag Component Styles - Using Muka Design Tokens */
@@ -9202,104 +9253,22 @@ button.muka-progress-tracker__tab:focus-visible {
9202
9253
  }
9203
9254
 
9204
9255
 
9205
- /* Sheet */
9206
- /* Sheet Component Styles */
9256
+ /* NumberInput */
9257
+ /* NumberInput — reuses Input field styles (../Input/Input.css). */
9258
+ /* Only the prefix/suffix affixes are NumberInput-specific. */
9207
9259
 
9208
- /* ─── Backdrop ────────────────────────────────────────── */
9209
-
9210
- .muka-sheet__overlay {
9211
- position: fixed;
9212
- inset: 0;
9213
- background-color: var(--color-surface-backdrop);
9214
- -webkit-backdrop-filter: blur(var(--effect-blur-backdrop));
9215
- backdrop-filter: blur(var(--effect-blur-backdrop));
9216
- z-index: 50;
9217
- }
9218
-
9219
- /* ─── Surface ─────────────────────────────────────────── */
9220
-
9221
- .muka-sheet {
9222
- position: fixed;
9223
- left: 0;
9224
- right: 0;
9225
- bottom: 0;
9226
- z-index: 51;
9227
-
9228
- display: flex;
9229
- flex-direction: column;
9230
-
9231
- max-height: 96dvh;
9232
-
9233
- background-color: var(--color-surface-level3);
9234
- border-top-left-radius: var(--radius-lg);
9235
- border-top-right-radius: var(--radius-lg);
9236
- box-shadow: var(--shadow-level5);
9237
-
9238
- outline: none;
9239
- }
9240
-
9241
- /* Safe-area bottom inset for the iPhone home indicator. */
9242
- .muka-sheet:not(.muka-sheet--no-safe-area) {
9243
- padding-bottom: env(safe-area-inset-bottom);
9244
- }
9245
-
9246
- /* ─── Drag handle ─────────────────────────────────────── */
9247
-
9248
- .muka-sheet__handle-container {
9249
- display: flex;
9250
- justify-content: center;
9251
- flex-shrink: 0;
9252
- padding: var(--spacing-3) 0;
9253
- }
9254
-
9255
- .muka-sheet__handle {
9256
- width: var(--dialog-drag-handle-width);
9257
- height: var(--dialog-drag-handle-height);
9258
- background-color: var(--dialog-drag-handle-color);
9259
- border-radius: var(--dialog-drag-handle-radius);
9260
- }
9261
-
9262
- /* ─── Body (scrollable) ───────────────────────────────── */
9263
-
9264
- .muka-sheet__body {
9265
- flex: 1 1 0%;
9266
- min-height: 0;
9267
- overflow-y: auto;
9268
- -webkit-overflow-scrolling: touch;
9269
- overscroll-behavior: contain;
9270
- }
9271
-
9272
- /* ─── Visually-hidden title (a11y) ────────────────────── */
9273
-
9274
- .muka-sheet__sr-title {
9275
- position: absolute;
9276
- width: 1px;
9277
- height: 1px;
9278
- padding: 0;
9279
- margin: -1px;
9280
- overflow: hidden;
9281
- clip: rect(0, 0, 0, 0);
9282
- white-space: nowrap;
9283
- border: 0;
9284
- }
9285
-
9286
-
9287
- /* NumberInput */
9288
- /* NumberInput — reuses Input field styles (../Input/Input.css). */
9289
- /* Only the prefix/suffix affixes are NumberInput-specific. */
9290
-
9291
- .muka-numberinput__addon {
9292
- display: inline-flex;
9293
- align-items: center;
9294
- flex: none;
9295
- color: var(--color-text-subtle-default);
9296
- font-family: var(--text-input-md-fontFamily);
9297
- font-size: var(--text-input-md-fontSize);
9298
- line-height: var(--text-input-md-lineHeight);
9299
- user-select: none;
9300
- pointer-events: none;
9301
- white-space: nowrap;
9302
- }
9260
+ .muka-numberinput__addon {
9261
+ display: inline-flex;
9262
+ align-items: center;
9263
+ flex: none;
9264
+ color: var(--color-text-subtle-default);
9265
+ font-family: var(--text-input-md-fontFamily);
9266
+ font-size: var(--text-input-md-fontSize);
9267
+ line-height: var(--text-input-md-lineHeight);
9268
+ user-select: none;
9269
+ pointer-events: none;
9270
+ white-space: nowrap;
9271
+ }
9303
9272
 
9304
9273
  /* Hide the native number spinners — affixes/step API replace them. */
9305
9274
  .muka-numberinput__field .muka-input__native::-webkit-outer-spin-button,
@@ -9838,6 +9807,39 @@ button.muka-progress-tracker__tab:focus-visible {
9838
9807
  }
9839
9808
  }
9840
9809
 
9810
+ /* ─── Items with an icon: compact ListItem rows ──────────────────────────── */
9811
+
9812
+ /*
9813
+ * A menu whose items carry an icon uses the compact ListItem layout (Figma
9814
+ * ListItem × Padding=Compact, the Bouwplan account menu): a 12px inset on the
9815
+ * list, rows with an 8px inset, a 32px icon slot holding a 20px icon, 12px
9816
+ * between icon and label. The icon takes
9817
+ * the menu's icon colour, so an `<Icon>` passed in doesn't need a colour or
9818
+ * a size of its own. Menus without icons keep their tighter rows.
9819
+ */
9820
+ .muka-menu__viewport:has(.muka-menu__item-icon) {
9821
+ padding: var(--spacing-3);
9822
+ }
9823
+
9824
+ .muka-menu__item:has(> .muka-menu__item-icon) {
9825
+ gap: var(--spacing-3);
9826
+ padding-top: var(--spacing-2);
9827
+ padding-bottom: var(--spacing-2);
9828
+ padding-left: var(--spacing-2);
9829
+ }
9830
+
9831
+ .muka-menu__item-icon {
9832
+ min-width: var(--size-2xl);
9833
+ min-height: var(--size-2xl);
9834
+ }
9835
+
9836
+ .muka-menu__item-icon > .muka-icon,
9837
+ .muka-menu__item-icon > svg {
9838
+ width: var(--icon-size-sm);
9839
+ height: var(--icon-size-sm);
9840
+ color: inherit;
9841
+ }
9842
+
9841
9843
 
9842
9844
  /* MediaViewer */
9843
9845
  /* MediaViewer Component Styles - Using Muka Design Tokens */
@@ -10307,6 +10309,43 @@ li.muka-listitem {
10307
10309
  display: none;
10308
10310
  }
10309
10311
 
10312
+ /* ─── Compact padding ──────────────────────────────────── */
10313
+
10314
+ /*
10315
+ * Figma ListItem × Padding=Compact: an 8px inset, 12px between leading and
10316
+ * label, a 32px leading slot (a 20px icon centred, or a 32px avatar) and a
10317
+ * regular-weight label. Used in menus and short navigation lists.
10318
+ */
10319
+ .muka-listitem--compact {
10320
+ align-items: center;
10321
+ gap: var(--spacing-3);
10322
+ padding: var(--spacing-2);
10323
+ }
10324
+
10325
+ .muka-listitem--compact .muka-listitem__leading {
10326
+ width: var(--size-2xl);
10327
+ height: var(--size-2xl);
10328
+ }
10329
+
10330
+ .muka-listitem--compact .muka-listitem__icon {
10331
+ width: var(--size-2xl);
10332
+ height: var(--size-2xl);
10333
+ }
10334
+
10335
+ .muka-listitem--compact .muka-listitem__image {
10336
+ width: var(--size-2xl);
10337
+ height: var(--size-2xl);
10338
+ border-radius: var(--radius-sm);
10339
+ }
10340
+
10341
+ .muka-listitem--compact .muka-listitem__label {
10342
+ font-weight: var(--text-label-md-regular-fontWeight);
10343
+ }
10344
+
10345
+ .muka-listitem--compact .muka-listitem__content {
10346
+ gap: var(--spacing-3);
10347
+ }
10348
+
10310
10349
 
10311
10350
  /* LicensePlateInput */
10312
10351
  /* LicensePlateInput — Dutch RDW-style plate input
@@ -11001,26 +11040,6 @@ li.muka-listitem {
11001
11040
  }
11002
11041
 
11003
11042
 
11004
- /* Form */
11005
- .muka-form {
11006
- display: flex;
11007
- flex-direction: column;
11008
- width: 100%;
11009
- }
11010
-
11011
- .muka-form--gap-sm {
11012
- gap: var(--size-sm);
11013
- }
11014
-
11015
- .muka-form--gap-md {
11016
- gap: var(--size-md);
11017
- }
11018
-
11019
- .muka-form--gap-lg {
11020
- gap: var(--size-lg);
11021
- }
11022
-
11023
-
11024
11043
  /* Icon */
11025
11044
  /* Icon Component Styles - Using Muka Design Tokens */
11026
11045
 
@@ -11075,6 +11094,26 @@ li.muka-listitem {
11075
11094
  }
11076
11095
 
11077
11096
 
11097
+ /* Form */
11098
+ .muka-form {
11099
+ display: flex;
11100
+ flex-direction: column;
11101
+ width: 100%;
11102
+ }
11103
+
11104
+ .muka-form--gap-sm {
11105
+ gap: var(--size-sm);
11106
+ }
11107
+
11108
+ .muka-form--gap-md {
11109
+ gap: var(--size-md);
11110
+ }
11111
+
11112
+ .muka-form--gap-lg {
11113
+ gap: var(--size-lg);
11114
+ }
11115
+
11116
+
11078
11117
  /* FileUpload */
11079
11118
  /* FileUpload Component Styles */
11080
11119
 
@@ -14301,6 +14340,47 @@ button.muka-chip__trailing[aria-expanded='true'],
14301
14340
  }
14302
14341
 
14303
14342
 
14343
+ /* ChatQuestionSeries */
14344
+ /* ChatQuestionSeries — step dots and the collapsed summary (experimental) */
14345
+ .muka-chat-series__dots {
14346
+ display: inline-flex;
14347
+ align-items: center;
14348
+ gap: var(--spacing-1);
14349
+ }
14350
+
14351
+ .muka-chat-series__dot {
14352
+ width: var(--spacing-1);
14353
+ height: var(--spacing-1);
14354
+ border-radius: var(--border-radius-full);
14355
+ background-color: var(--color-border-default);
14356
+ }
14357
+
14358
+ .muka-chat-series__dot--done {
14359
+ background-color: var(--color-text-subtle-default);
14360
+ }
14361
+
14362
+ .muka-chat-series__dot--current {
14363
+ width: var(--spacing-2);
14364
+ height: var(--spacing-2);
14365
+ background-color: var(--color-text-default-default);
14366
+ }
14367
+
14368
+ .muka-chat-series__summary {
14369
+ display: flex;
14370
+ flex-direction: column;
14371
+ gap: var(--spacing-2);
14372
+ }
14373
+
14374
+ .muka-chat-series__summary-row {
14375
+ display: flex;
14376
+ flex-direction: column;
14377
+ }
14378
+
14379
+ .muka-chat-series__summary-question {
14380
+ color: var(--color-text-subtle-default);
14381
+ }
14382
+
14383
+
14304
14384
  /* ChatQuestionCard */
14305
14385
  /*
14306
14386
  * ChatQuestionCard — in-thread question widget (experimental).
@@ -14502,45 +14582,72 @@ button.muka-chat-photo-grid__tile:focus-visible {
14502
14582
  }
14503
14583
 
14504
14584
 
14505
- /* ChatQuestionSeries */
14506
- /* ChatQuestionSeries — step dots and the collapsed summary (experimental) */
14507
- .muka-chat-series__dots {
14508
- display: inline-flex;
14509
- align-items: center;
14510
- gap: var(--spacing-1);
14511
- }
14512
-
14513
- .muka-chat-series__dot {
14514
- width: var(--spacing-1);
14515
- height: var(--spacing-1);
14516
- border-radius: var(--border-radius-full);
14517
- background-color: var(--color-border-default);
14518
- }
14519
-
14520
- .muka-chat-series__dot--done {
14521
- background-color: var(--color-text-subtle-default);
14522
- }
14523
-
14524
- .muka-chat-series__dot--current {
14525
- width: var(--spacing-2);
14526
- height: var(--spacing-2);
14527
- background-color: var(--color-text-default-default);
14528
- }
14585
+ /* ChatMessageStack */
14586
+ /* ChatMessageStack Component Styles */
14529
14587
 
14530
- .muka-chat-series__summary {
14588
+ .muka-chat-message-stack {
14531
14589
  display: flex;
14532
14590
  flex-direction: column;
14533
- gap: var(--spacing-2);
14591
+ gap: var(--chatbubble-stack-gap);
14592
+ width: 100%;
14593
+ max-width: 100%;
14534
14594
  }
14535
14595
 
14536
- .muka-chat-series__summary-row {
14596
+ .muka-chat-message-stack__messages {
14537
14597
  display: flex;
14538
14598
  flex-direction: column;
14599
+ gap: var(--chatbubble-stack-gap);
14600
+ width: 100%;
14539
14601
  }
14540
14602
 
14541
- .muka-chat-series__summary-question {
14542
- color: var(--color-text-subtle-default);
14543
- }
14603
+ /*
14604
+ * Reasoning sits above the stack, indented past the avatar rail so it lines up
14605
+ * with the bubbles rather than with the avatar (Figma 5379:47300).
14606
+ */
14607
+ .muka-chat-message-stack__reasoning {
14608
+ min-width: 0;
14609
+ }
14610
+
14611
+ /* In-thread widgets after the messages share the reasoning's indent. */
14612
+ .muka-chat-message-stack__widgets {
14613
+ display: flex;
14614
+ flex-direction: column;
14615
+ gap: var(--chatbubble-stack-gap);
14616
+ min-width: 0;
14617
+ }
14618
+
14619
+ .muka-chat-message-stack--has-avatar .muka-chat-message-stack__widgets,
14620
+ .muka-chat-message-stack--has-avatar .muka-chat-message-stack__reasoning {
14621
+ padding-left: calc(var(--chatbubble-avatar-size) + var(--chatbubble-row-gap));
14622
+ }
14623
+
14624
+ .muka-chat-message-stack--own.muka-chat-message-stack--has-avatar
14625
+ .muka-chat-message-stack__widgets,
14626
+ .muka-chat-message-stack--own.muka-chat-message-stack--has-avatar
14627
+ .muka-chat-message-stack__reasoning {
14628
+ padding-left: 0;
14629
+ padding-right: calc(var(--chatbubble-avatar-size) + var(--chatbubble-row-gap));
14630
+ }
14631
+
14632
+ /* Follow the message's compact rail and gap below the desktop breakpoint */
14633
+ @media (max-width: 1023px) {
14634
+ .muka-chat-message-stack--has-avatar .muka-chat-message-stack__widgets,
14635
+ .muka-chat-message-stack--has-avatar .muka-chat-message-stack__reasoning {
14636
+ padding-left: calc(
14637
+ var(--chatbubble-avatar-size-compact) + var(--chatbubble-row-gap-compact)
14638
+ );
14639
+ }
14640
+
14641
+ .muka-chat-message-stack--own.muka-chat-message-stack--has-avatar
14642
+ .muka-chat-message-stack__widgets,
14643
+ .muka-chat-message-stack--own.muka-chat-message-stack--has-avatar
14644
+ .muka-chat-message-stack__reasoning {
14645
+ padding-left: 0;
14646
+ padding-right: calc(
14647
+ var(--chatbubble-avatar-size-compact) + var(--chatbubble-row-gap-compact)
14648
+ );
14649
+ }
14650
+ }
14544
14651
 
14545
14652
 
14546
14653
  /* ChatMessageList */
@@ -15271,74 +15378,6 @@ button.muka-chat-photo-grid__tile:focus-visible {
15271
15378
  }
15272
15379
 
15273
15380
 
15274
- /* ChatMessageStack */
15275
- /* ChatMessageStack Component Styles */
15276
-
15277
- .muka-chat-message-stack {
15278
- display: flex;
15279
- flex-direction: column;
15280
- gap: var(--chatbubble-stack-gap);
15281
- width: 100%;
15282
- max-width: 100%;
15283
- }
15284
-
15285
- .muka-chat-message-stack__messages {
15286
- display: flex;
15287
- flex-direction: column;
15288
- gap: var(--chatbubble-stack-gap);
15289
- width: 100%;
15290
- }
15291
-
15292
- /*
15293
- * Reasoning sits above the stack, indented past the avatar rail so it lines up
15294
- * with the bubbles rather than with the avatar (Figma 5379:47300).
15295
- */
15296
- .muka-chat-message-stack__reasoning {
15297
- min-width: 0;
15298
- }
15299
-
15300
- /* In-thread widgets after the messages share the reasoning's indent. */
15301
- .muka-chat-message-stack__widgets {
15302
- display: flex;
15303
- flex-direction: column;
15304
- gap: var(--chatbubble-stack-gap);
15305
- min-width: 0;
15306
- }
15307
-
15308
- .muka-chat-message-stack--has-avatar .muka-chat-message-stack__widgets,
15309
- .muka-chat-message-stack--has-avatar .muka-chat-message-stack__reasoning {
15310
- padding-left: calc(var(--chatbubble-avatar-size) + var(--chatbubble-row-gap));
15311
- }
15312
-
15313
- .muka-chat-message-stack--own.muka-chat-message-stack--has-avatar
15314
- .muka-chat-message-stack__widgets,
15315
- .muka-chat-message-stack--own.muka-chat-message-stack--has-avatar
15316
- .muka-chat-message-stack__reasoning {
15317
- padding-left: 0;
15318
- padding-right: calc(var(--chatbubble-avatar-size) + var(--chatbubble-row-gap));
15319
- }
15320
-
15321
- /* Follow the message's compact rail and gap below the desktop breakpoint */
15322
- @media (max-width: 1023px) {
15323
- .muka-chat-message-stack--has-avatar .muka-chat-message-stack__widgets,
15324
- .muka-chat-message-stack--has-avatar .muka-chat-message-stack__reasoning {
15325
- padding-left: calc(
15326
- var(--chatbubble-avatar-size-compact) + var(--chatbubble-row-gap-compact)
15327
- );
15328
- }
15329
-
15330
- .muka-chat-message-stack--own.muka-chat-message-stack--has-avatar
15331
- .muka-chat-message-stack__widgets,
15332
- .muka-chat-message-stack--own.muka-chat-message-stack--has-avatar
15333
- .muka-chat-message-stack__reasoning {
15334
- padding-left: 0;
15335
- padding-right: calc(
15336
- var(--chatbubble-avatar-size-compact) + var(--chatbubble-row-gap-compact)
15337
- );
15338
- }
15339
- }
15340
-
15341
-
15342
15381
  /* ChatChoiceCard */
15343
15382
  /* ChatChoiceCard — compact option rows (experimental) */
15344
15383
  .muka-chat-choice__list {
@@ -15375,105 +15414,261 @@ button.muka-chat-photo-grid__tile:focus-visible {
15375
15414
  }
15376
15415
 
15377
15416
 
15378
- /* Card */
15379
- /* Card Component Styles - Using Muka Design Tokens */
15417
+ /* ChatAttachmentChip */
15418
+ /* ChatAttachmentChip Component Styles */
15380
15419
 
15381
- .muka-card {
15382
- background-color: var(--card-color-default-background);
15383
- color: var(--card-color-default-foreground);
15384
- border: var(--border-width-regular) solid var(--card-color-default-border);
15385
- box-shadow: var(--card-shadow-default);
15386
- transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
15420
+ .muka-chat-attachment-chip {
15421
+ position: relative;
15422
+ display: inline-flex;
15423
+ align-items: center;
15424
+ gap: var(--spacing-1);
15425
+ max-width: 240px;
15426
+ padding: var(--spacing-2) var(--spacing-3);
15427
+ background-color: var(--color-surface-level1);
15428
+ border: var(--border-width-regular) solid var(--color-border-default);
15429
+ border-radius: var(--radius-md);
15387
15430
  overflow: hidden;
15388
15431
  }
15389
15432
 
15390
- /* Padding variants */
15391
- .muka-card--padding-none {
15392
- padding: 0;
15393
- }
15394
-
15395
- .muka-card--padding-sm {
15396
- padding: var(--card-padding-sm);
15397
- }
15398
-
15399
- .muka-card--padding-md {
15400
- padding: var(--card-padding-md);
15433
+ .muka-chat-attachment-chip--uploading {
15434
+ padding-bottom: calc(var(--spacing-2) + 2px);
15401
15435
  }
15402
15436
 
15403
- .muka-card--padding-lg {
15404
- padding: var(--card-padding-lg);
15437
+ .muka-chat-attachment-chip--error {
15438
+ border-color: var(--color-state-error-default, var(--color-text-default-default));
15405
15439
  }
15406
15440
 
15407
- /* Radius variants */
15408
- .muka-card--radius-sm {
15409
- border-radius: var(--card-radius-sm);
15441
+ .muka-chat-attachment-chip--disabled {
15442
+ opacity: 0.5;
15443
+ pointer-events: none;
15410
15444
  }
15411
15445
 
15412
- .muka-card--radius-md {
15413
- border-radius: var(--card-radius-md);
15414
- }
15446
+ /* ─── Body (icon + text) ───────────────────────────────── */
15415
15447
 
15416
- .muka-card--radius-lg {
15417
- border-radius: var(--card-radius-lg);
15448
+ .muka-chat-attachment-chip__body {
15449
+ display: inline-flex;
15450
+ align-items: center;
15451
+ gap: var(--spacing-2);
15452
+ min-width: 0;
15453
+ flex: 1 1 auto;
15454
+ background: none;
15455
+ border: none;
15456
+ padding: 0;
15457
+ margin: 0;
15458
+ text-align: left;
15459
+ color: inherit;
15460
+ font: inherit;
15461
+ cursor: default;
15462
+ -webkit-tap-highlight-color: transparent;
15418
15463
  }
15419
15464
 
15420
- /* Interactive variant */
15421
- .muka-card--interactive {
15465
+ .muka-chat-attachment-chip--interactive .muka-chat-attachment-chip__body {
15422
15466
  cursor: pointer;
15423
- user-select: none;
15424
- }
15425
-
15426
- .muka-card--interactive:hover {
15427
- background-color: var(--card-color-hover-background);
15428
- border-color: var(--card-color-hover-border);
15429
- box-shadow: var(--card-shadow-hover);
15430
- }
15431
-
15432
- .muka-card--interactive:active,
15433
- .muka-card--interactive.muka-card--pressed {
15434
- background-color: var(--card-color-pressed-background);
15435
- border-color: var(--card-color-pressed-border);
15436
- box-shadow: var(--card-shadow-pressed);
15437
15467
  }
15438
15468
 
15439
- .muka-card--interactive:focus-visible {
15440
- outline: 2px solid var(--color-border-focus);
15469
+ .muka-chat-attachment-chip--interactive .muka-chat-attachment-chip__body:focus-visible {
15470
+ outline: 2px solid var(--color-action-default);
15441
15471
  outline-offset: 2px;
15472
+ border-radius: var(--radius-sm);
15442
15473
  }
15443
15474
 
15444
- /* Selected variant */
15445
- .muka-card--selected {
15446
- background-color: var(--card-color-selected-background);
15447
- border-color: var(--card-color-selected-border);
15448
- border-width: var(--border-width-bold);
15449
- box-shadow: var(--card-shadow-selected);
15475
+ .muka-chat-attachment-chip__icon {
15476
+ display: inline-flex;
15477
+ align-items: center;
15478
+ justify-content: center;
15479
+ flex-shrink: 0;
15480
+ color: var(--color-text-subtle-default);
15450
15481
  }
15451
15482
 
15452
- /* Tone: sticky note (MUK-105) */
15453
- .muka-card--tone-note {
15454
- background-color: var(--card-color-note-background);
15455
- color: var(--card-color-note-foreground);
15456
- border-color: var(--card-color-note-border);
15457
- box-shadow: var(--card-shadow-note);
15483
+ .muka-chat-attachment-chip__text {
15484
+ display: flex;
15485
+ flex-direction: column;
15486
+ min-width: 0;
15487
+ flex: 1 1 auto;
15458
15488
  }
15459
15489
 
15460
- .muka-card--tone-note.muka-card--interactive:hover,
15461
- .muka-card--tone-note.muka-card--interactive:active,
15462
- .muka-card--tone-note.muka-card--interactive.muka-card--pressed {
15463
- background-color: var(--card-color-note-background);
15464
- border-color: var(--card-color-note-border);
15490
+ .muka-chat-attachment-chip__name {
15491
+ color: var(--color-text-default-default);
15492
+ font-family: var(--text-body-sm-regular-fontFamily);
15493
+ font-weight: var(--text-body-sm-regular-fontWeight);
15494
+ font-size: var(--text-body-sm-regular-fontSize);
15495
+ line-height: var(--text-body-sm-regular-lineHeight);
15496
+ white-space: nowrap;
15497
+ overflow: hidden;
15498
+ text-overflow: ellipsis;
15465
15499
  }
15466
15500
 
15467
- .muka-card--tilt-left {
15468
- transform: rotate(-0.75deg);
15501
+ .muka-chat-attachment-chip__meta {
15502
+ color: var(--color-text-subtle-default);
15503
+ font-family: var(--text-body-sm-regular-fontFamily);
15504
+ font-weight: var(--text-body-sm-regular-fontWeight);
15505
+ font-size: var(--text-body-sm-regular-fontSize);
15506
+ line-height: var(--text-body-sm-regular-lineHeight);
15507
+ white-space: nowrap;
15508
+ overflow: hidden;
15509
+ text-overflow: ellipsis;
15469
15510
  }
15470
15511
 
15471
- .muka-card--tilt-right {
15472
- transform: rotate(0.6deg);
15512
+ .muka-chat-attachment-chip--error .muka-chat-attachment-chip__meta {
15513
+ color: var(--color-state-error-default, var(--color-text-default-default));
15473
15514
  }
15474
15515
 
15475
- @media (prefers-reduced-motion: no-preference) {
15476
- .muka-card--tilt-left,
15516
+ /* ─── Remove button ────────────────────────────────────── */
15517
+
15518
+ .muka-chat-attachment-chip__remove {
15519
+ display: inline-flex;
15520
+ align-items: center;
15521
+ justify-content: center;
15522
+ width: 20px;
15523
+ height: 20px;
15524
+ border: none;
15525
+ background: none;
15526
+ padding: 0;
15527
+ border-radius: var(--radius-sm);
15528
+ cursor: pointer;
15529
+ color: var(--color-text-subtle-default);
15530
+ flex-shrink: 0;
15531
+ -webkit-tap-highlight-color: transparent;
15532
+ }
15533
+
15534
+ .muka-chat-attachment-chip__remove:hover:not(:disabled) {
15535
+ color: var(--color-text-default-default);
15536
+ background-color: var(--color-surface-level2);
15537
+ }
15538
+
15539
+ .muka-chat-attachment-chip__remove:focus-visible {
15540
+ outline: 2px solid var(--color-action-default);
15541
+ outline-offset: 2px;
15542
+ }
15543
+
15544
+ .muka-chat-attachment-chip__remove:disabled {
15545
+ cursor: not-allowed;
15546
+ opacity: 0.5;
15547
+ }
15548
+
15549
+ /* ─── Progress bar ─────────────────────────────────────── */
15550
+
15551
+ .muka-chat-attachment-chip__progress {
15552
+ position: absolute;
15553
+ left: 0;
15554
+ right: 0;
15555
+ bottom: 0;
15556
+ height: 2px;
15557
+ background-color: var(--color-surface-level2);
15558
+ overflow: hidden;
15559
+ }
15560
+
15561
+ .muka-chat-attachment-chip__progress-fill {
15562
+ display: block;
15563
+ height: 100%;
15564
+ background-color: var(--color-action-default);
15565
+ transition: width 0.16s ease;
15566
+ }
15567
+
15568
+ .muka-chat-attachment-chip--error .muka-chat-attachment-chip__progress-fill {
15569
+ background-color: var(--color-state-error-default, var(--color-text-default-default));
15570
+ }
15571
+
15572
+
15573
+ /* Card */
15574
+ /* Card Component Styles - Using Muka Design Tokens */
15575
+
15576
+ .muka-card {
15577
+ background-color: var(--card-color-default-background);
15578
+ color: var(--card-color-default-foreground);
15579
+ border: var(--border-width-regular) solid var(--card-color-default-border);
15580
+ box-shadow: var(--card-shadow-default);
15581
+ transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
15582
+ overflow: hidden;
15583
+ }
15584
+
15585
+ /* Padding variants */
15586
+ .muka-card--padding-none {
15587
+ padding: 0;
15588
+ }
15589
+
15590
+ .muka-card--padding-sm {
15591
+ padding: var(--card-padding-sm);
15592
+ }
15593
+
15594
+ .muka-card--padding-md {
15595
+ padding: var(--card-padding-md);
15596
+ }
15597
+
15598
+ .muka-card--padding-lg {
15599
+ padding: var(--card-padding-lg);
15600
+ }
15601
+
15602
+ /* Radius variants */
15603
+ .muka-card--radius-sm {
15604
+ border-radius: var(--card-radius-sm);
15605
+ }
15606
+
15607
+ .muka-card--radius-md {
15608
+ border-radius: var(--card-radius-md);
15609
+ }
15610
+
15611
+ .muka-card--radius-lg {
15612
+ border-radius: var(--card-radius-lg);
15613
+ }
15614
+
15615
+ /* Interactive variant */
15616
+ .muka-card--interactive {
15617
+ cursor: pointer;
15618
+ user-select: none;
15619
+ }
15620
+
15621
+ .muka-card--interactive:hover {
15622
+ background-color: var(--card-color-hover-background);
15623
+ border-color: var(--card-color-hover-border);
15624
+ box-shadow: var(--card-shadow-hover);
15625
+ }
15626
+
15627
+ .muka-card--interactive:active,
15628
+ .muka-card--interactive.muka-card--pressed {
15629
+ background-color: var(--card-color-pressed-background);
15630
+ border-color: var(--card-color-pressed-border);
15631
+ box-shadow: var(--card-shadow-pressed);
15632
+ }
15633
+
15634
+ .muka-card--interactive:focus-visible {
15635
+ outline: 2px solid var(--color-border-focus);
15636
+ outline-offset: 2px;
15637
+ }
15638
+
15639
+ /* Selected variant */
15640
+ .muka-card--selected {
15641
+ background-color: var(--card-color-selected-background);
15642
+ border-color: var(--card-color-selected-border);
15643
+ border-width: var(--border-width-bold);
15644
+ box-shadow: var(--card-shadow-selected);
15645
+ }
15646
+
15647
+ /* Tone: sticky note (MUK-105) */
15648
+ .muka-card--tone-note {
15649
+ background-color: var(--card-color-note-background);
15650
+ color: var(--card-color-note-foreground);
15651
+ border-color: var(--card-color-note-border);
15652
+ box-shadow: var(--card-shadow-note);
15653
+ }
15654
+
15655
+ .muka-card--tone-note.muka-card--interactive:hover,
15656
+ .muka-card--tone-note.muka-card--interactive:active,
15657
+ .muka-card--tone-note.muka-card--interactive.muka-card--pressed {
15658
+ background-color: var(--card-color-note-background);
15659
+ border-color: var(--card-color-note-border);
15660
+ }
15661
+
15662
+ .muka-card--tilt-left {
15663
+ transform: rotate(-0.75deg);
15664
+ }
15665
+
15666
+ .muka-card--tilt-right {
15667
+ transform: rotate(0.6deg);
15668
+ }
15669
+
15670
+ @media (prefers-reduced-motion: no-preference) {
15671
+ .muka-card--tilt-left,
15477
15672
  .muka-card--tilt-right {
15478
15673
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
15479
15674
  }
@@ -16351,237 +16546,81 @@ button.muka-chat-photo-grid__tile:focus-visible {
16351
16546
  }
16352
16547
 
16353
16548
 
16354
- /* ChatAttachmentChip */
16355
- /* ChatAttachmentChip Component Styles */
16549
+ /* BadgeNumber */
16550
+ /* BadgeNumber Component Styles - Using Muka Design Tokens */
16356
16551
 
16357
- .muka-chat-attachment-chip {
16358
- position: relative;
16552
+ .muka-badge-number {
16359
16553
  display: inline-flex;
16360
16554
  align-items: center;
16361
- gap: var(--spacing-1);
16362
- max-width: 240px;
16363
- padding: var(--spacing-2) var(--spacing-3);
16364
- background-color: var(--color-surface-level1);
16365
- border: var(--border-width-regular) solid var(--color-border-default);
16366
- border-radius: var(--radius-md);
16367
- overflow: hidden;
16555
+ justify-content: center;
16556
+ border-radius: var(--border-radius-full);
16557
+ white-space: nowrap;
16558
+ user-select: none;
16559
+ box-sizing: border-box;
16368
16560
  }
16369
16561
 
16370
- .muka-chat-attachment-chip--uploading {
16371
- padding-bottom: calc(var(--spacing-2) + 2px);
16562
+ /*
16563
+ * Sizes — fixed height, matching min-width (so a single digit renders as a
16564
+ * circle), horizontal padding, and bold label typography. Vertical centering
16565
+ * is handled by the fixed height + align-items: center.
16566
+ */
16567
+ .muka-badge-number--2xs {
16568
+ height: var(--badge-number-size-2xs);
16569
+ min-width: var(--badge-number-size-2xs);
16570
+ padding: 0 var(--badge-number-padding-2xs);
16571
+ font-family: var(--text-label-xs-bold-fontFamily);
16572
+ font-weight: var(--text-label-xs-bold-fontWeight);
16573
+ font-size: var(--text-label-xs-bold-fontSize);
16574
+ line-height: var(--text-label-xs-bold-lineHeight);
16372
16575
  }
16373
16576
 
16374
- .muka-chat-attachment-chip--error {
16375
- border-color: var(--color-state-error-default, var(--color-text-default-default));
16577
+ .muka-badge-number--xs {
16578
+ height: var(--badge-number-size-xs);
16579
+ min-width: var(--badge-number-size-xs);
16580
+ padding: 0 var(--badge-number-padding-xs);
16581
+ font-family: var(--text-label-sm-bold-fontFamily);
16582
+ font-weight: var(--text-label-sm-bold-fontWeight);
16583
+ font-size: var(--text-label-sm-bold-fontSize);
16584
+ line-height: var(--text-label-sm-bold-lineHeight);
16376
16585
  }
16377
16586
 
16378
- .muka-chat-attachment-chip--disabled {
16379
- opacity: 0.5;
16380
- pointer-events: none;
16587
+ .muka-badge-number--sm {
16588
+ height: var(--badge-number-size-sm);
16589
+ min-width: var(--badge-number-size-sm);
16590
+ padding: 0 var(--badge-number-padding-sm);
16591
+ font-family: var(--text-label-md-bold-fontFamily);
16592
+ font-weight: var(--text-label-md-bold-fontWeight);
16593
+ font-size: var(--text-label-md-bold-fontSize);
16594
+ line-height: var(--text-label-md-bold-lineHeight);
16381
16595
  }
16382
16596
 
16383
- /* ─── Body (icon + text) ───────────────────────────────── */
16597
+ .muka-badge-number--md {
16598
+ height: var(--badge-number-size-md);
16599
+ min-width: var(--badge-number-size-md);
16600
+ padding: 0 var(--badge-number-padding-md);
16601
+ font-family: var(--text-label-lg-bold-fontFamily);
16602
+ font-weight: var(--text-label-lg-bold-fontWeight);
16603
+ font-size: var(--text-label-lg-bold-fontSize);
16604
+ line-height: var(--text-label-lg-bold-lineHeight);
16605
+ }
16384
16606
 
16385
- .muka-chat-attachment-chip__body {
16386
- display: inline-flex;
16387
- align-items: center;
16388
- gap: var(--spacing-2);
16389
- min-width: 0;
16390
- flex: 1 1 auto;
16391
- background: none;
16392
- border: none;
16393
- padding: 0;
16394
- margin: 0;
16395
- text-align: left;
16396
- color: inherit;
16397
- font: inherit;
16398
- cursor: default;
16399
- -webkit-tap-highlight-color: transparent;
16607
+ .muka-badge-number--lg {
16608
+ height: var(--badge-number-size-lg);
16609
+ min-width: var(--badge-number-size-lg);
16610
+ padding: 0 var(--badge-number-padding-lg);
16611
+ font-family: var(--text-label-2xl-bold-fontFamily);
16612
+ font-weight: var(--text-label-2xl-bold-fontWeight);
16613
+ font-size: var(--text-label-2xl-bold-fontSize);
16614
+ line-height: var(--text-label-2xl-bold-lineHeight);
16400
16615
  }
16401
16616
 
16402
- .muka-chat-attachment-chip--interactive .muka-chat-attachment-chip__body {
16403
- cursor: pointer;
16404
- }
16405
-
16406
- .muka-chat-attachment-chip--interactive .muka-chat-attachment-chip__body:focus-visible {
16407
- outline: 2px solid var(--color-action-default);
16408
- outline-offset: 2px;
16409
- border-radius: var(--radius-sm);
16410
- }
16411
-
16412
- .muka-chat-attachment-chip__icon {
16413
- display: inline-flex;
16414
- align-items: center;
16415
- justify-content: center;
16416
- flex-shrink: 0;
16417
- color: var(--color-text-subtle-default);
16418
- }
16419
-
16420
- .muka-chat-attachment-chip__text {
16421
- display: flex;
16422
- flex-direction: column;
16423
- min-width: 0;
16424
- flex: 1 1 auto;
16425
- }
16426
-
16427
- .muka-chat-attachment-chip__name {
16428
- color: var(--color-text-default-default);
16429
- font-family: var(--text-body-sm-regular-fontFamily);
16430
- font-weight: var(--text-body-sm-regular-fontWeight);
16431
- font-size: var(--text-body-sm-regular-fontSize);
16432
- line-height: var(--text-body-sm-regular-lineHeight);
16433
- white-space: nowrap;
16434
- overflow: hidden;
16435
- text-overflow: ellipsis;
16436
- }
16437
-
16438
- .muka-chat-attachment-chip__meta {
16439
- color: var(--color-text-subtle-default);
16440
- font-family: var(--text-body-sm-regular-fontFamily);
16441
- font-weight: var(--text-body-sm-regular-fontWeight);
16442
- font-size: var(--text-body-sm-regular-fontSize);
16443
- line-height: var(--text-body-sm-regular-lineHeight);
16444
- white-space: nowrap;
16445
- overflow: hidden;
16446
- text-overflow: ellipsis;
16447
- }
16448
-
16449
- .muka-chat-attachment-chip--error .muka-chat-attachment-chip__meta {
16450
- color: var(--color-state-error-default, var(--color-text-default-default));
16451
- }
16452
-
16453
- /* ─── Remove button ────────────────────────────────────── */
16454
-
16455
- .muka-chat-attachment-chip__remove {
16456
- display: inline-flex;
16457
- align-items: center;
16458
- justify-content: center;
16459
- width: 20px;
16460
- height: 20px;
16461
- border: none;
16462
- background: none;
16463
- padding: 0;
16464
- border-radius: var(--radius-sm);
16465
- cursor: pointer;
16466
- color: var(--color-text-subtle-default);
16467
- flex-shrink: 0;
16468
- -webkit-tap-highlight-color: transparent;
16469
- }
16470
-
16471
- .muka-chat-attachment-chip__remove:hover:not(:disabled) {
16472
- color: var(--color-text-default-default);
16473
- background-color: var(--color-surface-level2);
16474
- }
16475
-
16476
- .muka-chat-attachment-chip__remove:focus-visible {
16477
- outline: 2px solid var(--color-action-default);
16478
- outline-offset: 2px;
16479
- }
16480
-
16481
- .muka-chat-attachment-chip__remove:disabled {
16482
- cursor: not-allowed;
16483
- opacity: 0.5;
16484
- }
16485
-
16486
- /* ─── Progress bar ─────────────────────────────────────── */
16487
-
16488
- .muka-chat-attachment-chip__progress {
16489
- position: absolute;
16490
- left: 0;
16491
- right: 0;
16492
- bottom: 0;
16493
- height: 2px;
16494
- background-color: var(--color-surface-level2);
16495
- overflow: hidden;
16496
- }
16497
-
16498
- .muka-chat-attachment-chip__progress-fill {
16499
- display: block;
16500
- height: 100%;
16501
- background-color: var(--color-action-default);
16502
- transition: width 0.16s ease;
16503
- }
16504
-
16505
- .muka-chat-attachment-chip--error .muka-chat-attachment-chip__progress-fill {
16506
- background-color: var(--color-state-error-default, var(--color-text-default-default));
16507
- }
16508
-
16509
-
16510
- /* BadgeNumber */
16511
- /* BadgeNumber Component Styles - Using Muka Design Tokens */
16512
-
16513
- .muka-badge-number {
16514
- display: inline-flex;
16515
- align-items: center;
16516
- justify-content: center;
16517
- border-radius: var(--border-radius-full);
16518
- white-space: nowrap;
16519
- user-select: none;
16520
- box-sizing: border-box;
16521
- }
16522
-
16523
- /*
16524
- * Sizes — fixed height, matching min-width (so a single digit renders as a
16525
- * circle), horizontal padding, and bold label typography. Vertical centering
16526
- * is handled by the fixed height + align-items: center.
16527
- */
16528
- .muka-badge-number--2xs {
16529
- height: var(--badge-number-size-2xs);
16530
- min-width: var(--badge-number-size-2xs);
16531
- padding: 0 var(--badge-number-padding-2xs);
16532
- font-family: var(--text-label-xs-bold-fontFamily);
16533
- font-weight: var(--text-label-xs-bold-fontWeight);
16534
- font-size: var(--text-label-xs-bold-fontSize);
16535
- line-height: var(--text-label-xs-bold-lineHeight);
16536
- }
16537
-
16538
- .muka-badge-number--xs {
16539
- height: var(--badge-number-size-xs);
16540
- min-width: var(--badge-number-size-xs);
16541
- padding: 0 var(--badge-number-padding-xs);
16542
- font-family: var(--text-label-sm-bold-fontFamily);
16543
- font-weight: var(--text-label-sm-bold-fontWeight);
16544
- font-size: var(--text-label-sm-bold-fontSize);
16545
- line-height: var(--text-label-sm-bold-lineHeight);
16546
- }
16547
-
16548
- .muka-badge-number--sm {
16549
- height: var(--badge-number-size-sm);
16550
- min-width: var(--badge-number-size-sm);
16551
- padding: 0 var(--badge-number-padding-sm);
16552
- font-family: var(--text-label-md-bold-fontFamily);
16553
- font-weight: var(--text-label-md-bold-fontWeight);
16554
- font-size: var(--text-label-md-bold-fontSize);
16555
- line-height: var(--text-label-md-bold-lineHeight);
16556
- }
16557
-
16558
- .muka-badge-number--md {
16559
- height: var(--badge-number-size-md);
16560
- min-width: var(--badge-number-size-md);
16561
- padding: 0 var(--badge-number-padding-md);
16562
- font-family: var(--text-label-lg-bold-fontFamily);
16563
- font-weight: var(--text-label-lg-bold-fontWeight);
16564
- font-size: var(--text-label-lg-bold-fontSize);
16565
- line-height: var(--text-label-lg-bold-lineHeight);
16566
- }
16567
-
16568
- .muka-badge-number--lg {
16569
- height: var(--badge-number-size-lg);
16570
- min-width: var(--badge-number-size-lg);
16571
- padding: 0 var(--badge-number-padding-lg);
16572
- font-family: var(--text-label-2xl-bold-fontFamily);
16573
- font-weight: var(--text-label-2xl-bold-fontWeight);
16574
- font-size: var(--text-label-2xl-bold-fontSize);
16575
- line-height: var(--text-label-2xl-bold-lineHeight);
16576
- }
16577
-
16578
- .muka-badge-number__label {
16579
- /*
16580
- * The badge sets a tight line-height for compact sizing, which would clip
16581
- * glyph descenders; give the label a roomier line-height. Vertical centering
16582
- * is unaffected because the badge height is fixed and content is centered.
16583
- */
16584
- line-height: normal;
16617
+ .muka-badge-number__label {
16618
+ /*
16619
+ * The badge sets a tight line-height for compact sizing, which would clip
16620
+ * glyph descenders; give the label a roomier line-height. Vertical centering
16621
+ * is unaffected because the badge height is fixed and content is centered.
16622
+ */
16623
+ line-height: normal;
16585
16624
  }
16586
16625
 
16587
16626
  /* Neutral variant */
@@ -17186,6 +17225,72 @@ button.muka-chat-photo-grid__tile:focus-visible {
17186
17225
  }
17187
17226
 
17188
17227
 
17228
+ /* Autocomplete */
17229
+ /* Autocomplete — Figma Input Autocomplete (Input field + single-line suggestion Menu).
17230
+ The field reuses the Input styles (.muka-input*); only the menu wiring lives here. */
17231
+
17232
+ .muka-autocomplete {
17233
+ min-width: 200px;
17234
+ }
17235
+
17236
+ /* Covers the field's outer edge so the menu matches its full width. The menu
17237
+ is only open while focused, when the field has the bold border. */
17238
+ .muka-autocomplete__menu-anchor {
17239
+ position: absolute;
17240
+ inset: calc(-1 * var(--border-width-bold));
17241
+ z-index: 0;
17242
+ margin: 0;
17243
+ padding: 0;
17244
+ border: none;
17245
+ background: transparent;
17246
+ pointer-events: none;
17247
+ opacity: 0;
17248
+ }
17249
+
17250
+ /* Keep the field content above the invisible anchor. */
17251
+ .muka-autocomplete__field > :not(.muka-autocomplete__menu-anchor) {
17252
+ position: relative;
17253
+ z-index: 1;
17254
+ }
17255
+
17256
+ /* Figma: the menu is as wide as the field (never below the menu min-width token). */
17257
+ .muka-autocomplete__menu {
17258
+ width: var(--radix-dropdown-menu-trigger-width);
17259
+ max-width: calc(100vw - 2rem);
17260
+ }
17261
+
17262
+ /* Suggestions are single-line; long labels truncate. */
17263
+ .muka-autocomplete__menu .muka-menu__item-label {
17264
+ overflow: hidden;
17265
+ text-overflow: ellipsis;
17266
+ }
17267
+
17268
+ /* Loading and empty rows: menu-row geometry, not selectable. */
17269
+ .muka-autocomplete__status {
17270
+ display: flex;
17271
+ align-items: center;
17272
+ gap: var(--menu-item-gap);
17273
+ min-height: var(--menu-item-height);
17274
+ padding: var(--menu-item-padding-y) var(--menu-item-padding-x);
17275
+ color: var(--color-text-subtle-default);
17276
+ font-family: var(--text-label-md-regular-fontFamily);
17277
+ font-size: var(--text-label-md-regular-fontSize);
17278
+ font-weight: var(--text-label-md-regular-fontWeight);
17279
+ line-height: var(--text-label-md-regular-lineHeight);
17280
+ }
17281
+
17282
+ .muka-autocomplete__footer {
17283
+ flex-shrink: 0;
17284
+ padding: var(--spacing-2) var(--spacing-3);
17285
+ border-top: var(--border-width-regular) solid var(--color-border-default);
17286
+ color: var(--color-text-subtle-default);
17287
+ font-family: var(--text-label-sm-regular-fontFamily);
17288
+ font-size: var(--text-label-sm-regular-fontSize);
17289
+ font-weight: var(--text-label-sm-regular-fontWeight);
17290
+ line-height: var(--text-label-sm-regular-lineHeight);
17291
+ }
17292
+
17293
+
17189
17294
  /* AppShell */
17190
17295
  /* AppShell Component Styles */
17191
17296
 
@@ -17308,74 +17413,8 @@ button.muka-chat-photo-grid__tile:focus-visible {
17308
17413
  }
17309
17414
 
17310
17415
 
17311
- /* Autocomplete */
17312
- /* Autocomplete — Figma Input Autocomplete (Input field + single-line suggestion Menu).
17313
- The field reuses the Input styles (.muka-input*); only the menu wiring lives here. */
17314
-
17315
- .muka-autocomplete {
17316
- min-width: 200px;
17317
- }
17318
-
17319
- /* Covers the field's outer edge so the menu matches its full width. The menu
17320
- is only open while focused, when the field has the bold border. */
17321
- .muka-autocomplete__menu-anchor {
17322
- position: absolute;
17323
- inset: calc(-1 * var(--border-width-bold));
17324
- z-index: 0;
17325
- margin: 0;
17326
- padding: 0;
17327
- border: none;
17328
- background: transparent;
17329
- pointer-events: none;
17330
- opacity: 0;
17331
- }
17332
-
17333
- /* Keep the field content above the invisible anchor. */
17334
- .muka-autocomplete__field > :not(.muka-autocomplete__menu-anchor) {
17335
- position: relative;
17336
- z-index: 1;
17337
- }
17338
-
17339
- /* Figma: the menu is as wide as the field (never below the menu min-width token). */
17340
- .muka-autocomplete__menu {
17341
- width: var(--radix-dropdown-menu-trigger-width);
17342
- max-width: calc(100vw - 2rem);
17343
- }
17344
-
17345
- /* Suggestions are single-line; long labels truncate. */
17346
- .muka-autocomplete__menu .muka-menu__item-label {
17347
- overflow: hidden;
17348
- text-overflow: ellipsis;
17349
- }
17350
-
17351
- /* Loading and empty rows: menu-row geometry, not selectable. */
17352
- .muka-autocomplete__status {
17353
- display: flex;
17354
- align-items: center;
17355
- gap: var(--menu-item-gap);
17356
- min-height: var(--menu-item-height);
17357
- padding: var(--menu-item-padding-y) var(--menu-item-padding-x);
17358
- color: var(--color-text-subtle-default);
17359
- font-family: var(--text-label-md-regular-fontFamily);
17360
- font-size: var(--text-label-md-regular-fontSize);
17361
- font-weight: var(--text-label-md-regular-fontWeight);
17362
- line-height: var(--text-label-md-regular-lineHeight);
17363
- }
17364
-
17365
- .muka-autocomplete__footer {
17366
- flex-shrink: 0;
17367
- padding: var(--spacing-2) var(--spacing-3);
17368
- border-top: var(--border-width-regular) solid var(--color-border-default);
17369
- color: var(--color-text-subtle-default);
17370
- font-family: var(--text-label-sm-regular-fontFamily);
17371
- font-size: var(--text-label-sm-regular-fontSize);
17372
- font-weight: var(--text-label-sm-regular-fontWeight);
17373
- line-height: var(--text-label-sm-regular-lineHeight);
17374
- }
17375
-
17376
-
17377
- /* Alert */
17378
- /* Alert Component Styles - Using Muka Design Tokens */
17416
+ /* Alert */
17417
+ /* Alert Component Styles - Using Muka Design Tokens */
17379
17418
 
17380
17419
  .muka-alert {
17381
17420
  display: flex;
@@ -17754,6 +17793,148 @@ button.muka-chat-photo-grid__tile:focus-visible {
17754
17793
  }
17755
17794
 
17756
17795
 
17796
+ /* ActionSheet */
17797
+ /* ActionSheet Component Styles */
17798
+
17799
+ .muka-action-sheet__inner {
17800
+ display: flex;
17801
+ flex-direction: column;
17802
+ padding: 0 var(--spacing-4) var(--spacing-3) var(--spacing-4);
17803
+ gap: var(--spacing-3);
17804
+ }
17805
+
17806
+ /* ─── Header ──────────────────────────────────────────── */
17807
+
17808
+ .muka-action-sheet__header {
17809
+ display: flex;
17810
+ flex-direction: column;
17811
+ align-items: center;
17812
+ gap: var(--spacing-1);
17813
+ padding: var(--spacing-2) 0 var(--spacing-3);
17814
+ text-align: center;
17815
+ }
17816
+
17817
+ .muka-action-sheet__title {
17818
+ margin: 0;
17819
+ color: var(--color-text-default-default);
17820
+ font-family: var(--text-label-md-semibold-fontFamily);
17821
+ font-weight: var(--text-label-md-semibold-fontWeight);
17822
+ font-size: var(--text-label-md-semibold-fontSize);
17823
+ line-height: var(--text-label-md-semibold-lineHeight);
17824
+ }
17825
+
17826
+ .muka-action-sheet__description {
17827
+ margin: 0;
17828
+ color: var(--color-text-subtle-default);
17829
+ font-family: var(--text-body-sm-regular-fontFamily);
17830
+ font-weight: var(--text-body-sm-regular-fontWeight);
17831
+ font-size: var(--text-body-sm-regular-fontSize);
17832
+ line-height: var(--text-body-sm-regular-lineHeight);
17833
+ }
17834
+
17835
+ /* ─── Actions group ───────────────────────────────────── */
17836
+
17837
+ .muka-action-sheet__actions {
17838
+ display: flex;
17839
+ flex-direction: column;
17840
+ background-color: var(--color-surface-level1);
17841
+ border-radius: var(--radius-md);
17842
+ overflow: hidden;
17843
+ }
17844
+
17845
+ .muka-action-sheet__item {
17846
+ display: flex;
17847
+ align-items: center;
17848
+ gap: var(--spacing-3);
17849
+ padding: var(--spacing-3) var(--spacing-4);
17850
+ background: none;
17851
+ border: none;
17852
+ cursor: pointer;
17853
+ text-align: left;
17854
+ color: var(--color-text-default-default);
17855
+ font-family: var(--text-body-base-regular-fontFamily);
17856
+ font-weight: var(--text-body-base-regular-fontWeight);
17857
+ font-size: var(--text-body-base-regular-fontSize);
17858
+ line-height: var(--text-body-base-regular-lineHeight);
17859
+ -webkit-tap-highlight-color: transparent;
17860
+ transition: background-color 0.12s ease;
17861
+ }
17862
+
17863
+ .muka-action-sheet__item + .muka-action-sheet__item {
17864
+ border-top: var(--border-width-regular) solid var(--color-border-default);
17865
+ }
17866
+
17867
+ .muka-action-sheet__item:hover:not(:disabled) {
17868
+ background-color: var(--color-surface-level2);
17869
+ }
17870
+
17871
+ .muka-action-sheet__item:active:not(:disabled) {
17872
+ background-color: var(--color-surface-level3);
17873
+ }
17874
+
17875
+ .muka-action-sheet__item:focus-visible {
17876
+ outline: 2px solid var(--color-action-default);
17877
+ outline-offset: -2px;
17878
+ }
17879
+
17880
+ .muka-action-sheet__item--destructive {
17881
+ color: var(--color-state-error-default);
17882
+ }
17883
+
17884
+ .muka-action-sheet__item--disabled,
17885
+ .muka-action-sheet__item:disabled {
17886
+ opacity: 0.5;
17887
+ cursor: not-allowed;
17888
+ }
17889
+
17890
+ .muka-action-sheet__item-icon {
17891
+ display: inline-flex;
17892
+ align-items: center;
17893
+ justify-content: center;
17894
+ width: 24px;
17895
+ height: 24px;
17896
+ flex-shrink: 0;
17897
+ }
17898
+
17899
+ .muka-action-sheet__item-icon svg {
17900
+ width: 100%;
17901
+ height: 100%;
17902
+ }
17903
+
17904
+ .muka-action-sheet__item-label {
17905
+ flex: 1;
17906
+ }
17907
+
17908
+ /* ─── Cancel button (separate at bottom) ──────────────── */
17909
+
17910
+ .muka-action-sheet__cancel {
17911
+ display: flex;
17912
+ align-items: center;
17913
+ justify-content: center;
17914
+ padding: var(--spacing-3) var(--spacing-4);
17915
+ background-color: var(--color-surface-level1);
17916
+ border: none;
17917
+ border-radius: var(--radius-md);
17918
+ cursor: pointer;
17919
+ color: var(--color-text-default-default);
17920
+ font-family: var(--text-label-md-semibold-fontFamily);
17921
+ font-weight: var(--text-label-md-semibold-fontWeight);
17922
+ font-size: var(--text-label-md-semibold-fontSize);
17923
+ line-height: var(--text-label-md-semibold-lineHeight);
17924
+ -webkit-tap-highlight-color: transparent;
17925
+ transition: background-color 0.12s ease;
17926
+ }
17927
+
17928
+ .muka-action-sheet__cancel:hover {
17929
+ background-color: var(--color-surface-level2);
17930
+ }
17931
+
17932
+ .muka-action-sheet__cancel:focus-visible {
17933
+ outline: 2px solid var(--color-action-default);
17934
+ outline-offset: 2px;
17935
+ }
17936
+
17937
+
17757
17938
  /* Accordion */
17758
17939
  /* Accordion Component Styles */
17759
17940
 
@@ -17885,144 +18066,110 @@ button.muka-chat-photo-grid__tile:focus-visible {
17885
18066
  }
17886
18067
 
17887
18068
 
17888
- /* ActionSheet */
17889
- /* ActionSheet Component Styles */
18069
+ /* SwipeActions */
18070
+ /* SwipeActions Component Styles */
17890
18071
 
17891
- .muka-action-sheet__inner {
17892
- display: flex;
17893
- flex-direction: column;
17894
- padding: 0 var(--spacing-4) var(--spacing-3) var(--spacing-4);
17895
- gap: var(--spacing-3);
18072
+ .muka-swipe-actions {
18073
+ position: relative;
18074
+ overflow: hidden;
18075
+ touch-action: pan-y;
18076
+ -webkit-user-select: none;
18077
+ user-select: none;
18078
+ background-color: var(--color-surface-level3);
17896
18079
  }
17897
18080
 
17898
- /* ─── Header ──────────────────────────────────────────── */
18081
+ .muka-swipe-actions--disabled {
18082
+ touch-action: auto;
18083
+ }
17899
18084
 
17900
- .muka-action-sheet__header {
18085
+ /* ─── Row that holds the actual content ────────────────── */
18086
+
18087
+ .muka-swipe-actions__row {
18088
+ position: relative;
18089
+ z-index: 1;
18090
+ background-color: inherit;
18091
+ will-change: transform;
18092
+ }
18093
+
18094
+ /* ─── Action panels — sit beneath the row ──────────────── */
18095
+
18096
+ .muka-swipe-actions__panel {
18097
+ position: absolute;
18098
+ top: 0;
18099
+ bottom: 0;
17901
18100
  display: flex;
17902
- flex-direction: column;
17903
- align-items: center;
17904
- gap: var(--spacing-1);
17905
- padding: var(--spacing-2) 0 var(--spacing-3);
17906
- text-align: center;
18101
+ align-items: stretch;
18102
+ z-index: 0;
17907
18103
  }
17908
18104
 
17909
- .muka-action-sheet__title {
17910
- margin: 0;
17911
- color: var(--color-text-default-default);
17912
- font-family: var(--text-label-md-semibold-fontFamily);
17913
- font-weight: var(--text-label-md-semibold-fontWeight);
17914
- font-size: var(--text-label-md-semibold-fontSize);
17915
- line-height: var(--text-label-md-semibold-lineHeight);
18105
+ .muka-swipe-actions__panel--left {
18106
+ left: 0;
17916
18107
  }
17917
18108
 
17918
- .muka-action-sheet__description {
17919
- margin: 0;
17920
- color: var(--color-text-subtle-default);
17921
- font-family: var(--text-body-sm-regular-fontFamily);
17922
- font-weight: var(--text-body-sm-regular-fontWeight);
17923
- font-size: var(--text-body-sm-regular-fontSize);
17924
- line-height: var(--text-body-sm-regular-lineHeight);
18109
+ .muka-swipe-actions__panel--right {
18110
+ right: 0;
17925
18111
  }
17926
18112
 
17927
- /* ─── Actions group ───────────────────────────────────── */
18113
+ /* ─── Single action button ─────────────────────────────── */
17928
18114
 
17929
- .muka-action-sheet__actions {
18115
+ .muka-swipe-actions__button {
17930
18116
  display: flex;
17931
18117
  flex-direction: column;
17932
- background-color: var(--color-surface-level1);
17933
- border-radius: var(--radius-md);
17934
- overflow: hidden;
17935
- }
17936
-
17937
- .muka-action-sheet__item {
17938
- display: flex;
17939
18118
  align-items: center;
17940
- gap: var(--spacing-3);
17941
- padding: var(--spacing-3) var(--spacing-4);
17942
- background: none;
18119
+ justify-content: center;
18120
+ gap: var(--spacing-1);
17943
18121
  border: none;
17944
18122
  cursor: pointer;
17945
- text-align: left;
18123
+ padding: var(--spacing-2);
18124
+ background-color: var(--color-surface-level2);
17946
18125
  color: var(--color-text-default-default);
17947
- font-family: var(--text-body-base-regular-fontFamily);
17948
- font-weight: var(--text-body-base-regular-fontWeight);
17949
- font-size: var(--text-body-base-regular-fontSize);
17950
- line-height: var(--text-body-base-regular-lineHeight);
18126
+ font-family: var(--text-label-sm-semibold-fontFamily);
18127
+ font-weight: var(--text-label-sm-semibold-fontWeight);
18128
+ font-size: var(--text-label-sm-semibold-fontSize);
18129
+ line-height: var(--text-label-sm-semibold-lineHeight);
17951
18130
  -webkit-tap-highlight-color: transparent;
17952
- transition: background-color 0.12s ease;
17953
- }
17954
-
17955
- .muka-action-sheet__item + .muka-action-sheet__item {
17956
- border-top: var(--border-width-regular) solid var(--color-border-default);
17957
- }
17958
-
17959
- .muka-action-sheet__item:hover:not(:disabled) {
17960
- background-color: var(--color-surface-level2);
18131
+ transition: filter 0.12s ease;
17961
18132
  }
17962
18133
 
17963
- .muka-action-sheet__item:active:not(:disabled) {
17964
- background-color: var(--color-surface-level3);
18134
+ .muka-swipe-actions__button:hover {
18135
+ filter: brightness(0.95);
17965
18136
  }
17966
18137
 
17967
- .muka-action-sheet__item:focus-visible {
18138
+ .muka-swipe-actions__button:focus-visible {
17968
18139
  outline: 2px solid var(--color-action-default);
17969
18140
  outline-offset: -2px;
17970
18141
  }
17971
18142
 
17972
- .muka-action-sheet__item--destructive {
17973
- color: var(--color-state-error-default);
17974
- }
17975
-
17976
- .muka-action-sheet__item--disabled,
17977
- .muka-action-sheet__item:disabled {
17978
- opacity: 0.5;
17979
- cursor: not-allowed;
17980
- }
17981
-
17982
- .muka-action-sheet__item-icon {
18143
+ .muka-swipe-actions__button-icon {
17983
18144
  display: inline-flex;
17984
18145
  align-items: center;
17985
18146
  justify-content: center;
17986
- width: 24px;
17987
- height: 24px;
17988
- flex-shrink: 0;
17989
18147
  }
17990
18148
 
17991
- .muka-action-sheet__item-icon svg {
17992
- width: 100%;
17993
- height: 100%;
17994
- }
18149
+ /* ─── Color variants ───────────────────────────────────── */
17995
18150
 
17996
- .muka-action-sheet__item-label {
17997
- flex: 1;
18151
+ .muka-swipe-actions__button--neutral {
18152
+ background-color: var(--color-surface-level2);
18153
+ color: var(--color-text-default-default);
17998
18154
  }
17999
18155
 
18000
- /* ─── Cancel button (separate at bottom) ──────────────── */
18156
+ .muka-swipe-actions__button--primary {
18157
+ background-color: var(--color-action-default);
18158
+ color: var(--color-text-default-inverse);
18159
+ }
18001
18160
 
18002
- .muka-action-sheet__cancel {
18003
- display: flex;
18004
- align-items: center;
18005
- justify-content: center;
18006
- padding: var(--spacing-3) var(--spacing-4);
18007
- background-color: var(--color-surface-level1);
18008
- border: none;
18009
- border-radius: var(--radius-md);
18010
- cursor: pointer;
18011
- color: var(--color-text-default-default);
18012
- font-family: var(--text-label-md-semibold-fontFamily);
18013
- font-weight: var(--text-label-md-semibold-fontWeight);
18014
- font-size: var(--text-label-md-semibold-fontSize);
18015
- line-height: var(--text-label-md-semibold-lineHeight);
18016
- -webkit-tap-highlight-color: transparent;
18017
- transition: background-color 0.12s ease;
18161
+ .muka-swipe-actions__button--success {
18162
+ background-color: var(--color-state-success-default);
18163
+ color: var(--color-text-default-inverse);
18018
18164
  }
18019
18165
 
18020
- .muka-action-sheet__cancel:hover {
18021
- background-color: var(--color-surface-level2);
18166
+ .muka-swipe-actions__button--warning {
18167
+ background-color: var(--color-state-warning-default);
18168
+ color: var(--color-text-default-default);
18022
18169
  }
18023
18170
 
18024
- .muka-action-sheet__cancel:focus-visible {
18025
- outline: 2px solid var(--color-action-default);
18026
- outline-offset: 2px;
18171
+ .muka-swipe-actions__button--destructive {
18172
+ background-color: var(--color-state-error-default);
18173
+ color: var(--color-text-default-inverse);
18027
18174
  }
18028
18175