@revikornmann/muka-ui 0.64.1 → 0.64.3
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/View/View.css +43 -0
- package/dist/cjs/components/View/View.js +6 -2
- package/dist/cjs/components/View/View.js.map +1 -1
- package/dist/cjs/components/View/viewNavigation.js +142 -6
- package/dist/cjs/components/View/viewNavigation.js.map +1 -1
- package/dist/esm/components/View/View.css +43 -0
- package/dist/esm/components/View/View.js +8 -4
- package/dist/esm/components/View/View.js.map +1 -1
- package/dist/esm/components/View/viewNavigation.js +141 -6
- package/dist/esm/components/View/viewNavigation.js.map +1 -1
- package/dist/styles/components/View.css +43 -0
- package/dist/styles/index.css +1282 -1239
- package/dist/styles/muka-dark.css +1282 -1239
- package/dist/styles/muka-light.css +1282 -1239
- package/dist/styles/wireframe-dark.css +1282 -1239
- package/dist/styles/wireframe-light.css +1282 -1239
- package/dist/types/components/View/View.d.ts.map +1 -1
- package/dist/types/components/View/viewNavigation.d.ts +6 -1
- package/dist/types/components/View/viewNavigation.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -2826,6 +2826,49 @@ body {
|
|
|
2826
2826
|
}
|
|
2827
2827
|
}
|
|
2828
2828
|
|
|
2829
|
+
/* ─── The same motion without a view transition ──────────
|
|
2830
|
+
When React commits a navigation outside a view transition, the browser
|
|
2831
|
+
animates nothing; viewNavigation.ts then puts a copy of the leaving View
|
|
2832
|
+
(.muka-view-ghost) over the page and marks the new View
|
|
2833
|
+
[data-muka-view-entering]. Pop only on small and medium screens: a push
|
|
2834
|
+
would slide over nothing. */
|
|
2835
|
+
.muka-view-ghost {
|
|
2836
|
+
position: fixed;
|
|
2837
|
+
margin: 0;
|
|
2838
|
+
z-index: 40; /* above the app shell (11), below popovers and sheets (50) */
|
|
2839
|
+
pointer-events: none;
|
|
2840
|
+
}
|
|
2841
|
+
|
|
2842
|
+
@media (max-width: 1023px) {
|
|
2843
|
+
:root[data-muka-nav='pop'] .muka-view-ghost {
|
|
2844
|
+
animation: muka-view-to-right var(--motion-duration-view) var(--motion-easing-enter) both;
|
|
2845
|
+
}
|
|
2846
|
+
|
|
2847
|
+
:root[data-muka-nav='pop'] .muka-view[data-muka-view-entering] {
|
|
2848
|
+
animation: muka-view-from-behind var(--motion-duration-view) var(--motion-easing-enter) both;
|
|
2849
|
+
}
|
|
2850
|
+
}
|
|
2851
|
+
|
|
2852
|
+
@media (min-width: 1024px) {
|
|
2853
|
+
:root[data-muka-nav] .muka-view-ghost {
|
|
2854
|
+
animation: muka-view-shift-out var(--motion-duration-exit) var(--motion-easing-exit) both;
|
|
2855
|
+
}
|
|
2856
|
+
|
|
2857
|
+
:root[data-muka-nav] .muka-view[data-muka-view-entering] {
|
|
2858
|
+
animation: muka-view-shift-in var(--motion-duration-micro) var(--motion-easing-enter) both;
|
|
2859
|
+
}
|
|
2860
|
+
|
|
2861
|
+
:root[data-muka-nav='push'] .muka-view[data-muka-view-entering],
|
|
2862
|
+
:root[data-muka-nav='pop'] .muka-view-ghost {
|
|
2863
|
+
--muka-view-shift: var(--spacing-4);
|
|
2864
|
+
}
|
|
2865
|
+
|
|
2866
|
+
:root[data-muka-nav='pop'] .muka-view[data-muka-view-entering],
|
|
2867
|
+
:root[data-muka-nav='push'] .muka-view-ghost {
|
|
2868
|
+
--muka-view-shift: calc(-1 * var(--spacing-4));
|
|
2869
|
+
}
|
|
2870
|
+
}
|
|
2871
|
+
|
|
2829
2872
|
@keyframes muka-view-shift-in {
|
|
2830
2873
|
from { opacity: 0; transform: translateX(var(--muka-view-shift)); }
|
|
2831
2874
|
to { opacity: 1; transform: translateX(0); }
|
|
@@ -5635,198 +5678,6 @@ body {
|
|
|
5635
5678
|
}
|
|
5636
5679
|
|
|
5637
5680
|
|
|
5638
|
-
/* SmsOtpField */
|
|
5639
|
-
/* SmsOtpField Component Styles - Using Muka Design Tokens */
|
|
5640
|
-
|
|
5641
|
-
/* Wrapper */
|
|
5642
|
-
.muka-sms-otp-field {
|
|
5643
|
-
display: inline-flex;
|
|
5644
|
-
flex-direction: column;
|
|
5645
|
-
gap: var(--spacing-2);
|
|
5646
|
-
}
|
|
5647
|
-
|
|
5648
|
-
/* Label */
|
|
5649
|
-
.muka-sms-otp-field__label {
|
|
5650
|
-
color: var(--color-text-default-default);
|
|
5651
|
-
cursor: pointer;
|
|
5652
|
-
}
|
|
5653
|
-
|
|
5654
|
-
.muka-sms-otp-field__label--sm {
|
|
5655
|
-
font-family: var(--text-label-sm-semibold-fontFamily);
|
|
5656
|
-
font-weight: var(--text-label-sm-semibold-fontWeight);
|
|
5657
|
-
font-size: var(--text-label-sm-semibold-fontSize);
|
|
5658
|
-
line-height: var(--text-label-sm-semibold-lineHeight);
|
|
5659
|
-
}
|
|
5660
|
-
|
|
5661
|
-
.muka-sms-otp-field__label--md {
|
|
5662
|
-
font-family: var(--text-label-md-semibold-fontFamily);
|
|
5663
|
-
font-weight: var(--text-label-md-semibold-fontWeight);
|
|
5664
|
-
font-size: var(--text-label-md-semibold-fontSize);
|
|
5665
|
-
line-height: var(--text-label-md-semibold-lineHeight);
|
|
5666
|
-
}
|
|
5667
|
-
|
|
5668
|
-
.muka-sms-otp-field__label--lg {
|
|
5669
|
-
font-family: var(--text-label-lg-semibold-fontFamily);
|
|
5670
|
-
font-weight: var(--text-label-lg-semibold-fontWeight);
|
|
5671
|
-
font-size: var(--text-label-lg-semibold-fontSize);
|
|
5672
|
-
line-height: var(--text-label-lg-semibold-lineHeight);
|
|
5673
|
-
}
|
|
5674
|
-
|
|
5675
|
-
.muka-sms-otp-field__required {
|
|
5676
|
-
color: var(--color-state-error-default);
|
|
5677
|
-
}
|
|
5678
|
-
|
|
5679
|
-
/* Hidden input for browser autofill */
|
|
5680
|
-
.muka-sms-otp-field__hidden-input {
|
|
5681
|
-
position: absolute;
|
|
5682
|
-
width: 1px;
|
|
5683
|
-
height: 1px;
|
|
5684
|
-
padding: 0;
|
|
5685
|
-
margin: -1px;
|
|
5686
|
-
overflow: hidden;
|
|
5687
|
-
clip: rect(0, 0, 0, 0);
|
|
5688
|
-
white-space: nowrap;
|
|
5689
|
-
border: 0;
|
|
5690
|
-
opacity: 0;
|
|
5691
|
-
pointer-events: none;
|
|
5692
|
-
}
|
|
5693
|
-
|
|
5694
|
-
/* Digits container */
|
|
5695
|
-
.muka-sms-otp-field__digits {
|
|
5696
|
-
display: flex;
|
|
5697
|
-
align-items: center;
|
|
5698
|
-
gap: var(--spacing-2);
|
|
5699
|
-
}
|
|
5700
|
-
|
|
5701
|
-
/* Separator */
|
|
5702
|
-
.muka-sms-otp-field__separator {
|
|
5703
|
-
display: inline-flex;
|
|
5704
|
-
align-items: center;
|
|
5705
|
-
justify-content: center;
|
|
5706
|
-
color: var(--color-text-subtle-default);
|
|
5707
|
-
font-size: 1.25rem;
|
|
5708
|
-
padding: 0 var(--spacing-1);
|
|
5709
|
-
user-select: none;
|
|
5710
|
-
}
|
|
5711
|
-
|
|
5712
|
-
/* Individual digit box */
|
|
5713
|
-
.muka-sms-otp-field__digit {
|
|
5714
|
-
display: flex;
|
|
5715
|
-
align-items: center;
|
|
5716
|
-
justify-content: center;
|
|
5717
|
-
text-align: center;
|
|
5718
|
-
background-color: var(--input-field-color-default-background);
|
|
5719
|
-
border: var(--border-width-regular) solid var(--input-field-color-default-border);
|
|
5720
|
-
color: var(--input-field-color-default-foreground);
|
|
5721
|
-
transition: border-color 0.2s ease, background-color 0.2s ease;
|
|
5722
|
-
box-sizing: border-box;
|
|
5723
|
-
caret-color: var(--input-field-color-focus-border);
|
|
5724
|
-
-moz-appearance: textfield;
|
|
5725
|
-
appearance: textfield;
|
|
5726
|
-
}
|
|
5727
|
-
|
|
5728
|
-
/* Remove spinner buttons */
|
|
5729
|
-
.muka-sms-otp-field__digit::-webkit-inner-spin-button,
|
|
5730
|
-
.muka-sms-otp-field__digit::-webkit-outer-spin-button {
|
|
5731
|
-
-webkit-appearance: none;
|
|
5732
|
-
margin: 0;
|
|
5733
|
-
}
|
|
5734
|
-
|
|
5735
|
-
/* Size variants */
|
|
5736
|
-
.muka-sms-otp-field__digit--sm {
|
|
5737
|
-
width: 36px;
|
|
5738
|
-
height: var(--input-field-height-sm);
|
|
5739
|
-
border-radius: var(--input-field-radius-sm);
|
|
5740
|
-
font-family: var(--text-input-sm-fontFamily);
|
|
5741
|
-
font-weight: var(--text-input-sm-fontWeight);
|
|
5742
|
-
font-size: var(--text-input-sm-fontSize);
|
|
5743
|
-
line-height: var(--text-input-sm-lineHeight);
|
|
5744
|
-
}
|
|
5745
|
-
|
|
5746
|
-
.muka-sms-otp-field__digit--md {
|
|
5747
|
-
width: 44px;
|
|
5748
|
-
height: var(--input-field-height-default);
|
|
5749
|
-
border-radius: var(--input-field-radius-md);
|
|
5750
|
-
font-family: var(--text-input-md-fontFamily);
|
|
5751
|
-
font-weight: var(--text-input-md-fontWeight);
|
|
5752
|
-
font-size: var(--text-input-md-fontSize);
|
|
5753
|
-
line-height: var(--text-input-md-lineHeight);
|
|
5754
|
-
}
|
|
5755
|
-
|
|
5756
|
-
.muka-sms-otp-field__digit--lg {
|
|
5757
|
-
width: 52px;
|
|
5758
|
-
height: var(--input-field-height-lg);
|
|
5759
|
-
border-radius: var(--input-field-radius-lg);
|
|
5760
|
-
font-family: var(--text-input-lg-fontFamily);
|
|
5761
|
-
font-weight: var(--text-input-lg-fontWeight);
|
|
5762
|
-
font-size: var(--text-input-lg-fontSize);
|
|
5763
|
-
line-height: var(--text-input-lg-lineHeight);
|
|
5764
|
-
}
|
|
5765
|
-
|
|
5766
|
-
/* Inset shadow (matches Input component) */
|
|
5767
|
-
.muka-sms-otp-field__digit::after {
|
|
5768
|
-
content: '';
|
|
5769
|
-
position: absolute;
|
|
5770
|
-
inset: 0;
|
|
5771
|
-
border-radius: inherit;
|
|
5772
|
-
box-shadow: inset 0 1px 2px 0 rgba(26, 26, 26, 0.08);
|
|
5773
|
-
pointer-events: none;
|
|
5774
|
-
}
|
|
5775
|
-
|
|
5776
|
-
/* Focus state */
|
|
5777
|
-
.muka-sms-otp-field__digit--focused:not(.muka-sms-otp-field__digit--disabled) {
|
|
5778
|
-
border-width: var(--border-width-bold);
|
|
5779
|
-
border-color: var(--input-field-color-focus-border);
|
|
5780
|
-
background-color: var(--input-field-color-focus-background);
|
|
5781
|
-
outline: none;
|
|
5782
|
-
}
|
|
5783
|
-
|
|
5784
|
-
/* Also handle native :focus for keyboard navigation */
|
|
5785
|
-
.muka-sms-otp-field__digit:focus {
|
|
5786
|
-
outline: none;
|
|
5787
|
-
}
|
|
5788
|
-
|
|
5789
|
-
/* Error state */
|
|
5790
|
-
.muka-sms-otp-field__digit--error:not(.muka-sms-otp-field__digit--disabled) {
|
|
5791
|
-
border-width: var(--border-width-bold);
|
|
5792
|
-
border-color: var(--input-field-color-error-border);
|
|
5793
|
-
background-color: var(--input-field-color-error-background);
|
|
5794
|
-
}
|
|
5795
|
-
|
|
5796
|
-
/* Disabled state */
|
|
5797
|
-
.muka-sms-otp-field__digit--disabled {
|
|
5798
|
-
background-color: var(--input-field-color-disabled-background);
|
|
5799
|
-
border-color: var(--input-field-color-disabled-border);
|
|
5800
|
-
color: var(--input-field-color-disabled-foreground);
|
|
5801
|
-
cursor: not-allowed;
|
|
5802
|
-
}
|
|
5803
|
-
|
|
5804
|
-
/* Filled state — slightly bolder text */
|
|
5805
|
-
.muka-sms-otp-field__digit--filled {
|
|
5806
|
-
color: var(--input-field-color-default-foreground);
|
|
5807
|
-
}
|
|
5808
|
-
|
|
5809
|
-
/* Helper text */
|
|
5810
|
-
.muka-sms-otp-field__helper {
|
|
5811
|
-
font-family: var(--text-label-sm-regular-fontFamily);
|
|
5812
|
-
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
5813
|
-
font-size: var(--text-label-sm-regular-fontSize);
|
|
5814
|
-
line-height: var(--text-label-sm-regular-lineHeight);
|
|
5815
|
-
color: var(--color-text-subtle-default);
|
|
5816
|
-
margin: 0;
|
|
5817
|
-
}
|
|
5818
|
-
|
|
5819
|
-
/* Error message */
|
|
5820
|
-
.muka-sms-otp-field__error {
|
|
5821
|
-
font-family: var(--text-label-sm-regular-fontFamily);
|
|
5822
|
-
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
5823
|
-
font-size: var(--text-label-sm-regular-fontSize);
|
|
5824
|
-
line-height: var(--text-label-sm-regular-lineHeight);
|
|
5825
|
-
color: var(--color-state-error-default);
|
|
5826
|
-
margin: 0;
|
|
5827
|
-
}
|
|
5828
|
-
|
|
5829
|
-
|
|
5830
5681
|
/* Skeleton */
|
|
5831
5682
|
/* Skeleton Component Styles */
|
|
5832
5683
|
|
|
@@ -6047,66 +5898,340 @@ body {
|
|
|
6047
5898
|
}
|
|
6048
5899
|
|
|
6049
5900
|
|
|
6050
|
-
/*
|
|
6051
|
-
/*
|
|
5901
|
+
/* SmsOtpField */
|
|
5902
|
+
/* SmsOtpField Component Styles - Using Muka Design Tokens */
|
|
6052
5903
|
|
|
6053
|
-
|
|
5904
|
+
/* Wrapper */
|
|
5905
|
+
.muka-sms-otp-field {
|
|
6054
5906
|
display: inline-flex;
|
|
6055
5907
|
flex-direction: column;
|
|
6056
5908
|
gap: var(--spacing-2);
|
|
6057
5909
|
}
|
|
6058
5910
|
|
|
6059
|
-
.muka-select--full-width {
|
|
6060
|
-
width: 100%;
|
|
6061
|
-
}
|
|
6062
|
-
|
|
6063
5911
|
/* Label */
|
|
6064
|
-
.muka-
|
|
5912
|
+
.muka-sms-otp-field__label {
|
|
6065
5913
|
color: var(--color-text-default-default);
|
|
6066
5914
|
cursor: pointer;
|
|
6067
5915
|
}
|
|
6068
5916
|
|
|
6069
|
-
.muka-
|
|
5917
|
+
.muka-sms-otp-field__label--sm {
|
|
6070
5918
|
font-family: var(--text-label-sm-semibold-fontFamily);
|
|
6071
5919
|
font-weight: var(--text-label-sm-semibold-fontWeight);
|
|
6072
5920
|
font-size: var(--text-label-sm-semibold-fontSize);
|
|
6073
5921
|
line-height: var(--text-label-sm-semibold-lineHeight);
|
|
6074
5922
|
}
|
|
6075
5923
|
|
|
6076
|
-
.muka-
|
|
5924
|
+
.muka-sms-otp-field__label--md {
|
|
6077
5925
|
font-family: var(--text-label-md-semibold-fontFamily);
|
|
6078
5926
|
font-weight: var(--text-label-md-semibold-fontWeight);
|
|
6079
5927
|
font-size: var(--text-label-md-semibold-fontSize);
|
|
6080
5928
|
line-height: var(--text-label-md-semibold-lineHeight);
|
|
6081
5929
|
}
|
|
6082
5930
|
|
|
6083
|
-
.muka-
|
|
5931
|
+
.muka-sms-otp-field__label--lg {
|
|
6084
5932
|
font-family: var(--text-label-lg-semibold-fontFamily);
|
|
6085
5933
|
font-weight: var(--text-label-lg-semibold-fontWeight);
|
|
6086
5934
|
font-size: var(--text-label-lg-semibold-fontSize);
|
|
6087
5935
|
line-height: var(--text-label-lg-semibold-lineHeight);
|
|
6088
5936
|
}
|
|
6089
5937
|
|
|
6090
|
-
.muka-
|
|
5938
|
+
.muka-sms-otp-field__required {
|
|
6091
5939
|
color: var(--color-state-error-default);
|
|
6092
5940
|
}
|
|
6093
5941
|
|
|
6094
|
-
|
|
6095
|
-
.muka-
|
|
6096
|
-
|
|
6097
|
-
|
|
6098
|
-
|
|
6099
|
-
|
|
6100
|
-
|
|
6101
|
-
|
|
6102
|
-
|
|
6103
|
-
|
|
6104
|
-
|
|
6105
|
-
|
|
6106
|
-
|
|
6107
|
-
|
|
6108
|
-
|
|
6109
|
-
|
|
5942
|
+
/* Hidden input for browser autofill */
|
|
5943
|
+
.muka-sms-otp-field__hidden-input {
|
|
5944
|
+
position: absolute;
|
|
5945
|
+
width: 1px;
|
|
5946
|
+
height: 1px;
|
|
5947
|
+
padding: 0;
|
|
5948
|
+
margin: -1px;
|
|
5949
|
+
overflow: hidden;
|
|
5950
|
+
clip: rect(0, 0, 0, 0);
|
|
5951
|
+
white-space: nowrap;
|
|
5952
|
+
border: 0;
|
|
5953
|
+
opacity: 0;
|
|
5954
|
+
pointer-events: none;
|
|
5955
|
+
}
|
|
5956
|
+
|
|
5957
|
+
/* Digits container */
|
|
5958
|
+
.muka-sms-otp-field__digits {
|
|
5959
|
+
display: flex;
|
|
5960
|
+
align-items: center;
|
|
5961
|
+
gap: var(--spacing-2);
|
|
5962
|
+
}
|
|
5963
|
+
|
|
5964
|
+
/* Separator */
|
|
5965
|
+
.muka-sms-otp-field__separator {
|
|
5966
|
+
display: inline-flex;
|
|
5967
|
+
align-items: center;
|
|
5968
|
+
justify-content: center;
|
|
5969
|
+
color: var(--color-text-subtle-default);
|
|
5970
|
+
font-size: 1.25rem;
|
|
5971
|
+
padding: 0 var(--spacing-1);
|
|
5972
|
+
user-select: none;
|
|
5973
|
+
}
|
|
5974
|
+
|
|
5975
|
+
/* Individual digit box */
|
|
5976
|
+
.muka-sms-otp-field__digit {
|
|
5977
|
+
display: flex;
|
|
5978
|
+
align-items: center;
|
|
5979
|
+
justify-content: center;
|
|
5980
|
+
text-align: center;
|
|
5981
|
+
background-color: var(--input-field-color-default-background);
|
|
5982
|
+
border: var(--border-width-regular) solid var(--input-field-color-default-border);
|
|
5983
|
+
color: var(--input-field-color-default-foreground);
|
|
5984
|
+
transition: border-color 0.2s ease, background-color 0.2s ease;
|
|
5985
|
+
box-sizing: border-box;
|
|
5986
|
+
caret-color: var(--input-field-color-focus-border);
|
|
5987
|
+
-moz-appearance: textfield;
|
|
5988
|
+
appearance: textfield;
|
|
5989
|
+
}
|
|
5990
|
+
|
|
5991
|
+
/* Remove spinner buttons */
|
|
5992
|
+
.muka-sms-otp-field__digit::-webkit-inner-spin-button,
|
|
5993
|
+
.muka-sms-otp-field__digit::-webkit-outer-spin-button {
|
|
5994
|
+
-webkit-appearance: none;
|
|
5995
|
+
margin: 0;
|
|
5996
|
+
}
|
|
5997
|
+
|
|
5998
|
+
/* Size variants */
|
|
5999
|
+
.muka-sms-otp-field__digit--sm {
|
|
6000
|
+
width: 36px;
|
|
6001
|
+
height: var(--input-field-height-sm);
|
|
6002
|
+
border-radius: var(--input-field-radius-sm);
|
|
6003
|
+
font-family: var(--text-input-sm-fontFamily);
|
|
6004
|
+
font-weight: var(--text-input-sm-fontWeight);
|
|
6005
|
+
font-size: var(--text-input-sm-fontSize);
|
|
6006
|
+
line-height: var(--text-input-sm-lineHeight);
|
|
6007
|
+
}
|
|
6008
|
+
|
|
6009
|
+
.muka-sms-otp-field__digit--md {
|
|
6010
|
+
width: 44px;
|
|
6011
|
+
height: var(--input-field-height-default);
|
|
6012
|
+
border-radius: var(--input-field-radius-md);
|
|
6013
|
+
font-family: var(--text-input-md-fontFamily);
|
|
6014
|
+
font-weight: var(--text-input-md-fontWeight);
|
|
6015
|
+
font-size: var(--text-input-md-fontSize);
|
|
6016
|
+
line-height: var(--text-input-md-lineHeight);
|
|
6017
|
+
}
|
|
6018
|
+
|
|
6019
|
+
.muka-sms-otp-field__digit--lg {
|
|
6020
|
+
width: 52px;
|
|
6021
|
+
height: var(--input-field-height-lg);
|
|
6022
|
+
border-radius: var(--input-field-radius-lg);
|
|
6023
|
+
font-family: var(--text-input-lg-fontFamily);
|
|
6024
|
+
font-weight: var(--text-input-lg-fontWeight);
|
|
6025
|
+
font-size: var(--text-input-lg-fontSize);
|
|
6026
|
+
line-height: var(--text-input-lg-lineHeight);
|
|
6027
|
+
}
|
|
6028
|
+
|
|
6029
|
+
/* Inset shadow (matches Input component) */
|
|
6030
|
+
.muka-sms-otp-field__digit::after {
|
|
6031
|
+
content: '';
|
|
6032
|
+
position: absolute;
|
|
6033
|
+
inset: 0;
|
|
6034
|
+
border-radius: inherit;
|
|
6035
|
+
box-shadow: inset 0 1px 2px 0 rgba(26, 26, 26, 0.08);
|
|
6036
|
+
pointer-events: none;
|
|
6037
|
+
}
|
|
6038
|
+
|
|
6039
|
+
/* Focus state */
|
|
6040
|
+
.muka-sms-otp-field__digit--focused:not(.muka-sms-otp-field__digit--disabled) {
|
|
6041
|
+
border-width: var(--border-width-bold);
|
|
6042
|
+
border-color: var(--input-field-color-focus-border);
|
|
6043
|
+
background-color: var(--input-field-color-focus-background);
|
|
6044
|
+
outline: none;
|
|
6045
|
+
}
|
|
6046
|
+
|
|
6047
|
+
/* Also handle native :focus for keyboard navigation */
|
|
6048
|
+
.muka-sms-otp-field__digit:focus {
|
|
6049
|
+
outline: none;
|
|
6050
|
+
}
|
|
6051
|
+
|
|
6052
|
+
/* Error state */
|
|
6053
|
+
.muka-sms-otp-field__digit--error:not(.muka-sms-otp-field__digit--disabled) {
|
|
6054
|
+
border-width: var(--border-width-bold);
|
|
6055
|
+
border-color: var(--input-field-color-error-border);
|
|
6056
|
+
background-color: var(--input-field-color-error-background);
|
|
6057
|
+
}
|
|
6058
|
+
|
|
6059
|
+
/* Disabled state */
|
|
6060
|
+
.muka-sms-otp-field__digit--disabled {
|
|
6061
|
+
background-color: var(--input-field-color-disabled-background);
|
|
6062
|
+
border-color: var(--input-field-color-disabled-border);
|
|
6063
|
+
color: var(--input-field-color-disabled-foreground);
|
|
6064
|
+
cursor: not-allowed;
|
|
6065
|
+
}
|
|
6066
|
+
|
|
6067
|
+
/* Filled state — slightly bolder text */
|
|
6068
|
+
.muka-sms-otp-field__digit--filled {
|
|
6069
|
+
color: var(--input-field-color-default-foreground);
|
|
6070
|
+
}
|
|
6071
|
+
|
|
6072
|
+
/* Helper text */
|
|
6073
|
+
.muka-sms-otp-field__helper {
|
|
6074
|
+
font-family: var(--text-label-sm-regular-fontFamily);
|
|
6075
|
+
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
6076
|
+
font-size: var(--text-label-sm-regular-fontSize);
|
|
6077
|
+
line-height: var(--text-label-sm-regular-lineHeight);
|
|
6078
|
+
color: var(--color-text-subtle-default);
|
|
6079
|
+
margin: 0;
|
|
6080
|
+
}
|
|
6081
|
+
|
|
6082
|
+
/* Error message */
|
|
6083
|
+
.muka-sms-otp-field__error {
|
|
6084
|
+
font-family: var(--text-label-sm-regular-fontFamily);
|
|
6085
|
+
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
6086
|
+
font-size: var(--text-label-sm-regular-fontSize);
|
|
6087
|
+
line-height: var(--text-label-sm-regular-lineHeight);
|
|
6088
|
+
color: var(--color-state-error-default);
|
|
6089
|
+
margin: 0;
|
|
6090
|
+
}
|
|
6091
|
+
|
|
6092
|
+
|
|
6093
|
+
/* Sheet */
|
|
6094
|
+
/* Sheet Component Styles */
|
|
6095
|
+
|
|
6096
|
+
/* ─── Backdrop ────────────────────────────────────────── */
|
|
6097
|
+
|
|
6098
|
+
.muka-sheet__overlay {
|
|
6099
|
+
position: fixed;
|
|
6100
|
+
inset: 0;
|
|
6101
|
+
background-color: var(--color-surface-backdrop);
|
|
6102
|
+
-webkit-backdrop-filter: blur(var(--effect-blur-backdrop));
|
|
6103
|
+
backdrop-filter: blur(var(--effect-blur-backdrop));
|
|
6104
|
+
z-index: 50;
|
|
6105
|
+
}
|
|
6106
|
+
|
|
6107
|
+
/* ─── Surface ─────────────────────────────────────────── */
|
|
6108
|
+
|
|
6109
|
+
.muka-sheet {
|
|
6110
|
+
position: fixed;
|
|
6111
|
+
left: 0;
|
|
6112
|
+
right: 0;
|
|
6113
|
+
bottom: 0;
|
|
6114
|
+
z-index: 51;
|
|
6115
|
+
|
|
6116
|
+
display: flex;
|
|
6117
|
+
flex-direction: column;
|
|
6118
|
+
|
|
6119
|
+
max-height: 96dvh;
|
|
6120
|
+
|
|
6121
|
+
background-color: var(--color-surface-level3);
|
|
6122
|
+
border-top-left-radius: var(--radius-lg);
|
|
6123
|
+
border-top-right-radius: var(--radius-lg);
|
|
6124
|
+
box-shadow: var(--shadow-level5);
|
|
6125
|
+
|
|
6126
|
+
outline: none;
|
|
6127
|
+
}
|
|
6128
|
+
|
|
6129
|
+
/* Safe-area bottom inset for the iPhone home indicator. */
|
|
6130
|
+
.muka-sheet:not(.muka-sheet--no-safe-area) {
|
|
6131
|
+
padding-bottom: env(safe-area-inset-bottom);
|
|
6132
|
+
}
|
|
6133
|
+
|
|
6134
|
+
/* ─── Drag handle ─────────────────────────────────────── */
|
|
6135
|
+
|
|
6136
|
+
.muka-sheet__handle-container {
|
|
6137
|
+
display: flex;
|
|
6138
|
+
justify-content: center;
|
|
6139
|
+
flex-shrink: 0;
|
|
6140
|
+
padding: var(--spacing-3) 0;
|
|
6141
|
+
}
|
|
6142
|
+
|
|
6143
|
+
.muka-sheet__handle {
|
|
6144
|
+
width: var(--dialog-drag-handle-width);
|
|
6145
|
+
height: var(--dialog-drag-handle-height);
|
|
6146
|
+
background-color: var(--dialog-drag-handle-color);
|
|
6147
|
+
border-radius: var(--dialog-drag-handle-radius);
|
|
6148
|
+
}
|
|
6149
|
+
|
|
6150
|
+
/* ─── Body (scrollable) ───────────────────────────────── */
|
|
6151
|
+
|
|
6152
|
+
.muka-sheet__body {
|
|
6153
|
+
flex: 1 1 0%;
|
|
6154
|
+
min-height: 0;
|
|
6155
|
+
overflow-y: auto;
|
|
6156
|
+
-webkit-overflow-scrolling: touch;
|
|
6157
|
+
overscroll-behavior: contain;
|
|
6158
|
+
}
|
|
6159
|
+
|
|
6160
|
+
/* ─── Visually-hidden title (a11y) ────────────────────── */
|
|
6161
|
+
|
|
6162
|
+
.muka-sheet__sr-title {
|
|
6163
|
+
position: absolute;
|
|
6164
|
+
width: 1px;
|
|
6165
|
+
height: 1px;
|
|
6166
|
+
padding: 0;
|
|
6167
|
+
margin: -1px;
|
|
6168
|
+
overflow: hidden;
|
|
6169
|
+
clip: rect(0, 0, 0, 0);
|
|
6170
|
+
white-space: nowrap;
|
|
6171
|
+
border: 0;
|
|
6172
|
+
}
|
|
6173
|
+
|
|
6174
|
+
|
|
6175
|
+
/* Select */
|
|
6176
|
+
/* Select Component Styles - Aligned with Input for consistency */
|
|
6177
|
+
|
|
6178
|
+
.muka-select {
|
|
6179
|
+
display: inline-flex;
|
|
6180
|
+
flex-direction: column;
|
|
6181
|
+
gap: var(--spacing-2);
|
|
6182
|
+
}
|
|
6183
|
+
|
|
6184
|
+
.muka-select--full-width {
|
|
6185
|
+
width: 100%;
|
|
6186
|
+
}
|
|
6187
|
+
|
|
6188
|
+
/* Label */
|
|
6189
|
+
.muka-select__label {
|
|
6190
|
+
color: var(--color-text-default-default);
|
|
6191
|
+
cursor: pointer;
|
|
6192
|
+
}
|
|
6193
|
+
|
|
6194
|
+
.muka-select__label--sm {
|
|
6195
|
+
font-family: var(--text-label-sm-semibold-fontFamily);
|
|
6196
|
+
font-weight: var(--text-label-sm-semibold-fontWeight);
|
|
6197
|
+
font-size: var(--text-label-sm-semibold-fontSize);
|
|
6198
|
+
line-height: var(--text-label-sm-semibold-lineHeight);
|
|
6199
|
+
}
|
|
6200
|
+
|
|
6201
|
+
.muka-select__label--md {
|
|
6202
|
+
font-family: var(--text-label-md-semibold-fontFamily);
|
|
6203
|
+
font-weight: var(--text-label-md-semibold-fontWeight);
|
|
6204
|
+
font-size: var(--text-label-md-semibold-fontSize);
|
|
6205
|
+
line-height: var(--text-label-md-semibold-lineHeight);
|
|
6206
|
+
}
|
|
6207
|
+
|
|
6208
|
+
.muka-select__label--lg {
|
|
6209
|
+
font-family: var(--text-label-lg-semibold-fontFamily);
|
|
6210
|
+
font-weight: var(--text-label-lg-semibold-fontWeight);
|
|
6211
|
+
font-size: var(--text-label-lg-semibold-fontSize);
|
|
6212
|
+
line-height: var(--text-label-lg-semibold-lineHeight);
|
|
6213
|
+
}
|
|
6214
|
+
|
|
6215
|
+
.muka-select__required {
|
|
6216
|
+
color: var(--color-state-error-default);
|
|
6217
|
+
}
|
|
6218
|
+
|
|
6219
|
+
.muka-select__label--sm + .muka-select__field--disabled,
|
|
6220
|
+
.muka-select__label--md + .muka-select__field--disabled,
|
|
6221
|
+
.muka-select__label--lg + .muka-select__field--disabled {
|
|
6222
|
+
cursor: not-allowed;
|
|
6223
|
+
}
|
|
6224
|
+
|
|
6225
|
+
/* Field container — same as Input: 1px border, radius, padding, inset shadow */
|
|
6226
|
+
.muka-select__field {
|
|
6227
|
+
display: flex;
|
|
6228
|
+
align-items: center;
|
|
6229
|
+
gap: var(--spacing-2);
|
|
6230
|
+
position: relative;
|
|
6231
|
+
background-color: var(--input-field-color-default-background);
|
|
6232
|
+
border: var(--border-width-regular) solid var(--input-field-color-default-border);
|
|
6233
|
+
border-radius: var(--input-field-radius-md);
|
|
6234
|
+
padding: var(--input-field-padding-y) var(--input-field-padding-x);
|
|
6110
6235
|
transition: border-color 0.2s ease, background-color 0.2s ease;
|
|
6111
6236
|
cursor: pointer;
|
|
6112
6237
|
box-sizing: border-box;
|
|
@@ -6241,85 +6366,191 @@ body {
|
|
|
6241
6366
|
}
|
|
6242
6367
|
|
|
6243
6368
|
|
|
6244
|
-
/*
|
|
6245
|
-
/*
|
|
6369
|
+
/* SegmentGroup */
|
|
6370
|
+
/* SegmentGroup Component Styles - Using Muka Design Tokens */
|
|
6246
6371
|
|
|
6247
|
-
/*
|
|
6372
|
+
/* Container */
|
|
6373
|
+
.muka-segmentgroup {
|
|
6374
|
+
display: inline-flex;
|
|
6375
|
+
align-items: center;
|
|
6376
|
+
gap: 0;
|
|
6377
|
+
padding: var(--segmentgroup-container-padding);
|
|
6378
|
+
background-color: var(--segmentgroup-container-background);
|
|
6379
|
+
border-radius: var(--segmentgroup-container-radius);
|
|
6380
|
+
position: relative;
|
|
6381
|
+
transition: background-color 0.2s ease, box-shadow 0.2s ease;
|
|
6382
|
+
}
|
|
6248
6383
|
|
|
6249
|
-
|
|
6250
|
-
|
|
6384
|
+
/* Inset shadow on container */
|
|
6385
|
+
.muka-segmentgroup::after {
|
|
6386
|
+
content: '';
|
|
6387
|
+
position: absolute;
|
|
6251
6388
|
inset: 0;
|
|
6252
|
-
|
|
6253
|
-
-
|
|
6254
|
-
|
|
6255
|
-
z-index: 50;
|
|
6389
|
+
border-radius: inherit;
|
|
6390
|
+
box-shadow: var(--segmentgroup-container-shadow);
|
|
6391
|
+
pointer-events: none;
|
|
6256
6392
|
}
|
|
6257
6393
|
|
|
6258
|
-
/*
|
|
6394
|
+
/* Full width variant */
|
|
6395
|
+
.muka-segmentgroup--full-width {
|
|
6396
|
+
width: 100%;
|
|
6397
|
+
}
|
|
6259
6398
|
|
|
6260
|
-
.muka-
|
|
6261
|
-
|
|
6399
|
+
.muka-segmentgroup--full-width .muka-segmentgroup__segment {
|
|
6400
|
+
flex: 1;
|
|
6401
|
+
}
|
|
6402
|
+
|
|
6403
|
+
/* Pill */
|
|
6404
|
+
.muka-segmentgroup__pill {
|
|
6405
|
+
position: absolute;
|
|
6406
|
+
top: var(--segmentgroup-container-padding);
|
|
6407
|
+
bottom: var(--segmentgroup-container-padding);
|
|
6262
6408
|
left: 0;
|
|
6263
|
-
|
|
6264
|
-
|
|
6265
|
-
|
|
6409
|
+
margin: 0;
|
|
6410
|
+
background-color: var(--segmentgroup-segment-color-selected-background);
|
|
6411
|
+
box-shadow: var(--segmentgroup-segment-shadow-selected);
|
|
6412
|
+
transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), width 0.25s cubic-bezier(0.4, 0, 0.2, 1);
|
|
6413
|
+
z-index: 0;
|
|
6414
|
+
pointer-events: none;
|
|
6415
|
+
}
|
|
6266
6416
|
|
|
6267
|
-
|
|
6268
|
-
|
|
6417
|
+
/* Segment button */
|
|
6418
|
+
.muka-segmentgroup__segment {
|
|
6419
|
+
display: inline-flex;
|
|
6420
|
+
align-items: center;
|
|
6421
|
+
justify-content: center;
|
|
6422
|
+
gap: var(--segmentgroup-segment-gap);
|
|
6423
|
+
border: none;
|
|
6424
|
+
background-color: var(--segmentgroup-segment-color-unselected-background);
|
|
6425
|
+
color: var(--segmentgroup-segment-color-unselected-foreground);
|
|
6426
|
+
border-radius: var(--segmentgroup-segment-radius);
|
|
6427
|
+
cursor: pointer;
|
|
6428
|
+
transition: background-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
|
|
6429
|
+
position: relative;
|
|
6430
|
+
outline: none;
|
|
6431
|
+
box-shadow: var(--segmentgroup-segment-shadow-unselected);
|
|
6432
|
+
font-family: var(--alias-font-plain-family);
|
|
6433
|
+
font-weight: var(--segmentgroup-segment-fontWeight);
|
|
6434
|
+
z-index: 1; /* Keep above pill */
|
|
6435
|
+
}
|
|
6269
6436
|
|
|
6270
|
-
|
|
6437
|
+
/* Size variants */
|
|
6438
|
+
.muka-segmentgroup--sm {
|
|
6439
|
+
border-radius: var(--border-radius-xl, 16px);
|
|
6440
|
+
}
|
|
6441
|
+
.muka-segmentgroup--sm .muka-segmentgroup__segment,
|
|
6442
|
+
.muka-segmentgroup--sm .muka-segmentgroup__pill {
|
|
6443
|
+
border-radius: var(--border-radius-xl, 16px);
|
|
6444
|
+
}
|
|
6445
|
+
.muka-segmentgroup--sm .muka-segmentgroup__segment {
|
|
6446
|
+
padding: var(--segmentgroup-segment-padding-sm-y) var(--segmentgroup-segment-padding-sm-x);
|
|
6447
|
+
height: var(--segmentgroup-segment-height-sm);
|
|
6448
|
+
font-size: var(--text-label-sm-regular-fontSize);
|
|
6449
|
+
line-height: var(--text-label-sm-leading);
|
|
6450
|
+
}
|
|
6271
6451
|
|
|
6272
|
-
|
|
6273
|
-
border-
|
|
6274
|
-
|
|
6275
|
-
|
|
6452
|
+
.muka-segmentgroup--md {
|
|
6453
|
+
border-radius: var(--border-radius-xl, 16px);
|
|
6454
|
+
}
|
|
6455
|
+
.muka-segmentgroup--md .muka-segmentgroup__segment,
|
|
6456
|
+
.muka-segmentgroup--md .muka-segmentgroup__pill {
|
|
6457
|
+
border-radius: var(--border-radius-xl, 16px);
|
|
6458
|
+
}
|
|
6459
|
+
.muka-segmentgroup--md .muka-segmentgroup__segment {
|
|
6460
|
+
padding: var(--segmentgroup-segment-padding-md-y) var(--segmentgroup-segment-padding-md-x);
|
|
6461
|
+
font-size: var(--text-label-md-regular-fontSize);
|
|
6462
|
+
line-height: var(--text-label-md-leading);
|
|
6463
|
+
}
|
|
6276
6464
|
|
|
6277
|
-
|
|
6465
|
+
.muka-segmentgroup--lg {
|
|
6466
|
+
border-radius: var(--border-radius-full, 9999px);
|
|
6467
|
+
}
|
|
6468
|
+
.muka-segmentgroup--lg .muka-segmentgroup__segment,
|
|
6469
|
+
.muka-segmentgroup--lg .muka-segmentgroup__pill {
|
|
6470
|
+
border-radius: var(--border-radius-full, 9999px);
|
|
6471
|
+
}
|
|
6472
|
+
.muka-segmentgroup--lg .muka-segmentgroup__segment {
|
|
6473
|
+
padding: var(--segmentgroup-segment-padding-lg-y) var(--segmentgroup-segment-padding-lg-x);
|
|
6474
|
+
height: 40px;
|
|
6475
|
+
font-size: var(--text-label-lg-regular-fontSize);
|
|
6476
|
+
line-height: var(--text-label-lg-leading);
|
|
6278
6477
|
}
|
|
6279
6478
|
|
|
6280
|
-
/*
|
|
6281
|
-
.muka-
|
|
6282
|
-
|
|
6479
|
+
/* Icon-only variants */
|
|
6480
|
+
.muka-segmentgroup--icon-only {
|
|
6481
|
+
gap: var(--spacing-1, 4px);
|
|
6283
6482
|
}
|
|
6284
6483
|
|
|
6285
|
-
|
|
6484
|
+
.muka-segmentgroup--icon-only.muka-segmentgroup--sm .muka-segmentgroup__segment {
|
|
6485
|
+
width: 24px;
|
|
6486
|
+
height: 24px;
|
|
6487
|
+
padding: 0;
|
|
6488
|
+
}
|
|
6489
|
+
.muka-segmentgroup--icon-only.muka-segmentgroup--sm .muka-segmentgroup__icon svg {
|
|
6490
|
+
width: 16px;
|
|
6491
|
+
height: 16px;
|
|
6492
|
+
}
|
|
6286
6493
|
|
|
6287
|
-
.muka-
|
|
6288
|
-
|
|
6494
|
+
.muka-segmentgroup--icon-only.muka-segmentgroup--md .muka-segmentgroup__segment {
|
|
6495
|
+
width: 32px;
|
|
6496
|
+
height: 32px;
|
|
6497
|
+
padding: 0;
|
|
6498
|
+
}
|
|
6499
|
+
.muka-segmentgroup--icon-only.muka-segmentgroup--md .muka-segmentgroup__icon svg {
|
|
6500
|
+
width: 20px;
|
|
6501
|
+
height: 20px;
|
|
6502
|
+
}
|
|
6503
|
+
|
|
6504
|
+
.muka-segmentgroup--icon-only.muka-segmentgroup--lg .muka-segmentgroup__segment {
|
|
6505
|
+
width: 40px;
|
|
6506
|
+
height: 40px;
|
|
6507
|
+
padding: 0;
|
|
6508
|
+
}
|
|
6509
|
+
.muka-segmentgroup--icon-only.muka-segmentgroup--lg .muka-segmentgroup__icon svg {
|
|
6510
|
+
width: 24px;
|
|
6511
|
+
height: 24px;
|
|
6512
|
+
}
|
|
6513
|
+
|
|
6514
|
+
/* Icon */
|
|
6515
|
+
.muka-segmentgroup__icon {
|
|
6516
|
+
display: inline-flex;
|
|
6517
|
+
align-items: center;
|
|
6289
6518
|
justify-content: center;
|
|
6290
|
-
flex-shrink: 0;
|
|
6291
|
-
padding: var(--spacing-3) 0;
|
|
6292
6519
|
}
|
|
6293
6520
|
|
|
6294
|
-
|
|
6295
|
-
|
|
6296
|
-
|
|
6297
|
-
|
|
6298
|
-
|
|
6521
|
+
/* Selected state */
|
|
6522
|
+
.muka-segmentgroup__segment--selected {
|
|
6523
|
+
background-color: transparent;
|
|
6524
|
+
box-shadow: none;
|
|
6525
|
+
color: var(--segmentgroup-segment-color-selected-foreground);
|
|
6526
|
+
z-index: 2; /* Highlight pill when focused is tested below */
|
|
6299
6527
|
}
|
|
6300
6528
|
|
|
6301
|
-
/*
|
|
6529
|
+
/* Hover state (only for unselected) */
|
|
6530
|
+
.muka-segmentgroup__segment:not(.muka-segmentgroup__segment--selected):not(:disabled):hover {
|
|
6531
|
+
color: var(--segmentgroup-segment-color-hover-foreground);
|
|
6532
|
+
}
|
|
6302
6533
|
|
|
6303
|
-
|
|
6304
|
-
|
|
6305
|
-
|
|
6306
|
-
|
|
6307
|
-
-
|
|
6308
|
-
overscroll-behavior: contain;
|
|
6534
|
+
/* Focus visible */
|
|
6535
|
+
.muka-segmentgroup__segment:focus-visible {
|
|
6536
|
+
outline: 2px solid var(--color-border-focus);
|
|
6537
|
+
outline-offset: 2px;
|
|
6538
|
+
z-index: 2;
|
|
6309
6539
|
}
|
|
6310
6540
|
|
|
6311
|
-
/*
|
|
6541
|
+
/* Disabled state */
|
|
6542
|
+
.muka-segmentgroup__segment--disabled,
|
|
6543
|
+
.muka-segmentgroup__segment:disabled {
|
|
6544
|
+
cursor: not-allowed;
|
|
6545
|
+
opacity: 0.5;
|
|
6546
|
+
}
|
|
6312
6547
|
|
|
6313
|
-
|
|
6314
|
-
|
|
6315
|
-
|
|
6316
|
-
|
|
6317
|
-
padding: 0;
|
|
6318
|
-
margin: -1px;
|
|
6319
|
-
overflow: hidden;
|
|
6320
|
-
clip: rect(0, 0, 0, 0);
|
|
6548
|
+
/* Label */
|
|
6549
|
+
.muka-segmentgroup__label {
|
|
6550
|
+
display: inline-flex;
|
|
6551
|
+
align-items: center;
|
|
6321
6552
|
white-space: nowrap;
|
|
6322
|
-
|
|
6553
|
+
user-select: none;
|
|
6323
6554
|
}
|
|
6324
6555
|
|
|
6325
6556
|
|
|
@@ -6613,270 +6844,82 @@ body {
|
|
|
6613
6844
|
margin-left: 0;
|
|
6614
6845
|
margin-top: 0;
|
|
6615
6846
|
}
|
|
6616
|
-
|
|
6617
|
-
.muka-scrollbar__thumb:active {
|
|
6618
|
-
cursor: grabbing;
|
|
6619
|
-
}
|
|
6620
|
-
|
|
6621
|
-
.muka-scrollbar__grip {
|
|
6622
|
-
display: flex;
|
|
6623
|
-
flex-direction: column;
|
|
6624
|
-
gap: 2px;
|
|
6625
|
-
width: 14px;
|
|
6626
|
-
}
|
|
6627
|
-
|
|
6628
|
-
.muka-scrollbar__grip::before,
|
|
6629
|
-
.muka-scrollbar__grip::after {
|
|
6630
|
-
content: '';
|
|
6631
|
-
display: block;
|
|
6632
|
-
width: 100%;
|
|
6633
|
-
height: 2px;
|
|
6634
|
-
border-radius: var(--border-radius-md);
|
|
6635
|
-
background-color: var(--color-text-subtle-default);
|
|
6636
|
-
}
|
|
6637
|
-
|
|
6638
|
-
.muka-scrollbar__spacer {
|
|
6639
|
-
flex: 1 1 auto;
|
|
6640
|
-
min-height: 0;
|
|
6641
|
-
background-color: var(--color-surface-level2);
|
|
6642
|
-
}
|
|
6643
|
-
|
|
6644
|
-
|
|
6645
|
-
/* RecordingBar */
|
|
6646
|
-
/* RecordingBar Component Styles */
|
|
6647
|
-
|
|
6648
|
-
.muka-recording-bar {
|
|
6649
|
-
display: flex;
|
|
6650
|
-
align-items: center;
|
|
6651
|
-
gap: var(--spacing-3);
|
|
6652
|
-
width: 100%;
|
|
6653
|
-
min-width: 0;
|
|
6654
|
-
}
|
|
6655
|
-
|
|
6656
|
-
.muka-recording-bar__dot {
|
|
6657
|
-
flex: 0 0 auto;
|
|
6658
|
-
width: 0.625rem;
|
|
6659
|
-
height: 0.625rem;
|
|
6660
|
-
border-radius: var(--radius-full, 9999px);
|
|
6661
|
-
background: var(--alert-color-error-accent, var(--color-text-default-default));
|
|
6662
|
-
animation: muka-recording-bar-pulse 1s ease-in-out infinite;
|
|
6663
|
-
}
|
|
6664
|
-
|
|
6665
|
-
.muka-recording-bar__time {
|
|
6666
|
-
flex: 0 0 auto;
|
|
6667
|
-
font-size: var(--text-label-sm-regular-fontSize);
|
|
6668
|
-
line-height: var(--text-label-sm-leading);
|
|
6669
|
-
font-variant-numeric: tabular-nums;
|
|
6670
|
-
color: var(--color-text-default-default);
|
|
6671
|
-
}
|
|
6672
|
-
|
|
6673
|
-
.muka-recording-bar__wave {
|
|
6674
|
-
flex: 1 1 auto;
|
|
6675
|
-
min-width: 0;
|
|
6676
|
-
}
|
|
6677
|
-
|
|
6678
|
-
@keyframes muka-recording-bar-pulse {
|
|
6679
|
-
0%,
|
|
6680
|
-
100% {
|
|
6681
|
-
opacity: 1;
|
|
6682
|
-
}
|
|
6683
|
-
50% {
|
|
6684
|
-
opacity: 0.3;
|
|
6685
|
-
}
|
|
6686
|
-
}
|
|
6687
|
-
|
|
6688
|
-
@media (prefers-reduced-motion: reduce) {
|
|
6689
|
-
.muka-recording-bar__dot {
|
|
6690
|
-
animation: none;
|
|
6691
|
-
}
|
|
6692
|
-
}
|
|
6693
|
-
|
|
6694
|
-
|
|
6695
|
-
/* SegmentGroup */
|
|
6696
|
-
/* SegmentGroup Component Styles - Using Muka Design Tokens */
|
|
6697
|
-
|
|
6698
|
-
/* Container */
|
|
6699
|
-
.muka-segmentgroup {
|
|
6700
|
-
display: inline-flex;
|
|
6701
|
-
align-items: center;
|
|
6702
|
-
gap: 0;
|
|
6703
|
-
padding: var(--segmentgroup-container-padding);
|
|
6704
|
-
background-color: var(--segmentgroup-container-background);
|
|
6705
|
-
border-radius: var(--segmentgroup-container-radius);
|
|
6706
|
-
position: relative;
|
|
6707
|
-
transition: background-color 0.2s ease, box-shadow 0.2s ease;
|
|
6708
|
-
}
|
|
6709
|
-
|
|
6710
|
-
/* Inset shadow on container */
|
|
6711
|
-
.muka-segmentgroup::after {
|
|
6712
|
-
content: '';
|
|
6713
|
-
position: absolute;
|
|
6714
|
-
inset: 0;
|
|
6715
|
-
border-radius: inherit;
|
|
6716
|
-
box-shadow: var(--segmentgroup-container-shadow);
|
|
6717
|
-
pointer-events: none;
|
|
6718
|
-
}
|
|
6719
|
-
|
|
6720
|
-
/* Full width variant */
|
|
6721
|
-
.muka-segmentgroup--full-width {
|
|
6722
|
-
width: 100%;
|
|
6723
|
-
}
|
|
6724
|
-
|
|
6725
|
-
.muka-segmentgroup--full-width .muka-segmentgroup__segment {
|
|
6726
|
-
flex: 1;
|
|
6727
|
-
}
|
|
6728
|
-
|
|
6729
|
-
/* Pill */
|
|
6730
|
-
.muka-segmentgroup__pill {
|
|
6731
|
-
position: absolute;
|
|
6732
|
-
top: var(--segmentgroup-container-padding);
|
|
6733
|
-
bottom: var(--segmentgroup-container-padding);
|
|
6734
|
-
left: 0;
|
|
6735
|
-
margin: 0;
|
|
6736
|
-
background-color: var(--segmentgroup-segment-color-selected-background);
|
|
6737
|
-
box-shadow: var(--segmentgroup-segment-shadow-selected);
|
|
6738
|
-
transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), width 0.25s cubic-bezier(0.4, 0, 0.2, 1);
|
|
6739
|
-
z-index: 0;
|
|
6740
|
-
pointer-events: none;
|
|
6741
|
-
}
|
|
6742
|
-
|
|
6743
|
-
/* Segment button */
|
|
6744
|
-
.muka-segmentgroup__segment {
|
|
6745
|
-
display: inline-flex;
|
|
6746
|
-
align-items: center;
|
|
6747
|
-
justify-content: center;
|
|
6748
|
-
gap: var(--segmentgroup-segment-gap);
|
|
6749
|
-
border: none;
|
|
6750
|
-
background-color: var(--segmentgroup-segment-color-unselected-background);
|
|
6751
|
-
color: var(--segmentgroup-segment-color-unselected-foreground);
|
|
6752
|
-
border-radius: var(--segmentgroup-segment-radius);
|
|
6753
|
-
cursor: pointer;
|
|
6754
|
-
transition: background-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
|
|
6755
|
-
position: relative;
|
|
6756
|
-
outline: none;
|
|
6757
|
-
box-shadow: var(--segmentgroup-segment-shadow-unselected);
|
|
6758
|
-
font-family: var(--alias-font-plain-family);
|
|
6759
|
-
font-weight: var(--segmentgroup-segment-fontWeight);
|
|
6760
|
-
z-index: 1; /* Keep above pill */
|
|
6761
|
-
}
|
|
6762
|
-
|
|
6763
|
-
/* Size variants */
|
|
6764
|
-
.muka-segmentgroup--sm {
|
|
6765
|
-
border-radius: var(--border-radius-xl, 16px);
|
|
6766
|
-
}
|
|
6767
|
-
.muka-segmentgroup--sm .muka-segmentgroup__segment,
|
|
6768
|
-
.muka-segmentgroup--sm .muka-segmentgroup__pill {
|
|
6769
|
-
border-radius: var(--border-radius-xl, 16px);
|
|
6770
|
-
}
|
|
6771
|
-
.muka-segmentgroup--sm .muka-segmentgroup__segment {
|
|
6772
|
-
padding: var(--segmentgroup-segment-padding-sm-y) var(--segmentgroup-segment-padding-sm-x);
|
|
6773
|
-
height: var(--segmentgroup-segment-height-sm);
|
|
6774
|
-
font-size: var(--text-label-sm-regular-fontSize);
|
|
6775
|
-
line-height: var(--text-label-sm-leading);
|
|
6776
|
-
}
|
|
6777
|
-
|
|
6778
|
-
.muka-segmentgroup--md {
|
|
6779
|
-
border-radius: var(--border-radius-xl, 16px);
|
|
6780
|
-
}
|
|
6781
|
-
.muka-segmentgroup--md .muka-segmentgroup__segment,
|
|
6782
|
-
.muka-segmentgroup--md .muka-segmentgroup__pill {
|
|
6783
|
-
border-radius: var(--border-radius-xl, 16px);
|
|
6784
|
-
}
|
|
6785
|
-
.muka-segmentgroup--md .muka-segmentgroup__segment {
|
|
6786
|
-
padding: var(--segmentgroup-segment-padding-md-y) var(--segmentgroup-segment-padding-md-x);
|
|
6787
|
-
font-size: var(--text-label-md-regular-fontSize);
|
|
6788
|
-
line-height: var(--text-label-md-leading);
|
|
6789
|
-
}
|
|
6790
|
-
|
|
6791
|
-
.muka-segmentgroup--lg {
|
|
6792
|
-
border-radius: var(--border-radius-full, 9999px);
|
|
6793
|
-
}
|
|
6794
|
-
.muka-segmentgroup--lg .muka-segmentgroup__segment,
|
|
6795
|
-
.muka-segmentgroup--lg .muka-segmentgroup__pill {
|
|
6796
|
-
border-radius: var(--border-radius-full, 9999px);
|
|
6797
|
-
}
|
|
6798
|
-
.muka-segmentgroup--lg .muka-segmentgroup__segment {
|
|
6799
|
-
padding: var(--segmentgroup-segment-padding-lg-y) var(--segmentgroup-segment-padding-lg-x);
|
|
6800
|
-
height: 40px;
|
|
6801
|
-
font-size: var(--text-label-lg-regular-fontSize);
|
|
6802
|
-
line-height: var(--text-label-lg-leading);
|
|
6803
|
-
}
|
|
6804
|
-
|
|
6805
|
-
/* Icon-only variants */
|
|
6806
|
-
.muka-segmentgroup--icon-only {
|
|
6807
|
-
gap: var(--spacing-1, 4px);
|
|
6808
|
-
}
|
|
6809
|
-
|
|
6810
|
-
.muka-segmentgroup--icon-only.muka-segmentgroup--sm .muka-segmentgroup__segment {
|
|
6811
|
-
width: 24px;
|
|
6812
|
-
height: 24px;
|
|
6813
|
-
padding: 0;
|
|
6814
|
-
}
|
|
6815
|
-
.muka-segmentgroup--icon-only.muka-segmentgroup--sm .muka-segmentgroup__icon svg {
|
|
6816
|
-
width: 16px;
|
|
6817
|
-
height: 16px;
|
|
6818
|
-
}
|
|
6819
|
-
|
|
6820
|
-
.muka-segmentgroup--icon-only.muka-segmentgroup--md .muka-segmentgroup__segment {
|
|
6821
|
-
width: 32px;
|
|
6822
|
-
height: 32px;
|
|
6823
|
-
padding: 0;
|
|
6847
|
+
|
|
6848
|
+
.muka-scrollbar__thumb:active {
|
|
6849
|
+
cursor: grabbing;
|
|
6824
6850
|
}
|
|
6825
|
-
|
|
6826
|
-
|
|
6827
|
-
|
|
6851
|
+
|
|
6852
|
+
.muka-scrollbar__grip {
|
|
6853
|
+
display: flex;
|
|
6854
|
+
flex-direction: column;
|
|
6855
|
+
gap: 2px;
|
|
6856
|
+
width: 14px;
|
|
6828
6857
|
}
|
|
6829
6858
|
|
|
6830
|
-
.muka-
|
|
6831
|
-
|
|
6832
|
-
|
|
6833
|
-
|
|
6859
|
+
.muka-scrollbar__grip::before,
|
|
6860
|
+
.muka-scrollbar__grip::after {
|
|
6861
|
+
content: '';
|
|
6862
|
+
display: block;
|
|
6863
|
+
width: 100%;
|
|
6864
|
+
height: 2px;
|
|
6865
|
+
border-radius: var(--border-radius-md);
|
|
6866
|
+
background-color: var(--color-text-subtle-default);
|
|
6834
6867
|
}
|
|
6835
|
-
|
|
6836
|
-
|
|
6837
|
-
|
|
6868
|
+
|
|
6869
|
+
.muka-scrollbar__spacer {
|
|
6870
|
+
flex: 1 1 auto;
|
|
6871
|
+
min-height: 0;
|
|
6872
|
+
background-color: var(--color-surface-level2);
|
|
6838
6873
|
}
|
|
6839
6874
|
|
|
6840
|
-
|
|
6841
|
-
|
|
6842
|
-
|
|
6875
|
+
|
|
6876
|
+
/* RecordingBar */
|
|
6877
|
+
/* RecordingBar Component Styles */
|
|
6878
|
+
|
|
6879
|
+
.muka-recording-bar {
|
|
6880
|
+
display: flex;
|
|
6843
6881
|
align-items: center;
|
|
6844
|
-
|
|
6882
|
+
gap: var(--spacing-3);
|
|
6883
|
+
width: 100%;
|
|
6884
|
+
min-width: 0;
|
|
6845
6885
|
}
|
|
6846
6886
|
|
|
6847
|
-
|
|
6848
|
-
|
|
6849
|
-
|
|
6850
|
-
|
|
6851
|
-
|
|
6852
|
-
|
|
6887
|
+
.muka-recording-bar__dot {
|
|
6888
|
+
flex: 0 0 auto;
|
|
6889
|
+
width: 0.625rem;
|
|
6890
|
+
height: 0.625rem;
|
|
6891
|
+
border-radius: var(--radius-full, 9999px);
|
|
6892
|
+
background: var(--alert-color-error-accent, var(--color-text-default-default));
|
|
6893
|
+
animation: muka-recording-bar-pulse 1s ease-in-out infinite;
|
|
6853
6894
|
}
|
|
6854
6895
|
|
|
6855
|
-
|
|
6856
|
-
|
|
6857
|
-
|
|
6896
|
+
.muka-recording-bar__time {
|
|
6897
|
+
flex: 0 0 auto;
|
|
6898
|
+
font-size: var(--text-label-sm-regular-fontSize);
|
|
6899
|
+
line-height: var(--text-label-sm-leading);
|
|
6900
|
+
font-variant-numeric: tabular-nums;
|
|
6901
|
+
color: var(--color-text-default-default);
|
|
6858
6902
|
}
|
|
6859
6903
|
|
|
6860
|
-
|
|
6861
|
-
|
|
6862
|
-
|
|
6863
|
-
outline-offset: 2px;
|
|
6864
|
-
z-index: 2;
|
|
6904
|
+
.muka-recording-bar__wave {
|
|
6905
|
+
flex: 1 1 auto;
|
|
6906
|
+
min-width: 0;
|
|
6865
6907
|
}
|
|
6866
6908
|
|
|
6867
|
-
|
|
6868
|
-
|
|
6869
|
-
|
|
6870
|
-
|
|
6871
|
-
|
|
6909
|
+
@keyframes muka-recording-bar-pulse {
|
|
6910
|
+
0%,
|
|
6911
|
+
100% {
|
|
6912
|
+
opacity: 1;
|
|
6913
|
+
}
|
|
6914
|
+
50% {
|
|
6915
|
+
opacity: 0.3;
|
|
6916
|
+
}
|
|
6872
6917
|
}
|
|
6873
6918
|
|
|
6874
|
-
|
|
6875
|
-
.muka-
|
|
6876
|
-
|
|
6877
|
-
|
|
6878
|
-
white-space: nowrap;
|
|
6879
|
-
user-select: none;
|
|
6919
|
+
@media (prefers-reduced-motion: reduce) {
|
|
6920
|
+
.muka-recording-bar__dot {
|
|
6921
|
+
animation: none;
|
|
6922
|
+
}
|
|
6880
6923
|
}
|
|
6881
6924
|
|
|
6882
6925
|
|
|
@@ -7166,219 +7209,75 @@ body {
|
|
|
7166
7209
|
.muka-radio-tile__icon svg {
|
|
7167
7210
|
width: 100%;
|
|
7168
7211
|
height: 100%;
|
|
7169
|
-
}
|
|
7170
|
-
|
|
7171
|
-
/* Image */
|
|
7172
|
-
.muka-radio-tile__image {
|
|
7173
|
-
flex-shrink: 0;
|
|
7174
|
-
overflow: hidden;
|
|
7175
|
-
border-radius: var(--border-radius-sm);
|
|
7176
|
-
}
|
|
7177
|
-
|
|
7178
|
-
.muka-radio-tile__image img {
|
|
7179
|
-
display: block;
|
|
7180
|
-
width: 100%;
|
|
7181
|
-
height: 100%;
|
|
7182
|
-
object-fit: cover;
|
|
7183
|
-
}
|
|
7184
|
-
|
|
7185
|
-
/* Horizontal image sizing */
|
|
7186
|
-
.muka-radio-tile__image--horizontal {
|
|
7187
|
-
width: 40px;
|
|
7188
|
-
height: 40px;
|
|
7189
|
-
}
|
|
7190
|
-
|
|
7191
|
-
/* Vertical image sizing */
|
|
7192
|
-
.muka-radio-tile--vertical .muka-radio-tile__image {
|
|
7193
|
-
width: 100%;
|
|
7194
|
-
aspect-ratio: 4/3;
|
|
7195
|
-
}
|
|
7196
|
-
|
|
7197
|
-
/* Content container */
|
|
7198
|
-
.muka-radio-tile__content {
|
|
7199
|
-
display: flex;
|
|
7200
|
-
flex-direction: column;
|
|
7201
|
-
flex: 1;
|
|
7202
|
-
min-width: 0;
|
|
7203
|
-
gap: var(--spacing-1);
|
|
7204
|
-
}
|
|
7205
|
-
|
|
7206
|
-
/* Label */
|
|
7207
|
-
.muka-radio-tile__label {
|
|
7208
|
-
font-family: var(--text-body-lg-regular-fontFamily);
|
|
7209
|
-
font-weight: var(--text-body-lg-regular-fontWeight);
|
|
7210
|
-
font-size: var(--text-body-lg-regular-fontSize);
|
|
7211
|
-
line-height: var(--text-body-lg-regular-lineHeight);
|
|
7212
|
-
color: var(--color-text-default-default);
|
|
7213
|
-
}
|
|
7214
|
-
|
|
7215
|
-
.muka-radio-tile__label--bold {
|
|
7216
|
-
font-family: var(--text-label-lg-semibold-fontFamily);
|
|
7217
|
-
font-weight: var(--text-label-lg-semibold-fontWeight);
|
|
7218
|
-
font-size: var(--text-label-lg-semibold-fontSize);
|
|
7219
|
-
line-height: var(--text-label-lg-semibold-lineHeight);
|
|
7220
|
-
}
|
|
7221
|
-
|
|
7222
|
-
.muka-radio-tile__label--center {
|
|
7223
|
-
text-align: center;
|
|
7224
|
-
}
|
|
7225
|
-
|
|
7226
|
-
/* Caption */
|
|
7227
|
-
.muka-radio-tile__caption {
|
|
7228
|
-
font-family: var(--text-body-base-regular-fontFamily);
|
|
7229
|
-
font-weight: var(--text-body-base-regular-fontWeight);
|
|
7230
|
-
font-size: var(--text-body-base-regular-fontSize);
|
|
7231
|
-
line-height: var(--text-body-base-regular-lineHeight);
|
|
7232
|
-
color: var(--color-text-subtle-default);
|
|
7233
|
-
}
|
|
7234
|
-
|
|
7235
|
-
/* Disabled states */
|
|
7236
|
-
.muka-radio-tile--disabled .muka-radio-tile__label,
|
|
7237
|
-
.muka-radio-tile--disabled .muka-radio-tile__icon {
|
|
7238
|
-
color: var(--color-text-subtle-default);
|
|
7239
|
-
}
|
|
7240
|
-
|
|
7241
|
-
|
|
7242
|
-
/* Radio */
|
|
7243
|
-
/* Radio Component Styles - Using Muka Design Tokens */
|
|
7244
|
-
|
|
7245
|
-
/* Wrapper - clickable label container */
|
|
7246
|
-
.muka-radio {
|
|
7247
|
-
display: inline-flex;
|
|
7248
|
-
align-items: center;
|
|
7249
|
-
gap: var(--spacing-4);
|
|
7250
|
-
cursor: pointer;
|
|
7251
|
-
user-select: none;
|
|
7252
|
-
}
|
|
7253
|
-
|
|
7254
|
-
.muka-radio--disabled {
|
|
7255
|
-
cursor: not-allowed;
|
|
7256
|
-
opacity: 0.6;
|
|
7257
|
-
}
|
|
7258
|
-
|
|
7259
|
-
/* Control container */
|
|
7260
|
-
.muka-radio__control {
|
|
7261
|
-
position: relative;
|
|
7262
|
-
display: inline-flex;
|
|
7263
|
-
align-items: center;
|
|
7264
|
-
justify-content: center;
|
|
7265
|
-
flex-shrink: 0;
|
|
7266
|
-
}
|
|
7267
|
-
|
|
7268
|
-
/* Hidden native input */
|
|
7269
|
-
.muka-radio__input {
|
|
7270
|
-
position: absolute;
|
|
7271
|
-
width: 1px;
|
|
7272
|
-
height: 1px;
|
|
7273
|
-
padding: 0;
|
|
7274
|
-
margin: -1px;
|
|
7275
|
-
overflow: hidden;
|
|
7276
|
-
clip: rect(0, 0, 0, 0);
|
|
7277
|
-
white-space: nowrap;
|
|
7278
|
-
border: 0;
|
|
7279
|
-
}
|
|
7280
|
-
|
|
7281
|
-
/* Visual indicator (circle) */
|
|
7282
|
-
.muka-radio__indicator {
|
|
7283
|
-
display: flex;
|
|
7284
|
-
align-items: center;
|
|
7285
|
-
justify-content: center;
|
|
7286
|
-
width: var(--radio-size-default);
|
|
7287
|
-
height: var(--radio-size-default);
|
|
7288
|
-
border-radius: var(--border-radius-full);
|
|
7289
|
-
background-color: var(--radio-color-default-background);
|
|
7290
|
-
border: var(--border-width-regular) solid var(--radio-color-default-border);
|
|
7291
|
-
transition: all 0.15s ease;
|
|
7292
|
-
box-shadow: inset 0 1px 2px 0 rgba(26, 26, 26, 0.15);
|
|
7293
|
-
}
|
|
7294
|
-
|
|
7295
|
-
/* Size variants */
|
|
7296
|
-
.muka-radio--sm .muka-radio__indicator {
|
|
7297
|
-
width: var(--radio-size-sm);
|
|
7298
|
-
height: var(--radio-size-sm);
|
|
7299
|
-
}
|
|
7300
|
-
|
|
7301
|
-
.muka-radio--lg .muka-radio__indicator {
|
|
7302
|
-
width: var(--radio-size-lg);
|
|
7303
|
-
height: var(--radio-size-lg);
|
|
7304
|
-
}
|
|
7305
|
-
|
|
7306
|
-
/* Inner dot (shown when checked) */
|
|
7307
|
-
.muka-radio__dot {
|
|
7308
|
-
width: var(--radio-dot-size-default);
|
|
7309
|
-
height: var(--radio-dot-size-default);
|
|
7310
|
-
border-radius: var(--border-radius-full);
|
|
7311
|
-
background-color: var(--radio-color-default-dot);
|
|
7312
|
-
transform: scale(0);
|
|
7313
|
-
transition: transform 0.15s ease;
|
|
7314
|
-
}
|
|
7315
|
-
|
|
7316
|
-
.muka-radio--sm .muka-radio__dot {
|
|
7317
|
-
width: var(--radio-dot-size-sm);
|
|
7318
|
-
height: var(--radio-dot-size-sm);
|
|
7319
|
-
}
|
|
7320
|
-
|
|
7321
|
-
.muka-radio--lg .muka-radio__dot {
|
|
7322
|
-
width: var(--radio-dot-size-lg);
|
|
7323
|
-
height: var(--radio-dot-size-lg);
|
|
7324
|
-
}
|
|
7325
|
-
|
|
7326
|
-
/* Hover state - removed per design */
|
|
7212
|
+
}
|
|
7327
7213
|
|
|
7328
|
-
/*
|
|
7329
|
-
.muka-
|
|
7330
|
-
|
|
7331
|
-
|
|
7214
|
+
/* Image */
|
|
7215
|
+
.muka-radio-tile__image {
|
|
7216
|
+
flex-shrink: 0;
|
|
7217
|
+
overflow: hidden;
|
|
7218
|
+
border-radius: var(--border-radius-sm);
|
|
7332
7219
|
}
|
|
7333
7220
|
|
|
7334
|
-
|
|
7335
|
-
|
|
7336
|
-
|
|
7337
|
-
|
|
7338
|
-
|
|
7339
|
-
box-shadow: none;
|
|
7221
|
+
.muka-radio-tile__image img {
|
|
7222
|
+
display: block;
|
|
7223
|
+
width: 100%;
|
|
7224
|
+
height: 100%;
|
|
7225
|
+
object-fit: cover;
|
|
7340
7226
|
}
|
|
7341
7227
|
|
|
7342
|
-
|
|
7343
|
-
|
|
7344
|
-
|
|
7228
|
+
/* Horizontal image sizing */
|
|
7229
|
+
.muka-radio-tile__image--horizontal {
|
|
7230
|
+
width: 40px;
|
|
7231
|
+
height: 40px;
|
|
7345
7232
|
}
|
|
7346
7233
|
|
|
7347
|
-
/*
|
|
7348
|
-
.muka-radio--
|
|
7349
|
-
|
|
7350
|
-
|
|
7351
|
-
box-shadow: none;
|
|
7234
|
+
/* Vertical image sizing */
|
|
7235
|
+
.muka-radio-tile--vertical .muka-radio-tile__image {
|
|
7236
|
+
width: 100%;
|
|
7237
|
+
aspect-ratio: 4/3;
|
|
7352
7238
|
}
|
|
7353
7239
|
|
|
7354
|
-
|
|
7355
|
-
|
|
7240
|
+
/* Content container */
|
|
7241
|
+
.muka-radio-tile__content {
|
|
7242
|
+
display: flex;
|
|
7243
|
+
flex-direction: column;
|
|
7244
|
+
flex: 1;
|
|
7245
|
+
min-width: 0;
|
|
7246
|
+
gap: var(--spacing-1);
|
|
7356
7247
|
}
|
|
7357
7248
|
|
|
7358
|
-
/* Label
|
|
7359
|
-
.muka-
|
|
7360
|
-
font-family: var(--text-
|
|
7361
|
-
font-weight: var(--text-
|
|
7362
|
-
font-size: var(--text-
|
|
7363
|
-
line-height: var(--text-
|
|
7249
|
+
/* Label */
|
|
7250
|
+
.muka-radio-tile__label {
|
|
7251
|
+
font-family: var(--text-body-lg-regular-fontFamily);
|
|
7252
|
+
font-weight: var(--text-body-lg-regular-fontWeight);
|
|
7253
|
+
font-size: var(--text-body-lg-regular-fontSize);
|
|
7254
|
+
line-height: var(--text-body-lg-regular-lineHeight);
|
|
7364
7255
|
color: var(--color-text-default-default);
|
|
7365
7256
|
}
|
|
7366
7257
|
|
|
7367
|
-
.muka-radio--
|
|
7368
|
-
font-family: var(--text-label-
|
|
7369
|
-
font-weight: var(--text-label-
|
|
7370
|
-
font-size: var(--text-label-
|
|
7371
|
-
line-height: var(--text-label-
|
|
7258
|
+
.muka-radio-tile__label--bold {
|
|
7259
|
+
font-family: var(--text-label-lg-semibold-fontFamily);
|
|
7260
|
+
font-weight: var(--text-label-lg-semibold-fontWeight);
|
|
7261
|
+
font-size: var(--text-label-lg-semibold-fontSize);
|
|
7262
|
+
line-height: var(--text-label-lg-semibold-lineHeight);
|
|
7372
7263
|
}
|
|
7373
7264
|
|
|
7374
|
-
.muka-radio--
|
|
7375
|
-
|
|
7376
|
-
font-weight: var(--text-label-xl-regular-fontWeight);
|
|
7377
|
-
font-size: var(--text-label-xl-regular-fontSize);
|
|
7378
|
-
line-height: var(--text-label-xl-regular-lineHeight);
|
|
7265
|
+
.muka-radio-tile__label--center {
|
|
7266
|
+
text-align: center;
|
|
7379
7267
|
}
|
|
7380
7268
|
|
|
7381
|
-
|
|
7269
|
+
/* Caption */
|
|
7270
|
+
.muka-radio-tile__caption {
|
|
7271
|
+
font-family: var(--text-body-base-regular-fontFamily);
|
|
7272
|
+
font-weight: var(--text-body-base-regular-fontWeight);
|
|
7273
|
+
font-size: var(--text-body-base-regular-fontSize);
|
|
7274
|
+
line-height: var(--text-body-base-regular-lineHeight);
|
|
7275
|
+
color: var(--color-text-subtle-default);
|
|
7276
|
+
}
|
|
7277
|
+
|
|
7278
|
+
/* Disabled states */
|
|
7279
|
+
.muka-radio-tile--disabled .muka-radio-tile__label,
|
|
7280
|
+
.muka-radio-tile--disabled .muka-radio-tile__icon {
|
|
7382
7281
|
color: var(--color-text-subtle-default);
|
|
7383
7282
|
}
|
|
7384
7283
|
|
|
@@ -7994,6 +7893,150 @@ button.muka-progress-tracker__tab:focus-visible {
|
|
|
7994
7893
|
}
|
|
7995
7894
|
|
|
7996
7895
|
|
|
7896
|
+
/* Radio */
|
|
7897
|
+
/* Radio Component Styles - Using Muka Design Tokens */
|
|
7898
|
+
|
|
7899
|
+
/* Wrapper - clickable label container */
|
|
7900
|
+
.muka-radio {
|
|
7901
|
+
display: inline-flex;
|
|
7902
|
+
align-items: center;
|
|
7903
|
+
gap: var(--spacing-4);
|
|
7904
|
+
cursor: pointer;
|
|
7905
|
+
user-select: none;
|
|
7906
|
+
}
|
|
7907
|
+
|
|
7908
|
+
.muka-radio--disabled {
|
|
7909
|
+
cursor: not-allowed;
|
|
7910
|
+
opacity: 0.6;
|
|
7911
|
+
}
|
|
7912
|
+
|
|
7913
|
+
/* Control container */
|
|
7914
|
+
.muka-radio__control {
|
|
7915
|
+
position: relative;
|
|
7916
|
+
display: inline-flex;
|
|
7917
|
+
align-items: center;
|
|
7918
|
+
justify-content: center;
|
|
7919
|
+
flex-shrink: 0;
|
|
7920
|
+
}
|
|
7921
|
+
|
|
7922
|
+
/* Hidden native input */
|
|
7923
|
+
.muka-radio__input {
|
|
7924
|
+
position: absolute;
|
|
7925
|
+
width: 1px;
|
|
7926
|
+
height: 1px;
|
|
7927
|
+
padding: 0;
|
|
7928
|
+
margin: -1px;
|
|
7929
|
+
overflow: hidden;
|
|
7930
|
+
clip: rect(0, 0, 0, 0);
|
|
7931
|
+
white-space: nowrap;
|
|
7932
|
+
border: 0;
|
|
7933
|
+
}
|
|
7934
|
+
|
|
7935
|
+
/* Visual indicator (circle) */
|
|
7936
|
+
.muka-radio__indicator {
|
|
7937
|
+
display: flex;
|
|
7938
|
+
align-items: center;
|
|
7939
|
+
justify-content: center;
|
|
7940
|
+
width: var(--radio-size-default);
|
|
7941
|
+
height: var(--radio-size-default);
|
|
7942
|
+
border-radius: var(--border-radius-full);
|
|
7943
|
+
background-color: var(--radio-color-default-background);
|
|
7944
|
+
border: var(--border-width-regular) solid var(--radio-color-default-border);
|
|
7945
|
+
transition: all 0.15s ease;
|
|
7946
|
+
box-shadow: inset 0 1px 2px 0 rgba(26, 26, 26, 0.15);
|
|
7947
|
+
}
|
|
7948
|
+
|
|
7949
|
+
/* Size variants */
|
|
7950
|
+
.muka-radio--sm .muka-radio__indicator {
|
|
7951
|
+
width: var(--radio-size-sm);
|
|
7952
|
+
height: var(--radio-size-sm);
|
|
7953
|
+
}
|
|
7954
|
+
|
|
7955
|
+
.muka-radio--lg .muka-radio__indicator {
|
|
7956
|
+
width: var(--radio-size-lg);
|
|
7957
|
+
height: var(--radio-size-lg);
|
|
7958
|
+
}
|
|
7959
|
+
|
|
7960
|
+
/* Inner dot (shown when checked) */
|
|
7961
|
+
.muka-radio__dot {
|
|
7962
|
+
width: var(--radio-dot-size-default);
|
|
7963
|
+
height: var(--radio-dot-size-default);
|
|
7964
|
+
border-radius: var(--border-radius-full);
|
|
7965
|
+
background-color: var(--radio-color-default-dot);
|
|
7966
|
+
transform: scale(0);
|
|
7967
|
+
transition: transform 0.15s ease;
|
|
7968
|
+
}
|
|
7969
|
+
|
|
7970
|
+
.muka-radio--sm .muka-radio__dot {
|
|
7971
|
+
width: var(--radio-dot-size-sm);
|
|
7972
|
+
height: var(--radio-dot-size-sm);
|
|
7973
|
+
}
|
|
7974
|
+
|
|
7975
|
+
.muka-radio--lg .muka-radio__dot {
|
|
7976
|
+
width: var(--radio-dot-size-lg);
|
|
7977
|
+
height: var(--radio-dot-size-lg);
|
|
7978
|
+
}
|
|
7979
|
+
|
|
7980
|
+
/* Hover state - removed per design */
|
|
7981
|
+
|
|
7982
|
+
/* Focus state */
|
|
7983
|
+
.muka-radio__input:focus-visible + .muka-radio__indicator {
|
|
7984
|
+
outline: 2px solid var(--color-border-focus);
|
|
7985
|
+
outline-offset: 2px;
|
|
7986
|
+
}
|
|
7987
|
+
|
|
7988
|
+
/* Checked state */
|
|
7989
|
+
.muka-radio__input:checked + .muka-radio__indicator {
|
|
7990
|
+
background-color: var(--radio-color-checked-background);
|
|
7991
|
+
border-width: var(--border-width-bold);
|
|
7992
|
+
border-color: var(--radio-color-checked-border);
|
|
7993
|
+
box-shadow: none;
|
|
7994
|
+
}
|
|
7995
|
+
|
|
7996
|
+
.muka-radio__input:checked + .muka-radio__indicator .muka-radio__dot {
|
|
7997
|
+
background-color: var(--radio-color-checked-dot);
|
|
7998
|
+
transform: scale(1);
|
|
7999
|
+
}
|
|
8000
|
+
|
|
8001
|
+
/* Disabled state */
|
|
8002
|
+
.muka-radio--disabled .muka-radio__indicator {
|
|
8003
|
+
background-color: var(--radio-color-disabled-background);
|
|
8004
|
+
border-color: var(--radio-color-disabled-border);
|
|
8005
|
+
box-shadow: none;
|
|
8006
|
+
}
|
|
8007
|
+
|
|
8008
|
+
.muka-radio__input:disabled:checked + .muka-radio__indicator .muka-radio__dot {
|
|
8009
|
+
background-color: var(--radio-color-disabled-dot);
|
|
8010
|
+
}
|
|
8011
|
+
|
|
8012
|
+
/* Label text */
|
|
8013
|
+
.muka-radio__label {
|
|
8014
|
+
font-family: var(--text-label-lg-regular-fontFamily);
|
|
8015
|
+
font-weight: var(--text-label-lg-regular-fontWeight);
|
|
8016
|
+
font-size: var(--text-label-lg-regular-fontSize);
|
|
8017
|
+
line-height: var(--text-label-lg-regular-lineHeight);
|
|
8018
|
+
color: var(--color-text-default-default);
|
|
8019
|
+
}
|
|
8020
|
+
|
|
8021
|
+
.muka-radio--sm .muka-radio__label {
|
|
8022
|
+
font-family: var(--text-label-md-regular-fontFamily);
|
|
8023
|
+
font-weight: var(--text-label-md-regular-fontWeight);
|
|
8024
|
+
font-size: var(--text-label-md-regular-fontSize);
|
|
8025
|
+
line-height: var(--text-label-md-regular-lineHeight);
|
|
8026
|
+
}
|
|
8027
|
+
|
|
8028
|
+
.muka-radio--lg .muka-radio__label {
|
|
8029
|
+
font-family: var(--text-label-xl-regular-fontFamily);
|
|
8030
|
+
font-weight: var(--text-label-xl-regular-fontWeight);
|
|
8031
|
+
font-size: var(--text-label-xl-regular-fontSize);
|
|
8032
|
+
line-height: var(--text-label-xl-regular-lineHeight);
|
|
8033
|
+
}
|
|
8034
|
+
|
|
8035
|
+
.muka-radio--disabled .muka-radio__label {
|
|
8036
|
+
color: var(--color-text-subtle-default);
|
|
8037
|
+
}
|
|
8038
|
+
|
|
8039
|
+
|
|
7997
8040
|
/* ProgressAccordeon */
|
|
7998
8041
|
/* ProgressAccordeon Component Styles — Using Muka Design Tokens */
|
|
7999
8042
|
|
|
@@ -8635,6 +8678,37 @@ button.muka-progress-tracker__tab:focus-visible {
|
|
|
8635
8678
|
}
|
|
8636
8679
|
|
|
8637
8680
|
|
|
8681
|
+
/* Popover */
|
|
8682
|
+
/* Popover Component Styles */
|
|
8683
|
+
|
|
8684
|
+
.muka-popover__content {
|
|
8685
|
+
background-color: var(--color-surface-level3);
|
|
8686
|
+
border: var(--border-width-regular) solid var(--color-border-default);
|
|
8687
|
+
border-radius: var(--radius-md);
|
|
8688
|
+
padding: var(--spacing-4);
|
|
8689
|
+
box-shadow: var(--shadow-level3);
|
|
8690
|
+
max-width: 20rem;
|
|
8691
|
+
z-index: 50;
|
|
8692
|
+
animation: muka-popover-fade-in 150ms ease;
|
|
8693
|
+
}
|
|
8694
|
+
|
|
8695
|
+
@keyframes muka-popover-fade-in {
|
|
8696
|
+
from {
|
|
8697
|
+
opacity: 0;
|
|
8698
|
+
transform: scale(0.96);
|
|
8699
|
+
}
|
|
8700
|
+
to {
|
|
8701
|
+
opacity: 1;
|
|
8702
|
+
transform: scale(1);
|
|
8703
|
+
}
|
|
8704
|
+
}
|
|
8705
|
+
|
|
8706
|
+
/* Arrow */
|
|
8707
|
+
.muka-popover__arrow {
|
|
8708
|
+
fill: var(--color-surface-level3);
|
|
8709
|
+
}
|
|
8710
|
+
|
|
8711
|
+
|
|
8638
8712
|
/* PlanningGantt */
|
|
8639
8713
|
/* PlanningGantt (MUK-105) — one week per page, never scrolls horizontally. */
|
|
8640
8714
|
|
|
@@ -9032,37 +9106,6 @@ button.muka-progress-tracker__tab:focus-visible {
|
|
|
9032
9106
|
}
|
|
9033
9107
|
|
|
9034
9108
|
|
|
9035
|
-
/* Popover */
|
|
9036
|
-
/* Popover Component Styles */
|
|
9037
|
-
|
|
9038
|
-
.muka-popover__content {
|
|
9039
|
-
background-color: var(--color-surface-level3);
|
|
9040
|
-
border: var(--border-width-regular) solid var(--color-border-default);
|
|
9041
|
-
border-radius: var(--radius-md);
|
|
9042
|
-
padding: var(--spacing-4);
|
|
9043
|
-
box-shadow: var(--shadow-level3);
|
|
9044
|
-
max-width: 20rem;
|
|
9045
|
-
z-index: 50;
|
|
9046
|
-
animation: muka-popover-fade-in 150ms ease;
|
|
9047
|
-
}
|
|
9048
|
-
|
|
9049
|
-
@keyframes muka-popover-fade-in {
|
|
9050
|
-
from {
|
|
9051
|
-
opacity: 0;
|
|
9052
|
-
transform: scale(0.96);
|
|
9053
|
-
}
|
|
9054
|
-
to {
|
|
9055
|
-
opacity: 1;
|
|
9056
|
-
transform: scale(1);
|
|
9057
|
-
}
|
|
9058
|
-
}
|
|
9059
|
-
|
|
9060
|
-
/* Arrow */
|
|
9061
|
-
.muka-popover__arrow {
|
|
9062
|
-
fill: var(--color-surface-level3);
|
|
9063
|
-
}
|
|
9064
|
-
|
|
9065
|
-
|
|
9066
9109
|
/* PieChart */
|
|
9067
9110
|
/* PieChart Component Styles - Using Muka Design Tokens */
|
|
9068
9111
|
|
|
@@ -10755,263 +10798,85 @@ li.muka-listitem {
|
|
|
10755
10798
|
.muka-license-plate-input__plate--sm .muka-license-plate-input__native {
|
|
10756
10799
|
font-size: 22px;
|
|
10757
10800
|
}
|
|
10758
|
-
|
|
10759
|
-
.muka-license-plate-input__plate--md .muka-license-plate-input__native {
|
|
10760
|
-
font-size: 30px;
|
|
10761
|
-
}
|
|
10762
|
-
|
|
10763
|
-
.muka-license-plate-input__plate--lg .muka-license-plate-input__native {
|
|
10764
|
-
font-size: 42px;
|
|
10765
|
-
}
|
|
10766
|
-
|
|
10767
|
-
.muka-license-plate-input__native::placeholder {
|
|
10768
|
-
color: var(--plate-text);
|
|
10769
|
-
opacity: 0.55;
|
|
10770
|
-
font-weight: 700;
|
|
10771
|
-
letter-spacing: 0.08em;
|
|
10772
|
-
}
|
|
10773
|
-
|
|
10774
|
-
.muka-license-plate-input__plate--disabled .muka-license-plate-input__native {
|
|
10775
|
-
cursor: not-allowed;
|
|
10776
|
-
}
|
|
10777
|
-
|
|
10778
|
-
/* Helper text */
|
|
10779
|
-
.muka-license-plate-input__helper {
|
|
10780
|
-
font-family: var(--text-label-sm-regular-fontFamily);
|
|
10781
|
-
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
10782
|
-
font-size: var(--text-label-sm-regular-fontSize);
|
|
10783
|
-
line-height: var(--text-label-sm-regular-lineHeight);
|
|
10784
|
-
color: var(--color-text-subtle-default);
|
|
10785
|
-
margin: 0;
|
|
10786
|
-
}
|
|
10787
|
-
|
|
10788
|
-
/* Error message */
|
|
10789
|
-
.muka-license-plate-input__error {
|
|
10790
|
-
font-family: var(--text-label-sm-regular-fontFamily);
|
|
10791
|
-
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
10792
|
-
font-size: var(--text-label-sm-regular-fontSize);
|
|
10793
|
-
line-height: var(--text-label-sm-regular-lineHeight);
|
|
10794
|
-
color: var(--color-state-error-default);
|
|
10795
|
-
margin: 0;
|
|
10796
|
-
}
|
|
10797
|
-
|
|
10798
|
-
|
|
10799
|
-
/* Label */
|
|
10800
|
-
/* Label Component Styles - Using Muka Design Tokens */
|
|
10801
|
-
|
|
10802
|
-
.muka-label {
|
|
10803
|
-
display: inline-flex;
|
|
10804
|
-
align-items: center;
|
|
10805
|
-
color: var(--color-text-default-default);
|
|
10806
|
-
cursor: pointer;
|
|
10807
|
-
}
|
|
10808
|
-
|
|
10809
|
-
.muka-label--sm {
|
|
10810
|
-
font-family: var(--text-label-sm-semibold-fontFamily);
|
|
10811
|
-
font-weight: var(--text-label-sm-semibold-fontWeight);
|
|
10812
|
-
font-size: var(--text-label-sm-semibold-fontSize);
|
|
10813
|
-
line-height: var(--text-label-sm-semibold-lineHeight);
|
|
10814
|
-
}
|
|
10815
|
-
|
|
10816
|
-
.muka-label--md {
|
|
10817
|
-
font-family: var(--text-label-md-semibold-fontFamily);
|
|
10818
|
-
font-weight: var(--text-label-md-semibold-fontWeight);
|
|
10819
|
-
font-size: var(--text-label-md-semibold-fontSize);
|
|
10820
|
-
line-height: var(--text-label-md-semibold-lineHeight);
|
|
10821
|
-
}
|
|
10822
|
-
|
|
10823
|
-
.muka-label--lg {
|
|
10824
|
-
font-family: var(--text-label-lg-semibold-fontFamily);
|
|
10825
|
-
font-weight: var(--text-label-lg-semibold-fontWeight);
|
|
10826
|
-
font-size: var(--text-label-lg-semibold-fontSize);
|
|
10827
|
-
line-height: var(--text-label-lg-semibold-lineHeight);
|
|
10828
|
-
}
|
|
10829
|
-
|
|
10830
|
-
.muka-label--disabled {
|
|
10831
|
-
color: var(--color-text-subtle-default);
|
|
10832
|
-
cursor: not-allowed;
|
|
10833
|
-
}
|
|
10834
|
-
|
|
10835
|
-
.muka-label__required {
|
|
10836
|
-
color: var(--color-state-error-default);
|
|
10837
|
-
}
|
|
10838
|
-
|
|
10839
|
-
|
|
10840
|
-
/* InputCounter */
|
|
10841
|
-
/* InputCounter — numeric field + joined decrement/increment buttons.
|
|
10842
|
-
Label, helper and error text reuse Input.css (../Input/Input.css).
|
|
10843
|
-
Field and button group share one radius per size:
|
|
10844
|
-
sm/md → input.field.radius.md, lg → input.field.radius.lg. */
|
|
10845
|
-
|
|
10846
|
-
.muka-inputcounter {
|
|
10847
|
-
--muka-inputcounter-radius: var(--input-field-radius-md);
|
|
10848
|
-
--muka-inputcounter-height: var(--input-field-height-default);
|
|
10849
|
-
--muka-inputcounter-pad: calc(var(--spacing-2) + var(--spacing-1));
|
|
10850
|
-
--muka-inputcounter-min: var(--size-3xl);
|
|
10851
|
-
|
|
10852
|
-
display: inline-flex;
|
|
10853
|
-
flex-direction: column;
|
|
10854
|
-
gap: var(--spacing-2);
|
|
10855
|
-
}
|
|
10856
|
-
|
|
10857
|
-
.muka-inputcounter--sm {
|
|
10858
|
-
--muka-inputcounter-height: var(--input-field-height-sm);
|
|
10859
|
-
--muka-inputcounter-pad: calc(var(--spacing-1) + var(--spacing-1));
|
|
10860
|
-
--muka-inputcounter-min: var(--size-2xl);
|
|
10861
|
-
}
|
|
10862
|
-
|
|
10863
|
-
.muka-inputcounter--lg {
|
|
10864
|
-
--muka-inputcounter-radius: var(--input-field-radius-lg);
|
|
10865
|
-
--muka-inputcounter-height: var(--input-field-height-lg);
|
|
10866
|
-
}
|
|
10867
|
-
|
|
10868
|
-
/* Label row — label, info tooltip trigger, optional hint */
|
|
10869
|
-
.muka-inputcounter__label-row {
|
|
10870
|
-
display: flex;
|
|
10871
|
-
align-items: center;
|
|
10872
|
-
gap: var(--spacing-2);
|
|
10873
|
-
min-height: var(--size-xl);
|
|
10874
|
-
}
|
|
10875
|
-
|
|
10876
|
-
.muka-inputcounter__info {
|
|
10877
|
-
display: inline-flex;
|
|
10878
|
-
align-items: center;
|
|
10879
|
-
justify-content: center;
|
|
10880
|
-
padding: 0;
|
|
10881
|
-
border: none;
|
|
10882
|
-
border-radius: 50%;
|
|
10883
|
-
background: transparent;
|
|
10884
|
-
cursor: pointer;
|
|
10885
|
-
}
|
|
10886
|
-
|
|
10887
|
-
.muka-inputcounter__info .muka-icon {
|
|
10888
|
-
color: var(--color-action-default);
|
|
10889
|
-
}
|
|
10890
|
-
|
|
10891
|
-
.muka-inputcounter__info:focus-visible {
|
|
10892
|
-
outline: 2px solid var(--color-border-focus);
|
|
10893
|
-
outline-offset: 2px;
|
|
10894
|
-
}
|
|
10895
|
-
|
|
10896
|
-
.muka-inputcounter__optional {
|
|
10897
|
-
font-family: var(--text-label-sm-regular-fontFamily);
|
|
10898
|
-
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
10899
|
-
font-size: var(--text-label-sm-regular-fontSize);
|
|
10900
|
-
line-height: var(--text-label-sm-regular-lineHeight);
|
|
10901
|
-
color: var(--color-text-subtle-default);
|
|
10902
|
-
}
|
|
10903
|
-
|
|
10904
|
-
/* Field + button group */
|
|
10905
|
-
.muka-inputcounter__row {
|
|
10906
|
-
display: flex;
|
|
10907
|
-
align-items: center;
|
|
10908
|
-
gap: var(--spacing-3);
|
|
10909
|
-
}
|
|
10910
|
-
|
|
10911
|
-
/* Field — grows with the value (in ch), never narrower than the Figma width.
|
|
10912
|
-
Padding sits on the native input so the 2px focus/error border doesn't
|
|
10913
|
-
need compensating: content is centred in a fixed box. */
|
|
10914
|
-
.muka-inputcounter__field {
|
|
10915
|
-
position: relative;
|
|
10916
|
-
display: flex;
|
|
10917
|
-
align-items: center;
|
|
10918
|
-
box-sizing: border-box;
|
|
10919
|
-
height: var(--muka-inputcounter-height);
|
|
10920
|
-
width: calc(
|
|
10921
|
-
max(var(--muka-inputcounter-min), calc(var(--muka-inputcounter-chars, 1) * 1ch)) +
|
|
10922
|
-
2 * var(--muka-inputcounter-pad) + 2 * var(--border-width-regular)
|
|
10923
|
-
);
|
|
10924
|
-
background-color: var(--input-field-color-default-background);
|
|
10925
|
-
border: var(--border-width-regular) solid var(--input-field-color-default-border);
|
|
10926
|
-
border-radius: var(--muka-inputcounter-radius);
|
|
10927
|
-
transition: border-color 0.2s ease, background-color 0.2s ease;
|
|
10928
|
-
}
|
|
10929
|
-
|
|
10930
|
-
.muka-inputcounter__field::after {
|
|
10931
|
-
content: '';
|
|
10932
|
-
position: absolute;
|
|
10933
|
-
inset: 0;
|
|
10934
|
-
border-radius: inherit;
|
|
10935
|
-
box-shadow: var(--shadow-sunken);
|
|
10936
|
-
pointer-events: none;
|
|
10937
|
-
}
|
|
10938
|
-
|
|
10939
|
-
.muka-inputcounter__field--focused:not(.muka-inputcounter__field--disabled) {
|
|
10940
|
-
border-width: var(--border-width-bold);
|
|
10941
|
-
border-color: var(--input-field-color-focus-border);
|
|
10942
|
-
background-color: var(--input-field-color-focus-background);
|
|
10943
|
-
}
|
|
10944
|
-
|
|
10945
|
-
.muka-inputcounter__field--error:not(.muka-inputcounter__field--disabled) {
|
|
10946
|
-
border-width: var(--border-width-bold);
|
|
10947
|
-
border-color: var(--input-field-color-error-border);
|
|
10948
|
-
background-color: var(--input-field-color-error-background);
|
|
10949
|
-
}
|
|
10950
|
-
|
|
10951
|
-
.muka-inputcounter__field--disabled {
|
|
10952
|
-
background-color: var(--input-field-color-disabled-background);
|
|
10953
|
-
border-color: var(--input-field-color-disabled-border);
|
|
10954
|
-
}
|
|
10955
|
-
|
|
10956
|
-
.muka-inputcounter__field--disabled::after {
|
|
10957
|
-
display: none;
|
|
10958
|
-
}
|
|
10959
|
-
|
|
10960
|
-
.muka-inputcounter__native {
|
|
10961
|
-
width: 100%;
|
|
10962
|
-
min-width: 0;
|
|
10963
|
-
height: 100%;
|
|
10964
|
-
box-sizing: border-box;
|
|
10965
|
-
padding: 0 calc(var(--muka-inputcounter-pad) - var(--border-width-regular));
|
|
10966
|
-
border: none;
|
|
10967
|
-
outline: none;
|
|
10968
|
-
background: transparent;
|
|
10969
|
-
text-align: center;
|
|
10970
|
-
font-variant-numeric: tabular-nums;
|
|
10971
|
-
color: var(--input-field-color-default-foreground);
|
|
10972
|
-
font-family: var(--text-input-md-fontFamily);
|
|
10973
|
-
font-weight: var(--text-input-md-fontWeight);
|
|
10974
|
-
font-size: var(--text-input-md-fontSize);
|
|
10975
|
-
line-height: var(--text-input-md-lineHeight);
|
|
10801
|
+
|
|
10802
|
+
.muka-license-plate-input__plate--md .muka-license-plate-input__native {
|
|
10803
|
+
font-size: 30px;
|
|
10976
10804
|
}
|
|
10977
10805
|
|
|
10978
|
-
.muka-
|
|
10979
|
-
font-
|
|
10980
|
-
font-weight: var(--text-input-sm-fontWeight);
|
|
10981
|
-
font-size: var(--text-input-sm-fontSize);
|
|
10982
|
-
line-height: var(--text-input-sm-lineHeight);
|
|
10806
|
+
.muka-license-plate-input__plate--lg .muka-license-plate-input__native {
|
|
10807
|
+
font-size: 42px;
|
|
10983
10808
|
}
|
|
10984
10809
|
|
|
10985
|
-
.muka-
|
|
10986
|
-
color: var(--
|
|
10810
|
+
.muka-license-plate-input__native::placeholder {
|
|
10811
|
+
color: var(--plate-text);
|
|
10812
|
+
opacity: 0.55;
|
|
10813
|
+
font-weight: 700;
|
|
10814
|
+
letter-spacing: 0.08em;
|
|
10815
|
+
}
|
|
10816
|
+
|
|
10817
|
+
.muka-license-plate-input__plate--disabled .muka-license-plate-input__native {
|
|
10987
10818
|
cursor: not-allowed;
|
|
10988
10819
|
}
|
|
10989
10820
|
|
|
10990
|
-
/*
|
|
10991
|
-
|
|
10992
|
-
|
|
10821
|
+
/* Helper text */
|
|
10822
|
+
.muka-license-plate-input__helper {
|
|
10823
|
+
font-family: var(--text-label-sm-regular-fontFamily);
|
|
10824
|
+
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
10825
|
+
font-size: var(--text-label-sm-regular-fontSize);
|
|
10826
|
+
line-height: var(--text-label-sm-regular-lineHeight);
|
|
10827
|
+
color: var(--color-text-subtle-default);
|
|
10828
|
+
margin: 0;
|
|
10829
|
+
}
|
|
10830
|
+
|
|
10831
|
+
/* Error message */
|
|
10832
|
+
.muka-license-plate-input__error {
|
|
10833
|
+
font-family: var(--text-label-sm-regular-fontFamily);
|
|
10834
|
+
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
10835
|
+
font-size: var(--text-label-sm-regular-fontSize);
|
|
10836
|
+
line-height: var(--text-label-sm-regular-lineHeight);
|
|
10837
|
+
color: var(--color-state-error-default);
|
|
10838
|
+
margin: 0;
|
|
10839
|
+
}
|
|
10840
|
+
|
|
10841
|
+
|
|
10842
|
+
/* Label */
|
|
10843
|
+
/* Label Component Styles - Using Muka Design Tokens */
|
|
10844
|
+
|
|
10845
|
+
.muka-label {
|
|
10993
10846
|
display: inline-flex;
|
|
10994
|
-
align-items:
|
|
10847
|
+
align-items: center;
|
|
10848
|
+
color: var(--color-text-default-default);
|
|
10849
|
+
cursor: pointer;
|
|
10995
10850
|
}
|
|
10996
10851
|
|
|
10997
|
-
.muka-
|
|
10998
|
-
|
|
10852
|
+
.muka-label--sm {
|
|
10853
|
+
font-family: var(--text-label-sm-semibold-fontFamily);
|
|
10854
|
+
font-weight: var(--text-label-sm-semibold-fontWeight);
|
|
10855
|
+
font-size: var(--text-label-sm-semibold-fontSize);
|
|
10856
|
+
line-height: var(--text-label-sm-semibold-lineHeight);
|
|
10999
10857
|
}
|
|
11000
10858
|
|
|
11001
|
-
.muka-
|
|
11002
|
-
|
|
11003
|
-
|
|
10859
|
+
.muka-label--md {
|
|
10860
|
+
font-family: var(--text-label-md-semibold-fontFamily);
|
|
10861
|
+
font-weight: var(--text-label-md-semibold-fontWeight);
|
|
10862
|
+
font-size: var(--text-label-md-semibold-fontSize);
|
|
10863
|
+
line-height: var(--text-label-md-semibold-lineHeight);
|
|
11004
10864
|
}
|
|
11005
10865
|
|
|
11006
|
-
.muka-
|
|
11007
|
-
|
|
11008
|
-
|
|
10866
|
+
.muka-label--lg {
|
|
10867
|
+
font-family: var(--text-label-lg-semibold-fontFamily);
|
|
10868
|
+
font-weight: var(--text-label-lg-semibold-fontWeight);
|
|
10869
|
+
font-size: var(--text-label-lg-semibold-fontSize);
|
|
10870
|
+
line-height: var(--text-label-lg-semibold-lineHeight);
|
|
11009
10871
|
}
|
|
11010
10872
|
|
|
11011
|
-
.muka-
|
|
11012
|
-
|
|
11013
|
-
|
|
11014
|
-
|
|
10873
|
+
.muka-label--disabled {
|
|
10874
|
+
color: var(--color-text-subtle-default);
|
|
10875
|
+
cursor: not-allowed;
|
|
10876
|
+
}
|
|
10877
|
+
|
|
10878
|
+
.muka-label__required {
|
|
10879
|
+
color: var(--color-state-error-default);
|
|
11015
10880
|
}
|
|
11016
10881
|
|
|
11017
10882
|
|
|
@@ -11316,37 +11181,215 @@ li.muka-listitem {
|
|
|
11316
11181
|
color: var(--color-icon-subtle-default);
|
|
11317
11182
|
}
|
|
11318
11183
|
|
|
11319
|
-
.muka-icon--muted {
|
|
11320
|
-
color: var(--color-icon-muted-default);
|
|
11184
|
+
.muka-icon--muted {
|
|
11185
|
+
color: var(--color-icon-muted-default);
|
|
11186
|
+
}
|
|
11187
|
+
|
|
11188
|
+
.muka-icon--inverse {
|
|
11189
|
+
color: var(--color-icon-default-inverse);
|
|
11190
|
+
}
|
|
11191
|
+
|
|
11192
|
+
.muka-icon--xs {
|
|
11193
|
+
width: var(--icon-size-xs);
|
|
11194
|
+
height: var(--icon-size-xs);
|
|
11195
|
+
}
|
|
11196
|
+
|
|
11197
|
+
.muka-icon--sm {
|
|
11198
|
+
width: var(--icon-size-sm);
|
|
11199
|
+
height: var(--icon-size-sm);
|
|
11200
|
+
}
|
|
11201
|
+
|
|
11202
|
+
.muka-icon--md {
|
|
11203
|
+
width: var(--icon-size-default);
|
|
11204
|
+
height: var(--icon-size-default);
|
|
11205
|
+
}
|
|
11206
|
+
|
|
11207
|
+
.muka-icon--lg {
|
|
11208
|
+
width: var(--icon-size-lg);
|
|
11209
|
+
height: var(--icon-size-lg);
|
|
11210
|
+
}
|
|
11211
|
+
|
|
11212
|
+
.muka-icon svg {
|
|
11213
|
+
width: 100%;
|
|
11214
|
+
height: 100%;
|
|
11215
|
+
}
|
|
11216
|
+
|
|
11217
|
+
|
|
11218
|
+
/* InputCounter */
|
|
11219
|
+
/* InputCounter — numeric field + joined decrement/increment buttons.
|
|
11220
|
+
Label, helper and error text reuse Input.css (../Input/Input.css).
|
|
11221
|
+
Field and button group share one radius per size:
|
|
11222
|
+
sm/md → input.field.radius.md, lg → input.field.radius.lg. */
|
|
11223
|
+
|
|
11224
|
+
.muka-inputcounter {
|
|
11225
|
+
--muka-inputcounter-radius: var(--input-field-radius-md);
|
|
11226
|
+
--muka-inputcounter-height: var(--input-field-height-default);
|
|
11227
|
+
--muka-inputcounter-pad: calc(var(--spacing-2) + var(--spacing-1));
|
|
11228
|
+
--muka-inputcounter-min: var(--size-3xl);
|
|
11229
|
+
|
|
11230
|
+
display: inline-flex;
|
|
11231
|
+
flex-direction: column;
|
|
11232
|
+
gap: var(--spacing-2);
|
|
11233
|
+
}
|
|
11234
|
+
|
|
11235
|
+
.muka-inputcounter--sm {
|
|
11236
|
+
--muka-inputcounter-height: var(--input-field-height-sm);
|
|
11237
|
+
--muka-inputcounter-pad: calc(var(--spacing-1) + var(--spacing-1));
|
|
11238
|
+
--muka-inputcounter-min: var(--size-2xl);
|
|
11239
|
+
}
|
|
11240
|
+
|
|
11241
|
+
.muka-inputcounter--lg {
|
|
11242
|
+
--muka-inputcounter-radius: var(--input-field-radius-lg);
|
|
11243
|
+
--muka-inputcounter-height: var(--input-field-height-lg);
|
|
11244
|
+
}
|
|
11245
|
+
|
|
11246
|
+
/* Label row — label, info tooltip trigger, optional hint */
|
|
11247
|
+
.muka-inputcounter__label-row {
|
|
11248
|
+
display: flex;
|
|
11249
|
+
align-items: center;
|
|
11250
|
+
gap: var(--spacing-2);
|
|
11251
|
+
min-height: var(--size-xl);
|
|
11252
|
+
}
|
|
11253
|
+
|
|
11254
|
+
.muka-inputcounter__info {
|
|
11255
|
+
display: inline-flex;
|
|
11256
|
+
align-items: center;
|
|
11257
|
+
justify-content: center;
|
|
11258
|
+
padding: 0;
|
|
11259
|
+
border: none;
|
|
11260
|
+
border-radius: 50%;
|
|
11261
|
+
background: transparent;
|
|
11262
|
+
cursor: pointer;
|
|
11263
|
+
}
|
|
11264
|
+
|
|
11265
|
+
.muka-inputcounter__info .muka-icon {
|
|
11266
|
+
color: var(--color-action-default);
|
|
11267
|
+
}
|
|
11268
|
+
|
|
11269
|
+
.muka-inputcounter__info:focus-visible {
|
|
11270
|
+
outline: 2px solid var(--color-border-focus);
|
|
11271
|
+
outline-offset: 2px;
|
|
11272
|
+
}
|
|
11273
|
+
|
|
11274
|
+
.muka-inputcounter__optional {
|
|
11275
|
+
font-family: var(--text-label-sm-regular-fontFamily);
|
|
11276
|
+
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
11277
|
+
font-size: var(--text-label-sm-regular-fontSize);
|
|
11278
|
+
line-height: var(--text-label-sm-regular-lineHeight);
|
|
11279
|
+
color: var(--color-text-subtle-default);
|
|
11280
|
+
}
|
|
11281
|
+
|
|
11282
|
+
/* Field + button group */
|
|
11283
|
+
.muka-inputcounter__row {
|
|
11284
|
+
display: flex;
|
|
11285
|
+
align-items: center;
|
|
11286
|
+
gap: var(--spacing-3);
|
|
11287
|
+
}
|
|
11288
|
+
|
|
11289
|
+
/* Field — grows with the value (in ch), never narrower than the Figma width.
|
|
11290
|
+
Padding sits on the native input so the 2px focus/error border doesn't
|
|
11291
|
+
need compensating: content is centred in a fixed box. */
|
|
11292
|
+
.muka-inputcounter__field {
|
|
11293
|
+
position: relative;
|
|
11294
|
+
display: flex;
|
|
11295
|
+
align-items: center;
|
|
11296
|
+
box-sizing: border-box;
|
|
11297
|
+
height: var(--muka-inputcounter-height);
|
|
11298
|
+
width: calc(
|
|
11299
|
+
max(var(--muka-inputcounter-min), calc(var(--muka-inputcounter-chars, 1) * 1ch)) +
|
|
11300
|
+
2 * var(--muka-inputcounter-pad) + 2 * var(--border-width-regular)
|
|
11301
|
+
);
|
|
11302
|
+
background-color: var(--input-field-color-default-background);
|
|
11303
|
+
border: var(--border-width-regular) solid var(--input-field-color-default-border);
|
|
11304
|
+
border-radius: var(--muka-inputcounter-radius);
|
|
11305
|
+
transition: border-color 0.2s ease, background-color 0.2s ease;
|
|
11306
|
+
}
|
|
11307
|
+
|
|
11308
|
+
.muka-inputcounter__field::after {
|
|
11309
|
+
content: '';
|
|
11310
|
+
position: absolute;
|
|
11311
|
+
inset: 0;
|
|
11312
|
+
border-radius: inherit;
|
|
11313
|
+
box-shadow: var(--shadow-sunken);
|
|
11314
|
+
pointer-events: none;
|
|
11315
|
+
}
|
|
11316
|
+
|
|
11317
|
+
.muka-inputcounter__field--focused:not(.muka-inputcounter__field--disabled) {
|
|
11318
|
+
border-width: var(--border-width-bold);
|
|
11319
|
+
border-color: var(--input-field-color-focus-border);
|
|
11320
|
+
background-color: var(--input-field-color-focus-background);
|
|
11321
|
+
}
|
|
11322
|
+
|
|
11323
|
+
.muka-inputcounter__field--error:not(.muka-inputcounter__field--disabled) {
|
|
11324
|
+
border-width: var(--border-width-bold);
|
|
11325
|
+
border-color: var(--input-field-color-error-border);
|
|
11326
|
+
background-color: var(--input-field-color-error-background);
|
|
11327
|
+
}
|
|
11328
|
+
|
|
11329
|
+
.muka-inputcounter__field--disabled {
|
|
11330
|
+
background-color: var(--input-field-color-disabled-background);
|
|
11331
|
+
border-color: var(--input-field-color-disabled-border);
|
|
11332
|
+
}
|
|
11333
|
+
|
|
11334
|
+
.muka-inputcounter__field--disabled::after {
|
|
11335
|
+
display: none;
|
|
11336
|
+
}
|
|
11337
|
+
|
|
11338
|
+
.muka-inputcounter__native {
|
|
11339
|
+
width: 100%;
|
|
11340
|
+
min-width: 0;
|
|
11341
|
+
height: 100%;
|
|
11342
|
+
box-sizing: border-box;
|
|
11343
|
+
padding: 0 calc(var(--muka-inputcounter-pad) - var(--border-width-regular));
|
|
11344
|
+
border: none;
|
|
11345
|
+
outline: none;
|
|
11346
|
+
background: transparent;
|
|
11347
|
+
text-align: center;
|
|
11348
|
+
font-variant-numeric: tabular-nums;
|
|
11349
|
+
color: var(--input-field-color-default-foreground);
|
|
11350
|
+
font-family: var(--text-input-md-fontFamily);
|
|
11351
|
+
font-weight: var(--text-input-md-fontWeight);
|
|
11352
|
+
font-size: var(--text-input-md-fontSize);
|
|
11353
|
+
line-height: var(--text-input-md-lineHeight);
|
|
11354
|
+
}
|
|
11355
|
+
|
|
11356
|
+
.muka-inputcounter--sm .muka-inputcounter__native {
|
|
11357
|
+
font-family: var(--text-input-sm-fontFamily);
|
|
11358
|
+
font-weight: var(--text-input-sm-fontWeight);
|
|
11359
|
+
font-size: var(--text-input-sm-fontSize);
|
|
11360
|
+
line-height: var(--text-input-sm-lineHeight);
|
|
11321
11361
|
}
|
|
11322
11362
|
|
|
11323
|
-
.muka-
|
|
11324
|
-
color: var(--color-
|
|
11363
|
+
.muka-inputcounter__field--disabled .muka-inputcounter__native {
|
|
11364
|
+
color: var(--input-field-color-disabled-foreground);
|
|
11365
|
+
cursor: not-allowed;
|
|
11325
11366
|
}
|
|
11326
11367
|
|
|
11327
|
-
|
|
11328
|
-
|
|
11329
|
-
|
|
11368
|
+
/* Button group — secondary icon-only Buttons joined by a divider.
|
|
11369
|
+
Only the outer corners are rounded. */
|
|
11370
|
+
.muka-inputcounter__group {
|
|
11371
|
+
display: inline-flex;
|
|
11372
|
+
align-items: stretch;
|
|
11330
11373
|
}
|
|
11331
11374
|
|
|
11332
|
-
.muka-
|
|
11333
|
-
|
|
11334
|
-
height: var(--icon-size-sm);
|
|
11375
|
+
.muka-inputcounter__group .muka-button {
|
|
11376
|
+
border-radius: 0;
|
|
11335
11377
|
}
|
|
11336
11378
|
|
|
11337
|
-
.muka-
|
|
11338
|
-
|
|
11339
|
-
|
|
11379
|
+
.muka-inputcounter__group .muka-button:first-child {
|
|
11380
|
+
border-start-start-radius: var(--muka-inputcounter-radius);
|
|
11381
|
+
border-end-start-radius: var(--muka-inputcounter-radius);
|
|
11340
11382
|
}
|
|
11341
11383
|
|
|
11342
|
-
.muka-
|
|
11343
|
-
|
|
11344
|
-
|
|
11384
|
+
.muka-inputcounter__group .muka-button:last-child {
|
|
11385
|
+
border-start-end-radius: var(--muka-inputcounter-radius);
|
|
11386
|
+
border-end-end-radius: var(--muka-inputcounter-radius);
|
|
11345
11387
|
}
|
|
11346
11388
|
|
|
11347
|
-
.muka-
|
|
11348
|
-
|
|
11349
|
-
|
|
11389
|
+
.muka-inputcounter__divider {
|
|
11390
|
+
flex: none;
|
|
11391
|
+
width: var(--border-width-regular);
|
|
11392
|
+
background-color: var(--color-border-default);
|
|
11350
11393
|
}
|
|
11351
11394
|
|
|
11352
11395
|
|
|
@@ -13656,17 +13699,241 @@ li.muka-listitem {
|
|
|
13656
13699
|
}
|
|
13657
13700
|
}
|
|
13658
13701
|
|
|
13659
|
-
.muka-data-pie-chart__value {
|
|
13702
|
+
.muka-data-pie-chart__value {
|
|
13703
|
+
position: absolute;
|
|
13704
|
+
inset: 0;
|
|
13705
|
+
display: flex;
|
|
13706
|
+
align-items: center;
|
|
13707
|
+
justify-content: center;
|
|
13708
|
+
font-family: var(--text-body-base-bold-fontFamily);
|
|
13709
|
+
font-weight: var(--text-body-base-bold-fontWeight);
|
|
13710
|
+
font-size: var(--text-body-base-bold-fontSize);
|
|
13711
|
+
line-height: var(--text-body-base-bold-lineHeight);
|
|
13712
|
+
color: var(--color-text-default-default);
|
|
13713
|
+
}
|
|
13714
|
+
|
|
13715
|
+
|
|
13716
|
+
/* Container */
|
|
13717
|
+
/* Container Component - Layout tokens (container.max-width, container.gap) */
|
|
13718
|
+
|
|
13719
|
+
.muka-container {
|
|
13720
|
+
box-sizing: border-box;
|
|
13721
|
+
width: 100%;
|
|
13722
|
+
margin-inline: auto;
|
|
13723
|
+
}
|
|
13724
|
+
|
|
13725
|
+
/* Max-width variants */
|
|
13726
|
+
.muka-container--max-width-small {
|
|
13727
|
+
max-width: var(--container-max-width-small);
|
|
13728
|
+
}
|
|
13729
|
+
|
|
13730
|
+
.muka-container--max-width-medium {
|
|
13731
|
+
max-width: var(--container-max-width-medium);
|
|
13732
|
+
}
|
|
13733
|
+
|
|
13734
|
+
.muka-container--max-width-large {
|
|
13735
|
+
max-width: var(--container-max-width-large);
|
|
13736
|
+
}
|
|
13737
|
+
|
|
13738
|
+
.muka-container--max-width-xlarge {
|
|
13739
|
+
max-width: var(--container-max-width-xlarge);
|
|
13740
|
+
}
|
|
13741
|
+
|
|
13742
|
+
/* No gap — max-width only, no flex */
|
|
13743
|
+
.muka-container--gap-none {
|
|
13744
|
+
/* block layout by default */
|
|
13745
|
+
}
|
|
13746
|
+
|
|
13747
|
+
/* Gap variants — flex column with token gap */
|
|
13748
|
+
.muka-container--gap-compact {
|
|
13749
|
+
display: flex;
|
|
13750
|
+
flex-direction: column;
|
|
13751
|
+
gap: var(--container-gap-compact);
|
|
13752
|
+
}
|
|
13753
|
+
|
|
13754
|
+
.muka-container--gap-default {
|
|
13755
|
+
display: flex;
|
|
13756
|
+
flex-direction: column;
|
|
13757
|
+
gap: var(--container-gap-default);
|
|
13758
|
+
}
|
|
13759
|
+
|
|
13760
|
+
.muka-container--gap-spacious {
|
|
13761
|
+
display: flex;
|
|
13762
|
+
flex-direction: column;
|
|
13763
|
+
gap: var(--container-gap-spacious);
|
|
13764
|
+
}
|
|
13765
|
+
|
|
13766
|
+
|
|
13767
|
+
/* Combobox */
|
|
13768
|
+
/* Combobox — Figma Input Combobox (free-input chips + suggestion Menu) */
|
|
13769
|
+
|
|
13770
|
+
.muka-combobox {
|
|
13771
|
+
display: inline-flex;
|
|
13772
|
+
flex-direction: column;
|
|
13773
|
+
gap: var(--spacing-2);
|
|
13774
|
+
min-width: 200px;
|
|
13775
|
+
}
|
|
13776
|
+
|
|
13777
|
+
.muka-combobox--full-width {
|
|
13778
|
+
width: 100%;
|
|
13779
|
+
}
|
|
13780
|
+
|
|
13781
|
+
.muka-combobox__label {
|
|
13782
|
+
color: var(--color-text-default-default);
|
|
13783
|
+
cursor: pointer;
|
|
13784
|
+
}
|
|
13785
|
+
|
|
13786
|
+
.muka-combobox__label--sm {
|
|
13787
|
+
font-family: var(--text-label-sm-semibold-fontFamily);
|
|
13788
|
+
font-weight: var(--text-label-sm-semibold-fontWeight);
|
|
13789
|
+
font-size: var(--text-label-sm-semibold-fontSize);
|
|
13790
|
+
line-height: var(--text-label-sm-semibold-lineHeight);
|
|
13791
|
+
}
|
|
13792
|
+
|
|
13793
|
+
.muka-combobox__label--md {
|
|
13794
|
+
font-family: var(--text-label-md-semibold-fontFamily);
|
|
13795
|
+
font-weight: var(--text-label-md-semibold-fontWeight);
|
|
13796
|
+
font-size: var(--text-label-md-semibold-fontSize);
|
|
13797
|
+
line-height: var(--text-label-md-semibold-lineHeight);
|
|
13798
|
+
}
|
|
13799
|
+
|
|
13800
|
+
.muka-combobox__label--lg {
|
|
13801
|
+
font-family: var(--text-label-lg-semibold-fontFamily);
|
|
13802
|
+
font-weight: var(--text-label-lg-semibold-fontWeight);
|
|
13803
|
+
font-size: var(--text-label-lg-semibold-fontSize);
|
|
13804
|
+
line-height: var(--text-label-lg-semibold-lineHeight);
|
|
13805
|
+
}
|
|
13806
|
+
|
|
13807
|
+
.muka-combobox__field {
|
|
13808
|
+
display: flex;
|
|
13809
|
+
align-items: center;
|
|
13810
|
+
width: 100%;
|
|
13811
|
+
position: relative;
|
|
13812
|
+
isolation: isolate;
|
|
13813
|
+
box-sizing: border-box;
|
|
13814
|
+
background-color: var(--input-field-color-default-background);
|
|
13815
|
+
border: var(--border-width-regular) solid var(--input-field-color-default-border);
|
|
13816
|
+
border-radius: var(--input-field-radius-lg);
|
|
13817
|
+
padding: var(--spacing-2);
|
|
13818
|
+
cursor: text;
|
|
13819
|
+
transition: border-color 0.12s ease, background-color 0.12s ease;
|
|
13820
|
+
}
|
|
13821
|
+
|
|
13822
|
+
.muka-combobox__field::after {
|
|
13823
|
+
content: '';
|
|
13824
|
+
position: absolute;
|
|
13825
|
+
inset: 0;
|
|
13826
|
+
border-radius: inherit;
|
|
13827
|
+
box-shadow: inset 0 1px 2px 0 rgba(26, 26, 26, 0.08);
|
|
13828
|
+
pointer-events: none;
|
|
13829
|
+
}
|
|
13830
|
+
|
|
13831
|
+
.muka-combobox__field--sm {
|
|
13832
|
+
min-height: var(--input-field-height-sm);
|
|
13833
|
+
border-radius: var(--input-field-radius-sm);
|
|
13834
|
+
}
|
|
13835
|
+
|
|
13836
|
+
.muka-combobox__field--md {
|
|
13837
|
+
min-height: var(--input-field-height-default);
|
|
13838
|
+
border-radius: var(--input-field-radius-md);
|
|
13839
|
+
}
|
|
13840
|
+
|
|
13841
|
+
.muka-combobox__field--lg {
|
|
13842
|
+
min-height: var(--input-field-height-lg);
|
|
13843
|
+
border-radius: var(--input-field-radius-lg);
|
|
13844
|
+
}
|
|
13845
|
+
|
|
13846
|
+
.muka-combobox__field--focused:not(.muka-combobox__field--disabled) {
|
|
13847
|
+
border-width: var(--border-width-bold);
|
|
13848
|
+
border-color: var(--input-field-color-focus-border);
|
|
13849
|
+
background-color: var(--input-field-color-focus-background);
|
|
13850
|
+
padding: calc(var(--spacing-2) - 1px);
|
|
13851
|
+
}
|
|
13852
|
+
|
|
13853
|
+
.muka-combobox__field--error:not(.muka-combobox__field--disabled) {
|
|
13854
|
+
border-color: var(--color-state-error-contrast);
|
|
13855
|
+
}
|
|
13856
|
+
|
|
13857
|
+
.muka-combobox__field--disabled {
|
|
13858
|
+
opacity: 0.5;
|
|
13859
|
+
cursor: not-allowed;
|
|
13860
|
+
}
|
|
13861
|
+
|
|
13862
|
+
.muka-combobox__field--multiline {
|
|
13863
|
+
align-items: flex-start;
|
|
13864
|
+
min-height: 7rem;
|
|
13865
|
+
}
|
|
13866
|
+
|
|
13867
|
+
.muka-combobox__chips {
|
|
13868
|
+
display: flex;
|
|
13869
|
+
flex: 1 1 auto;
|
|
13870
|
+
flex-wrap: wrap;
|
|
13871
|
+
gap: var(--spacing-2);
|
|
13872
|
+
align-items: center;
|
|
13873
|
+
min-width: 0;
|
|
13874
|
+
width: 100%;
|
|
13875
|
+
position: relative;
|
|
13876
|
+
z-index: 1;
|
|
13877
|
+
}
|
|
13878
|
+
|
|
13879
|
+
.muka-combobox__input {
|
|
13880
|
+
flex: 1 1 5rem;
|
|
13881
|
+
min-width: 5rem;
|
|
13882
|
+
min-height: 2rem;
|
|
13883
|
+
margin: 0;
|
|
13884
|
+
padding: 0 var(--spacing-1);
|
|
13885
|
+
border: none;
|
|
13886
|
+
outline: none;
|
|
13887
|
+
background: transparent;
|
|
13888
|
+
color: var(--input-field-color-default-foreground);
|
|
13889
|
+
caret-color: var(--input-field-color-default-foreground);
|
|
13890
|
+
font-family: var(--text-label-md-regular-fontFamily);
|
|
13891
|
+
font-size: var(--text-label-md-regular-fontSize);
|
|
13892
|
+
font-weight: var(--text-label-md-regular-fontWeight);
|
|
13893
|
+
line-height: var(--text-label-md-regular-lineHeight);
|
|
13894
|
+
}
|
|
13895
|
+
|
|
13896
|
+
.muka-combobox__input::placeholder {
|
|
13897
|
+
color: var(--color-text-subtle-default);
|
|
13898
|
+
}
|
|
13899
|
+
|
|
13900
|
+
.muka-combobox__helper {
|
|
13901
|
+
margin: 0;
|
|
13902
|
+
color: var(--color-text-subtle-default);
|
|
13903
|
+
font-family: var(--text-label-sm-regular-fontFamily);
|
|
13904
|
+
font-size: var(--text-label-sm-regular-fontSize);
|
|
13905
|
+
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
13906
|
+
line-height: var(--text-label-sm-regular-lineHeight);
|
|
13907
|
+
}
|
|
13908
|
+
|
|
13909
|
+
.muka-combobox__error {
|
|
13910
|
+
margin: 0;
|
|
13911
|
+
color: var(--color-state-error-default);
|
|
13912
|
+
font-family: var(--text-label-sm-regular-fontFamily);
|
|
13913
|
+
font-size: var(--text-label-sm-regular-fontSize);
|
|
13914
|
+
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
13915
|
+
line-height: var(--text-label-sm-regular-lineHeight);
|
|
13916
|
+
}
|
|
13917
|
+
|
|
13918
|
+
.muka-combobox__menu-anchor {
|
|
13660
13919
|
position: absolute;
|
|
13661
13920
|
inset: 0;
|
|
13662
|
-
|
|
13663
|
-
|
|
13664
|
-
|
|
13665
|
-
|
|
13666
|
-
|
|
13667
|
-
|
|
13668
|
-
|
|
13669
|
-
|
|
13921
|
+
z-index: 0;
|
|
13922
|
+
width: 100%;
|
|
13923
|
+
height: 100%;
|
|
13924
|
+
margin: 0;
|
|
13925
|
+
padding: 0;
|
|
13926
|
+
border: none;
|
|
13927
|
+
background: transparent;
|
|
13928
|
+
pointer-events: none;
|
|
13929
|
+
opacity: 0;
|
|
13930
|
+
}
|
|
13931
|
+
|
|
13932
|
+
.muka-combobox__menu {
|
|
13933
|
+
/* Prefer Menu token min-width (280px); may exceed the field when left-aligned. */
|
|
13934
|
+
min-width: var(--menu-content-min-width);
|
|
13935
|
+
width: max-content;
|
|
13936
|
+
max-width: min(100vw - 2rem, 24rem);
|
|
13670
13937
|
}
|
|
13671
13938
|
|
|
13672
13939
|
|
|
@@ -14047,57 +14314,6 @@ button.muka-chip__trailing[aria-expanded='true'],
|
|
|
14047
14314
|
}
|
|
14048
14315
|
|
|
14049
14316
|
|
|
14050
|
-
/* Container */
|
|
14051
|
-
/* Container Component - Layout tokens (container.max-width, container.gap) */
|
|
14052
|
-
|
|
14053
|
-
.muka-container {
|
|
14054
|
-
box-sizing: border-box;
|
|
14055
|
-
width: 100%;
|
|
14056
|
-
margin-inline: auto;
|
|
14057
|
-
}
|
|
14058
|
-
|
|
14059
|
-
/* Max-width variants */
|
|
14060
|
-
.muka-container--max-width-small {
|
|
14061
|
-
max-width: var(--container-max-width-small);
|
|
14062
|
-
}
|
|
14063
|
-
|
|
14064
|
-
.muka-container--max-width-medium {
|
|
14065
|
-
max-width: var(--container-max-width-medium);
|
|
14066
|
-
}
|
|
14067
|
-
|
|
14068
|
-
.muka-container--max-width-large {
|
|
14069
|
-
max-width: var(--container-max-width-large);
|
|
14070
|
-
}
|
|
14071
|
-
|
|
14072
|
-
.muka-container--max-width-xlarge {
|
|
14073
|
-
max-width: var(--container-max-width-xlarge);
|
|
14074
|
-
}
|
|
14075
|
-
|
|
14076
|
-
/* No gap — max-width only, no flex */
|
|
14077
|
-
.muka-container--gap-none {
|
|
14078
|
-
/* block layout by default */
|
|
14079
|
-
}
|
|
14080
|
-
|
|
14081
|
-
/* Gap variants — flex column with token gap */
|
|
14082
|
-
.muka-container--gap-compact {
|
|
14083
|
-
display: flex;
|
|
14084
|
-
flex-direction: column;
|
|
14085
|
-
gap: var(--container-gap-compact);
|
|
14086
|
-
}
|
|
14087
|
-
|
|
14088
|
-
.muka-container--gap-default {
|
|
14089
|
-
display: flex;
|
|
14090
|
-
flex-direction: column;
|
|
14091
|
-
gap: var(--container-gap-default);
|
|
14092
|
-
}
|
|
14093
|
-
|
|
14094
|
-
.muka-container--gap-spacious {
|
|
14095
|
-
display: flex;
|
|
14096
|
-
flex-direction: column;
|
|
14097
|
-
gap: var(--container-gap-spacious);
|
|
14098
|
-
}
|
|
14099
|
-
|
|
14100
|
-
|
|
14101
14317
|
/* CheckboxTile */
|
|
14102
14318
|
/* CheckboxTile Component Styles - Using Muka Design Tokens */
|
|
14103
14319
|
|
|
@@ -18180,176 +18396,3 @@ button.muka-chat-photo-grid__tile:focus-visible {
|
|
|
18180
18396
|
border-bottom: none;
|
|
18181
18397
|
}
|
|
18182
18398
|
|
|
18183
|
-
|
|
18184
|
-
/* Combobox */
|
|
18185
|
-
/* Combobox — Figma Input Combobox (free-input chips + suggestion Menu) */
|
|
18186
|
-
|
|
18187
|
-
.muka-combobox {
|
|
18188
|
-
display: inline-flex;
|
|
18189
|
-
flex-direction: column;
|
|
18190
|
-
gap: var(--spacing-2);
|
|
18191
|
-
min-width: 200px;
|
|
18192
|
-
}
|
|
18193
|
-
|
|
18194
|
-
.muka-combobox--full-width {
|
|
18195
|
-
width: 100%;
|
|
18196
|
-
}
|
|
18197
|
-
|
|
18198
|
-
.muka-combobox__label {
|
|
18199
|
-
color: var(--color-text-default-default);
|
|
18200
|
-
cursor: pointer;
|
|
18201
|
-
}
|
|
18202
|
-
|
|
18203
|
-
.muka-combobox__label--sm {
|
|
18204
|
-
font-family: var(--text-label-sm-semibold-fontFamily);
|
|
18205
|
-
font-weight: var(--text-label-sm-semibold-fontWeight);
|
|
18206
|
-
font-size: var(--text-label-sm-semibold-fontSize);
|
|
18207
|
-
line-height: var(--text-label-sm-semibold-lineHeight);
|
|
18208
|
-
}
|
|
18209
|
-
|
|
18210
|
-
.muka-combobox__label--md {
|
|
18211
|
-
font-family: var(--text-label-md-semibold-fontFamily);
|
|
18212
|
-
font-weight: var(--text-label-md-semibold-fontWeight);
|
|
18213
|
-
font-size: var(--text-label-md-semibold-fontSize);
|
|
18214
|
-
line-height: var(--text-label-md-semibold-lineHeight);
|
|
18215
|
-
}
|
|
18216
|
-
|
|
18217
|
-
.muka-combobox__label--lg {
|
|
18218
|
-
font-family: var(--text-label-lg-semibold-fontFamily);
|
|
18219
|
-
font-weight: var(--text-label-lg-semibold-fontWeight);
|
|
18220
|
-
font-size: var(--text-label-lg-semibold-fontSize);
|
|
18221
|
-
line-height: var(--text-label-lg-semibold-lineHeight);
|
|
18222
|
-
}
|
|
18223
|
-
|
|
18224
|
-
.muka-combobox__field {
|
|
18225
|
-
display: flex;
|
|
18226
|
-
align-items: center;
|
|
18227
|
-
width: 100%;
|
|
18228
|
-
position: relative;
|
|
18229
|
-
isolation: isolate;
|
|
18230
|
-
box-sizing: border-box;
|
|
18231
|
-
background-color: var(--input-field-color-default-background);
|
|
18232
|
-
border: var(--border-width-regular) solid var(--input-field-color-default-border);
|
|
18233
|
-
border-radius: var(--input-field-radius-lg);
|
|
18234
|
-
padding: var(--spacing-2);
|
|
18235
|
-
cursor: text;
|
|
18236
|
-
transition: border-color 0.12s ease, background-color 0.12s ease;
|
|
18237
|
-
}
|
|
18238
|
-
|
|
18239
|
-
.muka-combobox__field::after {
|
|
18240
|
-
content: '';
|
|
18241
|
-
position: absolute;
|
|
18242
|
-
inset: 0;
|
|
18243
|
-
border-radius: inherit;
|
|
18244
|
-
box-shadow: inset 0 1px 2px 0 rgba(26, 26, 26, 0.08);
|
|
18245
|
-
pointer-events: none;
|
|
18246
|
-
}
|
|
18247
|
-
|
|
18248
|
-
.muka-combobox__field--sm {
|
|
18249
|
-
min-height: var(--input-field-height-sm);
|
|
18250
|
-
border-radius: var(--input-field-radius-sm);
|
|
18251
|
-
}
|
|
18252
|
-
|
|
18253
|
-
.muka-combobox__field--md {
|
|
18254
|
-
min-height: var(--input-field-height-default);
|
|
18255
|
-
border-radius: var(--input-field-radius-md);
|
|
18256
|
-
}
|
|
18257
|
-
|
|
18258
|
-
.muka-combobox__field--lg {
|
|
18259
|
-
min-height: var(--input-field-height-lg);
|
|
18260
|
-
border-radius: var(--input-field-radius-lg);
|
|
18261
|
-
}
|
|
18262
|
-
|
|
18263
|
-
.muka-combobox__field--focused:not(.muka-combobox__field--disabled) {
|
|
18264
|
-
border-width: var(--border-width-bold);
|
|
18265
|
-
border-color: var(--input-field-color-focus-border);
|
|
18266
|
-
background-color: var(--input-field-color-focus-background);
|
|
18267
|
-
padding: calc(var(--spacing-2) - 1px);
|
|
18268
|
-
}
|
|
18269
|
-
|
|
18270
|
-
.muka-combobox__field--error:not(.muka-combobox__field--disabled) {
|
|
18271
|
-
border-color: var(--color-state-error-contrast);
|
|
18272
|
-
}
|
|
18273
|
-
|
|
18274
|
-
.muka-combobox__field--disabled {
|
|
18275
|
-
opacity: 0.5;
|
|
18276
|
-
cursor: not-allowed;
|
|
18277
|
-
}
|
|
18278
|
-
|
|
18279
|
-
.muka-combobox__field--multiline {
|
|
18280
|
-
align-items: flex-start;
|
|
18281
|
-
min-height: 7rem;
|
|
18282
|
-
}
|
|
18283
|
-
|
|
18284
|
-
.muka-combobox__chips {
|
|
18285
|
-
display: flex;
|
|
18286
|
-
flex: 1 1 auto;
|
|
18287
|
-
flex-wrap: wrap;
|
|
18288
|
-
gap: var(--spacing-2);
|
|
18289
|
-
align-items: center;
|
|
18290
|
-
min-width: 0;
|
|
18291
|
-
width: 100%;
|
|
18292
|
-
position: relative;
|
|
18293
|
-
z-index: 1;
|
|
18294
|
-
}
|
|
18295
|
-
|
|
18296
|
-
.muka-combobox__input {
|
|
18297
|
-
flex: 1 1 5rem;
|
|
18298
|
-
min-width: 5rem;
|
|
18299
|
-
min-height: 2rem;
|
|
18300
|
-
margin: 0;
|
|
18301
|
-
padding: 0 var(--spacing-1);
|
|
18302
|
-
border: none;
|
|
18303
|
-
outline: none;
|
|
18304
|
-
background: transparent;
|
|
18305
|
-
color: var(--input-field-color-default-foreground);
|
|
18306
|
-
caret-color: var(--input-field-color-default-foreground);
|
|
18307
|
-
font-family: var(--text-label-md-regular-fontFamily);
|
|
18308
|
-
font-size: var(--text-label-md-regular-fontSize);
|
|
18309
|
-
font-weight: var(--text-label-md-regular-fontWeight);
|
|
18310
|
-
line-height: var(--text-label-md-regular-lineHeight);
|
|
18311
|
-
}
|
|
18312
|
-
|
|
18313
|
-
.muka-combobox__input::placeholder {
|
|
18314
|
-
color: var(--color-text-subtle-default);
|
|
18315
|
-
}
|
|
18316
|
-
|
|
18317
|
-
.muka-combobox__helper {
|
|
18318
|
-
margin: 0;
|
|
18319
|
-
color: var(--color-text-subtle-default);
|
|
18320
|
-
font-family: var(--text-label-sm-regular-fontFamily);
|
|
18321
|
-
font-size: var(--text-label-sm-regular-fontSize);
|
|
18322
|
-
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
18323
|
-
line-height: var(--text-label-sm-regular-lineHeight);
|
|
18324
|
-
}
|
|
18325
|
-
|
|
18326
|
-
.muka-combobox__error {
|
|
18327
|
-
margin: 0;
|
|
18328
|
-
color: var(--color-state-error-default);
|
|
18329
|
-
font-family: var(--text-label-sm-regular-fontFamily);
|
|
18330
|
-
font-size: var(--text-label-sm-regular-fontSize);
|
|
18331
|
-
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
18332
|
-
line-height: var(--text-label-sm-regular-lineHeight);
|
|
18333
|
-
}
|
|
18334
|
-
|
|
18335
|
-
.muka-combobox__menu-anchor {
|
|
18336
|
-
position: absolute;
|
|
18337
|
-
inset: 0;
|
|
18338
|
-
z-index: 0;
|
|
18339
|
-
width: 100%;
|
|
18340
|
-
height: 100%;
|
|
18341
|
-
margin: 0;
|
|
18342
|
-
padding: 0;
|
|
18343
|
-
border: none;
|
|
18344
|
-
background: transparent;
|
|
18345
|
-
pointer-events: none;
|
|
18346
|
-
opacity: 0;
|
|
18347
|
-
}
|
|
18348
|
-
|
|
18349
|
-
.muka-combobox__menu {
|
|
18350
|
-
/* Prefer Menu token min-width (280px); may exceed the field when left-aligned. */
|
|
18351
|
-
min-width: var(--menu-content-min-width);
|
|
18352
|
-
width: max-content;
|
|
18353
|
-
max-width: min(100vw - 2rem, 24rem);
|
|
18354
|
-
}
|
|
18355
|
-
|