@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
@@ -153,6 +153,9 @@ body {
153
153
  --font-lineHeight-4xl: 2.5rem;
154
154
  --font-lineHeight-5xl: 3rem;
155
155
  --font-lineHeight-6xl: 4rem;
156
+ --font-leading-sm: 1.25rem;
157
+ --font-leading-md: 1.5rem;
158
+ --font-leading-lg: 1.75rem;
156
159
  --font-letterSpacing-tighter: -0.05em;
157
160
  --font-letterSpacing-tight: -0.025em;
158
161
  --font-letterSpacing-normal: 0;
@@ -1419,6 +1422,7 @@ body {
1419
1422
  --text-label-sm-bold-fontWeight: 700;
1420
1423
  --text-label-sm-bold-fontSize: 0.875rem;
1421
1424
  --text-label-sm-bold-lineHeight: 0.875rem;
1425
+ --text-label-sm-leading: 1.25rem;
1422
1426
  --text-label-md-regular-fontFamily: Roboto;
1423
1427
  --text-label-md-regular-fontWeight: 400;
1424
1428
  --text-label-md-regular-fontSize: 1rem;
@@ -1431,6 +1435,7 @@ body {
1431
1435
  --text-label-md-bold-fontWeight: 700;
1432
1436
  --text-label-md-bold-fontSize: 1rem;
1433
1437
  --text-label-md-bold-lineHeight: 1rem;
1438
+ --text-label-md-leading: 1.5rem;
1434
1439
  --text-label-lg-regular-fontFamily: Roboto;
1435
1440
  --text-label-lg-regular-fontWeight: 400;
1436
1441
  --text-label-lg-regular-fontSize: 1.125rem;
@@ -1443,6 +1448,7 @@ body {
1443
1448
  --text-label-lg-bold-fontWeight: 700;
1444
1449
  --text-label-lg-bold-fontSize: 1.125rem;
1445
1450
  --text-label-lg-bold-lineHeight: 1.125rem;
1451
+ --text-label-lg-leading: 1.75rem;
1446
1452
  --text-label-xl-regular-fontFamily: Roboto;
1447
1453
  --text-label-xl-regular-fontWeight: 400;
1448
1454
  --text-label-xl-regular-fontSize: 1.25rem;
@@ -2521,8 +2527,8 @@ body {
2521
2527
  .muka-voice-message__time {
2522
2528
  flex: 0 0 auto;
2523
2529
  white-space: nowrap;
2524
- font-size: var(--text-label-sm-fontSize, 0.75rem);
2525
- line-height: var(--text-label-sm-lineHeight, 1);
2530
+ font-size: var(--text-label-sm-regular-fontSize);
2531
+ line-height: var(--text-label-sm-leading);
2526
2532
  font-variant-numeric: tabular-nums;
2527
2533
  color: var(--color-text-subtle-default);
2528
2534
  }
@@ -5268,6 +5274,156 @@ body {
5268
5274
  }
5269
5275
 
5270
5276
 
5277
+ /* SocialSignInButton */
5278
+ /*
5279
+ * SocialSignInButton lockup colors are provider-mandated (Apple HIG /
5280
+ * Google Identity branding) and intentionally fixed across Muka brands —
5281
+ * same exception pattern as LicensePlateInput regulatory colors.
5282
+ *
5283
+ * Apple: https://developer.apple.com/design/human-interface-guidelines/sign-in-with-apple
5284
+ * Google: https://developers.google.com/identity/branding-guidelines
5285
+ */
5286
+ .muka-social-sign-in-button {
5287
+ --ssi-white: #ffffff;
5288
+ --ssi-black: #000000;
5289
+ --ssi-google-text-light: #1f1f1f;
5290
+
5291
+ display: inline-flex;
5292
+ align-items: center;
5293
+ justify-content: center;
5294
+
5295
+ /* Provider lockup type — matches Figma / HIG, not brand font tokens.
5296
+ * SF Pro Text is OS-provided on Apple platforms (not redistributable).
5297
+ * Google Sans is not freely shippable; Roboto is the closest system fallback. */
5298
+ font-family: inherit;
5299
+ font-weight: 600;
5300
+ text-decoration: none;
5301
+ white-space: nowrap;
5302
+
5303
+ border: 1px solid transparent;
5304
+ cursor: pointer;
5305
+ user-select: none;
5306
+ transition: opacity 0.15s ease, filter 0.15s ease;
5307
+
5308
+ outline: none;
5309
+ position: relative;
5310
+ box-sizing: border-box;
5311
+ }
5312
+
5313
+ .muka-social-sign-in-button--apple {
5314
+ font-family: 'SF Pro Text', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
5315
+ Helvetica, Arial, sans-serif;
5316
+ font-weight: 600;
5317
+ }
5318
+
5319
+ .muka-social-sign-in-button--google {
5320
+ font-family: 'Google Sans', Roboto, 'Helvetica Neue', Arial, sans-serif;
5321
+ font-weight: 500;
5322
+ }
5323
+
5324
+ .muka-social-sign-in-button:focus-visible {
5325
+ outline: 2px solid var(--color-border-focus);
5326
+ outline-offset: 2px;
5327
+ }
5328
+
5329
+ /* Sizes — heights align with Button md/lg */
5330
+ .muka-social-sign-in-button--md {
5331
+ padding: 0 var(--button-padding-md-x);
5332
+ border-radius: var(--button-radius-md);
5333
+ font-size: var(--text-label-sm-semibold-fontSize);
5334
+ line-height: var(--text-label-sm-semibold-lineHeight);
5335
+ min-height: 40px;
5336
+ min-width: 240px;
5337
+ }
5338
+
5339
+ .muka-social-sign-in-button--md .muka-social-sign-in-button__label {
5340
+ padding: 0 var(--button-gap-md);
5341
+ }
5342
+
5343
+ .muka-social-sign-in-button--md .muka-social-sign-in-button__icon {
5344
+ width: var(--button-icon-md);
5345
+ height: var(--button-icon-md);
5346
+ }
5347
+
5348
+ .muka-social-sign-in-button--lg {
5349
+ padding: 0 var(--button-padding-lg-x);
5350
+ border-radius: var(--button-radius-lg);
5351
+ font-size: var(--text-label-lg-semibold-fontSize);
5352
+ line-height: var(--text-label-lg-semibold-lineHeight);
5353
+ min-height: 48px;
5354
+ min-width: 280px;
5355
+ }
5356
+
5357
+ .muka-social-sign-in-button--lg .muka-social-sign-in-button__label {
5358
+ padding: 0 var(--button-gap-lg);
5359
+ }
5360
+
5361
+ .muka-social-sign-in-button--lg .muka-social-sign-in-button__icon {
5362
+ width: var(--button-icon-lg);
5363
+ height: var(--button-icon-lg);
5364
+ }
5365
+
5366
+ /* White lockup — for dark surfaces (Apple White with Outline) */
5367
+ .muka-social-sign-in-button--white {
5368
+ background-color: var(--ssi-white);
5369
+ color: var(--ssi-black);
5370
+ border-color: var(--ssi-black);
5371
+ }
5372
+
5373
+ .muka-social-sign-in-button--white.muka-social-sign-in-button--google {
5374
+ color: var(--ssi-google-text-light);
5375
+ }
5376
+
5377
+ /* Black lockup — for light surfaces */
5378
+ .muka-social-sign-in-button--black {
5379
+ background-color: var(--ssi-black);
5380
+ color: var(--ssi-white);
5381
+ border-color: transparent;
5382
+ }
5383
+
5384
+ /* Interaction — luminance/opacity only; no brand tint */
5385
+ .muka-social-sign-in-button:hover:not(:disabled) {
5386
+ filter: brightness(0.92);
5387
+ }
5388
+
5389
+ .muka-social-sign-in-button:active:not(:disabled) {
5390
+ filter: brightness(0.85);
5391
+ }
5392
+
5393
+ .muka-social-sign-in-button:disabled,
5394
+ .muka-social-sign-in-button--disabled {
5395
+ cursor: not-allowed;
5396
+ opacity: 0.4;
5397
+ pointer-events: none;
5398
+ filter: none;
5399
+ }
5400
+
5401
+ .muka-social-sign-in-button--full-width {
5402
+ width: 100%;
5403
+ min-width: 0;
5404
+ }
5405
+
5406
+ .muka-social-sign-in-button__icon {
5407
+ display: inline-flex;
5408
+ align-items: center;
5409
+ justify-content: center;
5410
+ flex-shrink: 0;
5411
+ }
5412
+
5413
+ .muka-social-sign-in-button__icon > *,
5414
+ .muka-social-sign-in-button__icon svg {
5415
+ width: auto;
5416
+ height: 100%;
5417
+ max-width: 100%;
5418
+ display: block;
5419
+ }
5420
+
5421
+ .muka-social-sign-in-button__label {
5422
+ display: inline-flex;
5423
+ align-items: center;
5424
+ }
5425
+
5426
+
5271
5427
  /* SmsOtpField */
5272
5428
  /* SmsOtpField Component Styles - Using Muka Design Tokens */
5273
5429
 
@@ -5535,223 +5691,73 @@ body {
5535
5691
  }
5536
5692
 
5537
5693
 
5538
- /* SocialSignInButton */
5694
+ /* SiteHeader */
5695
+ /* SiteHeader Component Styles */
5696
+
5539
5697
  /*
5540
- * SocialSignInButton lockup colors are provider-mandated (Apple HIG /
5541
- * Google Identity branding) and intentionally fixed across Muka brands —
5542
- * same exception pattern as LicensePlateInput regulatory colors.
5698
+ * Header for document-scrolling pages. Its colour comes from, in order:
5699
+ * `--muka-site-header-background` (set by the consumer), the surrounding
5700
+ * Page's `--muka-page-background`, and the base surface.
5543
5701
  *
5544
- * Apple: https://developer.apple.com/design/human-interface-guidelines/sign-in-with-apple
5545
- * Google: https://developers.google.com/identity/branding-guidelines
5702
+ * Safe areas: env(safe-area-inset-*) is 0 outside notched devices. In an app
5703
+ * running edge to edge, the header extends behind the status bar in its own
5704
+ * colour and keeps its content clear of a landscape notch.
5546
5705
  */
5547
- .muka-social-sign-in-button {
5548
- --ssi-white: #ffffff;
5549
- --ssi-black: #000000;
5550
- --ssi-google-text-light: #1f1f1f;
5551
-
5552
- display: inline-flex;
5553
- align-items: center;
5554
- justify-content: center;
5555
-
5556
- /* Provider lockup type — matches Figma / HIG, not brand font tokens.
5557
- * SF Pro Text is OS-provided on Apple platforms (not redistributable).
5558
- * Google Sans is not freely shippable; Roboto is the closest system fallback. */
5559
- font-family: inherit;
5560
- font-weight: 600;
5561
- text-decoration: none;
5562
- white-space: nowrap;
5563
-
5564
- border: 1px solid transparent;
5565
- cursor: pointer;
5566
- user-select: none;
5567
- transition: opacity 0.15s ease, filter 0.15s ease;
5568
-
5569
- outline: none;
5570
- position: relative;
5571
- box-sizing: border-box;
5706
+ .muka-site-header {
5707
+ width: 100%;
5708
+ flex-shrink: 0;
5709
+ background-color: var(--muka-site-header-background, var(--muka-page-background, var(--color-surface-level3)));
5710
+ padding-top: env(safe-area-inset-top, 0px);
5572
5711
  }
5573
5712
 
5574
- .muka-social-sign-in-button--apple {
5575
- font-family: 'SF Pro Text', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
5576
- Helvetica, Arial, sans-serif;
5577
- font-weight: 600;
5713
+ .muka-site-header--sticky {
5714
+ position: sticky;
5715
+ top: 0;
5716
+ z-index: 30;
5717
+ border-bottom: var(--border-width-regular) solid var(--color-border-default);
5578
5718
  }
5579
5719
 
5580
- .muka-social-sign-in-button--google {
5581
- font-family: 'Google Sans', Roboto, 'Helvetica Neue', Arial, sans-serif;
5582
- font-weight: 500;
5720
+ /*
5721
+ * A header that scrolls away would leave the status bar over the content. A
5722
+ * fixed strip in the header's colour stays behind the status bar instead.
5723
+ * Below Muka's overlays, so a dialog's backdrop dims it with the page.
5724
+ */
5725
+ .muka-site-header:not(.muka-site-header--sticky)::before {
5726
+ content: '';
5727
+ position: fixed;
5728
+ top: 0;
5729
+ left: 0;
5730
+ right: 0;
5731
+ height: env(safe-area-inset-top, 0px);
5732
+ background-color: inherit;
5733
+ pointer-events: none;
5734
+ z-index: 30;
5583
5735
  }
5584
5736
 
5585
- .muka-social-sign-in-button:focus-visible {
5586
- outline: 2px solid var(--color-border-focus);
5587
- outline-offset: 2px;
5737
+ .muka-site-header__inner {
5738
+ display: flex;
5739
+ align-items: center;
5740
+ gap: var(--spacing-2);
5741
+ width: 100%;
5742
+ max-width: var(--container-max-width-xl);
5743
+ margin: 0 auto;
5744
+ padding-block: var(--spacing-6);
5745
+ padding-left: max(var(--spacing-4), env(safe-area-inset-left, 0px));
5746
+ padding-right: max(var(--spacing-4), env(safe-area-inset-right, 0px));
5588
5747
  }
5589
5748
 
5590
- /* Sizes — heights align with Button md/lg */
5591
- .muka-social-sign-in-button--md {
5592
- padding: 0 var(--button-padding-md-x);
5593
- border-radius: var(--button-radius-md);
5594
- font-size: var(--text-label-sm-semibold-fontSize);
5595
- line-height: var(--text-label-sm-semibold-lineHeight);
5596
- min-height: 40px;
5597
- min-width: 240px;
5749
+ .muka-site-header__brand {
5750
+ display: flex;
5751
+ align-items: center;
5752
+ flex-shrink: 0;
5753
+ min-width: 0;
5598
5754
  }
5599
5755
 
5600
- .muka-social-sign-in-button--md .muka-social-sign-in-button__label {
5601
- padding: 0 var(--button-gap-md);
5602
- }
5603
-
5604
- .muka-social-sign-in-button--md .muka-social-sign-in-button__icon {
5605
- width: var(--button-icon-md);
5606
- height: var(--button-icon-md);
5607
- }
5608
-
5609
- .muka-social-sign-in-button--lg {
5610
- padding: 0 var(--button-padding-lg-x);
5611
- border-radius: var(--button-radius-lg);
5612
- font-size: var(--text-label-lg-semibold-fontSize);
5613
- line-height: var(--text-label-lg-semibold-lineHeight);
5614
- min-height: 48px;
5615
- min-width: 280px;
5616
- }
5617
-
5618
- .muka-social-sign-in-button--lg .muka-social-sign-in-button__label {
5619
- padding: 0 var(--button-gap-lg);
5620
- }
5621
-
5622
- .muka-social-sign-in-button--lg .muka-social-sign-in-button__icon {
5623
- width: var(--button-icon-lg);
5624
- height: var(--button-icon-lg);
5625
- }
5626
-
5627
- /* White lockup — for dark surfaces (Apple White with Outline) */
5628
- .muka-social-sign-in-button--white {
5629
- background-color: var(--ssi-white);
5630
- color: var(--ssi-black);
5631
- border-color: var(--ssi-black);
5632
- }
5633
-
5634
- .muka-social-sign-in-button--white.muka-social-sign-in-button--google {
5635
- color: var(--ssi-google-text-light);
5636
- }
5637
-
5638
- /* Black lockup — for light surfaces */
5639
- .muka-social-sign-in-button--black {
5640
- background-color: var(--ssi-black);
5641
- color: var(--ssi-white);
5642
- border-color: transparent;
5643
- }
5644
-
5645
- /* Interaction — luminance/opacity only; no brand tint */
5646
- .muka-social-sign-in-button:hover:not(:disabled) {
5647
- filter: brightness(0.92);
5648
- }
5649
-
5650
- .muka-social-sign-in-button:active:not(:disabled) {
5651
- filter: brightness(0.85);
5652
- }
5653
-
5654
- .muka-social-sign-in-button:disabled,
5655
- .muka-social-sign-in-button--disabled {
5656
- cursor: not-allowed;
5657
- opacity: 0.4;
5658
- pointer-events: none;
5659
- filter: none;
5660
- }
5661
-
5662
- .muka-social-sign-in-button--full-width {
5663
- width: 100%;
5664
- min-width: 0;
5665
- }
5666
-
5667
- .muka-social-sign-in-button__icon {
5668
- display: inline-flex;
5669
- align-items: center;
5670
- justify-content: center;
5671
- flex-shrink: 0;
5672
- }
5673
-
5674
- .muka-social-sign-in-button__icon > *,
5675
- .muka-social-sign-in-button__icon svg {
5676
- width: auto;
5677
- height: 100%;
5678
- max-width: 100%;
5679
- display: block;
5680
- }
5681
-
5682
- .muka-social-sign-in-button__label {
5683
- display: inline-flex;
5684
- align-items: center;
5685
- }
5686
-
5687
-
5688
- /* SiteHeader */
5689
- /* SiteHeader Component Styles */
5690
-
5691
- /*
5692
- * Header for document-scrolling pages. Its colour comes from, in order:
5693
- * `--muka-site-header-background` (set by the consumer), the surrounding
5694
- * Page's `--muka-page-background`, and the base surface.
5695
- *
5696
- * Safe areas: env(safe-area-inset-*) is 0 outside notched devices. In an app
5697
- * running edge to edge, the header extends behind the status bar in its own
5698
- * colour and keeps its content clear of a landscape notch.
5699
- */
5700
- .muka-site-header {
5701
- width: 100%;
5702
- flex-shrink: 0;
5703
- background-color: var(--muka-site-header-background, var(--muka-page-background, var(--color-surface-level3)));
5704
- padding-top: env(safe-area-inset-top, 0px);
5705
- }
5706
-
5707
- .muka-site-header--sticky {
5708
- position: sticky;
5709
- top: 0;
5710
- z-index: 30;
5711
- border-bottom: var(--border-width-regular) solid var(--color-border-default);
5712
- }
5713
-
5714
- /*
5715
- * A header that scrolls away would leave the status bar over the content. A
5716
- * fixed strip in the header's colour stays behind the status bar instead.
5717
- * Below Muka's overlays, so a dialog's backdrop dims it with the page.
5718
- */
5719
- .muka-site-header:not(.muka-site-header--sticky)::before {
5720
- content: '';
5721
- position: fixed;
5722
- top: 0;
5723
- left: 0;
5724
- right: 0;
5725
- height: env(safe-area-inset-top, 0px);
5726
- background-color: inherit;
5727
- pointer-events: none;
5728
- z-index: 30;
5729
- }
5730
-
5731
- .muka-site-header__inner {
5732
- display: flex;
5733
- align-items: center;
5734
- gap: var(--spacing-2);
5735
- width: 100%;
5736
- max-width: var(--container-max-width-xl);
5737
- margin: 0 auto;
5738
- padding-block: var(--spacing-6);
5739
- padding-left: max(var(--spacing-4), env(safe-area-inset-left, 0px));
5740
- padding-right: max(var(--spacing-4), env(safe-area-inset-right, 0px));
5741
- }
5742
-
5743
- .muka-site-header__brand {
5744
- display: flex;
5745
- align-items: center;
5746
- flex-shrink: 0;
5747
- min-width: 0;
5748
- }
5749
-
5750
- .muka-site-header__nav {
5751
- display: none;
5752
- align-items: center;
5753
- gap: var(--spacing-1);
5754
- min-width: 0;
5756
+ .muka-site-header__nav {
5757
+ display: none;
5758
+ align-items: center;
5759
+ gap: var(--spacing-1);
5760
+ min-width: 0;
5755
5761
  }
5756
5762
 
5757
5763
  .muka-site-header__actions {
@@ -5824,241 +5830,53 @@ body {
5824
5830
  border-top-left-radius: var(--radius-lg);
5825
5831
  border-top-right-radius: var(--radius-lg);
5826
5832
  box-shadow: var(--shadow-level5);
5827
-
5828
- outline: none;
5829
- }
5830
-
5831
- /* Safe-area bottom inset for the iPhone home indicator. */
5832
- .muka-sheet:not(.muka-sheet--no-safe-area) {
5833
- padding-bottom: env(safe-area-inset-bottom);
5834
- }
5835
-
5836
- /* ─── Drag handle ─────────────────────────────────────── */
5837
-
5838
- .muka-sheet__handle-container {
5839
- display: flex;
5840
- justify-content: center;
5841
- flex-shrink: 0;
5842
- padding: var(--spacing-3) 0;
5843
- }
5844
-
5845
- .muka-sheet__handle {
5846
- width: var(--dialog-drag-handle-width);
5847
- height: var(--dialog-drag-handle-height);
5848
- background-color: var(--dialog-drag-handle-color);
5849
- border-radius: var(--dialog-drag-handle-radius);
5850
- }
5851
-
5852
- /* ─── Body (scrollable) ───────────────────────────────── */
5853
-
5854
- .muka-sheet__body {
5855
- flex: 1 1 0%;
5856
- min-height: 0;
5857
- overflow-y: auto;
5858
- -webkit-overflow-scrolling: touch;
5859
- overscroll-behavior: contain;
5860
- }
5861
-
5862
- /* ─── Visually-hidden title (a11y) ────────────────────── */
5863
-
5864
- .muka-sheet__sr-title {
5865
- position: absolute;
5866
- width: 1px;
5867
- height: 1px;
5868
- padding: 0;
5869
- margin: -1px;
5870
- overflow: hidden;
5871
- clip: rect(0, 0, 0, 0);
5872
- white-space: nowrap;
5873
- border: 0;
5874
- }
5875
-
5876
-
5877
- /* SegmentGroup */
5878
- /* SegmentGroup Component Styles - Using Muka Design Tokens */
5879
-
5880
- /* Container */
5881
- .muka-segmentgroup {
5882
- display: inline-flex;
5883
- align-items: center;
5884
- gap: 0;
5885
- padding: var(--segmentgroup-container-padding);
5886
- background-color: var(--segmentgroup-container-background);
5887
- border-radius: var(--segmentgroup-container-radius);
5888
- position: relative;
5889
- transition: background-color 0.2s ease, box-shadow 0.2s ease;
5890
- }
5891
-
5892
- /* Inset shadow on container */
5893
- .muka-segmentgroup::after {
5894
- content: '';
5895
- position: absolute;
5896
- inset: 0;
5897
- border-radius: inherit;
5898
- box-shadow: var(--segmentgroup-container-shadow);
5899
- pointer-events: none;
5900
- }
5901
-
5902
- /* Full width variant */
5903
- .muka-segmentgroup--full-width {
5904
- width: 100%;
5905
- }
5906
-
5907
- .muka-segmentgroup--full-width .muka-segmentgroup__segment {
5908
- flex: 1;
5909
- }
5910
-
5911
- /* Pill */
5912
- .muka-segmentgroup__pill {
5913
- position: absolute;
5914
- top: var(--segmentgroup-container-padding);
5915
- bottom: var(--segmentgroup-container-padding);
5916
- left: 0;
5917
- margin: 0;
5918
- background-color: var(--segmentgroup-segment-color-selected-background);
5919
- box-shadow: var(--segmentgroup-segment-shadow-selected);
5920
- transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), width 0.25s cubic-bezier(0.4, 0, 0.2, 1);
5921
- z-index: 0;
5922
- pointer-events: none;
5923
- }
5924
-
5925
- /* Segment button */
5926
- .muka-segmentgroup__segment {
5927
- display: inline-flex;
5928
- align-items: center;
5929
- justify-content: center;
5930
- gap: var(--segmentgroup-segment-gap);
5931
- border: none;
5932
- background-color: var(--segmentgroup-segment-color-unselected-background);
5933
- color: var(--segmentgroup-segment-color-unselected-foreground);
5934
- border-radius: var(--segmentgroup-segment-radius);
5935
- cursor: pointer;
5936
- transition: background-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
5937
- position: relative;
5938
- outline: none;
5939
- box-shadow: var(--segmentgroup-segment-shadow-unselected);
5940
- font-family: var(--alias-font-plain-family);
5941
- font-weight: var(--segmentgroup-segment-fontWeight);
5942
- z-index: 1; /* Keep above pill */
5943
- }
5944
-
5945
- /* Size variants */
5946
- .muka-segmentgroup--sm {
5947
- border-radius: var(--border-radius-xl, 16px);
5948
- }
5949
- .muka-segmentgroup--sm .muka-segmentgroup__segment,
5950
- .muka-segmentgroup--sm .muka-segmentgroup__pill {
5951
- border-radius: var(--border-radius-xl, 16px);
5952
- }
5953
- .muka-segmentgroup--sm .muka-segmentgroup__segment {
5954
- padding: var(--segmentgroup-segment-padding-sm-y) var(--segmentgroup-segment-padding-sm-x);
5955
- height: var(--segmentgroup-segment-height-sm);
5956
- font-size: var(--text-label-sm-fontSize);
5957
- line-height: var(--text-label-sm-lineHeight);
5958
- }
5959
-
5960
- .muka-segmentgroup--md {
5961
- border-radius: var(--border-radius-xl, 16px);
5962
- }
5963
- .muka-segmentgroup--md .muka-segmentgroup__segment,
5964
- .muka-segmentgroup--md .muka-segmentgroup__pill {
5965
- border-radius: var(--border-radius-xl, 16px);
5966
- }
5967
- .muka-segmentgroup--md .muka-segmentgroup__segment {
5968
- padding: var(--segmentgroup-segment-padding-md-y) var(--segmentgroup-segment-padding-md-x);
5969
- font-size: var(--text-label-md-fontSize);
5970
- line-height: var(--text-label-md-lineHeight);
5971
- }
5972
-
5973
- .muka-segmentgroup--lg {
5974
- border-radius: var(--border-radius-full, 9999px);
5975
- }
5976
- .muka-segmentgroup--lg .muka-segmentgroup__segment,
5977
- .muka-segmentgroup--lg .muka-segmentgroup__pill {
5978
- border-radius: var(--border-radius-full, 9999px);
5979
- }
5980
- .muka-segmentgroup--lg .muka-segmentgroup__segment {
5981
- padding: var(--segmentgroup-segment-padding-lg-y) var(--segmentgroup-segment-padding-lg-x);
5982
- height: 40px;
5983
- font-size: var(--text-label-lg-fontSize);
5984
- line-height: var(--text-label-lg-lineHeight);
5985
- }
5986
-
5987
- /* Icon-only variants */
5988
- .muka-segmentgroup--icon-only {
5989
- gap: var(--spacing-1, 4px);
5990
- }
5991
-
5992
- .muka-segmentgroup--icon-only.muka-segmentgroup--sm .muka-segmentgroup__segment {
5993
- width: 24px;
5994
- height: 24px;
5995
- padding: 0;
5996
- }
5997
- .muka-segmentgroup--icon-only.muka-segmentgroup--sm .muka-segmentgroup__icon svg {
5998
- width: 16px;
5999
- height: 16px;
6000
- }
6001
-
6002
- .muka-segmentgroup--icon-only.muka-segmentgroup--md .muka-segmentgroup__segment {
6003
- width: 32px;
6004
- height: 32px;
6005
- padding: 0;
6006
- }
6007
- .muka-segmentgroup--icon-only.muka-segmentgroup--md .muka-segmentgroup__icon svg {
6008
- width: 20px;
6009
- height: 20px;
6010
- }
6011
-
6012
- .muka-segmentgroup--icon-only.muka-segmentgroup--lg .muka-segmentgroup__segment {
6013
- width: 40px;
6014
- height: 40px;
6015
- padding: 0;
5833
+
5834
+ outline: none;
6016
5835
  }
6017
- .muka-segmentgroup--icon-only.muka-segmentgroup--lg .muka-segmentgroup__icon svg {
6018
- width: 24px;
6019
- height: 24px;
5836
+
5837
+ /* Safe-area bottom inset for the iPhone home indicator. */
5838
+ .muka-sheet:not(.muka-sheet--no-safe-area) {
5839
+ padding-bottom: env(safe-area-inset-bottom);
6020
5840
  }
6021
5841
 
6022
- /* Icon */
6023
- .muka-segmentgroup__icon {
6024
- display: inline-flex;
6025
- align-items: center;
5842
+ /* ─── Drag handle ─────────────────────────────────────── */
5843
+
5844
+ .muka-sheet__handle-container {
5845
+ display: flex;
6026
5846
  justify-content: center;
5847
+ flex-shrink: 0;
5848
+ padding: var(--spacing-3) 0;
6027
5849
  }
6028
5850
 
6029
- /* Selected state */
6030
- .muka-segmentgroup__segment--selected {
6031
- background-color: transparent;
6032
- box-shadow: none;
6033
- color: var(--segmentgroup-segment-color-selected-foreground);
6034
- z-index: 2; /* Highlight pill when focused is tested below */
5851
+ .muka-sheet__handle {
5852
+ width: var(--dialog-drag-handle-width);
5853
+ height: var(--dialog-drag-handle-height);
5854
+ background-color: var(--dialog-drag-handle-color);
5855
+ border-radius: var(--dialog-drag-handle-radius);
6035
5856
  }
6036
5857
 
6037
- /* Hover state (only for unselected) */
6038
- .muka-segmentgroup__segment:not(.muka-segmentgroup__segment--selected):not(:disabled):hover {
6039
- color: var(--segmentgroup-segment-color-hover-foreground);
6040
- }
5858
+ /* ─── Body (scrollable) ───────────────────────────────── */
6041
5859
 
6042
- /* Focus visible */
6043
- .muka-segmentgroup__segment:focus-visible {
6044
- outline: 2px solid var(--color-border-focus);
6045
- outline-offset: 2px;
6046
- z-index: 2;
5860
+ .muka-sheet__body {
5861
+ flex: 1 1 0%;
5862
+ min-height: 0;
5863
+ overflow-y: auto;
5864
+ -webkit-overflow-scrolling: touch;
5865
+ overscroll-behavior: contain;
6047
5866
  }
6048
5867
 
6049
- /* Disabled state */
6050
- .muka-segmentgroup__segment--disabled,
6051
- .muka-segmentgroup__segment:disabled {
6052
- cursor: not-allowed;
6053
- opacity: 0.5;
6054
- }
5868
+ /* ─── Visually-hidden title (a11y) ────────────────────── */
6055
5869
 
6056
- /* Label */
6057
- .muka-segmentgroup__label {
6058
- display: inline-flex;
6059
- align-items: center;
5870
+ .muka-sheet__sr-title {
5871
+ position: absolute;
5872
+ width: 1px;
5873
+ height: 1px;
5874
+ padding: 0;
5875
+ margin: -1px;
5876
+ overflow: hidden;
5877
+ clip: rect(0, 0, 0, 0);
6060
5878
  white-space: nowrap;
6061
- user-select: none;
5879
+ border: 0;
6062
5880
  }
6063
5881
 
6064
5882
 
@@ -6221,38 +6039,226 @@ body {
6221
6039
  cursor: not-allowed;
6222
6040
  }
6223
6041
 
6224
- /* Chevron — aligned with field padding */
6225
- .muka-select__chevron {
6226
- display: inline-flex;
6227
- align-items: center;
6228
- position: absolute;
6229
- right: var(--input-field-padding-x);
6230
- pointer-events: none;
6231
- color: var(--color-text-subtle-default);
6042
+ /* Chevron — aligned with field padding */
6043
+ .muka-select__chevron {
6044
+ display: inline-flex;
6045
+ align-items: center;
6046
+ position: absolute;
6047
+ right: var(--input-field-padding-x);
6048
+ pointer-events: none;
6049
+ color: var(--color-text-subtle-default);
6050
+ }
6051
+
6052
+ .muka-select__field--disabled .muka-select__chevron {
6053
+ color: var(--input-field-color-disabled-foreground);
6054
+ }
6055
+
6056
+ /* Helper text — same as Input */
6057
+ .muka-select__helper {
6058
+ font-family: var(--text-label-sm-regular-fontFamily);
6059
+ font-weight: var(--text-label-sm-regular-fontWeight);
6060
+ font-size: var(--text-label-sm-regular-fontSize);
6061
+ line-height: var(--text-label-sm-regular-lineHeight);
6062
+ color: var(--color-text-subtle-default);
6063
+ margin: 0;
6064
+ }
6065
+
6066
+ /* Error message — same as Input */
6067
+ .muka-select__error {
6068
+ font-family: var(--text-label-sm-regular-fontFamily);
6069
+ font-weight: var(--text-label-sm-regular-fontWeight);
6070
+ font-size: var(--text-label-sm-regular-fontSize);
6071
+ line-height: var(--text-label-sm-regular-lineHeight);
6072
+ color: var(--color-state-error-default);
6073
+ margin: 0;
6074
+ }
6075
+
6076
+
6077
+ /* SegmentGroup */
6078
+ /* SegmentGroup Component Styles - Using Muka Design Tokens */
6079
+
6080
+ /* Container */
6081
+ .muka-segmentgroup {
6082
+ display: inline-flex;
6083
+ align-items: center;
6084
+ gap: 0;
6085
+ padding: var(--segmentgroup-container-padding);
6086
+ background-color: var(--segmentgroup-container-background);
6087
+ border-radius: var(--segmentgroup-container-radius);
6088
+ position: relative;
6089
+ transition: background-color 0.2s ease, box-shadow 0.2s ease;
6090
+ }
6091
+
6092
+ /* Inset shadow on container */
6093
+ .muka-segmentgroup::after {
6094
+ content: '';
6095
+ position: absolute;
6096
+ inset: 0;
6097
+ border-radius: inherit;
6098
+ box-shadow: var(--segmentgroup-container-shadow);
6099
+ pointer-events: none;
6100
+ }
6101
+
6102
+ /* Full width variant */
6103
+ .muka-segmentgroup--full-width {
6104
+ width: 100%;
6105
+ }
6106
+
6107
+ .muka-segmentgroup--full-width .muka-segmentgroup__segment {
6108
+ flex: 1;
6109
+ }
6110
+
6111
+ /* Pill */
6112
+ .muka-segmentgroup__pill {
6113
+ position: absolute;
6114
+ top: var(--segmentgroup-container-padding);
6115
+ bottom: var(--segmentgroup-container-padding);
6116
+ left: 0;
6117
+ margin: 0;
6118
+ background-color: var(--segmentgroup-segment-color-selected-background);
6119
+ box-shadow: var(--segmentgroup-segment-shadow-selected);
6120
+ transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), width 0.25s cubic-bezier(0.4, 0, 0.2, 1);
6121
+ z-index: 0;
6122
+ pointer-events: none;
6123
+ }
6124
+
6125
+ /* Segment button */
6126
+ .muka-segmentgroup__segment {
6127
+ display: inline-flex;
6128
+ align-items: center;
6129
+ justify-content: center;
6130
+ gap: var(--segmentgroup-segment-gap);
6131
+ border: none;
6132
+ background-color: var(--segmentgroup-segment-color-unselected-background);
6133
+ color: var(--segmentgroup-segment-color-unselected-foreground);
6134
+ border-radius: var(--segmentgroup-segment-radius);
6135
+ cursor: pointer;
6136
+ transition: background-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
6137
+ position: relative;
6138
+ outline: none;
6139
+ box-shadow: var(--segmentgroup-segment-shadow-unselected);
6140
+ font-family: var(--alias-font-plain-family);
6141
+ font-weight: var(--segmentgroup-segment-fontWeight);
6142
+ z-index: 1; /* Keep above pill */
6143
+ }
6144
+
6145
+ /* Size variants */
6146
+ .muka-segmentgroup--sm {
6147
+ border-radius: var(--border-radius-xl, 16px);
6148
+ }
6149
+ .muka-segmentgroup--sm .muka-segmentgroup__segment,
6150
+ .muka-segmentgroup--sm .muka-segmentgroup__pill {
6151
+ border-radius: var(--border-radius-xl, 16px);
6152
+ }
6153
+ .muka-segmentgroup--sm .muka-segmentgroup__segment {
6154
+ padding: var(--segmentgroup-segment-padding-sm-y) var(--segmentgroup-segment-padding-sm-x);
6155
+ height: var(--segmentgroup-segment-height-sm);
6156
+ font-size: var(--text-label-sm-regular-fontSize);
6157
+ line-height: var(--text-label-sm-leading);
6158
+ }
6159
+
6160
+ .muka-segmentgroup--md {
6161
+ border-radius: var(--border-radius-xl, 16px);
6162
+ }
6163
+ .muka-segmentgroup--md .muka-segmentgroup__segment,
6164
+ .muka-segmentgroup--md .muka-segmentgroup__pill {
6165
+ border-radius: var(--border-radius-xl, 16px);
6166
+ }
6167
+ .muka-segmentgroup--md .muka-segmentgroup__segment {
6168
+ padding: var(--segmentgroup-segment-padding-md-y) var(--segmentgroup-segment-padding-md-x);
6169
+ font-size: var(--text-label-md-regular-fontSize);
6170
+ line-height: var(--text-label-md-leading);
6171
+ }
6172
+
6173
+ .muka-segmentgroup--lg {
6174
+ border-radius: var(--border-radius-full, 9999px);
6175
+ }
6176
+ .muka-segmentgroup--lg .muka-segmentgroup__segment,
6177
+ .muka-segmentgroup--lg .muka-segmentgroup__pill {
6178
+ border-radius: var(--border-radius-full, 9999px);
6179
+ }
6180
+ .muka-segmentgroup--lg .muka-segmentgroup__segment {
6181
+ padding: var(--segmentgroup-segment-padding-lg-y) var(--segmentgroup-segment-padding-lg-x);
6182
+ height: 40px;
6183
+ font-size: var(--text-label-lg-regular-fontSize);
6184
+ line-height: var(--text-label-lg-leading);
6185
+ }
6186
+
6187
+ /* Icon-only variants */
6188
+ .muka-segmentgroup--icon-only {
6189
+ gap: var(--spacing-1, 4px);
6190
+ }
6191
+
6192
+ .muka-segmentgroup--icon-only.muka-segmentgroup--sm .muka-segmentgroup__segment {
6193
+ width: 24px;
6194
+ height: 24px;
6195
+ padding: 0;
6196
+ }
6197
+ .muka-segmentgroup--icon-only.muka-segmentgroup--sm .muka-segmentgroup__icon svg {
6198
+ width: 16px;
6199
+ height: 16px;
6200
+ }
6201
+
6202
+ .muka-segmentgroup--icon-only.muka-segmentgroup--md .muka-segmentgroup__segment {
6203
+ width: 32px;
6204
+ height: 32px;
6205
+ padding: 0;
6206
+ }
6207
+ .muka-segmentgroup--icon-only.muka-segmentgroup--md .muka-segmentgroup__icon svg {
6208
+ width: 20px;
6209
+ height: 20px;
6210
+ }
6211
+
6212
+ .muka-segmentgroup--icon-only.muka-segmentgroup--lg .muka-segmentgroup__segment {
6213
+ width: 40px;
6214
+ height: 40px;
6215
+ padding: 0;
6216
+ }
6217
+ .muka-segmentgroup--icon-only.muka-segmentgroup--lg .muka-segmentgroup__icon svg {
6218
+ width: 24px;
6219
+ height: 24px;
6220
+ }
6221
+
6222
+ /* Icon */
6223
+ .muka-segmentgroup__icon {
6224
+ display: inline-flex;
6225
+ align-items: center;
6226
+ justify-content: center;
6227
+ }
6228
+
6229
+ /* Selected state */
6230
+ .muka-segmentgroup__segment--selected {
6231
+ background-color: transparent;
6232
+ box-shadow: none;
6233
+ color: var(--segmentgroup-segment-color-selected-foreground);
6234
+ z-index: 2; /* Highlight pill when focused is tested below */
6235
+ }
6236
+
6237
+ /* Hover state (only for unselected) */
6238
+ .muka-segmentgroup__segment:not(.muka-segmentgroup__segment--selected):not(:disabled):hover {
6239
+ color: var(--segmentgroup-segment-color-hover-foreground);
6232
6240
  }
6233
6241
 
6234
- .muka-select__field--disabled .muka-select__chevron {
6235
- color: var(--input-field-color-disabled-foreground);
6242
+ /* Focus visible */
6243
+ .muka-segmentgroup__segment:focus-visible {
6244
+ outline: 2px solid var(--color-border-focus);
6245
+ outline-offset: 2px;
6246
+ z-index: 2;
6236
6247
  }
6237
6248
 
6238
- /* Helper text — same as Input */
6239
- .muka-select__helper {
6240
- font-family: var(--text-label-sm-regular-fontFamily);
6241
- font-weight: var(--text-label-sm-regular-fontWeight);
6242
- font-size: var(--text-label-sm-regular-fontSize);
6243
- line-height: var(--text-label-sm-regular-lineHeight);
6244
- color: var(--color-text-subtle-default);
6245
- margin: 0;
6249
+ /* Disabled state */
6250
+ .muka-segmentgroup__segment--disabled,
6251
+ .muka-segmentgroup__segment:disabled {
6252
+ cursor: not-allowed;
6253
+ opacity: 0.5;
6246
6254
  }
6247
6255
 
6248
- /* Error message — same as Input */
6249
- .muka-select__error {
6250
- font-family: var(--text-label-sm-regular-fontFamily);
6251
- font-weight: var(--text-label-sm-regular-fontWeight);
6252
- font-size: var(--text-label-sm-regular-fontSize);
6253
- line-height: var(--text-label-sm-regular-lineHeight);
6254
- color: var(--color-state-error-default);
6255
- margin: 0;
6256
+ /* Label */
6257
+ .muka-segmentgroup__label {
6258
+ display: inline-flex;
6259
+ align-items: center;
6260
+ white-space: nowrap;
6261
+ user-select: none;
6256
6262
  }
6257
6263
 
6258
6264
 
@@ -6597,8 +6603,8 @@ body {
6597
6603
 
6598
6604
  .muka-recording-bar__time {
6599
6605
  flex: 0 0 auto;
6600
- font-size: var(--text-label-sm-fontSize, 0.75rem);
6601
- line-height: var(--text-label-sm-lineHeight, 1);
6606
+ font-size: var(--text-label-sm-regular-fontSize);
6607
+ line-height: var(--text-label-sm-leading);
6602
6608
  font-variant-numeric: tabular-nums;
6603
6609
  color: var(--color-text-default-default);
6604
6610
  }
@@ -7128,6 +7134,53 @@ body {
7128
7134
  }
7129
7135
 
7130
7136
 
7137
+ /* PullToRefresh */
7138
+ /* PullToRefresh Component Styles */
7139
+
7140
+ .muka-pull-to-refresh {
7141
+ position: relative;
7142
+ display: flex;
7143
+ flex-direction: column;
7144
+ width: 100%;
7145
+ height: 100%;
7146
+ overflow: hidden;
7147
+ }
7148
+
7149
+ .muka-pull-to-refresh__indicator {
7150
+ position: absolute;
7151
+ top: 0;
7152
+ left: 0;
7153
+ right: 0;
7154
+ display: flex;
7155
+ align-items: flex-end;
7156
+ justify-content: center;
7157
+ padding-bottom: var(--spacing-2);
7158
+ color: var(--color-text-subtle-default);
7159
+ overflow: hidden;
7160
+ pointer-events: none;
7161
+ z-index: 1;
7162
+ }
7163
+
7164
+ .muka-pull-to-refresh__chevron {
7165
+ display: inline-flex;
7166
+ align-items: center;
7167
+ justify-content: center;
7168
+ transition: transform 0.16s ease;
7169
+ }
7170
+
7171
+ .muka-pull-to-refresh__scroller {
7172
+ flex: 1 1 auto;
7173
+ min-height: 0;
7174
+ width: 100%;
7175
+ overflow-x: clip;
7176
+ overflow-y: auto;
7177
+ -webkit-overflow-scrolling: touch;
7178
+ overscroll-behavior-y: contain;
7179
+ touch-action: pan-y;
7180
+ will-change: transform;
7181
+ }
7182
+
7183
+
7131
7184
  /* ProgressTracker */
7132
7185
  /* ProgressTracker Component Styles — Using Muka Design Tokens */
7133
7186
 
@@ -7950,53 +8003,6 @@ button.muka-progress-tracker__tab:focus-visible {
7950
8003
  }
7951
8004
 
7952
8005
 
7953
- /* PullToRefresh */
7954
- /* PullToRefresh Component Styles */
7955
-
7956
- .muka-pull-to-refresh {
7957
- position: relative;
7958
- display: flex;
7959
- flex-direction: column;
7960
- width: 100%;
7961
- height: 100%;
7962
- overflow: hidden;
7963
- }
7964
-
7965
- .muka-pull-to-refresh__indicator {
7966
- position: absolute;
7967
- top: 0;
7968
- left: 0;
7969
- right: 0;
7970
- display: flex;
7971
- align-items: flex-end;
7972
- justify-content: center;
7973
- padding-bottom: var(--spacing-2);
7974
- color: var(--color-text-subtle-default);
7975
- overflow: hidden;
7976
- pointer-events: none;
7977
- z-index: 1;
7978
- }
7979
-
7980
- .muka-pull-to-refresh__chevron {
7981
- display: inline-flex;
7982
- align-items: center;
7983
- justify-content: center;
7984
- transition: transform 0.16s ease;
7985
- }
7986
-
7987
- .muka-pull-to-refresh__scroller {
7988
- flex: 1 1 auto;
7989
- min-height: 0;
7990
- width: 100%;
7991
- overflow-x: clip;
7992
- overflow-y: auto;
7993
- -webkit-overflow-scrolling: touch;
7994
- overscroll-behavior-y: contain;
7995
- touch-action: pan-y;
7996
- will-change: transform;
7997
- }
7998
-
7999
-
8000
8006
  /* Progress */
8001
8007
  /* Progress Component Styles - Using Muka Design Tokens */
8002
8008
 
@@ -9170,36 +9176,6 @@ button.muka-progress-tracker__tab:focus-visible {
9170
9176
  }
9171
9177
 
9172
9178
 
9173
- /* NumberInput */
9174
- /* NumberInput — reuses Input field styles (../Input/Input.css). */
9175
- /* Only the prefix/suffix affixes are NumberInput-specific. */
9176
-
9177
- .muka-numberinput__addon {
9178
- display: inline-flex;
9179
- align-items: center;
9180
- flex: none;
9181
- color: var(--color-text-subtle-default);
9182
- font-family: var(--text-input-md-fontFamily);
9183
- font-size: var(--text-input-md-fontSize);
9184
- line-height: var(--text-input-md-lineHeight);
9185
- user-select: none;
9186
- pointer-events: none;
9187
- white-space: nowrap;
9188
- }
9189
-
9190
- /* Hide the native number spinners — affixes/step API replace them. */
9191
- .muka-numberinput__field .muka-input__native::-webkit-outer-spin-button,
9192
- .muka-numberinput__field .muka-input__native::-webkit-inner-spin-button {
9193
- -webkit-appearance: none;
9194
- margin: 0;
9195
- }
9196
-
9197
- .muka-numberinput__field .muka-input__native {
9198
- -moz-appearance: textfield;
9199
- appearance: textfield;
9200
- }
9201
-
9202
-
9203
9179
  /* NavigationTransition */
9204
9180
  /* NavigationTransition Component Styles */
9205
9181
 
@@ -9725,6 +9701,36 @@ button.muka-progress-tracker__tab:focus-visible {
9725
9701
  }
9726
9702
 
9727
9703
 
9704
+ /* NumberInput */
9705
+ /* NumberInput — reuses Input field styles (../Input/Input.css). */
9706
+ /* Only the prefix/suffix affixes are NumberInput-specific. */
9707
+
9708
+ .muka-numberinput__addon {
9709
+ display: inline-flex;
9710
+ align-items: center;
9711
+ flex: none;
9712
+ color: var(--color-text-subtle-default);
9713
+ font-family: var(--text-input-md-fontFamily);
9714
+ font-size: var(--text-input-md-fontSize);
9715
+ line-height: var(--text-input-md-lineHeight);
9716
+ user-select: none;
9717
+ pointer-events: none;
9718
+ white-space: nowrap;
9719
+ }
9720
+
9721
+ /* Hide the native number spinners — affixes/step API replace them. */
9722
+ .muka-numberinput__field .muka-input__native::-webkit-outer-spin-button,
9723
+ .muka-numberinput__field .muka-input__native::-webkit-inner-spin-button {
9724
+ -webkit-appearance: none;
9725
+ margin: 0;
9726
+ }
9727
+
9728
+ .muka-numberinput__field .muka-input__native {
9729
+ -moz-appearance: textfield;
9730
+ appearance: textfield;
9731
+ }
9732
+
9733
+
9728
9734
  /* MediaViewer */
9729
9735
  /* MediaViewer Component Styles - Using Muka Design Tokens */
9730
9736
 
@@ -10043,8 +10049,8 @@ button.muka-progress-tracker__tab:focus-visible {
10043
10049
  /* Typography - using semantic tokens */
10044
10050
  font-family: var(--alias-font-plain-family);
10045
10051
  font-weight: var(--alias-font-plain-weight-semibold, 600);
10046
- font-size: var(--text-label-md-fontSize);
10047
- line-height: var(--text-label-md-lineHeight);
10052
+ font-size: var(--text-label-md-regular-fontSize);
10053
+ line-height: var(--text-label-md-leading);
10048
10054
  color: var(--color-text-default-default);
10049
10055
 
10050
10056
  /* Text handling */
@@ -10058,11 +10064,12 @@ button.muka-progress-tracker__tab:focus-visible {
10058
10064
  margin: 0;
10059
10065
  padding: 0;
10060
10066
 
10061
- /* Typography - using semantic tokens */
10062
- font-family: var(--alias-font-plain-family);
10063
- font-weight: var(--alias-font-plain-weight-regular, 400);
10064
- font-size: var(--text-body-sm-fontSize);
10065
- line-height: var(--text-body-sm-lineHeight);
10067
+ /* Typography: the body-sm regular text style. The bare --text-body-sm-*
10068
+ names exist only as fallbacks in base.css, not in any theme. */
10069
+ font-family: var(--text-body-sm-regular-fontFamily);
10070
+ font-weight: var(--text-body-sm-regular-fontWeight);
10071
+ font-size: var(--text-body-sm-regular-fontSize);
10072
+ line-height: var(--text-body-sm-regular-lineHeight);
10066
10073
  color: var(--color-text-subtle-default);
10067
10074
 
10068
10075
  /* Text handling */
@@ -10084,8 +10091,8 @@ button.muka-progress-tracker__tab:focus-visible {
10084
10091
  gap: var(--spacing-1);
10085
10092
  flex-shrink: 0;
10086
10093
  font-family: var(--alias-font-plain-family);
10087
- font-size: var(--text-body-sm-fontSize);
10088
- line-height: var(--text-body-sm-lineHeight);
10094
+ font-size: var(--text-body-sm-regular-fontSize);
10095
+ line-height: var(--text-body-sm-regular-lineHeight);
10089
10096
  color: var(--color-text-subtle-default);
10090
10097
  white-space: nowrap;
10091
10098
  }
@@ -10111,16 +10118,57 @@ button.muka-progress-tracker__tab:focus-visible {
10111
10118
  background-color: var(--color-border-default);
10112
10119
  }
10113
10120
 
10114
- /* Button and anchor specific styles */
10115
- button.muka-listitem,
10116
- a.muka-listitem {
10117
- text-align: left;
10118
- width: 100%;
10121
+ /* Button and anchor specific styles */
10122
+ button.muka-listitem,
10123
+ a.muka-listitem {
10124
+ text-align: left;
10125
+ width: 100%;
10126
+ }
10127
+
10128
+ /* List item specific styles */
10129
+ li.muka-listitem {
10130
+ list-style: none;
10131
+ }
10132
+
10133
+
10134
+ /* Label */
10135
+ /* Label Component Styles - Using Muka Design Tokens */
10136
+
10137
+ .muka-label {
10138
+ display: inline-flex;
10139
+ align-items: center;
10140
+ color: var(--color-text-default-default);
10141
+ cursor: pointer;
10142
+ }
10143
+
10144
+ .muka-label--sm {
10145
+ font-family: var(--text-label-sm-semibold-fontFamily);
10146
+ font-weight: var(--text-label-sm-semibold-fontWeight);
10147
+ font-size: var(--text-label-sm-semibold-fontSize);
10148
+ line-height: var(--text-label-sm-semibold-lineHeight);
10149
+ }
10150
+
10151
+ .muka-label--md {
10152
+ font-family: var(--text-label-md-semibold-fontFamily);
10153
+ font-weight: var(--text-label-md-semibold-fontWeight);
10154
+ font-size: var(--text-label-md-semibold-fontSize);
10155
+ line-height: var(--text-label-md-semibold-lineHeight);
10156
+ }
10157
+
10158
+ .muka-label--lg {
10159
+ font-family: var(--text-label-lg-semibold-fontFamily);
10160
+ font-weight: var(--text-label-lg-semibold-fontWeight);
10161
+ font-size: var(--text-label-lg-semibold-fontSize);
10162
+ line-height: var(--text-label-lg-semibold-lineHeight);
10163
+ }
10164
+
10165
+ .muka-label--disabled {
10166
+ color: var(--color-text-subtle-default);
10167
+ cursor: not-allowed;
10119
10168
  }
10120
10169
 
10121
- /* List item specific styles */
10122
- li.muka-listitem {
10123
- list-style: none;
10170
+ .muka-label__required {
10171
+ color: var(--color-state-error-default);
10124
10172
  }
10125
10173
 
10126
10174
 
@@ -10317,47 +10365,6 @@ li.muka-listitem {
10317
10365
  }
10318
10366
 
10319
10367
 
10320
- /* Label */
10321
- /* Label Component Styles - Using Muka Design Tokens */
10322
-
10323
- .muka-label {
10324
- display: inline-flex;
10325
- align-items: center;
10326
- color: var(--color-text-default-default);
10327
- cursor: pointer;
10328
- }
10329
-
10330
- .muka-label--sm {
10331
- font-family: var(--text-label-sm-semibold-fontFamily);
10332
- font-weight: var(--text-label-sm-semibold-fontWeight);
10333
- font-size: var(--text-label-sm-semibold-fontSize);
10334
- line-height: var(--text-label-sm-semibold-lineHeight);
10335
- }
10336
-
10337
- .muka-label--md {
10338
- font-family: var(--text-label-md-semibold-fontFamily);
10339
- font-weight: var(--text-label-md-semibold-fontWeight);
10340
- font-size: var(--text-label-md-semibold-fontSize);
10341
- line-height: var(--text-label-md-semibold-lineHeight);
10342
- }
10343
-
10344
- .muka-label--lg {
10345
- font-family: var(--text-label-lg-semibold-fontFamily);
10346
- font-weight: var(--text-label-lg-semibold-fontWeight);
10347
- font-size: var(--text-label-lg-semibold-fontSize);
10348
- line-height: var(--text-label-lg-semibold-lineHeight);
10349
- }
10350
-
10351
- .muka-label--disabled {
10352
- color: var(--color-text-subtle-default);
10353
- cursor: not-allowed;
10354
- }
10355
-
10356
- .muka-label__required {
10357
- color: var(--color-state-error-default);
10358
- }
10359
-
10360
-
10361
10368
  /* InputCounter */
10362
10369
  /* InputCounter — numeric field + joined decrement/increment buttons.
10363
10370
  Label, helper and error text reuse Input.css (../Input/Input.css).
@@ -10817,6 +10824,26 @@ li.muka-listitem {
10817
10824
  }
10818
10825
 
10819
10826
 
10827
+ /* Form */
10828
+ .muka-form {
10829
+ display: flex;
10830
+ flex-direction: column;
10831
+ width: 100%;
10832
+ }
10833
+
10834
+ .muka-form--gap-sm {
10835
+ gap: var(--size-sm);
10836
+ }
10837
+
10838
+ .muka-form--gap-md {
10839
+ gap: var(--size-md);
10840
+ }
10841
+
10842
+ .muka-form--gap-lg {
10843
+ gap: var(--size-lg);
10844
+ }
10845
+
10846
+
10820
10847
  /* Icon */
10821
10848
  /* Icon Component Styles - Using Muka Design Tokens */
10822
10849
 
@@ -10871,26 +10898,6 @@ li.muka-listitem {
10871
10898
  }
10872
10899
 
10873
10900
 
10874
- /* Form */
10875
- .muka-form {
10876
- display: flex;
10877
- flex-direction: column;
10878
- width: 100%;
10879
- }
10880
-
10881
- .muka-form--gap-sm {
10882
- gap: var(--size-sm);
10883
- }
10884
-
10885
- .muka-form--gap-md {
10886
- gap: var(--size-md);
10887
- }
10888
-
10889
- .muka-form--gap-lg {
10890
- gap: var(--size-lg);
10891
- }
10892
-
10893
-
10894
10901
  /* FileUpload */
10895
10902
  /* FileUpload Component Styles */
10896
10903
 
@@ -11057,99 +11064,240 @@ li.muka-listitem {
11057
11064
  border-radius: var(--fileupload-item-radius);
11058
11065
  }
11059
11066
 
11060
- .muka-fileupload-item--error {
11061
- background-color: var(--fileupload-item-color-error-background);
11067
+ .muka-fileupload-item--error {
11068
+ background-color: var(--fileupload-item-color-error-background);
11069
+ }
11070
+
11071
+ .muka-fileupload-item--success {
11072
+ background-color: var(--fileupload-item-color-default-background);
11073
+ }
11074
+
11075
+ /* Preview/Icon container */
11076
+ .muka-fileupload-item__preview {
11077
+ display: flex;
11078
+ align-items: center;
11079
+ justify-content: center;
11080
+ flex-shrink: 0;
11081
+ width: var(--fileupload-preview-size);
11082
+ height: var(--fileupload-preview-size);
11083
+ border-radius: var(--fileupload-preview-radius);
11084
+ overflow: hidden;
11085
+ background-color: var(--color-surface-level1);
11086
+ }
11087
+
11088
+ .muka-fileupload-item__thumbnail {
11089
+ width: 100%;
11090
+ height: 100%;
11091
+ object-fit: cover;
11092
+ }
11093
+
11094
+ .muka-fileupload-item__icon {
11095
+ color: var(--color-text-subtle-default);
11096
+ }
11097
+
11098
+ /* File info */
11099
+ .muka-fileupload-item__info {
11100
+ flex: 1;
11101
+ min-width: 0;
11102
+ display: flex;
11103
+ flex-direction: column;
11104
+ gap: var(--spacing-1);
11105
+ }
11106
+
11107
+ .muka-fileupload-item__name {
11108
+ font-family: var(--text-body-sm-regular-fontFamily);
11109
+ font-size: var(--text-body-sm-regular-fontSize);
11110
+ font-weight: var(--text-body-sm-regular-fontWeight);
11111
+ line-height: var(--text-body-sm-regular-lineHeight);
11112
+ color: var(--fileupload-item-color-default-foreground);
11113
+ white-space: nowrap;
11114
+ overflow: hidden;
11115
+ text-overflow: ellipsis;
11116
+ }
11117
+
11118
+ .muka-fileupload-item--error .muka-fileupload-item__name {
11119
+ color: var(--fileupload-item-color-error-foreground);
11120
+ }
11121
+
11122
+ .muka-fileupload-item__meta {
11123
+ font-family: var(--text-label-sm-regular-fontFamily);
11124
+ font-size: var(--text-label-sm-regular-fontSize);
11125
+ font-weight: var(--text-label-sm-regular-fontWeight);
11126
+ line-height: var(--text-label-sm-regular-lineHeight);
11127
+ color: var(--color-text-subtle-default);
11128
+ }
11129
+
11130
+ .muka-fileupload-item__error {
11131
+ color: var(--fileupload-item-color-error-foreground);
11132
+ }
11133
+
11134
+ .muka-fileupload-item__progress {
11135
+ margin-top: var(--spacing-1);
11136
+ }
11137
+
11138
+ /* Actions */
11139
+ .muka-fileupload-item__actions {
11140
+ display: flex;
11141
+ align-items: center;
11142
+ gap: var(--spacing-2);
11143
+ flex-shrink: 0;
11144
+ }
11145
+
11146
+ .muka-fileupload-item__status-icon--success {
11147
+ color: var(--fileupload-item-color-success-foreground);
11148
+ }
11149
+
11150
+ .muka-fileupload-item__status-icon--error {
11151
+ color: var(--fileupload-item-color-error-foreground);
11152
+ }
11153
+
11154
+ .muka-fileupload-item__remove {
11155
+ opacity: 0.7;
11156
+ }
11157
+
11158
+ .muka-fileupload-item__remove:hover {
11159
+ opacity: 1;
11160
+ }
11161
+
11162
+
11163
+ /* FAB */
11164
+ /* FAB (Floating Action Button) Component Styles */
11165
+
11166
+ .muka-fab {
11167
+ position: fixed;
11168
+ z-index: 40;
11169
+
11170
+ display: inline-flex;
11171
+ align-items: center;
11172
+ justify-content: center;
11173
+ gap: var(--spacing-2);
11174
+
11175
+ border: none;
11176
+ cursor: pointer;
11177
+ font-family: inherit;
11178
+ box-shadow: var(--shadow-level4);
11179
+
11180
+ transition: transform 0.12s ease, box-shadow 0.12s ease, background-color 0.12s ease;
11181
+ -webkit-tap-highlight-color: transparent;
11182
+ }
11183
+
11184
+ .muka-fab:active {
11185
+ transform: scale(0.96);
11186
+ box-shadow: var(--shadow-level3);
11187
+ }
11188
+
11189
+ .muka-fab:focus-visible {
11190
+ outline: 2px solid var(--color-action-default);
11191
+ outline-offset: 2px;
11192
+ }
11193
+
11194
+ .muka-fab:disabled {
11195
+ opacity: 0.5;
11196
+ cursor: not-allowed;
11197
+ box-shadow: none;
11198
+ }
11199
+
11200
+ /* ─── Variants ────────────────────────────────────────── */
11201
+
11202
+ .muka-fab--primary {
11203
+ background-color: var(--color-action-default);
11204
+ color: var(--color-text-default-inverse);
11205
+ }
11206
+
11207
+ .muka-fab--primary:hover:not(:disabled) {
11208
+ background-color: var(--color-action-hover);
11209
+ }
11210
+
11211
+ .muka-fab--secondary {
11212
+ background-color: var(--color-surface-level3);
11213
+ color: var(--color-text-default-default);
11214
+ }
11215
+
11216
+ .muka-fab--secondary:hover:not(:disabled) {
11217
+ background-color: var(--color-surface-level2);
11218
+ }
11219
+
11220
+ /* ─── Sizes (circular by default) ─────────────────────── */
11221
+
11222
+ .muka-fab--md {
11223
+ width: 56px;
11224
+ height: 56px;
11225
+ border-radius: 50%;
11226
+ }
11227
+
11228
+ .muka-fab--lg {
11229
+ width: 64px;
11230
+ height: 64px;
11231
+ border-radius: 50%;
11232
+ }
11233
+
11234
+ /* ─── Extended (pill shape with label) ────────────────── */
11235
+
11236
+ .muka-fab--extended {
11237
+ width: auto;
11238
+ height: auto;
11239
+ padding: var(--spacing-3) var(--spacing-4);
11240
+ border-radius: var(--radius-full);
11062
11241
  }
11063
11242
 
11064
- .muka-fileupload-item--success {
11065
- background-color: var(--fileupload-item-color-default-background);
11243
+ .muka-fab--extended.muka-fab--lg {
11244
+ padding: var(--spacing-4) var(--spacing-5);
11066
11245
  }
11067
11246
 
11068
- /* Preview/Icon container */
11069
- .muka-fileupload-item__preview {
11070
- display: flex;
11247
+ .muka-fab__icon {
11248
+ display: inline-flex;
11071
11249
  align-items: center;
11072
11250
  justify-content: center;
11073
- flex-shrink: 0;
11074
- width: var(--fileupload-preview-size);
11075
- height: var(--fileupload-preview-size);
11076
- border-radius: var(--fileupload-preview-radius);
11077
- overflow: hidden;
11078
- background-color: var(--color-surface-level1);
11251
+ width: 24px;
11252
+ height: 24px;
11079
11253
  }
11080
11254
 
11081
- .muka-fileupload-item__thumbnail {
11255
+ .muka-fab__icon svg {
11082
11256
  width: 100%;
11083
11257
  height: 100%;
11084
- object-fit: cover;
11085
- }
11086
-
11087
- .muka-fileupload-item__icon {
11088
- color: var(--color-text-subtle-default);
11089
- }
11090
-
11091
- /* File info */
11092
- .muka-fileupload-item__info {
11093
- flex: 1;
11094
- min-width: 0;
11095
- display: flex;
11096
- flex-direction: column;
11097
- gap: var(--spacing-1);
11098
- }
11099
-
11100
- .muka-fileupload-item__name {
11101
- font-family: var(--text-body-sm-regular-fontFamily);
11102
- font-size: var(--text-body-sm-regular-fontSize);
11103
- font-weight: var(--text-body-sm-regular-fontWeight);
11104
- line-height: var(--text-body-sm-regular-lineHeight);
11105
- color: var(--fileupload-item-color-default-foreground);
11106
- white-space: nowrap;
11107
- overflow: hidden;
11108
- text-overflow: ellipsis;
11109
11258
  }
11110
11259
 
11111
- .muka-fileupload-item--error .muka-fileupload-item__name {
11112
- color: var(--fileupload-item-color-error-foreground);
11260
+ .muka-fab__label {
11261
+ font-family: var(--text-label-md-semibold-fontFamily);
11262
+ font-weight: var(--text-label-md-semibold-fontWeight);
11263
+ font-size: var(--text-label-md-semibold-fontSize);
11264
+ line-height: var(--text-label-md-semibold-lineHeight);
11113
11265
  }
11114
11266
 
11115
- .muka-fileupload-item__meta {
11116
- font-family: var(--text-label-sm-regular-fontFamily);
11117
- font-size: var(--text-label-sm-regular-fontSize);
11118
- font-weight: var(--text-label-sm-regular-fontWeight);
11119
- line-height: var(--text-label-sm-regular-lineHeight);
11120
- color: var(--color-text-subtle-default);
11121
- }
11267
+ /* ─── Positioning ─────────────────────────────────────── */
11122
11268
 
11123
- .muka-fileupload-item__error {
11124
- color: var(--fileupload-item-color-error-foreground);
11269
+ .muka-fab--bottom-right {
11270
+ right: var(--spacing-4);
11271
+ bottom: var(--spacing-4);
11125
11272
  }
11126
11273
 
11127
- .muka-fileupload-item__progress {
11128
- margin-top: var(--spacing-1);
11274
+ .muka-fab--bottom-left {
11275
+ left: var(--spacing-4);
11276
+ bottom: var(--spacing-4);
11129
11277
  }
11130
11278
 
11131
- /* Actions */
11132
- .muka-fileupload-item__actions {
11133
- display: flex;
11134
- align-items: center;
11135
- gap: var(--spacing-2);
11136
- flex-shrink: 0;
11279
+ .muka-fab--bottom-center {
11280
+ left: 50%;
11281
+ bottom: var(--spacing-4);
11282
+ transform: translateX(-50%);
11137
11283
  }
11138
11284
 
11139
- .muka-fileupload-item__status-icon--success {
11140
- color: var(--fileupload-item-color-success-foreground);
11285
+ .muka-fab--bottom-center:active {
11286
+ transform: translateX(-50%) scale(0.96);
11141
11287
  }
11142
11288
 
11143
- .muka-fileupload-item__status-icon--error {
11144
- color: var(--fileupload-item-color-error-foreground);
11289
+ /* Add the iOS home-indicator inset to the bottom offset. */
11290
+ .muka-fab:not(.muka-fab--no-safe-area) {
11291
+ bottom: calc(var(--spacing-4) + env(safe-area-inset-bottom));
11145
11292
  }
11146
11293
 
11147
- .muka-fileupload-item__remove {
11148
- opacity: 0.7;
11294
+ /* Lateral safe-area for landscape iPhone with notch. */
11295
+ .muka-fab--bottom-right:not(.muka-fab--no-safe-area) {
11296
+ right: max(var(--spacing-4), env(safe-area-inset-right));
11149
11297
  }
11150
11298
 
11151
- .muka-fileupload-item__remove:hover {
11152
- opacity: 1;
11299
+ .muka-fab--bottom-left:not(.muka-fab--no-safe-area) {
11300
+ left: max(var(--spacing-4), env(safe-area-inset-left));
11153
11301
  }
11154
11302
 
11155
11303
 
@@ -11456,232 +11604,91 @@ li.muka-listitem {
11456
11604
  text-overflow: ellipsis;
11457
11605
  }
11458
11606
 
11459
- .muka-dropdown-select__chips {
11460
- display: flex;
11461
- flex: 1 1 auto;
11462
- flex-wrap: wrap;
11463
- gap: var(--spacing-2);
11464
- align-items: flex-start;
11465
- min-width: 0;
11466
- /* Chip remove controls must remain clickable above the field hit target. */
11467
- pointer-events: auto;
11468
- }
11469
-
11470
- .muka-dropdown-select__field--multiline {
11471
- align-items: flex-start;
11472
- min-height: 7rem;
11473
- }
11474
-
11475
- .muka-dropdown-select__menu-button {
11476
- position: absolute;
11477
- inset: 0;
11478
- z-index: 0;
11479
- display: inline-flex;
11480
- align-items: center;
11481
- justify-content: flex-end;
11482
- width: auto;
11483
- height: auto;
11484
- padding: 0;
11485
- padding-right: var(--spacing-2);
11486
- border: none;
11487
- border-radius: inherit;
11488
- background: transparent;
11489
- color: var(--color-text-subtle-default);
11490
- cursor: pointer;
11491
- }
11492
-
11493
- .muka-dropdown-select__field--multiline .muka-dropdown-select__menu-button {
11494
- align-items: flex-start;
11495
- padding-top: calc(var(--spacing-2) + 8px);
11496
- }
11497
-
11498
- .muka-dropdown-select__chevron {
11499
- display: inline-flex;
11500
- align-items: center;
11501
- justify-content: center;
11502
- width: var(--size-2xl, 2rem);
11503
- height: var(--size-2xl, 2rem);
11504
- pointer-events: none;
11505
- color: var(--color-text-subtle-default);
11506
- }
11507
-
11508
- .muka-dropdown-select__chevron .muka-icon,
11509
- .muka-dropdown-select__menu-button:hover .muka-dropdown-select__chevron,
11510
- .muka-dropdown-select__menu-button:hover .muka-icon {
11511
- color: var(--color-text-subtle-default);
11512
- }
11513
-
11514
- .muka-dropdown-select__field--sm .muka-dropdown-select__chevron {
11515
- width: var(--size-xl, 1.5rem);
11516
- height: var(--size-xl, 1.5rem);
11517
- }
11518
-
11519
- .muka-dropdown-select__menu-button:focus-visible {
11520
- outline: 2px solid var(--color-border-focus, var(--color-action-default));
11521
- outline-offset: 2px;
11522
- }
11523
-
11524
- .muka-dropdown-select__helper {
11525
- margin: 0;
11526
- color: var(--color-text-subtle-default);
11527
- font-family: var(--text-label-sm-regular-fontFamily);
11528
- font-size: var(--text-label-sm-regular-fontSize);
11529
- font-weight: var(--text-label-sm-regular-fontWeight);
11530
- line-height: var(--text-label-sm-regular-lineHeight);
11531
- }
11532
-
11533
- .muka-dropdown-select__error {
11534
- margin: 0;
11535
- color: var(--color-state-error-default);
11536
- font-family: var(--text-label-sm-regular-fontFamily);
11537
- font-size: var(--text-label-sm-regular-fontSize);
11538
- font-weight: var(--text-label-sm-regular-fontWeight);
11539
- line-height: var(--text-label-sm-regular-lineHeight);
11540
- }
11541
-
11542
- .muka-dropdown-select__menu {
11543
- /* Uses Menu min-width (280px); grows with long labels; left-aligned to the field. */
11544
- }
11545
-
11546
-
11547
- /* FAB */
11548
- /* FAB (Floating Action Button) Component Styles */
11549
-
11550
- .muka-fab {
11551
- position: fixed;
11552
- z-index: 40;
11553
-
11554
- display: inline-flex;
11555
- align-items: center;
11556
- justify-content: center;
11557
- gap: var(--spacing-2);
11558
-
11559
- border: none;
11560
- cursor: pointer;
11561
- font-family: inherit;
11562
- box-shadow: var(--shadow-level4);
11563
-
11564
- transition: transform 0.12s ease, box-shadow 0.12s ease, background-color 0.12s ease;
11565
- -webkit-tap-highlight-color: transparent;
11566
- }
11567
-
11568
- .muka-fab:active {
11569
- transform: scale(0.96);
11570
- box-shadow: var(--shadow-level3);
11571
- }
11572
-
11573
- .muka-fab:focus-visible {
11574
- outline: 2px solid var(--color-action-default);
11575
- outline-offset: 2px;
11576
- }
11577
-
11578
- .muka-fab:disabled {
11579
- opacity: 0.5;
11580
- cursor: not-allowed;
11581
- box-shadow: none;
11582
- }
11583
-
11584
- /* ─── Variants ────────────────────────────────────────── */
11585
-
11586
- .muka-fab--primary {
11587
- background-color: var(--color-action-default);
11588
- color: var(--color-text-default-inverse);
11589
- }
11590
-
11591
- .muka-fab--primary:hover:not(:disabled) {
11592
- background-color: var(--color-action-hover);
11593
- }
11594
-
11595
- .muka-fab--secondary {
11596
- background-color: var(--color-surface-level3);
11597
- color: var(--color-text-default-default);
11598
- }
11599
-
11600
- .muka-fab--secondary:hover:not(:disabled) {
11601
- background-color: var(--color-surface-level2);
11602
- }
11603
-
11604
- /* ─── Sizes (circular by default) ─────────────────────── */
11605
-
11606
- .muka-fab--md {
11607
- width: 56px;
11608
- height: 56px;
11609
- border-radius: 50%;
11607
+ .muka-dropdown-select__chips {
11608
+ display: flex;
11609
+ flex: 1 1 auto;
11610
+ flex-wrap: wrap;
11611
+ gap: var(--spacing-2);
11612
+ align-items: flex-start;
11613
+ min-width: 0;
11614
+ /* Chip remove controls must remain clickable above the field hit target. */
11615
+ pointer-events: auto;
11610
11616
  }
11611
11617
 
11612
- .muka-fab--lg {
11613
- width: 64px;
11614
- height: 64px;
11615
- border-radius: 50%;
11618
+ .muka-dropdown-select__field--multiline {
11619
+ align-items: flex-start;
11620
+ min-height: 7rem;
11616
11621
  }
11617
11622
 
11618
- /* ─── Extended (pill shape with label) ────────────────── */
11619
-
11620
- .muka-fab--extended {
11623
+ .muka-dropdown-select__menu-button {
11624
+ position: absolute;
11625
+ inset: 0;
11626
+ z-index: 0;
11627
+ display: inline-flex;
11628
+ align-items: center;
11629
+ justify-content: flex-end;
11621
11630
  width: auto;
11622
11631
  height: auto;
11623
- padding: var(--spacing-3) var(--spacing-4);
11624
- border-radius: var(--radius-full);
11632
+ padding: 0;
11633
+ padding-right: var(--spacing-2);
11634
+ border: none;
11635
+ border-radius: inherit;
11636
+ background: transparent;
11637
+ color: var(--color-text-subtle-default);
11638
+ cursor: pointer;
11625
11639
  }
11626
11640
 
11627
- .muka-fab--extended.muka-fab--lg {
11628
- padding: var(--spacing-4) var(--spacing-5);
11641
+ .muka-dropdown-select__field--multiline .muka-dropdown-select__menu-button {
11642
+ align-items: flex-start;
11643
+ padding-top: calc(var(--spacing-2) + 8px);
11629
11644
  }
11630
11645
 
11631
- .muka-fab__icon {
11646
+ .muka-dropdown-select__chevron {
11632
11647
  display: inline-flex;
11633
11648
  align-items: center;
11634
11649
  justify-content: center;
11635
- width: 24px;
11636
- height: 24px;
11637
- }
11638
-
11639
- .muka-fab__icon svg {
11640
- width: 100%;
11641
- height: 100%;
11642
- }
11643
-
11644
- .muka-fab__label {
11645
- font-family: var(--text-label-md-semibold-fontFamily);
11646
- font-weight: var(--text-label-md-semibold-fontWeight);
11647
- font-size: var(--text-label-md-semibold-fontSize);
11648
- line-height: var(--text-label-md-semibold-lineHeight);
11649
- }
11650
-
11651
- /* ─── Positioning ─────────────────────────────────────── */
11652
-
11653
- .muka-fab--bottom-right {
11654
- right: var(--spacing-4);
11655
- bottom: var(--spacing-4);
11650
+ width: var(--size-2xl, 2rem);
11651
+ height: var(--size-2xl, 2rem);
11652
+ pointer-events: none;
11653
+ color: var(--color-text-subtle-default);
11656
11654
  }
11657
11655
 
11658
- .muka-fab--bottom-left {
11659
- left: var(--spacing-4);
11660
- bottom: var(--spacing-4);
11656
+ .muka-dropdown-select__chevron .muka-icon,
11657
+ .muka-dropdown-select__menu-button:hover .muka-dropdown-select__chevron,
11658
+ .muka-dropdown-select__menu-button:hover .muka-icon {
11659
+ color: var(--color-text-subtle-default);
11661
11660
  }
11662
11661
 
11663
- .muka-fab--bottom-center {
11664
- left: 50%;
11665
- bottom: var(--spacing-4);
11666
- transform: translateX(-50%);
11662
+ .muka-dropdown-select__field--sm .muka-dropdown-select__chevron {
11663
+ width: var(--size-xl, 1.5rem);
11664
+ height: var(--size-xl, 1.5rem);
11667
11665
  }
11668
11666
 
11669
- .muka-fab--bottom-center:active {
11670
- transform: translateX(-50%) scale(0.96);
11667
+ .muka-dropdown-select__menu-button:focus-visible {
11668
+ outline: 2px solid var(--color-border-focus, var(--color-action-default));
11669
+ outline-offset: 2px;
11671
11670
  }
11672
11671
 
11673
- /* Add the iOS home-indicator inset to the bottom offset. */
11674
- .muka-fab:not(.muka-fab--no-safe-area) {
11675
- bottom: calc(var(--spacing-4) + env(safe-area-inset-bottom));
11672
+ .muka-dropdown-select__helper {
11673
+ margin: 0;
11674
+ color: var(--color-text-subtle-default);
11675
+ font-family: var(--text-label-sm-regular-fontFamily);
11676
+ font-size: var(--text-label-sm-regular-fontSize);
11677
+ font-weight: var(--text-label-sm-regular-fontWeight);
11678
+ line-height: var(--text-label-sm-regular-lineHeight);
11676
11679
  }
11677
11680
 
11678
- /* Lateral safe-area for landscape iPhone with notch. */
11679
- .muka-fab--bottom-right:not(.muka-fab--no-safe-area) {
11680
- right: max(var(--spacing-4), env(safe-area-inset-right));
11681
+ .muka-dropdown-select__error {
11682
+ margin: 0;
11683
+ color: var(--color-state-error-default);
11684
+ font-family: var(--text-label-sm-regular-fontFamily);
11685
+ font-size: var(--text-label-sm-regular-fontSize);
11686
+ font-weight: var(--text-label-sm-regular-fontWeight);
11687
+ line-height: var(--text-label-sm-regular-lineHeight);
11681
11688
  }
11682
11689
 
11683
- .muka-fab--bottom-left:not(.muka-fab--no-safe-area) {
11684
- left: max(var(--spacing-4), env(safe-area-inset-left));
11690
+ .muka-dropdown-select__menu {
11691
+ /* Uses Menu min-width (280px); grows with long labels; left-aligned to the field. */
11685
11692
  }
11686
11693
 
11687
11694
 
@@ -11937,8 +11944,8 @@ li.muka-listitem {
11937
11944
  padding: var(--spacing-1) var(--spacing-2);
11938
11945
  text-align: center;
11939
11946
  font-family: var(--alias-font-brand-family);
11940
- font-size: var(--text-label-sm-fontSize);
11941
- line-height: var(--text-label-sm-lineHeight);
11947
+ font-size: var(--text-label-sm-regular-fontSize);
11948
+ line-height: var(--text-label-sm-leading);
11942
11949
  border: 1px solid var(--color-border-default);
11943
11950
  border-radius: var(--border-radius-md);
11944
11951
  background-color: var(--color-surface-level0);
@@ -11953,7 +11960,7 @@ li.muka-listitem {
11953
11960
 
11954
11961
  .muka-documentviewer__page-total {
11955
11962
  font-family: var(--alias-font-brand-family);
11956
- font-size: var(--text-label-sm-fontSize);
11963
+ font-size: var(--text-label-sm-regular-fontSize);
11957
11964
  color: var(--color-text-subtle-default);
11958
11965
  }
11959
11966
 
@@ -11962,7 +11969,7 @@ li.muka-listitem {
11962
11969
  min-width: var(--documentviewer-zoom-button-width);
11963
11970
  padding: var(--spacing-1) var(--spacing-2);
11964
11971
  font-family: var(--alias-font-brand-family);
11965
- font-size: var(--text-label-sm-fontSize);
11972
+ font-size: var(--text-label-sm-regular-fontSize);
11966
11973
  font-weight: var(--alias-font-brand-weight-semibold);
11967
11974
  color: var(--color-text-default-default);
11968
11975
  background: transparent;
@@ -12024,7 +12031,7 @@ li.muka-listitem {
12024
12031
  text-align: center;
12025
12032
  padding: var(--spacing-2);
12026
12033
  font-family: var(--alias-font-brand-family);
12027
- font-size: var(--text-label-sm-fontSize);
12034
+ font-size: var(--text-label-sm-regular-fontSize);
12028
12035
  color: var(--color-text-subtle-default);
12029
12036
  }
12030
12037
 
@@ -14332,6 +14339,74 @@ button.muka-chat-photo-grid__tile:focus-visible {
14332
14339
  }
14333
14340
 
14334
14341
 
14342
+ /* ChatMessageStack */
14343
+ /* ChatMessageStack Component Styles */
14344
+
14345
+ .muka-chat-message-stack {
14346
+ display: flex;
14347
+ flex-direction: column;
14348
+ gap: var(--chatbubble-stack-gap);
14349
+ width: 100%;
14350
+ max-width: 100%;
14351
+ }
14352
+
14353
+ .muka-chat-message-stack__messages {
14354
+ display: flex;
14355
+ flex-direction: column;
14356
+ gap: var(--chatbubble-stack-gap);
14357
+ width: 100%;
14358
+ }
14359
+
14360
+ /*
14361
+ * Reasoning sits above the stack, indented past the avatar rail so it lines up
14362
+ * with the bubbles rather than with the avatar (Figma 5379:47300).
14363
+ */
14364
+ .muka-chat-message-stack__reasoning {
14365
+ min-width: 0;
14366
+ }
14367
+
14368
+ /* In-thread widgets after the messages share the reasoning's indent. */
14369
+ .muka-chat-message-stack__widgets {
14370
+ display: flex;
14371
+ flex-direction: column;
14372
+ gap: var(--chatbubble-stack-gap);
14373
+ min-width: 0;
14374
+ }
14375
+
14376
+ .muka-chat-message-stack--has-avatar .muka-chat-message-stack__widgets,
14377
+ .muka-chat-message-stack--has-avatar .muka-chat-message-stack__reasoning {
14378
+ padding-left: calc(var(--chatbubble-avatar-size) + var(--chatbubble-row-gap));
14379
+ }
14380
+
14381
+ .muka-chat-message-stack--own.muka-chat-message-stack--has-avatar
14382
+ .muka-chat-message-stack__widgets,
14383
+ .muka-chat-message-stack--own.muka-chat-message-stack--has-avatar
14384
+ .muka-chat-message-stack__reasoning {
14385
+ padding-left: 0;
14386
+ padding-right: calc(var(--chatbubble-avatar-size) + var(--chatbubble-row-gap));
14387
+ }
14388
+
14389
+ /* Follow the message's compact rail and gap below the desktop breakpoint */
14390
+ @media (max-width: 1023px) {
14391
+ .muka-chat-message-stack--has-avatar .muka-chat-message-stack__widgets,
14392
+ .muka-chat-message-stack--has-avatar .muka-chat-message-stack__reasoning {
14393
+ padding-left: calc(
14394
+ var(--chatbubble-avatar-size-compact) + var(--chatbubble-row-gap-compact)
14395
+ );
14396
+ }
14397
+
14398
+ .muka-chat-message-stack--own.muka-chat-message-stack--has-avatar
14399
+ .muka-chat-message-stack__widgets,
14400
+ .muka-chat-message-stack--own.muka-chat-message-stack--has-avatar
14401
+ .muka-chat-message-stack__reasoning {
14402
+ padding-left: 0;
14403
+ padding-right: calc(
14404
+ var(--chatbubble-avatar-size-compact) + var(--chatbubble-row-gap-compact)
14405
+ );
14406
+ }
14407
+ }
14408
+
14409
+
14335
14410
  /* ChatMessageList */
14336
14411
  /* ChatMessageList Component Styles */
14337
14412
 
@@ -14706,74 +14781,6 @@ button.muka-chat-photo-grid__tile:focus-visible {
14706
14781
  }
14707
14782
 
14708
14783
 
14709
- /* ChatMessageStack */
14710
- /* ChatMessageStack Component Styles */
14711
-
14712
- .muka-chat-message-stack {
14713
- display: flex;
14714
- flex-direction: column;
14715
- gap: var(--chatbubble-stack-gap);
14716
- width: 100%;
14717
- max-width: 100%;
14718
- }
14719
-
14720
- .muka-chat-message-stack__messages {
14721
- display: flex;
14722
- flex-direction: column;
14723
- gap: var(--chatbubble-stack-gap);
14724
- width: 100%;
14725
- }
14726
-
14727
- /*
14728
- * Reasoning sits above the stack, indented past the avatar rail so it lines up
14729
- * with the bubbles rather than with the avatar (Figma 5379:47300).
14730
- */
14731
- .muka-chat-message-stack__reasoning {
14732
- min-width: 0;
14733
- }
14734
-
14735
- /* In-thread widgets after the messages share the reasoning's indent. */
14736
- .muka-chat-message-stack__widgets {
14737
- display: flex;
14738
- flex-direction: column;
14739
- gap: var(--chatbubble-stack-gap);
14740
- min-width: 0;
14741
- }
14742
-
14743
- .muka-chat-message-stack--has-avatar .muka-chat-message-stack__widgets,
14744
- .muka-chat-message-stack--has-avatar .muka-chat-message-stack__reasoning {
14745
- padding-left: calc(var(--chatbubble-avatar-size) + var(--chatbubble-row-gap));
14746
- }
14747
-
14748
- .muka-chat-message-stack--own.muka-chat-message-stack--has-avatar
14749
- .muka-chat-message-stack__widgets,
14750
- .muka-chat-message-stack--own.muka-chat-message-stack--has-avatar
14751
- .muka-chat-message-stack__reasoning {
14752
- padding-left: 0;
14753
- padding-right: calc(var(--chatbubble-avatar-size) + var(--chatbubble-row-gap));
14754
- }
14755
-
14756
- /* Follow the message's compact rail and gap below the desktop breakpoint */
14757
- @media (max-width: 1023px) {
14758
- .muka-chat-message-stack--has-avatar .muka-chat-message-stack__widgets,
14759
- .muka-chat-message-stack--has-avatar .muka-chat-message-stack__reasoning {
14760
- padding-left: calc(
14761
- var(--chatbubble-avatar-size-compact) + var(--chatbubble-row-gap-compact)
14762
- );
14763
- }
14764
-
14765
- .muka-chat-message-stack--own.muka-chat-message-stack--has-avatar
14766
- .muka-chat-message-stack__widgets,
14767
- .muka-chat-message-stack--own.muka-chat-message-stack--has-avatar
14768
- .muka-chat-message-stack__reasoning {
14769
- padding-left: 0;
14770
- padding-right: calc(
14771
- var(--chatbubble-avatar-size-compact) + var(--chatbubble-row-gap-compact)
14772
- );
14773
- }
14774
- }
14775
-
14776
-
14777
14784
  /* ChatComposer */
14778
14785
  /* ChatComposer Component Styles */
14779
14786