@revikornmann/muka-ui 0.55.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.
Files changed (33) hide show
  1. package/dist/cjs/components/ListItem/ListItem.css +37 -0
  2. package/dist/cjs/components/ListItem/ListItem.js +2 -1
  3. package/dist/cjs/components/ListItem/ListItem.js.map +1 -1
  4. package/dist/cjs/components/Page/Page.css +22 -2
  5. package/dist/cjs/components/Page/Page.js +5 -2
  6. package/dist/cjs/components/Page/Page.js.map +1 -1
  7. package/dist/cjs/components/ProfileBadge/ProfileBadge.css +37 -0
  8. package/dist/cjs/components/ProfileBadge/ProfileBadge.js +7 -2
  9. package/dist/cjs/components/ProfileBadge/ProfileBadge.js.map +1 -1
  10. package/dist/esm/components/ListItem/ListItem.css +37 -0
  11. package/dist/esm/components/ListItem/ListItem.js +2 -1
  12. package/dist/esm/components/ListItem/ListItem.js.map +1 -1
  13. package/dist/esm/components/Page/Page.css +22 -2
  14. package/dist/esm/components/Page/Page.js +5 -2
  15. package/dist/esm/components/Page/Page.js.map +1 -1
  16. package/dist/esm/components/ProfileBadge/ProfileBadge.css +37 -0
  17. package/dist/esm/components/ProfileBadge/ProfileBadge.js +7 -2
  18. package/dist/esm/components/ProfileBadge/ProfileBadge.js.map +1 -1
  19. package/dist/styles/components/ListItem.css +37 -0
  20. package/dist/styles/components/Page.css +22 -2
  21. package/dist/styles/components/ProfileBadge.css +37 -0
  22. package/dist/styles/index.css +318 -224
  23. package/dist/styles/muka-dark.css +318 -224
  24. package/dist/styles/muka-light.css +318 -224
  25. package/dist/styles/wireframe-dark.css +318 -224
  26. package/dist/styles/wireframe-light.css +318 -224
  27. package/dist/types/components/ListItem/ListItem.d.ts +7 -0
  28. package/dist/types/components/ListItem/ListItem.d.ts.map +1 -1
  29. package/dist/types/components/Page/Page.d.ts +11 -0
  30. package/dist/types/components/Page/Page.d.ts.map +1 -1
  31. package/dist/types/components/ProfileBadge/ProfileBadge.d.ts +13 -1
  32. package/dist/types/components/ProfileBadge/ProfileBadge.d.ts.map +1 -1
  33. package/package.json +1 -1
@@ -2508,6 +2508,38 @@ body {
2508
2508
  }
2509
2509
 
2510
2510
 
2511
+ /* VoiceMessage */
2512
+ /* VoiceMessage Component Styles */
2513
+
2514
+ .muka-voice-message {
2515
+ display: flex;
2516
+ align-items: center;
2517
+ gap: var(--spacing-3);
2518
+ width: 100%;
2519
+ min-width: min(16rem, 60vw);
2520
+ }
2521
+
2522
+ .muka-voice-message__wave {
2523
+ flex: 1 1 auto;
2524
+ min-width: 0;
2525
+ }
2526
+
2527
+ .muka-voice-message__time {
2528
+ flex: 0 0 auto;
2529
+ white-space: nowrap;
2530
+ font-size: var(--text-label-sm-regular-fontSize);
2531
+ line-height: var(--text-label-sm-leading);
2532
+ font-variant-numeric: tabular-nums;
2533
+ color: var(--color-text-subtle-default);
2534
+ }
2535
+
2536
+ /* On the tinted own bubble the surface is the action color, so the timer flips
2537
+ * to the inverse text token for contrast. */
2538
+ .muka-voice-message--own .muka-voice-message__time {
2539
+ color: var(--color-text-default-inverse);
2540
+ }
2541
+
2542
+
2511
2543
  /* View */
2512
2544
  /* View Component Styles */
2513
2545
 
@@ -2722,38 +2754,6 @@ body {
2722
2754
  }
2723
2755
 
2724
2756
 
