@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.
@@ -4789,84 +4789,6 @@ body {
4789
4789
  }
4790
4790
 
4791
4791
 
4792
- /* Spinner */
4793
- /* Spinner Component Styles */
4794
-
4795
- .muka-spinner {
4796
- display: inline-flex;
4797
- align-items: center;
4798
- justify-content: center;
4799
- color: var(--color-text-default-default);
4800
- line-height: 0;
4801
- }
4802
-
4803
- .muka-spinner--subtle {
4804
- color: var(--color-text-subtle-default);
4805
- }
4806
-
4807
- .muka-spinner--inverse {
4808
- color: var(--color-text-default-inverse);
4809
- }
4810
-
4811
- .muka-spinner__circle {
4812
- display: inline-block;
4813
- border-radius: 50%;
4814
- border-style: solid;
4815
- border-color: currentColor;
4816
- border-right-color: transparent;
4817
- animation: muka-spinner-rotate 0.7s linear infinite;
4818
- box-sizing: border-box;
4819
- }
4820
-
4821
- /* ─── Sizes ───────────────────────────────────────────── */
4822
-
4823
- .muka-spinner--sm .muka-spinner__circle {
4824
- width: 16px;
4825
- height: 16px;
4826
- border-width: 2px;
4827
- }
4828
-
4829
- .muka-spinner--md .muka-spinner__circle {
4830
- width: 20px;
4831
- height: 20px;
4832
- border-width: 2px;
4833
- }
4834
-
4835
- .muka-spinner--lg .muka-spinner__circle {
4836
- width: 24px;
4837
- height: 24px;
4838
- border-width: 3px;
4839
- }
4840
-
4841
- /* ─── Visually-hidden label ───────────────────────────── */
4842
-
4843
- .muka-spinner__sr-label {
4844
- position: absolute;
4845
- width: 1px;
4846
- height: 1px;
4847
- padding: 0;
4848
- margin: -1px;
4849
- overflow: hidden;
4850
- clip: rect(0, 0, 0, 0);
4851
- white-space: nowrap;
4852
- border: 0;
4853
- }
4854
-
4855
- /* ─── Reduced motion ──────────────────────────────────── */
4856
-
4857
- @keyframes muka-spinner-rotate {
4858
- to {
4859
- transform: rotate(360deg);
4860
- }
4861
- }
4862
-
4863
- @media (prefers-reduced-motion: reduce) {
4864
- .muka-spinner__circle {
4865
- animation-duration: 2.5s;
4866
- }
4867
- }
4868
-
4869
-
4870
4792
  /* SpecList */
4871
4793
  /* SpecList Component Styles */
4872
4794
 
@@ -4952,6 +4874,84 @@ body {
4952
4874
  }
4953
4875
 
4954
4876
 
4877
+ /* Spinner */
4878
+ /* Spinner Component Styles */
4879
+
4880
+ .muka-spinner {
4881
+ display: inline-flex;
4882
+ align-items: center;
4883
+ justify-content: center;
4884
+ color: var(--color-text-default-default);
4885
+ line-height: 0;
4886
+ }
4887
+
4888
+ .muka-spinner--subtle {
4889
+ color: var(--color-text-subtle-default);
4890
+ }
4891
+
4892
+ .muka-spinner--inverse {
4893
+ color: var(--color-text-default-inverse);
4894
+ }
4895
+
4896
+ .muka-spinner__circle {
4897
+ display: inline-block;
4898
+ border-radius: 50%;
4899
+ border-style: solid;
4900
+ border-color: currentColor;
4901
+ border-right-color: transparent;
4902
+ animation: muka-spinner-rotate 0.7s linear infinite;
4903
+ box-sizing: border-box;
4904
+ }
4905
+
4906
+ /* ─── Sizes ───────────────────────────────────────────── */
4907
+
4908
+ .muka-spinner--sm .muka-spinner__circle {
4909
+ width: 16px;
4910
+ height: 16px;
4911
+ border-width: 2px;
4912
+ }
4913
+
4914
+ .muka-spinner--md .muka-spinner__circle {
4915
+ width: 20px;
4916
+ height: 20px;
4917
+ border-width: 2px;
4918
+ }
4919
+
4920
+ .muka-spinner--lg .muka-spinner__circle {
4921
+ width: 24px;
4922
+ height: 24px;
4923
+ border-width: 3px;
4924
+ }
4925
+
4926
+ /* ─── Visually-hidden label ───────────────────────────── */
4927
+
4928
+ .muka-spinner__sr-label {
4929
+ position: absolute;
4930
+ width: 1px;
4931
+ height: 1px;
4932
+ padding: 0;
4933
+ margin: -1px;
4934
+ overflow: hidden;
4935
+ clip: rect(0, 0, 0, 0);
4936
+ white-space: nowrap;
4937
+ border: 0;
4938
+ }
4939
+
4940
+ /* ─── Reduced motion ──────────────────────────────────── */
4941
+
4942
+ @keyframes muka-spinner-rotate {
4943
+ to {
4944
+ transform: rotate(360deg);
4945
+ }
4946
+ }
4947
+
4948
+ @media (prefers-reduced-motion: reduce) {
4949
+ .muka-spinner__circle {
4950
+ animation-duration: 2.5s;
4951
+ }
4952
+ }
4953
+
4954
+
4955
4955
  /* SocialSignInButton */
4956
4956
  /*
4957
4957
  * SocialSignInButton lockup colors are provider-mandated (Apple HIG /
@@ -5102,86 +5102,6 @@ body {
5102
5102
  }
5103
5103
 
5104
5104
 
5105
- /* Sheet */
5106
- /* Sheet Component Styles */
5107
-
5108
- /* ─── Backdrop ────────────────────────────────────────── */
5109
-
5110
- .muka-sheet__overlay {
5111
- position: fixed;
5112
- inset: 0;
5113
- background-color: var(--color-surface-backdrop);
5114
- z-index: 50;
5115
- }
5116
-
5117
- /* ─── Surface ─────────────────────────────────────────── */
5118
-
5119
- .muka-sheet {
5120
- position: fixed;
5121
- left: 0;
5122
- right: 0;
5123
- bottom: 0;
5124
- z-index: 51;
5125
-
5126
- display: flex;
5127
- flex-direction: column;
5128
-
5129
- max-height: 96dvh;
5130
-
5131
- background-color: var(--color-surface-level3);
5132
- border-top-left-radius: var(--radius-lg);
5133
- border-top-right-radius: var(--radius-lg);
5134
- box-shadow: var(--shadow-level5);
5135
-
5136
- outline: none;
5137
- }
5138
-
5139
- /* Safe-area bottom inset for the iPhone home indicator. */
5140
- .muka-sheet:not(.muka-sheet--no-safe-area) {
5141
- padding-bottom: env(safe-area-inset-bottom);
5142
- }
5143
-
5144
- /* ─── Drag handle ─────────────────────────────────────── */
5145
-
5146
- .muka-sheet__handle-container {
5147
- display: flex;
5148
- justify-content: center;
5149
- flex-shrink: 0;
5150
- padding: var(--spacing-3) 0;
5151
- }
5152
-
5153
- .muka-sheet__handle {
5154
- width: var(--dialog-drag-handle-width);
5155
- height: var(--dialog-drag-handle-height);
5156
- background-color: var(--dialog-drag-handle-color);
5157
- border-radius: var(--dialog-drag-handle-radius);
5158
- }
5159
-
5160
- /* ─── Body (scrollable) ───────────────────────────────── */
5161
-
5162
- .muka-sheet__body {
5163
- flex: 1 1 0%;
5164
- min-height: 0;
5165
- overflow-y: auto;
5166
- -webkit-overflow-scrolling: touch;
5167
- overscroll-behavior: contain;
5168
- }
5169
-
5170
- /* ─── Visually-hidden title (a11y) ────────────────────── */
5171
-
5172
- .muka-sheet__sr-title {
5173
- position: absolute;
5174
- width: 1px;
5175
- height: 1px;
5176
- padding: 0;
5177
- margin: -1px;
5178
- overflow: hidden;
5179
- clip: rect(0, 0, 0, 0);
5180
- white-space: nowrap;
5181
- border: 0;
5182
- }
5183
-
5184
-
5185
5105
  /* SmsOtpField */
5186
5106
  /* SmsOtpField Component Styles - Using Muka Design Tokens */
5187
5107
 
@@ -5374,23 +5294,178 @@ body {
5374
5294
  }
5375
5295
 
5376
5296
 
5377
- /* Select */
5378
- /* Select Component Styles - Aligned with Input for consistency */
5297
+ /* Skeleton */
5298
+ /* Skeleton Component Styles */
5379
5299
 
