@revikornmann/muka-ui 0.64.3 → 0.64.4

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.
@@ -5678,226 +5678,6 @@ body {
5678
5678
  }
5679
5679
 
5680
5680
 
5681
- /* Skeleton */
5682
- /* Skeleton Component Styles */
5683
-
5684
- .muka-skeleton {
5685
- background-color: var(--color-surface-level1);
5686
- display: block;
5687
- }
5688
-
5689
- /* Variants */
5690
- .muka-skeleton--text {
5691
- height: 1em;
5692
- border-radius: var(--radius-md);
5693
- width: 100%;
5694
- }
5695
-
5696
- .muka-skeleton--circular {
5697
- width: 2.5rem;
5698
- height: 2.5rem;
5699
- border-radius: var(--radius-full);
5700
- }
5701
-
5702
- .muka-skeleton--rectangular {
5703
- height: 7.5rem;
5704
- border-radius: var(--radius-md);
5705
- width: 100%;
5706
- }
5707
-
5708
- /* Last line in multi-line text is shorter */
5709
- .muka-skeleton--last-line {
5710
- width: 80%;
5711
- }
5712
-
5713
- /* Lines container */
5714
- .muka-skeleton__lines {
5715
- display: flex;
5716
- flex-direction: column;
5717
- gap: var(--spacing-2);
5718
- }
5719
-
5720
- /* Shimmer animation */
5721
- @keyframes muka-skeleton-shimmer {
5722
- 0% {
5723
- background-position: -200% 0;
5724
- }
5725
- 100% {
5726
- background-position: 200% 0;
5727
- }
5728
- }
5729
-
5730
- .muka-skeleton--shimmer {
5731
- background: linear-gradient(
5732
- 90deg,
5733
- var(--color-surface-level1) 25%,
5734
- var(--color-surface-level2) 50%,
5735
- var(--color-surface-level1) 75%
5736
- );
5737
- background-size: 200% 100%;
5738
- animation: muka-skeleton-shimmer 1.5s ease-in-out infinite;
5739
- }
5740
-
5741
- /* Pulse animation */
5742
- @keyframes muka-skeleton-pulse {
5743
- 0%, 100% {
5744
- opacity: 1;
5745
- }
5746
- 50% {
5747
- opacity: 0.4;
5748
- }
5749
- }
5750
-
5751
- .muka-skeleton--pulse {
5752
- animation: muka-skeleton-pulse 1.5s ease-in-out infinite;
5753
- }
5754
-
5755
-
5756
- /* SiteHeader */
5757
- /* SiteHeader Component Styles */
5758
-
5759
- /*
5760
- * Header for document-scrolling pages. Its colour comes from, in order:
5761
- * `--muka-site-header-background` (set by the consumer), the surrounding
5762
- * Page's `--muka-page-background`, and the base surface.
5763
- *
5764
- * Safe areas: env(safe-area-inset-*) is 0 outside notched devices. In an app
5765
- * running edge to edge, the header extends behind the status bar in its own
5766
- * colour and keeps its content clear of a landscape notch.
5767
- */
5768
- .muka-site-header {
5769
- width: 100%;
5770
- flex-shrink: 0;
5771
- background-color: var(--muka-site-header-background, var(--muka-page-background, var(--color-surface-level3)));
5772
- padding-top: env(safe-area-inset-top, 0px);
5773
- }
5774
-
5775
- .muka-site-header--sticky {
5776
- position: sticky;
5777
- top: 0;
5778
- z-index: 30;
5779
- border-bottom: var(--border-width-regular) solid var(--color-border-default);
5780
- }
5781
-
5782
- /*
5783
- * A header that scrolls away would leave the status bar over the content. A
5784
- * fixed strip in the header's colour stays behind the status bar instead.
5785
- * Below Muka's overlays, so a dialog's backdrop dims it with the page.
5786
- */
5787
- .muka-site-header:not(.muka-site-header--sticky)::before {
5788
- content: '';
5789
- position: fixed;
5790
- top: 0;
5791
- left: 0;
5792
- right: 0;
5793
- height: env(safe-area-inset-top, 0px);
5794
- background-color: inherit;
5795
- pointer-events: none;
5796
- z-index: 30;
5797
- }
5798
-
5799
- .muka-site-header__inner {
5800
- display: flex;
5801
- align-items: center;
5802
- gap: var(--spacing-2);
5803
- width: 100%;
5804
- max-width: var(--container-max-width-xl);
5805
- margin: 0 auto;
5806
- padding-block: var(--spacing-6);
5807
- padding-left: max(var(--spacing-4), env(safe-area-inset-left, 0px));
5808
- padding-right: max(var(--spacing-4), env(safe-area-inset-right, 0px));
5809
- }
5810
-
5811
- .muka-site-header__brand {
5812
- display: flex;
5813
- align-items: center;
5814
- flex-shrink: 0;
5815
- min-width: 0;
5816
- }
5817
-
5818
- .muka-site-header__nav {
5819
- display: none;
5820
- align-items: center;
5821
- gap: var(--spacing-1);
5822
- min-width: 0;
5823
- }
5824
-
5825
- .muka-site-header__actions {
5826
- display: flex;
5827
- align-items: center;
5828
- margin-left: auto;
5829
- min-width: 0;
5830
- }
5831
-
5832
- .muka-site-header__action-group {
5833
- display: flex;
5834
- align-items: center;
5835
- gap: var(--spacing-2);
5836
- }
5837
-
5838
- /* Small screens: the compact set replaces the full one. */
5839
- .muka-site-header__action-group--wide {
5840
- display: none;
5841
- }
5842
-
5843
- @media (min-width: 768px) {
5844
- .muka-site-header__inner {
5845
- gap: var(--spacing-4);
5846
- padding-block: var(--spacing-8);
5847
- }
5848
-
5849
- .muka-site-header__nav {
5850
- display: flex;
5851
- }
5852
-
5853
- .muka-site-header__action-group--wide {
5854
- display: flex;
5855
- }
5856
-
5857
- .muka-site-header__action-group--compact {
5858
- display: none;
5859
- }
5860
- }
5861
-
5862
- /*
5863
- * layout="full" (Figma Public header, Bouwplan): the content spans the width,
5864
- * the nav sits between brand and actions (space-between), and the inset grows
5865
- * with the screen: 24/16 on small screens, 16/24 from 768px, 32 from 1536px.
5866
- * Safe-area insets still win where they are larger.
5867
- */
5868
- .muka-site-header--full .muka-site-header__inner {
5869
- max-width: none;
5870
- justify-content: space-between;
5871
- }
5872
-
5873
- .muka-site-header--full .muka-site-header__actions {
5874
- margin-left: 0;
5875
- }
5876
-
5877
- @media (min-width: 768px) {
5878
- .muka-site-header--full .muka-site-header__inner {
5879
- padding-block: var(--spacing-4);
5880
- padding-left: max(var(--spacing-6), env(safe-area-inset-left, 0px));
5881
- padding-right: max(var(--spacing-6), env(safe-area-inset-right, 0px));
5882
- }
5883
- }
5884
-
5885
- @media (min-width: 1536px) {
5886
- .muka-site-header--full .muka-site-header__inner {
5887
- padding-block: var(--spacing-8);
5888
- padding-left: max(var(--spacing-8), env(safe-area-inset-left, 0px));
5889
- padding-right: max(var(--spacing-8), env(safe-area-inset-right, 0px));
5890
- }
5891
- }
5892
-
5893
- /* Small screens: no nav, so the actions take the end on their own. */
5894
- @media (max-width: 767px) {
5895
- .muka-site-header--full .muka-site-header__actions {
5896
- margin-left: auto;
5897
- }
5898
- }
5899
-
5900
-
5901
5681
  /* SmsOtpField */
5902
5682
  /* SmsOtpField Component Styles - Using Muka Design Tokens */
5903
5683
 
@@ -6090,31 +5870,106 @@ body {
6090
5870
  }
6091
5871
 
6092
5872
 
6093
- /* Sheet */
6094
- /* Sheet Component Styles */
6095
-
6096
- /* ─── Backdrop ────────────────────────────────────────── */
5873
+ /* Skeleton */
5874
+ /* Skeleton Component Styles */
6097
5875
 