2725
- /* VoiceMessage */
2726
- /* VoiceMessage Component Styles */
2727
-
2728
- .muka-voice-message {
2729
- display: flex;
2730
- align-items: center;
2731
- gap: var(--spacing-3);
2732
- width: 100%;
2733
- min-width: min(16rem, 60vw);
2734
- }
2735
-
2736
- .muka-voice-message__wave {
2737
- flex: 1 1 auto;
2738
- min-width: 0;
2739
- }
2740
-
2741
- .muka-voice-message__time {
2742
- flex: 0 0 auto;
2743
- white-space: nowrap;
2744
- font-size: var(--text-label-sm-regular-fontSize);
2745
- line-height: var(--text-label-sm-leading);
2746
- font-variant-numeric: tabular-nums;
2747
- color: var(--color-text-subtle-default);
2748
- }
2749
-
2750
- /* On the tinted own bubble the surface is the action color, so the timer flips
2751
- * to the inverse text token for contrast. */
2752
- .muka-voice-message--own .muka-voice-message__time {
2753
- color: var(--color-text-default-inverse);
2754
- }
2755
-
2756
-
2757
2757
  /* TypingIndicator */
2758
2758
  /* TypingIndicator Component Styles */
2759
2759
 
@@ -4185,88 +4185,6 @@ body {
4185
4185
  }
4186
4186
 
4187
4187
 
4188
- /* TextLink */
4189
- /* TextLink Component Styles - Using Muka Design Tokens */
4190
-
4191
- .muka-text-link {
4192
- display: inline;
4193
- cursor: pointer;
4194
- text-decoration: underline;
4195
- /* Nudge the rule clear of descenders; the Figma underline sits off baseline. */
4196
- text-underline-offset: 0.2em;
4197
- text-decoration-thickness: from-font;
4198
- /* Rounds the focus ring's corners; the link itself has no visible box. */
4199
- border-radius: var(--border-radius-sm);
4200
- transition: color var(--motion-duration-micro, 0.15s) var(--motion-easing-enter, ease);
4201
- }
4202
-
4203
- /* ─── Sizes ───────────────────────────────────────────────
4204
- Mirrors the body text scale so a link matches the copy it sits in. */
4205
- .muka-text-link--sm {
4206
- font-family: var(--text-body-sm-regular-fontFamily);
4207
- font-weight: var(--text-body-sm-regular-fontWeight);
4208
- font-size: var(--text-body-sm-regular-fontSize);
4209
- line-height: var(--text-body-sm-regular-lineHeight);
4210
- }
4211
-
4212
- .muka-text-link--base {
4213
- font-family: var(--text-body-base-regular-fontFamily);
4214
- font-weight: var(--text-body-base-regular-fontWeight);
4215
- font-size: var(--text-body-base-regular-fontSize);
4216
- line-height: var(--text-body-base-regular-lineHeight);
4217
- }
4218
-
4219
- .muka-text-link--lg {
4220
- font-family: var(--text-body-lg-regular-fontFamily);
4221
- font-weight: var(--text-body-lg-regular-fontWeight);
4222
- font-size: var(--text-body-lg-regular-fontSize);
4223
- line-height: var(--text-body-lg-regular-lineHeight);
4224
- }
4225
-
4226
- /* ─── Variant: default (accent) ───────────────────────────
4227
- Visited repeats the default colour on purpose: the design treats visited and
4228
- default the same, and pinning it stops the browser's purple from showing. */
4229
- .muka-text-link--default,
4230
- .muka-text-link--default:visited {
4231
- color: var(--color-text-action-default);
4232
- }
4233
-
4234
- .muka-text-link--default:hover,
4235
- .muka-text-link--default:focus-visible {
4236
- color: var(--color-text-action-hover);
4237
- }
4238
-
4239
- .muka-text-link--default:active {
4240
- color: var(--color-text-action-pressed);
4241
- }
4242
-
4243
- /* ─── Variant: subtle (neutral) ───────────────────────────
4244
- Hover, focus and pressed all darken to the default text colour. */
4245
- .muka-text-link--subtle,
4246
- .muka-text-link--subtle:visited {
4247
- color: var(--color-text-subtle-default);
4248
- }
4249
-
4250
- .muka-text-link--subtle:hover,
4251
- .muka-text-link--subtle:focus-visible,
4252
- .muka-text-link--subtle:active {
4253
- color: var(--color-text-default-default);
4254
- }
4255
-
4256
- /* ─── Focus ───────────────────────────────────────────────
4257
- Same ring as every other focusable Muka component. */
4258
- .muka-text-link:focus-visible {
4259
- outline: 2px solid var(--color-border-focus);
4260
- outline-offset: 2px;
4261
- }
4262
-
4263
- @media (prefers-reduced-motion: reduce) {
4264
- .muka-text-link {
4265
- transition: none;
4266
- }
4267
- }
4268
-
4269
-
4270
4188
  /* Textarea */
4271
4189
  /* Textarea Component Styles - Using Muka Design Tokens */
4272
4190
 
@@ -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,114 +5025,6 @@ body {
5025
5025
  }
5026
5026
 
