@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
@@ -2573,6 +2573,38 @@ body {
2573
2573
  }
2574
2574
 
2575
2575
 
2576
+ /* VoiceMessage */
2577
+ /* VoiceMessage Component Styles */
2578
+
2579
+ .muka-voice-message {
2580
+ display: flex;
2581
+ align-items: center;
2582
+ gap: var(--spacing-3);
2583
+ width: 100%;
2584
+ min-width: min(16rem, 60vw);
2585
+ }
2586
+
2587
+ .muka-voice-message__wave {
2588
+ flex: 1 1 auto;
2589
+ min-width: 0;
2590
+ }
2591
+
2592
+ .muka-voice-message__time {
2593
+ flex: 0 0 auto;
2594
+ white-space: nowrap;
2595
+ font-size: var(--text-label-sm-regular-fontSize);
2596
+ line-height: var(--text-label-sm-leading);
2597
+ font-variant-numeric: tabular-nums;
2598
+ color: var(--color-text-subtle-default);
2599
+ }
2600
+
2601
+ /* On the tinted own bubble the surface is the action color, so the timer flips
2602
+ * to the inverse text token for contrast. */
2603
+ .muka-voice-message--own .muka-voice-message__time {
2604
+ color: var(--color-text-default-inverse);
2605
+ }
2606
+
2607
+
2576
2608
  /* View */
2577
2609
  /* View Component Styles */
2578
2610
 
@@ -2787,38 +2819,6 @@ body {
2787
2819
  }
2788
2820
 
2789
2821
 
2790
- /* VoiceMessage */
2791
- /* VoiceMessage Component Styles */
2792
-
2793
- .muka-voice-message {
2794
- display: flex;
2795
- align-items: center;
2796
- gap: var(--spacing-3);
2797
- width: 100%;
2798
- min-width: min(16rem, 60vw);
2799
- }
2800
-
2801
- .muka-voice-message__wave {
2802
- flex: 1 1 auto;
2803
- min-width: 0;
2804
- }
2805
-
2806
- .muka-voice-message__time {
2807
- flex: 0 0 auto;
2808
- white-space: nowrap;
2809
- font-size: var(--text-label-sm-regular-fontSize);
2810
- line-height: var(--text-label-sm-leading);
2811
- font-variant-numeric: tabular-nums;
2812
- color: var(--color-text-subtle-default);
2813
- }
2814
-
2815
- /* On the tinted own bubble the surface is the action color, so the timer flips
2816
- * to the inverse text token for contrast. */
2817
- .muka-voice-message--own .muka-voice-message__time {
2818
- color: var(--color-text-default-inverse);
2819
- }
2820
-
2821
-
2822
2822
  /* TypingIndicator */
2823
2823
  /* TypingIndicator Component Styles */
2824
2824
 
@@ -4250,88 +4250,6 @@ body {
4250
4250
  }
4251
4251
 
4252
4252
 
