@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.
@@ -4415,88 +4415,6 @@ body {
4415
4415
  }
4416
4416
 
4417
4417
 
4418
- /* TextLink */
4419
- /* TextLink Component Styles - Using Muka Design Tokens */
4420
-
4421
- .muka-text-link {
4422
- display: inline;
4423
- cursor: pointer;
4424
- text-decoration: underline;
4425
- /* Nudge the rule clear of descenders; the Figma underline sits off baseline. */
4426
- text-underline-offset: 0.2em;
4427
- text-decoration-thickness: from-font;
4428
- /* Rounds the focus ring's corners; the link itself has no visible box. */
4429
- border-radius: var(--border-radius-sm);
4430
- transition: color var(--motion-duration-micro, 0.15s) var(--motion-easing-enter, ease);
4431
- }
4432
-
4433
- /* ─── Sizes ───────────────────────────────────────────────
4434
- Mirrors the body text scale so a link matches the copy it sits in. */
4435
- .muka-text-link--sm {
4436
- font-family: var(--text-body-sm-regular-fontFamily);
4437
- font-weight: var(--text-body-sm-regular-fontWeight);
4438
- font-size: var(--text-body-sm-regular-fontSize);
4439
- line-height: var(--text-body-sm-regular-lineHeight);
4440
- }
4441
-
4442
- .muka-text-link--base {
4443
- font-family: var(--text-body-base-regular-fontFamily);
4444
- font-weight: var(--text-body-base-regular-fontWeight);
4445
- font-size: var(--text-body-base-regular-fontSize);
4446
- line-height: var(--text-body-base-regular-lineHeight);
4447
- }
4448
-
4449
- .muka-text-link--lg {
4450
- font-family: var(--text-body-lg-regular-fontFamily);
4451
- font-weight: var(--text-body-lg-regular-fontWeight);
4452
- font-size: var(--text-body-lg-regular-fontSize);
4453
- line-height: var(--text-body-lg-regular-lineHeight);
4454
- }
4455
-
4456
- /* ─── Variant: default (accent) ───────────────────────────
4457
- Visited repeats the default colour on purpose: the design treats visited and
4458
- default the same, and pinning it stops the browser's purple from showing. */
4459
- .muka-text-link--default,
4460
- .muka-text-link--default:visited {
4461
- color: var(--color-text-action-default);
4462
- }
4463
-
4464
- .muka-text-link--default:hover,
4465
- .muka-text-link--default:focus-visible {
4466
- color: var(--color-text-action-hover);
4467
- }
4468
-
4469
- .muka-text-link--default:active {
4470
- color: var(--color-text-action-pressed);
4471
- }
4472
-
4473
- /* ─── Variant: subtle (neutral) ───────────────────────────
4474
- Hover, focus and pressed all darken to the default text colour. */
4475
- .muka-text-link--subtle,
4476
- .muka-text-link--subtle:visited {
4477
- color: var(--color-text-subtle-default);
4478
- }
4479
-
4480
- .muka-text-link--subtle:hover,
4481
- .muka-text-link--subtle:focus-visible,
4482
- .muka-text-link--subtle:active {
4483
- color: var(--color-text-default-default);
4484
- }
4485
-
4486
- /* ─── Focus ───────────────────────────────────────────────
4487
- Same ring as every other focusable Muka component. */
4488
- .muka-text-link:focus-visible {
4489
- outline: 2px solid var(--color-border-focus);
4490
- outline-offset: 2px;
4491
- }
4492
-
4493
- @media (prefers-reduced-motion: reduce) {
4494
- .muka-text-link {
4495
- transition: none;
4496
- }
4497
- }
4498
-
4499
-
4500
4418
  /* Tabs */
4501
4419
  /* Tabs Component Styles - Clean underline style tabs matching Figma */
4502
4420
 
@@ -4687,6 +4605,88 @@ body {
4687
4605
  }
4688
4606
 
4689
4607
 
4608
+ /* TextLink */
4609
+ /* TextLink Component Styles - Using Muka Design Tokens */
4610
+
4611
+ .muka-text-link {
4612
+ display: inline;
4613
+ cursor: pointer;
4614
+ text-decoration: underline;
4615
+ /* Nudge the rule clear of descenders; the Figma underline sits off baseline. */
4616
+ text-underline-offset: 0.2em;
4617
+ text-decoration-thickness: from-font;
4618
+ /* Rounds the focus ring's corners; the link itself has no visible box. */
4619
+ border-radius: var(--border-radius-sm);
4620
+ transition: color var(--motion-duration-micro, 0.15s) var(--motion-easing-enter, ease);
4621
+ }
4622
+
4623
+ /* ─── Sizes ───────────────────────────────────────────────
4624
+ Mirrors the body text scale so a link matches the copy it sits in. */
4625
+ .muka-text-link--sm {
4626
+ font-family: var(--text-body-sm-regular-fontFamily);
4627
+ font-weight: var(--text-body-sm-regular-fontWeight);
4628
+ font-size: var(--text-body-sm-regular-fontSize);
4629
+ line-height: var(--text-body-sm-regular-lineHeight);
4630
+ }
4631
+
4632
+ .muka-text-link--base {
4633
+ font-family: var(--text-body-base-regular-fontFamily);
4634
+ font-weight: var(--text-body-base-regular-fontWeight);
4635
+ font-size: var(--text-body-base-regular-fontSize);
4636
+ line-height: var(--text-body-base-regular-lineHeight);
4637
+ }
4638
+
4639
+ .muka-text-link--lg {
4640
+ font-family: var(--text-body-lg-regular-fontFamily);
4641
+ font-weight: var(--text-body-lg-regular-fontWeight);
4642
+ font-size: var(--text-body-lg-regular-fontSize);
4643
+ line-height: var(--text-body-lg-regular-lineHeight);
4644
+ }
4645
+
4646
+ /* ─── Variant: default (accent) ───────────────────────────
4647
+ Visited repeats the default colour on purpose: the design treats visited and
4648
+ default the same, and pinning it stops the browser's purple from showing. */
4649
+ .muka-text-link--default,
4650
+ .muka-text-link--default:visited {
4651
+ color: var(--color-text-action-default);
4652
+ }
4653
+
4654
+ .muka-text-link--default:hover,
4655
+ .muka-text-link--default:focus-visible {
4656
+ color: var(--color-text-action-hover);
4657
+ }
4658
+
4659
+ .muka-text-link--default:active {
4660
+ color: var(--color-text-action-pressed);
4661
+ }
4662
+
4663
+ /* ─── Variant: subtle (neutral) ───────────────────────────
4664
+ Hover, focus and pressed all darken to the default text colour. */
4665
+ .muka-text-link--subtle,
4666
+ .muka-text-link--subtle:visited {
4667
+ color: var(--color-text-subtle-default);
4668
+ }
4669
+
4670
+ .muka-text-link--subtle:hover,
4671
+ .muka-text-link--subtle:focus-visible,
4672
+ .muka-text-link--subtle:active {
4673
+ color: var(--color-text-default-default);
4674
+ }
4675
+
4676
+ /* ─── Focus ───────────────────────────────────────────────
4677
+ Same ring as every other focusable Muka component. */
4678
+ .muka-text-link:focus-visible {
4679
+ outline: 2px solid var(--color-border-focus);
4680
+ outline-offset: 2px;
4681
+ }
4682
+
4683
+ @media (prefers-reduced-motion: reduce) {
4684
+ .muka-text-link {
4685
+ transition: none;
4686
+ }
4687
+ }
4688
+
4689
+
4690
4690
  /* TablePagination */
