@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.
@@ -5613,226 +5613,6 @@ body {
5613
5613
  }
5614
5614
 
5615
5615
 
5616
- /* Skeleton */
5617
- /* Skeleton Component Styles */
5618
-
5619
- .muka-skeleton {
5620
- background-color: var(--color-surface-level1);
5621
- display: block;
5622
- }
5623
-
5624
- /* Variants */
5625
- .muka-skeleton--text {
5626
- height: 1em;
5627
- border-radius: var(--radius-md);
5628
- width: 100%;
5629
- }
5630
-
5631
- .muka-skeleton--circular {
5632
- width: 2.5rem;
5633
- height: 2.5rem;
5634
- border-radius: var(--radius-full);
5635
- }
5636
-
5637
- .muka-skeleton--rectangular {
5638
- height: 7.5rem;
5639
- border-radius: var(--radius-md);
5640
- width: 100%;
5641
- }
5642
-
5643
- /* Last line in multi-line text is shorter */
5644
- .muka-skeleton--last-line {
5645
- width: 80%;
5646
- }
5647
-
5648
- /* Lines container */
5649
- .muka-skeleton__lines {
5650
- display: flex;
5651
- flex-direction: column;
5652
- gap: var(--spacing-2);
5653
- }
5654
-
5655
- /* Shimmer animation */
5656
- @keyframes muka-skeleton-shimmer {
5657
- 0% {
5658
- background-position: -200% 0;
5659
- }
5660
- 100% {
5661
- background-position: 200% 0;
5662
- }
5663
- }
5664
-
5665
- .muka-skeleton--shimmer {
5666
- background: linear-gradient(
5667
- 90deg,
5668
- var(--color-surface-level1) 25%,
5669
- var(--color-surface-level2) 50%,
5670
- var(--color-surface-level1) 75%
5671
- );
5672
- background-size: 200% 100%;
5673
- animation: muka-skeleton-shimmer 1.5s ease-in-out infinite;
5674
- }
5675
-
5676
- /* Pulse animation */
5677
- @keyframes muka-skeleton-pulse {
5678
- 0%, 100% {
5679
- opacity: 1;
5680
- }
5681
- 50% {
5682
- opacity: 0.4;
5683
- }
5684
- }
5685
-
5686
- .muka-skeleton--pulse {
5687
- animation: muka-skeleton-pulse 1.5s ease-in-out infinite;
5688
- }
5689
-
5690
-
5691
- /* SiteHeader */
5692
- /* SiteHeader Component Styles */
5693
-
5694
- /*
5695
- * Header for document-scrolling pages. Its colour comes from, in order:
5696
- * `--muka-site-header-background` (set by the consumer), the surrounding
5697
- * Page's `--muka-page-background`, and the base surface.
5698
- *
5699
- * Safe areas: env(safe-area-inset-*) is 0 outside notched devices. In an app
5700
- * running edge to edge, the header extends behind the status bar in its own
5701
- * colour and keeps its content clear of a landscape notch.
5702
- */
5703
- .muka-site-header {
5704
- width: 100%;
5705
- flex-shrink: 0;
5706
- background-color: var(--muka-site-header-background, var(--muka-page-background, var(--color-surface-level3)));
5707
- padding-top: env(safe-area-inset-top, 0px);
5708
- }
5709
-
5710
- .muka-site-header--sticky {
5711
- position: sticky;
5712
- top: 0;
5713
- z-index: 30;
5714
- border-bottom: var(--border-width-regular) solid var(--color-border-default);
5715
- }
5716
-
5717
- /*
5718
- * A header that scrolls away would leave the status bar over the content. A
5719
- * fixed strip in the header's colour stays behind the status bar instead.
5720
- * Below Muka's overlays, so a dialog's backdrop dims it with the page.
5721
- */
5722
- .muka-site-header:not(.muka-site-header--sticky)::before {
5723
- content: '';
5724
- position: fixed;
5725
- top: 0;
5726
- left: 0;
5727
- right: 0;
5728
- height: env(safe-area-inset-top, 0px);
5729
- background-color: inherit;
5730
- pointer-events: none;
5731
- z-index: 30;
5732
- }
5733
-
5734
- .muka-site-header__inner {
5735
- display: flex;
5736
- align-items: center;
5737
- gap: var(--spacing-2);
5738
- width: 100%;
5739
- max-width: var(--container-max-width-xl);
5740
- margin: 0 auto;
5741
- padding-block: var(--spacing-6);
5742
- padding-left: max(var(--spacing-4), env(safe-area-inset-left, 0px));
5743
- padding-right: max(var(--spacing-4), env(safe-area-inset-right, 0px));
5744
- }
5745
-
5746
- .muka-site-header__brand {
5747
- display: flex;
5748
- align-items: center;
5749
- flex-shrink: 0;
5750
- min-width: 0;
5751
- }
5752
-
5753
- .muka-site-header__nav {
5754
- display: none;
5755
- align-items: center;
5756
- gap: var(--spacing-1);
5757
- min-width: 0;
5758
- }
5759
-
5760
- .muka-site-header__actions {
5761
- display: flex;
5762
- align-items: center;
5763
- margin-left: auto;
5764
- min-width: 0;
5765
- }
5766
-
5767
- .muka-site-header__action-group {
5768
- display: flex;
5769
- align-items: center;
5770
- gap: var(--spacing-2);
5771
- }
5772
-
5773
- /* Small screens: the compact set replaces the full one. */
5774
- .muka-site-header__action-group--wide {
5775
- display: none;
5776
- }
5777
-
5778
- @media (min-width: 768px) {
5779
- .muka-site-header__inner {
5780
- gap: var(--spacing-4);
5781
- padding-block: var(--spacing-8);
5782
- }
5783
-
5784
- .muka-site-header__nav {
5785
- display: flex;
5786
- }
5787
-
5788
- .muka-site-header__action-group--wide {
5789
- display: flex;
5790
- }
5791
-
5792
- .muka-site-header__action-group--compact {
5793
- display: none;
5794
- }
5795
- }
5796
-
5797
- /*
5798
- * layout="full" (Figma Public header, Bouwplan): the content spans the width,
5799
- * the nav sits between brand and actions (space-between), and the inset grows
5800
- * with the screen: 24/16 on small screens, 16/24 from 768px, 32 from 1536px.
5801
- * Safe-area insets still win where they are larger.
5802
- */
5803
- .muka-site-header--full .muka-site-header__inner {
5804
- max-width: none;
5805
- justify-content: space-between;
5806
- }
5807
-
5808
- .muka-site-header--full .muka-site-header__actions {
5809
- margin-left: 0;
5810
- }
5811
-
5812
- @media (min-width: 768px) {
5813
- .muka-site-header--full .muka-site-header__inner {
5814
- padding-block: var(--spacing-4);
5815
- padding-left: max(var(--spacing-6), env(safe-area-inset-left, 0px));
5816
- padding-right: max(var(--spacing-6), env(safe-area-inset-right, 0px));
5817
- }
5818
- }
5819
-
5820
- @media (min-width: 1536px) {
5821
- .muka-site-header--full .muka-site-header__inner {
5822
- padding-block: var(--spacing-8);
5823
- padding-left: max(var(--spacing-8), env(safe-area-inset-left, 0px));
5824
- padding-right: max(var(--spacing-8), env(safe-area-inset-right, 0px));
5825
- }
5826
- }
5827
-
5828
- /* Small screens: no nav, so the actions take the end on their own. */
5829
- @media (max-width: 767px) {
5830
- .muka-site-header--full .muka-site-header__actions {
5831
- margin-left: auto;
5832
- }
5833
- }
5834
-
5835
-
5836
5616
  /* SmsOtpField */
5837
5617
  /* SmsOtpField Component Styles - Using Muka Design Tokens */
5838
5618
 
@@ -6025,31 +5805,106 @@ body {
6025
5805
  }
6026
5806
 
6027
5807
 
6028
- /* Sheet */
6029
- /* Sheet Component Styles */
6030
-
6031
- /* ─── Backdrop ────────────────────────────────────────── */
5808
+ /* Skeleton */
5809
+ /* Skeleton Component Styles */
6032
5810
 