4253
- /* TextLink */
4254
- /* TextLink Component Styles - Using Muka Design Tokens */
4255
-
4256
- .muka-text-link {
4257
- display: inline;
4258
- cursor: pointer;
4259
- text-decoration: underline;
4260
- /* Nudge the rule clear of descenders; the Figma underline sits off baseline. */
4261
- text-underline-offset: 0.2em;
4262
- text-decoration-thickness: from-font;
4263
- /* Rounds the focus ring's corners; the link itself has no visible box. */
4264
- border-radius: var(--border-radius-sm);
4265
- transition: color var(--motion-duration-micro, 0.15s) var(--motion-easing-enter, ease);
4266
- }
4267
-
4268
- /* ─── Sizes ───────────────────────────────────────────────
4269
- Mirrors the body text scale so a link matches the copy it sits in. */
4270
- .muka-text-link--sm {
4271
- font-family: var(--text-body-sm-regular-fontFamily);
4272
- font-weight: var(--text-body-sm-regular-fontWeight);
4273
- font-size: var(--text-body-sm-regular-fontSize);
4274
- line-height: var(--text-body-sm-regular-lineHeight);
4275
- }
4276
-
4277
- .muka-text-link--base {
4278
- font-family: var(--text-body-base-regular-fontFamily);
4279
- font-weight: var(--text-body-base-regular-fontWeight);
4280
- font-size: var(--text-body-base-regular-fontSize);
4281
- line-height: var(--text-body-base-regular-lineHeight);
4282
- }
4283
-
4284
- .muka-text-link--lg {
4285
- font-family: var(--text-body-lg-regular-fontFamily);
4286
- font-weight: var(--text-body-lg-regular-fontWeight);
4287
- font-size: var(--text-body-lg-regular-fontSize);
4288
- line-height: var(--text-body-lg-regular-lineHeight);
4289
- }
4290
-
4291
- /* ─── Variant: default (accent) ───────────────────────────
4292
- Visited repeats the default colour on purpose: the design treats visited and
4293
- default the same, and pinning it stops the browser's purple from showing. */
4294
- .muka-text-link--default,
4295
- .muka-text-link--default:visited {
4296
- color: var(--color-text-action-default);
4297
- }
4298
-
4299
- .muka-text-link--default:hover,
4300
- .muka-text-link--default:focus-visible {
4301
- color: var(--color-text-action-hover);
4302
- }
4303
-
4304
- .muka-text-link--default:active {
4305
- color: var(--color-text-action-pressed);
4306
- }
4307
-
4308
- /* ─── Variant: subtle (neutral) ───────────────────────────
4309
- Hover, focus and pressed all darken to the default text colour. */
4310
- .muka-text-link--subtle,
4311
- .muka-text-link--subtle:visited {
4312
- color: var(--color-text-subtle-default);
4313
- }
4314
-
4315
- .muka-text-link--subtle:hover,
4316
- .muka-text-link--subtle:focus-visible,
4317
- .muka-text-link--subtle:active {
4318
- color: var(--color-text-default-default);
4319
- }
4320
-
4321
- /* ─── Focus ───────────────────────────────────────────────
4322
- Same ring as every other focusable Muka component. */
4323
- .muka-text-link:focus-visible {
4324
- outline: 2px solid var(--color-border-focus);
4325
- outline-offset: 2px;
4326
- }
4327
-
4328
- @media (prefers-reduced-motion: reduce) {
4329
- .muka-text-link {
4330
- transition: none;
4331
- }
4332
- }
4333
-
4334
-
4335
4253
  /* Textarea */
4336
4254
  /* Textarea Component Styles - Using Muka Design Tokens */
4337
4255
 
@@ -4686,6 +4604,88 @@ body {
4686
4604
  }
4687
4605
 
4688
4606
 
