@revikornmann/muka-ui 0.64.4 → 0.64.5

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.
@@ -5257,114 +5257,6 @@ body {
5257
5257
  }
5258
5258
 
5259
5259
 
5260
- /* SwipeActions */
5261
- /* SwipeActions Component Styles */
5262
-
5263
- .muka-swipe-actions {
5264
- position: relative;
5265
- overflow: hidden;
5266
- touch-action: pan-y;
5267
- -webkit-user-select: none;
5268
- user-select: none;
5269
- background-color: var(--color-surface-level3);
5270
- }
5271
-
5272
- .muka-swipe-actions--disabled {
5273
- touch-action: auto;
5274
- }
5275
-
5276
- /* ─── Row that holds the actual content ────────────────── */
5277
-
5278
- .muka-swipe-actions__row {
5279
- position: relative;
5280
- z-index: 1;
5281
- background-color: inherit;
5282
- will-change: transform;
5283
- }
5284
-
5285
- /* ─── Action panels — sit beneath the row ──────────────── */
5286
-
5287
- .muka-swipe-actions__panel {
5288
- position: absolute;
5289
- top: 0;
5290
- bottom: 0;
5291
- display: flex;
5292
- align-items: stretch;
5293
- z-index: 0;
5294
- }
5295
-
5296
- .muka-swipe-actions__panel--left {
5297
- left: 0;
5298
- }
5299
-
5300
- .muka-swipe-actions__panel--right {
5301
- right: 0;
5302
- }
5303
-
5304
- /* ─── Single action button ─────────────────────────────── */
5305
-
5306
- .muka-swipe-actions__button {
5307
- display: flex;
5308
- flex-direction: column;
5309
- align-items: center;
5310
- justify-content: center;
5311
- gap: var(--spacing-1);
5312
- border: none;
5313
- cursor: pointer;
5314
- padding: var(--spacing-2);
5315
- background-color: var(--color-surface-level2);
5316
- color: var(--color-text-default-default);
5317
- font-family: var(--text-label-sm-semibold-fontFamily);
5318
- font-weight: var(--text-label-sm-semibold-fontWeight);
5319
- font-size: var(--text-label-sm-semibold-fontSize);
5320
- line-height: var(--text-label-sm-semibold-lineHeight);
5321
- -webkit-tap-highlight-color: transparent;
5322
- transition: filter 0.12s ease;
5323
- }
5324
-
5325
- .muka-swipe-actions__button:hover {
5326
- filter: brightness(0.95);
5327
- }
5328
-
5329
- .muka-swipe-actions__button:focus-visible {
5330
- outline: 2px solid var(--color-action-default);
5331
- outline-offset: -2px;
5332
- }
5333
-
5334
- .muka-swipe-actions__button-icon {
5335
- display: inline-flex;
5336
- align-items: center;
5337
- justify-content: center;
5338
- }
5339
-
5340
- /* ─── Color variants ───────────────────────────────────── */
5341
-
5342
- .muka-swipe-actions__button--neutral {
5343
- background-color: var(--color-surface-level2);
5344
- color: var(--color-text-default-default);
5345
- }
5346
-
5347
- .muka-swipe-actions__button--primary {
5348
- background-color: var(--color-action-default);
5349
- color: var(--color-text-default-inverse);
5350
- }
5351
-
5352
- .muka-swipe-actions__button--success {
5353
- background-color: var(--color-state-success-default);
5354
- color: var(--color-text-default-inverse);
5355
- }
5356
-
5357
- .muka-swipe-actions__button--warning {
5358
- background-color: var(--color-state-warning-default);
5359
- color: var(--color-text-default-default);
5360
- }
5361
-
5362
- .muka-swipe-actions__button--destructive {
5363
- background-color: var(--color-state-error-default);
5364
- color: var(--color-text-default-inverse);
5365
- }
5366
-
5367
-
5368
5260
  /* Spinner */
5369
5261
  /* Spinner Component Styles */
5370
5262
 
@@ -5945,6 +5837,151 @@ body {
5945
5837
  }
5946
5838
 
5947
5839
 
5840
+ /* SiteHeader */
5841
+ /* SiteHeader Component Styles */
5842
+
5843
+ /*
5844
+ * Header for document-scrolling pages. Its colour comes from, in order:
5845
+ * `--muka-site-header-background` (set by the consumer), the surrounding
5846
+ * Page's `--muka-page-background`, and the base surface.
5847
+ *
5848
+ * Safe areas: env(safe-area-inset-*) is 0 outside notched devices. In an app
5849
+ * running edge to edge, the header extends behind the status bar in its own
5850
+ * colour and keeps its content clear of a landscape notch.
5851
+ */
5852
+ .muka-site-header {
5853
+ width: 100%;
5854
+ flex-shrink: 0;
5855
+ background-color: var(--muka-site-header-background, var(--muka-page-background, var(--color-surface-level3)));
5856
+ padding-top: env(safe-area-inset-top, 0px);
5857
+ }
5858
+
5859
+ .muka-site-header--sticky {
5860
+ position: sticky;
5861
+ top: 0;
5862
+ z-index: 30;
5863
+ border-bottom: var(--border-width-regular) solid var(--color-border-default);
5864
+ }
5865
+
5866
+ /*
5867
+ * A header that scrolls away would leave the status bar over the content. A
5868
+ * fixed strip in the header's colour stays behind the status bar instead.
5869
+ * Below Muka's overlays, so a dialog's backdrop dims it with the page.
5870
+ */
5871
+ .muka-site-header:not(.muka-site-header--sticky)::before {
5872
+ content: '';
5873
+ position: fixed;
5874
+ top: 0;
5875
+ left: 0;
5876
+ right: 0;
5877
+ height: env(safe-area-inset-top, 0px);
5878
+ background-color: inherit;
5879
+ pointer-events: none;
5880
+ z-index: 30;
5881
+ }
5882
+
5883
+ .muka-site-header__inner {
5884
+ display: flex;
5885
+ align-items: center;
5886
+ gap: var(--spacing-2);
5887
+ width: 100%;
5888
+ max-width: var(--container-max-width-xl);
5889
+ margin: 0 auto;
5890
+ padding-block: var(--spacing-6);
5891
+ padding-left: max(var(--spacing-4), env(safe-area-inset-left, 0px));
5892
+ padding-right: max(var(--spacing-4), env(safe-area-inset-right, 0px));
5893
+ }
5894
+
5895
+ .muka-site-header__brand {
5896
+ display: flex;
5897
+ align-items: center;
5898
+ flex-shrink: 0;
5899
+ min-width: 0;
5900
+ }
5901
+
5902
+ .muka-site-header__nav {
5903
+ display: none;
5904
+ align-items: center;
5905
+ gap: var(--spacing-1);
5906
+ min-width: 0;
5907
+ }
5908
+
5909
+ .muka-site-header__actions {
5910
+ display: flex;
5911
+ align-items: center;
5912
+ margin-left: auto;
5913
+ min-width: 0;
5914
+ }
5915
+
5916
+ .muka-site-header__action-group {
5917
+ display: flex;
5918
+ align-items: center;
5919
+ gap: var(--spacing-2);
5920
+ }
5921
+
5922
+ /* Small screens: the compact set replaces the full one. */
5923
+ .muka-site-header__action-group--wide {
5924
+ display: none;
5925
+ }
5926
+
5927
+ @media (min-width: 768px) {
5928
+ .muka-site-header__inner {
5929
+ gap: var(--spacing-4);
5930
+ padding-block: var(--spacing-8);
5931
+ }
5932
+
5933
+ .muka-site-header__nav {
5934
+ display: flex;
5935
+ }
5936
+
5937
+ .muka-site-header__action-group--wide {
5938
+ display: flex;
5939
+ }
5940
+
5941
+ .muka-site-header__action-group--compact {
5942
+ display: none;
5943
+ }
5944
+ }
5945
+
5946
+ /*
5947
+ * layout="full" (Figma Public header, Bouwplan): the content spans the width,
5948
+ * the nav sits between brand and actions (space-between), and the inset grows
5949
+ * with the screen: 24/16 on small screens, 16/24 from 768px, 32 from 1536px.
5950
+ * Safe-area insets still win where they are larger.
5951
+ */
5952
+ .muka-site-header--full .muka-site-header__inner {
5953
+ max-width: none;
5954
+ justify-content: space-between;
5955
+ }
5956
+
5957
+ .muka-site-header--full .muka-site-header__actions {
5958
+ margin-left: 0;
5959
+ }
5960
+
5961
+ @media (min-width: 768px) {
5962
+ .muka-site-header--full .muka-site-header__inner {
5963
+ padding-block: var(--spacing-4);
5964
+ padding-left: max(var(--spacing-6), env(safe-area-inset-left, 0px));
5965
+ padding-right: max(var(--spacing-6), env(safe-area-inset-right, 0px));
5966
+ }
5967
+ }
5968
+
5969
+ @media (min-width: 1536px) {
5970
+ .muka-site-header--full .muka-site-header__inner {
5971
+ padding-block: var(--spacing-8);
5972
+ padding-left: max(var(--spacing-8), env(safe-area-inset-left, 0px));
5973
+ padding-right: max(var(--spacing-8), env(safe-area-inset-right, 0px));
5974
+ }
5975
+ }
5976
+
5977
+ /* Small screens: no nav, so the actions take the end on their own. */
5978
+ @media (max-width: 767px) {
5979
+ .muka-site-header--full .muka-site-header__actions {
5980
+ margin-left: auto;
5981
+ }
5982
+ }
5983
+
5984
+
5948
5985
  /* Sheet */
5949
5986
  /* Sheet Component Styles */
5950
5987
 
@@ -6221,151 +6258,6 @@ body {
6221
6258
  }
6222
6259
 
6223
6260
 
