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