@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
package/dist/styles/index.css
CHANGED
|
@@ -90,19 +90,22 @@
|
|
|
90
90
|
--spacing-4: 1rem;
|
|
91
91
|
--spacing-5: 1.25rem;
|
|
92
92
|
|
|
93
|
-
--button-padding-sm-x: 0.
|
|
93
|
+
--button-padding-sm-x: 0.75rem;
|
|
94
94
|
--button-padding-sm-y: 0.5rem;
|
|
95
95
|
--button-padding-md-x: 0.75rem;
|
|
96
96
|
--button-padding-md-y: 0.75rem;
|
|
97
97
|
--button-padding-lg-x: 1rem;
|
|
98
98
|
--button-padding-lg-y: 1rem;
|
|
99
99
|
|
|
100
|
-
/* Border radius fallbacks
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
--
|
|
105
|
-
|
|
100
|
+
/* Border radius fallbacks. Shape and spacing match the brand tokens (every
|
|
101
|
+
brand but wireframe, which draws square buttons), so a page whose theme
|
|
102
|
+
tokens load late or out of order keeps the real geometry. Colours and
|
|
103
|
+
fonts above stay deliberately neutral. */
|
|
104
|
+
--radius-md: 0.375rem;
|
|
105
|
+
|
|
106
|
+
--button-radius-sm: 0.75rem;
|
|
107
|
+
--button-radius-md: 0.75rem;
|
|
108
|
+
--button-radius-lg: 0.75rem;
|
|
106
109
|
|
|
107
110
|
/* Typography fallbacks */
|
|
108
111
|
--text-label-sm-fontSize: 0.875rem;
|
|
@@ -3678,6 +3681,88 @@ body {
|
|
|
3678
3681
|
}
|
|
3679
3682
|
|
|
3680
3683
|
|
|
3684
|
+
/* TextLink */
|
|
3685
|
+
/* TextLink Component Styles - Using Muka Design Tokens */
|
|
3686
|
+
|
|
3687
|
+
.muka-text-link {
|
|
3688
|
+
display: inline;
|
|
3689
|
+
cursor: pointer;
|
|
3690
|
+
text-decoration: underline;
|
|
3691
|
+
/* Nudge the rule clear of descenders; the Figma underline sits off baseline. */
|
|
3692
|
+
text-underline-offset: 0.2em;
|
|
3693
|
+
text-decoration-thickness: from-font;
|
|
3694
|
+
/* Rounds the focus ring's corners; the link itself has no visible box. */
|
|
3695
|
+
border-radius: var(--border-radius-sm);
|
|
3696
|
+
transition: color var(--motion-duration-micro, 0.15s) var(--motion-easing-enter, ease);
|
|
3697
|
+
}
|
|
3698
|
+
|
|
3699
|
+
/* ─── Sizes ───────────────────────────────────────────────
|
|
3700
|
+
Mirrors the body text scale so a link matches the copy it sits in. */
|
|
3701
|
+
.muka-text-link--sm {
|
|
3702
|
+
font-family: var(--text-body-sm-regular-fontFamily);
|
|
3703
|
+
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
3704
|
+
font-size: var(--text-body-sm-regular-fontSize);
|
|
3705
|
+
line-height: var(--text-body-sm-regular-lineHeight);
|
|
3706
|
+
}
|
|
3707
|
+
|
|
3708
|
+
.muka-text-link--base {
|
|
3709
|
+
font-family: var(--text-body-base-regular-fontFamily);
|
|
3710
|
+
font-weight: var(--text-body-base-regular-fontWeight);
|
|
3711
|
+
font-size: var(--text-body-base-regular-fontSize);
|
|
3712
|
+
line-height: var(--text-body-base-regular-lineHeight);
|
|
3713
|
+
}
|
|
3714
|
+
|
|
3715
|
+
.muka-text-link--lg {
|
|
3716
|
+
font-family: var(--text-body-lg-regular-fontFamily);
|
|
3717
|
+
font-weight: var(--text-body-lg-regular-fontWeight);
|
|
3718
|
+
font-size: var(--text-body-lg-regular-fontSize);
|
|
3719
|
+
line-height: var(--text-body-lg-regular-lineHeight);
|
|
3720
|
+
}
|
|
3721
|
+
|
|
3722
|
+
/* ─── Variant: default (accent) ───────────────────────────
|
|
3723
|
+
Visited repeats the default colour on purpose: the design treats visited and
|
|
3724
|
+
default the same, and pinning it stops the browser's purple from showing. */
|
|
3725
|
+
.muka-text-link--default,
|
|
3726
|
+
.muka-text-link--default:visited {
|
|
3727
|
+
color: var(--color-text-action-default);
|
|
3728
|
+
}
|
|
3729
|
+
|
|
3730
|
+
.muka-text-link--default:hover,
|
|
3731
|
+
.muka-text-link--default:focus-visible {
|
|
3732
|
+
color: var(--color-text-action-hover);
|
|
3733
|
+
}
|
|
3734
|
+
|
|
3735
|
+
.muka-text-link--default:active {
|
|
3736
|
+
color: var(--color-text-action-pressed);
|
|
3737
|
+
}
|
|
3738
|
+
|
|
3739
|
+
/* ─── Variant: subtle (neutral) ───────────────────────────
|
|
3740
|
+
Hover, focus and pressed all darken to the default text colour. */
|
|
3741
|
+
.muka-text-link--subtle,
|
|
3742
|
+
.muka-text-link--subtle:visited {
|
|
3743
|
+
color: var(--color-text-subtle-default);
|
|
3744
|
+
}
|
|
3745
|
+
|
|
3746
|
+
.muka-text-link--subtle:hover,
|
|
3747
|
+
.muka-text-link--subtle:focus-visible,
|
|
3748
|
+
.muka-text-link--subtle:active {
|
|
3749
|
+
color: var(--color-text-default-default);
|
|
3750
|
+
}
|
|
3751
|
+
|
|
3752
|
+
/* ─── Focus ───────────────────────────────────────────────
|
|
3753
|
+
Same ring as every other focusable Muka component. */
|
|
3754
|
+
.muka-text-link:focus-visible {
|
|
3755
|
+
outline: 2px solid var(--color-border-focus);
|
|
3756
|
+
outline-offset: 2px;
|
|
3757
|
+
}
|
|
3758
|
+
|
|
3759
|
+
@media (prefers-reduced-motion: reduce) {
|
|
3760
|
+
.muka-text-link {
|
|
3761
|
+
transition: none;
|
|
3762
|
+
}
|
|
3763
|
+
}
|
|
3764
|
+
|
|
3765
|
+
|
|
3681
3766
|
/* Thumbnail */
|
|
3682
3767
|
/* Thumbnail Component Styles - Using Muka Design Tokens */
|
|
3683
3768
|
|
|
@@ -3863,439 +3948,357 @@ body {
|
|
|
3863
3948
|
}
|
|
3864
3949
|
|
|
3865
3950
|
|
|
3866
|
-
/*
|
|
3867
|
-
/*
|
|
3951
|
+
/* Tabs */
|
|
3952
|
+
/* Tabs Component Styles - Clean underline style tabs matching Figma */
|
|
3868
3953
|
|
|
3869
|
-
.muka-
|
|
3870
|
-
display:
|
|
3954
|
+
.muka-tabs {
|
|
3955
|
+
display: flex;
|
|
3871
3956
|
flex-direction: column;
|
|
3872
|
-
gap: var(--spacing-2);
|
|
3873
3957
|
}
|
|
3874
3958
|
|
|
3875
|
-
/*
|
|
3876
|
-
.muka-
|
|
3877
|
-
|
|
3878
|
-
cursor: pointer;
|
|
3959
|
+
/* Alignment Variants */
|
|
3960
|
+
.muka-tabs--align-left .muka-tabs__list {
|
|
3961
|
+
justify-content: flex-start;
|
|
3879
3962
|
}
|
|
3880
|
-
|
|
3881
|
-
|
|
3882
|
-
|
|
3883
|
-
|
|
3884
|
-
|
|
3885
|
-
|
|
3963
|
+
.muka-tabs--align-center .muka-tabs__list {
|
|
3964
|
+
justify-content: center;
|
|
3965
|
+
}
|
|
3966
|
+
.muka-tabs--align-fill .muka-tabs__list {
|
|
3967
|
+
justify-content: space-between;
|
|
3968
|
+
}
|
|
3969
|
+
.muka-tabs--align-fill .muka-tabs__trigger {
|
|
3970
|
+
flex: 1;
|
|
3886
3971
|
}
|
|
3887
3972
|
|
|
3888
|
-
|
|
3889
|
-
|
|
3890
|
-
|
|
3891
|
-
|
|
3892
|
-
|
|
3973
|
+
/* Tab List — strip container */
|
|
3974
|
+
.muka-tabs__list {
|
|
3975
|
+
display: flex;
|
|
3976
|
+
align-items: center;
|
|
3977
|
+
position: relative;
|
|
3978
|
+
z-index: 2;
|
|
3979
|
+
border-bottom: 1px solid var(--tabs-trigger-color-default-border);
|
|
3893
3980
|
}
|
|
3894
3981
|
|
|
3895
|
-
|
|
3896
|
-
|
|
3897
|
-
|
|
3898
|
-
font-size: var(--text-label-lg-semibold-fontSize);
|
|
3899
|
-
line-height: var(--text-label-lg-semibold-lineHeight);
|
|
3982
|
+
/* Padding: inset the tabs; the divider (border) still spans the full width */
|
|
3983
|
+
.muka-tabs--padding-default .muka-tabs__list {
|
|
3984
|
+
padding-inline: var(--tabs-list-padding-x);
|
|
3900
3985
|
}
|
|
3901
3986
|
|
|
3902
|
-
|
|
3903
|
-
|
|
3987
|
+
/* Tab Trigger — clean underline style */
|
|
3988
|
+
.muka-tabs__trigger {
|
|
3989
|
+
display: inline-flex;
|
|
3990
|
+
align-items: center;
|
|
3991
|
+
justify-content: center;
|
|
3992
|
+
gap: var(--spacing-1);
|
|
3993
|
+
background: transparent;
|
|
3994
|
+
border: none;
|
|
3995
|
+
cursor: pointer;
|
|
3996
|
+
user-select: none;
|
|
3997
|
+
transition: background-color 0.2s ease, color 0.2s ease;
|
|
3998
|
+
outline: none;
|
|
3999
|
+
white-space: nowrap;
|
|
4000
|
+
position: relative;
|
|
4001
|
+
z-index: 2;
|
|
4002
|
+
color: var(--tabs-trigger-color-default-foreground);
|
|
4003
|
+
|
|
4004
|
+
/* Default MD size values */
|
|
4005
|
+
min-height: var(--tabs-trigger-min-height-md);
|
|
4006
|
+
padding: var(--spacing-3);
|
|
4007
|
+
font-family: var(--text-label-md-regular-fontFamily);
|
|
4008
|
+
font-weight: var(--text-label-md-regular-fontWeight);
|
|
4009
|
+
font-size: var(--text-label-md-regular-fontSize);
|
|
4010
|
+
line-height: var(--text-label-md-regular-lineHeight);
|
|
3904
4011
|
}
|
|
3905
4012
|
|
|
3906
|
-
/*
|
|
3907
|
-
.muka-
|
|
3908
|
-
|
|
3909
|
-
|
|
3910
|
-
|
|
3911
|
-
|
|
3912
|
-
|
|
3913
|
-
|
|
3914
|
-
box-sizing: border-box;
|
|
4013
|
+
/* Size Variants */
|
|
4014
|
+
.muka-tabs--size-sm .muka-tabs__trigger {
|
|
4015
|
+
min-height: var(--tabs-trigger-min-height-sm);
|
|
4016
|
+
padding: 0 var(--spacing-2);
|
|
4017
|
+
font-family: var(--text-label-sm-regular-fontFamily);
|
|
4018
|
+
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
4019
|
+
font-size: var(--text-label-sm-regular-fontSize);
|
|
4020
|
+
line-height: var(--text-label-sm-regular-lineHeight);
|
|
3915
4021
|
}
|
|
3916
4022
|
|
|
3917
|
-
.muka-
|
|
3918
|
-
min-height: var(--
|
|
3919
|
-
|
|
4023
|
+
.muka-tabs--size-lg .muka-tabs__trigger {
|
|
4024
|
+
min-height: var(--tabs-trigger-min-height-lg);
|
|
4025
|
+
padding: var(--spacing-4);
|
|
4026
|
+
font-family: var(--text-label-lg-regular-fontFamily);
|
|
4027
|
+
font-weight: var(--text-label-lg-regular-fontWeight);
|
|
4028
|
+
font-size: var(--text-label-lg-regular-fontSize);
|
|
4029
|
+
line-height: var(--text-label-lg-regular-lineHeight);
|
|
3920
4030
|
}
|
|
3921
4031
|
|
|
3922
|
-
|
|
3923
|
-
|
|
3924
|
-
|
|
4032
|
+
/* Hover state */
|
|
4033
|
+
.muka-tabs__trigger:hover:not(:disabled):not(.muka-tabs__trigger--current) {
|
|
4034
|
+
color: var(--tabs-trigger-color-hover-foreground);
|
|
3925
4035
|
}
|
|
3926
4036
|
|
|
3927
|
-
|
|
3928
|
-
|
|
3929
|
-
|
|
4037
|
+
/* Current tab */
|
|
4038
|
+
.muka-tabs__trigger--current {
|
|
4039
|
+
color: var(--tabs-trigger-color-current-foreground);
|
|
3930
4040
|
}
|
|
3931
4041
|
|
|
3932
|
-
/*
|
|
3933
|
-
.muka-
|
|
3934
|
-
|
|
3935
|
-
|
|
3936
|
-
|
|
3937
|
-
|
|
4042
|
+
/* Active bottom border (underline) */
|
|
4043
|
+
.muka-tabs__trigger--current::after {
|
|
4044
|
+
content: '';
|
|
4045
|
+
position: absolute;
|
|
4046
|
+
bottom: -1px; /* Overlap the 1px border */
|
|
4047
|
+
left: 0;
|
|
4048
|
+
right: 0;
|
|
4049
|
+
height: var(--tabs-indicator-height-md);
|
|
4050
|
+
background-color: var(--tabs-indicator-color);
|
|
4051
|
+
border-bottom-left-radius: 1px;
|
|
4052
|
+
border-bottom-right-radius: 1px;
|
|
4053
|
+
border-top-left-radius: 3px;
|
|
4054
|
+
border-top-right-radius: 3px;
|
|
4055
|
+
z-index: 3;
|
|
3938
4056
|
}
|
|
3939
4057
|
|
|
3940
|
-
|
|
3941
|
-
|
|
3942
|
-
|
|
3943
|
-
|
|
3944
|
-
|
|
3945
|
-
padding: calc(var(--input-field-padding-y) - 1px) calc(var(--input-field-padding-x) - 1px);
|
|
4058
|
+
.muka-tabs--size-sm .muka-tabs__trigger--current::after {
|
|
4059
|
+
height: var(--tabs-indicator-height-sm);
|
|
4060
|
+
}
|
|
4061
|
+
.muka-tabs--size-lg .muka-tabs__trigger--current::after {
|
|
4062
|
+
height: var(--tabs-indicator-height-lg);
|
|
3946
4063
|
}
|
|
3947
4064
|
|
|
3948
|
-
|
|
3949
|
-
|
|
3950
|
-
background-color: var(--input-field-color-disabled-background);
|
|
3951
|
-
border-color: var(--input-field-color-disabled-border);
|
|
4065
|
+
.muka-tabs__trigger--disabled {
|
|
4066
|
+
color: var(--tabs-trigger-color-disabled-foreground);
|
|
3952
4067
|
cursor: not-allowed;
|
|
3953
4068
|
}
|
|
3954
4069
|
|
|
3955
|
-
|
|
3956
|
-
|
|
3957
|
-
|
|
3958
|
-
border: none;
|
|
3959
|
-
outline: none;
|
|
3960
|
-
background: transparent;
|
|
3961
|
-
color: var(--input-field-color-default-foreground);
|
|
3962
|
-
font-family: var(--text-input-md-fontFamily);
|
|
3963
|
-
font-weight: var(--text-input-md-fontWeight);
|
|
3964
|
-
font-size: var(--text-input-md-fontSize);
|
|
3965
|
-
line-height: var(--text-input-md-lineHeight);
|
|
3966
|
-
padding: 0;
|
|
3967
|
-
width: 100%;
|
|
3968
|
-
min-width: 0;
|
|
3969
|
-
}
|
|
3970
|
-
|
|
3971
|
-
.muka-textarea__field--sm .muka-textarea__native {
|
|
3972
|
-
font-family: var(--text-input-sm-fontFamily);
|
|
3973
|
-
font-weight: var(--text-input-sm-fontWeight);
|
|
3974
|
-
font-size: var(--text-input-sm-fontSize);
|
|
3975
|
-
line-height: var(--text-input-sm-lineHeight);
|
|
3976
|
-
}
|
|
3977
|
-
|
|
3978
|
-
.muka-textarea__field--lg .muka-textarea__native {
|
|
3979
|
-
font-family: var(--text-input-lg-fontFamily);
|
|
3980
|
-
font-weight: var(--text-input-lg-fontWeight);
|
|
3981
|
-
font-size: var(--text-input-lg-fontSize);
|
|
3982
|
-
line-height: var(--text-input-lg-lineHeight);
|
|
3983
|
-
}
|
|
3984
|
-
|
|
3985
|
-
.muka-textarea__native::placeholder {
|
|
3986
|
-
color: var(--color-text-subtle-default);
|
|
4070
|
+
.muka-tabs__trigger:focus-visible {
|
|
4071
|
+
outline: 2px solid var(--color-border-focus);
|
|
4072
|
+
outline-offset: -2px;
|
|
3987
4073
|
}
|
|
3988
4074
|
|
|
3989
|
-
|
|
3990
|
-
|
|
3991
|
-
|
|
4075
|
+
/* Label: Figma pads the label 8px either side, so with the 4px gap a leading
|
|
4076
|
+
item sits 12px from the text */
|
|
4077
|
+
.muka-tabs__label {
|
|
4078
|
+
padding: 0 var(--spacing-2);
|
|
3992
4079
|
}
|
|
3993
4080
|
|
|
3994
|
-
/*
|
|
3995
|
-
.muka-
|
|
4081
|
+
/* Leading item: icon, avatar, avatar group or data pie chart */
|
|
4082
|
+
.muka-tabs__leading {
|
|
3996
4083
|
display: flex;
|
|
3997
|
-
|
|
3998
|
-
|
|
3999
|
-
|
|
4000
|
-
}
|
|
4001
|
-
|
|
4002
|
-
.muka-textarea__helper {
|
|
4003
|
-
font-family: var(--text-label-sm-regular-fontFamily);
|
|
4004
|
-
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
4005
|
-
font-size: var(--text-label-sm-regular-fontSize);
|
|
4006
|
-
line-height: var(--text-label-sm-regular-lineHeight);
|
|
4007
|
-
color: var(--color-text-subtle-default);
|
|
4008
|
-
margin: 0;
|
|
4009
|
-
}
|
|
4010
|
-
|
|
4011
|
-
.muka-textarea__error {
|
|
4012
|
-
font-family: var(--text-label-sm-regular-fontFamily);
|
|
4013
|
-
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
4014
|
-
font-size: var(--text-label-sm-regular-fontSize);
|
|
4015
|
-
line-height: var(--text-label-sm-regular-lineHeight);
|
|
4016
|
-
color: var(--color-state-error-default);
|
|
4017
|
-
margin: 0;
|
|
4018
|
-
}
|
|
4019
|
-
|
|
4020
|
-
.muka-textarea__count {
|
|
4021
|
-
font-family: var(--text-label-sm-regular-fontFamily);
|
|
4022
|
-
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
4023
|
-
font-size: var(--text-label-sm-regular-fontSize);
|
|
4024
|
-
line-height: var(--text-label-sm-regular-lineHeight);
|
|
4025
|
-
color: var(--color-text-subtle-default);
|
|
4026
|
-
margin-left: auto;
|
|
4084
|
+
align-items: center;
|
|
4085
|
+
justify-content: center;
|
|
4086
|
+
flex-shrink: 0;
|
|
4027
4087
|
}
|
|
4028
|
-
|
|
4029
|
-
|
|
4030
|
-
/* TextLink */
|
|
4031
|
-
/* TextLink Component Styles - Using Muka Design Tokens */
|
|
4032
|
-
|
|
4033
|
-
.muka-text-link {
|
|
4034
|
-
display: inline;
|
|
4035
|
-
cursor: pointer;
|
|
4036
|
-
text-decoration: underline;
|
|
4037
|
-
/* Nudge the rule clear of descenders; the Figma underline sits off baseline. */
|
|
4038
|
-
text-underline-offset: 0.2em;
|
|
4039
|
-
text-decoration-thickness: from-font;
|
|
4040
|
-
/* Rounds the focus ring's corners; the link itself has no visible box. */
|
|
4041
|
-
border-radius: var(--border-radius-sm);
|
|
4042
|
-
transition: color var(--motion-duration-micro, 0.15s) var(--motion-easing-enter, ease);
|
|
4088
|
+
.muka-tabs__trigger .muka-icon {
|
|
4089
|
+
color: inherit;
|
|
4043
4090
|
}
|
|
4091
|
+
/* Icon sizes only: avatars and pie charts are sized through their size prop */
|
|
4092
|
+
.muka-tabs--size-sm .muka-tabs__leading > svg,
|
|
4093
|
+
.muka-tabs--size-sm .muka-tabs__leading > .muka-icon svg { width: 16px; height: 16px; }
|
|
4094
|
+
.muka-tabs--size-md .muka-tabs__leading > svg,
|
|
4095
|
+
.muka-tabs--size-md .muka-tabs__leading > .muka-icon svg { width: 20px; height: 20px; }
|
|
4096
|
+
.muka-tabs--size-lg .muka-tabs__leading > svg,
|
|
4097
|
+
.muka-tabs--size-lg .muka-tabs__leading > .muka-icon svg { width: 24px; height: 24px; }
|
|
4044
4098
|
|
|
4045
|
-
/*
|
|
4046
|
-
|
|
4047
|
-
.muka-
|
|
4048
|
-
|
|
4049
|
-
|
|
4050
|
-
|
|
4051
|
-
|
|
4099
|
+
/* Responsive Scroll behavior on small screens */
|
|
4100
|
+
@media (max-width: 768px) {
|
|
4101
|
+
.muka-tabs__list {
|
|
4102
|
+
/* Make scrollable */
|
|
4103
|
+
overflow-x: auto;
|
|
4104
|
+
overflow-y: hidden;
|
|
4105
|
+
/* Force left alignment on mobile to prevent clipping when scrolling */
|
|
4106
|
+
justify-content: flex-start !important;
|
|
4107
|
+
max-width: 100vw;
|
|
4108
|
+
-webkit-overflow-scrolling: touch;
|
|
4109
|
+
/* Hide scrollbar for cleaner look */
|
|
4110
|
+
scrollbar-width: none;
|
|
4111
|
+
}
|
|
4112
|
+
.muka-tabs__list::-webkit-scrollbar {
|
|
4113
|
+
display: none;
|
|
4114
|
+
}
|
|
4115
|
+
/* Remove flex: 1 behavior for Fill tabs on mobile so they map correctly */
|
|
4116
|
+
.muka-tabs--align-fill .muka-tabs__trigger {
|
|
4117
|
+
flex: 0 0 auto;
|
|
4118
|
+
}
|
|
4052
4119
|
}
|
|
4053
4120
|
|
|
4054
|
-
|
|
4121
|
+
/* Tab Panel — content area */
|
|
4122
|
+
.muka-tabs__panel {
|
|
4123
|
+
background-color: var(--tabs-panel-background);
|
|
4124
|
+
/* border-top: var(--border-width-regular) solid var(--tabs-panel-border); removed in favor of the new tablist border */
|
|
4125
|
+
border-bottom: var(--border-width-regular) solid var(--tabs-panel-border);
|
|
4126
|
+
padding: var(--spacing-4);
|
|
4127
|
+
position: relative;
|
|
4128
|
+
z-index: 1;
|
|
4055
4129
|
font-family: var(--text-body-base-regular-fontFamily);
|
|
4056
4130
|
font-weight: var(--text-body-base-regular-fontWeight);
|
|
4057
4131
|
font-size: var(--text-body-base-regular-fontSize);
|
|
4058
4132
|
line-height: var(--text-body-base-regular-lineHeight);
|
|
4059
4133
|
}
|
|
4060
4134
|
|
|
4061
|
-
.muka-
|
|
4062
|
-
|
|
4063
|
-
|
|
4064
|
-
font-size: var(--text-body-lg-regular-fontSize);
|
|
4065
|
-
line-height: var(--text-body-lg-regular-lineHeight);
|
|
4066
|
-
}
|
|
4067
|
-
|
|
4068
|
-
/* ─── Variant: default (accent) ───────────────────────────
|
|
4069
|
-
Visited repeats the default colour on purpose: the design treats visited and
|
|
4070
|
-
default the same, and pinning it stops the browser's purple from showing. */
|
|
4071
|
-
.muka-text-link--default,
|
|
4072
|
-
.muka-text-link--default:visited {
|
|
4073
|
-
color: var(--color-text-action-default);
|
|
4135
|
+
.muka-tabs__panel:focus-visible {
|
|
4136
|
+
outline: 2px solid var(--color-border-focus);
|
|
4137
|
+
outline-offset: 2px;
|
|
4074
4138
|
}
|
|
4075
4139
|
|
|
4076
|
-
.muka-text-link--default:hover,
|
|
4077
|
-
.muka-text-link--default:focus-visible {
|
|
4078
|
-
color: var(--color-text-action-hover);
|
|
4079
|
-
}
|
|
4080
4140
|
|
|
4081
|
-
|
|
4082
|
-
|
|
4083
|
-
}
|
|
4141
|
+
/* Textarea */
|
|
4142
|
+
/* Textarea Component Styles - Using Muka Design Tokens */
|
|
4084
4143
|
|
|
4085
|
-
|
|
4086
|
-
|
|
4087
|
-
|
|
4088
|
-
|
|
4089
|
-
color: var(--color-text-subtle-default);
|
|
4144
|
+
.muka-textarea {
|
|
4145
|
+
display: inline-flex;
|
|
4146
|
+
flex-direction: column;
|
|
4147
|
+
gap: var(--spacing-2);
|
|
4090
4148
|
}
|
|
4091
4149
|
|
|
4092
|
-
|
|
4093
|
-
.muka-
|
|
4094
|
-
.muka-text-link--subtle:active {
|
|
4150
|
+
/* Label */
|
|
4151
|
+
.muka-textarea__label {
|
|
4095
4152
|
color: var(--color-text-default-default);
|
|
4153
|
+
cursor: pointer;
|
|
4096
4154
|
}
|
|
4097
4155
|
|
|
4098
|
-
|
|
4099
|
-
|
|
4100
|
-
|
|
4101
|
-
|
|
4102
|
-
|
|
4156
|
+
.muka-textarea__label--sm {
|
|
4157
|
+
font-family: var(--text-label-sm-semibold-fontFamily);
|
|
4158
|
+
font-weight: var(--text-label-sm-semibold-fontWeight);
|
|
4159
|
+
font-size: var(--text-label-sm-semibold-fontSize);
|
|
4160
|
+
line-height: var(--text-label-sm-semibold-lineHeight);
|
|
4103
4161
|
}
|
|
4104
4162
|
|
|
4105
|
-
|
|
4106
|
-
|
|
4107
|
-
|
|
4108
|
-
|
|
4163
|
+
.muka-textarea__label--md {
|
|
4164
|
+
font-family: var(--text-label-md-semibold-fontFamily);
|
|
4165
|
+
font-weight: var(--text-label-md-semibold-fontWeight);
|
|
4166
|
+
font-size: var(--text-label-md-semibold-fontSize);
|
|
4167
|
+
line-height: var(--text-label-md-semibold-lineHeight);
|
|
4109
4168
|
}
|
|
4110
4169
|
|
|
4111
|
-
|
|
4112
|
-
|
|
4113
|
-
|
|
4114
|
-
|
|
4115
|
-
|
|
4116
|
-
display: flex;
|
|
4117
|
-
flex-direction: column;
|
|
4170
|
+
.muka-textarea__label--lg {
|
|
4171
|
+
font-family: var(--text-label-lg-semibold-fontFamily);
|
|
4172
|
+
font-weight: var(--text-label-lg-semibold-fontWeight);
|
|
4173
|
+
font-size: var(--text-label-lg-semibold-fontSize);
|
|
4174
|
+
line-height: var(--text-label-lg-semibold-lineHeight);
|
|
4118
4175
|
}
|
|
4119
4176
|
|
|
4120
|
-
|
|
4121
|
-
|
|
4122
|
-
justify-content: flex-start;
|
|
4123
|
-
}
|
|
4124
|
-
.muka-tabs--align-center .muka-tabs__list {
|
|
4125
|
-
justify-content: center;
|
|
4126
|
-
}
|
|
4127
|
-
.muka-tabs--align-fill .muka-tabs__list {
|
|
4128
|
-
justify-content: space-between;
|
|
4129
|
-
}
|
|
4130
|
-
.muka-tabs--align-fill .muka-tabs__trigger {
|
|
4131
|
-
flex: 1;
|
|
4177
|
+
.muka-textarea__required {
|
|
4178
|
+
color: var(--color-state-error-default);
|
|
4132
4179
|
}
|
|
4133
4180
|
|
|
4134
|
-
/*
|
|
4135
|
-
.muka-
|
|
4181
|
+
/* Field container */
|
|
4182
|
+
.muka-textarea__field {
|
|
4136
4183
|
display: flex;
|
|
4137
|
-
|
|
4138
|
-
|
|
4139
|
-
|
|
4140
|
-
|
|
4184
|
+
background-color: var(--input-field-color-default-background);
|
|
4185
|
+
border: var(--border-width-regular) solid var(--input-field-color-default-border);
|
|
4186
|
+
border-radius: var(--input-field-radius-md);
|
|
4187
|
+
padding: var(--input-field-padding-y) var(--input-field-padding-x);
|
|
4188
|
+
transition: border-color 0.2s ease, background-color 0.2s ease;
|
|
4189
|
+
box-sizing: border-box;
|
|
4141
4190
|
}
|
|
4142
4191
|
|
|
4143
|
-
|
|
4144
|
-
|
|
4145
|
-
|
|
4192
|
+
.muka-textarea__field--sm {
|
|
4193
|
+
min-height: var(--input-textarea-height-sm);
|
|
4194
|
+
border-radius: var(--input-field-radius-sm);
|
|
4146
4195
|
}
|
|
4147
4196
|
|
|
4148
|
-
|
|
4149
|
-
|
|
4150
|
-
|
|
4151
|
-
align-items: center;
|
|
4152
|
-
justify-content: center;
|
|
4153
|
-
gap: var(--spacing-1);
|
|
4154
|
-
background: transparent;
|
|
4155
|
-
border: none;
|
|
4156
|
-
cursor: pointer;
|
|
4157
|
-
user-select: none;
|
|
4158
|
-
transition: background-color 0.2s ease, color 0.2s ease;
|
|
4159
|
-
outline: none;
|
|
4160
|
-
white-space: nowrap;
|
|
4161
|
-
position: relative;
|
|
4162
|
-
z-index: 2;
|
|
4163
|
-
color: var(--tabs-trigger-color-default-foreground);
|
|
4164
|
-
|
|
4165
|
-
/* Default MD size values */
|
|
4166
|
-
min-height: var(--tabs-trigger-min-height-md);
|
|
4167
|
-
padding: var(--spacing-3);
|
|
4168
|
-
font-family: var(--text-label-md-regular-fontFamily);
|
|
4169
|
-
font-weight: var(--text-label-md-regular-fontWeight);
|
|
4170
|
-
font-size: var(--text-label-md-regular-fontSize);
|
|
4171
|
-
line-height: var(--text-label-md-regular-lineHeight);
|
|
4197
|
+
.muka-textarea__field--md {
|
|
4198
|
+
min-height: var(--input-textarea-height-default);
|
|
4199
|
+
border-radius: var(--input-field-radius-md);
|
|
4172
4200
|
}
|
|
4173
4201
|
|
|
4174
|
-
|
|
4175
|
-
|
|
4176
|
-
|
|
4177
|
-
padding: 0 var(--spacing-2);
|
|
4178
|
-
font-family: var(--text-label-sm-regular-fontFamily);
|
|
4179
|
-
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
4180
|
-
font-size: var(--text-label-sm-regular-fontSize);
|
|
4181
|
-
line-height: var(--text-label-sm-regular-lineHeight);
|
|
4202
|
+
.muka-textarea__field--lg {
|
|
4203
|
+
min-height: var(--input-textarea-height-lg);
|
|
4204
|
+
border-radius: var(--input-field-radius-lg);
|
|
4182
4205
|
}
|
|
4183
4206
|
|
|
4184
|
-
|
|
4185
|
-
|
|
4186
|
-
|
|
4187
|
-
|
|
4188
|
-
|
|
4189
|
-
|
|
4190
|
-
line-height: var(--text-label-lg-regular-lineHeight);
|
|
4207
|
+
/* Focus state */
|
|
4208
|
+
.muka-textarea__field--focused:not(.muka-textarea__field--disabled) {
|
|
4209
|
+
border-width: var(--border-width-bold);
|
|
4210
|
+
border-color: var(--input-field-color-focus-border);
|
|
4211
|
+
background-color: var(--input-field-color-focus-background);
|
|
4212
|
+
padding: calc(var(--input-field-padding-y) - 1px) calc(var(--input-field-padding-x) - 1px);
|
|
4191
4213
|
}
|
|
4192
4214
|
|
|
4193
|
-
/*
|
|
4194
|
-
.muka-
|
|
4195
|
-
|
|
4215
|
+
/* Error state */
|
|
4216
|
+
.muka-textarea__field--error:not(.muka-textarea__field--disabled) {
|
|
4217
|
+
border-width: var(--border-width-bold);
|
|
4218
|
+
border-color: var(--input-field-color-error-border);
|
|
4219
|
+
background-color: var(--input-field-color-error-background);
|
|
4220
|
+
padding: calc(var(--input-field-padding-y) - 1px) calc(var(--input-field-padding-x) - 1px);
|
|
4196
4221
|
}
|
|
4197
4222
|
|
|
4198
|
-
/*
|
|
4199
|
-
.muka-
|
|
4200
|
-
color: var(--
|
|
4223
|
+
/* Disabled state */
|
|
4224
|
+
.muka-textarea__field--disabled {
|
|
4225
|
+
background-color: var(--input-field-color-disabled-background);
|
|
4226
|
+
border-color: var(--input-field-color-disabled-border);
|
|
4227
|
+
cursor: not-allowed;
|
|
4201
4228
|
}
|
|
4202
4229
|
|
|
4203
|
-
/*
|
|
4204
|
-
.muka-
|
|
4205
|
-
|
|
4206
|
-
|
|
4207
|
-
|
|
4208
|
-
|
|
4209
|
-
|
|
4210
|
-
|
|
4211
|
-
|
|
4212
|
-
|
|
4213
|
-
|
|
4214
|
-
|
|
4215
|
-
|
|
4216
|
-
|
|
4230
|
+
/* Native textarea */
|
|
4231
|
+
.muka-textarea__native {
|
|
4232
|
+
flex: 1;
|
|
4233
|
+
border: none;
|
|
4234
|
+
outline: none;
|
|
4235
|
+
background: transparent;
|
|
4236
|
+
color: var(--input-field-color-default-foreground);
|
|
4237
|
+
font-family: var(--text-input-md-fontFamily);
|
|
4238
|
+
font-weight: var(--text-input-md-fontWeight);
|
|
4239
|
+
font-size: var(--text-input-md-fontSize);
|
|
4240
|
+
line-height: var(--text-input-md-lineHeight);
|
|
4241
|
+
padding: 0;
|
|
4242
|
+
width: 100%;
|
|
4243
|
+
min-width: 0;
|
|
4217
4244
|
}
|
|
4218
4245
|
|
|
4219
|
-
.muka-
|
|
4220
|
-
|
|
4221
|
-
|
|
4222
|
-
|
|
4223
|
-
height: var(--
|
|
4246
|
+
.muka-textarea__field--sm .muka-textarea__native {
|
|
4247
|
+
font-family: var(--text-input-sm-fontFamily);
|
|
4248
|
+
font-weight: var(--text-input-sm-fontWeight);
|
|
4249
|
+
font-size: var(--text-input-sm-fontSize);
|
|
4250
|
+
line-height: var(--text-input-sm-lineHeight);
|
|
4224
4251
|
}
|
|
4225
4252
|
|
|
4226
|
-
.muka-
|
|
4227
|
-
|
|
4228
|
-
|
|
4253
|
+
.muka-textarea__field--lg .muka-textarea__native {
|
|
4254
|
+
font-family: var(--text-input-lg-fontFamily);
|
|
4255
|
+
font-weight: var(--text-input-lg-fontWeight);
|
|
4256
|
+
font-size: var(--text-input-lg-fontSize);
|
|
4257
|
+
line-height: var(--text-input-lg-lineHeight);
|
|
4229
4258
|
}
|
|
4230
4259
|
|
|
4231
|
-
.muka-
|
|
4232
|
-
|
|
4233
|
-
outline-offset: -2px;
|
|
4260
|
+
.muka-textarea__native::placeholder {
|
|
4261
|
+
color: var(--color-text-subtle-default);
|
|
4234
4262
|
}
|
|
4235
4263
|
|
|
4236
|
-
|
|
4237
|
-
|
|
4238
|
-
|
|
4239
|
-
padding: 0 var(--spacing-2);
|
|
4264
|
+
.muka-textarea__field--disabled .muka-textarea__native {
|
|
4265
|
+
color: var(--input-field-color-disabled-foreground);
|
|
4266
|
+
cursor: not-allowed;
|
|
4240
4267
|
}
|
|
4241
4268
|
|
|
4242
|
-
/*
|
|
4243
|
-
.muka-
|
|
4244
|
-
display: flex;
|
|
4245
|
-
|
|
4246
|
-
|
|
4247
|
-
|
|
4248
|
-
}
|
|
4249
|
-
.muka-tabs__trigger .muka-icon {
|
|
4250
|
-
color: inherit;
|
|
4269
|
+
/* Footer (helper/error + count) */
|
|
4270
|
+
.muka-textarea__footer {
|
|
4271
|
+
display: flex;
|
|
4272
|
+
justify-content: space-between;
|
|
4273
|
+
align-items: flex-start;
|
|
4274
|
+
gap: var(--spacing-2);
|
|
4251
4275
|
}
|
|
4252
|
-
/* Icon sizes only: avatars and pie charts are sized through their size prop */
|
|
4253
|
-
.muka-tabs--size-sm .muka-tabs__leading > svg,
|
|
4254
|
-
.muka-tabs--size-sm .muka-tabs__leading > .muka-icon svg { width: 16px; height: 16px; }
|
|
4255
|
-
.muka-tabs--size-md .muka-tabs__leading > svg,
|
|
4256
|
-
.muka-tabs--size-md .muka-tabs__leading > .muka-icon svg { width: 20px; height: 20px; }
|
|
4257
|
-
.muka-tabs--size-lg .muka-tabs__leading > svg,
|
|
4258
|
-
.muka-tabs--size-lg .muka-tabs__leading > .muka-icon svg { width: 24px; height: 24px; }
|
|
4259
4276
|
|
|
4260
|
-
|
|
4261
|
-
|
|
4262
|
-
|
|
4263
|
-
|
|
4264
|
-
|
|
4265
|
-
|
|
4266
|
-
|
|
4267
|
-
justify-content: flex-start !important;
|
|
4268
|
-
max-width: 100vw;
|
|
4269
|
-
-webkit-overflow-scrolling: touch;
|
|
4270
|
-
/* Hide scrollbar for cleaner look */
|
|
4271
|
-
scrollbar-width: none;
|
|
4272
|
-
}
|
|
4273
|
-
.muka-tabs__list::-webkit-scrollbar {
|
|
4274
|
-
display: none;
|
|
4275
|
-
}
|
|
4276
|
-
/* Remove flex: 1 behavior for Fill tabs on mobile so they map correctly */
|
|
4277
|
-
.muka-tabs--align-fill .muka-tabs__trigger {
|
|
4278
|
-
flex: 0 0 auto;
|
|
4279
|
-
}
|
|
4277
|
+
.muka-textarea__helper {
|
|
4278
|
+
font-family: var(--text-label-sm-regular-fontFamily);
|
|
4279
|
+
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
4280
|
+
font-size: var(--text-label-sm-regular-fontSize);
|
|
4281
|
+
line-height: var(--text-label-sm-regular-lineHeight);
|
|
4282
|
+
color: var(--color-text-subtle-default);
|
|
4283
|
+
margin: 0;
|
|
4280
4284
|
}
|
|
4281
4285
|
|
|
4282
|
-
|
|
4283
|
-
|
|
4284
|
-
|
|
4285
|
-
|
|
4286
|
-
|
|
4287
|
-
|
|
4288
|
-
|
|
4289
|
-
z-index: 1;
|
|
4290
|
-
font-family: var(--text-body-base-regular-fontFamily);
|
|
4291
|
-
font-weight: var(--text-body-base-regular-fontWeight);
|
|
4292
|
-
font-size: var(--text-body-base-regular-fontSize);
|
|
4293
|
-
line-height: var(--text-body-base-regular-lineHeight);
|
|
4286
|
+
.muka-textarea__error {
|
|
4287
|
+
font-family: var(--text-label-sm-regular-fontFamily);
|
|
4288
|
+
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
4289
|
+
font-size: var(--text-label-sm-regular-fontSize);
|
|
4290
|
+
line-height: var(--text-label-sm-regular-lineHeight);
|
|
4291
|
+
color: var(--color-state-error-default);
|
|
4292
|
+
margin: 0;
|
|
4294
4293
|
}
|
|
4295
4294
|
|
|
4296
|
-
.muka-
|
|
4297
|
-
|
|
4298
|
-
|
|
4295
|
+
.muka-textarea__count {
|
|
4296
|
+
font-family: var(--text-label-sm-regular-fontFamily);
|
|
4297
|
+
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
4298
|
+
font-size: var(--text-label-sm-regular-fontSize);
|
|
4299
|
+
line-height: var(--text-label-sm-regular-lineHeight);
|
|
4300
|
+
color: var(--color-text-subtle-default);
|
|
4301
|
+
margin-left: auto;
|
|
4299
4302
|
}
|
|
4300
4303
|
|
|
4301
4304
|
|
|
@@ -4528,126 +4531,312 @@ body {
|
|
|
4528
4531
|
background-color: var(--color-surface-level0);
|
|
4529
4532
|
}
|
|
4530
4533
|
|
|
4531
|
-
/* ========================================
|
|
4532
|
-
TABLE BODY
|
|
4533
|
-
======================================== */
|
|
4534
|
-
|
|
4535
|
-
.muka-table__body .muka-table__row {
|
|
4536
|
-
border-bottom: var(--border-width-regular) solid var(--color-border-muted);
|
|
4534
|
+
/* ========================================
|
|
4535
|
+
TABLE BODY
|
|
4536
|
+
======================================== */
|
|
4537
|
+
|
|
4538
|
+
.muka-table__body .muka-table__row {
|
|
4539
|
+
border-bottom: var(--border-width-regular) solid var(--color-border-muted);
|
|
4540
|
+
}
|
|
4541
|
+
|
|
4542
|
+
.muka-table__body .muka-table__row:last-child {
|
|
4543
|
+
border-bottom: none;
|
|
4544
|
+
}
|
|
4545
|
+
|
|
4546
|
+
.muka-table__body .muka-table__row:hover {
|
|
4547
|
+
background-color: var(--color-surface-hover);
|
|
4548
|
+
}
|
|
4549
|
+
|
|
4550
|
+
.muka-table__body .muka-table__row--selected {
|
|
4551
|
+
background-color: var(--table-row-selected-background, var(--color-action-default));
|
|
4552
|
+
}
|
|
4553
|
+
|
|
4554
|
+
.muka-table__body .muka-table__row--selected:hover {
|
|
4555
|
+
background-color: var(--table-row-selected-background, var(--color-action-default));
|
|
4556
|
+
}
|
|
4557
|
+
|
|
4558
|
+
.muka-table__row--clickable {
|
|
4559
|
+
cursor: pointer;
|
|
4560
|
+
}
|
|
4561
|
+
|
|
4562
|
+
/* ========================================
|
|
4563
|
+
TABLE CELLS
|
|
4564
|
+
======================================== */
|
|
4565
|
+
|
|
4566
|
+
.muka-table__cell,
|
|
4567
|
+
.muka-table__header-cell {
|
|
4568
|
+
vertical-align: middle;
|
|
4569
|
+
}
|
|
4570
|
+
|
|
4571
|
+
/* Size: Small */
|
|
4572
|
+
.muka-table--sm .muka-table__cell,
|
|
4573
|
+
.muka-table--sm .muka-table__header-cell {
|
|
4574
|
+
padding: var(--table-cell-padding-y-sm) var(--table-cell-padding-x-sm);
|
|
4575
|
+
}
|
|
4576
|
+
|
|
4577
|
+
/* Size: Medium */
|
|
4578
|
+
.muka-table--md .muka-table__cell,
|
|
4579
|
+
.muka-table--md .muka-table__header-cell {
|
|
4580
|
+
padding: var(--table-cell-padding-y-md) var(--table-cell-padding-x-md);
|
|
4581
|
+
}
|
|
4582
|
+
|
|
4583
|
+
/* Size: Large */
|
|
4584
|
+
.muka-table--lg .muka-table__cell,
|
|
4585
|
+
.muka-table--lg .muka-table__header-cell {
|
|
4586
|
+
padding: var(--table-cell-padding-y-lg) var(--table-cell-padding-x-lg);
|
|
4587
|
+
}
|
|
4588
|
+
|
|
4589
|
+
/* Alignment */
|
|
4590
|
+
.muka-table__cell--left,
|
|
4591
|
+
.muka-table__header-cell--left {
|
|
4592
|
+
text-align: left;
|
|
4593
|
+
}
|
|
4594
|
+
|
|
4595
|
+
.muka-table__cell--center,
|
|
4596
|
+
.muka-table__header-cell--center {
|
|
4597
|
+
text-align: center;
|
|
4598
|
+
}
|
|
4599
|
+
|
|
4600
|
+
.muka-table__cell--right,
|
|
4601
|
+
.muka-table__header-cell--right {
|
|
4602
|
+
text-align: right;
|
|
4603
|
+
}
|
|
4604
|
+
|
|
4605
|
+
/* ========================================
|
|
4606
|
+
HEADER CELLS
|
|
4607
|
+
======================================== */
|
|
4608
|
+
|
|
4609
|
+
.muka-table__header-cell {
|
|
4610
|
+
font-family: var(--text-body-base-bold-fontFamily);
|
|
4611
|
+
font-weight: var(--text-body-base-bold-fontWeight);
|
|
4612
|
+
font-size: var(--text-body-base-bold-fontSize);
|
|
4613
|
+
line-height: var(--text-body-base-bold-lineHeight);
|
|
4614
|
+
color: var(--color-text-default-default);
|
|
4615
|
+
white-space: nowrap;
|
|
4616
|
+
}
|
|
4617
|
+
|
|
4618
|
+
.muka-table__header-content {
|
|
4619
|
+
display: inline-flex;
|
|
4620
|
+
align-items: center;
|
|
4621
|
+
gap: var(--spacing-1);
|
|
4622
|
+
}
|
|
4623
|
+
|
|
4624
|
+
/* Sortable */
|
|
4625
|
+
.muka-table__header-cell--sortable {
|
|
4626
|
+
cursor: pointer;
|
|
4627
|
+
user-select: none;
|
|
4628
|
+
}
|
|
4629
|
+
|
|
4630
|
+
.muka-table__header-cell--sortable:hover {
|
|
4631
|
+
color: var(--color-text-default-default);
|
|
4632
|
+
}
|
|
4633
|
+
|
|
4634
|
+
.muka-table__header-cell--sortable:focus-visible {
|
|
4635
|
+
outline: 2px solid var(--color-action-default);
|
|
4636
|
+
outline-offset: -2px;
|
|
4637
|
+
}
|
|
4638
|
+
|
|
4639
|
+
/* Sort icon */
|
|
4640
|
+
.muka-table__sort-icon {
|
|
4641
|
+
width: 1em;
|
|
4642
|
+
height: 1em;
|
|
4643
|
+
opacity: 0.4;
|
|
4644
|
+
transition: opacity 0.2s, transform 0.2s;
|
|
4645
|
+
}
|
|
4646
|
+
|
|
4647
|
+
.muka-table__header-cell--sortable:hover .muka-table__sort-icon {
|
|
4648
|
+
opacity: 0.7;
|
|
4649
|
+
}
|
|
4650
|
+
|
|
4651
|
+
.muka-table__sort-icon--asc,
|
|
4652
|
+
.muka-table__sort-icon--desc {
|
|
4653
|
+
opacity: 1;
|
|
4654
|
+
}
|
|
4655
|
+
|
|
4656
|
+
|
|
4657
|
+
/* SwipeActions */
|
|
4658
|
+
/* SwipeActions Component Styles */
|
|
4659
|
+
|
|
4660
|
+
.muka-swipe-actions {
|
|
4661
|
+
position: relative;
|
|
4662
|
+
overflow: hidden;
|
|
4663
|
+
touch-action: pan-y;
|
|
4664
|
+
-webkit-user-select: none;
|
|
4665
|
+
user-select: none;
|
|
4666
|
+
background-color: var(--color-surface-level3);
|
|
4667
|
+
}
|
|
4668
|
+
|
|
4669
|
+
.muka-swipe-actions--disabled {
|
|
4670
|
+
touch-action: auto;
|
|
4671
|
+
}
|
|
4672
|
+
|
|
4673
|
+
/* ─── Row that holds the actual content ────────────────── */
|
|
4674
|
+
|
|
4675
|
+
.muka-swipe-actions__row {
|
|
4676
|
+
position: relative;
|
|
4677
|
+
z-index: 1;
|
|
4678
|
+
background-color: inherit;
|
|
4679
|
+
will-change: transform;
|
|
4680
|
+
}
|
|
4681
|
+
|
|
4682
|
+
/* ─── Action panels — sit beneath the row ──────────────── */
|
|
4683
|
+
|
|
4684
|
+
.muka-swipe-actions__panel {
|
|
4685
|
+
position: absolute;
|
|
4686
|
+
top: 0;
|
|
4687
|
+
bottom: 0;
|
|
4688
|
+
display: flex;
|
|
4689
|
+
align-items: stretch;
|
|
4690
|
+
z-index: 0;
|
|
4691
|
+
}
|
|
4692
|
+
|
|
4693
|
+
.muka-swipe-actions__panel--left {
|
|
4694
|
+
left: 0;
|
|
4695
|
+
}
|
|
4696
|
+
|
|
4697
|
+
.muka-swipe-actions__panel--right {
|
|
4698
|
+
right: 0;
|
|
4699
|
+
}
|
|
4700
|
+
|
|
4701
|
+
/* ─── Single action button ─────────────────────────────── */
|
|
4702
|
+
|
|
4703
|
+
.muka-swipe-actions__button {
|
|
4704
|
+
display: flex;
|
|
4705
|
+
flex-direction: column;
|
|
4706
|
+
align-items: center;
|
|
4707
|
+
justify-content: center;
|
|
4708
|
+
gap: var(--spacing-1);
|
|
4709
|
+
border: none;
|
|
4710
|
+
cursor: pointer;
|
|
4711
|
+
padding: var(--spacing-2);
|
|
4712
|
+
background-color: var(--color-surface-level2);
|
|
4713
|
+
color: var(--color-text-default-default);
|
|
4714
|
+
font-family: var(--text-label-sm-semibold-fontFamily);
|
|
4715
|
+
font-weight: var(--text-label-sm-semibold-fontWeight);
|
|
4716
|
+
font-size: var(--text-label-sm-semibold-fontSize);
|
|
4717
|
+
line-height: var(--text-label-sm-semibold-lineHeight);
|
|
4718
|
+
-webkit-tap-highlight-color: transparent;
|
|
4719
|
+
transition: filter 0.12s ease;
|
|
4720
|
+
}
|
|
4721
|
+
|
|
4722
|
+
.muka-swipe-actions__button:hover {
|
|
4723
|
+
filter: brightness(0.95);
|
|
4537
4724
|
}
|
|
4538
4725
|
|
|
4539
|
-
.muka-
|
|
4540
|
-
|
|
4726
|
+
.muka-swipe-actions__button:focus-visible {
|
|
4727
|
+
outline: 2px solid var(--color-action-default);
|
|
4728
|
+
outline-offset: -2px;
|
|
4541
4729
|
}
|
|
4542
4730
|
|
|
4543
|
-
.muka-
|
|
4544
|
-
|
|
4731
|
+
.muka-swipe-actions__button-icon {
|
|
4732
|
+
display: inline-flex;
|
|
4733
|
+
align-items: center;
|
|
4734
|
+
justify-content: center;
|
|
4545
4735
|
}
|
|
4546
4736
|
|
|
4547
|
-
|
|
4548
|
-
background-color: var(--table-row-selected-background, var(--color-action-default));
|
|
4549
|
-
}
|
|
4737
|
+
/* ─── Color variants ───────────────────────────────────── */
|
|
4550
4738
|
|
|
4551
|
-
.muka-
|
|
4552
|
-
background-color: var(--
|
|
4739
|
+
.muka-swipe-actions__button--neutral {
|
|
4740
|
+
background-color: var(--color-surface-level2);
|
|
4741
|
+
color: var(--color-text-default-default);
|
|
4553
4742
|
}
|
|
4554
4743
|
|
|
4555
|
-
.muka-
|
|
4556
|
-
|
|
4744
|
+
.muka-swipe-actions__button--primary {
|
|
4745
|
+
background-color: var(--color-action-default);
|
|
4746
|
+
color: var(--color-text-default-inverse);
|
|
4557
4747
|
}
|
|
4558
4748
|
|
|
4559
|
-
|
|
4560
|
-
|
|
4561
|
-
|
|
4562
|
-
|
|
4563
|
-
.muka-table__cell,
|
|
4564
|
-
.muka-table__header-cell {
|
|
4565
|
-
vertical-align: middle;
|
|
4749
|
+
.muka-swipe-actions__button--success {
|
|
4750
|
+
background-color: var(--color-state-success-default);
|
|
4751
|
+
color: var(--color-text-default-inverse);
|
|
4566
4752
|
}
|
|
4567
4753
|
|
|
4568
|
-
|
|
4569
|
-
|
|
4570
|
-
|
|
4571
|
-
padding: var(--table-cell-padding-y-sm) var(--table-cell-padding-x-sm);
|
|
4754
|
+
.muka-swipe-actions__button--warning {
|
|
4755
|
+
background-color: var(--color-state-warning-default);
|
|
4756
|
+
color: var(--color-text-default-default);
|
|
4572
4757
|
}
|
|
4573
4758
|
|
|
4574
|
-
|
|
4575
|
-
|
|
4576
|
-
|
|
4577
|
-
padding: var(--table-cell-padding-y-md) var(--table-cell-padding-x-md);
|
|
4759
|
+
.muka-swipe-actions__button--destructive {
|
|
4760
|
+
background-color: var(--color-state-error-default);
|
|
4761
|
+
color: var(--color-text-default-inverse);
|
|
4578
4762
|
}
|
|
4579
4763
|
|
|
4580
|
-
|
|
4581
|
-
|
|
4582
|
-
|
|
4583
|
-
|
|
4764
|
+
|
|
4765
|
+
/* Spinner */
|
|
4766
|
+
/* Spinner Component Styles */
|
|
4767
|
+
|
|
4768
|
+
.muka-spinner {
|
|
4769
|
+
display: inline-flex;
|
|
4770
|
+
align-items: center;
|
|
4771
|
+
justify-content: center;
|
|
4772
|
+
color: var(--color-text-default-default);
|
|
4773
|
+
line-height: 0;
|
|
4584
4774
|
}
|
|
4585
4775
|
|
|
4586
|
-
|
|
4587
|
-
|
|
4588
|
-
.muka-table__header-cell--left {
|
|
4589
|
-
text-align: left;
|
|
4776
|
+
.muka-spinner--subtle {
|
|
4777
|
+
color: var(--color-text-subtle-default);
|
|
4590
4778
|
}
|
|
4591
4779
|
|
|
4592
|
-
.muka-
|
|
4593
|
-
|
|
4594
|
-
text-align: center;
|
|
4780
|
+
.muka-spinner--inverse {
|
|
4781
|
+
color: var(--color-text-default-inverse);
|
|
4595
4782
|
}
|
|
4596
4783
|
|
|
4597
|
-
.muka-
|
|
4598
|
-
|
|
4599
|
-
|
|
4784
|
+
.muka-spinner__circle {
|
|
4785
|
+
display: inline-block;
|
|
4786
|
+
border-radius: 50%;
|
|
4787
|
+
border-style: solid;
|
|
4788
|
+
border-color: currentColor;
|
|
4789
|
+
border-right-color: transparent;
|
|
4790
|
+
animation: muka-spinner-rotate 0.7s linear infinite;
|
|
4791
|
+
box-sizing: border-box;
|
|
4600
4792
|
}
|
|
4601
4793
|
|
|
4602
|
-
/*
|
|
4603
|
-
HEADER CELLS
|
|
4604
|
-
======================================== */
|
|
4794
|
+
/* ─── Sizes ───────────────────────────────────────────── */
|
|
4605
4795
|
|
|
4606
|
-
.muka-
|
|
4607
|
-
|
|
4608
|
-
|
|
4609
|
-
|
|
4610
|
-
line-height: var(--text-body-base-bold-lineHeight);
|
|
4611
|
-
color: var(--color-text-default-default);
|
|
4612
|
-
white-space: nowrap;
|
|
4796
|
+
.muka-spinner--sm .muka-spinner__circle {
|
|
4797
|
+
width: 16px;
|
|
4798
|
+
height: 16px;
|
|
4799
|
+
border-width: 2px;
|
|
4613
4800
|
}
|
|
4614
4801
|
|
|
4615
|
-
.muka-
|
|
4616
|
-
|
|
4617
|
-
|
|
4618
|
-
|
|
4802
|
+
.muka-spinner--md .muka-spinner__circle {
|
|
4803
|
+
width: 20px;
|
|
4804
|
+
height: 20px;
|
|
4805
|
+
border-width: 2px;
|
|
4619
4806
|
}
|
|
4620
4807
|
|
|
4621
|
-
|
|
4622
|
-
|
|
4623
|
-
|
|
4624
|
-
|
|
4808
|
+
.muka-spinner--lg .muka-spinner__circle {
|
|
4809
|
+
width: 24px;
|
|
4810
|
+
height: 24px;
|
|
4811
|
+
border-width: 3px;
|
|
4625
4812
|
}
|
|
4626
4813
|
|
|
4627
|
-
|
|
4628
|
-
color: var(--color-text-default-default);
|
|
4629
|
-
}
|
|
4814
|
+
/* ─── Visually-hidden label ───────────────────────────── */
|
|
4630
4815
|
|
|
4631
|
-
.muka-
|
|
4632
|
-
|
|
4633
|
-
|
|
4816
|
+
.muka-spinner__sr-label {
|
|
4817
|
+
position: absolute;
|
|
4818
|
+
width: 1px;
|
|
4819
|
+
height: 1px;
|
|
4820
|
+
padding: 0;
|
|
4821
|
+
margin: -1px;
|
|
4822
|
+
overflow: hidden;
|
|
4823
|
+
clip: rect(0, 0, 0, 0);
|
|
4824
|
+
white-space: nowrap;
|
|
4825
|
+
border: 0;
|
|
4634
4826
|
}
|
|
4635
4827
|
|
|
4636
|
-
/*
|
|
4637
|
-
.muka-table__sort-icon {
|
|
4638
|
-
width: 1em;
|
|
4639
|
-
height: 1em;
|
|
4640
|
-
opacity: 0.4;
|
|
4641
|
-
transition: opacity 0.2s, transform 0.2s;
|
|
4642
|
-
}
|
|
4828
|
+
/* ─── Reduced motion ──────────────────────────────────── */
|
|
4643
4829
|
|
|
4644
|
-
|
|
4645
|
-
|
|
4830
|
+
@keyframes muka-spinner-rotate {
|
|
4831
|
+
to {
|
|
4832
|
+
transform: rotate(360deg);
|
|
4833
|
+
}
|
|
4646
4834
|
}
|
|
4647
4835
|
|
|
4648
|
-
|
|
4649
|
-
.muka-
|
|
4650
|
-
|
|
4836
|
+
@media (prefers-reduced-motion: reduce) {
|
|
4837
|
+
.muka-spinner__circle {
|
|
4838
|
+
animation-duration: 2.5s;
|
|
4839
|
+
}
|
|
4651
4840
|
}
|
|
4652
4841
|
|
|
4653
4842
|
|
|
@@ -6933,55 +7122,168 @@ body {
|
|
|
6933
7122
|
z-index: 1;
|
|
6934
7123
|
}
|
|
6935
7124
|
|
|
6936
|
-
/* ─── Hover halo (vertical interactive only) ────────────── */
|
|
6937
|
-
.muka-progress-tracker--vertical .muka-progress-tracker__step--interactive:hover::before,
|
|
6938
|
-
.muka-progress-tracker--vertical .muka-progress-tracker__step--interactive:active::before,
|
|
6939
|
-
.muka-progress-tracker--vertical .muka-progress-tracker__step[data-selected='true']::before {
|
|
6940
|
-
content: '';
|
|
6941
|
-
position: absolute;
|
|
6942
|
-
background-color: var(--color-surface-level1);
|
|
6943
|
-
pointer-events: none;
|
|
6944
|
-
z-index: 0;
|
|
7125
|
+
/* ─── Hover halo (vertical interactive only) ────────────── */
|
|
7126
|
+
.muka-progress-tracker--vertical .muka-progress-tracker__step--interactive:hover::before,
|
|
7127
|
+
.muka-progress-tracker--vertical .muka-progress-tracker__step--interactive:active::before,
|
|
7128
|
+
.muka-progress-tracker--vertical .muka-progress-tracker__step[data-selected='true']::before {
|
|
7129
|
+
content: '';
|
|
7130
|
+
position: absolute;
|
|
7131
|
+
background-color: var(--color-surface-level1);
|
|
7132
|
+
pointer-events: none;
|
|
7133
|
+
z-index: 0;
|
|
7134
|
+
}
|
|
7135
|
+
|
|
7136
|
+
/* Hover: 40px circle behind indicator only */
|
|
7137
|
+
.muka-progress-tracker--vertical .muka-progress-tracker__step--interactive:hover::before {
|
|
7138
|
+
left: -4px;
|
|
7139
|
+
top: -4px;
|
|
7140
|
+
width: 40px;
|
|
7141
|
+
height: 40px;
|
|
7142
|
+
border-radius: 20px;
|
|
7143
|
+
}
|
|
7144
|
+
|
|
7145
|
+
/* Selected / :active: pill behind full step row — wins over hover */
|
|
7146
|
+
.muka-progress-tracker--vertical .muka-progress-tracker__step--interactive:active::before,
|
|
7147
|
+
.muka-progress-tracker--vertical .muka-progress-tracker__step[data-selected='true']::before {
|
|
7148
|
+
left: -4px;
|
|
7149
|
+
right: -8px;
|
|
7150
|
+
top: -4px;
|
|
7151
|
+
bottom: -4px;
|
|
7152
|
+
width: auto;
|
|
7153
|
+
height: auto;
|
|
7154
|
+
border-radius: 20px;
|
|
7155
|
+
}
|
|
7156
|
+
|
|
7157
|
+
/* Selected steps without interactive class still show the pill */
|
|
7158
|
+
.muka-progress-tracker--vertical .muka-progress-tracker__step[data-selected='true']:not(.muka-progress-tracker__step--interactive)::before {
|
|
7159
|
+
content: '';
|
|
7160
|
+
position: absolute;
|
|
7161
|
+
left: -4px;
|
|
7162
|
+
right: -8px;
|
|
7163
|
+
top: -4px;
|
|
7164
|
+
bottom: -4px;
|
|
7165
|
+
background-color: var(--color-surface-level1);
|
|
7166
|
+
border-radius: 20px;
|
|
7167
|
+
pointer-events: none;
|
|
7168
|
+
z-index: 0;
|
|
7169
|
+
}
|
|
7170
|
+
|
|
7171
|
+
/* Connector stays behind indicators (indicator-col is z-index 1) */
|
|
7172
|
+
.muka-progress-tracker--vertical .muka-progress-tracker__connector {
|
|
7173
|
+
z-index: 0;
|
|
7174
|
+
}
|
|
7175
|
+
|
|
7176
|
+
/* ─── Tabs variant (MUK-101, Bouwplan Figma 1030-40701) ──────
|
|
7177
|
+
A row of tabs: indicator left of the label. The selected tab takes the
|
|
7178
|
+
content's surface and flares into it at the bottom, so it reads as the
|
|
7179
|
+
page below. Tabs sit on the consumer's background (e.g. surface.level0). */
|
|
7180
|
+
.muka-progress-tracker--tabs {
|
|
7181
|
+
display: block;
|
|
7182
|
+
/* Room for the first and last tab's flare, and for the shadow above. */
|
|
7183
|
+
padding: var(--spacing-6) var(--spacing-8) 0;
|
|
7184
|
+
box-sizing: border-box;
|
|
7185
|
+
/* The shadow below a tab would fall on the content: clip it. */
|
|
7186
|
+
overflow: hidden;
|
|
7187
|
+
}
|
|
7188
|
+
|
|
7189
|
+
.muka-progress-tracker--tabs.muka-progress-tracker--scrollable {
|
|
7190
|
+
overflow-x: auto;
|
|
7191
|
+
padding-inline: var(--spacing-8);
|
|
7192
|
+
}
|
|
7193
|
+
|
|
7194
|
+
.muka-progress-tracker__tabs {
|
|
7195
|
+
display: flex;
|
|
7196
|
+
align-items: flex-end;
|
|
7197
|
+
width: max-content;
|
|
7198
|
+
isolation: isolate;
|
|
7199
|
+
}
|
|
7200
|
+
|
|
7201
|
+
.muka-progress-tracker__tab {
|
|
7202
|
+
--muka-progress-tracker-tab-surface: var(--color-surface-level2);
|
|
7203
|
+
position: relative;
|
|
7204
|
+
display: flex;
|
|
7205
|
+
align-items: center;
|
|
7206
|
+
gap: var(--spacing-3);
|
|
7207
|
+
margin: 0;
|
|
7208
|
+
/* Figma: 12px around, 4px more after the label. */
|
|
7209
|
+
padding: var(--spacing-3) var(--spacing-4) var(--spacing-3) var(--spacing-3);
|
|
7210
|
+
border: none;
|
|
7211
|
+
border-radius: var(--border-radius-xl) var(--border-radius-xl) 0 0;
|
|
7212
|
+
background-color: var(--muka-progress-tracker-tab-surface);
|
|
7213
|
+
color: var(--color-text-default-default);
|
|
7214
|
+
font: inherit;
|
|
7215
|
+
text-align: left;
|
|
7216
|
+
white-space: nowrap;
|
|
7217
|
+
filter: drop-shadow(0 0 0.5px var(--color-black-alpha-5))
|
|
7218
|
+
drop-shadow(0 8px 8px var(--color-black-alpha-5));
|
|
7219
|
+
}
|
|
7220
|
+
|
|
7221
|
+
/* Concave corners: the tab's bottom flares out into the surface. */
|
|
7222
|
+
.muka-progress-tracker__tab::before,
|
|
7223
|
+
.muka-progress-tracker__tab::after {
|
|
7224
|
+
content: '';
|
|
7225
|
+
position: absolute;
|
|
7226
|
+
bottom: 0;
|
|
7227
|
+
width: var(--border-radius-xl);
|
|
7228
|
+
height: var(--border-radius-xl);
|
|
7229
|
+
pointer-events: none;
|
|
7230
|
+
}
|
|
7231
|
+
|
|
7232
|
+
.muka-progress-tracker__tab::before {
|
|
7233
|
+
right: 100%;
|
|
7234
|
+
background: radial-gradient(
|
|
7235
|
+
circle at 0 0,
|
|
7236
|
+
transparent calc(var(--border-radius-xl) - 0.5px),
|
|
7237
|
+
var(--muka-progress-tracker-tab-surface) var(--border-radius-xl)
|
|
7238
|
+
);
|
|
7239
|
+
}
|
|
7240
|
+
|
|
7241
|
+
.muka-progress-tracker__tab::after {
|
|
7242
|
+
left: 100%;
|
|
7243
|
+
background: radial-gradient(
|
|
7244
|
+
circle at 100% 0,
|
|
7245
|
+
transparent calc(var(--border-radius-xl) - 0.5px),
|
|
7246
|
+
var(--muka-progress-tracker-tab-surface) var(--border-radius-xl)
|
|
7247
|
+
);
|
|
7248
|
+
}
|
|
7249
|
+
|
|
7250
|
+
.muka-progress-tracker__tab--selected {
|
|
7251
|
+
--muka-progress-tracker-tab-surface: var(
|
|
7252
|
+
--muka-progress-tracker-tab-selected,
|
|
7253
|
+
var(--color-surface-level3)
|
|
7254
|
+
);
|
|
7255
|
+
}
|
|
7256
|
+
|
|
7257
|
+
button.muka-progress-tracker__tab {
|
|
7258
|
+
cursor: pointer;
|
|
7259
|
+
}
|
|
7260
|
+
|
|
7261
|
+
button.muka-progress-tracker__tab:not(.muka-progress-tracker__tab--selected):hover {
|
|
7262
|
+
background-image: linear-gradient(var(--color-surface-hover), var(--color-surface-hover));
|
|
6945
7263
|
}
|
|
6946
7264
|
|
|
6947
|
-
|
|
6948
|
-
|
|
6949
|
-
|
|
6950
|
-
top: -4px;
|
|
6951
|
-
width: 40px;
|
|
6952
|
-
height: 40px;
|
|
6953
|
-
border-radius: 20px;
|
|
7265
|
+
button.muka-progress-tracker__tab:focus-visible {
|
|
7266
|
+
outline: 2px solid var(--color-border-focus);
|
|
7267
|
+
outline-offset: -2px;
|
|
6954
7268
|
}
|
|
6955
7269
|
|
|
6956
|
-
|
|
6957
|
-
|
|
6958
|
-
|
|
6959
|
-
|
|
6960
|
-
|
|
6961
|
-
top: -4px;
|
|
6962
|
-
bottom: -4px;
|
|
6963
|
-
width: auto;
|
|
6964
|
-
height: auto;
|
|
6965
|
-
border-radius: 20px;
|
|
7270
|
+
.muka-progress-tracker--tabs .muka-progress-tracker__label {
|
|
7271
|
+
font-family: var(--text-body-base-regular-fontFamily);
|
|
7272
|
+
font-weight: var(--text-body-base-regular-fontWeight);
|
|
7273
|
+
font-size: var(--text-body-base-regular-fontSize);
|
|
7274
|
+
line-height: var(--text-body-base-regular-lineHeight);
|
|
6966
7275
|
}
|
|
6967
7276
|
|
|
6968
|
-
|
|
6969
|
-
|
|
6970
|
-
|
|
6971
|
-
position: absolute;
|
|
6972
|
-
left: -4px;
|
|
6973
|
-
right: -8px;
|
|
6974
|
-
top: -4px;
|
|
6975
|
-
bottom: -4px;
|
|
6976
|
-
background-color: var(--color-surface-level1);
|
|
6977
|
-
border-radius: 20px;
|
|
6978
|
-
pointer-events: none;
|
|
6979
|
-
z-index: 0;
|
|
7277
|
+
.muka-progress-tracker__tab--selected .muka-progress-tracker__label {
|
|
7278
|
+
font-family: var(--text-body-base-bold-fontFamily);
|
|
7279
|
+
font-weight: var(--text-body-base-bold-fontWeight);
|
|
6980
7280
|
}
|
|
6981
7281
|
|
|
6982
|
-
|
|
6983
|
-
|
|
6984
|
-
|
|
7282
|
+
.muka-progress-tracker--tabs .muka-progress-tracker__indicator--upcoming .muka-progress-tracker__number {
|
|
7283
|
+
font-family: var(--text-label-md-semibold-fontFamily);
|
|
7284
|
+
font-weight: var(--text-label-md-semibold-fontWeight);
|
|
7285
|
+
font-size: var(--text-label-md-semibold-fontSize);
|
|
7286
|
+
line-height: var(--text-label-md-semibold-lineHeight);
|
|
6985
7287
|
}
|
|
6986
7288
|
|
|
6987
7289
|
|
|
@@ -13320,6 +13622,16 @@ button.muka-chat-photo-grid__tile:focus-visible {
|
|
|
13320
13622
|
gap: var(--spacing-3);
|
|
13321
13623
|
}
|
|
13322
13624
|
|
|
13625
|
+
/*
|
|
13626
|
+
* Buttons beside the field keep their square size (`.muka-button--icon-only`
|
|
13627
|
+
* width). Only the field or recording bar flexes, so a wide waveform or a
|
|
13628
|
+
* long text can never squeeze them.
|
|
13629
|
+
*/
|
|
13630
|
+
.muka-chat-composer__row > .muka-button,
|
|
13631
|
+
.muka-chat-composer__options-input > .muka-button {
|
|
13632
|
+
flex-shrink: 0;
|
|
13633
|
+
}
|
|
13634
|
+
|
|
13323
13635
|
/* ─── Text field ───────────────────────────────────────── */
|
|
13324
13636
|
|
|
13325
13637
|
.muka-chat-composer__field {
|
|
@@ -13377,6 +13689,16 @@ button.muka-chat-photo-grid__tile:focus-visible {
|
|
|
13377
13689
|
color: var(--color-text-subtle-default);
|
|
13378
13690
|
}
|
|
13379
13691
|
|
|
13692
|
+
/* Transcribing: the field is back but inert (Input disabled tokens). */
|
|
13693
|
+
.muka-chat-composer__field--disabled {
|
|
13694
|
+
border-color: var(--input-field-color-disabled-border);
|
|
13695
|
+
background-color: var(--input-field-color-disabled-background);
|
|
13696
|
+
}
|
|
13697
|
+
|
|
13698
|
+
.muka-chat-composer__field--disabled .muka-chat-composer__input::placeholder {
|
|
13699
|
+
color: var(--input-field-color-disabled-foreground);
|
|
13700
|
+
}
|
|
13701
|
+
|
|
13380
13702
|
/* Keep the in-field emoji button flush to the bottom-right as the field grows */
|
|
13381
13703
|
.muka-chat-composer__emoji {
|
|
13382
13704
|
flex-shrink: 0;
|
|
@@ -13395,6 +13717,8 @@ button.muka-chat-photo-grid__tile:focus-visible {
|
|
|
13395
13717
|
border: var(--border-width-regular) solid var(--card-color-default-border);
|
|
13396
13718
|
border-radius: var(--radius-lg);
|
|
13397
13719
|
background-color: var(--card-color-default-background);
|
|
13720
|
+
/* A waveform wider than the space left is clipped, never laid over pause. */
|
|
13721
|
+
overflow: hidden;
|
|
13398
13722
|
}
|
|
13399
13723
|
|
|
13400
13724
|
/* ─── Staged attachments strip ─────────────────────────── */
|
|
@@ -14107,6 +14431,12 @@ button.muka-chat-photo-grid__tile:focus-visible {
|
|
|
14107
14431
|
display: block;
|
|
14108
14432
|
}
|
|
14109
14433
|
|
|
14434
|
+
/* A Spinner in the icon slot keeps its own flex centring: as a block its
|
|
14435
|
+
circle sat at the top of the slot (4px high in an lg icon-only button). */
|
|
14436
|
+
.muka-button .muka-button__icon > .muka-spinner {
|
|
14437
|
+
display: flex;
|
|
14438
|
+
}
|
|
14439
|
+
|
|
14110
14440
|
.muka-button--sm .muka-button__icon {
|
|
14111
14441
|
width: var(--button-icon-sm);
|
|
14112
14442
|
height: var(--button-icon-sm);
|
|
@@ -16069,189 +16399,3 @@ button.muka-chat-photo-grid__tile:focus-visible {
|
|
|
16069
16399
|
border-bottom: none;
|
|
16070
16400
|
}
|
|
16071
16401
|
|
|
16072
|
-
|
|
16073
|
-
/* SwipeActions */
|
|
16074
|
-
/* SwipeActions Component Styles */
|
|
16075
|
-
|
|
16076
|
-
.muka-swipe-actions {
|
|
16077
|
-
position: relative;
|
|
16078
|
-
overflow: hidden;
|
|
16079
|
-
touch-action: pan-y;
|
|
16080
|
-
-webkit-user-select: none;
|
|
16081
|
-
user-select: none;
|
|
16082
|
-
background-color: var(--color-surface-level3);
|
|
16083
|
-
}
|
|
16084
|
-
|
|
16085
|
-
.muka-swipe-actions--disabled {
|
|
16086
|
-
touch-action: auto;
|
|
16087
|
-
}
|
|
16088
|
-
|
|
16089
|
-
/* ─── Row that holds the actual content ────────────────── */
|
|
16090
|
-
|
|
16091
|
-
.muka-swipe-actions__row {
|
|
16092
|
-
position: relative;
|
|
16093
|
-
z-index: 1;
|
|
16094
|
-
background-color: inherit;
|
|
16095
|
-
will-change: transform;
|
|
16096
|
-
}
|
|
16097
|
-
|
|
16098
|
-
/* ─── Action panels — sit beneath the row ──────────────── */
|
|
16099
|
-
|
|
16100
|
-
.muka-swipe-actions__panel {
|
|
16101
|
-
position: absolute;
|
|
16102
|
-
top: 0;
|
|
16103
|
-
bottom: 0;
|
|
16104
|
-
display: flex;
|
|
16105
|
-
align-items: stretch;
|
|
16106
|
-
z-index: 0;
|
|
16107
|
-
}
|
|
16108
|
-
|
|
16109
|
-
.muka-swipe-actions__panel--left {
|
|
16110
|
-
left: 0;
|
|
16111
|
-
}
|
|
16112
|
-
|
|
16113
|
-
.muka-swipe-actions__panel--right {
|
|
16114
|
-
right: 0;
|
|
16115
|
-
}
|
|
16116
|
-
|
|
16117
|
-
/* ─── Single action button ─────────────────────────────── */
|
|
16118
|
-
|
|
16119
|
-
.muka-swipe-actions__button {
|
|
16120
|
-
display: flex;
|
|
16121
|
-
flex-direction: column;
|
|
16122
|
-
align-items: center;
|
|
16123
|
-
justify-content: center;
|
|
16124
|
-
gap: var(--spacing-1);
|
|
16125
|
-
border: none;
|
|
16126
|
-
cursor: pointer;
|
|
16127
|
-
padding: var(--spacing-2);
|
|
16128
|
-
background-color: var(--color-surface-level2);
|
|
16129
|
-
color: var(--color-text-default-default);
|
|
16130
|
-
font-family: var(--text-label-sm-semibold-fontFamily);
|
|
16131
|
-
font-weight: var(--text-label-sm-semibold-fontWeight);
|
|
16132
|
-
font-size: var(--text-label-sm-semibold-fontSize);
|
|
16133
|
-
line-height: var(--text-label-sm-semibold-lineHeight);
|
|
16134
|
-
-webkit-tap-highlight-color: transparent;
|
|
16135
|
-
transition: filter 0.12s ease;
|
|
16136
|
-
}
|
|
16137
|
-
|
|
16138
|
-
.muka-swipe-actions__button:hover {
|
|
16139
|
-
filter: brightness(0.95);
|
|
16140
|
-
}
|
|
16141
|
-
|
|
16142
|
-
.muka-swipe-actions__button:focus-visible {
|
|
16143
|
-
outline: 2px solid var(--color-action-default);
|
|
16144
|
-
outline-offset: -2px;
|
|
16145
|
-
}
|
|
16146
|
-
|
|
16147
|
-
.muka-swipe-actions__button-icon {
|
|
16148
|
-
display: inline-flex;
|
|
16149
|
-
align-items: center;
|
|
16150
|
-
justify-content: center;
|
|
16151
|
-
}
|
|
16152
|
-
|
|
16153
|
-
/* ─── Color variants ───────────────────────────────────── */
|
|
16154
|
-
|
|
16155
|
-
.muka-swipe-actions__button--neutral {
|
|
16156
|
-
background-color: var(--color-surface-level2);
|
|
16157
|
-
color: var(--color-text-default-default);
|
|
16158
|
-
}
|
|
16159
|
-
|
|
16160
|
-
.muka-swipe-actions__button--primary {
|
|
16161
|
-
background-color: var(--color-action-default);
|
|
16162
|
-
color: var(--color-text-default-inverse);
|
|
16163
|
-
}
|
|
16164
|
-
|
|
16165
|
-
.muka-swipe-actions__button--success {
|
|
16166
|
-
background-color: var(--color-state-success-default);
|
|
16167
|
-
color: var(--color-text-default-inverse);
|
|
16168
|
-
}
|
|
16169
|
-
|
|
16170
|
-
.muka-swipe-actions__button--warning {
|
|
16171
|
-
background-color: var(--color-state-warning-default);
|
|
16172
|
-
color: var(--color-text-default-default);
|
|
16173
|
-
}
|
|
16174
|
-
|
|
16175
|
-
.muka-swipe-actions__button--destructive {
|
|
16176
|
-
background-color: var(--color-state-error-default);
|
|
16177
|
-
color: var(--color-text-default-inverse);
|
|
16178
|
-
}
|
|
16179
|
-
|
|
16180
|
-
|
|
16181
|
-
/* Spinner */
|
|
16182
|
-
/* Spinner Component Styles */
|
|
16183
|
-
|
|
16184
|
-
.muka-spinner {
|
|
16185
|
-
display: inline-flex;
|
|
16186
|
-
align-items: center;
|
|
16187
|
-
justify-content: center;
|
|
16188
|
-
color: var(--color-text-default-default);
|
|
16189
|
-
line-height: 0;
|
|
16190
|
-
}
|
|
16191
|
-
|
|
16192
|
-
.muka-spinner--subtle {
|
|
16193
|
-
color: var(--color-text-subtle-default);
|
|
16194
|
-
}
|
|
16195
|
-
|
|
16196
|
-
.muka-spinner--inverse {
|
|
16197
|
-
color: var(--color-text-default-inverse);
|
|
16198
|
-
}
|
|
16199
|
-
|
|
16200
|
-
.muka-spinner__circle {
|
|
16201
|
-
display: inline-block;
|
|
16202
|
-
border-radius: 50%;
|
|
16203
|
-
border-style: solid;
|
|
16204
|
-
border-color: currentColor;
|
|
16205
|
-
border-right-color: transparent;
|
|
16206
|
-
animation: muka-spinner-rotate 0.7s linear infinite;
|
|
16207
|
-
box-sizing: border-box;
|
|
16208
|
-
}
|
|
16209
|
-
|
|
16210
|
-
/* ─── Sizes ───────────────────────────────────────────── */
|
|
16211
|
-
|
|
16212
|
-
.muka-spinner--sm .muka-spinner__circle {
|
|
16213
|
-
width: 16px;
|
|
16214
|
-
height: 16px;
|
|
16215
|
-
border-width: 2px;
|
|
16216
|
-
}
|
|
16217
|
-
|
|
16218
|
-
.muka-spinner--md .muka-spinner__circle {
|
|
16219
|
-
width: 20px;
|
|
16220
|
-
height: 20px;
|
|
16221
|
-
border-width: 2px;
|
|
16222
|
-
}
|
|
16223
|
-
|
|
16224
|
-
.muka-spinner--lg .muka-spinner__circle {
|
|
16225
|
-
width: 24px;
|
|
16226
|
-
height: 24px;
|
|
16227
|
-
border-width: 3px;
|
|
16228
|
-
}
|
|
16229
|
-
|
|
16230
|
-
/* ─── Visually-hidden label ───────────────────────────── */
|
|
16231
|
-
|
|
16232
|
-
.muka-spinner__sr-label {
|
|
16233
|
-
position: absolute;
|
|
16234
|
-
width: 1px;
|
|
16235
|
-
height: 1px;
|
|
16236
|
-
padding: 0;
|
|
16237
|
-
margin: -1px;
|
|
16238
|
-
overflow: hidden;
|
|
16239
|
-
clip: rect(0, 0, 0, 0);
|
|
16240
|
-
white-space: nowrap;
|
|
16241
|
-
border: 0;
|
|
16242
|
-
}
|
|
16243
|
-
|
|
16244
|
-
/* ─── Reduced motion ──────────────────────────────────── */
|
|
16245
|
-
|
|
16246
|
-
@keyframes muka-spinner-rotate {
|
|
16247
|
-
to {
|
|
16248
|
-
transform: rotate(360deg);
|
|
16249
|
-
}
|
|
16250
|
-
}
|
|
16251
|
-
|
|
16252
|
-
@media (prefers-reduced-motion: reduce) {
|
|
16253
|
-
.muka-spinner__circle {
|
|
16254
|
-
animation-duration: 2.5s;
|
|
16255
|
-
}
|
|
16256
|
-
}
|
|
16257
|
-
|