6224
- /* SiteHeader */
6225
- /* SiteHeader Component Styles */
6226
-
6227
- /*
6228
- * Header for document-scrolling pages. Its colour comes from, in order:
6229
- * `--muka-site-header-background` (set by the consumer), the surrounding
6230
- * Page's `--muka-page-background`, and the base surface.
6231
- *
6232
- * Safe areas: env(safe-area-inset-*) is 0 outside notched devices. In an app
6233
- * running edge to edge, the header extends behind the status bar in its own
6234
- * colour and keeps its content clear of a landscape notch.
6235
- */
6236
- .muka-site-header {
6237
- width: 100%;
6238
- flex-shrink: 0;
6239
- background-color: var(--muka-site-header-background, var(--muka-page-background, var(--color-surface-level3)));
6240
- padding-top: env(safe-area-inset-top, 0px);
6241
- }
6242
-
6243
- .muka-site-header--sticky {
6244
- position: sticky;
6245
- top: 0;
6246
- z-index: 30;
6247
- border-bottom: var(--border-width-regular) solid var(--color-border-default);
6248
- }
6249
-
6250
- /*
6251
- * A header that scrolls away would leave the status bar over the content. A
6252
- * fixed strip in the header's colour stays behind the status bar instead.
6253
- * Below Muka's overlays, so a dialog's backdrop dims it with the page.
6254
- */
6255
- .muka-site-header:not(.muka-site-header--sticky)::before {
6256
- content: '';
6257
- position: fixed;
6258
- top: 0;
6259
- left: 0;
6260
- right: 0;
6261
- height: env(safe-area-inset-top, 0px);
6262
- background-color: inherit;
6263
- pointer-events: none;
6264
- z-index: 30;
6265
- }
6266
-
6267
- .muka-site-header__inner {
6268
- display: flex;
6269
- align-items: center;
6270
- gap: var(--spacing-2);
6271
- width: 100%;
6272
- max-width: var(--container-max-width-xl);
6273
- margin: 0 auto;
6274
- padding-block: var(--spacing-6);
6275
- padding-left: max(var(--spacing-4), env(safe-area-inset-left, 0px));
6276
- padding-right: max(var(--spacing-4), env(safe-area-inset-right, 0px));
6277
- }
6278
-
6279
- .muka-site-header__brand {
6280
- display: flex;
6281
- align-items: center;
6282
- flex-shrink: 0;
6283
- min-width: 0;
6284
- }
6285
-
6286
- .muka-site-header__nav {
6287
- display: none;
6288
- align-items: center;
6289
- gap: var(--spacing-1);
6290
- min-width: 0;
6291
- }
6292
-
6293
- .muka-site-header__actions {
6294
- display: flex;
6295
- align-items: center;
6296
- margin-left: auto;
6297
- min-width: 0;
6298
- }
6299
-
6300
- .muka-site-header__action-group {
6301
- display: flex;
6302
- align-items: center;
6303
- gap: var(--spacing-2);
6304
- }
6305
-
6306
- /* Small screens: the compact set replaces the full one. */
6307
- .muka-site-header__action-group--wide {
6308
- display: none;
6309
- }
6310
-
6311
- @media (min-width: 768px) {
6312
- .muka-site-header__inner {
6313
- gap: var(--spacing-4);
6314
- padding-block: var(--spacing-8);
6315
- }
6316
-
6317
- .muka-site-header__nav {
6318
- display: flex;
6319
- }
6320
-
6321
- .muka-site-header__action-group--wide {
6322
- display: flex;
6323
- }
6324
-
6325
- .muka-site-header__action-group--compact {
6326
- display: none;
6327
- }
6328
- }
6329
-
6330
- /*
6331
- * layout="full" (Figma Public header, Bouwplan): the content spans the width,
6332
- * the nav sits between brand and actions (space-between), and the inset grows
6333
- * with the screen: 24/16 on small screens, 16/24 from 768px, 32 from 1536px.
6334
- * Safe-area insets still win where they are larger.
6335
- */
6336
- .muka-site-header--full .muka-site-header__inner {
6337
- max-width: none;
6338
- justify-content: space-between;
6339
- }
6340
-
6341
- .muka-site-header--full .muka-site-header__actions {
6342
- margin-left: 0;
6343
- }
6344
-
6345
- @media (min-width: 768px) {
6346
- .muka-site-header--full .muka-site-header__inner {
6347
- padding-block: var(--spacing-4);
6348
- padding-left: max(var(--spacing-6), env(safe-area-inset-left, 0px));
6349
- padding-right: max(var(--spacing-6), env(safe-area-inset-right, 0px));
6350
- }
6351
- }
6352
-
6353
- @media (min-width: 1536px) {
6354
- .muka-site-header--full .muka-site-header__inner {
6355
- padding-block: var(--spacing-8);
6356
- padding-left: max(var(--spacing-8), env(safe-area-inset-left, 0px));
6357
- padding-right: max(var(--spacing-8), env(safe-area-inset-right, 0px));
6358
- }
6359
- }
6360
-
6361
- /* Small screens: no nav, so the actions take the end on their own. */
6362
- @media (max-width: 767px) {
6363
- .muka-site-header--full .muka-site-header__actions {
6364
- margin-left: auto;
6365
- }
6366
- }
6367
-
6368
-
6369
6261
  /* SegmentGroup */
6370
6262
  /* SegmentGroup Component Styles - Using Muka Design Tokens */
6371
6263
 
@@ -6553,27 +6445,196 @@ body {
6553
6445
  user-select: none;
6554
6446
  }
6555
6447
 
