@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.
@@ -4349,88 +4349,6 @@ body {
4349
4349
  }
4350
4350
 
4351
4351
 
4352
- /* TextLink */
4353
- /* TextLink Component Styles - Using Muka Design Tokens */
4354
-
4355
- .muka-text-link {
4356
- display: inline;
4357
- cursor: pointer;
4358
- text-decoration: underline;
4359
- /* Nudge the rule clear of descenders; the Figma underline sits off baseline. */
4360
- text-underline-offset: 0.2em;
4361
- text-decoration-thickness: from-font;
4362
- /* Rounds the focus ring's corners; the link itself has no visible box. */
4363
- border-radius: var(--border-radius-sm);
4364
- transition: color var(--motion-duration-micro, 0.15s) var(--motion-easing-enter, ease);
4365
- }
4366
-
4367
- /* ─── Sizes ───────────────────────────────────────────────
4368
- Mirrors the body text scale so a link matches the copy it sits in. */
4369
- .muka-text-link--sm {
4370
- font-family: var(--text-body-sm-regular-fontFamily);
4371
- font-weight: var(--text-body-sm-regular-fontWeight);
4372
- font-size: var(--text-body-sm-regular-fontSize);
4373
- line-height: var(--text-body-sm-regular-lineHeight);
4374
- }
4375
-
4376
- .muka-text-link--base {
4377
- font-family: var(--text-body-base-regular-fontFamily);
4378
- font-weight: var(--text-body-base-regular-fontWeight);
4379
- font-size: var(--text-body-base-regular-fontSize);
4380
- line-height: var(--text-body-base-regular-lineHeight);
4381
- }
4382
-
4383
- .muka-text-link--lg {
4384
- font-family: var(--text-body-lg-regular-fontFamily);
4385
- font-weight: var(--text-body-lg-regular-fontWeight);
4386
- font-size: var(--text-body-lg-regular-fontSize);
4387
- line-height: var(--text-body-lg-regular-lineHeight);
4388
- }
4389
-
4390
- /* ─── Variant: default (accent) ───────────────────────────
4391
- Visited repeats the default colour on purpose: the design treats visited and
4392
- default the same, and pinning it stops the browser's purple from showing. */
4393
- .muka-text-link--default,
4394
- .muka-text-link--default:visited {
4395
- color: var(--color-text-action-default);
4396
- }
4397
-
4398
- .muka-text-link--default:hover,
4399
- .muka-text-link--default:focus-visible {
4400
- color: var(--color-text-action-hover);
4401
- }
4402
-
4403
- .muka-text-link--default:active {
4404
- color: var(--color-text-action-pressed);
4405
- }
4406
-
4407
- /* ─── Variant: subtle (neutral) ───────────────────────────
4408
- Hover, focus and pressed all darken to the default text colour. */
4409
- .muka-text-link--subtle,
4410
- .muka-text-link--subtle:visited {
4411
- color: var(--color-text-subtle-default);
4412
- }
4413
-
4414
- .muka-text-link--subtle:hover,
4415
- .muka-text-link--subtle:focus-visible,
4416
- .muka-text-link--subtle:active {
4417
- color: var(--color-text-default-default);
4418
- }
4419
-
4420
- /* ─── Focus ───────────────────────────────────────────────
4421
- Same ring as every other focusable Muka component. */
4422
- .muka-text-link:focus-visible {
4423
- outline: 2px solid var(--color-border-focus);
4424
- outline-offset: 2px;
4425
- }
4426
-
4427
- @media (prefers-reduced-motion: reduce) {
4428
- .muka-text-link {
4429
- transition: none;
4430
- }
4431
- }
4432
-
4433
-
4434
4352
  /* Tabs */
4435
4353
  /* Tabs Component Styles - Clean underline style tabs matching Figma */
4436
4354
 
@@ -4621,6 +4539,88 @@ body {
4621
4539
  }
4622
4540
 
4623
4541
 
4542
+ /* TextLink */
4543
+ /* TextLink Component Styles - Using Muka Design Tokens */
4544
+
4545
+ .muka-text-link {
4546
+ display: inline;
4547
+ cursor: pointer;
4548
+ text-decoration: underline;
4549
+ /* Nudge the rule clear of descenders; the Figma underline sits off baseline. */
4550
+ text-underline-offset: 0.2em;
4551
+ text-decoration-thickness: from-font;
4552
+ /* Rounds the focus ring's corners; the link itself has no visible box. */
4553
+ border-radius: var(--border-radius-sm);
4554
+ transition: color var(--motion-duration-micro, 0.15s) var(--motion-easing-enter, ease);
4555
+ }
4556
+
4557
+ /* ─── Sizes ───────────────────────────────────────────────
4558
+ Mirrors the body text scale so a link matches the copy it sits in. */
4559
+ .muka-text-link--sm {
4560
+ font-family: var(--text-body-sm-regular-fontFamily);
4561
+ font-weight: var(--text-body-sm-regular-fontWeight);
4562
+ font-size: var(--text-body-sm-regular-fontSize);
4563
+ line-height: var(--text-body-sm-regular-lineHeight);
4564
+ }
4565
+
4566
+ .muka-text-link--base {
4567
+ font-family: var(--text-body-base-regular-fontFamily);
4568
+ font-weight: var(--text-body-base-regular-fontWeight);
4569
+ font-size: var(--text-body-base-regular-fontSize);
4570
+ line-height: var(--text-body-base-regular-lineHeight);
4571
+ }
4572
+
4573
+ .muka-text-link--lg {
4574
+ font-family: var(--text-body-lg-regular-fontFamily);
4575
+ font-weight: var(--text-body-lg-regular-fontWeight);
4576
+ font-size: var(--text-body-lg-regular-fontSize);
4577
+ line-height: var(--text-body-lg-regular-lineHeight);
4578
+ }
4579
+
4580
+ /* ─── Variant: default (accent) ───────────────────────────
4581
+ Visited repeats the default colour on purpose: the design treats visited and
4582
+ default the same, and pinning it stops the browser's purple from showing. */
4583
+ .muka-text-link--default,
4584
+ .muka-text-link--default:visited {
4585
+ color: var(--color-text-action-default);
4586
+ }
4587
+
4588
+ .muka-text-link--default:hover,
4589
+ .muka-text-link--default:focus-visible {
4590
+ color: var(--color-text-action-hover);
4591
+ }
4592
+
4593
+ .muka-text-link--default:active {
4594
+ color: var(--color-text-action-pressed);
4595
+ }
4596
+
4597
+ /* ─── Variant: subtle (neutral) ───────────────────────────
4598
+ Hover, focus and pressed all darken to the default text colour. */
4599
+ .muka-text-link--subtle,
4600
+ .muka-text-link--subtle:visited {
4601
+ color: var(--color-text-subtle-default);
4602
+ }
4603
+
4604
+ .muka-text-link--subtle:hover,
4605
+ .muka-text-link--subtle:focus-visible,
4606
+ .muka-text-link--subtle:active {
4607
+ color: var(--color-text-default-default);
4608
+ }
4609
+
4610
+ /* ─── Focus ───────────────────────────────────────────────
4611
+ Same ring as every other focusable Muka component. */
4612
+ .muka-text-link:focus-visible {
4613
+ outline: 2px solid var(--color-border-focus);
4614
+ outline-offset: 2px;
4615
+ }
4616
+
4617
+ @media (prefers-reduced-motion: reduce) {
4618
+ .muka-text-link {
4619
+ transition: none;
4620
+ }
4621
+ }
4622
+
4623
+
4624
4624
  /* TablePagination */
4625
4625
  /* TablePagination Component Styles - Using Muka Design Tokens */
4626
4626
 
@@ -5025,175 +5025,67 @@ body {
5025
5025
  }
5026
5026
 
5027
5027
 
5028
- /* SwipeActions */
5029
- /* SwipeActions Component Styles */
5028
+ /* Spinner */
5029
+ /* Spinner Component Styles */
5030
5030
 
