@revikornmann/muka-ui 0.29.0 → 0.31.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/Alert/Alert.css +8 -0
- package/dist/cjs/components/Alert/Alert.js.map +1 -1
- package/dist/cjs/components/ChatComposer/ChatComposer.css +121 -1
- package/dist/cjs/components/ChatComposer/ChatComposer.js +148 -21
- package/dist/cjs/components/ChatComposer/ChatComposer.js.map +1 -1
- package/dist/cjs/components/ChatComposer/index.js.map +1 -1
- package/dist/cjs/components/Chip/Chip.css +75 -23
- package/dist/cjs/components/Chip/Chip.js +18 -8
- package/dist/cjs/components/Chip/Chip.js.map +1 -1
- package/dist/cjs/components/PhotoUploader/PhotoUploader.js.map +1 -1
- package/dist/cjs/components/ProgressTracker/ProgressTracker.css +23 -5
- package/dist/cjs/components/ProgressTracker/ProgressTracker.js +8 -6
- package/dist/cjs/components/ProgressTracker/ProgressTracker.js.map +1 -1
- package/dist/cjs/components/index.js.map +1 -1
- package/dist/esm/components/Alert/Alert.css +8 -0
- package/dist/esm/components/Alert/Alert.js.map +1 -1
- package/dist/esm/components/ChatComposer/ChatComposer.css +121 -1
- package/dist/esm/components/ChatComposer/ChatComposer.js +150 -23
- package/dist/esm/components/ChatComposer/ChatComposer.js.map +1 -1
- package/dist/esm/components/ChatComposer/index.js +1 -1
- package/dist/esm/components/ChatComposer/index.js.map +1 -1
- package/dist/esm/components/Chip/Chip.css +75 -23
- package/dist/esm/components/Chip/Chip.js +16 -8
- package/dist/esm/components/Chip/Chip.js.map +1 -1
- package/dist/esm/components/PhotoUploader/PhotoUploader.js.map +1 -1
- package/dist/esm/components/ProgressTracker/ProgressTracker.css +23 -5
- package/dist/esm/components/ProgressTracker/ProgressTracker.js +8 -6
- package/dist/esm/components/ProgressTracker/ProgressTracker.js.map +1 -1
- package/dist/esm/components/index.js +1 -1
- package/dist/esm/components/index.js.map +1 -1
- package/dist/styles/components/Alert.css +8 -0
- package/dist/styles/components/ChatComposer.css +121 -1
- package/dist/styles/components/Chip.css +75 -23
- package/dist/styles/components/ProgressTracker.css +23 -5
- package/dist/styles/index.css +1625 -1427
- package/dist/styles/muka-dark.css +1625 -1427
- package/dist/styles/muka-light.css +1625 -1427
- package/dist/styles/wireframe-dark.css +1625 -1427
- package/dist/styles/wireframe-light.css +1625 -1427
- package/dist/types/components/Alert/Alert.d.ts +1 -1
- package/dist/types/components/Alert/Alert.d.ts.map +1 -1
- package/dist/types/components/ChatComposer/ChatComposer.d.ts +83 -12
- package/dist/types/components/ChatComposer/ChatComposer.d.ts.map +1 -1
- package/dist/types/components/ChatComposer/index.d.ts +1 -1
- package/dist/types/components/ChatComposer/index.d.ts.map +1 -1
- package/dist/types/components/Chip/Chip.d.ts +13 -3
- package/dist/types/components/Chip/Chip.d.ts.map +1 -1
- package/dist/types/components/PhotoUploader/PhotoUploader.d.ts.map +1 -1
- package/dist/types/components/ProgressTracker/ProgressTracker.d.ts +10 -4
- package/dist/types/components/ProgressTracker/ProgressTracker.d.ts.map +1 -1
- package/dist/types/components/index.d.ts +1 -1
- package/dist/types/components/index.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -4726,84 +4726,6 @@ body {
|
|
|
4726
4726
|
}
|
|
4727
4727
|
|
|
4728
4728
|
|
|
4729
|
-
/* Spinner */
|
|
4730
|
-
/* Spinner Component Styles */
|
|
4731
|
-
|
|
4732
|
-
.muka-spinner {
|
|
4733
|
-
display: inline-flex;
|
|
4734
|
-
align-items: center;
|
|
4735
|
-
justify-content: center;
|
|
4736
|
-
color: var(--color-text-default-default);
|
|
4737
|
-
line-height: 0;
|
|
4738
|
-
}
|
|
4739
|
-
|
|
4740
|
-
.muka-spinner--subtle {
|
|
4741
|
-
color: var(--color-text-subtle-default);
|
|
4742
|
-
}
|
|
4743
|
-
|
|
4744
|
-
.muka-spinner--inverse {
|
|
4745
|
-
color: var(--color-text-default-inverse);
|
|
4746
|
-
}
|
|
4747
|
-
|
|
4748
|
-
.muka-spinner__circle {
|
|
4749
|
-
display: inline-block;
|
|
4750
|
-
border-radius: 50%;
|
|
4751
|
-
border-style: solid;
|
|
4752
|
-
border-color: currentColor;
|
|
4753
|
-
border-right-color: transparent;
|
|
4754
|
-
animation: muka-spinner-rotate 0.7s linear infinite;
|
|
4755
|
-
box-sizing: border-box;
|
|
4756
|
-
}
|
|
4757
|
-
|
|
4758
|
-
/* ─── Sizes ───────────────────────────────────────────── */
|
|
4759
|
-
|
|
4760
|
-
.muka-spinner--sm .muka-spinner__circle {
|
|
4761
|
-
width: 16px;
|
|
4762
|
-
height: 16px;
|
|
4763
|
-
border-width: 2px;
|
|
4764
|
-
}
|
|
4765
|
-
|
|
4766
|
-
.muka-spinner--md .muka-spinner__circle {
|
|
4767
|
-
width: 20px;
|
|
4768
|
-
height: 20px;
|
|
4769
|
-
border-width: 2px;
|
|
4770
|
-
}
|
|
4771
|
-
|
|
4772
|
-
.muka-spinner--lg .muka-spinner__circle {
|
|
4773
|
-
width: 24px;
|
|
4774
|
-
height: 24px;
|
|
4775
|
-
border-width: 3px;
|
|
4776
|
-
}
|
|
4777
|
-
|
|
4778
|
-
/* ─── Visually-hidden label ───────────────────────────── */
|
|
4779
|
-
|
|
4780
|
-
.muka-spinner__sr-label {
|
|
4781
|
-
position: absolute;
|
|
4782
|
-
width: 1px;
|
|
4783
|
-
height: 1px;
|
|
4784
|
-
padding: 0;
|
|
4785
|
-
margin: -1px;
|
|
4786
|
-
overflow: hidden;
|
|
4787
|
-
clip: rect(0, 0, 0, 0);
|
|
4788
|
-
white-space: nowrap;
|
|
4789
|
-
border: 0;
|
|
4790
|
-
}
|
|
4791
|
-
|
|
4792
|
-
/* ─── Reduced motion ──────────────────────────────────── */
|
|
4793
|
-
|
|
4794
|
-
@keyframes muka-spinner-rotate {
|
|
4795
|
-
to {
|
|
4796
|
-
transform: rotate(360deg);
|
|
4797
|
-
}
|
|
4798
|
-
}
|
|
4799
|
-
|
|
4800
|
-
@media (prefers-reduced-motion: reduce) {
|
|
4801
|
-
.muka-spinner__circle {
|
|
4802
|
-
animation-duration: 2.5s;
|
|
4803
|
-
}
|
|
4804
|
-
}
|
|
4805
|
-
|
|
4806
|
-
|
|
4807
4729
|
/* SpecList */
|
|
4808
4730
|
/* SpecList Component Styles */
|
|
4809
4731
|
|
|
@@ -5039,6 +4961,84 @@ body {
|
|
|
5039
4961
|
}
|
|
5040
4962
|
|
|
5041
4963
|
|
|
4964
|
+
/* Spinner */
|
|
4965
|
+
/* Spinner Component Styles */
|
|
4966
|
+
|
|
4967
|
+
.muka-spinner {
|
|
4968
|
+
display: inline-flex;
|
|
4969
|
+
align-items: center;
|
|
4970
|
+
justify-content: center;
|
|
4971
|
+
color: var(--color-text-default-default);
|
|
4972
|
+
line-height: 0;
|
|
4973
|
+
}
|
|
4974
|
+
|
|
4975
|
+
.muka-spinner--subtle {
|
|
4976
|
+
color: var(--color-text-subtle-default);
|
|
4977
|
+
}
|
|
4978
|
+
|
|
4979
|
+
.muka-spinner--inverse {
|
|
4980
|
+
color: var(--color-text-default-inverse);
|
|
4981
|
+
}
|
|
4982
|
+
|
|
4983
|
+
.muka-spinner__circle {
|
|
4984
|
+
display: inline-block;
|
|
4985
|
+
border-radius: 50%;
|
|
4986
|
+
border-style: solid;
|
|
4987
|
+
border-color: currentColor;
|
|
4988
|
+
border-right-color: transparent;
|
|
4989
|
+
animation: muka-spinner-rotate 0.7s linear infinite;
|
|
4990
|
+
box-sizing: border-box;
|
|
4991
|
+
}
|
|
4992
|
+
|
|
4993
|
+
/* ─── Sizes ───────────────────────────────────────────── */
|
|
4994
|
+
|
|
4995
|
+
.muka-spinner--sm .muka-spinner__circle {
|
|
4996
|
+
width: 16px;
|
|
4997
|
+
height: 16px;
|
|
4998
|
+
border-width: 2px;
|
|
4999
|
+
}
|
|
5000
|
+
|
|
5001
|
+
.muka-spinner--md .muka-spinner__circle {
|
|
5002
|
+
width: 20px;
|
|
5003
|
+
height: 20px;
|
|
5004
|
+
border-width: 2px;
|
|
5005
|
+
}
|
|
5006
|
+
|
|
5007
|
+
.muka-spinner--lg .muka-spinner__circle {
|
|
5008
|
+
width: 24px;
|
|
5009
|
+
height: 24px;
|
|
5010
|
+
border-width: 3px;
|
|
5011
|
+
}
|
|
5012
|
+
|
|
5013
|
+
/* ─── Visually-hidden label ───────────────────────────── */
|
|
5014
|
+
|
|
5015
|
+
.muka-spinner__sr-label {
|
|
5016
|
+
position: absolute;
|
|
5017
|
+
width: 1px;
|
|
5018
|
+
height: 1px;
|
|
5019
|
+
padding: 0;
|
|
5020
|
+
margin: -1px;
|
|
5021
|
+
overflow: hidden;
|
|
5022
|
+
clip: rect(0, 0, 0, 0);
|
|
5023
|
+
white-space: nowrap;
|
|
5024
|
+
border: 0;
|
|
5025
|
+
}
|
|
5026
|
+
|
|
5027
|
+
/* ─── Reduced motion ──────────────────────────────────── */
|
|
5028
|
+
|
|
5029
|
+
@keyframes muka-spinner-rotate {
|
|
5030
|
+
to {
|
|
5031
|
+
transform: rotate(360deg);
|
|
5032
|
+
}
|
|
5033
|
+
}
|
|
5034
|
+
|
|
5035
|
+
@media (prefers-reduced-motion: reduce) {
|
|
5036
|
+
.muka-spinner__circle {
|
|
5037
|
+
animation-duration: 2.5s;
|
|
5038
|
+
}
|
|
5039
|
+
}
|
|
5040
|
+
|
|
5041
|
+
|
|
5042
5042
|
/* SmsOtpField */
|
|
5043
5043
|
/* SmsOtpField Component Styles - Using Muka Design Tokens */
|
|
5044
5044
|
|
|
@@ -5231,6 +5231,81 @@ body {
|
|
|
5231
5231
|
}
|
|
5232
5232
|
|
|
5233
5233
|
|
|
5234
|
+
/* Skeleton */
|
|
5235
|
+
/* Skeleton Component Styles */
|
|
5236
|
+
|
|
5237
|
+
.muka-skeleton {
|
|
5238
|
+
background-color: var(--color-surface-level1);
|
|
5239
|
+
display: block;
|
|
5240
|
+
}
|
|
5241
|
+
|
|
5242
|
+
/* Variants */
|
|
5243
|
+
.muka-skeleton--text {
|
|
5244
|
+
height: 1em;
|
|
5245
|
+
border-radius: var(--radius-md);
|
|
5246
|
+
width: 100%;
|
|
5247
|
+
}
|
|
5248
|
+
|
|
5249
|
+
.muka-skeleton--circular {
|
|
5250
|
+
width: 2.5rem;
|
|
5251
|
+
height: 2.5rem;
|
|
5252
|
+
border-radius: var(--radius-full);
|
|
5253
|
+
}
|
|
5254
|
+
|
|
5255
|
+
.muka-skeleton--rectangular {
|
|
5256
|
+
height: 7.5rem;
|
|
5257
|
+
border-radius: var(--radius-md);
|
|
5258
|
+
width: 100%;
|
|
5259
|
+
}
|
|
5260
|
+
|
|
5261
|
+
/* Last line in multi-line text is shorter */
|
|
5262
|
+
.muka-skeleton--last-line {
|
|
5263
|
+
width: 80%;
|
|
5264
|
+
}
|
|
5265
|
+
|
|
5266
|
+
/* Lines container */
|
|
5267
|
+
.muka-skeleton__lines {
|
|
5268
|
+
display: flex;
|
|
5269
|
+
flex-direction: column;
|
|
5270
|
+
gap: var(--spacing-2);
|
|
5271
|
+
}
|
|
5272
|
+
|
|
5273
|
+
/* Shimmer animation */
|
|
5274
|
+
@keyframes muka-skeleton-shimmer {
|
|
5275
|
+
0% {
|
|
5276
|
+
background-position: -200% 0;
|
|
5277
|
+
}
|
|
5278
|
+
100% {
|
|
5279
|
+
background-position: 200% 0;
|
|
5280
|
+
}
|
|
5281
|
+
}
|
|
5282
|
+
|
|
5283
|
+
.muka-skeleton--shimmer {
|
|
5284
|
+
background: linear-gradient(
|
|
5285
|
+
90deg,
|
|
5286
|
+
var(--color-surface-level1) 25%,
|
|
5287
|
+
var(--color-surface-level2) 50%,
|
|
5288
|
+
var(--color-surface-level1) 75%
|
|
5289
|
+
);
|
|
5290
|
+
background-size: 200% 100%;
|
|
5291
|
+
animation: muka-skeleton-shimmer 1.5s ease-in-out infinite;
|
|
5292
|
+
}
|
|
5293
|
+
|
|
5294
|
+
/* Pulse animation */
|
|
5295
|
+
@keyframes muka-skeleton-pulse {
|
|
5296
|
+
0%, 100% {
|
|
5297
|
+
opacity: 1;
|
|
5298
|
+
}
|
|
5299
|
+
50% {
|
|
5300
|
+
opacity: 0.4;
|
|
5301
|
+
}
|
|
5302
|
+
}
|
|
5303
|
+
|
|
5304
|
+
.muka-skeleton--pulse {
|
|
5305
|
+
animation: muka-skeleton-pulse 1.5s ease-in-out infinite;
|
|
5306
|
+
}
|
|
5307
|
+
|
|
5308
|
+
|
|
5234
5309
|
/* Sheet */
|
|
5235
5310
|
/* Sheet Component Styles */
|
|
5236
5311
|
|
|
@@ -5311,98 +5386,23 @@ body {
|
|
|
5311
5386
|
}
|
|
5312
5387
|
|
|
5313
5388
|
|
|
5314
|
-
/*
|
|
5315
|
-
/*
|
|
5389
|
+
/* Select */
|
|
5390
|
+
/* Select Component Styles - Aligned with Input for consistency */
|
|
5316
5391
|
|
|
5317
|
-
.muka-
|
|
5318
|
-
|
|
5319
|
-
|
|
5392
|
+
.muka-select {
|
|
5393
|
+
display: inline-flex;
|
|
5394
|
+
flex-direction: column;
|
|
5395
|
+
gap: var(--spacing-2);
|
|
5320
5396
|
}
|
|
5321
5397
|
|
|
5322
|
-
|
|
5323
|
-
.muka-skeleton--text {
|
|
5324
|
-
height: 1em;
|
|
5325
|
-
border-radius: var(--radius-md);
|
|
5398
|
+
.muka-select--full-width {
|
|
5326
5399
|
width: 100%;
|
|
5327
5400
|
}
|
|
5328
5401
|
|
|
5329
|
-
|
|
5330
|
-
|
|
5331
|
-
|
|
5332
|
-
|
|
5333
|
-
}
|
|
5334
|
-
|
|
5335
|
-
.muka-skeleton--rectangular {
|
|
5336
|
-
height: 7.5rem;
|
|
5337
|
-
border-radius: var(--radius-md);
|
|
5338
|
-
width: 100%;
|
|
5339
|
-
}
|
|
5340
|
-
|
|
5341
|
-
/* Last line in multi-line text is shorter */
|
|
5342
|
-
.muka-skeleton--last-line {
|
|
5343
|
-
width: 80%;
|
|
5344
|
-
}
|
|
5345
|
-
|
|
5346
|
-
/* Lines container */
|
|
5347
|
-
.muka-skeleton__lines {
|
|
5348
|
-
display: flex;
|
|
5349
|
-
flex-direction: column;
|
|
5350
|
-
gap: var(--spacing-2);
|
|
5351
|
-
}
|
|
5352
|
-
|
|
5353
|
-
/* Shimmer animation */
|
|
5354
|
-
@keyframes muka-skeleton-shimmer {
|
|
5355
|
-
0% {
|
|
5356
|
-
background-position: -200% 0;
|
|
5357
|
-
}
|
|
5358
|
-
100% {
|
|
5359
|
-
background-position: 200% 0;
|
|
5360
|
-
}
|
|
5361
|
-
}
|
|
5362
|
-
|
|
5363
|
-
.muka-skeleton--shimmer {
|
|
5364
|
-
background: linear-gradient(
|
|
5365
|
-
90deg,
|
|
5366
|
-
var(--color-surface-level1) 25%,
|
|
5367
|
-
var(--color-surface-level2) 50%,
|
|
5368
|
-
var(--color-surface-level1) 75%
|
|
5369
|
-
);
|
|
5370
|
-
background-size: 200% 100%;
|
|
5371
|
-
animation: muka-skeleton-shimmer 1.5s ease-in-out infinite;
|
|
5372
|
-
}
|
|
5373
|
-
|
|
5374
|
-
/* Pulse animation */
|
|
5375
|
-
@keyframes muka-skeleton-pulse {
|
|
5376
|
-
0%, 100% {
|
|
5377
|
-
opacity: 1;
|
|
5378
|
-
}
|
|
5379
|
-
50% {
|
|
5380
|
-
opacity: 0.4;
|
|
5381
|
-
}
|
|
5382
|
-
}
|
|
5383
|
-
|
|
5384
|
-
.muka-skeleton--pulse {
|
|
5385
|
-
animation: muka-skeleton-pulse 1.5s ease-in-out infinite;
|
|
5386
|
-
}
|
|
5387
|
-
|
|
5388
|
-
|
|
5389
|
-
/* Select */
|
|
5390
|
-
/* Select Component Styles - Aligned with Input for consistency */
|
|
5391
|
-
|
|
5392
|
-
.muka-select {
|
|
5393
|
-
display: inline-flex;
|
|
5394
|
-
flex-direction: column;
|
|
5395
|
-
gap: var(--spacing-2);
|
|
5396
|
-
}
|
|
5397
|
-
|
|
5398
|
-
.muka-select--full-width {
|
|
5399
|
-
width: 100%;
|
|
5400
|
-
}
|
|
5401
|
-
|
|
5402
|
-
/* Label */
|
|
5403
|
-
.muka-select__label {
|
|
5404
|
-
color: var(--color-text-default-default);
|
|
5405
|
-
cursor: pointer;
|
|
5402
|
+
/* Label */
|
|
5403
|
+
.muka-select__label {
|
|
5404
|
+
color: var(--color-text-default-default);
|
|
5405
|
+
cursor: pointer;
|
|
5406
5406
|
}
|
|
5407
5407
|
|
|
5408
5408
|
.muka-select__label--sm {
|
|
@@ -6748,17 +6748,26 @@ body {
|
|
|
6748
6748
|
color: var(--color-text-default-inverse);
|
|
6749
6749
|
}
|
|
6750
6750
|
|
|
6751
|
-
.muka-progress-tracker--horizontal .muka-progress-tracker__indicator--
|
|
6751
|
+
.muka-progress-tracker--horizontal .muka-progress-tracker__indicator--interactive {
|
|
6752
6752
|
cursor: pointer;
|
|
6753
6753
|
}
|
|
6754
6754
|
|
|
6755
|
-
.muka-progress-tracker--horizontal .muka-progress-tracker__indicator--
|
|
6755
|
+
.muka-progress-tracker--horizontal .muka-progress-tracker__indicator--interactive:focus-visible {
|
|
6756
|
+
outline: 2px solid var(--color-border-focus);
|
|
6757
|
+
outline-offset: 2px;
|
|
6758
|
+
}
|
|
6759
|
+
|
|
6760
|
+
.muka-progress-tracker--horizontal .muka-progress-tracker__indicator--past.muka-progress-tracker__indicator--interactive:hover {
|
|
6756
6761
|
background-color: var(--alias-color-accent-pressed);
|
|
6757
6762
|
}
|
|
6758
6763
|
|
|
6759
|
-
.muka-progress-tracker--horizontal .muka-progress-tracker__indicator--
|
|
6760
|
-
|
|
6761
|
-
|
|
6764
|
+
.muka-progress-tracker--horizontal .muka-progress-tracker__indicator--current.muka-progress-tracker__indicator--interactive:hover {
|
|
6765
|
+
background-color: var(--alias-color-accent-hover);
|
|
6766
|
+
}
|
|
6767
|
+
|
|
6768
|
+
/* Upcoming (clickableSteps="all"): a 4px halo, the vertical hover's 40px circle */
|
|
6769
|
+
.muka-progress-tracker--horizontal .muka-progress-tracker__indicator--upcoming.muka-progress-tracker__indicator--interactive:hover {
|
|
6770
|
+
box-shadow: 0 0 0 4px var(--color-surface-level1);
|
|
6762
6771
|
}
|
|
6763
6772
|
|
|
6764
6773
|
/* Current: accent default circle with white number */
|
|
@@ -6831,6 +6840,15 @@ body {
|
|
|
6831
6840
|
font-weight: var(--text-label-sm-bold-fontWeight);
|
|
6832
6841
|
}
|
|
6833
6842
|
|
|
6843
|
+
/* Selected step: a pill behind the label (horizontal), matching the vertical
|
|
6844
|
+
selected pill's surface. The label stays centred under its indicator. */
|
|
6845
|
+
.muka-progress-tracker--horizontal .muka-progress-tracker__step[data-selected='true'] .muka-progress-tracker__label {
|
|
6846
|
+
padding: 0 var(--spacing-2);
|
|
6847
|
+
border-radius: var(--border-radius-full);
|
|
6848
|
+
background-color: var(--color-surface-level1);
|
|
6849
|
+
max-width: calc(120px + 2 * var(--spacing-2));
|
|
6850
|
+
}
|
|
6851
|
+
|
|
6834
6852
|
/* ─── Connectors layer (behind indicators) — horizontal ─── */
|
|
6835
6853
|
.muka-progress-tracker--horizontal .muka-progress-tracker__connectors {
|
|
6836
6854
|
display: flex;
|
|
@@ -7702,6 +7720,37 @@ body {
|
|
|
7702
7720
|
}
|
|
7703
7721
|
|
|
7704
7722
|
|
|
7723
|
+
/* Popover */
|
|
7724
|
+
/* Popover Component Styles */
|
|
7725
|
+
|
|
7726
|
+
.muka-popover__content {
|
|
7727
|
+
background-color: var(--color-surface-level3);
|
|
7728
|
+
border: var(--border-width-regular) solid var(--color-border-default);
|
|
7729
|
+
border-radius: var(--radius-md);
|
|
7730
|
+
padding: var(--spacing-4);
|
|
7731
|
+
box-shadow: var(--shadow-level3);
|
|
7732
|
+
max-width: 20rem;
|
|
7733
|
+
z-index: 50;
|
|
7734
|
+
animation: muka-popover-fade-in 150ms ease;
|
|
7735
|
+
}
|
|
7736
|
+
|
|
7737
|
+
@keyframes muka-popover-fade-in {
|
|
7738
|
+
from {
|
|
7739
|
+
opacity: 0;
|
|
7740
|
+
transform: scale(0.96);
|
|
7741
|
+
}
|
|
7742
|
+
to {
|
|
7743
|
+
opacity: 1;
|
|
7744
|
+
transform: scale(1);
|
|
7745
|
+
}
|
|
7746
|
+
}
|
|
7747
|
+
|
|
7748
|
+
/* Arrow */
|
|
7749
|
+
.muka-popover__arrow {
|
|
7750
|
+
fill: var(--color-surface-level3);
|
|
7751
|
+
}
|
|
7752
|
+
|
|
7753
|
+
|
|
7705
7754
|
/* PieChart */
|
|
7706
7755
|
/* PieChart Component Styles - Using Muka Design Tokens */
|
|
7707
7756
|
|
|
@@ -7799,37 +7848,6 @@ body {
|
|
|
7799
7848
|
}
|
|
7800
7849
|
|
|
7801
7850
|
|
|
7802
|
-
/* Popover */
|
|
7803
|
-
/* Popover Component Styles */
|
|
7804
|
-
|
|
7805
|
-
.muka-popover__content {
|
|
7806
|
-
background-color: var(--color-surface-level3);
|
|
7807
|
-
border: var(--border-width-regular) solid var(--color-border-default);
|
|
7808
|
-
border-radius: var(--radius-md);
|
|
7809
|
-
padding: var(--spacing-4);
|
|
7810
|
-
box-shadow: var(--shadow-level3);
|
|
7811
|
-
max-width: 20rem;
|
|
7812
|
-
z-index: 50;
|
|
7813
|
-
animation: muka-popover-fade-in 150ms ease;
|
|
7814
|
-
}
|
|
7815
|
-
|
|
7816
|
-
@keyframes muka-popover-fade-in {
|
|
7817
|
-
from {
|
|
7818
|
-
opacity: 0;
|
|
7819
|
-
transform: scale(0.96);
|
|
7820
|
-
}
|
|
7821
|
-
to {
|
|
7822
|
-
opacity: 1;
|
|
7823
|
-
transform: scale(1);
|
|
7824
|
-
}
|
|
7825
|
-
}
|
|
7826
|
-
|
|
7827
|
-
/* Arrow */
|
|
7828
|
-
.muka-popover__arrow {
|
|
7829
|
-
fill: var(--color-surface-level3);
|
|
7830
|
-
}
|
|
7831
|
-
|
|
7832
|
-
|
|
7833
7851
|
/* PhotoUploader */
|
|
7834
7852
|
/* PhotoUploader Component Styles - Using Muka Design Tokens */
|
|
7835
7853
|
|
|
@@ -10165,93 +10183,234 @@ li.muka-listitem {
|
|
|
10165
10183
|
}
|
|
10166
10184
|
|
|
10167
10185
|
|
|
10168
|
-
/*
|
|
10169
|
-
/*
|
|
10186
|
+
/* EmptyState */
|
|
10187
|
+
/* EmptyState Component Styles - Using Muka Design Tokens */
|
|
10170
10188
|
|
|
10171
|
-
.muka-
|
|
10172
|
-
display:
|
|
10173
|
-
|
|
10174
|
-
|
|
10175
|
-
|
|
10176
|
-
|
|
10177
|
-
|
|
10178
|
-
|
|
10179
|
-
|
|
10180
|
-
border-radius: var(--radius-lg);
|
|
10181
|
-
box-shadow: var(--menu-content-shadow, 0 4px 12px rgba(0, 0, 0, 0.12));
|
|
10189
|
+
.muka-emptystate {
|
|
10190
|
+
display: flex;
|
|
10191
|
+
flex-direction: column;
|
|
10192
|
+
align-items: center;
|
|
10193
|
+
justify-content: center;
|
|
10194
|
+
gap: var(--emptystate-container-gap);
|
|
10195
|
+
max-width: var(--emptystate-container-maxWidth);
|
|
10196
|
+
margin: 0 auto;
|
|
10197
|
+
text-align: center;
|
|
10182
10198
|
}
|
|
10183
10199
|
|
|
10184
|
-
|
|
10185
|
-
|
|
10186
|
-
|
|
10200
|
+
/* Alignment variants */
|
|
10201
|
+
.muka-emptystate--left {
|
|
10202
|
+
align-items: flex-start;
|
|
10203
|
+
text-align: left;
|
|
10187
10204
|
}
|
|
10188
10205
|
|
|
10206
|
+
/* Size variants */
|
|
10207
|
+
.muka-emptystate--sm {
|
|
10208
|
+
padding: var(--emptystate-container-padding-sm);
|
|
10209
|
+
}
|
|
10189
10210
|
|
|
10190
|
-
|
|
10191
|
-
|
|
10192
|
-
|
|
10193
|
-
.muka-dropdown-select {
|
|
10194
|
-
display: inline-flex;
|
|
10195
|
-
flex-direction: column;
|
|
10196
|
-
gap: var(--spacing-2);
|
|
10197
|
-
min-width: 200px;
|
|
10211
|
+
.muka-emptystate--md {
|
|
10212
|
+
padding: var(--emptystate-container-padding-md);
|
|
10198
10213
|
}
|
|
10199
10214
|
|
|
10200
|
-
.muka-
|
|
10201
|
-
|
|
10215
|
+
.muka-emptystate--lg {
|
|
10216
|
+
padding: var(--emptystate-container-padding-lg);
|
|
10202
10217
|
}
|
|
10203
10218
|
|
|
10204
|
-
|
|
10205
|
-
|
|
10206
|
-
|
|
10219
|
+
/* Visual (icon or illustration) */
|
|
10220
|
+
.muka-emptystate__visual {
|
|
10221
|
+
display: flex;
|
|
10222
|
+
align-items: center;
|
|
10223
|
+
justify-content: center;
|
|
10224
|
+
color: var(--emptystate-icon-color);
|
|
10225
|
+
flex-shrink: 0;
|
|
10207
10226
|
}
|
|
10208
10227
|
|
|
10209
|
-
.muka-
|
|
10210
|
-
|
|
10211
|
-
|
|
10212
|
-
font-size: var(--text-label-sm-semibold-fontSize);
|
|
10213
|
-
line-height: var(--text-label-sm-semibold-lineHeight);
|
|
10228
|
+
.muka-emptystate--sm .muka-emptystate__visual {
|
|
10229
|
+
width: var(--emptystate-icon-size-sm);
|
|
10230
|
+
height: var(--emptystate-icon-size-sm);
|
|
10214
10231
|
}
|
|
10215
10232
|
|
|
10216
|
-
.muka-
|
|
10217
|
-
|
|
10218
|
-
|
|
10219
|
-
font-size: var(--text-label-md-semibold-fontSize);
|
|
10220
|
-
line-height: var(--text-label-md-semibold-lineHeight);
|
|
10233
|
+
.muka-emptystate--md .muka-emptystate__visual {
|
|
10234
|
+
width: var(--emptystate-icon-size-md);
|
|
10235
|
+
height: var(--emptystate-icon-size-md);
|
|
10221
10236
|
}
|
|
10222
10237
|
|
|
10223
|
-
.muka-
|
|
10224
|
-
|
|
10225
|
-
|
|
10226
|
-
font-size: var(--text-label-lg-semibold-fontSize);
|
|
10227
|
-
line-height: var(--text-label-lg-semibold-lineHeight);
|
|
10238
|
+
.muka-emptystate--lg .muka-emptystate__visual {
|
|
10239
|
+
width: var(--emptystate-icon-size-lg);
|
|
10240
|
+
height: var(--emptystate-icon-size-lg);
|
|
10228
10241
|
}
|
|
10229
10242
|
|
|
10230
|
-
.muka-
|
|
10231
|
-
|
|
10243
|
+
.muka-emptystate__visual svg {
|
|
10244
|
+
width: 100%;
|
|
10245
|
+
height: 100%;
|
|
10232
10246
|
}
|
|
10233
10247
|
|
|
10234
|
-
.muka-
|
|
10235
|
-
display: flex;
|
|
10236
|
-
align-items: center;
|
|
10237
|
-
gap: var(--spacing-1);
|
|
10248
|
+
.muka-emptystate__visual img {
|
|
10238
10249
|
width: 100%;
|
|
10239
|
-
|
|
10240
|
-
|
|
10241
|
-
background-color: var(--input-field-color-default-background);
|
|
10242
|
-
border: var(--border-width-regular) solid var(--input-field-color-default-border);
|
|
10243
|
-
border-radius: var(--input-field-radius-lg);
|
|
10244
|
-
padding: var(--spacing-2);
|
|
10245
|
-
padding-right: calc(var(--spacing-2) + var(--size-2xl, 2rem));
|
|
10246
|
-
text-align: left;
|
|
10247
|
-
cursor: pointer;
|
|
10248
|
-
color: var(--color-text-default-default);
|
|
10249
|
-
transition: border-color 0.12s ease, background-color 0.12s ease;
|
|
10250
|
-
-webkit-tap-highlight-color: transparent;
|
|
10250
|
+
height: 100%;
|
|
10251
|
+
object-fit: contain;
|
|
10251
10252
|
}
|
|
10252
10253
|
|
|
10253
|
-
|
|
10254
|
-
|
|
10254
|
+
/* Content */
|
|
10255
|
+
.muka-emptystate__content {
|
|
10256
|
+
display: flex;
|
|
10257
|
+
flex-direction: column;
|
|
10258
|
+
gap: var(--spacing-2);
|
|
10259
|
+
}
|
|
10260
|
+
|
|
10261
|
+
.muka-emptystate--left .muka-emptystate__content {
|
|
10262
|
+
align-items: flex-start;
|
|
10263
|
+
}
|
|
10264
|
+
|
|
10265
|
+
/* Title */
|
|
10266
|
+
.muka-emptystate__title {
|
|
10267
|
+
color: var(--emptystate-title-color);
|
|
10268
|
+
margin: 0;
|
|
10269
|
+
font-family: var(--text-heading-sm-fontFamily);
|
|
10270
|
+
font-weight: var(--text-heading-sm-fontWeight);
|
|
10271
|
+
font-size: var(--text-heading-sm-fontSize);
|
|
10272
|
+
line-height: var(--text-heading-sm-lineHeight);
|
|
10273
|
+
}
|
|
10274
|
+
|
|
10275
|
+
.muka-emptystate--sm .muka-emptystate__title {
|
|
10276
|
+
font-family: var(--text-label-lg-semibold-fontFamily);
|
|
10277
|
+
font-weight: var(--text-label-lg-semibold-fontWeight);
|
|
10278
|
+
font-size: var(--text-label-lg-semibold-fontSize);
|
|
10279
|
+
line-height: var(--text-label-lg-semibold-lineHeight);
|
|
10280
|
+
}
|
|
10281
|
+
|
|
10282
|
+
.muka-emptystate--lg .muka-emptystate__title {
|
|
10283
|
+
font-family: var(--text-heading-md-fontFamily);
|
|
10284
|
+
font-weight: var(--text-heading-md-fontWeight);
|
|
10285
|
+
font-size: var(--text-heading-md-fontSize);
|
|
10286
|
+
line-height: var(--text-heading-md-lineHeight);
|
|
10287
|
+
}
|
|
10288
|
+
|
|
10289
|
+
/* Description */
|
|
10290
|
+
.muka-emptystate__description {
|
|
10291
|
+
color: var(--emptystate-description-color);
|
|
10292
|
+
margin: 0;
|
|
10293
|
+
font-family: var(--text-body-sm-regular-fontFamily);
|
|
10294
|
+
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
10295
|
+
font-size: var(--text-body-sm-regular-fontSize);
|
|
10296
|
+
line-height: var(--text-body-sm-regular-lineHeight);
|
|
10297
|
+
}
|
|
10298
|
+
|
|
10299
|
+
.muka-emptystate--md .muka-emptystate__description {
|
|
10300
|
+
font-family: var(--text-body-base-regular-fontFamily);
|
|
10301
|
+
font-weight: var(--text-body-base-regular-fontWeight);
|
|
10302
|
+
font-size: var(--text-body-base-regular-fontSize);
|
|
10303
|
+
line-height: var(--text-body-base-regular-lineHeight);
|
|
10304
|
+
}
|
|
10305
|
+
|
|
10306
|
+
.muka-emptystate--lg .muka-emptystate__description {
|
|
10307
|
+
font-family: var(--text-body-lg-regular-fontFamily);
|
|
10308
|
+
font-weight: var(--text-body-lg-regular-fontWeight);
|
|
10309
|
+
font-size: var(--text-body-lg-regular-fontSize);
|
|
10310
|
+
line-height: var(--text-body-lg-regular-lineHeight);
|
|
10311
|
+
}
|
|
10312
|
+
|
|
10313
|
+
/* Actions */
|
|
10314
|
+
.muka-emptystate__actions {
|
|
10315
|
+
display: flex;
|
|
10316
|
+
gap: var(--emptystate-actions-gap);
|
|
10317
|
+
margin-top: var(--emptystate-actions-marginTop);
|
|
10318
|
+
flex-wrap: wrap;
|
|
10319
|
+
justify-content: center;
|
|
10320
|
+
}
|
|
10321
|
+
|
|
10322
|
+
.muka-emptystate--left .muka-emptystate__actions {
|
|
10323
|
+
justify-content: flex-start;
|
|
10324
|
+
}
|
|
10325
|
+
|
|
10326
|
+
|
|
10327
|
+
/* EmojiPicker */
|
|
10328
|
+
/* EmojiPicker Component Styles */
|
|
10329
|
+
|
|
10330
|
+
.muka-emoji-picker {
|
|
10331
|
+
display: grid;
|
|
10332
|
+
grid-template-columns: repeat(8, 1fr);
|
|
10333
|
+
gap: var(--spacing-1);
|
|
10334
|
+
padding: var(--spacing-2);
|
|
10335
|
+
max-height: 12rem;
|
|
10336
|
+
overflow-y: auto;
|
|
10337
|
+
background: var(--color-surface-level2);
|
|
10338
|
+
border: var(--border-width-regular, 1px) solid var(--color-border-default);
|
|
10339
|
+
border-radius: var(--radius-lg);
|
|
10340
|
+
box-shadow: var(--menu-content-shadow, 0 4px 12px rgba(0, 0, 0, 0.12));
|
|
10341
|
+
}
|
|
10342
|
+
|
|
10343
|
+
.muka-emoji-picker__glyph {
|
|
10344
|
+
font-size: 1.25rem;
|
|
10345
|
+
line-height: 1;
|
|
10346
|
+
}
|
|
10347
|
+
|
|
10348
|
+
|
|
10349
|
+
/* DropdownSelect */
|
|
10350
|
+
/* DropdownSelect — Figma Dropdown Menu form field (Menu + chips) */
|
|
10351
|
+
|
|
10352
|
+
.muka-dropdown-select {
|
|
10353
|
+
display: inline-flex;
|
|
10354
|
+
flex-direction: column;
|
|
10355
|
+
gap: var(--spacing-2);
|
|
10356
|
+
min-width: 200px;
|
|
10357
|
+
}
|
|
10358
|
+
|
|
10359
|
+
.muka-dropdown-select--full-width {
|
|
10360
|
+
width: 100%;
|
|
10361
|
+
}
|
|
10362
|
+
|
|
10363
|
+
.muka-dropdown-select__label {
|
|
10364
|
+
color: var(--color-text-default-default);
|
|
10365
|
+
cursor: pointer;
|
|
10366
|
+
}
|
|
10367
|
+
|
|
10368
|
+
.muka-dropdown-select__label--sm {
|
|
10369
|
+
font-family: var(--text-label-sm-semibold-fontFamily);
|
|
10370
|
+
font-weight: var(--text-label-sm-semibold-fontWeight);
|
|
10371
|
+
font-size: var(--text-label-sm-semibold-fontSize);
|
|
10372
|
+
line-height: var(--text-label-sm-semibold-lineHeight);
|
|
10373
|
+
}
|
|
10374
|
+
|
|
10375
|
+
.muka-dropdown-select__label--md {
|
|
10376
|
+
font-family: var(--text-label-md-semibold-fontFamily);
|
|
10377
|
+
font-weight: var(--text-label-md-semibold-fontWeight);
|
|
10378
|
+
font-size: var(--text-label-md-semibold-fontSize);
|
|
10379
|
+
line-height: var(--text-label-md-semibold-lineHeight);
|
|
10380
|
+
}
|
|
10381
|
+
|
|
10382
|
+
.muka-dropdown-select__label--lg {
|
|
10383
|
+
font-family: var(--text-label-lg-semibold-fontFamily);
|
|
10384
|
+
font-weight: var(--text-label-lg-semibold-fontWeight);
|
|
10385
|
+
font-size: var(--text-label-lg-semibold-fontSize);
|
|
10386
|
+
line-height: var(--text-label-lg-semibold-lineHeight);
|
|
10387
|
+
}
|
|
10388
|
+
|
|
10389
|
+
.muka-dropdown-select__required {
|
|
10390
|
+
color: var(--color-state-error-default);
|
|
10391
|
+
}
|
|
10392
|
+
|
|
10393
|
+
.muka-dropdown-select__field {
|
|
10394
|
+
display: flex;
|
|
10395
|
+
align-items: center;
|
|
10396
|
+
gap: var(--spacing-1);
|
|
10397
|
+
width: 100%;
|
|
10398
|
+
position: relative;
|
|
10399
|
+
box-sizing: border-box;
|
|
10400
|
+
background-color: var(--input-field-color-default-background);
|
|
10401
|
+
border: var(--border-width-regular) solid var(--input-field-color-default-border);
|
|
10402
|
+
border-radius: var(--input-field-radius-lg);
|
|
10403
|
+
padding: var(--spacing-2);
|
|
10404
|
+
padding-right: calc(var(--spacing-2) + var(--size-2xl, 2rem));
|
|
10405
|
+
text-align: left;
|
|
10406
|
+
cursor: pointer;
|
|
10407
|
+
color: var(--color-text-default-default);
|
|
10408
|
+
transition: border-color 0.12s ease, background-color 0.12s ease;
|
|
10409
|
+
-webkit-tap-highlight-color: transparent;
|
|
10410
|
+
}
|
|
10411
|
+
|
|
10412
|
+
.muka-dropdown-select__field::after {
|
|
10413
|
+
content: '';
|
|
10255
10414
|
position: absolute;
|
|
10256
10415
|
inset: 0;
|
|
10257
10416
|
border-radius: inherit;
|
|
@@ -11148,210 +11307,69 @@ li.muka-listitem {
|
|
|
11148
11307
|
}
|
|
11149
11308
|
|
|
11150
11309
|
|
|
11151
|
-
/*
|
|
11152
|
-
/*
|
|
11310
|
+
/* DatePicker */
|
|
11311
|
+
/* DatePicker — compact native date field. */
|
|
11312
|
+
/* Field/label/helper styling is inherited from ../Input/Input.css. */
|
|
11153
11313
|
|
|
11154
|
-
.
|
|
11155
|
-
|
|
11156
|
-
|
|
11157
|
-
|
|
11158
|
-
|
|
11159
|
-
gap: var(--emptystate-container-gap);
|
|
11160
|
-
max-width: var(--emptystate-container-maxWidth);
|
|
11161
|
-
margin: 0 auto;
|
|
11162
|
-
text-align: center;
|
|
11314
|
+
/* Adopt the field typography on the native date input. */
|
|
11315
|
+
.muka-datepicker__field .muka-input__native {
|
|
11316
|
+
font-family: var(--text-input-md-fontFamily);
|
|
11317
|
+
font-size: var(--text-input-md-fontSize);
|
|
11318
|
+
line-height: var(--text-input-md-lineHeight);
|
|
11163
11319
|
}
|
|
11164
11320
|
|
|
11165
|
-
|
|
11166
|
-
|
|
11167
|
-
|
|
11168
|
-
|
|
11321
|
+
.muka-datepicker__field--sm .muka-input__native {
|
|
11322
|
+
font-family: var(--text-input-sm-fontFamily);
|
|
11323
|
+
font-size: var(--text-input-sm-fontSize);
|
|
11324
|
+
line-height: var(--text-input-sm-lineHeight);
|
|
11169
11325
|
}
|
|
11170
11326
|
|
|
11171
|
-
/*
|
|
11172
|
-
.muka-
|
|
11173
|
-
|
|
11327
|
+
/* Tint the browser calendar indicator to match the field foreground. */
|
|
11328
|
+
.muka-datepicker__field .muka-input__native::-webkit-calendar-picker-indicator {
|
|
11329
|
+
cursor: pointer;
|
|
11330
|
+
opacity: 0.6;
|
|
11174
11331
|
}
|
|
11175
11332
|
|
|
11176
|
-
.muka-
|
|
11177
|
-
|
|
11333
|
+
.muka-datepicker__field .muka-input__native::-webkit-calendar-picker-indicator:hover {
|
|
11334
|
+
opacity: 1;
|
|
11178
11335
|
}
|
|
11179
11336
|
|
|
11180
|
-
.muka-
|
|
11181
|
-
|
|
11337
|
+
.muka-datepicker__field .muka-input__native:disabled {
|
|
11338
|
+
cursor: not-allowed;
|
|
11182
11339
|
}
|
|
11183
11340
|
|
|
11184
|
-
/* Visual (icon or illustration) */
|
|
11185
|
-
.muka-emptystate__visual {
|
|
11186
|
-
display: flex;
|
|
11187
|
-
align-items: center;
|
|
11188
|
-
justify-content: center;
|
|
11189
|
-
color: var(--emptystate-icon-color);
|
|
11190
|
-
flex-shrink: 0;
|
|
11191
|
-
}
|
|
11192
11341
|
|
|
11193
|
-
|
|
11194
|
-
|
|
11195
|
-
height: var(--emptystate-icon-size-sm);
|
|
11196
|
-
}
|
|
11342
|
+
/* DataTable */
|
|
11343
|
+
/* DataTable Component Styles - Using Muka Design Tokens */
|
|
11197
11344
|
|
|
11198
|
-
.muka-
|
|
11199
|
-
width:
|
|
11200
|
-
|
|
11345
|
+
.muka-data-table-wrapper {
|
|
11346
|
+
width: 100%;
|
|
11347
|
+
overflow-x: auto;
|
|
11348
|
+
-webkit-overflow-scrolling: touch;
|
|
11201
11349
|
}
|
|
11202
11350
|
|
|
11203
|
-
.muka-
|
|
11204
|
-
|
|
11205
|
-
|
|
11206
|
-
|
|
11351
|
+
.muka-data-table {
|
|
11352
|
+
/* Density-driven cell padding (overridden per size below). */
|
|
11353
|
+
--dt-pad-x: var(--datatable-cell-padding-x-md);
|
|
11354
|
+
--dt-pad-y: var(--datatable-cell-padding-y-md);
|
|
11207
11355
|
|
|
11208
|
-
.muka-emptystate__visual svg {
|
|
11209
11356
|
width: 100%;
|
|
11210
|
-
|
|
11357
|
+
border-collapse: collapse;
|
|
11358
|
+
border-spacing: 0;
|
|
11359
|
+
/* auto layout so per-column min/max widths are honored and unsized columns flex */
|
|
11360
|
+
table-layout: auto;
|
|
11361
|
+
background-color: var(--datatable-row-background);
|
|
11362
|
+
color: var(--datatable-row-foreground);
|
|
11211
11363
|
}
|
|
11212
11364
|
|
|
11213
|
-
.muka-
|
|
11214
|
-
|
|
11215
|
-
|
|
11216
|
-
object-fit: contain;
|
|
11365
|
+
.muka-data-table--size-sm {
|
|
11366
|
+
--dt-pad-x: var(--datatable-cell-padding-x-sm);
|
|
11367
|
+
--dt-pad-y: var(--datatable-cell-padding-y-sm);
|
|
11217
11368
|
}
|
|
11218
11369
|
|
|
11219
|
-
|
|
11220
|
-
|
|
11221
|
-
|
|
11222
|
-
flex-direction: column;
|
|
11223
|
-
gap: var(--spacing-2);
|
|
11224
|
-
}
|
|
11225
|
-
|
|
11226
|
-
.muka-emptystate--left .muka-emptystate__content {
|
|
11227
|
-
align-items: flex-start;
|
|
11228
|
-
}
|
|
11229
|
-
|
|
11230
|
-
/* Title */
|
|
11231
|
-
.muka-emptystate__title {
|
|
11232
|
-
color: var(--emptystate-title-color);
|
|
11233
|
-
margin: 0;
|
|
11234
|
-
font-family: var(--text-heading-sm-fontFamily);
|
|
11235
|
-
font-weight: var(--text-heading-sm-fontWeight);
|
|
11236
|
-
font-size: var(--text-heading-sm-fontSize);
|
|
11237
|
-
line-height: var(--text-heading-sm-lineHeight);
|
|
11238
|
-
}
|
|
11239
|
-
|
|
11240
|
-
.muka-emptystate--sm .muka-emptystate__title {
|
|
11241
|
-
font-family: var(--text-label-lg-semibold-fontFamily);
|
|
11242
|
-
font-weight: var(--text-label-lg-semibold-fontWeight);
|
|
11243
|
-
font-size: var(--text-label-lg-semibold-fontSize);
|
|
11244
|
-
line-height: var(--text-label-lg-semibold-lineHeight);
|
|
11245
|
-
}
|
|
11246
|
-
|
|
11247
|
-
.muka-emptystate--lg .muka-emptystate__title {
|
|
11248
|
-
font-family: var(--text-heading-md-fontFamily);
|
|
11249
|
-
font-weight: var(--text-heading-md-fontWeight);
|
|
11250
|
-
font-size: var(--text-heading-md-fontSize);
|
|
11251
|
-
line-height: var(--text-heading-md-lineHeight);
|
|
11252
|
-
}
|
|
11253
|
-
|
|
11254
|
-
/* Description */
|
|
11255
|
-
.muka-emptystate__description {
|
|
11256
|
-
color: var(--emptystate-description-color);
|
|
11257
|
-
margin: 0;
|
|
11258
|
-
font-family: var(--text-body-sm-regular-fontFamily);
|
|
11259
|
-
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
11260
|
-
font-size: var(--text-body-sm-regular-fontSize);
|
|
11261
|
-
line-height: var(--text-body-sm-regular-lineHeight);
|
|
11262
|
-
}
|
|
11263
|
-
|
|
11264
|
-
.muka-emptystate--md .muka-emptystate__description {
|
|
11265
|
-
font-family: var(--text-body-base-regular-fontFamily);
|
|
11266
|
-
font-weight: var(--text-body-base-regular-fontWeight);
|
|
11267
|
-
font-size: var(--text-body-base-regular-fontSize);
|
|
11268
|
-
line-height: var(--text-body-base-regular-lineHeight);
|
|
11269
|
-
}
|
|
11270
|
-
|
|
11271
|
-
.muka-emptystate--lg .muka-emptystate__description {
|
|
11272
|
-
font-family: var(--text-body-lg-regular-fontFamily);
|
|
11273
|
-
font-weight: var(--text-body-lg-regular-fontWeight);
|
|
11274
|
-
font-size: var(--text-body-lg-regular-fontSize);
|
|
11275
|
-
line-height: var(--text-body-lg-regular-lineHeight);
|
|
11276
|
-
}
|
|
11277
|
-
|
|
11278
|
-
/* Actions */
|
|
11279
|
-
.muka-emptystate__actions {
|
|
11280
|
-
display: flex;
|
|
11281
|
-
gap: var(--emptystate-actions-gap);
|
|
11282
|
-
margin-top: var(--emptystate-actions-marginTop);
|
|
11283
|
-
flex-wrap: wrap;
|
|
11284
|
-
justify-content: center;
|
|
11285
|
-
}
|
|
11286
|
-
|
|
11287
|
-
.muka-emptystate--left .muka-emptystate__actions {
|
|
11288
|
-
justify-content: flex-start;
|
|
11289
|
-
}
|
|
11290
|
-
|
|
11291
|
-
|
|
11292
|
-
/* DatePicker */
|
|
11293
|
-
/* DatePicker — compact native date field. */
|
|
11294
|
-
/* Field/label/helper styling is inherited from ../Input/Input.css. */
|
|
11295
|
-
|
|
11296
|
-
/* Adopt the field typography on the native date input. */
|
|
11297
|
-
.muka-datepicker__field .muka-input__native {
|
|
11298
|
-
font-family: var(--text-input-md-fontFamily);
|
|
11299
|
-
font-size: var(--text-input-md-fontSize);
|
|
11300
|
-
line-height: var(--text-input-md-lineHeight);
|
|
11301
|
-
}
|
|
11302
|
-
|
|
11303
|
-
.muka-datepicker__field--sm .muka-input__native {
|
|
11304
|
-
font-family: var(--text-input-sm-fontFamily);
|
|
11305
|
-
font-size: var(--text-input-sm-fontSize);
|
|
11306
|
-
line-height: var(--text-input-sm-lineHeight);
|
|
11307
|
-
}
|
|
11308
|
-
|
|
11309
|
-
/* Tint the browser calendar indicator to match the field foreground. */
|
|
11310
|
-
.muka-datepicker__field .muka-input__native::-webkit-calendar-picker-indicator {
|
|
11311
|
-
cursor: pointer;
|
|
11312
|
-
opacity: 0.6;
|
|
11313
|
-
}
|
|
11314
|
-
|
|
11315
|
-
.muka-datepicker__field .muka-input__native::-webkit-calendar-picker-indicator:hover {
|
|
11316
|
-
opacity: 1;
|
|
11317
|
-
}
|
|
11318
|
-
|
|
11319
|
-
.muka-datepicker__field .muka-input__native:disabled {
|
|
11320
|
-
cursor: not-allowed;
|
|
11321
|
-
}
|
|
11322
|
-
|
|
11323
|
-
|
|
11324
|
-
/* DataTable */
|
|
11325
|
-
/* DataTable Component Styles - Using Muka Design Tokens */
|
|
11326
|
-
|
|
11327
|
-
.muka-data-table-wrapper {
|
|
11328
|
-
width: 100%;
|
|
11329
|
-
overflow-x: auto;
|
|
11330
|
-
-webkit-overflow-scrolling: touch;
|
|
11331
|
-
}
|
|
11332
|
-
|
|
11333
|
-
.muka-data-table {
|
|
11334
|
-
/* Density-driven cell padding (overridden per size below). */
|
|
11335
|
-
--dt-pad-x: var(--datatable-cell-padding-x-md);
|
|
11336
|
-
--dt-pad-y: var(--datatable-cell-padding-y-md);
|
|
11337
|
-
|
|
11338
|
-
width: 100%;
|
|
11339
|
-
border-collapse: collapse;
|
|
11340
|
-
border-spacing: 0;
|
|
11341
|
-
/* auto layout so per-column min/max widths are honored and unsized columns flex */
|
|
11342
|
-
table-layout: auto;
|
|
11343
|
-
background-color: var(--datatable-row-background);
|
|
11344
|
-
color: var(--datatable-row-foreground);
|
|
11345
|
-
}
|
|
11346
|
-
|
|
11347
|
-
.muka-data-table--size-sm {
|
|
11348
|
-
--dt-pad-x: var(--datatable-cell-padding-x-sm);
|
|
11349
|
-
--dt-pad-y: var(--datatable-cell-padding-y-sm);
|
|
11350
|
-
}
|
|
11351
|
-
|
|
11352
|
-
.muka-data-table--size-lg {
|
|
11353
|
-
--dt-pad-x: var(--datatable-cell-padding-x-lg);
|
|
11354
|
-
--dt-pad-y: var(--datatable-cell-padding-y-lg);
|
|
11370
|
+
.muka-data-table--size-lg {
|
|
11371
|
+
--dt-pad-x: var(--datatable-cell-padding-x-lg);
|
|
11372
|
+
--dt-pad-y: var(--datatable-cell-padding-y-lg);
|
|
11355
11373
|
}
|
|
11356
11374
|
|
|
11357
11375
|
.muka-data-table__caption {
|
|
@@ -12295,13 +12313,16 @@ li.muka-listitem {
|
|
|
12295
12313
|
}
|
|
12296
12314
|
|
|
12297
12315
|
/* Tighter trailing padding when the dismiss button is present */
|
|
12298
|
-
.muka-chip--sm.muka-chip--dismissible
|
|
12316
|
+
.muka-chip--sm.muka-chip--dismissible,
|
|
12317
|
+
.muka-chip--sm.muka-chip--expandable {
|
|
12299
12318
|
padding-right: var(--chip-padding-trailing-sm);
|
|
12300
12319
|
}
|
|
12301
|
-
.muka-chip--md.muka-chip--dismissible
|
|
12320
|
+
.muka-chip--md.muka-chip--dismissible,
|
|
12321
|
+
.muka-chip--md.muka-chip--expandable {
|
|
12302
12322
|
padding-right: var(--chip-padding-trailing-md);
|
|
12303
12323
|
}
|
|
12304
|
-
.muka-chip--lg.muka-chip--dismissible
|
|
12324
|
+
.muka-chip--lg.muka-chip--dismissible,
|
|
12325
|
+
.muka-chip--lg.muka-chip--expandable {
|
|
12305
12326
|
padding-right: var(--chip-padding-trailing-lg);
|
|
12306
12327
|
}
|
|
12307
12328
|
|
|
@@ -12349,8 +12370,9 @@ li.muka-listitem {
|
|
|
12349
12370
|
line-height: normal;
|
|
12350
12371
|
}
|
|
12351
12372
|
|
|
12352
|
-
/*
|
|
12353
|
-
.muka-chip__remove
|
|
12373
|
+
/* Trailing button (dismiss or expand) — circular. Figma circle sizes: sm 20, md 24, lg 32 */
|
|
12374
|
+
.muka-chip__remove,
|
|
12375
|
+
.muka-chip__expand {
|
|
12354
12376
|
display: inline-flex;
|
|
12355
12377
|
align-items: center;
|
|
12356
12378
|
justify-content: center;
|
|
@@ -12363,15 +12385,18 @@ li.muka-listitem {
|
|
|
12363
12385
|
transition: background-color 0.15s ease, color 0.15s ease;
|
|
12364
12386
|
}
|
|
12365
12387
|
|
|
12366
|
-
.muka-chip--sm .muka-chip__remove
|
|
12388
|
+
.muka-chip--sm .muka-chip__remove,
|
|
12389
|
+
.muka-chip--sm .muka-chip__expand {
|
|
12367
12390
|
width: var(--icon-size-sm);
|
|
12368
12391
|
height: var(--icon-size-sm);
|
|
12369
12392
|
}
|
|
12370
|
-
.muka-chip--md .muka-chip__remove
|
|
12393
|
+
.muka-chip--md .muka-chip__remove,
|
|
12394
|
+
.muka-chip--md .muka-chip__expand {
|
|
12371
12395
|
width: var(--icon-size-default);
|
|
12372
12396
|
height: var(--icon-size-default);
|
|
12373
12397
|
}
|
|
12374
|
-
.muka-chip--lg .muka-chip__remove
|
|
12398
|
+
.muka-chip--lg .muka-chip__remove,
|
|
12399
|
+
.muka-chip--lg .muka-chip__expand {
|
|
12375
12400
|
width: var(--icon-size-lg);
|
|
12376
12401
|
height: var(--icon-size-lg);
|
|
12377
12402
|
}
|
|
@@ -12381,72 +12406,117 @@ li.muka-listitem {
|
|
|
12381
12406
|
outline-offset: 2px;
|
|
12382
12407
|
}
|
|
12383
12408
|
|
|
12409
|
+
/*
|
|
12410
|
+
* Expandable chip (Figma "Chip/Trailing Expand"): the whole chip is one button,
|
|
12411
|
+
* typically a menu trigger. Hovering or pressing anywhere on it drives the
|
|
12412
|
+
* chevron's hover / pressed steps; an open menu (aria-expanded) shows pressed,
|
|
12413
|
+
* like Button's open state.
|
|
12414
|
+
*/
|
|
12415
|
+
.muka-chip--expandable {
|
|
12416
|
+
margin: 0;
|
|
12417
|
+
text-align: inherit;
|
|
12418
|
+
cursor: pointer;
|
|
12419
|
+
}
|
|
12420
|
+
|
|
12421
|
+
.muka-chip--expandable:focus-visible {
|
|
12422
|
+
outline: 2px solid var(--color-border-focus);
|
|
12423
|
+
outline-offset: 2px;
|
|
12424
|
+
}
|
|
12425
|
+
|
|
12426
|
+
.muka-chip--expandable:disabled {
|
|
12427
|
+
cursor: not-allowed;
|
|
12428
|
+
}
|
|
12429
|
+
|
|
12430
|
+
.muka-chip__expand {
|
|
12431
|
+
pointer-events: none;
|
|
12432
|
+
}
|
|
12433
|
+
|
|
12384
12434
|
/*
|
|
12385
12435
|
* Dismiss button colors — state-tinted per chip variant, with default / hover /
|
|
12386
12436
|
* pressed steps. Values come from T4 chip.dismiss.* tokens, which reference the
|
|
12387
12437
|
* brand-specific alias state-surface ramp. The ✕ (.muka-icon) inherits `color`.
|
|
12388
12438
|
*/
|
|
12389
|
-
.muka-chip--default .muka-chip__remove
|
|
12439
|
+
.muka-chip--default .muka-chip__remove,
|
|
12440
|
+
.muka-chip--default .muka-chip__expand {
|
|
12390
12441
|
background-color: var(--chip-dismiss-default-background-default);
|
|
12391
12442
|
color: var(--chip-dismiss-default-foreground-default);
|
|
12392
12443
|
}
|
|
12393
|
-
.muka-chip--default .muka-chip__remove:hover
|
|
12444
|
+
.muka-chip--default .muka-chip__remove:hover,
|
|
12445
|
+
.muka-chip--default.muka-chip--expandable:hover:not(:disabled) .muka-chip__expand {
|
|
12394
12446
|
background-color: var(--chip-dismiss-default-background-hover);
|
|
12395
12447
|
color: var(--chip-dismiss-default-foreground-hover);
|
|
12396
12448
|
}
|
|
12397
|
-
.muka-chip--default .muka-chip__remove:active
|
|
12449
|
+
.muka-chip--default .muka-chip__remove:active,
|
|
12450
|
+
.muka-chip--default.muka-chip--expandable:active:not(:disabled) .muka-chip__expand,
|
|
12451
|
+
.muka-chip--default.muka-chip--expandable[aria-expanded='true'] .muka-chip__expand {
|
|
12398
12452
|
background-color: var(--chip-dismiss-default-background-pressed);
|
|
12399
12453
|
color: var(--chip-dismiss-default-foreground-pressed);
|
|
12400
12454
|
}
|
|
12401
12455
|
|
|
12402
|
-
.muka-chip--success .muka-chip__remove
|
|
12456
|
+
.muka-chip--success .muka-chip__remove,
|
|
12457
|
+
.muka-chip--success .muka-chip__expand {
|
|
12403
12458
|
background-color: var(--chip-dismiss-success-background-default);
|
|
12404
12459
|
color: var(--chip-dismiss-success-foreground-default);
|
|
12405
12460
|
}
|
|
12406
|
-
.muka-chip--success .muka-chip__remove:hover
|
|
12461
|
+
.muka-chip--success .muka-chip__remove:hover,
|
|
12462
|
+
.muka-chip--success.muka-chip--expandable:hover:not(:disabled) .muka-chip__expand {
|
|
12407
12463
|
background-color: var(--chip-dismiss-success-background-hover);
|
|
12408
12464
|
color: var(--chip-dismiss-success-foreground-hover);
|
|
12409
12465
|
}
|
|
12410
|
-
.muka-chip--success .muka-chip__remove:active
|
|
12466
|
+
.muka-chip--success .muka-chip__remove:active,
|
|
12467
|
+
.muka-chip--success.muka-chip--expandable:active:not(:disabled) .muka-chip__expand,
|
|
12468
|
+
.muka-chip--success.muka-chip--expandable[aria-expanded='true'] .muka-chip__expand {
|
|
12411
12469
|
background-color: var(--chip-dismiss-success-background-pressed);
|
|
12412
12470
|
color: var(--chip-dismiss-success-foreground-pressed);
|
|
12413
12471
|
}
|
|
12414
12472
|
|
|
12415
|
-
.muka-chip--warning .muka-chip__remove
|
|
12473
|
+
.muka-chip--warning .muka-chip__remove,
|
|
12474
|
+
.muka-chip--warning .muka-chip__expand {
|
|
12416
12475
|
background-color: var(--chip-dismiss-warning-background-default);
|
|
12417
12476
|
color: var(--chip-dismiss-warning-foreground-default);
|
|
12418
12477
|
}
|
|
12419
|
-
.muka-chip--warning .muka-chip__remove:hover
|
|
12478
|
+
.muka-chip--warning .muka-chip__remove:hover,
|
|
12479
|
+
.muka-chip--warning.muka-chip--expandable:hover:not(:disabled) .muka-chip__expand {
|
|
12420
12480
|
background-color: var(--chip-dismiss-warning-background-hover);
|
|
12421
12481
|
color: var(--chip-dismiss-warning-foreground-hover);
|
|
12422
12482
|
}
|
|
12423
|
-
.muka-chip--warning .muka-chip__remove:active
|
|
12483
|
+
.muka-chip--warning .muka-chip__remove:active,
|
|
12484
|
+
.muka-chip--warning.muka-chip--expandable:active:not(:disabled) .muka-chip__expand,
|
|
12485
|
+
.muka-chip--warning.muka-chip--expandable[aria-expanded='true'] .muka-chip__expand {
|
|
12424
12486
|
background-color: var(--chip-dismiss-warning-background-pressed);
|
|
12425
12487
|
color: var(--chip-dismiss-warning-foreground-pressed);
|
|
12426
12488
|
}
|
|
12427
12489
|
|
|
12428
|
-
.muka-chip--error .muka-chip__remove
|
|
12490
|
+
.muka-chip--error .muka-chip__remove,
|
|
12491
|
+
.muka-chip--error .muka-chip__expand {
|
|
12429
12492
|
background-color: var(--chip-dismiss-error-background-default);
|
|
12430
12493
|
color: var(--chip-dismiss-error-foreground-default);
|
|
12431
12494
|
}
|
|
12432
|
-
.muka-chip--error .muka-chip__remove:hover
|
|
12495
|
+
.muka-chip--error .muka-chip__remove:hover,
|
|
12496
|
+
.muka-chip--error.muka-chip--expandable:hover:not(:disabled) .muka-chip__expand {
|
|
12433
12497
|
background-color: var(--chip-dismiss-error-background-hover);
|
|
12434
12498
|
color: var(--chip-dismiss-error-foreground-hover);
|
|
12435
12499
|
}
|
|
12436
|
-
.muka-chip--error .muka-chip__remove:active
|
|
12500
|
+
.muka-chip--error .muka-chip__remove:active,
|
|
12501
|
+
.muka-chip--error.muka-chip--expandable:active:not(:disabled) .muka-chip__expand,
|
|
12502
|
+
.muka-chip--error.muka-chip--expandable[aria-expanded='true'] .muka-chip__expand {
|
|
12437
12503
|
background-color: var(--chip-dismiss-error-background-pressed);
|
|
12438
12504
|
color: var(--chip-dismiss-error-foreground-pressed);
|
|
12439
12505
|
}
|
|
12440
12506
|
|
|
12441
|
-
.muka-chip--info .muka-chip__remove
|
|
12507
|
+
.muka-chip--info .muka-chip__remove,
|
|
12508
|
+
.muka-chip--info .muka-chip__expand {
|
|
12442
12509
|
background-color: var(--chip-dismiss-info-background-default);
|
|
12443
12510
|
color: var(--chip-dismiss-info-foreground-default);
|
|
12444
12511
|
}
|
|
12445
|
-
.muka-chip--info .muka-chip__remove:hover
|
|
12512
|
+
.muka-chip--info .muka-chip__remove:hover,
|
|
12513
|
+
.muka-chip--info.muka-chip--expandable:hover:not(:disabled) .muka-chip__expand {
|
|
12446
12514
|
background-color: var(--chip-dismiss-info-background-hover);
|
|
12447
12515
|
color: var(--chip-dismiss-info-foreground-hover);
|
|
12448
12516
|
}
|
|
12449
|
-
.muka-chip--info .muka-chip__remove:active
|
|
12517
|
+
.muka-chip--info .muka-chip__remove:active,
|
|
12518
|
+
.muka-chip--info.muka-chip--expandable:active:not(:disabled) .muka-chip__expand,
|
|
12519
|
+
.muka-chip--info.muka-chip--expandable[aria-expanded='true'] .muka-chip__expand {
|
|
12450
12520
|
background-color: var(--chip-dismiss-info-background-pressed);
|
|
12451
12521
|
color: var(--chip-dismiss-info-foreground-pressed);
|
|
12452
12522
|
}
|
|
@@ -12641,78 +12711,245 @@ li.muka-listitem {
|
|
|
12641
12711
|
}
|
|
12642
12712
|
|
|
12643
12713
|
|
|
12644
|
-
/*
|
|
12645
|
-
/*
|
|
12646
|
-
|
|
12647
|
-
/*
|
|
12648
|
-
* The grid clips to its own radius and the tiles stay square, so only the four
|
|
12649
|
-
* outer corners round — matching the Figma "Wrapper" frame (5225:1394).
|
|
12650
|
-
*/
|
|
12651
|
-
.muka-chat-photo-grid {
|
|
12652
|
-
display: grid;
|
|
12653
|
-
gap: var(--chatphotogrid-gap);
|
|
12654
|
-
width: 100%;
|
|
12655
|
-
min-width: 0;
|
|
12656
|
-
overflow: hidden;
|
|
12657
|
-
border-radius: var(--chatphotogrid-radius);
|
|
12658
|
-
}
|
|
12659
|
-
|
|
12660
|
-
/* ─── Tiles ────────────────────────────────────────────── */
|
|
12661
|
-
|
|
12662
|
-
.muka-chat-photo-grid__tile {
|
|
12663
|
-
position: relative;
|
|
12664
|
-
display: block;
|
|
12665
|
-
overflow: hidden;
|
|
12666
|
-
min-width: 0;
|
|
12667
|
-
padding: 0;
|
|
12668
|
-
margin: 0;
|
|
12669
|
-
border: none;
|
|
12670
|
-
background-color: var(--chatphotogrid-color-placeholder);
|
|
12671
|
-
aspect-ratio: 1 / 1;
|
|
12672
|
-
}
|
|
12714
|
+
/* Checkbox */
|
|
12715
|
+
/* Checkbox Component Styles - Using Muka Design Tokens */
|
|
12673
12716
|
|
|
12674
|
-
|
|
12717
|
+
/* Wrapper - clickable label container */
|
|
12718
|
+
.muka-checkbox {
|
|
12719
|
+
display: inline-flex;
|
|
12720
|
+
align-items: center;
|
|
12721
|
+
gap: var(--spacing-4);
|
|
12675
12722
|
cursor: pointer;
|
|
12676
|
-
|
|
12723
|
+
user-select: none;
|
|
12677
12724
|
}
|
|
12678
12725
|
|
|
12679
|
-
|
|
12680
|
-
|
|
12681
|
-
|
|
12682
|
-
outline-offset: calc(-1 * var(--border-width-bold));
|
|
12726
|
+
.muka-checkbox--disabled {
|
|
12727
|
+
cursor: not-allowed;
|
|
12728
|
+
opacity: 0.6;
|
|
12683
12729
|
}
|
|
12684
12730
|
|
|
12685
|
-
|
|
12686
|
-
|
|
12687
|
-
|
|
12688
|
-
|
|
12689
|
-
|
|
12731
|
+
/* Control container */
|
|
12732
|
+
.muka-checkbox__control {
|
|
12733
|
+
position: relative;
|
|
12734
|
+
display: inline-flex;
|
|
12735
|
+
align-items: center;
|
|
12736
|
+
justify-content: center;
|
|
12737
|
+
flex-shrink: 0;
|
|
12690
12738
|
}
|
|
12691
12739
|
|
|
12692
|
-
/*
|
|
12693
|
-
|
|
12694
|
-
.muka-chat-photo-grid__overflow {
|
|
12740
|
+
/* Hidden native input */
|
|
12741
|
+
.muka-checkbox__input {
|
|
12695
12742
|
position: absolute;
|
|
12696
|
-
|
|
12743
|
+
width: 1px;
|
|
12744
|
+
height: 1px;
|
|
12745
|
+
padding: 0;
|
|
12746
|
+
margin: -1px;
|
|
12747
|
+
overflow: hidden;
|
|
12748
|
+
clip: rect(0, 0, 0, 0);
|
|
12749
|
+
white-space: nowrap;
|
|
12750
|
+
border: 0;
|
|
12751
|
+
}
|
|
12752
|
+
|
|
12753
|
+
/* Visual indicator (square) */
|
|
12754
|
+
.muka-checkbox__indicator {
|
|
12697
12755
|
display: flex;
|
|
12698
12756
|
align-items: center;
|
|
12699
12757
|
justify-content: center;
|
|
12700
|
-
|
|
12701
|
-
|
|
12702
|
-
|
|
12703
|
-
|
|
12704
|
-
|
|
12705
|
-
|
|
12758
|
+
width: var(--checkbox-size-default);
|
|
12759
|
+
height: var(--checkbox-size-default);
|
|
12760
|
+
border-radius: var(--checkbox-radius);
|
|
12761
|
+
background-color: var(--checkbox-color-default-background);
|
|
12762
|
+
border: var(--border-width-regular) solid var(--checkbox-color-default-border);
|
|
12763
|
+
transition: all 0.15s ease;
|
|
12764
|
+
box-shadow: inset 0 1px 2px 0 rgba(26, 26, 26, 0.15);
|
|
12706
12765
|
}
|
|
12707
12766
|
|
|
12708
|
-
/*
|
|
12767
|
+
/* Size variants */
|
|
12768
|
+
.muka-checkbox--sm .muka-checkbox__indicator {
|
|
12769
|
+
width: var(--checkbox-size-sm);
|
|
12770
|
+
height: var(--checkbox-size-sm);
|
|
12771
|
+
}
|
|
12709
12772
|
|
|
12710
|
-
.muka-
|
|
12711
|
-
|
|
12773
|
+
.muka-checkbox--lg .muka-checkbox__indicator {
|
|
12774
|
+
width: var(--checkbox-size-lg);
|
|
12775
|
+
height: var(--checkbox-size-lg);
|
|
12712
12776
|
}
|
|
12713
12777
|
|
|
12714
|
-
|
|
12715
|
-
|
|
12778
|
+
/* Icon inside checkbox */
|
|
12779
|
+
.muka-checkbox__icon {
|
|
12780
|
+
width: var(--checkbox-icon-size-default);
|
|
12781
|
+
height: var(--checkbox-icon-size-default);
|
|
12782
|
+
color: var(--checkbox-color-default-icon);
|
|
12783
|
+
opacity: 0;
|
|
12784
|
+
transform: scale(0.8);
|
|
12785
|
+
transition: opacity 0.15s ease, transform 0.15s ease;
|
|
12786
|
+
}
|
|
12787
|
+
|
|
12788
|
+
.muka-checkbox--sm .muka-checkbox__icon {
|
|
12789
|
+
width: var(--checkbox-icon-size-sm);
|
|
12790
|
+
height: var(--checkbox-icon-size-sm);
|
|
12791
|
+
}
|
|
12792
|
+
|
|
12793
|
+
.muka-checkbox--lg .muka-checkbox__icon {
|
|
12794
|
+
width: var(--checkbox-icon-size-lg);
|
|
12795
|
+
height: var(--checkbox-icon-size-lg);
|
|
12796
|
+
}
|
|
12797
|
+
|
|
12798
|
+
/* Hide indeterminate icon by default */
|
|
12799
|
+
.muka-checkbox__icon--indeterminate {
|
|
12800
|
+
position: absolute;
|
|
12801
|
+
}
|
|
12802
|
+
|
|
12803
|
+
/* Hover state - removed per design */
|
|
12804
|
+
|
|
12805
|
+
/* Focus state */
|
|
12806
|
+
.muka-checkbox__input:focus-visible + .muka-checkbox__indicator {
|
|
12807
|
+
outline: 2px solid var(--color-border-focus);
|
|
12808
|
+
outline-offset: 2px;
|
|
12809
|
+
}
|
|
12810
|
+
|
|
12811
|
+
/* Checked state */
|
|
12812
|
+
.muka-checkbox__input:checked + .muka-checkbox__indicator {
|
|
12813
|
+
background-color: var(--checkbox-color-checked-background);
|
|
12814
|
+
border-color: var(--checkbox-color-checked-border);
|
|
12815
|
+
box-shadow: none;
|
|
12816
|
+
}
|
|
12817
|
+
|
|
12818
|
+
.muka-checkbox__input:checked + .muka-checkbox__indicator .muka-checkbox__icon--check {
|
|
12819
|
+
color: var(--checkbox-color-checked-icon);
|
|
12820
|
+
opacity: 1;
|
|
12821
|
+
transform: scale(1);
|
|
12822
|
+
}
|
|
12823
|
+
|
|
12824
|
+
/* Indeterminate state */
|
|
12825
|
+
.muka-checkbox__input:indeterminate + .muka-checkbox__indicator {
|
|
12826
|
+
background-color: var(--checkbox-color-checked-background);
|
|
12827
|
+
border-color: var(--checkbox-color-checked-border);
|
|
12828
|
+
box-shadow: none;
|
|
12829
|
+
}
|
|
12830
|
+
|
|
12831
|
+
.muka-checkbox__input:indeterminate + .muka-checkbox__indicator .muka-checkbox__icon--check {
|
|
12832
|
+
opacity: 0;
|
|
12833
|
+
}
|
|
12834
|
+
|
|
12835
|
+
.muka-checkbox__input:indeterminate + .muka-checkbox__indicator .muka-checkbox__icon--indeterminate {
|
|
12836
|
+
color: var(--checkbox-color-checked-icon);
|
|
12837
|
+
opacity: 1;
|
|
12838
|
+
transform: scale(1);
|
|
12839
|
+
}
|
|
12840
|
+
|
|
12841
|
+
/* Disabled state */
|
|
12842
|
+
.muka-checkbox--disabled .muka-checkbox__indicator {
|
|
12843
|
+
background-color: var(--checkbox-color-disabled-background);
|
|
12844
|
+
border-color: var(--checkbox-color-disabled-border);
|
|
12845
|
+
box-shadow: none;
|
|
12846
|
+
}
|
|
12847
|
+
|
|
12848
|
+
.muka-checkbox__input:disabled:checked + .muka-checkbox__indicator .muka-checkbox__icon--check,
|
|
12849
|
+
.muka-checkbox__input:disabled:indeterminate + .muka-checkbox__indicator .muka-checkbox__icon--indeterminate {
|
|
12850
|
+
color: var(--checkbox-color-disabled-icon);
|
|
12851
|
+
}
|
|
12852
|
+
|
|
12853
|
+
/* Label text */
|
|
12854
|
+
.muka-checkbox__label {
|
|
12855
|
+
font-family: var(--text-label-lg-regular-fontFamily);
|
|
12856
|
+
font-weight: var(--text-label-lg-regular-fontWeight);
|
|
12857
|
+
font-size: var(--text-label-lg-regular-fontSize);
|
|
12858
|
+
line-height: var(--text-label-lg-regular-lineHeight);
|
|
12859
|
+
color: var(--color-text-default-default);
|
|
12860
|
+
}
|
|
12861
|
+
|
|
12862
|
+
.muka-checkbox--sm .muka-checkbox__label {
|
|
12863
|
+
font-family: var(--text-label-md-regular-fontFamily);
|
|
12864
|
+
font-weight: var(--text-label-md-regular-fontWeight);
|
|
12865
|
+
font-size: var(--text-label-md-regular-fontSize);
|
|
12866
|
+
line-height: var(--text-label-md-regular-lineHeight);
|
|
12867
|
+
}
|
|
12868
|
+
|
|
12869
|
+
.muka-checkbox--lg .muka-checkbox__label {
|
|
12870
|
+
font-family: var(--text-label-xl-regular-fontFamily);
|
|
12871
|
+
font-weight: var(--text-label-xl-regular-fontWeight);
|
|
12872
|
+
font-size: var(--text-label-xl-regular-fontSize);
|
|
12873
|
+
line-height: var(--text-label-xl-regular-lineHeight);
|
|
12874
|
+
}
|
|
12875
|
+
|
|
12876
|
+
.muka-checkbox--disabled .muka-checkbox__label {
|
|
12877
|
+
color: var(--color-text-subtle-default);
|
|
12878
|
+
}
|
|
12879
|
+
|
|
12880
|
+
|
|
12881
|
+
/* ChatPhotoGrid */
|
|
12882
|
+
/* ChatPhotoGrid Component Styles */
|
|
12883
|
+
|
|
12884
|
+
/*
|
|
12885
|
+
* The grid clips to its own radius and the tiles stay square, so only the four
|
|
12886
|
+
* outer corners round — matching the Figma "Wrapper" frame (5225:1394).
|
|
12887
|
+
*/
|
|
12888
|
+
.muka-chat-photo-grid {
|
|
12889
|
+
display: grid;
|
|
12890
|
+
gap: var(--chatphotogrid-gap);
|
|
12891
|
+
width: 100%;
|
|
12892
|
+
min-width: 0;
|
|
12893
|
+
overflow: hidden;
|
|
12894
|
+
border-radius: var(--chatphotogrid-radius);
|
|
12895
|
+
}
|
|
12896
|
+
|
|
12897
|
+
/* ─── Tiles ────────────────────────────────────────────── */
|
|
12898
|
+
|
|
12899
|
+
.muka-chat-photo-grid__tile {
|
|
12900
|
+
position: relative;
|
|
12901
|
+
display: block;
|
|
12902
|
+
overflow: hidden;
|
|
12903
|
+
min-width: 0;
|
|
12904
|
+
padding: 0;
|
|
12905
|
+
margin: 0;
|
|
12906
|
+
border: none;
|
|
12907
|
+
background-color: var(--chatphotogrid-color-placeholder);
|
|
12908
|
+
aspect-ratio: 1 / 1;
|
|
12909
|
+
}
|
|
12910
|
+
|
|
12911
|
+
button.muka-chat-photo-grid__tile {
|
|
12912
|
+
cursor: pointer;
|
|
12913
|
+
appearance: none;
|
|
12914
|
+
}
|
|
12915
|
+
|
|
12916
|
+
button.muka-chat-photo-grid__tile:focus-visible {
|
|
12917
|
+
outline: var(--border-width-bold) solid var(--color-border-focus);
|
|
12918
|
+
/* Inset, so the grid's overflow clip cannot cut the ring off on corner tiles */
|
|
12919
|
+
outline-offset: calc(-1 * var(--border-width-bold));
|
|
12920
|
+
}
|
|
12921
|
+
|
|
12922
|
+
.muka-chat-photo-grid__image {
|
|
12923
|
+
display: block;
|
|
12924
|
+
width: 100%;
|
|
12925
|
+
height: 100%;
|
|
12926
|
+
object-fit: cover;
|
|
12927
|
+
}
|
|
12928
|
+
|
|
12929
|
+
/* ─── Overflow tile ────────────────────────────────────── */
|
|
12930
|
+
|
|
12931
|
+
.muka-chat-photo-grid__overflow {
|
|
12932
|
+
position: absolute;
|
|
12933
|
+
inset: 0;
|
|
12934
|
+
display: flex;
|
|
12935
|
+
align-items: center;
|
|
12936
|
+
justify-content: center;
|
|
12937
|
+
background-color: var(--chatphotogrid-color-overflow-background);
|
|
12938
|
+
color: var(--chatphotogrid-color-overflow-foreground);
|
|
12939
|
+
font-family: var(--text-body-2xl-regular-fontFamily);
|
|
12940
|
+
font-weight: var(--text-body-2xl-regular-fontWeight);
|
|
12941
|
+
font-size: var(--text-body-2xl-regular-fontSize);
|
|
12942
|
+
line-height: var(--text-body-2xl-regular-lineHeight);
|
|
12943
|
+
}
|
|
12944
|
+
|
|
12945
|
+
/* ─── Layouts ──────────────────────────────────────────── */
|
|
12946
|
+
|
|
12947
|
+
.muka-chat-photo-grid--1 {
|
|
12948
|
+
grid-template-columns: 1fr;
|
|
12949
|
+
}
|
|
12950
|
+
|
|
12951
|
+
.muka-chat-photo-grid--landscape .muka-chat-photo-grid__tile {
|
|
12952
|
+
aspect-ratio: 4 / 3;
|
|
12716
12953
|
}
|
|
12717
12954
|
|
|
12718
12955
|
.muka-chat-photo-grid--portrait .muka-chat-photo-grid__tile {
|
|
@@ -12817,212 +13054,376 @@ button.muka-chat-photo-grid__tile:focus-visible {
|
|
|
12817
13054
|
}
|
|
12818
13055
|
|
|
12819
13056
|
|
|
12820
|
-
/*
|
|
12821
|
-
/*
|
|
13057
|
+
/* ChatMessageList */
|
|
13058
|
+
/* ChatMessageList Component Styles */
|
|
12822
13059
|
|
|
12823
|
-
|
|
12824
|
-
|
|
12825
|
-
|
|
12826
|
-
|
|
12827
|
-
|
|
12828
|
-
|
|
12829
|
-
|
|
13060
|
+
.muka-chat-message-list {
|
|
13061
|
+
flex: 1 1 auto;
|
|
13062
|
+
min-height: 0;
|
|
13063
|
+
width: 100%;
|
|
13064
|
+
overflow-x: clip;
|
|
13065
|
+
overflow-y: auto;
|
|
13066
|
+
background-color: var(--color-surface-level3);
|
|
13067
|
+
padding: var(--section-padding-vertical-default, var(--spacing-8))
|
|
13068
|
+
var(--section-padding-horizontal-default, var(--spacing-4));
|
|
13069
|
+
-webkit-overflow-scrolling: touch;
|
|
13070
|
+
overscroll-behavior: contain;
|
|
12830
13071
|
}
|
|
12831
13072
|
|
|
12832
|
-
.muka-
|
|
12833
|
-
|
|
12834
|
-
|
|
13073
|
+
.muka-chat-message-list__inner {
|
|
13074
|
+
display: flex;
|
|
13075
|
+
flex-direction: column;
|
|
13076
|
+
align-items: stretch;
|
|
13077
|
+
gap: var(--spacing-8);
|
|
13078
|
+
width: 100%;
|
|
13079
|
+
max-width: var(--chat-column-max-width);
|
|
13080
|
+
margin: 0 auto;
|
|
12835
13081
|
}
|
|
12836
13082
|
|
|
12837
|
-
/*
|
|
12838
|
-
.muka-checkbox__control {
|
|
12839
|
-
position: relative;
|
|
12840
|
-
display: inline-flex;
|
|
12841
|
-
align-items: center;
|
|
12842
|
-
justify-content: center;
|
|
12843
|
-
flex-shrink: 0;
|
|
12844
|
-
}
|
|
13083
|
+
/* ─── Print ────────────────────────────────────────────── */
|
|
12845
13084
|
|
|
12846
|
-
|
|
12847
|
-
.muka-
|
|
12848
|
-
|
|
12849
|
-
|
|
12850
|
-
|
|
12851
|
-
|
|
12852
|
-
|
|
12853
|
-
|
|
12854
|
-
clip: rect(0, 0, 0, 0);
|
|
12855
|
-
white-space: nowrap;
|
|
12856
|
-
border: 0;
|
|
12857
|
-
}
|
|
13085
|
+
@media print {
|
|
13086
|
+
.muka-chat-message-list {
|
|
13087
|
+
overflow: visible;
|
|
13088
|
+
height: auto;
|
|
13089
|
+
max-height: none;
|
|
13090
|
+
background: none;
|
|
13091
|
+
padding: 0;
|
|
13092
|
+
}
|
|
12858
13093
|
|
|
12859
|
-
|
|
12860
|
-
|
|
12861
|
-
|
|
12862
|
-
align-items: center;
|
|
12863
|
-
justify-content: center;
|
|
12864
|
-
width: var(--checkbox-size-default);
|
|
12865
|
-
height: var(--checkbox-size-default);
|
|
12866
|
-
border-radius: var(--checkbox-radius);
|
|
12867
|
-
background-color: var(--checkbox-color-default-background);
|
|
12868
|
-
border: var(--border-width-regular) solid var(--checkbox-color-default-border);
|
|
12869
|
-
transition: all 0.15s ease;
|
|
12870
|
-
box-shadow: inset 0 1px 2px 0 rgba(26, 26, 26, 0.15);
|
|
13094
|
+
.muka-chat-message-list__inner {
|
|
13095
|
+
max-width: 100%;
|
|
13096
|
+
}
|
|
12871
13097
|
}
|
|
12872
13098
|
|
|
12873
|
-
/* Size variants */
|
|
12874
|
-
.muka-checkbox--sm .muka-checkbox__indicator {
|
|
12875
|
-
width: var(--checkbox-size-sm);
|
|
12876
|
-
height: var(--checkbox-size-sm);
|
|
12877
|
-
}
|
|
12878
13099
|
|
|
12879
|
-
|
|
12880
|
-
|
|
12881
|
-
height: var(--checkbox-size-lg);
|
|
12882
|
-
}
|
|
13100
|
+
/* ChatMessage */
|
|
13101
|
+
/* ChatMessage Component Styles */
|
|
12883
13102
|
|
|
12884
|
-
|
|
12885
|
-
|
|
12886
|
-
|
|
12887
|
-
|
|
12888
|
-
|
|
12889
|
-
opacity: 0;
|
|
12890
|
-
transform: scale(0.8);
|
|
12891
|
-
transition: opacity 0.15s ease, transform 0.15s ease;
|
|
13103
|
+
.muka-chat-message {
|
|
13104
|
+
display: flex;
|
|
13105
|
+
flex-direction: column;
|
|
13106
|
+
width: 100%;
|
|
13107
|
+
max-width: 100%;
|
|
12892
13108
|
}
|
|
12893
13109
|
|
|
12894
|
-
|
|
12895
|
-
|
|
12896
|
-
|
|
13110
|
+
/* ─── Row: avatar rail + bubble ────────────────────────── */
|
|
13111
|
+
|
|
13112
|
+
.muka-chat-message__row {
|
|
13113
|
+
display: grid;
|
|
13114
|
+
grid-template-columns: minmax(0, 1fr);
|
|
13115
|
+
grid-template-areas: 'bubble';
|
|
13116
|
+
column-gap: var(--chatbubble-row-gap);
|
|
13117
|
+
width: 100%;
|
|
12897
13118
|
}
|
|
12898
13119
|
|
|
12899
|
-
.muka-
|
|
12900
|
-
|
|
12901
|
-
|
|
13120
|
+
.muka-chat-message--has-avatar .muka-chat-message__row {
|
|
13121
|
+
grid-template-columns: auto minmax(0, 1fr);
|
|
13122
|
+
grid-template-areas: 'rail bubble';
|
|
12902
13123
|
}
|
|
12903
13124
|
|
|
12904
|
-
|
|
12905
|
-
|
|
12906
|
-
|
|
13125
|
+
.muka-chat-message__rail {
|
|
13126
|
+
grid-area: rail;
|
|
13127
|
+
/* Sits on the bubble's baseline (Figma 5355:44091) */
|
|
13128
|
+
align-self: end;
|
|
13129
|
+
display: flex;
|
|
13130
|
+
justify-content: center;
|
|
13131
|
+
min-width: var(--chatbubble-avatar-size);
|
|
12907
13132
|
}
|
|
12908
13133
|
|
|
12909
|
-
/*
|
|
13134
|
+
/*
|
|
13135
|
+
* The Small size in Figma (5373:44702) halves the avatar to 32px and tightens
|
|
13136
|
+
* the gap to the bubble. Size the avatar itself, not just the rail, so the
|
|
13137
|
+
* bubbles keep their alignment. The header row keeps its own gap.
|
|
13138
|
+
*/
|
|
13139
|
+
@media (max-width: 1023px) {
|
|
13140
|
+
.muka-chat-message__row {
|
|
13141
|
+
column-gap: var(--chatbubble-row-gap-compact);
|
|
13142
|
+
}
|
|
12910
13143
|
|
|
12911
|
-
|
|
12912
|
-
|
|
12913
|
-
|
|
12914
|
-
|
|
13144
|
+
.muka-chat-message__rail {
|
|
13145
|
+
min-width: var(--chatbubble-avatar-size-compact);
|
|
13146
|
+
}
|
|
13147
|
+
|
|
13148
|
+
/* Outweighs the avatar's own size class, which sets width/height directly */
|
|
13149
|
+
.muka-chat-message .muka-chat-message__rail > * {
|
|
13150
|
+
width: var(--chatbubble-avatar-size-compact);
|
|
13151
|
+
height: var(--chatbubble-avatar-size-compact);
|
|
13152
|
+
}
|
|
12915
13153
|
}
|
|
12916
13154
|
|
|
12917
|
-
/*
|
|
12918
|
-
|
|
12919
|
-
|
|
12920
|
-
|
|
12921
|
-
|
|
13155
|
+
/* ─── Bubble surface ───────────────────────────────────── */
|
|
13156
|
+
|
|
13157
|
+
.muka-chat-message__bubble {
|
|
13158
|
+
grid-area: bubble;
|
|
13159
|
+
/*
|
|
13160
|
+
* Width follows the content: a single line hugs, and once the text wraps the
|
|
13161
|
+
* bubble fills to the shared max width. Robust to string or rich children —
|
|
13162
|
+
* no length measuring needed (Figma `Text length` on 5355:44091).
|
|
13163
|
+
*/
|
|
13164
|
+
width: fit-content;
|
|
13165
|
+
/*
|
|
13166
|
+
* Ceiling from design (Figma 5355:44091). Below it, wrapping text fills the
|
|
13167
|
+
* row; above it the fixed cap leaves room for own/peer alignment.
|
|
13168
|
+
*/
|
|
13169
|
+
max-width: var(--chatbubble-max-width);
|
|
13170
|
+
position: relative;
|
|
13171
|
+
display: flex;
|
|
13172
|
+
flex-direction: column;
|
|
13173
|
+
gap: var(--chatbubble-gap);
|
|
13174
|
+
padding: var(--chatbubble-padding-block) var(--chatbubble-padding-inline);
|
|
13175
|
+
border-radius: var(--chatbubble-radius);
|
|
13176
|
+
border: var(--border-width-regular) solid transparent;
|
|
13177
|
+
box-shadow: var(--shadow-level2);
|
|
13178
|
+
word-break: break-word;
|
|
12922
13179
|
}
|
|
12923
13180
|
|
|
12924
|
-
|
|
12925
|
-
|
|
12926
|
-
|
|
12927
|
-
transform: scale(1);
|
|
13181
|
+
/* Media, an embed or an action stack always run the full bubble width. */
|
|
13182
|
+
.muka-chat-message--has-blocks .muka-chat-message__bubble {
|
|
13183
|
+
width: 100%;
|
|
12928
13184
|
}
|
|
12929
13185
|
|
|
12930
|
-
|
|
12931
|
-
|
|
12932
|
-
background-color: var(--checkbox-color-checked-background);
|
|
12933
|
-
border-color: var(--checkbox-color-checked-border);
|
|
12934
|
-
box-shadow: none;
|
|
13186
|
+
.muka-chat-message--own .muka-chat-message__bubble {
|
|
13187
|
+
justify-self: end;
|
|
12935
13188
|
}
|
|
12936
13189
|
|
|
12937
|
-
.muka-
|
|
12938
|
-
|
|
13190
|
+
.muka-chat-message--own .muka-chat-message__bubble {
|
|
13191
|
+
background-color: var(--chatbubble-color-own-background);
|
|
13192
|
+
border-color: var(--chatbubble-color-own-border);
|
|
13193
|
+
color: var(--chatbubble-color-own-foreground);
|
|
12939
13194
|
}
|
|
12940
13195
|
|
|
12941
|
-
.muka-
|
|
12942
|
-
color: var(--
|
|
12943
|
-
|
|
12944
|
-
|
|
13196
|
+
.muka-chat-message--peer .muka-chat-message__bubble {
|
|
13197
|
+
background-color: var(--chatbubble-color-peer-background);
|
|
13198
|
+
border-color: var(--chatbubble-color-peer-border);
|
|
13199
|
+
color: var(--chatbubble-color-peer-foreground);
|
|
12945
13200
|
}
|
|
12946
13201
|
|
|
12947
|
-
|
|
12948
|
-
|
|
12949
|
-
|
|
12950
|
-
|
|
12951
|
-
box-shadow: none;
|
|
13202
|
+
.muka-chat-message--agent .muka-chat-message__bubble {
|
|
13203
|
+
background-color: var(--chatbubble-color-agent-background);
|
|
13204
|
+
border-color: var(--chatbubble-color-agent-border);
|
|
13205
|
+
color: var(--chatbubble-color-agent-foreground);
|
|
12952
13206
|
}
|
|
12953
13207
|
|
|
12954
|
-
|
|
12955
|
-
|
|
12956
|
-
|
|
13208
|
+
/* ─── Header row (author · meta · time · badge) ────────── */
|
|
13209
|
+
|
|
13210
|
+
.muka-chat-message__header {
|
|
13211
|
+
display: flex;
|
|
13212
|
+
flex-flow: row wrap;
|
|
13213
|
+
align-items: center;
|
|
13214
|
+
gap: var(--chatbubble-row-gap);
|
|
12957
13215
|
}
|
|
12958
13216
|
|
|
12959
|
-
|
|
12960
|
-
|
|
12961
|
-
font-
|
|
12962
|
-
font-
|
|
12963
|
-
|
|
12964
|
-
line-height: var(--text-label-lg-regular-lineHeight);
|
|
12965
|
-
color: var(--color-text-default-default);
|
|
13217
|
+
.muka-chat-message__author {
|
|
13218
|
+
font-family: var(--text-body-base-bold-fontFamily);
|
|
13219
|
+
font-weight: var(--text-body-base-bold-fontWeight);
|
|
13220
|
+
font-size: var(--text-body-base-bold-fontSize);
|
|
13221
|
+
line-height: var(--text-body-base-bold-lineHeight);
|
|
12966
13222
|
}
|
|
12967
13223
|
|
|
12968
|
-
.muka-
|
|
12969
|
-
|
|
12970
|
-
|
|
12971
|
-
font-
|
|
12972
|
-
|
|
13224
|
+
.muka-chat-message__author-meta {
|
|
13225
|
+
/* Inherits the variant's body colour from the bubble */
|
|
13226
|
+
color: inherit;
|
|
13227
|
+
font-family: var(--text-body-base-regular-fontFamily);
|
|
13228
|
+
font-weight: var(--text-body-base-regular-fontWeight);
|
|
13229
|
+
font-size: var(--text-body-base-regular-fontSize);
|
|
13230
|
+
line-height: var(--text-body-base-regular-lineHeight);
|
|
12973
13231
|
}
|
|
12974
13232
|
|
|
12975
|
-
.muka-
|
|
12976
|
-
|
|
12977
|
-
|
|
12978
|
-
font-size: var(--text-label-xl-regular-fontSize);
|
|
12979
|
-
line-height: var(--text-label-xl-regular-lineHeight);
|
|
13233
|
+
.muka-chat-message__badge {
|
|
13234
|
+
display: inline-flex;
|
|
13235
|
+
align-items: center;
|
|
12980
13236
|
}
|
|
12981
13237
|
|
|
12982
|
-
|
|
12983
|
-
|
|
13238
|
+
/*
|
|
13239
|
+
* Keep the first line of content clear of the absolutely positioned menu
|
|
13240
|
+
* button in the bubble's top-right corner.
|
|
13241
|
+
*/
|
|
13242
|
+
.muka-chat-message--has-menu .muka-chat-message__header,
|
|
13243
|
+
.muka-chat-message--has-menu.muka-chat-message--no-header .muka-chat-message__message {
|
|
13244
|
+
padding-right: var(--spacing-10);
|
|
12984
13245
|
}
|
|
12985
13246
|
|
|
13247
|
+
/* …and the last line clear of the inset timestamp in the bottom-right corner */
|
|
13248
|
+
.muka-chat-message--has-timestamp .muka-chat-message__message {
|
|
13249
|
+
padding-right: var(--spacing-10);
|
|
13250
|
+
}
|
|
12986
13251
|
|
|
12987
|
-
/*
|
|
12988
|
-
/* ChatMessageList Component Styles */
|
|
13252
|
+
/* ─── Body ─────────────────────────────────────────────── */
|
|
12989
13253
|
|
|
12990
|
-
.muka-chat-
|
|
12991
|
-
|
|
12992
|
-
|
|
12993
|
-
|
|
12994
|
-
|
|
12995
|
-
overflow-y: auto;
|
|
12996
|
-
background-color: var(--color-surface-level3);
|
|
12997
|
-
padding: var(--section-padding-vertical-default, var(--spacing-8))
|
|
12998
|
-
var(--section-padding-horizontal-default, var(--spacing-4));
|
|
12999
|
-
-webkit-overflow-scrolling: touch;
|
|
13000
|
-
overscroll-behavior: contain;
|
|
13254
|
+
.muka-chat-message__body {
|
|
13255
|
+
display: flex;
|
|
13256
|
+
flex-direction: column;
|
|
13257
|
+
gap: var(--chatbubble-gap);
|
|
13258
|
+
min-width: 0;
|
|
13001
13259
|
}
|
|
13002
13260
|
|
|
13003
|
-
.muka-chat-
|
|
13261
|
+
.muka-chat-message__media {
|
|
13262
|
+
min-width: 0;
|
|
13263
|
+
}
|
|
13264
|
+
|
|
13265
|
+
.muka-chat-message__message {
|
|
13266
|
+
font-family: var(--text-body-base-regular-fontFamily);
|
|
13267
|
+
font-weight: var(--text-body-base-regular-fontWeight);
|
|
13268
|
+
font-size: var(--text-body-base-regular-fontSize);
|
|
13269
|
+
line-height: var(--text-body-base-regular-lineHeight);
|
|
13270
|
+
white-space: pre-wrap;
|
|
13271
|
+
word-break: break-word;
|
|
13272
|
+
}
|
|
13273
|
+
|
|
13274
|
+
/* Empty message block should not add a gap of its own */
|
|
13275
|
+
.muka-chat-message__message:empty {
|
|
13276
|
+
display: none;
|
|
13277
|
+
}
|
|
13278
|
+
|
|
13279
|
+
/* ─── Embedded card ────────────────────────────────────── */
|
|
13280
|
+
|
|
13281
|
+
.muka-chat-message__embed {
|
|
13282
|
+
position: relative;
|
|
13004
13283
|
display: flex;
|
|
13005
13284
|
flex-direction: column;
|
|
13006
|
-
|
|
13007
|
-
|
|
13008
|
-
|
|
13009
|
-
|
|
13010
|
-
|
|
13285
|
+
gap: var(--chatbubble-embed-gap);
|
|
13286
|
+
/* The card is inset from the blocks above and below it (Figma 5289:40562) */
|
|
13287
|
+
margin-block: var(--chatbubble-embed-margin-block);
|
|
13288
|
+
padding: var(--chatbubble-embed-padding-block) var(--chatbubble-embed-padding-inline);
|
|
13289
|
+
border-radius: var(--chatbubble-embed-radius);
|
|
13290
|
+
border: var(--border-width-regular) solid transparent;
|
|
13291
|
+
}
|
|
13292
|
+
|
|
13293
|
+
/*
|
|
13294
|
+
* The embed sits on the raised surface of its author's role, one step apart
|
|
13295
|
+
* from the bubble it is nested in, and reuses that role's border colour.
|
|
13296
|
+
*/
|
|
13297
|
+
.muka-chat-message--own .muka-chat-message__embed {
|
|
13298
|
+
background-color: var(--chatbubble-embed-color-own-background);
|
|
13299
|
+
border-color: var(--chatbubble-embed-color-own-border);
|
|
13300
|
+
color: var(--chatbubble-embed-color-own-foreground);
|
|
13301
|
+
}
|
|
13302
|
+
|
|
13303
|
+
.muka-chat-message--peer .muka-chat-message__embed {
|
|
13304
|
+
background-color: var(--chatbubble-embed-color-peer-background);
|
|
13305
|
+
border-color: var(--chatbubble-embed-color-peer-border);
|
|
13306
|
+
color: var(--chatbubble-embed-color-peer-foreground);
|
|
13307
|
+
}
|
|
13308
|
+
|
|
13309
|
+
.muka-chat-message--agent .muka-chat-message__embed {
|
|
13310
|
+
background-color: var(--chatbubble-embed-color-agent-background);
|
|
13311
|
+
border-color: var(--chatbubble-embed-color-agent-border);
|
|
13312
|
+
color: var(--chatbubble-embed-color-agent-foreground);
|
|
13313
|
+
}
|
|
13314
|
+
|
|
13315
|
+
.muka-chat-message__embed-content {
|
|
13316
|
+
display: flex;
|
|
13317
|
+
flex-direction: column;
|
|
13318
|
+
gap: var(--chatbubble-embed-gap);
|
|
13319
|
+
min-width: 0;
|
|
13320
|
+
}
|
|
13321
|
+
|
|
13322
|
+
.muka-chat-message__embed-copy {
|
|
13323
|
+
position: absolute;
|
|
13324
|
+
top: var(--chatbubble-embed-padding-block);
|
|
13325
|
+
right: var(--chatbubble-embed-padding-inline);
|
|
13326
|
+
}
|
|
13327
|
+
|
|
13328
|
+
/* ─── Stacked full-width action buttons ────────────────── */
|
|
13329
|
+
|
|
13330
|
+
.muka-chat-message__action-stack {
|
|
13331
|
+
display: flex;
|
|
13332
|
+
flex-direction: column;
|
|
13333
|
+
gap: var(--chatbubble-action-stack-gap);
|
|
13334
|
+
}
|
|
13335
|
+
|
|
13336
|
+
/* ─── Inset timestamp ──────────────────────────────────── */
|
|
13337
|
+
|
|
13338
|
+
/*
|
|
13339
|
+
* Every author puts its timestamp in the bubble's bottom-right corner, below
|
|
13340
|
+
* the message — never in the header row (Figma 5355:44091).
|
|
13341
|
+
*/
|
|
13342
|
+
|
|
13343
|
+
.muka-chat-message__timestamp {
|
|
13344
|
+
color: var(--chatbubble-color-timestamp);
|
|
13345
|
+
font-family: var(--text-body-xs-regular-fontFamily);
|
|
13346
|
+
font-weight: var(--text-body-xs-regular-fontWeight);
|
|
13347
|
+
font-size: var(--text-body-xs-regular-fontSize);
|
|
13348
|
+
line-height: var(--text-body-xs-regular-lineHeight);
|
|
13349
|
+
white-space: nowrap;
|
|
13350
|
+
}
|
|
13351
|
+
|
|
13352
|
+
/*
|
|
13353
|
+
* Pinned to the corner rather than stacked below the message, so a one-line
|
|
13354
|
+
* message stays one line tall. The message reserves the width it needs.
|
|
13355
|
+
*/
|
|
13356
|
+
.muka-chat-message__timestamp--inset {
|
|
13357
|
+
position: absolute;
|
|
13358
|
+
right: var(--spacing-2);
|
|
13359
|
+
bottom: var(--spacing-1);
|
|
13360
|
+
}
|
|
13361
|
+
|
|
13362
|
+
/*
|
|
13363
|
+
* When the last block in the body is media, an embed or an action stack (not
|
|
13364
|
+
* trailing text), it runs the full width, so reserve a line below for the inset
|
|
13365
|
+
* timestamp. A message that ends in text clears the corner inline instead (see
|
|
13366
|
+
* `__message` padding-right above), so it needs no extra bottom space.
|
|
13367
|
+
*/
|
|
13368
|
+
.muka-chat-message--has-timestamp.muka-chat-message--trailing-block .muka-chat-message__body {
|
|
13369
|
+
padding-bottom: var(--text-body-xs-regular-lineHeight);
|
|
13370
|
+
}
|
|
13371
|
+
|
|
13372
|
+
/* ─── Menu affordance ──────────────────────────────────── */
|
|
13373
|
+
|
|
13374
|
+
/*
|
|
13375
|
+
* Hidden at rest. Revealed on hover on pointer devices, on keyboard focus
|
|
13376
|
+
* everywhere, and pinned while its menu is open. On touch the equivalent
|
|
13377
|
+
* affordance is a long-press on the bubble, which opens an ActionSheet.
|
|
13378
|
+
*/
|
|
13379
|
+
.muka-chat-message__menu {
|
|
13380
|
+
position: absolute;
|
|
13381
|
+
top: var(--spacing-1);
|
|
13382
|
+
right: var(--spacing-1);
|
|
13383
|
+
opacity: 0;
|
|
13384
|
+
pointer-events: none;
|
|
13385
|
+
}
|
|
13386
|
+
|
|
13387
|
+
.muka-chat-message__menu:focus-within,
|
|
13388
|
+
.muka-chat-message--menu-open .muka-chat-message__menu {
|
|
13389
|
+
opacity: 1;
|
|
13390
|
+
pointer-events: auto;
|
|
13391
|
+
}
|
|
13392
|
+
|
|
13393
|
+
@media (hover: hover) and (pointer: fine) and (min-width: 1024px) {
|
|
13394
|
+
.muka-chat-message__bubble:hover .muka-chat-message__menu {
|
|
13395
|
+
opacity: 1;
|
|
13396
|
+
pointer-events: auto;
|
|
13397
|
+
}
|
|
13398
|
+
}
|
|
13399
|
+
|
|
13400
|
+
/* Suppress iOS Safari's own callout so the long-press sheet can take over */
|
|
13401
|
+
@media (pointer: coarse) {
|
|
13402
|
+
.muka-chat-message--has-menu .muka-chat-message__bubble {
|
|
13403
|
+
-webkit-touch-callout: none;
|
|
13404
|
+
}
|
|
13011
13405
|
}
|
|
13012
13406
|
|
|
13013
13407
|
/* ─── Print ────────────────────────────────────────────── */
|
|
13014
13408
|
|
|
13015
|
-
@media print {
|
|
13016
|
-
.muka-chat-
|
|
13017
|
-
|
|
13018
|
-
|
|
13019
|
-
|
|
13020
|
-
|
|
13021
|
-
|
|
13409
|
+
@media print {
|
|
13410
|
+
.muka-chat-message__bubble {
|
|
13411
|
+
box-shadow: none;
|
|
13412
|
+
break-inside: avoid;
|
|
13413
|
+
print-color-adjust: exact;
|
|
13414
|
+
-webkit-print-color-adjust: exact;
|
|
13415
|
+
}
|
|
13416
|
+
|
|
13417
|
+
.muka-chat-message__embed {
|
|
13418
|
+
break-inside: avoid;
|
|
13419
|
+
print-color-adjust: exact;
|
|
13420
|
+
-webkit-print-color-adjust: exact;
|
|
13022
13421
|
}
|
|
13023
13422
|
|
|
13024
|
-
.muka-chat-
|
|
13025
|
-
|
|
13423
|
+
.muka-chat-message__menu,
|
|
13424
|
+
.muka-chat-message__embed-copy,
|
|
13425
|
+
.muka-chat-message__action-stack {
|
|
13426
|
+
display: none;
|
|
13026
13427
|
}
|
|
13027
13428
|
}
|
|
13028
13429
|
|
|
@@ -13047,7 +13448,7 @@ button.muka-chat-photo-grid__tile:focus-visible {
|
|
|
13047
13448
|
pointer-events: none;
|
|
13048
13449
|
}
|
|
13049
13450
|
|
|
13050
|
-
/* ─── Input row
|
|
13451
|
+
/* ─── Input row (default layout) ───────────────────────── */
|
|
13051
13452
|
|
|
13052
13453
|
.muka-chat-composer__row {
|
|
13053
13454
|
display: flex;
|
|
@@ -13073,6 +13474,19 @@ button.muka-chat-photo-grid__tile:focus-visible {
|
|
|
13073
13474
|
transition: border-color 0.12s ease;
|
|
13074
13475
|
}
|
|
13075
13476
|
|
|
13477
|
+
.muka-chat-composer--options .muka-chat-composer__field {
|
|
13478
|
+
flex: 1 1 auto;
|
|
13479
|
+
width: auto;
|
|
13480
|
+
}
|
|
13481
|
+
|
|
13482
|
+
/* Options input row: text field + mic / send beside it */
|
|
13483
|
+
.muka-chat-composer__options-input {
|
|
13484
|
+
display: flex;
|
|
13485
|
+
align-items: flex-end;
|
|
13486
|
+
gap: var(--spacing-3);
|
|
13487
|
+
width: 100%;
|
|
13488
|
+
}
|
|
13489
|
+
|
|
13076
13490
|
.muka-chat-composer__field:focus-within {
|
|
13077
13491
|
border-color: var(--input-field-color-focus-border, var(--color-action-default));
|
|
13078
13492
|
}
|
|
@@ -13141,615 +13555,391 @@ button.muka-chat-photo-grid__tile:focus-visible {
|
|
|
13141
13555
|
|
|
13142
13556
|
.muka-chat-composer__overflow {
|
|
13143
13557
|
position: absolute;
|
|
13144
|
-
top: 50%;
|
|
13145
|
-
right: var(--spacing-2);
|
|
13146
|
-
transform: translateY(-50%);
|
|
13147
|
-
}
|
|
13148
|
-
|
|
13149
|
-
/* ─── Print ────────────────────────────────────────────── */
|
|
13150
|
-
|
|
13151
|
-
@media print {
|
|
13152
|
-
.muka-chat-composer {
|
|
13153
|
-
display: none;
|
|
13154
|
-
}
|
|
13155
|
-
}
|
|
13156
|
-
|
|
13157
|
-
|
|
13158
|
-
/* ChatAttachmentChip */
|
|
13159
|
-
/* ChatAttachmentChip Component Styles */
|
|
13160
|
-
|
|
13161
|
-
.muka-chat-attachment-chip {
|
|
13162
|
-
position: relative;
|
|
13163
|
-
display: inline-flex;
|
|
13164
|
-
align-items: center;
|
|
13165
|
-
gap: var(--spacing-1);
|
|
13166
|
-
max-width: 240px;
|
|
13167
|
-
padding: var(--spacing-2) var(--spacing-3);
|
|
13168
|
-
background-color: var(--color-surface-level1);
|
|
13169
|
-
border: var(--border-width-regular) solid var(--color-border-default);
|
|
13170
|
-
border-radius: var(--radius-md);
|
|
13171
|
-
overflow: hidden;
|
|
13172
|
-
}
|
|
13173
|
-
|
|
13174
|
-
.muka-chat-attachment-chip--uploading {
|
|
13175
|
-
padding-bottom: calc(var(--spacing-2) + 2px);
|
|
13176
|
-
}
|
|
13177
|
-
|
|
13178
|
-
.muka-chat-attachment-chip--error {
|
|
13179
|
-
border-color: var(--color-state-error-default, var(--color-text-default-default));
|
|
13180
|
-
}
|
|
13181
|
-
|
|
13182
|
-
.muka-chat-attachment-chip--disabled {
|
|
13183
|
-
opacity: 0.5;
|
|
13184
|
-
pointer-events: none;
|
|
13185
|
-
}
|
|
13186
|
-
|
|
13187
|
-
/* ─── Body (icon + text) ───────────────────────────────── */
|
|
13188
|
-
|
|
13189
|
-
.muka-chat-attachment-chip__body {
|
|
13190
|
-
display: inline-flex;
|
|
13191
|
-
align-items: center;
|
|
13192
|
-
gap: var(--spacing-2);
|
|
13193
|
-
min-width: 0;
|
|
13194
|
-
flex: 1 1 auto;
|
|
13195
|
-
background: none;
|
|
13196
|
-
border: none;
|
|
13197
|
-
padding: 0;
|
|
13198
|
-
margin: 0;
|
|
13199
|
-
text-align: left;
|
|
13200
|
-
color: inherit;
|
|
13201
|
-
font: inherit;
|
|
13202
|
-
cursor: default;
|
|
13203
|
-
-webkit-tap-highlight-color: transparent;
|
|
13204
|
-
}
|
|
13205
|
-
|
|
13206
|
-
.muka-chat-attachment-chip--interactive .muka-chat-attachment-chip__body {
|
|
13207
|
-
cursor: pointer;
|
|
13208
|
-
}
|
|
13209
|
-
|
|
13210
|
-
.muka-chat-attachment-chip--interactive .muka-chat-attachment-chip__body:focus-visible {
|
|
13211
|
-
outline: 2px solid var(--color-action-default);
|
|
13212
|
-
outline-offset: 2px;
|
|
13213
|
-
border-radius: var(--radius-sm);
|
|
13214
|
-
}
|
|
13215
|
-
|
|
13216
|
-
.muka-chat-attachment-chip__icon {
|
|
13217
|
-
display: inline-flex;
|
|
13218
|
-
align-items: center;
|
|
13219
|
-
justify-content: center;
|
|
13220
|
-
flex-shrink: 0;
|
|
13221
|
-
color: var(--color-text-subtle-default);
|
|
13222
|
-
}
|
|
13223
|
-
|
|
13224
|
-
.muka-chat-attachment-chip__text {
|
|
13225
|
-
display: flex;
|
|
13226
|
-
flex-direction: column;
|
|
13227
|
-
min-width: 0;
|
|
13228
|
-
flex: 1 1 auto;
|
|
13229
|
-
}
|
|
13230
|
-
|
|
13231
|
-
.muka-chat-attachment-chip__name {
|
|
13232
|
-
color: var(--color-text-default-default);
|
|
13233
|
-
font-family: var(--text-body-sm-regular-fontFamily);
|
|
13234
|
-
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
13235
|
-
font-size: var(--text-body-sm-regular-fontSize);
|
|
13236
|
-
line-height: var(--text-body-sm-regular-lineHeight);
|
|
13237
|
-
white-space: nowrap;
|
|
13238
|
-
overflow: hidden;
|
|
13239
|
-
text-overflow: ellipsis;
|
|
13240
|
-
}
|
|
13241
|
-
|
|
13242
|
-
.muka-chat-attachment-chip__meta {
|
|
13243
|
-
color: var(--color-text-subtle-default);
|
|
13244
|
-
font-family: var(--text-body-sm-regular-fontFamily);
|
|
13245
|
-
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
13246
|
-
font-size: var(--text-body-sm-regular-fontSize);
|
|
13247
|
-
line-height: var(--text-body-sm-regular-lineHeight);
|
|
13248
|
-
white-space: nowrap;
|
|
13249
|
-
overflow: hidden;
|
|
13250
|
-
text-overflow: ellipsis;
|
|
13251
|
-
}
|
|
13252
|
-
|
|
13253
|
-
.muka-chat-attachment-chip--error .muka-chat-attachment-chip__meta {
|
|
13254
|
-
color: var(--color-state-error-default, var(--color-text-default-default));
|
|
13255
|
-
}
|
|
13256
|
-
|
|
13257
|
-
/* ─── Remove button ────────────────────────────────────── */
|
|
13258
|
-
|
|
13259
|
-
.muka-chat-attachment-chip__remove {
|
|
13260
|
-
display: inline-flex;
|
|
13261
|
-
align-items: center;
|
|
13262
|
-
justify-content: center;
|
|
13263
|
-
width: 20px;
|
|
13264
|
-
height: 20px;
|
|
13265
|
-
border: none;
|
|
13266
|
-
background: none;
|
|
13267
|
-
padding: 0;
|
|
13268
|
-
border-radius: var(--radius-sm);
|
|
13269
|
-
cursor: pointer;
|
|
13270
|
-
color: var(--color-text-subtle-default);
|
|
13271
|
-
flex-shrink: 0;
|
|
13272
|
-
-webkit-tap-highlight-color: transparent;
|
|
13273
|
-
}
|
|
13274
|
-
|
|
13275
|
-
.muka-chat-attachment-chip__remove:hover:not(:disabled) {
|
|
13276
|
-
color: var(--color-text-default-default);
|
|
13277
|
-
background-color: var(--color-surface-level2);
|
|
13278
|
-
}
|
|
13279
|
-
|
|
13280
|
-
.muka-chat-attachment-chip__remove:focus-visible {
|
|
13281
|
-
outline: 2px solid var(--color-action-default);
|
|
13282
|
-
outline-offset: 2px;
|
|
13283
|
-
}
|
|
13284
|
-
|
|
13285
|
-
.muka-chat-attachment-chip__remove:disabled {
|
|
13286
|
-
cursor: not-allowed;
|
|
13287
|
-
opacity: 0.5;
|
|
13288
|
-
}
|
|
13289
|
-
|
|
13290
|
-
/* ─── Progress bar ─────────────────────────────────────── */
|
|
13291
|
-
|
|
13292
|
-
.muka-chat-attachment-chip__progress {
|
|
13293
|
-
position: absolute;
|
|
13294
|
-
left: 0;
|
|
13295
|
-
right: 0;
|
|
13296
|
-
bottom: 0;
|
|
13297
|
-
height: 2px;
|
|
13298
|
-
background-color: var(--color-surface-level2);
|
|
13299
|
-
overflow: hidden;
|
|
13300
|
-
}
|
|
13301
|
-
|
|
13302
|
-
.muka-chat-attachment-chip__progress-fill {
|
|
13303
|
-
display: block;
|
|
13304
|
-
height: 100%;
|
|
13305
|
-
background-color: var(--color-action-default);
|
|
13306
|
-
transition: width 0.16s ease;
|
|
13307
|
-
}
|
|
13308
|
-
|
|
13309
|
-
.muka-chat-attachment-chip--error .muka-chat-attachment-chip__progress-fill {
|
|
13310
|
-
background-color: var(--color-state-error-default, var(--color-text-default-default));
|
|
13311
|
-
}
|
|
13312
|
-
|
|
13313
|
-
|
|
13314
|
-
/* Card */
|
|
13315
|
-
/* Card Component Styles - Using Muka Design Tokens */
|
|
13316
|
-
|
|
13317
|
-
.muka-card {
|
|
13318
|
-
background-color: var(--card-color-default-background);
|
|
13319
|
-
color: var(--card-color-default-foreground);
|
|
13320
|
-
border: var(--border-width-regular) solid var(--card-color-default-border);
|
|
13321
|
-
box-shadow: var(--card-shadow-default);
|
|
13322
|
-
transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
|
|
13323
|
-
overflow: hidden;
|
|
13324
|
-
}
|
|
13325
|
-
|
|
13326
|
-
/* Padding variants */
|
|
13327
|
-
.muka-card--padding-none {
|
|
13328
|
-
padding: 0;
|
|
13329
|
-
}
|
|
13330
|
-
|
|
13331
|
-
.muka-card--padding-sm {
|
|
13332
|
-
padding: var(--card-padding-sm);
|
|
13333
|
-
}
|
|
13334
|
-
|
|
13335
|
-
.muka-card--padding-md {
|
|
13336
|
-
padding: var(--card-padding-md);
|
|
13337
|
-
}
|
|
13338
|
-
|
|
13339
|
-
.muka-card--padding-lg {
|
|
13340
|
-
padding: var(--card-padding-lg);
|
|
13341
|
-
}
|
|
13342
|
-
|
|
13343
|
-
/* Radius variants */
|
|
13344
|
-
.muka-card--radius-sm {
|
|
13345
|
-
border-radius: var(--card-radius-sm);
|
|
13346
|
-
}
|
|
13347
|
-
|
|
13348
|
-
.muka-card--radius-md {
|
|
13349
|
-
border-radius: var(--card-radius-md);
|
|
13350
|
-
}
|
|
13351
|
-
|
|
13352
|
-
.muka-card--radius-lg {
|
|
13353
|
-
border-radius: var(--card-radius-lg);
|
|
13354
|
-
}
|
|
13355
|
-
|
|
13356
|
-
/* Interactive variant */
|
|
13357
|
-
.muka-card--interactive {
|
|
13358
|
-
cursor: pointer;
|
|
13359
|
-
user-select: none;
|
|
13360
|
-
}
|
|
13361
|
-
|
|
13362
|
-
.muka-card--interactive:hover {
|
|
13363
|
-
background-color: var(--card-color-hover-background);
|
|
13364
|
-
border-color: var(--card-color-hover-border);
|
|
13365
|
-
box-shadow: var(--card-shadow-hover);
|
|
13366
|
-
}
|
|
13367
|
-
|
|
13368
|
-
.muka-card--interactive:active,
|
|
13369
|
-
.muka-card--interactive.muka-card--pressed {
|
|
13370
|
-
background-color: var(--card-color-pressed-background);
|
|
13371
|
-
border-color: var(--card-color-pressed-border);
|
|
13372
|
-
box-shadow: var(--card-shadow-pressed);
|
|
13558
|
+
top: 50%;
|
|
13559
|
+
right: var(--spacing-2);
|
|
13560
|
+
transform: translateY(-50%);
|
|
13373
13561
|
}
|
|
13374
13562
|
|
|
13375
|
-
|
|
13376
|
-
|
|
13377
|
-
|
|
13563
|
+
/* ─── Options mode (Figma State=Options / State7 / State8) ─ */
|
|
13564
|
+
|
|
13565
|
+
.muka-chat-composer__prompt {
|
|
13566
|
+
display: flex;
|
|
13567
|
+
align-items: flex-start;
|
|
13568
|
+
gap: var(--spacing-3);
|
|
13569
|
+
width: 100%;
|
|
13378
13570
|
}
|
|
13379
13571
|
|
|
13380
|
-
|
|
13381
|
-
|
|
13382
|
-
background-color: var(--card-color-selected-background);
|
|
13383
|
-
border-color: var(--card-color-selected-border);
|
|
13384
|
-
border-width: var(--border-width-bold);
|
|
13385
|
-
box-shadow: var(--card-shadow-selected);
|
|
13572
|
+
.muka-chat-composer__prompt-step {
|
|
13573
|
+
flex-shrink: 0;
|
|
13386
13574
|
}
|
|
13387
13575
|
|
|
13388
|
-
|
|
13389
|
-
|
|
13390
|
-
|
|
13576
|
+
.muka-chat-composer__prompt-text {
|
|
13577
|
+
display: flex;
|
|
13578
|
+
flex-direction: column;
|
|
13579
|
+
gap: var(--spacing-1);
|
|
13580
|
+
min-width: 0;
|
|
13581
|
+
flex: 1 1 auto;
|
|
13391
13582
|
}
|
|
13392
13583
|
|
|
13393
|
-
.muka-
|
|
13394
|
-
margin: 0;
|
|
13584
|
+
.muka-chat-composer__prompt-heading {
|
|
13395
13585
|
color: var(--color-text-default-default);
|
|
13396
|
-
font-family: var(--text-heading-
|
|
13397
|
-
font-weight: var(--text-heading-
|
|
13398
|
-
font-size: var(--text-heading-
|
|
13399
|
-
line-height: var(--text-heading-
|
|
13400
|
-
letter-spacing: var(--text-heading-xs-letterSpacing);
|
|
13586
|
+
font-family: var(--text-heading-sm-fontFamily);
|
|
13587
|
+
font-weight: var(--text-heading-sm-fontWeight);
|
|
13588
|
+
font-size: var(--text-heading-sm-fontSize);
|
|
13589
|
+
line-height: var(--text-heading-sm-lineHeight);
|
|
13401
13590
|
}
|
|
13402
13591
|
|
|
13403
|
-
.muka-
|
|
13404
|
-
margin: var(--spacing-1) 0 0;
|
|
13592
|
+
.muka-chat-composer__prompt-description {
|
|
13405
13593
|
color: var(--color-text-subtle-default);
|
|
13406
|
-
font-family: var(--text-body-
|
|
13407
|
-
font-weight: var(--text-body-
|
|
13408
|
-
font-size: var(--text-body-
|
|
13409
|
-
line-height: var(--text-body-
|
|
13594
|
+
font-family: var(--text-body-base-regular-fontFamily);
|
|
13595
|
+
font-weight: var(--text-body-base-regular-fontWeight);
|
|
13596
|
+
font-size: var(--text-body-base-regular-fontSize);
|
|
13597
|
+
line-height: var(--text-body-base-regular-lineHeight);
|
|
13410
13598
|
}
|
|
13411
13599
|
|
|
13412
|
-
|
|
13413
|
-
|
|
13414
|
-
display: none;
|
|
13600
|
+
.muka-chat-composer__choices {
|
|
13601
|
+
width: 100%;
|
|
13415
13602
|
}
|
|
13416
13603
|
|
|
13417
|
-
|
|
13418
|
-
|
|
13419
|
-
|
|
13420
|
-
cursor: not-allowed;
|
|
13421
|
-
pointer-events: none;
|
|
13604
|
+
.muka-chat-composer__choices-card {
|
|
13605
|
+
width: 100%;
|
|
13606
|
+
overflow: hidden;
|
|
13422
13607
|
}
|
|
13423
13608
|
|
|
13609
|
+
/* Choice rows: the ListItem is the interactive control; the Radio/Checkbox is
|
|
13610
|
+
decorative for AT (aria-hidden) and sits in the leading slot. */
|
|
13611
|
+
.muka-chat-composer__choice-control {
|
|
13612
|
+
display: inline-flex;
|
|
13613
|
+
align-items: center;
|
|
13614
|
+
pointer-events: none;
|
|
13615
|
+
}
|
|
13424
13616
|
|
|
13425
|
-
|
|
13426
|
-
|
|
13617
|
+
.muka-chat-composer__choice-control .muka-radio,
|
|
13618
|
+
.muka-chat-composer__choice-control .muka-checkbox {
|
|
13619
|
+
pointer-events: none;
|
|
13620
|
+
}
|
|
13427
13621
|
|
|
13428
|
-
|
|
13622
|
+
/*
|
|
13623
|
+
* Multi-step footer (Figma Canned responses). Previous (muted) | centered
|
|
13624
|
+
* progress | Next/Send (muted when not ready, primary when ready — never
|
|
13625
|
+
* disabled for unreadiness).
|
|
13626
|
+
*/
|
|
13627
|
+
.muka-chat-composer__footer {
|
|
13628
|
+
position: relative;
|
|
13429
13629
|
display: flex;
|
|
13430
|
-
|
|
13630
|
+
align-items: center;
|
|
13631
|
+
justify-content: space-between;
|
|
13632
|
+
gap: var(--spacing-2);
|
|
13431
13633
|
width: 100%;
|
|
13432
|
-
|
|
13634
|
+
min-height: var(--input-field-height-lg, 48px);
|
|
13433
13635
|
}
|
|
13434
13636
|
|
|
13435
|
-
|
|
13436
|
-
|
|
13437
|
-
|
|
13438
|
-
|
|
13439
|
-
|
|
13440
|
-
|
|
13441
|
-
column-gap: var(--chatbubble-row-gap);
|
|
13442
|
-
width: 100%;
|
|
13637
|
+
.muka-chat-composer__footer-spacer {
|
|
13638
|
+
display: inline-block;
|
|
13639
|
+
/* Approximate width of a Previous button so Next stays right-aligned when
|
|
13640
|
+
there is no back control (step 1 of N). */
|
|
13641
|
+
min-width: 7rem;
|
|
13642
|
+
flex-shrink: 0;
|
|
13443
13643
|
}
|
|
13444
13644
|
|
|
13445
|
-
.muka-chat-
|
|
13446
|
-
|
|
13447
|
-
|
|
13645
|
+
.muka-chat-composer__footer-back {
|
|
13646
|
+
flex-shrink: 0;
|
|
13647
|
+
z-index: 1;
|
|
13448
13648
|
}
|
|
13449
13649
|
|
|
13450
|
-
.muka-chat-
|
|
13451
|
-
|
|
13452
|
-
|
|
13453
|
-
|
|
13454
|
-
display: flex;
|
|
13455
|
-
justify-content: center;
|
|
13456
|
-
min-width: var(--chatbubble-avatar-size);
|
|
13650
|
+
.muka-chat-composer__footer-action {
|
|
13651
|
+
flex-shrink: 0;
|
|
13652
|
+
margin-left: auto;
|
|
13653
|
+
z-index: 1;
|
|
13457
13654
|
}
|
|
13458
13655
|
|
|
13459
|
-
|
|
13460
|
-
|
|
13461
|
-
|
|
13462
|
-
|
|
13463
|
-
|
|
13464
|
-
|
|
13465
|
-
|
|
13466
|
-
|
|
13467
|
-
|
|
13656
|
+
.muka-chat-composer__progress {
|
|
13657
|
+
position: absolute;
|
|
13658
|
+
left: 50%;
|
|
13659
|
+
top: 50%;
|
|
13660
|
+
transform: translate(-50%, -50%);
|
|
13661
|
+
color: var(--color-text-subtle-default);
|
|
13662
|
+
font-family: var(--text-label-lg-regular-fontFamily, var(--text-body-base-regular-fontFamily));
|
|
13663
|
+
font-weight: var(--text-label-lg-regular-fontWeight, var(--text-body-base-regular-fontWeight));
|
|
13664
|
+
font-size: var(--text-label-lg-regular-fontSize, var(--text-body-base-regular-fontSize));
|
|
13665
|
+
line-height: var(--text-label-lg-regular-lineHeight, var(--text-body-base-regular-lineHeight));
|
|
13666
|
+
white-space: nowrap;
|
|
13667
|
+
pointer-events: none;
|
|
13668
|
+
}
|
|
13468
13669
|
|
|
13469
|
-
|
|
13470
|
-
min-width: var(--chatbubble-avatar-size-compact);
|
|
13471
|
-
}
|
|
13670
|
+
/* ─── Print ────────────────────────────────────────────── */
|
|
13472
13671
|
|
|
13473
|
-
|
|
13474
|
-
.muka-chat-
|
|
13475
|
-
|
|
13476
|
-
height: var(--chatbubble-avatar-size-compact);
|
|
13672
|
+
@media print {
|
|
13673
|
+
.muka-chat-composer {
|
|
13674
|
+
display: none;
|
|
13477
13675
|
}
|
|
13478
13676
|
}
|
|
13479
13677
|
|
|
13480
|
-
/* ─── Bubble surface ───────────────────────────────────── */
|
|
13481
13678
|
|
|
13482
|
-
|
|
13483
|
-
|
|
13484
|
-
|
|
13485
|
-
|
|
13486
|
-
* bubble fills to the shared max width. Robust to string or rich children —
|
|
13487
|
-
* no length measuring needed (Figma `Text length` on 5355:44091).
|
|
13488
|
-
*/
|
|
13489
|
-
width: fit-content;
|
|
13490
|
-
/*
|
|
13491
|
-
* Ceiling from design (Figma 5355:44091). Below it, wrapping text fills the
|
|
13492
|
-
* row; above it the fixed cap leaves room for own/peer alignment.
|
|
13493
|
-
*/
|
|
13494
|
-
max-width: var(--chatbubble-max-width);
|
|
13679
|
+
/* ChatAttachmentChip */
|
|
13680
|
+
/* ChatAttachmentChip Component Styles */
|
|
13681
|
+
|
|
13682
|
+
.muka-chat-attachment-chip {
|
|
13495
13683
|
position: relative;
|
|
13496
|
-
display: flex;
|
|
13497
|
-
|
|
13498
|
-
gap: var(--
|
|
13499
|
-
|
|
13500
|
-
|
|
13501
|
-
|
|
13502
|
-
|
|
13503
|
-
|
|
13684
|
+
display: inline-flex;
|
|
13685
|
+
align-items: center;
|
|
13686
|
+
gap: var(--spacing-1);
|
|
13687
|
+
max-width: 240px;
|
|
13688
|
+
padding: var(--spacing-2) var(--spacing-3);
|
|
13689
|
+
background-color: var(--color-surface-level1);
|
|
13690
|
+
border: var(--border-width-regular) solid var(--color-border-default);
|
|
13691
|
+
border-radius: var(--radius-md);
|
|
13692
|
+
overflow: hidden;
|
|
13504
13693
|
}
|
|
13505
13694
|
|
|
13506
|
-
|
|
13507
|
-
|
|
13508
|
-
width: 100%;
|
|
13695
|
+
.muka-chat-attachment-chip--uploading {
|
|
13696
|
+
padding-bottom: calc(var(--spacing-2) + 2px);
|
|
13509
13697
|
}
|
|
13510
13698
|
|
|
13511
|
-
.muka-chat-
|
|
13512
|
-
|
|
13699
|
+
.muka-chat-attachment-chip--error {
|
|
13700
|
+
border-color: var(--color-state-error-default, var(--color-text-default-default));
|
|
13513
13701
|
}
|
|
13514
13702
|
|
|
13515
|
-
.muka-chat-
|
|
13516
|
-
|
|
13517
|
-
|
|
13518
|
-
color: var(--chatbubble-color-own-foreground);
|
|
13703
|
+
.muka-chat-attachment-chip--disabled {
|
|
13704
|
+
opacity: 0.5;
|
|
13705
|
+
pointer-events: none;
|
|
13519
13706
|
}
|
|
13520
13707
|
|
|
13521
|
-
|
|
13522
|
-
|
|
13523
|
-
|
|
13524
|
-
|
|
13708
|
+
/* ─── Body (icon + text) ───────────────────────────────── */
|
|
13709
|
+
|
|
13710
|
+
.muka-chat-attachment-chip__body {
|
|
13711
|
+
display: inline-flex;
|
|
13712
|
+
align-items: center;
|
|
13713
|
+
gap: var(--spacing-2);
|
|
13714
|
+
min-width: 0;
|
|
13715
|
+
flex: 1 1 auto;
|
|
13716
|
+
background: none;
|
|
13717
|
+
border: none;
|
|
13718
|
+
padding: 0;
|
|
13719
|
+
margin: 0;
|
|
13720
|
+
text-align: left;
|
|
13721
|
+
color: inherit;
|
|
13722
|
+
font: inherit;
|
|
13723
|
+
cursor: default;
|
|
13724
|
+
-webkit-tap-highlight-color: transparent;
|
|
13525
13725
|
}
|
|
13526
13726
|
|
|
13527
|
-
.muka-chat-
|
|
13528
|
-
|
|
13529
|
-
border-color: var(--chatbubble-color-agent-border);
|
|
13530
|
-
color: var(--chatbubble-color-agent-foreground);
|
|
13727
|
+
.muka-chat-attachment-chip--interactive .muka-chat-attachment-chip__body {
|
|
13728
|
+
cursor: pointer;
|
|
13531
13729
|
}
|
|
13532
13730
|
|
|
13533
|
-
|
|
13731
|
+
.muka-chat-attachment-chip--interactive .muka-chat-attachment-chip__body:focus-visible {
|
|
13732
|
+
outline: 2px solid var(--color-action-default);
|
|
13733
|
+
outline-offset: 2px;
|
|
13734
|
+
border-radius: var(--radius-sm);
|
|
13735
|
+
}
|
|
13534
13736
|
|
|
13535
|
-
.muka-chat-
|
|
13536
|
-
display: flex;
|
|
13537
|
-
flex-flow: row wrap;
|
|
13737
|
+
.muka-chat-attachment-chip__icon {
|
|
13738
|
+
display: inline-flex;
|
|
13538
13739
|
align-items: center;
|
|
13539
|
-
|
|
13740
|
+
justify-content: center;
|
|
13741
|
+
flex-shrink: 0;
|
|
13742
|
+
color: var(--color-text-subtle-default);
|
|
13540
13743
|
}
|
|
13541
13744
|
|
|
13542
|
-
.muka-chat-
|
|
13543
|
-
|
|
13544
|
-
|
|
13545
|
-
|
|
13546
|
-
|
|
13745
|
+
.muka-chat-attachment-chip__text {
|
|
13746
|
+
display: flex;
|
|
13747
|
+
flex-direction: column;
|
|
13748
|
+
min-width: 0;
|
|
13749
|
+
flex: 1 1 auto;
|
|
13547
13750
|
}
|
|
13548
13751
|
|
|
13549
|
-
.muka-chat-
|
|
13550
|
-
|
|
13551
|
-
|
|
13552
|
-
font-
|
|
13553
|
-
font-
|
|
13554
|
-
|
|
13555
|
-
|
|
13752
|
+
.muka-chat-attachment-chip__name {
|
|
13753
|
+
color: var(--color-text-default-default);
|
|
13754
|
+
font-family: var(--text-body-sm-regular-fontFamily);
|
|
13755
|
+
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
13756
|
+
font-size: var(--text-body-sm-regular-fontSize);
|
|
13757
|
+
line-height: var(--text-body-sm-regular-lineHeight);
|
|
13758
|
+
white-space: nowrap;
|
|
13759
|
+
overflow: hidden;
|
|
13760
|
+
text-overflow: ellipsis;
|
|
13761
|
+
}
|
|
13762
|
+
|
|
13763
|
+
.muka-chat-attachment-chip__meta {
|
|
13764
|
+
color: var(--color-text-subtle-default);
|
|
13765
|
+
font-family: var(--text-body-sm-regular-fontFamily);
|
|
13766
|
+
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
13767
|
+
font-size: var(--text-body-sm-regular-fontSize);
|
|
13768
|
+
line-height: var(--text-body-sm-regular-lineHeight);
|
|
13769
|
+
white-space: nowrap;
|
|
13770
|
+
overflow: hidden;
|
|
13771
|
+
text-overflow: ellipsis;
|
|
13556
13772
|
}
|
|
13557
13773
|
|
|
13558
|
-
.muka-chat-
|
|
13774
|
+
.muka-chat-attachment-chip--error .muka-chat-attachment-chip__meta {
|
|
13775
|
+
color: var(--color-state-error-default, var(--color-text-default-default));
|
|
13776
|
+
}
|
|
13777
|
+
|
|
13778
|
+
/* ─── Remove button ────────────────────────────────────── */
|
|
13779
|
+
|
|
13780
|
+
.muka-chat-attachment-chip__remove {
|
|
13559
13781
|
display: inline-flex;
|
|
13560
13782
|
align-items: center;
|
|
13783
|
+
justify-content: center;
|
|
13784
|
+
width: 20px;
|
|
13785
|
+
height: 20px;
|
|
13786
|
+
border: none;
|
|
13787
|
+
background: none;
|
|
13788
|
+
padding: 0;
|
|
13789
|
+
border-radius: var(--radius-sm);
|
|
13790
|
+
cursor: pointer;
|
|
13791
|
+
color: var(--color-text-subtle-default);
|
|
13792
|
+
flex-shrink: 0;
|
|
13793
|
+
-webkit-tap-highlight-color: transparent;
|
|
13561
13794
|
}
|
|
13562
13795
|
|
|
13563
|
-
|
|
13564
|
-
|
|
13565
|
-
|
|
13566
|
-
*/
|
|
13567
|
-
.muka-chat-message--has-menu .muka-chat-message__header,
|
|
13568
|
-
.muka-chat-message--has-menu.muka-chat-message--no-header .muka-chat-message__message {
|
|
13569
|
-
padding-right: var(--spacing-10);
|
|
13796
|
+
.muka-chat-attachment-chip__remove:hover:not(:disabled) {
|
|
13797
|
+
color: var(--color-text-default-default);
|
|
13798
|
+
background-color: var(--color-surface-level2);
|
|
13570
13799
|
}
|
|
13571
13800
|
|
|
13572
|
-
|
|
13573
|
-
|
|
13574
|
-
|
|
13801
|
+
.muka-chat-attachment-chip__remove:focus-visible {
|
|
13802
|
+
outline: 2px solid var(--color-action-default);
|
|
13803
|
+
outline-offset: 2px;
|
|
13575
13804
|
}
|
|
13576
13805
|
|
|
13577
|
-
|
|
13578
|
-
|
|
13579
|
-
.
|
|
13580
|
-
display: flex;
|
|
13581
|
-
flex-direction: column;
|
|
13582
|
-
gap: var(--chatbubble-gap);
|
|
13583
|
-
min-width: 0;
|
|
13806
|
+
.muka-chat-attachment-chip__remove:disabled {
|
|
13807
|
+
cursor: not-allowed;
|
|
13808
|
+
opacity: 0.5;
|
|
13584
13809
|
}
|
|
13585
13810
|
|
|
13586
|
-
|
|
13587
|
-
|
|
13811
|
+
/* ─── Progress bar ─────────────────────────────────────── */
|
|
13812
|
+
|
|
13813
|
+
.muka-chat-attachment-chip__progress {
|
|
13814
|
+
position: absolute;
|
|
13815
|
+
left: 0;
|
|
13816
|
+
right: 0;
|
|
13817
|
+
bottom: 0;
|
|
13818
|
+
height: 2px;
|
|
13819
|
+
background-color: var(--color-surface-level2);
|
|
13820
|
+
overflow: hidden;
|
|
13588
13821
|
}
|
|
13589
13822
|
|
|
13590
|
-
.muka-chat-
|
|
13591
|
-
|
|
13592
|
-
|
|
13593
|
-
|
|
13594
|
-
|
|
13595
|
-
white-space: pre-wrap;
|
|
13596
|
-
word-break: break-word;
|
|
13823
|
+
.muka-chat-attachment-chip__progress-fill {
|
|
13824
|
+
display: block;
|
|
13825
|
+
height: 100%;
|
|
13826
|
+
background-color: var(--color-action-default);
|
|
13827
|
+
transition: width 0.16s ease;
|
|
13597
13828
|
}
|
|
13598
13829
|
|
|
13599
|
-
|
|
13600
|
-
|
|
13601
|
-
display: none;
|
|
13830
|
+
.muka-chat-attachment-chip--error .muka-chat-attachment-chip__progress-fill {
|
|
13831
|
+
background-color: var(--color-state-error-default, var(--color-text-default-default));
|
|
13602
13832
|
}
|
|
13603
13833
|
|
|
13604
|
-
/* ─── Embedded card ────────────────────────────────────── */
|
|
13605
13834
|
|
|
13606
|
-
|
|
13607
|
-
|
|
13608
|
-
display: flex;
|
|
13609
|
-
flex-direction: column;
|
|
13610
|
-
gap: var(--chatbubble-embed-gap);
|
|
13611
|
-
/* The card is inset from the blocks above and below it (Figma 5289:40562) */
|
|
13612
|
-
margin-block: var(--chatbubble-embed-margin-block);
|
|
13613
|
-
padding: var(--chatbubble-embed-padding-block) var(--chatbubble-embed-padding-inline);
|
|
13614
|
-
border-radius: var(--chatbubble-embed-radius);
|
|
13615
|
-
border: var(--border-width-regular) solid transparent;
|
|
13616
|
-
}
|
|
13835
|
+
/* Card */
|
|
13836
|
+
/* Card Component Styles - Using Muka Design Tokens */
|
|
13617
13837
|
|
|
13618
|
-
|
|
13619
|
-
|
|
13620
|
-
|
|
13621
|
-
|
|
13622
|
-
|
|
13623
|
-
background-color
|
|
13624
|
-
|
|
13625
|
-
color: var(--chatbubble-embed-color-own-foreground);
|
|
13838
|
+
.muka-card {
|
|
13839
|
+
background-color: var(--card-color-default-background);
|
|
13840
|
+
color: var(--card-color-default-foreground);
|
|
13841
|
+
border: var(--border-width-regular) solid var(--card-color-default-border);
|
|
13842
|
+
box-shadow: var(--card-shadow-default);
|
|
13843
|
+
transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
|
|
13844
|
+
overflow: hidden;
|
|
13626
13845
|
}
|
|
13627
13846
|
|
|
13628
|
-
|
|
13629
|
-
|
|
13630
|
-
|
|
13631
|
-
color: var(--chatbubble-embed-color-peer-foreground);
|
|
13847
|
+
/* Padding variants */
|
|
13848
|
+
.muka-card--padding-none {
|
|
13849
|
+
padding: 0;
|
|
13632
13850
|
}
|
|
13633
13851
|
|
|
13634
|
-
.muka-
|
|
13635
|
-
|
|
13636
|
-
border-color: var(--chatbubble-embed-color-agent-border);
|
|
13637
|
-
color: var(--chatbubble-embed-color-agent-foreground);
|
|
13852
|
+
.muka-card--padding-sm {
|
|
13853
|
+
padding: var(--card-padding-sm);
|
|
13638
13854
|
}
|
|
13639
13855
|
|
|
13640
|
-
.muka-
|
|
13641
|
-
|
|
13642
|
-
flex-direction: column;
|
|
13643
|
-
gap: var(--chatbubble-embed-gap);
|
|
13644
|
-
min-width: 0;
|
|
13856
|
+
.muka-card--padding-md {
|
|
13857
|
+
padding: var(--card-padding-md);
|
|
13645
13858
|
}
|
|
13646
13859
|
|
|
13647
|
-
.muka-
|
|
13648
|
-
|
|
13649
|
-
top: var(--chatbubble-embed-padding-block);
|
|
13650
|
-
right: var(--chatbubble-embed-padding-inline);
|
|
13860
|
+
.muka-card--padding-lg {
|
|
13861
|
+
padding: var(--card-padding-lg);
|
|
13651
13862
|
}
|
|
13652
13863
|
|
|
13653
|
-
/*
|
|
13654
|
-
|
|
13655
|
-
|
|
13656
|
-
display: flex;
|
|
13657
|
-
flex-direction: column;
|
|
13658
|
-
gap: var(--chatbubble-action-stack-gap);
|
|
13864
|
+
/* Radius variants */
|
|
13865
|
+
.muka-card--radius-sm {
|
|
13866
|
+
border-radius: var(--card-radius-sm);
|
|
13659
13867
|
}
|
|
13660
13868
|
|
|
13661
|
-
|
|
13662
|
-
|
|
13663
|
-
/*
|
|
13664
|
-
* Every author puts its timestamp in the bubble's bottom-right corner, below
|
|
13665
|
-
* the message — never in the header row (Figma 5355:44091).
|
|
13666
|
-
*/
|
|
13667
|
-
|
|
13668
|
-
.muka-chat-message__timestamp {
|
|
13669
|
-
color: var(--chatbubble-color-timestamp);
|
|
13670
|
-
font-family: var(--text-body-xs-regular-fontFamily);
|
|
13671
|
-
font-weight: var(--text-body-xs-regular-fontWeight);
|
|
13672
|
-
font-size: var(--text-body-xs-regular-fontSize);
|
|
13673
|
-
line-height: var(--text-body-xs-regular-lineHeight);
|
|
13674
|
-
white-space: nowrap;
|
|
13869
|
+
.muka-card--radius-md {
|
|
13870
|
+
border-radius: var(--card-radius-md);
|
|
13675
13871
|
}
|
|
13676
13872
|
|
|
13677
|
-
|
|
13678
|
-
|
|
13679
|
-
* message stays one line tall. The message reserves the width it needs.
|
|
13680
|
-
*/
|
|
13681
|
-
.muka-chat-message__timestamp--inset {
|
|
13682
|
-
position: absolute;
|
|
13683
|
-
right: var(--spacing-2);
|
|
13684
|
-
bottom: var(--spacing-1);
|
|
13873
|
+
.muka-card--radius-lg {
|
|
13874
|
+
border-radius: var(--card-radius-lg);
|
|
13685
13875
|
}
|
|
13686
13876
|
|
|
13687
|
-
/*
|
|
13688
|
-
|
|
13689
|
-
|
|
13690
|
-
|
|
13691
|
-
* `__message` padding-right above), so it needs no extra bottom space.
|
|
13692
|
-
*/
|
|
13693
|
-
.muka-chat-message--has-timestamp.muka-chat-message--trailing-block .muka-chat-message__body {
|
|
13694
|
-
padding-bottom: var(--text-body-xs-regular-lineHeight);
|
|
13877
|
+
/* Interactive variant */
|
|
13878
|
+
.muka-card--interactive {
|
|
13879
|
+
cursor: pointer;
|
|
13880
|
+
user-select: none;
|
|
13695
13881
|
}
|
|
13696
13882
|
|
|
13697
|
-
|
|
13883
|
+
.muka-card--interactive:hover {
|
|
13884
|
+
background-color: var(--card-color-hover-background);
|
|
13885
|
+
border-color: var(--card-color-hover-border);
|
|
13886
|
+
box-shadow: var(--card-shadow-hover);
|
|
13887
|
+
}
|
|
13698
13888
|
|
|
13699
|
-
|
|
13700
|
-
|
|
13701
|
-
|
|
13702
|
-
|
|
13703
|
-
|
|
13704
|
-
.muka-chat-message__menu {
|
|
13705
|
-
position: absolute;
|
|
13706
|
-
top: var(--spacing-1);
|
|
13707
|
-
right: var(--spacing-1);
|
|
13708
|
-
opacity: 0;
|
|
13709
|
-
pointer-events: none;
|
|
13889
|
+
.muka-card--interactive:active,
|
|
13890
|
+
.muka-card--interactive.muka-card--pressed {
|
|
13891
|
+
background-color: var(--card-color-pressed-background);
|
|
13892
|
+
border-color: var(--card-color-pressed-border);
|
|
13893
|
+
box-shadow: var(--card-shadow-pressed);
|
|
13710
13894
|
}
|
|
13711
13895
|
|
|
13712
|
-
.muka-
|
|
13713
|
-
|
|
13714
|
-
|
|
13715
|
-
pointer-events: auto;
|
|
13896
|
+
.muka-card--interactive:focus-visible {
|
|
13897
|
+
outline: 2px solid var(--color-border-focus);
|
|
13898
|
+
outline-offset: 2px;
|
|
13716
13899
|
}
|
|
13717
13900
|
|
|
13718
|
-
|
|
13719
|
-
|
|
13720
|
-
|
|
13721
|
-
|
|
13722
|
-
|
|
13901
|
+
/* Selected variant */
|
|
13902
|
+
.muka-card--selected {
|
|
13903
|
+
background-color: var(--card-color-selected-background);
|
|
13904
|
+
border-color: var(--card-color-selected-border);
|
|
13905
|
+
border-width: var(--border-width-bold);
|
|
13906
|
+
box-shadow: var(--card-shadow-selected);
|
|
13723
13907
|
}
|
|
13724
13908
|
|
|
13725
|
-
/*
|
|
13726
|
-
|
|
13727
|
-
|
|
13728
|
-
-webkit-touch-callout: none;
|
|
13729
|
-
}
|
|
13909
|
+
/* Optional header (title + description) */
|
|
13910
|
+
.muka-card__header {
|
|
13911
|
+
margin-bottom: var(--spacing-4);
|
|
13730
13912
|
}
|
|
13731
13913
|
|
|
13732
|
-
|
|
13914
|
+
.muka-card__title {
|
|
13915
|
+
margin: 0;
|
|
13916
|
+
color: var(--color-text-default-default);
|
|
13917
|
+
font-family: var(--text-heading-xs-fontFamily);
|
|
13918
|
+
font-weight: var(--text-heading-xs-fontWeight);
|
|
13919
|
+
font-size: var(--text-heading-xs-fontSize);
|
|
13920
|
+
line-height: var(--text-heading-xs-lineHeight);
|
|
13921
|
+
letter-spacing: var(--text-heading-xs-letterSpacing);
|
|
13922
|
+
}
|
|
13733
13923
|
|
|
13734
|
-
|
|
13735
|
-
|
|
13736
|
-
|
|
13737
|
-
|
|
13738
|
-
|
|
13739
|
-
|
|
13740
|
-
|
|
13924
|
+
.muka-card__description {
|
|
13925
|
+
margin: var(--spacing-1) 0 0;
|
|
13926
|
+
color: var(--color-text-subtle-default);
|
|
13927
|
+
font-family: var(--text-body-sm-regular-fontFamily);
|
|
13928
|
+
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
13929
|
+
font-size: var(--text-body-sm-regular-fontSize);
|
|
13930
|
+
line-height: var(--text-body-sm-regular-lineHeight);
|
|
13931
|
+
}
|
|
13741
13932
|
|
|
13742
|
-
|
|
13743
|
-
|
|
13744
|
-
|
|
13745
|
-
|
|
13746
|
-
}
|
|
13933
|
+
/* Hide divider on last list item inside card */
|
|
13934
|
+
.muka-card > .muka-listitem:last-child > .muka-listitem__divider {
|
|
13935
|
+
display: none;
|
|
13936
|
+
}
|
|
13747
13937
|
|
|
13748
|
-
|
|
13749
|
-
|
|
13750
|
-
.
|
|
13751
|
-
|
|
13752
|
-
|
|
13938
|
+
/* Disabled state */
|
|
13939
|
+
.muka-card--disabled {
|
|
13940
|
+
opacity: 0.5;
|
|
13941
|
+
cursor: not-allowed;
|
|
13942
|
+
pointer-events: none;
|
|
13753
13943
|
}
|
|
13754
13944
|
|
|
13755
13945
|
|
|
@@ -14101,6 +14291,120 @@ button.muka-chat-photo-grid__tile:focus-visible {
|
|
|
14101
14291
|
}
|
|
14102
14292
|
|
|
14103
14293
|
|
|
14294
|
+
/* Breadcrumb */
|
|
14295
|
+
/* Breadcrumb Component Styles */
|
|
14296
|
+
|
|
14297
|
+
.muka-breadcrumb__list {
|
|
14298
|
+
display: flex;
|
|
14299
|
+
align-items: center;
|
|
14300
|
+
flex-wrap: wrap;
|
|
14301
|
+
list-style: none;
|
|
14302
|
+
margin: 0;
|
|
14303
|
+
padding: 0;
|
|
14304
|
+
gap: var(--spacing-1);
|
|
14305
|
+
}
|
|
14306
|
+
|
|
14307
|
+
.muka-breadcrumb__item {
|
|
14308
|
+
display: inline-flex;
|
|
14309
|
+
align-items: center;
|
|
14310
|
+
gap: var(--spacing-1);
|
|
14311
|
+
}
|
|
14312
|
+
|
|
14313
|
+
.muka-breadcrumb__item:has(.muka-breadcrumb__icon) {
|
|
14314
|
+
padding-left: var(--spacing-1);
|
|
14315
|
+
}
|
|
14316
|
+
|
|
14317
|
+
.muka-breadcrumb__icon {
|
|
14318
|
+
display: inline-flex;
|
|
14319
|
+
align-items: center;
|
|
14320
|
+
color: var(--color-text-subtle-default);
|
|
14321
|
+
}
|
|
14322
|
+
|
|
14323
|
+
.muka-breadcrumb__icon .muka-icon {
|
|
14324
|
+
color: inherit;
|
|
14325
|
+
}
|
|
14326
|
+
|
|
14327
|
+
.muka-breadcrumb__item:has(.muka-breadcrumb__current) .muka-breadcrumb__icon {
|
|
14328
|
+
color: var(--color-text-default-default);
|
|
14329
|
+
}
|
|
14330
|
+
|
|
14331
|
+
.muka-breadcrumb__item:has(.muka-breadcrumb__link:hover) .muka-breadcrumb__icon {
|
|
14332
|
+
color: var(--color-text-action-default);
|
|
14333
|
+
}
|
|
14334
|
+
|
|
14335
|
+
/* Link styles */
|
|
14336
|
+
.muka-breadcrumb__link {
|
|
14337
|
+
color: var(--color-text-subtle-default);
|
|
14338
|
+
text-decoration: none;
|
|
14339
|
+
border: none;
|
|
14340
|
+
background: none;
|
|
14341
|
+
padding-inline: var(--spacing-2);
|
|
14342
|
+
padding-block: 0;
|
|
14343
|
+
cursor: pointer;
|
|
14344
|
+
font: inherit;
|
|
14345
|
+
transition: color 0.15s ease;
|
|
14346
|
+
}
|
|
14347
|
+
|
|
14348
|
+
.muka-breadcrumb__link:hover {
|
|
14349
|
+
color: var(--color-text-action-default);
|
|
14350
|
+
text-decoration: underline;
|
|
14351
|
+
}
|
|
14352
|
+
|
|
14353
|
+
/* Tighter gap after leading icon */
|
|
14354
|
+
.muka-breadcrumb__item:has(.muka-breadcrumb__icon) .muka-breadcrumb__link,
|
|
14355
|
+
.muka-breadcrumb__item:has(.muka-breadcrumb__icon) .muka-breadcrumb__current {
|
|
14356
|
+
padding-left: var(--spacing-1);
|
|
14357
|
+
}
|
|
14358
|
+
|
|
14359
|
+
/* Current page (last item, no context switcher) */
|
|
14360
|
+
.muka-breadcrumb__current {
|
|
14361
|
+
color: var(--color-text-default-default);
|
|
14362
|
+
font-weight: 600;
|
|
14363
|
+
padding-inline: var(--spacing-2);
|
|
14364
|
+
}
|
|
14365
|
+
|
|
14366
|
+
/* Separator */
|
|
14367
|
+
.muka-breadcrumb__separator {
|
|
14368
|
+
color: var(--color-text-subtle-default);
|
|
14369
|
+
user-select: none;
|
|
14370
|
+
}
|
|
14371
|
+
|
|
14372
|
+
.muka-breadcrumb__item--context {
|
|
14373
|
+
gap: 0;
|
|
14374
|
+
}
|
|
14375
|
+
|
|
14376
|
+
.muka-breadcrumb__list:has(.muka-breadcrumb__item--context) {
|
|
14377
|
+
gap: 0;
|
|
14378
|
+
}
|
|
14379
|
+
|
|
14380
|
+
.muka-breadcrumb__item--context .muka-breadcrumb__separator {
|
|
14381
|
+
margin: 0;
|
|
14382
|
+
padding-inline: var(--spacing-1, 4px);
|
|
14383
|
+
}
|
|
14384
|
+
|
|
14385
|
+
/* Size variants */
|
|
14386
|
+
.muka-breadcrumb--sm {
|
|
14387
|
+
font-family: var(--text-label-sm-regular-fontFamily);
|
|
14388
|
+
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
14389
|
+
font-size: var(--text-label-sm-regular-fontSize);
|
|
14390
|
+
line-height: var(--text-label-sm-regular-lineHeight);
|
|
14391
|
+
}
|
|
14392
|
+
|
|
14393
|
+
.muka-breadcrumb--md {
|
|
14394
|
+
font-family: var(--text-label-md-regular-fontFamily);
|
|
14395
|
+
font-weight: var(--text-label-md-regular-fontWeight);
|
|
14396
|
+
font-size: var(--text-label-md-regular-fontSize);
|
|
14397
|
+
line-height: var(--text-label-md-regular-lineHeight);
|
|
14398
|
+
}
|
|
14399
|
+
|
|
14400
|
+
.muka-breadcrumb--lg {
|
|
14401
|
+
font-family: var(--text-label-lg-regular-fontFamily);
|
|
14402
|
+
font-weight: var(--text-label-lg-regular-fontWeight);
|
|
14403
|
+
font-size: var(--text-label-lg-regular-fontSize);
|
|
14404
|
+
line-height: var(--text-label-lg-regular-lineHeight);
|
|
14405
|
+
}
|
|
14406
|
+
|
|
14407
|
+
|
|
14104
14408
|
/* BottomBar */
|
|
14105
14409
|
/* BottomBar Component Styles */
|
|
14106
14410
|
|
|
@@ -14475,167 +14779,53 @@ button.muka-chat-photo-grid__tile:focus-visible {
|
|
|
14475
14779
|
line-height: var(--text-label-lg-bold-lineHeight);
|
|
14476
14780
|
}
|
|
14477
14781
|
|
|
14478
|
-
.muka-badge-number--lg {
|
|
14479
|
-
height: var(--badge-number-size-lg);
|
|
14480
|
-
min-width: var(--badge-number-size-lg);
|
|
14481
|
-
padding: 0 var(--badge-number-padding-lg);
|
|
14482
|
-
font-family: var(--text-label-2xl-bold-fontFamily);
|
|
14483
|
-
font-weight: var(--text-label-2xl-bold-fontWeight);
|
|
14484
|
-
font-size: var(--text-label-2xl-bold-fontSize);
|
|
14485
|
-
line-height: var(--text-label-2xl-bold-lineHeight);
|
|
14486
|
-
}
|
|
14487
|
-
|
|
14488
|
-
.muka-badge-number__label {
|
|
14489
|
-
/*
|
|
14490
|
-
* The badge sets a tight line-height for compact sizing, which would clip
|
|
14491
|
-
* glyph descenders; give the label a roomier line-height. Vertical centering
|
|
14492
|
-
* is unaffected because the badge height is fixed and content is centered.
|
|
14493
|
-
*/
|
|
14494
|
-
line-height: normal;
|
|
14495
|
-
}
|
|
14496
|
-
|
|
14497
|
-
/* Neutral variant */
|
|
14498
|
-
.muka-badge-number--neutral {
|
|
14499
|
-
background-color: var(--color-surface-level1);
|
|
14500
|
-
color: var(--color-text-default-default);
|
|
14501
|
-
}
|
|
14502
|
-
|
|
14503
|
-
/* Info variant */
|
|
14504
|
-
.muka-badge-number--info {
|
|
14505
|
-
background-color: var(--color-state-info-contrast);
|
|
14506
|
-
color: var(--color-text-default-inverse);
|
|
14507
|
-
}
|
|
14508
|
-
|
|
14509
|
-
/* Success variant */
|
|
14510
|
-
.muka-badge-number--success {
|
|
14511
|
-
background-color: var(--color-state-success-contrast);
|
|
14512
|
-
color: var(--color-text-default-inverse);
|
|
14513
|
-
}
|
|
14514
|
-
|
|
14515
|
-
/* Warning variant */
|
|
14516
|
-
.muka-badge-number--warning {
|
|
14517
|
-
background-color: var(--color-state-warning-contrast);
|
|
14518
|
-
color: var(--color-text-default-inverse);
|
|
14519
|
-
}
|
|
14520
|
-
|
|
14521
|
-
/* Error variant */
|
|
14522
|
-
.muka-badge-number--error {
|
|
14523
|
-
background-color: var(--color-state-error-contrast);
|
|
14524
|
-
color: var(--color-text-default-inverse);
|
|
14525
|
-
}
|
|
14526
|
-
|
|
14527
|
-
|
|
14528
|
-
/* Breadcrumb */
|
|
14529
|
-
/* Breadcrumb Component Styles */
|
|
14530
|
-
|
|
14531
|
-
.muka-breadcrumb__list {
|
|
14532
|
-
display: flex;
|
|
14533
|
-
align-items: center;
|
|
14534
|
-
flex-wrap: wrap;
|
|
14535
|
-
list-style: none;
|
|
14536
|
-
margin: 0;
|
|
14537
|
-
padding: 0;
|
|
14538
|
-
gap: var(--spacing-1);
|
|
14539
|
-
}
|
|
14540
|
-
|
|
14541
|
-
.muka-breadcrumb__item {
|
|
14542
|
-
display: inline-flex;
|
|
14543
|
-
align-items: center;
|
|
14544
|
-
gap: var(--spacing-1);
|
|
14545
|
-
}
|
|
14546
|
-
|
|
14547
|
-
.muka-breadcrumb__item:has(.muka-breadcrumb__icon) {
|
|
14548
|
-
padding-left: var(--spacing-1);
|
|
14549
|
-
}
|
|
14550
|
-
|
|
14551
|
-
.muka-breadcrumb__icon {
|
|
14552
|
-
display: inline-flex;
|
|
14553
|
-
align-items: center;
|
|
14554
|
-
color: var(--color-text-subtle-default);
|
|
14555
|
-
}
|
|
14556
|
-
|
|
14557
|
-
.muka-breadcrumb__icon .muka-icon {
|
|
14558
|
-
color: inherit;
|
|
14559
|
-
}
|
|
14560
|
-
|
|
14561
|
-
.muka-breadcrumb__item:has(.muka-breadcrumb__current) .muka-breadcrumb__icon {
|
|
14562
|
-
color: var(--color-text-default-default);
|
|
14563
|
-
}
|
|
14564
|
-
|
|
14565
|
-
.muka-breadcrumb__item:has(.muka-breadcrumb__link:hover) .muka-breadcrumb__icon {
|
|
14566
|
-
color: var(--color-text-action-default);
|
|
14567
|
-
}
|
|
14568
|
-
|
|
14569
|
-
/* Link styles */
|
|
14570
|
-
.muka-breadcrumb__link {
|
|
14571
|
-
color: var(--color-text-subtle-default);
|
|
14572
|
-
text-decoration: none;
|
|
14573
|
-
border: none;
|
|
14574
|
-
background: none;
|
|
14575
|
-
padding-inline: var(--spacing-2);
|
|
14576
|
-
padding-block: 0;
|
|
14577
|
-
cursor: pointer;
|
|
14578
|
-
font: inherit;
|
|
14579
|
-
transition: color 0.15s ease;
|
|
14580
|
-
}
|
|
14581
|
-
|
|
14582
|
-
.muka-breadcrumb__link:hover {
|
|
14583
|
-
color: var(--color-text-action-default);
|
|
14584
|
-
text-decoration: underline;
|
|
14585
|
-
}
|
|
14586
|
-
|
|
14587
|
-
/* Tighter gap after leading icon */
|
|
14588
|
-
.muka-breadcrumb__item:has(.muka-breadcrumb__icon) .muka-breadcrumb__link,
|
|
14589
|
-
.muka-breadcrumb__item:has(.muka-breadcrumb__icon) .muka-breadcrumb__current {
|
|
14590
|
-
padding-left: var(--spacing-1);
|
|
14591
|
-
}
|
|
14592
|
-
|
|
14593
|
-
/* Current page (last item, no context switcher) */
|
|
14594
|
-
.muka-breadcrumb__current {
|
|
14595
|
-
color: var(--color-text-default-default);
|
|
14596
|
-
font-weight: 600;
|
|
14597
|
-
padding-inline: var(--spacing-2);
|
|
14598
|
-
}
|
|
14599
|
-
|
|
14600
|
-
/* Separator */
|
|
14601
|
-
.muka-breadcrumb__separator {
|
|
14602
|
-
color: var(--color-text-subtle-default);
|
|
14603
|
-
user-select: none;
|
|
14604
|
-
}
|
|
14605
|
-
|
|
14606
|
-
.muka-breadcrumb__item--context {
|
|
14607
|
-
gap: 0;
|
|
14782
|
+
.muka-badge-number--lg {
|
|
14783
|
+
height: var(--badge-number-size-lg);
|
|
14784
|
+
min-width: var(--badge-number-size-lg);
|
|
14785
|
+
padding: 0 var(--badge-number-padding-lg);
|
|
14786
|
+
font-family: var(--text-label-2xl-bold-fontFamily);
|
|
14787
|
+
font-weight: var(--text-label-2xl-bold-fontWeight);
|
|
14788
|
+
font-size: var(--text-label-2xl-bold-fontSize);
|
|
14789
|
+
line-height: var(--text-label-2xl-bold-lineHeight);
|
|
14608
14790
|
}
|
|
14609
14791
|
|
|
14610
|
-
.muka-
|
|
14611
|
-
|
|
14792
|
+
.muka-badge-number__label {
|
|
14793
|
+
/*
|
|
14794
|
+
* The badge sets a tight line-height for compact sizing, which would clip
|
|
14795
|
+
* glyph descenders; give the label a roomier line-height. Vertical centering
|
|
14796
|
+
* is unaffected because the badge height is fixed and content is centered.
|
|
14797
|
+
*/
|
|
14798
|
+
line-height: normal;
|
|
14612
14799
|
}
|
|
14613
14800
|
|
|
14614
|
-
|
|
14615
|
-
|
|
14616
|
-
|
|
14801
|
+
/* Neutral variant */
|
|
14802
|
+
.muka-badge-number--neutral {
|
|
14803
|
+
background-color: var(--color-surface-level1);
|
|
14804
|
+
color: var(--color-text-default-default);
|
|
14617
14805
|
}
|
|
14618
14806
|
|
|
14619
|
-
/*
|
|
14620
|
-
.muka-
|
|
14621
|
-
|
|
14622
|
-
|
|
14623
|
-
font-size: var(--text-label-sm-regular-fontSize);
|
|
14624
|
-
line-height: var(--text-label-sm-regular-lineHeight);
|
|
14807
|
+
/* Info variant */
|
|
14808
|
+
.muka-badge-number--info {
|
|
14809
|
+
background-color: var(--color-state-info-contrast);
|
|
14810
|
+
color: var(--color-text-default-inverse);
|
|
14625
14811
|
}
|
|
14626
14812
|
|
|
14627
|
-
|
|
14628
|
-
|
|
14629
|
-
|
|
14630
|
-
|
|
14631
|
-
line-height: var(--text-label-md-regular-lineHeight);
|
|
14813
|
+
/* Success variant */
|
|
14814
|
+
.muka-badge-number--success {
|
|
14815
|
+
background-color: var(--color-state-success-contrast);
|
|
14816
|
+
color: var(--color-text-default-inverse);
|
|
14632
14817
|
}
|
|
14633
14818
|
|
|
14634
|
-
|
|
14635
|
-
|
|
14636
|
-
|
|
14637
|
-
|
|
14638
|
-
|
|
14819
|
+
/* Warning variant */
|
|
14820
|
+
.muka-badge-number--warning {
|
|
14821
|
+
background-color: var(--color-state-warning-contrast);
|
|
14822
|
+
color: var(--color-text-default-inverse);
|
|
14823
|
+
}
|
|
14824
|
+
|
|
14825
|
+
/* Error variant */
|
|
14826
|
+
.muka-badge-number--error {
|
|
14827
|
+
background-color: var(--color-state-error-contrast);
|
|
14828
|
+
color: var(--color-text-default-inverse);
|
|
14639
14829
|
}
|
|
14640
14830
|
|
|
14641
14831
|
|
|
@@ -15268,6 +15458,102 @@ button.muka-chat-photo-grid__tile:focus-visible {
|
|
|
15268
15458
|
}
|
|
15269
15459
|
|
|
15270
15460
|
|
|
15461
|
+
/* AppShell */
|
|
15462
|
+
/* AppShell Component Styles */
|
|
15463
|
+
|
|
15464
|
+
/*
|
|
15465
|
+
* Layout wrapper for a persistent left navigation rail + main view area, with an
|
|
15466
|
+
* optional full-width top app bar. The rail itself is styled by the BottomBar
|
|
15467
|
+
* `desktopAs="sidebar"` rules (fixed 240px left rail at ≥1024px); AppShell shows/
|
|
15468
|
+
* hides the sidebar + app-bar slots and offsets the main area to match. Both
|
|
15469
|
+
* appear at the large tier — responsively (no `size`, scoped with
|
|
15470
|
+
* `:not([data-size])`) or forced via `[data-size="lg"]`.
|
|
15471
|
+
*/
|
|
15472
|
+
.muka-app-shell {
|
|
15473
|
+
position: relative;
|
|
15474
|
+
/* Reserved width for the rail; matches BottomBar's desktop-sidebar width. */
|
|
15475
|
+
--app-shell-sidebar-width: 240px;
|
|
15476
|
+
/* Height of the optional top app bar. */
|
|
15477
|
+
--app-shell-appbar-height: 64px;
|
|
15478
|
+
}
|
|
15479
|
+
|
|
15480
|
+
/* Sidebar slot: hidden below the large tier (per-view nav handles small/medium). */
|
|
15481
|
+
.muka-app-shell__sidebar {
|
|
15482
|
+
display: none;
|
|
15483
|
+
}
|
|
15484
|
+
|
|
15485
|
+
.muka-app-shell__main {
|
|
15486
|
+
min-height: 100dvh;
|
|
15487
|
+
}
|
|
15488
|
+
|
|
15489
|
+
/*
|
|
15490
|
+
* App bar: full-width top strip. Intrinsic styling lives here (harmless while
|
|
15491
|
+
* hidden); it is revealed only at the large tier. Sits above the sidebar rail.
|
|
15492
|
+
*/
|
|
15493
|
+
.muka-app-shell__appbar {
|
|
15494
|
+
display: none;
|
|
15495
|
+
align-items: center;
|
|
15496
|
+
justify-content: space-between;
|
|
15497
|
+
gap: var(--spacing-4);
|
|
15498
|
+
position: fixed;
|
|
15499
|
+
top: 0;
|
|
15500
|
+
left: 0;
|
|
15501
|
+
right: 0;
|
|
15502
|
+
height: var(--app-shell-appbar-height);
|
|
15503
|
+
padding-inline: var(--spacing-4);
|
|
15504
|
+
background-color: var(--color-surface-level3);
|
|
15505
|
+
border-bottom: var(--border-width-regular) solid var(--color-border-default);
|
|
15506
|
+
z-index: 11; /* above the sidebar rail (z-index 10) */
|
|
15507
|
+
}
|
|
15508
|
+
|
|
15509
|
+
/* ─── Large tier (responsive) ─── */
|
|
15510
|
+
@media (min-width: 1024px) {
|
|
15511
|
+
.muka-app-shell:not([data-size]) .muka-app-shell__sidebar {
|
|
15512
|
+
display: block;
|
|
15513
|
+
}
|
|
15514
|
+
.muka-app-shell:not([data-size]) .muka-app-shell__main {
|
|
15515
|
+
padding-left: var(--app-shell-sidebar-width);
|
|
15516
|
+
}
|
|
15517
|
+
.muka-app-shell:not([data-size]) .muka-app-shell__appbar {
|
|
15518
|
+
display: flex;
|
|
15519
|
+
}
|
|
15520
|
+
/* When an app bar is present, drop the rail + content below it so nothing overlaps. */
|
|
15521
|
+
.muka-app-shell:not([data-size]):has(.muka-app-shell__appbar) .muka-app-shell__main {
|
|
15522
|
+
padding-top: var(--app-shell-appbar-height);
|
|
15523
|
+
}
|
|
15524
|
+
.muka-app-shell:not([data-size]):has(.muka-app-shell__appbar) .muka-bottombar--desktop-sidebar {
|
|
15525
|
+
top: var(--app-shell-appbar-height);
|
|
15526
|
+
height: calc(100vh - var(--app-shell-appbar-height));
|
|
15527
|
+
}
|
|
15528
|
+
.muka-app-shell:not([data-size]):has(.muka-app-shell__appbar) .muka-view,
|
|
15529
|
+
.muka-app-shell:not([data-size]):has(.muka-app-shell__appbar) .muka-nav-transition {
|
|
15530
|
+
height: calc(100dvh - var(--app-shell-appbar-height));
|
|
15531
|
+
}
|
|
15532
|
+
}
|
|
15533
|
+
|
|
15534
|
+
/* ─── Large tier (forced via size="lg") ─── */
|
|
15535
|
+
.muka-app-shell[data-size='lg'] .muka-app-shell__sidebar {
|
|
15536
|
+
display: block;
|
|
15537
|
+
}
|
|
15538
|
+
.muka-app-shell[data-size='lg'] .muka-app-shell__main {
|
|
15539
|
+
padding-left: var(--app-shell-sidebar-width);
|
|
15540
|
+
}
|
|
15541
|
+
.muka-app-shell[data-size='lg'] .muka-app-shell__appbar {
|
|
15542
|
+
display: flex;
|
|
15543
|
+
}
|
|
15544
|
+
.muka-app-shell[data-size='lg']:has(.muka-app-shell__appbar) .muka-app-shell__main {
|
|
15545
|
+
padding-top: var(--app-shell-appbar-height);
|
|
15546
|
+
}
|
|
15547
|
+
.muka-app-shell[data-size='lg']:has(.muka-app-shell__appbar) .muka-bottombar--desktop-sidebar {
|
|
15548
|
+
top: var(--app-shell-appbar-height);
|
|
15549
|
+
height: calc(100vh - var(--app-shell-appbar-height));
|
|
15550
|
+
}
|
|
15551
|
+
.muka-app-shell[data-size='lg']:has(.muka-app-shell__appbar) .muka-view,
|
|
15552
|
+
.muka-app-shell[data-size='lg']:has(.muka-app-shell__appbar) .muka-nav-transition {
|
|
15553
|
+
height: calc(100dvh - var(--app-shell-appbar-height));
|
|
15554
|
+
}
|
|
15555
|
+
|
|
15556
|
+
|
|
15271
15557
|
/* Alert */
|
|
15272
15558
|
/* Alert Component Styles - Using Muka Design Tokens */
|
|
15273
15559
|
|
|
@@ -15420,6 +15706,14 @@ button.muka-chat-photo-grid__tile:focus-visible {
|
|
|
15420
15706
|
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
15421
15707
|
font-size: var(--text-body-sm-regular-fontSize);
|
|
15422
15708
|
line-height: var(--text-body-sm-regular-lineHeight);
|
|
15709
|
+
/* Beat ambient docs/page text colors (e.g. Storybook sbdocs) so variant
|
|
15710
|
+
foreground stays readable in light and dark themes. */
|
|
15711
|
+
color: inherit;
|
|
15712
|
+
}
|
|
15713
|
+
|
|
15714
|
+
.muka-alert .muka-alert__message,
|
|
15715
|
+
.muka-alert .muka-alert__message * {
|
|
15716
|
+
color: inherit;
|
|
15423
15717
|
}
|
|
15424
15718
|
|
|
15425
15719
|
.muka-alert--lg .muka-alert__message {
|
|
@@ -15471,102 +15765,6 @@ button.muka-chat-photo-grid__tile:focus-visible {
|
|
|
15471
15765
|
}
|
|
15472
15766
|
|
|
15473
15767
|
|
|
15474
|
-
/* AppShell */
|
|
15475
|
-
/* AppShell Component Styles */
|
|
15476
|
-
|
|
15477
|
-
/*
|
|
15478
|
-
* Layout wrapper for a persistent left navigation rail + main view area, with an
|
|
15479
|
-
* optional full-width top app bar. The rail itself is styled by the BottomBar
|
|
15480
|
-
* `desktopAs="sidebar"` rules (fixed 240px left rail at ≥1024px); AppShell shows/
|
|
15481
|
-
* hides the sidebar + app-bar slots and offsets the main area to match. Both
|
|
15482
|
-
* appear at the large tier — responsively (no `size`, scoped with
|
|
15483
|
-
* `:not([data-size])`) or forced via `[data-size="lg"]`.
|
|
15484
|
-
*/
|
|
15485
|
-
.muka-app-shell {
|
|
15486
|
-
position: relative;
|
|
15487
|
-
/* Reserved width for the rail; matches BottomBar's desktop-sidebar width. */
|
|
15488
|
-
--app-shell-sidebar-width: 240px;
|
|
15489
|
-
/* Height of the optional top app bar. */
|
|
15490
|
-
--app-shell-appbar-height: 64px;
|
|
15491
|
-
}
|
|
15492
|
-
|
|
15493
|
-
/* Sidebar slot: hidden below the large tier (per-view nav handles small/medium). */
|
|
15494
|
-
.muka-app-shell__sidebar {
|
|
15495
|
-
display: none;
|
|
15496
|
-
}
|
|
15497
|
-
|
|
15498
|
-
.muka-app-shell__main {
|
|
15499
|
-
min-height: 100dvh;
|
|
15500
|
-
}
|
|
15501
|
-
|
|
15502
|
-
/*
|
|
15503
|
-
* App bar: full-width top strip. Intrinsic styling lives here (harmless while
|
|
15504
|
-
* hidden); it is revealed only at the large tier. Sits above the sidebar rail.
|
|
15505
|
-
*/
|
|
15506
|
-
.muka-app-shell__appbar {
|
|
15507
|
-
display: none;
|
|
15508
|
-
align-items: center;
|
|
15509
|
-
justify-content: space-between;
|
|
15510
|
-
gap: var(--spacing-4);
|
|
15511
|
-
position: fixed;
|
|
15512
|
-
top: 0;
|
|
15513
|
-
left: 0;
|
|
15514
|
-
right: 0;
|
|
15515
|
-
height: var(--app-shell-appbar-height);
|
|
15516
|
-
padding-inline: var(--spacing-4);
|
|
15517
|
-
background-color: var(--color-surface-level3);
|
|
15518
|
-
border-bottom: var(--border-width-regular) solid var(--color-border-default);
|
|
15519
|
-
z-index: 11; /* above the sidebar rail (z-index 10) */
|
|
15520
|
-
}
|
|
15521
|
-
|
|
15522
|
-
/* ─── Large tier (responsive) ─── */
|
|
15523
|
-
@media (min-width: 1024px) {
|
|
15524
|
-
.muka-app-shell:not([data-size]) .muka-app-shell__sidebar {
|
|
15525
|
-
display: block;
|
|
15526
|
-
}
|
|
15527
|
-
.muka-app-shell:not([data-size]) .muka-app-shell__main {
|
|
15528
|
-
padding-left: var(--app-shell-sidebar-width);
|
|
15529
|
-
}
|
|
15530
|
-
.muka-app-shell:not([data-size]) .muka-app-shell__appbar {
|
|
15531
|
-
display: flex;
|
|
15532
|
-
}
|
|
15533
|
-
/* When an app bar is present, drop the rail + content below it so nothing overlaps. */
|
|
15534
|
-
.muka-app-shell:not([data-size]):has(.muka-app-shell__appbar) .muka-app-shell__main {
|
|
15535
|
-
padding-top: var(--app-shell-appbar-height);
|
|
15536
|
-
}
|
|
15537
|
-
.muka-app-shell:not([data-size]):has(.muka-app-shell__appbar) .muka-bottombar--desktop-sidebar {
|
|
15538
|
-
top: var(--app-shell-appbar-height);
|
|
15539
|
-
height: calc(100vh - var(--app-shell-appbar-height));
|
|
15540
|
-
}
|
|
15541
|
-
.muka-app-shell:not([data-size]):has(.muka-app-shell__appbar) .muka-view,
|
|
15542
|
-
.muka-app-shell:not([data-size]):has(.muka-app-shell__appbar) .muka-nav-transition {
|
|
15543
|
-
height: calc(100dvh - var(--app-shell-appbar-height));
|
|
15544
|
-
}
|
|
15545
|
-
}
|
|
15546
|
-
|
|
15547
|
-
/* ─── Large tier (forced via size="lg") ─── */
|
|
15548
|
-
.muka-app-shell[data-size='lg'] .muka-app-shell__sidebar {
|
|
15549
|
-
display: block;
|
|
15550
|
-
}
|
|
15551
|
-
.muka-app-shell[data-size='lg'] .muka-app-shell__main {
|
|
15552
|
-
padding-left: var(--app-shell-sidebar-width);
|
|
15553
|
-
}
|
|
15554
|
-
.muka-app-shell[data-size='lg'] .muka-app-shell__appbar {
|
|
15555
|
-
display: flex;
|
|
15556
|
-
}
|
|
15557
|
-
.muka-app-shell[data-size='lg']:has(.muka-app-shell__appbar) .muka-app-shell__main {
|
|
15558
|
-
padding-top: var(--app-shell-appbar-height);
|
|
15559
|
-
}
|
|
15560
|
-
.muka-app-shell[data-size='lg']:has(.muka-app-shell__appbar) .muka-bottombar--desktop-sidebar {
|
|
15561
|
-
top: var(--app-shell-appbar-height);
|
|
15562
|
-
height: calc(100vh - var(--app-shell-appbar-height));
|
|
15563
|
-
}
|
|
15564
|
-
.muka-app-shell[data-size='lg']:has(.muka-app-shell__appbar) .muka-view,
|
|
15565
|
-
.muka-app-shell[data-size='lg']:has(.muka-app-shell__appbar) .muka-nav-transition {
|
|
15566
|
-
height: calc(100dvh - var(--app-shell-appbar-height));
|
|
15567
|
-
}
|
|
15568
|
-
|
|
15569
|
-
|
|
15570
15768
|
/* AgentTaskList */
|
|
15571
15769
|
/* AgentTaskList Component Styles */
|
|
15572
15770
|
|