5027
5027
 
5028
- /* SwipeActions */
5029
- /* SwipeActions Component Styles */
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);
5038
- }
5039
-
5040
- .muka-swipe-actions--disabled {
5041
- touch-action: auto;
5042
- }
5043
-
5044
- /* ─── Row that holds the actual content ────────────────── */
5045
-
5046
- .muka-swipe-actions__row {
5047
- position: relative;
5048
- z-index: 1;
5049
- background-color: inherit;
5050
- will-change: transform;
5051
- }
5052
-
5053
- /* ─── Action panels — sit beneath the row ──────────────── */
5054
-
5055
- .muka-swipe-actions__panel {
5056
- position: absolute;
5057
- top: 0;
5058
- bottom: 0;
5059
- display: flex;
5060
- align-items: stretch;
5061
- z-index: 0;
5062
- }
5063
-
5064
- .muka-swipe-actions__panel--left {
5065
- left: 0;
5066
- }
5067
-
5068
- .muka-swipe-actions__panel--right {
5069
- right: 0;
5070
- }
5071
-
5072
- /* ─── Single action button ─────────────────────────────── */
5073
-
5074
- .muka-swipe-actions__button {
5075
- display: flex;
5076
- flex-direction: column;
5077
- align-items: center;
5078
- justify-content: center;
5079
- gap: var(--spacing-1);
5080
- border: none;
5081
- cursor: pointer;
5082
- padding: var(--spacing-2);
5083
- background-color: var(--color-surface-level2);
5084
- color: var(--color-text-default-default);
5085
- font-family: var(--text-label-sm-semibold-fontFamily);
5086
- font-weight: var(--text-label-sm-semibold-fontWeight);
5087
- font-size: var(--text-label-sm-semibold-fontSize);
5088
- line-height: var(--text-label-sm-semibold-lineHeight);
5089
- -webkit-tap-highlight-color: transparent;
5090
- transition: filter 0.12s ease;
5091
- }
5092
-
5093
- .muka-swipe-actions__button:hover {
5094
- filter: brightness(0.95);
5095
- }
5096
-
5097
- .muka-swipe-actions__button:focus-visible {
5098
- outline: 2px solid var(--color-action-default);
5099
- outline-offset: -2px;
5100
- }
5101
-
5102
- .muka-swipe-actions__button-icon {
5103
- display: inline-flex;
5104
- align-items: center;
5105
- justify-content: center;
5106
- }
5107
-
5108
- /* ─── Color variants ───────────────────────────────────── */
5109
-
5110
- .muka-swipe-actions__button--neutral {
5111
- background-color: var(--color-surface-level2);
5112
- color: var(--color-text-default-default);
5113
- }
5114
-
5115
- .muka-swipe-actions__button--primary {
5116
- background-color: var(--color-action-default);
5117
- color: var(--color-text-default-inverse);
5118
- }
5119
-
5120
- .muka-swipe-actions__button--success {
5121
- background-color: var(--color-state-success-default);
5122
- color: var(--color-text-default-inverse);
5123
- }
5124
-
5125
- .muka-swipe-actions__button--warning {
5126
- background-color: var(--color-state-warning-default);
5127
- color: var(--color-text-default-default);
5128
- }
5129
-
5130
- .muka-swipe-actions__button--destructive {
5131
- background-color: var(--color-state-error-default);
5132
- color: var(--color-text-default-inverse);
5133
- }
5134
-
5135
-
5136
5028
  /* Spinner */
5137
5029
  /* Spinner Component Styles */
5138
5030
 
@@ -8215,6 +8107,10 @@ button.muka-progress-tracker__tab:focus-visible {
8215
8107
  gap: var(--spacing-3); /* 12px */
8216
8108
  }
8217
8109
 
8110
+ .muka-profile-badge--sm {
8111
+ gap: var(--spacing-2); /* 8px */
8112
+ }
8113
+
8218
8114
  .muka-profile-badge__avatar {
8219
8115
  flex-shrink: 0;
8220
8116
  }
@@ -8267,6 +8163,39 @@ button.muka-progress-tracker__tab:focus-visible {
8267
8163
  outline-offset: 2px;
8268
8164
  }
8269
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
+
8270
8199
 
8271
8200
  /* PriceTag */
8272
8201
  /* PriceTag Component Styles - Using Muka Design Tokens */
@@ -9192,8 +9121,28 @@ button.muka-progress-tracker__tab:focus-visible {
9192
9121
  background-color: var(--color-surface-level3);
9193
9122
  }
9194
9123
 