4691
4691
  /* TablePagination Component Styles - Using Muka Design Tokens */
4692
4692
 
@@ -5091,175 +5091,67 @@ body {
5091
5091
  }
5092
5092
 
5093
5093
 
5094
- /* SwipeActions */
5095
- /* SwipeActions Component Styles */
5094
+ /* Spinner */
5095
+ /* Spinner Component Styles */
5096
5096
 
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);
5097
+ .muka-spinner {
5098
+ display: inline-flex;
5099
+ align-items: center;
5100
+ justify-content: center;
5101
+ color: var(--color-text-default-default);
5102
+ line-height: 0;
5104
5103
  }
5105
5104
 
5106
- .muka-swipe-actions--disabled {
5107
- touch-action: auto;
5105
+ .muka-spinner--subtle {
5106
+ color: var(--color-text-subtle-default);
5108
5107
  }
5109
5108
 
5110
- /* ─── Row that holds the actual content ────────────────── */
5109
+ .muka-spinner--inverse {
5110
+ color: var(--color-text-default-inverse);
5111
+ }
5111
5112
 
5112
- .muka-swipe-actions__row {
5113
- position: relative;
5114
- z-index: 1;
5115
- background-color: inherit;
5116
- will-change: transform;
5113
+ .muka-spinner__circle {
5114
+ display: inline-block;
5115
+ border-radius: 50%;
5116
+ border-style: solid;
5117
+ border-color: currentColor;
5118
+ border-right-color: transparent;
5119
+ animation: muka-spinner-rotate 0.7s linear infinite;
5120
+ box-sizing: border-box;
5117
5121
  }
5118
5122
 
5119
- /* ─── Action panels — sit beneath the row ──────────────── */
5123
+ /* ─── Sizes ───────────────────────────────────────────── */
5120
5124
 
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;
5125
+ .muka-spinner--sm .muka-spinner__circle {
5126
+ width: 16px;
5127
+ height: 16px;
5128
+ border-width: 2px;
5128
5129
  }
5129
5130
 
5130
- .muka-swipe-actions__panel--left {
5131
- left: 0;
5131
+ .muka-spinner--md .muka-spinner__circle {
5132
+ width: 20px;
5133
+ height: 20px;
5134
+ border-width: 2px;
5132
5135
  }
5133
5136
 
5134
- .muka-swipe-actions__panel--right {
5135
- right: 0;
5137
+ .muka-spinner--lg .muka-spinner__circle {
5138
+ width: 24px;
5139
+ height: 24px;
5140
+ border-width: 3px;
5136
5141
  }
5137
5142
 
5138
- /* ─── Single action button ─────────────────────────────── */
5143
+ /* ─── Visually-hidden label ───────────────────────────── */
5139
5144
 
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 ───────────────────────────── */
5252
-
5253
- .muka-spinner__sr-label {
5254
- position: absolute;
5255
- width: 1px;
5256
- height: 1px;
5257
- padding: 0;
5258
- margin: -1px;
5259
- overflow: hidden;
5260
- clip: rect(0, 0, 0, 0);
5261
- white-space: nowrap;
5262
- border: 0;
5145
+ .muka-spinner__sr-label {
5146
+ position: absolute;
5147
+ width: 1px;
5148
+ height: 1px;
5149
+ padding: 0;
5150
+ margin: -1px;
5151
+ overflow: hidden;
5152
+ clip: rect(0, 0, 0, 0);
5153
+ white-space: nowrap;
5154
+ border: 0;
5263
5155
  }
5264
5156
 
5265
5157
  /* ─── Reduced motion ──────────────────────────────────── */
@@ -5886,6 +5778,88 @@ body {
5886
5778
  }
5887
5779
 
5888
5780
 
5781
+ /* Sheet */
5782
+ /* Sheet Component Styles */
5783
+
5784
+ /* ─── Backdrop ────────────────────────────────────────── */
5785
+
5786
+ .muka-sheet__overlay {
5787
+ position: fixed;
5788
+ inset: 0;
5789
+ background-color: var(--color-surface-backdrop);
5790
+ -webkit-backdrop-filter: blur(var(--effect-blur-backdrop));
5791
+ backdrop-filter: blur(var(--effect-blur-backdrop));
5792
+ z-index: 50;
5793
+ }
5794
+
5795
+ /* ─── Surface ─────────────────────────────────────────── */
5796
+
5797
+ .muka-sheet {
5798
+ position: fixed;
5799
+ left: 0;
5800
+ right: 0;
5801
+ bottom: 0;
5802
+ z-index: 51;
5803
+
5804
+ display: flex;
5805
+ flex-direction: column;
5806
+
5807
+ max-height: 96dvh;
5808
+
5809
+ background-color: var(--color-surface-level3);
5810
+ border-top-left-radius: var(--radius-lg);
5811
+ border-top-right-radius: var(--radius-lg);
5812
+ box-shadow: var(--shadow-level5);
5813
+
5814
+ outline: none;
5815
+ }
5816
+
5817
+ /* Safe-area bottom inset for the iPhone home indicator. */
5818
+ .muka-sheet:not(.muka-sheet--no-safe-area) {
5819
+ padding-bottom: env(safe-area-inset-bottom);
5820
+ }
5821
+
5822
+ /* ─── Drag handle ─────────────────────────────────────── */
5823
+
5824
+ .muka-sheet__handle-container {
5825
+ display: flex;
5826
+ justify-content: center;
5827
+ flex-shrink: 0;
5828
+ padding: var(--spacing-3) 0;
5829
+ }
5830
+
5831
+ .muka-sheet__handle {
5832
+ width: var(--dialog-drag-handle-width);
5833
+ height: var(--dialog-drag-handle-height);
5834
+ background-color: var(--dialog-drag-handle-color);
5835
+ border-radius: var(--dialog-drag-handle-radius);
5836
+ }
5837
+
5838
+ /* ─── Body (scrollable) ───────────────────────────────── */
5839
+
5840
+ .muka-sheet__body {
5841
+ flex: 1 1 0%;
5842
+ min-height: 0;
5843
+ overflow-y: auto;
5844
+ -webkit-overflow-scrolling: touch;
5845
+ overscroll-behavior: contain;
5846
+ }
5847
+
5848
+ /* ─── Visually-hidden title (a11y) ────────────────────── */
5849
+
5850
+ .muka-sheet__sr-title {
5851
+ position: absolute;
5852
+ width: 1px;
5853
+ height: 1px;
5854
+ padding: 0;
5855
+ margin: -1px;
5856
+ overflow: hidden;
5857
+ clip: rect(0, 0, 0, 0);
5858
+ white-space: nowrap;
5859
+ border: 0;
5860
+ }
5861
+
5862
+
5889
5863
  /* Select */
5890
5864
  /* Select Component Styles - Aligned with Input for consistency */
5891
5865
 
@@ -8199,6 +8173,10 @@ button.muka-progress-tracker__tab:focus-visible {
8199
8173
  gap: var(--spacing-3); /* 12px */
8200
8174
  }
8201
8175
 
8176
+ .muka-profile-badge--sm {
8177
+ gap: var(--spacing-2); /* 8px */
8178
+ }
8179
+
8202
8180
  .muka-profile-badge__avatar {
8203
8181
  flex-shrink: 0;
8204
8182
  }
@@ -8251,6 +8229,39 @@ button.muka-progress-tracker__tab:focus-visible {
8251
8229
  outline-offset: 2px;
8252
8230
  }
8253
8231
 
8232
+ /* Trailing chevron: the badge opens a menu */
8233
+ .muka-profile-badge__chevron {
8234
+ flex-shrink: 0;
8235
+ }
8236
+
8237
+ /*
8238
+ * A clickable badge with a chevron is a pill (Figma Profile Badge, Bouwplan
8239
+ * header): 4px inset on the avatar side, 12px after the chevron. The border
8240
+ * is an inset shadow so it appears on hover and while the menu is open
8241
+ * without moving the content.
8242
+ */
8243
+ .muka-profile-badge--clickable.muka-profile-badge--with-chevron {
8244
+ padding: var(--spacing-1) var(--spacing-3) var(--spacing-1) var(--spacing-1);
8245
+ border-radius: var(--radius-full);
8246
+ transition: box-shadow 0.2s ease;
8247
+ }
8248
+
8249
+ .muka-profile-badge--clickable.muka-profile-badge--with-chevron:hover,
8250
+ .muka-profile-badge--clickable.muka-profile-badge--with-chevron:active {
8251
+ opacity: 1;
8252
+ }
8253
+
8254
+ .muka-profile-badge--clickable.muka-profile-badge--with-chevron:hover,
8255
+ .muka-profile-badge--clickable.muka-profile-badge--with-chevron[aria-expanded='true'],
8256
+ .muka-profile-badge--clickable.muka-profile-badge--with-chevron[data-state='open'] {
8257
+ box-shadow: inset 0 0 0 var(--border-width-regular) var(--button-color-ghost-border-hover);
8258
+ }
8259
+
8260
+ /* A badge without an avatar keeps the 12px start inset */
8261
+ .muka-profile-badge--clickable.muka-profile-badge--with-chevron:not(:has(.muka-profile-badge__avatar)) {
8262
+ padding-left: var(--spacing-3);
8263
+ }
8264
+
8254
8265
 
8255
8266
  /* PriceTag */
8256
8267
  /* PriceTag Component Styles - Using Muka Design Tokens */
@@ -9202,122 +9213,40 @@ button.muka-progress-tracker__tab:focus-visible {
9202
9213
  }
9203
9214
 
9204
9215
 
9205
- /* Sheet */
9206
- /* Sheet Component Styles */
9216
+ /* NumberInput */
9217
+ /* NumberInput — reuses Input field styles (../Input/Input.css). */
9218
+ /* Only the prefix/suffix affixes are NumberInput-specific. */
9207
9219
 
9208
- /* ─── Backdrop ────────────────────────────────────────── */
9220
+ .muka-numberinput__addon {
9221
+ display: inline-flex;
9222
+ align-items: center;
9223
+ flex: none;
9224
+ color: var(--color-text-subtle-default);
9225
+ font-family: var(--text-input-md-fontFamily);
9226
+ font-size: var(--text-input-md-fontSize);
9227
+ line-height: var(--text-input-md-lineHeight);
9228
+ user-select: none;
9229
+ pointer-events: none;
9230
+ white-space: nowrap;
9231
+ }
9209
9232
 
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;
9233
+ /* Hide the native number spinners — affixes/step API replace them. */
9234
+ .muka-numberinput__field .muka-input__native::-webkit-outer-spin-button,
9235
+ .muka-numberinput__field .muka-input__native::-webkit-inner-spin-button {
9236
+ -webkit-appearance: none;
9237
+ margin: 0;
9217
9238
  }
9218
9239
 
9219
- /* ─── Surface ─────────────────────────────────────────── */
9240
+ .muka-numberinput__field .muka-input__native {
9241
+ -moz-appearance: textfield;
9242
+ appearance: textfield;
9243
+ }
9220
9244
 
9221
- .muka-sheet {
9222
- position: fixed;
9223
- left: 0;
9224
- right: 0;
9225
- bottom: 0;
9226
- z-index: 51;
9227
9245
 
9228
- display: flex;
9229
- flex-direction: column;
9246
+ /* NavigationTransition */
9247
+ /* NavigationTransition Component Styles */
9230
9248
 
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
- }
9303
-
9304
- /* Hide the native number spinners — affixes/step API replace them. */
9305
- .muka-numberinput__field .muka-input__native::-webkit-outer-spin-button,
9306
- .muka-numberinput__field .muka-input__native::-webkit-inner-spin-button {
9307
- -webkit-appearance: none;
9308
- margin: 0;
9309
- }
9310
-
9311
- .muka-numberinput__field .muka-input__native {
9312
- -moz-appearance: textfield;
9313
- appearance: textfield;
9314
- }
9315
-
9316
-
9317
- /* NavigationTransition */
9318
- /* NavigationTransition Component Styles */
9319
-
9320
- /* ─── Wrapper ────────────────────────────────────────── */
9249
+ /* ─── Wrapper ────────────────────────────────────────── */
9321
9250
 
9322
9251
  .muka-nav-transition {
9323
9252
  position: relative;
@@ -10307,6 +10236,43 @@ li.muka-listitem {
10307
10236
  display: none;
10308
10237
  }
10309
10238
 
10239
+ /* ─── Compact padding ──────────────────────────────────── */
10240
+
10241
+ /*
10242
+ * Figma ListItem × Padding=Compact: an 8px inset, 12px between leading and
10243
+ * label, a 32px leading slot (a 20px icon centred, or a 32px avatar) and a
10244
+ * regular-weight label. Used in menus and short navigation lists.
10245
+ */
10246
+ .muka-listitem--compact {
10247
+ align-items: center;
10248
+ gap: var(--spacing-3);
10249
+ padding: var(--spacing-2);
10250
+ }
10251
+
10252
+ .muka-listitem--compact .muka-listitem__leading {
10253
+ width: var(--size-2xl);
10254
+ height: var(--size-2xl);
10255
+ }
10256
+
10257
+ .muka-listitem--compact .muka-listitem__icon {
10258
+ width: var(--size-2xl);
10259
+ height: var(--size-2xl);
10260
+ }
10261
+
10262
+ .muka-listitem--compact .muka-listitem__image {
10263
+ width: var(--size-2xl);
10264
+ height: var(--size-2xl);
10265
+ border-radius: var(--radius-sm);
10266
+ }
10267
+
10268
+ .muka-listitem--compact .muka-listitem__label {
10269
+ font-weight: var(--text-label-md-regular-fontWeight);
10270
+ }
10271
+
10272
+ .muka-listitem--compact .muka-listitem__content {
10273
+ gap: var(--spacing-3);
10274
+ }
10275
+
10310
10276
 
10311
10277
  /* LicensePlateInput */
10312
10278
  /* LicensePlateInput — Dutch RDW-style plate input
@@ -11001,26 +10967,6 @@ li.muka-listitem {
11001
10967
  }
11002
10968
 
11003
10969
 
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
10970
  /* Icon */
11025
10971
  /* Icon Component Styles - Using Muka Design Tokens */
11026
10972
 
@@ -11075,6 +11021,26 @@ li.muka-listitem {
11075
11021
  }
11076
11022
 
11077
11023
 
11024
+ /* Form */
11025
+ .muka-form {
11026
+ display: flex;
11027
+ flex-direction: column;
11028
+ width: 100%;
11029
+ }
11030
+
11031
+ .muka-form--gap-sm {
11032
+ gap: var(--size-sm);
11033
+ }
11034
+
11035
+ .muka-form--gap-md {
11036
+ gap: var(--size-md);
11037
+ }
11038
+
11039
+ .muka-form--gap-lg {
11040
+ gap: var(--size-lg);
11041
+ }
11042
+
11043
+
11078
11044
  /* FileUpload */
11079
11045
  /* FileUpload Component Styles */
11080
11046
 
@@ -14301,6 +14267,47 @@ button.muka-chip__trailing[aria-expanded='true'],
14301
14267
  }
14302
14268
 
14303
14269
 
14270
+ /* ChatQuestionSeries */
14271
+ /* ChatQuestionSeries — step dots and the collapsed summary (experimental) */
14272
+ .muka-chat-series__dots {
14273
+ display: inline-flex;
14274
+ align-items: center;
14275
+ gap: var(--spacing-1);
14276
+ }
14277
+
14278
+ .muka-chat-series__dot {
14279
+ width: var(--spacing-1);
14280
+ height: var(--spacing-1);
14281
+ border-radius: var(--border-radius-full);
14282
+ background-color: var(--color-border-default);
14283
+ }
14284
+
14285
+ .muka-chat-series__dot--done {
14286
+ background-color: var(--color-text-subtle-default);
14287
+ }
14288
+
14289
+ .muka-chat-series__dot--current {
14290
+ width: var(--spacing-2);
14291
+ height: var(--spacing-2);
14292
+ background-color: var(--color-text-default-default);
14293
+ }
14294
+
14295
+ .muka-chat-series__summary {
14296
+ display: flex;
14297
+ flex-direction: column;
14298
+ gap: var(--spacing-2);
14299
+ }
14300
+
14301
+ .muka-chat-series__summary-row {
14302
+ display: flex;
14303
+ flex-direction: column;
14304
+ }
14305
+
14306
+ .muka-chat-series__summary-question {
14307
+ color: var(--color-text-subtle-default);
14308
+ }
14309
+
14310
+
14304
14311
  /* ChatQuestionCard */
14305
14312
  /*
14306
14313
  * ChatQuestionCard — in-thread question widget (experimental).
@@ -14502,52 +14509,79 @@ button.muka-chat-photo-grid__tile:focus-visible {
14502
14509
  }
14503
14510
 
14504
14511
 
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
+ /* ChatMessageStack */
14513
+ /* ChatMessageStack Component Styles */
14512
14514
 
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);
14515
+ .muka-chat-message-stack {
14516
+ display: flex;
14517
+ flex-direction: column;
14518
+ gap: var(--chatbubble-stack-gap);
14519
+ width: 100%;
14520
+ max-width: 100%;
14518
14521
  }
14519
14522
 
14520
- .muka-chat-series__dot--done {
14521
- background-color: var(--color-text-subtle-default);
14523
+ .muka-chat-message-stack__messages {
14524
+ display: flex;
14525
+ flex-direction: column;
14526
+ gap: var(--chatbubble-stack-gap);
14527
+ width: 100%;
14522
14528
  }
14523
14529
 
14524
- .muka-chat-series__dot--current {
14525
- width: var(--spacing-2);
14526
- height: var(--spacing-2);
14527
- background-color: var(--color-text-default-default);
14530
+ /*
14531
+ * Reasoning sits above the stack, indented past the avatar rail so it lines up
14532
+ * with the bubbles rather than with the avatar (Figma 5379:47300).
14533
+ */
14534
+ .muka-chat-message-stack__reasoning {
14535
+ min-width: 0;
14528
14536
  }
14529
14537
 
14530
- .muka-chat-series__summary {
14538
+ /* In-thread widgets after the messages share the reasoning's indent. */
14539
+ .muka-chat-message-stack__widgets {
14531
14540
  display: flex;
14532
14541
  flex-direction: column;
14533
- gap: var(--spacing-2);
14542
+ gap: var(--chatbubble-stack-gap);
14543
+ min-width: 0;
14534
14544
  }
14535
14545
 
14536
- .muka-chat-series__summary-row {
14537
- display: flex;
14538
- flex-direction: column;
14546
+ .muka-chat-message-stack--has-avatar .muka-chat-message-stack__widgets,
14547
+ .muka-chat-message-stack--has-avatar .muka-chat-message-stack__reasoning {
14548
+ padding-left: calc(var(--chatbubble-avatar-size) + var(--chatbubble-row-gap));
14539
14549
  }
14540
14550
 
14541
- .muka-chat-series__summary-question {
14542
- color: var(--color-text-subtle-default);
14551
+ .muka-chat-message-stack--own.muka-chat-message-stack--has-avatar
14552
+ .muka-chat-message-stack__widgets,
14553
+ .muka-chat-message-stack--own.muka-chat-message-stack--has-avatar
14554
+ .muka-chat-message-stack__reasoning {
14555
+ padding-left: 0;
14556
+ padding-right: calc(var(--chatbubble-avatar-size) + var(--chatbubble-row-gap));
14543
14557
  }
14544
14558
 
14545
-
14546
- /* ChatMessageList */
14547
- /* ChatMessageList Component Styles */
14548
-
14549
- .muka-chat-message-list {
14550
- flex: 1 1 auto;
14559
+ /* Follow the message's compact rail and gap below the desktop breakpoint */
14560
+ @media (max-width: 1023px) {
14561
+ .muka-chat-message-stack--has-avatar .muka-chat-message-stack__widgets,
14562
+ .muka-chat-message-stack--has-avatar .muka-chat-message-stack__reasoning {
14563
+ padding-left: calc(
14564
+ var(--chatbubble-avatar-size-compact) + var(--chatbubble-row-gap-compact)
14565
+ );
14566
+ }
14567
+
14568
+ .muka-chat-message-stack--own.muka-chat-message-stack--has-avatar
14569
+ .muka-chat-message-stack__widgets,
14570
+ .muka-chat-message-stack--own.muka-chat-message-stack--has-avatar
14571
+ .muka-chat-message-stack__reasoning {
14572
+ padding-left: 0;
14573
+ padding-right: calc(
14574
+ var(--chatbubble-avatar-size-compact) + var(--chatbubble-row-gap-compact)
14575
+ );
14576
+ }
14577
+ }
14578
+
14579
+
14580
+ /* ChatMessageList */
14581
+ /* ChatMessageList Component Styles */
14582
+
14583
+ .muka-chat-message-list {
14584
+ flex: 1 1 auto;
14551
14585
  min-height: 0;
14552
14586
  width: 100%;
14553
14587
  overflow-x: clip;
@@ -15271,74 +15305,6 @@ button.muka-chat-photo-grid__tile:focus-visible {
15271
15305
  }
15272
15306
 
15273
15307
 
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
15308
  /* ChatChoiceCard */
15343
15309
  /* ChatChoiceCard — compact option rows (experimental) */
15344
15310
  .muka-chat-choice__list {
@@ -15375,6 +15341,162 @@ button.muka-chat-photo-grid__tile:focus-visible {
15375
15341
  }
15376
15342
 
15377
15343
 
15344
+ /* ChatAttachmentChip */
15345
+ /* ChatAttachmentChip Component Styles */
15346
+
15347
+ .muka-chat-attachment-chip {
15348
+ position: relative;
15349
+ display: inline-flex;
15350
+ align-items: center;
15351
+ gap: var(--spacing-1);
15352
+ max-width: 240px;
15353
+ padding: var(--spacing-2) var(--spacing-3);
15354
+ background-color: var(--color-surface-level1);
15355
+ border: var(--border-width-regular) solid var(--color-border-default);
15356
+ border-radius: var(--radius-md);
15357
+ overflow: hidden;
15358
+ }
15359
+
15360
+ .muka-chat-attachment-chip--uploading {
15361
+ padding-bottom: calc(var(--spacing-2) + 2px);
15362
+ }
15363
+
15364
+ .muka-chat-attachment-chip--error {
15365
+ border-color: var(--color-state-error-default, var(--color-text-default-default));
15366
+ }
15367
+
15368
+ .muka-chat-attachment-chip--disabled {
15369
+ opacity: 0.5;
15370
+ pointer-events: none;
15371
+ }
15372
+
15373
+ /* ─── Body (icon + text) ───────────────────────────────── */
15374
+
15375
+ .muka-chat-attachment-chip__body {
15376
+ display: inline-flex;
15377
+ align-items: center;
15378
+ gap: var(--spacing-2);
15379
+ min-width: 0;
15380
+ flex: 1 1 auto;
15381
+ background: none;
15382
+ border: none;
15383
+ padding: 0;
15384
+ margin: 0;
15385
+ text-align: left;
15386
+ color: inherit;
15387
+ font: inherit;
15388
+ cursor: default;
15389
+ -webkit-tap-highlight-color: transparent;
15390
+ }
15391
+
15392
+ .muka-chat-attachment-chip--interactive .muka-chat-attachment-chip__body {
15393
+ cursor: pointer;
15394
+ }
15395
+
15396
+ .muka-chat-attachment-chip--interactive .muka-chat-attachment-chip__body:focus-visible {
15397
+ outline: 2px solid var(--color-action-default);
15398
+ outline-offset: 2px;
15399
+ border-radius: var(--radius-sm);
15400
+ }
15401
+
15402
+ .muka-chat-attachment-chip__icon {
15403
+ display: inline-flex;
15404
+ align-items: center;
15405
+ justify-content: center;
15406
+ flex-shrink: 0;
15407
+ color: var(--color-text-subtle-default);
15408
+ }
15409
+
15410
+ .muka-chat-attachment-chip__text {
15411
+ display: flex;
15412
+ flex-direction: column;
15413
+ min-width: 0;
15414
+ flex: 1 1 auto;
15415
+ }
15416
+
15417
+ .muka-chat-attachment-chip__name {
15418
+ color: var(--color-text-default-default);
15419
+ font-family: var(--text-body-sm-regular-fontFamily);
15420
+ font-weight: var(--text-body-sm-regular-fontWeight);
15421
+ font-size: var(--text-body-sm-regular-fontSize);
15422
+ line-height: var(--text-body-sm-regular-lineHeight);
15423
+ white-space: nowrap;
15424
+ overflow: hidden;
15425
+ text-overflow: ellipsis;
15426
+ }
15427
+
15428
+ .muka-chat-attachment-chip__meta {
15429
+ color: var(--color-text-subtle-default);
15430
+ font-family: var(--text-body-sm-regular-fontFamily);
15431
+ font-weight: var(--text-body-sm-regular-fontWeight);
15432
+ font-size: var(--text-body-sm-regular-fontSize);
15433
+ line-height: var(--text-body-sm-regular-lineHeight);
15434
+ white-space: nowrap;
15435
+ overflow: hidden;
15436
+ text-overflow: ellipsis;
15437
+ }
15438
+
15439
+ .muka-chat-attachment-chip--error .muka-chat-attachment-chip__meta {
15440
+ color: var(--color-state-error-default, var(--color-text-default-default));
15441
+ }
15442
+
15443
+ /* ─── Remove button ────────────────────────────────────── */
15444
+
15445
+ .muka-chat-attachment-chip__remove {
15446
+ display: inline-flex;
15447
+ align-items: center;
15448
+ justify-content: center;
15449
+ width: 20px;
15450
+ height: 20px;
15451
+ border: none;
15452
+ background: none;
15453
+ padding: 0;
15454
+ border-radius: var(--radius-sm);
15455
+ cursor: pointer;
15456
+ color: var(--color-text-subtle-default);
15457
+ flex-shrink: 0;
15458
+ -webkit-tap-highlight-color: transparent;
15459
+ }
15460
+
15461
+ .muka-chat-attachment-chip__remove:hover:not(:disabled) {
15462
+ color: var(--color-text-default-default);
15463
+ background-color: var(--color-surface-level2);
15464
+ }
15465
+
15466
+ .muka-chat-attachment-chip__remove:focus-visible {
15467
+ outline: 2px solid var(--color-action-default);
15468
+ outline-offset: 2px;
15469
+ }
15470
+
15471
+ .muka-chat-attachment-chip__remove:disabled {
15472
+ cursor: not-allowed;
15473
+ opacity: 0.5;
15474
+ }
15475
+
15476
+ /* ─── Progress bar ─────────────────────────────────────── */
15477
+
15478
+ .muka-chat-attachment-chip__progress {
15479
+ position: absolute;
15480
+ left: 0;
15481
+ right: 0;
15482
+ bottom: 0;
15483
+ height: 2px;
15484
+ background-color: var(--color-surface-level2);
15485
+ overflow: hidden;
15486
+ }
15487
+
15488
+ .muka-chat-attachment-chip__progress-fill {
15489
+ display: block;
15490
+ height: 100%;
15491
+ background-color: var(--color-action-default);
15492
+ transition: width 0.16s ease;
15493
+ }
15494
+
15495
+ .muka-chat-attachment-chip--error .muka-chat-attachment-chip__progress-fill {
15496
+ background-color: var(--color-state-error-default, var(--color-text-default-default));
15497
+ }
15498
+
15499
+
15378
15500
  /* Card */
15379
15501
  /* Card Component Styles - Using Muka Design Tokens */
15380
15502
 
@@ -16351,164 +16473,8 @@ button.muka-chat-photo-grid__tile:focus-visible {
16351
16473
  }
16352
16474
 
16353
16475
 
16354
- /* ChatAttachmentChip */
16355
- /* ChatAttachmentChip Component Styles */
16356
-
16357
- .muka-chat-attachment-chip {
16358
- position: relative;
16359
- display: inline-flex;
16360
- 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;
16368
- }
16369
-
16370
- .muka-chat-attachment-chip--uploading {
16371
- padding-bottom: calc(var(--spacing-2) + 2px);
16372
- }
16373
-
16374
- .muka-chat-attachment-chip--error {
16375
- border-color: var(--color-state-error-default, var(--color-text-default-default));
16376
- }
16377
-
16378
- .muka-chat-attachment-chip--disabled {
16379
- opacity: 0.5;
16380
- pointer-events: none;
16381
- }
16382
-
16383
- /* ─── Body (icon + text) ───────────────────────────────── */
16384
-
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;
16400
- }
16401
-
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 */
16476
+ /* BadgeNumber */
16477
+ /* BadgeNumber Component Styles - Using Muka Design Tokens */
16512
16478
 
16513
16479
  .muka-badge-number {
16514
16480
  display: inline-flex;
@@ -17186,6 +17152,72 @@ button.muka-chat-photo-grid__tile:focus-visible {
17186
17152
  }
17187
17153
 
17188
17154
 
17155
+ /* Autocomplete */
17156
+ /* Autocomplete — Figma Input Autocomplete (Input field + single-line suggestion Menu).
17157
+ The field reuses the Input styles (.muka-input*); only the menu wiring lives here. */
17158
+
17159
+ .muka-autocomplete {
17160
+ min-width: 200px;
17161
+ }
17162
+
17163
+ /* Covers the field's outer edge so the menu matches its full width. The menu
17164
+ is only open while focused, when the field has the bold border. */
17165
+ .muka-autocomplete__menu-anchor {
17166
+ position: absolute;
17167
+ inset: calc(-1 * var(--border-width-bold));
17168
+ z-index: 0;
17169
+ margin: 0;
17170
+ padding: 0;
17171
+ border: none;
17172
+ background: transparent;
17173
+ pointer-events: none;
17174
+ opacity: 0;
17175
+ }
17176
+
17177
+ /* Keep the field content above the invisible anchor. */
17178
+ .muka-autocomplete__field > :not(.muka-autocomplete__menu-anchor) {
17179
+ position: relative;
17180
+ z-index: 1;
17181
+ }
17182
+
17183
+ /* Figma: the menu is as wide as the field (never below the menu min-width token). */
17184
+ .muka-autocomplete__menu {
17185
+ width: var(--radix-dropdown-menu-trigger-width);
17186
+ max-width: calc(100vw - 2rem);
17187
+ }
17188
+
17189
+ /* Suggestions are single-line; long labels truncate. */
17190
+ .muka-autocomplete__menu .muka-menu__item-label {
17191
+ overflow: hidden;
17192
+ text-overflow: ellipsis;
17193
+ }
17194
+
17195
+ /* Loading and empty rows: menu-row geometry, not selectable. */
17196
+ .muka-autocomplete__status {
17197
+ display: flex;
17198
+ align-items: center;
17199
+ gap: var(--menu-item-gap);
17200
+ min-height: var(--menu-item-height);
17201
+ padding: var(--menu-item-padding-y) var(--menu-item-padding-x);
17202
+ color: var(--color-text-subtle-default);
17203
+ font-family: var(--text-label-md-regular-fontFamily);
17204
+ font-size: var(--text-label-md-regular-fontSize);
17205
+ font-weight: var(--text-label-md-regular-fontWeight);
17206
+ line-height: var(--text-label-md-regular-lineHeight);
17207
+ }
17208
+
17209
+ .muka-autocomplete__footer {
17210
+ flex-shrink: 0;
17211
+ padding: var(--spacing-2) var(--spacing-3);
17212
+ border-top: var(--border-width-regular) solid var(--color-border-default);
17213
+ color: var(--color-text-subtle-default);
17214
+ font-family: var(--text-label-sm-regular-fontFamily);
17215
+ font-size: var(--text-label-sm-regular-fontSize);
17216
+ font-weight: var(--text-label-sm-regular-fontWeight);
17217
+ line-height: var(--text-label-sm-regular-lineHeight);
17218
+ }
17219
+
17220
+
17189
17221
  /* AppShell */
17190
17222
  /* AppShell Component Styles */
17191
17223
 
@@ -17308,91 +17340,25 @@ button.muka-chat-photo-grid__tile:focus-visible {
17308
17340
  }
17309
17341
 
17310
17342
 
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. */
17343
+ /* Alert */
17344
+ /* Alert Component Styles - Using Muka Design Tokens */
17314
17345
 
17315
- .muka-autocomplete {
17316
- min-width: 200px;
17346
+ .muka-alert {
17347
+ display: flex;
17348
+ align-items: flex-start;
17349
+ border-radius: var(--alert-radius);
17350
+ border: none;
17351
+ gap: var(--alert-gap);
17352
+ box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
17317
17353
  }
17318
17354
 
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;
17355
+ /* Size variants */
17356
+ .muka-alert--sm {
17357
+ padding: var(--alert-padding-sm-y) var(--alert-padding-sm-x);
17331
17358
  }
17332
17359
 
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 */
17379
-
17380
- .muka-alert {
17381
- display: flex;
17382
- align-items: flex-start;
17383
- border-radius: var(--alert-radius);
17384
- border: none;
17385
- gap: var(--alert-gap);
17386
- box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
17387
- }
17388
-
17389
- /* Size variants */
17390
- .muka-alert--sm {
17391
- padding: var(--alert-padding-sm-y) var(--alert-padding-sm-x);
17392
- }
17393
-
17394
- .muka-alert--md {
17395
- padding: var(--alert-padding-md-y) var(--alert-padding-md-x);
17360
+ .muka-alert--md {
17361
+ padding: var(--alert-padding-md-y) var(--alert-padding-md-x);
17396
17362
  }
17397
17363
 
17398
17364
  .muka-alert--lg {
@@ -17754,6 +17720,148 @@ button.muka-chat-photo-grid__tile:focus-visible {
17754
17720
  }
17755
17721
 
17756
17722
 
17723
+ /* ActionSheet */
17724
+ /* ActionSheet Component Styles */
17725
+
17726
+ .muka-action-sheet__inner {
17727
+ display: flex;
17728
+ flex-direction: column;
17729
+ padding: 0 var(--spacing-4) var(--spacing-3) var(--spacing-4);
17730
+ gap: var(--spacing-3);
17731
+ }
17732
+
17733
+ /* ─── Header ──────────────────────────────────────────── */
17734
+
17735
+ .muka-action-sheet__header {
17736
+ display: flex;
17737
+ flex-direction: column;
17738
+ align-items: center;
17739
+ gap: var(--spacing-1);
17740
+ padding: var(--spacing-2) 0 var(--spacing-3);
17741
+ text-align: center;
17742
+ }
17743
+
17744
+ .muka-action-sheet__title {
17745
+ margin: 0;
17746
+ color: var(--color-text-default-default);
17747
+ font-family: var(--text-label-md-semibold-fontFamily);
17748
+ font-weight: var(--text-label-md-semibold-fontWeight);
17749
+ font-size: var(--text-label-md-semibold-fontSize);
17750
+ line-height: var(--text-label-md-semibold-lineHeight);
17751
+ }
17752
+
17753
+ .muka-action-sheet__description {
17754
+ margin: 0;
17755
+ color: var(--color-text-subtle-default);
17756
+ font-family: var(--text-body-sm-regular-fontFamily);
17757
+ font-weight: var(--text-body-sm-regular-fontWeight);
17758
+ font-size: var(--text-body-sm-regular-fontSize);
17759
+ line-height: var(--text-body-sm-regular-lineHeight);
17760
+ }
17761
+
17762
+ /* ─── Actions group ───────────────────────────────────── */
17763
+
17764
+ .muka-action-sheet__actions {
17765
+ display: flex;
17766
+ flex-direction: column;
17767
+ background-color: var(--color-surface-level1);
17768
+ border-radius: var(--radius-md);
17769
+ overflow: hidden;
17770
+ }
17771
+
17772
+ .muka-action-sheet__item {
17773
+ display: flex;
17774
+ align-items: center;
17775
+ gap: var(--spacing-3);
17776
+ padding: var(--spacing-3) var(--spacing-4);
17777
+ background: none;
17778
+ border: none;
17779
+ cursor: pointer;
17780
+ text-align: left;
17781
+ color: var(--color-text-default-default);
17782
+ font-family: var(--text-body-base-regular-fontFamily);
17783
+ font-weight: var(--text-body-base-regular-fontWeight);
17784
+ font-size: var(--text-body-base-regular-fontSize);
17785
+ line-height: var(--text-body-base-regular-lineHeight);
17786
+ -webkit-tap-highlight-color: transparent;
17787
+ transition: background-color 0.12s ease;
17788
+ }
17789
+
17790
+ .muka-action-sheet__item + .muka-action-sheet__item {
17791
+ border-top: var(--border-width-regular) solid var(--color-border-default);
17792
+ }
17793
+
17794
+ .muka-action-sheet__item:hover:not(:disabled) {
17795
+ background-color: var(--color-surface-level2);
17796
+ }
17797
+
17798
+ .muka-action-sheet__item:active:not(:disabled) {
17799
+ background-color: var(--color-surface-level3);
17800
+ }
17801
+
17802
+ .muka-action-sheet__item:focus-visible {
17803
+ outline: 2px solid var(--color-action-default);
17804
+ outline-offset: -2px;
17805
+ }
17806
+
17807
+ .muka-action-sheet__item--destructive {
17808
+ color: var(--color-state-error-default);
17809
+ }
17810
+
17811
+ .muka-action-sheet__item--disabled,
17812
+ .muka-action-sheet__item:disabled {
17813
+ opacity: 0.5;
17814
+ cursor: not-allowed;
17815
+ }
17816
+
17817
+ .muka-action-sheet__item-icon {
17818
+ display: inline-flex;
17819
+ align-items: center;
17820
+ justify-content: center;
17821
+ width: 24px;
17822
+ height: 24px;
17823
+ flex-shrink: 0;
17824
+ }
17825
+
17826
+ .muka-action-sheet__item-icon svg {
17827
+ width: 100%;
17828
+ height: 100%;
17829
+ }
17830
+
17831
+ .muka-action-sheet__item-label {
17832
+ flex: 1;
17833
+ }
17834
+
17835
+ /* ─── Cancel button (separate at bottom) ──────────────── */
17836
+
17837
+ .muka-action-sheet__cancel {
17838
+ display: flex;
17839
+ align-items: center;
17840
+ justify-content: center;
17841
+ padding: var(--spacing-3) var(--spacing-4);
17842
+ background-color: var(--color-surface-level1);
17843
+ border: none;
17844
+ border-radius: var(--radius-md);
17845
+ cursor: pointer;
17846
+ color: var(--color-text-default-default);
17847
+ font-family: var(--text-label-md-semibold-fontFamily);
17848
+ font-weight: var(--text-label-md-semibold-fontWeight);
17849
+ font-size: var(--text-label-md-semibold-fontSize);
17850
+ line-height: var(--text-label-md-semibold-lineHeight);
17851
+ -webkit-tap-highlight-color: transparent;
17852
+ transition: background-color 0.12s ease;
17853
+ }
17854
+
17855
+ .muka-action-sheet__cancel:hover {
17856
+ background-color: var(--color-surface-level2);
17857
+ }
17858
+
17859
+ .muka-action-sheet__cancel:focus-visible {
17860
+ outline: 2px solid var(--color-action-default);
17861
+ outline-offset: 2px;
17862
+ }
17863
+
17864
+
17757
17865
  /* Accordion */
17758
17866
  /* Accordion Component Styles */
17759
17867
 
@@ -17885,144 +17993,110 @@ button.muka-chat-photo-grid__tile:focus-visible {
17885
17993
  }
17886
17994
 
17887
17995
 
17888
- /* ActionSheet */
17889
- /* ActionSheet Component Styles */
17996
+ /* SwipeActions */
17997
+ /* SwipeActions Component Styles */
17890
17998
 
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);
17999
+ .muka-swipe-actions {
18000
+ position: relative;
18001
+ overflow: hidden;
18002
+ touch-action: pan-y;
18003
+ -webkit-user-select: none;
18004
+ user-select: none;
18005
+ background-color: var(--color-surface-level3);
17896
18006
  }
17897
18007
 
17898
- /* ─── Header ──────────────────────────────────────────── */
18008
+ .muka-swipe-actions--disabled {
18009
+ touch-action: auto;
18010
+ }
17899
18011
 
17900
- .muka-action-sheet__header {
18012
+ /* ─── Row that holds the actual content ────────────────── */
18013
+
18014
+ .muka-swipe-actions__row {
18015
+ position: relative;
18016
+ z-index: 1;
18017
+ background-color: inherit;
18018
+ will-change: transform;
18019
+ }
18020
+
18021
+ /* ─── Action panels — sit beneath the row ──────────────── */
18022
+
18023
+ .muka-swipe-actions__panel {
18024
+ position: absolute;
18025
+ top: 0;
18026
+ bottom: 0;
17901
18027
  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;
18028
+ align-items: stretch;
18029
+ z-index: 0;
17907
18030
  }
17908
18031
 
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);
18032
+ .muka-swipe-actions__panel--left {
18033
+ left: 0;
17916
18034
  }
17917
18035
 
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);
18036
+ .muka-swipe-actions__panel--right {
18037
+ right: 0;
17925
18038
  }
17926
18039
 
17927
- /* ─── Actions group ───────────────────────────────────── */
18040
+ /* ─── Single action button ─────────────────────────────── */
17928
18041
 
17929
- .muka-action-sheet__actions {
18042
+ .muka-swipe-actions__button {
17930
18043
  display: flex;
17931
18044
  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
18045
  align-items: center;
17940
- gap: var(--spacing-3);
17941
- padding: var(--spacing-3) var(--spacing-4);
17942
- background: none;
18046
+ justify-content: center;
18047
+ gap: var(--spacing-1);
17943
18048
  border: none;
17944
18049
  cursor: pointer;
17945
- text-align: left;
18050
+ padding: var(--spacing-2);
18051
+ background-color: var(--color-surface-level2);
17946
18052
  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);
18053
+ font-family: var(--text-label-sm-semibold-fontFamily);
18054
+ font-weight: var(--text-label-sm-semibold-fontWeight);
18055
+ font-size: var(--text-label-sm-semibold-fontSize);
18056
+ line-height: var(--text-label-sm-semibold-lineHeight);
17951
18057
  -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);
18058
+ transition: filter 0.12s ease;
17961
18059
  }
17962
18060
 
17963
- .muka-action-sheet__item:active:not(:disabled) {
17964
- background-color: var(--color-surface-level3);
18061
+ .muka-swipe-actions__button:hover {
18062
+ filter: brightness(0.95);
17965
18063
  }
17966
18064
 
17967
- .muka-action-sheet__item:focus-visible {
18065
+ .muka-swipe-actions__button:focus-visible {
17968
18066
  outline: 2px solid var(--color-action-default);
17969
18067
  outline-offset: -2px;
17970
18068
  }
17971
18069
 
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 {
18070
+ .muka-swipe-actions__button-icon {
17983
18071
  display: inline-flex;
17984
18072
  align-items: center;
17985
18073
  justify-content: center;
17986
- width: 24px;
17987
- height: 24px;
17988
- flex-shrink: 0;
17989
18074
  }
17990
18075
 
17991
- .muka-action-sheet__item-icon svg {
17992
- width: 100%;
17993
- height: 100%;
17994
- }
18076
+ /* ─── Color variants ───────────────────────────────────── */
17995
18077
 
17996
- .muka-action-sheet__item-label {
17997
- flex: 1;
18078
+ .muka-swipe-actions__button--neutral {
18079
+ background-color: var(--color-surface-level2);
18080
+ color: var(--color-text-default-default);
17998
18081
  }
17999
18082
 
18000
- /* ─── Cancel button (separate at bottom) ──────────────── */
18083
+ .muka-swipe-actions__button--primary {
18084
+ background-color: var(--color-action-default);
18085
+ color: var(--color-text-default-inverse);
18086
+ }
18001
18087
 
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;
18088
+ .muka-swipe-actions__button--success {
18089
+ background-color: var(--color-state-success-default);
18090
+ color: var(--color-text-default-inverse);
18018
18091
  }
18019
18092
 
18020
- .muka-action-sheet__cancel:hover {
18021
- background-color: var(--color-surface-level2);
18093
+ .muka-swipe-actions__button--warning {
18094
+ background-color: var(--color-state-warning-default);
18095
+ color: var(--color-text-default-default);
18022
18096
  }
18023
18097
 
18024
- .muka-action-sheet__cancel:focus-visible {
18025
- outline: 2px solid var(--color-action-default);
18026
- outline-offset: 2px;
18098
+ .muka-swipe-actions__button--destructive {
18099
+ background-color: var(--color-state-error-default);
18100
+ color: var(--color-text-default-inverse);
18027
18101
  }
18028
18102