@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
|
@@ -4929,114 +4929,6 @@ body {
|
|
|
4929
4929
|
}
|
|
4930
4930
|
|
|
4931
4931
|
|
|
4932
|
-
/* SwipeActions */
|
|
4933
|
-
/* SwipeActions Component Styles */
|
|
4934
|
-
|
|
4935
|
-
.muka-swipe-actions {
|
|
4936
|
-
position: relative;
|
|
4937
|
-
overflow: hidden;
|
|
4938
|
-
touch-action: pan-y;
|
|
4939
|
-
-webkit-user-select: none;
|
|
4940
|
-
user-select: none;
|
|
4941
|
-
background-color: var(--color-surface-level3);
|
|
4942
|
-
}
|
|
4943
|
-
|
|
4944
|
-
.muka-swipe-actions--disabled {
|
|
4945
|
-
touch-action: auto;
|
|
4946
|
-
}
|
|
4947
|
-
|
|
4948
|
-
/* ─── Row that holds the actual content ────────────────── */
|
|
4949
|
-
|
|
4950
|
-
.muka-swipe-actions__row {
|
|
4951
|
-
position: relative;
|
|
4952
|
-
z-index: 1;
|
|
4953
|
-
background-color: inherit;
|
|
4954
|
-
will-change: transform;
|
|
4955
|
-
}
|
|
4956
|
-
|
|
4957
|
-
/* ─── Action panels — sit beneath the row ──────────────── */
|
|
4958
|
-
|
|
4959
|
-
.muka-swipe-actions__panel {
|
|
4960
|
-
position: absolute;
|
|
4961
|
-
top: 0;
|
|
4962
|
-
bottom: 0;
|
|
4963
|
-
display: flex;
|
|
4964
|
-
align-items: stretch;
|
|
4965
|
-
z-index: 0;
|
|
4966
|
-
}
|
|
4967
|
-
|
|
4968
|
-
.muka-swipe-actions__panel--left {
|
|
4969
|
-
left: 0;
|
|
4970
|
-
}
|
|
4971
|
-
|
|
4972
|
-
.muka-swipe-actions__panel--right {
|
|
4973
|
-
right: 0;
|
|
4974
|
-
}
|
|
4975
|
-
|
|
4976
|
-
/* ─── Single action button ─────────────────────────────── */
|
|
4977
|
-
|
|
4978
|
-
.muka-swipe-actions__button {
|
|
4979
|
-
display: flex;
|
|
4980
|
-
flex-direction: column;
|
|
4981
|
-
align-items: center;
|
|
4982
|
-
justify-content: center;
|
|
4983
|
-
gap: var(--spacing-1);
|
|
4984
|
-
border: none;
|
|
4985
|
-
cursor: pointer;
|
|
4986
|
-
padding: var(--spacing-2);
|
|
4987
|
-
background-color: var(--color-surface-level2);
|
|
4988
|
-
color: var(--color-text-default-default);
|
|
4989
|
-
font-family: var(--text-label-sm-semibold-fontFamily);
|
|
4990
|
-
font-weight: var(--text-label-sm-semibold-fontWeight);
|
|
4991
|
-
font-size: var(--text-label-sm-semibold-fontSize);
|
|
4992
|
-
line-height: var(--text-label-sm-semibold-lineHeight);
|
|
4993
|
-
-webkit-tap-highlight-color: transparent;
|
|
4994
|
-
transition: filter 0.12s ease;
|
|
4995
|
-
}
|
|
4996
|
-
|
|
4997
|
-
.muka-swipe-actions__button:hover {
|
|
4998
|
-
filter: brightness(0.95);
|
|
4999
|
-
}
|
|
5000
|
-
|
|
5001
|
-
.muka-swipe-actions__button:focus-visible {
|
|
5002
|
-
outline: 2px solid var(--color-action-default);
|
|
5003
|
-
outline-offset: -2px;
|
|
5004
|
-
}
|
|
5005
|
-
|
|
5006
|
-
.muka-swipe-actions__button-icon {
|
|
5007
|
-
display: inline-flex;
|
|
5008
|
-
align-items: center;
|
|
5009
|
-
justify-content: center;
|
|
5010
|
-
}
|
|
5011
|
-
|
|
5012
|
-
/* ─── Color variants ───────────────────────────────────── */
|
|
5013
|
-
|
|
5014
|
-
.muka-swipe-actions__button--neutral {
|
|
5015
|
-
background-color: var(--color-surface-level2);
|
|
5016
|
-
color: var(--color-text-default-default);
|
|
5017
|
-
}
|
|
5018
|
-
|
|
5019
|
-
.muka-swipe-actions__button--primary {
|
|
5020
|
-
background-color: var(--color-action-default);
|
|
5021
|
-
color: var(--color-text-default-inverse);
|
|
5022
|
-
}
|
|
5023
|
-
|
|
5024
|
-
.muka-swipe-actions__button--success {
|
|
5025
|
-
background-color: var(--color-state-success-default);
|
|
5026
|
-
color: var(--color-text-default-inverse);
|
|
5027
|
-
}
|
|
5028
|
-
|
|
5029
|
-
.muka-swipe-actions__button--warning {
|
|
5030
|
-
background-color: var(--color-state-warning-default);
|
|
5031
|
-
color: var(--color-text-default-default);
|
|
5032
|
-
}
|
|
5033
|
-
|
|
5034
|
-
.muka-swipe-actions__button--destructive {
|
|
5035
|
-
background-color: var(--color-state-error-default);
|
|
5036
|
-
color: var(--color-text-default-inverse);
|
|
5037
|
-
}
|
|
5038
|
-
|
|
5039
|
-
|
|
5040
4932
|
/* Spinner */
|
|
5041
4933
|
/* Spinner Component Styles */
|
|
5042
4934
|
|
|
@@ -5542,6 +5434,81 @@ body {
|
|
|
5542
5434
|
}
|
|
5543
5435
|
|
|
5544
5436
|
|
|
5437
|
+
/* Skeleton */
|
|
5438
|
+
/* Skeleton Component Styles */
|
|
5439
|
+
|
|
5440
|
+
.muka-skeleton {
|
|
5441
|
+
background-color: var(--color-surface-level1);
|
|
5442
|
+
display: block;
|
|
5443
|
+
}
|
|
5444
|
+
|
|
5445
|
+
/* Variants */
|
|
5446
|
+
.muka-skeleton--text {
|
|
5447
|
+
height: 1em;
|
|
5448
|
+
border-radius: var(--radius-md);
|
|
5449
|
+
width: 100%;
|
|
5450
|
+
}
|
|
5451
|
+
|
|
5452
|
+
.muka-skeleton--circular {
|
|
5453
|
+
width: 2.5rem;
|
|
5454
|
+
height: 2.5rem;
|
|
5455
|
+
border-radius: var(--radius-full);
|
|
5456
|
+
}
|
|
5457
|
+
|
|
5458
|
+
.muka-skeleton--rectangular {
|
|
5459
|
+
height: 7.5rem;
|
|
5460
|
+
border-radius: var(--radius-md);
|
|
5461
|
+
width: 100%;
|
|
5462
|
+
}
|
|
5463
|
+
|
|
5464
|
+
/* Last line in multi-line text is shorter */
|
|
5465
|
+
.muka-skeleton--last-line {
|
|
5466
|
+
width: 80%;
|
|
5467
|
+
}
|
|
5468
|
+
|
|
5469
|
+
/* Lines container */
|
|
5470
|
+
.muka-skeleton__lines {
|
|
5471
|
+
display: flex;
|
|
5472
|
+
flex-direction: column;
|
|
5473
|
+
gap: var(--spacing-2);
|
|
5474
|
+
}
|
|
5475
|
+
|
|
5476
|
+
/* Shimmer animation */
|
|
5477
|
+
@keyframes muka-skeleton-shimmer {
|
|
5478
|
+
0% {
|
|
5479
|
+
background-position: -200% 0;
|
|
5480
|
+
}
|
|
5481
|
+
100% {
|
|
5482
|
+
background-position: 200% 0;
|
|
5483
|
+
}
|
|
5484
|
+
}
|
|
5485
|
+
|
|
5486
|
+
.muka-skeleton--shimmer {
|
|
5487
|
+
background: linear-gradient(
|
|
5488
|
+
90deg,
|
|
5489
|
+
var(--color-surface-level1) 25%,
|
|
5490
|
+
var(--color-surface-level2) 50%,
|
|
5491
|
+
var(--color-surface-level1) 75%
|
|
5492
|
+
);
|
|
5493
|
+
background-size: 200% 100%;
|
|
5494
|
+
animation: muka-skeleton-shimmer 1.5s ease-in-out infinite;
|
|
5495
|
+
}
|
|
5496
|
+
|
|
5497
|
+
/* Pulse animation */
|
|
5498
|
+
@keyframes muka-skeleton-pulse {
|
|
5499
|
+
0%, 100% {
|
|
5500
|
+
opacity: 1;
|
|
5501
|
+
}
|
|
5502
|
+
50% {
|
|
5503
|
+
opacity: 0.4;
|
|
5504
|
+
}
|
|
5505
|
+
}
|
|
5506
|
+
|
|
5507
|
+
.muka-skeleton--pulse {
|
|
5508
|
+
animation: muka-skeleton-pulse 1.5s ease-in-out infinite;
|
|
5509
|
+
}
|
|
5510
|
+
|
|
5511
|
+
|
|
5545
5512
|
/* SiteHeader */
|
|
5546
5513
|
/* SiteHeader Component Styles */
|
|
5547
5514
|
|
|
@@ -5649,115 +5616,40 @@ body {
|
|
|
5649
5616
|
}
|
|
5650
5617
|
|
|
5651
5618
|
|
|
5652
|
-
/*
|
|
5653
|
-
/*
|
|
5654
|
-
|
|
5655
|
-
.muka-skeleton {
|
|
5656
|
-
background-color: var(--color-surface-level1);
|
|
5657
|
-
display: block;
|
|
5658
|
-
}
|
|
5619
|
+
/* Sheet */
|
|
5620
|
+
/* Sheet Component Styles */
|
|
5659
5621
|
|
|
5660
|
-
/*
|
|
5661
|
-
.muka-skeleton--text {
|
|
5662
|
-
height: 1em;
|
|
5663
|
-
border-radius: var(--radius-md);
|
|
5664
|
-
width: 100%;
|
|
5665
|
-
}
|
|
5622
|
+
/* ─── Backdrop ────────────────────────────────────────── */
|
|
5666
5623
|
|
|
5667
|
-
.muka-
|
|
5668
|
-
|
|
5669
|
-
|
|
5670
|
-
|
|
5624
|
+
.muka-sheet__overlay {
|
|
5625
|
+
position: fixed;
|
|
5626
|
+
inset: 0;
|
|
5627
|
+
background-color: var(--color-surface-backdrop);
|
|
5628
|
+
-webkit-backdrop-filter: blur(var(--effect-blur-backdrop));
|
|
5629
|
+
backdrop-filter: blur(var(--effect-blur-backdrop));
|
|
5630
|
+
z-index: 50;
|
|
5671
5631
|
}
|
|
5672
5632
|
|
|
5673
|
-
|
|
5674
|
-
height: 7.5rem;
|
|
5675
|
-
border-radius: var(--radius-md);
|
|
5676
|
-
width: 100%;
|
|
5677
|
-
}
|
|
5633
|
+
/* ─── Surface ─────────────────────────────────────────── */
|
|
5678
5634
|
|
|
5679
|
-
|
|
5680
|
-
|
|
5681
|
-
|
|
5682
|
-
|
|
5635
|
+
.muka-sheet {
|
|
5636
|
+
position: fixed;
|
|
5637
|
+
left: 0;
|
|
5638
|
+
right: 0;
|
|
5639
|
+
bottom: 0;
|
|
5640
|
+
z-index: 51;
|
|
5683
5641
|
|
|
5684
|
-
/* Lines container */
|
|
5685
|
-
.muka-skeleton__lines {
|
|
5686
5642
|
display: flex;
|
|
5687
5643
|
flex-direction: column;
|
|
5688
|
-
gap: var(--spacing-2);
|
|
5689
|
-
}
|
|
5690
5644
|
|
|
5691
|
-
|
|
5692
|
-
@keyframes muka-skeleton-shimmer {
|
|
5693
|
-
0% {
|
|
5694
|
-
background-position: -200% 0;
|
|
5695
|
-
}
|
|
5696
|
-
100% {
|
|
5697
|
-
background-position: 200% 0;
|
|
5698
|
-
}
|
|
5699
|
-
}
|
|
5645
|
+
max-height: 96dvh;
|
|
5700
5646
|
|
|
5701
|
-
|
|
5702
|
-
|
|
5703
|
-
|
|
5704
|
-
|
|
5705
|
-
|
|
5706
|
-
|
|
5707
|
-
);
|
|
5708
|
-
background-size: 200% 100%;
|
|
5709
|
-
animation: muka-skeleton-shimmer 1.5s ease-in-out infinite;
|
|
5710
|
-
}
|
|
5711
|
-
|
|
5712
|
-
/* Pulse animation */
|
|
5713
|
-
@keyframes muka-skeleton-pulse {
|
|
5714
|
-
0%, 100% {
|
|
5715
|
-
opacity: 1;
|
|
5716
|
-
}
|
|
5717
|
-
50% {
|
|
5718
|
-
opacity: 0.4;
|
|
5719
|
-
}
|
|
5720
|
-
}
|
|
5721
|
-
|
|
5722
|
-
.muka-skeleton--pulse {
|
|
5723
|
-
animation: muka-skeleton-pulse 1.5s ease-in-out infinite;
|
|
5724
|
-
}
|
|
5725
|
-
|
|
5726
|
-
|
|
5727
|
-
/* Sheet */
|
|
5728
|
-
/* Sheet Component Styles */
|
|
5729
|
-
|
|
5730
|
-
/* ─── Backdrop ────────────────────────────────────────── */
|
|
5731
|
-
|
|
5732
|
-
.muka-sheet__overlay {
|
|
5733
|
-
position: fixed;
|
|
5734
|
-
inset: 0;
|
|
5735
|
-
background-color: var(--color-surface-backdrop);
|
|
5736
|
-
-webkit-backdrop-filter: blur(var(--effect-blur-backdrop));
|
|
5737
|
-
backdrop-filter: blur(var(--effect-blur-backdrop));
|
|
5738
|
-
z-index: 50;
|
|
5739
|
-
}
|
|
5740
|
-
|
|
5741
|
-
/* ─── Surface ─────────────────────────────────────────── */
|
|
5742
|
-
|
|
5743
|
-
.muka-sheet {
|
|
5744
|
-
position: fixed;
|
|
5745
|
-
left: 0;
|
|
5746
|
-
right: 0;
|
|
5747
|
-
bottom: 0;
|
|
5748
|
-
z-index: 51;
|
|
5749
|
-
|
|
5750
|
-
display: flex;
|
|
5751
|
-
flex-direction: column;
|
|
5752
|
-
|
|
5753
|
-
max-height: 96dvh;
|
|
5754
|
-
|
|
5755
|
-
background-color: var(--color-surface-level3);
|
|
5756
|
-
border-top-left-radius: var(--radius-lg);
|
|
5757
|
-
border-top-right-radius: var(--radius-lg);
|
|
5758
|
-
box-shadow: var(--shadow-level5);
|
|
5759
|
-
|
|
5760
|
-
outline: none;
|
|
5647
|
+
background-color: var(--color-surface-level3);
|
|
5648
|
+
border-top-left-radius: var(--radius-lg);
|
|
5649
|
+
border-top-right-radius: var(--radius-lg);
|
|
5650
|
+
box-shadow: var(--shadow-level5);
|
|
5651
|
+
|
|
5652
|
+
outline: none;
|
|
5761
5653
|
}
|
|
5762
5654
|
|
|
5763
5655
|
/* Safe-area bottom inset for the iPhone home indicator. */
|
|
@@ -7107,119 +6999,119 @@ body {
|
|
|
7107
6999
|
}
|
|
7108
7000
|
|
|
7109
7001
|
|
|
7110
|
-
/*
|
|
7111
|
-
/*
|
|
7002
|
+
/* ProgressTracker */
|
|
7003
|
+
/* ProgressTracker Component Styles — Using Muka Design Tokens */
|
|
7112
7004
|
|
|
7113
7005
|
/* ─── Root ──────────────────────────────────────────────── */
|
|
7114
|
-
.muka-progress-
|
|
7115
|
-
container-type: inline-size;
|
|
7116
|
-
display: flex;
|
|
7117
|
-
flex-direction: column;
|
|
7118
|
-
align-items: stretch;
|
|
7006
|
+
.muka-progress-tracker {
|
|
7119
7007
|
width: 100%;
|
|
7120
|
-
/* Top padding provides the vertical rhythm between stacked steps */
|
|
7121
|
-
padding-top: var(--spacing-8);
|
|
7122
|
-
}
|
|
7123
|
-
|
|
7124
|
-
/* Per-state gap: content-bearing steps are tighter, header-only steps looser */
|
|
7125
|
-
.muka-progress-accordeon--current,
|
|
7126
|
-
.muka-progress-accordeon--current.muka-progress-accordeon--expanded,
|
|
7127
|
-
.muka-progress-accordeon--past.muka-progress-accordeon--expanded,
|
|
7128
|
-
.muka-progress-accordeon--upcoming.muka-progress-accordeon--expanded {
|
|
7129
|
-
gap: var(--spacing-6);
|
|
7130
7008
|
}
|
|
7131
7009
|
|
|
7132
|
-
.muka-progress-
|
|
7133
|
-
|
|
7134
|
-
.muka-progress-accordeon--upcoming.muka-progress-accordeon--collapsed,
|
|
7135
|
-
.muka-progress-accordeon--current.muka-progress-accordeon--collapsed {
|
|
7136
|
-
gap: var(--spacing-8);
|
|
7010
|
+
.muka-progress-tracker--horizontal {
|
|
7011
|
+
padding-bottom: var(--spacing-7);
|
|
7137
7012
|
}
|
|
7138
7013
|
|
|
7139
|
-
/*
|
|
7140
|
-
|
|
7141
|
-
|
|
7142
|
-
.muka-progress-
|
|
7143
|
-
|
|
7144
|
-
|
|
7145
|
-
|
|
7146
|
-
width:
|
|
7014
|
+
/* Scrollable: the root scrolls sideways when the steps don't fit. The inline
|
|
7015
|
+
padding leaves room for the first and last labels, which hang past their
|
|
7016
|
+
indicators; the scrollbar stays hidden (touch and trackpad still scroll). */
|
|
7017
|
+
.muka-progress-tracker--scrollable {
|
|
7018
|
+
overflow-x: auto;
|
|
7019
|
+
overflow-y: hidden;
|
|
7020
|
+
-webkit-overflow-scrolling: touch;
|
|
7021
|
+
scrollbar-width: none;
|
|
7022
|
+
padding-inline: var(--spacing-12);
|
|
7023
|
+
box-sizing: border-box;
|
|
7147
7024
|
}
|
|
7148
7025
|
|
|
7149
|
-
|
|
7150
|
-
|
|
7151
|
-
display: flex;
|
|
7152
|
-
flex-direction: column;
|
|
7153
|
-
gap: var(--spacing-3);
|
|
7154
|
-
width: 100%;
|
|
7026
|
+
.muka-progress-tracker--scrollable::-webkit-scrollbar {
|
|
7027
|
+
display: none;
|
|
7155
7028
|
}
|
|
7156
7029
|
|
|
7157
|
-
|
|
7158
|
-
|
|
7159
|
-
|
|
7160
|
-
|
|
7161
|
-
|
|
7162
|
-
|
|
7030
|
+
/* ─── Track (layered container) ─────────────────────────── */
|
|
7031
|
+
.muka-progress-tracker--horizontal .muka-progress-tracker__track {
|
|
7032
|
+
position: relative;
|
|
7033
|
+
/* Vertical padding = (indicator size - connector height) / 2 = (32 - 4) / 2 = 14px */
|
|
7034
|
+
padding-top: 14px;
|
|
7035
|
+
padding-bottom: 14px;
|
|
7163
7036
|
}
|
|
7164
7037
|
|
|
7165
|
-
|
|
7038
|
+
/* ─── Steps layer (on top) — horizontal ─────────────────── */
|
|
7039
|
+
.muka-progress-tracker--horizontal .muka-progress-tracker__steps {
|
|
7040
|
+
position: absolute;
|
|
7041
|
+
inset: 0;
|
|
7166
7042
|
display: flex;
|
|
7167
|
-
flex: 1 0 0;
|
|
7168
|
-
min-width: 0;
|
|
7169
7043
|
align-items: flex-start;
|
|
7170
|
-
|
|
7171
|
-
|
|
7172
|
-
|
|
7173
|
-
/* Steps with header controls (edit / chevron) are 40px tall; nudge the heading
|
|
7174
|
-
so a single line centres against the indicator + controls row. */
|
|
7175
|
-
.muka-progress-accordeon:has(.muka-progress-accordeon__controls)
|
|
7176
|
-
.muka-progress-accordeon__heading-group {
|
|
7177
|
-
padding-top: var(--spacing-1);
|
|
7044
|
+
justify-content: space-between;
|
|
7045
|
+
z-index: 2;
|
|
7178
7046
|
}
|
|
7179
7047
|
|
|
7180
|
-
|
|
7048
|
+
/* ─── Individual step — horizontal ──────────────────────── */
|
|
7049
|
+
.muka-progress-tracker--horizontal .muka-progress-tracker__step {
|
|
7181
7050
|
display: flex;
|
|
7182
|
-
flex-
|
|
7051
|
+
flex-direction: column;
|
|
7183
7052
|
align-items: center;
|
|
7184
|
-
|
|
7053
|
+
position: relative;
|
|
7054
|
+
/* Labels are absolutely positioned so the step stays 32px and
|
|
7055
|
+
circle centers line up with the connector padding. */
|
|
7056
|
+
width: 32px;
|
|
7057
|
+
flex: 0 0 32px;
|
|
7185
7058
|
}
|
|
7186
7059
|
|
|
7187
7060
|
/* ─── Step indicator (circle) ───────────────────────────── */
|
|
7188
|
-
.muka-progress-
|
|
7061
|
+
.muka-progress-tracker__indicator {
|
|
7189
7062
|
width: 32px;
|
|
7190
7063
|
height: 32px;
|
|
7191
|
-
flex-shrink: 0;
|
|
7192
7064
|
border-radius: var(--border-radius-full);
|
|
7193
7065
|
display: flex;
|
|
7194
7066
|
align-items: center;
|
|
7195
7067
|
justify-content: center;
|
|
7068
|
+
flex-shrink: 0;
|
|
7069
|
+
position: relative;
|
|
7070
|
+
z-index: 1;
|
|
7196
7071
|
}
|
|
7197
7072
|
|
|
7198
|
-
/* Past: dark accent
|
|
7199
|
-
.muka-progress-
|
|
7073
|
+
/* Past: dark accent contrast circle with white checkmark */
|
|
7074
|
+
.muka-progress-tracker__indicator--past {
|
|
7200
7075
|
background-color: var(--alias-color-accent-contrast);
|
|
7201
7076
|
color: var(--color-text-default-inverse);
|
|
7202
7077
|
}
|
|
7203
7078
|
|
|
7204
|
-
|
|
7205
|
-
|
|
7079
|
+
.muka-progress-tracker--horizontal .muka-progress-tracker__indicator--interactive {
|
|
7080
|
+
cursor: pointer;
|
|
7081
|
+
}
|
|
7082
|
+
|
|
7083
|
+
.muka-progress-tracker--horizontal .muka-progress-tracker__indicator--interactive:focus-visible {
|
|
7084
|
+
outline: 2px solid var(--color-border-focus);
|
|
7085
|
+
outline-offset: 2px;
|
|
7086
|
+
}
|
|
7087
|
+
|
|
7088
|
+
.muka-progress-tracker--horizontal .muka-progress-tracker__indicator--past.muka-progress-tracker__indicator--interactive:hover {
|
|
7089
|
+
background-color: var(--alias-color-accent-pressed);
|
|
7090
|
+
}
|
|
7091
|
+
|
|
7092
|
+
.muka-progress-tracker--horizontal .muka-progress-tracker__indicator--current.muka-progress-tracker__indicator--interactive:hover {
|
|
7093
|
+
background-color: var(--alias-color-accent-hover);
|
|
7094
|
+
}
|
|
7095
|
+
|
|
7096
|
+
/* Upcoming (clickableSteps="all"): a 4px halo, the vertical hover's 40px circle */
|
|
7097
|
+
.muka-progress-tracker--horizontal .muka-progress-tracker__indicator--upcoming.muka-progress-tracker__indicator--interactive:hover {
|
|
7098
|
+
box-shadow: 0 0 0 4px var(--color-surface-level1);
|
|
7099
|
+
}
|
|
7100
|
+
|
|
7101
|
+
/* Current: accent default circle with white number */
|
|
7102
|
+
.muka-progress-tracker__indicator--current {
|
|
7206
7103
|
background-color: var(--alias-color-accent-default);
|
|
7207
7104
|
color: var(--color-text-default-inverse);
|
|
7208
7105
|
}
|
|
7209
7106
|
|
|
7210
|
-
/* Upcoming: sunken/
|
|
7211
|
-
.muka-progress-
|
|
7107
|
+
/* Upcoming: sunken/gray circle with dark number */
|
|
7108
|
+
.muka-progress-tracker__indicator--upcoming {
|
|
7212
7109
|
background-color: var(--color-surface-sunken);
|
|
7213
7110
|
color: var(--color-text-default-default);
|
|
7214
7111
|
}
|
|
7215
7112
|
|
|
7216
|
-
|
|
7217
|
-
|
|
7218
|
-
height: 20px;
|
|
7219
|
-
color: var(--color-text-default-inverse);
|
|
7220
|
-
}
|
|
7221
|
-
|
|
7222
|
-
.muka-progress-accordeon__number {
|
|
7113
|
+
/* ─── Step number text ──────────────────────────────────── */
|
|
7114
|
+
.muka-progress-tracker__number {
|
|
7223
7115
|
font-family: var(--text-label-md-bold-fontFamily);
|
|
7224
7116
|
font-weight: var(--text-label-md-bold-fontWeight);
|
|
7225
7117
|
font-size: var(--text-label-md-bold-fontSize);
|
|
@@ -7228,472 +7120,214 @@ body {
|
|
|
7228
7120
|
user-select: none;
|
|
7229
7121
|
}
|
|
7230
7122
|
|
|
7231
|
-
|
|
7232
|
-
|
|
7123
|
+
.muka-progress-tracker--horizontal .muka-progress-tracker__indicator--upcoming .muka-progress-tracker__number {
|
|
7124
|
+
font-family: var(--text-label-md-bold-fontFamily);
|
|
7125
|
+
font-weight: var(--text-label-md-bold-fontWeight);
|
|
7126
|
+
}
|
|
7127
|
+
|
|
7128
|
+
.muka-progress-tracker--vertical .muka-progress-tracker__indicator--upcoming .muka-progress-tracker__number {
|
|
7233
7129
|
font-family: var(--text-label-md-semibold-fontFamily);
|
|
7234
7130
|
font-weight: var(--text-label-md-semibold-fontWeight);
|
|
7131
|
+
font-size: var(--text-label-md-semibold-fontSize);
|
|
7132
|
+
line-height: var(--text-label-md-semibold-lineHeight);
|
|
7235
7133
|
}
|
|
7236
7134
|
|
|
7237
|
-
/* ───
|
|
7238
|
-
.muka-progress-
|
|
7239
|
-
|
|
7240
|
-
|
|
7241
|
-
margin: 0;
|
|
7242
|
-
font-family: var(--text-heading-md-fontFamily);
|
|
7243
|
-
font-weight: var(--text-heading-md-fontWeight);
|
|
7244
|
-
font-size: var(--text-heading-md-fontSize);
|
|
7245
|
-
line-height: var(--text-heading-md-lineHeight);
|
|
7246
|
-
letter-spacing: var(--text-heading-md-letterSpacing);
|
|
7247
|
-
color: var(--color-text-default-default);
|
|
7135
|
+
/* ─── Checkmark icon ────────────────────────────────────── */
|
|
7136
|
+
.muka-progress-tracker__check-icon {
|
|
7137
|
+
width: 20px;
|
|
7138
|
+
height: 20px;
|
|
7248
7139
|
}
|
|
7249
7140
|
|
|
7250
|
-
/*
|
|
7251
|
-
|
|
7252
|
-
.muka-progress-
|
|
7253
|
-
|
|
7254
|
-
|
|
7255
|
-
|
|
7256
|
-
|
|
7257
|
-
|
|
7258
|
-
|
|
7141
|
+
/* Past checkmark uses inverse foreground, matching the active step number.
|
|
7142
|
+
Scoped under the indicator to override the Icon component's default color. */
|
|
7143
|
+
.muka-progress-tracker__indicator--past .muka-progress-tracker__check-icon {
|
|
7144
|
+
color: var(--color-text-default-inverse);
|
|
7145
|
+
}
|
|
7146
|
+
|
|
7147
|
+
/* ─── Step label — horizontal ───────────────────────────── */
|
|
7148
|
+
.muka-progress-tracker--horizontal .muka-progress-tracker__label {
|
|
7149
|
+
position: absolute;
|
|
7150
|
+
top: 39px;
|
|
7151
|
+
left: 50%;
|
|
7152
|
+
transform: translateX(-50%);
|
|
7153
|
+
font-family: var(--text-label-sm-regular-fontFamily);
|
|
7154
|
+
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
7155
|
+
font-size: var(--text-label-sm-regular-fontSize);
|
|
7156
|
+
line-height: var(--text-label-sm-regular-lineHeight);
|
|
7259
7157
|
color: var(--color-text-default-default);
|
|
7158
|
+
text-align: center;
|
|
7159
|
+
max-width: 120px;
|
|
7160
|
+
white-space: nowrap;
|
|
7161
|
+
overflow: hidden;
|
|
7162
|
+
text-overflow: ellipsis;
|
|
7260
7163
|
}
|
|
7261
7164
|
|
|
7262
|
-
/*
|
|
7263
|
-
.muka-progress-
|
|
7264
|
-
|
|
7165
|
+
/* Current step label is bold (horizontal only) */
|
|
7166
|
+
.muka-progress-tracker--horizontal .muka-progress-tracker__label--current {
|
|
7167
|
+
font-family: var(--text-label-sm-bold-fontFamily);
|
|
7168
|
+
font-weight: var(--text-label-sm-bold-fontWeight);
|
|
7265
7169
|
}
|
|
7266
7170
|
|
|
7267
|
-
/*
|
|
7268
|
-
.
|
|
7269
|
-
|
|
7171
|
+
/* Selected step: a pill behind the label (horizontal), matching the vertical
|
|
7172
|
+
selected pill's surface. The label stays centred under its indicator. */
|
|
7173
|
+
.muka-progress-tracker--horizontal .muka-progress-tracker__step[data-selected='true'] .muka-progress-tracker__label {
|
|
7174
|
+
padding: 0 var(--spacing-2);
|
|
7175
|
+
border-radius: var(--border-radius-full);
|
|
7176
|
+
background-color: var(--color-surface-level1);
|
|
7177
|
+
max-width: calc(120px + 2 * var(--spacing-2));
|
|
7270
7178
|
}
|
|
7271
7179
|
|
|
7272
|
-
/* ───
|
|
7273
|
-
.muka-progress-
|
|
7180
|
+
/* ─── Connectors layer (behind indicators) — horizontal ─── */
|
|
7181
|
+
.muka-progress-tracker--horizontal .muka-progress-tracker__connectors {
|
|
7274
7182
|
display: flex;
|
|
7275
|
-
|
|
7276
|
-
|
|
7277
|
-
|
|
7183
|
+
align-items: center;
|
|
7184
|
+
/* Horizontal padding = indicator radius (32/2 = 16px) so lines meet circle centers */
|
|
7185
|
+
padding-left: var(--spacing-4);
|
|
7186
|
+
padding-right: var(--spacing-4);
|
|
7187
|
+
position: relative;
|
|
7188
|
+
z-index: 1;
|
|
7278
7189
|
}
|
|
7279
7190
|
|
|
7280
|
-
/*
|
|
7281
|
-
|
|
7282
|
-
|
|
7283
|
-
|
|
7284
|
-
|
|
7285
|
-
|
|
7286
|
-
|
|
7287
|
-
|
|
7288
|
-
|
|
7289
|
-
|
|
7290
|
-
|
|
7191
|
+
/* Rounder, bar, rounder in a row. Chromium treats a negative gap as invalid,
|
|
7192
|
+
so the overlap is margins: the bar runs 2px under each circle. */
|
|
7193
|
+
.muka-progress-tracker--horizontal .muka-progress-tracker__connector {
|
|
7194
|
+
display: flex;
|
|
7195
|
+
flex-direction: row;
|
|
7196
|
+
align-items: center;
|
|
7197
|
+
flex: 1 0 0;
|
|
7198
|
+
height: 4px;
|
|
7199
|
+
min-width: 1px;
|
|
7200
|
+
position: relative;
|
|
7201
|
+
overflow: visible;
|
|
7202
|
+
background: none;
|
|
7291
7203
|
}
|
|
7292
7204
|
|
|
7293
|
-
.muka-progress-
|
|
7294
|
-
|
|
7295
|
-
|
|
7296
|
-
|
|
7297
|
-
grid-template-rows var(--motion-duration-view) var(--motion-easing-exit),
|
|
7298
|
-
opacity calc(var(--motion-duration-view) * 0.6) var(--motion-easing-exit);
|
|
7205
|
+
.muka-progress-tracker--horizontal .muka-progress-tracker__connector-line {
|
|
7206
|
+
flex: 1 1 auto;
|
|
7207
|
+
height: 4px;
|
|
7208
|
+
min-width: 1px;
|
|
7299
7209
|
}
|
|
7300
7210
|
|
|
7301
|
-
|
|
7302
|
-
|
|
7303
|
-
0 height (padding on the item would leave a residual gap when collapsed). */
|
|
7304
|
-
.muka-progress-accordeon__panel-clip {
|
|
7305
|
-
overflow: hidden;
|
|
7306
|
-
min-height: 0;
|
|
7211
|
+
.muka-progress-tracker--horizontal .muka-progress-tracker__connector--past .muka-progress-tracker__connector-line {
|
|
7212
|
+
background-color: var(--alias-color-accent-contrast);
|
|
7307
7213
|
}
|
|
7308
7214
|
|
|
7309
|
-
|
|
7310
|
-
|
|
7311
|
-
|
|
7312
|
-
|
|
7313
|
-
|
|
7314
|
-
|
|
7315
|
-
gap: var(--spacing-6);
|
|
7316
|
-
padding-top: var(--spacing-4);
|
|
7317
|
-
width: 100%;
|
|
7215
|
+
.muka-progress-tracker--horizontal .muka-progress-tracker__connector--current .muka-progress-tracker__connector-line {
|
|
7216
|
+
background: linear-gradient(
|
|
7217
|
+
to right,
|
|
7218
|
+
var(--alias-color-accent-contrast) 0%,
|
|
7219
|
+
var(--alias-color-accent-default) 100%
|
|
7220
|
+
);
|
|
7318
7221
|
}
|
|
7319
7222
|
|
|
7320
|
-
|
|
7321
|
-
|
|
7322
|
-
|
|
7323
|
-
|
|
7324
|
-
|
|
7325
|
-
|
|
7223
|
+
.muka-progress-tracker--horizontal .muka-progress-tracker__connector--current-right .muka-progress-tracker__connector-line {
|
|
7224
|
+
background: linear-gradient(
|
|
7225
|
+
to right,
|
|
7226
|
+
var(--alias-color-accent-default) 0%,
|
|
7227
|
+
var(--alias-color-accent-default) 15%,
|
|
7228
|
+
var(--color-surface-sunken) 50%
|
|
7229
|
+
);
|
|
7326
7230
|
}
|
|
7327
7231
|
|
|
7328
|
-
.muka-progress-
|
|
7329
|
-
|
|
7232
|
+
.muka-progress-tracker--horizontal .muka-progress-tracker__connector--upcoming .muka-progress-tracker__connector-line {
|
|
7233
|
+
background-color: var(--color-surface-sunken);
|
|
7330
7234
|
}
|
|
7331
7235
|
|
|
7332
|
-
/*
|
|
7333
|
-
.muka-progress-
|
|
7334
|
-
|
|
7236
|
+
/* Past: solid dark line (vertical; horizontal uses the inner line) */
|
|
7237
|
+
.muka-progress-tracker__connector--past {
|
|
7238
|
+
background-color: var(--alias-color-accent-contrast);
|
|
7335
7239
|
}
|
|
7336
7240
|
|
|
7337
|
-
/*
|
|
7338
|
-
|
|
7339
|
-
|
|
7340
|
-
32px step indicator, so nudge the text down to keep a single line centred. */
|
|
7341
|
-
.muka-progress-accordeon__heading {
|
|
7342
|
-
font-size: var(--text-heading-sm-fontSize);
|
|
7343
|
-
line-height: var(--text-heading-sm-lineHeight);
|
|
7344
|
-
padding-top: var(--spacing-1);
|
|
7345
|
-
}
|
|
7346
|
-
|
|
7347
|
-
/* Edit button swaps to the icon-only variant */
|
|
7348
|
-
.muka-progress-accordeon__edit--wide {
|
|
7349
|
-
display: none;
|
|
7350
|
-
}
|
|
7351
|
-
|
|
7352
|
-
.muka-progress-accordeon__edit--narrow {
|
|
7353
|
-
display: inline-flex;
|
|
7354
|
-
}
|
|
7355
|
-
|
|
7356
|
-
/* Action buttons stretch to fill the row */
|
|
7357
|
-
.muka-progress-accordeon__actions {
|
|
7358
|
-
justify-content: stretch;
|
|
7359
|
-
}
|
|
7360
|
-
|
|
7361
|
-
.muka-progress-accordeon__action {
|
|
7362
|
-
flex: 1 0 0;
|
|
7363
|
-
min-width: 0;
|
|
7364
|
-
}
|
|
7241
|
+
/* Upcoming: solid gray line */
|
|
7242
|
+
.muka-progress-tracker__connector--upcoming {
|
|
7243
|
+
background-color: var(--color-surface-sunken);
|
|
7365
7244
|
}
|
|
7366
7245
|
|
|
7246
|
+
/* ═══════════════════════════════════════════════════════════
|
|
7247
|
+
Vertical orientation
|
|
7248
|
+
═══════════════════════════════════════════════════════════ */
|
|
7367
7249
|
|
|
7368
|
-
|
|
7369
|
-
|
|
7370
|
-
|
|
7371
|
-
|
|
7372
|
-
|
|
7250
|
+
.muka-progress-tracker--vertical .muka-progress-tracker__track {
|
|
7251
|
+
display: flex;
|
|
7252
|
+
flex-direction: column;
|
|
7253
|
+
align-items: stretch;
|
|
7254
|
+
gap: var(--spacing-6);
|
|
7373
7255
|
width: 100%;
|
|
7374
7256
|
}
|
|
7375
7257
|
|
|
7376
|
-
.muka-progress-tracker--
|
|
7377
|
-
|
|
7378
|
-
|
|
7379
|
-
|
|
7380
|
-
|
|
7381
|
-
|
|
7382
|
-
|
|
7383
|
-
|
|
7384
|
-
|
|
7385
|
-
overflow-y: hidden;
|
|
7386
|
-
-webkit-overflow-scrolling: touch;
|
|
7387
|
-
scrollbar-width: none;
|
|
7388
|
-
padding-inline: var(--spacing-12);
|
|
7389
|
-
box-sizing: border-box;
|
|
7390
|
-
}
|
|
7391
|
-
|
|
7392
|
-
.muka-progress-tracker--scrollable::-webkit-scrollbar {
|
|
7393
|
-
display: none;
|
|
7258
|
+
.muka-progress-tracker--vertical .muka-progress-tracker__step {
|
|
7259
|
+
display: flex;
|
|
7260
|
+
flex-direction: row;
|
|
7261
|
+
align-items: flex-start;
|
|
7262
|
+
gap: var(--spacing-3);
|
|
7263
|
+
padding-right: var(--spacing-1);
|
|
7264
|
+
position: relative;
|
|
7265
|
+
width: 100%;
|
|
7266
|
+
min-height: 32px;
|
|
7394
7267
|
}
|
|
7395
7268
|
|
|
7396
|
-
|
|
7397
|
-
|
|
7398
|
-
position: relative;
|
|
7399
|
-
/* Vertical padding = (indicator size - connector height) / 2 = (32 - 4) / 2 = 14px */
|
|
7400
|
-
padding-top: 14px;
|
|
7401
|
-
padding-bottom: 14px;
|
|
7269
|
+
.muka-progress-tracker--vertical .muka-progress-tracker__step--interactive {
|
|
7270
|
+
cursor: pointer;
|
|
7402
7271
|
}
|
|
7403
7272
|
|
|
7404
|
-
|
|
7405
|
-
|
|
7406
|
-
|
|
7407
|
-
|
|
7408
|
-
display: flex;
|
|
7409
|
-
align-items: flex-start;
|
|
7410
|
-
justify-content: space-between;
|
|
7411
|
-
z-index: 2;
|
|
7273
|
+
.muka-progress-tracker--vertical .muka-progress-tracker__step--interactive:focus-visible {
|
|
7274
|
+
outline: 2px solid var(--color-border-focus);
|
|
7275
|
+
outline-offset: 4px;
|
|
7276
|
+
border-radius: 20px;
|
|
7412
7277
|
}
|
|
7413
7278
|
|
|
7414
|
-
/*
|
|
7415
|
-
.muka-progress-tracker--
|
|
7279
|
+
/* Indicator column: circle only; connector is absolutely positioned on the step */
|
|
7280
|
+
.muka-progress-tracker--vertical .muka-progress-tracker__indicator-col {
|
|
7416
7281
|
display: flex;
|
|
7417
7282
|
flex-direction: column;
|
|
7418
7283
|
align-items: center;
|
|
7284
|
+
flex-shrink: 0;
|
|
7419
7285
|
position: relative;
|
|
7420
|
-
/* Labels are absolutely positioned so the step stays 32px and
|
|
7421
|
-
circle centers line up with the connector padding. */
|
|
7422
7286
|
width: 32px;
|
|
7423
|
-
|
|
7287
|
+
z-index: 1;
|
|
7424
7288
|
}
|
|
7425
7289
|
|
|
7426
|
-
/*
|
|
7427
|
-
.muka-progress-
|
|
7428
|
-
|
|
7429
|
-
|
|
7430
|
-
|
|
7431
|
-
|
|
7432
|
-
|
|
7433
|
-
|
|
7434
|
-
|
|
7435
|
-
|
|
7436
|
-
z-index: 1;
|
|
7290
|
+
/* Vertical connector: from mid-indicator through gap to next mid-indicator */
|
|
7291
|
+
.muka-progress-tracker--vertical .muka-progress-tracker__connector {
|
|
7292
|
+
position: absolute;
|
|
7293
|
+
left: 14px; /* (32px indicator - 4px line) / 2 */
|
|
7294
|
+
top: 16px;
|
|
7295
|
+
/* Through track gap (spacing-6) into the next indicator's top half */
|
|
7296
|
+
bottom: calc(-1 * var(--spacing-6) - 16px);
|
|
7297
|
+
width: 4px;
|
|
7298
|
+
z-index: 0;
|
|
7299
|
+
overflow: visible;
|
|
7437
7300
|
}
|
|
7438
7301
|
|
|
7439
|
-
/*
|
|
7440
|
-
.muka-progress-
|
|
7441
|
-
|
|
7442
|
-
|
|
7302
|
+
/* Divider rounders: circle bleeds into the connector (Figma Divider Rounder) */
|
|
7303
|
+
.muka-progress-tracker__rounder {
|
|
7304
|
+
position: absolute;
|
|
7305
|
+
display: block;
|
|
7306
|
+
pointer-events: none;
|
|
7307
|
+
overflow: visible;
|
|
7443
7308
|
}
|
|
7444
7309
|
|
|
7445
|
-
.muka-progress-
|
|
7446
|
-
|
|
7310
|
+
.muka-progress-tracker__rounder--past {
|
|
7311
|
+
color: var(--alias-color-accent-contrast);
|
|
7447
7312
|
}
|
|
7448
7313
|
|
|
7449
|
-
.muka-progress-
|
|
7450
|
-
|
|
7451
|
-
outline-offset: 2px;
|
|
7314
|
+
.muka-progress-tracker__rounder--current {
|
|
7315
|
+
color: var(--alias-color-accent-default);
|
|
7452
7316
|
}
|
|
7453
7317
|
|
|
7454
|
-
.muka-progress-
|
|
7455
|
-
|
|
7318
|
+
.muka-progress-tracker__rounder--upcoming {
|
|
7319
|
+
color: var(--color-surface-sunken);
|
|
7456
7320
|
}
|
|
7457
7321
|
|
|
7458
|
-
.muka-progress-tracker--horizontal .muka-progress-
|
|
7459
|
-
|
|
7460
|
-
|
|
7461
|
-
|
|
7462
|
-
|
|
7463
|
-
|
|
7464
|
-
|
|
7465
|
-
|
|
7466
|
-
|
|
7467
|
-
/* Current: accent default circle with white number */
|
|
7468
|
-
.muka-progress-tracker__indicator--current {
|
|
7469
|
-
background-color: var(--alias-color-accent-default);
|
|
7470
|
-
color: var(--color-text-default-inverse);
|
|
7471
|
-
}
|
|
7472
|
-
|
|
7473
|
-
/* Upcoming: sunken/gray circle with dark number */
|
|
7474
|
-
.muka-progress-tracker__indicator--upcoming {
|
|
7475
|
-
background-color: var(--color-surface-sunken);
|
|
7476
|
-
color: var(--color-text-default-default);
|
|
7477
|
-
}
|
|
7478
|
-
|
|
7479
|
-
/* ─── Step number text ──────────────────────────────────── */
|
|
7480
|
-
.muka-progress-tracker__number {
|
|
7481
|
-
font-family: var(--text-label-md-bold-fontFamily);
|
|
7482
|
-
font-weight: var(--text-label-md-bold-fontWeight);
|
|
7483
|
-
font-size: var(--text-label-md-bold-fontSize);
|
|
7484
|
-
line-height: var(--text-label-md-bold-lineHeight);
|
|
7485
|
-
text-align: center;
|
|
7486
|
-
user-select: none;
|
|
7487
|
-
}
|
|
7488
|
-
|
|
7489
|
-
.muka-progress-tracker--horizontal .muka-progress-tracker__indicator--upcoming .muka-progress-tracker__number {
|
|
7490
|
-
font-family: var(--text-label-md-bold-fontFamily);
|
|
7491
|
-
font-weight: var(--text-label-md-bold-fontWeight);
|
|
7492
|
-
}
|
|
7493
|
-
|
|
7494
|
-
.muka-progress-tracker--vertical .muka-progress-tracker__indicator--upcoming .muka-progress-tracker__number {
|
|
7495
|
-
font-family: var(--text-label-md-semibold-fontFamily);
|
|
7496
|
-
font-weight: var(--text-label-md-semibold-fontWeight);
|
|
7497
|
-
font-size: var(--text-label-md-semibold-fontSize);
|
|
7498
|
-
line-height: var(--text-label-md-semibold-lineHeight);
|
|
7499
|
-
}
|
|
7500
|
-
|
|
7501
|
-
/* ─── Checkmark icon ────────────────────────────────────── */
|
|
7502
|
-
.muka-progress-tracker__check-icon {
|
|
7503
|
-
width: 20px;
|
|
7504
|
-
height: 20px;
|
|
7505
|
-
}
|
|
7506
|
-
|
|
7507
|
-
/* Past checkmark uses inverse foreground, matching the active step number.
|
|
7508
|
-
Scoped under the indicator to override the Icon component's default color. */
|
|
7509
|
-
.muka-progress-tracker__indicator--past .muka-progress-tracker__check-icon {
|
|
7510
|
-
color: var(--color-text-default-inverse);
|
|
7511
|
-
}
|
|
7512
|
-
|
|
7513
|
-
/* ─── Step label — horizontal ───────────────────────────── */
|
|
7514
|
-
.muka-progress-tracker--horizontal .muka-progress-tracker__label {
|
|
7515
|
-
position: absolute;
|
|
7516
|
-
top: 39px;
|
|
7517
|
-
left: 50%;
|
|
7518
|
-
transform: translateX(-50%);
|
|
7519
|
-
font-family: var(--text-label-sm-regular-fontFamily);
|
|
7520
|
-
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
7521
|
-
font-size: var(--text-label-sm-regular-fontSize);
|
|
7522
|
-
line-height: var(--text-label-sm-regular-lineHeight);
|
|
7523
|
-
color: var(--color-text-default-default);
|
|
7524
|
-
text-align: center;
|
|
7525
|
-
max-width: 120px;
|
|
7526
|
-
white-space: nowrap;
|
|
7527
|
-
overflow: hidden;
|
|
7528
|
-
text-overflow: ellipsis;
|
|
7529
|
-
}
|
|
7530
|
-
|
|
7531
|
-
/* Current step label is bold (horizontal only) */
|
|
7532
|
-
.muka-progress-tracker--horizontal .muka-progress-tracker__label--current {
|
|
7533
|
-
font-family: var(--text-label-sm-bold-fontFamily);
|
|
7534
|
-
font-weight: var(--text-label-sm-bold-fontWeight);
|
|
7535
|
-
}
|
|
7536
|
-
|
|
7537
|
-
/* Selected step: a pill behind the label (horizontal), matching the vertical
|
|
7538
|
-
selected pill's surface. The label stays centred under its indicator. */
|
|
7539
|
-
.muka-progress-tracker--horizontal .muka-progress-tracker__step[data-selected='true'] .muka-progress-tracker__label {
|
|
7540
|
-
padding: 0 var(--spacing-2);
|
|
7541
|
-
border-radius: var(--border-radius-full);
|
|
7542
|
-
background-color: var(--color-surface-level1);
|
|
7543
|
-
max-width: calc(120px + 2 * var(--spacing-2));
|
|
7544
|
-
}
|
|
7545
|
-
|
|
7546
|
-
/* ─── Connectors layer (behind indicators) — horizontal ─── */
|
|
7547
|
-
.muka-progress-tracker--horizontal .muka-progress-tracker__connectors {
|
|
7548
|
-
display: flex;
|
|
7549
|
-
align-items: center;
|
|
7550
|
-
/* Horizontal padding = indicator radius (32/2 = 16px) so lines meet circle centers */
|
|
7551
|
-
padding-left: var(--spacing-4);
|
|
7552
|
-
padding-right: var(--spacing-4);
|
|
7553
|
-
position: relative;
|
|
7554
|
-
z-index: 1;
|
|
7555
|
-
}
|
|
7556
|
-
|
|
7557
|
-
/* Rounder, bar, rounder in a row. Chromium treats a negative gap as invalid,
|
|
7558
|
-
so the overlap is margins: the bar runs 2px under each circle. */
|
|
7559
|
-
.muka-progress-tracker--horizontal .muka-progress-tracker__connector {
|
|
7560
|
-
display: flex;
|
|
7561
|
-
flex-direction: row;
|
|
7562
|
-
align-items: center;
|
|
7563
|
-
flex: 1 0 0;
|
|
7564
|
-
height: 4px;
|
|
7565
|
-
min-width: 1px;
|
|
7566
|
-
position: relative;
|
|
7567
|
-
overflow: visible;
|
|
7568
|
-
background: none;
|
|
7569
|
-
}
|
|
7570
|
-
|
|
7571
|
-
.muka-progress-tracker--horizontal .muka-progress-tracker__connector-line {
|
|
7572
|
-
flex: 1 1 auto;
|
|
7573
|
-
height: 4px;
|
|
7574
|
-
min-width: 1px;
|
|
7575
|
-
}
|
|
7576
|
-
|
|
7577
|
-
.muka-progress-tracker--horizontal .muka-progress-tracker__connector--past .muka-progress-tracker__connector-line {
|
|
7578
|
-
background-color: var(--alias-color-accent-contrast);
|
|
7579
|
-
}
|
|
7580
|
-
|
|
7581
|
-
.muka-progress-tracker--horizontal .muka-progress-tracker__connector--current .muka-progress-tracker__connector-line {
|
|
7582
|
-
background: linear-gradient(
|
|
7583
|
-
to right,
|
|
7584
|
-
var(--alias-color-accent-contrast) 0%,
|
|
7585
|
-
var(--alias-color-accent-default) 100%
|
|
7586
|
-
);
|
|
7587
|
-
}
|
|
7588
|
-
|
|
7589
|
-
.muka-progress-tracker--horizontal .muka-progress-tracker__connector--current-right .muka-progress-tracker__connector-line {
|
|
7590
|
-
background: linear-gradient(
|
|
7591
|
-
to right,
|
|
7592
|
-
var(--alias-color-accent-default) 0%,
|
|
7593
|
-
var(--alias-color-accent-default) 15%,
|
|
7594
|
-
var(--color-surface-sunken) 50%
|
|
7595
|
-
);
|
|
7596
|
-
}
|
|
7597
|
-
|
|
7598
|
-
.muka-progress-tracker--horizontal .muka-progress-tracker__connector--upcoming .muka-progress-tracker__connector-line {
|
|
7599
|
-
background-color: var(--color-surface-sunken);
|
|
7600
|
-
}
|
|
7601
|
-
|
|
7602
|
-
/* Past: solid dark line (vertical; horizontal uses the inner line) */
|
|
7603
|
-
.muka-progress-tracker__connector--past {
|
|
7604
|
-
background-color: var(--alias-color-accent-contrast);
|
|
7605
|
-
}
|
|
7606
|
-
|
|
7607
|
-
/* Upcoming: solid gray line */
|
|
7608
|
-
.muka-progress-tracker__connector--upcoming {
|
|
7609
|
-
background-color: var(--color-surface-sunken);
|
|
7610
|
-
}
|
|
7611
|
-
|
|
7612
|
-
/* ═══════════════════════════════════════════════════════════
|
|
7613
|
-
Vertical orientation
|
|
7614
|
-
═══════════════════════════════════════════════════════════ */
|
|
7615
|
-
|
|
7616
|
-
.muka-progress-tracker--vertical .muka-progress-tracker__track {
|
|
7617
|
-
display: flex;
|
|
7618
|
-
flex-direction: column;
|
|
7619
|
-
align-items: stretch;
|
|
7620
|
-
gap: var(--spacing-6);
|
|
7621
|
-
width: 100%;
|
|
7622
|
-
}
|
|
7623
|
-
|
|
7624
|
-
.muka-progress-tracker--vertical .muka-progress-tracker__step {
|
|
7625
|
-
display: flex;
|
|
7626
|
-
flex-direction: row;
|
|
7627
|
-
align-items: flex-start;
|
|
7628
|
-
gap: var(--spacing-3);
|
|
7629
|
-
padding-right: var(--spacing-1);
|
|
7630
|
-
position: relative;
|
|
7631
|
-
width: 100%;
|
|
7632
|
-
min-height: 32px;
|
|
7633
|
-
}
|
|
7634
|
-
|
|
7635
|
-
.muka-progress-tracker--vertical .muka-progress-tracker__step--interactive {
|
|
7636
|
-
cursor: pointer;
|
|
7637
|
-
}
|
|
7638
|
-
|
|
7639
|
-
.muka-progress-tracker--vertical .muka-progress-tracker__step--interactive:focus-visible {
|
|
7640
|
-
outline: 2px solid var(--color-border-focus);
|
|
7641
|
-
outline-offset: 4px;
|
|
7642
|
-
border-radius: 20px;
|
|
7643
|
-
}
|
|
7644
|
-
|
|
7645
|
-
/* Indicator column: circle only; connector is absolutely positioned on the step */
|
|
7646
|
-
.muka-progress-tracker--vertical .muka-progress-tracker__indicator-col {
|
|
7647
|
-
display: flex;
|
|
7648
|
-
flex-direction: column;
|
|
7649
|
-
align-items: center;
|
|
7650
|
-
flex-shrink: 0;
|
|
7651
|
-
position: relative;
|
|
7652
|
-
width: 32px;
|
|
7653
|
-
z-index: 1;
|
|
7654
|
-
}
|
|
7655
|
-
|
|
7656
|
-
/* Vertical connector: from mid-indicator through gap to next mid-indicator */
|
|
7657
|
-
.muka-progress-tracker--vertical .muka-progress-tracker__connector {
|
|
7658
|
-
position: absolute;
|
|
7659
|
-
left: 14px; /* (32px indicator - 4px line) / 2 */
|
|
7660
|
-
top: 16px;
|
|
7661
|
-
/* Through track gap (spacing-6) into the next indicator's top half */
|
|
7662
|
-
bottom: calc(-1 * var(--spacing-6) - 16px);
|
|
7663
|
-
width: 4px;
|
|
7664
|
-
z-index: 0;
|
|
7665
|
-
overflow: visible;
|
|
7666
|
-
}
|
|
7667
|
-
|
|
7668
|
-
/* Divider rounders: circle bleeds into the connector (Figma Divider Rounder) */
|
|
7669
|
-
.muka-progress-tracker__rounder {
|
|
7670
|
-
position: absolute;
|
|
7671
|
-
display: block;
|
|
7672
|
-
pointer-events: none;
|
|
7673
|
-
overflow: visible;
|
|
7674
|
-
}
|
|
7675
|
-
|
|
7676
|
-
.muka-progress-tracker__rounder--past {
|
|
7677
|
-
color: var(--alias-color-accent-contrast);
|
|
7678
|
-
}
|
|
7679
|
-
|
|
7680
|
-
.muka-progress-tracker__rounder--current {
|
|
7681
|
-
color: var(--alias-color-accent-default);
|
|
7682
|
-
}
|
|
7683
|
-
|
|
7684
|
-
.muka-progress-tracker__rounder--upcoming {
|
|
7685
|
-
color: var(--color-surface-sunken);
|
|
7686
|
-
}
|
|
7687
|
-
|
|
7688
|
-
.muka-progress-tracker--horizontal .muka-progress-tracker__rounder {
|
|
7689
|
-
position: relative;
|
|
7690
|
-
z-index: 1;
|
|
7691
|
-
flex-shrink: 0;
|
|
7692
|
-
top: auto;
|
|
7693
|
-
right: auto;
|
|
7694
|
-
bottom: auto;
|
|
7695
|
-
left: auto;
|
|
7696
|
-
transform: none;
|
|
7322
|
+
.muka-progress-tracker--horizontal .muka-progress-tracker__rounder {
|
|
7323
|
+
position: relative;
|
|
7324
|
+
z-index: 1;
|
|
7325
|
+
flex-shrink: 0;
|
|
7326
|
+
top: auto;
|
|
7327
|
+
right: auto;
|
|
7328
|
+
bottom: auto;
|
|
7329
|
+
left: auto;
|
|
7330
|
+
transform: none;
|
|
7697
7331
|
}
|
|
7698
7332
|
|
|
7699
7333
|
.muka-progress-tracker--horizontal .muka-progress-tracker__rounder--start {
|
|
@@ -7929,178 +7563,436 @@ button.muka-progress-tracker__tab:focus-visible {
|
|
|
7929
7563
|
}
|
|
7930
7564
|
|
|
7931
7565
|
|
|
7932
|
-
/*
|
|
7933
|
-
/*
|
|
7934
|
-
|
|
7935
|
-
/* ========================================
|
|
7936
|
-
BAR VARIANT
|
|
7937
|
-
======================================== */
|
|
7566
|
+
/* ProgressAccordeon */
|
|
7567
|
+
/* ProgressAccordeon Component Styles — Using Muka Design Tokens */
|
|
7938
7568
|
|
|
7939
|
-
|
|
7569
|
+
/* ─── Root ──────────────────────────────────────────────── */
|
|
7570
|
+
.muka-progress-accordeon {
|
|
7571
|
+
container-type: inline-size;
|
|
7940
7572
|
display: flex;
|
|
7941
|
-
|
|
7942
|
-
|
|
7573
|
+
flex-direction: column;
|
|
7574
|
+
align-items: stretch;
|
|
7943
7575
|
width: 100%;
|
|
7576
|
+
/* Top padding provides the vertical rhythm between stacked steps */
|
|
7577
|
+
padding-top: var(--spacing-8);
|
|
7944
7578
|
}
|
|
7945
7579
|
|
|
7946
|
-
|
|
7947
|
-
|
|
7948
|
-
|
|
7949
|
-
|
|
7950
|
-
|
|
7580
|
+
/* Per-state gap: content-bearing steps are tighter, header-only steps looser */
|
|
7581
|
+
.muka-progress-accordeon--current,
|
|
7582
|
+
.muka-progress-accordeon--current.muka-progress-accordeon--expanded,
|
|
7583
|
+
.muka-progress-accordeon--past.muka-progress-accordeon--expanded,
|
|
7584
|
+
.muka-progress-accordeon--upcoming.muka-progress-accordeon--expanded {
|
|
7585
|
+
gap: var(--spacing-6);
|
|
7951
7586
|
}
|
|
7952
7587
|
|
|
7953
|
-
.muka-progress
|
|
7954
|
-
|
|
7588
|
+
.muka-progress-accordeon--upcoming,
|
|
7589
|
+
.muka-progress-accordeon--past.muka-progress-accordeon--collapsed,
|
|
7590
|
+
.muka-progress-accordeon--upcoming.muka-progress-accordeon--collapsed,
|
|
7591
|
+
.muka-progress-accordeon--current.muka-progress-accordeon--collapsed {
|
|
7592
|
+
gap: var(--spacing-8);
|
|
7955
7593
|
}
|
|
7956
7594
|
|
|
7957
|
-
|
|
7958
|
-
|
|
7595
|
+
/* Collapsible steps group header + slot. The header↔content gap lives inside the
|
|
7596
|
+
collapsing slot (as padding-top) so it collapses with the content, so the
|
|
7597
|
+
body gap itself is 0. */
|
|
7598
|
+
.muka-progress-accordeon__body {
|
|
7599
|
+
display: flex;
|
|
7600
|
+
flex-direction: column;
|
|
7601
|
+
gap: 0;
|
|
7602
|
+
width: 100%;
|
|
7959
7603
|
}
|
|
7960
7604
|
|
|
7961
|
-
|
|
7962
|
-
|
|
7605
|
+
/* ─── Header ─────────────────────────────────────────────── */
|
|
7606
|
+
.muka-progress-accordeon__header {
|
|
7607
|
+
display: flex;
|
|
7608
|
+
flex-direction: column;
|
|
7609
|
+
gap: var(--spacing-3);
|
|
7610
|
+
width: 100%;
|
|
7963
7611
|
}
|
|
7964
7612
|
|
|
7965
|
-
.muka-progress
|
|
7966
|
-
|
|
7967
|
-
|
|
7968
|
-
|
|
7969
|
-
|
|
7613
|
+
.muka-progress-accordeon__header-row {
|
|
7614
|
+
display: flex;
|
|
7615
|
+
align-items: flex-start;
|
|
7616
|
+
gap: var(--spacing-3);
|
|
7617
|
+
width: 100%;
|
|
7618
|
+
min-height: 40px;
|
|
7970
7619
|
}
|
|
7971
7620
|
|
|
7972
|
-
.muka-progress
|
|
7973
|
-
|
|
7974
|
-
|
|
7975
|
-
|
|
7976
|
-
|
|
7977
|
-
|
|
7978
|
-
color: var(--color-text-default-default);
|
|
7979
|
-
min-width: 3ch;
|
|
7980
|
-
text-align: right;
|
|
7621
|
+
.muka-progress-accordeon__heading-group {
|
|
7622
|
+
display: flex;
|
|
7623
|
+
flex: 1 0 0;
|
|
7624
|
+
min-width: 0;
|
|
7625
|
+
align-items: flex-start;
|
|
7626
|
+
gap: var(--spacing-4);
|
|
7981
7627
|
}
|
|
7982
7628
|
|
|
7983
|
-
/*
|
|
7984
|
-
|
|
7985
|
-
|
|
7986
|
-
|
|
7629
|
+
/* Steps with header controls (edit / chevron) are 40px tall; nudge the heading
|
|
7630
|
+
so a single line centres against the indicator + controls row. */
|
|
7631
|
+
.muka-progress-accordeon:has(.muka-progress-accordeon__controls)
|
|
7632
|
+
.muka-progress-accordeon__heading-group {
|
|
7633
|
+
padding-top: var(--spacing-1);
|
|
7987
7634
|
}
|
|
7988
7635
|
|
|
7989
|
-
|
|
7990
|
-
|
|
7991
|
-
|
|
7992
|
-
|
|
7993
|
-
|
|
7994
|
-
transform: translateX(250%);
|
|
7995
|
-
}
|
|
7636
|
+
.muka-progress-accordeon__controls {
|
|
7637
|
+
display: flex;
|
|
7638
|
+
flex-shrink: 0;
|
|
7639
|
+
align-items: center;
|
|
7640
|
+
gap: var(--spacing-3);
|
|
7996
7641
|
}
|
|
7997
7642
|
|
|
7998
|
-
/*
|
|
7999
|
-
|
|
8000
|
-
|
|
8001
|
-
|
|
8002
|
-
|
|
8003
|
-
|
|
8004
|
-
display:
|
|
7643
|
+
/* ─── Step indicator (circle) ───────────────────────────── */
|
|
7644
|
+
.muka-progress-accordeon__indicator {
|
|
7645
|
+
width: 32px;
|
|
7646
|
+
height: 32px;
|
|
7647
|
+
flex-shrink: 0;
|
|
7648
|
+
border-radius: var(--border-radius-full);
|
|
7649
|
+
display: flex;
|
|
8005
7650
|
align-items: center;
|
|
8006
7651
|
justify-content: center;
|
|
8007
7652
|
}
|
|
8008
7653
|
|
|
8009
|
-
|
|
8010
|
-
|
|
8011
|
-
|
|
7654
|
+
/* Past: dark accent-contrast circle with inverse checkmark */
|
|
7655
|
+
.muka-progress-accordeon__indicator--past {
|
|
7656
|
+
background-color: var(--alias-color-accent-contrast);
|
|
7657
|
+
color: var(--color-text-default-inverse);
|
|
8012
7658
|
}
|
|
8013
7659
|
|
|
8014
|
-
|
|
8015
|
-
|
|
8016
|
-
|
|
7660
|
+
/* Current: accent circle with inverse bold number */
|
|
7661
|
+
.muka-progress-accordeon__indicator--current {
|
|
7662
|
+
background-color: var(--alias-color-accent-default);
|
|
7663
|
+
color: var(--color-text-default-inverse);
|
|
8017
7664
|
}
|
|
8018
7665
|
|
|
8019
|
-
|
|
8020
|
-
|
|
8021
|
-
|
|
7666
|
+
/* Upcoming: sunken/muted circle with default-color number */
|
|
7667
|
+
.muka-progress-accordeon__indicator--upcoming {
|
|
7668
|
+
background-color: var(--color-surface-sunken);
|
|
7669
|
+
color: var(--color-text-default-default);
|
|
8022
7670
|
}
|
|
8023
7671
|
|
|
8024
|
-
.muka-
|
|
8025
|
-
width:
|
|
8026
|
-
height:
|
|
8027
|
-
|
|
7672
|
+
.muka-progress-accordeon__check-icon {
|
|
7673
|
+
width: 20px;
|
|
7674
|
+
height: 20px;
|
|
7675
|
+
color: var(--color-text-default-inverse);
|
|
8028
7676
|
}
|
|
8029
7677
|
|
|
8030
|
-
.muka-progress
|
|
8031
|
-
|
|
8032
|
-
|
|
7678
|
+
.muka-progress-accordeon__number {
|
|
7679
|
+
font-family: var(--text-label-md-bold-fontFamily);
|
|
7680
|
+
font-weight: var(--text-label-md-bold-fontWeight);
|
|
7681
|
+
font-size: var(--text-label-md-bold-fontSize);
|
|
7682
|
+
line-height: var(--text-label-md-bold-lineHeight);
|
|
7683
|
+
text-align: center;
|
|
7684
|
+
user-select: none;
|
|
8033
7685
|
}
|
|
8034
7686
|
|
|
8035
|
-
|
|
8036
|
-
.muka-progress
|
|
8037
|
-
|
|
7687
|
+
/* Upcoming number is semibold (not bold) per Figma */
|
|
7688
|
+
.muka-progress-accordeon__indicator--upcoming .muka-progress-accordeon__number {
|
|
7689
|
+
font-family: var(--text-label-md-semibold-fontFamily);
|
|
7690
|
+
font-weight: var(--text-label-md-semibold-fontWeight);
|
|
8038
7691
|
}
|
|
8039
7692
|
|
|
8040
|
-
|
|
8041
|
-
.muka-progress
|
|
8042
|
-
|
|
7693
|
+
/* ─── Heading (responsive: heading/md on wide, heading/sm on narrow) ─────── */
|
|
7694
|
+
.muka-progress-accordeon__heading {
|
|
7695
|
+
flex: 1 0 0;
|
|
7696
|
+
min-width: 0;
|
|
7697
|
+
margin: 0;
|
|
7698
|
+
font-family: var(--text-heading-md-fontFamily);
|
|
7699
|
+
font-weight: var(--text-heading-md-fontWeight);
|
|
7700
|
+
font-size: var(--text-heading-md-fontSize);
|
|
7701
|
+
line-height: var(--text-heading-md-lineHeight);
|
|
7702
|
+
letter-spacing: var(--text-heading-md-letterSpacing);
|
|
7703
|
+
color: var(--color-text-default-default);
|
|
8043
7704
|
}
|
|
8044
7705
|
|
|
8045
|
-
|
|
8046
|
-
|
|
8047
|
-
|
|
7706
|
+
/* ─── Description ────────────────────────────────────────── */
|
|
7707
|
+
/* Indented 48px (32px indicator + 16px gap) to align under the heading text */
|
|
7708
|
+
.muka-progress-accordeon__description {
|
|
7709
|
+
width: 100%;
|
|
7710
|
+
padding-left: 48px;
|
|
7711
|
+
font-family: var(--text-body-base-regular-fontFamily);
|
|
7712
|
+
font-weight: var(--text-body-base-regular-fontWeight);
|
|
7713
|
+
font-size: var(--text-body-base-regular-fontSize);
|
|
7714
|
+
line-height: var(--text-body-base-regular-lineHeight);
|
|
7715
|
+
color: var(--color-text-default-default);
|
|
8048
7716
|
}
|
|
8049
7717
|
|
|
8050
|
-
|
|
8051
|
-
|
|
8052
|
-
|
|
8053
|
-
stroke-linecap: round;
|
|
8054
|
-
transition: stroke-dashoffset 0.3s ease;
|
|
7718
|
+
/* ─── Edit button ────────────────────────────────────────── */
|
|
7719
|
+
.muka-progress-accordeon__edit {
|
|
7720
|
+
flex-shrink: 0;
|
|
8055
7721
|
}
|
|
8056
7722
|
|
|
8057
|
-
|
|
8058
|
-
|
|
8059
|
-
|
|
8060
|
-
font-weight: var(--text-label-sm-semibold-fontWeight);
|
|
8061
|
-
color: var(--color-text-default-default);
|
|
7723
|
+
/* Wide container shows the labelled button; the icon-only one is hidden */
|
|
7724
|
+
.muka-progress-accordeon__edit--narrow {
|
|
7725
|
+
display: none;
|
|
8062
7726
|
}
|
|
8063
7727
|
|
|
8064
|
-
|
|
8065
|
-
|
|
7728
|
+
/* ─── Content slot ───────────────────────────────────────── */
|
|
7729
|
+
.muka-progress-accordeon__slot {
|
|
7730
|
+
display: flex;
|
|
7731
|
+
flex-direction: column;
|
|
7732
|
+
align-items: stretch;
|
|
7733
|
+
width: 100%;
|
|
8066
7734
|
}
|
|
8067
7735
|
|
|
8068
|
-
|
|
8069
|
-
|
|
7736
|
+
/* ─── Collapse/expand animation (any expandable step) ──────
|
|
7737
|
+
Animates grid-template-rows 1fr ↔ 0fr so the panel (slot + actions) grows and
|
|
7738
|
+
shrinks to its intrinsic height. Opacity fades with the same duration.
|
|
7739
|
+
Under prefers-reduced-motion, --motion-duration-view is 0ms. */
|
|
7740
|
+
.muka-progress-accordeon__panel-wrapper {
|
|
7741
|
+
display: grid;
|
|
7742
|
+
grid-template-rows: 1fr;
|
|
7743
|
+
opacity: 1;
|
|
7744
|
+
transition:
|
|
7745
|
+
grid-template-rows var(--motion-duration-view) var(--motion-easing-enter),
|
|
7746
|
+
opacity var(--motion-duration-view) var(--motion-easing-enter);
|
|
8070
7747
|
}
|
|
8071
7748
|
|
|
8072
|
-
.muka-progress
|
|
8073
|
-
|
|
7749
|
+
.muka-progress-accordeon__panel-wrapper--collapsed {
|
|
7750
|
+
grid-template-rows: 0fr;
|
|
7751
|
+
opacity: 0;
|
|
7752
|
+
transition:
|
|
7753
|
+
grid-template-rows var(--motion-duration-view) var(--motion-easing-exit),
|
|
7754
|
+
opacity calc(var(--motion-duration-view) * 0.6) var(--motion-easing-exit);
|
|
8074
7755
|
}
|
|
8075
7756
|
|
|
8076
|
-
/*
|
|
8077
|
-
|
|
8078
|
-
|
|
7757
|
+
/* The direct grid child clips and must have NO padding/border of its own —
|
|
7758
|
+
min-height:0 lets it shrink, and with no padding the 0fr track reaches a true
|
|
7759
|
+
0 height (padding on the item would leave a residual gap when collapsed). */
|
|
7760
|
+
.muka-progress-accordeon__panel-clip {
|
|
7761
|
+
overflow: hidden;
|
|
7762
|
+
min-height: 0;
|
|
8079
7763
|
}
|
|
8080
7764
|
|
|
8081
|
-
|
|
8082
|
-
|
|
7765
|
+
/* Header↔content spacing + slot/actions gap live inside the clip so they
|
|
7766
|
+
collapse together with the panel. */
|
|
7767
|
+
.muka-progress-accordeon__panel {
|
|
7768
|
+
display: flex;
|
|
7769
|
+
flex-direction: column;
|
|
7770
|
+
align-items: stretch;
|
|
7771
|
+
gap: var(--spacing-6);
|
|
7772
|
+
padding-top: var(--spacing-4);
|
|
7773
|
+
width: 100%;
|
|
8083
7774
|
}
|
|
8084
7775
|
|
|
8085
|
-
|
|
8086
|
-
|
|
8087
|
-
|
|
8088
|
-
|
|
7776
|
+
/* ─── Action buttons (current state) ─────────────────────── */
|
|
7777
|
+
.muka-progress-accordeon__actions {
|
|
7778
|
+
display: flex;
|
|
7779
|
+
justify-content: flex-end;
|
|
7780
|
+
gap: var(--spacing-4);
|
|
7781
|
+
width: 100%;
|
|
8089
7782
|
}
|
|
8090
7783
|
|
|
8091
|
-
|
|
8092
|
-
|
|
8093
|
-
stroke-dashoffset: 220;
|
|
8094
|
-
}
|
|
8095
|
-
50% {
|
|
8096
|
-
stroke-dashoffset: 70;
|
|
8097
|
-
}
|
|
8098
|
-
100% {
|
|
8099
|
-
stroke-dashoffset: 220;
|
|
8100
|
-
}
|
|
7784
|
+
.muka-progress-accordeon__action {
|
|
7785
|
+
min-width: 160px;
|
|
8101
7786
|
}
|
|
8102
7787
|
|
|
8103
|
-
|
|
7788
|
+
/* ─── Divider ────────────────────────────────────────────── */
|
|
7789
|
+
.muka-progress-accordeon__divider {
|
|
7790
|
+
width: 100%;
|
|
7791
|
+
}
|
|
7792
|
+
|
|
7793
|
+
/* ─── Responsive (narrow container) ──────────────────────── */
|
|
7794
|
+
@container (max-width: 480px) {
|
|
7795
|
+
/* Heading steps down to heading/sm. The 24px line-height is shorter than the
|
|
7796
|
+
32px step indicator, so nudge the text down to keep a single line centred. */
|
|
7797
|
+
.muka-progress-accordeon__heading {
|
|
7798
|
+
font-size: var(--text-heading-sm-fontSize);
|
|
7799
|
+
line-height: var(--text-heading-sm-lineHeight);
|
|
7800
|
+
padding-top: var(--spacing-1);
|
|
7801
|
+
}
|
|
7802
|
+
|
|
7803
|
+
/* Edit button swaps to the icon-only variant */
|
|
7804
|
+
.muka-progress-accordeon__edit--wide {
|
|
7805
|
+
display: none;
|
|
7806
|
+
}
|
|
7807
|
+
|
|
7808
|
+
.muka-progress-accordeon__edit--narrow {
|
|
7809
|
+
display: inline-flex;
|
|
7810
|
+
}
|
|
7811
|
+
|
|
7812
|
+
/* Action buttons stretch to fill the row */
|
|
7813
|
+
.muka-progress-accordeon__actions {
|
|
7814
|
+
justify-content: stretch;
|
|
7815
|
+
}
|
|
7816
|
+
|
|
7817
|
+
.muka-progress-accordeon__action {
|
|
7818
|
+
flex: 1 0 0;
|
|
7819
|
+
min-width: 0;
|
|
7820
|
+
}
|
|
7821
|
+
}
|
|
7822
|
+
|
|
7823
|
+
|
|
7824
|
+
/* Progress */
|
|
7825
|
+
/* Progress Component Styles - Using Muka Design Tokens */
|
|
7826
|
+
|
|
7827
|
+
/* ========================================
|
|
7828
|
+
BAR VARIANT
|
|
7829
|
+
======================================== */
|
|
7830
|
+
|
|
7831
|
+
.muka-progress--bar {
|
|
7832
|
+
display: flex;
|
|
7833
|
+
align-items: center;
|
|
7834
|
+
gap: var(--spacing-2);
|
|
7835
|
+
width: 100%;
|
|
7836
|
+
}
|
|
7837
|
+
|
|
7838
|
+
.muka-progress--bar .muka-progress__track {
|
|
7839
|
+
flex: 1;
|
|
7840
|
+
background-color: var(--color-surface-level1);
|
|
7841
|
+
border-radius: var(--border-radius-full);
|
|
7842
|
+
overflow: hidden;
|
|
7843
|
+
}
|
|
7844
|
+
|
|
7845
|
+
.muka-progress--bar.muka-progress--sm .muka-progress__track {
|
|
7846
|
+
height: var(--progress-size-bar-height-sm);
|
|
7847
|
+
}
|
|
7848
|
+
|
|
7849
|
+
.muka-progress--bar.muka-progress--md .muka-progress__track {
|
|
7850
|
+
height: var(--progress-size-bar-height-md);
|
|
7851
|
+
}
|
|
7852
|
+
|
|
7853
|
+
.muka-progress--bar.muka-progress--lg .muka-progress__track {
|
|
7854
|
+
height: var(--progress-size-bar-height-lg);
|
|
7855
|
+
}
|
|
7856
|
+
|
|
7857
|
+
.muka-progress--bar .muka-progress__fill {
|
|
7858
|
+
height: 100%;
|
|
7859
|
+
background-color: var(--color-action-default);
|
|
7860
|
+
border-radius: var(--border-radius-full);
|
|
7861
|
+
transition: width 0.3s ease;
|
|
7862
|
+
}
|
|
7863
|
+
|
|
7864
|
+
.muka-progress--bar .muka-progress__label {
|
|
7865
|
+
flex-shrink: 0;
|
|
7866
|
+
font-family: var(--text-label-sm-semibold-fontFamily);
|
|
7867
|
+
font-weight: var(--text-label-sm-semibold-fontWeight);
|
|
7868
|
+
font-size: var(--text-label-sm-semibold-fontSize);
|
|
7869
|
+
line-height: var(--text-label-sm-semibold-lineHeight);
|
|
7870
|
+
color: var(--color-text-default-default);
|
|
7871
|
+
min-width: 3ch;
|
|
7872
|
+
text-align: right;
|
|
7873
|
+
}
|
|
7874
|
+
|
|
7875
|
+
/* Indeterminate animation for bar */
|
|
7876
|
+
.muka-progress--bar.muka-progress--indeterminate .muka-progress__fill {
|
|
7877
|
+
width: 40%;
|
|
7878
|
+
animation: muka-progress-bar-indeterminate 1.5s ease-in-out infinite;
|
|
7879
|
+
}
|
|
7880
|
+
|
|
7881
|
+
@keyframes muka-progress-bar-indeterminate {
|
|
7882
|
+
0% {
|
|
7883
|
+
transform: translateX(-100%);
|
|
7884
|
+
}
|
|
7885
|
+
100% {
|
|
7886
|
+
transform: translateX(250%);
|
|
7887
|
+
}
|
|
7888
|
+
}
|
|
7889
|
+
|
|
7890
|
+
/* ========================================
|
|
7891
|
+
CIRCLE VARIANT
|
|
7892
|
+
======================================== */
|
|
7893
|
+
|
|
7894
|
+
.muka-progress--circle {
|
|
7895
|
+
position: relative;
|
|
7896
|
+
display: inline-flex;
|
|
7897
|
+
align-items: center;
|
|
7898
|
+
justify-content: center;
|
|
7899
|
+
}
|
|
7900
|
+
|
|
7901
|
+
.muka-progress--circle.muka-progress--sm {
|
|
7902
|
+
width: var(--progress-size-circle-diameter-sm);
|
|
7903
|
+
height: var(--progress-size-circle-diameter-sm);
|
|
7904
|
+
}
|
|
7905
|
+
|
|
7906
|
+
.muka-progress--circle.muka-progress--md {
|
|
7907
|
+
width: var(--progress-size-circle-diameter-md);
|
|
7908
|
+
height: var(--progress-size-circle-diameter-md);
|
|
7909
|
+
}
|
|
7910
|
+
|
|
7911
|
+
.muka-progress--circle.muka-progress--lg {
|
|
7912
|
+
width: var(--progress-size-circle-diameter-lg);
|
|
7913
|
+
height: var(--progress-size-circle-diameter-lg);
|
|
7914
|
+
}
|
|
7915
|
+
|
|
7916
|
+
.muka-progress__circle {
|
|
7917
|
+
width: 100%;
|
|
7918
|
+
height: 100%;
|
|
7919
|
+
transform: rotate(-90deg);
|
|
7920
|
+
}
|
|
7921
|
+
|
|
7922
|
+
.muka-progress--circle .muka-progress__track {
|
|
7923
|
+
fill: none;
|
|
7924
|
+
stroke: var(--color-surface-level1);
|
|
7925
|
+
}
|
|
7926
|
+
|
|
7927
|
+
.muka-progress--circle.muka-progress--sm .muka-progress__track,
|
|
7928
|
+
.muka-progress--circle.muka-progress--sm .muka-progress__fill {
|
|
7929
|
+
stroke-width: var(--progress-size-circle-strokeWidth-sm);
|
|
7930
|
+
}
|
|
7931
|
+
|
|
7932
|
+
.muka-progress--circle.muka-progress--md .muka-progress__track,
|
|
7933
|
+
.muka-progress--circle.muka-progress--md .muka-progress__fill {
|
|
7934
|
+
stroke-width: var(--progress-size-circle-strokeWidth-md);
|
|
7935
|
+
}
|
|
7936
|
+
|
|
7937
|
+
.muka-progress--circle.muka-progress--lg .muka-progress__track,
|
|
7938
|
+
.muka-progress--circle.muka-progress--lg .muka-progress__fill {
|
|
7939
|
+
stroke-width: var(--progress-size-circle-strokeWidth-lg);
|
|
7940
|
+
}
|
|
7941
|
+
|
|
7942
|
+
.muka-progress--circle .muka-progress__fill {
|
|
7943
|
+
fill: none;
|
|
7944
|
+
stroke: var(--color-action-default);
|
|
7945
|
+
stroke-linecap: round;
|
|
7946
|
+
transition: stroke-dashoffset 0.3s ease;
|
|
7947
|
+
}
|
|
7948
|
+
|
|
7949
|
+
.muka-progress--circle .muka-progress__label {
|
|
7950
|
+
position: absolute;
|
|
7951
|
+
font-family: var(--text-label-sm-semibold-fontFamily);
|
|
7952
|
+
font-weight: var(--text-label-sm-semibold-fontWeight);
|
|
7953
|
+
color: var(--color-text-default-default);
|
|
7954
|
+
}
|
|
7955
|
+
|
|
7956
|
+
.muka-progress--circle.muka-progress--sm .muka-progress__label {
|
|
7957
|
+
font-size: var(--text-label-sm-semibold-fontSize);
|
|
7958
|
+
}
|
|
7959
|
+
|
|
7960
|
+
.muka-progress--circle.muka-progress--md .muka-progress__label {
|
|
7961
|
+
font-size: var(--text-label-md-semibold-fontSize);
|
|
7962
|
+
}
|
|
7963
|
+
|
|
7964
|
+
.muka-progress--circle.muka-progress--lg .muka-progress__label {
|
|
7965
|
+
font-size: var(--text-label-lg-semibold-fontSize);
|
|
7966
|
+
}
|
|
7967
|
+
|
|
7968
|
+
/* Indeterminate animation for circle */
|
|
7969
|
+
.muka-progress--circle.muka-progress--indeterminate .muka-progress__circle {
|
|
7970
|
+
animation: muka-progress-circle-rotate 2s linear infinite;
|
|
7971
|
+
}
|
|
7972
|
+
|
|
7973
|
+
.muka-progress--circle.muka-progress--indeterminate .muka-progress__fill {
|
|
7974
|
+
animation: muka-progress-circle-dash 1.5s ease-in-out infinite;
|
|
7975
|
+
}
|
|
7976
|
+
|
|
7977
|
+
@keyframes muka-progress-circle-rotate {
|
|
7978
|
+
100% {
|
|
7979
|
+
transform: rotate(270deg);
|
|
7980
|
+
}
|
|
7981
|
+
}
|
|
7982
|
+
|
|
7983
|
+
@keyframes muka-progress-circle-dash {
|
|
7984
|
+
0% {
|
|
7985
|
+
stroke-dashoffset: 220;
|
|
7986
|
+
}
|
|
7987
|
+
50% {
|
|
7988
|
+
stroke-dashoffset: 70;
|
|
7989
|
+
}
|
|
7990
|
+
100% {
|
|
7991
|
+
stroke-dashoffset: 220;
|
|
7992
|
+
}
|
|
7993
|
+
}
|
|
7994
|
+
|
|
7995
|
+
|
|
8104
7996
|
/* ProfileBadge */
|
|
8105
7997
|
/* ProfileBadge Component Styles - Using Muka Design Tokens */
|
|
8106
7998
|
|
|
@@ -15016,182 +14908,36 @@ button.muka-chat-photo-grid__tile:focus-visible {
|
|
|
15016
14908
|
}
|
|
15017
14909
|
|
|
15018
14910
|
|
|
15019
|
-
/*
|
|
15020
|
-
/*
|
|
14911
|
+
/* ChatAttachmentChip */
|
|
14912
|
+
/* ChatAttachmentChip Component Styles */
|
|
15021
14913
|
|
|
15022
|
-
.muka-
|
|
15023
|
-
|
|
15024
|
-
|
|
15025
|
-
|
|
15026
|
-
|
|
15027
|
-
|
|
14914
|
+
.muka-chat-attachment-chip {
|
|
14915
|
+
position: relative;
|
|
14916
|
+
display: inline-flex;
|
|
14917
|
+
align-items: center;
|
|
14918
|
+
gap: var(--spacing-1);
|
|
14919
|
+
max-width: 240px;
|
|
14920
|
+
padding: var(--spacing-2) var(--spacing-3);
|
|
14921
|
+
background-color: var(--color-surface-level1);
|
|
14922
|
+
border: var(--border-width-regular) solid var(--color-border-default);
|
|
14923
|
+
border-radius: var(--radius-md);
|
|
15028
14924
|
overflow: hidden;
|
|
15029
14925
|
}
|
|
15030
14926
|
|
|
15031
|
-
|
|
15032
|
-
|
|
15033
|
-
padding: 0;
|
|
15034
|
-
}
|
|
15035
|
-
|
|
15036
|
-
.muka-card--padding-sm {
|
|
15037
|
-
padding: var(--card-padding-sm);
|
|
15038
|
-
}
|
|
15039
|
-
|
|
15040
|
-
.muka-card--padding-md {
|
|
15041
|
-
padding: var(--card-padding-md);
|
|
14927
|
+
.muka-chat-attachment-chip--uploading {
|
|
14928
|
+
padding-bottom: calc(var(--spacing-2) + 2px);
|
|
15042
14929
|
}
|
|
15043
14930
|
|
|
15044
|
-
.muka-
|
|
15045
|
-
|
|
14931
|
+
.muka-chat-attachment-chip--error {
|
|
14932
|
+
border-color: var(--color-state-error-default, var(--color-text-default-default));
|
|
15046
14933
|
}
|
|
15047
14934
|
|
|
15048
|
-
|
|
15049
|
-
.
|
|
15050
|
-
|
|
14935
|
+
.muka-chat-attachment-chip--disabled {
|
|
14936
|
+
opacity: 0.5;
|
|
14937
|
+
pointer-events: none;
|
|
15051
14938
|
}
|
|
15052
14939
|
|
|
15053
|
-
|
|
15054
|
-
border-radius: var(--card-radius-md);
|
|
15055
|
-
}
|
|
15056
|
-
|
|
15057
|
-
.muka-card--radius-lg {
|
|
15058
|
-
border-radius: var(--card-radius-lg);
|
|
15059
|
-
}
|
|
15060
|
-
|
|
15061
|
-
/* Interactive variant */
|
|
15062
|
-
.muka-card--interactive {
|
|
15063
|
-
cursor: pointer;
|
|
15064
|
-
user-select: none;
|
|
15065
|
-
}
|
|
15066
|
-
|
|
15067
|
-
.muka-card--interactive:hover {
|
|
15068
|
-
background-color: var(--card-color-hover-background);
|
|
15069
|
-
border-color: var(--card-color-hover-border);
|
|
15070
|
-
box-shadow: var(--card-shadow-hover);
|
|
15071
|
-
}
|
|
15072
|
-
|
|
15073
|
-
.muka-card--interactive:active,
|
|
15074
|
-
.muka-card--interactive.muka-card--pressed {
|
|
15075
|
-
background-color: var(--card-color-pressed-background);
|
|
15076
|
-
border-color: var(--card-color-pressed-border);
|
|
15077
|
-
box-shadow: var(--card-shadow-pressed);
|
|
15078
|
-
}
|
|
15079
|
-
|
|
15080
|
-
.muka-card--interactive:focus-visible {
|
|
15081
|
-
outline: 2px solid var(--color-border-focus);
|
|
15082
|
-
outline-offset: 2px;
|
|
15083
|
-
}
|
|
15084
|
-
|
|
15085
|
-
/* Selected variant */
|
|
15086
|
-
.muka-card--selected {
|
|
15087
|
-
background-color: var(--card-color-selected-background);
|
|
15088
|
-
border-color: var(--card-color-selected-border);
|
|
15089
|
-
border-width: var(--border-width-bold);
|
|
15090
|
-
box-shadow: var(--card-shadow-selected);
|
|
15091
|
-
}
|
|
15092
|
-
|
|
15093
|
-
/* Tone: sticky note (MUK-105) */
|
|
15094
|
-
.muka-card--tone-note {
|
|
15095
|
-
background-color: var(--card-color-note-background);
|
|
15096
|
-
color: var(--card-color-note-foreground);
|
|
15097
|
-
border-color: var(--card-color-note-border);
|
|
15098
|
-
box-shadow: var(--card-shadow-note);
|
|
15099
|
-
}
|
|
15100
|
-
|
|
15101
|
-
.muka-card--tone-note.muka-card--interactive:hover,
|
|
15102
|
-
.muka-card--tone-note.muka-card--interactive:active,
|
|
15103
|
-
.muka-card--tone-note.muka-card--interactive.muka-card--pressed {
|
|
15104
|
-
background-color: var(--card-color-note-background);
|
|
15105
|
-
border-color: var(--card-color-note-border);
|
|
15106
|
-
}
|
|
15107
|
-
|
|
15108
|
-
.muka-card--tilt-left {
|
|
15109
|
-
transform: rotate(-0.75deg);
|
|
15110
|
-
}
|
|
15111
|
-
|
|
15112
|
-
.muka-card--tilt-right {
|
|
15113
|
-
transform: rotate(0.6deg);
|
|
15114
|
-
}
|
|
15115
|
-
|
|
15116
|
-
@media (prefers-reduced-motion: no-preference) {
|
|
15117
|
-
.muka-card--tilt-left,
|
|
15118
|
-
.muka-card--tilt-right {
|
|
15119
|
-
transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
|
|
15120
|
-
}
|
|
15121
|
-
}
|
|
15122
|
-
|
|
15123
|
-
.muka-card--interactive.muka-card--tilt-left:hover,
|
|
15124
|
-
.muka-card--interactive.muka-card--tilt-right:hover {
|
|
15125
|
-
transform: none;
|
|
15126
|
-
}
|
|
15127
|
-
|
|
15128
|
-
/* Optional header (title + description) */
|
|
15129
|
-
.muka-card__header {
|
|
15130
|
-
margin-bottom: var(--spacing-4);
|
|
15131
|
-
}
|
|
15132
|
-
|
|
15133
|
-
.muka-card__title {
|
|
15134
|
-
margin: 0;
|
|
15135
|
-
color: var(--color-text-default-default);
|
|
15136
|
-
font-family: var(--text-heading-xs-fontFamily);
|
|
15137
|
-
font-weight: var(--text-heading-xs-fontWeight);
|
|
15138
|
-
font-size: var(--text-heading-xs-fontSize);
|
|
15139
|
-
line-height: var(--text-heading-xs-lineHeight);
|
|
15140
|
-
letter-spacing: var(--text-heading-xs-letterSpacing);
|
|
15141
|
-
}
|
|
15142
|
-
|
|
15143
|
-
.muka-card__description {
|
|
15144
|
-
margin: var(--spacing-1) 0 0;
|
|
15145
|
-
color: var(--color-text-subtle-default);
|
|
15146
|
-
font-family: var(--text-body-sm-regular-fontFamily);
|
|
15147
|
-
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
15148
|
-
font-size: var(--text-body-sm-regular-fontSize);
|
|
15149
|
-
line-height: var(--text-body-sm-regular-lineHeight);
|
|
15150
|
-
}
|
|
15151
|
-
|
|
15152
|
-
/* Hide divider on last list item inside card */
|
|
15153
|
-
.muka-card > .muka-listitem:last-child > .muka-listitem__divider {
|
|
15154
|
-
display: none;
|
|
15155
|
-
}
|
|
15156
|
-
|
|
15157
|
-
/* Disabled state */
|
|
15158
|
-
.muka-card--disabled {
|
|
15159
|
-
opacity: 0.5;
|
|
15160
|
-
cursor: not-allowed;
|
|
15161
|
-
pointer-events: none;
|
|
15162
|
-
}
|
|
15163
|
-
|
|
15164
|
-
|
|
15165
|
-
/* ChatAttachmentChip */
|
|
15166
|
-
/* ChatAttachmentChip Component Styles */
|
|
15167
|
-
|
|
15168
|
-
.muka-chat-attachment-chip {
|
|
15169
|
-
position: relative;
|
|
15170
|
-
display: inline-flex;
|
|
15171
|
-
align-items: center;
|
|
15172
|
-
gap: var(--spacing-1);
|
|
15173
|
-
max-width: 240px;
|
|
15174
|
-
padding: var(--spacing-2) var(--spacing-3);
|
|
15175
|
-
background-color: var(--color-surface-level1);
|
|
15176
|
-
border: var(--border-width-regular) solid var(--color-border-default);
|
|
15177
|
-
border-radius: var(--radius-md);
|
|
15178
|
-
overflow: hidden;
|
|
15179
|
-
}
|
|
15180
|
-
|
|
15181
|
-
.muka-chat-attachment-chip--uploading {
|
|
15182
|
-
padding-bottom: calc(var(--spacing-2) + 2px);
|
|
15183
|
-
}
|
|
15184
|
-
|
|
15185
|
-
.muka-chat-attachment-chip--error {
|
|
15186
|
-
border-color: var(--color-state-error-default, var(--color-text-default-default));
|
|
15187
|
-
}
|
|
15188
|
-
|
|
15189
|
-
.muka-chat-attachment-chip--disabled {
|
|
15190
|
-
opacity: 0.5;
|
|
15191
|
-
pointer-events: none;
|
|
15192
|
-
}
|
|
15193
|
-
|
|
15194
|
-
/* ─── Body (icon + text) ───────────────────────────────── */
|
|
14940
|
+
/* ─── Body (icon + text) ───────────────────────────────── */
|
|
15195
14941
|
|
|
15196
14942
|
.muka-chat-attachment-chip__body {
|
|
15197
14943
|
display: inline-flex;
|
|
@@ -15318,108 +15064,254 @@ button.muka-chat-photo-grid__tile:focus-visible {
|
|
|
15318
15064
|
}
|
|
15319
15065
|
|
|
15320
15066
|
|
|
15321
|
-
/*
|
|
15322
|
-
/*
|
|
15323
|
-
|
|
15324
|
-
/* Base button styles */
|
|
15325
|
-
.muka-button {
|
|
15326
|
-
/* Layout */
|
|
15327
|
-
display: inline-flex;
|
|
15328
|
-
align-items: center;
|
|
15329
|
-
justify-content: center;
|
|
15067
|
+
/* Card */
|
|
15068
|
+
/* Card Component Styles - Using Muka Design Tokens */
|
|
15330
15069
|
|
|
15331
|
-
|
|
15332
|
-
|
|
15333
|
-
|
|
15334
|
-
|
|
15335
|
-
|
|
15336
|
-
|
|
15337
|
-
|
|
15338
|
-
cursor: pointer;
|
|
15339
|
-
user-select: none;
|
|
15340
|
-
transition: all 0.2s ease;
|
|
15341
|
-
|
|
15342
|
-
/* Accessibility */
|
|
15343
|
-
outline: none;
|
|
15344
|
-
position: relative;
|
|
15070
|
+
.muka-card {
|
|
15071
|
+
background-color: var(--card-color-default-background);
|
|
15072
|
+
color: var(--card-color-default-foreground);
|
|
15073
|
+
border: var(--border-width-regular) solid var(--card-color-default-border);
|
|
15074
|
+
box-shadow: var(--card-shadow-default);
|
|
15075
|
+
transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
|
|
15076
|
+
overflow: hidden;
|
|
15345
15077
|
}
|
|
15346
15078
|
|
|
15347
|
-
/*
|
|
15348
|
-
.muka-
|
|
15349
|
-
|
|
15350
|
-
outline-offset: 2px;
|
|
15079
|
+
/* Padding variants */
|
|
15080
|
+
.muka-card--padding-none {
|
|
15081
|
+
padding: 0;
|
|
15351
15082
|
}
|
|
15352
15083
|
|
|
15353
|
-
|
|
15354
|
-
|
|
15355
|
-
tight (Figma) line-height. Horizontal spacing matches Figma's nested model:
|
|
15356
|
-
the button's padding is the outer container inset, and the label's own
|
|
15357
|
-
padding is the icon-to-text gap (so text-only buttons keep both insets). */
|
|
15358
|
-
.muka-button--sm {
|
|
15359
|
-
padding: 0 var(--button-padding-sm-x);
|
|
15360
|
-
border-radius: var(--button-radius-sm);
|
|
15361
|
-
font-size: var(--text-label-sm-semibold-fontSize);
|
|
15362
|
-
line-height: var(--text-label-sm-semibold-lineHeight);
|
|
15363
|
-
min-height: 32px;
|
|
15084
|
+
.muka-card--padding-sm {
|
|
15085
|
+
padding: var(--card-padding-sm);
|
|
15364
15086
|
}
|
|
15365
15087
|
|
|
15366
|
-
.muka-
|
|
15367
|
-
padding:
|
|
15088
|
+
.muka-card--padding-md {
|
|
15089
|
+
padding: var(--card-padding-md);
|
|
15368
15090
|
}
|
|
15369
15091
|
|
|
15370
|
-
.muka-
|
|
15371
|
-
padding:
|
|
15372
|
-
border-radius: var(--button-radius-md);
|
|
15373
|
-
font-size: var(--text-label-sm-semibold-fontSize);
|
|
15374
|
-
line-height: var(--text-label-sm-semibold-lineHeight);
|
|
15375
|
-
min-height: 40px;
|
|
15092
|
+
.muka-card--padding-lg {
|
|
15093
|
+
padding: var(--card-padding-lg);
|
|
15376
15094
|
}
|
|
15377
15095
|
|
|
15378
|
-
|
|
15379
|
-
|
|
15096
|
+
/* Radius variants */
|
|
15097
|
+
.muka-card--radius-sm {
|
|
15098
|
+
border-radius: var(--card-radius-sm);
|
|
15380
15099
|
}
|
|
15381
15100
|
|
|
15382
|
-
.muka-
|
|
15383
|
-
|
|
15384
|
-
border-radius: var(--button-radius-lg);
|
|
15385
|
-
font-size: var(--text-label-lg-semibold-fontSize);
|
|
15386
|
-
line-height: var(--text-label-lg-semibold-lineHeight);
|
|
15387
|
-
min-height: 48px;
|
|
15101
|
+
.muka-card--radius-md {
|
|
15102
|
+
border-radius: var(--card-radius-md);
|
|
15388
15103
|
}
|
|
15389
15104
|
|
|
15390
|
-
.muka-
|
|
15391
|
-
|
|
15105
|
+
.muka-card--radius-lg {
|
|
15106
|
+
border-radius: var(--card-radius-lg);
|
|
15392
15107
|
}
|
|
15393
15108
|
|
|
15394
|
-
|
|
15395
|
-
|
|
15396
|
-
|
|
15397
|
-
|
|
15398
|
-
line-height: var(--text-label-2xl-semibold-lineHeight);
|
|
15399
|
-
min-height: 64px;
|
|
15109
|
+
/* Interactive variant */
|
|
15110
|
+
.muka-card--interactive {
|
|
15111
|
+
cursor: pointer;
|
|
15112
|
+
user-select: none;
|
|
15400
15113
|
}
|
|
15401
15114
|
|
|
15402
|
-
.muka-
|
|
15403
|
-
|
|
15115
|
+
.muka-card--interactive:hover {
|
|
15116
|
+
background-color: var(--card-color-hover-background);
|
|
15117
|
+
border-color: var(--card-color-hover-border);
|
|
15118
|
+
box-shadow: var(--card-shadow-hover);
|
|
15404
15119
|
}
|
|
15405
15120
|
|
|
15406
|
-
|
|
15407
|
-
.muka-
|
|
15408
|
-
background-color: var(--
|
|
15409
|
-
color: var(--
|
|
15410
|
-
box-shadow: var(--
|
|
15121
|
+
.muka-card--interactive:active,
|
|
15122
|
+
.muka-card--interactive.muka-card--pressed {
|
|
15123
|
+
background-color: var(--card-color-pressed-background);
|
|
15124
|
+
border-color: var(--card-color-pressed-border);
|
|
15125
|
+
box-shadow: var(--card-shadow-pressed);
|
|
15411
15126
|
}
|
|
15412
15127
|
|
|
15413
|
-
.muka-
|
|
15414
|
-
|
|
15415
|
-
|
|
15416
|
-
box-shadow: var(--button-color-primary-shadow-hover);
|
|
15128
|
+
.muka-card--interactive:focus-visible {
|
|
15129
|
+
outline: 2px solid var(--color-border-focus);
|
|
15130
|
+
outline-offset: 2px;
|
|
15417
15131
|
}
|
|
15418
15132
|
|
|
15419
|
-
/*
|
|
15420
|
-
|
|
15421
|
-
|
|
15422
|
-
|
|
15133
|
+
/* Selected variant */
|
|
15134
|
+
.muka-card--selected {
|
|
15135
|
+
background-color: var(--card-color-selected-background);
|
|
15136
|
+
border-color: var(--card-color-selected-border);
|
|
15137
|
+
border-width: var(--border-width-bold);
|
|
15138
|
+
box-shadow: var(--card-shadow-selected);
|
|
15139
|
+
}
|
|
15140
|
+
|
|
15141
|
+
/* Tone: sticky note (MUK-105) */
|
|
15142
|
+
.muka-card--tone-note {
|
|
15143
|
+
background-color: var(--card-color-note-background);
|
|
15144
|
+
color: var(--card-color-note-foreground);
|
|
15145
|
+
border-color: var(--card-color-note-border);
|
|
15146
|
+
box-shadow: var(--card-shadow-note);
|
|
15147
|
+
}
|
|
15148
|
+
|
|
15149
|
+
.muka-card--tone-note.muka-card--interactive:hover,
|
|
15150
|
+
.muka-card--tone-note.muka-card--interactive:active,
|
|
15151
|
+
.muka-card--tone-note.muka-card--interactive.muka-card--pressed {
|
|
15152
|
+
background-color: var(--card-color-note-background);
|
|
15153
|
+
border-color: var(--card-color-note-border);
|
|
15154
|
+
}
|
|
15155
|
+
|
|
15156
|
+
.muka-card--tilt-left {
|
|
15157
|
+
transform: rotate(-0.75deg);
|
|
15158
|
+
}
|
|
15159
|
+
|
|
15160
|
+
.muka-card--tilt-right {
|
|
15161
|
+
transform: rotate(0.6deg);
|
|
15162
|
+
}
|
|
15163
|
+
|
|
15164
|
+
@media (prefers-reduced-motion: no-preference) {
|
|
15165
|
+
.muka-card--tilt-left,
|
|
15166
|
+
.muka-card--tilt-right {
|
|
15167
|
+
transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
|
|
15168
|
+
}
|
|
15169
|
+
}
|
|
15170
|
+
|
|
15171
|
+
.muka-card--interactive.muka-card--tilt-left:hover,
|
|
15172
|
+
.muka-card--interactive.muka-card--tilt-right:hover {
|
|
15173
|
+
transform: none;
|
|
15174
|
+
}
|
|
15175
|
+
|
|
15176
|
+
/* Optional header (title + description) */
|
|
15177
|
+
.muka-card__header {
|
|
15178
|
+
margin-bottom: var(--spacing-4);
|
|
15179
|
+
}
|
|
15180
|
+
|
|
15181
|
+
.muka-card__title {
|
|
15182
|
+
margin: 0;
|
|
15183
|
+
color: var(--color-text-default-default);
|
|
15184
|
+
font-family: var(--text-heading-xs-fontFamily);
|
|
15185
|
+
font-weight: var(--text-heading-xs-fontWeight);
|
|
15186
|
+
font-size: var(--text-heading-xs-fontSize);
|
|
15187
|
+
line-height: var(--text-heading-xs-lineHeight);
|
|
15188
|
+
letter-spacing: var(--text-heading-xs-letterSpacing);
|
|
15189
|
+
}
|
|
15190
|
+
|
|
15191
|
+
.muka-card__description {
|
|
15192
|
+
margin: var(--spacing-1) 0 0;
|
|
15193
|
+
color: var(--color-text-subtle-default);
|
|
15194
|
+
font-family: var(--text-body-sm-regular-fontFamily);
|
|
15195
|
+
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
15196
|
+
font-size: var(--text-body-sm-regular-fontSize);
|
|
15197
|
+
line-height: var(--text-body-sm-regular-lineHeight);
|
|
15198
|
+
}
|
|
15199
|
+
|
|
15200
|
+
/* Hide divider on last list item inside card */
|
|
15201
|
+
.muka-card > .muka-listitem:last-child > .muka-listitem__divider {
|
|
15202
|
+
display: none;
|
|
15203
|
+
}
|
|
15204
|
+
|
|
15205
|
+
/* Disabled state */
|
|
15206
|
+
.muka-card--disabled {
|
|
15207
|
+
opacity: 0.5;
|
|
15208
|
+
cursor: not-allowed;
|
|
15209
|
+
pointer-events: none;
|
|
15210
|
+
}
|
|
15211
|
+
|
|
15212
|
+
|
|
15213
|
+
/* Button */
|
|
15214
|
+
/* Button Component Styles - Using Muka Design Tokens */
|
|
15215
|
+
|
|
15216
|
+
/* Base button styles */
|
|
15217
|
+
.muka-button {
|
|
15218
|
+
/* Layout */
|
|
15219
|
+
display: inline-flex;
|
|
15220
|
+
align-items: center;
|
|
15221
|
+
justify-content: center;
|
|
15222
|
+
|
|
15223
|
+
/* Typography - using semantic tokens */
|
|
15224
|
+
font-family: var(--alias-font-brand-family);
|
|
15225
|
+
font-weight: var(--alias-font-brand-weight-semibold);
|
|
15226
|
+
text-decoration: none;
|
|
15227
|
+
|
|
15228
|
+
/* Interaction */
|
|
15229
|
+
border: none;
|
|
15230
|
+
cursor: pointer;
|
|
15231
|
+
user-select: none;
|
|
15232
|
+
transition: all 0.2s ease;
|
|
15233
|
+
|
|
15234
|
+
/* Accessibility */
|
|
15235
|
+
outline: none;
|
|
15236
|
+
position: relative;
|
|
15237
|
+
}
|
|
15238
|
+
|
|
15239
|
+
/* Focus styles for accessibility */
|
|
15240
|
+
.muka-button:focus-visible {
|
|
15241
|
+
outline: 2px solid var(--color-border-focus);
|
|
15242
|
+
outline-offset: 2px;
|
|
15243
|
+
}
|
|
15244
|
+
|
|
15245
|
+
/* Size variants
|
|
15246
|
+
Height is driven by min-height; vertical padding is 0 and the label carries
|
|
15247
|
+
tight (Figma) line-height. Horizontal spacing matches Figma's nested model:
|
|
15248
|
+
the button's padding is the outer container inset, and the label's own
|
|
15249
|
+
padding is the icon-to-text gap (so text-only buttons keep both insets). */
|
|
15250
|
+
.muka-button--sm {
|
|
15251
|
+
padding: 0 var(--button-padding-sm-x);
|
|
15252
|
+
border-radius: var(--button-radius-sm);
|
|
15253
|
+
font-size: var(--text-label-sm-semibold-fontSize);
|
|
15254
|
+
line-height: var(--text-label-sm-semibold-lineHeight);
|
|
15255
|
+
min-height: 32px;
|
|
15256
|
+
}
|
|
15257
|
+
|
|
15258
|
+
.muka-button--sm .muka-button__label {
|
|
15259
|
+
padding: 0 var(--button-gap-sm);
|
|
15260
|
+
}
|
|
15261
|
+
|
|
15262
|
+
.muka-button--md {
|
|
15263
|
+
padding: 0 var(--button-padding-md-x);
|
|
15264
|
+
border-radius: var(--button-radius-md);
|
|
15265
|
+
font-size: var(--text-label-sm-semibold-fontSize);
|
|
15266
|
+
line-height: var(--text-label-sm-semibold-lineHeight);
|
|
15267
|
+
min-height: 40px;
|
|
15268
|
+
}
|
|
15269
|
+
|
|
15270
|
+
.muka-button--md .muka-button__label {
|
|
15271
|
+
padding: 0 var(--button-gap-md);
|
|
15272
|
+
}
|
|
15273
|
+
|
|
15274
|
+
.muka-button--lg {
|
|
15275
|
+
padding: 0 var(--button-padding-lg-x);
|
|
15276
|
+
border-radius: var(--button-radius-lg);
|
|
15277
|
+
font-size: var(--text-label-lg-semibold-fontSize);
|
|
15278
|
+
line-height: var(--text-label-lg-semibold-lineHeight);
|
|
15279
|
+
min-height: 48px;
|
|
15280
|
+
}
|
|
15281
|
+
|
|
15282
|
+
.muka-button--lg .muka-button__label {
|
|
15283
|
+
padding: 0 var(--button-gap-lg);
|
|
15284
|
+
}
|
|
15285
|
+
|
|
15286
|
+
.muka-button--xl {
|
|
15287
|
+
padding: 0 var(--button-padding-xl-x);
|
|
15288
|
+
border-radius: var(--button-radius-xl);
|
|
15289
|
+
font-size: var(--text-label-2xl-semibold-fontSize);
|
|
15290
|
+
line-height: var(--text-label-2xl-semibold-lineHeight);
|
|
15291
|
+
min-height: 64px;
|
|
15292
|
+
}
|
|
15293
|
+
|
|
15294
|
+
.muka-button--xl .muka-button__label {
|
|
15295
|
+
padding: 0 var(--button-gap-xl);
|
|
15296
|
+
}
|
|
15297
|
+
|
|
15298
|
+
/* Primary variant - your main CTA button */
|
|
15299
|
+
.muka-button--primary {
|
|
15300
|
+
background-color: var(--button-color-primary-background-default);
|
|
15301
|
+
color: var(--button-color-primary-foreground-default);
|
|
15302
|
+
box-shadow: var(--button-color-primary-shadow-default);
|
|
15303
|
+
}
|
|
15304
|
+
|
|
15305
|
+
.muka-button--primary:hover:not(:disabled) {
|
|
15306
|
+
background-color: var(--button-color-primary-background-hover);
|
|
15307
|
+
color: var(--button-color-primary-foreground-hover);
|
|
15308
|
+
box-shadow: var(--button-color-primary-shadow-hover);
|
|
15309
|
+
}
|
|
15310
|
+
|
|
15311
|
+
/* `[data-state="open"]` keeps a Button pressed while it's an open disclosure
|
|
15312
|
+
trigger (Radix Menu/Popover set this on the trigger). `[aria-pressed="true"]`
|
|
15313
|
+
gives toggle buttons a visible selected state, so the toggle is not conveyed
|
|
15314
|
+
to sighted users by the accessibility tree alone. */
|
|
15423
15315
|
.muka-button--primary:active:not(:disabled),
|
|
15424
15316
|
.muka-button--primary.muka-button--pressed:not(:disabled),
|
|
15425
15317
|
.muka-button--primary[data-state="open"]:not(:disabled),
|
|
@@ -15764,714 +15656,714 @@ button.muka-chat-photo-grid__tile:focus-visible {
|
|
|
15764
15656
|
}
|
|
15765
15657
|
|
|
15766
15658
|
|
|
15767
|
-
/*
|
|
15768
|
-
/*
|
|
15659
|
+
/* BottomBar */
|
|
15660
|
+
/* BottomBar Component Styles */
|
|
15769
15661
|
|
|
15770
|
-
.muka-
|
|
15771
|
-
|
|
15772
|
-
|
|
15773
|
-
justify-content: center;
|
|
15774
|
-
border-radius: var(--border-radius-full);
|
|
15775
|
-
white-space: nowrap;
|
|
15776
|
-
user-select: none;
|
|
15777
|
-
box-sizing: border-box;
|
|
15662
|
+
.muka-bottombar {
|
|
15663
|
+
width: 100%;
|
|
15664
|
+
background-color: var(--bottombar-color-background);
|
|
15778
15665
|
}
|
|
15779
15666
|
|
|
15780
|
-
/*
|
|
15781
|
-
|
|
15782
|
-
|
|
15783
|
-
* is handled by the fixed height + align-items: center.
|
|
15784
|
-
*/
|
|
15785
|
-
.muka-badge-number--2xs {
|
|
15786
|
-
height: var(--badge-number-size-2xs);
|
|
15787
|
-
min-width: var(--badge-number-size-2xs);
|
|
15788
|
-
padding: 0 var(--badge-number-padding-2xs);
|
|
15789
|
-
font-family: var(--text-label-xs-bold-fontFamily);
|
|
15790
|
-
font-weight: var(--text-label-xs-bold-fontWeight);
|
|
15791
|
-
font-size: var(--text-label-xs-bold-fontSize);
|
|
15792
|
-
line-height: var(--text-label-xs-bold-lineHeight);
|
|
15667
|
+
/* Push content above the iPhone home indicator. Opt out via disableSafeArea. */
|
|
15668
|
+
.muka-bottombar:not(.muka-bottombar--floating):not(.muka-bottombar--no-safe-area) {
|
|
15669
|
+
padding-bottom: env(safe-area-inset-bottom);
|
|
15793
15670
|
}
|
|
15794
15671
|
|
|
15795
|
-
|
|
15796
|
-
|
|
15797
|
-
|
|
15798
|
-
padding: 0 var(--badge-number-padding-xs);
|
|
15799
|
-
font-family: var(--text-label-sm-bold-fontFamily);
|
|
15800
|
-
font-weight: var(--text-label-sm-bold-fontWeight);
|
|
15801
|
-
font-size: var(--text-label-sm-bold-fontSize);
|
|
15802
|
-
line-height: var(--text-label-sm-bold-lineHeight);
|
|
15672
|
+
/* Floating variant: ensure margin-bottom is at least the safe-area inset. */
|
|
15673
|
+
.muka-bottombar--floating:not(.muka-bottombar--no-safe-area) {
|
|
15674
|
+
padding-bottom: max(var(--bottombar-floating-margin-bottom), env(safe-area-inset-bottom));
|
|
15803
15675
|
}
|
|
15804
15676
|
|
|
15805
|
-
|
|
15806
|
-
height: var(--badge-number-size-sm);
|
|
15807
|
-
min-width: var(--badge-number-size-sm);
|
|
15808
|
-
padding: 0 var(--badge-number-padding-sm);
|
|
15809
|
-
font-family: var(--text-label-md-bold-fontFamily);
|
|
15810
|
-
font-weight: var(--text-label-md-bold-fontWeight);
|
|
15811
|
-
font-size: var(--text-label-md-bold-fontSize);
|
|
15812
|
-
line-height: var(--text-label-md-bold-lineHeight);
|
|
15813
|
-
}
|
|
15677
|
+
/* ─── Divider (non-floating) ──────────────────────────── */
|
|
15814
15678
|
|
|
15815
|
-
.muka-
|
|
15816
|
-
height: var(--
|
|
15817
|
-
|
|
15818
|
-
|
|
15819
|
-
font-family: var(--text-label-lg-bold-fontFamily);
|
|
15820
|
-
font-weight: var(--text-label-lg-bold-fontWeight);
|
|
15821
|
-
font-size: var(--text-label-lg-bold-fontSize);
|
|
15822
|
-
line-height: var(--text-label-lg-bold-lineHeight);
|
|
15679
|
+
.muka-bottombar__divider {
|
|
15680
|
+
height: var(--border-width-regular);
|
|
15681
|
+
background-color: var(--bottombar-color-border);
|
|
15682
|
+
width: 100%;
|
|
15823
15683
|
}
|
|
15824
15684
|
|
|
15825
|
-
|
|
15826
|
-
height: var(--badge-number-size-lg);
|
|
15827
|
-
min-width: var(--badge-number-size-lg);
|
|
15828
|
-
padding: 0 var(--badge-number-padding-lg);
|
|
15829
|
-
font-family: var(--text-label-2xl-bold-fontFamily);
|
|
15830
|
-
font-weight: var(--text-label-2xl-bold-fontWeight);
|
|
15831
|
-
font-size: var(--text-label-2xl-bold-fontSize);
|
|
15832
|
-
line-height: var(--text-label-2xl-bold-lineHeight);
|
|
15833
|
-
}
|
|
15685
|
+
/* ─── Content container ───────────────────────────────── */
|
|
15834
15686
|
|
|
15835
|
-
.muka-
|
|
15836
|
-
|
|
15837
|
-
|
|
15838
|
-
* glyph descenders; give the label a roomier line-height. Vertical centering
|
|
15839
|
-
* is unaffected because the badge height is fixed and content is centered.
|
|
15840
|
-
*/
|
|
15841
|
-
line-height: normal;
|
|
15687
|
+
.muka-bottombar__content {
|
|
15688
|
+
display: flex;
|
|
15689
|
+
align-items: center;
|
|
15842
15690
|
}
|
|
15843
15691
|
|
|
15844
|
-
/*
|
|
15845
|
-
.muka-badge-number--neutral {
|
|
15846
|
-
background-color: var(--color-surface-level1);
|
|
15847
|
-
color: var(--color-text-default-default);
|
|
15848
|
-
}
|
|
15692
|
+
/* ─── Actions variant (horizontal) ───────────────────── */
|
|
15849
15693
|
|
|
15850
|
-
|
|
15851
|
-
|
|
15852
|
-
|
|
15853
|
-
|
|
15694
|
+
.muka-bottombar--actions .muka-bottombar__content {
|
|
15695
|
+
flex-direction: row;
|
|
15696
|
+
gap: var(--bottombar-actions-gap);
|
|
15697
|
+
padding: var(--bottombar-actions-padding-t) var(--bottombar-actions-padding-x) var(--bottombar-actions-padding-x);
|
|
15854
15698
|
}
|
|
15855
15699
|
|
|
15856
|
-
|
|
15857
|
-
|
|
15858
|
-
background-color: var(--color-state-success-contrast);
|
|
15859
|
-
color: var(--color-text-default-inverse);
|
|
15700
|
+
.muka-bottombar--actions .muka-bottombar__content > * {
|
|
15701
|
+
flex: 1;
|
|
15860
15702
|
}
|
|
15861
15703
|
|
|
15862
|
-
/*
|
|
15863
|
-
.muka-badge-number--warning {
|
|
15864
|
-
background-color: var(--color-state-warning-contrast);
|
|
15865
|
-
color: var(--color-text-default-inverse);
|
|
15866
|
-
}
|
|
15704
|
+
/* ─── Actions-vertical variant (stacked) ─────────────── */
|
|
15867
15705
|
|
|
15868
|
-
|
|
15869
|
-
|
|
15870
|
-
|
|
15871
|
-
|
|
15706
|
+
.muka-bottombar--actions-vertical .muka-bottombar__content {
|
|
15707
|
+
flex-direction: column;
|
|
15708
|
+
gap: var(--bottombar-actions-gap);
|
|
15709
|
+
padding: var(--bottombar-actions-padding-t) var(--bottombar-actions-padding-x) var(--bottombar-actions-padding-x);
|
|
15872
15710
|
}
|
|
15873
15711
|
|
|
15874
|
-
|
|
15875
|
-
|
|
15876
|
-
width: var(--spacing-2);
|
|
15877
|
-
height: var(--spacing-2);
|
|
15878
|
-
min-width: 0;
|
|
15879
|
-
padding: 0;
|
|
15712
|
+
.muka-bottombar--actions-vertical .muka-bottombar__content > * {
|
|
15713
|
+
width: 100%;
|
|
15880
15714
|
}
|
|
15881
15715
|
|
|
15716
|
+
/* ─── Message (actions variants only) ────────────────── */
|
|
15882
15717
|
|
|
15883
|
-
/*
|
|
15884
|
-
|
|
15885
|
-
|
|
15886
|
-
|
|
15887
|
-
display: inline-flex;
|
|
15888
|
-
align-items: center;
|
|
15889
|
-
border-radius: var(--border-radius-full);
|
|
15890
|
-
white-space: nowrap;
|
|
15891
|
-
user-select: none;
|
|
15892
|
-
box-sizing: border-box;
|
|
15718
|
+
/* Below 1024px the message takes its own line above the buttons. */
|
|
15719
|
+
.muka-bottombar--actions.muka-bottombar--with-message .muka-bottombar__content {
|
|
15720
|
+
flex-wrap: wrap;
|
|
15721
|
+
row-gap: var(--bottombar-actions-message-gap);
|
|
15893
15722
|
}
|
|
15894
15723
|
|
|
15895
|
-
|
|
15896
|
-
|
|
15897
|
-
* Mirrors Chip so the two components share sizing, fonts, and spacing.
|
|
15898
|
-
* Vertical centering is handled by the fixed height + align-items: center.
|
|
15899
|
-
* The leading side gets a tighter padding when an icon/dot is present, via the
|
|
15900
|
-
* --has-icon / --has-dot modifiers below.
|
|
15901
|
-
*/
|
|
15902
|
-
.muka-badge--sm {
|
|
15903
|
-
height: var(--badge-size-height-sm);
|
|
15904
|
-
gap: var(--badge-gap-sm);
|
|
15905
|
-
padding: 0 var(--badge-padding-label-sm);
|
|
15906
|
-
font-family: var(--text-label-sm-regular-fontFamily);
|
|
15907
|
-
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
15908
|
-
font-size: var(--text-label-sm-regular-fontSize);
|
|
15909
|
-
line-height: var(--text-label-sm-regular-lineHeight);
|
|
15724
|
+
.muka-bottombar--actions-vertical.muka-bottombar--with-message .muka-bottombar__content {
|
|
15725
|
+
row-gap: var(--bottombar-actions-message-gap);
|
|
15910
15726
|
}
|
|
15911
15727
|
|
|
15912
|
-
.muka-
|
|
15913
|
-
|
|
15914
|
-
|
|
15915
|
-
padding: 0 var(--badge-padding-label-md);
|
|
15916
|
-
font-family: var(--text-label-md-regular-fontFamily);
|
|
15917
|
-
font-weight: var(--text-label-md-regular-fontWeight);
|
|
15918
|
-
font-size: var(--text-label-md-regular-fontSize);
|
|
15919
|
-
line-height: var(--text-label-md-regular-lineHeight);
|
|
15728
|
+
.muka-bottombar--with-message .muka-bottombar__content > .muka-bottombar__message {
|
|
15729
|
+
flex: 1 0 100%;
|
|
15730
|
+
width: 100%;
|
|
15920
15731
|
}
|
|
15921
15732
|
|
|
15922
|
-
.muka-
|
|
15923
|
-
|
|
15924
|
-
|
|
15925
|
-
|
|
15926
|
-
font-family: var(--text-
|
|
15927
|
-
font-weight: var(--text-
|
|
15928
|
-
font-size: var(--text-
|
|
15929
|
-
line-height: var(--text-
|
|
15733
|
+
.muka-bottombar__message {
|
|
15734
|
+
margin: 0;
|
|
15735
|
+
min-width: 0;
|
|
15736
|
+
overflow-wrap: anywhere;
|
|
15737
|
+
font-family: var(--text-body-sm-regular-fontFamily);
|
|
15738
|
+
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
15739
|
+
font-size: var(--text-body-sm-regular-fontSize);
|
|
15740
|
+
line-height: var(--text-body-sm-regular-lineHeight);
|
|
15930
15741
|
}
|
|
15931
15742
|
|
|
15932
|
-
|
|
15933
|
-
|
|
15934
|
-
.muka-badge--sm.muka-badge--has-dot {
|
|
15935
|
-
padding-left: var(--badge-padding-leading-sm);
|
|
15743
|
+
.muka-bottombar__message--neutral {
|
|
15744
|
+
color: var(--bottombar-color-message-neutral);
|
|
15936
15745
|
}
|
|
15937
|
-
|
|
15938
|
-
.muka-
|
|
15939
|
-
|
|
15746
|
+
|
|
15747
|
+
.muka-bottombar__message--success {
|
|
15748
|
+
color: var(--bottombar-color-message-success);
|
|
15940
15749
|
}
|
|
15941
|
-
|
|
15942
|
-
.muka-
|
|
15943
|
-
|
|
15750
|
+
|
|
15751
|
+
.muka-bottombar__message--warning {
|
|
15752
|
+
color: var(--bottombar-color-message-warning);
|
|
15944
15753
|
}
|
|
15945
15754
|
|
|
15946
|
-
/*
|
|
15947
|
-
|
|
15948
|
-
|
|
15949
|
-
.muka-
|
|
15950
|
-
|
|
15951
|
-
|
|
15952
|
-
|
|
15755
|
+
/* From 1024px the horizontal bar puts the message left, the buttons right at
|
|
15756
|
+
their own width. The vertical variant keeps stacking. */
|
|
15757
|
+
@media (min-width: 1024px) {
|
|
15758
|
+
.muka-bottombar--actions.muka-bottombar--with-message .muka-bottombar__content {
|
|
15759
|
+
flex-wrap: nowrap;
|
|
15760
|
+
}
|
|
15761
|
+
|
|
15762
|
+
.muka-bottombar--actions.muka-bottombar--with-message .muka-bottombar__content > * {
|
|
15763
|
+
flex: 0 0 auto;
|
|
15764
|
+
}
|
|
15765
|
+
|
|
15766
|
+
.muka-bottombar--actions.muka-bottombar--with-message .muka-bottombar__content > .muka-bottombar__message {
|
|
15767
|
+
flex: 1 1 auto;
|
|
15768
|
+
width: auto;
|
|
15769
|
+
}
|
|
15953
15770
|
}
|
|
15954
15771
|
|
|
15955
|
-
|
|
15956
|
-
|
|
15957
|
-
|
|
15958
|
-
|
|
15772
|
+
/* ─── Size modifiers (actions variants only) ─────────── */
|
|
15773
|
+
|
|
15774
|
+
/* ─── Navigation variant ──────────────────────────────── */
|
|
15775
|
+
|
|
15776
|
+
.muka-bottombar--navigation .muka-bottombar__content {
|
|
15777
|
+
flex-direction: row;
|
|
15959
15778
|
}
|
|
15960
15779
|
|
|
15961
|
-
|
|
15962
|
-
|
|
15780
|
+
/* ─── Chat variant (houses a ChatComposer) ───────────── */
|
|
15781
|
+
|
|
15782
|
+
.muka-bottombar--chat .muka-bottombar__content {
|
|
15783
|
+
flex-direction: row;
|
|
15784
|
+
width: 100%;
|
|
15785
|
+
margin: 0 auto;
|
|
15963
15786
|
}
|
|
15964
15787
|
|
|
15965
|
-
|
|
15966
|
-
|
|
15788
|
+
/*
|
|
15789
|
+
* `--bottombar-chat-max-width` is the conversation column (it derives from
|
|
15790
|
+
* `chat.column.max-width`, the same token `ChatMessageList` caps its column
|
|
15791
|
+
* with). The cap here carries the padding on top of it, so it is the
|
|
15792
|
+
* composer's own edges — not the padding around it — that land on the column.
|
|
15793
|
+
*/
|
|
15794
|
+
|
|
15795
|
+
/*
|
|
15796
|
+
* Docked chat pads its content; the floating card supplies its own padding.
|
|
15797
|
+
* The inline half is the section gutter `ChatMessageList` pads its scroller
|
|
15798
|
+
* with, so below the cap — where the column runs full-bleed — the composer
|
|
15799
|
+
* keeps to the same gutters as the messages.
|
|
15800
|
+
*/
|
|
15801
|
+
.muka-bottombar--chat:not(.muka-bottombar--floating) .muka-bottombar__content {
|
|
15802
|
+
padding: var(--bottombar-chat-padding)
|
|
15803
|
+
var(--section-padding-horizontal-default, var(--spacing-4));
|
|
15804
|
+
max-width: calc(
|
|
15805
|
+
var(--bottombar-chat-max-width) + 2 * var(--section-padding-horizontal-default, var(--spacing-4))
|
|
15806
|
+
);
|
|
15967
15807
|
}
|
|
15968
15808
|
|
|
15969
|
-
.
|
|
15970
|
-
|
|
15809
|
+
/* Floating chat card widens to the chat cap (overrides the md default below). */
|
|
15810
|
+
.muka-bottombar--chat.muka-bottombar--floating .muka-bottombar__content {
|
|
15811
|
+
max-width: calc(var(--bottombar-chat-max-width) + 2 * var(--bottombar-floating-padding));
|
|
15971
15812
|
}
|
|
15972
15813
|
|
|
15973
|
-
/*
|
|
15974
|
-
|
|
15975
|
-
|
|
15814
|
+
/* ─── Tab item ────────────────────────────────────────── */
|
|
15815
|
+
|
|
15816
|
+
.muka-bottombar__tab {
|
|
15817
|
+
flex: 1;
|
|
15818
|
+
display: flex;
|
|
15819
|
+
flex-direction: column;
|
|
15976
15820
|
align-items: center;
|
|
15977
|
-
|
|
15978
|
-
|
|
15821
|
+
gap: var(--bottombar-tab-gap);
|
|
15822
|
+
padding: var(--bottombar-tab-padding-y) 0;
|
|
15823
|
+
background: none;
|
|
15824
|
+
border: none;
|
|
15825
|
+
cursor: pointer;
|
|
15826
|
+
color: var(--bottombar-color-tab-inactive);
|
|
15827
|
+
transition: color 0.15s ease;
|
|
15828
|
+
-webkit-tap-highlight-color: transparent;
|
|
15979
15829
|
}
|
|
15980
15830
|
|
|
15981
|
-
.muka-
|
|
15982
|
-
|
|
15983
|
-
|
|
15831
|
+
.muka-bottombar__tab:focus-visible {
|
|
15832
|
+
outline: 2px solid var(--color-action-default);
|
|
15833
|
+
outline-offset: -2px;
|
|
15834
|
+
border-radius: var(--border-radius-sm);
|
|
15984
15835
|
}
|
|
15985
|
-
|
|
15986
|
-
|
|
15987
|
-
|
|
15836
|
+
|
|
15837
|
+
.muka-bottombar__tab--active {
|
|
15838
|
+
color: var(--bottombar-color-tab-active);
|
|
15988
15839
|
}
|
|
15989
|
-
|
|
15990
|
-
|
|
15991
|
-
|
|
15840
|
+
|
|
15841
|
+
.muka-bottombar__tab-icon {
|
|
15842
|
+
position: relative;
|
|
15843
|
+
display: flex;
|
|
15844
|
+
align-items: center;
|
|
15845
|
+
justify-content: center;
|
|
15846
|
+
width: var(--bottombar-tab-icon-size);
|
|
15847
|
+
height: var(--bottombar-tab-icon-size);
|
|
15992
15848
|
}
|
|
15993
15849
|
|
|
15994
|
-
|
|
15995
|
-
so callers don't have to size the icon to match each badge size. The
|
|
15996
|
-
.muka-icon selector is intentionally 2 classes deep to override .muka-icon--md. */
|
|
15997
|
-
.muka-badge__icon .muka-icon,
|
|
15998
|
-
.muka-badge__icon svg {
|
|
15850
|
+
.muka-bottombar__tab-icon svg {
|
|
15999
15851
|
width: 100%;
|
|
16000
15852
|
height: 100%;
|
|
16001
15853
|
}
|
|
16002
15854
|
|
|
16003
|
-
/*
|
|
16004
|
-
.muka-badge
|
|
16005
|
-
|
|
15855
|
+
/* A count on the icon's top-right corner (unread messages). */
|
|
15856
|
+
.muka-bottombar__tab-badge {
|
|
15857
|
+
position: absolute;
|
|
15858
|
+
top: calc(-1 * var(--spacing-1));
|
|
15859
|
+
left: 60%;
|
|
15860
|
+
display: flex;
|
|
15861
|
+
pointer-events: none;
|
|
16006
15862
|
}
|
|
16007
15863
|
|
|
16008
|
-
|
|
16009
|
-
|
|
16010
|
-
|
|
16011
|
-
|
|
16012
|
-
|
|
16013
|
-
|
|
16014
|
-
.muka-badge--sm .muka-badge__dot {
|
|
16015
|
-
width: var(--badge-size-dot-sm);
|
|
16016
|
-
height: var(--badge-size-dot-sm);
|
|
16017
|
-
}
|
|
16018
|
-
|
|
16019
|
-
.muka-badge--md .muka-badge__dot {
|
|
16020
|
-
width: var(--badge-size-dot-md);
|
|
16021
|
-
height: var(--badge-size-dot-md);
|
|
16022
|
-
}
|
|
16023
|
-
|
|
16024
|
-
.muka-badge--lg .muka-badge__dot {
|
|
16025
|
-
width: var(--badge-size-dot-lg);
|
|
16026
|
-
height: var(--badge-size-dot-lg);
|
|
15864
|
+
.muka-bottombar__tab-label {
|
|
15865
|
+
font-family: var(--text-label-sm-regular-fontFamily);
|
|
15866
|
+
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
15867
|
+
font-size: var(--text-label-sm-regular-fontSize);
|
|
15868
|
+
line-height: var(--text-label-sm-regular-lineHeight);
|
|
16027
15869
|
}
|
|
16028
15870
|
|
|
16029
|
-
|
|
16030
|
-
flex: 0 1 auto;
|
|
16031
|
-
min-width: 0;
|
|
16032
|
-
overflow: hidden;
|
|
16033
|
-
text-overflow: ellipsis;
|
|
16034
|
-
/*
|
|
16035
|
-
* The badge sets a tight line-height for compact sizing, but the label's
|
|
16036
|
-
* `overflow: hidden` (needed for ellipsis) then clips glyph descenders (g, y, p). Give the
|
|
16037
|
-
* label its own roomier line-height so descenders render; vertical centering is unaffected
|
|
16038
|
-
* because the badge height is fixed and content is centered via align-items: center.
|
|
16039
|
-
*/
|
|
16040
|
-
line-height: normal;
|
|
16041
|
-
}
|
|
15871
|
+
/* ─── Floating modifier ───────────────────────────────── */
|
|
16042
15872
|
|
|
16043
|
-
|
|
16044
|
-
|
|
16045
|
-
|
|
16046
|
-
|
|
16047
|
-
|
|
15873
|
+
.muka-bottombar--floating {
|
|
15874
|
+
background: linear-gradient(
|
|
15875
|
+
to bottom,
|
|
15876
|
+
var(--bottombar-floating-backdrop-start),
|
|
15877
|
+
var(--bottombar-floating-backdrop-end)
|
|
15878
|
+
);
|
|
15879
|
+
padding: var(--bottombar-floating-padding-top) var(--bottombar-floating-margin-x) var(--bottombar-floating-margin-bottom);
|
|
16048
15880
|
|
|
16049
|
-
|
|
16050
|
-
|
|
15881
|
+
/* The transparent frosted margin around the pill overlays scrolling content;
|
|
15882
|
+
let scroll/taps fall through to that content, keeping only the pill itself
|
|
15883
|
+
interactive (re-enabled on __content below). */
|
|
15884
|
+
pointer-events: none;
|
|
16051
15885
|
}
|
|
16052
15886
|
|
|
16053
|
-
|
|
16054
|
-
|
|
16055
|
-
background-color: var(--color-state-info-background);
|
|
16056
|
-
color: var(--color-state-info-contrast);
|
|
15887
|
+
.muka-bottombar--floating .muka-bottombar__content {
|
|
15888
|
+
pointer-events: auto;
|
|
16057
15889
|
}
|
|
16058
15890
|
|
|
16059
|
-
.muka-
|
|
16060
|
-
background-color: var(--color-
|
|
15891
|
+
.muka-bottombar--floating .muka-bottombar__content {
|
|
15892
|
+
background-color: var(--bottombar-color-background);
|
|
15893
|
+
border-radius: var(--bottombar-floating-radius);
|
|
15894
|
+
padding: var(--bottombar-floating-padding);
|
|
15895
|
+
box-shadow: var(--bottombar-floating-shadow);
|
|
15896
|
+
max-width: var(--bottombar-floating-max-width);
|
|
15897
|
+
width: 100%;
|
|
15898
|
+
margin: 0 auto;
|
|
16061
15899
|
}
|
|
16062
15900
|
|
|
16063
|
-
/*
|
|
16064
|
-
.muka-
|
|
16065
|
-
|
|
16066
|
-
color: var(--color-state-success-contrast);
|
|
15901
|
+
/* Override content padding inside floating per variant */
|
|
15902
|
+
.muka-bottombar--floating.muka-bottombar--actions .muka-bottombar__content {
|
|
15903
|
+
padding: var(--bottombar-floating-padding);
|
|
16067
15904
|
}
|
|
16068
15905
|
|
|
16069
|
-
.muka-
|
|
16070
|
-
|
|
15906
|
+
.muka-bottombar--floating.muka-bottombar--navigation .muka-bottombar__content {
|
|
15907
|
+
padding: var(--bottombar-navigation-floating-padding);
|
|
16071
15908
|
}
|
|
16072
15909
|
|
|
16073
|
-
/*
|
|
16074
|
-
.muka-badge--warning {
|
|
16075
|
-
background-color: var(--color-state-warning-background);
|
|
16076
|
-
color: var(--color-state-warning-contrast);
|
|
16077
|
-
}
|
|
15910
|
+
/* ─── Desktop: Sidebar transformation ─────────────────── */
|
|
16078
15911
|
|
|
16079
|
-
|
|
16080
|
-
|
|
16081
|
-
|
|
15912
|
+
@media (min-width: 1024px) {
|
|
15913
|
+
.muka-bottombar--desktop-sidebar {
|
|
15914
|
+
position: fixed;
|
|
15915
|
+
left: 0;
|
|
15916
|
+
top: 0;
|
|
15917
|
+
bottom: 0;
|
|
15918
|
+
width: 240px;
|
|
15919
|
+
height: 100vh;
|
|
15920
|
+
background-color: var(--bottombar-color-background);
|
|
15921
|
+
border-right: var(--border-width-regular) solid var(--bottombar-color-border);
|
|
15922
|
+
z-index: 10;
|
|
15923
|
+
}
|
|
16082
15924
|
|
|
16083
|
-
|
|
16084
|
-
|
|
16085
|
-
|
|
16086
|
-
color: var(--color-state-error-contrast);
|
|
16087
|
-
}
|
|
15925
|
+
.muka-bottombar--desktop-sidebar .muka-bottombar__divider {
|
|
15926
|
+
display: none;
|
|
15927
|
+
}
|
|
16088
15928
|
|
|
16089
|
-
.muka-
|
|
16090
|
-
|
|
16091
|
-
|
|
15929
|
+
.muka-bottombar--desktop-sidebar .muka-bottombar__content {
|
|
15930
|
+
flex-direction: column;
|
|
15931
|
+
align-items: stretch;
|
|
15932
|
+
padding: var(--spacing-4) var(--spacing-3);
|
|
15933
|
+
/* The rail runs to the top of the screen: clear the status bar there. */
|
|
15934
|
+
padding-top: calc(var(--spacing-4) + env(safe-area-inset-top, 0px));
|
|
15935
|
+
gap: var(--spacing-1);
|
|
15936
|
+
}
|
|
16092
15937
|
|
|
15938
|
+
.muka-bottombar--desktop-sidebar .muka-bottombar__tab {
|
|
15939
|
+
flex: 0 0 auto;
|
|
15940
|
+
flex-direction: row;
|
|
15941
|
+
justify-content: flex-start;
|
|
15942
|
+
gap: var(--spacing-3);
|
|
15943
|
+
padding: var(--spacing-3);
|
|
15944
|
+
border-radius: var(--border-radius-md);
|
|
15945
|
+
}
|
|
16093
15946
|
|
|
16094
|
-
|
|
16095
|
-
|
|
15947
|
+
.muka-bottombar--desktop-sidebar .muka-bottombar__tab:hover {
|
|
15948
|
+
background-color: var(--color-surface-level2);
|
|
15949
|
+
}
|
|
16096
15950
|
|
|
16097
|
-
.muka-bottombar {
|
|
16098
|
-
|
|
16099
|
-
|
|
16100
|
-
|
|
15951
|
+
.muka-bottombar--desktop-sidebar .muka-bottombar__tab-label {
|
|
15952
|
+
font-family: var(--text-label-md-regular-fontFamily);
|
|
15953
|
+
font-weight: var(--text-label-md-regular-fontWeight);
|
|
15954
|
+
font-size: var(--text-label-md-regular-fontSize);
|
|
15955
|
+
line-height: var(--text-label-md-regular-lineHeight);
|
|
15956
|
+
}
|
|
16101
15957
|
|
|
16102
|
-
/*
|
|
16103
|
-
.muka-bottombar
|
|
16104
|
-
|
|
16105
|
-
}
|
|
15958
|
+
/* When floating and sidebar, remove the floating card styles */
|
|
15959
|
+
.muka-bottombar--desktop-sidebar.muka-bottombar--floating {
|
|
15960
|
+
padding: 0;
|
|
15961
|
+
}
|
|
16106
15962
|
|
|
16107
|
-
|
|
16108
|
-
|
|
16109
|
-
|
|
15963
|
+
.muka-bottombar--desktop-sidebar.muka-bottombar--floating .muka-bottombar__content {
|
|
15964
|
+
background-color: transparent;
|
|
15965
|
+
border-radius: 0;
|
|
15966
|
+
box-shadow: none;
|
|
15967
|
+
}
|
|
16110
15968
|
}
|
|
16111
15969
|
|
|
16112
|
-
/* ───
|
|
15970
|
+
/* ─── Desktop: Top Navigation transformation ──────────── */
|
|
16113
15971
|
|
|
16114
|
-
|
|
16115
|
-
|
|
16116
|
-
|
|
16117
|
-
|
|
16118
|
-
|
|
15972
|
+
@media (min-width: 1024px) {
|
|
15973
|
+
.muka-bottombar--desktop-topnav {
|
|
15974
|
+
position: fixed;
|
|
15975
|
+
top: 0;
|
|
15976
|
+
left: 0;
|
|
15977
|
+
right: 0;
|
|
15978
|
+
width: 100%;
|
|
15979
|
+
height: auto;
|
|
15980
|
+
background-color: var(--bottombar-color-background);
|
|
15981
|
+
border-bottom: var(--border-width-regular) solid var(--bottombar-color-border);
|
|
15982
|
+
z-index: 10;
|
|
15983
|
+
}
|
|
16119
15984
|
|
|
16120
|
-
|
|
15985
|
+
.muka-bottombar--desktop-topnav .muka-bottombar__divider {
|
|
15986
|
+
display: none;
|
|
15987
|
+
}
|
|
16121
15988
|
|
|
16122
|
-
.muka-bottombar__content {
|
|
16123
|
-
|
|
16124
|
-
|
|
16125
|
-
|
|
15989
|
+
.muka-bottombar--desktop-topnav .muka-bottombar__content {
|
|
15990
|
+
flex-direction: row;
|
|
15991
|
+
justify-content: center;
|
|
15992
|
+
gap: var(--spacing-1);
|
|
15993
|
+
padding: 0 var(--spacing-4);
|
|
15994
|
+
max-width: var(--container-max-width-large, 1200px);
|
|
15995
|
+
margin: 0 auto;
|
|
15996
|
+
}
|
|
16126
15997
|
|
|
16127
|
-
|
|
15998
|
+
.muka-bottombar--desktop-topnav .muka-bottombar__tab {
|
|
15999
|
+
flex: 0 0 auto;
|
|
16000
|
+
flex-direction: row;
|
|
16001
|
+
gap: var(--spacing-2);
|
|
16002
|
+
padding: var(--spacing-3) var(--spacing-4);
|
|
16003
|
+
border-radius: 0;
|
|
16004
|
+
border-bottom: 2px solid transparent;
|
|
16005
|
+
}
|
|
16128
16006
|
|
|
16129
|
-
.muka-bottombar--
|
|
16130
|
-
|
|
16131
|
-
|
|
16132
|
-
padding: var(--bottombar-actions-padding-t) var(--bottombar-actions-padding-x) var(--bottombar-actions-padding-x);
|
|
16133
|
-
}
|
|
16007
|
+
.muka-bottombar--desktop-topnav .muka-bottombar__tab--active {
|
|
16008
|
+
border-bottom-color: var(--color-action-default);
|
|
16009
|
+
}
|
|
16134
16010
|
|
|
16135
|
-
.muka-bottombar--
|
|
16136
|
-
|
|
16137
|
-
}
|
|
16011
|
+
.muka-bottombar--desktop-topnav .muka-bottombar__tab:hover {
|
|
16012
|
+
background-color: var(--color-surface-level2);
|
|
16013
|
+
}
|
|
16138
16014
|
|
|
16139
|
-
|
|
16015
|
+
.muka-bottombar--desktop-topnav .muka-bottombar__tab-label {
|
|
16016
|
+
font-family: var(--text-label-md-regular-fontFamily);
|
|
16017
|
+
font-weight: var(--text-label-md-regular-fontWeight);
|
|
16018
|
+
font-size: var(--text-label-md-regular-fontSize);
|
|
16019
|
+
line-height: var(--text-label-md-regular-lineHeight);
|
|
16020
|
+
}
|
|
16140
16021
|
|
|
16141
|
-
|
|
16142
|
-
|
|
16143
|
-
|
|
16144
|
-
|
|
16145
|
-
}
|
|
16022
|
+
/* When floating and topnav, remove the floating card styles */
|
|
16023
|
+
.muka-bottombar--desktop-topnav.muka-bottombar--floating {
|
|
16024
|
+
padding: 0;
|
|
16025
|
+
}
|
|
16146
16026
|
|
|
16147
|
-
.muka-bottombar--
|
|
16148
|
-
|
|
16027
|
+
.muka-bottombar--desktop-topnav.muka-bottombar--floating .muka-bottombar__content {
|
|
16028
|
+
background-color: transparent;
|
|
16029
|
+
border-radius: 0;
|
|
16030
|
+
box-shadow: none;
|
|
16031
|
+
}
|
|
16149
16032
|
}
|
|
16150
16033
|
|
|
16151
|
-
/* ───
|
|
16034
|
+
/* ─── Print ────────────────────────────────────────────── */
|
|
16152
16035
|
|
|
16153
|
-
|
|
16154
|
-
.muka-bottombar
|
|
16155
|
-
|
|
16156
|
-
|
|
16036
|
+
@media print {
|
|
16037
|
+
.muka-bottombar {
|
|
16038
|
+
display: none;
|
|
16039
|
+
}
|
|
16157
16040
|
}
|
|
16158
16041
|
|
|
16159
|
-
.muka-bottombar--actions-vertical.muka-bottombar--with-message .muka-bottombar__content {
|
|
16160
|
-
row-gap: var(--bottombar-actions-message-gap);
|
|
16161
|
-
}
|
|
16162
16042
|
|
|
16163
|
-
|
|
16164
|
-
|
|
16165
|
-
width: 100%;
|
|
16166
|
-
}
|
|
16043
|
+
/* BadgeNumber */
|
|
16044
|
+
/* BadgeNumber Component Styles - Using Muka Design Tokens */
|
|
16167
16045
|
|
|
16168
|
-
.muka-
|
|
16169
|
-
|
|
16170
|
-
|
|
16171
|
-
|
|
16172
|
-
|
|
16173
|
-
|
|
16174
|
-
|
|
16175
|
-
|
|
16046
|
+
.muka-badge-number {
|
|
16047
|
+
display: inline-flex;
|
|
16048
|
+
align-items: center;
|
|
16049
|
+
justify-content: center;
|
|
16050
|
+
border-radius: var(--border-radius-full);
|
|
16051
|
+
white-space: nowrap;
|
|
16052
|
+
user-select: none;
|
|
16053
|
+
box-sizing: border-box;
|
|
16176
16054
|
}
|
|
16177
16055
|
|
|
16178
|
-
|
|
16179
|
-
|
|
16056
|
+
/*
|
|
16057
|
+
* Sizes — fixed height, matching min-width (so a single digit renders as a
|
|
16058
|
+
* circle), horizontal padding, and bold label typography. Vertical centering
|
|
16059
|
+
* is handled by the fixed height + align-items: center.
|
|
16060
|
+
*/
|
|
16061
|
+
.muka-badge-number--2xs {
|
|
16062
|
+
height: var(--badge-number-size-2xs);
|
|
16063
|
+
min-width: var(--badge-number-size-2xs);
|
|
16064
|
+
padding: 0 var(--badge-number-padding-2xs);
|
|
16065
|
+
font-family: var(--text-label-xs-bold-fontFamily);
|
|
16066
|
+
font-weight: var(--text-label-xs-bold-fontWeight);
|
|
16067
|
+
font-size: var(--text-label-xs-bold-fontSize);
|
|
16068
|
+
line-height: var(--text-label-xs-bold-lineHeight);
|
|
16180
16069
|
}
|
|
16181
16070
|
|
|
16182
|
-
.muka-
|
|
16183
|
-
|
|
16071
|
+
.muka-badge-number--xs {
|
|
16072
|
+
height: var(--badge-number-size-xs);
|
|
16073
|
+
min-width: var(--badge-number-size-xs);
|
|
16074
|
+
padding: 0 var(--badge-number-padding-xs);
|
|
16075
|
+
font-family: var(--text-label-sm-bold-fontFamily);
|
|
16076
|
+
font-weight: var(--text-label-sm-bold-fontWeight);
|
|
16077
|
+
font-size: var(--text-label-sm-bold-fontSize);
|
|
16078
|
+
line-height: var(--text-label-sm-bold-lineHeight);
|
|
16184
16079
|
}
|
|
16185
16080
|
|
|
16186
|
-
.muka-
|
|
16187
|
-
|
|
16081
|
+
.muka-badge-number--sm {
|
|
16082
|
+
height: var(--badge-number-size-sm);
|
|
16083
|
+
min-width: var(--badge-number-size-sm);
|
|
16084
|
+
padding: 0 var(--badge-number-padding-sm);
|
|
16085
|
+
font-family: var(--text-label-md-bold-fontFamily);
|
|
16086
|
+
font-weight: var(--text-label-md-bold-fontWeight);
|
|
16087
|
+
font-size: var(--text-label-md-bold-fontSize);
|
|
16088
|
+
line-height: var(--text-label-md-bold-lineHeight);
|
|
16188
16089
|
}
|
|
16189
16090
|
|
|
16190
|
-
|
|
16191
|
-
|
|
16192
|
-
|
|
16193
|
-
|
|
16194
|
-
|
|
16195
|
-
|
|
16196
|
-
|
|
16197
|
-
|
|
16198
|
-
flex: 0 0 auto;
|
|
16199
|
-
}
|
|
16200
|
-
|
|
16201
|
-
.muka-bottombar--actions.muka-bottombar--with-message .muka-bottombar__content > .muka-bottombar__message {
|
|
16202
|
-
flex: 1 1 auto;
|
|
16203
|
-
width: auto;
|
|
16204
|
-
}
|
|
16091
|
+
.muka-badge-number--md {
|
|
16092
|
+
height: var(--badge-number-size-md);
|
|
16093
|
+
min-width: var(--badge-number-size-md);
|
|
16094
|
+
padding: 0 var(--badge-number-padding-md);
|
|
16095
|
+
font-family: var(--text-label-lg-bold-fontFamily);
|
|
16096
|
+
font-weight: var(--text-label-lg-bold-fontWeight);
|
|
16097
|
+
font-size: var(--text-label-lg-bold-fontSize);
|
|
16098
|
+
line-height: var(--text-label-lg-bold-lineHeight);
|
|
16205
16099
|
}
|
|
16206
16100
|
|
|
16207
|
-
|
|
16208
|
-
|
|
16209
|
-
|
|
16210
|
-
|
|
16211
|
-
|
|
16212
|
-
|
|
16101
|
+
.muka-badge-number--lg {
|
|
16102
|
+
height: var(--badge-number-size-lg);
|
|
16103
|
+
min-width: var(--badge-number-size-lg);
|
|
16104
|
+
padding: 0 var(--badge-number-padding-lg);
|
|
16105
|
+
font-family: var(--text-label-2xl-bold-fontFamily);
|
|
16106
|
+
font-weight: var(--text-label-2xl-bold-fontWeight);
|
|
16107
|
+
font-size: var(--text-label-2xl-bold-fontSize);
|
|
16108
|
+
line-height: var(--text-label-2xl-bold-lineHeight);
|
|
16213
16109
|
}
|
|
16214
16110
|
|
|
16215
|
-
|
|
16216
|
-
|
|
16217
|
-
|
|
16218
|
-
|
|
16219
|
-
|
|
16220
|
-
|
|
16111
|
+
.muka-badge-number__label {
|
|
16112
|
+
/*
|
|
16113
|
+
* The badge sets a tight line-height for compact sizing, which would clip
|
|
16114
|
+
* glyph descenders; give the label a roomier line-height. Vertical centering
|
|
16115
|
+
* is unaffected because the badge height is fixed and content is centered.
|
|
16116
|
+
*/
|
|
16117
|
+
line-height: normal;
|
|
16221
16118
|
}
|
|
16222
16119
|
|
|
16223
|
-
/*
|
|
16224
|
-
|
|
16225
|
-
|
|
16226
|
-
|
|
16227
|
-
* composer's own edges — not the padding around it — that land on the column.
|
|
16228
|
-
*/
|
|
16229
|
-
|
|
16230
|
-
/*
|
|
16231
|
-
* Docked chat pads its content; the floating card supplies its own padding.
|
|
16232
|
-
* The inline half is the section gutter `ChatMessageList` pads its scroller
|
|
16233
|
-
* with, so below the cap — where the column runs full-bleed — the composer
|
|
16234
|
-
* keeps to the same gutters as the messages.
|
|
16235
|
-
*/
|
|
16236
|
-
.muka-bottombar--chat:not(.muka-bottombar--floating) .muka-bottombar__content {
|
|
16237
|
-
padding: var(--bottombar-chat-padding)
|
|
16238
|
-
var(--section-padding-horizontal-default, var(--spacing-4));
|
|
16239
|
-
max-width: calc(
|
|
16240
|
-
var(--bottombar-chat-max-width) + 2 * var(--section-padding-horizontal-default, var(--spacing-4))
|
|
16241
|
-
);
|
|
16120
|
+
/* Neutral variant */
|
|
16121
|
+
.muka-badge-number--neutral {
|
|
16122
|
+
background-color: var(--color-surface-level1);
|
|
16123
|
+
color: var(--color-text-default-default);
|
|
16242
16124
|
}
|
|
16243
16125
|
|
|
16244
|
-
/*
|
|
16245
|
-
.muka-
|
|
16246
|
-
|
|
16126
|
+
/* Info variant */
|
|
16127
|
+
.muka-badge-number--info {
|
|
16128
|
+
background-color: var(--color-state-info-contrast);
|
|
16129
|
+
color: var(--color-text-default-inverse);
|
|
16247
16130
|
}
|
|
16248
16131
|
|
|
16249
|
-
/*
|
|
16250
|
-
|
|
16251
|
-
|
|
16252
|
-
|
|
16253
|
-
display: flex;
|
|
16254
|
-
flex-direction: column;
|
|
16255
|
-
align-items: center;
|
|
16256
|
-
gap: var(--bottombar-tab-gap);
|
|
16257
|
-
padding: var(--bottombar-tab-padding-y) 0;
|
|
16258
|
-
background: none;
|
|
16259
|
-
border: none;
|
|
16260
|
-
cursor: pointer;
|
|
16261
|
-
color: var(--bottombar-color-tab-inactive);
|
|
16262
|
-
transition: color 0.15s ease;
|
|
16263
|
-
-webkit-tap-highlight-color: transparent;
|
|
16132
|
+
/* Success variant */
|
|
16133
|
+
.muka-badge-number--success {
|
|
16134
|
+
background-color: var(--color-state-success-contrast);
|
|
16135
|
+
color: var(--color-text-default-inverse);
|
|
16264
16136
|
}
|
|
16265
16137
|
|
|
16266
|
-
|
|
16267
|
-
|
|
16268
|
-
|
|
16269
|
-
|
|
16138
|
+
/* Warning variant */
|
|
16139
|
+
.muka-badge-number--warning {
|
|
16140
|
+
background-color: var(--color-state-warning-contrast);
|
|
16141
|
+
color: var(--color-text-default-inverse);
|
|
16270
16142
|
}
|
|
16271
16143
|
|
|
16272
|
-
|
|
16273
|
-
|
|
16144
|
+
/* Error variant */
|
|
16145
|
+
.muka-badge-number--error {
|
|
16146
|
+
background-color: var(--color-state-error-contrast);
|
|
16147
|
+
color: var(--color-text-default-inverse);
|
|
16274
16148
|
}
|
|
16275
16149
|
|
|
16276
|
-
|
|
16277
|
-
|
|
16278
|
-
|
|
16279
|
-
|
|
16280
|
-
|
|
16281
|
-
|
|
16282
|
-
height: var(--bottombar-tab-icon-size);
|
|
16150
|
+
/* Dot: something new, without a count */
|
|
16151
|
+
.muka-badge-number--dot {
|
|
16152
|
+
width: var(--spacing-2);
|
|
16153
|
+
height: var(--spacing-2);
|
|
16154
|
+
min-width: 0;
|
|
16155
|
+
padding: 0;
|
|
16283
16156
|
}
|
|
16284
16157
|
|
|
16285
|
-
.muka-bottombar__tab-icon svg {
|
|
16286
|
-
width: 100%;
|
|
16287
|
-
height: 100%;
|
|
16288
|
-
}
|
|
16289
16158
|
|
|
16290
|
-
/*
|
|
16291
|
-
|
|
16292
|
-
|
|
16293
|
-
|
|
16294
|
-
|
|
16295
|
-
|
|
16296
|
-
|
|
16159
|
+
/* Badge */
|
|
16160
|
+
/* Badge Component Styles - Using Muka Design Tokens */
|
|
16161
|
+
|
|
16162
|
+
.muka-badge {
|
|
16163
|
+
display: inline-flex;
|
|
16164
|
+
align-items: center;
|
|
16165
|
+
border-radius: var(--border-radius-full);
|
|
16166
|
+
white-space: nowrap;
|
|
16167
|
+
user-select: none;
|
|
16168
|
+
box-sizing: border-box;
|
|
16297
16169
|
}
|
|
16298
16170
|
|
|
16299
|
-
|
|
16171
|
+
/*
|
|
16172
|
+
* Sizes — height, gap, type, and default (label-edge) horizontal padding.
|
|
16173
|
+
* Mirrors Chip so the two components share sizing, fonts, and spacing.
|
|
16174
|
+
* Vertical centering is handled by the fixed height + align-items: center.
|
|
16175
|
+
* The leading side gets a tighter padding when an icon/dot is present, via the
|
|
16176
|
+
* --has-icon / --has-dot modifiers below.
|
|
16177
|
+
*/
|
|
16178
|
+
.muka-badge--sm {
|
|
16179
|
+
height: var(--badge-size-height-sm);
|
|
16180
|
+
gap: var(--badge-gap-sm);
|
|
16181
|
+
padding: 0 var(--badge-padding-label-sm);
|
|
16300
16182
|
font-family: var(--text-label-sm-regular-fontFamily);
|
|
16301
16183
|
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
16302
16184
|
font-size: var(--text-label-sm-regular-fontSize);
|
|
16303
16185
|
line-height: var(--text-label-sm-regular-lineHeight);
|
|
16304
16186
|
}
|
|
16305
16187
|
|
|
16306
|
-
|
|
16307
|
-
|
|
16308
|
-
|
|
16309
|
-
|
|
16310
|
-
|
|
16311
|
-
|
|
16312
|
-
|
|
16313
|
-
);
|
|
16314
|
-
|
|
16188
|
+
.muka-badge--md {
|
|
16189
|
+
height: var(--badge-size-height-md);
|
|
16190
|
+
gap: var(--badge-gap-md);
|
|
16191
|
+
padding: 0 var(--badge-padding-label-md);
|
|
16192
|
+
font-family: var(--text-label-md-regular-fontFamily);
|
|
16193
|
+
font-weight: var(--text-label-md-regular-fontWeight);
|
|
16194
|
+
font-size: var(--text-label-md-regular-fontSize);
|
|
16195
|
+
line-height: var(--text-label-md-regular-lineHeight);
|
|
16196
|
+
}
|
|
16315
16197
|
|
|
16316
|
-
|
|
16317
|
-
|
|
16318
|
-
|
|
16319
|
-
|
|
16198
|
+
.muka-badge--lg {
|
|
16199
|
+
height: var(--badge-size-height-lg);
|
|
16200
|
+
gap: var(--badge-gap-lg);
|
|
16201
|
+
padding: 0 var(--badge-padding-label-lg);
|
|
16202
|
+
font-family: var(--text-label-lg-regular-fontFamily);
|
|
16203
|
+
font-weight: var(--text-label-lg-regular-fontWeight);
|
|
16204
|
+
font-size: var(--text-label-lg-regular-fontSize);
|
|
16205
|
+
line-height: var(--text-label-lg-regular-lineHeight);
|
|
16320
16206
|
}
|
|
16321
16207
|
|
|
16322
|
-
|
|
16323
|
-
|
|
16208
|
+
/* Tighter leading padding when a leading icon or dot is present */
|
|
16209
|
+
.muka-badge--sm.muka-badge--has-icon,
|
|
16210
|
+
.muka-badge--sm.muka-badge--has-dot {
|
|
16211
|
+
padding-left: var(--badge-padding-leading-sm);
|
|
16212
|
+
}
|
|
16213
|
+
.muka-badge--md.muka-badge--has-icon,
|
|
16214
|
+
.muka-badge--md.muka-badge--has-dot {
|
|
16215
|
+
padding-left: var(--badge-padding-leading-md);
|
|
16216
|
+
}
|
|
16217
|
+
.muka-badge--lg.muka-badge--has-icon,
|
|
16218
|
+
.muka-badge--lg.muka-badge--has-dot {
|
|
16219
|
+
padding-left: var(--badge-padding-leading-lg);
|
|
16324
16220
|
}
|
|
16325
16221
|
|
|
16326
|
-
|
|
16327
|
-
|
|
16328
|
-
|
|
16329
|
-
|
|
16330
|
-
|
|
16331
|
-
|
|
16332
|
-
|
|
16333
|
-
margin: 0 auto;
|
|
16222
|
+
/* Icon-only — square, sized to the badge height (Figma: 24 / 32 / 40).
|
|
16223
|
+
* Padding resets at size+icon-only specificity so `--has-icon` leading padding
|
|
16224
|
+
* cannot win and shift the icon off-center. */
|
|
16225
|
+
.muka-badge--icon-only {
|
|
16226
|
+
justify-content: center;
|
|
16227
|
+
align-items: center;
|
|
16228
|
+
gap: 0;
|
|
16334
16229
|
}
|
|
16335
16230
|
|
|
16336
|
-
|
|
16337
|
-
.muka-
|
|
16338
|
-
|
|
16231
|
+
.muka-badge--sm.muka-badge--icon-only,
|
|
16232
|
+
.muka-badge--md.muka-badge--icon-only,
|
|
16233
|
+
.muka-badge--lg.muka-badge--icon-only {
|
|
16234
|
+
padding: 0;
|
|
16339
16235
|
}
|
|
16340
16236
|
|
|
16341
|
-
.muka-
|
|
16342
|
-
|
|
16237
|
+
.muka-badge--sm.muka-badge--icon-only {
|
|
16238
|
+
width: var(--badge-size-height-sm);
|
|
16343
16239
|
}
|
|
16344
16240
|
|
|
16345
|
-
|
|
16241
|
+
.muka-badge--md.muka-badge--icon-only {
|
|
16242
|
+
width: var(--badge-size-height-md);
|
|
16243
|
+
}
|
|
16346
16244
|
|
|
16347
|
-
|
|
16348
|
-
|
|
16349
|
-
|
|
16350
|
-
left: 0;
|
|
16351
|
-
top: 0;
|
|
16352
|
-
bottom: 0;
|
|
16353
|
-
width: 240px;
|
|
16354
|
-
height: 100vh;
|
|
16355
|
-
background-color: var(--bottombar-color-background);
|
|
16356
|
-
border-right: var(--border-width-regular) solid var(--bottombar-color-border);
|
|
16357
|
-
z-index: 10;
|
|
16358
|
-
}
|
|
16245
|
+
.muka-badge--lg.muka-badge--icon-only {
|
|
16246
|
+
width: var(--badge-size-height-lg);
|
|
16247
|
+
}
|
|
16359
16248
|
|
|
16360
|
-
|
|
16361
|
-
|
|
16362
|
-
|
|
16249
|
+
/* Leading icon slot — Figma icon sizes: sm 16, md 20, lg 24 (matches Chip) */
|
|
16250
|
+
.muka-badge__icon {
|
|
16251
|
+
display: inline-flex;
|
|
16252
|
+
align-items: center;
|
|
16253
|
+
justify-content: center;
|
|
16254
|
+
flex-shrink: 0;
|
|
16255
|
+
}
|
|
16363
16256
|
|
|
16364
|
-
|
|
16365
|
-
|
|
16366
|
-
|
|
16367
|
-
|
|
16368
|
-
|
|
16369
|
-
|
|
16370
|
-
|
|
16371
|
-
|
|
16257
|
+
.muka-badge--sm .muka-badge__icon {
|
|
16258
|
+
width: var(--icon-size-xs);
|
|
16259
|
+
height: var(--icon-size-xs);
|
|
16260
|
+
}
|
|
16261
|
+
.muka-badge--md .muka-badge__icon {
|
|
16262
|
+
width: var(--icon-size-sm);
|
|
16263
|
+
height: var(--icon-size-sm);
|
|
16264
|
+
}
|
|
16265
|
+
.muka-badge--lg .muka-badge__icon {
|
|
16266
|
+
width: var(--icon-size-default);
|
|
16267
|
+
height: var(--icon-size-default);
|
|
16268
|
+
}
|
|
16372
16269
|
|
|
16373
|
-
|
|
16374
|
-
|
|
16375
|
-
|
|
16376
|
-
|
|
16377
|
-
|
|
16378
|
-
|
|
16379
|
-
|
|
16380
|
-
|
|
16270
|
+
/* Force the passed content (raw <svg> or an <Icon> wrapper) to the slot size,
|
|
16271
|
+
so callers don't have to size the icon to match each badge size. The
|
|
16272
|
+
.muka-icon selector is intentionally 2 classes deep to override .muka-icon--md. */
|
|
16273
|
+
.muka-badge__icon .muka-icon,
|
|
16274
|
+
.muka-badge__icon svg {
|
|
16275
|
+
width: 100%;
|
|
16276
|
+
height: 100%;
|
|
16277
|
+
}
|
|
16381
16278
|
|
|
16382
|
-
|
|
16383
|
-
|
|
16384
|
-
|
|
16279
|
+
/* Icons inherit the badge's per-variant foreground color */
|
|
16280
|
+
.muka-badge .muka-icon {
|
|
16281
|
+
color: inherit;
|
|
16282
|
+
}
|
|
16385
16283
|
|
|
16386
|
-
|
|
16387
|
-
|
|
16388
|
-
|
|
16389
|
-
|
|
16390
|
-
|
|
16391
|
-
}
|
|
16284
|
+
/* Dot indicator */
|
|
16285
|
+
.muka-badge__dot {
|
|
16286
|
+
flex-shrink: 0;
|
|
16287
|
+
border-radius: var(--border-radius-full);
|
|
16288
|
+
}
|
|
16392
16289
|
|
|
16393
|
-
|
|
16394
|
-
|
|
16395
|
-
|
|
16396
|
-
|
|
16290
|
+
.muka-badge--sm .muka-badge__dot {
|
|
16291
|
+
width: var(--badge-size-dot-sm);
|
|
16292
|
+
height: var(--badge-size-dot-sm);
|
|
16293
|
+
}
|
|
16397
16294
|
|
|
16398
|
-
|
|
16399
|
-
|
|
16400
|
-
|
|
16401
|
-
box-shadow: none;
|
|
16402
|
-
}
|
|
16295
|
+
.muka-badge--md .muka-badge__dot {
|
|
16296
|
+
width: var(--badge-size-dot-md);
|
|
16297
|
+
height: var(--badge-size-dot-md);
|
|
16403
16298
|
}
|
|
16404
16299
|
|
|
16405
|
-
|
|
16300
|
+
.muka-badge--lg .muka-badge__dot {
|
|
16301
|
+
width: var(--badge-size-dot-lg);
|
|
16302
|
+
height: var(--badge-size-dot-lg);
|
|
16303
|
+
}
|
|
16406
16304
|
|
|
16407
|
-
|
|
16408
|
-
|
|
16409
|
-
|
|
16410
|
-
|
|
16411
|
-
|
|
16412
|
-
|
|
16413
|
-
|
|
16414
|
-
|
|
16415
|
-
|
|
16416
|
-
|
|
16417
|
-
|
|
16418
|
-
|
|
16305
|
+
.muka-badge__label {
|
|
16306
|
+
flex: 0 1 auto;
|
|
16307
|
+
min-width: 0;
|
|
16308
|
+
overflow: hidden;
|
|
16309
|
+
text-overflow: ellipsis;
|
|
16310
|
+
/*
|
|
16311
|
+
* The badge sets a tight line-height for compact sizing, but the label's
|
|
16312
|
+
* `overflow: hidden` (needed for ellipsis) then clips glyph descenders (g, y, p). Give the
|
|
16313
|
+
* label its own roomier line-height so descenders render; vertical centering is unaffected
|
|
16314
|
+
* because the badge height is fixed and content is centered via align-items: center.
|
|
16315
|
+
*/
|
|
16316
|
+
line-height: normal;
|
|
16317
|
+
}
|
|
16419
16318
|
|
|
16420
|
-
|
|
16421
|
-
|
|
16422
|
-
|
|
16319
|
+
/* Neutral variant */
|
|
16320
|
+
.muka-badge--neutral {
|
|
16321
|
+
background-color: var(--color-surface-level1);
|
|
16322
|
+
color: var(--color-text-default-default);
|
|
16323
|
+
}
|
|
16423
16324
|
|
|
16424
|
-
|
|
16425
|
-
|
|
16426
|
-
|
|
16427
|
-
gap: var(--spacing-1);
|
|
16428
|
-
padding: 0 var(--spacing-4);
|
|
16429
|
-
max-width: var(--container-max-width-large, 1200px);
|
|
16430
|
-
margin: 0 auto;
|
|
16431
|
-
}
|
|
16325
|
+
.muka-badge--neutral .muka-badge__dot {
|
|
16326
|
+
background-color: var(--color-text-subtle-default);
|
|
16327
|
+
}
|
|
16432
16328
|
|
|
16433
|
-
|
|
16434
|
-
|
|
16435
|
-
|
|
16436
|
-
|
|
16437
|
-
|
|
16438
|
-
border-radius: 0;
|
|
16439
|
-
border-bottom: 2px solid transparent;
|
|
16440
|
-
}
|
|
16329
|
+
/* Info variant */
|
|
16330
|
+
.muka-badge--info {
|
|
16331
|
+
background-color: var(--color-state-info-background);
|
|
16332
|
+
color: var(--color-state-info-contrast);
|
|
16333
|
+
}
|
|
16441
16334
|
|
|
16442
|
-
|
|
16443
|
-
|
|
16444
|
-
|
|
16335
|
+
.muka-badge--info .muka-badge__dot {
|
|
16336
|
+
background-color: var(--color-state-info-default);
|
|
16337
|
+
}
|
|
16445
16338
|
|
|
16446
|
-
|
|
16447
|
-
|
|
16448
|
-
|
|
16339
|
+
/* Success variant */
|
|
16340
|
+
.muka-badge--success {
|
|
16341
|
+
background-color: var(--color-state-success-background);
|
|
16342
|
+
color: var(--color-state-success-contrast);
|
|
16343
|
+
}
|
|
16449
16344
|
|
|
16450
|
-
|
|
16451
|
-
|
|
16452
|
-
|
|
16453
|
-
font-size: var(--text-label-md-regular-fontSize);
|
|
16454
|
-
line-height: var(--text-label-md-regular-lineHeight);
|
|
16455
|
-
}
|
|
16345
|
+
.muka-badge--success .muka-badge__dot {
|
|
16346
|
+
background-color: var(--color-state-success-default);
|
|
16347
|
+
}
|
|
16456
16348
|
|
|
16457
|
-
|
|
16458
|
-
|
|
16459
|
-
|
|
16460
|
-
|
|
16349
|
+
/* Warning variant */
|
|
16350
|
+
.muka-badge--warning {
|
|
16351
|
+
background-color: var(--color-state-warning-background);
|
|
16352
|
+
color: var(--color-state-warning-contrast);
|
|
16353
|
+
}
|
|
16461
16354
|
|
|
16462
|
-
|
|
16463
|
-
|
|
16464
|
-
border-radius: 0;
|
|
16465
|
-
box-shadow: none;
|
|
16466
|
-
}
|
|
16355
|
+
.muka-badge--warning .muka-badge__dot {
|
|
16356
|
+
background-color: var(--color-state-warning-default);
|
|
16467
16357
|
}
|
|
16468
16358
|
|
|
16469
|
-
/*
|
|
16359
|
+
/* Error variant */
|
|
16360
|
+
.muka-badge--error {
|
|
16361
|
+
background-color: var(--color-state-error-background);
|
|
16362
|
+
color: var(--color-state-error-contrast);
|
|
16363
|
+
}
|
|
16470
16364
|
|
|
16471
|
-
|
|
16472
|
-
|
|
16473
|
-
display: none;
|
|
16474
|
-
}
|
|
16365
|
+
.muka-badge--error .muka-badge__dot {
|
|
16366
|
+
background-color: var(--color-state-error-default);
|
|
16475
16367
|
}
|
|
16476
16368
|
|
|
16477
16369
|
|
|
@@ -17667,3 +17559,111 @@ button.muka-chat-photo-grid__tile:focus-visible {
|
|
|
17667
17559
|
border-bottom: none;
|
|
17668
17560
|
}
|
|
17669
17561
|
|
|
17562
|
+
|
|
17563
|
+
/* SwipeActions */
|
|
17564
|
+
/* SwipeActions Component Styles */
|
|
17565
|
+
|
|
17566
|
+
.muka-swipe-actions {
|
|
17567
|
+
position: relative;
|
|
17568
|
+
overflow: hidden;
|
|
17569
|
+
touch-action: pan-y;
|
|
17570
|
+
-webkit-user-select: none;
|
|
17571
|
+
user-select: none;
|
|
17572
|
+
background-color: var(--color-surface-level3);
|
|
17573
|
+
}
|
|
17574
|
+
|
|
17575
|
+
.muka-swipe-actions--disabled {
|
|
17576
|
+
touch-action: auto;
|
|
17577
|
+
}
|
|
17578
|
+
|
|
17579
|
+
/* ─── Row that holds the actual content ────────────────── */
|
|
17580
|
+
|
|
17581
|
+
.muka-swipe-actions__row {
|
|
17582
|
+
position: relative;
|
|
17583
|
+
z-index: 1;
|
|
17584
|
+
background-color: inherit;
|
|
17585
|
+
will-change: transform;
|
|
17586
|
+
}
|
|
17587
|
+
|
|
17588
|
+
/* ─── Action panels — sit beneath the row ──────────────── */
|
|
17589
|
+
|
|
17590
|
+
.muka-swipe-actions__panel {
|
|
17591
|
+
position: absolute;
|
|
17592
|
+
top: 0;
|
|
17593
|
+
bottom: 0;
|
|
17594
|
+
display: flex;
|
|
17595
|
+
align-items: stretch;
|
|
17596
|
+
z-index: 0;
|
|
17597
|
+
}
|
|
17598
|
+
|
|
17599
|
+
.muka-swipe-actions__panel--left {
|
|
17600
|
+
left: 0;
|
|
17601
|
+
}
|
|
17602
|
+
|
|
17603
|
+
.muka-swipe-actions__panel--right {
|
|
17604
|
+
right: 0;
|
|
17605
|
+
}
|
|
17606
|
+
|
|
17607
|
+
/* ─── Single action button ─────────────────────────────── */
|
|
17608
|
+
|
|
17609
|
+
.muka-swipe-actions__button {
|
|
17610
|
+
display: flex;
|
|
17611
|
+
flex-direction: column;
|
|
17612
|
+
align-items: center;
|
|
17613
|
+
justify-content: center;
|
|
17614
|
+
gap: var(--spacing-1);
|
|
17615
|
+
border: none;
|
|
17616
|
+
cursor: pointer;
|
|
17617
|
+
padding: var(--spacing-2);
|
|
17618
|
+
background-color: var(--color-surface-level2);
|
|
17619
|
+
color: var(--color-text-default-default);
|
|
17620
|
+
font-family: var(--text-label-sm-semibold-fontFamily);
|
|
17621
|
+
font-weight: var(--text-label-sm-semibold-fontWeight);
|
|
17622
|
+
font-size: var(--text-label-sm-semibold-fontSize);
|
|
17623
|
+
line-height: var(--text-label-sm-semibold-lineHeight);
|
|
17624
|
+
-webkit-tap-highlight-color: transparent;
|
|
17625
|
+
transition: filter 0.12s ease;
|
|
17626
|
+
}
|
|
17627
|
+
|
|
17628
|
+
.muka-swipe-actions__button:hover {
|
|
17629
|
+
filter: brightness(0.95);
|
|
17630
|
+
}
|
|
17631
|
+
|
|
17632
|
+
.muka-swipe-actions__button:focus-visible {
|
|
17633
|
+
outline: 2px solid var(--color-action-default);
|
|
17634
|
+
outline-offset: -2px;
|
|
17635
|
+
}
|
|
17636
|
+
|
|
17637
|
+
.muka-swipe-actions__button-icon {
|
|
17638
|
+
display: inline-flex;
|
|
17639
|
+
align-items: center;
|
|
17640
|
+
justify-content: center;
|
|
17641
|
+
}
|
|
17642
|
+
|
|
17643
|
+
/* ─── Color variants ───────────────────────────────────── */
|
|
17644
|
+
|
|
17645
|
+
.muka-swipe-actions__button--neutral {
|
|
17646
|
+
background-color: var(--color-surface-level2);
|
|
17647
|
+
color: var(--color-text-default-default);
|
|
17648
|
+
}
|
|
17649
|
+
|
|
17650
|
+
.muka-swipe-actions__button--primary {
|
|
17651
|
+
background-color: var(--color-action-default);
|
|
17652
|
+
color: var(--color-text-default-inverse);
|
|
17653
|
+
}
|
|
17654
|
+
|
|
17655
|
+
.muka-swipe-actions__button--success {
|
|
17656
|
+
background-color: var(--color-state-success-default);
|
|
17657
|
+
color: var(--color-text-default-inverse);
|
|
17658
|
+
}
|
|
17659
|
+
|
|
17660
|
+
.muka-swipe-actions__button--warning {
|
|
17661
|
+
background-color: var(--color-state-warning-default);
|
|
17662
|
+
color: var(--color-text-default-default);
|
|
17663
|
+
}
|
|
17664
|
+
|
|
17665
|
+
.muka-swipe-actions__button--destructive {
|
|
17666
|
+
background-color: var(--color-state-error-default);
|
|
17667
|
+
color: var(--color-text-default-inverse);
|
|
17668
|
+
}
|
|
17669
|
+
|