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