@revikornmann/muka-ui 0.35.0 → 0.35.1

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.
@@ -4757,84 +4757,6 @@ body {
4757
4757
  }
4758
4758
 
4759
4759
 
4760
- /* Spinner */
4761
- /* Spinner Component Styles */
4762
-
4763
- .muka-spinner {
4764
- display: inline-flex;
4765
- align-items: center;
4766
- justify-content: center;
4767
- color: var(--color-text-default-default);
4768
- line-height: 0;
4769
- }
4770
-
4771
- .muka-spinner--subtle {
4772
- color: var(--color-text-subtle-default);
4773
- }
4774
-
4775
- .muka-spinner--inverse {
4776
- color: var(--color-text-default-inverse);
4777
- }
4778
-
4779
- .muka-spinner__circle {
4780
- display: inline-block;
4781
- border-radius: 50%;
4782
- border-style: solid;
4783
- border-color: currentColor;
4784
- border-right-color: transparent;
4785
- animation: muka-spinner-rotate 0.7s linear infinite;
4786
- box-sizing: border-box;
4787
- }
4788
-
4789
- /* ─── Sizes ───────────────────────────────────────────── */
4790
-
4791
- .muka-spinner--sm .muka-spinner__circle {
4792
- width: 16px;
4793
- height: 16px;
4794
- border-width: 2px;
4795
- }
4796
-
4797
- .muka-spinner--md .muka-spinner__circle {
4798
- width: 20px;
4799
- height: 20px;
4800
- border-width: 2px;
4801
- }
4802
-
4803
- .muka-spinner--lg .muka-spinner__circle {
4804
- width: 24px;
4805
- height: 24px;
4806
- border-width: 3px;
4807
- }
4808
-
4809
- /* ─── Visually-hidden label ───────────────────────────── */
4810
-
4811
- .muka-spinner__sr-label {
4812
- position: absolute;
4813
- width: 1px;
4814
- height: 1px;
4815
- padding: 0;
4816
- margin: -1px;
4817
- overflow: hidden;
4818
- clip: rect(0, 0, 0, 0);
4819
- white-space: nowrap;
4820
- border: 0;
4821
- }
4822
-
4823
- /* ─── Reduced motion ──────────────────────────────────── */
4824
-
4825
- @keyframes muka-spinner-rotate {
4826
- to {
4827
- transform: rotate(360deg);
4828
- }
4829
- }
4830
-
4831
- @media (prefers-reduced-motion: reduce) {
4832
- .muka-spinner__circle {
4833
- animation-duration: 2.5s;
4834
- }
4835
- }
4836
-
4837
-
4838
4760
  /* SpecList */
4839
4761
  /* SpecList Component Styles */
4840
4762
 
@@ -4920,6 +4842,84 @@ body {
4920
4842
  }
4921
4843
 
4922
4844
 
4845
+ /* Spinner */
4846
+ /* Spinner Component Styles */
4847
+
4848
+ .muka-spinner {
4849
+ display: inline-flex;
4850
+ align-items: center;
4851
+ justify-content: center;
4852
+ color: var(--color-text-default-default);
4853
+ line-height: 0;
4854
+ }
4855
+
4856
+ .muka-spinner--subtle {
4857
+ color: var(--color-text-subtle-default);
4858
+ }
4859
+
4860
+ .muka-spinner--inverse {
4861
+ color: var(--color-text-default-inverse);
4862
+ }
4863
+
4864
+ .muka-spinner__circle {
4865
+ display: inline-block;
4866
+ border-radius: 50%;
4867
+ border-style: solid;
4868
+ border-color: currentColor;
4869
+ border-right-color: transparent;
4870
+ animation: muka-spinner-rotate 0.7s linear infinite;
4871
+ box-sizing: border-box;
4872
+ }
4873
+
4874
+ /* ─── Sizes ───────────────────────────────────────────── */
4875
+
4876
+ .muka-spinner--sm .muka-spinner__circle {
4877
+ width: 16px;
4878
+ height: 16px;
4879
+ border-width: 2px;
4880
+ }
4881
+
4882
+ .muka-spinner--md .muka-spinner__circle {
4883
+ width: 20px;
4884
+ height: 20px;
4885
+ border-width: 2px;
4886
+ }
4887
+
4888
+ .muka-spinner--lg .muka-spinner__circle {
4889
+ width: 24px;
4890
+ height: 24px;
4891
+ border-width: 3px;
4892
+ }
4893
+
4894
+ /* ─── Visually-hidden label ───────────────────────────── */
4895
+
4896
+ .muka-spinner__sr-label {
4897
+ position: absolute;
4898
+ width: 1px;
4899
+ height: 1px;
4900
+ padding: 0;
4901
+ margin: -1px;
4902
+ overflow: hidden;
4903
+ clip: rect(0, 0, 0, 0);
4904
+ white-space: nowrap;
4905
+ border: 0;
4906
+ }
4907
+
4908
+ /* ─── Reduced motion ──────────────────────────────────── */
4909
+
4910
+ @keyframes muka-spinner-rotate {
4911
+ to {
4912
+ transform: rotate(360deg);
4913
+ }
4914
+ }
4915
+
4916
+ @media (prefers-reduced-motion: reduce) {
4917
+ .muka-spinner__circle {
4918
+ animation-duration: 2.5s;
4919
+ }
4920
+ }
4921
+
4922
+
4923
4923
  /* SocialSignInButton */
4924
4924
  /*
4925
4925
  * SocialSignInButton lockup colors are provider-mandated (Apple HIG /
@@ -5070,86 +5070,6 @@ body {
5070
5070
  }
5071
5071
 
5072
5072
 
5073
- /* Sheet */
5074
- /* Sheet Component Styles */
5075
-
5076
- /* ─── Backdrop ────────────────────────────────────────── */
5077
-
5078
- .muka-sheet__overlay {
5079
- position: fixed;
5080
- inset: 0;
5081
- background-color: var(--color-surface-backdrop);
5082
- z-index: 50;
5083
- }
5084
-
5085
- /* ─── Surface ─────────────────────────────────────────── */
5086
-
5087
- .muka-sheet {
5088
- position: fixed;
5089
- left: 0;
5090
- right: 0;
5091
- bottom: 0;
5092
- z-index: 51;
5093
-
5094
- display: flex;
5095
- flex-direction: column;
5096
-
5097
- max-height: 96dvh;
5098
-
5099
- background-color: var(--color-surface-level3);
5100
- border-top-left-radius: var(--radius-lg);
5101
- border-top-right-radius: var(--radius-lg);
5102
- box-shadow: var(--shadow-level5);
5103
-
5104
- outline: none;
5105
- }
5106
-
5107
- /* Safe-area bottom inset for the iPhone home indicator. */
5108
- .muka-sheet:not(.muka-sheet--no-safe-area) {
5109
- padding-bottom: env(safe-area-inset-bottom);
5110
- }
5111
-
5112
- /* ─── Drag handle ─────────────────────────────────────── */
5113
-
5114
- .muka-sheet__handle-container {
5115
- display: flex;
5116
- justify-content: center;
5117
- flex-shrink: 0;
5118
- padding: var(--spacing-3) 0;
5119
- }
5120
-
5121
- .muka-sheet__handle {
5122
- width: var(--dialog-drag-handle-width);
5123
- height: var(--dialog-drag-handle-height);
5124
- background-color: var(--dialog-drag-handle-color);
5125
- border-radius: var(--dialog-drag-handle-radius);
5126
- }
5127
-
5128
- /* ─── Body (scrollable) ───────────────────────────────── */
5129
-
5130
- .muka-sheet__body {
5131
- flex: 1 1 0%;
5132
- min-height: 0;
5133
- overflow-y: auto;
5134
- -webkit-overflow-scrolling: touch;
5135
- overscroll-behavior: contain;
5136
- }
5137
-
5138
- /* ─── Visually-hidden title (a11y) ────────────────────── */
5139
-
5140
- .muka-sheet__sr-title {
5141
- position: absolute;
5142
- width: 1px;
5143
- height: 1px;
5144
- padding: 0;
5145
- margin: -1px;
5146
- overflow: hidden;
5147
- clip: rect(0, 0, 0, 0);
5148
- white-space: nowrap;
5149
- border: 0;
5150
- }
5151
-
5152
-
5153
5073
  /* SmsOtpField */
5154
5074
  /* SmsOtpField Component Styles - Using Muka Design Tokens */
5155
5075
 
@@ -5342,23 +5262,178 @@ body {
5342
5262
  }
5343
5263
 
5344
5264
 
5345
- /* Select */
5346
- /* Select Component Styles - Aligned with Input for consistency */
5265
+ /* Skeleton */
5266
+ /* Skeleton Component Styles */
5347
5267
 
