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