9195
- /* Without a footer, the content is last and clears the home indicator. */
9196
- .muka-page:not(:has(> .muka-page__footer)) > .muka-page__main {
9124
+ /*
9125
+ * Actions stick to the bottom edge while the document scrolls, and come to
9126
+ * rest after the content (above a footer). A BottomBar inside clears the home
9127
+ * indicator; this wrapper clears a landscape notch.
9128
+ */
9129
+ .muka-page__actions {
9130
+ position: sticky;
9131
+ bottom: 0;
9132
+ z-index: 10;
9133
+ flex-shrink: 0;
9134
+ padding-left: env(safe-area-inset-left, 0px);
9135
+ padding-right: env(safe-area-inset-right, 0px);
9136
+ background-color: var(--muka-page-background);
9137
+ }
9138
+
9139
+ /* With a footer, the footer clears the home indicator, not the bar above it. */
9140
+ .muka-page:has(> .muka-page__footer) > .muka-page__actions .muka-bottombar {
9141
+ padding-bottom: 0;
9142
+ }
9143
+
9144
+ /* Without a footer or actions, the content is last and clears the home indicator. */
9145
+ .muka-page:not(:has(> .muka-page__footer)):not(:has(> .muka-page__actions)) > .muka-page__main {
9197
9146
  padding-bottom: env(safe-area-inset-bottom, 0px);
9198
9147
  }
9199
9148
 
@@ -10221,6 +10170,43 @@ li.muka-listitem {
10221
10170
  display: none;
10222
10171
  }
10223
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
+
10224
10210
 
10225
10211
  /* LicensePlateInput */
10226
10212
  /* LicensePlateInput — Dutch RDW-style plate input
@@ -17940,3 +17926,111 @@ button.muka-chat-photo-grid__tile:focus-visible {
17940
17926
  border-bottom: none;
17941
17927
  }
17942
17928
 
17929
+
17930
+ /* SwipeActions */
17931
+ /* SwipeActions Component Styles */
17932
+
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);
17940
+ }
17941
+
17942
+ .muka-swipe-actions--disabled {
17943
+ touch-action: auto;
17944
+ }
17945
+
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;
17961
+ display: flex;
17962
+ align-items: stretch;
17963
+ z-index: 0;
17964
+ }
17965
+
17966
+ .muka-swipe-actions__panel--left {
17967
+ left: 0;
17968
+ }
17969
+
17970
+ .muka-swipe-actions__panel--right {
17971
+ right: 0;
17972
+ }
17973
+
17974
+ /* ─── Single action button ─────────────────────────────── */
17975
+
17976
+ .muka-swipe-actions__button {
17977
+ display: flex;
17978
+ flex-direction: column;
17979
+ align-items: center;
17980
+ justify-content: center;
17981
+ gap: var(--spacing-1);
17982
+ border: none;
17983
+ cursor: pointer;
17984
+ padding: var(--spacing-2);
17985
+ background-color: var(--color-surface-level2);
17986
+ color: var(--color-text-default-default);
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);
17991
+ -webkit-tap-highlight-color: transparent;
17992
+ transition: filter 0.12s ease;
17993
+ }
17994
+
17995
+ .muka-swipe-actions__button:hover {
17996
+ filter: brightness(0.95);
17997
+ }
17998
+
17999
+ .muka-swipe-actions__button:focus-visible {
18000
+ outline: 2px solid var(--color-action-default);
18001
+ outline-offset: -2px;
18002
+ }
18003
+
18004
+ .muka-swipe-actions__button-icon {
18005
+ display: inline-flex;
18006
+ align-items: center;
18007
+ justify-content: center;
18008
+ }
18009
+
18010
+ /* ─── Color variants ───────────────────────────────────── */
18011
+
18012
+ .muka-swipe-actions__button--neutral {
18013
+ background-color: var(--color-surface-level2);
18014
+ color: var(--color-text-default-default);
18015
+ }
18016
+
18017
+ .muka-swipe-actions__button--primary {
18018
+ background-color: var(--color-action-default);
18019
+ color: var(--color-text-default-inverse);
18020
+ }
18021
+
18022
+ .muka-swipe-actions__button--success {
18023
+ background-color: var(--color-state-success-default);
18024
+ color: var(--color-text-default-inverse);
18025
+ }
18026
+
18027
+ .muka-swipe-actions__button--warning {
18028
+ background-color: var(--color-state-warning-default);
18029
+ color: var(--color-text-default-default);
18030
+ }
18031
+
18032
+ .muka-swipe-actions__button--destructive {
18033
+ background-color: var(--color-state-error-default);
18034
+ color: var(--color-text-default-inverse);
18035
+ }
18036
+