4607
+ /* TextLink */
4608
+ /* TextLink Component Styles - Using Muka Design Tokens */
4609
+
4610
+ .muka-text-link {
4611
+ display: inline;
4612
+ cursor: pointer;
4613
+ text-decoration: underline;
4614
+ /* Nudge the rule clear of descenders; the Figma underline sits off baseline. */
4615
+ text-underline-offset: 0.2em;
4616
+ text-decoration-thickness: from-font;
4617
+ /* Rounds the focus ring's corners; the link itself has no visible box. */
4618
+ border-radius: var(--border-radius-sm);
4619
+ transition: color var(--motion-duration-micro, 0.15s) var(--motion-easing-enter, ease);
4620
+ }
4621
+
4622
+ /* ─── Sizes ───────────────────────────────────────────────
4623
+ Mirrors the body text scale so a link matches the copy it sits in. */
4624
+ .muka-text-link--sm {
4625
+ font-family: var(--text-body-sm-regular-fontFamily);
4626
+ font-weight: var(--text-body-sm-regular-fontWeight);
4627
+ font-size: var(--text-body-sm-regular-fontSize);
4628
+ line-height: var(--text-body-sm-regular-lineHeight);
4629
+ }
4630
+
4631
+ .muka-text-link--base {
4632
+ font-family: var(--text-body-base-regular-fontFamily);
4633
+ font-weight: var(--text-body-base-regular-fontWeight);
4634
+ font-size: var(--text-body-base-regular-fontSize);
4635
+ line-height: var(--text-body-base-regular-lineHeight);
4636
+ }
4637
+
4638
+ .muka-text-link--lg {
4639
+ font-family: var(--text-body-lg-regular-fontFamily);
4640
+ font-weight: var(--text-body-lg-regular-fontWeight);
4641
+ font-size: var(--text-body-lg-regular-fontSize);
4642
+ line-height: var(--text-body-lg-regular-lineHeight);
4643
+ }
4644
+
4645
+ /* ─── Variant: default (accent) ───────────────────────────
4646
+ Visited repeats the default colour on purpose: the design treats visited and
4647
+ default the same, and pinning it stops the browser's purple from showing. */
4648
+ .muka-text-link--default,
4649
+ .muka-text-link--default:visited {
4650
+ color: var(--color-text-action-default);
4651
+ }
4652
+
4653
+ .muka-text-link--default:hover,
4654
+ .muka-text-link--default:focus-visible {
4655
+ color: var(--color-text-action-hover);
4656
+ }
4657
+
4658
+ .muka-text-link--default:active {
4659
+ color: var(--color-text-action-pressed);
4660
+ }
4661
+
4662
+ /* ─── Variant: subtle (neutral) ───────────────────────────
4663
+ Hover, focus and pressed all darken to the default text colour. */
4664
+ .muka-text-link--subtle,
4665
+ .muka-text-link--subtle:visited {
4666
+ color: var(--color-text-subtle-default);
4667
+ }
4668
+
4669
+ .muka-text-link--subtle:hover,
4670
+ .muka-text-link--subtle:focus-visible,
4671
+ .muka-text-link--subtle:active {
4672
+ color: var(--color-text-default-default);
4673
+ }
4674
+
4675
+ /* ─── Focus ───────────────────────────────────────────────
4676
+ Same ring as every other focusable Muka component. */
4677
+ .muka-text-link:focus-visible {
4678
+ outline: 2px solid var(--color-border-focus);
4679
+ outline-offset: 2px;
4680
+ }
4681
+
4682
+ @media (prefers-reduced-motion: reduce) {
4683
+ .muka-text-link {
4684
+ transition: none;
4685
+ }
4686
+ }
4687
+
4688
+
4689
4689
  /* TablePagination */
4690
4690
  /* TablePagination Component Styles - Using Muka Design Tokens */
4691
4691
 
@@ -5090,114 +5090,6 @@ body {
5090
5090
  }
5091
5091
 
5092
5092
 
