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