@revikornmann/muka-ui 0.64.1 → 0.64.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/components/View/viewNavigation.js +39 -5
- package/dist/cjs/components/View/viewNavigation.js.map +1 -1
- package/dist/esm/components/View/viewNavigation.js +39 -5
- package/dist/esm/components/View/viewNavigation.js.map +1 -1
- package/dist/styles/index.css +1734 -1734
- package/dist/styles/muka-dark.css +1734 -1734
- package/dist/styles/muka-light.css +1734 -1734
- package/dist/styles/wireframe-dark.css +1734 -1734
- package/dist/styles/wireframe-light.css +1734 -1734
- package/dist/types/components/View/viewNavigation.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/styles/index.css
CHANGED
|
@@ -6048,6 +6048,88 @@ body {
|
|
|
6048
6048
|
}
|
|
6049
6049
|
|
|
6050
6050
|
|
|
6051
|
+
/* Sheet */
|
|
6052
|
+
/* Sheet Component Styles */
|
|
6053
|
+
|
|
6054
|
+
/* ─── Backdrop ────────────────────────────────────────── */
|
|
6055
|
+
|
|
6056
|
+
.muka-sheet__overlay {
|
|
6057
|
+
position: fixed;
|
|
6058
|
+
inset: 0;
|
|
6059
|
+
background-color: var(--color-surface-backdrop);
|
|
6060
|
+
-webkit-backdrop-filter: blur(var(--effect-blur-backdrop));
|
|
6061
|
+
backdrop-filter: blur(var(--effect-blur-backdrop));
|
|
6062
|
+
z-index: 50;
|
|
6063
|
+
}
|
|
6064
|
+
|
|
6065
|
+
/* ─── Surface ─────────────────────────────────────────── */
|
|
6066
|
+
|
|
6067
|
+
.muka-sheet {
|
|
6068
|
+
position: fixed;
|
|
6069
|
+
left: 0;
|
|
6070
|
+
right: 0;
|
|
6071
|
+
bottom: 0;
|
|
6072
|
+
z-index: 51;
|
|
6073
|
+
|
|
6074
|
+
display: flex;
|
|
6075
|
+
flex-direction: column;
|
|
6076
|
+
|
|
6077
|
+
max-height: 96dvh;
|
|
6078
|
+
|
|
6079
|
+
background-color: var(--color-surface-level3);
|
|
6080
|
+
border-top-left-radius: var(--radius-lg);
|
|
6081
|
+
border-top-right-radius: var(--radius-lg);
|
|
6082
|
+
box-shadow: var(--shadow-level5);
|
|
6083
|
+
|
|
6084
|
+
outline: none;
|
|
6085
|
+
}
|
|
6086
|
+
|
|
6087
|
+
/* Safe-area bottom inset for the iPhone home indicator. */
|
|
6088
|
+
.muka-sheet:not(.muka-sheet--no-safe-area) {
|
|
6089
|
+
padding-bottom: env(safe-area-inset-bottom);
|
|
6090
|
+
}
|
|
6091
|
+
|
|
6092
|
+
/* ─── Drag handle ─────────────────────────────────────── */
|
|
6093
|
+
|
|
6094
|
+
.muka-sheet__handle-container {
|
|
6095
|
+
display: flex;
|
|
6096
|
+
justify-content: center;
|
|
6097
|
+
flex-shrink: 0;
|
|
6098
|
+
padding: var(--spacing-3) 0;
|
|
6099
|
+
}
|
|
6100
|
+
|
|
6101
|
+
.muka-sheet__handle {
|
|
6102
|
+
width: var(--dialog-drag-handle-width);
|
|
6103
|
+
height: var(--dialog-drag-handle-height);
|
|
6104
|
+
background-color: var(--dialog-drag-handle-color);
|
|
6105
|
+
border-radius: var(--dialog-drag-handle-radius);
|
|
6106
|
+
}
|
|
6107
|
+
|
|
6108
|
+
/* ─── Body (scrollable) ───────────────────────────────── */
|
|
6109
|
+
|
|
6110
|
+
.muka-sheet__body {
|
|
6111
|
+
flex: 1 1 0%;
|
|
6112
|
+
min-height: 0;
|
|
6113
|
+
overflow-y: auto;
|
|
6114
|
+
-webkit-overflow-scrolling: touch;
|
|
6115
|
+
overscroll-behavior: contain;
|
|
6116
|
+
}
|
|
6117
|
+
|
|
6118
|
+
/* ─── Visually-hidden title (a11y) ────────────────────── */
|
|
6119
|
+
|
|
6120
|
+
.muka-sheet__sr-title {
|
|
6121
|
+
position: absolute;
|
|
6122
|
+
width: 1px;
|
|
6123
|
+
height: 1px;
|
|
6124
|
+
padding: 0;
|
|
6125
|
+
margin: -1px;
|
|
6126
|
+
overflow: hidden;
|
|
6127
|
+
clip: rect(0, 0, 0, 0);
|
|
6128
|
+
white-space: nowrap;
|
|
6129
|
+
border: 0;
|
|
6130
|
+
}
|
|
6131
|
+
|
|
6132
|
+
|
|
6051
6133
|
/* Select */
|
|
6052
6134
|
/* Select Component Styles - Aligned with Input for consistency */
|
|
6053
6135
|
|
|
@@ -6242,113 +6324,219 @@ body {
|
|
|
6242
6324
|
}
|
|
6243
6325
|
|
|
6244
6326
|
|
|
6245
|
-
/*
|
|
6246
|
-
/*
|
|
6327
|
+
/* SegmentGroup */
|
|
6328
|
+
/* SegmentGroup Component Styles - Using Muka Design Tokens */
|
|
6247
6329
|
|
|
6248
|
-
/*
|
|
6330
|
+
/* Container */
|
|
6331
|
+
.muka-segmentgroup {
|
|
6332
|
+
display: inline-flex;
|
|
6333
|
+
align-items: center;
|
|
6334
|
+
gap: 0;
|
|
6335
|
+
padding: var(--segmentgroup-container-padding);
|
|
6336
|
+
background-color: var(--segmentgroup-container-background);
|
|
6337
|
+
border-radius: var(--segmentgroup-container-radius);
|
|
6338
|
+
position: relative;
|
|
6339
|
+
transition: background-color 0.2s ease, box-shadow 0.2s ease;
|
|
6340
|
+
}
|
|
6249
6341
|
|
|
6250
|
-
|
|
6251
|
-
|
|
6342
|
+
/* Inset shadow on container */
|
|
6343
|
+
.muka-segmentgroup::after {
|
|
6344
|
+
content: '';
|
|
6345
|
+
position: absolute;
|
|
6252
6346
|
inset: 0;
|
|
6253
|
-
|
|
6254
|
-
-
|
|
6255
|
-
|
|
6256
|
-
z-index: 50;
|
|
6347
|
+
border-radius: inherit;
|
|
6348
|
+
box-shadow: var(--segmentgroup-container-shadow);
|
|
6349
|
+
pointer-events: none;
|
|
6257
6350
|
}
|
|
6258
6351
|
|
|
6259
|
-
/*
|
|
6260
|
-
|
|
6261
|
-
|
|
6262
|
-
position: fixed;
|
|
6263
|
-
left: 0;
|
|
6264
|
-
right: 0;
|
|
6265
|
-
bottom: 0;
|
|
6266
|
-
z-index: 51;
|
|
6267
|
-
|
|
6268
|
-
display: flex;
|
|
6269
|
-
flex-direction: column;
|
|
6270
|
-
|
|
6271
|
-
max-height: 96dvh;
|
|
6272
|
-
|
|
6273
|
-
background-color: var(--color-surface-level3);
|
|
6274
|
-
border-top-left-radius: var(--radius-lg);
|
|
6275
|
-
border-top-right-radius: var(--radius-lg);
|
|
6276
|
-
box-shadow: var(--shadow-level5);
|
|
6277
|
-
|
|
6278
|
-
outline: none;
|
|
6352
|
+
/* Full width variant */
|
|
6353
|
+
.muka-segmentgroup--full-width {
|
|
6354
|
+
width: 100%;
|
|
6279
6355
|
}
|
|
6280
6356
|
|
|
6281
|
-
|
|
6282
|
-
|
|
6283
|
-
padding-bottom: env(safe-area-inset-bottom);
|
|
6357
|
+
.muka-segmentgroup--full-width .muka-segmentgroup__segment {
|
|
6358
|
+
flex: 1;
|
|
6284
6359
|
}
|
|
6285
6360
|
|
|
6286
|
-
/*
|
|
6361
|
+
/* Pill */
|
|
6362
|
+
.muka-segmentgroup__pill {
|
|
6363
|
+
position: absolute;
|
|
6364
|
+
top: var(--segmentgroup-container-padding);
|
|
6365
|
+
bottom: var(--segmentgroup-container-padding);
|
|
6366
|
+
left: 0;
|
|
6367
|
+
margin: 0;
|
|
6368
|
+
background-color: var(--segmentgroup-segment-color-selected-background);
|
|
6369
|
+
box-shadow: var(--segmentgroup-segment-shadow-selected);
|
|
6370
|
+
transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), width 0.25s cubic-bezier(0.4, 0, 0.2, 1);
|
|
6371
|
+
z-index: 0;
|
|
6372
|
+
pointer-events: none;
|
|
6373
|
+
}
|
|
6287
6374
|
|
|
6288
|
-
|
|
6289
|
-
|
|
6375
|
+
/* Segment button */
|
|
6376
|
+
.muka-segmentgroup__segment {
|
|
6377
|
+
display: inline-flex;
|
|
6378
|
+
align-items: center;
|
|
6290
6379
|
justify-content: center;
|
|
6291
|
-
|
|
6292
|
-
|
|
6380
|
+
gap: var(--segmentgroup-segment-gap);
|
|
6381
|
+
border: none;
|
|
6382
|
+
background-color: var(--segmentgroup-segment-color-unselected-background);
|
|
6383
|
+
color: var(--segmentgroup-segment-color-unselected-foreground);
|
|
6384
|
+
border-radius: var(--segmentgroup-segment-radius);
|
|
6385
|
+
cursor: pointer;
|
|
6386
|
+
transition: background-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
|
|
6387
|
+
position: relative;
|
|
6388
|
+
outline: none;
|
|
6389
|
+
box-shadow: var(--segmentgroup-segment-shadow-unselected);
|
|
6390
|
+
font-family: var(--alias-font-plain-family);
|
|
6391
|
+
font-weight: var(--segmentgroup-segment-fontWeight);
|
|
6392
|
+
z-index: 1; /* Keep above pill */
|
|
6293
6393
|
}
|
|
6294
6394
|
|
|
6295
|
-
|
|
6296
|
-
|
|
6297
|
-
|
|
6298
|
-
background-color: var(--dialog-drag-handle-color);
|
|
6299
|
-
border-radius: var(--dialog-drag-handle-radius);
|
|
6395
|
+
/* Size variants */
|
|
6396
|
+
.muka-segmentgroup--sm {
|
|
6397
|
+
border-radius: var(--border-radius-xl, 16px);
|
|
6300
6398
|
}
|
|
6301
|
-
|
|
6302
|
-
|
|
6303
|
-
|
|
6304
|
-
.muka-sheet__body {
|
|
6305
|
-
flex: 1 1 0%;
|
|
6306
|
-
min-height: 0;
|
|
6307
|
-
overflow-y: auto;
|
|
6308
|
-
-webkit-overflow-scrolling: touch;
|
|
6309
|
-
overscroll-behavior: contain;
|
|
6399
|
+
.muka-segmentgroup--sm .muka-segmentgroup__segment,
|
|
6400
|
+
.muka-segmentgroup--sm .muka-segmentgroup__pill {
|
|
6401
|
+
border-radius: var(--border-radius-xl, 16px);
|
|
6310
6402
|
}
|
|
6311
|
-
|
|
6312
|
-
|
|
6313
|
-
|
|
6314
|
-
|
|
6315
|
-
|
|
6316
|
-
width: 1px;
|
|
6317
|
-
height: 1px;
|
|
6318
|
-
padding: 0;
|
|
6319
|
-
margin: -1px;
|
|
6320
|
-
overflow: hidden;
|
|
6321
|
-
clip: rect(0, 0, 0, 0);
|
|
6322
|
-
white-space: nowrap;
|
|
6323
|
-
border: 0;
|
|
6403
|
+
.muka-segmentgroup--sm .muka-segmentgroup__segment {
|
|
6404
|
+
padding: var(--segmentgroup-segment-padding-sm-y) var(--segmentgroup-segment-padding-sm-x);
|
|
6405
|
+
height: var(--segmentgroup-segment-height-sm);
|
|
6406
|
+
font-size: var(--text-label-sm-regular-fontSize);
|
|
6407
|
+
line-height: var(--text-label-sm-leading);
|
|
6324
6408
|
}
|
|
6325
6409
|
|
|
6326
|
-
|
|
6327
|
-
|
|
6328
|
-
/* Section Component - Layout tokens (section.padding) */
|
|
6329
|
-
|
|
6330
|
-
.muka-section {
|
|
6331
|
-
box-sizing: border-box;
|
|
6410
|
+
.muka-segmentgroup--md {
|
|
6411
|
+
border-radius: var(--border-radius-xl, 16px);
|
|
6332
6412
|
}
|
|
6333
|
-
|
|
6334
|
-
.muka-
|
|
6335
|
-
|
|
6336
|
-
padding-inline: var(--section-padding-horizontal-compact);
|
|
6413
|
+
.muka-segmentgroup--md .muka-segmentgroup__segment,
|
|
6414
|
+
.muka-segmentgroup--md .muka-segmentgroup__pill {
|
|
6415
|
+
border-radius: var(--border-radius-xl, 16px);
|
|
6337
6416
|
}
|
|
6338
|
-
|
|
6339
|
-
|
|
6340
|
-
|
|
6341
|
-
|
|
6417
|
+
.muka-segmentgroup--md .muka-segmentgroup__segment {
|
|
6418
|
+
padding: var(--segmentgroup-segment-padding-md-y) var(--segmentgroup-segment-padding-md-x);
|
|
6419
|
+
font-size: var(--text-label-md-regular-fontSize);
|
|
6420
|
+
line-height: var(--text-label-md-leading);
|
|
6342
6421
|
}
|
|
6343
6422
|
|
|
6344
|
-
.muka-
|
|
6345
|
-
|
|
6346
|
-
|
|
6423
|
+
.muka-segmentgroup--lg {
|
|
6424
|
+
border-radius: var(--border-radius-full, 9999px);
|
|
6425
|
+
}
|
|
6426
|
+
.muka-segmentgroup--lg .muka-segmentgroup__segment,
|
|
6427
|
+
.muka-segmentgroup--lg .muka-segmentgroup__pill {
|
|
6428
|
+
border-radius: var(--border-radius-full, 9999px);
|
|
6429
|
+
}
|
|
6430
|
+
.muka-segmentgroup--lg .muka-segmentgroup__segment {
|
|
6431
|
+
padding: var(--segmentgroup-segment-padding-lg-y) var(--segmentgroup-segment-padding-lg-x);
|
|
6432
|
+
height: 40px;
|
|
6433
|
+
font-size: var(--text-label-lg-regular-fontSize);
|
|
6434
|
+
line-height: var(--text-label-lg-leading);
|
|
6347
6435
|
}
|
|
6348
6436
|
|
|
6437
|
+
/* Icon-only variants */
|
|
6438
|
+
.muka-segmentgroup--icon-only {
|
|
6439
|
+
gap: var(--spacing-1, 4px);
|
|
6440
|
+
}
|
|
6349
6441
|
|
|
6350
|
-
|
|
6351
|
-
|
|
6442
|
+
.muka-segmentgroup--icon-only.muka-segmentgroup--sm .muka-segmentgroup__segment {
|
|
6443
|
+
width: 24px;
|
|
6444
|
+
height: 24px;
|
|
6445
|
+
padding: 0;
|
|
6446
|
+
}
|
|
6447
|
+
.muka-segmentgroup--icon-only.muka-segmentgroup--sm .muka-segmentgroup__icon svg {
|
|
6448
|
+
width: 16px;
|
|
6449
|
+
height: 16px;
|
|
6450
|
+
}
|
|
6451
|
+
|
|
6452
|
+
.muka-segmentgroup--icon-only.muka-segmentgroup--md .muka-segmentgroup__segment {
|
|
6453
|
+
width: 32px;
|
|
6454
|
+
height: 32px;
|
|
6455
|
+
padding: 0;
|
|
6456
|
+
}
|
|
6457
|
+
.muka-segmentgroup--icon-only.muka-segmentgroup--md .muka-segmentgroup__icon svg {
|
|
6458
|
+
width: 20px;
|
|
6459
|
+
height: 20px;
|
|
6460
|
+
}
|
|
6461
|
+
|
|
6462
|
+
.muka-segmentgroup--icon-only.muka-segmentgroup--lg .muka-segmentgroup__segment {
|
|
6463
|
+
width: 40px;
|
|
6464
|
+
height: 40px;
|
|
6465
|
+
padding: 0;
|
|
6466
|
+
}
|
|
6467
|
+
.muka-segmentgroup--icon-only.muka-segmentgroup--lg .muka-segmentgroup__icon svg {
|
|
6468
|
+
width: 24px;
|
|
6469
|
+
height: 24px;
|
|
6470
|
+
}
|
|
6471
|
+
|
|
6472
|
+
/* Icon */
|
|
6473
|
+
.muka-segmentgroup__icon {
|
|
6474
|
+
display: inline-flex;
|
|
6475
|
+
align-items: center;
|
|
6476
|
+
justify-content: center;
|
|
6477
|
+
}
|
|
6478
|
+
|
|
6479
|
+
/* Selected state */
|
|
6480
|
+
.muka-segmentgroup__segment--selected {
|
|
6481
|
+
background-color: transparent;
|
|
6482
|
+
box-shadow: none;
|
|
6483
|
+
color: var(--segmentgroup-segment-color-selected-foreground);
|
|
6484
|
+
z-index: 2; /* Highlight pill when focused is tested below */
|
|
6485
|
+
}
|
|
6486
|
+
|
|
6487
|
+
/* Hover state (only for unselected) */
|
|
6488
|
+
.muka-segmentgroup__segment:not(.muka-segmentgroup__segment--selected):not(:disabled):hover {
|
|
6489
|
+
color: var(--segmentgroup-segment-color-hover-foreground);
|
|
6490
|
+
}
|
|
6491
|
+
|
|
6492
|
+
/* Focus visible */
|
|
6493
|
+
.muka-segmentgroup__segment:focus-visible {
|
|
6494
|
+
outline: 2px solid var(--color-border-focus);
|
|
6495
|
+
outline-offset: 2px;
|
|
6496
|
+
z-index: 2;
|
|
6497
|
+
}
|
|
6498
|
+
|
|
6499
|
+
/* Disabled state */
|
|
6500
|
+
.muka-segmentgroup__segment--disabled,
|
|
6501
|
+
.muka-segmentgroup__segment:disabled {
|
|
6502
|
+
cursor: not-allowed;
|
|
6503
|
+
opacity: 0.5;
|
|
6504
|
+
}
|
|
6505
|
+
|
|
6506
|
+
/* Label */
|
|
6507
|
+
.muka-segmentgroup__label {
|
|
6508
|
+
display: inline-flex;
|
|
6509
|
+
align-items: center;
|
|
6510
|
+
white-space: nowrap;
|
|
6511
|
+
user-select: none;
|
|
6512
|
+
}
|
|
6513
|
+
|
|
6514
|
+
|
|
6515
|
+
/* Section */
|
|
6516
|
+
/* Section Component - Layout tokens (section.padding) */
|
|
6517
|
+
|
|
6518
|
+
.muka-section {
|
|
6519
|
+
box-sizing: border-box;
|
|
6520
|
+
}
|
|
6521
|
+
|
|
6522
|
+
.muka-section--padding-compact {
|
|
6523
|
+
padding-block: var(--section-padding-vertical-compact);
|
|
6524
|
+
padding-inline: var(--section-padding-horizontal-compact);
|
|
6525
|
+
}
|
|
6526
|
+
|
|
6527
|
+
.muka-section--padding-default {
|
|
6528
|
+
padding-block: var(--section-padding-vertical-default);
|
|
6529
|
+
padding-inline: var(--section-padding-horizontal-default);
|
|
6530
|
+
}
|
|
6531
|
+
|
|
6532
|
+
.muka-section--padding-spacious {
|
|
6533
|
+
padding-block: var(--section-padding-vertical-spacious);
|
|
6534
|
+
padding-inline: var(--section-padding-horizontal-spacious);
|
|
6535
|
+
}
|
|
6536
|
+
|
|
6537
|
+
|
|
6538
|
+
/* SearchInput */
|
|
6539
|
+
/* SearchInput Component Styles */
|
|
6352
6540
|
|
|
6353
6541
|
.muka-search-input {
|
|
6354
6542
|
display: flex;
|
|
@@ -6693,282 +6881,94 @@ body {
|
|
|
6693
6881
|
}
|
|
6694
6882
|
|
|
6695
6883
|
|
|
6696
|
-
/*
|
|
6697
|
-
/*
|
|
6698
|
-
|
|
6699
|
-
/* Container */
|
|
6700
|
-
.muka-segmentgroup {
|
|
6701
|
-
display: inline-flex;
|
|
6702
|
-
align-items: center;
|
|
6703
|
-
gap: 0;
|
|
6704
|
-
padding: var(--segmentgroup-container-padding);
|
|
6705
|
-
background-color: var(--segmentgroup-container-background);
|
|
6706
|
-
border-radius: var(--segmentgroup-container-radius);
|
|
6707
|
-
position: relative;
|
|
6708
|
-
transition: background-color 0.2s ease, box-shadow 0.2s ease;
|
|
6709
|
-
}
|
|
6710
|
-
|
|
6711
|
-
/* Inset shadow on container */
|
|
6712
|
-
.muka-segmentgroup::after {
|
|
6713
|
-
content: '';
|
|
6714
|
-
position: absolute;
|
|
6715
|
-
inset: 0;
|
|
6716
|
-
border-radius: inherit;
|
|
6717
|
-
box-shadow: var(--segmentgroup-container-shadow);
|
|
6718
|
-
pointer-events: none;
|
|
6719
|
-
}
|
|
6884
|
+
/* RangeSlider */
|
|
6885
|
+
/* RangeSlider Component Styles - Using Muka Design Tokens */
|
|
6720
6886
|
|
|
6721
|
-
|
|
6722
|
-
|
|
6887
|
+
.muka-range-slider {
|
|
6888
|
+
display: flex;
|
|
6889
|
+
flex-direction: column;
|
|
6890
|
+
gap: var(--spacing-1);
|
|
6723
6891
|
width: 100%;
|
|
6724
6892
|
}
|
|
6725
6893
|
|
|
6726
|
-
|
|
6727
|
-
|
|
6728
|
-
|
|
6894
|
+
/* ========================================
|
|
6895
|
+
HEADER: label group (label + info + optional) and value readout
|
|
6896
|
+
======================================== */
|
|
6729
6897
|
|
|
6730
|
-
|
|
6731
|
-
|
|
6732
|
-
|
|
6733
|
-
|
|
6734
|
-
|
|
6735
|
-
|
|
6736
|
-
margin: 0;
|
|
6737
|
-
background-color: var(--segmentgroup-segment-color-selected-background);
|
|
6738
|
-
box-shadow: var(--segmentgroup-segment-shadow-selected);
|
|
6739
|
-
transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), width 0.25s cubic-bezier(0.4, 0, 0.2, 1);
|
|
6740
|
-
z-index: 0;
|
|
6741
|
-
pointer-events: none;
|
|
6898
|
+
.muka-range-slider__header {
|
|
6899
|
+
display: flex;
|
|
6900
|
+
align-items: center;
|
|
6901
|
+
justify-content: space-between;
|
|
6902
|
+
gap: var(--spacing-2);
|
|
6903
|
+
min-height: 24px;
|
|
6742
6904
|
}
|
|
6743
6905
|
|
|
6744
|
-
|
|
6745
|
-
.muka-segmentgroup__segment {
|
|
6906
|
+
.muka-range-slider__label-group {
|
|
6746
6907
|
display: inline-flex;
|
|
6747
6908
|
align-items: center;
|
|
6748
|
-
|
|
6749
|
-
gap: var(--segmentgroup-segment-gap);
|
|
6750
|
-
border: none;
|
|
6751
|
-
background-color: var(--segmentgroup-segment-color-unselected-background);
|
|
6752
|
-
color: var(--segmentgroup-segment-color-unselected-foreground);
|
|
6753
|
-
border-radius: var(--segmentgroup-segment-radius);
|
|
6754
|
-
cursor: pointer;
|
|
6755
|
-
transition: background-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
|
|
6756
|
-
position: relative;
|
|
6757
|
-
outline: none;
|
|
6758
|
-
box-shadow: var(--segmentgroup-segment-shadow-unselected);
|
|
6759
|
-
font-family: var(--alias-font-plain-family);
|
|
6760
|
-
font-weight: var(--segmentgroup-segment-fontWeight);
|
|
6761
|
-
z-index: 1; /* Keep above pill */
|
|
6909
|
+
gap: var(--spacing-2);
|
|
6762
6910
|
}
|
|
6763
6911
|
|
|
6764
|
-
|
|
6765
|
-
|
|
6766
|
-
|
|
6912
|
+
.muka-range-slider__label {
|
|
6913
|
+
font-family: var(--text-label-md-semibold-fontFamily);
|
|
6914
|
+
font-weight: var(--text-label-md-semibold-fontWeight);
|
|
6915
|
+
font-size: var(--text-label-md-semibold-fontSize);
|
|
6916
|
+
line-height: var(--text-label-md-semibold-lineHeight);
|
|
6917
|
+
color: var(--color-text-default-default);
|
|
6767
6918
|
}
|
|
6768
|
-
|
|
6769
|
-
.muka-
|
|
6770
|
-
|
|
6919
|
+
|
|
6920
|
+
.muka-range-slider__info {
|
|
6921
|
+
color: var(--color-text-subtle-default);
|
|
6771
6922
|
}
|
|
6772
|
-
|
|
6773
|
-
|
|
6774
|
-
|
|
6923
|
+
|
|
6924
|
+
.muka-range-slider__optional {
|
|
6925
|
+
font-family: var(--text-label-sm-regular-fontFamily);
|
|
6926
|
+
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
6775
6927
|
font-size: var(--text-label-sm-regular-fontSize);
|
|
6776
|
-
line-height: var(--text-label-sm-
|
|
6928
|
+
line-height: var(--text-label-sm-regular-lineHeight);
|
|
6929
|
+
color: var(--color-text-subtle-default);
|
|
6777
6930
|
}
|
|
6778
6931
|
|
|
6779
|
-
.muka-
|
|
6780
|
-
|
|
6781
|
-
|
|
6782
|
-
.muka-segmentgroup--md .muka-segmentgroup__segment,
|
|
6783
|
-
.muka-segmentgroup--md .muka-segmentgroup__pill {
|
|
6784
|
-
border-radius: var(--border-radius-xl, 16px);
|
|
6785
|
-
}
|
|
6786
|
-
.muka-segmentgroup--md .muka-segmentgroup__segment {
|
|
6787
|
-
padding: var(--segmentgroup-segment-padding-md-y) var(--segmentgroup-segment-padding-md-x);
|
|
6932
|
+
.muka-range-slider__value {
|
|
6933
|
+
font-family: var(--text-label-md-regular-fontFamily);
|
|
6934
|
+
font-weight: var(--text-label-md-regular-fontWeight);
|
|
6788
6935
|
font-size: var(--text-label-md-regular-fontSize);
|
|
6789
|
-
line-height: var(--text-label-md-
|
|
6936
|
+
line-height: var(--text-label-md-regular-lineHeight);
|
|
6937
|
+
color: var(--color-text-default-default);
|
|
6938
|
+
font-variant-numeric: tabular-nums;
|
|
6790
6939
|
}
|
|
6791
6940
|
|
|
6792
|
-
.muka-
|
|
6793
|
-
|
|
6941
|
+
.muka-range-slider__helper {
|
|
6942
|
+
margin: 0;
|
|
6943
|
+
font-family: var(--text-body-sm-regular-fontFamily);
|
|
6944
|
+
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
6945
|
+
font-size: var(--text-body-sm-regular-fontSize);
|
|
6946
|
+
line-height: var(--text-body-sm-regular-lineHeight);
|
|
6947
|
+
color: var(--color-text-subtle-default);
|
|
6794
6948
|
}
|
|
6795
|
-
|
|
6796
|
-
|
|
6797
|
-
|
|
6949
|
+
|
|
6950
|
+
/* ========================================
|
|
6951
|
+
TRACK + THUMB
|
|
6952
|
+
Native range input, restyled. A thick sunken track holds an accent fill up to
|
|
6953
|
+
the current value, with a circular grip handle. The filled portion is driven
|
|
6954
|
+
by the inline --muka-range-fill custom property (set from the component value).
|
|
6955
|
+
======================================== */
|
|
6956
|
+
|
|
6957
|
+
/* Size variants: track height, thumb diameter and grip geometry */
|
|
6958
|
+
.muka-range-slider--sm {
|
|
6959
|
+
--muka-range-track-h: 12px;
|
|
6960
|
+
--muka-range-thumb: 24px;
|
|
6961
|
+
--muka-range-grip-h: 9px;
|
|
6798
6962
|
}
|
|
6799
|
-
.muka-
|
|
6800
|
-
|
|
6801
|
-
|
|
6802
|
-
|
|
6803
|
-
line-height: var(--text-label-lg-leading);
|
|
6963
|
+
.muka-range-slider--md {
|
|
6964
|
+
--muka-range-track-h: 16px;
|
|
6965
|
+
--muka-range-thumb: 32px;
|
|
6966
|
+
--muka-range-grip-h: 12px;
|
|
6804
6967
|
}
|
|
6805
|
-
|
|
6806
|
-
|
|
6807
|
-
|
|
6808
|
-
|
|
6809
|
-
}
|
|
6810
|
-
|
|
6811
|
-
.muka-segmentgroup--icon-only.muka-segmentgroup--sm .muka-segmentgroup__segment {
|
|
6812
|
-
width: 24px;
|
|
6813
|
-
height: 24px;
|
|
6814
|
-
padding: 0;
|
|
6815
|
-
}
|
|
6816
|
-
.muka-segmentgroup--icon-only.muka-segmentgroup--sm .muka-segmentgroup__icon svg {
|
|
6817
|
-
width: 16px;
|
|
6818
|
-
height: 16px;
|
|
6819
|
-
}
|
|
6820
|
-
|
|
6821
|
-
.muka-segmentgroup--icon-only.muka-segmentgroup--md .muka-segmentgroup__segment {
|
|
6822
|
-
width: 32px;
|
|
6823
|
-
height: 32px;
|
|
6824
|
-
padding: 0;
|
|
6825
|
-
}
|
|
6826
|
-
.muka-segmentgroup--icon-only.muka-segmentgroup--md .muka-segmentgroup__icon svg {
|
|
6827
|
-
width: 20px;
|
|
6828
|
-
height: 20px;
|
|
6829
|
-
}
|
|
6830
|
-
|
|
6831
|
-
.muka-segmentgroup--icon-only.muka-segmentgroup--lg .muka-segmentgroup__segment {
|
|
6832
|
-
width: 40px;
|
|
6833
|
-
height: 40px;
|
|
6834
|
-
padding: 0;
|
|
6835
|
-
}
|
|
6836
|
-
.muka-segmentgroup--icon-only.muka-segmentgroup--lg .muka-segmentgroup__icon svg {
|
|
6837
|
-
width: 24px;
|
|
6838
|
-
height: 24px;
|
|
6839
|
-
}
|
|
6840
|
-
|
|
6841
|
-
/* Icon */
|
|
6842
|
-
.muka-segmentgroup__icon {
|
|
6843
|
-
display: inline-flex;
|
|
6844
|
-
align-items: center;
|
|
6845
|
-
justify-content: center;
|
|
6846
|
-
}
|
|
6847
|
-
|
|
6848
|
-
/* Selected state */
|
|
6849
|
-
.muka-segmentgroup__segment--selected {
|
|
6850
|
-
background-color: transparent;
|
|
6851
|
-
box-shadow: none;
|
|
6852
|
-
color: var(--segmentgroup-segment-color-selected-foreground);
|
|
6853
|
-
z-index: 2; /* Highlight pill when focused is tested below */
|
|
6854
|
-
}
|
|
6855
|
-
|
|
6856
|
-
/* Hover state (only for unselected) */
|
|
6857
|
-
.muka-segmentgroup__segment:not(.muka-segmentgroup__segment--selected):not(:disabled):hover {
|
|
6858
|
-
color: var(--segmentgroup-segment-color-hover-foreground);
|
|
6859
|
-
}
|
|
6860
|
-
|
|
6861
|
-
/* Focus visible */
|
|
6862
|
-
.muka-segmentgroup__segment:focus-visible {
|
|
6863
|
-
outline: 2px solid var(--color-border-focus);
|
|
6864
|
-
outline-offset: 2px;
|
|
6865
|
-
z-index: 2;
|
|
6866
|
-
}
|
|
6867
|
-
|
|
6868
|
-
/* Disabled state */
|
|
6869
|
-
.muka-segmentgroup__segment--disabled,
|
|
6870
|
-
.muka-segmentgroup__segment:disabled {
|
|
6871
|
-
cursor: not-allowed;
|
|
6872
|
-
opacity: 0.5;
|
|
6873
|
-
}
|
|
6874
|
-
|
|
6875
|
-
/* Label */
|
|
6876
|
-
.muka-segmentgroup__label {
|
|
6877
|
-
display: inline-flex;
|
|
6878
|
-
align-items: center;
|
|
6879
|
-
white-space: nowrap;
|
|
6880
|
-
user-select: none;
|
|
6881
|
-
}
|
|
6882
|
-
|
|
6883
|
-
|
|
6884
|
-
/* RangeSlider */
|
|
6885
|
-
/* RangeSlider Component Styles - Using Muka Design Tokens */
|
|
6886
|
-
|
|
6887
|
-
.muka-range-slider {
|
|
6888
|
-
display: flex;
|
|
6889
|
-
flex-direction: column;
|
|
6890
|
-
gap: var(--spacing-1);
|
|
6891
|
-
width: 100%;
|
|
6892
|
-
}
|
|
6893
|
-
|
|
6894
|
-
/* ========================================
|
|
6895
|
-
HEADER: label group (label + info + optional) and value readout
|
|
6896
|
-
======================================== */
|
|
6897
|
-
|
|
6898
|
-
.muka-range-slider__header {
|
|
6899
|
-
display: flex;
|
|
6900
|
-
align-items: center;
|
|
6901
|
-
justify-content: space-between;
|
|
6902
|
-
gap: var(--spacing-2);
|
|
6903
|
-
min-height: 24px;
|
|
6904
|
-
}
|
|
6905
|
-
|
|
6906
|
-
.muka-range-slider__label-group {
|
|
6907
|
-
display: inline-flex;
|
|
6908
|
-
align-items: center;
|
|
6909
|
-
gap: var(--spacing-2);
|
|
6910
|
-
}
|
|
6911
|
-
|
|
6912
|
-
.muka-range-slider__label {
|
|
6913
|
-
font-family: var(--text-label-md-semibold-fontFamily);
|
|
6914
|
-
font-weight: var(--text-label-md-semibold-fontWeight);
|
|
6915
|
-
font-size: var(--text-label-md-semibold-fontSize);
|
|
6916
|
-
line-height: var(--text-label-md-semibold-lineHeight);
|
|
6917
|
-
color: var(--color-text-default-default);
|
|
6918
|
-
}
|
|
6919
|
-
|
|
6920
|
-
.muka-range-slider__info {
|
|
6921
|
-
color: var(--color-text-subtle-default);
|
|
6922
|
-
}
|
|
6923
|
-
|
|
6924
|
-
.muka-range-slider__optional {
|
|
6925
|
-
font-family: var(--text-label-sm-regular-fontFamily);
|
|
6926
|
-
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
6927
|
-
font-size: var(--text-label-sm-regular-fontSize);
|
|
6928
|
-
line-height: var(--text-label-sm-regular-lineHeight);
|
|
6929
|
-
color: var(--color-text-subtle-default);
|
|
6930
|
-
}
|
|
6931
|
-
|
|
6932
|
-
.muka-range-slider__value {
|
|
6933
|
-
font-family: var(--text-label-md-regular-fontFamily);
|
|
6934
|
-
font-weight: var(--text-label-md-regular-fontWeight);
|
|
6935
|
-
font-size: var(--text-label-md-regular-fontSize);
|
|
6936
|
-
line-height: var(--text-label-md-regular-lineHeight);
|
|
6937
|
-
color: var(--color-text-default-default);
|
|
6938
|
-
font-variant-numeric: tabular-nums;
|
|
6939
|
-
}
|
|
6940
|
-
|
|
6941
|
-
.muka-range-slider__helper {
|
|
6942
|
-
margin: 0;
|
|
6943
|
-
font-family: var(--text-body-sm-regular-fontFamily);
|
|
6944
|
-
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
6945
|
-
font-size: var(--text-body-sm-regular-fontSize);
|
|
6946
|
-
line-height: var(--text-body-sm-regular-lineHeight);
|
|
6947
|
-
color: var(--color-text-subtle-default);
|
|
6948
|
-
}
|
|
6949
|
-
|
|
6950
|
-
/* ========================================
|
|
6951
|
-
TRACK + THUMB
|
|
6952
|
-
Native range input, restyled. A thick sunken track holds an accent fill up to
|
|
6953
|
-
the current value, with a circular grip handle. The filled portion is driven
|
|
6954
|
-
by the inline --muka-range-fill custom property (set from the component value).
|
|
6955
|
-
======================================== */
|
|
6956
|
-
|
|
6957
|
-
/* Size variants: track height, thumb diameter and grip geometry */
|
|
6958
|
-
.muka-range-slider--sm {
|
|
6959
|
-
--muka-range-track-h: 12px;
|
|
6960
|
-
--muka-range-thumb: 24px;
|
|
6961
|
-
--muka-range-grip-h: 9px;
|
|
6962
|
-
}
|
|
6963
|
-
.muka-range-slider--md {
|
|
6964
|
-
--muka-range-track-h: 16px;
|
|
6965
|
-
--muka-range-thumb: 32px;
|
|
6966
|
-
--muka-range-grip-h: 12px;
|
|
6967
|
-
}
|
|
6968
|
-
.muka-range-slider--lg {
|
|
6969
|
-
--muka-range-track-h: 20px;
|
|
6970
|
-
--muka-range-thumb: 40px;
|
|
6971
|
-
--muka-range-grip-h: 15px;
|
|
6968
|
+
.muka-range-slider--lg {
|
|
6969
|
+
--muka-range-track-h: 20px;
|
|
6970
|
+
--muka-range-thumb: 40px;
|
|
6971
|
+
--muka-range-grip-h: 15px;
|
|
6972
6972
|
}
|
|
6973
6973
|
|
|
6974
6974
|
.muka-range-slider__bar {
|
|
@@ -7097,211 +7097,68 @@ body {
|
|
|
7097
7097
|
}
|
|
7098
7098
|
|
|
7099
7099
|
|
|
7100
|
-
/*
|
|
7101
|
-
/*
|
|
7100
|
+
/* Radio */
|
|
7101
|
+
/* Radio Component Styles - Using Muka Design Tokens */
|
|
7102
7102
|
|
|
7103
|
-
/*
|
|
7104
|
-
.muka-radio
|
|
7105
|
-
display: flex;
|
|
7103
|
+
/* Wrapper - clickable label container */
|
|
7104
|
+
.muka-radio {
|
|
7105
|
+
display: inline-flex;
|
|
7106
7106
|
align-items: center;
|
|
7107
7107
|
gap: var(--spacing-4);
|
|
7108
|
-
padding: var(--spacing-4);
|
|
7109
|
-
border: var(--border-width-regular) solid var(--input-field-color-default-border);
|
|
7110
|
-
border-radius: var(--input-field-radius-lg);
|
|
7111
|
-
background-color: var(--color-surface-level3);
|
|
7112
7108
|
cursor: pointer;
|
|
7113
|
-
|
|
7114
|
-
overflow: hidden;
|
|
7115
|
-
box-sizing: border-box;
|
|
7109
|
+
user-select: none;
|
|
7116
7110
|
}
|
|
7117
7111
|
|
|
7118
|
-
.muka-radio
|
|
7112
|
+
.muka-radio--disabled {
|
|
7119
7113
|
cursor: not-allowed;
|
|
7120
7114
|
opacity: 0.6;
|
|
7121
7115
|
}
|
|
7122
7116
|
|
|
7123
|
-
/*
|
|
7124
|
-
.muka-
|
|
7125
|
-
border-width: var(--border-width-bold);
|
|
7126
|
-
border-color: var(--color-action-default);
|
|
7127
|
-
}
|
|
7128
|
-
|
|
7129
|
-
/* Vertical layout */
|
|
7130
|
-
.muka-radio-tile--vertical {
|
|
7131
|
-
flex-direction: column;
|
|
7132
|
-
align-items: center;
|
|
7133
|
-
gap: var(--spacing-2);
|
|
7117
|
+
/* Control container */
|
|
7118
|
+
.muka-radio__control {
|
|
7134
7119
|
position: relative;
|
|
7135
|
-
|
|
7136
|
-
|
|
7137
|
-
|
|
7138
|
-
/* Radio container */
|
|
7139
|
-
.muka-radio-tile__radio {
|
|
7120
|
+
display: inline-flex;
|
|
7121
|
+
align-items: center;
|
|
7122
|
+
justify-content: center;
|
|
7140
7123
|
flex-shrink: 0;
|
|
7141
7124
|
}
|
|
7142
7125
|
|
|
7143
|
-
/*
|
|
7144
|
-
.muka-
|
|
7126
|
+
/* Hidden native input */
|
|
7127
|
+
.muka-radio__input {
|
|
7145
7128
|
position: absolute;
|
|
7146
|
-
|
|
7147
|
-
|
|
7148
|
-
|
|
7149
|
-
|
|
7150
|
-
|
|
7151
|
-
|
|
7152
|
-
|
|
7153
|
-
|
|
7129
|
+
width: 1px;
|
|
7130
|
+
height: 1px;
|
|
7131
|
+
padding: 0;
|
|
7132
|
+
margin: -1px;
|
|
7133
|
+
overflow: hidden;
|
|
7134
|
+
clip: rect(0, 0, 0, 0);
|
|
7135
|
+
white-space: nowrap;
|
|
7136
|
+
border: 0;
|
|
7154
7137
|
}
|
|
7155
7138
|
|
|
7156
|
-
/*
|
|
7157
|
-
.muka-
|
|
7139
|
+
/* Visual indicator (circle) */
|
|
7140
|
+
.muka-radio__indicator {
|
|
7158
7141
|
display: flex;
|
|
7159
7142
|
align-items: center;
|
|
7160
7143
|
justify-content: center;
|
|
7161
|
-
|
|
7162
|
-
|
|
7163
|
-
|
|
7164
|
-
color: var(--color-
|
|
7144
|
+
width: var(--radio-size-default);
|
|
7145
|
+
height: var(--radio-size-default);
|
|
7146
|
+
border-radius: var(--border-radius-full);
|
|
7147
|
+
background-color: var(--radio-color-default-background);
|
|
7148
|
+
border: var(--border-width-regular) solid var(--radio-color-default-border);
|
|
7149
|
+
transition: all 0.15s ease;
|
|
7150
|
+
box-shadow: inset 0 1px 2px 0 rgba(26, 26, 26, 0.15);
|
|
7165
7151
|
}
|
|
7166
7152
|
|
|
7167
|
-
|
|
7168
|
-
|
|
7169
|
-
|
|
7153
|
+
/* Size variants */
|
|
7154
|
+
.muka-radio--sm .muka-radio__indicator {
|
|
7155
|
+
width: var(--radio-size-sm);
|
|
7156
|
+
height: var(--radio-size-sm);
|
|
7170
7157
|
}
|
|
7171
7158
|
|
|
7172
|
-
|
|
7173
|
-
|
|
7174
|
-
|
|
7175
|
-
overflow: hidden;
|
|
7176
|
-
border-radius: var(--border-radius-sm);
|
|
7177
|
-
}
|
|
7178
|
-
|
|
7179
|
-
.muka-radio-tile__image img {
|
|
7180
|
-
display: block;
|
|
7181
|
-
width: 100%;
|
|
7182
|
-
height: 100%;
|
|
7183
|
-
object-fit: cover;
|
|
7184
|
-
}
|
|
7185
|
-
|
|
7186
|
-
/* Horizontal image sizing */
|
|
7187
|
-
.muka-radio-tile__image--horizontal {
|
|
7188
|
-
width: 40px;
|
|
7189
|
-
height: 40px;
|
|
7190
|
-
}
|
|
7191
|
-
|
|
7192
|
-
/* Vertical image sizing */
|
|
7193
|
-
.muka-radio-tile--vertical .muka-radio-tile__image {
|
|
7194
|
-
width: 100%;
|
|
7195
|
-
aspect-ratio: 4/3;
|
|
7196
|
-
}
|
|
7197
|
-
|
|
7198
|
-
/* Content container */
|
|
7199
|
-
.muka-radio-tile__content {
|
|
7200
|
-
display: flex;
|
|
7201
|
-
flex-direction: column;
|
|
7202
|
-
flex: 1;
|
|
7203
|
-
min-width: 0;
|
|
7204
|
-
gap: var(--spacing-1);
|
|
7205
|
-
}
|
|
7206
|
-
|
|
7207
|
-
/* Label */
|
|
7208
|
-
.muka-radio-tile__label {
|
|
7209
|
-
font-family: var(--text-body-lg-regular-fontFamily);
|
|
7210
|
-
font-weight: var(--text-body-lg-regular-fontWeight);
|
|
7211
|
-
font-size: var(--text-body-lg-regular-fontSize);
|
|
7212
|
-
line-height: var(--text-body-lg-regular-lineHeight);
|
|
7213
|
-
color: var(--color-text-default-default);
|
|
7214
|
-
}
|
|
7215
|
-
|
|
7216
|
-
.muka-radio-tile__label--bold {
|
|
7217
|
-
font-family: var(--text-label-lg-semibold-fontFamily);
|
|
7218
|
-
font-weight: var(--text-label-lg-semibold-fontWeight);
|
|
7219
|
-
font-size: var(--text-label-lg-semibold-fontSize);
|
|
7220
|
-
line-height: var(--text-label-lg-semibold-lineHeight);
|
|
7221
|
-
}
|
|
7222
|
-
|
|
7223
|
-
.muka-radio-tile__label--center {
|
|
7224
|
-
text-align: center;
|
|
7225
|
-
}
|
|
7226
|
-
|
|
7227
|
-
/* Caption */
|
|
7228
|
-
.muka-radio-tile__caption {
|
|
7229
|
-
font-family: var(--text-body-base-regular-fontFamily);
|
|
7230
|
-
font-weight: var(--text-body-base-regular-fontWeight);
|
|
7231
|
-
font-size: var(--text-body-base-regular-fontSize);
|
|
7232
|
-
line-height: var(--text-body-base-regular-lineHeight);
|
|
7233
|
-
color: var(--color-text-subtle-default);
|
|
7234
|
-
}
|
|
7235
|
-
|
|
7236
|
-
/* Disabled states */
|
|
7237
|
-
.muka-radio-tile--disabled .muka-radio-tile__label,
|
|
7238
|
-
.muka-radio-tile--disabled .muka-radio-tile__icon {
|
|
7239
|
-
color: var(--color-text-subtle-default);
|
|
7240
|
-
}
|
|
7241
|
-
|
|
7242
|
-
|
|
7243
|
-
/* Radio */
|
|
7244
|
-
/* Radio Component Styles - Using Muka Design Tokens */
|
|
7245
|
-
|
|
7246
|
-
/* Wrapper - clickable label container */
|
|
7247
|
-
.muka-radio {
|
|
7248
|
-
display: inline-flex;
|
|
7249
|
-
align-items: center;
|
|
7250
|
-
gap: var(--spacing-4);
|
|
7251
|
-
cursor: pointer;
|
|
7252
|
-
user-select: none;
|
|
7253
|
-
}
|
|
7254
|
-
|
|
7255
|
-
.muka-radio--disabled {
|
|
7256
|
-
cursor: not-allowed;
|
|
7257
|
-
opacity: 0.6;
|
|
7258
|
-
}
|
|
7259
|
-
|
|
7260
|
-
/* Control container */
|
|
7261
|
-
.muka-radio__control {
|
|
7262
|
-
position: relative;
|
|
7263
|
-
display: inline-flex;
|
|
7264
|
-
align-items: center;
|
|
7265
|
-
justify-content: center;
|
|
7266
|
-
flex-shrink: 0;
|
|
7267
|
-
}
|
|
7268
|
-
|
|
7269
|
-
/* Hidden native input */
|
|
7270
|
-
.muka-radio__input {
|
|
7271
|
-
position: absolute;
|
|
7272
|
-
width: 1px;
|
|
7273
|
-
height: 1px;
|
|
7274
|
-
padding: 0;
|
|
7275
|
-
margin: -1px;
|
|
7276
|
-
overflow: hidden;
|
|
7277
|
-
clip: rect(0, 0, 0, 0);
|
|
7278
|
-
white-space: nowrap;
|
|
7279
|
-
border: 0;
|
|
7280
|
-
}
|
|
7281
|
-
|
|
7282
|
-
/* Visual indicator (circle) */
|
|
7283
|
-
.muka-radio__indicator {
|
|
7284
|
-
display: flex;
|
|
7285
|
-
align-items: center;
|
|
7286
|
-
justify-content: center;
|
|
7287
|
-
width: var(--radio-size-default);
|
|
7288
|
-
height: var(--radio-size-default);
|
|
7289
|
-
border-radius: var(--border-radius-full);
|
|
7290
|
-
background-color: var(--radio-color-default-background);
|
|
7291
|
-
border: var(--border-width-regular) solid var(--radio-color-default-border);
|
|
7292
|
-
transition: all 0.15s ease;
|
|
7293
|
-
box-shadow: inset 0 1px 2px 0 rgba(26, 26, 26, 0.15);
|
|
7294
|
-
}
|
|
7295
|
-
|
|
7296
|
-
/* Size variants */
|
|
7297
|
-
.muka-radio--sm .muka-radio__indicator {
|
|
7298
|
-
width: var(--radio-size-sm);
|
|
7299
|
-
height: var(--radio-size-sm);
|
|
7300
|
-
}
|
|
7301
|
-
|
|
7302
|
-
.muka-radio--lg .muka-radio__indicator {
|
|
7303
|
-
width: var(--radio-size-lg);
|
|
7304
|
-
height: var(--radio-size-lg);
|
|
7159
|
+
.muka-radio--lg .muka-radio__indicator {
|
|
7160
|
+
width: var(--radio-size-lg);
|
|
7161
|
+
height: var(--radio-size-lg);
|
|
7305
7162
|
}
|
|
7306
7163
|
|
|
7307
7164
|
/* Inner dot (shown when checked) */
|
|
@@ -7995,110 +7852,253 @@ button.muka-progress-tracker__tab:focus-visible {
|
|
|
7995
7852
|
}
|
|
7996
7853
|
|
|
7997
7854
|
|
|
7998
|
-
/*
|
|
7999
|
-
/*
|
|
7855
|
+
/* RadioTile */
|
|
7856
|
+
/* RadioTile Component Styles - Using Muka Design Tokens */
|
|
8000
7857
|
|
|
8001
|
-
/*
|
|
8002
|
-
.muka-
|
|
8003
|
-
container-type: inline-size;
|
|
7858
|
+
/* Base tile styles - horizontal */
|
|
7859
|
+
.muka-radio-tile {
|
|
8004
7860
|
display: flex;
|
|
8005
|
-
|
|
8006
|
-
|
|
8007
|
-
|
|
8008
|
-
|
|
8009
|
-
|
|
8010
|
-
|
|
8011
|
-
|
|
8012
|
-
|
|
8013
|
-
|
|
8014
|
-
|
|
8015
|
-
.muka-progress-accordeon--past.muka-progress-accordeon--expanded,
|
|
8016
|
-
.muka-progress-accordeon--upcoming.muka-progress-accordeon--expanded {
|
|
8017
|
-
gap: var(--spacing-6);
|
|
7861
|
+
align-items: center;
|
|
7862
|
+
gap: var(--spacing-4);
|
|
7863
|
+
padding: var(--spacing-4);
|
|
7864
|
+
border: var(--border-width-regular) solid var(--input-field-color-default-border);
|
|
7865
|
+
border-radius: var(--input-field-radius-lg);
|
|
7866
|
+
background-color: var(--color-surface-level3);
|
|
7867
|
+
cursor: pointer;
|
|
7868
|
+
transition: border-color 0.15s ease, border-width 0.15s ease;
|
|
7869
|
+
overflow: hidden;
|
|
7870
|
+
box-sizing: border-box;
|
|
8018
7871
|
}
|
|
8019
7872
|
|
|
8020
|
-
.muka-
|
|
8021
|
-
|
|
8022
|
-
.
|
|
8023
|
-
.muka-progress-accordeon--current.muka-progress-accordeon--collapsed {
|
|
8024
|
-
gap: var(--spacing-8);
|
|
7873
|
+
.muka-radio-tile--disabled {
|
|
7874
|
+
cursor: not-allowed;
|
|
7875
|
+
opacity: 0.6;
|
|
8025
7876
|
}
|
|
8026
7877
|
|
|
8027
|
-
/*
|
|
8028
|
-
|
|
8029
|
-
|
|
8030
|
-
|
|
8031
|
-
display: flex;
|
|
8032
|
-
flex-direction: column;
|
|
8033
|
-
gap: 0;
|
|
8034
|
-
width: 100%;
|
|
7878
|
+
/* Selected state */
|
|
7879
|
+
.muka-radio-tile[data-checked] {
|
|
7880
|
+
border-width: var(--border-width-bold);
|
|
7881
|
+
border-color: var(--color-action-default);
|
|
8035
7882
|
}
|
|
8036
7883
|
|
|
8037
|
-
/*
|
|
8038
|
-
.muka-
|
|
8039
|
-
display: flex;
|
|
7884
|
+
/* Vertical layout */
|
|
7885
|
+
.muka-radio-tile--vertical {
|
|
8040
7886
|
flex-direction: column;
|
|
8041
|
-
|
|
8042
|
-
|
|
8043
|
-
|
|
8044
|
-
|
|
8045
|
-
.muka-progress-accordeon__header-row {
|
|
8046
|
-
display: flex;
|
|
8047
|
-
align-items: flex-start;
|
|
8048
|
-
gap: var(--spacing-3);
|
|
8049
|
-
width: 100%;
|
|
8050
|
-
min-height: 40px;
|
|
7887
|
+
align-items: center;
|
|
7888
|
+
gap: var(--spacing-2);
|
|
7889
|
+
position: relative;
|
|
7890
|
+
width: 160px;
|
|
8051
7891
|
}
|
|
8052
7892
|
|
|
8053
|
-
|
|
8054
|
-
|
|
8055
|
-
flex:
|
|
8056
|
-
min-width: 0;
|
|
8057
|
-
align-items: flex-start;
|
|
8058
|
-
gap: var(--spacing-4);
|
|
7893
|
+
/* Radio container */
|
|
7894
|
+
.muka-radio-tile__radio {
|
|
7895
|
+
flex-shrink: 0;
|
|
8059
7896
|
}
|
|
8060
7897
|
|
|
8061
|
-
/*
|
|
8062
|
-
|
|
8063
|
-
|
|
8064
|
-
|
|
8065
|
-
|
|
7898
|
+
/* Corner-positioned radio for vertical */
|
|
7899
|
+
.muka-radio-tile__radio--corner {
|
|
7900
|
+
position: absolute;
|
|
7901
|
+
top: var(--spacing-4);
|
|
7902
|
+
left: var(--spacing-4);
|
|
8066
7903
|
}
|
|
8067
7904
|
|
|
8068
|
-
|
|
8069
|
-
|
|
8070
|
-
|
|
8071
|
-
|
|
8072
|
-
gap: var(--spacing-3);
|
|
7905
|
+
/* Adjust corner position when selected (border is thicker) */
|
|
7906
|
+
.muka-radio-tile[data-checked] .muka-radio-tile__radio--corner {
|
|
7907
|
+
top: calc(var(--spacing-4) - 1px);
|
|
7908
|
+
left: calc(var(--spacing-4) - 1px);
|
|
8073
7909
|
}
|
|
8074
7910
|
|
|
8075
|
-
/*
|
|
8076
|
-
.muka-
|
|
8077
|
-
width: 32px;
|
|
8078
|
-
height: 32px;
|
|
8079
|
-
flex-shrink: 0;
|
|
8080
|
-
border-radius: var(--border-radius-full);
|
|
7911
|
+
/* Icon */
|
|
7912
|
+
.muka-radio-tile__icon {
|
|
8081
7913
|
display: flex;
|
|
8082
7914
|
align-items: center;
|
|
8083
7915
|
justify-content: center;
|
|
7916
|
+
flex-shrink: 0;
|
|
7917
|
+
width: var(--icon-size-default);
|
|
7918
|
+
height: var(--icon-size-default);
|
|
7919
|
+
color: var(--color-text-default-default);
|
|
8084
7920
|
}
|
|
8085
7921
|
|
|
8086
|
-
|
|
8087
|
-
|
|
8088
|
-
|
|
8089
|
-
color: var(--color-text-default-inverse);
|
|
7922
|
+
.muka-radio-tile__icon svg {
|
|
7923
|
+
width: 100%;
|
|
7924
|
+
height: 100%;
|
|
8090
7925
|
}
|
|
8091
7926
|
|
|
8092
|
-
/*
|
|
8093
|
-
.muka-
|
|
8094
|
-
|
|
8095
|
-
|
|
7927
|
+
/* Image */
|
|
7928
|
+
.muka-radio-tile__image {
|
|
7929
|
+
flex-shrink: 0;
|
|
7930
|
+
overflow: hidden;
|
|
7931
|
+
border-radius: var(--border-radius-sm);
|
|
8096
7932
|
}
|
|
8097
7933
|
|
|
8098
|
-
|
|
8099
|
-
|
|
8100
|
-
|
|
8101
|
-
|
|
7934
|
+
.muka-radio-tile__image img {
|
|
7935
|
+
display: block;
|
|
7936
|
+
width: 100%;
|
|
7937
|
+
height: 100%;
|
|
7938
|
+
object-fit: cover;
|
|
7939
|
+
}
|
|
7940
|
+
|
|
7941
|
+
/* Horizontal image sizing */
|
|
7942
|
+
.muka-radio-tile__image--horizontal {
|
|
7943
|
+
width: 40px;
|
|
7944
|
+
height: 40px;
|
|
7945
|
+
}
|
|
7946
|
+
|
|
7947
|
+
/* Vertical image sizing */
|
|
7948
|
+
.muka-radio-tile--vertical .muka-radio-tile__image {
|
|
7949
|
+
width: 100%;
|
|
7950
|
+
aspect-ratio: 4/3;
|
|
7951
|
+
}
|
|
7952
|
+
|
|
7953
|
+
/* Content container */
|
|
7954
|
+
.muka-radio-tile__content {
|
|
7955
|
+
display: flex;
|
|
7956
|
+
flex-direction: column;
|
|
7957
|
+
flex: 1;
|
|
7958
|
+
min-width: 0;
|
|
7959
|
+
gap: var(--spacing-1);
|
|
7960
|
+
}
|
|
7961
|
+
|
|
7962
|
+
/* Label */
|
|
7963
|
+
.muka-radio-tile__label {
|
|
7964
|
+
font-family: var(--text-body-lg-regular-fontFamily);
|
|
7965
|
+
font-weight: var(--text-body-lg-regular-fontWeight);
|
|
7966
|
+
font-size: var(--text-body-lg-regular-fontSize);
|
|
7967
|
+
line-height: var(--text-body-lg-regular-lineHeight);
|
|
7968
|
+
color: var(--color-text-default-default);
|
|
7969
|
+
}
|
|
7970
|
+
|
|
7971
|
+
.muka-radio-tile__label--bold {
|
|
7972
|
+
font-family: var(--text-label-lg-semibold-fontFamily);
|
|
7973
|
+
font-weight: var(--text-label-lg-semibold-fontWeight);
|
|
7974
|
+
font-size: var(--text-label-lg-semibold-fontSize);
|
|
7975
|
+
line-height: var(--text-label-lg-semibold-lineHeight);
|
|
7976
|
+
}
|
|
7977
|
+
|
|
7978
|
+
.muka-radio-tile__label--center {
|
|
7979
|
+
text-align: center;
|
|
7980
|
+
}
|
|
7981
|
+
|
|
7982
|
+
/* Caption */
|
|
7983
|
+
.muka-radio-tile__caption {
|
|
7984
|
+
font-family: var(--text-body-base-regular-fontFamily);
|
|
7985
|
+
font-weight: var(--text-body-base-regular-fontWeight);
|
|
7986
|
+
font-size: var(--text-body-base-regular-fontSize);
|
|
7987
|
+
line-height: var(--text-body-base-regular-lineHeight);
|
|
7988
|
+
color: var(--color-text-subtle-default);
|
|
7989
|
+
}
|
|
7990
|
+
|
|
7991
|
+
/* Disabled states */
|
|
7992
|
+
.muka-radio-tile--disabled .muka-radio-tile__label,
|
|
7993
|
+
.muka-radio-tile--disabled .muka-radio-tile__icon {
|
|
7994
|
+
color: var(--color-text-subtle-default);
|
|
7995
|
+
}
|
|
7996
|
+
|
|
7997
|
+
|
|
7998
|
+
/* ProgressAccordeon */
|
|
7999
|
+
/* ProgressAccordeon Component Styles — Using Muka Design Tokens */
|
|
8000
|
+
|
|
8001
|
+
/* ─── Root ──────────────────────────────────────────────── */
|
|
8002
|
+
.muka-progress-accordeon {
|
|
8003
|
+
container-type: inline-size;
|
|
8004
|
+
display: flex;
|
|
8005
|
+
flex-direction: column;
|
|
8006
|
+
align-items: stretch;
|
|
8007
|
+
width: 100%;
|
|
8008
|
+
/* Top padding provides the vertical rhythm between stacked steps */
|
|
8009
|
+
padding-top: var(--spacing-8);
|
|
8010
|
+
}
|
|
8011
|
+
|
|
8012
|
+
/* Per-state gap: content-bearing steps are tighter, header-only steps looser */
|
|
8013
|
+
.muka-progress-accordeon--current,
|
|
8014
|
+
.muka-progress-accordeon--current.muka-progress-accordeon--expanded,
|
|
8015
|
+
.muka-progress-accordeon--past.muka-progress-accordeon--expanded,
|
|
8016
|
+
.muka-progress-accordeon--upcoming.muka-progress-accordeon--expanded {
|
|
8017
|
+
gap: var(--spacing-6);
|
|
8018
|
+
}
|
|
8019
|
+
|
|
8020
|
+
.muka-progress-accordeon--upcoming,
|
|
8021
|
+
.muka-progress-accordeon--past.muka-progress-accordeon--collapsed,
|
|
8022
|
+
.muka-progress-accordeon--upcoming.muka-progress-accordeon--collapsed,
|
|
8023
|
+
.muka-progress-accordeon--current.muka-progress-accordeon--collapsed {
|
|
8024
|
+
gap: var(--spacing-8);
|
|
8025
|
+
}
|
|
8026
|
+
|
|
8027
|
+
/* Collapsible steps group header + slot. The header↔content gap lives inside the
|
|
8028
|
+
collapsing slot (as padding-top) so it collapses with the content, so the
|
|
8029
|
+
body gap itself is 0. */
|
|
8030
|
+
.muka-progress-accordeon__body {
|
|
8031
|
+
display: flex;
|
|
8032
|
+
flex-direction: column;
|
|
8033
|
+
gap: 0;
|
|
8034
|
+
width: 100%;
|
|
8035
|
+
}
|
|
8036
|
+
|
|
8037
|
+
/* ─── Header ─────────────────────────────────────────────── */
|
|
8038
|
+
.muka-progress-accordeon__header {
|
|
8039
|
+
display: flex;
|
|
8040
|
+
flex-direction: column;
|
|
8041
|
+
gap: var(--spacing-3);
|
|
8042
|
+
width: 100%;
|
|
8043
|
+
}
|
|
8044
|
+
|
|
8045
|
+
.muka-progress-accordeon__header-row {
|
|
8046
|
+
display: flex;
|
|
8047
|
+
align-items: flex-start;
|
|
8048
|
+
gap: var(--spacing-3);
|
|
8049
|
+
width: 100%;
|
|
8050
|
+
min-height: 40px;
|
|
8051
|
+
}
|
|
8052
|
+
|
|
8053
|
+
.muka-progress-accordeon__heading-group {
|
|
8054
|
+
display: flex;
|
|
8055
|
+
flex: 1 0 0;
|
|
8056
|
+
min-width: 0;
|
|
8057
|
+
align-items: flex-start;
|
|
8058
|
+
gap: var(--spacing-4);
|
|
8059
|
+
}
|
|
8060
|
+
|
|
8061
|
+
/* Steps with header controls (edit / chevron) are 40px tall; nudge the heading
|
|
8062
|
+
so a single line centres against the indicator + controls row. */
|
|
8063
|
+
.muka-progress-accordeon:has(.muka-progress-accordeon__controls)
|
|
8064
|
+
.muka-progress-accordeon__heading-group {
|
|
8065
|
+
padding-top: var(--spacing-1);
|
|
8066
|
+
}
|
|
8067
|
+
|
|
8068
|
+
.muka-progress-accordeon__controls {
|
|
8069
|
+
display: flex;
|
|
8070
|
+
flex-shrink: 0;
|
|
8071
|
+
align-items: center;
|
|
8072
|
+
gap: var(--spacing-3);
|
|
8073
|
+
}
|
|
8074
|
+
|
|
8075
|
+
/* ─── Step indicator (circle) ───────────────────────────── */
|
|
8076
|
+
.muka-progress-accordeon__indicator {
|
|
8077
|
+
width: 32px;
|
|
8078
|
+
height: 32px;
|
|
8079
|
+
flex-shrink: 0;
|
|
8080
|
+
border-radius: var(--border-radius-full);
|
|
8081
|
+
display: flex;
|
|
8082
|
+
align-items: center;
|
|
8083
|
+
justify-content: center;
|
|
8084
|
+
}
|
|
8085
|
+
|
|
8086
|
+
/* Past: dark accent-contrast circle with inverse checkmark */
|
|
8087
|
+
.muka-progress-accordeon__indicator--past {
|
|
8088
|
+
background-color: var(--alias-color-accent-contrast);
|
|
8089
|
+
color: var(--color-text-default-inverse);
|
|
8090
|
+
}
|
|
8091
|
+
|
|
8092
|
+
/* Current: accent circle with inverse bold number */
|
|
8093
|
+
.muka-progress-accordeon__indicator--current {
|
|
8094
|
+
background-color: var(--alias-color-accent-default);
|
|
8095
|
+
color: var(--color-text-default-inverse);
|
|
8096
|
+
}
|
|
8097
|
+
|
|
8098
|
+
/* Upcoming: sunken/muted circle with default-color number */
|
|
8099
|
+
.muka-progress-accordeon__indicator--upcoming {
|
|
8100
|
+
background-color: var(--color-surface-sunken);
|
|
8101
|
+
color: var(--color-text-default-default);
|
|
8102
8102
|
}
|
|
8103
8103
|
|
|
8104
8104
|
.muka-progress-accordeon__check-icon {
|
|
@@ -8539,6 +8539,37 @@ button.muka-progress-tracker__tab:focus-visible {
|
|
|
8539
8539
|
}
|
|
8540
8540
|
|
|
8541
8541
|
|
|
8542
|
+
/* Popover */
|
|
8543
|
+
/* Popover Component Styles */
|
|
8544
|
+
|
|
8545
|
+
.muka-popover__content {
|
|
8546
|
+
background-color: var(--color-surface-level3);
|
|
8547
|
+
border: var(--border-width-regular) solid var(--color-border-default);
|
|
8548
|
+
border-radius: var(--radius-md);
|
|
8549
|
+
padding: var(--spacing-4);
|
|
8550
|
+
box-shadow: var(--shadow-level3);
|
|
8551
|
+
max-width: 20rem;
|
|
8552
|
+
z-index: 50;
|
|
8553
|
+
animation: muka-popover-fade-in 150ms ease;
|
|
8554
|
+
}
|
|
8555
|
+
|
|
8556
|
+
@keyframes muka-popover-fade-in {
|
|
8557
|
+
from {
|
|
8558
|
+
opacity: 0;
|
|
8559
|
+
transform: scale(0.96);
|
|
8560
|
+
}
|
|
8561
|
+
to {
|
|
8562
|
+
opacity: 1;
|
|
8563
|
+
transform: scale(1);
|
|
8564
|
+
}
|
|
8565
|
+
}
|
|
8566
|
+
|
|
8567
|
+
/* Arrow */
|
|
8568
|
+
.muka-popover__arrow {
|
|
8569
|
+
fill: var(--color-surface-level3);
|
|
8570
|
+
}
|
|
8571
|
+
|
|
8572
|
+
|
|
8542
8573
|
/* PriceTag */
|
|
8543
8574
|
/* PriceTag Component Styles - Using Muka Design Tokens */
|
|
8544
8575
|
|
|
@@ -9033,173 +9064,45 @@ button.muka-progress-tracker__tab:focus-visible {
|
|
|
9033
9064
|
}
|
|
9034
9065
|
|
|
9035
9066
|
|
|
9036
|
-
/*
|
|
9037
|
-
/*
|
|
9067
|
+
/* PhotoUploader */
|
|
9068
|
+
/* PhotoUploader Component Styles - Using Muka Design Tokens */
|
|
9038
9069
|
|
|
9039
|
-
.muka-
|
|
9040
|
-
|
|
9041
|
-
|
|
9042
|
-
|
|
9043
|
-
|
|
9044
|
-
|
|
9045
|
-
max-width: 20rem;
|
|
9046
|
-
z-index: 50;
|
|
9047
|
-
animation: muka-popover-fade-in 150ms ease;
|
|
9070
|
+
.muka-photo-uploader {
|
|
9071
|
+
display: flex;
|
|
9072
|
+
flex-direction: column;
|
|
9073
|
+
align-items: flex-start;
|
|
9074
|
+
gap: var(--spacing-4);
|
|
9075
|
+
width: 100%;
|
|
9048
9076
|
}
|
|
9049
9077
|
|
|
9050
|
-
|
|
9051
|
-
|
|
9052
|
-
|
|
9053
|
-
|
|
9054
|
-
|
|
9055
|
-
|
|
9056
|
-
|
|
9057
|
-
|
|
9058
|
-
|
|
9078
|
+
/* Visually-hidden native file input */
|
|
9079
|
+
.muka-photo-uploader__input {
|
|
9080
|
+
position: absolute;
|
|
9081
|
+
width: 1px;
|
|
9082
|
+
height: 1px;
|
|
9083
|
+
padding: 0;
|
|
9084
|
+
margin: -1px;
|
|
9085
|
+
overflow: hidden;
|
|
9086
|
+
clip: rect(0, 0, 0, 0);
|
|
9087
|
+
white-space: nowrap;
|
|
9088
|
+
border: 0;
|
|
9059
9089
|
}
|
|
9060
9090
|
|
|
9061
|
-
/*
|
|
9062
|
-
.muka-
|
|
9063
|
-
|
|
9091
|
+
/* ─── Error feedback alert ────────────────────────────── */
|
|
9092
|
+
.muka-photo-uploader__alert {
|
|
9093
|
+
width: 100%;
|
|
9064
9094
|
}
|
|
9065
9095
|
|
|
9066
|
-
|
|
9067
|
-
|
|
9068
|
-
|
|
9069
|
-
|
|
9070
|
-
|
|
9071
|
-
|
|
9072
|
-
|
|
9073
|
-
|
|
9074
|
-
|
|
9075
|
-
|
|
9076
|
-
/* Legend layout */
|
|
9077
|
-
.muka-piechart--legend-right {
|
|
9078
|
-
flex-direction: row;
|
|
9079
|
-
}
|
|
9080
|
-
|
|
9081
|
-
.muka-piechart--legend-bottom {
|
|
9082
|
-
flex-direction: column;
|
|
9083
|
-
}
|
|
9084
|
-
|
|
9085
|
-
/* ========================================
|
|
9086
|
-
CHART
|
|
9087
|
-
======================================== */
|
|
9088
|
-
|
|
9089
|
-
.muka-piechart__chart {
|
|
9090
|
-
position: relative;
|
|
9091
|
-
flex-shrink: 0;
|
|
9092
|
-
}
|
|
9093
|
-
|
|
9094
|
-
.muka-piechart__chart--sm {
|
|
9095
|
-
width: var(--piechart-size-diameter-sm);
|
|
9096
|
-
height: var(--piechart-size-diameter-sm);
|
|
9097
|
-
}
|
|
9098
|
-
|
|
9099
|
-
.muka-piechart__chart--md {
|
|
9100
|
-
width: var(--piechart-size-diameter-md);
|
|
9101
|
-
height: var(--piechart-size-diameter-md);
|
|
9102
|
-
}
|
|
9103
|
-
|
|
9104
|
-
.muka-piechart__chart--lg {
|
|
9105
|
-
width: var(--piechart-size-diameter-lg);
|
|
9106
|
-
height: var(--piechart-size-diameter-lg);
|
|
9107
|
-
}
|
|
9108
|
-
|
|
9109
|
-
.muka-piechart__svg {
|
|
9110
|
-
display: block;
|
|
9111
|
-
width: 100%;
|
|
9112
|
-
height: 100%;
|
|
9113
|
-
/* Start slices at 12 o'clock instead of 3 o'clock */
|
|
9114
|
-
transform: rotate(-90deg);
|
|
9115
|
-
}
|
|
9116
|
-
|
|
9117
|
-
.muka-piechart__track {
|
|
9118
|
-
fill: none;
|
|
9119
|
-
stroke: var(--piechart-color-track);
|
|
9120
|
-
}
|
|
9121
|
-
|
|
9122
|
-
.muka-piechart__segment {
|
|
9123
|
-
fill: none;
|
|
9124
|
-
}
|
|
9125
|
-
|
|
9126
|
-
/* ========================================
|
|
9127
|
-
LEGEND
|
|
9128
|
-
======================================== */
|
|
9129
|
-
|
|
9130
|
-
.muka-piechart__legend {
|
|
9131
|
-
list-style: none;
|
|
9132
|
-
margin: 0;
|
|
9133
|
-
padding: 0;
|
|
9134
|
-
display: flex;
|
|
9135
|
-
flex-direction: column;
|
|
9136
|
-
gap: var(--spacing-1);
|
|
9137
|
-
}
|
|
9138
|
-
|
|
9139
|
-
.muka-piechart__legend-item {
|
|
9140
|
-
display: flex;
|
|
9141
|
-
align-items: center;
|
|
9142
|
-
gap: var(--spacing-2);
|
|
9143
|
-
font-family: var(--text-body-sm-regular-fontFamily);
|
|
9144
|
-
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
9145
|
-
font-size: var(--text-body-sm-regular-fontSize);
|
|
9146
|
-
line-height: var(--text-body-sm-regular-lineHeight);
|
|
9147
|
-
color: var(--color-text-default-default);
|
|
9148
|
-
}
|
|
9149
|
-
|
|
9150
|
-
.muka-piechart__swatch {
|
|
9151
|
-
flex-shrink: 0;
|
|
9152
|
-
width: var(--spacing-3);
|
|
9153
|
-
height: var(--spacing-3);
|
|
9154
|
-
border-radius: var(--border-radius-sm);
|
|
9155
|
-
}
|
|
9156
|
-
|
|
9157
|
-
.muka-piechart__legend-value {
|
|
9158
|
-
margin-left: auto;
|
|
9159
|
-
padding-left: var(--spacing-2);
|
|
9160
|
-
color: var(--color-text-subtle-default);
|
|
9161
|
-
}
|
|
9162
|
-
|
|
9163
|
-
|
|
9164
|
-
/* PhotoUploader */
|
|
9165
|
-
/* PhotoUploader Component Styles - Using Muka Design Tokens */
|
|
9166
|
-
|
|
9167
|
-
.muka-photo-uploader {
|
|
9168
|
-
display: flex;
|
|
9169
|
-
flex-direction: column;
|
|
9170
|
-
align-items: flex-start;
|
|
9171
|
-
gap: var(--spacing-4);
|
|
9172
|
-
width: 100%;
|
|
9173
|
-
}
|
|
9174
|
-
|
|
9175
|
-
/* Visually-hidden native file input */
|
|
9176
|
-
.muka-photo-uploader__input {
|
|
9177
|
-
position: absolute;
|
|
9178
|
-
width: 1px;
|
|
9179
|
-
height: 1px;
|
|
9180
|
-
padding: 0;
|
|
9181
|
-
margin: -1px;
|
|
9182
|
-
overflow: hidden;
|
|
9183
|
-
clip: rect(0, 0, 0, 0);
|
|
9184
|
-
white-space: nowrap;
|
|
9185
|
-
border: 0;
|
|
9186
|
-
}
|
|
9187
|
-
|
|
9188
|
-
/* ─── Error feedback alert ────────────────────────────── */
|
|
9189
|
-
.muka-photo-uploader__alert {
|
|
9190
|
-
width: 100%;
|
|
9191
|
-
}
|
|
9192
|
-
|
|
9193
|
-
/* ─── Thumbnail grid ──────────────────────────────────── */
|
|
9194
|
-
.muka-photo-uploader__grid {
|
|
9195
|
-
display: flex;
|
|
9196
|
-
flex-wrap: wrap;
|
|
9197
|
-
gap: var(--spacing-3);
|
|
9198
|
-
width: 100%;
|
|
9199
|
-
margin: 0;
|
|
9200
|
-
padding: 0;
|
|
9201
|
-
list-style: none;
|
|
9202
|
-
}
|
|
9096
|
+
/* ─── Thumbnail grid ──────────────────────────────────── */
|
|
9097
|
+
.muka-photo-uploader__grid {
|
|
9098
|
+
display: flex;
|
|
9099
|
+
flex-wrap: wrap;
|
|
9100
|
+
gap: var(--spacing-3);
|
|
9101
|
+
width: 100%;
|
|
9102
|
+
margin: 0;
|
|
9103
|
+
padding: 0;
|
|
9104
|
+
list-style: none;
|
|
9105
|
+
}
|
|
9203
9106
|
|
|
9204
9107
|
.muka-photo-uploader__grid-item {
|
|
9205
9108
|
margin: 0;
|
|
@@ -9328,6 +9231,103 @@ button.muka-progress-tracker__tab:focus-visible {
|
|
|
9328
9231
|
}
|
|
9329
9232
|
|
|
9330
9233
|
|
|
9234
|
+
/* PieChart */
|
|
9235
|
+
/* PieChart Component Styles - Using Muka Design Tokens */
|
|
9236
|
+
|
|
9237
|
+
.muka-piechart {
|
|
9238
|
+
display: inline-flex;
|
|
9239
|
+
align-items: center;
|
|
9240
|
+
gap: var(--spacing-4);
|
|
9241
|
+
}
|
|
9242
|
+
|
|
9243
|
+
/* Legend layout */
|
|
9244
|
+
.muka-piechart--legend-right {
|
|
9245
|
+
flex-direction: row;
|
|
9246
|
+
}
|
|
9247
|
+
|
|
9248
|
+
.muka-piechart--legend-bottom {
|
|
9249
|
+
flex-direction: column;
|
|
9250
|
+
}
|
|
9251
|
+
|
|
9252
|
+
/* ========================================
|
|
9253
|
+
CHART
|
|
9254
|
+
======================================== */
|
|
9255
|
+
|
|
9256
|
+
.muka-piechart__chart {
|
|
9257
|
+
position: relative;
|
|
9258
|
+
flex-shrink: 0;
|
|
9259
|
+
}
|
|
9260
|
+
|
|
9261
|
+
.muka-piechart__chart--sm {
|
|
9262
|
+
width: var(--piechart-size-diameter-sm);
|
|
9263
|
+
height: var(--piechart-size-diameter-sm);
|
|
9264
|
+
}
|
|
9265
|
+
|
|
9266
|
+
.muka-piechart__chart--md {
|
|
9267
|
+
width: var(--piechart-size-diameter-md);
|
|
9268
|
+
height: var(--piechart-size-diameter-md);
|
|
9269
|
+
}
|
|
9270
|
+
|
|
9271
|
+
.muka-piechart__chart--lg {
|
|
9272
|
+
width: var(--piechart-size-diameter-lg);
|
|
9273
|
+
height: var(--piechart-size-diameter-lg);
|
|
9274
|
+
}
|
|
9275
|
+
|
|
9276
|
+
.muka-piechart__svg {
|
|
9277
|
+
display: block;
|
|
9278
|
+
width: 100%;
|
|
9279
|
+
height: 100%;
|
|
9280
|
+
/* Start slices at 12 o'clock instead of 3 o'clock */
|
|
9281
|
+
transform: rotate(-90deg);
|
|
9282
|
+
}
|
|
9283
|
+
|
|
9284
|
+
.muka-piechart__track {
|
|
9285
|
+
fill: none;
|
|
9286
|
+
stroke: var(--piechart-color-track);
|
|
9287
|
+
}
|
|
9288
|
+
|
|
9289
|
+
.muka-piechart__segment {
|
|
9290
|
+
fill: none;
|
|
9291
|
+
}
|
|
9292
|
+
|
|
9293
|
+
/* ========================================
|
|
9294
|
+
LEGEND
|
|
9295
|
+
======================================== */
|
|
9296
|
+
|
|
9297
|
+
.muka-piechart__legend {
|
|
9298
|
+
list-style: none;
|
|
9299
|
+
margin: 0;
|
|
9300
|
+
padding: 0;
|
|
9301
|
+
display: flex;
|
|
9302
|
+
flex-direction: column;
|
|
9303
|
+
gap: var(--spacing-1);
|
|
9304
|
+
}
|
|
9305
|
+
|
|
9306
|
+
.muka-piechart__legend-item {
|
|
9307
|
+
display: flex;
|
|
9308
|
+
align-items: center;
|
|
9309
|
+
gap: var(--spacing-2);
|
|
9310
|
+
font-family: var(--text-body-sm-regular-fontFamily);
|
|
9311
|
+
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
9312
|
+
font-size: var(--text-body-sm-regular-fontSize);
|
|
9313
|
+
line-height: var(--text-body-sm-regular-lineHeight);
|
|
9314
|
+
color: var(--color-text-default-default);
|
|
9315
|
+
}
|
|
9316
|
+
|
|
9317
|
+
.muka-piechart__swatch {
|
|
9318
|
+
flex-shrink: 0;
|
|
9319
|
+
width: var(--spacing-3);
|
|
9320
|
+
height: var(--spacing-3);
|
|
9321
|
+
border-radius: var(--border-radius-sm);
|
|
9322
|
+
}
|
|
9323
|
+
|
|
9324
|
+
.muka-piechart__legend-value {
|
|
9325
|
+
margin-left: auto;
|
|
9326
|
+
padding-left: var(--spacing-2);
|
|
9327
|
+
color: var(--color-text-subtle-default);
|
|
9328
|
+
}
|
|
9329
|
+
|
|
9330
|
+
|
|
9331
9331
|
/* Pagination */
|
|
9332
9332
|
/* Pagination Component Styles */
|
|
9333
9333
|
|
|
@@ -9510,45 +9510,15 @@ button.muka-progress-tracker__tab:focus-visible {
|
|
|
9510
9510
|
}
|
|
9511
9511
|
|
|
9512
9512
|
|
|
9513
|
-
/*
|
|
9514
|
-
/*
|
|
9515
|
-
/* Only the prefix/suffix affixes are NumberInput-specific. */
|
|
9513
|
+
/* NavigationTransition */
|
|
9514
|
+
/* NavigationTransition Component Styles */
|
|
9516
9515
|
|
|
9517
|
-
|
|
9518
|
-
|
|
9519
|
-
|
|
9520
|
-
|
|
9521
|
-
|
|
9522
|
-
|
|
9523
|
-
font-size: var(--text-input-md-fontSize);
|
|
9524
|
-
line-height: var(--text-input-md-lineHeight);
|
|
9525
|
-
user-select: none;
|
|
9526
|
-
pointer-events: none;
|
|
9527
|
-
white-space: nowrap;
|
|
9528
|
-
}
|
|
9529
|
-
|
|
9530
|
-
/* Hide the native number spinners — affixes/step API replace them. */
|
|
9531
|
-
.muka-numberinput__field .muka-input__native::-webkit-outer-spin-button,
|
|
9532
|
-
.muka-numberinput__field .muka-input__native::-webkit-inner-spin-button {
|
|
9533
|
-
-webkit-appearance: none;
|
|
9534
|
-
margin: 0;
|
|
9535
|
-
}
|
|
9536
|
-
|
|
9537
|
-
.muka-numberinput__field .muka-input__native {
|
|
9538
|
-
-moz-appearance: textfield;
|
|
9539
|
-
appearance: textfield;
|
|
9540
|
-
}
|
|
9541
|
-
|
|
9542
|
-
|
|
9543
|
-
/* NavigationTransition */
|
|
9544
|
-
/* NavigationTransition Component Styles */
|
|
9545
|
-
|
|
9546
|
-
/* ─── Wrapper ────────────────────────────────────────── */
|
|
9547
|
-
|
|
9548
|
-
.muka-nav-transition {
|
|
9549
|
-
position: relative;
|
|
9550
|
-
height: 100vh;
|
|
9551
|
-
overflow: hidden;
|
|
9516
|
+
/* ─── Wrapper ────────────────────────────────────────── */
|
|
9517
|
+
|
|
9518
|
+
.muka-nav-transition {
|
|
9519
|
+
position: relative;
|
|
9520
|
+
height: 100vh;
|
|
9521
|
+
overflow: hidden;
|
|
9552
9522
|
}
|
|
9553
9523
|
|
|
9554
9524
|
/* Disable interaction during animation */
|
|
@@ -9568,6 +9538,36 @@ button.muka-progress-tracker__tab:focus-visible {
|
|
|
9568
9538
|
.muka-nav-transition__view--top { z-index: 2; }
|
|
9569
9539
|
|
|
9570
9540
|
|
|
9541
|
+
/* NumberInput */
|
|
9542
|
+
/* NumberInput — reuses Input field styles (../Input/Input.css). */
|
|
9543
|
+
/* Only the prefix/suffix affixes are NumberInput-specific. */
|
|
9544
|
+
|
|
9545
|
+
.muka-numberinput__addon {
|
|
9546
|
+
display: inline-flex;
|
|
9547
|
+
align-items: center;
|
|
9548
|
+
flex: none;
|
|
9549
|
+
color: var(--color-text-subtle-default);
|
|
9550
|
+
font-family: var(--text-input-md-fontFamily);
|
|
9551
|
+
font-size: var(--text-input-md-fontSize);
|
|
9552
|
+
line-height: var(--text-input-md-lineHeight);
|
|
9553
|
+
user-select: none;
|
|
9554
|
+
pointer-events: none;
|
|
9555
|
+
white-space: nowrap;
|
|
9556
|
+
}
|
|
9557
|
+
|
|
9558
|
+
/* Hide the native number spinners — affixes/step API replace them. */
|
|
9559
|
+
.muka-numberinput__field .muka-input__native::-webkit-outer-spin-button,
|
|
9560
|
+
.muka-numberinput__field .muka-input__native::-webkit-inner-spin-button {
|
|
9561
|
+
-webkit-appearance: none;
|
|
9562
|
+
margin: 0;
|
|
9563
|
+
}
|
|
9564
|
+
|
|
9565
|
+
.muka-numberinput__field .muka-input__native {
|
|
9566
|
+
-moz-appearance: textfield;
|
|
9567
|
+
appearance: textfield;
|
|
9568
|
+
}
|
|
9569
|
+
|
|
9570
|
+
|
|
9571
9571
|
/* Menu */
|
|
9572
9572
|
/* Menu Component Styles */
|
|
9573
9573
|
|
|
@@ -12165,194 +12165,6 @@ li.muka-listitem {
|
|
|
12165
12165
|
}
|
|
12166
12166
|
|
|
12167
12167
|
|
|
12168
|
-
/* Drawer */
|
|
12169
|
-
/* Drawer Component Styles */
|
|
12170
|
-
|
|
12171
|
-
/* Size tokens (local to Drawer) */
|
|
12172
|
-
.muka-drawer {
|
|
12173
|
-
--drawer-width-sm: 18rem;
|
|
12174
|
-
--drawer-width-md: 26rem;
|
|
12175
|
-
--drawer-width-lg: 36rem;
|
|
12176
|
-
}
|
|
12177
|
-
|
|
12178
|
-
/* Reset native dialog */
|
|
12179
|
-
.muka-drawer {
|
|
12180
|
-
border: none;
|
|
12181
|
-
padding: 0;
|
|
12182
|
-
max-width: none;
|
|
12183
|
-
max-height: none;
|
|
12184
|
-
background: transparent;
|
|
12185
|
-
overflow: visible;
|
|
12186
|
-
}
|
|
12187
|
-
|
|
12188
|
-
/* Backdrop */
|
|
12189
|
-
.muka-drawer::backdrop {
|
|
12190
|
-
background-color: var(--color-surface-backdrop);
|
|
12191
|
-
-webkit-backdrop-filter: blur(var(--effect-blur-backdrop));
|
|
12192
|
-
backdrop-filter: blur(var(--effect-blur-backdrop));
|
|
12193
|
-
opacity: 0;
|
|
12194
|
-
transition: opacity 200ms ease;
|
|
12195
|
-
}
|
|
12196
|
-
|
|
12197
|
-
.muka-drawer--slide-in::backdrop {
|
|
12198
|
-
opacity: 1;
|
|
12199
|
-
}
|
|
12200
|
-
|
|
12201
|
-
/* Surface */
|
|
12202
|
-
.muka-drawer__surface {
|
|
12203
|
-
display: flex;
|
|
12204
|
-
flex-direction: column;
|
|
12205
|
-
background-color: var(--color-surface-level3);
|
|
12206
|
-
box-shadow: var(--shadow-level5);
|
|
12207
|
-
height: 100%;
|
|
12208
|
-
overflow: hidden;
|
|
12209
|
-
position: fixed;
|
|
12210
|
-
transition: transform 200ms cubic-bezier(0.16, 1, 0.3, 1);
|
|
12211
|
-
}
|
|
12212
|
-
|
|
12213
|
-
/* Side positioning + initial transforms */
|
|
12214
|
-
.muka-drawer--right .muka-drawer__surface {
|
|
12215
|
-
top: 0;
|
|
12216
|
-
right: 0;
|
|
12217
|
-
bottom: 0;
|
|
12218
|
-
border-radius: var(--radius-lg) 0 0 var(--radius-lg);
|
|
12219
|
-
transform: translateX(100%);
|
|
12220
|
-
}
|
|
12221
|
-
|
|
12222
|
-
.muka-drawer--left .muka-drawer__surface {
|
|
12223
|
-
top: 0;
|
|
12224
|
-
left: 0;
|
|
12225
|
-
bottom: 0;
|
|
12226
|
-
border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
|
|
12227
|
-
transform: translateX(-100%);
|
|
12228
|
-
}
|
|
12229
|
-
|
|
12230
|
-
.muka-drawer--bottom .muka-drawer__surface {
|
|
12231
|
-
left: 0;
|
|
12232
|
-
right: 0;
|
|
12233
|
-
bottom: 0;
|
|
12234
|
-
border-radius: var(--radius-lg) var(--radius-lg) 0 0;
|
|
12235
|
-
transform: translateY(100%);
|
|
12236
|
-
}
|
|
12237
|
-
|
|
12238
|
-
.muka-drawer--top .muka-drawer__surface {
|
|
12239
|
-
left: 0;
|
|
12240
|
-
right: 0;
|
|
12241
|
-
top: 0;
|
|
12242
|
-
border-radius: 0 0 var(--radius-lg) var(--radius-lg);
|
|
12243
|
-
transform: translateY(-100%);
|
|
12244
|
-
}
|
|
12245
|
-
|
|
12246
|
-
/* Slide-in state */
|
|
12247
|
-
.muka-drawer--slide-in .muka-drawer__surface {
|
|
12248
|
-
transform: translate(0, 0);
|
|
12249
|
-
}
|
|
12250
|
-
|
|
12251
|
-
/* Width sizes (left/right) */
|
|
12252
|
-
.muka-drawer--right .muka-drawer__surface,
|
|
12253
|
-
.muka-drawer--left .muka-drawer__surface {
|
|
12254
|
-
width: var(--drawer-width-md);
|
|
12255
|
-
}
|
|
12256
|
-
|
|
12257
|
-
.muka-drawer--sm.muka-drawer--right .muka-drawer__surface,
|
|
12258
|
-
.muka-drawer--sm.muka-drawer--left .muka-drawer__surface {
|
|
12259
|
-
width: var(--drawer-width-sm);
|
|
12260
|
-
}
|
|
12261
|
-
|
|
12262
|
-
.muka-drawer--lg.muka-drawer--right .muka-drawer__surface,
|
|
12263
|
-
.muka-drawer--lg.muka-drawer--left .muka-drawer__surface {
|
|
12264
|
-
width: var(--drawer-width-lg);
|
|
12265
|
-
}
|
|
12266
|
-
|
|
12267
|
-
.muka-drawer--full.muka-drawer--right .muka-drawer__surface,
|
|
12268
|
-
.muka-drawer--full.muka-drawer--left .muka-drawer__surface {
|
|
12269
|
-
width: 100%;
|
|
12270
|
-
}
|
|
12271
|
-
|
|
12272
|
-
/* Height sizes (top/bottom) */
|
|
12273
|
-
.muka-drawer--top .muka-drawer__surface,
|
|
12274
|
-
.muka-drawer--bottom .muka-drawer__surface {
|
|
12275
|
-
height: auto;
|
|
12276
|
-
max-height: 80vh;
|
|
12277
|
-
}
|
|
12278
|
-
|
|
12279
|
-
.muka-drawer--full.muka-drawer--top .muka-drawer__surface,
|
|
12280
|
-
.muka-drawer--full.muka-drawer--bottom .muka-drawer__surface {
|
|
12281
|
-
max-height: 100vh;
|
|
12282
|
-
}
|
|
12283
|
-
|
|
12284
|
-
/* Header: the shared TopBar, raised above the scrolling body like in Dialog */
|
|
12285
|
-
.muka-drawer .muka-topbar {
|
|
12286
|
-
position: relative;
|
|
12287
|
-
z-index: 1;
|
|
12288
|
-
flex-shrink: 0;
|
|
12289
|
-
}
|
|
12290
|
-
|
|
12291
|
-
/* Body */
|
|
12292
|
-
.muka-drawer__body {
|
|
12293
|
-
flex: 1;
|
|
12294
|
-
overflow-y: auto;
|
|
12295
|
-
padding: var(--drawer-padding-x);
|
|
12296
|
-
}
|
|
12297
|
-
|
|
12298
|
-
/* Roomier body on desktop; the header and footer keep their padding */
|
|
12299
|
-
@media (min-width: 1024px) {
|
|
12300
|
-
.muka-drawer__body {
|
|
12301
|
-
padding: var(--drawer-padding-x-desktop);
|
|
12302
|
-
}
|
|
12303
|
-
}
|
|
12304
|
-
|
|
12305
|
-
/* Footer */
|
|
12306
|
-
.muka-drawer__footer {
|
|
12307
|
-
padding: var(--spacing-4);
|
|
12308
|
-
border-top: var(--border-width-regular) solid var(--color-border-default);
|
|
12309
|
-
flex-shrink: 0;
|
|
12310
|
-
}
|
|
12311
|
-
|
|
12312
|
-
/* ─── Safe areas (notch, status bar, home indicator) ────
|
|
12313
|
-
env(safe-area-inset-*) is 0 outside notched devices, so these only change
|
|
12314
|
-
an app running edge to edge (viewport-fit=cover, e.g. an iOS shell). */
|
|
12315
|
-
|
|
12316
|
-
/* Top edge. Side, top and full-height drawers reach the status bar: their
|
|
12317
|
-
TopBar pads for it; without a header the surface does. A bottom drawer
|
|
12318
|
-
stops short of it, so its TopBar must not. */
|
|
12319
|
-
.muka-drawer--right .muka-drawer__surface:not(:has(> .muka-topbar)),
|
|
12320
|
-
.muka-drawer--left .muka-drawer__surface:not(:has(> .muka-topbar)),
|
|
12321
|
-
.muka-drawer--top .muka-drawer__surface:not(:has(> .muka-topbar)) {
|
|
12322
|
-
padding-top: env(safe-area-inset-top, 0px);
|
|
12323
|
-
}
|
|
12324
|
-
|
|
12325
|
-
.muka-drawer--bottom:not(.muka-drawer--full) .muka-topbar {
|
|
12326
|
-
padding-top: 0;
|
|
12327
|
-
}
|
|
12328
|
-
|
|
12329
|
-
/* Bottom edge. Side and bottom drawers reach the home indicator: the footer
|
|
12330
|
-
pads for it, or the surface when there is no footer. */
|
|
12331
|
-
.muka-drawer:not(.muka-drawer--top) .muka-drawer__footer {
|
|
12332
|
-
padding-bottom: calc(var(--spacing-4) + env(safe-area-inset-bottom, 0px));
|
|
12333
|
-
}
|
|
12334
|
-
|
|
12335
|
-
.muka-drawer:not(.muka-drawer--top) .muka-drawer__surface:not(:has(> .muka-drawer__footer)) {
|
|
12336
|
-
padding-bottom: env(safe-area-inset-bottom, 0px);
|
|
12337
|
-
}
|
|
12338
|
-
|
|
12339
|
-
/* Sides (landscape notch): the edge the drawer is attached to. The TopBar
|
|
12340
|
-
already insets its own content. */
|
|
12341
|
-
@media (max-width: 1023px) {
|
|
12342
|
-
.muka-drawer--left .muka-drawer__body,
|
|
12343
|
-
.muka-drawer--top .muka-drawer__body,
|
|
12344
|
-
.muka-drawer--bottom .muka-drawer__body {
|
|
12345
|
-
padding-left: max(var(--drawer-padding-x), env(safe-area-inset-left, 0px));
|
|
12346
|
-
}
|
|
12347
|
-
|
|
12348
|
-
.muka-drawer--right .muka-drawer__body,
|
|
12349
|
-
.muka-drawer--top .muka-drawer__body,
|
|
12350
|
-
.muka-drawer--bottom .muka-drawer__body {
|
|
12351
|
-
padding-right: max(var(--drawer-padding-x), env(safe-area-inset-right, 0px));
|
|
12352
|
-
}
|
|
12353
|
-
}
|
|
12354
|
-
|
|
12355
|
-
|
|
12356
12168
|
/* DocumentViewer */
|
|
12357
12169
|
/* DocumentViewer Component Styles - Using Muka Design Tokens */
|
|
12358
12170
|
|
|
@@ -13651,23 +13463,435 @@ li.muka-listitem {
|
|
|
13651
13463
|
}
|
|
13652
13464
|
}
|
|
13653
13465
|
|
|
13654
|
-
@media (prefers-reduced-motion: reduce) {
|
|
13655
|
-
.muka-data-pie-chart__spinner {
|
|
13656
|
-
animation-duration: 2.5s;
|
|
13466
|
+
@media (prefers-reduced-motion: reduce) {
|
|
13467
|
+
.muka-data-pie-chart__spinner {
|
|
13468
|
+
animation-duration: 2.5s;
|
|
13469
|
+
}
|
|
13470
|
+
}
|
|
13471
|
+
|
|
13472
|
+
.muka-data-pie-chart__value {
|
|
13473
|
+
position: absolute;
|
|
13474
|
+
inset: 0;
|
|
13475
|
+
display: flex;
|
|
13476
|
+
align-items: center;
|
|
13477
|
+
justify-content: center;
|
|
13478
|
+
font-family: var(--text-body-base-bold-fontFamily);
|
|
13479
|
+
font-weight: var(--text-body-base-bold-fontWeight);
|
|
13480
|
+
font-size: var(--text-body-base-bold-fontSize);
|
|
13481
|
+
line-height: var(--text-body-base-bold-lineHeight);
|
|
13482
|
+
color: var(--color-text-default-default);
|
|
13483
|
+
}
|
|
13484
|
+
|
|
13485
|
+
|
|
13486
|
+
/* Container */
|
|
13487
|
+
/* Container Component - Layout tokens (container.max-width, container.gap) */
|
|
13488
|
+
|
|
13489
|
+
.muka-container {
|
|
13490
|
+
box-sizing: border-box;
|
|
13491
|
+
width: 100%;
|
|
13492
|
+
margin-inline: auto;
|
|
13493
|
+
}
|
|
13494
|
+
|
|
13495
|
+
/* Max-width variants */
|
|
13496
|
+
.muka-container--max-width-small {
|
|
13497
|
+
max-width: var(--container-max-width-small);
|
|
13498
|
+
}
|
|
13499
|
+
|
|
13500
|
+
.muka-container--max-width-medium {
|
|
13501
|
+
max-width: var(--container-max-width-medium);
|
|
13502
|
+
}
|
|
13503
|
+
|
|
13504
|
+
.muka-container--max-width-large {
|
|
13505
|
+
max-width: var(--container-max-width-large);
|
|
13506
|
+
}
|
|
13507
|
+
|
|
13508
|
+
.muka-container--max-width-xlarge {
|
|
13509
|
+
max-width: var(--container-max-width-xlarge);
|
|
13510
|
+
}
|
|
13511
|
+
|
|
13512
|
+
/* No gap — max-width only, no flex */
|
|
13513
|
+
.muka-container--gap-none {
|
|
13514
|
+
/* block layout by default */
|
|
13515
|
+
}
|
|
13516
|
+
|
|
13517
|
+
/* Gap variants — flex column with token gap */
|
|
13518
|
+
.muka-container--gap-compact {
|
|
13519
|
+
display: flex;
|
|
13520
|
+
flex-direction: column;
|
|
13521
|
+
gap: var(--container-gap-compact);
|
|
13522
|
+
}
|
|
13523
|
+
|
|
13524
|
+
.muka-container--gap-default {
|
|
13525
|
+
display: flex;
|
|
13526
|
+
flex-direction: column;
|
|
13527
|
+
gap: var(--container-gap-default);
|
|
13528
|
+
}
|
|
13529
|
+
|
|
13530
|
+
.muka-container--gap-spacious {
|
|
13531
|
+
display: flex;
|
|
13532
|
+
flex-direction: column;
|
|
13533
|
+
gap: var(--container-gap-spacious);
|
|
13534
|
+
}
|
|
13535
|
+
|
|
13536
|
+
|
|
13537
|
+
/* Combobox */
|
|
13538
|
+
/* Combobox — Figma Input Combobox (free-input chips + suggestion Menu) */
|
|
13539
|
+
|
|
13540
|
+
.muka-combobox {
|
|
13541
|
+
display: inline-flex;
|
|
13542
|
+
flex-direction: column;
|
|
13543
|
+
gap: var(--spacing-2);
|
|
13544
|
+
min-width: 200px;
|
|
13545
|
+
}
|
|
13546
|
+
|
|
13547
|
+
.muka-combobox--full-width {
|
|
13548
|
+
width: 100%;
|
|
13549
|
+
}
|
|
13550
|
+
|
|
13551
|
+
.muka-combobox__label {
|
|
13552
|
+
color: var(--color-text-default-default);
|
|
13553
|
+
cursor: pointer;
|
|
13554
|
+
}
|
|
13555
|
+
|
|
13556
|
+
.muka-combobox__label--sm {
|
|
13557
|
+
font-family: var(--text-label-sm-semibold-fontFamily);
|
|
13558
|
+
font-weight: var(--text-label-sm-semibold-fontWeight);
|
|
13559
|
+
font-size: var(--text-label-sm-semibold-fontSize);
|
|
13560
|
+
line-height: var(--text-label-sm-semibold-lineHeight);
|
|
13561
|
+
}
|
|
13562
|
+
|
|
13563
|
+
.muka-combobox__label--md {
|
|
13564
|
+
font-family: var(--text-label-md-semibold-fontFamily);
|
|
13565
|
+
font-weight: var(--text-label-md-semibold-fontWeight);
|
|
13566
|
+
font-size: var(--text-label-md-semibold-fontSize);
|
|
13567
|
+
line-height: var(--text-label-md-semibold-lineHeight);
|
|
13568
|
+
}
|
|
13569
|
+
|
|
13570
|
+
.muka-combobox__label--lg {
|
|
13571
|
+
font-family: var(--text-label-lg-semibold-fontFamily);
|
|
13572
|
+
font-weight: var(--text-label-lg-semibold-fontWeight);
|
|
13573
|
+
font-size: var(--text-label-lg-semibold-fontSize);
|
|
13574
|
+
line-height: var(--text-label-lg-semibold-lineHeight);
|
|
13575
|
+
}
|
|
13576
|
+
|
|
13577
|
+
.muka-combobox__field {
|
|
13578
|
+
display: flex;
|
|
13579
|
+
align-items: center;
|
|
13580
|
+
width: 100%;
|
|
13581
|
+
position: relative;
|
|
13582
|
+
isolation: isolate;
|
|
13583
|
+
box-sizing: border-box;
|
|
13584
|
+
background-color: var(--input-field-color-default-background);
|
|
13585
|
+
border: var(--border-width-regular) solid var(--input-field-color-default-border);
|
|
13586
|
+
border-radius: var(--input-field-radius-lg);
|
|
13587
|
+
padding: var(--spacing-2);
|
|
13588
|
+
cursor: text;
|
|
13589
|
+
transition: border-color 0.12s ease, background-color 0.12s ease;
|
|
13590
|
+
}
|
|
13591
|
+
|
|
13592
|
+
.muka-combobox__field::after {
|
|
13593
|
+
content: '';
|
|
13594
|
+
position: absolute;
|
|
13595
|
+
inset: 0;
|
|
13596
|
+
border-radius: inherit;
|
|
13597
|
+
box-shadow: inset 0 1px 2px 0 rgba(26, 26, 26, 0.08);
|
|
13598
|
+
pointer-events: none;
|
|
13599
|
+
}
|
|
13600
|
+
|
|
13601
|
+
.muka-combobox__field--sm {
|
|
13602
|
+
min-height: var(--input-field-height-sm);
|
|
13603
|
+
border-radius: var(--input-field-radius-sm);
|
|
13604
|
+
}
|
|
13605
|
+
|
|
13606
|
+
.muka-combobox__field--md {
|
|
13607
|
+
min-height: var(--input-field-height-default);
|
|
13608
|
+
border-radius: var(--input-field-radius-md);
|
|
13609
|
+
}
|
|
13610
|
+
|
|
13611
|
+
.muka-combobox__field--lg {
|
|
13612
|
+
min-height: var(--input-field-height-lg);
|
|
13613
|
+
border-radius: var(--input-field-radius-lg);
|
|
13614
|
+
}
|
|
13615
|
+
|
|
13616
|
+
.muka-combobox__field--focused:not(.muka-combobox__field--disabled) {
|
|
13617
|
+
border-width: var(--border-width-bold);
|
|
13618
|
+
border-color: var(--input-field-color-focus-border);
|
|
13619
|
+
background-color: var(--input-field-color-focus-background);
|
|
13620
|
+
padding: calc(var(--spacing-2) - 1px);
|
|
13621
|
+
}
|
|
13622
|
+
|
|
13623
|
+
.muka-combobox__field--error:not(.muka-combobox__field--disabled) {
|
|
13624
|
+
border-color: var(--color-state-error-contrast);
|
|
13625
|
+
}
|
|
13626
|
+
|
|
13627
|
+
.muka-combobox__field--disabled {
|
|
13628
|
+
opacity: 0.5;
|
|
13629
|
+
cursor: not-allowed;
|
|
13630
|
+
}
|
|
13631
|
+
|
|
13632
|
+
.muka-combobox__field--multiline {
|
|
13633
|
+
align-items: flex-start;
|
|
13634
|
+
min-height: 7rem;
|
|
13635
|
+
}
|
|
13636
|
+
|
|
13637
|
+
.muka-combobox__chips {
|
|
13638
|
+
display: flex;
|
|
13639
|
+
flex: 1 1 auto;
|
|
13640
|
+
flex-wrap: wrap;
|
|
13641
|
+
gap: var(--spacing-2);
|
|
13642
|
+
align-items: center;
|
|
13643
|
+
min-width: 0;
|
|
13644
|
+
width: 100%;
|
|
13645
|
+
position: relative;
|
|
13646
|
+
z-index: 1;
|
|
13647
|
+
}
|
|
13648
|
+
|
|
13649
|
+
.muka-combobox__input {
|
|
13650
|
+
flex: 1 1 5rem;
|
|
13651
|
+
min-width: 5rem;
|
|
13652
|
+
min-height: 2rem;
|
|
13653
|
+
margin: 0;
|
|
13654
|
+
padding: 0 var(--spacing-1);
|
|
13655
|
+
border: none;
|
|
13656
|
+
outline: none;
|
|
13657
|
+
background: transparent;
|
|
13658
|
+
color: var(--input-field-color-default-foreground);
|
|
13659
|
+
caret-color: var(--input-field-color-default-foreground);
|
|
13660
|
+
font-family: var(--text-label-md-regular-fontFamily);
|
|
13661
|
+
font-size: var(--text-label-md-regular-fontSize);
|
|
13662
|
+
font-weight: var(--text-label-md-regular-fontWeight);
|
|
13663
|
+
line-height: var(--text-label-md-regular-lineHeight);
|
|
13664
|
+
}
|
|
13665
|
+
|
|
13666
|
+
.muka-combobox__input::placeholder {
|
|
13667
|
+
color: var(--color-text-subtle-default);
|
|
13668
|
+
}
|
|
13669
|
+
|
|
13670
|
+
.muka-combobox__helper {
|
|
13671
|
+
margin: 0;
|
|
13672
|
+
color: var(--color-text-subtle-default);
|
|
13673
|
+
font-family: var(--text-label-sm-regular-fontFamily);
|
|
13674
|
+
font-size: var(--text-label-sm-regular-fontSize);
|
|
13675
|
+
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
13676
|
+
line-height: var(--text-label-sm-regular-lineHeight);
|
|
13677
|
+
}
|
|
13678
|
+
|
|
13679
|
+
.muka-combobox__error {
|
|
13680
|
+
margin: 0;
|
|
13681
|
+
color: var(--color-state-error-default);
|
|
13682
|
+
font-family: var(--text-label-sm-regular-fontFamily);
|
|
13683
|
+
font-size: var(--text-label-sm-regular-fontSize);
|
|
13684
|
+
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
13685
|
+
line-height: var(--text-label-sm-regular-lineHeight);
|
|
13686
|
+
}
|
|
13687
|
+
|
|
13688
|
+
.muka-combobox__menu-anchor {
|
|
13689
|
+
position: absolute;
|
|
13690
|
+
inset: 0;
|
|
13691
|
+
z-index: 0;
|
|
13692
|
+
width: 100%;
|
|
13693
|
+
height: 100%;
|
|
13694
|
+
margin: 0;
|
|
13695
|
+
padding: 0;
|
|
13696
|
+
border: none;
|
|
13697
|
+
background: transparent;
|
|
13698
|
+
pointer-events: none;
|
|
13699
|
+
opacity: 0;
|
|
13700
|
+
}
|
|
13701
|
+
|
|
13702
|
+
.muka-combobox__menu {
|
|
13703
|
+
/* Prefer Menu token min-width (280px); may exceed the field when left-aligned. */
|
|
13704
|
+
min-width: var(--menu-content-min-width);
|
|
13705
|
+
width: max-content;
|
|
13706
|
+
max-width: min(100vw - 2rem, 24rem);
|
|
13707
|
+
}
|
|
13708
|
+
|
|
13709
|
+
|
|
13710
|
+
/* Drawer */
|
|
13711
|
+
/* Drawer Component Styles */
|
|
13712
|
+
|
|
13713
|
+
/* Size tokens (local to Drawer) */
|
|
13714
|
+
.muka-drawer {
|
|
13715
|
+
--drawer-width-sm: 18rem;
|
|
13716
|
+
--drawer-width-md: 26rem;
|
|
13717
|
+
--drawer-width-lg: 36rem;
|
|
13718
|
+
}
|
|
13719
|
+
|
|
13720
|
+
/* Reset native dialog */
|
|
13721
|
+
.muka-drawer {
|
|
13722
|
+
border: none;
|
|
13723
|
+
padding: 0;
|
|
13724
|
+
max-width: none;
|
|
13725
|
+
max-height: none;
|
|
13726
|
+
background: transparent;
|
|
13727
|
+
overflow: visible;
|
|
13728
|
+
}
|
|
13729
|
+
|
|
13730
|
+
/* Backdrop */
|
|
13731
|
+
.muka-drawer::backdrop {
|
|
13732
|
+
background-color: var(--color-surface-backdrop);
|
|
13733
|
+
-webkit-backdrop-filter: blur(var(--effect-blur-backdrop));
|
|
13734
|
+
backdrop-filter: blur(var(--effect-blur-backdrop));
|
|
13735
|
+
opacity: 0;
|
|
13736
|
+
transition: opacity 200ms ease;
|
|
13737
|
+
}
|
|
13738
|
+
|
|
13739
|
+
.muka-drawer--slide-in::backdrop {
|
|
13740
|
+
opacity: 1;
|
|
13741
|
+
}
|
|
13742
|
+
|
|
13743
|
+
/* Surface */
|
|
13744
|
+
.muka-drawer__surface {
|
|
13745
|
+
display: flex;
|
|
13746
|
+
flex-direction: column;
|
|
13747
|
+
background-color: var(--color-surface-level3);
|
|
13748
|
+
box-shadow: var(--shadow-level5);
|
|
13749
|
+
height: 100%;
|
|
13750
|
+
overflow: hidden;
|
|
13751
|
+
position: fixed;
|
|
13752
|
+
transition: transform 200ms cubic-bezier(0.16, 1, 0.3, 1);
|
|
13753
|
+
}
|
|
13754
|
+
|
|
13755
|
+
/* Side positioning + initial transforms */
|
|
13756
|
+
.muka-drawer--right .muka-drawer__surface {
|
|
13757
|
+
top: 0;
|
|
13758
|
+
right: 0;
|
|
13759
|
+
bottom: 0;
|
|
13760
|
+
border-radius: var(--radius-lg) 0 0 var(--radius-lg);
|
|
13761
|
+
transform: translateX(100%);
|
|
13762
|
+
}
|
|
13763
|
+
|
|
13764
|
+
.muka-drawer--left .muka-drawer__surface {
|
|
13765
|
+
top: 0;
|
|
13766
|
+
left: 0;
|
|
13767
|
+
bottom: 0;
|
|
13768
|
+
border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
|
|
13769
|
+
transform: translateX(-100%);
|
|
13770
|
+
}
|
|
13771
|
+
|
|
13772
|
+
.muka-drawer--bottom .muka-drawer__surface {
|
|
13773
|
+
left: 0;
|
|
13774
|
+
right: 0;
|
|
13775
|
+
bottom: 0;
|
|
13776
|
+
border-radius: var(--radius-lg) var(--radius-lg) 0 0;
|
|
13777
|
+
transform: translateY(100%);
|
|
13778
|
+
}
|
|
13779
|
+
|
|
13780
|
+
.muka-drawer--top .muka-drawer__surface {
|
|
13781
|
+
left: 0;
|
|
13782
|
+
right: 0;
|
|
13783
|
+
top: 0;
|
|
13784
|
+
border-radius: 0 0 var(--radius-lg) var(--radius-lg);
|
|
13785
|
+
transform: translateY(-100%);
|
|
13786
|
+
}
|
|
13787
|
+
|
|
13788
|
+
/* Slide-in state */
|
|
13789
|
+
.muka-drawer--slide-in .muka-drawer__surface {
|
|
13790
|
+
transform: translate(0, 0);
|
|
13791
|
+
}
|
|
13792
|
+
|
|
13793
|
+
/* Width sizes (left/right) */
|
|
13794
|
+
.muka-drawer--right .muka-drawer__surface,
|
|
13795
|
+
.muka-drawer--left .muka-drawer__surface {
|
|
13796
|
+
width: var(--drawer-width-md);
|
|
13797
|
+
}
|
|
13798
|
+
|
|
13799
|
+
.muka-drawer--sm.muka-drawer--right .muka-drawer__surface,
|
|
13800
|
+
.muka-drawer--sm.muka-drawer--left .muka-drawer__surface {
|
|
13801
|
+
width: var(--drawer-width-sm);
|
|
13802
|
+
}
|
|
13803
|
+
|
|
13804
|
+
.muka-drawer--lg.muka-drawer--right .muka-drawer__surface,
|
|
13805
|
+
.muka-drawer--lg.muka-drawer--left .muka-drawer__surface {
|
|
13806
|
+
width: var(--drawer-width-lg);
|
|
13807
|
+
}
|
|
13808
|
+
|
|
13809
|
+
.muka-drawer--full.muka-drawer--right .muka-drawer__surface,
|
|
13810
|
+
.muka-drawer--full.muka-drawer--left .muka-drawer__surface {
|
|
13811
|
+
width: 100%;
|
|
13812
|
+
}
|
|
13813
|
+
|
|
13814
|
+
/* Height sizes (top/bottom) */
|
|
13815
|
+
.muka-drawer--top .muka-drawer__surface,
|
|
13816
|
+
.muka-drawer--bottom .muka-drawer__surface {
|
|
13817
|
+
height: auto;
|
|
13818
|
+
max-height: 80vh;
|
|
13819
|
+
}
|
|
13820
|
+
|
|
13821
|
+
.muka-drawer--full.muka-drawer--top .muka-drawer__surface,
|
|
13822
|
+
.muka-drawer--full.muka-drawer--bottom .muka-drawer__surface {
|
|
13823
|
+
max-height: 100vh;
|
|
13824
|
+
}
|
|
13825
|
+
|
|
13826
|
+
/* Header: the shared TopBar, raised above the scrolling body like in Dialog */
|
|
13827
|
+
.muka-drawer .muka-topbar {
|
|
13828
|
+
position: relative;
|
|
13829
|
+
z-index: 1;
|
|
13830
|
+
flex-shrink: 0;
|
|
13831
|
+
}
|
|
13832
|
+
|
|
13833
|
+
/* Body */
|
|
13834
|
+
.muka-drawer__body {
|
|
13835
|
+
flex: 1;
|
|
13836
|
+
overflow-y: auto;
|
|
13837
|
+
padding: var(--drawer-padding-x);
|
|
13838
|
+
}
|
|
13839
|
+
|
|
13840
|
+
/* Roomier body on desktop; the header and footer keep their padding */
|
|
13841
|
+
@media (min-width: 1024px) {
|
|
13842
|
+
.muka-drawer__body {
|
|
13843
|
+
padding: var(--drawer-padding-x-desktop);
|
|
13844
|
+
}
|
|
13845
|
+
}
|
|
13846
|
+
|
|
13847
|
+
/* Footer */
|
|
13848
|
+
.muka-drawer__footer {
|
|
13849
|
+
padding: var(--spacing-4);
|
|
13850
|
+
border-top: var(--border-width-regular) solid var(--color-border-default);
|
|
13851
|
+
flex-shrink: 0;
|
|
13852
|
+
}
|
|
13853
|
+
|
|
13854
|
+
/* ─── Safe areas (notch, status bar, home indicator) ────
|
|
13855
|
+
env(safe-area-inset-*) is 0 outside notched devices, so these only change
|
|
13856
|
+
an app running edge to edge (viewport-fit=cover, e.g. an iOS shell). */
|
|
13857
|
+
|
|
13858
|
+
/* Top edge. Side, top and full-height drawers reach the status bar: their
|
|
13859
|
+
TopBar pads for it; without a header the surface does. A bottom drawer
|
|
13860
|
+
stops short of it, so its TopBar must not. */
|
|
13861
|
+
.muka-drawer--right .muka-drawer__surface:not(:has(> .muka-topbar)),
|
|
13862
|
+
.muka-drawer--left .muka-drawer__surface:not(:has(> .muka-topbar)),
|
|
13863
|
+
.muka-drawer--top .muka-drawer__surface:not(:has(> .muka-topbar)) {
|
|
13864
|
+
padding-top: env(safe-area-inset-top, 0px);
|
|
13865
|
+
}
|
|
13866
|
+
|
|
13867
|
+
.muka-drawer--bottom:not(.muka-drawer--full) .muka-topbar {
|
|
13868
|
+
padding-top: 0;
|
|
13869
|
+
}
|
|
13870
|
+
|
|
13871
|
+
/* Bottom edge. Side and bottom drawers reach the home indicator: the footer
|
|
13872
|
+
pads for it, or the surface when there is no footer. */
|
|
13873
|
+
.muka-drawer:not(.muka-drawer--top) .muka-drawer__footer {
|
|
13874
|
+
padding-bottom: calc(var(--spacing-4) + env(safe-area-inset-bottom, 0px));
|
|
13875
|
+
}
|
|
13876
|
+
|
|
13877
|
+
.muka-drawer:not(.muka-drawer--top) .muka-drawer__surface:not(:has(> .muka-drawer__footer)) {
|
|
13878
|
+
padding-bottom: env(safe-area-inset-bottom, 0px);
|
|
13879
|
+
}
|
|
13880
|
+
|
|
13881
|
+
/* Sides (landscape notch): the edge the drawer is attached to. The TopBar
|
|
13882
|
+
already insets its own content. */
|
|
13883
|
+
@media (max-width: 1023px) {
|
|
13884
|
+
.muka-drawer--left .muka-drawer__body,
|
|
13885
|
+
.muka-drawer--top .muka-drawer__body,
|
|
13886
|
+
.muka-drawer--bottom .muka-drawer__body {
|
|
13887
|
+
padding-left: max(var(--drawer-padding-x), env(safe-area-inset-left, 0px));
|
|
13657
13888
|
}
|
|
13658
|
-
}
|
|
13659
13889
|
|
|
13660
|
-
.muka-
|
|
13661
|
-
|
|
13662
|
-
|
|
13663
|
-
|
|
13664
|
-
|
|
13665
|
-
justify-content: center;
|
|
13666
|
-
font-family: var(--text-body-base-bold-fontFamily);
|
|
13667
|
-
font-weight: var(--text-body-base-bold-fontWeight);
|
|
13668
|
-
font-size: var(--text-body-base-bold-fontSize);
|
|
13669
|
-
line-height: var(--text-body-base-bold-lineHeight);
|
|
13670
|
-
color: var(--color-text-default-default);
|
|
13890
|
+
.muka-drawer--right .muka-drawer__body,
|
|
13891
|
+
.muka-drawer--top .muka-drawer__body,
|
|
13892
|
+
.muka-drawer--bottom .muka-drawer__body {
|
|
13893
|
+
padding-right: max(var(--drawer-padding-x), env(safe-area-inset-right, 0px));
|
|
13894
|
+
}
|
|
13671
13895
|
}
|
|
13672
13896
|
|
|
13673
13897
|
|
|
@@ -14048,57 +14272,6 @@ button.muka-chip__trailing[aria-expanded='true'],
|
|
|
14048
14272
|
}
|
|
14049
14273
|
|
|
14050
14274
|
|
|
14051
|
-
/* Container */
|
|
14052
|
-
/* Container Component - Layout tokens (container.max-width, container.gap) */
|
|
14053
|
-
|
|
14054
|
-
.muka-container {
|
|
14055
|
-
box-sizing: border-box;
|
|
14056
|
-
width: 100%;
|
|
14057
|
-
margin-inline: auto;
|
|
14058
|
-
}
|
|
14059
|
-
|
|
14060
|
-
/* Max-width variants */
|
|
14061
|
-
.muka-container--max-width-small {
|
|
14062
|
-
max-width: var(--container-max-width-small);
|
|
14063
|
-
}
|
|
14064
|
-
|
|
14065
|
-
.muka-container--max-width-medium {
|
|
14066
|
-
max-width: var(--container-max-width-medium);
|
|
14067
|
-
}
|
|
14068
|
-
|
|
14069
|
-
.muka-container--max-width-large {
|
|
14070
|
-
max-width: var(--container-max-width-large);
|
|
14071
|
-
}
|
|
14072
|
-
|
|
14073
|
-
.muka-container--max-width-xlarge {
|
|
14074
|
-
max-width: var(--container-max-width-xlarge);
|
|
14075
|
-
}
|
|
14076
|
-
|
|
14077
|
-
/* No gap — max-width only, no flex */
|
|
14078
|
-
.muka-container--gap-none {
|
|
14079
|
-
/* block layout by default */
|
|
14080
|
-
}
|
|
14081
|
-
|
|
14082
|
-
/* Gap variants — flex column with token gap */
|
|
14083
|
-
.muka-container--gap-compact {
|
|
14084
|
-
display: flex;
|
|
14085
|
-
flex-direction: column;
|
|
14086
|
-
gap: var(--container-gap-compact);
|
|
14087
|
-
}
|
|
14088
|
-
|
|
14089
|
-
.muka-container--gap-default {
|
|
14090
|
-
display: flex;
|
|
14091
|
-
flex-direction: column;
|
|
14092
|
-
gap: var(--container-gap-default);
|
|
14093
|
-
}
|
|
14094
|
-
|
|
14095
|
-
.muka-container--gap-spacious {
|
|
14096
|
-
display: flex;
|
|
14097
|
-
flex-direction: column;
|
|
14098
|
-
gap: var(--container-gap-spacious);
|
|
14099
|
-
}
|
|
14100
|
-
|
|
14101
|
-
|
|
14102
14275
|
/* CheckboxTile */
|
|
14103
14276
|
/* CheckboxTile Component Styles - Using Muka Design Tokens */
|
|
14104
14277
|
|
|
@@ -14171,255 +14344,88 @@ button.muka-chip__trailing[aria-expanded='true'],
|
|
|
14171
14344
|
height: 100%;
|
|
14172
14345
|
}
|
|
14173
14346
|
|
|
14174
|
-
/* Image */
|
|
14175
|
-
.muka-checkbox-tile__image {
|
|
14176
|
-
flex-shrink: 0;
|
|
14177
|
-
overflow: hidden;
|
|
14178
|
-
border-radius: var(--border-radius-sm);
|
|
14179
|
-
}
|
|
14180
|
-
|
|
14181
|
-
.muka-checkbox-tile__image img {
|
|
14182
|
-
display: block;
|
|
14183
|
-
width: 100%;
|
|
14184
|
-
height: 100%;
|
|
14185
|
-
object-fit: cover;
|
|
14186
|
-
}
|
|
14187
|
-
|
|
14188
|
-
/* Horizontal image sizing */
|
|
14189
|
-
.muka-checkbox-tile__image--horizontal {
|
|
14190
|
-
width: 40px;
|
|
14191
|
-
height: 40px;
|
|
14192
|
-
}
|
|
14193
|
-
|
|
14194
|
-
/* Vertical image sizing */
|
|
14195
|
-
.muka-checkbox-tile--vertical .muka-checkbox-tile__image {
|
|
14196
|
-
width: 100%;
|
|
14197
|
-
aspect-ratio: 4/3;
|
|
14198
|
-
}
|
|
14199
|
-
|
|
14200
|
-
/* Content container */
|
|
14201
|
-
.muka-checkbox-tile__content {
|
|
14202
|
-
display: flex;
|
|
14203
|
-
flex-direction: column;
|
|
14204
|
-
flex: 1;
|
|
14205
|
-
min-width: 0;
|
|
14206
|
-
gap: var(--spacing-2);
|
|
14207
|
-
}
|
|
14208
|
-
|
|
14209
|
-
.muka-checkbox-tile__content-inner {
|
|
14210
|
-
display: flex;
|
|
14211
|
-
flex-direction: column;
|
|
14212
|
-
gap: var(--spacing-1);
|
|
14213
|
-
}
|
|
14214
|
-
|
|
14215
|
-
/* Chip slot (replaces badge; use Chip component) */
|
|
14216
|
-
.muka-checkbox-tile__chip {
|
|
14217
|
-
flex-shrink: 0;
|
|
14218
|
-
}
|
|
14219
|
-
|
|
14220
|
-
.muka-checkbox-tile__chip--vertical {
|
|
14221
|
-
margin-top: var(--spacing-1);
|
|
14222
|
-
}
|
|
14223
|
-
|
|
14224
|
-
/* Label */
|
|
14225
|
-
.muka-checkbox-tile__label {
|
|
14226
|
-
font-family: var(--text-body-lg-regular-fontFamily);
|
|
14227
|
-
font-weight: var(--text-body-lg-regular-fontWeight);
|
|
14228
|
-
font-size: var(--text-body-lg-regular-fontSize);
|
|
14229
|
-
line-height: var(--text-body-lg-regular-lineHeight);
|
|
14230
|
-
color: var(--color-text-default-default);
|
|
14231
|
-
}
|
|
14232
|
-
|
|
14233
|
-
.muka-checkbox-tile__label--bold {
|
|
14234
|
-
font-family: var(--text-label-lg-semibold-fontFamily);
|
|
14235
|
-
font-weight: var(--text-label-lg-semibold-fontWeight);
|
|
14236
|
-
font-size: var(--text-label-lg-semibold-fontSize);
|
|
14237
|
-
line-height: var(--text-label-lg-semibold-lineHeight);
|
|
14238
|
-
}
|
|
14239
|
-
|
|
14240
|
-
.muka-checkbox-tile__label--center {
|
|
14241
|
-
text-align: center;
|
|
14242
|
-
}
|
|
14243
|
-
|
|
14244
|
-
/* Caption */
|
|
14245
|
-
.muka-checkbox-tile__caption {
|
|
14246
|
-
font-family: var(--text-body-base-regular-fontFamily);
|
|
14247
|
-
font-weight: var(--text-body-base-regular-fontWeight);
|
|
14248
|
-
font-size: var(--text-body-base-regular-fontSize);
|
|
14249
|
-
line-height: var(--text-body-base-regular-lineHeight);
|
|
14250
|
-
color: var(--color-text-subtle-default);
|
|
14251
|
-
}
|
|
14252
|
-
|
|
14253
|
-
/* Disabled states */
|
|
14254
|
-
.muka-checkbox-tile--disabled .muka-checkbox-tile__label,
|
|
14255
|
-
.muka-checkbox-tile--disabled .muka-checkbox-tile__icon {
|
|
14256
|
-
color: var(--color-text-subtle-default);
|
|
14257
|
-
}
|
|
14258
|
-
|
|
14259
|
-
|
|
14260
|
-
/* Checkbox */
|
|
14261
|
-
/* Checkbox Component Styles - Using Muka Design Tokens */
|
|
14262
|
-
|
|
14263
|
-
/* Wrapper - clickable label container */
|
|
14264
|
-
.muka-checkbox {
|
|
14265
|
-
display: inline-flex;
|
|
14266
|
-
align-items: center;
|
|
14267
|
-
gap: var(--spacing-4);
|
|
14268
|
-
cursor: pointer;
|
|
14269
|
-
user-select: none;
|
|
14270
|
-
}
|
|
14271
|
-
|
|
14272
|
-
.muka-checkbox--disabled {
|
|
14273
|
-
cursor: not-allowed;
|
|
14274
|
-
opacity: 0.6;
|
|
14275
|
-
}
|
|
14276
|
-
|
|
14277
|
-
/* Control container */
|
|
14278
|
-
.muka-checkbox__control {
|
|
14279
|
-
position: relative;
|
|
14280
|
-
display: inline-flex;
|
|
14281
|
-
align-items: center;
|
|
14282
|
-
justify-content: center;
|
|
14283
|
-
flex-shrink: 0;
|
|
14284
|
-
}
|
|
14285
|
-
|
|
14286
|
-
/* Hidden native input */
|
|
14287
|
-
.muka-checkbox__input {
|
|
14288
|
-
position: absolute;
|
|
14289
|
-
width: 1px;
|
|
14290
|
-
height: 1px;
|
|
14291
|
-
padding: 0;
|
|
14292
|
-
margin: -1px;
|
|
14293
|
-
overflow: hidden;
|
|
14294
|
-
clip: rect(0, 0, 0, 0);
|
|
14295
|
-
white-space: nowrap;
|
|
14296
|
-
border: 0;
|
|
14297
|
-
}
|
|
14298
|
-
|
|
14299
|
-
/* Visual indicator (square) */
|
|
14300
|
-
.muka-checkbox__indicator {
|
|
14301
|
-
display: flex;
|
|
14302
|
-
align-items: center;
|
|
14303
|
-
justify-content: center;
|
|
14304
|
-
width: var(--checkbox-size-default);
|
|
14305
|
-
height: var(--checkbox-size-default);
|
|
14306
|
-
border-radius: var(--checkbox-radius);
|
|
14307
|
-
background-color: var(--checkbox-color-default-background);
|
|
14308
|
-
border: var(--border-width-regular) solid var(--checkbox-color-default-border);
|
|
14309
|
-
transition: all 0.15s ease;
|
|
14310
|
-
box-shadow: inset 0 1px 2px 0 rgba(26, 26, 26, 0.15);
|
|
14311
|
-
}
|
|
14312
|
-
|
|
14313
|
-
/* Size variants */
|
|
14314
|
-
.muka-checkbox--sm .muka-checkbox__indicator {
|
|
14315
|
-
width: var(--checkbox-size-sm);
|
|
14316
|
-
height: var(--checkbox-size-sm);
|
|
14317
|
-
}
|
|
14318
|
-
|
|
14319
|
-
.muka-checkbox--lg .muka-checkbox__indicator {
|
|
14320
|
-
width: var(--checkbox-size-lg);
|
|
14321
|
-
height: var(--checkbox-size-lg);
|
|
14322
|
-
}
|
|
14323
|
-
|
|
14324
|
-
/* Icon inside checkbox */
|
|
14325
|
-
.muka-checkbox__icon {
|
|
14326
|
-
width: var(--checkbox-icon-size-default);
|
|
14327
|
-
height: var(--checkbox-icon-size-default);
|
|
14328
|
-
color: var(--checkbox-color-default-icon);
|
|
14329
|
-
opacity: 0;
|
|
14330
|
-
transform: scale(0.8);
|
|
14331
|
-
transition: opacity 0.15s ease, transform 0.15s ease;
|
|
14332
|
-
}
|
|
14333
|
-
|
|
14334
|
-
.muka-checkbox--sm .muka-checkbox__icon {
|
|
14335
|
-
width: var(--checkbox-icon-size-sm);
|
|
14336
|
-
height: var(--checkbox-icon-size-sm);
|
|
14337
|
-
}
|
|
14338
|
-
|
|
14339
|
-
.muka-checkbox--lg .muka-checkbox__icon {
|
|
14340
|
-
width: var(--checkbox-icon-size-lg);
|
|
14341
|
-
height: var(--checkbox-icon-size-lg);
|
|
14342
|
-
}
|
|
14343
|
-
|
|
14344
|
-
/* Hide indeterminate icon by default */
|
|
14345
|
-
.muka-checkbox__icon--indeterminate {
|
|
14346
|
-
position: absolute;
|
|
14347
|
-
}
|
|
14348
|
-
|
|
14349
|
-
/* Hover state - removed per design */
|
|
14350
|
-
|
|
14351
|
-
/* Focus state */
|
|
14352
|
-
.muka-checkbox__input:focus-visible + .muka-checkbox__indicator {
|
|
14353
|
-
outline: 2px solid var(--color-border-focus);
|
|
14354
|
-
outline-offset: 2px;
|
|
14347
|
+
/* Image */
|
|
14348
|
+
.muka-checkbox-tile__image {
|
|
14349
|
+
flex-shrink: 0;
|
|
14350
|
+
overflow: hidden;
|
|
14351
|
+
border-radius: var(--border-radius-sm);
|
|
14355
14352
|
}
|
|
14356
14353
|
|
|
14357
|
-
|
|
14358
|
-
|
|
14359
|
-
|
|
14360
|
-
|
|
14361
|
-
|
|
14354
|
+
.muka-checkbox-tile__image img {
|
|
14355
|
+
display: block;
|
|
14356
|
+
width: 100%;
|
|
14357
|
+
height: 100%;
|
|
14358
|
+
object-fit: cover;
|
|
14362
14359
|
}
|
|
14363
14360
|
|
|
14364
|
-
|
|
14365
|
-
|
|
14366
|
-
|
|
14367
|
-
|
|
14361
|
+
/* Horizontal image sizing */
|
|
14362
|
+
.muka-checkbox-tile__image--horizontal {
|
|
14363
|
+
width: 40px;
|
|
14364
|
+
height: 40px;
|
|
14368
14365
|
}
|
|
14369
14366
|
|
|
14370
|
-
/*
|
|
14371
|
-
.muka-
|
|
14372
|
-
|
|
14373
|
-
|
|
14374
|
-
box-shadow: none;
|
|
14367
|
+
/* Vertical image sizing */
|
|
14368
|
+
.muka-checkbox-tile--vertical .muka-checkbox-tile__image {
|
|
14369
|
+
width: 100%;
|
|
14370
|
+
aspect-ratio: 4/3;
|
|
14375
14371
|
}
|
|
14376
14372
|
|
|
14377
|
-
|
|
14378
|
-
|
|
14373
|
+
/* Content container */
|
|
14374
|
+
.muka-checkbox-tile__content {
|
|
14375
|
+
display: flex;
|
|
14376
|
+
flex-direction: column;
|
|
14377
|
+
flex: 1;
|
|
14378
|
+
min-width: 0;
|
|
14379
|
+
gap: var(--spacing-2);
|
|
14379
14380
|
}
|
|
14380
14381
|
|
|
14381
|
-
.muka-
|
|
14382
|
-
|
|
14383
|
-
|
|
14384
|
-
|
|
14382
|
+
.muka-checkbox-tile__content-inner {
|
|
14383
|
+
display: flex;
|
|
14384
|
+
flex-direction: column;
|
|
14385
|
+
gap: var(--spacing-1);
|
|
14385
14386
|
}
|
|
14386
14387
|
|
|
14387
|
-
/*
|
|
14388
|
-
.muka-checkbox
|
|
14389
|
-
|
|
14390
|
-
border-color: var(--checkbox-color-disabled-border);
|
|
14391
|
-
box-shadow: none;
|
|
14388
|
+
/* Chip slot (replaces badge; use Chip component) */
|
|
14389
|
+
.muka-checkbox-tile__chip {
|
|
14390
|
+
flex-shrink: 0;
|
|
14392
14391
|
}
|
|
14393
14392
|
|
|
14394
|
-
.muka-
|
|
14395
|
-
|
|
14396
|
-
color: var(--checkbox-color-disabled-icon);
|
|
14393
|
+
.muka-checkbox-tile__chip--vertical {
|
|
14394
|
+
margin-top: var(--spacing-1);
|
|
14397
14395
|
}
|
|
14398
14396
|
|
|
14399
|
-
/* Label
|
|
14400
|
-
.muka-
|
|
14401
|
-
font-family: var(--text-
|
|
14402
|
-
font-weight: var(--text-
|
|
14403
|
-
font-size: var(--text-
|
|
14404
|
-
line-height: var(--text-
|
|
14397
|
+
/* Label */
|
|
14398
|
+
.muka-checkbox-tile__label {
|
|
14399
|
+
font-family: var(--text-body-lg-regular-fontFamily);
|
|
14400
|
+
font-weight: var(--text-body-lg-regular-fontWeight);
|
|
14401
|
+
font-size: var(--text-body-lg-regular-fontSize);
|
|
14402
|
+
line-height: var(--text-body-lg-regular-lineHeight);
|
|
14405
14403
|
color: var(--color-text-default-default);
|
|
14406
14404
|
}
|
|
14407
14405
|
|
|
14408
|
-
.muka-checkbox--
|
|
14409
|
-
font-family: var(--text-label-
|
|
14410
|
-
font-weight: var(--text-label-
|
|
14411
|
-
font-size: var(--text-label-
|
|
14412
|
-
line-height: var(--text-label-
|
|
14406
|
+
.muka-checkbox-tile__label--bold {
|
|
14407
|
+
font-family: var(--text-label-lg-semibold-fontFamily);
|
|
14408
|
+
font-weight: var(--text-label-lg-semibold-fontWeight);
|
|
14409
|
+
font-size: var(--text-label-lg-semibold-fontSize);
|
|
14410
|
+
line-height: var(--text-label-lg-semibold-lineHeight);
|
|
14413
14411
|
}
|
|
14414
14412
|
|
|
14415
|
-
.muka-checkbox--
|
|
14416
|
-
|
|
14417
|
-
font-weight: var(--text-label-xl-regular-fontWeight);
|
|
14418
|
-
font-size: var(--text-label-xl-regular-fontSize);
|
|
14419
|
-
line-height: var(--text-label-xl-regular-lineHeight);
|
|
14413
|
+
.muka-checkbox-tile__label--center {
|
|
14414
|
+
text-align: center;
|
|
14420
14415
|
}
|
|
14421
14416
|
|
|
14422
|
-
|
|
14417
|
+
/* Caption */
|
|
14418
|
+
.muka-checkbox-tile__caption {
|
|
14419
|
+
font-family: var(--text-body-base-regular-fontFamily);
|
|
14420
|
+
font-weight: var(--text-body-base-regular-fontWeight);
|
|
14421
|
+
font-size: var(--text-body-base-regular-fontSize);
|
|
14422
|
+
line-height: var(--text-body-base-regular-lineHeight);
|
|
14423
|
+
color: var(--color-text-subtle-default);
|
|
14424
|
+
}
|
|
14425
|
+
|
|
14426
|
+
/* Disabled states */
|
|
14427
|
+
.muka-checkbox-tile--disabled .muka-checkbox-tile__label,
|
|
14428
|
+
.muka-checkbox-tile--disabled .muka-checkbox-tile__icon {
|
|
14423
14429
|
color: var(--color-text-subtle-default);
|
|
14424
14430
|
}
|
|
14425
14431
|
|
|
@@ -14574,95 +14580,262 @@ button.muka-chip__trailing[aria-expanded='true'],
|
|
|
14574
14580
|
aspect-ratio: 1 / 1;
|
|
14575
14581
|
}
|
|
14576
14582
|
|
|
14577
|
-
button.muka-chat-photo-grid__tile {
|
|
14578
|
-
cursor: pointer;
|
|
14579
|
-
appearance: none;
|
|
14583
|
+
button.muka-chat-photo-grid__tile {
|
|
14584
|
+
cursor: pointer;
|
|
14585
|
+
appearance: none;
|
|
14586
|
+
}
|
|
14587
|
+
|
|
14588
|
+
button.muka-chat-photo-grid__tile:focus-visible {
|
|
14589
|
+
outline: var(--border-width-bold) solid var(--color-border-focus);
|
|
14590
|
+
/* Inset, so the grid's overflow clip cannot cut the ring off on corner tiles */
|
|
14591
|
+
outline-offset: calc(-1 * var(--border-width-bold));
|
|
14592
|
+
}
|
|
14593
|
+
|
|
14594
|
+
.muka-chat-photo-grid__image {
|
|
14595
|
+
display: block;
|
|
14596
|
+
width: 100%;
|
|
14597
|
+
height: 100%;
|
|
14598
|
+
object-fit: cover;
|
|
14599
|
+
}
|
|
14600
|
+
|
|
14601
|
+
/* ─── Overflow tile ────────────────────────────────────── */
|
|
14602
|
+
|
|
14603
|
+
.muka-chat-photo-grid__overflow {
|
|
14604
|
+
position: absolute;
|
|
14605
|
+
inset: 0;
|
|
14606
|
+
display: flex;
|
|
14607
|
+
align-items: center;
|
|
14608
|
+
justify-content: center;
|
|
14609
|
+
background-color: var(--chatphotogrid-color-overflow-background);
|
|
14610
|
+
color: var(--chatphotogrid-color-overflow-foreground);
|
|
14611
|
+
font-family: var(--text-body-2xl-regular-fontFamily);
|
|
14612
|
+
font-weight: var(--text-body-2xl-regular-fontWeight);
|
|
14613
|
+
font-size: var(--text-body-2xl-regular-fontSize);
|
|
14614
|
+
line-height: var(--text-body-2xl-regular-lineHeight);
|
|
14615
|
+
}
|
|
14616
|
+
|
|
14617
|
+
/* ─── Layouts ──────────────────────────────────────────── */
|
|
14618
|
+
|
|
14619
|
+
.muka-chat-photo-grid--1 {
|
|
14620
|
+
grid-template-columns: 1fr;
|
|
14621
|
+
}
|
|
14622
|
+
|
|
14623
|
+
.muka-chat-photo-grid--landscape .muka-chat-photo-grid__tile {
|
|
14624
|
+
aspect-ratio: 4 / 3;
|
|
14625
|
+
}
|
|
14626
|
+
|
|
14627
|
+
.muka-chat-photo-grid--portrait .muka-chat-photo-grid__tile {
|
|
14628
|
+
aspect-ratio: 3 / 4;
|
|
14629
|
+
}
|
|
14630
|
+
|
|
14631
|
+
.muka-chat-photo-grid--2 {
|
|
14632
|
+
grid-template-columns: repeat(2, 1fr);
|
|
14633
|
+
}
|
|
14634
|
+
|
|
14635
|
+
.muka-chat-photo-grid--3 {
|
|
14636
|
+
grid-template-columns: repeat(3, 1fr);
|
|
14637
|
+
}
|
|
14638
|
+
|
|
14639
|
+
.muka-chat-photo-grid--4 {
|
|
14640
|
+
grid-template-columns: repeat(2, 1fr);
|
|
14641
|
+
}
|
|
14642
|
+
|
|
14643
|
+
/* 5 photos: a 2-up row above a 3-up row, on a shared 6-column track */
|
|
14644
|
+
.muka-chat-photo-grid--5 {
|
|
14645
|
+
grid-template-columns: repeat(6, 1fr);
|
|
14646
|
+
}
|
|
14647
|
+
|
|
14648
|
+
.muka-chat-photo-grid--5 .muka-chat-photo-grid__tile:nth-child(-n + 2) {
|
|
14649
|
+
grid-column: span 3;
|
|
14650
|
+
}
|
|
14651
|
+
|
|
14652
|
+
.muka-chat-photo-grid--5 .muka-chat-photo-grid__tile:nth-child(n + 3) {
|
|
14653
|
+
grid-column: span 2;
|
|
14654
|
+
}
|
|
14655
|
+
|
|
14656
|
+
.muka-chat-photo-grid--6,
|
|
14657
|
+
.muka-chat-photo-grid--overflow {
|
|
14658
|
+
grid-template-columns: repeat(3, 1fr);
|
|
14659
|
+
}
|
|
14660
|
+
|
|
14661
|
+
/* ─── Print ────────────────────────────────────────────── */
|
|
14662
|
+
|
|
14663
|
+
@media print {
|
|
14664
|
+
.muka-chat-photo-grid {
|
|
14665
|
+
break-inside: avoid;
|
|
14666
|
+
}
|
|
14667
|
+
|
|
14668
|
+
.muka-chat-photo-grid__image {
|
|
14669
|
+
print-color-adjust: exact;
|
|
14670
|
+
-webkit-print-color-adjust: exact;
|
|
14671
|
+
}
|
|
14672
|
+
}
|
|
14673
|
+
|
|
14674
|
+
|
|
14675
|
+
/* Checkbox */
|
|
14676
|
+
/* Checkbox Component Styles - Using Muka Design Tokens */
|
|
14677
|
+
|
|
14678
|
+
/* Wrapper - clickable label container */
|
|
14679
|
+
.muka-checkbox {
|
|
14680
|
+
display: inline-flex;
|
|
14681
|
+
align-items: center;
|
|
14682
|
+
gap: var(--spacing-4);
|
|
14683
|
+
cursor: pointer;
|
|
14684
|
+
user-select: none;
|
|
14685
|
+
}
|
|
14686
|
+
|
|
14687
|
+
.muka-checkbox--disabled {
|
|
14688
|
+
cursor: not-allowed;
|
|
14689
|
+
opacity: 0.6;
|
|
14690
|
+
}
|
|
14691
|
+
|
|
14692
|
+
/* Control container */
|
|
14693
|
+
.muka-checkbox__control {
|
|
14694
|
+
position: relative;
|
|
14695
|
+
display: inline-flex;
|
|
14696
|
+
align-items: center;
|
|
14697
|
+
justify-content: center;
|
|
14698
|
+
flex-shrink: 0;
|
|
14699
|
+
}
|
|
14700
|
+
|
|
14701
|
+
/* Hidden native input */
|
|
14702
|
+
.muka-checkbox__input {
|
|
14703
|
+
position: absolute;
|
|
14704
|
+
width: 1px;
|
|
14705
|
+
height: 1px;
|
|
14706
|
+
padding: 0;
|
|
14707
|
+
margin: -1px;
|
|
14708
|
+
overflow: hidden;
|
|
14709
|
+
clip: rect(0, 0, 0, 0);
|
|
14710
|
+
white-space: nowrap;
|
|
14711
|
+
border: 0;
|
|
14712
|
+
}
|
|
14713
|
+
|
|
14714
|
+
/* Visual indicator (square) */
|
|
14715
|
+
.muka-checkbox__indicator {
|
|
14716
|
+
display: flex;
|
|
14717
|
+
align-items: center;
|
|
14718
|
+
justify-content: center;
|
|
14719
|
+
width: var(--checkbox-size-default);
|
|
14720
|
+
height: var(--checkbox-size-default);
|
|
14721
|
+
border-radius: var(--checkbox-radius);
|
|
14722
|
+
background-color: var(--checkbox-color-default-background);
|
|
14723
|
+
border: var(--border-width-regular) solid var(--checkbox-color-default-border);
|
|
14724
|
+
transition: all 0.15s ease;
|
|
14725
|
+
box-shadow: inset 0 1px 2px 0 rgba(26, 26, 26, 0.15);
|
|
14726
|
+
}
|
|
14727
|
+
|
|
14728
|
+
/* Size variants */
|
|
14729
|
+
.muka-checkbox--sm .muka-checkbox__indicator {
|
|
14730
|
+
width: var(--checkbox-size-sm);
|
|
14731
|
+
height: var(--checkbox-size-sm);
|
|
14732
|
+
}
|
|
14733
|
+
|
|
14734
|
+
.muka-checkbox--lg .muka-checkbox__indicator {
|
|
14735
|
+
width: var(--checkbox-size-lg);
|
|
14736
|
+
height: var(--checkbox-size-lg);
|
|
14580
14737
|
}
|
|
14581
14738
|
|
|
14582
|
-
|
|
14583
|
-
|
|
14584
|
-
|
|
14585
|
-
|
|
14739
|
+
/* Icon inside checkbox */
|
|
14740
|
+
.muka-checkbox__icon {
|
|
14741
|
+
width: var(--checkbox-icon-size-default);
|
|
14742
|
+
height: var(--checkbox-icon-size-default);
|
|
14743
|
+
color: var(--checkbox-color-default-icon);
|
|
14744
|
+
opacity: 0;
|
|
14745
|
+
transform: scale(0.8);
|
|
14746
|
+
transition: opacity 0.15s ease, transform 0.15s ease;
|
|
14586
14747
|
}
|
|
14587
14748
|
|
|
14588
|
-
.muka-
|
|
14589
|
-
|
|
14590
|
-
|
|
14591
|
-
height: 100%;
|
|
14592
|
-
object-fit: cover;
|
|
14749
|
+
.muka-checkbox--sm .muka-checkbox__icon {
|
|
14750
|
+
width: var(--checkbox-icon-size-sm);
|
|
14751
|
+
height: var(--checkbox-icon-size-sm);
|
|
14593
14752
|
}
|
|
14594
14753
|
|
|
14595
|
-
|
|
14754
|
+
.muka-checkbox--lg .muka-checkbox__icon {
|
|
14755
|
+
width: var(--checkbox-icon-size-lg);
|
|
14756
|
+
height: var(--checkbox-icon-size-lg);
|
|
14757
|
+
}
|
|
14596
14758
|
|
|
14597
|
-
|
|
14759
|
+
/* Hide indeterminate icon by default */
|
|
14760
|
+
.muka-checkbox__icon--indeterminate {
|
|
14598
14761
|
position: absolute;
|
|
14599
|
-
inset: 0;
|
|
14600
|
-
display: flex;
|
|
14601
|
-
align-items: center;
|
|
14602
|
-
justify-content: center;
|
|
14603
|
-
background-color: var(--chatphotogrid-color-overflow-background);
|
|
14604
|
-
color: var(--chatphotogrid-color-overflow-foreground);
|
|
14605
|
-
font-family: var(--text-body-2xl-regular-fontFamily);
|
|
14606
|
-
font-weight: var(--text-body-2xl-regular-fontWeight);
|
|
14607
|
-
font-size: var(--text-body-2xl-regular-fontSize);
|
|
14608
|
-
line-height: var(--text-body-2xl-regular-lineHeight);
|
|
14609
14762
|
}
|
|
14610
14763
|
|
|
14611
|
-
/*
|
|
14764
|
+
/* Hover state - removed per design */
|
|
14612
14765
|
|
|
14613
|
-
|
|
14614
|
-
|
|
14766
|
+
/* Focus state */
|
|
14767
|
+
.muka-checkbox__input:focus-visible + .muka-checkbox__indicator {
|
|
14768
|
+
outline: 2px solid var(--color-border-focus);
|
|
14769
|
+
outline-offset: 2px;
|
|
14615
14770
|
}
|
|
14616
14771
|
|
|
14617
|
-
|
|
14618
|
-
|
|
14772
|
+
/* Checked state */
|
|
14773
|
+
.muka-checkbox__input:checked + .muka-checkbox__indicator {
|
|
14774
|
+
background-color: var(--checkbox-color-checked-background);
|
|
14775
|
+
border-color: var(--checkbox-color-checked-border);
|
|
14776
|
+
box-shadow: none;
|
|
14619
14777
|
}
|
|
14620
14778
|
|
|
14621
|
-
.muka-
|
|
14622
|
-
|
|
14779
|
+
.muka-checkbox__input:checked + .muka-checkbox__indicator .muka-checkbox__icon--check {
|
|
14780
|
+
color: var(--checkbox-color-checked-icon);
|
|
14781
|
+
opacity: 1;
|
|
14782
|
+
transform: scale(1);
|
|
14623
14783
|
}
|
|
14624
14784
|
|
|
14625
|
-
|
|
14626
|
-
|
|
14785
|
+
/* Indeterminate state */
|
|
14786
|
+
.muka-checkbox__input:indeterminate + .muka-checkbox__indicator {
|
|
14787
|
+
background-color: var(--checkbox-color-checked-background);
|
|
14788
|
+
border-color: var(--checkbox-color-checked-border);
|
|
14789
|
+
box-shadow: none;
|
|
14627
14790
|
}
|
|
14628
14791
|
|
|
14629
|
-
.muka-
|
|
14630
|
-
|
|
14792
|
+
.muka-checkbox__input:indeterminate + .muka-checkbox__indicator .muka-checkbox__icon--check {
|
|
14793
|
+
opacity: 0;
|
|
14631
14794
|
}
|
|
14632
14795
|
|
|
14633
|
-
.muka-
|
|
14634
|
-
|
|
14796
|
+
.muka-checkbox__input:indeterminate + .muka-checkbox__indicator .muka-checkbox__icon--indeterminate {
|
|
14797
|
+
color: var(--checkbox-color-checked-icon);
|
|
14798
|
+
opacity: 1;
|
|
14799
|
+
transform: scale(1);
|
|
14635
14800
|
}
|
|
14636
14801
|
|
|
14637
|
-
/*
|
|
14638
|
-
.muka-
|
|
14639
|
-
|
|
14802
|
+
/* Disabled state */
|
|
14803
|
+
.muka-checkbox--disabled .muka-checkbox__indicator {
|
|
14804
|
+
background-color: var(--checkbox-color-disabled-background);
|
|
14805
|
+
border-color: var(--checkbox-color-disabled-border);
|
|
14806
|
+
box-shadow: none;
|
|
14640
14807
|
}
|
|
14641
14808
|
|
|
14642
|
-
.muka-
|
|
14643
|
-
|
|
14809
|
+
.muka-checkbox__input:disabled:checked + .muka-checkbox__indicator .muka-checkbox__icon--check,
|
|
14810
|
+
.muka-checkbox__input:disabled:indeterminate + .muka-checkbox__indicator .muka-checkbox__icon--indeterminate {
|
|
14811
|
+
color: var(--checkbox-color-disabled-icon);
|
|
14644
14812
|
}
|
|
14645
14813
|
|
|
14646
|
-
|
|
14647
|
-
|
|
14814
|
+
/* Label text */
|
|
14815
|
+
.muka-checkbox__label {
|
|
14816
|
+
font-family: var(--text-label-lg-regular-fontFamily);
|
|
14817
|
+
font-weight: var(--text-label-lg-regular-fontWeight);
|
|
14818
|
+
font-size: var(--text-label-lg-regular-fontSize);
|
|
14819
|
+
line-height: var(--text-label-lg-regular-lineHeight);
|
|
14820
|
+
color: var(--color-text-default-default);
|
|
14648
14821
|
}
|
|
14649
14822
|
|
|
14650
|
-
.muka-
|
|
14651
|
-
|
|
14652
|
-
|
|
14823
|
+
.muka-checkbox--sm .muka-checkbox__label {
|
|
14824
|
+
font-family: var(--text-label-md-regular-fontFamily);
|
|
14825
|
+
font-weight: var(--text-label-md-regular-fontWeight);
|
|
14826
|
+
font-size: var(--text-label-md-regular-fontSize);
|
|
14827
|
+
line-height: var(--text-label-md-regular-lineHeight);
|
|
14653
14828
|
}
|
|
14654
14829
|
|
|
14655
|
-
|
|
14656
|
-
|
|
14657
|
-
|
|
14658
|
-
|
|
14659
|
-
|
|
14660
|
-
|
|
14830
|
+
.muka-checkbox--lg .muka-checkbox__label {
|
|
14831
|
+
font-family: var(--text-label-xl-regular-fontFamily);
|
|
14832
|
+
font-weight: var(--text-label-xl-regular-fontWeight);
|
|
14833
|
+
font-size: var(--text-label-xl-regular-fontSize);
|
|
14834
|
+
line-height: var(--text-label-xl-regular-lineHeight);
|
|
14835
|
+
}
|
|
14661
14836
|
|
|
14662
|
-
|
|
14663
|
-
|
|
14664
|
-
-webkit-print-color-adjust: exact;
|
|
14665
|
-
}
|
|
14837
|
+
.muka-checkbox--disabled .muka-checkbox__label {
|
|
14838
|
+
color: var(--color-text-subtle-default);
|
|
14666
14839
|
}
|
|
14667
14840
|
|
|
14668
14841
|
|
|
@@ -15127,58 +15300,6 @@ button.muka-chat-photo-grid__tile:focus-visible {
|
|
|
15127
15300
|
}
|
|
15128
15301
|
|
|
15129
15302
|
|
|
15130
|
-
/* ChatEvent */
|
|
15131
|
-
/* ChatEvent: a line in a chat that isn't a message from a person */
|
|
15132
|
-
|
|
15133
|
-
.muka-chat-event {
|
|
15134
|
-
display: flex;
|
|
15135
|
-
flex-direction: column;
|
|
15136
|
-
align-items: center;
|
|
15137
|
-
gap: var(--spacing-2);
|
|
15138
|
-
width: 100%;
|
|
15139
|
-
padding: 0 var(--spacing-4);
|
|
15140
|
-
box-sizing: border-box;
|
|
15141
|
-
text-align: center;
|
|
15142
|
-
}
|
|
15143
|
-
|
|
15144
|
-
.muka-chat-event__text {
|
|
15145
|
-
margin: 0;
|
|
15146
|
-
max-width: var(--chatbubble-max-width);
|
|
15147
|
-
/* Default text, not subtle: subtle reaches only ~3:1 on the chat surfaces,
|
|
15148
|
-
and this is body text. Size and centring set it apart from messages. */
|
|
15149
|
-
color: var(--color-text-default-default);
|
|
15150
|
-
font-family: var(--text-body-sm-regular-fontFamily);
|
|
15151
|
-
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
15152
|
-
font-size: var(--text-body-sm-regular-fontSize);
|
|
15153
|
-
line-height: var(--text-body-sm-regular-lineHeight);
|
|
15154
|
-
}
|
|
15155
|
-
|
|
15156
|
-
.muka-chat-event__timestamp {
|
|
15157
|
-
white-space: nowrap;
|
|
15158
|
-
}
|
|
15159
|
-
|
|
15160
|
-
.muka-chat-event__media {
|
|
15161
|
-
display: flex;
|
|
15162
|
-
flex-wrap: wrap;
|
|
15163
|
-
justify-content: center;
|
|
15164
|
-
gap: var(--spacing-2);
|
|
15165
|
-
}
|
|
15166
|
-
|
|
15167
|
-
/* Day divider: a small pill */
|
|
15168
|
-
.muka-chat-event__pill {
|
|
15169
|
-
display: inline-flex;
|
|
15170
|
-
align-items: center;
|
|
15171
|
-
padding: var(--spacing-1) var(--spacing-3);
|
|
15172
|
-
border-radius: var(--radius-full);
|
|
15173
|
-
background-color: var(--color-surface-level2);
|
|
15174
|
-
color: var(--color-text-default-default);
|
|
15175
|
-
font-family: var(--text-label-sm-regular-fontFamily);
|
|
15176
|
-
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
15177
|
-
font-size: var(--text-label-sm-regular-fontSize);
|
|
15178
|
-
line-height: var(--text-label-sm-leading);
|
|
15179
|
-
}
|
|
15180
|
-
|
|
15181
|
-
|
|
15182
15303
|
/* ChatComposer */
|
|
15183
15304
|
/* ChatComposer Component Styles */
|
|
15184
15305
|
|
|
@@ -15525,164 +15646,60 @@ button.muka-chat-photo-grid__tile:focus-visible {
|
|
|
15525
15646
|
|
|
15526
15647
|
.muka-chat-choice__row--other > .muka-input {
|
|
15527
15648
|
flex: 1 1 auto;
|
|
15528
|
-
width: auto;
|
|
15529
|
-
min-width: 0;
|
|
15530
|
-
}
|
|
15531
|
-
|
|
15532
|
-
|
|
15533
|
-
/* ChatAttachmentChip */
|
|
15534
|
-
/* ChatAttachmentChip Component Styles */
|
|
15535
|
-
|
|
15536
|
-
.muka-chat-attachment-chip {
|
|
15537
|
-
position: relative;
|
|
15538
|
-
display: inline-flex;
|
|
15539
|
-
align-items: center;
|
|
15540
|
-
gap: var(--spacing-1);
|
|
15541
|
-
max-width: 240px;
|
|
15542
|
-
padding: var(--spacing-2) var(--spacing-3);
|
|
15543
|
-
background-color: var(--color-surface-level1);
|
|
15544
|
-
border: var(--border-width-regular) solid var(--color-border-default);
|
|
15545
|
-
border-radius: var(--radius-md);
|
|
15546
|
-
overflow: hidden;
|
|
15547
|
-
}
|
|
15548
|
-
|
|
15549
|
-
.muka-chat-attachment-chip--uploading {
|
|
15550
|
-
padding-bottom: calc(var(--spacing-2) + 2px);
|
|
15551
|
-
}
|
|
15552
|
-
|
|
15553
|
-
.muka-chat-attachment-chip--error {
|
|
15554
|
-
border-color: var(--color-state-error-default, var(--color-text-default-default));
|
|
15555
|
-
}
|
|
15556
|
-
|
|
15557
|
-
.muka-chat-attachment-chip--disabled {
|
|
15558
|
-
opacity: 0.5;
|
|
15559
|
-
pointer-events: none;
|
|
15560
|
-
}
|
|
15561
|
-
|
|
15562
|
-
/* ─── Body (icon + text) ───────────────────────────────── */
|
|
15563
|
-
|
|
15564
|
-
.muka-chat-attachment-chip__body {
|
|
15565
|
-
display: inline-flex;
|
|
15566
|
-
align-items: center;
|
|
15567
|
-
gap: var(--spacing-2);
|
|
15568
|
-
min-width: 0;
|
|
15569
|
-
flex: 1 1 auto;
|
|
15570
|
-
background: none;
|
|
15571
|
-
border: none;
|
|
15572
|
-
padding: 0;
|
|
15573
|
-
margin: 0;
|
|
15574
|
-
text-align: left;
|
|
15575
|
-
color: inherit;
|
|
15576
|
-
font: inherit;
|
|
15577
|
-
cursor: default;
|
|
15578
|
-
-webkit-tap-highlight-color: transparent;
|
|
15579
|
-
}
|
|
15580
|
-
|
|
15581
|
-
.muka-chat-attachment-chip--interactive .muka-chat-attachment-chip__body {
|
|
15582
|
-
cursor: pointer;
|
|
15583
|
-
}
|
|
15584
|
-
|
|
15585
|
-
.muka-chat-attachment-chip--interactive .muka-chat-attachment-chip__body:focus-visible {
|
|
15586
|
-
outline: 2px solid var(--color-action-default);
|
|
15587
|
-
outline-offset: 2px;
|
|
15588
|
-
border-radius: var(--radius-sm);
|
|
15589
|
-
}
|
|
15590
|
-
|
|
15591
|
-
.muka-chat-attachment-chip__icon {
|
|
15592
|
-
display: inline-flex;
|
|
15593
|
-
align-items: center;
|
|
15594
|
-
justify-content: center;
|
|
15595
|
-
flex-shrink: 0;
|
|
15596
|
-
color: var(--color-text-subtle-default);
|
|
15649
|
+
width: auto;
|
|
15650
|
+
min-width: 0;
|
|
15597
15651
|
}
|
|
15598
15652
|
|
|
15599
|
-
|
|
15653
|
+
|
|
15654
|
+
/* ChatEvent */
|
|
15655
|
+
/* ChatEvent: a line in a chat that isn't a message from a person */
|
|
15656
|
+
|
|
15657
|
+
.muka-chat-event {
|
|
15600
15658
|
display: flex;
|
|
15601
15659
|
flex-direction: column;
|
|
15602
|
-
|
|
15603
|
-
|
|
15660
|
+
align-items: center;
|
|
15661
|
+
gap: var(--spacing-2);
|
|
15662
|
+
width: 100%;
|
|
15663
|
+
padding: 0 var(--spacing-4);
|
|
15664
|
+
box-sizing: border-box;
|
|
15665
|
+
text-align: center;
|
|
15604
15666
|
}
|
|
15605
15667
|
|
|
15606
|
-
.muka-chat-
|
|
15668
|
+
.muka-chat-event__text {
|
|
15669
|
+
margin: 0;
|
|
15670
|
+
max-width: var(--chatbubble-max-width);
|
|
15671
|
+
/* Default text, not subtle: subtle reaches only ~3:1 on the chat surfaces,
|
|
15672
|
+
and this is body text. Size and centring set it apart from messages. */
|
|
15607
15673
|
color: var(--color-text-default-default);
|
|
15608
15674
|
font-family: var(--text-body-sm-regular-fontFamily);
|
|
15609
15675
|
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
15610
15676
|
font-size: var(--text-body-sm-regular-fontSize);
|
|
15611
15677
|
line-height: var(--text-body-sm-regular-lineHeight);
|
|
15612
|
-
white-space: nowrap;
|
|
15613
|
-
overflow: hidden;
|
|
15614
|
-
text-overflow: ellipsis;
|
|
15615
15678
|
}
|
|
15616
15679
|
|
|
15617
|
-
.muka-chat-
|
|
15618
|
-
color: var(--color-text-subtle-default);
|
|
15619
|
-
font-family: var(--text-body-sm-regular-fontFamily);
|
|
15620
|
-
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
15621
|
-
font-size: var(--text-body-sm-regular-fontSize);
|
|
15622
|
-
line-height: var(--text-body-sm-regular-lineHeight);
|
|
15680
|
+
.muka-chat-event__timestamp {
|
|
15623
15681
|
white-space: nowrap;
|
|
15624
|
-
overflow: hidden;
|
|
15625
|
-
text-overflow: ellipsis;
|
|
15626
15682
|
}
|
|
15627
15683
|
|
|
15628
|
-
.muka-chat-
|
|
15629
|
-
|
|
15684
|
+
.muka-chat-event__media {
|
|
15685
|
+
display: flex;
|
|
15686
|
+
flex-wrap: wrap;
|
|
15687
|
+
justify-content: center;
|
|
15688
|
+
gap: var(--spacing-2);
|
|
15630
15689
|
}
|
|
15631
15690
|
|
|
15632
|
-
/*
|
|
15633
|
-
|
|
15634
|
-
.muka-chat-attachment-chip__remove {
|
|
15691
|
+
/* Day divider: a small pill */
|
|
15692
|
+
.muka-chat-event__pill {
|
|
15635
15693
|
display: inline-flex;
|
|
15636
15694
|
align-items: center;
|
|
15637
|
-
|
|
15638
|
-
|
|
15639
|
-
height: 20px;
|
|
15640
|
-
border: none;
|
|
15641
|
-
background: none;
|
|
15642
|
-
padding: 0;
|
|
15643
|
-
border-radius: var(--radius-sm);
|
|
15644
|
-
cursor: pointer;
|
|
15645
|
-
color: var(--color-text-subtle-default);
|
|
15646
|
-
flex-shrink: 0;
|
|
15647
|
-
-webkit-tap-highlight-color: transparent;
|
|
15648
|
-
}
|
|
15649
|
-
|
|
15650
|
-
.muka-chat-attachment-chip__remove:hover:not(:disabled) {
|
|
15651
|
-
color: var(--color-text-default-default);
|
|
15652
|
-
background-color: var(--color-surface-level2);
|
|
15653
|
-
}
|
|
15654
|
-
|
|
15655
|
-
.muka-chat-attachment-chip__remove:focus-visible {
|
|
15656
|
-
outline: 2px solid var(--color-action-default);
|
|
15657
|
-
outline-offset: 2px;
|
|
15658
|
-
}
|
|
15659
|
-
|
|
15660
|
-
.muka-chat-attachment-chip__remove:disabled {
|
|
15661
|
-
cursor: not-allowed;
|
|
15662
|
-
opacity: 0.5;
|
|
15663
|
-
}
|
|
15664
|
-
|
|
15665
|
-
/* ─── Progress bar ─────────────────────────────────────── */
|
|
15666
|
-
|
|
15667
|
-
.muka-chat-attachment-chip__progress {
|
|
15668
|
-
position: absolute;
|
|
15669
|
-
left: 0;
|
|
15670
|
-
right: 0;
|
|
15671
|
-
bottom: 0;
|
|
15672
|
-
height: 2px;
|
|
15695
|
+
padding: var(--spacing-1) var(--spacing-3);
|
|
15696
|
+
border-radius: var(--radius-full);
|
|
15673
15697
|
background-color: var(--color-surface-level2);
|
|
15674
|
-
|
|
15675
|
-
|
|
15676
|
-
|
|
15677
|
-
|
|
15678
|
-
|
|
15679
|
-
height: 100%;
|
|
15680
|
-
background-color: var(--color-action-default);
|
|
15681
|
-
transition: width 0.16s ease;
|
|
15682
|
-
}
|
|
15683
|
-
|
|
15684
|
-
.muka-chat-attachment-chip--error .muka-chat-attachment-chip__progress-fill {
|
|
15685
|
-
background-color: var(--color-state-error-default, var(--color-text-default-default));
|
|
15698
|
+
color: var(--color-text-default-default);
|
|
15699
|
+
font-family: var(--text-label-sm-regular-fontFamily);
|
|
15700
|
+
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
15701
|
+
font-size: var(--text-label-sm-regular-fontSize);
|
|
15702
|
+
line-height: var(--text-label-sm-leading);
|
|
15686
15703
|
}
|
|
15687
15704
|
|
|
15688
15705
|
|
|
@@ -17846,66 +17863,222 @@ button.muka-chat-photo-grid__tile:focus-visible {
|
|
|
17846
17863
|
bottom: 0;
|
|
17847
17864
|
}
|
|
17848
17865
|
|
|
17849
|
-
.muka-agent-task-list__task:first-child .muka-agent-task-list__line--top {
|
|
17850
|
-
display: none;
|
|
17866
|
+
.muka-agent-task-list__task:first-child .muka-agent-task-list__line--top {
|
|
17867
|
+
display: none;
|
|
17868
|
+
}
|
|
17869
|
+
|
|
17870
|
+
.muka-agent-task-list__task:last-child .muka-agent-task-list__line--bottom {
|
|
17871
|
+
display: none;
|
|
17872
|
+
}
|
|
17873
|
+
|
|
17874
|
+
.muka-agent-task-list__icon {
|
|
17875
|
+
position: absolute;
|
|
17876
|
+
top: 8px;
|
|
17877
|
+
left: 0;
|
|
17878
|
+
width: 16px;
|
|
17879
|
+
height: 16px;
|
|
17880
|
+
display: inline-flex;
|
|
17881
|
+
align-items: center;
|
|
17882
|
+
justify-content: center;
|
|
17883
|
+
color: var(--color-text-subtle-default);
|
|
17884
|
+
z-index: 1;
|
|
17885
|
+
}
|
|
17886
|
+
|
|
17887
|
+
/* ─── State color treatments ───────────────────────────── */
|
|
17888
|
+
|
|
17889
|
+
.muka-agent-task-list__task[data-state='active'] .muka-agent-task-list__icon {
|
|
17890
|
+
color: var(--color-action-default);
|
|
17891
|
+
}
|
|
17892
|
+
|
|
17893
|
+
.muka-agent-task-list__task[data-state='done'] .muka-agent-task-list__icon {
|
|
17894
|
+
color: var(--color-text-subtle-default);
|
|
17895
|
+
}
|
|
17896
|
+
|
|
17897
|
+
.muka-agent-task-list__task[data-state='pending'] .muka-agent-task-list__icon {
|
|
17898
|
+
color: var(--color-text-muted-default, var(--color-text-subtle-default));
|
|
17899
|
+
opacity: 0.6;
|
|
17900
|
+
}
|
|
17901
|
+
|
|
17902
|
+
/* ─── Label ────────────────────────────────────────────── */
|
|
17903
|
+
|
|
17904
|
+
.muka-agent-task-list__label {
|
|
17905
|
+
flex: 1 1 0;
|
|
17906
|
+
min-width: 0;
|
|
17907
|
+
padding: var(--spacing-2) 0;
|
|
17908
|
+
color: var(--color-text-subtle-default);
|
|
17909
|
+
font-family: var(--text-body-sm-regular-fontFamily);
|
|
17910
|
+
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
17911
|
+
font-size: var(--text-body-sm-regular-fontSize);
|
|
17912
|
+
line-height: var(--text-body-sm-regular-lineHeight);
|
|
17913
|
+
word-break: break-word;
|
|
17914
|
+
}
|
|
17915
|
+
|
|
17916
|
+
/* ─── Print ────────────────────────────────────────────── */
|
|
17917
|
+
|
|
17918
|
+
@media print {
|
|
17919
|
+
.muka-agent-task-list {
|
|
17920
|
+
break-inside: avoid;
|
|
17921
|
+
}
|
|
17922
|
+
|
|
17923
|
+
.muka-agent-task-list__chevron {
|
|
17924
|
+
display: none;
|
|
17925
|
+
}
|
|
17926
|
+
}
|
|
17927
|
+
|
|
17928
|
+
|
|
17929
|
+
/* ChatAttachmentChip */
|
|
17930
|
+
/* ChatAttachmentChip Component Styles */
|
|
17931
|
+
|
|
17932
|
+
.muka-chat-attachment-chip {
|
|
17933
|
+
position: relative;
|
|
17934
|
+
display: inline-flex;
|
|
17935
|
+
align-items: center;
|
|
17936
|
+
gap: var(--spacing-1);
|
|
17937
|
+
max-width: 240px;
|
|
17938
|
+
padding: var(--spacing-2) var(--spacing-3);
|
|
17939
|
+
background-color: var(--color-surface-level1);
|
|
17940
|
+
border: var(--border-width-regular) solid var(--color-border-default);
|
|
17941
|
+
border-radius: var(--radius-md);
|
|
17942
|
+
overflow: hidden;
|
|
17943
|
+
}
|
|
17944
|
+
|
|
17945
|
+
.muka-chat-attachment-chip--uploading {
|
|
17946
|
+
padding-bottom: calc(var(--spacing-2) + 2px);
|
|
17947
|
+
}
|
|
17948
|
+
|
|
17949
|
+
.muka-chat-attachment-chip--error {
|
|
17950
|
+
border-color: var(--color-state-error-default, var(--color-text-default-default));
|
|
17951
|
+
}
|
|
17952
|
+
|
|
17953
|
+
.muka-chat-attachment-chip--disabled {
|
|
17954
|
+
opacity: 0.5;
|
|
17955
|
+
pointer-events: none;
|
|
17956
|
+
}
|
|
17957
|
+
|
|
17958
|
+
/* ─── Body (icon + text) ───────────────────────────────── */
|
|
17959
|
+
|
|
17960
|
+
.muka-chat-attachment-chip__body {
|
|
17961
|
+
display: inline-flex;
|
|
17962
|
+
align-items: center;
|
|
17963
|
+
gap: var(--spacing-2);
|
|
17964
|
+
min-width: 0;
|
|
17965
|
+
flex: 1 1 auto;
|
|
17966
|
+
background: none;
|
|
17967
|
+
border: none;
|
|
17968
|
+
padding: 0;
|
|
17969
|
+
margin: 0;
|
|
17970
|
+
text-align: left;
|
|
17971
|
+
color: inherit;
|
|
17972
|
+
font: inherit;
|
|
17973
|
+
cursor: default;
|
|
17974
|
+
-webkit-tap-highlight-color: transparent;
|
|
17975
|
+
}
|
|
17976
|
+
|
|
17977
|
+
.muka-chat-attachment-chip--interactive .muka-chat-attachment-chip__body {
|
|
17978
|
+
cursor: pointer;
|
|
17979
|
+
}
|
|
17980
|
+
|
|
17981
|
+
.muka-chat-attachment-chip--interactive .muka-chat-attachment-chip__body:focus-visible {
|
|
17982
|
+
outline: 2px solid var(--color-action-default);
|
|
17983
|
+
outline-offset: 2px;
|
|
17984
|
+
border-radius: var(--radius-sm);
|
|
17985
|
+
}
|
|
17986
|
+
|
|
17987
|
+
.muka-chat-attachment-chip__icon {
|
|
17988
|
+
display: inline-flex;
|
|
17989
|
+
align-items: center;
|
|
17990
|
+
justify-content: center;
|
|
17991
|
+
flex-shrink: 0;
|
|
17992
|
+
color: var(--color-text-subtle-default);
|
|
17993
|
+
}
|
|
17994
|
+
|
|
17995
|
+
.muka-chat-attachment-chip__text {
|
|
17996
|
+
display: flex;
|
|
17997
|
+
flex-direction: column;
|
|
17998
|
+
min-width: 0;
|
|
17999
|
+
flex: 1 1 auto;
|
|
18000
|
+
}
|
|
18001
|
+
|
|
18002
|
+
.muka-chat-attachment-chip__name {
|
|
18003
|
+
color: var(--color-text-default-default);
|
|
18004
|
+
font-family: var(--text-body-sm-regular-fontFamily);
|
|
18005
|
+
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
18006
|
+
font-size: var(--text-body-sm-regular-fontSize);
|
|
18007
|
+
line-height: var(--text-body-sm-regular-lineHeight);
|
|
18008
|
+
white-space: nowrap;
|
|
18009
|
+
overflow: hidden;
|
|
18010
|
+
text-overflow: ellipsis;
|
|
18011
|
+
}
|
|
18012
|
+
|
|
18013
|
+
.muka-chat-attachment-chip__meta {
|
|
18014
|
+
color: var(--color-text-subtle-default);
|
|
18015
|
+
font-family: var(--text-body-sm-regular-fontFamily);
|
|
18016
|
+
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
18017
|
+
font-size: var(--text-body-sm-regular-fontSize);
|
|
18018
|
+
line-height: var(--text-body-sm-regular-lineHeight);
|
|
18019
|
+
white-space: nowrap;
|
|
18020
|
+
overflow: hidden;
|
|
18021
|
+
text-overflow: ellipsis;
|
|
18022
|
+
}
|
|
18023
|
+
|
|
18024
|
+
.muka-chat-attachment-chip--error .muka-chat-attachment-chip__meta {
|
|
18025
|
+
color: var(--color-state-error-default, var(--color-text-default-default));
|
|
17851
18026
|
}
|
|
17852
18027
|
|
|
17853
|
-
|
|
17854
|
-
display: none;
|
|
17855
|
-
}
|
|
18028
|
+
/* ─── Remove button ────────────────────────────────────── */
|
|
17856
18029
|
|
|
17857
|
-
.muka-
|
|
17858
|
-
position: absolute;
|
|
17859
|
-
top: 8px;
|
|
17860
|
-
left: 0;
|
|
17861
|
-
width: 16px;
|
|
17862
|
-
height: 16px;
|
|
18030
|
+
.muka-chat-attachment-chip__remove {
|
|
17863
18031
|
display: inline-flex;
|
|
17864
18032
|
align-items: center;
|
|
17865
18033
|
justify-content: center;
|
|
18034
|
+
width: 20px;
|
|
18035
|
+
height: 20px;
|
|
18036
|
+
border: none;
|
|
18037
|
+
background: none;
|
|
18038
|
+
padding: 0;
|
|
18039
|
+
border-radius: var(--radius-sm);
|
|
18040
|
+
cursor: pointer;
|
|
17866
18041
|
color: var(--color-text-subtle-default);
|
|
17867
|
-
|
|
18042
|
+
flex-shrink: 0;
|
|
18043
|
+
-webkit-tap-highlight-color: transparent;
|
|
17868
18044
|
}
|
|
17869
18045
|
|
|
17870
|
-
|
|
17871
|
-
|
|
17872
|
-
|
|
17873
|
-
color: var(--color-action-default);
|
|
18046
|
+
.muka-chat-attachment-chip__remove:hover:not(:disabled) {
|
|
18047
|
+
color: var(--color-text-default-default);
|
|
18048
|
+
background-color: var(--color-surface-level2);
|
|
17874
18049
|
}
|
|
17875
18050
|
|
|
17876
|
-
.muka-
|
|
17877
|
-
|
|
18051
|
+
.muka-chat-attachment-chip__remove:focus-visible {
|
|
18052
|
+
outline: 2px solid var(--color-action-default);
|
|
18053
|
+
outline-offset: 2px;
|
|
17878
18054
|
}
|
|
17879
18055
|
|
|
17880
|
-
.muka-
|
|
17881
|
-
|
|
17882
|
-
opacity: 0.
|
|
18056
|
+
.muka-chat-attachment-chip__remove:disabled {
|
|
18057
|
+
cursor: not-allowed;
|
|
18058
|
+
opacity: 0.5;
|
|
17883
18059
|
}
|
|
17884
18060
|
|
|
17885
|
-
/* ───
|
|
18061
|
+
/* ─── Progress bar ─────────────────────────────────────── */
|
|
17886
18062
|
|
|
17887
|
-
.muka-
|
|
17888
|
-
|
|
17889
|
-
|
|
17890
|
-
|
|
17891
|
-
|
|
17892
|
-
|
|
17893
|
-
|
|
17894
|
-
|
|
17895
|
-
line-height: var(--text-body-sm-regular-lineHeight);
|
|
17896
|
-
word-break: break-word;
|
|
18063
|
+
.muka-chat-attachment-chip__progress {
|
|
18064
|
+
position: absolute;
|
|
18065
|
+
left: 0;
|
|
18066
|
+
right: 0;
|
|
18067
|
+
bottom: 0;
|
|
18068
|
+
height: 2px;
|
|
18069
|
+
background-color: var(--color-surface-level2);
|
|
18070
|
+
overflow: hidden;
|
|
17897
18071
|
}
|
|
17898
18072
|
|
|
17899
|
-
|
|
17900
|
-
|
|
17901
|
-
|
|
17902
|
-
|
|
17903
|
-
|
|
17904
|
-
|
|
18073
|
+
.muka-chat-attachment-chip__progress-fill {
|
|
18074
|
+
display: block;
|
|
18075
|
+
height: 100%;
|
|
18076
|
+
background-color: var(--color-action-default);
|
|
18077
|
+
transition: width 0.16s ease;
|
|
18078
|
+
}
|
|
17905
18079
|
|
|
17906
|
-
|
|
17907
|
-
|
|
17908
|
-
}
|
|
18080
|
+
.muka-chat-attachment-chip--error .muka-chat-attachment-chip__progress-fill {
|
|
18081
|
+
background-color: var(--color-state-error-default, var(--color-text-default-default));
|
|
17909
18082
|
}
|
|
17910
18083
|
|
|
17911
18084
|
|
|
@@ -18181,176 +18354,3 @@ button.muka-chat-photo-grid__tile:focus-visible {
|
|
|
18181
18354
|
border-bottom: none;
|
|
18182
18355
|
}
|
|
18183
18356
|
|
|
18184
|
-
|
|
18185
|
-
/* Combobox */
|
|
18186
|
-
/* Combobox — Figma Input Combobox (free-input chips + suggestion Menu) */
|
|
18187
|
-
|
|
18188
|
-
.muka-combobox {
|
|
18189
|
-
display: inline-flex;
|
|
18190
|
-
flex-direction: column;
|
|
18191
|
-
gap: var(--spacing-2);
|
|
18192
|
-
min-width: 200px;
|
|
18193
|
-
}
|
|
18194
|
-
|
|
18195
|
-
.muka-combobox--full-width {
|
|
18196
|
-
width: 100%;
|
|
18197
|
-
}
|
|
18198
|
-
|
|
18199
|
-
.muka-combobox__label {
|
|
18200
|
-
color: var(--color-text-default-default);
|
|
18201
|
-
cursor: pointer;
|
|
18202
|
-
}
|
|
18203
|
-
|
|
18204
|
-
.muka-combobox__label--sm {
|
|
18205
|
-
font-family: var(--text-label-sm-semibold-fontFamily);
|
|
18206
|
-
font-weight: var(--text-label-sm-semibold-fontWeight);
|
|
18207
|
-
font-size: var(--text-label-sm-semibold-fontSize);
|
|
18208
|
-
line-height: var(--text-label-sm-semibold-lineHeight);
|
|
18209
|
-
}
|
|
18210
|
-
|
|
18211
|
-
.muka-combobox__label--md {
|
|
18212
|
-
font-family: var(--text-label-md-semibold-fontFamily);
|
|
18213
|
-
font-weight: var(--text-label-md-semibold-fontWeight);
|
|
18214
|
-
font-size: var(--text-label-md-semibold-fontSize);
|
|
18215
|
-
line-height: var(--text-label-md-semibold-lineHeight);
|
|
18216
|
-
}
|
|
18217
|
-
|
|
18218
|
-
.muka-combobox__label--lg {
|
|
18219
|
-
font-family: var(--text-label-lg-semibold-fontFamily);
|
|
18220
|
-
font-weight: var(--text-label-lg-semibold-fontWeight);
|
|
18221
|
-
font-size: var(--text-label-lg-semibold-fontSize);
|
|
18222
|
-
line-height: var(--text-label-lg-semibold-lineHeight);
|
|
18223
|
-
}
|
|
18224
|
-
|
|
18225
|
-
.muka-combobox__field {
|
|
18226
|
-
display: flex;
|
|
18227
|
-
align-items: center;
|
|
18228
|
-
width: 100%;
|
|
18229
|
-
position: relative;
|
|
18230
|
-
isolation: isolate;
|
|
18231
|
-
box-sizing: border-box;
|
|
18232
|
-
background-color: var(--input-field-color-default-background);
|
|
18233
|
-
border: var(--border-width-regular) solid var(--input-field-color-default-border);
|
|
18234
|
-
border-radius: var(--input-field-radius-lg);
|
|
18235
|
-
padding: var(--spacing-2);
|
|
18236
|
-
cursor: text;
|
|
18237
|
-
transition: border-color 0.12s ease, background-color 0.12s ease;
|
|
18238
|
-
}
|
|
18239
|
-
|
|
18240
|
-
.muka-combobox__field::after {
|
|
18241
|
-
content: '';
|
|
18242
|
-
position: absolute;
|
|
18243
|
-
inset: 0;
|
|
18244
|
-
border-radius: inherit;
|
|
18245
|
-
box-shadow: inset 0 1px 2px 0 rgba(26, 26, 26, 0.08);
|
|
18246
|
-
pointer-events: none;
|
|
18247
|
-
}
|
|
18248
|
-
|
|
18249
|
-
.muka-combobox__field--sm {
|
|
18250
|
-
min-height: var(--input-field-height-sm);
|
|
18251
|
-
border-radius: var(--input-field-radius-sm);
|
|
18252
|
-
}
|
|
18253
|
-
|
|
18254
|
-
.muka-combobox__field--md {
|
|
18255
|
-
min-height: var(--input-field-height-default);
|
|
18256
|
-
border-radius: var(--input-field-radius-md);
|
|
18257
|
-
}
|
|
18258
|
-
|
|
18259
|
-
.muka-combobox__field--lg {
|
|
18260
|
-
min-height: var(--input-field-height-lg);
|
|
18261
|
-
border-radius: var(--input-field-radius-lg);
|
|
18262
|
-
}
|
|
18263
|
-
|
|
18264
|
-
.muka-combobox__field--focused:not(.muka-combobox__field--disabled) {
|
|
18265
|
-
border-width: var(--border-width-bold);
|
|
18266
|
-
border-color: var(--input-field-color-focus-border);
|
|
18267
|
-
background-color: var(--input-field-color-focus-background);
|
|
18268
|
-
padding: calc(var(--spacing-2) - 1px);
|
|
18269
|
-
}
|
|
18270
|
-
|
|
18271
|
-
.muka-combobox__field--error:not(.muka-combobox__field--disabled) {
|
|
18272
|
-
border-color: var(--color-state-error-contrast);
|
|
18273
|
-
}
|
|
18274
|
-
|
|
18275
|
-
.muka-combobox__field--disabled {
|
|
18276
|
-
opacity: 0.5;
|
|
18277
|
-
cursor: not-allowed;
|
|
18278
|
-
}
|
|
18279
|
-
|
|
18280
|
-
.muka-combobox__field--multiline {
|
|
18281
|
-
align-items: flex-start;
|
|
18282
|
-
min-height: 7rem;
|
|
18283
|
-
}
|
|
18284
|
-
|
|
18285
|
-
.muka-combobox__chips {
|
|
18286
|
-
display: flex;
|
|
18287
|
-
flex: 1 1 auto;
|
|
18288
|
-
flex-wrap: wrap;
|
|
18289
|
-
gap: var(--spacing-2);
|
|
18290
|
-
align-items: center;
|
|
18291
|
-
min-width: 0;
|
|
18292
|
-
width: 100%;
|
|
18293
|
-
position: relative;
|
|
18294
|
-
z-index: 1;
|
|
18295
|
-
}
|
|
18296
|
-
|
|
18297
|
-
.muka-combobox__input {
|
|
18298
|
-
flex: 1 1 5rem;
|
|
18299
|
-
min-width: 5rem;
|
|
18300
|
-
min-height: 2rem;
|
|
18301
|
-
margin: 0;
|
|
18302
|
-
padding: 0 var(--spacing-1);
|
|
18303
|
-
border: none;
|
|
18304
|
-
outline: none;
|
|
18305
|
-
background: transparent;
|
|
18306
|
-
color: var(--input-field-color-default-foreground);
|
|
18307
|
-
caret-color: var(--input-field-color-default-foreground);
|
|
18308
|
-
font-family: var(--text-label-md-regular-fontFamily);
|
|
18309
|
-
font-size: var(--text-label-md-regular-fontSize);
|
|
18310
|
-
font-weight: var(--text-label-md-regular-fontWeight);
|
|
18311
|
-
line-height: var(--text-label-md-regular-lineHeight);
|
|
18312
|
-
}
|
|
18313
|
-
|
|
18314
|
-
.muka-combobox__input::placeholder {
|
|
18315
|
-
color: var(--color-text-subtle-default);
|
|
18316
|
-
}
|
|
18317
|
-
|
|
18318
|
-
.muka-combobox__helper {
|
|
18319
|
-
margin: 0;
|
|
18320
|
-
color: var(--color-text-subtle-default);
|
|
18321
|
-
font-family: var(--text-label-sm-regular-fontFamily);
|
|
18322
|
-
font-size: var(--text-label-sm-regular-fontSize);
|
|
18323
|
-
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
18324
|
-
line-height: var(--text-label-sm-regular-lineHeight);
|
|
18325
|
-
}
|
|
18326
|
-
|
|
18327
|
-
.muka-combobox__error {
|
|
18328
|
-
margin: 0;
|
|
18329
|
-
color: var(--color-state-error-default);
|
|
18330
|
-
font-family: var(--text-label-sm-regular-fontFamily);
|
|
18331
|
-
font-size: var(--text-label-sm-regular-fontSize);
|
|
18332
|
-
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
18333
|
-
line-height: var(--text-label-sm-regular-lineHeight);
|
|
18334
|
-
}
|
|
18335
|
-
|
|
18336
|
-
.muka-combobox__menu-anchor {
|
|
18337
|
-
position: absolute;
|
|
18338
|
-
inset: 0;
|
|
18339
|
-
z-index: 0;
|
|
18340
|
-
width: 100%;
|
|
18341
|
-
height: 100%;
|
|
18342
|
-
margin: 0;
|
|
18343
|
-
padding: 0;
|
|
18344
|
-
border: none;
|
|
18345
|
-
background: transparent;
|
|
18346
|
-
pointer-events: none;
|
|
18347
|
-
opacity: 0;
|
|
18348
|
-
}
|
|
18349
|
-
|
|
18350
|
-
.muka-combobox__menu {
|
|
18351
|
-
/* Prefer Menu token min-width (280px); may exceed the field when left-aligned. */
|
|
18352
|
-
min-width: var(--menu-content-min-width);
|
|
18353
|
-
width: max-content;
|
|
18354
|
-
max-width: min(100vw - 2rem, 24rem);
|
|
18355
|
-
}
|
|
18356
|
-
|