@revikornmann/muka-ui 0.30.0 → 0.31.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/Chip/Chip.css +75 -23
- package/dist/cjs/components/Chip/Chip.js +18 -8
- package/dist/cjs/components/Chip/Chip.js.map +1 -1
- package/dist/esm/components/Chip/Chip.css +75 -23
- package/dist/esm/components/Chip/Chip.js +16 -8
- package/dist/esm/components/Chip/Chip.js.map +1 -1
- package/dist/styles/components/Chip.css +75 -23
- package/dist/styles/index.css +1053 -1001
- package/dist/styles/muka-dark.css +1053 -1001
- package/dist/styles/muka-light.css +1053 -1001
- package/dist/styles/wireframe-dark.css +1053 -1001
- package/dist/styles/wireframe-light.css +1053 -1001
- package/dist/types/components/Chip/Chip.d.ts +13 -3
- package/dist/types/components/Chip/Chip.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -4726,84 +4726,6 @@ body {
|
|
|
4726
4726
|
}
|
|
4727
4727
|
|
|
4728
4728
|
|
|
4729
|
-
/* Spinner */
|
|
4730
|
-
/* Spinner Component Styles */
|
|
4731
|
-
|
|
4732
|
-
.muka-spinner {
|
|
4733
|
-
display: inline-flex;
|
|
4734
|
-
align-items: center;
|
|
4735
|
-
justify-content: center;
|
|
4736
|
-
color: var(--color-text-default-default);
|
|
4737
|
-
line-height: 0;
|
|
4738
|
-
}
|
|
4739
|
-
|
|
4740
|
-
.muka-spinner--subtle {
|
|
4741
|
-
color: var(--color-text-subtle-default);
|
|
4742
|
-
}
|
|
4743
|
-
|
|
4744
|
-
.muka-spinner--inverse {
|
|
4745
|
-
color: var(--color-text-default-inverse);
|
|
4746
|
-
}
|
|
4747
|
-
|
|
4748
|
-
.muka-spinner__circle {
|
|
4749
|
-
display: inline-block;
|
|
4750
|
-
border-radius: 50%;
|
|
4751
|
-
border-style: solid;
|
|
4752
|
-
border-color: currentColor;
|
|
4753
|
-
border-right-color: transparent;
|
|
4754
|
-
animation: muka-spinner-rotate 0.7s linear infinite;
|
|
4755
|
-
box-sizing: border-box;
|
|
4756
|
-
}
|
|
4757
|
-
|
|
4758
|
-
/* ─── Sizes ───────────────────────────────────────────── */
|
|
4759
|
-
|
|
4760
|
-
.muka-spinner--sm .muka-spinner__circle {
|
|
4761
|
-
width: 16px;
|
|
4762
|
-
height: 16px;
|
|
4763
|
-
border-width: 2px;
|
|
4764
|
-
}
|
|
4765
|
-
|
|
4766
|
-
.muka-spinner--md .muka-spinner__circle {
|
|
4767
|
-
width: 20px;
|
|
4768
|
-
height: 20px;
|
|
4769
|
-
border-width: 2px;
|
|
4770
|
-
}
|
|
4771
|
-
|
|
4772
|
-
.muka-spinner--lg .muka-spinner__circle {
|
|
4773
|
-
width: 24px;
|
|
4774
|
-
height: 24px;
|
|
4775
|
-
border-width: 3px;
|
|
4776
|
-
}
|
|
4777
|
-
|
|
4778
|
-
/* ─── Visually-hidden label ───────────────────────────── */
|
|
4779
|
-
|
|
4780
|
-
.muka-spinner__sr-label {
|
|
4781
|
-
position: absolute;
|
|
4782
|
-
width: 1px;
|
|
4783
|
-
height: 1px;
|
|
4784
|
-
padding: 0;
|
|
4785
|
-
margin: -1px;
|
|
4786
|
-
overflow: hidden;
|
|
4787
|
-
clip: rect(0, 0, 0, 0);
|
|
4788
|
-
white-space: nowrap;
|
|
4789
|
-
border: 0;
|
|
4790
|
-
}
|
|
4791
|
-
|
|
4792
|
-
/* ─── Reduced motion ──────────────────────────────────── */
|
|
4793
|
-
|
|
4794
|
-
@keyframes muka-spinner-rotate {
|
|
4795
|
-
to {
|
|
4796
|
-
transform: rotate(360deg);
|
|
4797
|
-
}
|
|
4798
|
-
}
|
|
4799
|
-
|
|
4800
|
-
@media (prefers-reduced-motion: reduce) {
|
|
4801
|
-
.muka-spinner__circle {
|
|
4802
|
-
animation-duration: 2.5s;
|
|
4803
|
-
}
|
|
4804
|
-
}
|
|
4805
|
-
|
|
4806
|
-
|
|
4807
4729
|
/* SpecList */
|
|
4808
4730
|
/* SpecList Component Styles */
|
|
4809
4731
|
|
|
@@ -5039,6 +4961,84 @@ body {
|
|
|
5039
4961
|
}
|
|
5040
4962
|
|
|
5041
4963
|
|
|
4964
|
+
/* Spinner */
|
|
4965
|
+
/* Spinner Component Styles */
|
|
4966
|
+
|
|
4967
|
+
.muka-spinner {
|
|
4968
|
+
display: inline-flex;
|
|
4969
|
+
align-items: center;
|
|
4970
|
+
justify-content: center;
|
|
4971
|
+
color: var(--color-text-default-default);
|
|
4972
|
+
line-height: 0;
|
|
4973
|
+
}
|
|
4974
|
+
|
|
4975
|
+
.muka-spinner--subtle {
|
|
4976
|
+
color: var(--color-text-subtle-default);
|
|
4977
|
+
}
|
|
4978
|
+
|
|
4979
|
+
.muka-spinner--inverse {
|
|
4980
|
+
color: var(--color-text-default-inverse);
|
|
4981
|
+
}
|
|
4982
|
+
|
|
4983
|
+
.muka-spinner__circle {
|
|
4984
|
+
display: inline-block;
|
|
4985
|
+
border-radius: 50%;
|
|
4986
|
+
border-style: solid;
|
|
4987
|
+
border-color: currentColor;
|
|
4988
|
+
border-right-color: transparent;
|
|
4989
|
+
animation: muka-spinner-rotate 0.7s linear infinite;
|
|
4990
|
+
box-sizing: border-box;
|
|
4991
|
+
}
|
|
4992
|
+
|
|
4993
|
+
/* ─── Sizes ───────────────────────────────────────────── */
|
|
4994
|
+
|
|
4995
|
+
.muka-spinner--sm .muka-spinner__circle {
|
|
4996
|
+
width: 16px;
|
|
4997
|
+
height: 16px;
|
|
4998
|
+
border-width: 2px;
|
|
4999
|
+
}
|
|
5000
|
+
|
|
5001
|
+
.muka-spinner--md .muka-spinner__circle {
|
|
5002
|
+
width: 20px;
|
|
5003
|
+
height: 20px;
|
|
5004
|
+
border-width: 2px;
|
|
5005
|
+
}
|
|
5006
|
+
|
|
5007
|
+
.muka-spinner--lg .muka-spinner__circle {
|
|
5008
|
+
width: 24px;
|
|
5009
|
+
height: 24px;
|
|
5010
|
+
border-width: 3px;
|
|
5011
|
+
}
|
|
5012
|
+
|
|
5013
|
+
/* ─── Visually-hidden label ───────────────────────────── */
|
|
5014
|
+
|
|
5015
|
+
.muka-spinner__sr-label {
|
|
5016
|
+
position: absolute;
|
|
5017
|
+
width: 1px;
|
|
5018
|
+
height: 1px;
|
|
5019
|
+
padding: 0;
|
|
5020
|
+
margin: -1px;
|
|
5021
|
+
overflow: hidden;
|
|
5022
|
+
clip: rect(0, 0, 0, 0);
|
|
5023
|
+
white-space: nowrap;
|
|
5024
|
+
border: 0;
|
|
5025
|
+
}
|
|
5026
|
+
|
|
5027
|
+
/* ─── Reduced motion ──────────────────────────────────── */
|
|
5028
|
+
|
|
5029
|
+
@keyframes muka-spinner-rotate {
|
|
5030
|
+
to {
|
|
5031
|
+
transform: rotate(360deg);
|
|
5032
|
+
}
|
|
5033
|
+
}
|
|
5034
|
+
|
|
5035
|
+
@media (prefers-reduced-motion: reduce) {
|
|
5036
|
+
.muka-spinner__circle {
|
|
5037
|
+
animation-duration: 2.5s;
|
|
5038
|
+
}
|
|
5039
|
+
}
|
|
5040
|
+
|
|
5041
|
+
|
|
5042
5042
|
/* SmsOtpField */
|
|
5043
5043
|
/* SmsOtpField Component Styles - Using Muka Design Tokens */
|
|
5044
5044
|
|
|
@@ -7380,73 +7380,245 @@ body {
|
|
|
7380
7380
|
}
|
|
7381
7381
|
|
|
7382
7382
|
|
|
7383
|
-
/*
|
|
7384
|
-
/*
|
|
7383
|
+
/* Progress */
|
|
7384
|
+
/* Progress Component Styles - Using Muka Design Tokens */
|
|
7385
7385
|
|
|
7386
|
-
|
|
7387
|
-
|
|
7386
|
+
/* ========================================
|
|
7387
|
+
BAR VARIANT
|
|
7388
|
+
======================================== */
|
|
7389
|
+
|
|
7390
|
+
.muka-progress--bar {
|
|
7391
|
+
display: flex;
|
|
7388
7392
|
align-items: center;
|
|
7389
|
-
|
|
7393
|
+
gap: var(--spacing-2);
|
|
7394
|
+
width: 100%;
|
|
7390
7395
|
}
|
|
7391
7396
|
|
|
7392
|
-
|
|
7393
|
-
|
|
7394
|
-
|
|
7397
|
+
.muka-progress--bar .muka-progress__track {
|
|
7398
|
+
flex: 1;
|
|
7399
|
+
background-color: var(--color-surface-level1);
|
|
7400
|
+
border-radius: var(--border-radius-full);
|
|
7401
|
+
overflow: hidden;
|
|
7395
7402
|
}
|
|
7396
7403
|
|
|
7397
|
-
.muka-
|
|
7398
|
-
|
|
7404
|
+
.muka-progress--bar.muka-progress--sm .muka-progress__track {
|
|
7405
|
+
height: var(--progress-size-bar-height-sm);
|
|
7399
7406
|
}
|
|
7400
7407
|
|
|
7401
|
-
.muka-
|
|
7402
|
-
|
|
7408
|
+
.muka-progress--bar.muka-progress--md .muka-progress__track {
|
|
7409
|
+
height: var(--progress-size-bar-height-md);
|
|
7403
7410
|
}
|
|
7404
7411
|
|
|
7405
|
-
|
|
7406
|
-
|
|
7407
|
-
display: flex;
|
|
7408
|
-
flex-direction: column;
|
|
7409
|
-
align-items: flex-start;
|
|
7410
|
-
min-width: 0;
|
|
7412
|
+
.muka-progress--bar.muka-progress--lg .muka-progress__track {
|
|
7413
|
+
height: var(--progress-size-bar-height-lg);
|
|
7411
7414
|
}
|
|
7412
7415
|
|
|
7413
|
-
.muka-
|
|
7414
|
-
|
|
7415
|
-
|
|
7416
|
-
|
|
7417
|
-
|
|
7418
|
-
color: var(--color-text-default-default);
|
|
7416
|
+
.muka-progress--bar .muka-progress__fill {
|
|
7417
|
+
height: 100%;
|
|
7418
|
+
background-color: var(--color-action-default);
|
|
7419
|
+
border-radius: var(--border-radius-full);
|
|
7420
|
+
transition: width 0.3s ease;
|
|
7419
7421
|
}
|
|
7420
7422
|
|
|
7421
|
-
.muka-
|
|
7422
|
-
|
|
7423
|
-
font-
|
|
7424
|
-
font-weight: var(--text-
|
|
7425
|
-
|
|
7426
|
-
|
|
7423
|
+
.muka-progress--bar .muka-progress__label {
|
|
7424
|
+
flex-shrink: 0;
|
|
7425
|
+
font-family: var(--text-label-sm-semibold-fontFamily);
|
|
7426
|
+
font-weight: var(--text-label-sm-semibold-fontWeight);
|
|
7427
|
+
font-size: var(--text-label-sm-semibold-fontSize);
|
|
7428
|
+
line-height: var(--text-label-sm-semibold-lineHeight);
|
|
7429
|
+
color: var(--color-text-default-default);
|
|
7430
|
+
min-width: 3ch;
|
|
7431
|
+
text-align: right;
|
|
7427
7432
|
}
|
|
7428
7433
|
|
|
7429
|
-
/*
|
|
7430
|
-
.muka-
|
|
7431
|
-
|
|
7432
|
-
|
|
7433
|
-
background: none;
|
|
7434
|
-
padding: 0;
|
|
7435
|
-
text-align: left;
|
|
7436
|
-
border-radius: var(--radius-md);
|
|
7437
|
-
transition: opacity 0.2s ease;
|
|
7434
|
+
/* Indeterminate animation for bar */
|
|
7435
|
+
.muka-progress--bar.muka-progress--indeterminate .muka-progress__fill {
|
|
7436
|
+
width: 40%;
|
|
7437
|
+
animation: muka-progress-bar-indeterminate 1.5s ease-in-out infinite;
|
|
7438
7438
|
}
|
|
7439
7439
|
|
|
7440
|
-
|
|
7441
|
-
|
|
7440
|
+
@keyframes muka-progress-bar-indeterminate {
|
|
7441
|
+
0% {
|
|
7442
|
+
transform: translateX(-100%);
|
|
7443
|
+
}
|
|
7444
|
+
100% {
|
|
7445
|
+
transform: translateX(250%);
|
|
7446
|
+
}
|
|
7442
7447
|
}
|
|
7443
7448
|
|
|
7444
|
-
|
|
7445
|
-
|
|
7449
|
+
/* ========================================
|
|
7450
|
+
CIRCLE VARIANT
|
|
7451
|
+
======================================== */
|
|
7452
|
+
|
|
7453
|
+
.muka-progress--circle {
|
|
7454
|
+
position: relative;
|
|
7455
|
+
display: inline-flex;
|
|
7456
|
+
align-items: center;
|
|
7457
|
+
justify-content: center;
|
|
7446
7458
|
}
|
|
7447
7459
|
|
|
7448
|
-
.muka-
|
|
7449
|
-
|
|
7460
|
+
.muka-progress--circle.muka-progress--sm {
|
|
7461
|
+
width: var(--progress-size-circle-diameter-sm);
|
|
7462
|
+
height: var(--progress-size-circle-diameter-sm);
|
|
7463
|
+
}
|
|
7464
|
+
|
|
7465
|
+
.muka-progress--circle.muka-progress--md {
|
|
7466
|
+
width: var(--progress-size-circle-diameter-md);
|
|
7467
|
+
height: var(--progress-size-circle-diameter-md);
|
|
7468
|
+
}
|
|
7469
|
+
|
|
7470
|
+
.muka-progress--circle.muka-progress--lg {
|
|
7471
|
+
width: var(--progress-size-circle-diameter-lg);
|
|
7472
|
+
height: var(--progress-size-circle-diameter-lg);
|
|
7473
|
+
}
|
|
7474
|
+
|
|
7475
|
+
.muka-progress__circle {
|
|
7476
|
+
width: 100%;
|
|
7477
|
+
height: 100%;
|
|
7478
|
+
transform: rotate(-90deg);
|
|
7479
|
+
}
|
|
7480
|
+
|
|
7481
|
+
.muka-progress--circle .muka-progress__track {
|
|
7482
|
+
fill: none;
|
|
7483
|
+
stroke: var(--color-surface-level1);
|
|
7484
|
+
}
|
|
7485
|
+
|
|
7486
|
+
.muka-progress--circle.muka-progress--sm .muka-progress__track,
|
|
7487
|
+
.muka-progress--circle.muka-progress--sm .muka-progress__fill {
|
|
7488
|
+
stroke-width: var(--progress-size-circle-strokeWidth-sm);
|
|
7489
|
+
}
|
|
7490
|
+
|
|
7491
|
+
.muka-progress--circle.muka-progress--md .muka-progress__track,
|
|
7492
|
+
.muka-progress--circle.muka-progress--md .muka-progress__fill {
|
|
7493
|
+
stroke-width: var(--progress-size-circle-strokeWidth-md);
|
|
7494
|
+
}
|
|
7495
|
+
|
|
7496
|
+
.muka-progress--circle.muka-progress--lg .muka-progress__track,
|
|
7497
|
+
.muka-progress--circle.muka-progress--lg .muka-progress__fill {
|
|
7498
|
+
stroke-width: var(--progress-size-circle-strokeWidth-lg);
|
|
7499
|
+
}
|
|
7500
|
+
|
|
7501
|
+
.muka-progress--circle .muka-progress__fill {
|
|
7502
|
+
fill: none;
|
|
7503
|
+
stroke: var(--color-action-default);
|
|
7504
|
+
stroke-linecap: round;
|
|
7505
|
+
transition: stroke-dashoffset 0.3s ease;
|
|
7506
|
+
}
|
|
7507
|
+
|
|
7508
|
+
.muka-progress--circle .muka-progress__label {
|
|
7509
|
+
position: absolute;
|
|
7510
|
+
font-family: var(--text-label-sm-semibold-fontFamily);
|
|
7511
|
+
font-weight: var(--text-label-sm-semibold-fontWeight);
|
|
7512
|
+
color: var(--color-text-default-default);
|
|
7513
|
+
}
|
|
7514
|
+
|
|
7515
|
+
.muka-progress--circle.muka-progress--sm .muka-progress__label {
|
|
7516
|
+
font-size: var(--text-label-sm-semibold-fontSize);
|
|
7517
|
+
}
|
|
7518
|
+
|
|
7519
|
+
.muka-progress--circle.muka-progress--md .muka-progress__label {
|
|
7520
|
+
font-size: var(--text-label-md-semibold-fontSize);
|
|
7521
|
+
}
|
|
7522
|
+
|
|
7523
|
+
.muka-progress--circle.muka-progress--lg .muka-progress__label {
|
|
7524
|
+
font-size: var(--text-label-lg-semibold-fontSize);
|
|
7525
|
+
}
|
|
7526
|
+
|
|
7527
|
+
/* Indeterminate animation for circle */
|
|
7528
|
+
.muka-progress--circle.muka-progress--indeterminate .muka-progress__circle {
|
|
7529
|
+
animation: muka-progress-circle-rotate 2s linear infinite;
|
|
7530
|
+
}
|
|
7531
|
+
|
|
7532
|
+
.muka-progress--circle.muka-progress--indeterminate .muka-progress__fill {
|
|
7533
|
+
animation: muka-progress-circle-dash 1.5s ease-in-out infinite;
|
|
7534
|
+
}
|
|
7535
|
+
|
|
7536
|
+
@keyframes muka-progress-circle-rotate {
|
|
7537
|
+
100% {
|
|
7538
|
+
transform: rotate(270deg);
|
|
7539
|
+
}
|
|
7540
|
+
}
|
|
7541
|
+
|
|
7542
|
+
@keyframes muka-progress-circle-dash {
|
|
7543
|
+
0% {
|
|
7544
|
+
stroke-dashoffset: 220;
|
|
7545
|
+
}
|
|
7546
|
+
50% {
|
|
7547
|
+
stroke-dashoffset: 70;
|
|
7548
|
+
}
|
|
7549
|
+
100% {
|
|
7550
|
+
stroke-dashoffset: 220;
|
|
7551
|
+
}
|
|
7552
|
+
}
|
|
7553
|
+
|
|
7554
|
+
|
|
7555
|
+
/* ProfileBadge */
|
|
7556
|
+
/* ProfileBadge Component Styles - Using Muka Design Tokens */
|
|
7557
|
+
|
|
7558
|
+
.muka-profile-badge {
|
|
7559
|
+
display: inline-flex;
|
|
7560
|
+
align-items: center;
|
|
7561
|
+
font-family: var(--text-body-base-regular-fontFamily);
|
|
7562
|
+
}
|
|
7563
|
+
|
|
7564
|
+
/* Size variants */
|
|
7565
|
+
.muka-profile-badge--lg {
|
|
7566
|
+
gap: var(--spacing-4); /* 16px */
|
|
7567
|
+
}
|
|
7568
|
+
|
|
7569
|
+
.muka-profile-badge--md {
|
|
7570
|
+
gap: var(--spacing-3); /* 12px */
|
|
7571
|
+
}
|
|
7572
|
+
|
|
7573
|
+
.muka-profile-badge__avatar {
|
|
7574
|
+
flex-shrink: 0;
|
|
7575
|
+
}
|
|
7576
|
+
|
|
7577
|
+
/* Text stack */
|
|
7578
|
+
.muka-profile-badge__text {
|
|
7579
|
+
display: flex;
|
|
7580
|
+
flex-direction: column;
|
|
7581
|
+
align-items: flex-start;
|
|
7582
|
+
min-width: 0;
|
|
7583
|
+
}
|
|
7584
|
+
|
|
7585
|
+
.muka-profile-badge__name {
|
|
7586
|
+
font-family: var(--text-body-base-regular-fontFamily);
|
|
7587
|
+
font-size: var(--text-body-base-regular-fontSize);
|
|
7588
|
+
font-weight: var(--text-body-base-regular-fontWeight);
|
|
7589
|
+
line-height: var(--text-body-base-regular-lineHeight);
|
|
7590
|
+
color: var(--color-text-default-default);
|
|
7591
|
+
}
|
|
7592
|
+
|
|
7593
|
+
.muka-profile-badge__email {
|
|
7594
|
+
font-family: var(--text-body-xs-regular-fontFamily);
|
|
7595
|
+
font-size: var(--text-body-xs-regular-fontSize);
|
|
7596
|
+
font-weight: var(--text-body-xs-regular-fontWeight);
|
|
7597
|
+
line-height: var(--text-body-xs-regular-lineHeight);
|
|
7598
|
+
color: var(--color-text-subtle-default);
|
|
7599
|
+
}
|
|
7600
|
+
|
|
7601
|
+
/* Clickable state */
|
|
7602
|
+
.muka-profile-badge--clickable {
|
|
7603
|
+
cursor: pointer;
|
|
7604
|
+
border: none;
|
|
7605
|
+
background: none;
|
|
7606
|
+
padding: 0;
|
|
7607
|
+
text-align: left;
|
|
7608
|
+
border-radius: var(--radius-md);
|
|
7609
|
+
transition: opacity 0.2s ease;
|
|
7610
|
+
}
|
|
7611
|
+
|
|
7612
|
+
.muka-profile-badge--clickable:hover {
|
|
7613
|
+
opacity: 0.9;
|
|
7614
|
+
}
|
|
7615
|
+
|
|
7616
|
+
.muka-profile-badge--clickable:active {
|
|
7617
|
+
opacity: 0.8;
|
|
7618
|
+
}
|
|
7619
|
+
|
|
7620
|
+
.muka-profile-badge--clickable:focus-visible {
|
|
7621
|
+
outline: 2px solid var(--color-border-focus);
|
|
7450
7622
|
outline-offset: 2px;
|
|
7451
7623
|
}
|
|
7452
7624
|
|
|
@@ -7579,239 +7751,67 @@ body {
|
|
|
7579
7751
|
}
|
|
7580
7752
|
|
|
7581
7753
|
|
|
7582
|
-
/*
|
|
7583
|
-
/*
|
|
7584
|
-
|
|
7585
|
-
/* ========================================
|
|
7586
|
-
BAR VARIANT
|
|
7587
|
-
======================================== */
|
|
7754
|
+
/* PieChart */
|
|
7755
|
+
/* PieChart Component Styles - Using Muka Design Tokens */
|
|
7588
7756
|
|
|
7589
|
-
.muka-
|
|
7590
|
-
display: flex;
|
|
7757
|
+
.muka-piechart {
|
|
7758
|
+
display: inline-flex;
|
|
7591
7759
|
align-items: center;
|
|
7592
|
-
gap: var(--spacing-
|
|
7593
|
-
width: 100%;
|
|
7760
|
+
gap: var(--spacing-4);
|
|
7594
7761
|
}
|
|
7595
7762
|
|
|
7596
|
-
|
|
7597
|
-
|
|
7598
|
-
|
|
7599
|
-
border-radius: var(--border-radius-full);
|
|
7600
|
-
overflow: hidden;
|
|
7763
|
+
/* Legend layout */
|
|
7764
|
+
.muka-piechart--legend-right {
|
|
7765
|
+
flex-direction: row;
|
|
7601
7766
|
}
|
|
7602
7767
|
|
|
7603
|
-
.muka-
|
|
7604
|
-
|
|
7768
|
+
.muka-piechart--legend-bottom {
|
|
7769
|
+
flex-direction: column;
|
|
7605
7770
|
}
|
|
7606
7771
|
|
|
7607
|
-
|
|
7608
|
-
|
|
7772
|
+
/* ========================================
|
|
7773
|
+
CHART
|
|
7774
|
+
======================================== */
|
|
7775
|
+
|
|
7776
|
+
.muka-piechart__chart {
|
|
7777
|
+
position: relative;
|
|
7778
|
+
flex-shrink: 0;
|
|
7609
7779
|
}
|
|
7610
7780
|
|
|
7611
|
-
.muka-
|
|
7612
|
-
|
|
7781
|
+
.muka-piechart__chart--sm {
|
|
7782
|
+
width: var(--piechart-size-diameter-sm);
|
|
7783
|
+
height: var(--piechart-size-diameter-sm);
|
|
7613
7784
|
}
|
|
7614
7785
|
|
|
7615
|
-
.muka-
|
|
7616
|
-
|
|
7617
|
-
|
|
7618
|
-
border-radius: var(--border-radius-full);
|
|
7619
|
-
transition: width 0.3s ease;
|
|
7786
|
+
.muka-piechart__chart--md {
|
|
7787
|
+
width: var(--piechart-size-diameter-md);
|
|
7788
|
+
height: var(--piechart-size-diameter-md);
|
|
7620
7789
|
}
|
|
7621
7790
|
|
|
7622
|
-
.muka-
|
|
7623
|
-
|
|
7624
|
-
|
|
7625
|
-
font-weight: var(--text-label-sm-semibold-fontWeight);
|
|
7626
|
-
font-size: var(--text-label-sm-semibold-fontSize);
|
|
7627
|
-
line-height: var(--text-label-sm-semibold-lineHeight);
|
|
7628
|
-
color: var(--color-text-default-default);
|
|
7629
|
-
min-width: 3ch;
|
|
7630
|
-
text-align: right;
|
|
7791
|
+
.muka-piechart__chart--lg {
|
|
7792
|
+
width: var(--piechart-size-diameter-lg);
|
|
7793
|
+
height: var(--piechart-size-diameter-lg);
|
|
7631
7794
|
}
|
|
7632
7795
|
|
|
7633
|
-
|
|
7634
|
-
|
|
7635
|
-
width:
|
|
7636
|
-
|
|
7796
|
+
.muka-piechart__svg {
|
|
7797
|
+
display: block;
|
|
7798
|
+
width: 100%;
|
|
7799
|
+
height: 100%;
|
|
7800
|
+
/* Start slices at 12 o'clock instead of 3 o'clock */
|
|
7801
|
+
transform: rotate(-90deg);
|
|
7637
7802
|
}
|
|
7638
7803
|
|
|
7639
|
-
|
|
7640
|
-
|
|
7641
|
-
|
|
7642
|
-
|
|
7643
|
-
|
|
7644
|
-
|
|
7645
|
-
|
|
7804
|
+
.muka-piechart__track {
|
|
7805
|
+
fill: none;
|
|
7806
|
+
stroke: var(--piechart-color-track);
|
|
7807
|
+
}
|
|
7808
|
+
|
|
7809
|
+
.muka-piechart__segment {
|
|
7810
|
+
fill: none;
|
|
7646
7811
|
}
|
|
7647
7812
|
|
|
7648
7813
|
/* ========================================
|
|
7649
|
-
|
|
7650
|
-
======================================== */
|
|
7651
|
-
|
|
7652
|
-
.muka-progress--circle {
|
|
7653
|
-
position: relative;
|
|
7654
|
-
display: inline-flex;
|
|
7655
|
-
align-items: center;
|
|
7656
|
-
justify-content: center;
|
|
7657
|
-
}
|
|
7658
|
-
|
|
7659
|
-
.muka-progress--circle.muka-progress--sm {
|
|
7660
|
-
width: var(--progress-size-circle-diameter-sm);
|
|
7661
|
-
height: var(--progress-size-circle-diameter-sm);
|
|
7662
|
-
}
|
|
7663
|
-
|
|
7664
|
-
.muka-progress--circle.muka-progress--md {
|
|
7665
|
-
width: var(--progress-size-circle-diameter-md);
|
|
7666
|
-
height: var(--progress-size-circle-diameter-md);
|
|
7667
|
-
}
|
|
7668
|
-
|
|
7669
|
-
.muka-progress--circle.muka-progress--lg {
|
|
7670
|
-
width: var(--progress-size-circle-diameter-lg);
|
|
7671
|
-
height: var(--progress-size-circle-diameter-lg);
|
|
7672
|
-
}
|
|
7673
|
-
|
|
7674
|
-
.muka-progress__circle {
|
|
7675
|
-
width: 100%;
|
|
7676
|
-
height: 100%;
|
|
7677
|
-
transform: rotate(-90deg);
|
|
7678
|
-
}
|
|
7679
|
-
|
|
7680
|
-
.muka-progress--circle .muka-progress__track {
|
|
7681
|
-
fill: none;
|
|
7682
|
-
stroke: var(--color-surface-level1);
|
|
7683
|
-
}
|
|
7684
|
-
|
|
7685
|
-
.muka-progress--circle.muka-progress--sm .muka-progress__track,
|
|
7686
|
-
.muka-progress--circle.muka-progress--sm .muka-progress__fill {
|
|
7687
|
-
stroke-width: var(--progress-size-circle-strokeWidth-sm);
|
|
7688
|
-
}
|
|
7689
|
-
|
|
7690
|
-
.muka-progress--circle.muka-progress--md .muka-progress__track,
|
|
7691
|
-
.muka-progress--circle.muka-progress--md .muka-progress__fill {
|
|
7692
|
-
stroke-width: var(--progress-size-circle-strokeWidth-md);
|
|
7693
|
-
}
|
|
7694
|
-
|
|
7695
|
-
.muka-progress--circle.muka-progress--lg .muka-progress__track,
|
|
7696
|
-
.muka-progress--circle.muka-progress--lg .muka-progress__fill {
|
|
7697
|
-
stroke-width: var(--progress-size-circle-strokeWidth-lg);
|
|
7698
|
-
}
|
|
7699
|
-
|
|
7700
|
-
.muka-progress--circle .muka-progress__fill {
|
|
7701
|
-
fill: none;
|
|
7702
|
-
stroke: var(--color-action-default);
|
|
7703
|
-
stroke-linecap: round;
|
|
7704
|
-
transition: stroke-dashoffset 0.3s ease;
|
|
7705
|
-
}
|
|
7706
|
-
|
|
7707
|
-
.muka-progress--circle .muka-progress__label {
|
|
7708
|
-
position: absolute;
|
|
7709
|
-
font-family: var(--text-label-sm-semibold-fontFamily);
|
|
7710
|
-
font-weight: var(--text-label-sm-semibold-fontWeight);
|
|
7711
|
-
color: var(--color-text-default-default);
|
|
7712
|
-
}
|
|
7713
|
-
|
|
7714
|
-
.muka-progress--circle.muka-progress--sm .muka-progress__label {
|
|
7715
|
-
font-size: var(--text-label-sm-semibold-fontSize);
|
|
7716
|
-
}
|
|
7717
|
-
|
|
7718
|
-
.muka-progress--circle.muka-progress--md .muka-progress__label {
|
|
7719
|
-
font-size: var(--text-label-md-semibold-fontSize);
|
|
7720
|
-
}
|
|
7721
|
-
|
|
7722
|
-
.muka-progress--circle.muka-progress--lg .muka-progress__label {
|
|
7723
|
-
font-size: var(--text-label-lg-semibold-fontSize);
|
|
7724
|
-
}
|
|
7725
|
-
|
|
7726
|
-
/* Indeterminate animation for circle */
|
|
7727
|
-
.muka-progress--circle.muka-progress--indeterminate .muka-progress__circle {
|
|
7728
|
-
animation: muka-progress-circle-rotate 2s linear infinite;
|
|
7729
|
-
}
|
|
7730
|
-
|
|
7731
|
-
.muka-progress--circle.muka-progress--indeterminate .muka-progress__fill {
|
|
7732
|
-
animation: muka-progress-circle-dash 1.5s ease-in-out infinite;
|
|
7733
|
-
}
|
|
7734
|
-
|
|
7735
|
-
@keyframes muka-progress-circle-rotate {
|
|
7736
|
-
100% {
|
|
7737
|
-
transform: rotate(270deg);
|
|
7738
|
-
}
|
|
7739
|
-
}
|
|
7740
|
-
|
|
7741
|
-
@keyframes muka-progress-circle-dash {
|
|
7742
|
-
0% {
|
|
7743
|
-
stroke-dashoffset: 220;
|
|
7744
|
-
}
|
|
7745
|
-
50% {
|
|
7746
|
-
stroke-dashoffset: 70;
|
|
7747
|
-
}
|
|
7748
|
-
100% {
|
|
7749
|
-
stroke-dashoffset: 220;
|
|
7750
|
-
}
|
|
7751
|
-
}
|
|
7752
|
-
|
|
7753
|
-
|
|
7754
|
-
/* PieChart */
|
|
7755
|
-
/* PieChart Component Styles - Using Muka Design Tokens */
|
|
7756
|
-
|
|
7757
|
-
.muka-piechart {
|
|
7758
|
-
display: inline-flex;
|
|
7759
|
-
align-items: center;
|
|
7760
|
-
gap: var(--spacing-4);
|
|
7761
|
-
}
|
|
7762
|
-
|
|
7763
|
-
/* Legend layout */
|
|
7764
|
-
.muka-piechart--legend-right {
|
|
7765
|
-
flex-direction: row;
|
|
7766
|
-
}
|
|
7767
|
-
|
|
7768
|
-
.muka-piechart--legend-bottom {
|
|
7769
|
-
flex-direction: column;
|
|
7770
|
-
}
|
|
7771
|
-
|
|
7772
|
-
/* ========================================
|
|
7773
|
-
CHART
|
|
7774
|
-
======================================== */
|
|
7775
|
-
|
|
7776
|
-
.muka-piechart__chart {
|
|
7777
|
-
position: relative;
|
|
7778
|
-
flex-shrink: 0;
|
|
7779
|
-
}
|
|
7780
|
-
|
|
7781
|
-
.muka-piechart__chart--sm {
|
|
7782
|
-
width: var(--piechart-size-diameter-sm);
|
|
7783
|
-
height: var(--piechart-size-diameter-sm);
|
|
7784
|
-
}
|
|
7785
|
-
|
|
7786
|
-
.muka-piechart__chart--md {
|
|
7787
|
-
width: var(--piechart-size-diameter-md);
|
|
7788
|
-
height: var(--piechart-size-diameter-md);
|
|
7789
|
-
}
|
|
7790
|
-
|
|
7791
|
-
.muka-piechart__chart--lg {
|
|
7792
|
-
width: var(--piechart-size-diameter-lg);
|
|
7793
|
-
height: var(--piechart-size-diameter-lg);
|
|
7794
|
-
}
|
|
7795
|
-
|
|
7796
|
-
.muka-piechart__svg {
|
|
7797
|
-
display: block;
|
|
7798
|
-
width: 100%;
|
|
7799
|
-
height: 100%;
|
|
7800
|
-
/* Start slices at 12 o'clock instead of 3 o'clock */
|
|
7801
|
-
transform: rotate(-90deg);
|
|
7802
|
-
}
|
|
7803
|
-
|
|
7804
|
-
.muka-piechart__track {
|
|
7805
|
-
fill: none;
|
|
7806
|
-
stroke: var(--piechart-color-track);
|
|
7807
|
-
}
|
|
7808
|
-
|
|
7809
|
-
.muka-piechart__segment {
|
|
7810
|
-
fill: none;
|
|
7811
|
-
}
|
|
7812
|
-
|
|
7813
|
-
/* ========================================
|
|
7814
|
-
LEGEND
|
|
7814
|
+
LEGEND
|
|
7815
7815
|
======================================== */
|
|
7816
7816
|
|
|
7817
7817
|
.muka-piechart__legend {
|
|
@@ -8633,256 +8633,62 @@ body {
|
|
|
8633
8633
|
}
|
|
8634
8634
|
|
|
8635
8635
|
|
|
8636
|
-
/*
|
|
8637
|
-
/*
|
|
8636
|
+
/* MediaViewer */
|
|
8637
|
+
/* MediaViewer Component Styles - Using Muka Design Tokens */
|
|
8638
8638
|
|
|
8639
|
-
/*
|
|
8640
|
-
.muka-
|
|
8641
|
-
|
|
8642
|
-
|
|
8643
|
-
|
|
8644
|
-
|
|
8645
|
-
|
|
8646
|
-
|
|
8647
|
-
|
|
8648
|
-
|
|
8649
|
-
|
|
8650
|
-
/* Typography */
|
|
8651
|
-
font-family: var(--alias-font-brand-family);
|
|
8652
|
-
|
|
8653
|
-
/* Border and spacing */
|
|
8639
|
+
/* ─── Native dialog: full viewport ────────────────────── */
|
|
8640
|
+
.muka-media-viewer {
|
|
8641
|
+
position: fixed;
|
|
8642
|
+
inset: 0;
|
|
8643
|
+
width: 100%;
|
|
8644
|
+
height: 100%;
|
|
8645
|
+
max-width: none;
|
|
8646
|
+
max-height: none;
|
|
8647
|
+
margin: 0;
|
|
8648
|
+
padding: 0;
|
|
8654
8649
|
border: none;
|
|
8655
|
-
|
|
8656
|
-
|
|
8657
|
-
|
|
8658
|
-
|
|
8659
|
-
|
|
8660
|
-
|
|
8661
|
-
|
|
8662
|
-
.muka-listitem--interactive {
|
|
8663
|
-
cursor: pointer;
|
|
8664
|
-
}
|
|
8665
|
-
|
|
8666
|
-
/*
|
|
8667
|
-
* surface.hover / surface.pressed are theme-adaptive translucent tints, so they
|
|
8668
|
-
* are layered on top of the item's base surface via an inset box-shadow overlay
|
|
8669
|
-
* rather than replacing background-color. This preserves the base level (level3,
|
|
8670
|
-
* or level2 when selected) and lets the tint read correctly on any surface.
|
|
8671
|
-
*/
|
|
8672
|
-
.muka-listitem--interactive:hover:not(:disabled):not(.muka-listitem--disabled) {
|
|
8673
|
-
box-shadow: inset 0 0 0 9999px var(--color-surface-hover);
|
|
8650
|
+
display: flex;
|
|
8651
|
+
flex-direction: column;
|
|
8652
|
+
overflow: hidden;
|
|
8653
|
+
overscroll-behavior: contain;
|
|
8654
|
+
color: var(--color-text-default-default);
|
|
8655
|
+
background-color: var(--color-black-alpha-12);
|
|
8656
|
+
animation: muka-media-viewer-in var(--motion-duration-component) var(--motion-easing-enter);
|
|
8674
8657
|
}
|
|
8675
8658
|
|
|
8676
|
-
.muka-
|
|
8677
|
-
|
|
8678
|
-
box-shadow: inset 0 0 0 9999px var(--color-surface-pressed);
|
|
8659
|
+
.muka-media-viewer:not([open]) {
|
|
8660
|
+
display: none;
|
|
8679
8661
|
}
|
|
8680
8662
|
|
|
8681
|
-
|
|
8682
|
-
|
|
8683
|
-
outline: 2px solid var(--color-border-focus);
|
|
8684
|
-
outline-offset: -2px;
|
|
8663
|
+
.muka-media-viewer::backdrop {
|
|
8664
|
+
background-color: var(--color-black-alpha-12);
|
|
8685
8665
|
}
|
|
8686
8666
|
|
|
8687
|
-
|
|
8688
|
-
|
|
8689
|
-
|
|
8690
|
-
|
|
8691
|
-
|
|
8667
|
+
@keyframes muka-media-viewer-in {
|
|
8668
|
+
from {
|
|
8669
|
+
opacity: 0;
|
|
8670
|
+
}
|
|
8671
|
+
to {
|
|
8672
|
+
opacity: 1;
|
|
8673
|
+
}
|
|
8692
8674
|
}
|
|
8693
8675
|
|
|
8694
|
-
|
|
8676
|
+
/* ─── Chrome: TopBar and footer sit on a surface ──────── */
|
|
8677
|
+
.muka-media-viewer__topbar {
|
|
8678
|
+
flex-shrink: 0;
|
|
8695
8679
|
background-color: var(--color-surface-level3);
|
|
8696
8680
|
}
|
|
8697
8681
|
|
|
8698
|
-
|
|
8699
|
-
|
|
8700
|
-
|
|
8701
|
-
|
|
8702
|
-
|
|
8703
|
-
|
|
8704
|
-
|
|
8705
|
-
|
|
8706
|
-
|
|
8707
|
-
|
|
8708
|
-
.muka-listitem--no-divider .muka-listitem__divider {
|
|
8709
|
-
display: none;
|
|
8710
|
-
}
|
|
8711
|
-
|
|
8712
|
-
/* Center content vertically when no caption */
|
|
8713
|
-
.muka-listitem--no-caption {
|
|
8714
|
-
align-items: center;
|
|
8715
|
-
}
|
|
8716
|
-
|
|
8717
|
-
/* Leading content (icon or image) */
|
|
8718
|
-
.muka-listitem__leading {
|
|
8719
|
-
display: flex;
|
|
8720
|
-
align-items: center;
|
|
8721
|
-
justify-content: center;
|
|
8722
|
-
flex-shrink: 0;
|
|
8723
|
-
width: 48px;
|
|
8724
|
-
height: 48px;
|
|
8725
|
-
}
|
|
8726
|
-
|
|
8727
|
-
.muka-listitem__icon {
|
|
8728
|
-
display: inline-flex;
|
|
8729
|
-
align-items: center;
|
|
8730
|
-
justify-content: center;
|
|
8731
|
-
width: 32px;
|
|
8732
|
-
height: 32px;
|
|
8733
|
-
color: var(--color-text-default-default);
|
|
8734
|
-
}
|
|
8735
|
-
|
|
8736
|
-
.muka-listitem__image {
|
|
8737
|
-
width: 48px;
|
|
8738
|
-
height: 48px;
|
|
8739
|
-
border-radius: var(--radius-md);
|
|
8740
|
-
object-fit: cover;
|
|
8741
|
-
}
|
|
8742
|
-
|
|
8743
|
-
/* Main content area */
|
|
8744
|
-
.muka-listitem__content {
|
|
8745
|
-
flex: 1;
|
|
8746
|
-
display: flex;
|
|
8747
|
-
align-items: center;
|
|
8748
|
-
gap: var(--spacing-4);
|
|
8749
|
-
min-width: 0;
|
|
8750
|
-
}
|
|
8751
|
-
|
|
8752
|
-
.muka-listitem__text {
|
|
8753
|
-
flex: 1;
|
|
8754
|
-
display: flex;
|
|
8755
|
-
flex-direction: column;
|
|
8756
|
-
gap: var(--spacing-1);
|
|
8757
|
-
min-width: 0;
|
|
8758
|
-
}
|
|
8759
|
-
|
|
8760
|
-
/* Label text */
|
|
8761
|
-
.muka-listitem__label {
|
|
8762
|
-
margin: 0;
|
|
8763
|
-
padding: 0;
|
|
8764
|
-
|
|
8765
|
-
/* Typography - using semantic tokens */
|
|
8766
|
-
font-family: var(--alias-font-plain-family);
|
|
8767
|
-
font-weight: var(--alias-font-plain-weight-semibold, 600);
|
|
8768
|
-
font-size: var(--text-label-md-fontSize);
|
|
8769
|
-
line-height: var(--text-label-md-lineHeight);
|
|
8770
|
-
color: var(--color-text-default-default);
|
|
8771
|
-
|
|
8772
|
-
/* Text handling */
|
|
8773
|
-
overflow: hidden;
|
|
8774
|
-
text-overflow: ellipsis;
|
|
8775
|
-
white-space: nowrap;
|
|
8776
|
-
}
|
|
8777
|
-
|
|
8778
|
-
/* Caption text */
|
|
8779
|
-
.muka-listitem__caption {
|
|
8780
|
-
margin: 0;
|
|
8781
|
-
padding: 0;
|
|
8782
|
-
|
|
8783
|
-
/* Typography - using semantic tokens */
|
|
8784
|
-
font-family: var(--alias-font-plain-family);
|
|
8785
|
-
font-weight: var(--alias-font-plain-weight-regular, 400);
|
|
8786
|
-
font-size: var(--text-body-sm-fontSize);
|
|
8787
|
-
line-height: var(--text-body-sm-lineHeight);
|
|
8788
|
-
color: var(--color-text-subtle-default);
|
|
8789
|
-
|
|
8790
|
-
/* Text handling */
|
|
8791
|
-
overflow: hidden;
|
|
8792
|
-
text-overflow: ellipsis;
|
|
8793
|
-
white-space: nowrap;
|
|
8794
|
-
}
|
|
8795
|
-
|
|
8796
|
-
/* Trailing chevron */
|
|
8797
|
-
.muka-listitem__chevron {
|
|
8798
|
-
display: inline-flex;
|
|
8799
|
-
align-items: center;
|
|
8800
|
-
justify-content: center;
|
|
8801
|
-
flex-shrink: 0;
|
|
8802
|
-
width: 24px;
|
|
8803
|
-
height: 24px;
|
|
8804
|
-
color: var(--color-text-subtle-default);
|
|
8805
|
-
}
|
|
8806
|
-
|
|
8807
|
-
/* Bottom divider */
|
|
8808
|
-
.muka-listitem__divider {
|
|
8809
|
-
position: absolute;
|
|
8810
|
-
bottom: 0;
|
|
8811
|
-
left: 0;
|
|
8812
|
-
right: 0;
|
|
8813
|
-
height: 1px;
|
|
8814
|
-
background-color: var(--color-border-default);
|
|
8815
|
-
}
|
|
8816
|
-
|
|
8817
|
-
/* Button and anchor specific styles */
|
|
8818
|
-
button.muka-listitem,
|
|
8819
|
-
a.muka-listitem {
|
|
8820
|
-
text-align: left;
|
|
8821
|
-
width: 100%;
|
|
8822
|
-
}
|
|
8823
|
-
|
|
8824
|
-
/* List item specific styles */
|
|
8825
|
-
li.muka-listitem {
|
|
8826
|
-
list-style: none;
|
|
8827
|
-
}
|
|
8828
|
-
|
|
8829
|
-
|
|
8830
|
-
/* MediaViewer */
|
|
8831
|
-
/* MediaViewer Component Styles - Using Muka Design Tokens */
|
|
8832
|
-
|
|
8833
|
-
/* ─── Native dialog: full viewport ────────────────────── */
|
|
8834
|
-
.muka-media-viewer {
|
|
8835
|
-
position: fixed;
|
|
8836
|
-
inset: 0;
|
|
8837
|
-
width: 100%;
|
|
8838
|
-
height: 100%;
|
|
8839
|
-
max-width: none;
|
|
8840
|
-
max-height: none;
|
|
8841
|
-
margin: 0;
|
|
8842
|
-
padding: 0;
|
|
8843
|
-
border: none;
|
|
8844
|
-
display: flex;
|
|
8845
|
-
flex-direction: column;
|
|
8846
|
-
overflow: hidden;
|
|
8847
|
-
overscroll-behavior: contain;
|
|
8848
|
-
color: var(--color-text-default-default);
|
|
8849
|
-
background-color: var(--color-black-alpha-12);
|
|
8850
|
-
animation: muka-media-viewer-in var(--motion-duration-component) var(--motion-easing-enter);
|
|
8851
|
-
}
|
|
8852
|
-
|
|
8853
|
-
.muka-media-viewer:not([open]) {
|
|
8854
|
-
display: none;
|
|
8855
|
-
}
|
|
8856
|
-
|
|
8857
|
-
.muka-media-viewer::backdrop {
|
|
8858
|
-
background-color: var(--color-black-alpha-12);
|
|
8859
|
-
}
|
|
8860
|
-
|
|
8861
|
-
@keyframes muka-media-viewer-in {
|
|
8862
|
-
from {
|
|
8863
|
-
opacity: 0;
|
|
8864
|
-
}
|
|
8865
|
-
to {
|
|
8866
|
-
opacity: 1;
|
|
8867
|
-
}
|
|
8868
|
-
}
|
|
8869
|
-
|
|
8870
|
-
/* ─── Chrome: TopBar and footer sit on a surface ──────── */
|
|
8871
|
-
.muka-media-viewer__topbar {
|
|
8872
|
-
flex-shrink: 0;
|
|
8873
|
-
background-color: var(--color-surface-level3);
|
|
8874
|
-
}
|
|
8875
|
-
|
|
8876
|
-
.muka-media-viewer__live {
|
|
8877
|
-
position: absolute;
|
|
8878
|
-
width: 1px;
|
|
8879
|
-
height: 1px;
|
|
8880
|
-
padding: 0;
|
|
8881
|
-
margin: -1px;
|
|
8882
|
-
overflow: hidden;
|
|
8883
|
-
clip: rect(0, 0, 0, 0);
|
|
8884
|
-
white-space: nowrap;
|
|
8885
|
-
border: 0;
|
|
8682
|
+
.muka-media-viewer__live {
|
|
8683
|
+
position: absolute;
|
|
8684
|
+
width: 1px;
|
|
8685
|
+
height: 1px;
|
|
8686
|
+
padding: 0;
|
|
8687
|
+
margin: -1px;
|
|
8688
|
+
overflow: hidden;
|
|
8689
|
+
clip: rect(0, 0, 0, 0);
|
|
8690
|
+
white-space: nowrap;
|
|
8691
|
+
border: 0;
|
|
8886
8692
|
}
|
|
8887
8693
|
|
|
8888
8694
|
/* ─── Stage: the dark area the images slide across ────── */
|
|
@@ -9013,222 +8819,197 @@ li.muka-listitem {
|
|
|
9013
8819
|
}
|
|
9014
8820
|
|
|
9015
8821
|
|
|
9016
|
-
/*
|
|
9017
|
-
/*
|
|
8822
|
+
/* ListItem */
|
|
8823
|
+
/* ListItem Component Styles - Using Muka Design Tokens */
|
|
9018
8824
|
|
|
9019
|
-
|
|
9020
|
-
|
|
9021
|
-
|
|
9022
|
-
|
|
8825
|
+
/* Base list item styles */
|
|
8826
|
+
.muka-listitem {
|
|
8827
|
+
/* Layout */
|
|
8828
|
+
display: flex;
|
|
8829
|
+
align-items: flex-start;
|
|
8830
|
+
gap: var(--spacing-4);
|
|
8831
|
+
padding: var(--spacing-5) var(--spacing-4);
|
|
8832
|
+
|
|
8833
|
+
/* Background - using semantic tokens */
|
|
8834
|
+
background-color: var(--color-surface-level3);
|
|
8835
|
+
|
|
8836
|
+
/* Typography */
|
|
8837
|
+
font-family: var(--alias-font-brand-family);
|
|
8838
|
+
|
|
8839
|
+
/* Border and spacing */
|
|
8840
|
+
border: none;
|
|
8841
|
+
position: relative;
|
|
8842
|
+
|
|
8843
|
+
/* Interaction - only apply if interactive */
|
|
8844
|
+
transition: background-color 0.2s ease, box-shadow 0.2s ease;
|
|
8845
|
+
}
|
|
8846
|
+
|
|
8847
|
+
/* Interactive state */
|
|
8848
|
+
.muka-listitem--interactive {
|
|
9023
8849
|
cursor: pointer;
|
|
9024
8850
|
}
|
|
9025
8851
|
|
|
9026
|
-
|
|
9027
|
-
|
|
9028
|
-
|
|
9029
|
-
|
|
9030
|
-
|
|
8852
|
+
/*
|
|
8853
|
+
* surface.hover / surface.pressed are theme-adaptive translucent tints, so they
|
|
8854
|
+
* are layered on top of the item's base surface via an inset box-shadow overlay
|
|
8855
|
+
* rather than replacing background-color. This preserves the base level (level3,
|
|
8856
|
+
* or level2 when selected) and lets the tint read correctly on any surface.
|
|
8857
|
+
*/
|
|
8858
|
+
.muka-listitem--interactive:hover:not(:disabled):not(.muka-listitem--disabled) {
|
|
8859
|
+
box-shadow: inset 0 0 0 9999px var(--color-surface-hover);
|
|
9031
8860
|
}
|
|
9032
8861
|
|
|
9033
|
-
.muka-
|
|
9034
|
-
|
|
9035
|
-
|
|
9036
|
-
font-size: var(--text-label-md-semibold-fontSize);
|
|
9037
|
-
line-height: var(--text-label-md-semibold-lineHeight);
|
|
8862
|
+
.muka-listitem--interactive:active:not(:disabled):not(.muka-listitem--disabled),
|
|
8863
|
+
.muka-listitem--interactive.muka-listitem--pressed:not(:disabled):not(.muka-listitem--disabled) {
|
|
8864
|
+
box-shadow: inset 0 0 0 9999px var(--color-surface-pressed);
|
|
9038
8865
|
}
|
|
9039
8866
|
|
|
9040
|
-
|
|
9041
|
-
|
|
9042
|
-
|
|
9043
|
-
|
|
9044
|
-
line-height: var(--text-label-lg-semibold-lineHeight);
|
|
8867
|
+
/* Focus styles for accessibility */
|
|
8868
|
+
.muka-listitem:focus-visible {
|
|
8869
|
+
outline: 2px solid var(--color-border-focus);
|
|
8870
|
+
outline-offset: -2px;
|
|
9045
8871
|
}
|
|
9046
8872
|
|
|
9047
|
-
|
|
9048
|
-
|
|
8873
|
+
/* Disabled state */
|
|
8874
|
+
.muka-listitem--disabled {
|
|
8875
|
+
opacity: 0.5;
|
|
9049
8876
|
cursor: not-allowed;
|
|
8877
|
+
pointer-events: none;
|
|
9050
8878
|
}
|
|
9051
8879
|
|
|
9052
|
-
.muka-
|
|
9053
|
-
color: var(--color-
|
|
8880
|
+
.muka-listitem--disabled:hover {
|
|
8881
|
+
background-color: var(--color-surface-level3);
|
|
9054
8882
|
}
|
|
9055
8883
|
|
|
8884
|
+
/* Selected state */
|
|
8885
|
+
.muka-listitem--selected {
|
|
8886
|
+
background-color: var(--color-surface-level2);
|
|
8887
|
+
}
|
|
9056
8888
|
|
|
9057
|
-
|
|
9058
|
-
|
|
9059
|
-
Label, helper and error text reuse Input.css (../Input/Input.css).
|
|
9060
|
-
Field and button group share one radius per size:
|
|
9061
|
-
sm/md → input.field.radius.md, lg → input.field.radius.lg. */
|
|
9062
|
-
|
|
9063
|
-
.muka-inputcounter {
|
|
9064
|
-
--muka-inputcounter-radius: var(--input-field-radius-md);
|
|
9065
|
-
--muka-inputcounter-height: var(--input-field-height-default);
|
|
9066
|
-
--muka-inputcounter-pad: calc(var(--spacing-2) + var(--spacing-1));
|
|
9067
|
-
--muka-inputcounter-min: var(--size-3xl);
|
|
9068
|
-
|
|
9069
|
-
display: inline-flex;
|
|
9070
|
-
flex-direction: column;
|
|
9071
|
-
gap: var(--spacing-2);
|
|
8889
|
+
.muka-listitem--selected:hover {
|
|
8890
|
+
box-shadow: inset 0 0 0 9999px var(--color-surface-hover);
|
|
9072
8891
|
}
|
|
9073
8892
|
|
|
9074
|
-
|
|
9075
|
-
|
|
9076
|
-
|
|
9077
|
-
--muka-inputcounter-min: var(--size-2xl);
|
|
8893
|
+
/* No divider modifier */
|
|
8894
|
+
.muka-listitem--no-divider .muka-listitem__divider {
|
|
8895
|
+
display: none;
|
|
9078
8896
|
}
|
|
9079
8897
|
|
|
9080
|
-
|
|
9081
|
-
|
|
9082
|
-
|
|
8898
|
+
/* Center content vertically when no caption */
|
|
8899
|
+
.muka-listitem--no-caption {
|
|
8900
|
+
align-items: center;
|
|
9083
8901
|
}
|
|
9084
8902
|
|
|
9085
|
-
/*
|
|
9086
|
-
.muka-
|
|
8903
|
+
/* Leading content (icon or image) */
|
|
8904
|
+
.muka-listitem__leading {
|
|
9087
8905
|
display: flex;
|
|
9088
8906
|
align-items: center;
|
|
9089
|
-
|
|
9090
|
-
|
|
8907
|
+
justify-content: center;
|
|
8908
|
+
flex-shrink: 0;
|
|
8909
|
+
width: 48px;
|
|
8910
|
+
height: 48px;
|
|
9091
8911
|
}
|
|
9092
8912
|
|
|
9093
|
-
.muka-
|
|
8913
|
+
.muka-listitem__icon {
|
|
9094
8914
|
display: inline-flex;
|
|
9095
8915
|
align-items: center;
|
|
9096
8916
|
justify-content: center;
|
|
9097
|
-
|
|
9098
|
-
|
|
9099
|
-
|
|
9100
|
-
background: transparent;
|
|
9101
|
-
cursor: pointer;
|
|
9102
|
-
}
|
|
9103
|
-
|
|
9104
|
-
.muka-inputcounter__info .muka-icon {
|
|
9105
|
-
color: var(--color-action-default);
|
|
9106
|
-
}
|
|
9107
|
-
|
|
9108
|
-
.muka-inputcounter__info:focus-visible {
|
|
9109
|
-
outline: 2px solid var(--color-border-focus);
|
|
9110
|
-
outline-offset: 2px;
|
|
8917
|
+
width: 32px;
|
|
8918
|
+
height: 32px;
|
|
8919
|
+
color: var(--color-text-default-default);
|
|
9111
8920
|
}
|
|
9112
8921
|
|
|
9113
|
-
.muka-
|
|
9114
|
-
|
|
9115
|
-
|
|
9116
|
-
|
|
9117
|
-
|
|
9118
|
-
color: var(--color-text-subtle-default);
|
|
8922
|
+
.muka-listitem__image {
|
|
8923
|
+
width: 48px;
|
|
8924
|
+
height: 48px;
|
|
8925
|
+
border-radius: var(--radius-md);
|
|
8926
|
+
object-fit: cover;
|
|
9119
8927
|
}
|
|
9120
8928
|
|
|
9121
|
-
/*
|
|
9122
|
-
.muka-
|
|
8929
|
+
/* Main content area */
|
|
8930
|
+
.muka-listitem__content {
|
|
8931
|
+
flex: 1;
|
|
9123
8932
|
display: flex;
|
|
9124
8933
|
align-items: center;
|
|
9125
|
-
gap: var(--spacing-
|
|
8934
|
+
gap: var(--spacing-4);
|
|
8935
|
+
min-width: 0;
|
|
9126
8936
|
}
|
|
9127
8937
|
|
|
9128
|
-
|
|
9129
|
-
|
|
9130
|
-
need compensating: content is centred in a fixed box. */
|
|
9131
|
-
.muka-inputcounter__field {
|
|
9132
|
-
position: relative;
|
|
8938
|
+
.muka-listitem__text {
|
|
8939
|
+
flex: 1;
|
|
9133
8940
|
display: flex;
|
|
9134
|
-
|
|
9135
|
-
|
|
9136
|
-
height: var(--muka-inputcounter-height);
|
|
9137
|
-
width: calc(
|
|
9138
|
-
max(var(--muka-inputcounter-min), calc(var(--muka-inputcounter-chars, 1) * 1ch)) +
|
|
9139
|
-
2 * var(--muka-inputcounter-pad) + 2 * var(--border-width-regular)
|
|
9140
|
-
);
|
|
9141
|
-
background-color: var(--input-field-color-default-background);
|
|
9142
|
-
border: var(--border-width-regular) solid var(--input-field-color-default-border);
|
|
9143
|
-
border-radius: var(--muka-inputcounter-radius);
|
|
9144
|
-
transition: border-color 0.2s ease, background-color 0.2s ease;
|
|
9145
|
-
}
|
|
9146
|
-
|
|
9147
|
-
.muka-inputcounter__field::after {
|
|
9148
|
-
content: '';
|
|
9149
|
-
position: absolute;
|
|
9150
|
-
inset: 0;
|
|
9151
|
-
border-radius: inherit;
|
|
9152
|
-
box-shadow: var(--shadow-sunken);
|
|
9153
|
-
pointer-events: none;
|
|
9154
|
-
}
|
|
9155
|
-
|
|
9156
|
-
.muka-inputcounter__field--focused:not(.muka-inputcounter__field--disabled) {
|
|
9157
|
-
border-width: var(--border-width-bold);
|
|
9158
|
-
border-color: var(--input-field-color-focus-border);
|
|
9159
|
-
background-color: var(--input-field-color-focus-background);
|
|
9160
|
-
}
|
|
9161
|
-
|
|
9162
|
-
.muka-inputcounter__field--error:not(.muka-inputcounter__field--disabled) {
|
|
9163
|
-
border-width: var(--border-width-bold);
|
|
9164
|
-
border-color: var(--input-field-color-error-border);
|
|
9165
|
-
background-color: var(--input-field-color-error-background);
|
|
9166
|
-
}
|
|
9167
|
-
|
|
9168
|
-
.muka-inputcounter__field--disabled {
|
|
9169
|
-
background-color: var(--input-field-color-disabled-background);
|
|
9170
|
-
border-color: var(--input-field-color-disabled-border);
|
|
9171
|
-
}
|
|
9172
|
-
|
|
9173
|
-
.muka-inputcounter__field--disabled::after {
|
|
9174
|
-
display: none;
|
|
9175
|
-
}
|
|
9176
|
-
|
|
9177
|
-
.muka-inputcounter__native {
|
|
9178
|
-
width: 100%;
|
|
8941
|
+
flex-direction: column;
|
|
8942
|
+
gap: var(--spacing-1);
|
|
9179
8943
|
min-width: 0;
|
|
9180
|
-
height: 100%;
|
|
9181
|
-
box-sizing: border-box;
|
|
9182
|
-
padding: 0 calc(var(--muka-inputcounter-pad) - var(--border-width-regular));
|
|
9183
|
-
border: none;
|
|
9184
|
-
outline: none;
|
|
9185
|
-
background: transparent;
|
|
9186
|
-
text-align: center;
|
|
9187
|
-
font-variant-numeric: tabular-nums;
|
|
9188
|
-
color: var(--input-field-color-default-foreground);
|
|
9189
|
-
font-family: var(--text-input-md-fontFamily);
|
|
9190
|
-
font-weight: var(--text-input-md-fontWeight);
|
|
9191
|
-
font-size: var(--text-input-md-fontSize);
|
|
9192
|
-
line-height: var(--text-input-md-lineHeight);
|
|
9193
8944
|
}
|
|
9194
8945
|
|
|
9195
|
-
|
|
9196
|
-
|
|
9197
|
-
|
|
9198
|
-
|
|
9199
|
-
|
|
8946
|
+
/* Label text */
|
|
8947
|
+
.muka-listitem__label {
|
|
8948
|
+
margin: 0;
|
|
8949
|
+
padding: 0;
|
|
8950
|
+
|
|
8951
|
+
/* Typography - using semantic tokens */
|
|
8952
|
+
font-family: var(--alias-font-plain-family);
|
|
8953
|
+
font-weight: var(--alias-font-plain-weight-semibold, 600);
|
|
8954
|
+
font-size: var(--text-label-md-fontSize);
|
|
8955
|
+
line-height: var(--text-label-md-lineHeight);
|
|
8956
|
+
color: var(--color-text-default-default);
|
|
8957
|
+
|
|
8958
|
+
/* Text handling */
|
|
8959
|
+
overflow: hidden;
|
|
8960
|
+
text-overflow: ellipsis;
|
|
8961
|
+
white-space: nowrap;
|
|
9200
8962
|
}
|
|
9201
8963
|
|
|
9202
|
-
|
|
9203
|
-
|
|
9204
|
-
|
|
8964
|
+
/* Caption text */
|
|
8965
|
+
.muka-listitem__caption {
|
|
8966
|
+
margin: 0;
|
|
8967
|
+
padding: 0;
|
|
8968
|
+
|
|
8969
|
+
/* Typography - using semantic tokens */
|
|
8970
|
+
font-family: var(--alias-font-plain-family);
|
|
8971
|
+
font-weight: var(--alias-font-plain-weight-regular, 400);
|
|
8972
|
+
font-size: var(--text-body-sm-fontSize);
|
|
8973
|
+
line-height: var(--text-body-sm-lineHeight);
|
|
8974
|
+
color: var(--color-text-subtle-default);
|
|
8975
|
+
|
|
8976
|
+
/* Text handling */
|
|
8977
|
+
overflow: hidden;
|
|
8978
|
+
text-overflow: ellipsis;
|
|
8979
|
+
white-space: nowrap;
|
|
9205
8980
|
}
|
|
9206
8981
|
|
|
9207
|
-
/*
|
|
9208
|
-
|
|
9209
|
-
.muka-inputcounter__group {
|
|
8982
|
+
/* Trailing chevron */
|
|
8983
|
+
.muka-listitem__chevron {
|
|
9210
8984
|
display: inline-flex;
|
|
9211
|
-
align-items:
|
|
9212
|
-
|
|
9213
|
-
|
|
9214
|
-
|
|
9215
|
-
|
|
8985
|
+
align-items: center;
|
|
8986
|
+
justify-content: center;
|
|
8987
|
+
flex-shrink: 0;
|
|
8988
|
+
width: 24px;
|
|
8989
|
+
height: 24px;
|
|
8990
|
+
color: var(--color-text-subtle-default);
|
|
9216
8991
|
}
|
|
9217
8992
|
|
|
9218
|
-
|
|
9219
|
-
|
|
9220
|
-
|
|
8993
|
+
/* Bottom divider */
|
|
8994
|
+
.muka-listitem__divider {
|
|
8995
|
+
position: absolute;
|
|
8996
|
+
bottom: 0;
|
|
8997
|
+
left: 0;
|
|
8998
|
+
right: 0;
|
|
8999
|
+
height: 1px;
|
|
9000
|
+
background-color: var(--color-border-default);
|
|
9221
9001
|
}
|
|
9222
9002
|
|
|
9223
|
-
|
|
9224
|
-
|
|
9225
|
-
|
|
9003
|
+
/* Button and anchor specific styles */
|
|
9004
|
+
button.muka-listitem,
|
|
9005
|
+
a.muka-listitem {
|
|
9006
|
+
text-align: left;
|
|
9007
|
+
width: 100%;
|
|
9226
9008
|
}
|
|
9227
9009
|
|
|
9228
|
-
|
|
9229
|
-
|
|
9230
|
-
|
|
9231
|
-
background-color: var(--color-border-default);
|
|
9010
|
+
/* List item specific styles */
|
|
9011
|
+
li.muka-listitem {
|
|
9012
|
+
list-style: none;
|
|
9232
9013
|
}
|
|
9233
9014
|
|
|
9234
9015
|
|
|
@@ -9335,93 +9116,312 @@ li.muka-listitem {
|
|
|
9335
9116
|
max-width: 20px;
|
|
9336
9117
|
}
|
|
9337
9118
|
|
|
9338
|
-
.muka-license-plate-input__plate--lg .muka-license-plate-input__eu-stars {
|
|
9339
|
-
max-width: 36px;
|
|
9119
|
+
.muka-license-plate-input__plate--lg .muka-license-plate-input__eu-stars {
|
|
9120
|
+
max-width: 36px;
|
|
9121
|
+
}
|
|
9122
|
+
|
|
9123
|
+
.muka-license-plate-input__country-code {
|
|
9124
|
+
font-family:
|
|
9125
|
+
'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
|
|
9126
|
+
font-weight: 700;
|
|
9127
|
+
letter-spacing: 0.04em;
|
|
9128
|
+
line-height: 1;
|
|
9129
|
+
color: #ffffff;
|
|
9130
|
+
}
|
|
9131
|
+
|
|
9132
|
+
.muka-license-plate-input__plate--sm .muka-license-plate-input__country-code {
|
|
9133
|
+
font-size: 10px;
|
|
9134
|
+
}
|
|
9135
|
+
|
|
9136
|
+
.muka-license-plate-input__plate--md .muka-license-plate-input__country-code {
|
|
9137
|
+
font-size: 13px;
|
|
9138
|
+
}
|
|
9139
|
+
|
|
9140
|
+
.muka-license-plate-input__plate--lg .muka-license-plate-input__country-code {
|
|
9141
|
+
font-size: 16px;
|
|
9142
|
+
}
|
|
9143
|
+
|
|
9144
|
+
/* Native input */
|
|
9145
|
+
.muka-license-plate-input__native {
|
|
9146
|
+
flex: 1;
|
|
9147
|
+
min-width: 0;
|
|
9148
|
+
border: none;
|
|
9149
|
+
outline: none;
|
|
9150
|
+
background: transparent;
|
|
9151
|
+
color: var(--plate-text);
|
|
9152
|
+
text-align: center;
|
|
9153
|
+
text-transform: uppercase;
|
|
9154
|
+
letter-spacing: 0.06em;
|
|
9155
|
+
/* Plate font — bold condensed sans is closest to the FE-Schrift look without
|
|
9156
|
+
shipping a custom font. JetBrains Mono is the system mono brand font. */
|
|
9157
|
+
font-family:
|
|
9158
|
+
'Arial Narrow', 'Helvetica Neue', Helvetica, Arial, sans-serif;
|
|
9159
|
+
font-weight: 800;
|
|
9160
|
+
padding: 0 0.5em;
|
|
9161
|
+
width: 100%;
|
|
9162
|
+
caret-color: var(--plate-text);
|
|
9163
|
+
}
|
|
9164
|
+
|
|
9165
|
+
.muka-license-plate-input__plate--sm .muka-license-plate-input__native {
|
|
9166
|
+
font-size: 22px;
|
|
9167
|
+
}
|
|
9168
|
+
|
|
9169
|
+
.muka-license-plate-input__plate--md .muka-license-plate-input__native {
|
|
9170
|
+
font-size: 30px;
|
|
9171
|
+
}
|
|
9172
|
+
|
|
9173
|
+
.muka-license-plate-input__plate--lg .muka-license-plate-input__native {
|
|
9174
|
+
font-size: 42px;
|
|
9175
|
+
}
|
|
9176
|
+
|
|
9177
|
+
.muka-license-plate-input__native::placeholder {
|
|
9178
|
+
color: var(--plate-text);
|
|
9179
|
+
opacity: 0.55;
|
|
9180
|
+
font-weight: 700;
|
|
9181
|
+
letter-spacing: 0.08em;
|
|
9182
|
+
}
|
|
9183
|
+
|
|
9184
|
+
.muka-license-plate-input__plate--disabled .muka-license-plate-input__native {
|
|
9185
|
+
cursor: not-allowed;
|
|
9186
|
+
}
|
|
9187
|
+
|
|
9188
|
+
/* Helper text */
|
|
9189
|
+
.muka-license-plate-input__helper {
|
|
9190
|
+
font-family: var(--text-label-sm-regular-fontFamily);
|
|
9191
|
+
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
9192
|
+
font-size: var(--text-label-sm-regular-fontSize);
|
|
9193
|
+
line-height: var(--text-label-sm-regular-lineHeight);
|
|
9194
|
+
color: var(--color-text-subtle-default);
|
|
9195
|
+
margin: 0;
|
|
9196
|
+
}
|
|
9197
|
+
|
|
9198
|
+
/* Error message */
|
|
9199
|
+
.muka-license-plate-input__error {
|
|
9200
|
+
font-family: var(--text-label-sm-regular-fontFamily);
|
|
9201
|
+
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
9202
|
+
font-size: var(--text-label-sm-regular-fontSize);
|
|
9203
|
+
line-height: var(--text-label-sm-regular-lineHeight);
|
|
9204
|
+
color: var(--color-state-error-default);
|
|
9205
|
+
margin: 0;
|
|
9206
|
+
}
|
|
9207
|
+
|
|
9208
|
+
|
|
9209
|
+
/* Label */
|
|
9210
|
+
/* Label Component Styles - Using Muka Design Tokens */
|
|
9211
|
+
|
|
9212
|
+
.muka-label {
|
|
9213
|
+
display: inline-flex;
|
|
9214
|
+
align-items: center;
|
|
9215
|
+
color: var(--color-text-default-default);
|
|
9216
|
+
cursor: pointer;
|
|
9217
|
+
}
|
|
9218
|
+
|
|
9219
|
+
.muka-label--sm {
|
|
9220
|
+
font-family: var(--text-label-sm-semibold-fontFamily);
|
|
9221
|
+
font-weight: var(--text-label-sm-semibold-fontWeight);
|
|
9222
|
+
font-size: var(--text-label-sm-semibold-fontSize);
|
|
9223
|
+
line-height: var(--text-label-sm-semibold-lineHeight);
|
|
9224
|
+
}
|
|
9225
|
+
|
|
9226
|
+
.muka-label--md {
|
|
9227
|
+
font-family: var(--text-label-md-semibold-fontFamily);
|
|
9228
|
+
font-weight: var(--text-label-md-semibold-fontWeight);
|
|
9229
|
+
font-size: var(--text-label-md-semibold-fontSize);
|
|
9230
|
+
line-height: var(--text-label-md-semibold-lineHeight);
|
|
9231
|
+
}
|
|
9232
|
+
|
|
9233
|
+
.muka-label--lg {
|
|
9234
|
+
font-family: var(--text-label-lg-semibold-fontFamily);
|
|
9235
|
+
font-weight: var(--text-label-lg-semibold-fontWeight);
|
|
9236
|
+
font-size: var(--text-label-lg-semibold-fontSize);
|
|
9237
|
+
line-height: var(--text-label-lg-semibold-lineHeight);
|
|
9238
|
+
}
|
|
9239
|
+
|
|
9240
|
+
.muka-label--disabled {
|
|
9241
|
+
color: var(--color-text-subtle-default);
|
|
9242
|
+
cursor: not-allowed;
|
|
9243
|
+
}
|
|
9244
|
+
|
|
9245
|
+
.muka-label__required {
|
|
9246
|
+
color: var(--color-state-error-default);
|
|
9247
|
+
}
|
|
9248
|
+
|
|
9249
|
+
|
|
9250
|
+
/* InputCounter */
|
|
9251
|
+
/* InputCounter — numeric field + joined decrement/increment buttons.
|
|
9252
|
+
Label, helper and error text reuse Input.css (../Input/Input.css).
|
|
9253
|
+
Field and button group share one radius per size:
|
|
9254
|
+
sm/md → input.field.radius.md, lg → input.field.radius.lg. */
|
|
9255
|
+
|
|
9256
|
+
.muka-inputcounter {
|
|
9257
|
+
--muka-inputcounter-radius: var(--input-field-radius-md);
|
|
9258
|
+
--muka-inputcounter-height: var(--input-field-height-default);
|
|
9259
|
+
--muka-inputcounter-pad: calc(var(--spacing-2) + var(--spacing-1));
|
|
9260
|
+
--muka-inputcounter-min: var(--size-3xl);
|
|
9261
|
+
|
|
9262
|
+
display: inline-flex;
|
|
9263
|
+
flex-direction: column;
|
|
9264
|
+
gap: var(--spacing-2);
|
|
9265
|
+
}
|
|
9266
|
+
|
|
9267
|
+
.muka-inputcounter--sm {
|
|
9268
|
+
--muka-inputcounter-height: var(--input-field-height-sm);
|
|
9269
|
+
--muka-inputcounter-pad: calc(var(--spacing-1) + var(--spacing-1));
|
|
9270
|
+
--muka-inputcounter-min: var(--size-2xl);
|
|
9271
|
+
}
|
|
9272
|
+
|
|
9273
|
+
.muka-inputcounter--lg {
|
|
9274
|
+
--muka-inputcounter-radius: var(--input-field-radius-lg);
|
|
9275
|
+
--muka-inputcounter-height: var(--input-field-height-lg);
|
|
9276
|
+
}
|
|
9277
|
+
|
|
9278
|
+
/* Label row — label, info tooltip trigger, optional hint */
|
|
9279
|
+
.muka-inputcounter__label-row {
|
|
9280
|
+
display: flex;
|
|
9281
|
+
align-items: center;
|
|
9282
|
+
gap: var(--spacing-2);
|
|
9283
|
+
min-height: var(--size-xl);
|
|
9284
|
+
}
|
|
9285
|
+
|
|
9286
|
+
.muka-inputcounter__info {
|
|
9287
|
+
display: inline-flex;
|
|
9288
|
+
align-items: center;
|
|
9289
|
+
justify-content: center;
|
|
9290
|
+
padding: 0;
|
|
9291
|
+
border: none;
|
|
9292
|
+
border-radius: 50%;
|
|
9293
|
+
background: transparent;
|
|
9294
|
+
cursor: pointer;
|
|
9295
|
+
}
|
|
9296
|
+
|
|
9297
|
+
.muka-inputcounter__info .muka-icon {
|
|
9298
|
+
color: var(--color-action-default);
|
|
9299
|
+
}
|
|
9300
|
+
|
|
9301
|
+
.muka-inputcounter__info:focus-visible {
|
|
9302
|
+
outline: 2px solid var(--color-border-focus);
|
|
9303
|
+
outline-offset: 2px;
|
|
9304
|
+
}
|
|
9305
|
+
|
|
9306
|
+
.muka-inputcounter__optional {
|
|
9307
|
+
font-family: var(--text-label-sm-regular-fontFamily);
|
|
9308
|
+
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
9309
|
+
font-size: var(--text-label-sm-regular-fontSize);
|
|
9310
|
+
line-height: var(--text-label-sm-regular-lineHeight);
|
|
9311
|
+
color: var(--color-text-subtle-default);
|
|
9312
|
+
}
|
|
9313
|
+
|
|
9314
|
+
/* Field + button group */
|
|
9315
|
+
.muka-inputcounter__row {
|
|
9316
|
+
display: flex;
|
|
9317
|
+
align-items: center;
|
|
9318
|
+
gap: var(--spacing-3);
|
|
9319
|
+
}
|
|
9320
|
+
|
|
9321
|
+
/* Field — grows with the value (in ch), never narrower than the Figma width.
|
|
9322
|
+
Padding sits on the native input so the 2px focus/error border doesn't
|
|
9323
|
+
need compensating: content is centred in a fixed box. */
|
|
9324
|
+
.muka-inputcounter__field {
|
|
9325
|
+
position: relative;
|
|
9326
|
+
display: flex;
|
|
9327
|
+
align-items: center;
|
|
9328
|
+
box-sizing: border-box;
|
|
9329
|
+
height: var(--muka-inputcounter-height);
|
|
9330
|
+
width: calc(
|
|
9331
|
+
max(var(--muka-inputcounter-min), calc(var(--muka-inputcounter-chars, 1) * 1ch)) +
|
|
9332
|
+
2 * var(--muka-inputcounter-pad) + 2 * var(--border-width-regular)
|
|
9333
|
+
);
|
|
9334
|
+
background-color: var(--input-field-color-default-background);
|
|
9335
|
+
border: var(--border-width-regular) solid var(--input-field-color-default-border);
|
|
9336
|
+
border-radius: var(--muka-inputcounter-radius);
|
|
9337
|
+
transition: border-color 0.2s ease, background-color 0.2s ease;
|
|
9338
|
+
}
|
|
9339
|
+
|
|
9340
|
+
.muka-inputcounter__field::after {
|
|
9341
|
+
content: '';
|
|
9342
|
+
position: absolute;
|
|
9343
|
+
inset: 0;
|
|
9344
|
+
border-radius: inherit;
|
|
9345
|
+
box-shadow: var(--shadow-sunken);
|
|
9346
|
+
pointer-events: none;
|
|
9340
9347
|
}
|
|
9341
9348
|
|
|
9342
|
-
.muka-
|
|
9343
|
-
|
|
9344
|
-
|
|
9345
|
-
|
|
9346
|
-
letter-spacing: 0.04em;
|
|
9347
|
-
line-height: 1;
|
|
9348
|
-
color: #ffffff;
|
|
9349
|
+
.muka-inputcounter__field--focused:not(.muka-inputcounter__field--disabled) {
|
|
9350
|
+
border-width: var(--border-width-bold);
|
|
9351
|
+
border-color: var(--input-field-color-focus-border);
|
|
9352
|
+
background-color: var(--input-field-color-focus-background);
|
|
9349
9353
|
}
|
|
9350
9354
|
|
|
9351
|
-
.muka-
|
|
9352
|
-
|
|
9355
|
+
.muka-inputcounter__field--error:not(.muka-inputcounter__field--disabled) {
|
|
9356
|
+
border-width: var(--border-width-bold);
|
|
9357
|
+
border-color: var(--input-field-color-error-border);
|
|
9358
|
+
background-color: var(--input-field-color-error-background);
|
|
9353
9359
|
}
|
|
9354
9360
|
|
|
9355
|
-
.muka-
|
|
9356
|
-
|
|
9361
|
+
.muka-inputcounter__field--disabled {
|
|
9362
|
+
background-color: var(--input-field-color-disabled-background);
|
|
9363
|
+
border-color: var(--input-field-color-disabled-border);
|
|
9357
9364
|
}
|
|
9358
9365
|
|
|
9359
|
-
.muka-
|
|
9360
|
-
|
|
9366
|
+
.muka-inputcounter__field--disabled::after {
|
|
9367
|
+
display: none;
|
|
9361
9368
|
}
|
|
9362
9369
|
|
|
9363
|
-
|
|
9364
|
-
|
|
9365
|
-
flex: 1;
|
|
9370
|
+
.muka-inputcounter__native {
|
|
9371
|
+
width: 100%;
|
|
9366
9372
|
min-width: 0;
|
|
9373
|
+
height: 100%;
|
|
9374
|
+
box-sizing: border-box;
|
|
9375
|
+
padding: 0 calc(var(--muka-inputcounter-pad) - var(--border-width-regular));
|
|
9367
9376
|
border: none;
|
|
9368
9377
|
outline: none;
|
|
9369
9378
|
background: transparent;
|
|
9370
|
-
color: var(--plate-text);
|
|
9371
9379
|
text-align: center;
|
|
9372
|
-
|
|
9373
|
-
|
|
9374
|
-
|
|
9375
|
-
|
|
9376
|
-
font-
|
|
9377
|
-
|
|
9378
|
-
font-weight: 800;
|
|
9379
|
-
padding: 0 0.5em;
|
|
9380
|
-
width: 100%;
|
|
9381
|
-
caret-color: var(--plate-text);
|
|
9380
|
+
font-variant-numeric: tabular-nums;
|
|
9381
|
+
color: var(--input-field-color-default-foreground);
|
|
9382
|
+
font-family: var(--text-input-md-fontFamily);
|
|
9383
|
+
font-weight: var(--text-input-md-fontWeight);
|
|
9384
|
+
font-size: var(--text-input-md-fontSize);
|
|
9385
|
+
line-height: var(--text-input-md-lineHeight);
|
|
9382
9386
|
}
|
|
9383
9387
|
|
|
9384
|
-
.muka-
|
|
9385
|
-
font-
|
|
9388
|
+
.muka-inputcounter--sm .muka-inputcounter__native {
|
|
9389
|
+
font-family: var(--text-input-sm-fontFamily);
|
|
9390
|
+
font-weight: var(--text-input-sm-fontWeight);
|
|
9391
|
+
font-size: var(--text-input-sm-fontSize);
|
|
9392
|
+
line-height: var(--text-input-sm-lineHeight);
|
|
9386
9393
|
}
|
|
9387
9394
|
|
|
9388
|
-
.muka-
|
|
9389
|
-
|
|
9395
|
+
.muka-inputcounter__field--disabled .muka-inputcounter__native {
|
|
9396
|
+
color: var(--input-field-color-disabled-foreground);
|
|
9397
|
+
cursor: not-allowed;
|
|
9390
9398
|
}
|
|
9391
9399
|
|
|
9392
|
-
|
|
9393
|
-
|
|
9400
|
+
/* Button group — secondary icon-only Buttons joined by a divider.
|
|
9401
|
+
Only the outer corners are rounded. */
|
|
9402
|
+
.muka-inputcounter__group {
|
|
9403
|
+
display: inline-flex;
|
|
9404
|
+
align-items: stretch;
|
|
9394
9405
|
}
|
|
9395
9406
|
|
|
9396
|
-
.muka-
|
|
9397
|
-
|
|
9398
|
-
opacity: 0.55;
|
|
9399
|
-
font-weight: 700;
|
|
9400
|
-
letter-spacing: 0.08em;
|
|
9407
|
+
.muka-inputcounter__group .muka-button {
|
|
9408
|
+
border-radius: 0;
|
|
9401
9409
|
}
|
|
9402
9410
|
|
|
9403
|
-
.muka-
|
|
9404
|
-
|
|
9411
|
+
.muka-inputcounter__group .muka-button:first-child {
|
|
9412
|
+
border-start-start-radius: var(--muka-inputcounter-radius);
|
|
9413
|
+
border-end-start-radius: var(--muka-inputcounter-radius);
|
|
9405
9414
|
}
|
|
9406
9415
|
|
|
9407
|
-
|
|
9408
|
-
|
|
9409
|
-
|
|
9410
|
-
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
9411
|
-
font-size: var(--text-label-sm-regular-fontSize);
|
|
9412
|
-
line-height: var(--text-label-sm-regular-lineHeight);
|
|
9413
|
-
color: var(--color-text-subtle-default);
|
|
9414
|
-
margin: 0;
|
|
9416
|
+
.muka-inputcounter__group .muka-button:last-child {
|
|
9417
|
+
border-start-end-radius: var(--muka-inputcounter-radius);
|
|
9418
|
+
border-end-end-radius: var(--muka-inputcounter-radius);
|
|
9415
9419
|
}
|
|
9416
9420
|
|
|
9417
|
-
|
|
9418
|
-
|
|
9419
|
-
|
|
9420
|
-
|
|
9421
|
-
font-size: var(--text-label-sm-regular-fontSize);
|
|
9422
|
-
line-height: var(--text-label-sm-regular-lineHeight);
|
|
9423
|
-
color: var(--color-state-error-default);
|
|
9424
|
-
margin: 0;
|
|
9421
|
+
.muka-inputcounter__divider {
|
|
9422
|
+
flex: none;
|
|
9423
|
+
width: var(--border-width-regular);
|
|
9424
|
+
background-color: var(--color-border-default);
|
|
9425
9425
|
}
|
|
9426
9426
|
|
|
9427
9427
|
|
|
@@ -9706,6 +9706,60 @@ li.muka-listitem {
|
|
|
9706
9706
|
}
|
|
9707
9707
|
|
|
9708
9708
|
|
|
9709
|
+
/* Icon */
|
|
9710
|
+
/* Icon Component Styles - Using Muka Design Tokens */
|
|
9711
|
+
|
|
9712
|
+
.muka-icon {
|
|
9713
|
+
display: inline-flex;
|
|
9714
|
+
align-items: center;
|
|
9715
|
+
justify-content: center;
|
|
9716
|
+
flex-shrink: 0;
|
|
9717
|
+
color: var(--color-icon-default-default, currentColor);
|
|
9718
|
+
}
|
|
9719
|
+
|
|
9720
|
+
/* Icons inside buttons should inherit from button's foreground color */
|
|
9721
|
+
.muka-button .muka-icon {
|
|
9722
|
+
color: inherit;
|
|
9723
|
+
}
|
|
9724
|
+
|
|
9725
|
+
.muka-icon--subtle {
|
|
9726
|
+
color: var(--color-icon-subtle-default);
|
|
9727
|
+
}
|
|
9728
|
+
|
|
9729
|
+
.muka-icon--muted {
|
|
9730
|
+
color: var(--color-icon-muted-default);
|
|
9731
|
+
}
|
|
9732
|
+
|
|
9733
|
+
.muka-icon--inverse {
|
|
9734
|
+
color: var(--color-icon-default-inverse);
|
|
9735
|
+
}
|
|
9736
|
+
|
|
9737
|
+
.muka-icon--xs {
|
|
9738
|
+
width: var(--icon-size-xs);
|
|
9739
|
+
height: var(--icon-size-xs);
|
|
9740
|
+
}
|
|
9741
|
+
|
|
9742
|
+
.muka-icon--sm {
|
|
9743
|
+
width: var(--icon-size-sm);
|
|
9744
|
+
height: var(--icon-size-sm);
|
|
9745
|
+
}
|
|
9746
|
+
|
|
9747
|
+
.muka-icon--md {
|
|
9748
|
+
width: var(--icon-size-default);
|
|
9749
|
+
height: var(--icon-size-default);
|
|
9750
|
+
}
|
|
9751
|
+
|
|
9752
|
+
.muka-icon--lg {
|
|
9753
|
+
width: var(--icon-size-lg);
|
|
9754
|
+
height: var(--icon-size-lg);
|
|
9755
|
+
}
|
|
9756
|
+
|
|
9757
|
+
.muka-icon svg {
|
|
9758
|
+
width: 100%;
|
|
9759
|
+
height: 100%;
|
|
9760
|
+
}
|
|
9761
|
+
|
|
9762
|
+
|
|
9709
9763
|
/* Form */
|
|
9710
9764
|
.muka-form {
|
|
9711
9765
|
display: flex;
|
|
@@ -9988,60 +10042,6 @@ li.muka-listitem {
|
|
|
9988
10042
|
}
|
|
9989
10043
|
|
|
9990
10044
|
|
|
9991
|
-
/* Icon */
|
|
9992
|
-
/* Icon Component Styles - Using Muka Design Tokens */
|
|
9993
|
-
|
|
9994
|
-
.muka-icon {
|
|
9995
|
-
display: inline-flex;
|
|
9996
|
-
align-items: center;
|
|
9997
|
-
justify-content: center;
|
|
9998
|
-
flex-shrink: 0;
|
|
9999
|
-
color: var(--color-icon-default-default, currentColor);
|
|
10000
|
-
}
|
|
10001
|
-
|
|
10002
|
-
/* Icons inside buttons should inherit from button's foreground color */
|
|
10003
|
-
.muka-button .muka-icon {
|
|
10004
|
-
color: inherit;
|
|
10005
|
-
}
|
|
10006
|
-
|
|
10007
|
-
.muka-icon--subtle {
|
|
10008
|
-
color: var(--color-icon-subtle-default);
|
|
10009
|
-
}
|
|
10010
|
-
|
|
10011
|
-
.muka-icon--muted {
|
|
10012
|
-
color: var(--color-icon-muted-default);
|
|
10013
|
-
}
|
|
10014
|
-
|
|
10015
|
-
.muka-icon--inverse {
|
|
10016
|
-
color: var(--color-icon-default-inverse);
|
|
10017
|
-
}
|
|
10018
|
-
|
|
10019
|
-
.muka-icon--xs {
|
|
10020
|
-
width: var(--icon-size-xs);
|
|
10021
|
-
height: var(--icon-size-xs);
|
|
10022
|
-
}
|
|
10023
|
-
|
|
10024
|
-
.muka-icon--sm {
|
|
10025
|
-
width: var(--icon-size-sm);
|
|
10026
|
-
height: var(--icon-size-sm);
|
|
10027
|
-
}
|
|
10028
|
-
|
|
10029
|
-
.muka-icon--md {
|
|
10030
|
-
width: var(--icon-size-default);
|
|
10031
|
-
height: var(--icon-size-default);
|
|
10032
|
-
}
|
|
10033
|
-
|
|
10034
|
-
.muka-icon--lg {
|
|
10035
|
-
width: var(--icon-size-lg);
|
|
10036
|
-
height: var(--icon-size-lg);
|
|
10037
|
-
}
|
|
10038
|
-
|
|
10039
|
-
.muka-icon svg {
|
|
10040
|
-
width: 100%;
|
|
10041
|
-
height: 100%;
|
|
10042
|
-
}
|
|
10043
|
-
|
|
10044
|
-
|
|
10045
10045
|
/* FAB */
|
|
10046
10046
|
/* FAB (Floating Action Button) Component Styles */
|
|
10047
10047
|
|
|
@@ -10324,6 +10324,28 @@ li.muka-listitem {
|
|
|
10324
10324
|
}
|
|
10325
10325
|
|
|
10326
10326
|
|
|
10327
|
+
/* EmojiPicker */
|
|
10328
|
+
/* EmojiPicker Component Styles */
|
|
10329
|
+
|
|
10330
|
+
.muka-emoji-picker {
|
|
10331
|
+
display: grid;
|
|
10332
|
+
grid-template-columns: repeat(8, 1fr);
|
|
10333
|
+
gap: var(--spacing-1);
|
|
10334
|
+
padding: var(--spacing-2);
|
|
10335
|
+
max-height: 12rem;
|
|
10336
|
+
overflow-y: auto;
|
|
10337
|
+
background: var(--color-surface-level2);
|
|
10338
|
+
border: var(--border-width-regular, 1px) solid var(--color-border-default);
|
|
10339
|
+
border-radius: var(--radius-lg);
|
|
10340
|
+
box-shadow: var(--menu-content-shadow, 0 4px 12px rgba(0, 0, 0, 0.12));
|
|
10341
|
+
}
|
|
10342
|
+
|
|
10343
|
+
.muka-emoji-picker__glyph {
|
|
10344
|
+
font-size: 1.25rem;
|
|
10345
|
+
line-height: 1;
|
|
10346
|
+
}
|
|
10347
|
+
|
|
10348
|
+
|
|
10327
10349
|
/* DropdownSelect */
|
|
10328
10350
|
/* DropdownSelect — Figma Dropdown Menu form field (Menu + chips) */
|
|
10329
10351
|
|
|
@@ -10552,28 +10574,6 @@ li.muka-listitem {
|
|
|
10552
10574
|
}
|
|
10553
10575
|
|
|
10554
10576
|
|
|
10555
|
-
/* EmojiPicker */
|
|
10556
|
-
/* EmojiPicker Component Styles */
|
|
10557
|
-
|
|
10558
|
-
.muka-emoji-picker {
|
|
10559
|
-
display: grid;
|
|
10560
|
-
grid-template-columns: repeat(8, 1fr);
|
|
10561
|
-
gap: var(--spacing-1);
|
|
10562
|
-
padding: var(--spacing-2);
|
|
10563
|
-
max-height: 12rem;
|
|
10564
|
-
overflow-y: auto;
|
|
10565
|
-
background: var(--color-surface-level2);
|
|
10566
|
-
border: var(--border-width-regular, 1px) solid var(--color-border-default);
|
|
10567
|
-
border-radius: var(--radius-lg);
|
|
10568
|
-
box-shadow: var(--menu-content-shadow, 0 4px 12px rgba(0, 0, 0, 0.12));
|
|
10569
|
-
}
|
|
10570
|
-
|
|
10571
|
-
.muka-emoji-picker__glyph {
|
|
10572
|
-
font-size: 1.25rem;
|
|
10573
|
-
line-height: 1;
|
|
10574
|
-
}
|
|
10575
|
-
|
|
10576
|
-
|
|
10577
10577
|
/* Drawer */
|
|
10578
10578
|
/* Drawer Component Styles */
|
|
10579
10579
|
|
|
@@ -12313,13 +12313,16 @@ li.muka-listitem {
|
|
|
12313
12313
|
}
|
|
12314
12314
|
|
|
12315
12315
|
/* Tighter trailing padding when the dismiss button is present */
|
|
12316
|
-
.muka-chip--sm.muka-chip--dismissible
|
|
12316
|
+
.muka-chip--sm.muka-chip--dismissible,
|
|
12317
|
+
.muka-chip--sm.muka-chip--expandable {
|
|
12317
12318
|
padding-right: var(--chip-padding-trailing-sm);
|
|
12318
12319
|
}
|
|
12319
|
-
.muka-chip--md.muka-chip--dismissible
|
|
12320
|
+
.muka-chip--md.muka-chip--dismissible,
|
|
12321
|
+
.muka-chip--md.muka-chip--expandable {
|
|
12320
12322
|
padding-right: var(--chip-padding-trailing-md);
|
|
12321
12323
|
}
|
|
12322
|
-
.muka-chip--lg.muka-chip--dismissible
|
|
12324
|
+
.muka-chip--lg.muka-chip--dismissible,
|
|
12325
|
+
.muka-chip--lg.muka-chip--expandable {
|
|
12323
12326
|
padding-right: var(--chip-padding-trailing-lg);
|
|
12324
12327
|
}
|
|
12325
12328
|
|
|
@@ -12367,8 +12370,9 @@ li.muka-listitem {
|
|
|
12367
12370
|
line-height: normal;
|
|
12368
12371
|
}
|
|
12369
12372
|
|
|
12370
|
-
/*
|
|
12371
|
-
.muka-chip__remove
|
|
12373
|
+
/* Trailing button (dismiss or expand) — circular. Figma circle sizes: sm 20, md 24, lg 32 */
|
|
12374
|
+
.muka-chip__remove,
|
|
12375
|
+
.muka-chip__expand {
|
|
12372
12376
|
display: inline-flex;
|
|
12373
12377
|
align-items: center;
|
|
12374
12378
|
justify-content: center;
|
|
@@ -12381,15 +12385,18 @@ li.muka-listitem {
|
|
|
12381
12385
|
transition: background-color 0.15s ease, color 0.15s ease;
|
|
12382
12386
|
}
|
|
12383
12387
|
|
|
12384
|
-
.muka-chip--sm .muka-chip__remove
|
|
12388
|
+
.muka-chip--sm .muka-chip__remove,
|
|
12389
|
+
.muka-chip--sm .muka-chip__expand {
|
|
12385
12390
|
width: var(--icon-size-sm);
|
|
12386
12391
|
height: var(--icon-size-sm);
|
|
12387
12392
|
}
|
|
12388
|
-
.muka-chip--md .muka-chip__remove
|
|
12393
|
+
.muka-chip--md .muka-chip__remove,
|
|
12394
|
+
.muka-chip--md .muka-chip__expand {
|
|
12389
12395
|
width: var(--icon-size-default);
|
|
12390
12396
|
height: var(--icon-size-default);
|
|
12391
12397
|
}
|
|
12392
|
-
.muka-chip--lg .muka-chip__remove
|
|
12398
|
+
.muka-chip--lg .muka-chip__remove,
|
|
12399
|
+
.muka-chip--lg .muka-chip__expand {
|
|
12393
12400
|
width: var(--icon-size-lg);
|
|
12394
12401
|
height: var(--icon-size-lg);
|
|
12395
12402
|
}
|
|
@@ -12399,72 +12406,117 @@ li.muka-listitem {
|
|
|
12399
12406
|
outline-offset: 2px;
|
|
12400
12407
|
}
|
|
12401
12408
|
|
|
12409
|
+
/*
|
|
12410
|
+
* Expandable chip (Figma "Chip/Trailing Expand"): the whole chip is one button,
|
|
12411
|
+
* typically a menu trigger. Hovering or pressing anywhere on it drives the
|
|
12412
|
+
* chevron's hover / pressed steps; an open menu (aria-expanded) shows pressed,
|
|
12413
|
+
* like Button's open state.
|
|
12414
|
+
*/
|
|
12415
|
+
.muka-chip--expandable {
|
|
12416
|
+
margin: 0;
|
|
12417
|
+
text-align: inherit;
|
|
12418
|
+
cursor: pointer;
|
|
12419
|
+
}
|
|
12420
|
+
|
|
12421
|
+
.muka-chip--expandable:focus-visible {
|
|
12422
|
+
outline: 2px solid var(--color-border-focus);
|
|
12423
|
+
outline-offset: 2px;
|
|
12424
|
+
}
|
|
12425
|
+
|
|
12426
|
+
.muka-chip--expandable:disabled {
|
|
12427
|
+
cursor: not-allowed;
|
|
12428
|
+
}
|
|
12429
|
+
|
|
12430
|
+
.muka-chip__expand {
|
|
12431
|
+
pointer-events: none;
|
|
12432
|
+
}
|
|
12433
|
+
|
|
12402
12434
|
/*
|
|
12403
12435
|
* Dismiss button colors — state-tinted per chip variant, with default / hover /
|
|
12404
12436
|
* pressed steps. Values come from T4 chip.dismiss.* tokens, which reference the
|
|
12405
12437
|
* brand-specific alias state-surface ramp. The ✕ (.muka-icon) inherits `color`.
|
|
12406
12438
|
*/
|
|
12407
|
-
.muka-chip--default .muka-chip__remove
|
|
12439
|
+
.muka-chip--default .muka-chip__remove,
|
|
12440
|
+
.muka-chip--default .muka-chip__expand {
|
|
12408
12441
|
background-color: var(--chip-dismiss-default-background-default);
|
|
12409
12442
|
color: var(--chip-dismiss-default-foreground-default);
|
|
12410
12443
|
}
|
|
12411
|
-
.muka-chip--default .muka-chip__remove:hover
|
|
12444
|
+
.muka-chip--default .muka-chip__remove:hover,
|
|
12445
|
+
.muka-chip--default.muka-chip--expandable:hover:not(:disabled) .muka-chip__expand {
|
|
12412
12446
|
background-color: var(--chip-dismiss-default-background-hover);
|
|
12413
12447
|
color: var(--chip-dismiss-default-foreground-hover);
|
|
12414
12448
|
}
|
|
12415
|
-
.muka-chip--default .muka-chip__remove:active
|
|
12449
|
+
.muka-chip--default .muka-chip__remove:active,
|
|
12450
|
+
.muka-chip--default.muka-chip--expandable:active:not(:disabled) .muka-chip__expand,
|
|
12451
|
+
.muka-chip--default.muka-chip--expandable[aria-expanded='true'] .muka-chip__expand {
|
|
12416
12452
|
background-color: var(--chip-dismiss-default-background-pressed);
|
|
12417
12453
|
color: var(--chip-dismiss-default-foreground-pressed);
|
|
12418
12454
|
}
|
|
12419
12455
|
|
|
12420
|
-
.muka-chip--success .muka-chip__remove
|
|
12456
|
+
.muka-chip--success .muka-chip__remove,
|
|
12457
|
+
.muka-chip--success .muka-chip__expand {
|
|
12421
12458
|
background-color: var(--chip-dismiss-success-background-default);
|
|
12422
12459
|
color: var(--chip-dismiss-success-foreground-default);
|
|
12423
12460
|
}
|
|
12424
|
-
.muka-chip--success .muka-chip__remove:hover
|
|
12461
|
+
.muka-chip--success .muka-chip__remove:hover,
|
|
12462
|
+
.muka-chip--success.muka-chip--expandable:hover:not(:disabled) .muka-chip__expand {
|
|
12425
12463
|
background-color: var(--chip-dismiss-success-background-hover);
|
|
12426
12464
|
color: var(--chip-dismiss-success-foreground-hover);
|
|
12427
12465
|
}
|
|
12428
|
-
.muka-chip--success .muka-chip__remove:active
|
|
12466
|
+
.muka-chip--success .muka-chip__remove:active,
|
|
12467
|
+
.muka-chip--success.muka-chip--expandable:active:not(:disabled) .muka-chip__expand,
|
|
12468
|
+
.muka-chip--success.muka-chip--expandable[aria-expanded='true'] .muka-chip__expand {
|
|
12429
12469
|
background-color: var(--chip-dismiss-success-background-pressed);
|
|
12430
12470
|
color: var(--chip-dismiss-success-foreground-pressed);
|
|
12431
12471
|
}
|
|
12432
12472
|
|
|
12433
|
-
.muka-chip--warning .muka-chip__remove
|
|
12473
|
+
.muka-chip--warning .muka-chip__remove,
|
|
12474
|
+
.muka-chip--warning .muka-chip__expand {
|
|
12434
12475
|
background-color: var(--chip-dismiss-warning-background-default);
|
|
12435
12476
|
color: var(--chip-dismiss-warning-foreground-default);
|
|
12436
12477
|
}
|
|
12437
|
-
.muka-chip--warning .muka-chip__remove:hover
|
|
12478
|
+
.muka-chip--warning .muka-chip__remove:hover,
|
|
12479
|
+
.muka-chip--warning.muka-chip--expandable:hover:not(:disabled) .muka-chip__expand {
|
|
12438
12480
|
background-color: var(--chip-dismiss-warning-background-hover);
|
|
12439
12481
|
color: var(--chip-dismiss-warning-foreground-hover);
|
|
12440
12482
|
}
|
|
12441
|
-
.muka-chip--warning .muka-chip__remove:active
|
|
12483
|
+
.muka-chip--warning .muka-chip__remove:active,
|
|
12484
|
+
.muka-chip--warning.muka-chip--expandable:active:not(:disabled) .muka-chip__expand,
|
|
12485
|
+
.muka-chip--warning.muka-chip--expandable[aria-expanded='true'] .muka-chip__expand {
|
|
12442
12486
|
background-color: var(--chip-dismiss-warning-background-pressed);
|
|
12443
12487
|
color: var(--chip-dismiss-warning-foreground-pressed);
|
|
12444
12488
|
}
|
|
12445
12489
|
|
|
12446
|
-
.muka-chip--error .muka-chip__remove
|
|
12490
|
+
.muka-chip--error .muka-chip__remove,
|
|
12491
|
+
.muka-chip--error .muka-chip__expand {
|
|
12447
12492
|
background-color: var(--chip-dismiss-error-background-default);
|
|
12448
12493
|
color: var(--chip-dismiss-error-foreground-default);
|
|
12449
12494
|
}
|
|
12450
|
-
.muka-chip--error .muka-chip__remove:hover
|
|
12495
|
+
.muka-chip--error .muka-chip__remove:hover,
|
|
12496
|
+
.muka-chip--error.muka-chip--expandable:hover:not(:disabled) .muka-chip__expand {
|
|
12451
12497
|
background-color: var(--chip-dismiss-error-background-hover);
|
|
12452
12498
|
color: var(--chip-dismiss-error-foreground-hover);
|
|
12453
12499
|
}
|
|
12454
|
-
.muka-chip--error .muka-chip__remove:active
|
|
12500
|
+
.muka-chip--error .muka-chip__remove:active,
|
|
12501
|
+
.muka-chip--error.muka-chip--expandable:active:not(:disabled) .muka-chip__expand,
|
|
12502
|
+
.muka-chip--error.muka-chip--expandable[aria-expanded='true'] .muka-chip__expand {
|
|
12455
12503
|
background-color: var(--chip-dismiss-error-background-pressed);
|
|
12456
12504
|
color: var(--chip-dismiss-error-foreground-pressed);
|
|
12457
12505
|
}
|
|
12458
12506
|
|
|
12459
|
-
.muka-chip--info .muka-chip__remove
|
|
12507
|
+
.muka-chip--info .muka-chip__remove,
|
|
12508
|
+
.muka-chip--info .muka-chip__expand {
|
|
12460
12509
|
background-color: var(--chip-dismiss-info-background-default);
|
|
12461
12510
|
color: var(--chip-dismiss-info-foreground-default);
|
|
12462
12511
|
}
|
|
12463
|
-
.muka-chip--info .muka-chip__remove:hover
|
|
12512
|
+
.muka-chip--info .muka-chip__remove:hover,
|
|
12513
|
+
.muka-chip--info.muka-chip--expandable:hover:not(:disabled) .muka-chip__expand {
|
|
12464
12514
|
background-color: var(--chip-dismiss-info-background-hover);
|
|
12465
12515
|
color: var(--chip-dismiss-info-foreground-hover);
|
|
12466
12516
|
}
|
|
12467
|
-
.muka-chip--info .muka-chip__remove:active
|
|
12517
|
+
.muka-chip--info .muka-chip__remove:active,
|
|
12518
|
+
.muka-chip--info.muka-chip--expandable:active:not(:disabled) .muka-chip__expand,
|
|
12519
|
+
.muka-chip--info.muka-chip--expandable[aria-expanded='true'] .muka-chip__expand {
|
|
12468
12520
|
background-color: var(--chip-dismiss-info-background-pressed);
|
|
12469
12521
|
color: var(--chip-dismiss-info-foreground-pressed);
|
|
12470
12522
|
}
|
|
@@ -14669,6 +14721,114 @@ button.muka-chat-photo-grid__tile:focus-visible {
|
|
|
14669
14721
|
}
|
|
14670
14722
|
|
|
14671
14723
|
|
|
14724
|
+
/* BadgeNumber */
|
|
14725
|
+
/* BadgeNumber Component Styles - Using Muka Design Tokens */
|
|
14726
|
+
|
|
14727
|
+
.muka-badge-number {
|
|
14728
|
+
display: inline-flex;
|
|
14729
|
+
align-items: center;
|
|
14730
|
+
justify-content: center;
|
|
14731
|
+
border-radius: var(--border-radius-full);
|
|
14732
|
+
white-space: nowrap;
|
|
14733
|
+
user-select: none;
|
|
14734
|
+
box-sizing: border-box;
|
|
14735
|
+
}
|
|
14736
|
+
|
|
14737
|
+
/*
|
|
14738
|
+
* Sizes — fixed height, matching min-width (so a single digit renders as a
|
|
14739
|
+
* circle), horizontal padding, and bold label typography. Vertical centering
|
|
14740
|
+
* is handled by the fixed height + align-items: center.
|
|
14741
|
+
*/
|
|
14742
|
+
.muka-badge-number--2xs {
|
|
14743
|
+
height: var(--badge-number-size-2xs);
|
|
14744
|
+
min-width: var(--badge-number-size-2xs);
|
|
14745
|
+
padding: 0 var(--badge-number-padding-2xs);
|
|
14746
|
+
font-family: var(--text-label-xs-bold-fontFamily);
|
|
14747
|
+
font-weight: var(--text-label-xs-bold-fontWeight);
|
|
14748
|
+
font-size: var(--text-label-xs-bold-fontSize);
|
|
14749
|
+
line-height: var(--text-label-xs-bold-lineHeight);
|
|
14750
|
+
}
|
|
14751
|
+
|
|
14752
|
+
.muka-badge-number--xs {
|
|
14753
|
+
height: var(--badge-number-size-xs);
|
|
14754
|
+
min-width: var(--badge-number-size-xs);
|
|
14755
|
+
padding: 0 var(--badge-number-padding-xs);
|
|
14756
|
+
font-family: var(--text-label-sm-bold-fontFamily);
|
|
14757
|
+
font-weight: var(--text-label-sm-bold-fontWeight);
|
|
14758
|
+
font-size: var(--text-label-sm-bold-fontSize);
|
|
14759
|
+
line-height: var(--text-label-sm-bold-lineHeight);
|
|
14760
|
+
}
|
|
14761
|
+
|
|
14762
|
+
.muka-badge-number--sm {
|
|
14763
|
+
height: var(--badge-number-size-sm);
|
|
14764
|
+
min-width: var(--badge-number-size-sm);
|
|
14765
|
+
padding: 0 var(--badge-number-padding-sm);
|
|
14766
|
+
font-family: var(--text-label-md-bold-fontFamily);
|
|
14767
|
+
font-weight: var(--text-label-md-bold-fontWeight);
|
|
14768
|
+
font-size: var(--text-label-md-bold-fontSize);
|
|
14769
|
+
line-height: var(--text-label-md-bold-lineHeight);
|
|
14770
|
+
}
|
|
14771
|
+
|
|
14772
|
+
.muka-badge-number--md {
|
|
14773
|
+
height: var(--badge-number-size-md);
|
|
14774
|
+
min-width: var(--badge-number-size-md);
|
|
14775
|
+
padding: 0 var(--badge-number-padding-md);
|
|
14776
|
+
font-family: var(--text-label-lg-bold-fontFamily);
|
|
14777
|
+
font-weight: var(--text-label-lg-bold-fontWeight);
|
|
14778
|
+
font-size: var(--text-label-lg-bold-fontSize);
|
|
14779
|
+
line-height: var(--text-label-lg-bold-lineHeight);
|
|
14780
|
+
}
|
|
14781
|
+
|
|
14782
|
+
.muka-badge-number--lg {
|
|
14783
|
+
height: var(--badge-number-size-lg);
|
|
14784
|
+
min-width: var(--badge-number-size-lg);
|
|
14785
|
+
padding: 0 var(--badge-number-padding-lg);
|
|
14786
|
+
font-family: var(--text-label-2xl-bold-fontFamily);
|
|
14787
|
+
font-weight: var(--text-label-2xl-bold-fontWeight);
|
|
14788
|
+
font-size: var(--text-label-2xl-bold-fontSize);
|
|
14789
|
+
line-height: var(--text-label-2xl-bold-lineHeight);
|
|
14790
|
+
}
|
|
14791
|
+
|
|
14792
|
+
.muka-badge-number__label {
|
|
14793
|
+
/*
|
|
14794
|
+
* The badge sets a tight line-height for compact sizing, which would clip
|
|
14795
|
+
* glyph descenders; give the label a roomier line-height. Vertical centering
|
|
14796
|
+
* is unaffected because the badge height is fixed and content is centered.
|
|
14797
|
+
*/
|
|
14798
|
+
line-height: normal;
|
|
14799
|
+
}
|
|
14800
|
+
|
|
14801
|
+
/* Neutral variant */
|
|
14802
|
+
.muka-badge-number--neutral {
|
|
14803
|
+
background-color: var(--color-surface-level1);
|
|
14804
|
+
color: var(--color-text-default-default);
|
|
14805
|
+
}
|
|
14806
|
+
|
|
14807
|
+
/* Info variant */
|
|
14808
|
+
.muka-badge-number--info {
|
|
14809
|
+
background-color: var(--color-state-info-contrast);
|
|
14810
|
+
color: var(--color-text-default-inverse);
|
|
14811
|
+
}
|
|
14812
|
+
|
|
14813
|
+
/* Success variant */
|
|
14814
|
+
.muka-badge-number--success {
|
|
14815
|
+
background-color: var(--color-state-success-contrast);
|
|
14816
|
+
color: var(--color-text-default-inverse);
|
|
14817
|
+
}
|
|
14818
|
+
|
|
14819
|
+
/* Warning variant */
|
|
14820
|
+
.muka-badge-number--warning {
|
|
14821
|
+
background-color: var(--color-state-warning-contrast);
|
|
14822
|
+
color: var(--color-text-default-inverse);
|
|
14823
|
+
}
|
|
14824
|
+
|
|
14825
|
+
/* Error variant */
|
|
14826
|
+
.muka-badge-number--error {
|
|
14827
|
+
background-color: var(--color-state-error-contrast);
|
|
14828
|
+
color: var(--color-text-default-inverse);
|
|
14829
|
+
}
|
|
14830
|
+
|
|
14831
|
+
|
|
14672
14832
|
/* Badge */
|
|
14673
14833
|
/* Badge Component Styles - Using Muka Design Tokens */
|
|
14674
14834
|
|
|
@@ -16046,111 +16206,3 @@ button.muka-chat-photo-grid__tile:focus-visible {
|
|
|
16046
16206
|
border-bottom: none;
|
|
16047
16207
|
}
|
|
16048
16208
|
|
|
16049
|
-
|
|
16050
|
-
/* BadgeNumber */
|
|
16051
|
-
/* BadgeNumber Component Styles - Using Muka Design Tokens */
|
|
16052
|
-
|
|
16053
|
-
.muka-badge-number {
|
|
16054
|
-
display: inline-flex;
|
|
16055
|
-
align-items: center;
|
|
16056
|
-
justify-content: center;
|
|
16057
|
-
border-radius: var(--border-radius-full);
|
|
16058
|
-
white-space: nowrap;
|
|
16059
|
-
user-select: none;
|
|
16060
|
-
box-sizing: border-box;
|
|
16061
|
-
}
|
|
16062
|
-
|
|
16063
|
-
/*
|
|
16064
|
-
* Sizes — fixed height, matching min-width (so a single digit renders as a
|
|
16065
|
-
* circle), horizontal padding, and bold label typography. Vertical centering
|
|
16066
|
-
* is handled by the fixed height + align-items: center.
|
|
16067
|
-
*/
|
|
16068
|
-
.muka-badge-number--2xs {
|
|
16069
|
-
height: var(--badge-number-size-2xs);
|
|
16070
|
-
min-width: var(--badge-number-size-2xs);
|
|
16071
|
-
padding: 0 var(--badge-number-padding-2xs);
|
|
16072
|
-
font-family: var(--text-label-xs-bold-fontFamily);
|
|
16073
|
-
font-weight: var(--text-label-xs-bold-fontWeight);
|
|
16074
|
-
font-size: var(--text-label-xs-bold-fontSize);
|
|
16075
|
-
line-height: var(--text-label-xs-bold-lineHeight);
|
|
16076
|
-
}
|
|
16077
|
-
|
|
16078
|
-
.muka-badge-number--xs {
|
|
16079
|
-
height: var(--badge-number-size-xs);
|
|
16080
|
-
min-width: var(--badge-number-size-xs);
|
|
16081
|
-
padding: 0 var(--badge-number-padding-xs);
|
|
16082
|
-
font-family: var(--text-label-sm-bold-fontFamily);
|
|
16083
|
-
font-weight: var(--text-label-sm-bold-fontWeight);
|
|
16084
|
-
font-size: var(--text-label-sm-bold-fontSize);
|
|
16085
|
-
line-height: var(--text-label-sm-bold-lineHeight);
|
|
16086
|
-
}
|
|
16087
|
-
|
|
16088
|
-
.muka-badge-number--sm {
|
|
16089
|
-
height: var(--badge-number-size-sm);
|
|
16090
|
-
min-width: var(--badge-number-size-sm);
|
|
16091
|
-
padding: 0 var(--badge-number-padding-sm);
|
|
16092
|
-
font-family: var(--text-label-md-bold-fontFamily);
|
|
16093
|
-
font-weight: var(--text-label-md-bold-fontWeight);
|
|
16094
|
-
font-size: var(--text-label-md-bold-fontSize);
|
|
16095
|
-
line-height: var(--text-label-md-bold-lineHeight);
|
|
16096
|
-
}
|
|
16097
|
-
|
|
16098
|
-
.muka-badge-number--md {
|
|
16099
|
-
height: var(--badge-number-size-md);
|
|
16100
|
-
min-width: var(--badge-number-size-md);
|
|
16101
|
-
padding: 0 var(--badge-number-padding-md);
|
|
16102
|
-
font-family: var(--text-label-lg-bold-fontFamily);
|
|
16103
|
-
font-weight: var(--text-label-lg-bold-fontWeight);
|
|
16104
|
-
font-size: var(--text-label-lg-bold-fontSize);
|
|
16105
|
-
line-height: var(--text-label-lg-bold-lineHeight);
|
|
16106
|
-
}
|
|
16107
|
-
|
|
16108
|
-
.muka-badge-number--lg {
|
|
16109
|
-
height: var(--badge-number-size-lg);
|
|
16110
|
-
min-width: var(--badge-number-size-lg);
|
|
16111
|
-
padding: 0 var(--badge-number-padding-lg);
|
|
16112
|
-
font-family: var(--text-label-2xl-bold-fontFamily);
|
|
16113
|
-
font-weight: var(--text-label-2xl-bold-fontWeight);
|
|
16114
|
-
font-size: var(--text-label-2xl-bold-fontSize);
|
|
16115
|
-
line-height: var(--text-label-2xl-bold-lineHeight);
|
|
16116
|
-
}
|
|
16117
|
-
|
|
16118
|
-
.muka-badge-number__label {
|
|
16119
|
-
/*
|
|
16120
|
-
* The badge sets a tight line-height for compact sizing, which would clip
|
|
16121
|
-
* glyph descenders; give the label a roomier line-height. Vertical centering
|
|
16122
|
-
* is unaffected because the badge height is fixed and content is centered.
|
|
16123
|
-
*/
|
|
16124
|
-
line-height: normal;
|
|
16125
|
-
}
|
|
16126
|
-
|
|
16127
|
-
/* Neutral variant */
|
|
16128
|
-
.muka-badge-number--neutral {
|
|
16129
|
-
background-color: var(--color-surface-level1);
|
|
16130
|
-
color: var(--color-text-default-default);
|
|
16131
|
-
}
|
|
16132
|
-
|
|
16133
|
-
/* Info variant */
|
|
16134
|
-
.muka-badge-number--info {
|
|
16135
|
-
background-color: var(--color-state-info-contrast);
|
|
16136
|
-
color: var(--color-text-default-inverse);
|
|
16137
|
-
}
|
|
16138
|
-
|
|
16139
|
-
/* Success variant */
|
|
16140
|
-
.muka-badge-number--success {
|
|
16141
|
-
background-color: var(--color-state-success-contrast);
|
|
16142
|
-
color: var(--color-text-default-inverse);
|
|
16143
|
-
}
|
|
16144
|
-
|
|
16145
|
-
/* Warning variant */
|
|
16146
|
-
.muka-badge-number--warning {
|
|
16147
|
-
background-color: var(--color-state-warning-contrast);
|
|
16148
|
-
color: var(--color-text-default-inverse);
|
|
16149
|
-
}
|
|
16150
|
-
|
|
16151
|
-
/* Error variant */
|
|
16152
|
-
.muka-badge-number--error {
|
|
16153
|
-
background-color: var(--color-state-error-contrast);
|
|
16154
|
-
color: var(--color-text-default-inverse);
|
|
16155
|
-
}
|
|
16156
|
-
|