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