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