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