5093
- /* SwipeActions */
5094
- /* SwipeActions Component Styles */
5095
-
5096
- .muka-swipe-actions {
5097
- position: relative;
5098
- overflow: hidden;
5099
- touch-action: pan-y;
5100
- -webkit-user-select: none;
5101
- user-select: none;
5102
- background-color: var(--color-surface-level3);
5103
- }
5104
-
5105
- .muka-swipe-actions--disabled {
5106
- touch-action: auto;
5107
- }
5108
-
5109
- /* ─── Row that holds the actual content ────────────────── */
5110
-
5111
- .muka-swipe-actions__row {
5112
- position: relative;
5113
- z-index: 1;
5114
- background-color: inherit;
5115
- will-change: transform;
5116
- }
5117
-
5118
- /* ─── Action panels — sit beneath the row ──────────────── */
5119
-
5120
- .muka-swipe-actions__panel {
5121
- position: absolute;
5122
- top: 0;
5123
- bottom: 0;
5124
- display: flex;
5125
- align-items: stretch;
5126
- z-index: 0;
5127
- }
5128
-
5129
- .muka-swipe-actions__panel--left {
5130
- left: 0;
5131
- }
5132
-
5133
- .muka-swipe-actions__panel--right {
5134
- right: 0;
5135
- }
5136
-
5137
- /* ─── Single action button ─────────────────────────────── */
5138
-
5139
- .muka-swipe-actions__button {
5140
- display: flex;
5141
- flex-direction: column;
5142
- align-items: center;
5143
- justify-content: center;
5144
- gap: var(--spacing-1);
5145
- border: none;
5146
- cursor: pointer;
5147
- padding: var(--spacing-2);
5148
- background-color: var(--color-surface-level2);
5149
- color: var(--color-text-default-default);
5150
- font-family: var(--text-label-sm-semibold-fontFamily);
5151
- font-weight: var(--text-label-sm-semibold-fontWeight);
5152
- font-size: var(--text-label-sm-semibold-fontSize);
5153
- line-height: var(--text-label-sm-semibold-lineHeight);
5154
- -webkit-tap-highlight-color: transparent;
5155
- transition: filter 0.12s ease;
5156
- }
5157
-
5158
- .muka-swipe-actions__button:hover {
5159
- filter: brightness(0.95);
5160
- }
5161
-
5162
- .muka-swipe-actions__button:focus-visible {
5163
- outline: 2px solid var(--color-action-default);
5164
- outline-offset: -2px;
5165
- }
5166
-
5167
- .muka-swipe-actions__button-icon {
5168
- display: inline-flex;
5169
- align-items: center;
5170
- justify-content: center;
5171
- }
5172
-
5173
- /* ─── Color variants ───────────────────────────────────── */
5174
-
5175
- .muka-swipe-actions__button--neutral {
5176
- background-color: var(--color-surface-level2);
5177
- color: var(--color-text-default-default);
5178
- }
5179
-
5180
- .muka-swipe-actions__button--primary {
5181
- background-color: var(--color-action-default);
5182
- color: var(--color-text-default-inverse);
5183
- }
5184
-
5185
- .muka-swipe-actions__button--success {
5186
- background-color: var(--color-state-success-default);
5187
- color: var(--color-text-default-inverse);
5188
- }
5189
-
5190
- .muka-swipe-actions__button--warning {
5191
- background-color: var(--color-state-warning-default);
5192
- color: var(--color-text-default-default);
5193
- }
5194
-
5195
- .muka-swipe-actions__button--destructive {
5196
- background-color: var(--color-state-error-default);
5197
- color: var(--color-text-default-inverse);
5198
- }
5199
-
5200
-
5201
5093
  /* Spinner */
5202
5094
  /* Spinner Component Styles */
5203
5095
 
@@ -8280,6 +8172,10 @@ button.muka-progress-tracker__tab:focus-visible {
8280
8172
  gap: var(--spacing-3); /* 12px */
8281
8173
  }
8282
8174
 
8175
+ .muka-profile-badge--sm {
8176
+ gap: var(--spacing-2); /* 8px */
8177
+ }
8178
+
8283
8179
  .muka-profile-badge__avatar {
8284
8180
  flex-shrink: 0;
8285
8181
  }
@@ -8332,6 +8228,39 @@ button.muka-progress-tracker__tab:focus-visible {
8332
8228
  outline-offset: 2px;
8333
8229
  }
8334
8230
 
8231
+ /* Trailing chevron: the badge opens a menu */
8232
+ .muka-profile-badge__chevron {
8233
+ flex-shrink: 0;
8234
+ }
8235
+
8236
+ /*
8237
+ * A clickable badge with a chevron is a pill (Figma Profile Badge, Bouwplan
8238
+ * header): 4px inset on the avatar side, 12px after the chevron. The border
8239
+ * is an inset shadow so it appears on hover and while the menu is open
8240
+ * without moving the content.
8241
+ */
8242
+ .muka-profile-badge--clickable.muka-profile-badge--with-chevron {
8243
+ padding: var(--spacing-1) var(--spacing-3) var(--spacing-1) var(--spacing-1);
8244
+ border-radius: var(--radius-full);
8245
+ transition: box-shadow 0.2s ease;
8246
+ }
8247
+
8248
+ .muka-profile-badge--clickable.muka-profile-badge--with-chevron:hover,
8249
+ .muka-profile-badge--clickable.muka-profile-badge--with-chevron:active {
8250
+ opacity: 1;
8251
+ }
8252
+
8253
+ .muka-profile-badge--clickable.muka-profile-badge--with-chevron:hover,
8254
+ .muka-profile-badge--clickable.muka-profile-badge--with-chevron[aria-expanded='true'],
8255
+ .muka-profile-badge--clickable.muka-profile-badge--with-chevron[data-state='open'] {
8256
+ box-shadow: inset 0 0 0 var(--border-width-regular) var(--button-color-ghost-border-hover);
8257
+ }
8258
+
8259
+ /* A badge without an avatar keeps the 12px start inset */
8260
+ .muka-profile-badge--clickable.muka-profile-badge--with-chevron:not(:has(.muka-profile-badge__avatar)) {
8261
+ padding-left: var(--spacing-3);
8262
+ }
8263
+
8335
8264
 
