@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
|
@@ -5982,6 +5982,88 @@ body {
|
|
|
5982
5982
|
}
|
|
5983
5983
|
|
|
5984
5984
|
|
|
5985
|
+
/* Sheet */
|
|
5986
|
+
/* Sheet Component Styles */
|
|
5987
|
+
|
|
5988
|
+
/* ─── Backdrop ────────────────────────────────────────── */
|
|
5989
|
+
|
|
5990
|
+
.muka-sheet__overlay {
|
|
5991
|
+
position: fixed;
|
|
5992
|
+
inset: 0;
|
|
5993
|
+
background-color: var(--color-surface-backdrop);
|
|
5994
|
+
-webkit-backdrop-filter: blur(var(--effect-blur-backdrop));
|
|
5995
|
+
backdrop-filter: blur(var(--effect-blur-backdrop));
|
|
5996
|
+
z-index: 50;
|
|
5997
|
+
}
|
|
5998
|
+
|
|
5999
|
+
/* ─── Surface ─────────────────────────────────────────── */
|
|
6000
|
+
|
|
6001
|
+
.muka-sheet {
|
|
6002
|
+
position: fixed;
|
|
6003
|
+
left: 0;
|
|
6004
|
+
right: 0;
|
|
6005
|
+
bottom: 0;
|
|
6006
|
+
z-index: 51;
|
|
6007
|
+
|
|
6008
|
+
display: flex;
|
|
6009
|
+
flex-direction: column;
|
|
6010
|
+
|
|
6011
|
+
max-height: 96dvh;
|
|
6012
|
+
|
|
6013
|
+
background-color: var(--color-surface-level3);
|
|
6014
|
+
border-top-left-radius: var(--radius-lg);
|
|
6015
|
+
border-top-right-radius: var(--radius-lg);
|
|
6016
|
+
box-shadow: var(--shadow-level5);
|
|
6017
|
+
|
|
6018
|
+
outline: none;
|
|
6019
|
+
}
|
|
6020
|
+
|
|
6021
|
+
/* Safe-area bottom inset for the iPhone home indicator. */
|
|
6022
|
+
.muka-sheet:not(.muka-sheet--no-safe-area) {
|
|
6023
|
+
padding-bottom: env(safe-area-inset-bottom);
|
|
6024
|
+
}
|
|
6025
|
+
|
|
6026
|
+
/* ─── Drag handle ─────────────────────────────────────── */
|
|
6027
|
+
|
|
6028
|
+
.muka-sheet__handle-container {
|
|
6029
|
+
display: flex;
|
|
6030
|
+
justify-content: center;
|
|
6031
|
+
flex-shrink: 0;
|
|
6032
|
+
padding: var(--spacing-3) 0;
|
|
6033
|
+
}
|
|
6034
|
+
|
|
6035
|
+
.muka-sheet__handle {
|
|
6036
|
+
width: var(--dialog-drag-handle-width);
|
|
6037
|
+
height: var(--dialog-drag-handle-height);
|
|
6038
|
+
background-color: var(--dialog-drag-handle-color);
|
|
6039
|
+
border-radius: var(--dialog-drag-handle-radius);
|
|
6040
|
+
}
|
|
6041
|
+
|
|
6042
|
+
/* ─── Body (scrollable) ───────────────────────────────── */
|
|
6043
|
+
|
|
6044
|
+
.muka-sheet__body {
|
|
6045
|
+
flex: 1 1 0%;
|
|
6046
|
+
min-height: 0;
|
|
6047
|
+
overflow-y: auto;
|
|
6048
|
+
-webkit-overflow-scrolling: touch;
|
|
6049
|
+
overscroll-behavior: contain;
|
|
6050
|
+
}
|
|
6051
|
+
|
|
6052
|
+
/* ─── Visually-hidden title (a11y) ────────────────────── */
|
|
6053
|
+
|
|
6054
|
+
.muka-sheet__sr-title {
|
|
6055
|
+
position: absolute;
|
|
6056
|
+
width: 1px;
|
|
6057
|
+
height: 1px;
|
|
6058
|
+
padding: 0;
|
|
6059
|
+
margin: -1px;
|
|
6060
|
+
overflow: hidden;
|
|
6061
|
+
clip: rect(0, 0, 0, 0);
|
|
6062
|
+
white-space: nowrap;
|
|
6063
|
+
border: 0;
|
|
6064
|
+
}
|
|
6065
|
+
|
|
6066
|
+
|
|
5985
6067
|
/* Select */
|
|
5986
6068
|
/* Select Component Styles - Aligned with Input for consistency */
|
|
5987
6069
|
|
|
@@ -6176,113 +6258,219 @@ body {
|
|
|
6176
6258
|
}
|
|
6177
6259
|
|
|
6178
6260
|
|
|
6179
|
-
/*
|
|
6180
|
-
/*
|
|
6261
|
+
/* SegmentGroup */
|
|
6262
|
+
/* SegmentGroup Component Styles - Using Muka Design Tokens */
|
|
6181
6263
|
|
|
6182
|
-
/*
|
|
6264
|
+
/* Container */
|
|
6265
|
+
.muka-segmentgroup {
|
|
6266
|
+
display: inline-flex;
|
|
6267
|
+
align-items: center;
|
|
6268
|
+
gap: 0;
|
|
6269
|
+
padding: var(--segmentgroup-container-padding);
|
|
6270
|
+
background-color: var(--segmentgroup-container-background);
|
|
6271
|
+
border-radius: var(--segmentgroup-container-radius);
|
|
6272
|
+
position: relative;
|
|
6273
|
+
transition: background-color 0.2s ease, box-shadow 0.2s ease;
|
|
6274
|
+
}
|
|
6183
6275
|
|
|
6184
|
-
|
|
6185
|
-
|
|
6276
|
+
/* Inset shadow on container */
|
|
6277
|
+
.muka-segmentgroup::after {
|
|
6278
|
+
content: '';
|
|
6279
|
+
position: absolute;
|
|
6186
6280
|
inset: 0;
|
|
6187
|
-
|
|
6188
|
-
-
|
|
6189
|
-
|
|
6190
|
-
z-index: 50;
|
|
6281
|
+
border-radius: inherit;
|
|
6282
|
+
box-shadow: var(--segmentgroup-container-shadow);
|
|
6283
|
+
pointer-events: none;
|
|
6191
6284
|
}
|
|
6192
6285
|
|
|
6193
|
-
/*
|
|
6194
|
-
|
|
6195
|
-
|
|
6196
|
-
position: fixed;
|
|
6197
|
-
left: 0;
|
|
6198
|
-
right: 0;
|
|
6199
|
-
bottom: 0;
|
|
6200
|
-
z-index: 51;
|
|
6201
|
-
|
|
6202
|
-
display: flex;
|
|
6203
|
-
flex-direction: column;
|
|
6204
|
-
|
|
6205
|
-
max-height: 96dvh;
|
|
6206
|
-
|
|
6207
|
-
background-color: var(--color-surface-level3);
|
|
6208
|
-
border-top-left-radius: var(--radius-lg);
|
|
6209
|
-
border-top-right-radius: var(--radius-lg);
|
|
6210
|
-
box-shadow: var(--shadow-level5);
|
|
6211
|
-
|
|
6212
|
-
outline: none;
|
|
6286
|
+
/* Full width variant */
|
|
6287
|
+
.muka-segmentgroup--full-width {
|
|
6288
|
+
width: 100%;
|
|
6213
6289
|
}
|
|
6214
6290
|
|
|
6215
|
-
|
|
6216
|
-
|
|
6217
|
-
padding-bottom: env(safe-area-inset-bottom);
|
|
6291
|
+
.muka-segmentgroup--full-width .muka-segmentgroup__segment {
|
|
6292
|
+
flex: 1;
|
|
6218
6293
|
}
|
|
6219
6294
|
|
|
6220
|
-
/*
|
|
6295
|
+
/* Pill */
|
|
6296
|
+
.muka-segmentgroup__pill {
|
|
6297
|
+
position: absolute;
|
|
6298
|
+
top: var(--segmentgroup-container-padding);
|
|
6299
|
+
bottom: var(--segmentgroup-container-padding);
|
|
6300
|
+
left: 0;
|
|
6301
|
+
margin: 0;
|
|
6302
|
+
background-color: var(--segmentgroup-segment-color-selected-background);
|
|
6303
|
+
box-shadow: var(--segmentgroup-segment-shadow-selected);
|
|
6304
|
+
transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), width 0.25s cubic-bezier(0.4, 0, 0.2, 1);
|
|
6305
|
+
z-index: 0;
|
|
6306
|
+
pointer-events: none;
|
|
6307
|
+
}
|
|
6221
6308
|
|
|
6222
|
-
|
|
6223
|
-
|
|
6309
|
+
/* Segment button */
|
|
6310
|
+
.muka-segmentgroup__segment {
|
|
6311
|
+
display: inline-flex;
|
|
6312
|
+
align-items: center;
|
|
6224
6313
|
justify-content: center;
|
|
6225
|
-
|
|
6226
|
-
|
|
6314
|
+
gap: var(--segmentgroup-segment-gap);
|
|
6315
|
+
border: none;
|
|
6316
|
+
background-color: var(--segmentgroup-segment-color-unselected-background);
|
|
6317
|
+
color: var(--segmentgroup-segment-color-unselected-foreground);
|
|
6318
|
+
border-radius: var(--segmentgroup-segment-radius);
|
|
6319
|
+
cursor: pointer;
|
|
6320
|
+
transition: background-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
|
|
6321
|
+
position: relative;
|
|
6322
|
+
outline: none;
|
|
6323
|
+
box-shadow: var(--segmentgroup-segment-shadow-unselected);
|
|
6324
|
+
font-family: var(--alias-font-plain-family);
|
|
6325
|
+
font-weight: var(--segmentgroup-segment-fontWeight);
|
|
6326
|
+
z-index: 1; /* Keep above pill */
|
|
6227
6327
|
}
|
|
6228
6328
|
|
|
6229
|
-
|
|
6230
|
-
|
|
6231
|
-
|
|
6232
|
-
background-color: var(--dialog-drag-handle-color);
|
|
6233
|
-
border-radius: var(--dialog-drag-handle-radius);
|
|
6329
|
+
/* Size variants */
|
|
6330
|
+
.muka-segmentgroup--sm {
|
|
6331
|
+
border-radius: var(--border-radius-xl, 16px);
|
|
6234
6332
|
}
|
|
6235
|
-
|
|
6236
|
-
|
|
6237
|
-
|
|
6238
|
-
.muka-sheet__body {
|
|
6239
|
-
flex: 1 1 0%;
|
|
6240
|
-
min-height: 0;
|
|
6241
|
-
overflow-y: auto;
|
|
6242
|
-
-webkit-overflow-scrolling: touch;
|
|
6243
|
-
overscroll-behavior: contain;
|
|
6333
|
+
.muka-segmentgroup--sm .muka-segmentgroup__segment,
|
|
6334
|
+
.muka-segmentgroup--sm .muka-segmentgroup__pill {
|
|
6335
|
+
border-radius: var(--border-radius-xl, 16px);
|
|
6244
6336
|
}
|
|
6245
|
-
|
|
6246
|
-
|
|
6247
|
-
|
|
6248
|
-
|
|
6249
|
-
|
|
6250
|
-
width: 1px;
|
|
6251
|
-
height: 1px;
|
|
6252
|
-
padding: 0;
|
|
6253
|
-
margin: -1px;
|
|
6254
|
-
overflow: hidden;
|
|
6255
|
-
clip: rect(0, 0, 0, 0);
|
|
6256
|
-
white-space: nowrap;
|
|
6257
|
-
border: 0;
|
|
6337
|
+
.muka-segmentgroup--sm .muka-segmentgroup__segment {
|
|
6338
|
+
padding: var(--segmentgroup-segment-padding-sm-y) var(--segmentgroup-segment-padding-sm-x);
|
|
6339
|
+
height: var(--segmentgroup-segment-height-sm);
|
|
6340
|
+
font-size: var(--text-label-sm-regular-fontSize);
|
|
6341
|
+
line-height: var(--text-label-sm-leading);
|
|
6258
6342
|
}
|
|
6259
6343
|
|
|
6260
|
-
|
|
6261
|
-
|
|
6262
|
-
/* Section Component - Layout tokens (section.padding) */
|
|
6263
|
-
|
|
6264
|
-
.muka-section {
|
|
6265
|
-
box-sizing: border-box;
|
|
6344
|
+
.muka-segmentgroup--md {
|
|
6345
|
+
border-radius: var(--border-radius-xl, 16px);
|
|
6266
6346
|
}
|
|
6267
|
-
|
|
6268
|
-
.muka-
|
|
6269
|
-
|
|
6270
|
-
padding-inline: var(--section-padding-horizontal-compact);
|
|
6347
|
+
.muka-segmentgroup--md .muka-segmentgroup__segment,
|
|
6348
|
+
.muka-segmentgroup--md .muka-segmentgroup__pill {
|
|
6349
|
+
border-radius: var(--border-radius-xl, 16px);
|
|
6271
6350
|
}
|
|
6272
|
-
|
|
6273
|
-
|
|
6274
|
-
|
|
6275
|
-
|
|
6351
|
+
.muka-segmentgroup--md .muka-segmentgroup__segment {
|
|
6352
|
+
padding: var(--segmentgroup-segment-padding-md-y) var(--segmentgroup-segment-padding-md-x);
|
|
6353
|
+
font-size: var(--text-label-md-regular-fontSize);
|
|
6354
|
+
line-height: var(--text-label-md-leading);
|
|
6276
6355
|
}
|
|
6277
6356
|
|
|
6278
|
-
.muka-
|
|
6279
|
-
|
|
6280
|
-
|
|
6357
|
+
.muka-segmentgroup--lg {
|
|
6358
|
+
border-radius: var(--border-radius-full, 9999px);
|
|
6359
|
+
}
|
|
6360
|
+
.muka-segmentgroup--lg .muka-segmentgroup__segment,
|
|
6361
|
+
.muka-segmentgroup--lg .muka-segmentgroup__pill {
|
|
6362
|
+
border-radius: var(--border-radius-full, 9999px);
|
|
6363
|
+
}
|
|
6364
|
+
.muka-segmentgroup--lg .muka-segmentgroup__segment {
|
|
6365
|
+
padding: var(--segmentgroup-segment-padding-lg-y) var(--segmentgroup-segment-padding-lg-x);
|
|
6366
|
+
height: 40px;
|
|
6367
|
+
font-size: var(--text-label-lg-regular-fontSize);
|
|
6368
|
+
line-height: var(--text-label-lg-leading);
|
|
6281
6369
|
}
|
|
6282
6370
|
|
|
6371
|
+
/* Icon-only variants */
|
|
6372
|
+
.muka-segmentgroup--icon-only {
|
|
6373
|
+
gap: var(--spacing-1, 4px);
|
|
6374
|
+
}
|
|
6283
6375
|
|
|
6284
|
-
|
|
6285
|
-
|
|
6376
|
+
.muka-segmentgroup--icon-only.muka-segmentgroup--sm .muka-segmentgroup__segment {
|
|
6377
|
+
width: 24px;
|
|
6378
|
+
height: 24px;
|
|
6379
|
+
padding: 0;
|
|
6380
|
+
}
|
|
6381
|
+
.muka-segmentgroup--icon-only.muka-segmentgroup--sm .muka-segmentgroup__icon svg {
|
|
6382
|
+
width: 16px;
|
|
6383
|
+
height: 16px;
|
|
6384
|
+
}
|
|
6385
|
+
|
|
6386
|
+
.muka-segmentgroup--icon-only.muka-segmentgroup--md .muka-segmentgroup__segment {
|
|
6387
|
+
width: 32px;
|
|
6388
|
+
height: 32px;
|
|
6389
|
+
padding: 0;
|
|
6390
|
+
}
|
|
6391
|
+
.muka-segmentgroup--icon-only.muka-segmentgroup--md .muka-segmentgroup__icon svg {
|
|
6392
|
+
width: 20px;
|
|
6393
|
+
height: 20px;
|
|
6394
|
+
}
|
|
6395
|
+
|
|
6396
|
+
.muka-segmentgroup--icon-only.muka-segmentgroup--lg .muka-segmentgroup__segment {
|
|
6397
|
+
width: 40px;
|
|
6398
|
+
height: 40px;
|
|
6399
|
+
padding: 0;
|
|
6400
|
+
}
|
|
6401
|
+
.muka-segmentgroup--icon-only.muka-segmentgroup--lg .muka-segmentgroup__icon svg {
|
|
6402
|
+
width: 24px;
|
|
6403
|
+
height: 24px;
|
|
6404
|
+
}
|
|
6405
|
+
|
|
6406
|
+
/* Icon */
|
|
6407
|
+
.muka-segmentgroup__icon {
|
|
6408
|
+
display: inline-flex;
|
|
6409
|
+
align-items: center;
|
|
6410
|
+
justify-content: center;
|
|
6411
|
+
}
|
|
6412
|
+
|
|
6413
|
+
/* Selected state */
|
|
6414
|
+
.muka-segmentgroup__segment--selected {
|
|
6415
|
+
background-color: transparent;
|
|
6416
|
+
box-shadow: none;
|
|
6417
|
+
color: var(--segmentgroup-segment-color-selected-foreground);
|
|
6418
|
+
z-index: 2; /* Highlight pill when focused is tested below */
|
|
6419
|
+
}
|
|
6420
|
+
|
|
6421
|
+
/* Hover state (only for unselected) */
|
|
6422
|
+
.muka-segmentgroup__segment:not(.muka-segmentgroup__segment--selected):not(:disabled):hover {
|
|
6423
|
+
color: var(--segmentgroup-segment-color-hover-foreground);
|
|
6424
|
+
}
|
|
6425
|
+
|
|
6426
|
+
/* Focus visible */
|
|
6427
|
+
.muka-segmentgroup__segment:focus-visible {
|
|
6428
|
+
outline: 2px solid var(--color-border-focus);
|
|
6429
|
+
outline-offset: 2px;
|
|
6430
|
+
z-index: 2;
|
|
6431
|
+
}
|
|
6432
|
+
|
|
6433
|
+
/* Disabled state */
|
|
6434
|
+
.muka-segmentgroup__segment--disabled,
|
|
6435
|
+
.muka-segmentgroup__segment:disabled {
|
|
6436
|
+
cursor: not-allowed;
|
|
6437
|
+
opacity: 0.5;
|
|
6438
|
+
}
|
|
6439
|
+
|
|
6440
|
+
/* Label */
|
|
6441
|
+
.muka-segmentgroup__label {
|
|
6442
|
+
display: inline-flex;
|
|
6443
|
+
align-items: center;
|
|
6444
|
+
white-space: nowrap;
|
|
6445
|
+
user-select: none;
|
|
6446
|
+
}
|
|
6447
|
+
|
|
6448
|
+
|
|
6449
|
+
/* Section */
|
|
6450
|
+
/* Section Component - Layout tokens (section.padding) */
|
|
6451
|
+
|
|
6452
|
+
.muka-section {
|
|
6453
|
+
box-sizing: border-box;
|
|
6454
|
+
}
|
|
6455
|
+
|
|
6456
|
+
.muka-section--padding-compact {
|
|
6457
|
+
padding-block: var(--section-padding-vertical-compact);
|
|
6458
|
+
padding-inline: var(--section-padding-horizontal-compact);
|
|
6459
|
+
}
|
|
6460
|
+
|
|
6461
|
+
.muka-section--padding-default {
|
|
6462
|
+
padding-block: var(--section-padding-vertical-default);
|
|
6463
|
+
padding-inline: var(--section-padding-horizontal-default);
|
|
6464
|
+
}
|
|
6465
|
+
|
|
6466
|
+
.muka-section--padding-spacious {
|
|
6467
|
+
padding-block: var(--section-padding-vertical-spacious);
|
|
6468
|
+
padding-inline: var(--section-padding-horizontal-spacious);
|
|
6469
|
+
}
|
|
6470
|
+
|
|
6471
|
+
|
|
6472
|
+
/* SearchInput */
|
|
6473
|
+
/* SearchInput Component Styles */
|
|
6286
6474
|
|
|
6287
6475
|
.muka-search-input {
|
|
6288
6476
|
display: flex;
|
|
@@ -6627,282 +6815,94 @@ body {
|
|
|
6627
6815
|
}
|
|
6628
6816
|
|
|
6629
6817
|
|
|
6630
|
-
/*
|
|
6631
|
-
/*
|
|
6632
|
-
|
|
6633
|
-
/* Container */
|
|
6634
|
-
.muka-segmentgroup {
|
|
6635
|
-
display: inline-flex;
|
|
6636
|
-
align-items: center;
|
|
6637
|
-
gap: 0;
|
|
6638
|
-
padding: var(--segmentgroup-container-padding);
|
|
6639
|
-
background-color: var(--segmentgroup-container-background);
|
|
6640
|
-
border-radius: var(--segmentgroup-container-radius);
|
|
6641
|
-
position: relative;
|
|
6642
|
-
transition: background-color 0.2s ease, box-shadow 0.2s ease;
|
|
6643
|
-
}
|
|
6644
|
-
|
|
6645
|
-
/* Inset shadow on container */
|
|
6646
|
-
.muka-segmentgroup::after {
|
|
6647
|
-
content: '';
|
|
6648
|
-
position: absolute;
|
|
6649
|
-
inset: 0;
|
|
6650
|
-
border-radius: inherit;
|
|
6651
|
-
box-shadow: var(--segmentgroup-container-shadow);
|
|
6652
|
-
pointer-events: none;
|
|
6653
|
-
}
|
|
6818
|
+
/* RangeSlider */
|
|
6819
|
+
/* RangeSlider Component Styles - Using Muka Design Tokens */
|
|
6654
6820
|
|
|
6655
|
-
|
|
6656
|
-
|
|
6821
|
+
.muka-range-slider {
|
|
6822
|
+
display: flex;
|
|
6823
|
+
flex-direction: column;
|
|
6824
|
+
gap: var(--spacing-1);
|
|
6657
6825
|
width: 100%;
|
|
6658
6826
|
}
|
|
6659
6827
|
|
|
6660
|
-
|
|
6661
|
-
|
|
6662
|
-
|
|
6828
|
+
/* ========================================
|
|
6829
|
+
HEADER: label group (label + info + optional) and value readout
|
|
6830
|
+
======================================== */
|
|
6663
6831
|
|
|
6664
|
-
|
|
6665
|
-
|
|
6666
|
-
|
|
6667
|
-
|
|
6668
|
-
|
|
6669
|
-
|
|
6670
|
-
margin: 0;
|
|
6671
|
-
background-color: var(--segmentgroup-segment-color-selected-background);
|
|
6672
|
-
box-shadow: var(--segmentgroup-segment-shadow-selected);
|
|
6673
|
-
transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), width 0.25s cubic-bezier(0.4, 0, 0.2, 1);
|
|
6674
|
-
z-index: 0;
|
|
6675
|
-
pointer-events: none;
|
|
6832
|
+
.muka-range-slider__header {
|
|
6833
|
+
display: flex;
|
|
6834
|
+
align-items: center;
|
|
6835
|
+
justify-content: space-between;
|
|
6836
|
+
gap: var(--spacing-2);
|
|
6837
|
+
min-height: 24px;
|
|
6676
6838
|
}
|
|
6677
6839
|
|
|
6678
|
-
|
|
6679
|
-
.muka-segmentgroup__segment {
|
|
6840
|
+
.muka-range-slider__label-group {
|
|
6680
6841
|
display: inline-flex;
|
|
6681
6842
|
align-items: center;
|
|
6682
|
-
|
|
6683
|
-
gap: var(--segmentgroup-segment-gap);
|
|
6684
|
-
border: none;
|
|
6685
|
-
background-color: var(--segmentgroup-segment-color-unselected-background);
|
|
6686
|
-
color: var(--segmentgroup-segment-color-unselected-foreground);
|
|
6687
|
-
border-radius: var(--segmentgroup-segment-radius);
|
|
6688
|
-
cursor: pointer;
|
|
6689
|
-
transition: background-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
|
|
6690
|
-
position: relative;
|
|
6691
|
-
outline: none;
|
|
6692
|
-
box-shadow: var(--segmentgroup-segment-shadow-unselected);
|
|
6693
|
-
font-family: var(--alias-font-plain-family);
|
|
6694
|
-
font-weight: var(--segmentgroup-segment-fontWeight);
|
|
6695
|
-
z-index: 1; /* Keep above pill */
|
|
6843
|
+
gap: var(--spacing-2);
|
|
6696
6844
|
}
|
|
6697
6845
|
|
|
6698
|
-
|
|
6699
|
-
|
|
6700
|
-
|
|
6846
|
+
.muka-range-slider__label {
|
|
6847
|
+
font-family: var(--text-label-md-semibold-fontFamily);
|
|
6848
|
+
font-weight: var(--text-label-md-semibold-fontWeight);
|
|
6849
|
+
font-size: var(--text-label-md-semibold-fontSize);
|
|
6850
|
+
line-height: var(--text-label-md-semibold-lineHeight);
|
|
6851
|
+
color: var(--color-text-default-default);
|
|
6701
6852
|
}
|
|
6702
|
-
|
|
6703
|
-
.muka-
|
|
6704
|
-
|
|
6853
|
+
|
|
6854
|
+
.muka-range-slider__info {
|
|
6855
|
+
color: var(--color-text-subtle-default);
|
|
6705
6856
|
}
|
|
6706
|
-
|
|
6707
|
-
|
|
6708
|
-
|
|
6857
|
+
|
|
6858
|
+
.muka-range-slider__optional {
|
|
6859
|
+
font-family: var(--text-label-sm-regular-fontFamily);
|
|
6860
|
+
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
6709
6861
|
font-size: var(--text-label-sm-regular-fontSize);
|
|
6710
|
-
line-height: var(--text-label-sm-
|
|
6862
|
+
line-height: var(--text-label-sm-regular-lineHeight);
|
|
6863
|
+
color: var(--color-text-subtle-default);
|
|
6711
6864
|
}
|
|
6712
6865
|
|
|
6713
|
-
.muka-
|
|
6714
|
-
|
|
6715
|
-
|
|
6716
|
-
.muka-segmentgroup--md .muka-segmentgroup__segment,
|
|
6717
|
-
.muka-segmentgroup--md .muka-segmentgroup__pill {
|
|
6718
|
-
border-radius: var(--border-radius-xl, 16px);
|
|
6719
|
-
}
|
|
6720
|
-
.muka-segmentgroup--md .muka-segmentgroup__segment {
|
|
6721
|
-
padding: var(--segmentgroup-segment-padding-md-y) var(--segmentgroup-segment-padding-md-x);
|
|
6866
|
+
.muka-range-slider__value {
|
|
6867
|
+
font-family: var(--text-label-md-regular-fontFamily);
|
|
6868
|
+
font-weight: var(--text-label-md-regular-fontWeight);
|
|
6722
6869
|
font-size: var(--text-label-md-regular-fontSize);
|
|
6723
|
-
line-height: var(--text-label-md-
|
|
6870
|
+
line-height: var(--text-label-md-regular-lineHeight);
|
|
6871
|
+
color: var(--color-text-default-default);
|
|
6872
|
+
font-variant-numeric: tabular-nums;
|
|
6724
6873
|
}
|
|
6725
6874
|
|
|
6726
|
-
.muka-
|
|
6727
|
-
|
|
6875
|
+
.muka-range-slider__helper {
|
|
6876
|
+
margin: 0;
|
|
6877
|
+
font-family: var(--text-body-sm-regular-fontFamily);
|
|
6878
|
+
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
6879
|
+
font-size: var(--text-body-sm-regular-fontSize);
|
|
6880
|
+
line-height: var(--text-body-sm-regular-lineHeight);
|
|
6881
|
+
color: var(--color-text-subtle-default);
|
|
6728
6882
|
}
|
|
6729
|
-
|
|
6730
|
-
|
|
6731
|
-
|
|
6883
|
+
|
|
6884
|
+
/* ========================================
|
|
6885
|
+
TRACK + THUMB
|
|
6886
|
+
Native range input, restyled. A thick sunken track holds an accent fill up to
|
|
6887
|
+
the current value, with a circular grip handle. The filled portion is driven
|
|
6888
|
+
by the inline --muka-range-fill custom property (set from the component value).
|
|
6889
|
+
======================================== */
|
|
6890
|
+
|
|
6891
|
+
/* Size variants: track height, thumb diameter and grip geometry */
|
|
6892
|
+
.muka-range-slider--sm {
|
|
6893
|
+
--muka-range-track-h: 12px;
|
|
6894
|
+
--muka-range-thumb: 24px;
|
|
6895
|
+
--muka-range-grip-h: 9px;
|
|
6732
6896
|
}
|
|
6733
|
-
.muka-
|
|
6734
|
-
|
|
6735
|
-
|
|
6736
|
-
|
|
6737
|
-
line-height: var(--text-label-lg-leading);
|
|
6897
|
+
.muka-range-slider--md {
|
|
6898
|
+
--muka-range-track-h: 16px;
|
|
6899
|
+
--muka-range-thumb: 32px;
|
|
6900
|
+
--muka-range-grip-h: 12px;
|
|
6738
6901
|
}
|
|
6739
|
-
|
|
6740
|
-
|
|
6741
|
-
|
|
6742
|
-
|
|
6743
|
-
}
|
|
6744
|
-
|
|
6745
|
-
.muka-segmentgroup--icon-only.muka-segmentgroup--sm .muka-segmentgroup__segment {
|
|
6746
|
-
width: 24px;
|
|
6747
|
-
height: 24px;
|
|
6748
|
-
padding: 0;
|
|
6749
|
-
}
|
|
6750
|
-
.muka-segmentgroup--icon-only.muka-segmentgroup--sm .muka-segmentgroup__icon svg {
|
|
6751
|
-
width: 16px;
|
|
6752
|
-
height: 16px;
|
|
6753
|
-
}
|
|
6754
|
-
|
|
6755
|
-
.muka-segmentgroup--icon-only.muka-segmentgroup--md .muka-segmentgroup__segment {
|
|
6756
|
-
width: 32px;
|
|
6757
|
-
height: 32px;
|
|
6758
|
-
padding: 0;
|
|
6759
|
-
}
|
|
6760
|
-
.muka-segmentgroup--icon-only.muka-segmentgroup--md .muka-segmentgroup__icon svg {
|
|
6761
|
-
width: 20px;
|
|
6762
|
-
height: 20px;
|
|
6763
|
-
}
|
|
6764
|
-
|
|
6765
|
-
.muka-segmentgroup--icon-only.muka-segmentgroup--lg .muka-segmentgroup__segment {
|
|
6766
|
-
width: 40px;
|
|
6767
|
-
height: 40px;
|
|
6768
|
-
padding: 0;
|
|
6769
|
-
}
|
|
6770
|
-
.muka-segmentgroup--icon-only.muka-segmentgroup--lg .muka-segmentgroup__icon svg {
|
|
6771
|
-
width: 24px;
|
|
6772
|
-
height: 24px;
|
|
6773
|
-
}
|
|
6774
|
-
|
|
6775
|
-
/* Icon */
|
|
6776
|
-
.muka-segmentgroup__icon {
|
|
6777
|
-
display: inline-flex;
|
|
6778
|
-
align-items: center;
|
|
6779
|
-
justify-content: center;
|
|
6780
|
-
}
|
|
6781
|
-
|
|
6782
|
-
/* Selected state */
|
|
6783
|
-
.muka-segmentgroup__segment--selected {
|
|
6784
|
-
background-color: transparent;
|
|
6785
|
-
box-shadow: none;
|
|
6786
|
-
color: var(--segmentgroup-segment-color-selected-foreground);
|
|
6787
|
-
z-index: 2; /* Highlight pill when focused is tested below */
|
|
6788
|
-
}
|
|
6789
|
-
|
|
6790
|
-
/* Hover state (only for unselected) */
|
|
6791
|
-
.muka-segmentgroup__segment:not(.muka-segmentgroup__segment--selected):not(:disabled):hover {
|
|
6792
|
-
color: var(--segmentgroup-segment-color-hover-foreground);
|
|
6793
|
-
}
|
|
6794
|
-
|
|
6795
|
-
/* Focus visible */
|
|
6796
|
-
.muka-segmentgroup__segment:focus-visible {
|
|
6797
|
-
outline: 2px solid var(--color-border-focus);
|
|
6798
|
-
outline-offset: 2px;
|
|
6799
|
-
z-index: 2;
|
|
6800
|
-
}
|
|
6801
|
-
|
|
6802
|
-
/* Disabled state */
|
|
6803
|
-
.muka-segmentgroup__segment--disabled,
|
|
6804
|
-
.muka-segmentgroup__segment:disabled {
|
|
6805
|
-
cursor: not-allowed;
|
|
6806
|
-
opacity: 0.5;
|
|
6807
|
-
}
|
|
6808
|
-
|
|
6809
|
-
/* Label */
|
|
6810
|
-
.muka-segmentgroup__label {
|
|
6811
|
-
display: inline-flex;
|
|
6812
|
-
align-items: center;
|
|
6813
|
-
white-space: nowrap;
|
|
6814
|
-
user-select: none;
|
|
6815
|
-
}
|
|
6816
|
-
|
|
6817
|
-
|
|
6818
|
-
/* RangeSlider */
|
|
6819
|
-
/* RangeSlider Component Styles - Using Muka Design Tokens */
|
|
6820
|
-
|
|
6821
|
-
.muka-range-slider {
|
|
6822
|
-
display: flex;
|
|
6823
|
-
flex-direction: column;
|
|
6824
|
-
gap: var(--spacing-1);
|
|
6825
|
-
width: 100%;
|
|
6826
|
-
}
|
|
6827
|
-
|
|
6828
|
-
/* ========================================
|
|
6829
|
-
HEADER: label group (label + info + optional) and value readout
|
|
6830
|
-
======================================== */
|
|
6831
|
-
|
|
6832
|
-
.muka-range-slider__header {
|
|
6833
|
-
display: flex;
|
|
6834
|
-
align-items: center;
|
|
6835
|
-
justify-content: space-between;
|
|
6836
|
-
gap: var(--spacing-2);
|
|
6837
|
-
min-height: 24px;
|
|
6838
|
-
}
|
|
6839
|
-
|
|
6840
|
-
.muka-range-slider__label-group {
|
|
6841
|
-
display: inline-flex;
|
|
6842
|
-
align-items: center;
|
|
6843
|
-
gap: var(--spacing-2);
|
|
6844
|
-
}
|
|
6845
|
-
|
|
6846
|
-
.muka-range-slider__label {
|
|
6847
|
-
font-family: var(--text-label-md-semibold-fontFamily);
|
|
6848
|
-
font-weight: var(--text-label-md-semibold-fontWeight);
|
|
6849
|
-
font-size: var(--text-label-md-semibold-fontSize);
|
|
6850
|
-
line-height: var(--text-label-md-semibold-lineHeight);
|
|
6851
|
-
color: var(--color-text-default-default);
|
|
6852
|
-
}
|
|
6853
|
-
|
|
6854
|
-
.muka-range-slider__info {
|
|
6855
|
-
color: var(--color-text-subtle-default);
|
|
6856
|
-
}
|
|
6857
|
-
|
|
6858
|
-
.muka-range-slider__optional {
|
|
6859
|
-
font-family: var(--text-label-sm-regular-fontFamily);
|
|
6860
|
-
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
6861
|
-
font-size: var(--text-label-sm-regular-fontSize);
|
|
6862
|
-
line-height: var(--text-label-sm-regular-lineHeight);
|
|
6863
|
-
color: var(--color-text-subtle-default);
|
|
6864
|
-
}
|
|
6865
|
-
|
|
6866
|
-
.muka-range-slider__value {
|
|
6867
|
-
font-family: var(--text-label-md-regular-fontFamily);
|
|
6868
|
-
font-weight: var(--text-label-md-regular-fontWeight);
|
|
6869
|
-
font-size: var(--text-label-md-regular-fontSize);
|
|
6870
|
-
line-height: var(--text-label-md-regular-lineHeight);
|
|
6871
|
-
color: var(--color-text-default-default);
|
|
6872
|
-
font-variant-numeric: tabular-nums;
|
|
6873
|
-
}
|
|
6874
|
-
|
|
6875
|
-
.muka-range-slider__helper {
|
|
6876
|
-
margin: 0;
|
|
6877
|
-
font-family: var(--text-body-sm-regular-fontFamily);
|
|
6878
|
-
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
6879
|
-
font-size: var(--text-body-sm-regular-fontSize);
|
|
6880
|
-
line-height: var(--text-body-sm-regular-lineHeight);
|
|
6881
|
-
color: var(--color-text-subtle-default);
|
|
6882
|
-
}
|
|
6883
|
-
|
|
6884
|
-
/* ========================================
|
|
6885
|
-
TRACK + THUMB
|
|
6886
|
-
Native range input, restyled. A thick sunken track holds an accent fill up to
|
|
6887
|
-
the current value, with a circular grip handle. The filled portion is driven
|
|
6888
|
-
by the inline --muka-range-fill custom property (set from the component value).
|
|
6889
|
-
======================================== */
|
|
6890
|
-
|
|
6891
|
-
/* Size variants: track height, thumb diameter and grip geometry */
|
|
6892
|
-
.muka-range-slider--sm {
|
|
6893
|
-
--muka-range-track-h: 12px;
|
|
6894
|
-
--muka-range-thumb: 24px;
|
|
6895
|
-
--muka-range-grip-h: 9px;
|
|
6896
|
-
}
|
|
6897
|
-
.muka-range-slider--md {
|
|
6898
|
-
--muka-range-track-h: 16px;
|
|
6899
|
-
--muka-range-thumb: 32px;
|
|
6900
|
-
--muka-range-grip-h: 12px;
|
|
6901
|
-
}
|
|
6902
|
-
.muka-range-slider--lg {
|
|
6903
|
-
--muka-range-track-h: 20px;
|
|
6904
|
-
--muka-range-thumb: 40px;
|
|
6905
|
-
--muka-range-grip-h: 15px;
|
|
6902
|
+
.muka-range-slider--lg {
|
|
6903
|
+
--muka-range-track-h: 20px;
|
|
6904
|
+
--muka-range-thumb: 40px;
|
|
6905
|
+
--muka-range-grip-h: 15px;
|
|
6906
6906
|
}
|
|
6907
6907
|
|
|
6908
6908
|
.muka-range-slider__bar {
|
|
@@ -7031,211 +7031,68 @@ body {
|
|
|
7031
7031
|
}
|
|
7032
7032
|
|
|
7033
7033
|
|
|
7034
|
-
/*
|
|
7035
|
-
/*
|
|
7034
|
+
/* Radio */
|
|
7035
|
+
/* Radio Component Styles - Using Muka Design Tokens */
|
|
7036
7036
|
|
|
7037
|
-
/*
|
|
7038
|
-
.muka-radio
|
|
7039
|
-
display: flex;
|
|
7037
|
+
/* Wrapper - clickable label container */
|
|
7038
|
+
.muka-radio {
|
|
7039
|
+
display: inline-flex;
|
|
7040
7040
|
align-items: center;
|
|
7041
7041
|
gap: var(--spacing-4);
|
|
7042
|
-
padding: var(--spacing-4);
|
|
7043
|
-
border: var(--border-width-regular) solid var(--input-field-color-default-border);
|
|
7044
|
-
border-radius: var(--input-field-radius-lg);
|
|
7045
|
-
background-color: var(--color-surface-level3);
|
|
7046
7042
|
cursor: pointer;
|
|
7047
|
-
|
|
7048
|
-
overflow: hidden;
|
|
7049
|
-
box-sizing: border-box;
|
|
7043
|
+
user-select: none;
|
|
7050
7044
|
}
|
|
7051
7045
|
|
|
7052
|
-
.muka-radio
|
|
7046
|
+
.muka-radio--disabled {
|
|
7053
7047
|
cursor: not-allowed;
|
|
7054
7048
|
opacity: 0.6;
|
|
7055
7049
|
}
|
|
7056
7050
|
|
|
7057
|
-
/*
|
|
7058
|
-
.muka-
|
|
7059
|
-
border-width: var(--border-width-bold);
|
|
7060
|
-
border-color: var(--color-action-default);
|
|
7061
|
-
}
|
|
7062
|
-
|
|
7063
|
-
/* Vertical layout */
|
|
7064
|
-
.muka-radio-tile--vertical {
|
|
7065
|
-
flex-direction: column;
|
|
7066
|
-
align-items: center;
|
|
7067
|
-
gap: var(--spacing-2);
|
|
7051
|
+
/* Control container */
|
|
7052
|
+
.muka-radio__control {
|
|
7068
7053
|
position: relative;
|
|
7069
|
-
|
|
7070
|
-
|
|
7071
|
-
|
|
7072
|
-
/* Radio container */
|
|
7073
|
-
.muka-radio-tile__radio {
|
|
7054
|
+
display: inline-flex;
|
|
7055
|
+
align-items: center;
|
|
7056
|
+
justify-content: center;
|
|
7074
7057
|
flex-shrink: 0;
|
|
7075
7058
|
}
|
|
7076
7059
|
|
|
7077
|
-
/*
|
|
7078
|
-
.muka-
|
|
7060
|
+
/* Hidden native input */
|
|
7061
|
+
.muka-radio__input {
|
|
7079
7062
|
position: absolute;
|
|
7080
|
-
|
|
7081
|
-
|
|
7082
|
-
|
|
7083
|
-
|
|
7084
|
-
|
|
7085
|
-
|
|
7086
|
-
|
|
7087
|
-
|
|
7063
|
+
width: 1px;
|
|
7064
|
+
height: 1px;
|
|
7065
|
+
padding: 0;
|
|
7066
|
+
margin: -1px;
|
|
7067
|
+
overflow: hidden;
|
|
7068
|
+
clip: rect(0, 0, 0, 0);
|
|
7069
|
+
white-space: nowrap;
|
|
7070
|
+
border: 0;
|
|
7088
7071
|
}
|
|
7089
7072
|
|
|
7090
|
-
/*
|
|
7091
|
-
.muka-
|
|
7073
|
+
/* Visual indicator (circle) */
|
|
7074
|
+
.muka-radio__indicator {
|
|
7092
7075
|
display: flex;
|
|
7093
7076
|
align-items: center;
|
|
7094
7077
|
justify-content: center;
|
|
7095
|
-
|
|
7096
|
-
|
|
7097
|
-
|
|
7098
|
-
color: var(--color-
|
|
7078
|
+
width: var(--radio-size-default);
|
|
7079
|
+
height: var(--radio-size-default);
|
|
7080
|
+
border-radius: var(--border-radius-full);
|
|
7081
|
+
background-color: var(--radio-color-default-background);
|
|
7082
|
+
border: var(--border-width-regular) solid var(--radio-color-default-border);
|
|
7083
|
+
transition: all 0.15s ease;
|
|
7084
|
+
box-shadow: inset 0 1px 2px 0 rgba(26, 26, 26, 0.15);
|
|
7099
7085
|
}
|
|
7100
7086
|
|
|
7101
|
-
|
|
7102
|
-
|
|
7103
|
-
|
|
7087
|
+
/* Size variants */
|
|
7088
|
+
.muka-radio--sm .muka-radio__indicator {
|
|
7089
|
+
width: var(--radio-size-sm);
|
|
7090
|
+
height: var(--radio-size-sm);
|
|
7104
7091
|
}
|
|
7105
7092
|
|
|
7106
|
-
|
|
7107
|
-
|
|
7108
|
-
|
|
7109
|
-
overflow: hidden;
|
|
7110
|
-
border-radius: var(--border-radius-sm);
|
|
7111
|
-
}
|
|
7112
|
-
|
|
7113
|
-
.muka-radio-tile__image img {
|
|
7114
|
-
display: block;
|
|
7115
|
-
width: 100%;
|
|
7116
|
-
height: 100%;
|
|
7117
|
-
object-fit: cover;
|
|
7118
|
-
}
|
|
7119
|
-
|
|
7120
|
-
/* Horizontal image sizing */
|
|
7121
|
-
.muka-radio-tile__image--horizontal {
|
|
7122
|
-
width: 40px;
|
|
7123
|
-
height: 40px;
|
|
7124
|
-
}
|
|
7125
|
-
|
|
7126
|
-
/* Vertical image sizing */
|
|
7127
|
-
.muka-radio-tile--vertical .muka-radio-tile__image {
|
|
7128
|
-
width: 100%;
|
|
7129
|
-
aspect-ratio: 4/3;
|
|
7130
|
-
}
|
|
7131
|
-
|
|
7132
|
-
/* Content container */
|
|
7133
|
-
.muka-radio-tile__content {
|
|
7134
|
-
display: flex;
|
|
7135
|
-
flex-direction: column;
|
|
7136
|
-
flex: 1;
|
|
7137
|
-
min-width: 0;
|
|
7138
|
-
gap: var(--spacing-1);
|
|
7139
|
-
}
|
|
7140
|
-
|
|
7141
|
-
/* Label */
|
|
7142
|
-
.muka-radio-tile__label {
|
|
7143
|
-
font-family: var(--text-body-lg-regular-fontFamily);
|
|
7144
|
-
font-weight: var(--text-body-lg-regular-fontWeight);
|
|
7145
|
-
font-size: var(--text-body-lg-regular-fontSize);
|
|
7146
|
-
line-height: var(--text-body-lg-regular-lineHeight);
|
|
7147
|
-
color: var(--color-text-default-default);
|
|
7148
|
-
}
|
|
7149
|
-
|
|
7150
|
-
.muka-radio-tile__label--bold {
|
|
7151
|
-
font-family: var(--text-label-lg-semibold-fontFamily);
|
|
7152
|
-
font-weight: var(--text-label-lg-semibold-fontWeight);
|
|
7153
|
-
font-size: var(--text-label-lg-semibold-fontSize);
|
|
7154
|
-
line-height: var(--text-label-lg-semibold-lineHeight);
|
|
7155
|
-
}
|
|
7156
|
-
|
|
7157
|
-
.muka-radio-tile__label--center {
|
|
7158
|
-
text-align: center;
|
|
7159
|
-
}
|
|
7160
|
-
|
|
7161
|
-
/* Caption */
|
|
7162
|
-
.muka-radio-tile__caption {
|
|
7163
|
-
font-family: var(--text-body-base-regular-fontFamily);
|
|
7164
|
-
font-weight: var(--text-body-base-regular-fontWeight);
|
|
7165
|
-
font-size: var(--text-body-base-regular-fontSize);
|
|
7166
|
-
line-height: var(--text-body-base-regular-lineHeight);
|
|
7167
|
-
color: var(--color-text-subtle-default);
|
|
7168
|
-
}
|
|
7169
|
-
|
|
7170
|
-
/* Disabled states */
|
|
7171
|
-
.muka-radio-tile--disabled .muka-radio-tile__label,
|
|
7172
|
-
.muka-radio-tile--disabled .muka-radio-tile__icon {
|
|
7173
|
-
color: var(--color-text-subtle-default);
|
|
7174
|
-
}
|
|
7175
|
-
|
|
7176
|
-
|
|
7177
|
-
/* Radio */
|
|
7178
|
-
/* Radio Component Styles - Using Muka Design Tokens */
|
|
7179
|
-
|
|
7180
|
-
/* Wrapper - clickable label container */
|
|
7181
|
-
.muka-radio {
|
|
7182
|
-
display: inline-flex;
|
|
7183
|
-
align-items: center;
|
|
7184
|
-
gap: var(--spacing-4);
|
|
7185
|
-
cursor: pointer;
|
|
7186
|
-
user-select: none;
|
|
7187
|
-
}
|
|
7188
|
-
|
|
7189
|
-
.muka-radio--disabled {
|
|
7190
|
-
cursor: not-allowed;
|
|
7191
|
-
opacity: 0.6;
|
|
7192
|
-
}
|
|
7193
|
-
|
|
7194
|
-
/* Control container */
|
|
7195
|
-
.muka-radio__control {
|
|
7196
|
-
position: relative;
|
|
7197
|
-
display: inline-flex;
|
|
7198
|
-
align-items: center;
|
|
7199
|
-
justify-content: center;
|
|
7200
|
-
flex-shrink: 0;
|
|
7201
|
-
}
|
|
7202
|
-
|
|
7203
|
-
/* Hidden native input */
|
|
7204
|
-
.muka-radio__input {
|
|
7205
|
-
position: absolute;
|
|
7206
|
-
width: 1px;
|
|
7207
|
-
height: 1px;
|
|
7208
|
-
padding: 0;
|
|
7209
|
-
margin: -1px;
|
|
7210
|
-
overflow: hidden;
|
|
7211
|
-
clip: rect(0, 0, 0, 0);
|
|
7212
|
-
white-space: nowrap;
|
|
7213
|
-
border: 0;
|
|
7214
|
-
}
|
|
7215
|
-
|
|
7216
|
-
/* Visual indicator (circle) */
|
|
7217
|
-
.muka-radio__indicator {
|
|
7218
|
-
display: flex;
|
|
7219
|
-
align-items: center;
|
|
7220
|
-
justify-content: center;
|
|
7221
|
-
width: var(--radio-size-default);
|
|
7222
|
-
height: var(--radio-size-default);
|
|
7223
|
-
border-radius: var(--border-radius-full);
|
|
7224
|
-
background-color: var(--radio-color-default-background);
|
|
7225
|
-
border: var(--border-width-regular) solid var(--radio-color-default-border);
|
|
7226
|
-
transition: all 0.15s ease;
|
|
7227
|
-
box-shadow: inset 0 1px 2px 0 rgba(26, 26, 26, 0.15);
|
|
7228
|
-
}
|
|
7229
|
-
|
|
7230
|
-
/* Size variants */
|
|
7231
|
-
.muka-radio--sm .muka-radio__indicator {
|
|
7232
|
-
width: var(--radio-size-sm);
|
|
7233
|
-
height: var(--radio-size-sm);
|
|
7234
|
-
}
|
|
7235
|
-
|
|
7236
|
-
.muka-radio--lg .muka-radio__indicator {
|
|
7237
|
-
width: var(--radio-size-lg);
|
|
7238
|
-
height: var(--radio-size-lg);
|
|
7093
|
+
.muka-radio--lg .muka-radio__indicator {
|
|
7094
|
+
width: var(--radio-size-lg);
|
|
7095
|
+
height: var(--radio-size-lg);
|
|
7239
7096
|
}
|
|
7240
7097
|
|
|
7241
7098
|
/* Inner dot (shown when checked) */
|
|
@@ -7929,110 +7786,253 @@ button.muka-progress-tracker__tab:focus-visible {
|
|
|
7929
7786
|
}
|
|
7930
7787
|
|
|
7931
7788
|
|
|
7932
|
-
/*
|
|
7933
|
-
/*
|
|
7789
|
+
/* RadioTile */
|
|
7790
|
+
/* RadioTile Component Styles - Using Muka Design Tokens */
|
|
7934
7791
|
|
|
7935
|
-
/*
|
|
7936
|
-
.muka-
|
|
7937
|
-
container-type: inline-size;
|
|
7792
|
+
/* Base tile styles - horizontal */
|
|
7793
|
+
.muka-radio-tile {
|
|
7938
7794
|
display: flex;
|
|
7939
|
-
|
|
7940
|
-
|
|
7941
|
-
|
|
7942
|
-
|
|
7943
|
-
|
|
7944
|
-
|
|
7945
|
-
|
|
7946
|
-
|
|
7947
|
-
|
|
7948
|
-
|
|
7949
|
-
.muka-progress-accordeon--past.muka-progress-accordeon--expanded,
|
|
7950
|
-
.muka-progress-accordeon--upcoming.muka-progress-accordeon--expanded {
|
|
7951
|
-
gap: var(--spacing-6);
|
|
7795
|
+
align-items: center;
|
|
7796
|
+
gap: var(--spacing-4);
|
|
7797
|
+
padding: var(--spacing-4);
|
|
7798
|
+
border: var(--border-width-regular) solid var(--input-field-color-default-border);
|
|
7799
|
+
border-radius: var(--input-field-radius-lg);
|
|
7800
|
+
background-color: var(--color-surface-level3);
|
|
7801
|
+
cursor: pointer;
|
|
7802
|
+
transition: border-color 0.15s ease, border-width 0.15s ease;
|
|
7803
|
+
overflow: hidden;
|
|
7804
|
+
box-sizing: border-box;
|
|
7952
7805
|
}
|
|
7953
7806
|
|
|
7954
|
-
.muka-
|
|
7955
|
-
|
|
7956
|
-
.
|
|
7957
|
-
.muka-progress-accordeon--current.muka-progress-accordeon--collapsed {
|
|
7958
|
-
gap: var(--spacing-8);
|
|
7807
|
+
.muka-radio-tile--disabled {
|
|
7808
|
+
cursor: not-allowed;
|
|
7809
|
+
opacity: 0.6;
|
|
7959
7810
|
}
|
|
7960
7811
|
|
|
7961
|
-
/*
|
|
7962
|
-
|
|
7963
|
-
|
|
7964
|
-
|
|
7965
|
-
display: flex;
|
|
7966
|
-
flex-direction: column;
|
|
7967
|
-
gap: 0;
|
|
7968
|
-
width: 100%;
|
|
7812
|
+
/* Selected state */
|
|
7813
|
+
.muka-radio-tile[data-checked] {
|
|
7814
|
+
border-width: var(--border-width-bold);
|
|
7815
|
+
border-color: var(--color-action-default);
|
|
7969
7816
|
}
|
|
7970
7817
|
|
|
7971
|
-
/*
|
|
7972
|
-
.muka-
|
|
7973
|
-
display: flex;
|
|
7818
|
+
/* Vertical layout */
|
|
7819
|
+
.muka-radio-tile--vertical {
|
|
7974
7820
|
flex-direction: column;
|
|
7975
|
-
|
|
7976
|
-
|
|
7977
|
-
|
|
7978
|
-
|
|
7979
|
-
.muka-progress-accordeon__header-row {
|
|
7980
|
-
display: flex;
|
|
7981
|
-
align-items: flex-start;
|
|
7982
|
-
gap: var(--spacing-3);
|
|
7983
|
-
width: 100%;
|
|
7984
|
-
min-height: 40px;
|
|
7821
|
+
align-items: center;
|
|
7822
|
+
gap: var(--spacing-2);
|
|
7823
|
+
position: relative;
|
|
7824
|
+
width: 160px;
|
|
7985
7825
|
}
|
|
7986
7826
|
|
|
7987
|
-
|
|
7988
|
-
|
|
7989
|
-
flex:
|
|
7990
|
-
min-width: 0;
|
|
7991
|
-
align-items: flex-start;
|
|
7992
|
-
gap: var(--spacing-4);
|
|
7827
|
+
/* Radio container */
|
|
7828
|
+
.muka-radio-tile__radio {
|
|
7829
|
+
flex-shrink: 0;
|
|
7993
7830
|
}
|
|
7994
7831
|
|
|
7995
|
-
/*
|
|
7996
|
-
|
|
7997
|
-
|
|
7998
|
-
|
|
7999
|
-
|
|
7832
|
+
/* Corner-positioned radio for vertical */
|
|
7833
|
+
.muka-radio-tile__radio--corner {
|
|
7834
|
+
position: absolute;
|
|
7835
|
+
top: var(--spacing-4);
|
|
7836
|
+
left: var(--spacing-4);
|
|
8000
7837
|
}
|
|
8001
7838
|
|
|
8002
|
-
|
|
8003
|
-
|
|
8004
|
-
|
|
8005
|
-
|
|
8006
|
-
gap: var(--spacing-3);
|
|
7839
|
+
/* Adjust corner position when selected (border is thicker) */
|
|
7840
|
+
.muka-radio-tile[data-checked] .muka-radio-tile__radio--corner {
|
|
7841
|
+
top: calc(var(--spacing-4) - 1px);
|
|
7842
|
+
left: calc(var(--spacing-4) - 1px);
|
|
8007
7843
|
}
|
|
8008
7844
|
|
|
8009
|
-
/*
|
|
8010
|
-
.muka-
|
|
8011
|
-
width: 32px;
|
|
8012
|
-
height: 32px;
|
|
8013
|
-
flex-shrink: 0;
|
|
8014
|
-
border-radius: var(--border-radius-full);
|
|
7845
|
+
/* Icon */
|
|
7846
|
+
.muka-radio-tile__icon {
|
|
8015
7847
|
display: flex;
|
|
8016
7848
|
align-items: center;
|
|
8017
7849
|
justify-content: center;
|
|
7850
|
+
flex-shrink: 0;
|
|
7851
|
+
width: var(--icon-size-default);
|
|
7852
|
+
height: var(--icon-size-default);
|
|
7853
|
+
color: var(--color-text-default-default);
|
|
8018
7854
|
}
|
|
8019
7855
|
|
|
8020
|
-
|
|
8021
|
-
|
|
8022
|
-
|
|
8023
|
-
color: var(--color-text-default-inverse);
|
|
7856
|
+
.muka-radio-tile__icon svg {
|
|
7857
|
+
width: 100%;
|
|
7858
|
+
height: 100%;
|
|
8024
7859
|
}
|
|
8025
7860
|
|
|
8026
|
-
/*
|
|
8027
|
-
.muka-
|
|
8028
|
-
|
|
8029
|
-
|
|
7861
|
+
/* Image */
|
|
7862
|
+
.muka-radio-tile__image {
|
|
7863
|
+
flex-shrink: 0;
|
|
7864
|
+
overflow: hidden;
|
|
7865
|
+
border-radius: var(--border-radius-sm);
|
|
8030
7866
|
}
|
|
8031
7867
|
|
|
8032
|
-
|
|
8033
|
-
|
|
8034
|
-
|
|
8035
|
-
|
|
7868
|
+
.muka-radio-tile__image img {
|
|
7869
|
+
display: block;
|
|
7870
|
+
width: 100%;
|
|
7871
|
+
height: 100%;
|
|
7872
|
+
object-fit: cover;
|
|
7873
|
+
}
|
|
7874
|
+
|
|
7875
|
+
/* Horizontal image sizing */
|
|
7876
|
+
.muka-radio-tile__image--horizontal {
|
|
7877
|
+
width: 40px;
|
|
7878
|
+
height: 40px;
|
|
7879
|
+
}
|
|
7880
|
+
|
|
7881
|
+
/* Vertical image sizing */
|
|
7882
|
+
.muka-radio-tile--vertical .muka-radio-tile__image {
|
|
7883
|
+
width: 100%;
|
|
7884
|
+
aspect-ratio: 4/3;
|
|
7885
|
+
}
|
|
7886
|
+
|
|
7887
|
+
/* Content container */
|
|
7888
|
+
.muka-radio-tile__content {
|
|
7889
|
+
display: flex;
|
|
7890
|
+
flex-direction: column;
|
|
7891
|
+
flex: 1;
|
|
7892
|
+
min-width: 0;
|
|
7893
|
+
gap: var(--spacing-1);
|
|
7894
|
+
}
|
|
7895
|
+
|
|
7896
|
+
/* Label */
|
|
7897
|
+
.muka-radio-tile__label {
|
|
7898
|
+
font-family: var(--text-body-lg-regular-fontFamily);
|
|
7899
|
+
font-weight: var(--text-body-lg-regular-fontWeight);
|
|
7900
|
+
font-size: var(--text-body-lg-regular-fontSize);
|
|
7901
|
+
line-height: var(--text-body-lg-regular-lineHeight);
|
|
7902
|
+
color: var(--color-text-default-default);
|
|
7903
|
+
}
|
|
7904
|
+
|
|
7905
|
+
.muka-radio-tile__label--bold {
|
|
7906
|
+
font-family: var(--text-label-lg-semibold-fontFamily);
|
|
7907
|
+
font-weight: var(--text-label-lg-semibold-fontWeight);
|
|
7908
|
+
font-size: var(--text-label-lg-semibold-fontSize);
|
|
7909
|
+
line-height: var(--text-label-lg-semibold-lineHeight);
|
|
7910
|
+
}
|
|
7911
|
+
|
|
7912
|
+
.muka-radio-tile__label--center {
|
|
7913
|
+
text-align: center;
|
|
7914
|
+
}
|
|
7915
|
+
|
|
7916
|
+
/* Caption */
|
|
7917
|
+
.muka-radio-tile__caption {
|
|
7918
|
+
font-family: var(--text-body-base-regular-fontFamily);
|
|
7919
|
+
font-weight: var(--text-body-base-regular-fontWeight);
|
|
7920
|
+
font-size: var(--text-body-base-regular-fontSize);
|
|
7921
|
+
line-height: var(--text-body-base-regular-lineHeight);
|
|
7922
|
+
color: var(--color-text-subtle-default);
|
|
7923
|
+
}
|
|
7924
|
+
|
|
7925
|
+
/* Disabled states */
|
|
7926
|
+
.muka-radio-tile--disabled .muka-radio-tile__label,
|
|
7927
|
+
.muka-radio-tile--disabled .muka-radio-tile__icon {
|
|
7928
|
+
color: var(--color-text-subtle-default);
|
|
7929
|
+
}
|
|
7930
|
+
|
|
7931
|
+
|
|
7932
|
+
/* ProgressAccordeon */
|
|
7933
|
+
/* ProgressAccordeon Component Styles — Using Muka Design Tokens */
|
|
7934
|
+
|
|
7935
|
+
/* ─── Root ──────────────────────────────────────────────── */
|
|
7936
|
+
.muka-progress-accordeon {
|
|
7937
|
+
container-type: inline-size;
|
|
7938
|
+
display: flex;
|
|
7939
|
+
flex-direction: column;
|
|
7940
|
+
align-items: stretch;
|
|
7941
|
+
width: 100%;
|
|
7942
|
+
/* Top padding provides the vertical rhythm between stacked steps */
|
|
7943
|
+
padding-top: var(--spacing-8);
|
|
7944
|
+
}
|
|
7945
|
+
|
|
7946
|
+
/* Per-state gap: content-bearing steps are tighter, header-only steps looser */
|
|
7947
|
+
.muka-progress-accordeon--current,
|
|
7948
|
+
.muka-progress-accordeon--current.muka-progress-accordeon--expanded,
|
|
7949
|
+
.muka-progress-accordeon--past.muka-progress-accordeon--expanded,
|
|
7950
|
+
.muka-progress-accordeon--upcoming.muka-progress-accordeon--expanded {
|
|
7951
|
+
gap: var(--spacing-6);
|
|
7952
|
+
}
|
|
7953
|
+
|
|
7954
|
+
.muka-progress-accordeon--upcoming,
|
|
7955
|
+
.muka-progress-accordeon--past.muka-progress-accordeon--collapsed,
|
|
7956
|
+
.muka-progress-accordeon--upcoming.muka-progress-accordeon--collapsed,
|
|
7957
|
+
.muka-progress-accordeon--current.muka-progress-accordeon--collapsed {
|
|
7958
|
+
gap: var(--spacing-8);
|
|
7959
|
+
}
|
|
7960
|
+
|
|
7961
|
+
/* Collapsible steps group header + slot. The header↔content gap lives inside the
|
|
7962
|
+
collapsing slot (as padding-top) so it collapses with the content, so the
|
|
7963
|
+
body gap itself is 0. */
|
|
7964
|
+
.muka-progress-accordeon__body {
|
|
7965
|
+
display: flex;
|
|
7966
|
+
flex-direction: column;
|
|
7967
|
+
gap: 0;
|
|
7968
|
+
width: 100%;
|
|
7969
|
+
}
|
|
7970
|
+
|
|
7971
|
+
/* ─── Header ─────────────────────────────────────────────── */
|
|
7972
|
+
.muka-progress-accordeon__header {
|
|
7973
|
+
display: flex;
|
|
7974
|
+
flex-direction: column;
|
|
7975
|
+
gap: var(--spacing-3);
|
|
7976
|
+
width: 100%;
|
|
7977
|
+
}
|
|
7978
|
+
|
|
7979
|
+
.muka-progress-accordeon__header-row {
|
|
7980
|
+
display: flex;
|
|
7981
|
+
align-items: flex-start;
|
|
7982
|
+
gap: var(--spacing-3);
|
|
7983
|
+
width: 100%;
|
|
7984
|
+
min-height: 40px;
|
|
7985
|
+
}
|
|
7986
|
+
|
|
7987
|
+
.muka-progress-accordeon__heading-group {
|
|
7988
|
+
display: flex;
|
|
7989
|
+
flex: 1 0 0;
|
|
7990
|
+
min-width: 0;
|
|
7991
|
+
align-items: flex-start;
|
|
7992
|
+
gap: var(--spacing-4);
|
|
7993
|
+
}
|
|
7994
|
+
|
|
7995
|
+
/* Steps with header controls (edit / chevron) are 40px tall; nudge the heading
|
|
7996
|
+
so a single line centres against the indicator + controls row. */
|
|
7997
|
+
.muka-progress-accordeon:has(.muka-progress-accordeon__controls)
|
|
7998
|
+
.muka-progress-accordeon__heading-group {
|
|
7999
|
+
padding-top: var(--spacing-1);
|
|
8000
|
+
}
|
|
8001
|
+
|
|
8002
|
+
.muka-progress-accordeon__controls {
|
|
8003
|
+
display: flex;
|
|
8004
|
+
flex-shrink: 0;
|
|
8005
|
+
align-items: center;
|
|
8006
|
+
gap: var(--spacing-3);
|
|
8007
|
+
}
|
|
8008
|
+
|
|
8009
|
+
/* ─── Step indicator (circle) ───────────────────────────── */
|
|
8010
|
+
.muka-progress-accordeon__indicator {
|
|
8011
|
+
width: 32px;
|
|
8012
|
+
height: 32px;
|
|
8013
|
+
flex-shrink: 0;
|
|
8014
|
+
border-radius: var(--border-radius-full);
|
|
8015
|
+
display: flex;
|
|
8016
|
+
align-items: center;
|
|
8017
|
+
justify-content: center;
|
|
8018
|
+
}
|
|
8019
|
+
|
|
8020
|
+
/* Past: dark accent-contrast circle with inverse checkmark */
|
|
8021
|
+
.muka-progress-accordeon__indicator--past {
|
|
8022
|
+
background-color: var(--alias-color-accent-contrast);
|
|
8023
|
+
color: var(--color-text-default-inverse);
|
|
8024
|
+
}
|
|
8025
|
+
|
|
8026
|
+
/* Current: accent circle with inverse bold number */
|
|
8027
|
+
.muka-progress-accordeon__indicator--current {
|
|
8028
|
+
background-color: var(--alias-color-accent-default);
|
|
8029
|
+
color: var(--color-text-default-inverse);
|
|
8030
|
+
}
|
|
8031
|
+
|
|
8032
|
+
/* Upcoming: sunken/muted circle with default-color number */
|
|
8033
|
+
.muka-progress-accordeon__indicator--upcoming {
|
|
8034
|
+
background-color: var(--color-surface-sunken);
|
|
8035
|
+
color: var(--color-text-default-default);
|
|
8036
8036
|
}
|
|
8037
8037
|
|
|
8038
8038
|
.muka-progress-accordeon__check-icon {
|
|
@@ -8473,6 +8473,37 @@ button.muka-progress-tracker__tab:focus-visible {
|
|
|
8473
8473
|
}
|
|
8474
8474
|
|
|
8475
8475
|
|
|
8476
|
+
/* Popover */
|
|
8477
|
+
/* Popover Component Styles */
|
|
8478
|
+
|
|
8479
|
+
.muka-popover__content {
|
|
8480
|
+
background-color: var(--color-surface-level3);
|
|
8481
|
+
border: var(--border-width-regular) solid var(--color-border-default);
|
|
8482
|
+
border-radius: var(--radius-md);
|
|
8483
|
+
padding: var(--spacing-4);
|
|
8484
|
+
box-shadow: var(--shadow-level3);
|
|
8485
|
+
max-width: 20rem;
|
|
8486
|
+
z-index: 50;
|
|
8487
|
+
animation: muka-popover-fade-in 150ms ease;
|
|
8488
|
+
}
|
|
8489
|
+
|
|
8490
|
+
@keyframes muka-popover-fade-in {
|
|
8491
|
+
from {
|
|
8492
|
+
opacity: 0;
|
|
8493
|
+
transform: scale(0.96);
|
|
8494
|
+
}
|
|
8495
|
+
to {
|
|
8496
|
+
opacity: 1;
|
|
8497
|
+
transform: scale(1);
|
|
8498
|
+
}
|
|
8499
|
+
}
|
|
8500
|
+
|
|
8501
|
+
/* Arrow */
|
|
8502
|
+
.muka-popover__arrow {
|
|
8503
|
+
fill: var(--color-surface-level3);
|
|
8504
|
+
}
|
|
8505
|
+
|
|
8506
|
+
|
|
8476
8507
|
/* PriceTag */
|
|
8477
8508
|
/* PriceTag Component Styles - Using Muka Design Tokens */
|
|
8478
8509
|
|
|
@@ -8967,173 +8998,45 @@ button.muka-progress-tracker__tab:focus-visible {
|
|
|
8967
8998
|
}
|
|
8968
8999
|
|
|
8969
9000
|
|
|
8970
|
-
/*
|
|
8971
|
-
/*
|
|
9001
|
+
/* PhotoUploader */
|
|
9002
|
+
/* PhotoUploader Component Styles - Using Muka Design Tokens */
|
|
8972
9003
|
|
|
8973
|
-
.muka-
|
|
8974
|
-
|
|
8975
|
-
|
|
8976
|
-
|
|
8977
|
-
|
|
8978
|
-
|
|
8979
|
-
max-width: 20rem;
|
|
8980
|
-
z-index: 50;
|
|
8981
|
-
animation: muka-popover-fade-in 150ms ease;
|
|
9004
|
+
.muka-photo-uploader {
|
|
9005
|
+
display: flex;
|
|
9006
|
+
flex-direction: column;
|
|
9007
|
+
align-items: flex-start;
|
|
9008
|
+
gap: var(--spacing-4);
|
|
9009
|
+
width: 100%;
|
|
8982
9010
|
}
|
|
8983
9011
|
|
|
8984
|
-
|
|
8985
|
-
|
|
8986
|
-
|
|
8987
|
-
|
|
8988
|
-
|
|
8989
|
-
|
|
8990
|
-
|
|
8991
|
-
|
|
8992
|
-
|
|
9012
|
+
/* Visually-hidden native file input */
|
|
9013
|
+
.muka-photo-uploader__input {
|
|
9014
|
+
position: absolute;
|
|
9015
|
+
width: 1px;
|
|
9016
|
+
height: 1px;
|
|
9017
|
+
padding: 0;
|
|
9018
|
+
margin: -1px;
|
|
9019
|
+
overflow: hidden;
|
|
9020
|
+
clip: rect(0, 0, 0, 0);
|
|
9021
|
+
white-space: nowrap;
|
|
9022
|
+
border: 0;
|
|
8993
9023
|
}
|
|
8994
9024
|
|
|
8995
|
-
/*
|
|
8996
|
-
.muka-
|
|
8997
|
-
|
|
9025
|
+
/* ─── Error feedback alert ────────────────────────────── */
|
|
9026
|
+
.muka-photo-uploader__alert {
|
|
9027
|
+
width: 100%;
|
|
8998
9028
|
}
|
|
8999
9029
|
|
|
9000
|
-
|
|
9001
|
-
|
|
9002
|
-
|
|
9003
|
-
|
|
9004
|
-
|
|
9005
|
-
|
|
9006
|
-
|
|
9007
|
-
|
|
9008
|
-
|
|
9009
|
-
|
|
9010
|
-
/* Legend layout */
|
|
9011
|
-
.muka-piechart--legend-right {
|
|
9012
|
-
flex-direction: row;
|
|
9013
|
-
}
|
|
9014
|
-
|
|
9015
|
-
.muka-piechart--legend-bottom {
|
|
9016
|
-
flex-direction: column;
|
|
9017
|
-
}
|
|
9018
|
-
|
|
9019
|
-
/* ========================================
|
|
9020
|
-
CHART
|
|
9021
|
-
======================================== */
|
|
9022
|
-
|
|
9023
|
-
.muka-piechart__chart {
|
|
9024
|
-
position: relative;
|
|
9025
|
-
flex-shrink: 0;
|
|
9026
|
-
}
|
|
9027
|
-
|
|
9028
|
-
.muka-piechart__chart--sm {
|
|
9029
|
-
width: var(--piechart-size-diameter-sm);
|
|
9030
|
-
height: var(--piechart-size-diameter-sm);
|
|
9031
|
-
}
|
|
9032
|
-
|
|
9033
|
-
.muka-piechart__chart--md {
|
|
9034
|
-
width: var(--piechart-size-diameter-md);
|
|
9035
|
-
height: var(--piechart-size-diameter-md);
|
|
9036
|
-
}
|
|
9037
|
-
|
|
9038
|
-
.muka-piechart__chart--lg {
|
|
9039
|
-
width: var(--piechart-size-diameter-lg);
|
|
9040
|
-
height: var(--piechart-size-diameter-lg);
|
|
9041
|
-
}
|
|
9042
|
-
|
|
9043
|
-
.muka-piechart__svg {
|
|
9044
|
-
display: block;
|
|
9045
|
-
width: 100%;
|
|
9046
|
-
height: 100%;
|
|
9047
|
-
/* Start slices at 12 o'clock instead of 3 o'clock */
|
|
9048
|
-
transform: rotate(-90deg);
|
|
9049
|
-
}
|
|
9050
|
-
|
|
9051
|
-
.muka-piechart__track {
|
|
9052
|
-
fill: none;
|
|
9053
|
-
stroke: var(--piechart-color-track);
|
|
9054
|
-
}
|
|
9055
|
-
|
|
9056
|
-
.muka-piechart__segment {
|
|
9057
|
-
fill: none;
|
|
9058
|
-
}
|
|
9059
|
-
|
|
9060
|
-
/* ========================================
|
|
9061
|
-
LEGEND
|
|
9062
|
-
======================================== */
|
|
9063
|
-
|
|
9064
|
-
.muka-piechart__legend {
|
|
9065
|
-
list-style: none;
|
|
9066
|
-
margin: 0;
|
|
9067
|
-
padding: 0;
|
|
9068
|
-
display: flex;
|
|
9069
|
-
flex-direction: column;
|
|
9070
|
-
gap: var(--spacing-1);
|
|
9071
|
-
}
|
|
9072
|
-
|
|
9073
|
-
.muka-piechart__legend-item {
|
|
9074
|
-
display: flex;
|
|
9075
|
-
align-items: center;
|
|
9076
|
-
gap: var(--spacing-2);
|
|
9077
|
-
font-family: var(--text-body-sm-regular-fontFamily);
|
|
9078
|
-
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
9079
|
-
font-size: var(--text-body-sm-regular-fontSize);
|
|
9080
|
-
line-height: var(--text-body-sm-regular-lineHeight);
|
|
9081
|
-
color: var(--color-text-default-default);
|
|
9082
|
-
}
|
|
9083
|
-
|
|
9084
|
-
.muka-piechart__swatch {
|
|
9085
|
-
flex-shrink: 0;
|
|
9086
|
-
width: var(--spacing-3);
|
|
9087
|
-
height: var(--spacing-3);
|
|
9088
|
-
border-radius: var(--border-radius-sm);
|
|
9089
|
-
}
|
|
9090
|
-
|
|
9091
|
-
.muka-piechart__legend-value {
|
|
9092
|
-
margin-left: auto;
|
|
9093
|
-
padding-left: var(--spacing-2);
|
|
9094
|
-
color: var(--color-text-subtle-default);
|
|
9095
|
-
}
|
|
9096
|
-
|
|
9097
|
-
|
|
9098
|
-
/* PhotoUploader */
|
|
9099
|
-
/* PhotoUploader Component Styles - Using Muka Design Tokens */
|
|
9100
|
-
|
|
9101
|
-
.muka-photo-uploader {
|
|
9102
|
-
display: flex;
|
|
9103
|
-
flex-direction: column;
|
|
9104
|
-
align-items: flex-start;
|
|
9105
|
-
gap: var(--spacing-4);
|
|
9106
|
-
width: 100%;
|
|
9107
|
-
}
|
|
9108
|
-
|
|
9109
|
-
/* Visually-hidden native file input */
|
|
9110
|
-
.muka-photo-uploader__input {
|
|
9111
|
-
position: absolute;
|
|
9112
|
-
width: 1px;
|
|
9113
|
-
height: 1px;
|
|
9114
|
-
padding: 0;
|
|
9115
|
-
margin: -1px;
|
|
9116
|
-
overflow: hidden;
|
|
9117
|
-
clip: rect(0, 0, 0, 0);
|
|
9118
|
-
white-space: nowrap;
|
|
9119
|
-
border: 0;
|
|
9120
|
-
}
|
|
9121
|
-
|
|
9122
|
-
/* ─── Error feedback alert ────────────────────────────── */
|
|
9123
|
-
.muka-photo-uploader__alert {
|
|
9124
|
-
width: 100%;
|
|
9125
|
-
}
|
|
9126
|
-
|
|
9127
|
-
/* ─── Thumbnail grid ──────────────────────────────────── */
|
|
9128
|
-
.muka-photo-uploader__grid {
|
|
9129
|
-
display: flex;
|
|
9130
|
-
flex-wrap: wrap;
|
|
9131
|
-
gap: var(--spacing-3);
|
|
9132
|
-
width: 100%;
|
|
9133
|
-
margin: 0;
|
|
9134
|
-
padding: 0;
|
|
9135
|
-
list-style: none;
|
|
9136
|
-
}
|
|
9030
|
+
/* ─── Thumbnail grid ──────────────────────────────────── */
|
|
9031
|
+
.muka-photo-uploader__grid {
|
|
9032
|
+
display: flex;
|
|
9033
|
+
flex-wrap: wrap;
|
|
9034
|
+
gap: var(--spacing-3);
|
|
9035
|
+
width: 100%;
|
|
9036
|
+
margin: 0;
|
|
9037
|
+
padding: 0;
|
|
9038
|
+
list-style: none;
|
|
9039
|
+
}
|
|
9137
9040
|
|
|
9138
9041
|
.muka-photo-uploader__grid-item {
|
|
9139
9042
|
margin: 0;
|
|
@@ -9262,6 +9165,103 @@ button.muka-progress-tracker__tab:focus-visible {
|
|
|
9262
9165
|
}
|
|
9263
9166
|
|
|
9264
9167
|
|
|
9168
|
+
/* PieChart */
|
|
9169
|
+
/* PieChart Component Styles - Using Muka Design Tokens */
|
|
9170
|
+
|
|
9171
|
+
.muka-piechart {
|
|
9172
|
+
display: inline-flex;
|
|
9173
|
+
align-items: center;
|
|
9174
|
+
gap: var(--spacing-4);
|
|
9175
|
+
}
|
|
9176
|
+
|
|
9177
|
+
/* Legend layout */
|
|
9178
|
+
.muka-piechart--legend-right {
|
|
9179
|
+
flex-direction: row;
|
|
9180
|
+
}
|
|
9181
|
+
|
|
9182
|
+
.muka-piechart--legend-bottom {
|
|
9183
|
+
flex-direction: column;
|
|
9184
|
+
}
|
|
9185
|
+
|
|
9186
|
+
/* ========================================
|
|
9187
|
+
CHART
|
|
9188
|
+
======================================== */
|
|
9189
|
+
|
|
9190
|
+
.muka-piechart__chart {
|
|
9191
|
+
position: relative;
|
|
9192
|
+
flex-shrink: 0;
|
|
9193
|
+
}
|
|
9194
|
+
|
|
9195
|
+
.muka-piechart__chart--sm {
|
|
9196
|
+
width: var(--piechart-size-diameter-sm);
|
|
9197
|
+
height: var(--piechart-size-diameter-sm);
|
|
9198
|
+
}
|
|
9199
|
+
|
|
9200
|
+
.muka-piechart__chart--md {
|
|
9201
|
+
width: var(--piechart-size-diameter-md);
|
|
9202
|
+
height: var(--piechart-size-diameter-md);
|
|
9203
|
+
}
|
|
9204
|
+
|
|
9205
|
+
.muka-piechart__chart--lg {
|
|
9206
|
+
width: var(--piechart-size-diameter-lg);
|
|
9207
|
+
height: var(--piechart-size-diameter-lg);
|
|
9208
|
+
}
|
|
9209
|
+
|
|
9210
|
+
.muka-piechart__svg {
|
|
9211
|
+
display: block;
|
|
9212
|
+
width: 100%;
|
|
9213
|
+
height: 100%;
|
|
9214
|
+
/* Start slices at 12 o'clock instead of 3 o'clock */
|
|
9215
|
+
transform: rotate(-90deg);
|
|
9216
|
+
}
|
|
9217
|
+
|
|
9218
|
+
.muka-piechart__track {
|
|
9219
|
+
fill: none;
|
|
9220
|
+
stroke: var(--piechart-color-track);
|
|
9221
|
+
}
|
|
9222
|
+
|
|
9223
|
+
.muka-piechart__segment {
|
|
9224
|
+
fill: none;
|
|
9225
|
+
}
|
|
9226
|
+
|
|
9227
|
+
/* ========================================
|
|
9228
|
+
LEGEND
|
|
9229
|
+
======================================== */
|
|
9230
|
+
|
|
9231
|
+
.muka-piechart__legend {
|
|
9232
|
+
list-style: none;
|
|
9233
|
+
margin: 0;
|
|
9234
|
+
padding: 0;
|
|
9235
|
+
display: flex;
|
|
9236
|
+
flex-direction: column;
|
|
9237
|
+
gap: var(--spacing-1);
|
|
9238
|
+
}
|
|
9239
|
+
|
|
9240
|
+
.muka-piechart__legend-item {
|
|
9241
|
+
display: flex;
|
|
9242
|
+
align-items: center;
|
|
9243
|
+
gap: var(--spacing-2);
|
|
9244
|
+
font-family: var(--text-body-sm-regular-fontFamily);
|
|
9245
|
+
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
9246
|
+
font-size: var(--text-body-sm-regular-fontSize);
|
|
9247
|
+
line-height: var(--text-body-sm-regular-lineHeight);
|
|
9248
|
+
color: var(--color-text-default-default);
|
|
9249
|
+
}
|
|
9250
|
+
|
|
9251
|
+
.muka-piechart__swatch {
|
|
9252
|
+
flex-shrink: 0;
|
|
9253
|
+
width: var(--spacing-3);
|
|
9254
|
+
height: var(--spacing-3);
|
|
9255
|
+
border-radius: var(--border-radius-sm);
|
|
9256
|
+
}
|
|
9257
|
+
|
|
9258
|
+
.muka-piechart__legend-value {
|
|
9259
|
+
margin-left: auto;
|
|
9260
|
+
padding-left: var(--spacing-2);
|
|
9261
|
+
color: var(--color-text-subtle-default);
|
|
9262
|
+
}
|
|
9263
|
+
|
|
9264
|
+
|
|
9265
9265
|
/* Pagination */
|
|
9266
9266
|
/* Pagination Component Styles */
|
|
9267
9267
|
|
|
@@ -9444,45 +9444,15 @@ button.muka-progress-tracker__tab:focus-visible {
|
|
|
9444
9444
|
}
|
|
9445
9445
|
|
|
9446
9446
|
|
|
9447
|
-
/*
|
|
9448
|
-
/*
|
|
9449
|
-
/* Only the prefix/suffix affixes are NumberInput-specific. */
|
|
9447
|
+
/* NavigationTransition */
|
|
9448
|
+
/* NavigationTransition Component Styles */
|
|
9450
9449
|
|
|
9451
|
-
|
|
9452
|
-
|
|
9453
|
-
|
|
9454
|
-
|
|
9455
|
-
|
|
9456
|
-
|
|
9457
|
-
font-size: var(--text-input-md-fontSize);
|
|
9458
|
-
line-height: var(--text-input-md-lineHeight);
|
|
9459
|
-
user-select: none;
|
|
9460
|
-
pointer-events: none;
|
|
9461
|
-
white-space: nowrap;
|
|
9462
|
-
}
|
|
9463
|
-
|
|
9464
|
-
/* Hide the native number spinners — affixes/step API replace them. */
|
|
9465
|
-
.muka-numberinput__field .muka-input__native::-webkit-outer-spin-button,
|
|
9466
|
-
.muka-numberinput__field .muka-input__native::-webkit-inner-spin-button {
|
|
9467
|
-
-webkit-appearance: none;
|
|
9468
|
-
margin: 0;
|
|
9469
|
-
}
|
|
9470
|
-
|
|
9471
|
-
.muka-numberinput__field .muka-input__native {
|
|
9472
|
-
-moz-appearance: textfield;
|
|
9473
|
-
appearance: textfield;
|
|
9474
|
-
}
|
|
9475
|
-
|
|
9476
|
-
|
|
9477
|
-
/* NavigationTransition */
|
|
9478
|
-
/* NavigationTransition Component Styles */
|
|
9479
|
-
|
|
9480
|
-
/* ─── Wrapper ────────────────────────────────────────── */
|
|
9481
|
-
|
|
9482
|
-
.muka-nav-transition {
|
|
9483
|
-
position: relative;
|
|
9484
|
-
height: 100vh;
|
|
9485
|
-
overflow: hidden;
|
|
9450
|
+
/* ─── Wrapper ────────────────────────────────────────── */
|
|
9451
|
+
|
|
9452
|
+
.muka-nav-transition {
|
|
9453
|
+
position: relative;
|
|
9454
|
+
height: 100vh;
|
|
9455
|
+
overflow: hidden;
|
|
9486
9456
|
}
|
|
9487
9457
|
|
|
9488
9458
|
/* Disable interaction during animation */
|
|
@@ -9502,6 +9472,36 @@ button.muka-progress-tracker__tab:focus-visible {
|
|
|
9502
9472
|
.muka-nav-transition__view--top { z-index: 2; }
|
|
9503
9473
|
|
|
9504
9474
|
|
|
9475
|
+
/* NumberInput */
|
|
9476
|
+
/* NumberInput — reuses Input field styles (../Input/Input.css). */
|
|
9477
|
+
/* Only the prefix/suffix affixes are NumberInput-specific. */
|
|
9478
|
+
|
|
9479
|
+
.muka-numberinput__addon {
|
|
9480
|
+
display: inline-flex;
|
|
9481
|
+
align-items: center;
|
|
9482
|
+
flex: none;
|
|
9483
|
+
color: var(--color-text-subtle-default);
|
|
9484
|
+
font-family: var(--text-input-md-fontFamily);
|
|
9485
|
+
font-size: var(--text-input-md-fontSize);
|
|
9486
|
+
line-height: var(--text-input-md-lineHeight);
|
|
9487
|
+
user-select: none;
|
|
9488
|
+
pointer-events: none;
|
|
9489
|
+
white-space: nowrap;
|
|
9490
|
+
}
|
|
9491
|
+
|
|
9492
|
+
/* Hide the native number spinners — affixes/step API replace them. */
|
|
9493
|
+
.muka-numberinput__field .muka-input__native::-webkit-outer-spin-button,
|
|
9494
|
+
.muka-numberinput__field .muka-input__native::-webkit-inner-spin-button {
|
|
9495
|
+
-webkit-appearance: none;
|
|
9496
|
+
margin: 0;
|
|
9497
|
+
}
|
|
9498
|
+
|
|
9499
|
+
.muka-numberinput__field .muka-input__native {
|
|
9500
|
+
-moz-appearance: textfield;
|
|
9501
|
+
appearance: textfield;
|
|
9502
|
+
}
|
|
9503
|
+
|
|
9504
|
+
|
|
9505
9505
|
/* Menu */
|
|
9506
9506
|
/* Menu Component Styles */
|
|
9507
9507
|
|
|
@@ -12099,194 +12099,6 @@ li.muka-listitem {
|
|
|
12099
12099
|
}
|
|
12100
12100
|
|
|
12101
12101
|
|
|
12102
|
-
/* Drawer */
|
|
12103
|
-
/* Drawer Component Styles */
|
|
12104
|
-
|
|
12105
|
-
/* Size tokens (local to Drawer) */
|
|
12106
|
-
.muka-drawer {
|
|
12107
|
-
--drawer-width-sm: 18rem;
|
|
12108
|
-
--drawer-width-md: 26rem;
|
|
12109
|
-
--drawer-width-lg: 36rem;
|
|
12110
|
-
}
|
|
12111
|
-
|
|
12112
|
-
/* Reset native dialog */
|
|
12113
|
-
.muka-drawer {
|
|
12114
|
-
border: none;
|
|
12115
|
-
padding: 0;
|
|
12116
|
-
max-width: none;
|
|
12117
|
-
max-height: none;
|
|
12118
|
-
background: transparent;
|
|
12119
|
-
overflow: visible;
|
|
12120
|
-
}
|
|
12121
|
-
|
|
12122
|
-
/* Backdrop */
|
|
12123
|
-
.muka-drawer::backdrop {
|
|
12124
|
-
background-color: var(--color-surface-backdrop);
|
|
12125
|
-
-webkit-backdrop-filter: blur(var(--effect-blur-backdrop));
|
|
12126
|
-
backdrop-filter: blur(var(--effect-blur-backdrop));
|
|
12127
|
-
opacity: 0;
|
|
12128
|
-
transition: opacity 200ms ease;
|
|
12129
|
-
}
|
|
12130
|
-
|
|
12131
|
-
.muka-drawer--slide-in::backdrop {
|
|
12132
|
-
opacity: 1;
|
|
12133
|
-
}
|
|
12134
|
-
|
|
12135
|
-
/* Surface */
|
|
12136
|
-
.muka-drawer__surface {
|
|
12137
|
-
display: flex;
|
|
12138
|
-
flex-direction: column;
|
|
12139
|
-
background-color: var(--color-surface-level3);
|
|
12140
|
-
box-shadow: var(--shadow-level5);
|
|
12141
|
-
height: 100%;
|
|
12142
|
-
overflow: hidden;
|
|
12143
|
-
position: fixed;
|
|
12144
|
-
transition: transform 200ms cubic-bezier(0.16, 1, 0.3, 1);
|
|
12145
|
-
}
|
|
12146
|
-
|
|
12147
|
-
/* Side positioning + initial transforms */
|
|
12148
|
-
.muka-drawer--right .muka-drawer__surface {
|
|
12149
|
-
top: 0;
|
|
12150
|
-
right: 0;
|
|
12151
|
-
bottom: 0;
|
|
12152
|
-
border-radius: var(--radius-lg) 0 0 var(--radius-lg);
|
|
12153
|
-
transform: translateX(100%);
|
|
12154
|
-
}
|
|
12155
|
-
|
|
12156
|
-
.muka-drawer--left .muka-drawer__surface {
|
|
12157
|
-
top: 0;
|
|
12158
|
-
left: 0;
|
|
12159
|
-
bottom: 0;
|
|
12160
|
-
border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
|
|
12161
|
-
transform: translateX(-100%);
|
|
12162
|
-
}
|
|
12163
|
-
|
|
12164
|
-
.muka-drawer--bottom .muka-drawer__surface {
|
|
12165
|
-
left: 0;
|
|
12166
|
-
right: 0;
|
|
12167
|
-
bottom: 0;
|
|
12168
|
-
border-radius: var(--radius-lg) var(--radius-lg) 0 0;
|
|
12169
|
-
transform: translateY(100%);
|
|
12170
|
-
}
|
|
12171
|
-
|
|
12172
|
-
.muka-drawer--top .muka-drawer__surface {
|
|
12173
|
-
left: 0;
|
|
12174
|
-
right: 0;
|
|
12175
|
-
top: 0;
|
|
12176
|
-
border-radius: 0 0 var(--radius-lg) var(--radius-lg);
|
|
12177
|
-
transform: translateY(-100%);
|
|
12178
|
-
}
|
|
12179
|
-
|
|
12180
|
-
/* Slide-in state */
|
|
12181
|
-
.muka-drawer--slide-in .muka-drawer__surface {
|
|
12182
|
-
transform: translate(0, 0);
|
|
12183
|
-
}
|
|
12184
|
-
|
|
12185
|
-
/* Width sizes (left/right) */
|
|
12186
|
-
.muka-drawer--right .muka-drawer__surface,
|
|
12187
|
-
.muka-drawer--left .muka-drawer__surface {
|
|
12188
|
-
width: var(--drawer-width-md);
|
|
12189
|
-
}
|
|
12190
|
-
|
|
12191
|
-
.muka-drawer--sm.muka-drawer--right .muka-drawer__surface,
|
|
12192
|
-
.muka-drawer--sm.muka-drawer--left .muka-drawer__surface {
|
|
12193
|
-
width: var(--drawer-width-sm);
|
|
12194
|
-
}
|
|
12195
|
-
|
|
12196
|
-
.muka-drawer--lg.muka-drawer--right .muka-drawer__surface,
|
|
12197
|
-
.muka-drawer--lg.muka-drawer--left .muka-drawer__surface {
|
|
12198
|
-
width: var(--drawer-width-lg);
|
|
12199
|
-
}
|
|
12200
|
-
|
|
12201
|
-
.muka-drawer--full.muka-drawer--right .muka-drawer__surface,
|
|
12202
|
-
.muka-drawer--full.muka-drawer--left .muka-drawer__surface {
|
|
12203
|
-
width: 100%;
|
|
12204
|
-
}
|
|
12205
|
-
|
|
12206
|
-
/* Height sizes (top/bottom) */
|
|
12207
|
-
.muka-drawer--top .muka-drawer__surface,
|
|
12208
|
-
.muka-drawer--bottom .muka-drawer__surface {
|
|
12209
|
-
height: auto;
|
|
12210
|
-
max-height: 80vh;
|
|
12211
|
-
}
|
|
12212
|
-
|
|
12213
|
-
.muka-drawer--full.muka-drawer--top .muka-drawer__surface,
|
|
12214
|
-
.muka-drawer--full.muka-drawer--bottom .muka-drawer__surface {
|
|
12215
|
-
max-height: 100vh;
|
|
12216
|
-
}
|
|
12217
|
-
|
|
12218
|
-
/* Header: the shared TopBar, raised above the scrolling body like in Dialog */
|
|
12219
|
-
.muka-drawer .muka-topbar {
|
|
12220
|
-
position: relative;
|
|
12221
|
-
z-index: 1;
|
|
12222
|
-
flex-shrink: 0;
|
|
12223
|
-
}
|
|
12224
|
-
|
|
12225
|
-
/* Body */
|
|
12226
|
-
.muka-drawer__body {
|
|
12227
|
-
flex: 1;
|
|
12228
|
-
overflow-y: auto;
|
|
12229
|
-
padding: var(--drawer-padding-x);
|
|
12230
|
-
}
|
|
12231
|
-
|
|
12232
|
-
/* Roomier body on desktop; the header and footer keep their padding */
|
|
12233
|
-
@media (min-width: 1024px) {
|
|
12234
|
-
.muka-drawer__body {
|
|
12235
|
-
padding: var(--drawer-padding-x-desktop);
|
|
12236
|
-
}
|
|
12237
|
-
}
|
|
12238
|
-
|
|
12239
|
-
/* Footer */
|
|
12240
|
-
.muka-drawer__footer {
|
|
12241
|
-
padding: var(--spacing-4);
|
|
12242
|
-
border-top: var(--border-width-regular) solid var(--color-border-default);
|
|
12243
|
-
flex-shrink: 0;
|
|
12244
|
-
}
|
|
12245
|
-
|
|
12246
|
-
/* ─── Safe areas (notch, status bar, home indicator) ────
|
|
12247
|
-
env(safe-area-inset-*) is 0 outside notched devices, so these only change
|
|
12248
|
-
an app running edge to edge (viewport-fit=cover, e.g. an iOS shell). */
|
|
12249
|
-
|
|
12250
|
-
/* Top edge. Side, top and full-height drawers reach the status bar: their
|
|
12251
|
-
TopBar pads for it; without a header the surface does. A bottom drawer
|
|
12252
|
-
stops short of it, so its TopBar must not. */
|
|
12253
|
-
.muka-drawer--right .muka-drawer__surface:not(:has(> .muka-topbar)),
|
|
12254
|
-
.muka-drawer--left .muka-drawer__surface:not(:has(> .muka-topbar)),
|
|
12255
|
-
.muka-drawer--top .muka-drawer__surface:not(:has(> .muka-topbar)) {
|
|
12256
|
-
padding-top: env(safe-area-inset-top, 0px);
|
|
12257
|
-
}
|
|
12258
|
-
|
|
12259
|
-
.muka-drawer--bottom:not(.muka-drawer--full) .muka-topbar {
|
|
12260
|
-
padding-top: 0;
|
|
12261
|
-
}
|
|
12262
|
-
|
|
12263
|
-
/* Bottom edge. Side and bottom drawers reach the home indicator: the footer
|
|
12264
|
-
pads for it, or the surface when there is no footer. */
|
|
12265
|
-
.muka-drawer:not(.muka-drawer--top) .muka-drawer__footer {
|
|
12266
|
-
padding-bottom: calc(var(--spacing-4) + env(safe-area-inset-bottom, 0px));
|
|
12267
|
-
}
|
|
12268
|
-
|
|
12269
|
-
.muka-drawer:not(.muka-drawer--top) .muka-drawer__surface:not(:has(> .muka-drawer__footer)) {
|
|
12270
|
-
padding-bottom: env(safe-area-inset-bottom, 0px);
|
|
12271
|
-
}
|
|
12272
|
-
|
|
12273
|
-
/* Sides (landscape notch): the edge the drawer is attached to. The TopBar
|
|
12274
|
-
already insets its own content. */
|
|
12275
|
-
@media (max-width: 1023px) {
|
|
12276
|
-
.muka-drawer--left .muka-drawer__body,
|
|
12277
|
-
.muka-drawer--top .muka-drawer__body,
|
|
12278
|
-
.muka-drawer--bottom .muka-drawer__body {
|
|
12279
|
-
padding-left: max(var(--drawer-padding-x), env(safe-area-inset-left, 0px));
|
|
12280
|
-
}
|
|
12281
|
-
|
|
12282
|
-
.muka-drawer--right .muka-drawer__body,
|
|
12283
|
-
.muka-drawer--top .muka-drawer__body,
|
|
12284
|
-
.muka-drawer--bottom .muka-drawer__body {
|
|
12285
|
-
padding-right: max(var(--drawer-padding-x), env(safe-area-inset-right, 0px));
|
|
12286
|
-
}
|
|
12287
|
-
}
|
|
12288
|
-
|
|
12289
|
-
|
|
12290
12102
|
/* DocumentViewer */
|
|
12291
12103
|
/* DocumentViewer Component Styles - Using Muka Design Tokens */
|
|
12292
12104
|
|
|
@@ -13585,23 +13397,435 @@ li.muka-listitem {
|
|
|
13585
13397
|
}
|
|
13586
13398
|
}
|
|
13587
13399
|
|
|
13588
|
-
@media (prefers-reduced-motion: reduce) {
|
|
13589
|
-
.muka-data-pie-chart__spinner {
|
|
13590
|
-
animation-duration: 2.5s;
|
|
13400
|
+
@media (prefers-reduced-motion: reduce) {
|
|
13401
|
+
.muka-data-pie-chart__spinner {
|
|
13402
|
+
animation-duration: 2.5s;
|
|
13403
|
+
}
|
|
13404
|
+
}
|
|
13405
|
+
|
|
13406
|
+
.muka-data-pie-chart__value {
|
|
13407
|
+
position: absolute;
|
|
13408
|
+
inset: 0;
|
|
13409
|
+
display: flex;
|
|
13410
|
+
align-items: center;
|
|
13411
|
+
justify-content: center;
|
|
13412
|
+
font-family: var(--text-body-base-bold-fontFamily);
|
|
13413
|
+
font-weight: var(--text-body-base-bold-fontWeight);
|
|
13414
|
+
font-size: var(--text-body-base-bold-fontSize);
|
|
13415
|
+
line-height: var(--text-body-base-bold-lineHeight);
|
|
13416
|
+
color: var(--color-text-default-default);
|
|
13417
|
+
}
|
|
13418
|
+
|
|
13419
|
+
|
|
13420
|
+
/* Container */
|
|
13421
|
+
/* Container Component - Layout tokens (container.max-width, container.gap) */
|
|
13422
|
+
|
|
13423
|
+
.muka-container {
|
|
13424
|
+
box-sizing: border-box;
|
|
13425
|
+
width: 100%;
|
|
13426
|
+
margin-inline: auto;
|
|
13427
|
+
}
|
|
13428
|
+
|
|
13429
|
+
/* Max-width variants */
|
|
13430
|
+
.muka-container--max-width-small {
|
|
13431
|
+
max-width: var(--container-max-width-small);
|
|
13432
|
+
}
|
|
13433
|
+
|
|
13434
|
+
.muka-container--max-width-medium {
|
|
13435
|
+
max-width: var(--container-max-width-medium);
|
|
13436
|
+
}
|
|
13437
|
+
|
|
13438
|
+
.muka-container--max-width-large {
|
|
13439
|
+
max-width: var(--container-max-width-large);
|
|
13440
|
+
}
|
|
13441
|
+
|
|
13442
|
+
.muka-container--max-width-xlarge {
|
|
13443
|
+
max-width: var(--container-max-width-xlarge);
|
|
13444
|
+
}
|
|
13445
|
+
|
|
13446
|
+
/* No gap — max-width only, no flex */
|
|
13447
|
+
.muka-container--gap-none {
|
|
13448
|
+
/* block layout by default */
|
|
13449
|
+
}
|
|
13450
|
+
|
|
13451
|
+
/* Gap variants — flex column with token gap */
|
|
13452
|
+
.muka-container--gap-compact {
|
|
13453
|
+
display: flex;
|
|
13454
|
+
flex-direction: column;
|
|
13455
|
+
gap: var(--container-gap-compact);
|
|
13456
|
+
}
|
|
13457
|
+
|
|
13458
|
+
.muka-container--gap-default {
|
|
13459
|
+
display: flex;
|
|
13460
|
+
flex-direction: column;
|
|
13461
|
+
gap: var(--container-gap-default);
|
|
13462
|
+
}
|
|
13463
|
+
|
|
13464
|
+
.muka-container--gap-spacious {
|
|
13465
|
+
display: flex;
|
|
13466
|
+
flex-direction: column;
|
|
13467
|
+
gap: var(--container-gap-spacious);
|
|
13468
|
+
}
|
|
13469
|
+
|
|
13470
|
+
|
|
13471
|
+
/* Combobox */
|
|
13472
|
+
/* Combobox — Figma Input Combobox (free-input chips + suggestion Menu) */
|
|
13473
|
+
|
|
13474
|
+
.muka-combobox {
|
|
13475
|
+
display: inline-flex;
|
|
13476
|
+
flex-direction: column;
|
|
13477
|
+
gap: var(--spacing-2);
|
|
13478
|
+
min-width: 200px;
|
|
13479
|
+
}
|
|
13480
|
+
|
|
13481
|
+
.muka-combobox--full-width {
|
|
13482
|
+
width: 100%;
|
|
13483
|
+
}
|
|
13484
|
+
|
|
13485
|
+
.muka-combobox__label {
|
|
13486
|
+
color: var(--color-text-default-default);
|
|
13487
|
+
cursor: pointer;
|
|
13488
|
+
}
|
|
13489
|
+
|
|
13490
|
+
.muka-combobox__label--sm {
|
|
13491
|
+
font-family: var(--text-label-sm-semibold-fontFamily);
|
|
13492
|
+
font-weight: var(--text-label-sm-semibold-fontWeight);
|
|
13493
|
+
font-size: var(--text-label-sm-semibold-fontSize);
|
|
13494
|
+
line-height: var(--text-label-sm-semibold-lineHeight);
|
|
13495
|
+
}
|
|
13496
|
+
|
|
13497
|
+
.muka-combobox__label--md {
|
|
13498
|
+
font-family: var(--text-label-md-semibold-fontFamily);
|
|
13499
|
+
font-weight: var(--text-label-md-semibold-fontWeight);
|
|
13500
|
+
font-size: var(--text-label-md-semibold-fontSize);
|
|
13501
|
+
line-height: var(--text-label-md-semibold-lineHeight);
|
|
13502
|
+
}
|
|
13503
|
+
|
|
13504
|
+
.muka-combobox__label--lg {
|
|
13505
|
+
font-family: var(--text-label-lg-semibold-fontFamily);
|
|
13506
|
+
font-weight: var(--text-label-lg-semibold-fontWeight);
|
|
13507
|
+
font-size: var(--text-label-lg-semibold-fontSize);
|
|
13508
|
+
line-height: var(--text-label-lg-semibold-lineHeight);
|
|
13509
|
+
}
|
|
13510
|
+
|
|
13511
|
+
.muka-combobox__field {
|
|
13512
|
+
display: flex;
|
|
13513
|
+
align-items: center;
|
|
13514
|
+
width: 100%;
|
|
13515
|
+
position: relative;
|
|
13516
|
+
isolation: isolate;
|
|
13517
|
+
box-sizing: border-box;
|
|
13518
|
+
background-color: var(--input-field-color-default-background);
|
|
13519
|
+
border: var(--border-width-regular) solid var(--input-field-color-default-border);
|
|
13520
|
+
border-radius: var(--input-field-radius-lg);
|
|
13521
|
+
padding: var(--spacing-2);
|
|
13522
|
+
cursor: text;
|
|
13523
|
+
transition: border-color 0.12s ease, background-color 0.12s ease;
|
|
13524
|
+
}
|
|
13525
|
+
|
|
13526
|
+
.muka-combobox__field::after {
|
|
13527
|
+
content: '';
|
|
13528
|
+
position: absolute;
|
|
13529
|
+
inset: 0;
|
|
13530
|
+
border-radius: inherit;
|
|
13531
|
+
box-shadow: inset 0 1px 2px 0 rgba(26, 26, 26, 0.08);
|
|
13532
|
+
pointer-events: none;
|
|
13533
|
+
}
|
|
13534
|
+
|
|
13535
|
+
.muka-combobox__field--sm {
|
|
13536
|
+
min-height: var(--input-field-height-sm);
|
|
13537
|
+
border-radius: var(--input-field-radius-sm);
|
|
13538
|
+
}
|
|
13539
|
+
|
|
13540
|
+
.muka-combobox__field--md {
|
|
13541
|
+
min-height: var(--input-field-height-default);
|
|
13542
|
+
border-radius: var(--input-field-radius-md);
|
|
13543
|
+
}
|
|
13544
|
+
|
|
13545
|
+
.muka-combobox__field--lg {
|
|
13546
|
+
min-height: var(--input-field-height-lg);
|
|
13547
|
+
border-radius: var(--input-field-radius-lg);
|
|
13548
|
+
}
|
|
13549
|
+
|
|
13550
|
+
.muka-combobox__field--focused:not(.muka-combobox__field--disabled) {
|
|
13551
|
+
border-width: var(--border-width-bold);
|
|
13552
|
+
border-color: var(--input-field-color-focus-border);
|
|
13553
|
+
background-color: var(--input-field-color-focus-background);
|
|
13554
|
+
padding: calc(var(--spacing-2) - 1px);
|
|
13555
|
+
}
|
|
13556
|
+
|
|
13557
|
+
.muka-combobox__field--error:not(.muka-combobox__field--disabled) {
|
|
13558
|
+
border-color: var(--color-state-error-contrast);
|
|
13559
|
+
}
|
|
13560
|
+
|
|
13561
|
+
.muka-combobox__field--disabled {
|
|
13562
|
+
opacity: 0.5;
|
|
13563
|
+
cursor: not-allowed;
|
|
13564
|
+
}
|
|
13565
|
+
|
|
13566
|
+
.muka-combobox__field--multiline {
|
|
13567
|
+
align-items: flex-start;
|
|
13568
|
+
min-height: 7rem;
|
|
13569
|
+
}
|
|
13570
|
+
|
|
13571
|
+
.muka-combobox__chips {
|
|
13572
|
+
display: flex;
|
|
13573
|
+
flex: 1 1 auto;
|
|
13574
|
+
flex-wrap: wrap;
|
|
13575
|
+
gap: var(--spacing-2);
|
|
13576
|
+
align-items: center;
|
|
13577
|
+
min-width: 0;
|
|
13578
|
+
width: 100%;
|
|
13579
|
+
position: relative;
|
|
13580
|
+
z-index: 1;
|
|
13581
|
+
}
|
|
13582
|
+
|
|
13583
|
+
.muka-combobox__input {
|
|
13584
|
+
flex: 1 1 5rem;
|
|
13585
|
+
min-width: 5rem;
|
|
13586
|
+
min-height: 2rem;
|
|
13587
|
+
margin: 0;
|
|
13588
|
+
padding: 0 var(--spacing-1);
|
|
13589
|
+
border: none;
|
|
13590
|
+
outline: none;
|
|
13591
|
+
background: transparent;
|
|
13592
|
+
color: var(--input-field-color-default-foreground);
|
|
13593
|
+
caret-color: var(--input-field-color-default-foreground);
|
|
13594
|
+
font-family: var(--text-label-md-regular-fontFamily);
|
|
13595
|
+
font-size: var(--text-label-md-regular-fontSize);
|
|
13596
|
+
font-weight: var(--text-label-md-regular-fontWeight);
|
|
13597
|
+
line-height: var(--text-label-md-regular-lineHeight);
|
|
13598
|
+
}
|
|
13599
|
+
|
|
13600
|
+
.muka-combobox__input::placeholder {
|
|
13601
|
+
color: var(--color-text-subtle-default);
|
|
13602
|
+
}
|
|
13603
|
+
|
|
13604
|
+
.muka-combobox__helper {
|
|
13605
|
+
margin: 0;
|
|
13606
|
+
color: var(--color-text-subtle-default);
|
|
13607
|
+
font-family: var(--text-label-sm-regular-fontFamily);
|
|
13608
|
+
font-size: var(--text-label-sm-regular-fontSize);
|
|
13609
|
+
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
13610
|
+
line-height: var(--text-label-sm-regular-lineHeight);
|
|
13611
|
+
}
|
|
13612
|
+
|
|
13613
|
+
.muka-combobox__error {
|
|
13614
|
+
margin: 0;
|
|
13615
|
+
color: var(--color-state-error-default);
|
|
13616
|
+
font-family: var(--text-label-sm-regular-fontFamily);
|
|
13617
|
+
font-size: var(--text-label-sm-regular-fontSize);
|
|
13618
|
+
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
13619
|
+
line-height: var(--text-label-sm-regular-lineHeight);
|
|
13620
|
+
}
|
|
13621
|
+
|
|
13622
|
+
.muka-combobox__menu-anchor {
|
|
13623
|
+
position: absolute;
|
|
13624
|
+
inset: 0;
|
|
13625
|
+
z-index: 0;
|
|
13626
|
+
width: 100%;
|
|
13627
|
+
height: 100%;
|
|
13628
|
+
margin: 0;
|
|
13629
|
+
padding: 0;
|
|
13630
|
+
border: none;
|
|
13631
|
+
background: transparent;
|
|
13632
|
+
pointer-events: none;
|
|
13633
|
+
opacity: 0;
|
|
13634
|
+
}
|
|
13635
|
+
|
|
13636
|
+
.muka-combobox__menu {
|
|
13637
|
+
/* Prefer Menu token min-width (280px); may exceed the field when left-aligned. */
|
|
13638
|
+
min-width: var(--menu-content-min-width);
|
|
13639
|
+
width: max-content;
|
|
13640
|
+
max-width: min(100vw - 2rem, 24rem);
|
|
13641
|
+
}
|
|
13642
|
+
|
|
13643
|
+
|
|
13644
|
+
/* Drawer */
|
|
13645
|
+
/* Drawer Component Styles */
|
|
13646
|
+
|
|
13647
|
+
/* Size tokens (local to Drawer) */
|
|
13648
|
+
.muka-drawer {
|
|
13649
|
+
--drawer-width-sm: 18rem;
|
|
13650
|
+
--drawer-width-md: 26rem;
|
|
13651
|
+
--drawer-width-lg: 36rem;
|
|
13652
|
+
}
|
|
13653
|
+
|
|
13654
|
+
/* Reset native dialog */
|
|
13655
|
+
.muka-drawer {
|
|
13656
|
+
border: none;
|
|
13657
|
+
padding: 0;
|
|
13658
|
+
max-width: none;
|
|
13659
|
+
max-height: none;
|
|
13660
|
+
background: transparent;
|
|
13661
|
+
overflow: visible;
|
|
13662
|
+
}
|
|
13663
|
+
|
|
13664
|
+
/* Backdrop */
|
|
13665
|
+
.muka-drawer::backdrop {
|
|
13666
|
+
background-color: var(--color-surface-backdrop);
|
|
13667
|
+
-webkit-backdrop-filter: blur(var(--effect-blur-backdrop));
|
|
13668
|
+
backdrop-filter: blur(var(--effect-blur-backdrop));
|
|
13669
|
+
opacity: 0;
|
|
13670
|
+
transition: opacity 200ms ease;
|
|
13671
|
+
}
|
|
13672
|
+
|
|
13673
|
+
.muka-drawer--slide-in::backdrop {
|
|
13674
|
+
opacity: 1;
|
|
13675
|
+
}
|
|
13676
|
+
|
|
13677
|
+
/* Surface */
|
|
13678
|
+
.muka-drawer__surface {
|
|
13679
|
+
display: flex;
|
|
13680
|
+
flex-direction: column;
|
|
13681
|
+
background-color: var(--color-surface-level3);
|
|
13682
|
+
box-shadow: var(--shadow-level5);
|
|
13683
|
+
height: 100%;
|
|
13684
|
+
overflow: hidden;
|
|
13685
|
+
position: fixed;
|
|
13686
|
+
transition: transform 200ms cubic-bezier(0.16, 1, 0.3, 1);
|
|
13687
|
+
}
|
|
13688
|
+
|
|
13689
|
+
/* Side positioning + initial transforms */
|
|
13690
|
+
.muka-drawer--right .muka-drawer__surface {
|
|
13691
|
+
top: 0;
|
|
13692
|
+
right: 0;
|
|
13693
|
+
bottom: 0;
|
|
13694
|
+
border-radius: var(--radius-lg) 0 0 var(--radius-lg);
|
|
13695
|
+
transform: translateX(100%);
|
|
13696
|
+
}
|
|
13697
|
+
|
|
13698
|
+
.muka-drawer--left .muka-drawer__surface {
|
|
13699
|
+
top: 0;
|
|
13700
|
+
left: 0;
|
|
13701
|
+
bottom: 0;
|
|
13702
|
+
border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
|
|
13703
|
+
transform: translateX(-100%);
|
|
13704
|
+
}
|
|
13705
|
+
|
|
13706
|
+
.muka-drawer--bottom .muka-drawer__surface {
|
|
13707
|
+
left: 0;
|
|
13708
|
+
right: 0;
|
|
13709
|
+
bottom: 0;
|
|
13710
|
+
border-radius: var(--radius-lg) var(--radius-lg) 0 0;
|
|
13711
|
+
transform: translateY(100%);
|
|
13712
|
+
}
|
|
13713
|
+
|
|
13714
|
+
.muka-drawer--top .muka-drawer__surface {
|
|
13715
|
+
left: 0;
|
|
13716
|
+
right: 0;
|
|
13717
|
+
top: 0;
|
|
13718
|
+
border-radius: 0 0 var(--radius-lg) var(--radius-lg);
|
|
13719
|
+
transform: translateY(-100%);
|
|
13720
|
+
}
|
|
13721
|
+
|
|
13722
|
+
/* Slide-in state */
|
|
13723
|
+
.muka-drawer--slide-in .muka-drawer__surface {
|
|
13724
|
+
transform: translate(0, 0);
|
|
13725
|
+
}
|
|
13726
|
+
|
|
13727
|
+
/* Width sizes (left/right) */
|
|
13728
|
+
.muka-drawer--right .muka-drawer__surface,
|
|
13729
|
+
.muka-drawer--left .muka-drawer__surface {
|
|
13730
|
+
width: var(--drawer-width-md);
|
|
13731
|
+
}
|
|
13732
|
+
|
|
13733
|
+
.muka-drawer--sm.muka-drawer--right .muka-drawer__surface,
|
|
13734
|
+
.muka-drawer--sm.muka-drawer--left .muka-drawer__surface {
|
|
13735
|
+
width: var(--drawer-width-sm);
|
|
13736
|
+
}
|
|
13737
|
+
|
|
13738
|
+
.muka-drawer--lg.muka-drawer--right .muka-drawer__surface,
|
|
13739
|
+
.muka-drawer--lg.muka-drawer--left .muka-drawer__surface {
|
|
13740
|
+
width: var(--drawer-width-lg);
|
|
13741
|
+
}
|
|
13742
|
+
|
|
13743
|
+
.muka-drawer--full.muka-drawer--right .muka-drawer__surface,
|
|
13744
|
+
.muka-drawer--full.muka-drawer--left .muka-drawer__surface {
|
|
13745
|
+
width: 100%;
|
|
13746
|
+
}
|
|
13747
|
+
|
|
13748
|
+
/* Height sizes (top/bottom) */
|
|
13749
|
+
.muka-drawer--top .muka-drawer__surface,
|
|
13750
|
+
.muka-drawer--bottom .muka-drawer__surface {
|
|
13751
|
+
height: auto;
|
|
13752
|
+
max-height: 80vh;
|
|
13753
|
+
}
|
|
13754
|
+
|
|
13755
|
+
.muka-drawer--full.muka-drawer--top .muka-drawer__surface,
|
|
13756
|
+
.muka-drawer--full.muka-drawer--bottom .muka-drawer__surface {
|
|
13757
|
+
max-height: 100vh;
|
|
13758
|
+
}
|
|
13759
|
+
|
|
13760
|
+
/* Header: the shared TopBar, raised above the scrolling body like in Dialog */
|
|
13761
|
+
.muka-drawer .muka-topbar {
|
|
13762
|
+
position: relative;
|
|
13763
|
+
z-index: 1;
|
|
13764
|
+
flex-shrink: 0;
|
|
13765
|
+
}
|
|
13766
|
+
|
|
13767
|
+
/* Body */
|
|
13768
|
+
.muka-drawer__body {
|
|
13769
|
+
flex: 1;
|
|
13770
|
+
overflow-y: auto;
|
|
13771
|
+
padding: var(--drawer-padding-x);
|
|
13772
|
+
}
|
|
13773
|
+
|
|
13774
|
+
/* Roomier body on desktop; the header and footer keep their padding */
|
|
13775
|
+
@media (min-width: 1024px) {
|
|
13776
|
+
.muka-drawer__body {
|
|
13777
|
+
padding: var(--drawer-padding-x-desktop);
|
|
13778
|
+
}
|
|
13779
|
+
}
|
|
13780
|
+
|
|
13781
|
+
/* Footer */
|
|
13782
|
+
.muka-drawer__footer {
|
|
13783
|
+
padding: var(--spacing-4);
|
|
13784
|
+
border-top: var(--border-width-regular) solid var(--color-border-default);
|
|
13785
|
+
flex-shrink: 0;
|
|
13786
|
+
}
|
|
13787
|
+
|
|
13788
|
+
/* ─── Safe areas (notch, status bar, home indicator) ────
|
|
13789
|
+
env(safe-area-inset-*) is 0 outside notched devices, so these only change
|
|
13790
|
+
an app running edge to edge (viewport-fit=cover, e.g. an iOS shell). */
|
|
13791
|
+
|
|
13792
|
+
/* Top edge. Side, top and full-height drawers reach the status bar: their
|
|
13793
|
+
TopBar pads for it; without a header the surface does. A bottom drawer
|
|
13794
|
+
stops short of it, so its TopBar must not. */
|
|
13795
|
+
.muka-drawer--right .muka-drawer__surface:not(:has(> .muka-topbar)),
|
|
13796
|
+
.muka-drawer--left .muka-drawer__surface:not(:has(> .muka-topbar)),
|
|
13797
|
+
.muka-drawer--top .muka-drawer__surface:not(:has(> .muka-topbar)) {
|
|
13798
|
+
padding-top: env(safe-area-inset-top, 0px);
|
|
13799
|
+
}
|
|
13800
|
+
|
|
13801
|
+
.muka-drawer--bottom:not(.muka-drawer--full) .muka-topbar {
|
|
13802
|
+
padding-top: 0;
|
|
13803
|
+
}
|
|
13804
|
+
|
|
13805
|
+
/* Bottom edge. Side and bottom drawers reach the home indicator: the footer
|
|
13806
|
+
pads for it, or the surface when there is no footer. */
|
|
13807
|
+
.muka-drawer:not(.muka-drawer--top) .muka-drawer__footer {
|
|
13808
|
+
padding-bottom: calc(var(--spacing-4) + env(safe-area-inset-bottom, 0px));
|
|
13809
|
+
}
|
|
13810
|
+
|
|
13811
|
+
.muka-drawer:not(.muka-drawer--top) .muka-drawer__surface:not(:has(> .muka-drawer__footer)) {
|
|
13812
|
+
padding-bottom: env(safe-area-inset-bottom, 0px);
|
|
13813
|
+
}
|
|
13814
|
+
|
|
13815
|
+
/* Sides (landscape notch): the edge the drawer is attached to. The TopBar
|
|
13816
|
+
already insets its own content. */
|
|
13817
|
+
@media (max-width: 1023px) {
|
|
13818
|
+
.muka-drawer--left .muka-drawer__body,
|
|
13819
|
+
.muka-drawer--top .muka-drawer__body,
|
|
13820
|
+
.muka-drawer--bottom .muka-drawer__body {
|
|
13821
|
+
padding-left: max(var(--drawer-padding-x), env(safe-area-inset-left, 0px));
|
|
13591
13822
|
}
|
|
13592
|
-
}
|
|
13593
13823
|
|
|
13594
|
-
.muka-
|
|
13595
|
-
|
|
13596
|
-
|
|
13597
|
-
|
|
13598
|
-
|
|
13599
|
-
justify-content: center;
|
|
13600
|
-
font-family: var(--text-body-base-bold-fontFamily);
|
|
13601
|
-
font-weight: var(--text-body-base-bold-fontWeight);
|
|
13602
|
-
font-size: var(--text-body-base-bold-fontSize);
|
|
13603
|
-
line-height: var(--text-body-base-bold-lineHeight);
|
|
13604
|
-
color: var(--color-text-default-default);
|
|
13824
|
+
.muka-drawer--right .muka-drawer__body,
|
|
13825
|
+
.muka-drawer--top .muka-drawer__body,
|
|
13826
|
+
.muka-drawer--bottom .muka-drawer__body {
|
|
13827
|
+
padding-right: max(var(--drawer-padding-x), env(safe-area-inset-right, 0px));
|
|
13828
|
+
}
|
|
13605
13829
|
}
|
|
13606
13830
|
|
|
13607
13831
|
|
|
@@ -13982,57 +14206,6 @@ button.muka-chip__trailing[aria-expanded='true'],
|
|
|
13982
14206
|
}
|
|
13983
14207
|
|
|
13984
14208
|
|
|
13985
|
-
/* Container */
|
|
13986
|
-
/* Container Component - Layout tokens (container.max-width, container.gap) */
|
|
13987
|
-
|
|
13988
|
-
.muka-container {
|
|
13989
|
-
box-sizing: border-box;
|
|
13990
|
-
width: 100%;
|
|
13991
|
-
margin-inline: auto;
|
|
13992
|
-
}
|
|
13993
|
-
|
|
13994
|
-
/* Max-width variants */
|
|
13995
|
-
.muka-container--max-width-small {
|
|
13996
|
-
max-width: var(--container-max-width-small);
|
|
13997
|
-
}
|
|
13998
|
-
|
|
13999
|
-
.muka-container--max-width-medium {
|
|
14000
|
-
max-width: var(--container-max-width-medium);
|
|
14001
|
-
}
|
|
14002
|
-
|
|
14003
|
-
.muka-container--max-width-large {
|
|
14004
|
-
max-width: var(--container-max-width-large);
|
|
14005
|
-
}
|
|
14006
|
-
|
|
14007
|
-
.muka-container--max-width-xlarge {
|
|
14008
|
-
max-width: var(--container-max-width-xlarge);
|
|
14009
|
-
}
|
|
14010
|
-
|
|
14011
|
-
/* No gap — max-width only, no flex */
|
|
14012
|
-
.muka-container--gap-none {
|
|
14013
|
-
/* block layout by default */
|
|
14014
|
-
}
|
|
14015
|
-
|
|
14016
|
-
/* Gap variants — flex column with token gap */
|
|
14017
|
-
.muka-container--gap-compact {
|
|
14018
|
-
display: flex;
|
|
14019
|
-
flex-direction: column;
|
|
14020
|
-
gap: var(--container-gap-compact);
|
|
14021
|
-
}
|
|
14022
|
-
|
|
14023
|
-
.muka-container--gap-default {
|
|
14024
|
-
display: flex;
|
|
14025
|
-
flex-direction: column;
|
|
14026
|
-
gap: var(--container-gap-default);
|
|
14027
|
-
}
|
|
14028
|
-
|
|
14029
|
-
.muka-container--gap-spacious {
|
|
14030
|
-
display: flex;
|
|
14031
|
-
flex-direction: column;
|
|
14032
|
-
gap: var(--container-gap-spacious);
|
|
14033
|
-
}
|
|
14034
|
-
|
|
14035
|
-
|
|
14036
14209
|
/* CheckboxTile */
|
|
14037
14210
|
/* CheckboxTile Component Styles - Using Muka Design Tokens */
|
|
14038
14211
|
|
|
@@ -14105,255 +14278,88 @@ button.muka-chip__trailing[aria-expanded='true'],
|
|
|
14105
14278
|
height: 100%;
|
|
14106
14279
|
}
|
|
14107
14280
|
|
|
14108
|
-
/* Image */
|
|
14109
|
-
.muka-checkbox-tile__image {
|
|
14110
|
-
flex-shrink: 0;
|
|
14111
|
-
overflow: hidden;
|
|
14112
|
-
border-radius: var(--border-radius-sm);
|
|
14113
|
-
}
|
|
14114
|
-
|
|
14115
|
-
.muka-checkbox-tile__image img {
|
|
14116
|
-
display: block;
|
|
14117
|
-
width: 100%;
|
|
14118
|
-
height: 100%;
|
|
14119
|
-
object-fit: cover;
|
|
14120
|
-
}
|
|
14121
|
-
|
|
14122
|
-
/* Horizontal image sizing */
|
|
14123
|
-
.muka-checkbox-tile__image--horizontal {
|
|
14124
|
-
width: 40px;
|
|
14125
|
-
height: 40px;
|
|
14126
|
-
}
|
|
14127
|
-
|
|
14128
|
-
/* Vertical image sizing */
|
|
14129
|
-
.muka-checkbox-tile--vertical .muka-checkbox-tile__image {
|
|
14130
|
-
width: 100%;
|
|
14131
|
-
aspect-ratio: 4/3;
|
|
14132
|
-
}
|
|
14133
|
-
|
|
14134
|
-
/* Content container */
|
|
14135
|
-
.muka-checkbox-tile__content {
|
|
14136
|
-
display: flex;
|
|
14137
|
-
flex-direction: column;
|
|
14138
|
-
flex: 1;
|
|
14139
|
-
min-width: 0;
|
|
14140
|
-
gap: var(--spacing-2);
|
|
14141
|
-
}
|
|
14142
|
-
|
|
14143
|
-
.muka-checkbox-tile__content-inner {
|
|
14144
|
-
display: flex;
|
|
14145
|
-
flex-direction: column;
|
|
14146
|
-
gap: var(--spacing-1);
|
|
14147
|
-
}
|
|
14148
|
-
|
|
14149
|
-
/* Chip slot (replaces badge; use Chip component) */
|
|
14150
|
-
.muka-checkbox-tile__chip {
|
|
14151
|
-
flex-shrink: 0;
|
|
14152
|
-
}
|
|
14153
|
-
|
|
14154
|
-
.muka-checkbox-tile__chip--vertical {
|
|
14155
|
-
margin-top: var(--spacing-1);
|
|
14156
|
-
}
|
|
14157
|
-
|
|
14158
|
-
/* Label */
|
|
14159
|
-
.muka-checkbox-tile__label {
|
|
14160
|
-
font-family: var(--text-body-lg-regular-fontFamily);
|
|
14161
|
-
font-weight: var(--text-body-lg-regular-fontWeight);
|
|
14162
|
-
font-size: var(--text-body-lg-regular-fontSize);
|
|
14163
|
-
line-height: var(--text-body-lg-regular-lineHeight);
|
|
14164
|
-
color: var(--color-text-default-default);
|
|
14165
|
-
}
|
|
14166
|
-
|
|
14167
|
-
.muka-checkbox-tile__label--bold {
|
|
14168
|
-
font-family: var(--text-label-lg-semibold-fontFamily);
|
|
14169
|
-
font-weight: var(--text-label-lg-semibold-fontWeight);
|
|
14170
|
-
font-size: var(--text-label-lg-semibold-fontSize);
|
|
14171
|
-
line-height: var(--text-label-lg-semibold-lineHeight);
|
|
14172
|
-
}
|
|
14173
|
-
|
|
14174
|
-
.muka-checkbox-tile__label--center {
|
|
14175
|
-
text-align: center;
|
|
14176
|
-
}
|
|
14177
|
-
|
|
14178
|
-
/* Caption */
|
|
14179
|
-
.muka-checkbox-tile__caption {
|
|
14180
|
-
font-family: var(--text-body-base-regular-fontFamily);
|
|
14181
|
-
font-weight: var(--text-body-base-regular-fontWeight);
|
|
14182
|
-
font-size: var(--text-body-base-regular-fontSize);
|
|
14183
|
-
line-height: var(--text-body-base-regular-lineHeight);
|
|
14184
|
-
color: var(--color-text-subtle-default);
|
|
14185
|
-
}
|
|
14186
|
-
|
|
14187
|
-
/* Disabled states */
|
|
14188
|
-
.muka-checkbox-tile--disabled .muka-checkbox-tile__label,
|
|
14189
|
-
.muka-checkbox-tile--disabled .muka-checkbox-tile__icon {
|
|
14190
|
-
color: var(--color-text-subtle-default);
|
|
14191
|
-
}
|
|
14192
|
-
|
|
14193
|
-
|
|
14194
|
-
/* Checkbox */
|
|
14195
|
-
/* Checkbox Component Styles - Using Muka Design Tokens */
|
|
14196
|
-
|
|
14197
|
-
/* Wrapper - clickable label container */
|
|
14198
|
-
.muka-checkbox {
|
|
14199
|
-
display: inline-flex;
|
|
14200
|
-
align-items: center;
|
|
14201
|
-
gap: var(--spacing-4);
|
|
14202
|
-
cursor: pointer;
|
|
14203
|
-
user-select: none;
|
|
14204
|
-
}
|
|
14205
|
-
|
|
14206
|
-
.muka-checkbox--disabled {
|
|
14207
|
-
cursor: not-allowed;
|
|
14208
|
-
opacity: 0.6;
|
|
14209
|
-
}
|
|
14210
|
-
|
|
14211
|
-
/* Control container */
|
|
14212
|
-
.muka-checkbox__control {
|
|
14213
|
-
position: relative;
|
|
14214
|
-
display: inline-flex;
|
|
14215
|
-
align-items: center;
|
|
14216
|
-
justify-content: center;
|
|
14217
|
-
flex-shrink: 0;
|
|
14218
|
-
}
|
|
14219
|
-
|
|
14220
|
-
/* Hidden native input */
|
|
14221
|
-
.muka-checkbox__input {
|
|
14222
|
-
position: absolute;
|
|
14223
|
-
width: 1px;
|
|
14224
|
-
height: 1px;
|
|
14225
|
-
padding: 0;
|
|
14226
|
-
margin: -1px;
|
|
14227
|
-
overflow: hidden;
|
|
14228
|
-
clip: rect(0, 0, 0, 0);
|
|
14229
|
-
white-space: nowrap;
|
|
14230
|
-
border: 0;
|
|
14231
|
-
}
|
|
14232
|
-
|
|
14233
|
-
/* Visual indicator (square) */
|
|
14234
|
-
.muka-checkbox__indicator {
|
|
14235
|
-
display: flex;
|
|
14236
|
-
align-items: center;
|
|
14237
|
-
justify-content: center;
|
|
14238
|
-
width: var(--checkbox-size-default);
|
|
14239
|
-
height: var(--checkbox-size-default);
|
|
14240
|
-
border-radius: var(--checkbox-radius);
|
|
14241
|
-
background-color: var(--checkbox-color-default-background);
|
|
14242
|
-
border: var(--border-width-regular) solid var(--checkbox-color-default-border);
|
|
14243
|
-
transition: all 0.15s ease;
|
|
14244
|
-
box-shadow: inset 0 1px 2px 0 rgba(26, 26, 26, 0.15);
|
|
14245
|
-
}
|
|
14246
|
-
|
|
14247
|
-
/* Size variants */
|
|
14248
|
-
.muka-checkbox--sm .muka-checkbox__indicator {
|
|
14249
|
-
width: var(--checkbox-size-sm);
|
|
14250
|
-
height: var(--checkbox-size-sm);
|
|
14251
|
-
}
|
|
14252
|
-
|
|
14253
|
-
.muka-checkbox--lg .muka-checkbox__indicator {
|
|
14254
|
-
width: var(--checkbox-size-lg);
|
|
14255
|
-
height: var(--checkbox-size-lg);
|
|
14256
|
-
}
|
|
14257
|
-
|
|
14258
|
-
/* Icon inside checkbox */
|
|
14259
|
-
.muka-checkbox__icon {
|
|
14260
|
-
width: var(--checkbox-icon-size-default);
|
|
14261
|
-
height: var(--checkbox-icon-size-default);
|
|
14262
|
-
color: var(--checkbox-color-default-icon);
|
|
14263
|
-
opacity: 0;
|
|
14264
|
-
transform: scale(0.8);
|
|
14265
|
-
transition: opacity 0.15s ease, transform 0.15s ease;
|
|
14266
|
-
}
|
|
14267
|
-
|
|
14268
|
-
.muka-checkbox--sm .muka-checkbox__icon {
|
|
14269
|
-
width: var(--checkbox-icon-size-sm);
|
|
14270
|
-
height: var(--checkbox-icon-size-sm);
|
|
14271
|
-
}
|
|
14272
|
-
|
|
14273
|
-
.muka-checkbox--lg .muka-checkbox__icon {
|
|
14274
|
-
width: var(--checkbox-icon-size-lg);
|
|
14275
|
-
height: var(--checkbox-icon-size-lg);
|
|
14276
|
-
}
|
|
14277
|
-
|
|
14278
|
-
/* Hide indeterminate icon by default */
|
|
14279
|
-
.muka-checkbox__icon--indeterminate {
|
|
14280
|
-
position: absolute;
|
|
14281
|
-
}
|
|
14282
|
-
|
|
14283
|
-
/* Hover state - removed per design */
|
|
14284
|
-
|
|
14285
|
-
/* Focus state */
|
|
14286
|
-
.muka-checkbox__input:focus-visible + .muka-checkbox__indicator {
|
|
14287
|
-
outline: 2px solid var(--color-border-focus);
|
|
14288
|
-
outline-offset: 2px;
|
|
14281
|
+
/* Image */
|
|
14282
|
+
.muka-checkbox-tile__image {
|
|
14283
|
+
flex-shrink: 0;
|
|
14284
|
+
overflow: hidden;
|
|
14285
|
+
border-radius: var(--border-radius-sm);
|
|
14289
14286
|
}
|
|
14290
14287
|
|
|
14291
|
-
|
|
14292
|
-
|
|
14293
|
-
|
|
14294
|
-
|
|
14295
|
-
|
|
14288
|
+
.muka-checkbox-tile__image img {
|
|
14289
|
+
display: block;
|
|
14290
|
+
width: 100%;
|
|
14291
|
+
height: 100%;
|
|
14292
|
+
object-fit: cover;
|
|
14296
14293
|
}
|
|
14297
14294
|
|
|
14298
|
-
|
|
14299
|
-
|
|
14300
|
-
|
|
14301
|
-
|
|
14295
|
+
/* Horizontal image sizing */
|
|
14296
|
+
.muka-checkbox-tile__image--horizontal {
|
|
14297
|
+
width: 40px;
|
|
14298
|
+
height: 40px;
|
|
14302
14299
|
}
|
|
14303
14300
|
|
|
14304
|
-
/*
|
|
14305
|
-
.muka-
|
|
14306
|
-
|
|
14307
|
-
|
|
14308
|
-
box-shadow: none;
|
|
14301
|
+
/* Vertical image sizing */
|
|
14302
|
+
.muka-checkbox-tile--vertical .muka-checkbox-tile__image {
|
|
14303
|
+
width: 100%;
|
|
14304
|
+
aspect-ratio: 4/3;
|
|
14309
14305
|
}
|
|
14310
14306
|
|
|
14311
|
-
|
|
14312
|
-
|
|
14307
|
+
/* Content container */
|
|
14308
|
+
.muka-checkbox-tile__content {
|
|
14309
|
+
display: flex;
|
|
14310
|
+
flex-direction: column;
|
|
14311
|
+
flex: 1;
|
|
14312
|
+
min-width: 0;
|
|
14313
|
+
gap: var(--spacing-2);
|
|
14313
14314
|
}
|
|
14314
14315
|
|
|
14315
|
-
.muka-
|
|
14316
|
-
|
|
14317
|
-
|
|
14318
|
-
|
|
14316
|
+
.muka-checkbox-tile__content-inner {
|
|
14317
|
+
display: flex;
|
|
14318
|
+
flex-direction: column;
|
|
14319
|
+
gap: var(--spacing-1);
|
|
14319
14320
|
}
|
|
14320
14321
|
|
|
14321
|
-
/*
|
|
14322
|
-
.muka-checkbox
|
|
14323
|
-
|
|
14324
|
-
border-color: var(--checkbox-color-disabled-border);
|
|
14325
|
-
box-shadow: none;
|
|
14322
|
+
/* Chip slot (replaces badge; use Chip component) */
|
|
14323
|
+
.muka-checkbox-tile__chip {
|
|
14324
|
+
flex-shrink: 0;
|
|
14326
14325
|
}
|
|
14327
14326
|
|
|
14328
|
-
.muka-
|
|
14329
|
-
|
|
14330
|
-
color: var(--checkbox-color-disabled-icon);
|
|
14327
|
+
.muka-checkbox-tile__chip--vertical {
|
|
14328
|
+
margin-top: var(--spacing-1);
|
|
14331
14329
|
}
|
|
14332
14330
|
|
|
14333
|
-
/* Label
|
|
14334
|
-
.muka-
|
|
14335
|
-
font-family: var(--text-
|
|
14336
|
-
font-weight: var(--text-
|
|
14337
|
-
font-size: var(--text-
|
|
14338
|
-
line-height: var(--text-
|
|
14331
|
+
/* Label */
|
|
14332
|
+
.muka-checkbox-tile__label {
|
|
14333
|
+
font-family: var(--text-body-lg-regular-fontFamily);
|
|
14334
|
+
font-weight: var(--text-body-lg-regular-fontWeight);
|
|
14335
|
+
font-size: var(--text-body-lg-regular-fontSize);
|
|
14336
|
+
line-height: var(--text-body-lg-regular-lineHeight);
|
|
14339
14337
|
color: var(--color-text-default-default);
|
|
14340
14338
|
}
|
|
14341
14339
|
|
|
14342
|
-
.muka-checkbox--
|
|
14343
|
-
font-family: var(--text-label-
|
|
14344
|
-
font-weight: var(--text-label-
|
|
14345
|
-
font-size: var(--text-label-
|
|
14346
|
-
line-height: var(--text-label-
|
|
14340
|
+
.muka-checkbox-tile__label--bold {
|
|
14341
|
+
font-family: var(--text-label-lg-semibold-fontFamily);
|
|
14342
|
+
font-weight: var(--text-label-lg-semibold-fontWeight);
|
|
14343
|
+
font-size: var(--text-label-lg-semibold-fontSize);
|
|
14344
|
+
line-height: var(--text-label-lg-semibold-lineHeight);
|
|
14347
14345
|
}
|
|
14348
14346
|
|
|
14349
|
-
.muka-checkbox--
|
|
14350
|
-
|
|
14351
|
-
font-weight: var(--text-label-xl-regular-fontWeight);
|
|
14352
|
-
font-size: var(--text-label-xl-regular-fontSize);
|
|
14353
|
-
line-height: var(--text-label-xl-regular-lineHeight);
|
|
14347
|
+
.muka-checkbox-tile__label--center {
|
|
14348
|
+
text-align: center;
|
|
14354
14349
|
}
|
|
14355
14350
|
|
|
14356
|
-
|
|
14351
|
+
/* Caption */
|
|
14352
|
+
.muka-checkbox-tile__caption {
|
|
14353
|
+
font-family: var(--text-body-base-regular-fontFamily);
|
|
14354
|
+
font-weight: var(--text-body-base-regular-fontWeight);
|
|
14355
|
+
font-size: var(--text-body-base-regular-fontSize);
|
|
14356
|
+
line-height: var(--text-body-base-regular-lineHeight);
|
|
14357
|
+
color: var(--color-text-subtle-default);
|
|
14358
|
+
}
|
|
14359
|
+
|
|
14360
|
+
/* Disabled states */
|
|
14361
|
+
.muka-checkbox-tile--disabled .muka-checkbox-tile__label,
|
|
14362
|
+
.muka-checkbox-tile--disabled .muka-checkbox-tile__icon {
|
|
14357
14363
|
color: var(--color-text-subtle-default);
|
|
14358
14364
|
}
|
|
14359
14365
|
|
|
@@ -14508,95 +14514,262 @@ button.muka-chip__trailing[aria-expanded='true'],
|
|
|
14508
14514
|
aspect-ratio: 1 / 1;
|
|
14509
14515
|
}
|
|
14510
14516
|
|
|
14511
|
-
button.muka-chat-photo-grid__tile {
|
|
14512
|
-
cursor: pointer;
|
|
14513
|
-
appearance: none;
|
|
14517
|
+
button.muka-chat-photo-grid__tile {
|
|
14518
|
+
cursor: pointer;
|
|
14519
|
+
appearance: none;
|
|
14520
|
+
}
|
|
14521
|
+
|
|
14522
|
+
button.muka-chat-photo-grid__tile:focus-visible {
|
|
14523
|
+
outline: var(--border-width-bold) solid var(--color-border-focus);
|
|
14524
|
+
/* Inset, so the grid's overflow clip cannot cut the ring off on corner tiles */
|
|
14525
|
+
outline-offset: calc(-1 * var(--border-width-bold));
|
|
14526
|
+
}
|
|
14527
|
+
|
|
14528
|
+
.muka-chat-photo-grid__image {
|
|
14529
|
+
display: block;
|
|
14530
|
+
width: 100%;
|
|
14531
|
+
height: 100%;
|
|
14532
|
+
object-fit: cover;
|
|
14533
|
+
}
|
|
14534
|
+
|
|
14535
|
+
/* ─── Overflow tile ────────────────────────────────────── */
|
|
14536
|
+
|
|
14537
|
+
.muka-chat-photo-grid__overflow {
|
|
14538
|
+
position: absolute;
|
|
14539
|
+
inset: 0;
|
|
14540
|
+
display: flex;
|
|
14541
|
+
align-items: center;
|
|
14542
|
+
justify-content: center;
|
|
14543
|
+
background-color: var(--chatphotogrid-color-overflow-background);
|
|
14544
|
+
color: var(--chatphotogrid-color-overflow-foreground);
|
|
14545
|
+
font-family: var(--text-body-2xl-regular-fontFamily);
|
|
14546
|
+
font-weight: var(--text-body-2xl-regular-fontWeight);
|
|
14547
|
+
font-size: var(--text-body-2xl-regular-fontSize);
|
|
14548
|
+
line-height: var(--text-body-2xl-regular-lineHeight);
|
|
14549
|
+
}
|
|
14550
|
+
|
|
14551
|
+
/* ─── Layouts ──────────────────────────────────────────── */
|
|
14552
|
+
|
|
14553
|
+
.muka-chat-photo-grid--1 {
|
|
14554
|
+
grid-template-columns: 1fr;
|
|
14555
|
+
}
|
|
14556
|
+
|
|
14557
|
+
.muka-chat-photo-grid--landscape .muka-chat-photo-grid__tile {
|
|
14558
|
+
aspect-ratio: 4 / 3;
|
|
14559
|
+
}
|
|
14560
|
+
|
|
14561
|
+
.muka-chat-photo-grid--portrait .muka-chat-photo-grid__tile {
|
|
14562
|
+
aspect-ratio: 3 / 4;
|
|
14563
|
+
}
|
|
14564
|
+
|
|
14565
|
+
.muka-chat-photo-grid--2 {
|
|
14566
|
+
grid-template-columns: repeat(2, 1fr);
|
|
14567
|
+
}
|
|
14568
|
+
|
|
14569
|
+
.muka-chat-photo-grid--3 {
|
|
14570
|
+
grid-template-columns: repeat(3, 1fr);
|
|
14571
|
+
}
|
|
14572
|
+
|
|
14573
|
+
.muka-chat-photo-grid--4 {
|
|
14574
|
+
grid-template-columns: repeat(2, 1fr);
|
|
14575
|
+
}
|
|
14576
|
+
|
|
14577
|
+
/* 5 photos: a 2-up row above a 3-up row, on a shared 6-column track */
|
|
14578
|
+
.muka-chat-photo-grid--5 {
|
|
14579
|
+
grid-template-columns: repeat(6, 1fr);
|
|
14580
|
+
}
|
|
14581
|
+
|
|
14582
|
+
.muka-chat-photo-grid--5 .muka-chat-photo-grid__tile:nth-child(-n + 2) {
|
|
14583
|
+
grid-column: span 3;
|
|
14584
|
+
}
|
|
14585
|
+
|
|
14586
|
+
.muka-chat-photo-grid--5 .muka-chat-photo-grid__tile:nth-child(n + 3) {
|
|
14587
|
+
grid-column: span 2;
|
|
14588
|
+
}
|
|
14589
|
+
|
|
14590
|
+
.muka-chat-photo-grid--6,
|
|
14591
|
+
.muka-chat-photo-grid--overflow {
|
|
14592
|
+
grid-template-columns: repeat(3, 1fr);
|
|
14593
|
+
}
|
|
14594
|
+
|
|
14595
|
+
/* ─── Print ────────────────────────────────────────────── */
|
|
14596
|
+
|
|
14597
|
+
@media print {
|
|
14598
|
+
.muka-chat-photo-grid {
|
|
14599
|
+
break-inside: avoid;
|
|
14600
|
+
}
|
|
14601
|
+
|
|
14602
|
+
.muka-chat-photo-grid__image {
|
|
14603
|
+
print-color-adjust: exact;
|
|
14604
|
+
-webkit-print-color-adjust: exact;
|
|
14605
|
+
}
|
|
14606
|
+
}
|
|
14607
|
+
|
|
14608
|
+
|
|
14609
|
+
/* Checkbox */
|
|
14610
|
+
/* Checkbox Component Styles - Using Muka Design Tokens */
|
|
14611
|
+
|
|
14612
|
+
/* Wrapper - clickable label container */
|
|
14613
|
+
.muka-checkbox {
|
|
14614
|
+
display: inline-flex;
|
|
14615
|
+
align-items: center;
|
|
14616
|
+
gap: var(--spacing-4);
|
|
14617
|
+
cursor: pointer;
|
|
14618
|
+
user-select: none;
|
|
14619
|
+
}
|
|
14620
|
+
|
|
14621
|
+
.muka-checkbox--disabled {
|
|
14622
|
+
cursor: not-allowed;
|
|
14623
|
+
opacity: 0.6;
|
|
14624
|
+
}
|
|
14625
|
+
|
|
14626
|
+
/* Control container */
|
|
14627
|
+
.muka-checkbox__control {
|
|
14628
|
+
position: relative;
|
|
14629
|
+
display: inline-flex;
|
|
14630
|
+
align-items: center;
|
|
14631
|
+
justify-content: center;
|
|
14632
|
+
flex-shrink: 0;
|
|
14633
|
+
}
|
|
14634
|
+
|
|
14635
|
+
/* Hidden native input */
|
|
14636
|
+
.muka-checkbox__input {
|
|
14637
|
+
position: absolute;
|
|
14638
|
+
width: 1px;
|
|
14639
|
+
height: 1px;
|
|
14640
|
+
padding: 0;
|
|
14641
|
+
margin: -1px;
|
|
14642
|
+
overflow: hidden;
|
|
14643
|
+
clip: rect(0, 0, 0, 0);
|
|
14644
|
+
white-space: nowrap;
|
|
14645
|
+
border: 0;
|
|
14646
|
+
}
|
|
14647
|
+
|
|
14648
|
+
/* Visual indicator (square) */
|
|
14649
|
+
.muka-checkbox__indicator {
|
|
14650
|
+
display: flex;
|
|
14651
|
+
align-items: center;
|
|
14652
|
+
justify-content: center;
|
|
14653
|
+
width: var(--checkbox-size-default);
|
|
14654
|
+
height: var(--checkbox-size-default);
|
|
14655
|
+
border-radius: var(--checkbox-radius);
|
|
14656
|
+
background-color: var(--checkbox-color-default-background);
|
|
14657
|
+
border: var(--border-width-regular) solid var(--checkbox-color-default-border);
|
|
14658
|
+
transition: all 0.15s ease;
|
|
14659
|
+
box-shadow: inset 0 1px 2px 0 rgba(26, 26, 26, 0.15);
|
|
14660
|
+
}
|
|
14661
|
+
|
|
14662
|
+
/* Size variants */
|
|
14663
|
+
.muka-checkbox--sm .muka-checkbox__indicator {
|
|
14664
|
+
width: var(--checkbox-size-sm);
|
|
14665
|
+
height: var(--checkbox-size-sm);
|
|
14666
|
+
}
|
|
14667
|
+
|
|
14668
|
+
.muka-checkbox--lg .muka-checkbox__indicator {
|
|
14669
|
+
width: var(--checkbox-size-lg);
|
|
14670
|
+
height: var(--checkbox-size-lg);
|
|
14514
14671
|
}
|
|
14515
14672
|
|
|
14516
|
-
|
|
14517
|
-
|
|
14518
|
-
|
|
14519
|
-
|
|
14673
|
+
/* Icon inside checkbox */
|
|
14674
|
+
.muka-checkbox__icon {
|
|
14675
|
+
width: var(--checkbox-icon-size-default);
|
|
14676
|
+
height: var(--checkbox-icon-size-default);
|
|
14677
|
+
color: var(--checkbox-color-default-icon);
|
|
14678
|
+
opacity: 0;
|
|
14679
|
+
transform: scale(0.8);
|
|
14680
|
+
transition: opacity 0.15s ease, transform 0.15s ease;
|
|
14520
14681
|
}
|
|
14521
14682
|
|
|
14522
|
-
.muka-
|
|
14523
|
-
|
|
14524
|
-
|
|
14525
|
-
height: 100%;
|
|
14526
|
-
object-fit: cover;
|
|
14683
|
+
.muka-checkbox--sm .muka-checkbox__icon {
|
|
14684
|
+
width: var(--checkbox-icon-size-sm);
|
|
14685
|
+
height: var(--checkbox-icon-size-sm);
|
|
14527
14686
|
}
|
|
14528
14687
|
|
|
14529
|
-
|
|
14688
|
+
.muka-checkbox--lg .muka-checkbox__icon {
|
|
14689
|
+
width: var(--checkbox-icon-size-lg);
|
|
14690
|
+
height: var(--checkbox-icon-size-lg);
|
|
14691
|
+
}
|
|
14530
14692
|
|
|
14531
|
-
|
|
14693
|
+
/* Hide indeterminate icon by default */
|
|
14694
|
+
.muka-checkbox__icon--indeterminate {
|
|
14532
14695
|
position: absolute;
|
|
14533
|
-
inset: 0;
|
|
14534
|
-
display: flex;
|
|
14535
|
-
align-items: center;
|
|
14536
|
-
justify-content: center;
|
|
14537
|
-
background-color: var(--chatphotogrid-color-overflow-background);
|
|
14538
|
-
color: var(--chatphotogrid-color-overflow-foreground);
|
|
14539
|
-
font-family: var(--text-body-2xl-regular-fontFamily);
|
|
14540
|
-
font-weight: var(--text-body-2xl-regular-fontWeight);
|
|
14541
|
-
font-size: var(--text-body-2xl-regular-fontSize);
|
|
14542
|
-
line-height: var(--text-body-2xl-regular-lineHeight);
|
|
14543
14696
|
}
|
|
14544
14697
|
|
|
14545
|
-
/*
|
|
14698
|
+
/* Hover state - removed per design */
|
|
14546
14699
|
|
|
14547
|
-
|
|
14548
|
-
|
|
14700
|
+
/* Focus state */
|
|
14701
|
+
.muka-checkbox__input:focus-visible + .muka-checkbox__indicator {
|
|
14702
|
+
outline: 2px solid var(--color-border-focus);
|
|
14703
|
+
outline-offset: 2px;
|
|
14549
14704
|
}
|
|
14550
14705
|
|
|
14551
|
-
|
|
14552
|
-
|
|
14706
|
+
/* Checked state */
|
|
14707
|
+
.muka-checkbox__input:checked + .muka-checkbox__indicator {
|
|
14708
|
+
background-color: var(--checkbox-color-checked-background);
|
|
14709
|
+
border-color: var(--checkbox-color-checked-border);
|
|
14710
|
+
box-shadow: none;
|
|
14553
14711
|
}
|
|
14554
14712
|
|
|
14555
|
-
.muka-
|
|
14556
|
-
|
|
14713
|
+
.muka-checkbox__input:checked + .muka-checkbox__indicator .muka-checkbox__icon--check {
|
|
14714
|
+
color: var(--checkbox-color-checked-icon);
|
|
14715
|
+
opacity: 1;
|
|
14716
|
+
transform: scale(1);
|
|
14557
14717
|
}
|
|
14558
14718
|
|
|
14559
|
-
|
|
14560
|
-
|
|
14719
|
+
/* Indeterminate state */
|
|
14720
|
+
.muka-checkbox__input:indeterminate + .muka-checkbox__indicator {
|
|
14721
|
+
background-color: var(--checkbox-color-checked-background);
|
|
14722
|
+
border-color: var(--checkbox-color-checked-border);
|
|
14723
|
+
box-shadow: none;
|
|
14561
14724
|
}
|
|
14562
14725
|
|
|
14563
|
-
.muka-
|
|
14564
|
-
|
|
14726
|
+
.muka-checkbox__input:indeterminate + .muka-checkbox__indicator .muka-checkbox__icon--check {
|
|
14727
|
+
opacity: 0;
|
|
14565
14728
|
}
|
|
14566
14729
|
|
|
14567
|
-
.muka-
|
|
14568
|
-
|
|
14730
|
+
.muka-checkbox__input:indeterminate + .muka-checkbox__indicator .muka-checkbox__icon--indeterminate {
|
|
14731
|
+
color: var(--checkbox-color-checked-icon);
|
|
14732
|
+
opacity: 1;
|
|
14733
|
+
transform: scale(1);
|
|
14569
14734
|
}
|
|
14570
14735
|
|
|
14571
|
-
/*
|
|
14572
|
-
.muka-
|
|
14573
|
-
|
|
14736
|
+
/* Disabled state */
|
|
14737
|
+
.muka-checkbox--disabled .muka-checkbox__indicator {
|
|
14738
|
+
background-color: var(--checkbox-color-disabled-background);
|
|
14739
|
+
border-color: var(--checkbox-color-disabled-border);
|
|
14740
|
+
box-shadow: none;
|
|
14574
14741
|
}
|
|
14575
14742
|
|
|
14576
|
-
.muka-
|
|
14577
|
-
|
|
14743
|
+
.muka-checkbox__input:disabled:checked + .muka-checkbox__indicator .muka-checkbox__icon--check,
|
|
14744
|
+
.muka-checkbox__input:disabled:indeterminate + .muka-checkbox__indicator .muka-checkbox__icon--indeterminate {
|
|
14745
|
+
color: var(--checkbox-color-disabled-icon);
|
|
14578
14746
|
}
|
|
14579
14747
|
|
|
14580
|
-
|
|
14581
|
-
|
|
14748
|
+
/* Label text */
|
|
14749
|
+
.muka-checkbox__label {
|
|
14750
|
+
font-family: var(--text-label-lg-regular-fontFamily);
|
|
14751
|
+
font-weight: var(--text-label-lg-regular-fontWeight);
|
|
14752
|
+
font-size: var(--text-label-lg-regular-fontSize);
|
|
14753
|
+
line-height: var(--text-label-lg-regular-lineHeight);
|
|
14754
|
+
color: var(--color-text-default-default);
|
|
14582
14755
|
}
|
|
14583
14756
|
|
|
14584
|
-
.muka-
|
|
14585
|
-
|
|
14586
|
-
|
|
14757
|
+
.muka-checkbox--sm .muka-checkbox__label {
|
|
14758
|
+
font-family: var(--text-label-md-regular-fontFamily);
|
|
14759
|
+
font-weight: var(--text-label-md-regular-fontWeight);
|
|
14760
|
+
font-size: var(--text-label-md-regular-fontSize);
|
|
14761
|
+
line-height: var(--text-label-md-regular-lineHeight);
|
|
14587
14762
|
}
|
|
14588
14763
|
|
|
14589
|
-
|
|
14590
|
-
|
|
14591
|
-
|
|
14592
|
-
|
|
14593
|
-
|
|
14594
|
-
|
|
14764
|
+
.muka-checkbox--lg .muka-checkbox__label {
|
|
14765
|
+
font-family: var(--text-label-xl-regular-fontFamily);
|
|
14766
|
+
font-weight: var(--text-label-xl-regular-fontWeight);
|
|
14767
|
+
font-size: var(--text-label-xl-regular-fontSize);
|
|
14768
|
+
line-height: var(--text-label-xl-regular-lineHeight);
|
|
14769
|
+
}
|
|
14595
14770
|
|
|
14596
|
-
|
|
14597
|
-
|
|
14598
|
-
-webkit-print-color-adjust: exact;
|
|
14599
|
-
}
|
|
14771
|
+
.muka-checkbox--disabled .muka-checkbox__label {
|
|
14772
|
+
color: var(--color-text-subtle-default);
|
|
14600
14773
|
}
|
|
14601
14774
|
|
|
14602
14775
|
|
|
@@ -15061,58 +15234,6 @@ button.muka-chat-photo-grid__tile:focus-visible {
|
|
|
15061
15234
|
}
|
|
15062
15235
|
|
|
15063
15236
|
|
|
15064
|
-
/* ChatEvent */
|
|
15065
|
-
/* ChatEvent: a line in a chat that isn't a message from a person */
|
|
15066
|
-
|
|
15067
|
-
.muka-chat-event {
|
|
15068
|
-
display: flex;
|
|
15069
|
-
flex-direction: column;
|
|
15070
|
-
align-items: center;
|
|
15071
|
-
gap: var(--spacing-2);
|
|
15072
|
-
width: 100%;
|
|
15073
|
-
padding: 0 var(--spacing-4);
|
|
15074
|
-
box-sizing: border-box;
|
|
15075
|
-
text-align: center;
|
|
15076
|
-
}
|
|
15077
|
-
|
|
15078
|
-
.muka-chat-event__text {
|
|
15079
|
-
margin: 0;
|
|
15080
|
-
max-width: var(--chatbubble-max-width);
|
|
15081
|
-
/* Default text, not subtle: subtle reaches only ~3:1 on the chat surfaces,
|
|
15082
|
-
and this is body text. Size and centring set it apart from messages. */
|
|
15083
|
-
color: var(--color-text-default-default);
|
|
15084
|
-
font-family: var(--text-body-sm-regular-fontFamily);
|
|
15085
|
-
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
15086
|
-
font-size: var(--text-body-sm-regular-fontSize);
|
|
15087
|
-
line-height: var(--text-body-sm-regular-lineHeight);
|
|
15088
|
-
}
|
|
15089
|
-
|
|
15090
|
-
.muka-chat-event__timestamp {
|
|
15091
|
-
white-space: nowrap;
|
|
15092
|
-
}
|
|
15093
|
-
|
|
15094
|
-
.muka-chat-event__media {
|
|
15095
|
-
display: flex;
|
|
15096
|
-
flex-wrap: wrap;
|
|
15097
|
-
justify-content: center;
|
|
15098
|
-
gap: var(--spacing-2);
|
|
15099
|
-
}
|
|
15100
|
-
|
|
15101
|
-
/* Day divider: a small pill */
|
|
15102
|
-
.muka-chat-event__pill {
|
|
15103
|
-
display: inline-flex;
|
|
15104
|
-
align-items: center;
|
|
15105
|
-
padding: var(--spacing-1) var(--spacing-3);
|
|
15106
|
-
border-radius: var(--radius-full);
|
|
15107
|
-
background-color: var(--color-surface-level2);
|
|
15108
|
-
color: var(--color-text-default-default);
|
|
15109
|
-
font-family: var(--text-label-sm-regular-fontFamily);
|
|
15110
|
-
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
15111
|
-
font-size: var(--text-label-sm-regular-fontSize);
|
|
15112
|
-
line-height: var(--text-label-sm-leading);
|
|
15113
|
-
}
|
|
15114
|
-
|
|
15115
|
-
|
|
15116
15237
|
/* ChatComposer */
|
|
15117
15238
|
/* ChatComposer Component Styles */
|
|
15118
15239
|
|
|
@@ -15459,164 +15580,60 @@ button.muka-chat-photo-grid__tile:focus-visible {
|
|
|
15459
15580
|
|
|
15460
15581
|
.muka-chat-choice__row--other > .muka-input {
|
|
15461
15582
|
flex: 1 1 auto;
|
|
15462
|
-
width: auto;
|
|
15463
|
-
min-width: 0;
|
|
15464
|
-
}
|
|
15465
|
-
|
|
15466
|
-
|
|
15467
|
-
/* ChatAttachmentChip */
|
|
15468
|
-
/* ChatAttachmentChip Component Styles */
|
|
15469
|
-
|
|
15470
|
-
.muka-chat-attachment-chip {
|
|
15471
|
-
position: relative;
|
|
15472
|
-
display: inline-flex;
|
|
15473
|
-
align-items: center;
|
|
15474
|
-
gap: var(--spacing-1);
|
|
15475
|
-
max-width: 240px;
|
|
15476
|
-
padding: var(--spacing-2) var(--spacing-3);
|
|
15477
|
-
background-color: var(--color-surface-level1);
|
|
15478
|
-
border: var(--border-width-regular) solid var(--color-border-default);
|
|
15479
|
-
border-radius: var(--radius-md);
|
|
15480
|
-
overflow: hidden;
|
|
15481
|
-
}
|
|
15482
|
-
|
|
15483
|
-
.muka-chat-attachment-chip--uploading {
|
|
15484
|
-
padding-bottom: calc(var(--spacing-2) + 2px);
|
|
15485
|
-
}
|
|
15486
|
-
|
|
15487
|
-
.muka-chat-attachment-chip--error {
|
|
15488
|
-
border-color: var(--color-state-error-default, var(--color-text-default-default));
|
|
15489
|
-
}
|
|
15490
|
-
|
|
15491
|
-
.muka-chat-attachment-chip--disabled {
|
|
15492
|
-
opacity: 0.5;
|
|
15493
|
-
pointer-events: none;
|
|
15494
|
-
}
|
|
15495
|
-
|
|
15496
|
-
/* ─── Body (icon + text) ───────────────────────────────── */
|
|
15497
|
-
|
|
15498
|
-
.muka-chat-attachment-chip__body {
|
|
15499
|
-
display: inline-flex;
|
|
15500
|
-
align-items: center;
|
|
15501
|
-
gap: var(--spacing-2);
|
|
15502
|
-
min-width: 0;
|
|
15503
|
-
flex: 1 1 auto;
|
|
15504
|
-
background: none;
|
|
15505
|
-
border: none;
|
|
15506
|
-
padding: 0;
|
|
15507
|
-
margin: 0;
|
|
15508
|
-
text-align: left;
|
|
15509
|
-
color: inherit;
|
|
15510
|
-
font: inherit;
|
|
15511
|
-
cursor: default;
|
|
15512
|
-
-webkit-tap-highlight-color: transparent;
|
|
15513
|
-
}
|
|
15514
|
-
|
|
15515
|
-
.muka-chat-attachment-chip--interactive .muka-chat-attachment-chip__body {
|
|
15516
|
-
cursor: pointer;
|
|
15517
|
-
}
|
|
15518
|
-
|
|
15519
|
-
.muka-chat-attachment-chip--interactive .muka-chat-attachment-chip__body:focus-visible {
|
|
15520
|
-
outline: 2px solid var(--color-action-default);
|
|
15521
|
-
outline-offset: 2px;
|
|
15522
|
-
border-radius: var(--radius-sm);
|
|
15523
|
-
}
|
|
15524
|
-
|
|
15525
|
-
.muka-chat-attachment-chip__icon {
|
|
15526
|
-
display: inline-flex;
|
|
15527
|
-
align-items: center;
|
|
15528
|
-
justify-content: center;
|
|
15529
|
-
flex-shrink: 0;
|
|
15530
|
-
color: var(--color-text-subtle-default);
|
|
15583
|
+
width: auto;
|
|
15584
|
+
min-width: 0;
|
|
15531
15585
|
}
|
|
15532
15586
|
|
|
15533
|
-
|
|
15587
|
+
|
|
15588
|
+
/* ChatEvent */
|
|
15589
|
+
/* ChatEvent: a line in a chat that isn't a message from a person */
|
|
15590
|
+
|
|
15591
|
+
.muka-chat-event {
|
|
15534
15592
|
display: flex;
|
|
15535
15593
|
flex-direction: column;
|
|
15536
|
-
|
|
15537
|
-
|
|
15594
|
+
align-items: center;
|
|
15595
|
+
gap: var(--spacing-2);
|
|
15596
|
+
width: 100%;
|
|
15597
|
+
padding: 0 var(--spacing-4);
|
|
15598
|
+
box-sizing: border-box;
|
|
15599
|
+
text-align: center;
|
|
15538
15600
|
}
|
|
15539
15601
|
|
|
15540
|
-
.muka-chat-
|
|
15602
|
+
.muka-chat-event__text {
|
|
15603
|
+
margin: 0;
|
|
15604
|
+
max-width: var(--chatbubble-max-width);
|
|
15605
|
+
/* Default text, not subtle: subtle reaches only ~3:1 on the chat surfaces,
|
|
15606
|
+
and this is body text. Size and centring set it apart from messages. */
|
|
15541
15607
|
color: var(--color-text-default-default);
|
|
15542
15608
|
font-family: var(--text-body-sm-regular-fontFamily);
|
|
15543
15609
|
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
15544
15610
|
font-size: var(--text-body-sm-regular-fontSize);
|
|
15545
15611
|
line-height: var(--text-body-sm-regular-lineHeight);
|
|
15546
|
-
white-space: nowrap;
|
|
15547
|
-
overflow: hidden;
|
|
15548
|
-
text-overflow: ellipsis;
|
|
15549
15612
|
}
|
|
15550
15613
|
|
|
15551
|
-
.muka-chat-
|
|
15552
|
-
color: var(--color-text-subtle-default);
|
|
15553
|
-
font-family: var(--text-body-sm-regular-fontFamily);
|
|
15554
|
-
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
15555
|
-
font-size: var(--text-body-sm-regular-fontSize);
|
|
15556
|
-
line-height: var(--text-body-sm-regular-lineHeight);
|
|
15614
|
+
.muka-chat-event__timestamp {
|
|
15557
15615
|
white-space: nowrap;
|
|
15558
|
-
overflow: hidden;
|
|
15559
|
-
text-overflow: ellipsis;
|
|
15560
15616
|
}
|
|
15561
15617
|
|
|
15562
|
-
.muka-chat-
|
|
15563
|
-
|
|
15618
|
+
.muka-chat-event__media {
|
|
15619
|
+
display: flex;
|
|
15620
|
+
flex-wrap: wrap;
|
|
15621
|
+
justify-content: center;
|
|
15622
|
+
gap: var(--spacing-2);
|
|
15564
15623
|
}
|
|
15565
15624
|
|
|
15566
|
-
/*
|
|
15567
|
-
|
|
15568
|
-
.muka-chat-attachment-chip__remove {
|
|
15625
|
+
/* Day divider: a small pill */
|
|
15626
|
+
.muka-chat-event__pill {
|
|
15569
15627
|
display: inline-flex;
|
|
15570
15628
|
align-items: center;
|
|
15571
|
-
|
|
15572
|
-
|
|
15573
|
-
height: 20px;
|
|
15574
|
-
border: none;
|
|
15575
|
-
background: none;
|
|
15576
|
-
padding: 0;
|
|
15577
|
-
border-radius: var(--radius-sm);
|
|
15578
|
-
cursor: pointer;
|
|
15579
|
-
color: var(--color-text-subtle-default);
|
|
15580
|
-
flex-shrink: 0;
|
|
15581
|
-
-webkit-tap-highlight-color: transparent;
|
|
15582
|
-
}
|
|
15583
|
-
|
|
15584
|
-
.muka-chat-attachment-chip__remove:hover:not(:disabled) {
|
|
15585
|
-
color: var(--color-text-default-default);
|
|
15586
|
-
background-color: var(--color-surface-level2);
|
|
15587
|
-
}
|
|
15588
|
-
|
|
15589
|
-
.muka-chat-attachment-chip__remove:focus-visible {
|
|
15590
|
-
outline: 2px solid var(--color-action-default);
|
|
15591
|
-
outline-offset: 2px;
|
|
15592
|
-
}
|
|
15593
|
-
|
|
15594
|
-
.muka-chat-attachment-chip__remove:disabled {
|
|
15595
|
-
cursor: not-allowed;
|
|
15596
|
-
opacity: 0.5;
|
|
15597
|
-
}
|
|
15598
|
-
|
|
15599
|
-
/* ─── Progress bar ─────────────────────────────────────── */
|
|
15600
|
-
|
|
15601
|
-
.muka-chat-attachment-chip__progress {
|
|
15602
|
-
position: absolute;
|
|
15603
|
-
left: 0;
|
|
15604
|
-
right: 0;
|
|
15605
|
-
bottom: 0;
|
|
15606
|
-
height: 2px;
|
|
15629
|
+
padding: var(--spacing-1) var(--spacing-3);
|
|
15630
|
+
border-radius: var(--radius-full);
|
|
15607
15631
|
background-color: var(--color-surface-level2);
|
|
15608
|
-
|
|
15609
|
-
|
|
15610
|
-
|
|
15611
|
-
|
|
15612
|
-
|
|
15613
|
-
height: 100%;
|
|
15614
|
-
background-color: var(--color-action-default);
|
|
15615
|
-
transition: width 0.16s ease;
|
|
15616
|
-
}
|
|
15617
|
-
|
|
15618
|
-
.muka-chat-attachment-chip--error .muka-chat-attachment-chip__progress-fill {
|
|
15619
|
-
background-color: var(--color-state-error-default, var(--color-text-default-default));
|
|
15632
|
+
color: var(--color-text-default-default);
|
|
15633
|
+
font-family: var(--text-label-sm-regular-fontFamily);
|
|
15634
|
+
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
15635
|
+
font-size: var(--text-label-sm-regular-fontSize);
|
|
15636
|
+
line-height: var(--text-label-sm-leading);
|
|
15620
15637
|
}
|
|
15621
15638
|
|
|
15622
15639
|
|
|
@@ -17780,66 +17797,222 @@ button.muka-chat-photo-grid__tile:focus-visible {
|
|
|
17780
17797
|
bottom: 0;
|
|
17781
17798
|
}
|
|
17782
17799
|
|
|
17783
|
-
.muka-agent-task-list__task:first-child .muka-agent-task-list__line--top {
|
|
17784
|
-
display: none;
|
|
17800
|
+
.muka-agent-task-list__task:first-child .muka-agent-task-list__line--top {
|
|
17801
|
+
display: none;
|
|
17802
|
+
}
|
|
17803
|
+
|
|
17804
|
+
.muka-agent-task-list__task:last-child .muka-agent-task-list__line--bottom {
|
|
17805
|
+
display: none;
|
|
17806
|
+
}
|
|
17807
|
+
|
|
17808
|
+
.muka-agent-task-list__icon {
|
|
17809
|
+
position: absolute;
|
|
17810
|
+
top: 8px;
|
|
17811
|
+
left: 0;
|
|
17812
|
+
width: 16px;
|
|
17813
|
+
height: 16px;
|
|
17814
|
+
display: inline-flex;
|
|
17815
|
+
align-items: center;
|
|
17816
|
+
justify-content: center;
|
|
17817
|
+
color: var(--color-text-subtle-default);
|
|
17818
|
+
z-index: 1;
|
|
17819
|
+
}
|
|
17820
|
+
|
|
17821
|
+
/* ─── State color treatments ───────────────────────────── */
|
|
17822
|
+
|
|
17823
|
+
.muka-agent-task-list__task[data-state='active'] .muka-agent-task-list__icon {
|
|
17824
|
+
color: var(--color-action-default);
|
|
17825
|
+
}
|
|
17826
|
+
|
|
17827
|
+
.muka-agent-task-list__task[data-state='done'] .muka-agent-task-list__icon {
|
|
17828
|
+
color: var(--color-text-subtle-default);
|
|
17829
|
+
}
|
|
17830
|
+
|
|
17831
|
+
.muka-agent-task-list__task[data-state='pending'] .muka-agent-task-list__icon {
|
|
17832
|
+
color: var(--color-text-muted-default, var(--color-text-subtle-default));
|
|
17833
|
+
opacity: 0.6;
|
|
17834
|
+
}
|
|
17835
|
+
|
|
17836
|
+
/* ─── Label ────────────────────────────────────────────── */
|
|
17837
|
+
|
|
17838
|
+
.muka-agent-task-list__label {
|
|
17839
|
+
flex: 1 1 0;
|
|
17840
|
+
min-width: 0;
|
|
17841
|
+
padding: var(--spacing-2) 0;
|
|
17842
|
+
color: var(--color-text-subtle-default);
|
|
17843
|
+
font-family: var(--text-body-sm-regular-fontFamily);
|
|
17844
|
+
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
17845
|
+
font-size: var(--text-body-sm-regular-fontSize);
|
|
17846
|
+
line-height: var(--text-body-sm-regular-lineHeight);
|
|
17847
|
+
word-break: break-word;
|
|
17848
|
+
}
|
|
17849
|
+
|
|
17850
|
+
/* ─── Print ────────────────────────────────────────────── */
|
|
17851
|
+
|
|
17852
|
+
@media print {
|
|
17853
|
+
.muka-agent-task-list {
|
|
17854
|
+
break-inside: avoid;
|
|
17855
|
+
}
|
|
17856
|
+
|
|
17857
|
+
.muka-agent-task-list__chevron {
|
|
17858
|
+
display: none;
|
|
17859
|
+
}
|
|
17860
|
+
}
|
|
17861
|
+
|
|
17862
|
+
|
|
17863
|
+
/* ChatAttachmentChip */
|
|
17864
|
+
/* ChatAttachmentChip Component Styles */
|
|
17865
|
+
|
|
17866
|
+
.muka-chat-attachment-chip {
|
|
17867
|
+
position: relative;
|
|
17868
|
+
display: inline-flex;
|
|
17869
|
+
align-items: center;
|
|
17870
|
+
gap: var(--spacing-1);
|
|
17871
|
+
max-width: 240px;
|
|
17872
|
+
padding: var(--spacing-2) var(--spacing-3);
|
|
17873
|
+
background-color: var(--color-surface-level1);
|
|
17874
|
+
border: var(--border-width-regular) solid var(--color-border-default);
|
|
17875
|
+
border-radius: var(--radius-md);
|
|
17876
|
+
overflow: hidden;
|
|
17877
|
+
}
|
|
17878
|
+
|
|
17879
|
+
.muka-chat-attachment-chip--uploading {
|
|
17880
|
+
padding-bottom: calc(var(--spacing-2) + 2px);
|
|
17881
|
+
}
|
|
17882
|
+
|
|
17883
|
+
.muka-chat-attachment-chip--error {
|
|
17884
|
+
border-color: var(--color-state-error-default, var(--color-text-default-default));
|
|
17885
|
+
}
|
|
17886
|
+
|
|
17887
|
+
.muka-chat-attachment-chip--disabled {
|
|
17888
|
+
opacity: 0.5;
|
|
17889
|
+
pointer-events: none;
|
|
17890
|
+
}
|
|
17891
|
+
|
|
17892
|
+
/* ─── Body (icon + text) ───────────────────────────────── */
|
|
17893
|
+
|
|
17894
|
+
.muka-chat-attachment-chip__body {
|
|
17895
|
+
display: inline-flex;
|
|
17896
|
+
align-items: center;
|
|
17897
|
+
gap: var(--spacing-2);
|
|
17898
|
+
min-width: 0;
|
|
17899
|
+
flex: 1 1 auto;
|
|
17900
|
+
background: none;
|
|
17901
|
+
border: none;
|
|
17902
|
+
padding: 0;
|
|
17903
|
+
margin: 0;
|
|
17904
|
+
text-align: left;
|
|
17905
|
+
color: inherit;
|
|
17906
|
+
font: inherit;
|
|
17907
|
+
cursor: default;
|
|
17908
|
+
-webkit-tap-highlight-color: transparent;
|
|
17909
|
+
}
|
|
17910
|
+
|
|
17911
|
+
.muka-chat-attachment-chip--interactive .muka-chat-attachment-chip__body {
|
|
17912
|
+
cursor: pointer;
|
|
17913
|
+
}
|
|
17914
|
+
|
|
17915
|
+
.muka-chat-attachment-chip--interactive .muka-chat-attachment-chip__body:focus-visible {
|
|
17916
|
+
outline: 2px solid var(--color-action-default);
|
|
17917
|
+
outline-offset: 2px;
|
|
17918
|
+
border-radius: var(--radius-sm);
|
|
17919
|
+
}
|
|
17920
|
+
|
|
17921
|
+
.muka-chat-attachment-chip__icon {
|
|
17922
|
+
display: inline-flex;
|
|
17923
|
+
align-items: center;
|
|
17924
|
+
justify-content: center;
|
|
17925
|
+
flex-shrink: 0;
|
|
17926
|
+
color: var(--color-text-subtle-default);
|
|
17927
|
+
}
|
|
17928
|
+
|
|
17929
|
+
.muka-chat-attachment-chip__text {
|
|
17930
|
+
display: flex;
|
|
17931
|
+
flex-direction: column;
|
|
17932
|
+
min-width: 0;
|
|
17933
|
+
flex: 1 1 auto;
|
|
17934
|
+
}
|
|
17935
|
+
|
|
17936
|
+
.muka-chat-attachment-chip__name {
|
|
17937
|
+
color: var(--color-text-default-default);
|
|
17938
|
+
font-family: var(--text-body-sm-regular-fontFamily);
|
|
17939
|
+
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
17940
|
+
font-size: var(--text-body-sm-regular-fontSize);
|
|
17941
|
+
line-height: var(--text-body-sm-regular-lineHeight);
|
|
17942
|
+
white-space: nowrap;
|
|
17943
|
+
overflow: hidden;
|
|
17944
|
+
text-overflow: ellipsis;
|
|
17945
|
+
}
|
|
17946
|
+
|
|
17947
|
+
.muka-chat-attachment-chip__meta {
|
|
17948
|
+
color: var(--color-text-subtle-default);
|
|
17949
|
+
font-family: var(--text-body-sm-regular-fontFamily);
|
|
17950
|
+
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
17951
|
+
font-size: var(--text-body-sm-regular-fontSize);
|
|
17952
|
+
line-height: var(--text-body-sm-regular-lineHeight);
|
|
17953
|
+
white-space: nowrap;
|
|
17954
|
+
overflow: hidden;
|
|
17955
|
+
text-overflow: ellipsis;
|
|
17956
|
+
}
|
|
17957
|
+
|
|
17958
|
+
.muka-chat-attachment-chip--error .muka-chat-attachment-chip__meta {
|
|
17959
|
+
color: var(--color-state-error-default, var(--color-text-default-default));
|
|
17785
17960
|
}
|
|
17786
17961
|
|
|
17787
|
-
|
|
17788
|
-
display: none;
|
|
17789
|
-
}
|
|
17962
|
+
/* ─── Remove button ────────────────────────────────────── */
|
|
17790
17963
|
|
|
17791
|
-
.muka-
|
|
17792
|
-
position: absolute;
|
|
17793
|
-
top: 8px;
|
|
17794
|
-
left: 0;
|
|
17795
|
-
width: 16px;
|
|
17796
|
-
height: 16px;
|
|
17964
|
+
.muka-chat-attachment-chip__remove {
|
|
17797
17965
|
display: inline-flex;
|
|
17798
17966
|
align-items: center;
|
|
17799
17967
|
justify-content: center;
|
|
17968
|
+
width: 20px;
|
|
17969
|
+
height: 20px;
|
|
17970
|
+
border: none;
|
|
17971
|
+
background: none;
|
|
17972
|
+
padding: 0;
|
|
17973
|
+
border-radius: var(--radius-sm);
|
|
17974
|
+
cursor: pointer;
|
|
17800
17975
|
color: var(--color-text-subtle-default);
|
|
17801
|
-
|
|
17976
|
+
flex-shrink: 0;
|
|
17977
|
+
-webkit-tap-highlight-color: transparent;
|
|
17802
17978
|
}
|
|
17803
17979
|
|
|
17804
|
-
|
|
17805
|
-
|
|
17806
|
-
|
|
17807
|
-
color: var(--color-action-default);
|
|
17980
|
+
.muka-chat-attachment-chip__remove:hover:not(:disabled) {
|
|
17981
|
+
color: var(--color-text-default-default);
|
|
17982
|
+
background-color: var(--color-surface-level2);
|
|
17808
17983
|
}
|
|
17809
17984
|
|
|
17810
|
-
.muka-
|
|
17811
|
-
|
|
17985
|
+
.muka-chat-attachment-chip__remove:focus-visible {
|
|
17986
|
+
outline: 2px solid var(--color-action-default);
|
|
17987
|
+
outline-offset: 2px;
|
|
17812
17988
|
}
|
|
17813
17989
|
|
|
17814
|
-
.muka-
|
|
17815
|
-
|
|
17816
|
-
opacity: 0.
|
|
17990
|
+
.muka-chat-attachment-chip__remove:disabled {
|
|
17991
|
+
cursor: not-allowed;
|
|
17992
|
+
opacity: 0.5;
|
|
17817
17993
|
}
|
|
17818
17994
|
|
|
17819
|
-
/* ───
|
|
17995
|
+
/* ─── Progress bar ─────────────────────────────────────── */
|
|
17820
17996
|
|
|
17821
|
-
.muka-
|
|
17822
|
-
|
|
17823
|
-
|
|
17824
|
-
|
|
17825
|
-
|
|
17826
|
-
|
|
17827
|
-
|
|
17828
|
-
|
|
17829
|
-
line-height: var(--text-body-sm-regular-lineHeight);
|
|
17830
|
-
word-break: break-word;
|
|
17997
|
+
.muka-chat-attachment-chip__progress {
|
|
17998
|
+
position: absolute;
|
|
17999
|
+
left: 0;
|
|
18000
|
+
right: 0;
|
|
18001
|
+
bottom: 0;
|
|
18002
|
+
height: 2px;
|
|
18003
|
+
background-color: var(--color-surface-level2);
|
|
18004
|
+
overflow: hidden;
|
|
17831
18005
|
}
|
|
17832
18006
|
|
|
17833
|
-
|
|
17834
|
-
|
|
17835
|
-
|
|
17836
|
-
|
|
17837
|
-
|
|
17838
|
-
|
|
18007
|
+
.muka-chat-attachment-chip__progress-fill {
|
|
18008
|
+
display: block;
|
|
18009
|
+
height: 100%;
|
|
18010
|
+
background-color: var(--color-action-default);
|
|
18011
|
+
transition: width 0.16s ease;
|
|
18012
|
+
}
|
|
17839
18013
|
|
|
17840
|
-
|
|
17841
|
-
|
|
17842
|
-
}
|
|
18014
|
+
.muka-chat-attachment-chip--error .muka-chat-attachment-chip__progress-fill {
|
|
18015
|
+
background-color: var(--color-state-error-default, var(--color-text-default-default));
|
|
17843
18016
|
}
|
|
17844
18017
|
|
|
17845
18018
|
|
|
@@ -18115,176 +18288,3 @@ button.muka-chat-photo-grid__tile:focus-visible {
|
|
|
18115
18288
|
border-bottom: none;
|
|
18116
18289
|
}
|
|
18117
18290
|
|
|
18118
|
-
|
|
18119
|
-
/* Combobox */
|
|
18120
|
-
/* Combobox — Figma Input Combobox (free-input chips + suggestion Menu) */
|
|
18121
|
-
|
|
18122
|
-
.muka-combobox {
|
|
18123
|
-
display: inline-flex;
|
|
18124
|
-
flex-direction: column;
|
|
18125
|
-
gap: var(--spacing-2);
|
|
18126
|
-
min-width: 200px;
|
|
18127
|
-
}
|
|
18128
|
-
|
|
18129
|
-
.muka-combobox--full-width {
|
|
18130
|
-
width: 100%;
|
|
18131
|
-
}
|
|
18132
|
-
|
|
18133
|
-
.muka-combobox__label {
|
|
18134
|
-
color: var(--color-text-default-default);
|
|
18135
|
-
cursor: pointer;
|
|
18136
|
-
}
|
|
18137
|
-
|
|
18138
|
-
.muka-combobox__label--sm {
|
|
18139
|
-
font-family: var(--text-label-sm-semibold-fontFamily);
|
|
18140
|
-
font-weight: var(--text-label-sm-semibold-fontWeight);
|
|
18141
|
-
font-size: var(--text-label-sm-semibold-fontSize);
|
|
18142
|
-
line-height: var(--text-label-sm-semibold-lineHeight);
|
|
18143
|
-
}
|
|
18144
|
-
|
|
18145
|
-
.muka-combobox__label--md {
|
|
18146
|
-
font-family: var(--text-label-md-semibold-fontFamily);
|
|
18147
|
-
font-weight: var(--text-label-md-semibold-fontWeight);
|
|
18148
|
-
font-size: var(--text-label-md-semibold-fontSize);
|
|
18149
|
-
line-height: var(--text-label-md-semibold-lineHeight);
|
|
18150
|
-
}
|
|
18151
|
-
|
|
18152
|
-
.muka-combobox__label--lg {
|
|
18153
|
-
font-family: var(--text-label-lg-semibold-fontFamily);
|
|
18154
|
-
font-weight: var(--text-label-lg-semibold-fontWeight);
|
|
18155
|
-
font-size: var(--text-label-lg-semibold-fontSize);
|
|
18156
|
-
line-height: var(--text-label-lg-semibold-lineHeight);
|
|
18157
|
-
}
|
|
18158
|
-
|
|
18159
|
-
.muka-combobox__field {
|
|
18160
|
-
display: flex;
|
|
18161
|
-
align-items: center;
|
|
18162
|
-
width: 100%;
|
|
18163
|
-
position: relative;
|
|
18164
|
-
isolation: isolate;
|
|
18165
|
-
box-sizing: border-box;
|
|
18166
|
-
background-color: var(--input-field-color-default-background);
|
|
18167
|
-
border: var(--border-width-regular) solid var(--input-field-color-default-border);
|
|
18168
|
-
border-radius: var(--input-field-radius-lg);
|
|
18169
|
-
padding: var(--spacing-2);
|
|
18170
|
-
cursor: text;
|
|
18171
|
-
transition: border-color 0.12s ease, background-color 0.12s ease;
|
|
18172
|
-
}
|
|
18173
|
-
|
|
18174
|
-
.muka-combobox__field::after {
|
|
18175
|
-
content: '';
|
|
18176
|
-
position: absolute;
|
|
18177
|
-
inset: 0;
|
|
18178
|
-
border-radius: inherit;
|
|
18179
|
-
box-shadow: inset 0 1px 2px 0 rgba(26, 26, 26, 0.08);
|
|
18180
|
-
pointer-events: none;
|
|
18181
|
-
}
|
|
18182
|
-
|
|
18183
|
-
.muka-combobox__field--sm {
|
|
18184
|
-
min-height: var(--input-field-height-sm);
|
|
18185
|
-
border-radius: var(--input-field-radius-sm);
|
|
18186
|
-
}
|
|
18187
|
-
|
|
18188
|
-
.muka-combobox__field--md {
|
|
18189
|
-
min-height: var(--input-field-height-default);
|
|
18190
|
-
border-radius: var(--input-field-radius-md);
|
|
18191
|
-
}
|
|
18192
|
-
|
|
18193
|
-
.muka-combobox__field--lg {
|
|
18194
|
-
min-height: var(--input-field-height-lg);
|
|
18195
|
-
border-radius: var(--input-field-radius-lg);
|
|
18196
|
-
}
|
|
18197
|
-
|
|
18198
|
-
.muka-combobox__field--focused:not(.muka-combobox__field--disabled) {
|
|
18199
|
-
border-width: var(--border-width-bold);
|
|
18200
|
-
border-color: var(--input-field-color-focus-border);
|
|
18201
|
-
background-color: var(--input-field-color-focus-background);
|
|
18202
|
-
padding: calc(var(--spacing-2) - 1px);
|
|
18203
|
-
}
|
|
18204
|
-
|
|
18205
|
-
.muka-combobox__field--error:not(.muka-combobox__field--disabled) {
|
|
18206
|
-
border-color: var(--color-state-error-contrast);
|
|
18207
|
-
}
|
|
18208
|
-
|
|
18209
|
-
.muka-combobox__field--disabled {
|
|
18210
|
-
opacity: 0.5;
|
|
18211
|
-
cursor: not-allowed;
|
|
18212
|
-
}
|
|
18213
|
-
|
|
18214
|
-
.muka-combobox__field--multiline {
|
|
18215
|
-
align-items: flex-start;
|
|
18216
|
-
min-height: 7rem;
|
|
18217
|
-
}
|
|
18218
|
-
|
|
18219
|
-
.muka-combobox__chips {
|
|
18220
|
-
display: flex;
|
|
18221
|
-
flex: 1 1 auto;
|
|
18222
|
-
flex-wrap: wrap;
|
|
18223
|
-
gap: var(--spacing-2);
|
|
18224
|
-
align-items: center;
|
|
18225
|
-
min-width: 0;
|
|
18226
|
-
width: 100%;
|
|
18227
|
-
position: relative;
|
|
18228
|
-
z-index: 1;
|
|
18229
|
-
}
|
|
18230
|
-
|
|
18231
|
-
.muka-combobox__input {
|
|
18232
|
-
flex: 1 1 5rem;
|
|
18233
|
-
min-width: 5rem;
|
|
18234
|
-
min-height: 2rem;
|
|
18235
|
-
margin: 0;
|
|
18236
|
-
padding: 0 var(--spacing-1);
|
|
18237
|
-
border: none;
|
|
18238
|
-
outline: none;
|
|
18239
|
-
background: transparent;
|
|
18240
|
-
color: var(--input-field-color-default-foreground);
|
|
18241
|
-
caret-color: var(--input-field-color-default-foreground);
|
|
18242
|
-
font-family: var(--text-label-md-regular-fontFamily);
|
|
18243
|
-
font-size: var(--text-label-md-regular-fontSize);
|
|
18244
|
-
font-weight: var(--text-label-md-regular-fontWeight);
|
|
18245
|
-
line-height: var(--text-label-md-regular-lineHeight);
|
|
18246
|
-
}
|
|
18247
|
-
|
|
18248
|
-
.muka-combobox__input::placeholder {
|
|
18249
|
-
color: var(--color-text-subtle-default);
|
|
18250
|
-
}
|
|
18251
|
-
|
|
18252
|
-
.muka-combobox__helper {
|
|
18253
|
-
margin: 0;
|
|
18254
|
-
color: var(--color-text-subtle-default);
|
|
18255
|
-
font-family: var(--text-label-sm-regular-fontFamily);
|
|
18256
|
-
font-size: var(--text-label-sm-regular-fontSize);
|
|
18257
|
-
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
18258
|
-
line-height: var(--text-label-sm-regular-lineHeight);
|
|
18259
|
-
}
|
|
18260
|
-
|
|
18261
|
-
.muka-combobox__error {
|
|
18262
|
-
margin: 0;
|
|
18263
|
-
color: var(--color-state-error-default);
|
|
18264
|
-
font-family: var(--text-label-sm-regular-fontFamily);
|
|
18265
|
-
font-size: var(--text-label-sm-regular-fontSize);
|
|
18266
|
-
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
18267
|
-
line-height: var(--text-label-sm-regular-lineHeight);
|
|
18268
|
-
}
|
|
18269
|
-
|
|
18270
|
-
.muka-combobox__menu-anchor {
|
|
18271
|
-
position: absolute;
|
|
18272
|
-
inset: 0;
|
|
18273
|
-
z-index: 0;
|
|
18274
|
-
width: 100%;
|
|
18275
|
-
height: 100%;
|
|
18276
|
-
margin: 0;
|
|
18277
|
-
padding: 0;
|
|
18278
|
-
border: none;
|
|
18279
|
-
background: transparent;
|
|
18280
|
-
pointer-events: none;
|
|
18281
|
-
opacity: 0;
|
|
18282
|
-
}
|
|
18283
|
-
|
|
18284
|
-
.muka-combobox__menu {
|
|
18285
|
-
/* Prefer Menu token min-width (280px); may exceed the field when left-aligned. */
|
|
18286
|
-
min-width: var(--menu-content-min-width);
|
|
18287
|
-
width: max-content;
|
|
18288
|
-
max-width: min(100vw - 2rem, 24rem);
|
|
18289
|
-
}
|
|
18290
|
-
|