@revikornmann/muka-ui 0.45.2 → 0.46.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/components/ChatComposer/ChatComposer.css +8 -0
- package/dist/cjs/components/ChatComposer/ChatComposer.js +2 -2
- package/dist/cjs/components/ChatComposer/ChatComposer.js.map +1 -1
- package/dist/esm/components/ChatComposer/ChatComposer.css +8 -0
- package/dist/esm/components/ChatComposer/ChatComposer.js +2 -2
- package/dist/esm/components/ChatComposer/ChatComposer.js.map +1 -1
- package/dist/styles/components/ChatComposer.css +8 -0
- package/dist/styles/index.css +803 -795
- package/dist/styles/muka-dark.css +803 -795
- package/dist/styles/muka-light.css +803 -795
- package/dist/styles/wireframe-dark.css +803 -795
- package/dist/styles/wireframe-light.css +803 -795
- package/dist/types/components/ChatComposer/ChatComposer.d.ts +7 -1
- package/dist/types/components/ChatComposer/ChatComposer.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/styles/index.css
CHANGED
|
@@ -3774,6 +3774,191 @@ body {
|
|
|
3774
3774
|
}
|
|
3775
3775
|
|
|
3776
3776
|
|
|
3777
|
+
/* Thumbnail */
|
|
3778
|
+
/* Thumbnail Component Styles - Using Muka Design Tokens */
|
|
3779
|
+
|
|
3780
|
+
.muka-thumbnail {
|
|
3781
|
+
position: relative;
|
|
3782
|
+
flex-shrink: 0;
|
|
3783
|
+
}
|
|
3784
|
+
|
|
3785
|
+
/* The frame carries the border, background and shape clip. Keeping it separate
|
|
3786
|
+
from the root lets the remove (×) button sit outside the clip (needed for the
|
|
3787
|
+
circular/ellipse shape, whose corners would otherwise clip the button). */
|
|
3788
|
+
.muka-thumbnail__frame {
|
|
3789
|
+
position: absolute;
|
|
3790
|
+
inset: 0;
|
|
3791
|
+
overflow: hidden;
|
|
3792
|
+
border: var(--border-width-regular, 1px) solid var(--color-black-alpha-3);
|
|
3793
|
+
border-radius: var(--border-radius-lg);
|
|
3794
|
+
background-color: var(--color-surface-level1);
|
|
3795
|
+
}
|
|
3796
|
+
|
|
3797
|
+
/* ─── Shapes ──────────────────────────────────────────── */
|
|
3798
|
+
.muka-thumbnail--4-3 {
|
|
3799
|
+
width: 160px;
|
|
3800
|
+
height: 120px;
|
|
3801
|
+
}
|
|
3802
|
+
|
|
3803
|
+
.muka-thumbnail--1-1 {
|
|
3804
|
+
width: 120px;
|
|
3805
|
+
height: 120px;
|
|
3806
|
+
}
|
|
3807
|
+
|
|
3808
|
+
.muka-thumbnail--ellipse {
|
|
3809
|
+
width: 120px;
|
|
3810
|
+
height: 120px;
|
|
3811
|
+
}
|
|
3812
|
+
|
|
3813
|
+
/* Fluid: fill the parent's width; the shape sets the height via aspect-ratio. */
|
|
3814
|
+
.muka-thumbnail--fluid {
|
|
3815
|
+
width: 100%;
|
|
3816
|
+
height: auto;
|
|
3817
|
+
aspect-ratio: 1 / 1;
|
|
3818
|
+
}
|
|
3819
|
+
|
|
3820
|
+
.muka-thumbnail--fluid.muka-thumbnail--4-3 {
|
|
3821
|
+
aspect-ratio: 4 / 3;
|
|
3822
|
+
}
|
|
3823
|
+
|
|
3824
|
+
.muka-thumbnail--ellipse .muka-thumbnail__frame {
|
|
3825
|
+
border-radius: var(--border-radius-full);
|
|
3826
|
+
}
|
|
3827
|
+
|
|
3828
|
+
/* Image fills the frame, cropped to cover. Sits at scale(1) by default so the
|
|
3829
|
+
interactive hover zoom has a clean origin. */
|
|
3830
|
+
.muka-thumbnail__image {
|
|
3831
|
+
position: absolute;
|
|
3832
|
+
inset: 0;
|
|
3833
|
+
width: 100%;
|
|
3834
|
+
height: 100%;
|
|
3835
|
+
object-fit: cover;
|
|
3836
|
+
display: block;
|
|
3837
|
+
transform-origin: center;
|
|
3838
|
+
/* Micro-interaction: hover zoom eases out over the "micro" duration. */
|
|
3839
|
+
transition: transform var(--motion-duration-micro) var(--motion-easing-enter);
|
|
3840
|
+
}
|
|
3841
|
+
|
|
3842
|
+
/* ─── Interactive (click-to-enlarge) ──────────────────── */
|
|
3843
|
+
.muka-thumbnail__trigger {
|
|
3844
|
+
position: absolute;
|
|
3845
|
+
inset: 0;
|
|
3846
|
+
padding: 0;
|
|
3847
|
+
border: 0;
|
|
3848
|
+
background: none;
|
|
3849
|
+
cursor: pointer;
|
|
3850
|
+
overflow: hidden;
|
|
3851
|
+
}
|
|
3852
|
+
|
|
3853
|
+
.muka-thumbnail__trigger:focus-visible {
|
|
3854
|
+
outline: 2px solid var(--color-border-focus);
|
|
3855
|
+
outline-offset: -2px;
|
|
3856
|
+
}
|
|
3857
|
+
|
|
3858
|
+
/* On hover the image scales up ~8px (160px → 168px) with an ease-out feel. */
|
|
3859
|
+
.muka-thumbnail--interactive:hover .muka-thumbnail__image {
|
|
3860
|
+
transform: scale(1.05);
|
|
3861
|
+
}
|
|
3862
|
+
|
|
3863
|
+
/* ─── Loading overlay + progress donut ────────────────── */
|
|
3864
|
+
.muka-thumbnail__overlay {
|
|
3865
|
+
position: absolute;
|
|
3866
|
+
inset: 0;
|
|
3867
|
+
display: flex;
|
|
3868
|
+
align-items: center;
|
|
3869
|
+
justify-content: center;
|
|
3870
|
+
background-color: var(--dialog-color-backdrop);
|
|
3871
|
+
}
|
|
3872
|
+
|
|
3873
|
+
.muka-thumbnail__progress {
|
|
3874
|
+
width: 40px;
|
|
3875
|
+
height: 40px;
|
|
3876
|
+
}
|
|
3877
|
+
|
|
3878
|
+
/* ─── Error / corrupt state ───────────────────────────── */
|
|
3879
|
+
.muka-thumbnail--error .muka-thumbnail__frame {
|
|
3880
|
+
background-color: var(--alias-color-state-error-muted);
|
|
3881
|
+
border-color: var(--alias-color-state-error-default);
|
|
3882
|
+
}
|
|
3883
|
+
|
|
3884
|
+
.muka-thumbnail__error {
|
|
3885
|
+
position: absolute;
|
|
3886
|
+
inset: 0;
|
|
3887
|
+
display: flex;
|
|
3888
|
+
flex-direction: column;
|
|
3889
|
+
align-items: center;
|
|
3890
|
+
justify-content: center;
|
|
3891
|
+
gap: var(--spacing-2);
|
|
3892
|
+
padding: var(--spacing-3);
|
|
3893
|
+
text-align: center;
|
|
3894
|
+
}
|
|
3895
|
+
|
|
3896
|
+
.muka-thumbnail__error-icon {
|
|
3897
|
+
color: var(--alert-color-error-accent);
|
|
3898
|
+
}
|
|
3899
|
+
|
|
3900
|
+
.muka-thumbnail__caption {
|
|
3901
|
+
max-width: 100%;
|
|
3902
|
+
overflow: hidden;
|
|
3903
|
+
text-overflow: ellipsis;
|
|
3904
|
+
white-space: nowrap;
|
|
3905
|
+
color: var(--alert-color-error-accent);
|
|
3906
|
+
font-family: var(--text-body-sm-regular-fontFamily);
|
|
3907
|
+
font-size: var(--text-body-sm-regular-fontSize);
|
|
3908
|
+
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
3909
|
+
line-height: var(--text-body-sm-regular-lineHeight);
|
|
3910
|
+
}
|
|
3911
|
+
|
|
3912
|
+
/* ─── Remove (×) button ───────────────────────────────── */
|
|
3913
|
+
.muka-thumbnail__remove {
|
|
3914
|
+
position: absolute;
|
|
3915
|
+
top: var(--spacing-2);
|
|
3916
|
+
right: var(--spacing-2);
|
|
3917
|
+
display: flex;
|
|
3918
|
+
align-items: center;
|
|
3919
|
+
justify-content: center;
|
|
3920
|
+
width: var(--size-2xl);
|
|
3921
|
+
height: var(--size-2xl);
|
|
3922
|
+
padding: 0;
|
|
3923
|
+
color: var(--button-color-tertiary-foreground-default);
|
|
3924
|
+
background-color: var(--button-color-tertiary-background-default);
|
|
3925
|
+
border: var(--border-width-regular, 1px) solid var(--button-color-tertiary-border-default);
|
|
3926
|
+
border-radius: var(--border-radius-lg);
|
|
3927
|
+
cursor: pointer;
|
|
3928
|
+
transition: background-color var(--motion-duration-micro) var(--motion-easing-enter),
|
|
3929
|
+
border-color var(--motion-duration-micro) var(--motion-easing-enter);
|
|
3930
|
+
}
|
|
3931
|
+
|
|
3932
|
+
.muka-thumbnail__remove:hover {
|
|
3933
|
+
color: var(--button-color-tertiary-foreground-hover);
|
|
3934
|
+
background-color: var(--button-color-tertiary-background-hover);
|
|
3935
|
+
border-color: var(--button-color-tertiary-border-hover);
|
|
3936
|
+
}
|
|
3937
|
+
|
|
3938
|
+
.muka-thumbnail__remove:active {
|
|
3939
|
+
color: var(--button-color-tertiary-foreground-pressed);
|
|
3940
|
+
background-color: var(--button-color-tertiary-background-pressed);
|
|
3941
|
+
border-color: var(--button-color-tertiary-border-pressed);
|
|
3942
|
+
}
|
|
3943
|
+
|
|
3944
|
+
.muka-thumbnail__remove:focus-visible {
|
|
3945
|
+
outline: 2px solid var(--color-border-focus);
|
|
3946
|
+
outline-offset: 2px;
|
|
3947
|
+
}
|
|
3948
|
+
|
|
3949
|
+
/* ─── Reduced motion ──────────────────────────────────── */
|
|
3950
|
+
@media (prefers-reduced-motion: reduce) {
|
|
3951
|
+
.muka-thumbnail__image,
|
|
3952
|
+
.muka-thumbnail__remove {
|
|
3953
|
+
transition: none;
|
|
3954
|
+
}
|
|
3955
|
+
|
|
3956
|
+
.muka-thumbnail--interactive:hover .muka-thumbnail__image {
|
|
3957
|
+
transform: none;
|
|
3958
|
+
}
|
|
3959
|
+
}
|
|
3960
|
+
|
|
3961
|
+
|
|
3777
3962
|
/* Textarea */
|
|
3778
3963
|
/* Textarea Component Styles - Using Muka Design Tokens */
|
|
3779
3964
|
|
|
@@ -4210,238 +4395,53 @@ body {
|
|
|
4210
4395
|
}
|
|
4211
4396
|
|
|
4212
4397
|
|
|
4213
|
-
/*
|
|
4214
|
-
/*
|
|
4398
|
+
/* Table */
|
|
4399
|
+
/* Table Component Styles - Using Muka Design Tokens */
|
|
4215
4400
|
|
|
4216
|
-
|
|
4217
|
-
|
|
4218
|
-
|
|
4219
|
-
}
|
|
4401
|
+
/* ========================================
|
|
4402
|
+
TABLE WRAPPER (Responsive)
|
|
4403
|
+
======================================== */
|
|
4220
4404
|
|
|
4221
|
-
|
|
4222
|
-
|
|
4223
|
-
|
|
4224
|
-
|
|
4225
|
-
position: absolute;
|
|
4226
|
-
inset: 0;
|
|
4227
|
-
overflow: hidden;
|
|
4228
|
-
border: var(--border-width-regular, 1px) solid var(--color-black-alpha-3);
|
|
4229
|
-
border-radius: var(--border-radius-lg);
|
|
4230
|
-
background-color: var(--color-surface-level1);
|
|
4405
|
+
.muka-table-wrapper {
|
|
4406
|
+
width: 100%;
|
|
4407
|
+
overflow-x: auto;
|
|
4408
|
+
-webkit-overflow-scrolling: touch;
|
|
4231
4409
|
}
|
|
4232
4410
|
|
|
4233
|
-
/*
|
|
4234
|
-
|
|
4235
|
-
|
|
4236
|
-
height: 120px;
|
|
4237
|
-
}
|
|
4411
|
+
/* ========================================
|
|
4412
|
+
TABLE BASE
|
|
4413
|
+
======================================== */
|
|
4238
4414
|
|
|
4239
|
-
.muka-
|
|
4240
|
-
width:
|
|
4241
|
-
|
|
4415
|
+
.muka-table {
|
|
4416
|
+
width: 100%;
|
|
4417
|
+
border-collapse: collapse;
|
|
4418
|
+
border-spacing: 0;
|
|
4419
|
+
font-family: var(--text-body-base-regular-fontFamily);
|
|
4420
|
+
font-size: var(--text-body-base-regular-fontSize);
|
|
4421
|
+
font-weight: var(--text-body-base-regular-fontWeight);
|
|
4422
|
+
line-height: var(--text-body-base-regular-lineHeight);
|
|
4423
|
+
color: var(--color-text-default-default);
|
|
4424
|
+
background-color: var(--color-surface-level3);
|
|
4242
4425
|
}
|
|
4243
4426
|
|
|
4244
|
-
.muka-
|
|
4245
|
-
|
|
4246
|
-
height: 120px;
|
|
4427
|
+
.muka-table--fixed {
|
|
4428
|
+
table-layout: fixed;
|
|
4247
4429
|
}
|
|
4248
4430
|
|
|
4249
|
-
|
|
4250
|
-
|
|
4251
|
-
|
|
4252
|
-
|
|
4253
|
-
|
|
4431
|
+
.muka-table__caption {
|
|
4432
|
+
padding: var(--spacing-3);
|
|
4433
|
+
font-weight: var(--text-label-md-semibold-fontWeight);
|
|
4434
|
+
text-align: left;
|
|
4435
|
+
color: var(--color-text-default-default);
|
|
4436
|
+
caption-side: top;
|
|
4254
4437
|
}
|
|
4255
4438
|
|
|
4256
|
-
|
|
4257
|
-
|
|
4258
|
-
|
|
4259
|
-
|
|
4260
|
-
.muka-
|
|
4261
|
-
border-
|
|
4262
|
-
}
|
|
4263
|
-
|
|
4264
|
-
/* Image fills the frame, cropped to cover. Sits at scale(1) by default so the
|
|
4265
|
-
interactive hover zoom has a clean origin. */
|
|
4266
|
-
.muka-thumbnail__image {
|
|
4267
|
-
position: absolute;
|
|
4268
|
-
inset: 0;
|
|
4269
|
-
width: 100%;
|
|
4270
|
-
height: 100%;
|
|
4271
|
-
object-fit: cover;
|
|
4272
|
-
display: block;
|
|
4273
|
-
transform-origin: center;
|
|
4274
|
-
/* Micro-interaction: hover zoom eases out over the "micro" duration. */
|
|
4275
|
-
transition: transform var(--motion-duration-micro) var(--motion-easing-enter);
|
|
4276
|
-
}
|
|
4277
|
-
|
|
4278
|
-
/* ─── Interactive (click-to-enlarge) ──────────────────── */
|
|
4279
|
-
.muka-thumbnail__trigger {
|
|
4280
|
-
position: absolute;
|
|
4281
|
-
inset: 0;
|
|
4282
|
-
padding: 0;
|
|
4283
|
-
border: 0;
|
|
4284
|
-
background: none;
|
|
4285
|
-
cursor: pointer;
|
|
4286
|
-
overflow: hidden;
|
|
4287
|
-
}
|
|
4288
|
-
|
|
4289
|
-
.muka-thumbnail__trigger:focus-visible {
|
|
4290
|
-
outline: 2px solid var(--color-border-focus);
|
|
4291
|
-
outline-offset: -2px;
|
|
4292
|
-
}
|
|
4293
|
-
|
|
4294
|
-
/* On hover the image scales up ~8px (160px → 168px) with an ease-out feel. */
|
|
4295
|
-
.muka-thumbnail--interactive:hover .muka-thumbnail__image {
|
|
4296
|
-
transform: scale(1.05);
|
|
4297
|
-
}
|
|
4298
|
-
|
|
4299
|
-
/* ─── Loading overlay + progress donut ────────────────── */
|
|
4300
|
-
.muka-thumbnail__overlay {
|
|
4301
|
-
position: absolute;
|
|
4302
|
-
inset: 0;
|
|
4303
|
-
display: flex;
|
|
4304
|
-
align-items: center;
|
|
4305
|
-
justify-content: center;
|
|
4306
|
-
background-color: var(--dialog-color-backdrop);
|
|
4307
|
-
}
|
|
4308
|
-
|
|
4309
|
-
.muka-thumbnail__progress {
|
|
4310
|
-
width: 40px;
|
|
4311
|
-
height: 40px;
|
|
4312
|
-
}
|
|
4313
|
-
|
|
4314
|
-
/* ─── Error / corrupt state ───────────────────────────── */
|
|
4315
|
-
.muka-thumbnail--error .muka-thumbnail__frame {
|
|
4316
|
-
background-color: var(--alias-color-state-error-muted);
|
|
4317
|
-
border-color: var(--alias-color-state-error-default);
|
|
4318
|
-
}
|
|
4319
|
-
|
|
4320
|
-
.muka-thumbnail__error {
|
|
4321
|
-
position: absolute;
|
|
4322
|
-
inset: 0;
|
|
4323
|
-
display: flex;
|
|
4324
|
-
flex-direction: column;
|
|
4325
|
-
align-items: center;
|
|
4326
|
-
justify-content: center;
|
|
4327
|
-
gap: var(--spacing-2);
|
|
4328
|
-
padding: var(--spacing-3);
|
|
4329
|
-
text-align: center;
|
|
4330
|
-
}
|
|
4331
|
-
|
|
4332
|
-
.muka-thumbnail__error-icon {
|
|
4333
|
-
color: var(--alert-color-error-accent);
|
|
4334
|
-
}
|
|
4335
|
-
|
|
4336
|
-
.muka-thumbnail__caption {
|
|
4337
|
-
max-width: 100%;
|
|
4338
|
-
overflow: hidden;
|
|
4339
|
-
text-overflow: ellipsis;
|
|
4340
|
-
white-space: nowrap;
|
|
4341
|
-
color: var(--alert-color-error-accent);
|
|
4342
|
-
font-family: var(--text-body-sm-regular-fontFamily);
|
|
4343
|
-
font-size: var(--text-body-sm-regular-fontSize);
|
|
4344
|
-
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
4345
|
-
line-height: var(--text-body-sm-regular-lineHeight);
|
|
4346
|
-
}
|
|
4347
|
-
|
|
4348
|
-
/* ─── Remove (×) button ───────────────────────────────── */
|
|
4349
|
-
.muka-thumbnail__remove {
|
|
4350
|
-
position: absolute;
|
|
4351
|
-
top: var(--spacing-2);
|
|
4352
|
-
right: var(--spacing-2);
|
|
4353
|
-
display: flex;
|
|
4354
|
-
align-items: center;
|
|
4355
|
-
justify-content: center;
|
|
4356
|
-
width: var(--size-2xl);
|
|
4357
|
-
height: var(--size-2xl);
|
|
4358
|
-
padding: 0;
|
|
4359
|
-
color: var(--button-color-tertiary-foreground-default);
|
|
4360
|
-
background-color: var(--button-color-tertiary-background-default);
|
|
4361
|
-
border: var(--border-width-regular, 1px) solid var(--button-color-tertiary-border-default);
|
|
4362
|
-
border-radius: var(--border-radius-lg);
|
|
4363
|
-
cursor: pointer;
|
|
4364
|
-
transition: background-color var(--motion-duration-micro) var(--motion-easing-enter),
|
|
4365
|
-
border-color var(--motion-duration-micro) var(--motion-easing-enter);
|
|
4366
|
-
}
|
|
4367
|
-
|
|
4368
|
-
.muka-thumbnail__remove:hover {
|
|
4369
|
-
color: var(--button-color-tertiary-foreground-hover);
|
|
4370
|
-
background-color: var(--button-color-tertiary-background-hover);
|
|
4371
|
-
border-color: var(--button-color-tertiary-border-hover);
|
|
4372
|
-
}
|
|
4373
|
-
|
|
4374
|
-
.muka-thumbnail__remove:active {
|
|
4375
|
-
color: var(--button-color-tertiary-foreground-pressed);
|
|
4376
|
-
background-color: var(--button-color-tertiary-background-pressed);
|
|
4377
|
-
border-color: var(--button-color-tertiary-border-pressed);
|
|
4378
|
-
}
|
|
4379
|
-
|
|
4380
|
-
.muka-thumbnail__remove:focus-visible {
|
|
4381
|
-
outline: 2px solid var(--color-border-focus);
|
|
4382
|
-
outline-offset: 2px;
|
|
4383
|
-
}
|
|
4384
|
-
|
|
4385
|
-
/* ─── Reduced motion ──────────────────────────────────── */
|
|
4386
|
-
@media (prefers-reduced-motion: reduce) {
|
|
4387
|
-
.muka-thumbnail__image,
|
|
4388
|
-
.muka-thumbnail__remove {
|
|
4389
|
-
transition: none;
|
|
4390
|
-
}
|
|
4391
|
-
|
|
4392
|
-
.muka-thumbnail--interactive:hover .muka-thumbnail__image {
|
|
4393
|
-
transform: none;
|
|
4394
|
-
}
|
|
4395
|
-
}
|
|
4396
|
-
|
|
4397
|
-
|
|
4398
|
-
/* Table */
|
|
4399
|
-
/* Table Component Styles - Using Muka Design Tokens */
|
|
4400
|
-
|
|
4401
|
-
/* ========================================
|
|
4402
|
-
TABLE WRAPPER (Responsive)
|
|
4403
|
-
======================================== */
|
|
4404
|
-
|
|
4405
|
-
.muka-table-wrapper {
|
|
4406
|
-
width: 100%;
|
|
4407
|
-
overflow-x: auto;
|
|
4408
|
-
-webkit-overflow-scrolling: touch;
|
|
4409
|
-
}
|
|
4410
|
-
|
|
4411
|
-
/* ========================================
|
|
4412
|
-
TABLE BASE
|
|
4413
|
-
======================================== */
|
|
4414
|
-
|
|
4415
|
-
.muka-table {
|
|
4416
|
-
width: 100%;
|
|
4417
|
-
border-collapse: collapse;
|
|
4418
|
-
border-spacing: 0;
|
|
4419
|
-
font-family: var(--text-body-base-regular-fontFamily);
|
|
4420
|
-
font-size: var(--text-body-base-regular-fontSize);
|
|
4421
|
-
font-weight: var(--text-body-base-regular-fontWeight);
|
|
4422
|
-
line-height: var(--text-body-base-regular-lineHeight);
|
|
4423
|
-
color: var(--color-text-default-default);
|
|
4424
|
-
background-color: var(--color-surface-level3);
|
|
4425
|
-
}
|
|
4426
|
-
|
|
4427
|
-
.muka-table--fixed {
|
|
4428
|
-
table-layout: fixed;
|
|
4429
|
-
}
|
|
4430
|
-
|
|
4431
|
-
.muka-table__caption {
|
|
4432
|
-
padding: var(--spacing-3);
|
|
4433
|
-
font-weight: var(--text-label-md-semibold-fontWeight);
|
|
4434
|
-
text-align: left;
|
|
4435
|
-
color: var(--color-text-default-default);
|
|
4436
|
-
caption-side: top;
|
|
4437
|
-
}
|
|
4438
|
-
|
|
4439
|
-
/* ========================================
|
|
4440
|
-
TABLE HEAD
|
|
4441
|
-
======================================== */
|
|
4442
|
-
|
|
4443
|
-
.muka-table__head {
|
|
4444
|
-
border-bottom: var(--border-width-regular) solid var(--color-border-default);
|
|
4439
|
+
/* ========================================
|
|
4440
|
+
TABLE HEAD
|
|
4441
|
+
======================================== */
|
|
4442
|
+
|
|
4443
|
+
.muka-table__head {
|
|
4444
|
+
border-bottom: var(--border-width-regular) solid var(--color-border-default);
|
|
4445
4445
|
}
|
|
4446
4446
|
|
|
4447
4447
|
.muka-table__head .muka-table__row {
|
|
@@ -4799,62 +4799,170 @@ body {
|
|
|
4799
4799
|
}
|
|
4800
4800
|
|
|
4801
4801
|
|
|
4802
|
-
/*
|
|
4803
|
-
/*
|
|
4802
|
+
/* SwipeActions */
|
|
4803
|
+
/* SwipeActions Component Styles */
|
|
4804
4804
|
|
|
4805
|
-
.muka-
|
|
4806
|
-
|
|
4807
|
-
|
|
4808
|
-
|
|
4809
|
-
|
|
4810
|
-
|
|
4805
|
+
.muka-swipe-actions {
|
|
4806
|
+
position: relative;
|
|
4807
|
+
overflow: hidden;
|
|
4808
|
+
touch-action: pan-y;
|
|
4809
|
+
-webkit-user-select: none;
|
|
4810
|
+
user-select: none;
|
|
4811
|
+
background-color: var(--color-surface-level3);
|
|
4811
4812
|
}
|
|
4812
4813
|
|
|
4813
|
-
.muka-
|
|
4814
|
-
|
|
4814
|
+
.muka-swipe-actions--disabled {
|
|
4815
|
+
touch-action: auto;
|
|
4815
4816
|
}
|
|
4816
4817
|
|
|
4817
|
-
|
|
4818
|
-
color: var(--color-text-default-inverse);
|
|
4819
|
-
}
|
|
4818
|
+
/* ─── Row that holds the actual content ────────────────── */
|
|
4820
4819
|
|
|
4821
|
-
.muka-
|
|
4822
|
-
|
|
4823
|
-
|
|
4824
|
-
|
|
4825
|
-
|
|
4826
|
-
border-right-color: transparent;
|
|
4827
|
-
animation: muka-spinner-rotate 0.7s linear infinite;
|
|
4828
|
-
box-sizing: border-box;
|
|
4820
|
+
.muka-swipe-actions__row {
|
|
4821
|
+
position: relative;
|
|
4822
|
+
z-index: 1;
|
|
4823
|
+
background-color: inherit;
|
|
4824
|
+
will-change: transform;
|
|
4829
4825
|
}
|
|
4830
4826
|
|
|
4831
|
-
/* ───
|
|
4827
|
+
/* ─── Action panels — sit beneath the row ──────────────── */
|
|
4832
4828
|
|
|
4833
|
-
.muka-
|
|
4834
|
-
|
|
4835
|
-
|
|
4836
|
-
|
|
4829
|
+
.muka-swipe-actions__panel {
|
|
4830
|
+
position: absolute;
|
|
4831
|
+
top: 0;
|
|
4832
|
+
bottom: 0;
|
|
4833
|
+
display: flex;
|
|
4834
|
+
align-items: stretch;
|
|
4835
|
+
z-index: 0;
|
|
4837
4836
|
}
|
|
4838
4837
|
|
|
4839
|
-
.muka-
|
|
4840
|
-
|
|
4841
|
-
height: 20px;
|
|
4842
|
-
border-width: 2px;
|
|
4838
|
+
.muka-swipe-actions__panel--left {
|
|
4839
|
+
left: 0;
|
|
4843
4840
|
}
|
|
4844
4841
|
|
|
4845
|
-
.muka-
|
|
4846
|
-
|
|
4847
|
-
height: 24px;
|
|
4848
|
-
border-width: 3px;
|
|
4842
|
+
.muka-swipe-actions__panel--right {
|
|
4843
|
+
right: 0;
|
|
4849
4844
|
}
|
|
4850
4845
|
|
|
4851
|
-
/* ───
|
|
4846
|
+
/* ─── Single action button ─────────────────────────────── */
|
|
4852
4847
|
|
|
4853
|
-
.muka-
|
|
4854
|
-
|
|
4855
|
-
|
|
4856
|
-
|
|
4857
|
-
|
|
4848
|
+
.muka-swipe-actions__button {
|
|
4849
|
+
display: flex;
|
|
4850
|
+
flex-direction: column;
|
|
4851
|
+
align-items: center;
|
|
4852
|
+
justify-content: center;
|
|
4853
|
+
gap: var(--spacing-1);
|
|
4854
|
+
border: none;
|
|
4855
|
+
cursor: pointer;
|
|
4856
|
+
padding: var(--spacing-2);
|
|
4857
|
+
background-color: var(--color-surface-level2);
|
|
4858
|
+
color: var(--color-text-default-default);
|
|
4859
|
+
font-family: var(--text-label-sm-semibold-fontFamily);
|
|
4860
|
+
font-weight: var(--text-label-sm-semibold-fontWeight);
|
|
4861
|
+
font-size: var(--text-label-sm-semibold-fontSize);
|
|
4862
|
+
line-height: var(--text-label-sm-semibold-lineHeight);
|
|
4863
|
+
-webkit-tap-highlight-color: transparent;
|
|
4864
|
+
transition: filter 0.12s ease;
|
|
4865
|
+
}
|
|
4866
|
+
|
|
4867
|
+
.muka-swipe-actions__button:hover {
|
|
4868
|
+
filter: brightness(0.95);
|
|
4869
|
+
}
|
|
4870
|
+
|
|
4871
|
+
.muka-swipe-actions__button:focus-visible {
|
|
4872
|
+
outline: 2px solid var(--color-action-default);
|
|
4873
|
+
outline-offset: -2px;
|
|
4874
|
+
}
|
|
4875
|
+
|
|
4876
|
+
.muka-swipe-actions__button-icon {
|
|
4877
|
+
display: inline-flex;
|
|
4878
|
+
align-items: center;
|
|
4879
|
+
justify-content: center;
|
|
4880
|
+
}
|
|
4881
|
+
|
|
4882
|
+
/* ─── Color variants ───────────────────────────────────── */
|
|
4883
|
+
|
|
4884
|
+
.muka-swipe-actions__button--neutral {
|
|
4885
|
+
background-color: var(--color-surface-level2);
|
|
4886
|
+
color: var(--color-text-default-default);
|
|
4887
|
+
}
|
|
4888
|
+
|
|
4889
|
+
.muka-swipe-actions__button--primary {
|
|
4890
|
+
background-color: var(--color-action-default);
|
|
4891
|
+
color: var(--color-text-default-inverse);
|
|
4892
|
+
}
|
|
4893
|
+
|
|
4894
|
+
.muka-swipe-actions__button--success {
|
|
4895
|
+
background-color: var(--color-state-success-default);
|
|
4896
|
+
color: var(--color-text-default-inverse);
|
|
4897
|
+
}
|
|
4898
|
+
|
|
4899
|
+
.muka-swipe-actions__button--warning {
|
|
4900
|
+
background-color: var(--color-state-warning-default);
|
|
4901
|
+
color: var(--color-text-default-default);
|
|
4902
|
+
}
|
|
4903
|
+
|
|
4904
|
+
.muka-swipe-actions__button--destructive {
|
|
4905
|
+
background-color: var(--color-state-error-default);
|
|
4906
|
+
color: var(--color-text-default-inverse);
|
|
4907
|
+
}
|
|
4908
|
+
|
|
4909
|
+
|
|
4910
|
+
/* Spinner */
|
|
4911
|
+
/* Spinner Component Styles */
|
|
4912
|
+
|
|
4913
|
+
.muka-spinner {
|
|
4914
|
+
display: inline-flex;
|
|
4915
|
+
align-items: center;
|
|
4916
|
+
justify-content: center;
|
|
4917
|
+
color: var(--color-text-default-default);
|
|
4918
|
+
line-height: 0;
|
|
4919
|
+
}
|
|
4920
|
+
|
|
4921
|
+
.muka-spinner--subtle {
|
|
4922
|
+
color: var(--color-text-subtle-default);
|
|
4923
|
+
}
|
|
4924
|
+
|
|
4925
|
+
.muka-spinner--inverse {
|
|
4926
|
+
color: var(--color-text-default-inverse);
|
|
4927
|
+
}
|
|
4928
|
+
|
|
4929
|
+
.muka-spinner__circle {
|
|
4930
|
+
display: inline-block;
|
|
4931
|
+
border-radius: 50%;
|
|
4932
|
+
border-style: solid;
|
|
4933
|
+
border-color: currentColor;
|
|
4934
|
+
border-right-color: transparent;
|
|
4935
|
+
animation: muka-spinner-rotate 0.7s linear infinite;
|
|
4936
|
+
box-sizing: border-box;
|
|
4937
|
+
}
|
|
4938
|
+
|
|
4939
|
+
/* ─── Sizes ───────────────────────────────────────────── */
|
|
4940
|
+
|
|
4941
|
+
.muka-spinner--sm .muka-spinner__circle {
|
|
4942
|
+
width: 16px;
|
|
4943
|
+
height: 16px;
|
|
4944
|
+
border-width: 2px;
|
|
4945
|
+
}
|
|
4946
|
+
|
|
4947
|
+
.muka-spinner--md .muka-spinner__circle {
|
|
4948
|
+
width: 20px;
|
|
4949
|
+
height: 20px;
|
|
4950
|
+
border-width: 2px;
|
|
4951
|
+
}
|
|
4952
|
+
|
|
4953
|
+
.muka-spinner--lg .muka-spinner__circle {
|
|
4954
|
+
width: 24px;
|
|
4955
|
+
height: 24px;
|
|
4956
|
+
border-width: 3px;
|
|
4957
|
+
}
|
|
4958
|
+
|
|
4959
|
+
/* ─── Visually-hidden label ───────────────────────────── */
|
|
4960
|
+
|
|
4961
|
+
.muka-spinner__sr-label {
|
|
4962
|
+
position: absolute;
|
|
4963
|
+
width: 1px;
|
|
4964
|
+
height: 1px;
|
|
4965
|
+
padding: 0;
|
|
4858
4966
|
margin: -1px;
|
|
4859
4967
|
overflow: hidden;
|
|
4860
4968
|
clip: rect(0, 0, 0, 0);
|
|
@@ -5866,6 +5974,133 @@ body {
|
|
|
5866
5974
|
}
|
|
5867
5975
|
|
|
5868
5976
|
|
|
5977
|
+
/* Scrollbar */
|
|
5978
|
+
/* Scrollbar — Figma menu scrollbar (32px rail, chevrons, grip thumb) */
|
|
5979
|
+
|
|
5980
|
+
.muka-scrollbar {
|
|
5981
|
+
display: flex;
|
|
5982
|
+
flex-shrink: 0;
|
|
5983
|
+
border-left: var(--border-width-regular) solid var(--color-border-default);
|
|
5984
|
+
background-color: var(--color-surface-level3);
|
|
5985
|
+
user-select: none;
|
|
5986
|
+
}
|
|
5987
|
+
|
|
5988
|
+
.muka-scrollbar--vertical {
|
|
5989
|
+
flex-direction: column;
|
|
5990
|
+
width: var(--size-2xl, 32px);
|
|
5991
|
+
align-self: stretch;
|
|
5992
|
+
}
|
|
5993
|
+
|
|
5994
|
+
.muka-scrollbar--horizontal {
|
|
5995
|
+
flex-direction: row;
|
|
5996
|
+
height: var(--size-2xl, 32px);
|
|
5997
|
+
width: 100%;
|
|
5998
|
+
border-left: none;
|
|
5999
|
+
border-top: var(--border-width-regular) solid var(--color-border-default);
|
|
6000
|
+
}
|
|
6001
|
+
|
|
6002
|
+
.muka-scrollbar__button {
|
|
6003
|
+
display: flex;
|
|
6004
|
+
align-items: center;
|
|
6005
|
+
justify-content: center;
|
|
6006
|
+
flex-shrink: 0;
|
|
6007
|
+
width: 100%;
|
|
6008
|
+
height: var(--size-2xl, 32px);
|
|
6009
|
+
padding: 0;
|
|
6010
|
+
border: none;
|
|
6011
|
+
background-color: var(--button-color-tertiary-background-default, var(--color-surface-level3));
|
|
6012
|
+
color: var(--color-text-default-default);
|
|
6013
|
+
cursor: pointer;
|
|
6014
|
+
}
|
|
6015
|
+
|
|
6016
|
+
.muka-scrollbar--horizontal .muka-scrollbar__button {
|
|
6017
|
+
width: var(--size-2xl, 32px);
|
|
6018
|
+
height: 100%;
|
|
6019
|
+
}
|
|
6020
|
+
|
|
6021
|
+
.muka-scrollbar__button:hover {
|
|
6022
|
+
background-color: var(--color-surface-hover);
|
|
6023
|
+
}
|
|
6024
|
+
|
|
6025
|
+
.muka-scrollbar__divider {
|
|
6026
|
+
flex-shrink: 0;
|
|
6027
|
+
width: 100%;
|
|
6028
|
+
height: 1px;
|
|
6029
|
+
background-color: var(--color-border-default);
|
|
6030
|
+
}
|
|
6031
|
+
|
|
6032
|
+
.muka-scrollbar--horizontal .muka-scrollbar__divider {
|
|
6033
|
+
width: 1px;
|
|
6034
|
+
height: 100%;
|
|
6035
|
+
}
|
|
6036
|
+
|
|
6037
|
+
.muka-scrollbar__track {
|
|
6038
|
+
position: relative;
|
|
6039
|
+
display: flex;
|
|
6040
|
+
flex-direction: column;
|
|
6041
|
+
flex: 1 1 auto;
|
|
6042
|
+
min-height: 0;
|
|
6043
|
+
width: 100%;
|
|
6044
|
+
}
|
|
6045
|
+
|
|
6046
|
+
.muka-scrollbar--horizontal .muka-scrollbar__track {
|
|
6047
|
+
flex-direction: row;
|
|
6048
|
+
min-width: 0;
|
|
6049
|
+
height: 100%;
|
|
6050
|
+
}
|
|
6051
|
+
|
|
6052
|
+
.muka-scrollbar__thumb {
|
|
6053
|
+
position: absolute;
|
|
6054
|
+
left: 0;
|
|
6055
|
+
top: 0;
|
|
6056
|
+
z-index: 1;
|
|
6057
|
+
display: flex;
|
|
6058
|
+
align-items: center;
|
|
6059
|
+
justify-content: center;
|
|
6060
|
+
width: 100%;
|
|
6061
|
+
/* Figma: scrollbar thumb fill = surface/level3 */
|
|
6062
|
+
background-color: var(--color-surface-level3);
|
|
6063
|
+
cursor: grab;
|
|
6064
|
+
touch-action: none;
|
|
6065
|
+
}
|
|
6066
|
+
|
|
6067
|
+
.muka-scrollbar--horizontal .muka-scrollbar__thumb {
|
|
6068
|
+
left: 0;
|
|
6069
|
+
top: 0;
|
|
6070
|
+
width: auto;
|
|
6071
|
+
height: 100%;
|
|
6072
|
+
margin-left: 0;
|
|
6073
|
+
margin-top: 0;
|
|
6074
|
+
}
|
|
6075
|
+
|
|
6076
|
+
.muka-scrollbar__thumb:active {
|
|
6077
|
+
cursor: grabbing;
|
|
6078
|
+
}
|
|
6079
|
+
|
|
6080
|
+
.muka-scrollbar__grip {
|
|
6081
|
+
display: flex;
|
|
6082
|
+
flex-direction: column;
|
|
6083
|
+
gap: 2px;
|
|
6084
|
+
width: 14px;
|
|
6085
|
+
}
|
|
6086
|
+
|
|
6087
|
+
.muka-scrollbar__grip::before,
|
|
6088
|
+
.muka-scrollbar__grip::after {
|
|
6089
|
+
content: '';
|
|
6090
|
+
display: block;
|
|
6091
|
+
width: 100%;
|
|
6092
|
+
height: 2px;
|
|
6093
|
+
border-radius: var(--border-radius-md);
|
|
6094
|
+
background-color: var(--color-text-subtle-default);
|
|
6095
|
+
}
|
|
6096
|
+
|
|
6097
|
+
.muka-scrollbar__spacer {
|
|
6098
|
+
flex: 1 1 auto;
|
|
6099
|
+
min-height: 0;
|
|
6100
|
+
background-color: var(--color-surface-level2);
|
|
6101
|
+
}
|
|
6102
|
+
|
|
6103
|
+
|
|
5869
6104
|
/* SearchInput */
|
|
5870
6105
|
/* SearchInput Component Styles */
|
|
5871
6106
|
|
|
@@ -6035,137 +6270,10 @@ body {
|
|
|
6035
6270
|
}
|
|
6036
6271
|
|
|
6037
6272
|
|
|
6038
|
-
/*
|
|
6039
|
-
/*
|
|
6273
|
+
/* RecordingBar */
|
|
6274
|
+
/* RecordingBar Component Styles */
|
|
6040
6275
|
|
|
6041
|
-
.muka-
|
|
6042
|
-
display: flex;
|
|
6043
|
-
flex-shrink: 0;
|
|
6044
|
-
border-left: var(--border-width-regular) solid var(--color-border-default);
|
|
6045
|
-
background-color: var(--color-surface-level3);
|
|
6046
|
-
user-select: none;
|
|
6047
|
-
}
|
|
6048
|
-
|
|
6049
|
-
.muka-scrollbar--vertical {
|
|
6050
|
-
flex-direction: column;
|
|
6051
|
-
width: var(--size-2xl, 32px);
|
|
6052
|
-
align-self: stretch;
|
|
6053
|
-
}
|
|
6054
|
-
|
|
6055
|
-
.muka-scrollbar--horizontal {
|
|
6056
|
-
flex-direction: row;
|
|
6057
|
-
height: var(--size-2xl, 32px);
|
|
6058
|
-
width: 100%;
|
|
6059
|
-
border-left: none;
|
|
6060
|
-
border-top: var(--border-width-regular) solid var(--color-border-default);
|
|
6061
|
-
}
|
|
6062
|
-
|
|
6063
|
-
.muka-scrollbar__button {
|
|
6064
|
-
display: flex;
|
|
6065
|
-
align-items: center;
|
|
6066
|
-
justify-content: center;
|
|
6067
|
-
flex-shrink: 0;
|
|
6068
|
-
width: 100%;
|
|
6069
|
-
height: var(--size-2xl, 32px);
|
|
6070
|
-
padding: 0;
|
|
6071
|
-
border: none;
|
|
6072
|
-
background-color: var(--button-color-tertiary-background-default, var(--color-surface-level3));
|
|
6073
|
-
color: var(--color-text-default-default);
|
|
6074
|
-
cursor: pointer;
|
|
6075
|
-
}
|
|
6076
|
-
|
|
6077
|
-
.muka-scrollbar--horizontal .muka-scrollbar__button {
|
|
6078
|
-
width: var(--size-2xl, 32px);
|
|
6079
|
-
height: 100%;
|
|
6080
|
-
}
|
|
6081
|
-
|
|
6082
|
-
.muka-scrollbar__button:hover {
|
|
6083
|
-
background-color: var(--color-surface-hover);
|
|
6084
|
-
}
|
|
6085
|
-
|
|
6086
|
-
.muka-scrollbar__divider {
|
|
6087
|
-
flex-shrink: 0;
|
|
6088
|
-
width: 100%;
|
|
6089
|
-
height: 1px;
|
|
6090
|
-
background-color: var(--color-border-default);
|
|
6091
|
-
}
|
|
6092
|
-
|
|
6093
|
-
.muka-scrollbar--horizontal .muka-scrollbar__divider {
|
|
6094
|
-
width: 1px;
|
|
6095
|
-
height: 100%;
|
|
6096
|
-
}
|
|
6097
|
-
|
|
6098
|
-
.muka-scrollbar__track {
|
|
6099
|
-
position: relative;
|
|
6100
|
-
display: flex;
|
|
6101
|
-
flex-direction: column;
|
|
6102
|
-
flex: 1 1 auto;
|
|
6103
|
-
min-height: 0;
|
|
6104
|
-
width: 100%;
|
|
6105
|
-
}
|
|
6106
|
-
|
|
6107
|
-
.muka-scrollbar--horizontal .muka-scrollbar__track {
|
|
6108
|
-
flex-direction: row;
|
|
6109
|
-
min-width: 0;
|
|
6110
|
-
height: 100%;
|
|
6111
|
-
}
|
|
6112
|
-
|
|
6113
|
-
.muka-scrollbar__thumb {
|
|
6114
|
-
position: absolute;
|
|
6115
|
-
left: 0;
|
|
6116
|
-
top: 0;
|
|
6117
|
-
z-index: 1;
|
|
6118
|
-
display: flex;
|
|
6119
|
-
align-items: center;
|
|
6120
|
-
justify-content: center;
|
|
6121
|
-
width: 100%;
|
|
6122
|
-
/* Figma: scrollbar thumb fill = surface/level3 */
|
|
6123
|
-
background-color: var(--color-surface-level3);
|
|
6124
|
-
cursor: grab;
|
|
6125
|
-
touch-action: none;
|
|
6126
|
-
}
|
|
6127
|
-
|
|
6128
|
-
.muka-scrollbar--horizontal .muka-scrollbar__thumb {
|
|
6129
|
-
left: 0;
|
|
6130
|
-
top: 0;
|
|
6131
|
-
width: auto;
|
|
6132
|
-
height: 100%;
|
|
6133
|
-
margin-left: 0;
|
|
6134
|
-
margin-top: 0;
|
|
6135
|
-
}
|
|
6136
|
-
|
|
6137
|
-
.muka-scrollbar__thumb:active {
|
|
6138
|
-
cursor: grabbing;
|
|
6139
|
-
}
|
|
6140
|
-
|
|
6141
|
-
.muka-scrollbar__grip {
|
|
6142
|
-
display: flex;
|
|
6143
|
-
flex-direction: column;
|
|
6144
|
-
gap: 2px;
|
|
6145
|
-
width: 14px;
|
|
6146
|
-
}
|
|
6147
|
-
|
|
6148
|
-
.muka-scrollbar__grip::before,
|
|
6149
|
-
.muka-scrollbar__grip::after {
|
|
6150
|
-
content: '';
|
|
6151
|
-
display: block;
|
|
6152
|
-
width: 100%;
|
|
6153
|
-
height: 2px;
|
|
6154
|
-
border-radius: var(--border-radius-md);
|
|
6155
|
-
background-color: var(--color-text-subtle-default);
|
|
6156
|
-
}
|
|
6157
|
-
|
|
6158
|
-
.muka-scrollbar__spacer {
|
|
6159
|
-
flex: 1 1 auto;
|
|
6160
|
-
min-height: 0;
|
|
6161
|
-
background-color: var(--color-surface-level2);
|
|
6162
|
-
}
|
|
6163
|
-
|
|
6164
|
-
|
|
6165
|
-
/* RecordingBar */
|
|
6166
|
-
/* RecordingBar Component Styles */
|
|
6167
|
-
|
|
6168
|
-
.muka-recording-bar {
|
|
6276
|
+
.muka-recording-bar {
|
|
6169
6277
|
display: flex;
|
|
6170
6278
|
align-items: center;
|
|
6171
6279
|
gap: var(--spacing-3);
|
|
@@ -14129,6 +14237,14 @@ button.muka-chat-photo-grid__tile:focus-visible {
|
|
|
14129
14237
|
flex-shrink: 0;
|
|
14130
14238
|
}
|
|
14131
14239
|
|
|
14240
|
+
/* Touch devices have emoji on their keyboard: no button there, unless the app
|
|
14241
|
+
keeps it with `emojiOnTouch`. */
|
|
14242
|
+
@media (pointer: coarse) {
|
|
14243
|
+
.muka-chat-composer__emoji:not(.muka-chat-composer__emoji--on-touch) {
|
|
14244
|
+
display: none;
|
|
14245
|
+
}
|
|
14246
|
+
}
|
|
14247
|
+
|
|
14132
14248
|
/* ─── Recording bar ────────────────────────────────────── */
|
|
14133
14249
|
|
|
14134
14250
|
.muka-chat-composer__recording {
|
|
@@ -16255,325 +16371,114 @@ button.muka-chat-photo-grid__tile:focus-visible {
|
|
|
16255
16371
|
}
|
|
16256
16372
|
|
|
16257
16373
|
|
|
16258
|
-
/*
|
|
16259
|
-
/*
|
|
16374
|
+
/* AgentTaskList */
|
|
16375
|
+
/* AgentTaskList Component Styles */
|
|
16260
16376
|
|
|
16261
|
-
.muka-
|
|
16377
|
+
.muka-agent-task-list {
|
|
16262
16378
|
display: flex;
|
|
16263
|
-
|
|
16264
|
-
|
|
16265
|
-
|
|
16266
|
-
|
|
16267
|
-
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
|
|
16379
|
+
flex-direction: column;
|
|
16380
|
+
gap: var(--spacing-2);
|
|
16381
|
+
width: 100%;
|
|
16382
|
+
padding: 0 var(--spacing-2);
|
|
16268
16383
|
}
|
|
16269
16384
|
|
|
16270
|
-
/*
|
|
16271
|
-
.muka-alert--sm {
|
|
16272
|
-
padding: var(--alert-padding-sm-y) var(--alert-padding-sm-x);
|
|
16273
|
-
}
|
|
16385
|
+
/* ─── Header ───────────────────────────────────────────── */
|
|
16274
16386
|
|
|
16275
|
-
.muka-
|
|
16276
|
-
|
|
16387
|
+
.muka-agent-task-list__header {
|
|
16388
|
+
display: inline-flex;
|
|
16389
|
+
align-items: center;
|
|
16390
|
+
gap: var(--spacing-3);
|
|
16391
|
+
background: none;
|
|
16392
|
+
border: none;
|
|
16393
|
+
padding: 0;
|
|
16394
|
+
margin: 0;
|
|
16395
|
+
cursor: pointer;
|
|
16396
|
+
color: var(--color-text-subtle-default);
|
|
16397
|
+
font-family: var(--text-body-sm-regular-fontFamily);
|
|
16398
|
+
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
16399
|
+
font-size: var(--text-body-sm-regular-fontSize);
|
|
16400
|
+
line-height: var(--text-body-sm-regular-lineHeight);
|
|
16401
|
+
text-align: left;
|
|
16402
|
+
-webkit-tap-highlight-color: transparent;
|
|
16277
16403
|
}
|
|
16278
16404
|
|
|
16279
|
-
.muka-
|
|
16280
|
-
|
|
16405
|
+
.muka-agent-task-list--open .muka-agent-task-list__header {
|
|
16406
|
+
font-family: var(--text-body-sm-bold-fontFamily);
|
|
16407
|
+
font-weight: var(--text-body-sm-bold-fontWeight);
|
|
16408
|
+
font-size: var(--text-body-sm-bold-fontSize);
|
|
16409
|
+
line-height: var(--text-body-sm-bold-lineHeight);
|
|
16281
16410
|
}
|
|
16282
16411
|
|
|
16283
|
-
|
|
16284
|
-
|
|
16285
|
-
|
|
16286
|
-
|
|
16412
|
+
.muka-agent-task-list__header:focus-visible {
|
|
16413
|
+
outline: 2px solid var(--color-action-default);
|
|
16414
|
+
outline-offset: 2px;
|
|
16415
|
+
border-radius: var(--radius-sm);
|
|
16287
16416
|
}
|
|
16288
16417
|
|
|
16289
|
-
.muka-
|
|
16290
|
-
|
|
16418
|
+
.muka-agent-task-list__title {
|
|
16419
|
+
text-align: left;
|
|
16291
16420
|
}
|
|
16292
16421
|
|
|
16293
|
-
.muka-
|
|
16294
|
-
|
|
16422
|
+
.muka-agent-task-list__chevron {
|
|
16423
|
+
display: inline-flex;
|
|
16424
|
+
align-items: center;
|
|
16425
|
+
justify-content: center;
|
|
16426
|
+
transition: transform 0.16s ease;
|
|
16427
|
+
color: var(--color-text-subtle-default);
|
|
16295
16428
|
}
|
|
16296
16429
|
|
|
16297
|
-
.muka-
|
|
16298
|
-
|
|
16430
|
+
.muka-agent-task-list__chevron[data-open='false'] {
|
|
16431
|
+
transform: rotate(-90deg);
|
|
16299
16432
|
}
|
|
16300
16433
|
|
|
16301
|
-
/*
|
|
16302
|
-
.muka-alert--success {
|
|
16303
|
-
background-color: var(--alert-color-success-background);
|
|
16304
|
-
color: var(--alert-color-success-foreground);
|
|
16305
|
-
}
|
|
16434
|
+
/* ─── Task list ────────────────────────────────────────── */
|
|
16306
16435
|
|
|
16307
|
-
.muka-
|
|
16308
|
-
|
|
16436
|
+
.muka-agent-task-list__tasks {
|
|
16437
|
+
list-style: none;
|
|
16438
|
+
padding: 0;
|
|
16439
|
+
margin: 0;
|
|
16440
|
+
display: flex;
|
|
16441
|
+
flex-direction: column;
|
|
16309
16442
|
}
|
|
16310
16443
|
|
|
16311
|
-
|
|
16312
|
-
color: var(--alert-color-success-accent);
|
|
16313
|
-
}
|
|
16444
|
+
/* ─── Single task row ──────────────────────────────────── */
|
|
16314
16445
|
|
|
16315
|
-
.muka-
|
|
16316
|
-
|
|
16446
|
+
.muka-agent-task-list__task {
|
|
16447
|
+
display: flex;
|
|
16448
|
+
align-items: stretch;
|
|
16449
|
+
gap: var(--spacing-4);
|
|
16450
|
+
min-height: 32px;
|
|
16451
|
+
padding: 0;
|
|
16317
16452
|
}
|
|
16318
16453
|
|
|
16319
|
-
/*
|
|
16320
|
-
|
|
16321
|
-
|
|
16322
|
-
|
|
16454
|
+
/* ─── Bullet column (icon + timeline connector) ────────── */
|
|
16455
|
+
|
|
16456
|
+
.muka-agent-task-list__bullet {
|
|
16457
|
+
position: relative;
|
|
16458
|
+
flex-shrink: 0;
|
|
16459
|
+
width: 16px;
|
|
16460
|
+
align-self: stretch;
|
|
16323
16461
|
}
|
|
16324
16462
|
|
|
16325
|
-
.muka-
|
|
16326
|
-
|
|
16463
|
+
.muka-agent-task-list__line {
|
|
16464
|
+
position: absolute;
|
|
16465
|
+
left: 7px;
|
|
16466
|
+
width: 1px;
|
|
16467
|
+
background-color: var(--color-border-default);
|
|
16327
16468
|
}
|
|
16328
16469
|
|
|
16329
|
-
.muka-
|
|
16330
|
-
|
|
16470
|
+
.muka-agent-task-list__line--top {
|
|
16471
|
+
top: 0;
|
|
16472
|
+
height: 6px;
|
|
16331
16473
|
}
|
|
16332
16474
|
|
|
16333
|
-
.muka-
|
|
16334
|
-
|
|
16475
|
+
.muka-agent-task-list__line--bottom {
|
|
16476
|
+
top: 32px;
|
|
16477
|
+
bottom: 0;
|
|
16335
16478
|
}
|
|
16336
16479
|
|
|
16337
|
-
|
|
16338
|
-
|
|
16339
|
-
background-color: var(--alert-color-error-background);
|
|
16340
|
-
color: var(--alert-color-error-foreground);
|
|
16341
|
-
}
|
|
16342
|
-
|
|
16343
|
-
.muka-alert--error .muka-alert__icon {
|
|
16344
|
-
color: var(--alert-color-error-accent);
|
|
16345
|
-
}
|
|
16346
|
-
|
|
16347
|
-
.muka-alert--error .muka-alert__title {
|
|
16348
|
-
color: var(--alert-color-error-accent);
|
|
16349
|
-
}
|
|
16350
|
-
|
|
16351
|
-
.muka-alert--error .muka-alert__dismiss {
|
|
16352
|
-
color: var(--alert-color-error-accent);
|
|
16353
|
-
}
|
|
16354
|
-
|
|
16355
|
-
/* Icon */
|
|
16356
|
-
.muka-alert__icon {
|
|
16357
|
-
display: flex;
|
|
16358
|
-
align-items: center;
|
|
16359
|
-
justify-content: center;
|
|
16360
|
-
flex-shrink: 0;
|
|
16361
|
-
width: var(--alert-icon-size);
|
|
16362
|
-
height: var(--alert-icon-size);
|
|
16363
|
-
}
|
|
16364
|
-
|
|
16365
|
-
.muka-alert__icon svg {
|
|
16366
|
-
width: 100%;
|
|
16367
|
-
height: 100%;
|
|
16368
|
-
}
|
|
16369
|
-
|
|
16370
|
-
/* The leading icon and the dismiss (×) icon inherit the variant accent set on
|
|
16371
|
-
their container, overriding the Icon component's default color. */
|
|
16372
|
-
.muka-alert__icon .muka-icon,
|
|
16373
|
-
.muka-alert__dismiss .muka-icon {
|
|
16374
|
-
color: inherit;
|
|
16375
|
-
}
|
|
16376
|
-
|
|
16377
|
-
/* Content */
|
|
16378
|
-
.muka-alert__content {
|
|
16379
|
-
flex: 1;
|
|
16380
|
-
min-width: 0;
|
|
16381
|
-
}
|
|
16382
|
-
|
|
16383
|
-
.muka-alert__title {
|
|
16384
|
-
font-family: var(--text-label-md-semibold-fontFamily);
|
|
16385
|
-
font-weight: var(--text-label-md-semibold-fontWeight);
|
|
16386
|
-
font-size: var(--text-label-md-semibold-fontSize);
|
|
16387
|
-
line-height: var(--text-label-md-semibold-lineHeight);
|
|
16388
|
-
margin-bottom: var(--spacing-1);
|
|
16389
|
-
}
|
|
16390
|
-
|
|
16391
|
-
.muka-alert--sm .muka-alert__title {
|
|
16392
|
-
font-family: var(--text-label-sm-semibold-fontFamily);
|
|
16393
|
-
font-weight: var(--text-label-sm-semibold-fontWeight);
|
|
16394
|
-
font-size: var(--text-label-sm-semibold-fontSize);
|
|
16395
|
-
line-height: var(--text-label-sm-semibold-lineHeight);
|
|
16396
|
-
}
|
|
16397
|
-
|
|
16398
|
-
.muka-alert--lg .muka-alert__title {
|
|
16399
|
-
font-family: var(--text-label-lg-semibold-fontFamily);
|
|
16400
|
-
font-weight: var(--text-label-lg-semibold-fontWeight);
|
|
16401
|
-
font-size: var(--text-label-lg-semibold-fontSize);
|
|
16402
|
-
line-height: var(--text-label-lg-semibold-lineHeight);
|
|
16403
|
-
}
|
|
16404
|
-
|
|
16405
|
-
.muka-alert__message {
|
|
16406
|
-
font-family: var(--text-body-sm-regular-fontFamily);
|
|
16407
|
-
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
16408
|
-
font-size: var(--text-body-sm-regular-fontSize);
|
|
16409
|
-
line-height: var(--text-body-sm-regular-lineHeight);
|
|
16410
|
-
/* Beat ambient docs/page text colors (e.g. Storybook sbdocs) so variant
|
|
16411
|
-
foreground stays readable in light and dark themes. */
|
|
16412
|
-
color: inherit;
|
|
16413
|
-
}
|
|
16414
|
-
|
|
16415
|
-
.muka-alert .muka-alert__message,
|
|
16416
|
-
.muka-alert .muka-alert__message * {
|
|
16417
|
-
color: inherit;
|
|
16418
|
-
}
|
|
16419
|
-
|
|
16420
|
-
.muka-alert--lg .muka-alert__message {
|
|
16421
|
-
font-family: var(--text-body-base-regular-fontFamily);
|
|
16422
|
-
font-weight: var(--text-body-base-regular-fontWeight);
|
|
16423
|
-
font-size: var(--text-body-base-regular-fontSize);
|
|
16424
|
-
line-height: var(--text-body-base-regular-lineHeight);
|
|
16425
|
-
}
|
|
16426
|
-
|
|
16427
|
-
/* Action slot — TextLink (or similar) below the message, matching Figma */
|
|
16428
|
-
.muka-alert__action {
|
|
16429
|
-
display: flex;
|
|
16430
|
-
flex-direction: column;
|
|
16431
|
-
align-items: flex-start;
|
|
16432
|
-
padding-top: var(--spacing-1);
|
|
16433
|
-
}
|
|
16434
|
-
|
|
16435
|
-
/* Dismiss button - uses accent color per variant, aligned with icon row */
|
|
16436
|
-
.muka-alert__dismiss {
|
|
16437
|
-
display: flex;
|
|
16438
|
-
align-items: center;
|
|
16439
|
-
justify-content: center;
|
|
16440
|
-
flex-shrink: 0;
|
|
16441
|
-
align-self: flex-start;
|
|
16442
|
-
width: 24px;
|
|
16443
|
-
height: 24px;
|
|
16444
|
-
padding: 0;
|
|
16445
|
-
margin: 0 0 0 auto;
|
|
16446
|
-
border: none;
|
|
16447
|
-
background: transparent;
|
|
16448
|
-
cursor: pointer;
|
|
16449
|
-
border-radius: var(--border-radius-sm);
|
|
16450
|
-
transition: opacity 0.15s ease, background-color 0.15s ease;
|
|
16451
|
-
}
|
|
16452
|
-
|
|
16453
|
-
.muka-alert__dismiss:hover {
|
|
16454
|
-
opacity: 0.85;
|
|
16455
|
-
background-color: rgba(0, 0, 0, 0.05);
|
|
16456
|
-
}
|
|
16457
|
-
|
|
16458
|
-
.muka-alert__dismiss:focus-visible {
|
|
16459
|
-
outline: 2px solid var(--color-border-focus);
|
|
16460
|
-
outline-offset: 2px;
|
|
16461
|
-
}
|
|
16462
|
-
|
|
16463
|
-
.muka-alert__dismiss svg {
|
|
16464
|
-
width: 16px;
|
|
16465
|
-
height: 16px;
|
|
16466
|
-
}
|
|
16467
|
-
|
|
16468
|
-
|
|
16469
|
-
/* AgentTaskList */
|
|
16470
|
-
/* AgentTaskList Component Styles */
|
|
16471
|
-
|
|
16472
|
-
.muka-agent-task-list {
|
|
16473
|
-
display: flex;
|
|
16474
|
-
flex-direction: column;
|
|
16475
|
-
gap: var(--spacing-2);
|
|
16476
|
-
width: 100%;
|
|
16477
|
-
padding: 0 var(--spacing-2);
|
|
16478
|
-
}
|
|
16479
|
-
|
|
16480
|
-
/* ─── Header ───────────────────────────────────────────── */
|
|
16481
|
-
|
|
16482
|
-
.muka-agent-task-list__header {
|
|
16483
|
-
display: inline-flex;
|
|
16484
|
-
align-items: center;
|
|
16485
|
-
gap: var(--spacing-3);
|
|
16486
|
-
background: none;
|
|
16487
|
-
border: none;
|
|
16488
|
-
padding: 0;
|
|
16489
|
-
margin: 0;
|
|
16490
|
-
cursor: pointer;
|
|
16491
|
-
color: var(--color-text-subtle-default);
|
|
16492
|
-
font-family: var(--text-body-sm-regular-fontFamily);
|
|
16493
|
-
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
16494
|
-
font-size: var(--text-body-sm-regular-fontSize);
|
|
16495
|
-
line-height: var(--text-body-sm-regular-lineHeight);
|
|
16496
|
-
text-align: left;
|
|
16497
|
-
-webkit-tap-highlight-color: transparent;
|
|
16498
|
-
}
|
|
16499
|
-
|
|
16500
|
-
.muka-agent-task-list--open .muka-agent-task-list__header {
|
|
16501
|
-
font-family: var(--text-body-sm-bold-fontFamily);
|
|
16502
|
-
font-weight: var(--text-body-sm-bold-fontWeight);
|
|
16503
|
-
font-size: var(--text-body-sm-bold-fontSize);
|
|
16504
|
-
line-height: var(--text-body-sm-bold-lineHeight);
|
|
16505
|
-
}
|
|
16506
|
-
|
|
16507
|
-
.muka-agent-task-list__header:focus-visible {
|
|
16508
|
-
outline: 2px solid var(--color-action-default);
|
|
16509
|
-
outline-offset: 2px;
|
|
16510
|
-
border-radius: var(--radius-sm);
|
|
16511
|
-
}
|
|
16512
|
-
|
|
16513
|
-
.muka-agent-task-list__title {
|
|
16514
|
-
text-align: left;
|
|
16515
|
-
}
|
|
16516
|
-
|
|
16517
|
-
.muka-agent-task-list__chevron {
|
|
16518
|
-
display: inline-flex;
|
|
16519
|
-
align-items: center;
|
|
16520
|
-
justify-content: center;
|
|
16521
|
-
transition: transform 0.16s ease;
|
|
16522
|
-
color: var(--color-text-subtle-default);
|
|
16523
|
-
}
|
|
16524
|
-
|
|
16525
|
-
.muka-agent-task-list__chevron[data-open='false'] {
|
|
16526
|
-
transform: rotate(-90deg);
|
|
16527
|
-
}
|
|
16528
|
-
|
|
16529
|
-
/* ─── Task list ────────────────────────────────────────── */
|
|
16530
|
-
|
|
16531
|
-
.muka-agent-task-list__tasks {
|
|
16532
|
-
list-style: none;
|
|
16533
|
-
padding: 0;
|
|
16534
|
-
margin: 0;
|
|
16535
|
-
display: flex;
|
|
16536
|
-
flex-direction: column;
|
|
16537
|
-
}
|
|
16538
|
-
|
|
16539
|
-
/* ─── Single task row ──────────────────────────────────── */
|
|
16540
|
-
|
|
16541
|
-
.muka-agent-task-list__task {
|
|
16542
|
-
display: flex;
|
|
16543
|
-
align-items: stretch;
|
|
16544
|
-
gap: var(--spacing-4);
|
|
16545
|
-
min-height: 32px;
|
|
16546
|
-
padding: 0;
|
|
16547
|
-
}
|
|
16548
|
-
|
|
16549
|
-
/* ─── Bullet column (icon + timeline connector) ────────── */
|
|
16550
|
-
|
|
16551
|
-
.muka-agent-task-list__bullet {
|
|
16552
|
-
position: relative;
|
|
16553
|
-
flex-shrink: 0;
|
|
16554
|
-
width: 16px;
|
|
16555
|
-
align-self: stretch;
|
|
16556
|
-
}
|
|
16557
|
-
|
|
16558
|
-
.muka-agent-task-list__line {
|
|
16559
|
-
position: absolute;
|
|
16560
|
-
left: 7px;
|
|
16561
|
-
width: 1px;
|
|
16562
|
-
background-color: var(--color-border-default);
|
|
16563
|
-
}
|
|
16564
|
-
|
|
16565
|
-
.muka-agent-task-list__line--top {
|
|
16566
|
-
top: 0;
|
|
16567
|
-
height: 6px;
|
|
16568
|
-
}
|
|
16569
|
-
|
|
16570
|
-
.muka-agent-task-list__line--bottom {
|
|
16571
|
-
top: 32px;
|
|
16572
|
-
bottom: 0;
|
|
16573
|
-
}
|
|
16574
|
-
|
|
16575
|
-
.muka-agent-task-list__task:first-child .muka-agent-task-list__line--top {
|
|
16576
|
-
display: none;
|
|
16480
|
+
.muka-agent-task-list__task:first-child .muka-agent-task-list__line--top {
|
|
16481
|
+
display: none;
|
|
16577
16482
|
}
|
|
16578
16483
|
|
|
16579
16484
|
.muka-agent-task-list__task:last-child .muka-agent-task-list__line--bottom {
|
|
@@ -16777,19 +16682,230 @@ button.muka-chat-photo-grid__tile:focus-visible {
|
|
|
16777
16682
|
}
|
|
16778
16683
|
|
|
16779
16684
|
|
|
16780
|
-
/*
|
|
16781
|
-
/*
|
|
16685
|
+
/* Alert */
|
|
16686
|
+
/* Alert Component Styles - Using Muka Design Tokens */
|
|
16782
16687
|
|
|
16783
|
-
.muka-
|
|
16784
|
-
|
|
16688
|
+
.muka-alert {
|
|
16689
|
+
display: flex;
|
|
16690
|
+
align-items: flex-start;
|
|
16691
|
+
border-radius: var(--alert-radius);
|
|
16692
|
+
border: none;
|
|
16693
|
+
gap: var(--alert-gap);
|
|
16694
|
+
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
|
|
16785
16695
|
}
|
|
16786
16696
|
|
|
16787
|
-
/*
|
|
16788
|
-
.muka-
|
|
16789
|
-
|
|
16697
|
+
/* Size variants */
|
|
16698
|
+
.muka-alert--sm {
|
|
16699
|
+
padding: var(--alert-padding-sm-y) var(--alert-padding-sm-x);
|
|
16790
16700
|
}
|
|
16791
16701
|
|
|
16792
|
-
.muka-
|
|
16702
|
+
.muka-alert--md {
|
|
16703
|
+
padding: var(--alert-padding-md-y) var(--alert-padding-md-x);
|
|
16704
|
+
}
|
|
16705
|
+
|
|
16706
|
+
.muka-alert--lg {
|
|
16707
|
+
padding: var(--alert-padding-lg-y) var(--alert-padding-lg-x);
|
|
16708
|
+
}
|
|
16709
|
+
|
|
16710
|
+
/* Variant: Info */
|
|
16711
|
+
.muka-alert--info {
|
|
16712
|
+
background-color: var(--alert-color-info-background);
|
|
16713
|
+
color: var(--alert-color-info-foreground);
|
|
16714
|
+
}
|
|
16715
|
+
|
|
16716
|
+
.muka-alert--info .muka-alert__icon {
|
|
16717
|
+
color: var(--alert-color-info-accent);
|
|
16718
|
+
}
|
|
16719
|
+
|
|
16720
|
+
.muka-alert--info .muka-alert__title {
|
|
16721
|
+
color: var(--alert-color-info-accent);
|
|
16722
|
+
}
|
|
16723
|
+
|
|
16724
|
+
.muka-alert--info .muka-alert__dismiss {
|
|
16725
|
+
color: var(--alert-color-info-accent);
|
|
16726
|
+
}
|
|
16727
|
+
|
|
16728
|
+
/* Variant: Success */
|
|
16729
|
+
.muka-alert--success {
|
|
16730
|
+
background-color: var(--alert-color-success-background);
|
|
16731
|
+
color: var(--alert-color-success-foreground);
|
|
16732
|
+
}
|
|
16733
|
+
|
|
16734
|
+
.muka-alert--success .muka-alert__icon {
|
|
16735
|
+
color: var(--alert-color-success-accent);
|
|
16736
|
+
}
|
|
16737
|
+
|
|
16738
|
+
.muka-alert--success .muka-alert__title {
|
|
16739
|
+
color: var(--alert-color-success-accent);
|
|
16740
|
+
}
|
|
16741
|
+
|
|
16742
|
+
.muka-alert--success .muka-alert__dismiss {
|
|
16743
|
+
color: var(--alert-color-success-accent);
|
|
16744
|
+
}
|
|
16745
|
+
|
|
16746
|
+
/* Variant: Warning */
|
|
16747
|
+
.muka-alert--warning {
|
|
16748
|
+
background-color: var(--alert-color-warning-background);
|
|
16749
|
+
color: var(--alert-color-warning-foreground);
|
|
16750
|
+
}
|
|
16751
|
+
|
|
16752
|
+
.muka-alert--warning .muka-alert__icon {
|
|
16753
|
+
color: var(--alert-color-warning-accent);
|
|
16754
|
+
}
|
|
16755
|
+
|
|
16756
|
+
.muka-alert--warning .muka-alert__title {
|
|
16757
|
+
color: var(--alert-color-warning-accent);
|
|
16758
|
+
}
|
|
16759
|
+
|
|
16760
|
+
.muka-alert--warning .muka-alert__dismiss {
|
|
16761
|
+
color: var(--alert-color-warning-accent);
|
|
16762
|
+
}
|
|
16763
|
+
|
|
16764
|
+
/* Variant: Error */
|
|
16765
|
+
.muka-alert--error {
|
|
16766
|
+
background-color: var(--alert-color-error-background);
|
|
16767
|
+
color: var(--alert-color-error-foreground);
|
|
16768
|
+
}
|
|
16769
|
+
|
|
16770
|
+
.muka-alert--error .muka-alert__icon {
|
|
16771
|
+
color: var(--alert-color-error-accent);
|
|
16772
|
+
}
|
|
16773
|
+
|
|
16774
|
+
.muka-alert--error .muka-alert__title {
|
|
16775
|
+
color: var(--alert-color-error-accent);
|
|
16776
|
+
}
|
|
16777
|
+
|
|
16778
|
+
.muka-alert--error .muka-alert__dismiss {
|
|
16779
|
+
color: var(--alert-color-error-accent);
|
|
16780
|
+
}
|
|
16781
|
+
|
|
16782
|
+
/* Icon */
|
|
16783
|
+
.muka-alert__icon {
|
|
16784
|
+
display: flex;
|
|
16785
|
+
align-items: center;
|
|
16786
|
+
justify-content: center;
|
|
16787
|
+
flex-shrink: 0;
|
|
16788
|
+
width: var(--alert-icon-size);
|
|
16789
|
+
height: var(--alert-icon-size);
|
|
16790
|
+
}
|
|
16791
|
+
|
|
16792
|
+
.muka-alert__icon svg {
|
|
16793
|
+
width: 100%;
|
|
16794
|
+
height: 100%;
|
|
16795
|
+
}
|
|
16796
|
+
|
|
16797
|
+
/* The leading icon and the dismiss (×) icon inherit the variant accent set on
|
|
16798
|
+
their container, overriding the Icon component's default color. */
|
|
16799
|
+
.muka-alert__icon .muka-icon,
|
|
16800
|
+
.muka-alert__dismiss .muka-icon {
|
|
16801
|
+
color: inherit;
|
|
16802
|
+
}
|
|
16803
|
+
|
|
16804
|
+
/* Content */
|
|
16805
|
+
.muka-alert__content {
|
|
16806
|
+
flex: 1;
|
|
16807
|
+
min-width: 0;
|
|
16808
|
+
}
|
|
16809
|
+
|
|
16810
|
+
.muka-alert__title {
|
|
16811
|
+
font-family: var(--text-label-md-semibold-fontFamily);
|
|
16812
|
+
font-weight: var(--text-label-md-semibold-fontWeight);
|
|
16813
|
+
font-size: var(--text-label-md-semibold-fontSize);
|
|
16814
|
+
line-height: var(--text-label-md-semibold-lineHeight);
|
|
16815
|
+
margin-bottom: var(--spacing-1);
|
|
16816
|
+
}
|
|
16817
|
+
|
|
16818
|
+
.muka-alert--sm .muka-alert__title {
|
|
16819
|
+
font-family: var(--text-label-sm-semibold-fontFamily);
|
|
16820
|
+
font-weight: var(--text-label-sm-semibold-fontWeight);
|
|
16821
|
+
font-size: var(--text-label-sm-semibold-fontSize);
|
|
16822
|
+
line-height: var(--text-label-sm-semibold-lineHeight);
|
|
16823
|
+
}
|
|
16824
|
+
|
|
16825
|
+
.muka-alert--lg .muka-alert__title {
|
|
16826
|
+
font-family: var(--text-label-lg-semibold-fontFamily);
|
|
16827
|
+
font-weight: var(--text-label-lg-semibold-fontWeight);
|
|
16828
|
+
font-size: var(--text-label-lg-semibold-fontSize);
|
|
16829
|
+
line-height: var(--text-label-lg-semibold-lineHeight);
|
|
16830
|
+
}
|
|
16831
|
+
|
|
16832
|
+
.muka-alert__message {
|
|
16833
|
+
font-family: var(--text-body-sm-regular-fontFamily);
|
|
16834
|
+
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
16835
|
+
font-size: var(--text-body-sm-regular-fontSize);
|
|
16836
|
+
line-height: var(--text-body-sm-regular-lineHeight);
|
|
16837
|
+
/* Beat ambient docs/page text colors (e.g. Storybook sbdocs) so variant
|
|
16838
|
+
foreground stays readable in light and dark themes. */
|
|
16839
|
+
color: inherit;
|
|
16840
|
+
}
|
|
16841
|
+
|
|
16842
|
+
.muka-alert .muka-alert__message,
|
|
16843
|
+
.muka-alert .muka-alert__message * {
|
|
16844
|
+
color: inherit;
|
|
16845
|
+
}
|
|
16846
|
+
|
|
16847
|
+
.muka-alert--lg .muka-alert__message {
|
|
16848
|
+
font-family: var(--text-body-base-regular-fontFamily);
|
|
16849
|
+
font-weight: var(--text-body-base-regular-fontWeight);
|
|
16850
|
+
font-size: var(--text-body-base-regular-fontSize);
|
|
16851
|
+
line-height: var(--text-body-base-regular-lineHeight);
|
|
16852
|
+
}
|
|
16853
|
+
|
|
16854
|
+
/* Action slot — TextLink (or similar) below the message, matching Figma */
|
|
16855
|
+
.muka-alert__action {
|
|
16856
|
+
display: flex;
|
|
16857
|
+
flex-direction: column;
|
|
16858
|
+
align-items: flex-start;
|
|
16859
|
+
padding-top: var(--spacing-1);
|
|
16860
|
+
}
|
|
16861
|
+
|
|
16862
|
+
/* Dismiss button - uses accent color per variant, aligned with icon row */
|
|
16863
|
+
.muka-alert__dismiss {
|
|
16864
|
+
display: flex;
|
|
16865
|
+
align-items: center;
|
|
16866
|
+
justify-content: center;
|
|
16867
|
+
flex-shrink: 0;
|
|
16868
|
+
align-self: flex-start;
|
|
16869
|
+
width: 24px;
|
|
16870
|
+
height: 24px;
|
|
16871
|
+
padding: 0;
|
|
16872
|
+
margin: 0 0 0 auto;
|
|
16873
|
+
border: none;
|
|
16874
|
+
background: transparent;
|
|
16875
|
+
cursor: pointer;
|
|
16876
|
+
border-radius: var(--border-radius-sm);
|
|
16877
|
+
transition: opacity 0.15s ease, background-color 0.15s ease;
|
|
16878
|
+
}
|
|
16879
|
+
|
|
16880
|
+
.muka-alert__dismiss:hover {
|
|
16881
|
+
opacity: 0.85;
|
|
16882
|
+
background-color: rgba(0, 0, 0, 0.05);
|
|
16883
|
+
}
|
|
16884
|
+
|
|
16885
|
+
.muka-alert__dismiss:focus-visible {
|
|
16886
|
+
outline: 2px solid var(--color-border-focus);
|
|
16887
|
+
outline-offset: 2px;
|
|
16888
|
+
}
|
|
16889
|
+
|
|
16890
|
+
.muka-alert__dismiss svg {
|
|
16891
|
+
width: 16px;
|
|
16892
|
+
height: 16px;
|
|
16893
|
+
}
|
|
16894
|
+
|
|
16895
|
+
|
|
16896
|
+
/* Accordion */
|
|
16897
|
+
/* Accordion Component Styles */
|
|
16898
|
+
|
|
16899
|
+
.muka-accordion {
|
|
16900
|
+
width: 100%;
|
|
16901
|
+
}
|
|
16902
|
+
|
|
16903
|
+
/* Item */
|
|
16904
|
+
.muka-accordion__item {
|
|
16905
|
+
border-bottom: var(--border-width-regular) solid var(--color-border-default);
|
|
16906
|
+
}
|
|
16907
|
+
|
|
16908
|
+
.muka-accordion__item:last-child {
|
|
16793
16909
|
border-bottom: none;
|
|
16794
16910
|
}
|
|
16795
16911
|
|
|
@@ -16907,111 +17023,3 @@ button.muka-chat-photo-grid__tile:focus-visible {
|
|
|
16907
17023
|
border-bottom: none;
|
|
16908
17024
|
}
|
|
16909
17025
|
|
|
16910
|
-
|
|
16911
|
-
/* SwipeActions */
|
|
16912
|
-
/* SwipeActions Component Styles */
|
|
16913
|
-
|
|
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);
|
|
16921
|
-
}
|
|
16922
|
-
|
|
16923
|
-
.muka-swipe-actions--disabled {
|
|
16924
|
-
touch-action: auto;
|
|
16925
|
-
}
|
|
16926
|
-
|
|
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;
|
|
16934
|
-
}
|
|
16935
|
-
|
|
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;
|
|
16945
|
-
}
|
|
16946
|
-
|
|
16947
|
-
.muka-swipe-actions__panel--left {
|
|
16948
|
-
left: 0;
|
|
16949
|
-
}
|
|
16950
|
-
|
|
16951
|
-
.muka-swipe-actions__panel--right {
|
|
16952
|
-
right: 0;
|
|
16953
|
-
}
|
|
16954
|
-
|
|
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;
|
|
16974
|
-
}
|
|
16975
|
-
|
|
16976
|
-
.muka-swipe-actions__button:hover {
|
|
16977
|
-
filter: brightness(0.95);
|
|
16978
|
-
}
|
|
16979
|
-
|
|
16980
|
-
.muka-swipe-actions__button:focus-visible {
|
|
16981
|
-
outline: 2px solid var(--color-action-default);
|
|
16982
|
-
outline-offset: -2px;
|
|
16983
|
-
}
|
|
16984
|
-
|
|
16985
|
-
.muka-swipe-actions__button-icon {
|
|
16986
|
-
display: inline-flex;
|
|
16987
|
-
align-items: center;
|
|
16988
|
-
justify-content: center;
|
|
16989
|
-
}
|
|
16990
|
-
|
|
16991
|
-
/* ─── Color variants ───────────────────────────────────── */
|
|
16992
|
-
|
|
16993
|
-
.muka-swipe-actions__button--neutral {
|
|
16994
|
-
background-color: var(--color-surface-level2);
|
|
16995
|
-
color: var(--color-text-default-default);
|
|
16996
|
-
}
|
|
16997
|
-
|
|
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);
|
|
17016
|
-
}
|
|
17017
|
-
|