@revikornmann/muka-ui 0.45.0 → 0.45.2
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/ChatComposer/ChatComposer.css +15 -1
- package/dist/esm/components/ChatComposer/ChatComposer.css +15 -1
- package/dist/styles/components/ChatComposer.css +15 -1
- package/dist/styles/fonts/funnel-display-latin-ext-wght-normal.woff2 +0 -0
- package/dist/styles/fonts/funnel-sans-latin-ext-wght-normal.woff2 +0 -0
- package/dist/styles/fonts/ibm-plex-sans-latin-ext-wght-normal.woff2 +0 -0
- package/dist/styles/fonts/lora-latin-ext-wght-normal.woff2 +0 -0
- package/dist/styles/fonts/quicksand-latin-ext-wght-normal.woff2 +0 -0
- package/dist/styles/fonts/red-hat-display-latin-ext-wght-normal.woff2 +0 -0
- package/dist/styles/fonts/red-hat-text-latin-ext-wght-normal.woff2 +0 -0
- package/dist/styles/fonts/yesteryear-latin-ext-400-normal.woff2 +0 -0
- package/dist/styles/fonts-all.css +88 -0
- package/dist/styles/fonts-bouwplan.css +33 -0
- package/dist/styles/fonts-fscl.css +22 -0
- package/dist/styles/fonts-grip.css +22 -0
- package/dist/styles/fonts-muka.css +33 -0
- package/dist/styles/index.css +493 -446
- package/dist/styles/muka-dark.css +493 -446
- package/dist/styles/muka-light.css +493 -446
- package/dist/styles/wireframe-dark.css +418 -404
- package/dist/styles/wireframe-light.css +418 -404
- package/docs/consumers/brand.md +4 -1
- package/package.json +1 -1
- package/scripts/build-fonts.js +59 -25
|
@@ -2644,6 +2644,98 @@ body {
|
|
|
2644
2644
|
}
|
|
2645
2645
|
|
|
2646
2646
|
|
|
2647
|
+
/* Typography */
|
|
2648
|
+
.muka-typography-catalog {
|
|
2649
|
+
display: flex;
|
|
2650
|
+
flex-direction: column;
|
|
2651
|
+
gap: 2.5rem;
|
|
2652
|
+
max-width: 52rem;
|
|
2653
|
+
color: var(--color-text-default-default);
|
|
2654
|
+
}
|
|
2655
|
+
|
|
2656
|
+
.muka-typography-catalog__intro {
|
|
2657
|
+
display: flex;
|
|
2658
|
+
flex-direction: column;
|
|
2659
|
+
gap: 0.75rem;
|
|
2660
|
+
}
|
|
2661
|
+
|
|
2662
|
+
.muka-typography-catalog__heading {
|
|
2663
|
+
margin: 0;
|
|
2664
|
+
font-family: var(--text-heading-md-fontFamily);
|
|
2665
|
+
font-weight: var(--text-heading-md-fontWeight);
|
|
2666
|
+
font-size: var(--text-heading-md-fontSize);
|
|
2667
|
+
line-height: var(--text-heading-md-lineHeight);
|
|
2668
|
+
}
|
|
2669
|
+
|
|
2670
|
+
.muka-typography-catalog__lede {
|
|
2671
|
+
margin: 0;
|
|
2672
|
+
font-family: var(--text-body-base-regular-fontFamily);
|
|
2673
|
+
font-weight: var(--text-body-base-regular-fontWeight);
|
|
2674
|
+
font-size: var(--text-body-base-regular-fontSize);
|
|
2675
|
+
line-height: var(--text-body-base-regular-lineHeight);
|
|
2676
|
+
color: var(--color-text-subtle-default);
|
|
2677
|
+
}
|
|
2678
|
+
|
|
2679
|
+
.muka-typography-catalog__lede code {
|
|
2680
|
+
font-family: var(--alias-font-mono-family, ui-monospace, monospace);
|
|
2681
|
+
font-size: 0.875em;
|
|
2682
|
+
}
|
|
2683
|
+
|
|
2684
|
+
.muka-typography-section {
|
|
2685
|
+
display: flex;
|
|
2686
|
+
flex-direction: column;
|
|
2687
|
+
gap: 1rem;
|
|
2688
|
+
}
|
|
2689
|
+
|
|
2690
|
+
.muka-typography-section__header {
|
|
2691
|
+
display: flex;
|
|
2692
|
+
flex-direction: column;
|
|
2693
|
+
gap: 0.35rem;
|
|
2694
|
+
padding-bottom: 0.75rem;
|
|
2695
|
+
border-bottom: 1px solid var(--color-border-default);
|
|
2696
|
+
}
|
|
2697
|
+
|
|
2698
|
+
.muka-typography-section__title {
|
|
2699
|
+
margin: 0;
|
|
2700
|
+
font-family: var(--text-heading-sm-fontFamily);
|
|
2701
|
+
font-weight: var(--text-heading-sm-fontWeight);
|
|
2702
|
+
font-size: var(--text-heading-sm-fontSize);
|
|
2703
|
+
line-height: var(--text-heading-sm-lineHeight);
|
|
2704
|
+
}
|
|
2705
|
+
|
|
2706
|
+
.muka-typography-section__description {
|
|
2707
|
+
margin: 0;
|
|
2708
|
+
font-family: var(--text-body-sm-regular-fontFamily);
|
|
2709
|
+
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
2710
|
+
font-size: var(--text-body-sm-regular-fontSize);
|
|
2711
|
+
line-height: var(--text-body-sm-regular-lineHeight);
|
|
2712
|
+
color: var(--color-text-subtle-default);
|
|
2713
|
+
}
|
|
2714
|
+
|
|
2715
|
+
.muka-typography-section__list {
|
|
2716
|
+
display: flex;
|
|
2717
|
+
flex-direction: column;
|
|
2718
|
+
gap: 1rem;
|
|
2719
|
+
}
|
|
2720
|
+
|
|
2721
|
+
.muka-typography-specimen {
|
|
2722
|
+
display: flex;
|
|
2723
|
+
flex-direction: column;
|
|
2724
|
+
gap: 0.35rem;
|
|
2725
|
+
}
|
|
2726
|
+
|
|
2727
|
+
.muka-typography-specimen__token {
|
|
2728
|
+
font-family: var(--alias-font-mono-family, ui-monospace, monospace);
|
|
2729
|
+
font-size: 0.75rem;
|
|
2730
|
+
line-height: 1;
|
|
2731
|
+
color: var(--color-text-subtle-default);
|
|
2732
|
+
}
|
|
2733
|
+
|
|
2734
|
+
.muka-typography-specimen__sample {
|
|
2735
|
+
margin: 0;
|
|
2736
|
+
}
|
|
2737
|
+
|
|
2738
|
+
|
|
2647
2739
|
/* TypingIndicator */
|
|
2648
2740
|
/* TypingIndicator Component Styles */
|
|
2649
2741
|
|
|
@@ -2866,131 +2958,202 @@ body {
|
|
|
2866
2958
|
}
|
|
2867
2959
|
|
|
2868
2960
|
|
|
2869
|
-
/*
|
|
2870
|
-
|
|
2871
|
-
|
|
2872
|
-
|
|
2873
|
-
|
|
2874
|
-
|
|
2875
|
-
|
|
2961
|
+
/* Tooltip */
|
|
2962
|
+
/* Tooltip Component Styles */
|
|
2963
|
+
|
|
2964
|
+
.muka-tooltip__content {
|
|
2965
|
+
background-color: var(--color-surface-inverse);
|
|
2966
|
+
color: var(--color-text-default-inverse);
|
|
2967
|
+
border-radius: var(--radius-md);
|
|
2968
|
+
padding: var(--spacing-2) var(--spacing-3);
|
|
2969
|
+
box-shadow: var(--shadow-level2);
|
|
2970
|
+
font-family: var(--text-label-sm-regular-fontFamily);
|
|
2971
|
+
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
2972
|
+
font-size: var(--text-label-sm-regular-fontSize);
|
|
2973
|
+
line-height: var(--text-label-sm-regular-lineHeight);
|
|
2974
|
+
max-width: 16rem;
|
|
2975
|
+
z-index: 50;
|
|
2976
|
+
user-select: none;
|
|
2977
|
+
animation: muka-tooltip-fade-in 150ms ease;
|
|
2876
2978
|
}
|
|
2877
2979
|
|
|
2878
|
-
|
|
2879
|
-
|
|
2880
|
-
|
|
2881
|
-
|
|
2980
|
+
@keyframes muka-tooltip-fade-in {
|
|
2981
|
+
from {
|
|
2982
|
+
opacity: 0;
|
|
2983
|
+
transform: scale(0.96);
|
|
2984
|
+
}
|
|
2985
|
+
to {
|
|
2986
|
+
opacity: 1;
|
|
2987
|
+
transform: scale(1);
|
|
2988
|
+
}
|
|
2882
2989
|
}
|
|
2883
2990
|
|
|
2884
|
-
|
|
2885
|
-
|
|
2886
|
-
|
|
2887
|
-
font-weight: var(--text-heading-md-fontWeight);
|
|
2888
|
-
font-size: var(--text-heading-md-fontSize);
|
|
2889
|
-
line-height: var(--text-heading-md-lineHeight);
|
|
2991
|
+
/* Arrow */
|
|
2992
|
+
.muka-tooltip__arrow {
|
|
2993
|
+
fill: var(--color-surface-inverse);
|
|
2890
2994
|
}
|
|
2891
2995
|
|
|
2892
|
-
|
|
2893
|
-
|
|
2894
|
-
|
|
2895
|
-
|
|
2896
|
-
|
|
2897
|
-
|
|
2898
|
-
|
|
2996
|
+
|
|
2997
|
+
/* Toggle */
|
|
2998
|
+
/* Toggle Component Styles - Using Muka Design Tokens */
|
|
2999
|
+
|
|
3000
|
+
/* Wrapper container */
|
|
3001
|
+
.muka-toggle {
|
|
3002
|
+
display: flex;
|
|
3003
|
+
align-items: center;
|
|
3004
|
+
gap: var(--spacing-2);
|
|
3005
|
+
position: relative;
|
|
3006
|
+
padding: var(--spacing-4) 0;
|
|
2899
3007
|
}
|
|
2900
3008
|
|
|
2901
|
-
.muka-
|
|
2902
|
-
|
|
2903
|
-
font-size: 0.875em;
|
|
3009
|
+
.muka-toggle--with-caption {
|
|
3010
|
+
padding: var(--spacing-5) 0;
|
|
2904
3011
|
}
|
|
2905
3012
|
|
|
2906
|
-
.muka-
|
|
3013
|
+
.muka-toggle--disabled {
|
|
3014
|
+
opacity: 0.6;
|
|
3015
|
+
}
|
|
3016
|
+
|
|
3017
|
+
/* Icon */
|
|
3018
|
+
.muka-toggle__icon {
|
|
2907
3019
|
display: flex;
|
|
2908
|
-
|
|
2909
|
-
|
|
3020
|
+
align-items: center;
|
|
3021
|
+
justify-content: center;
|
|
3022
|
+
flex-shrink: 0;
|
|
3023
|
+
width: var(--icon-size-default);
|
|
3024
|
+
height: var(--icon-size-default);
|
|
3025
|
+
color: var(--color-text-default-default);
|
|
2910
3026
|
}
|
|
2911
3027
|
|
|
2912
|
-
.muka-
|
|
3028
|
+
.muka-toggle__icon svg {
|
|
3029
|
+
width: 100%;
|
|
3030
|
+
height: 100%;
|
|
3031
|
+
}
|
|
3032
|
+
|
|
3033
|
+
/* Content area (label + caption) */
|
|
3034
|
+
.muka-toggle__content {
|
|
2913
3035
|
display: flex;
|
|
2914
3036
|
flex-direction: column;
|
|
2915
|
-
|
|
2916
|
-
|
|
2917
|
-
|
|
3037
|
+
flex: 1;
|
|
3038
|
+
min-width: 0;
|
|
3039
|
+
gap: var(--spacing-1);
|
|
2918
3040
|
}
|
|
2919
3041
|
|
|
2920
|
-
|
|
2921
|
-
|
|
2922
|
-
font-family: var(--text-
|
|
2923
|
-
font-weight: var(--text-
|
|
2924
|
-
font-size: var(--text-
|
|
2925
|
-
line-height: var(--text-
|
|
3042
|
+
/* Label */
|
|
3043
|
+
.muka-toggle__label {
|
|
3044
|
+
font-family: var(--text-label-lg-regular-fontFamily);
|
|
3045
|
+
font-weight: var(--text-label-lg-regular-fontWeight);
|
|
3046
|
+
font-size: var(--text-label-lg-regular-fontSize);
|
|
3047
|
+
line-height: var(--text-label-lg-regular-lineHeight);
|
|
3048
|
+
color: var(--color-text-default-default);
|
|
3049
|
+
cursor: pointer;
|
|
2926
3050
|
}
|
|
2927
3051
|
|
|
2928
|
-
.muka-
|
|
2929
|
-
|
|
2930
|
-
font-
|
|
2931
|
-
font-
|
|
2932
|
-
|
|
2933
|
-
|
|
3052
|
+
.muka-toggle--with-caption .muka-toggle__label {
|
|
3053
|
+
font-family: var(--text-label-lg-semibold-fontFamily);
|
|
3054
|
+
font-weight: var(--text-label-lg-semibold-fontWeight);
|
|
3055
|
+
font-size: var(--text-label-lg-semibold-fontSize);
|
|
3056
|
+
line-height: var(--text-label-lg-semibold-lineHeight);
|
|
3057
|
+
}
|
|
3058
|
+
|
|
3059
|
+
.muka-toggle--disabled .muka-toggle__label {
|
|
2934
3060
|
color: var(--color-text-subtle-default);
|
|
3061
|
+
cursor: not-allowed;
|
|
2935
3062
|
}
|
|
2936
3063
|
|
|
2937
|
-
|
|
2938
|
-
|
|
2939
|
-
|
|
2940
|
-
|
|
3064
|
+
/* Caption */
|
|
3065
|
+
.muka-toggle__caption {
|
|
3066
|
+
font-family: var(--text-body-base-regular-fontFamily);
|
|
3067
|
+
font-weight: var(--text-body-base-regular-fontWeight);
|
|
3068
|
+
font-size: var(--text-body-base-regular-fontSize);
|
|
3069
|
+
line-height: var(--text-body-base-regular-lineHeight);
|
|
3070
|
+
color: var(--color-text-subtle-default);
|
|
2941
3071
|
}
|
|
2942
3072
|
|
|
2943
|
-
|
|
2944
|
-
|
|
2945
|
-
|
|
2946
|
-
|
|
3073
|
+
/* Switch container */
|
|
3074
|
+
.muka-toggle__switch {
|
|
3075
|
+
position: relative;
|
|
3076
|
+
display: inline-flex;
|
|
3077
|
+
flex-shrink: 0;
|
|
3078
|
+
cursor: pointer;
|
|
2947
3079
|
}
|
|
2948
3080
|
|
|
2949
|
-
.muka-
|
|
2950
|
-
|
|
2951
|
-
font-size: 0.75rem;
|
|
2952
|
-
line-height: 1;
|
|
2953
|
-
color: var(--color-text-subtle-default);
|
|
3081
|
+
.muka-toggle--disabled .muka-toggle__switch {
|
|
3082
|
+
cursor: not-allowed;
|
|
2954
3083
|
}
|
|
2955
3084
|
|
|
2956
|
-
|
|
2957
|
-
|
|
3085
|
+
/* Hidden native input */
|
|
3086
|
+
.muka-toggle__input {
|
|
3087
|
+
position: absolute;
|
|
3088
|
+
width: 1px;
|
|
3089
|
+
height: 1px;
|
|
3090
|
+
padding: 0;
|
|
3091
|
+
margin: -1px;
|
|
3092
|
+
overflow: hidden;
|
|
3093
|
+
clip: rect(0, 0, 0, 0);
|
|
3094
|
+
white-space: nowrap;
|
|
3095
|
+
border: 0;
|
|
2958
3096
|
}
|
|
2959
3097
|
|
|
3098
|
+
/* Track (background pill) */
|
|
3099
|
+
.muka-toggle__track {
|
|
3100
|
+
display: flex;
|
|
3101
|
+
align-items: center;
|
|
3102
|
+
width: var(--toggle-track-width);
|
|
3103
|
+
height: var(--toggle-track-height);
|
|
3104
|
+
border-radius: var(--toggle-track-radius);
|
|
3105
|
+
background-color: var(--toggle-track-color-off);
|
|
3106
|
+
transition: background-color 0.2s ease;
|
|
3107
|
+
box-shadow: inset 0 1px 4px 0 rgba(0, 0, 0, 0.16);
|
|
3108
|
+
position: relative;
|
|
3109
|
+
}
|
|
2960
3110
|
|
|
2961
|
-
/*
|
|
2962
|
-
|
|
3111
|
+
/* Knob (sliding circle) */
|
|
3112
|
+
.muka-toggle__knob {
|
|
3113
|
+
position: absolute;
|
|
3114
|
+
width: var(--toggle-knob-size);
|
|
3115
|
+
height: var(--toggle-knob-size);
|
|
3116
|
+
border-radius: var(--border-radius-full);
|
|
3117
|
+
background-color: var(--toggle-knob-color-default);
|
|
3118
|
+
box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.1);
|
|
3119
|
+
left: var(--toggle-knob-offset);
|
|
3120
|
+
transition: left 0.2s ease, transform 0.2s ease;
|
|
3121
|
+
}
|
|
2963
3122
|
|
|
2964
|
-
|
|
2965
|
-
|
|
2966
|
-
|
|
2967
|
-
|
|
2968
|
-
padding: var(--spacing-2) var(--spacing-3);
|
|
2969
|
-
box-shadow: var(--shadow-level2);
|
|
2970
|
-
font-family: var(--text-label-sm-regular-fontFamily);
|
|
2971
|
-
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
2972
|
-
font-size: var(--text-label-sm-regular-fontSize);
|
|
2973
|
-
line-height: var(--text-label-sm-regular-lineHeight);
|
|
2974
|
-
max-width: 16rem;
|
|
2975
|
-
z-index: 50;
|
|
2976
|
-
user-select: none;
|
|
2977
|
-
animation: muka-tooltip-fade-in 150ms ease;
|
|
3123
|
+
/* Focus state */
|
|
3124
|
+
.muka-toggle__input:focus-visible + .muka-toggle__track {
|
|
3125
|
+
outline: 2px solid var(--color-border-focus);
|
|
3126
|
+
outline-offset: 2px;
|
|
2978
3127
|
}
|
|
2979
3128
|
|
|
2980
|
-
|
|
2981
|
-
|
|
2982
|
-
|
|
2983
|
-
transform: scale(0.96);
|
|
2984
|
-
}
|
|
2985
|
-
to {
|
|
2986
|
-
opacity: 1;
|
|
2987
|
-
transform: scale(1);
|
|
2988
|
-
}
|
|
3129
|
+
/* Checked (on) state */
|
|
3130
|
+
.muka-toggle__input:checked + .muka-toggle__track {
|
|
3131
|
+
background-color: var(--toggle-track-color-on);
|
|
2989
3132
|
}
|
|
2990
3133
|
|
|
2991
|
-
|
|
2992
|
-
|
|
2993
|
-
|
|
3134
|
+
.muka-toggle__input:checked + .muka-toggle__track .muka-toggle__knob {
|
|
3135
|
+
left: calc(var(--toggle-track-width) - var(--toggle-knob-size) - var(--toggle-knob-offset));
|
|
3136
|
+
}
|
|
3137
|
+
|
|
3138
|
+
/* Disabled state */
|
|
3139
|
+
.muka-toggle--disabled .muka-toggle__track {
|
|
3140
|
+
background-color: var(--toggle-track-color-disabled);
|
|
3141
|
+
box-shadow: none;
|
|
3142
|
+
}
|
|
3143
|
+
|
|
3144
|
+
.muka-toggle--disabled .muka-toggle__knob {
|
|
3145
|
+
background-color: var(--toggle-knob-color-disabled);
|
|
3146
|
+
box-shadow: none;
|
|
3147
|
+
}
|
|
3148
|
+
|
|
3149
|
+
/* Divider */
|
|
3150
|
+
.muka-toggle__divider {
|
|
3151
|
+
position: absolute;
|
|
3152
|
+
bottom: 0;
|
|
3153
|
+
left: 0;
|
|
3154
|
+
right: 0;
|
|
3155
|
+
height: 1px;
|
|
3156
|
+
background-color: var(--color-border-muted);
|
|
2994
3157
|
}
|
|
2995
3158
|
|
|
2996
3159
|
|
|
@@ -3184,169 +3347,6 @@ body {
|
|
|
3184
3347
|
}
|
|
3185
3348
|
|
|
3186
3349
|
|
|
3187
|
-
/* Toggle */
|
|
3188
|
-
/* Toggle Component Styles - Using Muka Design Tokens */
|
|
3189
|
-
|
|
3190
|
-
/* Wrapper container */
|
|
3191
|
-
.muka-toggle {
|
|
3192
|
-
display: flex;
|
|
3193
|
-
align-items: center;
|
|
3194
|
-
gap: var(--spacing-2);
|
|
3195
|
-
position: relative;
|
|
3196
|
-
padding: var(--spacing-4) 0;
|
|
3197
|
-
}
|
|
3198
|
-
|
|
3199
|
-
.muka-toggle--with-caption {
|
|
3200
|
-
padding: var(--spacing-5) 0;
|
|
3201
|
-
}
|
|
3202
|
-
|
|
3203
|
-
.muka-toggle--disabled {
|
|
3204
|
-
opacity: 0.6;
|
|
3205
|
-
}
|
|
3206
|
-
|
|
3207
|
-
/* Icon */
|
|
3208
|
-
.muka-toggle__icon {
|
|
3209
|
-
display: flex;
|
|
3210
|
-
align-items: center;
|
|
3211
|
-
justify-content: center;
|
|
3212
|
-
flex-shrink: 0;
|
|
3213
|
-
width: var(--icon-size-default);
|
|
3214
|
-
height: var(--icon-size-default);
|
|
3215
|
-
color: var(--color-text-default-default);
|
|
3216
|
-
}
|
|
3217
|
-
|
|
3218
|
-
.muka-toggle__icon svg {
|
|
3219
|
-
width: 100%;
|
|
3220
|
-
height: 100%;
|
|
3221
|
-
}
|
|
3222
|
-
|
|
3223
|
-
/* Content area (label + caption) */
|
|
3224
|
-
.muka-toggle__content {
|
|
3225
|
-
display: flex;
|
|
3226
|
-
flex-direction: column;
|
|
3227
|
-
flex: 1;
|
|
3228
|
-
min-width: 0;
|
|
3229
|
-
gap: var(--spacing-1);
|
|
3230
|
-
}
|
|
3231
|
-
|
|
3232
|
-
/* Label */
|
|
3233
|
-
.muka-toggle__label {
|
|
3234
|
-
font-family: var(--text-label-lg-regular-fontFamily);
|
|
3235
|
-
font-weight: var(--text-label-lg-regular-fontWeight);
|
|
3236
|
-
font-size: var(--text-label-lg-regular-fontSize);
|
|
3237
|
-
line-height: var(--text-label-lg-regular-lineHeight);
|
|
3238
|
-
color: var(--color-text-default-default);
|
|
3239
|
-
cursor: pointer;
|
|
3240
|
-
}
|
|
3241
|
-
|
|
3242
|
-
.muka-toggle--with-caption .muka-toggle__label {
|
|
3243
|
-
font-family: var(--text-label-lg-semibold-fontFamily);
|
|
3244
|
-
font-weight: var(--text-label-lg-semibold-fontWeight);
|
|
3245
|
-
font-size: var(--text-label-lg-semibold-fontSize);
|
|
3246
|
-
line-height: var(--text-label-lg-semibold-lineHeight);
|
|
3247
|
-
}
|
|
3248
|
-
|
|
3249
|
-
.muka-toggle--disabled .muka-toggle__label {
|
|
3250
|
-
color: var(--color-text-subtle-default);
|
|
3251
|
-
cursor: not-allowed;
|
|
3252
|
-
}
|
|
3253
|
-
|
|
3254
|
-
/* Caption */
|
|
3255
|
-
.muka-toggle__caption {
|
|
3256
|
-
font-family: var(--text-body-base-regular-fontFamily);
|
|
3257
|
-
font-weight: var(--text-body-base-regular-fontWeight);
|
|
3258
|
-
font-size: var(--text-body-base-regular-fontSize);
|
|
3259
|
-
line-height: var(--text-body-base-regular-lineHeight);
|
|
3260
|
-
color: var(--color-text-subtle-default);
|
|
3261
|
-
}
|
|
3262
|
-
|
|
3263
|
-
/* Switch container */
|
|
3264
|
-
.muka-toggle__switch {
|
|
3265
|
-
position: relative;
|
|
3266
|
-
display: inline-flex;
|
|
3267
|
-
flex-shrink: 0;
|
|
3268
|
-
cursor: pointer;
|
|
3269
|
-
}
|
|
3270
|
-
|
|
3271
|
-
.muka-toggle--disabled .muka-toggle__switch {
|
|
3272
|
-
cursor: not-allowed;
|
|
3273
|
-
}
|
|
3274
|
-
|
|
3275
|
-
/* Hidden native input */
|
|
3276
|
-
.muka-toggle__input {
|
|
3277
|
-
position: absolute;
|
|
3278
|
-
width: 1px;
|
|
3279
|
-
height: 1px;
|
|
3280
|
-
padding: 0;
|
|
3281
|
-
margin: -1px;
|
|
3282
|
-
overflow: hidden;
|
|
3283
|
-
clip: rect(0, 0, 0, 0);
|
|
3284
|
-
white-space: nowrap;
|
|
3285
|
-
border: 0;
|
|
3286
|
-
}
|
|
3287
|
-
|
|
3288
|
-
/* Track (background pill) */
|
|
3289
|
-
.muka-toggle__track {
|
|
3290
|
-
display: flex;
|
|
3291
|
-
align-items: center;
|
|
3292
|
-
width: var(--toggle-track-width);
|
|
3293
|
-
height: var(--toggle-track-height);
|
|
3294
|
-
border-radius: var(--toggle-track-radius);
|
|
3295
|
-
background-color: var(--toggle-track-color-off);
|
|
3296
|
-
transition: background-color 0.2s ease;
|
|
3297
|
-
box-shadow: inset 0 1px 4px 0 rgba(0, 0, 0, 0.16);
|
|
3298
|
-
position: relative;
|
|
3299
|
-
}
|
|
3300
|
-
|
|
3301
|
-
/* Knob (sliding circle) */
|
|
3302
|
-
.muka-toggle__knob {
|
|
3303
|
-
position: absolute;
|
|
3304
|
-
width: var(--toggle-knob-size);
|
|
3305
|
-
height: var(--toggle-knob-size);
|
|
3306
|
-
border-radius: var(--border-radius-full);
|
|
3307
|
-
background-color: var(--toggle-knob-color-default);
|
|
3308
|
-
box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.1);
|
|
3309
|
-
left: var(--toggle-knob-offset);
|
|
3310
|
-
transition: left 0.2s ease, transform 0.2s ease;
|
|
3311
|
-
}
|
|
3312
|
-
|
|
3313
|
-
/* Focus state */
|
|
3314
|
-
.muka-toggle__input:focus-visible + .muka-toggle__track {
|
|
3315
|
-
outline: 2px solid var(--color-border-focus);
|
|
3316
|
-
outline-offset: 2px;
|
|
3317
|
-
}
|
|
3318
|
-
|
|
3319
|
-
/* Checked (on) state */
|
|
3320
|
-
.muka-toggle__input:checked + .muka-toggle__track {
|
|
3321
|
-
background-color: var(--toggle-track-color-on);
|
|
3322
|
-
}
|
|
3323
|
-
|
|
3324
|
-
.muka-toggle__input:checked + .muka-toggle__track .muka-toggle__knob {
|
|
3325
|
-
left: calc(var(--toggle-track-width) - var(--toggle-knob-size) - var(--toggle-knob-offset));
|
|
3326
|
-
}
|
|
3327
|
-
|
|
3328
|
-
/* Disabled state */
|
|
3329
|
-
.muka-toggle--disabled .muka-toggle__track {
|
|
3330
|
-
background-color: var(--toggle-track-color-disabled);
|
|
3331
|
-
box-shadow: none;
|
|
3332
|
-
}
|
|
3333
|
-
|
|
3334
|
-
.muka-toggle--disabled .muka-toggle__knob {
|
|
3335
|
-
background-color: var(--toggle-knob-color-disabled);
|
|
3336
|
-
box-shadow: none;
|
|
3337
|
-
}
|
|
3338
|
-
|
|
3339
|
-
/* Divider */
|
|
3340
|
-
.muka-toggle__divider {
|
|
3341
|
-
position: absolute;
|
|
3342
|
-
bottom: 0;
|
|
3343
|
-
left: 0;
|
|
3344
|
-
right: 0;
|
|
3345
|
-
height: 1px;
|
|
3346
|
-
background-color: var(--color-border-muted);
|
|
3347
|
-
}
|
|
3348
|
-
|
|
3349
|
-
|
|
3350
3350
|
/* Tile */
|
|
3351
3351
|
/* Tile Component Styles - Using Muka Design Tokens */
|
|
3352
3352
|
|
|
@@ -4715,129 +4715,99 @@ body {
|
|
|
4715
4715
|
outline-offset: -2px;
|
|
4716
4716
|
}
|
|
4717
4717
|
|
|
4718
|
-
/* Sort icon */
|
|
4719
|
-
.muka-table__sort-icon {
|
|
4720
|
-
width: 1em;
|
|
4721
|
-
height: 1em;
|
|
4722
|
-
opacity: 0.4;
|
|
4723
|
-
transition: opacity 0.2s, transform 0.2s;
|
|
4724
|
-
}
|
|
4725
|
-
|
|
4726
|
-
.muka-table__header-cell--sortable:hover .muka-table__sort-icon {
|
|
4727
|
-
opacity: 0.7;
|
|
4728
|
-
}
|
|
4729
|
-
|
|
4730
|
-
.muka-table__sort-icon--asc,
|
|
4731
|
-
.muka-table__sort-icon--desc {
|
|
4732
|
-
opacity: 1;
|
|
4733
|
-
}
|
|
4734
|
-
|
|
4735
|
-
|
|
4736
|
-
/* SwipeActions */
|
|
4737
|
-
/* SwipeActions Component Styles */
|
|
4738
|
-
|
|
4739
|
-
.muka-swipe-actions {
|
|
4740
|
-
position: relative;
|
|
4741
|
-
overflow: hidden;
|
|
4742
|
-
touch-action: pan-y;
|
|
4743
|
-
-webkit-user-select: none;
|
|
4744
|
-
user-select: none;
|
|
4745
|
-
background-color: var(--color-surface-level3);
|
|
4746
|
-
}
|
|
4747
|
-
|
|
4748
|
-
.muka-swipe-actions--disabled {
|
|
4749
|
-
touch-action: auto;
|
|
4750
|
-
}
|
|
4751
|
-
|
|
4752
|
-
/* ─── Row that holds the actual content ────────────────── */
|
|
4753
|
-
|
|
4754
|
-
.muka-swipe-actions__row {
|
|
4755
|
-
position: relative;
|
|
4756
|
-
z-index: 1;
|
|
4757
|
-
background-color: inherit;
|
|
4758
|
-
will-change: transform;
|
|
4759
|
-
}
|
|
4760
|
-
|
|
4761
|
-
/* ─── Action panels — sit beneath the row ──────────────── */
|
|
4762
|
-
|
|
4763
|
-
.muka-swipe-actions__panel {
|
|
4764
|
-
position: absolute;
|
|
4765
|
-
top: 0;
|
|
4766
|
-
bottom: 0;
|
|
4767
|
-
display: flex;
|
|
4768
|
-
align-items: stretch;
|
|
4769
|
-
z-index: 0;
|
|
4770
|
-
}
|
|
4771
|
-
|
|
4772
|
-
.muka-swipe-actions__panel--left {
|
|
4773
|
-
left: 0;
|
|
4718
|
+
/* Sort icon */
|
|
4719
|
+
.muka-table__sort-icon {
|
|
4720
|
+
width: 1em;
|
|
4721
|
+
height: 1em;
|
|
4722
|
+
opacity: 0.4;
|
|
4723
|
+
transition: opacity 0.2s, transform 0.2s;
|
|
4774
4724
|
}
|
|
4775
4725
|
|
|
4776
|
-
.muka-
|
|
4777
|
-
|
|
4726
|
+
.muka-table__header-cell--sortable:hover .muka-table__sort-icon {
|
|
4727
|
+
opacity: 0.7;
|
|
4778
4728
|
}
|
|
4779
4729
|
|
|
4780
|
-
|
|
4730
|
+
.muka-table__sort-icon--asc,
|
|
4731
|
+
.muka-table__sort-icon--desc {
|
|
4732
|
+
opacity: 1;
|
|
4733
|
+
}
|
|
4781
4734
|
|
|
4782
|
-
|
|
4783
|
-
|
|
4784
|
-
|
|
4735
|
+
|
|
4736
|
+
/* Spinner */
|
|
4737
|
+
/* Spinner Component Styles */
|
|
4738
|
+
|
|
4739
|
+
.muka-spinner {
|
|
4740
|
+
display: inline-flex;
|
|
4785
4741
|
align-items: center;
|
|
4786
4742
|
justify-content: center;
|
|
4787
|
-
gap: var(--spacing-1);
|
|
4788
|
-
border: none;
|
|
4789
|
-
cursor: pointer;
|
|
4790
|
-
padding: var(--spacing-2);
|
|
4791
|
-
background-color: var(--color-surface-level2);
|
|
4792
4743
|
color: var(--color-text-default-default);
|
|
4793
|
-
|
|
4794
|
-
font-weight: var(--text-label-sm-semibold-fontWeight);
|
|
4795
|
-
font-size: var(--text-label-sm-semibold-fontSize);
|
|
4796
|
-
line-height: var(--text-label-sm-semibold-lineHeight);
|
|
4797
|
-
-webkit-tap-highlight-color: transparent;
|
|
4798
|
-
transition: filter 0.12s ease;
|
|
4744
|
+
line-height: 0;
|
|
4799
4745
|
}
|
|
4800
4746
|
|
|
4801
|
-
.muka-
|
|
4802
|
-
|
|
4747
|
+
.muka-spinner--subtle {
|
|
4748
|
+
color: var(--color-text-subtle-default);
|
|
4803
4749
|
}
|
|
4804
4750
|
|
|
4805
|
-
.muka-
|
|
4806
|
-
|
|
4807
|
-
outline-offset: -2px;
|
|
4751
|
+
.muka-spinner--inverse {
|
|
4752
|
+
color: var(--color-text-default-inverse);
|
|
4808
4753
|
}
|
|
4809
4754
|
|
|
4810
|
-
.muka-
|
|
4811
|
-
display: inline-
|
|
4812
|
-
|
|
4813
|
-
|
|
4755
|
+
.muka-spinner__circle {
|
|
4756
|
+
display: inline-block;
|
|
4757
|
+
border-radius: 50%;
|
|
4758
|
+
border-style: solid;
|
|
4759
|
+
border-color: currentColor;
|
|
4760
|
+
border-right-color: transparent;
|
|
4761
|
+
animation: muka-spinner-rotate 0.7s linear infinite;
|
|
4762
|
+
box-sizing: border-box;
|
|
4814
4763
|
}
|
|
4815
4764
|
|
|
4816
|
-
/* ───
|
|
4765
|
+
/* ─── Sizes ───────────────────────────────────────────── */
|
|
4817
4766
|
|
|
4818
|
-
.muka-
|
|
4819
|
-
|
|
4820
|
-
|
|
4767
|
+
.muka-spinner--sm .muka-spinner__circle {
|
|
4768
|
+
width: 16px;
|
|
4769
|
+
height: 16px;
|
|
4770
|
+
border-width: 2px;
|
|
4821
4771
|
}
|
|
4822
4772
|
|
|
4823
|
-
.muka-
|
|
4824
|
-
|
|
4825
|
-
|
|
4773
|
+
.muka-spinner--md .muka-spinner__circle {
|
|
4774
|
+
width: 20px;
|
|
4775
|
+
height: 20px;
|
|
4776
|
+
border-width: 2px;
|
|
4826
4777
|
}
|
|
4827
4778
|
|
|
4828
|
-
.muka-
|
|
4829
|
-
|
|
4830
|
-
|
|
4779
|
+
.muka-spinner--lg .muka-spinner__circle {
|
|
4780
|
+
width: 24px;
|
|
4781
|
+
height: 24px;
|
|
4782
|
+
border-width: 3px;
|
|
4831
4783
|
}
|
|
4832
4784
|
|
|
4833
|
-
|
|
4834
|
-
|
|
4835
|
-
|
|
4785
|
+
/* ─── Visually-hidden label ───────────────────────────── */
|
|
4786
|
+
|
|
4787
|
+
.muka-spinner__sr-label {
|
|
4788
|
+
position: absolute;
|
|
4789
|
+
width: 1px;
|
|
4790
|
+
height: 1px;
|
|
4791
|
+
padding: 0;
|
|
4792
|
+
margin: -1px;
|
|
4793
|
+
overflow: hidden;
|
|
4794
|
+
clip: rect(0, 0, 0, 0);
|
|
4795
|
+
white-space: nowrap;
|
|
4796
|
+
border: 0;
|
|
4836
4797
|
}
|
|
4837
4798
|
|
|
4838
|
-
|
|
4839
|
-
|
|
4840
|
-
|
|
4799
|
+
/* ─── Reduced motion ──────────────────────────────────── */
|
|
4800
|
+
|
|
4801
|
+
@keyframes muka-spinner-rotate {
|
|
4802
|
+
to {
|
|
4803
|
+
transform: rotate(360deg);
|
|
4804
|
+
}
|
|
4805
|
+
}
|
|
4806
|
+
|
|
4807
|
+
@media (prefers-reduced-motion: reduce) {
|
|
4808
|
+
.muka-spinner__circle {
|
|
4809
|
+
animation-duration: 2.5s;
|
|
4810
|
+
}
|
|
4841
4811
|
}
|
|
4842
4812
|
|
|
4843
4813
|
|
|
@@ -14177,9 +14147,23 @@ button.muka-chat-photo-grid__tile:focus-visible {
|
|
|
14177
14147
|
width: 100%;
|
|
14178
14148
|
}
|
|
14179
14149
|
|
|
14150
|
+
/*
|
|
14151
|
+
* Many choices (a phone with seven options) would push the field and the step
|
|
14152
|
+
* footer off screen. The card gets a height limit and scrolls on its own, so
|
|
14153
|
+
* the prompt, the field and the footer stay in view.
|
|
14154
|
+
*/
|
|
14180
14155
|
.muka-chat-composer__choices-card {
|
|
14181
14156
|
width: 100%;
|
|
14182
|
-
|
|
14157
|
+
max-height: 45dvh;
|
|
14158
|
+
overflow-x: hidden;
|
|
14159
|
+
overflow-y: auto;
|
|
14160
|
+
overscroll-behavior: contain;
|
|
14161
|
+
}
|
|
14162
|
+
|
|
14163
|
+
/* A choice is one short line, not a navigation row: compact padding. */
|
|
14164
|
+
.muka-chat-composer__choice.muka-listitem {
|
|
14165
|
+
align-items: center;
|
|
14166
|
+
padding-block: var(--spacing-3);
|
|
14183
14167
|
}
|
|
14184
14168
|
|
|
14185
14169
|
/* Choice rows: the ListItem is the interactive control; the Radio/Checkbox is
|
|
@@ -16858,80 +16842,110 @@ button.muka-chat-photo-grid__tile:focus-visible {
|
|
|
16858
16842
|
}
|
|
16859
16843
|
|
|
16860
16844
|
|
|
16861
|
-
/*
|
|
16862
|
-
/*
|
|
16845
|
+
/* SwipeActions */
|
|
16846
|
+
/* SwipeActions Component Styles */
|
|
16863
16847
|
|
|
16864
|
-
.muka-
|
|
16865
|
-
|
|
16866
|
-
|
|
16867
|
-
|
|
16868
|
-
|
|
16869
|
-
|
|
16848
|
+
.muka-swipe-actions {
|
|
16849
|
+
position: relative;
|
|
16850
|
+
overflow: hidden;
|
|
16851
|
+
touch-action: pan-y;
|
|
16852
|
+
-webkit-user-select: none;
|
|
16853
|
+
user-select: none;
|
|
16854
|
+
background-color: var(--color-surface-level3);
|
|
16870
16855
|
}
|
|
16871
16856
|
|
|
16872
|
-
.muka-
|
|
16873
|
-
|
|
16857
|
+
.muka-swipe-actions--disabled {
|
|
16858
|
+
touch-action: auto;
|
|
16874
16859
|
}
|
|
16875
16860
|
|
|
16876
|
-
|
|
16877
|
-
|
|
16861
|
+
/* ─── Row that holds the actual content ────────────────── */
|
|
16862
|
+
|
|
16863
|
+
.muka-swipe-actions__row {
|
|
16864
|
+
position: relative;
|
|
16865
|
+
z-index: 1;
|
|
16866
|
+
background-color: inherit;
|
|
16867
|
+
will-change: transform;
|
|
16878
16868
|
}
|
|
16879
16869
|
|
|
16880
|
-
|
|
16881
|
-
|
|
16882
|
-
|
|
16883
|
-
|
|
16884
|
-
|
|
16885
|
-
|
|
16886
|
-
|
|
16887
|
-
|
|
16870
|
+
/* ─── Action panels — sit beneath the row ──────────────── */
|
|
16871
|
+
|
|
16872
|
+
.muka-swipe-actions__panel {
|
|
16873
|
+
position: absolute;
|
|
16874
|
+
top: 0;
|
|
16875
|
+
bottom: 0;
|
|
16876
|
+
display: flex;
|
|
16877
|
+
align-items: stretch;
|
|
16878
|
+
z-index: 0;
|
|
16888
16879
|
}
|
|
16889
16880
|
|
|
16890
|
-
|
|
16881
|
+
.muka-swipe-actions__panel--left {
|
|
16882
|
+
left: 0;
|
|
16883
|
+
}
|
|
16891
16884
|
|
|
16892
|
-
.muka-
|
|
16893
|
-
|
|
16894
|
-
height: 16px;
|
|
16895
|
-
border-width: 2px;
|
|
16885
|
+
.muka-swipe-actions__panel--right {
|
|
16886
|
+
right: 0;
|
|
16896
16887
|
}
|
|
16897
16888
|
|
|
16898
|
-
|
|
16899
|
-
|
|
16900
|
-
|
|
16901
|
-
|
|
16889
|
+
/* ─── Single action button ─────────────────────────────── */
|
|
16890
|
+
|
|
16891
|
+
.muka-swipe-actions__button {
|
|
16892
|
+
display: flex;
|
|
16893
|
+
flex-direction: column;
|
|
16894
|
+
align-items: center;
|
|
16895
|
+
justify-content: center;
|
|
16896
|
+
gap: var(--spacing-1);
|
|
16897
|
+
border: none;
|
|
16898
|
+
cursor: pointer;
|
|
16899
|
+
padding: var(--spacing-2);
|
|
16900
|
+
background-color: var(--color-surface-level2);
|
|
16901
|
+
color: var(--color-text-default-default);
|
|
16902
|
+
font-family: var(--text-label-sm-semibold-fontFamily);
|
|
16903
|
+
font-weight: var(--text-label-sm-semibold-fontWeight);
|
|
16904
|
+
font-size: var(--text-label-sm-semibold-fontSize);
|
|
16905
|
+
line-height: var(--text-label-sm-semibold-lineHeight);
|
|
16906
|
+
-webkit-tap-highlight-color: transparent;
|
|
16907
|
+
transition: filter 0.12s ease;
|
|
16902
16908
|
}
|
|
16903
16909
|
|
|
16904
|
-
.muka-
|
|
16905
|
-
|
|
16906
|
-
height: 24px;
|
|
16907
|
-
border-width: 3px;
|
|
16910
|
+
.muka-swipe-actions__button:hover {
|
|
16911
|
+
filter: brightness(0.95);
|
|
16908
16912
|
}
|
|
16909
16913
|
|
|
16910
|
-
|
|
16914
|
+
.muka-swipe-actions__button:focus-visible {
|
|
16915
|
+
outline: 2px solid var(--color-action-default);
|
|
16916
|
+
outline-offset: -2px;
|
|
16917
|
+
}
|
|
16911
16918
|
|
|
16912
|
-
.muka-
|
|
16913
|
-
|
|
16914
|
-
|
|
16915
|
-
|
|
16916
|
-
padding: 0;
|
|
16917
|
-
margin: -1px;
|
|
16918
|
-
overflow: hidden;
|
|
16919
|
-
clip: rect(0, 0, 0, 0);
|
|
16920
|
-
white-space: nowrap;
|
|
16921
|
-
border: 0;
|
|
16919
|
+
.muka-swipe-actions__button-icon {
|
|
16920
|
+
display: inline-flex;
|
|
16921
|
+
align-items: center;
|
|
16922
|
+
justify-content: center;
|
|
16922
16923
|
}
|
|
16923
16924
|
|
|
16924
|
-
/* ───
|
|
16925
|
+
/* ─── Color variants ───────────────────────────────────── */
|
|
16925
16926
|
|
|
16926
|
-
|
|
16927
|
-
|
|
16928
|
-
|
|
16929
|
-
}
|
|
16927
|
+
.muka-swipe-actions__button--neutral {
|
|
16928
|
+
background-color: var(--color-surface-level2);
|
|
16929
|
+
color: var(--color-text-default-default);
|
|
16930
16930
|
}
|
|
16931
16931
|
|
|
16932
|
-
|
|
16933
|
-
|
|
16934
|
-
|
|
16935
|
-
|
|
16932
|
+
.muka-swipe-actions__button--primary {
|
|
16933
|
+
background-color: var(--color-action-default);
|
|
16934
|
+
color: var(--color-text-default-inverse);
|
|
16935
|
+
}
|
|
16936
|
+
|
|
16937
|
+
.muka-swipe-actions__button--success {
|
|
16938
|
+
background-color: var(--color-state-success-default);
|
|
16939
|
+
color: var(--color-text-default-inverse);
|
|
16940
|
+
}
|
|
16941
|
+
|
|
16942
|
+
.muka-swipe-actions__button--warning {
|
|
16943
|
+
background-color: var(--color-state-warning-default);
|
|
16944
|
+
color: var(--color-text-default-default);
|
|
16945
|
+
}
|
|
16946
|
+
|
|
16947
|
+
.muka-swipe-actions__button--destructive {
|
|
16948
|
+
background-color: var(--color-state-error-default);
|
|
16949
|
+
color: var(--color-text-default-inverse);
|
|
16936
16950
|
}
|
|
16937
16951
|
|