@revikornmann/muka-ui 0.51.0 → 0.52.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (71) hide show
  1. package/dist/cjs/components/DocumentViewer/DocumentCanvas.js +11 -9
  2. package/dist/cjs/components/DocumentViewer/DocumentCanvas.js.map +1 -1
  3. package/dist/cjs/components/DocumentViewer/DocumentThumbnails.js +5 -3
  4. package/dist/cjs/components/DocumentViewer/DocumentThumbnails.js.map +1 -1
  5. package/dist/cjs/components/DocumentViewer/DocumentToolbar.js +4 -2
  6. package/dist/cjs/components/DocumentViewer/DocumentToolbar.js.map +1 -1
  7. package/dist/cjs/components/DocumentViewer/DocumentViewer.js +4 -2
  8. package/dist/cjs/components/DocumentViewer/DocumentViewer.js.map +1 -1
  9. package/dist/cjs/components/DocumentViewer/index.js.map +1 -1
  10. package/dist/cjs/components/DocumentViewer/labels.js +43 -0
  11. package/dist/cjs/components/DocumentViewer/labels.js.map +1 -0
  12. package/dist/cjs/components/FileUpload/FileUpload.js +4 -11
  13. package/dist/cjs/components/FileUpload/FileUpload.js.map +1 -1
  14. package/dist/cjs/components/FileUpload/FileUploadItem.js +2 -9
  15. package/dist/cjs/components/FileUpload/FileUploadItem.js.map +1 -1
  16. package/dist/cjs/components/PhotoUploader/PhotoUploader.js +65 -13
  17. package/dist/cjs/components/PhotoUploader/PhotoUploader.js.map +1 -1
  18. package/dist/cjs/components/PhotoUploader/index.js.map +1 -1
  19. package/dist/cjs/components/index.js.map +1 -1
  20. package/dist/cjs/utils/formatBytes.js +13 -0
  21. package/dist/cjs/utils/formatBytes.js.map +1 -0
  22. package/dist/esm/components/DocumentViewer/DocumentCanvas.js +12 -10
  23. package/dist/esm/components/DocumentViewer/DocumentCanvas.js.map +1 -1
  24. package/dist/esm/components/DocumentViewer/DocumentThumbnails.js +6 -4
  25. package/dist/esm/components/DocumentViewer/DocumentThumbnails.js.map +1 -1
  26. package/dist/esm/components/DocumentViewer/DocumentToolbar.js +5 -3
  27. package/dist/esm/components/DocumentViewer/DocumentToolbar.js.map +1 -1
  28. package/dist/esm/components/DocumentViewer/DocumentViewer.js +5 -3
  29. package/dist/esm/components/DocumentViewer/DocumentViewer.js.map +1 -1
  30. package/dist/esm/components/DocumentViewer/index.js.map +1 -1
  31. package/dist/esm/components/DocumentViewer/labels.js +39 -0
  32. package/dist/esm/components/DocumentViewer/labels.js.map +1 -0
  33. package/dist/esm/components/FileUpload/FileUpload.js +3 -10
  34. package/dist/esm/components/FileUpload/FileUpload.js.map +1 -1
  35. package/dist/esm/components/FileUpload/FileUploadItem.js +1 -8
  36. package/dist/esm/components/FileUpload/FileUploadItem.js.map +1 -1
  37. package/dist/esm/components/PhotoUploader/PhotoUploader.js +66 -14
  38. package/dist/esm/components/PhotoUploader/PhotoUploader.js.map +1 -1
  39. package/dist/esm/components/PhotoUploader/index.js.map +1 -1
  40. package/dist/esm/components/index.js +1 -1
  41. package/dist/esm/components/index.js.map +1 -1
  42. package/dist/esm/utils/formatBytes.js +10 -0
  43. package/dist/esm/utils/formatBytes.js.map +1 -0
  44. package/dist/styles/index.css +1582 -1582
  45. package/dist/styles/muka-dark.css +1582 -1582
  46. package/dist/styles/muka-light.css +1582 -1582
  47. package/dist/styles/wireframe-dark.css +1582 -1582
  48. package/dist/styles/wireframe-light.css +1582 -1582
  49. package/dist/types/components/DocumentViewer/DocumentCanvas.d.ts +3 -0
  50. package/dist/types/components/DocumentViewer/DocumentCanvas.d.ts.map +1 -1
  51. package/dist/types/components/DocumentViewer/DocumentThumbnails.d.ts +3 -0
  52. package/dist/types/components/DocumentViewer/DocumentThumbnails.d.ts.map +1 -1
  53. package/dist/types/components/DocumentViewer/DocumentToolbar.d.ts +3 -0
  54. package/dist/types/components/DocumentViewer/DocumentToolbar.d.ts.map +1 -1
  55. package/dist/types/components/DocumentViewer/DocumentViewer.d.ts +3 -0
  56. package/dist/types/components/DocumentViewer/DocumentViewer.d.ts.map +1 -1
  57. package/dist/types/components/DocumentViewer/index.d.ts +1 -0
  58. package/dist/types/components/DocumentViewer/index.d.ts.map +1 -1
  59. package/dist/types/components/DocumentViewer/labels.d.ts +57 -0
  60. package/dist/types/components/DocumentViewer/labels.d.ts.map +1 -0
  61. package/dist/types/components/FileUpload/FileUpload.d.ts.map +1 -1
  62. package/dist/types/components/FileUpload/FileUploadItem.d.ts.map +1 -1
  63. package/dist/types/components/PhotoUploader/PhotoUploader.d.ts +55 -9
  64. package/dist/types/components/PhotoUploader/PhotoUploader.d.ts.map +1 -1
  65. package/dist/types/components/PhotoUploader/index.d.ts +1 -1
  66. package/dist/types/components/PhotoUploader/index.d.ts.map +1 -1
  67. package/dist/types/components/index.d.ts +2 -2
  68. package/dist/types/components/index.d.ts.map +1 -1
  69. package/dist/types/utils/formatBytes.d.ts +3 -0
  70. package/dist/types/utils/formatBytes.d.ts.map +1 -0
  71. package/package.json +1 -1
@@ -4995,114 +4995,6 @@ body {
4995
4995
  }
4996
4996
 
4997
4997
 
4998
- /* SwipeActions */
4999
- /* SwipeActions Component Styles */
5000
-
5001
- .muka-swipe-actions {
5002
- position: relative;
5003
- overflow: hidden;
5004
- touch-action: pan-y;
5005
- -webkit-user-select: none;
5006
- user-select: none;
5007
- background-color: var(--color-surface-level3);
5008
- }
5009
-
5010
- .muka-swipe-actions--disabled {
5011
- touch-action: auto;
5012
- }
5013
-
5014
- /* ─── Row that holds the actual content ────────────────── */
5015
-
5016
- .muka-swipe-actions__row {
5017
- position: relative;
5018
- z-index: 1;
5019
- background-color: inherit;
5020
- will-change: transform;
5021
- }
5022
-
5023
- /* ─── Action panels — sit beneath the row ──────────────── */
5024
-
5025
- .muka-swipe-actions__panel {
5026
- position: absolute;
5027
- top: 0;
5028
- bottom: 0;
5029
- display: flex;
5030
- align-items: stretch;
5031
- z-index: 0;
5032
- }
5033
-
5034
- .muka-swipe-actions__panel--left {
5035
- left: 0;
5036
- }
5037
-
5038
- .muka-swipe-actions__panel--right {
5039
- right: 0;
5040
- }
5041
-
5042
- /* ─── Single action button ─────────────────────────────── */
5043
-
5044
- .muka-swipe-actions__button {
5045
- display: flex;
5046
- flex-direction: column;
5047
- align-items: center;
5048
- justify-content: center;
5049
- gap: var(--spacing-1);
5050
- border: none;
5051
- cursor: pointer;
5052
- padding: var(--spacing-2);
5053
- background-color: var(--color-surface-level2);
5054
- color: var(--color-text-default-default);
5055
- font-family: var(--text-label-sm-semibold-fontFamily);
5056
- font-weight: var(--text-label-sm-semibold-fontWeight);
5057
- font-size: var(--text-label-sm-semibold-fontSize);
5058
- line-height: var(--text-label-sm-semibold-lineHeight);
5059
- -webkit-tap-highlight-color: transparent;
5060
- transition: filter 0.12s ease;
5061
- }
5062
-
5063
- .muka-swipe-actions__button:hover {
5064
- filter: brightness(0.95);
5065
- }
5066
-
5067
- .muka-swipe-actions__button:focus-visible {
5068
- outline: 2px solid var(--color-action-default);
5069
- outline-offset: -2px;
5070
- }
5071
-
5072
- .muka-swipe-actions__button-icon {
5073
- display: inline-flex;
5074
- align-items: center;
5075
- justify-content: center;
5076
- }
5077
-
5078
- /* ─── Color variants ───────────────────────────────────── */
5079
-
5080
- .muka-swipe-actions__button--neutral {
5081
- background-color: var(--color-surface-level2);
5082
- color: var(--color-text-default-default);
5083
- }
5084
-
5085
- .muka-swipe-actions__button--primary {
5086
- background-color: var(--color-action-default);
5087
- color: var(--color-text-default-inverse);
5088
- }
5089
-
5090
- .muka-swipe-actions__button--success {
5091
- background-color: var(--color-state-success-default);
5092
- color: var(--color-text-default-inverse);
5093
- }
5094
-
5095
- .muka-swipe-actions__button--warning {
5096
- background-color: var(--color-state-warning-default);
5097
- color: var(--color-text-default-default);
5098
- }
5099
-
5100
- .muka-swipe-actions__button--destructive {
5101
- background-color: var(--color-state-error-default);
5102
- color: var(--color-text-default-inverse);
5103
- }
5104
-
5105
-
5106
4998
  /* Spinner */
5107
4999
  /* Spinner Component Styles */
5108
5000
 
@@ -5608,6 +5500,81 @@ body {
5608
5500
  }
5609
5501
 
5610
5502
 
5503
+ /* Skeleton */
5504
+ /* Skeleton Component Styles */
5505
+
5506
+ .muka-skeleton {
5507
+ background-color: var(--color-surface-level1);
5508
+ display: block;
5509
+ }
5510
+
5511
+ /* Variants */
5512
+ .muka-skeleton--text {
5513
+ height: 1em;
5514
+ border-radius: var(--radius-md);
5515
+ width: 100%;
5516
+ }
5517
+
5518
+ .muka-skeleton--circular {
5519
+ width: 2.5rem;
5520
+ height: 2.5rem;
5521
+ border-radius: var(--radius-full);
5522
+ }
5523
+
5524
+ .muka-skeleton--rectangular {
5525
+ height: 7.5rem;
5526
+ border-radius: var(--radius-md);
5527
+ width: 100%;
5528
+ }
5529
+
5530
+ /* Last line in multi-line text is shorter */
5531
+ .muka-skeleton--last-line {
5532
+ width: 80%;
5533
+ }
5534
+
5535
+ /* Lines container */
5536
+ .muka-skeleton__lines {
5537
+ display: flex;
5538
+ flex-direction: column;
5539
+ gap: var(--spacing-2);
5540
+ }
5541
+
5542
+ /* Shimmer animation */
5543
+ @keyframes muka-skeleton-shimmer {
5544
+ 0% {
5545
+ background-position: -200% 0;
5546
+ }
5547
+ 100% {
5548
+ background-position: 200% 0;
5549
+ }
5550
+ }
5551
+
5552
+ .muka-skeleton--shimmer {
5553
+ background: linear-gradient(
5554
+ 90deg,
5555
+ var(--color-surface-level1) 25%,
5556
+ var(--color-surface-level2) 50%,
5557
+ var(--color-surface-level1) 75%
5558
+ );
5559
+ background-size: 200% 100%;
5560
+ animation: muka-skeleton-shimmer 1.5s ease-in-out infinite;
5561
+ }
5562
+
5563
+ /* Pulse animation */
5564
+ @keyframes muka-skeleton-pulse {
5565
+ 0%, 100% {
5566
+ opacity: 1;
5567
+ }
5568
+ 50% {
5569
+ opacity: 0.4;
5570
+ }
5571
+ }
5572
+
5573
+ .muka-skeleton--pulse {
5574
+ animation: muka-skeleton-pulse 1.5s ease-in-out infinite;
5575
+ }
5576
+
5577
+
5611
5578
  /* SiteHeader */
5612
5579
  /* SiteHeader Component Styles */
5613
5580
 
@@ -5715,115 +5682,40 @@ body {
5715
5682
  }
5716
5683
 
5717
5684
 
5718
- /* Skeleton */
5719
- /* Skeleton Component Styles */
5720
-
5721
- .muka-skeleton {
5722
- background-color: var(--color-surface-level1);
5723
- display: block;
5724
- }
5685
+ /* Sheet */
5686
+ /* Sheet Component Styles */
5725
5687
 
5726
- /* Variants */
5727
- .muka-skeleton--text {
5728
- height: 1em;
5729
- border-radius: var(--radius-md);
5730
- width: 100%;
5731
- }
5688
+ /* ─── Backdrop ────────────────────────────────────────── */
5732
5689
 
