@revikornmann/muka-ui 0.61.0 → 0.62.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/components/ChatComposer/ChatComposer.css +23 -0
- package/dist/cjs/components/ChatComposer/ChatComposer.js +87 -4
- package/dist/cjs/components/ChatComposer/ChatComposer.js.map +1 -1
- package/dist/cjs/components/ChatComposer/index.js.map +1 -1
- package/dist/cjs/components/index.js.map +1 -1
- package/dist/esm/components/ChatComposer/ChatComposer.css +23 -0
- package/dist/esm/components/ChatComposer/ChatComposer.js +87 -4
- package/dist/esm/components/ChatComposer/ChatComposer.js.map +1 -1
- package/dist/esm/components/ChatComposer/index.js.map +1 -1
- package/dist/esm/components/index.js.map +1 -1
- package/dist/styles/components/ChatComposer.css +23 -0
- package/dist/styles/index.css +2034 -2011
- package/dist/styles/muka-dark.css +2034 -2011
- package/dist/styles/muka-light.css +2034 -2011
- package/dist/styles/wireframe-dark.css +2034 -2011
- package/dist/styles/wireframe-light.css +2034 -2011
- package/dist/types/components/ChatComposer/ChatComposer.d.ts +27 -0
- package/dist/types/components/ChatComposer/ChatComposer.d.ts.map +1 -1
- package/dist/types/components/ChatComposer/index.d.ts +1 -1
- package/dist/types/components/ChatComposer/index.d.ts.map +1 -1
- package/dist/types/components/index.d.ts +1 -1
- package/dist/types/components/index.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/styles/index.css
CHANGED
|
@@ -5508,6 +5508,81 @@ body {
|
|
|
5508
5508
|
}
|
|
5509
5509
|
|
|
5510
5510
|
|
|
5511
|
+
/* Skeleton */
|
|
5512
|
+
/* Skeleton Component Styles */
|
|
5513
|
+
|
|
5514
|
+
.muka-skeleton {
|
|
5515
|
+
background-color: var(--color-surface-level1);
|
|
5516
|
+
display: block;
|
|
5517
|
+
}
|
|
5518
|
+
|
|
5519
|
+
/* Variants */
|
|
5520
|
+
.muka-skeleton--text {
|
|
5521
|
+
height: 1em;
|
|
5522
|
+
border-radius: var(--radius-md);
|
|
5523
|
+
width: 100%;
|
|
5524
|
+
}
|
|
5525
|
+
|
|
5526
|
+
.muka-skeleton--circular {
|
|
5527
|
+
width: 2.5rem;
|
|
5528
|
+
height: 2.5rem;
|
|
5529
|
+
border-radius: var(--radius-full);
|
|
5530
|
+
}
|
|
5531
|
+
|
|
5532
|
+
.muka-skeleton--rectangular {
|
|
5533
|
+
height: 7.5rem;
|
|
5534
|
+
border-radius: var(--radius-md);
|
|
5535
|
+
width: 100%;
|
|
5536
|
+
}
|
|
5537
|
+
|
|
5538
|
+
/* Last line in multi-line text is shorter */
|
|
5539
|
+
.muka-skeleton--last-line {
|
|
5540
|
+
width: 80%;
|
|
5541
|
+
}
|
|
5542
|
+
|
|
5543
|
+
/* Lines container */
|
|
5544
|
+
.muka-skeleton__lines {
|
|
5545
|
+
display: flex;
|
|
5546
|
+
flex-direction: column;
|
|
5547
|
+
gap: var(--spacing-2);
|
|
5548
|
+
}
|
|
5549
|
+
|
|
5550
|
+
/* Shimmer animation */
|
|
5551
|
+
@keyframes muka-skeleton-shimmer {
|
|
5552
|
+
0% {
|
|
5553
|
+
background-position: -200% 0;
|
|
5554
|
+
}
|
|
5555
|
+
100% {
|
|
5556
|
+
background-position: 200% 0;
|
|
5557
|
+
}
|
|
5558
|
+
}
|
|
5559
|
+
|
|
5560
|
+
.muka-skeleton--shimmer {
|
|
5561
|
+
background: linear-gradient(
|
|
5562
|
+
90deg,
|
|
5563
|
+
var(--color-surface-level1) 25%,
|
|
5564
|
+
var(--color-surface-level2) 50%,
|
|
5565
|
+
var(--color-surface-level1) 75%
|
|
5566
|
+
);
|
|
5567
|
+
background-size: 200% 100%;
|
|
5568
|
+
animation: muka-skeleton-shimmer 1.5s ease-in-out infinite;
|
|
5569
|
+
}
|
|
5570
|
+
|
|
5571
|
+
/* Pulse animation */
|
|
5572
|
+
@keyframes muka-skeleton-pulse {
|
|
5573
|
+
0%, 100% {
|
|
5574
|
+
opacity: 1;
|
|
5575
|
+
}
|
|
5576
|
+
50% {
|
|
5577
|
+
opacity: 0.4;
|
|
5578
|
+
}
|
|
5579
|
+
}
|
|
5580
|
+
|
|
5581
|
+
.muka-skeleton--pulse {
|
|
5582
|
+
animation: muka-skeleton-pulse 1.5s ease-in-out infinite;
|
|
5583
|
+
}
|
|
5584
|
+
|
|
5585
|
+
|
|
5511
5586
|
/* SmsOtpField */
|
|
5512
5587
|
/* SmsOtpField Component Styles - Using Muka Design Tokens */
|
|
5513
5588
|
|
|
@@ -5700,81 +5775,6 @@ body {
|
|
|
5700
5775
|
}
|
|
5701
5776
|
|
|
5702
5777
|
|
|
5703
|
-
/* Skeleton */
|
|
5704
|
-
/* Skeleton Component Styles */
|
|
5705
|
-
|
|
5706
|
-
.muka-skeleton {
|
|
5707
|
-
background-color: var(--color-surface-level1);
|
|
5708
|
-
display: block;
|
|
5709
|
-
}
|
|
5710
|
-
|
|
5711
|
-
/* Variants */
|
|
5712
|
-
.muka-skeleton--text {
|
|
5713
|
-
height: 1em;
|
|
5714
|
-
border-radius: var(--radius-md);
|
|
5715
|
-
width: 100%;
|
|
5716
|
-
}
|
|
5717
|
-
|
|
5718
|
-
.muka-skeleton--circular {
|
|
5719
|
-
width: 2.5rem;
|
|
5720
|
-
height: 2.5rem;
|
|
5721
|
-
border-radius: var(--radius-full);
|
|
5722
|
-
}
|
|
5723
|
-
|
|
5724
|
-
.muka-skeleton--rectangular {
|
|
5725
|
-
height: 7.5rem;
|
|
5726
|
-
border-radius: var(--radius-md);
|
|
5727
|
-
width: 100%;
|
|
5728
|
-
}
|
|
5729
|
-
|
|
5730
|
-
/* Last line in multi-line text is shorter */
|
|
5731
|
-
.muka-skeleton--last-line {
|
|
5732
|
-
width: 80%;
|
|
5733
|
-
}
|
|
5734
|
-
|
|
5735
|
-
/* Lines container */
|
|
5736
|
-
.muka-skeleton__lines {
|
|
5737
|
-
display: flex;
|
|
5738
|
-
flex-direction: column;
|
|
5739
|
-
gap: var(--spacing-2);
|
|
5740
|
-
}
|
|
5741
|
-
|
|
5742
|
-
/* Shimmer animation */
|
|
5743
|
-
@keyframes muka-skeleton-shimmer {
|
|
5744
|
-
0% {
|
|
5745
|
-
background-position: -200% 0;
|
|
5746
|
-
}
|
|
5747
|
-
100% {
|
|
5748
|
-
background-position: 200% 0;
|
|
5749
|
-
}
|
|
5750
|
-
}
|
|
5751
|
-
|
|
5752
|
-
.muka-skeleton--shimmer {
|
|
5753
|
-
background: linear-gradient(
|
|
5754
|
-
90deg,
|
|
5755
|
-
var(--color-surface-level1) 25%,
|
|
5756
|
-
var(--color-surface-level2) 50%,
|
|
5757
|
-
var(--color-surface-level1) 75%
|
|
5758
|
-
);
|
|
5759
|
-
background-size: 200% 100%;
|
|
5760
|
-
animation: muka-skeleton-shimmer 1.5s ease-in-out infinite;
|
|
5761
|
-
}
|
|
5762
|
-
|
|
5763
|
-
/* Pulse animation */
|
|
5764
|
-
@keyframes muka-skeleton-pulse {
|
|
5765
|
-
0%, 100% {
|
|
5766
|
-
opacity: 1;
|
|
5767
|
-
}
|
|
5768
|
-
50% {
|
|
5769
|
-
opacity: 0.4;
|
|
5770
|
-
}
|
|
5771
|
-
}
|
|
5772
|
-
|
|
5773
|
-
.muka-skeleton--pulse {
|
|
5774
|
-
animation: muka-skeleton-pulse 1.5s ease-in-out infinite;
|
|
5775
|
-
}
|
|
5776
|
-
|
|
5777
|
-
|
|
5778
5778
|
/* SiteHeader */
|
|
5779
5779
|
/* SiteHeader Component Styles */
|
|
5780
5780
|
|
|
@@ -5920,88 +5920,6 @@ body {
|
|
|
5920
5920
|
}
|
|
5921
5921
|
|
|
5922
5922
|
|
|
5923
|
-
/* Sheet */
|
|
5924
|
-
/* Sheet Component Styles */
|
|
5925
|
-
|
|
5926
|
-
/* ─── Backdrop ────────────────────────────────────────── */
|
|
5927
|
-
|
|
5928
|
-
.muka-sheet__overlay {
|
|
5929
|
-
position: fixed;
|
|
5930
|
-
inset: 0;
|
|
5931
|
-
background-color: var(--color-surface-backdrop);
|
|
5932
|
-
-webkit-backdrop-filter: blur(var(--effect-blur-backdrop));
|
|
5933
|
-
backdrop-filter: blur(var(--effect-blur-backdrop));
|
|
5934
|
-
z-index: 50;
|
|
5935
|
-
}
|
|
5936
|
-
|
|
5937
|
-
/* ─── Surface ─────────────────────────────────────────── */
|
|
5938
|
-
|
|
5939
|
-
.muka-sheet {
|
|
5940
|
-
position: fixed;
|
|
5941
|
-
left: 0;
|
|
5942
|
-
right: 0;
|
|
5943
|
-
bottom: 0;
|
|
5944
|
-
z-index: 51;
|
|
5945
|
-
|
|
5946
|
-
display: flex;
|
|
5947
|
-
flex-direction: column;
|
|
5948
|
-
|
|
5949
|
-
max-height: 96dvh;
|
|
5950
|
-
|
|
5951
|
-
background-color: var(--color-surface-level3);
|
|
5952
|
-
border-top-left-radius: var(--radius-lg);
|
|
5953
|
-
border-top-right-radius: var(--radius-lg);
|
|
5954
|
-
box-shadow: var(--shadow-level5);
|
|
5955
|
-
|
|
5956
|
-
outline: none;
|
|
5957
|
-
}
|
|
5958
|
-
|
|
5959
|
-
/* Safe-area bottom inset for the iPhone home indicator. */
|
|
5960
|
-
.muka-sheet:not(.muka-sheet--no-safe-area) {
|
|
5961
|
-
padding-bottom: env(safe-area-inset-bottom);
|
|
5962
|
-
}
|
|
5963
|
-
|
|
5964
|
-
/* ─── Drag handle ─────────────────────────────────────── */
|
|
5965
|
-
|
|
5966
|
-
.muka-sheet__handle-container {
|
|
5967
|
-
display: flex;
|
|
5968
|
-
justify-content: center;
|
|
5969
|
-
flex-shrink: 0;
|
|
5970
|
-
padding: var(--spacing-3) 0;
|
|
5971
|
-
}
|
|
5972
|
-
|
|
5973
|
-
.muka-sheet__handle {
|
|
5974
|
-
width: var(--dialog-drag-handle-width);
|
|
5975
|
-
height: var(--dialog-drag-handle-height);
|
|
5976
|
-
background-color: var(--dialog-drag-handle-color);
|
|
5977
|
-
border-radius: var(--dialog-drag-handle-radius);
|
|
5978
|
-
}
|
|
5979
|
-
|
|
5980
|
-
/* ─── Body (scrollable) ───────────────────────────────── */
|
|
5981
|
-
|
|
5982
|
-
.muka-sheet__body {
|
|
5983
|
-
flex: 1 1 0%;
|
|
5984
|
-
min-height: 0;
|
|
5985
|
-
overflow-y: auto;
|
|
5986
|
-
-webkit-overflow-scrolling: touch;
|
|
5987
|
-
overscroll-behavior: contain;
|
|
5988
|
-
}
|
|
5989
|
-
|
|
5990
|
-
/* ─── Visually-hidden title (a11y) ────────────────────── */
|
|
5991
|
-
|
|
5992
|
-
.muka-sheet__sr-title {
|
|
5993
|
-
position: absolute;
|
|
5994
|
-
width: 1px;
|
|
5995
|
-
height: 1px;
|
|
5996
|
-
padding: 0;
|
|
5997
|
-
margin: -1px;
|
|
5998
|
-
overflow: hidden;
|
|
5999
|
-
clip: rect(0, 0, 0, 0);
|
|
6000
|
-
white-space: nowrap;
|
|
6001
|
-
border: 0;
|
|
6002
|
-
}
|
|
6003
|
-
|
|
6004
|
-
|
|
6005
5923
|
/* Select */
|
|
6006
5924
|
/* Select Component Styles - Aligned with Input for consistency */
|
|
6007
5925
|
|
|
@@ -6407,22 +6325,104 @@ body {
|
|
|
6407
6325
|
}
|
|
6408
6326
|
|
|
6409
6327
|
|
|
6410
|
-
/*
|
|
6411
|
-
/*
|
|
6328
|
+
/* Sheet */
|
|
6329
|
+
/* Sheet Component Styles */
|
|
6412
6330
|
|
|
6413
|
-
|
|
6414
|
-
|
|
6415
|
-
|
|
6416
|
-
|
|
6417
|
-
|
|
6331
|
+
/* ─── Backdrop ────────────────────────────────────────── */
|
|
6332
|
+
|
|
6333
|
+
.muka-sheet__overlay {
|
|
6334
|
+
position: fixed;
|
|
6335
|
+
inset: 0;
|
|
6336
|
+
background-color: var(--color-surface-backdrop);
|
|
6337
|
+
-webkit-backdrop-filter: blur(var(--effect-blur-backdrop));
|
|
6338
|
+
backdrop-filter: blur(var(--effect-blur-backdrop));
|
|
6339
|
+
z-index: 50;
|
|
6418
6340
|
}
|
|
6419
6341
|
|
|
6420
|
-
/* ───
|
|
6342
|
+
/* ─── Surface ─────────────────────────────────────────── */
|
|
6421
6343
|
|
|
6422
|
-
.muka-
|
|
6423
|
-
|
|
6424
|
-
|
|
6425
|
-
|
|
6344
|
+
.muka-sheet {
|
|
6345
|
+
position: fixed;
|
|
6346
|
+
left: 0;
|
|
6347
|
+
right: 0;
|
|
6348
|
+
bottom: 0;
|
|
6349
|
+
z-index: 51;
|
|
6350
|
+
|
|
6351
|
+
display: flex;
|
|
6352
|
+
flex-direction: column;
|
|
6353
|
+
|
|
6354
|
+
max-height: 96dvh;
|
|
6355
|
+
|
|
6356
|
+
background-color: var(--color-surface-level3);
|
|
6357
|
+
border-top-left-radius: var(--radius-lg);
|
|
6358
|
+
border-top-right-radius: var(--radius-lg);
|
|
6359
|
+
box-shadow: var(--shadow-level5);
|
|
6360
|
+
|
|
6361
|
+
outline: none;
|
|
6362
|
+
}
|
|
6363
|
+
|
|
6364
|
+
/* Safe-area bottom inset for the iPhone home indicator. */
|
|
6365
|
+
.muka-sheet:not(.muka-sheet--no-safe-area) {
|
|
6366
|
+
padding-bottom: env(safe-area-inset-bottom);
|
|
6367
|
+
}
|
|
6368
|
+
|
|
6369
|
+
/* ─── Drag handle ─────────────────────────────────────── */
|
|
6370
|
+
|
|
6371
|
+
.muka-sheet__handle-container {
|
|
6372
|
+
display: flex;
|
|
6373
|
+
justify-content: center;
|
|
6374
|
+
flex-shrink: 0;
|
|
6375
|
+
padding: var(--spacing-3) 0;
|
|
6376
|
+
}
|
|
6377
|
+
|
|
6378
|
+
.muka-sheet__handle {
|
|
6379
|
+
width: var(--dialog-drag-handle-width);
|
|
6380
|
+
height: var(--dialog-drag-handle-height);
|
|
6381
|
+
background-color: var(--dialog-drag-handle-color);
|
|
6382
|
+
border-radius: var(--dialog-drag-handle-radius);
|
|
6383
|
+
}
|
|
6384
|
+
|
|
6385
|
+
/* ─── Body (scrollable) ───────────────────────────────── */
|
|
6386
|
+
|
|
6387
|
+
.muka-sheet__body {
|
|
6388
|
+
flex: 1 1 0%;
|
|
6389
|
+
min-height: 0;
|
|
6390
|
+
overflow-y: auto;
|
|
6391
|
+
-webkit-overflow-scrolling: touch;
|
|
6392
|
+
overscroll-behavior: contain;
|
|
6393
|
+
}
|
|
6394
|
+
|
|
6395
|
+
/* ─── Visually-hidden title (a11y) ────────────────────── */
|
|
6396
|
+
|
|
6397
|
+
.muka-sheet__sr-title {
|
|
6398
|
+
position: absolute;
|
|
6399
|
+
width: 1px;
|
|
6400
|
+
height: 1px;
|
|
6401
|
+
padding: 0;
|
|
6402
|
+
margin: -1px;
|
|
6403
|
+
overflow: hidden;
|
|
6404
|
+
clip: rect(0, 0, 0, 0);
|
|
6405
|
+
white-space: nowrap;
|
|
6406
|
+
border: 0;
|
|
6407
|
+
}
|
|
6408
|
+
|
|
6409
|
+
|
|
6410
|
+
/* SearchInput */
|
|
6411
|
+
/* SearchInput Component Styles */
|
|
6412
|
+
|
|
6413
|
+
.muka-search-input {
|
|
6414
|
+
display: flex;
|
|
6415
|
+
align-items: center;
|
|
6416
|
+
gap: var(--spacing-3);
|
|
6417
|
+
width: 100%;
|
|
6418
|
+
}
|
|
6419
|
+
|
|
6420
|
+
/* ─── Field wrapper ───────────────────────────────────── */
|
|
6421
|
+
|
|
6422
|
+
.muka-search-input__field {
|
|
6423
|
+
flex: 1 1 auto;
|
|
6424
|
+
display: flex;
|
|
6425
|
+
align-items: center;
|
|
6426
6426
|
gap: var(--spacing-2);
|
|
6427
6427
|
background-color: var(--input-field-color-default-background);
|
|
6428
6428
|
border: var(--border-width-regular) solid var(--input-field-color-default-border);
|
|
@@ -6576,56 +6576,6 @@ body {
|
|
|
6576
6576
|
}
|
|
6577
6577
|
|
|
6578
6578
|
|
|
6579
|
-
/* RecordingBar */
|
|
6580
|
-
/* RecordingBar Component Styles */
|
|
6581
|
-
|
|
6582
|
-
.muka-recording-bar {
|
|
6583
|
-
display: flex;
|
|
6584
|
-
align-items: center;
|
|
6585
|
-
gap: var(--spacing-3);
|
|
6586
|
-
width: 100%;
|
|
6587
|
-
min-width: 0;
|
|
6588
|
-
}
|
|
6589
|
-
|
|
6590
|
-
.muka-recording-bar__dot {
|
|
6591
|
-
flex: 0 0 auto;
|
|
6592
|
-
width: 0.625rem;
|
|
6593
|
-
height: 0.625rem;
|
|
6594
|
-
border-radius: var(--radius-full, 9999px);
|
|
6595
|
-
background: var(--alert-color-error-accent, var(--color-text-default-default));
|
|
6596
|
-
animation: muka-recording-bar-pulse 1s ease-in-out infinite;
|
|
6597
|
-
}
|
|
6598
|
-
|
|
6599
|
-
.muka-recording-bar__time {
|
|
6600
|
-
flex: 0 0 auto;
|
|
6601
|
-
font-size: var(--text-label-sm-regular-fontSize);
|
|
6602
|
-
line-height: var(--text-label-sm-leading);
|
|
6603
|
-
font-variant-numeric: tabular-nums;
|
|
6604
|
-
color: var(--color-text-default-default);
|
|
6605
|
-
}
|
|
6606
|
-
|
|
6607
|
-
.muka-recording-bar__wave {
|
|
6608
|
-
flex: 1 1 auto;
|
|
6609
|
-
min-width: 0;
|
|
6610
|
-
}
|
|
6611
|
-
|
|
6612
|
-
@keyframes muka-recording-bar-pulse {
|
|
6613
|
-
0%,
|
|
6614
|
-
100% {
|
|
6615
|
-
opacity: 1;
|
|
6616
|
-
}
|
|
6617
|
-
50% {
|
|
6618
|
-
opacity: 0.3;
|
|
6619
|
-
}
|
|
6620
|
-
}
|
|
6621
|
-
|
|
6622
|
-
@media (prefers-reduced-motion: reduce) {
|
|
6623
|
-
.muka-recording-bar__dot {
|
|
6624
|
-
animation: none;
|
|
6625
|
-
}
|
|
6626
|
-
}
|
|
6627
|
-
|
|
6628
|
-
|
|
6629
6579
|
/* Scrollbar */
|
|
6630
6580
|
/* Scrollbar — Figma menu scrollbar (32px rail, chevrons, grip thumb) */
|
|
6631
6581
|
|
|
@@ -6969,178 +6919,84 @@ body {
|
|
|
6969
6919
|
}
|
|
6970
6920
|
|
|
6971
6921
|
|
|
6972
|
-
/*
|
|
6973
|
-
/*
|
|
6922
|
+
/* RecordingBar */
|
|
6923
|
+
/* RecordingBar Component Styles */
|
|
6974
6924
|
|
|
6975
|
-
|
|
6976
|
-
|
|
6977
|
-
display: inline-flex;
|
|
6925
|
+
.muka-recording-bar {
|
|
6926
|
+
display: flex;
|
|
6978
6927
|
align-items: center;
|
|
6979
|
-
gap: var(--spacing-
|
|
6980
|
-
|
|
6981
|
-
|
|
6928
|
+
gap: var(--spacing-3);
|
|
6929
|
+
width: 100%;
|
|
6930
|
+
min-width: 0;
|
|
6982
6931
|
}
|
|
6983
6932
|
|
|
6984
|
-
.muka-
|
|
6985
|
-
|
|
6986
|
-
|
|
6933
|
+
.muka-recording-bar__dot {
|
|
6934
|
+
flex: 0 0 auto;
|
|
6935
|
+
width: 0.625rem;
|
|
6936
|
+
height: 0.625rem;
|
|
6937
|
+
border-radius: var(--radius-full, 9999px);
|
|
6938
|
+
background: var(--alert-color-error-accent, var(--color-text-default-default));
|
|
6939
|
+
animation: muka-recording-bar-pulse 1s ease-in-out infinite;
|
|
6987
6940
|
}
|
|
6988
6941
|
|
|
6989
|
-
|
|
6990
|
-
|
|
6991
|
-
|
|
6992
|
-
|
|
6993
|
-
|
|
6994
|
-
|
|
6995
|
-
flex-shrink: 0;
|
|
6942
|
+
.muka-recording-bar__time {
|
|
6943
|
+
flex: 0 0 auto;
|
|
6944
|
+
font-size: var(--text-label-sm-regular-fontSize);
|
|
6945
|
+
line-height: var(--text-label-sm-leading);
|
|
6946
|
+
font-variant-numeric: tabular-nums;
|
|
6947
|
+
color: var(--color-text-default-default);
|
|
6996
6948
|
}
|
|
6997
6949
|
|
|
6998
|
-
|
|
6999
|
-
|
|
7000
|
-
|
|
7001
|
-
width: 1px;
|
|
7002
|
-
height: 1px;
|
|
7003
|
-
padding: 0;
|
|
7004
|
-
margin: -1px;
|
|
7005
|
-
overflow: hidden;
|
|
7006
|
-
clip: rect(0, 0, 0, 0);
|
|
7007
|
-
white-space: nowrap;
|
|
7008
|
-
border: 0;
|
|
6950
|
+
.muka-recording-bar__wave {
|
|
6951
|
+
flex: 1 1 auto;
|
|
6952
|
+
min-width: 0;
|
|
7009
6953
|
}
|
|
7010
6954
|
|
|
7011
|
-
|
|
7012
|
-
|
|
7013
|
-
|
|
7014
|
-
|
|
7015
|
-
|
|
7016
|
-
|
|
7017
|
-
|
|
7018
|
-
|
|
7019
|
-
background-color: var(--radio-color-default-background);
|
|
7020
|
-
border: var(--border-width-regular) solid var(--radio-color-default-border);
|
|
7021
|
-
transition: all 0.15s ease;
|
|
7022
|
-
box-shadow: inset 0 1px 2px 0 rgba(26, 26, 26, 0.15);
|
|
6955
|
+
@keyframes muka-recording-bar-pulse {
|
|
6956
|
+
0%,
|
|
6957
|
+
100% {
|
|
6958
|
+
opacity: 1;
|
|
6959
|
+
}
|
|
6960
|
+
50% {
|
|
6961
|
+
opacity: 0.3;
|
|
6962
|
+
}
|
|
7023
6963
|
}
|
|
7024
6964
|
|
|
7025
|
-
|
|
7026
|
-
.muka-
|
|
7027
|
-
|
|
7028
|
-
|
|
6965
|
+
@media (prefers-reduced-motion: reduce) {
|
|
6966
|
+
.muka-recording-bar__dot {
|
|
6967
|
+
animation: none;
|
|
6968
|
+
}
|
|
7029
6969
|
}
|
|
7030
6970
|
|
|
7031
|
-
.muka-radio--lg .muka-radio__indicator {
|
|
7032
|
-
width: var(--radio-size-lg);
|
|
7033
|
-
height: var(--radio-size-lg);
|
|
7034
|
-
}
|
|
7035
6971
|
|
|
7036
|
-
/*
|
|
7037
|
-
|
|
7038
|
-
width: var(--radio-dot-size-default);
|
|
7039
|
-
height: var(--radio-dot-size-default);
|
|
7040
|
-
border-radius: var(--border-radius-full);
|
|
7041
|
-
background-color: var(--radio-color-default-dot);
|
|
7042
|
-
transform: scale(0);
|
|
7043
|
-
transition: transform 0.15s ease;
|
|
7044
|
-
}
|
|
6972
|
+
/* RadioTile */
|
|
6973
|
+
/* RadioTile Component Styles - Using Muka Design Tokens */
|
|
7045
6974
|
|
|
7046
|
-
|
|
7047
|
-
|
|
7048
|
-
|
|
6975
|
+
/* Base tile styles - horizontal */
|
|
6976
|
+
.muka-radio-tile {
|
|
6977
|
+
display: flex;
|
|
6978
|
+
align-items: center;
|
|
6979
|
+
gap: var(--spacing-4);
|
|
6980
|
+
padding: var(--spacing-4);
|
|
6981
|
+
border: var(--border-width-regular) solid var(--input-field-color-default-border);
|
|
6982
|
+
border-radius: var(--input-field-radius-lg);
|
|
6983
|
+
background-color: var(--color-surface-level3);
|
|
6984
|
+
cursor: pointer;
|
|
6985
|
+
transition: border-color 0.15s ease, border-width 0.15s ease;
|
|
6986
|
+
overflow: hidden;
|
|
6987
|
+
box-sizing: border-box;
|
|
7049
6988
|
}
|
|
7050
6989
|
|
|
7051
|
-
.muka-radio--
|
|
7052
|
-
|
|
7053
|
-
|
|
6990
|
+
.muka-radio-tile--disabled {
|
|
6991
|
+
cursor: not-allowed;
|
|
6992
|
+
opacity: 0.6;
|
|
7054
6993
|
}
|
|
7055
6994
|
|
|
7056
|
-
/*
|
|
7057
|
-
|
|
7058
|
-
|
|
7059
|
-
|
|
7060
|
-
|
|
7061
|
-
outline-offset: 2px;
|
|
7062
|
-
}
|
|
7063
|
-
|
|
7064
|
-
/* Checked state */
|
|
7065
|
-
.muka-radio__input:checked + .muka-radio__indicator {
|
|
7066
|
-
background-color: var(--radio-color-checked-background);
|
|
7067
|
-
border-width: var(--border-width-bold);
|
|
7068
|
-
border-color: var(--radio-color-checked-border);
|
|
7069
|
-
box-shadow: none;
|
|
7070
|
-
}
|
|
7071
|
-
|
|
7072
|
-
.muka-radio__input:checked + .muka-radio__indicator .muka-radio__dot {
|
|
7073
|
-
background-color: var(--radio-color-checked-dot);
|
|
7074
|
-
transform: scale(1);
|
|
7075
|
-
}
|
|
7076
|
-
|
|
7077
|
-
/* Disabled state */
|
|
7078
|
-
.muka-radio--disabled .muka-radio__indicator {
|
|
7079
|
-
background-color: var(--radio-color-disabled-background);
|
|
7080
|
-
border-color: var(--radio-color-disabled-border);
|
|
7081
|
-
box-shadow: none;
|
|
7082
|
-
}
|
|
7083
|
-
|
|
7084
|
-
.muka-radio__input:disabled:checked + .muka-radio__indicator .muka-radio__dot {
|
|
7085
|
-
background-color: var(--radio-color-disabled-dot);
|
|
7086
|
-
}
|
|
7087
|
-
|
|
7088
|
-
/* Label text */
|
|
7089
|
-
.muka-radio__label {
|
|
7090
|
-
font-family: var(--text-label-lg-regular-fontFamily);
|
|
7091
|
-
font-weight: var(--text-label-lg-regular-fontWeight);
|
|
7092
|
-
font-size: var(--text-label-lg-regular-fontSize);
|
|
7093
|
-
line-height: var(--text-label-lg-regular-lineHeight);
|
|
7094
|
-
color: var(--color-text-default-default);
|
|
7095
|
-
}
|
|
7096
|
-
|
|
7097
|
-
.muka-radio--sm .muka-radio__label {
|
|
7098
|
-
font-family: var(--text-label-md-regular-fontFamily);
|
|
7099
|
-
font-weight: var(--text-label-md-regular-fontWeight);
|
|
7100
|
-
font-size: var(--text-label-md-regular-fontSize);
|
|
7101
|
-
line-height: var(--text-label-md-regular-lineHeight);
|
|
7102
|
-
}
|
|
7103
|
-
|
|
7104
|
-
.muka-radio--lg .muka-radio__label {
|
|
7105
|
-
font-family: var(--text-label-xl-regular-fontFamily);
|
|
7106
|
-
font-weight: var(--text-label-xl-regular-fontWeight);
|
|
7107
|
-
font-size: var(--text-label-xl-regular-fontSize);
|
|
7108
|
-
line-height: var(--text-label-xl-regular-lineHeight);
|
|
7109
|
-
}
|
|
7110
|
-
|
|
7111
|
-
.muka-radio--disabled .muka-radio__label {
|
|
7112
|
-
color: var(--color-text-subtle-default);
|
|
7113
|
-
}
|
|
7114
|
-
|
|
7115
|
-
|
|
7116
|
-
/* RadioTile */
|
|
7117
|
-
/* RadioTile Component Styles - Using Muka Design Tokens */
|
|
7118
|
-
|
|
7119
|
-
/* Base tile styles - horizontal */
|
|
7120
|
-
.muka-radio-tile {
|
|
7121
|
-
display: flex;
|
|
7122
|
-
align-items: center;
|
|
7123
|
-
gap: var(--spacing-4);
|
|
7124
|
-
padding: var(--spacing-4);
|
|
7125
|
-
border: var(--border-width-regular) solid var(--input-field-color-default-border);
|
|
7126
|
-
border-radius: var(--input-field-radius-lg);
|
|
7127
|
-
background-color: var(--color-surface-level3);
|
|
7128
|
-
cursor: pointer;
|
|
7129
|
-
transition: border-color 0.15s ease, border-width 0.15s ease;
|
|
7130
|
-
overflow: hidden;
|
|
7131
|
-
box-sizing: border-box;
|
|
7132
|
-
}
|
|
7133
|
-
|
|
7134
|
-
.muka-radio-tile--disabled {
|
|
7135
|
-
cursor: not-allowed;
|
|
7136
|
-
opacity: 0.6;
|
|
7137
|
-
}
|
|
7138
|
-
|
|
7139
|
-
/* Selected state */
|
|
7140
|
-
.muka-radio-tile[data-checked] {
|
|
7141
|
-
border-width: var(--border-width-bold);
|
|
7142
|
-
border-color: var(--color-action-default);
|
|
7143
|
-
}
|
|
6995
|
+
/* Selected state */
|
|
6996
|
+
.muka-radio-tile[data-checked] {
|
|
6997
|
+
border-width: var(--border-width-bold);
|
|
6998
|
+
border-color: var(--color-action-default);
|
|
6999
|
+
}
|
|
7144
7000
|
|
|
7145
7001
|
/* Vertical layout */
|
|
7146
7002
|
.muka-radio-tile--vertical {
|
|
@@ -7256,6 +7112,150 @@ body {
|
|
|
7256
7112
|
}
|
|
7257
7113
|
|
|
7258
7114
|
|
|
7115
|
+
/* Radio */
|
|
7116
|
+
/* Radio Component Styles - Using Muka Design Tokens */
|
|
7117
|
+
|
|
7118
|
+
/* Wrapper - clickable label container */
|
|
7119
|
+
.muka-radio {
|
|
7120
|
+
display: inline-flex;
|
|
7121
|
+
align-items: center;
|
|
7122
|
+
gap: var(--spacing-4);
|
|
7123
|
+
cursor: pointer;
|
|
7124
|
+
user-select: none;
|
|
7125
|
+
}
|
|
7126
|
+
|
|
7127
|
+
.muka-radio--disabled {
|
|
7128
|
+
cursor: not-allowed;
|
|
7129
|
+
opacity: 0.6;
|
|
7130
|
+
}
|
|
7131
|
+
|
|
7132
|
+
/* Control container */
|
|
7133
|
+
.muka-radio__control {
|
|
7134
|
+
position: relative;
|
|
7135
|
+
display: inline-flex;
|
|
7136
|
+
align-items: center;
|
|
7137
|
+
justify-content: center;
|
|
7138
|
+
flex-shrink: 0;
|
|
7139
|
+
}
|
|
7140
|
+
|
|
7141
|
+
/* Hidden native input */
|
|
7142
|
+
.muka-radio__input {
|
|
7143
|
+
position: absolute;
|
|
7144
|
+
width: 1px;
|
|
7145
|
+
height: 1px;
|
|
7146
|
+
padding: 0;
|
|
7147
|
+
margin: -1px;
|
|
7148
|
+
overflow: hidden;
|
|
7149
|
+
clip: rect(0, 0, 0, 0);
|
|
7150
|
+
white-space: nowrap;
|
|
7151
|
+
border: 0;
|
|
7152
|
+
}
|
|
7153
|
+
|
|
7154
|
+
/* Visual indicator (circle) */
|
|
7155
|
+
.muka-radio__indicator {
|
|
7156
|
+
display: flex;
|
|
7157
|
+
align-items: center;
|
|
7158
|
+
justify-content: center;
|
|
7159
|
+
width: var(--radio-size-default);
|
|
7160
|
+
height: var(--radio-size-default);
|
|
7161
|
+
border-radius: var(--border-radius-full);
|
|
7162
|
+
background-color: var(--radio-color-default-background);
|
|
7163
|
+
border: var(--border-width-regular) solid var(--radio-color-default-border);
|
|
7164
|
+
transition: all 0.15s ease;
|
|
7165
|
+
box-shadow: inset 0 1px 2px 0 rgba(26, 26, 26, 0.15);
|
|
7166
|
+
}
|
|
7167
|
+
|
|
7168
|
+
/* Size variants */
|
|
7169
|
+
.muka-radio--sm .muka-radio__indicator {
|
|
7170
|
+
width: var(--radio-size-sm);
|
|
7171
|
+
height: var(--radio-size-sm);
|
|
7172
|
+
}
|
|
7173
|
+
|
|
7174
|
+
.muka-radio--lg .muka-radio__indicator {
|
|
7175
|
+
width: var(--radio-size-lg);
|
|
7176
|
+
height: var(--radio-size-lg);
|
|
7177
|
+
}
|
|
7178
|
+
|
|
7179
|
+
/* Inner dot (shown when checked) */
|
|
7180
|
+
.muka-radio__dot {
|
|
7181
|
+
width: var(--radio-dot-size-default);
|
|
7182
|
+
height: var(--radio-dot-size-default);
|
|
7183
|
+
border-radius: var(--border-radius-full);
|
|
7184
|
+
background-color: var(--radio-color-default-dot);
|
|
7185
|
+
transform: scale(0);
|
|
7186
|
+
transition: transform 0.15s ease;
|
|
7187
|
+
}
|
|
7188
|
+
|
|
7189
|
+
.muka-radio--sm .muka-radio__dot {
|
|
7190
|
+
width: var(--radio-dot-size-sm);
|
|
7191
|
+
height: var(--radio-dot-size-sm);
|
|
7192
|
+
}
|
|
7193
|
+
|
|
7194
|
+
.muka-radio--lg .muka-radio__dot {
|
|
7195
|
+
width: var(--radio-dot-size-lg);
|
|
7196
|
+
height: var(--radio-dot-size-lg);
|
|
7197
|
+
}
|
|
7198
|
+
|
|
7199
|
+
/* Hover state - removed per design */
|
|
7200
|
+
|
|
7201
|
+
/* Focus state */
|
|
7202
|
+
.muka-radio__input:focus-visible + .muka-radio__indicator {
|
|
7203
|
+
outline: 2px solid var(--color-border-focus);
|
|
7204
|
+
outline-offset: 2px;
|
|
7205
|
+
}
|
|
7206
|
+
|
|
7207
|
+
/* Checked state */
|
|
7208
|
+
.muka-radio__input:checked + .muka-radio__indicator {
|
|
7209
|
+
background-color: var(--radio-color-checked-background);
|
|
7210
|
+
border-width: var(--border-width-bold);
|
|
7211
|
+
border-color: var(--radio-color-checked-border);
|
|
7212
|
+
box-shadow: none;
|
|
7213
|
+
}
|
|
7214
|
+
|
|
7215
|
+
.muka-radio__input:checked + .muka-radio__indicator .muka-radio__dot {
|
|
7216
|
+
background-color: var(--radio-color-checked-dot);
|
|
7217
|
+
transform: scale(1);
|
|
7218
|
+
}
|
|
7219
|
+
|
|
7220
|
+
/* Disabled state */
|
|
7221
|
+
.muka-radio--disabled .muka-radio__indicator {
|
|
7222
|
+
background-color: var(--radio-color-disabled-background);
|
|
7223
|
+
border-color: var(--radio-color-disabled-border);
|
|
7224
|
+
box-shadow: none;
|
|
7225
|
+
}
|
|
7226
|
+
|
|
7227
|
+
.muka-radio__input:disabled:checked + .muka-radio__indicator .muka-radio__dot {
|
|
7228
|
+
background-color: var(--radio-color-disabled-dot);
|
|
7229
|
+
}
|
|
7230
|
+
|
|
7231
|
+
/* Label text */
|
|
7232
|
+
.muka-radio__label {
|
|
7233
|
+
font-family: var(--text-label-lg-regular-fontFamily);
|
|
7234
|
+
font-weight: var(--text-label-lg-regular-fontWeight);
|
|
7235
|
+
font-size: var(--text-label-lg-regular-fontSize);
|
|
7236
|
+
line-height: var(--text-label-lg-regular-lineHeight);
|
|
7237
|
+
color: var(--color-text-default-default);
|
|
7238
|
+
}
|
|
7239
|
+
|
|
7240
|
+
.muka-radio--sm .muka-radio__label {
|
|
7241
|
+
font-family: var(--text-label-md-regular-fontFamily);
|
|
7242
|
+
font-weight: var(--text-label-md-regular-fontWeight);
|
|
7243
|
+
font-size: var(--text-label-md-regular-fontSize);
|
|
7244
|
+
line-height: var(--text-label-md-regular-lineHeight);
|
|
7245
|
+
}
|
|
7246
|
+
|
|
7247
|
+
.muka-radio--lg .muka-radio__label {
|
|
7248
|
+
font-family: var(--text-label-xl-regular-fontFamily);
|
|
7249
|
+
font-weight: var(--text-label-xl-regular-fontWeight);
|
|
7250
|
+
font-size: var(--text-label-xl-regular-fontSize);
|
|
7251
|
+
line-height: var(--text-label-xl-regular-lineHeight);
|
|
7252
|
+
}
|
|
7253
|
+
|
|
7254
|
+
.muka-radio--disabled .muka-radio__label {
|
|
7255
|
+
color: var(--color-text-subtle-default);
|
|
7256
|
+
}
|
|
7257
|
+
|
|
7258
|
+
|
|
7259
7259
|
/* PullToRefresh */
|
|
7260
7260
|
/* PullToRefresh Component Styles */
|
|
7261
7261
|
|
|
@@ -7303,24 +7303,282 @@ body {
|
|
|
7303
7303
|
}
|
|
7304
7304
|
|
|
7305
7305
|
|
|
7306
|
-
/*
|
|
7307
|
-
/*
|
|
7306
|
+
/* ProgressAccordeon */
|
|
7307
|
+
/* ProgressAccordeon Component Styles — Using Muka Design Tokens */
|
|
7308
7308
|
|
|
7309
7309
|
/* ─── Root ──────────────────────────────────────────────── */
|
|
7310
|
-
.muka-progress-
|
|
7310
|
+
.muka-progress-accordeon {
|
|
7311
|
+
container-type: inline-size;
|
|
7312
|
+
display: flex;
|
|
7313
|
+
flex-direction: column;
|
|
7314
|
+
align-items: stretch;
|
|
7311
7315
|
width: 100%;
|
|
7316
|
+
/* Top padding provides the vertical rhythm between stacked steps */
|
|
7317
|
+
padding-top: var(--spacing-8);
|
|
7312
7318
|
}
|
|
7313
7319
|
|
|
7314
|
-
|
|
7315
|
-
|
|
7320
|
+
/* Per-state gap: content-bearing steps are tighter, header-only steps looser */
|
|
7321
|
+
.muka-progress-accordeon--current,
|
|
7322
|
+
.muka-progress-accordeon--current.muka-progress-accordeon--expanded,
|
|
7323
|
+
.muka-progress-accordeon--past.muka-progress-accordeon--expanded,
|
|
7324
|
+
.muka-progress-accordeon--upcoming.muka-progress-accordeon--expanded {
|
|
7325
|
+
gap: var(--spacing-6);
|
|
7316
7326
|
}
|
|
7317
7327
|
|
|
7318
|
-
|
|
7319
|
-
|
|
7320
|
-
|
|
7321
|
-
.muka-progress-
|
|
7322
|
-
|
|
7323
|
-
|
|
7328
|
+
.muka-progress-accordeon--upcoming,
|
|
7329
|
+
.muka-progress-accordeon--past.muka-progress-accordeon--collapsed,
|
|
7330
|
+
.muka-progress-accordeon--upcoming.muka-progress-accordeon--collapsed,
|
|
7331
|
+
.muka-progress-accordeon--current.muka-progress-accordeon--collapsed {
|
|
7332
|
+
gap: var(--spacing-8);
|
|
7333
|
+
}
|
|
7334
|
+
|
|
7335
|
+
/* Collapsible steps group header + slot. The header↔content gap lives inside the
|
|
7336
|
+
collapsing slot (as padding-top) so it collapses with the content, so the
|
|
7337
|
+
body gap itself is 0. */
|
|
7338
|
+
.muka-progress-accordeon__body {
|
|
7339
|
+
display: flex;
|
|
7340
|
+
flex-direction: column;
|
|
7341
|
+
gap: 0;
|
|
7342
|
+
width: 100%;
|
|
7343
|
+
}
|
|
7344
|
+
|
|
7345
|
+
/* ─── Header ─────────────────────────────────────────────── */
|
|
7346
|
+
.muka-progress-accordeon__header {
|
|
7347
|
+
display: flex;
|
|
7348
|
+
flex-direction: column;
|
|
7349
|
+
gap: var(--spacing-3);
|
|
7350
|
+
width: 100%;
|
|
7351
|
+
}
|
|
7352
|
+
|
|
7353
|
+
.muka-progress-accordeon__header-row {
|
|
7354
|
+
display: flex;
|
|
7355
|
+
align-items: flex-start;
|
|
7356
|
+
gap: var(--spacing-3);
|
|
7357
|
+
width: 100%;
|
|
7358
|
+
min-height: 40px;
|
|
7359
|
+
}
|
|
7360
|
+
|
|
7361
|
+
.muka-progress-accordeon__heading-group {
|
|
7362
|
+
display: flex;
|
|
7363
|
+
flex: 1 0 0;
|
|
7364
|
+
min-width: 0;
|
|
7365
|
+
align-items: flex-start;
|
|
7366
|
+
gap: var(--spacing-4);
|
|
7367
|
+
}
|
|
7368
|
+
|
|
7369
|
+
/* Steps with header controls (edit / chevron) are 40px tall; nudge the heading
|
|
7370
|
+
so a single line centres against the indicator + controls row. */
|
|
7371
|
+
.muka-progress-accordeon:has(.muka-progress-accordeon__controls)
|
|
7372
|
+
.muka-progress-accordeon__heading-group {
|
|
7373
|
+
padding-top: var(--spacing-1);
|
|
7374
|
+
}
|
|
7375
|
+
|
|
7376
|
+
.muka-progress-accordeon__controls {
|
|
7377
|
+
display: flex;
|
|
7378
|
+
flex-shrink: 0;
|
|
7379
|
+
align-items: center;
|
|
7380
|
+
gap: var(--spacing-3);
|
|
7381
|
+
}
|
|
7382
|
+
|
|
7383
|
+
/* ─── Step indicator (circle) ───────────────────────────── */
|
|
7384
|
+
.muka-progress-accordeon__indicator {
|
|
7385
|
+
width: 32px;
|
|
7386
|
+
height: 32px;
|
|
7387
|
+
flex-shrink: 0;
|
|
7388
|
+
border-radius: var(--border-radius-full);
|
|
7389
|
+
display: flex;
|
|
7390
|
+
align-items: center;
|
|
7391
|
+
justify-content: center;
|
|
7392
|
+
}
|
|
7393
|
+
|
|
7394
|
+
/* Past: dark accent-contrast circle with inverse checkmark */
|
|
7395
|
+
.muka-progress-accordeon__indicator--past {
|
|
7396
|
+
background-color: var(--alias-color-accent-contrast);
|
|
7397
|
+
color: var(--color-text-default-inverse);
|
|
7398
|
+
}
|
|
7399
|
+
|
|
7400
|
+
/* Current: accent circle with inverse bold number */
|
|
7401
|
+
.muka-progress-accordeon__indicator--current {
|
|
7402
|
+
background-color: var(--alias-color-accent-default);
|
|
7403
|
+
color: var(--color-text-default-inverse);
|
|
7404
|
+
}
|
|
7405
|
+
|
|
7406
|
+
/* Upcoming: sunken/muted circle with default-color number */
|
|
7407
|
+
.muka-progress-accordeon__indicator--upcoming {
|
|
7408
|
+
background-color: var(--color-surface-sunken);
|
|
7409
|
+
color: var(--color-text-default-default);
|
|
7410
|
+
}
|
|
7411
|
+
|
|
7412
|
+
.muka-progress-accordeon__check-icon {
|
|
7413
|
+
width: 20px;
|
|
7414
|
+
height: 20px;
|
|
7415
|
+
color: var(--color-text-default-inverse);
|
|
7416
|
+
}
|
|
7417
|
+
|
|
7418
|
+
.muka-progress-accordeon__number {
|
|
7419
|
+
font-family: var(--text-label-md-bold-fontFamily);
|
|
7420
|
+
font-weight: var(--text-label-md-bold-fontWeight);
|
|
7421
|
+
font-size: var(--text-label-md-bold-fontSize);
|
|
7422
|
+
line-height: var(--text-label-md-bold-lineHeight);
|
|
7423
|
+
text-align: center;
|
|
7424
|
+
user-select: none;
|
|
7425
|
+
}
|
|
7426
|
+
|
|
7427
|
+
/* Upcoming number is semibold (not bold) per Figma */
|
|
7428
|
+
.muka-progress-accordeon__indicator--upcoming .muka-progress-accordeon__number {
|
|
7429
|
+
font-family: var(--text-label-md-semibold-fontFamily);
|
|
7430
|
+
font-weight: var(--text-label-md-semibold-fontWeight);
|
|
7431
|
+
}
|
|
7432
|
+
|
|
7433
|
+
/* ─── Heading (responsive: heading/md on wide, heading/sm on narrow) ─────── */
|
|
7434
|
+
.muka-progress-accordeon__heading {
|
|
7435
|
+
flex: 1 0 0;
|
|
7436
|
+
min-width: 0;
|
|
7437
|
+
margin: 0;
|
|
7438
|
+
font-family: var(--text-heading-md-fontFamily);
|
|
7439
|
+
font-weight: var(--text-heading-md-fontWeight);
|
|
7440
|
+
font-size: var(--text-heading-md-fontSize);
|
|
7441
|
+
line-height: var(--text-heading-md-lineHeight);
|
|
7442
|
+
letter-spacing: var(--text-heading-md-letterSpacing);
|
|
7443
|
+
color: var(--color-text-default-default);
|
|
7444
|
+
}
|
|
7445
|
+
|
|
7446
|
+
/* ─── Description ────────────────────────────────────────── */
|
|
7447
|
+
/* Indented 48px (32px indicator + 16px gap) to align under the heading text */
|
|
7448
|
+
.muka-progress-accordeon__description {
|
|
7449
|
+
width: 100%;
|
|
7450
|
+
padding-left: 48px;
|
|
7451
|
+
font-family: var(--text-body-base-regular-fontFamily);
|
|
7452
|
+
font-weight: var(--text-body-base-regular-fontWeight);
|
|
7453
|
+
font-size: var(--text-body-base-regular-fontSize);
|
|
7454
|
+
line-height: var(--text-body-base-regular-lineHeight);
|
|
7455
|
+
color: var(--color-text-default-default);
|
|
7456
|
+
}
|
|
7457
|
+
|
|
7458
|
+
/* ─── Edit button ────────────────────────────────────────── */
|
|
7459
|
+
.muka-progress-accordeon__edit {
|
|
7460
|
+
flex-shrink: 0;
|
|
7461
|
+
}
|
|
7462
|
+
|
|
7463
|
+
/* Wide container shows the labelled button; the icon-only one is hidden */
|
|
7464
|
+
.muka-progress-accordeon__edit--narrow {
|
|
7465
|
+
display: none;
|
|
7466
|
+
}
|
|
7467
|
+
|
|
7468
|
+
/* ─── Content slot ───────────────────────────────────────── */
|
|
7469
|
+
.muka-progress-accordeon__slot {
|
|
7470
|
+
display: flex;
|
|
7471
|
+
flex-direction: column;
|
|
7472
|
+
align-items: stretch;
|
|
7473
|
+
width: 100%;
|
|
7474
|
+
}
|
|
7475
|
+
|
|
7476
|
+
/* ─── Collapse/expand animation (any expandable step) ──────
|
|
7477
|
+
Animates grid-template-rows 1fr ↔ 0fr so the panel (slot + actions) grows and
|
|
7478
|
+
shrinks to its intrinsic height. Opacity fades with the same duration.
|
|
7479
|
+
Under prefers-reduced-motion, --motion-duration-view is 0ms. */
|
|
7480
|
+
.muka-progress-accordeon__panel-wrapper {
|
|
7481
|
+
display: grid;
|
|
7482
|
+
grid-template-rows: 1fr;
|
|
7483
|
+
opacity: 1;
|
|
7484
|
+
transition:
|
|
7485
|
+
grid-template-rows var(--motion-duration-view) var(--motion-easing-enter),
|
|
7486
|
+
opacity var(--motion-duration-view) var(--motion-easing-enter);
|
|
7487
|
+
}
|
|
7488
|
+
|
|
7489
|
+
.muka-progress-accordeon__panel-wrapper--collapsed {
|
|
7490
|
+
grid-template-rows: 0fr;
|
|
7491
|
+
opacity: 0;
|
|
7492
|
+
transition:
|
|
7493
|
+
grid-template-rows var(--motion-duration-view) var(--motion-easing-exit),
|
|
7494
|
+
opacity calc(var(--motion-duration-view) * 0.6) var(--motion-easing-exit);
|
|
7495
|
+
}
|
|
7496
|
+
|
|
7497
|
+
/* The direct grid child clips and must have NO padding/border of its own —
|
|
7498
|
+
min-height:0 lets it shrink, and with no padding the 0fr track reaches a true
|
|
7499
|
+
0 height (padding on the item would leave a residual gap when collapsed). */
|
|
7500
|
+
.muka-progress-accordeon__panel-clip {
|
|
7501
|
+
overflow: hidden;
|
|
7502
|
+
min-height: 0;
|
|
7503
|
+
}
|
|
7504
|
+
|
|
7505
|
+
/* Header↔content spacing + slot/actions gap live inside the clip so they
|
|
7506
|
+
collapse together with the panel. */
|
|
7507
|
+
.muka-progress-accordeon__panel {
|
|
7508
|
+
display: flex;
|
|
7509
|
+
flex-direction: column;
|
|
7510
|
+
align-items: stretch;
|
|
7511
|
+
gap: var(--spacing-6);
|
|
7512
|
+
padding-top: var(--spacing-4);
|
|
7513
|
+
width: 100%;
|
|
7514
|
+
}
|
|
7515
|
+
|
|
7516
|
+
/* ─── Action buttons (current state) ─────────────────────── */
|
|
7517
|
+
.muka-progress-accordeon__actions {
|
|
7518
|
+
display: flex;
|
|
7519
|
+
justify-content: flex-end;
|
|
7520
|
+
gap: var(--spacing-4);
|
|
7521
|
+
width: 100%;
|
|
7522
|
+
}
|
|
7523
|
+
|
|
7524
|
+
.muka-progress-accordeon__action {
|
|
7525
|
+
min-width: 160px;
|
|
7526
|
+
}
|
|
7527
|
+
|
|
7528
|
+
/* ─── Divider ────────────────────────────────────────────── */
|
|
7529
|
+
.muka-progress-accordeon__divider {
|
|
7530
|
+
width: 100%;
|
|
7531
|
+
}
|
|
7532
|
+
|
|
7533
|
+
/* ─── Responsive (narrow container) ──────────────────────── */
|
|
7534
|
+
@container (max-width: 480px) {
|
|
7535
|
+
/* Heading steps down to heading/sm. The 24px line-height is shorter than the
|
|
7536
|
+
32px step indicator, so nudge the text down to keep a single line centred. */
|
|
7537
|
+
.muka-progress-accordeon__heading {
|
|
7538
|
+
font-size: var(--text-heading-sm-fontSize);
|
|
7539
|
+
line-height: var(--text-heading-sm-lineHeight);
|
|
7540
|
+
padding-top: var(--spacing-1);
|
|
7541
|
+
}
|
|
7542
|
+
|
|
7543
|
+
/* Edit button swaps to the icon-only variant */
|
|
7544
|
+
.muka-progress-accordeon__edit--wide {
|
|
7545
|
+
display: none;
|
|
7546
|
+
}
|
|
7547
|
+
|
|
7548
|
+
.muka-progress-accordeon__edit--narrow {
|
|
7549
|
+
display: inline-flex;
|
|
7550
|
+
}
|
|
7551
|
+
|
|
7552
|
+
/* Action buttons stretch to fill the row */
|
|
7553
|
+
.muka-progress-accordeon__actions {
|
|
7554
|
+
justify-content: stretch;
|
|
7555
|
+
}
|
|
7556
|
+
|
|
7557
|
+
.muka-progress-accordeon__action {
|
|
7558
|
+
flex: 1 0 0;
|
|
7559
|
+
min-width: 0;
|
|
7560
|
+
}
|
|
7561
|
+
}
|
|
7562
|
+
|
|
7563
|
+
|
|
7564
|
+
/* ProgressTracker */
|
|
7565
|
+
/* ProgressTracker Component Styles — Using Muka Design Tokens */
|
|
7566
|
+
|
|
7567
|
+
/* ─── Root ──────────────────────────────────────────────── */
|
|
7568
|
+
.muka-progress-tracker {
|
|
7569
|
+
width: 100%;
|
|
7570
|
+
}
|
|
7571
|
+
|
|
7572
|
+
.muka-progress-tracker--horizontal {
|
|
7573
|
+
padding-bottom: var(--spacing-7);
|
|
7574
|
+
}
|
|
7575
|
+
|
|
7576
|
+
/* Scrollable: the root scrolls sideways when the steps don't fit. The inline
|
|
7577
|
+
padding leaves room for the first and last labels, which hang past their
|
|
7578
|
+
indicators; the scrollbar stays hidden (touch and trackpad still scroll). */
|
|
7579
|
+
.muka-progress-tracker--scrollable {
|
|
7580
|
+
overflow-x: auto;
|
|
7581
|
+
overflow-y: hidden;
|
|
7324
7582
|
-webkit-overflow-scrolling: touch;
|
|
7325
7583
|
scrollbar-width: none;
|
|
7326
7584
|
padding-inline: var(--spacing-12);
|
|
@@ -7867,264 +8125,6 @@ button.muka-progress-tracker__tab:focus-visible {
|
|
|
7867
8125
|
}
|
|
7868
8126
|
|
|
7869
8127
|
|
|
7870
|
-
/* ProgressAccordeon */
|
|
7871
|
-
/* ProgressAccordeon Component Styles — Using Muka Design Tokens */
|
|
7872
|
-
|
|
7873
|
-
/* ─── Root ──────────────────────────────────────────────── */
|
|
7874
|
-
.muka-progress-accordeon {
|
|
7875
|
-
container-type: inline-size;
|
|
7876
|
-
display: flex;
|
|
7877
|
-
flex-direction: column;
|
|
7878
|
-
align-items: stretch;
|
|
7879
|
-
width: 100%;
|
|
7880
|
-
/* Top padding provides the vertical rhythm between stacked steps */
|
|
7881
|
-
padding-top: var(--spacing-8);
|
|
7882
|
-
}
|
|
7883
|
-
|
|
7884
|
-
/* Per-state gap: content-bearing steps are tighter, header-only steps looser */
|
|
7885
|
-
.muka-progress-accordeon--current,
|
|
7886
|
-
.muka-progress-accordeon--current.muka-progress-accordeon--expanded,
|
|
7887
|
-
.muka-progress-accordeon--past.muka-progress-accordeon--expanded,
|
|
7888
|
-
.muka-progress-accordeon--upcoming.muka-progress-accordeon--expanded {
|
|
7889
|
-
gap: var(--spacing-6);
|
|
7890
|
-
}
|
|
7891
|
-
|
|
7892
|
-
.muka-progress-accordeon--upcoming,
|
|
7893
|
-
.muka-progress-accordeon--past.muka-progress-accordeon--collapsed,
|
|
7894
|
-
.muka-progress-accordeon--upcoming.muka-progress-accordeon--collapsed,
|
|
7895
|
-
.muka-progress-accordeon--current.muka-progress-accordeon--collapsed {
|
|
7896
|
-
gap: var(--spacing-8);
|
|
7897
|
-
}
|
|
7898
|
-
|
|
7899
|
-
/* Collapsible steps group header + slot. The header↔content gap lives inside the
|
|
7900
|
-
collapsing slot (as padding-top) so it collapses with the content, so the
|
|
7901
|
-
body gap itself is 0. */
|
|
7902
|
-
.muka-progress-accordeon__body {
|
|
7903
|
-
display: flex;
|
|
7904
|
-
flex-direction: column;
|
|
7905
|
-
gap: 0;
|
|
7906
|
-
width: 100%;
|
|
7907
|
-
}
|
|
7908
|
-
|
|
7909
|
-
/* ─── Header ─────────────────────────────────────────────── */
|
|
7910
|
-
.muka-progress-accordeon__header {
|
|
7911
|
-
display: flex;
|
|
7912
|
-
flex-direction: column;
|
|
7913
|
-
gap: var(--spacing-3);
|
|
7914
|
-
width: 100%;
|
|
7915
|
-
}
|
|
7916
|
-
|
|
7917
|
-
.muka-progress-accordeon__header-row {
|
|
7918
|
-
display: flex;
|
|
7919
|
-
align-items: flex-start;
|
|
7920
|
-
gap: var(--spacing-3);
|
|
7921
|
-
width: 100%;
|
|
7922
|
-
min-height: 40px;
|
|
7923
|
-
}
|
|
7924
|
-
|
|
7925
|
-
.muka-progress-accordeon__heading-group {
|
|
7926
|
-
display: flex;
|
|
7927
|
-
flex: 1 0 0;
|
|
7928
|
-
min-width: 0;
|
|
7929
|
-
align-items: flex-start;
|
|
7930
|
-
gap: var(--spacing-4);
|
|
7931
|
-
}
|
|
7932
|
-
|
|
7933
|
-
/* Steps with header controls (edit / chevron) are 40px tall; nudge the heading
|
|
7934
|
-
so a single line centres against the indicator + controls row. */
|
|
7935
|
-
.muka-progress-accordeon:has(.muka-progress-accordeon__controls)
|
|
7936
|
-
.muka-progress-accordeon__heading-group {
|
|
7937
|
-
padding-top: var(--spacing-1);
|
|
7938
|
-
}
|
|
7939
|
-
|
|
7940
|
-
.muka-progress-accordeon__controls {
|
|
7941
|
-
display: flex;
|
|
7942
|
-
flex-shrink: 0;
|
|
7943
|
-
align-items: center;
|
|
7944
|
-
gap: var(--spacing-3);
|
|
7945
|
-
}
|
|
7946
|
-
|
|
7947
|
-
/* ─── Step indicator (circle) ───────────────────────────── */
|
|
7948
|
-
.muka-progress-accordeon__indicator {
|
|
7949
|
-
width: 32px;
|
|
7950
|
-
height: 32px;
|
|
7951
|
-
flex-shrink: 0;
|
|
7952
|
-
border-radius: var(--border-radius-full);
|
|
7953
|
-
display: flex;
|
|
7954
|
-
align-items: center;
|
|
7955
|
-
justify-content: center;
|
|
7956
|
-
}
|
|
7957
|
-
|
|
7958
|
-
/* Past: dark accent-contrast circle with inverse checkmark */
|
|
7959
|
-
.muka-progress-accordeon__indicator--past {
|
|
7960
|
-
background-color: var(--alias-color-accent-contrast);
|
|
7961
|
-
color: var(--color-text-default-inverse);
|
|
7962
|
-
}
|
|
7963
|
-
|
|
7964
|
-
/* Current: accent circle with inverse bold number */
|
|
7965
|
-
.muka-progress-accordeon__indicator--current {
|
|
7966
|
-
background-color: var(--alias-color-accent-default);
|
|
7967
|
-
color: var(--color-text-default-inverse);
|
|
7968
|
-
}
|
|
7969
|
-
|
|
7970
|
-
/* Upcoming: sunken/muted circle with default-color number */
|
|
7971
|
-
.muka-progress-accordeon__indicator--upcoming {
|
|
7972
|
-
background-color: var(--color-surface-sunken);
|
|
7973
|
-
color: var(--color-text-default-default);
|
|
7974
|
-
}
|
|
7975
|
-
|
|
7976
|
-
.muka-progress-accordeon__check-icon {
|
|
7977
|
-
width: 20px;
|
|
7978
|
-
height: 20px;
|
|
7979
|
-
color: var(--color-text-default-inverse);
|
|
7980
|
-
}
|
|
7981
|
-
|
|
7982
|
-
.muka-progress-accordeon__number {
|
|
7983
|
-
font-family: var(--text-label-md-bold-fontFamily);
|
|
7984
|
-
font-weight: var(--text-label-md-bold-fontWeight);
|
|
7985
|
-
font-size: var(--text-label-md-bold-fontSize);
|
|
7986
|
-
line-height: var(--text-label-md-bold-lineHeight);
|
|
7987
|
-
text-align: center;
|
|
7988
|
-
user-select: none;
|
|
7989
|
-
}
|
|
7990
|
-
|
|
7991
|
-
/* Upcoming number is semibold (not bold) per Figma */
|
|
7992
|
-
.muka-progress-accordeon__indicator--upcoming .muka-progress-accordeon__number {
|
|
7993
|
-
font-family: var(--text-label-md-semibold-fontFamily);
|
|
7994
|
-
font-weight: var(--text-label-md-semibold-fontWeight);
|
|
7995
|
-
}
|
|
7996
|
-
|
|
7997
|
-
/* ─── Heading (responsive: heading/md on wide, heading/sm on narrow) ─────── */
|
|
7998
|
-
.muka-progress-accordeon__heading {
|
|
7999
|
-
flex: 1 0 0;
|
|
8000
|
-
min-width: 0;
|
|
8001
|
-
margin: 0;
|
|
8002
|
-
font-family: var(--text-heading-md-fontFamily);
|
|
8003
|
-
font-weight: var(--text-heading-md-fontWeight);
|
|
8004
|
-
font-size: var(--text-heading-md-fontSize);
|
|
8005
|
-
line-height: var(--text-heading-md-lineHeight);
|
|
8006
|
-
letter-spacing: var(--text-heading-md-letterSpacing);
|
|
8007
|
-
color: var(--color-text-default-default);
|
|
8008
|
-
}
|
|
8009
|
-
|
|
8010
|
-
/* ─── Description ────────────────────────────────────────── */
|
|
8011
|
-
/* Indented 48px (32px indicator + 16px gap) to align under the heading text */
|
|
8012
|
-
.muka-progress-accordeon__description {
|
|
8013
|
-
width: 100%;
|
|
8014
|
-
padding-left: 48px;
|
|
8015
|
-
font-family: var(--text-body-base-regular-fontFamily);
|
|
8016
|
-
font-weight: var(--text-body-base-regular-fontWeight);
|
|
8017
|
-
font-size: var(--text-body-base-regular-fontSize);
|
|
8018
|
-
line-height: var(--text-body-base-regular-lineHeight);
|
|
8019
|
-
color: var(--color-text-default-default);
|
|
8020
|
-
}
|
|
8021
|
-
|
|
8022
|
-
/* ─── Edit button ────────────────────────────────────────── */
|
|
8023
|
-
.muka-progress-accordeon__edit {
|
|
8024
|
-
flex-shrink: 0;
|
|
8025
|
-
}
|
|
8026
|
-
|
|
8027
|
-
/* Wide container shows the labelled button; the icon-only one is hidden */
|
|
8028
|
-
.muka-progress-accordeon__edit--narrow {
|
|
8029
|
-
display: none;
|
|
8030
|
-
}
|
|
8031
|
-
|
|
8032
|
-
/* ─── Content slot ───────────────────────────────────────── */
|
|
8033
|
-
.muka-progress-accordeon__slot {
|
|
8034
|
-
display: flex;
|
|
8035
|
-
flex-direction: column;
|
|
8036
|
-
align-items: stretch;
|
|
8037
|
-
width: 100%;
|
|
8038
|
-
}
|
|
8039
|
-
|
|
8040
|
-
/* ─── Collapse/expand animation (any expandable step) ──────
|
|
8041
|
-
Animates grid-template-rows 1fr ↔ 0fr so the panel (slot + actions) grows and
|
|
8042
|
-
shrinks to its intrinsic height. Opacity fades with the same duration.
|
|
8043
|
-
Under prefers-reduced-motion, --motion-duration-view is 0ms. */
|
|
8044
|
-
.muka-progress-accordeon__panel-wrapper {
|
|
8045
|
-
display: grid;
|
|
8046
|
-
grid-template-rows: 1fr;
|
|
8047
|
-
opacity: 1;
|
|
8048
|
-
transition:
|
|
8049
|
-
grid-template-rows var(--motion-duration-view) var(--motion-easing-enter),
|
|
8050
|
-
opacity var(--motion-duration-view) var(--motion-easing-enter);
|
|
8051
|
-
}
|
|
8052
|
-
|
|
8053
|
-
.muka-progress-accordeon__panel-wrapper--collapsed {
|
|
8054
|
-
grid-template-rows: 0fr;
|
|
8055
|
-
opacity: 0;
|
|
8056
|
-
transition:
|
|
8057
|
-
grid-template-rows var(--motion-duration-view) var(--motion-easing-exit),
|
|
8058
|
-
opacity calc(var(--motion-duration-view) * 0.6) var(--motion-easing-exit);
|
|
8059
|
-
}
|
|
8060
|
-
|
|
8061
|
-
/* The direct grid child clips and must have NO padding/border of its own —
|
|
8062
|
-
min-height:0 lets it shrink, and with no padding the 0fr track reaches a true
|
|
8063
|
-
0 height (padding on the item would leave a residual gap when collapsed). */
|
|
8064
|
-
.muka-progress-accordeon__panel-clip {
|
|
8065
|
-
overflow: hidden;
|
|
8066
|
-
min-height: 0;
|
|
8067
|
-
}
|
|
8068
|
-
|
|
8069
|
-
/* Header↔content spacing + slot/actions gap live inside the clip so they
|
|
8070
|
-
collapse together with the panel. */
|
|
8071
|
-
.muka-progress-accordeon__panel {
|
|
8072
|
-
display: flex;
|
|
8073
|
-
flex-direction: column;
|
|
8074
|
-
align-items: stretch;
|
|
8075
|
-
gap: var(--spacing-6);
|
|
8076
|
-
padding-top: var(--spacing-4);
|
|
8077
|
-
width: 100%;
|
|
8078
|
-
}
|
|
8079
|
-
|
|
8080
|
-
/* ─── Action buttons (current state) ─────────────────────── */
|
|
8081
|
-
.muka-progress-accordeon__actions {
|
|
8082
|
-
display: flex;
|
|
8083
|
-
justify-content: flex-end;
|
|
8084
|
-
gap: var(--spacing-4);
|
|
8085
|
-
width: 100%;
|
|
8086
|
-
}
|
|
8087
|
-
|
|
8088
|
-
.muka-progress-accordeon__action {
|
|
8089
|
-
min-width: 160px;
|
|
8090
|
-
}
|
|
8091
|
-
|
|
8092
|
-
/* ─── Divider ────────────────────────────────────────────── */
|
|
8093
|
-
.muka-progress-accordeon__divider {
|
|
8094
|
-
width: 100%;
|
|
8095
|
-
}
|
|
8096
|
-
|
|
8097
|
-
/* ─── Responsive (narrow container) ──────────────────────── */
|
|
8098
|
-
@container (max-width: 480px) {
|
|
8099
|
-
/* Heading steps down to heading/sm. The 24px line-height is shorter than the
|
|
8100
|
-
32px step indicator, so nudge the text down to keep a single line centred. */
|
|
8101
|
-
.muka-progress-accordeon__heading {
|
|
8102
|
-
font-size: var(--text-heading-sm-fontSize);
|
|
8103
|
-
line-height: var(--text-heading-sm-lineHeight);
|
|
8104
|
-
padding-top: var(--spacing-1);
|
|
8105
|
-
}
|
|
8106
|
-
|
|
8107
|
-
/* Edit button swaps to the icon-only variant */
|
|
8108
|
-
.muka-progress-accordeon__edit--wide {
|
|
8109
|
-
display: none;
|
|
8110
|
-
}
|
|
8111
|
-
|
|
8112
|
-
.muka-progress-accordeon__edit--narrow {
|
|
8113
|
-
display: inline-flex;
|
|
8114
|
-
}
|
|
8115
|
-
|
|
8116
|
-
/* Action buttons stretch to fill the row */
|
|
8117
|
-
.muka-progress-accordeon__actions {
|
|
8118
|
-
justify-content: stretch;
|
|
8119
|
-
}
|
|
8120
|
-
|
|
8121
|
-
.muka-progress-accordeon__action {
|
|
8122
|
-
flex: 1 0 0;
|
|
8123
|
-
min-width: 0;
|
|
8124
|
-
}
|
|
8125
|
-
}
|
|
8126
|
-
|
|
8127
|
-
|
|
8128
8128
|
/* Progress */
|
|
8129
8129
|
/* Progress Component Styles - Using Muka Design Tokens */
|
|
8130
8130
|
|
|
@@ -8411,37 +8411,6 @@ button.muka-progress-tracker__tab:focus-visible {
|
|
|
8411
8411
|
}
|
|
8412
8412
|
|
|
8413
8413
|
|
|
8414
|
-
/* Popover */
|
|
8415
|
-
/* Popover Component Styles */
|
|
8416
|
-
|
|
8417
|
-
.muka-popover__content {
|
|
8418
|
-
background-color: var(--color-surface-level3);
|
|
8419
|
-
border: var(--border-width-regular) solid var(--color-border-default);
|
|
8420
|
-
border-radius: var(--radius-md);
|
|
8421
|
-
padding: var(--spacing-4);
|
|
8422
|
-
box-shadow: var(--shadow-level3);
|
|
8423
|
-
max-width: 20rem;
|
|
8424
|
-
z-index: 50;
|
|
8425
|
-
animation: muka-popover-fade-in 150ms ease;
|
|
8426
|
-
}
|
|
8427
|
-
|
|
8428
|
-
@keyframes muka-popover-fade-in {
|
|
8429
|
-
from {
|
|
8430
|
-
opacity: 0;
|
|
8431
|
-
transform: scale(0.96);
|
|
8432
|
-
}
|
|
8433
|
-
to {
|
|
8434
|
-
opacity: 1;
|
|
8435
|
-
transform: scale(1);
|
|
8436
|
-
}
|
|
8437
|
-
}
|
|
8438
|
-
|
|
8439
|
-
/* Arrow */
|
|
8440
|
-
.muka-popover__arrow {
|
|
8441
|
-
fill: var(--color-surface-level3);
|
|
8442
|
-
}
|
|
8443
|
-
|
|
8444
|
-
|
|
8445
8414
|
/* PriceTag */
|
|
8446
8415
|
/* PriceTag Component Styles - Using Muka Design Tokens */
|
|
8447
8416
|
|
|
@@ -8539,6 +8508,37 @@ button.muka-progress-tracker__tab:focus-visible {
|
|
|
8539
8508
|
}
|
|
8540
8509
|
|
|
8541
8510
|
|
|
8511
|
+
/* Popover */
|
|
8512
|
+
/* Popover Component Styles */
|
|
8513
|
+
|
|
8514
|
+
.muka-popover__content {
|
|
8515
|
+
background-color: var(--color-surface-level3);
|
|
8516
|
+
border: var(--border-width-regular) solid var(--color-border-default);
|
|
8517
|
+
border-radius: var(--radius-md);
|
|
8518
|
+
padding: var(--spacing-4);
|
|
8519
|
+
box-shadow: var(--shadow-level3);
|
|
8520
|
+
max-width: 20rem;
|
|
8521
|
+
z-index: 50;
|
|
8522
|
+
animation: muka-popover-fade-in 150ms ease;
|
|
8523
|
+
}
|
|
8524
|
+
|
|
8525
|
+
@keyframes muka-popover-fade-in {
|
|
8526
|
+
from {
|
|
8527
|
+
opacity: 0;
|
|
8528
|
+
transform: scale(0.96);
|
|
8529
|
+
}
|
|
8530
|
+
to {
|
|
8531
|
+
opacity: 1;
|
|
8532
|
+
transform: scale(1);
|
|
8533
|
+
}
|
|
8534
|
+
}
|
|
8535
|
+
|
|
8536
|
+
/* Arrow */
|
|
8537
|
+
.muka-popover__arrow {
|
|
8538
|
+
fill: var(--color-surface-level3);
|
|
8539
|
+
}
|
|
8540
|
+
|
|
8541
|
+
|
|
8542
8542
|
/* PlanningGantt */
|
|
8543
8543
|
/* PlanningGantt (MUK-105) — one week per page, never scrolls horizontally. */
|
|
8544
8544
|
|
|
@@ -8936,6 +8936,103 @@ button.muka-progress-tracker__tab:focus-visible {
|
|
|
8936
8936
|
}
|
|
8937
8937
|
|
|
8938
8938
|
|
|
8939
|
+
/* PieChart */
|
|
8940
|
+
/* PieChart Component Styles - Using Muka Design Tokens */
|
|
8941
|
+
|
|
8942
|
+
.muka-piechart {
|
|
8943
|
+
display: inline-flex;
|
|
8944
|
+
align-items: center;
|
|
8945
|
+
gap: var(--spacing-4);
|
|
8946
|
+
}
|
|
8947
|
+
|
|
8948
|
+
/* Legend layout */
|
|
8949
|
+
.muka-piechart--legend-right {
|
|
8950
|
+
flex-direction: row;
|
|
8951
|
+
}
|
|
8952
|
+
|
|
8953
|
+
.muka-piechart--legend-bottom {
|
|
8954
|
+
flex-direction: column;
|
|
8955
|
+
}
|
|
8956
|
+
|
|
8957
|
+
/* ========================================
|
|
8958
|
+
CHART
|
|
8959
|
+
======================================== */
|
|
8960
|
+
|
|
8961
|
+
.muka-piechart__chart {
|
|
8962
|
+
position: relative;
|
|
8963
|
+
flex-shrink: 0;
|
|
8964
|
+
}
|
|
8965
|
+
|
|
8966
|
+
.muka-piechart__chart--sm {
|
|
8967
|
+
width: var(--piechart-size-diameter-sm);
|
|
8968
|
+
height: var(--piechart-size-diameter-sm);
|
|
8969
|
+
}
|
|
8970
|
+
|
|
8971
|
+
.muka-piechart__chart--md {
|
|
8972
|
+
width: var(--piechart-size-diameter-md);
|
|
8973
|
+
height: var(--piechart-size-diameter-md);
|
|
8974
|
+
}
|
|
8975
|
+
|
|
8976
|
+
.muka-piechart__chart--lg {
|
|
8977
|
+
width: var(--piechart-size-diameter-lg);
|
|
8978
|
+
height: var(--piechart-size-diameter-lg);
|
|
8979
|
+
}
|
|
8980
|
+
|
|
8981
|
+
.muka-piechart__svg {
|
|
8982
|
+
display: block;
|
|
8983
|
+
width: 100%;
|
|
8984
|
+
height: 100%;
|
|
8985
|
+
/* Start slices at 12 o'clock instead of 3 o'clock */
|
|
8986
|
+
transform: rotate(-90deg);
|
|
8987
|
+
}
|
|
8988
|
+
|
|
8989
|
+
.muka-piechart__track {
|
|
8990
|
+
fill: none;
|
|
8991
|
+
stroke: var(--piechart-color-track);
|
|
8992
|
+
}
|
|
8993
|
+
|
|
8994
|
+
.muka-piechart__segment {
|
|
8995
|
+
fill: none;
|
|
8996
|
+
}
|
|
8997
|
+
|
|
8998
|
+
/* ========================================
|
|
8999
|
+
LEGEND
|
|
9000
|
+
======================================== */
|
|
9001
|
+
|
|
9002
|
+
.muka-piechart__legend {
|
|
9003
|
+
list-style: none;
|
|
9004
|
+
margin: 0;
|
|
9005
|
+
padding: 0;
|
|
9006
|
+
display: flex;
|
|
9007
|
+
flex-direction: column;
|
|
9008
|
+
gap: var(--spacing-1);
|
|
9009
|
+
}
|
|
9010
|
+
|
|
9011
|
+
.muka-piechart__legend-item {
|
|
9012
|
+
display: flex;
|
|
9013
|
+
align-items: center;
|
|
9014
|
+
gap: var(--spacing-2);
|
|
9015
|
+
font-family: var(--text-body-sm-regular-fontFamily);
|
|
9016
|
+
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
9017
|
+
font-size: var(--text-body-sm-regular-fontSize);
|
|
9018
|
+
line-height: var(--text-body-sm-regular-lineHeight);
|
|
9019
|
+
color: var(--color-text-default-default);
|
|
9020
|
+
}
|
|
9021
|
+
|
|
9022
|
+
.muka-piechart__swatch {
|
|
9023
|
+
flex-shrink: 0;
|
|
9024
|
+
width: var(--spacing-3);
|
|
9025
|
+
height: var(--spacing-3);
|
|
9026
|
+
border-radius: var(--border-radius-sm);
|
|
9027
|
+
}
|
|
9028
|
+
|
|
9029
|
+
.muka-piechart__legend-value {
|
|
9030
|
+
margin-left: auto;
|
|
9031
|
+
padding-left: var(--spacing-2);
|
|
9032
|
+
color: var(--color-text-subtle-default);
|
|
9033
|
+
}
|
|
9034
|
+
|
|
9035
|
+
|
|
8939
9036
|
/* PhotoUploader */
|
|
8940
9037
|
/* PhotoUploader Component Styles - Using Muka Design Tokens */
|
|
8941
9038
|
|
|
@@ -9073,103 +9170,6 @@ button.muka-progress-tracker__tab:focus-visible {
|
|
|
9073
9170
|
}
|
|
9074
9171
|
|
|
9075
9172
|
|
|
9076
|
-
/* PieChart */
|
|
9077
|
-
/* PieChart Component Styles - Using Muka Design Tokens */
|
|
9078
|
-
|
|
9079
|
-
.muka-piechart {
|
|
9080
|
-
display: inline-flex;
|
|
9081
|
-
align-items: center;
|
|
9082
|
-
gap: var(--spacing-4);
|
|
9083
|
-
}
|
|
9084
|
-
|
|
9085
|
-
/* Legend layout */
|
|
9086
|
-
.muka-piechart--legend-right {
|
|
9087
|
-
flex-direction: row;
|
|
9088
|
-
}
|
|
9089
|
-
|
|
9090
|
-
.muka-piechart--legend-bottom {
|
|
9091
|
-
flex-direction: column;
|
|
9092
|
-
}
|
|
9093
|
-
|
|
9094
|
-
/* ========================================
|
|
9095
|
-
CHART
|
|
9096
|
-
======================================== */
|
|
9097
|
-
|
|
9098
|
-
.muka-piechart__chart {
|
|
9099
|
-
position: relative;
|
|
9100
|
-
flex-shrink: 0;
|
|
9101
|
-
}
|
|
9102
|
-
|
|
9103
|
-
.muka-piechart__chart--sm {
|
|
9104
|
-
width: var(--piechart-size-diameter-sm);
|
|
9105
|
-
height: var(--piechart-size-diameter-sm);
|
|
9106
|
-
}
|
|
9107
|
-
|
|
9108
|
-
.muka-piechart__chart--md {
|
|
9109
|
-
width: var(--piechart-size-diameter-md);
|
|
9110
|
-
height: var(--piechart-size-diameter-md);
|
|
9111
|
-
}
|
|
9112
|
-
|
|
9113
|
-
.muka-piechart__chart--lg {
|
|
9114
|
-
width: var(--piechart-size-diameter-lg);
|
|
9115
|
-
height: var(--piechart-size-diameter-lg);
|
|
9116
|
-
}
|
|
9117
|
-
|
|
9118
|
-
.muka-piechart__svg {
|
|
9119
|
-
display: block;
|
|
9120
|
-
width: 100%;
|
|
9121
|
-
height: 100%;
|
|
9122
|
-
/* Start slices at 12 o'clock instead of 3 o'clock */
|
|
9123
|
-
transform: rotate(-90deg);
|
|
9124
|
-
}
|
|
9125
|
-
|
|
9126
|
-
.muka-piechart__track {
|
|
9127
|
-
fill: none;
|
|
9128
|
-
stroke: var(--piechart-color-track);
|
|
9129
|
-
}
|
|
9130
|
-
|
|
9131
|
-
.muka-piechart__segment {
|
|
9132
|
-
fill: none;
|
|
9133
|
-
}
|
|
9134
|
-
|
|
9135
|
-
/* ========================================
|
|
9136
|
-
LEGEND
|
|
9137
|
-
======================================== */
|
|
9138
|
-
|
|
9139
|
-
.muka-piechart__legend {
|
|
9140
|
-
list-style: none;
|
|
9141
|
-
margin: 0;
|
|
9142
|
-
padding: 0;
|
|
9143
|
-
display: flex;
|
|
9144
|
-
flex-direction: column;
|
|
9145
|
-
gap: var(--spacing-1);
|
|
9146
|
-
}
|
|
9147
|
-
|
|
9148
|
-
.muka-piechart__legend-item {
|
|
9149
|
-
display: flex;
|
|
9150
|
-
align-items: center;
|
|
9151
|
-
gap: var(--spacing-2);
|
|
9152
|
-
font-family: var(--text-body-sm-regular-fontFamily);
|
|
9153
|
-
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
9154
|
-
font-size: var(--text-body-sm-regular-fontSize);
|
|
9155
|
-
line-height: var(--text-body-sm-regular-lineHeight);
|
|
9156
|
-
color: var(--color-text-default-default);
|
|
9157
|
-
}
|
|
9158
|
-
|
|
9159
|
-
.muka-piechart__swatch {
|
|
9160
|
-
flex-shrink: 0;
|
|
9161
|
-
width: var(--spacing-3);
|
|
9162
|
-
height: var(--spacing-3);
|
|
9163
|
-
border-radius: var(--border-radius-sm);
|
|
9164
|
-
}
|
|
9165
|
-
|
|
9166
|
-
.muka-piechart__legend-value {
|
|
9167
|
-
margin-left: auto;
|
|
9168
|
-
padding-left: var(--spacing-2);
|
|
9169
|
-
color: var(--color-text-subtle-default);
|
|
9170
|
-
}
|
|
9171
|
-
|
|
9172
|
-
|
|
9173
9173
|
/* PhotoDraftStrip */
|
|
9174
9174
|
/* PhotoDraftStrip Component Styles */
|
|
9175
9175
|
|
|
@@ -10476,6 +10476,47 @@ li.muka-listitem {
|
|
|
10476
10476
|
}
|
|
10477
10477
|
|
|
10478
10478
|
|
|
10479
|
+
/* Label */
|
|
10480
|
+
/* Label Component Styles - Using Muka Design Tokens */
|
|
10481
|
+
|
|
10482
|
+
.muka-label {
|
|
10483
|
+
display: inline-flex;
|
|
10484
|
+
align-items: center;
|
|
10485
|
+
color: var(--color-text-default-default);
|
|
10486
|
+
cursor: pointer;
|
|
10487
|
+
}
|
|
10488
|
+
|
|
10489
|
+
.muka-label--sm {
|
|
10490
|
+
font-family: var(--text-label-sm-semibold-fontFamily);
|
|
10491
|
+
font-weight: var(--text-label-sm-semibold-fontWeight);
|
|
10492
|
+
font-size: var(--text-label-sm-semibold-fontSize);
|
|
10493
|
+
line-height: var(--text-label-sm-semibold-lineHeight);
|
|
10494
|
+
}
|
|
10495
|
+
|
|
10496
|
+
.muka-label--md {
|
|
10497
|
+
font-family: var(--text-label-md-semibold-fontFamily);
|
|
10498
|
+
font-weight: var(--text-label-md-semibold-fontWeight);
|
|
10499
|
+
font-size: var(--text-label-md-semibold-fontSize);
|
|
10500
|
+
line-height: var(--text-label-md-semibold-lineHeight);
|
|
10501
|
+
}
|
|
10502
|
+
|
|
10503
|
+
.muka-label--lg {
|
|
10504
|
+
font-family: var(--text-label-lg-semibold-fontFamily);
|
|
10505
|
+
font-weight: var(--text-label-lg-semibold-fontWeight);
|
|
10506
|
+
font-size: var(--text-label-lg-semibold-fontSize);
|
|
10507
|
+
line-height: var(--text-label-lg-semibold-lineHeight);
|
|
10508
|
+
}
|
|
10509
|
+
|
|
10510
|
+
.muka-label--disabled {
|
|
10511
|
+
color: var(--color-text-subtle-default);
|
|
10512
|
+
cursor: not-allowed;
|
|
10513
|
+
}
|
|
10514
|
+
|
|
10515
|
+
.muka-label__required {
|
|
10516
|
+
color: var(--color-state-error-default);
|
|
10517
|
+
}
|
|
10518
|
+
|
|
10519
|
+
|
|
10479
10520
|
/* LicensePlateInput */
|
|
10480
10521
|
/* LicensePlateInput — Dutch RDW-style plate input
|
|
10481
10522
|
*
|
|
@@ -10669,47 +10710,6 @@ li.muka-listitem {
|
|
|
10669
10710
|
}
|
|
10670
10711
|
|
|
10671
10712
|
|
|
10672
|
-
/* Label */
|
|
10673
|
-
/* Label Component Styles - Using Muka Design Tokens */
|
|
10674
|
-
|
|
10675
|
-
.muka-label {
|
|
10676
|
-
display: inline-flex;
|
|
10677
|
-
align-items: center;
|
|
10678
|
-
color: var(--color-text-default-default);
|
|
10679
|
-
cursor: pointer;
|
|
10680
|
-
}
|
|
10681
|
-
|
|
10682
|
-
.muka-label--sm {
|
|
10683
|
-
font-family: var(--text-label-sm-semibold-fontFamily);
|
|
10684
|
-
font-weight: var(--text-label-sm-semibold-fontWeight);
|
|
10685
|
-
font-size: var(--text-label-sm-semibold-fontSize);
|
|
10686
|
-
line-height: var(--text-label-sm-semibold-lineHeight);
|
|
10687
|
-
}
|
|
10688
|
-
|
|
10689
|
-
.muka-label--md {
|
|
10690
|
-
font-family: var(--text-label-md-semibold-fontFamily);
|
|
10691
|
-
font-weight: var(--text-label-md-semibold-fontWeight);
|
|
10692
|
-
font-size: var(--text-label-md-semibold-fontSize);
|
|
10693
|
-
line-height: var(--text-label-md-semibold-lineHeight);
|
|
10694
|
-
}
|
|
10695
|
-
|
|
10696
|
-
.muka-label--lg {
|
|
10697
|
-
font-family: var(--text-label-lg-semibold-fontFamily);
|
|
10698
|
-
font-weight: var(--text-label-lg-semibold-fontWeight);
|
|
10699
|
-
font-size: var(--text-label-lg-semibold-fontSize);
|
|
10700
|
-
line-height: var(--text-label-lg-semibold-lineHeight);
|
|
10701
|
-
}
|
|
10702
|
-
|
|
10703
|
-
.muka-label--disabled {
|
|
10704
|
-
color: var(--color-text-subtle-default);
|
|
10705
|
-
cursor: not-allowed;
|
|
10706
|
-
}
|
|
10707
|
-
|
|
10708
|
-
.muka-label__required {
|
|
10709
|
-
color: var(--color-state-error-default);
|
|
10710
|
-
}
|
|
10711
|
-
|
|
10712
|
-
|
|
10713
10713
|
/* InputCounter */
|
|
10714
10714
|
/* InputCounter — numeric field + joined decrement/increment buttons.
|
|
10715
10715
|
Label, helper and error text reuse Input.css (../Input/Input.css).
|
|
@@ -12974,1173 +12974,1331 @@ li.muka-listitem {
|
|
|
12974
12974
|
}
|
|
12975
12975
|
|
|
12976
12976
|
|
|
12977
|
-
/*
|
|
12978
|
-
/*
|
|
12977
|
+
/* DataPieChart */
|
|
12978
|
+
/* DataPieChart Component Styles - Using Muka Design Tokens */
|
|
12979
12979
|
|
|
12980
|
-
.muka-data-
|
|
12981
|
-
|
|
12982
|
-
|
|
12983
|
-
-
|
|
12980
|
+
.muka-data-pie-chart {
|
|
12981
|
+
position: relative;
|
|
12982
|
+
display: inline-flex;
|
|
12983
|
+
align-items: center;
|
|
12984
|
+
justify-content: center;
|
|
12985
|
+
flex-shrink: 0;
|
|
12984
12986
|
}
|
|
12985
12987
|
|
|
12986
|
-
.muka-data-
|
|
12987
|
-
|
|
12988
|
-
--dt-pad-x: var(--datatable-cell-padding-x-md);
|
|
12989
|
-
--dt-pad-y: var(--datatable-cell-padding-y-md);
|
|
12990
|
-
|
|
12988
|
+
.muka-data-pie-chart__svg {
|
|
12989
|
+
display: block;
|
|
12991
12990
|
width: 100%;
|
|
12992
|
-
|
|
12993
|
-
|
|
12994
|
-
|
|
12995
|
-
table-layout: auto;
|
|
12996
|
-
background-color: var(--datatable-row-background);
|
|
12997
|
-
color: var(--datatable-row-foreground);
|
|
12991
|
+
height: 100%;
|
|
12992
|
+
/* Start the segment at 12 o'clock instead of 3 o'clock */
|
|
12993
|
+
transform: rotate(-90deg);
|
|
12998
12994
|
}
|
|
12999
12995
|
|
|
13000
|
-
.muka-data-
|
|
13001
|
-
|
|
13002
|
-
--dt-pad-y: var(--datatable-cell-padding-y-sm);
|
|
12996
|
+
.muka-data-pie-chart__track {
|
|
12997
|
+
fill: none;
|
|
13003
12998
|
}
|
|
13004
12999
|
|
|
13005
|
-
.muka-data-
|
|
13006
|
-
|
|
13007
|
-
|
|
13000
|
+
.muka-data-pie-chart__segment {
|
|
13001
|
+
fill: none;
|
|
13002
|
+
/* Subtle lift on the filled segment, matching the Figma elevation */
|
|
13003
|
+
filter: drop-shadow(0 2px 4px var(--color-black-alpha-5, rgba(0, 0, 0, 0.05)));
|
|
13004
|
+
/* Butt caps keep the always-rendered 0% arc invisible (round caps would draw a dot) */
|
|
13005
|
+
stroke-linecap: butt;
|
|
13006
|
+
/* view duration (300ms) reads at the 24px size; tokens zero it for reduced motion */
|
|
13007
|
+
transition: stroke-dasharray var(--motion-duration-view) var(--motion-easing-default);
|
|
13008
13008
|
}
|
|
13009
13009
|
|
|
13010
|
-
|
|
13011
|
-
|
|
13012
|
-
|
|
13013
|
-
|
|
13014
|
-
|
|
13015
|
-
|
|
13016
|
-
|
|
13017
|
-
|
|
13010
|
+
/* ─── Indeterminate (spinner) ─────────────────────────── */
|
|
13011
|
+
/* A masked ring filled with an angular (conic) gradient that rotates. The mask
|
|
13012
|
+
band matches the donut geometry (r=40, strokeWidth=16 → 64%–96% of radius) so
|
|
13013
|
+
it swaps seamlessly with the value-based progress donut. */
|
|
13014
|
+
.muka-data-pie-chart__spinner-track,
|
|
13015
|
+
.muka-data-pie-chart__spinner {
|
|
13016
|
+
position: absolute;
|
|
13017
|
+
inset: 0;
|
|
13018
|
+
border-radius: 50%;
|
|
13019
|
+
-webkit-mask: radial-gradient(farthest-side, transparent 63%, #000 65%, #000 95%, transparent 97%);
|
|
13020
|
+
mask: radial-gradient(farthest-side, transparent 63%, #000 65%, #000 95%, transparent 97%);
|
|
13018
13021
|
}
|
|
13019
13022
|
|
|
13020
|
-
|
|
13021
|
-
|
|
13022
|
-
|
|
13023
|
+
.muka-data-pie-chart__spinner {
|
|
13024
|
+
animation: muka-data-pie-chart-spin 0.9s linear infinite;
|
|
13025
|
+
}
|
|
13023
13026
|
|
|
13024
|
-
|
|
13025
|
-
|
|
13027
|
+
@keyframes muka-data-pie-chart-spin {
|
|
13028
|
+
to {
|
|
13029
|
+
transform: rotate(360deg);
|
|
13030
|
+
}
|
|
13026
13031
|
}
|
|
13027
13032
|
|
|
13028
|
-
|
|
13029
|
-
|
|
13030
|
-
|
|
13033
|
+
@media (prefers-reduced-motion: reduce) {
|
|
13034
|
+
.muka-data-pie-chart__spinner {
|
|
13035
|
+
animation-duration: 2.5s;
|
|
13036
|
+
}
|
|
13037
|
+
}
|
|
13038
|
+
|
|
13039
|
+
.muka-data-pie-chart__value {
|
|
13040
|
+
position: absolute;
|
|
13041
|
+
inset: 0;
|
|
13042
|
+
display: flex;
|
|
13043
|
+
align-items: center;
|
|
13044
|
+
justify-content: center;
|
|
13031
13045
|
font-family: var(--text-body-base-bold-fontFamily);
|
|
13032
13046
|
font-weight: var(--text-body-base-bold-fontWeight);
|
|
13033
13047
|
font-size: var(--text-body-base-bold-fontSize);
|
|
13034
13048
|
line-height: var(--text-body-base-bold-lineHeight);
|
|
13035
|
-
color: var(--
|
|
13036
|
-
vertical-align: middle;
|
|
13037
|
-
text-align: left;
|
|
13049
|
+
color: var(--color-text-default-default);
|
|
13038
13050
|
}
|
|
13039
13051
|
|
|
13040
|
-
|
|
13041
|
-
|
|
13042
|
-
|
|
13043
|
-
|
|
13052
|
+
|
|
13053
|
+
/* Container */
|
|
13054
|
+
/* Container Component - Layout tokens (container.max-width, container.gap) */
|
|
13055
|
+
|
|
13056
|
+
.muka-container {
|
|
13057
|
+
box-sizing: border-box;
|
|
13058
|
+
width: 100%;
|
|
13059
|
+
margin-inline: auto;
|
|
13044
13060
|
}
|
|
13045
13061
|
|
|
13046
|
-
/*
|
|
13047
|
-
|
|
13048
|
-
|
|
13062
|
+
/* Max-width variants */
|
|
13063
|
+
.muka-container--max-width-small {
|
|
13064
|
+
max-width: var(--container-max-width-small);
|
|
13065
|
+
}
|
|
13049
13066
|
|
|
13050
|
-
.muka-
|
|
13051
|
-
|
|
13052
|
-
transition: background-color 0.15s ease;
|
|
13067
|
+
.muka-container--max-width-medium {
|
|
13068
|
+
max-width: var(--container-max-width-medium);
|
|
13053
13069
|
}
|
|
13054
13070
|
|
|
13055
|
-
|
|
13056
|
-
|
|
13057
|
-
border-bottom: none;
|
|
13071
|
+
.muka-container--max-width-large {
|
|
13072
|
+
max-width: var(--container-max-width-large);
|
|
13058
13073
|
}
|
|
13059
13074
|
|
|
13060
|
-
.muka-
|
|
13061
|
-
|
|
13075
|
+
.muka-container--max-width-xlarge {
|
|
13076
|
+
max-width: var(--container-max-width-xlarge);
|
|
13062
13077
|
}
|
|
13063
13078
|
|
|
13064
|
-
/*
|
|
13065
|
-
.muka-
|
|
13066
|
-
|
|
13067
|
-
background-color: var(--datatable-row-selected-background);
|
|
13079
|
+
/* No gap — max-width only, no flex */
|
|
13080
|
+
.muka-container--gap-none {
|
|
13081
|
+
/* block layout by default */
|
|
13068
13082
|
}
|
|
13069
13083
|
|
|
13070
|
-
|
|
13071
|
-
|
|
13072
|
-
|
|
13073
|
-
|
|
13074
|
-
|
|
13075
|
-
line-height: var(--text-body-base-regular-lineHeight);
|
|
13076
|
-
color: var(--datatable-row-foreground);
|
|
13077
|
-
vertical-align: middle;
|
|
13084
|
+
/* Gap variants — flex column with token gap */
|
|
13085
|
+
.muka-container--gap-compact {
|
|
13086
|
+
display: flex;
|
|
13087
|
+
flex-direction: column;
|
|
13088
|
+
gap: var(--container-gap-compact);
|
|
13078
13089
|
}
|
|
13079
13090
|
|
|
13080
|
-
.muka-
|
|
13091
|
+
.muka-container--gap-default {
|
|
13081
13092
|
display: flex;
|
|
13082
|
-
|
|
13083
|
-
|
|
13084
|
-
word-break: break-word;
|
|
13093
|
+
flex-direction: column;
|
|
13094
|
+
gap: var(--container-gap-default);
|
|
13085
13095
|
}
|
|
13086
13096
|
|
|
13087
|
-
.muka-
|
|
13088
|
-
|
|
13089
|
-
|
|
13097
|
+
.muka-container--gap-spacious {
|
|
13098
|
+
display: flex;
|
|
13099
|
+
flex-direction: column;
|
|
13100
|
+
gap: var(--container-gap-spacious);
|
|
13090
13101
|
}
|
|
13091
13102
|
|
|
13092
|
-
/* ========================================
|
|
13093
|
-
BADGES — always the small (sm) scale
|
|
13094
|
-
======================================== */
|
|
13095
13103
|
|
|
13096
|
-
/*
|
|
13097
|
-
|
|
13098
|
-
every table density. Enforced here so callers can't accidentally scale them
|
|
13099
|
-
up. Overrides the `.muka-badge--md`/`--lg` size rules by carrying a higher
|
|
13100
|
-
specificity (2–3 classes vs. 1–2), independent of stylesheet import order. */
|
|
13101
|
-
.muka-data-table .muka-badge {
|
|
13102
|
-
height: var(--badge-size-height-sm);
|
|
13103
|
-
gap: var(--badge-gap-sm);
|
|
13104
|
-
padding: 0 var(--badge-padding-label-sm);
|
|
13105
|
-
font-family: var(--text-label-sm-regular-fontFamily);
|
|
13106
|
-
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
13107
|
-
font-size: var(--text-label-sm-regular-fontSize);
|
|
13108
|
-
line-height: var(--text-label-sm-regular-lineHeight);
|
|
13109
|
-
}
|
|
13110
|
-
|
|
13111
|
-
/* Match the sm leading padding when a leading icon or dot is present. */
|
|
13112
|
-
.muka-data-table .muka-badge.muka-badge--has-icon,
|
|
13113
|
-
.muka-data-table .muka-badge.muka-badge--has-dot {
|
|
13114
|
-
padding-left: var(--badge-padding-leading-sm);
|
|
13115
|
-
}
|
|
13116
|
-
|
|
13117
|
-
/* Icon and dot slots follow the sm scale too. */
|
|
13118
|
-
.muka-data-table .muka-badge .muka-badge__icon {
|
|
13119
|
-
width: var(--icon-size-xs);
|
|
13120
|
-
height: var(--icon-size-xs);
|
|
13121
|
-
}
|
|
13104
|
+
/* Combobox */
|
|
13105
|
+
/* Combobox — Figma Input Combobox (free-input chips + suggestion Menu) */
|
|
13122
13106
|
|
|
13123
|
-
.muka-
|
|
13124
|
-
|
|
13125
|
-
|
|
13107
|
+
.muka-combobox {
|
|
13108
|
+
display: inline-flex;
|
|
13109
|
+
flex-direction: column;
|
|
13110
|
+
gap: var(--spacing-2);
|
|
13111
|
+
min-width: 200px;
|
|
13126
13112
|
}
|
|
13127
13113
|
|
|
13128
|
-
|
|
13129
|
-
|
|
13130
|
-
======================================== */
|
|
13131
|
-
|
|
13132
|
-
.muka-data-table__th--center,
|
|
13133
|
-
.muka-data-table__td--center {
|
|
13134
|
-
text-align: center;
|
|
13114
|
+
.muka-combobox--full-width {
|
|
13115
|
+
width: 100%;
|
|
13135
13116
|
}
|
|
13136
13117
|
|
|
13137
|
-
.muka-
|
|
13138
|
-
|
|
13139
|
-
|
|
13140
|
-
justify-content: center;
|
|
13118
|
+
.muka-combobox__label {
|
|
13119
|
+
color: var(--color-text-default-default);
|
|
13120
|
+
cursor: pointer;
|
|
13141
13121
|
}
|
|
13142
13122
|
|
|
13143
|
-
.muka-
|
|
13144
|
-
|
|
13145
|
-
|
|
13123
|
+
.muka-combobox__label--sm {
|
|
13124
|
+
font-family: var(--text-label-sm-semibold-fontFamily);
|
|
13125
|
+
font-weight: var(--text-label-sm-semibold-fontWeight);
|
|
13126
|
+
font-size: var(--text-label-sm-semibold-fontSize);
|
|
13127
|
+
line-height: var(--text-label-sm-semibold-lineHeight);
|
|
13146
13128
|
}
|
|
13147
13129
|
|
|
13148
|
-
.muka-
|
|
13149
|
-
|
|
13150
|
-
|
|
13151
|
-
|
|
13130
|
+
.muka-combobox__label--md {
|
|
13131
|
+
font-family: var(--text-label-md-semibold-fontFamily);
|
|
13132
|
+
font-weight: var(--text-label-md-semibold-fontWeight);
|
|
13133
|
+
font-size: var(--text-label-md-semibold-fontSize);
|
|
13134
|
+
line-height: var(--text-label-md-semibold-lineHeight);
|
|
13152
13135
|
}
|
|
13153
13136
|
|
|
13154
|
-
|
|
13155
|
-
|
|
13156
|
-
|
|
13157
|
-
|
|
13158
|
-
|
|
13159
|
-
.muka-data-table--column-dividers .muka-data-table__td:not(:last-child) {
|
|
13160
|
-
border-right: var(--border-width-regular, 1px) solid var(--datatable-divider-color);
|
|
13137
|
+
.muka-combobox__label--lg {
|
|
13138
|
+
font-family: var(--text-label-lg-semibold-fontFamily);
|
|
13139
|
+
font-weight: var(--text-label-lg-semibold-fontWeight);
|
|
13140
|
+
font-size: var(--text-label-lg-semibold-fontSize);
|
|
13141
|
+
line-height: var(--text-label-lg-semibold-lineHeight);
|
|
13161
13142
|
}
|
|
13162
13143
|
|
|
13163
|
-
|
|
13164
|
-
SORTING
|
|
13165
|
-
======================================== */
|
|
13166
|
-
|
|
13167
|
-
.muka-data-table__sort-button {
|
|
13144
|
+
.muka-combobox__field {
|
|
13168
13145
|
display: flex;
|
|
13169
13146
|
align-items: center;
|
|
13170
|
-
gap: var(--spacing-1);
|
|
13171
13147
|
width: 100%;
|
|
13172
|
-
|
|
13173
|
-
|
|
13174
|
-
|
|
13175
|
-
|
|
13176
|
-
|
|
13177
|
-
|
|
13178
|
-
|
|
13179
|
-
|
|
13180
|
-
|
|
13181
|
-
user-select: none;
|
|
13182
|
-
border-radius: var(--border-radius-md, 8px);
|
|
13148
|
+
position: relative;
|
|
13149
|
+
isolation: isolate;
|
|
13150
|
+
box-sizing: border-box;
|
|
13151
|
+
background-color: var(--input-field-color-default-background);
|
|
13152
|
+
border: var(--border-width-regular) solid var(--input-field-color-default-border);
|
|
13153
|
+
border-radius: var(--input-field-radius-lg);
|
|
13154
|
+
padding: var(--spacing-2);
|
|
13155
|
+
cursor: text;
|
|
13156
|
+
transition: border-color 0.12s ease, background-color 0.12s ease;
|
|
13183
13157
|
}
|
|
13184
13158
|
|
|
13185
|
-
.muka-
|
|
13186
|
-
|
|
13187
|
-
|
|
13159
|
+
.muka-combobox__field::after {
|
|
13160
|
+
content: '';
|
|
13161
|
+
position: absolute;
|
|
13162
|
+
inset: 0;
|
|
13163
|
+
border-radius: inherit;
|
|
13164
|
+
box-shadow: inset 0 1px 2px 0 rgba(26, 26, 26, 0.08);
|
|
13165
|
+
pointer-events: none;
|
|
13188
13166
|
}
|
|
13189
13167
|
|
|
13190
|
-
|
|
13191
|
-
|
|
13192
|
-
|
|
13193
|
-
flex-shrink: 0;
|
|
13168
|
+
.muka-combobox__field--sm {
|
|
13169
|
+
min-height: var(--input-field-height-sm);
|
|
13170
|
+
border-radius: var(--input-field-radius-sm);
|
|
13194
13171
|
}
|
|
13195
13172
|
|
|
13196
|
-
|
|
13197
|
-
|
|
13198
|
-
|
|
13199
|
-
|
|
13200
|
-
.muka-data-table__row--interactive {
|
|
13201
|
-
cursor: pointer;
|
|
13202
|
-
/* anchor for the stretched link overlay */
|
|
13203
|
-
position: relative;
|
|
13173
|
+
.muka-combobox__field--md {
|
|
13174
|
+
min-height: var(--input-field-height-default);
|
|
13175
|
+
border-radius: var(--input-field-radius-md);
|
|
13204
13176
|
}
|
|
13205
13177
|
|
|
13206
|
-
.muka-
|
|
13207
|
-
|
|
13208
|
-
|
|
13178
|
+
.muka-combobox__field--lg {
|
|
13179
|
+
min-height: var(--input-field-height-lg);
|
|
13180
|
+
border-radius: var(--input-field-radius-lg);
|
|
13209
13181
|
}
|
|
13210
13182
|
|
|
13211
|
-
.muka-
|
|
13212
|
-
|
|
13183
|
+
.muka-combobox__field--focused:not(.muka-combobox__field--disabled) {
|
|
13184
|
+
border-width: var(--border-width-bold);
|
|
13185
|
+
border-color: var(--input-field-color-focus-border);
|
|
13186
|
+
background-color: var(--input-field-color-focus-background);
|
|
13187
|
+
padding: calc(var(--spacing-2) - 1px);
|
|
13213
13188
|
}
|
|
13214
13189
|
|
|
13215
|
-
|
|
13216
|
-
|
|
13217
|
-
color: inherit;
|
|
13218
|
-
text-decoration: none;
|
|
13190
|
+
.muka-combobox__field--error:not(.muka-combobox__field--disabled) {
|
|
13191
|
+
border-color: var(--color-state-error-contrast);
|
|
13219
13192
|
}
|
|
13220
13193
|
|
|
13221
|
-
.muka-
|
|
13222
|
-
|
|
13223
|
-
|
|
13224
|
-
inset: 0;
|
|
13225
|
-
z-index: 0;
|
|
13194
|
+
.muka-combobox__field--disabled {
|
|
13195
|
+
opacity: 0.5;
|
|
13196
|
+
cursor: not-allowed;
|
|
13226
13197
|
}
|
|
13227
13198
|
|
|
13228
|
-
.muka-
|
|
13229
|
-
|
|
13199
|
+
.muka-combobox__field--multiline {
|
|
13200
|
+
align-items: flex-start;
|
|
13201
|
+
min-height: 7rem;
|
|
13230
13202
|
}
|
|
13231
13203
|
|
|
13232
|
-
.muka-
|
|
13233
|
-
|
|
13234
|
-
|
|
13204
|
+
.muka-combobox__chips {
|
|
13205
|
+
display: flex;
|
|
13206
|
+
flex: 1 1 auto;
|
|
13207
|
+
flex-wrap: wrap;
|
|
13208
|
+
gap: var(--spacing-2);
|
|
13209
|
+
align-items: center;
|
|
13210
|
+
min-width: 0;
|
|
13211
|
+
width: 100%;
|
|
13212
|
+
position: relative;
|
|
13213
|
+
z-index: 1;
|
|
13235
13214
|
}
|
|
13236
13215
|
|
|
13237
|
-
|
|
13238
|
-
|
|
13239
|
-
|
|
13240
|
-
|
|
13216
|
+
.muka-combobox__input {
|
|
13217
|
+
flex: 1 1 5rem;
|
|
13218
|
+
min-width: 5rem;
|
|
13219
|
+
min-height: 2rem;
|
|
13220
|
+
margin: 0;
|
|
13221
|
+
padding: 0 var(--spacing-1);
|
|
13222
|
+
border: none;
|
|
13223
|
+
outline: none;
|
|
13224
|
+
background: transparent;
|
|
13225
|
+
color: var(--input-field-color-default-foreground);
|
|
13226
|
+
caret-color: var(--input-field-color-default-foreground);
|
|
13227
|
+
font-family: var(--text-label-md-regular-fontFamily);
|
|
13228
|
+
font-size: var(--text-label-md-regular-fontSize);
|
|
13229
|
+
font-weight: var(--text-label-md-regular-fontWeight);
|
|
13230
|
+
line-height: var(--text-label-md-regular-lineHeight);
|
|
13241
13231
|
}
|
|
13242
13232
|
|
|
13243
|
-
.muka-
|
|
13244
|
-
color: var(--color-text-
|
|
13233
|
+
.muka-combobox__input::placeholder {
|
|
13234
|
+
color: var(--color-text-subtle-default);
|
|
13245
13235
|
}
|
|
13246
13236
|
|
|
13247
|
-
|
|
13248
|
-
|
|
13249
|
-
|
|
13250
|
-
|
|
13251
|
-
|
|
13252
|
-
|
|
13253
|
-
|
|
13254
|
-
.muka-data-table__col--action {
|
|
13255
|
-
width: 0;
|
|
13237
|
+
.muka-combobox__helper {
|
|
13238
|
+
margin: 0;
|
|
13239
|
+
color: var(--color-text-subtle-default);
|
|
13240
|
+
font-family: var(--text-label-sm-regular-fontFamily);
|
|
13241
|
+
font-size: var(--text-label-sm-regular-fontSize);
|
|
13242
|
+
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
13243
|
+
line-height: var(--text-label-sm-regular-lineHeight);
|
|
13256
13244
|
}
|
|
13257
13245
|
|
|
13258
|
-
.muka-
|
|
13259
|
-
|
|
13260
|
-
|
|
13261
|
-
|
|
13262
|
-
|
|
13263
|
-
|
|
13264
|
-
|
|
13265
|
-
/* Sit above the row link overlay so the action stays independently clickable. */
|
|
13266
|
-
position: relative;
|
|
13267
|
-
z-index: 1;
|
|
13246
|
+
.muka-combobox__error {
|
|
13247
|
+
margin: 0;
|
|
13248
|
+
color: var(--color-state-error-default);
|
|
13249
|
+
font-family: var(--text-label-sm-regular-fontFamily);
|
|
13250
|
+
font-size: var(--text-label-sm-regular-fontSize);
|
|
13251
|
+
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
13252
|
+
line-height: var(--text-label-sm-regular-lineHeight);
|
|
13268
13253
|
}
|
|
13269
13254
|
|
|
13270
|
-
.muka-
|
|
13271
|
-
|
|
13255
|
+
.muka-combobox__menu-anchor {
|
|
13256
|
+
position: absolute;
|
|
13257
|
+
inset: 0;
|
|
13258
|
+
z-index: 0;
|
|
13259
|
+
width: 100%;
|
|
13260
|
+
height: 100%;
|
|
13261
|
+
margin: 0;
|
|
13262
|
+
padding: 0;
|
|
13263
|
+
border: none;
|
|
13264
|
+
background: transparent;
|
|
13265
|
+
pointer-events: none;
|
|
13266
|
+
opacity: 0;
|
|
13272
13267
|
}
|
|
13273
13268
|
|
|
13274
|
-
|
|
13275
|
-
|
|
13276
|
-
min-
|
|
13269
|
+
.muka-combobox__menu {
|
|
13270
|
+
/* Prefer Menu token min-width (280px); may exceed the field when left-aligned. */
|
|
13271
|
+
min-width: var(--menu-content-min-width);
|
|
13272
|
+
width: max-content;
|
|
13273
|
+
max-width: min(100vw - 2rem, 24rem);
|
|
13277
13274
|
}
|
|
13278
13275
|
|
|
13279
|
-
/* ========================================
|
|
13280
|
-
SELECTION — leading checkbox column
|
|
13281
|
-
======================================== */
|
|
13282
13276
|
|
|
13283
|
-
|
|
13284
|
-
|
|
13277
|
+
/* ChipSelectGroup */
|
|
13278
|
+
/* ChipSelectGroup — wrapping row of selectable chips (experimental) */
|
|
13279
|
+
.muka-chip-select-group {
|
|
13280
|
+
display: flex;
|
|
13281
|
+
flex-wrap: wrap;
|
|
13282
|
+
gap: var(--spacing-2);
|
|
13285
13283
|
}
|
|
13286
13284
|
|
|
13287
|
-
.muka-data-table__th--select,
|
|
13288
|
-
.muka-data-table__td--select {
|
|
13289
|
-
width: var(--datatable-selection-column-width);
|
|
13290
|
-
padding-left: var(--spacing-4);
|
|
13291
|
-
padding-right: var(--spacing-2);
|
|
13292
|
-
/* Sit above the row link overlay so the checkbox stays independently clickable. */
|
|
13293
|
-
position: relative;
|
|
13294
|
-
z-index: 1;
|
|
13295
|
-
}
|
|
13296
13285
|
|
|
13297
|
-
|
|
13286
|
+
/* Chip */
|
|
13287
|
+
/* Chip Component Styles - Using Muka Design Tokens (Figma: Chip, Chip/Trailing) */
|
|
13288
|
+
|
|
13289
|
+
/*
|
|
13290
|
+
* Internal custom properties (not public API):
|
|
13291
|
+
* --_chip-gap / --_chip-pad-start / --_chip-pad-end spacing per size and slot
|
|
13292
|
+
* --_chip-tr-* trailing button colours per variant
|
|
13293
|
+
*/
|
|
13294
|
+
.muka-chip {
|
|
13298
13295
|
display: inline-flex;
|
|
13299
13296
|
align-items: center;
|
|
13297
|
+
gap: var(--_chip-gap);
|
|
13298
|
+
padding: 0 var(--_chip-pad-end) 0 var(--_chip-pad-start);
|
|
13299
|
+
border-radius: var(--border-radius-full);
|
|
13300
|
+
white-space: nowrap;
|
|
13301
|
+
user-select: none;
|
|
13302
|
+
border: var(--border-width-regular) solid transparent;
|
|
13303
|
+
box-sizing: border-box;
|
|
13304
|
+
flex-shrink: 0;
|
|
13300
13305
|
}
|
|
13301
13306
|
|
|
13302
|
-
/*
|
|
13303
|
-
|
|
13304
|
-
|
|
13305
|
-
|
|
13306
|
-
|
|
13307
|
-
|
|
13308
|
-
.muka-
|
|
13309
|
-
|
|
13307
|
+
/*
|
|
13308
|
+
* Sizes: height, gap, type, and label-edge padding. The side that carries an
|
|
13309
|
+
* adornment gets its own padding: leading icon → chip.padding.leading, and the
|
|
13310
|
+
* right edge after a leading icon → chip.padding.labelEnd (Figma lg: 20). A
|
|
13311
|
+
* trailing button → chip.padding.trailing, which wins (declared later).
|
|
13312
|
+
*/
|
|
13313
|
+
.muka-chip--sm {
|
|
13314
|
+
height: var(--chip-size-height-sm);
|
|
13315
|
+
--_chip-gap: var(--chip-gap-sm);
|
|
13316
|
+
--_chip-pad-start: var(--chip-padding-label-sm);
|
|
13317
|
+
--_chip-pad-end: var(--chip-padding-label-sm);
|
|
13318
|
+
font-family: var(--text-label-sm-regular-fontFamily);
|
|
13319
|
+
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
13320
|
+
font-size: var(--text-label-sm-regular-fontSize);
|
|
13321
|
+
line-height: var(--text-label-sm-regular-lineHeight);
|
|
13310
13322
|
}
|
|
13311
13323
|
|
|
13312
|
-
|
|
13313
|
-
|
|
13314
|
-
|
|
13315
|
-
|
|
13324
|
+
.muka-chip--md {
|
|
13325
|
+
height: var(--chip-size-height-md);
|
|
13326
|
+
--_chip-gap: var(--chip-gap-md);
|
|
13327
|
+
--_chip-pad-start: var(--chip-padding-label-md);
|
|
13328
|
+
--_chip-pad-end: var(--chip-padding-label-md);
|
|
13329
|
+
font-family: var(--text-label-md-regular-fontFamily);
|
|
13330
|
+
font-weight: var(--text-label-md-regular-fontWeight);
|
|
13331
|
+
font-size: var(--text-label-md-regular-fontSize);
|
|
13332
|
+
line-height: var(--text-label-md-regular-lineHeight);
|
|
13316
13333
|
}
|
|
13317
13334
|
|
|
13318
|
-
|
|
13319
|
-
|
|
13320
|
-
|
|
13321
|
-
|
|
13322
|
-
|
|
13323
|
-
|
|
13324
|
-
|
|
13325
|
-
|
|
13326
|
-
|
|
13327
|
-
|
|
13328
|
-
--dt-pad-x: var(--datatable-cell-padding-x-md);
|
|
13329
|
-
--dt-pad-y: var(--datatable-cell-padding-y-md);
|
|
13330
|
-
}
|
|
13335
|
+
.muka-chip--lg {
|
|
13336
|
+
height: var(--chip-size-height-lg);
|
|
13337
|
+
--_chip-gap: var(--chip-gap-lg);
|
|
13338
|
+
--_chip-pad-start: var(--chip-padding-label-lg);
|
|
13339
|
+
--_chip-pad-end: var(--chip-padding-label-lg);
|
|
13340
|
+
font-family: var(--text-label-lg-regular-fontFamily);
|
|
13341
|
+
font-weight: var(--text-label-lg-regular-fontWeight);
|
|
13342
|
+
font-size: var(--text-label-lg-regular-fontSize);
|
|
13343
|
+
line-height: var(--text-label-lg-regular-lineHeight);
|
|
13344
|
+
}
|
|
13331
13345
|
|
|
13332
|
-
|
|
13333
|
-
|
|
13334
|
-
|
|
13346
|
+
.muka-chip--sm.muka-chip--has-icon {
|
|
13347
|
+
--_chip-pad-start: var(--chip-padding-leading-sm);
|
|
13348
|
+
--_chip-pad-end: var(--chip-padding-labelEnd-sm);
|
|
13349
|
+
}
|
|
13350
|
+
.muka-chip--md.muka-chip--has-icon {
|
|
13351
|
+
--_chip-pad-start: var(--chip-padding-leading-md);
|
|
13352
|
+
--_chip-pad-end: var(--chip-padding-labelEnd-md);
|
|
13353
|
+
}
|
|
13354
|
+
.muka-chip--lg.muka-chip--has-icon {
|
|
13355
|
+
--_chip-pad-start: var(--chip-padding-leading-lg);
|
|
13356
|
+
--_chip-pad-end: var(--chip-padding-labelEnd-lg);
|
|
13357
|
+
}
|
|
13335
13358
|
|
|
13336
|
-
|
|
13337
|
-
|
|
13338
|
-
|
|
13359
|
+
.muka-chip--sm.muka-chip--has-trailing {
|
|
13360
|
+
--_chip-pad-end: var(--chip-padding-trailing-sm);
|
|
13361
|
+
}
|
|
13362
|
+
.muka-chip--md.muka-chip--has-trailing {
|
|
13363
|
+
--_chip-pad-end: var(--chip-padding-trailing-md);
|
|
13364
|
+
}
|
|
13365
|
+
.muka-chip--lg.muka-chip--has-trailing {
|
|
13366
|
+
--_chip-pad-end: var(--chip-padding-trailing-lg);
|
|
13367
|
+
}
|
|
13339
13368
|
|
|
13340
|
-
|
|
13341
|
-
|
|
13342
|
-
|
|
13343
|
-
|
|
13344
|
-
|
|
13345
|
-
|
|
13346
|
-
|
|
13369
|
+
/* Leading icon slot — Figma icon sizes: sm 16, md 20, lg 24 */
|
|
13370
|
+
.muka-chip__icon {
|
|
13371
|
+
display: inline-flex;
|
|
13372
|
+
align-items: center;
|
|
13373
|
+
justify-content: center;
|
|
13374
|
+
flex-shrink: 0;
|
|
13375
|
+
}
|
|
13347
13376
|
|
|
13348
|
-
|
|
13349
|
-
|
|
13350
|
-
|
|
13351
|
-
|
|
13352
|
-
|
|
13377
|
+
.muka-chip--sm .muka-chip__icon {
|
|
13378
|
+
width: var(--icon-size-xs);
|
|
13379
|
+
height: var(--icon-size-xs);
|
|
13380
|
+
}
|
|
13381
|
+
.muka-chip--md .muka-chip__icon {
|
|
13382
|
+
width: var(--icon-size-sm);
|
|
13383
|
+
height: var(--icon-size-sm);
|
|
13384
|
+
}
|
|
13385
|
+
.muka-chip--lg .muka-chip__icon {
|
|
13386
|
+
width: var(--icon-size-default);
|
|
13387
|
+
height: var(--icon-size-default);
|
|
13388
|
+
}
|
|
13353
13389
|
|
|
13354
|
-
|
|
13355
|
-
|
|
13356
|
-
|
|
13357
|
-
|
|
13358
|
-
|
|
13359
|
-
|
|
13360
|
-
|
|
13361
|
-
|
|
13362
|
-
}
|
|
13390
|
+
/* Force the passed content (raw <svg> or an <Icon> wrapper) to the slot size,
|
|
13391
|
+
so callers don't have to size the icon to match each chip size. The
|
|
13392
|
+
.muka-icon selector is intentionally 2 classes deep to override .muka-icon--md. */
|
|
13393
|
+
.muka-chip__icon .muka-icon,
|
|
13394
|
+
.muka-chip__icon svg {
|
|
13395
|
+
width: 100%;
|
|
13396
|
+
height: 100%;
|
|
13397
|
+
}
|
|
13363
13398
|
|
|
13364
|
-
|
|
13365
|
-
|
|
13366
|
-
|
|
13367
|
-
|
|
13368
|
-
|
|
13399
|
+
.muka-chip__label {
|
|
13400
|
+
flex: 0 0 auto;
|
|
13401
|
+
/*
|
|
13402
|
+
* The chip sets a tight line-height (= font size) for compact sizing; the
|
|
13403
|
+
* label gets a roomier one so descenders (g, y, p) aren't clipped when it
|
|
13404
|
+
* truncates. Vertical centering is unaffected: the chip height is fixed and
|
|
13405
|
+
* content is centered via align-items: center.
|
|
13406
|
+
*/
|
|
13407
|
+
line-height: normal;
|
|
13408
|
+
}
|
|
13369
13409
|
|
|
13370
|
-
|
|
13371
|
-
|
|
13372
|
-
|
|
13373
|
-
|
|
13374
|
-
|
|
13375
|
-
|
|
13376
|
-
|
|
13377
|
-
|
|
13378
|
-
|
|
13410
|
+
/*
|
|
13411
|
+
* A chip keeps its full label by default (it doesn't shrink). With `truncate`
|
|
13412
|
+
* it may shrink to its container, and the label ends in an ellipsis.
|
|
13413
|
+
*/
|
|
13414
|
+
.muka-chip--truncate {
|
|
13415
|
+
flex-shrink: 1;
|
|
13416
|
+
min-width: 0;
|
|
13417
|
+
max-width: 100%;
|
|
13418
|
+
}
|
|
13379
13419
|
|
|
13380
|
-
|
|
13381
|
-
|
|
13382
|
-
|
|
13383
|
-
|
|
13384
|
-
|
|
13420
|
+
.muka-chip--truncate .muka-chip__label {
|
|
13421
|
+
flex: 0 1 auto;
|
|
13422
|
+
min-width: 0;
|
|
13423
|
+
overflow: hidden;
|
|
13424
|
+
text-overflow: ellipsis;
|
|
13425
|
+
}
|
|
13385
13426
|
|
|
13386
|
-
|
|
13387
|
-
|
|
13388
|
-
|
|
13389
|
-
|
|
13427
|
+
/*
|
|
13428
|
+
* Label as a link or button (`href` / `onLabelClick`). It takes over the
|
|
13429
|
+
* chip's start padding (and end padding when there is no trailing button), so
|
|
13430
|
+
* the whole body up to the trailing button is its hit area.
|
|
13431
|
+
*/
|
|
13432
|
+
.muka-chip__label-action,
|
|
13433
|
+
.muka-chip__label-group {
|
|
13434
|
+
display: inline-flex;
|
|
13435
|
+
align-items: center;
|
|
13436
|
+
gap: var(--_chip-gap);
|
|
13437
|
+
}
|
|
13390
13438
|
|
|
13391
|
-
|
|
13392
|
-
|
|
13393
|
-
|
|
13439
|
+
.muka-chip--truncate .muka-chip__label-action,
|
|
13440
|
+
.muka-chip--truncate .muka-chip__label-group {
|
|
13441
|
+
min-width: 0;
|
|
13442
|
+
}
|
|
13394
13443
|
|
|
13395
|
-
|
|
13396
|
-
|
|
13397
|
-
|
|
13398
|
-
|
|
13399
|
-
|
|
13400
|
-
|
|
13401
|
-
|
|
13444
|
+
.muka-chip__label-action {
|
|
13445
|
+
align-self: stretch;
|
|
13446
|
+
margin: 0;
|
|
13447
|
+
margin-left: calc(-1 * var(--_chip-pad-start));
|
|
13448
|
+
padding: 0 0 0 var(--_chip-pad-start);
|
|
13449
|
+
border: none;
|
|
13450
|
+
border-radius: var(--border-radius-full);
|
|
13451
|
+
background: none;
|
|
13452
|
+
color: inherit;
|
|
13453
|
+
font: inherit;
|
|
13454
|
+
text-decoration: none;
|
|
13455
|
+
text-align: inherit;
|
|
13456
|
+
cursor: pointer;
|
|
13457
|
+
}
|
|
13402
13458
|
|
|
13403
|
-
|
|
13404
|
-
|
|
13405
|
-
|
|
13406
|
-
flex-direction: column;
|
|
13407
|
-
gap: var(--spacing-1);
|
|
13408
|
-
min-width: 0;
|
|
13409
|
-
}
|
|
13410
|
-
|
|
13411
|
-
/* A ProfileBadge in the collapsed card drops its avatar so the name sits
|
|
13412
|
-
flush-left and lines up with the other stacked primary/secondary text
|
|
13413
|
-
instead of being indented by the avatar. `display: none` also collapses the
|
|
13414
|
-
ProfileBadge's flex gap, so no placeholder whitespace is left behind. */
|
|
13415
|
-
.muka-data-table--responsive .muka-profile-badge__avatar {
|
|
13416
|
-
display: none;
|
|
13417
|
-
}
|
|
13418
|
-
|
|
13419
|
-
.muka-data-table__stack-title {
|
|
13420
|
-
font-family: var(--text-label-md-semibold-fontFamily);
|
|
13421
|
-
font-weight: var(--text-label-md-semibold-fontWeight);
|
|
13422
|
-
font-size: var(--text-label-md-semibold-fontSize);
|
|
13423
|
-
line-height: var(--text-label-md-semibold-lineHeight);
|
|
13424
|
-
color: var(--color-text-default-default);
|
|
13425
|
-
overflow: hidden;
|
|
13426
|
-
text-overflow: ellipsis;
|
|
13427
|
-
}
|
|
13428
|
-
|
|
13429
|
-
.muka-data-table__stack-line {
|
|
13430
|
-
font-family: var(--text-body-sm-regular-fontFamily);
|
|
13431
|
-
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
13432
|
-
font-size: var(--text-body-sm-regular-fontSize);
|
|
13433
|
-
line-height: var(--text-body-sm-regular-lineHeight);
|
|
13434
|
-
color: var(--color-text-subtle-default);
|
|
13435
|
-
overflow: hidden;
|
|
13436
|
-
text-overflow: ellipsis;
|
|
13437
|
-
}
|
|
13438
|
-
|
|
13439
|
-
/* The stack title may itself be the stretched link. */
|
|
13440
|
-
.muka-data-table__stack-title .muka-data-table__row-link {
|
|
13441
|
-
color: inherit;
|
|
13442
|
-
text-decoration: none;
|
|
13443
|
-
}
|
|
13444
|
-
|
|
13445
|
-
/* Selection checkbox leads the mobile row: [checkbox | stack | secondary | action]. */
|
|
13446
|
-
.muka-data-table--responsive .muka-data-table__td--select {
|
|
13447
|
-
display: block;
|
|
13448
|
-
grid-column: 1;
|
|
13449
|
-
width: auto;
|
|
13450
|
-
}
|
|
13451
|
-
|
|
13452
|
-
.muka-data-table--responsive.muka-data-table--selectable .muka-data-table__row {
|
|
13453
|
-
grid-template-columns: auto 1fr auto auto;
|
|
13454
|
-
}
|
|
13455
|
-
|
|
13456
|
-
.muka-data-table--responsive.muka-data-table--selectable .muka-data-table__td--mobile-stack {
|
|
13457
|
-
grid-column: 2;
|
|
13458
|
-
}
|
|
13459
|
-
|
|
13460
|
-
.muka-data-table--responsive.muka-data-table--selectable .muka-data-table__td--m-secondary {
|
|
13461
|
-
grid-column: 3;
|
|
13462
|
-
}
|
|
13463
|
-
|
|
13464
|
-
.muka-data-table--responsive.muka-data-table--selectable .muka-data-table__td--action {
|
|
13465
|
-
grid-column: 4;
|
|
13466
|
-
}
|
|
13459
|
+
.muka-chip--has-label-action:not(.muka-chip--has-trailing) .muka-chip__label-action {
|
|
13460
|
+
margin-right: calc(-1 * var(--_chip-pad-end));
|
|
13461
|
+
padding-right: var(--_chip-pad-end);
|
|
13467
13462
|
}
|
|
13468
13463
|
|
|
13464
|
+
.muka-chip__label-action:focus-visible {
|
|
13465
|
+
outline: 2px solid var(--color-border-focus);
|
|
13466
|
+
outline-offset: 2px;
|
|
13467
|
+
}
|
|
13469
13468
|
|
|
13470
|
-
/*
|
|
13471
|
-
|
|
13472
|
-
|
|
13473
|
-
.muka-data-pie-chart {
|
|
13469
|
+
/* Trailing button (dismiss / expand / switch) — circular. Figma sizes: sm 20, md 24, lg 32 */
|
|
13470
|
+
.muka-chip__trailing {
|
|
13474
13471
|
position: relative;
|
|
13475
13472
|
display: inline-flex;
|
|
13476
13473
|
align-items: center;
|
|
13477
13474
|
justify-content: center;
|
|
13478
13475
|
flex-shrink: 0;
|
|
13476
|
+
padding: 0;
|
|
13477
|
+
margin: 0;
|
|
13478
|
+
border: var(--border-width-regular) solid var(--_chip-tr-border, transparent);
|
|
13479
|
+
border-radius: var(--border-radius-full);
|
|
13480
|
+
box-sizing: border-box;
|
|
13481
|
+
background-color: var(--_chip-tr-bg);
|
|
13482
|
+
color: var(--_chip-tr-fg);
|
|
13483
|
+
cursor: pointer;
|
|
13484
|
+
transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
|
|
13479
13485
|
}
|
|
13480
13486
|
|
|
13481
|
-
.muka-
|
|
13482
|
-
|
|
13483
|
-
|
|
13484
|
-
height: 100%;
|
|
13485
|
-
/* Start the segment at 12 o'clock instead of 3 o'clock */
|
|
13486
|
-
transform: rotate(-90deg);
|
|
13487
|
+
.muka-chip--sm .muka-chip__trailing {
|
|
13488
|
+
width: var(--icon-size-sm);
|
|
13489
|
+
height: var(--icon-size-sm);
|
|
13487
13490
|
}
|
|
13488
|
-
|
|
13489
|
-
|
|
13490
|
-
|
|
13491
|
+
.muka-chip--md .muka-chip__trailing {
|
|
13492
|
+
width: var(--icon-size-default);
|
|
13493
|
+
height: var(--icon-size-default);
|
|
13491
13494
|
}
|
|
13492
|
-
|
|
13493
|
-
|
|
13494
|
-
|
|
13495
|
-
/* Subtle lift on the filled segment, matching the Figma elevation */
|
|
13496
|
-
filter: drop-shadow(0 2px 4px var(--color-black-alpha-5, rgba(0, 0, 0, 0.05)));
|
|
13497
|
-
/* Butt caps keep the always-rendered 0% arc invisible (round caps would draw a dot) */
|
|
13498
|
-
stroke-linecap: butt;
|
|
13499
|
-
/* view duration (300ms) reads at the 24px size; tokens zero it for reduced motion */
|
|
13500
|
-
transition: stroke-dasharray var(--motion-duration-view) var(--motion-easing-default);
|
|
13495
|
+
.muka-chip--lg .muka-chip__trailing {
|
|
13496
|
+
width: var(--icon-size-lg);
|
|
13497
|
+
height: var(--icon-size-lg);
|
|
13501
13498
|
}
|
|
13502
13499
|
|
|
13503
|
-
/*
|
|
13504
|
-
|
|
13505
|
-
|
|
13506
|
-
it swaps seamlessly with the value-based progress donut. */
|
|
13507
|
-
.muka-data-pie-chart__spinner-track,
|
|
13508
|
-
.muka-data-pie-chart__spinner {
|
|
13500
|
+
/* A touch target of at least the sm chip height (24px, WCAG 2.5.8) around the 20px circle */
|
|
13501
|
+
button.muka-chip__trailing::before {
|
|
13502
|
+
content: '';
|
|
13509
13503
|
position: absolute;
|
|
13510
|
-
|
|
13511
|
-
|
|
13512
|
-
|
|
13513
|
-
|
|
13504
|
+
top: 50%;
|
|
13505
|
+
left: 50%;
|
|
13506
|
+
width: max(100%, var(--chip-size-height-sm));
|
|
13507
|
+
height: max(100%, var(--chip-size-height-sm));
|
|
13508
|
+
transform: translate(-50%, -50%);
|
|
13514
13509
|
}
|
|
13515
13510
|
|
|
13516
|
-
.muka-
|
|
13517
|
-
|
|
13511
|
+
button.muka-chip__trailing:focus-visible {
|
|
13512
|
+
outline: 2px solid var(--color-border-focus);
|
|
13513
|
+
outline-offset: 2px;
|
|
13518
13514
|
}
|
|
13519
13515
|
|
|
13520
|
-
|
|
13521
|
-
|
|
13522
|
-
|
|
13523
|
-
}
|
|
13516
|
+
button.muka-chip__trailing:disabled {
|
|
13517
|
+
cursor: not-allowed;
|
|
13518
|
+
opacity: 0.5;
|
|
13524
13519
|
}
|
|
13525
13520
|
|
|
13526
|
-
|
|
13527
|
-
|
|
13528
|
-
|
|
13529
|
-
|
|
13521
|
+
/* Trailing button states: its own hover / pressed, or the whole chip's when the chip is one button */
|
|
13522
|
+
button.muka-chip__trailing:hover:not(:disabled),
|
|
13523
|
+
.muka-chip--expandable:hover:not(:disabled) .muka-chip__trailing {
|
|
13524
|
+
border-color: var(--_chip-tr-border-hover, transparent);
|
|
13525
|
+
background-color: var(--_chip-tr-bg-hover);
|
|
13526
|
+
color: var(--_chip-tr-fg-hover);
|
|
13530
13527
|
}
|
|
13531
13528
|
|
|
13532
|
-
.muka-
|
|
13533
|
-
|
|
13534
|
-
|
|
13535
|
-
|
|
13536
|
-
|
|
13537
|
-
|
|
13538
|
-
|
|
13539
|
-
font-weight: var(--text-body-base-bold-fontWeight);
|
|
13540
|
-
font-size: var(--text-body-base-bold-fontSize);
|
|
13541
|
-
line-height: var(--text-body-base-bold-lineHeight);
|
|
13542
|
-
color: var(--color-text-default-default);
|
|
13529
|
+
button.muka-chip__trailing:active:not(:disabled),
|
|
13530
|
+
button.muka-chip__trailing[aria-expanded='true'],
|
|
13531
|
+
.muka-chip--expandable:active:not(:disabled) .muka-chip__trailing,
|
|
13532
|
+
.muka-chip--expandable[aria-expanded='true'] .muka-chip__trailing {
|
|
13533
|
+
border-color: var(--_chip-tr-border-hover, transparent);
|
|
13534
|
+
background-color: var(--_chip-tr-bg-pressed);
|
|
13535
|
+
color: var(--_chip-tr-fg-pressed);
|
|
13543
13536
|
}
|
|
13544
13537
|
|
|
13545
|
-
|
|
13546
|
-
|
|
13547
|
-
|
|
13548
|
-
|
|
13549
|
-
|
|
13550
|
-
|
|
13551
|
-
|
|
13552
|
-
|
|
13538
|
+
/*
|
|
13539
|
+
* Whole-chip button (`trailing="expand" | "switch"`, Figma "Chip/Trailing
|
|
13540
|
+
* Expand"): typically a menu trigger. An open menu (aria-expanded) shows the
|
|
13541
|
+
* trailing button pressed, like Button's open state.
|
|
13542
|
+
*/
|
|
13543
|
+
.muka-chip--expandable {
|
|
13544
|
+
margin: 0;
|
|
13545
|
+
text-align: inherit;
|
|
13546
|
+
cursor: pointer;
|
|
13553
13547
|
}
|
|
13554
13548
|
|
|
13555
|
-
|
|
13556
|
-
|
|
13557
|
-
|
|
13549
|
+
.muka-chip--expandable:focus-visible {
|
|
13550
|
+
outline: 2px solid var(--color-border-focus);
|
|
13551
|
+
outline-offset: 2px;
|
|
13558
13552
|
}
|
|
13559
13553
|
|
|
13560
|
-
.muka-
|
|
13561
|
-
|
|
13554
|
+
.muka-chip--expandable:disabled {
|
|
13555
|
+
cursor: not-allowed;
|
|
13562
13556
|
}
|
|
13563
13557
|
|
|
13564
|
-
.muka-
|
|
13565
|
-
|
|
13558
|
+
.muka-chip--expandable .muka-chip__trailing {
|
|
13559
|
+
pointer-events: none;
|
|
13566
13560
|
}
|
|
13567
13561
|
|
|
13568
|
-
|
|
13569
|
-
|
|
13562
|
+
/* Variants: body fill, foreground, and the trailing button's colour steps */
|
|
13563
|
+
.muka-chip--default {
|
|
13564
|
+
background-color: var(--chip-neutral-background-default);
|
|
13565
|
+
color: var(--color-text-default-default);
|
|
13566
|
+
--_chip-tr-bg: var(--chip-trailing-default-background-default);
|
|
13567
|
+
--_chip-tr-bg-hover: var(--chip-trailing-default-background-hover);
|
|
13568
|
+
--_chip-tr-bg-pressed: var(--chip-trailing-default-background-pressed);
|
|
13569
|
+
--_chip-tr-fg: var(--chip-trailing-default-foreground-default);
|
|
13570
|
+
--_chip-tr-fg-hover: var(--chip-trailing-default-foreground-hover);
|
|
13571
|
+
--_chip-tr-fg-pressed: var(--chip-trailing-default-foreground-pressed);
|
|
13570
13572
|
}
|
|
13571
13573
|
|
|
13572
|
-
|
|
13573
|
-
|
|
13574
|
-
|
|
13574
|
+
.muka-chip--success {
|
|
13575
|
+
background-color: var(--color-state-success-background);
|
|
13576
|
+
color: var(--color-state-success-contrast);
|
|
13577
|
+
--_chip-tr-bg: var(--chip-trailing-success-background-default);
|
|
13578
|
+
--_chip-tr-bg-hover: var(--chip-trailing-success-background-hover);
|
|
13579
|
+
--_chip-tr-bg-pressed: var(--chip-trailing-success-background-pressed);
|
|
13580
|
+
--_chip-tr-fg: var(--chip-trailing-success-foreground-default);
|
|
13581
|
+
--_chip-tr-fg-hover: var(--chip-trailing-success-foreground-hover);
|
|
13582
|
+
--_chip-tr-fg-pressed: var(--chip-trailing-success-foreground-pressed);
|
|
13575
13583
|
}
|
|
13576
13584
|
|
|
13577
|
-
|
|
13578
|
-
|
|
13579
|
-
|
|
13580
|
-
|
|
13581
|
-
|
|
13585
|
+
.muka-chip--warning {
|
|
13586
|
+
background-color: var(--color-state-warning-background);
|
|
13587
|
+
color: var(--color-state-warning-contrast);
|
|
13588
|
+
--_chip-tr-bg: var(--chip-trailing-warning-background-default);
|
|
13589
|
+
--_chip-tr-bg-hover: var(--chip-trailing-warning-background-hover);
|
|
13590
|
+
--_chip-tr-bg-pressed: var(--chip-trailing-warning-background-pressed);
|
|
13591
|
+
--_chip-tr-fg: var(--chip-trailing-warning-foreground-default);
|
|
13592
|
+
--_chip-tr-fg-hover: var(--chip-trailing-warning-foreground-hover);
|
|
13593
|
+
--_chip-tr-fg-pressed: var(--chip-trailing-warning-foreground-pressed);
|
|
13582
13594
|
}
|
|
13583
13595
|
|
|
13584
|
-
.muka-
|
|
13585
|
-
|
|
13586
|
-
|
|
13587
|
-
|
|
13596
|
+
.muka-chip--error {
|
|
13597
|
+
background-color: var(--color-state-error-background);
|
|
13598
|
+
color: var(--color-state-error-contrast);
|
|
13599
|
+
--_chip-tr-bg: var(--chip-trailing-error-background-default);
|
|
13600
|
+
--_chip-tr-bg-hover: var(--chip-trailing-error-background-hover);
|
|
13601
|
+
--_chip-tr-bg-pressed: var(--chip-trailing-error-background-pressed);
|
|
13602
|
+
--_chip-tr-fg: var(--chip-trailing-error-foreground-default);
|
|
13603
|
+
--_chip-tr-fg-hover: var(--chip-trailing-error-foreground-hover);
|
|
13604
|
+
--_chip-tr-fg-pressed: var(--chip-trailing-error-foreground-pressed);
|
|
13588
13605
|
}
|
|
13589
13606
|
|
|
13590
|
-
.muka-
|
|
13591
|
-
|
|
13592
|
-
|
|
13593
|
-
|
|
13594
|
-
|
|
13595
|
-
|
|
13596
|
-
|
|
13597
|
-
|
|
13598
|
-
|
|
13599
|
-
|
|
13600
|
-
.muka-combobox {
|
|
13601
|
-
display: inline-flex;
|
|
13602
|
-
flex-direction: column;
|
|
13603
|
-
gap: var(--spacing-2);
|
|
13604
|
-
min-width: 200px;
|
|
13607
|
+
.muka-chip--info {
|
|
13608
|
+
background-color: var(--color-state-info-background);
|
|
13609
|
+
color: var(--color-state-info-contrast);
|
|
13610
|
+
--_chip-tr-bg: var(--chip-trailing-info-background-default);
|
|
13611
|
+
--_chip-tr-bg-hover: var(--chip-trailing-info-background-hover);
|
|
13612
|
+
--_chip-tr-bg-pressed: var(--chip-trailing-info-background-pressed);
|
|
13613
|
+
--_chip-tr-fg: var(--chip-trailing-info-foreground-default);
|
|
13614
|
+
--_chip-tr-fg-hover: var(--chip-trailing-info-foreground-hover);
|
|
13615
|
+
--_chip-tr-fg-pressed: var(--chip-trailing-info-foreground-pressed);
|
|
13605
13616
|
}
|
|
13606
13617
|
|
|
13607
|
-
|
|
13608
|
-
|
|
13618
|
+
/* Ghost: no fill, subtle label; the trailing circle is outlined at rest (Figma Chip/Trailing Ghost) */
|
|
13619
|
+
.muka-chip--ghost {
|
|
13620
|
+
background-color: var(--chip-ghost-background-default);
|
|
13621
|
+
color: var(--chip-ghost-foreground-default);
|
|
13622
|
+
--_chip-tr-border: var(--chip-trailing-ghost-border-default);
|
|
13623
|
+
--_chip-tr-bg: var(--chip-trailing-ghost-background-default);
|
|
13624
|
+
--_chip-tr-bg-hover: var(--chip-trailing-ghost-background-hover);
|
|
13625
|
+
--_chip-tr-bg-pressed: var(--chip-trailing-ghost-background-pressed);
|
|
13626
|
+
--_chip-tr-fg: var(--chip-trailing-ghost-foreground-default);
|
|
13627
|
+
--_chip-tr-fg-hover: var(--chip-trailing-ghost-foreground-hover);
|
|
13628
|
+
--_chip-tr-fg-pressed: var(--chip-trailing-ghost-foreground-pressed);
|
|
13609
13629
|
}
|
|
13610
13630
|
|
|
13611
|
-
|
|
13612
|
-
|
|
13613
|
-
|
|
13631
|
+
/*
|
|
13632
|
+
* Body hover (Figma Chip State=Hover) — only on chips whose body does
|
|
13633
|
+
* something: the whole-chip button, or a label link/button (hovering just the
|
|
13634
|
+
* label, not the trailing button, which has its own states). A static chip
|
|
13635
|
+
* doesn't hover.
|
|
13636
|
+
*/
|
|
13637
|
+
.muka-chip--default.muka-chip--expandable:is(:hover, :focus-visible, [aria-expanded='true']):not(:disabled),
|
|
13638
|
+
.muka-chip--default.muka-chip--has-label-action:has(> .muka-chip__label-action:is(:hover, :focus-visible)) {
|
|
13639
|
+
background-color: var(--chip-neutral-background-hover);
|
|
13614
13640
|
}
|
|
13615
13641
|
|
|
13616
|
-
.muka-
|
|
13617
|
-
|
|
13618
|
-
|
|
13619
|
-
|
|
13620
|
-
line-height: var(--text-label-sm-semibold-lineHeight);
|
|
13642
|
+
.muka-chip--ghost.muka-chip--expandable:is(:hover, :focus-visible, [aria-expanded='true']):not(:disabled),
|
|
13643
|
+
.muka-chip--ghost.muka-chip--has-label-action:has(> .muka-chip__label-action:is(:hover, :focus-visible)) {
|
|
13644
|
+
background-color: var(--chip-ghost-background-hover);
|
|
13645
|
+
color: var(--chip-ghost-foreground-hover);
|
|
13621
13646
|
}
|
|
13622
13647
|
|
|
13623
|
-
|
|
13624
|
-
|
|
13625
|
-
|
|
13626
|
-
font-size: var(--text-label-md-semibold-fontSize);
|
|
13627
|
-
line-height: var(--text-label-md-semibold-lineHeight);
|
|
13648
|
+
/* Icons (leading + trailing) inherit their slot's foreground color */
|
|
13649
|
+
.muka-chip .muka-icon {
|
|
13650
|
+
color: inherit;
|
|
13628
13651
|
}
|
|
13629
13652
|
|
|
13630
|
-
.muka-combobox__label--lg {
|
|
13631
|
-
font-family: var(--text-label-lg-semibold-fontFamily);
|
|
13632
|
-
font-weight: var(--text-label-lg-semibold-fontWeight);
|
|
13633
|
-
font-size: var(--text-label-lg-semibold-fontSize);
|
|
13634
|
-
line-height: var(--text-label-lg-semibold-lineHeight);
|
|
13635
|
-
}
|
|
13636
13653
|
|
|
13637
|
-
|
|
13654
|
+
/* CheckboxTile */
|
|
13655
|
+
/* CheckboxTile Component Styles - Using Muka Design Tokens */
|
|
13656
|
+
|
|
13657
|
+
/* Base tile styles - horizontal */
|
|
13658
|
+
.muka-checkbox-tile {
|
|
13638
13659
|
display: flex;
|
|
13639
13660
|
align-items: center;
|
|
13640
|
-
|
|
13641
|
-
|
|
13642
|
-
isolation: isolate;
|
|
13643
|
-
box-sizing: border-box;
|
|
13644
|
-
background-color: var(--input-field-color-default-background);
|
|
13661
|
+
gap: var(--spacing-4);
|
|
13662
|
+
padding: var(--spacing-4);
|
|
13645
13663
|
border: var(--border-width-regular) solid var(--input-field-color-default-border);
|
|
13646
13664
|
border-radius: var(--input-field-radius-lg);
|
|
13647
|
-
|
|
13648
|
-
cursor:
|
|
13649
|
-
transition: border-color 0.
|
|
13650
|
-
|
|
13651
|
-
|
|
13652
|
-
.muka-combobox__field::after {
|
|
13653
|
-
content: '';
|
|
13654
|
-
position: absolute;
|
|
13655
|
-
inset: 0;
|
|
13656
|
-
border-radius: inherit;
|
|
13657
|
-
box-shadow: inset 0 1px 2px 0 rgba(26, 26, 26, 0.08);
|
|
13658
|
-
pointer-events: none;
|
|
13659
|
-
}
|
|
13660
|
-
|
|
13661
|
-
.muka-combobox__field--sm {
|
|
13662
|
-
min-height: var(--input-field-height-sm);
|
|
13663
|
-
border-radius: var(--input-field-radius-sm);
|
|
13665
|
+
background-color: var(--color-surface-level3);
|
|
13666
|
+
cursor: pointer;
|
|
13667
|
+
transition: border-color 0.15s ease, border-width 0.15s ease;
|
|
13668
|
+
overflow: hidden;
|
|
13669
|
+
box-sizing: border-box;
|
|
13664
13670
|
}
|
|
13665
13671
|
|
|
13666
|
-
.muka-
|
|
13667
|
-
|
|
13668
|
-
|
|
13672
|
+
.muka-checkbox-tile--disabled {
|
|
13673
|
+
cursor: not-allowed;
|
|
13674
|
+
opacity: 0.6;
|
|
13669
13675
|
}
|
|
13670
13676
|
|
|
13671
|
-
|
|
13672
|
-
|
|
13673
|
-
border-
|
|
13677
|
+
/* Selected state */
|
|
13678
|
+
.muka-checkbox-tile[data-checked] {
|
|
13679
|
+
border-width: var(--border-width-bold);
|
|
13680
|
+
border-color: var(--color-action-default);
|
|
13674
13681
|
}
|
|
13675
13682
|
|
|
13676
|
-
|
|
13677
|
-
|
|
13678
|
-
|
|
13679
|
-
|
|
13680
|
-
|
|
13683
|
+
/* Vertical layout */
|
|
13684
|
+
.muka-checkbox-tile--vertical {
|
|
13685
|
+
flex-direction: column;
|
|
13686
|
+
align-items: center;
|
|
13687
|
+
gap: var(--spacing-2);
|
|
13688
|
+
position: relative;
|
|
13689
|
+
width: 160px;
|
|
13681
13690
|
}
|
|
13682
13691
|
|
|
13683
|
-
|
|
13684
|
-
|
|
13692
|
+
/* Checkbox container */
|
|
13693
|
+
.muka-checkbox-tile__checkbox {
|
|
13694
|
+
flex-shrink: 0;
|
|
13685
13695
|
}
|
|
13686
13696
|
|
|
13687
|
-
|
|
13688
|
-
|
|
13689
|
-
|
|
13697
|
+
/* Corner-positioned checkbox for vertical */
|
|
13698
|
+
.muka-checkbox-tile__checkbox--corner {
|
|
13699
|
+
position: absolute;
|
|
13700
|
+
top: var(--spacing-4);
|
|
13701
|
+
left: var(--spacing-4);
|
|
13690
13702
|
}
|
|
13691
13703
|
|
|
13692
|
-
|
|
13693
|
-
|
|
13694
|
-
|
|
13704
|
+
/* Adjust corner position when selected (border is thicker) */
|
|
13705
|
+
.muka-checkbox-tile[data-checked] .muka-checkbox-tile__checkbox--corner {
|
|
13706
|
+
top: calc(var(--spacing-4) - 1px);
|
|
13707
|
+
left: calc(var(--spacing-4) - 1px);
|
|
13695
13708
|
}
|
|
13696
13709
|
|
|
13697
|
-
|
|
13710
|
+
/* Icon */
|
|
13711
|
+
.muka-checkbox-tile__icon {
|
|
13698
13712
|
display: flex;
|
|
13699
|
-
flex: 1 1 auto;
|
|
13700
|
-
flex-wrap: wrap;
|
|
13701
|
-
gap: var(--spacing-2);
|
|
13702
13713
|
align-items: center;
|
|
13703
|
-
|
|
13704
|
-
|
|
13705
|
-
|
|
13706
|
-
|
|
13714
|
+
justify-content: center;
|
|
13715
|
+
flex-shrink: 0;
|
|
13716
|
+
width: var(--icon-size-default);
|
|
13717
|
+
height: var(--icon-size-default);
|
|
13718
|
+
color: var(--color-text-default-default);
|
|
13707
13719
|
}
|
|
13708
13720
|
|
|
13709
|
-
.muka-
|
|
13710
|
-
|
|
13711
|
-
|
|
13712
|
-
min-height: 2rem;
|
|
13713
|
-
margin: 0;
|
|
13714
|
-
padding: 0 var(--spacing-1);
|
|
13715
|
-
border: none;
|
|
13716
|
-
outline: none;
|
|
13717
|
-
background: transparent;
|
|
13718
|
-
color: var(--input-field-color-default-foreground);
|
|
13719
|
-
caret-color: var(--input-field-color-default-foreground);
|
|
13720
|
-
font-family: var(--text-label-md-regular-fontFamily);
|
|
13721
|
-
font-size: var(--text-label-md-regular-fontSize);
|
|
13722
|
-
font-weight: var(--text-label-md-regular-fontWeight);
|
|
13723
|
-
line-height: var(--text-label-md-regular-lineHeight);
|
|
13721
|
+
.muka-checkbox-tile__icon svg {
|
|
13722
|
+
width: 100%;
|
|
13723
|
+
height: 100%;
|
|
13724
13724
|
}
|
|
13725
13725
|
|
|
13726
|
-
|
|
13727
|
-
|
|
13726
|
+
/* Image */
|
|
13727
|
+
.muka-checkbox-tile__image {
|
|
13728
|
+
flex-shrink: 0;
|
|
13729
|
+
overflow: hidden;
|
|
13730
|
+
border-radius: var(--border-radius-sm);
|
|
13728
13731
|
}
|
|
13729
13732
|
|
|
13730
|
-
.muka-
|
|
13731
|
-
|
|
13732
|
-
|
|
13733
|
-
|
|
13734
|
-
|
|
13735
|
-
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
13736
|
-
line-height: var(--text-label-sm-regular-lineHeight);
|
|
13733
|
+
.muka-checkbox-tile__image img {
|
|
13734
|
+
display: block;
|
|
13735
|
+
width: 100%;
|
|
13736
|
+
height: 100%;
|
|
13737
|
+
object-fit: cover;
|
|
13737
13738
|
}
|
|
13738
13739
|
|
|
13739
|
-
|
|
13740
|
-
|
|
13741
|
-
|
|
13742
|
-
|
|
13743
|
-
font-size: var(--text-label-sm-regular-fontSize);
|
|
13744
|
-
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
13745
|
-
line-height: var(--text-label-sm-regular-lineHeight);
|
|
13740
|
+
/* Horizontal image sizing */
|
|
13741
|
+
.muka-checkbox-tile__image--horizontal {
|
|
13742
|
+
width: 40px;
|
|
13743
|
+
height: 40px;
|
|
13746
13744
|
}
|
|
13747
13745
|
|
|
13748
|
-
|
|
13749
|
-
|
|
13750
|
-
inset: 0;
|
|
13751
|
-
z-index: 0;
|
|
13746
|
+
/* Vertical image sizing */
|
|
13747
|
+
.muka-checkbox-tile--vertical .muka-checkbox-tile__image {
|
|
13752
13748
|
width: 100%;
|
|
13753
|
-
|
|
13754
|
-
margin: 0;
|
|
13755
|
-
padding: 0;
|
|
13756
|
-
border: none;
|
|
13757
|
-
background: transparent;
|
|
13758
|
-
pointer-events: none;
|
|
13759
|
-
opacity: 0;
|
|
13749
|
+
aspect-ratio: 4/3;
|
|
13760
13750
|
}
|
|
13761
13751
|
|
|
13762
|
-
|
|
13763
|
-
|
|
13764
|
-
|
|
13765
|
-
|
|
13766
|
-
|
|
13752
|
+
/* Content container */
|
|
13753
|
+
.muka-checkbox-tile__content {
|
|
13754
|
+
display: flex;
|
|
13755
|
+
flex-direction: column;
|
|
13756
|
+
flex: 1;
|
|
13757
|
+
min-width: 0;
|
|
13758
|
+
gap: var(--spacing-2);
|
|
13767
13759
|
}
|
|
13768
13760
|
|
|
13769
|
-
|
|
13770
|
-
/* ChipSelectGroup */
|
|
13771
|
-
/* ChipSelectGroup — wrapping row of selectable chips (experimental) */
|
|
13772
|
-
.muka-chip-select-group {
|
|
13761
|
+
.muka-checkbox-tile__content-inner {
|
|
13773
13762
|
display: flex;
|
|
13774
|
-
flex-
|
|
13775
|
-
gap: var(--spacing-
|
|
13763
|
+
flex-direction: column;
|
|
13764
|
+
gap: var(--spacing-1);
|
|
13776
13765
|
}
|
|
13777
13766
|
|
|
13767
|
+
/* Chip slot (replaces badge; use Chip component) */
|
|
13768
|
+
.muka-checkbox-tile__chip {
|
|
13769
|
+
flex-shrink: 0;
|
|
13770
|
+
}
|
|
13778
13771
|
|
|
13779
|
-
|
|
13780
|
-
|
|
13772
|
+
.muka-checkbox-tile__chip--vertical {
|
|
13773
|
+
margin-top: var(--spacing-1);
|
|
13774
|
+
}
|
|
13781
13775
|
|
|
13782
|
-
/*
|
|
13783
|
-
|
|
13784
|
-
|
|
13785
|
-
|
|
13786
|
-
|
|
13787
|
-
|
|
13788
|
-
|
|
13789
|
-
align-items: center;
|
|
13790
|
-
gap: var(--_chip-gap);
|
|
13791
|
-
padding: 0 var(--_chip-pad-end) 0 var(--_chip-pad-start);
|
|
13792
|
-
border-radius: var(--border-radius-full);
|
|
13793
|
-
white-space: nowrap;
|
|
13794
|
-
user-select: none;
|
|
13795
|
-
border: var(--border-width-regular) solid transparent;
|
|
13796
|
-
box-sizing: border-box;
|
|
13797
|
-
flex-shrink: 0;
|
|
13776
|
+
/* Label */
|
|
13777
|
+
.muka-checkbox-tile__label {
|
|
13778
|
+
font-family: var(--text-body-lg-regular-fontFamily);
|
|
13779
|
+
font-weight: var(--text-body-lg-regular-fontWeight);
|
|
13780
|
+
font-size: var(--text-body-lg-regular-fontSize);
|
|
13781
|
+
line-height: var(--text-body-lg-regular-lineHeight);
|
|
13782
|
+
color: var(--color-text-default-default);
|
|
13798
13783
|
}
|
|
13799
13784
|
|
|
13800
|
-
|
|
13801
|
-
|
|
13802
|
-
|
|
13803
|
-
|
|
13804
|
-
|
|
13805
|
-
*/
|
|
13806
|
-
.muka-chip--sm {
|
|
13807
|
-
height: var(--chip-size-height-sm);
|
|
13808
|
-
--_chip-gap: var(--chip-gap-sm);
|
|
13809
|
-
--_chip-pad-start: var(--chip-padding-label-sm);
|
|
13810
|
-
--_chip-pad-end: var(--chip-padding-label-sm);
|
|
13811
|
-
font-family: var(--text-label-sm-regular-fontFamily);
|
|
13812
|
-
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
13813
|
-
font-size: var(--text-label-sm-regular-fontSize);
|
|
13814
|
-
line-height: var(--text-label-sm-regular-lineHeight);
|
|
13785
|
+
.muka-checkbox-tile__label--bold {
|
|
13786
|
+
font-family: var(--text-label-lg-semibold-fontFamily);
|
|
13787
|
+
font-weight: var(--text-label-lg-semibold-fontWeight);
|
|
13788
|
+
font-size: var(--text-label-lg-semibold-fontSize);
|
|
13789
|
+
line-height: var(--text-label-lg-semibold-lineHeight);
|
|
13815
13790
|
}
|
|
13816
13791
|
|
|
13817
|
-
.muka-
|
|
13818
|
-
|
|
13819
|
-
--_chip-gap: var(--chip-gap-md);
|
|
13820
|
-
--_chip-pad-start: var(--chip-padding-label-md);
|
|
13821
|
-
--_chip-pad-end: var(--chip-padding-label-md);
|
|
13822
|
-
font-family: var(--text-label-md-regular-fontFamily);
|
|
13823
|
-
font-weight: var(--text-label-md-regular-fontWeight);
|
|
13824
|
-
font-size: var(--text-label-md-regular-fontSize);
|
|
13825
|
-
line-height: var(--text-label-md-regular-lineHeight);
|
|
13792
|
+
.muka-checkbox-tile__label--center {
|
|
13793
|
+
text-align: center;
|
|
13826
13794
|
}
|
|
13827
13795
|
|
|
13828
|
-
|
|
13829
|
-
|
|
13830
|
-
|
|
13831
|
-
|
|
13832
|
-
|
|
13833
|
-
|
|
13834
|
-
|
|
13835
|
-
font-size: var(--text-label-lg-regular-fontSize);
|
|
13836
|
-
line-height: var(--text-label-lg-regular-lineHeight);
|
|
13796
|
+
/* Caption */
|
|
13797
|
+
.muka-checkbox-tile__caption {
|
|
13798
|
+
font-family: var(--text-body-base-regular-fontFamily);
|
|
13799
|
+
font-weight: var(--text-body-base-regular-fontWeight);
|
|
13800
|
+
font-size: var(--text-body-base-regular-fontSize);
|
|
13801
|
+
line-height: var(--text-body-base-regular-lineHeight);
|
|
13802
|
+
color: var(--color-text-subtle-default);
|
|
13837
13803
|
}
|
|
13838
13804
|
|
|
13839
|
-
|
|
13840
|
-
|
|
13841
|
-
|
|
13842
|
-
|
|
13843
|
-
.muka-chip--md.muka-chip--has-icon {
|
|
13844
|
-
--_chip-pad-start: var(--chip-padding-leading-md);
|
|
13845
|
-
--_chip-pad-end: var(--chip-padding-labelEnd-md);
|
|
13846
|
-
}
|
|
13847
|
-
.muka-chip--lg.muka-chip--has-icon {
|
|
13848
|
-
--_chip-pad-start: var(--chip-padding-leading-lg);
|
|
13849
|
-
--_chip-pad-end: var(--chip-padding-labelEnd-lg);
|
|
13805
|
+
/* Disabled states */
|
|
13806
|
+
.muka-checkbox-tile--disabled .muka-checkbox-tile__label,
|
|
13807
|
+
.muka-checkbox-tile--disabled .muka-checkbox-tile__icon {
|
|
13808
|
+
color: var(--color-text-subtle-default);
|
|
13850
13809
|
}
|
|
13851
13810
|
|
|
13852
|
-
|
|
13853
|
-
|
|
13854
|
-
|
|
13855
|
-
|
|
13856
|
-
|
|
13811
|
+
|
|
13812
|
+
/* DataTable */
|
|
13813
|
+
/* DataTable Component Styles - Using Muka Design Tokens */
|
|
13814
|
+
|
|
13815
|
+
.muka-data-table-wrapper {
|
|
13816
|
+
width: 100%;
|
|
13817
|
+
overflow-x: auto;
|
|
13818
|
+
-webkit-overflow-scrolling: touch;
|
|
13857
13819
|
}
|
|
13858
|
-
|
|
13859
|
-
|
|
13820
|
+
|
|
13821
|
+
.muka-data-table {
|
|
13822
|
+
/* Density-driven cell padding (overridden per size below). */
|
|
13823
|
+
--dt-pad-x: var(--datatable-cell-padding-x-md);
|
|
13824
|
+
--dt-pad-y: var(--datatable-cell-padding-y-md);
|
|
13825
|
+
|
|
13826
|
+
width: 100%;
|
|
13827
|
+
border-collapse: collapse;
|
|
13828
|
+
border-spacing: 0;
|
|
13829
|
+
/* auto layout so per-column min/max widths are honored and unsized columns flex */
|
|
13830
|
+
table-layout: auto;
|
|
13831
|
+
background-color: var(--datatable-row-background);
|
|
13832
|
+
color: var(--datatable-row-foreground);
|
|
13860
13833
|
}
|
|
13861
13834
|
|
|
13862
|
-
|
|
13863
|
-
|
|
13864
|
-
|
|
13865
|
-
align-items: center;
|
|
13866
|
-
justify-content: center;
|
|
13867
|
-
flex-shrink: 0;
|
|
13835
|
+
.muka-data-table--size-sm {
|
|
13836
|
+
--dt-pad-x: var(--datatable-cell-padding-x-sm);
|
|
13837
|
+
--dt-pad-y: var(--datatable-cell-padding-y-sm);
|
|
13868
13838
|
}
|
|
13869
13839
|
|
|
13870
|
-
.muka-
|
|
13871
|
-
|
|
13872
|
-
|
|
13840
|
+
.muka-data-table--size-lg {
|
|
13841
|
+
--dt-pad-x: var(--datatable-cell-padding-x-lg);
|
|
13842
|
+
--dt-pad-y: var(--datatable-cell-padding-y-lg);
|
|
13873
13843
|
}
|
|
13874
|
-
|
|
13875
|
-
|
|
13876
|
-
|
|
13844
|
+
|
|
13845
|
+
.muka-data-table__caption {
|
|
13846
|
+
padding: var(--dt-pad-y) var(--dt-pad-x);
|
|
13847
|
+
font-family: var(--text-body-base-bold-fontFamily);
|
|
13848
|
+
font-weight: var(--text-body-base-bold-fontWeight);
|
|
13849
|
+
font-size: var(--text-body-base-bold-fontSize);
|
|
13850
|
+
line-height: var(--text-body-base-bold-lineHeight);
|
|
13851
|
+
text-align: left;
|
|
13852
|
+
caption-side: top;
|
|
13877
13853
|
}
|
|
13878
|
-
|
|
13879
|
-
|
|
13880
|
-
|
|
13854
|
+
|
|
13855
|
+
/* ========================================
|
|
13856
|
+
HEADER
|
|
13857
|
+
======================================== */
|
|
13858
|
+
|
|
13859
|
+
.muka-data-table__head {
|
|
13860
|
+
border-bottom: var(--border-width-regular, 1px) solid var(--datatable-header-border);
|
|
13881
13861
|
}
|
|
13882
13862
|
|
|
13883
|
-
|
|
13884
|
-
|
|
13885
|
-
|
|
13886
|
-
|
|
13887
|
-
|
|
13888
|
-
|
|
13889
|
-
height:
|
|
13863
|
+
.muka-data-table__th {
|
|
13864
|
+
background-color: var(--datatable-header-background);
|
|
13865
|
+
padding: var(--datatable-cell-padding-y-sm) var(--dt-pad-x);
|
|
13866
|
+
font-family: var(--text-body-base-bold-fontFamily);
|
|
13867
|
+
font-weight: var(--text-body-base-bold-fontWeight);
|
|
13868
|
+
font-size: var(--text-body-base-bold-fontSize);
|
|
13869
|
+
line-height: var(--text-body-base-bold-lineHeight);
|
|
13870
|
+
color: var(--datatable-header-foreground);
|
|
13871
|
+
vertical-align: middle;
|
|
13872
|
+
text-align: left;
|
|
13890
13873
|
}
|
|
13891
13874
|
|
|
13892
|
-
.muka-
|
|
13893
|
-
|
|
13894
|
-
|
|
13895
|
-
|
|
13896
|
-
* label gets a roomier one so descenders (g, y, p) aren't clipped when it
|
|
13897
|
-
* truncates. Vertical centering is unaffected: the chip height is fixed and
|
|
13898
|
-
* content is centered via align-items: center.
|
|
13899
|
-
*/
|
|
13900
|
-
line-height: normal;
|
|
13875
|
+
.muka-data-table__th-label {
|
|
13876
|
+
display: flex;
|
|
13877
|
+
align-items: center;
|
|
13878
|
+
min-height: var(--datatable-cell-min-height); /* 32px slot — matches Figma header cell height */
|
|
13901
13879
|
}
|
|
13902
13880
|
|
|
13903
|
-
/*
|
|
13904
|
-
|
|
13905
|
-
|
|
13906
|
-
|
|
13907
|
-
.muka-
|
|
13908
|
-
|
|
13909
|
-
|
|
13910
|
-
max-width: 100%;
|
|
13881
|
+
/* ========================================
|
|
13882
|
+
BODY
|
|
13883
|
+
======================================== */
|
|
13884
|
+
|
|
13885
|
+
.muka-data-table__row {
|
|
13886
|
+
border-bottom: var(--border-width-regular, 1px) solid var(--datatable-row-border);
|
|
13887
|
+
transition: background-color 0.15s ease;
|
|
13911
13888
|
}
|
|
13912
13889
|
|
|
13913
|
-
|
|
13914
|
-
|
|
13915
|
-
|
|
13916
|
-
overflow: hidden;
|
|
13917
|
-
text-overflow: ellipsis;
|
|
13890
|
+
/* Last body row: no bottom border (matches Table; avoids a double line at the table edge). */
|
|
13891
|
+
.muka-data-table__body .muka-data-table__row:last-child {
|
|
13892
|
+
border-bottom: none;
|
|
13918
13893
|
}
|
|
13919
13894
|
|
|
13920
|
-
|
|
13921
|
-
|
|
13922
|
-
* chip's start padding (and end padding when there is no trailing button), so
|
|
13923
|
-
* the whole body up to the trailing button is its hit area.
|
|
13924
|
-
*/
|
|
13925
|
-
.muka-chip__label-action,
|
|
13926
|
-
.muka-chip__label-group {
|
|
13927
|
-
display: inline-flex;
|
|
13928
|
-
align-items: center;
|
|
13929
|
-
gap: var(--_chip-gap);
|
|
13895
|
+
.muka-data-table__row:not(.muka-data-table__row--empty):not(.muka-data-table__row--selected):hover {
|
|
13896
|
+
background-color: var(--datatable-row-hover-background);
|
|
13930
13897
|
}
|
|
13931
13898
|
|
|
13932
|
-
.
|
|
13933
|
-
.muka-
|
|
13934
|
-
|
|
13899
|
+
/* Selected rows keep their tint, including on hover. */
|
|
13900
|
+
.muka-data-table__row--selected,
|
|
13901
|
+
.muka-data-table__row--selected:hover {
|
|
13902
|
+
background-color: var(--datatable-row-selected-background);
|
|
13935
13903
|
}
|
|
13936
13904
|
|
|
13937
|
-
.muka-
|
|
13938
|
-
|
|
13939
|
-
|
|
13940
|
-
|
|
13941
|
-
|
|
13942
|
-
|
|
13943
|
-
|
|
13944
|
-
|
|
13945
|
-
color: inherit;
|
|
13946
|
-
font: inherit;
|
|
13947
|
-
text-decoration: none;
|
|
13948
|
-
text-align: inherit;
|
|
13949
|
-
cursor: pointer;
|
|
13905
|
+
.muka-data-table__td {
|
|
13906
|
+
padding: var(--dt-pad-y) var(--dt-pad-x);
|
|
13907
|
+
font-family: var(--text-body-base-regular-fontFamily);
|
|
13908
|
+
font-weight: var(--text-body-base-regular-fontWeight);
|
|
13909
|
+
font-size: var(--text-body-base-regular-fontSize);
|
|
13910
|
+
line-height: var(--text-body-base-regular-lineHeight);
|
|
13911
|
+
color: var(--datatable-row-foreground);
|
|
13912
|
+
vertical-align: middle;
|
|
13950
13913
|
}
|
|
13951
13914
|
|
|
13952
|
-
.muka-
|
|
13953
|
-
|
|
13954
|
-
|
|
13915
|
+
.muka-data-table__cell-content {
|
|
13916
|
+
display: flex;
|
|
13917
|
+
align-items: center;
|
|
13918
|
+
min-height: var(--datatable-cell-min-height); /* 32px slot — matches Figma body cell height */
|
|
13919
|
+
word-break: break-word;
|
|
13955
13920
|
}
|
|
13956
13921
|
|
|
13957
|
-
.muka-
|
|
13958
|
-
|
|
13959
|
-
|
|
13922
|
+
.muka-data-table__row--empty .muka-data-table__cell-content {
|
|
13923
|
+
justify-content: center;
|
|
13924
|
+
color: var(--color-text-subtle-default);
|
|
13960
13925
|
}
|
|
13961
13926
|
|
|
13962
|
-
/*
|
|
13963
|
-
|
|
13964
|
-
|
|
13965
|
-
|
|
13966
|
-
|
|
13967
|
-
|
|
13968
|
-
|
|
13969
|
-
|
|
13970
|
-
|
|
13971
|
-
|
|
13972
|
-
|
|
13973
|
-
|
|
13974
|
-
|
|
13975
|
-
|
|
13976
|
-
|
|
13977
|
-
|
|
13927
|
+
/* ========================================
|
|
13928
|
+
BADGES — always the small (sm) scale
|
|
13929
|
+
======================================== */
|
|
13930
|
+
|
|
13931
|
+
/* Any Badge inside a DataTable renders at the small scale regardless of the
|
|
13932
|
+
`size` prop passed to it — status pills stay compact and consistent across
|
|
13933
|
+
every table density. Enforced here so callers can't accidentally scale them
|
|
13934
|
+
up. Overrides the `.muka-badge--md`/`--lg` size rules by carrying a higher
|
|
13935
|
+
specificity (2–3 classes vs. 1–2), independent of stylesheet import order. */
|
|
13936
|
+
.muka-data-table .muka-badge {
|
|
13937
|
+
height: var(--badge-size-height-sm);
|
|
13938
|
+
gap: var(--badge-gap-sm);
|
|
13939
|
+
padding: 0 var(--badge-padding-label-sm);
|
|
13940
|
+
font-family: var(--text-label-sm-regular-fontFamily);
|
|
13941
|
+
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
13942
|
+
font-size: var(--text-label-sm-regular-fontSize);
|
|
13943
|
+
line-height: var(--text-label-sm-regular-lineHeight);
|
|
13978
13944
|
}
|
|
13979
13945
|
|
|
13980
|
-
|
|
13981
|
-
|
|
13982
|
-
|
|
13946
|
+
/* Match the sm leading padding when a leading icon or dot is present. */
|
|
13947
|
+
.muka-data-table .muka-badge.muka-badge--has-icon,
|
|
13948
|
+
.muka-data-table .muka-badge.muka-badge--has-dot {
|
|
13949
|
+
padding-left: var(--badge-padding-leading-sm);
|
|
13983
13950
|
}
|
|
13984
|
-
|
|
13985
|
-
|
|
13986
|
-
|
|
13951
|
+
|
|
13952
|
+
/* Icon and dot slots follow the sm scale too. */
|
|
13953
|
+
.muka-data-table .muka-badge .muka-badge__icon {
|
|
13954
|
+
width: var(--icon-size-xs);
|
|
13955
|
+
height: var(--icon-size-xs);
|
|
13987
13956
|
}
|
|
13988
|
-
|
|
13989
|
-
|
|
13990
|
-
|
|
13957
|
+
|
|
13958
|
+
.muka-data-table .muka-badge .muka-badge__dot {
|
|
13959
|
+
width: var(--badge-size-dot-sm);
|
|
13960
|
+
height: var(--badge-size-dot-sm);
|
|
13991
13961
|
}
|
|
13992
13962
|
|
|
13993
|
-
/*
|
|
13994
|
-
|
|
13995
|
-
|
|
13996
|
-
|
|
13997
|
-
|
|
13998
|
-
|
|
13999
|
-
|
|
14000
|
-
height: max(100%, var(--chip-size-height-sm));
|
|
14001
|
-
transform: translate(-50%, -50%);
|
|
13963
|
+
/* ========================================
|
|
13964
|
+
ALIGNMENT
|
|
13965
|
+
======================================== */
|
|
13966
|
+
|
|
13967
|
+
.muka-data-table__th--center,
|
|
13968
|
+
.muka-data-table__td--center {
|
|
13969
|
+
text-align: center;
|
|
14002
13970
|
}
|
|
14003
13971
|
|
|
14004
|
-
|
|
14005
|
-
|
|
14006
|
-
|
|
13972
|
+
.muka-data-table__th--center .muka-data-table__th-label,
|
|
13973
|
+
.muka-data-table__th--center .muka-data-table__sort-button,
|
|
13974
|
+
.muka-data-table__td--center .muka-data-table__cell-content {
|
|
13975
|
+
justify-content: center;
|
|
14007
13976
|
}
|
|
14008
13977
|
|
|
14009
|
-
|
|
14010
|
-
|
|
14011
|
-
|
|
13978
|
+
.muka-data-table__th--right,
|
|
13979
|
+
.muka-data-table__td--right {
|
|
13980
|
+
text-align: right;
|
|
14012
13981
|
}
|
|
14013
13982
|
|
|
14014
|
-
|
|
14015
|
-
|
|
14016
|
-
.muka-
|
|
14017
|
-
|
|
14018
|
-
background-color: var(--_chip-tr-bg-hover);
|
|
14019
|
-
color: var(--_chip-tr-fg-hover);
|
|
13983
|
+
.muka-data-table__th--right .muka-data-table__th-label,
|
|
13984
|
+
.muka-data-table__th--right .muka-data-table__sort-button,
|
|
13985
|
+
.muka-data-table__td--right .muka-data-table__cell-content {
|
|
13986
|
+
justify-content: flex-end;
|
|
14020
13987
|
}
|
|
14021
13988
|
|
|
14022
|
-
|
|
14023
|
-
|
|
14024
|
-
|
|
14025
|
-
|
|
14026
|
-
|
|
14027
|
-
|
|
14028
|
-
|
|
13989
|
+
/* ========================================
|
|
13990
|
+
COLUMN DIVIDERS (vertical)
|
|
13991
|
+
======================================== */
|
|
13992
|
+
|
|
13993
|
+
.muka-data-table--column-dividers .muka-data-table__th:not(:last-child),
|
|
13994
|
+
.muka-data-table--column-dividers .muka-data-table__td:not(:last-child) {
|
|
13995
|
+
border-right: var(--border-width-regular, 1px) solid var(--datatable-divider-color);
|
|
14029
13996
|
}
|
|
14030
13997
|
|
|
14031
|
-
/*
|
|
14032
|
-
|
|
14033
|
-
|
|
14034
|
-
|
|
14035
|
-
|
|
14036
|
-
|
|
13998
|
+
/* ========================================
|
|
13999
|
+
SORTING
|
|
14000
|
+
======================================== */
|
|
14001
|
+
|
|
14002
|
+
.muka-data-table__sort-button {
|
|
14003
|
+
display: flex;
|
|
14004
|
+
align-items: center;
|
|
14005
|
+
gap: var(--spacing-1);
|
|
14006
|
+
width: 100%;
|
|
14007
|
+
min-height: var(--datatable-cell-min-height);
|
|
14008
|
+
padding: 0;
|
|
14037
14009
|
margin: 0;
|
|
14010
|
+
border: 0;
|
|
14011
|
+
background: none;
|
|
14012
|
+
font: inherit;
|
|
14013
|
+
color: inherit;
|
|
14038
14014
|
text-align: inherit;
|
|
14039
14015
|
cursor: pointer;
|
|
14016
|
+
user-select: none;
|
|
14017
|
+
border-radius: var(--border-radius-md, 8px);
|
|
14040
14018
|
}
|
|
14041
14019
|
|
|
14042
|
-
.muka-
|
|
14043
|
-
outline: 2px solid var(--
|
|
14020
|
+
.muka-data-table__sort-button:focus-visible {
|
|
14021
|
+
outline: 2px solid var(--datatable-focus-ring);
|
|
14044
14022
|
outline-offset: 2px;
|
|
14045
14023
|
}
|
|
14046
14024
|
|
|
14047
|
-
.
|
|
14048
|
-
|
|
14025
|
+
/* The chevron only renders on the active sort column, so it's always full-strength. */
|
|
14026
|
+
.muka-data-table__sort-icon {
|
|
14027
|
+
display: inline-flex;
|
|
14028
|
+
flex-shrink: 0;
|
|
14049
14029
|
}
|
|
14050
14030
|
|
|
14051
|
-
|
|
14052
|
-
|
|
14031
|
+
/* ========================================
|
|
14032
|
+
INTERACTIVE ROWS (clickable / link)
|
|
14033
|
+
======================================== */
|
|
14034
|
+
|
|
14035
|
+
.muka-data-table__row--interactive {
|
|
14036
|
+
cursor: pointer;
|
|
14037
|
+
/* anchor for the stretched link overlay */
|
|
14038
|
+
position: relative;
|
|
14053
14039
|
}
|
|
14054
14040
|
|
|
14055
|
-
|
|
14056
|
-
|
|
14057
|
-
|
|
14058
|
-
color: var(--color-text-default-default);
|
|
14059
|
-
--_chip-tr-bg: var(--chip-trailing-default-background-default);
|
|
14060
|
-
--_chip-tr-bg-hover: var(--chip-trailing-default-background-hover);
|
|
14061
|
-
--_chip-tr-bg-pressed: var(--chip-trailing-default-background-pressed);
|
|
14062
|
-
--_chip-tr-fg: var(--chip-trailing-default-foreground-default);
|
|
14063
|
-
--_chip-tr-fg-hover: var(--chip-trailing-default-foreground-hover);
|
|
14064
|
-
--_chip-tr-fg-pressed: var(--chip-trailing-default-foreground-pressed);
|
|
14041
|
+
.muka-data-table__row--interactive:focus-visible {
|
|
14042
|
+
outline: 2px solid var(--datatable-focus-ring);
|
|
14043
|
+
outline-offset: -2px;
|
|
14065
14044
|
}
|
|
14066
14045
|
|
|
14067
|
-
.muka-
|
|
14068
|
-
background-color: var(--
|
|
14069
|
-
color: var(--color-state-success-contrast);
|
|
14070
|
-
--_chip-tr-bg: var(--chip-trailing-success-background-default);
|
|
14071
|
-
--_chip-tr-bg-hover: var(--chip-trailing-success-background-hover);
|
|
14072
|
-
--_chip-tr-bg-pressed: var(--chip-trailing-success-background-pressed);
|
|
14073
|
-
--_chip-tr-fg: var(--chip-trailing-success-foreground-default);
|
|
14074
|
-
--_chip-tr-fg-hover: var(--chip-trailing-success-foreground-hover);
|
|
14075
|
-
--_chip-tr-fg-pressed: var(--chip-trailing-success-foreground-pressed);
|
|
14046
|
+
.muka-data-table__row--interactive:active {
|
|
14047
|
+
background-color: var(--datatable-row-pressed-background);
|
|
14076
14048
|
}
|
|
14077
14049
|
|
|
14078
|
-
|
|
14079
|
-
|
|
14080
|
-
color:
|
|
14081
|
-
|
|
14082
|
-
--_chip-tr-bg-hover: var(--chip-trailing-warning-background-hover);
|
|
14083
|
-
--_chip-tr-bg-pressed: var(--chip-trailing-warning-background-pressed);
|
|
14084
|
-
--_chip-tr-fg: var(--chip-trailing-warning-foreground-default);
|
|
14085
|
-
--_chip-tr-fg-hover: var(--chip-trailing-warning-foreground-hover);
|
|
14086
|
-
--_chip-tr-fg-pressed: var(--chip-trailing-warning-foreground-pressed);
|
|
14050
|
+
/* Link rows: the first-cell anchor stretches to cover the whole row. */
|
|
14051
|
+
.muka-data-table__row-link {
|
|
14052
|
+
color: inherit;
|
|
14053
|
+
text-decoration: none;
|
|
14087
14054
|
}
|
|
14088
14055
|
|
|
14089
|
-
.muka-
|
|
14090
|
-
|
|
14091
|
-
|
|
14092
|
-
|
|
14093
|
-
|
|
14094
|
-
--_chip-tr-bg-pressed: var(--chip-trailing-error-background-pressed);
|
|
14095
|
-
--_chip-tr-fg: var(--chip-trailing-error-foreground-default);
|
|
14096
|
-
--_chip-tr-fg-hover: var(--chip-trailing-error-foreground-hover);
|
|
14097
|
-
--_chip-tr-fg-pressed: var(--chip-trailing-error-foreground-pressed);
|
|
14056
|
+
.muka-data-table__row-link::after {
|
|
14057
|
+
content: '';
|
|
14058
|
+
position: absolute;
|
|
14059
|
+
inset: 0;
|
|
14060
|
+
z-index: 0;
|
|
14098
14061
|
}
|
|
14099
14062
|
|
|
14100
|
-
.muka-
|
|
14101
|
-
background-color: var(--
|
|
14102
|
-
color: var(--color-state-info-contrast);
|
|
14103
|
-
--_chip-tr-bg: var(--chip-trailing-info-background-default);
|
|
14104
|
-
--_chip-tr-bg-hover: var(--chip-trailing-info-background-hover);
|
|
14105
|
-
--_chip-tr-bg-pressed: var(--chip-trailing-info-background-pressed);
|
|
14106
|
-
--_chip-tr-fg: var(--chip-trailing-info-foreground-default);
|
|
14107
|
-
--_chip-tr-fg-hover: var(--chip-trailing-info-foreground-hover);
|
|
14108
|
-
--_chip-tr-fg-pressed: var(--chip-trailing-info-foreground-pressed);
|
|
14063
|
+
.muka-data-table__row--link:hover {
|
|
14064
|
+
background-color: var(--datatable-row-hover-background);
|
|
14109
14065
|
}
|
|
14110
14066
|
|
|
14111
|
-
|
|
14112
|
-
|
|
14113
|
-
|
|
14114
|
-
color: var(--chip-ghost-foreground-default);
|
|
14115
|
-
--_chip-tr-border: var(--chip-trailing-ghost-border-default);
|
|
14116
|
-
--_chip-tr-bg: var(--chip-trailing-ghost-background-default);
|
|
14117
|
-
--_chip-tr-bg-hover: var(--chip-trailing-ghost-background-hover);
|
|
14118
|
-
--_chip-tr-bg-pressed: var(--chip-trailing-ghost-background-pressed);
|
|
14119
|
-
--_chip-tr-fg: var(--chip-trailing-ghost-foreground-default);
|
|
14120
|
-
--_chip-tr-fg-hover: var(--chip-trailing-ghost-foreground-hover);
|
|
14121
|
-
--_chip-tr-fg-pressed: var(--chip-trailing-ghost-foreground-pressed);
|
|
14067
|
+
.muka-data-table__row--link .muka-data-table__row-link:focus-visible {
|
|
14068
|
+
outline: 2px solid var(--datatable-focus-ring);
|
|
14069
|
+
outline-offset: -2px;
|
|
14122
14070
|
}
|
|
14123
14071
|
|
|
14124
|
-
/*
|
|
14125
|
-
|
|
14126
|
-
|
|
14127
|
-
|
|
14128
|
-
* doesn't hover.
|
|
14129
|
-
*/
|
|
14130
|
-
.muka-chip--default.muka-chip--expandable:is(:hover, :focus-visible, [aria-expanded='true']):not(:disabled),
|
|
14131
|
-
.muka-chip--default.muka-chip--has-label-action:has(> .muka-chip__label-action:is(:hover, :focus-visible)) {
|
|
14132
|
-
background-color: var(--chip-neutral-background-hover);
|
|
14072
|
+
/* Disabled rows */
|
|
14073
|
+
.muka-data-table__row--disabled {
|
|
14074
|
+
cursor: default;
|
|
14075
|
+
color: var(--color-text-muted-default);
|
|
14133
14076
|
}
|
|
14134
14077
|
|
|
14135
|
-
.muka-
|
|
14136
|
-
|
|
14137
|
-
|
|
14138
|
-
|
|
14139
|
-
|
|
14078
|
+
.muka-data-table__row--disabled .muka-data-table__td {
|
|
14079
|
+
color: var(--color-text-muted-default);
|
|
14080
|
+
}
|
|
14081
|
+
|
|
14082
|
+
/* ========================================
|
|
14083
|
+
TRAILING ACTION COLUMN
|
|
14084
|
+
======================================== */
|
|
14085
|
+
|
|
14086
|
+
/* Hug: the trailing action column shrinks to its content, so a text-label
|
|
14087
|
+
button ("View") gets exactly the width it needs and an icon-only button
|
|
14088
|
+
stays tight. `width: 1%` + `nowrap` is the classic auto-table hug. */
|
|
14089
|
+
.muka-data-table__col--action {
|
|
14090
|
+
width: 0;
|
|
14091
|
+
}
|
|
14092
|
+
|
|
14093
|
+
.muka-data-table__th--action,
|
|
14094
|
+
.muka-data-table__td--action {
|
|
14095
|
+
width: 1%;
|
|
14096
|
+
white-space: nowrap;
|
|
14097
|
+
padding-left: var(--spacing-2);
|
|
14098
|
+
padding-right: var(--spacing-2);
|
|
14099
|
+
text-align: right;
|
|
14100
|
+
/* Sit above the row link overlay so the action stays independently clickable. */
|
|
14101
|
+
position: relative;
|
|
14102
|
+
z-index: 1;
|
|
14103
|
+
}
|
|
14104
|
+
|
|
14105
|
+
.muka-data-table__action-content {
|
|
14106
|
+
justify-content: flex-end;
|
|
14107
|
+
}
|
|
14108
|
+
|
|
14109
|
+
/* Visually-hidden-friendly empty header slot keeps the row height consistent. */
|
|
14110
|
+
.muka-data-table__action-header:empty {
|
|
14111
|
+
min-height: var(--datatable-cell-min-height);
|
|
14112
|
+
}
|
|
14113
|
+
|
|
14114
|
+
/* ========================================
|
|
14115
|
+
SELECTION — leading checkbox column
|
|
14116
|
+
======================================== */
|
|
14117
|
+
|
|
14118
|
+
.muka-data-table__col--select {
|
|
14119
|
+
width: var(--datatable-selection-column-width);
|
|
14120
|
+
}
|
|
14121
|
+
|
|
14122
|
+
.muka-data-table__th--select,
|
|
14123
|
+
.muka-data-table__td--select {
|
|
14124
|
+
width: var(--datatable-selection-column-width);
|
|
14125
|
+
padding-left: var(--spacing-4);
|
|
14126
|
+
padding-right: var(--spacing-2);
|
|
14127
|
+
/* Sit above the row link overlay so the checkbox stays independently clickable. */
|
|
14128
|
+
position: relative;
|
|
14129
|
+
z-index: 1;
|
|
14130
|
+
}
|
|
14131
|
+
|
|
14132
|
+
.muka-data-table__select-control {
|
|
14133
|
+
display: inline-flex;
|
|
14134
|
+
align-items: center;
|
|
14135
|
+
}
|
|
14136
|
+
|
|
14137
|
+
/* ========================================
|
|
14138
|
+
RESPONSIVE — two-column mobile layout
|
|
14139
|
+
======================================== */
|
|
14140
|
+
|
|
14141
|
+
/* Desktop: the mobile-only stack cell/header/col are hidden. */
|
|
14142
|
+
.muka-data-table__th--mobile-stack,
|
|
14143
|
+
.muka-data-table__td--mobile-stack {
|
|
14144
|
+
display: none;
|
|
14145
|
+
}
|
|
14146
|
+
|
|
14147
|
+
/* Establish a container so the layout responds to the table's own width, not the
|
|
14148
|
+
viewport — a DataTable in a narrow panel collapses even on a wide screen. */
|
|
14149
|
+
.muka-data-table-wrapper--responsive {
|
|
14150
|
+
container-type: inline-size;
|
|
14151
|
+
}
|
|
14152
|
+
|
|
14153
|
+
/* Below --breakpoint-md (768px) of the wrapper's width. @container can't read
|
|
14154
|
+
custom properties, so the value is inlined as 767.98px. */
|
|
14155
|
+
@container (max-width: 767.98px) {
|
|
14156
|
+
/* Lift the table and body out of table layout. Without this the grid rows
|
|
14157
|
+
below get wrapped in anonymous table cells that shrink-wrap them to
|
|
14158
|
+
min-content, collapsing the flexible (1fr) stack track to 0. */
|
|
14159
|
+
.muka-data-table--responsive {
|
|
14160
|
+
display: block;
|
|
14161
|
+
/* Collapsed cards always use md cell padding regardless of the table's `size`
|
|
14162
|
+
— sm is too tight and lg wastes horizontal room, forcing the name to wrap. */
|
|
14163
|
+
--dt-pad-x: var(--datatable-cell-padding-x-md);
|
|
14164
|
+
--dt-pad-y: var(--datatable-cell-padding-y-md);
|
|
14165
|
+
}
|
|
14166
|
+
|
|
14167
|
+
.muka-data-table--responsive .muka-data-table__body {
|
|
14168
|
+
display: block;
|
|
14169
|
+
}
|
|
14170
|
+
|
|
14171
|
+
.muka-data-table--responsive .muka-data-table__head {
|
|
14172
|
+
display: none;
|
|
14173
|
+
}
|
|
14174
|
+
|
|
14175
|
+
.muka-data-table--responsive .muka-data-table__row {
|
|
14176
|
+
display: grid;
|
|
14177
|
+
grid-template-columns: 1fr auto auto;
|
|
14178
|
+
align-items: center;
|
|
14179
|
+
column-gap: var(--spacing-4);
|
|
14180
|
+
padding: var(--dt-pad-y) var(--dt-pad-x);
|
|
14181
|
+
}
|
|
14182
|
+
|
|
14183
|
+
/* Reset table cells; each visible mobile cell opts back in below. */
|
|
14184
|
+
.muka-data-table--responsive .muka-data-table__td {
|
|
14185
|
+
display: none;
|
|
14186
|
+
padding: 0;
|
|
14187
|
+
}
|
|
14188
|
+
|
|
14189
|
+
/* Pin every visible cell to the single grid row. The stack cell sits after the
|
|
14190
|
+
secondary cell in DOM order but targets an earlier column, so without this
|
|
14191
|
+
auto-placement spills it onto a second row (breaking vertical centering). */
|
|
14192
|
+
.muka-data-table--responsive .muka-data-table__td--select,
|
|
14193
|
+
.muka-data-table--responsive .muka-data-table__td--mobile-stack,
|
|
14194
|
+
.muka-data-table--responsive .muka-data-table__td--m-secondary,
|
|
14195
|
+
.muka-data-table--responsive .muka-data-table__td--action {
|
|
14196
|
+
grid-row: 1;
|
|
14197
|
+
}
|
|
14198
|
+
|
|
14199
|
+
.muka-data-table--responsive .muka-data-table__td--mobile-stack {
|
|
14200
|
+
display: block;
|
|
14201
|
+
grid-column: 1;
|
|
14202
|
+
min-width: 0;
|
|
14203
|
+
}
|
|
14204
|
+
|
|
14205
|
+
.muka-data-table--responsive .muka-data-table__td--m-secondary {
|
|
14206
|
+
display: block;
|
|
14207
|
+
grid-column: 2;
|
|
14208
|
+
/* Hug the widest secondary content (e.g. a status badge). The desktop column's
|
|
14209
|
+
min/max-width are inline styles, so `!important` is required to drop them and
|
|
14210
|
+
let the `auto` grid track shrink to the badge — freeing space for the name. */
|
|
14211
|
+
min-width: 0 !important;
|
|
14212
|
+
max-width: none !important;
|
|
14213
|
+
}
|
|
14214
|
+
|
|
14215
|
+
.muka-data-table--responsive .muka-data-table__td--action {
|
|
14216
|
+
display: block;
|
|
14217
|
+
grid-column: 3;
|
|
14218
|
+
width: auto;
|
|
14219
|
+
}
|
|
14220
|
+
|
|
14221
|
+
/* Cell-content wrappers: drop the fixed row-height slot so rows stay compact. */
|
|
14222
|
+
.muka-data-table--responsive .muka-data-table__td .muka-data-table__cell-content {
|
|
14223
|
+
min-height: 0;
|
|
14224
|
+
}
|
|
14225
|
+
|
|
14226
|
+
.muka-data-table--responsive .muka-data-table__td--m-secondary .muka-data-table__cell-content {
|
|
14227
|
+
justify-content: flex-end;
|
|
14228
|
+
}
|
|
14229
|
+
|
|
14230
|
+
/* Utility for cell content: hide a sub-element in the collapsed card. Use it to
|
|
14231
|
+
drop a redundant text label next to a compact visual (e.g. the "75%" beside a
|
|
14232
|
+
donut) so only the visual shows and the secondary column hugs to its width.
|
|
14233
|
+
`display: none` also collapses any surrounding flex `gap`, leaving no gutter. */
|
|
14234
|
+
.muka-data-table--responsive .muka-data-table__mobile-hidden {
|
|
14235
|
+
display: none;
|
|
14236
|
+
}
|
|
14237
|
+
|
|
14238
|
+
/* Stacked primary column: first field is the title, the rest are subtitle lines. */
|
|
14239
|
+
.muka-data-table__stack {
|
|
14240
|
+
display: flex;
|
|
14241
|
+
flex-direction: column;
|
|
14242
|
+
gap: var(--spacing-1);
|
|
14243
|
+
min-width: 0;
|
|
14244
|
+
}
|
|
14245
|
+
|
|
14246
|
+
/* A ProfileBadge in the collapsed card drops its avatar so the name sits
|
|
14247
|
+
flush-left and lines up with the other stacked primary/secondary text
|
|
14248
|
+
instead of being indented by the avatar. `display: none` also collapses the
|
|
14249
|
+
ProfileBadge's flex gap, so no placeholder whitespace is left behind. */
|
|
14250
|
+
.muka-data-table--responsive .muka-profile-badge__avatar {
|
|
14251
|
+
display: none;
|
|
14252
|
+
}
|
|
14253
|
+
|
|
14254
|
+
.muka-data-table__stack-title {
|
|
14255
|
+
font-family: var(--text-label-md-semibold-fontFamily);
|
|
14256
|
+
font-weight: var(--text-label-md-semibold-fontWeight);
|
|
14257
|
+
font-size: var(--text-label-md-semibold-fontSize);
|
|
14258
|
+
line-height: var(--text-label-md-semibold-lineHeight);
|
|
14259
|
+
color: var(--color-text-default-default);
|
|
14260
|
+
overflow: hidden;
|
|
14261
|
+
text-overflow: ellipsis;
|
|
14262
|
+
}
|
|
14263
|
+
|
|
14264
|
+
.muka-data-table__stack-line {
|
|
14265
|
+
font-family: var(--text-body-sm-regular-fontFamily);
|
|
14266
|
+
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
14267
|
+
font-size: var(--text-body-sm-regular-fontSize);
|
|
14268
|
+
line-height: var(--text-body-sm-regular-lineHeight);
|
|
14269
|
+
color: var(--color-text-subtle-default);
|
|
14270
|
+
overflow: hidden;
|
|
14271
|
+
text-overflow: ellipsis;
|
|
14272
|
+
}
|
|
14273
|
+
|
|
14274
|
+
/* The stack title may itself be the stretched link. */
|
|
14275
|
+
.muka-data-table__stack-title .muka-data-table__row-link {
|
|
14276
|
+
color: inherit;
|
|
14277
|
+
text-decoration: none;
|
|
14278
|
+
}
|
|
14279
|
+
|
|
14280
|
+
/* Selection checkbox leads the mobile row: [checkbox | stack | secondary | action]. */
|
|
14281
|
+
.muka-data-table--responsive .muka-data-table__td--select {
|
|
14282
|
+
display: block;
|
|
14283
|
+
grid-column: 1;
|
|
14284
|
+
width: auto;
|
|
14285
|
+
}
|
|
14286
|
+
|
|
14287
|
+
.muka-data-table--responsive.muka-data-table--selectable .muka-data-table__row {
|
|
14288
|
+
grid-template-columns: auto 1fr auto auto;
|
|
14289
|
+
}
|
|
14290
|
+
|
|
14291
|
+
.muka-data-table--responsive.muka-data-table--selectable .muka-data-table__td--mobile-stack {
|
|
14292
|
+
grid-column: 2;
|
|
14293
|
+
}
|
|
14294
|
+
|
|
14295
|
+
.muka-data-table--responsive.muka-data-table--selectable .muka-data-table__td--m-secondary {
|
|
14296
|
+
grid-column: 3;
|
|
14297
|
+
}
|
|
14140
14298
|
|
|
14141
|
-
|
|
14142
|
-
|
|
14143
|
-
|
|
14299
|
+
.muka-data-table--responsive.muka-data-table--selectable .muka-data-table__td--action {
|
|
14300
|
+
grid-column: 4;
|
|
14301
|
+
}
|
|
14144
14302
|
}
|
|
14145
14303
|
|
|
14146
14304
|
|
|
@@ -14431,271 +14589,235 @@ button.muka-chip__trailing[aria-expanded='true'],
|
|
|
14431
14589
|
}
|
|
14432
14590
|
|
|
14433
14591
|
|
|
14434
|
-
/*
|
|
14435
|
-
/*
|
|
14592
|
+
/* ChatMessageStack */
|
|
14593
|
+
/* ChatMessageStack Component Styles */
|
|
14436
14594
|
|
|
14437
|
-
|
|
14438
|
-
.muka-checkbox-tile {
|
|
14595
|
+
.muka-chat-message-stack {
|
|
14439
14596
|
display: flex;
|
|
14440
|
-
|
|
14441
|
-
gap: var(--
|
|
14442
|
-
|
|
14443
|
-
|
|
14444
|
-
border-radius: var(--input-field-radius-lg);
|
|
14445
|
-
background-color: var(--color-surface-level3);
|
|
14446
|
-
cursor: pointer;
|
|
14447
|
-
transition: border-color 0.15s ease, border-width 0.15s ease;
|
|
14448
|
-
overflow: hidden;
|
|
14449
|
-
box-sizing: border-box;
|
|
14450
|
-
}
|
|
14451
|
-
|
|
14452
|
-
.muka-checkbox-tile--disabled {
|
|
14453
|
-
cursor: not-allowed;
|
|
14454
|
-
opacity: 0.6;
|
|
14455
|
-
}
|
|
14456
|
-
|
|
14457
|
-
/* Selected state */
|
|
14458
|
-
.muka-checkbox-tile[data-checked] {
|
|
14459
|
-
border-width: var(--border-width-bold);
|
|
14460
|
-
border-color: var(--color-action-default);
|
|
14597
|
+
flex-direction: column;
|
|
14598
|
+
gap: var(--chatbubble-stack-gap);
|
|
14599
|
+
width: 100%;
|
|
14600
|
+
max-width: 100%;
|
|
14461
14601
|
}
|
|
14462
14602
|
|
|
14463
|
-
|
|
14464
|
-
|
|
14603
|
+
.muka-chat-message-stack__messages {
|
|
14604
|
+
display: flex;
|
|
14465
14605
|
flex-direction: column;
|
|
14466
|
-
|
|
14467
|
-
|
|
14468
|
-
position: relative;
|
|
14469
|
-
width: 160px;
|
|
14606
|
+
gap: var(--chatbubble-stack-gap);
|
|
14607
|
+
width: 100%;
|
|
14470
14608
|
}
|
|
14471
14609
|
|
|
14472
|
-
/*
|
|
14473
|
-
|
|
14474
|
-
|
|
14610
|
+
/*
|
|
14611
|
+
* Reasoning sits above the stack, indented past the avatar rail so it lines up
|
|
14612
|
+
* with the bubbles rather than with the avatar (Figma 5379:47300).
|
|
14613
|
+
*/
|
|
14614
|
+
.muka-chat-message-stack__reasoning {
|
|
14615
|
+
min-width: 0;
|
|
14475
14616
|
}
|
|
14476
14617
|
|
|
14477
|
-
/*
|
|
14478
|
-
.muka-
|
|
14479
|
-
|
|
14480
|
-
|
|
14481
|
-
|
|
14618
|
+
/* In-thread widgets after the messages share the reasoning's indent. */
|
|
14619
|
+
.muka-chat-message-stack__widgets {
|
|
14620
|
+
display: flex;
|
|
14621
|
+
flex-direction: column;
|
|
14622
|
+
gap: var(--chatbubble-stack-gap);
|
|
14623
|
+
min-width: 0;
|
|
14482
14624
|
}
|
|
14483
14625
|
|
|
14484
|
-
|
|
14485
|
-
.muka-
|
|
14486
|
-
|
|
14487
|
-
left: calc(var(--spacing-4) - 1px);
|
|
14626
|
+
.muka-chat-message-stack--has-avatar .muka-chat-message-stack__widgets,
|
|
14627
|
+
.muka-chat-message-stack--has-avatar .muka-chat-message-stack__reasoning {
|
|
14628
|
+
padding-left: calc(var(--chatbubble-avatar-size) + var(--chatbubble-row-gap));
|
|
14488
14629
|
}
|
|
14489
14630
|
|
|
14490
|
-
|
|
14491
|
-
.muka-
|
|
14492
|
-
|
|
14493
|
-
|
|
14494
|
-
|
|
14495
|
-
|
|
14496
|
-
width: var(--icon-size-default);
|
|
14497
|
-
height: var(--icon-size-default);
|
|
14498
|
-
color: var(--color-text-default-default);
|
|
14631
|
+
.muka-chat-message-stack--own.muka-chat-message-stack--has-avatar
|
|
14632
|
+
.muka-chat-message-stack__widgets,
|
|
14633
|
+
.muka-chat-message-stack--own.muka-chat-message-stack--has-avatar
|
|
14634
|
+
.muka-chat-message-stack__reasoning {
|
|
14635
|
+
padding-left: 0;
|
|
14636
|
+
padding-right: calc(var(--chatbubble-avatar-size) + var(--chatbubble-row-gap));
|
|
14499
14637
|
}
|
|
14500
14638
|
|
|
14501
|
-
|
|
14502
|
-
|
|
14503
|
-
|
|
14504
|
-
|
|
14639
|
+
/* Follow the message's compact rail and gap below the desktop breakpoint */
|
|
14640
|
+
@media (max-width: 1023px) {
|
|
14641
|
+
.muka-chat-message-stack--has-avatar .muka-chat-message-stack__widgets,
|
|
14642
|
+
.muka-chat-message-stack--has-avatar .muka-chat-message-stack__reasoning {
|
|
14643
|
+
padding-left: calc(
|
|
14644
|
+
var(--chatbubble-avatar-size-compact) + var(--chatbubble-row-gap-compact)
|
|
14645
|
+
);
|
|
14646
|
+
}
|
|
14505
14647
|
|
|
14506
|
-
|
|
14507
|
-
.muka-
|
|
14508
|
-
|
|
14509
|
-
|
|
14510
|
-
|
|
14648
|
+
.muka-chat-message-stack--own.muka-chat-message-stack--has-avatar
|
|
14649
|
+
.muka-chat-message-stack__widgets,
|
|
14650
|
+
.muka-chat-message-stack--own.muka-chat-message-stack--has-avatar
|
|
14651
|
+
.muka-chat-message-stack__reasoning {
|
|
14652
|
+
padding-left: 0;
|
|
14653
|
+
padding-right: calc(
|
|
14654
|
+
var(--chatbubble-avatar-size-compact) + var(--chatbubble-row-gap-compact)
|
|
14655
|
+
);
|
|
14656
|
+
}
|
|
14511
14657
|
}
|
|
14512
14658
|
|
|
14513
|
-
.muka-checkbox-tile__image img {
|
|
14514
|
-
display: block;
|
|
14515
|
-
width: 100%;
|
|
14516
|
-
height: 100%;
|
|
14517
|
-
object-fit: cover;
|
|
14518
|
-
}
|
|
14519
14659
|
|
|
14520
|
-
/*
|
|
14521
|
-
|
|
14522
|
-
width: 40px;
|
|
14523
|
-
height: 40px;
|
|
14524
|
-
}
|
|
14660
|
+
/* ChatMessageList */
|
|
14661
|
+
/* ChatMessageList Component Styles */
|
|
14525
14662
|
|
|
14526
|
-
|
|
14527
|
-
|
|
14663
|
+
.muka-chat-message-list {
|
|
14664
|
+
flex: 1 1 auto;
|
|
14665
|
+
min-height: 0;
|
|
14528
14666
|
width: 100%;
|
|
14529
|
-
|
|
14667
|
+
overflow-x: clip;
|
|
14668
|
+
overflow-y: auto;
|
|
14669
|
+
background-color: var(--color-surface-level3);
|
|
14670
|
+
padding: var(--section-padding-vertical-default, var(--spacing-8))
|
|
14671
|
+
var(--section-padding-horizontal-default, var(--spacing-4));
|
|
14672
|
+
-webkit-overflow-scrolling: touch;
|
|
14673
|
+
overscroll-behavior: contain;
|
|
14530
14674
|
}
|
|
14531
14675
|
|
|
14532
|
-
|
|
14533
|
-
.muka-checkbox-tile__content {
|
|
14676
|
+
.muka-chat-message-list__inner {
|
|
14534
14677
|
display: flex;
|
|
14535
14678
|
flex-direction: column;
|
|
14536
|
-
|
|
14537
|
-
|
|
14538
|
-
|
|
14679
|
+
align-items: stretch;
|
|
14680
|
+
gap: var(--spacing-8);
|
|
14681
|
+
width: 100%;
|
|
14682
|
+
max-width: var(--chat-column-max-width);
|
|
14683
|
+
margin: 0 auto;
|
|
14539
14684
|
}
|
|
14540
14685
|
|
|
14541
|
-
|
|
14542
|
-
display: flex;
|
|
14543
|
-
flex-direction: column;
|
|
14544
|
-
gap: var(--spacing-1);
|
|
14545
|
-
}
|
|
14686
|
+
/* ─── Print ────────────────────────────────────────────── */
|
|
14546
14687
|
|
|
14547
|
-
|
|
14548
|
-
.muka-
|
|
14549
|
-
|
|
14550
|
-
|
|
14688
|
+
@media print {
|
|
14689
|
+
.muka-chat-message-list {
|
|
14690
|
+
overflow: visible;
|
|
14691
|
+
height: auto;
|
|
14692
|
+
max-height: none;
|
|
14693
|
+
background: none;
|
|
14694
|
+
padding: 0;
|
|
14695
|
+
}
|
|
14551
14696
|
|
|
14552
|
-
.muka-
|
|
14553
|
-
|
|
14697
|
+
.muka-chat-message-list__inner {
|
|
14698
|
+
max-width: 100%;
|
|
14699
|
+
}
|
|
14554
14700
|
}
|
|
14555
14701
|
|
|
14556
|
-
/* Label */
|
|
14557
|
-
.muka-checkbox-tile__label {
|
|
14558
|
-
font-family: var(--text-body-lg-regular-fontFamily);
|
|
14559
|
-
font-weight: var(--text-body-lg-regular-fontWeight);
|
|
14560
|
-
font-size: var(--text-body-lg-regular-fontSize);
|
|
14561
|
-
line-height: var(--text-body-lg-regular-lineHeight);
|
|
14562
|
-
color: var(--color-text-default-default);
|
|
14563
|
-
}
|
|
14564
14702
|
|
|
14565
|
-
|
|
14566
|
-
|
|
14567
|
-
font-weight: var(--text-label-lg-semibold-fontWeight);
|
|
14568
|
-
font-size: var(--text-label-lg-semibold-fontSize);
|
|
14569
|
-
line-height: var(--text-label-lg-semibold-lineHeight);
|
|
14570
|
-
}
|
|
14703
|
+
/* ChatPhotoGrid */
|
|
14704
|
+
/* ChatPhotoGrid Component Styles */
|
|
14571
14705
|
|
|
14572
|
-
|
|
14573
|
-
|
|
14706
|
+
/*
|
|
14707
|
+
* The grid clips to its own radius and the tiles stay square, so only the four
|
|
14708
|
+
* outer corners round — matching the Figma "Wrapper" frame (5225:1394).
|
|
14709
|
+
*/
|
|
14710
|
+
.muka-chat-photo-grid {
|
|
14711
|
+
display: grid;
|
|
14712
|
+
gap: var(--chatphotogrid-gap);
|
|
14713
|
+
width: 100%;
|
|
14714
|
+
min-width: 0;
|
|
14715
|
+
overflow: hidden;
|
|
14716
|
+
border-radius: var(--chatphotogrid-radius);
|
|
14574
14717
|
}
|
|
14575
14718
|
|
|
14576
|
-
/*
|
|
14577
|
-
.muka-checkbox-tile__caption {
|
|
14578
|
-
font-family: var(--text-body-base-regular-fontFamily);
|
|
14579
|
-
font-weight: var(--text-body-base-regular-fontWeight);
|
|
14580
|
-
font-size: var(--text-body-base-regular-fontSize);
|
|
14581
|
-
line-height: var(--text-body-base-regular-lineHeight);
|
|
14582
|
-
color: var(--color-text-subtle-default);
|
|
14583
|
-
}
|
|
14719
|
+
/* ─── Tiles ────────────────────────────────────────────── */
|
|
14584
14720
|
|
|
14585
|
-
|
|
14586
|
-
|
|
14587
|
-
|
|
14588
|
-
|
|
14721
|
+
.muka-chat-photo-grid__tile {
|
|
14722
|
+
position: relative;
|
|
14723
|
+
display: block;
|
|
14724
|
+
overflow: hidden;
|
|
14725
|
+
min-width: 0;
|
|
14726
|
+
padding: 0;
|
|
14727
|
+
margin: 0;
|
|
14728
|
+
border: none;
|
|
14729
|
+
background-color: var(--chatphotogrid-color-placeholder);
|
|
14730
|
+
aspect-ratio: 1 / 1;
|
|
14589
14731
|
}
|
|
14590
14732
|
|
|
14733
|
+
button.muka-chat-photo-grid__tile {
|
|
14734
|
+
cursor: pointer;
|
|
14735
|
+
appearance: none;
|
|
14736
|
+
}
|
|
14591
14737
|
|
|
14592
|
-
|
|
14593
|
-
|
|
14738
|
+
button.muka-chat-photo-grid__tile:focus-visible {
|
|
14739
|
+
outline: var(--border-width-bold) solid var(--color-border-focus);
|
|
14740
|
+
/* Inset, so the grid's overflow clip cannot cut the ring off on corner tiles */
|
|
14741
|
+
outline-offset: calc(-1 * var(--border-width-bold));
|
|
14742
|
+
}
|
|
14594
14743
|
|
|
14595
|
-
.muka-chat-
|
|
14596
|
-
display:
|
|
14597
|
-
flex-direction: column;
|
|
14598
|
-
gap: var(--chatbubble-stack-gap);
|
|
14744
|
+
.muka-chat-photo-grid__image {
|
|
14745
|
+
display: block;
|
|
14599
14746
|
width: 100%;
|
|
14600
|
-
|
|
14747
|
+
height: 100%;
|
|
14748
|
+
object-fit: cover;
|
|
14601
14749
|
}
|
|
14602
14750
|
|
|
14603
|
-
|
|
14751
|
+
/* ─── Overflow tile ────────────────────────────────────── */
|
|
14752
|
+
|
|
14753
|
+
.muka-chat-photo-grid__overflow {
|
|
14754
|
+
position: absolute;
|
|
14755
|
+
inset: 0;
|
|
14604
14756
|
display: flex;
|
|
14605
|
-
|
|
14606
|
-
|
|
14607
|
-
|
|
14757
|
+
align-items: center;
|
|
14758
|
+
justify-content: center;
|
|
14759
|
+
background-color: var(--chatphotogrid-color-overflow-background);
|
|
14760
|
+
color: var(--chatphotogrid-color-overflow-foreground);
|
|
14761
|
+
font-family: var(--text-body-2xl-regular-fontFamily);
|
|
14762
|
+
font-weight: var(--text-body-2xl-regular-fontWeight);
|
|
14763
|
+
font-size: var(--text-body-2xl-regular-fontSize);
|
|
14764
|
+
line-height: var(--text-body-2xl-regular-lineHeight);
|
|
14608
14765
|
}
|
|
14609
14766
|
|
|
14610
|
-
/*
|
|
14611
|
-
|
|
14612
|
-
|
|
14613
|
-
|
|
14614
|
-
.muka-chat-message-stack__reasoning {
|
|
14615
|
-
min-width: 0;
|
|
14767
|
+
/* ─── Layouts ──────────────────────────────────────────── */
|
|
14768
|
+
|
|
14769
|
+
.muka-chat-photo-grid--1 {
|
|
14770
|
+
grid-template-columns: 1fr;
|
|
14616
14771
|
}
|
|
14617
14772
|
|
|
14618
|
-
|
|
14619
|
-
|
|
14620
|
-
display: flex;
|
|
14621
|
-
flex-direction: column;
|
|
14622
|
-
gap: var(--chatbubble-stack-gap);
|
|
14623
|
-
min-width: 0;
|
|
14773
|
+
.muka-chat-photo-grid--landscape .muka-chat-photo-grid__tile {
|
|
14774
|
+
aspect-ratio: 4 / 3;
|
|
14624
14775
|
}
|
|
14625
14776
|
|
|
14626
|
-
.muka-chat-
|
|
14627
|
-
|
|
14628
|
-
padding-left: calc(var(--chatbubble-avatar-size) + var(--chatbubble-row-gap));
|
|
14777
|
+
.muka-chat-photo-grid--portrait .muka-chat-photo-grid__tile {
|
|
14778
|
+
aspect-ratio: 3 / 4;
|
|
14629
14779
|
}
|
|
14630
14780
|
|
|
14631
|
-
.muka-chat-
|
|
14632
|
-
|
|
14633
|
-
.muka-chat-message-stack--own.muka-chat-message-stack--has-avatar
|
|
14634
|
-
.muka-chat-message-stack__reasoning {
|
|
14635
|
-
padding-left: 0;
|
|
14636
|
-
padding-right: calc(var(--chatbubble-avatar-size) + var(--chatbubble-row-gap));
|
|
14781
|
+
.muka-chat-photo-grid--2 {
|
|
14782
|
+
grid-template-columns: repeat(2, 1fr);
|
|
14637
14783
|
}
|
|
14638
14784
|
|
|
14639
|
-
|
|
14640
|
-
|
|
14641
|
-
|
|
14642
|
-
.muka-chat-message-stack--has-avatar .muka-chat-message-stack__reasoning {
|
|
14643
|
-
padding-left: calc(
|
|
14644
|
-
var(--chatbubble-avatar-size-compact) + var(--chatbubble-row-gap-compact)
|
|
14645
|
-
);
|
|
14646
|
-
}
|
|
14785
|
+
.muka-chat-photo-grid--3 {
|
|
14786
|
+
grid-template-columns: repeat(3, 1fr);
|
|
14787
|
+
}
|
|
14647
14788
|
|
|
14648
|
-
|
|
14649
|
-
|
|
14650
|
-
.muka-chat-message-stack--own.muka-chat-message-stack--has-avatar
|
|
14651
|
-
.muka-chat-message-stack__reasoning {
|
|
14652
|
-
padding-left: 0;
|
|
14653
|
-
padding-right: calc(
|
|
14654
|
-
var(--chatbubble-avatar-size-compact) + var(--chatbubble-row-gap-compact)
|
|
14655
|
-
);
|
|
14656
|
-
}
|
|
14789
|
+
.muka-chat-photo-grid--4 {
|
|
14790
|
+
grid-template-columns: repeat(2, 1fr);
|
|
14657
14791
|
}
|
|
14658
14792
|
|
|
14793
|
+
/* 5 photos: a 2-up row above a 3-up row, on a shared 6-column track */
|
|
14794
|
+
.muka-chat-photo-grid--5 {
|
|
14795
|
+
grid-template-columns: repeat(6, 1fr);
|
|
14796
|
+
}
|
|
14659
14797
|
|
|
14660
|
-
|
|
14661
|
-
|
|
14798
|
+
.muka-chat-photo-grid--5 .muka-chat-photo-grid__tile:nth-child(-n + 2) {
|
|
14799
|
+
grid-column: span 3;
|
|
14800
|
+
}
|
|
14662
14801
|
|
|
14663
|
-
.muka-chat-
|
|
14664
|
-
|
|
14665
|
-
min-height: 0;
|
|
14666
|
-
width: 100%;
|
|
14667
|
-
overflow-x: clip;
|
|
14668
|
-
overflow-y: auto;
|
|
14669
|
-
background-color: var(--color-surface-level3);
|
|
14670
|
-
padding: var(--section-padding-vertical-default, var(--spacing-8))
|
|
14671
|
-
var(--section-padding-horizontal-default, var(--spacing-4));
|
|
14672
|
-
-webkit-overflow-scrolling: touch;
|
|
14673
|
-
overscroll-behavior: contain;
|
|
14802
|
+
.muka-chat-photo-grid--5 .muka-chat-photo-grid__tile:nth-child(n + 3) {
|
|
14803
|
+
grid-column: span 2;
|
|
14674
14804
|
}
|
|
14675
14805
|
|
|
14676
|
-
.muka-chat-
|
|
14677
|
-
|
|
14678
|
-
|
|
14679
|
-
align-items: stretch;
|
|
14680
|
-
gap: var(--spacing-8);
|
|
14681
|
-
width: 100%;
|
|
14682
|
-
max-width: var(--chat-column-max-width);
|
|
14683
|
-
margin: 0 auto;
|
|
14806
|
+
.muka-chat-photo-grid--6,
|
|
14807
|
+
.muka-chat-photo-grid--overflow {
|
|
14808
|
+
grid-template-columns: repeat(3, 1fr);
|
|
14684
14809
|
}
|
|
14685
14810
|
|
|
14686
14811
|
/* ─── Print ────────────────────────────────────────────── */
|
|
14687
14812
|
|
|
14688
14813
|
@media print {
|
|
14689
|
-
.muka-chat-
|
|
14690
|
-
|
|
14691
|
-
height: auto;
|
|
14692
|
-
max-height: none;
|
|
14693
|
-
background: none;
|
|
14694
|
-
padding: 0;
|
|
14814
|
+
.muka-chat-photo-grid {
|
|
14815
|
+
break-inside: avoid;
|
|
14695
14816
|
}
|
|
14696
14817
|
|
|
14697
|
-
.muka-chat-
|
|
14698
|
-
|
|
14818
|
+
.muka-chat-photo-grid__image {
|
|
14819
|
+
print-color-adjust: exact;
|
|
14820
|
+
-webkit-print-color-adjust: exact;
|
|
14699
14821
|
}
|
|
14700
14822
|
}
|
|
14701
14823
|
|
|
@@ -15041,128 +15163,6 @@ button.muka-chip__trailing[aria-expanded='true'],
|
|
|
15041
15163
|
}
|
|
15042
15164
|
|
|
15043
15165
|
|
|
15044
|
-
/* ChatPhotoGrid */
|
|
15045
|
-
/* ChatPhotoGrid Component Styles */
|
|
15046
|
-
|
|
15047
|
-
/*
|
|
15048
|
-
* The grid clips to its own radius and the tiles stay square, so only the four
|
|
15049
|
-
* outer corners round — matching the Figma "Wrapper" frame (5225:1394).
|
|
15050
|
-
*/
|
|
15051
|
-
.muka-chat-photo-grid {
|
|
15052
|
-
display: grid;
|
|
15053
|
-
gap: var(--chatphotogrid-gap);
|
|
15054
|
-
width: 100%;
|
|
15055
|
-
min-width: 0;
|
|
15056
|
-
overflow: hidden;
|
|
15057
|
-
border-radius: var(--chatphotogrid-radius);
|
|
15058
|
-
}
|
|
15059
|
-
|
|
15060
|
-
/* ─── Tiles ────────────────────────────────────────────── */
|
|
15061
|
-
|
|
15062
|
-
.muka-chat-photo-grid__tile {
|
|
15063
|
-
position: relative;
|
|
15064
|
-
display: block;
|
|
15065
|
-
overflow: hidden;
|
|
15066
|
-
min-width: 0;
|
|
15067
|
-
padding: 0;
|
|
15068
|
-
margin: 0;
|
|
15069
|
-
border: none;
|
|
15070
|
-
background-color: var(--chatphotogrid-color-placeholder);
|
|
15071
|
-
aspect-ratio: 1 / 1;
|
|
15072
|
-
}
|
|
15073
|
-
|
|
15074
|
-
button.muka-chat-photo-grid__tile {
|
|
15075
|
-
cursor: pointer;
|
|
15076
|
-
appearance: none;
|
|
15077
|
-
}
|
|
15078
|
-
|
|
15079
|
-
button.muka-chat-photo-grid__tile:focus-visible {
|
|
15080
|
-
outline: var(--border-width-bold) solid var(--color-border-focus);
|
|
15081
|
-
/* Inset, so the grid's overflow clip cannot cut the ring off on corner tiles */
|
|
15082
|
-
outline-offset: calc(-1 * var(--border-width-bold));
|
|
15083
|
-
}
|
|
15084
|
-
|
|
15085
|
-
.muka-chat-photo-grid__image {
|
|
15086
|
-
display: block;
|
|
15087
|
-
width: 100%;
|
|
15088
|
-
height: 100%;
|
|
15089
|
-
object-fit: cover;
|
|
15090
|
-
}
|
|
15091
|
-
|
|
15092
|
-
/* ─── Overflow tile ────────────────────────────────────── */
|
|
15093
|
-
|
|
15094
|
-
.muka-chat-photo-grid__overflow {
|
|
15095
|
-
position: absolute;
|
|
15096
|
-
inset: 0;
|
|
15097
|
-
display: flex;
|
|
15098
|
-
align-items: center;
|
|
15099
|
-
justify-content: center;
|
|
15100
|
-
background-color: var(--chatphotogrid-color-overflow-background);
|
|
15101
|
-
color: var(--chatphotogrid-color-overflow-foreground);
|
|
15102
|
-
font-family: var(--text-body-2xl-regular-fontFamily);
|
|
15103
|
-
font-weight: var(--text-body-2xl-regular-fontWeight);
|
|
15104
|
-
font-size: var(--text-body-2xl-regular-fontSize);
|
|
15105
|
-
line-height: var(--text-body-2xl-regular-lineHeight);
|
|
15106
|
-
}
|
|
15107
|
-
|
|
15108
|
-
/* ─── Layouts ──────────────────────────────────────────── */
|
|
15109
|
-
|
|
15110
|
-
.muka-chat-photo-grid--1 {
|
|
15111
|
-
grid-template-columns: 1fr;
|
|
15112
|
-
}
|
|
15113
|
-
|
|
15114
|
-
.muka-chat-photo-grid--landscape .muka-chat-photo-grid__tile {
|
|
15115
|
-
aspect-ratio: 4 / 3;
|
|
15116
|
-
}
|
|
15117
|
-
|
|
15118
|
-
.muka-chat-photo-grid--portrait .muka-chat-photo-grid__tile {
|
|
15119
|
-
aspect-ratio: 3 / 4;
|
|
15120
|
-
}
|
|
15121
|
-
|
|
15122
|
-
.muka-chat-photo-grid--2 {
|
|
15123
|
-
grid-template-columns: repeat(2, 1fr);
|
|
15124
|
-
}
|
|
15125
|
-
|
|
15126
|
-
.muka-chat-photo-grid--3 {
|
|
15127
|
-
grid-template-columns: repeat(3, 1fr);
|
|
15128
|
-
}
|
|
15129
|
-
|
|
15130
|
-
.muka-chat-photo-grid--4 {
|
|
15131
|
-
grid-template-columns: repeat(2, 1fr);
|
|
15132
|
-
}
|
|
15133
|
-
|
|
15134
|
-
/* 5 photos: a 2-up row above a 3-up row, on a shared 6-column track */
|
|
15135
|
-
.muka-chat-photo-grid--5 {
|
|
15136
|
-
grid-template-columns: repeat(6, 1fr);
|
|
15137
|
-
}
|
|
15138
|
-
|
|
15139
|
-
.muka-chat-photo-grid--5 .muka-chat-photo-grid__tile:nth-child(-n + 2) {
|
|
15140
|
-
grid-column: span 3;
|
|
15141
|
-
}
|
|
15142
|
-
|
|
15143
|
-
.muka-chat-photo-grid--5 .muka-chat-photo-grid__tile:nth-child(n + 3) {
|
|
15144
|
-
grid-column: span 2;
|
|
15145
|
-
}
|
|
15146
|
-
|
|
15147
|
-
.muka-chat-photo-grid--6,
|
|
15148
|
-
.muka-chat-photo-grid--overflow {
|
|
15149
|
-
grid-template-columns: repeat(3, 1fr);
|
|
15150
|
-
}
|
|
15151
|
-
|
|
15152
|
-
/* ─── Print ────────────────────────────────────────────── */
|
|
15153
|
-
|
|
15154
|
-
@media print {
|
|
15155
|
-
.muka-chat-photo-grid {
|
|
15156
|
-
break-inside: avoid;
|
|
15157
|
-
}
|
|
15158
|
-
|
|
15159
|
-
.muka-chat-photo-grid__image {
|
|
15160
|
-
print-color-adjust: exact;
|
|
15161
|
-
-webkit-print-color-adjust: exact;
|
|
15162
|
-
}
|
|
15163
|
-
}
|
|
15164
|
-
|
|
15165
|
-
|
|
15166
15166
|
/* ChatEvent */
|
|
15167
15167
|
/* ChatEvent: a line in a chat that isn't a message from a person */
|
|
15168
15168
|
|
|
@@ -15254,6 +15254,29 @@ button.muka-chat-photo-grid__tile:focus-visible {
|
|
|
15254
15254
|
flex-shrink: 0;
|
|
15255
15255
|
}
|
|
15256
15256
|
|
|
15257
|
+
/* ─── Suggestions ──────────────────────────────────────── */
|
|
15258
|
+
|
|
15259
|
+
/*
|
|
15260
|
+
* Suggestions for the typed text sit in the composer, just above the field:
|
|
15261
|
+
* the menu surface and rows (Menu.css), in flow rather than a floating
|
|
15262
|
+
* popover, so they stay above the mobile keyboard.
|
|
15263
|
+
*/
|
|
15264
|
+
.muka-chat-composer__suggestions {
|
|
15265
|
+
width: 100%;
|
|
15266
|
+
min-width: 0;
|
|
15267
|
+
box-sizing: border-box;
|
|
15268
|
+
animation: none;
|
|
15269
|
+
}
|
|
15270
|
+
|
|
15271
|
+
/* One line per label, the match included; long labels truncate. */
|
|
15272
|
+
.muka-chat-composer__suggestion-text {
|
|
15273
|
+
display: block;
|
|
15274
|
+
min-width: 0;
|
|
15275
|
+
overflow: hidden;
|
|
15276
|
+
text-overflow: ellipsis;
|
|
15277
|
+
white-space: nowrap;
|
|
15278
|
+
}
|
|
15279
|
+
|
|
15257
15280
|
/* ─── Text field ───────────────────────────────────────── */
|
|
15258
15281
|
|
|
15259
15282
|
.muka-chat-composer__field {
|