@revikornmann/muka-ui 0.43.0 → 0.43.1
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/styles/index.css +362 -362
- package/dist/styles/muka-dark.css +362 -362
- package/dist/styles/muka-light.css +362 -362
- package/dist/styles/tokens-bouwplan-dark.css +2 -2
- package/dist/styles/tokens-bouwplan-light.css +2 -2
- package/dist/styles/tokens-fscl-dark.css +2 -2
- package/dist/styles/tokens-fscl-light.css +2 -2
- package/dist/styles/tokens-grip-dark.css +2 -2
- package/dist/styles/tokens-grip-light.css +2 -2
- package/dist/styles/tokens-muka-dark.css +2 -2
- package/dist/styles/tokens-muka-light.css +2 -2
- package/dist/styles/tokens-wireframe-dark.css +2 -2
- package/dist/styles/tokens-wireframe-light.css +2 -2
- package/dist/styles/wireframe-dark.css +362 -362
- package/dist/styles/wireframe-light.css +362 -362
- package/package.json +1 -1
- package/tokens/t4-components/emptystate.json +2 -2
package/dist/styles/index.css
CHANGED
|
@@ -2290,13 +2290,13 @@ body {
|
|
|
2290
2290
|
--emptystate-container-padding-md: 2rem;
|
|
2291
2291
|
--emptystate-container-padding-lg: 3rem;
|
|
2292
2292
|
--emptystate-container-gap: 1rem;
|
|
2293
|
-
--emptystate-container-maxWidth:
|
|
2293
|
+
--emptystate-container-maxWidth: 40rem;
|
|
2294
2294
|
--emptystate-icon-size-sm: 2rem;
|
|
2295
2295
|
--emptystate-icon-size-md: 3rem;
|
|
2296
2296
|
--emptystate-icon-size-lg: 4rem;
|
|
2297
2297
|
--emptystate-icon-color: #d0cdd7;
|
|
2298
2298
|
--emptystate-title-color: #211f26;
|
|
2299
|
-
--emptystate-description-color: #
|
|
2299
|
+
--emptystate-description-color: #211f26;
|
|
2300
2300
|
--emptystate-actions-gap: 0.75rem;
|
|
2301
2301
|
--emptystate-actions-marginTop: 1rem;
|
|
2302
2302
|
--documentviewer-container-background: #fdfcfd;
|
|
@@ -3008,6 +3008,169 @@ body {
|
|
|
3008
3008
|
}
|
|
3009
3009
|
|
|
3010
3010
|
|
|
3011
|
+
/* Toggle */
|
|
3012
|
+
/* Toggle Component Styles - Using Muka Design Tokens */
|
|
3013
|
+
|
|
3014
|
+
/* Wrapper container */
|
|
3015
|
+
.muka-toggle {
|
|
3016
|
+
display: flex;
|
|
3017
|
+
align-items: center;
|
|
3018
|
+
gap: var(--spacing-2);
|
|
3019
|
+
position: relative;
|
|
3020
|
+
padding: var(--spacing-4) 0;
|
|
3021
|
+
}
|
|
3022
|
+
|
|
3023
|
+
.muka-toggle--with-caption {
|
|
3024
|
+
padding: var(--spacing-5) 0;
|
|
3025
|
+
}
|
|
3026
|
+
|
|
3027
|
+
.muka-toggle--disabled {
|
|
3028
|
+
opacity: 0.6;
|
|
3029
|
+
}
|
|
3030
|
+
|
|
3031
|
+
/* Icon */
|
|
3032
|
+
.muka-toggle__icon {
|
|
3033
|
+
display: flex;
|
|
3034
|
+
align-items: center;
|
|
3035
|
+
justify-content: center;
|
|
3036
|
+
flex-shrink: 0;
|
|
3037
|
+
width: var(--icon-size-default);
|
|
3038
|
+
height: var(--icon-size-default);
|
|
3039
|
+
color: var(--color-text-default-default);
|
|
3040
|
+
}
|
|
3041
|
+
|
|
3042
|
+
.muka-toggle__icon svg {
|
|
3043
|
+
width: 100%;
|
|
3044
|
+
height: 100%;
|
|
3045
|
+
}
|
|
3046
|
+
|
|
3047
|
+
/* Content area (label + caption) */
|
|
3048
|
+
.muka-toggle__content {
|
|
3049
|
+
display: flex;
|
|
3050
|
+
flex-direction: column;
|
|
3051
|
+
flex: 1;
|
|
3052
|
+
min-width: 0;
|
|
3053
|
+
gap: var(--spacing-1);
|
|
3054
|
+
}
|
|
3055
|
+
|
|
3056
|
+
/* Label */
|
|
3057
|
+
.muka-toggle__label {
|
|
3058
|
+
font-family: var(--text-label-lg-regular-fontFamily);
|
|
3059
|
+
font-weight: var(--text-label-lg-regular-fontWeight);
|
|
3060
|
+
font-size: var(--text-label-lg-regular-fontSize);
|
|
3061
|
+
line-height: var(--text-label-lg-regular-lineHeight);
|
|
3062
|
+
color: var(--color-text-default-default);
|
|
3063
|
+
cursor: pointer;
|
|
3064
|
+
}
|
|
3065
|
+
|
|
3066
|
+
.muka-toggle--with-caption .muka-toggle__label {
|
|
3067
|
+
font-family: var(--text-label-lg-semibold-fontFamily);
|
|
3068
|
+
font-weight: var(--text-label-lg-semibold-fontWeight);
|
|
3069
|
+
font-size: var(--text-label-lg-semibold-fontSize);
|
|
3070
|
+
line-height: var(--text-label-lg-semibold-lineHeight);
|
|
3071
|
+
}
|
|
3072
|
+
|
|
3073
|
+
.muka-toggle--disabled .muka-toggle__label {
|
|
3074
|
+
color: var(--color-text-subtle-default);
|
|
3075
|
+
cursor: not-allowed;
|
|
3076
|
+
}
|
|
3077
|
+
|
|
3078
|
+
/* Caption */
|
|
3079
|
+
.muka-toggle__caption {
|
|
3080
|
+
font-family: var(--text-body-base-regular-fontFamily);
|
|
3081
|
+
font-weight: var(--text-body-base-regular-fontWeight);
|
|
3082
|
+
font-size: var(--text-body-base-regular-fontSize);
|
|
3083
|
+
line-height: var(--text-body-base-regular-lineHeight);
|
|
3084
|
+
color: var(--color-text-subtle-default);
|
|
3085
|
+
}
|
|
3086
|
+
|
|
3087
|
+
/* Switch container */
|
|
3088
|
+
.muka-toggle__switch {
|
|
3089
|
+
position: relative;
|
|
3090
|
+
display: inline-flex;
|
|
3091
|
+
flex-shrink: 0;
|
|
3092
|
+
cursor: pointer;
|
|
3093
|
+
}
|
|
3094
|
+
|
|
3095
|
+
.muka-toggle--disabled .muka-toggle__switch {
|
|
3096
|
+
cursor: not-allowed;
|
|
3097
|
+
}
|
|
3098
|
+
|
|
3099
|
+
/* Hidden native input */
|
|
3100
|
+
.muka-toggle__input {
|
|
3101
|
+
position: absolute;
|
|
3102
|
+
width: 1px;
|
|
3103
|
+
height: 1px;
|
|
3104
|
+
padding: 0;
|
|
3105
|
+
margin: -1px;
|
|
3106
|
+
overflow: hidden;
|
|
3107
|
+
clip: rect(0, 0, 0, 0);
|
|
3108
|
+
white-space: nowrap;
|
|
3109
|
+
border: 0;
|
|
3110
|
+
}
|
|
3111
|
+
|
|
3112
|
+
/* Track (background pill) */
|
|
3113
|
+
.muka-toggle__track {
|
|
3114
|
+
display: flex;
|
|
3115
|
+
align-items: center;
|
|
3116
|
+
width: var(--toggle-track-width);
|
|
3117
|
+
height: var(--toggle-track-height);
|
|
3118
|
+
border-radius: var(--toggle-track-radius);
|
|
3119
|
+
background-color: var(--toggle-track-color-off);
|
|
3120
|
+
transition: background-color 0.2s ease;
|
|
3121
|
+
box-shadow: inset 0 1px 4px 0 rgba(0, 0, 0, 0.16);
|
|
3122
|
+
position: relative;
|
|
3123
|
+
}
|
|
3124
|
+
|
|
3125
|
+
/* Knob (sliding circle) */
|
|
3126
|
+
.muka-toggle__knob {
|
|
3127
|
+
position: absolute;
|
|
3128
|
+
width: var(--toggle-knob-size);
|
|
3129
|
+
height: var(--toggle-knob-size);
|
|
3130
|
+
border-radius: var(--border-radius-full);
|
|
3131
|
+
background-color: var(--toggle-knob-color-default);
|
|
3132
|
+
box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.1);
|
|
3133
|
+
left: var(--toggle-knob-offset);
|
|
3134
|
+
transition: left 0.2s ease, transform 0.2s ease;
|
|
3135
|
+
}
|
|
3136
|
+
|
|
3137
|
+
/* Focus state */
|
|
3138
|
+
.muka-toggle__input:focus-visible + .muka-toggle__track {
|
|
3139
|
+
outline: 2px solid var(--color-border-focus);
|
|
3140
|
+
outline-offset: 2px;
|
|
3141
|
+
}
|
|
3142
|
+
|
|
3143
|
+
/* Checked (on) state */
|
|
3144
|
+
.muka-toggle__input:checked + .muka-toggle__track {
|
|
3145
|
+
background-color: var(--toggle-track-color-on);
|
|
3146
|
+
}
|
|
3147
|
+
|
|
3148
|
+
.muka-toggle__input:checked + .muka-toggle__track .muka-toggle__knob {
|
|
3149
|
+
left: calc(var(--toggle-track-width) - var(--toggle-knob-size) - var(--toggle-knob-offset));
|
|
3150
|
+
}
|
|
3151
|
+
|
|
3152
|
+
/* Disabled state */
|
|
3153
|
+
.muka-toggle--disabled .muka-toggle__track {
|
|
3154
|
+
background-color: var(--toggle-track-color-disabled);
|
|
3155
|
+
box-shadow: none;
|
|
3156
|
+
}
|
|
3157
|
+
|
|
3158
|
+
.muka-toggle--disabled .muka-toggle__knob {
|
|
3159
|
+
background-color: var(--toggle-knob-color-disabled);
|
|
3160
|
+
box-shadow: none;
|
|
3161
|
+
}
|
|
3162
|
+
|
|
3163
|
+
/* Divider */
|
|
3164
|
+
.muka-toggle__divider {
|
|
3165
|
+
position: absolute;
|
|
3166
|
+
bottom: 0;
|
|
3167
|
+
left: 0;
|
|
3168
|
+
right: 0;
|
|
3169
|
+
height: 1px;
|
|
3170
|
+
background-color: var(--color-border-muted);
|
|
3171
|
+
}
|
|
3172
|
+
|
|
3173
|
+
|
|
3011
3174
|
/* Toast */
|
|
3012
3175
|
/* Toast Component Styles - Using Muka Design Tokens */
|
|
3013
3176
|
|
|
@@ -4180,220 +4343,57 @@ body {
|
|
|
4180
4343
|
}
|
|
4181
4344
|
|
|
4182
4345
|
|
|
4183
|
-
/*
|
|
4184
|
-
/*
|
|
4185
|
-
|
|
4186
|
-
/* Wrapper container */
|
|
4187
|
-
.muka-toggle {
|
|
4188
|
-
display: flex;
|
|
4189
|
-
align-items: center;
|
|
4190
|
-
gap: var(--spacing-2);
|
|
4191
|
-
position: relative;
|
|
4192
|
-
padding: var(--spacing-4) 0;
|
|
4193
|
-
}
|
|
4346
|
+
/* Table */
|
|
4347
|
+
/* Table Component Styles - Using Muka Design Tokens */
|
|
4194
4348
|
|
|
4195
|
-
|
|
4196
|
-
|
|
4197
|
-
|
|
4349
|
+
/* ========================================
|
|
4350
|
+
TABLE WRAPPER (Responsive)
|
|
4351
|
+
======================================== */
|
|
4198
4352
|
|
|
4199
|
-
.muka-
|
|
4200
|
-
|
|
4353
|
+
.muka-table-wrapper {
|
|
4354
|
+
width: 100%;
|
|
4355
|
+
overflow-x: auto;
|
|
4356
|
+
-webkit-overflow-scrolling: touch;
|
|
4201
4357
|
}
|
|
4202
4358
|
|
|
4203
|
-
/*
|
|
4204
|
-
|
|
4205
|
-
|
|
4206
|
-
align-items: center;
|
|
4207
|
-
justify-content: center;
|
|
4208
|
-
flex-shrink: 0;
|
|
4209
|
-
width: var(--icon-size-default);
|
|
4210
|
-
height: var(--icon-size-default);
|
|
4211
|
-
color: var(--color-text-default-default);
|
|
4212
|
-
}
|
|
4359
|
+
/* ========================================
|
|
4360
|
+
TABLE BASE
|
|
4361
|
+
======================================== */
|
|
4213
4362
|
|
|
4214
|
-
.muka-
|
|
4363
|
+
.muka-table {
|
|
4215
4364
|
width: 100%;
|
|
4216
|
-
|
|
4365
|
+
border-collapse: collapse;
|
|
4366
|
+
border-spacing: 0;
|
|
4367
|
+
font-family: var(--text-body-base-regular-fontFamily);
|
|
4368
|
+
font-size: var(--text-body-base-regular-fontSize);
|
|
4369
|
+
font-weight: var(--text-body-base-regular-fontWeight);
|
|
4370
|
+
line-height: var(--text-body-base-regular-lineHeight);
|
|
4371
|
+
color: var(--color-text-default-default);
|
|
4372
|
+
background-color: var(--color-surface-level3);
|
|
4217
4373
|
}
|
|
4218
4374
|
|
|
4219
|
-
|
|
4220
|
-
|
|
4221
|
-
display: flex;
|
|
4222
|
-
flex-direction: column;
|
|
4223
|
-
flex: 1;
|
|
4224
|
-
min-width: 0;
|
|
4225
|
-
gap: var(--spacing-1);
|
|
4375
|
+
.muka-table--fixed {
|
|
4376
|
+
table-layout: fixed;
|
|
4226
4377
|
}
|
|
4227
4378
|
|
|
4228
|
-
|
|
4229
|
-
|
|
4230
|
-
font-
|
|
4231
|
-
|
|
4232
|
-
font-size: var(--text-label-lg-regular-fontSize);
|
|
4233
|
-
line-height: var(--text-label-lg-regular-lineHeight);
|
|
4379
|
+
.muka-table__caption {
|
|
4380
|
+
padding: var(--spacing-3);
|
|
4381
|
+
font-weight: var(--text-label-md-semibold-fontWeight);
|
|
4382
|
+
text-align: left;
|
|
4234
4383
|
color: var(--color-text-default-default);
|
|
4235
|
-
|
|
4384
|
+
caption-side: top;
|
|
4236
4385
|
}
|
|
4237
4386
|
|
|
4238
|
-
|
|
4239
|
-
|
|
4240
|
-
|
|
4241
|
-
font-size: var(--text-label-lg-semibold-fontSize);
|
|
4242
|
-
line-height: var(--text-label-lg-semibold-lineHeight);
|
|
4243
|
-
}
|
|
4387
|
+
/* ========================================
|
|
4388
|
+
TABLE HEAD
|
|
4389
|
+
======================================== */
|
|
4244
4390
|
|
|
4245
|
-
.muka-
|
|
4246
|
-
|
|
4247
|
-
cursor: not-allowed;
|
|
4391
|
+
.muka-table__head {
|
|
4392
|
+
border-bottom: var(--border-width-regular) solid var(--color-border-default);
|
|
4248
4393
|
}
|
|
4249
4394
|
|
|
4250
|
-
|
|
4251
|
-
|
|
4252
|
-
font-family: var(--text-body-base-regular-fontFamily);
|
|
4253
|
-
font-weight: var(--text-body-base-regular-fontWeight);
|
|
4254
|
-
font-size: var(--text-body-base-regular-fontSize);
|
|
4255
|
-
line-height: var(--text-body-base-regular-lineHeight);
|
|
4256
|
-
color: var(--color-text-subtle-default);
|
|
4257
|
-
}
|
|
4258
|
-
|
|
4259
|
-
/* Switch container */
|
|
4260
|
-
.muka-toggle__switch {
|
|
4261
|
-
position: relative;
|
|
4262
|
-
display: inline-flex;
|
|
4263
|
-
flex-shrink: 0;
|
|
4264
|
-
cursor: pointer;
|
|
4265
|
-
}
|
|
4266
|
-
|
|
4267
|
-
.muka-toggle--disabled .muka-toggle__switch {
|
|
4268
|
-
cursor: not-allowed;
|
|
4269
|
-
}
|
|
4270
|
-
|
|
4271
|
-
/* Hidden native input */
|
|
4272
|
-
.muka-toggle__input {
|
|
4273
|
-
position: absolute;
|
|
4274
|
-
width: 1px;
|
|
4275
|
-
height: 1px;
|
|
4276
|
-
padding: 0;
|
|
4277
|
-
margin: -1px;
|
|
4278
|
-
overflow: hidden;
|
|
4279
|
-
clip: rect(0, 0, 0, 0);
|
|
4280
|
-
white-space: nowrap;
|
|
4281
|
-
border: 0;
|
|
4282
|
-
}
|
|
4283
|
-
|
|
4284
|
-
/* Track (background pill) */
|
|
4285
|
-
.muka-toggle__track {
|
|
4286
|
-
display: flex;
|
|
4287
|
-
align-items: center;
|
|
4288
|
-
width: var(--toggle-track-width);
|
|
4289
|
-
height: var(--toggle-track-height);
|
|
4290
|
-
border-radius: var(--toggle-track-radius);
|
|
4291
|
-
background-color: var(--toggle-track-color-off);
|
|
4292
|
-
transition: background-color 0.2s ease;
|
|
4293
|
-
box-shadow: inset 0 1px 4px 0 rgba(0, 0, 0, 0.16);
|
|
4294
|
-
position: relative;
|
|
4295
|
-
}
|
|
4296
|
-
|
|
4297
|
-
/* Knob (sliding circle) */
|
|
4298
|
-
.muka-toggle__knob {
|
|
4299
|
-
position: absolute;
|
|
4300
|
-
width: var(--toggle-knob-size);
|
|
4301
|
-
height: var(--toggle-knob-size);
|
|
4302
|
-
border-radius: var(--border-radius-full);
|
|
4303
|
-
background-color: var(--toggle-knob-color-default);
|
|
4304
|
-
box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.1);
|
|
4305
|
-
left: var(--toggle-knob-offset);
|
|
4306
|
-
transition: left 0.2s ease, transform 0.2s ease;
|
|
4307
|
-
}
|
|
4308
|
-
|
|
4309
|
-
/* Focus state */
|
|
4310
|
-
.muka-toggle__input:focus-visible + .muka-toggle__track {
|
|
4311
|
-
outline: 2px solid var(--color-border-focus);
|
|
4312
|
-
outline-offset: 2px;
|
|
4313
|
-
}
|
|
4314
|
-
|
|
4315
|
-
/* Checked (on) state */
|
|
4316
|
-
.muka-toggle__input:checked + .muka-toggle__track {
|
|
4317
|
-
background-color: var(--toggle-track-color-on);
|
|
4318
|
-
}
|
|
4319
|
-
|
|
4320
|
-
.muka-toggle__input:checked + .muka-toggle__track .muka-toggle__knob {
|
|
4321
|
-
left: calc(var(--toggle-track-width) - var(--toggle-knob-size) - var(--toggle-knob-offset));
|
|
4322
|
-
}
|
|
4323
|
-
|
|
4324
|
-
/* Disabled state */
|
|
4325
|
-
.muka-toggle--disabled .muka-toggle__track {
|
|
4326
|
-
background-color: var(--toggle-track-color-disabled);
|
|
4327
|
-
box-shadow: none;
|
|
4328
|
-
}
|
|
4329
|
-
|
|
4330
|
-
.muka-toggle--disabled .muka-toggle__knob {
|
|
4331
|
-
background-color: var(--toggle-knob-color-disabled);
|
|
4332
|
-
box-shadow: none;
|
|
4333
|
-
}
|
|
4334
|
-
|
|
4335
|
-
/* Divider */
|
|
4336
|
-
.muka-toggle__divider {
|
|
4337
|
-
position: absolute;
|
|
4338
|
-
bottom: 0;
|
|
4339
|
-
left: 0;
|
|
4340
|
-
right: 0;
|
|
4341
|
-
height: 1px;
|
|
4342
|
-
background-color: var(--color-border-muted);
|
|
4343
|
-
}
|
|
4344
|
-
|
|
4345
|
-
|
|
4346
|
-
/* Table */
|
|
4347
|
-
/* Table Component Styles - Using Muka Design Tokens */
|
|
4348
|
-
|
|
4349
|
-
/* ========================================
|
|
4350
|
-
TABLE WRAPPER (Responsive)
|
|
4351
|
-
======================================== */
|
|
4352
|
-
|
|
4353
|
-
.muka-table-wrapper {
|
|
4354
|
-
width: 100%;
|
|
4355
|
-
overflow-x: auto;
|
|
4356
|
-
-webkit-overflow-scrolling: touch;
|
|
4357
|
-
}
|
|
4358
|
-
|
|
4359
|
-
/* ========================================
|
|
4360
|
-
TABLE BASE
|
|
4361
|
-
======================================== */
|
|
4362
|
-
|
|
4363
|
-
.muka-table {
|
|
4364
|
-
width: 100%;
|
|
4365
|
-
border-collapse: collapse;
|
|
4366
|
-
border-spacing: 0;
|
|
4367
|
-
font-family: var(--text-body-base-regular-fontFamily);
|
|
4368
|
-
font-size: var(--text-body-base-regular-fontSize);
|
|
4369
|
-
font-weight: var(--text-body-base-regular-fontWeight);
|
|
4370
|
-
line-height: var(--text-body-base-regular-lineHeight);
|
|
4371
|
-
color: var(--color-text-default-default);
|
|
4372
|
-
background-color: var(--color-surface-level3);
|
|
4373
|
-
}
|
|
4374
|
-
|
|
4375
|
-
.muka-table--fixed {
|
|
4376
|
-
table-layout: fixed;
|
|
4377
|
-
}
|
|
4378
|
-
|
|
4379
|
-
.muka-table__caption {
|
|
4380
|
-
padding: var(--spacing-3);
|
|
4381
|
-
font-weight: var(--text-label-md-semibold-fontWeight);
|
|
4382
|
-
text-align: left;
|
|
4383
|
-
color: var(--color-text-default-default);
|
|
4384
|
-
caption-side: top;
|
|
4385
|
-
}
|
|
4386
|
-
|
|
4387
|
-
/* ========================================
|
|
4388
|
-
TABLE HEAD
|
|
4389
|
-
======================================== */
|
|
4390
|
-
|
|
4391
|
-
.muka-table__head {
|
|
4392
|
-
border-bottom: var(--border-width-regular) solid var(--color-border-default);
|
|
4393
|
-
}
|
|
4394
|
-
|
|
4395
|
-
.muka-table__head .muka-table__row {
|
|
4396
|
-
background-color: var(--color-surface-level0);
|
|
4395
|
+
.muka-table__head .muka-table__row {
|
|
4396
|
+
background-color: var(--color-surface-level0);
|
|
4397
4397
|
}
|
|
4398
4398
|
|
|
4399
4399
|
/* Plain (MUK-103): no tint; small subtle capitals under a section heading. */
|
|
@@ -15886,72 +15886,6 @@ button.muka-chat-photo-grid__tile:focus-visible {
|
|
|
15886
15886
|
}
|
|
15887
15887
|
|
|
15888
15888
|
|
|
15889
|
-
/* Autocomplete */
|
|
15890
|
-
/* Autocomplete — Figma Input Autocomplete (Input field + single-line suggestion Menu).
|
|
15891
|
-
The field reuses the Input styles (.muka-input*); only the menu wiring lives here. */
|
|
15892
|
-
|
|
15893
|
-
.muka-autocomplete {
|
|
15894
|
-
min-width: 200px;
|
|
15895
|
-
}
|
|
15896
|
-
|
|
15897
|
-
/* Covers the field's outer edge so the menu matches its full width. The menu
|
|
15898
|
-
is only open while focused, when the field has the bold border. */
|
|
15899
|
-
.muka-autocomplete__menu-anchor {
|
|
15900
|
-
position: absolute;
|
|
15901
|
-
inset: calc(-1 * var(--border-width-bold));
|
|
15902
|
-
z-index: 0;
|
|
15903
|
-
margin: 0;
|
|
15904
|
-
padding: 0;
|
|
15905
|
-
border: none;
|
|
15906
|
-
background: transparent;
|
|
15907
|
-
pointer-events: none;
|
|
15908
|
-
opacity: 0;
|
|
15909
|
-
}
|
|
15910
|
-
|
|
15911
|
-
/* Keep the field content above the invisible anchor. */
|
|
15912
|
-
.muka-autocomplete__field > :not(.muka-autocomplete__menu-anchor) {
|
|
15913
|
-
position: relative;
|
|
15914
|
-
z-index: 1;
|
|
15915
|
-
}
|
|
15916
|
-
|
|
15917
|
-
/* Figma: the menu is as wide as the field (never below the menu min-width token). */
|
|
15918
|
-
.muka-autocomplete__menu {
|
|
15919
|
-
width: var(--radix-dropdown-menu-trigger-width);
|
|
15920
|
-
max-width: calc(100vw - 2rem);
|
|
15921
|
-
}
|
|
15922
|
-
|
|
15923
|
-
/* Suggestions are single-line; long labels truncate. */
|
|
15924
|
-
.muka-autocomplete__menu .muka-menu__item-label {
|
|
15925
|
-
overflow: hidden;
|
|
15926
|
-
text-overflow: ellipsis;
|
|
15927
|
-
}
|
|
15928
|
-
|
|
15929
|
-
/* Loading and empty rows: menu-row geometry, not selectable. */
|
|
15930
|
-
.muka-autocomplete__status {
|
|
15931
|
-
display: flex;
|
|
15932
|
-
align-items: center;
|
|
15933
|
-
gap: var(--menu-item-gap);
|
|
15934
|
-
min-height: var(--menu-item-height);
|
|
15935
|
-
padding: var(--menu-item-padding-y) var(--menu-item-padding-x);
|
|
15936
|
-
color: var(--color-text-subtle-default);
|
|
15937
|
-
font-family: var(--text-label-md-regular-fontFamily);
|
|
15938
|
-
font-size: var(--text-label-md-regular-fontSize);
|
|
15939
|
-
font-weight: var(--text-label-md-regular-fontWeight);
|
|
15940
|
-
line-height: var(--text-label-md-regular-lineHeight);
|
|
15941
|
-
}
|
|
15942
|
-
|
|
15943
|
-
.muka-autocomplete__footer {
|
|
15944
|
-
flex-shrink: 0;
|
|
15945
|
-
padding: var(--spacing-2) var(--spacing-3);
|
|
15946
|
-
border-top: var(--border-width-regular) solid var(--color-border-default);
|
|
15947
|
-
color: var(--color-text-subtle-default);
|
|
15948
|
-
font-family: var(--text-label-sm-regular-fontFamily);
|
|
15949
|
-
font-size: var(--text-label-sm-regular-fontSize);
|
|
15950
|
-
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
15951
|
-
line-height: var(--text-label-sm-regular-lineHeight);
|
|
15952
|
-
}
|
|
15953
|
-
|
|
15954
|
-
|
|
15955
15889
|
/* Avatar */
|
|
15956
15890
|
/* Avatar Component Styles - Using Muka Design Tokens */
|
|
15957
15891
|
|
|
@@ -16304,6 +16238,168 @@ button.muka-chat-photo-grid__tile:focus-visible {
|
|
|
16304
16238
|
}
|
|
16305
16239
|
|
|
16306
16240
|
|
|
16241
|
+
/* Autocomplete */
|
|
16242
|
+
/* Autocomplete — Figma Input Autocomplete (Input field + single-line suggestion Menu).
|
|
16243
|
+
The field reuses the Input styles (.muka-input*); only the menu wiring lives here. */
|
|
16244
|
+
|
|
16245
|
+
.muka-autocomplete {
|
|
16246
|
+
min-width: 200px;
|
|
16247
|
+
}
|
|
16248
|
+
|
|
16249
|
+
/* Covers the field's outer edge so the menu matches its full width. The menu
|
|
16250
|
+
is only open while focused, when the field has the bold border. */
|
|
16251
|
+
.muka-autocomplete__menu-anchor {
|
|
16252
|
+
position: absolute;
|
|
16253
|
+
inset: calc(-1 * var(--border-width-bold));
|
|
16254
|
+
z-index: 0;
|
|
16255
|
+
margin: 0;
|
|
16256
|
+
padding: 0;
|
|
16257
|
+
border: none;
|
|
16258
|
+
background: transparent;
|
|
16259
|
+
pointer-events: none;
|
|
16260
|
+
opacity: 0;
|
|
16261
|
+
}
|
|
16262
|
+
|
|
16263
|
+
/* Keep the field content above the invisible anchor. */
|
|
16264
|
+
.muka-autocomplete__field > :not(.muka-autocomplete__menu-anchor) {
|
|
16265
|
+
position: relative;
|
|
16266
|
+
z-index: 1;
|
|
16267
|
+
}
|
|
16268
|
+
|
|
16269
|
+
/* Figma: the menu is as wide as the field (never below the menu min-width token). */
|
|
16270
|
+
.muka-autocomplete__menu {
|
|
16271
|
+
width: var(--radix-dropdown-menu-trigger-width);
|
|
16272
|
+
max-width: calc(100vw - 2rem);
|
|
16273
|
+
}
|
|
16274
|
+
|
|
16275
|
+
/* Suggestions are single-line; long labels truncate. */
|
|
16276
|
+
.muka-autocomplete__menu .muka-menu__item-label {
|
|
16277
|
+
overflow: hidden;
|
|
16278
|
+
text-overflow: ellipsis;
|
|
16279
|
+
}
|
|
16280
|
+
|
|
16281
|
+
/* Loading and empty rows: menu-row geometry, not selectable. */
|
|
16282
|
+
.muka-autocomplete__status {
|
|
16283
|
+
display: flex;
|
|
16284
|
+
align-items: center;
|
|
16285
|
+
gap: var(--menu-item-gap);
|
|
16286
|
+
min-height: var(--menu-item-height);
|
|
16287
|
+
padding: var(--menu-item-padding-y) var(--menu-item-padding-x);
|
|
16288
|
+
color: var(--color-text-subtle-default);
|
|
16289
|
+
font-family: var(--text-label-md-regular-fontFamily);
|
|
16290
|
+
font-size: var(--text-label-md-regular-fontSize);
|
|
16291
|
+
font-weight: var(--text-label-md-regular-fontWeight);
|
|
16292
|
+
line-height: var(--text-label-md-regular-lineHeight);
|
|
16293
|
+
}
|
|
16294
|
+
|
|
16295
|
+
.muka-autocomplete__footer {
|
|
16296
|
+
flex-shrink: 0;
|
|
16297
|
+
padding: var(--spacing-2) var(--spacing-3);
|
|
16298
|
+
border-top: var(--border-width-regular) solid var(--color-border-default);
|
|
16299
|
+
color: var(--color-text-subtle-default);
|
|
16300
|
+
font-family: var(--text-label-sm-regular-fontFamily);
|
|
16301
|
+
font-size: var(--text-label-sm-regular-fontSize);
|
|
16302
|
+
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
16303
|
+
line-height: var(--text-label-sm-regular-lineHeight);
|
|
16304
|
+
}
|
|
16305
|
+
|
|
16306
|
+
|
|
16307
|
+
/* AppShell */
|
|
16308
|
+
/* AppShell Component Styles */
|
|
16309
|
+
|
|
16310
|
+
/*
|
|
16311
|
+
* Layout wrapper for a persistent left navigation rail + main view area, with an
|
|
16312
|
+
* optional full-width top app bar. The rail itself is styled by the BottomBar
|
|
16313
|
+
* `desktopAs="sidebar"` rules (fixed 240px left rail at ≥1024px); AppShell shows/
|
|
16314
|
+
* hides the sidebar + app-bar slots and offsets the main area to match. Both
|
|
16315
|
+
* appear at the large tier — responsively (no `size`, scoped with
|
|
16316
|
+
* `:not([data-size])`) or forced via `[data-size="lg"]`.
|
|
16317
|
+
*/
|
|
16318
|
+
.muka-app-shell {
|
|
16319
|
+
position: relative;
|
|
16320
|
+
/* Reserved width for the rail; matches BottomBar's desktop-sidebar width. */
|
|
16321
|
+
--app-shell-sidebar-width: 240px;
|
|
16322
|
+
/* Height of the optional top app bar. */
|
|
16323
|
+
--app-shell-appbar-height: 64px;
|
|
16324
|
+
}
|
|
16325
|
+
|
|
16326
|
+
/* Sidebar slot: hidden below the large tier (per-view nav handles small/medium). */
|
|
16327
|
+
.muka-app-shell__sidebar {
|
|
16328
|
+
display: none;
|
|
16329
|
+
}
|
|
16330
|
+
|
|
16331
|
+
.muka-app-shell__main {
|
|
16332
|
+
min-height: 100dvh;
|
|
16333
|
+
}
|
|
16334
|
+
|
|
16335
|
+
/*
|
|
16336
|
+
* App bar: full-width top strip. Intrinsic styling lives here (harmless while
|
|
16337
|
+
* hidden); it is revealed only at the large tier. Sits above the sidebar rail.
|
|
16338
|
+
*/
|
|
16339
|
+
.muka-app-shell__appbar {
|
|
16340
|
+
display: none;
|
|
16341
|
+
align-items: center;
|
|
16342
|
+
justify-content: space-between;
|
|
16343
|
+
gap: var(--spacing-4);
|
|
16344
|
+
position: fixed;
|
|
16345
|
+
top: 0;
|
|
16346
|
+
left: 0;
|
|
16347
|
+
right: 0;
|
|
16348
|
+
height: var(--app-shell-appbar-height);
|
|
16349
|
+
padding-inline: var(--spacing-4);
|
|
16350
|
+
background-color: var(--color-surface-level3);
|
|
16351
|
+
border-bottom: var(--border-width-regular) solid var(--color-border-default);
|
|
16352
|
+
z-index: 11; /* above the sidebar rail (z-index 10) */
|
|
16353
|
+
}
|
|
16354
|
+
|
|
16355
|
+
/* ─── Large tier (responsive) ─── */
|
|
16356
|
+
@media (min-width: 1024px) {
|
|
16357
|
+
.muka-app-shell:not([data-size]) .muka-app-shell__sidebar {
|
|
16358
|
+
display: block;
|
|
16359
|
+
}
|
|
16360
|
+
.muka-app-shell:not([data-size]) .muka-app-shell__main {
|
|
16361
|
+
padding-left: var(--app-shell-sidebar-width);
|
|
16362
|
+
}
|
|
16363
|
+
.muka-app-shell:not([data-size]) .muka-app-shell__appbar {
|
|
16364
|
+
display: flex;
|
|
16365
|
+
}
|
|
16366
|
+
/* When an app bar is present, drop the rail + content below it so nothing overlaps. */
|
|
16367
|
+
.muka-app-shell:not([data-size]):has(.muka-app-shell__appbar) .muka-app-shell__main {
|
|
16368
|
+
padding-top: var(--app-shell-appbar-height);
|
|
16369
|
+
}
|
|
16370
|
+
.muka-app-shell:not([data-size]):has(.muka-app-shell__appbar) .muka-bottombar--desktop-sidebar {
|
|
16371
|
+
top: var(--app-shell-appbar-height);
|
|
16372
|
+
height: calc(100vh - var(--app-shell-appbar-height));
|
|
16373
|
+
}
|
|
16374
|
+
.muka-app-shell:not([data-size]):has(.muka-app-shell__appbar) .muka-view,
|
|
16375
|
+
.muka-app-shell:not([data-size]):has(.muka-app-shell__appbar) .muka-nav-transition {
|
|
16376
|
+
height: calc(100dvh - var(--app-shell-appbar-height));
|
|
16377
|
+
}
|
|
16378
|
+
}
|
|
16379
|
+
|
|
16380
|
+
/* ─── Large tier (forced via size="lg") ─── */
|
|
16381
|
+
.muka-app-shell[data-size='lg'] .muka-app-shell__sidebar {
|
|
16382
|
+
display: block;
|
|
16383
|
+
}
|
|
16384
|
+
.muka-app-shell[data-size='lg'] .muka-app-shell__main {
|
|
16385
|
+
padding-left: var(--app-shell-sidebar-width);
|
|
16386
|
+
}
|
|
16387
|
+
.muka-app-shell[data-size='lg'] .muka-app-shell__appbar {
|
|
16388
|
+
display: flex;
|
|
16389
|
+
}
|
|
16390
|
+
.muka-app-shell[data-size='lg']:has(.muka-app-shell__appbar) .muka-app-shell__main {
|
|
16391
|
+
padding-top: var(--app-shell-appbar-height);
|
|
16392
|
+
}
|
|
16393
|
+
.muka-app-shell[data-size='lg']:has(.muka-app-shell__appbar) .muka-bottombar--desktop-sidebar {
|
|
16394
|
+
top: var(--app-shell-appbar-height);
|
|
16395
|
+
height: calc(100vh - var(--app-shell-appbar-height));
|
|
16396
|
+
}
|
|
16397
|
+
.muka-app-shell[data-size='lg']:has(.muka-app-shell__appbar) .muka-view,
|
|
16398
|
+
.muka-app-shell[data-size='lg']:has(.muka-app-shell__appbar) .muka-nav-transition {
|
|
16399
|
+
height: calc(100dvh - var(--app-shell-appbar-height));
|
|
16400
|
+
}
|
|
16401
|
+
|
|
16402
|
+
|
|
16307
16403
|
/* Alert */
|
|
16308
16404
|
/* Alert Component Styles - Using Muka Design Tokens */
|
|
16309
16405
|
|
|
@@ -16515,102 +16611,6 @@ button.muka-chat-photo-grid__tile:focus-visible {
|
|
|
16515
16611
|
}
|
|
16516
16612
|
|
|
16517
16613
|
|
|
16518
|
-
/* AppShell */
|
|
16519
|
-
/* AppShell Component Styles */
|
|
16520
|
-
|
|
16521
|
-
/*
|
|
16522
|
-
* Layout wrapper for a persistent left navigation rail + main view area, with an
|
|
16523
|
-
* optional full-width top app bar. The rail itself is styled by the BottomBar
|
|
16524
|
-
* `desktopAs="sidebar"` rules (fixed 240px left rail at ≥1024px); AppShell shows/
|
|
16525
|
-
* hides the sidebar + app-bar slots and offsets the main area to match. Both
|
|
16526
|
-
* appear at the large tier — responsively (no `size`, scoped with
|
|
16527
|
-
* `:not([data-size])`) or forced via `[data-size="lg"]`.
|
|
16528
|
-
*/
|
|
16529
|
-
.muka-app-shell {
|
|
16530
|
-
position: relative;
|
|
16531
|
-
/* Reserved width for the rail; matches BottomBar's desktop-sidebar width. */
|
|
16532
|
-
--app-shell-sidebar-width: 240px;
|
|
16533
|
-
/* Height of the optional top app bar. */
|
|
16534
|
-
--app-shell-appbar-height: 64px;
|
|
16535
|
-
}
|
|
16536
|
-
|
|
16537
|
-
/* Sidebar slot: hidden below the large tier (per-view nav handles small/medium). */
|
|
16538
|
-
.muka-app-shell__sidebar {
|
|
16539
|
-
display: none;
|
|
16540
|
-
}
|
|
16541
|
-
|
|
16542
|
-
.muka-app-shell__main {
|
|
16543
|
-
min-height: 100dvh;
|
|
16544
|
-
}
|
|
16545
|
-
|
|
16546
|
-
/*
|
|
16547
|
-
* App bar: full-width top strip. Intrinsic styling lives here (harmless while
|
|
16548
|
-
* hidden); it is revealed only at the large tier. Sits above the sidebar rail.
|
|
16549
|
-
*/
|
|
16550
|
-
.muka-app-shell__appbar {
|
|
16551
|
-
display: none;
|
|
16552
|
-
align-items: center;
|
|
16553
|
-
justify-content: space-between;
|
|
16554
|
-
gap: var(--spacing-4);
|
|
16555
|
-
position: fixed;
|
|
16556
|
-
top: 0;
|
|
16557
|
-
left: 0;
|
|
16558
|
-
right: 0;
|
|
16559
|
-
height: var(--app-shell-appbar-height);
|
|
16560
|
-
padding-inline: var(--spacing-4);
|
|
16561
|
-
background-color: var(--color-surface-level3);
|
|
16562
|
-
border-bottom: var(--border-width-regular) solid var(--color-border-default);
|
|
16563
|
-
z-index: 11; /* above the sidebar rail (z-index 10) */
|
|
16564
|
-
}
|
|
16565
|
-
|
|
16566
|
-
/* ─── Large tier (responsive) ─── */
|
|
16567
|
-
@media (min-width: 1024px) {
|
|
16568
|
-
.muka-app-shell:not([data-size]) .muka-app-shell__sidebar {
|
|
16569
|
-
display: block;
|
|
16570
|
-
}
|
|
16571
|
-
.muka-app-shell:not([data-size]) .muka-app-shell__main {
|
|
16572
|
-
padding-left: var(--app-shell-sidebar-width);
|
|
16573
|
-
}
|
|
16574
|
-
.muka-app-shell:not([data-size]) .muka-app-shell__appbar {
|
|
16575
|
-
display: flex;
|
|
16576
|
-
}
|
|
16577
|
-
/* When an app bar is present, drop the rail + content below it so nothing overlaps. */
|
|
16578
|
-
.muka-app-shell:not([data-size]):has(.muka-app-shell__appbar) .muka-app-shell__main {
|
|
16579
|
-
padding-top: var(--app-shell-appbar-height);
|
|
16580
|
-
}
|
|
16581
|
-
.muka-app-shell:not([data-size]):has(.muka-app-shell__appbar) .muka-bottombar--desktop-sidebar {
|
|
16582
|
-
top: var(--app-shell-appbar-height);
|
|
16583
|
-
height: calc(100vh - var(--app-shell-appbar-height));
|
|
16584
|
-
}
|
|
16585
|
-
.muka-app-shell:not([data-size]):has(.muka-app-shell__appbar) .muka-view,
|
|
16586
|
-
.muka-app-shell:not([data-size]):has(.muka-app-shell__appbar) .muka-nav-transition {
|
|
16587
|
-
height: calc(100dvh - var(--app-shell-appbar-height));
|
|
16588
|
-
}
|
|
16589
|
-
}
|
|
16590
|
-
|
|
16591
|
-
/* ─── Large tier (forced via size="lg") ─── */
|
|
16592
|
-
.muka-app-shell[data-size='lg'] .muka-app-shell__sidebar {
|
|
16593
|
-
display: block;
|
|
16594
|
-
}
|
|
16595
|
-
.muka-app-shell[data-size='lg'] .muka-app-shell__main {
|
|
16596
|
-
padding-left: var(--app-shell-sidebar-width);
|
|
16597
|
-
}
|
|
16598
|
-
.muka-app-shell[data-size='lg'] .muka-app-shell__appbar {
|
|
16599
|
-
display: flex;
|
|
16600
|
-
}
|
|
16601
|
-
.muka-app-shell[data-size='lg']:has(.muka-app-shell__appbar) .muka-app-shell__main {
|
|
16602
|
-
padding-top: var(--app-shell-appbar-height);
|
|
16603
|
-
}
|
|
16604
|
-
.muka-app-shell[data-size='lg']:has(.muka-app-shell__appbar) .muka-bottombar--desktop-sidebar {
|
|
16605
|
-
top: var(--app-shell-appbar-height);
|
|
16606
|
-
height: calc(100vh - var(--app-shell-appbar-height));
|
|
16607
|
-
}
|
|
16608
|
-
.muka-app-shell[data-size='lg']:has(.muka-app-shell__appbar) .muka-view,
|
|
16609
|
-
.muka-app-shell[data-size='lg']:has(.muka-app-shell__appbar) .muka-nav-transition {
|
|
16610
|
-
height: calc(100dvh - var(--app-shell-appbar-height));
|
|
16611
|
-
}
|
|
16612
|
-
|
|
16613
|
-
|
|
16614
16614
|
/* AgentTaskList */
|
|
16615
16615
|
/* AgentTaskList Component Styles */
|
|
16616
16616
|
|