6098
- .muka-sheet__overlay {
6099
- position: fixed;
6100
- inset: 0;
6101
- background-color: var(--color-surface-backdrop);
6102
- -webkit-backdrop-filter: blur(var(--effect-blur-backdrop));
6103
- backdrop-filter: blur(var(--effect-blur-backdrop));
6104
- z-index: 50;
5876
+ .muka-skeleton {
5877
+ background-color: var(--color-surface-level1);
5878
+ display: block;
6105
5879
  }
6106
5880
 
6107
- /* ─── Surface ─────────────────────────────────────────── */
5881
+ /* Variants */
5882
+ .muka-skeleton--text {
5883
+ height: 1em;
5884
+ border-radius: var(--radius-md);
5885
+ width: 100%;
5886
+ }
6108
5887
 
6109
- .muka-sheet {
6110
- position: fixed;
6111
- left: 0;
6112
- right: 0;
6113
- bottom: 0;
6114
- z-index: 51;
5888
+ .muka-skeleton--circular {
5889
+ width: 2.5rem;
5890
+ height: 2.5rem;
5891
+ border-radius: var(--radius-full);
5892
+ }
6115
5893
 
6116
- display: flex;
6117
- flex-direction: column;
5894
+ .muka-skeleton--rectangular {
5895
+ height: 7.5rem;
5896
+ border-radius: var(--radius-md);
5897
+ width: 100%;
5898
+ }
5899
+
5900
+ /* Last line in multi-line text is shorter */
5901
+ .muka-skeleton--last-line {
5902
+ width: 80%;
5903
+ }
5904
+
5905
+ /* Lines container */
5906
+ .muka-skeleton__lines {
5907
+ display: flex;
5908
+ flex-direction: column;
5909
+ gap: var(--spacing-2);
5910
+ }
5911
+
5912
+ /* Shimmer animation */
5913
+ @keyframes muka-skeleton-shimmer {
5914
+ 0% {
5915
+ background-position: -200% 0;
5916
+ }
5917
+ 100% {
5918
+ background-position: 200% 0;
5919
+ }
5920
+ }
5921
+
5922
+ .muka-skeleton--shimmer {
5923
+ background: linear-gradient(
5924
+ 90deg,
5925
+ var(--color-surface-level1) 25%,
5926
+ var(--color-surface-level2) 50%,
5927
+ var(--color-surface-level1) 75%
5928
+ );
5929
+ background-size: 200% 100%;
5930
+ animation: muka-skeleton-shimmer 1.5s ease-in-out infinite;
5931
+ }
5932
+
5933
+ /* Pulse animation */
5934
+ @keyframes muka-skeleton-pulse {
5935
+ 0%, 100% {
5936
+ opacity: 1;
5937
+ }
5938
+ 50% {
5939
+ opacity: 0.4;
5940
+ }
5941
+ }
5942
+
5943
+ .muka-skeleton--pulse {
5944
+ animation: muka-skeleton-pulse 1.5s ease-in-out infinite;
5945
+ }
5946
+
5947
+
5948
+ /* Sheet */
5949
+ /* Sheet Component Styles */
5950
+
5951
+ /* ─── Backdrop ────────────────────────────────────────── */
5952
+
5953
+ .muka-sheet__overlay {
5954
+ position: fixed;
5955
+ inset: 0;
5956
+ background-color: var(--color-surface-backdrop);
5957
+ -webkit-backdrop-filter: blur(var(--effect-blur-backdrop));
5958
+ backdrop-filter: blur(var(--effect-blur-backdrop));
5959
+ z-index: 50;
5960
+ }
5961
+
5962
+ /* ─── Surface ─────────────────────────────────────────── */
5963
+
5964
+ .muka-sheet {
5965
+ position: fixed;
5966
+ left: 0;
5967
+ right: 0;
5968
+ bottom: 0;
5969
+ z-index: 51;
5970
+
5971
+ display: flex;
5972
+ flex-direction: column;
6118
5973
 
6119
5974
  max-height: 96dvh;
6120
5975
 
@@ -6366,6 +6221,151 @@ body {
6366
6221
  }
6367
6222
 
6368
6223
 
6224
+ /* SiteHeader */
6225
+ /* SiteHeader Component Styles */
6226
+
6227
+ /*
6228
+ * Header for document-scrolling pages. Its colour comes from, in order:
6229
+ * `--muka-site-header-background` (set by the consumer), the surrounding
6230
+ * Page's `--muka-page-background`, and the base surface.
6231
+ *
6232
+ * Safe areas: env(safe-area-inset-*) is 0 outside notched devices. In an app
6233
+ * running edge to edge, the header extends behind the status bar in its own
6234
+ * colour and keeps its content clear of a landscape notch.
6235
+ */
6236
+ .muka-site-header {
6237
+ width: 100%;
6238
+ flex-shrink: 0;
6239
+ background-color: var(--muka-site-header-background, var(--muka-page-background, var(--color-surface-level3)));
6240
+ padding-top: env(safe-area-inset-top, 0px);
6241
+ }
6242
+
6243
+ .muka-site-header--sticky {
6244
+ position: sticky;
6245
+ top: 0;
6246
+ z-index: 30;
6247
+ border-bottom: var(--border-width-regular) solid var(--color-border-default);
6248
+ }
6249
+
6250
+ /*
6251
+ * A header that scrolls away would leave the status bar over the content. A
6252
+ * fixed strip in the header's colour stays behind the status bar instead.
6253
+ * Below Muka's overlays, so a dialog's backdrop dims it with the page.
6254
+ */
6255
+ .muka-site-header:not(.muka-site-header--sticky)::before {
6256
+ content: '';
6257
+ position: fixed;
6258
+ top: 0;
6259
+ left: 0;
6260
+ right: 0;
6261
+ height: env(safe-area-inset-top, 0px);
6262
+ background-color: inherit;
6263
+ pointer-events: none;
6264
+ z-index: 30;
6265
+ }
6266
+
6267
+ .muka-site-header__inner {
6268
+ display: flex;
6269
+ align-items: center;
6270
+ gap: var(--spacing-2);
6271
+ width: 100%;
6272
+ max-width: var(--container-max-width-xl);
6273
+ margin: 0 auto;
6274
+ padding-block: var(--spacing-6);
6275
+ padding-left: max(var(--spacing-4), env(safe-area-inset-left, 0px));
6276
+ padding-right: max(var(--spacing-4), env(safe-area-inset-right, 0px));
6277
+ }
6278
+
6279
+ .muka-site-header__brand {
6280
+ display: flex;
6281
+ align-items: center;
6282
+ flex-shrink: 0;
6283
+ min-width: 0;
6284
+ }
6285
+
6286
+ .muka-site-header__nav {
6287
+ display: none;
6288
+ align-items: center;
6289
+ gap: var(--spacing-1);
6290
+ min-width: 0;
6291
+ }
6292
+
6293
+ .muka-site-header__actions {
6294
+ display: flex;
6295
+ align-items: center;
6296
+ margin-left: auto;
6297
+ min-width: 0;
6298
+ }
6299
+
6300
+ .muka-site-header__action-group {
6301
+ display: flex;
6302
+ align-items: center;
6303
+ gap: var(--spacing-2);
6304
+ }
6305
+
6306
+ /* Small screens: the compact set replaces the full one. */
6307
+ .muka-site-header__action-group--wide {
6308
+ display: none;
6309
+ }
6310
+
6311
+ @media (min-width: 768px) {
6312
+ .muka-site-header__inner {
6313
+ gap: var(--spacing-4);
6314
+ padding-block: var(--spacing-8);
6315
+ }
6316
+
6317
+ .muka-site-header__nav {
6318
+ display: flex;
6319
+ }
6320
+
6321
+ .muka-site-header__action-group--wide {
6322
+ display: flex;
6323
+ }
6324
+
6325
+ .muka-site-header__action-group--compact {
6326
+ display: none;
6327
+ }
6328
+ }
6329
+
6330
+ /*
6331
+ * layout="full" (Figma Public header, Bouwplan): the content spans the width,
6332
+ * the nav sits between brand and actions (space-between), and the inset grows
6333
+ * with the screen: 24/16 on small screens, 16/24 from 768px, 32 from 1536px.
6334
+ * Safe-area insets still win where they are larger.
6335
+ */
6336
+ .muka-site-header--full .muka-site-header__inner {
6337
+ max-width: none;
6338
+ justify-content: space-between;
6339
+ }
6340
+
6341
+ .muka-site-header--full .muka-site-header__actions {
6342
+ margin-left: 0;
6343
+ }
6344
+
6345
+ @media (min-width: 768px) {
6346
+ .muka-site-header--full .muka-site-header__inner {
6347
+ padding-block: var(--spacing-4);
6348
+ padding-left: max(var(--spacing-6), env(safe-area-inset-left, 0px));
6349
+ padding-right: max(var(--spacing-6), env(safe-area-inset-right, 0px));
6350
+ }
6351
+ }
6352
+
6353
+ @media (min-width: 1536px) {
6354
+ .muka-site-header--full .muka-site-header__inner {
6355
+ padding-block: var(--spacing-8);
6356
+ padding-left: max(var(--spacing-8), env(safe-area-inset-left, 0px));
6357
+ padding-right: max(var(--spacing-8), env(safe-area-inset-right, 0px));
6358
+ }
6359
+ }
6360
+
6361
+ /* Small screens: no nav, so the actions take the end on their own. */
6362
+ @media (max-width: 767px) {
6363
+ .muka-site-header--full .muka-site-header__actions {
6364
+ margin-left: auto;
6365
+ }
6366
+ }
6367
+
6368
+
6369
6369
  /* SegmentGroup */
6370
6370
  /* SegmentGroup Component Styles - Using Muka Design Tokens */
6371
6371
 
@@ -6577,201 +6577,32 @@ body {
6577
6577
  }
6578
6578
 
6579
6579
 
6580
- /* SearchInput */
6581
- /* SearchInput Component Styles */
6580
+ /* Scrollbar */
6581
+ /* Scrollbar — Figma menu scrollbar (32px rail, chevrons, grip thumb) */
6582
6582
 
6583
- .muka-search-input {
6583
+ .muka-scrollbar {
6584
6584
  display: flex;
6585
- align-items: center;
6586
- gap: var(--spacing-3);
6587
- width: 100%;
6585
+ flex-shrink: 0;
6586
+ border-left: var(--border-width-regular) solid var(--color-border-default);
6587
+ background-color: var(--color-surface-level3);
6588
+ user-select: none;
6588
6589
  }
6589
6590
 
6590
- /* ─── Field wrapper ───────────────────────────────────── */
6591
+ .muka-scrollbar--vertical {
6592
+ flex-direction: column;
6593
+ width: var(--size-2xl, 32px);
6594
+ align-self: stretch;
6595
+ }
6591
6596
 
6592
- .muka-search-input__field {
6593
- flex: 1 1 auto;
6594
- display: flex;
6595
- align-items: center;
6596
- gap: var(--spacing-2);
6597
- background-color: var(--input-field-color-default-background);
6598
- border: var(--border-width-regular) solid var(--input-field-color-default-border);
6599
- border-radius: var(--input-field-radius-md);
6600
- padding: 0 var(--input-field-padding-x);
6601
- transition: border-color 0.12s ease, background-color 0.12s ease;
6602
- }
6603
-
6604
- .muka-search-input--focused .muka-search-input__field {
6605
- border-color: var(--input-field-color-focus-border, var(--color-action-default));
6606
- }
6607
-
6608
- /* ─── Sizes ───────────────────────────────────────────── */
6609
-
6610
- .muka-search-input--sm .muka-search-input__field {
6611
- min-height: var(--input-field-height-sm);
6612
- border-radius: var(--input-field-radius-sm);
6613
- }
6614
-
6615
- .muka-search-input--md .muka-search-input__field {
6616
- min-height: var(--input-field-height-default);
6617
- }
6618
-
6619
- .muka-search-input--lg .muka-search-input__field {
6620
- min-height: var(--input-field-height-lg);
6621
- border-radius: var(--input-field-radius-lg);
6622
- }
6623
-
6624
- /* ─── Embedded variant (e.g. inside TopBar) ───────────── */
6625
-
6626
- .muka-search-input--embedded .muka-search-input__field {
6627
- background-color: var(--color-surface-level1);
6628
- border-color: transparent;
6629
- }
6630
-
6631
- .muka-search-input--embedded.muka-search-input--focused .muka-search-input__field {
6632
- border-color: transparent;
6633
- background-color: var(--color-surface-level2);
6634
- }
6635
-
6636
- /* ─── Disabled ────────────────────────────────────────── */
6637
-
6638
- .muka-search-input--disabled .muka-search-input__field {
6639
- opacity: 0.5;
6640
- pointer-events: none;
6641
- }
6642
-
6643
- /* ─── Leading icon ────────────────────────────────────── */
6644
-
6645
- .muka-search-input__leading {
6646
- display: inline-flex;
6647
- align-items: center;
6648
- justify-content: center;
6649
- flex-shrink: 0;
6650
- color: var(--color-text-subtle-default);
6651
- }
6652
-
6653
- /* ─── Input element ───────────────────────────────────── */
6654
-
6655
- .muka-search-input__input {
6656
- flex: 1 1 auto;
6657
- min-width: 0;
6658
- border: none;
6659
- background: transparent;
6660
- outline: none;
6661
- padding: 0;
6662
- color: var(--color-text-default-default);
6663
- font-family: var(--text-body-base-regular-fontFamily);
6664
- font-weight: var(--text-body-base-regular-fontWeight);
6665
- font-size: var(--text-body-base-regular-fontSize);
6666
- line-height: var(--text-body-base-regular-lineHeight);
6667
- appearance: none;
6668
- -webkit-appearance: none;
6669
- }
6670
-
6671
- .muka-search-input__input::placeholder {
6672
- color: var(--color-text-subtle-default);
6673
- }
6674
-
6675
- /* Hide the browser-supplied clear button (WebKit + Edge) */
6676
- .muka-search-input__input::-webkit-search-cancel-button,
6677
- .muka-search-input__input::-webkit-search-decoration {
6678
- -webkit-appearance: none;
6679
- appearance: none;
6680
- }
6681
-
6682
- .muka-search-input__input::-ms-clear {
6683
- display: none;
6684
- }
6685
-
6686
- /* ─── Trailing slot (loading spinner) ─────────────────── */
6687
-
6688
- .muka-search-input__trailing {
6689
- display: inline-flex;
6690
- align-items: center;
6691
- justify-content: center;
6692
- flex-shrink: 0;
6693
- }
6694
-
6695
- /* ─── Clear button ────────────────────────────────────── */
6696
-
6697
- .muka-search-input__clear {
6698
- display: inline-flex;
6699
- align-items: center;
6700
- justify-content: center;
6701
- width: 20px;
6702
- height: 20px;
6703
- border: none;
6704
- background: none;
6705
- padding: 0;
6706
- cursor: pointer;
6707
- color: var(--color-text-subtle-default);
6708
- flex-shrink: 0;
6709
- -webkit-tap-highlight-color: transparent;
6710
- }
6711
-
6712
- .muka-search-input__clear:hover {
6713
- color: var(--color-text-default-default);
6714
- }
6715
-
6716
- .muka-search-input__clear:focus-visible {
6717
- outline: 2px solid var(--color-action-default);
6718
- outline-offset: 2px;
6719
- border-radius: 50%;
6720
- }
6721
-
6722
- /* ─── Cancel button ───────────────────────────────────── */
6723
-
6724
- .muka-search-input__cancel {
6725
- flex-shrink: 0;
6726
- background: none;
6727
- border: none;
6728
- padding: var(--spacing-1) var(--spacing-2);
6729
- cursor: pointer;
6730
- color: var(--color-action-default);
6731
- font-family: var(--text-label-md-regular-fontFamily);
6732
- font-weight: var(--text-label-md-regular-fontWeight);
6733
- font-size: var(--text-label-md-regular-fontSize);
6734
- line-height: var(--text-label-md-regular-lineHeight);
6735
- -webkit-tap-highlight-color: transparent;
6736
- }
6737
-
6738
- .muka-search-input__cancel:hover {
6739
- color: var(--color-action-hover);
6740
- }
6741
-
6742
- .muka-search-input__cancel:focus-visible {
6743
- outline: 2px solid var(--color-action-default);
6744
- outline-offset: 2px;
6745
- border-radius: var(--radius-sm);
6746
- }
6747
-
6748
-
6749
- /* Scrollbar */
6750
- /* Scrollbar — Figma menu scrollbar (32px rail, chevrons, grip thumb) */
6751
-
6752
- .muka-scrollbar {
6753
- display: flex;
6754
- flex-shrink: 0;
6755
- border-left: var(--border-width-regular) solid var(--color-border-default);
6756
- background-color: var(--color-surface-level3);
6757
- user-select: none;
6758
- }
6759
-
6760
- .muka-scrollbar--vertical {
6761
- flex-direction: column;
6762
- width: var(--size-2xl, 32px);
6763
- align-self: stretch;
6764
- }
6765
-
6766
- .muka-scrollbar--horizontal {
6767
- flex-direction: row;
6768
- height: var(--size-2xl, 32px);
6769
- width: 100%;
6770
- border-left: none;
6771
- border-top: var(--border-width-regular) solid var(--color-border-default);
6772
- }
6773
-
6774
- .muka-scrollbar__button {
6597
+ .muka-scrollbar--horizontal {
6598
+ flex-direction: row;
6599
+ height: var(--size-2xl, 32px);
6600
+ width: 100%;
6601
+ border-left: none;
6602
+ border-top: var(--border-width-regular) solid var(--color-border-default);
6603
+ }
6604
+
6605
+ .muka-scrollbar__button {
6775
6606
  display: flex;
6776
6607
  align-items: center;
6777
6608
  justify-content: center;
@@ -7139,75 +6970,244 @@ body {
7139
6970
  }
7140
6971
 
7141
6972
 
7142
- /* RadioTile */
7143
- /* RadioTile Component Styles - Using Muka Design Tokens */
6973
+ /* SearchInput */
6974
+ /* SearchInput Component Styles */
7144
6975
 
7145
- /* Base tile styles - horizontal */
7146
- .muka-radio-tile {
6976
+ .muka-search-input {
7147
6977
  display: flex;
7148
6978
  align-items: center;
7149
- gap: var(--spacing-4);
7150
- padding: var(--spacing-4);
7151
- border: var(--border-width-regular) solid var(--input-field-color-default-border);
7152
- border-radius: var(--input-field-radius-lg);
7153
- background-color: var(--color-surface-level3);
7154
- cursor: pointer;
7155
- transition: border-color 0.15s ease, border-width 0.15s ease;
7156
- overflow: hidden;
7157
- box-sizing: border-box;
7158
- }
7159
-
7160
- .muka-radio-tile--disabled {
7161
- cursor: not-allowed;
7162
- opacity: 0.6;
6979
+ gap: var(--spacing-3);
6980
+ width: 100%;
7163
6981
  }
7164
6982
 
7165
- /* Selected state */
7166
- .muka-radio-tile[data-checked] {
7167
- border-width: var(--border-width-bold);
7168
- border-color: var(--color-action-default);
7169
- }
6983
+ /* ─── Field wrapper ───────────────────────────────────── */
7170
6984
 
7171
- /* Vertical layout */
7172
- .muka-radio-tile--vertical {
7173
- flex-direction: column;
6985
+ .muka-search-input__field {
6986
+ flex: 1 1 auto;
6987
+ display: flex;
7174
6988
  align-items: center;
7175
6989
  gap: var(--spacing-2);
7176
- position: relative;
7177
- width: 160px;
6990
+ background-color: var(--input-field-color-default-background);
6991
+ border: var(--border-width-regular) solid var(--input-field-color-default-border);
6992
+ border-radius: var(--input-field-radius-md);
6993
+ padding: 0 var(--input-field-padding-x);
6994
+ transition: border-color 0.12s ease, background-color 0.12s ease;
7178
6995
  }
7179
6996
 
7180
- /* Radio container */
7181
- .muka-radio-tile__radio {
7182
- flex-shrink: 0;
6997
+ .muka-search-input--focused .muka-search-input__field {
6998
+ border-color: var(--input-field-color-focus-border, var(--color-action-default));
7183
6999
  }
7184
7000
 
7185
- /* Corner-positioned radio for vertical */
7186
- .muka-radio-tile__radio--corner {
7187
- position: absolute;
7188
- top: var(--spacing-4);
7189
- left: var(--spacing-4);
7001
+ /* ─── Sizes ───────────────────────────────────────────── */
7002
+
7003
+ .muka-search-input--sm .muka-search-input__field {
7004
+ min-height: var(--input-field-height-sm);
7005
+ border-radius: var(--input-field-radius-sm);
7190
7006
  }
7191
7007
 
7192
- /* Adjust corner position when selected (border is thicker) */
7193
- .muka-radio-tile[data-checked] .muka-radio-tile__radio--corner {
7194
- top: calc(var(--spacing-4) - 1px);
7195
- left: calc(var(--spacing-4) - 1px);
7008
+ .muka-search-input--md .muka-search-input__field {
7009
+ min-height: var(--input-field-height-default);
7196
7010
  }
7197
7011
 
7198
- /* Icon */
7199
- .muka-radio-tile__icon {
7200
- display: flex;
7201
- align-items: center;
7202
- justify-content: center;
7203
- flex-shrink: 0;
7204
- width: var(--icon-size-default);
7205
- height: var(--icon-size-default);
7206
- color: var(--color-text-default-default);
7012
+ .muka-search-input--lg .muka-search-input__field {
7013
+ min-height: var(--input-field-height-lg);
7014
+ border-radius: var(--input-field-radius-lg);
7207
7015
  }
7208
7016
 
7209
- .muka-radio-tile__icon svg {
7210
- width: 100%;
7017
+ /* ─── Embedded variant (e.g. inside TopBar) ───────────── */
7018
+
7019
+ .muka-search-input--embedded .muka-search-input__field {
7020
+ background-color: var(--color-surface-level1);
7021
+ border-color: transparent;
7022
+ }
7023
+
7024
+ .muka-search-input--embedded.muka-search-input--focused .muka-search-input__field {
7025
+ border-color: transparent;
7026
+ background-color: var(--color-surface-level2);
7027
+ }
7028
+
7029
+ /* ─── Disabled ────────────────────────────────────────── */
7030
+
7031
+ .muka-search-input--disabled .muka-search-input__field {
7032
+ opacity: 0.5;
7033
+ pointer-events: none;
7034
+ }
7035
+
7036
+ /* ─── Leading icon ────────────────────────────────────── */
7037
+
7038
+ .muka-search-input__leading {
7039
+ display: inline-flex;
7040
+ align-items: center;
7041
+ justify-content: center;
7042
+ flex-shrink: 0;
7043
+ color: var(--color-text-subtle-default);
7044
+ }
7045
+
7046
+ /* ─── Input element ───────────────────────────────────── */
7047
+
7048
+ .muka-search-input__input {
7049
+ flex: 1 1 auto;
7050
+ min-width: 0;
7051
+ border: none;
7052
+ background: transparent;
7053
+ outline: none;
7054
+ padding: 0;
7055
+ color: var(--color-text-default-default);
7056
+ font-family: var(--text-body-base-regular-fontFamily);
7057
+ font-weight: var(--text-body-base-regular-fontWeight);
7058
+ font-size: var(--text-body-base-regular-fontSize);
7059
+ line-height: var(--text-body-base-regular-lineHeight);
7060
+ appearance: none;
7061
+ -webkit-appearance: none;
7062
+ }
7063
+
7064
+ .muka-search-input__input::placeholder {
7065
+ color: var(--color-text-subtle-default);
7066
+ }
7067
+
7068
+ /* Hide the browser-supplied clear button (WebKit + Edge) */
7069
+ .muka-search-input__input::-webkit-search-cancel-button,
7070
+ .muka-search-input__input::-webkit-search-decoration {
7071
+ -webkit-appearance: none;
7072
+ appearance: none;
7073
+ }
7074
+
7075
+ .muka-search-input__input::-ms-clear {
7076
+ display: none;
7077
+ }
7078
+
7079
+ /* ─── Trailing slot (loading spinner) ─────────────────── */
7080
+
7081
+ .muka-search-input__trailing {
7082
+ display: inline-flex;
7083
+ align-items: center;
7084
+ justify-content: center;
7085
+ flex-shrink: 0;
7086
+ }
7087
+
7088
+ /* ─── Clear button ────────────────────────────────────── */
7089
+
7090
+ .muka-search-input__clear {
7091
+ display: inline-flex;
7092
+ align-items: center;
7093
+ justify-content: center;
7094
+ width: 20px;
7095
+ height: 20px;
7096
+ border: none;
7097
+ background: none;
7098
+ padding: 0;
7099
+ cursor: pointer;
7100
+ color: var(--color-text-subtle-default);
7101
+ flex-shrink: 0;
7102
+ -webkit-tap-highlight-color: transparent;
7103
+ }
7104
+
7105
+ .muka-search-input__clear:hover {
7106
+ color: var(--color-text-default-default);
7107
+ }
7108
+
7109
+ .muka-search-input__clear:focus-visible {
7110
+ outline: 2px solid var(--color-action-default);
7111
+ outline-offset: 2px;
7112
+ border-radius: 50%;
7113
+ }
7114
+
7115
+ /* ─── Cancel button ───────────────────────────────────── */
7116
+
7117
+ .muka-search-input__cancel {
7118
+ flex-shrink: 0;
7119
+ background: none;
7120
+ border: none;
7121
+ padding: var(--spacing-1) var(--spacing-2);
7122
+ cursor: pointer;
7123
+ color: var(--color-action-default);
7124
+ font-family: var(--text-label-md-regular-fontFamily);
7125
+ font-weight: var(--text-label-md-regular-fontWeight);
7126
+ font-size: var(--text-label-md-regular-fontSize);
7127
+ line-height: var(--text-label-md-regular-lineHeight);
7128
+ -webkit-tap-highlight-color: transparent;
7129
+ }
7130
+
7131
+ .muka-search-input__cancel:hover {
7132
+ color: var(--color-action-hover);
7133
+ }
7134
+
7135
+ .muka-search-input__cancel:focus-visible {
7136
+ outline: 2px solid var(--color-action-default);
7137
+ outline-offset: 2px;
7138
+ border-radius: var(--radius-sm);
7139
+ }
7140
+
7141
+
7142
+ /* RadioTile */
7143
+ /* RadioTile Component Styles - Using Muka Design Tokens */
7144
+
7145
+ /* Base tile styles - horizontal */
7146
+ .muka-radio-tile {
7147
+ display: flex;
7148
+ align-items: center;
7149
+ gap: var(--spacing-4);
7150
+ padding: var(--spacing-4);
7151
+ border: var(--border-width-regular) solid var(--input-field-color-default-border);
7152
+ border-radius: var(--input-field-radius-lg);
7153
+ background-color: var(--color-surface-level3);
7154
+ cursor: pointer;
7155
+ transition: border-color 0.15s ease, border-width 0.15s ease;
7156
+ overflow: hidden;
7157
+ box-sizing: border-box;
7158
+ }
7159
+
7160
+ .muka-radio-tile--disabled {
7161
+ cursor: not-allowed;
7162
+ opacity: 0.6;
7163
+ }
7164
+
7165
+ /* Selected state */
7166
+ .muka-radio-tile[data-checked] {
7167
+ border-width: var(--border-width-bold);
7168
+ border-color: var(--color-action-default);
7169
+ }
7170
+
7171
+ /* Vertical layout */
7172
+ .muka-radio-tile--vertical {
7173
+ flex-direction: column;
7174
+ align-items: center;
7175
+ gap: var(--spacing-2);
7176
+ position: relative;
7177
+ width: 160px;
7178
+ }
7179
+
7180
+ /* Radio container */
7181
+ .muka-radio-tile__radio {
7182
+ flex-shrink: 0;
7183
+ }
7184
+
7185
+ /* Corner-positioned radio for vertical */
7186
+ .muka-radio-tile__radio--corner {
7187
+ position: absolute;
7188
+ top: var(--spacing-4);
7189
+ left: var(--spacing-4);
7190
+ }
7191
+
7192
+ /* Adjust corner position when selected (border is thicker) */
7193
+ .muka-radio-tile[data-checked] .muka-radio-tile__radio--corner {
7194
+ top: calc(var(--spacing-4) - 1px);
7195
+ left: calc(var(--spacing-4) - 1px);
7196
+ }
7197
+
7198
+ /* Icon */
7199
+ .muka-radio-tile__icon {
7200
+ display: flex;
7201
+ align-items: center;
7202
+ justify-content: center;
7203
+ flex-shrink: 0;
7204
+ width: var(--icon-size-default);
7205
+ height: var(--icon-size-default);
7206
+ color: var(--color-text-default-default);
7207
+ }
7208
+
7209
+ .muka-radio-tile__icon svg {
7210
+ width: 100%;
7211
7211
  height: 100%;
7212
7212
  }
7213
7213
 
@@ -7282,6 +7282,150 @@ body {
7282
7282
  }
7283
7283
 
7284
7284
 
7285
+ /* Radio */
7286
+ /* Radio Component Styles - Using Muka Design Tokens */
7287
+
7288
+ /* Wrapper - clickable label container */
7289
+ .muka-radio {
7290
+ display: inline-flex;
7291
+ align-items: center;
7292
+ gap: var(--spacing-4);
7293
+ cursor: pointer;
7294
+ user-select: none;
7295
+ }
7296
+
7297
+ .muka-radio--disabled {
7298
+ cursor: not-allowed;
7299
+ opacity: 0.6;
7300
+ }
7301
+
7302
+ /* Control container */
7303
+ .muka-radio__control {
7304
+ position: relative;
7305
+ display: inline-flex;
7306
+ align-items: center;
7307
+ justify-content: center;
7308
+ flex-shrink: 0;
7309
+ }
7310
+
7311
+ /* Hidden native input */
7312
+ .muka-radio__input {
7313
+ position: absolute;
7314
+ width: 1px;
7315
+ height: 1px;
7316
+ padding: 0;
7317
+ margin: -1px;
7318
+ overflow: hidden;
7319
+ clip: rect(0, 0, 0, 0);
7320
+ white-space: nowrap;
7321
+ border: 0;
7322
+ }
7323
+
7324
+ /* Visual indicator (circle) */
7325
+ .muka-radio__indicator {
7326
+ display: flex;
7327
+ align-items: center;
7328
+ justify-content: center;
7329
+ width: var(--radio-size-default);
7330
+ height: var(--radio-size-default);
7331
+ border-radius: var(--border-radius-full);
7332
+ background-color: var(--radio-color-default-background);
7333
+ border: var(--border-width-regular) solid var(--radio-color-default-border);
7334
+ transition: all 0.15s ease;
7335
+ box-shadow: inset 0 1px 2px 0 rgba(26, 26, 26, 0.15);
7336
+ }
7337
+
7338
+ /* Size variants */
7339
+ .muka-radio--sm .muka-radio__indicator {
7340
+ width: var(--radio-size-sm);
7341
+ height: var(--radio-size-sm);
7342
+ }
7343
+
7344
+ .muka-radio--lg .muka-radio__indicator {
7345
+ width: var(--radio-size-lg);
7346
+ height: var(--radio-size-lg);
7347
+ }
7348
+
7349
+ /* Inner dot (shown when checked) */
7350
+ .muka-radio__dot {
7351
+ width: var(--radio-dot-size-default);
7352
+ height: var(--radio-dot-size-default);
7353
+ border-radius: var(--border-radius-full);
7354
+ background-color: var(--radio-color-default-dot);
7355
+ transform: scale(0);
7356
+ transition: transform 0.15s ease;
7357
+ }
7358
+
7359
+ .muka-radio--sm .muka-radio__dot {
7360
+ width: var(--radio-dot-size-sm);
7361
+ height: var(--radio-dot-size-sm);
7362
+ }
7363
+
7364
+ .muka-radio--lg .muka-radio__dot {
7365
+ width: var(--radio-dot-size-lg);
7366
+ height: var(--radio-dot-size-lg);
7367
+ }
7368
+
7369
+ /* Hover state - removed per design */
7370
+
7371
+ /* Focus state */
7372
+ .muka-radio__input:focus-visible + .muka-radio__indicator {
7373
+ outline: 2px solid var(--color-border-focus);
7374
+ outline-offset: 2px;
7375
+ }
7376
+
7377
+ /* Checked state */
7378
+ .muka-radio__input:checked + .muka-radio__indicator {
7379
+ background-color: var(--radio-color-checked-background);
7380
+ border-width: var(--border-width-bold);
7381
+ border-color: var(--radio-color-checked-border);
7382
+ box-shadow: none;
7383
+ }
7384
+
7385
+ .muka-radio__input:checked + .muka-radio__indicator .muka-radio__dot {
7386
+ background-color: var(--radio-color-checked-dot);
7387
+ transform: scale(1);
7388
+ }
7389
+
7390
+ /* Disabled state */
7391
+ .muka-radio--disabled .muka-radio__indicator {
7392
+ background-color: var(--radio-color-disabled-background);
7393
+ border-color: var(--radio-color-disabled-border);
7394
+ box-shadow: none;
7395
+ }
7396
+
7397
+ .muka-radio__input:disabled:checked + .muka-radio__indicator .muka-radio__dot {
7398
+ background-color: var(--radio-color-disabled-dot);
7399
+ }
7400
+
7401
+ /* Label text */
7402
+ .muka-radio__label {
7403
+ font-family: var(--text-label-lg-regular-fontFamily);
7404
+ font-weight: var(--text-label-lg-regular-fontWeight);
7405
+ font-size: var(--text-label-lg-regular-fontSize);
7406
+ line-height: var(--text-label-lg-regular-lineHeight);
7407
+ color: var(--color-text-default-default);
7408
+ }
7409
+
7410
+ .muka-radio--sm .muka-radio__label {
7411
+ font-family: var(--text-label-md-regular-fontFamily);
7412
+ font-weight: var(--text-label-md-regular-fontWeight);
7413
+ font-size: var(--text-label-md-regular-fontSize);
7414
+ line-height: var(--text-label-md-regular-lineHeight);
7415
+ }
7416
+
7417
+ .muka-radio--lg .muka-radio__label {
7418
+ font-family: var(--text-label-xl-regular-fontFamily);
7419
+ font-weight: var(--text-label-xl-regular-fontWeight);
7420
+ font-size: var(--text-label-xl-regular-fontSize);
7421
+ line-height: var(--text-label-xl-regular-lineHeight);
7422
+ }
7423
+
7424
+ .muka-radio--disabled .muka-radio__label {
7425
+ color: var(--color-text-subtle-default);
7426
+ }
7427
+
7428
+
7285
7429
  /* PullToRefresh */
7286
7430
  /* PullToRefresh Component Styles */
7287
7431
 
@@ -7882,158 +8026,14 @@ button.muka-progress-tracker__tab:focus-visible {
7882
8026
 
7883
8027
  .muka-progress-tracker__tab--selected .muka-progress-tracker__label {
7884
8028
  font-family: var(--text-body-base-bold-fontFamily);
7885
- font-weight: var(--text-body-base-bold-fontWeight);
7886
- }
7887
-
7888
- .muka-progress-tracker--tabs .muka-progress-tracker__indicator--upcoming .muka-progress-tracker__number {
7889
- font-family: var(--text-label-md-semibold-fontFamily);
7890
- font-weight: var(--text-label-md-semibold-fontWeight);
7891
- font-size: var(--text-label-md-semibold-fontSize);
7892
- line-height: var(--text-label-md-semibold-lineHeight);
7893
- }
7894
-
7895
-
7896
- /* Radio */
7897
- /* Radio Component Styles - Using Muka Design Tokens */
7898
-
7899
- /* Wrapper - clickable label container */
7900
- .muka-radio {
7901
- display: inline-flex;
7902
- align-items: center;
7903
- gap: var(--spacing-4);
7904
- cursor: pointer;
7905
- user-select: none;
7906
- }
7907
-
7908
- .muka-radio--disabled {
7909
- cursor: not-allowed;
7910
- opacity: 0.6;
7911
- }
7912
-
7913
- /* Control container */
7914
- .muka-radio__control {
7915
- position: relative;
7916
- display: inline-flex;
7917
- align-items: center;
7918
- justify-content: center;
7919
- flex-shrink: 0;
7920
- }
7921
-
7922
- /* Hidden native input */
7923
- .muka-radio__input {
7924
- position: absolute;
7925
- width: 1px;
7926
- height: 1px;
7927
- padding: 0;
7928
- margin: -1px;
7929
- overflow: hidden;
7930
- clip: rect(0, 0, 0, 0);
7931
- white-space: nowrap;
7932
- border: 0;
7933
- }
7934
-
7935
- /* Visual indicator (circle) */
7936
- .muka-radio__indicator {
7937
- display: flex;
7938
- align-items: center;
7939
- justify-content: center;
7940
- width: var(--radio-size-default);
7941
- height: var(--radio-size-default);
7942
- border-radius: var(--border-radius-full);
7943
- background-color: var(--radio-color-default-background);
7944
- border: var(--border-width-regular) solid var(--radio-color-default-border);
7945
- transition: all 0.15s ease;
7946
- box-shadow: inset 0 1px 2px 0 rgba(26, 26, 26, 0.15);
7947
- }
7948
-
7949
- /* Size variants */
7950
- .muka-radio--sm .muka-radio__indicator {
7951
- width: var(--radio-size-sm);
7952
- height: var(--radio-size-sm);
7953
- }
7954
-
7955
- .muka-radio--lg .muka-radio__indicator {
7956
- width: var(--radio-size-lg);
7957
- height: var(--radio-size-lg);
7958
- }
7959
-
7960
- /* Inner dot (shown when checked) */
7961
- .muka-radio__dot {
7962
- width: var(--radio-dot-size-default);
7963
- height: var(--radio-dot-size-default);
7964
- border-radius: var(--border-radius-full);
7965
- background-color: var(--radio-color-default-dot);
7966
- transform: scale(0);
7967
- transition: transform 0.15s ease;
7968
- }
7969
-
7970
- .muka-radio--sm .muka-radio__dot {
7971
- width: var(--radio-dot-size-sm);
7972
- height: var(--radio-dot-size-sm);
7973
- }
7974
-
7975
- .muka-radio--lg .muka-radio__dot {
7976
- width: var(--radio-dot-size-lg);
7977
- height: var(--radio-dot-size-lg);
7978
- }
7979
-
7980
- /* Hover state - removed per design */
7981
-
7982
- /* Focus state */
7983
- .muka-radio__input:focus-visible + .muka-radio__indicator {
7984
- outline: 2px solid var(--color-border-focus);
7985
- outline-offset: 2px;
7986
- }
7987
-
7988
- /* Checked state */
7989
- .muka-radio__input:checked + .muka-radio__indicator {
7990
- background-color: var(--radio-color-checked-background);
7991
- border-width: var(--border-width-bold);
7992
- border-color: var(--radio-color-checked-border);
7993
- box-shadow: none;
7994
- }
7995
-
7996
- .muka-radio__input:checked + .muka-radio__indicator .muka-radio__dot {
7997
- background-color: var(--radio-color-checked-dot);
7998
- transform: scale(1);
7999
- }
8000
-
8001
- /* Disabled state */
8002
- .muka-radio--disabled .muka-radio__indicator {
8003
- background-color: var(--radio-color-disabled-background);
8004
- border-color: var(--radio-color-disabled-border);
8005
- box-shadow: none;
8006
- }
8007
-
8008
- .muka-radio__input:disabled:checked + .muka-radio__indicator .muka-radio__dot {
8009
- background-color: var(--radio-color-disabled-dot);
8010
- }
8011
-
8012
- /* Label text */
8013
- .muka-radio__label {
8014
- font-family: var(--text-label-lg-regular-fontFamily);
8015
- font-weight: var(--text-label-lg-regular-fontWeight);
8016
- font-size: var(--text-label-lg-regular-fontSize);
8017
- line-height: var(--text-label-lg-regular-lineHeight);
8018
- color: var(--color-text-default-default);
8019
- }
8020
-
8021
- .muka-radio--sm .muka-radio__label {
8022
- font-family: var(--text-label-md-regular-fontFamily);
8023
- font-weight: var(--text-label-md-regular-fontWeight);
8024
- font-size: var(--text-label-md-regular-fontSize);
8025
- line-height: var(--text-label-md-regular-lineHeight);
8026
- }
8027
-
8028
- .muka-radio--lg .muka-radio__label {
8029
- font-family: var(--text-label-xl-regular-fontFamily);
8030
- font-weight: var(--text-label-xl-regular-fontWeight);
8031
- font-size: var(--text-label-xl-regular-fontSize);
8032
- line-height: var(--text-label-xl-regular-lineHeight);
8029
+ font-weight: var(--text-body-base-bold-fontWeight);
8033
8030
  }
8034
8031
 
8035
- .muka-radio--disabled .muka-radio__label {
8036
- color: var(--color-text-subtle-default);
8032
+ .muka-progress-tracker--tabs .muka-progress-tracker__indicator--upcoming .muka-progress-tracker__number {
8033
+ font-family: var(--text-label-md-semibold-fontFamily);
8034
+ font-weight: var(--text-label-md-semibold-fontWeight);
8035
+ font-size: var(--text-label-md-semibold-fontSize);
8036
+ line-height: var(--text-label-md-semibold-lineHeight);
8037
8037
  }
8038
8038
 
8039
8039
 
@@ -8467,120 +8467,6 @@ button.muka-progress-tracker__tab:focus-visible {
8467
8467
  }
8468
8468
 
8469
8469
 
8470
- /* ProfileBadge */
8471
- /* ProfileBadge Component Styles - Using Muka Design Tokens */
8472
-
8473
- .muka-profile-badge {
8474
- display: inline-flex;
8475
- max-width: 100%;
8476
- min-width: 0;
8477
- align-items: center;
8478
- font-family: var(--text-body-base-regular-fontFamily);
8479
- }
8480
-
8481
- /* Size variants */
8482
- .muka-profile-badge--lg {
8483
- gap: var(--spacing-4); /* 16px */
8484
- }
8485
-
8486
- .muka-profile-badge--md {
8487
- gap: var(--spacing-3); /* 12px */
8488
- }
8489
-
8490
- .muka-profile-badge--sm {
8491
- gap: var(--spacing-2); /* 8px */
8492
- }
8493
-
8494
- .muka-profile-badge__avatar {
8495
- flex-shrink: 0;
8496
- }
8497
-
8498
- /* Text stack */
8499
- .muka-profile-badge__text {
8500
- display: flex;
8501
- flex-direction: column;
8502
- align-items: flex-start;
8503
- min-width: 0;
8504
- }
8505
-
8506
- .muka-profile-badge__name {
8507
- max-width: 100%;
8508
- overflow: hidden;
8509
- text-overflow: ellipsis;
8510
- white-space: nowrap;
8511
- font-family: var(--text-body-base-regular-fontFamily);
8512
- font-size: var(--text-body-base-regular-fontSize);
8513
- font-weight: var(--text-body-base-regular-fontWeight);
8514
- line-height: var(--text-body-base-regular-lineHeight);
8515
- color: var(--color-text-default-default);
8516
- }
8517
-
8518
- .muka-profile-badge__email {
8519
- font-family: var(--text-body-xs-regular-fontFamily);
8520
- font-size: var(--text-body-xs-regular-fontSize);
8521
- font-weight: var(--text-body-xs-regular-fontWeight);
8522
- line-height: var(--text-body-xs-regular-lineHeight);
8523
- color: var(--color-text-subtle-default);
8524
- }
8525
-
8526
- /* Clickable state */
8527
- .muka-profile-badge--clickable {
8528
- cursor: pointer;
8529
- border: none;
8530
- background: none;
8531
- padding: 0;
8532
- text-align: left;
8533
- border-radius: var(--radius-md);
8534
- transition: opacity 0.2s ease;
8535
- }
8536
-
8537
- .muka-profile-badge--clickable:hover {
8538
- opacity: 0.9;
8539
- }
8540
-
8541
- .muka-profile-badge--clickable:active {
8542
- opacity: 0.8;
8543
- }
8544
-
8545
- .muka-profile-badge--clickable:focus-visible {
8546
- outline: 2px solid var(--color-border-focus);
8547
- outline-offset: 2px;
8548
- }
8549
-
8550
- /* Trailing chevron: the badge opens a menu */
8551
- .muka-profile-badge__chevron {
8552
- flex-shrink: 0;
8553
- }
8554
-
8555
- /*
8556
- * A clickable badge with a chevron is a pill (Figma Profile Badge, Bouwplan
8557
- * header): 4px inset on the avatar side, 12px after the chevron. The border
8558
- * is an inset shadow so it appears on hover and while the menu is open
8559
- * without moving the content.
8560
- */
8561
- .muka-profile-badge--clickable.muka-profile-badge--with-chevron {
8562
- padding: var(--spacing-1) var(--spacing-3) var(--spacing-1) var(--spacing-1);
8563
- border-radius: var(--radius-full);
8564
- transition: box-shadow 0.2s ease;
8565
- }
8566
-
8567
- .muka-profile-badge--clickable.muka-profile-badge--with-chevron:hover,
8568
- .muka-profile-badge--clickable.muka-profile-badge--with-chevron:active {
8569
- opacity: 1;
8570
- }
8571
-
8572
- .muka-profile-badge--clickable.muka-profile-badge--with-chevron:hover,
8573
- .muka-profile-badge--clickable.muka-profile-badge--with-chevron[aria-expanded='true'],
8574
- .muka-profile-badge--clickable.muka-profile-badge--with-chevron[data-state='open'] {
8575
- box-shadow: inset 0 0 0 var(--border-width-regular) var(--button-color-ghost-border-hover);
8576
- }
8577
-
8578
- /* A badge without an avatar keeps the 12px start inset */
8579
- .muka-profile-badge--clickable.muka-profile-badge--with-chevron:not(:has(.muka-profile-badge__avatar)) {
8580
- padding-left: var(--spacing-3);
8581
- }
8582
-
8583
-
8584
8470
  /* PriceTag */
8585
8471
  /* PriceTag Component Styles - Using Muka Design Tokens */
8586
8472
 
@@ -9272,71 +9158,185 @@ button.muka-progress-tracker__tab:focus-visible {
9272
9158
  background-color: var(--color-surface-level1);
9273
9159
  }
9274
9160
 
9275
- .muka-photo-uploader__dropzone-text {
9276
- font-family: var(--text-subheading-sm-fontFamily);
9277
- font-size: var(--text-subheading-sm-fontSize);
9278
- font-weight: var(--text-subheading-sm-fontWeight);
9279
- line-height: var(--text-subheading-sm-lineHeight);
9280
- color: var(--color-text-default-default);
9161
+ .muka-photo-uploader__dropzone-text {
9162
+ font-family: var(--text-subheading-sm-fontFamily);
9163
+ font-size: var(--text-subheading-sm-fontSize);
9164
+ font-weight: var(--text-subheading-sm-fontWeight);
9165
+ line-height: var(--text-subheading-sm-lineHeight);
9166
+ color: var(--color-text-default-default);
9167
+ }
9168
+
9169
+ /*
9170
+ * Touch devices (phones, tablets without a mouse) have nothing to drag a file
9171
+ * from: the card and its "or drop here" hint go, and only the button stays.
9172
+ * Keyed on input capability, not width, so a narrow desktop window keeps
9173
+ * its drop zone.
9174
+ */
9175
+ @media (hover: none) and (pointer: coarse) {
9176
+ .muka-photo-uploader__dropzone {
9177
+ align-items: flex-start;
9178
+ padding: 0;
9179
+ background-color: transparent;
9180
+ border: none;
9181
+ border-radius: 0;
9182
+ cursor: default;
9183
+ }
9184
+
9185
+ .muka-photo-uploader__dropzone-text {
9186
+ display: none;
9187
+ }
9188
+ }
9189
+
9190
+ /* ─── Disabled ────────────────────────────────────────── */
9191
+ .muka-photo-uploader--disabled .muka-photo-uploader__dropzone {
9192
+ cursor: not-allowed;
9193
+ opacity: 0.6;
9194
+ }
9195
+
9196
+ .muka-photo-uploader--disabled .muka-photo-uploader__dropzone:hover {
9197
+ border-color: var(--card-color-default-border);
9198
+ background-color: var(--card-color-default-background);
9199
+ }
9200
+
9201
+ /* ─── Enlarged photo dialog ───────────────────────────── */
9202
+ .muka-photo-uploader__preview {
9203
+ display: flex;
9204
+ align-items: center;
9205
+ justify-content: center;
9206
+ width: 100%;
9207
+ height: 100%;
9208
+ }
9209
+
9210
+ /* Fits the dialog while preserving the photo's original aspect ratio. */
9211
+ .muka-photo-uploader__preview-image {
9212
+ display: block;
9213
+ max-width: 100%;
9214
+ max-height: 100%;
9215
+ width: auto;
9216
+ height: auto;
9217
+ object-fit: contain;
9218
+ border-radius: var(--border-radius-lg);
9219
+ }
9220
+
9221
+ /* ─── Reduced motion ──────────────────────────────────── */
9222
+ @media (prefers-reduced-motion: reduce) {
9223
+ .muka-photo-uploader__dropzone {
9224
+ transition: none;
9225
+ }
9226
+ }
9227
+
9228
+
9229
+ /* ProfileBadge */
9230
+ /* ProfileBadge Component Styles - Using Muka Design Tokens */
9231
+
9232
+ .muka-profile-badge {
9233
+ display: inline-flex;
9234
+ max-width: 100%;
9235
+ min-width: 0;
9236
+ align-items: center;
9237
+ font-family: var(--text-body-base-regular-fontFamily);
9238
+ }
9239
+
9240
+ /* Size variants */
9241
+ .muka-profile-badge--lg {
9242
+ gap: var(--spacing-4); /* 16px */
9243
+ }
9244
+
9245
+ .muka-profile-badge--md {
9246
+ gap: var(--spacing-3); /* 12px */
9247
+ }
9248
+
9249
+ .muka-profile-badge--sm {
9250
+ gap: var(--spacing-2); /* 8px */
9251
+ }
9252
+
9253
+ .muka-profile-badge__avatar {
9254
+ flex-shrink: 0;
9255
+ }
9256
+
9257
+ /* Text stack */
9258
+ .muka-profile-badge__text {
9259
+ display: flex;
9260
+ flex-direction: column;
9261
+ align-items: flex-start;
9262
+ min-width: 0;
9263
+ }
9264
+
9265
+ .muka-profile-badge__name {
9266
+ max-width: 100%;
9267
+ overflow: hidden;
9268
+ text-overflow: ellipsis;
9269
+ white-space: nowrap;
9270
+ font-family: var(--text-body-base-regular-fontFamily);
9271
+ font-size: var(--text-body-base-regular-fontSize);
9272
+ font-weight: var(--text-body-base-regular-fontWeight);
9273
+ line-height: var(--text-body-base-regular-lineHeight);
9274
+ color: var(--color-text-default-default);
9275
+ }
9276
+
9277
+ .muka-profile-badge__email {
9278
+ font-family: var(--text-body-xs-regular-fontFamily);
9279
+ font-size: var(--text-body-xs-regular-fontSize);
9280
+ font-weight: var(--text-body-xs-regular-fontWeight);
9281
+ line-height: var(--text-body-xs-regular-lineHeight);
9282
+ color: var(--color-text-subtle-default);
9283
+ }
9284
+
9285
+ /* Clickable state */
9286
+ .muka-profile-badge--clickable {
9287
+ cursor: pointer;
9288
+ border: none;
9289
+ background: none;
9290
+ padding: 0;
9291
+ text-align: left;
9292
+ border-radius: var(--radius-md);
9293
+ transition: opacity 0.2s ease;
9294
+ }
9295
+
9296
+ .muka-profile-badge--clickable:hover {
9297
+ opacity: 0.9;
9281
9298
  }
9282
9299
 
9283
- /*
9284
- * Touch devices (phones, tablets without a mouse) have nothing to drag a file
9285
- * from: the card and its "or drop here" hint go, and only the button stays.
9286
- * Keyed on input capability, not width, so a narrow desktop window keeps
9287
- * its drop zone.
9288
- */
9289
- @media (hover: none) and (pointer: coarse) {
9290
- .muka-photo-uploader__dropzone {
9291
- align-items: flex-start;
9292
- padding: 0;
9293
- background-color: transparent;
9294
- border: none;
9295
- border-radius: 0;
9296
- cursor: default;
9297
- }
9300
+ .muka-profile-badge--clickable:active {
9301
+ opacity: 0.8;
9302
+ }
9298
9303
 
9299
- .muka-photo-uploader__dropzone-text {
9300
- display: none;
9301
- }
9304
+ .muka-profile-badge--clickable:focus-visible {
9305
+ outline: 2px solid var(--color-border-focus);
9306
+ outline-offset: 2px;
9302
9307
  }
9303
9308
 
9304
- /* ─── Disabled ────────────────────────────────────────── */
9305
- .muka-photo-uploader--disabled .muka-photo-uploader__dropzone {
9306
- cursor: not-allowed;
9307
- opacity: 0.6;
9309
+ /* Trailing chevron: the badge opens a menu */
9310
+ .muka-profile-badge__chevron {
9311
+ flex-shrink: 0;
9308
9312
  }
9309
9313
 
9310
- .muka-photo-uploader--disabled .muka-photo-uploader__dropzone:hover {
9311
- border-color: var(--card-color-default-border);
9312
- background-color: var(--card-color-default-background);
9314
+ /*
9315
+ * A clickable badge with a chevron is a pill (Figma Profile Badge, Bouwplan
9316
+ * header): 4px inset on the avatar side, 12px after the chevron. The border
9317
+ * is an inset shadow so it appears on hover and while the menu is open
9318
+ * without moving the content.
9319
+ */
9320
+ .muka-profile-badge--clickable.muka-profile-badge--with-chevron {
9321
+ padding: var(--spacing-1) var(--spacing-3) var(--spacing-1) var(--spacing-1);
9322
+ border-radius: var(--radius-full);
9323
+ transition: box-shadow 0.2s ease;
9313
9324
  }
9314
9325
 
9315
- /* ─── Enlarged photo dialog ───────────────────────────── */
9316
- .muka-photo-uploader__preview {
9317
- display: flex;
9318
- align-items: center;
9319
- justify-content: center;
9320
- width: 100%;
9321
- height: 100%;
9326
+ .muka-profile-badge--clickable.muka-profile-badge--with-chevron:hover,
9327
+ .muka-profile-badge--clickable.muka-profile-badge--with-chevron:active {
9328
+ opacity: 1;
9322
9329
  }
9323
9330
 
9324
- /* Fits the dialog while preserving the photo's original aspect ratio. */
9325
- .muka-photo-uploader__preview-image {
9326
- display: block;
9327
- max-width: 100%;
9328
- max-height: 100%;
9329
- width: auto;
9330
- height: auto;
9331
- object-fit: contain;
9332
- border-radius: var(--border-radius-lg);
9331
+ .muka-profile-badge--clickable.muka-profile-badge--with-chevron:hover,
9332
+ .muka-profile-badge--clickable.muka-profile-badge--with-chevron[aria-expanded='true'],
9333
+ .muka-profile-badge--clickable.muka-profile-badge--with-chevron[data-state='open'] {
9334
+ box-shadow: inset 0 0 0 var(--border-width-regular) var(--button-color-ghost-border-hover);
9333
9335
  }
9334
9336
 
9335
- /* ─── Reduced motion ──────────────────────────────────── */
9336
- @media (prefers-reduced-motion: reduce) {
9337
- .muka-photo-uploader__dropzone {
9338
- transition: none;
9339
- }
9337
+ /* A badge without an avatar keeps the 12px start inset */
9338
+ .muka-profile-badge--clickable.muka-profile-badge--with-chevron:not(:has(.muka-profile-badge__avatar)) {
9339
+ padding-left: var(--spacing-3);
9340
9340
  }
9341
9341
 
9342
9342
 
@@ -10818,65 +10818,243 @@ li.muka-listitem {
10818
10818
  cursor: not-allowed;
10819
10819
  }
10820
10820
 
10821
- /* Helper text */
10822
- .muka-license-plate-input__helper {
10823
- font-family: var(--text-label-sm-regular-fontFamily);
10824
- font-weight: var(--text-label-sm-regular-fontWeight);
10825
- font-size: var(--text-label-sm-regular-fontSize);
10826
- line-height: var(--text-label-sm-regular-lineHeight);
10827
- color: var(--color-text-subtle-default);
10828
- margin: 0;
10821
+ /* Helper text */
10822
+ .muka-license-plate-input__helper {
10823
+ font-family: var(--text-label-sm-regular-fontFamily);
10824
+ font-weight: var(--text-label-sm-regular-fontWeight);
10825
+ font-size: var(--text-label-sm-regular-fontSize);
10826
+ line-height: var(--text-label-sm-regular-lineHeight);
10827
+ color: var(--color-text-subtle-default);
10828
+ margin: 0;
10829
+ }
10830
+
10831
+ /* Error message */
10832
+ .muka-license-plate-input__error {
10833
+ font-family: var(--text-label-sm-regular-fontFamily);
10834
+ font-weight: var(--text-label-sm-regular-fontWeight);
10835
+ font-size: var(--text-label-sm-regular-fontSize);
10836
+ line-height: var(--text-label-sm-regular-lineHeight);
10837
+ color: var(--color-state-error-default);
10838
+ margin: 0;
10839
+ }
10840
+
10841
+
10842
+ /* Label */
10843
+ /* Label Component Styles - Using Muka Design Tokens */
10844
+
10845
+ .muka-label {
10846
+ display: inline-flex;
10847
+ align-items: center;
10848
+ color: var(--color-text-default-default);
10849
+ cursor: pointer;
10850
+ }
10851
+
10852
+ .muka-label--sm {
10853
+ font-family: var(--text-label-sm-semibold-fontFamily);
10854
+ font-weight: var(--text-label-sm-semibold-fontWeight);
10855
+ font-size: var(--text-label-sm-semibold-fontSize);
10856
+ line-height: var(--text-label-sm-semibold-lineHeight);
10857
+ }
10858
+
10859
+ .muka-label--md {
10860
+ font-family: var(--text-label-md-semibold-fontFamily);
10861
+ font-weight: var(--text-label-md-semibold-fontWeight);
10862
+ font-size: var(--text-label-md-semibold-fontSize);
10863
+ line-height: var(--text-label-md-semibold-lineHeight);
10864
+ }
10865
+
10866
+ .muka-label--lg {
10867
+ font-family: var(--text-label-lg-semibold-fontFamily);
10868
+ font-weight: var(--text-label-lg-semibold-fontWeight);
10869
+ font-size: var(--text-label-lg-semibold-fontSize);
10870
+ line-height: var(--text-label-lg-semibold-lineHeight);
10871
+ }
10872
+
10873
+ .muka-label--disabled {
10874
+ color: var(--color-text-subtle-default);
10875
+ cursor: not-allowed;
10876
+ }
10877
+
10878
+ .muka-label__required {
10879
+ color: var(--color-state-error-default);
10880
+ }
10881
+
10882
+
10883
+ /* InputCounter */
10884
+ /* InputCounter — numeric field + joined decrement/increment buttons.
10885
+ Label, helper and error text reuse Input.css (../Input/Input.css).
10886
+ Field and button group share one radius per size:
10887
+ sm/md → input.field.radius.md, lg → input.field.radius.lg. */
10888
+
10889
+ .muka-inputcounter {
10890
+ --muka-inputcounter-radius: var(--input-field-radius-md);
10891
+ --muka-inputcounter-height: var(--input-field-height-default);
10892
+ --muka-inputcounter-pad: calc(var(--spacing-2) + var(--spacing-1));
10893
+ --muka-inputcounter-min: var(--size-3xl);
10894
+
10895
+ display: inline-flex;
10896
+ flex-direction: column;
10897
+ gap: var(--spacing-2);
10898
+ }
10899
+
10900
+ .muka-inputcounter--sm {
10901
+ --muka-inputcounter-height: var(--input-field-height-sm);
10902
+ --muka-inputcounter-pad: calc(var(--spacing-1) + var(--spacing-1));
10903
+ --muka-inputcounter-min: var(--size-2xl);
10904
+ }
10905
+
10906
+ .muka-inputcounter--lg {
10907
+ --muka-inputcounter-radius: var(--input-field-radius-lg);
10908
+ --muka-inputcounter-height: var(--input-field-height-lg);
10909
+ }
10910
+
10911
+ /* Label row — label, info tooltip trigger, optional hint */
10912
+ .muka-inputcounter__label-row {
10913
+ display: flex;
10914
+ align-items: center;
10915
+ gap: var(--spacing-2);
10916
+ min-height: var(--size-xl);
10917
+ }
10918
+
10919
+ .muka-inputcounter__info {
10920
+ display: inline-flex;
10921
+ align-items: center;
10922
+ justify-content: center;
10923
+ padding: 0;
10924
+ border: none;
10925
+ border-radius: 50%;
10926
+ background: transparent;
10927
+ cursor: pointer;
10928
+ }
10929
+
10930
+ .muka-inputcounter__info .muka-icon {
10931
+ color: var(--color-action-default);
10932
+ }
10933
+
10934
+ .muka-inputcounter__info:focus-visible {
10935
+ outline: 2px solid var(--color-border-focus);
10936
+ outline-offset: 2px;
10937
+ }
10938
+
10939
+ .muka-inputcounter__optional {
10940
+ font-family: var(--text-label-sm-regular-fontFamily);
10941
+ font-weight: var(--text-label-sm-regular-fontWeight);
10942
+ font-size: var(--text-label-sm-regular-fontSize);
10943
+ line-height: var(--text-label-sm-regular-lineHeight);
10944
+ color: var(--color-text-subtle-default);
10945
+ }
10946
+
10947
+ /* Field + button group */
10948
+ .muka-inputcounter__row {
10949
+ display: flex;
10950
+ align-items: center;
10951
+ gap: var(--spacing-3);
10952
+ }
10953
+
10954
+ /* Field — grows with the value (in ch), never narrower than the Figma width.
10955
+ Padding sits on the native input so the 2px focus/error border doesn't
10956
+ need compensating: content is centred in a fixed box. */
10957
+ .muka-inputcounter__field {
10958
+ position: relative;
10959
+ display: flex;
10960
+ align-items: center;
10961
+ box-sizing: border-box;
10962
+ height: var(--muka-inputcounter-height);
10963
+ width: calc(
10964
+ max(var(--muka-inputcounter-min), calc(var(--muka-inputcounter-chars, 1) * 1ch)) +
10965
+ 2 * var(--muka-inputcounter-pad) + 2 * var(--border-width-regular)
10966
+ );
10967
+ background-color: var(--input-field-color-default-background);
10968
+ border: var(--border-width-regular) solid var(--input-field-color-default-border);
10969
+ border-radius: var(--muka-inputcounter-radius);
10970
+ transition: border-color 0.2s ease, background-color 0.2s ease;
10971
+ }
10972
+
10973
+ .muka-inputcounter__field::after {
10974
+ content: '';
10975
+ position: absolute;
10976
+ inset: 0;
10977
+ border-radius: inherit;
10978
+ box-shadow: var(--shadow-sunken);
10979
+ pointer-events: none;
10980
+ }
10981
+
10982
+ .muka-inputcounter__field--focused:not(.muka-inputcounter__field--disabled) {
10983
+ border-width: var(--border-width-bold);
10984
+ border-color: var(--input-field-color-focus-border);
10985
+ background-color: var(--input-field-color-focus-background);
10986
+ }
10987
+
10988
+ .muka-inputcounter__field--error:not(.muka-inputcounter__field--disabled) {
10989
+ border-width: var(--border-width-bold);
10990
+ border-color: var(--input-field-color-error-border);
10991
+ background-color: var(--input-field-color-error-background);
10992
+ }
10993
+
10994
+ .muka-inputcounter__field--disabled {
10995
+ background-color: var(--input-field-color-disabled-background);
10996
+ border-color: var(--input-field-color-disabled-border);
10829
10997
  }
10830
10998
 
10831
- /* Error message */
10832
- .muka-license-plate-input__error {
10833
- font-family: var(--text-label-sm-regular-fontFamily);
10834
- font-weight: var(--text-label-sm-regular-fontWeight);
10835
- font-size: var(--text-label-sm-regular-fontSize);
10836
- line-height: var(--text-label-sm-regular-lineHeight);
10837
- color: var(--color-state-error-default);
10838
- margin: 0;
10999
+ .muka-inputcounter__field--disabled::after {
11000
+ display: none;
10839
11001
  }
10840
11002
 
11003
+ .muka-inputcounter__native {
11004
+ width: 100%;
11005
+ min-width: 0;
11006
+ height: 100%;
11007
+ box-sizing: border-box;
11008
+ padding: 0 calc(var(--muka-inputcounter-pad) - var(--border-width-regular));
11009
+ border: none;
11010
+ outline: none;
11011
+ background: transparent;
11012
+ text-align: center;
11013
+ font-variant-numeric: tabular-nums;
11014
+ color: var(--input-field-color-default-foreground);
11015
+ font-family: var(--text-input-md-fontFamily);
11016
+ font-weight: var(--text-input-md-fontWeight);
11017
+ font-size: var(--text-input-md-fontSize);
11018
+ line-height: var(--text-input-md-lineHeight);
11019
+ }
10841
11020
 
10842
- /* Label */
10843
- /* Label Component Styles - Using Muka Design Tokens */
11021
+ .muka-inputcounter--sm .muka-inputcounter__native {
11022
+ font-family: var(--text-input-sm-fontFamily);
11023
+ font-weight: var(--text-input-sm-fontWeight);
11024
+ font-size: var(--text-input-sm-fontSize);
11025
+ line-height: var(--text-input-sm-lineHeight);
11026
+ }
10844
11027
 
10845
- .muka-label {
10846
- display: inline-flex;
10847
- align-items: center;
10848
- color: var(--color-text-default-default);
10849
- cursor: pointer;
11028
+ .muka-inputcounter__field--disabled .muka-inputcounter__native {
11029
+ color: var(--input-field-color-disabled-foreground);
11030
+ cursor: not-allowed;
10850
11031
  }
10851
11032
 
10852
- .muka-label--sm {
10853
- font-family: var(--text-label-sm-semibold-fontFamily);
10854
- font-weight: var(--text-label-sm-semibold-fontWeight);
10855
- font-size: var(--text-label-sm-semibold-fontSize);
10856
- line-height: var(--text-label-sm-semibold-lineHeight);
11033
+ /* Button group — secondary icon-only Buttons joined by a divider.
11034
+ Only the outer corners are rounded. */
11035
+ .muka-inputcounter__group {
11036
+ display: inline-flex;
11037
+ align-items: stretch;
10857
11038
  }
10858
11039
 
10859
- .muka-label--md {
10860
- font-family: var(--text-label-md-semibold-fontFamily);
10861
- font-weight: var(--text-label-md-semibold-fontWeight);
10862
- font-size: var(--text-label-md-semibold-fontSize);
10863
- line-height: var(--text-label-md-semibold-lineHeight);
11040
+ .muka-inputcounter__group .muka-button {
11041
+ border-radius: 0;
10864
11042
  }
10865
11043
 
10866
- .muka-label--lg {
10867
- font-family: var(--text-label-lg-semibold-fontFamily);
10868
- font-weight: var(--text-label-lg-semibold-fontWeight);
10869
- font-size: var(--text-label-lg-semibold-fontSize);
10870
- line-height: var(--text-label-lg-semibold-lineHeight);
11044
+ .muka-inputcounter__group .muka-button:first-child {
11045
+ border-start-start-radius: var(--muka-inputcounter-radius);
11046
+ border-end-start-radius: var(--muka-inputcounter-radius);
10871
11047
  }
10872
11048
 
10873
- .muka-label--disabled {
10874
- color: var(--color-text-subtle-default);
10875
- cursor: not-allowed;
11049
+ .muka-inputcounter__group .muka-button:last-child {
11050
+ border-start-end-radius: var(--muka-inputcounter-radius);
11051
+ border-end-end-radius: var(--muka-inputcounter-radius);
10876
11052
  }
10877
11053
 
10878
- .muka-label__required {
10879
- color: var(--color-state-error-default);
11054
+ .muka-inputcounter__divider {
11055
+ flex: none;
11056
+ width: var(--border-width-regular);
11057
+ background-color: var(--color-border-default);
10880
11058
  }
10881
11059
 
10882
11060
 
@@ -11161,235 +11339,57 @@ li.muka-listitem {
11161
11339
  }
11162
11340
 
11163
11341
 
11164
- /* Icon */
11165
- /* Icon Component Styles - Using Muka Design Tokens */
11166
-
11167
- .muka-icon {
11168
- display: inline-flex;
11169
- align-items: center;
11170
- justify-content: center;
11171
- flex-shrink: 0;
11172
- color: var(--color-icon-default-default, currentColor);
11173
- }
11174
-
11175
- /* Icons inside buttons should inherit from button's foreground color */
11176
- .muka-button .muka-icon {
11177
- color: inherit;
11178
- }
11179
-
11180
- .muka-icon--subtle {
11181
- color: var(--color-icon-subtle-default);
11182
- }
11183
-
11184
- .muka-icon--muted {
11185
- color: var(--color-icon-muted-default);
11186
- }
11187
-
11188
- .muka-icon--inverse {
11189
- color: var(--color-icon-default-inverse);
11190
- }
11191
-
11192
- .muka-icon--xs {
11193
- width: var(--icon-size-xs);
11194
- height: var(--icon-size-xs);
11195
- }
11196
-
11197
- .muka-icon--sm {
11198
- width: var(--icon-size-sm);
11199
- height: var(--icon-size-sm);
11200
- }
11201
-
11202
- .muka-icon--md {
11203
- width: var(--icon-size-default);
11204
- height: var(--icon-size-default);
11205
- }
11206
-
11207
- .muka-icon--lg {
11208
- width: var(--icon-size-lg);
11209
- height: var(--icon-size-lg);
11210
- }
11211
-
11212
- .muka-icon svg {
11213
- width: 100%;
11214
- height: 100%;
11215
- }
11216
-
11217
-
11218
- /* InputCounter */
11219
- /* InputCounter — numeric field + joined decrement/increment buttons.
11220
- Label, helper and error text reuse Input.css (../Input/Input.css).
11221
- Field and button group share one radius per size:
11222
- sm/md → input.field.radius.md, lg → input.field.radius.lg. */
11223
-
11224
- .muka-inputcounter {
11225
- --muka-inputcounter-radius: var(--input-field-radius-md);
11226
- --muka-inputcounter-height: var(--input-field-height-default);
11227
- --muka-inputcounter-pad: calc(var(--spacing-2) + var(--spacing-1));
11228
- --muka-inputcounter-min: var(--size-3xl);
11229
-
11230
- display: inline-flex;
11231
- flex-direction: column;
11232
- gap: var(--spacing-2);
11233
- }
11234
-
11235
- .muka-inputcounter--sm {
11236
- --muka-inputcounter-height: var(--input-field-height-sm);
11237
- --muka-inputcounter-pad: calc(var(--spacing-1) + var(--spacing-1));
11238
- --muka-inputcounter-min: var(--size-2xl);
11239
- }
11240
-
11241
- .muka-inputcounter--lg {
11242
- --muka-inputcounter-radius: var(--input-field-radius-lg);
11243
- --muka-inputcounter-height: var(--input-field-height-lg);
11244
- }
11245
-
11246
- /* Label row — label, info tooltip trigger, optional hint */
11247
- .muka-inputcounter__label-row {
11248
- display: flex;
11249
- align-items: center;
11250
- gap: var(--spacing-2);
11251
- min-height: var(--size-xl);
11252
- }
11253
-
11254
- .muka-inputcounter__info {
11255
- display: inline-flex;
11256
- align-items: center;
11257
- justify-content: center;
11258
- padding: 0;
11259
- border: none;
11260
- border-radius: 50%;
11261
- background: transparent;
11262
- cursor: pointer;
11263
- }
11264
-
11265
- .muka-inputcounter__info .muka-icon {
11266
- color: var(--color-action-default);
11267
- }
11268
-
11269
- .muka-inputcounter__info:focus-visible {
11270
- outline: 2px solid var(--color-border-focus);
11271
- outline-offset: 2px;
11272
- }
11273
-
11274
- .muka-inputcounter__optional {
11275
- font-family: var(--text-label-sm-regular-fontFamily);
11276
- font-weight: var(--text-label-sm-regular-fontWeight);
11277
- font-size: var(--text-label-sm-regular-fontSize);
11278
- line-height: var(--text-label-sm-regular-lineHeight);
11279
- color: var(--color-text-subtle-default);
11280
- }
11281
-
11282
- /* Field + button group */
11283
- .muka-inputcounter__row {
11284
- display: flex;
11285
- align-items: center;
11286
- gap: var(--spacing-3);
11287
- }
11288
-
11289
- /* Field — grows with the value (in ch), never narrower than the Figma width.
11290
- Padding sits on the native input so the 2px focus/error border doesn't
11291
- need compensating: content is centred in a fixed box. */
11292
- .muka-inputcounter__field {
11293
- position: relative;
11294
- display: flex;
11295
- align-items: center;
11296
- box-sizing: border-box;
11297
- height: var(--muka-inputcounter-height);
11298
- width: calc(
11299
- max(var(--muka-inputcounter-min), calc(var(--muka-inputcounter-chars, 1) * 1ch)) +
11300
- 2 * var(--muka-inputcounter-pad) + 2 * var(--border-width-regular)
11301
- );
11302
- background-color: var(--input-field-color-default-background);
11303
- border: var(--border-width-regular) solid var(--input-field-color-default-border);
11304
- border-radius: var(--muka-inputcounter-radius);
11305
- transition: border-color 0.2s ease, background-color 0.2s ease;
11306
- }
11307
-
11308
- .muka-inputcounter__field::after {
11309
- content: '';
11310
- position: absolute;
11311
- inset: 0;
11312
- border-radius: inherit;
11313
- box-shadow: var(--shadow-sunken);
11314
- pointer-events: none;
11315
- }
11316
-
11317
- .muka-inputcounter__field--focused:not(.muka-inputcounter__field--disabled) {
11318
- border-width: var(--border-width-bold);
11319
- border-color: var(--input-field-color-focus-border);
11320
- background-color: var(--input-field-color-focus-background);
11321
- }
11322
-
11323
- .muka-inputcounter__field--error:not(.muka-inputcounter__field--disabled) {
11324
- border-width: var(--border-width-bold);
11325
- border-color: var(--input-field-color-error-border);
11326
- background-color: var(--input-field-color-error-background);
11327
- }
11342
+ /* Icon */
11343
+ /* Icon Component Styles - Using Muka Design Tokens */
11328
11344
 
11329
- .muka-inputcounter__field--disabled {
11330
- background-color: var(--input-field-color-disabled-background);
11331
- border-color: var(--input-field-color-disabled-border);
11345
+ .muka-icon {
11346
+ display: inline-flex;
11347
+ align-items: center;
11348
+ justify-content: center;
11349
+ flex-shrink: 0;
11350
+ color: var(--color-icon-default-default, currentColor);
11332
11351
  }
11333
11352
 
11334
- .muka-inputcounter__field--disabled::after {
11335
- display: none;
11353
+ /* Icons inside buttons should inherit from button's foreground color */
11354
+ .muka-button .muka-icon {
11355
+ color: inherit;
11336
11356
  }
11337
11357
 
11338
- .muka-inputcounter__native {
11339
- width: 100%;
11340
- min-width: 0;
11341
- height: 100%;
11342
- box-sizing: border-box;
11343
- padding: 0 calc(var(--muka-inputcounter-pad) - var(--border-width-regular));
11344
- border: none;
11345
- outline: none;
11346
- background: transparent;
11347
- text-align: center;
11348
- font-variant-numeric: tabular-nums;
11349
- color: var(--input-field-color-default-foreground);
11350
- font-family: var(--text-input-md-fontFamily);
11351
- font-weight: var(--text-input-md-fontWeight);
11352
- font-size: var(--text-input-md-fontSize);
11353
- line-height: var(--text-input-md-lineHeight);
11358
+ .muka-icon--subtle {
11359
+ color: var(--color-icon-subtle-default);
11354
11360
  }
11355
11361
 
11356
- .muka-inputcounter--sm .muka-inputcounter__native {
11357
- font-family: var(--text-input-sm-fontFamily);
11358
- font-weight: var(--text-input-sm-fontWeight);
11359
- font-size: var(--text-input-sm-fontSize);
11360
- line-height: var(--text-input-sm-lineHeight);
11362
+ .muka-icon--muted {
11363
+ color: var(--color-icon-muted-default);
11361
11364
  }
11362
11365
 
11363
- .muka-inputcounter__field--disabled .muka-inputcounter__native {
11364
- color: var(--input-field-color-disabled-foreground);
11365
- cursor: not-allowed;
11366
+ .muka-icon--inverse {
11367
+ color: var(--color-icon-default-inverse);
11366
11368
  }
11367
11369
 
11368
- /* Button group — secondary icon-only Buttons joined by a divider.
11369
- Only the outer corners are rounded. */
11370
- .muka-inputcounter__group {
11371
- display: inline-flex;
11372
- align-items: stretch;
11370
+ .muka-icon--xs {
11371
+ width: var(--icon-size-xs);
11372
+ height: var(--icon-size-xs);
11373
11373
  }
11374
11374
 
11375
- .muka-inputcounter__group .muka-button {
11376
- border-radius: 0;
11375
+ .muka-icon--sm {
11376
+ width: var(--icon-size-sm);
11377
+ height: var(--icon-size-sm);
11377
11378
  }
11378
11379
 
11379
- .muka-inputcounter__group .muka-button:first-child {
11380
- border-start-start-radius: var(--muka-inputcounter-radius);
11381
- border-end-start-radius: var(--muka-inputcounter-radius);
11380
+ .muka-icon--md {
11381
+ width: var(--icon-size-default);
11382
+ height: var(--icon-size-default);
11382
11383
  }
11383
11384
 
11384
- .muka-inputcounter__group .muka-button:last-child {
11385
- border-start-end-radius: var(--muka-inputcounter-radius);
11386
- border-end-end-radius: var(--muka-inputcounter-radius);
11385
+ .muka-icon--lg {
11386
+ width: var(--icon-size-lg);
11387
+ height: var(--icon-size-lg);
11387
11388
  }
11388
11389
 
11389
- .muka-inputcounter__divider {
11390
- flex: none;
11391
- width: var(--border-width-regular);
11392
- background-color: var(--color-border-default);
11390
+ .muka-icon svg {
11391
+ width: 100%;
11392
+ height: 100%;
11393
11393
  }
11394
11394
 
11395
11395
 
@@ -11566,253 +11566,112 @@ li.muka-listitem {
11566
11566
 
11567
11567
  .muka-fileupload__list li {
11568
11568
  margin: 0;
11569
- padding: 0;
11570
- }
11571
-
11572
- /* File item */
11573
- .muka-fileupload-item {
11574
- display: flex;
11575
- align-items: center;
11576
- gap: var(--fileupload-item-gap);
11577
- padding: var(--fileupload-item-padding-y) var(--fileupload-item-padding-x);
11578
- background-color: var(--fileupload-item-color-default-background);
11579
- border-radius: var(--fileupload-item-radius);
11580
- }
11581
-
11582
- .muka-fileupload-item--error {
11583
- background-color: var(--fileupload-item-color-error-background);
11584
- }
11585
-
11586
- .muka-fileupload-item--success {
11587
- background-color: var(--fileupload-item-color-default-background);
11588
- }
11589
-
11590
- /* Preview/Icon container */
11591
- .muka-fileupload-item__preview {
11592
- display: flex;
11593
- align-items: center;
11594
- justify-content: center;
11595
- flex-shrink: 0;
11596
- width: var(--fileupload-preview-size);
11597
- height: var(--fileupload-preview-size);
11598
- border-radius: var(--fileupload-preview-radius);
11599
- overflow: hidden;
11600
- background-color: var(--color-surface-level1);
11601
- }
11602
-
11603
- .muka-fileupload-item__thumbnail {
11604
- width: 100%;
11605
- height: 100%;
11606
- object-fit: cover;
11607
- }
11608
-
11609
- .muka-fileupload-item__icon {
11610
- color: var(--color-text-subtle-default);
11611
- }
11612
-
11613
- /* File info */
11614
- .muka-fileupload-item__info {
11615
- flex: 1;
11616
- min-width: 0;
11617
- display: flex;
11618
- flex-direction: column;
11619
- gap: var(--spacing-1);
11620
- }
11621
-
11622
- .muka-fileupload-item__name {
11623
- font-family: var(--text-body-sm-regular-fontFamily);
11624
- font-size: var(--text-body-sm-regular-fontSize);
11625
- font-weight: var(--text-body-sm-regular-fontWeight);
11626
- line-height: var(--text-body-sm-regular-lineHeight);
11627
- color: var(--fileupload-item-color-default-foreground);
11628
- white-space: nowrap;
11629
- overflow: hidden;
11630
- text-overflow: ellipsis;
11631
- }
11632
-
11633
- .muka-fileupload-item--error .muka-fileupload-item__name {
11634
- color: var(--fileupload-item-color-error-foreground);
11635
- }
11636
-
11637
- .muka-fileupload-item__meta {
11638
- font-family: var(--text-label-sm-regular-fontFamily);
11639
- font-size: var(--text-label-sm-regular-fontSize);
11640
- font-weight: var(--text-label-sm-regular-fontWeight);
11641
- line-height: var(--text-label-sm-regular-lineHeight);
11642
- color: var(--color-text-subtle-default);
11643
- }
11644
-
11645
- .muka-fileupload-item__error {
11646
- color: var(--fileupload-item-color-error-foreground);
11647
- }
11648
-
11649
- .muka-fileupload-item__progress {
11650
- margin-top: var(--spacing-1);
11651
- }
11652
-
11653
- /* Actions */
11654
- .muka-fileupload-item__actions {
11655
- display: flex;
11656
- align-items: center;
11657
- gap: var(--spacing-2);
11658
- flex-shrink: 0;
11659
- }
11660
-
11661
- .muka-fileupload-item__status-icon--success {
11662
- color: var(--fileupload-item-color-success-foreground);
11663
- }
11664
-
11665
- .muka-fileupload-item__status-icon--error {
11666
- color: var(--fileupload-item-color-error-foreground);
11667
- }
11668
-
11669
- .muka-fileupload-item__remove {
11670
- opacity: 0.7;
11671
- }
11672
-
11673
- .muka-fileupload-item__remove:hover {
11674
- opacity: 1;
11675
- }
11676
-
11677
-
11678
- /* FAB */
11679
- /* FAB (Floating Action Button) Component Styles */
11680
-
11681
- .muka-fab {
11682
- position: fixed;
11683
- z-index: 40;
11684
-
11685
- display: inline-flex;
11686
- align-items: center;
11687
- justify-content: center;
11688
- gap: var(--spacing-2);
11689
-
11690
- border: none;
11691
- cursor: pointer;
11692
- font-family: inherit;
11693
- box-shadow: var(--shadow-level4);
11694
-
11695
- transition: transform 0.12s ease, box-shadow 0.12s ease, background-color 0.12s ease;
11696
- -webkit-tap-highlight-color: transparent;
11697
- }
11698
-
11699
- .muka-fab:active {
11700
- transform: scale(0.96);
11701
- box-shadow: var(--shadow-level3);
11702
- }
11703
-
11704
- .muka-fab:focus-visible {
11705
- outline: 2px solid var(--color-action-default);
11706
- outline-offset: 2px;
11707
- }
11708
-
11709
- .muka-fab:disabled {
11710
- opacity: 0.5;
11711
- cursor: not-allowed;
11712
- box-shadow: none;
11713
- }
11714
-
11715
- /* ─── Variants ────────────────────────────────────────── */
11716
-
11717
- .muka-fab--primary {
11718
- background-color: var(--color-action-default);
11719
- color: var(--color-text-default-inverse);
11720
- }
11721
-
11722
- .muka-fab--primary:hover:not(:disabled) {
11723
- background-color: var(--color-action-hover);
11724
- }
11725
-
11726
- .muka-fab--secondary {
11727
- background-color: var(--color-surface-level3);
11728
- color: var(--color-text-default-default);
11729
- }
11730
-
11731
- .muka-fab--secondary:hover:not(:disabled) {
11732
- background-color: var(--color-surface-level2);
11733
- }
11734
-
11735
- /* ─── Sizes (circular by default) ─────────────────────── */
11736
-
11737
- .muka-fab--md {
11738
- width: 56px;
11739
- height: 56px;
11740
- border-radius: 50%;
11741
- }
11742
-
11743
- .muka-fab--lg {
11744
- width: 64px;
11745
- height: 64px;
11746
- border-radius: 50%;
11569
+ padding: 0;
11747
11570
  }
11748
11571
 
11749
- /* ─── Extended (pill shape with label) ────────────────── */
11572
+ /* File item */
11573
+ .muka-fileupload-item {
11574
+ display: flex;
11575
+ align-items: center;
11576
+ gap: var(--fileupload-item-gap);
11577
+ padding: var(--fileupload-item-padding-y) var(--fileupload-item-padding-x);
11578
+ background-color: var(--fileupload-item-color-default-background);
11579
+ border-radius: var(--fileupload-item-radius);
11580
+ }
11750
11581
 
11751
- .muka-fab--extended {
11752
- width: auto;
11753
- height: auto;
11754
- padding: var(--spacing-3) var(--spacing-4);
11755
- border-radius: var(--radius-full);
11582
+ .muka-fileupload-item--error {
11583
+ background-color: var(--fileupload-item-color-error-background);
11756
11584
  }
11757
11585
 
11758
- .muka-fab--extended.muka-fab--lg {
11759
- padding: var(--spacing-4) var(--spacing-5);
11586
+ .muka-fileupload-item--success {
11587
+ background-color: var(--fileupload-item-color-default-background);
11760
11588
  }
11761
11589
 
11762
- .muka-fab__icon {
11763
- display: inline-flex;
11590
+ /* Preview/Icon container */
11591
+ .muka-fileupload-item__preview {
11592
+ display: flex;
11764
11593
  align-items: center;
11765
11594
  justify-content: center;
11766
- width: 24px;
11767
- height: 24px;
11595
+ flex-shrink: 0;
11596
+ width: var(--fileupload-preview-size);
11597
+ height: var(--fileupload-preview-size);
11598
+ border-radius: var(--fileupload-preview-radius);
11599
+ overflow: hidden;
11600
+ background-color: var(--color-surface-level1);
11768
11601
  }
11769
11602
 
11770
- .muka-fab__icon svg {
11603
+ .muka-fileupload-item__thumbnail {
11771
11604
  width: 100%;
11772
11605
  height: 100%;
11606
+ object-fit: cover;
11773
11607
  }
11774
11608
 
11775
- .muka-fab__label {
11776
- font-family: var(--text-label-md-semibold-fontFamily);
11777
- font-weight: var(--text-label-md-semibold-fontWeight);
11778
- font-size: var(--text-label-md-semibold-fontSize);
11779
- line-height: var(--text-label-md-semibold-lineHeight);
11609
+ .muka-fileupload-item__icon {
11610
+ color: var(--color-text-subtle-default);
11780
11611
  }
11781
11612
 
11782
- /* ─── Positioning ─────────────────────────────────────── */
11613
+ /* File info */
11614
+ .muka-fileupload-item__info {
11615
+ flex: 1;
11616
+ min-width: 0;
11617
+ display: flex;
11618
+ flex-direction: column;
11619
+ gap: var(--spacing-1);
11620
+ }
11783
11621
 
11784
- .muka-fab--bottom-right {
11785
- right: var(--spacing-4);
11786
- bottom: var(--spacing-4);
11622
+ .muka-fileupload-item__name {
11623
+ font-family: var(--text-body-sm-regular-fontFamily);
11624
+ font-size: var(--text-body-sm-regular-fontSize);
11625
+ font-weight: var(--text-body-sm-regular-fontWeight);
11626
+ line-height: var(--text-body-sm-regular-lineHeight);
11627
+ color: var(--fileupload-item-color-default-foreground);
11628
+ white-space: nowrap;
11629
+ overflow: hidden;
11630
+ text-overflow: ellipsis;
11787
11631
  }
11788
11632
 
11789
- .muka-fab--bottom-left {
11790
- left: var(--spacing-4);
11791
- bottom: var(--spacing-4);
11633
+ .muka-fileupload-item--error .muka-fileupload-item__name {
11634
+ color: var(--fileupload-item-color-error-foreground);
11792
11635
  }
11793
11636
 
11794
- .muka-fab--bottom-center {
11795
- left: 50%;
11796
- bottom: var(--spacing-4);
11797
- transform: translateX(-50%);
11637
+ .muka-fileupload-item__meta {
11638
+ font-family: var(--text-label-sm-regular-fontFamily);
11639
+ font-size: var(--text-label-sm-regular-fontSize);
11640
+ font-weight: var(--text-label-sm-regular-fontWeight);
11641
+ line-height: var(--text-label-sm-regular-lineHeight);
11642
+ color: var(--color-text-subtle-default);
11798
11643
  }
11799
11644
 
11800
- .muka-fab--bottom-center:active {
11801
- transform: translateX(-50%) scale(0.96);
11645
+ .muka-fileupload-item__error {
11646
+ color: var(--fileupload-item-color-error-foreground);
11802
11647
  }
11803
11648
 
11804
- /* Add the iOS home-indicator inset to the bottom offset. */
11805
- .muka-fab:not(.muka-fab--no-safe-area) {
11806
- bottom: calc(var(--spacing-4) + env(safe-area-inset-bottom));
11649
+ .muka-fileupload-item__progress {
11650
+ margin-top: var(--spacing-1);
11807
11651
  }
11808
11652
 
11809
- /* Lateral safe-area for landscape iPhone with notch. */
11810
- .muka-fab--bottom-right:not(.muka-fab--no-safe-area) {
11811
- right: max(var(--spacing-4), env(safe-area-inset-right));
11653
+ /* Actions */
11654
+ .muka-fileupload-item__actions {
11655
+ display: flex;
11656
+ align-items: center;
11657
+ gap: var(--spacing-2);
11658
+ flex-shrink: 0;
11812
11659
  }
11813
11660
 
11814
- .muka-fab--bottom-left:not(.muka-fab--no-safe-area) {
11815
- left: max(var(--spacing-4), env(safe-area-inset-left));
11661
+ .muka-fileupload-item__status-icon--success {
11662
+ color: var(--fileupload-item-color-success-foreground);
11663
+ }
11664
+
11665
+ .muka-fileupload-item__status-icon--error {
11666
+ color: var(--fileupload-item-color-error-foreground);
11667
+ }
11668
+
11669
+ .muka-fileupload-item__remove {
11670
+ opacity: 0.7;
11671
+ }
11672
+
11673
+ .muka-fileupload-item__remove:hover {
11674
+ opacity: 1;
11816
11675
  }
11817
11676
 
11818
11677
 
@@ -11957,6 +11816,147 @@ li.muka-listitem {
11957
11816
  }
11958
11817
 
11959
11818
 
11819
+ /* FAB */
11820
+ /* FAB (Floating Action Button) Component Styles */
11821
+
11822
+ .muka-fab {
11823
+ position: fixed;
11824
+ z-index: 40;
11825
+
11826
+ display: inline-flex;
11827
+ align-items: center;
11828
+ justify-content: center;
11829
+ gap: var(--spacing-2);
11830
+
11831
+ border: none;
11832
+ cursor: pointer;
11833
+ font-family: inherit;
11834
+ box-shadow: var(--shadow-level4);
11835
+
11836
+ transition: transform 0.12s ease, box-shadow 0.12s ease, background-color 0.12s ease;
11837
+ -webkit-tap-highlight-color: transparent;
11838
+ }
11839
+
11840
+ .muka-fab:active {
11841
+ transform: scale(0.96);
11842
+ box-shadow: var(--shadow-level3);
11843
+ }
11844
+
11845
+ .muka-fab:focus-visible {
11846
+ outline: 2px solid var(--color-action-default);
11847
+ outline-offset: 2px;
11848
+ }
11849
+
11850
+ .muka-fab:disabled {
11851
+ opacity: 0.5;
11852
+ cursor: not-allowed;
11853
+ box-shadow: none;
11854
+ }
11855
+
11856
+ /* ─── Variants ────────────────────────────────────────── */
11857
+
11858
+ .muka-fab--primary {
11859
+ background-color: var(--color-action-default);
11860
+ color: var(--color-text-default-inverse);
11861
+ }
11862
+
11863
+ .muka-fab--primary:hover:not(:disabled) {
11864
+ background-color: var(--color-action-hover);
11865
+ }
11866
+
11867
+ .muka-fab--secondary {
11868
+ background-color: var(--color-surface-level3);
11869
+ color: var(--color-text-default-default);
11870
+ }
11871
+
11872
+ .muka-fab--secondary:hover:not(:disabled) {
11873
+ background-color: var(--color-surface-level2);
11874
+ }
11875
+
11876
+ /* ─── Sizes (circular by default) ─────────────────────── */
11877
+
11878
+ .muka-fab--md {
11879
+ width: 56px;
11880
+ height: 56px;
11881
+ border-radius: 50%;
11882
+ }
11883
+
11884
+ .muka-fab--lg {
11885
+ width: 64px;
11886
+ height: 64px;
11887
+ border-radius: 50%;
11888
+ }
11889
+
11890
+ /* ─── Extended (pill shape with label) ────────────────── */
11891
+
11892
+ .muka-fab--extended {
11893
+ width: auto;
11894
+ height: auto;
11895
+ padding: var(--spacing-3) var(--spacing-4);
11896
+ border-radius: var(--radius-full);
11897
+ }
11898
+
11899
+ .muka-fab--extended.muka-fab--lg {
11900
+ padding: var(--spacing-4) var(--spacing-5);
11901
+ }
11902
+
11903
+ .muka-fab__icon {
11904
+ display: inline-flex;
11905
+ align-items: center;
11906
+ justify-content: center;
11907
+ width: 24px;
11908
+ height: 24px;
11909
+ }
11910
+
11911
+ .muka-fab__icon svg {
11912
+ width: 100%;
11913
+ height: 100%;
11914
+ }
11915
+
11916
+ .muka-fab__label {
11917
+ font-family: var(--text-label-md-semibold-fontFamily);
11918
+ font-weight: var(--text-label-md-semibold-fontWeight);
11919
+ font-size: var(--text-label-md-semibold-fontSize);
11920
+ line-height: var(--text-label-md-semibold-lineHeight);
11921
+ }
11922
+
11923
+ /* ─── Positioning ─────────────────────────────────────── */
11924
+
11925
+ .muka-fab--bottom-right {
11926
+ right: var(--spacing-4);
11927
+ bottom: var(--spacing-4);
11928
+ }
11929
+
11930
+ .muka-fab--bottom-left {
11931
+ left: var(--spacing-4);
11932
+ bottom: var(--spacing-4);
11933
+ }
11934
+
11935
+ .muka-fab--bottom-center {
11936
+ left: 50%;
11937
+ bottom: var(--spacing-4);
11938
+ transform: translateX(-50%);
11939
+ }
11940
+
11941
+ .muka-fab--bottom-center:active {
11942
+ transform: translateX(-50%) scale(0.96);
11943
+ }
11944
+
11945
+ /* Add the iOS home-indicator inset to the bottom offset. */
11946
+ .muka-fab:not(.muka-fab--no-safe-area) {
11947
+ bottom: calc(var(--spacing-4) + env(safe-area-inset-bottom));
11948
+ }
11949
+
11950
+ /* Lateral safe-area for landscape iPhone with notch. */
11951
+ .muka-fab--bottom-right:not(.muka-fab--no-safe-area) {
11952
+ right: max(var(--spacing-4), env(safe-area-inset-right));
11953
+ }
11954
+
11955
+ .muka-fab--bottom-left:not(.muka-fab--no-safe-area) {
11956
+ left: max(var(--spacing-4), env(safe-area-inset-left));
11957
+ }
11958
+
11959
+
11960
11960
  /* EmojiPicker */
11961
11961
  /* EmojiPicker Component Styles */
11962
11962