5031
- .muka-swipe-actions {
5032
- position: relative;
5033
- overflow: hidden;
5034
- touch-action: pan-y;
5035
- -webkit-user-select: none;
5036
- user-select: none;
5037
- background-color: var(--color-surface-level3);
5031
+ .muka-spinner {
5032
+ display: inline-flex;
5033
+ align-items: center;
5034
+ justify-content: center;
5035
+ color: var(--color-text-default-default);
5036
+ line-height: 0;
5038
5037
  }
5039
5038
 
5040
- .muka-swipe-actions--disabled {
5041
- touch-action: auto;
5039
+ .muka-spinner--subtle {
5040
+ color: var(--color-text-subtle-default);
5042
5041
  }
5043
5042
 
5044
- /* ─── Row that holds the actual content ────────────────── */
5043
+ .muka-spinner--inverse {
5044
+ color: var(--color-text-default-inverse);
5045
+ }
5045
5046
 
5046
- .muka-swipe-actions__row {
5047
- position: relative;
5048
- z-index: 1;
5049
- background-color: inherit;
5050
- will-change: transform;
5047
+ .muka-spinner__circle {
5048
+ display: inline-block;
5049
+ border-radius: 50%;
5050
+ border-style: solid;
5051
+ border-color: currentColor;
5052
+ border-right-color: transparent;
5053
+ animation: muka-spinner-rotate 0.7s linear infinite;
5054
+ box-sizing: border-box;
5051
5055
  }
5052
5056
 
5053
- /* ─── Action panels — sit beneath the row ──────────────── */
5057
+ /* ─── Sizes ───────────────────────────────────────────── */
5054
5058
 
5055
- .muka-swipe-actions__panel {
5056
- position: absolute;
5057
- top: 0;
5058
- bottom: 0;
5059
- display: flex;
5060
- align-items: stretch;
5061
- z-index: 0;
5059
+ .muka-spinner--sm .muka-spinner__circle {
5060
+ width: 16px;
5061
+ height: 16px;
5062
+ border-width: 2px;
5062
5063
  }
5063
5064
 
5064
- .muka-swipe-actions__panel--left {
5065
- left: 0;
5065
+ .muka-spinner--md .muka-spinner__circle {
5066
+ width: 20px;
5067
+ height: 20px;
5068
+ border-width: 2px;
5066
5069
  }
5067
5070
 
5068
- .muka-swipe-actions__panel--right {
5069
- right: 0;
5071
+ .muka-spinner--lg .muka-spinner__circle {
5072
+ width: 24px;
5073
+ height: 24px;
5074
+ border-width: 3px;
5070
5075
  }
5071
5076
 
5072
- /* ─── Single action button ─────────────────────────────── */
5077
+ /* ─── Visually-hidden label ───────────────────────────── */
5073
5078
 
5074
- .muka-swipe-actions__button {
5075
- display: flex;
5076
- flex-direction: column;
5077
- align-items: center;
5078
- justify-content: center;
5079
- gap: var(--spacing-1);
5080
- border: none;
5081
- cursor: pointer;
5082
- padding: var(--spacing-2);
5083
- background-color: var(--color-surface-level2);
5084
- color: var(--color-text-default-default);
5085
- font-family: var(--text-label-sm-semibold-fontFamily);
5086
- font-weight: var(--text-label-sm-semibold-fontWeight);
5087
- font-size: var(--text-label-sm-semibold-fontSize);
5088
- line-height: var(--text-label-sm-semibold-lineHeight);
5089
- -webkit-tap-highlight-color: transparent;
5090
- transition: filter 0.12s ease;
5091
- }
5092
-
5093
- .muka-swipe-actions__button:hover {
5094
- filter: brightness(0.95);
5095
- }
5096
-
5097
- .muka-swipe-actions__button:focus-visible {
5098
- outline: 2px solid var(--color-action-default);
5099
- outline-offset: -2px;
5100
- }
5101
-
5102
- .muka-swipe-actions__button-icon {
5103
- display: inline-flex;
5104
- align-items: center;
5105
- justify-content: center;
5106
- }
5107
-
5108
- /* ─── Color variants ───────────────────────────────────── */
5109
-
5110
- .muka-swipe-actions__button--neutral {
5111
- background-color: var(--color-surface-level2);
5112
- color: var(--color-text-default-default);
5113
- }
5114
-
5115
- .muka-swipe-actions__button--primary {
5116
- background-color: var(--color-action-default);
5117
- color: var(--color-text-default-inverse);
5118
- }
5119
-
5120
- .muka-swipe-actions__button--success {
5121
- background-color: var(--color-state-success-default);
5122
- color: var(--color-text-default-inverse);
5123
- }
5124
-
5125
- .muka-swipe-actions__button--warning {
5126
- background-color: var(--color-state-warning-default);
5127
- color: var(--color-text-default-default);
5128
- }
5129
-
5130
- .muka-swipe-actions__button--destructive {
5131
- background-color: var(--color-state-error-default);
5132
- color: var(--color-text-default-inverse);
5133
- }
5134
-
5135
-
5136
- /* Spinner */
5137
- /* Spinner Component Styles */
5138
-
5139
- .muka-spinner {
5140
- display: inline-flex;
5141
- align-items: center;
5142
- justify-content: center;
5143
- color: var(--color-text-default-default);
5144
- line-height: 0;
5145
- }
5146
-
5147
- .muka-spinner--subtle {
5148
- color: var(--color-text-subtle-default);
5149
- }
5150
-
5151
- .muka-spinner--inverse {
5152
- color: var(--color-text-default-inverse);
5153
- }
5154
-
5155
- .muka-spinner__circle {
5156
- display: inline-block;
5157
- border-radius: 50%;
5158
- border-style: solid;
5159
- border-color: currentColor;
5160
- border-right-color: transparent;
5161
- animation: muka-spinner-rotate 0.7s linear infinite;
5162
- box-sizing: border-box;
5163
- }
5164
-
5165
- /* ─── Sizes ───────────────────────────────────────────── */
5166
-
5167
- .muka-spinner--sm .muka-spinner__circle {
5168
- width: 16px;
5169
- height: 16px;
5170
- border-width: 2px;
5171
- }
5172
-
5173
- .muka-spinner--md .muka-spinner__circle {
5174
- width: 20px;
5175
- height: 20px;
5176
- border-width: 2px;
5177
- }
5178
-
5179
- .muka-spinner--lg .muka-spinner__circle {
5180
- width: 24px;
5181
- height: 24px;
5182
- border-width: 3px;
5183
- }
5184
-
5185
- /* ─── Visually-hidden label ───────────────────────────── */
5186
-
5187
- .muka-spinner__sr-label {
5188
- position: absolute;
5189
- width: 1px;
5190
- height: 1px;
5191
- padding: 0;
5192
- margin: -1px;
5193
- overflow: hidden;
5194
- clip: rect(0, 0, 0, 0);
5195
- white-space: nowrap;
5196
- border: 0;
5079
+ .muka-spinner__sr-label {
5080
+ position: absolute;
5081
+ width: 1px;
5082
+ height: 1px;
5083
+ padding: 0;
5084
+ margin: -1px;
5085
+ overflow: hidden;
5086
+ clip: rect(0, 0, 0, 0);
5087
+ white-space: nowrap;
5088
+ border: 0;
5197
5089
  }
5198
5090
 
5199
5091
  /* ─── Reduced motion ──────────────────────────────────── */
@@ -5820,6 +5712,88 @@ body {
5820
5712
  }
5821
5713
 
5822
5714
 
5715
+ /* Sheet */
5716
+ /* Sheet Component Styles */
5717
+
5718
+ /* ─── Backdrop ────────────────────────────────────────── */
5719
+
5720
+ .muka-sheet__overlay {
5721
+ position: fixed;
5722
+ inset: 0;
5723
+ background-color: var(--color-surface-backdrop);
5724
+ -webkit-backdrop-filter: blur(var(--effect-blur-backdrop));
5725
+ backdrop-filter: blur(var(--effect-blur-backdrop));
5726
+ z-index: 50;
5727
+ }
5728
+
5729
+ /* ─── Surface ─────────────────────────────────────────── */
5730
+
5731
+ .muka-sheet {
5732
+ position: fixed;
5733
+ left: 0;
5734
+ right: 0;
5735
+ bottom: 0;
5736
+ z-index: 51;
5737
+
5738
+ display: flex;
5739
+ flex-direction: column;
5740
+
5741
+ max-height: 96dvh;
5742
+
5743
+ background-color: var(--color-surface-level3);
5744
+ border-top-left-radius: var(--radius-lg);
5745
+ border-top-right-radius: var(--radius-lg);
5746
+ box-shadow: var(--shadow-level5);
5747
+
5748
+ outline: none;
5749
+ }
5750
+
5751
+ /* Safe-area bottom inset for the iPhone home indicator. */
5752
+ .muka-sheet:not(.muka-sheet--no-safe-area) {
5753
+ padding-bottom: env(safe-area-inset-bottom);
5754
+ }
5755
+
5756
+ /* ─── Drag handle ─────────────────────────────────────── */
5757
+
5758
+ .muka-sheet__handle-container {
5759
+ display: flex;
5760
+ justify-content: center;
5761
+ flex-shrink: 0;
5762
+ padding: var(--spacing-3) 0;
5763
+ }
5764
+
5765
+ .muka-sheet__handle {
5766
+ width: var(--dialog-drag-handle-width);
5767
+ height: var(--dialog-drag-handle-height);
5768
+ background-color: var(--dialog-drag-handle-color);
5769
+ border-radius: var(--dialog-drag-handle-radius);
5770
+ }
5771
+
5772
+ /* ─── Body (scrollable) ───────────────────────────────── */
5773
+
5774
+ .muka-sheet__body {
5775
+ flex: 1 1 0%;
5776
+ min-height: 0;
5777
+ overflow-y: auto;
5778
+ -webkit-overflow-scrolling: touch;
5779
+ overscroll-behavior: contain;
5780
+ }
5781
+
5782
+ /* ─── Visually-hidden title (a11y) ────────────────────── */
5783
+
5784
+ .muka-sheet__sr-title {
5785
+ position: absolute;
5786
+ width: 1px;
5787
+ height: 1px;
5788
+ padding: 0;
5789
+ margin: -1px;
5790
+ overflow: hidden;
5791
+ clip: rect(0, 0, 0, 0);
5792
+ white-space: nowrap;
5793
+ border: 0;
5794
+ }
5795
+
5796
+
5823
5797
  /* Select */
5824
5798
  /* Select Component Styles - Aligned with Input for consistency */
5825
5799
 
@@ -8133,6 +8107,10 @@ button.muka-progress-tracker__tab:focus-visible {
8133
8107
  gap: var(--spacing-3); /* 12px */
8134
8108
  }
8135
8109
 
8110
+ .muka-profile-badge--sm {
8111
+ gap: var(--spacing-2); /* 8px */
8112
+ }
8113
+
8136
8114
  .muka-profile-badge__avatar {
8137
8115
  flex-shrink: 0;
8138
8116
  }
@@ -8185,6 +8163,39 @@ button.muka-progress-tracker__tab:focus-visible {
8185
8163
  outline-offset: 2px;
8186
8164
  }
8187
8165
 
8166
+ /* Trailing chevron: the badge opens a menu */
8167
+ .muka-profile-badge__chevron {
8168
+ flex-shrink: 0;
8169
+ }
8170
+
8171
+ /*
8172
+ * A clickable badge with a chevron is a pill (Figma Profile Badge, Bouwplan
8173
+ * header): 4px inset on the avatar side, 12px after the chevron. The border
8174
+ * is an inset shadow so it appears on hover and while the menu is open
8175
+ * without moving the content.
8176
+ */
8177
+ .muka-profile-badge--clickable.muka-profile-badge--with-chevron {
8178
+ padding: var(--spacing-1) var(--spacing-3) var(--spacing-1) var(--spacing-1);
8179
+ border-radius: var(--radius-full);
8180
+ transition: box-shadow 0.2s ease;
8181
+ }
8182
+
8183
+ .muka-profile-badge--clickable.muka-profile-badge--with-chevron:hover,
8184
+ .muka-profile-badge--clickable.muka-profile-badge--with-chevron:active {
8185
+ opacity: 1;
8186
+ }
8187
+
8188
+ .muka-profile-badge--clickable.muka-profile-badge--with-chevron:hover,
8189
+ .muka-profile-badge--clickable.muka-profile-badge--with-chevron[aria-expanded='true'],
8190
+ .muka-profile-badge--clickable.muka-profile-badge--with-chevron[data-state='open'] {
8191
+ box-shadow: inset 0 0 0 var(--border-width-regular) var(--button-color-ghost-border-hover);
8192
+ }
8193
+
8194
+ /* A badge without an avatar keeps the 12px start inset */
8195
+ .muka-profile-badge--clickable.muka-profile-badge--with-chevron:not(:has(.muka-profile-badge__avatar)) {
8196
+ padding-left: var(--spacing-3);
8197
+ }
8198
+
8188
8199
 
8189
8200
  /* PriceTag */
8190
8201
  /* PriceTag Component Styles - Using Muka Design Tokens */
@@ -9136,122 +9147,40 @@ button.muka-progress-tracker__tab:focus-visible {
9136
9147
  }
9137
9148
 
9138
9149
 
9139
- /* Sheet */
9140
- /* Sheet Component Styles */
9150
+ /* NumberInput */
9151
+ /* NumberInput — reuses Input field styles (../Input/Input.css). */
9152
+ /* Only the prefix/suffix affixes are NumberInput-specific. */
9141
9153
 
9142
- /* ─── Backdrop ────────────────────────────────────────── */
9154
+ .muka-numberinput__addon {
9155
+ display: inline-flex;
9156
+ align-items: center;
9157
+ flex: none;
9158
+ color: var(--color-text-subtle-default);
9159
+ font-family: var(--text-input-md-fontFamily);
9160
+ font-size: var(--text-input-md-fontSize);
9161
+ line-height: var(--text-input-md-lineHeight);
9162
+ user-select: none;
9163
+ pointer-events: none;
9164
+ white-space: nowrap;
9165
+ }
9143
9166
 
9144
- .muka-sheet__overlay {
9145
- position: fixed;
9146
- inset: 0;
9147
- background-color: var(--color-surface-backdrop);
9148
- -webkit-backdrop-filter: blur(var(--effect-blur-backdrop));
9149
- backdrop-filter: blur(var(--effect-blur-backdrop));
9150
- z-index: 50;
9167
+ /* Hide the native number spinners — affixes/step API replace them. */
9168
+ .muka-numberinput__field .muka-input__native::-webkit-outer-spin-button,
9169
+ .muka-numberinput__field .muka-input__native::-webkit-inner-spin-button {
9170
+ -webkit-appearance: none;
9171
+ margin: 0;
9151
9172
  }
9152
9173
 
9153
- /* ─── Surface ─────────────────────────────────────────── */
9174
+ .muka-numberinput__field .muka-input__native {
9175
+ -moz-appearance: textfield;
9176
+ appearance: textfield;
9177
+ }
9154
9178
 
9155
- .muka-sheet {
9156
- position: fixed;
9157
- left: 0;
9158
- right: 0;
9159
- bottom: 0;
9160
- z-index: 51;
9161
9179
 
9162
- display: flex;
9163
- flex-direction: column;
9180
+ /* NavigationTransition */
9181
+ /* NavigationTransition Component Styles */
9164
9182
 
9165
- max-height: 96dvh;
9166
-
9167
- background-color: var(--color-surface-level3);
9168
- border-top-left-radius: var(--radius-lg);
9169
- border-top-right-radius: var(--radius-lg);
9170
- box-shadow: var(--shadow-level5);
9171
-
9172
- outline: none;
9173
- }
9174
-
9175
- /* Safe-area bottom inset for the iPhone home indicator. */
9176
- .muka-sheet:not(.muka-sheet--no-safe-area) {
9177
- padding-bottom: env(safe-area-inset-bottom);
9178
- }
9179
-
9180
- /* ─── Drag handle ─────────────────────────────────────── */
9181
-
9182
- .muka-sheet__handle-container {
9183
- display: flex;
9184
- justify-content: center;
9185
- flex-shrink: 0;
9186
- padding: var(--spacing-3) 0;
9187
- }
9188
-
9189
- .muka-sheet__handle {
9190
- width: var(--dialog-drag-handle-width);
9191
- height: var(--dialog-drag-handle-height);
9192
- background-color: var(--dialog-drag-handle-color);
9193
- border-radius: var(--dialog-drag-handle-radius);
9194
- }
9195
-
9196
- /* ─── Body (scrollable) ───────────────────────────────── */
9197
-
9198
- .muka-sheet__body {
9199
- flex: 1 1 0%;
9200
- min-height: 0;
9201
- overflow-y: auto;
9202
- -webkit-overflow-scrolling: touch;
9203
- overscroll-behavior: contain;
9204
- }
9205
-
9206
- /* ─── Visually-hidden title (a11y) ────────────────────── */
9207
-
9208
- .muka-sheet__sr-title {
9209
- position: absolute;
9210
- width: 1px;
9211
- height: 1px;
9212
- padding: 0;
9213
- margin: -1px;
9214
- overflow: hidden;
9215
- clip: rect(0, 0, 0, 0);
9216
- white-space: nowrap;
9217
- border: 0;
9218
- }
9219
-
9220
-
9221
- /* NumberInput */
9222
- /* NumberInput — reuses Input field styles (../Input/Input.css). */
9223
- /* Only the prefix/suffix affixes are NumberInput-specific. */
9224
-
9225
- .muka-numberinput__addon {
9226
- display: inline-flex;
9227
- align-items: center;
9228
- flex: none;
9229
- color: var(--color-text-subtle-default);
9230
- font-family: var(--text-input-md-fontFamily);
9231
- font-size: var(--text-input-md-fontSize);
9232
- line-height: var(--text-input-md-lineHeight);
9233
- user-select: none;
9234
- pointer-events: none;
9235
- white-space: nowrap;
9236
- }
9237
-
9238
- /* Hide the native number spinners — affixes/step API replace them. */
9239
- .muka-numberinput__field .muka-input__native::-webkit-outer-spin-button,
9240
- .muka-numberinput__field .muka-input__native::-webkit-inner-spin-button {
9241
- -webkit-appearance: none;
9242
- margin: 0;
9243
- }
9244
-
9245
- .muka-numberinput__field .muka-input__native {
9246
- -moz-appearance: textfield;
9247
- appearance: textfield;
9248
- }
9249
-
9250
-
9251
- /* NavigationTransition */
9252
- /* NavigationTransition Component Styles */
9253
-
9254
- /* ─── Wrapper ────────────────────────────────────────── */
9183
+ /* ─── Wrapper ────────────────────────────────────────── */
9255
9184
 
9256
9185
  .muka-nav-transition {
9257
9186
  position: relative;
@@ -10241,6 +10170,43 @@ li.muka-listitem {
10241
10170
  display: none;
10242
10171
  }
10243
10172
 
10173
+ /* ─── Compact padding ──────────────────────────────────── */
10174
+
10175
+ /*
10176
+ * Figma ListItem × Padding=Compact: an 8px inset, 12px between leading and
10177
+ * label, a 32px leading slot (a 20px icon centred, or a 32px avatar) and a
10178
+ * regular-weight label. Used in menus and short navigation lists.
10179
+ */
10180
+ .muka-listitem--compact {
10181
+ align-items: center;
10182
+ gap: var(--spacing-3);
10183
+ padding: var(--spacing-2);
10184
+ }
10185
+
10186
+ .muka-listitem--compact .muka-listitem__leading {
10187
+ width: var(--size-2xl);
10188
+ height: var(--size-2xl);
10189
+ }
10190
+
10191
+ .muka-listitem--compact .muka-listitem__icon {
10192
+ width: var(--size-2xl);
10193
+ height: var(--size-2xl);
10194
+ }
10195
+
10196
+ .muka-listitem--compact .muka-listitem__image {
10197
+ width: var(--size-2xl);
10198
+ height: var(--size-2xl);
10199
+ border-radius: var(--radius-sm);
10200
+ }
10201
+
10202
+ .muka-listitem--compact .muka-listitem__label {
10203
+ font-weight: var(--text-label-md-regular-fontWeight);
10204
+ }
10205
+
10206
+ .muka-listitem--compact .muka-listitem__content {
10207
+ gap: var(--spacing-3);
10208
+ }
10209
+
10244
10210
 
10245
10211
  /* LicensePlateInput */
10246
10212
  /* LicensePlateInput — Dutch RDW-style plate input
@@ -10935,26 +10901,6 @@ li.muka-listitem {
10935
10901
  }
10936
10902
 
10937
10903
 
10938
- /* Form */
10939
- .muka-form {
10940
- display: flex;
10941
- flex-direction: column;
10942
- width: 100%;
10943
- }
10944
-
10945
- .muka-form--gap-sm {
10946
- gap: var(--size-sm);
10947
- }
10948
-
10949
- .muka-form--gap-md {
10950
- gap: var(--size-md);
10951
- }
10952
-
10953
- .muka-form--gap-lg {
10954
- gap: var(--size-lg);
10955
- }
10956
-
10957
-
10958
10904
  /* Icon */
10959
10905
  /* Icon Component Styles - Using Muka Design Tokens */
10960
10906
 
@@ -11009,6 +10955,26 @@ li.muka-listitem {
11009
10955
  }
11010
10956
 
11011
10957
 
10958
+ /* Form */
10959
+ .muka-form {
10960
+ display: flex;
10961
+ flex-direction: column;
10962
+ width: 100%;
10963
+ }
10964
+
10965
+ .muka-form--gap-sm {
10966
+ gap: var(--size-sm);
10967
+ }
10968
+
10969
+ .muka-form--gap-md {
10970
+ gap: var(--size-md);
10971
+ }
10972
+
10973
+ .muka-form--gap-lg {
10974
+ gap: var(--size-lg);
10975
+ }
10976
+
10977
+
11012
10978
  /* FileUpload */
11013
10979
  /* FileUpload Component Styles */
11014
10980
 
@@ -14235,6 +14201,47 @@ button.muka-chip__trailing[aria-expanded='true'],
14235
14201
  }
14236
14202
 
14237
14203
 
14204
+ /* ChatQuestionSeries */
14205
+ /* ChatQuestionSeries — step dots and the collapsed summary (experimental) */
14206
+ .muka-chat-series__dots {
14207
+ display: inline-flex;
14208
+ align-items: center;
14209
+ gap: var(--spacing-1);
14210
+ }
14211
+
14212
+ .muka-chat-series__dot {
14213
+ width: var(--spacing-1);
14214
+ height: var(--spacing-1);
14215
+ border-radius: var(--border-radius-full);
14216
+ background-color: var(--color-border-default);
14217
+ }
14218
+
14219
+ .muka-chat-series__dot--done {
14220
+ background-color: var(--color-text-subtle-default);
14221
+ }
14222
+
14223
+ .muka-chat-series__dot--current {
14224
+ width: var(--spacing-2);
14225
+ height: var(--spacing-2);
14226
+ background-color: var(--color-text-default-default);
14227
+ }
14228
+
14229
+ .muka-chat-series__summary {
14230
+ display: flex;
14231
+ flex-direction: column;
14232
+ gap: var(--spacing-2);
14233
+ }
14234
+
14235
+ .muka-chat-series__summary-row {
14236
+ display: flex;
14237
+ flex-direction: column;
14238
+ }
14239
+
14240
+ .muka-chat-series__summary-question {
14241
+ color: var(--color-text-subtle-default);
14242
+ }
14243
+
14244
+
14238
14245
  /* ChatQuestionCard */
14239
14246
  /*
14240
14247
  * ChatQuestionCard — in-thread question widget (experimental).
@@ -14436,52 +14443,79 @@ button.muka-chat-photo-grid__tile:focus-visible {
14436
14443
  }
14437
14444
 
14438
14445
 
14439
- /* ChatQuestionSeries */
14440
- /* ChatQuestionSeries — step dots and the collapsed summary (experimental) */
14441
- .muka-chat-series__dots {
14442
- display: inline-flex;
14443
- align-items: center;
14444
- gap: var(--spacing-1);
14445
- }
14446
+ /* ChatMessageStack */
14447
+ /* ChatMessageStack Component Styles */
14446
14448
 
14447
- .muka-chat-series__dot {
14448
- width: var(--spacing-1);
14449
- height: var(--spacing-1);
14450
- border-radius: var(--border-radius-full);
14451
- background-color: var(--color-border-default);
14449
+ .muka-chat-message-stack {
14450
+ display: flex;
14451
+ flex-direction: column;
14452
+ gap: var(--chatbubble-stack-gap);
14453
+ width: 100%;
14454
+ max-width: 100%;
14452
14455
  }
14453
14456
 
14454
- .muka-chat-series__dot--done {
14455
- background-color: var(--color-text-subtle-default);
14457
+ .muka-chat-message-stack__messages {
14458
+ display: flex;
14459
+ flex-direction: column;
14460
+ gap: var(--chatbubble-stack-gap);
14461
+ width: 100%;
14456
14462
  }
14457
14463
 
14458
- .muka-chat-series__dot--current {
14459
- width: var(--spacing-2);
14460
- height: var(--spacing-2);
14461
- background-color: var(--color-text-default-default);
14464
+ /*
14465
+ * Reasoning sits above the stack, indented past the avatar rail so it lines up
14466
+ * with the bubbles rather than with the avatar (Figma 5379:47300).
14467
+ */
14468
+ .muka-chat-message-stack__reasoning {
14469
+ min-width: 0;
14462
14470
  }
14463
14471
 
14464
- .muka-chat-series__summary {
14472
+ /* In-thread widgets after the messages share the reasoning's indent. */
14473
+ .muka-chat-message-stack__widgets {
14465
14474
  display: flex;
14466
14475
  flex-direction: column;
14467
- gap: var(--spacing-2);
14476
+ gap: var(--chatbubble-stack-gap);
14477
+ min-width: 0;
14468
14478
  }
14469
14479
 
14470
- .muka-chat-series__summary-row {
14471
- display: flex;
14472
- flex-direction: column;
14480
+ .muka-chat-message-stack--has-avatar .muka-chat-message-stack__widgets,
14481
+ .muka-chat-message-stack--has-avatar .muka-chat-message-stack__reasoning {
14482
+ padding-left: calc(var(--chatbubble-avatar-size) + var(--chatbubble-row-gap));
14473
14483
  }
14474
14484
 
14475
- .muka-chat-series__summary-question {
14476
- color: var(--color-text-subtle-default);
14485
+ .muka-chat-message-stack--own.muka-chat-message-stack--has-avatar
14486
+ .muka-chat-message-stack__widgets,
14487
+ .muka-chat-message-stack--own.muka-chat-message-stack--has-avatar
14488
+ .muka-chat-message-stack__reasoning {
14489
+ padding-left: 0;
14490
+ padding-right: calc(var(--chatbubble-avatar-size) + var(--chatbubble-row-gap));
14477
14491
  }
14478
14492
 
14479
-
14480
- /* ChatMessageList */
14481
- /* ChatMessageList Component Styles */
14482
-
14483
- .muka-chat-message-list {
14484
- flex: 1 1 auto;
14493
+ /* Follow the message's compact rail and gap below the desktop breakpoint */
14494
+ @media (max-width: 1023px) {
14495
+ .muka-chat-message-stack--has-avatar .muka-chat-message-stack__widgets,
14496
+ .muka-chat-message-stack--has-avatar .muka-chat-message-stack__reasoning {
14497
+ padding-left: calc(
14498
+ var(--chatbubble-avatar-size-compact) + var(--chatbubble-row-gap-compact)
14499
+ );
14500
+ }
14501
+
14502
+ .muka-chat-message-stack--own.muka-chat-message-stack--has-avatar
14503
+ .muka-chat-message-stack__widgets,
14504
+ .muka-chat-message-stack--own.muka-chat-message-stack--has-avatar
14505
+ .muka-chat-message-stack__reasoning {
14506
+ padding-left: 0;
14507
+ padding-right: calc(
14508
+ var(--chatbubble-avatar-size-compact) + var(--chatbubble-row-gap-compact)
14509
+ );
14510
+ }
14511
+ }
14512
+
14513
+
14514
+ /* ChatMessageList */
14515
+ /* ChatMessageList Component Styles */
14516
+
14517
+ .muka-chat-message-list {
14518
+ flex: 1 1 auto;
14485
14519
  min-height: 0;
14486
14520
  width: 100%;
14487
14521
  overflow-x: clip;
@@ -15205,74 +15239,6 @@ button.muka-chat-photo-grid__tile:focus-visible {
15205
15239
  }
15206
15240
 
15207
15241
 
15208
- /* ChatMessageStack */
15209
- /* ChatMessageStack Component Styles */
15210
-
15211
- .muka-chat-message-stack {
15212
- display: flex;
15213
- flex-direction: column;
15214
- gap: var(--chatbubble-stack-gap);
15215
- width: 100%;
15216
- max-width: 100%;
15217
- }
15218
-
15219
- .muka-chat-message-stack__messages {
15220
- display: flex;
15221
- flex-direction: column;
15222
- gap: var(--chatbubble-stack-gap);
15223
- width: 100%;
15224
- }
15225
-
15226
- /*
15227
- * Reasoning sits above the stack, indented past the avatar rail so it lines up
15228
- * with the bubbles rather than with the avatar (Figma 5379:47300).
15229
- */
15230
- .muka-chat-message-stack__reasoning {
15231
- min-width: 0;
15232
- }
15233
-
15234
- /* In-thread widgets after the messages share the reasoning's indent. */
15235
- .muka-chat-message-stack__widgets {
15236
- display: flex;
15237
- flex-direction: column;
15238
- gap: var(--chatbubble-stack-gap);
15239
- min-width: 0;
15240
- }
15241
-
15242
- .muka-chat-message-stack--has-avatar .muka-chat-message-stack__widgets,
15243
- .muka-chat-message-stack--has-avatar .muka-chat-message-stack__reasoning {
15244
- padding-left: calc(var(--chatbubble-avatar-size) + var(--chatbubble-row-gap));
15245
- }
15246
-
15247
- .muka-chat-message-stack--own.muka-chat-message-stack--has-avatar
15248
- .muka-chat-message-stack__widgets,
15249
- .muka-chat-message-stack--own.muka-chat-message-stack--has-avatar
15250
- .muka-chat-message-stack__reasoning {
15251
- padding-left: 0;
15252
- padding-right: calc(var(--chatbubble-avatar-size) + var(--chatbubble-row-gap));
15253
- }
15254
-
15255
- /* Follow the message's compact rail and gap below the desktop breakpoint */
15256
- @media (max-width: 1023px) {
15257
- .muka-chat-message-stack--has-avatar .muka-chat-message-stack__widgets,
15258
- .muka-chat-message-stack--has-avatar .muka-chat-message-stack__reasoning {
15259
- padding-left: calc(
15260
- var(--chatbubble-avatar-size-compact) + var(--chatbubble-row-gap-compact)
15261
- );
15262
- }
15263
-
15264
- .muka-chat-message-stack--own.muka-chat-message-stack--has-avatar
15265
- .muka-chat-message-stack__widgets,
15266
- .muka-chat-message-stack--own.muka-chat-message-stack--has-avatar
15267
- .muka-chat-message-stack__reasoning {
15268
- padding-left: 0;
15269
- padding-right: calc(
15270
- var(--chatbubble-avatar-size-compact) + var(--chatbubble-row-gap-compact)
15271
- );
15272
- }
15273
- }
15274
-
15275
-
15276
15242
  /* ChatChoiceCard */
15277
15243
  /* ChatChoiceCard — compact option rows (experimental) */
15278
15244
  .muka-chat-choice__list {
@@ -15309,6 +15275,162 @@ button.muka-chat-photo-grid__tile:focus-visible {
15309
15275
  }
15310
15276
 
15311
15277
 
15278
+ /* ChatAttachmentChip */
15279
+ /* ChatAttachmentChip Component Styles */
15280
+
15281
+ .muka-chat-attachment-chip {
15282
+ position: relative;
15283
+ display: inline-flex;
15284
+ align-items: center;
15285
+ gap: var(--spacing-1);
15286
+ max-width: 240px;
15287
+ padding: var(--spacing-2) var(--spacing-3);
15288
+ background-color: var(--color-surface-level1);
15289
+ border: var(--border-width-regular) solid var(--color-border-default);
15290
+ border-radius: var(--radius-md);
15291
+ overflow: hidden;
15292
+ }
15293
+
15294
+ .muka-chat-attachment-chip--uploading {
15295
+ padding-bottom: calc(var(--spacing-2) + 2px);
15296
+ }
15297
+
15298
+ .muka-chat-attachment-chip--error {
15299
+ border-color: var(--color-state-error-default, var(--color-text-default-default));
15300
+ }
15301
+
15302
+ .muka-chat-attachment-chip--disabled {
15303
+ opacity: 0.5;
15304
+ pointer-events: none;
15305
+ }
15306
+
15307
+ /* ─── Body (icon + text) ───────────────────────────────── */
15308
+
15309
+ .muka-chat-attachment-chip__body {
15310
+ display: inline-flex;
15311
+ align-items: center;
15312
+ gap: var(--spacing-2);
15313
+ min-width: 0;
15314
+ flex: 1 1 auto;
15315
+ background: none;
15316
+ border: none;
15317
+ padding: 0;
15318
+ margin: 0;
15319
+ text-align: left;
15320
+ color: inherit;
15321
+ font: inherit;
15322
+ cursor: default;
15323
+ -webkit-tap-highlight-color: transparent;
15324
+ }
15325
+
15326
+ .muka-chat-attachment-chip--interactive .muka-chat-attachment-chip__body {
15327
+ cursor: pointer;
15328
+ }
15329
+
15330
+ .muka-chat-attachment-chip--interactive .muka-chat-attachment-chip__body:focus-visible {
15331
+ outline: 2px solid var(--color-action-default);
15332
+ outline-offset: 2px;
15333
+ border-radius: var(--radius-sm);
15334
+ }
15335
+
15336
+ .muka-chat-attachment-chip__icon {
15337
+ display: inline-flex;
15338
+ align-items: center;
15339
+ justify-content: center;
15340
+ flex-shrink: 0;
15341
+ color: var(--color-text-subtle-default);
15342
+ }
15343
+
15344
+ .muka-chat-attachment-chip__text {
15345
+ display: flex;
15346
+ flex-direction: column;
15347
+ min-width: 0;
15348
+ flex: 1 1 auto;
15349
+ }
15350
+
15351
+ .muka-chat-attachment-chip__name {
15352
+ color: var(--color-text-default-default);
15353
+ font-family: var(--text-body-sm-regular-fontFamily);
15354
+ font-weight: var(--text-body-sm-regular-fontWeight);
15355
+ font-size: var(--text-body-sm-regular-fontSize);
15356
+ line-height: var(--text-body-sm-regular-lineHeight);
15357
+ white-space: nowrap;
15358
+ overflow: hidden;
15359
+ text-overflow: ellipsis;
15360
+ }
15361
+
15362
+ .muka-chat-attachment-chip__meta {
15363
+ color: var(--color-text-subtle-default);
15364
+ font-family: var(--text-body-sm-regular-fontFamily);
15365
+ font-weight: var(--text-body-sm-regular-fontWeight);
15366
+ font-size: var(--text-body-sm-regular-fontSize);
15367
+ line-height: var(--text-body-sm-regular-lineHeight);
15368
+ white-space: nowrap;
15369
+ overflow: hidden;
15370
+ text-overflow: ellipsis;
15371
+ }
15372
+
15373
+ .muka-chat-attachment-chip--error .muka-chat-attachment-chip__meta {
15374
+ color: var(--color-state-error-default, var(--color-text-default-default));
15375
+ }
15376
+
15377
+ /* ─── Remove button ────────────────────────────────────── */
15378
+
15379
+ .muka-chat-attachment-chip__remove {
15380
+ display: inline-flex;
15381
+ align-items: center;
15382
+ justify-content: center;
15383
+ width: 20px;
15384
+ height: 20px;
15385
+ border: none;
15386
+ background: none;
15387
+ padding: 0;
15388
+ border-radius: var(--radius-sm);
15389
+ cursor: pointer;
15390
+ color: var(--color-text-subtle-default);
15391
+ flex-shrink: 0;
15392
+ -webkit-tap-highlight-color: transparent;
15393
+ }
15394
+
15395
+ .muka-chat-attachment-chip__remove:hover:not(:disabled) {
15396
+ color: var(--color-text-default-default);
15397
+ background-color: var(--color-surface-level2);
15398
+ }
15399
+
15400
+ .muka-chat-attachment-chip__remove:focus-visible {
15401
+ outline: 2px solid var(--color-action-default);
15402
+ outline-offset: 2px;
15403
+ }
15404
+
15405
+ .muka-chat-attachment-chip__remove:disabled {
15406
+ cursor: not-allowed;
15407
+ opacity: 0.5;
15408
+ }
15409
+
15410
+ /* ─── Progress bar ─────────────────────────────────────── */
15411
+
15412
+ .muka-chat-attachment-chip__progress {
15413
+ position: absolute;
15414
+ left: 0;
15415
+ right: 0;
15416
+ bottom: 0;
15417
+ height: 2px;
15418
+ background-color: var(--color-surface-level2);
15419
+ overflow: hidden;
15420
+ }
15421
+
15422
+ .muka-chat-attachment-chip__progress-fill {
15423
+ display: block;
15424
+ height: 100%;
15425
+ background-color: var(--color-action-default);
15426
+ transition: width 0.16s ease;
15427
+ }
15428
+
15429
+ .muka-chat-attachment-chip--error .muka-chat-attachment-chip__progress-fill {
15430
+ background-color: var(--color-state-error-default, var(--color-text-default-default));
15431
+ }
15432
+
15433
+
15312
15434
  /* Card */
15313
15435
  /* Card Component Styles - Using Muka Design Tokens */
15314
15436
 
@@ -16285,164 +16407,8 @@ button.muka-chat-photo-grid__tile:focus-visible {
16285
16407
  }
16286
16408
 
16287
16409
 
16288
- /* ChatAttachmentChip */
16289
- /* ChatAttachmentChip Component Styles */
16290
-
16291
- .muka-chat-attachment-chip {
16292
- position: relative;
16293
- display: inline-flex;
16294
- align-items: center;
16295
- gap: var(--spacing-1);
16296
- max-width: 240px;
16297
- padding: var(--spacing-2) var(--spacing-3);
16298
- background-color: var(--color-surface-level1);
16299
- border: var(--border-width-regular) solid var(--color-border-default);
16300
- border-radius: var(--radius-md);
16301
- overflow: hidden;
16302
- }
16303
-
16304
- .muka-chat-attachment-chip--uploading {
16305
- padding-bottom: calc(var(--spacing-2) + 2px);
16306
- }
16307
-
16308
- .muka-chat-attachment-chip--error {
16309
- border-color: var(--color-state-error-default, var(--color-text-default-default));
16310
- }
16311
-
16312
- .muka-chat-attachment-chip--disabled {
16313
- opacity: 0.5;
16314
- pointer-events: none;
16315
- }
16316
-
16317
- /* ─── Body (icon + text) ───────────────────────────────── */
16318
-
16319
- .muka-chat-attachment-chip__body {
16320
- display: inline-flex;
16321
- align-items: center;
16322
- gap: var(--spacing-2);
16323
- min-width: 0;
16324
- flex: 1 1 auto;
16325
- background: none;
16326
- border: none;
16327
- padding: 0;
16328
- margin: 0;
16329
- text-align: left;
16330
- color: inherit;
16331
- font: inherit;
16332
- cursor: default;
16333
- -webkit-tap-highlight-color: transparent;
16334
- }
16335
-
16336
- .muka-chat-attachment-chip--interactive .muka-chat-attachment-chip__body {
16337
- cursor: pointer;
16338
- }
16339
-
16340
- .muka-chat-attachment-chip--interactive .muka-chat-attachment-chip__body:focus-visible {
16341
- outline: 2px solid var(--color-action-default);
16342
- outline-offset: 2px;
16343
- border-radius: var(--radius-sm);
16344
- }
16345
-
16346
- .muka-chat-attachment-chip__icon {
16347
- display: inline-flex;
16348
- align-items: center;
16349
- justify-content: center;
16350
- flex-shrink: 0;
16351
- color: var(--color-text-subtle-default);
16352
- }
16353
-
16354
- .muka-chat-attachment-chip__text {
16355
- display: flex;
16356
- flex-direction: column;
16357
- min-width: 0;
16358
- flex: 1 1 auto;
16359
- }
16360
-
16361
- .muka-chat-attachment-chip__name {
16362
- color: var(--color-text-default-default);
16363
- font-family: var(--text-body-sm-regular-fontFamily);
16364
- font-weight: var(--text-body-sm-regular-fontWeight);
16365
- font-size: var(--text-body-sm-regular-fontSize);
16366
- line-height: var(--text-body-sm-regular-lineHeight);
16367
- white-space: nowrap;
16368
- overflow: hidden;
16369
- text-overflow: ellipsis;
16370
- }
16371
-
16372
- .muka-chat-attachment-chip__meta {
16373
- color: var(--color-text-subtle-default);
16374
- font-family: var(--text-body-sm-regular-fontFamily);
16375
- font-weight: var(--text-body-sm-regular-fontWeight);
16376
- font-size: var(--text-body-sm-regular-fontSize);
16377
- line-height: var(--text-body-sm-regular-lineHeight);
16378
- white-space: nowrap;
16379
- overflow: hidden;
16380
- text-overflow: ellipsis;
16381
- }
16382
-
16383
- .muka-chat-attachment-chip--error .muka-chat-attachment-chip__meta {
16384
- color: var(--color-state-error-default, var(--color-text-default-default));
16385
- }
16386
-
16387
- /* ─── Remove button ────────────────────────────────────── */
16388
-
16389
- .muka-chat-attachment-chip__remove {
16390
- display: inline-flex;
16391
- align-items: center;
16392
- justify-content: center;
16393
- width: 20px;
16394
- height: 20px;
16395
- border: none;
16396
- background: none;
16397
- padding: 0;
16398
- border-radius: var(--radius-sm);
16399
- cursor: pointer;
16400
- color: var(--color-text-subtle-default);
16401
- flex-shrink: 0;
16402
- -webkit-tap-highlight-color: transparent;
16403
- }
16404
-
16405
- .muka-chat-attachment-chip__remove:hover:not(:disabled) {
16406
- color: var(--color-text-default-default);
16407
- background-color: var(--color-surface-level2);
16408
- }
16409
-
16410
- .muka-chat-attachment-chip__remove:focus-visible {
16411
- outline: 2px solid var(--color-action-default);
16412
- outline-offset: 2px;
16413
- }
16414
-
16415
- .muka-chat-attachment-chip__remove:disabled {
16416
- cursor: not-allowed;
16417
- opacity: 0.5;
16418
- }
16419
-
16420
- /* ─── Progress bar ─────────────────────────────────────── */
16421
-
16422
- .muka-chat-attachment-chip__progress {
16423
- position: absolute;
16424
- left: 0;
16425
- right: 0;
16426
- bottom: 0;
16427
- height: 2px;
16428
- background-color: var(--color-surface-level2);
16429
- overflow: hidden;
16430
- }
16431
-
16432
- .muka-chat-attachment-chip__progress-fill {
16433
- display: block;
16434
- height: 100%;
16435
- background-color: var(--color-action-default);
16436
- transition: width 0.16s ease;
16437
- }
16438
-
16439
- .muka-chat-attachment-chip--error .muka-chat-attachment-chip__progress-fill {
16440
- background-color: var(--color-state-error-default, var(--color-text-default-default));
16441
- }
16442
-
16443
-
16444
- /* BadgeNumber */
16445
- /* BadgeNumber Component Styles - Using Muka Design Tokens */
16410
+ /* BadgeNumber */
16411
+ /* BadgeNumber Component Styles - Using Muka Design Tokens */
16446
16412
 
16447
16413
  .muka-badge-number {
16448
16414
  display: inline-flex;
@@ -17120,6 +17086,72 @@ button.muka-chat-photo-grid__tile:focus-visible {
17120
17086
  }
17121
17087
 
17122
17088
 
17089
+ /* Autocomplete */
17090
+ /* Autocomplete — Figma Input Autocomplete (Input field + single-line suggestion Menu).
17091
+ The field reuses the Input styles (.muka-input*); only the menu wiring lives here. */
17092
+
17093
+ .muka-autocomplete {
17094
+ min-width: 200px;
17095
+ }
17096
+
17097
+ /* Covers the field's outer edge so the menu matches its full width. The menu
17098
+ is only open while focused, when the field has the bold border. */
17099
+ .muka-autocomplete__menu-anchor {
17100
+ position: absolute;
17101
+ inset: calc(-1 * var(--border-width-bold));
17102
+ z-index: 0;
17103
+ margin: 0;
17104
+ padding: 0;
17105
+ border: none;
17106
+ background: transparent;
17107
+ pointer-events: none;
17108
+ opacity: 0;
17109
+ }
17110
+
17111
+ /* Keep the field content above the invisible anchor. */
17112
+ .muka-autocomplete__field > :not(.muka-autocomplete__menu-anchor) {
17113
+ position: relative;
17114
+ z-index: 1;
17115
+ }
17116
+
17117
+ /* Figma: the menu is as wide as the field (never below the menu min-width token). */
17118
+ .muka-autocomplete__menu {
17119
+ width: var(--radix-dropdown-menu-trigger-width);
17120
+ max-width: calc(100vw - 2rem);
17121
+ }
17122
+
17123
+ /* Suggestions are single-line; long labels truncate. */
17124
+ .muka-autocomplete__menu .muka-menu__item-label {
17125
+ overflow: hidden;
17126
+ text-overflow: ellipsis;
17127
+ }
17128
+
17129
+ /* Loading and empty rows: menu-row geometry, not selectable. */
17130
+ .muka-autocomplete__status {
17131
+ display: flex;
17132
+ align-items: center;
17133
+ gap: var(--menu-item-gap);
17134
+ min-height: var(--menu-item-height);
17135
+ padding: var(--menu-item-padding-y) var(--menu-item-padding-x);
17136
+ color: var(--color-text-subtle-default);
17137
+ font-family: var(--text-label-md-regular-fontFamily);
17138
+ font-size: var(--text-label-md-regular-fontSize);
17139
+ font-weight: var(--text-label-md-regular-fontWeight);
17140
+ line-height: var(--text-label-md-regular-lineHeight);
17141
+ }
17142
+
17143
+ .muka-autocomplete__footer {
17144
+ flex-shrink: 0;
17145
+ padding: var(--spacing-2) var(--spacing-3);
17146
+ border-top: var(--border-width-regular) solid var(--color-border-default);
17147
+ color: var(--color-text-subtle-default);
17148
+ font-family: var(--text-label-sm-regular-fontFamily);
17149
+ font-size: var(--text-label-sm-regular-fontSize);
17150
+ font-weight: var(--text-label-sm-regular-fontWeight);
17151
+ line-height: var(--text-label-sm-regular-lineHeight);
17152
+ }
17153
+
17154
+
17123
17155
  /* AppShell */
17124
17156
  /* AppShell Component Styles */
17125
17157
 
@@ -17242,91 +17274,25 @@ button.muka-chat-photo-grid__tile:focus-visible {
17242
17274
  }
17243
17275
 
17244
17276
 
17245
- /* Autocomplete */
17246
- /* Autocomplete — Figma Input Autocomplete (Input field + single-line suggestion Menu).
17247
- The field reuses the Input styles (.muka-input*); only the menu wiring lives here. */
17277
+ /* Alert */
17278
+ /* Alert Component Styles - Using Muka Design Tokens */
17248
17279
 
17249
- .muka-autocomplete {
17250
- min-width: 200px;
17280
+ .muka-alert {
17281
+ display: flex;
17282
+ align-items: flex-start;
17283
+ border-radius: var(--alert-radius);
17284
+ border: none;
17285
+ gap: var(--alert-gap);
17286
+ box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
17251
17287
  }
17252
17288
 
17253
- /* Covers the field's outer edge so the menu matches its full width. The menu
17254
- is only open while focused, when the field has the bold border. */
17255
- .muka-autocomplete__menu-anchor {
17256
- position: absolute;
17257
- inset: calc(-1 * var(--border-width-bold));
17258
- z-index: 0;
17259
- margin: 0;
17260
- padding: 0;
17261
- border: none;
17262
- background: transparent;
17263
- pointer-events: none;
17264
- opacity: 0;
17289
+ /* Size variants */
17290
+ .muka-alert--sm {
17291
+ padding: var(--alert-padding-sm-y) var(--alert-padding-sm-x);
17265
17292
  }
17266
17293
 
17267
- /* Keep the field content above the invisible anchor. */
17268
- .muka-autocomplete__field > :not(.muka-autocomplete__menu-anchor) {
17269
- position: relative;
17270
- z-index: 1;
17271
- }
17272
-
17273
- /* Figma: the menu is as wide as the field (never below the menu min-width token). */
17274
- .muka-autocomplete__menu {
17275
- width: var(--radix-dropdown-menu-trigger-width);
17276
- max-width: calc(100vw - 2rem);
17277
- }
17278
-
17279
- /* Suggestions are single-line; long labels truncate. */
17280
- .muka-autocomplete__menu .muka-menu__item-label {
17281
- overflow: hidden;
17282
- text-overflow: ellipsis;
17283
- }
17284
-
17285
- /* Loading and empty rows: menu-row geometry, not selectable. */
17286
- .muka-autocomplete__status {
17287
- display: flex;
17288
- align-items: center;
17289
- gap: var(--menu-item-gap);
17290
- min-height: var(--menu-item-height);
17291
- padding: var(--menu-item-padding-y) var(--menu-item-padding-x);
17292
- color: var(--color-text-subtle-default);
17293
- font-family: var(--text-label-md-regular-fontFamily);
17294
- font-size: var(--text-label-md-regular-fontSize);
17295
- font-weight: var(--text-label-md-regular-fontWeight);
17296
- line-height: var(--text-label-md-regular-lineHeight);
17297
- }
17298
-
17299
- .muka-autocomplete__footer {
17300
- flex-shrink: 0;
17301
- padding: var(--spacing-2) var(--spacing-3);
17302
- border-top: var(--border-width-regular) solid var(--color-border-default);
17303
- color: var(--color-text-subtle-default);
17304
- font-family: var(--text-label-sm-regular-fontFamily);
17305
- font-size: var(--text-label-sm-regular-fontSize);
17306
- font-weight: var(--text-label-sm-regular-fontWeight);
17307
- line-height: var(--text-label-sm-regular-lineHeight);
17308
- }
17309
-
17310
-
17311
- /* Alert */
17312
- /* Alert Component Styles - Using Muka Design Tokens */
17313
-
17314
- .muka-alert {
17315
- display: flex;
17316
- align-items: flex-start;
17317
- border-radius: var(--alert-radius);
17318
- border: none;
17319
- gap: var(--alert-gap);
17320
- box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
17321
- }
17322
-
17323
- /* Size variants */
17324
- .muka-alert--sm {
17325
- padding: var(--alert-padding-sm-y) var(--alert-padding-sm-x);
17326
- }
17327
-
17328
- .muka-alert--md {
17329
- padding: var(--alert-padding-md-y) var(--alert-padding-md-x);
17294
+ .muka-alert--md {
17295
+ padding: var(--alert-padding-md-y) var(--alert-padding-md-x);
17330
17296
  }
17331
17297
 
17332
17298
  .muka-alert--lg {
@@ -17688,6 +17654,148 @@ button.muka-chat-photo-grid__tile:focus-visible {
17688
17654
  }
17689
17655
 
17690
17656
 
17657
+ /* ActionSheet */
17658
+ /* ActionSheet Component Styles */
17659
+
17660
+ .muka-action-sheet__inner {
17661
+ display: flex;
17662
+ flex-direction: column;
17663
+ padding: 0 var(--spacing-4) var(--spacing-3) var(--spacing-4);
17664
+ gap: var(--spacing-3);
17665
+ }
17666
+
17667
+ /* ─── Header ──────────────────────────────────────────── */
17668
+
17669
+ .muka-action-sheet__header {
17670
+ display: flex;
17671
+ flex-direction: column;
17672
+ align-items: center;
17673
+ gap: var(--spacing-1);
17674
+ padding: var(--spacing-2) 0 var(--spacing-3);
17675
+ text-align: center;
17676
+ }
17677
+
17678
+ .muka-action-sheet__title {
17679
+ margin: 0;
17680
+ color: var(--color-text-default-default);
17681
+ font-family: var(--text-label-md-semibold-fontFamily);
17682
+ font-weight: var(--text-label-md-semibold-fontWeight);
17683
+ font-size: var(--text-label-md-semibold-fontSize);
17684
+ line-height: var(--text-label-md-semibold-lineHeight);
17685
+ }
17686
+
17687
+ .muka-action-sheet__description {
17688
+ margin: 0;
17689
+ color: var(--color-text-subtle-default);
17690
+ font-family: var(--text-body-sm-regular-fontFamily);
17691
+ font-weight: var(--text-body-sm-regular-fontWeight);
17692
+ font-size: var(--text-body-sm-regular-fontSize);
17693
+ line-height: var(--text-body-sm-regular-lineHeight);
17694
+ }
17695
+
17696
+ /* ─── Actions group ───────────────────────────────────── */
17697
+
17698
+ .muka-action-sheet__actions {
17699
+ display: flex;
17700
+ flex-direction: column;
17701
+ background-color: var(--color-surface-level1);
17702
+ border-radius: var(--radius-md);
17703
+ overflow: hidden;
17704
+ }
17705
+
17706
+ .muka-action-sheet__item {
17707
+ display: flex;
17708
+ align-items: center;
17709
+ gap: var(--spacing-3);
17710
+ padding: var(--spacing-3) var(--spacing-4);
17711
+ background: none;
17712
+ border: none;
17713
+ cursor: pointer;
17714
+ text-align: left;
17715
+ color: var(--color-text-default-default);
17716
+ font-family: var(--text-body-base-regular-fontFamily);
17717
+ font-weight: var(--text-body-base-regular-fontWeight);
17718
+ font-size: var(--text-body-base-regular-fontSize);
17719
+ line-height: var(--text-body-base-regular-lineHeight);
17720
+ -webkit-tap-highlight-color: transparent;
17721
+ transition: background-color 0.12s ease;
17722
+ }
17723
+
17724
+ .muka-action-sheet__item + .muka-action-sheet__item {
17725
+ border-top: var(--border-width-regular) solid var(--color-border-default);
17726
+ }
17727
+
17728
+ .muka-action-sheet__item:hover:not(:disabled) {
17729
+ background-color: var(--color-surface-level2);
17730
+ }
17731
+
17732
+ .muka-action-sheet__item:active:not(:disabled) {
17733
+ background-color: var(--color-surface-level3);
17734
+ }
17735
+
17736
+ .muka-action-sheet__item:focus-visible {
17737
+ outline: 2px solid var(--color-action-default);
17738
+ outline-offset: -2px;
17739
+ }
17740
+
17741
+ .muka-action-sheet__item--destructive {
17742
+ color: var(--color-state-error-default);
17743
+ }
17744
+
17745
+ .muka-action-sheet__item--disabled,
17746
+ .muka-action-sheet__item:disabled {
17747
+ opacity: 0.5;
17748
+ cursor: not-allowed;
17749
+ }
17750
+
17751
+ .muka-action-sheet__item-icon {
17752
+ display: inline-flex;
17753
+ align-items: center;
17754
+ justify-content: center;
17755
+ width: 24px;
17756
+ height: 24px;
17757
+ flex-shrink: 0;
17758
+ }
17759
+
17760
+ .muka-action-sheet__item-icon svg {
17761
+ width: 100%;
17762
+ height: 100%;
17763
+ }
17764
+
17765
+ .muka-action-sheet__item-label {
17766
+ flex: 1;
17767
+ }
17768
+
17769
+ /* ─── Cancel button (separate at bottom) ──────────────── */
17770
+
17771
+ .muka-action-sheet__cancel {
17772
+ display: flex;
17773
+ align-items: center;
17774
+ justify-content: center;
17775
+ padding: var(--spacing-3) var(--spacing-4);
17776
+ background-color: var(--color-surface-level1);
17777
+ border: none;
17778
+ border-radius: var(--radius-md);
17779
+ cursor: pointer;
17780
+ color: var(--color-text-default-default);
17781
+ font-family: var(--text-label-md-semibold-fontFamily);
17782
+ font-weight: var(--text-label-md-semibold-fontWeight);
17783
+ font-size: var(--text-label-md-semibold-fontSize);
17784
+ line-height: var(--text-label-md-semibold-lineHeight);
17785
+ -webkit-tap-highlight-color: transparent;
17786
+ transition: background-color 0.12s ease;
17787
+ }
17788
+
17789
+ .muka-action-sheet__cancel:hover {
17790
+ background-color: var(--color-surface-level2);
17791
+ }
17792
+
17793
+ .muka-action-sheet__cancel:focus-visible {
17794
+ outline: 2px solid var(--color-action-default);
17795
+ outline-offset: 2px;
17796
+ }
17797
+
17798
+
17691
17799
  /* Accordion */
17692
17800
  /* Accordion Component Styles */
17693
17801
 
@@ -17819,144 +17927,110 @@ button.muka-chat-photo-grid__tile:focus-visible {
17819
17927
  }
17820
17928
 
17821
17929
 
17822
- /* ActionSheet */
17823
- /* ActionSheet Component Styles */
17930
+ /* SwipeActions */
17931
+ /* SwipeActions Component Styles */
17824
17932
 
17825
- .muka-action-sheet__inner {
17826
- display: flex;
17827
- flex-direction: column;
17828
- padding: 0 var(--spacing-4) var(--spacing-3) var(--spacing-4);
17829
- gap: var(--spacing-3);
17933
+ .muka-swipe-actions {
17934
+ position: relative;
17935
+ overflow: hidden;
17936
+ touch-action: pan-y;
17937
+ -webkit-user-select: none;
17938
+ user-select: none;
17939
+ background-color: var(--color-surface-level3);
17830
17940
  }
17831
17941
 
17832
- /* ─── Header ──────────────────────────────────────────── */
17942
+ .muka-swipe-actions--disabled {
17943
+ touch-action: auto;
17944
+ }
17833
17945
 
17834
- .muka-action-sheet__header {
17946
+ /* ─── Row that holds the actual content ────────────────── */
17947
+
17948
+ .muka-swipe-actions__row {
17949
+ position: relative;
17950
+ z-index: 1;
17951
+ background-color: inherit;
17952
+ will-change: transform;
17953
+ }
17954
+
17955
+ /* ─── Action panels — sit beneath the row ──────────────── */
17956
+
17957
+ .muka-swipe-actions__panel {
17958
+ position: absolute;
17959
+ top: 0;
17960
+ bottom: 0;
17835
17961
  display: flex;
17836
- flex-direction: column;
17837
- align-items: center;
17838
- gap: var(--spacing-1);
17839
- padding: var(--spacing-2) 0 var(--spacing-3);
17840
- text-align: center;
17962
+ align-items: stretch;
17963
+ z-index: 0;
17841
17964
  }
17842
17965
 
17843
- .muka-action-sheet__title {
17844
- margin: 0;
17845
- color: var(--color-text-default-default);
17846
- font-family: var(--text-label-md-semibold-fontFamily);
17847
- font-weight: var(--text-label-md-semibold-fontWeight);
17848
- font-size: var(--text-label-md-semibold-fontSize);
17849
- line-height: var(--text-label-md-semibold-lineHeight);
17966
+ .muka-swipe-actions__panel--left {
17967
+ left: 0;
17850
17968
  }
17851
17969
 
17852
- .muka-action-sheet__description {
17853
- margin: 0;
17854
- color: var(--color-text-subtle-default);
17855
- font-family: var(--text-body-sm-regular-fontFamily);
17856
- font-weight: var(--text-body-sm-regular-fontWeight);
17857
- font-size: var(--text-body-sm-regular-fontSize);
17858
- line-height: var(--text-body-sm-regular-lineHeight);
17970
+ .muka-swipe-actions__panel--right {
17971
+ right: 0;
17859
17972
  }
17860
17973
 
17861
- /* ─── Actions group ───────────────────────────────────── */
17974
+ /* ─── Single action button ─────────────────────────────── */
17862
17975
 
17863
- .muka-action-sheet__actions {
17976
+ .muka-swipe-actions__button {
17864
17977
  display: flex;
17865
17978
  flex-direction: column;
17866
- background-color: var(--color-surface-level1);
17867
- border-radius: var(--radius-md);
17868
- overflow: hidden;
17869
- }
17870
-
17871
- .muka-action-sheet__item {
17872
- display: flex;
17873
17979
  align-items: center;
17874
- gap: var(--spacing-3);
17875
- padding: var(--spacing-3) var(--spacing-4);
17876
- background: none;
17980
+ justify-content: center;
17981
+ gap: var(--spacing-1);
17877
17982
  border: none;
17878
17983
  cursor: pointer;
17879
- text-align: left;
17984
+ padding: var(--spacing-2);
17985
+ background-color: var(--color-surface-level2);
17880
17986
  color: var(--color-text-default-default);
17881
- font-family: var(--text-body-base-regular-fontFamily);
17882
- font-weight: var(--text-body-base-regular-fontWeight);
17883
- font-size: var(--text-body-base-regular-fontSize);
17884
- line-height: var(--text-body-base-regular-lineHeight);
17987
+ font-family: var(--text-label-sm-semibold-fontFamily);
17988
+ font-weight: var(--text-label-sm-semibold-fontWeight);
17989
+ font-size: var(--text-label-sm-semibold-fontSize);
17990
+ line-height: var(--text-label-sm-semibold-lineHeight);
17885
17991
  -webkit-tap-highlight-color: transparent;
17886
- transition: background-color 0.12s ease;
17887
- }
17888
-
17889
- .muka-action-sheet__item + .muka-action-sheet__item {
17890
- border-top: var(--border-width-regular) solid var(--color-border-default);
17891
- }
17892
-
17893
- .muka-action-sheet__item:hover:not(:disabled) {
17894
- background-color: var(--color-surface-level2);
17992
+ transition: filter 0.12s ease;
17895
17993
  }
17896
17994
 
17897
- .muka-action-sheet__item:active:not(:disabled) {
17898
- background-color: var(--color-surface-level3);
17995
+ .muka-swipe-actions__button:hover {
17996
+ filter: brightness(0.95);
17899
17997
  }
17900
17998
 
17901
- .muka-action-sheet__item:focus-visible {
17999
+ .muka-swipe-actions__button:focus-visible {
17902
18000
  outline: 2px solid var(--color-action-default);
17903
18001
  outline-offset: -2px;
17904
18002
  }
17905
18003
 
17906
- .muka-action-sheet__item--destructive {
17907
- color: var(--color-state-error-default);
17908
- }
17909
-
17910
- .muka-action-sheet__item--disabled,
17911
- .muka-action-sheet__item:disabled {
17912
- opacity: 0.5;
17913
- cursor: not-allowed;
17914
- }
17915
-
17916
- .muka-action-sheet__item-icon {
18004
+ .muka-swipe-actions__button-icon {
17917
18005
  display: inline-flex;
17918
18006
  align-items: center;
17919
18007
  justify-content: center;
17920
- width: 24px;
17921
- height: 24px;
17922
- flex-shrink: 0;
17923
18008
  }
17924
18009
 
17925
- .muka-action-sheet__item-icon svg {
17926
- width: 100%;
17927
- height: 100%;
17928
- }
18010
+ /* ─── Color variants ───────────────────────────────────── */
17929
18011
 
17930
- .muka-action-sheet__item-label {
17931
- flex: 1;
18012
+ .muka-swipe-actions__button--neutral {
18013
+ background-color: var(--color-surface-level2);
18014
+ color: var(--color-text-default-default);
17932
18015
  }
17933
18016
 
17934
- /* ─── Cancel button (separate at bottom) ──────────────── */
18017
+ .muka-swipe-actions__button--primary {
18018
+ background-color: var(--color-action-default);
18019
+ color: var(--color-text-default-inverse);
18020
+ }
17935
18021
 
17936
- .muka-action-sheet__cancel {
17937
- display: flex;
17938
- align-items: center;
17939
- justify-content: center;
17940
- padding: var(--spacing-3) var(--spacing-4);
17941
- background-color: var(--color-surface-level1);
17942
- border: none;
17943
- border-radius: var(--radius-md);
17944
- cursor: pointer;
17945
- color: var(--color-text-default-default);
17946
- font-family: var(--text-label-md-semibold-fontFamily);
17947
- font-weight: var(--text-label-md-semibold-fontWeight);
17948
- font-size: var(--text-label-md-semibold-fontSize);
17949
- line-height: var(--text-label-md-semibold-lineHeight);
17950
- -webkit-tap-highlight-color: transparent;
17951
- transition: background-color 0.12s ease;
18022
+ .muka-swipe-actions__button--success {
18023
+ background-color: var(--color-state-success-default);
18024
+ color: var(--color-text-default-inverse);
17952
18025
  }
17953
18026
 
17954
- .muka-action-sheet__cancel:hover {
17955
- background-color: var(--color-surface-level2);
18027
+ .muka-swipe-actions__button--warning {
18028
+ background-color: var(--color-state-warning-default);
18029
+ color: var(--color-text-default-default);
17956
18030
  }
17957
18031
 
17958
- .muka-action-sheet__cancel:focus-visible {
17959
- outline: 2px solid var(--color-action-default);
17960
- outline-offset: 2px;
18032
+ .muka-swipe-actions__button--destructive {
18033
+ background-color: var(--color-state-error-default);
18034
+ color: var(--color-text-default-inverse);
17961
18035
  }
17962
18036