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