6556
-
6557
- /* Section */
6558
- /* Section Component - Layout tokens (section.padding) */
6559
-
6560
- .muka-section {
6561
- box-sizing: border-box;
6448
+
6449
+ /* Section */
6450
+ /* Section Component - Layout tokens (section.padding) */
6451
+
6452
+ .muka-section {
6453
+ box-sizing: border-box;
6454
+ }
6455
+
6456
+ .muka-section--padding-compact {
6457
+ padding-block: var(--section-padding-vertical-compact);
6458
+ padding-inline: var(--section-padding-horizontal-compact);
6459
+ }
6460
+
6461
+ .muka-section--padding-default {
6462
+ padding-block: var(--section-padding-vertical-default);
6463
+ padding-inline: var(--section-padding-horizontal-default);
6464
+ }
6465
+
6466
+ .muka-section--padding-spacious {
6467
+ padding-block: var(--section-padding-vertical-spacious);
6468
+ padding-inline: var(--section-padding-horizontal-spacious);
6469
+ }
6470
+
6471
+
6472
+ /* SearchInput */
6473
+ /* SearchInput Component Styles */
6474
+
6475
+ .muka-search-input {
6476
+ display: flex;
6477
+ align-items: center;
6478
+ gap: var(--spacing-3);
6479
+ width: 100%;
6480
+ }
6481
+
6482
+ /* ─── Field wrapper ───────────────────────────────────── */
6483
+
6484
+ .muka-search-input__field {
6485
+ flex: 1 1 auto;
6486
+ display: flex;
6487
+ align-items: center;
6488
+ gap: var(--spacing-2);
6489
+ background-color: var(--input-field-color-default-background);
6490
+ border: var(--border-width-regular) solid var(--input-field-color-default-border);
6491
+ border-radius: var(--input-field-radius-md);
6492
+ padding: 0 var(--input-field-padding-x);
6493
+ transition: border-color 0.12s ease, background-color 0.12s ease;
6494
+ }
6495
+
6496
+ .muka-search-input--focused .muka-search-input__field {
6497
+ border-color: var(--input-field-color-focus-border, var(--color-action-default));
6498
+ }
6499
+
6500
+ /* ─── Sizes ───────────────────────────────────────────── */
6501
+
6502
+ .muka-search-input--sm .muka-search-input__field {
6503
+ min-height: var(--input-field-height-sm);
6504
+ border-radius: var(--input-field-radius-sm);
6505
+ }
6506
+
6507
+ .muka-search-input--md .muka-search-input__field {
6508
+ min-height: var(--input-field-height-default);
6509
+ }
6510
+
6511
+ .muka-search-input--lg .muka-search-input__field {
6512
+ min-height: var(--input-field-height-lg);
6513
+ border-radius: var(--input-field-radius-lg);
6514
+ }
6515
+
6516
+ /* ─── Embedded variant (e.g. inside TopBar) ───────────── */
6517
+
6518
+ .muka-search-input--embedded .muka-search-input__field {
6519
+ background-color: var(--color-surface-level1);
6520
+ border-color: transparent;
6521
+ }
6522
+
6523
+ .muka-search-input--embedded.muka-search-input--focused .muka-search-input__field {
6524
+ border-color: transparent;
6525
+ background-color: var(--color-surface-level2);
6526
+ }
6527
+
6528
+ /* ─── Disabled ────────────────────────────────────────── */
6529
+
6530
+ .muka-search-input--disabled .muka-search-input__field {
6531
+ opacity: 0.5;
6532
+ pointer-events: none;
6533
+ }
6534
+
6535
+ /* ─── Leading icon ────────────────────────────────────── */
6536
+
6537
+ .muka-search-input__leading {
6538
+ display: inline-flex;
6539
+ align-items: center;
6540
+ justify-content: center;
6541
+ flex-shrink: 0;
6542
+ color: var(--color-text-subtle-default);
6543
+ }
6544
+
6545
+ /* ─── Input element ───────────────────────────────────── */
6546
+
6547
+ .muka-search-input__input {
6548
+ flex: 1 1 auto;
6549
+ min-width: 0;
6550
+ border: none;
6551
+ background: transparent;
6552
+ outline: none;
6553
+ padding: 0;
6554
+ color: var(--color-text-default-default);
6555
+ font-family: var(--text-body-base-regular-fontFamily);
6556
+ font-weight: var(--text-body-base-regular-fontWeight);
6557
+ font-size: var(--text-body-base-regular-fontSize);
6558
+ line-height: var(--text-body-base-regular-lineHeight);
6559
+ appearance: none;
6560
+ -webkit-appearance: none;
6561
+ }
6562
+
6563
+ .muka-search-input__input::placeholder {
6564
+ color: var(--color-text-subtle-default);
6565
+ }
6566
+
6567
+ /* Hide the browser-supplied clear button (WebKit + Edge) */
6568
+ .muka-search-input__input::-webkit-search-cancel-button,
6569
+ .muka-search-input__input::-webkit-search-decoration {
6570
+ -webkit-appearance: none;
6571
+ appearance: none;
6572
+ }
6573
+
6574
+ .muka-search-input__input::-ms-clear {
6575
+ display: none;
6576
+ }
6577
+
6578
+ /* ─── Trailing slot (loading spinner) ─────────────────── */
6579
+
6580
+ .muka-search-input__trailing {
6581
+ display: inline-flex;
6582
+ align-items: center;
6583
+ justify-content: center;
6584
+ flex-shrink: 0;
6585
+ }
6586
+
6587
+ /* ─── Clear button ────────────────────────────────────── */
6588
+
6589
+ .muka-search-input__clear {
6590
+ display: inline-flex;
6591
+ align-items: center;
6592
+ justify-content: center;
6593
+ width: 20px;
6594
+ height: 20px;
6595
+ border: none;
6596
+ background: none;
6597
+ padding: 0;
6598
+ cursor: pointer;
6599
+ color: var(--color-text-subtle-default);
6600
+ flex-shrink: 0;
6601
+ -webkit-tap-highlight-color: transparent;
6602
+ }
6603
+
6604
+ .muka-search-input__clear:hover {
6605
+ color: var(--color-text-default-default);
6606
+ }
6607
+
6608
+ .muka-search-input__clear:focus-visible {
6609
+ outline: 2px solid var(--color-action-default);
6610
+ outline-offset: 2px;
6611
+ border-radius: 50%;
6562
6612
  }
6563
6613
 
6564
- .muka-section--padding-compact {
6565
- padding-block: var(--section-padding-vertical-compact);
6566
- padding-inline: var(--section-padding-horizontal-compact);
6614
+ /* ─── Cancel button ───────────────────────────────────── */
6615
+
6616
+ .muka-search-input__cancel {
6617
+ flex-shrink: 0;
6618
+ background: none;
6619
+ border: none;
6620
+ padding: var(--spacing-1) var(--spacing-2);
6621
+ cursor: pointer;
6622
+ color: var(--color-action-default);
6623
+ font-family: var(--text-label-md-regular-fontFamily);
6624
+ font-weight: var(--text-label-md-regular-fontWeight);
6625
+ font-size: var(--text-label-md-regular-fontSize);
6626
+ line-height: var(--text-label-md-regular-lineHeight);
6627
+ -webkit-tap-highlight-color: transparent;
6567
6628
  }
6568
6629
 
6569
- .muka-section--padding-default {
6570
- padding-block: var(--section-padding-vertical-default);
6571
- padding-inline: var(--section-padding-horizontal-default);
6630
+ .muka-search-input__cancel:hover {
6631
+ color: var(--color-action-hover);
6572
6632
  }
6573
6633
 
6574
- .muka-section--padding-spacious {
6575
- padding-block: var(--section-padding-vertical-spacious);
6576
- padding-inline: var(--section-padding-horizontal-spacious);
6634
+ .muka-search-input__cancel:focus-visible {
6635
+ outline: 2px solid var(--color-action-default);
6636
+ outline-offset: 2px;
6637
+ border-radius: var(--radius-sm);
6577
6638
  }
6578
6639
 
6579
6640
 
@@ -6844,298 +6905,129 @@ body {
6844
6905
  --muka-range-grip-h: 15px;
6845
6906
  }
6846
6907
 
6847
- .muka-range-slider__bar {
6848
- /* Reserve the full thumb height so the handle never clips the layout. */
6849
- display: flex;
6850
- align-items: center;
6851
- height: var(--muka-range-thumb);
6852
- }
6853
-
6854
- .muka-range-slider__input {
6855
- -webkit-appearance: none;
6856
- appearance: none;
6857
- width: 100%;
6858
- height: var(--muka-range-thumb);
6859
- margin: 0;
6860
- background: transparent;
6861
- cursor: pointer;
6862
-
6863
- /* Grip handle fill + two vertical grip bars, all theme-aware. */
6864
- --muka-range-grip-color: var(--color-text-subtle-default);
6865
- --muka-range-grip-w: 2px;
6866
- --muka-range-grip-gap: 3px;
6867
-
6868
- /* The track fill: action colour up to the value, sunken surface beyond it. */
6869
- --muka-range-track-fill: linear-gradient(
6870
- to right,
6871
- var(--color-action-default) 0,
6872
- var(--color-action-default) var(--muka-range-fill, 0%),
6873
- var(--color-surface-sunken) var(--muka-range-fill, 0%),
6874
- var(--color-surface-sunken) 100%
6875
- );
6876
- }
6877
-
6878
- .muka-range-slider__input:focus {
6879
- outline: none;
6880
- }
6881
-
6882
- /* WebKit / Blink track */
6883
- .muka-range-slider__input::-webkit-slider-runnable-track {
6884
- height: var(--muka-range-track-h);
6885
- border-radius: var(--border-radius-full);
6886
- background-image: var(--muka-range-track-fill);
6887
- border: 1px solid var(--color-border-contrast);
6888
- box-shadow: var(--shadow-sunken);
6889
- }
6890
-
6891
- /* Firefox track + progress */
6892
- .muka-range-slider__input::-moz-range-track {
6893
- height: var(--muka-range-track-h);
6894
- border-radius: var(--border-radius-full);
6895
- background: var(--color-surface-sunken);
6896
- border: 1px solid var(--color-border-contrast);
6897
- box-shadow: var(--shadow-sunken);
6898
- }
6899
- .muka-range-slider__input::-moz-range-progress {
6900
- height: var(--muka-range-track-h);
6901
- border-radius: var(--border-radius-full);
6902
- background: var(--color-action-default);
6903
- }
6904
-
6905
- /* WebKit / Blink thumb (vertically centred over the track) */
6906
- .muka-range-slider__input::-webkit-slider-thumb {
6907
- -webkit-appearance: none;
6908
- appearance: none;
6909
- width: var(--muka-range-thumb);
6910
- height: var(--muka-range-thumb);
6911
- margin-top: calc((var(--muka-range-track-h) - var(--muka-range-thumb)) / 2);
6912
- border-radius: var(--border-radius-full);
6913
- border: 1px solid var(--color-border-contrast);
6914
- box-shadow: var(--shadow-level2);
6915
- background-color: var(--color-surface-level1);
6916
- background-image:
6917
- linear-gradient(var(--muka-range-grip-color), var(--muka-range-grip-color)),
6918
- linear-gradient(var(--muka-range-grip-color), var(--muka-range-grip-color));
6919
- background-repeat: no-repeat;
6920
- background-size: var(--muka-range-grip-w) var(--muka-range-grip-h), var(--muka-range-grip-w) var(--muka-range-grip-h);
6921
- background-position:
6922
- calc(50% - var(--muka-range-grip-gap)) center,
6923
- calc(50% + var(--muka-range-grip-gap)) center;
6924
- transition: box-shadow 0.15s ease, background-color 0.15s ease;
6925
- }
6926
-
6927
- /* Firefox thumb */
6928
- .muka-range-slider__input::-moz-range-thumb {
6929
- width: var(--muka-range-thumb);
6930
- height: var(--muka-range-thumb);
6931
- border-radius: var(--border-radius-full);
6932
- border: 1px solid var(--color-border-contrast);
6933
- box-shadow: var(--shadow-level2);
6934
- background-color: var(--color-surface-level1);
6935
- background-image:
6936
- linear-gradient(var(--muka-range-grip-color), var(--muka-range-grip-color)),
6937
- linear-gradient(var(--muka-range-grip-color), var(--muka-range-grip-color));
6938
- background-repeat: no-repeat;
6939
- background-size: var(--muka-range-grip-w) var(--muka-range-grip-h), var(--muka-range-grip-w) var(--muka-range-grip-h);
6940
- background-position:
6941
- calc(50% - var(--muka-range-grip-gap)) center,
6942
- calc(50% + var(--muka-range-grip-gap)) center;
6943
- transition: box-shadow 0.15s ease, background-color 0.15s ease;
6944
- }
6945
-
6946
- /* Hover */
6947
- .muka-range-slider__input:hover::-webkit-slider-thumb {
6948
- background-color: var(--color-surface-level1);
6949
- box-shadow: var(--shadow-level3);
6950
- }
6951
- .muka-range-slider__input:hover::-moz-range-thumb {
6952
- background-color: var(--color-surface-level1);
6953
- box-shadow: var(--shadow-level3);
6954
- }
6955
-
6956
- /* Focus ring */
6957
- .muka-range-slider__input:focus-visible::-webkit-slider-thumb {
6958
- box-shadow: var(--shadow-level2), 0 0 0 3px var(--color-border-focus);
6959
- }
6960
- .muka-range-slider__input:focus-visible::-moz-range-thumb {
6961
- box-shadow: var(--shadow-level2), 0 0 0 3px var(--color-border-focus);
6962
- }
6963
-
6964
- /* Disabled */
6965
- .muka-range-slider--disabled {
6966
- opacity: 0.5;
6967
- }
6968
- .muka-range-slider--disabled .muka-range-slider__input {
6969
- cursor: not-allowed;
6970
- }
6971
-
6972
-
6973
- /* SearchInput */
6974
- /* SearchInput Component Styles */
6975
-
6976
- .muka-search-input {
6977
- display: flex;
6978
- align-items: center;
6979
- gap: var(--spacing-3);
6980
- width: 100%;
6981
- }
6982
-
6983
- /* ─── Field wrapper ───────────────────────────────────── */
6984
-
6985
- .muka-search-input__field {
6986
- flex: 1 1 auto;
6987
- display: flex;
6988
- align-items: center;
6989
- gap: var(--spacing-2);
6990
- background-color: var(--input-field-color-default-background);
6991
- border: var(--border-width-regular) solid var(--input-field-color-default-border);
6992
- border-radius: var(--input-field-radius-md);
6993
- padding: 0 var(--input-field-padding-x);
6994
- transition: border-color 0.12s ease, background-color 0.12s ease;
6995
- }
6996
-
6997
- .muka-search-input--focused .muka-search-input__field {
6998
- border-color: var(--input-field-color-focus-border, var(--color-action-default));
6999
- }
7000
-
7001
- /* ─── Sizes ───────────────────────────────────────────── */
7002
-
7003
- .muka-search-input--sm .muka-search-input__field {
7004
- min-height: var(--input-field-height-sm);
7005
- border-radius: var(--input-field-radius-sm);
7006
- }
7007
-
7008
- .muka-search-input--md .muka-search-input__field {
7009
- min-height: var(--input-field-height-default);
7010
- }
7011
-
7012
- .muka-search-input--lg .muka-search-input__field {
7013
- min-height: var(--input-field-height-lg);
7014
- border-radius: var(--input-field-radius-lg);
7015
- }
7016
-
7017
- /* ─── Embedded variant (e.g. inside TopBar) ───────────── */
7018
-
7019
- .muka-search-input--embedded .muka-search-input__field {
7020
- background-color: var(--color-surface-level1);
7021
- border-color: transparent;
7022
- }
7023
-
7024
- .muka-search-input--embedded.muka-search-input--focused .muka-search-input__field {
7025
- border-color: transparent;
7026
- background-color: var(--color-surface-level2);
7027
- }
7028
-
7029
- /* ─── Disabled ────────────────────────────────────────── */
7030
-
7031
- .muka-search-input--disabled .muka-search-input__field {
7032
- opacity: 0.5;
7033
- pointer-events: none;
7034
- }
7035
-
7036
- /* ─── Leading icon ────────────────────────────────────── */
7037
-
7038
- .muka-search-input__leading {
7039
- display: inline-flex;
7040
- align-items: center;
7041
- justify-content: center;
7042
- flex-shrink: 0;
7043
- color: var(--color-text-subtle-default);
7044
- }
7045
-
7046
- /* ─── Input element ───────────────────────────────────── */
7047
-
7048
- .muka-search-input__input {
7049
- flex: 1 1 auto;
7050
- min-width: 0;
7051
- border: none;
7052
- background: transparent;
7053
- outline: none;
7054
- padding: 0;
7055
- color: var(--color-text-default-default);
7056
- font-family: var(--text-body-base-regular-fontFamily);
7057
- font-weight: var(--text-body-base-regular-fontWeight);
7058
- font-size: var(--text-body-base-regular-fontSize);
7059
- line-height: var(--text-body-base-regular-lineHeight);
7060
- appearance: none;
7061
- -webkit-appearance: none;
7062
- }
7063
-
7064
- .muka-search-input__input::placeholder {
7065
- color: var(--color-text-subtle-default);
6908
+ .muka-range-slider__bar {
6909
+ /* Reserve the full thumb height so the handle never clips the layout. */
6910
+ display: flex;
6911
+ align-items: center;
6912
+ height: var(--muka-range-thumb);
7066
6913
  }
7067
6914
 
7068
- /* Hide the browser-supplied clear button (WebKit + Edge) */
7069
- .muka-search-input__input::-webkit-search-cancel-button,
7070
- .muka-search-input__input::-webkit-search-decoration {
6915
+ .muka-range-slider__input {
7071
6916
  -webkit-appearance: none;
7072
6917
  appearance: none;
7073
- }
7074
-
7075
- .muka-search-input__input::-ms-clear {
7076
- display: none;
7077
- }
6918
+ width: 100%;
6919
+ height: var(--muka-range-thumb);
6920
+ margin: 0;
6921
+ background: transparent;
6922
+ cursor: pointer;
7078
6923
 
7079
- /* ─── Trailing slot (loading spinner) ─────────────────── */
6924
+ /* Grip handle fill + two vertical grip bars, all theme-aware. */
6925
+ --muka-range-grip-color: var(--color-text-subtle-default);
6926
+ --muka-range-grip-w: 2px;
6927
+ --muka-range-grip-gap: 3px;
7080
6928
 
7081
- .muka-search-input__trailing {
7082
- display: inline-flex;
7083
- align-items: center;
7084
- justify-content: center;
7085
- flex-shrink: 0;
6929
+ /* The track fill: action colour up to the value, sunken surface beyond it. */
6930
+ --muka-range-track-fill: linear-gradient(
6931
+ to right,
6932
+ var(--color-action-default) 0,
6933
+ var(--color-action-default) var(--muka-range-fill, 0%),
6934
+ var(--color-surface-sunken) var(--muka-range-fill, 0%),
6935
+ var(--color-surface-sunken) 100%
6936
+ );
7086
6937
  }
7087
6938
 
7088
- /* ─── Clear button ────────────────────────────────────── */
6939
+ .muka-range-slider__input:focus {
6940
+ outline: none;
6941
+ }
7089
6942
 
7090
- .muka-search-input__clear {
7091
- display: inline-flex;
7092
- align-items: center;
7093
- justify-content: center;
7094
- width: 20px;
7095
- height: 20px;
7096
- border: none;
7097
- background: none;
7098
- padding: 0;
7099
- cursor: pointer;
7100
- color: var(--color-text-subtle-default);
7101
- flex-shrink: 0;
7102
- -webkit-tap-highlight-color: transparent;
6943
+ /* WebKit / Blink track */
6944
+ .muka-range-slider__input::-webkit-slider-runnable-track {
6945
+ height: var(--muka-range-track-h);
6946
+ border-radius: var(--border-radius-full);
6947
+ background-image: var(--muka-range-track-fill);
6948
+ border: 1px solid var(--color-border-contrast);
6949
+ box-shadow: var(--shadow-sunken);
7103
6950
  }
7104
6951
 
7105
- .muka-search-input__clear:hover {
7106
- color: var(--color-text-default-default);
6952
+ /* Firefox track + progress */
6953
+ .muka-range-slider__input::-moz-range-track {
6954
+ height: var(--muka-range-track-h);
6955
+ border-radius: var(--border-radius-full);
6956
+ background: var(--color-surface-sunken);
6957
+ border: 1px solid var(--color-border-contrast);
6958
+ box-shadow: var(--shadow-sunken);
6959
+ }
6960
+ .muka-range-slider__input::-moz-range-progress {
6961
+ height: var(--muka-range-track-h);
6962
+ border-radius: var(--border-radius-full);
6963
+ background: var(--color-action-default);
7107
6964
  }
7108
6965
 
7109
- .muka-search-input__clear:focus-visible {
7110
- outline: 2px solid var(--color-action-default);
7111
- outline-offset: 2px;
7112
- border-radius: 50%;
6966
+ /* WebKit / Blink thumb (vertically centred over the track) */
6967
+ .muka-range-slider__input::-webkit-slider-thumb {
6968
+ -webkit-appearance: none;
6969
+ appearance: none;
6970
+ width: var(--muka-range-thumb);
6971
+ height: var(--muka-range-thumb);
6972
+ margin-top: calc((var(--muka-range-track-h) - var(--muka-range-thumb)) / 2);
6973
+ border-radius: var(--border-radius-full);
6974
+ border: 1px solid var(--color-border-contrast);
6975
+ box-shadow: var(--shadow-level2);
6976
+ background-color: var(--color-surface-level1);
6977
+ background-image:
6978
+ linear-gradient(var(--muka-range-grip-color), var(--muka-range-grip-color)),
6979
+ linear-gradient(var(--muka-range-grip-color), var(--muka-range-grip-color));
6980
+ background-repeat: no-repeat;
6981
+ background-size: var(--muka-range-grip-w) var(--muka-range-grip-h), var(--muka-range-grip-w) var(--muka-range-grip-h);
6982
+ background-position:
6983
+ calc(50% - var(--muka-range-grip-gap)) center,
6984
+ calc(50% + var(--muka-range-grip-gap)) center;
6985
+ transition: box-shadow 0.15s ease, background-color 0.15s ease;
7113
6986
  }
7114
6987
 
7115
- /* ─── Cancel button ───────────────────────────────────── */
6988
+ /* Firefox thumb */
6989
+ .muka-range-slider__input::-moz-range-thumb {
6990
+ width: var(--muka-range-thumb);
6991
+ height: var(--muka-range-thumb);
6992
+ border-radius: var(--border-radius-full);
6993
+ border: 1px solid var(--color-border-contrast);
6994
+ box-shadow: var(--shadow-level2);
6995
+ background-color: var(--color-surface-level1);
6996
+ background-image:
6997
+ linear-gradient(var(--muka-range-grip-color), var(--muka-range-grip-color)),
6998
+ linear-gradient(var(--muka-range-grip-color), var(--muka-range-grip-color));
6999
+ background-repeat: no-repeat;
7000
+ background-size: var(--muka-range-grip-w) var(--muka-range-grip-h), var(--muka-range-grip-w) var(--muka-range-grip-h);
7001
+ background-position:
7002
+ calc(50% - var(--muka-range-grip-gap)) center,
7003
+ calc(50% + var(--muka-range-grip-gap)) center;
7004
+ transition: box-shadow 0.15s ease, background-color 0.15s ease;
7005
+ }
7116
7006
 
7117
- .muka-search-input__cancel {
7118
- flex-shrink: 0;
7119
- background: none;
7120
- border: none;
7121
- padding: var(--spacing-1) var(--spacing-2);
7122
- cursor: pointer;
7123
- color: var(--color-action-default);
7124
- font-family: var(--text-label-md-regular-fontFamily);
7125
- font-weight: var(--text-label-md-regular-fontWeight);
7126
- font-size: var(--text-label-md-regular-fontSize);
7127
- line-height: var(--text-label-md-regular-lineHeight);
7128
- -webkit-tap-highlight-color: transparent;
7007
+ /* Hover */
7008
+ .muka-range-slider__input:hover::-webkit-slider-thumb {
7009
+ background-color: var(--color-surface-level1);
7010
+ box-shadow: var(--shadow-level3);
7011
+ }
7012
+ .muka-range-slider__input:hover::-moz-range-thumb {
7013
+ background-color: var(--color-surface-level1);
7014
+ box-shadow: var(--shadow-level3);
7129
7015
  }
7130
7016
 
7131
- .muka-search-input__cancel:hover {
7132
- color: var(--color-action-hover);
7017
+ /* Focus ring */
7018
+ .muka-range-slider__input:focus-visible::-webkit-slider-thumb {
7019
+ box-shadow: var(--shadow-level2), 0 0 0 3px var(--color-border-focus);
7020
+ }
7021
+ .muka-range-slider__input:focus-visible::-moz-range-thumb {
7022
+ box-shadow: var(--shadow-level2), 0 0 0 3px var(--color-border-focus);
7133
7023
  }
7134
7024
 
7135
- .muka-search-input__cancel:focus-visible {
7136
- outline: 2px solid var(--color-action-default);
7137
- outline-offset: 2px;
7138
- border-radius: var(--radius-sm);
7025
+ /* Disabled */
7026
+ .muka-range-slider--disabled {
7027
+ opacity: 0.5;
7028
+ }
7029
+ .muka-range-slider--disabled .muka-range-slider__input {
7030
+ cursor: not-allowed;
7139
7031
  }
7140
7032
 
7141
7033
 
@@ -8408,62 +8300,176 @@ button.muka-progress-tracker__tab:focus-visible {
8408
8300
  stroke-width: var(--progress-size-circle-strokeWidth-md);
8409
8301
  }
8410
8302
 
8411
- .muka-progress--circle.muka-progress--lg .muka-progress__track,
8412
- .muka-progress--circle.muka-progress--lg .muka-progress__fill {
8413
- stroke-width: var(--progress-size-circle-strokeWidth-lg);
8303
+ .muka-progress--circle.muka-progress--lg .muka-progress__track,
8304
+ .muka-progress--circle.muka-progress--lg .muka-progress__fill {
8305
+ stroke-width: var(--progress-size-circle-strokeWidth-lg);
8306
+ }
8307
+
8308
+ .muka-progress--circle .muka-progress__fill {
8309
+ fill: none;
8310
+ stroke: var(--color-action-default);
8311
+ stroke-linecap: round;
8312
+ transition: stroke-dashoffset 0.3s ease;
8313
+ }
8314
+
8315
+ .muka-progress--circle .muka-progress__label {
8316
+ position: absolute;
8317
+ font-family: var(--text-label-sm-semibold-fontFamily);
8318
+ font-weight: var(--text-label-sm-semibold-fontWeight);
8319
+ color: var(--color-text-default-default);
8320
+ }
8321
+
8322
+ .muka-progress--circle.muka-progress--sm .muka-progress__label {
8323
+ font-size: var(--text-label-sm-semibold-fontSize);
8324
+ }
8325
+
8326
+ .muka-progress--circle.muka-progress--md .muka-progress__label {
8327
+ font-size: var(--text-label-md-semibold-fontSize);
8328
+ }
8329
+
8330
+ .muka-progress--circle.muka-progress--lg .muka-progress__label {
8331
+ font-size: var(--text-label-lg-semibold-fontSize);
8332
+ }
8333
+
8334
+ /* Indeterminate animation for circle */
8335
+ .muka-progress--circle.muka-progress--indeterminate .muka-progress__circle {
8336
+ animation: muka-progress-circle-rotate 2s linear infinite;
8337
+ }
8338
+
8339
+ .muka-progress--circle.muka-progress--indeterminate .muka-progress__fill {
8340
+ animation: muka-progress-circle-dash 1.5s ease-in-out infinite;
8341
+ }
8342
+
8343
+ @keyframes muka-progress-circle-rotate {
8344
+ 100% {
8345
+ transform: rotate(270deg);
8346
+ }
8347
+ }
8348
+
8349
+ @keyframes muka-progress-circle-dash {
8350
+ 0% {
8351
+ stroke-dashoffset: 220;
8352
+ }
8353
+ 50% {
8354
+ stroke-dashoffset: 70;
8355
+ }
8356
+ 100% {
8357
+ stroke-dashoffset: 220;
8358
+ }
8359
+ }
8360
+
8361
+
8362
+ /* ProfileBadge */
8363
+ /* ProfileBadge Component Styles - Using Muka Design Tokens */
8364
+
8365
+ .muka-profile-badge {
8366
+ display: inline-flex;
8367
+ max-width: 100%;
8368
+ min-width: 0;
8369
+ align-items: center;
8370
+ font-family: var(--text-body-base-regular-fontFamily);
8371
+ }
8372
+
8373
+ /* Size variants */
8374
+ .muka-profile-badge--lg {
8375
+ gap: var(--spacing-4); /* 16px */
8376
+ }
8377
+
8378
+ .muka-profile-badge--md {
8379
+ gap: var(--spacing-3); /* 12px */
8380
+ }
8381
+
8382
+ .muka-profile-badge--sm {
8383
+ gap: var(--spacing-2); /* 8px */
8384
+ }
8385
+
8386
+ .muka-profile-badge__avatar {
8387
+ flex-shrink: 0;
8388
+ }
8389
+
8390
+ /* Text stack */
8391
+ .muka-profile-badge__text {
8392
+ display: flex;
8393
+ flex-direction: column;
8394
+ align-items: flex-start;
8395
+ min-width: 0;
8396
+ }
8397
+
8398
+ .muka-profile-badge__name {
8399
+ max-width: 100%;
8400
+ overflow: hidden;
8401
+ text-overflow: ellipsis;
8402
+ white-space: nowrap;
8403
+ font-family: var(--text-body-base-regular-fontFamily);
8404
+ font-size: var(--text-body-base-regular-fontSize);
8405
+ font-weight: var(--text-body-base-regular-fontWeight);
8406
+ line-height: var(--text-body-base-regular-lineHeight);
8407
+ color: var(--color-text-default-default);
8408
+ }
8409
+
8410
+ .muka-profile-badge__email {
8411
+ font-family: var(--text-body-xs-regular-fontFamily);
8412
+ font-size: var(--text-body-xs-regular-fontSize);
8413
+ font-weight: var(--text-body-xs-regular-fontWeight);
8414
+ line-height: var(--text-body-xs-regular-lineHeight);
8415
+ color: var(--color-text-subtle-default);
8414
8416
  }
8415
8417
 
8416
- .muka-progress--circle .muka-progress__fill {
8417
- fill: none;
8418
- stroke: var(--color-action-default);
8419
- stroke-linecap: round;
8420
- transition: stroke-dashoffset 0.3s ease;
8418
+ /* Clickable state */
8419
+ .muka-profile-badge--clickable {
8420
+ cursor: pointer;
8421
+ border: none;
8422
+ background: none;
8423
+ padding: 0;
8424
+ text-align: left;
8425
+ border-radius: var(--radius-md);
8426
+ transition: opacity 0.2s ease;
8421
8427
  }
8422
8428
 
8423
- .muka-progress--circle .muka-progress__label {
8424
- position: absolute;
8425
- font-family: var(--text-label-sm-semibold-fontFamily);
8426
- font-weight: var(--text-label-sm-semibold-fontWeight);
8427
- color: var(--color-text-default-default);
8429
+ .muka-profile-badge--clickable:hover {
8430
+ opacity: 0.9;
8428
8431
  }
8429
8432
 
8430
- .muka-progress--circle.muka-progress--sm .muka-progress__label {
8431
- font-size: var(--text-label-sm-semibold-fontSize);
8433
+ .muka-profile-badge--clickable:active {
8434
+ opacity: 0.8;
8432
8435
  }
8433
8436
 
8434
- .muka-progress--circle.muka-progress--md .muka-progress__label {
8435
- font-size: var(--text-label-md-semibold-fontSize);
8437
+ .muka-profile-badge--clickable:focus-visible {
8438
+ outline: 2px solid var(--color-border-focus);
8439
+ outline-offset: 2px;
8436
8440
  }
8437
8441
 
8438
- .muka-progress--circle.muka-progress--lg .muka-progress__label {
8439
- font-size: var(--text-label-lg-semibold-fontSize);
8442
+ /* Trailing chevron: the badge opens a menu */
8443
+ .muka-profile-badge__chevron {
8444
+ flex-shrink: 0;
8440
8445
  }
8441
8446
 
8442
- /* Indeterminate animation for circle */
8443
- .muka-progress--circle.muka-progress--indeterminate .muka-progress__circle {
8444
- animation: muka-progress-circle-rotate 2s linear infinite;
8447
+ /*
8448
+ * A clickable badge with a chevron is a pill (Figma Profile Badge, Bouwplan
8449
+ * header): 4px inset on the avatar side, 12px after the chevron. The border
8450
+ * is an inset shadow so it appears on hover and while the menu is open
8451
+ * without moving the content.
8452
+ */
8453
+ .muka-profile-badge--clickable.muka-profile-badge--with-chevron {
8454
+ padding: var(--spacing-1) var(--spacing-3) var(--spacing-1) var(--spacing-1);
8455
+ border-radius: var(--radius-full);
8456
+ transition: box-shadow 0.2s ease;
8445
8457
  }
8446
8458
 
8447
- .muka-progress--circle.muka-progress--indeterminate .muka-progress__fill {
8448
- animation: muka-progress-circle-dash 1.5s ease-in-out infinite;
8459
+ .muka-profile-badge--clickable.muka-profile-badge--with-chevron:hover,
8460
+ .muka-profile-badge--clickable.muka-profile-badge--with-chevron:active {
8461
+ opacity: 1;
8449
8462
  }
8450
8463
 
8451
- @keyframes muka-progress-circle-rotate {
8452
- 100% {
8453
- transform: rotate(270deg);
8454
- }
8464
+ .muka-profile-badge--clickable.muka-profile-badge--with-chevron:hover,
8465
+ .muka-profile-badge--clickable.muka-profile-badge--with-chevron[aria-expanded='true'],
8466
+ .muka-profile-badge--clickable.muka-profile-badge--with-chevron[data-state='open'] {
8467
+ box-shadow: inset 0 0 0 var(--border-width-regular) var(--button-color-ghost-border-hover);
8455
8468
  }
8456
8469
 
8457
- @keyframes muka-progress-circle-dash {
8458
- 0% {
8459
- stroke-dashoffset: 220;
8460
- }
8461
- 50% {
8462
- stroke-dashoffset: 70;
8463
- }
8464
- 100% {
8465
- stroke-dashoffset: 220;
8466
- }
8470
+ /* A badge without an avatar keeps the 12px start inset */
8471
+ .muka-profile-badge--clickable.muka-profile-badge--with-chevron:not(:has(.muka-profile-badge__avatar)) {
8472
+ padding-left: var(--spacing-3);
8467
8473
  }
8468
8474
 
8469
8475
 
@@ -9123,220 +9129,106 @@ button.muka-progress-tracker__tab:focus-visible {
9123
9129
  display: flex;
9124
9130
  flex-wrap: wrap;
9125
9131
  gap: var(--spacing-3);
9126
- width: 100%;
9127
- margin: 0;
9128
- padding: 0;
9129
- list-style: none;
9130
- }
9131
-
9132
- .muka-photo-uploader__grid-item {
9133
- margin: 0;
9134
- padding: 0;
9135
- }
9136
-
9137
- /* ─── Drop zone card (button + "or drop here") ────────── */
9138
- .muka-photo-uploader__dropzone {
9139
- display: flex;
9140
- flex-direction: column;
9141
- align-items: center;
9142
- justify-content: center;
9143
- gap: var(--spacing-4);
9144
- width: 100%;
9145
- padding: var(--card-padding-lg);
9146
- background-color: var(--card-color-default-background);
9147
- border: var(--border-width-regular, 1px) solid var(--card-color-default-border);
9148
- border-radius: var(--border-radius-lg);
9149
- cursor: pointer;
9150
- text-align: center;
9151
- transition: background-color var(--motion-duration-micro) var(--motion-easing-enter),
9152
- border-color var(--motion-duration-micro) var(--motion-easing-enter);
9153
- }
9154
-
9155
- .muka-photo-uploader__dropzone:hover,
9156
- .muka-photo-uploader__dropzone--active {
9157
- border-color: var(--color-border-focus);
9158
- background-color: var(--color-surface-level1);
9159
- }
9160
-
9161
- .muka-photo-uploader__dropzone-text {
9162
- font-family: var(--text-subheading-sm-fontFamily);
9163
- font-size: var(--text-subheading-sm-fontSize);
9164
- font-weight: var(--text-subheading-sm-fontWeight);
9165
- line-height: var(--text-subheading-sm-lineHeight);
9166
- color: var(--color-text-default-default);
9167
- }
9168
-
9169
- /*
9170
- * Touch devices (phones, tablets without a mouse) have nothing to drag a file
9171
- * from: the card and its "or drop here" hint go, and only the button stays.
9172
- * Keyed on input capability, not width, so a narrow desktop window keeps
9173
- * its drop zone.
9174
- */
9175
- @media (hover: none) and (pointer: coarse) {
9176
- .muka-photo-uploader__dropzone {
9177
- align-items: flex-start;
9178
- padding: 0;
9179
- background-color: transparent;
9180
- border: none;
9181
- border-radius: 0;
9182
- cursor: default;
9183
- }
9184
-
9185
- .muka-photo-uploader__dropzone-text {
9186
- display: none;
9187
- }
9188
- }
9189
-
9190
- /* ─── Disabled ────────────────────────────────────────── */
9191
- .muka-photo-uploader--disabled .muka-photo-uploader__dropzone {
9192
- cursor: not-allowed;
9193
- opacity: 0.6;
9194
- }
9195
-
9196
- .muka-photo-uploader--disabled .muka-photo-uploader__dropzone:hover {
9197
- border-color: var(--card-color-default-border);
9198
- background-color: var(--card-color-default-background);
9199
- }
9200
-
9201
- /* ─── Enlarged photo dialog ───────────────────────────── */
9202
- .muka-photo-uploader__preview {
9203
- display: flex;
9204
- align-items: center;
9205
- justify-content: center;
9206
- width: 100%;
9207
- height: 100%;
9208
- }
9209
-
9210
- /* Fits the dialog while preserving the photo's original aspect ratio. */
9211
- .muka-photo-uploader__preview-image {
9212
- display: block;
9213
- max-width: 100%;
9214
- max-height: 100%;
9215
- width: auto;
9216
- height: auto;
9217
- object-fit: contain;
9218
- border-radius: var(--border-radius-lg);
9219
- }
9220
-
9221
- /* ─── Reduced motion ──────────────────────────────────── */
9222
- @media (prefers-reduced-motion: reduce) {
9223
- .muka-photo-uploader__dropzone {
9224
- transition: none;
9225
- }
9226
- }
9227
-
9228
-
9229
- /* ProfileBadge */
9230
- /* ProfileBadge Component Styles - Using Muka Design Tokens */
9231
-
9232
- .muka-profile-badge {
9233
- display: inline-flex;
9234
- max-width: 100%;
9235
- min-width: 0;
9236
- align-items: center;
9237
- font-family: var(--text-body-base-regular-fontFamily);
9238
- }
9239
-
9240
- /* Size variants */
9241
- .muka-profile-badge--lg {
9242
- gap: var(--spacing-4); /* 16px */
9243
- }
9244
-
9245
- .muka-profile-badge--md {
9246
- gap: var(--spacing-3); /* 12px */
9247
- }
9248
-
9249
- .muka-profile-badge--sm {
9250
- gap: var(--spacing-2); /* 8px */
9251
- }
9252
-
9253
- .muka-profile-badge__avatar {
9254
- flex-shrink: 0;
9255
- }
9256
-
9257
- /* Text stack */
9258
- .muka-profile-badge__text {
9259
- display: flex;
9260
- flex-direction: column;
9261
- align-items: flex-start;
9262
- min-width: 0;
9263
- }
9264
-
9265
- .muka-profile-badge__name {
9266
- max-width: 100%;
9267
- overflow: hidden;
9268
- text-overflow: ellipsis;
9269
- white-space: nowrap;
9270
- font-family: var(--text-body-base-regular-fontFamily);
9271
- font-size: var(--text-body-base-regular-fontSize);
9272
- font-weight: var(--text-body-base-regular-fontWeight);
9273
- line-height: var(--text-body-base-regular-lineHeight);
9274
- color: var(--color-text-default-default);
9275
- }
9276
-
9277
- .muka-profile-badge__email {
9278
- font-family: var(--text-body-xs-regular-fontFamily);
9279
- font-size: var(--text-body-xs-regular-fontSize);
9280
- font-weight: var(--text-body-xs-regular-fontWeight);
9281
- line-height: var(--text-body-xs-regular-lineHeight);
9282
- color: var(--color-text-subtle-default);
9283
- }
9284
-
9285
- /* Clickable state */
9286
- .muka-profile-badge--clickable {
9287
- cursor: pointer;
9288
- border: none;
9289
- background: none;
9132
+ width: 100%;
9133
+ margin: 0;
9290
9134
  padding: 0;
9291
- text-align: left;
9292
- border-radius: var(--radius-md);
9293
- transition: opacity 0.2s ease;
9135
+ list-style: none;
9294
9136
  }
9295
9137
 
9296
- .muka-profile-badge--clickable:hover {
9297
- opacity: 0.9;
9138
+ .muka-photo-uploader__grid-item {
9139
+ margin: 0;
9140
+ padding: 0;
9298
9141
  }
9299
9142
 
9300
- .muka-profile-badge--clickable:active {
9301
- opacity: 0.8;
9143
+ /* ─── Drop zone card (button + "or drop here") ────────── */
9144
+ .muka-photo-uploader__dropzone {
9145
+ display: flex;
9146
+ flex-direction: column;
9147
+ align-items: center;
9148
+ justify-content: center;
9149
+ gap: var(--spacing-4);
9150
+ width: 100%;
9151
+ padding: var(--card-padding-lg);
9152
+ background-color: var(--card-color-default-background);
9153
+ border: var(--border-width-regular, 1px) solid var(--card-color-default-border);
9154
+ border-radius: var(--border-radius-lg);
9155
+ cursor: pointer;
9156
+ text-align: center;
9157
+ transition: background-color var(--motion-duration-micro) var(--motion-easing-enter),
9158
+ border-color var(--motion-duration-micro) var(--motion-easing-enter);
9302
9159
  }
9303
9160
 
9304
- .muka-profile-badge--clickable:focus-visible {
9305
- outline: 2px solid var(--color-border-focus);
9306
- outline-offset: 2px;
9161
+ .muka-photo-uploader__dropzone:hover,
9162
+ .muka-photo-uploader__dropzone--active {
9163
+ border-color: var(--color-border-focus);
9164
+ background-color: var(--color-surface-level1);
9307
9165
  }
9308
9166
 
9309
- /* Trailing chevron: the badge opens a menu */
9310
- .muka-profile-badge__chevron {
9311
- flex-shrink: 0;
9167
+ .muka-photo-uploader__dropzone-text {
9168
+ font-family: var(--text-subheading-sm-fontFamily);
9169
+ font-size: var(--text-subheading-sm-fontSize);
9170
+ font-weight: var(--text-subheading-sm-fontWeight);
9171
+ line-height: var(--text-subheading-sm-lineHeight);
9172
+ color: var(--color-text-default-default);
9312
9173
  }
9313
9174
 
9314
9175
  /*
9315
- * A clickable badge with a chevron is a pill (Figma Profile Badge, Bouwplan
9316
- * header): 4px inset on the avatar side, 12px after the chevron. The border
9317
- * is an inset shadow so it appears on hover and while the menu is open
9318
- * without moving the content.
9176
+ * Touch devices (phones, tablets without a mouse) have nothing to drag a file
9177
+ * from: the card and its "or drop here" hint go, and only the button stays.
9178
+ * Keyed on input capability, not width, so a narrow desktop window keeps
9179
+ * its drop zone.
9319
9180
  */
9320
- .muka-profile-badge--clickable.muka-profile-badge--with-chevron {
9321
- padding: var(--spacing-1) var(--spacing-3) var(--spacing-1) var(--spacing-1);
9322
- border-radius: var(--radius-full);
9323
- transition: box-shadow 0.2s ease;
9181
+ @media (hover: none) and (pointer: coarse) {
9182
+ .muka-photo-uploader__dropzone {
9183
+ align-items: flex-start;
9184
+ padding: 0;
9185
+ background-color: transparent;
9186
+ border: none;
9187
+ border-radius: 0;
9188
+ cursor: default;
9189
+ }
9190
+
9191
+ .muka-photo-uploader__dropzone-text {
9192
+ display: none;
9193
+ }
9324
9194
  }
9325
9195
 
9326
- .muka-profile-badge--clickable.muka-profile-badge--with-chevron:hover,
9327
- .muka-profile-badge--clickable.muka-profile-badge--with-chevron:active {
9328
- opacity: 1;
9196
+ /* ─── Disabled ────────────────────────────────────────── */
9197
+ .muka-photo-uploader--disabled .muka-photo-uploader__dropzone {
9198
+ cursor: not-allowed;
9199
+ opacity: 0.6;
9329
9200
  }
9330
9201
 
9331
- .muka-profile-badge--clickable.muka-profile-badge--with-chevron:hover,
9332
- .muka-profile-badge--clickable.muka-profile-badge--with-chevron[aria-expanded='true'],
9333
- .muka-profile-badge--clickable.muka-profile-badge--with-chevron[data-state='open'] {
9334
- box-shadow: inset 0 0 0 var(--border-width-regular) var(--button-color-ghost-border-hover);
9202
+ .muka-photo-uploader--disabled .muka-photo-uploader__dropzone:hover {
9203
+ border-color: var(--card-color-default-border);
9204
+ background-color: var(--card-color-default-background);
9335
9205
  }
9336
9206
 
9337
- /* A badge without an avatar keeps the 12px start inset */
9338
- .muka-profile-badge--clickable.muka-profile-badge--with-chevron:not(:has(.muka-profile-badge__avatar)) {
9339
- padding-left: var(--spacing-3);
9207
+ /* ─── Enlarged photo dialog ───────────────────────────── */
9208
+ .muka-photo-uploader__preview {
9209
+ display: flex;
9210
+ align-items: center;
9211
+ justify-content: center;
9212
+ width: 100%;
9213
+ height: 100%;
9214
+ }
9215
+
9216
+ /* Fits the dialog while preserving the photo's original aspect ratio. */
9217
+ .muka-photo-uploader__preview-image {
9218
+ display: block;
9219
+ max-width: 100%;
9220
+ max-height: 100%;
9221
+ width: auto;
9222
+ height: auto;
9223
+ object-fit: contain;
9224
+ border-radius: var(--border-radius-lg);
9225
+ }
9226
+
9227
+ /* ─── Reduced motion ──────────────────────────────────── */
9228
+ @media (prefers-reduced-motion: reduce) {
9229
+ .muka-photo-uploader__dropzone {
9230
+ transition: none;
9231
+ }
9340
9232
  }
9341
9233
 
9342
9234
 
@@ -11665,154 +11557,13 @@ li.muka-listitem {
11665
11557
  .muka-fileupload-item__status-icon--error {
11666
11558
  color: var(--fileupload-item-color-error-foreground);
11667
11559
  }
11668
-
11669
- .muka-fileupload-item__remove {
11670
- opacity: 0.7;
11671
- }
11672
-
11673
- .muka-fileupload-item__remove:hover {
11674
- opacity: 1;
11675
- }
11676
-
11677
-
11678
- /* EmptyState */
11679
- /* EmptyState Component Styles - Using Muka Design Tokens */
11680
-
11681
- .muka-emptystate {
11682
- display: flex;
11683
- flex-direction: column;
11684
- align-items: center;
11685
- justify-content: center;
11686
- gap: var(--emptystate-container-gap);
11687
- max-width: var(--emptystate-container-maxWidth);
11688
- margin: 0 auto;
11689
- text-align: center;
11690
- }
11691
-
11692
- /* Alignment variants */
11693
- .muka-emptystate--left {
11694
- align-items: flex-start;
11695
- text-align: left;
11696
- }
11697
-
11698
- /* Size variants */
11699
- .muka-emptystate--sm {
11700
- padding: var(--emptystate-container-padding-sm);
11701
- }
11702
-
11703
- .muka-emptystate--md {
11704
- padding: var(--emptystate-container-padding-md);
11705
- }
11706
-
11707
- .muka-emptystate--lg {
11708
- padding: var(--emptystate-container-padding-lg);
11709
- }
11710
-
11711
- /* Visual (icon or illustration) */
11712
- .muka-emptystate__visual {
11713
- display: flex;
11714
- align-items: center;
11715
- justify-content: center;
11716
- color: var(--emptystate-icon-color);
11717
- flex-shrink: 0;
11718
- }
11719
-
11720
- .muka-emptystate--sm .muka-emptystate__visual {
11721
- width: var(--emptystate-icon-size-sm);
11722
- height: var(--emptystate-icon-size-sm);
11723
- }
11724
-
11725
- .muka-emptystate--md .muka-emptystate__visual {
11726
- width: var(--emptystate-icon-size-md);
11727
- height: var(--emptystate-icon-size-md);
11728
- }
11729
-
11730
- .muka-emptystate--lg .muka-emptystate__visual {
11731
- width: var(--emptystate-icon-size-lg);
11732
- height: var(--emptystate-icon-size-lg);
11733
- }
11734
-
11735
- .muka-emptystate__visual svg {
11736
- width: 100%;
11737
- height: 100%;
11738
- }
11739
-
11740
- .muka-emptystate__visual img {
11741
- width: 100%;
11742
- height: 100%;
11743
- object-fit: contain;
11744
- }
11745
-
11746
- /* Content */
11747
- .muka-emptystate__content {
11748
- display: flex;
11749
- flex-direction: column;
11750
- gap: var(--spacing-2);
11751
- }
11752
-
11753
- .muka-emptystate--left .muka-emptystate__content {
11754
- align-items: flex-start;
11755
- }
11756
-
11757
- /* Title */
11758
- .muka-emptystate__title {
11759
- color: var(--emptystate-title-color);
11760
- margin: 0;
11761
- font-family: var(--text-heading-sm-fontFamily);
11762
- font-weight: var(--text-heading-sm-fontWeight);
11763
- font-size: var(--text-heading-sm-fontSize);
11764
- line-height: var(--text-heading-sm-lineHeight);
11765
- }
11766
-
11767
- .muka-emptystate--sm .muka-emptystate__title {
11768
- font-family: var(--text-label-lg-semibold-fontFamily);
11769
- font-weight: var(--text-label-lg-semibold-fontWeight);
11770
- font-size: var(--text-label-lg-semibold-fontSize);
11771
- line-height: var(--text-label-lg-semibold-lineHeight);
11772
- }
11773
-
11774
- .muka-emptystate--lg .muka-emptystate__title {
11775
- font-family: var(--text-heading-md-fontFamily);
11776
- font-weight: var(--text-heading-md-fontWeight);
11777
- font-size: var(--text-heading-md-fontSize);
11778
- line-height: var(--text-heading-md-lineHeight);
11779
- }
11780
-
11781
- /* Description */
11782
- .muka-emptystate__description {
11783
- color: var(--emptystate-description-color);
11784
- margin: 0;
11785
- font-family: var(--text-body-sm-regular-fontFamily);
11786
- font-weight: var(--text-body-sm-regular-fontWeight);
11787
- font-size: var(--text-body-sm-regular-fontSize);
11788
- line-height: var(--text-body-sm-regular-lineHeight);
11789
- }
11790
-
11791
- .muka-emptystate--md .muka-emptystate__description {
11792
- font-family: var(--text-body-base-regular-fontFamily);
11793
- font-weight: var(--text-body-base-regular-fontWeight);
11794
- font-size: var(--text-body-base-regular-fontSize);
11795
- line-height: var(--text-body-base-regular-lineHeight);
11796
- }
11797
-
11798
- .muka-emptystate--lg .muka-emptystate__description {
11799
- font-family: var(--text-body-lg-regular-fontFamily);
11800
- font-weight: var(--text-body-lg-regular-fontWeight);
11801
- font-size: var(--text-body-lg-regular-fontSize);
11802
- line-height: var(--text-body-lg-regular-lineHeight);
11803
- }
11804
-
11805
- /* Actions */
11806
- .muka-emptystate__actions {
11807
- display: flex;
11808
- gap: var(--emptystate-actions-gap);
11809
- margin-top: var(--emptystate-actions-marginTop);
11810
- flex-wrap: wrap;
11811
- justify-content: center;
11560
+
11561
+ .muka-fileupload-item__remove {
11562
+ opacity: 0.7;
11812
11563
  }
11813
11564
 
11814
- .muka-emptystate--left .muka-emptystate__actions {
11815
- justify-content: flex-start;
11565
+ .muka-fileupload-item__remove:hover {
11566
+ opacity: 1;
11816
11567
  }
11817
11568
 
11818
11569
 
@@ -11957,6 +11708,147 @@ li.muka-listitem {
11957
11708
  }
11958
11709
 
11959
11710
 
11711
+ /* EmptyState */
11712
+ /* EmptyState Component Styles - Using Muka Design Tokens */
11713
+
11714
+ .muka-emptystate {
11715
+ display: flex;
11716
+ flex-direction: column;
11717
+ align-items: center;
11718
+ justify-content: center;
11719
+ gap: var(--emptystate-container-gap);
11720
+ max-width: var(--emptystate-container-maxWidth);
11721
+ margin: 0 auto;
11722
+ text-align: center;
11723
+ }
11724
+
11725
+ /* Alignment variants */
11726
+ .muka-emptystate--left {
11727
+ align-items: flex-start;
11728
+ text-align: left;
11729
+ }
11730
+
11731
+ /* Size variants */
11732
+ .muka-emptystate--sm {
11733
+ padding: var(--emptystate-container-padding-sm);
11734
+ }
11735
+
11736
+ .muka-emptystate--md {
11737
+ padding: var(--emptystate-container-padding-md);
11738
+ }
11739
+
11740
+ .muka-emptystate--lg {
11741
+ padding: var(--emptystate-container-padding-lg);
11742
+ }
11743
+
11744
+ /* Visual (icon or illustration) */
11745
+ .muka-emptystate__visual {
11746
+ display: flex;
11747
+ align-items: center;
11748
+ justify-content: center;
11749
+ color: var(--emptystate-icon-color);
11750
+ flex-shrink: 0;
11751
+ }
11752
+
11753
+ .muka-emptystate--sm .muka-emptystate__visual {
11754
+ width: var(--emptystate-icon-size-sm);
11755
+ height: var(--emptystate-icon-size-sm);
11756
+ }
11757
+
11758
+ .muka-emptystate--md .muka-emptystate__visual {
11759
+ width: var(--emptystate-icon-size-md);
11760
+ height: var(--emptystate-icon-size-md);
11761
+ }
11762
+
11763
+ .muka-emptystate--lg .muka-emptystate__visual {
11764
+ width: var(--emptystate-icon-size-lg);
11765
+ height: var(--emptystate-icon-size-lg);
11766
+ }
11767
+
11768
+ .muka-emptystate__visual svg {
11769
+ width: 100%;
11770
+ height: 100%;
11771
+ }
11772
+
11773
+ .muka-emptystate__visual img {
11774
+ width: 100%;
11775
+ height: 100%;
11776
+ object-fit: contain;
11777
+ }
11778
+
11779
+ /* Content */
11780
+ .muka-emptystate__content {
11781
+ display: flex;
11782
+ flex-direction: column;
11783
+ gap: var(--spacing-2);
11784
+ }
11785
+
11786
+ .muka-emptystate--left .muka-emptystate__content {
11787
+ align-items: flex-start;
11788
+ }
11789
+
11790
+ /* Title */
11791
+ .muka-emptystate__title {
11792
+ color: var(--emptystate-title-color);
11793
+ margin: 0;
11794
+ font-family: var(--text-heading-sm-fontFamily);
11795
+ font-weight: var(--text-heading-sm-fontWeight);
11796
+ font-size: var(--text-heading-sm-fontSize);
11797
+ line-height: var(--text-heading-sm-lineHeight);
11798
+ }
11799
+
11800
+ .muka-emptystate--sm .muka-emptystate__title {
11801
+ font-family: var(--text-label-lg-semibold-fontFamily);
11802
+ font-weight: var(--text-label-lg-semibold-fontWeight);
11803
+ font-size: var(--text-label-lg-semibold-fontSize);
11804
+ line-height: var(--text-label-lg-semibold-lineHeight);
11805
+ }
11806
+
11807
+ .muka-emptystate--lg .muka-emptystate__title {
11808
+ font-family: var(--text-heading-md-fontFamily);
11809
+ font-weight: var(--text-heading-md-fontWeight);
11810
+ font-size: var(--text-heading-md-fontSize);
11811
+ line-height: var(--text-heading-md-lineHeight);
11812
+ }
11813
+
11814
+ /* Description */
11815
+ .muka-emptystate__description {
11816
+ color: var(--emptystate-description-color);
11817
+ margin: 0;
11818
+ font-family: var(--text-body-sm-regular-fontFamily);
11819
+ font-weight: var(--text-body-sm-regular-fontWeight);
11820
+ font-size: var(--text-body-sm-regular-fontSize);
11821
+ line-height: var(--text-body-sm-regular-lineHeight);
11822
+ }
11823
+
11824
+ .muka-emptystate--md .muka-emptystate__description {
11825
+ font-family: var(--text-body-base-regular-fontFamily);
11826
+ font-weight: var(--text-body-base-regular-fontWeight);
11827
+ font-size: var(--text-body-base-regular-fontSize);
11828
+ line-height: var(--text-body-base-regular-lineHeight);
11829
+ }
11830
+
11831
+ .muka-emptystate--lg .muka-emptystate__description {
11832
+ font-family: var(--text-body-lg-regular-fontFamily);
11833
+ font-weight: var(--text-body-lg-regular-fontWeight);
11834
+ font-size: var(--text-body-lg-regular-fontSize);
11835
+ line-height: var(--text-body-lg-regular-lineHeight);
11836
+ }
11837
+
11838
+ /* Actions */
11839
+ .muka-emptystate__actions {
11840
+ display: flex;
11841
+ gap: var(--emptystate-actions-gap);
11842
+ margin-top: var(--emptystate-actions-marginTop);
11843
+ flex-wrap: wrap;
11844
+ justify-content: center;
11845
+ }
11846
+
11847
+ .muka-emptystate--left .muka-emptystate__actions {
11848
+ justify-content: flex-start;
11849
+ }
11850
+
11851
+
11960
11852
  /* EmojiPicker */
11961
11853
  /* EmojiPicker Component Styles */
11962
11854
 
@@ -18396,3 +18288,111 @@ button.muka-chat-photo-grid__tile:focus-visible {
18396
18288
  border-bottom: none;
18397
18289
  }
18398
18290
 
18291
+
18292
+ /* SwipeActions */
18293
+ /* SwipeActions Component Styles */
18294
+
18295
+ .muka-swipe-actions {
18296
+ position: relative;
18297
+ overflow: hidden;
18298
+ touch-action: pan-y;
18299
+ -webkit-user-select: none;
18300
+ user-select: none;
18301
+ background-color: var(--color-surface-level3);
18302
+ }
18303
+
18304
+ .muka-swipe-actions--disabled {
18305
+ touch-action: auto;
18306
+ }
18307
+
18308
+ /* ─── Row that holds the actual content ────────────────── */
18309
+
18310
+ .muka-swipe-actions__row {
18311
+ position: relative;
18312
+ z-index: 1;
18313
+ background-color: inherit;
18314
+ will-change: transform;
18315
+ }
18316
+
18317
+ /* ─── Action panels — sit beneath the row ──────────────── */
18318
+
18319
+ .muka-swipe-actions__panel {
18320
+ position: absolute;
18321
+ top: 0;
18322
+ bottom: 0;
18323
+ display: flex;
18324
+ align-items: stretch;
18325
+ z-index: 0;
18326
+ }
18327
+
18328
+ .muka-swipe-actions__panel--left {
18329
+ left: 0;
18330
+ }
18331
+
18332
+ .muka-swipe-actions__panel--right {
18333
+ right: 0;
18334
+ }
18335
+
18336
+ /* ─── Single action button ─────────────────────────────── */
18337
+
18338
+ .muka-swipe-actions__button {
18339
+ display: flex;
18340
+ flex-direction: column;
18341
+ align-items: center;
18342
+ justify-content: center;
18343
+ gap: var(--spacing-1);
18344
+ border: none;
18345
+ cursor: pointer;
18346
+ padding: var(--spacing-2);
18347
+ background-color: var(--color-surface-level2);
18348
+ color: var(--color-text-default-default);
18349
+ font-family: var(--text-label-sm-semibold-fontFamily);
18350
+ font-weight: var(--text-label-sm-semibold-fontWeight);
18351
+ font-size: var(--text-label-sm-semibold-fontSize);
18352
+ line-height: var(--text-label-sm-semibold-lineHeight);
18353
+ -webkit-tap-highlight-color: transparent;
18354
+ transition: filter 0.12s ease;
18355
+ }
18356
+
18357
+ .muka-swipe-actions__button:hover {
18358
+ filter: brightness(0.95);
18359
+ }
18360
+
18361
+ .muka-swipe-actions__button:focus-visible {
18362
+ outline: 2px solid var(--color-action-default);
18363
+ outline-offset: -2px;
18364
+ }
18365
+
18366
+ .muka-swipe-actions__button-icon {
18367
+ display: inline-flex;
18368
+ align-items: center;
18369
+ justify-content: center;
18370
+ }
18371
+
18372
+ /* ─── Color variants ───────────────────────────────────── */
18373
+
18374
+ .muka-swipe-actions__button--neutral {
18375
+ background-color: var(--color-surface-level2);
18376
+ color: var(--color-text-default-default);
18377
+ }
18378
+
18379
+ .muka-swipe-actions__button--primary {
18380
+ background-color: var(--color-action-default);
18381
+ color: var(--color-text-default-inverse);
18382
+ }
18383
+
18384
+ .muka-swipe-actions__button--success {
18385
+ background-color: var(--color-state-success-default);
18386
+ color: var(--color-text-default-inverse);
18387
+ }
18388
+
18389
+ .muka-swipe-actions__button--warning {
18390
+ background-color: var(--color-state-warning-default);
18391
+ color: var(--color-text-default-default);
18392
+ }
18393
+
18394
+ .muka-swipe-actions__button--destructive {
18395
+ background-color: var(--color-state-error-default);
18396
+ color: var(--color-text-default-inverse);
18397
+ }
18398
+