@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
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
/* Generated by build-fonts.js - DO NOT EDIT */
|
|
7
7
|
/* Self-hosted brand fonts (SIL OFL). See ./fonts/*.LICENSE.txt */
|
|
8
8
|
|
|
9
|
+
/* Funnel Display — latin */
|
|
9
10
|
@font-face {
|
|
10
11
|
font-family: 'Funnel Display';
|
|
11
12
|
font-style: normal;
|
|
@@ -15,6 +16,17 @@
|
|
|
15
16
|
unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
|
|
16
17
|
}
|
|
17
18
|
|
|
19
|
+
/* Funnel Display — latin-ext */
|
|
20
|
+
@font-face {
|
|
21
|
+
font-family: 'Funnel Display';
|
|
22
|
+
font-style: normal;
|
|
23
|
+
font-weight: 300 800;
|
|
24
|
+
font-display: swap;
|
|
25
|
+
src: url('./fonts/funnel-display-latin-ext-wght-normal.woff2') format('woff2');
|
|
26
|
+
unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
/* Funnel Sans — latin */
|
|
18
30
|
@font-face {
|
|
19
31
|
font-family: 'Funnel Sans';
|
|
20
32
|
font-style: normal;
|
|
@@ -24,6 +36,17 @@
|
|
|
24
36
|
unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
|
|
25
37
|
}
|
|
26
38
|
|
|
39
|
+
/* Funnel Sans — latin-ext */
|
|
40
|
+
@font-face {
|
|
41
|
+
font-family: 'Funnel Sans';
|
|
42
|
+
font-style: normal;
|
|
43
|
+
font-weight: 300 800;
|
|
44
|
+
font-display: swap;
|
|
45
|
+
src: url('./fonts/funnel-sans-latin-ext-wght-normal.woff2') format('woff2');
|
|
46
|
+
unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
/* Yesteryear — latin */
|
|
27
50
|
@font-face {
|
|
28
51
|
font-family: 'Yesteryear';
|
|
29
52
|
font-style: normal;
|
|
@@ -33,6 +56,16 @@
|
|
|
33
56
|
unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
|
|
34
57
|
}
|
|
35
58
|
|
|
59
|
+
/* Yesteryear — latin-ext */
|
|
60
|
+
@font-face {
|
|
61
|
+
font-family: 'Yesteryear';
|
|
62
|
+
font-style: normal;
|
|
63
|
+
font-weight: 400;
|
|
64
|
+
font-display: swap;
|
|
65
|
+
src: url('./fonts/yesteryear-latin-ext-400-normal.woff2') format('woff2');
|
|
66
|
+
unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
|
|
67
|
+
}
|
|
68
|
+
|
|
36
69
|
/* ========== Base Styles ========== */
|
|
37
70
|
/* Base styles for Storybook preview */
|
|
38
71
|
/* Fallback values in case tokens don't load */
|
|
@@ -2676,6 +2709,98 @@ body {
|
|
|
2676
2709
|
}
|
|
2677
2710
|
|
|
2678
2711
|
|
|
2712
|
+
/* Typography */
|
|
2713
|
+
.muka-typography-catalog {
|
|
2714
|
+
display: flex;
|
|
2715
|
+
flex-direction: column;
|
|
2716
|
+
gap: 2.5rem;
|
|
2717
|
+
max-width: 52rem;
|
|
2718
|
+
color: var(--color-text-default-default);
|
|
2719
|
+
}
|
|
2720
|
+
|
|
2721
|
+
.muka-typography-catalog__intro {
|
|
2722
|
+
display: flex;
|
|
2723
|
+
flex-direction: column;
|
|
2724
|
+
gap: 0.75rem;
|
|
2725
|
+
}
|
|
2726
|
+
|
|
2727
|
+
.muka-typography-catalog__heading {
|
|
2728
|
+
margin: 0;
|
|
2729
|
+
font-family: var(--text-heading-md-fontFamily);
|
|
2730
|
+
font-weight: var(--text-heading-md-fontWeight);
|
|
2731
|
+
font-size: var(--text-heading-md-fontSize);
|
|
2732
|
+
line-height: var(--text-heading-md-lineHeight);
|
|
2733
|
+
}
|
|
2734
|
+
|
|
2735
|
+
.muka-typography-catalog__lede {
|
|
2736
|
+
margin: 0;
|
|
2737
|
+
font-family: var(--text-body-base-regular-fontFamily);
|
|
2738
|
+
font-weight: var(--text-body-base-regular-fontWeight);
|
|
2739
|
+
font-size: var(--text-body-base-regular-fontSize);
|
|
2740
|
+
line-height: var(--text-body-base-regular-lineHeight);
|
|
2741
|
+
color: var(--color-text-subtle-default);
|
|
2742
|
+
}
|
|
2743
|
+
|
|
2744
|
+
.muka-typography-catalog__lede code {
|
|
2745
|
+
font-family: var(--alias-font-mono-family, ui-monospace, monospace);
|
|
2746
|
+
font-size: 0.875em;
|
|
2747
|
+
}
|
|
2748
|
+
|
|
2749
|
+
.muka-typography-section {
|
|
2750
|
+
display: flex;
|
|
2751
|
+
flex-direction: column;
|
|
2752
|
+
gap: 1rem;
|
|
2753
|
+
}
|
|
2754
|
+
|
|
2755
|
+
.muka-typography-section__header {
|
|
2756
|
+
display: flex;
|
|
2757
|
+
flex-direction: column;
|
|
2758
|
+
gap: 0.35rem;
|
|
2759
|
+
padding-bottom: 0.75rem;
|
|
2760
|
+
border-bottom: 1px solid var(--color-border-default);
|
|
2761
|
+
}
|
|
2762
|
+
|
|
2763
|
+
.muka-typography-section__title {
|
|
2764
|
+
margin: 0;
|
|
2765
|
+
font-family: var(--text-heading-sm-fontFamily);
|
|
2766
|
+
font-weight: var(--text-heading-sm-fontWeight);
|
|
2767
|
+
font-size: var(--text-heading-sm-fontSize);
|
|
2768
|
+
line-height: var(--text-heading-sm-lineHeight);
|
|
2769
|
+
}
|
|
2770
|
+
|
|
2771
|
+
.muka-typography-section__description {
|
|
2772
|
+
margin: 0;
|
|
2773
|
+
font-family: var(--text-body-sm-regular-fontFamily);
|
|
2774
|
+
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
2775
|
+
font-size: var(--text-body-sm-regular-fontSize);
|
|
2776
|
+
line-height: var(--text-body-sm-regular-lineHeight);
|
|
2777
|
+
color: var(--color-text-subtle-default);
|
|
2778
|
+
}
|
|
2779
|
+
|
|
2780
|
+
.muka-typography-section__list {
|
|
2781
|
+
display: flex;
|
|
2782
|
+
flex-direction: column;
|
|
2783
|
+
gap: 1rem;
|
|
2784
|
+
}
|
|
2785
|
+
|
|
2786
|
+
.muka-typography-specimen {
|
|
2787
|
+
display: flex;
|
|
2788
|
+
flex-direction: column;
|
|
2789
|
+
gap: 0.35rem;
|
|
2790
|
+
}
|
|
2791
|
+
|
|
2792
|
+
.muka-typography-specimen__token {
|
|
2793
|
+
font-family: var(--alias-font-mono-family, ui-monospace, monospace);
|
|
2794
|
+
font-size: 0.75rem;
|
|
2795
|
+
line-height: 1;
|
|
2796
|
+
color: var(--color-text-subtle-default);
|
|
2797
|
+
}
|
|
2798
|
+
|
|
2799
|
+
.muka-typography-specimen__sample {
|
|
2800
|
+
margin: 0;
|
|
2801
|
+
}
|
|
2802
|
+
|
|
2803
|
+
|
|
2679
2804
|
/* TypingIndicator */
|
|
2680
2805
|
/* TypingIndicator Component Styles */
|
|
2681
2806
|
|
|
@@ -2898,98 +3023,6 @@ body {
|
|
|
2898
3023
|
}
|
|
2899
3024
|
|
|
2900
3025
|
|
|
2901
|
-
/* Typography */
|
|
2902
|
-
.muka-typography-catalog {
|
|
2903
|
-
display: flex;
|
|
2904
|
-
flex-direction: column;
|
|
2905
|
-
gap: 2.5rem;
|
|
2906
|
-
max-width: 52rem;
|
|
2907
|
-
color: var(--color-text-default-default);
|
|
2908
|
-
}
|
|
2909
|
-
|
|
2910
|
-
.muka-typography-catalog__intro {
|
|
2911
|
-
display: flex;
|
|
2912
|
-
flex-direction: column;
|
|
2913
|
-
gap: 0.75rem;
|
|
2914
|
-
}
|
|
2915
|
-
|
|
2916
|
-
.muka-typography-catalog__heading {
|
|
2917
|
-
margin: 0;
|
|
2918
|
-
font-family: var(--text-heading-md-fontFamily);
|
|
2919
|
-
font-weight: var(--text-heading-md-fontWeight);
|
|
2920
|
-
font-size: var(--text-heading-md-fontSize);
|
|
2921
|
-
line-height: var(--text-heading-md-lineHeight);
|
|
2922
|
-
}
|
|
2923
|
-
|
|
2924
|
-
.muka-typography-catalog__lede {
|
|
2925
|
-
margin: 0;
|
|
2926
|
-
font-family: var(--text-body-base-regular-fontFamily);
|
|
2927
|
-
font-weight: var(--text-body-base-regular-fontWeight);
|
|
2928
|
-
font-size: var(--text-body-base-regular-fontSize);
|
|
2929
|
-
line-height: var(--text-body-base-regular-lineHeight);
|
|
2930
|
-
color: var(--color-text-subtle-default);
|
|
2931
|
-
}
|
|
2932
|
-
|
|
2933
|
-
.muka-typography-catalog__lede code {
|
|
2934
|
-
font-family: var(--alias-font-mono-family, ui-monospace, monospace);
|
|
2935
|
-
font-size: 0.875em;
|
|
2936
|
-
}
|
|
2937
|
-
|
|
2938
|
-
.muka-typography-section {
|
|
2939
|
-
display: flex;
|
|
2940
|
-
flex-direction: column;
|
|
2941
|
-
gap: 1rem;
|
|
2942
|
-
}
|
|
2943
|
-
|
|
2944
|
-
.muka-typography-section__header {
|
|
2945
|
-
display: flex;
|
|
2946
|
-
flex-direction: column;
|
|
2947
|
-
gap: 0.35rem;
|
|
2948
|
-
padding-bottom: 0.75rem;
|
|
2949
|
-
border-bottom: 1px solid var(--color-border-default);
|
|
2950
|
-
}
|
|
2951
|
-
|
|
2952
|
-
.muka-typography-section__title {
|
|
2953
|
-
margin: 0;
|
|
2954
|
-
font-family: var(--text-heading-sm-fontFamily);
|
|
2955
|
-
font-weight: var(--text-heading-sm-fontWeight);
|
|
2956
|
-
font-size: var(--text-heading-sm-fontSize);
|
|
2957
|
-
line-height: var(--text-heading-sm-lineHeight);
|
|
2958
|
-
}
|
|
2959
|
-
|
|
2960
|
-
.muka-typography-section__description {
|
|
2961
|
-
margin: 0;
|
|
2962
|
-
font-family: var(--text-body-sm-regular-fontFamily);
|
|
2963
|
-
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
2964
|
-
font-size: var(--text-body-sm-regular-fontSize);
|
|
2965
|
-
line-height: var(--text-body-sm-regular-lineHeight);
|
|
2966
|
-
color: var(--color-text-subtle-default);
|
|
2967
|
-
}
|
|
2968
|
-
|
|
2969
|
-
.muka-typography-section__list {
|
|
2970
|
-
display: flex;
|
|
2971
|
-
flex-direction: column;
|
|
2972
|
-
gap: 1rem;
|
|
2973
|
-
}
|
|
2974
|
-
|
|
2975
|
-
.muka-typography-specimen {
|
|
2976
|
-
display: flex;
|
|
2977
|
-
flex-direction: column;
|
|
2978
|
-
gap: 0.35rem;
|
|
2979
|
-
}
|
|
2980
|
-
|
|
2981
|
-
.muka-typography-specimen__token {
|
|
2982
|
-
font-family: var(--alias-font-mono-family, ui-monospace, monospace);
|
|
2983
|
-
font-size: 0.75rem;
|
|
2984
|
-
line-height: 1;
|
|
2985
|
-
color: var(--color-text-subtle-default);
|
|
2986
|
-
}
|
|
2987
|
-
|
|
2988
|
-
.muka-typography-specimen__sample {
|
|
2989
|
-
margin: 0;
|
|
2990
|
-
}
|
|
2991
|
-
|
|
2992
|
-
|
|
2993
3026
|
/* Tooltip */
|
|
2994
3027
|
/* Tooltip Component Styles */
|
|
2995
3028
|
|
|
@@ -3026,214 +3059,24 @@ body {
|
|
|
3026
3059
|
}
|
|
3027
3060
|
|
|
3028
3061
|
|
|
3029
|
-
/*
|
|
3030
|
-
/*
|
|
3062
|
+
/* Toggle */
|
|
3063
|
+
/* Toggle Component Styles - Using Muka Design Tokens */
|
|
3031
3064
|
|
|
3032
|
-
|
|
3065
|
+
/* Wrapper container */
|
|
3066
|
+
.muka-toggle {
|
|
3033
3067
|
display: flex;
|
|
3034
|
-
align-items:
|
|
3035
|
-
gap: var(--
|
|
3036
|
-
|
|
3037
|
-
|
|
3038
|
-
box-shadow: var(--toast-shadow);
|
|
3039
|
-
min-width: var(--toast-width-min);
|
|
3040
|
-
max-width: var(--toast-width-max);
|
|
3041
|
-
pointer-events: auto;
|
|
3042
|
-
animation: muka-toast-slide-in 0.2s ease-out;
|
|
3043
|
-
}
|
|
3044
|
-
|
|
3045
|
-
/* Entry animation */
|
|
3046
|
-
@keyframes muka-toast-slide-in {
|
|
3047
|
-
from {
|
|
3048
|
-
opacity: 0;
|
|
3049
|
-
transform: translateY(8px);
|
|
3050
|
-
}
|
|
3051
|
-
to {
|
|
3052
|
-
opacity: 1;
|
|
3053
|
-
transform: translateY(0);
|
|
3054
|
-
}
|
|
3068
|
+
align-items: center;
|
|
3069
|
+
gap: var(--spacing-2);
|
|
3070
|
+
position: relative;
|
|
3071
|
+
padding: var(--spacing-4) 0;
|
|
3055
3072
|
}
|
|
3056
3073
|
|
|
3057
|
-
|
|
3058
|
-
|
|
3059
|
-
.muka-toast--top-left,
|
|
3060
|
-
.muka-toast--top-center,
|
|
3061
|
-
.muka-toast--bottom-right,
|
|
3062
|
-
.muka-toast--bottom-left,
|
|
3063
|
-
.muka-toast--bottom-center {
|
|
3064
|
-
position: fixed;
|
|
3065
|
-
z-index: 9999;
|
|
3074
|
+
.muka-toggle--with-caption {
|
|
3075
|
+
padding: var(--spacing-5) 0;
|
|
3066
3076
|
}
|
|
3067
3077
|
|
|
3068
|
-
.muka-
|
|
3069
|
-
|
|
3070
|
-
right: var(--spacing-4);
|
|
3071
|
-
}
|
|
3072
|
-
|
|
3073
|
-
.muka-toast--top-left {
|
|
3074
|
-
top: var(--spacing-4);
|
|
3075
|
-
left: var(--spacing-4);
|
|
3076
|
-
}
|
|
3077
|
-
|
|
3078
|
-
.muka-toast--top-center {
|
|
3079
|
-
top: var(--spacing-4);
|
|
3080
|
-
left: 50%;
|
|
3081
|
-
transform: translateX(-50%);
|
|
3082
|
-
}
|
|
3083
|
-
|
|
3084
|
-
.muka-toast--bottom-right {
|
|
3085
|
-
bottom: var(--spacing-4);
|
|
3086
|
-
right: var(--spacing-4);
|
|
3087
|
-
}
|
|
3088
|
-
|
|
3089
|
-
.muka-toast--bottom-left {
|
|
3090
|
-
bottom: var(--spacing-4);
|
|
3091
|
-
left: var(--spacing-4);
|
|
3092
|
-
}
|
|
3093
|
-
|
|
3094
|
-
.muka-toast--bottom-center {
|
|
3095
|
-
bottom: var(--spacing-4);
|
|
3096
|
-
left: 50%;
|
|
3097
|
-
transform: translateX(-50%);
|
|
3098
|
-
}
|
|
3099
|
-
|
|
3100
|
-
/* Variant: Info */
|
|
3101
|
-
.muka-toast--info {
|
|
3102
|
-
background-color: var(--toast-color-info-background);
|
|
3103
|
-
color: var(--toast-color-info-foreground);
|
|
3104
|
-
}
|
|
3105
|
-
|
|
3106
|
-
.muka-toast--info .muka-toast__icon {
|
|
3107
|
-
color: var(--toast-color-info-accent);
|
|
3108
|
-
}
|
|
3109
|
-
|
|
3110
|
-
/* Variant: Success */
|
|
3111
|
-
.muka-toast--success {
|
|
3112
|
-
background-color: var(--toast-color-success-background);
|
|
3113
|
-
color: var(--toast-color-success-foreground);
|
|
3114
|
-
}
|
|
3115
|
-
|
|
3116
|
-
.muka-toast--success .muka-toast__icon {
|
|
3117
|
-
color: var(--toast-color-success-accent);
|
|
3118
|
-
}
|
|
3119
|
-
|
|
3120
|
-
/* Variant: Warning */
|
|
3121
|
-
.muka-toast--warning {
|
|
3122
|
-
background-color: var(--toast-color-warning-background);
|
|
3123
|
-
color: var(--toast-color-warning-foreground);
|
|
3124
|
-
}
|
|
3125
|
-
|
|
3126
|
-
.muka-toast--warning .muka-toast__icon {
|
|
3127
|
-
color: var(--toast-color-warning-accent);
|
|
3128
|
-
}
|
|
3129
|
-
|
|
3130
|
-
/* Variant: Error */
|
|
3131
|
-
.muka-toast--error {
|
|
3132
|
-
background-color: var(--toast-color-error-background);
|
|
3133
|
-
color: var(--toast-color-error-foreground);
|
|
3134
|
-
}
|
|
3135
|
-
|
|
3136
|
-
.muka-toast--error .muka-toast__icon {
|
|
3137
|
-
color: var(--toast-color-error-accent);
|
|
3138
|
-
}
|
|
3139
|
-
|
|
3140
|
-
/* Icon */
|
|
3141
|
-
.muka-toast__icon {
|
|
3142
|
-
display: flex;
|
|
3143
|
-
align-items: center;
|
|
3144
|
-
justify-content: center;
|
|
3145
|
-
flex-shrink: 0;
|
|
3146
|
-
width: var(--toast-icon-size);
|
|
3147
|
-
height: var(--toast-icon-size);
|
|
3148
|
-
}
|
|
3149
|
-
|
|
3150
|
-
.muka-toast__icon svg {
|
|
3151
|
-
width: 100%;
|
|
3152
|
-
height: 100%;
|
|
3153
|
-
}
|
|
3154
|
-
|
|
3155
|
-
/* Content */
|
|
3156
|
-
.muka-toast__content {
|
|
3157
|
-
flex: 1;
|
|
3158
|
-
min-width: 0;
|
|
3159
|
-
}
|
|
3160
|
-
|
|
3161
|
-
.muka-toast__title {
|
|
3162
|
-
font-family: var(--text-label-md-semibold-fontFamily);
|
|
3163
|
-
font-weight: var(--text-label-md-semibold-fontWeight);
|
|
3164
|
-
font-size: var(--text-label-md-semibold-fontSize);
|
|
3165
|
-
line-height: var(--text-label-md-semibold-lineHeight);
|
|
3166
|
-
margin-bottom: var(--spacing-1);
|
|
3167
|
-
}
|
|
3168
|
-
|
|
3169
|
-
.muka-toast__message {
|
|
3170
|
-
font-family: var(--text-body-sm-regular-fontFamily);
|
|
3171
|
-
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
3172
|
-
font-size: var(--text-body-sm-regular-fontSize);
|
|
3173
|
-
line-height: var(--text-body-sm-regular-lineHeight);
|
|
3174
|
-
}
|
|
3175
|
-
|
|
3176
|
-
/* Action slot */
|
|
3177
|
-
.muka-toast__action {
|
|
3178
|
-
display: flex;
|
|
3179
|
-
align-items: center;
|
|
3180
|
-
flex-shrink: 0;
|
|
3181
|
-
}
|
|
3182
|
-
|
|
3183
|
-
/* Dismiss button */
|
|
3184
|
-
.muka-toast__dismiss {
|
|
3185
|
-
display: flex;
|
|
3186
|
-
align-items: center;
|
|
3187
|
-
justify-content: center;
|
|
3188
|
-
flex-shrink: 0;
|
|
3189
|
-
width: 24px;
|
|
3190
|
-
height: 24px;
|
|
3191
|
-
padding: 0;
|
|
3192
|
-
margin: -2px -4px -2px 0;
|
|
3193
|
-
border: none;
|
|
3194
|
-
background: transparent;
|
|
3195
|
-
color: inherit;
|
|
3196
|
-
opacity: 0.7;
|
|
3197
|
-
cursor: pointer;
|
|
3198
|
-
border-radius: var(--border-radius-sm);
|
|
3199
|
-
transition: opacity 0.15s ease, background-color 0.15s ease;
|
|
3200
|
-
}
|
|
3201
|
-
|
|
3202
|
-
.muka-toast__dismiss:hover {
|
|
3203
|
-
opacity: 1;
|
|
3204
|
-
background-color: rgba(0, 0, 0, 0.05);
|
|
3205
|
-
}
|
|
3206
|
-
|
|
3207
|
-
.muka-toast__dismiss:focus-visible {
|
|
3208
|
-
outline: 2px solid var(--color-border-focus);
|
|
3209
|
-
outline-offset: 2px;
|
|
3210
|
-
opacity: 1;
|
|
3211
|
-
}
|
|
3212
|
-
|
|
3213
|
-
.muka-toast__dismiss svg {
|
|
3214
|
-
width: 16px;
|
|
3215
|
-
height: 16px;
|
|
3216
|
-
}
|
|
3217
|
-
|
|
3218
|
-
|
|
3219
|
-
/* Toggle */
|
|
3220
|
-
/* Toggle Component Styles - Using Muka Design Tokens */
|
|
3221
|
-
|
|
3222
|
-
/* Wrapper container */
|
|
3223
|
-
.muka-toggle {
|
|
3224
|
-
display: flex;
|
|
3225
|
-
align-items: center;
|
|
3226
|
-
gap: var(--spacing-2);
|
|
3227
|
-
position: relative;
|
|
3228
|
-
padding: var(--spacing-4) 0;
|
|
3229
|
-
}
|
|
3230
|
-
|
|
3231
|
-
.muka-toggle--with-caption {
|
|
3232
|
-
padding: var(--spacing-5) 0;
|
|
3233
|
-
}
|
|
3234
|
-
|
|
3235
|
-
.muka-toggle--disabled {
|
|
3236
|
-
opacity: 0.6;
|
|
3078
|
+
.muka-toggle--disabled {
|
|
3079
|
+
opacity: 0.6;
|
|
3237
3080
|
}
|
|
3238
3081
|
|
|
3239
3082
|
/* Icon */
|
|
@@ -3379,6 +3222,196 @@ body {
|
|
|
3379
3222
|
}
|
|
3380
3223
|
|
|
3381
3224
|
|
|
3225
|
+
/* Toast */
|
|
3226
|
+
/* Toast Component Styles - Using Muka Design Tokens */
|
|
3227
|
+
|
|
3228
|
+
.muka-toast {
|
|
3229
|
+
display: flex;
|
|
3230
|
+
align-items: flex-start;
|
|
3231
|
+
gap: var(--toast-gap);
|
|
3232
|
+
padding: var(--toast-padding-y) var(--toast-padding-x);
|
|
3233
|
+
border-radius: var(--toast-radius);
|
|
3234
|
+
box-shadow: var(--toast-shadow);
|
|
3235
|
+
min-width: var(--toast-width-min);
|
|
3236
|
+
max-width: var(--toast-width-max);
|
|
3237
|
+
pointer-events: auto;
|
|
3238
|
+
animation: muka-toast-slide-in 0.2s ease-out;
|
|
3239
|
+
}
|
|
3240
|
+
|
|
3241
|
+
/* Entry animation */
|
|
3242
|
+
@keyframes muka-toast-slide-in {
|
|
3243
|
+
from {
|
|
3244
|
+
opacity: 0;
|
|
3245
|
+
transform: translateY(8px);
|
|
3246
|
+
}
|
|
3247
|
+
to {
|
|
3248
|
+
opacity: 1;
|
|
3249
|
+
transform: translateY(0);
|
|
3250
|
+
}
|
|
3251
|
+
}
|
|
3252
|
+
|
|
3253
|
+
/* Position variants (for standalone use - typically managed by ToastProvider) */
|
|
3254
|
+
.muka-toast--top-right,
|
|
3255
|
+
.muka-toast--top-left,
|
|
3256
|
+
.muka-toast--top-center,
|
|
3257
|
+
.muka-toast--bottom-right,
|
|
3258
|
+
.muka-toast--bottom-left,
|
|
3259
|
+
.muka-toast--bottom-center {
|
|
3260
|
+
position: fixed;
|
|
3261
|
+
z-index: 9999;
|
|
3262
|
+
}
|
|
3263
|
+
|
|
3264
|
+
.muka-toast--top-right {
|
|
3265
|
+
top: var(--spacing-4);
|
|
3266
|
+
right: var(--spacing-4);
|
|
3267
|
+
}
|
|
3268
|
+
|
|
3269
|
+
.muka-toast--top-left {
|
|
3270
|
+
top: var(--spacing-4);
|
|
3271
|
+
left: var(--spacing-4);
|
|
3272
|
+
}
|
|
3273
|
+
|
|
3274
|
+
.muka-toast--top-center {
|
|
3275
|
+
top: var(--spacing-4);
|
|
3276
|
+
left: 50%;
|
|
3277
|
+
transform: translateX(-50%);
|
|
3278
|
+
}
|
|
3279
|
+
|
|
3280
|
+
.muka-toast--bottom-right {
|
|
3281
|
+
bottom: var(--spacing-4);
|
|
3282
|
+
right: var(--spacing-4);
|
|
3283
|
+
}
|
|
3284
|
+
|
|
3285
|
+
.muka-toast--bottom-left {
|
|
3286
|
+
bottom: var(--spacing-4);
|
|
3287
|
+
left: var(--spacing-4);
|
|
3288
|
+
}
|
|
3289
|
+
|
|
3290
|
+
.muka-toast--bottom-center {
|
|
3291
|
+
bottom: var(--spacing-4);
|
|
3292
|
+
left: 50%;
|
|
3293
|
+
transform: translateX(-50%);
|
|
3294
|
+
}
|
|
3295
|
+
|
|
3296
|
+
/* Variant: Info */
|
|
3297
|
+
.muka-toast--info {
|
|
3298
|
+
background-color: var(--toast-color-info-background);
|
|
3299
|
+
color: var(--toast-color-info-foreground);
|
|
3300
|
+
}
|
|
3301
|
+
|
|
3302
|
+
.muka-toast--info .muka-toast__icon {
|
|
3303
|
+
color: var(--toast-color-info-accent);
|
|
3304
|
+
}
|
|
3305
|
+
|
|
3306
|
+
/* Variant: Success */
|
|
3307
|
+
.muka-toast--success {
|
|
3308
|
+
background-color: var(--toast-color-success-background);
|
|
3309
|
+
color: var(--toast-color-success-foreground);
|
|
3310
|
+
}
|
|
3311
|
+
|
|
3312
|
+
.muka-toast--success .muka-toast__icon {
|
|
3313
|
+
color: var(--toast-color-success-accent);
|
|
3314
|
+
}
|
|
3315
|
+
|
|
3316
|
+
/* Variant: Warning */
|
|
3317
|
+
.muka-toast--warning {
|
|
3318
|
+
background-color: var(--toast-color-warning-background);
|
|
3319
|
+
color: var(--toast-color-warning-foreground);
|
|
3320
|
+
}
|
|
3321
|
+
|
|
3322
|
+
.muka-toast--warning .muka-toast__icon {
|
|
3323
|
+
color: var(--toast-color-warning-accent);
|
|
3324
|
+
}
|
|
3325
|
+
|
|
3326
|
+
/* Variant: Error */
|
|
3327
|
+
.muka-toast--error {
|
|
3328
|
+
background-color: var(--toast-color-error-background);
|
|
3329
|
+
color: var(--toast-color-error-foreground);
|
|
3330
|
+
}
|
|
3331
|
+
|
|
3332
|
+
.muka-toast--error .muka-toast__icon {
|
|
3333
|
+
color: var(--toast-color-error-accent);
|
|
3334
|
+
}
|
|
3335
|
+
|
|
3336
|
+
/* Icon */
|
|
3337
|
+
.muka-toast__icon {
|
|
3338
|
+
display: flex;
|
|
3339
|
+
align-items: center;
|
|
3340
|
+
justify-content: center;
|
|
3341
|
+
flex-shrink: 0;
|
|
3342
|
+
width: var(--toast-icon-size);
|
|
3343
|
+
height: var(--toast-icon-size);
|
|
3344
|
+
}
|
|
3345
|
+
|
|
3346
|
+
.muka-toast__icon svg {
|
|
3347
|
+
width: 100%;
|
|
3348
|
+
height: 100%;
|
|
3349
|
+
}
|
|
3350
|
+
|
|
3351
|
+
/* Content */
|
|
3352
|
+
.muka-toast__content {
|
|
3353
|
+
flex: 1;
|
|
3354
|
+
min-width: 0;
|
|
3355
|
+
}
|
|
3356
|
+
|
|
3357
|
+
.muka-toast__title {
|
|
3358
|
+
font-family: var(--text-label-md-semibold-fontFamily);
|
|
3359
|
+
font-weight: var(--text-label-md-semibold-fontWeight);
|
|
3360
|
+
font-size: var(--text-label-md-semibold-fontSize);
|
|
3361
|
+
line-height: var(--text-label-md-semibold-lineHeight);
|
|
3362
|
+
margin-bottom: var(--spacing-1);
|
|
3363
|
+
}
|
|
3364
|
+
|
|
3365
|
+
.muka-toast__message {
|
|
3366
|
+
font-family: var(--text-body-sm-regular-fontFamily);
|
|
3367
|
+
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
3368
|
+
font-size: var(--text-body-sm-regular-fontSize);
|
|
3369
|
+
line-height: var(--text-body-sm-regular-lineHeight);
|
|
3370
|
+
}
|
|
3371
|
+
|
|
3372
|
+
/* Action slot */
|
|
3373
|
+
.muka-toast__action {
|
|
3374
|
+
display: flex;
|
|
3375
|
+
align-items: center;
|
|
3376
|
+
flex-shrink: 0;
|
|
3377
|
+
}
|
|
3378
|
+
|
|
3379
|
+
/* Dismiss button */
|
|
3380
|
+
.muka-toast__dismiss {
|
|
3381
|
+
display: flex;
|
|
3382
|
+
align-items: center;
|
|
3383
|
+
justify-content: center;
|
|
3384
|
+
flex-shrink: 0;
|
|
3385
|
+
width: 24px;
|
|
3386
|
+
height: 24px;
|
|
3387
|
+
padding: 0;
|
|
3388
|
+
margin: -2px -4px -2px 0;
|
|
3389
|
+
border: none;
|
|
3390
|
+
background: transparent;
|
|
3391
|
+
color: inherit;
|
|
3392
|
+
opacity: 0.7;
|
|
3393
|
+
cursor: pointer;
|
|
3394
|
+
border-radius: var(--border-radius-sm);
|
|
3395
|
+
transition: opacity 0.15s ease, background-color 0.15s ease;
|
|
3396
|
+
}
|
|
3397
|
+
|
|
3398
|
+
.muka-toast__dismiss:hover {
|
|
3399
|
+
opacity: 1;
|
|
3400
|
+
background-color: rgba(0, 0, 0, 0.05);
|
|
3401
|
+
}
|
|
3402
|
+
|
|
3403
|
+
.muka-toast__dismiss:focus-visible {
|
|
3404
|
+
outline: 2px solid var(--color-border-focus);
|
|
3405
|
+
outline-offset: 2px;
|
|
3406
|
+
opacity: 1;
|
|
3407
|
+
}
|
|
3408
|
+
|
|
3409
|
+
.muka-toast__dismiss svg {
|
|
3410
|
+
width: 16px;
|
|
3411
|
+
height: 16px;
|
|
3412
|
+
}
|
|
3413
|
+
|
|
3414
|
+
|
|
3382
3415
|
/* Tile */
|
|
3383
3416
|
/* Tile Component Styles - Using Muka Design Tokens */
|
|
3384
3417
|
|
|
@@ -4747,129 +4780,99 @@ body {
|
|
|
4747
4780
|
outline-offset: -2px;
|
|
4748
4781
|
}
|
|
4749
4782
|
|
|
4750
|
-
/* Sort icon */
|
|
4751
|
-
.muka-table__sort-icon {
|
|
4752
|
-
width: 1em;
|
|
4753
|
-
height: 1em;
|
|
4754
|
-
opacity: 0.4;
|
|
4755
|
-
transition: opacity 0.2s, transform 0.2s;
|
|
4756
|
-
}
|
|
4757
|
-
|
|
4758
|
-
.muka-table__header-cell--sortable:hover .muka-table__sort-icon {
|
|
4759
|
-
opacity: 0.7;
|
|
4760
|
-
}
|
|
4761
|
-
|
|
4762
|
-
.muka-table__sort-icon--asc,
|
|
4763
|
-
.muka-table__sort-icon--desc {
|
|
4764
|
-
opacity: 1;
|
|
4765
|
-
}
|
|
4766
|
-
|
|
4767
|
-
|
|
4768
|
-
/* SwipeActions */
|
|
4769
|
-
/* SwipeActions Component Styles */
|
|
4770
|
-
|
|
4771
|
-
.muka-swipe-actions {
|
|
4772
|
-
position: relative;
|
|
4773
|
-
overflow: hidden;
|
|
4774
|
-
touch-action: pan-y;
|
|
4775
|
-
-webkit-user-select: none;
|
|
4776
|
-
user-select: none;
|
|
4777
|
-
background-color: var(--color-surface-level3);
|
|
4778
|
-
}
|
|
4779
|
-
|
|
4780
|
-
.muka-swipe-actions--disabled {
|
|
4781
|
-
touch-action: auto;
|
|
4782
|
-
}
|
|
4783
|
-
|
|
4784
|
-
/* ─── Row that holds the actual content ────────────────── */
|
|
4785
|
-
|
|
4786
|
-
.muka-swipe-actions__row {
|
|
4787
|
-
position: relative;
|
|
4788
|
-
z-index: 1;
|
|
4789
|
-
background-color: inherit;
|
|
4790
|
-
will-change: transform;
|
|
4791
|
-
}
|
|
4792
|
-
|
|
4793
|
-
/* ─── Action panels — sit beneath the row ──────────────── */
|
|
4794
|
-
|
|
4795
|
-
.muka-swipe-actions__panel {
|
|
4796
|
-
position: absolute;
|
|
4797
|
-
top: 0;
|
|
4798
|
-
bottom: 0;
|
|
4799
|
-
display: flex;
|
|
4800
|
-
align-items: stretch;
|
|
4801
|
-
z-index: 0;
|
|
4802
|
-
}
|
|
4803
|
-
|
|
4804
|
-
.muka-swipe-actions__panel--left {
|
|
4805
|
-
left: 0;
|
|
4783
|
+
/* Sort icon */
|
|
4784
|
+
.muka-table__sort-icon {
|
|
4785
|
+
width: 1em;
|
|
4786
|
+
height: 1em;
|
|
4787
|
+
opacity: 0.4;
|
|
4788
|
+
transition: opacity 0.2s, transform 0.2s;
|
|
4806
4789
|
}
|
|
4807
4790
|
|
|
4808
|
-
.muka-
|
|
4809
|
-
|
|
4791
|
+
.muka-table__header-cell--sortable:hover .muka-table__sort-icon {
|
|
4792
|
+
opacity: 0.7;
|
|
4810
4793
|
}
|
|
4811
4794
|
|
|
4812
|
-
|
|
4795
|
+
.muka-table__sort-icon--asc,
|
|
4796
|
+
.muka-table__sort-icon--desc {
|
|
4797
|
+
opacity: 1;
|
|
4798
|
+
}
|
|
4813
4799
|
|
|
4814
|
-
|
|
4815
|
-
|
|
4816
|
-
|
|
4800
|
+
|
|
4801
|
+
/* Spinner */
|
|
4802
|
+
/* Spinner Component Styles */
|
|
4803
|
+
|
|
4804
|
+
.muka-spinner {
|
|
4805
|
+
display: inline-flex;
|
|
4817
4806
|
align-items: center;
|
|
4818
4807
|
justify-content: center;
|
|
4819
|
-
gap: var(--spacing-1);
|
|
4820
|
-
border: none;
|
|
4821
|
-
cursor: pointer;
|
|
4822
|
-
padding: var(--spacing-2);
|
|
4823
|
-
background-color: var(--color-surface-level2);
|
|
4824
4808
|
color: var(--color-text-default-default);
|
|
4825
|
-
|
|
4826
|
-
font-weight: var(--text-label-sm-semibold-fontWeight);
|
|
4827
|
-
font-size: var(--text-label-sm-semibold-fontSize);
|
|
4828
|
-
line-height: var(--text-label-sm-semibold-lineHeight);
|
|
4829
|
-
-webkit-tap-highlight-color: transparent;
|
|
4830
|
-
transition: filter 0.12s ease;
|
|
4809
|
+
line-height: 0;
|
|
4831
4810
|
}
|
|
4832
4811
|
|
|
4833
|
-
.muka-
|
|
4834
|
-
|
|
4812
|
+
.muka-spinner--subtle {
|
|
4813
|
+
color: var(--color-text-subtle-default);
|
|
4835
4814
|
}
|
|
4836
4815
|
|
|
4837
|
-
.muka-
|
|
4838
|
-
|
|
4839
|
-
outline-offset: -2px;
|
|
4816
|
+
.muka-spinner--inverse {
|
|
4817
|
+
color: var(--color-text-default-inverse);
|
|
4840
4818
|
}
|
|
4841
4819
|
|
|
4842
|
-
.muka-
|
|
4843
|
-
display: inline-
|
|
4844
|
-
|
|
4845
|
-
|
|
4820
|
+
.muka-spinner__circle {
|
|
4821
|
+
display: inline-block;
|
|
4822
|
+
border-radius: 50%;
|
|
4823
|
+
border-style: solid;
|
|
4824
|
+
border-color: currentColor;
|
|
4825
|
+
border-right-color: transparent;
|
|
4826
|
+
animation: muka-spinner-rotate 0.7s linear infinite;
|
|
4827
|
+
box-sizing: border-box;
|
|
4846
4828
|
}
|
|
4847
4829
|
|
|
4848
|
-
/* ───
|
|
4830
|
+
/* ─── Sizes ───────────────────────────────────────────── */
|
|
4849
4831
|
|
|
4850
|
-
.muka-
|
|
4851
|
-
|
|
4852
|
-
|
|
4832
|
+
.muka-spinner--sm .muka-spinner__circle {
|
|
4833
|
+
width: 16px;
|
|
4834
|
+
height: 16px;
|
|
4835
|
+
border-width: 2px;
|
|
4853
4836
|
}
|
|
4854
4837
|
|
|
4855
|
-
.muka-
|
|
4856
|
-
|
|
4857
|
-
|
|
4838
|
+
.muka-spinner--md .muka-spinner__circle {
|
|
4839
|
+
width: 20px;
|
|
4840
|
+
height: 20px;
|
|
4841
|
+
border-width: 2px;
|
|
4858
4842
|
}
|
|
4859
4843
|
|
|
4860
|
-
.muka-
|
|
4861
|
-
|
|
4862
|
-
|
|
4844
|
+
.muka-spinner--lg .muka-spinner__circle {
|
|
4845
|
+
width: 24px;
|
|
4846
|
+
height: 24px;
|
|
4847
|
+
border-width: 3px;
|
|
4863
4848
|
}
|
|
4864
4849
|
|
|
4865
|
-
|
|
4866
|
-
|
|
4867
|
-
|
|
4850
|
+
/* ─── Visually-hidden label ───────────────────────────── */
|
|
4851
|
+
|
|
4852
|
+
.muka-spinner__sr-label {
|
|
4853
|
+
position: absolute;
|
|
4854
|
+
width: 1px;
|
|
4855
|
+
height: 1px;
|
|
4856
|
+
padding: 0;
|
|
4857
|
+
margin: -1px;
|
|
4858
|
+
overflow: hidden;
|
|
4859
|
+
clip: rect(0, 0, 0, 0);
|
|
4860
|
+
white-space: nowrap;
|
|
4861
|
+
border: 0;
|
|
4868
4862
|
}
|
|
4869
4863
|
|
|
4870
|
-
|
|
4871
|
-
|
|
4872
|
-
|
|
4864
|
+
/* ─── Reduced motion ──────────────────────────────────── */
|
|
4865
|
+
|
|
4866
|
+
@keyframes muka-spinner-rotate {
|
|
4867
|
+
to {
|
|
4868
|
+
transform: rotate(360deg);
|
|
4869
|
+
}
|
|
4870
|
+
}
|
|
4871
|
+
|
|
4872
|
+
@media (prefers-reduced-motion: reduce) {
|
|
4873
|
+
.muka-spinner__circle {
|
|
4874
|
+
animation-duration: 2.5s;
|
|
4875
|
+
}
|
|
4873
4876
|
}
|
|
4874
4877
|
|
|
4875
4878
|
|
|
@@ -14209,9 +14212,23 @@ button.muka-chat-photo-grid__tile:focus-visible {
|
|
|
14209
14212
|
width: 100%;
|
|
14210
14213
|
}
|
|
14211
14214
|
|
|
14215
|
+
/*
|
|
14216
|
+
* Many choices (a phone with seven options) would push the field and the step
|
|
14217
|
+
* footer off screen. The card gets a height limit and scrolls on its own, so
|
|
14218
|
+
* the prompt, the field and the footer stay in view.
|
|
14219
|
+
*/
|
|
14212
14220
|
.muka-chat-composer__choices-card {
|
|
14213
14221
|
width: 100%;
|
|
14214
|
-
|
|
14222
|
+
max-height: 45dvh;
|
|
14223
|
+
overflow-x: hidden;
|
|
14224
|
+
overflow-y: auto;
|
|
14225
|
+
overscroll-behavior: contain;
|
|
14226
|
+
}
|
|
14227
|
+
|
|
14228
|
+
/* A choice is one short line, not a navigation row: compact padding. */
|
|
14229
|
+
.muka-chat-composer__choice.muka-listitem {
|
|
14230
|
+
align-items: center;
|
|
14231
|
+
padding-block: var(--spacing-3);
|
|
14215
14232
|
}
|
|
14216
14233
|
|
|
14217
14234
|
/* Choice rows: the ListItem is the interactive control; the Radio/Checkbox is
|
|
@@ -16890,80 +16907,110 @@ button.muka-chat-photo-grid__tile:focus-visible {
|
|
|
16890
16907
|
}
|
|
16891
16908
|
|
|
16892
16909
|
|
|
16893
|
-
/*
|
|
16894
|
-
/*
|
|
16910
|
+
/* SwipeActions */
|
|
16911
|
+
/* SwipeActions Component Styles */
|
|
16895
16912
|
|
|
16896
|
-
.muka-
|
|
16897
|
-
|
|
16898
|
-
|
|
16899
|
-
|
|
16900
|
-
|
|
16901
|
-
|
|
16913
|
+
.muka-swipe-actions {
|
|
16914
|
+
position: relative;
|
|
16915
|
+
overflow: hidden;
|
|
16916
|
+
touch-action: pan-y;
|
|
16917
|
+
-webkit-user-select: none;
|
|
16918
|
+
user-select: none;
|
|
16919
|
+
background-color: var(--color-surface-level3);
|
|
16902
16920
|
}
|
|
16903
16921
|
|
|
16904
|
-
.muka-
|
|
16905
|
-
|
|
16922
|
+
.muka-swipe-actions--disabled {
|
|
16923
|
+
touch-action: auto;
|
|
16906
16924
|
}
|
|
16907
16925
|
|
|
16908
|
-
|
|
16909
|
-
|
|
16926
|
+
/* ─── Row that holds the actual content ────────────────── */
|
|
16927
|
+
|
|
16928
|
+
.muka-swipe-actions__row {
|
|
16929
|
+
position: relative;
|
|
16930
|
+
z-index: 1;
|
|
16931
|
+
background-color: inherit;
|
|
16932
|
+
will-change: transform;
|
|
16910
16933
|
}
|
|
16911
16934
|
|
|
16912
|
-
|
|
16913
|
-
|
|
16914
|
-
|
|
16915
|
-
|
|
16916
|
-
|
|
16917
|
-
|
|
16918
|
-
|
|
16919
|
-
|
|
16935
|
+
/* ─── Action panels — sit beneath the row ──────────────── */
|
|
16936
|
+
|
|
16937
|
+
.muka-swipe-actions__panel {
|
|
16938
|
+
position: absolute;
|
|
16939
|
+
top: 0;
|
|
16940
|
+
bottom: 0;
|
|
16941
|
+
display: flex;
|
|
16942
|
+
align-items: stretch;
|
|
16943
|
+
z-index: 0;
|
|
16920
16944
|
}
|
|
16921
16945
|
|
|
16922
|
-
|
|
16946
|
+
.muka-swipe-actions__panel--left {
|
|
16947
|
+
left: 0;
|
|
16948
|
+
}
|
|
16923
16949
|
|
|
16924
|
-
.muka-
|
|
16925
|
-
|
|
16926
|
-
height: 16px;
|
|
16927
|
-
border-width: 2px;
|
|
16950
|
+
.muka-swipe-actions__panel--right {
|
|
16951
|
+
right: 0;
|
|
16928
16952
|
}
|
|
16929
16953
|
|
|
16930
|
-
|
|
16931
|
-
|
|
16932
|
-
|
|
16933
|
-
|
|
16954
|
+
/* ─── Single action button ─────────────────────────────── */
|
|
16955
|
+
|
|
16956
|
+
.muka-swipe-actions__button {
|
|
16957
|
+
display: flex;
|
|
16958
|
+
flex-direction: column;
|
|
16959
|
+
align-items: center;
|
|
16960
|
+
justify-content: center;
|
|
16961
|
+
gap: var(--spacing-1);
|
|
16962
|
+
border: none;
|
|
16963
|
+
cursor: pointer;
|
|
16964
|
+
padding: var(--spacing-2);
|
|
16965
|
+
background-color: var(--color-surface-level2);
|
|
16966
|
+
color: var(--color-text-default-default);
|
|
16967
|
+
font-family: var(--text-label-sm-semibold-fontFamily);
|
|
16968
|
+
font-weight: var(--text-label-sm-semibold-fontWeight);
|
|
16969
|
+
font-size: var(--text-label-sm-semibold-fontSize);
|
|
16970
|
+
line-height: var(--text-label-sm-semibold-lineHeight);
|
|
16971
|
+
-webkit-tap-highlight-color: transparent;
|
|
16972
|
+
transition: filter 0.12s ease;
|
|
16934
16973
|
}
|
|
16935
16974
|
|
|
16936
|
-
.muka-
|
|
16937
|
-
|
|
16938
|
-
height: 24px;
|
|
16939
|
-
border-width: 3px;
|
|
16975
|
+
.muka-swipe-actions__button:hover {
|
|
16976
|
+
filter: brightness(0.95);
|
|
16940
16977
|
}
|
|
16941
16978
|
|
|
16942
|
-
|
|
16979
|
+
.muka-swipe-actions__button:focus-visible {
|
|
16980
|
+
outline: 2px solid var(--color-action-default);
|
|
16981
|
+
outline-offset: -2px;
|
|
16982
|
+
}
|
|
16943
16983
|
|
|
16944
|
-
.muka-
|
|
16945
|
-
|
|
16946
|
-
|
|
16947
|
-
|
|
16948
|
-
padding: 0;
|
|
16949
|
-
margin: -1px;
|
|
16950
|
-
overflow: hidden;
|
|
16951
|
-
clip: rect(0, 0, 0, 0);
|
|
16952
|
-
white-space: nowrap;
|
|
16953
|
-
border: 0;
|
|
16984
|
+
.muka-swipe-actions__button-icon {
|
|
16985
|
+
display: inline-flex;
|
|
16986
|
+
align-items: center;
|
|
16987
|
+
justify-content: center;
|
|
16954
16988
|
}
|
|
16955
16989
|
|
|
16956
|
-
/* ───
|
|
16990
|
+
/* ─── Color variants ───────────────────────────────────── */
|
|
16957
16991
|
|
|
16958
|
-
|
|
16959
|
-
|
|
16960
|
-
|
|
16961
|
-
}
|
|
16992
|
+
.muka-swipe-actions__button--neutral {
|
|
16993
|
+
background-color: var(--color-surface-level2);
|
|
16994
|
+
color: var(--color-text-default-default);
|
|
16962
16995
|
}
|
|
16963
16996
|
|
|
16964
|
-
|
|
16965
|
-
|
|
16966
|
-
|
|
16967
|
-
|
|
16997
|
+
.muka-swipe-actions__button--primary {
|
|
16998
|
+
background-color: var(--color-action-default);
|
|
16999
|
+
color: var(--color-text-default-inverse);
|
|
17000
|
+
}
|
|
17001
|
+
|
|
17002
|
+
.muka-swipe-actions__button--success {
|
|
17003
|
+
background-color: var(--color-state-success-default);
|
|
17004
|
+
color: var(--color-text-default-inverse);
|
|
17005
|
+
}
|
|
17006
|
+
|
|
17007
|
+
.muka-swipe-actions__button--warning {
|
|
17008
|
+
background-color: var(--color-state-warning-default);
|
|
17009
|
+
color: var(--color-text-default-default);
|
|
17010
|
+
}
|
|
17011
|
+
|
|
17012
|
+
.muka-swipe-actions__button--destructive {
|
|
17013
|
+
background-color: var(--color-state-error-default);
|
|
17014
|
+
color: var(--color-text-default-inverse);
|
|
16968
17015
|
}
|
|
16969
17016
|
|