@revikornmann/muka-ui 0.53.0 → 0.54.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/components/DocumentViewer/DocumentViewer.css +5 -5
- package/dist/cjs/components/ListItem/ListItem.css +10 -9
- package/dist/cjs/components/RecordingBar/RecordingBar.css +2 -2
- package/dist/cjs/components/SegmentGroup/SegmentGroup.css +6 -6
- package/dist/cjs/components/VoiceMessage/VoiceMessage.css +2 -2
- package/dist/esm/components/DocumentViewer/DocumentViewer.css +5 -5
- package/dist/esm/components/ListItem/ListItem.css +10 -9
- package/dist/esm/components/RecordingBar/RecordingBar.css +2 -2
- package/dist/esm/components/SegmentGroup/SegmentGroup.css +6 -6
- package/dist/esm/components/VoiceMessage/VoiceMessage.css +2 -2
- package/dist/styles/components/DocumentViewer.css +5 -5
- package/dist/styles/components/ListItem.css +10 -9
- package/dist/styles/components/RecordingBar.css +2 -2
- package/dist/styles/components/SegmentGroup.css +6 -6
- package/dist/styles/components/VoiceMessage.css +2 -2
- package/dist/styles/index.css +958 -951
- package/dist/styles/muka-dark.css +958 -951
- package/dist/styles/muka-light.css +958 -951
- package/dist/styles/tokens-bouwplan-dark.css +6 -0
- package/dist/styles/tokens-bouwplan-light.css +6 -0
- package/dist/styles/tokens-fscl-dark.css +6 -0
- package/dist/styles/tokens-fscl-light.css +6 -0
- package/dist/styles/tokens-grip-dark.css +6 -0
- package/dist/styles/tokens-grip-light.css +6 -0
- package/dist/styles/tokens-muka-dark.css +6 -0
- package/dist/styles/tokens-muka-light.css +6 -0
- package/dist/styles/tokens-wireframe-dark.css +6 -0
- package/dist/styles/tokens-wireframe-light.css +6 -0
- package/dist/styles/wireframe-dark.css +958 -951
- package/dist/styles/wireframe-light.css +958 -951
- package/package.json +1 -1
- package/tokens/t1-primitives/typography.json +15 -0
- package/tokens/t3-semantics/ui.json +15 -0
package/dist/styles/index.css
CHANGED
|
@@ -219,6 +219,9 @@ body {
|
|
|
219
219
|
--font-lineHeight-4xl: 2.5rem;
|
|
220
220
|
--font-lineHeight-5xl: 3rem;
|
|
221
221
|
--font-lineHeight-6xl: 4rem;
|
|
222
|
+
--font-leading-sm: 1.25rem;
|
|
223
|
+
--font-leading-md: 1.5rem;
|
|
224
|
+
--font-leading-lg: 1.75rem;
|
|
222
225
|
--font-letterSpacing-tighter: -0.05em;
|
|
223
226
|
--font-letterSpacing-tight: -0.025em;
|
|
224
227
|
--font-letterSpacing-normal: 0;
|
|
@@ -1485,6 +1488,7 @@ body {
|
|
|
1485
1488
|
--text-label-sm-bold-fontWeight: 700;
|
|
1486
1489
|
--text-label-sm-bold-fontSize: 0.875rem;
|
|
1487
1490
|
--text-label-sm-bold-lineHeight: 0.875rem;
|
|
1491
|
+
--text-label-sm-leading: 1.25rem;
|
|
1488
1492
|
--text-label-md-regular-fontFamily: Funnel Sans;
|
|
1489
1493
|
--text-label-md-regular-fontWeight: 400;
|
|
1490
1494
|
--text-label-md-regular-fontSize: 1rem;
|
|
@@ -1497,6 +1501,7 @@ body {
|
|
|
1497
1501
|
--text-label-md-bold-fontWeight: 700;
|
|
1498
1502
|
--text-label-md-bold-fontSize: 1rem;
|
|
1499
1503
|
--text-label-md-bold-lineHeight: 1rem;
|
|
1504
|
+
--text-label-md-leading: 1.5rem;
|
|
1500
1505
|
--text-label-lg-regular-fontFamily: Funnel Sans;
|
|
1501
1506
|
--text-label-lg-regular-fontWeight: 400;
|
|
1502
1507
|
--text-label-lg-regular-fontSize: 1.125rem;
|
|
@@ -1509,6 +1514,7 @@ body {
|
|
|
1509
1514
|
--text-label-lg-bold-fontWeight: 700;
|
|
1510
1515
|
--text-label-lg-bold-fontSize: 1.125rem;
|
|
1511
1516
|
--text-label-lg-bold-lineHeight: 1.125rem;
|
|
1517
|
+
--text-label-lg-leading: 1.75rem;
|
|
1512
1518
|
--text-label-xl-regular-fontFamily: Funnel Sans;
|
|
1513
1519
|
--text-label-xl-regular-fontWeight: 400;
|
|
1514
1520
|
--text-label-xl-regular-fontSize: 1.25rem;
|
|
@@ -2587,8 +2593,8 @@ body {
|
|
|
2587
2593
|
.muka-voice-message__time {
|
|
2588
2594
|
flex: 0 0 auto;
|
|
2589
2595
|
white-space: nowrap;
|
|
2590
|
-
font-size: var(--text-label-sm-fontSize
|
|
2591
|
-
line-height: var(--text-label-sm-
|
|
2596
|
+
font-size: var(--text-label-sm-regular-fontSize);
|
|
2597
|
+
line-height: var(--text-label-sm-leading);
|
|
2592
2598
|
font-variant-numeric: tabular-nums;
|
|
2593
2599
|
color: var(--color-text-subtle-default);
|
|
2594
2600
|
}
|
|
@@ -5334,6 +5340,156 @@ body {
|
|
|
5334
5340
|
}
|
|
5335
5341
|
|
|
5336
5342
|
|
|
5343
|
+
/* SocialSignInButton */
|
|
5344
|
+
/*
|
|
5345
|
+
* SocialSignInButton lockup colors are provider-mandated (Apple HIG /
|
|
5346
|
+
* Google Identity branding) and intentionally fixed across Muka brands —
|
|
5347
|
+
* same exception pattern as LicensePlateInput regulatory colors.
|
|
5348
|
+
*
|
|
5349
|
+
* Apple: https://developer.apple.com/design/human-interface-guidelines/sign-in-with-apple
|
|
5350
|
+
* Google: https://developers.google.com/identity/branding-guidelines
|
|
5351
|
+
*/
|
|
5352
|
+
.muka-social-sign-in-button {
|
|
5353
|
+
--ssi-white: #ffffff;
|
|
5354
|
+
--ssi-black: #000000;
|
|
5355
|
+
--ssi-google-text-light: #1f1f1f;
|
|
5356
|
+
|
|
5357
|
+
display: inline-flex;
|
|
5358
|
+
align-items: center;
|
|
5359
|
+
justify-content: center;
|
|
5360
|
+
|
|
5361
|
+
/* Provider lockup type — matches Figma / HIG, not brand font tokens.
|
|
5362
|
+
* SF Pro Text is OS-provided on Apple platforms (not redistributable).
|
|
5363
|
+
* Google Sans is not freely shippable; Roboto is the closest system fallback. */
|
|
5364
|
+
font-family: inherit;
|
|
5365
|
+
font-weight: 600;
|
|
5366
|
+
text-decoration: none;
|
|
5367
|
+
white-space: nowrap;
|
|
5368
|
+
|
|
5369
|
+
border: 1px solid transparent;
|
|
5370
|
+
cursor: pointer;
|
|
5371
|
+
user-select: none;
|
|
5372
|
+
transition: opacity 0.15s ease, filter 0.15s ease;
|
|
5373
|
+
|
|
5374
|
+
outline: none;
|
|
5375
|
+
position: relative;
|
|
5376
|
+
box-sizing: border-box;
|
|
5377
|
+
}
|
|
5378
|
+
|
|
5379
|
+
.muka-social-sign-in-button--apple {
|
|
5380
|
+
font-family: 'SF Pro Text', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
|
|
5381
|
+
Helvetica, Arial, sans-serif;
|
|
5382
|
+
font-weight: 600;
|
|
5383
|
+
}
|
|
5384
|
+
|
|
5385
|
+
.muka-social-sign-in-button--google {
|
|
5386
|
+
font-family: 'Google Sans', Roboto, 'Helvetica Neue', Arial, sans-serif;
|
|
5387
|
+
font-weight: 500;
|
|
5388
|
+
}
|
|
5389
|
+
|
|
5390
|
+
.muka-social-sign-in-button:focus-visible {
|
|
5391
|
+
outline: 2px solid var(--color-border-focus);
|
|
5392
|
+
outline-offset: 2px;
|
|
5393
|
+
}
|
|
5394
|
+
|
|
5395
|
+
/* Sizes — heights align with Button md/lg */
|
|
5396
|
+
.muka-social-sign-in-button--md {
|
|
5397
|
+
padding: 0 var(--button-padding-md-x);
|
|
5398
|
+
border-radius: var(--button-radius-md);
|
|
5399
|
+
font-size: var(--text-label-sm-semibold-fontSize);
|
|
5400
|
+
line-height: var(--text-label-sm-semibold-lineHeight);
|
|
5401
|
+
min-height: 40px;
|
|
5402
|
+
min-width: 240px;
|
|
5403
|
+
}
|
|
5404
|
+
|
|
5405
|
+
.muka-social-sign-in-button--md .muka-social-sign-in-button__label {
|
|
5406
|
+
padding: 0 var(--button-gap-md);
|
|
5407
|
+
}
|
|
5408
|
+
|
|
5409
|
+
.muka-social-sign-in-button--md .muka-social-sign-in-button__icon {
|
|
5410
|
+
width: var(--button-icon-md);
|
|
5411
|
+
height: var(--button-icon-md);
|
|
5412
|
+
}
|
|
5413
|
+
|
|
5414
|
+
.muka-social-sign-in-button--lg {
|
|
5415
|
+
padding: 0 var(--button-padding-lg-x);
|
|
5416
|
+
border-radius: var(--button-radius-lg);
|
|
5417
|
+
font-size: var(--text-label-lg-semibold-fontSize);
|
|
5418
|
+
line-height: var(--text-label-lg-semibold-lineHeight);
|
|
5419
|
+
min-height: 48px;
|
|
5420
|
+
min-width: 280px;
|
|
5421
|
+
}
|
|
5422
|
+
|
|
5423
|
+
.muka-social-sign-in-button--lg .muka-social-sign-in-button__label {
|
|
5424
|
+
padding: 0 var(--button-gap-lg);
|
|
5425
|
+
}
|
|
5426
|
+
|
|
5427
|
+
.muka-social-sign-in-button--lg .muka-social-sign-in-button__icon {
|
|
5428
|
+
width: var(--button-icon-lg);
|
|
5429
|
+
height: var(--button-icon-lg);
|
|
5430
|
+
}
|
|
5431
|
+
|
|
5432
|
+
/* White lockup — for dark surfaces (Apple White with Outline) */
|
|
5433
|
+
.muka-social-sign-in-button--white {
|
|
5434
|
+
background-color: var(--ssi-white);
|
|
5435
|
+
color: var(--ssi-black);
|
|
5436
|
+
border-color: var(--ssi-black);
|
|
5437
|
+
}
|
|
5438
|
+
|
|
5439
|
+
.muka-social-sign-in-button--white.muka-social-sign-in-button--google {
|
|
5440
|
+
color: var(--ssi-google-text-light);
|
|
5441
|
+
}
|
|
5442
|
+
|
|
5443
|
+
/* Black lockup — for light surfaces */
|
|
5444
|
+
.muka-social-sign-in-button--black {
|
|
5445
|
+
background-color: var(--ssi-black);
|
|
5446
|
+
color: var(--ssi-white);
|
|
5447
|
+
border-color: transparent;
|
|
5448
|
+
}
|
|
5449
|
+
|
|
5450
|
+
/* Interaction — luminance/opacity only; no brand tint */
|
|
5451
|
+
.muka-social-sign-in-button:hover:not(:disabled) {
|
|
5452
|
+
filter: brightness(0.92);
|
|
5453
|
+
}
|
|
5454
|
+
|
|
5455
|
+
.muka-social-sign-in-button:active:not(:disabled) {
|
|
5456
|
+
filter: brightness(0.85);
|
|
5457
|
+
}
|
|
5458
|
+
|
|
5459
|
+
.muka-social-sign-in-button:disabled,
|
|
5460
|
+
.muka-social-sign-in-button--disabled {
|
|
5461
|
+
cursor: not-allowed;
|
|
5462
|
+
opacity: 0.4;
|
|
5463
|
+
pointer-events: none;
|
|
5464
|
+
filter: none;
|
|
5465
|
+
}
|
|
5466
|
+
|
|
5467
|
+
.muka-social-sign-in-button--full-width {
|
|
5468
|
+
width: 100%;
|
|
5469
|
+
min-width: 0;
|
|
5470
|
+
}
|
|
5471
|
+
|
|
5472
|
+
.muka-social-sign-in-button__icon {
|
|
5473
|
+
display: inline-flex;
|
|
5474
|
+
align-items: center;
|
|
5475
|
+
justify-content: center;
|
|
5476
|
+
flex-shrink: 0;
|
|
5477
|
+
}
|
|
5478
|
+
|
|
5479
|
+
.muka-social-sign-in-button__icon > *,
|
|
5480
|
+
.muka-social-sign-in-button__icon svg {
|
|
5481
|
+
width: auto;
|
|
5482
|
+
height: 100%;
|
|
5483
|
+
max-width: 100%;
|
|
5484
|
+
display: block;
|
|
5485
|
+
}
|
|
5486
|
+
|
|
5487
|
+
.muka-social-sign-in-button__label {
|
|
5488
|
+
display: inline-flex;
|
|
5489
|
+
align-items: center;
|
|
5490
|
+
}
|
|
5491
|
+
|
|
5492
|
+
|
|
5337
5493
|
/* SmsOtpField */
|
|
5338
5494
|
/* SmsOtpField Component Styles - Using Muka Design Tokens */
|
|
5339
5495
|
|
|
@@ -5601,223 +5757,73 @@ body {
|
|
|
5601
5757
|
}
|
|
5602
5758
|
|
|
5603
5759
|
|
|
5604
|
-
/*
|
|
5760
|
+
/* SiteHeader */
|
|
5761
|
+
/* SiteHeader Component Styles */
|
|
5762
|
+
|
|
5605
5763
|
/*
|
|
5606
|
-
*
|
|
5607
|
-
*
|
|
5608
|
-
*
|
|
5764
|
+
* Header for document-scrolling pages. Its colour comes from, in order:
|
|
5765
|
+
* `--muka-site-header-background` (set by the consumer), the surrounding
|
|
5766
|
+
* Page's `--muka-page-background`, and the base surface.
|
|
5609
5767
|
*
|
|
5610
|
-
*
|
|
5611
|
-
*
|
|
5768
|
+
* Safe areas: env(safe-area-inset-*) is 0 outside notched devices. In an app
|
|
5769
|
+
* running edge to edge, the header extends behind the status bar in its own
|
|
5770
|
+
* colour and keeps its content clear of a landscape notch.
|
|
5612
5771
|
*/
|
|
5613
|
-
.muka-
|
|
5614
|
-
|
|
5615
|
-
|
|
5616
|
-
--
|
|
5617
|
-
|
|
5618
|
-
display: inline-flex;
|
|
5619
|
-
align-items: center;
|
|
5620
|
-
justify-content: center;
|
|
5621
|
-
|
|
5622
|
-
/* Provider lockup type — matches Figma / HIG, not brand font tokens.
|
|
5623
|
-
* SF Pro Text is OS-provided on Apple platforms (not redistributable).
|
|
5624
|
-
* Google Sans is not freely shippable; Roboto is the closest system fallback. */
|
|
5625
|
-
font-family: inherit;
|
|
5626
|
-
font-weight: 600;
|
|
5627
|
-
text-decoration: none;
|
|
5628
|
-
white-space: nowrap;
|
|
5629
|
-
|
|
5630
|
-
border: 1px solid transparent;
|
|
5631
|
-
cursor: pointer;
|
|
5632
|
-
user-select: none;
|
|
5633
|
-
transition: opacity 0.15s ease, filter 0.15s ease;
|
|
5634
|
-
|
|
5635
|
-
outline: none;
|
|
5636
|
-
position: relative;
|
|
5637
|
-
box-sizing: border-box;
|
|
5772
|
+
.muka-site-header {
|
|
5773
|
+
width: 100%;
|
|
5774
|
+
flex-shrink: 0;
|
|
5775
|
+
background-color: var(--muka-site-header-background, var(--muka-page-background, var(--color-surface-level3)));
|
|
5776
|
+
padding-top: env(safe-area-inset-top, 0px);
|
|
5638
5777
|
}
|
|
5639
5778
|
|
|
5640
|
-
.muka-
|
|
5641
|
-
|
|
5642
|
-
|
|
5643
|
-
|
|
5779
|
+
.muka-site-header--sticky {
|
|
5780
|
+
position: sticky;
|
|
5781
|
+
top: 0;
|
|
5782
|
+
z-index: 30;
|
|
5783
|
+
border-bottom: var(--border-width-regular) solid var(--color-border-default);
|
|
5644
5784
|
}
|
|
5645
5785
|
|
|
5646
|
-
|
|
5647
|
-
|
|
5648
|
-
|
|
5786
|
+
/*
|
|
5787
|
+
* A header that scrolls away would leave the status bar over the content. A
|
|
5788
|
+
* fixed strip in the header's colour stays behind the status bar instead.
|
|
5789
|
+
* Below Muka's overlays, so a dialog's backdrop dims it with the page.
|
|
5790
|
+
*/
|
|
5791
|
+
.muka-site-header:not(.muka-site-header--sticky)::before {
|
|
5792
|
+
content: '';
|
|
5793
|
+
position: fixed;
|
|
5794
|
+
top: 0;
|
|
5795
|
+
left: 0;
|
|
5796
|
+
right: 0;
|
|
5797
|
+
height: env(safe-area-inset-top, 0px);
|
|
5798
|
+
background-color: inherit;
|
|
5799
|
+
pointer-events: none;
|
|
5800
|
+
z-index: 30;
|
|
5649
5801
|
}
|
|
5650
5802
|
|
|
5651
|
-
.muka-
|
|
5652
|
-
|
|
5653
|
-
|
|
5803
|
+
.muka-site-header__inner {
|
|
5804
|
+
display: flex;
|
|
5805
|
+
align-items: center;
|
|
5806
|
+
gap: var(--spacing-2);
|
|
5807
|
+
width: 100%;
|
|
5808
|
+
max-width: var(--container-max-width-xl);
|
|
5809
|
+
margin: 0 auto;
|
|
5810
|
+
padding-block: var(--spacing-6);
|
|
5811
|
+
padding-left: max(var(--spacing-4), env(safe-area-inset-left, 0px));
|
|
5812
|
+
padding-right: max(var(--spacing-4), env(safe-area-inset-right, 0px));
|
|
5654
5813
|
}
|
|
5655
5814
|
|
|
5656
|
-
|
|
5657
|
-
|
|
5658
|
-
|
|
5659
|
-
|
|
5660
|
-
|
|
5661
|
-
line-height: var(--text-label-sm-semibold-lineHeight);
|
|
5662
|
-
min-height: 40px;
|
|
5663
|
-
min-width: 240px;
|
|
5815
|
+
.muka-site-header__brand {
|
|
5816
|
+
display: flex;
|
|
5817
|
+
align-items: center;
|
|
5818
|
+
flex-shrink: 0;
|
|
5819
|
+
min-width: 0;
|
|
5664
5820
|
}
|
|
5665
5821
|
|
|
5666
|
-
.muka-
|
|
5667
|
-
|
|
5668
|
-
|
|
5669
|
-
|
|
5670
|
-
|
|
5671
|
-
width: var(--button-icon-md);
|
|
5672
|
-
height: var(--button-icon-md);
|
|
5673
|
-
}
|
|
5674
|
-
|
|
5675
|
-
.muka-social-sign-in-button--lg {
|
|
5676
|
-
padding: 0 var(--button-padding-lg-x);
|
|
5677
|
-
border-radius: var(--button-radius-lg);
|
|
5678
|
-
font-size: var(--text-label-lg-semibold-fontSize);
|
|
5679
|
-
line-height: var(--text-label-lg-semibold-lineHeight);
|
|
5680
|
-
min-height: 48px;
|
|
5681
|
-
min-width: 280px;
|
|
5682
|
-
}
|
|
5683
|
-
|
|
5684
|
-
.muka-social-sign-in-button--lg .muka-social-sign-in-button__label {
|
|
5685
|
-
padding: 0 var(--button-gap-lg);
|
|
5686
|
-
}
|
|
5687
|
-
|
|
5688
|
-
.muka-social-sign-in-button--lg .muka-social-sign-in-button__icon {
|
|
5689
|
-
width: var(--button-icon-lg);
|
|
5690
|
-
height: var(--button-icon-lg);
|
|
5691
|
-
}
|
|
5692
|
-
|
|
5693
|
-
/* White lockup — for dark surfaces (Apple White with Outline) */
|
|
5694
|
-
.muka-social-sign-in-button--white {
|
|
5695
|
-
background-color: var(--ssi-white);
|
|
5696
|
-
color: var(--ssi-black);
|
|
5697
|
-
border-color: var(--ssi-black);
|
|
5698
|
-
}
|
|
5699
|
-
|
|
5700
|
-
.muka-social-sign-in-button--white.muka-social-sign-in-button--google {
|
|
5701
|
-
color: var(--ssi-google-text-light);
|
|
5702
|
-
}
|
|
5703
|
-
|
|
5704
|
-
/* Black lockup — for light surfaces */
|
|
5705
|
-
.muka-social-sign-in-button--black {
|
|
5706
|
-
background-color: var(--ssi-black);
|
|
5707
|
-
color: var(--ssi-white);
|
|
5708
|
-
border-color: transparent;
|
|
5709
|
-
}
|
|
5710
|
-
|
|
5711
|
-
/* Interaction — luminance/opacity only; no brand tint */
|
|
5712
|
-
.muka-social-sign-in-button:hover:not(:disabled) {
|
|
5713
|
-
filter: brightness(0.92);
|
|
5714
|
-
}
|
|
5715
|
-
|
|
5716
|
-
.muka-social-sign-in-button:active:not(:disabled) {
|
|
5717
|
-
filter: brightness(0.85);
|
|
5718
|
-
}
|
|
5719
|
-
|
|
5720
|
-
.muka-social-sign-in-button:disabled,
|
|
5721
|
-
.muka-social-sign-in-button--disabled {
|
|
5722
|
-
cursor: not-allowed;
|
|
5723
|
-
opacity: 0.4;
|
|
5724
|
-
pointer-events: none;
|
|
5725
|
-
filter: none;
|
|
5726
|
-
}
|
|
5727
|
-
|
|
5728
|
-
.muka-social-sign-in-button--full-width {
|
|
5729
|
-
width: 100%;
|
|
5730
|
-
min-width: 0;
|
|
5731
|
-
}
|
|
5732
|
-
|
|
5733
|
-
.muka-social-sign-in-button__icon {
|
|
5734
|
-
display: inline-flex;
|
|
5735
|
-
align-items: center;
|
|
5736
|
-
justify-content: center;
|
|
5737
|
-
flex-shrink: 0;
|
|
5738
|
-
}
|
|
5739
|
-
|
|
5740
|
-
.muka-social-sign-in-button__icon > *,
|
|
5741
|
-
.muka-social-sign-in-button__icon svg {
|
|
5742
|
-
width: auto;
|
|
5743
|
-
height: 100%;
|
|
5744
|
-
max-width: 100%;
|
|
5745
|
-
display: block;
|
|
5746
|
-
}
|
|
5747
|
-
|
|
5748
|
-
.muka-social-sign-in-button__label {
|
|
5749
|
-
display: inline-flex;
|
|
5750
|
-
align-items: center;
|
|
5751
|
-
}
|
|
5752
|
-
|
|
5753
|
-
|
|
5754
|
-
/* SiteHeader */
|
|
5755
|
-
/* SiteHeader Component Styles */
|
|
5756
|
-
|
|
5757
|
-
/*
|
|
5758
|
-
* Header for document-scrolling pages. Its colour comes from, in order:
|
|
5759
|
-
* `--muka-site-header-background` (set by the consumer), the surrounding
|
|
5760
|
-
* Page's `--muka-page-background`, and the base surface.
|
|
5761
|
-
*
|
|
5762
|
-
* Safe areas: env(safe-area-inset-*) is 0 outside notched devices. In an app
|
|
5763
|
-
* running edge to edge, the header extends behind the status bar in its own
|
|
5764
|
-
* colour and keeps its content clear of a landscape notch.
|
|
5765
|
-
*/
|
|
5766
|
-
.muka-site-header {
|
|
5767
|
-
width: 100%;
|
|
5768
|
-
flex-shrink: 0;
|
|
5769
|
-
background-color: var(--muka-site-header-background, var(--muka-page-background, var(--color-surface-level3)));
|
|
5770
|
-
padding-top: env(safe-area-inset-top, 0px);
|
|
5771
|
-
}
|
|
5772
|
-
|
|
5773
|
-
.muka-site-header--sticky {
|
|
5774
|
-
position: sticky;
|
|
5775
|
-
top: 0;
|
|
5776
|
-
z-index: 30;
|
|
5777
|
-
border-bottom: var(--border-width-regular) solid var(--color-border-default);
|
|
5778
|
-
}
|
|
5779
|
-
|
|
5780
|
-
/*
|
|
5781
|
-
* A header that scrolls away would leave the status bar over the content. A
|
|
5782
|
-
* fixed strip in the header's colour stays behind the status bar instead.
|
|
5783
|
-
* Below Muka's overlays, so a dialog's backdrop dims it with the page.
|
|
5784
|
-
*/
|
|
5785
|
-
.muka-site-header:not(.muka-site-header--sticky)::before {
|
|
5786
|
-
content: '';
|
|
5787
|
-
position: fixed;
|
|
5788
|
-
top: 0;
|
|
5789
|
-
left: 0;
|
|
5790
|
-
right: 0;
|
|
5791
|
-
height: env(safe-area-inset-top, 0px);
|
|
5792
|
-
background-color: inherit;
|
|
5793
|
-
pointer-events: none;
|
|
5794
|
-
z-index: 30;
|
|
5795
|
-
}
|
|
5796
|
-
|
|
5797
|
-
.muka-site-header__inner {
|
|
5798
|
-
display: flex;
|
|
5799
|
-
align-items: center;
|
|
5800
|
-
gap: var(--spacing-2);
|
|
5801
|
-
width: 100%;
|
|
5802
|
-
max-width: var(--container-max-width-xl);
|
|
5803
|
-
margin: 0 auto;
|
|
5804
|
-
padding-block: var(--spacing-6);
|
|
5805
|
-
padding-left: max(var(--spacing-4), env(safe-area-inset-left, 0px));
|
|
5806
|
-
padding-right: max(var(--spacing-4), env(safe-area-inset-right, 0px));
|
|
5807
|
-
}
|
|
5808
|
-
|
|
5809
|
-
.muka-site-header__brand {
|
|
5810
|
-
display: flex;
|
|
5811
|
-
align-items: center;
|
|
5812
|
-
flex-shrink: 0;
|
|
5813
|
-
min-width: 0;
|
|
5814
|
-
}
|
|
5815
|
-
|
|
5816
|
-
.muka-site-header__nav {
|
|
5817
|
-
display: none;
|
|
5818
|
-
align-items: center;
|
|
5819
|
-
gap: var(--spacing-1);
|
|
5820
|
-
min-width: 0;
|
|
5822
|
+
.muka-site-header__nav {
|
|
5823
|
+
display: none;
|
|
5824
|
+
align-items: center;
|
|
5825
|
+
gap: var(--spacing-1);
|
|
5826
|
+
min-width: 0;
|
|
5821
5827
|
}
|
|
5822
5828
|
|
|
5823
5829
|
.muka-site-header__actions {
|
|
@@ -5890,241 +5896,53 @@ body {
|
|
|
5890
5896
|
border-top-left-radius: var(--radius-lg);
|
|
5891
5897
|
border-top-right-radius: var(--radius-lg);
|
|
5892
5898
|
box-shadow: var(--shadow-level5);
|
|
5893
|
-
|
|
5894
|
-
outline: none;
|
|
5895
|
-
}
|
|
5896
|
-
|
|
5897
|
-
/* Safe-area bottom inset for the iPhone home indicator. */
|
|
5898
|
-
.muka-sheet:not(.muka-sheet--no-safe-area) {
|
|
5899
|
-
padding-bottom: env(safe-area-inset-bottom);
|
|
5900
|
-
}
|
|
5901
|
-
|
|
5902
|
-
/* ─── Drag handle ─────────────────────────────────────── */
|
|
5903
|
-
|
|
5904
|
-
.muka-sheet__handle-container {
|
|
5905
|
-
display: flex;
|
|
5906
|
-
justify-content: center;
|
|
5907
|
-
flex-shrink: 0;
|
|
5908
|
-
padding: var(--spacing-3) 0;
|
|
5909
|
-
}
|
|
5910
|
-
|
|
5911
|
-
.muka-sheet__handle {
|
|
5912
|
-
width: var(--dialog-drag-handle-width);
|
|
5913
|
-
height: var(--dialog-drag-handle-height);
|
|
5914
|
-
background-color: var(--dialog-drag-handle-color);
|
|
5915
|
-
border-radius: var(--dialog-drag-handle-radius);
|
|
5916
|
-
}
|
|
5917
|
-
|
|
5918
|
-
/* ─── Body (scrollable) ───────────────────────────────── */
|
|
5919
|
-
|
|
5920
|
-
.muka-sheet__body {
|
|
5921
|
-
flex: 1 1 0%;
|
|
5922
|
-
min-height: 0;
|
|
5923
|
-
overflow-y: auto;
|
|
5924
|
-
-webkit-overflow-scrolling: touch;
|
|
5925
|
-
overscroll-behavior: contain;
|
|
5926
|
-
}
|
|
5927
|
-
|
|
5928
|
-
/* ─── Visually-hidden title (a11y) ────────────────────── */
|
|
5929
|
-
|
|
5930
|
-
.muka-sheet__sr-title {
|
|
5931
|
-
position: absolute;
|
|
5932
|
-
width: 1px;
|
|
5933
|
-
height: 1px;
|
|
5934
|
-
padding: 0;
|
|
5935
|
-
margin: -1px;
|
|
5936
|
-
overflow: hidden;
|
|
5937
|
-
clip: rect(0, 0, 0, 0);
|
|
5938
|
-
white-space: nowrap;
|
|
5939
|
-
border: 0;
|
|
5940
|
-
}
|
|
5941
|
-
|
|
5942
|
-
|
|
5943
|
-
/* SegmentGroup */
|
|
5944
|
-
/* SegmentGroup Component Styles - Using Muka Design Tokens */
|
|
5945
|
-
|
|
5946
|
-
/* Container */
|
|
5947
|
-
.muka-segmentgroup {
|
|
5948
|
-
display: inline-flex;
|
|
5949
|
-
align-items: center;
|
|
5950
|
-
gap: 0;
|
|
5951
|
-
padding: var(--segmentgroup-container-padding);
|
|
5952
|
-
background-color: var(--segmentgroup-container-background);
|
|
5953
|
-
border-radius: var(--segmentgroup-container-radius);
|
|
5954
|
-
position: relative;
|
|
5955
|
-
transition: background-color 0.2s ease, box-shadow 0.2s ease;
|
|
5956
|
-
}
|
|
5957
|
-
|
|
5958
|
-
/* Inset shadow on container */
|
|
5959
|
-
.muka-segmentgroup::after {
|
|
5960
|
-
content: '';
|
|
5961
|
-
position: absolute;
|
|
5962
|
-
inset: 0;
|
|
5963
|
-
border-radius: inherit;
|
|
5964
|
-
box-shadow: var(--segmentgroup-container-shadow);
|
|
5965
|
-
pointer-events: none;
|
|
5966
|
-
}
|
|
5967
|
-
|
|
5968
|
-
/* Full width variant */
|
|
5969
|
-
.muka-segmentgroup--full-width {
|
|
5970
|
-
width: 100%;
|
|
5971
|
-
}
|
|
5972
|
-
|
|
5973
|
-
.muka-segmentgroup--full-width .muka-segmentgroup__segment {
|
|
5974
|
-
flex: 1;
|
|
5975
|
-
}
|
|
5976
|
-
|
|
5977
|
-
/* Pill */
|
|
5978
|
-
.muka-segmentgroup__pill {
|
|
5979
|
-
position: absolute;
|
|
5980
|
-
top: var(--segmentgroup-container-padding);
|
|
5981
|
-
bottom: var(--segmentgroup-container-padding);
|
|
5982
|
-
left: 0;
|
|
5983
|
-
margin: 0;
|
|
5984
|
-
background-color: var(--segmentgroup-segment-color-selected-background);
|
|
5985
|
-
box-shadow: var(--segmentgroup-segment-shadow-selected);
|
|
5986
|
-
transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), width 0.25s cubic-bezier(0.4, 0, 0.2, 1);
|
|
5987
|
-
z-index: 0;
|
|
5988
|
-
pointer-events: none;
|
|
5989
|
-
}
|
|
5990
|
-
|
|
5991
|
-
/* Segment button */
|
|
5992
|
-
.muka-segmentgroup__segment {
|
|
5993
|
-
display: inline-flex;
|
|
5994
|
-
align-items: center;
|
|
5995
|
-
justify-content: center;
|
|
5996
|
-
gap: var(--segmentgroup-segment-gap);
|
|
5997
|
-
border: none;
|
|
5998
|
-
background-color: var(--segmentgroup-segment-color-unselected-background);
|
|
5999
|
-
color: var(--segmentgroup-segment-color-unselected-foreground);
|
|
6000
|
-
border-radius: var(--segmentgroup-segment-radius);
|
|
6001
|
-
cursor: pointer;
|
|
6002
|
-
transition: background-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
|
|
6003
|
-
position: relative;
|
|
6004
|
-
outline: none;
|
|
6005
|
-
box-shadow: var(--segmentgroup-segment-shadow-unselected);
|
|
6006
|
-
font-family: var(--alias-font-plain-family);
|
|
6007
|
-
font-weight: var(--segmentgroup-segment-fontWeight);
|
|
6008
|
-
z-index: 1; /* Keep above pill */
|
|
6009
|
-
}
|
|
6010
|
-
|
|
6011
|
-
/* Size variants */
|
|
6012
|
-
.muka-segmentgroup--sm {
|
|
6013
|
-
border-radius: var(--border-radius-xl, 16px);
|
|
6014
|
-
}
|
|
6015
|
-
.muka-segmentgroup--sm .muka-segmentgroup__segment,
|
|
6016
|
-
.muka-segmentgroup--sm .muka-segmentgroup__pill {
|
|
6017
|
-
border-radius: var(--border-radius-xl, 16px);
|
|
6018
|
-
}
|
|
6019
|
-
.muka-segmentgroup--sm .muka-segmentgroup__segment {
|
|
6020
|
-
padding: var(--segmentgroup-segment-padding-sm-y) var(--segmentgroup-segment-padding-sm-x);
|
|
6021
|
-
height: var(--segmentgroup-segment-height-sm);
|
|
6022
|
-
font-size: var(--text-label-sm-fontSize);
|
|
6023
|
-
line-height: var(--text-label-sm-lineHeight);
|
|
6024
|
-
}
|
|
6025
|
-
|
|
6026
|
-
.muka-segmentgroup--md {
|
|
6027
|
-
border-radius: var(--border-radius-xl, 16px);
|
|
6028
|
-
}
|
|
6029
|
-
.muka-segmentgroup--md .muka-segmentgroup__segment,
|
|
6030
|
-
.muka-segmentgroup--md .muka-segmentgroup__pill {
|
|
6031
|
-
border-radius: var(--border-radius-xl, 16px);
|
|
6032
|
-
}
|
|
6033
|
-
.muka-segmentgroup--md .muka-segmentgroup__segment {
|
|
6034
|
-
padding: var(--segmentgroup-segment-padding-md-y) var(--segmentgroup-segment-padding-md-x);
|
|
6035
|
-
font-size: var(--text-label-md-fontSize);
|
|
6036
|
-
line-height: var(--text-label-md-lineHeight);
|
|
6037
|
-
}
|
|
6038
|
-
|
|
6039
|
-
.muka-segmentgroup--lg {
|
|
6040
|
-
border-radius: var(--border-radius-full, 9999px);
|
|
6041
|
-
}
|
|
6042
|
-
.muka-segmentgroup--lg .muka-segmentgroup__segment,
|
|
6043
|
-
.muka-segmentgroup--lg .muka-segmentgroup__pill {
|
|
6044
|
-
border-radius: var(--border-radius-full, 9999px);
|
|
6045
|
-
}
|
|
6046
|
-
.muka-segmentgroup--lg .muka-segmentgroup__segment {
|
|
6047
|
-
padding: var(--segmentgroup-segment-padding-lg-y) var(--segmentgroup-segment-padding-lg-x);
|
|
6048
|
-
height: 40px;
|
|
6049
|
-
font-size: var(--text-label-lg-fontSize);
|
|
6050
|
-
line-height: var(--text-label-lg-lineHeight);
|
|
6051
|
-
}
|
|
6052
|
-
|
|
6053
|
-
/* Icon-only variants */
|
|
6054
|
-
.muka-segmentgroup--icon-only {
|
|
6055
|
-
gap: var(--spacing-1, 4px);
|
|
6056
|
-
}
|
|
6057
|
-
|
|
6058
|
-
.muka-segmentgroup--icon-only.muka-segmentgroup--sm .muka-segmentgroup__segment {
|
|
6059
|
-
width: 24px;
|
|
6060
|
-
height: 24px;
|
|
6061
|
-
padding: 0;
|
|
6062
|
-
}
|
|
6063
|
-
.muka-segmentgroup--icon-only.muka-segmentgroup--sm .muka-segmentgroup__icon svg {
|
|
6064
|
-
width: 16px;
|
|
6065
|
-
height: 16px;
|
|
6066
|
-
}
|
|
6067
|
-
|
|
6068
|
-
.muka-segmentgroup--icon-only.muka-segmentgroup--md .muka-segmentgroup__segment {
|
|
6069
|
-
width: 32px;
|
|
6070
|
-
height: 32px;
|
|
6071
|
-
padding: 0;
|
|
6072
|
-
}
|
|
6073
|
-
.muka-segmentgroup--icon-only.muka-segmentgroup--md .muka-segmentgroup__icon svg {
|
|
6074
|
-
width: 20px;
|
|
6075
|
-
height: 20px;
|
|
6076
|
-
}
|
|
6077
|
-
|
|
6078
|
-
.muka-segmentgroup--icon-only.muka-segmentgroup--lg .muka-segmentgroup__segment {
|
|
6079
|
-
width: 40px;
|
|
6080
|
-
height: 40px;
|
|
6081
|
-
padding: 0;
|
|
5899
|
+
|
|
5900
|
+
outline: none;
|
|
6082
5901
|
}
|
|
6083
|
-
|
|
6084
|
-
|
|
6085
|
-
|
|
5902
|
+
|
|
5903
|
+
/* Safe-area bottom inset for the iPhone home indicator. */
|
|
5904
|
+
.muka-sheet:not(.muka-sheet--no-safe-area) {
|
|
5905
|
+
padding-bottom: env(safe-area-inset-bottom);
|
|
6086
5906
|
}
|
|
6087
5907
|
|
|
6088
|
-
/*
|
|
6089
|
-
|
|
6090
|
-
|
|
6091
|
-
|
|
5908
|
+
/* ─── Drag handle ─────────────────────────────────────── */
|
|
5909
|
+
|
|
5910
|
+
.muka-sheet__handle-container {
|
|
5911
|
+
display: flex;
|
|
6092
5912
|
justify-content: center;
|
|
5913
|
+
flex-shrink: 0;
|
|
5914
|
+
padding: var(--spacing-3) 0;
|
|
6093
5915
|
}
|
|
6094
5916
|
|
|
6095
|
-
|
|
6096
|
-
|
|
6097
|
-
|
|
6098
|
-
|
|
6099
|
-
|
|
6100
|
-
z-index: 2; /* Highlight pill when focused is tested below */
|
|
5917
|
+
.muka-sheet__handle {
|
|
5918
|
+
width: var(--dialog-drag-handle-width);
|
|
5919
|
+
height: var(--dialog-drag-handle-height);
|
|
5920
|
+
background-color: var(--dialog-drag-handle-color);
|
|
5921
|
+
border-radius: var(--dialog-drag-handle-radius);
|
|
6101
5922
|
}
|
|
6102
5923
|
|
|
6103
|
-
/*
|
|
6104
|
-
.muka-segmentgroup__segment:not(.muka-segmentgroup__segment--selected):not(:disabled):hover {
|
|
6105
|
-
color: var(--segmentgroup-segment-color-hover-foreground);
|
|
6106
|
-
}
|
|
5924
|
+
/* ─── Body (scrollable) ───────────────────────────────── */
|
|
6107
5925
|
|
|
6108
|
-
|
|
6109
|
-
|
|
6110
|
-
|
|
6111
|
-
|
|
6112
|
-
|
|
5926
|
+
.muka-sheet__body {
|
|
5927
|
+
flex: 1 1 0%;
|
|
5928
|
+
min-height: 0;
|
|
5929
|
+
overflow-y: auto;
|
|
5930
|
+
-webkit-overflow-scrolling: touch;
|
|
5931
|
+
overscroll-behavior: contain;
|
|
6113
5932
|
}
|
|
6114
5933
|
|
|
6115
|
-
/*
|
|
6116
|
-
.muka-segmentgroup__segment--disabled,
|
|
6117
|
-
.muka-segmentgroup__segment:disabled {
|
|
6118
|
-
cursor: not-allowed;
|
|
6119
|
-
opacity: 0.5;
|
|
6120
|
-
}
|
|
5934
|
+
/* ─── Visually-hidden title (a11y) ────────────────────── */
|
|
6121
5935
|
|
|
6122
|
-
|
|
6123
|
-
|
|
6124
|
-
|
|
6125
|
-
|
|
5936
|
+
.muka-sheet__sr-title {
|
|
5937
|
+
position: absolute;
|
|
5938
|
+
width: 1px;
|
|
5939
|
+
height: 1px;
|
|
5940
|
+
padding: 0;
|
|
5941
|
+
margin: -1px;
|
|
5942
|
+
overflow: hidden;
|
|
5943
|
+
clip: rect(0, 0, 0, 0);
|
|
6126
5944
|
white-space: nowrap;
|
|
6127
|
-
|
|
5945
|
+
border: 0;
|
|
6128
5946
|
}
|
|
6129
5947
|
|
|
6130
5948
|
|
|
@@ -6287,38 +6105,226 @@ body {
|
|
|
6287
6105
|
cursor: not-allowed;
|
|
6288
6106
|
}
|
|
6289
6107
|
|
|
6290
|
-
/* Chevron — aligned with field padding */
|
|
6291
|
-
.muka-select__chevron {
|
|
6292
|
-
display: inline-flex;
|
|
6293
|
-
align-items: center;
|
|
6294
|
-
position: absolute;
|
|
6295
|
-
right: var(--input-field-padding-x);
|
|
6296
|
-
pointer-events: none;
|
|
6297
|
-
color: var(--color-text-subtle-default);
|
|
6108
|
+
/* Chevron — aligned with field padding */
|
|
6109
|
+
.muka-select__chevron {
|
|
6110
|
+
display: inline-flex;
|
|
6111
|
+
align-items: center;
|
|
6112
|
+
position: absolute;
|
|
6113
|
+
right: var(--input-field-padding-x);
|
|
6114
|
+
pointer-events: none;
|
|
6115
|
+
color: var(--color-text-subtle-default);
|
|
6116
|
+
}
|
|
6117
|
+
|
|
6118
|
+
.muka-select__field--disabled .muka-select__chevron {
|
|
6119
|
+
color: var(--input-field-color-disabled-foreground);
|
|
6120
|
+
}
|
|
6121
|
+
|
|
6122
|
+
/* Helper text — same as Input */
|
|
6123
|
+
.muka-select__helper {
|
|
6124
|
+
font-family: var(--text-label-sm-regular-fontFamily);
|
|
6125
|
+
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
6126
|
+
font-size: var(--text-label-sm-regular-fontSize);
|
|
6127
|
+
line-height: var(--text-label-sm-regular-lineHeight);
|
|
6128
|
+
color: var(--color-text-subtle-default);
|
|
6129
|
+
margin: 0;
|
|
6130
|
+
}
|
|
6131
|
+
|
|
6132
|
+
/* Error message — same as Input */
|
|
6133
|
+
.muka-select__error {
|
|
6134
|
+
font-family: var(--text-label-sm-regular-fontFamily);
|
|
6135
|
+
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
6136
|
+
font-size: var(--text-label-sm-regular-fontSize);
|
|
6137
|
+
line-height: var(--text-label-sm-regular-lineHeight);
|
|
6138
|
+
color: var(--color-state-error-default);
|
|
6139
|
+
margin: 0;
|
|
6140
|
+
}
|
|
6141
|
+
|
|
6142
|
+
|
|
6143
|
+
/* SegmentGroup */
|
|
6144
|
+
/* SegmentGroup Component Styles - Using Muka Design Tokens */
|
|
6145
|
+
|
|
6146
|
+
/* Container */
|
|
6147
|
+
.muka-segmentgroup {
|
|
6148
|
+
display: inline-flex;
|
|
6149
|
+
align-items: center;
|
|
6150
|
+
gap: 0;
|
|
6151
|
+
padding: var(--segmentgroup-container-padding);
|
|
6152
|
+
background-color: var(--segmentgroup-container-background);
|
|
6153
|
+
border-radius: var(--segmentgroup-container-radius);
|
|
6154
|
+
position: relative;
|
|
6155
|
+
transition: background-color 0.2s ease, box-shadow 0.2s ease;
|
|
6156
|
+
}
|
|
6157
|
+
|
|
6158
|
+
/* Inset shadow on container */
|
|
6159
|
+
.muka-segmentgroup::after {
|
|
6160
|
+
content: '';
|
|
6161
|
+
position: absolute;
|
|
6162
|
+
inset: 0;
|
|
6163
|
+
border-radius: inherit;
|
|
6164
|
+
box-shadow: var(--segmentgroup-container-shadow);
|
|
6165
|
+
pointer-events: none;
|
|
6166
|
+
}
|
|
6167
|
+
|
|
6168
|
+
/* Full width variant */
|
|
6169
|
+
.muka-segmentgroup--full-width {
|
|
6170
|
+
width: 100%;
|
|
6171
|
+
}
|
|
6172
|
+
|
|
6173
|
+
.muka-segmentgroup--full-width .muka-segmentgroup__segment {
|
|
6174
|
+
flex: 1;
|
|
6175
|
+
}
|
|
6176
|
+
|
|
6177
|
+
/* Pill */
|
|
6178
|
+
.muka-segmentgroup__pill {
|
|
6179
|
+
position: absolute;
|
|
6180
|
+
top: var(--segmentgroup-container-padding);
|
|
6181
|
+
bottom: var(--segmentgroup-container-padding);
|
|
6182
|
+
left: 0;
|
|
6183
|
+
margin: 0;
|
|
6184
|
+
background-color: var(--segmentgroup-segment-color-selected-background);
|
|
6185
|
+
box-shadow: var(--segmentgroup-segment-shadow-selected);
|
|
6186
|
+
transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), width 0.25s cubic-bezier(0.4, 0, 0.2, 1);
|
|
6187
|
+
z-index: 0;
|
|
6188
|
+
pointer-events: none;
|
|
6189
|
+
}
|
|
6190
|
+
|
|
6191
|
+
/* Segment button */
|
|
6192
|
+
.muka-segmentgroup__segment {
|
|
6193
|
+
display: inline-flex;
|
|
6194
|
+
align-items: center;
|
|
6195
|
+
justify-content: center;
|
|
6196
|
+
gap: var(--segmentgroup-segment-gap);
|
|
6197
|
+
border: none;
|
|
6198
|
+
background-color: var(--segmentgroup-segment-color-unselected-background);
|
|
6199
|
+
color: var(--segmentgroup-segment-color-unselected-foreground);
|
|
6200
|
+
border-radius: var(--segmentgroup-segment-radius);
|
|
6201
|
+
cursor: pointer;
|
|
6202
|
+
transition: background-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
|
|
6203
|
+
position: relative;
|
|
6204
|
+
outline: none;
|
|
6205
|
+
box-shadow: var(--segmentgroup-segment-shadow-unselected);
|
|
6206
|
+
font-family: var(--alias-font-plain-family);
|
|
6207
|
+
font-weight: var(--segmentgroup-segment-fontWeight);
|
|
6208
|
+
z-index: 1; /* Keep above pill */
|
|
6209
|
+
}
|
|
6210
|
+
|
|
6211
|
+
/* Size variants */
|
|
6212
|
+
.muka-segmentgroup--sm {
|
|
6213
|
+
border-radius: var(--border-radius-xl, 16px);
|
|
6214
|
+
}
|
|
6215
|
+
.muka-segmentgroup--sm .muka-segmentgroup__segment,
|
|
6216
|
+
.muka-segmentgroup--sm .muka-segmentgroup__pill {
|
|
6217
|
+
border-radius: var(--border-radius-xl, 16px);
|
|
6218
|
+
}
|
|
6219
|
+
.muka-segmentgroup--sm .muka-segmentgroup__segment {
|
|
6220
|
+
padding: var(--segmentgroup-segment-padding-sm-y) var(--segmentgroup-segment-padding-sm-x);
|
|
6221
|
+
height: var(--segmentgroup-segment-height-sm);
|
|
6222
|
+
font-size: var(--text-label-sm-regular-fontSize);
|
|
6223
|
+
line-height: var(--text-label-sm-leading);
|
|
6224
|
+
}
|
|
6225
|
+
|
|
6226
|
+
.muka-segmentgroup--md {
|
|
6227
|
+
border-radius: var(--border-radius-xl, 16px);
|
|
6228
|
+
}
|
|
6229
|
+
.muka-segmentgroup--md .muka-segmentgroup__segment,
|
|
6230
|
+
.muka-segmentgroup--md .muka-segmentgroup__pill {
|
|
6231
|
+
border-radius: var(--border-radius-xl, 16px);
|
|
6232
|
+
}
|
|
6233
|
+
.muka-segmentgroup--md .muka-segmentgroup__segment {
|
|
6234
|
+
padding: var(--segmentgroup-segment-padding-md-y) var(--segmentgroup-segment-padding-md-x);
|
|
6235
|
+
font-size: var(--text-label-md-regular-fontSize);
|
|
6236
|
+
line-height: var(--text-label-md-leading);
|
|
6237
|
+
}
|
|
6238
|
+
|
|
6239
|
+
.muka-segmentgroup--lg {
|
|
6240
|
+
border-radius: var(--border-radius-full, 9999px);
|
|
6241
|
+
}
|
|
6242
|
+
.muka-segmentgroup--lg .muka-segmentgroup__segment,
|
|
6243
|
+
.muka-segmentgroup--lg .muka-segmentgroup__pill {
|
|
6244
|
+
border-radius: var(--border-radius-full, 9999px);
|
|
6245
|
+
}
|
|
6246
|
+
.muka-segmentgroup--lg .muka-segmentgroup__segment {
|
|
6247
|
+
padding: var(--segmentgroup-segment-padding-lg-y) var(--segmentgroup-segment-padding-lg-x);
|
|
6248
|
+
height: 40px;
|
|
6249
|
+
font-size: var(--text-label-lg-regular-fontSize);
|
|
6250
|
+
line-height: var(--text-label-lg-leading);
|
|
6251
|
+
}
|
|
6252
|
+
|
|
6253
|
+
/* Icon-only variants */
|
|
6254
|
+
.muka-segmentgroup--icon-only {
|
|
6255
|
+
gap: var(--spacing-1, 4px);
|
|
6256
|
+
}
|
|
6257
|
+
|
|
6258
|
+
.muka-segmentgroup--icon-only.muka-segmentgroup--sm .muka-segmentgroup__segment {
|
|
6259
|
+
width: 24px;
|
|
6260
|
+
height: 24px;
|
|
6261
|
+
padding: 0;
|
|
6262
|
+
}
|
|
6263
|
+
.muka-segmentgroup--icon-only.muka-segmentgroup--sm .muka-segmentgroup__icon svg {
|
|
6264
|
+
width: 16px;
|
|
6265
|
+
height: 16px;
|
|
6266
|
+
}
|
|
6267
|
+
|
|
6268
|
+
.muka-segmentgroup--icon-only.muka-segmentgroup--md .muka-segmentgroup__segment {
|
|
6269
|
+
width: 32px;
|
|
6270
|
+
height: 32px;
|
|
6271
|
+
padding: 0;
|
|
6272
|
+
}
|
|
6273
|
+
.muka-segmentgroup--icon-only.muka-segmentgroup--md .muka-segmentgroup__icon svg {
|
|
6274
|
+
width: 20px;
|
|
6275
|
+
height: 20px;
|
|
6276
|
+
}
|
|
6277
|
+
|
|
6278
|
+
.muka-segmentgroup--icon-only.muka-segmentgroup--lg .muka-segmentgroup__segment {
|
|
6279
|
+
width: 40px;
|
|
6280
|
+
height: 40px;
|
|
6281
|
+
padding: 0;
|
|
6282
|
+
}
|
|
6283
|
+
.muka-segmentgroup--icon-only.muka-segmentgroup--lg .muka-segmentgroup__icon svg {
|
|
6284
|
+
width: 24px;
|
|
6285
|
+
height: 24px;
|
|
6286
|
+
}
|
|
6287
|
+
|
|
6288
|
+
/* Icon */
|
|
6289
|
+
.muka-segmentgroup__icon {
|
|
6290
|
+
display: inline-flex;
|
|
6291
|
+
align-items: center;
|
|
6292
|
+
justify-content: center;
|
|
6293
|
+
}
|
|
6294
|
+
|
|
6295
|
+
/* Selected state */
|
|
6296
|
+
.muka-segmentgroup__segment--selected {
|
|
6297
|
+
background-color: transparent;
|
|
6298
|
+
box-shadow: none;
|
|
6299
|
+
color: var(--segmentgroup-segment-color-selected-foreground);
|
|
6300
|
+
z-index: 2; /* Highlight pill when focused is tested below */
|
|
6301
|
+
}
|
|
6302
|
+
|
|
6303
|
+
/* Hover state (only for unselected) */
|
|
6304
|
+
.muka-segmentgroup__segment:not(.muka-segmentgroup__segment--selected):not(:disabled):hover {
|
|
6305
|
+
color: var(--segmentgroup-segment-color-hover-foreground);
|
|
6298
6306
|
}
|
|
6299
6307
|
|
|
6300
|
-
|
|
6301
|
-
|
|
6308
|
+
/* Focus visible */
|
|
6309
|
+
.muka-segmentgroup__segment:focus-visible {
|
|
6310
|
+
outline: 2px solid var(--color-border-focus);
|
|
6311
|
+
outline-offset: 2px;
|
|
6312
|
+
z-index: 2;
|
|
6302
6313
|
}
|
|
6303
6314
|
|
|
6304
|
-
/*
|
|
6305
|
-
.muka-
|
|
6306
|
-
|
|
6307
|
-
|
|
6308
|
-
|
|
6309
|
-
line-height: var(--text-label-sm-regular-lineHeight);
|
|
6310
|
-
color: var(--color-text-subtle-default);
|
|
6311
|
-
margin: 0;
|
|
6315
|
+
/* Disabled state */
|
|
6316
|
+
.muka-segmentgroup__segment--disabled,
|
|
6317
|
+
.muka-segmentgroup__segment:disabled {
|
|
6318
|
+
cursor: not-allowed;
|
|
6319
|
+
opacity: 0.5;
|
|
6312
6320
|
}
|
|
6313
6321
|
|
|
6314
|
-
/*
|
|
6315
|
-
.muka-
|
|
6316
|
-
|
|
6317
|
-
|
|
6318
|
-
|
|
6319
|
-
|
|
6320
|
-
color: var(--color-state-error-default);
|
|
6321
|
-
margin: 0;
|
|
6322
|
+
/* Label */
|
|
6323
|
+
.muka-segmentgroup__label {
|
|
6324
|
+
display: inline-flex;
|
|
6325
|
+
align-items: center;
|
|
6326
|
+
white-space: nowrap;
|
|
6327
|
+
user-select: none;
|
|
6322
6328
|
}
|
|
6323
6329
|
|
|
6324
6330
|
|
|
@@ -6663,8 +6669,8 @@ body {
|
|
|
6663
6669
|
|
|
6664
6670
|
.muka-recording-bar__time {
|
|
6665
6671
|
flex: 0 0 auto;
|
|
6666
|
-
font-size: var(--text-label-sm-fontSize
|
|
6667
|
-
line-height: var(--text-label-sm-
|
|
6672
|
+
font-size: var(--text-label-sm-regular-fontSize);
|
|
6673
|
+
line-height: var(--text-label-sm-leading);
|
|
6668
6674
|
font-variant-numeric: tabular-nums;
|
|
6669
6675
|
color: var(--color-text-default-default);
|
|
6670
6676
|
}
|
|
@@ -7194,6 +7200,53 @@ body {
|
|
|
7194
7200
|
}
|
|
7195
7201
|
|
|
7196
7202
|
|
|
7203
|
+
/* PullToRefresh */
|
|
7204
|
+
/* PullToRefresh Component Styles */
|
|
7205
|
+
|
|
7206
|
+
.muka-pull-to-refresh {
|
|
7207
|
+
position: relative;
|
|
7208
|
+
display: flex;
|
|
7209
|
+
flex-direction: column;
|
|
7210
|
+
width: 100%;
|
|
7211
|
+
height: 100%;
|
|
7212
|
+
overflow: hidden;
|
|
7213
|
+
}
|
|
7214
|
+
|
|
7215
|
+
.muka-pull-to-refresh__indicator {
|
|
7216
|
+
position: absolute;
|
|
7217
|
+
top: 0;
|
|
7218
|
+
left: 0;
|
|
7219
|
+
right: 0;
|
|
7220
|
+
display: flex;
|
|
7221
|
+
align-items: flex-end;
|
|
7222
|
+
justify-content: center;
|
|
7223
|
+
padding-bottom: var(--spacing-2);
|
|
7224
|
+
color: var(--color-text-subtle-default);
|
|
7225
|
+
overflow: hidden;
|
|
7226
|
+
pointer-events: none;
|
|
7227
|
+
z-index: 1;
|
|
7228
|
+
}
|
|
7229
|
+
|
|
7230
|
+
.muka-pull-to-refresh__chevron {
|
|
7231
|
+
display: inline-flex;
|
|
7232
|
+
align-items: center;
|
|
7233
|
+
justify-content: center;
|
|
7234
|
+
transition: transform 0.16s ease;
|
|
7235
|
+
}
|
|
7236
|
+
|
|
7237
|
+
.muka-pull-to-refresh__scroller {
|
|
7238
|
+
flex: 1 1 auto;
|
|
7239
|
+
min-height: 0;
|
|
7240
|
+
width: 100%;
|
|
7241
|
+
overflow-x: clip;
|
|
7242
|
+
overflow-y: auto;
|
|
7243
|
+
-webkit-overflow-scrolling: touch;
|
|
7244
|
+
overscroll-behavior-y: contain;
|
|
7245
|
+
touch-action: pan-y;
|
|
7246
|
+
will-change: transform;
|
|
7247
|
+
}
|
|
7248
|
+
|
|
7249
|
+
|
|
7197
7250
|
/* ProgressTracker */
|
|
7198
7251
|
/* ProgressTracker Component Styles — Using Muka Design Tokens */
|
|
7199
7252
|
|
|
@@ -8016,53 +8069,6 @@ button.muka-progress-tracker__tab:focus-visible {
|
|
|
8016
8069
|
}
|
|
8017
8070
|
|
|
8018
8071
|
|
|
8019
|
-
/* PullToRefresh */
|
|
8020
|
-
/* PullToRefresh Component Styles */
|
|
8021
|
-
|
|
8022
|
-
.muka-pull-to-refresh {
|
|
8023
|
-
position: relative;
|
|
8024
|
-
display: flex;
|
|
8025
|
-
flex-direction: column;
|
|
8026
|
-
width: 100%;
|
|
8027
|
-
height: 100%;
|
|
8028
|
-
overflow: hidden;
|
|
8029
|
-
}
|
|
8030
|
-
|
|
8031
|
-
.muka-pull-to-refresh__indicator {
|
|
8032
|
-
position: absolute;
|
|
8033
|
-
top: 0;
|
|
8034
|
-
left: 0;
|
|
8035
|
-
right: 0;
|
|
8036
|
-
display: flex;
|
|
8037
|
-
align-items: flex-end;
|
|
8038
|
-
justify-content: center;
|
|
8039
|
-
padding-bottom: var(--spacing-2);
|
|
8040
|
-
color: var(--color-text-subtle-default);
|
|
8041
|
-
overflow: hidden;
|
|
8042
|
-
pointer-events: none;
|
|
8043
|
-
z-index: 1;
|
|
8044
|
-
}
|
|
8045
|
-
|
|
8046
|
-
.muka-pull-to-refresh__chevron {
|
|
8047
|
-
display: inline-flex;
|
|
8048
|
-
align-items: center;
|
|
8049
|
-
justify-content: center;
|
|
8050
|
-
transition: transform 0.16s ease;
|
|
8051
|
-
}
|
|
8052
|
-
|
|
8053
|
-
.muka-pull-to-refresh__scroller {
|
|
8054
|
-
flex: 1 1 auto;
|
|
8055
|
-
min-height: 0;
|
|
8056
|
-
width: 100%;
|
|
8057
|
-
overflow-x: clip;
|
|
8058
|
-
overflow-y: auto;
|
|
8059
|
-
-webkit-overflow-scrolling: touch;
|
|
8060
|
-
overscroll-behavior-y: contain;
|
|
8061
|
-
touch-action: pan-y;
|
|
8062
|
-
will-change: transform;
|
|
8063
|
-
}
|
|
8064
|
-
|
|
8065
|
-
|
|
8066
8072
|
/* Progress */
|
|
8067
8073
|
/* Progress Component Styles - Using Muka Design Tokens */
|
|
8068
8074
|
|
|
@@ -9236,36 +9242,6 @@ button.muka-progress-tracker__tab:focus-visible {
|
|
|
9236
9242
|
}
|
|
9237
9243
|
|
|
9238
9244
|
|
|
9239
|
-
/* NumberInput */
|
|
9240
|
-
/* NumberInput — reuses Input field styles (../Input/Input.css). */
|
|
9241
|
-
/* Only the prefix/suffix affixes are NumberInput-specific. */
|
|
9242
|
-
|
|
9243
|
-
.muka-numberinput__addon {
|
|
9244
|
-
display: inline-flex;
|
|
9245
|
-
align-items: center;
|
|
9246
|
-
flex: none;
|
|
9247
|
-
color: var(--color-text-subtle-default);
|
|
9248
|
-
font-family: var(--text-input-md-fontFamily);
|
|
9249
|
-
font-size: var(--text-input-md-fontSize);
|
|
9250
|
-
line-height: var(--text-input-md-lineHeight);
|
|
9251
|
-
user-select: none;
|
|
9252
|
-
pointer-events: none;
|
|
9253
|
-
white-space: nowrap;
|
|
9254
|
-
}
|
|
9255
|
-
|
|
9256
|
-
/* Hide the native number spinners — affixes/step API replace them. */
|
|
9257
|
-
.muka-numberinput__field .muka-input__native::-webkit-outer-spin-button,
|
|
9258
|
-
.muka-numberinput__field .muka-input__native::-webkit-inner-spin-button {
|
|
9259
|
-
-webkit-appearance: none;
|
|
9260
|
-
margin: 0;
|
|
9261
|
-
}
|
|
9262
|
-
|
|
9263
|
-
.muka-numberinput__field .muka-input__native {
|
|
9264
|
-
-moz-appearance: textfield;
|
|
9265
|
-
appearance: textfield;
|
|
9266
|
-
}
|
|
9267
|
-
|
|
9268
|
-
|
|
9269
9245
|
/* NavigationTransition */
|
|
9270
9246
|
/* NavigationTransition Component Styles */
|
|
9271
9247
|
|
|
@@ -9791,6 +9767,36 @@ button.muka-progress-tracker__tab:focus-visible {
|
|
|
9791
9767
|
}
|
|
9792
9768
|
|
|
9793
9769
|
|
|
9770
|
+
/* NumberInput */
|
|
9771
|
+
/* NumberInput — reuses Input field styles (../Input/Input.css). */
|
|
9772
|
+
/* Only the prefix/suffix affixes are NumberInput-specific. */
|
|
9773
|
+
|
|
9774
|
+
.muka-numberinput__addon {
|
|
9775
|
+
display: inline-flex;
|
|
9776
|
+
align-items: center;
|
|
9777
|
+
flex: none;
|
|
9778
|
+
color: var(--color-text-subtle-default);
|
|
9779
|
+
font-family: var(--text-input-md-fontFamily);
|
|
9780
|
+
font-size: var(--text-input-md-fontSize);
|
|
9781
|
+
line-height: var(--text-input-md-lineHeight);
|
|
9782
|
+
user-select: none;
|
|
9783
|
+
pointer-events: none;
|
|
9784
|
+
white-space: nowrap;
|
|
9785
|
+
}
|
|
9786
|
+
|
|
9787
|
+
/* Hide the native number spinners — affixes/step API replace them. */
|
|
9788
|
+
.muka-numberinput__field .muka-input__native::-webkit-outer-spin-button,
|
|
9789
|
+
.muka-numberinput__field .muka-input__native::-webkit-inner-spin-button {
|
|
9790
|
+
-webkit-appearance: none;
|
|
9791
|
+
margin: 0;
|
|
9792
|
+
}
|
|
9793
|
+
|
|
9794
|
+
.muka-numberinput__field .muka-input__native {
|
|
9795
|
+
-moz-appearance: textfield;
|
|
9796
|
+
appearance: textfield;
|
|
9797
|
+
}
|
|
9798
|
+
|
|
9799
|
+
|
|
9794
9800
|
/* MediaViewer */
|
|
9795
9801
|
/* MediaViewer Component Styles - Using Muka Design Tokens */
|
|
9796
9802
|
|
|
@@ -10109,8 +10115,8 @@ button.muka-progress-tracker__tab:focus-visible {
|
|
|
10109
10115
|
/* Typography - using semantic tokens */
|
|
10110
10116
|
font-family: var(--alias-font-plain-family);
|
|
10111
10117
|
font-weight: var(--alias-font-plain-weight-semibold, 600);
|
|
10112
|
-
font-size: var(--text-label-md-fontSize);
|
|
10113
|
-
line-height: var(--text-label-md-
|
|
10118
|
+
font-size: var(--text-label-md-regular-fontSize);
|
|
10119
|
+
line-height: var(--text-label-md-leading);
|
|
10114
10120
|
color: var(--color-text-default-default);
|
|
10115
10121
|
|
|
10116
10122
|
/* Text handling */
|
|
@@ -10124,11 +10130,12 @@ button.muka-progress-tracker__tab:focus-visible {
|
|
|
10124
10130
|
margin: 0;
|
|
10125
10131
|
padding: 0;
|
|
10126
10132
|
|
|
10127
|
-
/* Typography -
|
|
10128
|
-
|
|
10129
|
-
font-
|
|
10130
|
-
font-
|
|
10131
|
-
|
|
10133
|
+
/* Typography: the body-sm regular text style. The bare --text-body-sm-*
|
|
10134
|
+
names exist only as fallbacks in base.css, not in any theme. */
|
|
10135
|
+
font-family: var(--text-body-sm-regular-fontFamily);
|
|
10136
|
+
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
10137
|
+
font-size: var(--text-body-sm-regular-fontSize);
|
|
10138
|
+
line-height: var(--text-body-sm-regular-lineHeight);
|
|
10132
10139
|
color: var(--color-text-subtle-default);
|
|
10133
10140
|
|
|
10134
10141
|
/* Text handling */
|
|
@@ -10150,8 +10157,8 @@ button.muka-progress-tracker__tab:focus-visible {
|
|
|
10150
10157
|
gap: var(--spacing-1);
|
|
10151
10158
|
flex-shrink: 0;
|
|
10152
10159
|
font-family: var(--alias-font-plain-family);
|
|
10153
|
-
font-size: var(--text-body-sm-fontSize);
|
|
10154
|
-
line-height: var(--text-body-sm-lineHeight);
|
|
10160
|
+
font-size: var(--text-body-sm-regular-fontSize);
|
|
10161
|
+
line-height: var(--text-body-sm-regular-lineHeight);
|
|
10155
10162
|
color: var(--color-text-subtle-default);
|
|
10156
10163
|
white-space: nowrap;
|
|
10157
10164
|
}
|
|
@@ -10177,16 +10184,57 @@ button.muka-progress-tracker__tab:focus-visible {
|
|
|
10177
10184
|
background-color: var(--color-border-default);
|
|
10178
10185
|
}
|
|
10179
10186
|
|
|
10180
|
-
/* Button and anchor specific styles */
|
|
10181
|
-
button.muka-listitem,
|
|
10182
|
-
a.muka-listitem {
|
|
10183
|
-
text-align: left;
|
|
10184
|
-
width: 100%;
|
|
10187
|
+
/* Button and anchor specific styles */
|
|
10188
|
+
button.muka-listitem,
|
|
10189
|
+
a.muka-listitem {
|
|
10190
|
+
text-align: left;
|
|
10191
|
+
width: 100%;
|
|
10192
|
+
}
|
|
10193
|
+
|
|
10194
|
+
/* List item specific styles */
|
|
10195
|
+
li.muka-listitem {
|
|
10196
|
+
list-style: none;
|
|
10197
|
+
}
|
|
10198
|
+
|
|
10199
|
+
|
|
10200
|
+
/* Label */
|
|
10201
|
+
/* Label Component Styles - Using Muka Design Tokens */
|
|
10202
|
+
|
|
10203
|
+
.muka-label {
|
|
10204
|
+
display: inline-flex;
|
|
10205
|
+
align-items: center;
|
|
10206
|
+
color: var(--color-text-default-default);
|
|
10207
|
+
cursor: pointer;
|
|
10208
|
+
}
|
|
10209
|
+
|
|
10210
|
+
.muka-label--sm {
|
|
10211
|
+
font-family: var(--text-label-sm-semibold-fontFamily);
|
|
10212
|
+
font-weight: var(--text-label-sm-semibold-fontWeight);
|
|
10213
|
+
font-size: var(--text-label-sm-semibold-fontSize);
|
|
10214
|
+
line-height: var(--text-label-sm-semibold-lineHeight);
|
|
10215
|
+
}
|
|
10216
|
+
|
|
10217
|
+
.muka-label--md {
|
|
10218
|
+
font-family: var(--text-label-md-semibold-fontFamily);
|
|
10219
|
+
font-weight: var(--text-label-md-semibold-fontWeight);
|
|
10220
|
+
font-size: var(--text-label-md-semibold-fontSize);
|
|
10221
|
+
line-height: var(--text-label-md-semibold-lineHeight);
|
|
10222
|
+
}
|
|
10223
|
+
|
|
10224
|
+
.muka-label--lg {
|
|
10225
|
+
font-family: var(--text-label-lg-semibold-fontFamily);
|
|
10226
|
+
font-weight: var(--text-label-lg-semibold-fontWeight);
|
|
10227
|
+
font-size: var(--text-label-lg-semibold-fontSize);
|
|
10228
|
+
line-height: var(--text-label-lg-semibold-lineHeight);
|
|
10229
|
+
}
|
|
10230
|
+
|
|
10231
|
+
.muka-label--disabled {
|
|
10232
|
+
color: var(--color-text-subtle-default);
|
|
10233
|
+
cursor: not-allowed;
|
|
10185
10234
|
}
|
|
10186
10235
|
|
|
10187
|
-
|
|
10188
|
-
|
|
10189
|
-
list-style: none;
|
|
10236
|
+
.muka-label__required {
|
|
10237
|
+
color: var(--color-state-error-default);
|
|
10190
10238
|
}
|
|
10191
10239
|
|
|
10192
10240
|
|
|
@@ -10383,47 +10431,6 @@ li.muka-listitem {
|
|
|
10383
10431
|
}
|
|
10384
10432
|
|
|
10385
10433
|
|
|
10386
|
-
/* Label */
|
|
10387
|
-
/* Label Component Styles - Using Muka Design Tokens */
|
|
10388
|
-
|
|
10389
|
-
.muka-label {
|
|
10390
|
-
display: inline-flex;
|
|
10391
|
-
align-items: center;
|
|
10392
|
-
color: var(--color-text-default-default);
|
|
10393
|
-
cursor: pointer;
|
|
10394
|
-
}
|
|
10395
|
-
|
|
10396
|
-
.muka-label--sm {
|
|
10397
|
-
font-family: var(--text-label-sm-semibold-fontFamily);
|
|
10398
|
-
font-weight: var(--text-label-sm-semibold-fontWeight);
|
|
10399
|
-
font-size: var(--text-label-sm-semibold-fontSize);
|
|
10400
|
-
line-height: var(--text-label-sm-semibold-lineHeight);
|
|
10401
|
-
}
|
|
10402
|
-
|
|
10403
|
-
.muka-label--md {
|
|
10404
|
-
font-family: var(--text-label-md-semibold-fontFamily);
|
|
10405
|
-
font-weight: var(--text-label-md-semibold-fontWeight);
|
|
10406
|
-
font-size: var(--text-label-md-semibold-fontSize);
|
|
10407
|
-
line-height: var(--text-label-md-semibold-lineHeight);
|
|
10408
|
-
}
|
|
10409
|
-
|
|
10410
|
-
.muka-label--lg {
|
|
10411
|
-
font-family: var(--text-label-lg-semibold-fontFamily);
|
|
10412
|
-
font-weight: var(--text-label-lg-semibold-fontWeight);
|
|
10413
|
-
font-size: var(--text-label-lg-semibold-fontSize);
|
|
10414
|
-
line-height: var(--text-label-lg-semibold-lineHeight);
|
|
10415
|
-
}
|
|
10416
|
-
|
|
10417
|
-
.muka-label--disabled {
|
|
10418
|
-
color: var(--color-text-subtle-default);
|
|
10419
|
-
cursor: not-allowed;
|
|
10420
|
-
}
|
|
10421
|
-
|
|
10422
|
-
.muka-label__required {
|
|
10423
|
-
color: var(--color-state-error-default);
|
|
10424
|
-
}
|
|
10425
|
-
|
|
10426
|
-
|
|
10427
10434
|
/* InputCounter */
|
|
10428
10435
|
/* InputCounter — numeric field + joined decrement/increment buttons.
|
|
10429
10436
|
Label, helper and error text reuse Input.css (../Input/Input.css).
|
|
@@ -10883,6 +10890,26 @@ li.muka-listitem {
|
|
|
10883
10890
|
}
|
|
10884
10891
|
|
|
10885
10892
|
|
|
10893
|
+
/* Form */
|
|
10894
|
+
.muka-form {
|
|
10895
|
+
display: flex;
|
|
10896
|
+
flex-direction: column;
|
|
10897
|
+
width: 100%;
|
|
10898
|
+
}
|
|
10899
|
+
|
|
10900
|
+
.muka-form--gap-sm {
|
|
10901
|
+
gap: var(--size-sm);
|
|
10902
|
+
}
|
|
10903
|
+
|
|
10904
|
+
.muka-form--gap-md {
|
|
10905
|
+
gap: var(--size-md);
|
|
10906
|
+
}
|
|
10907
|
+
|
|
10908
|
+
.muka-form--gap-lg {
|
|
10909
|
+
gap: var(--size-lg);
|
|
10910
|
+
}
|
|
10911
|
+
|
|
10912
|
+
|
|
10886
10913
|
/* Icon */
|
|
10887
10914
|
/* Icon Component Styles - Using Muka Design Tokens */
|
|
10888
10915
|
|
|
@@ -10937,26 +10964,6 @@ li.muka-listitem {
|
|
|
10937
10964
|
}
|
|
10938
10965
|
|
|
10939
10966
|
|
|
10940
|
-
/* Form */
|
|
10941
|
-
.muka-form {
|
|
10942
|
-
display: flex;
|
|
10943
|
-
flex-direction: column;
|
|
10944
|
-
width: 100%;
|
|
10945
|
-
}
|
|
10946
|
-
|
|
10947
|
-
.muka-form--gap-sm {
|
|
10948
|
-
gap: var(--size-sm);
|
|
10949
|
-
}
|
|
10950
|
-
|
|
10951
|
-
.muka-form--gap-md {
|
|
10952
|
-
gap: var(--size-md);
|
|
10953
|
-
}
|
|
10954
|
-
|
|
10955
|
-
.muka-form--gap-lg {
|
|
10956
|
-
gap: var(--size-lg);
|
|
10957
|
-
}
|
|
10958
|
-
|
|
10959
|
-
|
|
10960
10967
|
/* FileUpload */
|
|
10961
10968
|
/* FileUpload Component Styles */
|
|
10962
10969
|
|
|
@@ -11123,99 +11130,240 @@ li.muka-listitem {
|
|
|
11123
11130
|
border-radius: var(--fileupload-item-radius);
|
|
11124
11131
|
}
|
|
11125
11132
|
|
|
11126
|
-
.muka-fileupload-item--error {
|
|
11127
|
-
background-color: var(--fileupload-item-color-error-background);
|
|
11133
|
+
.muka-fileupload-item--error {
|
|
11134
|
+
background-color: var(--fileupload-item-color-error-background);
|
|
11135
|
+
}
|
|
11136
|
+
|
|
11137
|
+
.muka-fileupload-item--success {
|
|
11138
|
+
background-color: var(--fileupload-item-color-default-background);
|
|
11139
|
+
}
|
|
11140
|
+
|
|
11141
|
+
/* Preview/Icon container */
|
|
11142
|
+
.muka-fileupload-item__preview {
|
|
11143
|
+
display: flex;
|
|
11144
|
+
align-items: center;
|
|
11145
|
+
justify-content: center;
|
|
11146
|
+
flex-shrink: 0;
|
|
11147
|
+
width: var(--fileupload-preview-size);
|
|
11148
|
+
height: var(--fileupload-preview-size);
|
|
11149
|
+
border-radius: var(--fileupload-preview-radius);
|
|
11150
|
+
overflow: hidden;
|
|
11151
|
+
background-color: var(--color-surface-level1);
|
|
11152
|
+
}
|
|
11153
|
+
|
|
11154
|
+
.muka-fileupload-item__thumbnail {
|
|
11155
|
+
width: 100%;
|
|
11156
|
+
height: 100%;
|
|
11157
|
+
object-fit: cover;
|
|
11158
|
+
}
|
|
11159
|
+
|
|
11160
|
+
.muka-fileupload-item__icon {
|
|
11161
|
+
color: var(--color-text-subtle-default);
|
|
11162
|
+
}
|
|
11163
|
+
|
|
11164
|
+
/* File info */
|
|
11165
|
+
.muka-fileupload-item__info {
|
|
11166
|
+
flex: 1;
|
|
11167
|
+
min-width: 0;
|
|
11168
|
+
display: flex;
|
|
11169
|
+
flex-direction: column;
|
|
11170
|
+
gap: var(--spacing-1);
|
|
11171
|
+
}
|
|
11172
|
+
|
|
11173
|
+
.muka-fileupload-item__name {
|
|
11174
|
+
font-family: var(--text-body-sm-regular-fontFamily);
|
|
11175
|
+
font-size: var(--text-body-sm-regular-fontSize);
|
|
11176
|
+
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
11177
|
+
line-height: var(--text-body-sm-regular-lineHeight);
|
|
11178
|
+
color: var(--fileupload-item-color-default-foreground);
|
|
11179
|
+
white-space: nowrap;
|
|
11180
|
+
overflow: hidden;
|
|
11181
|
+
text-overflow: ellipsis;
|
|
11182
|
+
}
|
|
11183
|
+
|
|
11184
|
+
.muka-fileupload-item--error .muka-fileupload-item__name {
|
|
11185
|
+
color: var(--fileupload-item-color-error-foreground);
|
|
11186
|
+
}
|
|
11187
|
+
|
|
11188
|
+
.muka-fileupload-item__meta {
|
|
11189
|
+
font-family: var(--text-label-sm-regular-fontFamily);
|
|
11190
|
+
font-size: var(--text-label-sm-regular-fontSize);
|
|
11191
|
+
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
11192
|
+
line-height: var(--text-label-sm-regular-lineHeight);
|
|
11193
|
+
color: var(--color-text-subtle-default);
|
|
11194
|
+
}
|
|
11195
|
+
|
|
11196
|
+
.muka-fileupload-item__error {
|
|
11197
|
+
color: var(--fileupload-item-color-error-foreground);
|
|
11198
|
+
}
|
|
11199
|
+
|
|
11200
|
+
.muka-fileupload-item__progress {
|
|
11201
|
+
margin-top: var(--spacing-1);
|
|
11202
|
+
}
|
|
11203
|
+
|
|
11204
|
+
/* Actions */
|
|
11205
|
+
.muka-fileupload-item__actions {
|
|
11206
|
+
display: flex;
|
|
11207
|
+
align-items: center;
|
|
11208
|
+
gap: var(--spacing-2);
|
|
11209
|
+
flex-shrink: 0;
|
|
11210
|
+
}
|
|
11211
|
+
|
|
11212
|
+
.muka-fileupload-item__status-icon--success {
|
|
11213
|
+
color: var(--fileupload-item-color-success-foreground);
|
|
11214
|
+
}
|
|
11215
|
+
|
|
11216
|
+
.muka-fileupload-item__status-icon--error {
|
|
11217
|
+
color: var(--fileupload-item-color-error-foreground);
|
|
11218
|
+
}
|
|
11219
|
+
|
|
11220
|
+
.muka-fileupload-item__remove {
|
|
11221
|
+
opacity: 0.7;
|
|
11222
|
+
}
|
|
11223
|
+
|
|
11224
|
+
.muka-fileupload-item__remove:hover {
|
|
11225
|
+
opacity: 1;
|
|
11226
|
+
}
|
|
11227
|
+
|
|
11228
|
+
|
|
11229
|
+
/* FAB */
|
|
11230
|
+
/* FAB (Floating Action Button) Component Styles */
|
|
11231
|
+
|
|
11232
|
+
.muka-fab {
|
|
11233
|
+
position: fixed;
|
|
11234
|
+
z-index: 40;
|
|
11235
|
+
|
|
11236
|
+
display: inline-flex;
|
|
11237
|
+
align-items: center;
|
|
11238
|
+
justify-content: center;
|
|
11239
|
+
gap: var(--spacing-2);
|
|
11240
|
+
|
|
11241
|
+
border: none;
|
|
11242
|
+
cursor: pointer;
|
|
11243
|
+
font-family: inherit;
|
|
11244
|
+
box-shadow: var(--shadow-level4);
|
|
11245
|
+
|
|
11246
|
+
transition: transform 0.12s ease, box-shadow 0.12s ease, background-color 0.12s ease;
|
|
11247
|
+
-webkit-tap-highlight-color: transparent;
|
|
11248
|
+
}
|
|
11249
|
+
|
|
11250
|
+
.muka-fab:active {
|
|
11251
|
+
transform: scale(0.96);
|
|
11252
|
+
box-shadow: var(--shadow-level3);
|
|
11253
|
+
}
|
|
11254
|
+
|
|
11255
|
+
.muka-fab:focus-visible {
|
|
11256
|
+
outline: 2px solid var(--color-action-default);
|
|
11257
|
+
outline-offset: 2px;
|
|
11258
|
+
}
|
|
11259
|
+
|
|
11260
|
+
.muka-fab:disabled {
|
|
11261
|
+
opacity: 0.5;
|
|
11262
|
+
cursor: not-allowed;
|
|
11263
|
+
box-shadow: none;
|
|
11264
|
+
}
|
|
11265
|
+
|
|
11266
|
+
/* ─── Variants ────────────────────────────────────────── */
|
|
11267
|
+
|
|
11268
|
+
.muka-fab--primary {
|
|
11269
|
+
background-color: var(--color-action-default);
|
|
11270
|
+
color: var(--color-text-default-inverse);
|
|
11271
|
+
}
|
|
11272
|
+
|
|
11273
|
+
.muka-fab--primary:hover:not(:disabled) {
|
|
11274
|
+
background-color: var(--color-action-hover);
|
|
11275
|
+
}
|
|
11276
|
+
|
|
11277
|
+
.muka-fab--secondary {
|
|
11278
|
+
background-color: var(--color-surface-level3);
|
|
11279
|
+
color: var(--color-text-default-default);
|
|
11280
|
+
}
|
|
11281
|
+
|
|
11282
|
+
.muka-fab--secondary:hover:not(:disabled) {
|
|
11283
|
+
background-color: var(--color-surface-level2);
|
|
11284
|
+
}
|
|
11285
|
+
|
|
11286
|
+
/* ─── Sizes (circular by default) ─────────────────────── */
|
|
11287
|
+
|
|
11288
|
+
.muka-fab--md {
|
|
11289
|
+
width: 56px;
|
|
11290
|
+
height: 56px;
|
|
11291
|
+
border-radius: 50%;
|
|
11292
|
+
}
|
|
11293
|
+
|
|
11294
|
+
.muka-fab--lg {
|
|
11295
|
+
width: 64px;
|
|
11296
|
+
height: 64px;
|
|
11297
|
+
border-radius: 50%;
|
|
11298
|
+
}
|
|
11299
|
+
|
|
11300
|
+
/* ─── Extended (pill shape with label) ────────────────── */
|
|
11301
|
+
|
|
11302
|
+
.muka-fab--extended {
|
|
11303
|
+
width: auto;
|
|
11304
|
+
height: auto;
|
|
11305
|
+
padding: var(--spacing-3) var(--spacing-4);
|
|
11306
|
+
border-radius: var(--radius-full);
|
|
11128
11307
|
}
|
|
11129
11308
|
|
|
11130
|
-
.muka-
|
|
11131
|
-
|
|
11309
|
+
.muka-fab--extended.muka-fab--lg {
|
|
11310
|
+
padding: var(--spacing-4) var(--spacing-5);
|
|
11132
11311
|
}
|
|
11133
11312
|
|
|
11134
|
-
|
|
11135
|
-
|
|
11136
|
-
display: flex;
|
|
11313
|
+
.muka-fab__icon {
|
|
11314
|
+
display: inline-flex;
|
|
11137
11315
|
align-items: center;
|
|
11138
11316
|
justify-content: center;
|
|
11139
|
-
|
|
11140
|
-
|
|
11141
|
-
height: var(--fileupload-preview-size);
|
|
11142
|
-
border-radius: var(--fileupload-preview-radius);
|
|
11143
|
-
overflow: hidden;
|
|
11144
|
-
background-color: var(--color-surface-level1);
|
|
11317
|
+
width: 24px;
|
|
11318
|
+
height: 24px;
|
|
11145
11319
|
}
|
|
11146
11320
|
|
|
11147
|
-
.muka-
|
|
11321
|
+
.muka-fab__icon svg {
|
|
11148
11322
|
width: 100%;
|
|
11149
11323
|
height: 100%;
|
|
11150
|
-
object-fit: cover;
|
|
11151
|
-
}
|
|
11152
|
-
|
|
11153
|
-
.muka-fileupload-item__icon {
|
|
11154
|
-
color: var(--color-text-subtle-default);
|
|
11155
|
-
}
|
|
11156
|
-
|
|
11157
|
-
/* File info */
|
|
11158
|
-
.muka-fileupload-item__info {
|
|
11159
|
-
flex: 1;
|
|
11160
|
-
min-width: 0;
|
|
11161
|
-
display: flex;
|
|
11162
|
-
flex-direction: column;
|
|
11163
|
-
gap: var(--spacing-1);
|
|
11164
|
-
}
|
|
11165
|
-
|
|
11166
|
-
.muka-fileupload-item__name {
|
|
11167
|
-
font-family: var(--text-body-sm-regular-fontFamily);
|
|
11168
|
-
font-size: var(--text-body-sm-regular-fontSize);
|
|
11169
|
-
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
11170
|
-
line-height: var(--text-body-sm-regular-lineHeight);
|
|
11171
|
-
color: var(--fileupload-item-color-default-foreground);
|
|
11172
|
-
white-space: nowrap;
|
|
11173
|
-
overflow: hidden;
|
|
11174
|
-
text-overflow: ellipsis;
|
|
11175
11324
|
}
|
|
11176
11325
|
|
|
11177
|
-
.muka-
|
|
11178
|
-
|
|
11326
|
+
.muka-fab__label {
|
|
11327
|
+
font-family: var(--text-label-md-semibold-fontFamily);
|
|
11328
|
+
font-weight: var(--text-label-md-semibold-fontWeight);
|
|
11329
|
+
font-size: var(--text-label-md-semibold-fontSize);
|
|
11330
|
+
line-height: var(--text-label-md-semibold-lineHeight);
|
|
11179
11331
|
}
|
|
11180
11332
|
|
|
11181
|
-
|
|
11182
|
-
font-family: var(--text-label-sm-regular-fontFamily);
|
|
11183
|
-
font-size: var(--text-label-sm-regular-fontSize);
|
|
11184
|
-
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
11185
|
-
line-height: var(--text-label-sm-regular-lineHeight);
|
|
11186
|
-
color: var(--color-text-subtle-default);
|
|
11187
|
-
}
|
|
11333
|
+
/* ─── Positioning ─────────────────────────────────────── */
|
|
11188
11334
|
|
|
11189
|
-
.muka-
|
|
11190
|
-
|
|
11335
|
+
.muka-fab--bottom-right {
|
|
11336
|
+
right: var(--spacing-4);
|
|
11337
|
+
bottom: var(--spacing-4);
|
|
11191
11338
|
}
|
|
11192
11339
|
|
|
11193
|
-
.muka-
|
|
11194
|
-
|
|
11340
|
+
.muka-fab--bottom-left {
|
|
11341
|
+
left: var(--spacing-4);
|
|
11342
|
+
bottom: var(--spacing-4);
|
|
11195
11343
|
}
|
|
11196
11344
|
|
|
11197
|
-
|
|
11198
|
-
|
|
11199
|
-
|
|
11200
|
-
|
|
11201
|
-
gap: var(--spacing-2);
|
|
11202
|
-
flex-shrink: 0;
|
|
11345
|
+
.muka-fab--bottom-center {
|
|
11346
|
+
left: 50%;
|
|
11347
|
+
bottom: var(--spacing-4);
|
|
11348
|
+
transform: translateX(-50%);
|
|
11203
11349
|
}
|
|
11204
11350
|
|
|
11205
|
-
.muka-
|
|
11206
|
-
|
|
11351
|
+
.muka-fab--bottom-center:active {
|
|
11352
|
+
transform: translateX(-50%) scale(0.96);
|
|
11207
11353
|
}
|
|
11208
11354
|
|
|
11209
|
-
|
|
11210
|
-
|
|
11355
|
+
/* Add the iOS home-indicator inset to the bottom offset. */
|
|
11356
|
+
.muka-fab:not(.muka-fab--no-safe-area) {
|
|
11357
|
+
bottom: calc(var(--spacing-4) + env(safe-area-inset-bottom));
|
|
11211
11358
|
}
|
|
11212
11359
|
|
|
11213
|
-
|
|
11214
|
-
|
|
11360
|
+
/* Lateral safe-area for landscape iPhone with notch. */
|
|
11361
|
+
.muka-fab--bottom-right:not(.muka-fab--no-safe-area) {
|
|
11362
|
+
right: max(var(--spacing-4), env(safe-area-inset-right));
|
|
11215
11363
|
}
|
|
11216
11364
|
|
|
11217
|
-
.muka-
|
|
11218
|
-
|
|
11365
|
+
.muka-fab--bottom-left:not(.muka-fab--no-safe-area) {
|
|
11366
|
+
left: max(var(--spacing-4), env(safe-area-inset-left));
|
|
11219
11367
|
}
|
|
11220
11368
|
|
|
11221
11369
|
|
|
@@ -11522,232 +11670,91 @@ li.muka-listitem {
|
|
|
11522
11670
|
text-overflow: ellipsis;
|
|
11523
11671
|
}
|
|
11524
11672
|
|
|
11525
|
-
.muka-dropdown-select__chips {
|
|
11526
|
-
display: flex;
|
|
11527
|
-
flex: 1 1 auto;
|
|
11528
|
-
flex-wrap: wrap;
|
|
11529
|
-
gap: var(--spacing-2);
|
|
11530
|
-
align-items: flex-start;
|
|
11531
|
-
min-width: 0;
|
|
11532
|
-
/* Chip remove controls must remain clickable above the field hit target. */
|
|
11533
|
-
pointer-events: auto;
|
|
11534
|
-
}
|
|
11535
|
-
|
|
11536
|
-
.muka-dropdown-select__field--multiline {
|
|
11537
|
-
align-items: flex-start;
|
|
11538
|
-
min-height: 7rem;
|
|
11539
|
-
}
|
|
11540
|
-
|
|
11541
|
-
.muka-dropdown-select__menu-button {
|
|
11542
|
-
position: absolute;
|
|
11543
|
-
inset: 0;
|
|
11544
|
-
z-index: 0;
|
|
11545
|
-
display: inline-flex;
|
|
11546
|
-
align-items: center;
|
|
11547
|
-
justify-content: flex-end;
|
|
11548
|
-
width: auto;
|
|
11549
|
-
height: auto;
|
|
11550
|
-
padding: 0;
|
|
11551
|
-
padding-right: var(--spacing-2);
|
|
11552
|
-
border: none;
|
|
11553
|
-
border-radius: inherit;
|
|
11554
|
-
background: transparent;
|
|
11555
|
-
color: var(--color-text-subtle-default);
|
|
11556
|
-
cursor: pointer;
|
|
11557
|
-
}
|
|
11558
|
-
|
|
11559
|
-
.muka-dropdown-select__field--multiline .muka-dropdown-select__menu-button {
|
|
11560
|
-
align-items: flex-start;
|
|
11561
|
-
padding-top: calc(var(--spacing-2) + 8px);
|
|
11562
|
-
}
|
|
11563
|
-
|
|
11564
|
-
.muka-dropdown-select__chevron {
|
|
11565
|
-
display: inline-flex;
|
|
11566
|
-
align-items: center;
|
|
11567
|
-
justify-content: center;
|
|
11568
|
-
width: var(--size-2xl, 2rem);
|
|
11569
|
-
height: var(--size-2xl, 2rem);
|
|
11570
|
-
pointer-events: none;
|
|
11571
|
-
color: var(--color-text-subtle-default);
|
|
11572
|
-
}
|
|
11573
|
-
|
|
11574
|
-
.muka-dropdown-select__chevron .muka-icon,
|
|
11575
|
-
.muka-dropdown-select__menu-button:hover .muka-dropdown-select__chevron,
|
|
11576
|
-
.muka-dropdown-select__menu-button:hover .muka-icon {
|
|
11577
|
-
color: var(--color-text-subtle-default);
|
|
11578
|
-
}
|
|
11579
|
-
|
|
11580
|
-
.muka-dropdown-select__field--sm .muka-dropdown-select__chevron {
|
|
11581
|
-
width: var(--size-xl, 1.5rem);
|
|
11582
|
-
height: var(--size-xl, 1.5rem);
|
|
11583
|
-
}
|
|
11584
|
-
|
|
11585
|
-
.muka-dropdown-select__menu-button:focus-visible {
|
|
11586
|
-
outline: 2px solid var(--color-border-focus, var(--color-action-default));
|
|
11587
|
-
outline-offset: 2px;
|
|
11588
|
-
}
|
|
11589
|
-
|
|
11590
|
-
.muka-dropdown-select__helper {
|
|
11591
|
-
margin: 0;
|
|
11592
|
-
color: var(--color-text-subtle-default);
|
|
11593
|
-
font-family: var(--text-label-sm-regular-fontFamily);
|
|
11594
|
-
font-size: var(--text-label-sm-regular-fontSize);
|
|
11595
|
-
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
11596
|
-
line-height: var(--text-label-sm-regular-lineHeight);
|
|
11597
|
-
}
|
|
11598
|
-
|
|
11599
|
-
.muka-dropdown-select__error {
|
|
11600
|
-
margin: 0;
|
|
11601
|
-
color: var(--color-state-error-default);
|
|
11602
|
-
font-family: var(--text-label-sm-regular-fontFamily);
|
|
11603
|
-
font-size: var(--text-label-sm-regular-fontSize);
|
|
11604
|
-
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
11605
|
-
line-height: var(--text-label-sm-regular-lineHeight);
|
|
11606
|
-
}
|
|
11607
|
-
|
|
11608
|
-
.muka-dropdown-select__menu {
|
|
11609
|
-
/* Uses Menu min-width (280px); grows with long labels; left-aligned to the field. */
|
|
11610
|
-
}
|
|
11611
|
-
|
|
11612
|
-
|
|
11613
|
-
/* FAB */
|
|
11614
|
-
/* FAB (Floating Action Button) Component Styles */
|
|
11615
|
-
|
|
11616
|
-
.muka-fab {
|
|
11617
|
-
position: fixed;
|
|
11618
|
-
z-index: 40;
|
|
11619
|
-
|
|
11620
|
-
display: inline-flex;
|
|
11621
|
-
align-items: center;
|
|
11622
|
-
justify-content: center;
|
|
11623
|
-
gap: var(--spacing-2);
|
|
11624
|
-
|
|
11625
|
-
border: none;
|
|
11626
|
-
cursor: pointer;
|
|
11627
|
-
font-family: inherit;
|
|
11628
|
-
box-shadow: var(--shadow-level4);
|
|
11629
|
-
|
|
11630
|
-
transition: transform 0.12s ease, box-shadow 0.12s ease, background-color 0.12s ease;
|
|
11631
|
-
-webkit-tap-highlight-color: transparent;
|
|
11632
|
-
}
|
|
11633
|
-
|
|
11634
|
-
.muka-fab:active {
|
|
11635
|
-
transform: scale(0.96);
|
|
11636
|
-
box-shadow: var(--shadow-level3);
|
|
11637
|
-
}
|
|
11638
|
-
|
|
11639
|
-
.muka-fab:focus-visible {
|
|
11640
|
-
outline: 2px solid var(--color-action-default);
|
|
11641
|
-
outline-offset: 2px;
|
|
11642
|
-
}
|
|
11643
|
-
|
|
11644
|
-
.muka-fab:disabled {
|
|
11645
|
-
opacity: 0.5;
|
|
11646
|
-
cursor: not-allowed;
|
|
11647
|
-
box-shadow: none;
|
|
11648
|
-
}
|
|
11649
|
-
|
|
11650
|
-
/* ─── Variants ────────────────────────────────────────── */
|
|
11651
|
-
|
|
11652
|
-
.muka-fab--primary {
|
|
11653
|
-
background-color: var(--color-action-default);
|
|
11654
|
-
color: var(--color-text-default-inverse);
|
|
11655
|
-
}
|
|
11656
|
-
|
|
11657
|
-
.muka-fab--primary:hover:not(:disabled) {
|
|
11658
|
-
background-color: var(--color-action-hover);
|
|
11659
|
-
}
|
|
11660
|
-
|
|
11661
|
-
.muka-fab--secondary {
|
|
11662
|
-
background-color: var(--color-surface-level3);
|
|
11663
|
-
color: var(--color-text-default-default);
|
|
11664
|
-
}
|
|
11665
|
-
|
|
11666
|
-
.muka-fab--secondary:hover:not(:disabled) {
|
|
11667
|
-
background-color: var(--color-surface-level2);
|
|
11668
|
-
}
|
|
11669
|
-
|
|
11670
|
-
/* ─── Sizes (circular by default) ─────────────────────── */
|
|
11671
|
-
|
|
11672
|
-
.muka-fab--md {
|
|
11673
|
-
width: 56px;
|
|
11674
|
-
height: 56px;
|
|
11675
|
-
border-radius: 50%;
|
|
11673
|
+
.muka-dropdown-select__chips {
|
|
11674
|
+
display: flex;
|
|
11675
|
+
flex: 1 1 auto;
|
|
11676
|
+
flex-wrap: wrap;
|
|
11677
|
+
gap: var(--spacing-2);
|
|
11678
|
+
align-items: flex-start;
|
|
11679
|
+
min-width: 0;
|
|
11680
|
+
/* Chip remove controls must remain clickable above the field hit target. */
|
|
11681
|
+
pointer-events: auto;
|
|
11676
11682
|
}
|
|
11677
11683
|
|
|
11678
|
-
.muka-
|
|
11679
|
-
|
|
11680
|
-
height:
|
|
11681
|
-
border-radius: 50%;
|
|
11684
|
+
.muka-dropdown-select__field--multiline {
|
|
11685
|
+
align-items: flex-start;
|
|
11686
|
+
min-height: 7rem;
|
|
11682
11687
|
}
|
|
11683
11688
|
|
|
11684
|
-
|
|
11685
|
-
|
|
11686
|
-
|
|
11689
|
+
.muka-dropdown-select__menu-button {
|
|
11690
|
+
position: absolute;
|
|
11691
|
+
inset: 0;
|
|
11692
|
+
z-index: 0;
|
|
11693
|
+
display: inline-flex;
|
|
11694
|
+
align-items: center;
|
|
11695
|
+
justify-content: flex-end;
|
|
11687
11696
|
width: auto;
|
|
11688
11697
|
height: auto;
|
|
11689
|
-
padding:
|
|
11690
|
-
|
|
11698
|
+
padding: 0;
|
|
11699
|
+
padding-right: var(--spacing-2);
|
|
11700
|
+
border: none;
|
|
11701
|
+
border-radius: inherit;
|
|
11702
|
+
background: transparent;
|
|
11703
|
+
color: var(--color-text-subtle-default);
|
|
11704
|
+
cursor: pointer;
|
|
11691
11705
|
}
|
|
11692
11706
|
|
|
11693
|
-
.muka-
|
|
11694
|
-
|
|
11707
|
+
.muka-dropdown-select__field--multiline .muka-dropdown-select__menu-button {
|
|
11708
|
+
align-items: flex-start;
|
|
11709
|
+
padding-top: calc(var(--spacing-2) + 8px);
|
|
11695
11710
|
}
|
|
11696
11711
|
|
|
11697
|
-
.muka-
|
|
11712
|
+
.muka-dropdown-select__chevron {
|
|
11698
11713
|
display: inline-flex;
|
|
11699
11714
|
align-items: center;
|
|
11700
11715
|
justify-content: center;
|
|
11701
|
-
width:
|
|
11702
|
-
height:
|
|
11703
|
-
|
|
11704
|
-
|
|
11705
|
-
.muka-fab__icon svg {
|
|
11706
|
-
width: 100%;
|
|
11707
|
-
height: 100%;
|
|
11708
|
-
}
|
|
11709
|
-
|
|
11710
|
-
.muka-fab__label {
|
|
11711
|
-
font-family: var(--text-label-md-semibold-fontFamily);
|
|
11712
|
-
font-weight: var(--text-label-md-semibold-fontWeight);
|
|
11713
|
-
font-size: var(--text-label-md-semibold-fontSize);
|
|
11714
|
-
line-height: var(--text-label-md-semibold-lineHeight);
|
|
11715
|
-
}
|
|
11716
|
-
|
|
11717
|
-
/* ─── Positioning ─────────────────────────────────────── */
|
|
11718
|
-
|
|
11719
|
-
.muka-fab--bottom-right {
|
|
11720
|
-
right: var(--spacing-4);
|
|
11721
|
-
bottom: var(--spacing-4);
|
|
11716
|
+
width: var(--size-2xl, 2rem);
|
|
11717
|
+
height: var(--size-2xl, 2rem);
|
|
11718
|
+
pointer-events: none;
|
|
11719
|
+
color: var(--color-text-subtle-default);
|
|
11722
11720
|
}
|
|
11723
11721
|
|
|
11724
|
-
.muka-
|
|
11725
|
-
|
|
11726
|
-
|
|
11722
|
+
.muka-dropdown-select__chevron .muka-icon,
|
|
11723
|
+
.muka-dropdown-select__menu-button:hover .muka-dropdown-select__chevron,
|
|
11724
|
+
.muka-dropdown-select__menu-button:hover .muka-icon {
|
|
11725
|
+
color: var(--color-text-subtle-default);
|
|
11727
11726
|
}
|
|
11728
11727
|
|
|
11729
|
-
.muka-
|
|
11730
|
-
|
|
11731
|
-
|
|
11732
|
-
transform: translateX(-50%);
|
|
11728
|
+
.muka-dropdown-select__field--sm .muka-dropdown-select__chevron {
|
|
11729
|
+
width: var(--size-xl, 1.5rem);
|
|
11730
|
+
height: var(--size-xl, 1.5rem);
|
|
11733
11731
|
}
|
|
11734
11732
|
|
|
11735
|
-
.muka-
|
|
11736
|
-
|
|
11733
|
+
.muka-dropdown-select__menu-button:focus-visible {
|
|
11734
|
+
outline: 2px solid var(--color-border-focus, var(--color-action-default));
|
|
11735
|
+
outline-offset: 2px;
|
|
11737
11736
|
}
|
|
11738
11737
|
|
|
11739
|
-
|
|
11740
|
-
|
|
11741
|
-
|
|
11738
|
+
.muka-dropdown-select__helper {
|
|
11739
|
+
margin: 0;
|
|
11740
|
+
color: var(--color-text-subtle-default);
|
|
11741
|
+
font-family: var(--text-label-sm-regular-fontFamily);
|
|
11742
|
+
font-size: var(--text-label-sm-regular-fontSize);
|
|
11743
|
+
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
11744
|
+
line-height: var(--text-label-sm-regular-lineHeight);
|
|
11742
11745
|
}
|
|
11743
11746
|
|
|
11744
|
-
|
|
11745
|
-
|
|
11746
|
-
|
|
11747
|
+
.muka-dropdown-select__error {
|
|
11748
|
+
margin: 0;
|
|
11749
|
+
color: var(--color-state-error-default);
|
|
11750
|
+
font-family: var(--text-label-sm-regular-fontFamily);
|
|
11751
|
+
font-size: var(--text-label-sm-regular-fontSize);
|
|
11752
|
+
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
11753
|
+
line-height: var(--text-label-sm-regular-lineHeight);
|
|
11747
11754
|
}
|
|
11748
11755
|
|
|
11749
|
-
.muka-
|
|
11750
|
-
|
|
11756
|
+
.muka-dropdown-select__menu {
|
|
11757
|
+
/* Uses Menu min-width (280px); grows with long labels; left-aligned to the field. */
|
|
11751
11758
|
}
|
|
11752
11759
|
|
|
11753
11760
|
|
|
@@ -12003,8 +12010,8 @@ li.muka-listitem {
|
|
|
12003
12010
|
padding: var(--spacing-1) var(--spacing-2);
|
|
12004
12011
|
text-align: center;
|
|
12005
12012
|
font-family: var(--alias-font-brand-family);
|
|
12006
|
-
font-size: var(--text-label-sm-fontSize);
|
|
12007
|
-
line-height: var(--text-label-sm-
|
|
12013
|
+
font-size: var(--text-label-sm-regular-fontSize);
|
|
12014
|
+
line-height: var(--text-label-sm-leading);
|
|
12008
12015
|
border: 1px solid var(--color-border-default);
|
|
12009
12016
|
border-radius: var(--border-radius-md);
|
|
12010
12017
|
background-color: var(--color-surface-level0);
|
|
@@ -12019,7 +12026,7 @@ li.muka-listitem {
|
|
|
12019
12026
|
|
|
12020
12027
|
.muka-documentviewer__page-total {
|
|
12021
12028
|
font-family: var(--alias-font-brand-family);
|
|
12022
|
-
font-size: var(--text-label-sm-fontSize);
|
|
12029
|
+
font-size: var(--text-label-sm-regular-fontSize);
|
|
12023
12030
|
color: var(--color-text-subtle-default);
|
|
12024
12031
|
}
|
|
12025
12032
|
|
|
@@ -12028,7 +12035,7 @@ li.muka-listitem {
|
|
|
12028
12035
|
min-width: var(--documentviewer-zoom-button-width);
|
|
12029
12036
|
padding: var(--spacing-1) var(--spacing-2);
|
|
12030
12037
|
font-family: var(--alias-font-brand-family);
|
|
12031
|
-
font-size: var(--text-label-sm-fontSize);
|
|
12038
|
+
font-size: var(--text-label-sm-regular-fontSize);
|
|
12032
12039
|
font-weight: var(--alias-font-brand-weight-semibold);
|
|
12033
12040
|
color: var(--color-text-default-default);
|
|
12034
12041
|
background: transparent;
|
|
@@ -12090,7 +12097,7 @@ li.muka-listitem {
|
|
|
12090
12097
|
text-align: center;
|
|
12091
12098
|
padding: var(--spacing-2);
|
|
12092
12099
|
font-family: var(--alias-font-brand-family);
|
|
12093
|
-
font-size: var(--text-label-sm-fontSize);
|
|
12100
|
+
font-size: var(--text-label-sm-regular-fontSize);
|
|
12094
12101
|
color: var(--color-text-subtle-default);
|
|
12095
12102
|
}
|
|
12096
12103
|
|
|
@@ -14398,6 +14405,74 @@ button.muka-chat-photo-grid__tile:focus-visible {
|
|
|
14398
14405
|
}
|
|
14399
14406
|
|
|
14400
14407
|
|
|
14408
|
+
/* ChatMessageStack */
|
|
14409
|
+
/* ChatMessageStack Component Styles */
|
|
14410
|
+
|
|
14411
|
+
.muka-chat-message-stack {
|
|
14412
|
+
display: flex;
|
|
14413
|
+
flex-direction: column;
|
|
14414
|
+
gap: var(--chatbubble-stack-gap);
|
|
14415
|
+
width: 100%;
|
|
14416
|
+
max-width: 100%;
|
|
14417
|
+
}
|
|
14418
|
+
|
|
14419
|
+
.muka-chat-message-stack__messages {
|
|
14420
|
+
display: flex;
|
|
14421
|
+
flex-direction: column;
|
|
14422
|
+
gap: var(--chatbubble-stack-gap);
|
|
14423
|
+
width: 100%;
|
|
14424
|
+
}
|
|
14425
|
+
|
|
14426
|
+
/*
|
|
14427
|
+
* Reasoning sits above the stack, indented past the avatar rail so it lines up
|
|
14428
|
+
* with the bubbles rather than with the avatar (Figma 5379:47300).
|
|
14429
|
+
*/
|
|
14430
|
+
.muka-chat-message-stack__reasoning {
|
|
14431
|
+
min-width: 0;
|
|
14432
|
+
}
|
|
14433
|
+
|
|
14434
|
+
/* In-thread widgets after the messages share the reasoning's indent. */
|
|
14435
|
+
.muka-chat-message-stack__widgets {
|
|
14436
|
+
display: flex;
|
|
14437
|
+
flex-direction: column;
|
|
14438
|
+
gap: var(--chatbubble-stack-gap);
|
|
14439
|
+
min-width: 0;
|
|
14440
|
+
}
|
|
14441
|
+
|
|
14442
|
+
.muka-chat-message-stack--has-avatar .muka-chat-message-stack__widgets,
|
|
14443
|
+
.muka-chat-message-stack--has-avatar .muka-chat-message-stack__reasoning {
|
|
14444
|
+
padding-left: calc(var(--chatbubble-avatar-size) + var(--chatbubble-row-gap));
|
|
14445
|
+
}
|
|
14446
|
+
|
|
14447
|
+
.muka-chat-message-stack--own.muka-chat-message-stack--has-avatar
|
|
14448
|
+
.muka-chat-message-stack__widgets,
|
|
14449
|
+
.muka-chat-message-stack--own.muka-chat-message-stack--has-avatar
|
|
14450
|
+
.muka-chat-message-stack__reasoning {
|
|
14451
|
+
padding-left: 0;
|
|
14452
|
+
padding-right: calc(var(--chatbubble-avatar-size) + var(--chatbubble-row-gap));
|
|
14453
|
+
}
|
|
14454
|
+
|
|
14455
|
+
/* Follow the message's compact rail and gap below the desktop breakpoint */
|
|
14456
|
+
@media (max-width: 1023px) {
|
|
14457
|
+
.muka-chat-message-stack--has-avatar .muka-chat-message-stack__widgets,
|
|
14458
|
+
.muka-chat-message-stack--has-avatar .muka-chat-message-stack__reasoning {
|
|
14459
|
+
padding-left: calc(
|
|
14460
|
+
var(--chatbubble-avatar-size-compact) + var(--chatbubble-row-gap-compact)
|
|
14461
|
+
);
|
|
14462
|
+
}
|
|
14463
|
+
|
|
14464
|
+
.muka-chat-message-stack--own.muka-chat-message-stack--has-avatar
|
|
14465
|
+
.muka-chat-message-stack__widgets,
|
|
14466
|
+
.muka-chat-message-stack--own.muka-chat-message-stack--has-avatar
|
|
14467
|
+
.muka-chat-message-stack__reasoning {
|
|
14468
|
+
padding-left: 0;
|
|
14469
|
+
padding-right: calc(
|
|
14470
|
+
var(--chatbubble-avatar-size-compact) + var(--chatbubble-row-gap-compact)
|
|
14471
|
+
);
|
|
14472
|
+
}
|
|
14473
|
+
}
|
|
14474
|
+
|
|
14475
|
+
|
|
14401
14476
|
/* ChatMessageList */
|
|
14402
14477
|
/* ChatMessageList Component Styles */
|
|
14403
14478
|
|
|
@@ -14772,74 +14847,6 @@ button.muka-chat-photo-grid__tile:focus-visible {
|
|
|
14772
14847
|
}
|
|
14773
14848
|
|
|
14774
14849
|
|
|
14775
|
-
/* ChatMessageStack */
|
|
14776
|
-
/* ChatMessageStack Component Styles */
|
|
14777
|
-
|
|
14778
|
-
.muka-chat-message-stack {
|
|
14779
|
-
display: flex;
|
|
14780
|
-
flex-direction: column;
|
|
14781
|
-
gap: var(--chatbubble-stack-gap);
|
|
14782
|
-
width: 100%;
|
|
14783
|
-
max-width: 100%;
|
|
14784
|
-
}
|
|
14785
|
-
|
|
14786
|
-
.muka-chat-message-stack__messages {
|
|
14787
|
-
display: flex;
|
|
14788
|
-
flex-direction: column;
|
|
14789
|
-
gap: var(--chatbubble-stack-gap);
|
|
14790
|
-
width: 100%;
|
|
14791
|
-
}
|
|
14792
|
-
|
|
14793
|
-
/*
|
|
14794
|
-
* Reasoning sits above the stack, indented past the avatar rail so it lines up
|
|
14795
|
-
* with the bubbles rather than with the avatar (Figma 5379:47300).
|
|
14796
|
-
*/
|
|
14797
|
-
.muka-chat-message-stack__reasoning {
|
|
14798
|
-
min-width: 0;
|
|
14799
|
-
}
|
|
14800
|
-
|
|
14801
|
-
/* In-thread widgets after the messages share the reasoning's indent. */
|
|
14802
|
-
.muka-chat-message-stack__widgets {
|
|
14803
|
-
display: flex;
|
|
14804
|
-
flex-direction: column;
|
|
14805
|
-
gap: var(--chatbubble-stack-gap);
|
|
14806
|
-
min-width: 0;
|
|
14807
|
-
}
|
|
14808
|
-
|
|
14809
|
-
.muka-chat-message-stack--has-avatar .muka-chat-message-stack__widgets,
|
|
14810
|
-
.muka-chat-message-stack--has-avatar .muka-chat-message-stack__reasoning {
|
|
14811
|
-
padding-left: calc(var(--chatbubble-avatar-size) + var(--chatbubble-row-gap));
|
|
14812
|
-
}
|
|
14813
|
-
|
|
14814
|
-
.muka-chat-message-stack--own.muka-chat-message-stack--has-avatar
|
|
14815
|
-
.muka-chat-message-stack__widgets,
|
|
14816
|
-
.muka-chat-message-stack--own.muka-chat-message-stack--has-avatar
|
|
14817
|
-
.muka-chat-message-stack__reasoning {
|
|
14818
|
-
padding-left: 0;
|
|
14819
|
-
padding-right: calc(var(--chatbubble-avatar-size) + var(--chatbubble-row-gap));
|
|
14820
|
-
}
|
|
14821
|
-
|
|
14822
|
-
/* Follow the message's compact rail and gap below the desktop breakpoint */
|
|
14823
|
-
@media (max-width: 1023px) {
|
|
14824
|
-
.muka-chat-message-stack--has-avatar .muka-chat-message-stack__widgets,
|
|
14825
|
-
.muka-chat-message-stack--has-avatar .muka-chat-message-stack__reasoning {
|
|
14826
|
-
padding-left: calc(
|
|
14827
|
-
var(--chatbubble-avatar-size-compact) + var(--chatbubble-row-gap-compact)
|
|
14828
|
-
);
|
|
14829
|
-
}
|
|
14830
|
-
|
|
14831
|
-
.muka-chat-message-stack--own.muka-chat-message-stack--has-avatar
|
|
14832
|
-
.muka-chat-message-stack__widgets,
|
|
14833
|
-
.muka-chat-message-stack--own.muka-chat-message-stack--has-avatar
|
|
14834
|
-
.muka-chat-message-stack__reasoning {
|
|
14835
|
-
padding-left: 0;
|
|
14836
|
-
padding-right: calc(
|
|
14837
|
-
var(--chatbubble-avatar-size-compact) + var(--chatbubble-row-gap-compact)
|
|
14838
|
-
);
|
|
14839
|
-
}
|
|
14840
|
-
}
|
|
14841
|
-
|
|
14842
|
-
|
|
14843
14850
|
/* ChatComposer */
|
|
14844
14851
|
/* ChatComposer Component Styles */
|
|
14845
14852
|
|