@revikornmann/muka-ui 0.32.0 → 0.34.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/components/Button/Button.css +6 -0
- package/dist/cjs/components/ChatComposer/ChatComposer.css +22 -0
- package/dist/cjs/components/ChatComposer/ChatComposer.js +23 -6
- package/dist/cjs/components/ChatComposer/ChatComposer.js.map +1 -1
- package/dist/cjs/components/ProgressTracker/ProgressTracker.css +113 -0
- package/dist/cjs/components/ProgressTracker/ProgressTracker.js +34 -4
- package/dist/cjs/components/ProgressTracker/ProgressTracker.js.map +1 -1
- package/dist/cjs/components/VoiceRecorder/useVoiceRecorder.js +14 -0
- package/dist/cjs/components/VoiceRecorder/useVoiceRecorder.js.map +1 -1
- package/dist/esm/components/Button/Button.css +6 -0
- package/dist/esm/components/ChatComposer/ChatComposer.css +22 -0
- package/dist/esm/components/ChatComposer/ChatComposer.js +23 -6
- package/dist/esm/components/ChatComposer/ChatComposer.js.map +1 -1
- package/dist/esm/components/ProgressTracker/ProgressTracker.css +113 -0
- package/dist/esm/components/ProgressTracker/ProgressTracker.js +34 -4
- package/dist/esm/components/ProgressTracker/ProgressTracker.js.map +1 -1
- package/dist/esm/components/VoiceRecorder/useVoiceRecorder.js +14 -0
- package/dist/esm/components/VoiceRecorder/useVoiceRecorder.js.map +1 -1
- package/dist/styles/base.css +10 -7
- package/dist/styles/components/Button.css +6 -0
- package/dist/styles/components/ChatComposer.css +22 -0
- package/dist/styles/components/ProgressTracker.css +113 -0
- package/dist/styles/index.css +801 -657
- package/dist/styles/muka-dark.css +801 -657
- package/dist/styles/muka-light.css +801 -657
- package/dist/styles/wireframe-dark.css +801 -657
- package/dist/styles/wireframe-light.css +801 -657
- package/dist/types/components/ChatComposer/ChatComposer.d.ts +25 -2
- package/dist/types/components/ChatComposer/ChatComposer.d.ts.map +1 -1
- package/dist/types/components/ProgressTracker/ProgressTracker.d.ts +14 -0
- package/dist/types/components/ProgressTracker/ProgressTracker.d.ts.map +1 -1
- package/dist/types/components/VoiceRecorder/useVoiceRecorder.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -57,19 +57,22 @@
|
|
|
57
57
|
--spacing-4: 1rem;
|
|
58
58
|
--spacing-5: 1.25rem;
|
|
59
59
|
|
|
60
|
-
--button-padding-sm-x: 0.
|
|
60
|
+
--button-padding-sm-x: 0.75rem;
|
|
61
61
|
--button-padding-sm-y: 0.5rem;
|
|
62
62
|
--button-padding-md-x: 0.75rem;
|
|
63
63
|
--button-padding-md-y: 0.75rem;
|
|
64
64
|
--button-padding-lg-x: 1rem;
|
|
65
65
|
--button-padding-lg-y: 1rem;
|
|
66
66
|
|
|
67
|
-
/* Border radius fallbacks
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
--
|
|
72
|
-
|
|
67
|
+
/* Border radius fallbacks. Shape and spacing match the brand tokens (every
|
|
68
|
+
brand but wireframe, which draws square buttons), so a page whose theme
|
|
69
|
+
tokens load late or out of order keeps the real geometry. Colours and
|
|
70
|
+
fonts above stay deliberately neutral. */
|
|
71
|
+
--radius-md: 0.375rem;
|
|
72
|
+
|
|
73
|
+
--button-radius-sm: 0.75rem;
|
|
74
|
+
--button-radius-md: 0.75rem;
|
|
75
|
+
--button-radius-lg: 0.75rem;
|
|
73
76
|
|
|
74
77
|
/* Typography fallbacks */
|
|
75
78
|
--text-label-sm-fontSize: 0.875rem;
|
|
@@ -3645,6 +3648,88 @@ body {
|
|
|
3645
3648
|
}
|
|
3646
3649
|
|
|
3647
3650
|
|
|
3651
|
+
/* TextLink */
|
|
3652
|
+
/* TextLink Component Styles - Using Muka Design Tokens */
|
|
3653
|
+
|
|
3654
|
+
.muka-text-link {
|
|
3655
|
+
display: inline;
|
|
3656
|
+
cursor: pointer;
|
|
3657
|
+
text-decoration: underline;
|
|
3658
|
+
/* Nudge the rule clear of descenders; the Figma underline sits off baseline. */
|
|
3659
|
+
text-underline-offset: 0.2em;
|
|
3660
|
+
text-decoration-thickness: from-font;
|
|
3661
|
+
/* Rounds the focus ring's corners; the link itself has no visible box. */
|
|
3662
|
+
border-radius: var(--border-radius-sm);
|
|
3663
|
+
transition: color var(--motion-duration-micro, 0.15s) var(--motion-easing-enter, ease);
|
|
3664
|
+
}
|
|
3665
|
+
|
|
3666
|
+
/* ─── Sizes ───────────────────────────────────────────────
|
|
3667
|
+
Mirrors the body text scale so a link matches the copy it sits in. */
|
|
3668
|
+
.muka-text-link--sm {
|
|
3669
|
+
font-family: var(--text-body-sm-regular-fontFamily);
|
|
3670
|
+
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
3671
|
+
font-size: var(--text-body-sm-regular-fontSize);
|
|
3672
|
+
line-height: var(--text-body-sm-regular-lineHeight);
|
|
3673
|
+
}
|
|
3674
|
+
|
|
3675
|
+
.muka-text-link--base {
|
|
3676
|
+
font-family: var(--text-body-base-regular-fontFamily);
|
|
3677
|
+
font-weight: var(--text-body-base-regular-fontWeight);
|
|
3678
|
+
font-size: var(--text-body-base-regular-fontSize);
|
|
3679
|
+
line-height: var(--text-body-base-regular-lineHeight);
|
|
3680
|
+
}
|
|
3681
|
+
|
|
3682
|
+
.muka-text-link--lg {
|
|
3683
|
+
font-family: var(--text-body-lg-regular-fontFamily);
|
|
3684
|
+
font-weight: var(--text-body-lg-regular-fontWeight);
|
|
3685
|
+
font-size: var(--text-body-lg-regular-fontSize);
|
|
3686
|
+
line-height: var(--text-body-lg-regular-lineHeight);
|
|
3687
|
+
}
|
|
3688
|
+
|
|
3689
|
+
/* ─── Variant: default (accent) ───────────────────────────
|
|
3690
|
+
Visited repeats the default colour on purpose: the design treats visited and
|
|
3691
|
+
default the same, and pinning it stops the browser's purple from showing. */
|
|
3692
|
+
.muka-text-link--default,
|
|
3693
|
+
.muka-text-link--default:visited {
|
|
3694
|
+
color: var(--color-text-action-default);
|
|
3695
|
+
}
|
|
3696
|
+
|
|
3697
|
+
.muka-text-link--default:hover,
|
|
3698
|
+
.muka-text-link--default:focus-visible {
|
|
3699
|
+
color: var(--color-text-action-hover);
|
|
3700
|
+
}
|
|
3701
|
+
|
|
3702
|
+
.muka-text-link--default:active {
|
|
3703
|
+
color: var(--color-text-action-pressed);
|
|
3704
|
+
}
|
|
3705
|
+
|
|
3706
|
+
/* ─── Variant: subtle (neutral) ───────────────────────────
|
|
3707
|
+
Hover, focus and pressed all darken to the default text colour. */
|
|
3708
|
+
.muka-text-link--subtle,
|
|
3709
|
+
.muka-text-link--subtle:visited {
|
|
3710
|
+
color: var(--color-text-subtle-default);
|
|
3711
|
+
}
|
|
3712
|
+
|
|
3713
|
+
.muka-text-link--subtle:hover,
|
|
3714
|
+
.muka-text-link--subtle:focus-visible,
|
|
3715
|
+
.muka-text-link--subtle:active {
|
|
3716
|
+
color: var(--color-text-default-default);
|
|
3717
|
+
}
|
|
3718
|
+
|
|
3719
|
+
/* ─── Focus ───────────────────────────────────────────────
|
|
3720
|
+
Same ring as every other focusable Muka component. */
|
|
3721
|
+
.muka-text-link:focus-visible {
|
|
3722
|
+
outline: 2px solid var(--color-border-focus);
|
|
3723
|
+
outline-offset: 2px;
|
|
3724
|
+
}
|
|
3725
|
+
|
|
3726
|
+
@media (prefers-reduced-motion: reduce) {
|
|
3727
|
+
.muka-text-link {
|
|
3728
|
+
transition: none;
|
|
3729
|
+
}
|
|
3730
|
+
}
|
|
3731
|
+
|
|
3732
|
+
|
|
3648
3733
|
/* Thumbnail */
|
|
3649
3734
|
/* Thumbnail Component Styles - Using Muka Design Tokens */
|
|
3650
3735
|
|
|
@@ -3830,439 +3915,357 @@ body {
|
|
|
3830
3915
|
}
|
|
3831
3916
|
|
|
3832
3917
|
|
|
3833
|
-
/*
|
|
3834
|
-
/*
|
|
3918
|
+
/* Tabs */
|
|
3919
|
+
/* Tabs Component Styles - Clean underline style tabs matching Figma */
|
|
3835
3920
|
|
|
3836
|
-
.muka-
|
|
3837
|
-
display:
|
|
3921
|
+
.muka-tabs {
|
|
3922
|
+
display: flex;
|
|
3838
3923
|
flex-direction: column;
|
|
3839
|
-
gap: var(--spacing-2);
|
|
3840
3924
|
}
|
|
3841
3925
|
|
|
3842
|
-
/*
|
|
3843
|
-
.muka-
|
|
3844
|
-
|
|
3845
|
-
cursor: pointer;
|
|
3926
|
+
/* Alignment Variants */
|
|
3927
|
+
.muka-tabs--align-left .muka-tabs__list {
|
|
3928
|
+
justify-content: flex-start;
|
|
3846
3929
|
}
|
|
3847
|
-
|
|
3848
|
-
|
|
3849
|
-
|
|
3850
|
-
|
|
3851
|
-
|
|
3852
|
-
|
|
3930
|
+
.muka-tabs--align-center .muka-tabs__list {
|
|
3931
|
+
justify-content: center;
|
|
3932
|
+
}
|
|
3933
|
+
.muka-tabs--align-fill .muka-tabs__list {
|
|
3934
|
+
justify-content: space-between;
|
|
3935
|
+
}
|
|
3936
|
+
.muka-tabs--align-fill .muka-tabs__trigger {
|
|
3937
|
+
flex: 1;
|
|
3853
3938
|
}
|
|
3854
3939
|
|
|
3855
|
-
|
|
3856
|
-
|
|
3857
|
-
|
|
3858
|
-
|
|
3859
|
-
|
|
3940
|
+
/* Tab List — strip container */
|
|
3941
|
+
.muka-tabs__list {
|
|
3942
|
+
display: flex;
|
|
3943
|
+
align-items: center;
|
|
3944
|
+
position: relative;
|
|
3945
|
+
z-index: 2;
|
|
3946
|
+
border-bottom: 1px solid var(--tabs-trigger-color-default-border);
|
|
3860
3947
|
}
|
|
3861
3948
|
|
|
3862
|
-
|
|
3863
|
-
|
|
3864
|
-
|
|
3865
|
-
font-size: var(--text-label-lg-semibold-fontSize);
|
|
3866
|
-
line-height: var(--text-label-lg-semibold-lineHeight);
|
|
3949
|
+
/* Padding: inset the tabs; the divider (border) still spans the full width */
|
|
3950
|
+
.muka-tabs--padding-default .muka-tabs__list {
|
|
3951
|
+
padding-inline: var(--tabs-list-padding-x);
|
|
3867
3952
|
}
|
|
3868
3953
|
|
|
3869
|
-
|
|
3870
|
-
|
|
3954
|
+
/* Tab Trigger — clean underline style */
|
|
3955
|
+
.muka-tabs__trigger {
|
|
3956
|
+
display: inline-flex;
|
|
3957
|
+
align-items: center;
|
|
3958
|
+
justify-content: center;
|
|
3959
|
+
gap: var(--spacing-1);
|
|
3960
|
+
background: transparent;
|
|
3961
|
+
border: none;
|
|
3962
|
+
cursor: pointer;
|
|
3963
|
+
user-select: none;
|
|
3964
|
+
transition: background-color 0.2s ease, color 0.2s ease;
|
|
3965
|
+
outline: none;
|
|
3966
|
+
white-space: nowrap;
|
|
3967
|
+
position: relative;
|
|
3968
|
+
z-index: 2;
|
|
3969
|
+
color: var(--tabs-trigger-color-default-foreground);
|
|
3970
|
+
|
|
3971
|
+
/* Default MD size values */
|
|
3972
|
+
min-height: var(--tabs-trigger-min-height-md);
|
|
3973
|
+
padding: var(--spacing-3);
|
|
3974
|
+
font-family: var(--text-label-md-regular-fontFamily);
|
|
3975
|
+
font-weight: var(--text-label-md-regular-fontWeight);
|
|
3976
|
+
font-size: var(--text-label-md-regular-fontSize);
|
|
3977
|
+
line-height: var(--text-label-md-regular-lineHeight);
|
|
3871
3978
|
}
|
|
3872
3979
|
|
|
3873
|
-
/*
|
|
3874
|
-
.muka-
|
|
3875
|
-
|
|
3876
|
-
|
|
3877
|
-
|
|
3878
|
-
|
|
3879
|
-
|
|
3880
|
-
|
|
3881
|
-
box-sizing: border-box;
|
|
3980
|
+
/* Size Variants */
|
|
3981
|
+
.muka-tabs--size-sm .muka-tabs__trigger {
|
|
3982
|
+
min-height: var(--tabs-trigger-min-height-sm);
|
|
3983
|
+
padding: 0 var(--spacing-2);
|
|
3984
|
+
font-family: var(--text-label-sm-regular-fontFamily);
|
|
3985
|
+
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
3986
|
+
font-size: var(--text-label-sm-regular-fontSize);
|
|
3987
|
+
line-height: var(--text-label-sm-regular-lineHeight);
|
|
3882
3988
|
}
|
|
3883
3989
|
|
|
3884
|
-
.muka-
|
|
3885
|
-
min-height: var(--
|
|
3886
|
-
|
|
3990
|
+
.muka-tabs--size-lg .muka-tabs__trigger {
|
|
3991
|
+
min-height: var(--tabs-trigger-min-height-lg);
|
|
3992
|
+
padding: var(--spacing-4);
|
|
3993
|
+
font-family: var(--text-label-lg-regular-fontFamily);
|
|
3994
|
+
font-weight: var(--text-label-lg-regular-fontWeight);
|
|
3995
|
+
font-size: var(--text-label-lg-regular-fontSize);
|
|
3996
|
+
line-height: var(--text-label-lg-regular-lineHeight);
|
|
3887
3997
|
}
|
|
3888
3998
|
|
|
3889
|
-
|
|
3890
|
-
|
|
3891
|
-
|
|
3999
|
+
/* Hover state */
|
|
4000
|
+
.muka-tabs__trigger:hover:not(:disabled):not(.muka-tabs__trigger--current) {
|
|
4001
|
+
color: var(--tabs-trigger-color-hover-foreground);
|
|
3892
4002
|
}
|
|
3893
4003
|
|
|
3894
|
-
|
|
3895
|
-
|
|
3896
|
-
|
|
4004
|
+
/* Current tab */
|
|
4005
|
+
.muka-tabs__trigger--current {
|
|
4006
|
+
color: var(--tabs-trigger-color-current-foreground);
|
|
3897
4007
|
}
|
|
3898
4008
|
|
|
3899
|
-
/*
|
|
3900
|
-
.muka-
|
|
3901
|
-
|
|
3902
|
-
|
|
3903
|
-
|
|
3904
|
-
|
|
4009
|
+
/* Active bottom border (underline) */
|
|
4010
|
+
.muka-tabs__trigger--current::after {
|
|
4011
|
+
content: '';
|
|
4012
|
+
position: absolute;
|
|
4013
|
+
bottom: -1px; /* Overlap the 1px border */
|
|
4014
|
+
left: 0;
|
|
4015
|
+
right: 0;
|
|
4016
|
+
height: var(--tabs-indicator-height-md);
|
|
4017
|
+
background-color: var(--tabs-indicator-color);
|
|
4018
|
+
border-bottom-left-radius: 1px;
|
|
4019
|
+
border-bottom-right-radius: 1px;
|
|
4020
|
+
border-top-left-radius: 3px;
|
|
4021
|
+
border-top-right-radius: 3px;
|
|
4022
|
+
z-index: 3;
|
|
3905
4023
|
}
|
|
3906
4024
|
|
|
3907
|
-
|
|
3908
|
-
|
|
3909
|
-
|
|
3910
|
-
|
|
3911
|
-
|
|
3912
|
-
padding: calc(var(--input-field-padding-y) - 1px) calc(var(--input-field-padding-x) - 1px);
|
|
4025
|
+
.muka-tabs--size-sm .muka-tabs__trigger--current::after {
|
|
4026
|
+
height: var(--tabs-indicator-height-sm);
|
|
4027
|
+
}
|
|
4028
|
+
.muka-tabs--size-lg .muka-tabs__trigger--current::after {
|
|
4029
|
+
height: var(--tabs-indicator-height-lg);
|
|
3913
4030
|
}
|
|
3914
4031
|
|
|
3915
|
-
|
|
3916
|
-
|
|
3917
|
-
background-color: var(--input-field-color-disabled-background);
|
|
3918
|
-
border-color: var(--input-field-color-disabled-border);
|
|
4032
|
+
.muka-tabs__trigger--disabled {
|
|
4033
|
+
color: var(--tabs-trigger-color-disabled-foreground);
|
|
3919
4034
|
cursor: not-allowed;
|
|
3920
4035
|
}
|
|
3921
4036
|
|
|
3922
|
-
|
|
3923
|
-
|
|
3924
|
-
|
|
3925
|
-
border: none;
|
|
3926
|
-
outline: none;
|
|
3927
|
-
background: transparent;
|
|
3928
|
-
color: var(--input-field-color-default-foreground);
|
|
3929
|
-
font-family: var(--text-input-md-fontFamily);
|
|
3930
|
-
font-weight: var(--text-input-md-fontWeight);
|
|
3931
|
-
font-size: var(--text-input-md-fontSize);
|
|
3932
|
-
line-height: var(--text-input-md-lineHeight);
|
|
3933
|
-
padding: 0;
|
|
3934
|
-
width: 100%;
|
|
3935
|
-
min-width: 0;
|
|
4037
|
+
.muka-tabs__trigger:focus-visible {
|
|
4038
|
+
outline: 2px solid var(--color-border-focus);
|
|
4039
|
+
outline-offset: -2px;
|
|
3936
4040
|
}
|
|
3937
4041
|
|
|
3938
|
-
|
|
3939
|
-
|
|
3940
|
-
|
|
3941
|
-
|
|
3942
|
-
line-height: var(--text-input-sm-lineHeight);
|
|
3943
|
-
}
|
|
3944
|
-
|
|
3945
|
-
.muka-textarea__field--lg .muka-textarea__native {
|
|
3946
|
-
font-family: var(--text-input-lg-fontFamily);
|
|
3947
|
-
font-weight: var(--text-input-lg-fontWeight);
|
|
3948
|
-
font-size: var(--text-input-lg-fontSize);
|
|
3949
|
-
line-height: var(--text-input-lg-lineHeight);
|
|
3950
|
-
}
|
|
3951
|
-
|
|
3952
|
-
.muka-textarea__native::placeholder {
|
|
3953
|
-
color: var(--color-text-subtle-default);
|
|
3954
|
-
}
|
|
3955
|
-
|
|
3956
|
-
.muka-textarea__field--disabled .muka-textarea__native {
|
|
3957
|
-
color: var(--input-field-color-disabled-foreground);
|
|
3958
|
-
cursor: not-allowed;
|
|
4042
|
+
/* Label: Figma pads the label 8px either side, so with the 4px gap a leading
|
|
4043
|
+
item sits 12px from the text */
|
|
4044
|
+
.muka-tabs__label {
|
|
4045
|
+
padding: 0 var(--spacing-2);
|
|
3959
4046
|
}
|
|
3960
4047
|
|
|
3961
|
-
/*
|
|
3962
|
-
.muka-
|
|
4048
|
+
/* Leading item: icon, avatar, avatar group or data pie chart */
|
|
4049
|
+
.muka-tabs__leading {
|
|
3963
4050
|
display: flex;
|
|
3964
|
-
|
|
3965
|
-
|
|
3966
|
-
|
|
3967
|
-
}
|
|
3968
|
-
|
|
3969
|
-
.muka-textarea__helper {
|
|
3970
|
-
font-family: var(--text-label-sm-regular-fontFamily);
|
|
3971
|
-
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
3972
|
-
font-size: var(--text-label-sm-regular-fontSize);
|
|
3973
|
-
line-height: var(--text-label-sm-regular-lineHeight);
|
|
3974
|
-
color: var(--color-text-subtle-default);
|
|
3975
|
-
margin: 0;
|
|
3976
|
-
}
|
|
3977
|
-
|
|
3978
|
-
.muka-textarea__error {
|
|
3979
|
-
font-family: var(--text-label-sm-regular-fontFamily);
|
|
3980
|
-
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
3981
|
-
font-size: var(--text-label-sm-regular-fontSize);
|
|
3982
|
-
line-height: var(--text-label-sm-regular-lineHeight);
|
|
3983
|
-
color: var(--color-state-error-default);
|
|
3984
|
-
margin: 0;
|
|
3985
|
-
}
|
|
3986
|
-
|
|
3987
|
-
.muka-textarea__count {
|
|
3988
|
-
font-family: var(--text-label-sm-regular-fontFamily);
|
|
3989
|
-
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
3990
|
-
font-size: var(--text-label-sm-regular-fontSize);
|
|
3991
|
-
line-height: var(--text-label-sm-regular-lineHeight);
|
|
3992
|
-
color: var(--color-text-subtle-default);
|
|
3993
|
-
margin-left: auto;
|
|
4051
|
+
align-items: center;
|
|
4052
|
+
justify-content: center;
|
|
4053
|
+
flex-shrink: 0;
|
|
3994
4054
|
}
|
|
3995
|
-
|
|
3996
|
-
|
|
3997
|
-
/* TextLink */
|
|
3998
|
-
/* TextLink Component Styles - Using Muka Design Tokens */
|
|
3999
|
-
|
|
4000
|
-
.muka-text-link {
|
|
4001
|
-
display: inline;
|
|
4002
|
-
cursor: pointer;
|
|
4003
|
-
text-decoration: underline;
|
|
4004
|
-
/* Nudge the rule clear of descenders; the Figma underline sits off baseline. */
|
|
4005
|
-
text-underline-offset: 0.2em;
|
|
4006
|
-
text-decoration-thickness: from-font;
|
|
4007
|
-
/* Rounds the focus ring's corners; the link itself has no visible box. */
|
|
4008
|
-
border-radius: var(--border-radius-sm);
|
|
4009
|
-
transition: color var(--motion-duration-micro, 0.15s) var(--motion-easing-enter, ease);
|
|
4055
|
+
.muka-tabs__trigger .muka-icon {
|
|
4056
|
+
color: inherit;
|
|
4010
4057
|
}
|
|
4058
|
+
/* Icon sizes only: avatars and pie charts are sized through their size prop */
|
|
4059
|
+
.muka-tabs--size-sm .muka-tabs__leading > svg,
|
|
4060
|
+
.muka-tabs--size-sm .muka-tabs__leading > .muka-icon svg { width: 16px; height: 16px; }
|
|
4061
|
+
.muka-tabs--size-md .muka-tabs__leading > svg,
|
|
4062
|
+
.muka-tabs--size-md .muka-tabs__leading > .muka-icon svg { width: 20px; height: 20px; }
|
|
4063
|
+
.muka-tabs--size-lg .muka-tabs__leading > svg,
|
|
4064
|
+
.muka-tabs--size-lg .muka-tabs__leading > .muka-icon svg { width: 24px; height: 24px; }
|
|
4011
4065
|
|
|
4012
|
-
/*
|
|
4013
|
-
|
|
4014
|
-
.muka-
|
|
4015
|
-
|
|
4016
|
-
|
|
4017
|
-
|
|
4018
|
-
|
|
4066
|
+
/* Responsive Scroll behavior on small screens */
|
|
4067
|
+
@media (max-width: 768px) {
|
|
4068
|
+
.muka-tabs__list {
|
|
4069
|
+
/* Make scrollable */
|
|
4070
|
+
overflow-x: auto;
|
|
4071
|
+
overflow-y: hidden;
|
|
4072
|
+
/* Force left alignment on mobile to prevent clipping when scrolling */
|
|
4073
|
+
justify-content: flex-start !important;
|
|
4074
|
+
max-width: 100vw;
|
|
4075
|
+
-webkit-overflow-scrolling: touch;
|
|
4076
|
+
/* Hide scrollbar for cleaner look */
|
|
4077
|
+
scrollbar-width: none;
|
|
4078
|
+
}
|
|
4079
|
+
.muka-tabs__list::-webkit-scrollbar {
|
|
4080
|
+
display: none;
|
|
4081
|
+
}
|
|
4082
|
+
/* Remove flex: 1 behavior for Fill tabs on mobile so they map correctly */
|
|
4083
|
+
.muka-tabs--align-fill .muka-tabs__trigger {
|
|
4084
|
+
flex: 0 0 auto;
|
|
4085
|
+
}
|
|
4019
4086
|
}
|
|
4020
4087
|
|
|
4021
|
-
|
|
4088
|
+
/* Tab Panel — content area */
|
|
4089
|
+
.muka-tabs__panel {
|
|
4090
|
+
background-color: var(--tabs-panel-background);
|
|
4091
|
+
/* border-top: var(--border-width-regular) solid var(--tabs-panel-border); removed in favor of the new tablist border */
|
|
4092
|
+
border-bottom: var(--border-width-regular) solid var(--tabs-panel-border);
|
|
4093
|
+
padding: var(--spacing-4);
|
|
4094
|
+
position: relative;
|
|
4095
|
+
z-index: 1;
|
|
4022
4096
|
font-family: var(--text-body-base-regular-fontFamily);
|
|
4023
4097
|
font-weight: var(--text-body-base-regular-fontWeight);
|
|
4024
4098
|
font-size: var(--text-body-base-regular-fontSize);
|
|
4025
4099
|
line-height: var(--text-body-base-regular-lineHeight);
|
|
4026
4100
|
}
|
|
4027
4101
|
|
|
4028
|
-
.muka-
|
|
4029
|
-
|
|
4030
|
-
|
|
4031
|
-
font-size: var(--text-body-lg-regular-fontSize);
|
|
4032
|
-
line-height: var(--text-body-lg-regular-lineHeight);
|
|
4033
|
-
}
|
|
4034
|
-
|
|
4035
|
-
/* ─── Variant: default (accent) ───────────────────────────
|
|
4036
|
-
Visited repeats the default colour on purpose: the design treats visited and
|
|
4037
|
-
default the same, and pinning it stops the browser's purple from showing. */
|
|
4038
|
-
.muka-text-link--default,
|
|
4039
|
-
.muka-text-link--default:visited {
|
|
4040
|
-
color: var(--color-text-action-default);
|
|
4102
|
+
.muka-tabs__panel:focus-visible {
|
|
4103
|
+
outline: 2px solid var(--color-border-focus);
|
|
4104
|
+
outline-offset: 2px;
|
|
4041
4105
|
}
|
|
4042
4106
|
|
|
4043
|
-
.muka-text-link--default:hover,
|
|
4044
|
-
.muka-text-link--default:focus-visible {
|
|
4045
|
-
color: var(--color-text-action-hover);
|
|
4046
|
-
}
|
|
4047
4107
|
|
|
4048
|
-
|
|
4049
|
-
|
|
4050
|
-
}
|
|
4108
|
+
/* Textarea */
|
|
4109
|
+
/* Textarea Component Styles - Using Muka Design Tokens */
|
|
4051
4110
|
|
|
4052
|
-
|
|
4053
|
-
|
|
4054
|
-
|
|
4055
|
-
|
|
4056
|
-
color: var(--color-text-subtle-default);
|
|
4111
|
+
.muka-textarea {
|
|
4112
|
+
display: inline-flex;
|
|
4113
|
+
flex-direction: column;
|
|
4114
|
+
gap: var(--spacing-2);
|
|
4057
4115
|
}
|
|
4058
4116
|
|
|
4059
|
-
|
|
4060
|
-
.muka-
|
|
4061
|
-
.muka-text-link--subtle:active {
|
|
4117
|
+
/* Label */
|
|
4118
|
+
.muka-textarea__label {
|
|
4062
4119
|
color: var(--color-text-default-default);
|
|
4120
|
+
cursor: pointer;
|
|
4063
4121
|
}
|
|
4064
4122
|
|
|
4065
|
-
|
|
4066
|
-
|
|
4067
|
-
|
|
4068
|
-
|
|
4069
|
-
|
|
4123
|
+
.muka-textarea__label--sm {
|
|
4124
|
+
font-family: var(--text-label-sm-semibold-fontFamily);
|
|
4125
|
+
font-weight: var(--text-label-sm-semibold-fontWeight);
|
|
4126
|
+
font-size: var(--text-label-sm-semibold-fontSize);
|
|
4127
|
+
line-height: var(--text-label-sm-semibold-lineHeight);
|
|
4070
4128
|
}
|
|
4071
4129
|
|
|
4072
|
-
|
|
4073
|
-
|
|
4074
|
-
|
|
4075
|
-
|
|
4130
|
+
.muka-textarea__label--md {
|
|
4131
|
+
font-family: var(--text-label-md-semibold-fontFamily);
|
|
4132
|
+
font-weight: var(--text-label-md-semibold-fontWeight);
|
|
4133
|
+
font-size: var(--text-label-md-semibold-fontSize);
|
|
4134
|
+
line-height: var(--text-label-md-semibold-lineHeight);
|
|
4076
4135
|
}
|
|
4077
4136
|
|
|
4078
|
-
|
|
4079
|
-
|
|
4080
|
-
|
|
4081
|
-
|
|
4082
|
-
|
|
4083
|
-
display: flex;
|
|
4084
|
-
flex-direction: column;
|
|
4137
|
+
.muka-textarea__label--lg {
|
|
4138
|
+
font-family: var(--text-label-lg-semibold-fontFamily);
|
|
4139
|
+
font-weight: var(--text-label-lg-semibold-fontWeight);
|
|
4140
|
+
font-size: var(--text-label-lg-semibold-fontSize);
|
|
4141
|
+
line-height: var(--text-label-lg-semibold-lineHeight);
|
|
4085
4142
|
}
|
|
4086
4143
|
|
|
4087
|
-
|
|
4088
|
-
|
|
4089
|
-
justify-content: flex-start;
|
|
4090
|
-
}
|
|
4091
|
-
.muka-tabs--align-center .muka-tabs__list {
|
|
4092
|
-
justify-content: center;
|
|
4093
|
-
}
|
|
4094
|
-
.muka-tabs--align-fill .muka-tabs__list {
|
|
4095
|
-
justify-content: space-between;
|
|
4096
|
-
}
|
|
4097
|
-
.muka-tabs--align-fill .muka-tabs__trigger {
|
|
4098
|
-
flex: 1;
|
|
4144
|
+
.muka-textarea__required {
|
|
4145
|
+
color: var(--color-state-error-default);
|
|
4099
4146
|
}
|
|
4100
4147
|
|
|
4101
|
-
/*
|
|
4102
|
-
.muka-
|
|
4148
|
+
/* Field container */
|
|
4149
|
+
.muka-textarea__field {
|
|
4103
4150
|
display: flex;
|
|
4104
|
-
|
|
4105
|
-
|
|
4106
|
-
|
|
4107
|
-
|
|
4151
|
+
background-color: var(--input-field-color-default-background);
|
|
4152
|
+
border: var(--border-width-regular) solid var(--input-field-color-default-border);
|
|
4153
|
+
border-radius: var(--input-field-radius-md);
|
|
4154
|
+
padding: var(--input-field-padding-y) var(--input-field-padding-x);
|
|
4155
|
+
transition: border-color 0.2s ease, background-color 0.2s ease;
|
|
4156
|
+
box-sizing: border-box;
|
|
4108
4157
|
}
|
|
4109
4158
|
|
|
4110
|
-
|
|
4111
|
-
|
|
4112
|
-
|
|
4159
|
+
.muka-textarea__field--sm {
|
|
4160
|
+
min-height: var(--input-textarea-height-sm);
|
|
4161
|
+
border-radius: var(--input-field-radius-sm);
|
|
4113
4162
|
}
|
|
4114
4163
|
|
|
4115
|
-
|
|
4116
|
-
|
|
4117
|
-
|
|
4118
|
-
align-items: center;
|
|
4119
|
-
justify-content: center;
|
|
4120
|
-
gap: var(--spacing-1);
|
|
4121
|
-
background: transparent;
|
|
4122
|
-
border: none;
|
|
4123
|
-
cursor: pointer;
|
|
4124
|
-
user-select: none;
|
|
4125
|
-
transition: background-color 0.2s ease, color 0.2s ease;
|
|
4126
|
-
outline: none;
|
|
4127
|
-
white-space: nowrap;
|
|
4128
|
-
position: relative;
|
|
4129
|
-
z-index: 2;
|
|
4130
|
-
color: var(--tabs-trigger-color-default-foreground);
|
|
4131
|
-
|
|
4132
|
-
/* Default MD size values */
|
|
4133
|
-
min-height: var(--tabs-trigger-min-height-md);
|
|
4134
|
-
padding: var(--spacing-3);
|
|
4135
|
-
font-family: var(--text-label-md-regular-fontFamily);
|
|
4136
|
-
font-weight: var(--text-label-md-regular-fontWeight);
|
|
4137
|
-
font-size: var(--text-label-md-regular-fontSize);
|
|
4138
|
-
line-height: var(--text-label-md-regular-lineHeight);
|
|
4164
|
+
.muka-textarea__field--md {
|
|
4165
|
+
min-height: var(--input-textarea-height-default);
|
|
4166
|
+
border-radius: var(--input-field-radius-md);
|
|
4139
4167
|
}
|
|
4140
4168
|
|
|
4141
|
-
|
|
4142
|
-
|
|
4143
|
-
|
|
4144
|
-
padding: 0 var(--spacing-2);
|
|
4145
|
-
font-family: var(--text-label-sm-regular-fontFamily);
|
|
4146
|
-
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
4147
|
-
font-size: var(--text-label-sm-regular-fontSize);
|
|
4148
|
-
line-height: var(--text-label-sm-regular-lineHeight);
|
|
4169
|
+
.muka-textarea__field--lg {
|
|
4170
|
+
min-height: var(--input-textarea-height-lg);
|
|
4171
|
+
border-radius: var(--input-field-radius-lg);
|
|
4149
4172
|
}
|
|
4150
4173
|
|
|
4151
|
-
|
|
4152
|
-
|
|
4153
|
-
|
|
4154
|
-
|
|
4155
|
-
|
|
4156
|
-
|
|
4157
|
-
line-height: var(--text-label-lg-regular-lineHeight);
|
|
4174
|
+
/* Focus state */
|
|
4175
|
+
.muka-textarea__field--focused:not(.muka-textarea__field--disabled) {
|
|
4176
|
+
border-width: var(--border-width-bold);
|
|
4177
|
+
border-color: var(--input-field-color-focus-border);
|
|
4178
|
+
background-color: var(--input-field-color-focus-background);
|
|
4179
|
+
padding: calc(var(--input-field-padding-y) - 1px) calc(var(--input-field-padding-x) - 1px);
|
|
4158
4180
|
}
|
|
4159
4181
|
|
|
4160
|
-
/*
|
|
4161
|
-
.muka-
|
|
4162
|
-
|
|
4182
|
+
/* Error state */
|
|
4183
|
+
.muka-textarea__field--error:not(.muka-textarea__field--disabled) {
|
|
4184
|
+
border-width: var(--border-width-bold);
|
|
4185
|
+
border-color: var(--input-field-color-error-border);
|
|
4186
|
+
background-color: var(--input-field-color-error-background);
|
|
4187
|
+
padding: calc(var(--input-field-padding-y) - 1px) calc(var(--input-field-padding-x) - 1px);
|
|
4163
4188
|
}
|
|
4164
4189
|
|
|
4165
|
-
/*
|
|
4166
|
-
.muka-
|
|
4167
|
-
color: var(--
|
|
4190
|
+
/* Disabled state */
|
|
4191
|
+
.muka-textarea__field--disabled {
|
|
4192
|
+
background-color: var(--input-field-color-disabled-background);
|
|
4193
|
+
border-color: var(--input-field-color-disabled-border);
|
|
4194
|
+
cursor: not-allowed;
|
|
4168
4195
|
}
|
|
4169
4196
|
|
|
4170
|
-
/*
|
|
4171
|
-
.muka-
|
|
4172
|
-
|
|
4173
|
-
|
|
4174
|
-
|
|
4175
|
-
|
|
4176
|
-
|
|
4177
|
-
|
|
4178
|
-
|
|
4179
|
-
|
|
4180
|
-
|
|
4181
|
-
|
|
4182
|
-
|
|
4183
|
-
|
|
4197
|
+
/* Native textarea */
|
|
4198
|
+
.muka-textarea__native {
|
|
4199
|
+
flex: 1;
|
|
4200
|
+
border: none;
|
|
4201
|
+
outline: none;
|
|
4202
|
+
background: transparent;
|
|
4203
|
+
color: var(--input-field-color-default-foreground);
|
|
4204
|
+
font-family: var(--text-input-md-fontFamily);
|
|
4205
|
+
font-weight: var(--text-input-md-fontWeight);
|
|
4206
|
+
font-size: var(--text-input-md-fontSize);
|
|
4207
|
+
line-height: var(--text-input-md-lineHeight);
|
|
4208
|
+
padding: 0;
|
|
4209
|
+
width: 100%;
|
|
4210
|
+
min-width: 0;
|
|
4184
4211
|
}
|
|
4185
4212
|
|
|
4186
|
-
.muka-
|
|
4187
|
-
|
|
4188
|
-
|
|
4189
|
-
|
|
4190
|
-
height: var(--
|
|
4213
|
+
.muka-textarea__field--sm .muka-textarea__native {
|
|
4214
|
+
font-family: var(--text-input-sm-fontFamily);
|
|
4215
|
+
font-weight: var(--text-input-sm-fontWeight);
|
|
4216
|
+
font-size: var(--text-input-sm-fontSize);
|
|
4217
|
+
line-height: var(--text-input-sm-lineHeight);
|
|
4191
4218
|
}
|
|
4192
4219
|
|
|
4193
|
-
.muka-
|
|
4194
|
-
|
|
4195
|
-
|
|
4220
|
+
.muka-textarea__field--lg .muka-textarea__native {
|
|
4221
|
+
font-family: var(--text-input-lg-fontFamily);
|
|
4222
|
+
font-weight: var(--text-input-lg-fontWeight);
|
|
4223
|
+
font-size: var(--text-input-lg-fontSize);
|
|
4224
|
+
line-height: var(--text-input-lg-lineHeight);
|
|
4196
4225
|
}
|
|
4197
4226
|
|
|
4198
|
-
.muka-
|
|
4199
|
-
|
|
4200
|
-
outline-offset: -2px;
|
|
4227
|
+
.muka-textarea__native::placeholder {
|
|
4228
|
+
color: var(--color-text-subtle-default);
|
|
4201
4229
|
}
|
|
4202
4230
|
|
|
4203
|
-
|
|
4204
|
-
|
|
4205
|
-
|
|
4206
|
-
padding: 0 var(--spacing-2);
|
|
4231
|
+
.muka-textarea__field--disabled .muka-textarea__native {
|
|
4232
|
+
color: var(--input-field-color-disabled-foreground);
|
|
4233
|
+
cursor: not-allowed;
|
|
4207
4234
|
}
|
|
4208
4235
|
|
|
4209
|
-
/*
|
|
4210
|
-
.muka-
|
|
4211
|
-
display: flex;
|
|
4212
|
-
|
|
4213
|
-
|
|
4214
|
-
|
|
4215
|
-
}
|
|
4216
|
-
.muka-tabs__trigger .muka-icon {
|
|
4217
|
-
color: inherit;
|
|
4236
|
+
/* Footer (helper/error + count) */
|
|
4237
|
+
.muka-textarea__footer {
|
|
4238
|
+
display: flex;
|
|
4239
|
+
justify-content: space-between;
|
|
4240
|
+
align-items: flex-start;
|
|
4241
|
+
gap: var(--spacing-2);
|
|
4218
4242
|
}
|
|
4219
|
-
/* Icon sizes only: avatars and pie charts are sized through their size prop */
|
|
4220
|
-
.muka-tabs--size-sm .muka-tabs__leading > svg,
|
|
4221
|
-
.muka-tabs--size-sm .muka-tabs__leading > .muka-icon svg { width: 16px; height: 16px; }
|
|
4222
|
-
.muka-tabs--size-md .muka-tabs__leading > svg,
|
|
4223
|
-
.muka-tabs--size-md .muka-tabs__leading > .muka-icon svg { width: 20px; height: 20px; }
|
|
4224
|
-
.muka-tabs--size-lg .muka-tabs__leading > svg,
|
|
4225
|
-
.muka-tabs--size-lg .muka-tabs__leading > .muka-icon svg { width: 24px; height: 24px; }
|
|
4226
4243
|
|
|
4227
|
-
|
|
4228
|
-
|
|
4229
|
-
|
|
4230
|
-
|
|
4231
|
-
|
|
4232
|
-
|
|
4233
|
-
|
|
4234
|
-
justify-content: flex-start !important;
|
|
4235
|
-
max-width: 100vw;
|
|
4236
|
-
-webkit-overflow-scrolling: touch;
|
|
4237
|
-
/* Hide scrollbar for cleaner look */
|
|
4238
|
-
scrollbar-width: none;
|
|
4239
|
-
}
|
|
4240
|
-
.muka-tabs__list::-webkit-scrollbar {
|
|
4241
|
-
display: none;
|
|
4242
|
-
}
|
|
4243
|
-
/* Remove flex: 1 behavior for Fill tabs on mobile so they map correctly */
|
|
4244
|
-
.muka-tabs--align-fill .muka-tabs__trigger {
|
|
4245
|
-
flex: 0 0 auto;
|
|
4246
|
-
}
|
|
4244
|
+
.muka-textarea__helper {
|
|
4245
|
+
font-family: var(--text-label-sm-regular-fontFamily);
|
|
4246
|
+
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
4247
|
+
font-size: var(--text-label-sm-regular-fontSize);
|
|
4248
|
+
line-height: var(--text-label-sm-regular-lineHeight);
|
|
4249
|
+
color: var(--color-text-subtle-default);
|
|
4250
|
+
margin: 0;
|
|
4247
4251
|
}
|
|
4248
4252
|
|
|
4249
|
-
|
|
4250
|
-
|
|
4251
|
-
|
|
4252
|
-
|
|
4253
|
-
|
|
4254
|
-
|
|
4255
|
-
|
|
4256
|
-
z-index: 1;
|
|
4257
|
-
font-family: var(--text-body-base-regular-fontFamily);
|
|
4258
|
-
font-weight: var(--text-body-base-regular-fontWeight);
|
|
4259
|
-
font-size: var(--text-body-base-regular-fontSize);
|
|
4260
|
-
line-height: var(--text-body-base-regular-lineHeight);
|
|
4253
|
+
.muka-textarea__error {
|
|
4254
|
+
font-family: var(--text-label-sm-regular-fontFamily);
|
|
4255
|
+
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
4256
|
+
font-size: var(--text-label-sm-regular-fontSize);
|
|
4257
|
+
line-height: var(--text-label-sm-regular-lineHeight);
|
|
4258
|
+
color: var(--color-state-error-default);
|
|
4259
|
+
margin: 0;
|
|
4261
4260
|
}
|
|
4262
4261
|
|
|
4263
|
-
.muka-
|
|
4264
|
-
|
|
4265
|
-
|
|
4262
|
+
.muka-textarea__count {
|
|
4263
|
+
font-family: var(--text-label-sm-regular-fontFamily);
|
|
4264
|
+
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
4265
|
+
font-size: var(--text-label-sm-regular-fontSize);
|
|
4266
|
+
line-height: var(--text-label-sm-regular-lineHeight);
|
|
4267
|
+
color: var(--color-text-subtle-default);
|
|
4268
|
+
margin-left: auto;
|
|
4266
4269
|
}
|
|
4267
4270
|
|
|
4268
4271
|
|
|
@@ -4495,126 +4498,312 @@ body {
|
|
|
4495
4498
|
background-color: var(--color-surface-level0);
|
|
4496
4499
|
}
|
|
4497
4500
|
|
|
4498
|
-
/* ========================================
|
|
4499
|
-
TABLE BODY
|
|
4500
|
-
======================================== */
|
|
4501
|
-
|
|
4502
|
-
.muka-table__body .muka-table__row {
|
|
4503
|
-
border-bottom: var(--border-width-regular) solid var(--color-border-muted);
|
|
4501
|
+
/* ========================================
|
|
4502
|
+
TABLE BODY
|
|
4503
|
+
======================================== */
|
|
4504
|
+
|
|
4505
|
+
.muka-table__body .muka-table__row {
|
|
4506
|
+
border-bottom: var(--border-width-regular) solid var(--color-border-muted);
|
|
4507
|
+
}
|
|
4508
|
+
|
|
4509
|
+
.muka-table__body .muka-table__row:last-child {
|
|
4510
|
+
border-bottom: none;
|
|
4511
|
+
}
|
|
4512
|
+
|
|
4513
|
+
.muka-table__body .muka-table__row:hover {
|
|
4514
|
+
background-color: var(--color-surface-hover);
|
|
4515
|
+
}
|
|
4516
|
+
|
|
4517
|
+
.muka-table__body .muka-table__row--selected {
|
|
4518
|
+
background-color: var(--table-row-selected-background, var(--color-action-default));
|
|
4519
|
+
}
|
|
4520
|
+
|
|
4521
|
+
.muka-table__body .muka-table__row--selected:hover {
|
|
4522
|
+
background-color: var(--table-row-selected-background, var(--color-action-default));
|
|
4523
|
+
}
|
|
4524
|
+
|
|
4525
|
+
.muka-table__row--clickable {
|
|
4526
|
+
cursor: pointer;
|
|
4527
|
+
}
|
|
4528
|
+
|
|
4529
|
+
/* ========================================
|
|
4530
|
+
TABLE CELLS
|
|
4531
|
+
======================================== */
|
|
4532
|
+
|
|
4533
|
+
.muka-table__cell,
|
|
4534
|
+
.muka-table__header-cell {
|
|
4535
|
+
vertical-align: middle;
|
|
4536
|
+
}
|
|
4537
|
+
|
|
4538
|
+
/* Size: Small */
|
|
4539
|
+
.muka-table--sm .muka-table__cell,
|
|
4540
|
+
.muka-table--sm .muka-table__header-cell {
|
|
4541
|
+
padding: var(--table-cell-padding-y-sm) var(--table-cell-padding-x-sm);
|
|
4542
|
+
}
|
|
4543
|
+
|
|
4544
|
+
/* Size: Medium */
|
|
4545
|
+
.muka-table--md .muka-table__cell,
|
|
4546
|
+
.muka-table--md .muka-table__header-cell {
|
|
4547
|
+
padding: var(--table-cell-padding-y-md) var(--table-cell-padding-x-md);
|
|
4548
|
+
}
|
|
4549
|
+
|
|
4550
|
+
/* Size: Large */
|
|
4551
|
+
.muka-table--lg .muka-table__cell,
|
|
4552
|
+
.muka-table--lg .muka-table__header-cell {
|
|
4553
|
+
padding: var(--table-cell-padding-y-lg) var(--table-cell-padding-x-lg);
|
|
4554
|
+
}
|
|
4555
|
+
|
|
4556
|
+
/* Alignment */
|
|
4557
|
+
.muka-table__cell--left,
|
|
4558
|
+
.muka-table__header-cell--left {
|
|
4559
|
+
text-align: left;
|
|
4560
|
+
}
|
|
4561
|
+
|
|
4562
|
+
.muka-table__cell--center,
|
|
4563
|
+
.muka-table__header-cell--center {
|
|
4564
|
+
text-align: center;
|
|
4565
|
+
}
|
|
4566
|
+
|
|
4567
|
+
.muka-table__cell--right,
|
|
4568
|
+
.muka-table__header-cell--right {
|
|
4569
|
+
text-align: right;
|
|
4570
|
+
}
|
|
4571
|
+
|
|
4572
|
+
/* ========================================
|
|
4573
|
+
HEADER CELLS
|
|
4574
|
+
======================================== */
|
|
4575
|
+
|
|
4576
|
+
.muka-table__header-cell {
|
|
4577
|
+
font-family: var(--text-body-base-bold-fontFamily);
|
|
4578
|
+
font-weight: var(--text-body-base-bold-fontWeight);
|
|
4579
|
+
font-size: var(--text-body-base-bold-fontSize);
|
|
4580
|
+
line-height: var(--text-body-base-bold-lineHeight);
|
|
4581
|
+
color: var(--color-text-default-default);
|
|
4582
|
+
white-space: nowrap;
|
|
4583
|
+
}
|
|
4584
|
+
|
|
4585
|
+
.muka-table__header-content {
|
|
4586
|
+
display: inline-flex;
|
|
4587
|
+
align-items: center;
|
|
4588
|
+
gap: var(--spacing-1);
|
|
4589
|
+
}
|
|
4590
|
+
|
|
4591
|
+
/* Sortable */
|
|
4592
|
+
.muka-table__header-cell--sortable {
|
|
4593
|
+
cursor: pointer;
|
|
4594
|
+
user-select: none;
|
|
4595
|
+
}
|
|
4596
|
+
|
|
4597
|
+
.muka-table__header-cell--sortable:hover {
|
|
4598
|
+
color: var(--color-text-default-default);
|
|
4599
|
+
}
|
|
4600
|
+
|
|
4601
|
+
.muka-table__header-cell--sortable:focus-visible {
|
|
4602
|
+
outline: 2px solid var(--color-action-default);
|
|
4603
|
+
outline-offset: -2px;
|
|
4604
|
+
}
|
|
4605
|
+
|
|
4606
|
+
/* Sort icon */
|
|
4607
|
+
.muka-table__sort-icon {
|
|
4608
|
+
width: 1em;
|
|
4609
|
+
height: 1em;
|
|
4610
|
+
opacity: 0.4;
|
|
4611
|
+
transition: opacity 0.2s, transform 0.2s;
|
|
4612
|
+
}
|
|
4613
|
+
|
|
4614
|
+
.muka-table__header-cell--sortable:hover .muka-table__sort-icon {
|
|
4615
|
+
opacity: 0.7;
|
|
4616
|
+
}
|
|
4617
|
+
|
|
4618
|
+
.muka-table__sort-icon--asc,
|
|
4619
|
+
.muka-table__sort-icon--desc {
|
|
4620
|
+
opacity: 1;
|
|
4621
|
+
}
|
|
4622
|
+
|
|
4623
|
+
|
|
4624
|
+
/* SwipeActions */
|
|
4625
|
+
/* SwipeActions Component Styles */
|
|
4626
|
+
|
|
4627
|
+
.muka-swipe-actions {
|
|
4628
|
+
position: relative;
|
|
4629
|
+
overflow: hidden;
|
|
4630
|
+
touch-action: pan-y;
|
|
4631
|
+
-webkit-user-select: none;
|
|
4632
|
+
user-select: none;
|
|
4633
|
+
background-color: var(--color-surface-level3);
|
|
4634
|
+
}
|
|
4635
|
+
|
|
4636
|
+
.muka-swipe-actions--disabled {
|
|
4637
|
+
touch-action: auto;
|
|
4638
|
+
}
|
|
4639
|
+
|
|
4640
|
+
/* ─── Row that holds the actual content ────────────────── */
|
|
4641
|
+
|
|
4642
|
+
.muka-swipe-actions__row {
|
|
4643
|
+
position: relative;
|
|
4644
|
+
z-index: 1;
|
|
4645
|
+
background-color: inherit;
|
|
4646
|
+
will-change: transform;
|
|
4647
|
+
}
|
|
4648
|
+
|
|
4649
|
+
/* ─── Action panels — sit beneath the row ──────────────── */
|
|
4650
|
+
|
|
4651
|
+
.muka-swipe-actions__panel {
|
|
4652
|
+
position: absolute;
|
|
4653
|
+
top: 0;
|
|
4654
|
+
bottom: 0;
|
|
4655
|
+
display: flex;
|
|
4656
|
+
align-items: stretch;
|
|
4657
|
+
z-index: 0;
|
|
4658
|
+
}
|
|
4659
|
+
|
|
4660
|
+
.muka-swipe-actions__panel--left {
|
|
4661
|
+
left: 0;
|
|
4662
|
+
}
|
|
4663
|
+
|
|
4664
|
+
.muka-swipe-actions__panel--right {
|
|
4665
|
+
right: 0;
|
|
4666
|
+
}
|
|
4667
|
+
|
|
4668
|
+
/* ─── Single action button ─────────────────────────────── */
|
|
4669
|
+
|
|
4670
|
+
.muka-swipe-actions__button {
|
|
4671
|
+
display: flex;
|
|
4672
|
+
flex-direction: column;
|
|
4673
|
+
align-items: center;
|
|
4674
|
+
justify-content: center;
|
|
4675
|
+
gap: var(--spacing-1);
|
|
4676
|
+
border: none;
|
|
4677
|
+
cursor: pointer;
|
|
4678
|
+
padding: var(--spacing-2);
|
|
4679
|
+
background-color: var(--color-surface-level2);
|
|
4680
|
+
color: var(--color-text-default-default);
|
|
4681
|
+
font-family: var(--text-label-sm-semibold-fontFamily);
|
|
4682
|
+
font-weight: var(--text-label-sm-semibold-fontWeight);
|
|
4683
|
+
font-size: var(--text-label-sm-semibold-fontSize);
|
|
4684
|
+
line-height: var(--text-label-sm-semibold-lineHeight);
|
|
4685
|
+
-webkit-tap-highlight-color: transparent;
|
|
4686
|
+
transition: filter 0.12s ease;
|
|
4687
|
+
}
|
|
4688
|
+
|
|
4689
|
+
.muka-swipe-actions__button:hover {
|
|
4690
|
+
filter: brightness(0.95);
|
|
4504
4691
|
}
|
|
4505
4692
|
|
|
4506
|
-
.muka-
|
|
4507
|
-
|
|
4693
|
+
.muka-swipe-actions__button:focus-visible {
|
|
4694
|
+
outline: 2px solid var(--color-action-default);
|
|
4695
|
+
outline-offset: -2px;
|
|
4508
4696
|
}
|
|
4509
4697
|
|
|
4510
|
-
.muka-
|
|
4511
|
-
|
|
4698
|
+
.muka-swipe-actions__button-icon {
|
|
4699
|
+
display: inline-flex;
|
|
4700
|
+
align-items: center;
|
|
4701
|
+
justify-content: center;
|
|
4512
4702
|
}
|
|
4513
4703
|
|
|
4514
|
-
|
|
4515
|
-
background-color: var(--table-row-selected-background, var(--color-action-default));
|
|
4516
|
-
}
|
|
4704
|
+
/* ─── Color variants ───────────────────────────────────── */
|
|
4517
4705
|
|
|
4518
|
-
.muka-
|
|
4519
|
-
background-color: var(--
|
|
4706
|
+
.muka-swipe-actions__button--neutral {
|
|
4707
|
+
background-color: var(--color-surface-level2);
|
|
4708
|
+
color: var(--color-text-default-default);
|
|
4520
4709
|
}
|
|
4521
4710
|
|
|
4522
|
-
.muka-
|
|
4523
|
-
|
|
4711
|
+
.muka-swipe-actions__button--primary {
|
|
4712
|
+
background-color: var(--color-action-default);
|
|
4713
|
+
color: var(--color-text-default-inverse);
|
|
4524
4714
|
}
|
|
4525
4715
|
|
|
4526
|
-
|
|
4527
|
-
|
|
4528
|
-
|
|
4529
|
-
|
|
4530
|
-
.muka-table__cell,
|
|
4531
|
-
.muka-table__header-cell {
|
|
4532
|
-
vertical-align: middle;
|
|
4716
|
+
.muka-swipe-actions__button--success {
|
|
4717
|
+
background-color: var(--color-state-success-default);
|
|
4718
|
+
color: var(--color-text-default-inverse);
|
|
4533
4719
|
}
|
|
4534
4720
|
|
|
4535
|
-
|
|
4536
|
-
|
|
4537
|
-
|
|
4538
|
-
padding: var(--table-cell-padding-y-sm) var(--table-cell-padding-x-sm);
|
|
4721
|
+
.muka-swipe-actions__button--warning {
|
|
4722
|
+
background-color: var(--color-state-warning-default);
|
|
4723
|
+
color: var(--color-text-default-default);
|
|
4539
4724
|
}
|
|
4540
4725
|
|
|
4541
|
-
|
|
4542
|
-
|
|
4543
|
-
|
|
4544
|
-
padding: var(--table-cell-padding-y-md) var(--table-cell-padding-x-md);
|
|
4726
|
+
.muka-swipe-actions__button--destructive {
|
|
4727
|
+
background-color: var(--color-state-error-default);
|
|
4728
|
+
color: var(--color-text-default-inverse);
|
|
4545
4729
|
}
|
|
4546
4730
|
|
|
4547
|
-
|
|
4548
|
-
|
|
4549
|
-
|
|
4550
|
-
|
|
4731
|
+
|
|
4732
|
+
/* Spinner */
|
|
4733
|
+
/* Spinner Component Styles */
|
|
4734
|
+
|
|
4735
|
+
.muka-spinner {
|
|
4736
|
+
display: inline-flex;
|
|
4737
|
+
align-items: center;
|
|
4738
|
+
justify-content: center;
|
|
4739
|
+
color: var(--color-text-default-default);
|
|
4740
|
+
line-height: 0;
|
|
4551
4741
|
}
|
|
4552
4742
|
|
|
4553
|
-
|
|
4554
|
-
|
|
4555
|
-
.muka-table__header-cell--left {
|
|
4556
|
-
text-align: left;
|
|
4743
|
+
.muka-spinner--subtle {
|
|
4744
|
+
color: var(--color-text-subtle-default);
|
|
4557
4745
|
}
|
|
4558
4746
|
|
|
4559
|
-
.muka-
|
|
4560
|
-
|
|
4561
|
-
text-align: center;
|
|
4747
|
+
.muka-spinner--inverse {
|
|
4748
|
+
color: var(--color-text-default-inverse);
|
|
4562
4749
|
}
|
|
4563
4750
|
|
|
4564
|
-
.muka-
|
|
4565
|
-
|
|
4566
|
-
|
|
4751
|
+
.muka-spinner__circle {
|
|
4752
|
+
display: inline-block;
|
|
4753
|
+
border-radius: 50%;
|
|
4754
|
+
border-style: solid;
|
|
4755
|
+
border-color: currentColor;
|
|
4756
|
+
border-right-color: transparent;
|
|
4757
|
+
animation: muka-spinner-rotate 0.7s linear infinite;
|
|
4758
|
+
box-sizing: border-box;
|
|
4567
4759
|
}
|
|
4568
4760
|
|
|
4569
|
-
/*
|
|
4570
|
-
HEADER CELLS
|
|
4571
|
-
======================================== */
|
|
4761
|
+
/* ─── Sizes ───────────────────────────────────────────── */
|
|
4572
4762
|
|
|
4573
|
-
.muka-
|
|
4574
|
-
|
|
4575
|
-
|
|
4576
|
-
|
|
4577
|
-
line-height: var(--text-body-base-bold-lineHeight);
|
|
4578
|
-
color: var(--color-text-default-default);
|
|
4579
|
-
white-space: nowrap;
|
|
4763
|
+
.muka-spinner--sm .muka-spinner__circle {
|
|
4764
|
+
width: 16px;
|
|
4765
|
+
height: 16px;
|
|
4766
|
+
border-width: 2px;
|
|
4580
4767
|
}
|
|
4581
4768
|
|
|
4582
|
-
.muka-
|
|
4583
|
-
|
|
4584
|
-
|
|
4585
|
-
|
|
4769
|
+
.muka-spinner--md .muka-spinner__circle {
|
|
4770
|
+
width: 20px;
|
|
4771
|
+
height: 20px;
|
|
4772
|
+
border-width: 2px;
|
|
4586
4773
|
}
|
|
4587
4774
|
|
|
4588
|
-
|
|
4589
|
-
|
|
4590
|
-
|
|
4591
|
-
|
|
4775
|
+
.muka-spinner--lg .muka-spinner__circle {
|
|
4776
|
+
width: 24px;
|
|
4777
|
+
height: 24px;
|
|
4778
|
+
border-width: 3px;
|
|
4592
4779
|
}
|
|
4593
4780
|
|
|
4594
|
-
|
|
4595
|
-
color: var(--color-text-default-default);
|
|
4596
|
-
}
|
|
4781
|
+
/* ─── Visually-hidden label ───────────────────────────── */
|
|
4597
4782
|
|
|
4598
|
-
.muka-
|
|
4599
|
-
|
|
4600
|
-
|
|
4783
|
+
.muka-spinner__sr-label {
|
|
4784
|
+
position: absolute;
|
|
4785
|
+
width: 1px;
|
|
4786
|
+
height: 1px;
|
|
4787
|
+
padding: 0;
|
|
4788
|
+
margin: -1px;
|
|
4789
|
+
overflow: hidden;
|
|
4790
|
+
clip: rect(0, 0, 0, 0);
|
|
4791
|
+
white-space: nowrap;
|
|
4792
|
+
border: 0;
|
|
4601
4793
|
}
|
|
4602
4794
|
|
|
4603
|
-
/*
|
|
4604
|
-
.muka-table__sort-icon {
|
|
4605
|
-
width: 1em;
|
|
4606
|
-
height: 1em;
|
|
4607
|
-
opacity: 0.4;
|
|
4608
|
-
transition: opacity 0.2s, transform 0.2s;
|
|
4609
|
-
}
|
|
4795
|
+
/* ─── Reduced motion ──────────────────────────────────── */
|
|
4610
4796
|
|
|
4611
|
-
|
|
4612
|
-
|
|
4797
|
+
@keyframes muka-spinner-rotate {
|
|
4798
|
+
to {
|
|
4799
|
+
transform: rotate(360deg);
|
|
4800
|
+
}
|
|
4613
4801
|
}
|
|
4614
4802
|
|
|
4615
|
-
|
|
4616
|
-
.muka-
|
|
4617
|
-
|
|
4803
|
+
@media (prefers-reduced-motion: reduce) {
|
|
4804
|
+
.muka-spinner__circle {
|
|
4805
|
+
animation-duration: 2.5s;
|
|
4806
|
+
}
|
|
4618
4807
|
}
|
|
4619
4808
|
|
|
4620
4809
|
|
|
@@ -6900,55 +7089,168 @@ body {
|
|
|
6900
7089
|
z-index: 1;
|
|
6901
7090
|
}
|
|
6902
7091
|
|
|
6903
|
-
/* ─── Hover halo (vertical interactive only) ────────────── */
|
|
6904
|
-
.muka-progress-tracker--vertical .muka-progress-tracker__step--interactive:hover::before,
|
|
6905
|
-
.muka-progress-tracker--vertical .muka-progress-tracker__step--interactive:active::before,
|
|
6906
|
-
.muka-progress-tracker--vertical .muka-progress-tracker__step[data-selected='true']::before {
|
|
6907
|
-
content: '';
|
|
6908
|
-
position: absolute;
|
|
6909
|
-
background-color: var(--color-surface-level1);
|
|
6910
|
-
pointer-events: none;
|
|
6911
|
-
z-index: 0;
|
|
7092
|
+
/* ─── Hover halo (vertical interactive only) ────────────── */
|
|
7093
|
+
.muka-progress-tracker--vertical .muka-progress-tracker__step--interactive:hover::before,
|
|
7094
|
+
.muka-progress-tracker--vertical .muka-progress-tracker__step--interactive:active::before,
|
|
7095
|
+
.muka-progress-tracker--vertical .muka-progress-tracker__step[data-selected='true']::before {
|
|
7096
|
+
content: '';
|
|
7097
|
+
position: absolute;
|
|
7098
|
+
background-color: var(--color-surface-level1);
|
|
7099
|
+
pointer-events: none;
|
|
7100
|
+
z-index: 0;
|
|
7101
|
+
}
|
|
7102
|
+
|
|
7103
|
+
/* Hover: 40px circle behind indicator only */
|
|
7104
|
+
.muka-progress-tracker--vertical .muka-progress-tracker__step--interactive:hover::before {
|
|
7105
|
+
left: -4px;
|
|
7106
|
+
top: -4px;
|
|
7107
|
+
width: 40px;
|
|
7108
|
+
height: 40px;
|
|
7109
|
+
border-radius: 20px;
|
|
7110
|
+
}
|
|
7111
|
+
|
|
7112
|
+
/* Selected / :active: pill behind full step row — wins over hover */
|
|
7113
|
+
.muka-progress-tracker--vertical .muka-progress-tracker__step--interactive:active::before,
|
|
7114
|
+
.muka-progress-tracker--vertical .muka-progress-tracker__step[data-selected='true']::before {
|
|
7115
|
+
left: -4px;
|
|
7116
|
+
right: -8px;
|
|
7117
|
+
top: -4px;
|
|
7118
|
+
bottom: -4px;
|
|
7119
|
+
width: auto;
|
|
7120
|
+
height: auto;
|
|
7121
|
+
border-radius: 20px;
|
|
7122
|
+
}
|
|
7123
|
+
|
|
7124
|
+
/* Selected steps without interactive class still show the pill */
|
|
7125
|
+
.muka-progress-tracker--vertical .muka-progress-tracker__step[data-selected='true']:not(.muka-progress-tracker__step--interactive)::before {
|
|
7126
|
+
content: '';
|
|
7127
|
+
position: absolute;
|
|
7128
|
+
left: -4px;
|
|
7129
|
+
right: -8px;
|
|
7130
|
+
top: -4px;
|
|
7131
|
+
bottom: -4px;
|
|
7132
|
+
background-color: var(--color-surface-level1);
|
|
7133
|
+
border-radius: 20px;
|
|
7134
|
+
pointer-events: none;
|
|
7135
|
+
z-index: 0;
|
|
7136
|
+
}
|
|
7137
|
+
|
|
7138
|
+
/* Connector stays behind indicators (indicator-col is z-index 1) */
|
|
7139
|
+
.muka-progress-tracker--vertical .muka-progress-tracker__connector {
|
|
7140
|
+
z-index: 0;
|
|
7141
|
+
}
|
|
7142
|
+
|
|
7143
|
+
/* ─── Tabs variant (MUK-101, Bouwplan Figma 1030-40701) ──────
|
|
7144
|
+
A row of tabs: indicator left of the label. The selected tab takes the
|
|
7145
|
+
content's surface and flares into it at the bottom, so it reads as the
|
|
7146
|
+
page below. Tabs sit on the consumer's background (e.g. surface.level0). */
|
|
7147
|
+
.muka-progress-tracker--tabs {
|
|
7148
|
+
display: block;
|
|
7149
|
+
/* Room for the first and last tab's flare, and for the shadow above. */
|
|
7150
|
+
padding: var(--spacing-6) var(--spacing-8) 0;
|
|
7151
|
+
box-sizing: border-box;
|
|
7152
|
+
/* The shadow below a tab would fall on the content: clip it. */
|
|
7153
|
+
overflow: hidden;
|
|
7154
|
+
}
|
|
7155
|
+
|
|
7156
|
+
.muka-progress-tracker--tabs.muka-progress-tracker--scrollable {
|
|
7157
|
+
overflow-x: auto;
|
|
7158
|
+
padding-inline: var(--spacing-8);
|
|
7159
|
+
}
|
|
7160
|
+
|
|
7161
|
+
.muka-progress-tracker__tabs {
|
|
7162
|
+
display: flex;
|
|
7163
|
+
align-items: flex-end;
|
|
7164
|
+
width: max-content;
|
|
7165
|
+
isolation: isolate;
|
|
7166
|
+
}
|
|
7167
|
+
|
|
7168
|
+
.muka-progress-tracker__tab {
|
|
7169
|
+
--muka-progress-tracker-tab-surface: var(--color-surface-level2);
|
|
7170
|
+
position: relative;
|
|
7171
|
+
display: flex;
|
|
7172
|
+
align-items: center;
|
|
7173
|
+
gap: var(--spacing-3);
|
|
7174
|
+
margin: 0;
|
|
7175
|
+
/* Figma: 12px around, 4px more after the label. */
|
|
7176
|
+
padding: var(--spacing-3) var(--spacing-4) var(--spacing-3) var(--spacing-3);
|
|
7177
|
+
border: none;
|
|
7178
|
+
border-radius: var(--border-radius-xl) var(--border-radius-xl) 0 0;
|
|
7179
|
+
background-color: var(--muka-progress-tracker-tab-surface);
|
|
7180
|
+
color: var(--color-text-default-default);
|
|
7181
|
+
font: inherit;
|
|
7182
|
+
text-align: left;
|
|
7183
|
+
white-space: nowrap;
|
|
7184
|
+
filter: drop-shadow(0 0 0.5px var(--color-black-alpha-5))
|
|
7185
|
+
drop-shadow(0 8px 8px var(--color-black-alpha-5));
|
|
7186
|
+
}
|
|
7187
|
+
|
|
7188
|
+
/* Concave corners: the tab's bottom flares out into the surface. */
|
|
7189
|
+
.muka-progress-tracker__tab::before,
|
|
7190
|
+
.muka-progress-tracker__tab::after {
|
|
7191
|
+
content: '';
|
|
7192
|
+
position: absolute;
|
|
7193
|
+
bottom: 0;
|
|
7194
|
+
width: var(--border-radius-xl);
|
|
7195
|
+
height: var(--border-radius-xl);
|
|
7196
|
+
pointer-events: none;
|
|
7197
|
+
}
|
|
7198
|
+
|
|
7199
|
+
.muka-progress-tracker__tab::before {
|
|
7200
|
+
right: 100%;
|
|
7201
|
+
background: radial-gradient(
|
|
7202
|
+
circle at 0 0,
|
|
7203
|
+
transparent calc(var(--border-radius-xl) - 0.5px),
|
|
7204
|
+
var(--muka-progress-tracker-tab-surface) var(--border-radius-xl)
|
|
7205
|
+
);
|
|
7206
|
+
}
|
|
7207
|
+
|
|
7208
|
+
.muka-progress-tracker__tab::after {
|
|
7209
|
+
left: 100%;
|
|
7210
|
+
background: radial-gradient(
|
|
7211
|
+
circle at 100% 0,
|
|
7212
|
+
transparent calc(var(--border-radius-xl) - 0.5px),
|
|
7213
|
+
var(--muka-progress-tracker-tab-surface) var(--border-radius-xl)
|
|
7214
|
+
);
|
|
7215
|
+
}
|
|
7216
|
+
|
|
7217
|
+
.muka-progress-tracker__tab--selected {
|
|
7218
|
+
--muka-progress-tracker-tab-surface: var(
|
|
7219
|
+
--muka-progress-tracker-tab-selected,
|
|
7220
|
+
var(--color-surface-level3)
|
|
7221
|
+
);
|
|
7222
|
+
}
|
|
7223
|
+
|
|
7224
|
+
button.muka-progress-tracker__tab {
|
|
7225
|
+
cursor: pointer;
|
|
7226
|
+
}
|
|
7227
|
+
|
|
7228
|
+
button.muka-progress-tracker__tab:not(.muka-progress-tracker__tab--selected):hover {
|
|
7229
|
+
background-image: linear-gradient(var(--color-surface-hover), var(--color-surface-hover));
|
|
6912
7230
|
}
|
|
6913
7231
|
|
|
6914
|
-
|
|
6915
|
-
|
|
6916
|
-
|
|
6917
|
-
top: -4px;
|
|
6918
|
-
width: 40px;
|
|
6919
|
-
height: 40px;
|
|
6920
|
-
border-radius: 20px;
|
|
7232
|
+
button.muka-progress-tracker__tab:focus-visible {
|
|
7233
|
+
outline: 2px solid var(--color-border-focus);
|
|
7234
|
+
outline-offset: -2px;
|
|
6921
7235
|
}
|
|
6922
7236
|
|
|
6923
|
-
|
|
6924
|
-
|
|
6925
|
-
|
|
6926
|
-
|
|
6927
|
-
|
|
6928
|
-
top: -4px;
|
|
6929
|
-
bottom: -4px;
|
|
6930
|
-
width: auto;
|
|
6931
|
-
height: auto;
|
|
6932
|
-
border-radius: 20px;
|
|
7237
|
+
.muka-progress-tracker--tabs .muka-progress-tracker__label {
|
|
7238
|
+
font-family: var(--text-body-base-regular-fontFamily);
|
|
7239
|
+
font-weight: var(--text-body-base-regular-fontWeight);
|
|
7240
|
+
font-size: var(--text-body-base-regular-fontSize);
|
|
7241
|
+
line-height: var(--text-body-base-regular-lineHeight);
|
|
6933
7242
|
}
|
|
6934
7243
|
|
|
6935
|
-
|
|
6936
|
-
|
|
6937
|
-
|
|
6938
|
-
position: absolute;
|
|
6939
|
-
left: -4px;
|
|
6940
|
-
right: -8px;
|
|
6941
|
-
top: -4px;
|
|
6942
|
-
bottom: -4px;
|
|
6943
|
-
background-color: var(--color-surface-level1);
|
|
6944
|
-
border-radius: 20px;
|
|
6945
|
-
pointer-events: none;
|
|
6946
|
-
z-index: 0;
|
|
7244
|
+
.muka-progress-tracker__tab--selected .muka-progress-tracker__label {
|
|
7245
|
+
font-family: var(--text-body-base-bold-fontFamily);
|
|
7246
|
+
font-weight: var(--text-body-base-bold-fontWeight);
|
|
6947
7247
|
}
|
|
6948
7248
|
|
|
6949
|
-
|
|
6950
|
-
|
|
6951
|
-
|
|
7249
|
+
.muka-progress-tracker--tabs .muka-progress-tracker__indicator--upcoming .muka-progress-tracker__number {
|
|
7250
|
+
font-family: var(--text-label-md-semibold-fontFamily);
|
|
7251
|
+
font-weight: var(--text-label-md-semibold-fontWeight);
|
|
7252
|
+
font-size: var(--text-label-md-semibold-fontSize);
|
|
7253
|
+
line-height: var(--text-label-md-semibold-lineHeight);
|
|
6952
7254
|
}
|
|
6953
7255
|
|
|
6954
7256
|
|
|
@@ -13287,6 +13589,16 @@ button.muka-chat-photo-grid__tile:focus-visible {
|
|
|
13287
13589
|
gap: var(--spacing-3);
|
|
13288
13590
|
}
|
|
13289
13591
|
|
|
13592
|
+
/*
|
|
13593
|
+
* Buttons beside the field keep their square size (`.muka-button--icon-only`
|
|
13594
|
+
* width). Only the field or recording bar flexes, so a wide waveform or a
|
|
13595
|
+
* long text can never squeeze them.
|
|
13596
|
+
*/
|
|
13597
|
+
.muka-chat-composer__row > .muka-button,
|
|
13598
|
+
.muka-chat-composer__options-input > .muka-button {
|
|
13599
|
+
flex-shrink: 0;
|
|
13600
|
+
}
|
|
13601
|
+
|
|
13290
13602
|
/* ─── Text field ───────────────────────────────────────── */
|
|
13291
13603
|
|
|
13292
13604
|
.muka-chat-composer__field {
|
|
@@ -13344,6 +13656,16 @@ button.muka-chat-photo-grid__tile:focus-visible {
|
|
|
13344
13656
|
color: var(--color-text-subtle-default);
|
|
13345
13657
|
}
|
|
13346
13658
|
|
|
13659
|
+
/* Transcribing: the field is back but inert (Input disabled tokens). */
|
|
13660
|
+
.muka-chat-composer__field--disabled {
|
|
13661
|
+
border-color: var(--input-field-color-disabled-border);
|
|
13662
|
+
background-color: var(--input-field-color-disabled-background);
|
|
13663
|
+
}
|
|
13664
|
+
|
|
13665
|
+
.muka-chat-composer__field--disabled .muka-chat-composer__input::placeholder {
|
|
13666
|
+
color: var(--input-field-color-disabled-foreground);
|
|
13667
|
+
}
|
|
13668
|
+
|
|
13347
13669
|
/* Keep the in-field emoji button flush to the bottom-right as the field grows */
|
|
13348
13670
|
.muka-chat-composer__emoji {
|
|
13349
13671
|
flex-shrink: 0;
|
|
@@ -13362,6 +13684,8 @@ button.muka-chat-photo-grid__tile:focus-visible {
|
|
|
13362
13684
|
border: var(--border-width-regular) solid var(--card-color-default-border);
|
|
13363
13685
|
border-radius: var(--radius-lg);
|
|
13364
13686
|
background-color: var(--card-color-default-background);
|
|
13687
|
+
/* A waveform wider than the space left is clipped, never laid over pause. */
|
|
13688
|
+
overflow: hidden;
|
|
13365
13689
|
}
|
|
13366
13690
|
|
|
13367
13691
|
/* ─── Staged attachments strip ─────────────────────────── */
|
|
@@ -14074,6 +14398,12 @@ button.muka-chat-photo-grid__tile:focus-visible {
|
|
|
14074
14398
|
display: block;
|
|
14075
14399
|
}
|
|
14076
14400
|
|
|
14401
|
+
/* A Spinner in the icon slot keeps its own flex centring: as a block its
|
|
14402
|
+
circle sat at the top of the slot (4px high in an lg icon-only button). */
|
|
14403
|
+
.muka-button .muka-button__icon > .muka-spinner {
|
|
14404
|
+
display: flex;
|
|
14405
|
+
}
|
|
14406
|
+
|
|
14077
14407
|
.muka-button--sm .muka-button__icon {
|
|
14078
14408
|
width: var(--button-icon-sm);
|
|
14079
14409
|
height: var(--button-icon-sm);
|
|
@@ -16036,189 +16366,3 @@ button.muka-chat-photo-grid__tile:focus-visible {
|
|
|
16036
16366
|
border-bottom: none;
|
|
16037
16367
|
}
|
|
16038
16368
|
|
|
16039
|
-
|
|
16040
|
-
/* SwipeActions */
|
|
16041
|
-
/* SwipeActions Component Styles */
|
|
16042
|
-
|
|
16043
|
-
.muka-swipe-actions {
|
|
16044
|
-
position: relative;
|
|
16045
|
-
overflow: hidden;
|
|
16046
|
-
touch-action: pan-y;
|
|
16047
|
-
-webkit-user-select: none;
|
|
16048
|
-
user-select: none;
|
|
16049
|
-
background-color: var(--color-surface-level3);
|
|
16050
|
-
}
|
|
16051
|
-
|
|
16052
|
-
.muka-swipe-actions--disabled {
|
|
16053
|
-
touch-action: auto;
|
|
16054
|
-
}
|
|
16055
|
-
|
|
16056
|
-
/* ─── Row that holds the actual content ────────────────── */
|
|
16057
|
-
|
|
16058
|
-
.muka-swipe-actions__row {
|
|
16059
|
-
position: relative;
|
|
16060
|
-
z-index: 1;
|
|
16061
|
-
background-color: inherit;
|
|
16062
|
-
will-change: transform;
|
|
16063
|
-
}
|
|
16064
|
-
|
|
16065
|
-
/* ─── Action panels — sit beneath the row ──────────────── */
|
|
16066
|
-
|
|
16067
|
-
.muka-swipe-actions__panel {
|
|
16068
|
-
position: absolute;
|
|
16069
|
-
top: 0;
|
|
16070
|
-
bottom: 0;
|
|
16071
|
-
display: flex;
|
|
16072
|
-
align-items: stretch;
|
|
16073
|
-
z-index: 0;
|
|
16074
|
-
}
|
|
16075
|
-
|
|
16076
|
-
.muka-swipe-actions__panel--left {
|
|
16077
|
-
left: 0;
|
|
16078
|
-
}
|
|
16079
|
-
|
|
16080
|
-
.muka-swipe-actions__panel--right {
|
|
16081
|
-
right: 0;
|
|
16082
|
-
}
|
|
16083
|
-
|
|
16084
|
-
/* ─── Single action button ─────────────────────────────── */
|
|
16085
|
-
|
|
16086
|
-
.muka-swipe-actions__button {
|
|
16087
|
-
display: flex;
|
|
16088
|
-
flex-direction: column;
|
|
16089
|
-
align-items: center;
|
|
16090
|
-
justify-content: center;
|
|
16091
|
-
gap: var(--spacing-1);
|
|
16092
|
-
border: none;
|
|
16093
|
-
cursor: pointer;
|
|
16094
|
-
padding: var(--spacing-2);
|
|
16095
|
-
background-color: var(--color-surface-level2);
|
|
16096
|
-
color: var(--color-text-default-default);
|
|
16097
|
-
font-family: var(--text-label-sm-semibold-fontFamily);
|
|
16098
|
-
font-weight: var(--text-label-sm-semibold-fontWeight);
|
|
16099
|
-
font-size: var(--text-label-sm-semibold-fontSize);
|
|
16100
|
-
line-height: var(--text-label-sm-semibold-lineHeight);
|
|
16101
|
-
-webkit-tap-highlight-color: transparent;
|
|
16102
|
-
transition: filter 0.12s ease;
|
|
16103
|
-
}
|
|
16104
|
-
|
|
16105
|
-
.muka-swipe-actions__button:hover {
|
|
16106
|
-
filter: brightness(0.95);
|
|
16107
|
-
}
|
|
16108
|
-
|
|
16109
|
-
.muka-swipe-actions__button:focus-visible {
|
|
16110
|
-
outline: 2px solid var(--color-action-default);
|
|
16111
|
-
outline-offset: -2px;
|
|
16112
|
-
}
|
|
16113
|
-
|
|
16114
|
-
.muka-swipe-actions__button-icon {
|
|
16115
|
-
display: inline-flex;
|
|
16116
|
-
align-items: center;
|
|
16117
|
-
justify-content: center;
|
|
16118
|
-
}
|
|
16119
|
-
|
|
16120
|
-
/* ─── Color variants ───────────────────────────────────── */
|
|
16121
|
-
|
|
16122
|
-
.muka-swipe-actions__button--neutral {
|
|
16123
|
-
background-color: var(--color-surface-level2);
|
|
16124
|
-
color: var(--color-text-default-default);
|
|
16125
|
-
}
|
|
16126
|
-
|
|
16127
|
-
.muka-swipe-actions__button--primary {
|
|
16128
|
-
background-color: var(--color-action-default);
|
|
16129
|
-
color: var(--color-text-default-inverse);
|
|
16130
|
-
}
|
|
16131
|
-
|
|
16132
|
-
.muka-swipe-actions__button--success {
|
|
16133
|
-
background-color: var(--color-state-success-default);
|
|
16134
|
-
color: var(--color-text-default-inverse);
|
|
16135
|
-
}
|
|
16136
|
-
|
|
16137
|
-
.muka-swipe-actions__button--warning {
|
|
16138
|
-
background-color: var(--color-state-warning-default);
|
|
16139
|
-
color: var(--color-text-default-default);
|
|
16140
|
-
}
|
|
16141
|
-
|
|
16142
|
-
.muka-swipe-actions__button--destructive {
|
|
16143
|
-
background-color: var(--color-state-error-default);
|
|
16144
|
-
color: var(--color-text-default-inverse);
|
|
16145
|
-
}
|
|
16146
|
-
|
|
16147
|
-
|
|
16148
|
-
/* Spinner */
|
|
16149
|
-
/* Spinner Component Styles */
|
|
16150
|
-
|
|
16151
|
-
.muka-spinner {
|
|
16152
|
-
display: inline-flex;
|
|
16153
|
-
align-items: center;
|
|
16154
|
-
justify-content: center;
|
|
16155
|
-
color: var(--color-text-default-default);
|
|
16156
|
-
line-height: 0;
|
|
16157
|
-
}
|
|
16158
|
-
|
|
16159
|
-
.muka-spinner--subtle {
|
|
16160
|
-
color: var(--color-text-subtle-default);
|
|
16161
|
-
}
|
|
16162
|
-
|
|
16163
|
-
.muka-spinner--inverse {
|
|
16164
|
-
color: var(--color-text-default-inverse);
|
|
16165
|
-
}
|
|
16166
|
-
|
|
16167
|
-
.muka-spinner__circle {
|
|
16168
|
-
display: inline-block;
|
|
16169
|
-
border-radius: 50%;
|
|
16170
|
-
border-style: solid;
|
|
16171
|
-
border-color: currentColor;
|
|
16172
|
-
border-right-color: transparent;
|
|
16173
|
-
animation: muka-spinner-rotate 0.7s linear infinite;
|
|
16174
|
-
box-sizing: border-box;
|
|
16175
|
-
}
|
|
16176
|
-
|
|
16177
|
-
/* ─── Sizes ───────────────────────────────────────────── */
|
|
16178
|
-
|
|
16179
|
-
.muka-spinner--sm .muka-spinner__circle {
|
|
16180
|
-
width: 16px;
|
|
16181
|
-
height: 16px;
|
|
16182
|
-
border-width: 2px;
|
|
16183
|
-
}
|
|
16184
|
-
|
|
16185
|
-
.muka-spinner--md .muka-spinner__circle {
|
|
16186
|
-
width: 20px;
|
|
16187
|
-
height: 20px;
|
|
16188
|
-
border-width: 2px;
|
|
16189
|
-
}
|
|
16190
|
-
|
|
16191
|
-
.muka-spinner--lg .muka-spinner__circle {
|
|
16192
|
-
width: 24px;
|
|
16193
|
-
height: 24px;
|
|
16194
|
-
border-width: 3px;
|
|
16195
|
-
}
|
|
16196
|
-
|
|
16197
|
-
/* ─── Visually-hidden label ───────────────────────────── */
|
|
16198
|
-
|
|
16199
|
-
.muka-spinner__sr-label {
|
|
16200
|
-
position: absolute;
|
|
16201
|
-
width: 1px;
|
|
16202
|
-
height: 1px;
|
|
16203
|
-
padding: 0;
|
|
16204
|
-
margin: -1px;
|
|
16205
|
-
overflow: hidden;
|
|
16206
|
-
clip: rect(0, 0, 0, 0);
|
|
16207
|
-
white-space: nowrap;
|
|
16208
|
-
border: 0;
|
|
16209
|
-
}
|
|
16210
|
-
|
|
16211
|
-
/* ─── Reduced motion ──────────────────────────────────── */
|
|
16212
|
-
|
|
16213
|
-
@keyframes muka-spinner-rotate {
|
|
16214
|
-
to {
|
|
16215
|
-
transform: rotate(360deg);
|
|
16216
|
-
}
|
|
16217
|
-
}
|
|
16218
|
-
|
|
16219
|
-
@media (prefers-reduced-motion: reduce) {
|
|
16220
|
-
.muka-spinner__circle {
|
|
16221
|
-
animation-duration: 2.5s;
|
|
16222
|
-
}
|
|
16223
|
-
}
|
|
16224
|
-
|