5380
- .muka-select {
5381
- display: inline-flex;
5382
- flex-direction: column;
5383
- gap: var(--spacing-2);
5300
+ .muka-skeleton {
5301
+ background-color: var(--color-surface-level1);
5302
+ display: block;
5384
5303
  }
5385
5304
 
5386
- .muka-select--full-width {
5305
+ /* Variants */
5306
+ .muka-skeleton--text {
5307
+ height: 1em;
5308
+ border-radius: var(--radius-md);
5387
5309
  width: 100%;
5388
5310
  }
5389
5311
 
5390
- /* Label */
5391
- .muka-select__label {
5392
- color: var(--color-text-default-default);
5393
- cursor: pointer;
5312
+ .muka-skeleton--circular {
5313
+ width: 2.5rem;
5314
+ height: 2.5rem;
5315
+ border-radius: var(--radius-full);
5316
+ }
5317
+
5318
+ .muka-skeleton--rectangular {
5319
+ height: 7.5rem;
5320
+ border-radius: var(--radius-md);
5321
+ width: 100%;
5322
+ }
5323
+
5324
+ /* Last line in multi-line text is shorter */
5325
+ .muka-skeleton--last-line {
5326
+ width: 80%;
5327
+ }
5328
+
5329
+ /* Lines container */
5330
+ .muka-skeleton__lines {
5331
+ display: flex;
5332
+ flex-direction: column;
5333
+ gap: var(--spacing-2);
5334
+ }
5335
+
5336
+ /* Shimmer animation */
5337
+ @keyframes muka-skeleton-shimmer {
5338
+ 0% {
5339
+ background-position: -200% 0;
5340
+ }
5341
+ 100% {
5342
+ background-position: 200% 0;
5343
+ }
5344
+ }
5345
+
5346
+ .muka-skeleton--shimmer {
5347
+ background: linear-gradient(
5348
+ 90deg,
5349
+ var(--color-surface-level1) 25%,
5350
+ var(--color-surface-level2) 50%,
5351
+ var(--color-surface-level1) 75%
5352
+ );
5353
+ background-size: 200% 100%;
5354
+ animation: muka-skeleton-shimmer 1.5s ease-in-out infinite;
5355
+ }
5356
+
5357
+ /* Pulse animation */
5358
+ @keyframes muka-skeleton-pulse {
5359
+ 0%, 100% {
5360
+ opacity: 1;
5361
+ }
5362
+ 50% {
5363
+ opacity: 0.4;
5364
+ }
5365
+ }
5366
+
5367
+ .muka-skeleton--pulse {
5368
+ animation: muka-skeleton-pulse 1.5s ease-in-out infinite;
5369
+ }
5370
+
5371
+
5372
+ /* Sheet */
5373
+ /* Sheet Component Styles */
5374
+
5375
+ /* ─── Backdrop ────────────────────────────────────────── */
5376
+
5377
+ .muka-sheet__overlay {
5378
+ position: fixed;
5379
+ inset: 0;
5380
+ background-color: var(--color-surface-backdrop);
5381
+ z-index: 50;
5382
+ }
5383
+
5384
+ /* ─── Surface ─────────────────────────────────────────── */
5385
+
5386
+ .muka-sheet {
5387
+ position: fixed;
5388
+ left: 0;
5389
+ right: 0;
5390
+ bottom: 0;
5391
+ z-index: 51;
5392
+
5393
+ display: flex;
5394
+ flex-direction: column;
5395
+
5396
+ max-height: 96dvh;
5397
+
5398
+ background-color: var(--color-surface-level3);
5399
+ border-top-left-radius: var(--radius-lg);
5400
+ border-top-right-radius: var(--radius-lg);
5401
+ box-shadow: var(--shadow-level5);
5402
+
5403
+ outline: none;
5404
+ }
5405
+
5406
+ /* Safe-area bottom inset for the iPhone home indicator. */
5407
+ .muka-sheet:not(.muka-sheet--no-safe-area) {
5408
+ padding-bottom: env(safe-area-inset-bottom);
5409
+ }
5410
+
5411
+ /* ─── Drag handle ─────────────────────────────────────── */
5412
+
5413
+ .muka-sheet__handle-container {
5414
+ display: flex;
5415
+ justify-content: center;
5416
+ flex-shrink: 0;
5417
+ padding: var(--spacing-3) 0;
5418
+ }
5419
+
5420
+ .muka-sheet__handle {
5421
+ width: var(--dialog-drag-handle-width);
5422
+ height: var(--dialog-drag-handle-height);
5423
+ background-color: var(--dialog-drag-handle-color);
5424
+ border-radius: var(--dialog-drag-handle-radius);
5425
+ }
5426
+
5427
+ /* ─── Body (scrollable) ───────────────────────────────── */
5428
+
5429
+ .muka-sheet__body {
5430
+ flex: 1 1 0%;
5431
+ min-height: 0;
5432
+ overflow-y: auto;
5433
+ -webkit-overflow-scrolling: touch;
5434
+ overscroll-behavior: contain;
5435
+ }
5436
+
5437
+ /* ─── Visually-hidden title (a11y) ────────────────────── */
5438
+
5439
+ .muka-sheet__sr-title {
5440
+ position: absolute;
5441
+ width: 1px;
5442
+ height: 1px;
5443
+ padding: 0;
5444
+ margin: -1px;
5445
+ overflow: hidden;
5446
+ clip: rect(0, 0, 0, 0);
5447
+ white-space: nowrap;
5448
+ border: 0;
5449
+ }
5450
+
5451
+
5452
+ /* Select */
5453
+ /* Select Component Styles - Aligned with Input for consistency */
5454
+
5455
+ .muka-select {
5456
+ display: inline-flex;
5457
+ flex-direction: column;
5458
+ gap: var(--spacing-2);
5459
+ }
5460
+
5461
+ .muka-select--full-width {
5462
+ width: 100%;
5463
+ }
5464
+
5465
+ /* Label */
5466
+ .muka-select__label {
5467
+ color: var(--color-text-default-default);
5468
+ cursor: pointer;
5394
5469
  }
5395
5470
 
5396
5471
  .muka-select__label--sm {
@@ -5568,78 +5643,26 @@ body {
5568
5643
  }
5569
5644
 
5570
5645
 
5571
- /* Skeleton */
5572
- /* Skeleton Component Styles */
5573
-
5574
- .muka-skeleton {
5575
- background-color: var(--color-surface-level1);
5576
- display: block;
5577
- }
5578
-
5579
- /* Variants */
5580
- .muka-skeleton--text {
5581
- height: 1em;
5582
- border-radius: var(--radius-md);
5583
- width: 100%;
5584
- }
5585
-
5586
- .muka-skeleton--circular {
5587
- width: 2.5rem;
5588
- height: 2.5rem;
5589
- border-radius: var(--radius-full);
5590
- }
5591
-
5592
- .muka-skeleton--rectangular {
5593
- height: 7.5rem;
5594
- border-radius: var(--radius-md);
5595
- width: 100%;
5596
- }
5597
-
5598
- /* Last line in multi-line text is shorter */
5599
- .muka-skeleton--last-line {
5600
- width: 80%;
5601
- }
5602
-
5603
- /* Lines container */
5604
- .muka-skeleton__lines {
5605
- display: flex;
5606
- flex-direction: column;
5607
- gap: var(--spacing-2);
5608
- }
5646
+ /* Section */
5647
+ /* Section Component - Layout tokens (section.padding) */
5609
5648
 
5610
- /* Shimmer animation */
5611
- @keyframes muka-skeleton-shimmer {
5612
- 0% {
5613
- background-position: -200% 0;
5614
- }
5615
- 100% {
5616
- background-position: 200% 0;
5617
- }
5649
+ .muka-section {
5650
+ box-sizing: border-box;
5618
5651
  }
5619
5652
 
5620
- .muka-skeleton--shimmer {
5621
- background: linear-gradient(
5622
- 90deg,
5623
- var(--color-surface-level1) 25%,
5624
- var(--color-surface-level2) 50%,
5625
- var(--color-surface-level1) 75%
5626
- );
5627
- background-size: 200% 100%;
5628
- animation: muka-skeleton-shimmer 1.5s ease-in-out infinite;
5653
+ .muka-section--padding-compact {
5654
+ padding-block: var(--section-padding-vertical-compact);
5655
+ padding-inline: var(--section-padding-horizontal-compact);
5629
5656
  }
5630
5657
 
5631
- /* Pulse animation */
5632
- @keyframes muka-skeleton-pulse {
5633
- 0%, 100% {
5634
- opacity: 1;
5635
- }
5636
- 50% {
5637
- opacity: 0.4;
5638
- }
5658
+ .muka-section--padding-default {
5659
+ padding-block: var(--section-padding-vertical-default);
5660
+ padding-inline: var(--section-padding-horizontal-default);
5639
5661
  }
5640
5662
 
5641
- .muka-skeleton--pulse {
5642
- animation: muka-skeleton-pulse 1.5s ease-in-out infinite;
5663
+ .muka-section--padding-spacious {
5664
+ padding-block: var(--section-padding-vertical-spacious);
5665
+ padding-inline: var(--section-padding-horizontal-spacious);
5643
5666
  }
5644
5667
 
5645
5668
 
@@ -5831,26 +5854,172 @@ body {
5831
5854
  }
5832
5855
 
5833
5856
 
5834
- /* Section */
5835
- /* Section Component - Layout tokens (section.padding) */
5836
-
5837
- .muka-section {
5838
- box-sizing: border-box;
5839
- }
5857
+ /* SearchInput */
5858
+ /* SearchInput Component Styles */
5840
5859
 
5841
- .muka-section--padding-compact {
5842
- padding-block: var(--section-padding-vertical-compact);
5843
- padding-inline: var(--section-padding-horizontal-compact);
5860
+ .muka-search-input {
5861
+ display: flex;
5862
+ align-items: center;
5863
+ gap: var(--spacing-3);
5864
+ width: 100%;
5844
5865
  }
5845
5866
 
5846
- .muka-section--padding-default {
5847
- padding-block: var(--section-padding-vertical-default);
5848
- padding-inline: var(--section-padding-horizontal-default);
5849
- }
5867
+ /* ─── Field wrapper ───────────────────────────────────── */
5850
5868
 
5851
- .muka-section--padding-spacious {
5852
- padding-block: var(--section-padding-vertical-spacious);
5853
- padding-inline: var(--section-padding-horizontal-spacious);
5869
+ .muka-search-input__field {
5870
+ flex: 1 1 auto;
5871
+ display: flex;
5872
+ align-items: center;
5873
+ gap: var(--spacing-2);
5874
+ background-color: var(--input-field-color-default-background);
5875
+ border: var(--border-width-regular) solid var(--input-field-color-default-border);
5876
+ border-radius: var(--input-field-radius-md);
5877
+ padding: 0 var(--input-field-padding-x);
5878
+ transition: border-color 0.12s ease, background-color 0.12s ease;
5879
+ }
5880
+
5881
+ .muka-search-input--focused .muka-search-input__field {
5882
+ border-color: var(--input-field-color-focus-border, var(--color-action-default));
5883
+ }
5884
+
5885
+ /* ─── Sizes ───────────────────────────────────────────── */
5886
+
5887
+ .muka-search-input--sm .muka-search-input__field {
5888
+ min-height: var(--input-field-height-sm);
5889
+ border-radius: var(--input-field-radius-sm);
5890
+ }
5891
+
5892
+ .muka-search-input--md .muka-search-input__field {
5893
+ min-height: var(--input-field-height-default);
5894
+ }
5895
+
5896
+ .muka-search-input--lg .muka-search-input__field {
5897
+ min-height: var(--input-field-height-lg);
5898
+ border-radius: var(--input-field-radius-lg);
5899
+ }
5900
+
5901
+ /* ─── Embedded variant (e.g. inside TopBar) ───────────── */
5902
+
5903
+ .muka-search-input--embedded .muka-search-input__field {
5904
+ background-color: var(--color-surface-level1);
5905
+ border-color: transparent;
5906
+ }
5907
+
5908
+ .muka-search-input--embedded.muka-search-input--focused .muka-search-input__field {
5909
+ border-color: transparent;
5910
+ background-color: var(--color-surface-level2);
5911
+ }
5912
+
5913
+ /* ─── Disabled ────────────────────────────────────────── */
5914
+
5915
+ .muka-search-input--disabled .muka-search-input__field {
5916
+ opacity: 0.5;
5917
+ pointer-events: none;
5918
+ }
5919
+
5920
+ /* ─── Leading icon ────────────────────────────────────── */
5921
+
5922
+ .muka-search-input__leading {
5923
+ display: inline-flex;
5924
+ align-items: center;
5925
+ justify-content: center;
5926
+ flex-shrink: 0;
5927
+ color: var(--color-text-subtle-default);
5928
+ }
5929
+
5930
+ /* ─── Input element ───────────────────────────────────── */
5931
+
5932
+ .muka-search-input__input {
5933
+ flex: 1 1 auto;
5934
+ min-width: 0;
5935
+ border: none;
5936
+ background: transparent;
5937
+ outline: none;
5938
+ padding: 0;
5939
+ color: var(--color-text-default-default);
5940
+ font-family: var(--text-body-base-regular-fontFamily);
5941
+ font-weight: var(--text-body-base-regular-fontWeight);
5942
+ font-size: var(--text-body-base-regular-fontSize);
5943
+ line-height: var(--text-body-base-regular-lineHeight);
5944
+ appearance: none;
5945
+ -webkit-appearance: none;
5946
+ }
5947
+
5948
+ .muka-search-input__input::placeholder {
5949
+ color: var(--color-text-subtle-default);
5950
+ }
5951
+
5952
+ /* Hide the browser-supplied clear button (WebKit + Edge) */
5953
+ .muka-search-input__input::-webkit-search-cancel-button,
5954
+ .muka-search-input__input::-webkit-search-decoration {
5955
+ -webkit-appearance: none;
5956
+ appearance: none;
5957
+ }
5958
+
5959
+ .muka-search-input__input::-ms-clear {
5960
+ display: none;
5961
+ }
5962
+
5963
+ /* ─── Trailing slot (loading spinner) ─────────────────── */
5964
+
5965
+ .muka-search-input__trailing {
5966
+ display: inline-flex;
5967
+ align-items: center;
5968
+ justify-content: center;
5969
+ flex-shrink: 0;
5970
+ }
5971
+
5972
+ /* ─── Clear button ────────────────────────────────────── */
5973
+
5974
+ .muka-search-input__clear {
5975
+ display: inline-flex;
5976
+ align-items: center;
5977
+ justify-content: center;
5978
+ width: 20px;
5979
+ height: 20px;
5980
+ border: none;
5981
+ background: none;
5982
+ padding: 0;
5983
+ cursor: pointer;
5984
+ color: var(--color-text-subtle-default);
5985
+ flex-shrink: 0;
5986
+ -webkit-tap-highlight-color: transparent;
5987
+ }
5988
+
5989
+ .muka-search-input__clear:hover {
5990
+ color: var(--color-text-default-default);
5991
+ }
5992
+
5993
+ .muka-search-input__clear:focus-visible {
5994
+ outline: 2px solid var(--color-action-default);
5995
+ outline-offset: 2px;
5996
+ border-radius: 50%;
5997
+ }
5998
+
5999
+ /* ─── Cancel button ───────────────────────────────────── */
6000
+
6001
+ .muka-search-input__cancel {
6002
+ flex-shrink: 0;
6003
+ background: none;
6004
+ border: none;
6005
+ padding: var(--spacing-1) var(--spacing-2);
6006
+ cursor: pointer;
6007
+ color: var(--color-action-default);
6008
+ font-family: var(--text-label-md-regular-fontFamily);
6009
+ font-weight: var(--text-label-md-regular-fontWeight);
6010
+ font-size: var(--text-label-md-regular-fontSize);
6011
+ line-height: var(--text-label-md-regular-lineHeight);
6012
+ -webkit-tap-highlight-color: transparent;
6013
+ }
6014
+
6015
+ .muka-search-input__cancel:hover {
6016
+ color: var(--color-action-hover);
6017
+ }
6018
+
6019
+ .muka-search-input__cancel:focus-visible {
6020
+ outline: 2px solid var(--color-action-default);
6021
+ outline-offset: 2px;
6022
+ border-radius: var(--radius-sm);
5854
6023
  }
5855
6024
 
5856
6025
 
@@ -6031,292 +6200,76 @@ body {
6031
6200
  }
6032
6201
 
6033
6202
 
6034
- /* RangeSlider */
6035
- /* RangeSlider Component Styles - Using Muka Design Tokens */
6203
+ /* RadioTile */
6204
+ /* RadioTile Component Styles - Using Muka Design Tokens */
6036
6205
 
6037
- .muka-range-slider {
6206
+ /* Base tile styles - horizontal */
6207
+ .muka-radio-tile {
6038
6208
  display: flex;
6039
- flex-direction: column;
6040
- gap: var(--spacing-1);
6041
- width: 100%;
6209
+ align-items: center;
6210
+ gap: var(--spacing-4);
6211
+ padding: var(--spacing-4);
6212
+ border: var(--border-width-regular) solid var(--input-field-color-default-border);
6213
+ border-radius: var(--input-field-radius-lg);
6214
+ background-color: var(--color-surface-level3);
6215
+ cursor: pointer;
6216
+ transition: border-color 0.15s ease, border-width 0.15s ease;
6217
+ overflow: hidden;
6218
+ box-sizing: border-box;
6042
6219
  }
6043
6220
 
6044
- /* ========================================
6045
- HEADER: label group (label + info + optional) and value readout
6046
- ======================================== */
6221
+ .muka-radio-tile--disabled {
6222
+ cursor: not-allowed;
6223
+ opacity: 0.6;
6224
+ }
6047
6225
 
6048
- .muka-range-slider__header {
6049
- display: flex;
6050
- align-items: center;
6051
- justify-content: space-between;
6052
- gap: var(--spacing-2);
6053
- min-height: 24px;
6226
+ /* Selected state */
6227
+ .muka-radio-tile[data-checked] {
6228
+ border-width: var(--border-width-bold);
6229
+ border-color: var(--color-action-default);
6054
6230
  }
6055
6231
 
6056
- .muka-range-slider__label-group {
6057
- display: inline-flex;
6232
+ /* Vertical layout */
6233
+ .muka-radio-tile--vertical {
6234
+ flex-direction: column;
6058
6235
  align-items: center;
6059
6236
  gap: var(--spacing-2);
6237
+ position: relative;
6238
+ width: 160px;
6060
6239
  }
6061
6240
 
6062
- .muka-range-slider__label {
6063
- font-family: var(--text-label-md-semibold-fontFamily);
6064
- font-weight: var(--text-label-md-semibold-fontWeight);
6065
- font-size: var(--text-label-md-semibold-fontSize);
6066
- line-height: var(--text-label-md-semibold-lineHeight);
6067
- color: var(--color-text-default-default);
6241
+ /* Radio container */
6242
+ .muka-radio-tile__radio {
6243
+ flex-shrink: 0;
6068
6244
  }
6069
6245
 
6070
- .muka-range-slider__info {
6071
- color: var(--color-text-subtle-default);
6246
+ /* Corner-positioned radio for vertical */
6247
+ .muka-radio-tile__radio--corner {
6248
+ position: absolute;
6249
+ top: var(--spacing-4);
6250
+ left: var(--spacing-4);
6072
6251
  }
6073
6252
 
6074
- .muka-range-slider__optional {
6075
- font-family: var(--text-label-sm-regular-fontFamily);
6076
- font-weight: var(--text-label-sm-regular-fontWeight);
6077
- font-size: var(--text-label-sm-regular-fontSize);
6078
- line-height: var(--text-label-sm-regular-lineHeight);
6079
- color: var(--color-text-subtle-default);
6253
+ /* Adjust corner position when selected (border is thicker) */
6254
+ .muka-radio-tile[data-checked] .muka-radio-tile__radio--corner {
6255
+ top: calc(var(--spacing-4) - 1px);
6256
+ left: calc(var(--spacing-4) - 1px);
6080
6257
  }
6081
6258
 
6082
- .muka-range-slider__value {
6083
- font-family: var(--text-label-md-regular-fontFamily);
6084
- font-weight: var(--text-label-md-regular-fontWeight);
6085
- font-size: var(--text-label-md-regular-fontSize);
6086
- line-height: var(--text-label-md-regular-lineHeight);
6259
+ /* Icon */
6260
+ .muka-radio-tile__icon {
6261
+ display: flex;
6262
+ align-items: center;
6263
+ justify-content: center;
6264
+ flex-shrink: 0;
6265
+ width: var(--icon-size-default);
6266
+ height: var(--icon-size-default);
6087
6267
  color: var(--color-text-default-default);
6088
- font-variant-numeric: tabular-nums;
6089
6268
  }
6090
6269
 
6091
- .muka-range-slider__helper {
6092
- margin: 0;
6093
- font-family: var(--text-body-sm-regular-fontFamily);
6094
- font-weight: var(--text-body-sm-regular-fontWeight);
6095
- font-size: var(--text-body-sm-regular-fontSize);
6096
- line-height: var(--text-body-sm-regular-lineHeight);
6097
- color: var(--color-text-subtle-default);
6098
- }
6099
-
6100
- /* ========================================
6101
- TRACK + THUMB
6102
- Native range input, restyled. A thick sunken track holds an accent fill up to
6103
- the current value, with a circular grip handle. The filled portion is driven
6104
- by the inline --muka-range-fill custom property (set from the component value).
6105
- ======================================== */
6106
-
6107
- /* Size variants: track height, thumb diameter and grip geometry */
6108
- .muka-range-slider--sm {
6109
- --muka-range-track-h: 12px;
6110
- --muka-range-thumb: 24px;
6111
- --muka-range-grip-h: 9px;
6112
- }
6113
- .muka-range-slider--md {
6114
- --muka-range-track-h: 16px;
6115
- --muka-range-thumb: 32px;
6116
- --muka-range-grip-h: 12px;
6117
- }
6118
- .muka-range-slider--lg {
6119
- --muka-range-track-h: 20px;
6120
- --muka-range-thumb: 40px;
6121
- --muka-range-grip-h: 15px;
6122
- }
6123
-
6124
- .muka-range-slider__bar {
6125
- /* Reserve the full thumb height so the handle never clips the layout. */
6126
- display: flex;
6127
- align-items: center;
6128
- height: var(--muka-range-thumb);
6129
- }
6130
-
6131
- .muka-range-slider__input {
6132
- -webkit-appearance: none;
6133
- appearance: none;
6134
- width: 100%;
6135
- height: var(--muka-range-thumb);
6136
- margin: 0;
6137
- background: transparent;
6138
- cursor: pointer;
6139
-
6140
- /* Grip handle fill + two vertical grip bars, all theme-aware. */
6141
- --muka-range-grip-color: var(--color-text-subtle-default);
6142
- --muka-range-grip-w: 2px;
6143
- --muka-range-grip-gap: 3px;
6144
-
6145
- /* The track fill: action colour up to the value, sunken surface beyond it. */
6146
- --muka-range-track-fill: linear-gradient(
6147
- to right,
6148
- var(--color-action-default) 0,
6149
- var(--color-action-default) var(--muka-range-fill, 0%),
6150
- var(--color-surface-sunken) var(--muka-range-fill, 0%),
6151
- var(--color-surface-sunken) 100%
6152
- );
6153
- }
6154
-
6155
- .muka-range-slider__input:focus {
6156
- outline: none;
6157
- }
6158
-
6159
- /* WebKit / Blink track */
6160
- .muka-range-slider__input::-webkit-slider-runnable-track {
6161
- height: var(--muka-range-track-h);
6162
- border-radius: var(--border-radius-full);
6163
- background-image: var(--muka-range-track-fill);
6164
- border: 1px solid var(--color-border-contrast);
6165
- box-shadow: var(--shadow-sunken);
6166
- }
6167
-
6168
- /* Firefox track + progress */
6169
- .muka-range-slider__input::-moz-range-track {
6170
- height: var(--muka-range-track-h);
6171
- border-radius: var(--border-radius-full);
6172
- background: var(--color-surface-sunken);
6173
- border: 1px solid var(--color-border-contrast);
6174
- box-shadow: var(--shadow-sunken);
6175
- }
6176
- .muka-range-slider__input::-moz-range-progress {
6177
- height: var(--muka-range-track-h);
6178
- border-radius: var(--border-radius-full);
6179
- background: var(--color-action-default);
6180
- }
6181
-
6182
- /* WebKit / Blink thumb (vertically centred over the track) */
6183
- .muka-range-slider__input::-webkit-slider-thumb {
6184
- -webkit-appearance: none;
6185
- appearance: none;
6186
- width: var(--muka-range-thumb);
6187
- height: var(--muka-range-thumb);
6188
- margin-top: calc((var(--muka-range-track-h) - var(--muka-range-thumb)) / 2);
6189
- border-radius: var(--border-radius-full);
6190
- border: 1px solid var(--color-border-contrast);
6191
- box-shadow: var(--shadow-level2);
6192
- background-color: var(--color-surface-level1);
6193
- background-image:
6194
- linear-gradient(var(--muka-range-grip-color), var(--muka-range-grip-color)),
6195
- linear-gradient(var(--muka-range-grip-color), var(--muka-range-grip-color));
6196
- background-repeat: no-repeat;
6197
- background-size: var(--muka-range-grip-w) var(--muka-range-grip-h), var(--muka-range-grip-w) var(--muka-range-grip-h);
6198
- background-position:
6199
- calc(50% - var(--muka-range-grip-gap)) center,
6200
- calc(50% + var(--muka-range-grip-gap)) center;
6201
- transition: box-shadow 0.15s ease, background-color 0.15s ease;
6202
- }
6203
-
6204
- /* Firefox thumb */
6205
- .muka-range-slider__input::-moz-range-thumb {
6206
- width: var(--muka-range-thumb);
6207
- height: var(--muka-range-thumb);
6208
- border-radius: var(--border-radius-full);
6209
- border: 1px solid var(--color-border-contrast);
6210
- box-shadow: var(--shadow-level2);
6211
- background-color: var(--color-surface-level1);
6212
- background-image:
6213
- linear-gradient(var(--muka-range-grip-color), var(--muka-range-grip-color)),
6214
- linear-gradient(var(--muka-range-grip-color), var(--muka-range-grip-color));
6215
- background-repeat: no-repeat;
6216
- background-size: var(--muka-range-grip-w) var(--muka-range-grip-h), var(--muka-range-grip-w) var(--muka-range-grip-h);
6217
- background-position:
6218
- calc(50% - var(--muka-range-grip-gap)) center,
6219
- calc(50% + var(--muka-range-grip-gap)) center;
6220
- transition: box-shadow 0.15s ease, background-color 0.15s ease;
6221
- }
6222
-
6223
- /* Hover */
6224
- .muka-range-slider__input:hover::-webkit-slider-thumb {
6225
- background-color: var(--color-surface-level1);
6226
- box-shadow: var(--shadow-level3);
6227
- }
6228
- .muka-range-slider__input:hover::-moz-range-thumb {
6229
- background-color: var(--color-surface-level1);
6230
- box-shadow: var(--shadow-level3);
6231
- }
6232
-
6233
- /* Focus ring */
6234
- .muka-range-slider__input:focus-visible::-webkit-slider-thumb {
6235
- box-shadow: var(--shadow-level2), 0 0 0 3px var(--color-border-focus);
6236
- }
6237
- .muka-range-slider__input:focus-visible::-moz-range-thumb {
6238
- box-shadow: var(--shadow-level2), 0 0 0 3px var(--color-border-focus);
6239
- }
6240
-
6241
- /* Disabled */
6242
- .muka-range-slider--disabled {
6243
- opacity: 0.5;
6244
- }
6245
- .muka-range-slider--disabled .muka-range-slider__input {
6246
- cursor: not-allowed;
6247
- }
6248
-
6249
-
6250
- /* RadioTile */
6251
- /* RadioTile Component Styles - Using Muka Design Tokens */
6252
-
6253
- /* Base tile styles - horizontal */
6254
- .muka-radio-tile {
6255
- display: flex;
6256
- align-items: center;
6257
- gap: var(--spacing-4);
6258
- padding: var(--spacing-4);
6259
- border: var(--border-width-regular) solid var(--input-field-color-default-border);
6260
- border-radius: var(--input-field-radius-lg);
6261
- background-color: var(--color-surface-level3);
6262
- cursor: pointer;
6263
- transition: border-color 0.15s ease, border-width 0.15s ease;
6264
- overflow: hidden;
6265
- box-sizing: border-box;
6266
- }
6267
-
6268
- .muka-radio-tile--disabled {
6269
- cursor: not-allowed;
6270
- opacity: 0.6;
6271
- }
6272
-
6273
- /* Selected state */
6274
- .muka-radio-tile[data-checked] {
6275
- border-width: var(--border-width-bold);
6276
- border-color: var(--color-action-default);
6277
- }
6278
-
6279
- /* Vertical layout */
6280
- .muka-radio-tile--vertical {
6281
- flex-direction: column;
6282
- align-items: center;
6283
- gap: var(--spacing-2);
6284
- position: relative;
6285
- width: 160px;
6286
- }
6287
-
6288
- /* Radio container */
6289
- .muka-radio-tile__radio {
6290
- flex-shrink: 0;
6291
- }
6292
-
6293
- /* Corner-positioned radio for vertical */
6294
- .muka-radio-tile__radio--corner {
6295
- position: absolute;
6296
- top: var(--spacing-4);
6297
- left: var(--spacing-4);
6298
- }
6299
-
6300
- /* Adjust corner position when selected (border is thicker) */
6301
- .muka-radio-tile[data-checked] .muka-radio-tile__radio--corner {
6302
- top: calc(var(--spacing-4) - 1px);
6303
- left: calc(var(--spacing-4) - 1px);
6304
- }
6305
-
6306
- /* Icon */
6307
- .muka-radio-tile__icon {
6308
- display: flex;
6309
- align-items: center;
6310
- justify-content: center;
6311
- flex-shrink: 0;
6312
- width: var(--icon-size-default);
6313
- height: var(--icon-size-default);
6314
- color: var(--color-text-default-default);
6315
- }
6316
-
6317
- .muka-radio-tile__icon svg {
6318
- width: 100%;
6319
- height: 100%;
6270
+ .muka-radio-tile__icon svg {
6271
+ width: 100%;
6272
+ height: 100%;
6320
6273
  }
6321
6274
 
6322
6275
  /* Image */
@@ -6383,179 +6336,10 @@ body {
6383
6336
  color: var(--color-text-subtle-default);
6384
6337
  }
6385
6338
 
6386
- /* Disabled states */
6387
- .muka-radio-tile--disabled .muka-radio-tile__label,
6388
- .muka-radio-tile--disabled .muka-radio-tile__icon {
6389
- color: var(--color-text-subtle-default);
6390
- }
6391
-
6392
-
6393
- /* SearchInput */
6394
- /* SearchInput Component Styles */
6395
-
6396
- .muka-search-input {
6397
- display: flex;
6398
- align-items: center;
6399
- gap: var(--spacing-3);
6400
- width: 100%;
6401
- }
6402
-
6403
- /* ─── Field wrapper ───────────────────────────────────── */
6404
-
6405
- .muka-search-input__field {
6406
- flex: 1 1 auto;
6407
- display: flex;
6408
- align-items: center;
6409
- gap: var(--spacing-2);
6410
- background-color: var(--input-field-color-default-background);
6411
- border: var(--border-width-regular) solid var(--input-field-color-default-border);
6412
- border-radius: var(--input-field-radius-md);
6413
- padding: 0 var(--input-field-padding-x);
6414
- transition: border-color 0.12s ease, background-color 0.12s ease;
6415
- }
6416
-
6417
- .muka-search-input--focused .muka-search-input__field {
6418
- border-color: var(--input-field-color-focus-border, var(--color-action-default));
6419
- }
6420
-
6421
- /* ─── Sizes ───────────────────────────────────────────── */
6422
-
6423
- .muka-search-input--sm .muka-search-input__field {
6424
- min-height: var(--input-field-height-sm);
6425
- border-radius: var(--input-field-radius-sm);
6426
- }
6427
-
6428
- .muka-search-input--md .muka-search-input__field {
6429
- min-height: var(--input-field-height-default);
6430
- }
6431
-
6432
- .muka-search-input--lg .muka-search-input__field {
6433
- min-height: var(--input-field-height-lg);
6434
- border-radius: var(--input-field-radius-lg);
6435
- }
6436
-
6437
- /* ─── Embedded variant (e.g. inside TopBar) ───────────── */
6438
-
6439
- .muka-search-input--embedded .muka-search-input__field {
6440
- background-color: var(--color-surface-level1);
6441
- border-color: transparent;
6442
- }
6443
-
6444
- .muka-search-input--embedded.muka-search-input--focused .muka-search-input__field {
6445
- border-color: transparent;
6446
- background-color: var(--color-surface-level2);
6447
- }
6448
-
6449
- /* ─── Disabled ────────────────────────────────────────── */
6450
-
6451
- .muka-search-input--disabled .muka-search-input__field {
6452
- opacity: 0.5;
6453
- pointer-events: none;
6454
- }
6455
-
6456
- /* ─── Leading icon ────────────────────────────────────── */
6457
-
6458
- .muka-search-input__leading {
6459
- display: inline-flex;
6460
- align-items: center;
6461
- justify-content: center;
6462
- flex-shrink: 0;
6463
- color: var(--color-text-subtle-default);
6464
- }
6465
-
6466
- /* ─── Input element ───────────────────────────────────── */
6467
-
6468
- .muka-search-input__input {
6469
- flex: 1 1 auto;
6470
- min-width: 0;
6471
- border: none;
6472
- background: transparent;
6473
- outline: none;
6474
- padding: 0;
6475
- color: var(--color-text-default-default);
6476
- font-family: var(--text-body-base-regular-fontFamily);
6477
- font-weight: var(--text-body-base-regular-fontWeight);
6478
- font-size: var(--text-body-base-regular-fontSize);
6479
- line-height: var(--text-body-base-regular-lineHeight);
6480
- appearance: none;
6481
- -webkit-appearance: none;
6482
- }
6483
-
6484
- .muka-search-input__input::placeholder {
6485
- color: var(--color-text-subtle-default);
6486
- }
6487
-
6488
- /* Hide the browser-supplied clear button (WebKit + Edge) */
6489
- .muka-search-input__input::-webkit-search-cancel-button,
6490
- .muka-search-input__input::-webkit-search-decoration {
6491
- -webkit-appearance: none;
6492
- appearance: none;
6493
- }
6494
-
6495
- .muka-search-input__input::-ms-clear {
6496
- display: none;
6497
- }
6498
-
6499
- /* ─── Trailing slot (loading spinner) ─────────────────── */
6500
-
6501
- .muka-search-input__trailing {
6502
- display: inline-flex;
6503
- align-items: center;
6504
- justify-content: center;
6505
- flex-shrink: 0;
6506
- }
6507
-
6508
- /* ─── Clear button ────────────────────────────────────── */
6509
-
6510
- .muka-search-input__clear {
6511
- display: inline-flex;
6512
- align-items: center;
6513
- justify-content: center;
6514
- width: 20px;
6515
- height: 20px;
6516
- border: none;
6517
- background: none;
6518
- padding: 0;
6519
- cursor: pointer;
6520
- color: var(--color-text-subtle-default);
6521
- flex-shrink: 0;
6522
- -webkit-tap-highlight-color: transparent;
6523
- }
6524
-
6525
- .muka-search-input__clear:hover {
6526
- color: var(--color-text-default-default);
6527
- }
6528
-
6529
- .muka-search-input__clear:focus-visible {
6530
- outline: 2px solid var(--color-action-default);
6531
- outline-offset: 2px;
6532
- border-radius: 50%;
6533
- }
6534
-
6535
- /* ─── Cancel button ───────────────────────────────────── */
6536
-
6537
- .muka-search-input__cancel {
6538
- flex-shrink: 0;
6539
- background: none;
6540
- border: none;
6541
- padding: var(--spacing-1) var(--spacing-2);
6542
- cursor: pointer;
6543
- color: var(--color-action-default);
6544
- font-family: var(--text-label-md-regular-fontFamily);
6545
- font-weight: var(--text-label-md-regular-fontWeight);
6546
- font-size: var(--text-label-md-regular-fontSize);
6547
- line-height: var(--text-label-md-regular-lineHeight);
6548
- -webkit-tap-highlight-color: transparent;
6549
- }
6550
-
6551
- .muka-search-input__cancel:hover {
6552
- color: var(--color-action-hover);
6553
- }
6554
-
6555
- .muka-search-input__cancel:focus-visible {
6556
- outline: 2px solid var(--color-action-default);
6557
- outline-offset: 2px;
6558
- border-radius: var(--radius-sm);
6339
+ /* Disabled states */
6340
+ .muka-radio-tile--disabled .muka-radio-tile__label,
6341
+ .muka-radio-tile--disabled .muka-radio-tile__icon {
6342
+ color: var(--color-text-subtle-default);
6559
6343
  }
6560
6344
 
6561
6345
 
@@ -6750,6 +6534,222 @@ body {
6750
6534
  }
6751
6535
 
6752
6536
 
6537
+ /* RangeSlider */
6538
+ /* RangeSlider Component Styles - Using Muka Design Tokens */
6539
+
6540
+ .muka-range-slider {
6541
+ display: flex;
6542
+ flex-direction: column;
6543
+ gap: var(--spacing-1);
6544
+ width: 100%;
6545
+ }
6546
+
6547
+ /* ========================================
6548
+ HEADER: label group (label + info + optional) and value readout
6549
+ ======================================== */
6550
+
6551
+ .muka-range-slider__header {
6552
+ display: flex;
6553
+ align-items: center;
6554
+ justify-content: space-between;
6555
+ gap: var(--spacing-2);
6556
+ min-height: 24px;
6557
+ }
6558
+
6559
+ .muka-range-slider__label-group {
6560
+ display: inline-flex;
6561
+ align-items: center;
6562
+ gap: var(--spacing-2);
6563
+ }
6564
+
6565
+ .muka-range-slider__label {
6566
+ font-family: var(--text-label-md-semibold-fontFamily);
6567
+ font-weight: var(--text-label-md-semibold-fontWeight);
6568
+ font-size: var(--text-label-md-semibold-fontSize);
6569
+ line-height: var(--text-label-md-semibold-lineHeight);
6570
+ color: var(--color-text-default-default);
6571
+ }
6572
+
6573
+ .muka-range-slider__info {
6574
+ color: var(--color-text-subtle-default);
6575
+ }
6576
+
6577
+ .muka-range-slider__optional {
6578
+ font-family: var(--text-label-sm-regular-fontFamily);
6579
+ font-weight: var(--text-label-sm-regular-fontWeight);
6580
+ font-size: var(--text-label-sm-regular-fontSize);
6581
+ line-height: var(--text-label-sm-regular-lineHeight);
6582
+ color: var(--color-text-subtle-default);
6583
+ }
6584
+
6585
+ .muka-range-slider__value {
6586
+ font-family: var(--text-label-md-regular-fontFamily);
6587
+ font-weight: var(--text-label-md-regular-fontWeight);
6588
+ font-size: var(--text-label-md-regular-fontSize);
6589
+ line-height: var(--text-label-md-regular-lineHeight);
6590
+ color: var(--color-text-default-default);
6591
+ font-variant-numeric: tabular-nums;
6592
+ }
6593
+
6594
+ .muka-range-slider__helper {
6595
+ margin: 0;
6596
+ font-family: var(--text-body-sm-regular-fontFamily);
6597
+ font-weight: var(--text-body-sm-regular-fontWeight);
6598
+ font-size: var(--text-body-sm-regular-fontSize);
6599
+ line-height: var(--text-body-sm-regular-lineHeight);
6600
+ color: var(--color-text-subtle-default);
6601
+ }
6602
+
6603
+ /* ========================================
6604
+ TRACK + THUMB
6605
+ Native range input, restyled. A thick sunken track holds an accent fill up to
6606
+ the current value, with a circular grip handle. The filled portion is driven
6607
+ by the inline --muka-range-fill custom property (set from the component value).
6608
+ ======================================== */
6609
+
6610
+ /* Size variants: track height, thumb diameter and grip geometry */
6611
+ .muka-range-slider--sm {
6612
+ --muka-range-track-h: 12px;
6613
+ --muka-range-thumb: 24px;
6614
+ --muka-range-grip-h: 9px;
6615
+ }
6616
+ .muka-range-slider--md {
6617
+ --muka-range-track-h: 16px;
6618
+ --muka-range-thumb: 32px;
6619
+ --muka-range-grip-h: 12px;
6620
+ }
6621
+ .muka-range-slider--lg {
6622
+ --muka-range-track-h: 20px;
6623
+ --muka-range-thumb: 40px;
6624
+ --muka-range-grip-h: 15px;
6625
+ }
6626
+
6627
+ .muka-range-slider__bar {
6628
+ /* Reserve the full thumb height so the handle never clips the layout. */
6629
+ display: flex;
6630
+ align-items: center;
6631
+ height: var(--muka-range-thumb);
6632
+ }
6633
+
6634
+ .muka-range-slider__input {
6635
+ -webkit-appearance: none;
6636
+ appearance: none;
6637
+ width: 100%;
6638
+ height: var(--muka-range-thumb);
6639
+ margin: 0;
6640
+ background: transparent;
6641
+ cursor: pointer;
6642
+
6643
+ /* Grip handle fill + two vertical grip bars, all theme-aware. */
6644
+ --muka-range-grip-color: var(--color-text-subtle-default);
6645
+ --muka-range-grip-w: 2px;
6646
+ --muka-range-grip-gap: 3px;
6647
+
6648
+ /* The track fill: action colour up to the value, sunken surface beyond it. */
6649
+ --muka-range-track-fill: linear-gradient(
6650
+ to right,
6651
+ var(--color-action-default) 0,
6652
+ var(--color-action-default) var(--muka-range-fill, 0%),
6653
+ var(--color-surface-sunken) var(--muka-range-fill, 0%),
6654
+ var(--color-surface-sunken) 100%
6655
+ );
6656
+ }
6657
+
6658
+ .muka-range-slider__input:focus {
6659
+ outline: none;
6660
+ }
6661
+
6662
+ /* WebKit / Blink track */
6663
+ .muka-range-slider__input::-webkit-slider-runnable-track {
6664
+ height: var(--muka-range-track-h);
6665
+ border-radius: var(--border-radius-full);
6666
+ background-image: var(--muka-range-track-fill);
6667
+ border: 1px solid var(--color-border-contrast);
6668
+ box-shadow: var(--shadow-sunken);
6669
+ }
6670
+
6671
+ /* Firefox track + progress */
6672
+ .muka-range-slider__input::-moz-range-track {
6673
+ height: var(--muka-range-track-h);
6674
+ border-radius: var(--border-radius-full);
6675
+ background: var(--color-surface-sunken);
6676
+ border: 1px solid var(--color-border-contrast);
6677
+ box-shadow: var(--shadow-sunken);
6678
+ }
6679
+ .muka-range-slider__input::-moz-range-progress {
6680
+ height: var(--muka-range-track-h);
6681
+ border-radius: var(--border-radius-full);
6682
+ background: var(--color-action-default);
6683
+ }
6684
+
6685
+ /* WebKit / Blink thumb (vertically centred over the track) */
6686
+ .muka-range-slider__input::-webkit-slider-thumb {
6687
+ -webkit-appearance: none;
6688
+ appearance: none;
6689
+ width: var(--muka-range-thumb);
6690
+ height: var(--muka-range-thumb);
6691
+ margin-top: calc((var(--muka-range-track-h) - var(--muka-range-thumb)) / 2);
6692
+ border-radius: var(--border-radius-full);
6693
+ border: 1px solid var(--color-border-contrast);
6694
+ box-shadow: var(--shadow-level2);
6695
+ background-color: var(--color-surface-level1);
6696
+ background-image:
6697
+ linear-gradient(var(--muka-range-grip-color), var(--muka-range-grip-color)),
6698
+ linear-gradient(var(--muka-range-grip-color), var(--muka-range-grip-color));
6699
+ background-repeat: no-repeat;
6700
+ background-size: var(--muka-range-grip-w) var(--muka-range-grip-h), var(--muka-range-grip-w) var(--muka-range-grip-h);
6701
+ background-position:
6702
+ calc(50% - var(--muka-range-grip-gap)) center,
6703
+ calc(50% + var(--muka-range-grip-gap)) center;
6704
+ transition: box-shadow 0.15s ease, background-color 0.15s ease;
6705
+ }
6706
+
6707
+ /* Firefox thumb */
6708
+ .muka-range-slider__input::-moz-range-thumb {
6709
+ width: var(--muka-range-thumb);
6710
+ height: var(--muka-range-thumb);
6711
+ border-radius: var(--border-radius-full);
6712
+ border: 1px solid var(--color-border-contrast);
6713
+ box-shadow: var(--shadow-level2);
6714
+ background-color: var(--color-surface-level1);
6715
+ background-image:
6716
+ linear-gradient(var(--muka-range-grip-color), var(--muka-range-grip-color)),
6717
+ linear-gradient(var(--muka-range-grip-color), var(--muka-range-grip-color));
6718
+ background-repeat: no-repeat;
6719
+ background-size: var(--muka-range-grip-w) var(--muka-range-grip-h), var(--muka-range-grip-w) var(--muka-range-grip-h);
6720
+ background-position:
6721
+ calc(50% - var(--muka-range-grip-gap)) center,
6722
+ calc(50% + var(--muka-range-grip-gap)) center;
6723
+ transition: box-shadow 0.15s ease, background-color 0.15s ease;
6724
+ }
6725
+
6726
+ /* Hover */
6727
+ .muka-range-slider__input:hover::-webkit-slider-thumb {
6728
+ background-color: var(--color-surface-level1);
6729
+ box-shadow: var(--shadow-level3);
6730
+ }
6731
+ .muka-range-slider__input:hover::-moz-range-thumb {
6732
+ background-color: var(--color-surface-level1);
6733
+ box-shadow: var(--shadow-level3);
6734
+ }
6735
+
6736
+ /* Focus ring */
6737
+ .muka-range-slider__input:focus-visible::-webkit-slider-thumb {
6738
+ box-shadow: var(--shadow-level2), 0 0 0 3px var(--color-border-focus);
6739
+ }
6740
+ .muka-range-slider__input:focus-visible::-moz-range-thumb {
6741
+ box-shadow: var(--shadow-level2), 0 0 0 3px var(--color-border-focus);
6742
+ }
6743
+
6744
+ /* Disabled */
6745
+ .muka-range-slider--disabled {
6746
+ opacity: 0.5;
6747
+ }
6748
+ .muka-range-slider--disabled .muka-range-slider__input {
6749
+ cursor: not-allowed;
6750
+ }
6751
+
6752
+
6753
6753
  /* ProgressTracker */
6754
6754
  /* ProgressTracker Component Styles — Using Muka Design Tokens */
6755
6755
 
@@ -7901,14 +7901,45 @@ button.muka-progress-tracker__tab:focus-visible {
7901
7901
  color: var(--color-text-default-default);
7902
7902
  }
7903
7903
 
7904
- /* ─── Unit label (same for both sizes) ────────────────── */
7905
-
7906
- .muka-price-tag__unit {
7907
- font-family: var(--text-body-sm-regular-fontFamily);
7908
- font-weight: var(--text-body-sm-regular-fontWeight);
7909
- font-size: var(--text-body-sm-regular-fontSize);
7910
- line-height: var(--text-body-sm-regular-lineHeight);
7911
- color: var(--color-text-subtle-default);
7904
+ /* ─── Unit label (same for both sizes) ────────────────── */
7905
+
7906
+ .muka-price-tag__unit {
7907
+ font-family: var(--text-body-sm-regular-fontFamily);
7908
+ font-weight: var(--text-body-sm-regular-fontWeight);
7909
+ font-size: var(--text-body-sm-regular-fontSize);
7910
+ line-height: var(--text-body-sm-regular-lineHeight);
7911
+ color: var(--color-text-subtle-default);
7912
+ }
7913
+
7914
+
7915
+ /* Popover */
7916
+ /* Popover Component Styles */
7917
+
7918
+ .muka-popover__content {
7919
+ background-color: var(--color-surface-level3);
7920
+ border: var(--border-width-regular) solid var(--color-border-default);
7921
+ border-radius: var(--radius-md);
7922
+ padding: var(--spacing-4);
7923
+ box-shadow: var(--shadow-level3);
7924
+ max-width: 20rem;
7925
+ z-index: 50;
7926
+ animation: muka-popover-fade-in 150ms ease;
7927
+ }
7928
+
7929
+ @keyframes muka-popover-fade-in {
7930
+ from {
7931
+ opacity: 0;
7932
+ transform: scale(0.96);
7933
+ }
7934
+ to {
7935
+ opacity: 1;
7936
+ transform: scale(1);
7937
+ }
7938
+ }
7939
+
7940
+ /* Arrow */
7941
+ .muka-popover__arrow {
7942
+ fill: var(--color-surface-level3);
7912
7943
  }
7913
7944
 
7914
7945
 
@@ -8257,37 +8288,6 @@ button.muka-progress-tracker__tab:focus-visible {
8257
8288
  }
8258
8289
 
8259
8290
 
8260
- /* Popover */
8261
- /* Popover Component Styles */
8262
-
8263
- .muka-popover__content {
8264
- background-color: var(--color-surface-level3);
8265
- border: var(--border-width-regular) solid var(--color-border-default);
8266
- border-radius: var(--radius-md);
8267
- padding: var(--spacing-4);
8268
- box-shadow: var(--shadow-level3);
8269
- max-width: 20rem;
8270
- z-index: 50;
8271
- animation: muka-popover-fade-in 150ms ease;
8272
- }
8273
-
8274
- @keyframes muka-popover-fade-in {
8275
- from {
8276
- opacity: 0;
8277
- transform: scale(0.96);
8278
- }
8279
- to {
8280
- opacity: 1;
8281
- transform: scale(1);
8282
- }
8283
- }
8284
-
8285
- /* Arrow */
8286
- .muka-popover__arrow {
8287
- fill: var(--color-surface-level3);
8288
- }
8289
-
8290
-
8291
8291
  /* NumberInput */
8292
8292
  /* NumberInput — reuses Input field styles (../Input/Input.css). */
8293
8293
  /* Only the prefix/suffix affixes are NumberInput-specific. */
@@ -8720,293 +8720,107 @@ button.muka-progress-tracker__tab:focus-visible {
8720
8720
  /* ─── Separator ──────────────────────────────────────────────────────────── */
8721
8721
 
8722
8722
  .muka-menu__separator {
8723
- height: var(--menu-separator-height);
8724
- margin: var(--menu-separator-margin-y) 0;
8725
- background-color: var(--menu-separator-color);
8726
- }
8727
-
8728
- /* ─── Group ──────────────────────────────────────────────────────────────── */
8729
-
8730
- .muka-menu__group {
8731
- /* No additional styles needed - just a container */
8732
- }
8733
-
8734
- .muka-menu__group-label {
8735
- padding: var(--menu-group-label-padding-y) var(--menu-group-label-padding-x);
8736
- font-family: var(--text-label-sm-semibold-fontFamily);
8737
- font-size: var(--text-label-sm-semibold-fontSize);
8738
- font-weight: var(--text-label-sm-semibold-fontWeight);
8739
- line-height: var(--text-label-sm-semibold-lineHeight);
8740
- color: var(--menu-group-label-color);
8741
- text-transform: uppercase;
8742
- letter-spacing: 0.05em;
8743
- }
8744
-
8745
- /* ─── Radio Group ────────────────────────────────────────────────────────── */
8746
-
8747
- .muka-menu__radio-group {
8748
- /* No additional styles needed - just a container */
8749
- }
8750
-
8751
- /* ─── Context Menu Trigger ───────────────────────────────────────────────── */
8752
-
8753
- .muka-context-menu__trigger {
8754
- /* Allow the trigger to be styled by the parent */
8755
- }
8756
-
8757
- .muka-context-menu__trigger:focus-visible {
8758
- outline: var(--contextmenu-trigger-outline-width) solid var(--contextmenu-trigger-outline-color);
8759
- outline-offset: var(--contextmenu-trigger-outline-offset);
8760
- border-radius: var(--border-radius-sm);
8761
- }
8762
-
8763
- /* ─── Animations ─────────────────────────────────────────────────────────── */
8764
-
8765
- @keyframes muka-menu-fade-in {
8766
- from {
8767
- opacity: 0;
8768
- }
8769
- to {
8770
- opacity: 1;
8771
- }
8772
- }
8773
-
8774
- @keyframes muka-menu-fade-out {
8775
- from {
8776
- opacity: 1;
8777
- }
8778
- to {
8779
- opacity: 0;
8780
- }
8781
- }
8782
-
8783
- @keyframes muka-menu-slide-up {
8784
- from {
8785
- opacity: 0;
8786
- transform: translateY(4px);
8787
- }
8788
- to {
8789
- opacity: 1;
8790
- transform: translateY(0);
8791
- }
8792
- }
8793
-
8794
- @keyframes muka-menu-slide-down {
8795
- from {
8796
- opacity: 0;
8797
- transform: translateY(-4px);
8798
- }
8799
- to {
8800
- opacity: 1;
8801
- transform: translateY(0);
8802
- }
8803
- }
8804
-
8805
- @keyframes muka-menu-slide-left {
8806
- from {
8807
- opacity: 0;
8808
- transform: translateX(4px);
8809
- }
8810
- to {
8811
- opacity: 1;
8812
- transform: translateX(0);
8813
- }
8814
- }
8815
-
8816
- @keyframes muka-menu-slide-right {
8817
- from {
8818
- opacity: 0;
8819
- transform: translateX(-4px);
8820
- }
8821
- to {
8822
- opacity: 1;
8823
- transform: translateX(0);
8824
- }
8825
- }
8826
-
8827
-
8828
- /* MediaViewer */
8829
- /* MediaViewer Component Styles - Using Muka Design Tokens */
8830
-
8831
- /* ─── Native dialog: full viewport ────────────────────── */
8832
- .muka-media-viewer {
8833
- position: fixed;
8834
- inset: 0;
8835
- width: 100%;
8836
- height: 100%;
8837
- max-width: none;
8838
- max-height: none;
8839
- margin: 0;
8840
- padding: 0;
8841
- border: none;
8842
- display: flex;
8843
- flex-direction: column;
8844
- overflow: hidden;
8845
- overscroll-behavior: contain;
8846
- color: var(--color-text-default-default);
8847
- background-color: var(--color-black-alpha-12);
8848
- animation: muka-media-viewer-in var(--motion-duration-component) var(--motion-easing-enter);
8849
- }
8850
-
8851
- .muka-media-viewer:not([open]) {
8852
- display: none;
8853
- }
8854
-
8855
- .muka-media-viewer::backdrop {
8856
- background-color: var(--color-black-alpha-12);
8857
- }
8858
-
8859
- @keyframes muka-media-viewer-in {
8860
- from {
8861
- opacity: 0;
8862
- }
8863
- to {
8864
- opacity: 1;
8865
- }
8866
- }
8867
-
8868
- /* ─── Chrome: TopBar and footer sit on a surface ──────── */
8869
- .muka-media-viewer__topbar {
8870
- flex-shrink: 0;
8871
- background-color: var(--color-surface-level3);
8872
- }
8873
-
8874
- .muka-media-viewer__live {
8875
- position: absolute;
8876
- width: 1px;
8877
- height: 1px;
8878
- padding: 0;
8879
- margin: -1px;
8880
- overflow: hidden;
8881
- clip: rect(0, 0, 0, 0);
8882
- white-space: nowrap;
8883
- border: 0;
8884
- }
8885
-
8886
- /* ─── Stage: the dark area the images slide across ────── */
8887
- .muka-media-viewer__stage {
8888
- position: relative;
8889
- flex: 1 1 auto;
8890
- min-height: 0;
8891
- overflow: hidden;
8892
- /* Gestures are handled in JS: no browser panning or pinch on the stage. */
8893
- touch-action: none;
8894
- user-select: none;
8895
- -webkit-user-select: none;
8896
- }
8897
-
8898
- .muka-media-viewer__slide {
8899
- position: absolute;
8900
- inset: 0;
8901
- display: flex;
8902
- align-items: center;
8903
- justify-content: center;
8904
- padding: var(--spacing-4);
8905
- transition: transform var(--motion-duration-component) var(--motion-easing-default);
8906
- will-change: transform;
8907
- }
8908
-
8909
- /* While a finger drags, the image follows it without easing. */
8910
- .muka-media-viewer--dragging .muka-media-viewer__slide {
8911
- transition: none;
8912
- }
8913
-
8914
- .muka-media-viewer__image {
8915
- display: block;
8916
- max-width: 100%;
8917
- max-height: 100%;
8918
- object-fit: contain;
8919
- /* The image takes touches, so a long press opens the OS menu (save, share,
8920
- copy). The swipe still works: pointer events bubble to the stage, and a
8921
- long press doesn't move far enough to start a drag. */
8922
- -webkit-touch-callout: default;
8923
- }
8924
-
8925
- /* ─── Previous / next: devices that can hover ─────────── */
8926
- .muka-media-viewer__nav {
8927
- position: absolute;
8928
- top: 50%;
8929
- display: none;
8930
- transform: translateY(-50%);
8931
- opacity: 0;
8932
- transition: opacity var(--motion-duration-micro) var(--motion-easing-enter);
8723
+ height: var(--menu-separator-height);
8724
+ margin: var(--menu-separator-margin-y) 0;
8725
+ background-color: var(--menu-separator-color);
8933
8726
  }
8934
8727
 
8935
- .muka-media-viewer__nav--previous {
8936
- left: var(--spacing-4);
8728
+ /* ─── Group ──────────────────────────────────────────────────────────────── */
8729
+
8730
+ .muka-menu__group {
8731
+ /* No additional styles needed - just a container */
8937
8732
  }
8938
8733
 
8939
- .muka-media-viewer__nav--next {
8940
- right: var(--spacing-4);
8734
+ .muka-menu__group-label {
8735
+ padding: var(--menu-group-label-padding-y) var(--menu-group-label-padding-x);
8736
+ font-family: var(--text-label-sm-semibold-fontFamily);
8737
+ font-size: var(--text-label-sm-semibold-fontSize);
8738
+ font-weight: var(--text-label-sm-semibold-fontWeight);
8739
+ line-height: var(--text-label-sm-semibold-lineHeight);
8740
+ color: var(--menu-group-label-color);
8741
+ text-transform: uppercase;
8742
+ letter-spacing: 0.05em;
8941
8743
  }
8942
8744
 
8943
- @media (hover: hover) and (pointer: fine) {
8944
- .muka-media-viewer__nav {
8945
- display: block;
8946
- }
8745
+ /* ─── Radio Group ────────────────────────────────────────────────────────── */
8947
8746
 
8948
- .muka-media-viewer__stage:hover .muka-media-viewer__nav,
8949
- .muka-media-viewer__nav:focus-within {
8950
- opacity: 1;
8951
- }
8747
+ .muka-menu__radio-group {
8748
+ /* No additional styles needed - just a container */
8952
8749
  }
8953
8750
 
8954
- /* ─── Footer: caption, meta and actions ───────────────── */
8955
- .muka-media-viewer__footer {
8956
- flex-shrink: 0;
8957
- display: flex;
8958
- flex-direction: column;
8959
- gap: var(--spacing-3);
8960
- padding: var(--spacing-4);
8961
- padding-bottom: calc(var(--spacing-4) + env(safe-area-inset-bottom, 0px));
8962
- background-color: var(--color-surface-level3);
8751
+ /* ─── Context Menu Trigger ───────────────────────────────────────────────── */
8752
+
8753
+ .muka-context-menu__trigger {
8754
+ /* Allow the trigger to be styled by the parent */
8963
8755
  }
8964
8756
 
8965
- .muka-media-viewer__details {
8966
- display: flex;
8967
- align-items: flex-start;
8968
- justify-content: space-between;
8969
- gap: var(--spacing-3);
8757
+ .muka-context-menu__trigger:focus-visible {
8758
+ outline: var(--contextmenu-trigger-outline-width) solid var(--contextmenu-trigger-outline-color);
8759
+ outline-offset: var(--contextmenu-trigger-outline-offset);
8760
+ border-radius: var(--border-radius-sm);
8970
8761
  }
8971
8762
 
8972
- .muka-media-viewer__caption {
8973
- min-width: 0;
8974
- color: var(--color-text-subtle-default);
8975
- font-family: var(--text-body-sm-regular-fontFamily);
8976
- font-size: var(--text-body-sm-regular-fontSize);
8977
- font-weight: var(--text-body-sm-regular-fontWeight);
8978
- line-height: var(--text-body-sm-regular-lineHeight);
8979
- overflow-wrap: anywhere;
8763
+ /* ─── Animations ─────────────────────────────────────────────────────────── */
8764
+
8765
+ @keyframes muka-menu-fade-in {
8766
+ from {
8767
+ opacity: 0;
8768
+ }
8769
+ to {
8770
+ opacity: 1;
8771
+ }
8980
8772
  }
8981
8773
 
8982
- .muka-media-viewer__meta {
8983
- flex-shrink: 0;
8774
+ @keyframes muka-menu-fade-out {
8775
+ from {
8776
+ opacity: 1;
8777
+ }
8778
+ to {
8779
+ opacity: 0;
8780
+ }
8984
8781
  }
8985
8782
 
8986
- .muka-media-viewer__actions {
8987
- display: flex;
8988
- flex-wrap: wrap;
8989
- gap: var(--spacing-2);
8783
+ @keyframes muka-menu-slide-up {
8784
+ from {
8785
+ opacity: 0;
8786
+ transform: translateY(4px);
8787
+ }
8788
+ to {
8789
+ opacity: 1;
8790
+ transform: translateY(0);
8791
+ }
8990
8792
  }
8991
8793
 
8992
- /* Mobile: actions stack full width, like Dialog footers. */
8993
- @media (max-width: 1023px) {
8994
- .muka-media-viewer__actions {
8995
- flex-direction: column;
8794
+ @keyframes muka-menu-slide-down {
8795
+ from {
8796
+ opacity: 0;
8797
+ transform: translateY(-4px);
8798
+ }
8799
+ to {
8800
+ opacity: 1;
8801
+ transform: translateY(0);
8996
8802
  }
8803
+ }
8997
8804
 
8998
- .muka-media-viewer__actions > * {
8999
- width: 100%;
8805
+ @keyframes muka-menu-slide-left {
8806
+ from {
8807
+ opacity: 0;
8808
+ transform: translateX(4px);
8809
+ }
8810
+ to {
8811
+ opacity: 1;
8812
+ transform: translateX(0);
9000
8813
  }
9001
8814
  }
9002
8815
 
9003
- /* ─── Reduced motion ──────────────────────────────────── */
9004
- @media (prefers-reduced-motion: reduce) {
9005
- .muka-media-viewer,
9006
- .muka-media-viewer__slide,
9007
- .muka-media-viewer__nav {
9008
- animation: none;
9009
- transition: none;
8816
+ @keyframes muka-menu-slide-right {
8817
+ from {
8818
+ opacity: 0;
8819
+ transform: translateX(-4px);
8820
+ }
8821
+ to {
8822
+ opacity: 1;
8823
+ transform: translateX(0);
9010
8824
  }
9011
8825
  }
9012
8826
 
@@ -9329,113 +9143,258 @@ li.muka-listitem {
9329
9143
  font-size: 13px;
9330
9144
  }
9331
9145
 
9332
- .muka-license-plate-input__plate--lg .muka-license-plate-input__country-code {
9333
- font-size: 16px;
9146
+ .muka-license-plate-input__plate--lg .muka-license-plate-input__country-code {
9147
+ font-size: 16px;
9148
+ }
9149
+
9150
+ /* Native input */
9151
+ .muka-license-plate-input__native {
9152
+ flex: 1;
9153
+ min-width: 0;
9154
+ border: none;
9155
+ outline: none;
9156
+ background: transparent;
9157
+ color: var(--plate-text);
9158
+ text-align: center;
9159
+ text-transform: uppercase;
9160
+ letter-spacing: 0.06em;
9161
+ /* Plate font — bold condensed sans is closest to the FE-Schrift look without
9162
+ shipping a custom font. JetBrains Mono is the system mono brand font. */
9163
+ font-family:
9164
+ 'Arial Narrow', 'Helvetica Neue', Helvetica, Arial, sans-serif;
9165
+ font-weight: 800;
9166
+ padding: 0 0.5em;
9167
+ width: 100%;
9168
+ caret-color: var(--plate-text);
9169
+ }
9170
+
9171
+ .muka-license-plate-input__plate--sm .muka-license-plate-input__native {
9172
+ font-size: 22px;
9173
+ }
9174
+
9175
+ .muka-license-plate-input__plate--md .muka-license-plate-input__native {
9176
+ font-size: 30px;
9177
+ }
9178
+
9179
+ .muka-license-plate-input__plate--lg .muka-license-plate-input__native {
9180
+ font-size: 42px;
9181
+ }
9182
+
9183
+ .muka-license-plate-input__native::placeholder {
9184
+ color: var(--plate-text);
9185
+ opacity: 0.55;
9186
+ font-weight: 700;
9187
+ letter-spacing: 0.08em;
9188
+ }
9189
+
9190
+ .muka-license-plate-input__plate--disabled .muka-license-plate-input__native {
9191
+ cursor: not-allowed;
9192
+ }
9193
+
9194
+ /* Helper text */
9195
+ .muka-license-plate-input__helper {
9196
+ font-family: var(--text-label-sm-regular-fontFamily);
9197
+ font-weight: var(--text-label-sm-regular-fontWeight);
9198
+ font-size: var(--text-label-sm-regular-fontSize);
9199
+ line-height: var(--text-label-sm-regular-lineHeight);
9200
+ color: var(--color-text-subtle-default);
9201
+ margin: 0;
9202
+ }
9203
+
9204
+ /* Error message */
9205
+ .muka-license-plate-input__error {
9206
+ font-family: var(--text-label-sm-regular-fontFamily);
9207
+ font-weight: var(--text-label-sm-regular-fontWeight);
9208
+ font-size: var(--text-label-sm-regular-fontSize);
9209
+ line-height: var(--text-label-sm-regular-lineHeight);
9210
+ color: var(--color-state-error-default);
9211
+ margin: 0;
9212
+ }
9213
+
9214
+
9215
+ /* MediaViewer */
9216
+ /* MediaViewer Component Styles - Using Muka Design Tokens */
9217
+
9218
+ /* ─── Native dialog: full viewport ────────────────────── */
9219
+ .muka-media-viewer {
9220
+ position: fixed;
9221
+ inset: 0;
9222
+ width: 100%;
9223
+ height: 100%;
9224
+ max-width: none;
9225
+ max-height: none;
9226
+ margin: 0;
9227
+ padding: 0;
9228
+ border: none;
9229
+ display: flex;
9230
+ flex-direction: column;
9231
+ overflow: hidden;
9232
+ overscroll-behavior: contain;
9233
+ color: var(--color-text-default-default);
9234
+ background-color: var(--color-black-alpha-12);
9235
+ animation: muka-media-viewer-in var(--motion-duration-component) var(--motion-easing-enter);
9236
+ }
9237
+
9238
+ .muka-media-viewer:not([open]) {
9239
+ display: none;
9240
+ }
9241
+
9242
+ .muka-media-viewer::backdrop {
9243
+ background-color: var(--color-black-alpha-12);
9244
+ }
9245
+
9246
+ @keyframes muka-media-viewer-in {
9247
+ from {
9248
+ opacity: 0;
9249
+ }
9250
+ to {
9251
+ opacity: 1;
9252
+ }
9253
+ }
9254
+
9255
+ /* ─── Chrome: TopBar and footer sit on a surface ──────── */
9256
+ .muka-media-viewer__topbar {
9257
+ flex-shrink: 0;
9258
+ background-color: var(--color-surface-level3);
9259
+ }
9260
+
9261
+ .muka-media-viewer__live {
9262
+ position: absolute;
9263
+ width: 1px;
9264
+ height: 1px;
9265
+ padding: 0;
9266
+ margin: -1px;
9267
+ overflow: hidden;
9268
+ clip: rect(0, 0, 0, 0);
9269
+ white-space: nowrap;
9270
+ border: 0;
9271
+ }
9272
+
9273
+ /* ─── Stage: the dark area the images slide across ────── */
9274
+ .muka-media-viewer__stage {
9275
+ position: relative;
9276
+ flex: 1 1 auto;
9277
+ min-height: 0;
9278
+ overflow: hidden;
9279
+ /* Gestures are handled in JS: no browser panning or pinch on the stage. */
9280
+ touch-action: none;
9281
+ user-select: none;
9282
+ -webkit-user-select: none;
9334
9283
  }
9335
9284
 
9336
- /* Native input */
9337
- .muka-license-plate-input__native {
9338
- flex: 1;
9339
- min-width: 0;
9340
- border: none;
9341
- outline: none;
9342
- background: transparent;
9343
- color: var(--plate-text);
9344
- text-align: center;
9345
- text-transform: uppercase;
9346
- letter-spacing: 0.06em;
9347
- /* Plate font — bold condensed sans is closest to the FE-Schrift look without
9348
- shipping a custom font. JetBrains Mono is the system mono brand font. */
9349
- font-family:
9350
- 'Arial Narrow', 'Helvetica Neue', Helvetica, Arial, sans-serif;
9351
- font-weight: 800;
9352
- padding: 0 0.5em;
9353
- width: 100%;
9354
- caret-color: var(--plate-text);
9285
+ .muka-media-viewer__slide {
9286
+ position: absolute;
9287
+ inset: 0;
9288
+ display: flex;
9289
+ align-items: center;
9290
+ justify-content: center;
9291
+ padding: var(--spacing-4);
9292
+ transition: transform var(--motion-duration-component) var(--motion-easing-default);
9293
+ will-change: transform;
9355
9294
  }
9356
9295
 
9357
- .muka-license-plate-input__plate--sm .muka-license-plate-input__native {
9358
- font-size: 22px;
9296
+ /* While a finger drags, the image follows it without easing. */
9297
+ .muka-media-viewer--dragging .muka-media-viewer__slide {
9298
+ transition: none;
9359
9299
  }
9360
9300
 
9361
- .muka-license-plate-input__plate--md .muka-license-plate-input__native {
9362
- font-size: 30px;
9301
+ .muka-media-viewer__image {
9302
+ display: block;
9303
+ max-width: 100%;
9304
+ max-height: 100%;
9305
+ object-fit: contain;
9306
+ /* The image takes touches, so a long press opens the OS menu (save, share,
9307
+ copy). The swipe still works: pointer events bubble to the stage, and a
9308
+ long press doesn't move far enough to start a drag. */
9309
+ -webkit-touch-callout: default;
9363
9310
  }
9364
9311
 
9365
- .muka-license-plate-input__plate--lg .muka-license-plate-input__native {
9366
- font-size: 42px;
9312
+ /* ─── Previous / next: devices that can hover ─────────── */
9313
+ .muka-media-viewer__nav {
9314
+ position: absolute;
9315
+ top: 50%;
9316
+ display: none;
9317
+ transform: translateY(-50%);
9318
+ opacity: 0;
9319
+ transition: opacity var(--motion-duration-micro) var(--motion-easing-enter);
9367
9320
  }
9368
9321
 
9369
- .muka-license-plate-input__native::placeholder {
9370
- color: var(--plate-text);
9371
- opacity: 0.55;
9372
- font-weight: 700;
9373
- letter-spacing: 0.08em;
9322
+ .muka-media-viewer__nav--previous {
9323
+ left: var(--spacing-4);
9374
9324
  }
9375
9325
 
9376
- .muka-license-plate-input__plate--disabled .muka-license-plate-input__native {
9377
- cursor: not-allowed;
9326
+ .muka-media-viewer__nav--next {
9327
+ right: var(--spacing-4);
9378
9328
  }
9379
9329
 
9380
- /* Helper text */
9381
- .muka-license-plate-input__helper {
9382
- font-family: var(--text-label-sm-regular-fontFamily);
9383
- font-weight: var(--text-label-sm-regular-fontWeight);
9384
- font-size: var(--text-label-sm-regular-fontSize);
9385
- line-height: var(--text-label-sm-regular-lineHeight);
9386
- color: var(--color-text-subtle-default);
9387
- margin: 0;
9388
- }
9330
+ @media (hover: hover) and (pointer: fine) {
9331
+ .muka-media-viewer__nav {
9332
+ display: block;
9333
+ }
9389
9334
 
9390
- /* Error message */
9391
- .muka-license-plate-input__error {
9392
- font-family: var(--text-label-sm-regular-fontFamily);
9393
- font-weight: var(--text-label-sm-regular-fontWeight);
9394
- font-size: var(--text-label-sm-regular-fontSize);
9395
- line-height: var(--text-label-sm-regular-lineHeight);
9396
- color: var(--color-state-error-default);
9397
- margin: 0;
9335
+ .muka-media-viewer__stage:hover .muka-media-viewer__nav,
9336
+ .muka-media-viewer__nav:focus-within {
9337
+ opacity: 1;
9338
+ }
9398
9339
  }
9399
9340
 
9341
+ /* ─── Footer: caption, meta and actions ───────────────── */
9342
+ .muka-media-viewer__footer {
9343
+ flex-shrink: 0;
9344
+ display: flex;
9345
+ flex-direction: column;
9346
+ gap: var(--spacing-3);
9347
+ padding: var(--spacing-4);
9348
+ padding-bottom: calc(var(--spacing-4) + env(safe-area-inset-bottom, 0px));
9349
+ background-color: var(--color-surface-level3);
9350
+ }
9400
9351
 
9401
- /* Label */
9402
- /* Label Component Styles - Using Muka Design Tokens */
9403
-
9404
- .muka-label {
9405
- display: inline-flex;
9406
- align-items: center;
9407
- color: var(--color-text-default-default);
9408
- cursor: pointer;
9352
+ .muka-media-viewer__details {
9353
+ display: flex;
9354
+ align-items: flex-start;
9355
+ justify-content: space-between;
9356
+ gap: var(--spacing-3);
9409
9357
  }
9410
9358
 
9411
- .muka-label--sm {
9412
- font-family: var(--text-label-sm-semibold-fontFamily);
9413
- font-weight: var(--text-label-sm-semibold-fontWeight);
9414
- font-size: var(--text-label-sm-semibold-fontSize);
9415
- line-height: var(--text-label-sm-semibold-lineHeight);
9359
+ .muka-media-viewer__caption {
9360
+ min-width: 0;
9361
+ color: var(--color-text-subtle-default);
9362
+ font-family: var(--text-body-sm-regular-fontFamily);
9363
+ font-size: var(--text-body-sm-regular-fontSize);
9364
+ font-weight: var(--text-body-sm-regular-fontWeight);
9365
+ line-height: var(--text-body-sm-regular-lineHeight);
9366
+ overflow-wrap: anywhere;
9416
9367
  }
9417
9368
 
9418
- .muka-label--md {
9419
- font-family: var(--text-label-md-semibold-fontFamily);
9420
- font-weight: var(--text-label-md-semibold-fontWeight);
9421
- font-size: var(--text-label-md-semibold-fontSize);
9422
- line-height: var(--text-label-md-semibold-lineHeight);
9369
+ .muka-media-viewer__meta {
9370
+ flex-shrink: 0;
9423
9371
  }
9424
9372
 
9425
- .muka-label--lg {
9426
- font-family: var(--text-label-lg-semibold-fontFamily);
9427
- font-weight: var(--text-label-lg-semibold-fontWeight);
9428
- font-size: var(--text-label-lg-semibold-fontSize);
9429
- line-height: var(--text-label-lg-semibold-lineHeight);
9373
+ .muka-media-viewer__actions {
9374
+ display: flex;
9375
+ flex-wrap: wrap;
9376
+ gap: var(--spacing-2);
9430
9377
  }
9431
9378
 
9432
- .muka-label--disabled {
9433
- color: var(--color-text-subtle-default);
9434
- cursor: not-allowed;
9379
+ /* Mobile: actions stack full width, like Dialog footers. */
9380
+ @media (max-width: 1023px) {
9381
+ .muka-media-viewer__actions {
9382
+ flex-direction: column;
9383
+ }
9384
+
9385
+ .muka-media-viewer__actions > * {
9386
+ width: 100%;
9387
+ }
9435
9388
  }
9436
9389
 
9437
- .muka-label__required {
9438
- color: var(--color-state-error-default);
9390
+ /* ─── Reduced motion ──────────────────────────────────── */
9391
+ @media (prefers-reduced-motion: reduce) {
9392
+ .muka-media-viewer,
9393
+ .muka-media-viewer__slide,
9394
+ .muka-media-viewer__nav {
9395
+ animation: none;
9396
+ transition: none;
9397
+ }
9439
9398
  }
9440
9399
 
9441
9400
 
@@ -9898,26 +9857,6 @@ li.muka-listitem {
9898
9857
  }
9899
9858
 
9900
9859
 
9901
- /* Form */
9902
- .muka-form {
9903
- display: flex;
9904
- flex-direction: column;
9905
- width: 100%;
9906
- }
9907
-
9908
- .muka-form--gap-sm {
9909
- gap: var(--size-sm);
9910
- }
9911
-
9912
- .muka-form--gap-md {
9913
- gap: var(--size-md);
9914
- }
9915
-
9916
- .muka-form--gap-lg {
9917
- gap: var(--size-lg);
9918
- }
9919
-
9920
-
9921
9860
  /* Icon */
9922
9861
  /* Icon Component Styles - Using Muka Design Tokens */
9923
9862
 
@@ -9972,6 +9911,26 @@ li.muka-listitem {
9972
9911
  }
9973
9912
 
9974
9913
 
9914
+ /* Form */
9915
+ .muka-form {
9916
+ display: flex;
9917
+ flex-direction: column;
9918
+ width: 100%;
9919
+ }
9920
+
9921
+ .muka-form--gap-sm {
9922
+ gap: var(--size-sm);
9923
+ }
9924
+
9925
+ .muka-form--gap-md {
9926
+ gap: var(--size-md);
9927
+ }
9928
+
9929
+ .muka-form--gap-lg {
9930
+ gap: var(--size-lg);
9931
+ }
9932
+
9933
+
9975
9934
  /* FileUpload */
9976
9935
  /* FileUpload Component Styles */
9977
9936
 
@@ -10375,6 +10334,47 @@ li.muka-listitem {
10375
10334
  }
10376
10335
 
10377
10336
 
10337
+ /* Label */
10338
+ /* Label Component Styles - Using Muka Design Tokens */
10339
+
10340
+ .muka-label {
10341
+ display: inline-flex;
10342
+ align-items: center;
10343
+ color: var(--color-text-default-default);
10344
+ cursor: pointer;
10345
+ }
10346
+
10347
+ .muka-label--sm {
10348
+ font-family: var(--text-label-sm-semibold-fontFamily);
10349
+ font-weight: var(--text-label-sm-semibold-fontWeight);
10350
+ font-size: var(--text-label-sm-semibold-fontSize);
10351
+ line-height: var(--text-label-sm-semibold-lineHeight);
10352
+ }
10353
+
10354
+ .muka-label--md {
10355
+ font-family: var(--text-label-md-semibold-fontFamily);
10356
+ font-weight: var(--text-label-md-semibold-fontWeight);
10357
+ font-size: var(--text-label-md-semibold-fontSize);
10358
+ line-height: var(--text-label-md-semibold-lineHeight);
10359
+ }
10360
+
10361
+ .muka-label--lg {
10362
+ font-family: var(--text-label-lg-semibold-fontFamily);
10363
+ font-weight: var(--text-label-lg-semibold-fontWeight);
10364
+ font-size: var(--text-label-lg-semibold-fontSize);
10365
+ line-height: var(--text-label-lg-semibold-lineHeight);
10366
+ }
10367
+
10368
+ .muka-label--disabled {
10369
+ color: var(--color-text-subtle-default);
10370
+ cursor: not-allowed;
10371
+ }
10372
+
10373
+ .muka-label__required {
10374
+ color: var(--color-state-error-default);
10375
+ }
10376
+
10377
+
10378
10378
  /* EmptyState */
10379
10379
  /* EmptyState Component Styles - Using Muka Design Tokens */
10380
10380
 
@@ -10538,234 +10538,6 @@ li.muka-listitem {
10538
10538
  }
10539
10539
 
10540
10540
 
10541
- /* DropdownSelect */
10542
- /* DropdownSelect — Figma Dropdown Menu form field (Menu + chips) */
10543
-
10544
- .muka-dropdown-select {
10545
- display: inline-flex;
10546
- flex-direction: column;
10547
- gap: var(--spacing-2);
10548
- min-width: 200px;
10549
- }
10550
-
10551
- .muka-dropdown-select--full-width {
10552
- width: 100%;
10553
- }
10554
-
10555
- .muka-dropdown-select__label {
10556
- color: var(--color-text-default-default);
10557
- cursor: pointer;
10558
- }
10559
-
10560
- .muka-dropdown-select__label--sm {
10561
- font-family: var(--text-label-sm-semibold-fontFamily);
10562
- font-weight: var(--text-label-sm-semibold-fontWeight);
10563
- font-size: var(--text-label-sm-semibold-fontSize);
10564
- line-height: var(--text-label-sm-semibold-lineHeight);
10565
- }
10566
-
10567
- .muka-dropdown-select__label--md {
10568
- font-family: var(--text-label-md-semibold-fontFamily);
10569
- font-weight: var(--text-label-md-semibold-fontWeight);
10570
- font-size: var(--text-label-md-semibold-fontSize);
10571
- line-height: var(--text-label-md-semibold-lineHeight);
10572
- }
10573
-
10574
- .muka-dropdown-select__label--lg {
10575
- font-family: var(--text-label-lg-semibold-fontFamily);
10576
- font-weight: var(--text-label-lg-semibold-fontWeight);
10577
- font-size: var(--text-label-lg-semibold-fontSize);
10578
- line-height: var(--text-label-lg-semibold-lineHeight);
10579
- }
10580
-
10581
- .muka-dropdown-select__required {
10582
- color: var(--color-state-error-default);
10583
- }
10584
-
10585
- .muka-dropdown-select__field {
10586
- display: flex;
10587
- align-items: center;
10588
- gap: var(--spacing-1);
10589
- width: 100%;
10590
- position: relative;
10591
- box-sizing: border-box;
10592
- background-color: var(--input-field-color-default-background);
10593
- border: var(--border-width-regular) solid var(--input-field-color-default-border);
10594
- border-radius: var(--input-field-radius-lg);
10595
- padding: var(--spacing-2);
10596
- padding-right: calc(var(--spacing-2) + var(--size-2xl, 2rem));
10597
- text-align: left;
10598
- cursor: pointer;
10599
- color: var(--color-text-default-default);
10600
- transition: border-color 0.12s ease, background-color 0.12s ease;
10601
- -webkit-tap-highlight-color: transparent;
10602
- }
10603
-
10604
- .muka-dropdown-select__field::after {
10605
- content: '';
10606
- position: absolute;
10607
- inset: 0;
10608
- border-radius: inherit;
10609
- box-shadow: inset 0 1px 2px 0 rgba(26, 26, 26, 0.08);
10610
- pointer-events: none;
10611
- }
10612
-
10613
- .muka-dropdown-select__field--sm {
10614
- min-height: var(--input-field-height-sm);
10615
- border-radius: var(--input-field-radius-sm);
10616
- padding-right: calc(var(--spacing-2) + var(--size-xl, 1.5rem));
10617
- }
10618
-
10619
- .muka-dropdown-select__field--md {
10620
- min-height: var(--input-field-height-default);
10621
- border-radius: var(--input-field-radius-md);
10622
- }
10623
-
10624
- .muka-dropdown-select__field--lg {
10625
- min-height: var(--input-field-height-lg);
10626
- border-radius: var(--input-field-radius-lg);
10627
- }
10628
-
10629
- .muka-dropdown-select__field--focused:not(.muka-dropdown-select__field--disabled) {
10630
- border-width: var(--border-width-bold);
10631
- border-color: var(--input-field-color-focus-border);
10632
- background-color: var(--input-field-color-focus-background);
10633
- padding: calc(var(--spacing-2) - 1px);
10634
- padding-right: calc(var(--spacing-2) + var(--size-2xl, 2rem) - 1px);
10635
- }
10636
-
10637
- .muka-dropdown-select__field--sm.muka-dropdown-select__field--focused:not(.muka-dropdown-select__field--disabled) {
10638
- padding-right: calc(var(--spacing-2) + var(--size-xl, 1.5rem) - 1px);
10639
- }
10640
-
10641
- .muka-dropdown-select__field--error:not(.muka-dropdown-select__field--disabled) {
10642
- border-color: var(--color-state-error-contrast);
10643
- }
10644
-
10645
- .muka-dropdown-select__field--disabled {
10646
- opacity: 0.5;
10647
- cursor: not-allowed;
10648
- }
10649
-
10650
- .muka-dropdown-select__content {
10651
- position: relative;
10652
- z-index: 1;
10653
- display: flex;
10654
- flex: 1 1 auto;
10655
- min-width: 0;
10656
- align-items: center;
10657
- /* Let empty-field / value clicks reach the full-field MenuTrigger underneath. */
10658
- pointer-events: none;
10659
- }
10660
-
10661
- .muka-dropdown-select__placeholder {
10662
- color: var(--color-text-subtle-default);
10663
- font-family: var(--text-label-md-regular-fontFamily);
10664
- font-size: var(--text-label-md-regular-fontSize);
10665
- font-weight: var(--text-label-md-regular-fontWeight);
10666
- line-height: var(--text-label-md-regular-lineHeight);
10667
- padding-inline: var(--spacing-1);
10668
- }
10669
-
10670
- .muka-dropdown-select__value {
10671
- font-family: var(--text-label-md-regular-fontFamily);
10672
- font-size: var(--text-label-md-regular-fontSize);
10673
- font-weight: var(--text-label-md-regular-fontWeight);
10674
- line-height: var(--text-label-md-regular-lineHeight);
10675
- padding-inline: var(--spacing-1);
10676
- white-space: nowrap;
10677
- overflow: hidden;
10678
- text-overflow: ellipsis;
10679
- }
10680
-
10681
- .muka-dropdown-select__chips {
10682
- display: flex;
10683
- flex: 1 1 auto;
10684
- flex-wrap: wrap;
10685
- gap: var(--spacing-2);
10686
- align-items: flex-start;
10687
- min-width: 0;
10688
- /* Chip remove controls must remain clickable above the field hit target. */
10689
- pointer-events: auto;
10690
- }
10691
-
10692
- .muka-dropdown-select__field--multiline {
10693
- align-items: flex-start;
10694
- min-height: 7rem;
10695
- }
10696
-
10697
- .muka-dropdown-select__menu-button {
10698
- position: absolute;
10699
- inset: 0;
10700
- z-index: 0;
10701
- display: inline-flex;
10702
- align-items: center;
10703
- justify-content: flex-end;
10704
- width: auto;
10705
- height: auto;
10706
- padding: 0;
10707
- padding-right: var(--spacing-2);
10708
- border: none;
10709
- border-radius: inherit;
10710
- background: transparent;
10711
- color: var(--color-text-subtle-default);
10712
- cursor: pointer;
10713
- }
10714
-
10715
- .muka-dropdown-select__field--multiline .muka-dropdown-select__menu-button {
10716
- align-items: flex-start;
10717
- padding-top: calc(var(--spacing-2) + 8px);
10718
- }
10719
-
10720
- .muka-dropdown-select__chevron {
10721
- display: inline-flex;
10722
- align-items: center;
10723
- justify-content: center;
10724
- width: var(--size-2xl, 2rem);
10725
- height: var(--size-2xl, 2rem);
10726
- pointer-events: none;
10727
- color: var(--color-text-subtle-default);
10728
- }
10729
-
10730
- .muka-dropdown-select__chevron .muka-icon,
10731
- .muka-dropdown-select__menu-button:hover .muka-dropdown-select__chevron,
10732
- .muka-dropdown-select__menu-button:hover .muka-icon {
10733
- color: var(--color-text-subtle-default);
10734
- }
10735
-
10736
- .muka-dropdown-select__field--sm .muka-dropdown-select__chevron {
10737
- width: var(--size-xl, 1.5rem);
10738
- height: var(--size-xl, 1.5rem);
10739
- }
10740
-
10741
- .muka-dropdown-select__menu-button:focus-visible {
10742
- outline: 2px solid var(--color-border-focus, var(--color-action-default));
10743
- outline-offset: 2px;
10744
- }
10745
-
10746
- .muka-dropdown-select__helper {
10747
- margin: 0;
10748
- color: var(--color-text-subtle-default);
10749
- font-family: var(--text-label-sm-regular-fontFamily);
10750
- font-size: var(--text-label-sm-regular-fontSize);
10751
- font-weight: var(--text-label-sm-regular-fontWeight);
10752
- line-height: var(--text-label-sm-regular-lineHeight);
10753
- }
10754
-
10755
- .muka-dropdown-select__error {
10756
- margin: 0;
10757
- color: var(--color-state-error-default);
10758
- font-family: var(--text-label-sm-regular-fontFamily);
10759
- font-size: var(--text-label-sm-regular-fontSize);
10760
- font-weight: var(--text-label-sm-regular-fontWeight);
10761
- line-height: var(--text-label-sm-regular-lineHeight);
10762
- }
10763
-
10764
- .muka-dropdown-select__menu {
10765
- /* Uses Menu min-width (280px); grows with long labels; left-aligned to the field. */
10766
- }
10767
-
10768
-
10769
10541
  /* Drawer */
10770
10542
  /* Drawer Component Styles */
10771
10543
 
@@ -11201,6 +10973,33 @@ li.muka-listitem {
11201
10973
  }
11202
10974
 
11203
10975
 
10976
+ /* Divider */
10977
+ /* Divider Component Styles - Using Muka Design Tokens */
10978
+
10979
+ .muka-divider {
10980
+ flex-shrink: 0;
10981
+ }
10982
+
10983
+ .muka-divider--horizontal {
10984
+ width: 100%;
10985
+ height: var(--separator-width);
10986
+ }
10987
+
10988
+ .muka-divider--vertical {
10989
+ height: 100%;
10990
+ width: var(--separator-width);
10991
+ align-self: stretch;
10992
+ }
10993
+
10994
+ .muka-divider--default {
10995
+ background-color: var(--separator-color-default);
10996
+ }
10997
+
10998
+ .muka-divider--contrast {
10999
+ background-color: var(--separator-color-contrast);
11000
+ }
11001
+
11002
+
11204
11003
  /* Dialog */
11205
11004
  /* Dialog Component Styles */
11206
11005
 
@@ -11472,33 +11271,6 @@ li.muka-listitem {
11472
11271
  }
11473
11272
 
11474
11273
 
11475
- /* Divider */
11476
- /* Divider Component Styles - Using Muka Design Tokens */
11477
-
11478
- .muka-divider {
11479
- flex-shrink: 0;
11480
- }
11481
-
11482
- .muka-divider--horizontal {
11483
- width: 100%;
11484
- height: var(--separator-width);
11485
- }
11486
-
11487
- .muka-divider--vertical {
11488
- height: 100%;
11489
- width: var(--separator-width);
11490
- align-self: stretch;
11491
- }
11492
-
11493
- .muka-divider--default {
11494
- background-color: var(--separator-color-default);
11495
- }
11496
-
11497
- .muka-divider--contrast {
11498
- background-color: var(--separator-color-contrast);
11499
- }
11500
-
11501
-
11502
11274
  /* DatePicker */
11503
11275
  /* DatePicker — compact native date field. */
11504
11276
  /* Field/label/helper styling is inherited from ../Input/Input.css. */
@@ -12903,6 +12675,234 @@ li.muka-listitem {
12903
12675
  }
12904
12676
 
12905
12677
 
12678
+ /* DropdownSelect */
12679
+ /* DropdownSelect — Figma Dropdown Menu form field (Menu + chips) */
12680
+
12681
+ .muka-dropdown-select {
12682
+ display: inline-flex;
12683
+ flex-direction: column;
12684
+ gap: var(--spacing-2);
12685
+ min-width: 200px;
12686
+ }
12687
+
12688
+ .muka-dropdown-select--full-width {
12689
+ width: 100%;
12690
+ }
12691
+
12692
+ .muka-dropdown-select__label {
12693
+ color: var(--color-text-default-default);
12694
+ cursor: pointer;
12695
+ }
12696
+
12697
+ .muka-dropdown-select__label--sm {
12698
+ font-family: var(--text-label-sm-semibold-fontFamily);
12699
+ font-weight: var(--text-label-sm-semibold-fontWeight);
12700
+ font-size: var(--text-label-sm-semibold-fontSize);
12701
+ line-height: var(--text-label-sm-semibold-lineHeight);
12702
+ }
12703
+
12704
+ .muka-dropdown-select__label--md {
12705
+ font-family: var(--text-label-md-semibold-fontFamily);
12706
+ font-weight: var(--text-label-md-semibold-fontWeight);
12707
+ font-size: var(--text-label-md-semibold-fontSize);
12708
+ line-height: var(--text-label-md-semibold-lineHeight);
12709
+ }
12710
+
12711
+ .muka-dropdown-select__label--lg {
12712
+ font-family: var(--text-label-lg-semibold-fontFamily);
12713
+ font-weight: var(--text-label-lg-semibold-fontWeight);
12714
+ font-size: var(--text-label-lg-semibold-fontSize);
12715
+ line-height: var(--text-label-lg-semibold-lineHeight);
12716
+ }
12717
+
12718
+ .muka-dropdown-select__required {
12719
+ color: var(--color-state-error-default);
12720
+ }
12721
+
12722
+ .muka-dropdown-select__field {
12723
+ display: flex;
12724
+ align-items: center;
12725
+ gap: var(--spacing-1);
12726
+ width: 100%;
12727
+ position: relative;
12728
+ box-sizing: border-box;
12729
+ background-color: var(--input-field-color-default-background);
12730
+ border: var(--border-width-regular) solid var(--input-field-color-default-border);
12731
+ border-radius: var(--input-field-radius-lg);
12732
+ padding: var(--spacing-2);
12733
+ padding-right: calc(var(--spacing-2) + var(--size-2xl, 2rem));
12734
+ text-align: left;
12735
+ cursor: pointer;
12736
+ color: var(--color-text-default-default);
12737
+ transition: border-color 0.12s ease, background-color 0.12s ease;
12738
+ -webkit-tap-highlight-color: transparent;
12739
+ }
12740
+
12741
+ .muka-dropdown-select__field::after {
12742
+ content: '';
12743
+ position: absolute;
12744
+ inset: 0;
12745
+ border-radius: inherit;
12746
+ box-shadow: inset 0 1px 2px 0 rgba(26, 26, 26, 0.08);
12747
+ pointer-events: none;
12748
+ }
12749
+
12750
+ .muka-dropdown-select__field--sm {
12751
+ min-height: var(--input-field-height-sm);
12752
+ border-radius: var(--input-field-radius-sm);
12753
+ padding-right: calc(var(--spacing-2) + var(--size-xl, 1.5rem));
12754
+ }
12755
+
12756
+ .muka-dropdown-select__field--md {
12757
+ min-height: var(--input-field-height-default);
12758
+ border-radius: var(--input-field-radius-md);
12759
+ }
12760
+
12761
+ .muka-dropdown-select__field--lg {
12762
+ min-height: var(--input-field-height-lg);
12763
+ border-radius: var(--input-field-radius-lg);
12764
+ }
12765
+
12766
+ .muka-dropdown-select__field--focused:not(.muka-dropdown-select__field--disabled) {
12767
+ border-width: var(--border-width-bold);
12768
+ border-color: var(--input-field-color-focus-border);
12769
+ background-color: var(--input-field-color-focus-background);
12770
+ padding: calc(var(--spacing-2) - 1px);
12771
+ padding-right: calc(var(--spacing-2) + var(--size-2xl, 2rem) - 1px);
12772
+ }
12773
+
12774
+ .muka-dropdown-select__field--sm.muka-dropdown-select__field--focused:not(.muka-dropdown-select__field--disabled) {
12775
+ padding-right: calc(var(--spacing-2) + var(--size-xl, 1.5rem) - 1px);
12776
+ }
12777
+
12778
+ .muka-dropdown-select__field--error:not(.muka-dropdown-select__field--disabled) {
12779
+ border-color: var(--color-state-error-contrast);
12780
+ }
12781
+
12782
+ .muka-dropdown-select__field--disabled {
12783
+ opacity: 0.5;
12784
+ cursor: not-allowed;
12785
+ }
12786
+
12787
+ .muka-dropdown-select__content {
12788
+ position: relative;
12789
+ z-index: 1;
12790
+ display: flex;
12791
+ flex: 1 1 auto;
12792
+ min-width: 0;
12793
+ align-items: center;
12794
+ /* Let empty-field / value clicks reach the full-field MenuTrigger underneath. */
12795
+ pointer-events: none;
12796
+ }
12797
+
12798
+ .muka-dropdown-select__placeholder {
12799
+ color: var(--color-text-subtle-default);
12800
+ font-family: var(--text-label-md-regular-fontFamily);
12801
+ font-size: var(--text-label-md-regular-fontSize);
12802
+ font-weight: var(--text-label-md-regular-fontWeight);
12803
+ line-height: var(--text-label-md-regular-lineHeight);
12804
+ padding-inline: var(--spacing-1);
12805
+ }
12806
+
12807
+ .muka-dropdown-select__value {
12808
+ font-family: var(--text-label-md-regular-fontFamily);
12809
+ font-size: var(--text-label-md-regular-fontSize);
12810
+ font-weight: var(--text-label-md-regular-fontWeight);
12811
+ line-height: var(--text-label-md-regular-lineHeight);
12812
+ padding-inline: var(--spacing-1);
12813
+ white-space: nowrap;
12814
+ overflow: hidden;
12815
+ text-overflow: ellipsis;
12816
+ }
12817
+
12818
+ .muka-dropdown-select__chips {
12819
+ display: flex;
12820
+ flex: 1 1 auto;
12821
+ flex-wrap: wrap;
12822
+ gap: var(--spacing-2);
12823
+ align-items: flex-start;
12824
+ min-width: 0;
12825
+ /* Chip remove controls must remain clickable above the field hit target. */
12826
+ pointer-events: auto;
12827
+ }
12828
+
12829
+ .muka-dropdown-select__field--multiline {
12830
+ align-items: flex-start;
12831
+ min-height: 7rem;
12832
+ }
12833
+
12834
+ .muka-dropdown-select__menu-button {
12835
+ position: absolute;
12836
+ inset: 0;
12837
+ z-index: 0;
12838
+ display: inline-flex;
12839
+ align-items: center;
12840
+ justify-content: flex-end;
12841
+ width: auto;
12842
+ height: auto;
12843
+ padding: 0;
12844
+ padding-right: var(--spacing-2);
12845
+ border: none;
12846
+ border-radius: inherit;
12847
+ background: transparent;
12848
+ color: var(--color-text-subtle-default);
12849
+ cursor: pointer;
12850
+ }
12851
+
12852
+ .muka-dropdown-select__field--multiline .muka-dropdown-select__menu-button {
12853
+ align-items: flex-start;
12854
+ padding-top: calc(var(--spacing-2) + 8px);
12855
+ }
12856
+
12857
+ .muka-dropdown-select__chevron {
12858
+ display: inline-flex;
12859
+ align-items: center;
12860
+ justify-content: center;
12861
+ width: var(--size-2xl, 2rem);
12862
+ height: var(--size-2xl, 2rem);
12863
+ pointer-events: none;
12864
+ color: var(--color-text-subtle-default);
12865
+ }
12866
+
12867
+ .muka-dropdown-select__chevron .muka-icon,
12868
+ .muka-dropdown-select__menu-button:hover .muka-dropdown-select__chevron,
12869
+ .muka-dropdown-select__menu-button:hover .muka-icon {
12870
+ color: var(--color-text-subtle-default);
12871
+ }
12872
+
12873
+ .muka-dropdown-select__field--sm .muka-dropdown-select__chevron {
12874
+ width: var(--size-xl, 1.5rem);
12875
+ height: var(--size-xl, 1.5rem);
12876
+ }
12877
+
12878
+ .muka-dropdown-select__menu-button:focus-visible {
12879
+ outline: 2px solid var(--color-border-focus, var(--color-action-default));
12880
+ outline-offset: 2px;
12881
+ }
12882
+
12883
+ .muka-dropdown-select__helper {
12884
+ margin: 0;
12885
+ color: var(--color-text-subtle-default);
12886
+ font-family: var(--text-label-sm-regular-fontFamily);
12887
+ font-size: var(--text-label-sm-regular-fontSize);
12888
+ font-weight: var(--text-label-sm-regular-fontWeight);
12889
+ line-height: var(--text-label-sm-regular-lineHeight);
12890
+ }
12891
+
12892
+ .muka-dropdown-select__error {
12893
+ margin: 0;
12894
+ color: var(--color-state-error-default);
12895
+ font-family: var(--text-label-sm-regular-fontFamily);
12896
+ font-size: var(--text-label-sm-regular-fontSize);
12897
+ font-weight: var(--text-label-sm-regular-fontWeight);
12898
+ line-height: var(--text-label-sm-regular-lineHeight);
12899
+ }
12900
+
12901
+ .muka-dropdown-select__menu {
12902
+ /* Uses Menu min-width (280px); grows with long labels; left-aligned to the field. */
12903
+ }
12904
+
12905
+
12906
12906
  /* Checkbox */
12907
12907
  /* Checkbox Component Styles - Using Muka Design Tokens */
12908
12908