8336
8265
  /* PriceTag */
8337
8266
  /* PriceTag Component Styles - Using Muka Design Tokens */
@@ -9257,8 +9186,28 @@ button.muka-progress-tracker__tab:focus-visible {
9257
9186
  background-color: var(--color-surface-level3);
9258
9187
  }
9259
9188
 
9260
- /* Without a footer, the content is last and clears the home indicator. */
9261
- .muka-page:not(:has(> .muka-page__footer)) > .muka-page__main {
9189
+ /*
9190
+ * Actions stick to the bottom edge while the document scrolls, and come to
9191
+ * rest after the content (above a footer). A BottomBar inside clears the home
9192
+ * indicator; this wrapper clears a landscape notch.
9193
+ */
9194
+ .muka-page__actions {
9195
+ position: sticky;
9196
+ bottom: 0;
9197
+ z-index: 10;
9198
+ flex-shrink: 0;
9199
+ padding-left: env(safe-area-inset-left, 0px);
9200
+ padding-right: env(safe-area-inset-right, 0px);
9201
+ background-color: var(--muka-page-background);
9202
+ }
9203
+
9204
+ /* With a footer, the footer clears the home indicator, not the bar above it. */
9205
+ .muka-page:has(> .muka-page__footer) > .muka-page__actions .muka-bottombar {
9206
+ padding-bottom: 0;
9207
+ }
9208
+
9209
+ /* Without a footer or actions, the content is last and clears the home indicator. */
9210
+ .muka-page:not(:has(> .muka-page__footer)):not(:has(> .muka-page__actions)) > .muka-page__main {
9262
9211
  padding-bottom: env(safe-area-inset-bottom, 0px);
9263
9212
  }
9264
9213
 
@@ -10286,6 +10235,43 @@ li.muka-listitem {
10286
10235
  display: none;
10287
10236
  }
10288
10237
 
10238
+ /* ─── Compact padding ──────────────────────────────────── */
10239
+
10240
+ /*
10241
+ * Figma ListItem × Padding=Compact: an 8px inset, 12px between leading and
10242
+ * label, a 32px leading slot (a 20px icon centred, or a 32px avatar) and a
10243
+ * regular-weight label. Used in menus and short navigation lists.
10244
+ */
10245
+ .muka-listitem--compact {
10246
+ align-items: center;
10247
+ gap: var(--spacing-3);
10248
+ padding: var(--spacing-2);
10249
+ }
10250
+
10251
+ .muka-listitem--compact .muka-listitem__leading {
10252
+ width: var(--size-2xl);
10253
+ height: var(--size-2xl);
10254
+ }
10255
+
10256
+ .muka-listitem--compact .muka-listitem__icon {
10257
+ width: var(--size-2xl);
10258
+ height: var(--size-2xl);
10259
+ }
10260
+
10261
+ .muka-listitem--compact .muka-listitem__image {
10262
+ width: var(--size-2xl);
10263
+ height: var(--size-2xl);
10264
+ border-radius: var(--radius-sm);
10265
+ }
10266
+
10267
+ .muka-listitem--compact .muka-listitem__label {
10268
+ font-weight: var(--text-label-md-regular-fontWeight);
10269
+ }
10270
+
10271
+ .muka-listitem--compact .muka-listitem__content {
10272
+ gap: var(--spacing-3);
10273
+ }
10274
+
10289
10275
 
10290
10276
  /* LicensePlateInput */
10291
10277
  /* LicensePlateInput — Dutch RDW-style plate input
@@ -18005,3 +17991,111 @@ button.muka-chat-photo-grid__tile:focus-visible {
18005
17991
  border-bottom: none;
18006
17992
  }
18007
17993
 
17994
+
17995
+ /* SwipeActions */
17996
+ /* SwipeActions Component Styles */
17997
+
17998
+ .muka-swipe-actions {
17999
+ position: relative;
18000
+ overflow: hidden;
18001
+ touch-action: pan-y;
18002
+ -webkit-user-select: none;
18003
+ user-select: none;
18004
+ background-color: var(--color-surface-level3);
18005
+ }
18006
+
18007
+ .muka-swipe-actions--disabled {
18008
+ touch-action: auto;
18009
+ }
18010
+
18011
+ /* ─── Row that holds the actual content ────────────────── */
18012
+
18013
+ .muka-swipe-actions__row {
18014
+ position: relative;
18015
+ z-index: 1;
18016
+ background-color: inherit;
18017
+ will-change: transform;
18018
+ }
18019
+
18020
+ /* ─── Action panels — sit beneath the row ──────────────── */
18021
+
18022
+ .muka-swipe-actions__panel {
18023
+ position: absolute;
18024
+ top: 0;
18025
+ bottom: 0;
18026
+ display: flex;
18027
+ align-items: stretch;
18028
+ z-index: 0;
18029
+ }
18030
+
18031
+ .muka-swipe-actions__panel--left {
18032
+ left: 0;
18033
+ }
18034
+
18035
+ .muka-swipe-actions__panel--right {
18036
+ right: 0;
18037
+ }
18038
+
18039
+ /* ─── Single action button ─────────────────────────────── */
18040
+
18041
+ .muka-swipe-actions__button {
18042
+ display: flex;
18043
+ flex-direction: column;
18044
+ align-items: center;
18045
+ justify-content: center;
18046
+ gap: var(--spacing-1);
18047
+ border: none;
18048
+ cursor: pointer;
18049
+ padding: var(--spacing-2);
18050
+ background-color: var(--color-surface-level2);
18051
+ color: var(--color-text-default-default);
18052
+ font-family: var(--text-label-sm-semibold-fontFamily);
18053
+ font-weight: var(--text-label-sm-semibold-fontWeight);
18054
+ font-size: var(--text-label-sm-semibold-fontSize);
18055
+ line-height: var(--text-label-sm-semibold-lineHeight);
18056
+ -webkit-tap-highlight-color: transparent;
18057
+ transition: filter 0.12s ease;
18058
+ }
18059
+
18060
+ .muka-swipe-actions__button:hover {
18061
+ filter: brightness(0.95);
18062
+ }
18063
+
18064
+ .muka-swipe-actions__button:focus-visible {
18065
+ outline: 2px solid var(--color-action-default);
18066
+ outline-offset: -2px;
18067
+ }
18068
+
18069
+ .muka-swipe-actions__button-icon {
18070
+ display: inline-flex;
18071
+ align-items: center;
18072
+ justify-content: center;
18073
+ }
18074
+
18075
+ /* ─── Color variants ───────────────────────────────────── */
18076
+
18077
+ .muka-swipe-actions__button--neutral {
18078
+ background-color: var(--color-surface-level2);
18079
+ color: var(--color-text-default-default);
18080
+ }
18081
+
18082
+ .muka-swipe-actions__button--primary {
18083
+ background-color: var(--color-action-default);
18084
+ color: var(--color-text-default-inverse);
18085
+ }
18086
+
18087
+ .muka-swipe-actions__button--success {
18088
+ background-color: var(--color-state-success-default);
18089
+ color: var(--color-text-default-inverse);
18090
+ }
18091
+
18092
+ .muka-swipe-actions__button--warning {
18093
+ background-color: var(--color-state-warning-default);
18094
+ color: var(--color-text-default-default);
18095
+ }
18096
+
18097
+ .muka-swipe-actions__button--destructive {
18098
+ background-color: var(--color-state-error-default);
18099
+ color: var(--color-text-default-inverse);
18100
+ }
18101
+