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