@revikornmann/muka-ui 0.61.0 → 0.62.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -5442,6 +5442,81 @@ body {
5442
5442
  }
5443
5443
 
5444
5444
 
5445
+ /* Skeleton */
5446
+ /* Skeleton Component Styles */
5447
+
5448
+ .muka-skeleton {
5449
+ background-color: var(--color-surface-level1);
5450
+ display: block;
5451
+ }
5452
+
5453
+ /* Variants */
5454
+ .muka-skeleton--text {
5455
+ height: 1em;
5456
+ border-radius: var(--radius-md);
5457
+ width: 100%;
5458
+ }
5459
+
5460
+ .muka-skeleton--circular {
5461
+ width: 2.5rem;
5462
+ height: 2.5rem;
5463
+ border-radius: var(--radius-full);
5464
+ }
5465
+
5466
+ .muka-skeleton--rectangular {
5467
+ height: 7.5rem;
5468
+ border-radius: var(--radius-md);
5469
+ width: 100%;
5470
+ }
5471
+
5472
+ /* Last line in multi-line text is shorter */
5473
+ .muka-skeleton--last-line {
5474
+ width: 80%;
5475
+ }
5476
+
5477
+ /* Lines container */
5478
+ .muka-skeleton__lines {
5479
+ display: flex;
5480
+ flex-direction: column;
5481
+ gap: var(--spacing-2);
5482
+ }
5483
+
5484
+ /* Shimmer animation */
5485
+ @keyframes muka-skeleton-shimmer {
5486
+ 0% {
5487
+ background-position: -200% 0;
5488
+ }
5489
+ 100% {
5490
+ background-position: 200% 0;
5491
+ }
5492
+ }
5493
+
5494
+ .muka-skeleton--shimmer {
5495
+ background: linear-gradient(
5496
+ 90deg,
5497
+ var(--color-surface-level1) 25%,
5498
+ var(--color-surface-level2) 50%,
5499
+ var(--color-surface-level1) 75%
5500
+ );
5501
+ background-size: 200% 100%;
5502
+ animation: muka-skeleton-shimmer 1.5s ease-in-out infinite;
5503
+ }
5504
+
5505
+ /* Pulse animation */
5506
+ @keyframes muka-skeleton-pulse {
5507
+ 0%, 100% {
5508
+ opacity: 1;
5509
+ }
5510
+ 50% {
5511
+ opacity: 0.4;
5512
+ }
5513
+ }
5514
+
5515
+ .muka-skeleton--pulse {
5516
+ animation: muka-skeleton-pulse 1.5s ease-in-out infinite;
5517
+ }
5518
+
5519
+
5445
5520
  /* SmsOtpField */
5446
5521
  /* SmsOtpField Component Styles - Using Muka Design Tokens */
5447
5522
 
@@ -5634,81 +5709,6 @@ body {
5634
5709
  }
5635
5710
 
5636
5711
 
5637
- /* Skeleton */
5638
- /* Skeleton Component Styles */
5639
-
5640
- .muka-skeleton {
5641
- background-color: var(--color-surface-level1);
5642
- display: block;
5643
- }
5644
-
5645
- /* Variants */
5646
- .muka-skeleton--text {
5647
- height: 1em;
5648
- border-radius: var(--radius-md);
5649
- width: 100%;
5650
- }
5651
-
5652
- .muka-skeleton--circular {
5653
- width: 2.5rem;
5654
- height: 2.5rem;
5655
- border-radius: var(--radius-full);
5656
- }
5657
-
5658
- .muka-skeleton--rectangular {
5659
- height: 7.5rem;
5660
- border-radius: var(--radius-md);
5661
- width: 100%;
5662
- }
5663
-
5664
- /* Last line in multi-line text is shorter */
5665
- .muka-skeleton--last-line {
5666
- width: 80%;
5667
- }
5668
-
5669
- /* Lines container */
5670
- .muka-skeleton__lines {
5671
- display: flex;
5672
- flex-direction: column;
5673
- gap: var(--spacing-2);
5674
- }
5675
-
5676
- /* Shimmer animation */
5677
- @keyframes muka-skeleton-shimmer {
5678
- 0% {
5679
- background-position: -200% 0;
5680
- }
5681
- 100% {
5682
- background-position: 200% 0;
5683
- }
5684
- }
5685
-
5686
- .muka-skeleton--shimmer {
5687
- background: linear-gradient(
5688
- 90deg,
5689
- var(--color-surface-level1) 25%,
5690
- var(--color-surface-level2) 50%,
5691
- var(--color-surface-level1) 75%
5692
- );
5693
- background-size: 200% 100%;
5694
- animation: muka-skeleton-shimmer 1.5s ease-in-out infinite;
5695
- }
5696
-
5697
- /* Pulse animation */
5698
- @keyframes muka-skeleton-pulse {
5699
- 0%, 100% {
5700
- opacity: 1;
5701
- }
5702
- 50% {
5703
- opacity: 0.4;
5704
- }
5705
- }
5706
-
5707
- .muka-skeleton--pulse {
5708
- animation: muka-skeleton-pulse 1.5s ease-in-out infinite;
5709
- }
5710
-
5711
-
5712
5712
  /* SiteHeader */
5713
5713
  /* SiteHeader Component Styles */
5714
5714
 
@@ -5854,88 +5854,6 @@ body {
5854
5854
  }
5855
5855
 
5856
5856
 
5857
- /* Sheet */
5858
- /* Sheet Component Styles */
5859
-
5860
- /* ─── Backdrop ────────────────────────────────────────── */
5861
-
5862
- .muka-sheet__overlay {
5863
- position: fixed;
5864
- inset: 0;
5865
- background-color: var(--color-surface-backdrop);
5866
- -webkit-backdrop-filter: blur(var(--effect-blur-backdrop));
5867
- backdrop-filter: blur(var(--effect-blur-backdrop));
5868
- z-index: 50;
5869
- }
5870
-
5871
- /* ─── Surface ─────────────────────────────────────────── */
5872
-
5873
- .muka-sheet {
5874
- position: fixed;
5875
- left: 0;
5876
- right: 0;
5877
- bottom: 0;
5878
- z-index: 51;
5879
-
5880
- display: flex;
5881
- flex-direction: column;
5882
-
5883
- max-height: 96dvh;
5884
-
5885
- background-color: var(--color-surface-level3);
5886
- border-top-left-radius: var(--radius-lg);
5887
- border-top-right-radius: var(--radius-lg);
5888
- box-shadow: var(--shadow-level5);
5889
-
5890
- outline: none;
5891
- }
5892
-
5893
- /* Safe-area bottom inset for the iPhone home indicator. */
5894
- .muka-sheet:not(.muka-sheet--no-safe-area) {
5895
- padding-bottom: env(safe-area-inset-bottom);
5896
- }
5897
-
5898
- /* ─── Drag handle ─────────────────────────────────────── */
5899
-
5900
- .muka-sheet__handle-container {
5901
- display: flex;
5902
- justify-content: center;
5903
- flex-shrink: 0;
5904
- padding: var(--spacing-3) 0;
5905
- }
5906
-
5907
- .muka-sheet__handle {
5908
- width: var(--dialog-drag-handle-width);
5909
- height: var(--dialog-drag-handle-height);
5910
- background-color: var(--dialog-drag-handle-color);
5911
- border-radius: var(--dialog-drag-handle-radius);
5912
- }
5913
-
5914
- /* ─── Body (scrollable) ───────────────────────────────── */
5915
-
5916
- .muka-sheet__body {
5917
- flex: 1 1 0%;
5918
- min-height: 0;
5919
- overflow-y: auto;
5920
- -webkit-overflow-scrolling: touch;
5921
- overscroll-behavior: contain;
5922
- }
5923
-
5924
- /* ─── Visually-hidden title (a11y) ────────────────────── */
5925
-
5926
- .muka-sheet__sr-title {
5927
- position: absolute;
5928
- width: 1px;
5929
- height: 1px;
5930
- padding: 0;
5931
- margin: -1px;
5932
- overflow: hidden;
5933
- clip: rect(0, 0, 0, 0);
5934
- white-space: nowrap;
5935
- border: 0;
5936
- }
5937
-
5938
-
5939
5857
  /* Select */
5940
5858
  /* Select Component Styles - Aligned with Input for consistency */
5941
5859
 
@@ -6341,22 +6259,104 @@ body {
6341
6259
  }
6342
6260
 
6343
6261
 
6344
- /* SearchInput */
6345
- /* SearchInput Component Styles */
6262
+ /* Sheet */
6263
+ /* Sheet Component Styles */
6346
6264
 
