@revikornmann/muka-ui 0.56.0 → 0.57.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.
@@ -4414,88 +4414,6 @@ body {
4414
4414
  }
4415
4415
 
4416
4416
 
4417
- /* TextLink */
4418
- /* TextLink Component Styles - Using Muka Design Tokens */
4419
-
4420
- .muka-text-link {
4421
- display: inline;
4422
- cursor: pointer;
4423
- text-decoration: underline;
4424
- /* Nudge the rule clear of descenders; the Figma underline sits off baseline. */
4425
- text-underline-offset: 0.2em;
4426
- text-decoration-thickness: from-font;
4427
- /* Rounds the focus ring's corners; the link itself has no visible box. */
4428
- border-radius: var(--border-radius-sm);
4429
- transition: color var(--motion-duration-micro, 0.15s) var(--motion-easing-enter, ease);
4430
- }
4431
-
4432
- /* ─── Sizes ───────────────────────────────────────────────
4433
- Mirrors the body text scale so a link matches the copy it sits in. */
4434
- .muka-text-link--sm {
4435
- font-family: var(--text-body-sm-regular-fontFamily);
4436
- font-weight: var(--text-body-sm-regular-fontWeight);
4437
- font-size: var(--text-body-sm-regular-fontSize);
4438
- line-height: var(--text-body-sm-regular-lineHeight);
4439
- }
4440
-
4441
- .muka-text-link--base {
4442
- font-family: var(--text-body-base-regular-fontFamily);
4443
- font-weight: var(--text-body-base-regular-fontWeight);
4444
- font-size: var(--text-body-base-regular-fontSize);
4445
- line-height: var(--text-body-base-regular-lineHeight);
4446
- }
4447
-
4448
- .muka-text-link--lg {
4449
- font-family: var(--text-body-lg-regular-fontFamily);
4450
- font-weight: var(--text-body-lg-regular-fontWeight);
4451
- font-size: var(--text-body-lg-regular-fontSize);
4452
- line-height: var(--text-body-lg-regular-lineHeight);
4453
- }
4454
-
4455
- /* ─── Variant: default (accent) ───────────────────────────
4456
- Visited repeats the default colour on purpose: the design treats visited and
4457
- default the same, and pinning it stops the browser's purple from showing. */
4458
- .muka-text-link--default,
4459
- .muka-text-link--default:visited {
4460
- color: var(--color-text-action-default);
4461
- }
4462
-
4463
- .muka-text-link--default:hover,
4464
- .muka-text-link--default:focus-visible {
4465
- color: var(--color-text-action-hover);
4466
- }
4467
-
4468
- .muka-text-link--default:active {
4469
- color: var(--color-text-action-pressed);
4470
- }
4471
-
4472
- /* ─── Variant: subtle (neutral) ───────────────────────────
4473
- Hover, focus and pressed all darken to the default text colour. */
4474
- .muka-text-link--subtle,
4475
- .muka-text-link--subtle:visited {
4476
- color: var(--color-text-subtle-default);
4477
- }
4478
-
4479
- .muka-text-link--subtle:hover,
4480
- .muka-text-link--subtle:focus-visible,
4481
- .muka-text-link--subtle:active {
4482
- color: var(--color-text-default-default);
4483
- }
4484
-
4485
- /* ─── Focus ───────────────────────────────────────────────
4486
- Same ring as every other focusable Muka component. */
4487
- .muka-text-link:focus-visible {
4488
- outline: 2px solid var(--color-border-focus);
4489
- outline-offset: 2px;
4490
- }
4491
-
4492
- @media (prefers-reduced-motion: reduce) {
4493
- .muka-text-link {
4494
- transition: none;
4495
- }
4496
- }
4497
-
4498
-
4499
4417
  /* Tabs */
4500
4418
  /* Tabs Component Styles - Clean underline style tabs matching Figma */
4501
4419
 
@@ -4686,6 +4604,88 @@ body {
4686
4604
  }
4687
4605
 
4688
4606
 
4607
+ /* TextLink */
4608
+ /* TextLink Component Styles - Using Muka Design Tokens */
4609
+
4610
+ .muka-text-link {
4611
+ display: inline;
4612
+ cursor: pointer;
4613
+ text-decoration: underline;
4614
+ /* Nudge the rule clear of descenders; the Figma underline sits off baseline. */
4615
+ text-underline-offset: 0.2em;
4616
+ text-decoration-thickness: from-font;
4617
+ /* Rounds the focus ring's corners; the link itself has no visible box. */
4618
+ border-radius: var(--border-radius-sm);
4619
+ transition: color var(--motion-duration-micro, 0.15s) var(--motion-easing-enter, ease);
4620
+ }
4621
+
4622
+ /* ─── Sizes ───────────────────────────────────────────────
4623
+ Mirrors the body text scale so a link matches the copy it sits in. */
4624
+ .muka-text-link--sm {
4625
+ font-family: var(--text-body-sm-regular-fontFamily);
4626
+ font-weight: var(--text-body-sm-regular-fontWeight);
4627
+ font-size: var(--text-body-sm-regular-fontSize);
4628
+ line-height: var(--text-body-sm-regular-lineHeight);
4629
+ }
4630
+
4631
+ .muka-text-link--base {
4632
+ font-family: var(--text-body-base-regular-fontFamily);
4633
+ font-weight: var(--text-body-base-regular-fontWeight);
4634
+ font-size: var(--text-body-base-regular-fontSize);
4635
+ line-height: var(--text-body-base-regular-lineHeight);
4636
+ }
4637
+
4638
+ .muka-text-link--lg {
4639
+ font-family: var(--text-body-lg-regular-fontFamily);
4640
+ font-weight: var(--text-body-lg-regular-fontWeight);
4641
+ font-size: var(--text-body-lg-regular-fontSize);
4642
+ line-height: var(--text-body-lg-regular-lineHeight);
4643
+ }
4644
+
4645
+ /* ─── Variant: default (accent) ───────────────────────────
4646
+ Visited repeats the default colour on purpose: the design treats visited and
4647
+ default the same, and pinning it stops the browser's purple from showing. */
4648
+ .muka-text-link--default,
4649
+ .muka-text-link--default:visited {
4650
+ color: var(--color-text-action-default);
4651
+ }
4652
+
4653
+ .muka-text-link--default:hover,
4654
+ .muka-text-link--default:focus-visible {
4655
+ color: var(--color-text-action-hover);
4656
+ }
4657
+
4658
+ .muka-text-link--default:active {
4659
+ color: var(--color-text-action-pressed);
4660
+ }
4661
+
4662
+ /* ─── Variant: subtle (neutral) ───────────────────────────
4663
+ Hover, focus and pressed all darken to the default text colour. */
4664
+ .muka-text-link--subtle,
4665
+ .muka-text-link--subtle:visited {
4666
+ color: var(--color-text-subtle-default);
4667
+ }
4668
+
4669
+ .muka-text-link--subtle:hover,
4670
+ .muka-text-link--subtle:focus-visible,
4671
+ .muka-text-link--subtle:active {
4672
+ color: var(--color-text-default-default);
4673
+ }
4674
+
4675
+ /* ─── Focus ───────────────────────────────────────────────
4676
+ Same ring as every other focusable Muka component. */
4677
+ .muka-text-link:focus-visible {
4678
+ outline: 2px solid var(--color-border-focus);
4679
+ outline-offset: 2px;
4680
+ }
4681
+
4682
+ @media (prefers-reduced-motion: reduce) {
4683
+ .muka-text-link {
4684
+ transition: none;
4685
+ }
4686
+ }
4687
+
4688
+
4689
4689
  /* TablePagination */
4690
4690
  /* TablePagination Component Styles - Using Muka Design Tokens */
4691
4691
 
@@ -5090,175 +5090,67 @@ body {
5090
5090
  }
5091
5091
 
5092
5092
 
5093
- /* SwipeActions */
5094
- /* SwipeActions Component Styles */
5093
+ /* Spinner */
5094
+ /* Spinner Component Styles */
5095
5095
 
