@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
|
@@ -4758,84 +4758,6 @@ body {
|
|
|
4758
4758
|
}
|
|
4759
4759
|
|
|
4760
4760
|
|
|
4761
|
-
/* Spinner */
|
|
4762
|
-
/* Spinner Component Styles */
|
|
4763
|
-
|
|
4764
|
-
.muka-spinner {
|
|
4765
|
-
display: inline-flex;
|
|
4766
|
-
align-items: center;
|
|
4767
|
-
justify-content: center;
|
|
4768
|
-
color: var(--color-text-default-default);
|
|
4769
|
-
line-height: 0;
|
|
4770
|
-
}
|
|
4771
|
-
|
|
4772
|
-
.muka-spinner--subtle {
|
|
4773
|
-
color: var(--color-text-subtle-default);
|
|
4774
|
-
}
|
|
4775
|
-
|
|
4776
|
-
.muka-spinner--inverse {
|
|
4777
|
-
color: var(--color-text-default-inverse);
|
|
4778
|
-
}
|
|
4779
|
-
|
|
4780
|
-
.muka-spinner__circle {
|
|
4781
|
-
display: inline-block;
|
|
4782
|
-
border-radius: 50%;
|
|
4783
|
-
border-style: solid;
|
|
4784
|
-
border-color: currentColor;
|
|
4785
|
-
border-right-color: transparent;
|
|
4786
|
-
animation: muka-spinner-rotate 0.7s linear infinite;
|
|
4787
|
-
box-sizing: border-box;
|
|
4788
|
-
}
|
|
4789
|
-
|
|
4790
|
-
/* ─── Sizes ───────────────────────────────────────────── */
|
|
4791
|
-
|
|
4792
|
-
.muka-spinner--sm .muka-spinner__circle {
|
|
4793
|
-
width: 16px;
|
|
4794
|
-
height: 16px;
|
|
4795
|
-
border-width: 2px;
|
|
4796
|
-
}
|
|
4797
|
-
|
|
4798
|
-
.muka-spinner--md .muka-spinner__circle {
|
|
4799
|
-
width: 20px;
|
|
4800
|
-
height: 20px;
|
|
4801
|
-
border-width: 2px;
|
|
4802
|
-
}
|
|
4803
|
-
|
|
4804
|
-
.muka-spinner--lg .muka-spinner__circle {
|
|
4805
|
-
width: 24px;
|
|
4806
|
-
height: 24px;
|
|
4807
|
-
border-width: 3px;
|
|
4808
|
-
}
|
|
4809
|
-
|
|
4810
|
-
/* ─── Visually-hidden label ───────────────────────────── */
|
|
4811
|
-
|
|
4812
|
-
.muka-spinner__sr-label {
|
|
4813
|
-
position: absolute;
|
|
4814
|
-
width: 1px;
|
|
4815
|
-
height: 1px;
|
|
4816
|
-
padding: 0;
|
|
4817
|
-
margin: -1px;
|
|
4818
|
-
overflow: hidden;
|
|
4819
|
-
clip: rect(0, 0, 0, 0);
|
|
4820
|
-
white-space: nowrap;
|
|
4821
|
-
border: 0;
|
|
4822
|
-
}
|
|
4823
|
-
|
|
4824
|
-
/* ─── Reduced motion ──────────────────────────────────── */
|
|
4825
|
-
|
|
4826
|
-
@keyframes muka-spinner-rotate {
|
|
4827
|
-
to {
|
|
4828
|
-
transform: rotate(360deg);
|
|
4829
|
-
}
|
|
4830
|
-
}
|
|
4831
|
-
|
|
4832
|
-
@media (prefers-reduced-motion: reduce) {
|
|
4833
|
-
.muka-spinner__circle {
|
|
4834
|
-
animation-duration: 2.5s;
|
|
4835
|
-
}
|
|
4836
|
-
}
|
|
4837
|
-
|
|
4838
|
-
|
|
4839
4761
|
/* SpecList */
|
|
4840
4762
|
/* SpecList Component Styles */
|
|
4841
4763
|
|
|
@@ -5071,6 +4993,84 @@ body {
|
|
|
5071
4993
|
}
|
|
5072
4994
|
|
|
5073
4995
|
|
|
4996
|
+
/* Spinner */
|
|
4997
|
+
/* Spinner Component Styles */
|
|
4998
|
+
|
|
4999
|
+
.muka-spinner {
|
|
5000
|
+
display: inline-flex;
|
|
5001
|
+
align-items: center;
|
|
5002
|
+
justify-content: center;
|
|
5003
|
+
color: var(--color-text-default-default);
|
|
5004
|
+
line-height: 0;
|
|
5005
|
+
}
|
|
5006
|
+
|
|
5007
|
+
.muka-spinner--subtle {
|
|
5008
|
+
color: var(--color-text-subtle-default);
|
|
5009
|
+
}
|
|
5010
|
+
|
|
5011
|
+
.muka-spinner--inverse {
|
|
5012
|
+
color: var(--color-text-default-inverse);
|
|
5013
|
+
}
|
|
5014
|
+
|
|
5015
|
+
.muka-spinner__circle {
|
|
5016
|
+
display: inline-block;
|
|
5017
|
+
border-radius: 50%;
|
|
5018
|
+
border-style: solid;
|
|
5019
|
+
border-color: currentColor;
|
|
5020
|
+
border-right-color: transparent;
|
|
5021
|
+
animation: muka-spinner-rotate 0.7s linear infinite;
|
|
5022
|
+
box-sizing: border-box;
|
|
5023
|
+
}
|
|
5024
|
+
|
|
5025
|
+
/* ─── Sizes ───────────────────────────────────────────── */
|
|
5026
|
+
|
|
5027
|
+
.muka-spinner--sm .muka-spinner__circle {
|
|
5028
|
+
width: 16px;
|
|
5029
|
+
height: 16px;
|
|
5030
|
+
border-width: 2px;
|
|
5031
|
+
}
|
|
5032
|
+
|
|
5033
|
+
.muka-spinner--md .muka-spinner__circle {
|
|
5034
|
+
width: 20px;
|
|
5035
|
+
height: 20px;
|
|
5036
|
+
border-width: 2px;
|
|
5037
|
+
}
|
|
5038
|
+
|
|
5039
|
+
.muka-spinner--lg .muka-spinner__circle {
|
|
5040
|
+
width: 24px;
|
|
5041
|
+
height: 24px;
|
|
5042
|
+
border-width: 3px;
|
|
5043
|
+
}
|
|
5044
|
+
|
|
5045
|
+
/* ─── Visually-hidden label ───────────────────────────── */
|
|
5046
|
+
|
|
5047
|
+
.muka-spinner__sr-label {
|
|
5048
|
+
position: absolute;
|
|
5049
|
+
width: 1px;
|
|
5050
|
+
height: 1px;
|
|
5051
|
+
padding: 0;
|
|
5052
|
+
margin: -1px;
|
|
5053
|
+
overflow: hidden;
|
|
5054
|
+
clip: rect(0, 0, 0, 0);
|
|
5055
|
+
white-space: nowrap;
|
|
5056
|
+
border: 0;
|
|
5057
|
+
}
|
|
5058
|
+
|
|
5059
|
+
/* ─── Reduced motion ──────────────────────────────────── */
|
|
5060
|
+
|
|
5061
|
+
@keyframes muka-spinner-rotate {
|
|
5062
|
+
to {
|
|
5063
|
+
transform: rotate(360deg);
|
|
5064
|
+
}
|
|
5065
|
+
}
|
|
5066
|
+
|
|
5067
|
+
@media (prefers-reduced-motion: reduce) {
|
|
5068
|
+
.muka-spinner__circle {
|
|
5069
|
+
animation-duration: 2.5s;
|
|
5070
|
+
}
|
|
5071
|
+
}
|
|
5072
|
+
|
|
5073
|
+
|
|
5074
5074
|
/* SmsOtpField */
|
|
5075
5075
|
/* SmsOtpField Component Styles - Using Muka Design Tokens */
|
|
5076
5076
|
|
|
@@ -7412,73 +7412,245 @@ body {
|
|
|
7412
7412
|
}
|
|
7413
7413
|
|
|
7414
7414
|
|
|
7415
|
-
/*
|
|
7416
|
-
/*
|
|
7415
|
+
/* Progress */
|
|
7416
|
+
/* Progress Component Styles - Using Muka Design Tokens */
|
|
7417
7417
|
|
|
7418
|
-
|
|
7419
|
-
|
|
7418
|
+
/* ========================================
|
|
7419
|
+
BAR VARIANT
|
|
7420
|
+
======================================== */
|
|
7421
|
+
|
|
7422
|
+
.muka-progress--bar {
|
|
7423
|
+
display: flex;
|
|
7420
7424
|
align-items: center;
|
|
7421
|
-
|
|
7425
|
+
gap: var(--spacing-2);
|
|
7426
|
+
width: 100%;
|
|
7422
7427
|
}
|
|
7423
7428
|
|
|
7424
|
-
|
|
7425
|
-
|
|
7426
|
-
|
|
7429
|
+
.muka-progress--bar .muka-progress__track {
|
|
7430
|
+
flex: 1;
|
|
7431
|
+
background-color: var(--color-surface-level1);
|
|
7432
|
+
border-radius: var(--border-radius-full);
|
|
7433
|
+
overflow: hidden;
|
|
7427
7434
|
}
|
|
7428
7435
|
|
|
7429
|
-
.muka-
|
|
7430
|
-
|
|
7436
|
+
.muka-progress--bar.muka-progress--sm .muka-progress__track {
|
|
7437
|
+
height: var(--progress-size-bar-height-sm);
|
|
7431
7438
|
}
|
|
7432
7439
|
|
|
7433
|
-
.muka-
|
|
7434
|
-
|
|
7440
|
+
.muka-progress--bar.muka-progress--md .muka-progress__track {
|
|
7441
|
+
height: var(--progress-size-bar-height-md);
|
|
7435
7442
|
}
|
|
7436
7443
|
|
|
7437
|
-
|
|
7438
|
-
|
|
7439
|
-
display: flex;
|
|
7440
|
-
flex-direction: column;
|
|
7441
|
-
align-items: flex-start;
|
|
7442
|
-
min-width: 0;
|
|
7444
|
+
.muka-progress--bar.muka-progress--lg .muka-progress__track {
|
|
7445
|
+
height: var(--progress-size-bar-height-lg);
|
|
7443
7446
|
}
|
|
7444
7447
|
|
|
7445
|
-
.muka-
|
|
7446
|
-
|
|
7447
|
-
|
|
7448
|
-
|
|
7449
|
-
|
|
7450
|
-
color: var(--color-text-default-default);
|
|
7448
|
+
.muka-progress--bar .muka-progress__fill {
|
|
7449
|
+
height: 100%;
|
|
7450
|
+
background-color: var(--color-action-default);
|
|
7451
|
+
border-radius: var(--border-radius-full);
|
|
7452
|
+
transition: width 0.3s ease;
|
|
7451
7453
|
}
|
|
7452
7454
|
|
|
7453
|
-
.muka-
|
|
7454
|
-
|
|
7455
|
-
font-
|
|
7456
|
-
font-weight: var(--text-
|
|
7457
|
-
|
|
7458
|
-
|
|
7455
|
+
.muka-progress--bar .muka-progress__label {
|
|
7456
|
+
flex-shrink: 0;
|
|
7457
|
+
font-family: var(--text-label-sm-semibold-fontFamily);
|
|
7458
|
+
font-weight: var(--text-label-sm-semibold-fontWeight);
|
|
7459
|
+
font-size: var(--text-label-sm-semibold-fontSize);
|
|
7460
|
+
line-height: var(--text-label-sm-semibold-lineHeight);
|
|
7461
|
+
color: var(--color-text-default-default);
|
|
7462
|
+
min-width: 3ch;
|
|
7463
|
+
text-align: right;
|
|
7459
7464
|
}
|
|
7460
7465
|
|
|
7461
|
-
/*
|
|
7462
|
-
.muka-
|
|
7463
|
-
|
|
7464
|
-
|
|
7465
|
-
background: none;
|
|
7466
|
-
padding: 0;
|
|
7467
|
-
text-align: left;
|
|
7468
|
-
border-radius: var(--radius-md);
|
|
7469
|
-
transition: opacity 0.2s ease;
|
|
7466
|
+
/* Indeterminate animation for bar */
|
|
7467
|
+
.muka-progress--bar.muka-progress--indeterminate .muka-progress__fill {
|
|
7468
|
+
width: 40%;
|
|
7469
|
+
animation: muka-progress-bar-indeterminate 1.5s ease-in-out infinite;
|
|
7470
7470
|
}
|
|
7471
7471
|
|
|
7472
|
-
|
|
7473
|
-
|
|
7472
|
+
@keyframes muka-progress-bar-indeterminate {
|
|
7473
|
+
0% {
|
|
7474
|
+
transform: translateX(-100%);
|
|
7475
|
+
}
|
|
7476
|
+
100% {
|
|
7477
|
+
transform: translateX(250%);
|
|
7478
|
+
}
|
|
7474
7479
|
}
|
|
7475
7480
|
|
|
7476
|
-
|
|
7477
|
-
|
|
7481
|
+
/* ========================================
|
|
7482
|
+
CIRCLE VARIANT
|
|
7483
|
+
======================================== */
|
|
7484
|
+
|
|
7485
|
+
.muka-progress--circle {
|
|
7486
|
+
position: relative;
|
|
7487
|
+
display: inline-flex;
|
|
7488
|
+
align-items: center;
|
|
7489
|
+
justify-content: center;
|
|
7478
7490
|
}
|
|
7479
7491
|
|
|
7480
|
-
.muka-
|
|
7481
|
-
|
|
7492
|
+
.muka-progress--circle.muka-progress--sm {
|
|
7493
|
+
width: var(--progress-size-circle-diameter-sm);
|
|
7494
|
+
height: var(--progress-size-circle-diameter-sm);
|
|
7495
|
+
}
|
|
7496
|
+
|
|
7497
|
+
.muka-progress--circle.muka-progress--md {
|
|
7498
|
+
width: var(--progress-size-circle-diameter-md);
|
|
7499
|
+
height: var(--progress-size-circle-diameter-md);
|
|
7500
|
+
}
|
|
7501
|
+
|
|
7502
|
+
.muka-progress--circle.muka-progress--lg {
|
|
7503
|
+
width: var(--progress-size-circle-diameter-lg);
|
|
7504
|
+
height: var(--progress-size-circle-diameter-lg);
|
|
7505
|
+
}
|
|
7506
|
+
|
|
7507
|
+
.muka-progress__circle {
|
|
7508
|
+
width: 100%;
|
|
7509
|
+
height: 100%;
|
|
7510
|
+
transform: rotate(-90deg);
|
|
7511
|
+
}
|
|
7512
|
+
|
|
7513
|
+
.muka-progress--circle .muka-progress__track {
|
|
7514
|
+
fill: none;
|
|
7515
|
+
stroke: var(--color-surface-level1);
|
|
7516
|
+
}
|
|
7517
|
+
|
|
7518
|
+
.muka-progress--circle.muka-progress--sm .muka-progress__track,
|
|
7519
|
+
.muka-progress--circle.muka-progress--sm .muka-progress__fill {
|
|
7520
|
+
stroke-width: var(--progress-size-circle-strokeWidth-sm);
|
|
7521
|
+
}
|
|
7522
|
+
|
|
7523
|
+
.muka-progress--circle.muka-progress--md .muka-progress__track,
|
|
7524
|
+
.muka-progress--circle.muka-progress--md .muka-progress__fill {
|
|
7525
|
+
stroke-width: var(--progress-size-circle-strokeWidth-md);
|
|
7526
|
+
}
|
|
7527
|
+
|
|
7528
|
+
.muka-progress--circle.muka-progress--lg .muka-progress__track,
|
|
7529
|
+
.muka-progress--circle.muka-progress--lg .muka-progress__fill {
|
|
7530
|
+
stroke-width: var(--progress-size-circle-strokeWidth-lg);
|
|
7531
|
+
}
|
|
7532
|
+
|
|
7533
|
+
.muka-progress--circle .muka-progress__fill {
|
|
7534
|
+
fill: none;
|
|
7535
|
+
stroke: var(--color-action-default);
|
|
7536
|
+
stroke-linecap: round;
|
|
7537
|
+
transition: stroke-dashoffset 0.3s ease;
|
|
7538
|
+
}
|
|
7539
|
+
|
|
7540
|
+
.muka-progress--circle .muka-progress__label {
|
|
7541
|
+
position: absolute;
|
|
7542
|
+
font-family: var(--text-label-sm-semibold-fontFamily);
|
|
7543
|
+
font-weight: var(--text-label-sm-semibold-fontWeight);
|
|
7544
|
+
color: var(--color-text-default-default);
|
|
7545
|
+
}
|
|
7546
|
+
|
|
7547
|
+
.muka-progress--circle.muka-progress--sm .muka-progress__label {
|
|
7548
|
+
font-size: var(--text-label-sm-semibold-fontSize);
|
|
7549
|
+
}
|
|
7550
|
+
|
|
7551
|
+
.muka-progress--circle.muka-progress--md .muka-progress__label {
|
|
7552
|
+
font-size: var(--text-label-md-semibold-fontSize);
|
|
7553
|
+
}
|
|
7554
|
+
|
|
7555
|
+
.muka-progress--circle.muka-progress--lg .muka-progress__label {
|
|
7556
|
+
font-size: var(--text-label-lg-semibold-fontSize);
|
|
7557
|
+
}
|
|
7558
|
+
|
|
7559
|
+
/* Indeterminate animation for circle */
|
|
7560
|
+
.muka-progress--circle.muka-progress--indeterminate .muka-progress__circle {
|
|
7561
|
+
animation: muka-progress-circle-rotate 2s linear infinite;
|
|
7562
|
+
}
|
|
7563
|
+
|
|
7564
|
+
.muka-progress--circle.muka-progress--indeterminate .muka-progress__fill {
|
|
7565
|
+
animation: muka-progress-circle-dash 1.5s ease-in-out infinite;
|
|
7566
|
+
}
|
|
7567
|
+
|
|
7568
|
+
@keyframes muka-progress-circle-rotate {
|
|
7569
|
+
100% {
|
|
7570
|
+
transform: rotate(270deg);
|
|
7571
|
+
}
|
|
7572
|
+
}
|
|
7573
|
+
|
|
7574
|
+
@keyframes muka-progress-circle-dash {
|
|
7575
|
+
0% {
|
|
7576
|
+
stroke-dashoffset: 220;
|
|
7577
|
+
}
|
|
7578
|
+
50% {
|
|
7579
|
+
stroke-dashoffset: 70;
|
|
7580
|
+
}
|
|
7581
|
+
100% {
|
|
7582
|
+
stroke-dashoffset: 220;
|
|
7583
|
+
}
|
|
7584
|
+
}
|
|
7585
|
+
|
|
7586
|
+
|
|
7587
|
+
/* ProfileBadge */
|
|
7588
|
+
/* ProfileBadge Component Styles - Using Muka Design Tokens */
|
|
7589
|
+
|
|
7590
|
+
.muka-profile-badge {
|
|
7591
|
+
display: inline-flex;
|
|
7592
|
+
align-items: center;
|
|
7593
|
+
font-family: var(--text-body-base-regular-fontFamily);
|
|
7594
|
+
}
|
|
7595
|
+
|
|
7596
|
+
/* Size variants */
|
|
7597
|
+
.muka-profile-badge--lg {
|
|
7598
|
+
gap: var(--spacing-4); /* 16px */
|
|
7599
|
+
}
|
|
7600
|
+
|
|
7601
|
+
.muka-profile-badge--md {
|
|
7602
|
+
gap: var(--spacing-3); /* 12px */
|
|
7603
|
+
}
|
|
7604
|
+
|
|
7605
|
+
.muka-profile-badge__avatar {
|
|
7606
|
+
flex-shrink: 0;
|
|
7607
|
+
}
|
|
7608
|
+
|
|
7609
|
+
/* Text stack */
|
|
7610
|
+
.muka-profile-badge__text {
|
|
7611
|
+
display: flex;
|
|
7612
|
+
flex-direction: column;
|
|
7613
|
+
align-items: flex-start;
|
|
7614
|
+
min-width: 0;
|
|
7615
|
+
}
|
|
7616
|
+
|
|
7617
|
+
.muka-profile-badge__name {
|
|
7618
|
+
font-family: var(--text-body-base-regular-fontFamily);
|
|
7619
|
+
font-size: var(--text-body-base-regular-fontSize);
|
|
7620
|
+
font-weight: var(--text-body-base-regular-fontWeight);
|
|
7621
|
+
line-height: var(--text-body-base-regular-lineHeight);
|
|
7622
|
+
color: var(--color-text-default-default);
|
|
7623
|
+
}
|
|
7624
|
+
|
|
7625
|
+
.muka-profile-badge__email {
|
|
7626
|
+
font-family: var(--text-body-xs-regular-fontFamily);
|
|
7627
|
+
font-size: var(--text-body-xs-regular-fontSize);
|
|
7628
|
+
font-weight: var(--text-body-xs-regular-fontWeight);
|
|
7629
|
+
line-height: var(--text-body-xs-regular-lineHeight);
|
|
7630
|
+
color: var(--color-text-subtle-default);
|
|
7631
|
+
}
|
|
7632
|
+
|
|
7633
|
+
/* Clickable state */
|
|
7634
|
+
.muka-profile-badge--clickable {
|
|
7635
|
+
cursor: pointer;
|
|
7636
|
+
border: none;
|
|
7637
|
+
background: none;
|
|
7638
|
+
padding: 0;
|
|
7639
|
+
text-align: left;
|
|
7640
|
+
border-radius: var(--radius-md);
|
|
7641
|
+
transition: opacity 0.2s ease;
|
|
7642
|
+
}
|
|
7643
|
+
|
|
7644
|
+
.muka-profile-badge--clickable:hover {
|
|
7645
|
+
opacity: 0.9;
|
|
7646
|
+
}
|
|
7647
|
+
|
|
7648
|
+
.muka-profile-badge--clickable:active {
|
|
7649
|
+
opacity: 0.8;
|
|
7650
|
+
}
|
|
7651
|
+
|
|
7652
|
+
.muka-profile-badge--clickable:focus-visible {
|
|
7653
|
+
outline: 2px solid var(--color-border-focus);
|
|
7482
7654
|
outline-offset: 2px;
|
|
7483
7655
|
}
|
|
7484
7656
|
|
|
@@ -7611,239 +7783,67 @@ body {
|
|
|
7611
7783
|
}
|
|
7612
7784
|
|
|
7613
7785
|
|
|
7614
|
-
/*
|
|
7615
|
-
/*
|
|
7616
|
-
|
|
7617
|
-
/* ========================================
|
|
7618
|
-
BAR VARIANT
|
|
7619
|
-
======================================== */
|
|
7786
|
+
/* PieChart */
|
|
7787
|
+
/* PieChart Component Styles - Using Muka Design Tokens */
|
|
7620
7788
|
|
|
7621
|
-
.muka-
|
|
7622
|
-
display: flex;
|
|
7789
|
+
.muka-piechart {
|
|
7790
|
+
display: inline-flex;
|
|
7623
7791
|
align-items: center;
|
|
7624
|
-
gap: var(--spacing-
|
|
7625
|
-
width: 100%;
|
|
7792
|
+
gap: var(--spacing-4);
|
|
7626
7793
|
}
|
|
7627
7794
|
|
|
7628
|
-
|
|
7629
|
-
|
|
7630
|
-
|
|
7631
|
-
border-radius: var(--border-radius-full);
|
|
7632
|
-
overflow: hidden;
|
|
7795
|
+
/* Legend layout */
|
|
7796
|
+
.muka-piechart--legend-right {
|
|
7797
|
+
flex-direction: row;
|
|
7633
7798
|
}
|
|
7634
7799
|
|
|
7635
|
-
.muka-
|
|
7636
|
-
|
|
7800
|
+
.muka-piechart--legend-bottom {
|
|
7801
|
+
flex-direction: column;
|
|
7637
7802
|
}
|
|
7638
7803
|
|
|
7639
|
-
|
|
7640
|
-
|
|
7804
|
+
/* ========================================
|
|
7805
|
+
CHART
|
|
7806
|
+
======================================== */
|
|
7807
|
+
|
|
7808
|
+
.muka-piechart__chart {
|
|
7809
|
+
position: relative;
|
|
7810
|
+
flex-shrink: 0;
|
|
7641
7811
|
}
|
|
7642
7812
|
|
|
7643
|
-
.muka-
|
|
7644
|
-
|
|
7813
|
+
.muka-piechart__chart--sm {
|
|
7814
|
+
width: var(--piechart-size-diameter-sm);
|
|
7815
|
+
height: var(--piechart-size-diameter-sm);
|
|
7645
7816
|
}
|
|
7646
7817
|
|
|
7647
|
-
.muka-
|
|
7648
|
-
|
|
7649
|
-
|
|
7650
|
-
border-radius: var(--border-radius-full);
|
|
7651
|
-
transition: width 0.3s ease;
|
|
7818
|
+
.muka-piechart__chart--md {
|
|
7819
|
+
width: var(--piechart-size-diameter-md);
|
|
7820
|
+
height: var(--piechart-size-diameter-md);
|
|
7652
7821
|
}
|
|
7653
7822
|
|
|
7654
|
-
.muka-
|
|
7655
|
-
|
|
7656
|
-
|
|
7657
|
-
font-weight: var(--text-label-sm-semibold-fontWeight);
|
|
7658
|
-
font-size: var(--text-label-sm-semibold-fontSize);
|
|
7659
|
-
line-height: var(--text-label-sm-semibold-lineHeight);
|
|
7660
|
-
color: var(--color-text-default-default);
|
|
7661
|
-
min-width: 3ch;
|
|
7662
|
-
text-align: right;
|
|
7823
|
+
.muka-piechart__chart--lg {
|
|
7824
|
+
width: var(--piechart-size-diameter-lg);
|
|
7825
|
+
height: var(--piechart-size-diameter-lg);
|
|
7663
7826
|
}
|
|
7664
7827
|
|
|
7665
|
-
|
|
7666
|
-
|
|
7667
|
-
width:
|
|
7668
|
-
|
|
7828
|
+
.muka-piechart__svg {
|
|
7829
|
+
display: block;
|
|
7830
|
+
width: 100%;
|
|
7831
|
+
height: 100%;
|
|
7832
|
+
/* Start slices at 12 o'clock instead of 3 o'clock */
|
|
7833
|
+
transform: rotate(-90deg);
|
|
7669
7834
|
}
|
|
7670
7835
|
|
|
7671
|
-
|
|
7672
|
-
|
|
7673
|
-
|
|
7674
|
-
|
|
7675
|
-
|
|
7676
|
-
|
|
7677
|
-
|
|
7836
|
+
.muka-piechart__track {
|
|
7837
|
+
fill: none;
|
|
7838
|
+
stroke: var(--piechart-color-track);
|
|
7839
|
+
}
|
|
7840
|
+
|
|
7841
|
+
.muka-piechart__segment {
|
|
7842
|
+
fill: none;
|
|
7678
7843
|
}
|
|
7679
7844
|
|
|
7680
7845
|
/* ========================================
|
|
7681
|
-
|
|
7682
|
-
======================================== */
|
|
7683
|
-
|
|
7684
|
-
.muka-progress--circle {
|
|
7685
|
-
position: relative;
|
|
7686
|
-
display: inline-flex;
|
|
7687
|
-
align-items: center;
|
|
7688
|
-
justify-content: center;
|
|
7689
|
-
}
|
|
7690
|
-
|
|
7691
|
-
.muka-progress--circle.muka-progress--sm {
|
|
7692
|
-
width: var(--progress-size-circle-diameter-sm);
|
|
7693
|
-
height: var(--progress-size-circle-diameter-sm);
|
|
7694
|
-
}
|
|
7695
|
-
|
|
7696
|
-
.muka-progress--circle.muka-progress--md {
|
|
7697
|
-
width: var(--progress-size-circle-diameter-md);
|
|
7698
|
-
height: var(--progress-size-circle-diameter-md);
|
|
7699
|
-
}
|
|
7700
|
-
|
|
7701
|
-
.muka-progress--circle.muka-progress--lg {
|
|
7702
|
-
width: var(--progress-size-circle-diameter-lg);
|
|
7703
|
-
height: var(--progress-size-circle-diameter-lg);
|
|
7704
|
-
}
|
|
7705
|
-
|
|
7706
|
-
.muka-progress__circle {
|
|
7707
|
-
width: 100%;
|
|
7708
|
-
height: 100%;
|
|
7709
|
-
transform: rotate(-90deg);
|
|
7710
|
-
}
|
|
7711
|
-
|
|
7712
|
-
.muka-progress--circle .muka-progress__track {
|
|
7713
|
-
fill: none;
|
|
7714
|
-
stroke: var(--color-surface-level1);
|
|
7715
|
-
}
|
|
7716
|
-
|
|
7717
|
-
.muka-progress--circle.muka-progress--sm .muka-progress__track,
|
|
7718
|
-
.muka-progress--circle.muka-progress--sm .muka-progress__fill {
|
|
7719
|
-
stroke-width: var(--progress-size-circle-strokeWidth-sm);
|
|
7720
|
-
}
|
|
7721
|
-
|
|
7722
|
-
.muka-progress--circle.muka-progress--md .muka-progress__track,
|
|
7723
|
-
.muka-progress--circle.muka-progress--md .muka-progress__fill {
|
|
7724
|
-
stroke-width: var(--progress-size-circle-strokeWidth-md);
|
|
7725
|
-
}
|
|
7726
|
-
|
|
7727
|
-
.muka-progress--circle.muka-progress--lg .muka-progress__track,
|
|
7728
|
-
.muka-progress--circle.muka-progress--lg .muka-progress__fill {
|
|
7729
|
-
stroke-width: var(--progress-size-circle-strokeWidth-lg);
|
|
7730
|
-
}
|
|
7731
|
-
|
|
7732
|
-
.muka-progress--circle .muka-progress__fill {
|
|
7733
|
-
fill: none;
|
|
7734
|
-
stroke: var(--color-action-default);
|
|
7735
|
-
stroke-linecap: round;
|
|
7736
|
-
transition: stroke-dashoffset 0.3s ease;
|
|
7737
|
-
}
|
|
7738
|
-
|
|
7739
|
-
.muka-progress--circle .muka-progress__label {
|
|
7740
|
-
position: absolute;
|
|
7741
|
-
font-family: var(--text-label-sm-semibold-fontFamily);
|
|
7742
|
-
font-weight: var(--text-label-sm-semibold-fontWeight);
|
|
7743
|
-
color: var(--color-text-default-default);
|
|
7744
|
-
}
|
|
7745
|
-
|
|
7746
|
-
.muka-progress--circle.muka-progress--sm .muka-progress__label {
|
|
7747
|
-
font-size: var(--text-label-sm-semibold-fontSize);
|
|
7748
|
-
}
|
|
7749
|
-
|
|
7750
|
-
.muka-progress--circle.muka-progress--md .muka-progress__label {
|
|
7751
|
-
font-size: var(--text-label-md-semibold-fontSize);
|
|
7752
|
-
}
|
|
7753
|
-
|
|
7754
|
-
.muka-progress--circle.muka-progress--lg .muka-progress__label {
|
|
7755
|
-
font-size: var(--text-label-lg-semibold-fontSize);
|
|
7756
|
-
}
|
|
7757
|
-
|
|
7758
|
-
/* Indeterminate animation for circle */
|
|
7759
|
-
.muka-progress--circle.muka-progress--indeterminate .muka-progress__circle {
|
|
7760
|
-
animation: muka-progress-circle-rotate 2s linear infinite;
|
|
7761
|
-
}
|
|
7762
|
-
|
|
7763
|
-
.muka-progress--circle.muka-progress--indeterminate .muka-progress__fill {
|
|
7764
|
-
animation: muka-progress-circle-dash 1.5s ease-in-out infinite;
|
|
7765
|
-
}
|
|
7766
|
-
|
|
7767
|
-
@keyframes muka-progress-circle-rotate {
|
|
7768
|
-
100% {
|
|
7769
|
-
transform: rotate(270deg);
|
|
7770
|
-
}
|
|
7771
|
-
}
|
|
7772
|
-
|
|
7773
|
-
@keyframes muka-progress-circle-dash {
|
|
7774
|
-
0% {
|
|
7775
|
-
stroke-dashoffset: 220;
|
|
7776
|
-
}
|
|
7777
|
-
50% {
|
|
7778
|
-
stroke-dashoffset: 70;
|
|
7779
|
-
}
|
|
7780
|
-
100% {
|
|
7781
|
-
stroke-dashoffset: 220;
|
|
7782
|
-
}
|
|
7783
|
-
}
|
|
7784
|
-
|
|
7785
|
-
|
|
7786
|
-
/* PieChart */
|
|
7787
|
-
/* PieChart Component Styles - Using Muka Design Tokens */
|
|
7788
|
-
|
|
7789
|
-
.muka-piechart {
|
|
7790
|
-
display: inline-flex;
|
|
7791
|
-
align-items: center;
|
|
7792
|
-
gap: var(--spacing-4);
|
|
7793
|
-
}
|
|
7794
|
-
|
|
7795
|
-
/* Legend layout */
|
|
7796
|
-
.muka-piechart--legend-right {
|
|
7797
|
-
flex-direction: row;
|
|
7798
|
-
}
|
|
7799
|
-
|
|
7800
|
-
.muka-piechart--legend-bottom {
|
|
7801
|
-
flex-direction: column;
|
|
7802
|
-
}
|
|
7803
|
-
|
|
7804
|
-
/* ========================================
|
|
7805
|
-
CHART
|
|
7806
|
-
======================================== */
|
|
7807
|
-
|
|
7808
|
-
.muka-piechart__chart {
|
|
7809
|
-
position: relative;
|
|
7810
|
-
flex-shrink: 0;
|
|
7811
|
-
}
|
|
7812
|
-
|
|
7813
|
-
.muka-piechart__chart--sm {
|
|
7814
|
-
width: var(--piechart-size-diameter-sm);
|
|
7815
|
-
height: var(--piechart-size-diameter-sm);
|
|
7816
|
-
}
|
|
7817
|
-
|
|
7818
|
-
.muka-piechart__chart--md {
|
|
7819
|
-
width: var(--piechart-size-diameter-md);
|
|
7820
|
-
height: var(--piechart-size-diameter-md);
|
|
7821
|
-
}
|
|
7822
|
-
|
|
7823
|
-
.muka-piechart__chart--lg {
|
|
7824
|
-
width: var(--piechart-size-diameter-lg);
|
|
7825
|
-
height: var(--piechart-size-diameter-lg);
|
|
7826
|
-
}
|
|
7827
|
-
|
|
7828
|
-
.muka-piechart__svg {
|
|
7829
|
-
display: block;
|
|
7830
|
-
width: 100%;
|
|
7831
|
-
height: 100%;
|
|
7832
|
-
/* Start slices at 12 o'clock instead of 3 o'clock */
|
|
7833
|
-
transform: rotate(-90deg);
|
|
7834
|
-
}
|
|
7835
|
-
|
|
7836
|
-
.muka-piechart__track {
|
|
7837
|
-
fill: none;
|
|
7838
|
-
stroke: var(--piechart-color-track);
|
|
7839
|
-
}
|
|
7840
|
-
|
|
7841
|
-
.muka-piechart__segment {
|
|
7842
|
-
fill: none;
|
|
7843
|
-
}
|
|
7844
|
-
|
|
7845
|
-
/* ========================================
|
|
7846
|
-
LEGEND
|
|
7846
|
+
LEGEND
|
|
7847
7847
|
======================================== */
|
|
7848
7848
|
|
|
7849
7849
|
.muka-piechart__legend {
|
|
@@ -8665,256 +8665,62 @@ body {
|
|
|
8665
8665
|
}
|
|
8666
8666
|
|
|
8667
8667
|
|
|
8668
|
-
/*
|
|
8669
|
-
/*
|
|
8668
|
+
/* MediaViewer */
|
|
8669
|
+
/* MediaViewer Component Styles - Using Muka Design Tokens */
|
|
8670
8670
|
|
|
8671
|
-
/*
|
|
8672
|
-
.muka-
|
|
8673
|
-
|
|
8674
|
-
|
|
8675
|
-
|
|
8676
|
-
|
|
8677
|
-
|
|
8678
|
-
|
|
8679
|
-
|
|
8680
|
-
|
|
8681
|
-
|
|
8682
|
-
/* Typography */
|
|
8683
|
-
font-family: var(--alias-font-brand-family);
|
|
8684
|
-
|
|
8685
|
-
/* Border and spacing */
|
|
8671
|
+
/* ─── Native dialog: full viewport ────────────────────── */
|
|
8672
|
+
.muka-media-viewer {
|
|
8673
|
+
position: fixed;
|
|
8674
|
+
inset: 0;
|
|
8675
|
+
width: 100%;
|
|
8676
|
+
height: 100%;
|
|
8677
|
+
max-width: none;
|
|
8678
|
+
max-height: none;
|
|
8679
|
+
margin: 0;
|
|
8680
|
+
padding: 0;
|
|
8686
8681
|
border: none;
|
|
8687
|
-
|
|
8688
|
-
|
|
8689
|
-
|
|
8690
|
-
|
|
8691
|
-
|
|
8692
|
-
|
|
8693
|
-
|
|
8694
|
-
.muka-listitem--interactive {
|
|
8695
|
-
cursor: pointer;
|
|
8696
|
-
}
|
|
8697
|
-
|
|
8698
|
-
/*
|
|
8699
|
-
* surface.hover / surface.pressed are theme-adaptive translucent tints, so they
|
|
8700
|
-
* are layered on top of the item's base surface via an inset box-shadow overlay
|
|
8701
|
-
* rather than replacing background-color. This preserves the base level (level3,
|
|
8702
|
-
* or level2 when selected) and lets the tint read correctly on any surface.
|
|
8703
|
-
*/
|
|
8704
|
-
.muka-listitem--interactive:hover:not(:disabled):not(.muka-listitem--disabled) {
|
|
8705
|
-
box-shadow: inset 0 0 0 9999px var(--color-surface-hover);
|
|
8682
|
+
display: flex;
|
|
8683
|
+
flex-direction: column;
|
|
8684
|
+
overflow: hidden;
|
|
8685
|
+
overscroll-behavior: contain;
|
|
8686
|
+
color: var(--color-text-default-default);
|
|
8687
|
+
background-color: var(--color-black-alpha-12);
|
|
8688
|
+
animation: muka-media-viewer-in var(--motion-duration-component) var(--motion-easing-enter);
|
|
8706
8689
|
}
|
|
8707
8690
|
|
|
8708
|
-
.muka-
|
|
8709
|
-
|
|
8710
|
-
box-shadow: inset 0 0 0 9999px var(--color-surface-pressed);
|
|
8691
|
+
.muka-media-viewer:not([open]) {
|
|
8692
|
+
display: none;
|
|
8711
8693
|
}
|
|
8712
8694
|
|
|
8713
|
-
|
|
8714
|
-
|
|
8715
|
-
outline: 2px solid var(--color-border-focus);
|
|
8716
|
-
outline-offset: -2px;
|
|
8695
|
+
.muka-media-viewer::backdrop {
|
|
8696
|
+
background-color: var(--color-black-alpha-12);
|
|
8717
8697
|
}
|
|
8718
8698
|
|
|
8719
|
-
|
|
8720
|
-
|
|
8721
|
-
|
|
8722
|
-
|
|
8723
|
-
|
|
8699
|
+
@keyframes muka-media-viewer-in {
|
|
8700
|
+
from {
|
|
8701
|
+
opacity: 0;
|
|
8702
|
+
}
|
|
8703
|
+
to {
|
|
8704
|
+
opacity: 1;
|
|
8705
|
+
}
|
|
8724
8706
|
}
|
|
8725
8707
|
|
|
8726
|
-
|
|
8708
|
+
/* ─── Chrome: TopBar and footer sit on a surface ──────── */
|
|
8709
|
+
.muka-media-viewer__topbar {
|
|
8710
|
+
flex-shrink: 0;
|
|
8727
8711
|
background-color: var(--color-surface-level3);
|
|
8728
8712
|
}
|
|
8729
8713
|
|
|
8730
|
-
|
|
8731
|
-
|
|
8732
|
-
|
|
8733
|
-
|
|
8734
|
-
|
|
8735
|
-
|
|
8736
|
-
|
|
8737
|
-
|
|
8738
|
-
|
|
8739
|
-
|
|
8740
|
-
.muka-listitem--no-divider .muka-listitem__divider {
|
|
8741
|
-
display: none;
|
|
8742
|
-
}
|
|
8743
|
-
|
|
8744
|
-
/* Center content vertically when no caption */
|
|
8745
|
-
.muka-listitem--no-caption {
|
|
8746
|
-
align-items: center;
|
|
8747
|
-
}
|
|
8748
|
-
|
|
8749
|
-
/* Leading content (icon or image) */
|
|
8750
|
-
.muka-listitem__leading {
|
|
8751
|
-
display: flex;
|
|
8752
|
-
align-items: center;
|
|
8753
|
-
justify-content: center;
|
|
8754
|
-
flex-shrink: 0;
|
|
8755
|
-
width: 48px;
|
|
8756
|
-
height: 48px;
|
|
8757
|
-
}
|
|
8758
|
-
|
|
8759
|
-
.muka-listitem__icon {
|
|
8760
|
-
display: inline-flex;
|
|
8761
|
-
align-items: center;
|
|
8762
|
-
justify-content: center;
|
|
8763
|
-
width: 32px;
|
|
8764
|
-
height: 32px;
|
|
8765
|
-
color: var(--color-text-default-default);
|
|
8766
|
-
}
|
|
8767
|
-
|
|
8768
|
-
.muka-listitem__image {
|
|
8769
|
-
width: 48px;
|
|
8770
|
-
height: 48px;
|
|
8771
|
-
border-radius: var(--radius-md);
|
|
8772
|
-
object-fit: cover;
|
|
8773
|
-
}
|
|
8774
|
-
|
|
8775
|
-
/* Main content area */
|
|
8776
|
-
.muka-listitem__content {
|
|
8777
|
-
flex: 1;
|
|
8778
|
-
display: flex;
|
|
8779
|
-
align-items: center;
|
|
8780
|
-
gap: var(--spacing-4);
|
|
8781
|
-
min-width: 0;
|
|
8782
|
-
}
|
|
8783
|
-
|
|
8784
|
-
.muka-listitem__text {
|
|
8785
|
-
flex: 1;
|
|
8786
|
-
display: flex;
|
|
8787
|
-
flex-direction: column;
|
|
8788
|
-
gap: var(--spacing-1);
|
|
8789
|
-
min-width: 0;
|
|
8790
|
-
}
|
|
8791
|
-
|
|
8792
|
-
/* Label text */
|
|
8793
|
-
.muka-listitem__label {
|
|
8794
|
-
margin: 0;
|
|
8795
|
-
padding: 0;
|
|
8796
|
-
|
|
8797
|
-
/* Typography - using semantic tokens */
|
|
8798
|
-
font-family: var(--alias-font-plain-family);
|
|
8799
|
-
font-weight: var(--alias-font-plain-weight-semibold, 600);
|
|
8800
|
-
font-size: var(--text-label-md-fontSize);
|
|
8801
|
-
line-height: var(--text-label-md-lineHeight);
|
|
8802
|
-
color: var(--color-text-default-default);
|
|
8803
|
-
|
|
8804
|
-
/* Text handling */
|
|
8805
|
-
overflow: hidden;
|
|
8806
|
-
text-overflow: ellipsis;
|
|
8807
|
-
white-space: nowrap;
|
|
8808
|
-
}
|
|
8809
|
-
|
|
8810
|
-
/* Caption text */
|
|
8811
|
-
.muka-listitem__caption {
|
|
8812
|
-
margin: 0;
|
|
8813
|
-
padding: 0;
|
|
8814
|
-
|
|
8815
|
-
/* Typography - using semantic tokens */
|
|
8816
|
-
font-family: var(--alias-font-plain-family);
|
|
8817
|
-
font-weight: var(--alias-font-plain-weight-regular, 400);
|
|
8818
|
-
font-size: var(--text-body-sm-fontSize);
|
|
8819
|
-
line-height: var(--text-body-sm-lineHeight);
|
|
8820
|
-
color: var(--color-text-subtle-default);
|
|
8821
|
-
|
|
8822
|
-
/* Text handling */
|
|
8823
|
-
overflow: hidden;
|
|
8824
|
-
text-overflow: ellipsis;
|
|
8825
|
-
white-space: nowrap;
|
|
8826
|
-
}
|
|
8827
|
-
|
|
8828
|
-
/* Trailing chevron */
|
|
8829
|
-
.muka-listitem__chevron {
|
|
8830
|
-
display: inline-flex;
|
|
8831
|
-
align-items: center;
|
|
8832
|
-
justify-content: center;
|
|
8833
|
-
flex-shrink: 0;
|
|
8834
|
-
width: 24px;
|
|
8835
|
-
height: 24px;
|
|
8836
|
-
color: var(--color-text-subtle-default);
|
|
8837
|
-
}
|
|
8838
|
-
|
|
8839
|
-
/* Bottom divider */
|
|
8840
|
-
.muka-listitem__divider {
|
|
8841
|
-
position: absolute;
|
|
8842
|
-
bottom: 0;
|
|
8843
|
-
left: 0;
|
|
8844
|
-
right: 0;
|
|
8845
|
-
height: 1px;
|
|
8846
|
-
background-color: var(--color-border-default);
|
|
8847
|
-
}
|
|
8848
|
-
|
|
8849
|
-
/* Button and anchor specific styles */
|
|
8850
|
-
button.muka-listitem,
|
|
8851
|
-
a.muka-listitem {
|
|
8852
|
-
text-align: left;
|
|
8853
|
-
width: 100%;
|
|
8854
|
-
}
|
|
8855
|
-
|
|
8856
|
-
/* List item specific styles */
|
|
8857
|
-
li.muka-listitem {
|
|
8858
|
-
list-style: none;
|
|
8859
|
-
}
|
|
8860
|
-
|
|
8861
|
-
|
|
8862
|
-
/* MediaViewer */
|
|
8863
|
-
/* MediaViewer Component Styles - Using Muka Design Tokens */
|
|
8864
|
-
|
|
8865
|
-
/* ─── Native dialog: full viewport ────────────────────── */
|
|
8866
|
-
.muka-media-viewer {
|
|
8867
|
-
position: fixed;
|
|
8868
|
-
inset: 0;
|
|
8869
|
-
width: 100%;
|
|
8870
|
-
height: 100%;
|
|
8871
|
-
max-width: none;
|
|
8872
|
-
max-height: none;
|
|
8873
|
-
margin: 0;
|
|
8874
|
-
padding: 0;
|
|
8875
|
-
border: none;
|
|
8876
|
-
display: flex;
|
|
8877
|
-
flex-direction: column;
|
|
8878
|
-
overflow: hidden;
|
|
8879
|
-
overscroll-behavior: contain;
|
|
8880
|
-
color: var(--color-text-default-default);
|
|
8881
|
-
background-color: var(--color-black-alpha-12);
|
|
8882
|
-
animation: muka-media-viewer-in var(--motion-duration-component) var(--motion-easing-enter);
|
|
8883
|
-
}
|
|
8884
|
-
|
|
8885
|
-
.muka-media-viewer:not([open]) {
|
|
8886
|
-
display: none;
|
|
8887
|
-
}
|
|
8888
|
-
|
|
8889
|
-
.muka-media-viewer::backdrop {
|
|
8890
|
-
background-color: var(--color-black-alpha-12);
|
|
8891
|
-
}
|
|
8892
|
-
|
|
8893
|
-
@keyframes muka-media-viewer-in {
|
|
8894
|
-
from {
|
|
8895
|
-
opacity: 0;
|
|
8896
|
-
}
|
|
8897
|
-
to {
|
|
8898
|
-
opacity: 1;
|
|
8899
|
-
}
|
|
8900
|
-
}
|
|
8901
|
-
|
|
8902
|
-
/* ─── Chrome: TopBar and footer sit on a surface ──────── */
|
|
8903
|
-
.muka-media-viewer__topbar {
|
|
8904
|
-
flex-shrink: 0;
|
|
8905
|
-
background-color: var(--color-surface-level3);
|
|
8906
|
-
}
|
|
8907
|
-
|
|
8908
|
-
.muka-media-viewer__live {
|
|
8909
|
-
position: absolute;
|
|
8910
|
-
width: 1px;
|
|
8911
|
-
height: 1px;
|
|
8912
|
-
padding: 0;
|
|
8913
|
-
margin: -1px;
|
|
8914
|
-
overflow: hidden;
|
|
8915
|
-
clip: rect(0, 0, 0, 0);
|
|
8916
|
-
white-space: nowrap;
|
|
8917
|
-
border: 0;
|
|
8714
|
+
.muka-media-viewer__live {
|
|
8715
|
+
position: absolute;
|
|
8716
|
+
width: 1px;
|
|
8717
|
+
height: 1px;
|
|
8718
|
+
padding: 0;
|
|
8719
|
+
margin: -1px;
|
|
8720
|
+
overflow: hidden;
|
|
8721
|
+
clip: rect(0, 0, 0, 0);
|
|
8722
|
+
white-space: nowrap;
|
|
8723
|
+
border: 0;
|
|
8918
8724
|
}
|
|
8919
8725
|
|
|
8920
8726
|
/* ─── Stage: the dark area the images slide across ────── */
|
|
@@ -9045,222 +8851,197 @@ li.muka-listitem {
|
|
|
9045
8851
|
}
|
|
9046
8852
|
|
|
9047
8853
|
|
|
9048
|
-
/*
|
|
9049
|
-
/*
|
|
8854
|
+
/* ListItem */
|
|
8855
|
+
/* ListItem Component Styles - Using Muka Design Tokens */
|
|
9050
8856
|
|
|
9051
|
-
|
|
9052
|
-
|
|
9053
|
-
|
|
9054
|
-
|
|
8857
|
+
/* Base list item styles */
|
|
8858
|
+
.muka-listitem {
|
|
8859
|
+
/* Layout */
|
|
8860
|
+
display: flex;
|
|
8861
|
+
align-items: flex-start;
|
|
8862
|
+
gap: var(--spacing-4);
|
|
8863
|
+
padding: var(--spacing-5) var(--spacing-4);
|
|
8864
|
+
|
|
8865
|
+
/* Background - using semantic tokens */
|
|
8866
|
+
background-color: var(--color-surface-level3);
|
|
8867
|
+
|
|
8868
|
+
/* Typography */
|
|
8869
|
+
font-family: var(--alias-font-brand-family);
|
|
8870
|
+
|
|
8871
|
+
/* Border and spacing */
|
|
8872
|
+
border: none;
|
|
8873
|
+
position: relative;
|
|
8874
|
+
|
|
8875
|
+
/* Interaction - only apply if interactive */
|
|
8876
|
+
transition: background-color 0.2s ease, box-shadow 0.2s ease;
|
|
8877
|
+
}
|
|
8878
|
+
|
|
8879
|
+
/* Interactive state */
|
|
8880
|
+
.muka-listitem--interactive {
|
|
9055
8881
|
cursor: pointer;
|
|
9056
8882
|
}
|
|
9057
8883
|
|
|
9058
|
-
|
|
9059
|
-
|
|
9060
|
-
|
|
9061
|
-
|
|
9062
|
-
|
|
8884
|
+
/*
|
|
8885
|
+
* surface.hover / surface.pressed are theme-adaptive translucent tints, so they
|
|
8886
|
+
* are layered on top of the item's base surface via an inset box-shadow overlay
|
|
8887
|
+
* rather than replacing background-color. This preserves the base level (level3,
|
|
8888
|
+
* or level2 when selected) and lets the tint read correctly on any surface.
|
|
8889
|
+
*/
|
|
8890
|
+
.muka-listitem--interactive:hover:not(:disabled):not(.muka-listitem--disabled) {
|
|
8891
|
+
box-shadow: inset 0 0 0 9999px var(--color-surface-hover);
|
|
9063
8892
|
}
|
|
9064
8893
|
|
|
9065
|
-
.muka-
|
|
9066
|
-
|
|
9067
|
-
|
|
9068
|
-
font-size: var(--text-label-md-semibold-fontSize);
|
|
9069
|
-
line-height: var(--text-label-md-semibold-lineHeight);
|
|
8894
|
+
.muka-listitem--interactive:active:not(:disabled):not(.muka-listitem--disabled),
|
|
8895
|
+
.muka-listitem--interactive.muka-listitem--pressed:not(:disabled):not(.muka-listitem--disabled) {
|
|
8896
|
+
box-shadow: inset 0 0 0 9999px var(--color-surface-pressed);
|
|
9070
8897
|
}
|
|
9071
8898
|
|
|
9072
|
-
|
|
9073
|
-
|
|
9074
|
-
|
|
9075
|
-
|
|
9076
|
-
line-height: var(--text-label-lg-semibold-lineHeight);
|
|
8899
|
+
/* Focus styles for accessibility */
|
|
8900
|
+
.muka-listitem:focus-visible {
|
|
8901
|
+
outline: 2px solid var(--color-border-focus);
|
|
8902
|
+
outline-offset: -2px;
|
|
9077
8903
|
}
|
|
9078
8904
|
|
|
9079
|
-
|
|
9080
|
-
|
|
8905
|
+
/* Disabled state */
|
|
8906
|
+
.muka-listitem--disabled {
|
|
8907
|
+
opacity: 0.5;
|
|
9081
8908
|
cursor: not-allowed;
|
|
8909
|
+
pointer-events: none;
|
|
9082
8910
|
}
|
|
9083
8911
|
|
|
9084
|
-
.muka-
|
|
9085
|
-
color: var(--color-
|
|
8912
|
+
.muka-listitem--disabled:hover {
|
|
8913
|
+
background-color: var(--color-surface-level3);
|
|
9086
8914
|
}
|
|
9087
8915
|
|
|
8916
|
+
/* Selected state */
|
|
8917
|
+
.muka-listitem--selected {
|
|
8918
|
+
background-color: var(--color-surface-level2);
|
|
8919
|
+
}
|
|
9088
8920
|
|
|
9089
|
-
|
|
9090
|
-
|
|
9091
|
-
Label, helper and error text reuse Input.css (../Input/Input.css).
|
|
9092
|
-
Field and button group share one radius per size:
|
|
9093
|
-
sm/md → input.field.radius.md, lg → input.field.radius.lg. */
|
|
9094
|
-
|
|
9095
|
-
.muka-inputcounter {
|
|
9096
|
-
--muka-inputcounter-radius: var(--input-field-radius-md);
|
|
9097
|
-
--muka-inputcounter-height: var(--input-field-height-default);
|
|
9098
|
-
--muka-inputcounter-pad: calc(var(--spacing-2) + var(--spacing-1));
|
|
9099
|
-
--muka-inputcounter-min: var(--size-3xl);
|
|
9100
|
-
|
|
9101
|
-
display: inline-flex;
|
|
9102
|
-
flex-direction: column;
|
|
9103
|
-
gap: var(--spacing-2);
|
|
8921
|
+
.muka-listitem--selected:hover {
|
|
8922
|
+
box-shadow: inset 0 0 0 9999px var(--color-surface-hover);
|
|
9104
8923
|
}
|
|
9105
8924
|
|
|
9106
|
-
|
|
9107
|
-
|
|
9108
|
-
|
|
9109
|
-
--muka-inputcounter-min: var(--size-2xl);
|
|
8925
|
+
/* No divider modifier */
|
|
8926
|
+
.muka-listitem--no-divider .muka-listitem__divider {
|
|
8927
|
+
display: none;
|
|
9110
8928
|
}
|
|
9111
8929
|
|
|
9112
|
-
|
|
9113
|
-
|
|
9114
|
-
|
|
8930
|
+
/* Center content vertically when no caption */
|
|
8931
|
+
.muka-listitem--no-caption {
|
|
8932
|
+
align-items: center;
|
|
9115
8933
|
}
|
|
9116
8934
|
|
|
9117
|
-
/*
|
|
9118
|
-
.muka-
|
|
8935
|
+
/* Leading content (icon or image) */
|
|
8936
|
+
.muka-listitem__leading {
|
|
9119
8937
|
display: flex;
|
|
9120
8938
|
align-items: center;
|
|
9121
|
-
|
|
9122
|
-
|
|
8939
|
+
justify-content: center;
|
|
8940
|
+
flex-shrink: 0;
|
|
8941
|
+
width: 48px;
|
|
8942
|
+
height: 48px;
|
|
9123
8943
|
}
|
|
9124
8944
|
|
|
9125
|
-
.muka-
|
|
8945
|
+
.muka-listitem__icon {
|
|
9126
8946
|
display: inline-flex;
|
|
9127
8947
|
align-items: center;
|
|
9128
8948
|
justify-content: center;
|
|
9129
|
-
|
|
9130
|
-
|
|
9131
|
-
|
|
9132
|
-
background: transparent;
|
|
9133
|
-
cursor: pointer;
|
|
9134
|
-
}
|
|
9135
|
-
|
|
9136
|
-
.muka-inputcounter__info .muka-icon {
|
|
9137
|
-
color: var(--color-action-default);
|
|
9138
|
-
}
|
|
9139
|
-
|
|
9140
|
-
.muka-inputcounter__info:focus-visible {
|
|
9141
|
-
outline: 2px solid var(--color-border-focus);
|
|
9142
|
-
outline-offset: 2px;
|
|
8949
|
+
width: 32px;
|
|
8950
|
+
height: 32px;
|
|
8951
|
+
color: var(--color-text-default-default);
|
|
9143
8952
|
}
|
|
9144
8953
|
|
|
9145
|
-
.muka-
|
|
9146
|
-
|
|
9147
|
-
|
|
9148
|
-
|
|
9149
|
-
|
|
9150
|
-
color: var(--color-text-subtle-default);
|
|
8954
|
+
.muka-listitem__image {
|
|
8955
|
+
width: 48px;
|
|
8956
|
+
height: 48px;
|
|
8957
|
+
border-radius: var(--radius-md);
|
|
8958
|
+
object-fit: cover;
|
|
9151
8959
|
}
|
|
9152
8960
|
|
|
9153
|
-
/*
|
|
9154
|
-
.muka-
|
|
8961
|
+
/* Main content area */
|
|
8962
|
+
.muka-listitem__content {
|
|
8963
|
+
flex: 1;
|
|
9155
8964
|
display: flex;
|
|
9156
8965
|
align-items: center;
|
|
9157
|
-
gap: var(--spacing-
|
|
8966
|
+
gap: var(--spacing-4);
|
|
8967
|
+
min-width: 0;
|
|
9158
8968
|
}
|
|
9159
8969
|
|
|
9160
|
-
|
|
9161
|
-
|
|
9162
|
-
need compensating: content is centred in a fixed box. */
|
|
9163
|
-
.muka-inputcounter__field {
|
|
9164
|
-
position: relative;
|
|
8970
|
+
.muka-listitem__text {
|
|
8971
|
+
flex: 1;
|
|
9165
8972
|
display: flex;
|
|
9166
|
-
|
|
9167
|
-
|
|
9168
|
-
height: var(--muka-inputcounter-height);
|
|
9169
|
-
width: calc(
|
|
9170
|
-
max(var(--muka-inputcounter-min), calc(var(--muka-inputcounter-chars, 1) * 1ch)) +
|
|
9171
|
-
2 * var(--muka-inputcounter-pad) + 2 * var(--border-width-regular)
|
|
9172
|
-
);
|
|
9173
|
-
background-color: var(--input-field-color-default-background);
|
|
9174
|
-
border: var(--border-width-regular) solid var(--input-field-color-default-border);
|
|
9175
|
-
border-radius: var(--muka-inputcounter-radius);
|
|
9176
|
-
transition: border-color 0.2s ease, background-color 0.2s ease;
|
|
9177
|
-
}
|
|
9178
|
-
|
|
9179
|
-
.muka-inputcounter__field::after {
|
|
9180
|
-
content: '';
|
|
9181
|
-
position: absolute;
|
|
9182
|
-
inset: 0;
|
|
9183
|
-
border-radius: inherit;
|
|
9184
|
-
box-shadow: var(--shadow-sunken);
|
|
9185
|
-
pointer-events: none;
|
|
9186
|
-
}
|
|
9187
|
-
|
|
9188
|
-
.muka-inputcounter__field--focused:not(.muka-inputcounter__field--disabled) {
|
|
9189
|
-
border-width: var(--border-width-bold);
|
|
9190
|
-
border-color: var(--input-field-color-focus-border);
|
|
9191
|
-
background-color: var(--input-field-color-focus-background);
|
|
9192
|
-
}
|
|
9193
|
-
|
|
9194
|
-
.muka-inputcounter__field--error:not(.muka-inputcounter__field--disabled) {
|
|
9195
|
-
border-width: var(--border-width-bold);
|
|
9196
|
-
border-color: var(--input-field-color-error-border);
|
|
9197
|
-
background-color: var(--input-field-color-error-background);
|
|
9198
|
-
}
|
|
9199
|
-
|
|
9200
|
-
.muka-inputcounter__field--disabled {
|
|
9201
|
-
background-color: var(--input-field-color-disabled-background);
|
|
9202
|
-
border-color: var(--input-field-color-disabled-border);
|
|
9203
|
-
}
|
|
9204
|
-
|
|
9205
|
-
.muka-inputcounter__field--disabled::after {
|
|
9206
|
-
display: none;
|
|
9207
|
-
}
|
|
9208
|
-
|
|
9209
|
-
.muka-inputcounter__native {
|
|
9210
|
-
width: 100%;
|
|
8973
|
+
flex-direction: column;
|
|
8974
|
+
gap: var(--spacing-1);
|
|
9211
8975
|
min-width: 0;
|
|
9212
|
-
height: 100%;
|
|
9213
|
-
box-sizing: border-box;
|
|
9214
|
-
padding: 0 calc(var(--muka-inputcounter-pad) - var(--border-width-regular));
|
|
9215
|
-
border: none;
|
|
9216
|
-
outline: none;
|
|
9217
|
-
background: transparent;
|
|
9218
|
-
text-align: center;
|
|
9219
|
-
font-variant-numeric: tabular-nums;
|
|
9220
|
-
color: var(--input-field-color-default-foreground);
|
|
9221
|
-
font-family: var(--text-input-md-fontFamily);
|
|
9222
|
-
font-weight: var(--text-input-md-fontWeight);
|
|
9223
|
-
font-size: var(--text-input-md-fontSize);
|
|
9224
|
-
line-height: var(--text-input-md-lineHeight);
|
|
9225
8976
|
}
|
|
9226
8977
|
|
|
9227
|
-
|
|
9228
|
-
|
|
9229
|
-
|
|
9230
|
-
|
|
9231
|
-
|
|
8978
|
+
/* Label text */
|
|
8979
|
+
.muka-listitem__label {
|
|
8980
|
+
margin: 0;
|
|
8981
|
+
padding: 0;
|
|
8982
|
+
|
|
8983
|
+
/* Typography - using semantic tokens */
|
|
8984
|
+
font-family: var(--alias-font-plain-family);
|
|
8985
|
+
font-weight: var(--alias-font-plain-weight-semibold, 600);
|
|
8986
|
+
font-size: var(--text-label-md-fontSize);
|
|
8987
|
+
line-height: var(--text-label-md-lineHeight);
|
|
8988
|
+
color: var(--color-text-default-default);
|
|
8989
|
+
|
|
8990
|
+
/* Text handling */
|
|
8991
|
+
overflow: hidden;
|
|
8992
|
+
text-overflow: ellipsis;
|
|
8993
|
+
white-space: nowrap;
|
|
9232
8994
|
}
|
|
9233
8995
|
|
|
9234
|
-
|
|
9235
|
-
|
|
9236
|
-
|
|
8996
|
+
/* Caption text */
|
|
8997
|
+
.muka-listitem__caption {
|
|
8998
|
+
margin: 0;
|
|
8999
|
+
padding: 0;
|
|
9000
|
+
|
|
9001
|
+
/* Typography - using semantic tokens */
|
|
9002
|
+
font-family: var(--alias-font-plain-family);
|
|
9003
|
+
font-weight: var(--alias-font-plain-weight-regular, 400);
|
|
9004
|
+
font-size: var(--text-body-sm-fontSize);
|
|
9005
|
+
line-height: var(--text-body-sm-lineHeight);
|
|
9006
|
+
color: var(--color-text-subtle-default);
|
|
9007
|
+
|
|
9008
|
+
/* Text handling */
|
|
9009
|
+
overflow: hidden;
|
|
9010
|
+
text-overflow: ellipsis;
|
|
9011
|
+
white-space: nowrap;
|
|
9237
9012
|
}
|
|
9238
9013
|
|
|
9239
|
-
/*
|
|
9240
|
-
|
|
9241
|
-
.muka-inputcounter__group {
|
|
9014
|
+
/* Trailing chevron */
|
|
9015
|
+
.muka-listitem__chevron {
|
|
9242
9016
|
display: inline-flex;
|
|
9243
|
-
align-items:
|
|
9244
|
-
|
|
9245
|
-
|
|
9246
|
-
|
|
9247
|
-
|
|
9017
|
+
align-items: center;
|
|
9018
|
+
justify-content: center;
|
|
9019
|
+
flex-shrink: 0;
|
|
9020
|
+
width: 24px;
|
|
9021
|
+
height: 24px;
|
|
9022
|
+
color: var(--color-text-subtle-default);
|
|
9248
9023
|
}
|
|
9249
9024
|
|
|
9250
|
-
|
|
9251
|
-
|
|
9252
|
-
|
|
9025
|
+
/* Bottom divider */
|
|
9026
|
+
.muka-listitem__divider {
|
|
9027
|
+
position: absolute;
|
|
9028
|
+
bottom: 0;
|
|
9029
|
+
left: 0;
|
|
9030
|
+
right: 0;
|
|
9031
|
+
height: 1px;
|
|
9032
|
+
background-color: var(--color-border-default);
|
|
9253
9033
|
}
|
|
9254
9034
|
|
|
9255
|
-
|
|
9256
|
-
|
|
9257
|
-
|
|
9035
|
+
/* Button and anchor specific styles */
|
|
9036
|
+
button.muka-listitem,
|
|
9037
|
+
a.muka-listitem {
|
|
9038
|
+
text-align: left;
|
|
9039
|
+
width: 100%;
|
|
9258
9040
|
}
|
|
9259
9041
|
|
|
9260
|
-
|
|
9261
|
-
|
|
9262
|
-
|
|
9263
|
-
background-color: var(--color-border-default);
|
|
9042
|
+
/* List item specific styles */
|
|
9043
|
+
li.muka-listitem {
|
|
9044
|
+
list-style: none;
|
|
9264
9045
|
}
|
|
9265
9046
|
|
|
9266
9047
|
|
|
@@ -9367,93 +9148,312 @@ li.muka-listitem {
|
|
|
9367
9148
|
max-width: 20px;
|
|
9368
9149
|
}
|
|
9369
9150
|
|
|
9370
|
-
.muka-license-plate-input__plate--lg .muka-license-plate-input__eu-stars {
|
|
9371
|
-
max-width: 36px;
|
|
9151
|
+
.muka-license-plate-input__plate--lg .muka-license-plate-input__eu-stars {
|
|
9152
|
+
max-width: 36px;
|
|
9153
|
+
}
|
|
9154
|
+
|
|
9155
|
+
.muka-license-plate-input__country-code {
|
|
9156
|
+
font-family:
|
|
9157
|
+
'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
|
|
9158
|
+
font-weight: 700;
|
|
9159
|
+
letter-spacing: 0.04em;
|
|
9160
|
+
line-height: 1;
|
|
9161
|
+
color: #ffffff;
|
|
9162
|
+
}
|
|
9163
|
+
|
|
9164
|
+
.muka-license-plate-input__plate--sm .muka-license-plate-input__country-code {
|
|
9165
|
+
font-size: 10px;
|
|
9166
|
+
}
|
|
9167
|
+
|
|
9168
|
+
.muka-license-plate-input__plate--md .muka-license-plate-input__country-code {
|
|
9169
|
+
font-size: 13px;
|
|
9170
|
+
}
|
|
9171
|
+
|
|
9172
|
+
.muka-license-plate-input__plate--lg .muka-license-plate-input__country-code {
|
|
9173
|
+
font-size: 16px;
|
|
9174
|
+
}
|
|
9175
|
+
|
|
9176
|
+
/* Native input */
|
|
9177
|
+
.muka-license-plate-input__native {
|
|
9178
|
+
flex: 1;
|
|
9179
|
+
min-width: 0;
|
|
9180
|
+
border: none;
|
|
9181
|
+
outline: none;
|
|
9182
|
+
background: transparent;
|
|
9183
|
+
color: var(--plate-text);
|
|
9184
|
+
text-align: center;
|
|
9185
|
+
text-transform: uppercase;
|
|
9186
|
+
letter-spacing: 0.06em;
|
|
9187
|
+
/* Plate font — bold condensed sans is closest to the FE-Schrift look without
|
|
9188
|
+
shipping a custom font. JetBrains Mono is the system mono brand font. */
|
|
9189
|
+
font-family:
|
|
9190
|
+
'Arial Narrow', 'Helvetica Neue', Helvetica, Arial, sans-serif;
|
|
9191
|
+
font-weight: 800;
|
|
9192
|
+
padding: 0 0.5em;
|
|
9193
|
+
width: 100%;
|
|
9194
|
+
caret-color: var(--plate-text);
|
|
9195
|
+
}
|
|
9196
|
+
|
|
9197
|
+
.muka-license-plate-input__plate--sm .muka-license-plate-input__native {
|
|
9198
|
+
font-size: 22px;
|
|
9199
|
+
}
|
|
9200
|
+
|
|
9201
|
+
.muka-license-plate-input__plate--md .muka-license-plate-input__native {
|
|
9202
|
+
font-size: 30px;
|
|
9203
|
+
}
|
|
9204
|
+
|
|
9205
|
+
.muka-license-plate-input__plate--lg .muka-license-plate-input__native {
|
|
9206
|
+
font-size: 42px;
|
|
9207
|
+
}
|
|
9208
|
+
|
|
9209
|
+
.muka-license-plate-input__native::placeholder {
|
|
9210
|
+
color: var(--plate-text);
|
|
9211
|
+
opacity: 0.55;
|
|
9212
|
+
font-weight: 700;
|
|
9213
|
+
letter-spacing: 0.08em;
|
|
9214
|
+
}
|
|
9215
|
+
|
|
9216
|
+
.muka-license-plate-input__plate--disabled .muka-license-plate-input__native {
|
|
9217
|
+
cursor: not-allowed;
|
|
9218
|
+
}
|
|
9219
|
+
|
|
9220
|
+
/* Helper text */
|
|
9221
|
+
.muka-license-plate-input__helper {
|
|
9222
|
+
font-family: var(--text-label-sm-regular-fontFamily);
|
|
9223
|
+
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
9224
|
+
font-size: var(--text-label-sm-regular-fontSize);
|
|
9225
|
+
line-height: var(--text-label-sm-regular-lineHeight);
|
|
9226
|
+
color: var(--color-text-subtle-default);
|
|
9227
|
+
margin: 0;
|
|
9228
|
+
}
|
|
9229
|
+
|
|
9230
|
+
/* Error message */
|
|
9231
|
+
.muka-license-plate-input__error {
|
|
9232
|
+
font-family: var(--text-label-sm-regular-fontFamily);
|
|
9233
|
+
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
9234
|
+
font-size: var(--text-label-sm-regular-fontSize);
|
|
9235
|
+
line-height: var(--text-label-sm-regular-lineHeight);
|
|
9236
|
+
color: var(--color-state-error-default);
|
|
9237
|
+
margin: 0;
|
|
9238
|
+
}
|
|
9239
|
+
|
|
9240
|
+
|
|
9241
|
+
/* Label */
|
|
9242
|
+
/* Label Component Styles - Using Muka Design Tokens */
|
|
9243
|
+
|
|
9244
|
+
.muka-label {
|
|
9245
|
+
display: inline-flex;
|
|
9246
|
+
align-items: center;
|
|
9247
|
+
color: var(--color-text-default-default);
|
|
9248
|
+
cursor: pointer;
|
|
9249
|
+
}
|
|
9250
|
+
|
|
9251
|
+
.muka-label--sm {
|
|
9252
|
+
font-family: var(--text-label-sm-semibold-fontFamily);
|
|
9253
|
+
font-weight: var(--text-label-sm-semibold-fontWeight);
|
|
9254
|
+
font-size: var(--text-label-sm-semibold-fontSize);
|
|
9255
|
+
line-height: var(--text-label-sm-semibold-lineHeight);
|
|
9256
|
+
}
|
|
9257
|
+
|
|
9258
|
+
.muka-label--md {
|
|
9259
|
+
font-family: var(--text-label-md-semibold-fontFamily);
|
|
9260
|
+
font-weight: var(--text-label-md-semibold-fontWeight);
|
|
9261
|
+
font-size: var(--text-label-md-semibold-fontSize);
|
|
9262
|
+
line-height: var(--text-label-md-semibold-lineHeight);
|
|
9263
|
+
}
|
|
9264
|
+
|
|
9265
|
+
.muka-label--lg {
|
|
9266
|
+
font-family: var(--text-label-lg-semibold-fontFamily);
|
|
9267
|
+
font-weight: var(--text-label-lg-semibold-fontWeight);
|
|
9268
|
+
font-size: var(--text-label-lg-semibold-fontSize);
|
|
9269
|
+
line-height: var(--text-label-lg-semibold-lineHeight);
|
|
9270
|
+
}
|
|
9271
|
+
|
|
9272
|
+
.muka-label--disabled {
|
|
9273
|
+
color: var(--color-text-subtle-default);
|
|
9274
|
+
cursor: not-allowed;
|
|
9275
|
+
}
|
|
9276
|
+
|
|
9277
|
+
.muka-label__required {
|
|
9278
|
+
color: var(--color-state-error-default);
|
|
9279
|
+
}
|
|
9280
|
+
|
|
9281
|
+
|
|
9282
|
+
/* InputCounter */
|
|
9283
|
+
/* InputCounter — numeric field + joined decrement/increment buttons.
|
|
9284
|
+
Label, helper and error text reuse Input.css (../Input/Input.css).
|
|
9285
|
+
Field and button group share one radius per size:
|
|
9286
|
+
sm/md → input.field.radius.md, lg → input.field.radius.lg. */
|
|
9287
|
+
|
|
9288
|
+
.muka-inputcounter {
|
|
9289
|
+
--muka-inputcounter-radius: var(--input-field-radius-md);
|
|
9290
|
+
--muka-inputcounter-height: var(--input-field-height-default);
|
|
9291
|
+
--muka-inputcounter-pad: calc(var(--spacing-2) + var(--spacing-1));
|
|
9292
|
+
--muka-inputcounter-min: var(--size-3xl);
|
|
9293
|
+
|
|
9294
|
+
display: inline-flex;
|
|
9295
|
+
flex-direction: column;
|
|
9296
|
+
gap: var(--spacing-2);
|
|
9297
|
+
}
|
|
9298
|
+
|
|
9299
|
+
.muka-inputcounter--sm {
|
|
9300
|
+
--muka-inputcounter-height: var(--input-field-height-sm);
|
|
9301
|
+
--muka-inputcounter-pad: calc(var(--spacing-1) + var(--spacing-1));
|
|
9302
|
+
--muka-inputcounter-min: var(--size-2xl);
|
|
9303
|
+
}
|
|
9304
|
+
|
|
9305
|
+
.muka-inputcounter--lg {
|
|
9306
|
+
--muka-inputcounter-radius: var(--input-field-radius-lg);
|
|
9307
|
+
--muka-inputcounter-height: var(--input-field-height-lg);
|
|
9308
|
+
}
|
|
9309
|
+
|
|
9310
|
+
/* Label row — label, info tooltip trigger, optional hint */
|
|
9311
|
+
.muka-inputcounter__label-row {
|
|
9312
|
+
display: flex;
|
|
9313
|
+
align-items: center;
|
|
9314
|
+
gap: var(--spacing-2);
|
|
9315
|
+
min-height: var(--size-xl);
|
|
9316
|
+
}
|
|
9317
|
+
|
|
9318
|
+
.muka-inputcounter__info {
|
|
9319
|
+
display: inline-flex;
|
|
9320
|
+
align-items: center;
|
|
9321
|
+
justify-content: center;
|
|
9322
|
+
padding: 0;
|
|
9323
|
+
border: none;
|
|
9324
|
+
border-radius: 50%;
|
|
9325
|
+
background: transparent;
|
|
9326
|
+
cursor: pointer;
|
|
9327
|
+
}
|
|
9328
|
+
|
|
9329
|
+
.muka-inputcounter__info .muka-icon {
|
|
9330
|
+
color: var(--color-action-default);
|
|
9331
|
+
}
|
|
9332
|
+
|
|
9333
|
+
.muka-inputcounter__info:focus-visible {
|
|
9334
|
+
outline: 2px solid var(--color-border-focus);
|
|
9335
|
+
outline-offset: 2px;
|
|
9336
|
+
}
|
|
9337
|
+
|
|
9338
|
+
.muka-inputcounter__optional {
|
|
9339
|
+
font-family: var(--text-label-sm-regular-fontFamily);
|
|
9340
|
+
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
9341
|
+
font-size: var(--text-label-sm-regular-fontSize);
|
|
9342
|
+
line-height: var(--text-label-sm-regular-lineHeight);
|
|
9343
|
+
color: var(--color-text-subtle-default);
|
|
9344
|
+
}
|
|
9345
|
+
|
|
9346
|
+
/* Field + button group */
|
|
9347
|
+
.muka-inputcounter__row {
|
|
9348
|
+
display: flex;
|
|
9349
|
+
align-items: center;
|
|
9350
|
+
gap: var(--spacing-3);
|
|
9351
|
+
}
|
|
9352
|
+
|
|
9353
|
+
/* Field — grows with the value (in ch), never narrower than the Figma width.
|
|
9354
|
+
Padding sits on the native input so the 2px focus/error border doesn't
|
|
9355
|
+
need compensating: content is centred in a fixed box. */
|
|
9356
|
+
.muka-inputcounter__field {
|
|
9357
|
+
position: relative;
|
|
9358
|
+
display: flex;
|
|
9359
|
+
align-items: center;
|
|
9360
|
+
box-sizing: border-box;
|
|
9361
|
+
height: var(--muka-inputcounter-height);
|
|
9362
|
+
width: calc(
|
|
9363
|
+
max(var(--muka-inputcounter-min), calc(var(--muka-inputcounter-chars, 1) * 1ch)) +
|
|
9364
|
+
2 * var(--muka-inputcounter-pad) + 2 * var(--border-width-regular)
|
|
9365
|
+
);
|
|
9366
|
+
background-color: var(--input-field-color-default-background);
|
|
9367
|
+
border: var(--border-width-regular) solid var(--input-field-color-default-border);
|
|
9368
|
+
border-radius: var(--muka-inputcounter-radius);
|
|
9369
|
+
transition: border-color 0.2s ease, background-color 0.2s ease;
|
|
9370
|
+
}
|
|
9371
|
+
|
|
9372
|
+
.muka-inputcounter__field::after {
|
|
9373
|
+
content: '';
|
|
9374
|
+
position: absolute;
|
|
9375
|
+
inset: 0;
|
|
9376
|
+
border-radius: inherit;
|
|
9377
|
+
box-shadow: var(--shadow-sunken);
|
|
9378
|
+
pointer-events: none;
|
|
9372
9379
|
}
|
|
9373
9380
|
|
|
9374
|
-
.muka-
|
|
9375
|
-
|
|
9376
|
-
|
|
9377
|
-
|
|
9378
|
-
letter-spacing: 0.04em;
|
|
9379
|
-
line-height: 1;
|
|
9380
|
-
color: #ffffff;
|
|
9381
|
+
.muka-inputcounter__field--focused:not(.muka-inputcounter__field--disabled) {
|
|
9382
|
+
border-width: var(--border-width-bold);
|
|
9383
|
+
border-color: var(--input-field-color-focus-border);
|
|
9384
|
+
background-color: var(--input-field-color-focus-background);
|
|
9381
9385
|
}
|
|
9382
9386
|
|
|
9383
|
-
.muka-
|
|
9384
|
-
|
|
9387
|
+
.muka-inputcounter__field--error:not(.muka-inputcounter__field--disabled) {
|
|
9388
|
+
border-width: var(--border-width-bold);
|
|
9389
|
+
border-color: var(--input-field-color-error-border);
|
|
9390
|
+
background-color: var(--input-field-color-error-background);
|
|
9385
9391
|
}
|
|
9386
9392
|
|
|
9387
|
-
.muka-
|
|
9388
|
-
|
|
9393
|
+
.muka-inputcounter__field--disabled {
|
|
9394
|
+
background-color: var(--input-field-color-disabled-background);
|
|
9395
|
+
border-color: var(--input-field-color-disabled-border);
|
|
9389
9396
|
}
|
|
9390
9397
|
|
|
9391
|
-
.muka-
|
|
9392
|
-
|
|
9398
|
+
.muka-inputcounter__field--disabled::after {
|
|
9399
|
+
display: none;
|
|
9393
9400
|
}
|
|
9394
9401
|
|
|
9395
|
-
|
|
9396
|
-
|
|
9397
|
-
flex: 1;
|
|
9402
|
+
.muka-inputcounter__native {
|
|
9403
|
+
width: 100%;
|
|
9398
9404
|
min-width: 0;
|
|
9405
|
+
height: 100%;
|
|
9406
|
+
box-sizing: border-box;
|
|
9407
|
+
padding: 0 calc(var(--muka-inputcounter-pad) - var(--border-width-regular));
|
|
9399
9408
|
border: none;
|
|
9400
9409
|
outline: none;
|
|
9401
9410
|
background: transparent;
|
|
9402
|
-
color: var(--plate-text);
|
|
9403
9411
|
text-align: center;
|
|
9404
|
-
|
|
9405
|
-
|
|
9406
|
-
|
|
9407
|
-
|
|
9408
|
-
font-
|
|
9409
|
-
|
|
9410
|
-
font-weight: 800;
|
|
9411
|
-
padding: 0 0.5em;
|
|
9412
|
-
width: 100%;
|
|
9413
|
-
caret-color: var(--plate-text);
|
|
9412
|
+
font-variant-numeric: tabular-nums;
|
|
9413
|
+
color: var(--input-field-color-default-foreground);
|
|
9414
|
+
font-family: var(--text-input-md-fontFamily);
|
|
9415
|
+
font-weight: var(--text-input-md-fontWeight);
|
|
9416
|
+
font-size: var(--text-input-md-fontSize);
|
|
9417
|
+
line-height: var(--text-input-md-lineHeight);
|
|
9414
9418
|
}
|
|
9415
9419
|
|
|
9416
|
-
.muka-
|
|
9417
|
-
font-
|
|
9420
|
+
.muka-inputcounter--sm .muka-inputcounter__native {
|
|
9421
|
+
font-family: var(--text-input-sm-fontFamily);
|
|
9422
|
+
font-weight: var(--text-input-sm-fontWeight);
|
|
9423
|
+
font-size: var(--text-input-sm-fontSize);
|
|
9424
|
+
line-height: var(--text-input-sm-lineHeight);
|
|
9418
9425
|
}
|
|
9419
9426
|
|
|
9420
|
-
.muka-
|
|
9421
|
-
|
|
9427
|
+
.muka-inputcounter__field--disabled .muka-inputcounter__native {
|
|
9428
|
+
color: var(--input-field-color-disabled-foreground);
|
|
9429
|
+
cursor: not-allowed;
|
|
9422
9430
|
}
|
|
9423
9431
|
|
|
9424
|
-
|
|
9425
|
-
|
|
9432
|
+
/* Button group — secondary icon-only Buttons joined by a divider.
|
|
9433
|
+
Only the outer corners are rounded. */
|
|
9434
|
+
.muka-inputcounter__group {
|
|
9435
|
+
display: inline-flex;
|
|
9436
|
+
align-items: stretch;
|
|
9426
9437
|
}
|
|
9427
9438
|
|
|
9428
|
-
.muka-
|
|
9429
|
-
|
|
9430
|
-
opacity: 0.55;
|
|
9431
|
-
font-weight: 700;
|
|
9432
|
-
letter-spacing: 0.08em;
|
|
9439
|
+
.muka-inputcounter__group .muka-button {
|
|
9440
|
+
border-radius: 0;
|
|
9433
9441
|
}
|
|
9434
9442
|
|
|
9435
|
-
.muka-
|
|
9436
|
-
|
|
9443
|
+
.muka-inputcounter__group .muka-button:first-child {
|
|
9444
|
+
border-start-start-radius: var(--muka-inputcounter-radius);
|
|
9445
|
+
border-end-start-radius: var(--muka-inputcounter-radius);
|
|
9437
9446
|
}
|
|
9438
9447
|
|
|
9439
|
-
|
|
9440
|
-
|
|
9441
|
-
|
|
9442
|
-
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
9443
|
-
font-size: var(--text-label-sm-regular-fontSize);
|
|
9444
|
-
line-height: var(--text-label-sm-regular-lineHeight);
|
|
9445
|
-
color: var(--color-text-subtle-default);
|
|
9446
|
-
margin: 0;
|
|
9448
|
+
.muka-inputcounter__group .muka-button:last-child {
|
|
9449
|
+
border-start-end-radius: var(--muka-inputcounter-radius);
|
|
9450
|
+
border-end-end-radius: var(--muka-inputcounter-radius);
|
|
9447
9451
|
}
|
|
9448
9452
|
|
|
9449
|
-
|
|
9450
|
-
|
|
9451
|
-
|
|
9452
|
-
|
|
9453
|
-
font-size: var(--text-label-sm-regular-fontSize);
|
|
9454
|
-
line-height: var(--text-label-sm-regular-lineHeight);
|
|
9455
|
-
color: var(--color-state-error-default);
|
|
9456
|
-
margin: 0;
|
|
9453
|
+
.muka-inputcounter__divider {
|
|
9454
|
+
flex: none;
|
|
9455
|
+
width: var(--border-width-regular);
|
|
9456
|
+
background-color: var(--color-border-default);
|
|
9457
9457
|
}
|
|
9458
9458
|
|
|
9459
9459
|
|
|
@@ -9738,6 +9738,60 @@ li.muka-listitem {
|
|
|
9738
9738
|
}
|
|
9739
9739
|
|
|
9740
9740
|
|
|
9741
|
+
/* Icon */
|
|
9742
|
+
/* Icon Component Styles - Using Muka Design Tokens */
|
|
9743
|
+
|
|
9744
|
+
.muka-icon {
|
|
9745
|
+
display: inline-flex;
|
|
9746
|
+
align-items: center;
|
|
9747
|
+
justify-content: center;
|
|
9748
|
+
flex-shrink: 0;
|
|
9749
|
+
color: var(--color-icon-default-default, currentColor);
|
|
9750
|
+
}
|
|
9751
|
+
|
|
9752
|
+
/* Icons inside buttons should inherit from button's foreground color */
|
|
9753
|
+
.muka-button .muka-icon {
|
|
9754
|
+
color: inherit;
|
|
9755
|
+
}
|
|
9756
|
+
|
|
9757
|
+
.muka-icon--subtle {
|
|
9758
|
+
color: var(--color-icon-subtle-default);
|
|
9759
|
+
}
|
|
9760
|
+
|
|
9761
|
+
.muka-icon--muted {
|
|
9762
|
+
color: var(--color-icon-muted-default);
|
|
9763
|
+
}
|
|
9764
|
+
|
|
9765
|
+
.muka-icon--inverse {
|
|
9766
|
+
color: var(--color-icon-default-inverse);
|
|
9767
|
+
}
|
|
9768
|
+
|
|
9769
|
+
.muka-icon--xs {
|
|
9770
|
+
width: var(--icon-size-xs);
|
|
9771
|
+
height: var(--icon-size-xs);
|
|
9772
|
+
}
|
|
9773
|
+
|
|
9774
|
+
.muka-icon--sm {
|
|
9775
|
+
width: var(--icon-size-sm);
|
|
9776
|
+
height: var(--icon-size-sm);
|
|
9777
|
+
}
|
|
9778
|
+
|
|
9779
|
+
.muka-icon--md {
|
|
9780
|
+
width: var(--icon-size-default);
|
|
9781
|
+
height: var(--icon-size-default);
|
|
9782
|
+
}
|
|
9783
|
+
|
|
9784
|
+
.muka-icon--lg {
|
|
9785
|
+
width: var(--icon-size-lg);
|
|
9786
|
+
height: var(--icon-size-lg);
|
|
9787
|
+
}
|
|
9788
|
+
|
|
9789
|
+
.muka-icon svg {
|
|
9790
|
+
width: 100%;
|
|
9791
|
+
height: 100%;
|
|
9792
|
+
}
|
|
9793
|
+
|
|
9794
|
+
|
|
9741
9795
|
/* Form */
|
|
9742
9796
|
.muka-form {
|
|
9743
9797
|
display: flex;
|
|
@@ -10020,60 +10074,6 @@ li.muka-listitem {
|
|
|
10020
10074
|
}
|
|
10021
10075
|
|
|
10022
10076
|
|
|
10023
|
-
/* Icon */
|
|
10024
|
-
/* Icon Component Styles - Using Muka Design Tokens */
|
|
10025
|
-
|
|
10026
|
-
.muka-icon {
|
|
10027
|
-
display: inline-flex;
|
|
10028
|
-
align-items: center;
|
|
10029
|
-
justify-content: center;
|
|
10030
|
-
flex-shrink: 0;
|
|
10031
|
-
color: var(--color-icon-default-default, currentColor);
|
|
10032
|
-
}
|
|
10033
|
-
|
|
10034
|
-
/* Icons inside buttons should inherit from button's foreground color */
|
|
10035
|
-
.muka-button .muka-icon {
|
|
10036
|
-
color: inherit;
|
|
10037
|
-
}
|
|
10038
|
-
|
|
10039
|
-
.muka-icon--subtle {
|
|
10040
|
-
color: var(--color-icon-subtle-default);
|
|
10041
|
-
}
|
|
10042
|
-
|
|
10043
|
-
.muka-icon--muted {
|
|
10044
|
-
color: var(--color-icon-muted-default);
|
|
10045
|
-
}
|
|
10046
|
-
|
|
10047
|
-
.muka-icon--inverse {
|
|
10048
|
-
color: var(--color-icon-default-inverse);
|
|
10049
|
-
}
|
|
10050
|
-
|
|
10051
|
-
.muka-icon--xs {
|
|
10052
|
-
width: var(--icon-size-xs);
|
|
10053
|
-
height: var(--icon-size-xs);
|
|
10054
|
-
}
|
|
10055
|
-
|
|
10056
|
-
.muka-icon--sm {
|
|
10057
|
-
width: var(--icon-size-sm);
|
|
10058
|
-
height: var(--icon-size-sm);
|
|
10059
|
-
}
|
|
10060
|
-
|
|
10061
|
-
.muka-icon--md {
|
|
10062
|
-
width: var(--icon-size-default);
|
|
10063
|
-
height: var(--icon-size-default);
|
|
10064
|
-
}
|
|
10065
|
-
|
|
10066
|
-
.muka-icon--lg {
|
|
10067
|
-
width: var(--icon-size-lg);
|
|
10068
|
-
height: var(--icon-size-lg);
|
|
10069
|
-
}
|
|
10070
|
-
|
|
10071
|
-
.muka-icon svg {
|
|
10072
|
-
width: 100%;
|
|
10073
|
-
height: 100%;
|
|
10074
|
-
}
|
|
10075
|
-
|
|
10076
|
-
|
|
10077
10077
|
/* FAB */
|
|
10078
10078
|
/* FAB (Floating Action Button) Component Styles */
|
|
10079
10079
|
|
|
@@ -10356,6 +10356,28 @@ li.muka-listitem {
|
|
|
10356
10356
|
}
|
|
10357
10357
|
|
|
10358
10358
|
|
|
10359
|
+
/* EmojiPicker */
|
|
10360
|
+
/* EmojiPicker Component Styles */
|
|
10361
|
+
|
|
10362
|
+
.muka-emoji-picker {
|
|
10363
|
+
display: grid;
|
|
10364
|
+
grid-template-columns: repeat(8, 1fr);
|
|
10365
|
+
gap: var(--spacing-1);
|
|
10366
|
+
padding: var(--spacing-2);
|
|
10367
|
+
max-height: 12rem;
|
|
10368
|
+
overflow-y: auto;
|
|
10369
|
+
background: var(--color-surface-level2);
|
|
10370
|
+
border: var(--border-width-regular, 1px) solid var(--color-border-default);
|
|
10371
|
+
border-radius: var(--radius-lg);
|
|
10372
|
+
box-shadow: var(--menu-content-shadow, 0 4px 12px rgba(0, 0, 0, 0.12));
|
|
10373
|
+
}
|
|
10374
|
+
|
|
10375
|
+
.muka-emoji-picker__glyph {
|
|
10376
|
+
font-size: 1.25rem;
|
|
10377
|
+
line-height: 1;
|
|
10378
|
+
}
|
|
10379
|
+
|
|
10380
|
+
|
|
10359
10381
|
/* DropdownSelect */
|
|
10360
10382
|
/* DropdownSelect — Figma Dropdown Menu form field (Menu + chips) */
|
|
10361
10383
|
|
|
@@ -10584,28 +10606,6 @@ li.muka-listitem {
|
|
|
10584
10606
|
}
|
|
10585
10607
|
|
|
10586
10608
|
|
|
10587
|
-
/* EmojiPicker */
|
|
10588
|
-
/* EmojiPicker Component Styles */
|
|
10589
|
-
|
|
10590
|
-
.muka-emoji-picker {
|
|
10591
|
-
display: grid;
|
|
10592
|
-
grid-template-columns: repeat(8, 1fr);
|
|
10593
|
-
gap: var(--spacing-1);
|
|
10594
|
-
padding: var(--spacing-2);
|
|
10595
|
-
max-height: 12rem;
|
|
10596
|
-
overflow-y: auto;
|
|
10597
|
-
background: var(--color-surface-level2);
|
|
10598
|
-
border: var(--border-width-regular, 1px) solid var(--color-border-default);
|
|
10599
|
-
border-radius: var(--radius-lg);
|
|
10600
|
-
box-shadow: var(--menu-content-shadow, 0 4px 12px rgba(0, 0, 0, 0.12));
|
|
10601
|
-
}
|
|
10602
|
-
|
|
10603
|
-
.muka-emoji-picker__glyph {
|
|
10604
|
-
font-size: 1.25rem;
|
|
10605
|
-
line-height: 1;
|
|
10606
|
-
}
|
|
10607
|
-
|
|
10608
|
-
|
|
10609
10609
|
/* Drawer */
|
|
10610
10610
|
/* Drawer Component Styles */
|
|
10611
10611
|
|
|
@@ -12345,13 +12345,16 @@ li.muka-listitem {
|
|
|
12345
12345
|
}
|
|
12346
12346
|
|
|
12347
12347
|
/* Tighter trailing padding when the dismiss button is present */
|
|
12348
|
-
.muka-chip--sm.muka-chip--dismissible
|
|
12348
|
+
.muka-chip--sm.muka-chip--dismissible,
|
|
12349
|
+
.muka-chip--sm.muka-chip--expandable {
|
|
12349
12350
|
padding-right: var(--chip-padding-trailing-sm);
|
|
12350
12351
|
}
|
|
12351
|
-
.muka-chip--md.muka-chip--dismissible
|
|
12352
|
+
.muka-chip--md.muka-chip--dismissible,
|
|
12353
|
+
.muka-chip--md.muka-chip--expandable {
|
|
12352
12354
|
padding-right: var(--chip-padding-trailing-md);
|
|
12353
12355
|
}
|
|
12354
|
-
.muka-chip--lg.muka-chip--dismissible
|
|
12356
|
+
.muka-chip--lg.muka-chip--dismissible,
|
|
12357
|
+
.muka-chip--lg.muka-chip--expandable {
|
|
12355
12358
|
padding-right: var(--chip-padding-trailing-lg);
|
|
12356
12359
|
}
|
|
12357
12360
|
|
|
@@ -12399,8 +12402,9 @@ li.muka-listitem {
|
|
|
12399
12402
|
line-height: normal;
|
|
12400
12403
|
}
|
|
12401
12404
|
|
|
12402
|
-
/*
|
|
12403
|
-
.muka-chip__remove
|
|
12405
|
+
/* Trailing button (dismiss or expand) — circular. Figma circle sizes: sm 20, md 24, lg 32 */
|
|
12406
|
+
.muka-chip__remove,
|
|
12407
|
+
.muka-chip__expand {
|
|
12404
12408
|
display: inline-flex;
|
|
12405
12409
|
align-items: center;
|
|
12406
12410
|
justify-content: center;
|
|
@@ -12413,15 +12417,18 @@ li.muka-listitem {
|
|
|
12413
12417
|
transition: background-color 0.15s ease, color 0.15s ease;
|
|
12414
12418
|
}
|
|
12415
12419
|
|
|
12416
|
-
.muka-chip--sm .muka-chip__remove
|
|
12420
|
+
.muka-chip--sm .muka-chip__remove,
|
|
12421
|
+
.muka-chip--sm .muka-chip__expand {
|
|
12417
12422
|
width: var(--icon-size-sm);
|
|
12418
12423
|
height: var(--icon-size-sm);
|
|
12419
12424
|
}
|
|
12420
|
-
.muka-chip--md .muka-chip__remove
|
|
12425
|
+
.muka-chip--md .muka-chip__remove,
|
|
12426
|
+
.muka-chip--md .muka-chip__expand {
|
|
12421
12427
|
width: var(--icon-size-default);
|
|
12422
12428
|
height: var(--icon-size-default);
|
|
12423
12429
|
}
|
|
12424
|
-
.muka-chip--lg .muka-chip__remove
|
|
12430
|
+
.muka-chip--lg .muka-chip__remove,
|
|
12431
|
+
.muka-chip--lg .muka-chip__expand {
|
|
12425
12432
|
width: var(--icon-size-lg);
|
|
12426
12433
|
height: var(--icon-size-lg);
|
|
12427
12434
|
}
|
|
@@ -12431,72 +12438,117 @@ li.muka-listitem {
|
|
|
12431
12438
|
outline-offset: 2px;
|
|
12432
12439
|
}
|
|
12433
12440
|
|
|
12441
|
+
/*
|
|
12442
|
+
* Expandable chip (Figma "Chip/Trailing Expand"): the whole chip is one button,
|
|
12443
|
+
* typically a menu trigger. Hovering or pressing anywhere on it drives the
|
|
12444
|
+
* chevron's hover / pressed steps; an open menu (aria-expanded) shows pressed,
|
|
12445
|
+
* like Button's open state.
|
|
12446
|
+
*/
|
|
12447
|
+
.muka-chip--expandable {
|
|
12448
|
+
margin: 0;
|
|
12449
|
+
text-align: inherit;
|
|
12450
|
+
cursor: pointer;
|
|
12451
|
+
}
|
|
12452
|
+
|
|
12453
|
+
.muka-chip--expandable:focus-visible {
|
|
12454
|
+
outline: 2px solid var(--color-border-focus);
|
|
12455
|
+
outline-offset: 2px;
|
|
12456
|
+
}
|
|
12457
|
+
|
|
12458
|
+
.muka-chip--expandable:disabled {
|
|
12459
|
+
cursor: not-allowed;
|
|
12460
|
+
}
|
|
12461
|
+
|
|
12462
|
+
.muka-chip__expand {
|
|
12463
|
+
pointer-events: none;
|
|
12464
|
+
}
|
|
12465
|
+
|
|
12434
12466
|
/*
|
|
12435
12467
|
* Dismiss button colors — state-tinted per chip variant, with default / hover /
|
|
12436
12468
|
* pressed steps. Values come from T4 chip.dismiss.* tokens, which reference the
|
|
12437
12469
|
* brand-specific alias state-surface ramp. The ✕ (.muka-icon) inherits `color`.
|
|
12438
12470
|
*/
|
|
12439
|
-
.muka-chip--default .muka-chip__remove
|
|
12471
|
+
.muka-chip--default .muka-chip__remove,
|
|
12472
|
+
.muka-chip--default .muka-chip__expand {
|
|
12440
12473
|
background-color: var(--chip-dismiss-default-background-default);
|
|
12441
12474
|
color: var(--chip-dismiss-default-foreground-default);
|
|
12442
12475
|
}
|
|
12443
|
-
.muka-chip--default .muka-chip__remove:hover
|
|
12476
|
+
.muka-chip--default .muka-chip__remove:hover,
|
|
12477
|
+
.muka-chip--default.muka-chip--expandable:hover:not(:disabled) .muka-chip__expand {
|
|
12444
12478
|
background-color: var(--chip-dismiss-default-background-hover);
|
|
12445
12479
|
color: var(--chip-dismiss-default-foreground-hover);
|
|
12446
12480
|
}
|
|
12447
|
-
.muka-chip--default .muka-chip__remove:active
|
|
12481
|
+
.muka-chip--default .muka-chip__remove:active,
|
|
12482
|
+
.muka-chip--default.muka-chip--expandable:active:not(:disabled) .muka-chip__expand,
|
|
12483
|
+
.muka-chip--default.muka-chip--expandable[aria-expanded='true'] .muka-chip__expand {
|
|
12448
12484
|
background-color: var(--chip-dismiss-default-background-pressed);
|
|
12449
12485
|
color: var(--chip-dismiss-default-foreground-pressed);
|
|
12450
12486
|
}
|
|
12451
12487
|
|
|
12452
|
-
.muka-chip--success .muka-chip__remove
|
|
12488
|
+
.muka-chip--success .muka-chip__remove,
|
|
12489
|
+
.muka-chip--success .muka-chip__expand {
|
|
12453
12490
|
background-color: var(--chip-dismiss-success-background-default);
|
|
12454
12491
|
color: var(--chip-dismiss-success-foreground-default);
|
|
12455
12492
|
}
|
|
12456
|
-
.muka-chip--success .muka-chip__remove:hover
|
|
12493
|
+
.muka-chip--success .muka-chip__remove:hover,
|
|
12494
|
+
.muka-chip--success.muka-chip--expandable:hover:not(:disabled) .muka-chip__expand {
|
|
12457
12495
|
background-color: var(--chip-dismiss-success-background-hover);
|
|
12458
12496
|
color: var(--chip-dismiss-success-foreground-hover);
|
|
12459
12497
|
}
|
|
12460
|
-
.muka-chip--success .muka-chip__remove:active
|
|
12498
|
+
.muka-chip--success .muka-chip__remove:active,
|
|
12499
|
+
.muka-chip--success.muka-chip--expandable:active:not(:disabled) .muka-chip__expand,
|
|
12500
|
+
.muka-chip--success.muka-chip--expandable[aria-expanded='true'] .muka-chip__expand {
|
|
12461
12501
|
background-color: var(--chip-dismiss-success-background-pressed);
|
|
12462
12502
|
color: var(--chip-dismiss-success-foreground-pressed);
|
|
12463
12503
|
}
|
|
12464
12504
|
|
|
12465
|
-
.muka-chip--warning .muka-chip__remove
|
|
12505
|
+
.muka-chip--warning .muka-chip__remove,
|
|
12506
|
+
.muka-chip--warning .muka-chip__expand {
|
|
12466
12507
|
background-color: var(--chip-dismiss-warning-background-default);
|
|
12467
12508
|
color: var(--chip-dismiss-warning-foreground-default);
|
|
12468
12509
|
}
|
|
12469
|
-
.muka-chip--warning .muka-chip__remove:hover
|
|
12510
|
+
.muka-chip--warning .muka-chip__remove:hover,
|
|
12511
|
+
.muka-chip--warning.muka-chip--expandable:hover:not(:disabled) .muka-chip__expand {
|
|
12470
12512
|
background-color: var(--chip-dismiss-warning-background-hover);
|
|
12471
12513
|
color: var(--chip-dismiss-warning-foreground-hover);
|
|
12472
12514
|
}
|
|
12473
|
-
.muka-chip--warning .muka-chip__remove:active
|
|
12515
|
+
.muka-chip--warning .muka-chip__remove:active,
|
|
12516
|
+
.muka-chip--warning.muka-chip--expandable:active:not(:disabled) .muka-chip__expand,
|
|
12517
|
+
.muka-chip--warning.muka-chip--expandable[aria-expanded='true'] .muka-chip__expand {
|
|
12474
12518
|
background-color: var(--chip-dismiss-warning-background-pressed);
|
|
12475
12519
|
color: var(--chip-dismiss-warning-foreground-pressed);
|
|
12476
12520
|
}
|
|
12477
12521
|
|
|
12478
|
-
.muka-chip--error .muka-chip__remove
|
|
12522
|
+
.muka-chip--error .muka-chip__remove,
|
|
12523
|
+
.muka-chip--error .muka-chip__expand {
|
|
12479
12524
|
background-color: var(--chip-dismiss-error-background-default);
|
|
12480
12525
|
color: var(--chip-dismiss-error-foreground-default);
|
|
12481
12526
|
}
|
|
12482
|
-
.muka-chip--error .muka-chip__remove:hover
|
|
12527
|
+
.muka-chip--error .muka-chip__remove:hover,
|
|
12528
|
+
.muka-chip--error.muka-chip--expandable:hover:not(:disabled) .muka-chip__expand {
|
|
12483
12529
|
background-color: var(--chip-dismiss-error-background-hover);
|
|
12484
12530
|
color: var(--chip-dismiss-error-foreground-hover);
|
|
12485
12531
|
}
|
|
12486
|
-
.muka-chip--error .muka-chip__remove:active
|
|
12532
|
+
.muka-chip--error .muka-chip__remove:active,
|
|
12533
|
+
.muka-chip--error.muka-chip--expandable:active:not(:disabled) .muka-chip__expand,
|
|
12534
|
+
.muka-chip--error.muka-chip--expandable[aria-expanded='true'] .muka-chip__expand {
|
|
12487
12535
|
background-color: var(--chip-dismiss-error-background-pressed);
|
|
12488
12536
|
color: var(--chip-dismiss-error-foreground-pressed);
|
|
12489
12537
|
}
|
|
12490
12538
|
|
|
12491
|
-
.muka-chip--info .muka-chip__remove
|
|
12539
|
+
.muka-chip--info .muka-chip__remove,
|
|
12540
|
+
.muka-chip--info .muka-chip__expand {
|
|
12492
12541
|
background-color: var(--chip-dismiss-info-background-default);
|
|
12493
12542
|
color: var(--chip-dismiss-info-foreground-default);
|
|
12494
12543
|
}
|
|
12495
|
-
.muka-chip--info .muka-chip__remove:hover
|
|
12544
|
+
.muka-chip--info .muka-chip__remove:hover,
|
|
12545
|
+
.muka-chip--info.muka-chip--expandable:hover:not(:disabled) .muka-chip__expand {
|
|
12496
12546
|
background-color: var(--chip-dismiss-info-background-hover);
|
|
12497
12547
|
color: var(--chip-dismiss-info-foreground-hover);
|
|
12498
12548
|
}
|
|
12499
|
-
.muka-chip--info .muka-chip__remove:active
|
|
12549
|
+
.muka-chip--info .muka-chip__remove:active,
|
|
12550
|
+
.muka-chip--info.muka-chip--expandable:active:not(:disabled) .muka-chip__expand,
|
|
12551
|
+
.muka-chip--info.muka-chip--expandable[aria-expanded='true'] .muka-chip__expand {
|
|
12500
12552
|
background-color: var(--chip-dismiss-info-background-pressed);
|
|
12501
12553
|
color: var(--chip-dismiss-info-foreground-pressed);
|
|
12502
12554
|
}
|
|
@@ -14701,6 +14753,114 @@ button.muka-chat-photo-grid__tile:focus-visible {
|
|
|
14701
14753
|
}
|
|
14702
14754
|
|
|
14703
14755
|
|
|
14756
|
+
/* BadgeNumber */
|
|
14757
|
+
/* BadgeNumber Component Styles - Using Muka Design Tokens */
|
|
14758
|
+
|
|
14759
|
+
.muka-badge-number {
|
|
14760
|
+
display: inline-flex;
|
|
14761
|
+
align-items: center;
|
|
14762
|
+
justify-content: center;
|
|
14763
|
+
border-radius: var(--border-radius-full);
|
|
14764
|
+
white-space: nowrap;
|
|
14765
|
+
user-select: none;
|
|
14766
|
+
box-sizing: border-box;
|
|
14767
|
+
}
|
|
14768
|
+
|
|
14769
|
+
/*
|
|
14770
|
+
* Sizes — fixed height, matching min-width (so a single digit renders as a
|
|
14771
|
+
* circle), horizontal padding, and bold label typography. Vertical centering
|
|
14772
|
+
* is handled by the fixed height + align-items: center.
|
|
14773
|
+
*/
|
|
14774
|
+
.muka-badge-number--2xs {
|
|
14775
|
+
height: var(--badge-number-size-2xs);
|
|
14776
|
+
min-width: var(--badge-number-size-2xs);
|
|
14777
|
+
padding: 0 var(--badge-number-padding-2xs);
|
|
14778
|
+
font-family: var(--text-label-xs-bold-fontFamily);
|
|
14779
|
+
font-weight: var(--text-label-xs-bold-fontWeight);
|
|
14780
|
+
font-size: var(--text-label-xs-bold-fontSize);
|
|
14781
|
+
line-height: var(--text-label-xs-bold-lineHeight);
|
|
14782
|
+
}
|
|
14783
|
+
|
|
14784
|
+
.muka-badge-number--xs {
|
|
14785
|
+
height: var(--badge-number-size-xs);
|
|
14786
|
+
min-width: var(--badge-number-size-xs);
|
|
14787
|
+
padding: 0 var(--badge-number-padding-xs);
|
|
14788
|
+
font-family: var(--text-label-sm-bold-fontFamily);
|
|
14789
|
+
font-weight: var(--text-label-sm-bold-fontWeight);
|
|
14790
|
+
font-size: var(--text-label-sm-bold-fontSize);
|
|
14791
|
+
line-height: var(--text-label-sm-bold-lineHeight);
|
|
14792
|
+
}
|
|
14793
|
+
|
|
14794
|
+
.muka-badge-number--sm {
|
|
14795
|
+
height: var(--badge-number-size-sm);
|
|
14796
|
+
min-width: var(--badge-number-size-sm);
|
|
14797
|
+
padding: 0 var(--badge-number-padding-sm);
|
|
14798
|
+
font-family: var(--text-label-md-bold-fontFamily);
|
|
14799
|
+
font-weight: var(--text-label-md-bold-fontWeight);
|
|
14800
|
+
font-size: var(--text-label-md-bold-fontSize);
|
|
14801
|
+
line-height: var(--text-label-md-bold-lineHeight);
|
|
14802
|
+
}
|
|
14803
|
+
|
|
14804
|
+
.muka-badge-number--md {
|
|
14805
|
+
height: var(--badge-number-size-md);
|
|
14806
|
+
min-width: var(--badge-number-size-md);
|
|
14807
|
+
padding: 0 var(--badge-number-padding-md);
|
|
14808
|
+
font-family: var(--text-label-lg-bold-fontFamily);
|
|
14809
|
+
font-weight: var(--text-label-lg-bold-fontWeight);
|
|
14810
|
+
font-size: var(--text-label-lg-bold-fontSize);
|
|
14811
|
+
line-height: var(--text-label-lg-bold-lineHeight);
|
|
14812
|
+
}
|
|
14813
|
+
|
|
14814
|
+
.muka-badge-number--lg {
|
|
14815
|
+
height: var(--badge-number-size-lg);
|
|
14816
|
+
min-width: var(--badge-number-size-lg);
|
|
14817
|
+
padding: 0 var(--badge-number-padding-lg);
|
|
14818
|
+
font-family: var(--text-label-2xl-bold-fontFamily);
|
|
14819
|
+
font-weight: var(--text-label-2xl-bold-fontWeight);
|
|
14820
|
+
font-size: var(--text-label-2xl-bold-fontSize);
|
|
14821
|
+
line-height: var(--text-label-2xl-bold-lineHeight);
|
|
14822
|
+
}
|
|
14823
|
+
|
|
14824
|
+
.muka-badge-number__label {
|
|
14825
|
+
/*
|
|
14826
|
+
* The badge sets a tight line-height for compact sizing, which would clip
|
|
14827
|
+
* glyph descenders; give the label a roomier line-height. Vertical centering
|
|
14828
|
+
* is unaffected because the badge height is fixed and content is centered.
|
|
14829
|
+
*/
|
|
14830
|
+
line-height: normal;
|
|
14831
|
+
}
|
|
14832
|
+
|
|
14833
|
+
/* Neutral variant */
|
|
14834
|
+
.muka-badge-number--neutral {
|
|
14835
|
+
background-color: var(--color-surface-level1);
|
|
14836
|
+
color: var(--color-text-default-default);
|
|
14837
|
+
}
|
|
14838
|
+
|
|
14839
|
+
/* Info variant */
|
|
14840
|
+
.muka-badge-number--info {
|
|
14841
|
+
background-color: var(--color-state-info-contrast);
|
|
14842
|
+
color: var(--color-text-default-inverse);
|
|
14843
|
+
}
|
|
14844
|
+
|
|
14845
|
+
/* Success variant */
|
|
14846
|
+
.muka-badge-number--success {
|
|
14847
|
+
background-color: var(--color-state-success-contrast);
|
|
14848
|
+
color: var(--color-text-default-inverse);
|
|
14849
|
+
}
|
|
14850
|
+
|
|
14851
|
+
/* Warning variant */
|
|
14852
|
+
.muka-badge-number--warning {
|
|
14853
|
+
background-color: var(--color-state-warning-contrast);
|
|
14854
|
+
color: var(--color-text-default-inverse);
|
|
14855
|
+
}
|
|
14856
|
+
|
|
14857
|
+
/* Error variant */
|
|
14858
|
+
.muka-badge-number--error {
|
|
14859
|
+
background-color: var(--color-state-error-contrast);
|
|
14860
|
+
color: var(--color-text-default-inverse);
|
|
14861
|
+
}
|
|
14862
|
+
|
|
14863
|
+
|
|
14704
14864
|
/* Badge */
|
|
14705
14865
|
/* Badge Component Styles - Using Muka Design Tokens */
|
|
14706
14866
|
|
|
@@ -16078,111 +16238,3 @@ button.muka-chat-photo-grid__tile:focus-visible {
|
|
|
16078
16238
|
border-bottom: none;
|
|
16079
16239
|
}
|
|
16080
16240
|
|
|
16081
|
-
|
|
16082
|
-
/* BadgeNumber */
|
|
16083
|
-
/* BadgeNumber Component Styles - Using Muka Design Tokens */
|
|
16084
|
-
|
|
16085
|
-
.muka-badge-number {
|
|
16086
|
-
display: inline-flex;
|
|
16087
|
-
align-items: center;
|
|
16088
|
-
justify-content: center;
|
|
16089
|
-
border-radius: var(--border-radius-full);
|
|
16090
|
-
white-space: nowrap;
|
|
16091
|
-
user-select: none;
|
|
16092
|
-
box-sizing: border-box;
|
|
16093
|
-
}
|
|
16094
|
-
|
|
16095
|
-
/*
|
|
16096
|
-
* Sizes — fixed height, matching min-width (so a single digit renders as a
|
|
16097
|
-
* circle), horizontal padding, and bold label typography. Vertical centering
|
|
16098
|
-
* is handled by the fixed height + align-items: center.
|
|
16099
|
-
*/
|
|
16100
|
-
.muka-badge-number--2xs {
|
|
16101
|
-
height: var(--badge-number-size-2xs);
|
|
16102
|
-
min-width: var(--badge-number-size-2xs);
|
|
16103
|
-
padding: 0 var(--badge-number-padding-2xs);
|
|
16104
|
-
font-family: var(--text-label-xs-bold-fontFamily);
|
|
16105
|
-
font-weight: var(--text-label-xs-bold-fontWeight);
|
|
16106
|
-
font-size: var(--text-label-xs-bold-fontSize);
|
|
16107
|
-
line-height: var(--text-label-xs-bold-lineHeight);
|
|
16108
|
-
}
|
|
16109
|
-
|
|
16110
|
-
.muka-badge-number--xs {
|
|
16111
|
-
height: var(--badge-number-size-xs);
|
|
16112
|
-
min-width: var(--badge-number-size-xs);
|
|
16113
|
-
padding: 0 var(--badge-number-padding-xs);
|
|
16114
|
-
font-family: var(--text-label-sm-bold-fontFamily);
|
|
16115
|
-
font-weight: var(--text-label-sm-bold-fontWeight);
|
|
16116
|
-
font-size: var(--text-label-sm-bold-fontSize);
|
|
16117
|
-
line-height: var(--text-label-sm-bold-lineHeight);
|
|
16118
|
-
}
|
|
16119
|
-
|
|
16120
|
-
.muka-badge-number--sm {
|
|
16121
|
-
height: var(--badge-number-size-sm);
|
|
16122
|
-
min-width: var(--badge-number-size-sm);
|
|
16123
|
-
padding: 0 var(--badge-number-padding-sm);
|
|
16124
|
-
font-family: var(--text-label-md-bold-fontFamily);
|
|
16125
|
-
font-weight: var(--text-label-md-bold-fontWeight);
|
|
16126
|
-
font-size: var(--text-label-md-bold-fontSize);
|
|
16127
|
-
line-height: var(--text-label-md-bold-lineHeight);
|
|
16128
|
-
}
|
|
16129
|
-
|
|
16130
|
-
.muka-badge-number--md {
|
|
16131
|
-
height: var(--badge-number-size-md);
|
|
16132
|
-
min-width: var(--badge-number-size-md);
|
|
16133
|
-
padding: 0 var(--badge-number-padding-md);
|
|
16134
|
-
font-family: var(--text-label-lg-bold-fontFamily);
|
|
16135
|
-
font-weight: var(--text-label-lg-bold-fontWeight);
|
|
16136
|
-
font-size: var(--text-label-lg-bold-fontSize);
|
|
16137
|
-
line-height: var(--text-label-lg-bold-lineHeight);
|
|
16138
|
-
}
|
|
16139
|
-
|
|
16140
|
-
.muka-badge-number--lg {
|
|
16141
|
-
height: var(--badge-number-size-lg);
|
|
16142
|
-
min-width: var(--badge-number-size-lg);
|
|
16143
|
-
padding: 0 var(--badge-number-padding-lg);
|
|
16144
|
-
font-family: var(--text-label-2xl-bold-fontFamily);
|
|
16145
|
-
font-weight: var(--text-label-2xl-bold-fontWeight);
|
|
16146
|
-
font-size: var(--text-label-2xl-bold-fontSize);
|
|
16147
|
-
line-height: var(--text-label-2xl-bold-lineHeight);
|
|
16148
|
-
}
|
|
16149
|
-
|
|
16150
|
-
.muka-badge-number__label {
|
|
16151
|
-
/*
|
|
16152
|
-
* The badge sets a tight line-height for compact sizing, which would clip
|
|
16153
|
-
* glyph descenders; give the label a roomier line-height. Vertical centering
|
|
16154
|
-
* is unaffected because the badge height is fixed and content is centered.
|
|
16155
|
-
*/
|
|
16156
|
-
line-height: normal;
|
|
16157
|
-
}
|
|
16158
|
-
|
|
16159
|
-
/* Neutral variant */
|
|
16160
|
-
.muka-badge-number--neutral {
|
|
16161
|
-
background-color: var(--color-surface-level1);
|
|
16162
|
-
color: var(--color-text-default-default);
|
|
16163
|
-
}
|
|
16164
|
-
|
|
16165
|
-
/* Info variant */
|
|
16166
|
-
.muka-badge-number--info {
|
|
16167
|
-
background-color: var(--color-state-info-contrast);
|
|
16168
|
-
color: var(--color-text-default-inverse);
|
|
16169
|
-
}
|
|
16170
|
-
|
|
16171
|
-
/* Success variant */
|
|
16172
|
-
.muka-badge-number--success {
|
|
16173
|
-
background-color: var(--color-state-success-contrast);
|
|
16174
|
-
color: var(--color-text-default-inverse);
|
|
16175
|
-
}
|
|
16176
|
-
|
|
16177
|
-
/* Warning variant */
|
|
16178
|
-
.muka-badge-number--warning {
|
|
16179
|
-
background-color: var(--color-state-warning-contrast);
|
|
16180
|
-
color: var(--color-text-default-inverse);
|
|
16181
|
-
}
|
|
16182
|
-
|
|
16183
|
-
/* Error variant */
|
|
16184
|
-
.muka-badge-number--error {
|
|
16185
|
-
background-color: var(--color-state-error-contrast);
|
|
16186
|
-
color: var(--color-text-default-inverse);
|
|
16187
|
-
}
|
|
16188
|
-
|