6347
- .muka-search-input {
6348
- display: flex;
6349
- align-items: center;
6350
- gap: var(--spacing-3);
6351
- width: 100%;
6265
+ /* ─── Backdrop ────────────────────────────────────────── */
6266
+
6267
+ .muka-sheet__overlay {
6268
+ position: fixed;
6269
+ inset: 0;
6270
+ background-color: var(--color-surface-backdrop);
6271
+ -webkit-backdrop-filter: blur(var(--effect-blur-backdrop));
6272
+ backdrop-filter: blur(var(--effect-blur-backdrop));
6273
+ z-index: 50;
6352
6274
  }
6353
6275
 
6354
- /* ─── Field wrapper ───────────────────────────────────── */
6276
+ /* ─── Surface ─────────────────────────────────────────── */
6355
6277
 
6356
- .muka-search-input__field {
6357
- flex: 1 1 auto;
6358
- display: flex;
6359
- align-items: center;
6278
+ .muka-sheet {
6279
+ position: fixed;
6280
+ left: 0;
6281
+ right: 0;
6282
+ bottom: 0;
6283
+ z-index: 51;
6284
+
6285
+ display: flex;
6286
+ flex-direction: column;
6287
+
6288
+ max-height: 96dvh;
6289
+
6290
+ background-color: var(--color-surface-level3);
6291
+ border-top-left-radius: var(--radius-lg);
6292
+ border-top-right-radius: var(--radius-lg);
6293
+ box-shadow: var(--shadow-level5);
6294
+
6295
+ outline: none;
6296
+ }
6297
+
6298
+ /* Safe-area bottom inset for the iPhone home indicator. */
6299
+ .muka-sheet:not(.muka-sheet--no-safe-area) {
6300
+ padding-bottom: env(safe-area-inset-bottom);
6301
+ }
6302
+
6303
+ /* ─── Drag handle ─────────────────────────────────────── */
6304
+
6305
+ .muka-sheet__handle-container {
6306
+ display: flex;
6307
+ justify-content: center;
6308
+ flex-shrink: 0;
6309
+ padding: var(--spacing-3) 0;
6310
+ }
6311
+
6312
+ .muka-sheet__handle {
6313
+ width: var(--dialog-drag-handle-width);
6314
+ height: var(--dialog-drag-handle-height);
6315
+ background-color: var(--dialog-drag-handle-color);
6316
+ border-radius: var(--dialog-drag-handle-radius);
6317
+ }
6318
+
6319
+ /* ─── Body (scrollable) ───────────────────────────────── */
6320
+
6321
+ .muka-sheet__body {
6322
+ flex: 1 1 0%;
6323
+ min-height: 0;
6324
+ overflow-y: auto;
6325
+ -webkit-overflow-scrolling: touch;
6326
+ overscroll-behavior: contain;
6327
+ }
6328
+
6329
+ /* ─── Visually-hidden title (a11y) ────────────────────── */
6330
+
6331
+ .muka-sheet__sr-title {
6332
+ position: absolute;
6333
+ width: 1px;
6334
+ height: 1px;
6335
+ padding: 0;
6336
+ margin: -1px;
6337
+ overflow: hidden;
6338
+ clip: rect(0, 0, 0, 0);
6339
+ white-space: nowrap;
6340
+ border: 0;
6341
+ }
6342
+
6343
+
6344
+ /* SearchInput */
6345
+ /* SearchInput Component Styles */
6346
+
6347
+ .muka-search-input {
6348
+ display: flex;
6349
+ align-items: center;
6350
+ gap: var(--spacing-3);
6351
+ width: 100%;
6352
+ }
6353
+
6354
+ /* ─── Field wrapper ───────────────────────────────────── */
6355
+
6356
+ .muka-search-input__field {
6357
+ flex: 1 1 auto;
6358
+ display: flex;
6359
+ align-items: center;
6360
6360
  gap: var(--spacing-2);
6361
6361
  background-color: var(--input-field-color-default-background);
6362
6362
  border: var(--border-width-regular) solid var(--input-field-color-default-border);
@@ -6510,56 +6510,6 @@ body {
6510
6510
  }
6511
6511
 
6512
6512
 
6513
- /* RecordingBar */
6514
- /* RecordingBar Component Styles */
6515
-
6516
- .muka-recording-bar {
6517
- display: flex;
6518
- align-items: center;
6519
- gap: var(--spacing-3);
6520
- width: 100%;
6521
- min-width: 0;
6522
- }
6523
-
6524
- .muka-recording-bar__dot {
6525
- flex: 0 0 auto;
6526
- width: 0.625rem;
6527
- height: 0.625rem;
6528
- border-radius: var(--radius-full, 9999px);
6529
- background: var(--alert-color-error-accent, var(--color-text-default-default));
6530
- animation: muka-recording-bar-pulse 1s ease-in-out infinite;
6531
- }
6532
-
6533
- .muka-recording-bar__time {
6534
- flex: 0 0 auto;
6535
- font-size: var(--text-label-sm-regular-fontSize);
6536
- line-height: var(--text-label-sm-leading);
6537
- font-variant-numeric: tabular-nums;
6538
- color: var(--color-text-default-default);
6539
- }
6540
-
6541
- .muka-recording-bar__wave {
6542
- flex: 1 1 auto;
6543
- min-width: 0;
6544
- }
6545
-
6546
- @keyframes muka-recording-bar-pulse {
6547
- 0%,
6548
- 100% {
6549
- opacity: 1;
6550
- }
6551
- 50% {
6552
- opacity: 0.3;
6553
- }
6554
- }
6555
-
6556
- @media (prefers-reduced-motion: reduce) {
6557
- .muka-recording-bar__dot {
6558
- animation: none;
6559
- }
6560
- }
6561
-
6562
-
6563
6513
  /* Scrollbar */
6564
6514
  /* Scrollbar — Figma menu scrollbar (32px rail, chevrons, grip thumb) */
6565
6515
 
@@ -6903,178 +6853,84 @@ body {
6903
6853
  }
6904
6854
 
6905
6855
 
6906
- /* Radio */
6907
- /* Radio Component Styles - Using Muka Design Tokens */
6856
+ /* RecordingBar */
6857
+ /* RecordingBar Component Styles */
6908
6858
 
6909
- /* Wrapper - clickable label container */
6910
- .muka-radio {
6911
- display: inline-flex;
6859
+ .muka-recording-bar {
6860
+ display: flex;
6912
6861
  align-items: center;
6913
- gap: var(--spacing-4);
6914
- cursor: pointer;
6915
- user-select: none;
6862
+ gap: var(--spacing-3);
6863
+ width: 100%;
6864
+ min-width: 0;
6916
6865
  }
6917
6866
 
6918
- .muka-radio--disabled {
6919
- cursor: not-allowed;
6920
- opacity: 0.6;
6867
+ .muka-recording-bar__dot {
6868
+ flex: 0 0 auto;
6869
+ width: 0.625rem;
6870
+ height: 0.625rem;
6871
+ border-radius: var(--radius-full, 9999px);
6872
+ background: var(--alert-color-error-accent, var(--color-text-default-default));
6873
+ animation: muka-recording-bar-pulse 1s ease-in-out infinite;
6921
6874
  }
6922
6875
 
6923
- /* Control container */
6924
- .muka-radio__control {
6925
- position: relative;
6926
- display: inline-flex;
6927
- align-items: center;
6928
- justify-content: center;
6929
- flex-shrink: 0;
6876
+ .muka-recording-bar__time {
6877
+ flex: 0 0 auto;
6878
+ font-size: var(--text-label-sm-regular-fontSize);
6879
+ line-height: var(--text-label-sm-leading);
6880
+ font-variant-numeric: tabular-nums;
6881
+ color: var(--color-text-default-default);
6930
6882
  }
6931
6883
 
6932
- /* Hidden native input */
6933
- .muka-radio__input {
6934
- position: absolute;
6935
- width: 1px;
6936
- height: 1px;
6937
- padding: 0;
6938
- margin: -1px;
6939
- overflow: hidden;
6940
- clip: rect(0, 0, 0, 0);
6941
- white-space: nowrap;
6942
- border: 0;
6884
+ .muka-recording-bar__wave {
6885
+ flex: 1 1 auto;
6886
+ min-width: 0;
6943
6887
  }
6944
6888
 
6945
- /* Visual indicator (circle) */
6946
- .muka-radio__indicator {
6947
- display: flex;
6948
- align-items: center;
6949
- justify-content: center;
6950
- width: var(--radio-size-default);
6951
- height: var(--radio-size-default);
6952
- border-radius: var(--border-radius-full);
6953
- background-color: var(--radio-color-default-background);
6954
- border: var(--border-width-regular) solid var(--radio-color-default-border);
6955
- transition: all 0.15s ease;
6956
- box-shadow: inset 0 1px 2px 0 rgba(26, 26, 26, 0.15);
6889
+ @keyframes muka-recording-bar-pulse {
6890
+ 0%,
6891
+ 100% {
6892
+ opacity: 1;
6893
+ }
6894
+ 50% {
6895
+ opacity: 0.3;
6896
+ }
6957
6897
  }
6958
6898
 
6959
- /* Size variants */
6960
- .muka-radio--sm .muka-radio__indicator {
6961
- width: var(--radio-size-sm);
6962
- height: var(--radio-size-sm);
6899
+ @media (prefers-reduced-motion: reduce) {
6900
+ .muka-recording-bar__dot {
6901
+ animation: none;
6902
+ }
6963
6903
  }
6964
6904
 
6965
- .muka-radio--lg .muka-radio__indicator {
6966
- width: var(--radio-size-lg);
6967
- height: var(--radio-size-lg);
6968
- }
6969
6905
 
6970
- /* Inner dot (shown when checked) */
6971
- .muka-radio__dot {
6972
- width: var(--radio-dot-size-default);
6973
- height: var(--radio-dot-size-default);
6974
- border-radius: var(--border-radius-full);
6975
- background-color: var(--radio-color-default-dot);
6976
- transform: scale(0);
6977
- transition: transform 0.15s ease;
6978
- }
6906
+ /* RadioTile */
6907
+ /* RadioTile Component Styles - Using Muka Design Tokens */
6979
6908
 
6980
- .muka-radio--sm .muka-radio__dot {
6981
- width: var(--radio-dot-size-sm);
6982
- height: var(--radio-dot-size-sm);
6909
+ /* Base tile styles - horizontal */
6910
+ .muka-radio-tile {
6911
+ display: flex;
6912
+ align-items: center;
6913
+ gap: var(--spacing-4);
6914
+ padding: var(--spacing-4);
6915
+ border: var(--border-width-regular) solid var(--input-field-color-default-border);
6916
+ border-radius: var(--input-field-radius-lg);
6917
+ background-color: var(--color-surface-level3);
6918
+ cursor: pointer;
6919
+ transition: border-color 0.15s ease, border-width 0.15s ease;
6920
+ overflow: hidden;
6921
+ box-sizing: border-box;
6983
6922
  }
6984
6923
 
6985
- .muka-radio--lg .muka-radio__dot {
6986
- width: var(--radio-dot-size-lg);
6987
- height: var(--radio-dot-size-lg);
6924
+ .muka-radio-tile--disabled {
6925
+ cursor: not-allowed;
6926
+ opacity: 0.6;
6988
6927
  }
6989
6928
 
6990
- /* Hover state - removed per design */
6991
-
6992
- /* Focus state */
6993
- .muka-radio__input:focus-visible + .muka-radio__indicator {
6994
- outline: 2px solid var(--color-border-focus);
6995
- outline-offset: 2px;
6996
- }
6997
-
6998
- /* Checked state */
6999
- .muka-radio__input:checked + .muka-radio__indicator {
7000
- background-color: var(--radio-color-checked-background);
7001
- border-width: var(--border-width-bold);
7002
- border-color: var(--radio-color-checked-border);
7003
- box-shadow: none;
7004
- }
7005
-
7006
- .muka-radio__input:checked + .muka-radio__indicator .muka-radio__dot {
7007
- background-color: var(--radio-color-checked-dot);
7008
- transform: scale(1);
7009
- }
7010
-
7011
- /* Disabled state */
7012
- .muka-radio--disabled .muka-radio__indicator {
7013
- background-color: var(--radio-color-disabled-background);
7014
- border-color: var(--radio-color-disabled-border);
7015
- box-shadow: none;
7016
- }
7017
-
7018
- .muka-radio__input:disabled:checked + .muka-radio__indicator .muka-radio__dot {
7019
- background-color: var(--radio-color-disabled-dot);
7020
- }
7021
-
7022
- /* Label text */
7023
- .muka-radio__label {
7024
- font-family: var(--text-label-lg-regular-fontFamily);
7025
- font-weight: var(--text-label-lg-regular-fontWeight);
7026
- font-size: var(--text-label-lg-regular-fontSize);
7027
- line-height: var(--text-label-lg-regular-lineHeight);
7028
- color: var(--color-text-default-default);
7029
- }
7030
-
7031
- .muka-radio--sm .muka-radio__label {
7032
- font-family: var(--text-label-md-regular-fontFamily);
7033
- font-weight: var(--text-label-md-regular-fontWeight);
7034
- font-size: var(--text-label-md-regular-fontSize);
7035
- line-height: var(--text-label-md-regular-lineHeight);
7036
- }
7037
-
7038
- .muka-radio--lg .muka-radio__label {
7039
- font-family: var(--text-label-xl-regular-fontFamily);
7040
- font-weight: var(--text-label-xl-regular-fontWeight);
7041
- font-size: var(--text-label-xl-regular-fontSize);
7042
- line-height: var(--text-label-xl-regular-lineHeight);
7043
- }
7044
-
7045
- .muka-radio--disabled .muka-radio__label {
7046
- color: var(--color-text-subtle-default);
7047
- }
7048
-
7049
-
7050
- /* RadioTile */
7051
- /* RadioTile Component Styles - Using Muka Design Tokens */
7052
-
7053
- /* Base tile styles - horizontal */
7054
- .muka-radio-tile {
7055
- display: flex;
7056
- align-items: center;
7057
- gap: var(--spacing-4);
7058
- padding: var(--spacing-4);
7059
- border: var(--border-width-regular) solid var(--input-field-color-default-border);
7060
- border-radius: var(--input-field-radius-lg);
7061
- background-color: var(--color-surface-level3);
7062
- cursor: pointer;
7063
- transition: border-color 0.15s ease, border-width 0.15s ease;
7064
- overflow: hidden;
7065
- box-sizing: border-box;
7066
- }
7067
-
7068
- .muka-radio-tile--disabled {
7069
- cursor: not-allowed;
7070
- opacity: 0.6;
7071
- }
7072
-
7073
- /* Selected state */
7074
- .muka-radio-tile[data-checked] {
7075
- border-width: var(--border-width-bold);
7076
- border-color: var(--color-action-default);
7077
- }
6929
+ /* Selected state */
6930
+ .muka-radio-tile[data-checked] {
6931
+ border-width: var(--border-width-bold);
6932
+ border-color: var(--color-action-default);
6933
+ }
7078
6934
 
7079
6935
  /* Vertical layout */
7080
6936
  .muka-radio-tile--vertical {
@@ -7190,6 +7046,150 @@ body {
7190
7046
  }
7191
7047
 
7192
7048
 
7049
+ /* Radio */
7050
+ /* Radio Component Styles - Using Muka Design Tokens */
7051
+
7052
+ /* Wrapper - clickable label container */
7053
+ .muka-radio {
7054
+ display: inline-flex;
7055
+ align-items: center;
7056
+ gap: var(--spacing-4);
7057
+ cursor: pointer;
7058
+ user-select: none;
7059
+ }
7060
+
7061
+ .muka-radio--disabled {
7062
+ cursor: not-allowed;
7063
+ opacity: 0.6;
7064
+ }
7065
+
7066
+ /* Control container */
7067
+ .muka-radio__control {
7068
+ position: relative;
7069
+ display: inline-flex;
7070
+ align-items: center;
7071
+ justify-content: center;
7072
+ flex-shrink: 0;
7073
+ }
7074
+
7075
+ /* Hidden native input */
7076
+ .muka-radio__input {
7077
+ position: absolute;
7078
+ width: 1px;
7079
+ height: 1px;
7080
+ padding: 0;
7081
+ margin: -1px;
7082
+ overflow: hidden;
7083
+ clip: rect(0, 0, 0, 0);
7084
+ white-space: nowrap;
7085
+ border: 0;
7086
+ }
7087
+
7088
+ /* Visual indicator (circle) */
7089
+ .muka-radio__indicator {
7090
+ display: flex;
7091
+ align-items: center;
7092
+ justify-content: center;
7093
+ width: var(--radio-size-default);
7094
+ height: var(--radio-size-default);
7095
+ border-radius: var(--border-radius-full);
7096
+ background-color: var(--radio-color-default-background);
7097
+ border: var(--border-width-regular) solid var(--radio-color-default-border);
7098
+ transition: all 0.15s ease;
7099
+ box-shadow: inset 0 1px 2px 0 rgba(26, 26, 26, 0.15);
7100
+ }
7101
+
7102
+ /* Size variants */
7103
+ .muka-radio--sm .muka-radio__indicator {
7104
+ width: var(--radio-size-sm);
7105
+ height: var(--radio-size-sm);
7106
+ }
7107
+
7108
+ .muka-radio--lg .muka-radio__indicator {
7109
+ width: var(--radio-size-lg);
7110
+ height: var(--radio-size-lg);
7111
+ }
7112
+
7113
+ /* Inner dot (shown when checked) */
7114
+ .muka-radio__dot {
7115
+ width: var(--radio-dot-size-default);
7116
+ height: var(--radio-dot-size-default);
7117
+ border-radius: var(--border-radius-full);
7118
+ background-color: var(--radio-color-default-dot);
7119
+ transform: scale(0);
7120
+ transition: transform 0.15s ease;
7121
+ }
7122
+
7123
+ .muka-radio--sm .muka-radio__dot {
7124
+ width: var(--radio-dot-size-sm);
7125
+ height: var(--radio-dot-size-sm);
7126
+ }
7127
+
7128
+ .muka-radio--lg .muka-radio__dot {
7129
+ width: var(--radio-dot-size-lg);
7130
+ height: var(--radio-dot-size-lg);
7131
+ }
7132
+
7133
+ /* Hover state - removed per design */
7134
+
7135
+ /* Focus state */
7136
+ .muka-radio__input:focus-visible + .muka-radio__indicator {
7137
+ outline: 2px solid var(--color-border-focus);
7138
+ outline-offset: 2px;
7139
+ }
7140
+
7141
+ /* Checked state */
7142
+ .muka-radio__input:checked + .muka-radio__indicator {
7143
+ background-color: var(--radio-color-checked-background);
7144
+ border-width: var(--border-width-bold);
7145
+ border-color: var(--radio-color-checked-border);
7146
+ box-shadow: none;
7147
+ }
7148
+
7149
+ .muka-radio__input:checked + .muka-radio__indicator .muka-radio__dot {
7150
+ background-color: var(--radio-color-checked-dot);
7151
+ transform: scale(1);
7152
+ }
7153
+
7154
+ /* Disabled state */
7155
+ .muka-radio--disabled .muka-radio__indicator {
7156
+ background-color: var(--radio-color-disabled-background);
7157
+ border-color: var(--radio-color-disabled-border);
7158
+ box-shadow: none;
7159
+ }
7160
+
7161
+ .muka-radio__input:disabled:checked + .muka-radio__indicator .muka-radio__dot {
7162
+ background-color: var(--radio-color-disabled-dot);
7163
+ }
7164
+
7165
+ /* Label text */
7166
+ .muka-radio__label {
7167
+ font-family: var(--text-label-lg-regular-fontFamily);
7168
+ font-weight: var(--text-label-lg-regular-fontWeight);
7169
+ font-size: var(--text-label-lg-regular-fontSize);
7170
+ line-height: var(--text-label-lg-regular-lineHeight);
7171
+ color: var(--color-text-default-default);
7172
+ }
7173
+
7174
+ .muka-radio--sm .muka-radio__label {
7175
+ font-family: var(--text-label-md-regular-fontFamily);
7176
+ font-weight: var(--text-label-md-regular-fontWeight);
7177
+ font-size: var(--text-label-md-regular-fontSize);
7178
+ line-height: var(--text-label-md-regular-lineHeight);
7179
+ }
7180
+
7181
+ .muka-radio--lg .muka-radio__label {
7182
+ font-family: var(--text-label-xl-regular-fontFamily);
7183
+ font-weight: var(--text-label-xl-regular-fontWeight);
7184
+ font-size: var(--text-label-xl-regular-fontSize);
7185
+ line-height: var(--text-label-xl-regular-lineHeight);
7186
+ }
7187
+
7188
+ .muka-radio--disabled .muka-radio__label {
7189
+ color: var(--color-text-subtle-default);
7190
+ }
7191
+
7192
+
7193
7193
  /* PullToRefresh */
7194
7194
  /* PullToRefresh Component Styles */
7195
7195
 
@@ -7237,24 +7237,282 @@ body {
7237
7237
  }
7238
7238
 
7239
7239
 
7240
- /* ProgressTracker */
7241
- /* ProgressTracker Component Styles — Using Muka Design Tokens */
7240
+ /* ProgressAccordeon */
7241
+ /* ProgressAccordeon Component Styles — Using Muka Design Tokens */
7242
7242
 
7243
7243
  /* ─── Root ──────────────────────────────────────────────── */
7244
- .muka-progress-tracker {
7244
+ .muka-progress-accordeon {
7245
+ container-type: inline-size;
7246
+ display: flex;
7247
+ flex-direction: column;
7248
+ align-items: stretch;
7245
7249
  width: 100%;
7250
+ /* Top padding provides the vertical rhythm between stacked steps */
7251
+ padding-top: var(--spacing-8);
7246
7252
  }
7247
7253
 
7248
- .muka-progress-tracker--horizontal {
7249
- padding-bottom: var(--spacing-7);
7254
+ /* Per-state gap: content-bearing steps are tighter, header-only steps looser */
7255
+ .muka-progress-accordeon--current,
7256
+ .muka-progress-accordeon--current.muka-progress-accordeon--expanded,
7257
+ .muka-progress-accordeon--past.muka-progress-accordeon--expanded,
7258
+ .muka-progress-accordeon--upcoming.muka-progress-accordeon--expanded {
7259
+ gap: var(--spacing-6);
7250
7260
  }
7251
7261
 
7252
- /* Scrollable: the root scrolls sideways when the steps don't fit. The inline
7253
- padding leaves room for the first and last labels, which hang past their
7254
- indicators; the scrollbar stays hidden (touch and trackpad still scroll). */
7255
- .muka-progress-tracker--scrollable {
7256
- overflow-x: auto;
7257
- overflow-y: hidden;
7262
+ .muka-progress-accordeon--upcoming,
7263
+ .muka-progress-accordeon--past.muka-progress-accordeon--collapsed,
7264
+ .muka-progress-accordeon--upcoming.muka-progress-accordeon--collapsed,
7265
+ .muka-progress-accordeon--current.muka-progress-accordeon--collapsed {
7266
+ gap: var(--spacing-8);
7267
+ }
7268
+
7269
+ /* Collapsible steps group header + slot. The header↔content gap lives inside the
7270
+ collapsing slot (as padding-top) so it collapses with the content, so the
7271
+ body gap itself is 0. */
7272
+ .muka-progress-accordeon__body {
7273
+ display: flex;
7274
+ flex-direction: column;
7275
+ gap: 0;
7276
+ width: 100%;
7277
+ }
7278
+
7279
+ /* ─── Header ─────────────────────────────────────────────── */
7280
+ .muka-progress-accordeon__header {
7281
+ display: flex;
7282
+ flex-direction: column;
7283
+ gap: var(--spacing-3);
7284
+ width: 100%;
7285
+ }
7286
+
7287
+ .muka-progress-accordeon__header-row {
7288
+ display: flex;
7289
+ align-items: flex-start;
7290
+ gap: var(--spacing-3);
7291
+ width: 100%;
7292
+ min-height: 40px;
7293
+ }
7294
+
7295
+ .muka-progress-accordeon__heading-group {
7296
+ display: flex;
7297
+ flex: 1 0 0;
7298
+ min-width: 0;
7299
+ align-items: flex-start;
7300
+ gap: var(--spacing-4);
7301
+ }
7302
+
7303
+ /* Steps with header controls (edit / chevron) are 40px tall; nudge the heading
7304
+ so a single line centres against the indicator + controls row. */
7305
+ .muka-progress-accordeon:has(.muka-progress-accordeon__controls)
7306
+ .muka-progress-accordeon__heading-group {
7307
+ padding-top: var(--spacing-1);
7308
+ }
7309
+
7310
+ .muka-progress-accordeon__controls {
7311
+ display: flex;
7312
+ flex-shrink: 0;
7313
+ align-items: center;
7314
+ gap: var(--spacing-3);
7315
+ }
7316
+
7317
+ /* ─── Step indicator (circle) ───────────────────────────── */
7318
+ .muka-progress-accordeon__indicator {
7319
+ width: 32px;
7320
+ height: 32px;
7321
+ flex-shrink: 0;
7322
+ border-radius: var(--border-radius-full);
7323
+ display: flex;
7324
+ align-items: center;
7325
+ justify-content: center;
7326
+ }
7327
+
7328
+ /* Past: dark accent-contrast circle with inverse checkmark */
7329
+ .muka-progress-accordeon__indicator--past {
7330
+ background-color: var(--alias-color-accent-contrast);
7331
+ color: var(--color-text-default-inverse);
7332
+ }
7333
+
7334
+ /* Current: accent circle with inverse bold number */
7335
+ .muka-progress-accordeon__indicator--current {
7336
+ background-color: var(--alias-color-accent-default);
7337
+ color: var(--color-text-default-inverse);
7338
+ }
7339
+
7340
+ /* Upcoming: sunken/muted circle with default-color number */
7341
+ .muka-progress-accordeon__indicator--upcoming {
7342
+ background-color: var(--color-surface-sunken);
7343
+ color: var(--color-text-default-default);
7344
+ }
7345
+
7346
+ .muka-progress-accordeon__check-icon {
7347
+ width: 20px;
7348
+ height: 20px;
7349
+ color: var(--color-text-default-inverse);
7350
+ }
7351
+
7352
+ .muka-progress-accordeon__number {
7353
+ font-family: var(--text-label-md-bold-fontFamily);
7354
+ font-weight: var(--text-label-md-bold-fontWeight);
7355
+ font-size: var(--text-label-md-bold-fontSize);
7356
+ line-height: var(--text-label-md-bold-lineHeight);
7357
+ text-align: center;
7358
+ user-select: none;
7359
+ }
7360
+
7361
+ /* Upcoming number is semibold (not bold) per Figma */
7362
+ .muka-progress-accordeon__indicator--upcoming .muka-progress-accordeon__number {
7363
+ font-family: var(--text-label-md-semibold-fontFamily);
7364
+ font-weight: var(--text-label-md-semibold-fontWeight);
7365
+ }
7366
+
7367
+ /* ─── Heading (responsive: heading/md on wide, heading/sm on narrow) ─────── */
7368
+ .muka-progress-accordeon__heading {
7369
+ flex: 1 0 0;
7370
+ min-width: 0;
7371
+ margin: 0;
7372
+ font-family: var(--text-heading-md-fontFamily);
7373
+ font-weight: var(--text-heading-md-fontWeight);
7374
+ font-size: var(--text-heading-md-fontSize);
7375
+ line-height: var(--text-heading-md-lineHeight);
7376
+ letter-spacing: var(--text-heading-md-letterSpacing);
7377
+ color: var(--color-text-default-default);
7378
+ }
7379
+
7380
+ /* ─── Description ────────────────────────────────────────── */
7381
+ /* Indented 48px (32px indicator + 16px gap) to align under the heading text */
7382
+ .muka-progress-accordeon__description {
7383
+ width: 100%;
7384
+ padding-left: 48px;
7385
+ font-family: var(--text-body-base-regular-fontFamily);
7386
+ font-weight: var(--text-body-base-regular-fontWeight);
7387
+ font-size: var(--text-body-base-regular-fontSize);
7388
+ line-height: var(--text-body-base-regular-lineHeight);
7389
+ color: var(--color-text-default-default);
7390
+ }
7391
+
7392
+ /* ─── Edit button ────────────────────────────────────────── */
7393
+ .muka-progress-accordeon__edit {
7394
+ flex-shrink: 0;
7395
+ }
7396
+
7397
+ /* Wide container shows the labelled button; the icon-only one is hidden */
7398
+ .muka-progress-accordeon__edit--narrow {
7399
+ display: none;
7400
+ }
7401
+
7402
+ /* ─── Content slot ───────────────────────────────────────── */
7403
+ .muka-progress-accordeon__slot {
7404
+ display: flex;
7405
+ flex-direction: column;
7406
+ align-items: stretch;
7407
+ width: 100%;
7408
+ }
7409
+
7410
+ /* ─── Collapse/expand animation (any expandable step) ──────
7411
+ Animates grid-template-rows 1fr ↔ 0fr so the panel (slot + actions) grows and
7412
+ shrinks to its intrinsic height. Opacity fades with the same duration.
7413
+ Under prefers-reduced-motion, --motion-duration-view is 0ms. */
7414
+ .muka-progress-accordeon__panel-wrapper {
7415
+ display: grid;
7416
+ grid-template-rows: 1fr;
7417
+ opacity: 1;
7418
+ transition:
7419
+ grid-template-rows var(--motion-duration-view) var(--motion-easing-enter),
7420
+ opacity var(--motion-duration-view) var(--motion-easing-enter);
7421
+ }
7422
+
7423
+ .muka-progress-accordeon__panel-wrapper--collapsed {
7424
+ grid-template-rows: 0fr;
7425
+ opacity: 0;
7426
+ transition:
7427
+ grid-template-rows var(--motion-duration-view) var(--motion-easing-exit),
7428
+ opacity calc(var(--motion-duration-view) * 0.6) var(--motion-easing-exit);
7429
+ }
7430
+
7431
+ /* The direct grid child clips and must have NO padding/border of its own —
7432
+ min-height:0 lets it shrink, and with no padding the 0fr track reaches a true
7433
+ 0 height (padding on the item would leave a residual gap when collapsed). */
7434
+ .muka-progress-accordeon__panel-clip {
7435
+ overflow: hidden;
7436
+ min-height: 0;
7437
+ }
7438
+
7439
+ /* Header↔content spacing + slot/actions gap live inside the clip so they
7440
+ collapse together with the panel. */
7441
+ .muka-progress-accordeon__panel {
7442
+ display: flex;
7443
+ flex-direction: column;
7444
+ align-items: stretch;
7445
+ gap: var(--spacing-6);
7446
+ padding-top: var(--spacing-4);
7447
+ width: 100%;
7448
+ }
7449
+
7450
+ /* ─── Action buttons (current state) ─────────────────────── */
7451
+ .muka-progress-accordeon__actions {
7452
+ display: flex;
7453
+ justify-content: flex-end;
7454
+ gap: var(--spacing-4);
7455
+ width: 100%;
7456
+ }
7457
+
7458
+ .muka-progress-accordeon__action {
7459
+ min-width: 160px;
7460
+ }
7461
+
7462
+ /* ─── Divider ────────────────────────────────────────────── */
7463
+ .muka-progress-accordeon__divider {
7464
+ width: 100%;
7465
+ }
7466
+
7467
+ /* ─── Responsive (narrow container) ──────────────────────── */
7468
+ @container (max-width: 480px) {
7469
+ /* Heading steps down to heading/sm. The 24px line-height is shorter than the
7470
+ 32px step indicator, so nudge the text down to keep a single line centred. */
7471
+ .muka-progress-accordeon__heading {
7472
+ font-size: var(--text-heading-sm-fontSize);
7473
+ line-height: var(--text-heading-sm-lineHeight);
7474
+ padding-top: var(--spacing-1);
7475
+ }
7476
+
7477
+ /* Edit button swaps to the icon-only variant */
7478
+ .muka-progress-accordeon__edit--wide {
7479
+ display: none;
7480
+ }
7481
+
7482
+ .muka-progress-accordeon__edit--narrow {
7483
+ display: inline-flex;
7484
+ }
7485
+
7486
+ /* Action buttons stretch to fill the row */
7487
+ .muka-progress-accordeon__actions {
7488
+ justify-content: stretch;
7489
+ }
7490
+
7491
+ .muka-progress-accordeon__action {
7492
+ flex: 1 0 0;
7493
+ min-width: 0;
7494
+ }
7495
+ }
7496
+
7497
+
7498
+ /* ProgressTracker */
7499
+ /* ProgressTracker Component Styles — Using Muka Design Tokens */
7500
+
7501
+ /* ─── Root ──────────────────────────────────────────────── */
7502
+ .muka-progress-tracker {
7503
+ width: 100%;
7504
+ }
7505
+
7506
+ .muka-progress-tracker--horizontal {
7507
+ padding-bottom: var(--spacing-7);
7508
+ }
7509
+
7510
+ /* Scrollable: the root scrolls sideways when the steps don't fit. The inline
7511
+ padding leaves room for the first and last labels, which hang past their
7512
+ indicators; the scrollbar stays hidden (touch and trackpad still scroll). */
7513
+ .muka-progress-tracker--scrollable {
7514
+ overflow-x: auto;
7515
+ overflow-y: hidden;
7258
7516
  -webkit-overflow-scrolling: touch;
7259
7517
  scrollbar-width: none;
7260
7518
  padding-inline: var(--spacing-12);
@@ -7801,264 +8059,6 @@ button.muka-progress-tracker__tab:focus-visible {
7801
8059
  }
7802
8060
 
7803
8061
 
7804
- /* ProgressAccordeon */
7805
- /* ProgressAccordeon Component Styles — Using Muka Design Tokens */
7806
-
7807
- /* ─── Root ──────────────────────────────────────────────── */
7808
- .muka-progress-accordeon {
7809
- container-type: inline-size;
7810
- display: flex;
7811
- flex-direction: column;
7812
- align-items: stretch;
7813
- width: 100%;
7814
- /* Top padding provides the vertical rhythm between stacked steps */
7815
- padding-top: var(--spacing-8);
7816
- }
7817
-
7818
- /* Per-state gap: content-bearing steps are tighter, header-only steps looser */
7819
- .muka-progress-accordeon--current,
7820
- .muka-progress-accordeon--current.muka-progress-accordeon--expanded,
7821
- .muka-progress-accordeon--past.muka-progress-accordeon--expanded,
7822
- .muka-progress-accordeon--upcoming.muka-progress-accordeon--expanded {
7823
- gap: var(--spacing-6);
7824
- }
7825
-
7826
- .muka-progress-accordeon--upcoming,
7827
- .muka-progress-accordeon--past.muka-progress-accordeon--collapsed,
7828
- .muka-progress-accordeon--upcoming.muka-progress-accordeon--collapsed,
7829
- .muka-progress-accordeon--current.muka-progress-accordeon--collapsed {
7830
- gap: var(--spacing-8);
7831
- }
7832
-
7833
- /* Collapsible steps group header + slot. The header↔content gap lives inside the
7834
- collapsing slot (as padding-top) so it collapses with the content, so the
7835
- body gap itself is 0. */
7836
- .muka-progress-accordeon__body {
7837
- display: flex;
7838
- flex-direction: column;
7839
- gap: 0;
7840
- width: 100%;
7841
- }
7842
-
7843
- /* ─── Header ─────────────────────────────────────────────── */
7844
- .muka-progress-accordeon__header {
7845
- display: flex;
7846
- flex-direction: column;
7847
- gap: var(--spacing-3);
7848
- width: 100%;
7849
- }
7850
-
7851
- .muka-progress-accordeon__header-row {
7852
- display: flex;
7853
- align-items: flex-start;
7854
- gap: var(--spacing-3);
7855
- width: 100%;
7856
- min-height: 40px;
7857
- }
7858
-
7859
- .muka-progress-accordeon__heading-group {
7860
- display: flex;
7861
- flex: 1 0 0;
7862
- min-width: 0;
7863
- align-items: flex-start;
7864
- gap: var(--spacing-4);
7865
- }
7866
-
7867
- /* Steps with header controls (edit / chevron) are 40px tall; nudge the heading
7868
- so a single line centres against the indicator + controls row. */
7869
- .muka-progress-accordeon:has(.muka-progress-accordeon__controls)
7870
- .muka-progress-accordeon__heading-group {
7871
- padding-top: var(--spacing-1);
7872
- }
7873
-
7874
- .muka-progress-accordeon__controls {
7875
- display: flex;
7876
- flex-shrink: 0;
7877
- align-items: center;
7878
- gap: var(--spacing-3);
7879
- }
7880
-
7881
- /* ─── Step indicator (circle) ───────────────────────────── */
7882
- .muka-progress-accordeon__indicator {
7883
- width: 32px;
7884
- height: 32px;
7885
- flex-shrink: 0;
7886
- border-radius: var(--border-radius-full);
7887
- display: flex;
7888
- align-items: center;
7889
- justify-content: center;
7890
- }
7891
-
7892
- /* Past: dark accent-contrast circle with inverse checkmark */
7893
- .muka-progress-accordeon__indicator--past {
7894
- background-color: var(--alias-color-accent-contrast);
7895
- color: var(--color-text-default-inverse);
7896
- }
7897
-
7898
- /* Current: accent circle with inverse bold number */
7899
- .muka-progress-accordeon__indicator--current {
7900
- background-color: var(--alias-color-accent-default);
7901
- color: var(--color-text-default-inverse);
7902
- }
7903
-
7904
- /* Upcoming: sunken/muted circle with default-color number */
7905
- .muka-progress-accordeon__indicator--upcoming {
7906
- background-color: var(--color-surface-sunken);
7907
- color: var(--color-text-default-default);
7908
- }
7909
-
7910
- .muka-progress-accordeon__check-icon {
7911
- width: 20px;
7912
- height: 20px;
7913
- color: var(--color-text-default-inverse);
7914
- }
7915
-
7916
- .muka-progress-accordeon__number {
7917
- font-family: var(--text-label-md-bold-fontFamily);
7918
- font-weight: var(--text-label-md-bold-fontWeight);
7919
- font-size: var(--text-label-md-bold-fontSize);
7920
- line-height: var(--text-label-md-bold-lineHeight);
7921
- text-align: center;
7922
- user-select: none;
7923
- }
7924
-
7925
- /* Upcoming number is semibold (not bold) per Figma */
7926
- .muka-progress-accordeon__indicator--upcoming .muka-progress-accordeon__number {
7927
- font-family: var(--text-label-md-semibold-fontFamily);
7928
- font-weight: var(--text-label-md-semibold-fontWeight);
7929
- }
7930
-
7931
- /* ─── Heading (responsive: heading/md on wide, heading/sm on narrow) ─────── */
7932
- .muka-progress-accordeon__heading {
7933
- flex: 1 0 0;
7934
- min-width: 0;
7935
- margin: 0;
7936
- font-family: var(--text-heading-md-fontFamily);
7937
- font-weight: var(--text-heading-md-fontWeight);
7938
- font-size: var(--text-heading-md-fontSize);
7939
- line-height: var(--text-heading-md-lineHeight);
7940
- letter-spacing: var(--text-heading-md-letterSpacing);
7941
- color: var(--color-text-default-default);
7942
- }
7943
-
7944
- /* ─── Description ────────────────────────────────────────── */
7945
- /* Indented 48px (32px indicator + 16px gap) to align under the heading text */
7946
- .muka-progress-accordeon__description {
7947
- width: 100%;
7948
- padding-left: 48px;
7949
- font-family: var(--text-body-base-regular-fontFamily);
7950
- font-weight: var(--text-body-base-regular-fontWeight);
7951
- font-size: var(--text-body-base-regular-fontSize);
7952
- line-height: var(--text-body-base-regular-lineHeight);
7953
- color: var(--color-text-default-default);
7954
- }
7955
-
7956
- /* ─── Edit button ────────────────────────────────────────── */
7957
- .muka-progress-accordeon__edit {
7958
- flex-shrink: 0;
7959
- }
7960
-
7961
- /* Wide container shows the labelled button; the icon-only one is hidden */
7962
- .muka-progress-accordeon__edit--narrow {
7963
- display: none;
7964
- }
7965
-
7966
- /* ─── Content slot ───────────────────────────────────────── */
7967
- .muka-progress-accordeon__slot {
7968
- display: flex;
7969
- flex-direction: column;
7970
- align-items: stretch;
7971
- width: 100%;
7972
- }
7973
-
7974
- /* ─── Collapse/expand animation (any expandable step) ──────
7975
- Animates grid-template-rows 1fr ↔ 0fr so the panel (slot + actions) grows and
7976
- shrinks to its intrinsic height. Opacity fades with the same duration.
7977
- Under prefers-reduced-motion, --motion-duration-view is 0ms. */
7978
- .muka-progress-accordeon__panel-wrapper {
7979
- display: grid;
7980
- grid-template-rows: 1fr;
7981
- opacity: 1;
7982
- transition:
7983
- grid-template-rows var(--motion-duration-view) var(--motion-easing-enter),
7984
- opacity var(--motion-duration-view) var(--motion-easing-enter);
7985
- }
7986
-
7987
- .muka-progress-accordeon__panel-wrapper--collapsed {
7988
- grid-template-rows: 0fr;
7989
- opacity: 0;
7990
- transition:
7991
- grid-template-rows var(--motion-duration-view) var(--motion-easing-exit),
7992
- opacity calc(var(--motion-duration-view) * 0.6) var(--motion-easing-exit);
7993
- }
7994
-
7995
- /* The direct grid child clips and must have NO padding/border of its own —
7996
- min-height:0 lets it shrink, and with no padding the 0fr track reaches a true
7997
- 0 height (padding on the item would leave a residual gap when collapsed). */
7998
- .muka-progress-accordeon__panel-clip {
7999
- overflow: hidden;
8000
- min-height: 0;
8001
- }
8002
-
8003
- /* Header↔content spacing + slot/actions gap live inside the clip so they
8004
- collapse together with the panel. */
8005
- .muka-progress-accordeon__panel {
8006
- display: flex;
8007
- flex-direction: column;
8008
- align-items: stretch;
8009
- gap: var(--spacing-6);
8010
- padding-top: var(--spacing-4);
8011
- width: 100%;
8012
- }
8013
-
8014
- /* ─── Action buttons (current state) ─────────────────────── */
8015
- .muka-progress-accordeon__actions {
8016
- display: flex;
8017
- justify-content: flex-end;
8018
- gap: var(--spacing-4);
8019
- width: 100%;
8020
- }
8021
-
8022
- .muka-progress-accordeon__action {
8023
- min-width: 160px;
8024
- }
8025
-
8026
- /* ─── Divider ────────────────────────────────────────────── */
8027
- .muka-progress-accordeon__divider {
8028
- width: 100%;
8029
- }
8030
-
8031
- /* ─── Responsive (narrow container) ──────────────────────── */
8032
- @container (max-width: 480px) {
8033
- /* Heading steps down to heading/sm. The 24px line-height is shorter than the
8034
- 32px step indicator, so nudge the text down to keep a single line centred. */
8035
- .muka-progress-accordeon__heading {
8036
- font-size: var(--text-heading-sm-fontSize);
8037
- line-height: var(--text-heading-sm-lineHeight);
8038
- padding-top: var(--spacing-1);
8039
- }
8040
-
8041
- /* Edit button swaps to the icon-only variant */
8042
- .muka-progress-accordeon__edit--wide {
8043
- display: none;
8044
- }
8045
-
8046
- .muka-progress-accordeon__edit--narrow {
8047
- display: inline-flex;
8048
- }
8049
-
8050
- /* Action buttons stretch to fill the row */
8051
- .muka-progress-accordeon__actions {
8052
- justify-content: stretch;
8053
- }
8054
-
8055
- .muka-progress-accordeon__action {
8056
- flex: 1 0 0;
8057
- min-width: 0;
8058
- }
8059
- }
8060
-
8061
-
8062
8062
  /* Progress */
8063
8063
  /* Progress Component Styles - Using Muka Design Tokens */
8064
8064
 
@@ -8345,37 +8345,6 @@ button.muka-progress-tracker__tab:focus-visible {
8345
8345
  }
8346
8346
 
8347
8347
 
8348
- /* Popover */
8349
- /* Popover Component Styles */
8350
-
8351
- .muka-popover__content {
8352
- background-color: var(--color-surface-level3);
8353
- border: var(--border-width-regular) solid var(--color-border-default);
8354
- border-radius: var(--radius-md);
8355
- padding: var(--spacing-4);
8356
- box-shadow: var(--shadow-level3);
8357
- max-width: 20rem;
8358
- z-index: 50;
8359
- animation: muka-popover-fade-in 150ms ease;
8360
- }
8361
-
8362
- @keyframes muka-popover-fade-in {
8363
- from {
8364
- opacity: 0;
8365
- transform: scale(0.96);
8366
- }
8367
- to {
8368
- opacity: 1;
8369
- transform: scale(1);
8370
- }
8371
- }
8372
-
8373
- /* Arrow */
8374
- .muka-popover__arrow {
8375
- fill: var(--color-surface-level3);
8376
- }
8377
-
8378
-
8379
8348
  /* PriceTag */
8380
8349
  /* PriceTag Component Styles - Using Muka Design Tokens */
8381
8350
 
@@ -8473,6 +8442,37 @@ button.muka-progress-tracker__tab:focus-visible {
8473
8442
  }
8474
8443
 
8475
8444
 
8445
+ /* Popover */
8446
+ /* Popover Component Styles */
8447
+
8448
+ .muka-popover__content {
8449
+ background-color: var(--color-surface-level3);
8450
+ border: var(--border-width-regular) solid var(--color-border-default);
8451
+ border-radius: var(--radius-md);
8452
+ padding: var(--spacing-4);
8453
+ box-shadow: var(--shadow-level3);
8454
+ max-width: 20rem;
8455
+ z-index: 50;
8456
+ animation: muka-popover-fade-in 150ms ease;
8457
+ }
8458
+
8459
+ @keyframes muka-popover-fade-in {
8460
+ from {
8461
+ opacity: 0;
8462
+ transform: scale(0.96);
8463
+ }
8464
+ to {
8465
+ opacity: 1;
8466
+ transform: scale(1);
8467
+ }
8468
+ }
8469
+
8470
+ /* Arrow */
8471
+ .muka-popover__arrow {
8472
+ fill: var(--color-surface-level3);
8473
+ }
8474
+
8475
+
8476
8476
  /* PlanningGantt */
8477
8477
  /* PlanningGantt (MUK-105) — one week per page, never scrolls horizontally. */
8478
8478
 
@@ -8870,6 +8870,103 @@ button.muka-progress-tracker__tab:focus-visible {
8870
8870
  }
8871
8871
 
8872
8872
 
8873
+ /* PieChart */
8874
+ /* PieChart Component Styles - Using Muka Design Tokens */
8875
+
8876
+ .muka-piechart {
8877
+ display: inline-flex;
8878
+ align-items: center;
8879
+ gap: var(--spacing-4);
8880
+ }
8881
+
8882
+ /* Legend layout */
8883
+ .muka-piechart--legend-right {
8884
+ flex-direction: row;
8885
+ }
8886
+
8887
+ .muka-piechart--legend-bottom {
8888
+ flex-direction: column;
8889
+ }
8890
+
8891
+ /* ========================================
8892
+ CHART
8893
+ ======================================== */
8894
+
8895
+ .muka-piechart__chart {
8896
+ position: relative;
8897
+ flex-shrink: 0;
8898
+ }
8899
+
8900
+ .muka-piechart__chart--sm {
8901
+ width: var(--piechart-size-diameter-sm);
8902
+ height: var(--piechart-size-diameter-sm);
8903
+ }
8904
+
8905
+ .muka-piechart__chart--md {
8906
+ width: var(--piechart-size-diameter-md);
8907
+ height: var(--piechart-size-diameter-md);
8908
+ }
8909
+
8910
+ .muka-piechart__chart--lg {
8911
+ width: var(--piechart-size-diameter-lg);
8912
+ height: var(--piechart-size-diameter-lg);
8913
+ }
8914
+
8915
+ .muka-piechart__svg {
8916
+ display: block;
8917
+ width: 100%;
8918
+ height: 100%;
8919
+ /* Start slices at 12 o'clock instead of 3 o'clock */
8920
+ transform: rotate(-90deg);
8921
+ }
8922
+
8923
+ .muka-piechart__track {
8924
+ fill: none;
8925
+ stroke: var(--piechart-color-track);
8926
+ }
8927
+
8928
+ .muka-piechart__segment {
8929
+ fill: none;
8930
+ }
8931
+
8932
+ /* ========================================
8933
+ LEGEND
8934
+ ======================================== */
8935
+
8936
+ .muka-piechart__legend {
8937
+ list-style: none;
8938
+ margin: 0;
8939
+ padding: 0;
8940
+ display: flex;
8941
+ flex-direction: column;
8942
+ gap: var(--spacing-1);
8943
+ }
8944
+
8945
+ .muka-piechart__legend-item {
8946
+ display: flex;
8947
+ align-items: center;
8948
+ gap: var(--spacing-2);
8949
+ font-family: var(--text-body-sm-regular-fontFamily);
8950
+ font-weight: var(--text-body-sm-regular-fontWeight);
8951
+ font-size: var(--text-body-sm-regular-fontSize);
8952
+ line-height: var(--text-body-sm-regular-lineHeight);
8953
+ color: var(--color-text-default-default);
8954
+ }
8955
+
8956
+ .muka-piechart__swatch {
8957
+ flex-shrink: 0;
8958
+ width: var(--spacing-3);
8959
+ height: var(--spacing-3);
8960
+ border-radius: var(--border-radius-sm);
8961
+ }
8962
+
8963
+ .muka-piechart__legend-value {
8964
+ margin-left: auto;
8965
+ padding-left: var(--spacing-2);
8966
+ color: var(--color-text-subtle-default);
8967
+ }
8968
+
8969
+
8873
8970
  /* PhotoUploader */
8874
8971
  /* PhotoUploader Component Styles - Using Muka Design Tokens */
8875
8972
 
@@ -9007,103 +9104,6 @@ button.muka-progress-tracker__tab:focus-visible {
9007
9104
  }
9008
9105
 
9009
9106
 
9010
- /* PieChart */
9011
- /* PieChart Component Styles - Using Muka Design Tokens */
9012
-
9013
- .muka-piechart {
9014
- display: inline-flex;
9015
- align-items: center;
9016
- gap: var(--spacing-4);
9017
- }
9018
-
9019
- /* Legend layout */
9020
- .muka-piechart--legend-right {
9021
- flex-direction: row;
9022
- }
9023
-
9024
- .muka-piechart--legend-bottom {
9025
- flex-direction: column;
9026
- }
9027
-
9028
- /* ========================================
9029
- CHART
9030
- ======================================== */
9031
-
9032
- .muka-piechart__chart {
9033
- position: relative;
9034
- flex-shrink: 0;
9035
- }
9036
-
9037
- .muka-piechart__chart--sm {
9038
- width: var(--piechart-size-diameter-sm);
9039
- height: var(--piechart-size-diameter-sm);
9040
- }
9041
-
9042
- .muka-piechart__chart--md {
9043
- width: var(--piechart-size-diameter-md);
9044
- height: var(--piechart-size-diameter-md);
9045
- }
9046
-
9047
- .muka-piechart__chart--lg {
9048
- width: var(--piechart-size-diameter-lg);
9049
- height: var(--piechart-size-diameter-lg);
9050
- }
9051
-
9052
- .muka-piechart__svg {
9053
- display: block;
9054
- width: 100%;
9055
- height: 100%;
9056
- /* Start slices at 12 o'clock instead of 3 o'clock */
9057
- transform: rotate(-90deg);
9058
- }
9059
-
9060
- .muka-piechart__track {
9061
- fill: none;
9062
- stroke: var(--piechart-color-track);
9063
- }
9064
-
9065
- .muka-piechart__segment {
9066
- fill: none;
9067
- }
9068
-
9069
- /* ========================================
9070
- LEGEND
9071
- ======================================== */
9072
-
9073
- .muka-piechart__legend {
9074
- list-style: none;
9075
- margin: 0;
9076
- padding: 0;
9077
- display: flex;
9078
- flex-direction: column;
9079
- gap: var(--spacing-1);
9080
- }
9081
-
9082
- .muka-piechart__legend-item {
9083
- display: flex;
9084
- align-items: center;
9085
- gap: var(--spacing-2);
9086
- font-family: var(--text-body-sm-regular-fontFamily);
9087
- font-weight: var(--text-body-sm-regular-fontWeight);
9088
- font-size: var(--text-body-sm-regular-fontSize);
9089
- line-height: var(--text-body-sm-regular-lineHeight);
9090
- color: var(--color-text-default-default);
9091
- }
9092
-
9093
- .muka-piechart__swatch {
9094
- flex-shrink: 0;
9095
- width: var(--spacing-3);
9096
- height: var(--spacing-3);
9097
- border-radius: var(--border-radius-sm);
9098
- }
9099
-
9100
- .muka-piechart__legend-value {
9101
- margin-left: auto;
9102
- padding-left: var(--spacing-2);
9103
- color: var(--color-text-subtle-default);
9104
- }
9105
-
9106
-
9107
9107
  /* PhotoDraftStrip */
9108
9108
  /* PhotoDraftStrip Component Styles */
9109
9109
 
@@ -10410,6 +10410,47 @@ li.muka-listitem {
10410
10410
  }
10411
10411
 
10412
10412
 
10413
+ /* Label */
10414
+ /* Label Component Styles - Using Muka Design Tokens */
10415
+
10416
+ .muka-label {
10417
+ display: inline-flex;
10418
+ align-items: center;
10419
+ color: var(--color-text-default-default);
10420
+ cursor: pointer;
10421
+ }
10422
+
10423
+ .muka-label--sm {
10424
+ font-family: var(--text-label-sm-semibold-fontFamily);
10425
+ font-weight: var(--text-label-sm-semibold-fontWeight);
10426
+ font-size: var(--text-label-sm-semibold-fontSize);
10427
+ line-height: var(--text-label-sm-semibold-lineHeight);
10428
+ }
10429
+
10430
+ .muka-label--md {
10431
+ font-family: var(--text-label-md-semibold-fontFamily);
10432
+ font-weight: var(--text-label-md-semibold-fontWeight);
10433
+ font-size: var(--text-label-md-semibold-fontSize);
10434
+ line-height: var(--text-label-md-semibold-lineHeight);
10435
+ }
10436
+
10437
+ .muka-label--lg {
10438
+ font-family: var(--text-label-lg-semibold-fontFamily);
10439
+ font-weight: var(--text-label-lg-semibold-fontWeight);
10440
+ font-size: var(--text-label-lg-semibold-fontSize);
10441
+ line-height: var(--text-label-lg-semibold-lineHeight);
10442
+ }
10443
+
10444
+ .muka-label--disabled {
10445
+ color: var(--color-text-subtle-default);
10446
+ cursor: not-allowed;
10447
+ }
10448
+
10449
+ .muka-label__required {
10450
+ color: var(--color-state-error-default);
10451
+ }
10452
+
10453
+
10413
10454
  /* LicensePlateInput */
10414
10455
  /* LicensePlateInput — Dutch RDW-style plate input
10415
10456
  *
@@ -10603,47 +10644,6 @@ li.muka-listitem {
10603
10644
  }
10604
10645
 
10605
10646
 
10606
- /* Label */
10607
- /* Label Component Styles - Using Muka Design Tokens */
10608
-
10609
- .muka-label {
10610
- display: inline-flex;
10611
- align-items: center;
10612
- color: var(--color-text-default-default);
10613
- cursor: pointer;
10614
- }
10615
-
10616
- .muka-label--sm {
10617
- font-family: var(--text-label-sm-semibold-fontFamily);
10618
- font-weight: var(--text-label-sm-semibold-fontWeight);
10619
- font-size: var(--text-label-sm-semibold-fontSize);
10620
- line-height: var(--text-label-sm-semibold-lineHeight);
10621
- }
10622
-
10623
- .muka-label--md {
10624
- font-family: var(--text-label-md-semibold-fontFamily);
10625
- font-weight: var(--text-label-md-semibold-fontWeight);
10626
- font-size: var(--text-label-md-semibold-fontSize);
10627
- line-height: var(--text-label-md-semibold-lineHeight);
10628
- }
10629
-
10630
- .muka-label--lg {
10631
- font-family: var(--text-label-lg-semibold-fontFamily);
10632
- font-weight: var(--text-label-lg-semibold-fontWeight);
10633
- font-size: var(--text-label-lg-semibold-fontSize);
10634
- line-height: var(--text-label-lg-semibold-lineHeight);
10635
- }
10636
-
10637
- .muka-label--disabled {
10638
- color: var(--color-text-subtle-default);
10639
- cursor: not-allowed;
10640
- }
10641
-
10642
- .muka-label__required {
10643
- color: var(--color-state-error-default);
10644
- }
10645
-
10646
-
10647
10647
  /* InputCounter */
10648
10648
  /* InputCounter — numeric field + joined decrement/increment buttons.
10649
10649
  Label, helper and error text reuse Input.css (../Input/Input.css).
@@ -12908,1173 +12908,1331 @@ li.muka-listitem {
12908
12908
  }
12909
12909
 
12910
12910
 
12911
- /* DataTable */
12912
- /* DataTable Component Styles - Using Muka Design Tokens */
12911
+ /* DataPieChart */
12912
+ /* DataPieChart Component Styles - Using Muka Design Tokens */
12913
12913
 
12914
- .muka-data-table-wrapper {
12915
- width: 100%;
12916
- overflow-x: auto;
12917
- -webkit-overflow-scrolling: touch;
12914
+ .muka-data-pie-chart {
12915
+ position: relative;
12916
+ display: inline-flex;
12917
+ align-items: center;
12918
+ justify-content: center;
12919
+ flex-shrink: 0;
12918
12920
  }
12919
12921
 
12920
- .muka-data-table {
12921
- /* Density-driven cell padding (overridden per size below). */
12922
- --dt-pad-x: var(--datatable-cell-padding-x-md);
12923
- --dt-pad-y: var(--datatable-cell-padding-y-md);
12924
-
12922
+ .muka-data-pie-chart__svg {
12923
+ display: block;
12925
12924
  width: 100%;
12926
- border-collapse: collapse;
12927
- border-spacing: 0;
12928
- /* auto layout so per-column min/max widths are honored and unsized columns flex */
12929
- table-layout: auto;
12930
- background-color: var(--datatable-row-background);
12931
- color: var(--datatable-row-foreground);
12925
+ height: 100%;
12926
+ /* Start the segment at 12 o'clock instead of 3 o'clock */
12927
+ transform: rotate(-90deg);
12932
12928
  }
12933
12929
 
12934
- .muka-data-table--size-sm {
12935
- --dt-pad-x: var(--datatable-cell-padding-x-sm);
12936
- --dt-pad-y: var(--datatable-cell-padding-y-sm);
12930
+ .muka-data-pie-chart__track {
12931
+ fill: none;
12937
12932
  }
12938
12933
 
12939
- .muka-data-table--size-lg {
12940
- --dt-pad-x: var(--datatable-cell-padding-x-lg);
12941
- --dt-pad-y: var(--datatable-cell-padding-y-lg);
12934
+ .muka-data-pie-chart__segment {
12935
+ fill: none;
12936
+ /* Subtle lift on the filled segment, matching the Figma elevation */
12937
+ filter: drop-shadow(0 2px 4px var(--color-black-alpha-5, rgba(0, 0, 0, 0.05)));
12938
+ /* Butt caps keep the always-rendered 0% arc invisible (round caps would draw a dot) */
12939
+ stroke-linecap: butt;
12940
+ /* view duration (300ms) reads at the 24px size; tokens zero it for reduced motion */
12941
+ transition: stroke-dasharray var(--motion-duration-view) var(--motion-easing-default);
12942
12942
  }
12943
12943
 
12944
- .muka-data-table__caption {
12945
- padding: var(--dt-pad-y) var(--dt-pad-x);
12946
- font-family: var(--text-body-base-bold-fontFamily);
12947
- font-weight: var(--text-body-base-bold-fontWeight);
12948
- font-size: var(--text-body-base-bold-fontSize);
12949
- line-height: var(--text-body-base-bold-lineHeight);
12950
- text-align: left;
12951
- caption-side: top;
12944
+ /* ─── Indeterminate (spinner) ─────────────────────────── */
12945
+ /* A masked ring filled with an angular (conic) gradient that rotates. The mask
12946
+ band matches the donut geometry (r=40, strokeWidth=16 → 64%–96% of radius) so
12947
+ it swaps seamlessly with the value-based progress donut. */
12948
+ .muka-data-pie-chart__spinner-track,
12949
+ .muka-data-pie-chart__spinner {
12950
+ position: absolute;
12951
+ inset: 0;
12952
+ border-radius: 50%;
12953
+ -webkit-mask: radial-gradient(farthest-side, transparent 63%, #000 65%, #000 95%, transparent 97%);
12954
+ mask: radial-gradient(farthest-side, transparent 63%, #000 65%, #000 95%, transparent 97%);
12952
12955
  }
12953
12956
 
12954
- /* ========================================
12955
- HEADER
12956
- ======================================== */
12957
+ .muka-data-pie-chart__spinner {
12958
+ animation: muka-data-pie-chart-spin 0.9s linear infinite;
12959
+ }
12957
12960
 
12958
- .muka-data-table__head {
12959
- border-bottom: var(--border-width-regular, 1px) solid var(--datatable-header-border);
12961
+ @keyframes muka-data-pie-chart-spin {
12962
+ to {
12963
+ transform: rotate(360deg);
12964
+ }
12960
12965
  }
12961
12966
 
12962
- .muka-data-table__th {
12963
- background-color: var(--datatable-header-background);
12964
- padding: var(--datatable-cell-padding-y-sm) var(--dt-pad-x);
12967
+ @media (prefers-reduced-motion: reduce) {
12968
+ .muka-data-pie-chart__spinner {
12969
+ animation-duration: 2.5s;
12970
+ }
12971
+ }
12972
+
12973
+ .muka-data-pie-chart__value {
12974
+ position: absolute;
12975
+ inset: 0;
12976
+ display: flex;
12977
+ align-items: center;
12978
+ justify-content: center;
12965
12979
  font-family: var(--text-body-base-bold-fontFamily);
12966
12980
  font-weight: var(--text-body-base-bold-fontWeight);
12967
12981
  font-size: var(--text-body-base-bold-fontSize);
12968
12982
  line-height: var(--text-body-base-bold-lineHeight);
12969
- color: var(--datatable-header-foreground);
12970
- vertical-align: middle;
12971
- text-align: left;
12983
+ color: var(--color-text-default-default);
12972
12984
  }
12973
12985
 
12974
- .muka-data-table__th-label {
12975
- display: flex;
12976
- align-items: center;
12977
- min-height: var(--datatable-cell-min-height); /* 32px slot — matches Figma header cell height */
12986
+
12987
+ /* Container */
12988
+ /* Container Component - Layout tokens (container.max-width, container.gap) */
12989
+
12990
+ .muka-container {
12991
+ box-sizing: border-box;
12992
+ width: 100%;
12993
+ margin-inline: auto;
12978
12994
  }
12979
12995
 
12980
- /* ========================================
12981
- BODY
12982
- ======================================== */
12996
+ /* Max-width variants */
12997
+ .muka-container--max-width-small {
12998
+ max-width: var(--container-max-width-small);
12999
+ }
12983
13000
 
12984
- .muka-data-table__row {
12985
- border-bottom: var(--border-width-regular, 1px) solid var(--datatable-row-border);
12986
- transition: background-color 0.15s ease;
13001
+ .muka-container--max-width-medium {
13002
+ max-width: var(--container-max-width-medium);
12987
13003
  }
12988
13004
 
12989
- /* Last body row: no bottom border (matches Table; avoids a double line at the table edge). */
12990
- .muka-data-table__body .muka-data-table__row:last-child {
12991
- border-bottom: none;
13005
+ .muka-container--max-width-large {
13006
+ max-width: var(--container-max-width-large);
12992
13007
  }
12993
13008
 
12994
- .muka-data-table__row:not(.muka-data-table__row--empty):not(.muka-data-table__row--selected):hover {
12995
- background-color: var(--datatable-row-hover-background);
13009
+ .muka-container--max-width-xlarge {
13010
+ max-width: var(--container-max-width-xlarge);
12996
13011
  }
12997
13012
 
12998
- /* Selected rows keep their tint, including on hover. */
12999
- .muka-data-table__row--selected,
13000
- .muka-data-table__row--selected:hover {
13001
- background-color: var(--datatable-row-selected-background);
13013
+ /* No gap — max-width only, no flex */
13014
+ .muka-container--gap-none {
13015
+ /* block layout by default */
13002
13016
  }
13003
13017
 
13004
- .muka-data-table__td {
13005
- padding: var(--dt-pad-y) var(--dt-pad-x);
13006
- font-family: var(--text-body-base-regular-fontFamily);
13007
- font-weight: var(--text-body-base-regular-fontWeight);
13008
- font-size: var(--text-body-base-regular-fontSize);
13009
- line-height: var(--text-body-base-regular-lineHeight);
13010
- color: var(--datatable-row-foreground);
13011
- vertical-align: middle;
13018
+ /* Gap variants — flex column with token gap */
13019
+ .muka-container--gap-compact {
13020
+ display: flex;
13021
+ flex-direction: column;
13022
+ gap: var(--container-gap-compact);
13012
13023
  }
13013
13024
 
13014
- .muka-data-table__cell-content {
13025
+ .muka-container--gap-default {
13015
13026
  display: flex;
13016
- align-items: center;
13017
- min-height: var(--datatable-cell-min-height); /* 32px slot — matches Figma body cell height */
13018
- word-break: break-word;
13027
+ flex-direction: column;
13028
+ gap: var(--container-gap-default);
13019
13029
  }
13020
13030
 
13021
- .muka-data-table__row--empty .muka-data-table__cell-content {
13022
- justify-content: center;
13023
- color: var(--color-text-subtle-default);
13031
+ .muka-container--gap-spacious {
13032
+ display: flex;
13033
+ flex-direction: column;
13034
+ gap: var(--container-gap-spacious);
13024
13035
  }
13025
13036
 
13026
- /* ========================================
13027
- BADGES — always the small (sm) scale
13028
- ======================================== */
13029
13037
 
13030
- /* Any Badge inside a DataTable renders at the small scale regardless of the
13031
- `size` prop passed to it — status pills stay compact and consistent across
13032
- every table density. Enforced here so callers can't accidentally scale them
13033
- up. Overrides the `.muka-badge--md`/`--lg` size rules by carrying a higher
13034
- specificity (2–3 classes vs. 1–2), independent of stylesheet import order. */
13035
- .muka-data-table .muka-badge {
13036
- height: var(--badge-size-height-sm);
13037
- gap: var(--badge-gap-sm);
13038
- padding: 0 var(--badge-padding-label-sm);
13039
- font-family: var(--text-label-sm-regular-fontFamily);
13040
- font-weight: var(--text-label-sm-regular-fontWeight);
13041
- font-size: var(--text-label-sm-regular-fontSize);
13042
- line-height: var(--text-label-sm-regular-lineHeight);
13043
- }
13044
-
13045
- /* Match the sm leading padding when a leading icon or dot is present. */
13046
- .muka-data-table .muka-badge.muka-badge--has-icon,
13047
- .muka-data-table .muka-badge.muka-badge--has-dot {
13048
- padding-left: var(--badge-padding-leading-sm);
13049
- }
13050
-
13051
- /* Icon and dot slots follow the sm scale too. */
13052
- .muka-data-table .muka-badge .muka-badge__icon {
13053
- width: var(--icon-size-xs);
13054
- height: var(--icon-size-xs);
13055
- }
13038
+ /* Combobox */
13039
+ /* Combobox — Figma Input Combobox (free-input chips + suggestion Menu) */
13056
13040
 
13057
- .muka-data-table .muka-badge .muka-badge__dot {
13058
- width: var(--badge-size-dot-sm);
13059
- height: var(--badge-size-dot-sm);
13041
+ .muka-combobox {
13042
+ display: inline-flex;
13043
+ flex-direction: column;
13044
+ gap: var(--spacing-2);
13045
+ min-width: 200px;
13060
13046
  }
13061
13047
 
13062
- /* ========================================
13063
- ALIGNMENT
13064
- ======================================== */
13065
-
13066
- .muka-data-table__th--center,
13067
- .muka-data-table__td--center {
13068
- text-align: center;
13048
+ .muka-combobox--full-width {
13049
+ width: 100%;
13069
13050
  }
13070
13051
 
13071
- .muka-data-table__th--center .muka-data-table__th-label,
13072
- .muka-data-table__th--center .muka-data-table__sort-button,
13073
- .muka-data-table__td--center .muka-data-table__cell-content {
13074
- justify-content: center;
13052
+ .muka-combobox__label {
13053
+ color: var(--color-text-default-default);
13054
+ cursor: pointer;
13075
13055
  }
13076
13056
 
13077
- .muka-data-table__th--right,
13078
- .muka-data-table__td--right {
13079
- text-align: right;
13057
+ .muka-combobox__label--sm {
13058
+ font-family: var(--text-label-sm-semibold-fontFamily);
13059
+ font-weight: var(--text-label-sm-semibold-fontWeight);
13060
+ font-size: var(--text-label-sm-semibold-fontSize);
13061
+ line-height: var(--text-label-sm-semibold-lineHeight);
13080
13062
  }
13081
13063
 
13082
- .muka-data-table__th--right .muka-data-table__th-label,
13083
- .muka-data-table__th--right .muka-data-table__sort-button,
13084
- .muka-data-table__td--right .muka-data-table__cell-content {
13085
- justify-content: flex-end;
13064
+ .muka-combobox__label--md {
13065
+ font-family: var(--text-label-md-semibold-fontFamily);
13066
+ font-weight: var(--text-label-md-semibold-fontWeight);
13067
+ font-size: var(--text-label-md-semibold-fontSize);
13068
+ line-height: var(--text-label-md-semibold-lineHeight);
13086
13069
  }
13087
13070
 
13088
- /* ========================================
13089
- COLUMN DIVIDERS (vertical)
13090
- ======================================== */
13091
-
13092
- .muka-data-table--column-dividers .muka-data-table__th:not(:last-child),
13093
- .muka-data-table--column-dividers .muka-data-table__td:not(:last-child) {
13094
- border-right: var(--border-width-regular, 1px) solid var(--datatable-divider-color);
13071
+ .muka-combobox__label--lg {
13072
+ font-family: var(--text-label-lg-semibold-fontFamily);
13073
+ font-weight: var(--text-label-lg-semibold-fontWeight);
13074
+ font-size: var(--text-label-lg-semibold-fontSize);
13075
+ line-height: var(--text-label-lg-semibold-lineHeight);
13095
13076
  }
13096
13077
 
13097
- /* ========================================
13098
- SORTING
13099
- ======================================== */
13100
-
13101
- .muka-data-table__sort-button {
13078
+ .muka-combobox__field {
13102
13079
  display: flex;
13103
13080
  align-items: center;
13104
- gap: var(--spacing-1);
13105
13081
  width: 100%;
13106
- min-height: var(--datatable-cell-min-height);
13107
- padding: 0;
13108
- margin: 0;
13109
- border: 0;
13110
- background: none;
13111
- font: inherit;
13112
- color: inherit;
13113
- text-align: inherit;
13114
- cursor: pointer;
13115
- user-select: none;
13116
- border-radius: var(--border-radius-md, 8px);
13082
+ position: relative;
13083
+ isolation: isolate;
13084
+ box-sizing: border-box;
13085
+ background-color: var(--input-field-color-default-background);
13086
+ border: var(--border-width-regular) solid var(--input-field-color-default-border);
13087
+ border-radius: var(--input-field-radius-lg);
13088
+ padding: var(--spacing-2);
13089
+ cursor: text;
13090
+ transition: border-color 0.12s ease, background-color 0.12s ease;
13117
13091
  }
13118
13092
 
13119
- .muka-data-table__sort-button:focus-visible {
13120
- outline: 2px solid var(--datatable-focus-ring);
13121
- outline-offset: 2px;
13093
+ .muka-combobox__field::after {
13094
+ content: '';
13095
+ position: absolute;
13096
+ inset: 0;
13097
+ border-radius: inherit;
13098
+ box-shadow: inset 0 1px 2px 0 rgba(26, 26, 26, 0.08);
13099
+ pointer-events: none;
13122
13100
  }
13123
13101
 
13124
- /* The chevron only renders on the active sort column, so it's always full-strength. */
13125
- .muka-data-table__sort-icon {
13126
- display: inline-flex;
13127
- flex-shrink: 0;
13102
+ .muka-combobox__field--sm {
13103
+ min-height: var(--input-field-height-sm);
13104
+ border-radius: var(--input-field-radius-sm);
13128
13105
  }
13129
13106
 
13130
- /* ========================================
13131
- INTERACTIVE ROWS (clickable / link)
13132
- ======================================== */
13133
-
13134
- .muka-data-table__row--interactive {
13135
- cursor: pointer;
13136
- /* anchor for the stretched link overlay */
13137
- position: relative;
13107
+ .muka-combobox__field--md {
13108
+ min-height: var(--input-field-height-default);
13109
+ border-radius: var(--input-field-radius-md);
13138
13110
  }
13139
13111
 
13140
- .muka-data-table__row--interactive:focus-visible {
13141
- outline: 2px solid var(--datatable-focus-ring);
13142
- outline-offset: -2px;
13112
+ .muka-combobox__field--lg {
13113
+ min-height: var(--input-field-height-lg);
13114
+ border-radius: var(--input-field-radius-lg);
13143
13115
  }
13144
13116
 
13145
- .muka-data-table__row--interactive:active {
13146
- background-color: var(--datatable-row-pressed-background);
13117
+ .muka-combobox__field--focused:not(.muka-combobox__field--disabled) {
13118
+ border-width: var(--border-width-bold);
13119
+ border-color: var(--input-field-color-focus-border);
13120
+ background-color: var(--input-field-color-focus-background);
13121
+ padding: calc(var(--spacing-2) - 1px);
13147
13122
  }
13148
13123
 
13149
- /* Link rows: the first-cell anchor stretches to cover the whole row. */
13150
- .muka-data-table__row-link {
13151
- color: inherit;
13152
- text-decoration: none;
13124
+ .muka-combobox__field--error:not(.muka-combobox__field--disabled) {
13125
+ border-color: var(--color-state-error-contrast);
13153
13126
  }
13154
13127
 
13155
- .muka-data-table__row-link::after {
13156
- content: '';
13157
- position: absolute;
13158
- inset: 0;
13159
- z-index: 0;
13128
+ .muka-combobox__field--disabled {
13129
+ opacity: 0.5;
13130
+ cursor: not-allowed;
13160
13131
  }
13161
13132
 
13162
- .muka-data-table__row--link:hover {
13163
- background-color: var(--datatable-row-hover-background);
13133
+ .muka-combobox__field--multiline {
13134
+ align-items: flex-start;
13135
+ min-height: 7rem;
13164
13136
  }
13165
13137
 
13166
- .muka-data-table__row--link .muka-data-table__row-link:focus-visible {
13167
- outline: 2px solid var(--datatable-focus-ring);
13168
- outline-offset: -2px;
13138
+ .muka-combobox__chips {
13139
+ display: flex;
13140
+ flex: 1 1 auto;
13141
+ flex-wrap: wrap;
13142
+ gap: var(--spacing-2);
13143
+ align-items: center;
13144
+ min-width: 0;
13145
+ width: 100%;
13146
+ position: relative;
13147
+ z-index: 1;
13169
13148
  }
13170
13149
 
13171
- /* Disabled rows */
13172
- .muka-data-table__row--disabled {
13173
- cursor: default;
13174
- color: var(--color-text-muted-default);
13150
+ .muka-combobox__input {
13151
+ flex: 1 1 5rem;
13152
+ min-width: 5rem;
13153
+ min-height: 2rem;
13154
+ margin: 0;
13155
+ padding: 0 var(--spacing-1);
13156
+ border: none;
13157
+ outline: none;
13158
+ background: transparent;
13159
+ color: var(--input-field-color-default-foreground);
13160
+ caret-color: var(--input-field-color-default-foreground);
13161
+ font-family: var(--text-label-md-regular-fontFamily);
13162
+ font-size: var(--text-label-md-regular-fontSize);
13163
+ font-weight: var(--text-label-md-regular-fontWeight);
13164
+ line-height: var(--text-label-md-regular-lineHeight);
13175
13165
  }
13176
13166
 
13177
- .muka-data-table__row--disabled .muka-data-table__td {
13178
- color: var(--color-text-muted-default);
13167
+ .muka-combobox__input::placeholder {
13168
+ color: var(--color-text-subtle-default);
13179
13169
  }
13180
13170
 
13181
- /* ========================================
13182
- TRAILING ACTION COLUMN
13183
- ======================================== */
13184
-
13185
- /* Hug: the trailing action column shrinks to its content, so a text-label
13186
- button ("View") gets exactly the width it needs and an icon-only button
13187
- stays tight. `width: 1%` + `nowrap` is the classic auto-table hug. */
13188
- .muka-data-table__col--action {
13189
- width: 0;
13171
+ .muka-combobox__helper {
13172
+ margin: 0;
13173
+ color: var(--color-text-subtle-default);
13174
+ font-family: var(--text-label-sm-regular-fontFamily);
13175
+ font-size: var(--text-label-sm-regular-fontSize);
13176
+ font-weight: var(--text-label-sm-regular-fontWeight);
13177
+ line-height: var(--text-label-sm-regular-lineHeight);
13190
13178
  }
13191
13179
 
13192
- .muka-data-table__th--action,
13193
- .muka-data-table__td--action {
13194
- width: 1%;
13195
- white-space: nowrap;
13196
- padding-left: var(--spacing-2);
13197
- padding-right: var(--spacing-2);
13198
- text-align: right;
13199
- /* Sit above the row link overlay so the action stays independently clickable. */
13200
- position: relative;
13201
- z-index: 1;
13180
+ .muka-combobox__error {
13181
+ margin: 0;
13182
+ color: var(--color-state-error-default);
13183
+ font-family: var(--text-label-sm-regular-fontFamily);
13184
+ font-size: var(--text-label-sm-regular-fontSize);
13185
+ font-weight: var(--text-label-sm-regular-fontWeight);
13186
+ line-height: var(--text-label-sm-regular-lineHeight);
13202
13187
  }
13203
13188
 
13204
- .muka-data-table__action-content {
13205
- justify-content: flex-end;
13189
+ .muka-combobox__menu-anchor {
13190
+ position: absolute;
13191
+ inset: 0;
13192
+ z-index: 0;
13193
+ width: 100%;
13194
+ height: 100%;
13195
+ margin: 0;
13196
+ padding: 0;
13197
+ border: none;
13198
+ background: transparent;
13199
+ pointer-events: none;
13200
+ opacity: 0;
13206
13201
  }
13207
13202
 
13208
- /* Visually-hidden-friendly empty header slot keeps the row height consistent. */
13209
- .muka-data-table__action-header:empty {
13210
- min-height: var(--datatable-cell-min-height);
13203
+ .muka-combobox__menu {
13204
+ /* Prefer Menu token min-width (280px); may exceed the field when left-aligned. */
13205
+ min-width: var(--menu-content-min-width);
13206
+ width: max-content;
13207
+ max-width: min(100vw - 2rem, 24rem);
13211
13208
  }
13212
13209
 
13213
- /* ========================================
13214
- SELECTION — leading checkbox column
13215
- ======================================== */
13216
13210
 
13217
- .muka-data-table__col--select {
13218
- width: var(--datatable-selection-column-width);
13211
+ /* ChipSelectGroup */
13212
+ /* ChipSelectGroup — wrapping row of selectable chips (experimental) */
13213
+ .muka-chip-select-group {
13214
+ display: flex;
13215
+ flex-wrap: wrap;
13216
+ gap: var(--spacing-2);
13219
13217
  }
13220
13218
 
13221
- .muka-data-table__th--select,
13222
- .muka-data-table__td--select {
13223
- width: var(--datatable-selection-column-width);
13224
- padding-left: var(--spacing-4);
13225
- padding-right: var(--spacing-2);
13226
- /* Sit above the row link overlay so the checkbox stays independently clickable. */
13227
- position: relative;
13228
- z-index: 1;
13229
- }
13230
13219
 
13231
- .muka-data-table__select-control {
13220
+ /* Chip */
13221
+ /* Chip Component Styles - Using Muka Design Tokens (Figma: Chip, Chip/Trailing) */
13222
+
13223
+ /*
13224
+ * Internal custom properties (not public API):
13225
+ * --_chip-gap / --_chip-pad-start / --_chip-pad-end spacing per size and slot
13226
+ * --_chip-tr-* trailing button colours per variant
13227
+ */
13228
+ .muka-chip {
13232
13229
  display: inline-flex;
13233
13230
  align-items: center;
13231
+ gap: var(--_chip-gap);
13232
+ padding: 0 var(--_chip-pad-end) 0 var(--_chip-pad-start);
13233
+ border-radius: var(--border-radius-full);
13234
+ white-space: nowrap;
13235
+ user-select: none;
13236
+ border: var(--border-width-regular) solid transparent;
13237
+ box-sizing: border-box;
13238
+ flex-shrink: 0;
13234
13239
  }
13235
13240
 
13236
- /* ========================================
13237
- RESPONSIVE — two-column mobile layout
13238
- ======================================== */
13239
-
13240
- /* Desktop: the mobile-only stack cell/header/col are hidden. */
13241
- .muka-data-table__th--mobile-stack,
13242
- .muka-data-table__td--mobile-stack {
13243
- display: none;
13241
+ /*
13242
+ * Sizes: height, gap, type, and label-edge padding. The side that carries an
13243
+ * adornment gets its own padding: leading icon → chip.padding.leading, and the
13244
+ * right edge after a leading icon → chip.padding.labelEnd (Figma lg: 20). A
13245
+ * trailing button → chip.padding.trailing, which wins (declared later).
13246
+ */
13247
+ .muka-chip--sm {
13248
+ height: var(--chip-size-height-sm);
13249
+ --_chip-gap: var(--chip-gap-sm);
13250
+ --_chip-pad-start: var(--chip-padding-label-sm);
13251
+ --_chip-pad-end: var(--chip-padding-label-sm);
13252
+ font-family: var(--text-label-sm-regular-fontFamily);
13253
+ font-weight: var(--text-label-sm-regular-fontWeight);
13254
+ font-size: var(--text-label-sm-regular-fontSize);
13255
+ line-height: var(--text-label-sm-regular-lineHeight);
13244
13256
  }
13245
13257
 
13246
- /* Establish a container so the layout responds to the table's own width, not the
13247
- viewport — a DataTable in a narrow panel collapses even on a wide screen. */
13248
- .muka-data-table-wrapper--responsive {
13249
- container-type: inline-size;
13258
+ .muka-chip--md {
13259
+ height: var(--chip-size-height-md);
13260
+ --_chip-gap: var(--chip-gap-md);
13261
+ --_chip-pad-start: var(--chip-padding-label-md);
13262
+ --_chip-pad-end: var(--chip-padding-label-md);
13263
+ font-family: var(--text-label-md-regular-fontFamily);
13264
+ font-weight: var(--text-label-md-regular-fontWeight);
13265
+ font-size: var(--text-label-md-regular-fontSize);
13266
+ line-height: var(--text-label-md-regular-lineHeight);
13250
13267
  }
13251
13268
 
13252
- /* Below --breakpoint-md (768px) of the wrapper's width. @container can't read
13253
- custom properties, so the value is inlined as 767.98px. */
13254
- @container (max-width: 767.98px) {
13255
- /* Lift the table and body out of table layout. Without this the grid rows
13256
- below get wrapped in anonymous table cells that shrink-wrap them to
13257
- min-content, collapsing the flexible (1fr) stack track to 0. */
13258
- .muka-data-table--responsive {
13259
- display: block;
13260
- /* Collapsed cards always use md cell padding regardless of the table's `size`
13261
- — sm is too tight and lg wastes horizontal room, forcing the name to wrap. */
13262
- --dt-pad-x: var(--datatable-cell-padding-x-md);
13263
- --dt-pad-y: var(--datatable-cell-padding-y-md);
13264
- }
13269
+ .muka-chip--lg {
13270
+ height: var(--chip-size-height-lg);
13271
+ --_chip-gap: var(--chip-gap-lg);
13272
+ --_chip-pad-start: var(--chip-padding-label-lg);
13273
+ --_chip-pad-end: var(--chip-padding-label-lg);
13274
+ font-family: var(--text-label-lg-regular-fontFamily);
13275
+ font-weight: var(--text-label-lg-regular-fontWeight);
13276
+ font-size: var(--text-label-lg-regular-fontSize);
13277
+ line-height: var(--text-label-lg-regular-lineHeight);
13278
+ }
13265
13279
 
13266
- .muka-data-table--responsive .muka-data-table__body {
13267
- display: block;
13268
- }
13280
+ .muka-chip--sm.muka-chip--has-icon {
13281
+ --_chip-pad-start: var(--chip-padding-leading-sm);
13282
+ --_chip-pad-end: var(--chip-padding-labelEnd-sm);
13283
+ }
13284
+ .muka-chip--md.muka-chip--has-icon {
13285
+ --_chip-pad-start: var(--chip-padding-leading-md);
13286
+ --_chip-pad-end: var(--chip-padding-labelEnd-md);
13287
+ }
13288
+ .muka-chip--lg.muka-chip--has-icon {
13289
+ --_chip-pad-start: var(--chip-padding-leading-lg);
13290
+ --_chip-pad-end: var(--chip-padding-labelEnd-lg);
13291
+ }
13269
13292
 
13270
- .muka-data-table--responsive .muka-data-table__head {
13271
- display: none;
13272
- }
13293
+ .muka-chip--sm.muka-chip--has-trailing {
13294
+ --_chip-pad-end: var(--chip-padding-trailing-sm);
13295
+ }
13296
+ .muka-chip--md.muka-chip--has-trailing {
13297
+ --_chip-pad-end: var(--chip-padding-trailing-md);
13298
+ }
13299
+ .muka-chip--lg.muka-chip--has-trailing {
13300
+ --_chip-pad-end: var(--chip-padding-trailing-lg);
13301
+ }
13273
13302
 
13274
- .muka-data-table--responsive .muka-data-table__row {
13275
- display: grid;
13276
- grid-template-columns: 1fr auto auto;
13277
- align-items: center;
13278
- column-gap: var(--spacing-4);
13279
- padding: var(--dt-pad-y) var(--dt-pad-x);
13280
- }
13303
+ /* Leading icon slot — Figma icon sizes: sm 16, md 20, lg 24 */
13304
+ .muka-chip__icon {
13305
+ display: inline-flex;
13306
+ align-items: center;
13307
+ justify-content: center;
13308
+ flex-shrink: 0;
13309
+ }
13281
13310
 
13282
- /* Reset table cells; each visible mobile cell opts back in below. */
13283
- .muka-data-table--responsive .muka-data-table__td {
13284
- display: none;
13285
- padding: 0;
13286
- }
13311
+ .muka-chip--sm .muka-chip__icon {
13312
+ width: var(--icon-size-xs);
13313
+ height: var(--icon-size-xs);
13314
+ }
13315
+ .muka-chip--md .muka-chip__icon {
13316
+ width: var(--icon-size-sm);
13317
+ height: var(--icon-size-sm);
13318
+ }
13319
+ .muka-chip--lg .muka-chip__icon {
13320
+ width: var(--icon-size-default);
13321
+ height: var(--icon-size-default);
13322
+ }
13287
13323
 
13288
- /* Pin every visible cell to the single grid row. The stack cell sits after the
13289
- secondary cell in DOM order but targets an earlier column, so without this
13290
- auto-placement spills it onto a second row (breaking vertical centering). */
13291
- .muka-data-table--responsive .muka-data-table__td--select,
13292
- .muka-data-table--responsive .muka-data-table__td--mobile-stack,
13293
- .muka-data-table--responsive .muka-data-table__td--m-secondary,
13294
- .muka-data-table--responsive .muka-data-table__td--action {
13295
- grid-row: 1;
13296
- }
13324
+ /* Force the passed content (raw <svg> or an <Icon> wrapper) to the slot size,
13325
+ so callers don't have to size the icon to match each chip size. The
13326
+ .muka-icon selector is intentionally 2 classes deep to override .muka-icon--md. */
13327
+ .muka-chip__icon .muka-icon,
13328
+ .muka-chip__icon svg {
13329
+ width: 100%;
13330
+ height: 100%;
13331
+ }
13297
13332
 
13298
- .muka-data-table--responsive .muka-data-table__td--mobile-stack {
13299
- display: block;
13300
- grid-column: 1;
13301
- min-width: 0;
13302
- }
13333
+ .muka-chip__label {
13334
+ flex: 0 0 auto;
13335
+ /*
13336
+ * The chip sets a tight line-height (= font size) for compact sizing; the
13337
+ * label gets a roomier one so descenders (g, y, p) aren't clipped when it
13338
+ * truncates. Vertical centering is unaffected: the chip height is fixed and
13339
+ * content is centered via align-items: center.
13340
+ */
13341
+ line-height: normal;
13342
+ }
13303
13343
 
13304
- .muka-data-table--responsive .muka-data-table__td--m-secondary {
13305
- display: block;
13306
- grid-column: 2;
13307
- /* Hug the widest secondary content (e.g. a status badge). The desktop column's
13308
- min/max-width are inline styles, so `!important` is required to drop them and
13309
- let the `auto` grid track shrink to the badge — freeing space for the name. */
13310
- min-width: 0 !important;
13311
- max-width: none !important;
13312
- }
13344
+ /*
13345
+ * A chip keeps its full label by default (it doesn't shrink). With `truncate`
13346
+ * it may shrink to its container, and the label ends in an ellipsis.
13347
+ */
13348
+ .muka-chip--truncate {
13349
+ flex-shrink: 1;
13350
+ min-width: 0;
13351
+ max-width: 100%;
13352
+ }
13313
13353
 
13314
- .muka-data-table--responsive .muka-data-table__td--action {
13315
- display: block;
13316
- grid-column: 3;
13317
- width: auto;
13318
- }
13354
+ .muka-chip--truncate .muka-chip__label {
13355
+ flex: 0 1 auto;
13356
+ min-width: 0;
13357
+ overflow: hidden;
13358
+ text-overflow: ellipsis;
13359
+ }
13319
13360
 
13320
- /* Cell-content wrappers: drop the fixed row-height slot so rows stay compact. */
13321
- .muka-data-table--responsive .muka-data-table__td .muka-data-table__cell-content {
13322
- min-height: 0;
13323
- }
13361
+ /*
13362
+ * Label as a link or button (`href` / `onLabelClick`). It takes over the
13363
+ * chip's start padding (and end padding when there is no trailing button), so
13364
+ * the whole body up to the trailing button is its hit area.
13365
+ */
13366
+ .muka-chip__label-action,
13367
+ .muka-chip__label-group {
13368
+ display: inline-flex;
13369
+ align-items: center;
13370
+ gap: var(--_chip-gap);
13371
+ }
13324
13372
 
13325
- .muka-data-table--responsive .muka-data-table__td--m-secondary .muka-data-table__cell-content {
13326
- justify-content: flex-end;
13327
- }
13373
+ .muka-chip--truncate .muka-chip__label-action,
13374
+ .muka-chip--truncate .muka-chip__label-group {
13375
+ min-width: 0;
13376
+ }
13328
13377
 
13329
- /* Utility for cell content: hide a sub-element in the collapsed card. Use it to
13330
- drop a redundant text label next to a compact visual (e.g. the "75%" beside a
13331
- donut) so only the visual shows and the secondary column hugs to its width.
13332
- `display: none` also collapses any surrounding flex `gap`, leaving no gutter. */
13333
- .muka-data-table--responsive .muka-data-table__mobile-hidden {
13334
- display: none;
13335
- }
13378
+ .muka-chip__label-action {
13379
+ align-self: stretch;
13380
+ margin: 0;
13381
+ margin-left: calc(-1 * var(--_chip-pad-start));
13382
+ padding: 0 0 0 var(--_chip-pad-start);
13383
+ border: none;
13384
+ border-radius: var(--border-radius-full);
13385
+ background: none;
13386
+ color: inherit;
13387
+ font: inherit;
13388
+ text-decoration: none;
13389
+ text-align: inherit;
13390
+ cursor: pointer;
13391
+ }
13336
13392
 
13337
- /* Stacked primary column: first field is the title, the rest are subtitle lines. */
13338
- .muka-data-table__stack {
13339
- display: flex;
13340
- flex-direction: column;
13341
- gap: var(--spacing-1);
13342
- min-width: 0;
13343
- }
13344
-
13345
- /* A ProfileBadge in the collapsed card drops its avatar so the name sits
13346
- flush-left and lines up with the other stacked primary/secondary text
13347
- instead of being indented by the avatar. `display: none` also collapses the
13348
- ProfileBadge's flex gap, so no placeholder whitespace is left behind. */
13349
- .muka-data-table--responsive .muka-profile-badge__avatar {
13350
- display: none;
13351
- }
13352
-
13353
- .muka-data-table__stack-title {
13354
- font-family: var(--text-label-md-semibold-fontFamily);
13355
- font-weight: var(--text-label-md-semibold-fontWeight);
13356
- font-size: var(--text-label-md-semibold-fontSize);
13357
- line-height: var(--text-label-md-semibold-lineHeight);
13358
- color: var(--color-text-default-default);
13359
- overflow: hidden;
13360
- text-overflow: ellipsis;
13361
- }
13362
-
13363
- .muka-data-table__stack-line {
13364
- font-family: var(--text-body-sm-regular-fontFamily);
13365
- font-weight: var(--text-body-sm-regular-fontWeight);
13366
- font-size: var(--text-body-sm-regular-fontSize);
13367
- line-height: var(--text-body-sm-regular-lineHeight);
13368
- color: var(--color-text-subtle-default);
13369
- overflow: hidden;
13370
- text-overflow: ellipsis;
13371
- }
13372
-
13373
- /* The stack title may itself be the stretched link. */
13374
- .muka-data-table__stack-title .muka-data-table__row-link {
13375
- color: inherit;
13376
- text-decoration: none;
13377
- }
13378
-
13379
- /* Selection checkbox leads the mobile row: [checkbox | stack | secondary | action]. */
13380
- .muka-data-table--responsive .muka-data-table__td--select {
13381
- display: block;
13382
- grid-column: 1;
13383
- width: auto;
13384
- }
13385
-
13386
- .muka-data-table--responsive.muka-data-table--selectable .muka-data-table__row {
13387
- grid-template-columns: auto 1fr auto auto;
13388
- }
13389
-
13390
- .muka-data-table--responsive.muka-data-table--selectable .muka-data-table__td--mobile-stack {
13391
- grid-column: 2;
13392
- }
13393
-
13394
- .muka-data-table--responsive.muka-data-table--selectable .muka-data-table__td--m-secondary {
13395
- grid-column: 3;
13396
- }
13397
-
13398
- .muka-data-table--responsive.muka-data-table--selectable .muka-data-table__td--action {
13399
- grid-column: 4;
13400
- }
13393
+ .muka-chip--has-label-action:not(.muka-chip--has-trailing) .muka-chip__label-action {
13394
+ margin-right: calc(-1 * var(--_chip-pad-end));
13395
+ padding-right: var(--_chip-pad-end);
13401
13396
  }
13402
13397
 
13398
+ .muka-chip__label-action:focus-visible {
13399
+ outline: 2px solid var(--color-border-focus);
13400
+ outline-offset: 2px;
13401
+ }
13403
13402
 
13404
- /* DataPieChart */
13405
- /* DataPieChart Component Styles - Using Muka Design Tokens */
13406
-
13407
- .muka-data-pie-chart {
13403
+ /* Trailing button (dismiss / expand / switch) — circular. Figma sizes: sm 20, md 24, lg 32 */
13404
+ .muka-chip__trailing {
13408
13405
  position: relative;
13409
13406
  display: inline-flex;
13410
13407
  align-items: center;
13411
13408
  justify-content: center;
13412
13409
  flex-shrink: 0;
13410
+ padding: 0;
13411
+ margin: 0;
13412
+ border: var(--border-width-regular) solid var(--_chip-tr-border, transparent);
13413
+ border-radius: var(--border-radius-full);
13414
+ box-sizing: border-box;
13415
+ background-color: var(--_chip-tr-bg);
13416
+ color: var(--_chip-tr-fg);
13417
+ cursor: pointer;
13418
+ transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
13413
13419
  }
13414
13420
 
13415
- .muka-data-pie-chart__svg {
13416
- display: block;
13417
- width: 100%;
13418
- height: 100%;
13419
- /* Start the segment at 12 o'clock instead of 3 o'clock */
13420
- transform: rotate(-90deg);
13421
+ .muka-chip--sm .muka-chip__trailing {
13422
+ width: var(--icon-size-sm);
13423
+ height: var(--icon-size-sm);
13421
13424
  }
13422
-
13423
- .muka-data-pie-chart__track {
13424
- fill: none;
13425
+ .muka-chip--md .muka-chip__trailing {
13426
+ width: var(--icon-size-default);
13427
+ height: var(--icon-size-default);
13425
13428
  }
13426
-
13427
- .muka-data-pie-chart__segment {
13428
- fill: none;
13429
- /* Subtle lift on the filled segment, matching the Figma elevation */
13430
- filter: drop-shadow(0 2px 4px var(--color-black-alpha-5, rgba(0, 0, 0, 0.05)));
13431
- /* Butt caps keep the always-rendered 0% arc invisible (round caps would draw a dot) */
13432
- stroke-linecap: butt;
13433
- /* view duration (300ms) reads at the 24px size; tokens zero it for reduced motion */
13434
- transition: stroke-dasharray var(--motion-duration-view) var(--motion-easing-default);
13429
+ .muka-chip--lg .muka-chip__trailing {
13430
+ width: var(--icon-size-lg);
13431
+ height: var(--icon-size-lg);
13435
13432
  }
13436
13433
 
13437
- /* ─── Indeterminate (spinner) ─────────────────────────── */
13438
- /* A masked ring filled with an angular (conic) gradient that rotates. The mask
13439
- band matches the donut geometry (r=40, strokeWidth=16 → 64%–96% of radius) so
13440
- it swaps seamlessly with the value-based progress donut. */
13441
- .muka-data-pie-chart__spinner-track,
13442
- .muka-data-pie-chart__spinner {
13434
+ /* A touch target of at least the sm chip height (24px, WCAG 2.5.8) around the 20px circle */
13435
+ button.muka-chip__trailing::before {
13436
+ content: '';
13443
13437
  position: absolute;
13444
- inset: 0;
13445
- border-radius: 50%;
13446
- -webkit-mask: radial-gradient(farthest-side, transparent 63%, #000 65%, #000 95%, transparent 97%);
13447
- mask: radial-gradient(farthest-side, transparent 63%, #000 65%, #000 95%, transparent 97%);
13438
+ top: 50%;
13439
+ left: 50%;
13440
+ width: max(100%, var(--chip-size-height-sm));
13441
+ height: max(100%, var(--chip-size-height-sm));
13442
+ transform: translate(-50%, -50%);
13448
13443
  }
13449
13444
 
13450
- .muka-data-pie-chart__spinner {
13451
- animation: muka-data-pie-chart-spin 0.9s linear infinite;
13445
+ button.muka-chip__trailing:focus-visible {
13446
+ outline: 2px solid var(--color-border-focus);
13447
+ outline-offset: 2px;
13452
13448
  }
13453
13449
 
13454
- @keyframes muka-data-pie-chart-spin {
13455
- to {
13456
- transform: rotate(360deg);
13457
- }
13450
+ button.muka-chip__trailing:disabled {
13451
+ cursor: not-allowed;
13452
+ opacity: 0.5;
13458
13453
  }
13459
13454
 
13460
- @media (prefers-reduced-motion: reduce) {
13461
- .muka-data-pie-chart__spinner {
13462
- animation-duration: 2.5s;
13463
- }
13455
+ /* Trailing button states: its own hover / pressed, or the whole chip's when the chip is one button */
13456
+ button.muka-chip__trailing:hover:not(:disabled),
13457
+ .muka-chip--expandable:hover:not(:disabled) .muka-chip__trailing {
13458
+ border-color: var(--_chip-tr-border-hover, transparent);
13459
+ background-color: var(--_chip-tr-bg-hover);
13460
+ color: var(--_chip-tr-fg-hover);
13464
13461
  }
13465
13462
 
13466
- .muka-data-pie-chart__value {
13467
- position: absolute;
13468
- inset: 0;
13469
- display: flex;
13470
- align-items: center;
13471
- justify-content: center;
13472
- font-family: var(--text-body-base-bold-fontFamily);
13473
- font-weight: var(--text-body-base-bold-fontWeight);
13474
- font-size: var(--text-body-base-bold-fontSize);
13475
- line-height: var(--text-body-base-bold-lineHeight);
13476
- color: var(--color-text-default-default);
13463
+ button.muka-chip__trailing:active:not(:disabled),
13464
+ button.muka-chip__trailing[aria-expanded='true'],
13465
+ .muka-chip--expandable:active:not(:disabled) .muka-chip__trailing,
13466
+ .muka-chip--expandable[aria-expanded='true'] .muka-chip__trailing {
13467
+ border-color: var(--_chip-tr-border-hover, transparent);
13468
+ background-color: var(--_chip-tr-bg-pressed);
13469
+ color: var(--_chip-tr-fg-pressed);
13477
13470
  }
13478
13471
 
13479
-
13480
- /* Container */
13481
- /* Container Component - Layout tokens (container.max-width, container.gap) */
13482
-
13483
- .muka-container {
13484
- box-sizing: border-box;
13485
- width: 100%;
13486
- margin-inline: auto;
13472
+ /*
13473
+ * Whole-chip button (`trailing="expand" | "switch"`, Figma "Chip/Trailing
13474
+ * Expand"): typically a menu trigger. An open menu (aria-expanded) shows the
13475
+ * trailing button pressed, like Button's open state.
13476
+ */
13477
+ .muka-chip--expandable {
13478
+ margin: 0;
13479
+ text-align: inherit;
13480
+ cursor: pointer;
13487
13481
  }
13488
13482
 
13489
- /* Max-width variants */
13490
- .muka-container--max-width-small {
13491
- max-width: var(--container-max-width-small);
13483
+ .muka-chip--expandable:focus-visible {
13484
+ outline: 2px solid var(--color-border-focus);
13485
+ outline-offset: 2px;
13492
13486
  }
13493
13487
 
13494
- .muka-container--max-width-medium {
13495
- max-width: var(--container-max-width-medium);
13488
+ .muka-chip--expandable:disabled {
13489
+ cursor: not-allowed;
13496
13490
  }
13497
13491
 
13498
- .muka-container--max-width-large {
13499
- max-width: var(--container-max-width-large);
13492
+ .muka-chip--expandable .muka-chip__trailing {
13493
+ pointer-events: none;
13500
13494
  }
13501
13495
 
13502
- .muka-container--max-width-xlarge {
13503
- max-width: var(--container-max-width-xlarge);
13496
+ /* Variants: body fill, foreground, and the trailing button's colour steps */
13497
+ .muka-chip--default {
13498
+ background-color: var(--chip-neutral-background-default);
13499
+ color: var(--color-text-default-default);
13500
+ --_chip-tr-bg: var(--chip-trailing-default-background-default);
13501
+ --_chip-tr-bg-hover: var(--chip-trailing-default-background-hover);
13502
+ --_chip-tr-bg-pressed: var(--chip-trailing-default-background-pressed);
13503
+ --_chip-tr-fg: var(--chip-trailing-default-foreground-default);
13504
+ --_chip-tr-fg-hover: var(--chip-trailing-default-foreground-hover);
13505
+ --_chip-tr-fg-pressed: var(--chip-trailing-default-foreground-pressed);
13504
13506
  }
13505
13507
 
13506
- /* No gap — max-width only, no flex */
13507
- .muka-container--gap-none {
13508
- /* block layout by default */
13508
+ .muka-chip--success {
13509
+ background-color: var(--color-state-success-background);
13510
+ color: var(--color-state-success-contrast);
13511
+ --_chip-tr-bg: var(--chip-trailing-success-background-default);
13512
+ --_chip-tr-bg-hover: var(--chip-trailing-success-background-hover);
13513
+ --_chip-tr-bg-pressed: var(--chip-trailing-success-background-pressed);
13514
+ --_chip-tr-fg: var(--chip-trailing-success-foreground-default);
13515
+ --_chip-tr-fg-hover: var(--chip-trailing-success-foreground-hover);
13516
+ --_chip-tr-fg-pressed: var(--chip-trailing-success-foreground-pressed);
13509
13517
  }
13510
13518
 
13511
- /* Gap variants — flex column with token gap */
13512
- .muka-container--gap-compact {
13513
- display: flex;
13514
- flex-direction: column;
13515
- gap: var(--container-gap-compact);
13519
+ .muka-chip--warning {
13520
+ background-color: var(--color-state-warning-background);
13521
+ color: var(--color-state-warning-contrast);
13522
+ --_chip-tr-bg: var(--chip-trailing-warning-background-default);
13523
+ --_chip-tr-bg-hover: var(--chip-trailing-warning-background-hover);
13524
+ --_chip-tr-bg-pressed: var(--chip-trailing-warning-background-pressed);
13525
+ --_chip-tr-fg: var(--chip-trailing-warning-foreground-default);
13526
+ --_chip-tr-fg-hover: var(--chip-trailing-warning-foreground-hover);
13527
+ --_chip-tr-fg-pressed: var(--chip-trailing-warning-foreground-pressed);
13516
13528
  }
13517
13529
 
13518
- .muka-container--gap-default {
13519
- display: flex;
13520
- flex-direction: column;
13521
- gap: var(--container-gap-default);
13530
+ .muka-chip--error {
13531
+ background-color: var(--color-state-error-background);
13532
+ color: var(--color-state-error-contrast);
13533
+ --_chip-tr-bg: var(--chip-trailing-error-background-default);
13534
+ --_chip-tr-bg-hover: var(--chip-trailing-error-background-hover);
13535
+ --_chip-tr-bg-pressed: var(--chip-trailing-error-background-pressed);
13536
+ --_chip-tr-fg: var(--chip-trailing-error-foreground-default);
13537
+ --_chip-tr-fg-hover: var(--chip-trailing-error-foreground-hover);
13538
+ --_chip-tr-fg-pressed: var(--chip-trailing-error-foreground-pressed);
13522
13539
  }
13523
13540
 
13524
- .muka-container--gap-spacious {
13525
- display: flex;
13526
- flex-direction: column;
13527
- gap: var(--container-gap-spacious);
13528
- }
13529
-
13530
-
13531
- /* Combobox */
13532
- /* Combobox — Figma Input Combobox (free-input chips + suggestion Menu) */
13533
-
13534
- .muka-combobox {
13535
- display: inline-flex;
13536
- flex-direction: column;
13537
- gap: var(--spacing-2);
13538
- min-width: 200px;
13541
+ .muka-chip--info {
13542
+ background-color: var(--color-state-info-background);
13543
+ color: var(--color-state-info-contrast);
13544
+ --_chip-tr-bg: var(--chip-trailing-info-background-default);
13545
+ --_chip-tr-bg-hover: var(--chip-trailing-info-background-hover);
13546
+ --_chip-tr-bg-pressed: var(--chip-trailing-info-background-pressed);
13547
+ --_chip-tr-fg: var(--chip-trailing-info-foreground-default);
13548
+ --_chip-tr-fg-hover: var(--chip-trailing-info-foreground-hover);
13549
+ --_chip-tr-fg-pressed: var(--chip-trailing-info-foreground-pressed);
13539
13550
  }
13540
13551
 
13541
- .muka-combobox--full-width {
13542
- width: 100%;
13552
+ /* Ghost: no fill, subtle label; the trailing circle is outlined at rest (Figma Chip/Trailing Ghost) */
13553
+ .muka-chip--ghost {
13554
+ background-color: var(--chip-ghost-background-default);
13555
+ color: var(--chip-ghost-foreground-default);
13556
+ --_chip-tr-border: var(--chip-trailing-ghost-border-default);
13557
+ --_chip-tr-bg: var(--chip-trailing-ghost-background-default);
13558
+ --_chip-tr-bg-hover: var(--chip-trailing-ghost-background-hover);
13559
+ --_chip-tr-bg-pressed: var(--chip-trailing-ghost-background-pressed);
13560
+ --_chip-tr-fg: var(--chip-trailing-ghost-foreground-default);
13561
+ --_chip-tr-fg-hover: var(--chip-trailing-ghost-foreground-hover);
13562
+ --_chip-tr-fg-pressed: var(--chip-trailing-ghost-foreground-pressed);
13543
13563
  }
13544
13564
 
13545
- .muka-combobox__label {
13546
- color: var(--color-text-default-default);
13547
- cursor: pointer;
13565
+ /*
13566
+ * Body hover (Figma Chip State=Hover) — only on chips whose body does
13567
+ * something: the whole-chip button, or a label link/button (hovering just the
13568
+ * label, not the trailing button, which has its own states). A static chip
13569
+ * doesn't hover.
13570
+ */
13571
+ .muka-chip--default.muka-chip--expandable:is(:hover, :focus-visible, [aria-expanded='true']):not(:disabled),
13572
+ .muka-chip--default.muka-chip--has-label-action:has(> .muka-chip__label-action:is(:hover, :focus-visible)) {
13573
+ background-color: var(--chip-neutral-background-hover);
13548
13574
  }
13549
13575
 
13550
- .muka-combobox__label--sm {
13551
- font-family: var(--text-label-sm-semibold-fontFamily);
13552
- font-weight: var(--text-label-sm-semibold-fontWeight);
13553
- font-size: var(--text-label-sm-semibold-fontSize);
13554
- line-height: var(--text-label-sm-semibold-lineHeight);
13576
+ .muka-chip--ghost.muka-chip--expandable:is(:hover, :focus-visible, [aria-expanded='true']):not(:disabled),
13577
+ .muka-chip--ghost.muka-chip--has-label-action:has(> .muka-chip__label-action:is(:hover, :focus-visible)) {
13578
+ background-color: var(--chip-ghost-background-hover);
13579
+ color: var(--chip-ghost-foreground-hover);
13555
13580
  }
13556
13581
 
13557
- .muka-combobox__label--md {
13558
- font-family: var(--text-label-md-semibold-fontFamily);
13559
- font-weight: var(--text-label-md-semibold-fontWeight);
13560
- font-size: var(--text-label-md-semibold-fontSize);
13561
- line-height: var(--text-label-md-semibold-lineHeight);
13582
+ /* Icons (leading + trailing) inherit their slot's foreground color */
13583
+ .muka-chip .muka-icon {
13584
+ color: inherit;
13562
13585
  }
13563
13586
 
13564
- .muka-combobox__label--lg {
13565
- font-family: var(--text-label-lg-semibold-fontFamily);
13566
- font-weight: var(--text-label-lg-semibold-fontWeight);
13567
- font-size: var(--text-label-lg-semibold-fontSize);
13568
- line-height: var(--text-label-lg-semibold-lineHeight);
13569
- }
13570
13587
 
13571
- .muka-combobox__field {
13588
+ /* CheckboxTile */
13589
+ /* CheckboxTile Component Styles - Using Muka Design Tokens */
13590
+
13591
+ /* Base tile styles - horizontal */
13592
+ .muka-checkbox-tile {
13572
13593
  display: flex;
13573
13594
  align-items: center;
13574
- width: 100%;
13575
- position: relative;
13576
- isolation: isolate;
13577
- box-sizing: border-box;
13578
- background-color: var(--input-field-color-default-background);
13595
+ gap: var(--spacing-4);
13596
+ padding: var(--spacing-4);
13579
13597
  border: var(--border-width-regular) solid var(--input-field-color-default-border);
13580
13598
  border-radius: var(--input-field-radius-lg);
13581
- padding: var(--spacing-2);
13582
- cursor: text;
13583
- transition: border-color 0.12s ease, background-color 0.12s ease;
13584
- }
13585
-
13586
- .muka-combobox__field::after {
13587
- content: '';
13588
- position: absolute;
13589
- inset: 0;
13590
- border-radius: inherit;
13591
- box-shadow: inset 0 1px 2px 0 rgba(26, 26, 26, 0.08);
13592
- pointer-events: none;
13593
- }
13594
-
13595
- .muka-combobox__field--sm {
13596
- min-height: var(--input-field-height-sm);
13597
- border-radius: var(--input-field-radius-sm);
13599
+ background-color: var(--color-surface-level3);
13600
+ cursor: pointer;
13601
+ transition: border-color 0.15s ease, border-width 0.15s ease;
13602
+ overflow: hidden;
13603
+ box-sizing: border-box;
13598
13604
  }
13599
13605
 
13600
- .muka-combobox__field--md {
13601
- min-height: var(--input-field-height-default);
13602
- border-radius: var(--input-field-radius-md);
13606
+ .muka-checkbox-tile--disabled {
13607
+ cursor: not-allowed;
13608
+ opacity: 0.6;
13603
13609
  }
13604
13610
 
13605
- .muka-combobox__field--lg {
13606
- min-height: var(--input-field-height-lg);
13607
- border-radius: var(--input-field-radius-lg);
13611
+ /* Selected state */
13612
+ .muka-checkbox-tile[data-checked] {
13613
+ border-width: var(--border-width-bold);
13614
+ border-color: var(--color-action-default);
13608
13615
  }
13609
13616
 
13610
- .muka-combobox__field--focused:not(.muka-combobox__field--disabled) {
13611
- border-width: var(--border-width-bold);
13612
- border-color: var(--input-field-color-focus-border);
13613
- background-color: var(--input-field-color-focus-background);
13614
- padding: calc(var(--spacing-2) - 1px);
13617
+ /* Vertical layout */
13618
+ .muka-checkbox-tile--vertical {
13619
+ flex-direction: column;
13620
+ align-items: center;
13621
+ gap: var(--spacing-2);
13622
+ position: relative;
13623
+ width: 160px;
13615
13624
  }
13616
13625
 
13617
- .muka-combobox__field--error:not(.muka-combobox__field--disabled) {
13618
- border-color: var(--color-state-error-contrast);
13626
+ /* Checkbox container */
13627
+ .muka-checkbox-tile__checkbox {
13628
+ flex-shrink: 0;
13619
13629
  }
13620
13630
 
13621
- .muka-combobox__field--disabled {
13622
- opacity: 0.5;
13623
- cursor: not-allowed;
13631
+ /* Corner-positioned checkbox for vertical */
13632
+ .muka-checkbox-tile__checkbox--corner {
13633
+ position: absolute;
13634
+ top: var(--spacing-4);
13635
+ left: var(--spacing-4);
13624
13636
  }
13625
13637
 
13626
- .muka-combobox__field--multiline {
13627
- align-items: flex-start;
13628
- min-height: 7rem;
13638
+ /* Adjust corner position when selected (border is thicker) */
13639
+ .muka-checkbox-tile[data-checked] .muka-checkbox-tile__checkbox--corner {
13640
+ top: calc(var(--spacing-4) - 1px);
13641
+ left: calc(var(--spacing-4) - 1px);
13629
13642
  }
13630
13643
 
13631
- .muka-combobox__chips {
13644
+ /* Icon */
13645
+ .muka-checkbox-tile__icon {
13632
13646
  display: flex;
13633
- flex: 1 1 auto;
13634
- flex-wrap: wrap;
13635
- gap: var(--spacing-2);
13636
13647
  align-items: center;
13637
- min-width: 0;
13638
- width: 100%;
13639
- position: relative;
13640
- z-index: 1;
13648
+ justify-content: center;
13649
+ flex-shrink: 0;
13650
+ width: var(--icon-size-default);
13651
+ height: var(--icon-size-default);
13652
+ color: var(--color-text-default-default);
13641
13653
  }
13642
13654
 
13643
- .muka-combobox__input {
13644
- flex: 1 1 5rem;
13645
- min-width: 5rem;
13646
- min-height: 2rem;
13647
- margin: 0;
13648
- padding: 0 var(--spacing-1);
13649
- border: none;
13650
- outline: none;
13651
- background: transparent;
13652
- color: var(--input-field-color-default-foreground);
13653
- caret-color: var(--input-field-color-default-foreground);
13654
- font-family: var(--text-label-md-regular-fontFamily);
13655
- font-size: var(--text-label-md-regular-fontSize);
13656
- font-weight: var(--text-label-md-regular-fontWeight);
13657
- line-height: var(--text-label-md-regular-lineHeight);
13655
+ .muka-checkbox-tile__icon svg {
13656
+ width: 100%;
13657
+ height: 100%;
13658
13658
  }
13659
13659
 
13660
- .muka-combobox__input::placeholder {
13661
- color: var(--color-text-subtle-default);
13660
+ /* Image */
13661
+ .muka-checkbox-tile__image {
13662
+ flex-shrink: 0;
13663
+ overflow: hidden;
13664
+ border-radius: var(--border-radius-sm);
13662
13665
  }
13663
13666
 
13664
- .muka-combobox__helper {
13665
- margin: 0;
13666
- color: var(--color-text-subtle-default);
13667
- font-family: var(--text-label-sm-regular-fontFamily);
13668
- font-size: var(--text-label-sm-regular-fontSize);
13669
- font-weight: var(--text-label-sm-regular-fontWeight);
13670
- line-height: var(--text-label-sm-regular-lineHeight);
13667
+ .muka-checkbox-tile__image img {
13668
+ display: block;
13669
+ width: 100%;
13670
+ height: 100%;
13671
+ object-fit: cover;
13671
13672
  }
13672
13673
 
13673
- .muka-combobox__error {
13674
- margin: 0;
13675
- color: var(--color-state-error-default);
13676
- font-family: var(--text-label-sm-regular-fontFamily);
13677
- font-size: var(--text-label-sm-regular-fontSize);
13678
- font-weight: var(--text-label-sm-regular-fontWeight);
13679
- line-height: var(--text-label-sm-regular-lineHeight);
13674
+ /* Horizontal image sizing */
13675
+ .muka-checkbox-tile__image--horizontal {
13676
+ width: 40px;
13677
+ height: 40px;
13680
13678
  }
13681
13679
 
13682
- .muka-combobox__menu-anchor {
13683
- position: absolute;
13684
- inset: 0;
13685
- z-index: 0;
13680
+ /* Vertical image sizing */
13681
+ .muka-checkbox-tile--vertical .muka-checkbox-tile__image {
13686
13682
  width: 100%;
13687
- height: 100%;
13688
- margin: 0;
13689
- padding: 0;
13690
- border: none;
13691
- background: transparent;
13692
- pointer-events: none;
13693
- opacity: 0;
13683
+ aspect-ratio: 4/3;
13694
13684
  }
13695
13685
 
13696
- .muka-combobox__menu {
13697
- /* Prefer Menu token min-width (280px); may exceed the field when left-aligned. */
13698
- min-width: var(--menu-content-min-width);
13699
- width: max-content;
13700
- max-width: min(100vw - 2rem, 24rem);
13686
+ /* Content container */
13687
+ .muka-checkbox-tile__content {
13688
+ display: flex;
13689
+ flex-direction: column;
13690
+ flex: 1;
13691
+ min-width: 0;
13692
+ gap: var(--spacing-2);
13701
13693
  }
13702
13694
 
13703
-
13704
- /* ChipSelectGroup */
13705
- /* ChipSelectGroup — wrapping row of selectable chips (experimental) */
13706
- .muka-chip-select-group {
13695
+ .muka-checkbox-tile__content-inner {
13707
13696
  display: flex;
13708
- flex-wrap: wrap;
13709
- gap: var(--spacing-2);
13697
+ flex-direction: column;
13698
+ gap: var(--spacing-1);
13710
13699
  }
13711
13700
 
13701
+ /* Chip slot (replaces badge; use Chip component) */
13702
+ .muka-checkbox-tile__chip {
13703
+ flex-shrink: 0;
13704
+ }
13712
13705
 
13713
- /* Chip */
13714
- /* Chip Component Styles - Using Muka Design Tokens (Figma: Chip, Chip/Trailing) */
13706
+ .muka-checkbox-tile__chip--vertical {
13707
+ margin-top: var(--spacing-1);
13708
+ }
13715
13709
 
13716
- /*
13717
- * Internal custom properties (not public API):
13718
- * --_chip-gap / --_chip-pad-start / --_chip-pad-end spacing per size and slot
13719
- * --_chip-tr-* trailing button colours per variant
13720
- */
13721
- .muka-chip {
13722
- display: inline-flex;
13723
- align-items: center;
13724
- gap: var(--_chip-gap);
13725
- padding: 0 var(--_chip-pad-end) 0 var(--_chip-pad-start);
13726
- border-radius: var(--border-radius-full);
13727
- white-space: nowrap;
13728
- user-select: none;
13729
- border: var(--border-width-regular) solid transparent;
13730
- box-sizing: border-box;
13731
- flex-shrink: 0;
13710
+ /* Label */
13711
+ .muka-checkbox-tile__label {
13712
+ font-family: var(--text-body-lg-regular-fontFamily);
13713
+ font-weight: var(--text-body-lg-regular-fontWeight);
13714
+ font-size: var(--text-body-lg-regular-fontSize);
13715
+ line-height: var(--text-body-lg-regular-lineHeight);
13716
+ color: var(--color-text-default-default);
13732
13717
  }
13733
13718
 
13734
- /*
13735
- * Sizes: height, gap, type, and label-edge padding. The side that carries an
13736
- * adornment gets its own padding: leading icon → chip.padding.leading, and the
13737
- * right edge after a leading icon → chip.padding.labelEnd (Figma lg: 20). A
13738
- * trailing button → chip.padding.trailing, which wins (declared later).
13739
- */
13740
- .muka-chip--sm {
13741
- height: var(--chip-size-height-sm);
13742
- --_chip-gap: var(--chip-gap-sm);
13743
- --_chip-pad-start: var(--chip-padding-label-sm);
13744
- --_chip-pad-end: var(--chip-padding-label-sm);
13745
- font-family: var(--text-label-sm-regular-fontFamily);
13746
- font-weight: var(--text-label-sm-regular-fontWeight);
13747
- font-size: var(--text-label-sm-regular-fontSize);
13748
- line-height: var(--text-label-sm-regular-lineHeight);
13719
+ .muka-checkbox-tile__label--bold {
13720
+ font-family: var(--text-label-lg-semibold-fontFamily);
13721
+ font-weight: var(--text-label-lg-semibold-fontWeight);
13722
+ font-size: var(--text-label-lg-semibold-fontSize);
13723
+ line-height: var(--text-label-lg-semibold-lineHeight);
13749
13724
  }
13750
13725
 
13751
- .muka-chip--md {
13752
- height: var(--chip-size-height-md);
13753
- --_chip-gap: var(--chip-gap-md);
13754
- --_chip-pad-start: var(--chip-padding-label-md);
13755
- --_chip-pad-end: var(--chip-padding-label-md);
13756
- font-family: var(--text-label-md-regular-fontFamily);
13757
- font-weight: var(--text-label-md-regular-fontWeight);
13758
- font-size: var(--text-label-md-regular-fontSize);
13759
- line-height: var(--text-label-md-regular-lineHeight);
13726
+ .muka-checkbox-tile__label--center {
13727
+ text-align: center;
13760
13728
  }
13761
13729
 
13762
- .muka-chip--lg {
13763
- height: var(--chip-size-height-lg);
13764
- --_chip-gap: var(--chip-gap-lg);
13765
- --_chip-pad-start: var(--chip-padding-label-lg);
13766
- --_chip-pad-end: var(--chip-padding-label-lg);
13767
- font-family: var(--text-label-lg-regular-fontFamily);
13768
- font-weight: var(--text-label-lg-regular-fontWeight);
13769
- font-size: var(--text-label-lg-regular-fontSize);
13770
- line-height: var(--text-label-lg-regular-lineHeight);
13730
+ /* Caption */
13731
+ .muka-checkbox-tile__caption {
13732
+ font-family: var(--text-body-base-regular-fontFamily);
13733
+ font-weight: var(--text-body-base-regular-fontWeight);
13734
+ font-size: var(--text-body-base-regular-fontSize);
13735
+ line-height: var(--text-body-base-regular-lineHeight);
13736
+ color: var(--color-text-subtle-default);
13771
13737
  }
13772
13738
 
13773
- .muka-chip--sm.muka-chip--has-icon {
13774
- --_chip-pad-start: var(--chip-padding-leading-sm);
13775
- --_chip-pad-end: var(--chip-padding-labelEnd-sm);
13776
- }
13777
- .muka-chip--md.muka-chip--has-icon {
13778
- --_chip-pad-start: var(--chip-padding-leading-md);
13779
- --_chip-pad-end: var(--chip-padding-labelEnd-md);
13780
- }
13781
- .muka-chip--lg.muka-chip--has-icon {
13782
- --_chip-pad-start: var(--chip-padding-leading-lg);
13783
- --_chip-pad-end: var(--chip-padding-labelEnd-lg);
13739
+ /* Disabled states */
13740
+ .muka-checkbox-tile--disabled .muka-checkbox-tile__label,
13741
+ .muka-checkbox-tile--disabled .muka-checkbox-tile__icon {
13742
+ color: var(--color-text-subtle-default);
13784
13743
  }
13785
13744
 
13786
- .muka-chip--sm.muka-chip--has-trailing {
13787
- --_chip-pad-end: var(--chip-padding-trailing-sm);
13788
- }
13789
- .muka-chip--md.muka-chip--has-trailing {
13790
- --_chip-pad-end: var(--chip-padding-trailing-md);
13745
+
13746
+ /* DataTable */
13747
+ /* DataTable Component Styles - Using Muka Design Tokens */
13748
+
13749
+ .muka-data-table-wrapper {
13750
+ width: 100%;
13751
+ overflow-x: auto;
13752
+ -webkit-overflow-scrolling: touch;
13791
13753
  }
13792
- .muka-chip--lg.muka-chip--has-trailing {
13793
- --_chip-pad-end: var(--chip-padding-trailing-lg);
13754
+
13755
+ .muka-data-table {
13756
+ /* Density-driven cell padding (overridden per size below). */
13757
+ --dt-pad-x: var(--datatable-cell-padding-x-md);
13758
+ --dt-pad-y: var(--datatable-cell-padding-y-md);
13759
+
13760
+ width: 100%;
13761
+ border-collapse: collapse;
13762
+ border-spacing: 0;
13763
+ /* auto layout so per-column min/max widths are honored and unsized columns flex */
13764
+ table-layout: auto;
13765
+ background-color: var(--datatable-row-background);
13766
+ color: var(--datatable-row-foreground);
13794
13767
  }
13795
13768
 
13796
- /* Leading icon slot — Figma icon sizes: sm 16, md 20, lg 24 */
13797
- .muka-chip__icon {
13798
- display: inline-flex;
13799
- align-items: center;
13800
- justify-content: center;
13801
- flex-shrink: 0;
13769
+ .muka-data-table--size-sm {
13770
+ --dt-pad-x: var(--datatable-cell-padding-x-sm);
13771
+ --dt-pad-y: var(--datatable-cell-padding-y-sm);
13802
13772
  }
13803
13773
 
13804
- .muka-chip--sm .muka-chip__icon {
13805
- width: var(--icon-size-xs);
13806
- height: var(--icon-size-xs);
13774
+ .muka-data-table--size-lg {
13775
+ --dt-pad-x: var(--datatable-cell-padding-x-lg);
13776
+ --dt-pad-y: var(--datatable-cell-padding-y-lg);
13807
13777
  }
13808
- .muka-chip--md .muka-chip__icon {
13809
- width: var(--icon-size-sm);
13810
- height: var(--icon-size-sm);
13778
+
13779
+ .muka-data-table__caption {
13780
+ padding: var(--dt-pad-y) var(--dt-pad-x);
13781
+ font-family: var(--text-body-base-bold-fontFamily);
13782
+ font-weight: var(--text-body-base-bold-fontWeight);
13783
+ font-size: var(--text-body-base-bold-fontSize);
13784
+ line-height: var(--text-body-base-bold-lineHeight);
13785
+ text-align: left;
13786
+ caption-side: top;
13811
13787
  }
13812
- .muka-chip--lg .muka-chip__icon {
13813
- width: var(--icon-size-default);
13814
- height: var(--icon-size-default);
13788
+
13789
+ /* ========================================
13790
+ HEADER
13791
+ ======================================== */
13792
+
13793
+ .muka-data-table__head {
13794
+ border-bottom: var(--border-width-regular, 1px) solid var(--datatable-header-border);
13815
13795
  }
13816
13796
 
13817
- /* Force the passed content (raw <svg> or an <Icon> wrapper) to the slot size,
13818
- so callers don't have to size the icon to match each chip size. The
13819
- .muka-icon selector is intentionally 2 classes deep to override .muka-icon--md. */
13820
- .muka-chip__icon .muka-icon,
13821
- .muka-chip__icon svg {
13822
- width: 100%;
13823
- height: 100%;
13797
+ .muka-data-table__th {
13798
+ background-color: var(--datatable-header-background);
13799
+ padding: var(--datatable-cell-padding-y-sm) var(--dt-pad-x);
13800
+ font-family: var(--text-body-base-bold-fontFamily);
13801
+ font-weight: var(--text-body-base-bold-fontWeight);
13802
+ font-size: var(--text-body-base-bold-fontSize);
13803
+ line-height: var(--text-body-base-bold-lineHeight);
13804
+ color: var(--datatable-header-foreground);
13805
+ vertical-align: middle;
13806
+ text-align: left;
13824
13807
  }
13825
13808
 
13826
- .muka-chip__label {
13827
- flex: 0 0 auto;
13828
- /*
13829
- * The chip sets a tight line-height (= font size) for compact sizing; the
13830
- * label gets a roomier one so descenders (g, y, p) aren't clipped when it
13831
- * truncates. Vertical centering is unaffected: the chip height is fixed and
13832
- * content is centered via align-items: center.
13833
- */
13834
- line-height: normal;
13809
+ .muka-data-table__th-label {
13810
+ display: flex;
13811
+ align-items: center;
13812
+ min-height: var(--datatable-cell-min-height); /* 32px slot — matches Figma header cell height */
13835
13813
  }
13836
13814
 
13837
- /*
13838
- * A chip keeps its full label by default (it doesn't shrink). With `truncate`
13839
- * it may shrink to its container, and the label ends in an ellipsis.
13840
- */
13841
- .muka-chip--truncate {
13842
- flex-shrink: 1;
13843
- min-width: 0;
13844
- max-width: 100%;
13815
+ /* ========================================
13816
+ BODY
13817
+ ======================================== */
13818
+
13819
+ .muka-data-table__row {
13820
+ border-bottom: var(--border-width-regular, 1px) solid var(--datatable-row-border);
13821
+ transition: background-color 0.15s ease;
13845
13822
  }
13846
13823
 
13847
- .muka-chip--truncate .muka-chip__label {
13848
- flex: 0 1 auto;
13849
- min-width: 0;
13850
- overflow: hidden;
13851
- text-overflow: ellipsis;
13824
+ /* Last body row: no bottom border (matches Table; avoids a double line at the table edge). */
13825
+ .muka-data-table__body .muka-data-table__row:last-child {
13826
+ border-bottom: none;
13852
13827
  }
13853
13828
 
13854
- /*
13855
- * Label as a link or button (`href` / `onLabelClick`). It takes over the
13856
- * chip's start padding (and end padding when there is no trailing button), so
13857
- * the whole body up to the trailing button is its hit area.
13858
- */
13859
- .muka-chip__label-action,
13860
- .muka-chip__label-group {
13861
- display: inline-flex;
13862
- align-items: center;
13863
- gap: var(--_chip-gap);
13829
+ .muka-data-table__row:not(.muka-data-table__row--empty):not(.muka-data-table__row--selected):hover {
13830
+ background-color: var(--datatable-row-hover-background);
13864
13831
  }
13865
13832
 
13866
- .muka-chip--truncate .muka-chip__label-action,
13867
- .muka-chip--truncate .muka-chip__label-group {
13868
- min-width: 0;
13833
+ /* Selected rows keep their tint, including on hover. */
13834
+ .muka-data-table__row--selected,
13835
+ .muka-data-table__row--selected:hover {
13836
+ background-color: var(--datatable-row-selected-background);
13869
13837
  }
13870
13838
 
13871
- .muka-chip__label-action {
13872
- align-self: stretch;
13873
- margin: 0;
13874
- margin-left: calc(-1 * var(--_chip-pad-start));
13875
- padding: 0 0 0 var(--_chip-pad-start);
13876
- border: none;
13877
- border-radius: var(--border-radius-full);
13878
- background: none;
13879
- color: inherit;
13880
- font: inherit;
13881
- text-decoration: none;
13882
- text-align: inherit;
13883
- cursor: pointer;
13839
+ .muka-data-table__td {
13840
+ padding: var(--dt-pad-y) var(--dt-pad-x);
13841
+ font-family: var(--text-body-base-regular-fontFamily);
13842
+ font-weight: var(--text-body-base-regular-fontWeight);
13843
+ font-size: var(--text-body-base-regular-fontSize);
13844
+ line-height: var(--text-body-base-regular-lineHeight);
13845
+ color: var(--datatable-row-foreground);
13846
+ vertical-align: middle;
13884
13847
  }
13885
13848
 
13886
- .muka-chip--has-label-action:not(.muka-chip--has-trailing) .muka-chip__label-action {
13887
- margin-right: calc(-1 * var(--_chip-pad-end));
13888
- padding-right: var(--_chip-pad-end);
13849
+ .muka-data-table__cell-content {
13850
+ display: flex;
13851
+ align-items: center;
13852
+ min-height: var(--datatable-cell-min-height); /* 32px slot — matches Figma body cell height */
13853
+ word-break: break-word;
13889
13854
  }
13890
13855
 
13891
- .muka-chip__label-action:focus-visible {
13892
- outline: 2px solid var(--color-border-focus);
13893
- outline-offset: 2px;
13856
+ .muka-data-table__row--empty .muka-data-table__cell-content {
13857
+ justify-content: center;
13858
+ color: var(--color-text-subtle-default);
13894
13859
  }
13895
13860
 
13896
- /* Trailing button (dismiss / expand / switch) — circular. Figma sizes: sm 20, md 24, lg 32 */
13897
- .muka-chip__trailing {
13898
- position: relative;
13899
- display: inline-flex;
13900
- align-items: center;
13901
- justify-content: center;
13902
- flex-shrink: 0;
13903
- padding: 0;
13904
- margin: 0;
13905
- border: var(--border-width-regular) solid var(--_chip-tr-border, transparent);
13906
- border-radius: var(--border-radius-full);
13907
- box-sizing: border-box;
13908
- background-color: var(--_chip-tr-bg);
13909
- color: var(--_chip-tr-fg);
13910
- cursor: pointer;
13911
- transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
13861
+ /* ========================================
13862
+ BADGES — always the small (sm) scale
13863
+ ======================================== */
13864
+
13865
+ /* Any Badge inside a DataTable renders at the small scale regardless of the
13866
+ `size` prop passed to it — status pills stay compact and consistent across
13867
+ every table density. Enforced here so callers can't accidentally scale them
13868
+ up. Overrides the `.muka-badge--md`/`--lg` size rules by carrying a higher
13869
+ specificity (2–3 classes vs. 1–2), independent of stylesheet import order. */
13870
+ .muka-data-table .muka-badge {
13871
+ height: var(--badge-size-height-sm);
13872
+ gap: var(--badge-gap-sm);
13873
+ padding: 0 var(--badge-padding-label-sm);
13874
+ font-family: var(--text-label-sm-regular-fontFamily);
13875
+ font-weight: var(--text-label-sm-regular-fontWeight);
13876
+ font-size: var(--text-label-sm-regular-fontSize);
13877
+ line-height: var(--text-label-sm-regular-lineHeight);
13912
13878
  }
13913
13879
 
13914
- .muka-chip--sm .muka-chip__trailing {
13915
- width: var(--icon-size-sm);
13916
- height: var(--icon-size-sm);
13880
+ /* Match the sm leading padding when a leading icon or dot is present. */
13881
+ .muka-data-table .muka-badge.muka-badge--has-icon,
13882
+ .muka-data-table .muka-badge.muka-badge--has-dot {
13883
+ padding-left: var(--badge-padding-leading-sm);
13917
13884
  }
13918
- .muka-chip--md .muka-chip__trailing {
13919
- width: var(--icon-size-default);
13920
- height: var(--icon-size-default);
13885
+
13886
+ /* Icon and dot slots follow the sm scale too. */
13887
+ .muka-data-table .muka-badge .muka-badge__icon {
13888
+ width: var(--icon-size-xs);
13889
+ height: var(--icon-size-xs);
13921
13890
  }
13922
- .muka-chip--lg .muka-chip__trailing {
13923
- width: var(--icon-size-lg);
13924
- height: var(--icon-size-lg);
13891
+
13892
+ .muka-data-table .muka-badge .muka-badge__dot {
13893
+ width: var(--badge-size-dot-sm);
13894
+ height: var(--badge-size-dot-sm);
13925
13895
  }
13926
13896
 
13927
- /* A touch target of at least the sm chip height (24px, WCAG 2.5.8) around the 20px circle */
13928
- button.muka-chip__trailing::before {
13929
- content: '';
13930
- position: absolute;
13931
- top: 50%;
13932
- left: 50%;
13933
- width: max(100%, var(--chip-size-height-sm));
13934
- height: max(100%, var(--chip-size-height-sm));
13935
- transform: translate(-50%, -50%);
13897
+ /* ========================================
13898
+ ALIGNMENT
13899
+ ======================================== */
13900
+
13901
+ .muka-data-table__th--center,
13902
+ .muka-data-table__td--center {
13903
+ text-align: center;
13936
13904
  }
13937
13905
 
13938
- button.muka-chip__trailing:focus-visible {
13939
- outline: 2px solid var(--color-border-focus);
13940
- outline-offset: 2px;
13906
+ .muka-data-table__th--center .muka-data-table__th-label,
13907
+ .muka-data-table__th--center .muka-data-table__sort-button,
13908
+ .muka-data-table__td--center .muka-data-table__cell-content {
13909
+ justify-content: center;
13941
13910
  }
13942
13911
 
13943
- button.muka-chip__trailing:disabled {
13944
- cursor: not-allowed;
13945
- opacity: 0.5;
13912
+ .muka-data-table__th--right,
13913
+ .muka-data-table__td--right {
13914
+ text-align: right;
13946
13915
  }
13947
13916
 
13948
- /* Trailing button states: its own hover / pressed, or the whole chip's when the chip is one button */
13949
- button.muka-chip__trailing:hover:not(:disabled),
13950
- .muka-chip--expandable:hover:not(:disabled) .muka-chip__trailing {
13951
- border-color: var(--_chip-tr-border-hover, transparent);
13952
- background-color: var(--_chip-tr-bg-hover);
13953
- color: var(--_chip-tr-fg-hover);
13917
+ .muka-data-table__th--right .muka-data-table__th-label,
13918
+ .muka-data-table__th--right .muka-data-table__sort-button,
13919
+ .muka-data-table__td--right .muka-data-table__cell-content {
13920
+ justify-content: flex-end;
13954
13921
  }
13955
13922
 
13956
- button.muka-chip__trailing:active:not(:disabled),
13957
- button.muka-chip__trailing[aria-expanded='true'],
13958
- .muka-chip--expandable:active:not(:disabled) .muka-chip__trailing,
13959
- .muka-chip--expandable[aria-expanded='true'] .muka-chip__trailing {
13960
- border-color: var(--_chip-tr-border-hover, transparent);
13961
- background-color: var(--_chip-tr-bg-pressed);
13962
- color: var(--_chip-tr-fg-pressed);
13923
+ /* ========================================
13924
+ COLUMN DIVIDERS (vertical)
13925
+ ======================================== */
13926
+
13927
+ .muka-data-table--column-dividers .muka-data-table__th:not(:last-child),
13928
+ .muka-data-table--column-dividers .muka-data-table__td:not(:last-child) {
13929
+ border-right: var(--border-width-regular, 1px) solid var(--datatable-divider-color);
13963
13930
  }
13964
13931
 
13965
- /*
13966
- * Whole-chip button (`trailing="expand" | "switch"`, Figma "Chip/Trailing
13967
- * Expand"): typically a menu trigger. An open menu (aria-expanded) shows the
13968
- * trailing button pressed, like Button's open state.
13969
- */
13970
- .muka-chip--expandable {
13932
+ /* ========================================
13933
+ SORTING
13934
+ ======================================== */
13935
+
13936
+ .muka-data-table__sort-button {
13937
+ display: flex;
13938
+ align-items: center;
13939
+ gap: var(--spacing-1);
13940
+ width: 100%;
13941
+ min-height: var(--datatable-cell-min-height);
13942
+ padding: 0;
13971
13943
  margin: 0;
13944
+ border: 0;
13945
+ background: none;
13946
+ font: inherit;
13947
+ color: inherit;
13972
13948
  text-align: inherit;
13973
13949
  cursor: pointer;
13950
+ user-select: none;
13951
+ border-radius: var(--border-radius-md, 8px);
13974
13952
  }
13975
13953
 
13976
- .muka-chip--expandable:focus-visible {
13977
- outline: 2px solid var(--color-border-focus);
13954
+ .muka-data-table__sort-button:focus-visible {
13955
+ outline: 2px solid var(--datatable-focus-ring);
13978
13956
  outline-offset: 2px;
13979
13957
  }
13980
13958
 
13981
- .muka-chip--expandable:disabled {
13982
- cursor: not-allowed;
13959
+ /* The chevron only renders on the active sort column, so it's always full-strength. */
13960
+ .muka-data-table__sort-icon {
13961
+ display: inline-flex;
13962
+ flex-shrink: 0;
13983
13963
  }
13984
13964
 
13985
- .muka-chip--expandable .muka-chip__trailing {
13986
- pointer-events: none;
13965
+ /* ========================================
13966
+ INTERACTIVE ROWS (clickable / link)
13967
+ ======================================== */
13968
+
13969
+ .muka-data-table__row--interactive {
13970
+ cursor: pointer;
13971
+ /* anchor for the stretched link overlay */
13972
+ position: relative;
13987
13973
  }
13988
13974
 
13989
- /* Variants: body fill, foreground, and the trailing button's colour steps */
13990
- .muka-chip--default {
13991
- background-color: var(--chip-neutral-background-default);
13992
- color: var(--color-text-default-default);
13993
- --_chip-tr-bg: var(--chip-trailing-default-background-default);
13994
- --_chip-tr-bg-hover: var(--chip-trailing-default-background-hover);
13995
- --_chip-tr-bg-pressed: var(--chip-trailing-default-background-pressed);
13996
- --_chip-tr-fg: var(--chip-trailing-default-foreground-default);
13997
- --_chip-tr-fg-hover: var(--chip-trailing-default-foreground-hover);
13998
- --_chip-tr-fg-pressed: var(--chip-trailing-default-foreground-pressed);
13975
+ .muka-data-table__row--interactive:focus-visible {
13976
+ outline: 2px solid var(--datatable-focus-ring);
13977
+ outline-offset: -2px;
13999
13978
  }
14000
13979
 
14001
- .muka-chip--success {
14002
- background-color: var(--color-state-success-background);
14003
- color: var(--color-state-success-contrast);
14004
- --_chip-tr-bg: var(--chip-trailing-success-background-default);
14005
- --_chip-tr-bg-hover: var(--chip-trailing-success-background-hover);
14006
- --_chip-tr-bg-pressed: var(--chip-trailing-success-background-pressed);
14007
- --_chip-tr-fg: var(--chip-trailing-success-foreground-default);
14008
- --_chip-tr-fg-hover: var(--chip-trailing-success-foreground-hover);
14009
- --_chip-tr-fg-pressed: var(--chip-trailing-success-foreground-pressed);
13980
+ .muka-data-table__row--interactive:active {
13981
+ background-color: var(--datatable-row-pressed-background);
14010
13982
  }
14011
13983
 
14012
- .muka-chip--warning {
14013
- background-color: var(--color-state-warning-background);
14014
- color: var(--color-state-warning-contrast);
14015
- --_chip-tr-bg: var(--chip-trailing-warning-background-default);
14016
- --_chip-tr-bg-hover: var(--chip-trailing-warning-background-hover);
14017
- --_chip-tr-bg-pressed: var(--chip-trailing-warning-background-pressed);
14018
- --_chip-tr-fg: var(--chip-trailing-warning-foreground-default);
14019
- --_chip-tr-fg-hover: var(--chip-trailing-warning-foreground-hover);
14020
- --_chip-tr-fg-pressed: var(--chip-trailing-warning-foreground-pressed);
13984
+ /* Link rows: the first-cell anchor stretches to cover the whole row. */
13985
+ .muka-data-table__row-link {
13986
+ color: inherit;
13987
+ text-decoration: none;
14021
13988
  }
14022
13989
 
14023
- .muka-chip--error {
14024
- background-color: var(--color-state-error-background);
14025
- color: var(--color-state-error-contrast);
14026
- --_chip-tr-bg: var(--chip-trailing-error-background-default);
14027
- --_chip-tr-bg-hover: var(--chip-trailing-error-background-hover);
14028
- --_chip-tr-bg-pressed: var(--chip-trailing-error-background-pressed);
14029
- --_chip-tr-fg: var(--chip-trailing-error-foreground-default);
14030
- --_chip-tr-fg-hover: var(--chip-trailing-error-foreground-hover);
14031
- --_chip-tr-fg-pressed: var(--chip-trailing-error-foreground-pressed);
13990
+ .muka-data-table__row-link::after {
13991
+ content: '';
13992
+ position: absolute;
13993
+ inset: 0;
13994
+ z-index: 0;
14032
13995
  }
14033
13996
 
14034
- .muka-chip--info {
14035
- background-color: var(--color-state-info-background);
14036
- color: var(--color-state-info-contrast);
14037
- --_chip-tr-bg: var(--chip-trailing-info-background-default);
14038
- --_chip-tr-bg-hover: var(--chip-trailing-info-background-hover);
14039
- --_chip-tr-bg-pressed: var(--chip-trailing-info-background-pressed);
14040
- --_chip-tr-fg: var(--chip-trailing-info-foreground-default);
14041
- --_chip-tr-fg-hover: var(--chip-trailing-info-foreground-hover);
14042
- --_chip-tr-fg-pressed: var(--chip-trailing-info-foreground-pressed);
13997
+ .muka-data-table__row--link:hover {
13998
+ background-color: var(--datatable-row-hover-background);
14043
13999
  }
14044
14000
 
14045
- /* Ghost: no fill, subtle label; the trailing circle is outlined at rest (Figma Chip/Trailing Ghost) */
14046
- .muka-chip--ghost {
14047
- background-color: var(--chip-ghost-background-default);
14048
- color: var(--chip-ghost-foreground-default);
14049
- --_chip-tr-border: var(--chip-trailing-ghost-border-default);
14050
- --_chip-tr-bg: var(--chip-trailing-ghost-background-default);
14051
- --_chip-tr-bg-hover: var(--chip-trailing-ghost-background-hover);
14052
- --_chip-tr-bg-pressed: var(--chip-trailing-ghost-background-pressed);
14053
- --_chip-tr-fg: var(--chip-trailing-ghost-foreground-default);
14054
- --_chip-tr-fg-hover: var(--chip-trailing-ghost-foreground-hover);
14055
- --_chip-tr-fg-pressed: var(--chip-trailing-ghost-foreground-pressed);
14001
+ .muka-data-table__row--link .muka-data-table__row-link:focus-visible {
14002
+ outline: 2px solid var(--datatable-focus-ring);
14003
+ outline-offset: -2px;
14056
14004
  }
14057
14005
 
14058
- /*
14059
- * Body hover (Figma Chip State=Hover) — only on chips whose body does
14060
- * something: the whole-chip button, or a label link/button (hovering just the
14061
- * label, not the trailing button, which has its own states). A static chip
14062
- * doesn't hover.
14063
- */
14064
- .muka-chip--default.muka-chip--expandable:is(:hover, :focus-visible, [aria-expanded='true']):not(:disabled),
14065
- .muka-chip--default.muka-chip--has-label-action:has(> .muka-chip__label-action:is(:hover, :focus-visible)) {
14066
- background-color: var(--chip-neutral-background-hover);
14006
+ /* Disabled rows */
14007
+ .muka-data-table__row--disabled {
14008
+ cursor: default;
14009
+ color: var(--color-text-muted-default);
14067
14010
  }
14068
14011
 
14069
- .muka-chip--ghost.muka-chip--expandable:is(:hover, :focus-visible, [aria-expanded='true']):not(:disabled),
14070
- .muka-chip--ghost.muka-chip--has-label-action:has(> .muka-chip__label-action:is(:hover, :focus-visible)) {
14071
- background-color: var(--chip-ghost-background-hover);
14072
- color: var(--chip-ghost-foreground-hover);
14073
- }
14012
+ .muka-data-table__row--disabled .muka-data-table__td {
14013
+ color: var(--color-text-muted-default);
14014
+ }
14015
+
14016
+ /* ========================================
14017
+ TRAILING ACTION COLUMN
14018
+ ======================================== */
14019
+
14020
+ /* Hug: the trailing action column shrinks to its content, so a text-label
14021
+ button ("View") gets exactly the width it needs and an icon-only button
14022
+ stays tight. `width: 1%` + `nowrap` is the classic auto-table hug. */
14023
+ .muka-data-table__col--action {
14024
+ width: 0;
14025
+ }
14026
+
14027
+ .muka-data-table__th--action,
14028
+ .muka-data-table__td--action {
14029
+ width: 1%;
14030
+ white-space: nowrap;
14031
+ padding-left: var(--spacing-2);
14032
+ padding-right: var(--spacing-2);
14033
+ text-align: right;
14034
+ /* Sit above the row link overlay so the action stays independently clickable. */
14035
+ position: relative;
14036
+ z-index: 1;
14037
+ }
14038
+
14039
+ .muka-data-table__action-content {
14040
+ justify-content: flex-end;
14041
+ }
14042
+
14043
+ /* Visually-hidden-friendly empty header slot keeps the row height consistent. */
14044
+ .muka-data-table__action-header:empty {
14045
+ min-height: var(--datatable-cell-min-height);
14046
+ }
14047
+
14048
+ /* ========================================
14049
+ SELECTION — leading checkbox column
14050
+ ======================================== */
14051
+
14052
+ .muka-data-table__col--select {
14053
+ width: var(--datatable-selection-column-width);
14054
+ }
14055
+
14056
+ .muka-data-table__th--select,
14057
+ .muka-data-table__td--select {
14058
+ width: var(--datatable-selection-column-width);
14059
+ padding-left: var(--spacing-4);
14060
+ padding-right: var(--spacing-2);
14061
+ /* Sit above the row link overlay so the checkbox stays independently clickable. */
14062
+ position: relative;
14063
+ z-index: 1;
14064
+ }
14065
+
14066
+ .muka-data-table__select-control {
14067
+ display: inline-flex;
14068
+ align-items: center;
14069
+ }
14070
+
14071
+ /* ========================================
14072
+ RESPONSIVE — two-column mobile layout
14073
+ ======================================== */
14074
+
14075
+ /* Desktop: the mobile-only stack cell/header/col are hidden. */
14076
+ .muka-data-table__th--mobile-stack,
14077
+ .muka-data-table__td--mobile-stack {
14078
+ display: none;
14079
+ }
14080
+
14081
+ /* Establish a container so the layout responds to the table's own width, not the
14082
+ viewport — a DataTable in a narrow panel collapses even on a wide screen. */
14083
+ .muka-data-table-wrapper--responsive {
14084
+ container-type: inline-size;
14085
+ }
14086
+
14087
+ /* Below --breakpoint-md (768px) of the wrapper's width. @container can't read
14088
+ custom properties, so the value is inlined as 767.98px. */
14089
+ @container (max-width: 767.98px) {
14090
+ /* Lift the table and body out of table layout. Without this the grid rows
14091
+ below get wrapped in anonymous table cells that shrink-wrap them to
14092
+ min-content, collapsing the flexible (1fr) stack track to 0. */
14093
+ .muka-data-table--responsive {
14094
+ display: block;
14095
+ /* Collapsed cards always use md cell padding regardless of the table's `size`
14096
+ — sm is too tight and lg wastes horizontal room, forcing the name to wrap. */
14097
+ --dt-pad-x: var(--datatable-cell-padding-x-md);
14098
+ --dt-pad-y: var(--datatable-cell-padding-y-md);
14099
+ }
14100
+
14101
+ .muka-data-table--responsive .muka-data-table__body {
14102
+ display: block;
14103
+ }
14104
+
14105
+ .muka-data-table--responsive .muka-data-table__head {
14106
+ display: none;
14107
+ }
14108
+
14109
+ .muka-data-table--responsive .muka-data-table__row {
14110
+ display: grid;
14111
+ grid-template-columns: 1fr auto auto;
14112
+ align-items: center;
14113
+ column-gap: var(--spacing-4);
14114
+ padding: var(--dt-pad-y) var(--dt-pad-x);
14115
+ }
14116
+
14117
+ /* Reset table cells; each visible mobile cell opts back in below. */
14118
+ .muka-data-table--responsive .muka-data-table__td {
14119
+ display: none;
14120
+ padding: 0;
14121
+ }
14122
+
14123
+ /* Pin every visible cell to the single grid row. The stack cell sits after the
14124
+ secondary cell in DOM order but targets an earlier column, so without this
14125
+ auto-placement spills it onto a second row (breaking vertical centering). */
14126
+ .muka-data-table--responsive .muka-data-table__td--select,
14127
+ .muka-data-table--responsive .muka-data-table__td--mobile-stack,
14128
+ .muka-data-table--responsive .muka-data-table__td--m-secondary,
14129
+ .muka-data-table--responsive .muka-data-table__td--action {
14130
+ grid-row: 1;
14131
+ }
14132
+
14133
+ .muka-data-table--responsive .muka-data-table__td--mobile-stack {
14134
+ display: block;
14135
+ grid-column: 1;
14136
+ min-width: 0;
14137
+ }
14138
+
14139
+ .muka-data-table--responsive .muka-data-table__td--m-secondary {
14140
+ display: block;
14141
+ grid-column: 2;
14142
+ /* Hug the widest secondary content (e.g. a status badge). The desktop column's
14143
+ min/max-width are inline styles, so `!important` is required to drop them and
14144
+ let the `auto` grid track shrink to the badge — freeing space for the name. */
14145
+ min-width: 0 !important;
14146
+ max-width: none !important;
14147
+ }
14148
+
14149
+ .muka-data-table--responsive .muka-data-table__td--action {
14150
+ display: block;
14151
+ grid-column: 3;
14152
+ width: auto;
14153
+ }
14154
+
14155
+ /* Cell-content wrappers: drop the fixed row-height slot so rows stay compact. */
14156
+ .muka-data-table--responsive .muka-data-table__td .muka-data-table__cell-content {
14157
+ min-height: 0;
14158
+ }
14159
+
14160
+ .muka-data-table--responsive .muka-data-table__td--m-secondary .muka-data-table__cell-content {
14161
+ justify-content: flex-end;
14162
+ }
14163
+
14164
+ /* Utility for cell content: hide a sub-element in the collapsed card. Use it to
14165
+ drop a redundant text label next to a compact visual (e.g. the "75%" beside a
14166
+ donut) so only the visual shows and the secondary column hugs to its width.
14167
+ `display: none` also collapses any surrounding flex `gap`, leaving no gutter. */
14168
+ .muka-data-table--responsive .muka-data-table__mobile-hidden {
14169
+ display: none;
14170
+ }
14171
+
14172
+ /* Stacked primary column: first field is the title, the rest are subtitle lines. */
14173
+ .muka-data-table__stack {
14174
+ display: flex;
14175
+ flex-direction: column;
14176
+ gap: var(--spacing-1);
14177
+ min-width: 0;
14178
+ }
14179
+
14180
+ /* A ProfileBadge in the collapsed card drops its avatar so the name sits
14181
+ flush-left and lines up with the other stacked primary/secondary text
14182
+ instead of being indented by the avatar. `display: none` also collapses the
14183
+ ProfileBadge's flex gap, so no placeholder whitespace is left behind. */
14184
+ .muka-data-table--responsive .muka-profile-badge__avatar {
14185
+ display: none;
14186
+ }
14187
+
14188
+ .muka-data-table__stack-title {
14189
+ font-family: var(--text-label-md-semibold-fontFamily);
14190
+ font-weight: var(--text-label-md-semibold-fontWeight);
14191
+ font-size: var(--text-label-md-semibold-fontSize);
14192
+ line-height: var(--text-label-md-semibold-lineHeight);
14193
+ color: var(--color-text-default-default);
14194
+ overflow: hidden;
14195
+ text-overflow: ellipsis;
14196
+ }
14197
+
14198
+ .muka-data-table__stack-line {
14199
+ font-family: var(--text-body-sm-regular-fontFamily);
14200
+ font-weight: var(--text-body-sm-regular-fontWeight);
14201
+ font-size: var(--text-body-sm-regular-fontSize);
14202
+ line-height: var(--text-body-sm-regular-lineHeight);
14203
+ color: var(--color-text-subtle-default);
14204
+ overflow: hidden;
14205
+ text-overflow: ellipsis;
14206
+ }
14207
+
14208
+ /* The stack title may itself be the stretched link. */
14209
+ .muka-data-table__stack-title .muka-data-table__row-link {
14210
+ color: inherit;
14211
+ text-decoration: none;
14212
+ }
14213
+
14214
+ /* Selection checkbox leads the mobile row: [checkbox | stack | secondary | action]. */
14215
+ .muka-data-table--responsive .muka-data-table__td--select {
14216
+ display: block;
14217
+ grid-column: 1;
14218
+ width: auto;
14219
+ }
14220
+
14221
+ .muka-data-table--responsive.muka-data-table--selectable .muka-data-table__row {
14222
+ grid-template-columns: auto 1fr auto auto;
14223
+ }
14224
+
14225
+ .muka-data-table--responsive.muka-data-table--selectable .muka-data-table__td--mobile-stack {
14226
+ grid-column: 2;
14227
+ }
14228
+
14229
+ .muka-data-table--responsive.muka-data-table--selectable .muka-data-table__td--m-secondary {
14230
+ grid-column: 3;
14231
+ }
14074
14232
 
14075
- /* Icons (leading + trailing) inherit their slot's foreground color */
14076
- .muka-chip .muka-icon {
14077
- color: inherit;
14233
+ .muka-data-table--responsive.muka-data-table--selectable .muka-data-table__td--action {
14234
+ grid-column: 4;
14235
+ }
14078
14236
  }
14079
14237
 
14080
14238
 
@@ -14365,271 +14523,235 @@ button.muka-chip__trailing[aria-expanded='true'],
14365
14523
  }
14366
14524
 
14367
14525
 
14368
- /* CheckboxTile */
14369
- /* CheckboxTile Component Styles - Using Muka Design Tokens */
14526
+ /* ChatMessageStack */
14527
+ /* ChatMessageStack Component Styles */
14370
14528
 
14371
- /* Base tile styles - horizontal */
14372
- .muka-checkbox-tile {
14529
+ .muka-chat-message-stack {
14373
14530
  display: flex;
14374
- align-items: center;
14375
- gap: var(--spacing-4);
14376
- padding: var(--spacing-4);
14377
- border: var(--border-width-regular) solid var(--input-field-color-default-border);
14378
- border-radius: var(--input-field-radius-lg);
14379
- background-color: var(--color-surface-level3);
14380
- cursor: pointer;
14381
- transition: border-color 0.15s ease, border-width 0.15s ease;
14382
- overflow: hidden;
14383
- box-sizing: border-box;
14384
- }
14385
-
14386
- .muka-checkbox-tile--disabled {
14387
- cursor: not-allowed;
14388
- opacity: 0.6;
14389
- }
14390
-
14391
- /* Selected state */
14392
- .muka-checkbox-tile[data-checked] {
14393
- border-width: var(--border-width-bold);
14394
- border-color: var(--color-action-default);
14531
+ flex-direction: column;
14532
+ gap: var(--chatbubble-stack-gap);
14533
+ width: 100%;
14534
+ max-width: 100%;
14395
14535
  }
14396
14536
 
14397
- /* Vertical layout */
14398
- .muka-checkbox-tile--vertical {
14537
+ .muka-chat-message-stack__messages {
14538
+ display: flex;
14399
14539
  flex-direction: column;
14400
- align-items: center;
14401
- gap: var(--spacing-2);
14402
- position: relative;
14403
- width: 160px;
14540
+ gap: var(--chatbubble-stack-gap);
14541
+ width: 100%;
14404
14542
  }
14405
14543
 
14406
- /* Checkbox container */
14407
- .muka-checkbox-tile__checkbox {
14408
- flex-shrink: 0;
14544
+ /*
14545
+ * Reasoning sits above the stack, indented past the avatar rail so it lines up
14546
+ * with the bubbles rather than with the avatar (Figma 5379:47300).
14547
+ */
14548
+ .muka-chat-message-stack__reasoning {
14549
+ min-width: 0;
14409
14550
  }
14410
14551
 
14411
- /* Corner-positioned checkbox for vertical */
14412
- .muka-checkbox-tile__checkbox--corner {
14413
- position: absolute;
14414
- top: var(--spacing-4);
14415
- left: var(--spacing-4);
14552
+ /* In-thread widgets after the messages share the reasoning's indent. */
14553
+ .muka-chat-message-stack__widgets {
14554
+ display: flex;
14555
+ flex-direction: column;
14556
+ gap: var(--chatbubble-stack-gap);
14557
+ min-width: 0;
14416
14558
  }
14417
14559
 
14418
- /* Adjust corner position when selected (border is thicker) */
14419
- .muka-checkbox-tile[data-checked] .muka-checkbox-tile__checkbox--corner {
14420
- top: calc(var(--spacing-4) - 1px);
14421
- left: calc(var(--spacing-4) - 1px);
14560
+ .muka-chat-message-stack--has-avatar .muka-chat-message-stack__widgets,
14561
+ .muka-chat-message-stack--has-avatar .muka-chat-message-stack__reasoning {
14562
+ padding-left: calc(var(--chatbubble-avatar-size) + var(--chatbubble-row-gap));
14422
14563
  }
14423
14564
 
14424
- /* Icon */
14425
- .muka-checkbox-tile__icon {
14426
- display: flex;
14427
- align-items: center;
14428
- justify-content: center;
14429
- flex-shrink: 0;
14430
- width: var(--icon-size-default);
14431
- height: var(--icon-size-default);
14432
- color: var(--color-text-default-default);
14565
+ .muka-chat-message-stack--own.muka-chat-message-stack--has-avatar
14566
+ .muka-chat-message-stack__widgets,
14567
+ .muka-chat-message-stack--own.muka-chat-message-stack--has-avatar
14568
+ .muka-chat-message-stack__reasoning {
14569
+ padding-left: 0;
14570
+ padding-right: calc(var(--chatbubble-avatar-size) + var(--chatbubble-row-gap));
14433
14571
  }
14434
14572
 
14435
- .muka-checkbox-tile__icon svg {
14436
- width: 100%;
14437
- height: 100%;
14438
- }
14573
+ /* Follow the message's compact rail and gap below the desktop breakpoint */
14574
+ @media (max-width: 1023px) {
14575
+ .muka-chat-message-stack--has-avatar .muka-chat-message-stack__widgets,
14576
+ .muka-chat-message-stack--has-avatar .muka-chat-message-stack__reasoning {
14577
+ padding-left: calc(
14578
+ var(--chatbubble-avatar-size-compact) + var(--chatbubble-row-gap-compact)
14579
+ );
14580
+ }
14439
14581
 
14440
- /* Image */
14441
- .muka-checkbox-tile__image {
14442
- flex-shrink: 0;
14443
- overflow: hidden;
14444
- border-radius: var(--border-radius-sm);
14582
+ .muka-chat-message-stack--own.muka-chat-message-stack--has-avatar
14583
+ .muka-chat-message-stack__widgets,
14584
+ .muka-chat-message-stack--own.muka-chat-message-stack--has-avatar
14585
+ .muka-chat-message-stack__reasoning {
14586
+ padding-left: 0;
14587
+ padding-right: calc(
14588
+ var(--chatbubble-avatar-size-compact) + var(--chatbubble-row-gap-compact)
14589
+ );
14590
+ }
14445
14591
  }
14446
14592
 
14447
- .muka-checkbox-tile__image img {
14448
- display: block;
14449
- width: 100%;
14450
- height: 100%;
14451
- object-fit: cover;
14452
- }
14453
14593
 
14454
- /* Horizontal image sizing */
14455
- .muka-checkbox-tile__image--horizontal {
14456
- width: 40px;
14457
- height: 40px;
14458
- }
14594
+ /* ChatMessageList */
14595
+ /* ChatMessageList Component Styles */
14459
14596
 
14460
- /* Vertical image sizing */
14461
- .muka-checkbox-tile--vertical .muka-checkbox-tile__image {
14597
+ .muka-chat-message-list {
14598
+ flex: 1 1 auto;
14599
+ min-height: 0;
14462
14600
  width: 100%;
14463
- aspect-ratio: 4/3;
14601
+ overflow-x: clip;
14602
+ overflow-y: auto;
14603
+ background-color: var(--color-surface-level3);
14604
+ padding: var(--section-padding-vertical-default, var(--spacing-8))
14605
+ var(--section-padding-horizontal-default, var(--spacing-4));
14606
+ -webkit-overflow-scrolling: touch;
14607
+ overscroll-behavior: contain;
14464
14608
  }
14465
14609
 
14466
- /* Content container */
14467
- .muka-checkbox-tile__content {
14610
+ .muka-chat-message-list__inner {
14468
14611
  display: flex;
14469
14612
  flex-direction: column;
14470
- flex: 1;
14471
- min-width: 0;
14472
- gap: var(--spacing-2);
14613
+ align-items: stretch;
14614
+ gap: var(--spacing-8);
14615
+ width: 100%;
14616
+ max-width: var(--chat-column-max-width);
14617
+ margin: 0 auto;
14473
14618
  }
14474
14619
 
14475
- .muka-checkbox-tile__content-inner {
14476
- display: flex;
14477
- flex-direction: column;
14478
- gap: var(--spacing-1);
14479
- }
14620
+ /* ─── Print ────────────────────────────────────────────── */
14480
14621
 
14481
- /* Chip slot (replaces badge; use Chip component) */
14482
- .muka-checkbox-tile__chip {
14483
- flex-shrink: 0;
14484
- }
14622
+ @media print {
14623
+ .muka-chat-message-list {
14624
+ overflow: visible;
14625
+ height: auto;
14626
+ max-height: none;
14627
+ background: none;
14628
+ padding: 0;
14629
+ }
14485
14630
 
14486
- .muka-checkbox-tile__chip--vertical {
14487
- margin-top: var(--spacing-1);
14631
+ .muka-chat-message-list__inner {
14632
+ max-width: 100%;
14633
+ }
14488
14634
  }
14489
14635
 
14490
- /* Label */
14491
- .muka-checkbox-tile__label {
14492
- font-family: var(--text-body-lg-regular-fontFamily);
14493
- font-weight: var(--text-body-lg-regular-fontWeight);
14494
- font-size: var(--text-body-lg-regular-fontSize);
14495
- line-height: var(--text-body-lg-regular-lineHeight);
14496
- color: var(--color-text-default-default);
14497
- }
14498
14636
 
14499
- .muka-checkbox-tile__label--bold {
14500
- font-family: var(--text-label-lg-semibold-fontFamily);
14501
- font-weight: var(--text-label-lg-semibold-fontWeight);
14502
- font-size: var(--text-label-lg-semibold-fontSize);
14503
- line-height: var(--text-label-lg-semibold-lineHeight);
14504
- }
14637
+ /* ChatPhotoGrid */
14638
+ /* ChatPhotoGrid Component Styles */
14505
14639
 
14506
- .muka-checkbox-tile__label--center {
14507
- text-align: center;
14640
+ /*
14641
+ * The grid clips to its own radius and the tiles stay square, so only the four
14642
+ * outer corners round — matching the Figma "Wrapper" frame (5225:1394).
14643
+ */
14644
+ .muka-chat-photo-grid {
14645
+ display: grid;
14646
+ gap: var(--chatphotogrid-gap);
14647
+ width: 100%;
14648
+ min-width: 0;
14649
+ overflow: hidden;
14650
+ border-radius: var(--chatphotogrid-radius);
14508
14651
  }
14509
14652
 
14510
- /* Caption */
14511
- .muka-checkbox-tile__caption {
14512
- font-family: var(--text-body-base-regular-fontFamily);
14513
- font-weight: var(--text-body-base-regular-fontWeight);
14514
- font-size: var(--text-body-base-regular-fontSize);
14515
- line-height: var(--text-body-base-regular-lineHeight);
14516
- color: var(--color-text-subtle-default);
14517
- }
14653
+ /* ─── Tiles ────────────────────────────────────────────── */
14518
14654
 
14519
- /* Disabled states */
14520
- .muka-checkbox-tile--disabled .muka-checkbox-tile__label,
14521
- .muka-checkbox-tile--disabled .muka-checkbox-tile__icon {
14522
- color: var(--color-text-subtle-default);
14655
+ .muka-chat-photo-grid__tile {
14656
+ position: relative;
14657
+ display: block;
14658
+ overflow: hidden;
14659
+ min-width: 0;
14660
+ padding: 0;
14661
+ margin: 0;
14662
+ border: none;
14663
+ background-color: var(--chatphotogrid-color-placeholder);
14664
+ aspect-ratio: 1 / 1;
14523
14665
  }
14524
14666
 
14667
+ button.muka-chat-photo-grid__tile {
14668
+ cursor: pointer;
14669
+ appearance: none;
14670
+ }
14525
14671
 
14526
- /* ChatMessageStack */
14527
- /* ChatMessageStack Component Styles */
14672
+ button.muka-chat-photo-grid__tile:focus-visible {
14673
+ outline: var(--border-width-bold) solid var(--color-border-focus);
14674
+ /* Inset, so the grid's overflow clip cannot cut the ring off on corner tiles */
14675
+ outline-offset: calc(-1 * var(--border-width-bold));
14676
+ }
14528
14677
 
14529
- .muka-chat-message-stack {
14530
- display: flex;
14531
- flex-direction: column;
14532
- gap: var(--chatbubble-stack-gap);
14678
+ .muka-chat-photo-grid__image {
14679
+ display: block;
14533
14680
  width: 100%;
14534
- max-width: 100%;
14681
+ height: 100%;
14682
+ object-fit: cover;
14535
14683
  }
14536
14684
 
14537
- .muka-chat-message-stack__messages {
14685
+ /* ─── Overflow tile ────────────────────────────────────── */
14686
+
14687
+ .muka-chat-photo-grid__overflow {
14688
+ position: absolute;
14689
+ inset: 0;
14538
14690
  display: flex;
14539
- flex-direction: column;
14540
- gap: var(--chatbubble-stack-gap);
14541
- width: 100%;
14691
+ align-items: center;
14692
+ justify-content: center;
14693
+ background-color: var(--chatphotogrid-color-overflow-background);
14694
+ color: var(--chatphotogrid-color-overflow-foreground);
14695
+ font-family: var(--text-body-2xl-regular-fontFamily);
14696
+ font-weight: var(--text-body-2xl-regular-fontWeight);
14697
+ font-size: var(--text-body-2xl-regular-fontSize);
14698
+ line-height: var(--text-body-2xl-regular-lineHeight);
14542
14699
  }
14543
14700
 
14544
- /*
14545
- * Reasoning sits above the stack, indented past the avatar rail so it lines up
14546
- * with the bubbles rather than with the avatar (Figma 5379:47300).
14547
- */
14548
- .muka-chat-message-stack__reasoning {
14549
- min-width: 0;
14701
+ /* ─── Layouts ──────────────────────────────────────────── */
14702
+
14703
+ .muka-chat-photo-grid--1 {
14704
+ grid-template-columns: 1fr;
14550
14705
  }
14551
14706
 
14552
- /* In-thread widgets after the messages share the reasoning's indent. */
14553
- .muka-chat-message-stack__widgets {
14554
- display: flex;
14555
- flex-direction: column;
14556
- gap: var(--chatbubble-stack-gap);
14557
- min-width: 0;
14707
+ .muka-chat-photo-grid--landscape .muka-chat-photo-grid__tile {
14708
+ aspect-ratio: 4 / 3;
14558
14709
  }
14559
14710
 
14560
- .muka-chat-message-stack--has-avatar .muka-chat-message-stack__widgets,
14561
- .muka-chat-message-stack--has-avatar .muka-chat-message-stack__reasoning {
14562
- padding-left: calc(var(--chatbubble-avatar-size) + var(--chatbubble-row-gap));
14711
+ .muka-chat-photo-grid--portrait .muka-chat-photo-grid__tile {
14712
+ aspect-ratio: 3 / 4;
14563
14713
  }
14564
14714
 
14565
- .muka-chat-message-stack--own.muka-chat-message-stack--has-avatar
14566
- .muka-chat-message-stack__widgets,
14567
- .muka-chat-message-stack--own.muka-chat-message-stack--has-avatar
14568
- .muka-chat-message-stack__reasoning {
14569
- padding-left: 0;
14570
- padding-right: calc(var(--chatbubble-avatar-size) + var(--chatbubble-row-gap));
14715
+ .muka-chat-photo-grid--2 {
14716
+ grid-template-columns: repeat(2, 1fr);
14571
14717
  }
14572
14718
 
14573
- /* Follow the message's compact rail and gap below the desktop breakpoint */
14574
- @media (max-width: 1023px) {
14575
- .muka-chat-message-stack--has-avatar .muka-chat-message-stack__widgets,
14576
- .muka-chat-message-stack--has-avatar .muka-chat-message-stack__reasoning {
14577
- padding-left: calc(
14578
- var(--chatbubble-avatar-size-compact) + var(--chatbubble-row-gap-compact)
14579
- );
14580
- }
14719
+ .muka-chat-photo-grid--3 {
14720
+ grid-template-columns: repeat(3, 1fr);
14721
+ }
14581
14722
 
14582
- .muka-chat-message-stack--own.muka-chat-message-stack--has-avatar
14583
- .muka-chat-message-stack__widgets,
14584
- .muka-chat-message-stack--own.muka-chat-message-stack--has-avatar
14585
- .muka-chat-message-stack__reasoning {
14586
- padding-left: 0;
14587
- padding-right: calc(
14588
- var(--chatbubble-avatar-size-compact) + var(--chatbubble-row-gap-compact)
14589
- );
14590
- }
14723
+ .muka-chat-photo-grid--4 {
14724
+ grid-template-columns: repeat(2, 1fr);
14591
14725
  }
14592
14726
 
14727
+ /* 5 photos: a 2-up row above a 3-up row, on a shared 6-column track */
14728
+ .muka-chat-photo-grid--5 {
14729
+ grid-template-columns: repeat(6, 1fr);
14730
+ }
14593
14731
 
14594
- /* ChatMessageList */
14595
- /* ChatMessageList Component Styles */
14732
+ .muka-chat-photo-grid--5 .muka-chat-photo-grid__tile:nth-child(-n + 2) {
14733
+ grid-column: span 3;
14734
+ }
14596
14735
 
14597
- .muka-chat-message-list {
14598
- flex: 1 1 auto;
14599
- min-height: 0;
14600
- width: 100%;
14601
- overflow-x: clip;
14602
- overflow-y: auto;
14603
- background-color: var(--color-surface-level3);
14604
- padding: var(--section-padding-vertical-default, var(--spacing-8))
14605
- var(--section-padding-horizontal-default, var(--spacing-4));
14606
- -webkit-overflow-scrolling: touch;
14607
- overscroll-behavior: contain;
14736
+ .muka-chat-photo-grid--5 .muka-chat-photo-grid__tile:nth-child(n + 3) {
14737
+ grid-column: span 2;
14608
14738
  }
14609
14739
 
14610
- .muka-chat-message-list__inner {
14611
- display: flex;
14612
- flex-direction: column;
14613
- align-items: stretch;
14614
- gap: var(--spacing-8);
14615
- width: 100%;
14616
- max-width: var(--chat-column-max-width);
14617
- margin: 0 auto;
14740
+ .muka-chat-photo-grid--6,
14741
+ .muka-chat-photo-grid--overflow {
14742
+ grid-template-columns: repeat(3, 1fr);
14618
14743
  }
14619
14744
 
14620
14745
  /* ─── Print ────────────────────────────────────────────── */
14621
14746
 
14622
14747
  @media print {
14623
- .muka-chat-message-list {
14624
- overflow: visible;
14625
- height: auto;
14626
- max-height: none;
14627
- background: none;
14628
- padding: 0;
14748
+ .muka-chat-photo-grid {
14749
+ break-inside: avoid;
14629
14750
  }
14630
14751
 
14631
- .muka-chat-message-list__inner {
14632
- max-width: 100%;
14752
+ .muka-chat-photo-grid__image {
14753
+ print-color-adjust: exact;
14754
+ -webkit-print-color-adjust: exact;
14633
14755
  }
14634
14756
  }
14635
14757
 
@@ -14975,128 +15097,6 @@ button.muka-chip__trailing[aria-expanded='true'],
14975
15097
  }
14976
15098
 
14977
15099
 
14978
- /* ChatPhotoGrid */
14979
- /* ChatPhotoGrid Component Styles */
14980
-
14981
- /*
14982
- * The grid clips to its own radius and the tiles stay square, so only the four
14983
- * outer corners round — matching the Figma "Wrapper" frame (5225:1394).
14984
- */
14985
- .muka-chat-photo-grid {
14986
- display: grid;
14987
- gap: var(--chatphotogrid-gap);
14988
- width: 100%;
14989
- min-width: 0;
14990
- overflow: hidden;
14991
- border-radius: var(--chatphotogrid-radius);
14992
- }
14993
-
14994
- /* ─── Tiles ────────────────────────────────────────────── */
14995
-
14996
- .muka-chat-photo-grid__tile {
14997
- position: relative;
14998
- display: block;
14999
- overflow: hidden;
15000
- min-width: 0;
15001
- padding: 0;
15002
- margin: 0;
15003
- border: none;
15004
- background-color: var(--chatphotogrid-color-placeholder);
15005
- aspect-ratio: 1 / 1;
15006
- }
15007
-
15008
- button.muka-chat-photo-grid__tile {
15009
- cursor: pointer;
15010
- appearance: none;
15011
- }
15012
-
15013
- button.muka-chat-photo-grid__tile:focus-visible {
15014
- outline: var(--border-width-bold) solid var(--color-border-focus);
15015
- /* Inset, so the grid's overflow clip cannot cut the ring off on corner tiles */
15016
- outline-offset: calc(-1 * var(--border-width-bold));
15017
- }
15018
-
15019
- .muka-chat-photo-grid__image {
15020
- display: block;
15021
- width: 100%;
15022
- height: 100%;
15023
- object-fit: cover;
15024
- }
15025
-
15026
- /* ─── Overflow tile ────────────────────────────────────── */
15027
-
15028
- .muka-chat-photo-grid__overflow {
15029
- position: absolute;
15030
- inset: 0;
15031
- display: flex;
15032
- align-items: center;
15033
- justify-content: center;
15034
- background-color: var(--chatphotogrid-color-overflow-background);
15035
- color: var(--chatphotogrid-color-overflow-foreground);
15036
- font-family: var(--text-body-2xl-regular-fontFamily);
15037
- font-weight: var(--text-body-2xl-regular-fontWeight);
15038
- font-size: var(--text-body-2xl-regular-fontSize);
15039
- line-height: var(--text-body-2xl-regular-lineHeight);
15040
- }
15041
-
15042
- /* ─── Layouts ──────────────────────────────────────────── */
15043
-
15044
- .muka-chat-photo-grid--1 {
15045
- grid-template-columns: 1fr;
15046
- }
15047
-
15048
- .muka-chat-photo-grid--landscape .muka-chat-photo-grid__tile {
15049
- aspect-ratio: 4 / 3;
15050
- }
15051
-
15052
- .muka-chat-photo-grid--portrait .muka-chat-photo-grid__tile {
15053
- aspect-ratio: 3 / 4;
15054
- }
15055
-
15056
- .muka-chat-photo-grid--2 {
15057
- grid-template-columns: repeat(2, 1fr);
15058
- }
15059
-
15060
- .muka-chat-photo-grid--3 {
15061
- grid-template-columns: repeat(3, 1fr);
15062
- }
15063
-
15064
- .muka-chat-photo-grid--4 {
15065
- grid-template-columns: repeat(2, 1fr);
15066
- }
15067
-
15068
- /* 5 photos: a 2-up row above a 3-up row, on a shared 6-column track */
15069
- .muka-chat-photo-grid--5 {
15070
- grid-template-columns: repeat(6, 1fr);
15071
- }
15072
-
15073
- .muka-chat-photo-grid--5 .muka-chat-photo-grid__tile:nth-child(-n + 2) {
15074
- grid-column: span 3;
15075
- }
15076
-
15077
- .muka-chat-photo-grid--5 .muka-chat-photo-grid__tile:nth-child(n + 3) {
15078
- grid-column: span 2;
15079
- }
15080
-
15081
- .muka-chat-photo-grid--6,
15082
- .muka-chat-photo-grid--overflow {
15083
- grid-template-columns: repeat(3, 1fr);
15084
- }
15085
-
15086
- /* ─── Print ────────────────────────────────────────────── */
15087
-
15088
- @media print {
15089
- .muka-chat-photo-grid {
15090
- break-inside: avoid;
15091
- }
15092
-
15093
- .muka-chat-photo-grid__image {
15094
- print-color-adjust: exact;
15095
- -webkit-print-color-adjust: exact;
15096
- }
15097
- }
15098
-
15099
-
15100
15100
  /* ChatEvent */
15101
15101
  /* ChatEvent: a line in a chat that isn't a message from a person */
15102
15102
 
@@ -15188,6 +15188,29 @@ button.muka-chat-photo-grid__tile:focus-visible {
15188
15188
  flex-shrink: 0;
15189
15189
  }
15190
15190
 
15191
+ /* ─── Suggestions ──────────────────────────────────────── */
15192
+
15193
+ /*
15194
+ * Suggestions for the typed text sit in the composer, just above the field:
15195
+ * the menu surface and rows (Menu.css), in flow rather than a floating
15196
+ * popover, so they stay above the mobile keyboard.
15197
+ */
15198
+ .muka-chat-composer__suggestions {
15199
+ width: 100%;
15200
+ min-width: 0;
15201
+ box-sizing: border-box;
15202
+ animation: none;
15203
+ }
15204
+
15205
+ /* One line per label, the match included; long labels truncate. */
15206
+ .muka-chat-composer__suggestion-text {
15207
+ display: block;
15208
+ min-width: 0;
15209
+ overflow: hidden;
15210
+ text-overflow: ellipsis;
15211
+ white-space: nowrap;
15212
+ }
15213
+
15191
15214
  /* ─── Text field ───────────────────────────────────────── */
15192
15215
 
15193
15216
  .muka-chat-composer__field {