6033
- .muka-sheet__overlay {
6034
- position: fixed;
6035
- inset: 0;
6036
- background-color: var(--color-surface-backdrop);
6037
- -webkit-backdrop-filter: blur(var(--effect-blur-backdrop));
6038
- backdrop-filter: blur(var(--effect-blur-backdrop));
6039
- z-index: 50;
5811
+ .muka-skeleton {
5812
+ background-color: var(--color-surface-level1);
5813
+ display: block;
6040
5814
  }
6041
5815
 
6042
- /* ─── Surface ─────────────────────────────────────────── */
5816
+ /* Variants */
5817
+ .muka-skeleton--text {
5818
+ height: 1em;
5819
+ border-radius: var(--radius-md);
5820
+ width: 100%;
5821
+ }
6043
5822
 
6044
- .muka-sheet {
6045
- position: fixed;
6046
- left: 0;
6047
- right: 0;
6048
- bottom: 0;
6049
- z-index: 51;
5823
+ .muka-skeleton--circular {
5824
+ width: 2.5rem;
5825
+ height: 2.5rem;
5826
+ border-radius: var(--radius-full);
5827
+ }
6050
5828
 
6051
- display: flex;
6052
- flex-direction: column;
5829
+ .muka-skeleton--rectangular {
5830
+ height: 7.5rem;
5831
+ border-radius: var(--radius-md);
5832
+ width: 100%;
5833
+ }
5834
+
5835
+ /* Last line in multi-line text is shorter */
5836
+ .muka-skeleton--last-line {
5837
+ width: 80%;
5838
+ }
5839
+
5840
+ /* Lines container */
5841
+ .muka-skeleton__lines {
5842
+ display: flex;
5843
+ flex-direction: column;
5844
+ gap: var(--spacing-2);
5845
+ }
5846
+
5847
+ /* Shimmer animation */
5848
+ @keyframes muka-skeleton-shimmer {
5849
+ 0% {
5850
+ background-position: -200% 0;
5851
+ }
5852
+ 100% {
5853
+ background-position: 200% 0;
5854
+ }
5855
+ }
5856
+
5857
+ .muka-skeleton--shimmer {
5858
+ background: linear-gradient(
5859
+ 90deg,
5860
+ var(--color-surface-level1) 25%,
5861
+ var(--color-surface-level2) 50%,
5862
+ var(--color-surface-level1) 75%
5863
+ );
5864
+ background-size: 200% 100%;
5865
+ animation: muka-skeleton-shimmer 1.5s ease-in-out infinite;
5866
+ }
5867
+
5868
+ /* Pulse animation */
5869
+ @keyframes muka-skeleton-pulse {
5870
+ 0%, 100% {
5871
+ opacity: 1;
5872
+ }
5873
+ 50% {
5874
+ opacity: 0.4;
5875
+ }
5876
+ }
5877
+
5878
+ .muka-skeleton--pulse {
5879
+ animation: muka-skeleton-pulse 1.5s ease-in-out infinite;
5880
+ }
5881
+
5882
+
5883
+ /* Sheet */
5884
+ /* Sheet Component Styles */
5885
+
5886
+ /* ─── Backdrop ────────────────────────────────────────── */
5887
+
5888
+ .muka-sheet__overlay {
5889
+ position: fixed;
5890
+ inset: 0;
5891
+ background-color: var(--color-surface-backdrop);
5892
+ -webkit-backdrop-filter: blur(var(--effect-blur-backdrop));
5893
+ backdrop-filter: blur(var(--effect-blur-backdrop));
5894
+ z-index: 50;
5895
+ }
5896
+
5897
+ /* ─── Surface ─────────────────────────────────────────── */
5898
+
5899
+ .muka-sheet {
5900
+ position: fixed;
5901
+ left: 0;
5902
+ right: 0;
5903
+ bottom: 0;
5904
+ z-index: 51;
5905
+
5906
+ display: flex;
5907
+ flex-direction: column;
6053
5908
 
6054
5909
  max-height: 96dvh;
6055
5910
 
@@ -6301,6 +6156,151 @@ body {
6301
6156
  }
6302
6157
 
6303
6158
 
6159
+ /* SiteHeader */
6160
+ /* SiteHeader Component Styles */
6161
+
6162
+ /*
6163
+ * Header for document-scrolling pages. Its colour comes from, in order:
6164
+ * `--muka-site-header-background` (set by the consumer), the surrounding
6165
+ * Page's `--muka-page-background`, and the base surface.
6166
+ *
6167
+ * Safe areas: env(safe-area-inset-*) is 0 outside notched devices. In an app
6168
+ * running edge to edge, the header extends behind the status bar in its own
6169
+ * colour and keeps its content clear of a landscape notch.
6170
+ */
6171
+ .muka-site-header {
6172
+ width: 100%;
6173
+ flex-shrink: 0;
6174
+ background-color: var(--muka-site-header-background, var(--muka-page-background, var(--color-surface-level3)));
6175
+ padding-top: env(safe-area-inset-top, 0px);
6176
+ }
6177
+
6178
+ .muka-site-header--sticky {
6179
+ position: sticky;
6180
+ top: 0;
6181
+ z-index: 30;
6182
+ border-bottom: var(--border-width-regular) solid var(--color-border-default);
6183
+ }
6184
+
6185
+ /*
6186
+ * A header that scrolls away would leave the status bar over the content. A
6187
+ * fixed strip in the header's colour stays behind the status bar instead.
6188
+ * Below Muka's overlays, so a dialog's backdrop dims it with the page.
6189
+ */
6190
+ .muka-site-header:not(.muka-site-header--sticky)::before {
6191
+ content: '';
6192
+ position: fixed;
6193
+ top: 0;
6194
+ left: 0;
6195
+ right: 0;
6196
+ height: env(safe-area-inset-top, 0px);
6197
+ background-color: inherit;
6198
+ pointer-events: none;
6199
+ z-index: 30;
6200
+ }
6201
+
6202
+ .muka-site-header__inner {
6203
+ display: flex;
6204
+ align-items: center;
6205
+ gap: var(--spacing-2);
6206
+ width: 100%;
6207
+ max-width: var(--container-max-width-xl);
6208
+ margin: 0 auto;
6209
+ padding-block: var(--spacing-6);
6210
+ padding-left: max(var(--spacing-4), env(safe-area-inset-left, 0px));
6211
+ padding-right: max(var(--spacing-4), env(safe-area-inset-right, 0px));
6212
+ }
6213
+
6214
+ .muka-site-header__brand {
6215
+ display: flex;
6216
+ align-items: center;
6217
+ flex-shrink: 0;
6218
+ min-width: 0;
6219
+ }
6220
+
6221
+ .muka-site-header__nav {
6222
+ display: none;
6223
+ align-items: center;
6224
+ gap: var(--spacing-1);
6225
+ min-width: 0;
6226
+ }
6227
+
6228
+ .muka-site-header__actions {
6229
+ display: flex;
6230
+ align-items: center;
6231
+ margin-left: auto;
6232
+ min-width: 0;
6233
+ }
6234
+
6235
+ .muka-site-header__action-group {
6236
+ display: flex;
6237
+ align-items: center;
6238
+ gap: var(--spacing-2);
6239
+ }
6240
+
6241
+ /* Small screens: the compact set replaces the full one. */
6242
+ .muka-site-header__action-group--wide {
6243
+ display: none;
6244
+ }
6245
+
6246
+ @media (min-width: 768px) {
6247
+ .muka-site-header__inner {
6248
+ gap: var(--spacing-4);
6249
+ padding-block: var(--spacing-8);
6250
+ }
6251
+
6252
+ .muka-site-header__nav {
6253
+ display: flex;
6254
+ }
6255
+
6256
+ .muka-site-header__action-group--wide {
6257
+ display: flex;
6258
+ }
6259
+
6260
+ .muka-site-header__action-group--compact {
6261
+ display: none;
6262
+ }
6263
+ }
6264
+
6265
+ /*
6266
+ * layout="full" (Figma Public header, Bouwplan): the content spans the width,
6267
+ * the nav sits between brand and actions (space-between), and the inset grows
6268
+ * with the screen: 24/16 on small screens, 16/24 from 768px, 32 from 1536px.
6269
+ * Safe-area insets still win where they are larger.
6270
+ */
6271
+ .muka-site-header--full .muka-site-header__inner {
6272
+ max-width: none;
6273
+ justify-content: space-between;
6274
+ }
6275
+
6276
+ .muka-site-header--full .muka-site-header__actions {
6277
+ margin-left: 0;
6278
+ }
6279
+
6280
+ @media (min-width: 768px) {
6281
+ .muka-site-header--full .muka-site-header__inner {
6282
+ padding-block: var(--spacing-4);
6283
+ padding-left: max(var(--spacing-6), env(safe-area-inset-left, 0px));
6284
+ padding-right: max(var(--spacing-6), env(safe-area-inset-right, 0px));
6285
+ }
6286
+ }
6287
+
6288
+ @media (min-width: 1536px) {
6289
+ .muka-site-header--full .muka-site-header__inner {
6290
+ padding-block: var(--spacing-8);
6291
+ padding-left: max(var(--spacing-8), env(safe-area-inset-left, 0px));
6292
+ padding-right: max(var(--spacing-8), env(safe-area-inset-right, 0px));
6293
+ }
6294
+ }
6295
+
6296
+ /* Small screens: no nav, so the actions take the end on their own. */
6297
+ @media (max-width: 767px) {
6298
+ .muka-site-header--full .muka-site-header__actions {
6299
+ margin-left: auto;
6300
+ }
6301
+ }
6302
+
6303
+
6304
6304
  /* SegmentGroup */
6305
6305
  /* SegmentGroup Component Styles - Using Muka Design Tokens */
6306
6306
 
@@ -6512,201 +6512,32 @@ body {
6512
6512
  }
6513
6513
 
6514
6514
 
6515
- /* SearchInput */
6516
- /* SearchInput Component Styles */
6515
+ /* Scrollbar */
6516
+ /* Scrollbar — Figma menu scrollbar (32px rail, chevrons, grip thumb) */
6517
6517
 
6518
- .muka-search-input {
6518
+ .muka-scrollbar {
6519
6519
  display: flex;
6520
- align-items: center;
6521
- gap: var(--spacing-3);
6522
- width: 100%;
6520
+ flex-shrink: 0;
6521
+ border-left: var(--border-width-regular) solid var(--color-border-default);
6522
+ background-color: var(--color-surface-level3);
6523
+ user-select: none;
6523
6524
  }
6524
6525
 
6525
- /* ─── Field wrapper ───────────────────────────────────── */
6526
+ .muka-scrollbar--vertical {
6527
+ flex-direction: column;
6528
+ width: var(--size-2xl, 32px);
6529
+ align-self: stretch;
6530
+ }
6526
6531
 
6527
- .muka-search-input__field {
6528
- flex: 1 1 auto;
6529
- display: flex;
6530
- align-items: center;
6531
- gap: var(--spacing-2);
6532
- background-color: var(--input-field-color-default-background);
6533
- border: var(--border-width-regular) solid var(--input-field-color-default-border);
6534
- border-radius: var(--input-field-radius-md);
6535
- padding: 0 var(--input-field-padding-x);
6536
- transition: border-color 0.12s ease, background-color 0.12s ease;
6537
- }
6538
-
6539
- .muka-search-input--focused .muka-search-input__field {
6540
- border-color: var(--input-field-color-focus-border, var(--color-action-default));
6541
- }
6542
-
6543
- /* ─── Sizes ───────────────────────────────────────────── */
6544
-
6545
- .muka-search-input--sm .muka-search-input__field {
6546
- min-height: var(--input-field-height-sm);
6547
- border-radius: var(--input-field-radius-sm);
6548
- }
6549
-
6550
- .muka-search-input--md .muka-search-input__field {
6551
- min-height: var(--input-field-height-default);
6552
- }
6553
-
6554
- .muka-search-input--lg .muka-search-input__field {
6555
- min-height: var(--input-field-height-lg);
6556
- border-radius: var(--input-field-radius-lg);
6557
- }
6558
-
6559
- /* ─── Embedded variant (e.g. inside TopBar) ───────────── */
6560
-
6561
- .muka-search-input--embedded .muka-search-input__field {
6562
- background-color: var(--color-surface-level1);
6563
- border-color: transparent;
6564
- }
6565
-
6566
- .muka-search-input--embedded.muka-search-input--focused .muka-search-input__field {
6567
- border-color: transparent;
6568
- background-color: var(--color-surface-level2);
6569
- }
6570
-
6571
- /* ─── Disabled ────────────────────────────────────────── */
6572
-
6573
- .muka-search-input--disabled .muka-search-input__field {
6574
- opacity: 0.5;
6575
- pointer-events: none;
6576
- }
6577
-
6578
- /* ─── Leading icon ────────────────────────────────────── */
6579
-
6580
- .muka-search-input__leading {
6581
- display: inline-flex;
6582
- align-items: center;
6583
- justify-content: center;
6584
- flex-shrink: 0;
6585
- color: var(--color-text-subtle-default);
6586
- }
6587
-
6588
- /* ─── Input element ───────────────────────────────────── */
6589
-
6590
- .muka-search-input__input {
6591
- flex: 1 1 auto;
6592
- min-width: 0;
6593
- border: none;
6594
- background: transparent;
6595
- outline: none;
6596
- padding: 0;
6597
- color: var(--color-text-default-default);
6598
- font-family: var(--text-body-base-regular-fontFamily);
6599
- font-weight: var(--text-body-base-regular-fontWeight);
6600
- font-size: var(--text-body-base-regular-fontSize);
6601
- line-height: var(--text-body-base-regular-lineHeight);
6602
- appearance: none;
6603
- -webkit-appearance: none;
6604
- }
6605
-
6606
- .muka-search-input__input::placeholder {
6607
- color: var(--color-text-subtle-default);
6608
- }
6609
-
6610
- /* Hide the browser-supplied clear button (WebKit + Edge) */
6611
- .muka-search-input__input::-webkit-search-cancel-button,
6612
- .muka-search-input__input::-webkit-search-decoration {
6613
- -webkit-appearance: none;
6614
- appearance: none;
6615
- }
6616
-
6617
- .muka-search-input__input::-ms-clear {
6618
- display: none;
6619
- }
6620
-
6621
- /* ─── Trailing slot (loading spinner) ─────────────────── */
6622
-
6623
- .muka-search-input__trailing {
6624
- display: inline-flex;
6625
- align-items: center;
6626
- justify-content: center;
6627
- flex-shrink: 0;
6628
- }
6629
-
6630
- /* ─── Clear button ────────────────────────────────────── */
6631
-
6632
- .muka-search-input__clear {
6633
- display: inline-flex;
6634
- align-items: center;
6635
- justify-content: center;
6636
- width: 20px;
6637
- height: 20px;
6638
- border: none;
6639
- background: none;
6640
- padding: 0;
6641
- cursor: pointer;
6642
- color: var(--color-text-subtle-default);
6643
- flex-shrink: 0;
6644
- -webkit-tap-highlight-color: transparent;
6645
- }
6646
-
6647
- .muka-search-input__clear:hover {
6648
- color: var(--color-text-default-default);
6649
- }
6650
-
6651
- .muka-search-input__clear:focus-visible {
6652
- outline: 2px solid var(--color-action-default);
6653
- outline-offset: 2px;
6654
- border-radius: 50%;
6655
- }
6656
-
6657
- /* ─── Cancel button ───────────────────────────────────── */
6658
-
6659
- .muka-search-input__cancel {
6660
- flex-shrink: 0;
6661
- background: none;
6662
- border: none;
6663
- padding: var(--spacing-1) var(--spacing-2);
6664
- cursor: pointer;
6665
- color: var(--color-action-default);
6666
- font-family: var(--text-label-md-regular-fontFamily);
6667
- font-weight: var(--text-label-md-regular-fontWeight);
6668
- font-size: var(--text-label-md-regular-fontSize);
6669
- line-height: var(--text-label-md-regular-lineHeight);
6670
- -webkit-tap-highlight-color: transparent;
6671
- }
6672
-
6673
- .muka-search-input__cancel:hover {
6674
- color: var(--color-action-hover);
6675
- }
6676
-
6677
- .muka-search-input__cancel:focus-visible {
6678
- outline: 2px solid var(--color-action-default);
6679
- outline-offset: 2px;
6680
- border-radius: var(--radius-sm);
6681
- }
6682
-
6683
-
6684
- /* Scrollbar */
6685
- /* Scrollbar — Figma menu scrollbar (32px rail, chevrons, grip thumb) */
6686
-
6687
- .muka-scrollbar {
6688
- display: flex;
6689
- flex-shrink: 0;
6690
- border-left: var(--border-width-regular) solid var(--color-border-default);
6691
- background-color: var(--color-surface-level3);
6692
- user-select: none;
6693
- }
6694
-
6695
- .muka-scrollbar--vertical {
6696
- flex-direction: column;
6697
- width: var(--size-2xl, 32px);
6698
- align-self: stretch;
6699
- }
6700
-
6701
- .muka-scrollbar--horizontal {
6702
- flex-direction: row;
6703
- height: var(--size-2xl, 32px);
6704
- width: 100%;
6705
- border-left: none;
6706
- border-top: var(--border-width-regular) solid var(--color-border-default);
6707
- }
6708
-
6709
- .muka-scrollbar__button {
6532
+ .muka-scrollbar--horizontal {
6533
+ flex-direction: row;
6534
+ height: var(--size-2xl, 32px);
6535
+ width: 100%;
6536
+ border-left: none;
6537
+ border-top: var(--border-width-regular) solid var(--color-border-default);
6538
+ }
6539
+
6540
+ .muka-scrollbar__button {
6710
6541
  display: flex;
6711
6542
  align-items: center;
6712
6543
  justify-content: center;
@@ -7074,75 +6905,244 @@ body {
7074
6905
  }
7075
6906
 
7076
6907
 
7077
- /* RadioTile */
7078
- /* RadioTile Component Styles - Using Muka Design Tokens */
6908
+ /* SearchInput */
6909
+ /* SearchInput Component Styles */
7079
6910
 
7080
- /* Base tile styles - horizontal */
7081
- .muka-radio-tile {
6911
+ .muka-search-input {
7082
6912
  display: flex;
7083
6913
  align-items: center;
7084
- gap: var(--spacing-4);
7085
- padding: var(--spacing-4);
7086
- border: var(--border-width-regular) solid var(--input-field-color-default-border);
7087
- border-radius: var(--input-field-radius-lg);
7088
- background-color: var(--color-surface-level3);
7089
- cursor: pointer;
7090
- transition: border-color 0.15s ease, border-width 0.15s ease;
7091
- overflow: hidden;
7092
- box-sizing: border-box;
7093
- }
7094
-
7095
- .muka-radio-tile--disabled {
7096
- cursor: not-allowed;
7097
- opacity: 0.6;
6914
+ gap: var(--spacing-3);
6915
+ width: 100%;
7098
6916
  }
7099
6917
 
7100
- /* Selected state */
7101
- .muka-radio-tile[data-checked] {
7102
- border-width: var(--border-width-bold);
7103
- border-color: var(--color-action-default);
7104
- }
6918
+ /* ─── Field wrapper ───────────────────────────────────── */
7105
6919
 
7106
- /* Vertical layout */
7107
- .muka-radio-tile--vertical {
7108
- flex-direction: column;
6920
+ .muka-search-input__field {
6921
+ flex: 1 1 auto;
6922
+ display: flex;
7109
6923
  align-items: center;
7110
6924
  gap: var(--spacing-2);
7111
- position: relative;
7112
- width: 160px;
6925
+ background-color: var(--input-field-color-default-background);
6926
+ border: var(--border-width-regular) solid var(--input-field-color-default-border);
6927
+ border-radius: var(--input-field-radius-md);
6928
+ padding: 0 var(--input-field-padding-x);
6929
+ transition: border-color 0.12s ease, background-color 0.12s ease;
7113
6930
  }
7114
6931
 
7115
- /* Radio container */
7116
- .muka-radio-tile__radio {
7117
- flex-shrink: 0;
6932
+ .muka-search-input--focused .muka-search-input__field {
6933
+ border-color: var(--input-field-color-focus-border, var(--color-action-default));
7118
6934
  }
7119
6935
 
7120
- /* Corner-positioned radio for vertical */
7121
- .muka-radio-tile__radio--corner {
7122
- position: absolute;
7123
- top: var(--spacing-4);
7124
- left: var(--spacing-4);
6936
+ /* ─── Sizes ───────────────────────────────────────────── */
6937
+
6938
+ .muka-search-input--sm .muka-search-input__field {
6939
+ min-height: var(--input-field-height-sm);
6940
+ border-radius: var(--input-field-radius-sm);
7125
6941
  }
7126
6942
 
7127
- /* Adjust corner position when selected (border is thicker) */
7128
- .muka-radio-tile[data-checked] .muka-radio-tile__radio--corner {
7129
- top: calc(var(--spacing-4) - 1px);
7130
- left: calc(var(--spacing-4) - 1px);
6943
+ .muka-search-input--md .muka-search-input__field {
6944
+ min-height: var(--input-field-height-default);
7131
6945
  }
7132
6946
 
7133
- /* Icon */
7134
- .muka-radio-tile__icon {
7135
- display: flex;
7136
- align-items: center;
7137
- justify-content: center;
7138
- flex-shrink: 0;
7139
- width: var(--icon-size-default);
7140
- height: var(--icon-size-default);
7141
- color: var(--color-text-default-default);
6947
+ .muka-search-input--lg .muka-search-input__field {
6948
+ min-height: var(--input-field-height-lg);
6949
+ border-radius: var(--input-field-radius-lg);
7142
6950
  }
7143
6951
 
7144
- .muka-radio-tile__icon svg {
7145
- width: 100%;
6952
+ /* ─── Embedded variant (e.g. inside TopBar) ───────────── */
6953
+
6954
+ .muka-search-input--embedded .muka-search-input__field {
6955
+ background-color: var(--color-surface-level1);
6956
+ border-color: transparent;
6957
+ }
6958
+
6959
+ .muka-search-input--embedded.muka-search-input--focused .muka-search-input__field {
6960
+ border-color: transparent;
6961
+ background-color: var(--color-surface-level2);
6962
+ }
6963
+
6964
+ /* ─── Disabled ────────────────────────────────────────── */
6965
+
6966
+ .muka-search-input--disabled .muka-search-input__field {
6967
+ opacity: 0.5;
6968
+ pointer-events: none;
6969
+ }
6970
+
6971
+ /* ─── Leading icon ────────────────────────────────────── */
6972
+
6973
+ .muka-search-input__leading {
6974
+ display: inline-flex;
6975
+ align-items: center;
6976
+ justify-content: center;
6977
+ flex-shrink: 0;
6978
+ color: var(--color-text-subtle-default);
6979
+ }
6980
+
6981
+ /* ─── Input element ───────────────────────────────────── */
6982
+
6983
+ .muka-search-input__input {
6984
+ flex: 1 1 auto;
6985
+ min-width: 0;
6986
+ border: none;
6987
+ background: transparent;
6988
+ outline: none;
6989
+ padding: 0;
6990
+ color: var(--color-text-default-default);
6991
+ font-family: var(--text-body-base-regular-fontFamily);
6992
+ font-weight: var(--text-body-base-regular-fontWeight);
6993
+ font-size: var(--text-body-base-regular-fontSize);
6994
+ line-height: var(--text-body-base-regular-lineHeight);
6995
+ appearance: none;
6996
+ -webkit-appearance: none;
6997
+ }
6998
+
6999
+ .muka-search-input__input::placeholder {
7000
+ color: var(--color-text-subtle-default);
7001
+ }
7002
+
7003
+ /* Hide the browser-supplied clear button (WebKit + Edge) */
7004
+ .muka-search-input__input::-webkit-search-cancel-button,
7005
+ .muka-search-input__input::-webkit-search-decoration {
7006
+ -webkit-appearance: none;
7007
+ appearance: none;
7008
+ }
7009
+
7010
+ .muka-search-input__input::-ms-clear {
7011
+ display: none;
7012
+ }
7013
+
7014
+ /* ─── Trailing slot (loading spinner) ─────────────────── */
7015
+
7016
+ .muka-search-input__trailing {
7017
+ display: inline-flex;
7018
+ align-items: center;
7019
+ justify-content: center;
7020
+ flex-shrink: 0;
7021
+ }
7022
+
7023
+ /* ─── Clear button ────────────────────────────────────── */
7024
+
7025
+ .muka-search-input__clear {
7026
+ display: inline-flex;
7027
+ align-items: center;
7028
+ justify-content: center;
7029
+ width: 20px;
7030
+ height: 20px;
7031
+ border: none;
7032
+ background: none;
7033
+ padding: 0;
7034
+ cursor: pointer;
7035
+ color: var(--color-text-subtle-default);
7036
+ flex-shrink: 0;
7037
+ -webkit-tap-highlight-color: transparent;
7038
+ }
7039
+
7040
+ .muka-search-input__clear:hover {
7041
+ color: var(--color-text-default-default);
7042
+ }
7043
+
7044
+ .muka-search-input__clear:focus-visible {
7045
+ outline: 2px solid var(--color-action-default);
7046
+ outline-offset: 2px;
7047
+ border-radius: 50%;
7048
+ }
7049
+
7050
+ /* ─── Cancel button ───────────────────────────────────── */
7051
+
7052
+ .muka-search-input__cancel {
7053
+ flex-shrink: 0;
7054
+ background: none;
7055
+ border: none;
7056
+ padding: var(--spacing-1) var(--spacing-2);
7057
+ cursor: pointer;
7058
+ color: var(--color-action-default);
7059
+ font-family: var(--text-label-md-regular-fontFamily);
7060
+ font-weight: var(--text-label-md-regular-fontWeight);
7061
+ font-size: var(--text-label-md-regular-fontSize);
7062
+ line-height: var(--text-label-md-regular-lineHeight);
7063
+ -webkit-tap-highlight-color: transparent;
7064
+ }
7065
+
7066
+ .muka-search-input__cancel:hover {
7067
+ color: var(--color-action-hover);
7068
+ }
7069
+
7070
+ .muka-search-input__cancel:focus-visible {
7071
+ outline: 2px solid var(--color-action-default);
7072
+ outline-offset: 2px;
7073
+ border-radius: var(--radius-sm);
7074
+ }
7075
+
7076
+
7077
+ /* RadioTile */
7078
+ /* RadioTile Component Styles - Using Muka Design Tokens */
7079
+
7080
+ /* Base tile styles - horizontal */
7081
+ .muka-radio-tile {
7082
+ display: flex;
7083
+ align-items: center;
7084
+ gap: var(--spacing-4);
7085
+ padding: var(--spacing-4);
7086
+ border: var(--border-width-regular) solid var(--input-field-color-default-border);
7087
+ border-radius: var(--input-field-radius-lg);
7088
+ background-color: var(--color-surface-level3);
7089
+ cursor: pointer;
7090
+ transition: border-color 0.15s ease, border-width 0.15s ease;
7091
+ overflow: hidden;
7092
+ box-sizing: border-box;
7093
+ }
7094
+
7095
+ .muka-radio-tile--disabled {
7096
+ cursor: not-allowed;
7097
+ opacity: 0.6;
7098
+ }
7099
+
7100
+ /* Selected state */
7101
+ .muka-radio-tile[data-checked] {
7102
+ border-width: var(--border-width-bold);
7103
+ border-color: var(--color-action-default);
7104
+ }
7105
+
7106
+ /* Vertical layout */
7107
+ .muka-radio-tile--vertical {
7108
+ flex-direction: column;
7109
+ align-items: center;
7110
+ gap: var(--spacing-2);
7111
+ position: relative;
7112
+ width: 160px;
7113
+ }
7114
+
7115
+ /* Radio container */
7116
+ .muka-radio-tile__radio {
7117
+ flex-shrink: 0;
7118
+ }
7119
+
7120
+ /* Corner-positioned radio for vertical */
7121
+ .muka-radio-tile__radio--corner {
7122
+ position: absolute;
7123
+ top: var(--spacing-4);
7124
+ left: var(--spacing-4);
7125
+ }
7126
+
7127
+ /* Adjust corner position when selected (border is thicker) */
7128
+ .muka-radio-tile[data-checked] .muka-radio-tile__radio--corner {
7129
+ top: calc(var(--spacing-4) - 1px);
7130
+ left: calc(var(--spacing-4) - 1px);
7131
+ }
7132
+
7133
+ /* Icon */
7134
+ .muka-radio-tile__icon {
7135
+ display: flex;
7136
+ align-items: center;
7137
+ justify-content: center;
7138
+ flex-shrink: 0;
7139
+ width: var(--icon-size-default);
7140
+ height: var(--icon-size-default);
7141
+ color: var(--color-text-default-default);
7142
+ }
7143
+
7144
+ .muka-radio-tile__icon svg {
7145
+ width: 100%;
7146
7146
  height: 100%;
7147
7147
  }
7148
7148
 
@@ -7217,6 +7217,150 @@ body {
7217
7217
  }
7218
7218
 
7219
7219
 
7220
+ /* Radio */
7221
+ /* Radio Component Styles - Using Muka Design Tokens */
7222
+
7223
+ /* Wrapper - clickable label container */
7224
+ .muka-radio {
7225
+ display: inline-flex;
7226
+ align-items: center;
7227
+ gap: var(--spacing-4);
7228
+ cursor: pointer;
7229
+ user-select: none;
7230
+ }
7231
+
7232
+ .muka-radio--disabled {
7233
+ cursor: not-allowed;
7234
+ opacity: 0.6;
7235
+ }
7236
+
7237
+ /* Control container */
7238
+ .muka-radio__control {
7239
+ position: relative;
7240
+ display: inline-flex;
7241
+ align-items: center;
7242
+ justify-content: center;
7243
+ flex-shrink: 0;
7244
+ }
7245
+
7246
+ /* Hidden native input */
7247
+ .muka-radio__input {
7248
+ position: absolute;
7249
+ width: 1px;
7250
+ height: 1px;
7251
+ padding: 0;
7252
+ margin: -1px;
7253
+ overflow: hidden;
7254
+ clip: rect(0, 0, 0, 0);
7255
+ white-space: nowrap;
7256
+ border: 0;
7257
+ }
7258
+
7259
+ /* Visual indicator (circle) */
7260
+ .muka-radio__indicator {
7261
+ display: flex;
7262
+ align-items: center;
7263
+ justify-content: center;
7264
+ width: var(--radio-size-default);
7265
+ height: var(--radio-size-default);
7266
+ border-radius: var(--border-radius-full);
7267
+ background-color: var(--radio-color-default-background);
7268
+ border: var(--border-width-regular) solid var(--radio-color-default-border);
7269
+ transition: all 0.15s ease;
7270
+ box-shadow: inset 0 1px 2px 0 rgba(26, 26, 26, 0.15);
7271
+ }
7272
+
7273
+ /* Size variants */
7274
+ .muka-radio--sm .muka-radio__indicator {
7275
+ width: var(--radio-size-sm);
7276
+ height: var(--radio-size-sm);
7277
+ }
7278
+
7279
+ .muka-radio--lg .muka-radio__indicator {
7280
+ width: var(--radio-size-lg);
7281
+ height: var(--radio-size-lg);
7282
+ }
7283
+
7284
+ /* Inner dot (shown when checked) */
7285
+ .muka-radio__dot {
7286
+ width: var(--radio-dot-size-default);
7287
+ height: var(--radio-dot-size-default);
7288
+ border-radius: var(--border-radius-full);
7289
+ background-color: var(--radio-color-default-dot);
7290
+ transform: scale(0);
7291
+ transition: transform 0.15s ease;
7292
+ }
7293
+
7294
+ .muka-radio--sm .muka-radio__dot {
7295
+ width: var(--radio-dot-size-sm);
7296
+ height: var(--radio-dot-size-sm);
7297
+ }
7298
+
7299
+ .muka-radio--lg .muka-radio__dot {
7300
+ width: var(--radio-dot-size-lg);
7301
+ height: var(--radio-dot-size-lg);
7302
+ }
7303
+
7304
+ /* Hover state - removed per design */
7305
+
7306
+ /* Focus state */
7307
+ .muka-radio__input:focus-visible + .muka-radio__indicator {
7308
+ outline: 2px solid var(--color-border-focus);
7309
+ outline-offset: 2px;
7310
+ }
7311
+
7312
+ /* Checked state */
7313
+ .muka-radio__input:checked + .muka-radio__indicator {
7314
+ background-color: var(--radio-color-checked-background);
7315
+ border-width: var(--border-width-bold);
7316
+ border-color: var(--radio-color-checked-border);
7317
+ box-shadow: none;
7318
+ }
7319
+
7320
+ .muka-radio__input:checked + .muka-radio__indicator .muka-radio__dot {
7321
+ background-color: var(--radio-color-checked-dot);
7322
+ transform: scale(1);
7323
+ }
7324
+
7325
+ /* Disabled state */
7326
+ .muka-radio--disabled .muka-radio__indicator {
7327
+ background-color: var(--radio-color-disabled-background);
7328
+ border-color: var(--radio-color-disabled-border);
7329
+ box-shadow: none;
7330
+ }
7331
+
7332
+ .muka-radio__input:disabled:checked + .muka-radio__indicator .muka-radio__dot {
7333
+ background-color: var(--radio-color-disabled-dot);
7334
+ }
7335
+
7336
+ /* Label text */
7337
+ .muka-radio__label {
7338
+ font-family: var(--text-label-lg-regular-fontFamily);
7339
+ font-weight: var(--text-label-lg-regular-fontWeight);
7340
+ font-size: var(--text-label-lg-regular-fontSize);
7341
+ line-height: var(--text-label-lg-regular-lineHeight);
7342
+ color: var(--color-text-default-default);
7343
+ }
7344
+
7345
+ .muka-radio--sm .muka-radio__label {
7346
+ font-family: var(--text-label-md-regular-fontFamily);
7347
+ font-weight: var(--text-label-md-regular-fontWeight);
7348
+ font-size: var(--text-label-md-regular-fontSize);
7349
+ line-height: var(--text-label-md-regular-lineHeight);
7350
+ }
7351
+
7352
+ .muka-radio--lg .muka-radio__label {
7353
+ font-family: var(--text-label-xl-regular-fontFamily);
7354
+ font-weight: var(--text-label-xl-regular-fontWeight);
7355
+ font-size: var(--text-label-xl-regular-fontSize);
7356
+ line-height: var(--text-label-xl-regular-lineHeight);
7357
+ }
7358
+
7359
+ .muka-radio--disabled .muka-radio__label {
7360
+ color: var(--color-text-subtle-default);
7361
+ }
7362
+
7363
+
7220
7364
  /* PullToRefresh */
7221
7365
  /* PullToRefresh Component Styles */
7222
7366
 
@@ -7817,158 +7961,14 @@ button.muka-progress-tracker__tab:focus-visible {
7817
7961
 
7818
7962
  .muka-progress-tracker__tab--selected .muka-progress-tracker__label {
7819
7963
  font-family: var(--text-body-base-bold-fontFamily);
7820
- font-weight: var(--text-body-base-bold-fontWeight);
7821
- }
7822
-
7823
- .muka-progress-tracker--tabs .muka-progress-tracker__indicator--upcoming .muka-progress-tracker__number {
7824
- font-family: var(--text-label-md-semibold-fontFamily);
7825
- font-weight: var(--text-label-md-semibold-fontWeight);
7826
- font-size: var(--text-label-md-semibold-fontSize);
7827
- line-height: var(--text-label-md-semibold-lineHeight);
7828
- }
7829
-
7830
-
7831
- /* Radio */
7832
- /* Radio Component Styles - Using Muka Design Tokens */
7833
-
7834
- /* Wrapper - clickable label container */
7835
- .muka-radio {
7836
- display: inline-flex;
7837
- align-items: center;
7838
- gap: var(--spacing-4);
7839
- cursor: pointer;
7840
- user-select: none;
7841
- }
7842
-
7843
- .muka-radio--disabled {
7844
- cursor: not-allowed;
7845
- opacity: 0.6;
7846
- }
7847
-
7848
- /* Control container */
7849
- .muka-radio__control {
7850
- position: relative;
7851
- display: inline-flex;
7852
- align-items: center;
7853
- justify-content: center;
7854
- flex-shrink: 0;
7855
- }
7856
-
7857
- /* Hidden native input */
7858
- .muka-radio__input {
7859
- position: absolute;
7860
- width: 1px;
7861
- height: 1px;
7862
- padding: 0;
7863
- margin: -1px;
7864
- overflow: hidden;
7865
- clip: rect(0, 0, 0, 0);
7866
- white-space: nowrap;
7867
- border: 0;
7868
- }
7869
-
7870
- /* Visual indicator (circle) */
7871
- .muka-radio__indicator {
7872
- display: flex;
7873
- align-items: center;
7874
- justify-content: center;
7875
- width: var(--radio-size-default);
7876
- height: var(--radio-size-default);
7877
- border-radius: var(--border-radius-full);
7878
- background-color: var(--radio-color-default-background);
7879
- border: var(--border-width-regular) solid var(--radio-color-default-border);
7880
- transition: all 0.15s ease;
7881
- box-shadow: inset 0 1px 2px 0 rgba(26, 26, 26, 0.15);
7882
- }
7883
-
7884
- /* Size variants */
7885
- .muka-radio--sm .muka-radio__indicator {
7886
- width: var(--radio-size-sm);
7887
- height: var(--radio-size-sm);
7888
- }
7889
-
7890
- .muka-radio--lg .muka-radio__indicator {
7891
- width: var(--radio-size-lg);
7892
- height: var(--radio-size-lg);
7893
- }
7894
-
7895
- /* Inner dot (shown when checked) */
7896
- .muka-radio__dot {
7897
- width: var(--radio-dot-size-default);
7898
- height: var(--radio-dot-size-default);
7899
- border-radius: var(--border-radius-full);
7900
- background-color: var(--radio-color-default-dot);
7901
- transform: scale(0);
7902
- transition: transform 0.15s ease;
7903
- }
7904
-
7905
- .muka-radio--sm .muka-radio__dot {
7906
- width: var(--radio-dot-size-sm);
7907
- height: var(--radio-dot-size-sm);
7908
- }
7909
-
7910
- .muka-radio--lg .muka-radio__dot {
7911
- width: var(--radio-dot-size-lg);
7912
- height: var(--radio-dot-size-lg);
7913
- }
7914
-
7915
- /* Hover state - removed per design */
7916
-
7917
- /* Focus state */
7918
- .muka-radio__input:focus-visible + .muka-radio__indicator {
7919
- outline: 2px solid var(--color-border-focus);
7920
- outline-offset: 2px;
7921
- }
7922
-
7923
- /* Checked state */
7924
- .muka-radio__input:checked + .muka-radio__indicator {
7925
- background-color: var(--radio-color-checked-background);
7926
- border-width: var(--border-width-bold);
7927
- border-color: var(--radio-color-checked-border);
7928
- box-shadow: none;
7929
- }
7930
-
7931
- .muka-radio__input:checked + .muka-radio__indicator .muka-radio__dot {
7932
- background-color: var(--radio-color-checked-dot);
7933
- transform: scale(1);
7934
- }
7935
-
7936
- /* Disabled state */
7937
- .muka-radio--disabled .muka-radio__indicator {
7938
- background-color: var(--radio-color-disabled-background);
7939
- border-color: var(--radio-color-disabled-border);
7940
- box-shadow: none;
7941
- }
7942
-
7943
- .muka-radio__input:disabled:checked + .muka-radio__indicator .muka-radio__dot {
7944
- background-color: var(--radio-color-disabled-dot);
7945
- }
7946
-
7947
- /* Label text */
7948
- .muka-radio__label {
7949
- font-family: var(--text-label-lg-regular-fontFamily);
7950
- font-weight: var(--text-label-lg-regular-fontWeight);
7951
- font-size: var(--text-label-lg-regular-fontSize);
7952
- line-height: var(--text-label-lg-regular-lineHeight);
7953
- color: var(--color-text-default-default);
7954
- }
7955
-
7956
- .muka-radio--sm .muka-radio__label {
7957
- font-family: var(--text-label-md-regular-fontFamily);
7958
- font-weight: var(--text-label-md-regular-fontWeight);
7959
- font-size: var(--text-label-md-regular-fontSize);
7960
- line-height: var(--text-label-md-regular-lineHeight);
7961
- }
7962
-
7963
- .muka-radio--lg .muka-radio__label {
7964
- font-family: var(--text-label-xl-regular-fontFamily);
7965
- font-weight: var(--text-label-xl-regular-fontWeight);
7966
- font-size: var(--text-label-xl-regular-fontSize);
7967
- line-height: var(--text-label-xl-regular-lineHeight);
7964
+ font-weight: var(--text-body-base-bold-fontWeight);
7968
7965
  }
7969
7966
 
7970
- .muka-radio--disabled .muka-radio__label {
7971
- color: var(--color-text-subtle-default);
7967
+ .muka-progress-tracker--tabs .muka-progress-tracker__indicator--upcoming .muka-progress-tracker__number {
7968
+ font-family: var(--text-label-md-semibold-fontFamily);
7969
+ font-weight: var(--text-label-md-semibold-fontWeight);
7970
+ font-size: var(--text-label-md-semibold-fontSize);
7971
+ line-height: var(--text-label-md-semibold-lineHeight);
7972
7972
  }
7973
7973
 
7974
7974
 
@@ -8402,120 +8402,6 @@ button.muka-progress-tracker__tab:focus-visible {
8402
8402
  }
8403
8403
 
8404
8404
 
8405
- /* ProfileBadge */
8406
- /* ProfileBadge Component Styles - Using Muka Design Tokens */
8407
-
8408
- .muka-profile-badge {
8409
- display: inline-flex;
8410
- max-width: 100%;
8411
- min-width: 0;
8412
- align-items: center;
8413
- font-family: var(--text-body-base-regular-fontFamily);
8414
- }
8415
-
8416
- /* Size variants */
8417
- .muka-profile-badge--lg {
8418
- gap: var(--spacing-4); /* 16px */
8419
- }
8420
-
8421
- .muka-profile-badge--md {
8422
- gap: var(--spacing-3); /* 12px */
8423
- }
8424
-
8425
- .muka-profile-badge--sm {
8426
- gap: var(--spacing-2); /* 8px */
8427
- }
8428
-
8429
- .muka-profile-badge__avatar {
8430
- flex-shrink: 0;
8431
- }
8432
-
8433
- /* Text stack */
8434
- .muka-profile-badge__text {
8435
- display: flex;
8436
- flex-direction: column;
8437
- align-items: flex-start;
8438
- min-width: 0;
8439
- }
8440
-
8441
- .muka-profile-badge__name {
8442
- max-width: 100%;
8443
- overflow: hidden;
8444
- text-overflow: ellipsis;
8445
- white-space: nowrap;
8446
- font-family: var(--text-body-base-regular-fontFamily);
8447
- font-size: var(--text-body-base-regular-fontSize);
8448
- font-weight: var(--text-body-base-regular-fontWeight);
8449
- line-height: var(--text-body-base-regular-lineHeight);
8450
- color: var(--color-text-default-default);
8451
- }
8452
-
8453
- .muka-profile-badge__email {
8454
- font-family: var(--text-body-xs-regular-fontFamily);
8455
- font-size: var(--text-body-xs-regular-fontSize);
8456
- font-weight: var(--text-body-xs-regular-fontWeight);
8457
- line-height: var(--text-body-xs-regular-lineHeight);
8458
- color: var(--color-text-subtle-default);
8459
- }
8460
-
8461
- /* Clickable state */
8462
- .muka-profile-badge--clickable {
8463
- cursor: pointer;
8464
- border: none;
8465
- background: none;
8466
- padding: 0;
8467
- text-align: left;
8468
- border-radius: var(--radius-md);
8469
- transition: opacity 0.2s ease;
8470
- }
8471
-
8472
- .muka-profile-badge--clickable:hover {
8473
- opacity: 0.9;
8474
- }
8475
-
8476
- .muka-profile-badge--clickable:active {
8477
- opacity: 0.8;
8478
- }
8479
-
8480
- .muka-profile-badge--clickable:focus-visible {
8481
- outline: 2px solid var(--color-border-focus);
8482
- outline-offset: 2px;
8483
- }
8484
-
8485
- /* Trailing chevron: the badge opens a menu */
8486
- .muka-profile-badge__chevron {
8487
- flex-shrink: 0;
8488
- }
8489
-
8490
- /*
8491
- * A clickable badge with a chevron is a pill (Figma Profile Badge, Bouwplan
8492
- * header): 4px inset on the avatar side, 12px after the chevron. The border
8493
- * is an inset shadow so it appears on hover and while the menu is open
8494
- * without moving the content.
8495
- */
8496
- .muka-profile-badge--clickable.muka-profile-badge--with-chevron {
8497
- padding: var(--spacing-1) var(--spacing-3) var(--spacing-1) var(--spacing-1);
8498
- border-radius: var(--radius-full);
8499
- transition: box-shadow 0.2s ease;
8500
- }
8501
-
8502
- .muka-profile-badge--clickable.muka-profile-badge--with-chevron:hover,
8503
- .muka-profile-badge--clickable.muka-profile-badge--with-chevron:active {
8504
- opacity: 1;
8505
- }
8506
-
8507
- .muka-profile-badge--clickable.muka-profile-badge--with-chevron:hover,
8508
- .muka-profile-badge--clickable.muka-profile-badge--with-chevron[aria-expanded='true'],
8509
- .muka-profile-badge--clickable.muka-profile-badge--with-chevron[data-state='open'] {
8510
- box-shadow: inset 0 0 0 var(--border-width-regular) var(--button-color-ghost-border-hover);
8511
- }
8512
-
8513
- /* A badge without an avatar keeps the 12px start inset */
8514
- .muka-profile-badge--clickable.muka-profile-badge--with-chevron:not(:has(.muka-profile-badge__avatar)) {
8515
- padding-left: var(--spacing-3);
8516
- }
8517
-
8518
-
8519
8405
  /* PriceTag */
8520
8406
  /* PriceTag Component Styles - Using Muka Design Tokens */
8521
8407
 
@@ -9207,71 +9093,185 @@ button.muka-progress-tracker__tab:focus-visible {
9207
9093
  background-color: var(--color-surface-level1);
9208
9094
  }
9209
9095
 
9210
- .muka-photo-uploader__dropzone-text {
9211
- font-family: var(--text-subheading-sm-fontFamily);
9212
- font-size: var(--text-subheading-sm-fontSize);
9213
- font-weight: var(--text-subheading-sm-fontWeight);
9214
- line-height: var(--text-subheading-sm-lineHeight);
9215
- color: var(--color-text-default-default);
9096
+ .muka-photo-uploader__dropzone-text {
9097
+ font-family: var(--text-subheading-sm-fontFamily);
9098
+ font-size: var(--text-subheading-sm-fontSize);
9099
+ font-weight: var(--text-subheading-sm-fontWeight);
9100
+ line-height: var(--text-subheading-sm-lineHeight);
9101
+ color: var(--color-text-default-default);
9102
+ }
9103
+
9104
+ /*
9105
+ * Touch devices (phones, tablets without a mouse) have nothing to drag a file
9106
+ * from: the card and its "or drop here" hint go, and only the button stays.
9107
+ * Keyed on input capability, not width, so a narrow desktop window keeps
9108
+ * its drop zone.
9109
+ */
9110
+ @media (hover: none) and (pointer: coarse) {
9111
+ .muka-photo-uploader__dropzone {
9112
+ align-items: flex-start;
9113
+ padding: 0;
9114
+ background-color: transparent;
9115
+ border: none;
9116
+ border-radius: 0;
9117
+ cursor: default;
9118
+ }
9119
+
9120
+ .muka-photo-uploader__dropzone-text {
9121
+ display: none;
9122
+ }
9123
+ }
9124
+
9125
+ /* ─── Disabled ────────────────────────────────────────── */
9126
+ .muka-photo-uploader--disabled .muka-photo-uploader__dropzone {
9127
+ cursor: not-allowed;
9128
+ opacity: 0.6;
9129
+ }
9130
+
9131
+ .muka-photo-uploader--disabled .muka-photo-uploader__dropzone:hover {
9132
+ border-color: var(--card-color-default-border);
9133
+ background-color: var(--card-color-default-background);
9134
+ }
9135
+
9136
+ /* ─── Enlarged photo dialog ───────────────────────────── */
9137
+ .muka-photo-uploader__preview {
9138
+ display: flex;
9139
+ align-items: center;
9140
+ justify-content: center;
9141
+ width: 100%;
9142
+ height: 100%;
9143
+ }
9144
+
9145
+ /* Fits the dialog while preserving the photo's original aspect ratio. */
9146
+ .muka-photo-uploader__preview-image {
9147
+ display: block;
9148
+ max-width: 100%;
9149
+ max-height: 100%;
9150
+ width: auto;
9151
+ height: auto;
9152
+ object-fit: contain;
9153
+ border-radius: var(--border-radius-lg);
9154
+ }
9155
+
9156
+ /* ─── Reduced motion ──────────────────────────────────── */
9157
+ @media (prefers-reduced-motion: reduce) {
9158
+ .muka-photo-uploader__dropzone {
9159
+ transition: none;
9160
+ }
9161
+ }
9162
+
9163
+
9164
+ /* ProfileBadge */
9165
+ /* ProfileBadge Component Styles - Using Muka Design Tokens */
9166
+
9167
+ .muka-profile-badge {
9168
+ display: inline-flex;
9169
+ max-width: 100%;
9170
+ min-width: 0;
9171
+ align-items: center;
9172
+ font-family: var(--text-body-base-regular-fontFamily);
9173
+ }
9174
+
9175
+ /* Size variants */
9176
+ .muka-profile-badge--lg {
9177
+ gap: var(--spacing-4); /* 16px */
9178
+ }
9179
+
9180
+ .muka-profile-badge--md {
9181
+ gap: var(--spacing-3); /* 12px */
9182
+ }
9183
+
9184
+ .muka-profile-badge--sm {
9185
+ gap: var(--spacing-2); /* 8px */
9186
+ }
9187
+
9188
+ .muka-profile-badge__avatar {
9189
+ flex-shrink: 0;
9190
+ }
9191
+
9192
+ /* Text stack */
9193
+ .muka-profile-badge__text {
9194
+ display: flex;
9195
+ flex-direction: column;
9196
+ align-items: flex-start;
9197
+ min-width: 0;
9198
+ }
9199
+
9200
+ .muka-profile-badge__name {
9201
+ max-width: 100%;
9202
+ overflow: hidden;
9203
+ text-overflow: ellipsis;
9204
+ white-space: nowrap;
9205
+ font-family: var(--text-body-base-regular-fontFamily);
9206
+ font-size: var(--text-body-base-regular-fontSize);
9207
+ font-weight: var(--text-body-base-regular-fontWeight);
9208
+ line-height: var(--text-body-base-regular-lineHeight);
9209
+ color: var(--color-text-default-default);
9210
+ }
9211
+
9212
+ .muka-profile-badge__email {
9213
+ font-family: var(--text-body-xs-regular-fontFamily);
9214
+ font-size: var(--text-body-xs-regular-fontSize);
9215
+ font-weight: var(--text-body-xs-regular-fontWeight);
9216
+ line-height: var(--text-body-xs-regular-lineHeight);
9217
+ color: var(--color-text-subtle-default);
9218
+ }
9219
+
9220
+ /* Clickable state */
9221
+ .muka-profile-badge--clickable {
9222
+ cursor: pointer;
9223
+ border: none;
9224
+ background: none;
9225
+ padding: 0;
9226
+ text-align: left;
9227
+ border-radius: var(--radius-md);
9228
+ transition: opacity 0.2s ease;
9229
+ }
9230
+
9231
+ .muka-profile-badge--clickable:hover {
9232
+ opacity: 0.9;
9216
9233
  }
9217
9234
 
9218
- /*
9219
- * Touch devices (phones, tablets without a mouse) have nothing to drag a file
9220
- * from: the card and its "or drop here" hint go, and only the button stays.
9221
- * Keyed on input capability, not width, so a narrow desktop window keeps
9222
- * its drop zone.
9223
- */
9224
- @media (hover: none) and (pointer: coarse) {
9225
- .muka-photo-uploader__dropzone {
9226
- align-items: flex-start;
9227
- padding: 0;
9228
- background-color: transparent;
9229
- border: none;
9230
- border-radius: 0;
9231
- cursor: default;
9232
- }
9235
+ .muka-profile-badge--clickable:active {
9236
+ opacity: 0.8;
9237
+ }
9233
9238
 
9234
- .muka-photo-uploader__dropzone-text {
9235
- display: none;
9236
- }
9239
+ .muka-profile-badge--clickable:focus-visible {
9240
+ outline: 2px solid var(--color-border-focus);
9241
+ outline-offset: 2px;
9237
9242
  }
9238
9243
 
9239
- /* ─── Disabled ────────────────────────────────────────── */
9240
- .muka-photo-uploader--disabled .muka-photo-uploader__dropzone {
9241
- cursor: not-allowed;
9242
- opacity: 0.6;
9244
+ /* Trailing chevron: the badge opens a menu */
9245
+ .muka-profile-badge__chevron {
9246
+ flex-shrink: 0;
9243
9247
  }
9244
9248
 
9245
- .muka-photo-uploader--disabled .muka-photo-uploader__dropzone:hover {
9246
- border-color: var(--card-color-default-border);
9247
- background-color: var(--card-color-default-background);
9249
+ /*
9250
+ * A clickable badge with a chevron is a pill (Figma Profile Badge, Bouwplan
9251
+ * header): 4px inset on the avatar side, 12px after the chevron. The border
9252
+ * is an inset shadow so it appears on hover and while the menu is open
9253
+ * without moving the content.
9254
+ */
9255
+ .muka-profile-badge--clickable.muka-profile-badge--with-chevron {
9256
+ padding: var(--spacing-1) var(--spacing-3) var(--spacing-1) var(--spacing-1);
9257
+ border-radius: var(--radius-full);
9258
+ transition: box-shadow 0.2s ease;
9248
9259
  }
9249
9260
 
9250
- /* ─── Enlarged photo dialog ───────────────────────────── */
9251
- .muka-photo-uploader__preview {
9252
- display: flex;
9253
- align-items: center;
9254
- justify-content: center;
9255
- width: 100%;
9256
- height: 100%;
9261
+ .muka-profile-badge--clickable.muka-profile-badge--with-chevron:hover,
9262
+ .muka-profile-badge--clickable.muka-profile-badge--with-chevron:active {
9263
+ opacity: 1;
9257
9264
  }
9258
9265
 
9259
- /* Fits the dialog while preserving the photo's original aspect ratio. */
9260
- .muka-photo-uploader__preview-image {
9261
- display: block;
9262
- max-width: 100%;
9263
- max-height: 100%;
9264
- width: auto;
9265
- height: auto;
9266
- object-fit: contain;
9267
- border-radius: var(--border-radius-lg);
9266
+ .muka-profile-badge--clickable.muka-profile-badge--with-chevron:hover,
9267
+ .muka-profile-badge--clickable.muka-profile-badge--with-chevron[aria-expanded='true'],
9268
+ .muka-profile-badge--clickable.muka-profile-badge--with-chevron[data-state='open'] {
9269
+ box-shadow: inset 0 0 0 var(--border-width-regular) var(--button-color-ghost-border-hover);
9268
9270
  }
9269
9271
 
9270
- /* ─── Reduced motion ──────────────────────────────────── */
9271
- @media (prefers-reduced-motion: reduce) {
9272
- .muka-photo-uploader__dropzone {
9273
- transition: none;
9274
- }
9272
+ /* A badge without an avatar keeps the 12px start inset */
9273
+ .muka-profile-badge--clickable.muka-profile-badge--with-chevron:not(:has(.muka-profile-badge__avatar)) {
9274
+ padding-left: var(--spacing-3);
9275
9275
  }
9276
9276
 
9277
9277
 
@@ -10753,65 +10753,243 @@ li.muka-listitem {
10753
10753
  cursor: not-allowed;
10754
10754
  }
10755
10755
 
10756
- /* Helper text */
10757
- .muka-license-plate-input__helper {
10758
- font-family: var(--text-label-sm-regular-fontFamily);
10759
- font-weight: var(--text-label-sm-regular-fontWeight);
10760
- font-size: var(--text-label-sm-regular-fontSize);
10761
- line-height: var(--text-label-sm-regular-lineHeight);
10762
- color: var(--color-text-subtle-default);
10763
- margin: 0;
10756
+ /* Helper text */
10757
+ .muka-license-plate-input__helper {
10758
+ font-family: var(--text-label-sm-regular-fontFamily);
10759
+ font-weight: var(--text-label-sm-regular-fontWeight);
10760
+ font-size: var(--text-label-sm-regular-fontSize);
10761
+ line-height: var(--text-label-sm-regular-lineHeight);
10762
+ color: var(--color-text-subtle-default);
10763
+ margin: 0;
10764
+ }
10765
+
10766
+ /* Error message */
10767
+ .muka-license-plate-input__error {
10768
+ font-family: var(--text-label-sm-regular-fontFamily);
10769
+ font-weight: var(--text-label-sm-regular-fontWeight);
10770
+ font-size: var(--text-label-sm-regular-fontSize);
10771
+ line-height: var(--text-label-sm-regular-lineHeight);
10772
+ color: var(--color-state-error-default);
10773
+ margin: 0;
10774
+ }
10775
+
10776
+
10777
+ /* Label */
10778
+ /* Label Component Styles - Using Muka Design Tokens */
10779
+
10780
+ .muka-label {
10781
+ display: inline-flex;
10782
+ align-items: center;
10783
+ color: var(--color-text-default-default);
10784
+ cursor: pointer;
10785
+ }
10786
+
10787
+ .muka-label--sm {
10788
+ font-family: var(--text-label-sm-semibold-fontFamily);
10789
+ font-weight: var(--text-label-sm-semibold-fontWeight);
10790
+ font-size: var(--text-label-sm-semibold-fontSize);
10791
+ line-height: var(--text-label-sm-semibold-lineHeight);
10792
+ }
10793
+
10794
+ .muka-label--md {
10795
+ font-family: var(--text-label-md-semibold-fontFamily);
10796
+ font-weight: var(--text-label-md-semibold-fontWeight);
10797
+ font-size: var(--text-label-md-semibold-fontSize);
10798
+ line-height: var(--text-label-md-semibold-lineHeight);
10799
+ }
10800
+
10801
+ .muka-label--lg {
10802
+ font-family: var(--text-label-lg-semibold-fontFamily);
10803
+ font-weight: var(--text-label-lg-semibold-fontWeight);
10804
+ font-size: var(--text-label-lg-semibold-fontSize);
10805
+ line-height: var(--text-label-lg-semibold-lineHeight);
10806
+ }
10807
+
10808
+ .muka-label--disabled {
10809
+ color: var(--color-text-subtle-default);
10810
+ cursor: not-allowed;
10811
+ }
10812
+
10813
+ .muka-label__required {
10814
+ color: var(--color-state-error-default);
10815
+ }
10816
+
10817
+
10818
+ /* InputCounter */
10819
+ /* InputCounter — numeric field + joined decrement/increment buttons.
10820
+ Label, helper and error text reuse Input.css (../Input/Input.css).
10821
+ Field and button group share one radius per size:
10822
+ sm/md → input.field.radius.md, lg → input.field.radius.lg. */
10823
+
10824
+ .muka-inputcounter {
10825
+ --muka-inputcounter-radius: var(--input-field-radius-md);
10826
+ --muka-inputcounter-height: var(--input-field-height-default);
10827
+ --muka-inputcounter-pad: calc(var(--spacing-2) + var(--spacing-1));
10828
+ --muka-inputcounter-min: var(--size-3xl);
10829
+
10830
+ display: inline-flex;
10831
+ flex-direction: column;
10832
+ gap: var(--spacing-2);
10833
+ }
10834
+
10835
+ .muka-inputcounter--sm {
10836
+ --muka-inputcounter-height: var(--input-field-height-sm);
10837
+ --muka-inputcounter-pad: calc(var(--spacing-1) + var(--spacing-1));
10838
+ --muka-inputcounter-min: var(--size-2xl);
10839
+ }
10840
+
10841
+ .muka-inputcounter--lg {
10842
+ --muka-inputcounter-radius: var(--input-field-radius-lg);
10843
+ --muka-inputcounter-height: var(--input-field-height-lg);
10844
+ }
10845
+
10846
+ /* Label row — label, info tooltip trigger, optional hint */
10847
+ .muka-inputcounter__label-row {
10848
+ display: flex;
10849
+ align-items: center;
10850
+ gap: var(--spacing-2);
10851
+ min-height: var(--size-xl);
10852
+ }
10853
+
10854
+ .muka-inputcounter__info {
10855
+ display: inline-flex;
10856
+ align-items: center;
10857
+ justify-content: center;
10858
+ padding: 0;
10859
+ border: none;
10860
+ border-radius: 50%;
10861
+ background: transparent;
10862
+ cursor: pointer;
10863
+ }
10864
+
10865
+ .muka-inputcounter__info .muka-icon {
10866
+ color: var(--color-action-default);
10867
+ }
10868
+
10869
+ .muka-inputcounter__info:focus-visible {
10870
+ outline: 2px solid var(--color-border-focus);
10871
+ outline-offset: 2px;
10872
+ }
10873
+
10874
+ .muka-inputcounter__optional {
10875
+ font-family: var(--text-label-sm-regular-fontFamily);
10876
+ font-weight: var(--text-label-sm-regular-fontWeight);
10877
+ font-size: var(--text-label-sm-regular-fontSize);
10878
+ line-height: var(--text-label-sm-regular-lineHeight);
10879
+ color: var(--color-text-subtle-default);
10880
+ }
10881
+
10882
+ /* Field + button group */
10883
+ .muka-inputcounter__row {
10884
+ display: flex;
10885
+ align-items: center;
10886
+ gap: var(--spacing-3);
10887
+ }
10888
+
10889
+ /* Field — grows with the value (in ch), never narrower than the Figma width.
10890
+ Padding sits on the native input so the 2px focus/error border doesn't
10891
+ need compensating: content is centred in a fixed box. */
10892
+ .muka-inputcounter__field {
10893
+ position: relative;
10894
+ display: flex;
10895
+ align-items: center;
10896
+ box-sizing: border-box;
10897
+ height: var(--muka-inputcounter-height);
10898
+ width: calc(
10899
+ max(var(--muka-inputcounter-min), calc(var(--muka-inputcounter-chars, 1) * 1ch)) +
10900
+ 2 * var(--muka-inputcounter-pad) + 2 * var(--border-width-regular)
10901
+ );
10902
+ background-color: var(--input-field-color-default-background);
10903
+ border: var(--border-width-regular) solid var(--input-field-color-default-border);
10904
+ border-radius: var(--muka-inputcounter-radius);
10905
+ transition: border-color 0.2s ease, background-color 0.2s ease;
10906
+ }
10907
+
10908
+ .muka-inputcounter__field::after {
10909
+ content: '';
10910
+ position: absolute;
10911
+ inset: 0;
10912
+ border-radius: inherit;
10913
+ box-shadow: var(--shadow-sunken);
10914
+ pointer-events: none;
10915
+ }
10916
+
10917
+ .muka-inputcounter__field--focused:not(.muka-inputcounter__field--disabled) {
10918
+ border-width: var(--border-width-bold);
10919
+ border-color: var(--input-field-color-focus-border);
10920
+ background-color: var(--input-field-color-focus-background);
10921
+ }
10922
+
10923
+ .muka-inputcounter__field--error:not(.muka-inputcounter__field--disabled) {
10924
+ border-width: var(--border-width-bold);
10925
+ border-color: var(--input-field-color-error-border);
10926
+ background-color: var(--input-field-color-error-background);
10927
+ }
10928
+
10929
+ .muka-inputcounter__field--disabled {
10930
+ background-color: var(--input-field-color-disabled-background);
10931
+ border-color: var(--input-field-color-disabled-border);
10764
10932
  }
10765
10933
 
10766
- /* Error message */
10767
- .muka-license-plate-input__error {
10768
- font-family: var(--text-label-sm-regular-fontFamily);
10769
- font-weight: var(--text-label-sm-regular-fontWeight);
10770
- font-size: var(--text-label-sm-regular-fontSize);
10771
- line-height: var(--text-label-sm-regular-lineHeight);
10772
- color: var(--color-state-error-default);
10773
- margin: 0;
10934
+ .muka-inputcounter__field--disabled::after {
10935
+ display: none;
10774
10936
  }
10775
10937
 
10938
+ .muka-inputcounter__native {
10939
+ width: 100%;
10940
+ min-width: 0;
10941
+ height: 100%;
10942
+ box-sizing: border-box;
10943
+ padding: 0 calc(var(--muka-inputcounter-pad) - var(--border-width-regular));
10944
+ border: none;
10945
+ outline: none;
10946
+ background: transparent;
10947
+ text-align: center;
10948
+ font-variant-numeric: tabular-nums;
10949
+ color: var(--input-field-color-default-foreground);
10950
+ font-family: var(--text-input-md-fontFamily);
10951
+ font-weight: var(--text-input-md-fontWeight);
10952
+ font-size: var(--text-input-md-fontSize);
10953
+ line-height: var(--text-input-md-lineHeight);
10954
+ }
10776
10955
 
10777
- /* Label */
10778
- /* Label Component Styles - Using Muka Design Tokens */
10956
+ .muka-inputcounter--sm .muka-inputcounter__native {
10957
+ font-family: var(--text-input-sm-fontFamily);
10958
+ font-weight: var(--text-input-sm-fontWeight);
10959
+ font-size: var(--text-input-sm-fontSize);
10960
+ line-height: var(--text-input-sm-lineHeight);
10961
+ }
10779
10962
 
10780
- .muka-label {
10781
- display: inline-flex;
10782
- align-items: center;
10783
- color: var(--color-text-default-default);
10784
- cursor: pointer;
10963
+ .muka-inputcounter__field--disabled .muka-inputcounter__native {
10964
+ color: var(--input-field-color-disabled-foreground);
10965
+ cursor: not-allowed;
10785
10966
  }
10786
10967
 
10787
- .muka-label--sm {
10788
- font-family: var(--text-label-sm-semibold-fontFamily);
10789
- font-weight: var(--text-label-sm-semibold-fontWeight);
10790
- font-size: var(--text-label-sm-semibold-fontSize);
10791
- line-height: var(--text-label-sm-semibold-lineHeight);
10968
+ /* Button group — secondary icon-only Buttons joined by a divider.
10969
+ Only the outer corners are rounded. */
10970
+ .muka-inputcounter__group {
10971
+ display: inline-flex;
10972
+ align-items: stretch;
10792
10973
  }
10793
10974
 
10794
- .muka-label--md {
10795
- font-family: var(--text-label-md-semibold-fontFamily);
10796
- font-weight: var(--text-label-md-semibold-fontWeight);
10797
- font-size: var(--text-label-md-semibold-fontSize);
10798
- line-height: var(--text-label-md-semibold-lineHeight);
10975
+ .muka-inputcounter__group .muka-button {
10976
+ border-radius: 0;
10799
10977
  }
10800
10978
 
10801
- .muka-label--lg {
10802
- font-family: var(--text-label-lg-semibold-fontFamily);
10803
- font-weight: var(--text-label-lg-semibold-fontWeight);
10804
- font-size: var(--text-label-lg-semibold-fontSize);
10805
- line-height: var(--text-label-lg-semibold-lineHeight);
10979
+ .muka-inputcounter__group .muka-button:first-child {
10980
+ border-start-start-radius: var(--muka-inputcounter-radius);
10981
+ border-end-start-radius: var(--muka-inputcounter-radius);
10806
10982
  }
10807
10983
 
10808
- .muka-label--disabled {
10809
- color: var(--color-text-subtle-default);
10810
- cursor: not-allowed;
10984
+ .muka-inputcounter__group .muka-button:last-child {
10985
+ border-start-end-radius: var(--muka-inputcounter-radius);
10986
+ border-end-end-radius: var(--muka-inputcounter-radius);
10811
10987
  }
10812
10988
 
10813
- .muka-label__required {
10814
- color: var(--color-state-error-default);
10989
+ .muka-inputcounter__divider {
10990
+ flex: none;
10991
+ width: var(--border-width-regular);
10992
+ background-color: var(--color-border-default);
10815
10993
  }
10816
10994
 
10817
10995
 
@@ -11096,235 +11274,57 @@ li.muka-listitem {
11096
11274
  }
11097
11275
 
11098
11276
 
11099
- /* Icon */
11100
- /* Icon Component Styles - Using Muka Design Tokens */
11101
-
11102
- .muka-icon {
11103
- display: inline-flex;
11104
- align-items: center;
11105
- justify-content: center;
11106
- flex-shrink: 0;
11107
- color: var(--color-icon-default-default, currentColor);
11108
- }
11109
-
11110
- /* Icons inside buttons should inherit from button's foreground color */
11111
- .muka-button .muka-icon {
11112
- color: inherit;
11113
- }
11114
-
11115
- .muka-icon--subtle {
11116
- color: var(--color-icon-subtle-default);
11117
- }
11118
-
11119
- .muka-icon--muted {
11120
- color: var(--color-icon-muted-default);
11121
- }
11122
-
11123
- .muka-icon--inverse {
11124
- color: var(--color-icon-default-inverse);
11125
- }
11126
-
11127
- .muka-icon--xs {
11128
- width: var(--icon-size-xs);
11129
- height: var(--icon-size-xs);
11130
- }
11131
-
11132
- .muka-icon--sm {
11133
- width: var(--icon-size-sm);
11134
- height: var(--icon-size-sm);
11135
- }
11136
-
11137
- .muka-icon--md {
11138
- width: var(--icon-size-default);
11139
- height: var(--icon-size-default);
11140
- }
11141
-
11142
- .muka-icon--lg {
11143
- width: var(--icon-size-lg);
11144
- height: var(--icon-size-lg);
11145
- }
11146
-
11147
- .muka-icon svg {
11148
- width: 100%;
11149
- height: 100%;
11150
- }
11151
-
11152
-
11153
- /* InputCounter */
11154
- /* InputCounter — numeric field + joined decrement/increment buttons.
11155
- Label, helper and error text reuse Input.css (../Input/Input.css).
11156
- Field and button group share one radius per size:
11157
- sm/md → input.field.radius.md, lg → input.field.radius.lg. */
11158
-
11159
- .muka-inputcounter {
11160
- --muka-inputcounter-radius: var(--input-field-radius-md);
11161
- --muka-inputcounter-height: var(--input-field-height-default);
11162
- --muka-inputcounter-pad: calc(var(--spacing-2) + var(--spacing-1));
11163
- --muka-inputcounter-min: var(--size-3xl);
11164
-
11165
- display: inline-flex;
11166
- flex-direction: column;
11167
- gap: var(--spacing-2);
11168
- }
11169
-
11170
- .muka-inputcounter--sm {
11171
- --muka-inputcounter-height: var(--input-field-height-sm);
11172
- --muka-inputcounter-pad: calc(var(--spacing-1) + var(--spacing-1));
11173
- --muka-inputcounter-min: var(--size-2xl);
11174
- }
11175
-
11176
- .muka-inputcounter--lg {
11177
- --muka-inputcounter-radius: var(--input-field-radius-lg);
11178
- --muka-inputcounter-height: var(--input-field-height-lg);
11179
- }
11180
-
11181
- /* Label row — label, info tooltip trigger, optional hint */
11182
- .muka-inputcounter__label-row {
11183
- display: flex;
11184
- align-items: center;
11185
- gap: var(--spacing-2);
11186
- min-height: var(--size-xl);
11187
- }
11188
-
11189
- .muka-inputcounter__info {
11190
- display: inline-flex;
11191
- align-items: center;
11192
- justify-content: center;
11193
- padding: 0;
11194
- border: none;
11195
- border-radius: 50%;
11196
- background: transparent;
11197
- cursor: pointer;
11198
- }
11199
-
11200
- .muka-inputcounter__info .muka-icon {
11201
- color: var(--color-action-default);
11202
- }
11203
-
11204
- .muka-inputcounter__info:focus-visible {
11205
- outline: 2px solid var(--color-border-focus);
11206
- outline-offset: 2px;
11207
- }
11208
-
11209
- .muka-inputcounter__optional {
11210
- font-family: var(--text-label-sm-regular-fontFamily);
11211
- font-weight: var(--text-label-sm-regular-fontWeight);
11212
- font-size: var(--text-label-sm-regular-fontSize);
11213
- line-height: var(--text-label-sm-regular-lineHeight);
11214
- color: var(--color-text-subtle-default);
11215
- }
11216
-
11217
- /* Field + button group */
11218
- .muka-inputcounter__row {
11219
- display: flex;
11220
- align-items: center;
11221
- gap: var(--spacing-3);
11222
- }
11223
-
11224
- /* Field — grows with the value (in ch), never narrower than the Figma width.
11225
- Padding sits on the native input so the 2px focus/error border doesn't
11226
- need compensating: content is centred in a fixed box. */
11227
- .muka-inputcounter__field {
11228
- position: relative;
11229
- display: flex;
11230
- align-items: center;
11231
- box-sizing: border-box;
11232
- height: var(--muka-inputcounter-height);
11233
- width: calc(
11234
- max(var(--muka-inputcounter-min), calc(var(--muka-inputcounter-chars, 1) * 1ch)) +
11235
- 2 * var(--muka-inputcounter-pad) + 2 * var(--border-width-regular)
11236
- );
11237
- background-color: var(--input-field-color-default-background);
11238
- border: var(--border-width-regular) solid var(--input-field-color-default-border);
11239
- border-radius: var(--muka-inputcounter-radius);
11240
- transition: border-color 0.2s ease, background-color 0.2s ease;
11241
- }
11242
-
11243
- .muka-inputcounter__field::after {
11244
- content: '';
11245
- position: absolute;
11246
- inset: 0;
11247
- border-radius: inherit;
11248
- box-shadow: var(--shadow-sunken);
11249
- pointer-events: none;
11250
- }
11251
-
11252
- .muka-inputcounter__field--focused:not(.muka-inputcounter__field--disabled) {
11253
- border-width: var(--border-width-bold);
11254
- border-color: var(--input-field-color-focus-border);
11255
- background-color: var(--input-field-color-focus-background);
11256
- }
11257
-
11258
- .muka-inputcounter__field--error:not(.muka-inputcounter__field--disabled) {
11259
- border-width: var(--border-width-bold);
11260
- border-color: var(--input-field-color-error-border);
11261
- background-color: var(--input-field-color-error-background);
11262
- }
11277
+ /* Icon */
11278
+ /* Icon Component Styles - Using Muka Design Tokens */
11263
11279
 
11264
- .muka-inputcounter__field--disabled {
11265
- background-color: var(--input-field-color-disabled-background);
11266
- border-color: var(--input-field-color-disabled-border);
11280
+ .muka-icon {
11281
+ display: inline-flex;
11282
+ align-items: center;
11283
+ justify-content: center;
11284
+ flex-shrink: 0;
11285
+ color: var(--color-icon-default-default, currentColor);
11267
11286
  }
11268
11287
 
11269
- .muka-inputcounter__field--disabled::after {
11270
- display: none;
11288
+ /* Icons inside buttons should inherit from button's foreground color */
11289
+ .muka-button .muka-icon {
11290
+ color: inherit;
11271
11291
  }
11272
11292
 
11273
- .muka-inputcounter__native {
11274
- width: 100%;
11275
- min-width: 0;
11276
- height: 100%;
11277
- box-sizing: border-box;
11278
- padding: 0 calc(var(--muka-inputcounter-pad) - var(--border-width-regular));
11279
- border: none;
11280
- outline: none;
11281
- background: transparent;
11282
- text-align: center;
11283
- font-variant-numeric: tabular-nums;
11284
- color: var(--input-field-color-default-foreground);
11285
- font-family: var(--text-input-md-fontFamily);
11286
- font-weight: var(--text-input-md-fontWeight);
11287
- font-size: var(--text-input-md-fontSize);
11288
- line-height: var(--text-input-md-lineHeight);
11293
+ .muka-icon--subtle {
11294
+ color: var(--color-icon-subtle-default);
11289
11295
  }
11290
11296
 
11291
- .muka-inputcounter--sm .muka-inputcounter__native {
11292
- font-family: var(--text-input-sm-fontFamily);
11293
- font-weight: var(--text-input-sm-fontWeight);
11294
- font-size: var(--text-input-sm-fontSize);
11295
- line-height: var(--text-input-sm-lineHeight);
11297
+ .muka-icon--muted {
11298
+ color: var(--color-icon-muted-default);
11296
11299
  }
11297
11300
 
11298
- .muka-inputcounter__field--disabled .muka-inputcounter__native {
11299
- color: var(--input-field-color-disabled-foreground);
11300
- cursor: not-allowed;
11301
+ .muka-icon--inverse {
11302
+ color: var(--color-icon-default-inverse);
11301
11303
  }
11302
11304
 
11303
- /* Button group — secondary icon-only Buttons joined by a divider.
11304
- Only the outer corners are rounded. */
11305
- .muka-inputcounter__group {
11306
- display: inline-flex;
11307
- align-items: stretch;
11305
+ .muka-icon--xs {
11306
+ width: var(--icon-size-xs);
11307
+ height: var(--icon-size-xs);
11308
11308
  }
11309
11309
 
11310
- .muka-inputcounter__group .muka-button {
11311
- border-radius: 0;
11310
+ .muka-icon--sm {
11311
+ width: var(--icon-size-sm);
11312
+ height: var(--icon-size-sm);
11312
11313
  }
11313
11314
 
11314
- .muka-inputcounter__group .muka-button:first-child {
11315
- border-start-start-radius: var(--muka-inputcounter-radius);
11316
- border-end-start-radius: var(--muka-inputcounter-radius);
11315
+ .muka-icon--md {
11316
+ width: var(--icon-size-default);
11317
+ height: var(--icon-size-default);
11317
11318
  }
11318
11319
 
11319
- .muka-inputcounter__group .muka-button:last-child {
11320
- border-start-end-radius: var(--muka-inputcounter-radius);
11321
- border-end-end-radius: var(--muka-inputcounter-radius);
11320
+ .muka-icon--lg {
11321
+ width: var(--icon-size-lg);
11322
+ height: var(--icon-size-lg);
11322
11323
  }
11323
11324
 
11324
- .muka-inputcounter__divider {
11325
- flex: none;
11326
- width: var(--border-width-regular);
11327
- background-color: var(--color-border-default);
11325
+ .muka-icon svg {
11326
+ width: 100%;
11327
+ height: 100%;
11328
11328
  }
11329
11329
 
11330
11330
 
@@ -11501,253 +11501,112 @@ li.muka-listitem {
11501
11501
 
11502
11502
  .muka-fileupload__list li {
11503
11503
  margin: 0;
11504
- padding: 0;
11505
- }
11506
-
11507
- /* File item */
11508
- .muka-fileupload-item {
11509
- display: flex;
11510
- align-items: center;
11511
- gap: var(--fileupload-item-gap);
11512
- padding: var(--fileupload-item-padding-y) var(--fileupload-item-padding-x);
11513
- background-color: var(--fileupload-item-color-default-background);
11514
- border-radius: var(--fileupload-item-radius);
11515
- }
11516
-
11517
- .muka-fileupload-item--error {
11518
- background-color: var(--fileupload-item-color-error-background);
11519
- }
11520
-
11521
- .muka-fileupload-item--success {
11522
- background-color: var(--fileupload-item-color-default-background);
11523
- }
11524
-
11525
- /* Preview/Icon container */
11526
- .muka-fileupload-item__preview {
11527
- display: flex;
11528
- align-items: center;
11529
- justify-content: center;
11530
- flex-shrink: 0;
11531
- width: var(--fileupload-preview-size);
11532
- height: var(--fileupload-preview-size);
11533
- border-radius: var(--fileupload-preview-radius);
11534
- overflow: hidden;
11535
- background-color: var(--color-surface-level1);
11536
- }
11537
-
11538
- .muka-fileupload-item__thumbnail {
11539
- width: 100%;
11540
- height: 100%;
11541
- object-fit: cover;
11542
- }
11543
-
11544
- .muka-fileupload-item__icon {
11545
- color: var(--color-text-subtle-default);
11546
- }
11547
-
11548
- /* File info */
11549
- .muka-fileupload-item__info {
11550
- flex: 1;
11551
- min-width: 0;
11552
- display: flex;
11553
- flex-direction: column;
11554
- gap: var(--spacing-1);
11555
- }
11556
-
11557
- .muka-fileupload-item__name {
11558
- font-family: var(--text-body-sm-regular-fontFamily);
11559
- font-size: var(--text-body-sm-regular-fontSize);
11560
- font-weight: var(--text-body-sm-regular-fontWeight);
11561
- line-height: var(--text-body-sm-regular-lineHeight);
11562
- color: var(--fileupload-item-color-default-foreground);
11563
- white-space: nowrap;
11564
- overflow: hidden;
11565
- text-overflow: ellipsis;
11566
- }
11567
-
11568
- .muka-fileupload-item--error .muka-fileupload-item__name {
11569
- color: var(--fileupload-item-color-error-foreground);
11570
- }
11571
-
11572
- .muka-fileupload-item__meta {
11573
- font-family: var(--text-label-sm-regular-fontFamily);
11574
- font-size: var(--text-label-sm-regular-fontSize);
11575
- font-weight: var(--text-label-sm-regular-fontWeight);
11576
- line-height: var(--text-label-sm-regular-lineHeight);
11577
- color: var(--color-text-subtle-default);
11578
- }
11579
-
11580
- .muka-fileupload-item__error {
11581
- color: var(--fileupload-item-color-error-foreground);
11582
- }
11583
-
11584
- .muka-fileupload-item__progress {
11585
- margin-top: var(--spacing-1);
11586
- }
11587
-
11588
- /* Actions */
11589
- .muka-fileupload-item__actions {
11590
- display: flex;
11591
- align-items: center;
11592
- gap: var(--spacing-2);
11593
- flex-shrink: 0;
11594
- }
11595
-
11596
- .muka-fileupload-item__status-icon--success {
11597
- color: var(--fileupload-item-color-success-foreground);
11598
- }
11599
-
11600
- .muka-fileupload-item__status-icon--error {
11601
- color: var(--fileupload-item-color-error-foreground);
11602
- }
11603
-
11604
- .muka-fileupload-item__remove {
11605
- opacity: 0.7;
11606
- }
11607
-
11608
- .muka-fileupload-item__remove:hover {
11609
- opacity: 1;
11610
- }
11611
-
11612
-
11613
- /* FAB */
11614
- /* FAB (Floating Action Button) Component Styles */
11615
-
11616
- .muka-fab {
11617
- position: fixed;
11618
- z-index: 40;
11619
-
11620
- display: inline-flex;
11621
- align-items: center;
11622
- justify-content: center;
11623
- gap: var(--spacing-2);
11624
-
11625
- border: none;
11626
- cursor: pointer;
11627
- font-family: inherit;
11628
- box-shadow: var(--shadow-level4);
11629
-
11630
- transition: transform 0.12s ease, box-shadow 0.12s ease, background-color 0.12s ease;
11631
- -webkit-tap-highlight-color: transparent;
11632
- }
11633
-
11634
- .muka-fab:active {
11635
- transform: scale(0.96);
11636
- box-shadow: var(--shadow-level3);
11637
- }
11638
-
11639
- .muka-fab:focus-visible {
11640
- outline: 2px solid var(--color-action-default);
11641
- outline-offset: 2px;
11642
- }
11643
-
11644
- .muka-fab:disabled {
11645
- opacity: 0.5;
11646
- cursor: not-allowed;
11647
- box-shadow: none;
11648
- }
11649
-
11650
- /* ─── Variants ────────────────────────────────────────── */
11651
-
11652
- .muka-fab--primary {
11653
- background-color: var(--color-action-default);
11654
- color: var(--color-text-default-inverse);
11655
- }
11656
-
11657
- .muka-fab--primary:hover:not(:disabled) {
11658
- background-color: var(--color-action-hover);
11659
- }
11660
-
11661
- .muka-fab--secondary {
11662
- background-color: var(--color-surface-level3);
11663
- color: var(--color-text-default-default);
11664
- }
11665
-
11666
- .muka-fab--secondary:hover:not(:disabled) {
11667
- background-color: var(--color-surface-level2);
11668
- }
11669
-
11670
- /* ─── Sizes (circular by default) ─────────────────────── */
11671
-
11672
- .muka-fab--md {
11673
- width: 56px;
11674
- height: 56px;
11675
- border-radius: 50%;
11676
- }
11677
-
11678
- .muka-fab--lg {
11679
- width: 64px;
11680
- height: 64px;
11681
- border-radius: 50%;
11504
+ padding: 0;
11682
11505
  }
11683
11506
 
11684
- /* ─── Extended (pill shape with label) ────────────────── */
11507
+ /* File item */
11508
+ .muka-fileupload-item {
11509
+ display: flex;
11510
+ align-items: center;
11511
+ gap: var(--fileupload-item-gap);
11512
+ padding: var(--fileupload-item-padding-y) var(--fileupload-item-padding-x);
11513
+ background-color: var(--fileupload-item-color-default-background);
11514
+ border-radius: var(--fileupload-item-radius);
11515
+ }
11685
11516
 
11686
- .muka-fab--extended {
11687
- width: auto;
11688
- height: auto;
11689
- padding: var(--spacing-3) var(--spacing-4);
11690
- border-radius: var(--radius-full);
11517
+ .muka-fileupload-item--error {
11518
+ background-color: var(--fileupload-item-color-error-background);
11691
11519
  }
11692
11520
 
11693
- .muka-fab--extended.muka-fab--lg {
11694
- padding: var(--spacing-4) var(--spacing-5);
11521
+ .muka-fileupload-item--success {
11522
+ background-color: var(--fileupload-item-color-default-background);
11695
11523
  }
11696
11524
 
11697
- .muka-fab__icon {
11698
- display: inline-flex;
11525
+ /* Preview/Icon container */
11526
+ .muka-fileupload-item__preview {
11527
+ display: flex;
11699
11528
  align-items: center;
11700
11529
  justify-content: center;
11701
- width: 24px;
11702
- height: 24px;
11530
+ flex-shrink: 0;
11531
+ width: var(--fileupload-preview-size);
11532
+ height: var(--fileupload-preview-size);
11533
+ border-radius: var(--fileupload-preview-radius);
11534
+ overflow: hidden;
11535
+ background-color: var(--color-surface-level1);
11703
11536
  }
11704
11537
 
11705
- .muka-fab__icon svg {
11538
+ .muka-fileupload-item__thumbnail {
11706
11539
  width: 100%;
11707
11540
  height: 100%;
11541
+ object-fit: cover;
11708
11542
  }
11709
11543
 
11710
- .muka-fab__label {
11711
- font-family: var(--text-label-md-semibold-fontFamily);
11712
- font-weight: var(--text-label-md-semibold-fontWeight);
11713
- font-size: var(--text-label-md-semibold-fontSize);
11714
- line-height: var(--text-label-md-semibold-lineHeight);
11544
+ .muka-fileupload-item__icon {
11545
+ color: var(--color-text-subtle-default);
11715
11546
  }
11716
11547
 
11717
- /* ─── Positioning ─────────────────────────────────────── */
11548
+ /* File info */
11549
+ .muka-fileupload-item__info {
11550
+ flex: 1;
11551
+ min-width: 0;
11552
+ display: flex;
11553
+ flex-direction: column;
11554
+ gap: var(--spacing-1);
11555
+ }
11718
11556
 
11719
- .muka-fab--bottom-right {
11720
- right: var(--spacing-4);
11721
- bottom: var(--spacing-4);
11557
+ .muka-fileupload-item__name {
11558
+ font-family: var(--text-body-sm-regular-fontFamily);
11559
+ font-size: var(--text-body-sm-regular-fontSize);
11560
+ font-weight: var(--text-body-sm-regular-fontWeight);
11561
+ line-height: var(--text-body-sm-regular-lineHeight);
11562
+ color: var(--fileupload-item-color-default-foreground);
11563
+ white-space: nowrap;
11564
+ overflow: hidden;
11565
+ text-overflow: ellipsis;
11722
11566
  }
11723
11567
 
11724
- .muka-fab--bottom-left {
11725
- left: var(--spacing-4);
11726
- bottom: var(--spacing-4);
11568
+ .muka-fileupload-item--error .muka-fileupload-item__name {
11569
+ color: var(--fileupload-item-color-error-foreground);
11727
11570
  }
11728
11571
 
11729
- .muka-fab--bottom-center {
11730
- left: 50%;
11731
- bottom: var(--spacing-4);
11732
- transform: translateX(-50%);
11572
+ .muka-fileupload-item__meta {
11573
+ font-family: var(--text-label-sm-regular-fontFamily);
11574
+ font-size: var(--text-label-sm-regular-fontSize);
11575
+ font-weight: var(--text-label-sm-regular-fontWeight);
11576
+ line-height: var(--text-label-sm-regular-lineHeight);
11577
+ color: var(--color-text-subtle-default);
11733
11578
  }
11734
11579
 
11735
- .muka-fab--bottom-center:active {
11736
- transform: translateX(-50%) scale(0.96);
11580
+ .muka-fileupload-item__error {
11581
+ color: var(--fileupload-item-color-error-foreground);
11737
11582
  }
11738
11583
 
11739
- /* Add the iOS home-indicator inset to the bottom offset. */
11740
- .muka-fab:not(.muka-fab--no-safe-area) {
11741
- bottom: calc(var(--spacing-4) + env(safe-area-inset-bottom));
11584
+ .muka-fileupload-item__progress {
11585
+ margin-top: var(--spacing-1);
11742
11586
  }
11743
11587
 
11744
- /* Lateral safe-area for landscape iPhone with notch. */
11745
- .muka-fab--bottom-right:not(.muka-fab--no-safe-area) {
11746
- right: max(var(--spacing-4), env(safe-area-inset-right));
11588
+ /* Actions */
11589
+ .muka-fileupload-item__actions {
11590
+ display: flex;
11591
+ align-items: center;
11592
+ gap: var(--spacing-2);
11593
+ flex-shrink: 0;
11747
11594
  }
11748
11595
 
11749
- .muka-fab--bottom-left:not(.muka-fab--no-safe-area) {
11750
- left: max(var(--spacing-4), env(safe-area-inset-left));
11596
+ .muka-fileupload-item__status-icon--success {
11597
+ color: var(--fileupload-item-color-success-foreground);
11598
+ }
11599
+
11600
+ .muka-fileupload-item__status-icon--error {
11601
+ color: var(--fileupload-item-color-error-foreground);
11602
+ }
11603
+
11604
+ .muka-fileupload-item__remove {
11605
+ opacity: 0.7;
11606
+ }
11607
+
11608
+ .muka-fileupload-item__remove:hover {
11609
+ opacity: 1;
11751
11610
  }
11752
11611
 
11753
11612
 
@@ -11892,6 +11751,147 @@ li.muka-listitem {
11892
11751
  }
11893
11752
 
11894
11753
 
11754
+ /* FAB */
11755
+ /* FAB (Floating Action Button) Component Styles */
11756
+
11757
+ .muka-fab {
11758
+ position: fixed;
11759
+ z-index: 40;
11760
+
11761
+ display: inline-flex;
11762
+ align-items: center;
11763
+ justify-content: center;
11764
+ gap: var(--spacing-2);
11765
+
11766
+ border: none;
11767
+ cursor: pointer;
11768
+ font-family: inherit;
11769
+ box-shadow: var(--shadow-level4);
11770
+
11771
+ transition: transform 0.12s ease, box-shadow 0.12s ease, background-color 0.12s ease;
11772
+ -webkit-tap-highlight-color: transparent;
11773
+ }
11774
+
11775
+ .muka-fab:active {
11776
+ transform: scale(0.96);
11777
+ box-shadow: var(--shadow-level3);
11778
+ }
11779
+
11780
+ .muka-fab:focus-visible {
11781
+ outline: 2px solid var(--color-action-default);
11782
+ outline-offset: 2px;
11783
+ }
11784
+
11785
+ .muka-fab:disabled {
11786
+ opacity: 0.5;
11787
+ cursor: not-allowed;
11788
+ box-shadow: none;
11789
+ }
11790
+
11791
+ /* ─── Variants ────────────────────────────────────────── */
11792
+
11793
+ .muka-fab--primary {
11794
+ background-color: var(--color-action-default);
11795
+ color: var(--color-text-default-inverse);
11796
+ }
11797
+
11798
+ .muka-fab--primary:hover:not(:disabled) {
11799
+ background-color: var(--color-action-hover);
11800
+ }
11801
+
11802
+ .muka-fab--secondary {
11803
+ background-color: var(--color-surface-level3);
11804
+ color: var(--color-text-default-default);
11805
+ }
11806
+
11807
+ .muka-fab--secondary:hover:not(:disabled) {
11808
+ background-color: var(--color-surface-level2);
11809
+ }
11810
+
11811
+ /* ─── Sizes (circular by default) ─────────────────────── */
11812
+
11813
+ .muka-fab--md {
11814
+ width: 56px;
11815
+ height: 56px;
11816
+ border-radius: 50%;
11817
+ }
11818
+
11819
+ .muka-fab--lg {
11820
+ width: 64px;
11821
+ height: 64px;
11822
+ border-radius: 50%;
11823
+ }
11824
+
11825
+ /* ─── Extended (pill shape with label) ────────────────── */
11826
+
11827
+ .muka-fab--extended {
11828
+ width: auto;
11829
+ height: auto;
11830
+ padding: var(--spacing-3) var(--spacing-4);
11831
+ border-radius: var(--radius-full);
11832
+ }
11833
+
11834
+ .muka-fab--extended.muka-fab--lg {
11835
+ padding: var(--spacing-4) var(--spacing-5);
11836
+ }
11837
+
11838
+ .muka-fab__icon {
11839
+ display: inline-flex;
11840
+ align-items: center;
11841
+ justify-content: center;
11842
+ width: 24px;
11843
+ height: 24px;
11844
+ }
11845
+
11846
+ .muka-fab__icon svg {
11847
+ width: 100%;
11848
+ height: 100%;
11849
+ }
11850
+
11851
+ .muka-fab__label {
11852
+ font-family: var(--text-label-md-semibold-fontFamily);
11853
+ font-weight: var(--text-label-md-semibold-fontWeight);
11854
+ font-size: var(--text-label-md-semibold-fontSize);
11855
+ line-height: var(--text-label-md-semibold-lineHeight);
11856
+ }
11857
+
11858
+ /* ─── Positioning ─────────────────────────────────────── */
11859
+
11860
+ .muka-fab--bottom-right {
11861
+ right: var(--spacing-4);
11862
+ bottom: var(--spacing-4);
11863
+ }
11864
+
11865
+ .muka-fab--bottom-left {
11866
+ left: var(--spacing-4);
11867
+ bottom: var(--spacing-4);
11868
+ }
11869
+
11870
+ .muka-fab--bottom-center {
11871
+ left: 50%;
11872
+ bottom: var(--spacing-4);
11873
+ transform: translateX(-50%);
11874
+ }
11875
+
11876
+ .muka-fab--bottom-center:active {
11877
+ transform: translateX(-50%) scale(0.96);
11878
+ }
11879
+
11880
+ /* Add the iOS home-indicator inset to the bottom offset. */
11881
+ .muka-fab:not(.muka-fab--no-safe-area) {
11882
+ bottom: calc(var(--spacing-4) + env(safe-area-inset-bottom));
11883
+ }
11884
+
11885
+ /* Lateral safe-area for landscape iPhone with notch. */
11886
+ .muka-fab--bottom-right:not(.muka-fab--no-safe-area) {
11887
+ right: max(var(--spacing-4), env(safe-area-inset-right));
11888
+ }
11889
+
11890
+ .muka-fab--bottom-left:not(.muka-fab--no-safe-area) {
11891
+ left: max(var(--spacing-4), env(safe-area-inset-left));
11892
+ }
11893
+
11894
+
11895
11895
  /* EmojiPicker */
11896
11896
  /* EmojiPicker Component Styles */
11897
11897