@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
|
@@ -2761,6 +2761,49 @@ body {
|
|
|
2761
2761
|
}
|
|
2762
2762
|
}
|
|
2763
2763
|
|
|
2764
|
+
/* ─── The same motion without a view transition ──────────
|
|
2765
|
+
When React commits a navigation outside a view transition, the browser
|
|
2766
|
+
animates nothing; viewNavigation.ts then puts a copy of the leaving View
|
|
2767
|
+
(.muka-view-ghost) over the page and marks the new View
|
|
2768
|
+
[data-muka-view-entering]. Pop only on small and medium screens: a push
|
|
2769
|
+
would slide over nothing. */
|
|
2770
|
+
.muka-view-ghost {
|
|
2771
|
+
position: fixed;
|
|
2772
|
+
margin: 0;
|
|
2773
|
+
z-index: 40; /* above the app shell (11), below popovers and sheets (50) */
|
|
2774
|
+
pointer-events: none;
|
|
2775
|
+
}
|
|
2776
|
+
|
|
2777
|
+
@media (max-width: 1023px) {
|
|
2778
|
+
:root[data-muka-nav='pop'] .muka-view-ghost {
|
|
2779
|
+
animation: muka-view-to-right var(--motion-duration-view) var(--motion-easing-enter) both;
|
|
2780
|
+
}
|
|
2781
|
+
|
|
2782
|
+
:root[data-muka-nav='pop'] .muka-view[data-muka-view-entering] {
|
|
2783
|
+
animation: muka-view-from-behind var(--motion-duration-view) var(--motion-easing-enter) both;
|
|
2784
|
+
}
|
|
2785
|
+
}
|
|
2786
|
+
|
|
2787
|
+
@media (min-width: 1024px) {
|
|
2788
|
+
:root[data-muka-nav] .muka-view-ghost {
|
|
2789
|
+
animation: muka-view-shift-out var(--motion-duration-exit) var(--motion-easing-exit) both;
|
|
2790
|
+
}
|
|
2791
|
+
|
|
2792
|
+
:root[data-muka-nav] .muka-view[data-muka-view-entering] {
|
|
2793
|
+
animation: muka-view-shift-in var(--motion-duration-micro) var(--motion-easing-enter) both;
|
|
2794
|
+
}
|
|
2795
|
+
|
|
2796
|
+
:root[data-muka-nav='push'] .muka-view[data-muka-view-entering],
|
|
2797
|
+
:root[data-muka-nav='pop'] .muka-view-ghost {
|
|
2798
|
+
--muka-view-shift: var(--spacing-4);
|
|
2799
|
+
}
|
|
2800
|
+
|
|
2801
|
+
:root[data-muka-nav='pop'] .muka-view[data-muka-view-entering],
|
|
2802
|
+
:root[data-muka-nav='push'] .muka-view-ghost {
|
|
2803
|
+
--muka-view-shift: calc(-1 * var(--spacing-4));
|
|
2804
|
+
}
|
|
2805
|
+
}
|
|
2806
|
+
|
|
2764
2807
|
@keyframes muka-view-shift-in {
|
|
2765
2808
|
from { opacity: 0; transform: translateX(var(--muka-view-shift)); }
|
|
2766
2809
|
to { opacity: 1; transform: translateX(0); }
|
|
@@ -5570,198 +5613,6 @@ body {
|
|
|
5570
5613
|
}
|
|
5571
5614
|
|
|
5572
5615
|
|
|
5573
|
-
/* SmsOtpField */
|
|
5574
|
-
/* SmsOtpField Component Styles - Using Muka Design Tokens */
|
|
5575
|
-
|
|
5576
|
-
/* Wrapper */
|
|
5577
|
-
.muka-sms-otp-field {
|
|
5578
|
-
display: inline-flex;
|
|
5579
|
-
flex-direction: column;
|
|
5580
|
-
gap: var(--spacing-2);
|
|
5581
|
-
}
|
|
5582
|
-
|
|
5583
|
-
/* Label */
|
|
5584
|
-
.muka-sms-otp-field__label {
|
|
5585
|
-
color: var(--color-text-default-default);
|
|
5586
|
-
cursor: pointer;
|
|
5587
|
-
}
|
|
5588
|
-
|
|
5589
|
-
.muka-sms-otp-field__label--sm {
|
|
5590
|
-
font-family: var(--text-label-sm-semibold-fontFamily);
|
|
5591
|
-
font-weight: var(--text-label-sm-semibold-fontWeight);
|
|
5592
|
-
font-size: var(--text-label-sm-semibold-fontSize);
|
|
5593
|
-
line-height: var(--text-label-sm-semibold-lineHeight);
|
|
5594
|
-
}
|
|
5595
|
-
|
|
5596
|
-
.muka-sms-otp-field__label--md {
|
|
5597
|
-
font-family: var(--text-label-md-semibold-fontFamily);
|
|
5598
|
-
font-weight: var(--text-label-md-semibold-fontWeight);
|
|
5599
|
-
font-size: var(--text-label-md-semibold-fontSize);
|
|
5600
|
-
line-height: var(--text-label-md-semibold-lineHeight);
|
|
5601
|
-
}
|
|
5602
|
-
|
|
5603
|
-
.muka-sms-otp-field__label--lg {
|
|
5604
|
-
font-family: var(--text-label-lg-semibold-fontFamily);
|
|
5605
|
-
font-weight: var(--text-label-lg-semibold-fontWeight);
|
|
5606
|
-
font-size: var(--text-label-lg-semibold-fontSize);
|
|
5607
|
-
line-height: var(--text-label-lg-semibold-lineHeight);
|
|
5608
|
-
}
|
|
5609
|
-
|
|
5610
|
-
.muka-sms-otp-field__required {
|
|
5611
|
-
color: var(--color-state-error-default);
|
|
5612
|
-
}
|
|
5613
|
-
|
|
5614
|
-
/* Hidden input for browser autofill */
|
|
5615
|
-
.muka-sms-otp-field__hidden-input {
|
|
5616
|
-
position: absolute;
|
|
5617
|
-
width: 1px;
|
|
5618
|
-
height: 1px;
|
|
5619
|
-
padding: 0;
|
|
5620
|
-
margin: -1px;
|
|
5621
|
-
overflow: hidden;
|
|
5622
|
-
clip: rect(0, 0, 0, 0);
|
|
5623
|
-
white-space: nowrap;
|
|
5624
|
-
border: 0;
|
|
5625
|
-
opacity: 0;
|
|
5626
|
-
pointer-events: none;
|
|
5627
|
-
}
|
|
5628
|
-
|
|
5629
|
-
/* Digits container */
|
|
5630
|
-
.muka-sms-otp-field__digits {
|
|
5631
|
-
display: flex;
|
|
5632
|
-
align-items: center;
|
|
5633
|
-
gap: var(--spacing-2);
|
|
5634
|
-
}
|
|
5635
|
-
|
|
5636
|
-
/* Separator */
|
|
5637
|
-
.muka-sms-otp-field__separator {
|
|
5638
|
-
display: inline-flex;
|
|
5639
|
-
align-items: center;
|
|
5640
|
-
justify-content: center;
|
|
5641
|
-
color: var(--color-text-subtle-default);
|
|
5642
|
-
font-size: 1.25rem;
|
|
5643
|
-
padding: 0 var(--spacing-1);
|
|
5644
|
-
user-select: none;
|
|
5645
|
-
}
|
|
5646
|
-
|
|
5647
|
-
/* Individual digit box */
|
|
5648
|
-
.muka-sms-otp-field__digit {
|
|
5649
|
-
display: flex;
|
|
5650
|
-
align-items: center;
|
|
5651
|
-
justify-content: center;
|
|
5652
|
-
text-align: center;
|
|
5653
|
-
background-color: var(--input-field-color-default-background);
|
|
5654
|
-
border: var(--border-width-regular) solid var(--input-field-color-default-border);
|
|
5655
|
-
color: var(--input-field-color-default-foreground);
|
|
5656
|
-
transition: border-color 0.2s ease, background-color 0.2s ease;
|
|
5657
|
-
box-sizing: border-box;
|
|
5658
|
-
caret-color: var(--input-field-color-focus-border);
|
|
5659
|
-
-moz-appearance: textfield;
|
|
5660
|
-
appearance: textfield;
|
|
5661
|
-
}
|
|
5662
|
-
|
|
5663
|
-
/* Remove spinner buttons */
|
|
5664
|
-
.muka-sms-otp-field__digit::-webkit-inner-spin-button,
|
|
5665
|
-
.muka-sms-otp-field__digit::-webkit-outer-spin-button {
|
|
5666
|
-
-webkit-appearance: none;
|
|
5667
|
-
margin: 0;
|
|
5668
|
-
}
|
|
5669
|
-
|
|
5670
|
-
/* Size variants */
|
|
5671
|
-
.muka-sms-otp-field__digit--sm {
|
|
5672
|
-
width: 36px;
|
|
5673
|
-
height: var(--input-field-height-sm);
|
|
5674
|
-
border-radius: var(--input-field-radius-sm);
|
|
5675
|
-
font-family: var(--text-input-sm-fontFamily);
|
|
5676
|
-
font-weight: var(--text-input-sm-fontWeight);
|
|
5677
|
-
font-size: var(--text-input-sm-fontSize);
|
|
5678
|
-
line-height: var(--text-input-sm-lineHeight);
|
|
5679
|
-
}
|
|
5680
|
-
|
|
5681
|
-
.muka-sms-otp-field__digit--md {
|
|
5682
|
-
width: 44px;
|
|
5683
|
-
height: var(--input-field-height-default);
|
|
5684
|
-
border-radius: var(--input-field-radius-md);
|
|
5685
|
-
font-family: var(--text-input-md-fontFamily);
|
|
5686
|
-
font-weight: var(--text-input-md-fontWeight);
|
|
5687
|
-
font-size: var(--text-input-md-fontSize);
|
|
5688
|
-
line-height: var(--text-input-md-lineHeight);
|
|
5689
|
-
}
|
|
5690
|
-
|
|
5691
|
-
.muka-sms-otp-field__digit--lg {
|
|
5692
|
-
width: 52px;
|
|
5693
|
-
height: var(--input-field-height-lg);
|
|
5694
|
-
border-radius: var(--input-field-radius-lg);
|
|
5695
|
-
font-family: var(--text-input-lg-fontFamily);
|
|
5696
|
-
font-weight: var(--text-input-lg-fontWeight);
|
|
5697
|
-
font-size: var(--text-input-lg-fontSize);
|
|
5698
|
-
line-height: var(--text-input-lg-lineHeight);
|
|
5699
|
-
}
|
|
5700
|
-
|
|
5701
|
-
/* Inset shadow (matches Input component) */
|
|
5702
|
-
.muka-sms-otp-field__digit::after {
|
|
5703
|
-
content: '';
|
|
5704
|
-
position: absolute;
|
|
5705
|
-
inset: 0;
|
|
5706
|
-
border-radius: inherit;
|
|
5707
|
-
box-shadow: inset 0 1px 2px 0 rgba(26, 26, 26, 0.08);
|
|
5708
|
-
pointer-events: none;
|
|
5709
|
-
}
|
|
5710
|
-
|
|
5711
|
-
/* Focus state */
|
|
5712
|
-
.muka-sms-otp-field__digit--focused:not(.muka-sms-otp-field__digit--disabled) {
|
|
5713
|
-
border-width: var(--border-width-bold);
|
|
5714
|
-
border-color: var(--input-field-color-focus-border);
|
|
5715
|
-
background-color: var(--input-field-color-focus-background);
|
|
5716
|
-
outline: none;
|
|
5717
|
-
}
|
|
5718
|
-
|
|
5719
|
-
/* Also handle native :focus for keyboard navigation */
|
|
5720
|
-
.muka-sms-otp-field__digit:focus {
|
|
5721
|
-
outline: none;
|
|
5722
|
-
}
|
|
5723
|
-
|
|
5724
|
-
/* Error state */
|
|
5725
|
-
.muka-sms-otp-field__digit--error:not(.muka-sms-otp-field__digit--disabled) {
|
|
5726
|
-
border-width: var(--border-width-bold);
|
|
5727
|
-
border-color: var(--input-field-color-error-border);
|
|
5728
|
-
background-color: var(--input-field-color-error-background);
|
|
5729
|
-
}
|
|
5730
|
-
|
|
5731
|
-
/* Disabled state */
|
|
5732
|
-
.muka-sms-otp-field__digit--disabled {
|
|
5733
|
-
background-color: var(--input-field-color-disabled-background);
|
|
5734
|
-
border-color: var(--input-field-color-disabled-border);
|
|
5735
|
-
color: var(--input-field-color-disabled-foreground);
|
|
5736
|
-
cursor: not-allowed;
|
|
5737
|
-
}
|
|
5738
|
-
|
|
5739
|
-
/* Filled state — slightly bolder text */
|
|
5740
|
-
.muka-sms-otp-field__digit--filled {
|
|
5741
|
-
color: var(--input-field-color-default-foreground);
|
|
5742
|
-
}
|
|
5743
|
-
|
|
5744
|
-
/* Helper text */
|
|
5745
|
-
.muka-sms-otp-field__helper {
|
|
5746
|
-
font-family: var(--text-label-sm-regular-fontFamily);
|
|
5747
|
-
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
5748
|
-
font-size: var(--text-label-sm-regular-fontSize);
|
|
5749
|
-
line-height: var(--text-label-sm-regular-lineHeight);
|
|
5750
|
-
color: var(--color-text-subtle-default);
|
|
5751
|
-
margin: 0;
|
|
5752
|
-
}
|
|
5753
|
-
|
|
5754
|
-
/* Error message */
|
|
5755
|
-
.muka-sms-otp-field__error {
|
|
5756
|
-
font-family: var(--text-label-sm-regular-fontFamily);
|
|
5757
|
-
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
5758
|
-
font-size: var(--text-label-sm-regular-fontSize);
|
|
5759
|
-
line-height: var(--text-label-sm-regular-lineHeight);
|
|
5760
|
-
color: var(--color-state-error-default);
|
|
5761
|
-
margin: 0;
|
|
5762
|
-
}
|
|
5763
|
-
|
|
5764
|
-
|
|
5765
5616
|
/* Skeleton */
|
|
5766
5617
|
/* Skeleton Component Styles */
|
|
5767
5618
|
|
|
@@ -5982,66 +5833,340 @@ body {
|
|
|
5982
5833
|
}
|
|
5983
5834
|
|
|
5984
5835
|
|
|
5985
|
-
/*
|
|
5986
|
-
/*
|
|
5836
|
+
/* SmsOtpField */
|
|
5837
|
+
/* SmsOtpField Component Styles - Using Muka Design Tokens */
|
|
5987
5838
|
|
|
5988
|
-
|
|
5839
|
+
/* Wrapper */
|
|
5840
|
+
.muka-sms-otp-field {
|
|
5989
5841
|
display: inline-flex;
|
|
5990
5842
|
flex-direction: column;
|
|
5991
5843
|
gap: var(--spacing-2);
|
|
5992
5844
|
}
|
|
5993
5845
|
|
|
5994
|
-
.muka-select--full-width {
|
|
5995
|
-
width: 100%;
|
|
5996
|
-
}
|
|
5997
|
-
|
|
5998
5846
|
/* Label */
|
|
5999
|
-
.muka-
|
|
5847
|
+
.muka-sms-otp-field__label {
|
|
6000
5848
|
color: var(--color-text-default-default);
|
|
6001
5849
|
cursor: pointer;
|
|
6002
5850
|
}
|
|
6003
5851
|
|
|
6004
|
-
.muka-
|
|
5852
|
+
.muka-sms-otp-field__label--sm {
|
|
6005
5853
|
font-family: var(--text-label-sm-semibold-fontFamily);
|
|
6006
5854
|
font-weight: var(--text-label-sm-semibold-fontWeight);
|
|
6007
5855
|
font-size: var(--text-label-sm-semibold-fontSize);
|
|
6008
5856
|
line-height: var(--text-label-sm-semibold-lineHeight);
|
|
6009
5857
|
}
|
|
6010
5858
|
|
|
6011
|
-
.muka-
|
|
5859
|
+
.muka-sms-otp-field__label--md {
|
|
6012
5860
|
font-family: var(--text-label-md-semibold-fontFamily);
|
|
6013
5861
|
font-weight: var(--text-label-md-semibold-fontWeight);
|
|
6014
5862
|
font-size: var(--text-label-md-semibold-fontSize);
|
|
6015
5863
|
line-height: var(--text-label-md-semibold-lineHeight);
|
|
6016
5864
|
}
|
|
6017
5865
|
|
|
6018
|
-
.muka-
|
|
5866
|
+
.muka-sms-otp-field__label--lg {
|
|
6019
5867
|
font-family: var(--text-label-lg-semibold-fontFamily);
|
|
6020
5868
|
font-weight: var(--text-label-lg-semibold-fontWeight);
|
|
6021
5869
|
font-size: var(--text-label-lg-semibold-fontSize);
|
|
6022
5870
|
line-height: var(--text-label-lg-semibold-lineHeight);
|
|
6023
5871
|
}
|
|
6024
5872
|
|
|
6025
|
-
.muka-
|
|
5873
|
+
.muka-sms-otp-field__required {
|
|
6026
5874
|
color: var(--color-state-error-default);
|
|
6027
5875
|
}
|
|
6028
5876
|
|
|
6029
|
-
|
|
6030
|
-
.muka-
|
|
6031
|
-
|
|
6032
|
-
|
|
6033
|
-
|
|
6034
|
-
|
|
6035
|
-
|
|
6036
|
-
|
|
6037
|
-
|
|
6038
|
-
|
|
6039
|
-
|
|
6040
|
-
|
|
6041
|
-
|
|
6042
|
-
|
|
6043
|
-
|
|
6044
|
-
|
|
5877
|
+
/* Hidden input for browser autofill */
|
|
5878
|
+
.muka-sms-otp-field__hidden-input {
|
|
5879
|
+
position: absolute;
|
|
5880
|
+
width: 1px;
|
|
5881
|
+
height: 1px;
|
|
5882
|
+
padding: 0;
|
|
5883
|
+
margin: -1px;
|
|
5884
|
+
overflow: hidden;
|
|
5885
|
+
clip: rect(0, 0, 0, 0);
|
|
5886
|
+
white-space: nowrap;
|
|
5887
|
+
border: 0;
|
|
5888
|
+
opacity: 0;
|
|
5889
|
+
pointer-events: none;
|
|
5890
|
+
}
|
|
5891
|
+
|
|
5892
|
+
/* Digits container */
|
|
5893
|
+
.muka-sms-otp-field__digits {
|
|
5894
|
+
display: flex;
|
|
5895
|
+
align-items: center;
|
|
5896
|
+
gap: var(--spacing-2);
|
|
5897
|
+
}
|
|
5898
|
+
|
|
5899
|
+
/* Separator */
|
|
5900
|
+
.muka-sms-otp-field__separator {
|
|
5901
|
+
display: inline-flex;
|
|
5902
|
+
align-items: center;
|
|
5903
|
+
justify-content: center;
|
|
5904
|
+
color: var(--color-text-subtle-default);
|
|
5905
|
+
font-size: 1.25rem;
|
|
5906
|
+
padding: 0 var(--spacing-1);
|
|
5907
|
+
user-select: none;
|
|
5908
|
+
}
|
|
5909
|
+
|
|
5910
|
+
/* Individual digit box */
|
|
5911
|
+
.muka-sms-otp-field__digit {
|
|
5912
|
+
display: flex;
|
|
5913
|
+
align-items: center;
|
|
5914
|
+
justify-content: center;
|
|
5915
|
+
text-align: center;
|
|
5916
|
+
background-color: var(--input-field-color-default-background);
|
|
5917
|
+
border: var(--border-width-regular) solid var(--input-field-color-default-border);
|
|
5918
|
+
color: var(--input-field-color-default-foreground);
|
|
5919
|
+
transition: border-color 0.2s ease, background-color 0.2s ease;
|
|
5920
|
+
box-sizing: border-box;
|
|
5921
|
+
caret-color: var(--input-field-color-focus-border);
|
|
5922
|
+
-moz-appearance: textfield;
|
|
5923
|
+
appearance: textfield;
|
|
5924
|
+
}
|
|
5925
|
+
|
|
5926
|
+
/* Remove spinner buttons */
|
|
5927
|
+
.muka-sms-otp-field__digit::-webkit-inner-spin-button,
|
|
5928
|
+
.muka-sms-otp-field__digit::-webkit-outer-spin-button {
|
|
5929
|
+
-webkit-appearance: none;
|
|
5930
|
+
margin: 0;
|
|
5931
|
+
}
|
|
5932
|
+
|
|
5933
|
+
/* Size variants */
|
|
5934
|
+
.muka-sms-otp-field__digit--sm {
|
|
5935
|
+
width: 36px;
|
|
5936
|
+
height: var(--input-field-height-sm);
|
|
5937
|
+
border-radius: var(--input-field-radius-sm);
|
|
5938
|
+
font-family: var(--text-input-sm-fontFamily);
|
|
5939
|
+
font-weight: var(--text-input-sm-fontWeight);
|
|
5940
|
+
font-size: var(--text-input-sm-fontSize);
|
|
5941
|
+
line-height: var(--text-input-sm-lineHeight);
|
|
5942
|
+
}
|
|
5943
|
+
|
|
5944
|
+
.muka-sms-otp-field__digit--md {
|
|
5945
|
+
width: 44px;
|
|
5946
|
+
height: var(--input-field-height-default);
|
|
5947
|
+
border-radius: var(--input-field-radius-md);
|
|
5948
|
+
font-family: var(--text-input-md-fontFamily);
|
|
5949
|
+
font-weight: var(--text-input-md-fontWeight);
|
|
5950
|
+
font-size: var(--text-input-md-fontSize);
|
|
5951
|
+
line-height: var(--text-input-md-lineHeight);
|
|
5952
|
+
}
|
|
5953
|
+
|
|
5954
|
+
.muka-sms-otp-field__digit--lg {
|
|
5955
|
+
width: 52px;
|
|
5956
|
+
height: var(--input-field-height-lg);
|
|
5957
|
+
border-radius: var(--input-field-radius-lg);
|
|
5958
|
+
font-family: var(--text-input-lg-fontFamily);
|
|
5959
|
+
font-weight: var(--text-input-lg-fontWeight);
|
|
5960
|
+
font-size: var(--text-input-lg-fontSize);
|
|
5961
|
+
line-height: var(--text-input-lg-lineHeight);
|
|
5962
|
+
}
|
|
5963
|
+
|
|
5964
|
+
/* Inset shadow (matches Input component) */
|
|
5965
|
+
.muka-sms-otp-field__digit::after {
|
|
5966
|
+
content: '';
|
|
5967
|
+
position: absolute;
|
|
5968
|
+
inset: 0;
|
|
5969
|
+
border-radius: inherit;
|
|
5970
|
+
box-shadow: inset 0 1px 2px 0 rgba(26, 26, 26, 0.08);
|
|
5971
|
+
pointer-events: none;
|
|
5972
|
+
}
|
|
5973
|
+
|
|
5974
|
+
/* Focus state */
|
|
5975
|
+
.muka-sms-otp-field__digit--focused:not(.muka-sms-otp-field__digit--disabled) {
|
|
5976
|
+
border-width: var(--border-width-bold);
|
|
5977
|
+
border-color: var(--input-field-color-focus-border);
|
|
5978
|
+
background-color: var(--input-field-color-focus-background);
|
|
5979
|
+
outline: none;
|
|
5980
|
+
}
|
|
5981
|
+
|
|
5982
|
+
/* Also handle native :focus for keyboard navigation */
|
|
5983
|
+
.muka-sms-otp-field__digit:focus {
|
|
5984
|
+
outline: none;
|
|
5985
|
+
}
|
|
5986
|
+
|
|
5987
|
+
/* Error state */
|
|
5988
|
+
.muka-sms-otp-field__digit--error:not(.muka-sms-otp-field__digit--disabled) {
|
|
5989
|
+
border-width: var(--border-width-bold);
|
|
5990
|
+
border-color: var(--input-field-color-error-border);
|
|
5991
|
+
background-color: var(--input-field-color-error-background);
|
|
5992
|
+
}
|
|
5993
|
+
|
|
5994
|
+
/* Disabled state */
|
|
5995
|
+
.muka-sms-otp-field__digit--disabled {
|
|
5996
|
+
background-color: var(--input-field-color-disabled-background);
|
|
5997
|
+
border-color: var(--input-field-color-disabled-border);
|
|
5998
|
+
color: var(--input-field-color-disabled-foreground);
|
|
5999
|
+
cursor: not-allowed;
|
|
6000
|
+
}
|
|
6001
|
+
|
|
6002
|
+
/* Filled state — slightly bolder text */
|
|
6003
|
+
.muka-sms-otp-field__digit--filled {
|
|
6004
|
+
color: var(--input-field-color-default-foreground);
|
|
6005
|
+
}
|
|
6006
|
+
|
|
6007
|
+
/* Helper text */
|
|
6008
|
+
.muka-sms-otp-field__helper {
|
|
6009
|
+
font-family: var(--text-label-sm-regular-fontFamily);
|
|
6010
|
+
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
6011
|
+
font-size: var(--text-label-sm-regular-fontSize);
|
|
6012
|
+
line-height: var(--text-label-sm-regular-lineHeight);
|
|
6013
|
+
color: var(--color-text-subtle-default);
|
|
6014
|
+
margin: 0;
|
|
6015
|
+
}
|
|
6016
|
+
|
|
6017
|
+
/* Error message */
|
|
6018
|
+
.muka-sms-otp-field__error {
|
|
6019
|
+
font-family: var(--text-label-sm-regular-fontFamily);
|
|
6020
|
+
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
6021
|
+
font-size: var(--text-label-sm-regular-fontSize);
|
|
6022
|
+
line-height: var(--text-label-sm-regular-lineHeight);
|
|
6023
|
+
color: var(--color-state-error-default);
|
|
6024
|
+
margin: 0;
|
|
6025
|
+
}
|
|
6026
|
+
|
|
6027
|
+
|
|
6028
|
+
/* Sheet */
|
|
6029
|
+
/* Sheet Component Styles */
|
|
6030
|
+
|
|
6031
|
+
/* ─── Backdrop ────────────────────────────────────────── */
|
|
6032
|
+
|
|
6033
|
+
.muka-sheet__overlay {
|
|
6034
|
+
position: fixed;
|
|
6035
|
+
inset: 0;
|
|
6036
|
+
background-color: var(--color-surface-backdrop);
|
|
6037
|
+
-webkit-backdrop-filter: blur(var(--effect-blur-backdrop));
|
|
6038
|
+
backdrop-filter: blur(var(--effect-blur-backdrop));
|
|
6039
|
+
z-index: 50;
|
|
6040
|
+
}
|
|
6041
|
+
|
|
6042
|
+
/* ─── Surface ─────────────────────────────────────────── */
|
|
6043
|
+
|
|
6044
|
+
.muka-sheet {
|
|
6045
|
+
position: fixed;
|
|
6046
|
+
left: 0;
|
|
6047
|
+
right: 0;
|
|
6048
|
+
bottom: 0;
|
|
6049
|
+
z-index: 51;
|
|
6050
|
+
|
|
6051
|
+
display: flex;
|
|
6052
|
+
flex-direction: column;
|
|
6053
|
+
|
|
6054
|
+
max-height: 96dvh;
|
|
6055
|
+
|
|
6056
|
+
background-color: var(--color-surface-level3);
|
|
6057
|
+
border-top-left-radius: var(--radius-lg);
|
|
6058
|
+
border-top-right-radius: var(--radius-lg);
|
|
6059
|
+
box-shadow: var(--shadow-level5);
|
|
6060
|
+
|
|
6061
|
+
outline: none;
|
|
6062
|
+
}
|
|
6063
|
+
|
|
6064
|
+
/* Safe-area bottom inset for the iPhone home indicator. */
|
|
6065
|
+
.muka-sheet:not(.muka-sheet--no-safe-area) {
|
|
6066
|
+
padding-bottom: env(safe-area-inset-bottom);
|
|
6067
|
+
}
|
|
6068
|
+
|
|
6069
|
+
/* ─── Drag handle ─────────────────────────────────────── */
|
|
6070
|
+
|
|
6071
|
+
.muka-sheet__handle-container {
|
|
6072
|
+
display: flex;
|
|
6073
|
+
justify-content: center;
|
|
6074
|
+
flex-shrink: 0;
|
|
6075
|
+
padding: var(--spacing-3) 0;
|
|
6076
|
+
}
|
|
6077
|
+
|
|
6078
|
+
.muka-sheet__handle {
|
|
6079
|
+
width: var(--dialog-drag-handle-width);
|
|
6080
|
+
height: var(--dialog-drag-handle-height);
|
|
6081
|
+
background-color: var(--dialog-drag-handle-color);
|
|
6082
|
+
border-radius: var(--dialog-drag-handle-radius);
|
|
6083
|
+
}
|
|
6084
|
+
|
|
6085
|
+
/* ─── Body (scrollable) ───────────────────────────────── */
|
|
6086
|
+
|
|
6087
|
+
.muka-sheet__body {
|
|
6088
|
+
flex: 1 1 0%;
|
|
6089
|
+
min-height: 0;
|
|
6090
|
+
overflow-y: auto;
|
|
6091
|
+
-webkit-overflow-scrolling: touch;
|
|
6092
|
+
overscroll-behavior: contain;
|
|
6093
|
+
}
|
|
6094
|
+
|
|
6095
|
+
/* ─── Visually-hidden title (a11y) ────────────────────── */
|
|
6096
|
+
|
|
6097
|
+
.muka-sheet__sr-title {
|
|
6098
|
+
position: absolute;
|
|
6099
|
+
width: 1px;
|
|
6100
|
+
height: 1px;
|
|
6101
|
+
padding: 0;
|
|
6102
|
+
margin: -1px;
|
|
6103
|
+
overflow: hidden;
|
|
6104
|
+
clip: rect(0, 0, 0, 0);
|
|
6105
|
+
white-space: nowrap;
|
|
6106
|
+
border: 0;
|
|
6107
|
+
}
|
|
6108
|
+
|
|
6109
|
+
|
|
6110
|
+
/* Select */
|
|
6111
|
+
/* Select Component Styles - Aligned with Input for consistency */
|
|
6112
|
+
|
|
6113
|
+
.muka-select {
|
|
6114
|
+
display: inline-flex;
|
|
6115
|
+
flex-direction: column;
|
|
6116
|
+
gap: var(--spacing-2);
|
|
6117
|
+
}
|
|
6118
|
+
|
|
6119
|
+
.muka-select--full-width {
|
|
6120
|
+
width: 100%;
|
|
6121
|
+
}
|
|
6122
|
+
|
|
6123
|
+
/* Label */
|
|
6124
|
+
.muka-select__label {
|
|
6125
|
+
color: var(--color-text-default-default);
|
|
6126
|
+
cursor: pointer;
|
|
6127
|
+
}
|
|
6128
|
+
|
|
6129
|
+
.muka-select__label--sm {
|
|
6130
|
+
font-family: var(--text-label-sm-semibold-fontFamily);
|
|
6131
|
+
font-weight: var(--text-label-sm-semibold-fontWeight);
|
|
6132
|
+
font-size: var(--text-label-sm-semibold-fontSize);
|
|
6133
|
+
line-height: var(--text-label-sm-semibold-lineHeight);
|
|
6134
|
+
}
|
|
6135
|
+
|
|
6136
|
+
.muka-select__label--md {
|
|
6137
|
+
font-family: var(--text-label-md-semibold-fontFamily);
|
|
6138
|
+
font-weight: var(--text-label-md-semibold-fontWeight);
|
|
6139
|
+
font-size: var(--text-label-md-semibold-fontSize);
|
|
6140
|
+
line-height: var(--text-label-md-semibold-lineHeight);
|
|
6141
|
+
}
|
|
6142
|
+
|
|
6143
|
+
.muka-select__label--lg {
|
|
6144
|
+
font-family: var(--text-label-lg-semibold-fontFamily);
|
|
6145
|
+
font-weight: var(--text-label-lg-semibold-fontWeight);
|
|
6146
|
+
font-size: var(--text-label-lg-semibold-fontSize);
|
|
6147
|
+
line-height: var(--text-label-lg-semibold-lineHeight);
|
|
6148
|
+
}
|
|
6149
|
+
|
|
6150
|
+
.muka-select__required {
|
|
6151
|
+
color: var(--color-state-error-default);
|
|
6152
|
+
}
|
|
6153
|
+
|
|
6154
|
+
.muka-select__label--sm + .muka-select__field--disabled,
|
|
6155
|
+
.muka-select__label--md + .muka-select__field--disabled,
|
|
6156
|
+
.muka-select__label--lg + .muka-select__field--disabled {
|
|
6157
|
+
cursor: not-allowed;
|
|
6158
|
+
}
|
|
6159
|
+
|
|
6160
|
+
/* Field container — same as Input: 1px border, radius, padding, inset shadow */
|
|
6161
|
+
.muka-select__field {
|
|
6162
|
+
display: flex;
|
|
6163
|
+
align-items: center;
|
|
6164
|
+
gap: var(--spacing-2);
|
|
6165
|
+
position: relative;
|
|
6166
|
+
background-color: var(--input-field-color-default-background);
|
|
6167
|
+
border: var(--border-width-regular) solid var(--input-field-color-default-border);
|
|
6168
|
+
border-radius: var(--input-field-radius-md);
|
|
6169
|
+
padding: var(--input-field-padding-y) var(--input-field-padding-x);
|
|
6045
6170
|
transition: border-color 0.2s ease, background-color 0.2s ease;
|
|
6046
6171
|
cursor: pointer;
|
|
6047
6172
|
box-sizing: border-box;
|
|
@@ -6176,85 +6301,191 @@ body {
|
|
|
6176
6301
|
}
|
|
6177
6302
|
|
|
6178
6303
|
|
|
6179
|
-
/*
|
|
6180
|
-
/*
|
|
6304
|
+
/* SegmentGroup */
|
|
6305
|
+
/* SegmentGroup Component Styles - Using Muka Design Tokens */
|
|
6181
6306
|
|
|
6182
|
-
/*
|
|
6307
|
+
/* Container */
|
|
6308
|
+
.muka-segmentgroup {
|
|
6309
|
+
display: inline-flex;
|
|
6310
|
+
align-items: center;
|
|
6311
|
+
gap: 0;
|
|
6312
|
+
padding: var(--segmentgroup-container-padding);
|
|
6313
|
+
background-color: var(--segmentgroup-container-background);
|
|
6314
|
+
border-radius: var(--segmentgroup-container-radius);
|
|
6315
|
+
position: relative;
|
|
6316
|
+
transition: background-color 0.2s ease, box-shadow 0.2s ease;
|
|
6317
|
+
}
|
|
6183
6318
|
|
|
6184
|
-
|
|
6185
|
-
|
|
6319
|
+
/* Inset shadow on container */
|
|
6320
|
+
.muka-segmentgroup::after {
|
|
6321
|
+
content: '';
|
|
6322
|
+
position: absolute;
|
|
6186
6323
|
inset: 0;
|
|
6187
|
-
|
|
6188
|
-
-
|
|
6189
|
-
|
|
6190
|
-
z-index: 50;
|
|
6324
|
+
border-radius: inherit;
|
|
6325
|
+
box-shadow: var(--segmentgroup-container-shadow);
|
|
6326
|
+
pointer-events: none;
|
|
6191
6327
|
}
|
|
6192
6328
|
|
|
6193
|
-
/*
|
|
6329
|
+
/* Full width variant */
|
|
6330
|
+
.muka-segmentgroup--full-width {
|
|
6331
|
+
width: 100%;
|
|
6332
|
+
}
|
|
6194
6333
|
|
|
6195
|
-
.muka-
|
|
6196
|
-
|
|
6334
|
+
.muka-segmentgroup--full-width .muka-segmentgroup__segment {
|
|
6335
|
+
flex: 1;
|
|
6336
|
+
}
|
|
6337
|
+
|
|
6338
|
+
/* Pill */
|
|
6339
|
+
.muka-segmentgroup__pill {
|
|
6340
|
+
position: absolute;
|
|
6341
|
+
top: var(--segmentgroup-container-padding);
|
|
6342
|
+
bottom: var(--segmentgroup-container-padding);
|
|
6197
6343
|
left: 0;
|
|
6198
|
-
|
|
6199
|
-
|
|
6200
|
-
|
|
6344
|
+
margin: 0;
|
|
6345
|
+
background-color: var(--segmentgroup-segment-color-selected-background);
|
|
6346
|
+
box-shadow: var(--segmentgroup-segment-shadow-selected);
|
|
6347
|
+
transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), width 0.25s cubic-bezier(0.4, 0, 0.2, 1);
|
|
6348
|
+
z-index: 0;
|
|
6349
|
+
pointer-events: none;
|
|
6350
|
+
}
|
|
6201
6351
|
|
|
6202
|
-
|
|
6203
|
-
|
|
6352
|
+
/* Segment button */
|
|
6353
|
+
.muka-segmentgroup__segment {
|
|
6354
|
+
display: inline-flex;
|
|
6355
|
+
align-items: center;
|
|
6356
|
+
justify-content: center;
|
|
6357
|
+
gap: var(--segmentgroup-segment-gap);
|
|
6358
|
+
border: none;
|
|
6359
|
+
background-color: var(--segmentgroup-segment-color-unselected-background);
|
|
6360
|
+
color: var(--segmentgroup-segment-color-unselected-foreground);
|
|
6361
|
+
border-radius: var(--segmentgroup-segment-radius);
|
|
6362
|
+
cursor: pointer;
|
|
6363
|
+
transition: background-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
|
|
6364
|
+
position: relative;
|
|
6365
|
+
outline: none;
|
|
6366
|
+
box-shadow: var(--segmentgroup-segment-shadow-unselected);
|
|
6367
|
+
font-family: var(--alias-font-plain-family);
|
|
6368
|
+
font-weight: var(--segmentgroup-segment-fontWeight);
|
|
6369
|
+
z-index: 1; /* Keep above pill */
|
|
6370
|
+
}
|
|
6204
6371
|
|
|
6205
|
-
|
|
6372
|
+
/* Size variants */
|
|
6373
|
+
.muka-segmentgroup--sm {
|
|
6374
|
+
border-radius: var(--border-radius-xl, 16px);
|
|
6375
|
+
}
|
|
6376
|
+
.muka-segmentgroup--sm .muka-segmentgroup__segment,
|
|
6377
|
+
.muka-segmentgroup--sm .muka-segmentgroup__pill {
|
|
6378
|
+
border-radius: var(--border-radius-xl, 16px);
|
|
6379
|
+
}
|
|
6380
|
+
.muka-segmentgroup--sm .muka-segmentgroup__segment {
|
|
6381
|
+
padding: var(--segmentgroup-segment-padding-sm-y) var(--segmentgroup-segment-padding-sm-x);
|
|
6382
|
+
height: var(--segmentgroup-segment-height-sm);
|
|
6383
|
+
font-size: var(--text-label-sm-regular-fontSize);
|
|
6384
|
+
line-height: var(--text-label-sm-leading);
|
|
6385
|
+
}
|
|
6206
6386
|
|
|
6207
|
-
|
|
6208
|
-
border-
|
|
6209
|
-
|
|
6210
|
-
|
|
6387
|
+
.muka-segmentgroup--md {
|
|
6388
|
+
border-radius: var(--border-radius-xl, 16px);
|
|
6389
|
+
}
|
|
6390
|
+
.muka-segmentgroup--md .muka-segmentgroup__segment,
|
|
6391
|
+
.muka-segmentgroup--md .muka-segmentgroup__pill {
|
|
6392
|
+
border-radius: var(--border-radius-xl, 16px);
|
|
6393
|
+
}
|
|
6394
|
+
.muka-segmentgroup--md .muka-segmentgroup__segment {
|
|
6395
|
+
padding: var(--segmentgroup-segment-padding-md-y) var(--segmentgroup-segment-padding-md-x);
|
|
6396
|
+
font-size: var(--text-label-md-regular-fontSize);
|
|
6397
|
+
line-height: var(--text-label-md-leading);
|
|
6398
|
+
}
|
|
6211
6399
|
|
|
6212
|
-
|
|
6400
|
+
.muka-segmentgroup--lg {
|
|
6401
|
+
border-radius: var(--border-radius-full, 9999px);
|
|
6402
|
+
}
|
|
6403
|
+
.muka-segmentgroup--lg .muka-segmentgroup__segment,
|
|
6404
|
+
.muka-segmentgroup--lg .muka-segmentgroup__pill {
|
|
6405
|
+
border-radius: var(--border-radius-full, 9999px);
|
|
6406
|
+
}
|
|
6407
|
+
.muka-segmentgroup--lg .muka-segmentgroup__segment {
|
|
6408
|
+
padding: var(--segmentgroup-segment-padding-lg-y) var(--segmentgroup-segment-padding-lg-x);
|
|
6409
|
+
height: 40px;
|
|
6410
|
+
font-size: var(--text-label-lg-regular-fontSize);
|
|
6411
|
+
line-height: var(--text-label-lg-leading);
|
|
6213
6412
|
}
|
|
6214
6413
|
|
|
6215
|
-
/*
|
|
6216
|
-
.muka-
|
|
6217
|
-
|
|
6414
|
+
/* Icon-only variants */
|
|
6415
|
+
.muka-segmentgroup--icon-only {
|
|
6416
|
+
gap: var(--spacing-1, 4px);
|
|
6218
6417
|
}
|
|
6219
6418
|
|
|
6220
|
-
|
|
6419
|
+
.muka-segmentgroup--icon-only.muka-segmentgroup--sm .muka-segmentgroup__segment {
|
|
6420
|
+
width: 24px;
|
|
6421
|
+
height: 24px;
|
|
6422
|
+
padding: 0;
|
|
6423
|
+
}
|
|
6424
|
+
.muka-segmentgroup--icon-only.muka-segmentgroup--sm .muka-segmentgroup__icon svg {
|
|
6425
|
+
width: 16px;
|
|
6426
|
+
height: 16px;
|
|
6427
|
+
}
|
|
6221
6428
|
|
|
6222
|
-
.muka-
|
|
6223
|
-
|
|
6429
|
+
.muka-segmentgroup--icon-only.muka-segmentgroup--md .muka-segmentgroup__segment {
|
|
6430
|
+
width: 32px;
|
|
6431
|
+
height: 32px;
|
|
6432
|
+
padding: 0;
|
|
6433
|
+
}
|
|
6434
|
+
.muka-segmentgroup--icon-only.muka-segmentgroup--md .muka-segmentgroup__icon svg {
|
|
6435
|
+
width: 20px;
|
|
6436
|
+
height: 20px;
|
|
6437
|
+
}
|
|
6438
|
+
|
|
6439
|
+
.muka-segmentgroup--icon-only.muka-segmentgroup--lg .muka-segmentgroup__segment {
|
|
6440
|
+
width: 40px;
|
|
6441
|
+
height: 40px;
|
|
6442
|
+
padding: 0;
|
|
6443
|
+
}
|
|
6444
|
+
.muka-segmentgroup--icon-only.muka-segmentgroup--lg .muka-segmentgroup__icon svg {
|
|
6445
|
+
width: 24px;
|
|
6446
|
+
height: 24px;
|
|
6447
|
+
}
|
|
6448
|
+
|
|
6449
|
+
/* Icon */
|
|
6450
|
+
.muka-segmentgroup__icon {
|
|
6451
|
+
display: inline-flex;
|
|
6452
|
+
align-items: center;
|
|
6224
6453
|
justify-content: center;
|
|
6225
|
-
flex-shrink: 0;
|
|
6226
|
-
padding: var(--spacing-3) 0;
|
|
6227
6454
|
}
|
|
6228
6455
|
|
|
6229
|
-
|
|
6230
|
-
|
|
6231
|
-
|
|
6232
|
-
|
|
6233
|
-
|
|
6456
|
+
/* Selected state */
|
|
6457
|
+
.muka-segmentgroup__segment--selected {
|
|
6458
|
+
background-color: transparent;
|
|
6459
|
+
box-shadow: none;
|
|
6460
|
+
color: var(--segmentgroup-segment-color-selected-foreground);
|
|
6461
|
+
z-index: 2; /* Highlight pill when focused is tested below */
|
|
6234
6462
|
}
|
|
6235
6463
|
|
|
6236
|
-
/*
|
|
6464
|
+
/* Hover state (only for unselected) */
|
|
6465
|
+
.muka-segmentgroup__segment:not(.muka-segmentgroup__segment--selected):not(:disabled):hover {
|
|
6466
|
+
color: var(--segmentgroup-segment-color-hover-foreground);
|
|
6467
|
+
}
|
|
6237
6468
|
|
|
6238
|
-
|
|
6239
|
-
|
|
6240
|
-
|
|
6241
|
-
|
|
6242
|
-
-
|
|
6243
|
-
overscroll-behavior: contain;
|
|
6469
|
+
/* Focus visible */
|
|
6470
|
+
.muka-segmentgroup__segment:focus-visible {
|
|
6471
|
+
outline: 2px solid var(--color-border-focus);
|
|
6472
|
+
outline-offset: 2px;
|
|
6473
|
+
z-index: 2;
|
|
6244
6474
|
}
|
|
6245
6475
|
|
|
6246
|
-
/*
|
|
6476
|
+
/* Disabled state */
|
|
6477
|
+
.muka-segmentgroup__segment--disabled,
|
|
6478
|
+
.muka-segmentgroup__segment:disabled {
|
|
6479
|
+
cursor: not-allowed;
|
|
6480
|
+
opacity: 0.5;
|
|
6481
|
+
}
|
|
6247
6482
|
|
|
6248
|
-
|
|
6249
|
-
|
|
6250
|
-
|
|
6251
|
-
|
|
6252
|
-
padding: 0;
|
|
6253
|
-
margin: -1px;
|
|
6254
|
-
overflow: hidden;
|
|
6255
|
-
clip: rect(0, 0, 0, 0);
|
|
6483
|
+
/* Label */
|
|
6484
|
+
.muka-segmentgroup__label {
|
|
6485
|
+
display: inline-flex;
|
|
6486
|
+
align-items: center;
|
|
6256
6487
|
white-space: nowrap;
|
|
6257
|
-
|
|
6488
|
+
user-select: none;
|
|
6258
6489
|
}
|
|
6259
6490
|
|
|
6260
6491
|
|
|
@@ -6548,270 +6779,82 @@ body {
|
|
|
6548
6779
|
margin-left: 0;
|
|
6549
6780
|
margin-top: 0;
|
|
6550
6781
|
}
|
|
6551
|
-
|
|
6552
|
-
.muka-scrollbar__thumb:active {
|
|
6553
|
-
cursor: grabbing;
|
|
6554
|
-
}
|
|
6555
|
-
|
|
6556
|
-
.muka-scrollbar__grip {
|
|
6557
|
-
display: flex;
|
|
6558
|
-
flex-direction: column;
|
|
6559
|
-
gap: 2px;
|
|
6560
|
-
width: 14px;
|
|
6561
|
-
}
|
|
6562
|
-
|
|
6563
|
-
.muka-scrollbar__grip::before,
|
|
6564
|
-
.muka-scrollbar__grip::after {
|
|
6565
|
-
content: '';
|
|
6566
|
-
display: block;
|
|
6567
|
-
width: 100%;
|
|
6568
|
-
height: 2px;
|
|
6569
|
-
border-radius: var(--border-radius-md);
|
|
6570
|
-
background-color: var(--color-text-subtle-default);
|
|
6571
|
-
}
|
|
6572
|
-
|
|
6573
|
-
.muka-scrollbar__spacer {
|
|
6574
|
-
flex: 1 1 auto;
|
|
6575
|
-
min-height: 0;
|
|
6576
|
-
background-color: var(--color-surface-level2);
|
|
6577
|
-
}
|
|
6578
|
-
|
|
6579
|
-
|
|
6580
|
-
/* RecordingBar */
|
|
6581
|
-
/* RecordingBar Component Styles */
|
|
6582
|
-
|
|
6583
|
-
.muka-recording-bar {
|
|
6584
|
-
display: flex;
|
|
6585
|
-
align-items: center;
|
|
6586
|
-
gap: var(--spacing-3);
|
|
6587
|
-
width: 100%;
|
|
6588
|
-
min-width: 0;
|
|
6589
|
-
}
|
|
6590
|
-
|
|
6591
|
-
.muka-recording-bar__dot {
|
|
6592
|
-
flex: 0 0 auto;
|
|
6593
|
-
width: 0.625rem;
|
|
6594
|
-
height: 0.625rem;
|
|
6595
|
-
border-radius: var(--radius-full, 9999px);
|
|
6596
|
-
background: var(--alert-color-error-accent, var(--color-text-default-default));
|
|
6597
|
-
animation: muka-recording-bar-pulse 1s ease-in-out infinite;
|
|
6598
|
-
}
|
|
6599
|
-
|
|
6600
|
-
.muka-recording-bar__time {
|
|
6601
|
-
flex: 0 0 auto;
|
|
6602
|
-
font-size: var(--text-label-sm-regular-fontSize);
|
|
6603
|
-
line-height: var(--text-label-sm-leading);
|
|
6604
|
-
font-variant-numeric: tabular-nums;
|
|
6605
|
-
color: var(--color-text-default-default);
|
|
6606
|
-
}
|
|
6607
|
-
|
|
6608
|
-
.muka-recording-bar__wave {
|
|
6609
|
-
flex: 1 1 auto;
|
|
6610
|
-
min-width: 0;
|
|
6611
|
-
}
|
|
6612
|
-
|
|
6613
|
-
@keyframes muka-recording-bar-pulse {
|
|
6614
|
-
0%,
|
|
6615
|
-
100% {
|
|
6616
|
-
opacity: 1;
|
|
6617
|
-
}
|
|
6618
|
-
50% {
|
|
6619
|
-
opacity: 0.3;
|
|
6620
|
-
}
|
|
6621
|
-
}
|
|
6622
|
-
|
|
6623
|
-
@media (prefers-reduced-motion: reduce) {
|
|
6624
|
-
.muka-recording-bar__dot {
|
|
6625
|
-
animation: none;
|
|
6626
|
-
}
|
|
6627
|
-
}
|
|
6628
|
-
|
|
6629
|
-
|
|
6630
|
-
/* SegmentGroup */
|
|
6631
|
-
/* SegmentGroup Component Styles - Using Muka Design Tokens */
|
|
6632
|
-
|
|
6633
|
-
/* Container */
|
|
6634
|
-
.muka-segmentgroup {
|
|
6635
|
-
display: inline-flex;
|
|
6636
|
-
align-items: center;
|
|
6637
|
-
gap: 0;
|
|
6638
|
-
padding: var(--segmentgroup-container-padding);
|
|
6639
|
-
background-color: var(--segmentgroup-container-background);
|
|
6640
|
-
border-radius: var(--segmentgroup-container-radius);
|
|
6641
|
-
position: relative;
|
|
6642
|
-
transition: background-color 0.2s ease, box-shadow 0.2s ease;
|
|
6643
|
-
}
|
|
6644
|
-
|
|
6645
|
-
/* Inset shadow on container */
|
|
6646
|
-
.muka-segmentgroup::after {
|
|
6647
|
-
content: '';
|
|
6648
|
-
position: absolute;
|
|
6649
|
-
inset: 0;
|
|
6650
|
-
border-radius: inherit;
|
|
6651
|
-
box-shadow: var(--segmentgroup-container-shadow);
|
|
6652
|
-
pointer-events: none;
|
|
6653
|
-
}
|
|
6654
|
-
|
|
6655
|
-
/* Full width variant */
|
|
6656
|
-
.muka-segmentgroup--full-width {
|
|
6657
|
-
width: 100%;
|
|
6658
|
-
}
|
|
6659
|
-
|
|
6660
|
-
.muka-segmentgroup--full-width .muka-segmentgroup__segment {
|
|
6661
|
-
flex: 1;
|
|
6662
|
-
}
|
|
6663
|
-
|
|
6664
|
-
/* Pill */
|
|
6665
|
-
.muka-segmentgroup__pill {
|
|
6666
|
-
position: absolute;
|
|
6667
|
-
top: var(--segmentgroup-container-padding);
|
|
6668
|
-
bottom: var(--segmentgroup-container-padding);
|
|
6669
|
-
left: 0;
|
|
6670
|
-
margin: 0;
|
|
6671
|
-
background-color: var(--segmentgroup-segment-color-selected-background);
|
|
6672
|
-
box-shadow: var(--segmentgroup-segment-shadow-selected);
|
|
6673
|
-
transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), width 0.25s cubic-bezier(0.4, 0, 0.2, 1);
|
|
6674
|
-
z-index: 0;
|
|
6675
|
-
pointer-events: none;
|
|
6676
|
-
}
|
|
6677
|
-
|
|
6678
|
-
/* Segment button */
|
|
6679
|
-
.muka-segmentgroup__segment {
|
|
6680
|
-
display: inline-flex;
|
|
6681
|
-
align-items: center;
|
|
6682
|
-
justify-content: center;
|
|
6683
|
-
gap: var(--segmentgroup-segment-gap);
|
|
6684
|
-
border: none;
|
|
6685
|
-
background-color: var(--segmentgroup-segment-color-unselected-background);
|
|
6686
|
-
color: var(--segmentgroup-segment-color-unselected-foreground);
|
|
6687
|
-
border-radius: var(--segmentgroup-segment-radius);
|
|
6688
|
-
cursor: pointer;
|
|
6689
|
-
transition: background-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
|
|
6690
|
-
position: relative;
|
|
6691
|
-
outline: none;
|
|
6692
|
-
box-shadow: var(--segmentgroup-segment-shadow-unselected);
|
|
6693
|
-
font-family: var(--alias-font-plain-family);
|
|
6694
|
-
font-weight: var(--segmentgroup-segment-fontWeight);
|
|
6695
|
-
z-index: 1; /* Keep above pill */
|
|
6696
|
-
}
|
|
6697
|
-
|
|
6698
|
-
/* Size variants */
|
|
6699
|
-
.muka-segmentgroup--sm {
|
|
6700
|
-
border-radius: var(--border-radius-xl, 16px);
|
|
6701
|
-
}
|
|
6702
|
-
.muka-segmentgroup--sm .muka-segmentgroup__segment,
|
|
6703
|
-
.muka-segmentgroup--sm .muka-segmentgroup__pill {
|
|
6704
|
-
border-radius: var(--border-radius-xl, 16px);
|
|
6705
|
-
}
|
|
6706
|
-
.muka-segmentgroup--sm .muka-segmentgroup__segment {
|
|
6707
|
-
padding: var(--segmentgroup-segment-padding-sm-y) var(--segmentgroup-segment-padding-sm-x);
|
|
6708
|
-
height: var(--segmentgroup-segment-height-sm);
|
|
6709
|
-
font-size: var(--text-label-sm-regular-fontSize);
|
|
6710
|
-
line-height: var(--text-label-sm-leading);
|
|
6711
|
-
}
|
|
6712
|
-
|
|
6713
|
-
.muka-segmentgroup--md {
|
|
6714
|
-
border-radius: var(--border-radius-xl, 16px);
|
|
6715
|
-
}
|
|
6716
|
-
.muka-segmentgroup--md .muka-segmentgroup__segment,
|
|
6717
|
-
.muka-segmentgroup--md .muka-segmentgroup__pill {
|
|
6718
|
-
border-radius: var(--border-radius-xl, 16px);
|
|
6719
|
-
}
|
|
6720
|
-
.muka-segmentgroup--md .muka-segmentgroup__segment {
|
|
6721
|
-
padding: var(--segmentgroup-segment-padding-md-y) var(--segmentgroup-segment-padding-md-x);
|
|
6722
|
-
font-size: var(--text-label-md-regular-fontSize);
|
|
6723
|
-
line-height: var(--text-label-md-leading);
|
|
6724
|
-
}
|
|
6725
|
-
|
|
6726
|
-
.muka-segmentgroup--lg {
|
|
6727
|
-
border-radius: var(--border-radius-full, 9999px);
|
|
6728
|
-
}
|
|
6729
|
-
.muka-segmentgroup--lg .muka-segmentgroup__segment,
|
|
6730
|
-
.muka-segmentgroup--lg .muka-segmentgroup__pill {
|
|
6731
|
-
border-radius: var(--border-radius-full, 9999px);
|
|
6732
|
-
}
|
|
6733
|
-
.muka-segmentgroup--lg .muka-segmentgroup__segment {
|
|
6734
|
-
padding: var(--segmentgroup-segment-padding-lg-y) var(--segmentgroup-segment-padding-lg-x);
|
|
6735
|
-
height: 40px;
|
|
6736
|
-
font-size: var(--text-label-lg-regular-fontSize);
|
|
6737
|
-
line-height: var(--text-label-lg-leading);
|
|
6738
|
-
}
|
|
6739
|
-
|
|
6740
|
-
/* Icon-only variants */
|
|
6741
|
-
.muka-segmentgroup--icon-only {
|
|
6742
|
-
gap: var(--spacing-1, 4px);
|
|
6743
|
-
}
|
|
6744
|
-
|
|
6745
|
-
.muka-segmentgroup--icon-only.muka-segmentgroup--sm .muka-segmentgroup__segment {
|
|
6746
|
-
width: 24px;
|
|
6747
|
-
height: 24px;
|
|
6748
|
-
padding: 0;
|
|
6749
|
-
}
|
|
6750
|
-
.muka-segmentgroup--icon-only.muka-segmentgroup--sm .muka-segmentgroup__icon svg {
|
|
6751
|
-
width: 16px;
|
|
6752
|
-
height: 16px;
|
|
6753
|
-
}
|
|
6754
|
-
|
|
6755
|
-
.muka-segmentgroup--icon-only.muka-segmentgroup--md .muka-segmentgroup__segment {
|
|
6756
|
-
width: 32px;
|
|
6757
|
-
height: 32px;
|
|
6758
|
-
padding: 0;
|
|
6782
|
+
|
|
6783
|
+
.muka-scrollbar__thumb:active {
|
|
6784
|
+
cursor: grabbing;
|
|
6759
6785
|
}
|
|
6760
|
-
|
|
6761
|
-
|
|
6762
|
-
|
|
6786
|
+
|
|
6787
|
+
.muka-scrollbar__grip {
|
|
6788
|
+
display: flex;
|
|
6789
|
+
flex-direction: column;
|
|
6790
|
+
gap: 2px;
|
|
6791
|
+
width: 14px;
|
|
6763
6792
|
}
|
|
6764
6793
|
|
|
6765
|
-
.muka-
|
|
6766
|
-
|
|
6767
|
-
|
|
6768
|
-
|
|
6794
|
+
.muka-scrollbar__grip::before,
|
|
6795
|
+
.muka-scrollbar__grip::after {
|
|
6796
|
+
content: '';
|
|
6797
|
+
display: block;
|
|
6798
|
+
width: 100%;
|
|
6799
|
+
height: 2px;
|
|
6800
|
+
border-radius: var(--border-radius-md);
|
|
6801
|
+
background-color: var(--color-text-subtle-default);
|
|
6769
6802
|
}
|
|
6770
|
-
|
|
6771
|
-
|
|
6772
|
-
|
|
6803
|
+
|
|
6804
|
+
.muka-scrollbar__spacer {
|
|
6805
|
+
flex: 1 1 auto;
|
|
6806
|
+
min-height: 0;
|
|
6807
|
+
background-color: var(--color-surface-level2);
|
|
6773
6808
|
}
|
|
6774
6809
|
|
|
6775
|
-
|
|
6776
|
-
|
|
6777
|
-
|
|
6810
|
+
|
|
6811
|
+
/* RecordingBar */
|
|
6812
|
+
/* RecordingBar Component Styles */
|
|
6813
|
+
|
|
6814
|
+
.muka-recording-bar {
|
|
6815
|
+
display: flex;
|
|
6778
6816
|
align-items: center;
|
|
6779
|
-
|
|
6817
|
+
gap: var(--spacing-3);
|
|
6818
|
+
width: 100%;
|
|
6819
|
+
min-width: 0;
|
|
6780
6820
|
}
|
|
6781
6821
|
|
|
6782
|
-
|
|
6783
|
-
|
|
6784
|
-
|
|
6785
|
-
|
|
6786
|
-
|
|
6787
|
-
|
|
6822
|
+
.muka-recording-bar__dot {
|
|
6823
|
+
flex: 0 0 auto;
|
|
6824
|
+
width: 0.625rem;
|
|
6825
|
+
height: 0.625rem;
|
|
6826
|
+
border-radius: var(--radius-full, 9999px);
|
|
6827
|
+
background: var(--alert-color-error-accent, var(--color-text-default-default));
|
|
6828
|
+
animation: muka-recording-bar-pulse 1s ease-in-out infinite;
|
|
6788
6829
|
}
|
|
6789
6830
|
|
|
6790
|
-
|
|
6791
|
-
|
|
6792
|
-
|
|
6831
|
+
.muka-recording-bar__time {
|
|
6832
|
+
flex: 0 0 auto;
|
|
6833
|
+
font-size: var(--text-label-sm-regular-fontSize);
|
|
6834
|
+
line-height: var(--text-label-sm-leading);
|
|
6835
|
+
font-variant-numeric: tabular-nums;
|
|
6836
|
+
color: var(--color-text-default-default);
|
|
6793
6837
|
}
|
|
6794
6838
|
|
|
6795
|
-
|
|
6796
|
-
|
|
6797
|
-
|
|
6798
|
-
outline-offset: 2px;
|
|
6799
|
-
z-index: 2;
|
|
6839
|
+
.muka-recording-bar__wave {
|
|
6840
|
+
flex: 1 1 auto;
|
|
6841
|
+
min-width: 0;
|
|
6800
6842
|
}
|
|
6801
6843
|
|
|
6802
|
-
|
|
6803
|
-
|
|
6804
|
-
|
|
6805
|
-
|
|
6806
|
-
|
|
6844
|
+
@keyframes muka-recording-bar-pulse {
|
|
6845
|
+
0%,
|
|
6846
|
+
100% {
|
|
6847
|
+
opacity: 1;
|
|
6848
|
+
}
|
|
6849
|
+
50% {
|
|
6850
|
+
opacity: 0.3;
|
|
6851
|
+
}
|
|
6807
6852
|
}
|
|
6808
6853
|
|
|
6809
|
-
|
|
6810
|
-
.muka-
|
|
6811
|
-
|
|
6812
|
-
|
|
6813
|
-
white-space: nowrap;
|
|
6814
|
-
user-select: none;
|
|
6854
|
+
@media (prefers-reduced-motion: reduce) {
|
|
6855
|
+
.muka-recording-bar__dot {
|
|
6856
|
+
animation: none;
|
|
6857
|
+
}
|
|
6815
6858
|
}
|
|
6816
6859
|
|
|
6817
6860
|
|
|
@@ -7101,219 +7144,75 @@ body {
|
|
|
7101
7144
|
.muka-radio-tile__icon svg {
|
|
7102
7145
|
width: 100%;
|
|
7103
7146
|
height: 100%;
|
|
7104
|
-
}
|
|
7105
|
-
|
|
7106
|
-
/* Image */
|
|
7107
|
-
.muka-radio-tile__image {
|
|
7108
|
-
flex-shrink: 0;
|
|
7109
|
-
overflow: hidden;
|
|
7110
|
-
border-radius: var(--border-radius-sm);
|
|
7111
|
-
}
|
|
7112
|
-
|
|
7113
|
-
.muka-radio-tile__image img {
|
|
7114
|
-
display: block;
|
|
7115
|
-
width: 100%;
|
|
7116
|
-
height: 100%;
|
|
7117
|
-
object-fit: cover;
|
|
7118
|
-
}
|
|
7119
|
-
|
|
7120
|
-
/* Horizontal image sizing */
|
|
7121
|
-
.muka-radio-tile__image--horizontal {
|
|
7122
|
-
width: 40px;
|
|
7123
|
-
height: 40px;
|
|
7124
|
-
}
|
|
7125
|
-
|
|
7126
|
-
/* Vertical image sizing */
|
|
7127
|
-
.muka-radio-tile--vertical .muka-radio-tile__image {
|
|
7128
|
-
width: 100%;
|
|
7129
|
-
aspect-ratio: 4/3;
|
|
7130
|
-
}
|
|
7131
|
-
|
|
7132
|
-
/* Content container */
|
|
7133
|
-
.muka-radio-tile__content {
|
|
7134
|
-
display: flex;
|
|
7135
|
-
flex-direction: column;
|
|
7136
|
-
flex: 1;
|
|
7137
|
-
min-width: 0;
|
|
7138
|
-
gap: var(--spacing-1);
|
|
7139
|
-
}
|
|
7140
|
-
|
|
7141
|
-
/* Label */
|
|
7142
|
-
.muka-radio-tile__label {
|
|
7143
|
-
font-family: var(--text-body-lg-regular-fontFamily);
|
|
7144
|
-
font-weight: var(--text-body-lg-regular-fontWeight);
|
|
7145
|
-
font-size: var(--text-body-lg-regular-fontSize);
|
|
7146
|
-
line-height: var(--text-body-lg-regular-lineHeight);
|
|
7147
|
-
color: var(--color-text-default-default);
|
|
7148
|
-
}
|
|
7149
|
-
|
|
7150
|
-
.muka-radio-tile__label--bold {
|
|
7151
|
-
font-family: var(--text-label-lg-semibold-fontFamily);
|
|
7152
|
-
font-weight: var(--text-label-lg-semibold-fontWeight);
|
|
7153
|
-
font-size: var(--text-label-lg-semibold-fontSize);
|
|
7154
|
-
line-height: var(--text-label-lg-semibold-lineHeight);
|
|
7155
|
-
}
|
|
7156
|
-
|
|
7157
|
-
.muka-radio-tile__label--center {
|
|
7158
|
-
text-align: center;
|
|
7159
|
-
}
|
|
7160
|
-
|
|
7161
|
-
/* Caption */
|
|
7162
|
-
.muka-radio-tile__caption {
|
|
7163
|
-
font-family: var(--text-body-base-regular-fontFamily);
|
|
7164
|
-
font-weight: var(--text-body-base-regular-fontWeight);
|
|
7165
|
-
font-size: var(--text-body-base-regular-fontSize);
|
|
7166
|
-
line-height: var(--text-body-base-regular-lineHeight);
|
|
7167
|
-
color: var(--color-text-subtle-default);
|
|
7168
|
-
}
|
|
7169
|
-
|
|
7170
|
-
/* Disabled states */
|
|
7171
|
-
.muka-radio-tile--disabled .muka-radio-tile__label,
|
|
7172
|
-
.muka-radio-tile--disabled .muka-radio-tile__icon {
|
|
7173
|
-
color: var(--color-text-subtle-default);
|
|
7174
|
-
}
|
|
7175
|
-
|
|
7176
|
-
|
|
7177
|
-
/* Radio */
|
|
7178
|
-
/* Radio Component Styles - Using Muka Design Tokens */
|
|
7179
|
-
|
|
7180
|
-
/* Wrapper - clickable label container */
|
|
7181
|
-
.muka-radio {
|
|
7182
|
-
display: inline-flex;
|
|
7183
|
-
align-items: center;
|
|
7184
|
-
gap: var(--spacing-4);
|
|
7185
|
-
cursor: pointer;
|
|
7186
|
-
user-select: none;
|
|
7187
|
-
}
|
|
7188
|
-
|
|
7189
|
-
.muka-radio--disabled {
|
|
7190
|
-
cursor: not-allowed;
|
|
7191
|
-
opacity: 0.6;
|
|
7192
|
-
}
|
|
7193
|
-
|
|
7194
|
-
/* Control container */
|
|
7195
|
-
.muka-radio__control {
|
|
7196
|
-
position: relative;
|
|
7197
|
-
display: inline-flex;
|
|
7198
|
-
align-items: center;
|
|
7199
|
-
justify-content: center;
|
|
7200
|
-
flex-shrink: 0;
|
|
7201
|
-
}
|
|
7202
|
-
|
|
7203
|
-
/* Hidden native input */
|
|
7204
|
-
.muka-radio__input {
|
|
7205
|
-
position: absolute;
|
|
7206
|
-
width: 1px;
|
|
7207
|
-
height: 1px;
|
|
7208
|
-
padding: 0;
|
|
7209
|
-
margin: -1px;
|
|
7210
|
-
overflow: hidden;
|
|
7211
|
-
clip: rect(0, 0, 0, 0);
|
|
7212
|
-
white-space: nowrap;
|
|
7213
|
-
border: 0;
|
|
7214
|
-
}
|
|
7215
|
-
|
|
7216
|
-
/* Visual indicator (circle) */
|
|
7217
|
-
.muka-radio__indicator {
|
|
7218
|
-
display: flex;
|
|
7219
|
-
align-items: center;
|
|
7220
|
-
justify-content: center;
|
|
7221
|
-
width: var(--radio-size-default);
|
|
7222
|
-
height: var(--radio-size-default);
|
|
7223
|
-
border-radius: var(--border-radius-full);
|
|
7224
|
-
background-color: var(--radio-color-default-background);
|
|
7225
|
-
border: var(--border-width-regular) solid var(--radio-color-default-border);
|
|
7226
|
-
transition: all 0.15s ease;
|
|
7227
|
-
box-shadow: inset 0 1px 2px 0 rgba(26, 26, 26, 0.15);
|
|
7228
|
-
}
|
|
7229
|
-
|
|
7230
|
-
/* Size variants */
|
|
7231
|
-
.muka-radio--sm .muka-radio__indicator {
|
|
7232
|
-
width: var(--radio-size-sm);
|
|
7233
|
-
height: var(--radio-size-sm);
|
|
7234
|
-
}
|
|
7235
|
-
|
|
7236
|
-
.muka-radio--lg .muka-radio__indicator {
|
|
7237
|
-
width: var(--radio-size-lg);
|
|
7238
|
-
height: var(--radio-size-lg);
|
|
7239
|
-
}
|
|
7240
|
-
|
|
7241
|
-
/* Inner dot (shown when checked) */
|
|
7242
|
-
.muka-radio__dot {
|
|
7243
|
-
width: var(--radio-dot-size-default);
|
|
7244
|
-
height: var(--radio-dot-size-default);
|
|
7245
|
-
border-radius: var(--border-radius-full);
|
|
7246
|
-
background-color: var(--radio-color-default-dot);
|
|
7247
|
-
transform: scale(0);
|
|
7248
|
-
transition: transform 0.15s ease;
|
|
7249
|
-
}
|
|
7250
|
-
|
|
7251
|
-
.muka-radio--sm .muka-radio__dot {
|
|
7252
|
-
width: var(--radio-dot-size-sm);
|
|
7253
|
-
height: var(--radio-dot-size-sm);
|
|
7254
|
-
}
|
|
7255
|
-
|
|
7256
|
-
.muka-radio--lg .muka-radio__dot {
|
|
7257
|
-
width: var(--radio-dot-size-lg);
|
|
7258
|
-
height: var(--radio-dot-size-lg);
|
|
7259
|
-
}
|
|
7260
|
-
|
|
7261
|
-
/* Hover state - removed per design */
|
|
7147
|
+
}
|
|
7262
7148
|
|
|
7263
|
-
/*
|
|
7264
|
-
.muka-
|
|
7265
|
-
|
|
7266
|
-
|
|
7149
|
+
/* Image */
|
|
7150
|
+
.muka-radio-tile__image {
|
|
7151
|
+
flex-shrink: 0;
|
|
7152
|
+
overflow: hidden;
|
|
7153
|
+
border-radius: var(--border-radius-sm);
|
|
7267
7154
|
}
|
|
7268
7155
|
|
|
7269
|
-
|
|
7270
|
-
|
|
7271
|
-
|
|
7272
|
-
|
|
7273
|
-
|
|
7274
|
-
box-shadow: none;
|
|
7156
|
+
.muka-radio-tile__image img {
|
|
7157
|
+
display: block;
|
|
7158
|
+
width: 100%;
|
|
7159
|
+
height: 100%;
|
|
7160
|
+
object-fit: cover;
|
|
7275
7161
|
}
|
|
7276
7162
|
|
|
7277
|
-
|
|
7278
|
-
|
|
7279
|
-
|
|
7163
|
+
/* Horizontal image sizing */
|
|
7164
|
+
.muka-radio-tile__image--horizontal {
|
|
7165
|
+
width: 40px;
|
|
7166
|
+
height: 40px;
|
|
7280
7167
|
}
|
|
7281
7168
|
|
|
7282
|
-
/*
|
|
7283
|
-
.muka-radio--
|
|
7284
|
-
|
|
7285
|
-
|
|
7286
|
-
box-shadow: none;
|
|
7169
|
+
/* Vertical image sizing */
|
|
7170
|
+
.muka-radio-tile--vertical .muka-radio-tile__image {
|
|
7171
|
+
width: 100%;
|
|
7172
|
+
aspect-ratio: 4/3;
|
|
7287
7173
|
}
|
|
7288
7174
|
|
|
7289
|
-
|
|
7290
|
-
|
|
7175
|
+
/* Content container */
|
|
7176
|
+
.muka-radio-tile__content {
|
|
7177
|
+
display: flex;
|
|
7178
|
+
flex-direction: column;
|
|
7179
|
+
flex: 1;
|
|
7180
|
+
min-width: 0;
|
|
7181
|
+
gap: var(--spacing-1);
|
|
7291
7182
|
}
|
|
7292
7183
|
|
|
7293
|
-
/* Label
|
|
7294
|
-
.muka-
|
|
7295
|
-
font-family: var(--text-
|
|
7296
|
-
font-weight: var(--text-
|
|
7297
|
-
font-size: var(--text-
|
|
7298
|
-
line-height: var(--text-
|
|
7184
|
+
/* Label */
|
|
7185
|
+
.muka-radio-tile__label {
|
|
7186
|
+
font-family: var(--text-body-lg-regular-fontFamily);
|
|
7187
|
+
font-weight: var(--text-body-lg-regular-fontWeight);
|
|
7188
|
+
font-size: var(--text-body-lg-regular-fontSize);
|
|
7189
|
+
line-height: var(--text-body-lg-regular-lineHeight);
|
|
7299
7190
|
color: var(--color-text-default-default);
|
|
7300
7191
|
}
|
|
7301
7192
|
|
|
7302
|
-
.muka-radio--
|
|
7303
|
-
font-family: var(--text-label-
|
|
7304
|
-
font-weight: var(--text-label-
|
|
7305
|
-
font-size: var(--text-label-
|
|
7306
|
-
line-height: var(--text-label-
|
|
7193
|
+
.muka-radio-tile__label--bold {
|
|
7194
|
+
font-family: var(--text-label-lg-semibold-fontFamily);
|
|
7195
|
+
font-weight: var(--text-label-lg-semibold-fontWeight);
|
|
7196
|
+
font-size: var(--text-label-lg-semibold-fontSize);
|
|
7197
|
+
line-height: var(--text-label-lg-semibold-lineHeight);
|
|
7307
7198
|
}
|
|
7308
7199
|
|
|
7309
|
-
.muka-radio--
|
|
7310
|
-
|
|
7311
|
-
font-weight: var(--text-label-xl-regular-fontWeight);
|
|
7312
|
-
font-size: var(--text-label-xl-regular-fontSize);
|
|
7313
|
-
line-height: var(--text-label-xl-regular-lineHeight);
|
|
7200
|
+
.muka-radio-tile__label--center {
|
|
7201
|
+
text-align: center;
|
|
7314
7202
|
}
|
|
7315
7203
|
|
|
7316
|
-
|
|
7204
|
+
/* Caption */
|
|
7205
|
+
.muka-radio-tile__caption {
|
|
7206
|
+
font-family: var(--text-body-base-regular-fontFamily);
|
|
7207
|
+
font-weight: var(--text-body-base-regular-fontWeight);
|
|
7208
|
+
font-size: var(--text-body-base-regular-fontSize);
|
|
7209
|
+
line-height: var(--text-body-base-regular-lineHeight);
|
|
7210
|
+
color: var(--color-text-subtle-default);
|
|
7211
|
+
}
|
|
7212
|
+
|
|
7213
|
+
/* Disabled states */
|
|
7214
|
+
.muka-radio-tile--disabled .muka-radio-tile__label,
|
|
7215
|
+
.muka-radio-tile--disabled .muka-radio-tile__icon {
|
|
7317
7216
|
color: var(--color-text-subtle-default);
|
|
7318
7217
|
}
|
|
7319
7218
|
|
|
@@ -7929,6 +7828,150 @@ button.muka-progress-tracker__tab:focus-visible {
|
|
|
7929
7828
|
}
|
|
7930
7829
|
|
|
7931
7830
|
|
|
7831
|
+
/* Radio */
|
|
7832
|
+
/* Radio Component Styles - Using Muka Design Tokens */
|
|
7833
|
+
|
|
7834
|
+
/* Wrapper - clickable label container */
|
|
7835
|
+
.muka-radio {
|
|
7836
|
+
display: inline-flex;
|
|
7837
|
+
align-items: center;
|
|
7838
|
+
gap: var(--spacing-4);
|
|
7839
|
+
cursor: pointer;
|
|
7840
|
+
user-select: none;
|
|
7841
|
+
}
|
|
7842
|
+
|
|
7843
|
+
.muka-radio--disabled {
|
|
7844
|
+
cursor: not-allowed;
|
|
7845
|
+
opacity: 0.6;
|
|
7846
|
+
}
|
|
7847
|
+
|
|
7848
|
+
/* Control container */
|
|
7849
|
+
.muka-radio__control {
|
|
7850
|
+
position: relative;
|
|
7851
|
+
display: inline-flex;
|
|
7852
|
+
align-items: center;
|
|
7853
|
+
justify-content: center;
|
|
7854
|
+
flex-shrink: 0;
|
|
7855
|
+
}
|
|
7856
|
+
|
|
7857
|
+
/* Hidden native input */
|
|
7858
|
+
.muka-radio__input {
|
|
7859
|
+
position: absolute;
|
|
7860
|
+
width: 1px;
|
|
7861
|
+
height: 1px;
|
|
7862
|
+
padding: 0;
|
|
7863
|
+
margin: -1px;
|
|
7864
|
+
overflow: hidden;
|
|
7865
|
+
clip: rect(0, 0, 0, 0);
|
|
7866
|
+
white-space: nowrap;
|
|
7867
|
+
border: 0;
|
|
7868
|
+
}
|
|
7869
|
+
|
|
7870
|
+
/* Visual indicator (circle) */
|
|
7871
|
+
.muka-radio__indicator {
|
|
7872
|
+
display: flex;
|
|
7873
|
+
align-items: center;
|
|
7874
|
+
justify-content: center;
|
|
7875
|
+
width: var(--radio-size-default);
|
|
7876
|
+
height: var(--radio-size-default);
|
|
7877
|
+
border-radius: var(--border-radius-full);
|
|
7878
|
+
background-color: var(--radio-color-default-background);
|
|
7879
|
+
border: var(--border-width-regular) solid var(--radio-color-default-border);
|
|
7880
|
+
transition: all 0.15s ease;
|
|
7881
|
+
box-shadow: inset 0 1px 2px 0 rgba(26, 26, 26, 0.15);
|
|
7882
|
+
}
|
|
7883
|
+
|
|
7884
|
+
/* Size variants */
|
|
7885
|
+
.muka-radio--sm .muka-radio__indicator {
|
|
7886
|
+
width: var(--radio-size-sm);
|
|
7887
|
+
height: var(--radio-size-sm);
|
|
7888
|
+
}
|
|
7889
|
+
|
|
7890
|
+
.muka-radio--lg .muka-radio__indicator {
|
|
7891
|
+
width: var(--radio-size-lg);
|
|
7892
|
+
height: var(--radio-size-lg);
|
|
7893
|
+
}
|
|
7894
|
+
|
|
7895
|
+
/* Inner dot (shown when checked) */
|
|
7896
|
+
.muka-radio__dot {
|
|
7897
|
+
width: var(--radio-dot-size-default);
|
|
7898
|
+
height: var(--radio-dot-size-default);
|
|
7899
|
+
border-radius: var(--border-radius-full);
|
|
7900
|
+
background-color: var(--radio-color-default-dot);
|
|
7901
|
+
transform: scale(0);
|
|
7902
|
+
transition: transform 0.15s ease;
|
|
7903
|
+
}
|
|
7904
|
+
|
|
7905
|
+
.muka-radio--sm .muka-radio__dot {
|
|
7906
|
+
width: var(--radio-dot-size-sm);
|
|
7907
|
+
height: var(--radio-dot-size-sm);
|
|
7908
|
+
}
|
|
7909
|
+
|
|
7910
|
+
.muka-radio--lg .muka-radio__dot {
|
|
7911
|
+
width: var(--radio-dot-size-lg);
|
|
7912
|
+
height: var(--radio-dot-size-lg);
|
|
7913
|
+
}
|
|
7914
|
+
|
|
7915
|
+
/* Hover state - removed per design */
|
|
7916
|
+
|
|
7917
|
+
/* Focus state */
|
|
7918
|
+
.muka-radio__input:focus-visible + .muka-radio__indicator {
|
|
7919
|
+
outline: 2px solid var(--color-border-focus);
|
|
7920
|
+
outline-offset: 2px;
|
|
7921
|
+
}
|
|
7922
|
+
|
|
7923
|
+
/* Checked state */
|
|
7924
|
+
.muka-radio__input:checked + .muka-radio__indicator {
|
|
7925
|
+
background-color: var(--radio-color-checked-background);
|
|
7926
|
+
border-width: var(--border-width-bold);
|
|
7927
|
+
border-color: var(--radio-color-checked-border);
|
|
7928
|
+
box-shadow: none;
|
|
7929
|
+
}
|
|
7930
|
+
|
|
7931
|
+
.muka-radio__input:checked + .muka-radio__indicator .muka-radio__dot {
|
|
7932
|
+
background-color: var(--radio-color-checked-dot);
|
|
7933
|
+
transform: scale(1);
|
|
7934
|
+
}
|
|
7935
|
+
|
|
7936
|
+
/* Disabled state */
|
|
7937
|
+
.muka-radio--disabled .muka-radio__indicator {
|
|
7938
|
+
background-color: var(--radio-color-disabled-background);
|
|
7939
|
+
border-color: var(--radio-color-disabled-border);
|
|
7940
|
+
box-shadow: none;
|
|
7941
|
+
}
|
|
7942
|
+
|
|
7943
|
+
.muka-radio__input:disabled:checked + .muka-radio__indicator .muka-radio__dot {
|
|
7944
|
+
background-color: var(--radio-color-disabled-dot);
|
|
7945
|
+
}
|
|
7946
|
+
|
|
7947
|
+
/* Label text */
|
|
7948
|
+
.muka-radio__label {
|
|
7949
|
+
font-family: var(--text-label-lg-regular-fontFamily);
|
|
7950
|
+
font-weight: var(--text-label-lg-regular-fontWeight);
|
|
7951
|
+
font-size: var(--text-label-lg-regular-fontSize);
|
|
7952
|
+
line-height: var(--text-label-lg-regular-lineHeight);
|
|
7953
|
+
color: var(--color-text-default-default);
|
|
7954
|
+
}
|
|
7955
|
+
|
|
7956
|
+
.muka-radio--sm .muka-radio__label {
|
|
7957
|
+
font-family: var(--text-label-md-regular-fontFamily);
|
|
7958
|
+
font-weight: var(--text-label-md-regular-fontWeight);
|
|
7959
|
+
font-size: var(--text-label-md-regular-fontSize);
|
|
7960
|
+
line-height: var(--text-label-md-regular-lineHeight);
|
|
7961
|
+
}
|
|
7962
|
+
|
|
7963
|
+
.muka-radio--lg .muka-radio__label {
|
|
7964
|
+
font-family: var(--text-label-xl-regular-fontFamily);
|
|
7965
|
+
font-weight: var(--text-label-xl-regular-fontWeight);
|
|
7966
|
+
font-size: var(--text-label-xl-regular-fontSize);
|
|
7967
|
+
line-height: var(--text-label-xl-regular-lineHeight);
|
|
7968
|
+
}
|
|
7969
|
+
|
|
7970
|
+
.muka-radio--disabled .muka-radio__label {
|
|
7971
|
+
color: var(--color-text-subtle-default);
|
|
7972
|
+
}
|
|
7973
|
+
|
|
7974
|
+
|
|
7932
7975
|
/* ProgressAccordeon */
|
|
7933
7976
|
/* ProgressAccordeon Component Styles — Using Muka Design Tokens */
|
|
7934
7977
|
|
|
@@ -8570,6 +8613,37 @@ button.muka-progress-tracker__tab:focus-visible {
|
|
|
8570
8613
|
}
|
|
8571
8614
|
|
|
8572
8615
|
|
|
8616
|
+
/* Popover */
|
|
8617
|
+
/* Popover Component Styles */
|
|
8618
|
+
|
|
8619
|
+
.muka-popover__content {
|
|
8620
|
+
background-color: var(--color-surface-level3);
|
|
8621
|
+
border: var(--border-width-regular) solid var(--color-border-default);
|
|
8622
|
+
border-radius: var(--radius-md);
|
|
8623
|
+
padding: var(--spacing-4);
|
|
8624
|
+
box-shadow: var(--shadow-level3);
|
|
8625
|
+
max-width: 20rem;
|
|
8626
|
+
z-index: 50;
|
|
8627
|
+
animation: muka-popover-fade-in 150ms ease;
|
|
8628
|
+
}
|
|
8629
|
+
|
|
8630
|
+
@keyframes muka-popover-fade-in {
|
|
8631
|
+
from {
|
|
8632
|
+
opacity: 0;
|
|
8633
|
+
transform: scale(0.96);
|
|
8634
|
+
}
|
|
8635
|
+
to {
|
|
8636
|
+
opacity: 1;
|
|
8637
|
+
transform: scale(1);
|
|
8638
|
+
}
|
|
8639
|
+
}
|
|
8640
|
+
|
|
8641
|
+
/* Arrow */
|
|
8642
|
+
.muka-popover__arrow {
|
|
8643
|
+
fill: var(--color-surface-level3);
|
|
8644
|
+
}
|
|
8645
|
+
|
|
8646
|
+
|
|
8573
8647
|
/* PlanningGantt */
|
|
8574
8648
|
/* PlanningGantt (MUK-105) — one week per page, never scrolls horizontally. */
|
|
8575
8649
|
|
|
@@ -8967,37 +9041,6 @@ button.muka-progress-tracker__tab:focus-visible {
|
|
|
8967
9041
|
}
|
|
8968
9042
|
|
|
8969
9043
|
|
|
8970
|
-
/* Popover */
|
|
8971
|
-
/* Popover Component Styles */
|
|
8972
|
-
|
|
8973
|
-
.muka-popover__content {
|
|
8974
|
-
background-color: var(--color-surface-level3);
|
|
8975
|
-
border: var(--border-width-regular) solid var(--color-border-default);
|
|
8976
|
-
border-radius: var(--radius-md);
|
|
8977
|
-
padding: var(--spacing-4);
|
|
8978
|
-
box-shadow: var(--shadow-level3);
|
|
8979
|
-
max-width: 20rem;
|
|
8980
|
-
z-index: 50;
|
|
8981
|
-
animation: muka-popover-fade-in 150ms ease;
|
|
8982
|
-
}
|
|
8983
|
-
|
|
8984
|
-
@keyframes muka-popover-fade-in {
|
|
8985
|
-
from {
|
|
8986
|
-
opacity: 0;
|
|
8987
|
-
transform: scale(0.96);
|
|
8988
|
-
}
|
|
8989
|
-
to {
|
|
8990
|
-
opacity: 1;
|
|
8991
|
-
transform: scale(1);
|
|
8992
|
-
}
|
|
8993
|
-
}
|
|
8994
|
-
|
|
8995
|
-
/* Arrow */
|
|
8996
|
-
.muka-popover__arrow {
|
|
8997
|
-
fill: var(--color-surface-level3);
|
|
8998
|
-
}
|
|
8999
|
-
|
|
9000
|
-
|
|
9001
9044
|
/* PieChart */
|
|
9002
9045
|
/* PieChart Component Styles - Using Muka Design Tokens */
|
|
9003
9046
|
|
|
@@ -10690,263 +10733,85 @@ li.muka-listitem {
|
|
|
10690
10733
|
.muka-license-plate-input__plate--sm .muka-license-plate-input__native {
|
|
10691
10734
|
font-size: 22px;
|
|
10692
10735
|
}
|
|
10693
|
-
|
|
10694
|
-
.muka-license-plate-input__plate--md .muka-license-plate-input__native {
|
|
10695
|
-
font-size: 30px;
|
|
10696
|
-
}
|
|
10697
|
-
|
|
10698
|
-
.muka-license-plate-input__plate--lg .muka-license-plate-input__native {
|
|
10699
|
-
font-size: 42px;
|
|
10700
|
-
}
|
|
10701
|
-
|
|
10702
|
-
.muka-license-plate-input__native::placeholder {
|
|
10703
|
-
color: var(--plate-text);
|
|
10704
|
-
opacity: 0.55;
|
|
10705
|
-
font-weight: 700;
|
|
10706
|
-
letter-spacing: 0.08em;
|
|
10707
|
-
}
|
|
10708
|
-
|
|
10709
|
-
.muka-license-plate-input__plate--disabled .muka-license-plate-input__native {
|
|
10710
|
-
cursor: not-allowed;
|
|
10711
|
-
}
|
|
10712
|
-
|
|
10713
|
-
/* Helper text */
|
|
10714
|
-
.muka-license-plate-input__helper {
|
|
10715
|
-
font-family: var(--text-label-sm-regular-fontFamily);
|
|
10716
|
-
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
10717
|
-
font-size: var(--text-label-sm-regular-fontSize);
|
|
10718
|
-
line-height: var(--text-label-sm-regular-lineHeight);
|
|
10719
|
-
color: var(--color-text-subtle-default);
|
|
10720
|
-
margin: 0;
|
|
10721
|
-
}
|
|
10722
|
-
|
|
10723
|
-
/* Error message */
|
|
10724
|
-
.muka-license-plate-input__error {
|
|
10725
|
-
font-family: var(--text-label-sm-regular-fontFamily);
|
|
10726
|
-
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
10727
|
-
font-size: var(--text-label-sm-regular-fontSize);
|
|
10728
|
-
line-height: var(--text-label-sm-regular-lineHeight);
|
|
10729
|
-
color: var(--color-state-error-default);
|
|
10730
|
-
margin: 0;
|
|
10731
|
-
}
|
|
10732
|
-
|
|
10733
|
-
|
|
10734
|
-
/* Label */
|
|
10735
|
-
/* Label Component Styles - Using Muka Design Tokens */
|
|
10736
|
-
|
|
10737
|
-
.muka-label {
|
|
10738
|
-
display: inline-flex;
|
|
10739
|
-
align-items: center;
|
|
10740
|
-
color: var(--color-text-default-default);
|
|
10741
|
-
cursor: pointer;
|
|
10742
|
-
}
|
|
10743
|
-
|
|
10744
|
-
.muka-label--sm {
|
|
10745
|
-
font-family: var(--text-label-sm-semibold-fontFamily);
|
|
10746
|
-
font-weight: var(--text-label-sm-semibold-fontWeight);
|
|
10747
|
-
font-size: var(--text-label-sm-semibold-fontSize);
|
|
10748
|
-
line-height: var(--text-label-sm-semibold-lineHeight);
|
|
10749
|
-
}
|
|
10750
|
-
|
|
10751
|
-
.muka-label--md {
|
|
10752
|
-
font-family: var(--text-label-md-semibold-fontFamily);
|
|
10753
|
-
font-weight: var(--text-label-md-semibold-fontWeight);
|
|
10754
|
-
font-size: var(--text-label-md-semibold-fontSize);
|
|
10755
|
-
line-height: var(--text-label-md-semibold-lineHeight);
|
|
10756
|
-
}
|
|
10757
|
-
|
|
10758
|
-
.muka-label--lg {
|
|
10759
|
-
font-family: var(--text-label-lg-semibold-fontFamily);
|
|
10760
|
-
font-weight: var(--text-label-lg-semibold-fontWeight);
|
|
10761
|
-
font-size: var(--text-label-lg-semibold-fontSize);
|
|
10762
|
-
line-height: var(--text-label-lg-semibold-lineHeight);
|
|
10763
|
-
}
|
|
10764
|
-
|
|
10765
|
-
.muka-label--disabled {
|
|
10766
|
-
color: var(--color-text-subtle-default);
|
|
10767
|
-
cursor: not-allowed;
|
|
10768
|
-
}
|
|
10769
|
-
|
|
10770
|
-
.muka-label__required {
|
|
10771
|
-
color: var(--color-state-error-default);
|
|
10772
|
-
}
|
|
10773
|
-
|
|
10774
|
-
|
|
10775
|
-
/* InputCounter */
|
|
10776
|
-
/* InputCounter — numeric field + joined decrement/increment buttons.
|
|
10777
|
-
Label, helper and error text reuse Input.css (../Input/Input.css).
|
|
10778
|
-
Field and button group share one radius per size:
|
|
10779
|
-
sm/md → input.field.radius.md, lg → input.field.radius.lg. */
|
|
10780
|
-
|
|
10781
|
-
.muka-inputcounter {
|
|
10782
|
-
--muka-inputcounter-radius: var(--input-field-radius-md);
|
|
10783
|
-
--muka-inputcounter-height: var(--input-field-height-default);
|
|
10784
|
-
--muka-inputcounter-pad: calc(var(--spacing-2) + var(--spacing-1));
|
|
10785
|
-
--muka-inputcounter-min: var(--size-3xl);
|
|
10786
|
-
|
|
10787
|
-
display: inline-flex;
|
|
10788
|
-
flex-direction: column;
|
|
10789
|
-
gap: var(--spacing-2);
|
|
10790
|
-
}
|
|
10791
|
-
|
|
10792
|
-
.muka-inputcounter--sm {
|
|
10793
|
-
--muka-inputcounter-height: var(--input-field-height-sm);
|
|
10794
|
-
--muka-inputcounter-pad: calc(var(--spacing-1) + var(--spacing-1));
|
|
10795
|
-
--muka-inputcounter-min: var(--size-2xl);
|
|
10796
|
-
}
|
|
10797
|
-
|
|
10798
|
-
.muka-inputcounter--lg {
|
|
10799
|
-
--muka-inputcounter-radius: var(--input-field-radius-lg);
|
|
10800
|
-
--muka-inputcounter-height: var(--input-field-height-lg);
|
|
10801
|
-
}
|
|
10802
|
-
|
|
10803
|
-
/* Label row — label, info tooltip trigger, optional hint */
|
|
10804
|
-
.muka-inputcounter__label-row {
|
|
10805
|
-
display: flex;
|
|
10806
|
-
align-items: center;
|
|
10807
|
-
gap: var(--spacing-2);
|
|
10808
|
-
min-height: var(--size-xl);
|
|
10809
|
-
}
|
|
10810
|
-
|
|
10811
|
-
.muka-inputcounter__info {
|
|
10812
|
-
display: inline-flex;
|
|
10813
|
-
align-items: center;
|
|
10814
|
-
justify-content: center;
|
|
10815
|
-
padding: 0;
|
|
10816
|
-
border: none;
|
|
10817
|
-
border-radius: 50%;
|
|
10818
|
-
background: transparent;
|
|
10819
|
-
cursor: pointer;
|
|
10820
|
-
}
|
|
10821
|
-
|
|
10822
|
-
.muka-inputcounter__info .muka-icon {
|
|
10823
|
-
color: var(--color-action-default);
|
|
10824
|
-
}
|
|
10825
|
-
|
|
10826
|
-
.muka-inputcounter__info:focus-visible {
|
|
10827
|
-
outline: 2px solid var(--color-border-focus);
|
|
10828
|
-
outline-offset: 2px;
|
|
10829
|
-
}
|
|
10830
|
-
|
|
10831
|
-
.muka-inputcounter__optional {
|
|
10832
|
-
font-family: var(--text-label-sm-regular-fontFamily);
|
|
10833
|
-
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
10834
|
-
font-size: var(--text-label-sm-regular-fontSize);
|
|
10835
|
-
line-height: var(--text-label-sm-regular-lineHeight);
|
|
10836
|
-
color: var(--color-text-subtle-default);
|
|
10837
|
-
}
|
|
10838
|
-
|
|
10839
|
-
/* Field + button group */
|
|
10840
|
-
.muka-inputcounter__row {
|
|
10841
|
-
display: flex;
|
|
10842
|
-
align-items: center;
|
|
10843
|
-
gap: var(--spacing-3);
|
|
10844
|
-
}
|
|
10845
|
-
|
|
10846
|
-
/* Field — grows with the value (in ch), never narrower than the Figma width.
|
|
10847
|
-
Padding sits on the native input so the 2px focus/error border doesn't
|
|
10848
|
-
need compensating: content is centred in a fixed box. */
|
|
10849
|
-
.muka-inputcounter__field {
|
|
10850
|
-
position: relative;
|
|
10851
|
-
display: flex;
|
|
10852
|
-
align-items: center;
|
|
10853
|
-
box-sizing: border-box;
|
|
10854
|
-
height: var(--muka-inputcounter-height);
|
|
10855
|
-
width: calc(
|
|
10856
|
-
max(var(--muka-inputcounter-min), calc(var(--muka-inputcounter-chars, 1) * 1ch)) +
|
|
10857
|
-
2 * var(--muka-inputcounter-pad) + 2 * var(--border-width-regular)
|
|
10858
|
-
);
|
|
10859
|
-
background-color: var(--input-field-color-default-background);
|
|
10860
|
-
border: var(--border-width-regular) solid var(--input-field-color-default-border);
|
|
10861
|
-
border-radius: var(--muka-inputcounter-radius);
|
|
10862
|
-
transition: border-color 0.2s ease, background-color 0.2s ease;
|
|
10863
|
-
}
|
|
10864
|
-
|
|
10865
|
-
.muka-inputcounter__field::after {
|
|
10866
|
-
content: '';
|
|
10867
|
-
position: absolute;
|
|
10868
|
-
inset: 0;
|
|
10869
|
-
border-radius: inherit;
|
|
10870
|
-
box-shadow: var(--shadow-sunken);
|
|
10871
|
-
pointer-events: none;
|
|
10872
|
-
}
|
|
10873
|
-
|
|
10874
|
-
.muka-inputcounter__field--focused:not(.muka-inputcounter__field--disabled) {
|
|
10875
|
-
border-width: var(--border-width-bold);
|
|
10876
|
-
border-color: var(--input-field-color-focus-border);
|
|
10877
|
-
background-color: var(--input-field-color-focus-background);
|
|
10878
|
-
}
|
|
10879
|
-
|
|
10880
|
-
.muka-inputcounter__field--error:not(.muka-inputcounter__field--disabled) {
|
|
10881
|
-
border-width: var(--border-width-bold);
|
|
10882
|
-
border-color: var(--input-field-color-error-border);
|
|
10883
|
-
background-color: var(--input-field-color-error-background);
|
|
10884
|
-
}
|
|
10885
|
-
|
|
10886
|
-
.muka-inputcounter__field--disabled {
|
|
10887
|
-
background-color: var(--input-field-color-disabled-background);
|
|
10888
|
-
border-color: var(--input-field-color-disabled-border);
|
|
10889
|
-
}
|
|
10890
|
-
|
|
10891
|
-
.muka-inputcounter__field--disabled::after {
|
|
10892
|
-
display: none;
|
|
10893
|
-
}
|
|
10894
|
-
|
|
10895
|
-
.muka-inputcounter__native {
|
|
10896
|
-
width: 100%;
|
|
10897
|
-
min-width: 0;
|
|
10898
|
-
height: 100%;
|
|
10899
|
-
box-sizing: border-box;
|
|
10900
|
-
padding: 0 calc(var(--muka-inputcounter-pad) - var(--border-width-regular));
|
|
10901
|
-
border: none;
|
|
10902
|
-
outline: none;
|
|
10903
|
-
background: transparent;
|
|
10904
|
-
text-align: center;
|
|
10905
|
-
font-variant-numeric: tabular-nums;
|
|
10906
|
-
color: var(--input-field-color-default-foreground);
|
|
10907
|
-
font-family: var(--text-input-md-fontFamily);
|
|
10908
|
-
font-weight: var(--text-input-md-fontWeight);
|
|
10909
|
-
font-size: var(--text-input-md-fontSize);
|
|
10910
|
-
line-height: var(--text-input-md-lineHeight);
|
|
10736
|
+
|
|
10737
|
+
.muka-license-plate-input__plate--md .muka-license-plate-input__native {
|
|
10738
|
+
font-size: 30px;
|
|
10911
10739
|
}
|
|
10912
10740
|
|
|
10913
|
-
.muka-
|
|
10914
|
-
font-
|
|
10915
|
-
font-weight: var(--text-input-sm-fontWeight);
|
|
10916
|
-
font-size: var(--text-input-sm-fontSize);
|
|
10917
|
-
line-height: var(--text-input-sm-lineHeight);
|
|
10741
|
+
.muka-license-plate-input__plate--lg .muka-license-plate-input__native {
|
|
10742
|
+
font-size: 42px;
|
|
10918
10743
|
}
|
|
10919
10744
|
|
|
10920
|
-
.muka-
|
|
10921
|
-
color: var(--
|
|
10745
|
+
.muka-license-plate-input__native::placeholder {
|
|
10746
|
+
color: var(--plate-text);
|
|
10747
|
+
opacity: 0.55;
|
|
10748
|
+
font-weight: 700;
|
|
10749
|
+
letter-spacing: 0.08em;
|
|
10750
|
+
}
|
|
10751
|
+
|
|
10752
|
+
.muka-license-plate-input__plate--disabled .muka-license-plate-input__native {
|
|
10922
10753
|
cursor: not-allowed;
|
|
10923
10754
|
}
|
|
10924
10755
|
|
|
10925
|
-
/*
|
|
10926
|
-
|
|
10927
|
-
|
|
10756
|
+
/* Helper text */
|
|
10757
|
+
.muka-license-plate-input__helper {
|
|
10758
|
+
font-family: var(--text-label-sm-regular-fontFamily);
|
|
10759
|
+
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
10760
|
+
font-size: var(--text-label-sm-regular-fontSize);
|
|
10761
|
+
line-height: var(--text-label-sm-regular-lineHeight);
|
|
10762
|
+
color: var(--color-text-subtle-default);
|
|
10763
|
+
margin: 0;
|
|
10764
|
+
}
|
|
10765
|
+
|
|
10766
|
+
/* Error message */
|
|
10767
|
+
.muka-license-plate-input__error {
|
|
10768
|
+
font-family: var(--text-label-sm-regular-fontFamily);
|
|
10769
|
+
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
10770
|
+
font-size: var(--text-label-sm-regular-fontSize);
|
|
10771
|
+
line-height: var(--text-label-sm-regular-lineHeight);
|
|
10772
|
+
color: var(--color-state-error-default);
|
|
10773
|
+
margin: 0;
|
|
10774
|
+
}
|
|
10775
|
+
|
|
10776
|
+
|
|
10777
|
+
/* Label */
|
|
10778
|
+
/* Label Component Styles - Using Muka Design Tokens */
|
|
10779
|
+
|
|
10780
|
+
.muka-label {
|
|
10928
10781
|
display: inline-flex;
|
|
10929
|
-
align-items:
|
|
10782
|
+
align-items: center;
|
|
10783
|
+
color: var(--color-text-default-default);
|
|
10784
|
+
cursor: pointer;
|
|
10930
10785
|
}
|
|
10931
10786
|
|
|
10932
|
-
.muka-
|
|
10933
|
-
|
|
10787
|
+
.muka-label--sm {
|
|
10788
|
+
font-family: var(--text-label-sm-semibold-fontFamily);
|
|
10789
|
+
font-weight: var(--text-label-sm-semibold-fontWeight);
|
|
10790
|
+
font-size: var(--text-label-sm-semibold-fontSize);
|
|
10791
|
+
line-height: var(--text-label-sm-semibold-lineHeight);
|
|
10934
10792
|
}
|
|
10935
10793
|
|
|
10936
|
-
.muka-
|
|
10937
|
-
|
|
10938
|
-
|
|
10794
|
+
.muka-label--md {
|
|
10795
|
+
font-family: var(--text-label-md-semibold-fontFamily);
|
|
10796
|
+
font-weight: var(--text-label-md-semibold-fontWeight);
|
|
10797
|
+
font-size: var(--text-label-md-semibold-fontSize);
|
|
10798
|
+
line-height: var(--text-label-md-semibold-lineHeight);
|
|
10939
10799
|
}
|
|
10940
10800
|
|
|
10941
|
-
.muka-
|
|
10942
|
-
|
|
10943
|
-
|
|
10801
|
+
.muka-label--lg {
|
|
10802
|
+
font-family: var(--text-label-lg-semibold-fontFamily);
|
|
10803
|
+
font-weight: var(--text-label-lg-semibold-fontWeight);
|
|
10804
|
+
font-size: var(--text-label-lg-semibold-fontSize);
|
|
10805
|
+
line-height: var(--text-label-lg-semibold-lineHeight);
|
|
10944
10806
|
}
|
|
10945
10807
|
|
|
10946
|
-
.muka-
|
|
10947
|
-
|
|
10948
|
-
|
|
10949
|
-
|
|
10808
|
+
.muka-label--disabled {
|
|
10809
|
+
color: var(--color-text-subtle-default);
|
|
10810
|
+
cursor: not-allowed;
|
|
10811
|
+
}
|
|
10812
|
+
|
|
10813
|
+
.muka-label__required {
|
|
10814
|
+
color: var(--color-state-error-default);
|
|
10950
10815
|
}
|
|
10951
10816
|
|
|
10952
10817
|
|
|
@@ -11251,37 +11116,215 @@ li.muka-listitem {
|
|
|
11251
11116
|
color: var(--color-icon-subtle-default);
|
|
11252
11117
|
}
|
|
11253
11118
|
|
|
11254
|
-
.muka-icon--muted {
|
|
11255
|
-
color: var(--color-icon-muted-default);
|
|
11119
|
+
.muka-icon--muted {
|
|
11120
|
+
color: var(--color-icon-muted-default);
|
|
11121
|
+
}
|
|
11122
|
+
|
|
11123
|
+
.muka-icon--inverse {
|
|
11124
|
+
color: var(--color-icon-default-inverse);
|
|
11125
|
+
}
|
|
11126
|
+
|
|
11127
|
+
.muka-icon--xs {
|
|
11128
|
+
width: var(--icon-size-xs);
|
|
11129
|
+
height: var(--icon-size-xs);
|
|
11130
|
+
}
|
|
11131
|
+
|
|
11132
|
+
.muka-icon--sm {
|
|
11133
|
+
width: var(--icon-size-sm);
|
|
11134
|
+
height: var(--icon-size-sm);
|
|
11135
|
+
}
|
|
11136
|
+
|
|
11137
|
+
.muka-icon--md {
|
|
11138
|
+
width: var(--icon-size-default);
|
|
11139
|
+
height: var(--icon-size-default);
|
|
11140
|
+
}
|
|
11141
|
+
|
|
11142
|
+
.muka-icon--lg {
|
|
11143
|
+
width: var(--icon-size-lg);
|
|
11144
|
+
height: var(--icon-size-lg);
|
|
11145
|
+
}
|
|
11146
|
+
|
|
11147
|
+
.muka-icon svg {
|
|
11148
|
+
width: 100%;
|
|
11149
|
+
height: 100%;
|
|
11150
|
+
}
|
|
11151
|
+
|
|
11152
|
+
|
|
11153
|
+
/* InputCounter */
|
|
11154
|
+
/* InputCounter — numeric field + joined decrement/increment buttons.
|
|
11155
|
+
Label, helper and error text reuse Input.css (../Input/Input.css).
|
|
11156
|
+
Field and button group share one radius per size:
|
|
11157
|
+
sm/md → input.field.radius.md, lg → input.field.radius.lg. */
|
|
11158
|
+
|
|
11159
|
+
.muka-inputcounter {
|
|
11160
|
+
--muka-inputcounter-radius: var(--input-field-radius-md);
|
|
11161
|
+
--muka-inputcounter-height: var(--input-field-height-default);
|
|
11162
|
+
--muka-inputcounter-pad: calc(var(--spacing-2) + var(--spacing-1));
|
|
11163
|
+
--muka-inputcounter-min: var(--size-3xl);
|
|
11164
|
+
|
|
11165
|
+
display: inline-flex;
|
|
11166
|
+
flex-direction: column;
|
|
11167
|
+
gap: var(--spacing-2);
|
|
11168
|
+
}
|
|
11169
|
+
|
|
11170
|
+
.muka-inputcounter--sm {
|
|
11171
|
+
--muka-inputcounter-height: var(--input-field-height-sm);
|
|
11172
|
+
--muka-inputcounter-pad: calc(var(--spacing-1) + var(--spacing-1));
|
|
11173
|
+
--muka-inputcounter-min: var(--size-2xl);
|
|
11174
|
+
}
|
|
11175
|
+
|
|
11176
|
+
.muka-inputcounter--lg {
|
|
11177
|
+
--muka-inputcounter-radius: var(--input-field-radius-lg);
|
|
11178
|
+
--muka-inputcounter-height: var(--input-field-height-lg);
|
|
11179
|
+
}
|
|
11180
|
+
|
|
11181
|
+
/* Label row — label, info tooltip trigger, optional hint */
|
|
11182
|
+
.muka-inputcounter__label-row {
|
|
11183
|
+
display: flex;
|
|
11184
|
+
align-items: center;
|
|
11185
|
+
gap: var(--spacing-2);
|
|
11186
|
+
min-height: var(--size-xl);
|
|
11187
|
+
}
|
|
11188
|
+
|
|
11189
|
+
.muka-inputcounter__info {
|
|
11190
|
+
display: inline-flex;
|
|
11191
|
+
align-items: center;
|
|
11192
|
+
justify-content: center;
|
|
11193
|
+
padding: 0;
|
|
11194
|
+
border: none;
|
|
11195
|
+
border-radius: 50%;
|
|
11196
|
+
background: transparent;
|
|
11197
|
+
cursor: pointer;
|
|
11198
|
+
}
|
|
11199
|
+
|
|
11200
|
+
.muka-inputcounter__info .muka-icon {
|
|
11201
|
+
color: var(--color-action-default);
|
|
11202
|
+
}
|
|
11203
|
+
|
|
11204
|
+
.muka-inputcounter__info:focus-visible {
|
|
11205
|
+
outline: 2px solid var(--color-border-focus);
|
|
11206
|
+
outline-offset: 2px;
|
|
11207
|
+
}
|
|
11208
|
+
|
|
11209
|
+
.muka-inputcounter__optional {
|
|
11210
|
+
font-family: var(--text-label-sm-regular-fontFamily);
|
|
11211
|
+
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
11212
|
+
font-size: var(--text-label-sm-regular-fontSize);
|
|
11213
|
+
line-height: var(--text-label-sm-regular-lineHeight);
|
|
11214
|
+
color: var(--color-text-subtle-default);
|
|
11215
|
+
}
|
|
11216
|
+
|
|
11217
|
+
/* Field + button group */
|
|
11218
|
+
.muka-inputcounter__row {
|
|
11219
|
+
display: flex;
|
|
11220
|
+
align-items: center;
|
|
11221
|
+
gap: var(--spacing-3);
|
|
11222
|
+
}
|
|
11223
|
+
|
|
11224
|
+
/* Field — grows with the value (in ch), never narrower than the Figma width.
|
|
11225
|
+
Padding sits on the native input so the 2px focus/error border doesn't
|
|
11226
|
+
need compensating: content is centred in a fixed box. */
|
|
11227
|
+
.muka-inputcounter__field {
|
|
11228
|
+
position: relative;
|
|
11229
|
+
display: flex;
|
|
11230
|
+
align-items: center;
|
|
11231
|
+
box-sizing: border-box;
|
|
11232
|
+
height: var(--muka-inputcounter-height);
|
|
11233
|
+
width: calc(
|
|
11234
|
+
max(var(--muka-inputcounter-min), calc(var(--muka-inputcounter-chars, 1) * 1ch)) +
|
|
11235
|
+
2 * var(--muka-inputcounter-pad) + 2 * var(--border-width-regular)
|
|
11236
|
+
);
|
|
11237
|
+
background-color: var(--input-field-color-default-background);
|
|
11238
|
+
border: var(--border-width-regular) solid var(--input-field-color-default-border);
|
|
11239
|
+
border-radius: var(--muka-inputcounter-radius);
|
|
11240
|
+
transition: border-color 0.2s ease, background-color 0.2s ease;
|
|
11241
|
+
}
|
|
11242
|
+
|
|
11243
|
+
.muka-inputcounter__field::after {
|
|
11244
|
+
content: '';
|
|
11245
|
+
position: absolute;
|
|
11246
|
+
inset: 0;
|
|
11247
|
+
border-radius: inherit;
|
|
11248
|
+
box-shadow: var(--shadow-sunken);
|
|
11249
|
+
pointer-events: none;
|
|
11250
|
+
}
|
|
11251
|
+
|
|
11252
|
+
.muka-inputcounter__field--focused:not(.muka-inputcounter__field--disabled) {
|
|
11253
|
+
border-width: var(--border-width-bold);
|
|
11254
|
+
border-color: var(--input-field-color-focus-border);
|
|
11255
|
+
background-color: var(--input-field-color-focus-background);
|
|
11256
|
+
}
|
|
11257
|
+
|
|
11258
|
+
.muka-inputcounter__field--error:not(.muka-inputcounter__field--disabled) {
|
|
11259
|
+
border-width: var(--border-width-bold);
|
|
11260
|
+
border-color: var(--input-field-color-error-border);
|
|
11261
|
+
background-color: var(--input-field-color-error-background);
|
|
11262
|
+
}
|
|
11263
|
+
|
|
11264
|
+
.muka-inputcounter__field--disabled {
|
|
11265
|
+
background-color: var(--input-field-color-disabled-background);
|
|
11266
|
+
border-color: var(--input-field-color-disabled-border);
|
|
11267
|
+
}
|
|
11268
|
+
|
|
11269
|
+
.muka-inputcounter__field--disabled::after {
|
|
11270
|
+
display: none;
|
|
11271
|
+
}
|
|
11272
|
+
|
|
11273
|
+
.muka-inputcounter__native {
|
|
11274
|
+
width: 100%;
|
|
11275
|
+
min-width: 0;
|
|
11276
|
+
height: 100%;
|
|
11277
|
+
box-sizing: border-box;
|
|
11278
|
+
padding: 0 calc(var(--muka-inputcounter-pad) - var(--border-width-regular));
|
|
11279
|
+
border: none;
|
|
11280
|
+
outline: none;
|
|
11281
|
+
background: transparent;
|
|
11282
|
+
text-align: center;
|
|
11283
|
+
font-variant-numeric: tabular-nums;
|
|
11284
|
+
color: var(--input-field-color-default-foreground);
|
|
11285
|
+
font-family: var(--text-input-md-fontFamily);
|
|
11286
|
+
font-weight: var(--text-input-md-fontWeight);
|
|
11287
|
+
font-size: var(--text-input-md-fontSize);
|
|
11288
|
+
line-height: var(--text-input-md-lineHeight);
|
|
11289
|
+
}
|
|
11290
|
+
|
|
11291
|
+
.muka-inputcounter--sm .muka-inputcounter__native {
|
|
11292
|
+
font-family: var(--text-input-sm-fontFamily);
|
|
11293
|
+
font-weight: var(--text-input-sm-fontWeight);
|
|
11294
|
+
font-size: var(--text-input-sm-fontSize);
|
|
11295
|
+
line-height: var(--text-input-sm-lineHeight);
|
|
11256
11296
|
}
|
|
11257
11297
|
|
|
11258
|
-
.muka-
|
|
11259
|
-
color: var(--color-
|
|
11298
|
+
.muka-inputcounter__field--disabled .muka-inputcounter__native {
|
|
11299
|
+
color: var(--input-field-color-disabled-foreground);
|
|
11300
|
+
cursor: not-allowed;
|
|
11260
11301
|
}
|
|
11261
11302
|
|
|
11262
|
-
|
|
11263
|
-
|
|
11264
|
-
|
|
11303
|
+
/* Button group — secondary icon-only Buttons joined by a divider.
|
|
11304
|
+
Only the outer corners are rounded. */
|
|
11305
|
+
.muka-inputcounter__group {
|
|
11306
|
+
display: inline-flex;
|
|
11307
|
+
align-items: stretch;
|
|
11265
11308
|
}
|
|
11266
11309
|
|
|
11267
|
-
.muka-
|
|
11268
|
-
|
|
11269
|
-
height: var(--icon-size-sm);
|
|
11310
|
+
.muka-inputcounter__group .muka-button {
|
|
11311
|
+
border-radius: 0;
|
|
11270
11312
|
}
|
|
11271
11313
|
|
|
11272
|
-
.muka-
|
|
11273
|
-
|
|
11274
|
-
|
|
11314
|
+
.muka-inputcounter__group .muka-button:first-child {
|
|
11315
|
+
border-start-start-radius: var(--muka-inputcounter-radius);
|
|
11316
|
+
border-end-start-radius: var(--muka-inputcounter-radius);
|
|
11275
11317
|
}
|
|
11276
11318
|
|
|
11277
|
-
.muka-
|
|
11278
|
-
|
|
11279
|
-
|
|
11319
|
+
.muka-inputcounter__group .muka-button:last-child {
|
|
11320
|
+
border-start-end-radius: var(--muka-inputcounter-radius);
|
|
11321
|
+
border-end-end-radius: var(--muka-inputcounter-radius);
|
|
11280
11322
|
}
|
|
11281
11323
|
|
|
11282
|
-
.muka-
|
|
11283
|
-
|
|
11284
|
-
|
|
11324
|
+
.muka-inputcounter__divider {
|
|
11325
|
+
flex: none;
|
|
11326
|
+
width: var(--border-width-regular);
|
|
11327
|
+
background-color: var(--color-border-default);
|
|
11285
11328
|
}
|
|
11286
11329
|
|
|
11287
11330
|
|
|
@@ -13591,17 +13634,241 @@ li.muka-listitem {
|
|
|
13591
13634
|
}
|
|
13592
13635
|
}
|
|
13593
13636
|
|
|
13594
|
-
.muka-data-pie-chart__value {
|
|
13637
|
+
.muka-data-pie-chart__value {
|
|
13638
|
+
position: absolute;
|
|
13639
|
+
inset: 0;
|
|
13640
|
+
display: flex;
|
|
13641
|
+
align-items: center;
|
|
13642
|
+
justify-content: center;
|
|
13643
|
+
font-family: var(--text-body-base-bold-fontFamily);
|
|
13644
|
+
font-weight: var(--text-body-base-bold-fontWeight);
|
|
13645
|
+
font-size: var(--text-body-base-bold-fontSize);
|
|
13646
|
+
line-height: var(--text-body-base-bold-lineHeight);
|
|
13647
|
+
color: var(--color-text-default-default);
|
|
13648
|
+
}
|
|
13649
|
+
|
|
13650
|
+
|
|
13651
|
+
/* Container */
|
|
13652
|
+
/* Container Component - Layout tokens (container.max-width, container.gap) */
|
|
13653
|
+
|
|
13654
|
+
.muka-container {
|
|
13655
|
+
box-sizing: border-box;
|
|
13656
|
+
width: 100%;
|
|
13657
|
+
margin-inline: auto;
|
|
13658
|
+
}
|
|
13659
|
+
|
|
13660
|
+
/* Max-width variants */
|
|
13661
|
+
.muka-container--max-width-small {
|
|
13662
|
+
max-width: var(--container-max-width-small);
|
|
13663
|
+
}
|
|
13664
|
+
|
|
13665
|
+
.muka-container--max-width-medium {
|
|
13666
|
+
max-width: var(--container-max-width-medium);
|
|
13667
|
+
}
|
|
13668
|
+
|
|
13669
|
+
.muka-container--max-width-large {
|
|
13670
|
+
max-width: var(--container-max-width-large);
|
|
13671
|
+
}
|
|
13672
|
+
|
|
13673
|
+
.muka-container--max-width-xlarge {
|
|
13674
|
+
max-width: var(--container-max-width-xlarge);
|
|
13675
|
+
}
|
|
13676
|
+
|
|
13677
|
+
/* No gap — max-width only, no flex */
|
|
13678
|
+
.muka-container--gap-none {
|
|
13679
|
+
/* block layout by default */
|
|
13680
|
+
}
|
|
13681
|
+
|
|
13682
|
+
/* Gap variants — flex column with token gap */
|
|
13683
|
+
.muka-container--gap-compact {
|
|
13684
|
+
display: flex;
|
|
13685
|
+
flex-direction: column;
|
|
13686
|
+
gap: var(--container-gap-compact);
|
|
13687
|
+
}
|
|
13688
|
+
|
|
13689
|
+
.muka-container--gap-default {
|
|
13690
|
+
display: flex;
|
|
13691
|
+
flex-direction: column;
|
|
13692
|
+
gap: var(--container-gap-default);
|
|
13693
|
+
}
|
|
13694
|
+
|
|
13695
|
+
.muka-container--gap-spacious {
|
|
13696
|
+
display: flex;
|
|
13697
|
+
flex-direction: column;
|
|
13698
|
+
gap: var(--container-gap-spacious);
|
|
13699
|
+
}
|
|
13700
|
+
|
|
13701
|
+
|
|
13702
|
+
/* Combobox */
|
|
13703
|
+
/* Combobox — Figma Input Combobox (free-input chips + suggestion Menu) */
|
|
13704
|
+
|
|
13705
|
+
.muka-combobox {
|
|
13706
|
+
display: inline-flex;
|
|
13707
|
+
flex-direction: column;
|
|
13708
|
+
gap: var(--spacing-2);
|
|
13709
|
+
min-width: 200px;
|
|
13710
|
+
}
|
|
13711
|
+
|
|
13712
|
+
.muka-combobox--full-width {
|
|
13713
|
+
width: 100%;
|
|
13714
|
+
}
|
|
13715
|
+
|
|
13716
|
+
.muka-combobox__label {
|
|
13717
|
+
color: var(--color-text-default-default);
|
|
13718
|
+
cursor: pointer;
|
|
13719
|
+
}
|
|
13720
|
+
|
|
13721
|
+
.muka-combobox__label--sm {
|
|
13722
|
+
font-family: var(--text-label-sm-semibold-fontFamily);
|
|
13723
|
+
font-weight: var(--text-label-sm-semibold-fontWeight);
|
|
13724
|
+
font-size: var(--text-label-sm-semibold-fontSize);
|
|
13725
|
+
line-height: var(--text-label-sm-semibold-lineHeight);
|
|
13726
|
+
}
|
|
13727
|
+
|
|
13728
|
+
.muka-combobox__label--md {
|
|
13729
|
+
font-family: var(--text-label-md-semibold-fontFamily);
|
|
13730
|
+
font-weight: var(--text-label-md-semibold-fontWeight);
|
|
13731
|
+
font-size: var(--text-label-md-semibold-fontSize);
|
|
13732
|
+
line-height: var(--text-label-md-semibold-lineHeight);
|
|
13733
|
+
}
|
|
13734
|
+
|
|
13735
|
+
.muka-combobox__label--lg {
|
|
13736
|
+
font-family: var(--text-label-lg-semibold-fontFamily);
|
|
13737
|
+
font-weight: var(--text-label-lg-semibold-fontWeight);
|
|
13738
|
+
font-size: var(--text-label-lg-semibold-fontSize);
|
|
13739
|
+
line-height: var(--text-label-lg-semibold-lineHeight);
|
|
13740
|
+
}
|
|
13741
|
+
|
|
13742
|
+
.muka-combobox__field {
|
|
13743
|
+
display: flex;
|
|
13744
|
+
align-items: center;
|
|
13745
|
+
width: 100%;
|
|
13746
|
+
position: relative;
|
|
13747
|
+
isolation: isolate;
|
|
13748
|
+
box-sizing: border-box;
|
|
13749
|
+
background-color: var(--input-field-color-default-background);
|
|
13750
|
+
border: var(--border-width-regular) solid var(--input-field-color-default-border);
|
|
13751
|
+
border-radius: var(--input-field-radius-lg);
|
|
13752
|
+
padding: var(--spacing-2);
|
|
13753
|
+
cursor: text;
|
|
13754
|
+
transition: border-color 0.12s ease, background-color 0.12s ease;
|
|
13755
|
+
}
|
|
13756
|
+
|
|
13757
|
+
.muka-combobox__field::after {
|
|
13758
|
+
content: '';
|
|
13759
|
+
position: absolute;
|
|
13760
|
+
inset: 0;
|
|
13761
|
+
border-radius: inherit;
|
|
13762
|
+
box-shadow: inset 0 1px 2px 0 rgba(26, 26, 26, 0.08);
|
|
13763
|
+
pointer-events: none;
|
|
13764
|
+
}
|
|
13765
|
+
|
|
13766
|
+
.muka-combobox__field--sm {
|
|
13767
|
+
min-height: var(--input-field-height-sm);
|
|
13768
|
+
border-radius: var(--input-field-radius-sm);
|
|
13769
|
+
}
|
|
13770
|
+
|
|
13771
|
+
.muka-combobox__field--md {
|
|
13772
|
+
min-height: var(--input-field-height-default);
|
|
13773
|
+
border-radius: var(--input-field-radius-md);
|
|
13774
|
+
}
|
|
13775
|
+
|
|
13776
|
+
.muka-combobox__field--lg {
|
|
13777
|
+
min-height: var(--input-field-height-lg);
|
|
13778
|
+
border-radius: var(--input-field-radius-lg);
|
|
13779
|
+
}
|
|
13780
|
+
|
|
13781
|
+
.muka-combobox__field--focused:not(.muka-combobox__field--disabled) {
|
|
13782
|
+
border-width: var(--border-width-bold);
|
|
13783
|
+
border-color: var(--input-field-color-focus-border);
|
|
13784
|
+
background-color: var(--input-field-color-focus-background);
|
|
13785
|
+
padding: calc(var(--spacing-2) - 1px);
|
|
13786
|
+
}
|
|
13787
|
+
|
|
13788
|
+
.muka-combobox__field--error:not(.muka-combobox__field--disabled) {
|
|
13789
|
+
border-color: var(--color-state-error-contrast);
|
|
13790
|
+
}
|
|
13791
|
+
|
|
13792
|
+
.muka-combobox__field--disabled {
|
|
13793
|
+
opacity: 0.5;
|
|
13794
|
+
cursor: not-allowed;
|
|
13795
|
+
}
|
|
13796
|
+
|
|
13797
|
+
.muka-combobox__field--multiline {
|
|
13798
|
+
align-items: flex-start;
|
|
13799
|
+
min-height: 7rem;
|
|
13800
|
+
}
|
|
13801
|
+
|
|
13802
|
+
.muka-combobox__chips {
|
|
13803
|
+
display: flex;
|
|
13804
|
+
flex: 1 1 auto;
|
|
13805
|
+
flex-wrap: wrap;
|
|
13806
|
+
gap: var(--spacing-2);
|
|
13807
|
+
align-items: center;
|
|
13808
|
+
min-width: 0;
|
|
13809
|
+
width: 100%;
|
|
13810
|
+
position: relative;
|
|
13811
|
+
z-index: 1;
|
|
13812
|
+
}
|
|
13813
|
+
|
|
13814
|
+
.muka-combobox__input {
|
|
13815
|
+
flex: 1 1 5rem;
|
|
13816
|
+
min-width: 5rem;
|
|
13817
|
+
min-height: 2rem;
|
|
13818
|
+
margin: 0;
|
|
13819
|
+
padding: 0 var(--spacing-1);
|
|
13820
|
+
border: none;
|
|
13821
|
+
outline: none;
|
|
13822
|
+
background: transparent;
|
|
13823
|
+
color: var(--input-field-color-default-foreground);
|
|
13824
|
+
caret-color: var(--input-field-color-default-foreground);
|
|
13825
|
+
font-family: var(--text-label-md-regular-fontFamily);
|
|
13826
|
+
font-size: var(--text-label-md-regular-fontSize);
|
|
13827
|
+
font-weight: var(--text-label-md-regular-fontWeight);
|
|
13828
|
+
line-height: var(--text-label-md-regular-lineHeight);
|
|
13829
|
+
}
|
|
13830
|
+
|
|
13831
|
+
.muka-combobox__input::placeholder {
|
|
13832
|
+
color: var(--color-text-subtle-default);
|
|
13833
|
+
}
|
|
13834
|
+
|
|
13835
|
+
.muka-combobox__helper {
|
|
13836
|
+
margin: 0;
|
|
13837
|
+
color: var(--color-text-subtle-default);
|
|
13838
|
+
font-family: var(--text-label-sm-regular-fontFamily);
|
|
13839
|
+
font-size: var(--text-label-sm-regular-fontSize);
|
|
13840
|
+
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
13841
|
+
line-height: var(--text-label-sm-regular-lineHeight);
|
|
13842
|
+
}
|
|
13843
|
+
|
|
13844
|
+
.muka-combobox__error {
|
|
13845
|
+
margin: 0;
|
|
13846
|
+
color: var(--color-state-error-default);
|
|
13847
|
+
font-family: var(--text-label-sm-regular-fontFamily);
|
|
13848
|
+
font-size: var(--text-label-sm-regular-fontSize);
|
|
13849
|
+
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
13850
|
+
line-height: var(--text-label-sm-regular-lineHeight);
|
|
13851
|
+
}
|
|
13852
|
+
|
|
13853
|
+
.muka-combobox__menu-anchor {
|
|
13595
13854
|
position: absolute;
|
|
13596
13855
|
inset: 0;
|
|
13597
|
-
|
|
13598
|
-
|
|
13599
|
-
|
|
13600
|
-
|
|
13601
|
-
|
|
13602
|
-
|
|
13603
|
-
|
|
13604
|
-
|
|
13856
|
+
z-index: 0;
|
|
13857
|
+
width: 100%;
|
|
13858
|
+
height: 100%;
|
|
13859
|
+
margin: 0;
|
|
13860
|
+
padding: 0;
|
|
13861
|
+
border: none;
|
|
13862
|
+
background: transparent;
|
|
13863
|
+
pointer-events: none;
|
|
13864
|
+
opacity: 0;
|
|
13865
|
+
}
|
|
13866
|
+
|
|
13867
|
+
.muka-combobox__menu {
|
|
13868
|
+
/* Prefer Menu token min-width (280px); may exceed the field when left-aligned. */
|
|
13869
|
+
min-width: var(--menu-content-min-width);
|
|
13870
|
+
width: max-content;
|
|
13871
|
+
max-width: min(100vw - 2rem, 24rem);
|
|
13605
13872
|
}
|
|
13606
13873
|
|
|
13607
13874
|
|
|
@@ -13982,57 +14249,6 @@ button.muka-chip__trailing[aria-expanded='true'],
|
|
|
13982
14249
|
}
|
|
13983
14250
|
|
|
13984
14251
|
|
|
13985
|
-
/* Container */
|
|
13986
|
-
/* Container Component - Layout tokens (container.max-width, container.gap) */
|
|
13987
|
-
|
|
13988
|
-
.muka-container {
|
|
13989
|
-
box-sizing: border-box;
|
|
13990
|
-
width: 100%;
|
|
13991
|
-
margin-inline: auto;
|
|
13992
|
-
}
|
|
13993
|
-
|
|
13994
|
-
/* Max-width variants */
|
|
13995
|
-
.muka-container--max-width-small {
|
|
13996
|
-
max-width: var(--container-max-width-small);
|
|
13997
|
-
}
|
|
13998
|
-
|
|
13999
|
-
.muka-container--max-width-medium {
|
|
14000
|
-
max-width: var(--container-max-width-medium);
|
|
14001
|
-
}
|
|
14002
|
-
|
|
14003
|
-
.muka-container--max-width-large {
|
|
14004
|
-
max-width: var(--container-max-width-large);
|
|
14005
|
-
}
|
|
14006
|
-
|
|
14007
|
-
.muka-container--max-width-xlarge {
|
|
14008
|
-
max-width: var(--container-max-width-xlarge);
|
|
14009
|
-
}
|
|
14010
|
-
|
|
14011
|
-
/* No gap — max-width only, no flex */
|
|
14012
|
-
.muka-container--gap-none {
|
|
14013
|
-
/* block layout by default */
|
|
14014
|
-
}
|
|
14015
|
-
|
|
14016
|
-
/* Gap variants — flex column with token gap */
|
|
14017
|
-
.muka-container--gap-compact {
|
|
14018
|
-
display: flex;
|
|
14019
|
-
flex-direction: column;
|
|
14020
|
-
gap: var(--container-gap-compact);
|
|
14021
|
-
}
|
|
14022
|
-
|
|
14023
|
-
.muka-container--gap-default {
|
|
14024
|
-
display: flex;
|
|
14025
|
-
flex-direction: column;
|
|
14026
|
-
gap: var(--container-gap-default);
|
|
14027
|
-
}
|
|
14028
|
-
|
|
14029
|
-
.muka-container--gap-spacious {
|
|
14030
|
-
display: flex;
|
|
14031
|
-
flex-direction: column;
|
|
14032
|
-
gap: var(--container-gap-spacious);
|
|
14033
|
-
}
|
|
14034
|
-
|
|
14035
|
-
|
|
14036
14252
|
/* CheckboxTile */
|
|
14037
14253
|
/* CheckboxTile Component Styles - Using Muka Design Tokens */
|
|
14038
14254
|
|
|
@@ -18115,176 +18331,3 @@ button.muka-chat-photo-grid__tile:focus-visible {
|
|
|
18115
18331
|
border-bottom: none;
|
|
18116
18332
|
}
|
|
18117
18333
|
|
|
18118
|
-
|
|
18119
|
-
/* Combobox */
|
|
18120
|
-
/* Combobox — Figma Input Combobox (free-input chips + suggestion Menu) */
|
|
18121
|
-
|
|
18122
|
-
.muka-combobox {
|
|
18123
|
-
display: inline-flex;
|
|
18124
|
-
flex-direction: column;
|
|
18125
|
-
gap: var(--spacing-2);
|
|
18126
|
-
min-width: 200px;
|
|
18127
|
-
}
|
|
18128
|
-
|
|
18129
|
-
.muka-combobox--full-width {
|
|
18130
|
-
width: 100%;
|
|
18131
|
-
}
|
|
18132
|
-
|
|
18133
|
-
.muka-combobox__label {
|
|
18134
|
-
color: var(--color-text-default-default);
|
|
18135
|
-
cursor: pointer;
|
|
18136
|
-
}
|
|
18137
|
-
|
|
18138
|
-
.muka-combobox__label--sm {
|
|
18139
|
-
font-family: var(--text-label-sm-semibold-fontFamily);
|
|
18140
|
-
font-weight: var(--text-label-sm-semibold-fontWeight);
|
|
18141
|
-
font-size: var(--text-label-sm-semibold-fontSize);
|
|
18142
|
-
line-height: var(--text-label-sm-semibold-lineHeight);
|
|
18143
|
-
}
|
|
18144
|
-
|
|
18145
|
-
.muka-combobox__label--md {
|
|
18146
|
-
font-family: var(--text-label-md-semibold-fontFamily);
|
|
18147
|
-
font-weight: var(--text-label-md-semibold-fontWeight);
|
|
18148
|
-
font-size: var(--text-label-md-semibold-fontSize);
|
|
18149
|
-
line-height: var(--text-label-md-semibold-lineHeight);
|
|
18150
|
-
}
|
|
18151
|
-
|
|
18152
|
-
.muka-combobox__label--lg {
|
|
18153
|
-
font-family: var(--text-label-lg-semibold-fontFamily);
|
|
18154
|
-
font-weight: var(--text-label-lg-semibold-fontWeight);
|
|
18155
|
-
font-size: var(--text-label-lg-semibold-fontSize);
|
|
18156
|
-
line-height: var(--text-label-lg-semibold-lineHeight);
|
|
18157
|
-
}
|
|
18158
|
-
|
|
18159
|
-
.muka-combobox__field {
|
|
18160
|
-
display: flex;
|
|
18161
|
-
align-items: center;
|
|
18162
|
-
width: 100%;
|
|
18163
|
-
position: relative;
|
|
18164
|
-
isolation: isolate;
|
|
18165
|
-
box-sizing: border-box;
|
|
18166
|
-
background-color: var(--input-field-color-default-background);
|
|
18167
|
-
border: var(--border-width-regular) solid var(--input-field-color-default-border);
|
|
18168
|
-
border-radius: var(--input-field-radius-lg);
|
|
18169
|
-
padding: var(--spacing-2);
|
|
18170
|
-
cursor: text;
|
|
18171
|
-
transition: border-color 0.12s ease, background-color 0.12s ease;
|
|
18172
|
-
}
|
|
18173
|
-
|
|
18174
|
-
.muka-combobox__field::after {
|
|
18175
|
-
content: '';
|
|
18176
|
-
position: absolute;
|
|
18177
|
-
inset: 0;
|
|
18178
|
-
border-radius: inherit;
|
|
18179
|
-
box-shadow: inset 0 1px 2px 0 rgba(26, 26, 26, 0.08);
|
|
18180
|
-
pointer-events: none;
|
|
18181
|
-
}
|
|
18182
|
-
|
|
18183
|
-
.muka-combobox__field--sm {
|
|
18184
|
-
min-height: var(--input-field-height-sm);
|
|
18185
|
-
border-radius: var(--input-field-radius-sm);
|
|
18186
|
-
}
|
|
18187
|
-
|
|
18188
|
-
.muka-combobox__field--md {
|
|
18189
|
-
min-height: var(--input-field-height-default);
|
|
18190
|
-
border-radius: var(--input-field-radius-md);
|
|
18191
|
-
}
|
|
18192
|
-
|
|
18193
|
-
.muka-combobox__field--lg {
|
|
18194
|
-
min-height: var(--input-field-height-lg);
|
|
18195
|
-
border-radius: var(--input-field-radius-lg);
|
|
18196
|
-
}
|
|
18197
|
-
|
|
18198
|
-
.muka-combobox__field--focused:not(.muka-combobox__field--disabled) {
|
|
18199
|
-
border-width: var(--border-width-bold);
|
|
18200
|
-
border-color: var(--input-field-color-focus-border);
|
|
18201
|
-
background-color: var(--input-field-color-focus-background);
|
|
18202
|
-
padding: calc(var(--spacing-2) - 1px);
|
|
18203
|
-
}
|
|
18204
|
-
|
|
18205
|
-
.muka-combobox__field--error:not(.muka-combobox__field--disabled) {
|
|
18206
|
-
border-color: var(--color-state-error-contrast);
|
|
18207
|
-
}
|
|
18208
|
-
|
|
18209
|
-
.muka-combobox__field--disabled {
|
|
18210
|
-
opacity: 0.5;
|
|
18211
|
-
cursor: not-allowed;
|
|
18212
|
-
}
|
|
18213
|
-
|
|
18214
|
-
.muka-combobox__field--multiline {
|
|
18215
|
-
align-items: flex-start;
|
|
18216
|
-
min-height: 7rem;
|
|
18217
|
-
}
|
|
18218
|
-
|
|
18219
|
-
.muka-combobox__chips {
|
|
18220
|
-
display: flex;
|
|
18221
|
-
flex: 1 1 auto;
|
|
18222
|
-
flex-wrap: wrap;
|
|
18223
|
-
gap: var(--spacing-2);
|
|
18224
|
-
align-items: center;
|
|
18225
|
-
min-width: 0;
|
|
18226
|
-
width: 100%;
|
|
18227
|
-
position: relative;
|
|
18228
|
-
z-index: 1;
|
|
18229
|
-
}
|
|
18230
|
-
|
|
18231
|
-
.muka-combobox__input {
|
|
18232
|
-
flex: 1 1 5rem;
|
|
18233
|
-
min-width: 5rem;
|
|
18234
|
-
min-height: 2rem;
|
|
18235
|
-
margin: 0;
|
|
18236
|
-
padding: 0 var(--spacing-1);
|
|
18237
|
-
border: none;
|
|
18238
|
-
outline: none;
|
|
18239
|
-
background: transparent;
|
|
18240
|
-
color: var(--input-field-color-default-foreground);
|
|
18241
|
-
caret-color: var(--input-field-color-default-foreground);
|
|
18242
|
-
font-family: var(--text-label-md-regular-fontFamily);
|
|
18243
|
-
font-size: var(--text-label-md-regular-fontSize);
|
|
18244
|
-
font-weight: var(--text-label-md-regular-fontWeight);
|
|
18245
|
-
line-height: var(--text-label-md-regular-lineHeight);
|
|
18246
|
-
}
|
|
18247
|
-
|
|
18248
|
-
.muka-combobox__input::placeholder {
|
|
18249
|
-
color: var(--color-text-subtle-default);
|
|
18250
|
-
}
|
|
18251
|
-
|
|
18252
|
-
.muka-combobox__helper {
|
|
18253
|
-
margin: 0;
|
|
18254
|
-
color: var(--color-text-subtle-default);
|
|
18255
|
-
font-family: var(--text-label-sm-regular-fontFamily);
|
|
18256
|
-
font-size: var(--text-label-sm-regular-fontSize);
|
|
18257
|
-
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
18258
|
-
line-height: var(--text-label-sm-regular-lineHeight);
|
|
18259
|
-
}
|
|
18260
|
-
|
|
18261
|
-
.muka-combobox__error {
|
|
18262
|
-
margin: 0;
|
|
18263
|
-
color: var(--color-state-error-default);
|
|
18264
|
-
font-family: var(--text-label-sm-regular-fontFamily);
|
|
18265
|
-
font-size: var(--text-label-sm-regular-fontSize);
|
|
18266
|
-
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
18267
|
-
line-height: var(--text-label-sm-regular-lineHeight);
|
|
18268
|
-
}
|
|
18269
|
-
|
|
18270
|
-
.muka-combobox__menu-anchor {
|
|
18271
|
-
position: absolute;
|
|
18272
|
-
inset: 0;
|
|
18273
|
-
z-index: 0;
|
|
18274
|
-
width: 100%;
|
|
18275
|
-
height: 100%;
|
|
18276
|
-
margin: 0;
|
|
18277
|
-
padding: 0;
|
|
18278
|
-
border: none;
|
|
18279
|
-
background: transparent;
|
|
18280
|
-
pointer-events: none;
|
|
18281
|
-
opacity: 0;
|
|
18282
|
-
}
|
|
18283
|
-
|
|
18284
|
-
.muka-combobox__menu {
|
|
18285
|
-
/* Prefer Menu token min-width (280px); may exceed the field when left-aligned. */
|
|
18286
|
-
min-width: var(--menu-content-min-width);
|
|
18287
|
-
width: max-content;
|
|
18288
|
-
max-width: min(100vw - 2rem, 24rem);
|
|
18289
|
-
}
|
|
18290
|
-
|