5733
- .muka-skeleton--circular {
5734
- width: 2.5rem;
5735
- height: 2.5rem;
5736
- border-radius: var(--radius-full);
5690
+ .muka-sheet__overlay {
5691
+ position: fixed;
5692
+ inset: 0;
5693
+ background-color: var(--color-surface-backdrop);
5694
+ -webkit-backdrop-filter: blur(var(--effect-blur-backdrop));
5695
+ backdrop-filter: blur(var(--effect-blur-backdrop));
5696
+ z-index: 50;
5737
5697
  }
5738
5698
 
5739
- .muka-skeleton--rectangular {
5740
- height: 7.5rem;
5741
- border-radius: var(--radius-md);
5742
- width: 100%;
5743
- }
5699
+ /* ─── Surface ─────────────────────────────────────────── */
5744
5700
 
5745
- /* Last line in multi-line text is shorter */
5746
- .muka-skeleton--last-line {
5747
- width: 80%;
5748
- }
5701
+ .muka-sheet {
5702
+ position: fixed;
5703
+ left: 0;
5704
+ right: 0;
5705
+ bottom: 0;
5706
+ z-index: 51;
5749
5707
 
5750
- /* Lines container */
5751
- .muka-skeleton__lines {
5752
5708
  display: flex;
5753
5709
  flex-direction: column;
5754
- gap: var(--spacing-2);
5755
- }
5756
5710
 
5757
- /* Shimmer animation */
5758
- @keyframes muka-skeleton-shimmer {
5759
- 0% {
5760
- background-position: -200% 0;
5761
- }
5762
- 100% {
5763
- background-position: 200% 0;
5764
- }
5765
- }
5711
+ max-height: 96dvh;
5766
5712
 
5767
- .muka-skeleton--shimmer {
5768
- background: linear-gradient(
5769
- 90deg,
5770
- var(--color-surface-level1) 25%,
5771
- var(--color-surface-level2) 50%,
5772
- var(--color-surface-level1) 75%
5773
- );
5774
- background-size: 200% 100%;
5775
- animation: muka-skeleton-shimmer 1.5s ease-in-out infinite;
5776
- }
5777
-
5778
- /* Pulse animation */
5779
- @keyframes muka-skeleton-pulse {
5780
- 0%, 100% {
5781
- opacity: 1;
5782
- }
5783
- 50% {
5784
- opacity: 0.4;
5785
- }
5786
- }
5787
-
5788
- .muka-skeleton--pulse {
5789
- animation: muka-skeleton-pulse 1.5s ease-in-out infinite;
5790
- }
5791
-
5792
-
5793
- /* Sheet */
5794
- /* Sheet Component Styles */
5795
-
5796
- /* ─── Backdrop ────────────────────────────────────────── */
5797
-
5798
- .muka-sheet__overlay {
5799
- position: fixed;
5800
- inset: 0;
5801
- background-color: var(--color-surface-backdrop);
5802
- -webkit-backdrop-filter: blur(var(--effect-blur-backdrop));
5803
- backdrop-filter: blur(var(--effect-blur-backdrop));
5804
- z-index: 50;
5805
- }
5806
-
5807
- /* ─── Surface ─────────────────────────────────────────── */
5808
-
5809
- .muka-sheet {
5810
- position: fixed;
5811
- left: 0;
5812
- right: 0;
5813
- bottom: 0;
5814
- z-index: 51;
5815
-
5816
- display: flex;
5817
- flex-direction: column;
5818
-
5819
- max-height: 96dvh;
5820
-
5821
- background-color: var(--color-surface-level3);
5822
- border-top-left-radius: var(--radius-lg);
5823
- border-top-right-radius: var(--radius-lg);
5824
- box-shadow: var(--shadow-level5);
5825
-
5826
- outline: none;
5713
+ background-color: var(--color-surface-level3);
5714
+ border-top-left-radius: var(--radius-lg);
5715
+ border-top-right-radius: var(--radius-lg);
5716
+ box-shadow: var(--shadow-level5);
5717
+
5718
+ outline: none;
5827
5719
  }
5828
5720
 
5829
5721
  /* Safe-area bottom inset for the iPhone home indicator. */
@@ -7173,119 +7065,119 @@ body {
7173
7065
  }
7174
7066
 
7175
7067
 
7176
- /* ProgressAccordeon */
7177
- /* ProgressAccordeon Component Styles — Using Muka Design Tokens */
7068
+ /* ProgressTracker */
7069
+ /* ProgressTracker Component Styles — Using Muka Design Tokens */
7178
7070
 
7179
7071
  /* ─── Root ──────────────────────────────────────────────── */
7180
- .muka-progress-accordeon {
7181
- container-type: inline-size;
7182
- display: flex;
7183
- flex-direction: column;
7184
- align-items: stretch;
7072
+ .muka-progress-tracker {
7185
7073
  width: 100%;
7186
- /* Top padding provides the vertical rhythm between stacked steps */
7187
- padding-top: var(--spacing-8);
7188
- }
7189
-
7190
- /* Per-state gap: content-bearing steps are tighter, header-only steps looser */
7191
- .muka-progress-accordeon--current,
7192
- .muka-progress-accordeon--current.muka-progress-accordeon--expanded,
7193
- .muka-progress-accordeon--past.muka-progress-accordeon--expanded,
7194
- .muka-progress-accordeon--upcoming.muka-progress-accordeon--expanded {
7195
- gap: var(--spacing-6);
7196
7074
  }
7197
7075
 
7198
- .muka-progress-accordeon--upcoming,
7199
- .muka-progress-accordeon--past.muka-progress-accordeon--collapsed,
7200
- .muka-progress-accordeon--upcoming.muka-progress-accordeon--collapsed,
7201
- .muka-progress-accordeon--current.muka-progress-accordeon--collapsed {
7202
- gap: var(--spacing-8);
7076
+ .muka-progress-tracker--horizontal {
7077
+ padding-bottom: var(--spacing-7);
7203
7078
  }
7204
7079
 
7205
- /* Collapsible steps group header + slot. The header↔content gap lives inside the
7206
- collapsing slot (as padding-top) so it collapses with the content, so the
7207
- body gap itself is 0. */
7208
- .muka-progress-accordeon__body {
7209
- display: flex;
7210
- flex-direction: column;
7211
- gap: 0;
7212
- width: 100%;
7080
+ /* Scrollable: the root scrolls sideways when the steps don't fit. The inline
7081
+ padding leaves room for the first and last labels, which hang past their
7082
+ indicators; the scrollbar stays hidden (touch and trackpad still scroll). */
7083
+ .muka-progress-tracker--scrollable {
7084
+ overflow-x: auto;
7085
+ overflow-y: hidden;
7086
+ -webkit-overflow-scrolling: touch;
7087
+ scrollbar-width: none;
7088
+ padding-inline: var(--spacing-12);
7089
+ box-sizing: border-box;
7213
7090
  }
7214
7091
 
7215
- /* ─── Header ─────────────────────────────────────────────── */
7216
- .muka-progress-accordeon__header {
7217
- display: flex;
7218
- flex-direction: column;
7219
- gap: var(--spacing-3);
7220
- width: 100%;
7092
+ .muka-progress-tracker--scrollable::-webkit-scrollbar {
7093
+ display: none;
7221
7094
  }
7222
7095
 
7223
- .muka-progress-accordeon__header-row {
7224
- display: flex;
7225
- align-items: flex-start;
7226
- gap: var(--spacing-3);
7227
- width: 100%;
7228
- min-height: 40px;
7096
+ /* ─── Track (layered container) ─────────────────────────── */
7097
+ .muka-progress-tracker--horizontal .muka-progress-tracker__track {
7098
+ position: relative;
7099
+ /* Vertical padding = (indicator size - connector height) / 2 = (32 - 4) / 2 = 14px */
7100
+ padding-top: 14px;
7101
+ padding-bottom: 14px;
7229
7102
  }
7230
7103
 
7231
- .muka-progress-accordeon__heading-group {
7104
+ /* ─── Steps layer (on top) — horizontal ─────────────────── */
7105
+ .muka-progress-tracker--horizontal .muka-progress-tracker__steps {
7106
+ position: absolute;
7107
+ inset: 0;
7232
7108
  display: flex;
7233
- flex: 1 0 0;
7234
- min-width: 0;
7235
7109
  align-items: flex-start;
7236
- gap: var(--spacing-4);
7237
- }
7238
-
7239
- /* Steps with header controls (edit / chevron) are 40px tall; nudge the heading
7240
- so a single line centres against the indicator + controls row. */
7241
- .muka-progress-accordeon:has(.muka-progress-accordeon__controls)
7242
- .muka-progress-accordeon__heading-group {
7243
- padding-top: var(--spacing-1);
7110
+ justify-content: space-between;
7111
+ z-index: 2;
7244
7112
  }
7245
7113
 
7246
- .muka-progress-accordeon__controls {
7114
+ /* ─── Individual step — horizontal ──────────────────────── */
7115
+ .muka-progress-tracker--horizontal .muka-progress-tracker__step {
7247
7116
  display: flex;
7248
- flex-shrink: 0;
7117
+ flex-direction: column;
7249
7118
  align-items: center;
7250
- gap: var(--spacing-3);
7119
+ position: relative;
7120
+ /* Labels are absolutely positioned so the step stays 32px and
7121
+ circle centers line up with the connector padding. */
7122
+ width: 32px;
7123
+ flex: 0 0 32px;
7251
7124
  }
7252
7125
 
7253
7126
  /* ─── Step indicator (circle) ───────────────────────────── */
7254
- .muka-progress-accordeon__indicator {
7127
+ .muka-progress-tracker__indicator {
7255
7128
  width: 32px;
7256
7129
  height: 32px;
7257
- flex-shrink: 0;
7258
7130
  border-radius: var(--border-radius-full);
7259
7131
  display: flex;
7260
7132
  align-items: center;
7261
7133
  justify-content: center;
7134
+ flex-shrink: 0;
7135
+ position: relative;
7136
+ z-index: 1;
7262
7137
  }
7263
7138
 
7264
- /* Past: dark accent-contrast circle with inverse checkmark */
7265
- .muka-progress-accordeon__indicator--past {
7139
+ /* Past: dark accent contrast circle with white checkmark */
7140
+ .muka-progress-tracker__indicator--past {
7266
7141
  background-color: var(--alias-color-accent-contrast);
7267
7142
  color: var(--color-text-default-inverse);
7268
7143
  }
7269
7144
 
7270
- /* Current: accent circle with inverse bold number */
7271
- .muka-progress-accordeon__indicator--current {
7145
+ .muka-progress-tracker--horizontal .muka-progress-tracker__indicator--interactive {
7146
+ cursor: pointer;
7147
+ }
7148
+
7149
+ .muka-progress-tracker--horizontal .muka-progress-tracker__indicator--interactive:focus-visible {
7150
+ outline: 2px solid var(--color-border-focus);
7151
+ outline-offset: 2px;
7152
+ }
7153
+
7154
+ .muka-progress-tracker--horizontal .muka-progress-tracker__indicator--past.muka-progress-tracker__indicator--interactive:hover {
7155
+ background-color: var(--alias-color-accent-pressed);
7156
+ }
7157
+
7158
+ .muka-progress-tracker--horizontal .muka-progress-tracker__indicator--current.muka-progress-tracker__indicator--interactive:hover {
7159
+ background-color: var(--alias-color-accent-hover);
7160
+ }
7161
+
7162
+ /* Upcoming (clickableSteps="all"): a 4px halo, the vertical hover's 40px circle */
7163
+ .muka-progress-tracker--horizontal .muka-progress-tracker__indicator--upcoming.muka-progress-tracker__indicator--interactive:hover {
7164
+ box-shadow: 0 0 0 4px var(--color-surface-level1);
7165
+ }
7166
+
7167
+ /* Current: accent default circle with white number */
7168
+ .muka-progress-tracker__indicator--current {
7272
7169
  background-color: var(--alias-color-accent-default);
7273
7170
  color: var(--color-text-default-inverse);
7274
7171
  }
7275
7172
 
7276
- /* Upcoming: sunken/muted circle with default-color number */
7277
- .muka-progress-accordeon__indicator--upcoming {
7173
+ /* Upcoming: sunken/gray circle with dark number */
7174
+ .muka-progress-tracker__indicator--upcoming {
7278
7175
  background-color: var(--color-surface-sunken);
7279
7176
  color: var(--color-text-default-default);
7280
7177
  }
7281
7178
 
7282
- .muka-progress-accordeon__check-icon {
7283
- width: 20px;
7284
- height: 20px;
7285
- color: var(--color-text-default-inverse);
7286
- }
7287
-
7288
- .muka-progress-accordeon__number {
7179
+ /* ─── Step number text ──────────────────────────────────── */
7180
+ .muka-progress-tracker__number {
7289
7181
  font-family: var(--text-label-md-bold-fontFamily);
7290
7182
  font-weight: var(--text-label-md-bold-fontWeight);
7291
7183
  font-size: var(--text-label-md-bold-fontSize);
@@ -7294,472 +7186,214 @@ body {
7294
7186
  user-select: none;
7295
7187
  }
7296
7188
 
7297
- /* Upcoming number is semibold (not bold) per Figma */
7298
- .muka-progress-accordeon__indicator--upcoming .muka-progress-accordeon__number {
7189
+ .muka-progress-tracker--horizontal .muka-progress-tracker__indicator--upcoming .muka-progress-tracker__number {
7190
+ font-family: var(--text-label-md-bold-fontFamily);
7191
+ font-weight: var(--text-label-md-bold-fontWeight);
7192
+ }
7193
+
7194
+ .muka-progress-tracker--vertical .muka-progress-tracker__indicator--upcoming .muka-progress-tracker__number {
7299
7195
  font-family: var(--text-label-md-semibold-fontFamily);
7300
7196
  font-weight: var(--text-label-md-semibold-fontWeight);
7197
+ font-size: var(--text-label-md-semibold-fontSize);
7198
+ line-height: var(--text-label-md-semibold-lineHeight);
7301
7199
  }
7302
7200
 
7303
- /* ─── Heading (responsive: heading/md on wide, heading/sm on narrow) ─────── */
7304
- .muka-progress-accordeon__heading {
7305
- flex: 1 0 0;
7306
- min-width: 0;
7307
- margin: 0;
7308
- font-family: var(--text-heading-md-fontFamily);
7309
- font-weight: var(--text-heading-md-fontWeight);
7310
- font-size: var(--text-heading-md-fontSize);
7311
- line-height: var(--text-heading-md-lineHeight);
7312
- letter-spacing: var(--text-heading-md-letterSpacing);
7313
- color: var(--color-text-default-default);
7201
+ /* ─── Checkmark icon ────────────────────────────────────── */
7202
+ .muka-progress-tracker__check-icon {
7203
+ width: 20px;
7204
+ height: 20px;
7314
7205
  }
7315
7206
 
7316
- /* ─── Description ────────────────────────────────────────── */
7317
- /* Indented 48px (32px indicator + 16px gap) to align under the heading text */
7318
- .muka-progress-accordeon__description {
7319
- width: 100%;
7320
- padding-left: 48px;
7321
- font-family: var(--text-body-base-regular-fontFamily);
7322
- font-weight: var(--text-body-base-regular-fontWeight);
7323
- font-size: var(--text-body-base-regular-fontSize);
7324
- line-height: var(--text-body-base-regular-lineHeight);
7207
+ /* Past checkmark uses inverse foreground, matching the active step number.
7208
+ Scoped under the indicator to override the Icon component's default color. */
7209
+ .muka-progress-tracker__indicator--past .muka-progress-tracker__check-icon {
7210
+ color: var(--color-text-default-inverse);
7211
+ }
7212
+
7213
+ /* ─── Step label — horizontal ───────────────────────────── */
7214
+ .muka-progress-tracker--horizontal .muka-progress-tracker__label {
7215
+ position: absolute;
7216
+ top: 39px;
7217
+ left: 50%;
7218
+ transform: translateX(-50%);
7219
+ font-family: var(--text-label-sm-regular-fontFamily);
7220
+ font-weight: var(--text-label-sm-regular-fontWeight);
7221
+ font-size: var(--text-label-sm-regular-fontSize);
7222
+ line-height: var(--text-label-sm-regular-lineHeight);
7325
7223
  color: var(--color-text-default-default);
7224
+ text-align: center;
7225
+ max-width: 120px;
7226
+ white-space: nowrap;
7227
+ overflow: hidden;
7228
+ text-overflow: ellipsis;
7326
7229
  }
7327
7230
 
7328
- /* ─── Edit button ────────────────────────────────────────── */
7329
- .muka-progress-accordeon__edit {
7330
- flex-shrink: 0;
7231
+ /* Current step label is bold (horizontal only) */
7232
+ .muka-progress-tracker--horizontal .muka-progress-tracker__label--current {
7233
+ font-family: var(--text-label-sm-bold-fontFamily);
7234
+ font-weight: var(--text-label-sm-bold-fontWeight);
7331
7235
  }
7332
7236
 
7333
- /* Wide container shows the labelled button; the icon-only one is hidden */
7334
- .muka-progress-accordeon__edit--narrow {
7335
- display: none;
7237
+ /* Selected step: a pill behind the label (horizontal), matching the vertical
7238
+ selected pill's surface. The label stays centred under its indicator. */
7239
+ .muka-progress-tracker--horizontal .muka-progress-tracker__step[data-selected='true'] .muka-progress-tracker__label {
7240
+ padding: 0 var(--spacing-2);
7241
+ border-radius: var(--border-radius-full);
7242
+ background-color: var(--color-surface-level1);
7243
+ max-width: calc(120px + 2 * var(--spacing-2));
7336
7244
  }
7337
7245
 
7338
- /* ─── Content slot ───────────────────────────────────────── */
7339
- .muka-progress-accordeon__slot {
7246
+ /* ─── Connectors layer (behind indicators) — horizontal ─── */
7247
+ .muka-progress-tracker--horizontal .muka-progress-tracker__connectors {
7340
7248
  display: flex;
7341
- flex-direction: column;
7342
- align-items: stretch;
7343
- width: 100%;
7249
+ align-items: center;
7250
+ /* Horizontal padding = indicator radius (32/2 = 16px) so lines meet circle centers */
7251
+ padding-left: var(--spacing-4);
7252
+ padding-right: var(--spacing-4);
7253
+ position: relative;
7254
+ z-index: 1;
7344
7255
  }
7345
7256
 
7346
- /* ─── Collapse/expand animation (any expandable step) ──────
7347
- Animates grid-template-rows 1fr ↔ 0fr so the panel (slot + actions) grows and
7348
- shrinks to its intrinsic height. Opacity fades with the same duration.
7349
- Under prefers-reduced-motion, --motion-duration-view is 0ms. */
7350
- .muka-progress-accordeon__panel-wrapper {
7351
- display: grid;
7352
- grid-template-rows: 1fr;
7353
- opacity: 1;
7354
- transition:
7355
- grid-template-rows var(--motion-duration-view) var(--motion-easing-enter),
7356
- opacity var(--motion-duration-view) var(--motion-easing-enter);
7257
+ /* Rounder, bar, rounder in a row. Chromium treats a negative gap as invalid,
7258
+ so the overlap is margins: the bar runs 2px under each circle. */
7259
+ .muka-progress-tracker--horizontal .muka-progress-tracker__connector {
7260
+ display: flex;
7261
+ flex-direction: row;
7262
+ align-items: center;
7263
+ flex: 1 0 0;
7264
+ height: 4px;
7265
+ min-width: 1px;
7266
+ position: relative;
7267
+ overflow: visible;
7268
+ background: none;
7357
7269
  }
7358
7270
 
7359
- .muka-progress-accordeon__panel-wrapper--collapsed {
7360
- grid-template-rows: 0fr;
7361
- opacity: 0;
7362
- transition:
7363
- grid-template-rows var(--motion-duration-view) var(--motion-easing-exit),
7364
- opacity calc(var(--motion-duration-view) * 0.6) var(--motion-easing-exit);
7271
+ .muka-progress-tracker--horizontal .muka-progress-tracker__connector-line {
7272
+ flex: 1 1 auto;
7273
+ height: 4px;
7274
+ min-width: 1px;
7365
7275
  }
7366
7276
 
7367
- /* The direct grid child clips and must have NO padding/border of its own —
7368
- min-height:0 lets it shrink, and with no padding the 0fr track reaches a true
7369
- 0 height (padding on the item would leave a residual gap when collapsed). */
7370
- .muka-progress-accordeon__panel-clip {
7371
- overflow: hidden;
7372
- min-height: 0;
7277
+ .muka-progress-tracker--horizontal .muka-progress-tracker__connector--past .muka-progress-tracker__connector-line {
7278
+ background-color: var(--alias-color-accent-contrast);
7373
7279
  }
7374
7280
 
7375
- /* Header↔content spacing + slot/actions gap live inside the clip so they
7376
- collapse together with the panel. */
7377
- .muka-progress-accordeon__panel {
7378
- display: flex;
7379
- flex-direction: column;
7380
- align-items: stretch;
7381
- gap: var(--spacing-6);
7382
- padding-top: var(--spacing-4);
7383
- width: 100%;
7281
+ .muka-progress-tracker--horizontal .muka-progress-tracker__connector--current .muka-progress-tracker__connector-line {
7282
+ background: linear-gradient(
7283
+ to right,
7284
+ var(--alias-color-accent-contrast) 0%,
7285
+ var(--alias-color-accent-default) 100%
7286
+ );
7384
7287
  }
7385
7288
 
7386
- /* ─── Action buttons (current state) ─────────────────────── */
7387
- .muka-progress-accordeon__actions {
7388
- display: flex;
7389
- justify-content: flex-end;
7390
- gap: var(--spacing-4);
7391
- width: 100%;
7289
+ .muka-progress-tracker--horizontal .muka-progress-tracker__connector--current-right .muka-progress-tracker__connector-line {
7290
+ background: linear-gradient(
7291
+ to right,
7292
+ var(--alias-color-accent-default) 0%,
7293
+ var(--alias-color-accent-default) 15%,
7294
+ var(--color-surface-sunken) 50%
7295
+ );
7392
7296
  }
7393
7297
 
7394
- .muka-progress-accordeon__action {
7395
- min-width: 160px;
7298
+ .muka-progress-tracker--horizontal .muka-progress-tracker__connector--upcoming .muka-progress-tracker__connector-line {
7299
+ background-color: var(--color-surface-sunken);
7396
7300
  }
7397
7301
 
7398
- /* ─── Divider ────────────────────────────────────────────── */
7399
- .muka-progress-accordeon__divider {
7400
- width: 100%;
7302
+ /* Past: solid dark line (vertical; horizontal uses the inner line) */
7303
+ .muka-progress-tracker__connector--past {
7304
+ background-color: var(--alias-color-accent-contrast);
7401
7305
  }
7402
7306
 
7403
- /* ─── Responsive (narrow container) ──────────────────────── */
7404
- @container (max-width: 480px) {
7405
- /* Heading steps down to heading/sm. The 24px line-height is shorter than the
7406
- 32px step indicator, so nudge the text down to keep a single line centred. */
7407
- .muka-progress-accordeon__heading {
7408
- font-size: var(--text-heading-sm-fontSize);
7409
- line-height: var(--text-heading-sm-lineHeight);
7410
- padding-top: var(--spacing-1);
7411
- }
7412
-
7413
- /* Edit button swaps to the icon-only variant */
7414
- .muka-progress-accordeon__edit--wide {
7415
- display: none;
7416
- }
7417
-
7418
- .muka-progress-accordeon__edit--narrow {
7419
- display: inline-flex;
7420
- }
7421
-
7422
- /* Action buttons stretch to fill the row */
7423
- .muka-progress-accordeon__actions {
7424
- justify-content: stretch;
7425
- }
7426
-
7427
- .muka-progress-accordeon__action {
7428
- flex: 1 0 0;
7429
- min-width: 0;
7430
- }
7307
+ /* Upcoming: solid gray line */
7308
+ .muka-progress-tracker__connector--upcoming {
7309
+ background-color: var(--color-surface-sunken);
7431
7310
  }
7432
7311
 
7312
+ /* ═══════════════════════════════════════════════════════════
7313
+ Vertical orientation
7314
+ ═══════════════════════════════════════════════════════════ */
7433
7315
 
7434
- /* ProgressTracker */
7435
- /* ProgressTracker Component Styles — Using Muka Design Tokens */
7436
-
7437
- /* ─── Root ──────────────────────────────────────────────── */
7438
- .muka-progress-tracker {
7316
+ .muka-progress-tracker--vertical .muka-progress-tracker__track {
7317
+ display: flex;
7318
+ flex-direction: column;
7319
+ align-items: stretch;
7320
+ gap: var(--spacing-6);
7439
7321
  width: 100%;
7440
7322
  }
7441
7323
 
7442
- .muka-progress-tracker--horizontal {
7443
- padding-bottom: var(--spacing-7);
7444
- }
7445
-
7446
- /* Scrollable: the root scrolls sideways when the steps don't fit. The inline
7447
- padding leaves room for the first and last labels, which hang past their
7448
- indicators; the scrollbar stays hidden (touch and trackpad still scroll). */
7449
- .muka-progress-tracker--scrollable {
7450
- overflow-x: auto;
7451
- overflow-y: hidden;
7452
- -webkit-overflow-scrolling: touch;
7453
- scrollbar-width: none;
7454
- padding-inline: var(--spacing-12);
7455
- box-sizing: border-box;
7456
- }
7457
-
7458
- .muka-progress-tracker--scrollable::-webkit-scrollbar {
7459
- display: none;
7324
+ .muka-progress-tracker--vertical .muka-progress-tracker__step {
7325
+ display: flex;
7326
+ flex-direction: row;
7327
+ align-items: flex-start;
7328
+ gap: var(--spacing-3);
7329
+ padding-right: var(--spacing-1);
7330
+ position: relative;
7331
+ width: 100%;
7332
+ min-height: 32px;
7460
7333
  }
7461
7334
 
7462
- /* ─── Track (layered container) ─────────────────────────── */
7463
- .muka-progress-tracker--horizontal .muka-progress-tracker__track {
7464
- position: relative;
7465
- /* Vertical padding = (indicator size - connector height) / 2 = (32 - 4) / 2 = 14px */
7466
- padding-top: 14px;
7467
- padding-bottom: 14px;
7335
+ .muka-progress-tracker--vertical .muka-progress-tracker__step--interactive {
7336
+ cursor: pointer;
7468
7337
  }
7469
7338
 
7470
- /* ─── Steps layer (on top) — horizontal ─────────────────── */
7471
- .muka-progress-tracker--horizontal .muka-progress-tracker__steps {
7472
- position: absolute;
7473
- inset: 0;
7474
- display: flex;
7475
- align-items: flex-start;
7476
- justify-content: space-between;
7477
- z-index: 2;
7339
+ .muka-progress-tracker--vertical .muka-progress-tracker__step--interactive:focus-visible {
7340
+ outline: 2px solid var(--color-border-focus);
7341
+ outline-offset: 4px;
7342
+ border-radius: 20px;
7478
7343
  }
7479
7344
 
7480
- /* ─── Individual step — horizontal ──────────────────────── */
7481
- .muka-progress-tracker--horizontal .muka-progress-tracker__step {
7345
+ /* Indicator column: circle only; connector is absolutely positioned on the step */
7346
+ .muka-progress-tracker--vertical .muka-progress-tracker__indicator-col {
7482
7347
  display: flex;
7483
7348
  flex-direction: column;
7484
7349
  align-items: center;
7350
+ flex-shrink: 0;
7485
7351
  position: relative;
7486
- /* Labels are absolutely positioned so the step stays 32px and
7487
- circle centers line up with the connector padding. */
7488
7352
  width: 32px;
7489
- flex: 0 0 32px;
7353
+ z-index: 1;
7490
7354
  }
7491
7355
 
7492
- /* ─── Step indicator (circle) ───────────────────────────── */
7493
- .muka-progress-tracker__indicator {
7494
- width: 32px;
7495
- height: 32px;
7496
- border-radius: var(--border-radius-full);
7497
- display: flex;
7498
- align-items: center;
7499
- justify-content: center;
7500
- flex-shrink: 0;
7501
- position: relative;
7502
- z-index: 1;
7356
+ /* Vertical connector: from mid-indicator through gap to next mid-indicator */
7357
+ .muka-progress-tracker--vertical .muka-progress-tracker__connector {
7358
+ position: absolute;
7359
+ left: 14px; /* (32px indicator - 4px line) / 2 */
7360
+ top: 16px;
7361
+ /* Through track gap (spacing-6) into the next indicator's top half */
7362
+ bottom: calc(-1 * var(--spacing-6) - 16px);
7363
+ width: 4px;
7364
+ z-index: 0;
7365
+ overflow: visible;
7503
7366
  }
7504
7367
 
7505
- /* Past: dark accent contrast circle with white checkmark */
7506
- .muka-progress-tracker__indicator--past {
7507
- background-color: var(--alias-color-accent-contrast);
7508
- color: var(--color-text-default-inverse);
7368
+ /* Divider rounders: circle bleeds into the connector (Figma Divider Rounder) */
7369
+ .muka-progress-tracker__rounder {
7370
+ position: absolute;
7371
+ display: block;
7372
+ pointer-events: none;
7373
+ overflow: visible;
7509
7374
  }
7510
7375
 
7511
- .muka-progress-tracker--horizontal .muka-progress-tracker__indicator--interactive {
7512
- cursor: pointer;
7376
+ .muka-progress-tracker__rounder--past {
7377
+ color: var(--alias-color-accent-contrast);
7513
7378
  }
7514
7379
 
7515
- .muka-progress-tracker--horizontal .muka-progress-tracker__indicator--interactive:focus-visible {
7516
- outline: 2px solid var(--color-border-focus);
7517
- outline-offset: 2px;
7380
+ .muka-progress-tracker__rounder--current {
7381
+ color: var(--alias-color-accent-default);
7518
7382
  }
7519
7383
 
7520
- .muka-progress-tracker--horizontal .muka-progress-tracker__indicator--past.muka-progress-tracker__indicator--interactive:hover {
7521
- background-color: var(--alias-color-accent-pressed);
7384
+ .muka-progress-tracker__rounder--upcoming {
7385
+ color: var(--color-surface-sunken);
7522
7386
  }
7523
7387
 
7524
- .muka-progress-tracker--horizontal .muka-progress-tracker__indicator--current.muka-progress-tracker__indicator--interactive:hover {
7525
- background-color: var(--alias-color-accent-hover);
7526
- }
7527
-
7528
- /* Upcoming (clickableSteps="all"): a 4px halo, the vertical hover's 40px circle */
7529
- .muka-progress-tracker--horizontal .muka-progress-tracker__indicator--upcoming.muka-progress-tracker__indicator--interactive:hover {
7530
- box-shadow: 0 0 0 4px var(--color-surface-level1);
7531
- }
7532
-
7533
- /* Current: accent default circle with white number */
7534
- .muka-progress-tracker__indicator--current {
7535
- background-color: var(--alias-color-accent-default);
7536
- color: var(--color-text-default-inverse);
7537
- }
7538
-
7539
- /* Upcoming: sunken/gray circle with dark number */
7540
- .muka-progress-tracker__indicator--upcoming {
7541
- background-color: var(--color-surface-sunken);
7542
- color: var(--color-text-default-default);
7543
- }
7544
-
7545
- /* ─── Step number text ──────────────────────────────────── */
7546
- .muka-progress-tracker__number {
7547
- font-family: var(--text-label-md-bold-fontFamily);
7548
- font-weight: var(--text-label-md-bold-fontWeight);
7549
- font-size: var(--text-label-md-bold-fontSize);
7550
- line-height: var(--text-label-md-bold-lineHeight);
7551
- text-align: center;
7552
- user-select: none;
7553
- }
7554
-
7555
- .muka-progress-tracker--horizontal .muka-progress-tracker__indicator--upcoming .muka-progress-tracker__number {
7556
- font-family: var(--text-label-md-bold-fontFamily);
7557
- font-weight: var(--text-label-md-bold-fontWeight);
7558
- }
7559
-
7560
- .muka-progress-tracker--vertical .muka-progress-tracker__indicator--upcoming .muka-progress-tracker__number {
7561
- font-family: var(--text-label-md-semibold-fontFamily);
7562
- font-weight: var(--text-label-md-semibold-fontWeight);
7563
- font-size: var(--text-label-md-semibold-fontSize);
7564
- line-height: var(--text-label-md-semibold-lineHeight);
7565
- }
7566
-
7567
- /* ─── Checkmark icon ────────────────────────────────────── */
7568
- .muka-progress-tracker__check-icon {
7569
- width: 20px;
7570
- height: 20px;
7571
- }
7572
-
7573
- /* Past checkmark uses inverse foreground, matching the active step number.
7574
- Scoped under the indicator to override the Icon component's default color. */
7575
- .muka-progress-tracker__indicator--past .muka-progress-tracker__check-icon {
7576
- color: var(--color-text-default-inverse);
7577
- }
7578
-
7579
- /* ─── Step label — horizontal ───────────────────────────── */
7580
- .muka-progress-tracker--horizontal .muka-progress-tracker__label {
7581
- position: absolute;
7582
- top: 39px;
7583
- left: 50%;
7584
- transform: translateX(-50%);
7585
- font-family: var(--text-label-sm-regular-fontFamily);
7586
- font-weight: var(--text-label-sm-regular-fontWeight);
7587
- font-size: var(--text-label-sm-regular-fontSize);
7588
- line-height: var(--text-label-sm-regular-lineHeight);
7589
- color: var(--color-text-default-default);
7590
- text-align: center;
7591
- max-width: 120px;
7592
- white-space: nowrap;
7593
- overflow: hidden;
7594
- text-overflow: ellipsis;
7595
- }
7596
-
7597
- /* Current step label is bold (horizontal only) */
7598
- .muka-progress-tracker--horizontal .muka-progress-tracker__label--current {
7599
- font-family: var(--text-label-sm-bold-fontFamily);
7600
- font-weight: var(--text-label-sm-bold-fontWeight);
7601
- }
7602
-
7603
- /* Selected step: a pill behind the label (horizontal), matching the vertical
7604
- selected pill's surface. The label stays centred under its indicator. */
7605
- .muka-progress-tracker--horizontal .muka-progress-tracker__step[data-selected='true'] .muka-progress-tracker__label {
7606
- padding: 0 var(--spacing-2);
7607
- border-radius: var(--border-radius-full);
7608
- background-color: var(--color-surface-level1);
7609
- max-width: calc(120px + 2 * var(--spacing-2));
7610
- }
7611
-
7612
- /* ─── Connectors layer (behind indicators) — horizontal ─── */
7613
- .muka-progress-tracker--horizontal .muka-progress-tracker__connectors {
7614
- display: flex;
7615
- align-items: center;
7616
- /* Horizontal padding = indicator radius (32/2 = 16px) so lines meet circle centers */
7617
- padding-left: var(--spacing-4);
7618
- padding-right: var(--spacing-4);
7619
- position: relative;
7620
- z-index: 1;
7621
- }
7622
-
7623
- /* Rounder, bar, rounder in a row. Chromium treats a negative gap as invalid,
7624
- so the overlap is margins: the bar runs 2px under each circle. */
7625
- .muka-progress-tracker--horizontal .muka-progress-tracker__connector {
7626
- display: flex;
7627
- flex-direction: row;
7628
- align-items: center;
7629
- flex: 1 0 0;
7630
- height: 4px;
7631
- min-width: 1px;
7632
- position: relative;
7633
- overflow: visible;
7634
- background: none;
7635
- }
7636
-
7637
- .muka-progress-tracker--horizontal .muka-progress-tracker__connector-line {
7638
- flex: 1 1 auto;
7639
- height: 4px;
7640
- min-width: 1px;
7641
- }
7642
-
7643
- .muka-progress-tracker--horizontal .muka-progress-tracker__connector--past .muka-progress-tracker__connector-line {
7644
- background-color: var(--alias-color-accent-contrast);
7645
- }
7646
-
7647
- .muka-progress-tracker--horizontal .muka-progress-tracker__connector--current .muka-progress-tracker__connector-line {
7648
- background: linear-gradient(
7649
- to right,
7650
- var(--alias-color-accent-contrast) 0%,
7651
- var(--alias-color-accent-default) 100%
7652
- );
7653
- }
7654
-
7655
- .muka-progress-tracker--horizontal .muka-progress-tracker__connector--current-right .muka-progress-tracker__connector-line {
7656
- background: linear-gradient(
7657
- to right,
7658
- var(--alias-color-accent-default) 0%,
7659
- var(--alias-color-accent-default) 15%,
7660
- var(--color-surface-sunken) 50%
7661
- );
7662
- }
7663
-
7664
- .muka-progress-tracker--horizontal .muka-progress-tracker__connector--upcoming .muka-progress-tracker__connector-line {
7665
- background-color: var(--color-surface-sunken);
7666
- }
7667
-
7668
- /* Past: solid dark line (vertical; horizontal uses the inner line) */
7669
- .muka-progress-tracker__connector--past {
7670
- background-color: var(--alias-color-accent-contrast);
7671
- }
7672
-
7673
- /* Upcoming: solid gray line */
7674
- .muka-progress-tracker__connector--upcoming {
7675
- background-color: var(--color-surface-sunken);
7676
- }
7677
-
7678
- /* ═══════════════════════════════════════════════════════════
7679
- Vertical orientation
7680
- ═══════════════════════════════════════════════════════════ */
7681
-
7682
- .muka-progress-tracker--vertical .muka-progress-tracker__track {
7683
- display: flex;
7684
- flex-direction: column;
7685
- align-items: stretch;
7686
- gap: var(--spacing-6);
7687
- width: 100%;
7688
- }
7689
-
7690
- .muka-progress-tracker--vertical .muka-progress-tracker__step {
7691
- display: flex;
7692
- flex-direction: row;
7693
- align-items: flex-start;
7694
- gap: var(--spacing-3);
7695
- padding-right: var(--spacing-1);
7696
- position: relative;
7697
- width: 100%;
7698
- min-height: 32px;
7699
- }
7700
-
7701
- .muka-progress-tracker--vertical .muka-progress-tracker__step--interactive {
7702
- cursor: pointer;
7703
- }
7704
-
7705
- .muka-progress-tracker--vertical .muka-progress-tracker__step--interactive:focus-visible {
7706
- outline: 2px solid var(--color-border-focus);
7707
- outline-offset: 4px;
7708
- border-radius: 20px;
7709
- }
7710
-
7711
- /* Indicator column: circle only; connector is absolutely positioned on the step */
7712
- .muka-progress-tracker--vertical .muka-progress-tracker__indicator-col {
7713
- display: flex;
7714
- flex-direction: column;
7715
- align-items: center;
7716
- flex-shrink: 0;
7717
- position: relative;
7718
- width: 32px;
7719
- z-index: 1;
7720
- }
7721
-
7722
- /* Vertical connector: from mid-indicator through gap to next mid-indicator */
7723
- .muka-progress-tracker--vertical .muka-progress-tracker__connector {
7724
- position: absolute;
7725
- left: 14px; /* (32px indicator - 4px line) / 2 */
7726
- top: 16px;
7727
- /* Through track gap (spacing-6) into the next indicator's top half */
7728
- bottom: calc(-1 * var(--spacing-6) - 16px);
7729
- width: 4px;
7730
- z-index: 0;
7731
- overflow: visible;
7732
- }
7733
-
7734
- /* Divider rounders: circle bleeds into the connector (Figma Divider Rounder) */
7735
- .muka-progress-tracker__rounder {
7736
- position: absolute;
7737
- display: block;
7738
- pointer-events: none;
7739
- overflow: visible;
7740
- }
7741
-
7742
- .muka-progress-tracker__rounder--past {
7743
- color: var(--alias-color-accent-contrast);
7744
- }
7745
-
7746
- .muka-progress-tracker__rounder--current {
7747
- color: var(--alias-color-accent-default);
7748
- }
7749
-
7750
- .muka-progress-tracker__rounder--upcoming {
7751
- color: var(--color-surface-sunken);
7752
- }
7753
-
7754
- .muka-progress-tracker--horizontal .muka-progress-tracker__rounder {
7755
- position: relative;
7756
- z-index: 1;
7757
- flex-shrink: 0;
7758
- top: auto;
7759
- right: auto;
7760
- bottom: auto;
7761
- left: auto;
7762
- transform: none;
7388
+ .muka-progress-tracker--horizontal .muka-progress-tracker__rounder {
7389
+ position: relative;
7390
+ z-index: 1;
7391
+ flex-shrink: 0;
7392
+ top: auto;
7393
+ right: auto;
7394
+ bottom: auto;
7395
+ left: auto;
7396
+ transform: none;
7763
7397
  }
7764
7398
 
7765
7399
  .muka-progress-tracker--horizontal .muka-progress-tracker__rounder--start {
@@ -7995,178 +7629,436 @@ button.muka-progress-tracker__tab:focus-visible {
7995
7629
  }
7996
7630
 
7997
7631
 
7998
- /* Progress */
7999
- /* Progress Component Styles - Using Muka Design Tokens */
8000
-
8001
- /* ========================================
8002
- BAR VARIANT
8003
- ======================================== */
7632
+ /* ProgressAccordeon */
7633
+ /* ProgressAccordeon Component Styles — Using Muka Design Tokens */
8004
7634
 
8005
- .muka-progress--bar {
7635
+ /* ─── Root ──────────────────────────────────────────────── */
7636
+ .muka-progress-accordeon {
7637
+ container-type: inline-size;
8006
7638
  display: flex;
8007
- align-items: center;
8008
- gap: var(--spacing-2);
7639
+ flex-direction: column;
7640
+ align-items: stretch;
8009
7641
  width: 100%;
7642
+ /* Top padding provides the vertical rhythm between stacked steps */
7643
+ padding-top: var(--spacing-8);
8010
7644
  }
8011
7645
 
8012
- .muka-progress--bar .muka-progress__track {
8013
- flex: 1;
8014
- background-color: var(--color-surface-level1);
8015
- border-radius: var(--border-radius-full);
8016
- overflow: hidden;
7646
+ /* Per-state gap: content-bearing steps are tighter, header-only steps looser */
7647
+ .muka-progress-accordeon--current,
7648
+ .muka-progress-accordeon--current.muka-progress-accordeon--expanded,
7649
+ .muka-progress-accordeon--past.muka-progress-accordeon--expanded,
7650
+ .muka-progress-accordeon--upcoming.muka-progress-accordeon--expanded {
7651
+ gap: var(--spacing-6);
8017
7652
  }
8018
7653
 
8019
- .muka-progress--bar.muka-progress--sm .muka-progress__track {
8020
- height: var(--progress-size-bar-height-sm);
7654
+ .muka-progress-accordeon--upcoming,
7655
+ .muka-progress-accordeon--past.muka-progress-accordeon--collapsed,
7656
+ .muka-progress-accordeon--upcoming.muka-progress-accordeon--collapsed,
7657
+ .muka-progress-accordeon--current.muka-progress-accordeon--collapsed {
7658
+ gap: var(--spacing-8);
8021
7659
  }
8022
7660
 
8023
- .muka-progress--bar.muka-progress--md .muka-progress__track {
8024
- height: var(--progress-size-bar-height-md);
7661
+ /* Collapsible steps group header + slot. The header↔content gap lives inside the
7662
+ collapsing slot (as padding-top) so it collapses with the content, so the
7663
+ body gap itself is 0. */
7664
+ .muka-progress-accordeon__body {
7665
+ display: flex;
7666
+ flex-direction: column;
7667
+ gap: 0;
7668
+ width: 100%;
8025
7669
  }
8026
7670
 
8027
- .muka-progress--bar.muka-progress--lg .muka-progress__track {
8028
- height: var(--progress-size-bar-height-lg);
7671
+ /* ─── Header ─────────────────────────────────────────────── */
7672
+ .muka-progress-accordeon__header {
7673
+ display: flex;
7674
+ flex-direction: column;
7675
+ gap: var(--spacing-3);
7676
+ width: 100%;
8029
7677
  }
8030
7678
 
8031
- .muka-progress--bar .muka-progress__fill {
8032
- height: 100%;
8033
- background-color: var(--color-action-default);
8034
- border-radius: var(--border-radius-full);
8035
- transition: width 0.3s ease;
7679
+ .muka-progress-accordeon__header-row {
7680
+ display: flex;
7681
+ align-items: flex-start;
7682
+ gap: var(--spacing-3);
7683
+ width: 100%;
7684
+ min-height: 40px;
8036
7685
  }
8037
7686
 
8038
- .muka-progress--bar .muka-progress__label {
8039
- flex-shrink: 0;
8040
- font-family: var(--text-label-sm-semibold-fontFamily);
8041
- font-weight: var(--text-label-sm-semibold-fontWeight);
8042
- font-size: var(--text-label-sm-semibold-fontSize);
8043
- line-height: var(--text-label-sm-semibold-lineHeight);
8044
- color: var(--color-text-default-default);
8045
- min-width: 3ch;
8046
- text-align: right;
7687
+ .muka-progress-accordeon__heading-group {
7688
+ display: flex;
7689
+ flex: 1 0 0;
7690
+ min-width: 0;
7691
+ align-items: flex-start;
7692
+ gap: var(--spacing-4);
8047
7693
  }
8048
7694
 
8049
- /* Indeterminate animation for bar */
8050
- .muka-progress--bar.muka-progress--indeterminate .muka-progress__fill {
8051
- width: 40%;
8052
- animation: muka-progress-bar-indeterminate 1.5s ease-in-out infinite;
7695
+ /* Steps with header controls (edit / chevron) are 40px tall; nudge the heading
7696
+ so a single line centres against the indicator + controls row. */
7697
+ .muka-progress-accordeon:has(.muka-progress-accordeon__controls)
7698
+ .muka-progress-accordeon__heading-group {
7699
+ padding-top: var(--spacing-1);
8053
7700
  }
8054
7701
 
8055
- @keyframes muka-progress-bar-indeterminate {
8056
- 0% {
8057
- transform: translateX(-100%);
8058
- }
8059
- 100% {
8060
- transform: translateX(250%);
8061
- }
7702
+ .muka-progress-accordeon__controls {
7703
+ display: flex;
7704
+ flex-shrink: 0;
7705
+ align-items: center;
7706
+ gap: var(--spacing-3);
8062
7707
  }
8063
7708
 
8064
- /* ========================================
8065
- CIRCLE VARIANT
8066
- ======================================== */
8067
-
8068
- .muka-progress--circle {
8069
- position: relative;
8070
- display: inline-flex;
7709
+ /* ─── Step indicator (circle) ───────────────────────────── */
7710
+ .muka-progress-accordeon__indicator {
7711
+ width: 32px;
7712
+ height: 32px;
7713
+ flex-shrink: 0;
7714
+ border-radius: var(--border-radius-full);
7715
+ display: flex;
8071
7716
  align-items: center;
8072
7717
  justify-content: center;
8073
7718
  }
8074
7719
 
8075
- .muka-progress--circle.muka-progress--sm {
8076
- width: var(--progress-size-circle-diameter-sm);
8077
- height: var(--progress-size-circle-diameter-sm);
7720
+ /* Past: dark accent-contrast circle with inverse checkmark */
7721
+ .muka-progress-accordeon__indicator--past {
7722
+ background-color: var(--alias-color-accent-contrast);
7723
+ color: var(--color-text-default-inverse);
8078
7724
  }
8079
7725
 
8080
- .muka-progress--circle.muka-progress--md {
8081
- width: var(--progress-size-circle-diameter-md);
8082
- height: var(--progress-size-circle-diameter-md);
7726
+ /* Current: accent circle with inverse bold number */
7727
+ .muka-progress-accordeon__indicator--current {
7728
+ background-color: var(--alias-color-accent-default);
7729
+ color: var(--color-text-default-inverse);
8083
7730
  }
8084
7731
 
8085
- .muka-progress--circle.muka-progress--lg {
8086
- width: var(--progress-size-circle-diameter-lg);
8087
- height: var(--progress-size-circle-diameter-lg);
7732
+ /* Upcoming: sunken/muted circle with default-color number */
7733
+ .muka-progress-accordeon__indicator--upcoming {
7734
+ background-color: var(--color-surface-sunken);
7735
+ color: var(--color-text-default-default);
8088
7736
  }
8089
7737
 
8090
- .muka-progress__circle {
8091
- width: 100%;
8092
- height: 100%;
8093
- transform: rotate(-90deg);
7738
+ .muka-progress-accordeon__check-icon {
7739
+ width: 20px;
7740
+ height: 20px;
7741
+ color: var(--color-text-default-inverse);
8094
7742
  }
8095
7743
 
8096
- .muka-progress--circle .muka-progress__track {
8097
- fill: none;
8098
- stroke: var(--color-surface-level1);
7744
+ .muka-progress-accordeon__number {
7745
+ font-family: var(--text-label-md-bold-fontFamily);
7746
+ font-weight: var(--text-label-md-bold-fontWeight);
7747
+ font-size: var(--text-label-md-bold-fontSize);
7748
+ line-height: var(--text-label-md-bold-lineHeight);
7749
+ text-align: center;
7750
+ user-select: none;
8099
7751
  }
8100
7752
 
8101
- .muka-progress--circle.muka-progress--sm .muka-progress__track,
8102
- .muka-progress--circle.muka-progress--sm .muka-progress__fill {
8103
- stroke-width: var(--progress-size-circle-strokeWidth-sm);
7753
+ /* Upcoming number is semibold (not bold) per Figma */
7754
+ .muka-progress-accordeon__indicator--upcoming .muka-progress-accordeon__number {
7755
+ font-family: var(--text-label-md-semibold-fontFamily);
7756
+ font-weight: var(--text-label-md-semibold-fontWeight);
8104
7757
  }
8105
7758
 
8106
- .muka-progress--circle.muka-progress--md .muka-progress__track,
8107
- .muka-progress--circle.muka-progress--md .muka-progress__fill {
8108
- stroke-width: var(--progress-size-circle-strokeWidth-md);
7759
+ /* ─── Heading (responsive: heading/md on wide, heading/sm on narrow) ─────── */
7760
+ .muka-progress-accordeon__heading {
7761
+ flex: 1 0 0;
7762
+ min-width: 0;
7763
+ margin: 0;
7764
+ font-family: var(--text-heading-md-fontFamily);
7765
+ font-weight: var(--text-heading-md-fontWeight);
7766
+ font-size: var(--text-heading-md-fontSize);
7767
+ line-height: var(--text-heading-md-lineHeight);
7768
+ letter-spacing: var(--text-heading-md-letterSpacing);
7769
+ color: var(--color-text-default-default);
8109
7770
  }
8110
7771
 
8111
- .muka-progress--circle.muka-progress--lg .muka-progress__track,
8112
- .muka-progress--circle.muka-progress--lg .muka-progress__fill {
8113
- stroke-width: var(--progress-size-circle-strokeWidth-lg);
7772
+ /* ─── Description ────────────────────────────────────────── */
7773
+ /* Indented 48px (32px indicator + 16px gap) to align under the heading text */
7774
+ .muka-progress-accordeon__description {
7775
+ width: 100%;
7776
+ padding-left: 48px;
7777
+ font-family: var(--text-body-base-regular-fontFamily);
7778
+ font-weight: var(--text-body-base-regular-fontWeight);
7779
+ font-size: var(--text-body-base-regular-fontSize);
7780
+ line-height: var(--text-body-base-regular-lineHeight);
7781
+ color: var(--color-text-default-default);
8114
7782
  }
8115
7783
 
8116
- .muka-progress--circle .muka-progress__fill {
8117
- fill: none;
8118
- stroke: var(--color-action-default);
8119
- stroke-linecap: round;
8120
- transition: stroke-dashoffset 0.3s ease;
7784
+ /* ─── Edit button ────────────────────────────────────────── */
7785
+ .muka-progress-accordeon__edit {
7786
+ flex-shrink: 0;
8121
7787
  }
8122
7788
 
8123
- .muka-progress--circle .muka-progress__label {
8124
- position: absolute;
8125
- font-family: var(--text-label-sm-semibold-fontFamily);
8126
- font-weight: var(--text-label-sm-semibold-fontWeight);
8127
- color: var(--color-text-default-default);
7789
+ /* Wide container shows the labelled button; the icon-only one is hidden */
7790
+ .muka-progress-accordeon__edit--narrow {
7791
+ display: none;
8128
7792
  }
8129
7793
 
8130
- .muka-progress--circle.muka-progress--sm .muka-progress__label {
8131
- font-size: var(--text-label-sm-semibold-fontSize);
7794
+ /* ─── Content slot ───────────────────────────────────────── */
7795
+ .muka-progress-accordeon__slot {
7796
+ display: flex;
7797
+ flex-direction: column;
7798
+ align-items: stretch;
7799
+ width: 100%;
8132
7800
  }
8133
7801
 
8134
- .muka-progress--circle.muka-progress--md .muka-progress__label {
8135
- font-size: var(--text-label-md-semibold-fontSize);
7802
+ /* ─── Collapse/expand animation (any expandable step) ──────
7803
+ Animates grid-template-rows 1fr ↔ 0fr so the panel (slot + actions) grows and
7804
+ shrinks to its intrinsic height. Opacity fades with the same duration.
7805
+ Under prefers-reduced-motion, --motion-duration-view is 0ms. */
7806
+ .muka-progress-accordeon__panel-wrapper {
7807
+ display: grid;
7808
+ grid-template-rows: 1fr;
7809
+ opacity: 1;
7810
+ transition:
7811
+ grid-template-rows var(--motion-duration-view) var(--motion-easing-enter),
7812
+ opacity var(--motion-duration-view) var(--motion-easing-enter);
8136
7813
  }
8137
7814
 
8138
- .muka-progress--circle.muka-progress--lg .muka-progress__label {
8139
- font-size: var(--text-label-lg-semibold-fontSize);
7815
+ .muka-progress-accordeon__panel-wrapper--collapsed {
7816
+ grid-template-rows: 0fr;
7817
+ opacity: 0;
7818
+ transition:
7819
+ grid-template-rows var(--motion-duration-view) var(--motion-easing-exit),
7820
+ opacity calc(var(--motion-duration-view) * 0.6) var(--motion-easing-exit);
8140
7821
  }
8141
7822
 
8142
- /* Indeterminate animation for circle */
8143
- .muka-progress--circle.muka-progress--indeterminate .muka-progress__circle {
8144
- animation: muka-progress-circle-rotate 2s linear infinite;
7823
+ /* The direct grid child clips and must have NO padding/border of its own —
7824
+ min-height:0 lets it shrink, and with no padding the 0fr track reaches a true
7825
+ 0 height (padding on the item would leave a residual gap when collapsed). */
7826
+ .muka-progress-accordeon__panel-clip {
7827
+ overflow: hidden;
7828
+ min-height: 0;
8145
7829
  }
8146
7830
 
8147
- .muka-progress--circle.muka-progress--indeterminate .muka-progress__fill {
8148
- animation: muka-progress-circle-dash 1.5s ease-in-out infinite;
7831
+ /* Header↔content spacing + slot/actions gap live inside the clip so they
7832
+ collapse together with the panel. */
7833
+ .muka-progress-accordeon__panel {
7834
+ display: flex;
7835
+ flex-direction: column;
7836
+ align-items: stretch;
7837
+ gap: var(--spacing-6);
7838
+ padding-top: var(--spacing-4);
7839
+ width: 100%;
8149
7840
  }
8150
7841
 
8151
- @keyframes muka-progress-circle-rotate {
8152
- 100% {
8153
- transform: rotate(270deg);
8154
- }
7842
+ /* ─── Action buttons (current state) ─────────────────────── */
7843
+ .muka-progress-accordeon__actions {
7844
+ display: flex;
7845
+ justify-content: flex-end;
7846
+ gap: var(--spacing-4);
7847
+ width: 100%;
8155
7848
  }
8156
7849
 
8157
- @keyframes muka-progress-circle-dash {
8158
- 0% {
8159
- stroke-dashoffset: 220;
8160
- }
8161
- 50% {
8162
- stroke-dashoffset: 70;
8163
- }
8164
- 100% {
8165
- stroke-dashoffset: 220;
8166
- }
7850
+ .muka-progress-accordeon__action {
7851
+ min-width: 160px;
8167
7852
  }
8168
7853
 
8169
-
7854
+ /* ─── Divider ────────────────────────────────────────────── */
7855
+ .muka-progress-accordeon__divider {
7856
+ width: 100%;
7857
+ }
7858
+
7859
+ /* ─── Responsive (narrow container) ──────────────────────── */
7860
+ @container (max-width: 480px) {
7861
+ /* Heading steps down to heading/sm. The 24px line-height is shorter than the
7862
+ 32px step indicator, so nudge the text down to keep a single line centred. */
7863
+ .muka-progress-accordeon__heading {
7864
+ font-size: var(--text-heading-sm-fontSize);
7865
+ line-height: var(--text-heading-sm-lineHeight);
7866
+ padding-top: var(--spacing-1);
7867
+ }
7868
+
7869
+ /* Edit button swaps to the icon-only variant */
7870
+ .muka-progress-accordeon__edit--wide {
7871
+ display: none;
7872
+ }
7873
+
7874
+ .muka-progress-accordeon__edit--narrow {
7875
+ display: inline-flex;
7876
+ }
7877
+
7878
+ /* Action buttons stretch to fill the row */
7879
+ .muka-progress-accordeon__actions {
7880
+ justify-content: stretch;
7881
+ }
7882
+
7883
+ .muka-progress-accordeon__action {
7884
+ flex: 1 0 0;
7885
+ min-width: 0;
7886
+ }
7887
+ }
7888
+
7889
+
7890
+ /* Progress */
7891
+ /* Progress Component Styles - Using Muka Design Tokens */
7892
+
7893
+ /* ========================================
7894
+ BAR VARIANT
7895
+ ======================================== */
7896
+
7897
+ .muka-progress--bar {
7898
+ display: flex;
7899
+ align-items: center;
7900
+ gap: var(--spacing-2);
7901
+ width: 100%;
7902
+ }
7903
+
7904
+ .muka-progress--bar .muka-progress__track {
7905
+ flex: 1;
7906
+ background-color: var(--color-surface-level1);
7907
+ border-radius: var(--border-radius-full);
7908
+ overflow: hidden;
7909
+ }
7910
+
7911
+ .muka-progress--bar.muka-progress--sm .muka-progress__track {
7912
+ height: var(--progress-size-bar-height-sm);
7913
+ }
7914
+
7915
+ .muka-progress--bar.muka-progress--md .muka-progress__track {
7916
+ height: var(--progress-size-bar-height-md);
7917
+ }
7918
+
7919
+ .muka-progress--bar.muka-progress--lg .muka-progress__track {
7920
+ height: var(--progress-size-bar-height-lg);
7921
+ }
7922
+
7923
+ .muka-progress--bar .muka-progress__fill {
7924
+ height: 100%;
7925
+ background-color: var(--color-action-default);
7926
+ border-radius: var(--border-radius-full);
7927
+ transition: width 0.3s ease;
7928
+ }
7929
+
7930
+ .muka-progress--bar .muka-progress__label {
7931
+ flex-shrink: 0;
7932
+ font-family: var(--text-label-sm-semibold-fontFamily);
7933
+ font-weight: var(--text-label-sm-semibold-fontWeight);
7934
+ font-size: var(--text-label-sm-semibold-fontSize);
7935
+ line-height: var(--text-label-sm-semibold-lineHeight);
7936
+ color: var(--color-text-default-default);
7937
+ min-width: 3ch;
7938
+ text-align: right;
7939
+ }
7940
+
7941
+ /* Indeterminate animation for bar */
7942
+ .muka-progress--bar.muka-progress--indeterminate .muka-progress__fill {
7943
+ width: 40%;
7944
+ animation: muka-progress-bar-indeterminate 1.5s ease-in-out infinite;
7945
+ }
7946
+
7947
+ @keyframes muka-progress-bar-indeterminate {
7948
+ 0% {
7949
+ transform: translateX(-100%);
7950
+ }
7951
+ 100% {
7952
+ transform: translateX(250%);
7953
+ }
7954
+ }
7955
+
7956
+ /* ========================================
7957
+ CIRCLE VARIANT
7958
+ ======================================== */
7959
+
7960
+ .muka-progress--circle {
7961
+ position: relative;
7962
+ display: inline-flex;
7963
+ align-items: center;
7964
+ justify-content: center;
7965
+ }
7966
+
7967
+ .muka-progress--circle.muka-progress--sm {
7968
+ width: var(--progress-size-circle-diameter-sm);
7969
+ height: var(--progress-size-circle-diameter-sm);
7970
+ }
7971
+
7972
+ .muka-progress--circle.muka-progress--md {
7973
+ width: var(--progress-size-circle-diameter-md);
7974
+ height: var(--progress-size-circle-diameter-md);
7975
+ }
7976
+
7977
+ .muka-progress--circle.muka-progress--lg {
7978
+ width: var(--progress-size-circle-diameter-lg);
7979
+ height: var(--progress-size-circle-diameter-lg);
7980
+ }
7981
+
7982
+ .muka-progress__circle {
7983
+ width: 100%;
7984
+ height: 100%;
7985
+ transform: rotate(-90deg);
7986
+ }
7987
+
7988
+ .muka-progress--circle .muka-progress__track {
7989
+ fill: none;
7990
+ stroke: var(--color-surface-level1);
7991
+ }
7992
+
7993
+ .muka-progress--circle.muka-progress--sm .muka-progress__track,
7994
+ .muka-progress--circle.muka-progress--sm .muka-progress__fill {
7995
+ stroke-width: var(--progress-size-circle-strokeWidth-sm);
7996
+ }
7997
+
7998
+ .muka-progress--circle.muka-progress--md .muka-progress__track,
7999
+ .muka-progress--circle.muka-progress--md .muka-progress__fill {
8000
+ stroke-width: var(--progress-size-circle-strokeWidth-md);
8001
+ }
8002
+
8003
+ .muka-progress--circle.muka-progress--lg .muka-progress__track,
8004
+ .muka-progress--circle.muka-progress--lg .muka-progress__fill {
8005
+ stroke-width: var(--progress-size-circle-strokeWidth-lg);
8006
+ }
8007
+
8008
+ .muka-progress--circle .muka-progress__fill {
8009
+ fill: none;
8010
+ stroke: var(--color-action-default);
8011
+ stroke-linecap: round;
8012
+ transition: stroke-dashoffset 0.3s ease;
8013
+ }
8014
+
8015
+ .muka-progress--circle .muka-progress__label {
8016
+ position: absolute;
8017
+ font-family: var(--text-label-sm-semibold-fontFamily);
8018
+ font-weight: var(--text-label-sm-semibold-fontWeight);
8019
+ color: var(--color-text-default-default);
8020
+ }
8021
+
8022
+ .muka-progress--circle.muka-progress--sm .muka-progress__label {
8023
+ font-size: var(--text-label-sm-semibold-fontSize);
8024
+ }
8025
+
8026
+ .muka-progress--circle.muka-progress--md .muka-progress__label {
8027
+ font-size: var(--text-label-md-semibold-fontSize);
8028
+ }
8029
+
8030
+ .muka-progress--circle.muka-progress--lg .muka-progress__label {
8031
+ font-size: var(--text-label-lg-semibold-fontSize);
8032
+ }
8033
+
8034
+ /* Indeterminate animation for circle */
8035
+ .muka-progress--circle.muka-progress--indeterminate .muka-progress__circle {
8036
+ animation: muka-progress-circle-rotate 2s linear infinite;
8037
+ }
8038
+
8039
+ .muka-progress--circle.muka-progress--indeterminate .muka-progress__fill {
8040
+ animation: muka-progress-circle-dash 1.5s ease-in-out infinite;
8041
+ }
8042
+
8043
+ @keyframes muka-progress-circle-rotate {
8044
+ 100% {
8045
+ transform: rotate(270deg);
8046
+ }
8047
+ }
8048
+
8049
+ @keyframes muka-progress-circle-dash {
8050
+ 0% {
8051
+ stroke-dashoffset: 220;
8052
+ }
8053
+ 50% {
8054
+ stroke-dashoffset: 70;
8055
+ }
8056
+ 100% {
8057
+ stroke-dashoffset: 220;
8058
+ }
8059
+ }
8060
+
8061
+
8170
8062
  /* ProfileBadge */
8171
8063
  /* ProfileBadge Component Styles - Using Muka Design Tokens */
8172
8064
 
@@ -15082,182 +14974,36 @@ button.muka-chat-photo-grid__tile:focus-visible {
15082
14974
  }
15083
14975
 
15084
14976
 
15085
- /* Card */
15086
- /* Card Component Styles - Using Muka Design Tokens */
14977
+ /* ChatAttachmentChip */
14978
+ /* ChatAttachmentChip Component Styles */
15087
14979
 
15088
- .muka-card {
15089
- background-color: var(--card-color-default-background);
15090
- color: var(--card-color-default-foreground);
15091
- border: var(--border-width-regular) solid var(--card-color-default-border);
15092
- box-shadow: var(--card-shadow-default);
15093
- transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
14980
+ .muka-chat-attachment-chip {
14981
+ position: relative;
14982
+ display: inline-flex;
14983
+ align-items: center;
14984
+ gap: var(--spacing-1);
14985
+ max-width: 240px;
14986
+ padding: var(--spacing-2) var(--spacing-3);
14987
+ background-color: var(--color-surface-level1);
14988
+ border: var(--border-width-regular) solid var(--color-border-default);
14989
+ border-radius: var(--radius-md);
15094
14990
  overflow: hidden;
15095
14991
  }
15096
14992
 
15097
- /* Padding variants */
15098
- .muka-card--padding-none {
15099
- padding: 0;
15100
- }
15101
-
15102
- .muka-card--padding-sm {
15103
- padding: var(--card-padding-sm);
15104
- }
15105
-
15106
- .muka-card--padding-md {
15107
- padding: var(--card-padding-md);
14993
+ .muka-chat-attachment-chip--uploading {
14994
+ padding-bottom: calc(var(--spacing-2) + 2px);
15108
14995
  }
15109
14996
 
15110
- .muka-card--padding-lg {
15111
- padding: var(--card-padding-lg);
14997
+ .muka-chat-attachment-chip--error {
14998
+ border-color: var(--color-state-error-default, var(--color-text-default-default));
15112
14999
  }
15113
15000
 
15114
- /* Radius variants */
15115
- .muka-card--radius-sm {
15116
- border-radius: var(--card-radius-sm);
15001
+ .muka-chat-attachment-chip--disabled {
15002
+ opacity: 0.5;
15003
+ pointer-events: none;
15117
15004
  }
15118
15005
 
15119
- .muka-card--radius-md {
15120
- border-radius: var(--card-radius-md);
15121
- }
15122
-
15123
- .muka-card--radius-lg {
15124
- border-radius: var(--card-radius-lg);
15125
- }
15126
-
15127
- /* Interactive variant */
15128
- .muka-card--interactive {
15129
- cursor: pointer;
15130
- user-select: none;
15131
- }
15132
-
15133
- .muka-card--interactive:hover {
15134
- background-color: var(--card-color-hover-background);
15135
- border-color: var(--card-color-hover-border);
15136
- box-shadow: var(--card-shadow-hover);
15137
- }
15138
-
15139
- .muka-card--interactive:active,
15140
- .muka-card--interactive.muka-card--pressed {
15141
- background-color: var(--card-color-pressed-background);
15142
- border-color: var(--card-color-pressed-border);
15143
- box-shadow: var(--card-shadow-pressed);
15144
- }
15145
-
15146
- .muka-card--interactive:focus-visible {
15147
- outline: 2px solid var(--color-border-focus);
15148
- outline-offset: 2px;
15149
- }
15150
-
15151
- /* Selected variant */
15152
- .muka-card--selected {
15153
- background-color: var(--card-color-selected-background);
15154
- border-color: var(--card-color-selected-border);
15155
- border-width: var(--border-width-bold);
15156
- box-shadow: var(--card-shadow-selected);
15157
- }
15158
-
15159
- /* Tone: sticky note (MUK-105) */
15160
- .muka-card--tone-note {
15161
- background-color: var(--card-color-note-background);
15162
- color: var(--card-color-note-foreground);
15163
- border-color: var(--card-color-note-border);
15164
- box-shadow: var(--card-shadow-note);
15165
- }
15166
-
15167
- .muka-card--tone-note.muka-card--interactive:hover,
15168
- .muka-card--tone-note.muka-card--interactive:active,
15169
- .muka-card--tone-note.muka-card--interactive.muka-card--pressed {
15170
- background-color: var(--card-color-note-background);
15171
- border-color: var(--card-color-note-border);
15172
- }
15173
-
15174
- .muka-card--tilt-left {
15175
- transform: rotate(-0.75deg);
15176
- }
15177
-
15178
- .muka-card--tilt-right {
15179
- transform: rotate(0.6deg);
15180
- }
15181
-
15182
- @media (prefers-reduced-motion: no-preference) {
15183
- .muka-card--tilt-left,
15184
- .muka-card--tilt-right {
15185
- transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
15186
- }
15187
- }
15188
-
15189
- .muka-card--interactive.muka-card--tilt-left:hover,
15190
- .muka-card--interactive.muka-card--tilt-right:hover {
15191
- transform: none;
15192
- }
15193
-
15194
- /* Optional header (title + description) */
15195
- .muka-card__header {
15196
- margin-bottom: var(--spacing-4);
15197
- }
15198
-
15199
- .muka-card__title {
15200
- margin: 0;
15201
- color: var(--color-text-default-default);
15202
- font-family: var(--text-heading-xs-fontFamily);
15203
- font-weight: var(--text-heading-xs-fontWeight);
15204
- font-size: var(--text-heading-xs-fontSize);
15205
- line-height: var(--text-heading-xs-lineHeight);
15206
- letter-spacing: var(--text-heading-xs-letterSpacing);
15207
- }
15208
-
15209
- .muka-card__description {
15210
- margin: var(--spacing-1) 0 0;
15211
- color: var(--color-text-subtle-default);
15212
- font-family: var(--text-body-sm-regular-fontFamily);
15213
- font-weight: var(--text-body-sm-regular-fontWeight);
15214
- font-size: var(--text-body-sm-regular-fontSize);
15215
- line-height: var(--text-body-sm-regular-lineHeight);
15216
- }
15217
-
15218
- /* Hide divider on last list item inside card */
15219
- .muka-card > .muka-listitem:last-child > .muka-listitem__divider {
15220
- display: none;
15221
- }
15222
-
15223
- /* Disabled state */
15224
- .muka-card--disabled {
15225
- opacity: 0.5;
15226
- cursor: not-allowed;
15227
- pointer-events: none;
15228
- }
15229
-
15230
-
15231
- /* ChatAttachmentChip */
15232
- /* ChatAttachmentChip Component Styles */
15233
-
15234
- .muka-chat-attachment-chip {
15235
- position: relative;
15236
- display: inline-flex;
15237
- align-items: center;
15238
- gap: var(--spacing-1);
15239
- max-width: 240px;
15240
- padding: var(--spacing-2) var(--spacing-3);
15241
- background-color: var(--color-surface-level1);
15242
- border: var(--border-width-regular) solid var(--color-border-default);
15243
- border-radius: var(--radius-md);
15244
- overflow: hidden;
15245
- }
15246
-
15247
- .muka-chat-attachment-chip--uploading {
15248
- padding-bottom: calc(var(--spacing-2) + 2px);
15249
- }
15250
-
15251
- .muka-chat-attachment-chip--error {
15252
- border-color: var(--color-state-error-default, var(--color-text-default-default));
15253
- }
15254
-
15255
- .muka-chat-attachment-chip--disabled {
15256
- opacity: 0.5;
15257
- pointer-events: none;
15258
- }
15259
-
15260
- /* ─── Body (icon + text) ───────────────────────────────── */
15006
+ /* ─── Body (icon + text) ───────────────────────────────── */
15261
15007
 
15262
15008
  .muka-chat-attachment-chip__body {
15263
15009
  display: inline-flex;
@@ -15384,108 +15130,254 @@ button.muka-chat-photo-grid__tile:focus-visible {
15384
15130
  }
15385
15131
 
15386
15132
 
15387
- /* Button */
15388
- /* Button Component Styles - Using Muka Design Tokens */
15389
-
15390
- /* Base button styles */
15391
- .muka-button {
15392
- /* Layout */
15393
- display: inline-flex;
15394
- align-items: center;
15395
- justify-content: center;
15133
+ /* Card */
15134
+ /* Card Component Styles - Using Muka Design Tokens */
15396
15135
 
15397
- /* Typography - using semantic tokens */
15398
- font-family: var(--alias-font-brand-family);
15399
- font-weight: var(--alias-font-brand-weight-semibold);
15400
- text-decoration: none;
15401
-
15402
- /* Interaction */
15403
- border: none;
15404
- cursor: pointer;
15405
- user-select: none;
15406
- transition: all 0.2s ease;
15407
-
15408
- /* Accessibility */
15409
- outline: none;
15410
- position: relative;
15136
+ .muka-card {
15137
+ background-color: var(--card-color-default-background);
15138
+ color: var(--card-color-default-foreground);
15139
+ border: var(--border-width-regular) solid var(--card-color-default-border);
15140
+ box-shadow: var(--card-shadow-default);
15141
+ transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
15142
+ overflow: hidden;
15411
15143
  }
15412
15144
 
15413
- /* Focus styles for accessibility */
15414
- .muka-button:focus-visible {
15415
- outline: 2px solid var(--color-border-focus);
15416
- outline-offset: 2px;
15145
+ /* Padding variants */
15146
+ .muka-card--padding-none {
15147
+ padding: 0;
15417
15148
  }
15418
15149
 
15419
- /* Size variants
15420
- Height is driven by min-height; vertical padding is 0 and the label carries
15421
- tight (Figma) line-height. Horizontal spacing matches Figma's nested model:
15422
- the button's padding is the outer container inset, and the label's own
15423
- padding is the icon-to-text gap (so text-only buttons keep both insets). */
15424
- .muka-button--sm {
15425
- padding: 0 var(--button-padding-sm-x);
15426
- border-radius: var(--button-radius-sm);
15427
- font-size: var(--text-label-sm-semibold-fontSize);
15428
- line-height: var(--text-label-sm-semibold-lineHeight);
15429
- min-height: 32px;
15150
+ .muka-card--padding-sm {
15151
+ padding: var(--card-padding-sm);
15430
15152
  }
15431
15153
 
15432
- .muka-button--sm .muka-button__label {
15433
- padding: 0 var(--button-gap-sm);
15154
+ .muka-card--padding-md {
15155
+ padding: var(--card-padding-md);
15434
15156
  }
15435
15157
 
15436
- .muka-button--md {
15437
- padding: 0 var(--button-padding-md-x);
15438
- border-radius: var(--button-radius-md);
15439
- font-size: var(--text-label-sm-semibold-fontSize);
15440
- line-height: var(--text-label-sm-semibold-lineHeight);
15441
- min-height: 40px;
15158
+ .muka-card--padding-lg {
15159
+ padding: var(--card-padding-lg);
15442
15160
  }
15443
15161
 
15444
- .muka-button--md .muka-button__label {
15445
- padding: 0 var(--button-gap-md);
15162
+ /* Radius variants */
15163
+ .muka-card--radius-sm {
15164
+ border-radius: var(--card-radius-sm);
15446
15165
  }
15447
15166
 
15448
- .muka-button--lg {
15449
- padding: 0 var(--button-padding-lg-x);
15450
- border-radius: var(--button-radius-lg);
15451
- font-size: var(--text-label-lg-semibold-fontSize);
15452
- line-height: var(--text-label-lg-semibold-lineHeight);
15453
- min-height: 48px;
15167
+ .muka-card--radius-md {
15168
+ border-radius: var(--card-radius-md);
15454
15169
  }
15455
15170
 
15456
- .muka-button--lg .muka-button__label {
15457
- padding: 0 var(--button-gap-lg);
15171
+ .muka-card--radius-lg {
15172
+ border-radius: var(--card-radius-lg);
15458
15173
  }
15459
15174
 
15460
- .muka-button--xl {
15461
- padding: 0 var(--button-padding-xl-x);
15462
- border-radius: var(--button-radius-xl);
15463
- font-size: var(--text-label-2xl-semibold-fontSize);
15464
- line-height: var(--text-label-2xl-semibold-lineHeight);
15465
- min-height: 64px;
15175
+ /* Interactive variant */
15176
+ .muka-card--interactive {
15177
+ cursor: pointer;
15178
+ user-select: none;
15466
15179
  }
15467
15180
 
15468
- .muka-button--xl .muka-button__label {
15469
- padding: 0 var(--button-gap-xl);
15181
+ .muka-card--interactive:hover {
15182
+ background-color: var(--card-color-hover-background);
15183
+ border-color: var(--card-color-hover-border);
15184
+ box-shadow: var(--card-shadow-hover);
15470
15185
  }
15471
15186
 
15472
- /* Primary variant - your main CTA button */
15473
- .muka-button--primary {
15474
- background-color: var(--button-color-primary-background-default);
15475
- color: var(--button-color-primary-foreground-default);
15476
- box-shadow: var(--button-color-primary-shadow-default);
15187
+ .muka-card--interactive:active,
15188
+ .muka-card--interactive.muka-card--pressed {
15189
+ background-color: var(--card-color-pressed-background);
15190
+ border-color: var(--card-color-pressed-border);
15191
+ box-shadow: var(--card-shadow-pressed);
15477
15192
  }
15478
15193
 
15479
- .muka-button--primary:hover:not(:disabled) {
15480
- background-color: var(--button-color-primary-background-hover);
15481
- color: var(--button-color-primary-foreground-hover);
15482
- box-shadow: var(--button-color-primary-shadow-hover);
15194
+ .muka-card--interactive:focus-visible {
15195
+ outline: 2px solid var(--color-border-focus);
15196
+ outline-offset: 2px;
15483
15197
  }
15484
15198
 
15485
- /* `[data-state="open"]` keeps a Button pressed while it's an open disclosure
15486
- trigger (Radix Menu/Popover set this on the trigger). `[aria-pressed="true"]`
15487
- gives toggle buttons a visible selected state, so the toggle is not conveyed
15488
- to sighted users by the accessibility tree alone. */
15199
+ /* Selected variant */
15200
+ .muka-card--selected {
15201
+ background-color: var(--card-color-selected-background);
15202
+ border-color: var(--card-color-selected-border);
15203
+ border-width: var(--border-width-bold);
15204
+ box-shadow: var(--card-shadow-selected);
15205
+ }
15206
+
15207
+ /* Tone: sticky note (MUK-105) */
15208
+ .muka-card--tone-note {
15209
+ background-color: var(--card-color-note-background);
15210
+ color: var(--card-color-note-foreground);
15211
+ border-color: var(--card-color-note-border);
15212
+ box-shadow: var(--card-shadow-note);
15213
+ }
15214
+
15215
+ .muka-card--tone-note.muka-card--interactive:hover,
15216
+ .muka-card--tone-note.muka-card--interactive:active,
15217
+ .muka-card--tone-note.muka-card--interactive.muka-card--pressed {
15218
+ background-color: var(--card-color-note-background);
15219
+ border-color: var(--card-color-note-border);
15220
+ }
15221
+
15222
+ .muka-card--tilt-left {
15223
+ transform: rotate(-0.75deg);
15224
+ }
15225
+
15226
+ .muka-card--tilt-right {
15227
+ transform: rotate(0.6deg);
15228
+ }
15229
+
15230
+ @media (prefers-reduced-motion: no-preference) {
15231
+ .muka-card--tilt-left,
15232
+ .muka-card--tilt-right {
15233
+ transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
15234
+ }
15235
+ }
15236
+
15237
+ .muka-card--interactive.muka-card--tilt-left:hover,
15238
+ .muka-card--interactive.muka-card--tilt-right:hover {
15239
+ transform: none;
15240
+ }
15241
+
15242
+ /* Optional header (title + description) */
15243
+ .muka-card__header {
15244
+ margin-bottom: var(--spacing-4);
15245
+ }
15246
+
15247
+ .muka-card__title {
15248
+ margin: 0;
15249
+ color: var(--color-text-default-default);
15250
+ font-family: var(--text-heading-xs-fontFamily);
15251
+ font-weight: var(--text-heading-xs-fontWeight);
15252
+ font-size: var(--text-heading-xs-fontSize);
15253
+ line-height: var(--text-heading-xs-lineHeight);
15254
+ letter-spacing: var(--text-heading-xs-letterSpacing);
15255
+ }
15256
+
15257
+ .muka-card__description {
15258
+ margin: var(--spacing-1) 0 0;
15259
+ color: var(--color-text-subtle-default);
15260
+ font-family: var(--text-body-sm-regular-fontFamily);
15261
+ font-weight: var(--text-body-sm-regular-fontWeight);
15262
+ font-size: var(--text-body-sm-regular-fontSize);
15263
+ line-height: var(--text-body-sm-regular-lineHeight);
15264
+ }
15265
+
15266
+ /* Hide divider on last list item inside card */
15267
+ .muka-card > .muka-listitem:last-child > .muka-listitem__divider {
15268
+ display: none;
15269
+ }
15270
+
15271
+ /* Disabled state */
15272
+ .muka-card--disabled {
15273
+ opacity: 0.5;
15274
+ cursor: not-allowed;
15275
+ pointer-events: none;
15276
+ }
15277
+
15278
+
15279
+ /* Button */
15280
+ /* Button Component Styles - Using Muka Design Tokens */
15281
+
15282
+ /* Base button styles */
15283
+ .muka-button {
15284
+ /* Layout */
15285
+ display: inline-flex;
15286
+ align-items: center;
15287
+ justify-content: center;
15288
+
15289
+ /* Typography - using semantic tokens */
15290
+ font-family: var(--alias-font-brand-family);
15291
+ font-weight: var(--alias-font-brand-weight-semibold);
15292
+ text-decoration: none;
15293
+
15294
+ /* Interaction */
15295
+ border: none;
15296
+ cursor: pointer;
15297
+ user-select: none;
15298
+ transition: all 0.2s ease;
15299
+
15300
+ /* Accessibility */
15301
+ outline: none;
15302
+ position: relative;
15303
+ }
15304
+
15305
+ /* Focus styles for accessibility */
15306
+ .muka-button:focus-visible {
15307
+ outline: 2px solid var(--color-border-focus);
15308
+ outline-offset: 2px;
15309
+ }
15310
+
15311
+ /* Size variants
15312
+ Height is driven by min-height; vertical padding is 0 and the label carries
15313
+ tight (Figma) line-height. Horizontal spacing matches Figma's nested model:
15314
+ the button's padding is the outer container inset, and the label's own
15315
+ padding is the icon-to-text gap (so text-only buttons keep both insets). */
15316
+ .muka-button--sm {
15317
+ padding: 0 var(--button-padding-sm-x);
15318
+ border-radius: var(--button-radius-sm);
15319
+ font-size: var(--text-label-sm-semibold-fontSize);
15320
+ line-height: var(--text-label-sm-semibold-lineHeight);
15321
+ min-height: 32px;
15322
+ }
15323
+
15324
+ .muka-button--sm .muka-button__label {
15325
+ padding: 0 var(--button-gap-sm);
15326
+ }
15327
+
15328
+ .muka-button--md {
15329
+ padding: 0 var(--button-padding-md-x);
15330
+ border-radius: var(--button-radius-md);
15331
+ font-size: var(--text-label-sm-semibold-fontSize);
15332
+ line-height: var(--text-label-sm-semibold-lineHeight);
15333
+ min-height: 40px;
15334
+ }
15335
+
15336
+ .muka-button--md .muka-button__label {
15337
+ padding: 0 var(--button-gap-md);
15338
+ }
15339
+
15340
+ .muka-button--lg {
15341
+ padding: 0 var(--button-padding-lg-x);
15342
+ border-radius: var(--button-radius-lg);
15343
+ font-size: var(--text-label-lg-semibold-fontSize);
15344
+ line-height: var(--text-label-lg-semibold-lineHeight);
15345
+ min-height: 48px;
15346
+ }
15347
+
15348
+ .muka-button--lg .muka-button__label {
15349
+ padding: 0 var(--button-gap-lg);
15350
+ }
15351
+
15352
+ .muka-button--xl {
15353
+ padding: 0 var(--button-padding-xl-x);
15354
+ border-radius: var(--button-radius-xl);
15355
+ font-size: var(--text-label-2xl-semibold-fontSize);
15356
+ line-height: var(--text-label-2xl-semibold-lineHeight);
15357
+ min-height: 64px;
15358
+ }
15359
+
15360
+ .muka-button--xl .muka-button__label {
15361
+ padding: 0 var(--button-gap-xl);
15362
+ }
15363
+
15364
+ /* Primary variant - your main CTA button */
15365
+ .muka-button--primary {
15366
+ background-color: var(--button-color-primary-background-default);
15367
+ color: var(--button-color-primary-foreground-default);
15368
+ box-shadow: var(--button-color-primary-shadow-default);
15369
+ }
15370
+
15371
+ .muka-button--primary:hover:not(:disabled) {
15372
+ background-color: var(--button-color-primary-background-hover);
15373
+ color: var(--button-color-primary-foreground-hover);
15374
+ box-shadow: var(--button-color-primary-shadow-hover);
15375
+ }
15376
+
15377
+ /* `[data-state="open"]` keeps a Button pressed while it's an open disclosure
15378
+ trigger (Radix Menu/Popover set this on the trigger). `[aria-pressed="true"]`
15379
+ gives toggle buttons a visible selected state, so the toggle is not conveyed
15380
+ to sighted users by the accessibility tree alone. */
15489
15381
  .muka-button--primary:active:not(:disabled),
15490
15382
  .muka-button--primary.muka-button--pressed:not(:disabled),
15491
15383
  .muka-button--primary[data-state="open"]:not(:disabled),
@@ -15830,714 +15722,714 @@ button.muka-chat-photo-grid__tile:focus-visible {
15830
15722
  }
15831
15723
 
15832
15724
 
15833
- /* BadgeNumber */
15834
- /* BadgeNumber Component Styles - Using Muka Design Tokens */
15725
+ /* BottomBar */
15726
+ /* BottomBar Component Styles */
15835
15727
 
15836
- .muka-badge-number {
15837
- display: inline-flex;
15838
- align-items: center;
15839
- justify-content: center;
15840
- border-radius: var(--border-radius-full);
15841
- white-space: nowrap;
15842
- user-select: none;
15843
- box-sizing: border-box;
15728
+ .muka-bottombar {
15729
+ width: 100%;
15730
+ background-color: var(--bottombar-color-background);
15844
15731
  }
15845
15732
 
15846
- /*
15847
- * Sizes — fixed height, matching min-width (so a single digit renders as a
15848
- * circle), horizontal padding, and bold label typography. Vertical centering
15849
- * is handled by the fixed height + align-items: center.
15850
- */
15851
- .muka-badge-number--2xs {
15852
- height: var(--badge-number-size-2xs);
15853
- min-width: var(--badge-number-size-2xs);
15854
- padding: 0 var(--badge-number-padding-2xs);
15855
- font-family: var(--text-label-xs-bold-fontFamily);
15856
- font-weight: var(--text-label-xs-bold-fontWeight);
15857
- font-size: var(--text-label-xs-bold-fontSize);
15858
- line-height: var(--text-label-xs-bold-lineHeight);
15733
+ /* Push content above the iPhone home indicator. Opt out via disableSafeArea. */
15734
+ .muka-bottombar:not(.muka-bottombar--floating):not(.muka-bottombar--no-safe-area) {
15735
+ padding-bottom: env(safe-area-inset-bottom);
15859
15736
  }
15860
15737
 
15861
- .muka-badge-number--xs {
15862
- height: var(--badge-number-size-xs);
15863
- min-width: var(--badge-number-size-xs);
15864
- padding: 0 var(--badge-number-padding-xs);
15865
- font-family: var(--text-label-sm-bold-fontFamily);
15866
- font-weight: var(--text-label-sm-bold-fontWeight);
15867
- font-size: var(--text-label-sm-bold-fontSize);
15868
- line-height: var(--text-label-sm-bold-lineHeight);
15738
+ /* Floating variant: ensure margin-bottom is at least the safe-area inset. */
15739
+ .muka-bottombar--floating:not(.muka-bottombar--no-safe-area) {
15740
+ padding-bottom: max(var(--bottombar-floating-margin-bottom), env(safe-area-inset-bottom));
15869
15741
  }
15870
15742
 
15871
- .muka-badge-number--sm {
15872
- height: var(--badge-number-size-sm);
15873
- min-width: var(--badge-number-size-sm);
15874
- padding: 0 var(--badge-number-padding-sm);
15875
- font-family: var(--text-label-md-bold-fontFamily);
15876
- font-weight: var(--text-label-md-bold-fontWeight);
15877
- font-size: var(--text-label-md-bold-fontSize);
15878
- line-height: var(--text-label-md-bold-lineHeight);
15879
- }
15743
+ /* ─── Divider (non-floating) ──────────────────────────── */
15880
15744
 
15881
- .muka-badge-number--md {
15882
- height: var(--badge-number-size-md);
15883
- min-width: var(--badge-number-size-md);
15884
- padding: 0 var(--badge-number-padding-md);
15885
- font-family: var(--text-label-lg-bold-fontFamily);
15886
- font-weight: var(--text-label-lg-bold-fontWeight);
15887
- font-size: var(--text-label-lg-bold-fontSize);
15888
- line-height: var(--text-label-lg-bold-lineHeight);
15745
+ .muka-bottombar__divider {
15746
+ height: var(--border-width-regular);
15747
+ background-color: var(--bottombar-color-border);
15748
+ width: 100%;
15889
15749
  }
15890
15750
 
15891
- .muka-badge-number--lg {
15892
- height: var(--badge-number-size-lg);
15893
- min-width: var(--badge-number-size-lg);
15894
- padding: 0 var(--badge-number-padding-lg);
15895
- font-family: var(--text-label-2xl-bold-fontFamily);
15896
- font-weight: var(--text-label-2xl-bold-fontWeight);
15897
- font-size: var(--text-label-2xl-bold-fontSize);
15898
- line-height: var(--text-label-2xl-bold-lineHeight);
15899
- }
15751
+ /* ─── Content container ───────────────────────────────── */
15900
15752
 
15901
- .muka-badge-number__label {
15902
- /*
15903
- * The badge sets a tight line-height for compact sizing, which would clip
15904
- * glyph descenders; give the label a roomier line-height. Vertical centering
15905
- * is unaffected because the badge height is fixed and content is centered.
15906
- */
15907
- line-height: normal;
15753
+ .muka-bottombar__content {
15754
+ display: flex;
15755
+ align-items: center;
15908
15756
  }
15909
15757
 
15910
- /* Neutral variant */
15911
- .muka-badge-number--neutral {
15912
- background-color: var(--color-surface-level1);
15913
- color: var(--color-text-default-default);
15914
- }
15758
+ /* ─── Actions variant (horizontal) ───────────────────── */
15915
15759
 
15916
- /* Info variant */
15917
- .muka-badge-number--info {
15918
- background-color: var(--color-state-info-contrast);
15919
- color: var(--color-text-default-inverse);
15760
+ .muka-bottombar--actions .muka-bottombar__content {
15761
+ flex-direction: row;
15762
+ gap: var(--bottombar-actions-gap);
15763
+ padding: var(--bottombar-actions-padding-t) var(--bottombar-actions-padding-x) var(--bottombar-actions-padding-x);
15920
15764
  }
15921
15765
 
15922
- /* Success variant */
15923
- .muka-badge-number--success {
15924
- background-color: var(--color-state-success-contrast);
15925
- color: var(--color-text-default-inverse);
15766
+ .muka-bottombar--actions .muka-bottombar__content > * {
15767
+ flex: 1;
15926
15768
  }
15927
15769
 
15928
- /* Warning variant */
15929
- .muka-badge-number--warning {
15930
- background-color: var(--color-state-warning-contrast);
15931
- color: var(--color-text-default-inverse);
15932
- }
15770
+ /* ─── Actions-vertical variant (stacked) ─────────────── */
15933
15771
 
15934
- /* Error variant */
15935
- .muka-badge-number--error {
15936
- background-color: var(--color-state-error-contrast);
15937
- color: var(--color-text-default-inverse);
15772
+ .muka-bottombar--actions-vertical .muka-bottombar__content {
15773
+ flex-direction: column;
15774
+ gap: var(--bottombar-actions-gap);
15775
+ padding: var(--bottombar-actions-padding-t) var(--bottombar-actions-padding-x) var(--bottombar-actions-padding-x);
15938
15776
  }
15939
15777
 
15940
- /* Dot: something new, without a count */
15941
- .muka-badge-number--dot {
15942
- width: var(--spacing-2);
15943
- height: var(--spacing-2);
15944
- min-width: 0;
15945
- padding: 0;
15778
+ .muka-bottombar--actions-vertical .muka-bottombar__content > * {
15779
+ width: 100%;
15946
15780
  }
15947
15781
 
15782
+ /* ─── Message (actions variants only) ────────────────── */
15948
15783
 
15949
- /* Badge */
15950
- /* Badge Component Styles - Using Muka Design Tokens */
15951
-
15952
- .muka-badge {
15953
- display: inline-flex;
15954
- align-items: center;
15955
- border-radius: var(--border-radius-full);
15956
- white-space: nowrap;
15957
- user-select: none;
15958
- box-sizing: border-box;
15784
+ /* Below 1024px the message takes its own line above the buttons. */
15785
+ .muka-bottombar--actions.muka-bottombar--with-message .muka-bottombar__content {
15786
+ flex-wrap: wrap;
15787
+ row-gap: var(--bottombar-actions-message-gap);
15959
15788
  }
15960
15789
 
15961
- /*
15962
- * Sizes — height, gap, type, and default (label-edge) horizontal padding.
15963
- * Mirrors Chip so the two components share sizing, fonts, and spacing.
15964
- * Vertical centering is handled by the fixed height + align-items: center.
15965
- * The leading side gets a tighter padding when an icon/dot is present, via the
15966
- * --has-icon / --has-dot modifiers below.
15967
- */
15968
- .muka-badge--sm {
15969
- height: var(--badge-size-height-sm);
15970
- gap: var(--badge-gap-sm);
15971
- padding: 0 var(--badge-padding-label-sm);
15972
- font-family: var(--text-label-sm-regular-fontFamily);
15973
- font-weight: var(--text-label-sm-regular-fontWeight);
15974
- font-size: var(--text-label-sm-regular-fontSize);
15975
- line-height: var(--text-label-sm-regular-lineHeight);
15790
+ .muka-bottombar--actions-vertical.muka-bottombar--with-message .muka-bottombar__content {
15791
+ row-gap: var(--bottombar-actions-message-gap);
15976
15792
  }
15977
15793
 
15978
- .muka-badge--md {
15979
- height: var(--badge-size-height-md);
15980
- gap: var(--badge-gap-md);
15981
- padding: 0 var(--badge-padding-label-md);
15982
- font-family: var(--text-label-md-regular-fontFamily);
15983
- font-weight: var(--text-label-md-regular-fontWeight);
15984
- font-size: var(--text-label-md-regular-fontSize);
15985
- line-height: var(--text-label-md-regular-lineHeight);
15794
+ .muka-bottombar--with-message .muka-bottombar__content > .muka-bottombar__message {
15795
+ flex: 1 0 100%;
15796
+ width: 100%;
15986
15797
  }
15987
15798
 
15988
- .muka-badge--lg {
15989
- height: var(--badge-size-height-lg);
15990
- gap: var(--badge-gap-lg);
15991
- padding: 0 var(--badge-padding-label-lg);
15992
- font-family: var(--text-label-lg-regular-fontFamily);
15993
- font-weight: var(--text-label-lg-regular-fontWeight);
15994
- font-size: var(--text-label-lg-regular-fontSize);
15995
- line-height: var(--text-label-lg-regular-lineHeight);
15799
+ .muka-bottombar__message {
15800
+ margin: 0;
15801
+ min-width: 0;
15802
+ overflow-wrap: anywhere;
15803
+ font-family: var(--text-body-sm-regular-fontFamily);
15804
+ font-weight: var(--text-body-sm-regular-fontWeight);
15805
+ font-size: var(--text-body-sm-regular-fontSize);
15806
+ line-height: var(--text-body-sm-regular-lineHeight);
15996
15807
  }
15997
15808
 
15998
- /* Tighter leading padding when a leading icon or dot is present */
15999
- .muka-badge--sm.muka-badge--has-icon,
16000
- .muka-badge--sm.muka-badge--has-dot {
16001
- padding-left: var(--badge-padding-leading-sm);
15809
+ .muka-bottombar__message--neutral {
15810
+ color: var(--bottombar-color-message-neutral);
16002
15811
  }
16003
- .muka-badge--md.muka-badge--has-icon,
16004
- .muka-badge--md.muka-badge--has-dot {
16005
- padding-left: var(--badge-padding-leading-md);
15812
+
15813
+ .muka-bottombar__message--success {
15814
+ color: var(--bottombar-color-message-success);
16006
15815
  }
16007
- .muka-badge--lg.muka-badge--has-icon,
16008
- .muka-badge--lg.muka-badge--has-dot {
16009
- padding-left: var(--badge-padding-leading-lg);
15816
+
15817
+ .muka-bottombar__message--warning {
15818
+ color: var(--bottombar-color-message-warning);
16010
15819
  }
16011
15820
 
16012
- /* Icon-only — square, sized to the badge height (Figma: 24 / 32 / 40).
16013
- * Padding resets at size+icon-only specificity so `--has-icon` leading padding
16014
- * cannot win and shift the icon off-center. */
16015
- .muka-badge--icon-only {
16016
- justify-content: center;
16017
- align-items: center;
16018
- gap: 0;
15821
+ /* From 1024px the horizontal bar puts the message left, the buttons right at
15822
+ their own width. The vertical variant keeps stacking. */
15823
+ @media (min-width: 1024px) {
15824
+ .muka-bottombar--actions.muka-bottombar--with-message .muka-bottombar__content {
15825
+ flex-wrap: nowrap;
15826
+ }
15827
+
15828
+ .muka-bottombar--actions.muka-bottombar--with-message .muka-bottombar__content > * {
15829
+ flex: 0 0 auto;
15830
+ }
15831
+
15832
+ .muka-bottombar--actions.muka-bottombar--with-message .muka-bottombar__content > .muka-bottombar__message {
15833
+ flex: 1 1 auto;
15834
+ width: auto;
15835
+ }
16019
15836
  }
16020
15837
 
16021
- .muka-badge--sm.muka-badge--icon-only,
16022
- .muka-badge--md.muka-badge--icon-only,
16023
- .muka-badge--lg.muka-badge--icon-only {
16024
- padding: 0;
15838
+ /* ─── Size modifiers (actions variants only) ─────────── */
15839
+
15840
+ /* ─── Navigation variant ──────────────────────────────── */
15841
+
15842
+ .muka-bottombar--navigation .muka-bottombar__content {
15843
+ flex-direction: row;
16025
15844
  }
16026
15845
 
16027
- .muka-badge--sm.muka-badge--icon-only {
16028
- width: var(--badge-size-height-sm);
15846
+ /* ─── Chat variant (houses a ChatComposer) ───────────── */
15847
+
15848
+ .muka-bottombar--chat .muka-bottombar__content {
15849
+ flex-direction: row;
15850
+ width: 100%;
15851
+ margin: 0 auto;
16029
15852
  }
16030
15853
 
16031
- .muka-badge--md.muka-badge--icon-only {
16032
- width: var(--badge-size-height-md);
15854
+ /*
15855
+ * `--bottombar-chat-max-width` is the conversation column (it derives from
15856
+ * `chat.column.max-width`, the same token `ChatMessageList` caps its column
15857
+ * with). The cap here carries the padding on top of it, so it is the
15858
+ * composer's own edges — not the padding around it — that land on the column.
15859
+ */
15860
+
15861
+ /*
15862
+ * Docked chat pads its content; the floating card supplies its own padding.
15863
+ * The inline half is the section gutter `ChatMessageList` pads its scroller
15864
+ * with, so below the cap — where the column runs full-bleed — the composer
15865
+ * keeps to the same gutters as the messages.
15866
+ */
15867
+ .muka-bottombar--chat:not(.muka-bottombar--floating) .muka-bottombar__content {
15868
+ padding: var(--bottombar-chat-padding)
15869
+ var(--section-padding-horizontal-default, var(--spacing-4));
15870
+ max-width: calc(
15871
+ var(--bottombar-chat-max-width) + 2 * var(--section-padding-horizontal-default, var(--spacing-4))
15872
+ );
16033
15873
  }
16034
15874
 
16035
- .muka-badge--lg.muka-badge--icon-only {
16036
- width: var(--badge-size-height-lg);
15875
+ /* Floating chat card widens to the chat cap (overrides the md default below). */
15876
+ .muka-bottombar--chat.muka-bottombar--floating .muka-bottombar__content {
15877
+ max-width: calc(var(--bottombar-chat-max-width) + 2 * var(--bottombar-floating-padding));
16037
15878
  }
16038
15879
 
16039
- /* Leading icon slot — Figma icon sizes: sm 16, md 20, lg 24 (matches Chip) */
16040
- .muka-badge__icon {
16041
- display: inline-flex;
15880
+ /* ─── Tab item ────────────────────────────────────────── */
15881
+
15882
+ .muka-bottombar__tab {
15883
+ flex: 1;
15884
+ display: flex;
15885
+ flex-direction: column;
16042
15886
  align-items: center;
16043
- justify-content: center;
16044
- flex-shrink: 0;
15887
+ gap: var(--bottombar-tab-gap);
15888
+ padding: var(--bottombar-tab-padding-y) 0;
15889
+ background: none;
15890
+ border: none;
15891
+ cursor: pointer;
15892
+ color: var(--bottombar-color-tab-inactive);
15893
+ transition: color 0.15s ease;
15894
+ -webkit-tap-highlight-color: transparent;
16045
15895
  }
16046
15896
 
16047
- .muka-badge--sm .muka-badge__icon {
16048
- width: var(--icon-size-xs);
16049
- height: var(--icon-size-xs);
15897
+ .muka-bottombar__tab:focus-visible {
15898
+ outline: 2px solid var(--color-action-default);
15899
+ outline-offset: -2px;
15900
+ border-radius: var(--border-radius-sm);
16050
15901
  }
16051
- .muka-badge--md .muka-badge__icon {
16052
- width: var(--icon-size-sm);
16053
- height: var(--icon-size-sm);
15902
+
15903
+ .muka-bottombar__tab--active {
15904
+ color: var(--bottombar-color-tab-active);
16054
15905
  }
16055
- .muka-badge--lg .muka-badge__icon {
16056
- width: var(--icon-size-default);
16057
- height: var(--icon-size-default);
15906
+
15907
+ .muka-bottombar__tab-icon {
15908
+ position: relative;
15909
+ display: flex;
15910
+ align-items: center;
15911
+ justify-content: center;
15912
+ width: var(--bottombar-tab-icon-size);
15913
+ height: var(--bottombar-tab-icon-size);
16058
15914
  }
16059
15915
 
16060
- /* Force the passed content (raw <svg> or an <Icon> wrapper) to the slot size,
16061
- so callers don't have to size the icon to match each badge size. The
16062
- .muka-icon selector is intentionally 2 classes deep to override .muka-icon--md. */
16063
- .muka-badge__icon .muka-icon,
16064
- .muka-badge__icon svg {
15916
+ .muka-bottombar__tab-icon svg {
16065
15917
  width: 100%;
16066
15918
  height: 100%;
16067
15919
  }
16068
15920
 
16069
- /* Icons inherit the badge's per-variant foreground color */
16070
- .muka-badge .muka-icon {
16071
- color: inherit;
15921
+ /* A count on the icon's top-right corner (unread messages). */
15922
+ .muka-bottombar__tab-badge {
15923
+ position: absolute;
15924
+ top: calc(-1 * var(--spacing-1));
15925
+ left: 60%;
15926
+ display: flex;
15927
+ pointer-events: none;
16072
15928
  }
16073
15929
 
16074
- /* Dot indicator */
16075
- .muka-badge__dot {
16076
- flex-shrink: 0;
16077
- border-radius: var(--border-radius-full);
16078
- }
16079
-
16080
- .muka-badge--sm .muka-badge__dot {
16081
- width: var(--badge-size-dot-sm);
16082
- height: var(--badge-size-dot-sm);
16083
- }
16084
-
16085
- .muka-badge--md .muka-badge__dot {
16086
- width: var(--badge-size-dot-md);
16087
- height: var(--badge-size-dot-md);
16088
- }
16089
-
16090
- .muka-badge--lg .muka-badge__dot {
16091
- width: var(--badge-size-dot-lg);
16092
- height: var(--badge-size-dot-lg);
15930
+ .muka-bottombar__tab-label {
15931
+ font-family: var(--text-label-sm-regular-fontFamily);
15932
+ font-weight: var(--text-label-sm-regular-fontWeight);
15933
+ font-size: var(--text-label-sm-regular-fontSize);
15934
+ line-height: var(--text-label-sm-regular-lineHeight);
16093
15935
  }
16094
15936
 
16095
- .muka-badge__label {
16096
- flex: 0 1 auto;
16097
- min-width: 0;
16098
- overflow: hidden;
16099
- text-overflow: ellipsis;
16100
- /*
16101
- * The badge sets a tight line-height for compact sizing, but the label's
16102
- * `overflow: hidden` (needed for ellipsis) then clips glyph descenders (g, y, p). Give the
16103
- * label its own roomier line-height so descenders render; vertical centering is unaffected
16104
- * because the badge height is fixed and content is centered via align-items: center.
16105
- */
16106
- line-height: normal;
16107
- }
15937
+ /* ─── Floating modifier ───────────────────────────────── */
16108
15938
 
16109
- /* Neutral variant */
16110
- .muka-badge--neutral {
16111
- background-color: var(--color-surface-level1);
16112
- color: var(--color-text-default-default);
16113
- }
15939
+ .muka-bottombar--floating {
15940
+ background: linear-gradient(
15941
+ to bottom,
15942
+ var(--bottombar-floating-backdrop-start),
15943
+ var(--bottombar-floating-backdrop-end)
15944
+ );
15945
+ padding: var(--bottombar-floating-padding-top) var(--bottombar-floating-margin-x) var(--bottombar-floating-margin-bottom);
16114
15946
 
16115
- .muka-badge--neutral .muka-badge__dot {
16116
- background-color: var(--color-text-subtle-default);
15947
+ /* The transparent frosted margin around the pill overlays scrolling content;
15948
+ let scroll/taps fall through to that content, keeping only the pill itself
15949
+ interactive (re-enabled on __content below). */
15950
+ pointer-events: none;
16117
15951
  }
16118
15952
 
16119
- /* Info variant */
16120
- .muka-badge--info {
16121
- background-color: var(--color-state-info-background);
16122
- color: var(--color-state-info-contrast);
15953
+ .muka-bottombar--floating .muka-bottombar__content {
15954
+ pointer-events: auto;
16123
15955
  }
16124
15956
 
16125
- .muka-badge--info .muka-badge__dot {
16126
- background-color: var(--color-state-info-default);
15957
+ .muka-bottombar--floating .muka-bottombar__content {
15958
+ background-color: var(--bottombar-color-background);
15959
+ border-radius: var(--bottombar-floating-radius);
15960
+ padding: var(--bottombar-floating-padding);
15961
+ box-shadow: var(--bottombar-floating-shadow);
15962
+ max-width: var(--bottombar-floating-max-width);
15963
+ width: 100%;
15964
+ margin: 0 auto;
16127
15965
  }
16128
15966
 
16129
- /* Success variant */
16130
- .muka-badge--success {
16131
- background-color: var(--color-state-success-background);
16132
- color: var(--color-state-success-contrast);
15967
+ /* Override content padding inside floating per variant */
15968
+ .muka-bottombar--floating.muka-bottombar--actions .muka-bottombar__content {
15969
+ padding: var(--bottombar-floating-padding);
16133
15970
  }
16134
15971
 
16135
- .muka-badge--success .muka-badge__dot {
16136
- background-color: var(--color-state-success-default);
15972
+ .muka-bottombar--floating.muka-bottombar--navigation .muka-bottombar__content {
15973
+ padding: var(--bottombar-navigation-floating-padding);
16137
15974
  }
16138
15975
 
16139
- /* Warning variant */
16140
- .muka-badge--warning {
16141
- background-color: var(--color-state-warning-background);
16142
- color: var(--color-state-warning-contrast);
16143
- }
15976
+ /* ─── Desktop: Sidebar transformation ─────────────────── */
16144
15977
 
16145
- .muka-badge--warning .muka-badge__dot {
16146
- background-color: var(--color-state-warning-default);
16147
- }
15978
+ @media (min-width: 1024px) {
15979
+ .muka-bottombar--desktop-sidebar {
15980
+ position: fixed;
15981
+ left: 0;
15982
+ top: 0;
15983
+ bottom: 0;
15984
+ width: 240px;
15985
+ height: 100vh;
15986
+ background-color: var(--bottombar-color-background);
15987
+ border-right: var(--border-width-regular) solid var(--bottombar-color-border);
15988
+ z-index: 10;
15989
+ }
16148
15990
 
16149
- /* Error variant */
16150
- .muka-badge--error {
16151
- background-color: var(--color-state-error-background);
16152
- color: var(--color-state-error-contrast);
16153
- }
15991
+ .muka-bottombar--desktop-sidebar .muka-bottombar__divider {
15992
+ display: none;
15993
+ }
16154
15994
 
16155
- .muka-badge--error .muka-badge__dot {
16156
- background-color: var(--color-state-error-default);
16157
- }
15995
+ .muka-bottombar--desktop-sidebar .muka-bottombar__content {
15996
+ flex-direction: column;
15997
+ align-items: stretch;
15998
+ padding: var(--spacing-4) var(--spacing-3);
15999
+ /* The rail runs to the top of the screen: clear the status bar there. */
16000
+ padding-top: calc(var(--spacing-4) + env(safe-area-inset-top, 0px));
16001
+ gap: var(--spacing-1);
16002
+ }
16158
16003
 
16004
+ .muka-bottombar--desktop-sidebar .muka-bottombar__tab {
16005
+ flex: 0 0 auto;
16006
+ flex-direction: row;
16007
+ justify-content: flex-start;
16008
+ gap: var(--spacing-3);
16009
+ padding: var(--spacing-3);
16010
+ border-radius: var(--border-radius-md);
16011
+ }
16159
16012
 
16160
- /* BottomBar */
16161
- /* BottomBar Component Styles */
16013
+ .muka-bottombar--desktop-sidebar .muka-bottombar__tab:hover {
16014
+ background-color: var(--color-surface-level2);
16015
+ }
16162
16016
 
16163
- .muka-bottombar {
16164
- width: 100%;
16165
- background-color: var(--bottombar-color-background);
16166
- }
16017
+ .muka-bottombar--desktop-sidebar .muka-bottombar__tab-label {
16018
+ font-family: var(--text-label-md-regular-fontFamily);
16019
+ font-weight: var(--text-label-md-regular-fontWeight);
16020
+ font-size: var(--text-label-md-regular-fontSize);
16021
+ line-height: var(--text-label-md-regular-lineHeight);
16022
+ }
16167
16023
 
16168
- /* Push content above the iPhone home indicator. Opt out via disableSafeArea. */
16169
- .muka-bottombar:not(.muka-bottombar--floating):not(.muka-bottombar--no-safe-area) {
16170
- padding-bottom: env(safe-area-inset-bottom);
16171
- }
16024
+ /* When floating and sidebar, remove the floating card styles */
16025
+ .muka-bottombar--desktop-sidebar.muka-bottombar--floating {
16026
+ padding: 0;
16027
+ }
16172
16028
 
16173
- /* Floating variant: ensure margin-bottom is at least the safe-area inset. */
16174
- .muka-bottombar--floating:not(.muka-bottombar--no-safe-area) {
16175
- padding-bottom: max(var(--bottombar-floating-margin-bottom), env(safe-area-inset-bottom));
16029
+ .muka-bottombar--desktop-sidebar.muka-bottombar--floating .muka-bottombar__content {
16030
+ background-color: transparent;
16031
+ border-radius: 0;
16032
+ box-shadow: none;
16033
+ }
16176
16034
  }
16177
16035
 
16178
- /* ─── Divider (non-floating) ──────────────────────────── */
16036
+ /* ─── Desktop: Top Navigation transformation ──────────── */
16179
16037
 
16180
- .muka-bottombar__divider {
16181
- height: var(--border-width-regular);
16182
- background-color: var(--bottombar-color-border);
16183
- width: 100%;
16184
- }
16038
+ @media (min-width: 1024px) {
16039
+ .muka-bottombar--desktop-topnav {
16040
+ position: fixed;
16041
+ top: 0;
16042
+ left: 0;
16043
+ right: 0;
16044
+ width: 100%;
16045
+ height: auto;
16046
+ background-color: var(--bottombar-color-background);
16047
+ border-bottom: var(--border-width-regular) solid var(--bottombar-color-border);
16048
+ z-index: 10;
16049
+ }
16185
16050
 
16186
- /* ─── Content container ───────────────────────────────── */
16051
+ .muka-bottombar--desktop-topnav .muka-bottombar__divider {
16052
+ display: none;
16053
+ }
16187
16054
 
16188
- .muka-bottombar__content {
16189
- display: flex;
16190
- align-items: center;
16191
- }
16055
+ .muka-bottombar--desktop-topnav .muka-bottombar__content {
16056
+ flex-direction: row;
16057
+ justify-content: center;
16058
+ gap: var(--spacing-1);
16059
+ padding: 0 var(--spacing-4);
16060
+ max-width: var(--container-max-width-large, 1200px);
16061
+ margin: 0 auto;
16062
+ }
16192
16063
 
16193
- /* ─── Actions variant (horizontal) ───────────────────── */
16064
+ .muka-bottombar--desktop-topnav .muka-bottombar__tab {
16065
+ flex: 0 0 auto;
16066
+ flex-direction: row;
16067
+ gap: var(--spacing-2);
16068
+ padding: var(--spacing-3) var(--spacing-4);
16069
+ border-radius: 0;
16070
+ border-bottom: 2px solid transparent;
16071
+ }
16194
16072
 
16195
- .muka-bottombar--actions .muka-bottombar__content {
16196
- flex-direction: row;
16197
- gap: var(--bottombar-actions-gap);
16198
- padding: var(--bottombar-actions-padding-t) var(--bottombar-actions-padding-x) var(--bottombar-actions-padding-x);
16199
- }
16073
+ .muka-bottombar--desktop-topnav .muka-bottombar__tab--active {
16074
+ border-bottom-color: var(--color-action-default);
16075
+ }
16200
16076
 
16201
- .muka-bottombar--actions .muka-bottombar__content > * {
16202
- flex: 1;
16203
- }
16077
+ .muka-bottombar--desktop-topnav .muka-bottombar__tab:hover {
16078
+ background-color: var(--color-surface-level2);
16079
+ }
16204
16080
 
16205
- /* ─── Actions-vertical variant (stacked) ─────────────── */
16081
+ .muka-bottombar--desktop-topnav .muka-bottombar__tab-label {
16082
+ font-family: var(--text-label-md-regular-fontFamily);
16083
+ font-weight: var(--text-label-md-regular-fontWeight);
16084
+ font-size: var(--text-label-md-regular-fontSize);
16085
+ line-height: var(--text-label-md-regular-lineHeight);
16086
+ }
16206
16087
 
16207
- .muka-bottombar--actions-vertical .muka-bottombar__content {
16208
- flex-direction: column;
16209
- gap: var(--bottombar-actions-gap);
16210
- padding: var(--bottombar-actions-padding-t) var(--bottombar-actions-padding-x) var(--bottombar-actions-padding-x);
16211
- }
16088
+ /* When floating and topnav, remove the floating card styles */
16089
+ .muka-bottombar--desktop-topnav.muka-bottombar--floating {
16090
+ padding: 0;
16091
+ }
16212
16092
 
16213
- .muka-bottombar--actions-vertical .muka-bottombar__content > * {
16214
- width: 100%;
16093
+ .muka-bottombar--desktop-topnav.muka-bottombar--floating .muka-bottombar__content {
16094
+ background-color: transparent;
16095
+ border-radius: 0;
16096
+ box-shadow: none;
16097
+ }
16215
16098
  }
16216
16099
 
16217
- /* ─── Message (actions variants only) ────────────────── */
16100
+ /* ─── Print ────────────────────────────────────────────── */
16218
16101
 
16219
- /* Below 1024px the message takes its own line above the buttons. */
16220
- .muka-bottombar--actions.muka-bottombar--with-message .muka-bottombar__content {
16221
- flex-wrap: wrap;
16222
- row-gap: var(--bottombar-actions-message-gap);
16102
+ @media print {
16103
+ .muka-bottombar {
16104
+ display: none;
16105
+ }
16223
16106
  }
16224
16107
 
16225
- .muka-bottombar--actions-vertical.muka-bottombar--with-message .muka-bottombar__content {
16226
- row-gap: var(--bottombar-actions-message-gap);
16227
- }
16228
16108
 
16229
- .muka-bottombar--with-message .muka-bottombar__content > .muka-bottombar__message {
16230
- flex: 1 0 100%;
16231
- width: 100%;
16232
- }
16109
+ /* BadgeNumber */
16110
+ /* BadgeNumber Component Styles - Using Muka Design Tokens */
16233
16111
 
16234
- .muka-bottombar__message {
16235
- margin: 0;
16236
- min-width: 0;
16237
- overflow-wrap: anywhere;
16238
- font-family: var(--text-body-sm-regular-fontFamily);
16239
- font-weight: var(--text-body-sm-regular-fontWeight);
16240
- font-size: var(--text-body-sm-regular-fontSize);
16241
- line-height: var(--text-body-sm-regular-lineHeight);
16112
+ .muka-badge-number {
16113
+ display: inline-flex;
16114
+ align-items: center;
16115
+ justify-content: center;
16116
+ border-radius: var(--border-radius-full);
16117
+ white-space: nowrap;
16118
+ user-select: none;
16119
+ box-sizing: border-box;
16242
16120
  }
16243
16121
 
16244
- .muka-bottombar__message--neutral {
16245
- color: var(--bottombar-color-message-neutral);
16122
+ /*
16123
+ * Sizes — fixed height, matching min-width (so a single digit renders as a
16124
+ * circle), horizontal padding, and bold label typography. Vertical centering
16125
+ * is handled by the fixed height + align-items: center.
16126
+ */
16127
+ .muka-badge-number--2xs {
16128
+ height: var(--badge-number-size-2xs);
16129
+ min-width: var(--badge-number-size-2xs);
16130
+ padding: 0 var(--badge-number-padding-2xs);
16131
+ font-family: var(--text-label-xs-bold-fontFamily);
16132
+ font-weight: var(--text-label-xs-bold-fontWeight);
16133
+ font-size: var(--text-label-xs-bold-fontSize);
16134
+ line-height: var(--text-label-xs-bold-lineHeight);
16246
16135
  }
16247
16136
 
16248
- .muka-bottombar__message--success {
16249
- color: var(--bottombar-color-message-success);
16137
+ .muka-badge-number--xs {
16138
+ height: var(--badge-number-size-xs);
16139
+ min-width: var(--badge-number-size-xs);
16140
+ padding: 0 var(--badge-number-padding-xs);
16141
+ font-family: var(--text-label-sm-bold-fontFamily);
16142
+ font-weight: var(--text-label-sm-bold-fontWeight);
16143
+ font-size: var(--text-label-sm-bold-fontSize);
16144
+ line-height: var(--text-label-sm-bold-lineHeight);
16250
16145
  }
16251
16146
 
16252
- .muka-bottombar__message--warning {
16253
- color: var(--bottombar-color-message-warning);
16147
+ .muka-badge-number--sm {
16148
+ height: var(--badge-number-size-sm);
16149
+ min-width: var(--badge-number-size-sm);
16150
+ padding: 0 var(--badge-number-padding-sm);
16151
+ font-family: var(--text-label-md-bold-fontFamily);
16152
+ font-weight: var(--text-label-md-bold-fontWeight);
16153
+ font-size: var(--text-label-md-bold-fontSize);
16154
+ line-height: var(--text-label-md-bold-lineHeight);
16254
16155
  }
16255
16156
 
16256
- /* From 1024px the horizontal bar puts the message left, the buttons right at
16257
- their own width. The vertical variant keeps stacking. */
16258
- @media (min-width: 1024px) {
16259
- .muka-bottombar--actions.muka-bottombar--with-message .muka-bottombar__content {
16260
- flex-wrap: nowrap;
16261
- }
16262
-
16263
- .muka-bottombar--actions.muka-bottombar--with-message .muka-bottombar__content > * {
16264
- flex: 0 0 auto;
16265
- }
16266
-
16267
- .muka-bottombar--actions.muka-bottombar--with-message .muka-bottombar__content > .muka-bottombar__message {
16268
- flex: 1 1 auto;
16269
- width: auto;
16270
- }
16157
+ .muka-badge-number--md {
16158
+ height: var(--badge-number-size-md);
16159
+ min-width: var(--badge-number-size-md);
16160
+ padding: 0 var(--badge-number-padding-md);
16161
+ font-family: var(--text-label-lg-bold-fontFamily);
16162
+ font-weight: var(--text-label-lg-bold-fontWeight);
16163
+ font-size: var(--text-label-lg-bold-fontSize);
16164
+ line-height: var(--text-label-lg-bold-lineHeight);
16271
16165
  }
16272
16166
 
16273
- /* ─── Size modifiers (actions variants only) ─────────── */
16274
-
16275
- /* ─── Navigation variant ──────────────────────────────── */
16276
-
16277
- .muka-bottombar--navigation .muka-bottombar__content {
16278
- flex-direction: row;
16167
+ .muka-badge-number--lg {
16168
+ height: var(--badge-number-size-lg);
16169
+ min-width: var(--badge-number-size-lg);
16170
+ padding: 0 var(--badge-number-padding-lg);
16171
+ font-family: var(--text-label-2xl-bold-fontFamily);
16172
+ font-weight: var(--text-label-2xl-bold-fontWeight);
16173
+ font-size: var(--text-label-2xl-bold-fontSize);
16174
+ line-height: var(--text-label-2xl-bold-lineHeight);
16279
16175
  }
16280
16176
 
16281
- /* ─── Chat variant (houses a ChatComposer) ───────────── */
16282
-
16283
- .muka-bottombar--chat .muka-bottombar__content {
16284
- flex-direction: row;
16285
- width: 100%;
16286
- margin: 0 auto;
16177
+ .muka-badge-number__label {
16178
+ /*
16179
+ * The badge sets a tight line-height for compact sizing, which would clip
16180
+ * glyph descenders; give the label a roomier line-height. Vertical centering
16181
+ * is unaffected because the badge height is fixed and content is centered.
16182
+ */
16183
+ line-height: normal;
16287
16184
  }
16288
16185
 
16289
- /*
16290
- * `--bottombar-chat-max-width` is the conversation column (it derives from
16291
- * `chat.column.max-width`, the same token `ChatMessageList` caps its column
16292
- * with). The cap here carries the padding on top of it, so it is the
16293
- * composer's own edges — not the padding around it — that land on the column.
16294
- */
16295
-
16296
- /*
16297
- * Docked chat pads its content; the floating card supplies its own padding.
16298
- * The inline half is the section gutter `ChatMessageList` pads its scroller
16299
- * with, so below the cap — where the column runs full-bleed — the composer
16300
- * keeps to the same gutters as the messages.
16301
- */
16302
- .muka-bottombar--chat:not(.muka-bottombar--floating) .muka-bottombar__content {
16303
- padding: var(--bottombar-chat-padding)
16304
- var(--section-padding-horizontal-default, var(--spacing-4));
16305
- max-width: calc(
16306
- var(--bottombar-chat-max-width) + 2 * var(--section-padding-horizontal-default, var(--spacing-4))
16307
- );
16186
+ /* Neutral variant */
16187
+ .muka-badge-number--neutral {
16188
+ background-color: var(--color-surface-level1);
16189
+ color: var(--color-text-default-default);
16308
16190
  }
16309
16191
 
16310
- /* Floating chat card widens to the chat cap (overrides the md default below). */
16311
- .muka-bottombar--chat.muka-bottombar--floating .muka-bottombar__content {
16312
- max-width: calc(var(--bottombar-chat-max-width) + 2 * var(--bottombar-floating-padding));
16192
+ /* Info variant */
16193
+ .muka-badge-number--info {
16194
+ background-color: var(--color-state-info-contrast);
16195
+ color: var(--color-text-default-inverse);
16313
16196
  }
16314
16197
 
16315
- /* ─── Tab item ────────────────────────────────────────── */
16316
-
16317
- .muka-bottombar__tab {
16318
- flex: 1;
16319
- display: flex;
16320
- flex-direction: column;
16321
- align-items: center;
16322
- gap: var(--bottombar-tab-gap);
16323
- padding: var(--bottombar-tab-padding-y) 0;
16324
- background: none;
16325
- border: none;
16326
- cursor: pointer;
16327
- color: var(--bottombar-color-tab-inactive);
16328
- transition: color 0.15s ease;
16329
- -webkit-tap-highlight-color: transparent;
16198
+ /* Success variant */
16199
+ .muka-badge-number--success {
16200
+ background-color: var(--color-state-success-contrast);
16201
+ color: var(--color-text-default-inverse);
16330
16202
  }
16331
16203
 
16332
- .muka-bottombar__tab:focus-visible {
16333
- outline: 2px solid var(--color-action-default);
16334
- outline-offset: -2px;
16335
- border-radius: var(--border-radius-sm);
16204
+ /* Warning variant */
16205
+ .muka-badge-number--warning {
16206
+ background-color: var(--color-state-warning-contrast);
16207
+ color: var(--color-text-default-inverse);
16336
16208
  }
16337
16209
 
16338
- .muka-bottombar__tab--active {
16339
- color: var(--bottombar-color-tab-active);
16210
+ /* Error variant */
16211
+ .muka-badge-number--error {
16212
+ background-color: var(--color-state-error-contrast);
16213
+ color: var(--color-text-default-inverse);
16340
16214
  }
16341
16215
 
16342
- .muka-bottombar__tab-icon {
16343
- position: relative;
16344
- display: flex;
16345
- align-items: center;
16346
- justify-content: center;
16347
- width: var(--bottombar-tab-icon-size);
16348
- height: var(--bottombar-tab-icon-size);
16216
+ /* Dot: something new, without a count */
16217
+ .muka-badge-number--dot {
16218
+ width: var(--spacing-2);
16219
+ height: var(--spacing-2);
16220
+ min-width: 0;
16221
+ padding: 0;
16349
16222
  }
16350
16223
 
16351
- .muka-bottombar__tab-icon svg {
16352
- width: 100%;
16353
- height: 100%;
16354
- }
16355
16224
 
16356
- /* A count on the icon's top-right corner (unread messages). */
16357
- .muka-bottombar__tab-badge {
16358
- position: absolute;
16359
- top: calc(-1 * var(--spacing-1));
16360
- left: 60%;
16361
- display: flex;
16362
- pointer-events: none;
16225
+ /* Badge */
16226
+ /* Badge Component Styles - Using Muka Design Tokens */
16227
+
16228
+ .muka-badge {
16229
+ display: inline-flex;
16230
+ align-items: center;
16231
+ border-radius: var(--border-radius-full);
16232
+ white-space: nowrap;
16233
+ user-select: none;
16234
+ box-sizing: border-box;
16363
16235
  }
16364
16236
 
16365
- .muka-bottombar__tab-label {
16237
+ /*
16238
+ * Sizes — height, gap, type, and default (label-edge) horizontal padding.
16239
+ * Mirrors Chip so the two components share sizing, fonts, and spacing.
16240
+ * Vertical centering is handled by the fixed height + align-items: center.
16241
+ * The leading side gets a tighter padding when an icon/dot is present, via the
16242
+ * --has-icon / --has-dot modifiers below.
16243
+ */
16244
+ .muka-badge--sm {
16245
+ height: var(--badge-size-height-sm);
16246
+ gap: var(--badge-gap-sm);
16247
+ padding: 0 var(--badge-padding-label-sm);
16366
16248
  font-family: var(--text-label-sm-regular-fontFamily);
16367
16249
  font-weight: var(--text-label-sm-regular-fontWeight);
16368
16250
  font-size: var(--text-label-sm-regular-fontSize);
16369
16251
  line-height: var(--text-label-sm-regular-lineHeight);
16370
16252
  }
16371
16253
 
16372
- /* ─── Floating modifier ───────────────────────────────── */
16373
-
16374
- .muka-bottombar--floating {
16375
- background: linear-gradient(
16376
- to bottom,
16377
- var(--bottombar-floating-backdrop-start),
16378
- var(--bottombar-floating-backdrop-end)
16379
- );
16380
- padding: var(--bottombar-floating-padding-top) var(--bottombar-floating-margin-x) var(--bottombar-floating-margin-bottom);
16254
+ .muka-badge--md {
16255
+ height: var(--badge-size-height-md);
16256
+ gap: var(--badge-gap-md);
16257
+ padding: 0 var(--badge-padding-label-md);
16258
+ font-family: var(--text-label-md-regular-fontFamily);
16259
+ font-weight: var(--text-label-md-regular-fontWeight);
16260
+ font-size: var(--text-label-md-regular-fontSize);
16261
+ line-height: var(--text-label-md-regular-lineHeight);
16262
+ }
16381
16263
 
16382
- /* The transparent frosted margin around the pill overlays scrolling content;
16383
- let scroll/taps fall through to that content, keeping only the pill itself
16384
- interactive (re-enabled on __content below). */
16385
- pointer-events: none;
16264
+ .muka-badge--lg {
16265
+ height: var(--badge-size-height-lg);
16266
+ gap: var(--badge-gap-lg);
16267
+ padding: 0 var(--badge-padding-label-lg);
16268
+ font-family: var(--text-label-lg-regular-fontFamily);
16269
+ font-weight: var(--text-label-lg-regular-fontWeight);
16270
+ font-size: var(--text-label-lg-regular-fontSize);
16271
+ line-height: var(--text-label-lg-regular-lineHeight);
16386
16272
  }
16387
16273
 
16388
- .muka-bottombar--floating .muka-bottombar__content {
16389
- pointer-events: auto;
16274
+ /* Tighter leading padding when a leading icon or dot is present */
16275
+ .muka-badge--sm.muka-badge--has-icon,
16276
+ .muka-badge--sm.muka-badge--has-dot {
16277
+ padding-left: var(--badge-padding-leading-sm);
16278
+ }
16279
+ .muka-badge--md.muka-badge--has-icon,
16280
+ .muka-badge--md.muka-badge--has-dot {
16281
+ padding-left: var(--badge-padding-leading-md);
16282
+ }
16283
+ .muka-badge--lg.muka-badge--has-icon,
16284
+ .muka-badge--lg.muka-badge--has-dot {
16285
+ padding-left: var(--badge-padding-leading-lg);
16390
16286
  }
16391
16287
 
16392
- .muka-bottombar--floating .muka-bottombar__content {
16393
- background-color: var(--bottombar-color-background);
16394
- border-radius: var(--bottombar-floating-radius);
16395
- padding: var(--bottombar-floating-padding);
16396
- box-shadow: var(--bottombar-floating-shadow);
16397
- max-width: var(--bottombar-floating-max-width);
16398
- width: 100%;
16399
- margin: 0 auto;
16288
+ /* Icon-only — square, sized to the badge height (Figma: 24 / 32 / 40).
16289
+ * Padding resets at size+icon-only specificity so `--has-icon` leading padding
16290
+ * cannot win and shift the icon off-center. */
16291
+ .muka-badge--icon-only {
16292
+ justify-content: center;
16293
+ align-items: center;
16294
+ gap: 0;
16400
16295
  }
16401
16296
 
16402
- /* Override content padding inside floating per variant */
16403
- .muka-bottombar--floating.muka-bottombar--actions .muka-bottombar__content {
16404
- padding: var(--bottombar-floating-padding);
16297
+ .muka-badge--sm.muka-badge--icon-only,
16298
+ .muka-badge--md.muka-badge--icon-only,
16299
+ .muka-badge--lg.muka-badge--icon-only {
16300
+ padding: 0;
16405
16301
  }
16406
16302
 
16407
- .muka-bottombar--floating.muka-bottombar--navigation .muka-bottombar__content {
16408
- padding: var(--bottombar-navigation-floating-padding);
16303
+ .muka-badge--sm.muka-badge--icon-only {
16304
+ width: var(--badge-size-height-sm);
16409
16305
  }
16410
16306
 
16411
- /* ─── Desktop: Sidebar transformation ─────────────────── */
16307
+ .muka-badge--md.muka-badge--icon-only {
16308
+ width: var(--badge-size-height-md);
16309
+ }
16412
16310
 
16413
- @media (min-width: 1024px) {
16414
- .muka-bottombar--desktop-sidebar {
16415
- position: fixed;
16416
- left: 0;
16417
- top: 0;
16418
- bottom: 0;
16419
- width: 240px;
16420
- height: 100vh;
16421
- background-color: var(--bottombar-color-background);
16422
- border-right: var(--border-width-regular) solid var(--bottombar-color-border);
16423
- z-index: 10;
16424
- }
16311
+ .muka-badge--lg.muka-badge--icon-only {
16312
+ width: var(--badge-size-height-lg);
16313
+ }
16425
16314
 
16426
- .muka-bottombar--desktop-sidebar .muka-bottombar__divider {
16427
- display: none;
16428
- }
16315
+ /* Leading icon slot — Figma icon sizes: sm 16, md 20, lg 24 (matches Chip) */
16316
+ .muka-badge__icon {
16317
+ display: inline-flex;
16318
+ align-items: center;
16319
+ justify-content: center;
16320
+ flex-shrink: 0;
16321
+ }
16429
16322
 
16430
- .muka-bottombar--desktop-sidebar .muka-bottombar__content {
16431
- flex-direction: column;
16432
- align-items: stretch;
16433
- padding: var(--spacing-4) var(--spacing-3);
16434
- /* The rail runs to the top of the screen: clear the status bar there. */
16435
- padding-top: calc(var(--spacing-4) + env(safe-area-inset-top, 0px));
16436
- gap: var(--spacing-1);
16437
- }
16323
+ .muka-badge--sm .muka-badge__icon {
16324
+ width: var(--icon-size-xs);
16325
+ height: var(--icon-size-xs);
16326
+ }
16327
+ .muka-badge--md .muka-badge__icon {
16328
+ width: var(--icon-size-sm);
16329
+ height: var(--icon-size-sm);
16330
+ }
16331
+ .muka-badge--lg .muka-badge__icon {
16332
+ width: var(--icon-size-default);
16333
+ height: var(--icon-size-default);
16334
+ }
16438
16335
 
16439
- .muka-bottombar--desktop-sidebar .muka-bottombar__tab {
16440
- flex: 0 0 auto;
16441
- flex-direction: row;
16442
- justify-content: flex-start;
16443
- gap: var(--spacing-3);
16444
- padding: var(--spacing-3);
16445
- border-radius: var(--border-radius-md);
16446
- }
16336
+ /* Force the passed content (raw <svg> or an <Icon> wrapper) to the slot size,
16337
+ so callers don't have to size the icon to match each badge size. The
16338
+ .muka-icon selector is intentionally 2 classes deep to override .muka-icon--md. */
16339
+ .muka-badge__icon .muka-icon,
16340
+ .muka-badge__icon svg {
16341
+ width: 100%;
16342
+ height: 100%;
16343
+ }
16447
16344
 
16448
- .muka-bottombar--desktop-sidebar .muka-bottombar__tab:hover {
16449
- background-color: var(--color-surface-level2);
16450
- }
16345
+ /* Icons inherit the badge's per-variant foreground color */
16346
+ .muka-badge .muka-icon {
16347
+ color: inherit;
16348
+ }
16451
16349
 
16452
- .muka-bottombar--desktop-sidebar .muka-bottombar__tab-label {
16453
- font-family: var(--text-label-md-regular-fontFamily);
16454
- font-weight: var(--text-label-md-regular-fontWeight);
16455
- font-size: var(--text-label-md-regular-fontSize);
16456
- line-height: var(--text-label-md-regular-lineHeight);
16457
- }
16350
+ /* Dot indicator */
16351
+ .muka-badge__dot {
16352
+ flex-shrink: 0;
16353
+ border-radius: var(--border-radius-full);
16354
+ }
16458
16355
 
16459
- /* When floating and sidebar, remove the floating card styles */
16460
- .muka-bottombar--desktop-sidebar.muka-bottombar--floating {
16461
- padding: 0;
16462
- }
16356
+ .muka-badge--sm .muka-badge__dot {
16357
+ width: var(--badge-size-dot-sm);
16358
+ height: var(--badge-size-dot-sm);
16359
+ }
16463
16360
 
16464
- .muka-bottombar--desktop-sidebar.muka-bottombar--floating .muka-bottombar__content {
16465
- background-color: transparent;
16466
- border-radius: 0;
16467
- box-shadow: none;
16468
- }
16361
+ .muka-badge--md .muka-badge__dot {
16362
+ width: var(--badge-size-dot-md);
16363
+ height: var(--badge-size-dot-md);
16469
16364
  }
16470
16365
 
16471
- /* ─── Desktop: Top Navigation transformation ──────────── */
16366
+ .muka-badge--lg .muka-badge__dot {
16367
+ width: var(--badge-size-dot-lg);
16368
+ height: var(--badge-size-dot-lg);
16369
+ }
16472
16370
 
16473
- @media (min-width: 1024px) {
16474
- .muka-bottombar--desktop-topnav {
16475
- position: fixed;
16476
- top: 0;
16477
- left: 0;
16478
- right: 0;
16479
- width: 100%;
16480
- height: auto;
16481
- background-color: var(--bottombar-color-background);
16482
- border-bottom: var(--border-width-regular) solid var(--bottombar-color-border);
16483
- z-index: 10;
16484
- }
16371
+ .muka-badge__label {
16372
+ flex: 0 1 auto;
16373
+ min-width: 0;
16374
+ overflow: hidden;
16375
+ text-overflow: ellipsis;
16376
+ /*
16377
+ * The badge sets a tight line-height for compact sizing, but the label's
16378
+ * `overflow: hidden` (needed for ellipsis) then clips glyph descenders (g, y, p). Give the
16379
+ * label its own roomier line-height so descenders render; vertical centering is unaffected
16380
+ * because the badge height is fixed and content is centered via align-items: center.
16381
+ */
16382
+ line-height: normal;
16383
+ }
16485
16384
 
16486
- .muka-bottombar--desktop-topnav .muka-bottombar__divider {
16487
- display: none;
16488
- }
16385
+ /* Neutral variant */
16386
+ .muka-badge--neutral {
16387
+ background-color: var(--color-surface-level1);
16388
+ color: var(--color-text-default-default);
16389
+ }
16489
16390
 
16490
- .muka-bottombar--desktop-topnav .muka-bottombar__content {
16491
- flex-direction: row;
16492
- justify-content: center;
16493
- gap: var(--spacing-1);
16494
- padding: 0 var(--spacing-4);
16495
- max-width: var(--container-max-width-large, 1200px);
16496
- margin: 0 auto;
16497
- }
16391
+ .muka-badge--neutral .muka-badge__dot {
16392
+ background-color: var(--color-text-subtle-default);
16393
+ }
16498
16394
 
16499
- .muka-bottombar--desktop-topnav .muka-bottombar__tab {
16500
- flex: 0 0 auto;
16501
- flex-direction: row;
16502
- gap: var(--spacing-2);
16503
- padding: var(--spacing-3) var(--spacing-4);
16504
- border-radius: 0;
16505
- border-bottom: 2px solid transparent;
16506
- }
16395
+ /* Info variant */
16396
+ .muka-badge--info {
16397
+ background-color: var(--color-state-info-background);
16398
+ color: var(--color-state-info-contrast);
16399
+ }
16507
16400
 
16508
- .muka-bottombar--desktop-topnav .muka-bottombar__tab--active {
16509
- border-bottom-color: var(--color-action-default);
16510
- }
16401
+ .muka-badge--info .muka-badge__dot {
16402
+ background-color: var(--color-state-info-default);
16403
+ }
16511
16404
 
16512
- .muka-bottombar--desktop-topnav .muka-bottombar__tab:hover {
16513
- background-color: var(--color-surface-level2);
16514
- }
16405
+ /* Success variant */
16406
+ .muka-badge--success {
16407
+ background-color: var(--color-state-success-background);
16408
+ color: var(--color-state-success-contrast);
16409
+ }
16515
16410
 
16516
- .muka-bottombar--desktop-topnav .muka-bottombar__tab-label {
16517
- font-family: var(--text-label-md-regular-fontFamily);
16518
- font-weight: var(--text-label-md-regular-fontWeight);
16519
- font-size: var(--text-label-md-regular-fontSize);
16520
- line-height: var(--text-label-md-regular-lineHeight);
16521
- }
16411
+ .muka-badge--success .muka-badge__dot {
16412
+ background-color: var(--color-state-success-default);
16413
+ }
16522
16414
 
16523
- /* When floating and topnav, remove the floating card styles */
16524
- .muka-bottombar--desktop-topnav.muka-bottombar--floating {
16525
- padding: 0;
16526
- }
16415
+ /* Warning variant */
16416
+ .muka-badge--warning {
16417
+ background-color: var(--color-state-warning-background);
16418
+ color: var(--color-state-warning-contrast);
16419
+ }
16527
16420
 
16528
- .muka-bottombar--desktop-topnav.muka-bottombar--floating .muka-bottombar__content {
16529
- background-color: transparent;
16530
- border-radius: 0;
16531
- box-shadow: none;
16532
- }
16421
+ .muka-badge--warning .muka-badge__dot {
16422
+ background-color: var(--color-state-warning-default);
16533
16423
  }
16534
16424
 
16535
- /* ─── Print ────────────────────────────────────────────── */
16425
+ /* Error variant */
16426
+ .muka-badge--error {
16427
+ background-color: var(--color-state-error-background);
16428
+ color: var(--color-state-error-contrast);
16429
+ }
16536
16430
 
16537
- @media print {
16538
- .muka-bottombar {
16539
- display: none;
16540
- }
16431
+ .muka-badge--error .muka-badge__dot {
16432
+ background-color: var(--color-state-error-default);
16541
16433
  }
16542
16434
 
16543
16435
 
@@ -17733,3 +17625,111 @@ button.muka-chat-photo-grid__tile:focus-visible {
17733
17625
  border-bottom: none;
17734
17626
  }
17735
17627
 
17628
+
17629
+ /* SwipeActions */
17630
+ /* SwipeActions Component Styles */
17631
+
17632
+ .muka-swipe-actions {
17633
+ position: relative;
17634
+ overflow: hidden;
17635
+ touch-action: pan-y;
17636
+ -webkit-user-select: none;
17637
+ user-select: none;
17638
+ background-color: var(--color-surface-level3);
17639
+ }
17640
+
17641
+ .muka-swipe-actions--disabled {
17642
+ touch-action: auto;
17643
+ }
17644
+
17645
+ /* ─── Row that holds the actual content ────────────────── */
17646
+
17647
+ .muka-swipe-actions__row {
17648
+ position: relative;
17649
+ z-index: 1;
17650
+ background-color: inherit;
17651
+ will-change: transform;
17652
+ }
17653
+
17654
+ /* ─── Action panels — sit beneath the row ──────────────── */
17655
+
17656
+ .muka-swipe-actions__panel {
17657
+ position: absolute;
17658
+ top: 0;
17659
+ bottom: 0;
17660
+ display: flex;
17661
+ align-items: stretch;
17662
+ z-index: 0;
17663
+ }
17664
+
17665
+ .muka-swipe-actions__panel--left {
17666
+ left: 0;
17667
+ }
17668
+
17669
+ .muka-swipe-actions__panel--right {
17670
+ right: 0;
17671
+ }
17672
+
17673
+ /* ─── Single action button ─────────────────────────────── */
17674
+
17675
+ .muka-swipe-actions__button {
17676
+ display: flex;
17677
+ flex-direction: column;
17678
+ align-items: center;
17679
+ justify-content: center;
17680
+ gap: var(--spacing-1);
17681
+ border: none;
17682
+ cursor: pointer;
17683
+ padding: var(--spacing-2);
17684
+ background-color: var(--color-surface-level2);
17685
+ color: var(--color-text-default-default);
17686
+ font-family: var(--text-label-sm-semibold-fontFamily);
17687
+ font-weight: var(--text-label-sm-semibold-fontWeight);
17688
+ font-size: var(--text-label-sm-semibold-fontSize);
17689
+ line-height: var(--text-label-sm-semibold-lineHeight);
17690
+ -webkit-tap-highlight-color: transparent;
17691
+ transition: filter 0.12s ease;
17692
+ }
17693
+
17694
+ .muka-swipe-actions__button:hover {
17695
+ filter: brightness(0.95);
17696
+ }
17697
+
17698
+ .muka-swipe-actions__button:focus-visible {
17699
+ outline: 2px solid var(--color-action-default);
17700
+ outline-offset: -2px;
17701
+ }
17702
+
17703
+ .muka-swipe-actions__button-icon {
17704
+ display: inline-flex;
17705
+ align-items: center;
17706
+ justify-content: center;
17707
+ }
17708
+
17709
+ /* ─── Color variants ───────────────────────────────────── */
17710
+
17711
+ .muka-swipe-actions__button--neutral {
17712
+ background-color: var(--color-surface-level2);
17713
+ color: var(--color-text-default-default);
17714
+ }
17715
+
17716
+ .muka-swipe-actions__button--primary {
17717
+ background-color: var(--color-action-default);
17718
+ color: var(--color-text-default-inverse);
17719
+ }
17720
+
17721
+ .muka-swipe-actions__button--success {
17722
+ background-color: var(--color-state-success-default);
17723
+ color: var(--color-text-default-inverse);
17724
+ }
17725
+
17726
+ .muka-swipe-actions__button--warning {
17727
+ background-color: var(--color-state-warning-default);
17728
+ color: var(--color-text-default-default);
17729
+ }
17730
+
17731
+ .muka-swipe-actions__button--destructive {
17732
+ background-color: var(--color-state-error-default);
17733
+ color: var(--color-text-default-inverse);
17734
+ }
17735
+