5348
- .muka-select {
5349
- display: inline-flex;
5350
- flex-direction: column;
5351
- gap: var(--spacing-2);
5268
+ .muka-skeleton {
5269
+ background-color: var(--color-surface-level1);
5270
+ display: block;
5352
5271
  }
5353
5272
 
5354
- .muka-select--full-width {
5273
+ /* Variants */
5274
+ .muka-skeleton--text {
5275
+ height: 1em;
5276
+ border-radius: var(--radius-md);
5355
5277
  width: 100%;
5356
5278
  }
5357
5279
 
5358
- /* Label */
5359
- .muka-select__label {
5360
- color: var(--color-text-default-default);
5361
- cursor: pointer;
5280
+ .muka-skeleton--circular {
5281
+ width: 2.5rem;
5282
+ height: 2.5rem;
5283
+ border-radius: var(--radius-full);
5284
+ }
5285
+
5286
+ .muka-skeleton--rectangular {
5287
+ height: 7.5rem;
5288
+ border-radius: var(--radius-md);
5289
+ width: 100%;
5290
+ }
5291
+
5292
+ /* Last line in multi-line text is shorter */
5293
+ .muka-skeleton--last-line {
5294
+ width: 80%;
5295
+ }
5296
+
5297
+ /* Lines container */
5298
+ .muka-skeleton__lines {
5299
+ display: flex;
5300
+ flex-direction: column;
5301
+ gap: var(--spacing-2);
5302
+ }
5303
+
5304
+ /* Shimmer animation */
5305
+ @keyframes muka-skeleton-shimmer {
5306
+ 0% {
5307
+ background-position: -200% 0;
5308
+ }
5309
+ 100% {
5310
+ background-position: 200% 0;
5311
+ }
5312
+ }
5313
+
5314
+ .muka-skeleton--shimmer {
5315
+ background: linear-gradient(
5316
+ 90deg,
5317
+ var(--color-surface-level1) 25%,
5318
+ var(--color-surface-level2) 50%,
5319
+ var(--color-surface-level1) 75%
5320
+ );
5321
+ background-size: 200% 100%;
5322
+ animation: muka-skeleton-shimmer 1.5s ease-in-out infinite;
5323
+ }
5324
+
5325
+ /* Pulse animation */
5326
+ @keyframes muka-skeleton-pulse {
5327
+ 0%, 100% {
5328
+ opacity: 1;
5329
+ }
5330
+ 50% {
5331
+ opacity: 0.4;
5332
+ }
5333
+ }
5334
+
5335
+ .muka-skeleton--pulse {
5336
+ animation: muka-skeleton-pulse 1.5s ease-in-out infinite;
5337
+ }
5338
+
5339
+
5340
+ /* Sheet */
5341
+ /* Sheet Component Styles */
5342
+
5343
+ /* ─── Backdrop ────────────────────────────────────────── */
5344
+
5345
+ .muka-sheet__overlay {
5346
+ position: fixed;
5347
+ inset: 0;
5348
+ background-color: var(--color-surface-backdrop);
5349
+ z-index: 50;
5350
+ }
5351
+
5352
+ /* ─── Surface ─────────────────────────────────────────── */
5353
+
5354
+ .muka-sheet {
5355
+ position: fixed;
5356
+ left: 0;
5357
+ right: 0;
5358
+ bottom: 0;
5359
+ z-index: 51;
5360
+
5361
+ display: flex;
5362
+ flex-direction: column;
5363
+
5364
+ max-height: 96dvh;
5365
+
5366
+ background-color: var(--color-surface-level3);
5367
+ border-top-left-radius: var(--radius-lg);
5368
+ border-top-right-radius: var(--radius-lg);
5369
+ box-shadow: var(--shadow-level5);
5370
+
5371
+ outline: none;
5372
+ }
5373
+
5374
+ /* Safe-area bottom inset for the iPhone home indicator. */
5375
+ .muka-sheet:not(.muka-sheet--no-safe-area) {
5376
+ padding-bottom: env(safe-area-inset-bottom);
5377
+ }
5378
+
5379
+ /* ─── Drag handle ─────────────────────────────────────── */
5380
+
5381
+ .muka-sheet__handle-container {
5382
+ display: flex;
5383
+ justify-content: center;
5384
+ flex-shrink: 0;
5385
+ padding: var(--spacing-3) 0;
5386
+ }
5387
+
5388
+ .muka-sheet__handle {
5389
+ width: var(--dialog-drag-handle-width);
5390
+ height: var(--dialog-drag-handle-height);
5391
+ background-color: var(--dialog-drag-handle-color);
5392
+ border-radius: var(--dialog-drag-handle-radius);
5393
+ }
5394
+
5395
+ /* ─── Body (scrollable) ───────────────────────────────── */
5396
+
5397
+ .muka-sheet__body {
5398
+ flex: 1 1 0%;
5399
+ min-height: 0;
5400
+ overflow-y: auto;
5401
+ -webkit-overflow-scrolling: touch;
5402
+ overscroll-behavior: contain;
5403
+ }
5404
+
5405
+ /* ─── Visually-hidden title (a11y) ────────────────────── */
5406
+
5407
+ .muka-sheet__sr-title {
5408
+ position: absolute;
5409
+ width: 1px;
5410
+ height: 1px;
5411
+ padding: 0;
5412
+ margin: -1px;
5413
+ overflow: hidden;
5414
+ clip: rect(0, 0, 0, 0);
5415
+ white-space: nowrap;
5416
+ border: 0;
5417
+ }
5418
+
5419
+
5420
+ /* Select */
5421
+ /* Select Component Styles - Aligned with Input for consistency */
5422
+
5423
+ .muka-select {
5424
+ display: inline-flex;
5425
+ flex-direction: column;
5426
+ gap: var(--spacing-2);
5427
+ }
5428
+
5429
+ .muka-select--full-width {
5430
+ width: 100%;
5431
+ }
5432
+
5433
+ /* Label */
5434
+ .muka-select__label {
5435
+ color: var(--color-text-default-default);
5436
+ cursor: pointer;
5362
5437
  }
5363
5438
 
5364
5439
  .muka-select__label--sm {
@@ -5536,78 +5611,26 @@ body {
5536
5611
  }
5537
5612
 
5538
5613
 
5539
- /* Skeleton */
5540
- /* Skeleton Component Styles */
5541
-
5542
- .muka-skeleton {
5543
- background-color: var(--color-surface-level1);
5544
- display: block;
5545
- }
5546
-
5547
- /* Variants */
5548
- .muka-skeleton--text {
5549
- height: 1em;
5550
- border-radius: var(--radius-md);
5551
- width: 100%;
5552
- }
5553
-
5554
- .muka-skeleton--circular {
5555
- width: 2.5rem;
5556
- height: 2.5rem;
5557
- border-radius: var(--radius-full);
5558
- }
5559
-
5560
- .muka-skeleton--rectangular {
5561
- height: 7.5rem;
5562
- border-radius: var(--radius-md);
5563
- width: 100%;
5564
- }
5565
-
5566
- /* Last line in multi-line text is shorter */
5567
- .muka-skeleton--last-line {
5568
- width: 80%;
5569
- }
5570
-
5571
- /* Lines container */
5572
- .muka-skeleton__lines {
5573
- display: flex;
5574
- flex-direction: column;
5575
- gap: var(--spacing-2);
5576
- }
5614
+ /* Section */
5615
+ /* Section Component - Layout tokens (section.padding) */
5577
5616
 
5578
- /* Shimmer animation */
5579
- @keyframes muka-skeleton-shimmer {
5580
- 0% {
5581
- background-position: -200% 0;
5582
- }
5583
- 100% {
5584
- background-position: 200% 0;
5585
- }
5617
+ .muka-section {
5618
+ box-sizing: border-box;
5586
5619
  }
5587
5620
 
5588
- .muka-skeleton--shimmer {
5589
- background: linear-gradient(
5590
- 90deg,
5591
- var(--color-surface-level1) 25%,
5592
- var(--color-surface-level2) 50%,
5593
- var(--color-surface-level1) 75%
5594
- );
5595
- background-size: 200% 100%;
5596
- animation: muka-skeleton-shimmer 1.5s ease-in-out infinite;
5621
+ .muka-section--padding-compact {
5622
+ padding-block: var(--section-padding-vertical-compact);
5623
+ padding-inline: var(--section-padding-horizontal-compact);
5597
5624
  }
5598
5625
 
5599
- /* Pulse animation */
5600
- @keyframes muka-skeleton-pulse {
5601
- 0%, 100% {
5602
- opacity: 1;
5603
- }
5604
- 50% {
5605
- opacity: 0.4;
5606
- }
5626
+ .muka-section--padding-default {
5627
+ padding-block: var(--section-padding-vertical-default);
5628
+ padding-inline: var(--section-padding-horizontal-default);
5607
5629
  }
5608
5630
 
5609
- .muka-skeleton--pulse {
5610
- animation: muka-skeleton-pulse 1.5s ease-in-out infinite;
5631
+ .muka-section--padding-spacious {
5632
+ padding-block: var(--section-padding-vertical-spacious);
5633
+ padding-inline: var(--section-padding-horizontal-spacious);
5611
5634
  }
5612
5635
 
5613
5636
 
@@ -5799,26 +5822,172 @@ body {
5799
5822
  }
5800
5823
 
5801
5824
 
5802
- /* Section */
5803
- /* Section Component - Layout tokens (section.padding) */
5804
-
5805
- .muka-section {
5806
- box-sizing: border-box;
5807
- }
5825
+ /* SearchInput */
5826
+ /* SearchInput Component Styles */
5808
5827
 
5809
- .muka-section--padding-compact {
5810
- padding-block: var(--section-padding-vertical-compact);
5811
- padding-inline: var(--section-padding-horizontal-compact);
5828
+ .muka-search-input {
5829
+ display: flex;
5830
+ align-items: center;
5831
+ gap: var(--spacing-3);
5832
+ width: 100%;
5812
5833
  }
5813
5834
 
5814
- .muka-section--padding-default {
5815
- padding-block: var(--section-padding-vertical-default);
5816
- padding-inline: var(--section-padding-horizontal-default);
5817
- }
5835
+ /* ─── Field wrapper ───────────────────────────────────── */
5818
5836
 
5819
- .muka-section--padding-spacious {
5820
- padding-block: var(--section-padding-vertical-spacious);
5821
- padding-inline: var(--section-padding-horizontal-spacious);
5837
+ .muka-search-input__field {
5838
+ flex: 1 1 auto;
5839
+ display: flex;
5840
+ align-items: center;
5841
+ gap: var(--spacing-2);
5842
+ background-color: var(--input-field-color-default-background);
5843
+ border: var(--border-width-regular) solid var(--input-field-color-default-border);
5844
+ border-radius: var(--input-field-radius-md);
5845
+ padding: 0 var(--input-field-padding-x);
5846
+ transition: border-color 0.12s ease, background-color 0.12s ease;
5847
+ }
5848
+
5849
+ .muka-search-input--focused .muka-search-input__field {
5850
+ border-color: var(--input-field-color-focus-border, var(--color-action-default));
5851
+ }
5852
+
5853
+ /* ─── Sizes ───────────────────────────────────────────── */
5854
+
5855
+ .muka-search-input--sm .muka-search-input__field {
5856
+ min-height: var(--input-field-height-sm);
5857
+ border-radius: var(--input-field-radius-sm);
5858
+ }
5859
+
5860
+ .muka-search-input--md .muka-search-input__field {
5861
+ min-height: var(--input-field-height-default);
5862
+ }
5863
+
5864
+ .muka-search-input--lg .muka-search-input__field {
5865
+ min-height: var(--input-field-height-lg);
5866
+ border-radius: var(--input-field-radius-lg);
5867
+ }
5868
+
5869
+ /* ─── Embedded variant (e.g. inside TopBar) ───────────── */
5870
+
5871
+ .muka-search-input--embedded .muka-search-input__field {
5872
+ background-color: var(--color-surface-level1);
5873
+ border-color: transparent;
5874
+ }
5875
+
5876
+ .muka-search-input--embedded.muka-search-input--focused .muka-search-input__field {
5877
+ border-color: transparent;
5878
+ background-color: var(--color-surface-level2);
5879
+ }
5880
+
5881
+ /* ─── Disabled ────────────────────────────────────────── */
5882
+
5883
+ .muka-search-input--disabled .muka-search-input__field {
5884
+ opacity: 0.5;
5885
+ pointer-events: none;
5886
+ }
5887
+
5888
+ /* ─── Leading icon ────────────────────────────────────── */
5889
+
5890
+ .muka-search-input__leading {
5891
+ display: inline-flex;
5892
+ align-items: center;
5893
+ justify-content: center;
5894
+ flex-shrink: 0;
5895
+ color: var(--color-text-subtle-default);
5896
+ }
5897
+
5898
+ /* ─── Input element ───────────────────────────────────── */
5899
+
5900
+ .muka-search-input__input {
5901
+ flex: 1 1 auto;
5902
+ min-width: 0;
5903
+ border: none;
5904
+ background: transparent;
5905
+ outline: none;
5906
+ padding: 0;
5907
+ color: var(--color-text-default-default);
5908
+ font-family: var(--text-body-base-regular-fontFamily);
5909
+ font-weight: var(--text-body-base-regular-fontWeight);
5910
+ font-size: var(--text-body-base-regular-fontSize);
5911
+ line-height: var(--text-body-base-regular-lineHeight);
5912
+ appearance: none;
5913
+ -webkit-appearance: none;
5914
+ }
5915
+
5916
+ .muka-search-input__input::placeholder {
5917
+ color: var(--color-text-subtle-default);
5918
+ }
5919
+
5920
+ /* Hide the browser-supplied clear button (WebKit + Edge) */
5921
+ .muka-search-input__input::-webkit-search-cancel-button,
5922
+ .muka-search-input__input::-webkit-search-decoration {
5923
+ -webkit-appearance: none;
5924
+ appearance: none;
5925
+ }
5926
+
5927
+ .muka-search-input__input::-ms-clear {
5928
+ display: none;
5929
+ }
5930
+
5931
+ /* ─── Trailing slot (loading spinner) ─────────────────── */
5932
+
5933
+ .muka-search-input__trailing {
5934
+ display: inline-flex;
5935
+ align-items: center;
5936
+ justify-content: center;
5937
+ flex-shrink: 0;
5938
+ }
5939
+
5940
+ /* ─── Clear button ────────────────────────────────────── */
5941
+
5942
+ .muka-search-input__clear {
5943
+ display: inline-flex;
5944
+ align-items: center;
5945
+ justify-content: center;
5946
+ width: 20px;
5947
+ height: 20px;
5948
+ border: none;
5949
+ background: none;
5950
+ padding: 0;
5951
+ cursor: pointer;
5952
+ color: var(--color-text-subtle-default);
5953
+ flex-shrink: 0;
5954
+ -webkit-tap-highlight-color: transparent;
5955
+ }
5956
+
5957
+ .muka-search-input__clear:hover {
5958
+ color: var(--color-text-default-default);
5959
+ }
5960
+
5961
+ .muka-search-input__clear:focus-visible {
5962
+ outline: 2px solid var(--color-action-default);
5963
+ outline-offset: 2px;
5964
+ border-radius: 50%;
5965
+ }
5966
+
5967
+ /* ─── Cancel button ───────────────────────────────────── */
5968
+
5969
+ .muka-search-input__cancel {
5970
+ flex-shrink: 0;
5971
+ background: none;
5972
+ border: none;
5973
+ padding: var(--spacing-1) var(--spacing-2);
5974
+ cursor: pointer;
5975
+ color: var(--color-action-default);
5976
+ font-family: var(--text-label-md-regular-fontFamily);
5977
+ font-weight: var(--text-label-md-regular-fontWeight);
5978
+ font-size: var(--text-label-md-regular-fontSize);
5979
+ line-height: var(--text-label-md-regular-lineHeight);
5980
+ -webkit-tap-highlight-color: transparent;
5981
+ }
5982
+
5983
+ .muka-search-input__cancel:hover {
5984
+ color: var(--color-action-hover);
5985
+ }
5986
+
5987
+ .muka-search-input__cancel:focus-visible {
5988
+ outline: 2px solid var(--color-action-default);
5989
+ outline-offset: 2px;
5990
+ border-radius: var(--radius-sm);
5822
5991
  }
5823
5992
 
5824
5993
 
@@ -5999,292 +6168,76 @@ body {
5999
6168
  }
6000
6169
 
6001
6170
 
6002
- /* RangeSlider */
6003
- /* RangeSlider Component Styles - Using Muka Design Tokens */
6171
+ /* RadioTile */
6172
+ /* RadioTile Component Styles - Using Muka Design Tokens */
6004
6173
 
6005
- .muka-range-slider {
6174
+ /* Base tile styles - horizontal */
6175
+ .muka-radio-tile {
6006
6176
  display: flex;
6007
- flex-direction: column;
6008
- gap: var(--spacing-1);
6009
- width: 100%;
6177
+ align-items: center;
6178
+ gap: var(--spacing-4);
6179
+ padding: var(--spacing-4);
6180
+ border: var(--border-width-regular) solid var(--input-field-color-default-border);
6181
+ border-radius: var(--input-field-radius-lg);
6182
+ background-color: var(--color-surface-level3);
6183
+ cursor: pointer;
6184
+ transition: border-color 0.15s ease, border-width 0.15s ease;
6185
+ overflow: hidden;
6186
+ box-sizing: border-box;
6010
6187
  }
6011
6188
 
6012
- /* ========================================
6013
- HEADER: label group (label + info + optional) and value readout
6014
- ======================================== */
6189
+ .muka-radio-tile--disabled {
6190
+ cursor: not-allowed;
6191
+ opacity: 0.6;
6192
+ }
6015
6193
 
6016
- .muka-range-slider__header {
6017
- display: flex;
6018
- align-items: center;
6019
- justify-content: space-between;
6020
- gap: var(--spacing-2);
6021
- min-height: 24px;
6194
+ /* Selected state */
6195
+ .muka-radio-tile[data-checked] {
6196
+ border-width: var(--border-width-bold);
6197
+ border-color: var(--color-action-default);
6022
6198
  }
6023
6199
 
6024
- .muka-range-slider__label-group {
6025
- display: inline-flex;
6200
+ /* Vertical layout */
6201
+ .muka-radio-tile--vertical {
6202
+ flex-direction: column;
6026
6203
  align-items: center;
6027
6204
  gap: var(--spacing-2);
6205
+ position: relative;
6206
+ width: 160px;
6028
6207
  }
6029
6208
 
6030
- .muka-range-slider__label {
6031
- font-family: var(--text-label-md-semibold-fontFamily);
6032
- font-weight: var(--text-label-md-semibold-fontWeight);
6033
- font-size: var(--text-label-md-semibold-fontSize);
6034
- line-height: var(--text-label-md-semibold-lineHeight);
6035
- color: var(--color-text-default-default);
6209
+ /* Radio container */
6210
+ .muka-radio-tile__radio {
6211
+ flex-shrink: 0;
6036
6212
  }
6037
6213
 
6038
- .muka-range-slider__info {
6039
- color: var(--color-text-subtle-default);
6214
+ /* Corner-positioned radio for vertical */
6215
+ .muka-radio-tile__radio--corner {
6216
+ position: absolute;
6217
+ top: var(--spacing-4);
6218
+ left: var(--spacing-4);
6040
6219
  }
6041
6220
 
6042
- .muka-range-slider__optional {
6043
- font-family: var(--text-label-sm-regular-fontFamily);
6044
- font-weight: var(--text-label-sm-regular-fontWeight);
6045
- font-size: var(--text-label-sm-regular-fontSize);
6046
- line-height: var(--text-label-sm-regular-lineHeight);
6047
- color: var(--color-text-subtle-default);
6221
+ /* Adjust corner position when selected (border is thicker) */
6222
+ .muka-radio-tile[data-checked] .muka-radio-tile__radio--corner {
6223
+ top: calc(var(--spacing-4) - 1px);
6224
+ left: calc(var(--spacing-4) - 1px);
6048
6225
  }
6049
6226
 
6050
- .muka-range-slider__value {
6051
- font-family: var(--text-label-md-regular-fontFamily);
6052
- font-weight: var(--text-label-md-regular-fontWeight);
6053
- font-size: var(--text-label-md-regular-fontSize);
6054
- line-height: var(--text-label-md-regular-lineHeight);
6227
+ /* Icon */
6228
+ .muka-radio-tile__icon {
6229
+ display: flex;
6230
+ align-items: center;
6231
+ justify-content: center;
6232
+ flex-shrink: 0;
6233
+ width: var(--icon-size-default);
6234
+ height: var(--icon-size-default);
6055
6235
  color: var(--color-text-default-default);
6056
- font-variant-numeric: tabular-nums;
6057
6236
  }
6058
6237
 
6059
- .muka-range-slider__helper {
6060
- margin: 0;
6061
- font-family: var(--text-body-sm-regular-fontFamily);
6062
- font-weight: var(--text-body-sm-regular-fontWeight);
6063
- font-size: var(--text-body-sm-regular-fontSize);
6064
- line-height: var(--text-body-sm-regular-lineHeight);
6065
- color: var(--color-text-subtle-default);
6066
- }
6067
-
6068
- /* ========================================
6069
- TRACK + THUMB
6070
- Native range input, restyled. A thick sunken track holds an accent fill up to
6071
- the current value, with a circular grip handle. The filled portion is driven
6072
- by the inline --muka-range-fill custom property (set from the component value).
6073
- ======================================== */
6074
-
6075
- /* Size variants: track height, thumb diameter and grip geometry */
6076
- .muka-range-slider--sm {
6077
- --muka-range-track-h: 12px;
6078
- --muka-range-thumb: 24px;
6079
- --muka-range-grip-h: 9px;
6080
- }
6081
- .muka-range-slider--md {
6082
- --muka-range-track-h: 16px;
6083
- --muka-range-thumb: 32px;
6084
- --muka-range-grip-h: 12px;
6085
- }
6086
- .muka-range-slider--lg {
6087
- --muka-range-track-h: 20px;
6088
- --muka-range-thumb: 40px;
6089
- --muka-range-grip-h: 15px;
6090
- }
6091
-
6092
- .muka-range-slider__bar {
6093
- /* Reserve the full thumb height so the handle never clips the layout. */
6094
- display: flex;
6095
- align-items: center;
6096
- height: var(--muka-range-thumb);
6097
- }
6098
-
6099
- .muka-range-slider__input {
6100
- -webkit-appearance: none;
6101
- appearance: none;
6102
- width: 100%;
6103
- height: var(--muka-range-thumb);
6104
- margin: 0;
6105
- background: transparent;
6106
- cursor: pointer;
6107
-
6108
- /* Grip handle fill + two vertical grip bars, all theme-aware. */
6109
- --muka-range-grip-color: var(--color-text-subtle-default);
6110
- --muka-range-grip-w: 2px;
6111
- --muka-range-grip-gap: 3px;
6112
-
6113
- /* The track fill: action colour up to the value, sunken surface beyond it. */
6114
- --muka-range-track-fill: linear-gradient(
6115
- to right,
6116
- var(--color-action-default) 0,
6117
- var(--color-action-default) var(--muka-range-fill, 0%),
6118
- var(--color-surface-sunken) var(--muka-range-fill, 0%),
6119
- var(--color-surface-sunken) 100%
6120
- );
6121
- }
6122
-
6123
- .muka-range-slider__input:focus {
6124
- outline: none;
6125
- }
6126
-
6127
- /* WebKit / Blink track */
6128
- .muka-range-slider__input::-webkit-slider-runnable-track {
6129
- height: var(--muka-range-track-h);
6130
- border-radius: var(--border-radius-full);
6131
- background-image: var(--muka-range-track-fill);
6132
- border: 1px solid var(--color-border-contrast);
6133
- box-shadow: var(--shadow-sunken);
6134
- }
6135
-
6136
- /* Firefox track + progress */
6137
- .muka-range-slider__input::-moz-range-track {
6138
- height: var(--muka-range-track-h);
6139
- border-radius: var(--border-radius-full);
6140
- background: var(--color-surface-sunken);
6141
- border: 1px solid var(--color-border-contrast);
6142
- box-shadow: var(--shadow-sunken);
6143
- }
6144
- .muka-range-slider__input::-moz-range-progress {
6145
- height: var(--muka-range-track-h);
6146
- border-radius: var(--border-radius-full);
6147
- background: var(--color-action-default);
6148
- }
6149
-
6150
- /* WebKit / Blink thumb (vertically centred over the track) */
6151
- .muka-range-slider__input::-webkit-slider-thumb {
6152
- -webkit-appearance: none;
6153
- appearance: none;
6154
- width: var(--muka-range-thumb);
6155
- height: var(--muka-range-thumb);
6156
- margin-top: calc((var(--muka-range-track-h) - var(--muka-range-thumb)) / 2);
6157
- border-radius: var(--border-radius-full);
6158
- border: 1px solid var(--color-border-contrast);
6159
- box-shadow: var(--shadow-level2);
6160
- background-color: var(--color-surface-level1);
6161
- background-image:
6162
- linear-gradient(var(--muka-range-grip-color), var(--muka-range-grip-color)),
6163
- linear-gradient(var(--muka-range-grip-color), var(--muka-range-grip-color));
6164
- background-repeat: no-repeat;
6165
- background-size: var(--muka-range-grip-w) var(--muka-range-grip-h), var(--muka-range-grip-w) var(--muka-range-grip-h);
6166
- background-position:
6167
- calc(50% - var(--muka-range-grip-gap)) center,
6168
- calc(50% + var(--muka-range-grip-gap)) center;
6169
- transition: box-shadow 0.15s ease, background-color 0.15s ease;
6170
- }
6171
-
6172
- /* Firefox thumb */
6173
- .muka-range-slider__input::-moz-range-thumb {
6174
- width: var(--muka-range-thumb);
6175
- height: var(--muka-range-thumb);
6176
- border-radius: var(--border-radius-full);
6177
- border: 1px solid var(--color-border-contrast);
6178
- box-shadow: var(--shadow-level2);
6179
- background-color: var(--color-surface-level1);
6180
- background-image:
6181
- linear-gradient(var(--muka-range-grip-color), var(--muka-range-grip-color)),
6182
- linear-gradient(var(--muka-range-grip-color), var(--muka-range-grip-color));
6183
- background-repeat: no-repeat;
6184
- background-size: var(--muka-range-grip-w) var(--muka-range-grip-h), var(--muka-range-grip-w) var(--muka-range-grip-h);
6185
- background-position:
6186
- calc(50% - var(--muka-range-grip-gap)) center,
6187
- calc(50% + var(--muka-range-grip-gap)) center;
6188
- transition: box-shadow 0.15s ease, background-color 0.15s ease;
6189
- }
6190
-
6191
- /* Hover */
6192
- .muka-range-slider__input:hover::-webkit-slider-thumb {
6193
- background-color: var(--color-surface-level1);
6194
- box-shadow: var(--shadow-level3);
6195
- }
6196
- .muka-range-slider__input:hover::-moz-range-thumb {
6197
- background-color: var(--color-surface-level1);
6198
- box-shadow: var(--shadow-level3);
6199
- }
6200
-
6201
- /* Focus ring */
6202
- .muka-range-slider__input:focus-visible::-webkit-slider-thumb {
6203
- box-shadow: var(--shadow-level2), 0 0 0 3px var(--color-border-focus);
6204
- }
6205
- .muka-range-slider__input:focus-visible::-moz-range-thumb {
6206
- box-shadow: var(--shadow-level2), 0 0 0 3px var(--color-border-focus);
6207
- }
6208
-
6209
- /* Disabled */
6210
- .muka-range-slider--disabled {
6211
- opacity: 0.5;
6212
- }
6213
- .muka-range-slider--disabled .muka-range-slider__input {
6214
- cursor: not-allowed;
6215
- }
6216
-
6217
-
6218
- /* RadioTile */
6219
- /* RadioTile Component Styles - Using Muka Design Tokens */
6220
-
6221
- /* Base tile styles - horizontal */
6222
- .muka-radio-tile {
6223
- display: flex;
6224
- align-items: center;
6225
- gap: var(--spacing-4);
6226
- padding: var(--spacing-4);
6227
- border: var(--border-width-regular) solid var(--input-field-color-default-border);
6228
- border-radius: var(--input-field-radius-lg);
6229
- background-color: var(--color-surface-level3);
6230
- cursor: pointer;
6231
- transition: border-color 0.15s ease, border-width 0.15s ease;
6232
- overflow: hidden;
6233
- box-sizing: border-box;
6234
- }
6235
-
6236
- .muka-radio-tile--disabled {
6237
- cursor: not-allowed;
6238
- opacity: 0.6;
6239
- }
6240
-
6241
- /* Selected state */
6242
- .muka-radio-tile[data-checked] {
6243
- border-width: var(--border-width-bold);
6244
- border-color: var(--color-action-default);
6245
- }
6246
-
6247
- /* Vertical layout */
6248
- .muka-radio-tile--vertical {
6249
- flex-direction: column;
6250
- align-items: center;
6251
- gap: var(--spacing-2);
6252
- position: relative;
6253
- width: 160px;
6254
- }
6255
-
6256
- /* Radio container */
6257
- .muka-radio-tile__radio {
6258
- flex-shrink: 0;
6259
- }
6260
-
6261
- /* Corner-positioned radio for vertical */
6262
- .muka-radio-tile__radio--corner {
6263
- position: absolute;
6264
- top: var(--spacing-4);
6265
- left: var(--spacing-4);
6266
- }
6267
-
6268
- /* Adjust corner position when selected (border is thicker) */
6269
- .muka-radio-tile[data-checked] .muka-radio-tile__radio--corner {
6270
- top: calc(var(--spacing-4) - 1px);
6271
- left: calc(var(--spacing-4) - 1px);
6272
- }
6273
-
6274
- /* Icon */
6275
- .muka-radio-tile__icon {
6276
- display: flex;
6277
- align-items: center;
6278
- justify-content: center;
6279
- flex-shrink: 0;
6280
- width: var(--icon-size-default);
6281
- height: var(--icon-size-default);
6282
- color: var(--color-text-default-default);
6283
- }
6284
-
6285
- .muka-radio-tile__icon svg {
6286
- width: 100%;
6287
- height: 100%;
6238
+ .muka-radio-tile__icon svg {
6239
+ width: 100%;
6240
+ height: 100%;
6288
6241
  }
6289
6242
 
6290
6243
  /* Image */
@@ -6351,179 +6304,10 @@ body {
6351
6304
  color: var(--color-text-subtle-default);
6352
6305
  }
6353
6306
 
6354
- /* Disabled states */
6355
- .muka-radio-tile--disabled .muka-radio-tile__label,
6356
- .muka-radio-tile--disabled .muka-radio-tile__icon {
6357
- color: var(--color-text-subtle-default);
6358
- }
6359
-
6360
-
6361
- /* SearchInput */
6362
- /* SearchInput Component Styles */
6363
-
6364
- .muka-search-input {
6365
- display: flex;
6366
- align-items: center;
6367
- gap: var(--spacing-3);
6368
- width: 100%;
6369
- }
6370
-
6371
- /* ─── Field wrapper ───────────────────────────────────── */
6372
-
6373
- .muka-search-input__field {
6374
- flex: 1 1 auto;
6375
- display: flex;
6376
- align-items: center;
6377
- gap: var(--spacing-2);
6378
- background-color: var(--input-field-color-default-background);
6379
- border: var(--border-width-regular) solid var(--input-field-color-default-border);
6380
- border-radius: var(--input-field-radius-md);
6381
- padding: 0 var(--input-field-padding-x);
6382
- transition: border-color 0.12s ease, background-color 0.12s ease;
6383
- }
6384
-
6385
- .muka-search-input--focused .muka-search-input__field {
6386
- border-color: var(--input-field-color-focus-border, var(--color-action-default));
6387
- }
6388
-
6389
- /* ─── Sizes ───────────────────────────────────────────── */
6390
-
6391
- .muka-search-input--sm .muka-search-input__field {
6392
- min-height: var(--input-field-height-sm);
6393
- border-radius: var(--input-field-radius-sm);
6394
- }
6395
-
6396
- .muka-search-input--md .muka-search-input__field {
6397
- min-height: var(--input-field-height-default);
6398
- }
6399
-
6400
- .muka-search-input--lg .muka-search-input__field {
6401
- min-height: var(--input-field-height-lg);
6402
- border-radius: var(--input-field-radius-lg);
6403
- }
6404
-
6405
- /* ─── Embedded variant (e.g. inside TopBar) ───────────── */
6406
-
6407
- .muka-search-input--embedded .muka-search-input__field {
6408
- background-color: var(--color-surface-level1);
6409
- border-color: transparent;
6410
- }
6411
-
6412
- .muka-search-input--embedded.muka-search-input--focused .muka-search-input__field {
6413
- border-color: transparent;
6414
- background-color: var(--color-surface-level2);
6415
- }
6416
-
6417
- /* ─── Disabled ────────────────────────────────────────── */
6418
-
6419
- .muka-search-input--disabled .muka-search-input__field {
6420
- opacity: 0.5;
6421
- pointer-events: none;
6422
- }
6423
-
6424
- /* ─── Leading icon ────────────────────────────────────── */
6425
-
6426
- .muka-search-input__leading {
6427
- display: inline-flex;
6428
- align-items: center;
6429
- justify-content: center;
6430
- flex-shrink: 0;
6431
- color: var(--color-text-subtle-default);
6432
- }
6433
-
6434
- /* ─── Input element ───────────────────────────────────── */
6435
-
6436
- .muka-search-input__input {
6437
- flex: 1 1 auto;
6438
- min-width: 0;
6439
- border: none;
6440
- background: transparent;
6441
- outline: none;
6442
- padding: 0;
6443
- color: var(--color-text-default-default);
6444
- font-family: var(--text-body-base-regular-fontFamily);
6445
- font-weight: var(--text-body-base-regular-fontWeight);
6446
- font-size: var(--text-body-base-regular-fontSize);
6447
- line-height: var(--text-body-base-regular-lineHeight);
6448
- appearance: none;
6449
- -webkit-appearance: none;
6450
- }
6451
-
6452
- .muka-search-input__input::placeholder {
6453
- color: var(--color-text-subtle-default);
6454
- }
6455
-
6456
- /* Hide the browser-supplied clear button (WebKit + Edge) */
6457
- .muka-search-input__input::-webkit-search-cancel-button,
6458
- .muka-search-input__input::-webkit-search-decoration {
6459
- -webkit-appearance: none;
6460
- appearance: none;
6461
- }
6462
-
6463
- .muka-search-input__input::-ms-clear {
6464
- display: none;
6465
- }
6466
-
6467
- /* ─── Trailing slot (loading spinner) ─────────────────── */
6468
-
6469
- .muka-search-input__trailing {
6470
- display: inline-flex;
6471
- align-items: center;
6472
- justify-content: center;
6473
- flex-shrink: 0;
6474
- }
6475
-
6476
- /* ─── Clear button ────────────────────────────────────── */
6477
-
6478
- .muka-search-input__clear {
6479
- display: inline-flex;
6480
- align-items: center;
6481
- justify-content: center;
6482
- width: 20px;
6483
- height: 20px;
6484
- border: none;
6485
- background: none;
6486
- padding: 0;
6487
- cursor: pointer;
6488
- color: var(--color-text-subtle-default);
6489
- flex-shrink: 0;
6490
- -webkit-tap-highlight-color: transparent;
6491
- }
6492
-
6493
- .muka-search-input__clear:hover {
6494
- color: var(--color-text-default-default);
6495
- }
6496
-
6497
- .muka-search-input__clear:focus-visible {
6498
- outline: 2px solid var(--color-action-default);
6499
- outline-offset: 2px;
6500
- border-radius: 50%;
6501
- }
6502
-
6503
- /* ─── Cancel button ───────────────────────────────────── */
6504
-
6505
- .muka-search-input__cancel {
6506
- flex-shrink: 0;
6507
- background: none;
6508
- border: none;
6509
- padding: var(--spacing-1) var(--spacing-2);
6510
- cursor: pointer;
6511
- color: var(--color-action-default);
6512
- font-family: var(--text-label-md-regular-fontFamily);
6513
- font-weight: var(--text-label-md-regular-fontWeight);
6514
- font-size: var(--text-label-md-regular-fontSize);
6515
- line-height: var(--text-label-md-regular-lineHeight);
6516
- -webkit-tap-highlight-color: transparent;
6517
- }
6518
-
6519
- .muka-search-input__cancel:hover {
6520
- color: var(--color-action-hover);
6521
- }
6522
-
6523
- .muka-search-input__cancel:focus-visible {
6524
- outline: 2px solid var(--color-action-default);
6525
- outline-offset: 2px;
6526
- border-radius: var(--radius-sm);
6307
+ /* Disabled states */
6308
+ .muka-radio-tile--disabled .muka-radio-tile__label,
6309
+ .muka-radio-tile--disabled .muka-radio-tile__icon {
6310
+ color: var(--color-text-subtle-default);
6527
6311
  }
6528
6312
 
6529
6313
 
@@ -6718,6 +6502,222 @@ body {
6718
6502
  }
6719
6503
 
6720
6504
 
6505
+ /* RangeSlider */
6506
+ /* RangeSlider Component Styles - Using Muka Design Tokens */
6507
+
6508
+ .muka-range-slider {
6509
+ display: flex;
6510
+ flex-direction: column;
6511
+ gap: var(--spacing-1);
6512
+ width: 100%;
6513
+ }
6514
+
6515
+ /* ========================================
6516
+ HEADER: label group (label + info + optional) and value readout
6517
+ ======================================== */
6518
+
6519
+ .muka-range-slider__header {
6520
+ display: flex;
6521
+ align-items: center;
6522
+ justify-content: space-between;
6523
+ gap: var(--spacing-2);
6524
+ min-height: 24px;
6525
+ }
6526
+
6527
+ .muka-range-slider__label-group {
6528
+ display: inline-flex;
6529
+ align-items: center;
6530
+ gap: var(--spacing-2);
6531
+ }
6532
+
6533
+ .muka-range-slider__label {
6534
+ font-family: var(--text-label-md-semibold-fontFamily);
6535
+ font-weight: var(--text-label-md-semibold-fontWeight);
6536
+ font-size: var(--text-label-md-semibold-fontSize);
6537
+ line-height: var(--text-label-md-semibold-lineHeight);
6538
+ color: var(--color-text-default-default);
6539
+ }
6540
+
6541
+ .muka-range-slider__info {
6542
+ color: var(--color-text-subtle-default);
6543
+ }
6544
+
6545
+ .muka-range-slider__optional {
6546
+ font-family: var(--text-label-sm-regular-fontFamily);
6547
+ font-weight: var(--text-label-sm-regular-fontWeight);
6548
+ font-size: var(--text-label-sm-regular-fontSize);
6549
+ line-height: var(--text-label-sm-regular-lineHeight);
6550
+ color: var(--color-text-subtle-default);
6551
+ }
6552
+
6553
+ .muka-range-slider__value {
6554
+ font-family: var(--text-label-md-regular-fontFamily);
6555
+ font-weight: var(--text-label-md-regular-fontWeight);
6556
+ font-size: var(--text-label-md-regular-fontSize);
6557
+ line-height: var(--text-label-md-regular-lineHeight);
6558
+ color: var(--color-text-default-default);
6559
+ font-variant-numeric: tabular-nums;
6560
+ }
6561
+
6562
+ .muka-range-slider__helper {
6563
+ margin: 0;
6564
+ font-family: var(--text-body-sm-regular-fontFamily);
6565
+ font-weight: var(--text-body-sm-regular-fontWeight);
6566
+ font-size: var(--text-body-sm-regular-fontSize);
6567
+ line-height: var(--text-body-sm-regular-lineHeight);
6568
+ color: var(--color-text-subtle-default);
6569
+ }
6570
+
6571
+ /* ========================================
6572
+ TRACK + THUMB
6573
+ Native range input, restyled. A thick sunken track holds an accent fill up to
6574
+ the current value, with a circular grip handle. The filled portion is driven
6575
+ by the inline --muka-range-fill custom property (set from the component value).
6576
+ ======================================== */
6577
+
6578
+ /* Size variants: track height, thumb diameter and grip geometry */
6579
+ .muka-range-slider--sm {
6580
+ --muka-range-track-h: 12px;
6581
+ --muka-range-thumb: 24px;
6582
+ --muka-range-grip-h: 9px;
6583
+ }
6584
+ .muka-range-slider--md {
6585
+ --muka-range-track-h: 16px;
6586
+ --muka-range-thumb: 32px;
6587
+ --muka-range-grip-h: 12px;
6588
+ }
6589
+ .muka-range-slider--lg {
6590
+ --muka-range-track-h: 20px;
6591
+ --muka-range-thumb: 40px;
6592
+ --muka-range-grip-h: 15px;
6593
+ }
6594
+
6595
+ .muka-range-slider__bar {
6596
+ /* Reserve the full thumb height so the handle never clips the layout. */
6597
+ display: flex;
6598
+ align-items: center;
6599
+ height: var(--muka-range-thumb);
6600
+ }
6601
+
6602
+ .muka-range-slider__input {
6603
+ -webkit-appearance: none;
6604
+ appearance: none;
6605
+ width: 100%;
6606
+ height: var(--muka-range-thumb);
6607
+ margin: 0;
6608
+ background: transparent;
6609
+ cursor: pointer;
6610
+
6611
+ /* Grip handle fill + two vertical grip bars, all theme-aware. */
6612
+ --muka-range-grip-color: var(--color-text-subtle-default);
6613
+ --muka-range-grip-w: 2px;
6614
+ --muka-range-grip-gap: 3px;
6615
+
6616
+ /* The track fill: action colour up to the value, sunken surface beyond it. */
6617
+ --muka-range-track-fill: linear-gradient(
6618
+ to right,
6619
+ var(--color-action-default) 0,
6620
+ var(--color-action-default) var(--muka-range-fill, 0%),
6621
+ var(--color-surface-sunken) var(--muka-range-fill, 0%),
6622
+ var(--color-surface-sunken) 100%
6623
+ );
6624
+ }
6625
+
6626
+ .muka-range-slider__input:focus {
6627
+ outline: none;
6628
+ }
6629
+
6630
+ /* WebKit / Blink track */
6631
+ .muka-range-slider__input::-webkit-slider-runnable-track {
6632
+ height: var(--muka-range-track-h);
6633
+ border-radius: var(--border-radius-full);
6634
+ background-image: var(--muka-range-track-fill);
6635
+ border: 1px solid var(--color-border-contrast);
6636
+ box-shadow: var(--shadow-sunken);
6637
+ }
6638
+
6639
+ /* Firefox track + progress */
6640
+ .muka-range-slider__input::-moz-range-track {
6641
+ height: var(--muka-range-track-h);
6642
+ border-radius: var(--border-radius-full);
6643
+ background: var(--color-surface-sunken);
6644
+ border: 1px solid var(--color-border-contrast);
6645
+ box-shadow: var(--shadow-sunken);
6646
+ }
6647
+ .muka-range-slider__input::-moz-range-progress {
6648
+ height: var(--muka-range-track-h);
6649
+ border-radius: var(--border-radius-full);
6650
+ background: var(--color-action-default);
6651
+ }
6652
+
6653
+ /* WebKit / Blink thumb (vertically centred over the track) */
6654
+ .muka-range-slider__input::-webkit-slider-thumb {
6655
+ -webkit-appearance: none;
6656
+ appearance: none;
6657
+ width: var(--muka-range-thumb);
6658
+ height: var(--muka-range-thumb);
6659
+ margin-top: calc((var(--muka-range-track-h) - var(--muka-range-thumb)) / 2);
6660
+ border-radius: var(--border-radius-full);
6661
+ border: 1px solid var(--color-border-contrast);
6662
+ box-shadow: var(--shadow-level2);
6663
+ background-color: var(--color-surface-level1);
6664
+ background-image:
6665
+ linear-gradient(var(--muka-range-grip-color), var(--muka-range-grip-color)),
6666
+ linear-gradient(var(--muka-range-grip-color), var(--muka-range-grip-color));
6667
+ background-repeat: no-repeat;
6668
+ background-size: var(--muka-range-grip-w) var(--muka-range-grip-h), var(--muka-range-grip-w) var(--muka-range-grip-h);
6669
+ background-position:
6670
+ calc(50% - var(--muka-range-grip-gap)) center,
6671
+ calc(50% + var(--muka-range-grip-gap)) center;
6672
+ transition: box-shadow 0.15s ease, background-color 0.15s ease;
6673
+ }
6674
+
6675
+ /* Firefox thumb */
6676
+ .muka-range-slider__input::-moz-range-thumb {
6677
+ width: var(--muka-range-thumb);
6678
+ height: var(--muka-range-thumb);
6679
+ border-radius: var(--border-radius-full);
6680
+ border: 1px solid var(--color-border-contrast);
6681
+ box-shadow: var(--shadow-level2);
6682
+ background-color: var(--color-surface-level1);
6683
+ background-image:
6684
+ linear-gradient(var(--muka-range-grip-color), var(--muka-range-grip-color)),
6685
+ linear-gradient(var(--muka-range-grip-color), var(--muka-range-grip-color));
6686
+ background-repeat: no-repeat;
6687
+ background-size: var(--muka-range-grip-w) var(--muka-range-grip-h), var(--muka-range-grip-w) var(--muka-range-grip-h);
6688
+ background-position:
6689
+ calc(50% - var(--muka-range-grip-gap)) center,
6690
+ calc(50% + var(--muka-range-grip-gap)) center;
6691
+ transition: box-shadow 0.15s ease, background-color 0.15s ease;
6692
+ }
6693
+
6694
+ /* Hover */
6695
+ .muka-range-slider__input:hover::-webkit-slider-thumb {
6696
+ background-color: var(--color-surface-level1);
6697
+ box-shadow: var(--shadow-level3);
6698
+ }
6699
+ .muka-range-slider__input:hover::-moz-range-thumb {
6700
+ background-color: var(--color-surface-level1);
6701
+ box-shadow: var(--shadow-level3);
6702
+ }
6703
+
6704
+ /* Focus ring */
6705
+ .muka-range-slider__input:focus-visible::-webkit-slider-thumb {
6706
+ box-shadow: var(--shadow-level2), 0 0 0 3px var(--color-border-focus);
6707
+ }
6708
+ .muka-range-slider__input:focus-visible::-moz-range-thumb {
6709
+ box-shadow: var(--shadow-level2), 0 0 0 3px var(--color-border-focus);
6710
+ }
6711
+
6712
+ /* Disabled */
6713
+ .muka-range-slider--disabled {
6714
+ opacity: 0.5;
6715
+ }
6716
+ .muka-range-slider--disabled .muka-range-slider__input {
6717
+ cursor: not-allowed;
6718
+ }
6719
+
6720
+
6721
6721
  /* ProgressTracker */
6722
6722
  /* ProgressTracker Component Styles — Using Muka Design Tokens */
6723
6723
 
@@ -7869,14 +7869,45 @@ button.muka-progress-tracker__tab:focus-visible {
7869
7869
  color: var(--color-text-default-default);
7870
7870
  }
7871
7871
 
7872
- /* ─── Unit label (same for both sizes) ────────────────── */
7873
-
7874
- .muka-price-tag__unit {
7875
- font-family: var(--text-body-sm-regular-fontFamily);
7876
- font-weight: var(--text-body-sm-regular-fontWeight);
7877
- font-size: var(--text-body-sm-regular-fontSize);
7878
- line-height: var(--text-body-sm-regular-lineHeight);
7879
- color: var(--color-text-subtle-default);
7872
+ /* ─── Unit label (same for both sizes) ────────────────── */
7873
+
7874
+ .muka-price-tag__unit {
7875
+ font-family: var(--text-body-sm-regular-fontFamily);
7876
+ font-weight: var(--text-body-sm-regular-fontWeight);
7877
+ font-size: var(--text-body-sm-regular-fontSize);
7878
+ line-height: var(--text-body-sm-regular-lineHeight);
7879
+ color: var(--color-text-subtle-default);
7880
+ }
7881
+
7882
+
7883
+ /* Popover */
7884
+ /* Popover Component Styles */
7885
+
7886
+ .muka-popover__content {
7887
+ background-color: var(--color-surface-level3);
7888
+ border: var(--border-width-regular) solid var(--color-border-default);
7889
+ border-radius: var(--radius-md);
7890
+ padding: var(--spacing-4);
7891
+ box-shadow: var(--shadow-level3);
7892
+ max-width: 20rem;
7893
+ z-index: 50;
7894
+ animation: muka-popover-fade-in 150ms ease;
7895
+ }
7896
+
7897
+ @keyframes muka-popover-fade-in {
7898
+ from {
7899
+ opacity: 0;
7900
+ transform: scale(0.96);
7901
+ }
7902
+ to {
7903
+ opacity: 1;
7904
+ transform: scale(1);
7905
+ }
7906
+ }
7907
+
7908
+ /* Arrow */
7909
+ .muka-popover__arrow {
7910
+ fill: var(--color-surface-level3);
7880
7911
  }
7881
7912
 
7882
7913
 
@@ -8225,37 +8256,6 @@ button.muka-progress-tracker__tab:focus-visible {
8225
8256
  }
8226
8257
 
8227
8258
 
8228
- /* Popover */
8229
- /* Popover Component Styles */
8230
-
8231
- .muka-popover__content {
8232
- background-color: var(--color-surface-level3);
8233
- border: var(--border-width-regular) solid var(--color-border-default);
8234
- border-radius: var(--radius-md);
8235
- padding: var(--spacing-4);
8236
- box-shadow: var(--shadow-level3);
8237
- max-width: 20rem;
8238
- z-index: 50;
8239
- animation: muka-popover-fade-in 150ms ease;
8240
- }
8241
-
8242
- @keyframes muka-popover-fade-in {
8243
- from {
8244
- opacity: 0;
8245
- transform: scale(0.96);
8246
- }
8247
- to {
8248
- opacity: 1;
8249
- transform: scale(1);
8250
- }
8251
- }
8252
-
8253
- /* Arrow */
8254
- .muka-popover__arrow {
8255
- fill: var(--color-surface-level3);
8256
- }
8257
-
8258
-
8259
8259
  /* NumberInput */
8260
8260
  /* NumberInput — reuses Input field styles (../Input/Input.css). */
8261
8261
  /* Only the prefix/suffix affixes are NumberInput-specific. */
@@ -8688,293 +8688,107 @@ button.muka-progress-tracker__tab:focus-visible {
8688
8688
  /* ─── Separator ──────────────────────────────────────────────────────────── */
8689
8689
 
8690
8690
  .muka-menu__separator {
8691
- height: var(--menu-separator-height);
8692
- margin: var(--menu-separator-margin-y) 0;
8693
- background-color: var(--menu-separator-color);
8694
- }
8695
-
8696
- /* ─── Group ──────────────────────────────────────────────────────────────── */
8697
-
8698
- .muka-menu__group {
8699
- /* No additional styles needed - just a container */
8700
- }
8701
-
8702
- .muka-menu__group-label {
8703
- padding: var(--menu-group-label-padding-y) var(--menu-group-label-padding-x);
8704
- font-family: var(--text-label-sm-semibold-fontFamily);
8705
- font-size: var(--text-label-sm-semibold-fontSize);
8706
- font-weight: var(--text-label-sm-semibold-fontWeight);
8707
- line-height: var(--text-label-sm-semibold-lineHeight);
8708
- color: var(--menu-group-label-color);
8709
- text-transform: uppercase;
8710
- letter-spacing: 0.05em;
8711
- }
8712
-
8713
- /* ─── Radio Group ────────────────────────────────────────────────────────── */
8714
-
8715
- .muka-menu__radio-group {
8716
- /* No additional styles needed - just a container */
8717
- }
8718
-
8719
- /* ─── Context Menu Trigger ───────────────────────────────────────────────── */
8720
-
8721
- .muka-context-menu__trigger {
8722
- /* Allow the trigger to be styled by the parent */
8723
- }
8724
-
8725
- .muka-context-menu__trigger:focus-visible {
8726
- outline: var(--contextmenu-trigger-outline-width) solid var(--contextmenu-trigger-outline-color);
8727
- outline-offset: var(--contextmenu-trigger-outline-offset);
8728
- border-radius: var(--border-radius-sm);
8729
- }
8730
-
8731
- /* ─── Animations ─────────────────────────────────────────────────────────── */
8732
-
8733
- @keyframes muka-menu-fade-in {
8734
- from {
8735
- opacity: 0;
8736
- }
8737
- to {
8738
- opacity: 1;
8739
- }
8740
- }
8741
-
8742
- @keyframes muka-menu-fade-out {
8743
- from {
8744
- opacity: 1;
8745
- }
8746
- to {
8747
- opacity: 0;
8748
- }
8749
- }
8750
-
8751
- @keyframes muka-menu-slide-up {
8752
- from {
8753
- opacity: 0;
8754
- transform: translateY(4px);
8755
- }
8756
- to {
8757
- opacity: 1;
8758
- transform: translateY(0);
8759
- }
8760
- }
8761
-
8762
- @keyframes muka-menu-slide-down {
8763
- from {
8764
- opacity: 0;
8765
- transform: translateY(-4px);
8766
- }
8767
- to {
8768
- opacity: 1;
8769
- transform: translateY(0);
8770
- }
8771
- }
8772
-
8773
- @keyframes muka-menu-slide-left {
8774
- from {
8775
- opacity: 0;
8776
- transform: translateX(4px);
8777
- }
8778
- to {
8779
- opacity: 1;
8780
- transform: translateX(0);
8781
- }
8782
- }
8783
-
8784
- @keyframes muka-menu-slide-right {
8785
- from {
8786
- opacity: 0;
8787
- transform: translateX(-4px);
8788
- }
8789
- to {
8790
- opacity: 1;
8791
- transform: translateX(0);
8792
- }
8793
- }
8794
-
8795
-
8796
- /* MediaViewer */
8797
- /* MediaViewer Component Styles - Using Muka Design Tokens */
8798
-
8799
- /* ─── Native dialog: full viewport ────────────────────── */
8800
- .muka-media-viewer {
8801
- position: fixed;
8802
- inset: 0;
8803
- width: 100%;
8804
- height: 100%;
8805
- max-width: none;
8806
- max-height: none;
8807
- margin: 0;
8808
- padding: 0;
8809
- border: none;
8810
- display: flex;
8811
- flex-direction: column;
8812
- overflow: hidden;
8813
- overscroll-behavior: contain;
8814
- color: var(--color-text-default-default);
8815
- background-color: var(--color-black-alpha-12);
8816
- animation: muka-media-viewer-in var(--motion-duration-component) var(--motion-easing-enter);
8817
- }
8818
-
8819
- .muka-media-viewer:not([open]) {
8820
- display: none;
8821
- }
8822
-
8823
- .muka-media-viewer::backdrop {
8824
- background-color: var(--color-black-alpha-12);
8825
- }
8826
-
8827
- @keyframes muka-media-viewer-in {
8828
- from {
8829
- opacity: 0;
8830
- }
8831
- to {
8832
- opacity: 1;
8833
- }
8834
- }
8835
-
8836
- /* ─── Chrome: TopBar and footer sit on a surface ──────── */
8837
- .muka-media-viewer__topbar {
8838
- flex-shrink: 0;
8839
- background-color: var(--color-surface-level3);
8840
- }
8841
-
8842
- .muka-media-viewer__live {
8843
- position: absolute;
8844
- width: 1px;
8845
- height: 1px;
8846
- padding: 0;
8847
- margin: -1px;
8848
- overflow: hidden;
8849
- clip: rect(0, 0, 0, 0);
8850
- white-space: nowrap;
8851
- border: 0;
8852
- }
8853
-
8854
- /* ─── Stage: the dark area the images slide across ────── */
8855
- .muka-media-viewer__stage {
8856
- position: relative;
8857
- flex: 1 1 auto;
8858
- min-height: 0;
8859
- overflow: hidden;
8860
- /* Gestures are handled in JS: no browser panning or pinch on the stage. */
8861
- touch-action: none;
8862
- user-select: none;
8863
- -webkit-user-select: none;
8864
- }
8865
-
8866
- .muka-media-viewer__slide {
8867
- position: absolute;
8868
- inset: 0;
8869
- display: flex;
8870
- align-items: center;
8871
- justify-content: center;
8872
- padding: var(--spacing-4);
8873
- transition: transform var(--motion-duration-component) var(--motion-easing-default);
8874
- will-change: transform;
8875
- }
8876
-
8877
- /* While a finger drags, the image follows it without easing. */
8878
- .muka-media-viewer--dragging .muka-media-viewer__slide {
8879
- transition: none;
8880
- }
8881
-
8882
- .muka-media-viewer__image {
8883
- display: block;
8884
- max-width: 100%;
8885
- max-height: 100%;
8886
- object-fit: contain;
8887
- /* The image takes touches, so a long press opens the OS menu (save, share,
8888
- copy). The swipe still works: pointer events bubble to the stage, and a
8889
- long press doesn't move far enough to start a drag. */
8890
- -webkit-touch-callout: default;
8891
- }
8892
-
8893
- /* ─── Previous / next: devices that can hover ─────────── */
8894
- .muka-media-viewer__nav {
8895
- position: absolute;
8896
- top: 50%;
8897
- display: none;
8898
- transform: translateY(-50%);
8899
- opacity: 0;
8900
- transition: opacity var(--motion-duration-micro) var(--motion-easing-enter);
8691
+ height: var(--menu-separator-height);
8692
+ margin: var(--menu-separator-margin-y) 0;
8693
+ background-color: var(--menu-separator-color);
8901
8694
  }
8902
8695
 
8903
- .muka-media-viewer__nav--previous {
8904
- left: var(--spacing-4);
8696
+ /* ─── Group ──────────────────────────────────────────────────────────────── */
8697
+
8698
+ .muka-menu__group {
8699
+ /* No additional styles needed - just a container */
8905
8700
  }
8906
8701
 
8907
- .muka-media-viewer__nav--next {
8908
- right: var(--spacing-4);
8702
+ .muka-menu__group-label {
8703
+ padding: var(--menu-group-label-padding-y) var(--menu-group-label-padding-x);
8704
+ font-family: var(--text-label-sm-semibold-fontFamily);
8705
+ font-size: var(--text-label-sm-semibold-fontSize);
8706
+ font-weight: var(--text-label-sm-semibold-fontWeight);
8707
+ line-height: var(--text-label-sm-semibold-lineHeight);
8708
+ color: var(--menu-group-label-color);
8709
+ text-transform: uppercase;
8710
+ letter-spacing: 0.05em;
8909
8711
  }
8910
8712
 
8911
- @media (hover: hover) and (pointer: fine) {
8912
- .muka-media-viewer__nav {
8913
- display: block;
8914
- }
8713
+ /* ─── Radio Group ────────────────────────────────────────────────────────── */
8915
8714
 
8916
- .muka-media-viewer__stage:hover .muka-media-viewer__nav,
8917
- .muka-media-viewer__nav:focus-within {
8918
- opacity: 1;
8919
- }
8715
+ .muka-menu__radio-group {
8716
+ /* No additional styles needed - just a container */
8920
8717
  }
8921
8718
 
8922
- /* ─── Footer: caption, meta and actions ───────────────── */
8923
- .muka-media-viewer__footer {
8924
- flex-shrink: 0;
8925
- display: flex;
8926
- flex-direction: column;
8927
- gap: var(--spacing-3);
8928
- padding: var(--spacing-4);
8929
- padding-bottom: calc(var(--spacing-4) + env(safe-area-inset-bottom, 0px));
8930
- background-color: var(--color-surface-level3);
8719
+ /* ─── Context Menu Trigger ───────────────────────────────────────────────── */
8720
+
8721
+ .muka-context-menu__trigger {
8722
+ /* Allow the trigger to be styled by the parent */
8931
8723
  }
8932
8724
 
8933
- .muka-media-viewer__details {
8934
- display: flex;
8935
- align-items: flex-start;
8936
- justify-content: space-between;
8937
- gap: var(--spacing-3);
8725
+ .muka-context-menu__trigger:focus-visible {
8726
+ outline: var(--contextmenu-trigger-outline-width) solid var(--contextmenu-trigger-outline-color);
8727
+ outline-offset: var(--contextmenu-trigger-outline-offset);
8728
+ border-radius: var(--border-radius-sm);
8938
8729
  }
8939
8730
 
8940
- .muka-media-viewer__caption {
8941
- min-width: 0;
8942
- color: var(--color-text-subtle-default);
8943
- font-family: var(--text-body-sm-regular-fontFamily);
8944
- font-size: var(--text-body-sm-regular-fontSize);
8945
- font-weight: var(--text-body-sm-regular-fontWeight);
8946
- line-height: var(--text-body-sm-regular-lineHeight);
8947
- overflow-wrap: anywhere;
8731
+ /* ─── Animations ─────────────────────────────────────────────────────────── */
8732
+
8733
+ @keyframes muka-menu-fade-in {
8734
+ from {
8735
+ opacity: 0;
8736
+ }
8737
+ to {
8738
+ opacity: 1;
8739
+ }
8948
8740
  }
8949
8741
 
8950
- .muka-media-viewer__meta {
8951
- flex-shrink: 0;
8742
+ @keyframes muka-menu-fade-out {
8743
+ from {
8744
+ opacity: 1;
8745
+ }
8746
+ to {
8747
+ opacity: 0;
8748
+ }
8952
8749
  }
8953
8750
 
8954
- .muka-media-viewer__actions {
8955
- display: flex;
8956
- flex-wrap: wrap;
8957
- gap: var(--spacing-2);
8751
+ @keyframes muka-menu-slide-up {
8752
+ from {
8753
+ opacity: 0;
8754
+ transform: translateY(4px);
8755
+ }
8756
+ to {
8757
+ opacity: 1;
8758
+ transform: translateY(0);
8759
+ }
8958
8760
  }
8959
8761
 
8960
- /* Mobile: actions stack full width, like Dialog footers. */
8961
- @media (max-width: 1023px) {
8962
- .muka-media-viewer__actions {
8963
- flex-direction: column;
8762
+ @keyframes muka-menu-slide-down {
8763
+ from {
8764
+ opacity: 0;
8765
+ transform: translateY(-4px);
8766
+ }
8767
+ to {
8768
+ opacity: 1;
8769
+ transform: translateY(0);
8964
8770
  }
8771
+ }
8965
8772
 
8966
- .muka-media-viewer__actions > * {
8967
- width: 100%;
8773
+ @keyframes muka-menu-slide-left {
8774
+ from {
8775
+ opacity: 0;
8776
+ transform: translateX(4px);
8777
+ }
8778
+ to {
8779
+ opacity: 1;
8780
+ transform: translateX(0);
8968
8781
  }
8969
8782
  }
8970
8783
 
8971
- /* ─── Reduced motion ──────────────────────────────────── */
8972
- @media (prefers-reduced-motion: reduce) {
8973
- .muka-media-viewer,
8974
- .muka-media-viewer__slide,
8975
- .muka-media-viewer__nav {
8976
- animation: none;
8977
- transition: none;
8784
+ @keyframes muka-menu-slide-right {
8785
+ from {
8786
+ opacity: 0;
8787
+ transform: translateX(-4px);
8788
+ }
8789
+ to {
8790
+ opacity: 1;
8791
+ transform: translateX(0);
8978
8792
  }
8979
8793
  }
8980
8794
 
@@ -9297,113 +9111,258 @@ li.muka-listitem {
9297
9111
  font-size: 13px;
9298
9112
  }
9299
9113
 
9300
- .muka-license-plate-input__plate--lg .muka-license-plate-input__country-code {
9301
- font-size: 16px;
9114
+ .muka-license-plate-input__plate--lg .muka-license-plate-input__country-code {
9115
+ font-size: 16px;
9116
+ }
9117
+
9118
+ /* Native input */
9119
+ .muka-license-plate-input__native {
9120
+ flex: 1;
9121
+ min-width: 0;
9122
+ border: none;
9123
+ outline: none;
9124
+ background: transparent;
9125
+ color: var(--plate-text);
9126
+ text-align: center;
9127
+ text-transform: uppercase;
9128
+ letter-spacing: 0.06em;
9129
+ /* Plate font — bold condensed sans is closest to the FE-Schrift look without
9130
+ shipping a custom font. JetBrains Mono is the system mono brand font. */
9131
+ font-family:
9132
+ 'Arial Narrow', 'Helvetica Neue', Helvetica, Arial, sans-serif;
9133
+ font-weight: 800;
9134
+ padding: 0 0.5em;
9135
+ width: 100%;
9136
+ caret-color: var(--plate-text);
9137
+ }
9138
+
9139
+ .muka-license-plate-input__plate--sm .muka-license-plate-input__native {
9140
+ font-size: 22px;
9141
+ }
9142
+
9143
+ .muka-license-plate-input__plate--md .muka-license-plate-input__native {
9144
+ font-size: 30px;
9145
+ }
9146
+
9147
+ .muka-license-plate-input__plate--lg .muka-license-plate-input__native {
9148
+ font-size: 42px;
9149
+ }
9150
+
9151
+ .muka-license-plate-input__native::placeholder {
9152
+ color: var(--plate-text);
9153
+ opacity: 0.55;
9154
+ font-weight: 700;
9155
+ letter-spacing: 0.08em;
9156
+ }
9157
+
9158
+ .muka-license-plate-input__plate--disabled .muka-license-plate-input__native {
9159
+ cursor: not-allowed;
9160
+ }
9161
+
9162
+ /* Helper text */
9163
+ .muka-license-plate-input__helper {
9164
+ font-family: var(--text-label-sm-regular-fontFamily);
9165
+ font-weight: var(--text-label-sm-regular-fontWeight);
9166
+ font-size: var(--text-label-sm-regular-fontSize);
9167
+ line-height: var(--text-label-sm-regular-lineHeight);
9168
+ color: var(--color-text-subtle-default);
9169
+ margin: 0;
9170
+ }
9171
+
9172
+ /* Error message */
9173
+ .muka-license-plate-input__error {
9174
+ font-family: var(--text-label-sm-regular-fontFamily);
9175
+ font-weight: var(--text-label-sm-regular-fontWeight);
9176
+ font-size: var(--text-label-sm-regular-fontSize);
9177
+ line-height: var(--text-label-sm-regular-lineHeight);
9178
+ color: var(--color-state-error-default);
9179
+ margin: 0;
9180
+ }
9181
+
9182
+
9183
+ /* MediaViewer */
9184
+ /* MediaViewer Component Styles - Using Muka Design Tokens */
9185
+
9186
+ /* ─── Native dialog: full viewport ────────────────────── */
9187
+ .muka-media-viewer {
9188
+ position: fixed;
9189
+ inset: 0;
9190
+ width: 100%;
9191
+ height: 100%;
9192
+ max-width: none;
9193
+ max-height: none;
9194
+ margin: 0;
9195
+ padding: 0;
9196
+ border: none;
9197
+ display: flex;
9198
+ flex-direction: column;
9199
+ overflow: hidden;
9200
+ overscroll-behavior: contain;
9201
+ color: var(--color-text-default-default);
9202
+ background-color: var(--color-black-alpha-12);
9203
+ animation: muka-media-viewer-in var(--motion-duration-component) var(--motion-easing-enter);
9204
+ }
9205
+
9206
+ .muka-media-viewer:not([open]) {
9207
+ display: none;
9208
+ }
9209
+
9210
+ .muka-media-viewer::backdrop {
9211
+ background-color: var(--color-black-alpha-12);
9212
+ }
9213
+
9214
+ @keyframes muka-media-viewer-in {
9215
+ from {
9216
+ opacity: 0;
9217
+ }
9218
+ to {
9219
+ opacity: 1;
9220
+ }
9221
+ }
9222
+
9223
+ /* ─── Chrome: TopBar and footer sit on a surface ──────── */
9224
+ .muka-media-viewer__topbar {
9225
+ flex-shrink: 0;
9226
+ background-color: var(--color-surface-level3);
9227
+ }
9228
+
9229
+ .muka-media-viewer__live {
9230
+ position: absolute;
9231
+ width: 1px;
9232
+ height: 1px;
9233
+ padding: 0;
9234
+ margin: -1px;
9235
+ overflow: hidden;
9236
+ clip: rect(0, 0, 0, 0);
9237
+ white-space: nowrap;
9238
+ border: 0;
9239
+ }
9240
+
9241
+ /* ─── Stage: the dark area the images slide across ────── */
9242
+ .muka-media-viewer__stage {
9243
+ position: relative;
9244
+ flex: 1 1 auto;
9245
+ min-height: 0;
9246
+ overflow: hidden;
9247
+ /* Gestures are handled in JS: no browser panning or pinch on the stage. */
9248
+ touch-action: none;
9249
+ user-select: none;
9250
+ -webkit-user-select: none;
9302
9251
  }
9303
9252
 
9304
- /* Native input */
9305
- .muka-license-plate-input__native {
9306
- flex: 1;
9307
- min-width: 0;
9308
- border: none;
9309
- outline: none;
9310
- background: transparent;
9311
- color: var(--plate-text);
9312
- text-align: center;
9313
- text-transform: uppercase;
9314
- letter-spacing: 0.06em;
9315
- /* Plate font — bold condensed sans is closest to the FE-Schrift look without
9316
- shipping a custom font. JetBrains Mono is the system mono brand font. */
9317
- font-family:
9318
- 'Arial Narrow', 'Helvetica Neue', Helvetica, Arial, sans-serif;
9319
- font-weight: 800;
9320
- padding: 0 0.5em;
9321
- width: 100%;
9322
- caret-color: var(--plate-text);
9253
+ .muka-media-viewer__slide {
9254
+ position: absolute;
9255
+ inset: 0;
9256
+ display: flex;
9257
+ align-items: center;
9258
+ justify-content: center;
9259
+ padding: var(--spacing-4);
9260
+ transition: transform var(--motion-duration-component) var(--motion-easing-default);
9261
+ will-change: transform;
9323
9262
  }
9324
9263
 
9325
- .muka-license-plate-input__plate--sm .muka-license-plate-input__native {
9326
- font-size: 22px;
9264
+ /* While a finger drags, the image follows it without easing. */
9265
+ .muka-media-viewer--dragging .muka-media-viewer__slide {
9266
+ transition: none;
9327
9267
  }
9328
9268
 
9329
- .muka-license-plate-input__plate--md .muka-license-plate-input__native {
9330
- font-size: 30px;
9269
+ .muka-media-viewer__image {
9270
+ display: block;
9271
+ max-width: 100%;
9272
+ max-height: 100%;
9273
+ object-fit: contain;
9274
+ /* The image takes touches, so a long press opens the OS menu (save, share,
9275
+ copy). The swipe still works: pointer events bubble to the stage, and a
9276
+ long press doesn't move far enough to start a drag. */
9277
+ -webkit-touch-callout: default;
9331
9278
  }
9332
9279
 
9333
- .muka-license-plate-input__plate--lg .muka-license-plate-input__native {
9334
- font-size: 42px;
9280
+ /* ─── Previous / next: devices that can hover ─────────── */
9281
+ .muka-media-viewer__nav {
9282
+ position: absolute;
9283
+ top: 50%;
9284
+ display: none;
9285
+ transform: translateY(-50%);
9286
+ opacity: 0;
9287
+ transition: opacity var(--motion-duration-micro) var(--motion-easing-enter);
9335
9288
  }
9336
9289
 
9337
- .muka-license-plate-input__native::placeholder {
9338
- color: var(--plate-text);
9339
- opacity: 0.55;
9340
- font-weight: 700;
9341
- letter-spacing: 0.08em;
9290
+ .muka-media-viewer__nav--previous {
9291
+ left: var(--spacing-4);
9342
9292
  }
9343
9293
 
9344
- .muka-license-plate-input__plate--disabled .muka-license-plate-input__native {
9345
- cursor: not-allowed;
9294
+ .muka-media-viewer__nav--next {
9295
+ right: var(--spacing-4);
9346
9296
  }
9347
9297
 
9348
- /* Helper text */
9349
- .muka-license-plate-input__helper {
9350
- font-family: var(--text-label-sm-regular-fontFamily);
9351
- font-weight: var(--text-label-sm-regular-fontWeight);
9352
- font-size: var(--text-label-sm-regular-fontSize);
9353
- line-height: var(--text-label-sm-regular-lineHeight);
9354
- color: var(--color-text-subtle-default);
9355
- margin: 0;
9356
- }
9298
+ @media (hover: hover) and (pointer: fine) {
9299
+ .muka-media-viewer__nav {
9300
+ display: block;
9301
+ }
9357
9302
 
9358
- /* Error message */
9359
- .muka-license-plate-input__error {
9360
- font-family: var(--text-label-sm-regular-fontFamily);
9361
- font-weight: var(--text-label-sm-regular-fontWeight);
9362
- font-size: var(--text-label-sm-regular-fontSize);
9363
- line-height: var(--text-label-sm-regular-lineHeight);
9364
- color: var(--color-state-error-default);
9365
- margin: 0;
9303
+ .muka-media-viewer__stage:hover .muka-media-viewer__nav,
9304
+ .muka-media-viewer__nav:focus-within {
9305
+ opacity: 1;
9306
+ }
9366
9307
  }
9367
9308
 
9309
+ /* ─── Footer: caption, meta and actions ───────────────── */
9310
+ .muka-media-viewer__footer {
9311
+ flex-shrink: 0;
9312
+ display: flex;
9313
+ flex-direction: column;
9314
+ gap: var(--spacing-3);
9315
+ padding: var(--spacing-4);
9316
+ padding-bottom: calc(var(--spacing-4) + env(safe-area-inset-bottom, 0px));
9317
+ background-color: var(--color-surface-level3);
9318
+ }
9368
9319
 
9369
- /* Label */
9370
- /* Label Component Styles - Using Muka Design Tokens */
9371
-
9372
- .muka-label {
9373
- display: inline-flex;
9374
- align-items: center;
9375
- color: var(--color-text-default-default);
9376
- cursor: pointer;
9320
+ .muka-media-viewer__details {
9321
+ display: flex;
9322
+ align-items: flex-start;
9323
+ justify-content: space-between;
9324
+ gap: var(--spacing-3);
9377
9325
  }
9378
9326
 
9379
- .muka-label--sm {
9380
- font-family: var(--text-label-sm-semibold-fontFamily);
9381
- font-weight: var(--text-label-sm-semibold-fontWeight);
9382
- font-size: var(--text-label-sm-semibold-fontSize);
9383
- line-height: var(--text-label-sm-semibold-lineHeight);
9327
+ .muka-media-viewer__caption {
9328
+ min-width: 0;
9329
+ color: var(--color-text-subtle-default);
9330
+ font-family: var(--text-body-sm-regular-fontFamily);
9331
+ font-size: var(--text-body-sm-regular-fontSize);
9332
+ font-weight: var(--text-body-sm-regular-fontWeight);
9333
+ line-height: var(--text-body-sm-regular-lineHeight);
9334
+ overflow-wrap: anywhere;
9384
9335
  }
9385
9336
 
9386
- .muka-label--md {
9387
- font-family: var(--text-label-md-semibold-fontFamily);
9388
- font-weight: var(--text-label-md-semibold-fontWeight);
9389
- font-size: var(--text-label-md-semibold-fontSize);
9390
- line-height: var(--text-label-md-semibold-lineHeight);
9337
+ .muka-media-viewer__meta {
9338
+ flex-shrink: 0;
9391
9339
  }
9392
9340
 
9393
- .muka-label--lg {
9394
- font-family: var(--text-label-lg-semibold-fontFamily);
9395
- font-weight: var(--text-label-lg-semibold-fontWeight);
9396
- font-size: var(--text-label-lg-semibold-fontSize);
9397
- line-height: var(--text-label-lg-semibold-lineHeight);
9341
+ .muka-media-viewer__actions {
9342
+ display: flex;
9343
+ flex-wrap: wrap;
9344
+ gap: var(--spacing-2);
9398
9345
  }
9399
9346
 
9400
- .muka-label--disabled {
9401
- color: var(--color-text-subtle-default);
9402
- cursor: not-allowed;
9347
+ /* Mobile: actions stack full width, like Dialog footers. */
9348
+ @media (max-width: 1023px) {
9349
+ .muka-media-viewer__actions {
9350
+ flex-direction: column;
9351
+ }
9352
+
9353
+ .muka-media-viewer__actions > * {
9354
+ width: 100%;
9355
+ }
9403
9356
  }
9404
9357
 
9405
- .muka-label__required {
9406
- color: var(--color-state-error-default);
9358
+ /* ─── Reduced motion ──────────────────────────────────── */
9359
+ @media (prefers-reduced-motion: reduce) {
9360
+ .muka-media-viewer,
9361
+ .muka-media-viewer__slide,
9362
+ .muka-media-viewer__nav {
9363
+ animation: none;
9364
+ transition: none;
9365
+ }
9407
9366
  }
9408
9367
 
9409
9368
 
@@ -9866,26 +9825,6 @@ li.muka-listitem {
9866
9825
  }
9867
9826
 
9868
9827
 
9869
- /* Form */
9870
- .muka-form {
9871
- display: flex;
9872
- flex-direction: column;
9873
- width: 100%;
9874
- }
9875
-
9876
- .muka-form--gap-sm {
9877
- gap: var(--size-sm);
9878
- }
9879
-
9880
- .muka-form--gap-md {
9881
- gap: var(--size-md);
9882
- }
9883
-
9884
- .muka-form--gap-lg {
9885
- gap: var(--size-lg);
9886
- }
9887
-
9888
-
9889
9828
  /* Icon */
9890
9829
  /* Icon Component Styles - Using Muka Design Tokens */
9891
9830
 
@@ -9940,6 +9879,26 @@ li.muka-listitem {
9940
9879
  }
9941
9880
 
9942
9881
 
9882
+ /* Form */
9883
+ .muka-form {
9884
+ display: flex;
9885
+ flex-direction: column;
9886
+ width: 100%;
9887
+ }
9888
+
9889
+ .muka-form--gap-sm {
9890
+ gap: var(--size-sm);
9891
+ }
9892
+
9893
+ .muka-form--gap-md {
9894
+ gap: var(--size-md);
9895
+ }
9896
+
9897
+ .muka-form--gap-lg {
9898
+ gap: var(--size-lg);
9899
+ }
9900
+
9901
+
9943
9902
  /* FileUpload */
9944
9903
  /* FileUpload Component Styles */
9945
9904
 
@@ -10343,6 +10302,47 @@ li.muka-listitem {
10343
10302
  }
10344
10303
 
10345
10304
 
10305
+ /* Label */
10306
+ /* Label Component Styles - Using Muka Design Tokens */
10307
+
10308
+ .muka-label {
10309
+ display: inline-flex;
10310
+ align-items: center;
10311
+ color: var(--color-text-default-default);
10312
+ cursor: pointer;
10313
+ }
10314
+
10315
+ .muka-label--sm {
10316
+ font-family: var(--text-label-sm-semibold-fontFamily);
10317
+ font-weight: var(--text-label-sm-semibold-fontWeight);
10318
+ font-size: var(--text-label-sm-semibold-fontSize);
10319
+ line-height: var(--text-label-sm-semibold-lineHeight);
10320
+ }
10321
+
10322
+ .muka-label--md {
10323
+ font-family: var(--text-label-md-semibold-fontFamily);
10324
+ font-weight: var(--text-label-md-semibold-fontWeight);
10325
+ font-size: var(--text-label-md-semibold-fontSize);
10326
+ line-height: var(--text-label-md-semibold-lineHeight);
10327
+ }
10328
+
10329
+ .muka-label--lg {
10330
+ font-family: var(--text-label-lg-semibold-fontFamily);
10331
+ font-weight: var(--text-label-lg-semibold-fontWeight);
10332
+ font-size: var(--text-label-lg-semibold-fontSize);
10333
+ line-height: var(--text-label-lg-semibold-lineHeight);
10334
+ }
10335
+
10336
+ .muka-label--disabled {
10337
+ color: var(--color-text-subtle-default);
10338
+ cursor: not-allowed;
10339
+ }
10340
+
10341
+ .muka-label__required {
10342
+ color: var(--color-state-error-default);
10343
+ }
10344
+
10345
+
10346
10346
  /* EmptyState */
10347
10347
  /* EmptyState Component Styles - Using Muka Design Tokens */
10348
10348
 
@@ -10506,234 +10506,6 @@ li.muka-listitem {
10506
10506
  }
10507
10507
 
10508
10508
 
10509
- /* DropdownSelect */
10510
- /* DropdownSelect — Figma Dropdown Menu form field (Menu + chips) */
10511
-
10512
- .muka-dropdown-select {
10513
- display: inline-flex;
10514
- flex-direction: column;
10515
- gap: var(--spacing-2);
10516
- min-width: 200px;
10517
- }
10518
-
10519
- .muka-dropdown-select--full-width {
10520
- width: 100%;
10521
- }
10522
-
10523
- .muka-dropdown-select__label {
10524
- color: var(--color-text-default-default);
10525
- cursor: pointer;
10526
- }
10527
-
10528
- .muka-dropdown-select__label--sm {
10529
- font-family: var(--text-label-sm-semibold-fontFamily);
10530
- font-weight: var(--text-label-sm-semibold-fontWeight);
10531
- font-size: var(--text-label-sm-semibold-fontSize);
10532
- line-height: var(--text-label-sm-semibold-lineHeight);
10533
- }
10534
-
10535
- .muka-dropdown-select__label--md {
10536
- font-family: var(--text-label-md-semibold-fontFamily);
10537
- font-weight: var(--text-label-md-semibold-fontWeight);
10538
- font-size: var(--text-label-md-semibold-fontSize);
10539
- line-height: var(--text-label-md-semibold-lineHeight);
10540
- }
10541
-
10542
- .muka-dropdown-select__label--lg {
10543
- font-family: var(--text-label-lg-semibold-fontFamily);
10544
- font-weight: var(--text-label-lg-semibold-fontWeight);
10545
- font-size: var(--text-label-lg-semibold-fontSize);
10546
- line-height: var(--text-label-lg-semibold-lineHeight);
10547
- }
10548
-
10549
- .muka-dropdown-select__required {
10550
- color: var(--color-state-error-default);
10551
- }
10552
-
10553
- .muka-dropdown-select__field {
10554
- display: flex;
10555
- align-items: center;
10556
- gap: var(--spacing-1);
10557
- width: 100%;
10558
- position: relative;
10559
- box-sizing: border-box;
10560
- background-color: var(--input-field-color-default-background);
10561
- border: var(--border-width-regular) solid var(--input-field-color-default-border);
10562
- border-radius: var(--input-field-radius-lg);
10563
- padding: var(--spacing-2);
10564
- padding-right: calc(var(--spacing-2) + var(--size-2xl, 2rem));
10565
- text-align: left;
10566
- cursor: pointer;
10567
- color: var(--color-text-default-default);
10568
- transition: border-color 0.12s ease, background-color 0.12s ease;
10569
- -webkit-tap-highlight-color: transparent;
10570
- }
10571
-
10572
- .muka-dropdown-select__field::after {
10573
- content: '';
10574
- position: absolute;
10575
- inset: 0;
10576
- border-radius: inherit;
10577
- box-shadow: inset 0 1px 2px 0 rgba(26, 26, 26, 0.08);
10578
- pointer-events: none;
10579
- }
10580
-
10581
- .muka-dropdown-select__field--sm {
10582
- min-height: var(--input-field-height-sm);
10583
- border-radius: var(--input-field-radius-sm);
10584
- padding-right: calc(var(--spacing-2) + var(--size-xl, 1.5rem));
10585
- }
10586
-
10587
- .muka-dropdown-select__field--md {
10588
- min-height: var(--input-field-height-default);
10589
- border-radius: var(--input-field-radius-md);
10590
- }
10591
-
10592
- .muka-dropdown-select__field--lg {
10593
- min-height: var(--input-field-height-lg);
10594
- border-radius: var(--input-field-radius-lg);
10595
- }
10596
-
10597
- .muka-dropdown-select__field--focused:not(.muka-dropdown-select__field--disabled) {
10598
- border-width: var(--border-width-bold);
10599
- border-color: var(--input-field-color-focus-border);
10600
- background-color: var(--input-field-color-focus-background);
10601
- padding: calc(var(--spacing-2) - 1px);
10602
- padding-right: calc(var(--spacing-2) + var(--size-2xl, 2rem) - 1px);
10603
- }
10604
-
10605
- .muka-dropdown-select__field--sm.muka-dropdown-select__field--focused:not(.muka-dropdown-select__field--disabled) {
10606
- padding-right: calc(var(--spacing-2) + var(--size-xl, 1.5rem) - 1px);
10607
- }
10608
-
10609
- .muka-dropdown-select__field--error:not(.muka-dropdown-select__field--disabled) {
10610
- border-color: var(--color-state-error-contrast);
10611
- }
10612
-
10613
- .muka-dropdown-select__field--disabled {
10614
- opacity: 0.5;
10615
- cursor: not-allowed;
10616
- }
10617
-
10618
- .muka-dropdown-select__content {
10619
- position: relative;
10620
- z-index: 1;
10621
- display: flex;
10622
- flex: 1 1 auto;
10623
- min-width: 0;
10624
- align-items: center;
10625
- /* Let empty-field / value clicks reach the full-field MenuTrigger underneath. */
10626
- pointer-events: none;
10627
- }
10628
-
10629
- .muka-dropdown-select__placeholder {
10630
- color: var(--color-text-subtle-default);
10631
- font-family: var(--text-label-md-regular-fontFamily);
10632
- font-size: var(--text-label-md-regular-fontSize);
10633
- font-weight: var(--text-label-md-regular-fontWeight);
10634
- line-height: var(--text-label-md-regular-lineHeight);
10635
- padding-inline: var(--spacing-1);
10636
- }
10637
-
10638
- .muka-dropdown-select__value {
10639
- font-family: var(--text-label-md-regular-fontFamily);
10640
- font-size: var(--text-label-md-regular-fontSize);
10641
- font-weight: var(--text-label-md-regular-fontWeight);
10642
- line-height: var(--text-label-md-regular-lineHeight);
10643
- padding-inline: var(--spacing-1);
10644
- white-space: nowrap;
10645
- overflow: hidden;
10646
- text-overflow: ellipsis;
10647
- }
10648
-
10649
- .muka-dropdown-select__chips {
10650
- display: flex;
10651
- flex: 1 1 auto;
10652
- flex-wrap: wrap;
10653
- gap: var(--spacing-2);
10654
- align-items: flex-start;
10655
- min-width: 0;
10656
- /* Chip remove controls must remain clickable above the field hit target. */
10657
- pointer-events: auto;
10658
- }
10659
-
10660
- .muka-dropdown-select__field--multiline {
10661
- align-items: flex-start;
10662
- min-height: 7rem;
10663
- }
10664
-
10665
- .muka-dropdown-select__menu-button {
10666
- position: absolute;
10667
- inset: 0;
10668
- z-index: 0;
10669
- display: inline-flex;
10670
- align-items: center;
10671
- justify-content: flex-end;
10672
- width: auto;
10673
- height: auto;
10674
- padding: 0;
10675
- padding-right: var(--spacing-2);
10676
- border: none;
10677
- border-radius: inherit;
10678
- background: transparent;
10679
- color: var(--color-text-subtle-default);
10680
- cursor: pointer;
10681
- }
10682
-
10683
- .muka-dropdown-select__field--multiline .muka-dropdown-select__menu-button {
10684
- align-items: flex-start;
10685
- padding-top: calc(var(--spacing-2) + 8px);
10686
- }
10687
-
10688
- .muka-dropdown-select__chevron {
10689
- display: inline-flex;
10690
- align-items: center;
10691
- justify-content: center;
10692
- width: var(--size-2xl, 2rem);
10693
- height: var(--size-2xl, 2rem);
10694
- pointer-events: none;
10695
- color: var(--color-text-subtle-default);
10696
- }
10697
-
10698
- .muka-dropdown-select__chevron .muka-icon,
10699
- .muka-dropdown-select__menu-button:hover .muka-dropdown-select__chevron,
10700
- .muka-dropdown-select__menu-button:hover .muka-icon {
10701
- color: var(--color-text-subtle-default);
10702
- }
10703
-
10704
- .muka-dropdown-select__field--sm .muka-dropdown-select__chevron {
10705
- width: var(--size-xl, 1.5rem);
10706
- height: var(--size-xl, 1.5rem);
10707
- }
10708
-
10709
- .muka-dropdown-select__menu-button:focus-visible {
10710
- outline: 2px solid var(--color-border-focus, var(--color-action-default));
10711
- outline-offset: 2px;
10712
- }
10713
-
10714
- .muka-dropdown-select__helper {
10715
- margin: 0;
10716
- color: var(--color-text-subtle-default);
10717
- font-family: var(--text-label-sm-regular-fontFamily);
10718
- font-size: var(--text-label-sm-regular-fontSize);
10719
- font-weight: var(--text-label-sm-regular-fontWeight);
10720
- line-height: var(--text-label-sm-regular-lineHeight);
10721
- }
10722
-
10723
- .muka-dropdown-select__error {
10724
- margin: 0;
10725
- color: var(--color-state-error-default);
10726
- font-family: var(--text-label-sm-regular-fontFamily);
10727
- font-size: var(--text-label-sm-regular-fontSize);
10728
- font-weight: var(--text-label-sm-regular-fontWeight);
10729
- line-height: var(--text-label-sm-regular-lineHeight);
10730
- }
10731
-
10732
- .muka-dropdown-select__menu {
10733
- /* Uses Menu min-width (280px); grows with long labels; left-aligned to the field. */
10734
- }
10735
-
10736
-
10737
10509
  /* Drawer */
10738
10510
  /* Drawer Component Styles */
10739
10511
 
@@ -11169,6 +10941,33 @@ li.muka-listitem {
11169
10941
  }
11170
10942
 
11171
10943
 
10944
+ /* Divider */
10945
+ /* Divider Component Styles - Using Muka Design Tokens */
10946
+
10947
+ .muka-divider {
10948
+ flex-shrink: 0;
10949
+ }
10950
+
10951
+ .muka-divider--horizontal {
10952
+ width: 100%;
10953
+ height: var(--separator-width);
10954
+ }
10955
+
10956
+ .muka-divider--vertical {
10957
+ height: 100%;
10958
+ width: var(--separator-width);
10959
+ align-self: stretch;
10960
+ }
10961
+
10962
+ .muka-divider--default {
10963
+ background-color: var(--separator-color-default);
10964
+ }
10965
+
10966
+ .muka-divider--contrast {
10967
+ background-color: var(--separator-color-contrast);
10968
+ }
10969
+
10970
+
11172
10971
  /* Dialog */
11173
10972
  /* Dialog Component Styles */
11174
10973
 
@@ -11440,33 +11239,6 @@ li.muka-listitem {
11440
11239
  }
11441
11240
 
11442
11241
 
11443
- /* Divider */
11444
- /* Divider Component Styles - Using Muka Design Tokens */
11445
-
11446
- .muka-divider {
11447
- flex-shrink: 0;
11448
- }
11449
-
11450
- .muka-divider--horizontal {
11451
- width: 100%;
11452
- height: var(--separator-width);
11453
- }
11454
-
11455
- .muka-divider--vertical {
11456
- height: 100%;
11457
- width: var(--separator-width);
11458
- align-self: stretch;
11459
- }
11460
-
11461
- .muka-divider--default {
11462
- background-color: var(--separator-color-default);
11463
- }
11464
-
11465
- .muka-divider--contrast {
11466
- background-color: var(--separator-color-contrast);
11467
- }
11468
-
11469
-
11470
11242
  /* DatePicker */
11471
11243
  /* DatePicker — compact native date field. */
11472
11244
  /* Field/label/helper styling is inherited from ../Input/Input.css. */
@@ -12871,6 +12643,234 @@ li.muka-listitem {
12871
12643
  }
12872
12644
 
12873
12645
 
12646
+ /* DropdownSelect */
12647
+ /* DropdownSelect — Figma Dropdown Menu form field (Menu + chips) */
12648
+
12649
+ .muka-dropdown-select {
12650
+ display: inline-flex;
12651
+ flex-direction: column;
12652
+ gap: var(--spacing-2);
12653
+ min-width: 200px;
12654
+ }
12655
+
12656
+ .muka-dropdown-select--full-width {
12657
+ width: 100%;
12658
+ }
12659
+
12660
+ .muka-dropdown-select__label {
12661
+ color: var(--color-text-default-default);
12662
+ cursor: pointer;
12663
+ }
12664
+
12665
+ .muka-dropdown-select__label--sm {
12666
+ font-family: var(--text-label-sm-semibold-fontFamily);
12667
+ font-weight: var(--text-label-sm-semibold-fontWeight);
12668
+ font-size: var(--text-label-sm-semibold-fontSize);
12669
+ line-height: var(--text-label-sm-semibold-lineHeight);
12670
+ }
12671
+
12672
+ .muka-dropdown-select__label--md {
12673
+ font-family: var(--text-label-md-semibold-fontFamily);
12674
+ font-weight: var(--text-label-md-semibold-fontWeight);
12675
+ font-size: var(--text-label-md-semibold-fontSize);
12676
+ line-height: var(--text-label-md-semibold-lineHeight);
12677
+ }
12678
+
12679
+ .muka-dropdown-select__label--lg {
12680
+ font-family: var(--text-label-lg-semibold-fontFamily);
12681
+ font-weight: var(--text-label-lg-semibold-fontWeight);
12682
+ font-size: var(--text-label-lg-semibold-fontSize);
12683
+ line-height: var(--text-label-lg-semibold-lineHeight);
12684
+ }
12685
+
12686
+ .muka-dropdown-select__required {
12687
+ color: var(--color-state-error-default);
12688
+ }
12689
+
12690
+ .muka-dropdown-select__field {
12691
+ display: flex;
12692
+ align-items: center;
12693
+ gap: var(--spacing-1);
12694
+ width: 100%;
12695
+ position: relative;
12696
+ box-sizing: border-box;
12697
+ background-color: var(--input-field-color-default-background);
12698
+ border: var(--border-width-regular) solid var(--input-field-color-default-border);
12699
+ border-radius: var(--input-field-radius-lg);
12700
+ padding: var(--spacing-2);
12701
+ padding-right: calc(var(--spacing-2) + var(--size-2xl, 2rem));
12702
+ text-align: left;
12703
+ cursor: pointer;
12704
+ color: var(--color-text-default-default);
12705
+ transition: border-color 0.12s ease, background-color 0.12s ease;
12706
+ -webkit-tap-highlight-color: transparent;
12707
+ }
12708
+
12709
+ .muka-dropdown-select__field::after {
12710
+ content: '';
12711
+ position: absolute;
12712
+ inset: 0;
12713
+ border-radius: inherit;
12714
+ box-shadow: inset 0 1px 2px 0 rgba(26, 26, 26, 0.08);
12715
+ pointer-events: none;
12716
+ }
12717
+
12718
+ .muka-dropdown-select__field--sm {
12719
+ min-height: var(--input-field-height-sm);
12720
+ border-radius: var(--input-field-radius-sm);
12721
+ padding-right: calc(var(--spacing-2) + var(--size-xl, 1.5rem));
12722
+ }
12723
+
12724
+ .muka-dropdown-select__field--md {
12725
+ min-height: var(--input-field-height-default);
12726
+ border-radius: var(--input-field-radius-md);
12727
+ }
12728
+
12729
+ .muka-dropdown-select__field--lg {
12730
+ min-height: var(--input-field-height-lg);
12731
+ border-radius: var(--input-field-radius-lg);
12732
+ }
12733
+
12734
+ .muka-dropdown-select__field--focused:not(.muka-dropdown-select__field--disabled) {
12735
+ border-width: var(--border-width-bold);
12736
+ border-color: var(--input-field-color-focus-border);
12737
+ background-color: var(--input-field-color-focus-background);
12738
+ padding: calc(var(--spacing-2) - 1px);
12739
+ padding-right: calc(var(--spacing-2) + var(--size-2xl, 2rem) - 1px);
12740
+ }
12741
+
12742
+ .muka-dropdown-select__field--sm.muka-dropdown-select__field--focused:not(.muka-dropdown-select__field--disabled) {
12743
+ padding-right: calc(var(--spacing-2) + var(--size-xl, 1.5rem) - 1px);
12744
+ }
12745
+
12746
+ .muka-dropdown-select__field--error:not(.muka-dropdown-select__field--disabled) {
12747
+ border-color: var(--color-state-error-contrast);
12748
+ }
12749
+
12750
+ .muka-dropdown-select__field--disabled {
12751
+ opacity: 0.5;
12752
+ cursor: not-allowed;
12753
+ }
12754
+
12755
+ .muka-dropdown-select__content {
12756
+ position: relative;
12757
+ z-index: 1;
12758
+ display: flex;
12759
+ flex: 1 1 auto;
12760
+ min-width: 0;
12761
+ align-items: center;
12762
+ /* Let empty-field / value clicks reach the full-field MenuTrigger underneath. */
12763
+ pointer-events: none;
12764
+ }
12765
+
12766
+ .muka-dropdown-select__placeholder {
12767
+ color: var(--color-text-subtle-default);
12768
+ font-family: var(--text-label-md-regular-fontFamily);
12769
+ font-size: var(--text-label-md-regular-fontSize);
12770
+ font-weight: var(--text-label-md-regular-fontWeight);
12771
+ line-height: var(--text-label-md-regular-lineHeight);
12772
+ padding-inline: var(--spacing-1);
12773
+ }
12774
+
12775
+ .muka-dropdown-select__value {
12776
+ font-family: var(--text-label-md-regular-fontFamily);
12777
+ font-size: var(--text-label-md-regular-fontSize);
12778
+ font-weight: var(--text-label-md-regular-fontWeight);
12779
+ line-height: var(--text-label-md-regular-lineHeight);
12780
+ padding-inline: var(--spacing-1);
12781
+ white-space: nowrap;
12782
+ overflow: hidden;
12783
+ text-overflow: ellipsis;
12784
+ }
12785
+
12786
+ .muka-dropdown-select__chips {
12787
+ display: flex;
12788
+ flex: 1 1 auto;
12789
+ flex-wrap: wrap;
12790
+ gap: var(--spacing-2);
12791
+ align-items: flex-start;
12792
+ min-width: 0;
12793
+ /* Chip remove controls must remain clickable above the field hit target. */
12794
+ pointer-events: auto;
12795
+ }
12796
+
12797
+ .muka-dropdown-select__field--multiline {
12798
+ align-items: flex-start;
12799
+ min-height: 7rem;
12800
+ }
12801
+
12802
+ .muka-dropdown-select__menu-button {
12803
+ position: absolute;
12804
+ inset: 0;
12805
+ z-index: 0;
12806
+ display: inline-flex;
12807
+ align-items: center;
12808
+ justify-content: flex-end;
12809
+ width: auto;
12810
+ height: auto;
12811
+ padding: 0;
12812
+ padding-right: var(--spacing-2);
12813
+ border: none;
12814
+ border-radius: inherit;
12815
+ background: transparent;
12816
+ color: var(--color-text-subtle-default);
12817
+ cursor: pointer;
12818
+ }
12819
+
12820
+ .muka-dropdown-select__field--multiline .muka-dropdown-select__menu-button {
12821
+ align-items: flex-start;
12822
+ padding-top: calc(var(--spacing-2) + 8px);
12823
+ }
12824
+
12825
+ .muka-dropdown-select__chevron {
12826
+ display: inline-flex;
12827
+ align-items: center;
12828
+ justify-content: center;
12829
+ width: var(--size-2xl, 2rem);
12830
+ height: var(--size-2xl, 2rem);
12831
+ pointer-events: none;
12832
+ color: var(--color-text-subtle-default);
12833
+ }
12834
+
12835
+ .muka-dropdown-select__chevron .muka-icon,
12836
+ .muka-dropdown-select__menu-button:hover .muka-dropdown-select__chevron,
12837
+ .muka-dropdown-select__menu-button:hover .muka-icon {
12838
+ color: var(--color-text-subtle-default);
12839
+ }
12840
+
12841
+ .muka-dropdown-select__field--sm .muka-dropdown-select__chevron {
12842
+ width: var(--size-xl, 1.5rem);
12843
+ height: var(--size-xl, 1.5rem);
12844
+ }
12845
+
12846
+ .muka-dropdown-select__menu-button:focus-visible {
12847
+ outline: 2px solid var(--color-border-focus, var(--color-action-default));
12848
+ outline-offset: 2px;
12849
+ }
12850
+
12851
+ .muka-dropdown-select__helper {
12852
+ margin: 0;
12853
+ color: var(--color-text-subtle-default);
12854
+ font-family: var(--text-label-sm-regular-fontFamily);
12855
+ font-size: var(--text-label-sm-regular-fontSize);
12856
+ font-weight: var(--text-label-sm-regular-fontWeight);
12857
+ line-height: var(--text-label-sm-regular-lineHeight);
12858
+ }
12859
+
12860
+ .muka-dropdown-select__error {
12861
+ margin: 0;
12862
+ color: var(--color-state-error-default);
12863
+ font-family: var(--text-label-sm-regular-fontFamily);
12864
+ font-size: var(--text-label-sm-regular-fontSize);
12865
+ font-weight: var(--text-label-sm-regular-fontWeight);
12866
+ line-height: var(--text-label-sm-regular-lineHeight);
12867
+ }
12868
+
12869
+ .muka-dropdown-select__menu {
12870
+ /* Uses Menu min-width (280px); grows with long labels; left-aligned to the field. */
12871
+ }
12872
+
12873
+
12874
12874
  /* Checkbox */
12875
12875
  /* Checkbox Component Styles - Using Muka Design Tokens */
12876
12876