5096
- .muka-swipe-actions {
5097
- position: relative;
5098
- overflow: hidden;
5099
- touch-action: pan-y;
5100
- -webkit-user-select: none;
5101
- user-select: none;
5102
- background-color: var(--color-surface-level3);
5096
+ .muka-spinner {
5097
+ display: inline-flex;
5098
+ align-items: center;
5099
+ justify-content: center;
5100
+ color: var(--color-text-default-default);
5101
+ line-height: 0;
5103
5102
  }
5104
5103
 
5105
- .muka-swipe-actions--disabled {
5106
- touch-action: auto;
5104
+ .muka-spinner--subtle {
5105
+ color: var(--color-text-subtle-default);
5107
5106
  }
5108
5107
 
5109
- /* ─── Row that holds the actual content ────────────────── */
5108
+ .muka-spinner--inverse {
5109
+ color: var(--color-text-default-inverse);
5110
+ }
5110
5111
 
5111
- .muka-swipe-actions__row {
5112
- position: relative;
5113
- z-index: 1;
5114
- background-color: inherit;
5115
- will-change: transform;
5112
+ .muka-spinner__circle {
5113
+ display: inline-block;
5114
+ border-radius: 50%;
5115
+ border-style: solid;
5116
+ border-color: currentColor;
5117
+ border-right-color: transparent;
5118
+ animation: muka-spinner-rotate 0.7s linear infinite;
5119
+ box-sizing: border-box;
5116
5120
  }
5117
5121
 
5118
- /* ─── Action panels — sit beneath the row ──────────────── */
5122
+ /* ─── Sizes ───────────────────────────────────────────── */
5119
5123
 
5120
- .muka-swipe-actions__panel {
5121
- position: absolute;
5122
- top: 0;
5123
- bottom: 0;
5124
- display: flex;
5125
- align-items: stretch;
5126
- z-index: 0;
5124
+ .muka-spinner--sm .muka-spinner__circle {
5125
+ width: 16px;
5126
+ height: 16px;
5127
+ border-width: 2px;
5127
5128
  }
5128
5129
 
5129
- .muka-swipe-actions__panel--left {
5130
- left: 0;
5130
+ .muka-spinner--md .muka-spinner__circle {
5131
+ width: 20px;
5132
+ height: 20px;
5133
+ border-width: 2px;
5131
5134
  }
5132
5135
 
5133
- .muka-swipe-actions__panel--right {
5134
- right: 0;
5136
+ .muka-spinner--lg .muka-spinner__circle {
5137
+ width: 24px;
5138
+ height: 24px;
5139
+ border-width: 3px;
5135
5140
  }
5136
5141
 
5137
- /* ─── Single action button ─────────────────────────────── */
5142
+ /* ─── Visually-hidden label ───────────────────────────── */
5138
5143
 
5139
- .muka-swipe-actions__button {
5140
- display: flex;
5141
- flex-direction: column;
5142
- align-items: center;
5143
- justify-content: center;
5144
- gap: var(--spacing-1);
5145
- border: none;
5146
- cursor: pointer;
5147
- padding: var(--spacing-2);
5148
- background-color: var(--color-surface-level2);
5149
- color: var(--color-text-default-default);
5150
- font-family: var(--text-label-sm-semibold-fontFamily);
5151
- font-weight: var(--text-label-sm-semibold-fontWeight);
5152
- font-size: var(--text-label-sm-semibold-fontSize);
5153
- line-height: var(--text-label-sm-semibold-lineHeight);
5154
- -webkit-tap-highlight-color: transparent;
5155
- transition: filter 0.12s ease;
5156
- }
5157
-
5158
- .muka-swipe-actions__button:hover {
5159
- filter: brightness(0.95);
5160
- }
5161
-
5162
- .muka-swipe-actions__button:focus-visible {
5163
- outline: 2px solid var(--color-action-default);
5164
- outline-offset: -2px;
5165
- }
5166
-
5167
- .muka-swipe-actions__button-icon {
5168
- display: inline-flex;
5169
- align-items: center;
5170
- justify-content: center;
5171
- }
5172
-
5173
- /* ─── Color variants ───────────────────────────────────── */
5174
-
5175
- .muka-swipe-actions__button--neutral {
5176
- background-color: var(--color-surface-level2);
5177
- color: var(--color-text-default-default);
5178
- }
5179
-
5180
- .muka-swipe-actions__button--primary {
5181
- background-color: var(--color-action-default);
5182
- color: var(--color-text-default-inverse);
5183
- }
5184
-
5185
- .muka-swipe-actions__button--success {
5186
- background-color: var(--color-state-success-default);
5187
- color: var(--color-text-default-inverse);
5188
- }
5189
-
5190
- .muka-swipe-actions__button--warning {
5191
- background-color: var(--color-state-warning-default);
5192
- color: var(--color-text-default-default);
5193
- }
5194
-
5195
- .muka-swipe-actions__button--destructive {
5196
- background-color: var(--color-state-error-default);
5197
- color: var(--color-text-default-inverse);
5198
- }
5199
-
5200
-
5201
- /* Spinner */
5202
- /* Spinner Component Styles */
5203
-
5204
- .muka-spinner {
5205
- display: inline-flex;
5206
- align-items: center;
5207
- justify-content: center;
5208
- color: var(--color-text-default-default);
5209
- line-height: 0;
5210
- }
5211
-
5212
- .muka-spinner--subtle {
5213
- color: var(--color-text-subtle-default);
5214
- }
5215
-
5216
- .muka-spinner--inverse {
5217
- color: var(--color-text-default-inverse);
5218
- }
5219
-
5220
- .muka-spinner__circle {
5221
- display: inline-block;
5222
- border-radius: 50%;
5223
- border-style: solid;
5224
- border-color: currentColor;
5225
- border-right-color: transparent;
5226
- animation: muka-spinner-rotate 0.7s linear infinite;
5227
- box-sizing: border-box;
5228
- }
5229
-
5230
- /* ─── Sizes ───────────────────────────────────────────── */
5231
-
5232
- .muka-spinner--sm .muka-spinner__circle {
5233
- width: 16px;
5234
- height: 16px;
5235
- border-width: 2px;
5236
- }
5237
-
5238
- .muka-spinner--md .muka-spinner__circle {
5239
- width: 20px;
5240
- height: 20px;
5241
- border-width: 2px;
5242
- }
5243
-
5244
- .muka-spinner--lg .muka-spinner__circle {
5245
- width: 24px;
5246
- height: 24px;
5247
- border-width: 3px;
5248
- }
5249
-
5250
- /* ─── Visually-hidden label ───────────────────────────── */
5251
-
5252
- .muka-spinner__sr-label {
5253
- position: absolute;
5254
- width: 1px;
5255
- height: 1px;
5256
- padding: 0;
5257
- margin: -1px;
5258
- overflow: hidden;
5259
- clip: rect(0, 0, 0, 0);
5260
- white-space: nowrap;
5261
- border: 0;
5144
+ .muka-spinner__sr-label {
5145
+ position: absolute;
5146
+ width: 1px;
5147
+ height: 1px;
5148
+ padding: 0;
5149
+ margin: -1px;
5150
+ overflow: hidden;
5151
+ clip: rect(0, 0, 0, 0);
5152
+ white-space: nowrap;
5153
+ border: 0;
5262
5154
  }
5263
5155
 
5264
5156
  /* ─── Reduced motion ──────────────────────────────────── */
@@ -5885,6 +5777,88 @@ body {
5885
5777
  }
5886
5778
 
5887
5779
 
5780
+ /* Sheet */
5781
+ /* Sheet Component Styles */
5782
+
5783
+ /* ─── Backdrop ────────────────────────────────────────── */
5784
+
5785
+ .muka-sheet__overlay {
5786
+ position: fixed;
5787
+ inset: 0;
5788
+ background-color: var(--color-surface-backdrop);
5789
+ -webkit-backdrop-filter: blur(var(--effect-blur-backdrop));
5790
+ backdrop-filter: blur(var(--effect-blur-backdrop));
5791
+ z-index: 50;
5792
+ }
5793
+
5794
+ /* ─── Surface ─────────────────────────────────────────── */
5795
+
5796
+ .muka-sheet {
5797
+ position: fixed;
5798
+ left: 0;
5799
+ right: 0;
5800
+ bottom: 0;
5801
+ z-index: 51;
5802
+
5803
+ display: flex;
5804
+ flex-direction: column;
5805
+
5806
+ max-height: 96dvh;
5807
+
5808
+ background-color: var(--color-surface-level3);
5809
+ border-top-left-radius: var(--radius-lg);
5810
+ border-top-right-radius: var(--radius-lg);
5811
+ box-shadow: var(--shadow-level5);
5812
+
5813
+ outline: none;
5814
+ }
5815
+
5816
+ /* Safe-area bottom inset for the iPhone home indicator. */
5817
+ .muka-sheet:not(.muka-sheet--no-safe-area) {
5818
+ padding-bottom: env(safe-area-inset-bottom);
5819
+ }
5820
+
5821
+ /* ─── Drag handle ─────────────────────────────────────── */
5822
+
5823
+ .muka-sheet__handle-container {
5824
+ display: flex;
5825
+ justify-content: center;
5826
+ flex-shrink: 0;
5827
+ padding: var(--spacing-3) 0;
5828
+ }
5829
+
5830
+ .muka-sheet__handle {
5831
+ width: var(--dialog-drag-handle-width);
5832
+ height: var(--dialog-drag-handle-height);
5833
+ background-color: var(--dialog-drag-handle-color);
5834
+ border-radius: var(--dialog-drag-handle-radius);
5835
+ }
5836
+
5837
+ /* ─── Body (scrollable) ───────────────────────────────── */
5838
+
5839
+ .muka-sheet__body {
5840
+ flex: 1 1 0%;
5841
+ min-height: 0;
5842
+ overflow-y: auto;
5843
+ -webkit-overflow-scrolling: touch;
5844
+ overscroll-behavior: contain;
5845
+ }
5846
+
5847
+ /* ─── Visually-hidden title (a11y) ────────────────────── */
5848
+
5849
+ .muka-sheet__sr-title {
5850
+ position: absolute;
5851
+ width: 1px;
5852
+ height: 1px;
5853
+ padding: 0;
5854
+ margin: -1px;
5855
+ overflow: hidden;
5856
+ clip: rect(0, 0, 0, 0);
5857
+ white-space: nowrap;
5858
+ border: 0;
5859
+ }
5860
+
5861
+
5888
5862
  /* Select */
5889
5863
  /* Select Component Styles - Aligned with Input for consistency */
5890
5864
 
@@ -8198,6 +8172,10 @@ button.muka-progress-tracker__tab:focus-visible {
8198
8172
  gap: var(--spacing-3); /* 12px */
8199
8173
  }
8200
8174
 
8175
+ .muka-profile-badge--sm {
8176
+ gap: var(--spacing-2); /* 8px */
8177
+ }
8178
+
8201
8179
  .muka-profile-badge__avatar {
8202
8180
  flex-shrink: 0;
8203
8181
  }
@@ -8250,6 +8228,39 @@ button.muka-progress-tracker__tab:focus-visible {
8250
8228
  outline-offset: 2px;
8251
8229
  }
8252
8230
 
8231
+ /* Trailing chevron: the badge opens a menu */
8232
+ .muka-profile-badge__chevron {
8233
+ flex-shrink: 0;
8234
+ }
8235
+
8236
+ /*
8237
+ * A clickable badge with a chevron is a pill (Figma Profile Badge, Bouwplan
8238
+ * header): 4px inset on the avatar side, 12px after the chevron. The border
8239
+ * is an inset shadow so it appears on hover and while the menu is open
8240
+ * without moving the content.
8241
+ */
8242
+ .muka-profile-badge--clickable.muka-profile-badge--with-chevron {
8243
+ padding: var(--spacing-1) var(--spacing-3) var(--spacing-1) var(--spacing-1);
8244
+ border-radius: var(--radius-full);
8245
+ transition: box-shadow 0.2s ease;
8246
+ }
8247
+
8248
+ .muka-profile-badge--clickable.muka-profile-badge--with-chevron:hover,
8249
+ .muka-profile-badge--clickable.muka-profile-badge--with-chevron:active {
8250
+ opacity: 1;
8251
+ }
8252
+
8253
+ .muka-profile-badge--clickable.muka-profile-badge--with-chevron:hover,
8254
+ .muka-profile-badge--clickable.muka-profile-badge--with-chevron[aria-expanded='true'],
8255
+ .muka-profile-badge--clickable.muka-profile-badge--with-chevron[data-state='open'] {
8256
+ box-shadow: inset 0 0 0 var(--border-width-regular) var(--button-color-ghost-border-hover);
8257
+ }
8258
+
8259
+ /* A badge without an avatar keeps the 12px start inset */
8260
+ .muka-profile-badge--clickable.muka-profile-badge--with-chevron:not(:has(.muka-profile-badge__avatar)) {
8261
+ padding-left: var(--spacing-3);
8262
+ }
8263
+
8253
8264
 
8254
8265
  /* PriceTag */
8255
8266
  /* PriceTag Component Styles - Using Muka Design Tokens */
@@ -9201,122 +9212,40 @@ button.muka-progress-tracker__tab:focus-visible {
9201
9212
  }
9202
9213
 
9203
9214
 
9204
- /* Sheet */
9205
- /* Sheet Component Styles */
9215
+ /* NumberInput */
9216
+ /* NumberInput — reuses Input field styles (../Input/Input.css). */
9217
+ /* Only the prefix/suffix affixes are NumberInput-specific. */
9206
9218
 
9207
- /* ─── Backdrop ────────────────────────────────────────── */
9219
+ .muka-numberinput__addon {
9220
+ display: inline-flex;
9221
+ align-items: center;
9222
+ flex: none;
9223
+ color: var(--color-text-subtle-default);
9224
+ font-family: var(--text-input-md-fontFamily);
9225
+ font-size: var(--text-input-md-fontSize);
9226
+ line-height: var(--text-input-md-lineHeight);
9227
+ user-select: none;
9228
+ pointer-events: none;
9229
+ white-space: nowrap;
9230
+ }
9208
9231
 
9209
- .muka-sheet__overlay {
9210
- position: fixed;
9211
- inset: 0;
9212
- background-color: var(--color-surface-backdrop);
9213
- -webkit-backdrop-filter: blur(var(--effect-blur-backdrop));
9214
- backdrop-filter: blur(var(--effect-blur-backdrop));
9215
- z-index: 50;
9232
+ /* Hide the native number spinners — affixes/step API replace them. */
9233
+ .muka-numberinput__field .muka-input__native::-webkit-outer-spin-button,
9234
+ .muka-numberinput__field .muka-input__native::-webkit-inner-spin-button {
9235
+ -webkit-appearance: none;
9236
+ margin: 0;
9216
9237
  }
9217
9238
 
9218
- /* ─── Surface ─────────────────────────────────────────── */
9239
+ .muka-numberinput__field .muka-input__native {
9240
+ -moz-appearance: textfield;
9241
+ appearance: textfield;
9242
+ }
9219
9243
 
9220
- .muka-sheet {
9221
- position: fixed;
9222
- left: 0;
9223
- right: 0;
9224
- bottom: 0;
9225
- z-index: 51;
9226
9244
 
9227
- display: flex;
9228
- flex-direction: column;
9245
+ /* NavigationTransition */
9246
+ /* NavigationTransition Component Styles */
9229
9247
 
9230
- max-height: 96dvh;
9231
-
9232
- background-color: var(--color-surface-level3);
9233
- border-top-left-radius: var(--radius-lg);
9234
- border-top-right-radius: var(--radius-lg);
9235
- box-shadow: var(--shadow-level5);
9236
-
9237
- outline: none;
9238
- }
9239
-
9240
- /* Safe-area bottom inset for the iPhone home indicator. */
9241
- .muka-sheet:not(.muka-sheet--no-safe-area) {
9242
- padding-bottom: env(safe-area-inset-bottom);
9243
- }
9244
-
9245
- /* ─── Drag handle ─────────────────────────────────────── */
9246
-
9247
- .muka-sheet__handle-container {
9248
- display: flex;
9249
- justify-content: center;
9250
- flex-shrink: 0;
9251
- padding: var(--spacing-3) 0;
9252
- }
9253
-
9254
- .muka-sheet__handle {
9255
- width: var(--dialog-drag-handle-width);
9256
- height: var(--dialog-drag-handle-height);
9257
- background-color: var(--dialog-drag-handle-color);
9258
- border-radius: var(--dialog-drag-handle-radius);
9259
- }
9260
-
9261
- /* ─── Body (scrollable) ───────────────────────────────── */
9262
-
9263
- .muka-sheet__body {
9264
- flex: 1 1 0%;
9265
- min-height: 0;
9266
- overflow-y: auto;
9267
- -webkit-overflow-scrolling: touch;
9268
- overscroll-behavior: contain;
9269
- }
9270
-
9271
- /* ─── Visually-hidden title (a11y) ────────────────────── */
9272
-
9273
- .muka-sheet__sr-title {
9274
- position: absolute;
9275
- width: 1px;
9276
- height: 1px;
9277
- padding: 0;
9278
- margin: -1px;
9279
- overflow: hidden;
9280
- clip: rect(0, 0, 0, 0);
9281
- white-space: nowrap;
9282
- border: 0;
9283
- }
9284
-
9285
-
9286
- /* NumberInput */
9287
- /* NumberInput — reuses Input field styles (../Input/Input.css). */
9288
- /* Only the prefix/suffix affixes are NumberInput-specific. */
9289
-
9290
- .muka-numberinput__addon {
9291
- display: inline-flex;
9292
- align-items: center;
9293
- flex: none;
9294
- color: var(--color-text-subtle-default);
9295
- font-family: var(--text-input-md-fontFamily);
9296
- font-size: var(--text-input-md-fontSize);
9297
- line-height: var(--text-input-md-lineHeight);
9298
- user-select: none;
9299
- pointer-events: none;
9300
- white-space: nowrap;
9301
- }
9302
-
9303
- /* Hide the native number spinners — affixes/step API replace them. */
9304
- .muka-numberinput__field .muka-input__native::-webkit-outer-spin-button,
9305
- .muka-numberinput__field .muka-input__native::-webkit-inner-spin-button {
9306
- -webkit-appearance: none;
9307
- margin: 0;
9308
- }
9309
-
9310
- .muka-numberinput__field .muka-input__native {
9311
- -moz-appearance: textfield;
9312
- appearance: textfield;
9313
- }
9314
-
9315
-
9316
- /* NavigationTransition */
9317
- /* NavigationTransition Component Styles */
9318
-
9319
- /* ─── Wrapper ────────────────────────────────────────── */
9248
+ /* ─── Wrapper ────────────────────────────────────────── */
9320
9249
 
9321
9250
  .muka-nav-transition {
9322
9251
  position: relative;
@@ -10306,6 +10235,43 @@ li.muka-listitem {
10306
10235
  display: none;
10307
10236
  }
10308
10237
 
10238
+ /* ─── Compact padding ──────────────────────────────────── */
10239
+
10240
+ /*
10241
+ * Figma ListItem × Padding=Compact: an 8px inset, 12px between leading and
10242
+ * label, a 32px leading slot (a 20px icon centred, or a 32px avatar) and a
10243
+ * regular-weight label. Used in menus and short navigation lists.
10244
+ */
10245
+ .muka-listitem--compact {
10246
+ align-items: center;
10247
+ gap: var(--spacing-3);
10248
+ padding: var(--spacing-2);
10249
+ }
10250
+
10251
+ .muka-listitem--compact .muka-listitem__leading {
10252
+ width: var(--size-2xl);
10253
+ height: var(--size-2xl);
10254
+ }
10255
+
10256
+ .muka-listitem--compact .muka-listitem__icon {
10257
+ width: var(--size-2xl);
10258
+ height: var(--size-2xl);
10259
+ }
10260
+
10261
+ .muka-listitem--compact .muka-listitem__image {
10262
+ width: var(--size-2xl);
10263
+ height: var(--size-2xl);
10264
+ border-radius: var(--radius-sm);
10265
+ }
10266
+
10267
+ .muka-listitem--compact .muka-listitem__label {
10268
+ font-weight: var(--text-label-md-regular-fontWeight);
10269
+ }
10270
+
10271
+ .muka-listitem--compact .muka-listitem__content {
10272
+ gap: var(--spacing-3);
10273
+ }
10274
+
10309
10275
 
10310
10276
  /* LicensePlateInput */
10311
10277
  /* LicensePlateInput — Dutch RDW-style plate input
@@ -11000,26 +10966,6 @@ li.muka-listitem {
11000
10966
  }
11001
10967
 
11002
10968
 
11003
- /* Form */
11004
- .muka-form {
11005
- display: flex;
11006
- flex-direction: column;
11007
- width: 100%;
11008
- }
11009
-
11010
- .muka-form--gap-sm {
11011
- gap: var(--size-sm);
11012
- }
11013
-
11014
- .muka-form--gap-md {
11015
- gap: var(--size-md);
11016
- }
11017
-
11018
- .muka-form--gap-lg {
11019
- gap: var(--size-lg);
11020
- }
11021
-
11022
-
11023
10969
  /* Icon */
11024
10970
  /* Icon Component Styles - Using Muka Design Tokens */
11025
10971
 
@@ -11074,6 +11020,26 @@ li.muka-listitem {
11074
11020
  }
11075
11021
 
11076
11022
 
11023
+ /* Form */
11024
+ .muka-form {
11025
+ display: flex;
11026
+ flex-direction: column;
11027
+ width: 100%;
11028
+ }
11029
+
11030
+ .muka-form--gap-sm {
11031
+ gap: var(--size-sm);
11032
+ }
11033
+
11034
+ .muka-form--gap-md {
11035
+ gap: var(--size-md);
11036
+ }
11037
+
11038
+ .muka-form--gap-lg {
11039
+ gap: var(--size-lg);
11040
+ }
11041
+
11042
+
11077
11043
  /* FileUpload */
11078
11044
  /* FileUpload Component Styles */
11079
11045
 
@@ -14300,6 +14266,47 @@ button.muka-chip__trailing[aria-expanded='true'],
14300
14266
  }
14301
14267
 
14302
14268
 
14269
+ /* ChatQuestionSeries */
14270
+ /* ChatQuestionSeries — step dots and the collapsed summary (experimental) */
14271
+ .muka-chat-series__dots {
14272
+ display: inline-flex;
14273
+ align-items: center;
14274
+ gap: var(--spacing-1);
14275
+ }
14276
+
14277
+ .muka-chat-series__dot {
14278
+ width: var(--spacing-1);
14279
+ height: var(--spacing-1);
14280
+ border-radius: var(--border-radius-full);
14281
+ background-color: var(--color-border-default);
14282
+ }
14283
+
14284
+ .muka-chat-series__dot--done {
14285
+ background-color: var(--color-text-subtle-default);
14286
+ }
14287
+
14288
+ .muka-chat-series__dot--current {
14289
+ width: var(--spacing-2);
14290
+ height: var(--spacing-2);
14291
+ background-color: var(--color-text-default-default);
14292
+ }
14293
+
14294
+ .muka-chat-series__summary {
14295
+ display: flex;
14296
+ flex-direction: column;
14297
+ gap: var(--spacing-2);
14298
+ }
14299
+
14300
+ .muka-chat-series__summary-row {
14301
+ display: flex;
14302
+ flex-direction: column;
14303
+ }
14304
+
14305
+ .muka-chat-series__summary-question {
14306
+ color: var(--color-text-subtle-default);
14307
+ }
14308
+
14309
+
14303
14310
  /* ChatQuestionCard */
14304
14311
  /*
14305
14312
  * ChatQuestionCard — in-thread question widget (experimental).
@@ -14501,52 +14508,79 @@ button.muka-chat-photo-grid__tile:focus-visible {
14501
14508
  }
14502
14509
 
14503
14510
 
14504
- /* ChatQuestionSeries */
14505
- /* ChatQuestionSeries — step dots and the collapsed summary (experimental) */
14506
- .muka-chat-series__dots {
14507
- display: inline-flex;
14508
- align-items: center;
14509
- gap: var(--spacing-1);
14510
- }
14511
+ /* ChatMessageStack */
14512
+ /* ChatMessageStack Component Styles */
14511
14513
 
14512
- .muka-chat-series__dot {
14513
- width: var(--spacing-1);
14514
- height: var(--spacing-1);
14515
- border-radius: var(--border-radius-full);
14516
- background-color: var(--color-border-default);
14514
+ .muka-chat-message-stack {
14515
+ display: flex;
14516
+ flex-direction: column;
14517
+ gap: var(--chatbubble-stack-gap);
14518
+ width: 100%;
14519
+ max-width: 100%;
14517
14520
  }
14518
14521
 
14519
- .muka-chat-series__dot--done {
14520
- background-color: var(--color-text-subtle-default);
14522
+ .muka-chat-message-stack__messages {
14523
+ display: flex;
14524
+ flex-direction: column;
14525
+ gap: var(--chatbubble-stack-gap);
14526
+ width: 100%;
14521
14527
  }
14522
14528
 
14523
- .muka-chat-series__dot--current {
14524
- width: var(--spacing-2);
14525
- height: var(--spacing-2);
14526
- background-color: var(--color-text-default-default);
14529
+ /*
14530
+ * Reasoning sits above the stack, indented past the avatar rail so it lines up
14531
+ * with the bubbles rather than with the avatar (Figma 5379:47300).
14532
+ */
14533
+ .muka-chat-message-stack__reasoning {
14534
+ min-width: 0;
14527
14535
  }
14528
14536
 
14529
- .muka-chat-series__summary {
14537
+ /* In-thread widgets after the messages share the reasoning's indent. */
14538
+ .muka-chat-message-stack__widgets {
14530
14539
  display: flex;
14531
14540
  flex-direction: column;
14532
- gap: var(--spacing-2);
14541
+ gap: var(--chatbubble-stack-gap);
14542
+ min-width: 0;
14533
14543
  }
14534
14544
 
14535
- .muka-chat-series__summary-row {
14536
- display: flex;
14537
- flex-direction: column;
14545
+ .muka-chat-message-stack--has-avatar .muka-chat-message-stack__widgets,
14546
+ .muka-chat-message-stack--has-avatar .muka-chat-message-stack__reasoning {
14547
+ padding-left: calc(var(--chatbubble-avatar-size) + var(--chatbubble-row-gap));
14538
14548
  }
14539
14549
 
14540
- .muka-chat-series__summary-question {
14541
- color: var(--color-text-subtle-default);
14550
+ .muka-chat-message-stack--own.muka-chat-message-stack--has-avatar
14551
+ .muka-chat-message-stack__widgets,
14552
+ .muka-chat-message-stack--own.muka-chat-message-stack--has-avatar
14553
+ .muka-chat-message-stack__reasoning {
14554
+ padding-left: 0;
14555
+ padding-right: calc(var(--chatbubble-avatar-size) + var(--chatbubble-row-gap));
14542
14556
  }
14543
14557
 
14544
-
14545
- /* ChatMessageList */
14546
- /* ChatMessageList Component Styles */
14547
-
14548
- .muka-chat-message-list {
14549
- flex: 1 1 auto;
14558
+ /* Follow the message's compact rail and gap below the desktop breakpoint */
14559
+ @media (max-width: 1023px) {
14560
+ .muka-chat-message-stack--has-avatar .muka-chat-message-stack__widgets,
14561
+ .muka-chat-message-stack--has-avatar .muka-chat-message-stack__reasoning {
14562
+ padding-left: calc(
14563
+ var(--chatbubble-avatar-size-compact) + var(--chatbubble-row-gap-compact)
14564
+ );
14565
+ }
14566
+
14567
+ .muka-chat-message-stack--own.muka-chat-message-stack--has-avatar
14568
+ .muka-chat-message-stack__widgets,
14569
+ .muka-chat-message-stack--own.muka-chat-message-stack--has-avatar
14570
+ .muka-chat-message-stack__reasoning {
14571
+ padding-left: 0;
14572
+ padding-right: calc(
14573
+ var(--chatbubble-avatar-size-compact) + var(--chatbubble-row-gap-compact)
14574
+ );
14575
+ }
14576
+ }
14577
+
14578
+
14579
+ /* ChatMessageList */
14580
+ /* ChatMessageList Component Styles */
14581
+
14582
+ .muka-chat-message-list {
14583
+ flex: 1 1 auto;
14550
14584
  min-height: 0;
14551
14585
  width: 100%;
14552
14586
  overflow-x: clip;
@@ -15270,74 +15304,6 @@ button.muka-chat-photo-grid__tile:focus-visible {
15270
15304
  }
15271
15305
 
15272
15306
 
15273
- /* ChatMessageStack */
15274
- /* ChatMessageStack Component Styles */
15275
-
15276
- .muka-chat-message-stack {
15277
- display: flex;
15278
- flex-direction: column;
15279
- gap: var(--chatbubble-stack-gap);
15280
- width: 100%;
15281
- max-width: 100%;
15282
- }
15283
-
15284
- .muka-chat-message-stack__messages {
15285
- display: flex;
15286
- flex-direction: column;
15287
- gap: var(--chatbubble-stack-gap);
15288
- width: 100%;
15289
- }
15290
-
15291
- /*
15292
- * Reasoning sits above the stack, indented past the avatar rail so it lines up
15293
- * with the bubbles rather than with the avatar (Figma 5379:47300).
15294
- */
15295
- .muka-chat-message-stack__reasoning {
15296
- min-width: 0;
15297
- }
15298
-
15299
- /* In-thread widgets after the messages share the reasoning's indent. */
15300
- .muka-chat-message-stack__widgets {
15301
- display: flex;
15302
- flex-direction: column;
15303
- gap: var(--chatbubble-stack-gap);
15304
- min-width: 0;
15305
- }
15306
-
15307
- .muka-chat-message-stack--has-avatar .muka-chat-message-stack__widgets,
15308
- .muka-chat-message-stack--has-avatar .muka-chat-message-stack__reasoning {
15309
- padding-left: calc(var(--chatbubble-avatar-size) + var(--chatbubble-row-gap));
15310
- }
15311
-
15312
- .muka-chat-message-stack--own.muka-chat-message-stack--has-avatar
15313
- .muka-chat-message-stack__widgets,
15314
- .muka-chat-message-stack--own.muka-chat-message-stack--has-avatar
15315
- .muka-chat-message-stack__reasoning {
15316
- padding-left: 0;
15317
- padding-right: calc(var(--chatbubble-avatar-size) + var(--chatbubble-row-gap));
15318
- }
15319
-
15320
- /* Follow the message's compact rail and gap below the desktop breakpoint */
15321
- @media (max-width: 1023px) {
15322
- .muka-chat-message-stack--has-avatar .muka-chat-message-stack__widgets,
15323
- .muka-chat-message-stack--has-avatar .muka-chat-message-stack__reasoning {
15324
- padding-left: calc(
15325
- var(--chatbubble-avatar-size-compact) + var(--chatbubble-row-gap-compact)
15326
- );
15327
- }
15328
-
15329
- .muka-chat-message-stack--own.muka-chat-message-stack--has-avatar
15330
- .muka-chat-message-stack__widgets,
15331
- .muka-chat-message-stack--own.muka-chat-message-stack--has-avatar
15332
- .muka-chat-message-stack__reasoning {
15333
- padding-left: 0;
15334
- padding-right: calc(
15335
- var(--chatbubble-avatar-size-compact) + var(--chatbubble-row-gap-compact)
15336
- );
15337
- }
15338
- }
15339
-
15340
-
15341
15307
  /* ChatChoiceCard */
15342
15308
  /* ChatChoiceCard — compact option rows (experimental) */
15343
15309
  .muka-chat-choice__list {
@@ -15374,6 +15340,162 @@ button.muka-chat-photo-grid__tile:focus-visible {
15374
15340
  }
15375
15341
 
15376
15342
 
15343
+ /* ChatAttachmentChip */
15344
+ /* ChatAttachmentChip Component Styles */
15345
+
15346
+ .muka-chat-attachment-chip {
15347
+ position: relative;
15348
+ display: inline-flex;
15349
+ align-items: center;
15350
+ gap: var(--spacing-1);
15351
+ max-width: 240px;
15352
+ padding: var(--spacing-2) var(--spacing-3);
15353
+ background-color: var(--color-surface-level1);
15354
+ border: var(--border-width-regular) solid var(--color-border-default);
15355
+ border-radius: var(--radius-md);
15356
+ overflow: hidden;
15357
+ }
15358
+
15359
+ .muka-chat-attachment-chip--uploading {
15360
+ padding-bottom: calc(var(--spacing-2) + 2px);
15361
+ }
15362
+
15363
+ .muka-chat-attachment-chip--error {
15364
+ border-color: var(--color-state-error-default, var(--color-text-default-default));
15365
+ }
15366
+
15367
+ .muka-chat-attachment-chip--disabled {
15368
+ opacity: 0.5;
15369
+ pointer-events: none;
15370
+ }
15371
+
15372
+ /* ─── Body (icon + text) ───────────────────────────────── */
15373
+
15374
+ .muka-chat-attachment-chip__body {
15375
+ display: inline-flex;
15376
+ align-items: center;
15377
+ gap: var(--spacing-2);
15378
+ min-width: 0;
15379
+ flex: 1 1 auto;
15380
+ background: none;
15381
+ border: none;
15382
+ padding: 0;
15383
+ margin: 0;
15384
+ text-align: left;
15385
+ color: inherit;
15386
+ font: inherit;
15387
+ cursor: default;
15388
+ -webkit-tap-highlight-color: transparent;
15389
+ }
15390
+
15391
+ .muka-chat-attachment-chip--interactive .muka-chat-attachment-chip__body {
15392
+ cursor: pointer;
15393
+ }
15394
+
15395
+ .muka-chat-attachment-chip--interactive .muka-chat-attachment-chip__body:focus-visible {
15396
+ outline: 2px solid var(--color-action-default);
15397
+ outline-offset: 2px;
15398
+ border-radius: var(--radius-sm);
15399
+ }
15400
+
15401
+ .muka-chat-attachment-chip__icon {
15402
+ display: inline-flex;
15403
+ align-items: center;
15404
+ justify-content: center;
15405
+ flex-shrink: 0;
15406
+ color: var(--color-text-subtle-default);
15407
+ }
15408
+
15409
+ .muka-chat-attachment-chip__text {
15410
+ display: flex;
15411
+ flex-direction: column;
15412
+ min-width: 0;
15413
+ flex: 1 1 auto;
15414
+ }
15415
+
15416
+ .muka-chat-attachment-chip__name {
15417
+ color: var(--color-text-default-default);
15418
+ font-family: var(--text-body-sm-regular-fontFamily);
15419
+ font-weight: var(--text-body-sm-regular-fontWeight);
15420
+ font-size: var(--text-body-sm-regular-fontSize);
15421
+ line-height: var(--text-body-sm-regular-lineHeight);
15422
+ white-space: nowrap;
15423
+ overflow: hidden;
15424
+ text-overflow: ellipsis;
15425
+ }
15426
+
15427
+ .muka-chat-attachment-chip__meta {
15428
+ color: var(--color-text-subtle-default);
15429
+ font-family: var(--text-body-sm-regular-fontFamily);
15430
+ font-weight: var(--text-body-sm-regular-fontWeight);
15431
+ font-size: var(--text-body-sm-regular-fontSize);
15432
+ line-height: var(--text-body-sm-regular-lineHeight);
15433
+ white-space: nowrap;
15434
+ overflow: hidden;
15435
+ text-overflow: ellipsis;
15436
+ }
15437
+
15438
+ .muka-chat-attachment-chip--error .muka-chat-attachment-chip__meta {
15439
+ color: var(--color-state-error-default, var(--color-text-default-default));
15440
+ }
15441
+
15442
+ /* ─── Remove button ────────────────────────────────────── */
15443
+
15444
+ .muka-chat-attachment-chip__remove {
15445
+ display: inline-flex;
15446
+ align-items: center;
15447
+ justify-content: center;
15448
+ width: 20px;
15449
+ height: 20px;
15450
+ border: none;
15451
+ background: none;
15452
+ padding: 0;
15453
+ border-radius: var(--radius-sm);
15454
+ cursor: pointer;
15455
+ color: var(--color-text-subtle-default);
15456
+ flex-shrink: 0;
15457
+ -webkit-tap-highlight-color: transparent;
15458
+ }
15459
+
15460
+ .muka-chat-attachment-chip__remove:hover:not(:disabled) {
15461
+ color: var(--color-text-default-default);
15462
+ background-color: var(--color-surface-level2);
15463
+ }
15464
+
15465
+ .muka-chat-attachment-chip__remove:focus-visible {
15466
+ outline: 2px solid var(--color-action-default);
15467
+ outline-offset: 2px;
15468
+ }
15469
+
15470
+ .muka-chat-attachment-chip__remove:disabled {
15471
+ cursor: not-allowed;
15472
+ opacity: 0.5;
15473
+ }
15474
+
15475
+ /* ─── Progress bar ─────────────────────────────────────── */
15476
+
15477
+ .muka-chat-attachment-chip__progress {
15478
+ position: absolute;
15479
+ left: 0;
15480
+ right: 0;
15481
+ bottom: 0;
15482
+ height: 2px;
15483
+ background-color: var(--color-surface-level2);
15484
+ overflow: hidden;
15485
+ }
15486
+
15487
+ .muka-chat-attachment-chip__progress-fill {
15488
+ display: block;
15489
+ height: 100%;
15490
+ background-color: var(--color-action-default);
15491
+ transition: width 0.16s ease;
15492
+ }
15493
+
15494
+ .muka-chat-attachment-chip--error .muka-chat-attachment-chip__progress-fill {
15495
+ background-color: var(--color-state-error-default, var(--color-text-default-default));
15496
+ }
15497
+
15498
+
15377
15499
  /* Card */
15378
15500
  /* Card Component Styles - Using Muka Design Tokens */
15379
15501
 
@@ -16350,164 +16472,8 @@ button.muka-chat-photo-grid__tile:focus-visible {
16350
16472
  }
16351
16473
 
16352
16474
 
16353
- /* ChatAttachmentChip */
16354
- /* ChatAttachmentChip Component Styles */
16355
-
16356
- .muka-chat-attachment-chip {
16357
- position: relative;
16358
- display: inline-flex;
16359
- align-items: center;
16360
- gap: var(--spacing-1);
16361
- max-width: 240px;
16362
- padding: var(--spacing-2) var(--spacing-3);
16363
- background-color: var(--color-surface-level1);
16364
- border: var(--border-width-regular) solid var(--color-border-default);
16365
- border-radius: var(--radius-md);
16366
- overflow: hidden;
16367
- }
16368
-
16369
- .muka-chat-attachment-chip--uploading {
16370
- padding-bottom: calc(var(--spacing-2) + 2px);
16371
- }
16372
-
16373
- .muka-chat-attachment-chip--error {
16374
- border-color: var(--color-state-error-default, var(--color-text-default-default));
16375
- }
16376
-
16377
- .muka-chat-attachment-chip--disabled {
16378
- opacity: 0.5;
16379
- pointer-events: none;
16380
- }
16381
-
16382
- /* ─── Body (icon + text) ───────────────────────────────── */
16383
-
16384
- .muka-chat-attachment-chip__body {
16385
- display: inline-flex;
16386
- align-items: center;
16387
- gap: var(--spacing-2);
16388
- min-width: 0;
16389
- flex: 1 1 auto;
16390
- background: none;
16391
- border: none;
16392
- padding: 0;
16393
- margin: 0;
16394
- text-align: left;
16395
- color: inherit;
16396
- font: inherit;
16397
- cursor: default;
16398
- -webkit-tap-highlight-color: transparent;
16399
- }
16400
-
16401
- .muka-chat-attachment-chip--interactive .muka-chat-attachment-chip__body {
16402
- cursor: pointer;
16403
- }
16404
-
16405
- .muka-chat-attachment-chip--interactive .muka-chat-attachment-chip__body:focus-visible {
16406
- outline: 2px solid var(--color-action-default);
16407
- outline-offset: 2px;
16408
- border-radius: var(--radius-sm);
16409
- }
16410
-
16411
- .muka-chat-attachment-chip__icon {
16412
- display: inline-flex;
16413
- align-items: center;
16414
- justify-content: center;
16415
- flex-shrink: 0;
16416
- color: var(--color-text-subtle-default);
16417
- }
16418
-
16419
- .muka-chat-attachment-chip__text {
16420
- display: flex;
16421
- flex-direction: column;
16422
- min-width: 0;
16423
- flex: 1 1 auto;
16424
- }
16425
-
16426
- .muka-chat-attachment-chip__name {
16427
- color: var(--color-text-default-default);
16428
- font-family: var(--text-body-sm-regular-fontFamily);
16429
- font-weight: var(--text-body-sm-regular-fontWeight);
16430
- font-size: var(--text-body-sm-regular-fontSize);
16431
- line-height: var(--text-body-sm-regular-lineHeight);
16432
- white-space: nowrap;
16433
- overflow: hidden;
16434
- text-overflow: ellipsis;
16435
- }
16436
-
16437
- .muka-chat-attachment-chip__meta {
16438
- color: var(--color-text-subtle-default);
16439
- font-family: var(--text-body-sm-regular-fontFamily);
16440
- font-weight: var(--text-body-sm-regular-fontWeight);
16441
- font-size: var(--text-body-sm-regular-fontSize);
16442
- line-height: var(--text-body-sm-regular-lineHeight);
16443
- white-space: nowrap;
16444
- overflow: hidden;
16445
- text-overflow: ellipsis;
16446
- }
16447
-
16448
- .muka-chat-attachment-chip--error .muka-chat-attachment-chip__meta {
16449
- color: var(--color-state-error-default, var(--color-text-default-default));
16450
- }
16451
-
16452
- /* ─── Remove button ────────────────────────────────────── */
16453
-
16454
- .muka-chat-attachment-chip__remove {
16455
- display: inline-flex;
16456
- align-items: center;
16457
- justify-content: center;
16458
- width: 20px;
16459
- height: 20px;
16460
- border: none;
16461
- background: none;
16462
- padding: 0;
16463
- border-radius: var(--radius-sm);
16464
- cursor: pointer;
16465
- color: var(--color-text-subtle-default);
16466
- flex-shrink: 0;
16467
- -webkit-tap-highlight-color: transparent;
16468
- }
16469
-
16470
- .muka-chat-attachment-chip__remove:hover:not(:disabled) {
16471
- color: var(--color-text-default-default);
16472
- background-color: var(--color-surface-level2);
16473
- }
16474
-
16475
- .muka-chat-attachment-chip__remove:focus-visible {
16476
- outline: 2px solid var(--color-action-default);
16477
- outline-offset: 2px;
16478
- }
16479
-
16480
- .muka-chat-attachment-chip__remove:disabled {
16481
- cursor: not-allowed;
16482
- opacity: 0.5;
16483
- }
16484
-
16485
- /* ─── Progress bar ─────────────────────────────────────── */
16486
-
16487
- .muka-chat-attachment-chip__progress {
16488
- position: absolute;
16489
- left: 0;
16490
- right: 0;
16491
- bottom: 0;
16492
- height: 2px;
16493
- background-color: var(--color-surface-level2);
16494
- overflow: hidden;
16495
- }
16496
-
16497
- .muka-chat-attachment-chip__progress-fill {
16498
- display: block;
16499
- height: 100%;
16500
- background-color: var(--color-action-default);
16501
- transition: width 0.16s ease;
16502
- }
16503
-
16504
- .muka-chat-attachment-chip--error .muka-chat-attachment-chip__progress-fill {
16505
- background-color: var(--color-state-error-default, var(--color-text-default-default));
16506
- }
16507
-
16508
-
16509
- /* BadgeNumber */
16510
- /* BadgeNumber Component Styles - Using Muka Design Tokens */
16475
+ /* BadgeNumber */
16476
+ /* BadgeNumber Component Styles - Using Muka Design Tokens */
16511
16477
 
16512
16478
  .muka-badge-number {
16513
16479
  display: inline-flex;
@@ -17185,6 +17151,72 @@ button.muka-chat-photo-grid__tile:focus-visible {
17185
17151
  }
17186
17152
 
17187
17153
 
17154
+ /* Autocomplete */
17155
+ /* Autocomplete — Figma Input Autocomplete (Input field + single-line suggestion Menu).
17156
+ The field reuses the Input styles (.muka-input*); only the menu wiring lives here. */
17157
+
17158
+ .muka-autocomplete {
17159
+ min-width: 200px;
17160
+ }
17161
+
17162
+ /* Covers the field's outer edge so the menu matches its full width. The menu
17163
+ is only open while focused, when the field has the bold border. */
17164
+ .muka-autocomplete__menu-anchor {
17165
+ position: absolute;
17166
+ inset: calc(-1 * var(--border-width-bold));
17167
+ z-index: 0;
17168
+ margin: 0;
17169
+ padding: 0;
17170
+ border: none;
17171
+ background: transparent;
17172
+ pointer-events: none;
17173
+ opacity: 0;
17174
+ }
17175
+
17176
+ /* Keep the field content above the invisible anchor. */
17177
+ .muka-autocomplete__field > :not(.muka-autocomplete__menu-anchor) {
17178
+ position: relative;
17179
+ z-index: 1;
17180
+ }
17181
+
17182
+ /* Figma: the menu is as wide as the field (never below the menu min-width token). */
17183
+ .muka-autocomplete__menu {
17184
+ width: var(--radix-dropdown-menu-trigger-width);
17185
+ max-width: calc(100vw - 2rem);
17186
+ }
17187
+
17188
+ /* Suggestions are single-line; long labels truncate. */
17189
+ .muka-autocomplete__menu .muka-menu__item-label {
17190
+ overflow: hidden;
17191
+ text-overflow: ellipsis;
17192
+ }
17193
+
17194
+ /* Loading and empty rows: menu-row geometry, not selectable. */
17195
+ .muka-autocomplete__status {
17196
+ display: flex;
17197
+ align-items: center;
17198
+ gap: var(--menu-item-gap);
17199
+ min-height: var(--menu-item-height);
17200
+ padding: var(--menu-item-padding-y) var(--menu-item-padding-x);
17201
+ color: var(--color-text-subtle-default);
17202
+ font-family: var(--text-label-md-regular-fontFamily);
17203
+ font-size: var(--text-label-md-regular-fontSize);
17204
+ font-weight: var(--text-label-md-regular-fontWeight);
17205
+ line-height: var(--text-label-md-regular-lineHeight);
17206
+ }
17207
+
17208
+ .muka-autocomplete__footer {
17209
+ flex-shrink: 0;
17210
+ padding: var(--spacing-2) var(--spacing-3);
17211
+ border-top: var(--border-width-regular) solid var(--color-border-default);
17212
+ color: var(--color-text-subtle-default);
17213
+ font-family: var(--text-label-sm-regular-fontFamily);
17214
+ font-size: var(--text-label-sm-regular-fontSize);
17215
+ font-weight: var(--text-label-sm-regular-fontWeight);
17216
+ line-height: var(--text-label-sm-regular-lineHeight);
17217
+ }
17218
+
17219
+
17188
17220
  /* AppShell */
17189
17221
  /* AppShell Component Styles */
17190
17222
 
@@ -17307,91 +17339,25 @@ button.muka-chat-photo-grid__tile:focus-visible {
17307
17339
  }
17308
17340
 
17309
17341
 
17310
- /* Autocomplete */
17311
- /* Autocomplete — Figma Input Autocomplete (Input field + single-line suggestion Menu).
17312
- The field reuses the Input styles (.muka-input*); only the menu wiring lives here. */
17342
+ /* Alert */
17343
+ /* Alert Component Styles - Using Muka Design Tokens */
17313
17344
 
17314
- .muka-autocomplete {
17315
- min-width: 200px;
17345
+ .muka-alert {
17346
+ display: flex;
17347
+ align-items: flex-start;
17348
+ border-radius: var(--alert-radius);
17349
+ border: none;
17350
+ gap: var(--alert-gap);
17351
+ box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
17316
17352
  }
17317
17353
 
17318
- /* Covers the field's outer edge so the menu matches its full width. The menu
17319
- is only open while focused, when the field has the bold border. */
17320
- .muka-autocomplete__menu-anchor {
17321
- position: absolute;
17322
- inset: calc(-1 * var(--border-width-bold));
17323
- z-index: 0;
17324
- margin: 0;
17325
- padding: 0;
17326
- border: none;
17327
- background: transparent;
17328
- pointer-events: none;
17329
- opacity: 0;
17354
+ /* Size variants */
17355
+ .muka-alert--sm {
17356
+ padding: var(--alert-padding-sm-y) var(--alert-padding-sm-x);
17330
17357
  }
17331
17358
 
17332
- /* Keep the field content above the invisible anchor. */
17333
- .muka-autocomplete__field > :not(.muka-autocomplete__menu-anchor) {
17334
- position: relative;
17335
- z-index: 1;
17336
- }
17337
-
17338
- /* Figma: the menu is as wide as the field (never below the menu min-width token). */
17339
- .muka-autocomplete__menu {
17340
- width: var(--radix-dropdown-menu-trigger-width);
17341
- max-width: calc(100vw - 2rem);
17342
- }
17343
-
17344
- /* Suggestions are single-line; long labels truncate. */
17345
- .muka-autocomplete__menu .muka-menu__item-label {
17346
- overflow: hidden;
17347
- text-overflow: ellipsis;
17348
- }
17349
-
17350
- /* Loading and empty rows: menu-row geometry, not selectable. */
17351
- .muka-autocomplete__status {
17352
- display: flex;
17353
- align-items: center;
17354
- gap: var(--menu-item-gap);
17355
- min-height: var(--menu-item-height);
17356
- padding: var(--menu-item-padding-y) var(--menu-item-padding-x);
17357
- color: var(--color-text-subtle-default);
17358
- font-family: var(--text-label-md-regular-fontFamily);
17359
- font-size: var(--text-label-md-regular-fontSize);
17360
- font-weight: var(--text-label-md-regular-fontWeight);
17361
- line-height: var(--text-label-md-regular-lineHeight);
17362
- }
17363
-
17364
- .muka-autocomplete__footer {
17365
- flex-shrink: 0;
17366
- padding: var(--spacing-2) var(--spacing-3);
17367
- border-top: var(--border-width-regular) solid var(--color-border-default);
17368
- color: var(--color-text-subtle-default);
17369
- font-family: var(--text-label-sm-regular-fontFamily);
17370
- font-size: var(--text-label-sm-regular-fontSize);
17371
- font-weight: var(--text-label-sm-regular-fontWeight);
17372
- line-height: var(--text-label-sm-regular-lineHeight);
17373
- }
17374
-
17375
-
17376
- /* Alert */
17377
- /* Alert Component Styles - Using Muka Design Tokens */
17378
-
17379
- .muka-alert {
17380
- display: flex;
17381
- align-items: flex-start;
17382
- border-radius: var(--alert-radius);
17383
- border: none;
17384
- gap: var(--alert-gap);
17385
- box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
17386
- }
17387
-
17388
- /* Size variants */
17389
- .muka-alert--sm {
17390
- padding: var(--alert-padding-sm-y) var(--alert-padding-sm-x);
17391
- }
17392
-
17393
- .muka-alert--md {
17394
- padding: var(--alert-padding-md-y) var(--alert-padding-md-x);
17359
+ .muka-alert--md {
17360
+ padding: var(--alert-padding-md-y) var(--alert-padding-md-x);
17395
17361
  }
17396
17362
 
17397
17363
  .muka-alert--lg {
@@ -17753,6 +17719,148 @@ button.muka-chat-photo-grid__tile:focus-visible {
17753
17719
  }
17754
17720
 
17755
17721
 
17722
+ /* ActionSheet */
17723
+ /* ActionSheet Component Styles */
17724
+
17725
+ .muka-action-sheet__inner {
17726
+ display: flex;
17727
+ flex-direction: column;
17728
+ padding: 0 var(--spacing-4) var(--spacing-3) var(--spacing-4);
17729
+ gap: var(--spacing-3);
17730
+ }
17731
+
17732
+ /* ─── Header ──────────────────────────────────────────── */
17733
+
17734
+ .muka-action-sheet__header {
17735
+ display: flex;
17736
+ flex-direction: column;
17737
+ align-items: center;
17738
+ gap: var(--spacing-1);
17739
+ padding: var(--spacing-2) 0 var(--spacing-3);
17740
+ text-align: center;
17741
+ }
17742
+
17743
+ .muka-action-sheet__title {
17744
+ margin: 0;
17745
+ color: var(--color-text-default-default);
17746
+ font-family: var(--text-label-md-semibold-fontFamily);
17747
+ font-weight: var(--text-label-md-semibold-fontWeight);
17748
+ font-size: var(--text-label-md-semibold-fontSize);
17749
+ line-height: var(--text-label-md-semibold-lineHeight);
17750
+ }
17751
+
17752
+ .muka-action-sheet__description {
17753
+ margin: 0;
17754
+ color: var(--color-text-subtle-default);
17755
+ font-family: var(--text-body-sm-regular-fontFamily);
17756
+ font-weight: var(--text-body-sm-regular-fontWeight);
17757
+ font-size: var(--text-body-sm-regular-fontSize);
17758
+ line-height: var(--text-body-sm-regular-lineHeight);
17759
+ }
17760
+
17761
+ /* ─── Actions group ───────────────────────────────────── */
17762
+
17763
+ .muka-action-sheet__actions {
17764
+ display: flex;
17765
+ flex-direction: column;
17766
+ background-color: var(--color-surface-level1);
17767
+ border-radius: var(--radius-md);
17768
+ overflow: hidden;
17769
+ }
17770
+
17771
+ .muka-action-sheet__item {
17772
+ display: flex;
17773
+ align-items: center;
17774
+ gap: var(--spacing-3);
17775
+ padding: var(--spacing-3) var(--spacing-4);
17776
+ background: none;
17777
+ border: none;
17778
+ cursor: pointer;
17779
+ text-align: left;
17780
+ color: var(--color-text-default-default);
17781
+ font-family: var(--text-body-base-regular-fontFamily);
17782
+ font-weight: var(--text-body-base-regular-fontWeight);
17783
+ font-size: var(--text-body-base-regular-fontSize);
17784
+ line-height: var(--text-body-base-regular-lineHeight);
17785
+ -webkit-tap-highlight-color: transparent;
17786
+ transition: background-color 0.12s ease;
17787
+ }
17788
+
17789
+ .muka-action-sheet__item + .muka-action-sheet__item {
17790
+ border-top: var(--border-width-regular) solid var(--color-border-default);
17791
+ }
17792
+
17793
+ .muka-action-sheet__item:hover:not(:disabled) {
17794
+ background-color: var(--color-surface-level2);
17795
+ }
17796
+
17797
+ .muka-action-sheet__item:active:not(:disabled) {
17798
+ background-color: var(--color-surface-level3);
17799
+ }
17800
+
17801
+ .muka-action-sheet__item:focus-visible {
17802
+ outline: 2px solid var(--color-action-default);
17803
+ outline-offset: -2px;
17804
+ }
17805
+
17806
+ .muka-action-sheet__item--destructive {
17807
+ color: var(--color-state-error-default);
17808
+ }
17809
+
17810
+ .muka-action-sheet__item--disabled,
17811
+ .muka-action-sheet__item:disabled {
17812
+ opacity: 0.5;
17813
+ cursor: not-allowed;
17814
+ }
17815
+
17816
+ .muka-action-sheet__item-icon {
17817
+ display: inline-flex;
17818
+ align-items: center;
17819
+ justify-content: center;
17820
+ width: 24px;
17821
+ height: 24px;
17822
+ flex-shrink: 0;
17823
+ }
17824
+
17825
+ .muka-action-sheet__item-icon svg {
17826
+ width: 100%;
17827
+ height: 100%;
17828
+ }
17829
+
17830
+ .muka-action-sheet__item-label {
17831
+ flex: 1;
17832
+ }
17833
+
17834
+ /* ─── Cancel button (separate at bottom) ──────────────── */
17835
+
17836
+ .muka-action-sheet__cancel {
17837
+ display: flex;
17838
+ align-items: center;
17839
+ justify-content: center;
17840
+ padding: var(--spacing-3) var(--spacing-4);
17841
+ background-color: var(--color-surface-level1);
17842
+ border: none;
17843
+ border-radius: var(--radius-md);
17844
+ cursor: pointer;
17845
+ color: var(--color-text-default-default);
17846
+ font-family: var(--text-label-md-semibold-fontFamily);
17847
+ font-weight: var(--text-label-md-semibold-fontWeight);
17848
+ font-size: var(--text-label-md-semibold-fontSize);
17849
+ line-height: var(--text-label-md-semibold-lineHeight);
17850
+ -webkit-tap-highlight-color: transparent;
17851
+ transition: background-color 0.12s ease;
17852
+ }
17853
+
17854
+ .muka-action-sheet__cancel:hover {
17855
+ background-color: var(--color-surface-level2);
17856
+ }
17857
+
17858
+ .muka-action-sheet__cancel:focus-visible {
17859
+ outline: 2px solid var(--color-action-default);
17860
+ outline-offset: 2px;
17861
+ }
17862
+
17863
+
17756
17864
  /* Accordion */
17757
17865
  /* Accordion Component Styles */
17758
17866
 
@@ -17884,144 +17992,110 @@ button.muka-chat-photo-grid__tile:focus-visible {
17884
17992
  }
17885
17993
 
17886
17994
 
17887
- /* ActionSheet */
17888
- /* ActionSheet Component Styles */
17995
+ /* SwipeActions */
17996
+ /* SwipeActions Component Styles */
17889
17997
 
17890
- .muka-action-sheet__inner {
17891
- display: flex;
17892
- flex-direction: column;
17893
- padding: 0 var(--spacing-4) var(--spacing-3) var(--spacing-4);
17894
- gap: var(--spacing-3);
17998
+ .muka-swipe-actions {
17999
+ position: relative;
18000
+ overflow: hidden;
18001
+ touch-action: pan-y;
18002
+ -webkit-user-select: none;
18003
+ user-select: none;
18004
+ background-color: var(--color-surface-level3);
17895
18005
  }
17896
18006
 
17897
- /* ─── Header ──────────────────────────────────────────── */
18007
+ .muka-swipe-actions--disabled {
18008
+ touch-action: auto;
18009
+ }
17898
18010
 
17899
- .muka-action-sheet__header {
18011
+ /* ─── Row that holds the actual content ────────────────── */
18012
+
18013
+ .muka-swipe-actions__row {
18014
+ position: relative;
18015
+ z-index: 1;
18016
+ background-color: inherit;
18017
+ will-change: transform;
18018
+ }
18019
+
18020
+ /* ─── Action panels — sit beneath the row ──────────────── */
18021
+
18022
+ .muka-swipe-actions__panel {
18023
+ position: absolute;
18024
+ top: 0;
18025
+ bottom: 0;
17900
18026
  display: flex;
17901
- flex-direction: column;
17902
- align-items: center;
17903
- gap: var(--spacing-1);
17904
- padding: var(--spacing-2) 0 var(--spacing-3);
17905
- text-align: center;
18027
+ align-items: stretch;
18028
+ z-index: 0;
17906
18029
  }
17907
18030
 
17908
- .muka-action-sheet__title {
17909
- margin: 0;
17910
- color: var(--color-text-default-default);
17911
- font-family: var(--text-label-md-semibold-fontFamily);
17912
- font-weight: var(--text-label-md-semibold-fontWeight);
17913
- font-size: var(--text-label-md-semibold-fontSize);
17914
- line-height: var(--text-label-md-semibold-lineHeight);
18031
+ .muka-swipe-actions__panel--left {
18032
+ left: 0;
17915
18033
  }
17916
18034
 
17917
- .muka-action-sheet__description {
17918
- margin: 0;
17919
- color: var(--color-text-subtle-default);
17920
- font-family: var(--text-body-sm-regular-fontFamily);
17921
- font-weight: var(--text-body-sm-regular-fontWeight);
17922
- font-size: var(--text-body-sm-regular-fontSize);
17923
- line-height: var(--text-body-sm-regular-lineHeight);
18035
+ .muka-swipe-actions__panel--right {
18036
+ right: 0;
17924
18037
  }
17925
18038
 
17926
- /* ─── Actions group ───────────────────────────────────── */
18039
+ /* ─── Single action button ─────────────────────────────── */
17927
18040
 
17928
- .muka-action-sheet__actions {
18041
+ .muka-swipe-actions__button {
17929
18042
  display: flex;
17930
18043
  flex-direction: column;
17931
- background-color: var(--color-surface-level1);
17932
- border-radius: var(--radius-md);
17933
- overflow: hidden;
17934
- }
17935
-
17936
- .muka-action-sheet__item {
17937
- display: flex;
17938
18044
  align-items: center;
17939
- gap: var(--spacing-3);
17940
- padding: var(--spacing-3) var(--spacing-4);
17941
- background: none;
18045
+ justify-content: center;
18046
+ gap: var(--spacing-1);
17942
18047
  border: none;
17943
18048
  cursor: pointer;
17944
- text-align: left;
18049
+ padding: var(--spacing-2);
18050
+ background-color: var(--color-surface-level2);
17945
18051
  color: var(--color-text-default-default);
17946
- font-family: var(--text-body-base-regular-fontFamily);
17947
- font-weight: var(--text-body-base-regular-fontWeight);
17948
- font-size: var(--text-body-base-regular-fontSize);
17949
- line-height: var(--text-body-base-regular-lineHeight);
18052
+ font-family: var(--text-label-sm-semibold-fontFamily);
18053
+ font-weight: var(--text-label-sm-semibold-fontWeight);
18054
+ font-size: var(--text-label-sm-semibold-fontSize);
18055
+ line-height: var(--text-label-sm-semibold-lineHeight);
17950
18056
  -webkit-tap-highlight-color: transparent;
17951
- transition: background-color 0.12s ease;
17952
- }
17953
-
17954
- .muka-action-sheet__item + .muka-action-sheet__item {
17955
- border-top: var(--border-width-regular) solid var(--color-border-default);
17956
- }
17957
-
17958
- .muka-action-sheet__item:hover:not(:disabled) {
17959
- background-color: var(--color-surface-level2);
18057
+ transition: filter 0.12s ease;
17960
18058
  }
17961
18059
 
17962
- .muka-action-sheet__item:active:not(:disabled) {
17963
- background-color: var(--color-surface-level3);
18060
+ .muka-swipe-actions__button:hover {
18061
+ filter: brightness(0.95);
17964
18062
  }
17965
18063
 
17966
- .muka-action-sheet__item:focus-visible {
18064
+ .muka-swipe-actions__button:focus-visible {
17967
18065
  outline: 2px solid var(--color-action-default);
17968
18066
  outline-offset: -2px;
17969
18067
  }
17970
18068
 
17971
- .muka-action-sheet__item--destructive {
17972
- color: var(--color-state-error-default);
17973
- }
17974
-
17975
- .muka-action-sheet__item--disabled,
17976
- .muka-action-sheet__item:disabled {
17977
- opacity: 0.5;
17978
- cursor: not-allowed;
17979
- }
17980
-
17981
- .muka-action-sheet__item-icon {
18069
+ .muka-swipe-actions__button-icon {
17982
18070
  display: inline-flex;
17983
18071
  align-items: center;
17984
18072
  justify-content: center;
17985
- width: 24px;
17986
- height: 24px;
17987
- flex-shrink: 0;
17988
18073
  }
17989
18074
 
17990
- .muka-action-sheet__item-icon svg {
17991
- width: 100%;
17992
- height: 100%;
17993
- }
18075
+ /* ─── Color variants ───────────────────────────────────── */
17994
18076
 
17995
- .muka-action-sheet__item-label {
17996
- flex: 1;
18077
+ .muka-swipe-actions__button--neutral {
18078
+ background-color: var(--color-surface-level2);
18079
+ color: var(--color-text-default-default);
17997
18080
  }
17998
18081
 
17999
- /* ─── Cancel button (separate at bottom) ──────────────── */
18082
+ .muka-swipe-actions__button--primary {
18083
+ background-color: var(--color-action-default);
18084
+ color: var(--color-text-default-inverse);
18085
+ }
18000
18086
 
18001
- .muka-action-sheet__cancel {
18002
- display: flex;
18003
- align-items: center;
18004
- justify-content: center;
18005
- padding: var(--spacing-3) var(--spacing-4);
18006
- background-color: var(--color-surface-level1);
18007
- border: none;
18008
- border-radius: var(--radius-md);
18009
- cursor: pointer;
18010
- color: var(--color-text-default-default);
18011
- font-family: var(--text-label-md-semibold-fontFamily);
18012
- font-weight: var(--text-label-md-semibold-fontWeight);
18013
- font-size: var(--text-label-md-semibold-fontSize);
18014
- line-height: var(--text-label-md-semibold-lineHeight);
18015
- -webkit-tap-highlight-color: transparent;
18016
- transition: background-color 0.12s ease;
18087
+ .muka-swipe-actions__button--success {
18088
+ background-color: var(--color-state-success-default);
18089
+ color: var(--color-text-default-inverse);
18017
18090
  }
18018
18091
 
18019
- .muka-action-sheet__cancel:hover {
18020
- background-color: var(--color-surface-level2);
18092
+ .muka-swipe-actions__button--warning {
18093
+ background-color: var(--color-state-warning-default);
18094
+ color: var(--color-text-default-default);
18021
18095
  }
18022
18096
 
18023
- .muka-action-sheet__cancel:focus-visible {
18024
- outline: 2px solid var(--color-action-default);
18025
- outline-offset: 2px;
18097
+ .muka-swipe-actions__button--destructive {
18098
+ background-color: var(--color-state-error-default);
18099
+ color: var(--color-text-default-inverse);
18026
18100
  }
18027
18101