@revikornmann/muka-ui 0.64.2 → 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/View.css +43 -0
- package/dist/cjs/components/View/View.js +6 -2
- package/dist/cjs/components/View/View.js.map +1 -1
- package/dist/cjs/components/View/viewNavigation.js +163 -1
- package/dist/cjs/components/View/viewNavigation.js.map +1 -1
- package/dist/esm/components/View/View.css +43 -0
- package/dist/esm/components/View/View.js +8 -4
- package/dist/esm/components/View/View.js.map +1 -1
- package/dist/esm/components/View/viewNavigation.js +162 -1
- package/dist/esm/components/View/viewNavigation.js.map +1 -1
- package/dist/styles/components/View.css +43 -0
- package/dist/styles/index.css +1933 -1890
- package/dist/styles/muka-dark.css +1933 -1890
- package/dist/styles/muka-light.css +1933 -1890
- package/dist/styles/wireframe-dark.css +1933 -1890
- package/dist/styles/wireframe-light.css +1933 -1890
- package/dist/types/components/View/View.d.ts.map +1 -1
- package/dist/types/components/View/viewNavigation.d.ts +6 -1
- package/dist/types/components/View/viewNavigation.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -2761,6 +2761,49 @@ body {
|
|
|
2761
2761
|
}
|
|
2762
2762
|
}
|
|
2763
2763
|
|
|
2764
|
+
/* ─── The same motion without a view transition ──────────
|
|
2765
|
+
When React commits a navigation outside a view transition, the browser
|
|
2766
|
+
animates nothing; viewNavigation.ts then puts a copy of the leaving View
|
|
2767
|
+
(.muka-view-ghost) over the page and marks the new View
|
|
2768
|
+
[data-muka-view-entering]. Pop only on small and medium screens: a push
|
|
2769
|
+
would slide over nothing. */
|
|
2770
|
+
.muka-view-ghost {
|
|
2771
|
+
position: fixed;
|
|
2772
|
+
margin: 0;
|
|
2773
|
+
z-index: 40; /* above the app shell (11), below popovers and sheets (50) */
|
|
2774
|
+
pointer-events: none;
|
|
2775
|
+
}
|
|
2776
|
+
|
|
2777
|
+
@media (max-width: 1023px) {
|
|
2778
|
+
:root[data-muka-nav='pop'] .muka-view-ghost {
|
|
2779
|
+
animation: muka-view-to-right var(--motion-duration-view) var(--motion-easing-enter) both;
|
|
2780
|
+
}
|
|
2781
|
+
|
|
2782
|
+
:root[data-muka-nav='pop'] .muka-view[data-muka-view-entering] {
|
|
2783
|
+
animation: muka-view-from-behind var(--motion-duration-view) var(--motion-easing-enter) both;
|
|
2784
|
+
}
|
|
2785
|
+
}
|
|
2786
|
+
|
|
2787
|
+
@media (min-width: 1024px) {
|
|
2788
|
+
:root[data-muka-nav] .muka-view-ghost {
|
|
2789
|
+
animation: muka-view-shift-out var(--motion-duration-exit) var(--motion-easing-exit) both;
|
|
2790
|
+
}
|
|
2791
|
+
|
|
2792
|
+
:root[data-muka-nav] .muka-view[data-muka-view-entering] {
|
|
2793
|
+
animation: muka-view-shift-in var(--motion-duration-micro) var(--motion-easing-enter) both;
|
|
2794
|
+
}
|
|
2795
|
+
|
|
2796
|
+
:root[data-muka-nav='push'] .muka-view[data-muka-view-entering],
|
|
2797
|
+
:root[data-muka-nav='pop'] .muka-view-ghost {
|
|
2798
|
+
--muka-view-shift: var(--spacing-4);
|
|
2799
|
+
}
|
|
2800
|
+
|
|
2801
|
+
:root[data-muka-nav='pop'] .muka-view[data-muka-view-entering],
|
|
2802
|
+
:root[data-muka-nav='push'] .muka-view-ghost {
|
|
2803
|
+
--muka-view-shift: calc(-1 * var(--spacing-4));
|
|
2804
|
+
}
|
|
2805
|
+
}
|
|
2806
|
+
|
|
2764
2807
|
@keyframes muka-view-shift-in {
|
|
2765
2808
|
from { opacity: 0; transform: translateX(var(--muka-view-shift)); }
|
|
2766
2809
|
to { opacity: 1; transform: translateX(0); }
|
|
@@ -5837,151 +5880,6 @@ body {
|
|
|
5837
5880
|
}
|
|
5838
5881
|
|
|
5839
5882
|
|
|
5840
|
-
/* SiteHeader */
|
|
5841
|
-
/* SiteHeader Component Styles */
|
|
5842
|
-
|
|
5843
|
-
/*
|
|
5844
|
-
* Header for document-scrolling pages. Its colour comes from, in order:
|
|
5845
|
-
* `--muka-site-header-background` (set by the consumer), the surrounding
|
|
5846
|
-
* Page's `--muka-page-background`, and the base surface.
|
|
5847
|
-
*
|
|
5848
|
-
* Safe areas: env(safe-area-inset-*) is 0 outside notched devices. In an app
|
|
5849
|
-
* running edge to edge, the header extends behind the status bar in its own
|
|
5850
|
-
* colour and keeps its content clear of a landscape notch.
|
|
5851
|
-
*/
|
|
5852
|
-
.muka-site-header {
|
|
5853
|
-
width: 100%;
|
|
5854
|
-
flex-shrink: 0;
|
|
5855
|
-
background-color: var(--muka-site-header-background, var(--muka-page-background, var(--color-surface-level3)));
|
|
5856
|
-
padding-top: env(safe-area-inset-top, 0px);
|
|
5857
|
-
}
|
|
5858
|
-
|
|
5859
|
-
.muka-site-header--sticky {
|
|
5860
|
-
position: sticky;
|
|
5861
|
-
top: 0;
|
|
5862
|
-
z-index: 30;
|
|
5863
|
-
border-bottom: var(--border-width-regular) solid var(--color-border-default);
|
|
5864
|
-
}
|
|
5865
|
-
|
|
5866
|
-
/*
|
|
5867
|
-
* A header that scrolls away would leave the status bar over the content. A
|
|
5868
|
-
* fixed strip in the header's colour stays behind the status bar instead.
|
|
5869
|
-
* Below Muka's overlays, so a dialog's backdrop dims it with the page.
|
|
5870
|
-
*/
|
|
5871
|
-
.muka-site-header:not(.muka-site-header--sticky)::before {
|
|
5872
|
-
content: '';
|
|
5873
|
-
position: fixed;
|
|
5874
|
-
top: 0;
|
|
5875
|
-
left: 0;
|
|
5876
|
-
right: 0;
|
|
5877
|
-
height: env(safe-area-inset-top, 0px);
|
|
5878
|
-
background-color: inherit;
|
|
5879
|
-
pointer-events: none;
|
|
5880
|
-
z-index: 30;
|
|
5881
|
-
}
|
|
5882
|
-
|
|
5883
|
-
.muka-site-header__inner {
|
|
5884
|
-
display: flex;
|
|
5885
|
-
align-items: center;
|
|
5886
|
-
gap: var(--spacing-2);
|
|
5887
|
-
width: 100%;
|
|
5888
|
-
max-width: var(--container-max-width-xl);
|
|
5889
|
-
margin: 0 auto;
|
|
5890
|
-
padding-block: var(--spacing-6);
|
|
5891
|
-
padding-left: max(var(--spacing-4), env(safe-area-inset-left, 0px));
|
|
5892
|
-
padding-right: max(var(--spacing-4), env(safe-area-inset-right, 0px));
|
|
5893
|
-
}
|
|
5894
|
-
|
|
5895
|
-
.muka-site-header__brand {
|
|
5896
|
-
display: flex;
|
|
5897
|
-
align-items: center;
|
|
5898
|
-
flex-shrink: 0;
|
|
5899
|
-
min-width: 0;
|
|
5900
|
-
}
|
|
5901
|
-
|
|
5902
|
-
.muka-site-header__nav {
|
|
5903
|
-
display: none;
|
|
5904
|
-
align-items: center;
|
|
5905
|
-
gap: var(--spacing-1);
|
|
5906
|
-
min-width: 0;
|
|
5907
|
-
}
|
|
5908
|
-
|
|
5909
|
-
.muka-site-header__actions {
|
|
5910
|
-
display: flex;
|
|
5911
|
-
align-items: center;
|
|
5912
|
-
margin-left: auto;
|
|
5913
|
-
min-width: 0;
|
|
5914
|
-
}
|
|
5915
|
-
|
|
5916
|
-
.muka-site-header__action-group {
|
|
5917
|
-
display: flex;
|
|
5918
|
-
align-items: center;
|
|
5919
|
-
gap: var(--spacing-2);
|
|
5920
|
-
}
|
|
5921
|
-
|
|
5922
|
-
/* Small screens: the compact set replaces the full one. */
|
|
5923
|
-
.muka-site-header__action-group--wide {
|
|
5924
|
-
display: none;
|
|
5925
|
-
}
|
|
5926
|
-
|
|
5927
|
-
@media (min-width: 768px) {
|
|
5928
|
-
.muka-site-header__inner {
|
|
5929
|
-
gap: var(--spacing-4);
|
|
5930
|
-
padding-block: var(--spacing-8);
|
|
5931
|
-
}
|
|
5932
|
-
|
|
5933
|
-
.muka-site-header__nav {
|
|
5934
|
-
display: flex;
|
|
5935
|
-
}
|
|
5936
|
-
|
|
5937
|
-
.muka-site-header__action-group--wide {
|
|
5938
|
-
display: flex;
|
|
5939
|
-
}
|
|
5940
|
-
|
|
5941
|
-
.muka-site-header__action-group--compact {
|
|
5942
|
-
display: none;
|
|
5943
|
-
}
|
|
5944
|
-
}
|
|
5945
|
-
|
|
5946
|
-
/*
|
|
5947
|
-
* layout="full" (Figma Public header, Bouwplan): the content spans the width,
|
|
5948
|
-
* the nav sits between brand and actions (space-between), and the inset grows
|
|
5949
|
-
* with the screen: 24/16 on small screens, 16/24 from 768px, 32 from 1536px.
|
|
5950
|
-
* Safe-area insets still win where they are larger.
|
|
5951
|
-
*/
|
|
5952
|
-
.muka-site-header--full .muka-site-header__inner {
|
|
5953
|
-
max-width: none;
|
|
5954
|
-
justify-content: space-between;
|
|
5955
|
-
}
|
|
5956
|
-
|
|
5957
|
-
.muka-site-header--full .muka-site-header__actions {
|
|
5958
|
-
margin-left: 0;
|
|
5959
|
-
}
|
|
5960
|
-
|
|
5961
|
-
@media (min-width: 768px) {
|
|
5962
|
-
.muka-site-header--full .muka-site-header__inner {
|
|
5963
|
-
padding-block: var(--spacing-4);
|
|
5964
|
-
padding-left: max(var(--spacing-6), env(safe-area-inset-left, 0px));
|
|
5965
|
-
padding-right: max(var(--spacing-6), env(safe-area-inset-right, 0px));
|
|
5966
|
-
}
|
|
5967
|
-
}
|
|
5968
|
-
|
|
5969
|
-
@media (min-width: 1536px) {
|
|
5970
|
-
.muka-site-header--full .muka-site-header__inner {
|
|
5971
|
-
padding-block: var(--spacing-8);
|
|
5972
|
-
padding-left: max(var(--spacing-8), env(safe-area-inset-left, 0px));
|
|
5973
|
-
padding-right: max(var(--spacing-8), env(safe-area-inset-right, 0px));
|
|
5974
|
-
}
|
|
5975
|
-
}
|
|
5976
|
-
|
|
5977
|
-
/* Small screens: no nav, so the actions take the end on their own. */
|
|
5978
|
-
@media (max-width: 767px) {
|
|
5979
|
-
.muka-site-header--full .muka-site-header__actions {
|
|
5980
|
-
margin-left: auto;
|
|
5981
|
-
}
|
|
5982
|
-
}
|
|
5983
|
-
|
|
5984
|
-
|
|
5985
5883
|
/* Sheet */
|
|
5986
5884
|
/* Sheet Component Styles */
|
|
5987
5885
|
|
|
@@ -6258,52 +6156,197 @@ body {
|
|
|
6258
6156
|
}
|
|
6259
6157
|
|
|
6260
6158
|
|
|
6261
|
-
/*
|
|
6262
|
-
/*
|
|
6159
|
+
/* SiteHeader */
|
|
6160
|
+
/* SiteHeader Component Styles */
|
|
6263
6161
|
|
|
6264
|
-
/*
|
|
6265
|
-
|
|
6266
|
-
|
|
6267
|
-
|
|
6268
|
-
|
|
6269
|
-
|
|
6270
|
-
|
|
6271
|
-
|
|
6272
|
-
|
|
6273
|
-
|
|
6162
|
+
/*
|
|
6163
|
+
* Header for document-scrolling pages. Its colour comes from, in order:
|
|
6164
|
+
* `--muka-site-header-background` (set by the consumer), the surrounding
|
|
6165
|
+
* Page's `--muka-page-background`, and the base surface.
|
|
6166
|
+
*
|
|
6167
|
+
* Safe areas: env(safe-area-inset-*) is 0 outside notched devices. In an app
|
|
6168
|
+
* running edge to edge, the header extends behind the status bar in its own
|
|
6169
|
+
* colour and keeps its content clear of a landscape notch.
|
|
6170
|
+
*/
|
|
6171
|
+
.muka-site-header {
|
|
6172
|
+
width: 100%;
|
|
6173
|
+
flex-shrink: 0;
|
|
6174
|
+
background-color: var(--muka-site-header-background, var(--muka-page-background, var(--color-surface-level3)));
|
|
6175
|
+
padding-top: env(safe-area-inset-top, 0px);
|
|
6274
6176
|
}
|
|
6275
6177
|
|
|
6276
|
-
|
|
6277
|
-
|
|
6178
|
+
.muka-site-header--sticky {
|
|
6179
|
+
position: sticky;
|
|
6180
|
+
top: 0;
|
|
6181
|
+
z-index: 30;
|
|
6182
|
+
border-bottom: var(--border-width-regular) solid var(--color-border-default);
|
|
6183
|
+
}
|
|
6184
|
+
|
|
6185
|
+
/*
|
|
6186
|
+
* A header that scrolls away would leave the status bar over the content. A
|
|
6187
|
+
* fixed strip in the header's colour stays behind the status bar instead.
|
|
6188
|
+
* Below Muka's overlays, so a dialog's backdrop dims it with the page.
|
|
6189
|
+
*/
|
|
6190
|
+
.muka-site-header:not(.muka-site-header--sticky)::before {
|
|
6278
6191
|
content: '';
|
|
6279
|
-
position:
|
|
6280
|
-
|
|
6281
|
-
|
|
6282
|
-
|
|
6192
|
+
position: fixed;
|
|
6193
|
+
top: 0;
|
|
6194
|
+
left: 0;
|
|
6195
|
+
right: 0;
|
|
6196
|
+
height: env(safe-area-inset-top, 0px);
|
|
6197
|
+
background-color: inherit;
|
|
6283
6198
|
pointer-events: none;
|
|
6199
|
+
z-index: 30;
|
|
6284
6200
|
}
|
|
6285
6201
|
|
|
6286
|
-
|
|
6287
|
-
|
|
6202
|
+
.muka-site-header__inner {
|
|
6203
|
+
display: flex;
|
|
6204
|
+
align-items: center;
|
|
6205
|
+
gap: var(--spacing-2);
|
|
6288
6206
|
width: 100%;
|
|
6207
|
+
max-width: var(--container-max-width-xl);
|
|
6208
|
+
margin: 0 auto;
|
|
6209
|
+
padding-block: var(--spacing-6);
|
|
6210
|
+
padding-left: max(var(--spacing-4), env(safe-area-inset-left, 0px));
|
|
6211
|
+
padding-right: max(var(--spacing-4), env(safe-area-inset-right, 0px));
|
|
6289
6212
|
}
|
|
6290
6213
|
|
|
6291
|
-
.muka-
|
|
6292
|
-
|
|
6214
|
+
.muka-site-header__brand {
|
|
6215
|
+
display: flex;
|
|
6216
|
+
align-items: center;
|
|
6217
|
+
flex-shrink: 0;
|
|
6218
|
+
min-width: 0;
|
|
6293
6219
|
}
|
|
6294
6220
|
|
|
6295
|
-
|
|
6296
|
-
|
|
6297
|
-
|
|
6298
|
-
|
|
6299
|
-
|
|
6300
|
-
|
|
6301
|
-
|
|
6302
|
-
|
|
6303
|
-
|
|
6304
|
-
|
|
6305
|
-
|
|
6306
|
-
|
|
6221
|
+
.muka-site-header__nav {
|
|
6222
|
+
display: none;
|
|
6223
|
+
align-items: center;
|
|
6224
|
+
gap: var(--spacing-1);
|
|
6225
|
+
min-width: 0;
|
|
6226
|
+
}
|
|
6227
|
+
|
|
6228
|
+
.muka-site-header__actions {
|
|
6229
|
+
display: flex;
|
|
6230
|
+
align-items: center;
|
|
6231
|
+
margin-left: auto;
|
|
6232
|
+
min-width: 0;
|
|
6233
|
+
}
|
|
6234
|
+
|
|
6235
|
+
.muka-site-header__action-group {
|
|
6236
|
+
display: flex;
|
|
6237
|
+
align-items: center;
|
|
6238
|
+
gap: var(--spacing-2);
|
|
6239
|
+
}
|
|
6240
|
+
|
|
6241
|
+
/* Small screens: the compact set replaces the full one. */
|
|
6242
|
+
.muka-site-header__action-group--wide {
|
|
6243
|
+
display: none;
|
|
6244
|
+
}
|
|
6245
|
+
|
|
6246
|
+
@media (min-width: 768px) {
|
|
6247
|
+
.muka-site-header__inner {
|
|
6248
|
+
gap: var(--spacing-4);
|
|
6249
|
+
padding-block: var(--spacing-8);
|
|
6250
|
+
}
|
|
6251
|
+
|
|
6252
|
+
.muka-site-header__nav {
|
|
6253
|
+
display: flex;
|
|
6254
|
+
}
|
|
6255
|
+
|
|
6256
|
+
.muka-site-header__action-group--wide {
|
|
6257
|
+
display: flex;
|
|
6258
|
+
}
|
|
6259
|
+
|
|
6260
|
+
.muka-site-header__action-group--compact {
|
|
6261
|
+
display: none;
|
|
6262
|
+
}
|
|
6263
|
+
}
|
|
6264
|
+
|
|
6265
|
+
/*
|
|
6266
|
+
* layout="full" (Figma Public header, Bouwplan): the content spans the width,
|
|
6267
|
+
* the nav sits between brand and actions (space-between), and the inset grows
|
|
6268
|
+
* with the screen: 24/16 on small screens, 16/24 from 768px, 32 from 1536px.
|
|
6269
|
+
* Safe-area insets still win where they are larger.
|
|
6270
|
+
*/
|
|
6271
|
+
.muka-site-header--full .muka-site-header__inner {
|
|
6272
|
+
max-width: none;
|
|
6273
|
+
justify-content: space-between;
|
|
6274
|
+
}
|
|
6275
|
+
|
|
6276
|
+
.muka-site-header--full .muka-site-header__actions {
|
|
6277
|
+
margin-left: 0;
|
|
6278
|
+
}
|
|
6279
|
+
|
|
6280
|
+
@media (min-width: 768px) {
|
|
6281
|
+
.muka-site-header--full .muka-site-header__inner {
|
|
6282
|
+
padding-block: var(--spacing-4);
|
|
6283
|
+
padding-left: max(var(--spacing-6), env(safe-area-inset-left, 0px));
|
|
6284
|
+
padding-right: max(var(--spacing-6), env(safe-area-inset-right, 0px));
|
|
6285
|
+
}
|
|
6286
|
+
}
|
|
6287
|
+
|
|
6288
|
+
@media (min-width: 1536px) {
|
|
6289
|
+
.muka-site-header--full .muka-site-header__inner {
|
|
6290
|
+
padding-block: var(--spacing-8);
|
|
6291
|
+
padding-left: max(var(--spacing-8), env(safe-area-inset-left, 0px));
|
|
6292
|
+
padding-right: max(var(--spacing-8), env(safe-area-inset-right, 0px));
|
|
6293
|
+
}
|
|
6294
|
+
}
|
|
6295
|
+
|
|
6296
|
+
/* Small screens: no nav, so the actions take the end on their own. */
|
|
6297
|
+
@media (max-width: 767px) {
|
|
6298
|
+
.muka-site-header--full .muka-site-header__actions {
|
|
6299
|
+
margin-left: auto;
|
|
6300
|
+
}
|
|
6301
|
+
}
|
|
6302
|
+
|
|
6303
|
+
|
|
6304
|
+
/* SegmentGroup */
|
|
6305
|
+
/* SegmentGroup Component Styles - Using Muka Design Tokens */
|
|
6306
|
+
|
|
6307
|
+
/* Container */
|
|
6308
|
+
.muka-segmentgroup {
|
|
6309
|
+
display: inline-flex;
|
|
6310
|
+
align-items: center;
|
|
6311
|
+
gap: 0;
|
|
6312
|
+
padding: var(--segmentgroup-container-padding);
|
|
6313
|
+
background-color: var(--segmentgroup-container-background);
|
|
6314
|
+
border-radius: var(--segmentgroup-container-radius);
|
|
6315
|
+
position: relative;
|
|
6316
|
+
transition: background-color 0.2s ease, box-shadow 0.2s ease;
|
|
6317
|
+
}
|
|
6318
|
+
|
|
6319
|
+
/* Inset shadow on container */
|
|
6320
|
+
.muka-segmentgroup::after {
|
|
6321
|
+
content: '';
|
|
6322
|
+
position: absolute;
|
|
6323
|
+
inset: 0;
|
|
6324
|
+
border-radius: inherit;
|
|
6325
|
+
box-shadow: var(--segmentgroup-container-shadow);
|
|
6326
|
+
pointer-events: none;
|
|
6327
|
+
}
|
|
6328
|
+
|
|
6329
|
+
/* Full width variant */
|
|
6330
|
+
.muka-segmentgroup--full-width {
|
|
6331
|
+
width: 100%;
|
|
6332
|
+
}
|
|
6333
|
+
|
|
6334
|
+
.muka-segmentgroup--full-width .muka-segmentgroup__segment {
|
|
6335
|
+
flex: 1;
|
|
6336
|
+
}
|
|
6337
|
+
|
|
6338
|
+
/* Pill */
|
|
6339
|
+
.muka-segmentgroup__pill {
|
|
6340
|
+
position: absolute;
|
|
6341
|
+
top: var(--segmentgroup-container-padding);
|
|
6342
|
+
bottom: var(--segmentgroup-container-padding);
|
|
6343
|
+
left: 0;
|
|
6344
|
+
margin: 0;
|
|
6345
|
+
background-color: var(--segmentgroup-segment-color-selected-background);
|
|
6346
|
+
box-shadow: var(--segmentgroup-segment-shadow-selected);
|
|
6347
|
+
transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), width 0.25s cubic-bezier(0.4, 0, 0.2, 1);
|
|
6348
|
+
z-index: 0;
|
|
6349
|
+
pointer-events: none;
|
|
6307
6350
|
}
|
|
6308
6351
|
|
|
6309
6352
|
/* Segment button */
|
|
@@ -6469,273 +6512,104 @@ body {
|
|
|
6469
6512
|
}
|
|
6470
6513
|
|
|
6471
6514
|
|
|
6472
|
-
/*
|
|
6473
|
-
/*
|
|
6515
|
+
/* Scrollbar */
|
|
6516
|
+
/* Scrollbar — Figma menu scrollbar (32px rail, chevrons, grip thumb) */
|
|
6474
6517
|
|
|
6475
|
-
.muka-
|
|
6518
|
+
.muka-scrollbar {
|
|
6476
6519
|
display: flex;
|
|
6477
|
-
|
|
6478
|
-
|
|
6479
|
-
|
|
6520
|
+
flex-shrink: 0;
|
|
6521
|
+
border-left: var(--border-width-regular) solid var(--color-border-default);
|
|
6522
|
+
background-color: var(--color-surface-level3);
|
|
6523
|
+
user-select: none;
|
|
6480
6524
|
}
|
|
6481
6525
|
|
|
6482
|
-
|
|
6483
|
-
|
|
6484
|
-
|
|
6485
|
-
|
|
6486
|
-
display: flex;
|
|
6487
|
-
align-items: center;
|
|
6488
|
-
gap: var(--spacing-2);
|
|
6489
|
-
background-color: var(--input-field-color-default-background);
|
|
6490
|
-
border: var(--border-width-regular) solid var(--input-field-color-default-border);
|
|
6491
|
-
border-radius: var(--input-field-radius-md);
|
|
6492
|
-
padding: 0 var(--input-field-padding-x);
|
|
6493
|
-
transition: border-color 0.12s ease, background-color 0.12s ease;
|
|
6526
|
+
.muka-scrollbar--vertical {
|
|
6527
|
+
flex-direction: column;
|
|
6528
|
+
width: var(--size-2xl, 32px);
|
|
6529
|
+
align-self: stretch;
|
|
6494
6530
|
}
|
|
6495
6531
|
|
|
6496
|
-
.muka-
|
|
6497
|
-
|
|
6532
|
+
.muka-scrollbar--horizontal {
|
|
6533
|
+
flex-direction: row;
|
|
6534
|
+
height: var(--size-2xl, 32px);
|
|
6535
|
+
width: 100%;
|
|
6536
|
+
border-left: none;
|
|
6537
|
+
border-top: var(--border-width-regular) solid var(--color-border-default);
|
|
6498
6538
|
}
|
|
6499
6539
|
|
|
6500
|
-
|
|
6501
|
-
|
|
6502
|
-
|
|
6503
|
-
|
|
6504
|
-
|
|
6540
|
+
.muka-scrollbar__button {
|
|
6541
|
+
display: flex;
|
|
6542
|
+
align-items: center;
|
|
6543
|
+
justify-content: center;
|
|
6544
|
+
flex-shrink: 0;
|
|
6545
|
+
width: 100%;
|
|
6546
|
+
height: var(--size-2xl, 32px);
|
|
6547
|
+
padding: 0;
|
|
6548
|
+
border: none;
|
|
6549
|
+
background-color: var(--button-color-tertiary-background-default, var(--color-surface-level3));
|
|
6550
|
+
color: var(--color-text-default-default);
|
|
6551
|
+
cursor: pointer;
|
|
6505
6552
|
}
|
|
6506
6553
|
|
|
6507
|
-
.muka-
|
|
6508
|
-
|
|
6554
|
+
.muka-scrollbar--horizontal .muka-scrollbar__button {
|
|
6555
|
+
width: var(--size-2xl, 32px);
|
|
6556
|
+
height: 100%;
|
|
6509
6557
|
}
|
|
6510
6558
|
|
|
6511
|
-
.muka-
|
|
6512
|
-
|
|
6513
|
-
border-radius: var(--input-field-radius-lg);
|
|
6559
|
+
.muka-scrollbar__button:hover {
|
|
6560
|
+
background-color: var(--color-surface-hover);
|
|
6514
6561
|
}
|
|
6515
6562
|
|
|
6516
|
-
|
|
6517
|
-
|
|
6518
|
-
|
|
6519
|
-
|
|
6520
|
-
|
|
6563
|
+
.muka-scrollbar__divider {
|
|
6564
|
+
flex-shrink: 0;
|
|
6565
|
+
width: 100%;
|
|
6566
|
+
height: 1px;
|
|
6567
|
+
background-color: var(--color-border-default);
|
|
6521
6568
|
}
|
|
6522
6569
|
|
|
6523
|
-
.muka-
|
|
6524
|
-
|
|
6525
|
-
|
|
6570
|
+
.muka-scrollbar--horizontal .muka-scrollbar__divider {
|
|
6571
|
+
width: 1px;
|
|
6572
|
+
height: 100%;
|
|
6526
6573
|
}
|
|
6527
6574
|
|
|
6528
|
-
|
|
6529
|
-
|
|
6530
|
-
|
|
6531
|
-
|
|
6532
|
-
|
|
6575
|
+
.muka-scrollbar__track {
|
|
6576
|
+
position: relative;
|
|
6577
|
+
display: flex;
|
|
6578
|
+
flex-direction: column;
|
|
6579
|
+
flex: 1 1 auto;
|
|
6580
|
+
min-height: 0;
|
|
6581
|
+
width: 100%;
|
|
6533
6582
|
}
|
|
6534
6583
|
|
|
6535
|
-
|
|
6584
|
+
.muka-scrollbar--horizontal .muka-scrollbar__track {
|
|
6585
|
+
flex-direction: row;
|
|
6586
|
+
min-width: 0;
|
|
6587
|
+
height: 100%;
|
|
6588
|
+
}
|
|
6536
6589
|
|
|
6537
|
-
.muka-
|
|
6538
|
-
|
|
6590
|
+
.muka-scrollbar__thumb {
|
|
6591
|
+
position: absolute;
|
|
6592
|
+
left: 0;
|
|
6593
|
+
top: 0;
|
|
6594
|
+
z-index: 1;
|
|
6595
|
+
display: flex;
|
|
6539
6596
|
align-items: center;
|
|
6540
6597
|
justify-content: center;
|
|
6541
|
-
|
|
6542
|
-
|
|
6598
|
+
width: 100%;
|
|
6599
|
+
/* Figma: scrollbar thumb fill = surface/level3 */
|
|
6600
|
+
background-color: var(--color-surface-level3);
|
|
6601
|
+
cursor: grab;
|
|
6602
|
+
touch-action: none;
|
|
6543
6603
|
}
|
|
6544
6604
|
|
|
6545
|
-
|
|
6546
|
-
|
|
6547
|
-
|
|
6548
|
-
|
|
6549
|
-
|
|
6550
|
-
|
|
6551
|
-
|
|
6552
|
-
|
|
6553
|
-
padding: 0;
|
|
6554
|
-
color: var(--color-text-default-default);
|
|
6555
|
-
font-family: var(--text-body-base-regular-fontFamily);
|
|
6556
|
-
font-weight: var(--text-body-base-regular-fontWeight);
|
|
6557
|
-
font-size: var(--text-body-base-regular-fontSize);
|
|
6558
|
-
line-height: var(--text-body-base-regular-lineHeight);
|
|
6559
|
-
appearance: none;
|
|
6560
|
-
-webkit-appearance: none;
|
|
6561
|
-
}
|
|
6562
|
-
|
|
6563
|
-
.muka-search-input__input::placeholder {
|
|
6564
|
-
color: var(--color-text-subtle-default);
|
|
6565
|
-
}
|
|
6566
|
-
|
|
6567
|
-
/* Hide the browser-supplied clear button (WebKit + Edge) */
|
|
6568
|
-
.muka-search-input__input::-webkit-search-cancel-button,
|
|
6569
|
-
.muka-search-input__input::-webkit-search-decoration {
|
|
6570
|
-
-webkit-appearance: none;
|
|
6571
|
-
appearance: none;
|
|
6572
|
-
}
|
|
6573
|
-
|
|
6574
|
-
.muka-search-input__input::-ms-clear {
|
|
6575
|
-
display: none;
|
|
6576
|
-
}
|
|
6577
|
-
|
|
6578
|
-
/* ─── Trailing slot (loading spinner) ─────────────────── */
|
|
6579
|
-
|
|
6580
|
-
.muka-search-input__trailing {
|
|
6581
|
-
display: inline-flex;
|
|
6582
|
-
align-items: center;
|
|
6583
|
-
justify-content: center;
|
|
6584
|
-
flex-shrink: 0;
|
|
6585
|
-
}
|
|
6586
|
-
|
|
6587
|
-
/* ─── Clear button ────────────────────────────────────── */
|
|
6588
|
-
|
|
6589
|
-
.muka-search-input__clear {
|
|
6590
|
-
display: inline-flex;
|
|
6591
|
-
align-items: center;
|
|
6592
|
-
justify-content: center;
|
|
6593
|
-
width: 20px;
|
|
6594
|
-
height: 20px;
|
|
6595
|
-
border: none;
|
|
6596
|
-
background: none;
|
|
6597
|
-
padding: 0;
|
|
6598
|
-
cursor: pointer;
|
|
6599
|
-
color: var(--color-text-subtle-default);
|
|
6600
|
-
flex-shrink: 0;
|
|
6601
|
-
-webkit-tap-highlight-color: transparent;
|
|
6602
|
-
}
|
|
6603
|
-
|
|
6604
|
-
.muka-search-input__clear:hover {
|
|
6605
|
-
color: var(--color-text-default-default);
|
|
6606
|
-
}
|
|
6607
|
-
|
|
6608
|
-
.muka-search-input__clear:focus-visible {
|
|
6609
|
-
outline: 2px solid var(--color-action-default);
|
|
6610
|
-
outline-offset: 2px;
|
|
6611
|
-
border-radius: 50%;
|
|
6612
|
-
}
|
|
6613
|
-
|
|
6614
|
-
/* ─── Cancel button ───────────────────────────────────── */
|
|
6615
|
-
|
|
6616
|
-
.muka-search-input__cancel {
|
|
6617
|
-
flex-shrink: 0;
|
|
6618
|
-
background: none;
|
|
6619
|
-
border: none;
|
|
6620
|
-
padding: var(--spacing-1) var(--spacing-2);
|
|
6621
|
-
cursor: pointer;
|
|
6622
|
-
color: var(--color-action-default);
|
|
6623
|
-
font-family: var(--text-label-md-regular-fontFamily);
|
|
6624
|
-
font-weight: var(--text-label-md-regular-fontWeight);
|
|
6625
|
-
font-size: var(--text-label-md-regular-fontSize);
|
|
6626
|
-
line-height: var(--text-label-md-regular-lineHeight);
|
|
6627
|
-
-webkit-tap-highlight-color: transparent;
|
|
6628
|
-
}
|
|
6629
|
-
|
|
6630
|
-
.muka-search-input__cancel:hover {
|
|
6631
|
-
color: var(--color-action-hover);
|
|
6632
|
-
}
|
|
6633
|
-
|
|
6634
|
-
.muka-search-input__cancel:focus-visible {
|
|
6635
|
-
outline: 2px solid var(--color-action-default);
|
|
6636
|
-
outline-offset: 2px;
|
|
6637
|
-
border-radius: var(--radius-sm);
|
|
6638
|
-
}
|
|
6639
|
-
|
|
6640
|
-
|
|
6641
|
-
/* Scrollbar */
|
|
6642
|
-
/* Scrollbar — Figma menu scrollbar (32px rail, chevrons, grip thumb) */
|
|
6643
|
-
|
|
6644
|
-
.muka-scrollbar {
|
|
6645
|
-
display: flex;
|
|
6646
|
-
flex-shrink: 0;
|
|
6647
|
-
border-left: var(--border-width-regular) solid var(--color-border-default);
|
|
6648
|
-
background-color: var(--color-surface-level3);
|
|
6649
|
-
user-select: none;
|
|
6650
|
-
}
|
|
6651
|
-
|
|
6652
|
-
.muka-scrollbar--vertical {
|
|
6653
|
-
flex-direction: column;
|
|
6654
|
-
width: var(--size-2xl, 32px);
|
|
6655
|
-
align-self: stretch;
|
|
6656
|
-
}
|
|
6657
|
-
|
|
6658
|
-
.muka-scrollbar--horizontal {
|
|
6659
|
-
flex-direction: row;
|
|
6660
|
-
height: var(--size-2xl, 32px);
|
|
6661
|
-
width: 100%;
|
|
6662
|
-
border-left: none;
|
|
6663
|
-
border-top: var(--border-width-regular) solid var(--color-border-default);
|
|
6664
|
-
}
|
|
6665
|
-
|
|
6666
|
-
.muka-scrollbar__button {
|
|
6667
|
-
display: flex;
|
|
6668
|
-
align-items: center;
|
|
6669
|
-
justify-content: center;
|
|
6670
|
-
flex-shrink: 0;
|
|
6671
|
-
width: 100%;
|
|
6672
|
-
height: var(--size-2xl, 32px);
|
|
6673
|
-
padding: 0;
|
|
6674
|
-
border: none;
|
|
6675
|
-
background-color: var(--button-color-tertiary-background-default, var(--color-surface-level3));
|
|
6676
|
-
color: var(--color-text-default-default);
|
|
6677
|
-
cursor: pointer;
|
|
6678
|
-
}
|
|
6679
|
-
|
|
6680
|
-
.muka-scrollbar--horizontal .muka-scrollbar__button {
|
|
6681
|
-
width: var(--size-2xl, 32px);
|
|
6682
|
-
height: 100%;
|
|
6683
|
-
}
|
|
6684
|
-
|
|
6685
|
-
.muka-scrollbar__button:hover {
|
|
6686
|
-
background-color: var(--color-surface-hover);
|
|
6687
|
-
}
|
|
6688
|
-
|
|
6689
|
-
.muka-scrollbar__divider {
|
|
6690
|
-
flex-shrink: 0;
|
|
6691
|
-
width: 100%;
|
|
6692
|
-
height: 1px;
|
|
6693
|
-
background-color: var(--color-border-default);
|
|
6694
|
-
}
|
|
6695
|
-
|
|
6696
|
-
.muka-scrollbar--horizontal .muka-scrollbar__divider {
|
|
6697
|
-
width: 1px;
|
|
6698
|
-
height: 100%;
|
|
6699
|
-
}
|
|
6700
|
-
|
|
6701
|
-
.muka-scrollbar__track {
|
|
6702
|
-
position: relative;
|
|
6703
|
-
display: flex;
|
|
6704
|
-
flex-direction: column;
|
|
6705
|
-
flex: 1 1 auto;
|
|
6706
|
-
min-height: 0;
|
|
6707
|
-
width: 100%;
|
|
6708
|
-
}
|
|
6709
|
-
|
|
6710
|
-
.muka-scrollbar--horizontal .muka-scrollbar__track {
|
|
6711
|
-
flex-direction: row;
|
|
6712
|
-
min-width: 0;
|
|
6713
|
-
height: 100%;
|
|
6714
|
-
}
|
|
6715
|
-
|
|
6716
|
-
.muka-scrollbar__thumb {
|
|
6717
|
-
position: absolute;
|
|
6718
|
-
left: 0;
|
|
6719
|
-
top: 0;
|
|
6720
|
-
z-index: 1;
|
|
6721
|
-
display: flex;
|
|
6722
|
-
align-items: center;
|
|
6723
|
-
justify-content: center;
|
|
6724
|
-
width: 100%;
|
|
6725
|
-
/* Figma: scrollbar thumb fill = surface/level3 */
|
|
6726
|
-
background-color: var(--color-surface-level3);
|
|
6727
|
-
cursor: grab;
|
|
6728
|
-
touch-action: none;
|
|
6729
|
-
}
|
|
6730
|
-
|
|
6731
|
-
.muka-scrollbar--horizontal .muka-scrollbar__thumb {
|
|
6732
|
-
left: 0;
|
|
6733
|
-
top: 0;
|
|
6734
|
-
width: auto;
|
|
6735
|
-
height: 100%;
|
|
6736
|
-
margin-left: 0;
|
|
6737
|
-
margin-top: 0;
|
|
6738
|
-
}
|
|
6605
|
+
.muka-scrollbar--horizontal .muka-scrollbar__thumb {
|
|
6606
|
+
left: 0;
|
|
6607
|
+
top: 0;
|
|
6608
|
+
width: auto;
|
|
6609
|
+
height: 100%;
|
|
6610
|
+
margin-left: 0;
|
|
6611
|
+
margin-top: 0;
|
|
6612
|
+
}
|
|
6739
6613
|
|
|
6740
6614
|
.muka-scrollbar__thumb:active {
|
|
6741
6615
|
cursor: grabbing;
|
|
@@ -7031,63 +6905,375 @@ body {
|
|
|
7031
6905
|
}
|
|
7032
6906
|
|
|
7033
6907
|
|
|
7034
|
-
/*
|
|
7035
|
-
/*
|
|
6908
|
+
/* SearchInput */
|
|
6909
|
+
/* SearchInput Component Styles */
|
|
7036
6910
|
|
|
7037
|
-
|
|
7038
|
-
|
|
7039
|
-
display: inline-flex;
|
|
6911
|
+
.muka-search-input {
|
|
6912
|
+
display: flex;
|
|
7040
6913
|
align-items: center;
|
|
7041
|
-
gap: var(--spacing-
|
|
7042
|
-
|
|
7043
|
-
user-select: none;
|
|
6914
|
+
gap: var(--spacing-3);
|
|
6915
|
+
width: 100%;
|
|
7044
6916
|
}
|
|
7045
6917
|
|
|
7046
|
-
|
|
7047
|
-
cursor: not-allowed;
|
|
7048
|
-
opacity: 0.6;
|
|
7049
|
-
}
|
|
6918
|
+
/* ─── Field wrapper ───────────────────────────────────── */
|
|
7050
6919
|
|
|
7051
|
-
|
|
7052
|
-
|
|
7053
|
-
|
|
7054
|
-
display: inline-flex;
|
|
6920
|
+
.muka-search-input__field {
|
|
6921
|
+
flex: 1 1 auto;
|
|
6922
|
+
display: flex;
|
|
7055
6923
|
align-items: center;
|
|
7056
|
-
|
|
7057
|
-
|
|
6924
|
+
gap: var(--spacing-2);
|
|
6925
|
+
background-color: var(--input-field-color-default-background);
|
|
6926
|
+
border: var(--border-width-regular) solid var(--input-field-color-default-border);
|
|
6927
|
+
border-radius: var(--input-field-radius-md);
|
|
6928
|
+
padding: 0 var(--input-field-padding-x);
|
|
6929
|
+
transition: border-color 0.12s ease, background-color 0.12s ease;
|
|
7058
6930
|
}
|
|
7059
6931
|
|
|
7060
|
-
|
|
7061
|
-
|
|
7062
|
-
position: absolute;
|
|
7063
|
-
width: 1px;
|
|
7064
|
-
height: 1px;
|
|
7065
|
-
padding: 0;
|
|
7066
|
-
margin: -1px;
|
|
7067
|
-
overflow: hidden;
|
|
7068
|
-
clip: rect(0, 0, 0, 0);
|
|
7069
|
-
white-space: nowrap;
|
|
7070
|
-
border: 0;
|
|
6932
|
+
.muka-search-input--focused .muka-search-input__field {
|
|
6933
|
+
border-color: var(--input-field-color-focus-border, var(--color-action-default));
|
|
7071
6934
|
}
|
|
7072
6935
|
|
|
7073
|
-
/*
|
|
7074
|
-
.muka-radio__indicator {
|
|
7075
|
-
display: flex;
|
|
7076
|
-
align-items: center;
|
|
7077
|
-
justify-content: center;
|
|
7078
|
-
width: var(--radio-size-default);
|
|
7079
|
-
height: var(--radio-size-default);
|
|
7080
|
-
border-radius: var(--border-radius-full);
|
|
7081
|
-
background-color: var(--radio-color-default-background);
|
|
7082
|
-
border: var(--border-width-regular) solid var(--radio-color-default-border);
|
|
7083
|
-
transition: all 0.15s ease;
|
|
7084
|
-
box-shadow: inset 0 1px 2px 0 rgba(26, 26, 26, 0.15);
|
|
7085
|
-
}
|
|
6936
|
+
/* ─── Sizes ───────────────────────────────────────────── */
|
|
7086
6937
|
|
|
7087
|
-
|
|
7088
|
-
|
|
7089
|
-
|
|
7090
|
-
|
|
6938
|
+
.muka-search-input--sm .muka-search-input__field {
|
|
6939
|
+
min-height: var(--input-field-height-sm);
|
|
6940
|
+
border-radius: var(--input-field-radius-sm);
|
|
6941
|
+
}
|
|
6942
|
+
|
|
6943
|
+
.muka-search-input--md .muka-search-input__field {
|
|
6944
|
+
min-height: var(--input-field-height-default);
|
|
6945
|
+
}
|
|
6946
|
+
|
|
6947
|
+
.muka-search-input--lg .muka-search-input__field {
|
|
6948
|
+
min-height: var(--input-field-height-lg);
|
|
6949
|
+
border-radius: var(--input-field-radius-lg);
|
|
6950
|
+
}
|
|
6951
|
+
|
|
6952
|
+
/* ─── Embedded variant (e.g. inside TopBar) ───────────── */
|
|
6953
|
+
|
|
6954
|
+
.muka-search-input--embedded .muka-search-input__field {
|
|
6955
|
+
background-color: var(--color-surface-level1);
|
|
6956
|
+
border-color: transparent;
|
|
6957
|
+
}
|
|
6958
|
+
|
|
6959
|
+
.muka-search-input--embedded.muka-search-input--focused .muka-search-input__field {
|
|
6960
|
+
border-color: transparent;
|
|
6961
|
+
background-color: var(--color-surface-level2);
|
|
6962
|
+
}
|
|
6963
|
+
|
|
6964
|
+
/* ─── Disabled ────────────────────────────────────────── */
|
|
6965
|
+
|
|
6966
|
+
.muka-search-input--disabled .muka-search-input__field {
|
|
6967
|
+
opacity: 0.5;
|
|
6968
|
+
pointer-events: none;
|
|
6969
|
+
}
|
|
6970
|
+
|
|
6971
|
+
/* ─── Leading icon ────────────────────────────────────── */
|
|
6972
|
+
|
|
6973
|
+
.muka-search-input__leading {
|
|
6974
|
+
display: inline-flex;
|
|
6975
|
+
align-items: center;
|
|
6976
|
+
justify-content: center;
|
|
6977
|
+
flex-shrink: 0;
|
|
6978
|
+
color: var(--color-text-subtle-default);
|
|
6979
|
+
}
|
|
6980
|
+
|
|
6981
|
+
/* ─── Input element ───────────────────────────────────── */
|
|
6982
|
+
|
|
6983
|
+
.muka-search-input__input {
|
|
6984
|
+
flex: 1 1 auto;
|
|
6985
|
+
min-width: 0;
|
|
6986
|
+
border: none;
|
|
6987
|
+
background: transparent;
|
|
6988
|
+
outline: none;
|
|
6989
|
+
padding: 0;
|
|
6990
|
+
color: var(--color-text-default-default);
|
|
6991
|
+
font-family: var(--text-body-base-regular-fontFamily);
|
|
6992
|
+
font-weight: var(--text-body-base-regular-fontWeight);
|
|
6993
|
+
font-size: var(--text-body-base-regular-fontSize);
|
|
6994
|
+
line-height: var(--text-body-base-regular-lineHeight);
|
|
6995
|
+
appearance: none;
|
|
6996
|
+
-webkit-appearance: none;
|
|
6997
|
+
}
|
|
6998
|
+
|
|
6999
|
+
.muka-search-input__input::placeholder {
|
|
7000
|
+
color: var(--color-text-subtle-default);
|
|
7001
|
+
}
|
|
7002
|
+
|
|
7003
|
+
/* Hide the browser-supplied clear button (WebKit + Edge) */
|
|
7004
|
+
.muka-search-input__input::-webkit-search-cancel-button,
|
|
7005
|
+
.muka-search-input__input::-webkit-search-decoration {
|
|
7006
|
+
-webkit-appearance: none;
|
|
7007
|
+
appearance: none;
|
|
7008
|
+
}
|
|
7009
|
+
|
|
7010
|
+
.muka-search-input__input::-ms-clear {
|
|
7011
|
+
display: none;
|
|
7012
|
+
}
|
|
7013
|
+
|
|
7014
|
+
/* ─── Trailing slot (loading spinner) ─────────────────── */
|
|
7015
|
+
|
|
7016
|
+
.muka-search-input__trailing {
|
|
7017
|
+
display: inline-flex;
|
|
7018
|
+
align-items: center;
|
|
7019
|
+
justify-content: center;
|
|
7020
|
+
flex-shrink: 0;
|
|
7021
|
+
}
|
|
7022
|
+
|
|
7023
|
+
/* ─── Clear button ────────────────────────────────────── */
|
|
7024
|
+
|
|
7025
|
+
.muka-search-input__clear {
|
|
7026
|
+
display: inline-flex;
|
|
7027
|
+
align-items: center;
|
|
7028
|
+
justify-content: center;
|
|
7029
|
+
width: 20px;
|
|
7030
|
+
height: 20px;
|
|
7031
|
+
border: none;
|
|
7032
|
+
background: none;
|
|
7033
|
+
padding: 0;
|
|
7034
|
+
cursor: pointer;
|
|
7035
|
+
color: var(--color-text-subtle-default);
|
|
7036
|
+
flex-shrink: 0;
|
|
7037
|
+
-webkit-tap-highlight-color: transparent;
|
|
7038
|
+
}
|
|
7039
|
+
|
|
7040
|
+
.muka-search-input__clear:hover {
|
|
7041
|
+
color: var(--color-text-default-default);
|
|
7042
|
+
}
|
|
7043
|
+
|
|
7044
|
+
.muka-search-input__clear:focus-visible {
|
|
7045
|
+
outline: 2px solid var(--color-action-default);
|
|
7046
|
+
outline-offset: 2px;
|
|
7047
|
+
border-radius: 50%;
|
|
7048
|
+
}
|
|
7049
|
+
|
|
7050
|
+
/* ─── Cancel button ───────────────────────────────────── */
|
|
7051
|
+
|
|
7052
|
+
.muka-search-input__cancel {
|
|
7053
|
+
flex-shrink: 0;
|
|
7054
|
+
background: none;
|
|
7055
|
+
border: none;
|
|
7056
|
+
padding: var(--spacing-1) var(--spacing-2);
|
|
7057
|
+
cursor: pointer;
|
|
7058
|
+
color: var(--color-action-default);
|
|
7059
|
+
font-family: var(--text-label-md-regular-fontFamily);
|
|
7060
|
+
font-weight: var(--text-label-md-regular-fontWeight);
|
|
7061
|
+
font-size: var(--text-label-md-regular-fontSize);
|
|
7062
|
+
line-height: var(--text-label-md-regular-lineHeight);
|
|
7063
|
+
-webkit-tap-highlight-color: transparent;
|
|
7064
|
+
}
|
|
7065
|
+
|
|
7066
|
+
.muka-search-input__cancel:hover {
|
|
7067
|
+
color: var(--color-action-hover);
|
|
7068
|
+
}
|
|
7069
|
+
|
|
7070
|
+
.muka-search-input__cancel:focus-visible {
|
|
7071
|
+
outline: 2px solid var(--color-action-default);
|
|
7072
|
+
outline-offset: 2px;
|
|
7073
|
+
border-radius: var(--radius-sm);
|
|
7074
|
+
}
|
|
7075
|
+
|
|
7076
|
+
|
|
7077
|
+
/* RadioTile */
|
|
7078
|
+
/* RadioTile Component Styles - Using Muka Design Tokens */
|
|
7079
|
+
|
|
7080
|
+
/* Base tile styles - horizontal */
|
|
7081
|
+
.muka-radio-tile {
|
|
7082
|
+
display: flex;
|
|
7083
|
+
align-items: center;
|
|
7084
|
+
gap: var(--spacing-4);
|
|
7085
|
+
padding: var(--spacing-4);
|
|
7086
|
+
border: var(--border-width-regular) solid var(--input-field-color-default-border);
|
|
7087
|
+
border-radius: var(--input-field-radius-lg);
|
|
7088
|
+
background-color: var(--color-surface-level3);
|
|
7089
|
+
cursor: pointer;
|
|
7090
|
+
transition: border-color 0.15s ease, border-width 0.15s ease;
|
|
7091
|
+
overflow: hidden;
|
|
7092
|
+
box-sizing: border-box;
|
|
7093
|
+
}
|
|
7094
|
+
|
|
7095
|
+
.muka-radio-tile--disabled {
|
|
7096
|
+
cursor: not-allowed;
|
|
7097
|
+
opacity: 0.6;
|
|
7098
|
+
}
|
|
7099
|
+
|
|
7100
|
+
/* Selected state */
|
|
7101
|
+
.muka-radio-tile[data-checked] {
|
|
7102
|
+
border-width: var(--border-width-bold);
|
|
7103
|
+
border-color: var(--color-action-default);
|
|
7104
|
+
}
|
|
7105
|
+
|
|
7106
|
+
/* Vertical layout */
|
|
7107
|
+
.muka-radio-tile--vertical {
|
|
7108
|
+
flex-direction: column;
|
|
7109
|
+
align-items: center;
|
|
7110
|
+
gap: var(--spacing-2);
|
|
7111
|
+
position: relative;
|
|
7112
|
+
width: 160px;
|
|
7113
|
+
}
|
|
7114
|
+
|
|
7115
|
+
/* Radio container */
|
|
7116
|
+
.muka-radio-tile__radio {
|
|
7117
|
+
flex-shrink: 0;
|
|
7118
|
+
}
|
|
7119
|
+
|
|
7120
|
+
/* Corner-positioned radio for vertical */
|
|
7121
|
+
.muka-radio-tile__radio--corner {
|
|
7122
|
+
position: absolute;
|
|
7123
|
+
top: var(--spacing-4);
|
|
7124
|
+
left: var(--spacing-4);
|
|
7125
|
+
}
|
|
7126
|
+
|
|
7127
|
+
/* Adjust corner position when selected (border is thicker) */
|
|
7128
|
+
.muka-radio-tile[data-checked] .muka-radio-tile__radio--corner {
|
|
7129
|
+
top: calc(var(--spacing-4) - 1px);
|
|
7130
|
+
left: calc(var(--spacing-4) - 1px);
|
|
7131
|
+
}
|
|
7132
|
+
|
|
7133
|
+
/* Icon */
|
|
7134
|
+
.muka-radio-tile__icon {
|
|
7135
|
+
display: flex;
|
|
7136
|
+
align-items: center;
|
|
7137
|
+
justify-content: center;
|
|
7138
|
+
flex-shrink: 0;
|
|
7139
|
+
width: var(--icon-size-default);
|
|
7140
|
+
height: var(--icon-size-default);
|
|
7141
|
+
color: var(--color-text-default-default);
|
|
7142
|
+
}
|
|
7143
|
+
|
|
7144
|
+
.muka-radio-tile__icon svg {
|
|
7145
|
+
width: 100%;
|
|
7146
|
+
height: 100%;
|
|
7147
|
+
}
|
|
7148
|
+
|
|
7149
|
+
/* Image */
|
|
7150
|
+
.muka-radio-tile__image {
|
|
7151
|
+
flex-shrink: 0;
|
|
7152
|
+
overflow: hidden;
|
|
7153
|
+
border-radius: var(--border-radius-sm);
|
|
7154
|
+
}
|
|
7155
|
+
|
|
7156
|
+
.muka-radio-tile__image img {
|
|
7157
|
+
display: block;
|
|
7158
|
+
width: 100%;
|
|
7159
|
+
height: 100%;
|
|
7160
|
+
object-fit: cover;
|
|
7161
|
+
}
|
|
7162
|
+
|
|
7163
|
+
/* Horizontal image sizing */
|
|
7164
|
+
.muka-radio-tile__image--horizontal {
|
|
7165
|
+
width: 40px;
|
|
7166
|
+
height: 40px;
|
|
7167
|
+
}
|
|
7168
|
+
|
|
7169
|
+
/* Vertical image sizing */
|
|
7170
|
+
.muka-radio-tile--vertical .muka-radio-tile__image {
|
|
7171
|
+
width: 100%;
|
|
7172
|
+
aspect-ratio: 4/3;
|
|
7173
|
+
}
|
|
7174
|
+
|
|
7175
|
+
/* Content container */
|
|
7176
|
+
.muka-radio-tile__content {
|
|
7177
|
+
display: flex;
|
|
7178
|
+
flex-direction: column;
|
|
7179
|
+
flex: 1;
|
|
7180
|
+
min-width: 0;
|
|
7181
|
+
gap: var(--spacing-1);
|
|
7182
|
+
}
|
|
7183
|
+
|
|
7184
|
+
/* Label */
|
|
7185
|
+
.muka-radio-tile__label {
|
|
7186
|
+
font-family: var(--text-body-lg-regular-fontFamily);
|
|
7187
|
+
font-weight: var(--text-body-lg-regular-fontWeight);
|
|
7188
|
+
font-size: var(--text-body-lg-regular-fontSize);
|
|
7189
|
+
line-height: var(--text-body-lg-regular-lineHeight);
|
|
7190
|
+
color: var(--color-text-default-default);
|
|
7191
|
+
}
|
|
7192
|
+
|
|
7193
|
+
.muka-radio-tile__label--bold {
|
|
7194
|
+
font-family: var(--text-label-lg-semibold-fontFamily);
|
|
7195
|
+
font-weight: var(--text-label-lg-semibold-fontWeight);
|
|
7196
|
+
font-size: var(--text-label-lg-semibold-fontSize);
|
|
7197
|
+
line-height: var(--text-label-lg-semibold-lineHeight);
|
|
7198
|
+
}
|
|
7199
|
+
|
|
7200
|
+
.muka-radio-tile__label--center {
|
|
7201
|
+
text-align: center;
|
|
7202
|
+
}
|
|
7203
|
+
|
|
7204
|
+
/* Caption */
|
|
7205
|
+
.muka-radio-tile__caption {
|
|
7206
|
+
font-family: var(--text-body-base-regular-fontFamily);
|
|
7207
|
+
font-weight: var(--text-body-base-regular-fontWeight);
|
|
7208
|
+
font-size: var(--text-body-base-regular-fontSize);
|
|
7209
|
+
line-height: var(--text-body-base-regular-lineHeight);
|
|
7210
|
+
color: var(--color-text-subtle-default);
|
|
7211
|
+
}
|
|
7212
|
+
|
|
7213
|
+
/* Disabled states */
|
|
7214
|
+
.muka-radio-tile--disabled .muka-radio-tile__label,
|
|
7215
|
+
.muka-radio-tile--disabled .muka-radio-tile__icon {
|
|
7216
|
+
color: var(--color-text-subtle-default);
|
|
7217
|
+
}
|
|
7218
|
+
|
|
7219
|
+
|
|
7220
|
+
/* Radio */
|
|
7221
|
+
/* Radio Component Styles - Using Muka Design Tokens */
|
|
7222
|
+
|
|
7223
|
+
/* Wrapper - clickable label container */
|
|
7224
|
+
.muka-radio {
|
|
7225
|
+
display: inline-flex;
|
|
7226
|
+
align-items: center;
|
|
7227
|
+
gap: var(--spacing-4);
|
|
7228
|
+
cursor: pointer;
|
|
7229
|
+
user-select: none;
|
|
7230
|
+
}
|
|
7231
|
+
|
|
7232
|
+
.muka-radio--disabled {
|
|
7233
|
+
cursor: not-allowed;
|
|
7234
|
+
opacity: 0.6;
|
|
7235
|
+
}
|
|
7236
|
+
|
|
7237
|
+
/* Control container */
|
|
7238
|
+
.muka-radio__control {
|
|
7239
|
+
position: relative;
|
|
7240
|
+
display: inline-flex;
|
|
7241
|
+
align-items: center;
|
|
7242
|
+
justify-content: center;
|
|
7243
|
+
flex-shrink: 0;
|
|
7244
|
+
}
|
|
7245
|
+
|
|
7246
|
+
/* Hidden native input */
|
|
7247
|
+
.muka-radio__input {
|
|
7248
|
+
position: absolute;
|
|
7249
|
+
width: 1px;
|
|
7250
|
+
height: 1px;
|
|
7251
|
+
padding: 0;
|
|
7252
|
+
margin: -1px;
|
|
7253
|
+
overflow: hidden;
|
|
7254
|
+
clip: rect(0, 0, 0, 0);
|
|
7255
|
+
white-space: nowrap;
|
|
7256
|
+
border: 0;
|
|
7257
|
+
}
|
|
7258
|
+
|
|
7259
|
+
/* Visual indicator (circle) */
|
|
7260
|
+
.muka-radio__indicator {
|
|
7261
|
+
display: flex;
|
|
7262
|
+
align-items: center;
|
|
7263
|
+
justify-content: center;
|
|
7264
|
+
width: var(--radio-size-default);
|
|
7265
|
+
height: var(--radio-size-default);
|
|
7266
|
+
border-radius: var(--border-radius-full);
|
|
7267
|
+
background-color: var(--radio-color-default-background);
|
|
7268
|
+
border: var(--border-width-regular) solid var(--radio-color-default-border);
|
|
7269
|
+
transition: all 0.15s ease;
|
|
7270
|
+
box-shadow: inset 0 1px 2px 0 rgba(26, 26, 26, 0.15);
|
|
7271
|
+
}
|
|
7272
|
+
|
|
7273
|
+
/* Size variants */
|
|
7274
|
+
.muka-radio--sm .muka-radio__indicator {
|
|
7275
|
+
width: var(--radio-size-sm);
|
|
7276
|
+
height: var(--radio-size-sm);
|
|
7091
7277
|
}
|
|
7092
7278
|
|
|
7093
7279
|
.muka-radio--lg .muka-radio__indicator {
|
|
@@ -7707,225 +7893,82 @@ body {
|
|
|
7707
7893
|
/* Figma: 12px around, 4px more after the label. */
|
|
7708
7894
|
padding: var(--spacing-3) var(--spacing-4) var(--spacing-3) var(--spacing-3);
|
|
7709
7895
|
border: none;
|
|
7710
|
-
border-radius: var(--border-radius-xl) var(--border-radius-xl) 0 0;
|
|
7711
|
-
background-color: var(--muka-progress-tracker-tab-surface);
|
|
7712
|
-
color: var(--color-text-default-default);
|
|
7713
|
-
font: inherit;
|
|
7714
|
-
text-align: left;
|
|
7715
|
-
white-space: nowrap;
|
|
7716
|
-
filter: drop-shadow(0 0 0.5px var(--color-black-alpha-5))
|
|
7717
|
-
drop-shadow(0 8px 8px var(--color-black-alpha-5));
|
|
7718
|
-
}
|
|
7719
|
-
|
|
7720
|
-
/* Concave corners: the tab's bottom flares out into the surface. */
|
|
7721
|
-
.muka-progress-tracker__tab::before,
|
|
7722
|
-
.muka-progress-tracker__tab::after {
|
|
7723
|
-
content: '';
|
|
7724
|
-
position: absolute;
|
|
7725
|
-
bottom: 0;
|
|
7726
|
-
width: var(--border-radius-xl);
|
|
7727
|
-
height: var(--border-radius-xl);
|
|
7728
|
-
pointer-events: none;
|
|
7729
|
-
}
|
|
7730
|
-
|
|
7731
|
-
.muka-progress-tracker__tab::before {
|
|
7732
|
-
right: 100%;
|
|
7733
|
-
background: radial-gradient(
|
|
7734
|
-
circle at 0 0,
|
|
7735
|
-
transparent calc(var(--border-radius-xl) - 0.5px),
|
|
7736
|
-
var(--muka-progress-tracker-tab-surface) var(--border-radius-xl)
|
|
7737
|
-
);
|
|
7738
|
-
}
|
|
7739
|
-
|
|
7740
|
-
.muka-progress-tracker__tab::after {
|
|
7741
|
-
left: 100%;
|
|
7742
|
-
background: radial-gradient(
|
|
7743
|
-
circle at 100% 0,
|
|
7744
|
-
transparent calc(var(--border-radius-xl) - 0.5px),
|
|
7745
|
-
var(--muka-progress-tracker-tab-surface) var(--border-radius-xl)
|
|
7746
|
-
);
|
|
7747
|
-
}
|
|
7748
|
-
|
|
7749
|
-
.muka-progress-tracker__tab--selected {
|
|
7750
|
-
--muka-progress-tracker-tab-surface: var(
|
|
7751
|
-
--muka-progress-tracker-tab-selected,
|
|
7752
|
-
var(--color-surface-level3)
|
|
7753
|
-
);
|
|
7754
|
-
}
|
|
7755
|
-
|
|
7756
|
-
button.muka-progress-tracker__tab {
|
|
7757
|
-
cursor: pointer;
|
|
7758
|
-
}
|
|
7759
|
-
|
|
7760
|
-
button.muka-progress-tracker__tab:not(.muka-progress-tracker__tab--selected):hover {
|
|
7761
|
-
background-image: linear-gradient(var(--color-surface-hover), var(--color-surface-hover));
|
|
7762
|
-
}
|
|
7763
|
-
|
|
7764
|
-
button.muka-progress-tracker__tab:focus-visible {
|
|
7765
|
-
outline: 2px solid var(--color-border-focus);
|
|
7766
|
-
outline-offset: -2px;
|
|
7767
|
-
}
|
|
7768
|
-
|
|
7769
|
-
.muka-progress-tracker--tabs .muka-progress-tracker__label {
|
|
7770
|
-
font-family: var(--text-body-base-regular-fontFamily);
|
|
7771
|
-
font-weight: var(--text-body-base-regular-fontWeight);
|
|
7772
|
-
font-size: var(--text-body-base-regular-fontSize);
|
|
7773
|
-
line-height: var(--text-body-base-regular-lineHeight);
|
|
7774
|
-
}
|
|
7775
|
-
|
|
7776
|
-
.muka-progress-tracker__tab--selected .muka-progress-tracker__label {
|
|
7777
|
-
font-family: var(--text-body-base-bold-fontFamily);
|
|
7778
|
-
font-weight: var(--text-body-base-bold-fontWeight);
|
|
7779
|
-
}
|
|
7780
|
-
|
|
7781
|
-
.muka-progress-tracker--tabs .muka-progress-tracker__indicator--upcoming .muka-progress-tracker__number {
|
|
7782
|
-
font-family: var(--text-label-md-semibold-fontFamily);
|
|
7783
|
-
font-weight: var(--text-label-md-semibold-fontWeight);
|
|
7784
|
-
font-size: var(--text-label-md-semibold-fontSize);
|
|
7785
|
-
line-height: var(--text-label-md-semibold-lineHeight);
|
|
7786
|
-
}
|
|
7787
|
-
|
|
7788
|
-
|
|
7789
|
-
/* RadioTile */
|
|
7790
|
-
/* RadioTile Component Styles - Using Muka Design Tokens */
|
|
7791
|
-
|
|
7792
|
-
/* Base tile styles - horizontal */
|
|
7793
|
-
.muka-radio-tile {
|
|
7794
|
-
display: flex;
|
|
7795
|
-
align-items: center;
|
|
7796
|
-
gap: var(--spacing-4);
|
|
7797
|
-
padding: var(--spacing-4);
|
|
7798
|
-
border: var(--border-width-regular) solid var(--input-field-color-default-border);
|
|
7799
|
-
border-radius: var(--input-field-radius-lg);
|
|
7800
|
-
background-color: var(--color-surface-level3);
|
|
7801
|
-
cursor: pointer;
|
|
7802
|
-
transition: border-color 0.15s ease, border-width 0.15s ease;
|
|
7803
|
-
overflow: hidden;
|
|
7804
|
-
box-sizing: border-box;
|
|
7805
|
-
}
|
|
7806
|
-
|
|
7807
|
-
.muka-radio-tile--disabled {
|
|
7808
|
-
cursor: not-allowed;
|
|
7809
|
-
opacity: 0.6;
|
|
7810
|
-
}
|
|
7811
|
-
|
|
7812
|
-
/* Selected state */
|
|
7813
|
-
.muka-radio-tile[data-checked] {
|
|
7814
|
-
border-width: var(--border-width-bold);
|
|
7815
|
-
border-color: var(--color-action-default);
|
|
7816
|
-
}
|
|
7817
|
-
|
|
7818
|
-
/* Vertical layout */
|
|
7819
|
-
.muka-radio-tile--vertical {
|
|
7820
|
-
flex-direction: column;
|
|
7821
|
-
align-items: center;
|
|
7822
|
-
gap: var(--spacing-2);
|
|
7823
|
-
position: relative;
|
|
7824
|
-
width: 160px;
|
|
7825
|
-
}
|
|
7826
|
-
|
|
7827
|
-
/* Radio container */
|
|
7828
|
-
.muka-radio-tile__radio {
|
|
7829
|
-
flex-shrink: 0;
|
|
7830
|
-
}
|
|
7831
|
-
|
|
7832
|
-
/* Corner-positioned radio for vertical */
|
|
7833
|
-
.muka-radio-tile__radio--corner {
|
|
7834
|
-
position: absolute;
|
|
7835
|
-
top: var(--spacing-4);
|
|
7836
|
-
left: var(--spacing-4);
|
|
7837
|
-
}
|
|
7838
|
-
|
|
7839
|
-
/* Adjust corner position when selected (border is thicker) */
|
|
7840
|
-
.muka-radio-tile[data-checked] .muka-radio-tile__radio--corner {
|
|
7841
|
-
top: calc(var(--spacing-4) - 1px);
|
|
7842
|
-
left: calc(var(--spacing-4) - 1px);
|
|
7843
|
-
}
|
|
7844
|
-
|
|
7845
|
-
/* Icon */
|
|
7846
|
-
.muka-radio-tile__icon {
|
|
7847
|
-
display: flex;
|
|
7848
|
-
align-items: center;
|
|
7849
|
-
justify-content: center;
|
|
7850
|
-
flex-shrink: 0;
|
|
7851
|
-
width: var(--icon-size-default);
|
|
7852
|
-
height: var(--icon-size-default);
|
|
7896
|
+
border-radius: var(--border-radius-xl) var(--border-radius-xl) 0 0;
|
|
7897
|
+
background-color: var(--muka-progress-tracker-tab-surface);
|
|
7853
7898
|
color: var(--color-text-default-default);
|
|
7899
|
+
font: inherit;
|
|
7900
|
+
text-align: left;
|
|
7901
|
+
white-space: nowrap;
|
|
7902
|
+
filter: drop-shadow(0 0 0.5px var(--color-black-alpha-5))
|
|
7903
|
+
drop-shadow(0 8px 8px var(--color-black-alpha-5));
|
|
7854
7904
|
}
|
|
7855
7905
|
|
|
7856
|
-
.
|
|
7857
|
-
|
|
7858
|
-
|
|
7859
|
-
|
|
7860
|
-
|
|
7861
|
-
|
|
7862
|
-
|
|
7863
|
-
|
|
7864
|
-
|
|
7865
|
-
border-radius: var(--border-radius-sm);
|
|
7866
|
-
}
|
|
7867
|
-
|
|
7868
|
-
.muka-radio-tile__image img {
|
|
7869
|
-
display: block;
|
|
7870
|
-
width: 100%;
|
|
7871
|
-
height: 100%;
|
|
7872
|
-
object-fit: cover;
|
|
7906
|
+
/* Concave corners: the tab's bottom flares out into the surface. */
|
|
7907
|
+
.muka-progress-tracker__tab::before,
|
|
7908
|
+
.muka-progress-tracker__tab::after {
|
|
7909
|
+
content: '';
|
|
7910
|
+
position: absolute;
|
|
7911
|
+
bottom: 0;
|
|
7912
|
+
width: var(--border-radius-xl);
|
|
7913
|
+
height: var(--border-radius-xl);
|
|
7914
|
+
pointer-events: none;
|
|
7873
7915
|
}
|
|
7874
7916
|
|
|
7875
|
-
|
|
7876
|
-
|
|
7877
|
-
|
|
7878
|
-
|
|
7917
|
+
.muka-progress-tracker__tab::before {
|
|
7918
|
+
right: 100%;
|
|
7919
|
+
background: radial-gradient(
|
|
7920
|
+
circle at 0 0,
|
|
7921
|
+
transparent calc(var(--border-radius-xl) - 0.5px),
|
|
7922
|
+
var(--muka-progress-tracker-tab-surface) var(--border-radius-xl)
|
|
7923
|
+
);
|
|
7879
7924
|
}
|
|
7880
7925
|
|
|
7881
|
-
|
|
7882
|
-
|
|
7883
|
-
|
|
7884
|
-
|
|
7926
|
+
.muka-progress-tracker__tab::after {
|
|
7927
|
+
left: 100%;
|
|
7928
|
+
background: radial-gradient(
|
|
7929
|
+
circle at 100% 0,
|
|
7930
|
+
transparent calc(var(--border-radius-xl) - 0.5px),
|
|
7931
|
+
var(--muka-progress-tracker-tab-surface) var(--border-radius-xl)
|
|
7932
|
+
);
|
|
7885
7933
|
}
|
|
7886
7934
|
|
|
7887
|
-
|
|
7888
|
-
|
|
7889
|
-
|
|
7890
|
-
|
|
7891
|
-
|
|
7892
|
-
min-width: 0;
|
|
7893
|
-
gap: var(--spacing-1);
|
|
7935
|
+
.muka-progress-tracker__tab--selected {
|
|
7936
|
+
--muka-progress-tracker-tab-surface: var(
|
|
7937
|
+
--muka-progress-tracker-tab-selected,
|
|
7938
|
+
var(--color-surface-level3)
|
|
7939
|
+
);
|
|
7894
7940
|
}
|
|
7895
7941
|
|
|
7896
|
-
|
|
7897
|
-
|
|
7898
|
-
font-family: var(--text-body-lg-regular-fontFamily);
|
|
7899
|
-
font-weight: var(--text-body-lg-regular-fontWeight);
|
|
7900
|
-
font-size: var(--text-body-lg-regular-fontSize);
|
|
7901
|
-
line-height: var(--text-body-lg-regular-lineHeight);
|
|
7902
|
-
color: var(--color-text-default-default);
|
|
7942
|
+
button.muka-progress-tracker__tab {
|
|
7943
|
+
cursor: pointer;
|
|
7903
7944
|
}
|
|
7904
7945
|
|
|
7905
|
-
.muka-
|
|
7906
|
-
|
|
7907
|
-
font-weight: var(--text-label-lg-semibold-fontWeight);
|
|
7908
|
-
font-size: var(--text-label-lg-semibold-fontSize);
|
|
7909
|
-
line-height: var(--text-label-lg-semibold-lineHeight);
|
|
7946
|
+
button.muka-progress-tracker__tab:not(.muka-progress-tracker__tab--selected):hover {
|
|
7947
|
+
background-image: linear-gradient(var(--color-surface-hover), var(--color-surface-hover));
|
|
7910
7948
|
}
|
|
7911
7949
|
|
|
7912
|
-
.muka-
|
|
7913
|
-
|
|
7950
|
+
button.muka-progress-tracker__tab:focus-visible {
|
|
7951
|
+
outline: 2px solid var(--color-border-focus);
|
|
7952
|
+
outline-offset: -2px;
|
|
7914
7953
|
}
|
|
7915
7954
|
|
|
7916
|
-
|
|
7917
|
-
.muka-radio-tile__caption {
|
|
7955
|
+
.muka-progress-tracker--tabs .muka-progress-tracker__label {
|
|
7918
7956
|
font-family: var(--text-body-base-regular-fontFamily);
|
|
7919
7957
|
font-weight: var(--text-body-base-regular-fontWeight);
|
|
7920
7958
|
font-size: var(--text-body-base-regular-fontSize);
|
|
7921
7959
|
line-height: var(--text-body-base-regular-lineHeight);
|
|
7922
|
-
color: var(--color-text-subtle-default);
|
|
7923
7960
|
}
|
|
7924
7961
|
|
|
7925
|
-
|
|
7926
|
-
|
|
7927
|
-
|
|
7928
|
-
|
|
7962
|
+
.muka-progress-tracker__tab--selected .muka-progress-tracker__label {
|
|
7963
|
+
font-family: var(--text-body-base-bold-fontFamily);
|
|
7964
|
+
font-weight: var(--text-body-base-bold-fontWeight);
|
|
7965
|
+
}
|
|
7966
|
+
|
|
7967
|
+
.muka-progress-tracker--tabs .muka-progress-tracker__indicator--upcoming .muka-progress-tracker__number {
|
|
7968
|
+
font-family: var(--text-label-md-semibold-fontFamily);
|
|
7969
|
+
font-weight: var(--text-label-md-semibold-fontWeight);
|
|
7970
|
+
font-size: var(--text-label-md-semibold-fontSize);
|
|
7971
|
+
line-height: var(--text-label-md-semibold-lineHeight);
|
|
7929
7972
|
}
|
|
7930
7973
|
|
|
7931
7974
|
|
|
@@ -8335,172 +8378,27 @@ button.muka-progress-tracker__tab:focus-visible {
|
|
|
8335
8378
|
.muka-progress--circle.muka-progress--indeterminate .muka-progress__circle {
|
|
8336
8379
|
animation: muka-progress-circle-rotate 2s linear infinite;
|
|
8337
8380
|
}
|
|
8338
|
-
|
|
8339
|
-
.muka-progress--circle.muka-progress--indeterminate .muka-progress__fill {
|
|
8340
|
-
animation: muka-progress-circle-dash 1.5s ease-in-out infinite;
|
|
8341
|
-
}
|
|
8342
|
-
|
|
8343
|
-
@keyframes muka-progress-circle-rotate {
|
|
8344
|
-
100% {
|
|
8345
|
-
transform: rotate(270deg);
|
|
8346
|
-
}
|
|
8347
|
-
}
|
|
8348
|
-
|
|
8349
|
-
@keyframes muka-progress-circle-dash {
|
|
8350
|
-
0% {
|
|
8351
|
-
stroke-dashoffset: 220;
|
|
8352
|
-
}
|
|
8353
|
-
50% {
|
|
8354
|
-
stroke-dashoffset: 70;
|
|
8355
|
-
}
|
|
8356
|
-
100% {
|
|
8357
|
-
stroke-dashoffset: 220;
|
|
8358
|
-
}
|
|
8359
|
-
}
|
|
8360
|
-
|
|
8361
|
-
|
|
8362
|
-
/* ProfileBadge */
|
|
8363
|
-
/* ProfileBadge Component Styles - Using Muka Design Tokens */
|
|
8364
|
-
|
|
8365
|
-
.muka-profile-badge {
|
|
8366
|
-
display: inline-flex;
|
|
8367
|
-
max-width: 100%;
|
|
8368
|
-
min-width: 0;
|
|
8369
|
-
align-items: center;
|
|
8370
|
-
font-family: var(--text-body-base-regular-fontFamily);
|
|
8371
|
-
}
|
|
8372
|
-
|
|
8373
|
-
/* Size variants */
|
|
8374
|
-
.muka-profile-badge--lg {
|
|
8375
|
-
gap: var(--spacing-4); /* 16px */
|
|
8376
|
-
}
|
|
8377
|
-
|
|
8378
|
-
.muka-profile-badge--md {
|
|
8379
|
-
gap: var(--spacing-3); /* 12px */
|
|
8380
|
-
}
|
|
8381
|
-
|
|
8382
|
-
.muka-profile-badge--sm {
|
|
8383
|
-
gap: var(--spacing-2); /* 8px */
|
|
8384
|
-
}
|
|
8385
|
-
|
|
8386
|
-
.muka-profile-badge__avatar {
|
|
8387
|
-
flex-shrink: 0;
|
|
8388
|
-
}
|
|
8389
|
-
|
|
8390
|
-
/* Text stack */
|
|
8391
|
-
.muka-profile-badge__text {
|
|
8392
|
-
display: flex;
|
|
8393
|
-
flex-direction: column;
|
|
8394
|
-
align-items: flex-start;
|
|
8395
|
-
min-width: 0;
|
|
8396
|
-
}
|
|
8397
|
-
|
|
8398
|
-
.muka-profile-badge__name {
|
|
8399
|
-
max-width: 100%;
|
|
8400
|
-
overflow: hidden;
|
|
8401
|
-
text-overflow: ellipsis;
|
|
8402
|
-
white-space: nowrap;
|
|
8403
|
-
font-family: var(--text-body-base-regular-fontFamily);
|
|
8404
|
-
font-size: var(--text-body-base-regular-fontSize);
|
|
8405
|
-
font-weight: var(--text-body-base-regular-fontWeight);
|
|
8406
|
-
line-height: var(--text-body-base-regular-lineHeight);
|
|
8407
|
-
color: var(--color-text-default-default);
|
|
8408
|
-
}
|
|
8409
|
-
|
|
8410
|
-
.muka-profile-badge__email {
|
|
8411
|
-
font-family: var(--text-body-xs-regular-fontFamily);
|
|
8412
|
-
font-size: var(--text-body-xs-regular-fontSize);
|
|
8413
|
-
font-weight: var(--text-body-xs-regular-fontWeight);
|
|
8414
|
-
line-height: var(--text-body-xs-regular-lineHeight);
|
|
8415
|
-
color: var(--color-text-subtle-default);
|
|
8416
|
-
}
|
|
8417
|
-
|
|
8418
|
-
/* Clickable state */
|
|
8419
|
-
.muka-profile-badge--clickable {
|
|
8420
|
-
cursor: pointer;
|
|
8421
|
-
border: none;
|
|
8422
|
-
background: none;
|
|
8423
|
-
padding: 0;
|
|
8424
|
-
text-align: left;
|
|
8425
|
-
border-radius: var(--radius-md);
|
|
8426
|
-
transition: opacity 0.2s ease;
|
|
8427
|
-
}
|
|
8428
|
-
|
|
8429
|
-
.muka-profile-badge--clickable:hover {
|
|
8430
|
-
opacity: 0.9;
|
|
8431
|
-
}
|
|
8432
|
-
|
|
8433
|
-
.muka-profile-badge--clickable:active {
|
|
8434
|
-
opacity: 0.8;
|
|
8435
|
-
}
|
|
8436
|
-
|
|
8437
|
-
.muka-profile-badge--clickable:focus-visible {
|
|
8438
|
-
outline: 2px solid var(--color-border-focus);
|
|
8439
|
-
outline-offset: 2px;
|
|
8440
|
-
}
|
|
8441
|
-
|
|
8442
|
-
/* Trailing chevron: the badge opens a menu */
|
|
8443
|
-
.muka-profile-badge__chevron {
|
|
8444
|
-
flex-shrink: 0;
|
|
8445
|
-
}
|
|
8446
|
-
|
|
8447
|
-
/*
|
|
8448
|
-
* A clickable badge with a chevron is a pill (Figma Profile Badge, Bouwplan
|
|
8449
|
-
* header): 4px inset on the avatar side, 12px after the chevron. The border
|
|
8450
|
-
* is an inset shadow so it appears on hover and while the menu is open
|
|
8451
|
-
* without moving the content.
|
|
8452
|
-
*/
|
|
8453
|
-
.muka-profile-badge--clickable.muka-profile-badge--with-chevron {
|
|
8454
|
-
padding: var(--spacing-1) var(--spacing-3) var(--spacing-1) var(--spacing-1);
|
|
8455
|
-
border-radius: var(--radius-full);
|
|
8456
|
-
transition: box-shadow 0.2s ease;
|
|
8457
|
-
}
|
|
8458
|
-
|
|
8459
|
-
.muka-profile-badge--clickable.muka-profile-badge--with-chevron:hover,
|
|
8460
|
-
.muka-profile-badge--clickable.muka-profile-badge--with-chevron:active {
|
|
8461
|
-
opacity: 1;
|
|
8462
|
-
}
|
|
8463
|
-
|
|
8464
|
-
.muka-profile-badge--clickable.muka-profile-badge--with-chevron:hover,
|
|
8465
|
-
.muka-profile-badge--clickable.muka-profile-badge--with-chevron[aria-expanded='true'],
|
|
8466
|
-
.muka-profile-badge--clickable.muka-profile-badge--with-chevron[data-state='open'] {
|
|
8467
|
-
box-shadow: inset 0 0 0 var(--border-width-regular) var(--button-color-ghost-border-hover);
|
|
8468
|
-
}
|
|
8469
|
-
|
|
8470
|
-
/* A badge without an avatar keeps the 12px start inset */
|
|
8471
|
-
.muka-profile-badge--clickable.muka-profile-badge--with-chevron:not(:has(.muka-profile-badge__avatar)) {
|
|
8472
|
-
padding-left: var(--spacing-3);
|
|
8473
|
-
}
|
|
8474
|
-
|
|
8475
|
-
|
|
8476
|
-
/* Popover */
|
|
8477
|
-
/* Popover Component Styles */
|
|
8478
|
-
|
|
8479
|
-
.muka-popover__content {
|
|
8480
|
-
background-color: var(--color-surface-level3);
|
|
8481
|
-
border: var(--border-width-regular) solid var(--color-border-default);
|
|
8482
|
-
border-radius: var(--radius-md);
|
|
8483
|
-
padding: var(--spacing-4);
|
|
8484
|
-
box-shadow: var(--shadow-level3);
|
|
8485
|
-
max-width: 20rem;
|
|
8486
|
-
z-index: 50;
|
|
8487
|
-
animation: muka-popover-fade-in 150ms ease;
|
|
8381
|
+
|
|
8382
|
+
.muka-progress--circle.muka-progress--indeterminate .muka-progress__fill {
|
|
8383
|
+
animation: muka-progress-circle-dash 1.5s ease-in-out infinite;
|
|
8488
8384
|
}
|
|
8489
8385
|
|
|
8490
|
-
@keyframes muka-
|
|
8491
|
-
|
|
8492
|
-
|
|
8493
|
-
transform: scale(0.96);
|
|
8494
|
-
}
|
|
8495
|
-
to {
|
|
8496
|
-
opacity: 1;
|
|
8497
|
-
transform: scale(1);
|
|
8386
|
+
@keyframes muka-progress-circle-rotate {
|
|
8387
|
+
100% {
|
|
8388
|
+
transform: rotate(270deg);
|
|
8498
8389
|
}
|
|
8499
8390
|
}
|
|
8500
8391
|
|
|
8501
|
-
|
|
8502
|
-
|
|
8503
|
-
|
|
8392
|
+
@keyframes muka-progress-circle-dash {
|
|
8393
|
+
0% {
|
|
8394
|
+
stroke-dashoffset: 220;
|
|
8395
|
+
}
|
|
8396
|
+
50% {
|
|
8397
|
+
stroke-dashoffset: 70;
|
|
8398
|
+
}
|
|
8399
|
+
100% {
|
|
8400
|
+
stroke-dashoffset: 220;
|
|
8401
|
+
}
|
|
8504
8402
|
}
|
|
8505
8403
|
|
|
8506
8404
|
|
|
@@ -8601,6 +8499,37 @@ button.muka-progress-tracker__tab:focus-visible {
|
|
|
8601
8499
|
}
|
|
8602
8500
|
|
|
8603
8501
|
|
|
8502
|
+
/* Popover */
|
|
8503
|
+
/* Popover Component Styles */
|
|
8504
|
+
|
|
8505
|
+
.muka-popover__content {
|
|
8506
|
+
background-color: var(--color-surface-level3);
|
|
8507
|
+
border: var(--border-width-regular) solid var(--color-border-default);
|
|
8508
|
+
border-radius: var(--radius-md);
|
|
8509
|
+
padding: var(--spacing-4);
|
|
8510
|
+
box-shadow: var(--shadow-level3);
|
|
8511
|
+
max-width: 20rem;
|
|
8512
|
+
z-index: 50;
|
|
8513
|
+
animation: muka-popover-fade-in 150ms ease;
|
|
8514
|
+
}
|
|
8515
|
+
|
|
8516
|
+
@keyframes muka-popover-fade-in {
|
|
8517
|
+
from {
|
|
8518
|
+
opacity: 0;
|
|
8519
|
+
transform: scale(0.96);
|
|
8520
|
+
}
|
|
8521
|
+
to {
|
|
8522
|
+
opacity: 1;
|
|
8523
|
+
transform: scale(1);
|
|
8524
|
+
}
|
|
8525
|
+
}
|
|
8526
|
+
|
|
8527
|
+
/* Arrow */
|
|
8528
|
+
.muka-popover__arrow {
|
|
8529
|
+
fill: var(--color-surface-level3);
|
|
8530
|
+
}
|
|
8531
|
+
|
|
8532
|
+
|
|
8604
8533
|
/* PlanningGantt */
|
|
8605
8534
|
/* PlanningGantt (MUK-105) — one week per page, never scrolls horizontally. */
|
|
8606
8535
|
|
|
@@ -8998,6 +8927,103 @@ button.muka-progress-tracker__tab:focus-visible {
|
|
|
8998
8927
|
}
|
|
8999
8928
|
|
|
9000
8929
|
|
|
8930
|
+
/* PieChart */
|
|
8931
|
+
/* PieChart Component Styles - Using Muka Design Tokens */
|
|
8932
|
+
|
|
8933
|
+
.muka-piechart {
|
|
8934
|
+
display: inline-flex;
|
|
8935
|
+
align-items: center;
|
|
8936
|
+
gap: var(--spacing-4);
|
|
8937
|
+
}
|
|
8938
|
+
|
|
8939
|
+
/* Legend layout */
|
|
8940
|
+
.muka-piechart--legend-right {
|
|
8941
|
+
flex-direction: row;
|
|
8942
|
+
}
|
|
8943
|
+
|
|
8944
|
+
.muka-piechart--legend-bottom {
|
|
8945
|
+
flex-direction: column;
|
|
8946
|
+
}
|
|
8947
|
+
|
|
8948
|
+
/* ========================================
|
|
8949
|
+
CHART
|
|
8950
|
+
======================================== */
|
|
8951
|
+
|
|
8952
|
+
.muka-piechart__chart {
|
|
8953
|
+
position: relative;
|
|
8954
|
+
flex-shrink: 0;
|
|
8955
|
+
}
|
|
8956
|
+
|
|
8957
|
+
.muka-piechart__chart--sm {
|
|
8958
|
+
width: var(--piechart-size-diameter-sm);
|
|
8959
|
+
height: var(--piechart-size-diameter-sm);
|
|
8960
|
+
}
|
|
8961
|
+
|
|
8962
|
+
.muka-piechart__chart--md {
|
|
8963
|
+
width: var(--piechart-size-diameter-md);
|
|
8964
|
+
height: var(--piechart-size-diameter-md);
|
|
8965
|
+
}
|
|
8966
|
+
|
|
8967
|
+
.muka-piechart__chart--lg {
|
|
8968
|
+
width: var(--piechart-size-diameter-lg);
|
|
8969
|
+
height: var(--piechart-size-diameter-lg);
|
|
8970
|
+
}
|
|
8971
|
+
|
|
8972
|
+
.muka-piechart__svg {
|
|
8973
|
+
display: block;
|
|
8974
|
+
width: 100%;
|
|
8975
|
+
height: 100%;
|
|
8976
|
+
/* Start slices at 12 o'clock instead of 3 o'clock */
|
|
8977
|
+
transform: rotate(-90deg);
|
|
8978
|
+
}
|
|
8979
|
+
|
|
8980
|
+
.muka-piechart__track {
|
|
8981
|
+
fill: none;
|
|
8982
|
+
stroke: var(--piechart-color-track);
|
|
8983
|
+
}
|
|
8984
|
+
|
|
8985
|
+
.muka-piechart__segment {
|
|
8986
|
+
fill: none;
|
|
8987
|
+
}
|
|
8988
|
+
|
|
8989
|
+
/* ========================================
|
|
8990
|
+
LEGEND
|
|
8991
|
+
======================================== */
|
|
8992
|
+
|
|
8993
|
+
.muka-piechart__legend {
|
|
8994
|
+
list-style: none;
|
|
8995
|
+
margin: 0;
|
|
8996
|
+
padding: 0;
|
|
8997
|
+
display: flex;
|
|
8998
|
+
flex-direction: column;
|
|
8999
|
+
gap: var(--spacing-1);
|
|
9000
|
+
}
|
|
9001
|
+
|
|
9002
|
+
.muka-piechart__legend-item {
|
|
9003
|
+
display: flex;
|
|
9004
|
+
align-items: center;
|
|
9005
|
+
gap: var(--spacing-2);
|
|
9006
|
+
font-family: var(--text-body-sm-regular-fontFamily);
|
|
9007
|
+
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
9008
|
+
font-size: var(--text-body-sm-regular-fontSize);
|
|
9009
|
+
line-height: var(--text-body-sm-regular-lineHeight);
|
|
9010
|
+
color: var(--color-text-default-default);
|
|
9011
|
+
}
|
|
9012
|
+
|
|
9013
|
+
.muka-piechart__swatch {
|
|
9014
|
+
flex-shrink: 0;
|
|
9015
|
+
width: var(--spacing-3);
|
|
9016
|
+
height: var(--spacing-3);
|
|
9017
|
+
border-radius: var(--border-radius-sm);
|
|
9018
|
+
}
|
|
9019
|
+
|
|
9020
|
+
.muka-piechart__legend-value {
|
|
9021
|
+
margin-left: auto;
|
|
9022
|
+
padding-left: var(--spacing-2);
|
|
9023
|
+
color: var(--color-text-subtle-default);
|
|
9024
|
+
}
|
|
9025
|
+
|
|
9026
|
+
|
|
9001
9027
|
/* PhotoUploader */
|
|
9002
9028
|
/* PhotoUploader Component Styles - Using Muka Design Tokens */
|
|
9003
9029
|
|
|
@@ -9135,130 +9161,147 @@ button.muka-progress-tracker__tab:focus-visible {
|
|
|
9135
9161
|
}
|
|
9136
9162
|
|
|
9137
9163
|
|
|
9138
|
-
/*
|
|
9139
|
-
/*
|
|
9164
|
+
/* ProfileBadge */
|
|
9165
|
+
/* ProfileBadge Component Styles - Using Muka Design Tokens */
|
|
9140
9166
|
|
|
9141
|
-
.muka-
|
|
9142
|
-
display: flex;
|
|
9167
|
+
.muka-profile-badge {
|
|
9168
|
+
display: inline-flex;
|
|
9169
|
+
max-width: 100%;
|
|
9170
|
+
min-width: 0;
|
|
9143
9171
|
align-items: center;
|
|
9144
|
-
|
|
9145
|
-
width: 100%;
|
|
9146
|
-
padding: var(--spacing-2) 0;
|
|
9172
|
+
font-family: var(--text-body-base-regular-fontFamily);
|
|
9147
9173
|
}
|
|
9148
9174
|
|
|
9149
|
-
|
|
9150
|
-
|
|
9151
|
-
gap: var(--spacing-
|
|
9152
|
-
flex: 1 1 auto;
|
|
9153
|
-
min-width: 0;
|
|
9154
|
-
overflow-x: auto;
|
|
9155
|
-
scroll-behavior: smooth;
|
|
9156
|
-
scrollbar-width: none;
|
|
9175
|
+
/* Size variants */
|
|
9176
|
+
.muka-profile-badge--lg {
|
|
9177
|
+
gap: var(--spacing-4); /* 16px */
|
|
9157
9178
|
}
|
|
9158
9179
|
|
|
9159
|
-
.muka-
|
|
9160
|
-
|
|
9180
|
+
.muka-profile-badge--md {
|
|
9181
|
+
gap: var(--spacing-3); /* 12px */
|
|
9161
9182
|
}
|
|
9162
9183
|
|
|
9163
|
-
.muka-
|
|
9164
|
-
|
|
9184
|
+
.muka-profile-badge--sm {
|
|
9185
|
+
gap: var(--spacing-2); /* 8px */
|
|
9165
9186
|
}
|
|
9166
9187
|
|
|
9188
|
+
.muka-profile-badge__avatar {
|
|
9189
|
+
flex-shrink: 0;
|
|
9190
|
+
}
|
|
9167
9191
|
|
|
9168
|
-
/*
|
|
9169
|
-
|
|
9192
|
+
/* Text stack */
|
|
9193
|
+
.muka-profile-badge__text {
|
|
9194
|
+
display: flex;
|
|
9195
|
+
flex-direction: column;
|
|
9196
|
+
align-items: flex-start;
|
|
9197
|
+
min-width: 0;
|
|
9198
|
+
}
|
|
9170
9199
|
|
|
9171
|
-
.muka-
|
|
9172
|
-
|
|
9173
|
-
|
|
9174
|
-
|
|
9200
|
+
.muka-profile-badge__name {
|
|
9201
|
+
max-width: 100%;
|
|
9202
|
+
overflow: hidden;
|
|
9203
|
+
text-overflow: ellipsis;
|
|
9204
|
+
white-space: nowrap;
|
|
9205
|
+
font-family: var(--text-body-base-regular-fontFamily);
|
|
9206
|
+
font-size: var(--text-body-base-regular-fontSize);
|
|
9207
|
+
font-weight: var(--text-body-base-regular-fontWeight);
|
|
9208
|
+
line-height: var(--text-body-base-regular-lineHeight);
|
|
9209
|
+
color: var(--color-text-default-default);
|
|
9175
9210
|
}
|
|
9176
9211
|
|
|
9177
|
-
|
|
9178
|
-
|
|
9179
|
-
|
|
9212
|
+
.muka-profile-badge__email {
|
|
9213
|
+
font-family: var(--text-body-xs-regular-fontFamily);
|
|
9214
|
+
font-size: var(--text-body-xs-regular-fontSize);
|
|
9215
|
+
font-weight: var(--text-body-xs-regular-fontWeight);
|
|
9216
|
+
line-height: var(--text-body-xs-regular-lineHeight);
|
|
9217
|
+
color: var(--color-text-subtle-default);
|
|
9180
9218
|
}
|
|
9181
9219
|
|
|
9182
|
-
|
|
9183
|
-
|
|
9220
|
+
/* Clickable state */
|
|
9221
|
+
.muka-profile-badge--clickable {
|
|
9222
|
+
cursor: pointer;
|
|
9223
|
+
border: none;
|
|
9224
|
+
background: none;
|
|
9225
|
+
padding: 0;
|
|
9226
|
+
text-align: left;
|
|
9227
|
+
border-radius: var(--radius-md);
|
|
9228
|
+
transition: opacity 0.2s ease;
|
|
9184
9229
|
}
|
|
9185
9230
|
|
|
9186
|
-
|
|
9187
|
-
|
|
9188
|
-
|
|
9231
|
+
.muka-profile-badge--clickable:hover {
|
|
9232
|
+
opacity: 0.9;
|
|
9233
|
+
}
|
|
9189
9234
|
|
|
9190
|
-
.muka-
|
|
9191
|
-
|
|
9192
|
-
flex-shrink: 0;
|
|
9235
|
+
.muka-profile-badge--clickable:active {
|
|
9236
|
+
opacity: 0.8;
|
|
9193
9237
|
}
|
|
9194
9238
|
|
|
9195
|
-
.muka-
|
|
9196
|
-
|
|
9197
|
-
|
|
9239
|
+
.muka-profile-badge--clickable:focus-visible {
|
|
9240
|
+
outline: 2px solid var(--color-border-focus);
|
|
9241
|
+
outline-offset: 2px;
|
|
9242
|
+
}
|
|
9243
|
+
|
|
9244
|
+
/* Trailing chevron: the badge opens a menu */
|
|
9245
|
+
.muka-profile-badge__chevron {
|
|
9246
|
+
flex-shrink: 0;
|
|
9198
9247
|
}
|
|
9199
9248
|
|
|
9200
|
-
|
|
9201
|
-
|
|
9202
|
-
|
|
9249
|
+
/*
|
|
9250
|
+
* A clickable badge with a chevron is a pill (Figma Profile Badge, Bouwplan
|
|
9251
|
+
* header): 4px inset on the avatar side, 12px after the chevron. The border
|
|
9252
|
+
* is an inset shadow so it appears on hover and while the menu is open
|
|
9253
|
+
* without moving the content.
|
|
9254
|
+
*/
|
|
9255
|
+
.muka-profile-badge--clickable.muka-profile-badge--with-chevron {
|
|
9256
|
+
padding: var(--spacing-1) var(--spacing-3) var(--spacing-1) var(--spacing-1);
|
|
9257
|
+
border-radius: var(--radius-full);
|
|
9258
|
+
transition: box-shadow 0.2s ease;
|
|
9203
9259
|
}
|
|
9204
9260
|
|
|
9205
|
-
.muka-
|
|
9206
|
-
|
|
9207
|
-
|
|
9261
|
+
.muka-profile-badge--clickable.muka-profile-badge--with-chevron:hover,
|
|
9262
|
+
.muka-profile-badge--clickable.muka-profile-badge--with-chevron:active {
|
|
9263
|
+
opacity: 1;
|
|
9208
9264
|
}
|
|
9209
9265
|
|
|
9210
|
-
.muka-
|
|
9211
|
-
|
|
9212
|
-
|
|
9213
|
-
|
|
9214
|
-
/* Start slices at 12 o'clock instead of 3 o'clock */
|
|
9215
|
-
transform: rotate(-90deg);
|
|
9266
|
+
.muka-profile-badge--clickable.muka-profile-badge--with-chevron:hover,
|
|
9267
|
+
.muka-profile-badge--clickable.muka-profile-badge--with-chevron[aria-expanded='true'],
|
|
9268
|
+
.muka-profile-badge--clickable.muka-profile-badge--with-chevron[data-state='open'] {
|
|
9269
|
+
box-shadow: inset 0 0 0 var(--border-width-regular) var(--button-color-ghost-border-hover);
|
|
9216
9270
|
}
|
|
9217
9271
|
|
|
9218
|
-
|
|
9219
|
-
|
|
9220
|
-
|
|
9272
|
+
/* A badge without an avatar keeps the 12px start inset */
|
|
9273
|
+
.muka-profile-badge--clickable.muka-profile-badge--with-chevron:not(:has(.muka-profile-badge__avatar)) {
|
|
9274
|
+
padding-left: var(--spacing-3);
|
|
9221
9275
|
}
|
|
9222
9276
|
|
|
9223
|
-
.muka-piechart__segment {
|
|
9224
|
-
fill: none;
|
|
9225
|
-
}
|
|
9226
9277
|
|
|
9227
|
-
/*
|
|
9228
|
-
|
|
9229
|
-
======================================== */
|
|
9278
|
+
/* PhotoDraftStrip */
|
|
9279
|
+
/* PhotoDraftStrip Component Styles */
|
|
9230
9280
|
|
|
9231
|
-
.muka-
|
|
9232
|
-
list-style: none;
|
|
9233
|
-
margin: 0;
|
|
9234
|
-
padding: 0;
|
|
9281
|
+
.muka-photo-draft-strip {
|
|
9235
9282
|
display: flex;
|
|
9236
|
-
|
|
9237
|
-
gap: var(--spacing-
|
|
9283
|
+
align-items: center;
|
|
9284
|
+
gap: var(--spacing-3);
|
|
9285
|
+
width: 100%;
|
|
9286
|
+
padding: var(--spacing-2) 0;
|
|
9238
9287
|
}
|
|
9239
9288
|
|
|
9240
|
-
.muka-
|
|
9289
|
+
.muka-photo-draft-strip__track {
|
|
9241
9290
|
display: flex;
|
|
9242
|
-
align-items: center;
|
|
9243
9291
|
gap: var(--spacing-2);
|
|
9244
|
-
|
|
9245
|
-
|
|
9246
|
-
|
|
9247
|
-
|
|
9248
|
-
|
|
9292
|
+
flex: 1 1 auto;
|
|
9293
|
+
min-width: 0;
|
|
9294
|
+
overflow-x: auto;
|
|
9295
|
+
scroll-behavior: smooth;
|
|
9296
|
+
scrollbar-width: none;
|
|
9249
9297
|
}
|
|
9250
9298
|
|
|
9251
|
-
.muka-
|
|
9252
|
-
|
|
9253
|
-
width: var(--spacing-3);
|
|
9254
|
-
height: var(--spacing-3);
|
|
9255
|
-
border-radius: var(--border-radius-sm);
|
|
9299
|
+
.muka-photo-draft-strip__track::-webkit-scrollbar {
|
|
9300
|
+
display: none;
|
|
9256
9301
|
}
|
|
9257
9302
|
|
|
9258
|
-
.muka-
|
|
9259
|
-
|
|
9260
|
-
padding-left: var(--spacing-2);
|
|
9261
|
-
color: var(--color-text-subtle-default);
|
|
9303
|
+
.muka-photo-draft-strip__item {
|
|
9304
|
+
flex: 0 0 auto;
|
|
9262
9305
|
}
|
|
9263
9306
|
|
|
9264
9307
|
|
|
@@ -9444,34 +9487,6 @@ button.muka-progress-tracker__tab:focus-visible {
|
|
|
9444
9487
|
}
|
|
9445
9488
|
|
|
9446
9489
|
|
|
9447
|
-
/* NavigationTransition */
|
|
9448
|
-
/* NavigationTransition Component Styles */
|
|
9449
|
-
|
|
9450
|
-
/* ─── Wrapper ────────────────────────────────────────── */
|
|
9451
|
-
|
|
9452
|
-
.muka-nav-transition {
|
|
9453
|
-
position: relative;
|
|
9454
|
-
height: 100vh;
|
|
9455
|
-
overflow: hidden;
|
|
9456
|
-
}
|
|
9457
|
-
|
|
9458
|
-
/* Disable interaction during animation */
|
|
9459
|
-
.muka-nav-transition--active {
|
|
9460
|
-
pointer-events: none;
|
|
9461
|
-
}
|
|
9462
|
-
|
|
9463
|
-
/* ─── View slots ─────────────────────────────────────── */
|
|
9464
|
-
|
|
9465
|
-
.muka-nav-transition--active .muka-nav-transition__view {
|
|
9466
|
-
position: absolute;
|
|
9467
|
-
inset: 0;
|
|
9468
|
-
}
|
|
9469
|
-
|
|
9470
|
-
/* Z-index layering */
|
|
9471
|
-
.muka-nav-transition__view--bottom { z-index: 1; }
|
|
9472
|
-
.muka-nav-transition__view--top { z-index: 2; }
|
|
9473
|
-
|
|
9474
|
-
|
|
9475
9490
|
/* NumberInput */
|
|
9476
9491
|
/* NumberInput — reuses Input field styles (../Input/Input.css). */
|
|
9477
9492
|
/* Only the prefix/suffix affixes are NumberInput-specific. */
|
|
@@ -9502,6 +9517,34 @@ button.muka-progress-tracker__tab:focus-visible {
|
|
|
9502
9517
|
}
|
|
9503
9518
|
|
|
9504
9519
|
|
|
9520
|
+
/* NavigationTransition */
|
|
9521
|
+
/* NavigationTransition Component Styles */
|
|
9522
|
+
|
|
9523
|
+
/* ─── Wrapper ────────────────────────────────────────── */
|
|
9524
|
+
|
|
9525
|
+
.muka-nav-transition {
|
|
9526
|
+
position: relative;
|
|
9527
|
+
height: 100vh;
|
|
9528
|
+
overflow: hidden;
|
|
9529
|
+
}
|
|
9530
|
+
|
|
9531
|
+
/* Disable interaction during animation */
|
|
9532
|
+
.muka-nav-transition--active {
|
|
9533
|
+
pointer-events: none;
|
|
9534
|
+
}
|
|
9535
|
+
|
|
9536
|
+
/* ─── View slots ─────────────────────────────────────── */
|
|
9537
|
+
|
|
9538
|
+
.muka-nav-transition--active .muka-nav-transition__view {
|
|
9539
|
+
position: absolute;
|
|
9540
|
+
inset: 0;
|
|
9541
|
+
}
|
|
9542
|
+
|
|
9543
|
+
/* Z-index layering */
|
|
9544
|
+
.muka-nav-transition__view--bottom { z-index: 1; }
|
|
9545
|
+
.muka-nav-transition__view--top { z-index: 2; }
|
|
9546
|
+
|
|
9547
|
+
|
|
9505
9548
|
/* Menu */
|
|
9506
9549
|
/* Menu Component Styles */
|
|
9507
9550
|
|
|
@@ -11475,95 +11518,236 @@ li.muka-listitem {
|
|
|
11475
11518
|
background-color: var(--fileupload-item-color-error-background);
|
|
11476
11519
|
}
|
|
11477
11520
|
|
|
11478
|
-
.muka-fileupload-item--success {
|
|
11479
|
-
background-color: var(--fileupload-item-color-default-background);
|
|
11521
|
+
.muka-fileupload-item--success {
|
|
11522
|
+
background-color: var(--fileupload-item-color-default-background);
|
|
11523
|
+
}
|
|
11524
|
+
|
|
11525
|
+
/* Preview/Icon container */
|
|
11526
|
+
.muka-fileupload-item__preview {
|
|
11527
|
+
display: flex;
|
|
11528
|
+
align-items: center;
|
|
11529
|
+
justify-content: center;
|
|
11530
|
+
flex-shrink: 0;
|
|
11531
|
+
width: var(--fileupload-preview-size);
|
|
11532
|
+
height: var(--fileupload-preview-size);
|
|
11533
|
+
border-radius: var(--fileupload-preview-radius);
|
|
11534
|
+
overflow: hidden;
|
|
11535
|
+
background-color: var(--color-surface-level1);
|
|
11536
|
+
}
|
|
11537
|
+
|
|
11538
|
+
.muka-fileupload-item__thumbnail {
|
|
11539
|
+
width: 100%;
|
|
11540
|
+
height: 100%;
|
|
11541
|
+
object-fit: cover;
|
|
11542
|
+
}
|
|
11543
|
+
|
|
11544
|
+
.muka-fileupload-item__icon {
|
|
11545
|
+
color: var(--color-text-subtle-default);
|
|
11546
|
+
}
|
|
11547
|
+
|
|
11548
|
+
/* File info */
|
|
11549
|
+
.muka-fileupload-item__info {
|
|
11550
|
+
flex: 1;
|
|
11551
|
+
min-width: 0;
|
|
11552
|
+
display: flex;
|
|
11553
|
+
flex-direction: column;
|
|
11554
|
+
gap: var(--spacing-1);
|
|
11555
|
+
}
|
|
11556
|
+
|
|
11557
|
+
.muka-fileupload-item__name {
|
|
11558
|
+
font-family: var(--text-body-sm-regular-fontFamily);
|
|
11559
|
+
font-size: var(--text-body-sm-regular-fontSize);
|
|
11560
|
+
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
11561
|
+
line-height: var(--text-body-sm-regular-lineHeight);
|
|
11562
|
+
color: var(--fileupload-item-color-default-foreground);
|
|
11563
|
+
white-space: nowrap;
|
|
11564
|
+
overflow: hidden;
|
|
11565
|
+
text-overflow: ellipsis;
|
|
11566
|
+
}
|
|
11567
|
+
|
|
11568
|
+
.muka-fileupload-item--error .muka-fileupload-item__name {
|
|
11569
|
+
color: var(--fileupload-item-color-error-foreground);
|
|
11570
|
+
}
|
|
11571
|
+
|
|
11572
|
+
.muka-fileupload-item__meta {
|
|
11573
|
+
font-family: var(--text-label-sm-regular-fontFamily);
|
|
11574
|
+
font-size: var(--text-label-sm-regular-fontSize);
|
|
11575
|
+
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
11576
|
+
line-height: var(--text-label-sm-regular-lineHeight);
|
|
11577
|
+
color: var(--color-text-subtle-default);
|
|
11578
|
+
}
|
|
11579
|
+
|
|
11580
|
+
.muka-fileupload-item__error {
|
|
11581
|
+
color: var(--fileupload-item-color-error-foreground);
|
|
11582
|
+
}
|
|
11583
|
+
|
|
11584
|
+
.muka-fileupload-item__progress {
|
|
11585
|
+
margin-top: var(--spacing-1);
|
|
11586
|
+
}
|
|
11587
|
+
|
|
11588
|
+
/* Actions */
|
|
11589
|
+
.muka-fileupload-item__actions {
|
|
11590
|
+
display: flex;
|
|
11591
|
+
align-items: center;
|
|
11592
|
+
gap: var(--spacing-2);
|
|
11593
|
+
flex-shrink: 0;
|
|
11594
|
+
}
|
|
11595
|
+
|
|
11596
|
+
.muka-fileupload-item__status-icon--success {
|
|
11597
|
+
color: var(--fileupload-item-color-success-foreground);
|
|
11598
|
+
}
|
|
11599
|
+
|
|
11600
|
+
.muka-fileupload-item__status-icon--error {
|
|
11601
|
+
color: var(--fileupload-item-color-error-foreground);
|
|
11602
|
+
}
|
|
11603
|
+
|
|
11604
|
+
.muka-fileupload-item__remove {
|
|
11605
|
+
opacity: 0.7;
|
|
11606
|
+
}
|
|
11607
|
+
|
|
11608
|
+
.muka-fileupload-item__remove:hover {
|
|
11609
|
+
opacity: 1;
|
|
11610
|
+
}
|
|
11611
|
+
|
|
11612
|
+
|
|
11613
|
+
/* EmptyState */
|
|
11614
|
+
/* EmptyState Component Styles - Using Muka Design Tokens */
|
|
11615
|
+
|
|
11616
|
+
.muka-emptystate {
|
|
11617
|
+
display: flex;
|
|
11618
|
+
flex-direction: column;
|
|
11619
|
+
align-items: center;
|
|
11620
|
+
justify-content: center;
|
|
11621
|
+
gap: var(--emptystate-container-gap);
|
|
11622
|
+
max-width: var(--emptystate-container-maxWidth);
|
|
11623
|
+
margin: 0 auto;
|
|
11624
|
+
text-align: center;
|
|
11625
|
+
}
|
|
11626
|
+
|
|
11627
|
+
/* Alignment variants */
|
|
11628
|
+
.muka-emptystate--left {
|
|
11629
|
+
align-items: flex-start;
|
|
11630
|
+
text-align: left;
|
|
11631
|
+
}
|
|
11632
|
+
|
|
11633
|
+
/* Size variants */
|
|
11634
|
+
.muka-emptystate--sm {
|
|
11635
|
+
padding: var(--emptystate-container-padding-sm);
|
|
11636
|
+
}
|
|
11637
|
+
|
|
11638
|
+
.muka-emptystate--md {
|
|
11639
|
+
padding: var(--emptystate-container-padding-md);
|
|
11640
|
+
}
|
|
11641
|
+
|
|
11642
|
+
.muka-emptystate--lg {
|
|
11643
|
+
padding: var(--emptystate-container-padding-lg);
|
|
11480
11644
|
}
|
|
11481
11645
|
|
|
11482
|
-
/*
|
|
11483
|
-
.muka-
|
|
11646
|
+
/* Visual (icon or illustration) */
|
|
11647
|
+
.muka-emptystate__visual {
|
|
11484
11648
|
display: flex;
|
|
11485
11649
|
align-items: center;
|
|
11486
11650
|
justify-content: center;
|
|
11651
|
+
color: var(--emptystate-icon-color);
|
|
11487
11652
|
flex-shrink: 0;
|
|
11488
|
-
width: var(--fileupload-preview-size);
|
|
11489
|
-
height: var(--fileupload-preview-size);
|
|
11490
|
-
border-radius: var(--fileupload-preview-radius);
|
|
11491
|
-
overflow: hidden;
|
|
11492
|
-
background-color: var(--color-surface-level1);
|
|
11493
11653
|
}
|
|
11494
11654
|
|
|
11495
|
-
.muka-
|
|
11655
|
+
.muka-emptystate--sm .muka-emptystate__visual {
|
|
11656
|
+
width: var(--emptystate-icon-size-sm);
|
|
11657
|
+
height: var(--emptystate-icon-size-sm);
|
|
11658
|
+
}
|
|
11659
|
+
|
|
11660
|
+
.muka-emptystate--md .muka-emptystate__visual {
|
|
11661
|
+
width: var(--emptystate-icon-size-md);
|
|
11662
|
+
height: var(--emptystate-icon-size-md);
|
|
11663
|
+
}
|
|
11664
|
+
|
|
11665
|
+
.muka-emptystate--lg .muka-emptystate__visual {
|
|
11666
|
+
width: var(--emptystate-icon-size-lg);
|
|
11667
|
+
height: var(--emptystate-icon-size-lg);
|
|
11668
|
+
}
|
|
11669
|
+
|
|
11670
|
+
.muka-emptystate__visual svg {
|
|
11496
11671
|
width: 100%;
|
|
11497
11672
|
height: 100%;
|
|
11498
|
-
object-fit: cover;
|
|
11499
11673
|
}
|
|
11500
11674
|
|
|
11501
|
-
.muka-
|
|
11502
|
-
|
|
11675
|
+
.muka-emptystate__visual img {
|
|
11676
|
+
width: 100%;
|
|
11677
|
+
height: 100%;
|
|
11678
|
+
object-fit: contain;
|
|
11503
11679
|
}
|
|
11504
11680
|
|
|
11505
|
-
/*
|
|
11506
|
-
.muka-
|
|
11507
|
-
flex: 1;
|
|
11508
|
-
min-width: 0;
|
|
11681
|
+
/* Content */
|
|
11682
|
+
.muka-emptystate__content {
|
|
11509
11683
|
display: flex;
|
|
11510
11684
|
flex-direction: column;
|
|
11511
|
-
gap: var(--spacing-
|
|
11512
|
-
}
|
|
11513
|
-
|
|
11514
|
-
.muka-fileupload-item__name {
|
|
11515
|
-
font-family: var(--text-body-sm-regular-fontFamily);
|
|
11516
|
-
font-size: var(--text-body-sm-regular-fontSize);
|
|
11517
|
-
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
11518
|
-
line-height: var(--text-body-sm-regular-lineHeight);
|
|
11519
|
-
color: var(--fileupload-item-color-default-foreground);
|
|
11520
|
-
white-space: nowrap;
|
|
11521
|
-
overflow: hidden;
|
|
11522
|
-
text-overflow: ellipsis;
|
|
11685
|
+
gap: var(--spacing-2);
|
|
11523
11686
|
}
|
|
11524
11687
|
|
|
11525
|
-
.muka-
|
|
11526
|
-
|
|
11688
|
+
.muka-emptystate--left .muka-emptystate__content {
|
|
11689
|
+
align-items: flex-start;
|
|
11527
11690
|
}
|
|
11528
11691
|
|
|
11529
|
-
|
|
11530
|
-
|
|
11531
|
-
|
|
11532
|
-
|
|
11533
|
-
|
|
11534
|
-
|
|
11692
|
+
/* Title */
|
|
11693
|
+
.muka-emptystate__title {
|
|
11694
|
+
color: var(--emptystate-title-color);
|
|
11695
|
+
margin: 0;
|
|
11696
|
+
font-family: var(--text-heading-sm-fontFamily);
|
|
11697
|
+
font-weight: var(--text-heading-sm-fontWeight);
|
|
11698
|
+
font-size: var(--text-heading-sm-fontSize);
|
|
11699
|
+
line-height: var(--text-heading-sm-lineHeight);
|
|
11535
11700
|
}
|
|
11536
11701
|
|
|
11537
|
-
.muka-
|
|
11538
|
-
|
|
11702
|
+
.muka-emptystate--sm .muka-emptystate__title {
|
|
11703
|
+
font-family: var(--text-label-lg-semibold-fontFamily);
|
|
11704
|
+
font-weight: var(--text-label-lg-semibold-fontWeight);
|
|
11705
|
+
font-size: var(--text-label-lg-semibold-fontSize);
|
|
11706
|
+
line-height: var(--text-label-lg-semibold-lineHeight);
|
|
11539
11707
|
}
|
|
11540
11708
|
|
|
11541
|
-
.muka-
|
|
11542
|
-
|
|
11709
|
+
.muka-emptystate--lg .muka-emptystate__title {
|
|
11710
|
+
font-family: var(--text-heading-md-fontFamily);
|
|
11711
|
+
font-weight: var(--text-heading-md-fontWeight);
|
|
11712
|
+
font-size: var(--text-heading-md-fontSize);
|
|
11713
|
+
line-height: var(--text-heading-md-lineHeight);
|
|
11543
11714
|
}
|
|
11544
11715
|
|
|
11545
|
-
/*
|
|
11546
|
-
.muka-
|
|
11547
|
-
|
|
11548
|
-
|
|
11549
|
-
|
|
11550
|
-
|
|
11716
|
+
/* Description */
|
|
11717
|
+
.muka-emptystate__description {
|
|
11718
|
+
color: var(--emptystate-description-color);
|
|
11719
|
+
margin: 0;
|
|
11720
|
+
font-family: var(--text-body-sm-regular-fontFamily);
|
|
11721
|
+
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
11722
|
+
font-size: var(--text-body-sm-regular-fontSize);
|
|
11723
|
+
line-height: var(--text-body-sm-regular-lineHeight);
|
|
11551
11724
|
}
|
|
11552
11725
|
|
|
11553
|
-
.muka-
|
|
11554
|
-
|
|
11726
|
+
.muka-emptystate--md .muka-emptystate__description {
|
|
11727
|
+
font-family: var(--text-body-base-regular-fontFamily);
|
|
11728
|
+
font-weight: var(--text-body-base-regular-fontWeight);
|
|
11729
|
+
font-size: var(--text-body-base-regular-fontSize);
|
|
11730
|
+
line-height: var(--text-body-base-regular-lineHeight);
|
|
11555
11731
|
}
|
|
11556
11732
|
|
|
11557
|
-
.muka-
|
|
11558
|
-
|
|
11733
|
+
.muka-emptystate--lg .muka-emptystate__description {
|
|
11734
|
+
font-family: var(--text-body-lg-regular-fontFamily);
|
|
11735
|
+
font-weight: var(--text-body-lg-regular-fontWeight);
|
|
11736
|
+
font-size: var(--text-body-lg-regular-fontSize);
|
|
11737
|
+
line-height: var(--text-body-lg-regular-lineHeight);
|
|
11559
11738
|
}
|
|
11560
11739
|
|
|
11561
|
-
|
|
11562
|
-
|
|
11740
|
+
/* Actions */
|
|
11741
|
+
.muka-emptystate__actions {
|
|
11742
|
+
display: flex;
|
|
11743
|
+
gap: var(--emptystate-actions-gap);
|
|
11744
|
+
margin-top: var(--emptystate-actions-marginTop);
|
|
11745
|
+
flex-wrap: wrap;
|
|
11746
|
+
justify-content: center;
|
|
11563
11747
|
}
|
|
11564
11748
|
|
|
11565
|
-
.muka-
|
|
11566
|
-
|
|
11749
|
+
.muka-emptystate--left .muka-emptystate__actions {
|
|
11750
|
+
justify-content: flex-start;
|
|
11567
11751
|
}
|
|
11568
11752
|
|
|
11569
11753
|
|
|
@@ -11656,196 +11840,55 @@ li.muka-listitem {
|
|
|
11656
11840
|
align-items: center;
|
|
11657
11841
|
justify-content: center;
|
|
11658
11842
|
width: 24px;
|
|
11659
|
-
height: 24px;
|
|
11660
|
-
}
|
|
11661
|
-
|
|
11662
|
-
.muka-fab__icon svg {
|
|
11663
|
-
width: 100%;
|
|
11664
|
-
height: 100%;
|
|
11665
|
-
}
|
|
11666
|
-
|
|
11667
|
-
.muka-fab__label {
|
|
11668
|
-
font-family: var(--text-label-md-semibold-fontFamily);
|
|
11669
|
-
font-weight: var(--text-label-md-semibold-fontWeight);
|
|
11670
|
-
font-size: var(--text-label-md-semibold-fontSize);
|
|
11671
|
-
line-height: var(--text-label-md-semibold-lineHeight);
|
|
11672
|
-
}
|
|
11673
|
-
|
|
11674
|
-
/* ─── Positioning ─────────────────────────────────────── */
|
|
11675
|
-
|
|
11676
|
-
.muka-fab--bottom-right {
|
|
11677
|
-
right: var(--spacing-4);
|
|
11678
|
-
bottom: var(--spacing-4);
|
|
11679
|
-
}
|
|
11680
|
-
|
|
11681
|
-
.muka-fab--bottom-left {
|
|
11682
|
-
left: var(--spacing-4);
|
|
11683
|
-
bottom: var(--spacing-4);
|
|
11684
|
-
}
|
|
11685
|
-
|
|
11686
|
-
.muka-fab--bottom-center {
|
|
11687
|
-
left: 50%;
|
|
11688
|
-
bottom: var(--spacing-4);
|
|
11689
|
-
transform: translateX(-50%);
|
|
11690
|
-
}
|
|
11691
|
-
|
|
11692
|
-
.muka-fab--bottom-center:active {
|
|
11693
|
-
transform: translateX(-50%) scale(0.96);
|
|
11694
|
-
}
|
|
11695
|
-
|
|
11696
|
-
/* Add the iOS home-indicator inset to the bottom offset. */
|
|
11697
|
-
.muka-fab:not(.muka-fab--no-safe-area) {
|
|
11698
|
-
bottom: calc(var(--spacing-4) + env(safe-area-inset-bottom));
|
|
11699
|
-
}
|
|
11700
|
-
|
|
11701
|
-
/* Lateral safe-area for landscape iPhone with notch. */
|
|
11702
|
-
.muka-fab--bottom-right:not(.muka-fab--no-safe-area) {
|
|
11703
|
-
right: max(var(--spacing-4), env(safe-area-inset-right));
|
|
11704
|
-
}
|
|
11705
|
-
|
|
11706
|
-
.muka-fab--bottom-left:not(.muka-fab--no-safe-area) {
|
|
11707
|
-
left: max(var(--spacing-4), env(safe-area-inset-left));
|
|
11708
|
-
}
|
|
11709
|
-
|
|
11710
|
-
|
|
11711
|
-
/* EmptyState */
|
|
11712
|
-
/* EmptyState Component Styles - Using Muka Design Tokens */
|
|
11713
|
-
|
|
11714
|
-
.muka-emptystate {
|
|
11715
|
-
display: flex;
|
|
11716
|
-
flex-direction: column;
|
|
11717
|
-
align-items: center;
|
|
11718
|
-
justify-content: center;
|
|
11719
|
-
gap: var(--emptystate-container-gap);
|
|
11720
|
-
max-width: var(--emptystate-container-maxWidth);
|
|
11721
|
-
margin: 0 auto;
|
|
11722
|
-
text-align: center;
|
|
11723
|
-
}
|
|
11724
|
-
|
|
11725
|
-
/* Alignment variants */
|
|
11726
|
-
.muka-emptystate--left {
|
|
11727
|
-
align-items: flex-start;
|
|
11728
|
-
text-align: left;
|
|
11729
|
-
}
|
|
11730
|
-
|
|
11731
|
-
/* Size variants */
|
|
11732
|
-
.muka-emptystate--sm {
|
|
11733
|
-
padding: var(--emptystate-container-padding-sm);
|
|
11734
|
-
}
|
|
11735
|
-
|
|
11736
|
-
.muka-emptystate--md {
|
|
11737
|
-
padding: var(--emptystate-container-padding-md);
|
|
11738
|
-
}
|
|
11739
|
-
|
|
11740
|
-
.muka-emptystate--lg {
|
|
11741
|
-
padding: var(--emptystate-container-padding-lg);
|
|
11742
|
-
}
|
|
11743
|
-
|
|
11744
|
-
/* Visual (icon or illustration) */
|
|
11745
|
-
.muka-emptystate__visual {
|
|
11746
|
-
display: flex;
|
|
11747
|
-
align-items: center;
|
|
11748
|
-
justify-content: center;
|
|
11749
|
-
color: var(--emptystate-icon-color);
|
|
11750
|
-
flex-shrink: 0;
|
|
11751
|
-
}
|
|
11752
|
-
|
|
11753
|
-
.muka-emptystate--sm .muka-emptystate__visual {
|
|
11754
|
-
width: var(--emptystate-icon-size-sm);
|
|
11755
|
-
height: var(--emptystate-icon-size-sm);
|
|
11756
|
-
}
|
|
11757
|
-
|
|
11758
|
-
.muka-emptystate--md .muka-emptystate__visual {
|
|
11759
|
-
width: var(--emptystate-icon-size-md);
|
|
11760
|
-
height: var(--emptystate-icon-size-md);
|
|
11761
|
-
}
|
|
11762
|
-
|
|
11763
|
-
.muka-emptystate--lg .muka-emptystate__visual {
|
|
11764
|
-
width: var(--emptystate-icon-size-lg);
|
|
11765
|
-
height: var(--emptystate-icon-size-lg);
|
|
11766
|
-
}
|
|
11767
|
-
|
|
11768
|
-
.muka-emptystate__visual svg {
|
|
11769
|
-
width: 100%;
|
|
11770
|
-
height: 100%;
|
|
11771
|
-
}
|
|
11772
|
-
|
|
11773
|
-
.muka-emptystate__visual img {
|
|
11774
|
-
width: 100%;
|
|
11775
|
-
height: 100%;
|
|
11776
|
-
object-fit: contain;
|
|
11777
|
-
}
|
|
11778
|
-
|
|
11779
|
-
/* Content */
|
|
11780
|
-
.muka-emptystate__content {
|
|
11781
|
-
display: flex;
|
|
11782
|
-
flex-direction: column;
|
|
11783
|
-
gap: var(--spacing-2);
|
|
11843
|
+
height: 24px;
|
|
11784
11844
|
}
|
|
11785
11845
|
|
|
11786
|
-
.muka-
|
|
11787
|
-
|
|
11846
|
+
.muka-fab__icon svg {
|
|
11847
|
+
width: 100%;
|
|
11848
|
+
height: 100%;
|
|
11788
11849
|
}
|
|
11789
11850
|
|
|
11790
|
-
|
|
11791
|
-
|
|
11792
|
-
|
|
11793
|
-
|
|
11794
|
-
|
|
11795
|
-
font-weight: var(--text-heading-sm-fontWeight);
|
|
11796
|
-
font-size: var(--text-heading-sm-fontSize);
|
|
11797
|
-
line-height: var(--text-heading-sm-lineHeight);
|
|
11851
|
+
.muka-fab__label {
|
|
11852
|
+
font-family: var(--text-label-md-semibold-fontFamily);
|
|
11853
|
+
font-weight: var(--text-label-md-semibold-fontWeight);
|
|
11854
|
+
font-size: var(--text-label-md-semibold-fontSize);
|
|
11855
|
+
line-height: var(--text-label-md-semibold-lineHeight);
|
|
11798
11856
|
}
|
|
11799
11857
|
|
|
11800
|
-
|
|
11801
|
-
|
|
11802
|
-
|
|
11803
|
-
|
|
11804
|
-
|
|
11858
|
+
/* ─── Positioning ─────────────────────────────────────── */
|
|
11859
|
+
|
|
11860
|
+
.muka-fab--bottom-right {
|
|
11861
|
+
right: var(--spacing-4);
|
|
11862
|
+
bottom: var(--spacing-4);
|
|
11805
11863
|
}
|
|
11806
11864
|
|
|
11807
|
-
.muka-
|
|
11808
|
-
|
|
11809
|
-
|
|
11810
|
-
font-size: var(--text-heading-md-fontSize);
|
|
11811
|
-
line-height: var(--text-heading-md-lineHeight);
|
|
11865
|
+
.muka-fab--bottom-left {
|
|
11866
|
+
left: var(--spacing-4);
|
|
11867
|
+
bottom: var(--spacing-4);
|
|
11812
11868
|
}
|
|
11813
11869
|
|
|
11814
|
-
|
|
11815
|
-
|
|
11816
|
-
|
|
11817
|
-
|
|
11818
|
-
font-family: var(--text-body-sm-regular-fontFamily);
|
|
11819
|
-
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
11820
|
-
font-size: var(--text-body-sm-regular-fontSize);
|
|
11821
|
-
line-height: var(--text-body-sm-regular-lineHeight);
|
|
11870
|
+
.muka-fab--bottom-center {
|
|
11871
|
+
left: 50%;
|
|
11872
|
+
bottom: var(--spacing-4);
|
|
11873
|
+
transform: translateX(-50%);
|
|
11822
11874
|
}
|
|
11823
11875
|
|
|
11824
|
-
.muka-
|
|
11825
|
-
|
|
11826
|
-
font-weight: var(--text-body-base-regular-fontWeight);
|
|
11827
|
-
font-size: var(--text-body-base-regular-fontSize);
|
|
11828
|
-
line-height: var(--text-body-base-regular-lineHeight);
|
|
11876
|
+
.muka-fab--bottom-center:active {
|
|
11877
|
+
transform: translateX(-50%) scale(0.96);
|
|
11829
11878
|
}
|
|
11830
11879
|
|
|
11831
|
-
|
|
11832
|
-
|
|
11833
|
-
|
|
11834
|
-
font-size: var(--text-body-lg-regular-fontSize);
|
|
11835
|
-
line-height: var(--text-body-lg-regular-lineHeight);
|
|
11880
|
+
/* Add the iOS home-indicator inset to the bottom offset. */
|
|
11881
|
+
.muka-fab:not(.muka-fab--no-safe-area) {
|
|
11882
|
+
bottom: calc(var(--spacing-4) + env(safe-area-inset-bottom));
|
|
11836
11883
|
}
|
|
11837
11884
|
|
|
11838
|
-
/*
|
|
11839
|
-
.muka-
|
|
11840
|
-
|
|
11841
|
-
gap: var(--emptystate-actions-gap);
|
|
11842
|
-
margin-top: var(--emptystate-actions-marginTop);
|
|
11843
|
-
flex-wrap: wrap;
|
|
11844
|
-
justify-content: center;
|
|
11885
|
+
/* Lateral safe-area for landscape iPhone with notch. */
|
|
11886
|
+
.muka-fab--bottom-right:not(.muka-fab--no-safe-area) {
|
|
11887
|
+
right: max(var(--spacing-4), env(safe-area-inset-right));
|
|
11845
11888
|
}
|
|
11846
11889
|
|
|
11847
|
-
.muka-
|
|
11848
|
-
|
|
11890
|
+
.muka-fab--bottom-left:not(.muka-fab--no-safe-area) {
|
|
11891
|
+
left: max(var(--spacing-4), env(safe-area-inset-left));
|
|
11849
11892
|
}
|
|
11850
11893
|
|
|
11851
11894
|
|
|
@@ -12066,36 +12109,224 @@ li.muka-listitem {
|
|
|
12066
12109
|
color: var(--color-text-subtle-default);
|
|
12067
12110
|
}
|
|
12068
12111
|
|
|
12069
|
-
.muka-dropdown-select__field--sm .muka-dropdown-select__chevron {
|
|
12070
|
-
width: var(--size-xl, 1.5rem);
|
|
12071
|
-
height: var(--size-xl, 1.5rem);
|
|
12112
|
+
.muka-dropdown-select__field--sm .muka-dropdown-select__chevron {
|
|
12113
|
+
width: var(--size-xl, 1.5rem);
|
|
12114
|
+
height: var(--size-xl, 1.5rem);
|
|
12115
|
+
}
|
|
12116
|
+
|
|
12117
|
+
.muka-dropdown-select__menu-button:focus-visible {
|
|
12118
|
+
outline: 2px solid var(--color-border-focus, var(--color-action-default));
|
|
12119
|
+
outline-offset: 2px;
|
|
12120
|
+
}
|
|
12121
|
+
|
|
12122
|
+
.muka-dropdown-select__helper {
|
|
12123
|
+
margin: 0;
|
|
12124
|
+
color: var(--color-text-subtle-default);
|
|
12125
|
+
font-family: var(--text-label-sm-regular-fontFamily);
|
|
12126
|
+
font-size: var(--text-label-sm-regular-fontSize);
|
|
12127
|
+
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
12128
|
+
line-height: var(--text-label-sm-regular-lineHeight);
|
|
12129
|
+
}
|
|
12130
|
+
|
|
12131
|
+
.muka-dropdown-select__error {
|
|
12132
|
+
margin: 0;
|
|
12133
|
+
color: var(--color-state-error-default);
|
|
12134
|
+
font-family: var(--text-label-sm-regular-fontFamily);
|
|
12135
|
+
font-size: var(--text-label-sm-regular-fontSize);
|
|
12136
|
+
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
12137
|
+
line-height: var(--text-label-sm-regular-lineHeight);
|
|
12138
|
+
}
|
|
12139
|
+
|
|
12140
|
+
.muka-dropdown-select__menu {
|
|
12141
|
+
/* Uses Menu min-width (280px); grows with long labels; left-aligned to the field. */
|
|
12142
|
+
}
|
|
12143
|
+
|
|
12144
|
+
|
|
12145
|
+
/* Drawer */
|
|
12146
|
+
/* Drawer Component Styles */
|
|
12147
|
+
|
|
12148
|
+
/* Size tokens (local to Drawer) */
|
|
12149
|
+
.muka-drawer {
|
|
12150
|
+
--drawer-width-sm: 18rem;
|
|
12151
|
+
--drawer-width-md: 26rem;
|
|
12152
|
+
--drawer-width-lg: 36rem;
|
|
12153
|
+
}
|
|
12154
|
+
|
|
12155
|
+
/* Reset native dialog */
|
|
12156
|
+
.muka-drawer {
|
|
12157
|
+
border: none;
|
|
12158
|
+
padding: 0;
|
|
12159
|
+
max-width: none;
|
|
12160
|
+
max-height: none;
|
|
12161
|
+
background: transparent;
|
|
12162
|
+
overflow: visible;
|
|
12163
|
+
}
|
|
12164
|
+
|
|
12165
|
+
/* Backdrop */
|
|
12166
|
+
.muka-drawer::backdrop {
|
|
12167
|
+
background-color: var(--color-surface-backdrop);
|
|
12168
|
+
-webkit-backdrop-filter: blur(var(--effect-blur-backdrop));
|
|
12169
|
+
backdrop-filter: blur(var(--effect-blur-backdrop));
|
|
12170
|
+
opacity: 0;
|
|
12171
|
+
transition: opacity 200ms ease;
|
|
12172
|
+
}
|
|
12173
|
+
|
|
12174
|
+
.muka-drawer--slide-in::backdrop {
|
|
12175
|
+
opacity: 1;
|
|
12176
|
+
}
|
|
12177
|
+
|
|
12178
|
+
/* Surface */
|
|
12179
|
+
.muka-drawer__surface {
|
|
12180
|
+
display: flex;
|
|
12181
|
+
flex-direction: column;
|
|
12182
|
+
background-color: var(--color-surface-level3);
|
|
12183
|
+
box-shadow: var(--shadow-level5);
|
|
12184
|
+
height: 100%;
|
|
12185
|
+
overflow: hidden;
|
|
12186
|
+
position: fixed;
|
|
12187
|
+
transition: transform 200ms cubic-bezier(0.16, 1, 0.3, 1);
|
|
12188
|
+
}
|
|
12189
|
+
|
|
12190
|
+
/* Side positioning + initial transforms */
|
|
12191
|
+
.muka-drawer--right .muka-drawer__surface {
|
|
12192
|
+
top: 0;
|
|
12193
|
+
right: 0;
|
|
12194
|
+
bottom: 0;
|
|
12195
|
+
border-radius: var(--radius-lg) 0 0 var(--radius-lg);
|
|
12196
|
+
transform: translateX(100%);
|
|
12197
|
+
}
|
|
12198
|
+
|
|
12199
|
+
.muka-drawer--left .muka-drawer__surface {
|
|
12200
|
+
top: 0;
|
|
12201
|
+
left: 0;
|
|
12202
|
+
bottom: 0;
|
|
12203
|
+
border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
|
|
12204
|
+
transform: translateX(-100%);
|
|
12205
|
+
}
|
|
12206
|
+
|
|
12207
|
+
.muka-drawer--bottom .muka-drawer__surface {
|
|
12208
|
+
left: 0;
|
|
12209
|
+
right: 0;
|
|
12210
|
+
bottom: 0;
|
|
12211
|
+
border-radius: var(--radius-lg) var(--radius-lg) 0 0;
|
|
12212
|
+
transform: translateY(100%);
|
|
12213
|
+
}
|
|
12214
|
+
|
|
12215
|
+
.muka-drawer--top .muka-drawer__surface {
|
|
12216
|
+
left: 0;
|
|
12217
|
+
right: 0;
|
|
12218
|
+
top: 0;
|
|
12219
|
+
border-radius: 0 0 var(--radius-lg) var(--radius-lg);
|
|
12220
|
+
transform: translateY(-100%);
|
|
12221
|
+
}
|
|
12222
|
+
|
|
12223
|
+
/* Slide-in state */
|
|
12224
|
+
.muka-drawer--slide-in .muka-drawer__surface {
|
|
12225
|
+
transform: translate(0, 0);
|
|
12226
|
+
}
|
|
12227
|
+
|
|
12228
|
+
/* Width sizes (left/right) */
|
|
12229
|
+
.muka-drawer--right .muka-drawer__surface,
|
|
12230
|
+
.muka-drawer--left .muka-drawer__surface {
|
|
12231
|
+
width: var(--drawer-width-md);
|
|
12232
|
+
}
|
|
12233
|
+
|
|
12234
|
+
.muka-drawer--sm.muka-drawer--right .muka-drawer__surface,
|
|
12235
|
+
.muka-drawer--sm.muka-drawer--left .muka-drawer__surface {
|
|
12236
|
+
width: var(--drawer-width-sm);
|
|
12237
|
+
}
|
|
12238
|
+
|
|
12239
|
+
.muka-drawer--lg.muka-drawer--right .muka-drawer__surface,
|
|
12240
|
+
.muka-drawer--lg.muka-drawer--left .muka-drawer__surface {
|
|
12241
|
+
width: var(--drawer-width-lg);
|
|
12242
|
+
}
|
|
12243
|
+
|
|
12244
|
+
.muka-drawer--full.muka-drawer--right .muka-drawer__surface,
|
|
12245
|
+
.muka-drawer--full.muka-drawer--left .muka-drawer__surface {
|
|
12246
|
+
width: 100%;
|
|
12247
|
+
}
|
|
12248
|
+
|
|
12249
|
+
/* Height sizes (top/bottom) */
|
|
12250
|
+
.muka-drawer--top .muka-drawer__surface,
|
|
12251
|
+
.muka-drawer--bottom .muka-drawer__surface {
|
|
12252
|
+
height: auto;
|
|
12253
|
+
max-height: 80vh;
|
|
12254
|
+
}
|
|
12255
|
+
|
|
12256
|
+
.muka-drawer--full.muka-drawer--top .muka-drawer__surface,
|
|
12257
|
+
.muka-drawer--full.muka-drawer--bottom .muka-drawer__surface {
|
|
12258
|
+
max-height: 100vh;
|
|
12259
|
+
}
|
|
12260
|
+
|
|
12261
|
+
/* Header: the shared TopBar, raised above the scrolling body like in Dialog */
|
|
12262
|
+
.muka-drawer .muka-topbar {
|
|
12263
|
+
position: relative;
|
|
12264
|
+
z-index: 1;
|
|
12265
|
+
flex-shrink: 0;
|
|
12266
|
+
}
|
|
12267
|
+
|
|
12268
|
+
/* Body */
|
|
12269
|
+
.muka-drawer__body {
|
|
12270
|
+
flex: 1;
|
|
12271
|
+
overflow-y: auto;
|
|
12272
|
+
padding: var(--drawer-padding-x);
|
|
12273
|
+
}
|
|
12274
|
+
|
|
12275
|
+
/* Roomier body on desktop; the header and footer keep their padding */
|
|
12276
|
+
@media (min-width: 1024px) {
|
|
12277
|
+
.muka-drawer__body {
|
|
12278
|
+
padding: var(--drawer-padding-x-desktop);
|
|
12279
|
+
}
|
|
12280
|
+
}
|
|
12281
|
+
|
|
12282
|
+
/* Footer */
|
|
12283
|
+
.muka-drawer__footer {
|
|
12284
|
+
padding: var(--spacing-4);
|
|
12285
|
+
border-top: var(--border-width-regular) solid var(--color-border-default);
|
|
12286
|
+
flex-shrink: 0;
|
|
12287
|
+
}
|
|
12288
|
+
|
|
12289
|
+
/* ─── Safe areas (notch, status bar, home indicator) ────
|
|
12290
|
+
env(safe-area-inset-*) is 0 outside notched devices, so these only change
|
|
12291
|
+
an app running edge to edge (viewport-fit=cover, e.g. an iOS shell). */
|
|
12292
|
+
|
|
12293
|
+
/* Top edge. Side, top and full-height drawers reach the status bar: their
|
|
12294
|
+
TopBar pads for it; without a header the surface does. A bottom drawer
|
|
12295
|
+
stops short of it, so its TopBar must not. */
|
|
12296
|
+
.muka-drawer--right .muka-drawer__surface:not(:has(> .muka-topbar)),
|
|
12297
|
+
.muka-drawer--left .muka-drawer__surface:not(:has(> .muka-topbar)),
|
|
12298
|
+
.muka-drawer--top .muka-drawer__surface:not(:has(> .muka-topbar)) {
|
|
12299
|
+
padding-top: env(safe-area-inset-top, 0px);
|
|
12072
12300
|
}
|
|
12073
12301
|
|
|
12074
|
-
.muka-
|
|
12075
|
-
|
|
12076
|
-
outline-offset: 2px;
|
|
12302
|
+
.muka-drawer--bottom:not(.muka-drawer--full) .muka-topbar {
|
|
12303
|
+
padding-top: 0;
|
|
12077
12304
|
}
|
|
12078
12305
|
|
|
12079
|
-
.
|
|
12080
|
-
|
|
12081
|
-
|
|
12082
|
-
|
|
12083
|
-
font-size: var(--text-label-sm-regular-fontSize);
|
|
12084
|
-
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
12085
|
-
line-height: var(--text-label-sm-regular-lineHeight);
|
|
12306
|
+
/* Bottom edge. Side and bottom drawers reach the home indicator: the footer
|
|
12307
|
+
pads for it, or the surface when there is no footer. */
|
|
12308
|
+
.muka-drawer:not(.muka-drawer--top) .muka-drawer__footer {
|
|
12309
|
+
padding-bottom: calc(var(--spacing-4) + env(safe-area-inset-bottom, 0px));
|
|
12086
12310
|
}
|
|
12087
12311
|
|
|
12088
|
-
.muka-
|
|
12089
|
-
|
|
12090
|
-
color: var(--color-state-error-default);
|
|
12091
|
-
font-family: var(--text-label-sm-regular-fontFamily);
|
|
12092
|
-
font-size: var(--text-label-sm-regular-fontSize);
|
|
12093
|
-
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
12094
|
-
line-height: var(--text-label-sm-regular-lineHeight);
|
|
12312
|
+
.muka-drawer:not(.muka-drawer--top) .muka-drawer__surface:not(:has(> .muka-drawer__footer)) {
|
|
12313
|
+
padding-bottom: env(safe-area-inset-bottom, 0px);
|
|
12095
12314
|
}
|
|
12096
12315
|
|
|
12097
|
-
.
|
|
12098
|
-
|
|
12316
|
+
/* Sides (landscape notch): the edge the drawer is attached to. The TopBar
|
|
12317
|
+
already insets its own content. */
|
|
12318
|
+
@media (max-width: 1023px) {
|
|
12319
|
+
.muka-drawer--left .muka-drawer__body,
|
|
12320
|
+
.muka-drawer--top .muka-drawer__body,
|
|
12321
|
+
.muka-drawer--bottom .muka-drawer__body {
|
|
12322
|
+
padding-left: max(var(--drawer-padding-x), env(safe-area-inset-left, 0px));
|
|
12323
|
+
}
|
|
12324
|
+
|
|
12325
|
+
.muka-drawer--right .muka-drawer__body,
|
|
12326
|
+
.muka-drawer--top .muka-drawer__body,
|
|
12327
|
+
.muka-drawer--bottom .muka-drawer__body {
|
|
12328
|
+
padding-right: max(var(--drawer-padding-x), env(safe-area-inset-right, 0px));
|
|
12329
|
+
}
|
|
12099
12330
|
}
|
|
12100
12331
|
|
|
12101
12332
|
|
|
@@ -13574,258 +13805,70 @@ li.muka-listitem {
|
|
|
13574
13805
|
flex-wrap: wrap;
|
|
13575
13806
|
gap: var(--spacing-2);
|
|
13576
13807
|
align-items: center;
|
|
13577
|
-
min-width: 0;
|
|
13578
|
-
width: 100%;
|
|
13579
|
-
position: relative;
|
|
13580
|
-
z-index: 1;
|
|
13581
|
-
}
|
|
13582
|
-
|
|
13583
|
-
.muka-combobox__input {
|
|
13584
|
-
flex: 1 1 5rem;
|
|
13585
|
-
min-width: 5rem;
|
|
13586
|
-
min-height: 2rem;
|
|
13587
|
-
margin: 0;
|
|
13588
|
-
padding: 0 var(--spacing-1);
|
|
13589
|
-
border: none;
|
|
13590
|
-
outline: none;
|
|
13591
|
-
background: transparent;
|
|
13592
|
-
color: var(--input-field-color-default-foreground);
|
|
13593
|
-
caret-color: var(--input-field-color-default-foreground);
|
|
13594
|
-
font-family: var(--text-label-md-regular-fontFamily);
|
|
13595
|
-
font-size: var(--text-label-md-regular-fontSize);
|
|
13596
|
-
font-weight: var(--text-label-md-regular-fontWeight);
|
|
13597
|
-
line-height: var(--text-label-md-regular-lineHeight);
|
|
13598
|
-
}
|
|
13599
|
-
|
|
13600
|
-
.muka-combobox__input::placeholder {
|
|
13601
|
-
color: var(--color-text-subtle-default);
|
|
13602
|
-
}
|
|
13603
|
-
|
|
13604
|
-
.muka-combobox__helper {
|
|
13605
|
-
margin: 0;
|
|
13606
|
-
color: var(--color-text-subtle-default);
|
|
13607
|
-
font-family: var(--text-label-sm-regular-fontFamily);
|
|
13608
|
-
font-size: var(--text-label-sm-regular-fontSize);
|
|
13609
|
-
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
13610
|
-
line-height: var(--text-label-sm-regular-lineHeight);
|
|
13611
|
-
}
|
|
13612
|
-
|
|
13613
|
-
.muka-combobox__error {
|
|
13614
|
-
margin: 0;
|
|
13615
|
-
color: var(--color-state-error-default);
|
|
13616
|
-
font-family: var(--text-label-sm-regular-fontFamily);
|
|
13617
|
-
font-size: var(--text-label-sm-regular-fontSize);
|
|
13618
|
-
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
13619
|
-
line-height: var(--text-label-sm-regular-lineHeight);
|
|
13620
|
-
}
|
|
13621
|
-
|
|
13622
|
-
.muka-combobox__menu-anchor {
|
|
13623
|
-
position: absolute;
|
|
13624
|
-
inset: 0;
|
|
13625
|
-
z-index: 0;
|
|
13626
|
-
width: 100%;
|
|
13627
|
-
height: 100%;
|
|
13628
|
-
margin: 0;
|
|
13629
|
-
padding: 0;
|
|
13630
|
-
border: none;
|
|
13631
|
-
background: transparent;
|
|
13632
|
-
pointer-events: none;
|
|
13633
|
-
opacity: 0;
|
|
13634
|
-
}
|
|
13635
|
-
|
|
13636
|
-
.muka-combobox__menu {
|
|
13637
|
-
/* Prefer Menu token min-width (280px); may exceed the field when left-aligned. */
|
|
13638
|
-
min-width: var(--menu-content-min-width);
|
|
13639
|
-
width: max-content;
|
|
13640
|
-
max-width: min(100vw - 2rem, 24rem);
|
|
13641
|
-
}
|
|
13642
|
-
|
|
13643
|
-
|
|
13644
|
-
/* Drawer */
|
|
13645
|
-
/* Drawer Component Styles */
|
|
13646
|
-
|
|
13647
|
-
/* Size tokens (local to Drawer) */
|
|
13648
|
-
.muka-drawer {
|
|
13649
|
-
--drawer-width-sm: 18rem;
|
|
13650
|
-
--drawer-width-md: 26rem;
|
|
13651
|
-
--drawer-width-lg: 36rem;
|
|
13652
|
-
}
|
|
13653
|
-
|
|
13654
|
-
/* Reset native dialog */
|
|
13655
|
-
.muka-drawer {
|
|
13656
|
-
border: none;
|
|
13657
|
-
padding: 0;
|
|
13658
|
-
max-width: none;
|
|
13659
|
-
max-height: none;
|
|
13660
|
-
background: transparent;
|
|
13661
|
-
overflow: visible;
|
|
13662
|
-
}
|
|
13663
|
-
|
|
13664
|
-
/* Backdrop */
|
|
13665
|
-
.muka-drawer::backdrop {
|
|
13666
|
-
background-color: var(--color-surface-backdrop);
|
|
13667
|
-
-webkit-backdrop-filter: blur(var(--effect-blur-backdrop));
|
|
13668
|
-
backdrop-filter: blur(var(--effect-blur-backdrop));
|
|
13669
|
-
opacity: 0;
|
|
13670
|
-
transition: opacity 200ms ease;
|
|
13671
|
-
}
|
|
13672
|
-
|
|
13673
|
-
.muka-drawer--slide-in::backdrop {
|
|
13674
|
-
opacity: 1;
|
|
13675
|
-
}
|
|
13676
|
-
|
|
13677
|
-
/* Surface */
|
|
13678
|
-
.muka-drawer__surface {
|
|
13679
|
-
display: flex;
|
|
13680
|
-
flex-direction: column;
|
|
13681
|
-
background-color: var(--color-surface-level3);
|
|
13682
|
-
box-shadow: var(--shadow-level5);
|
|
13683
|
-
height: 100%;
|
|
13684
|
-
overflow: hidden;
|
|
13685
|
-
position: fixed;
|
|
13686
|
-
transition: transform 200ms cubic-bezier(0.16, 1, 0.3, 1);
|
|
13687
|
-
}
|
|
13688
|
-
|
|
13689
|
-
/* Side positioning + initial transforms */
|
|
13690
|
-
.muka-drawer--right .muka-drawer__surface {
|
|
13691
|
-
top: 0;
|
|
13692
|
-
right: 0;
|
|
13693
|
-
bottom: 0;
|
|
13694
|
-
border-radius: var(--radius-lg) 0 0 var(--radius-lg);
|
|
13695
|
-
transform: translateX(100%);
|
|
13696
|
-
}
|
|
13697
|
-
|
|
13698
|
-
.muka-drawer--left .muka-drawer__surface {
|
|
13699
|
-
top: 0;
|
|
13700
|
-
left: 0;
|
|
13701
|
-
bottom: 0;
|
|
13702
|
-
border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
|
|
13703
|
-
transform: translateX(-100%);
|
|
13704
|
-
}
|
|
13705
|
-
|
|
13706
|
-
.muka-drawer--bottom .muka-drawer__surface {
|
|
13707
|
-
left: 0;
|
|
13708
|
-
right: 0;
|
|
13709
|
-
bottom: 0;
|
|
13710
|
-
border-radius: var(--radius-lg) var(--radius-lg) 0 0;
|
|
13711
|
-
transform: translateY(100%);
|
|
13712
|
-
}
|
|
13713
|
-
|
|
13714
|
-
.muka-drawer--top .muka-drawer__surface {
|
|
13715
|
-
left: 0;
|
|
13716
|
-
right: 0;
|
|
13717
|
-
top: 0;
|
|
13718
|
-
border-radius: 0 0 var(--radius-lg) var(--radius-lg);
|
|
13719
|
-
transform: translateY(-100%);
|
|
13720
|
-
}
|
|
13721
|
-
|
|
13722
|
-
/* Slide-in state */
|
|
13723
|
-
.muka-drawer--slide-in .muka-drawer__surface {
|
|
13724
|
-
transform: translate(0, 0);
|
|
13725
|
-
}
|
|
13726
|
-
|
|
13727
|
-
/* Width sizes (left/right) */
|
|
13728
|
-
.muka-drawer--right .muka-drawer__surface,
|
|
13729
|
-
.muka-drawer--left .muka-drawer__surface {
|
|
13730
|
-
width: var(--drawer-width-md);
|
|
13731
|
-
}
|
|
13732
|
-
|
|
13733
|
-
.muka-drawer--sm.muka-drawer--right .muka-drawer__surface,
|
|
13734
|
-
.muka-drawer--sm.muka-drawer--left .muka-drawer__surface {
|
|
13735
|
-
width: var(--drawer-width-sm);
|
|
13736
|
-
}
|
|
13737
|
-
|
|
13738
|
-
.muka-drawer--lg.muka-drawer--right .muka-drawer__surface,
|
|
13739
|
-
.muka-drawer--lg.muka-drawer--left .muka-drawer__surface {
|
|
13740
|
-
width: var(--drawer-width-lg);
|
|
13741
|
-
}
|
|
13742
|
-
|
|
13743
|
-
.muka-drawer--full.muka-drawer--right .muka-drawer__surface,
|
|
13744
|
-
.muka-drawer--full.muka-drawer--left .muka-drawer__surface {
|
|
13745
|
-
width: 100%;
|
|
13746
|
-
}
|
|
13747
|
-
|
|
13748
|
-
/* Height sizes (top/bottom) */
|
|
13749
|
-
.muka-drawer--top .muka-drawer__surface,
|
|
13750
|
-
.muka-drawer--bottom .muka-drawer__surface {
|
|
13751
|
-
height: auto;
|
|
13752
|
-
max-height: 80vh;
|
|
13753
|
-
}
|
|
13754
|
-
|
|
13755
|
-
.muka-drawer--full.muka-drawer--top .muka-drawer__surface,
|
|
13756
|
-
.muka-drawer--full.muka-drawer--bottom .muka-drawer__surface {
|
|
13757
|
-
max-height: 100vh;
|
|
13758
|
-
}
|
|
13759
|
-
|
|
13760
|
-
/* Header: the shared TopBar, raised above the scrolling body like in Dialog */
|
|
13761
|
-
.muka-drawer .muka-topbar {
|
|
13762
|
-
position: relative;
|
|
13763
|
-
z-index: 1;
|
|
13764
|
-
flex-shrink: 0;
|
|
13765
|
-
}
|
|
13766
|
-
|
|
13767
|
-
/* Body */
|
|
13768
|
-
.muka-drawer__body {
|
|
13769
|
-
flex: 1;
|
|
13770
|
-
overflow-y: auto;
|
|
13771
|
-
padding: var(--drawer-padding-x);
|
|
13772
|
-
}
|
|
13773
|
-
|
|
13774
|
-
/* Roomier body on desktop; the header and footer keep their padding */
|
|
13775
|
-
@media (min-width: 1024px) {
|
|
13776
|
-
.muka-drawer__body {
|
|
13777
|
-
padding: var(--drawer-padding-x-desktop);
|
|
13778
|
-
}
|
|
13808
|
+
min-width: 0;
|
|
13809
|
+
width: 100%;
|
|
13810
|
+
position: relative;
|
|
13811
|
+
z-index: 1;
|
|
13779
13812
|
}
|
|
13780
13813
|
|
|
13781
|
-
|
|
13782
|
-
|
|
13783
|
-
|
|
13784
|
-
|
|
13785
|
-
|
|
13814
|
+
.muka-combobox__input {
|
|
13815
|
+
flex: 1 1 5rem;
|
|
13816
|
+
min-width: 5rem;
|
|
13817
|
+
min-height: 2rem;
|
|
13818
|
+
margin: 0;
|
|
13819
|
+
padding: 0 var(--spacing-1);
|
|
13820
|
+
border: none;
|
|
13821
|
+
outline: none;
|
|
13822
|
+
background: transparent;
|
|
13823
|
+
color: var(--input-field-color-default-foreground);
|
|
13824
|
+
caret-color: var(--input-field-color-default-foreground);
|
|
13825
|
+
font-family: var(--text-label-md-regular-fontFamily);
|
|
13826
|
+
font-size: var(--text-label-md-regular-fontSize);
|
|
13827
|
+
font-weight: var(--text-label-md-regular-fontWeight);
|
|
13828
|
+
line-height: var(--text-label-md-regular-lineHeight);
|
|
13786
13829
|
}
|
|
13787
13830
|
|
|
13788
|
-
|
|
13789
|
-
|
|
13790
|
-
an app running edge to edge (viewport-fit=cover, e.g. an iOS shell). */
|
|
13791
|
-
|
|
13792
|
-
/* Top edge. Side, top and full-height drawers reach the status bar: their
|
|
13793
|
-
TopBar pads for it; without a header the surface does. A bottom drawer
|
|
13794
|
-
stops short of it, so its TopBar must not. */
|
|
13795
|
-
.muka-drawer--right .muka-drawer__surface:not(:has(> .muka-topbar)),
|
|
13796
|
-
.muka-drawer--left .muka-drawer__surface:not(:has(> .muka-topbar)),
|
|
13797
|
-
.muka-drawer--top .muka-drawer__surface:not(:has(> .muka-topbar)) {
|
|
13798
|
-
padding-top: env(safe-area-inset-top, 0px);
|
|
13831
|
+
.muka-combobox__input::placeholder {
|
|
13832
|
+
color: var(--color-text-subtle-default);
|
|
13799
13833
|
}
|
|
13800
13834
|
|
|
13801
|
-
.muka-
|
|
13802
|
-
|
|
13835
|
+
.muka-combobox__helper {
|
|
13836
|
+
margin: 0;
|
|
13837
|
+
color: var(--color-text-subtle-default);
|
|
13838
|
+
font-family: var(--text-label-sm-regular-fontFamily);
|
|
13839
|
+
font-size: var(--text-label-sm-regular-fontSize);
|
|
13840
|
+
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
13841
|
+
line-height: var(--text-label-sm-regular-lineHeight);
|
|
13803
13842
|
}
|
|
13804
13843
|
|
|
13805
|
-
|
|
13806
|
-
|
|
13807
|
-
|
|
13808
|
-
|
|
13844
|
+
.muka-combobox__error {
|
|
13845
|
+
margin: 0;
|
|
13846
|
+
color: var(--color-state-error-default);
|
|
13847
|
+
font-family: var(--text-label-sm-regular-fontFamily);
|
|
13848
|
+
font-size: var(--text-label-sm-regular-fontSize);
|
|
13849
|
+
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
13850
|
+
line-height: var(--text-label-sm-regular-lineHeight);
|
|
13809
13851
|
}
|
|
13810
13852
|
|
|
13811
|
-
.muka-
|
|
13812
|
-
|
|
13853
|
+
.muka-combobox__menu-anchor {
|
|
13854
|
+
position: absolute;
|
|
13855
|
+
inset: 0;
|
|
13856
|
+
z-index: 0;
|
|
13857
|
+
width: 100%;
|
|
13858
|
+
height: 100%;
|
|
13859
|
+
margin: 0;
|
|
13860
|
+
padding: 0;
|
|
13861
|
+
border: none;
|
|
13862
|
+
background: transparent;
|
|
13863
|
+
pointer-events: none;
|
|
13864
|
+
opacity: 0;
|
|
13813
13865
|
}
|
|
13814
13866
|
|
|
13815
|
-
|
|
13816
|
-
|
|
13817
|
-
|
|
13818
|
-
|
|
13819
|
-
|
|
13820
|
-
.muka-drawer--bottom .muka-drawer__body {
|
|
13821
|
-
padding-left: max(var(--drawer-padding-x), env(safe-area-inset-left, 0px));
|
|
13822
|
-
}
|
|
13823
|
-
|
|
13824
|
-
.muka-drawer--right .muka-drawer__body,
|
|
13825
|
-
.muka-drawer--top .muka-drawer__body,
|
|
13826
|
-
.muka-drawer--bottom .muka-drawer__body {
|
|
13827
|
-
padding-right: max(var(--drawer-padding-x), env(safe-area-inset-right, 0px));
|
|
13828
|
-
}
|
|
13867
|
+
.muka-combobox__menu {
|
|
13868
|
+
/* Prefer Menu token min-width (280px); may exceed the field when left-aligned. */
|
|
13869
|
+
min-width: var(--menu-content-min-width);
|
|
13870
|
+
width: max-content;
|
|
13871
|
+
max-width: min(100vw - 2rem, 24rem);
|
|
13829
13872
|
}
|
|
13830
13873
|
|
|
13831
13874
|
|
|
@@ -14292,74 +14335,241 @@ button.muka-chip__trailing[aria-expanded='true'],
|
|
|
14292
14335
|
object-fit: cover;
|
|
14293
14336
|
}
|
|
14294
14337
|
|
|
14295
|
-
/* Horizontal image sizing */
|
|
14296
|
-
.muka-checkbox-tile__image--horizontal {
|
|
14297
|
-
width: 40px;
|
|
14298
|
-
height: 40px;
|
|
14338
|
+
/* Horizontal image sizing */
|
|
14339
|
+
.muka-checkbox-tile__image--horizontal {
|
|
14340
|
+
width: 40px;
|
|
14341
|
+
height: 40px;
|
|
14342
|
+
}
|
|
14343
|
+
|
|
14344
|
+
/* Vertical image sizing */
|
|
14345
|
+
.muka-checkbox-tile--vertical .muka-checkbox-tile__image {
|
|
14346
|
+
width: 100%;
|
|
14347
|
+
aspect-ratio: 4/3;
|
|
14348
|
+
}
|
|
14349
|
+
|
|
14350
|
+
/* Content container */
|
|
14351
|
+
.muka-checkbox-tile__content {
|
|
14352
|
+
display: flex;
|
|
14353
|
+
flex-direction: column;
|
|
14354
|
+
flex: 1;
|
|
14355
|
+
min-width: 0;
|
|
14356
|
+
gap: var(--spacing-2);
|
|
14357
|
+
}
|
|
14358
|
+
|
|
14359
|
+
.muka-checkbox-tile__content-inner {
|
|
14360
|
+
display: flex;
|
|
14361
|
+
flex-direction: column;
|
|
14362
|
+
gap: var(--spacing-1);
|
|
14363
|
+
}
|
|
14364
|
+
|
|
14365
|
+
/* Chip slot (replaces badge; use Chip component) */
|
|
14366
|
+
.muka-checkbox-tile__chip {
|
|
14367
|
+
flex-shrink: 0;
|
|
14368
|
+
}
|
|
14369
|
+
|
|
14370
|
+
.muka-checkbox-tile__chip--vertical {
|
|
14371
|
+
margin-top: var(--spacing-1);
|
|
14372
|
+
}
|
|
14373
|
+
|
|
14374
|
+
/* Label */
|
|
14375
|
+
.muka-checkbox-tile__label {
|
|
14376
|
+
font-family: var(--text-body-lg-regular-fontFamily);
|
|
14377
|
+
font-weight: var(--text-body-lg-regular-fontWeight);
|
|
14378
|
+
font-size: var(--text-body-lg-regular-fontSize);
|
|
14379
|
+
line-height: var(--text-body-lg-regular-lineHeight);
|
|
14380
|
+
color: var(--color-text-default-default);
|
|
14381
|
+
}
|
|
14382
|
+
|
|
14383
|
+
.muka-checkbox-tile__label--bold {
|
|
14384
|
+
font-family: var(--text-label-lg-semibold-fontFamily);
|
|
14385
|
+
font-weight: var(--text-label-lg-semibold-fontWeight);
|
|
14386
|
+
font-size: var(--text-label-lg-semibold-fontSize);
|
|
14387
|
+
line-height: var(--text-label-lg-semibold-lineHeight);
|
|
14388
|
+
}
|
|
14389
|
+
|
|
14390
|
+
.muka-checkbox-tile__label--center {
|
|
14391
|
+
text-align: center;
|
|
14392
|
+
}
|
|
14393
|
+
|
|
14394
|
+
/* Caption */
|
|
14395
|
+
.muka-checkbox-tile__caption {
|
|
14396
|
+
font-family: var(--text-body-base-regular-fontFamily);
|
|
14397
|
+
font-weight: var(--text-body-base-regular-fontWeight);
|
|
14398
|
+
font-size: var(--text-body-base-regular-fontSize);
|
|
14399
|
+
line-height: var(--text-body-base-regular-lineHeight);
|
|
14400
|
+
color: var(--color-text-subtle-default);
|
|
14401
|
+
}
|
|
14402
|
+
|
|
14403
|
+
/* Disabled states */
|
|
14404
|
+
.muka-checkbox-tile--disabled .muka-checkbox-tile__label,
|
|
14405
|
+
.muka-checkbox-tile--disabled .muka-checkbox-tile__icon {
|
|
14406
|
+
color: var(--color-text-subtle-default);
|
|
14407
|
+
}
|
|
14408
|
+
|
|
14409
|
+
|
|
14410
|
+
/* Checkbox */
|
|
14411
|
+
/* Checkbox Component Styles - Using Muka Design Tokens */
|
|
14412
|
+
|
|
14413
|
+
/* Wrapper - clickable label container */
|
|
14414
|
+
.muka-checkbox {
|
|
14415
|
+
display: inline-flex;
|
|
14416
|
+
align-items: center;
|
|
14417
|
+
gap: var(--spacing-4);
|
|
14418
|
+
cursor: pointer;
|
|
14419
|
+
user-select: none;
|
|
14420
|
+
}
|
|
14421
|
+
|
|
14422
|
+
.muka-checkbox--disabled {
|
|
14423
|
+
cursor: not-allowed;
|
|
14424
|
+
opacity: 0.6;
|
|
14425
|
+
}
|
|
14426
|
+
|
|
14427
|
+
/* Control container */
|
|
14428
|
+
.muka-checkbox__control {
|
|
14429
|
+
position: relative;
|
|
14430
|
+
display: inline-flex;
|
|
14431
|
+
align-items: center;
|
|
14432
|
+
justify-content: center;
|
|
14433
|
+
flex-shrink: 0;
|
|
14434
|
+
}
|
|
14435
|
+
|
|
14436
|
+
/* Hidden native input */
|
|
14437
|
+
.muka-checkbox__input {
|
|
14438
|
+
position: absolute;
|
|
14439
|
+
width: 1px;
|
|
14440
|
+
height: 1px;
|
|
14441
|
+
padding: 0;
|
|
14442
|
+
margin: -1px;
|
|
14443
|
+
overflow: hidden;
|
|
14444
|
+
clip: rect(0, 0, 0, 0);
|
|
14445
|
+
white-space: nowrap;
|
|
14446
|
+
border: 0;
|
|
14447
|
+
}
|
|
14448
|
+
|
|
14449
|
+
/* Visual indicator (square) */
|
|
14450
|
+
.muka-checkbox__indicator {
|
|
14451
|
+
display: flex;
|
|
14452
|
+
align-items: center;
|
|
14453
|
+
justify-content: center;
|
|
14454
|
+
width: var(--checkbox-size-default);
|
|
14455
|
+
height: var(--checkbox-size-default);
|
|
14456
|
+
border-radius: var(--checkbox-radius);
|
|
14457
|
+
background-color: var(--checkbox-color-default-background);
|
|
14458
|
+
border: var(--border-width-regular) solid var(--checkbox-color-default-border);
|
|
14459
|
+
transition: all 0.15s ease;
|
|
14460
|
+
box-shadow: inset 0 1px 2px 0 rgba(26, 26, 26, 0.15);
|
|
14461
|
+
}
|
|
14462
|
+
|
|
14463
|
+
/* Size variants */
|
|
14464
|
+
.muka-checkbox--sm .muka-checkbox__indicator {
|
|
14465
|
+
width: var(--checkbox-size-sm);
|
|
14466
|
+
height: var(--checkbox-size-sm);
|
|
14467
|
+
}
|
|
14468
|
+
|
|
14469
|
+
.muka-checkbox--lg .muka-checkbox__indicator {
|
|
14470
|
+
width: var(--checkbox-size-lg);
|
|
14471
|
+
height: var(--checkbox-size-lg);
|
|
14472
|
+
}
|
|
14473
|
+
|
|
14474
|
+
/* Icon inside checkbox */
|
|
14475
|
+
.muka-checkbox__icon {
|
|
14476
|
+
width: var(--checkbox-icon-size-default);
|
|
14477
|
+
height: var(--checkbox-icon-size-default);
|
|
14478
|
+
color: var(--checkbox-color-default-icon);
|
|
14479
|
+
opacity: 0;
|
|
14480
|
+
transform: scale(0.8);
|
|
14481
|
+
transition: opacity 0.15s ease, transform 0.15s ease;
|
|
14482
|
+
}
|
|
14483
|
+
|
|
14484
|
+
.muka-checkbox--sm .muka-checkbox__icon {
|
|
14485
|
+
width: var(--checkbox-icon-size-sm);
|
|
14486
|
+
height: var(--checkbox-icon-size-sm);
|
|
14487
|
+
}
|
|
14488
|
+
|
|
14489
|
+
.muka-checkbox--lg .muka-checkbox__icon {
|
|
14490
|
+
width: var(--checkbox-icon-size-lg);
|
|
14491
|
+
height: var(--checkbox-icon-size-lg);
|
|
14492
|
+
}
|
|
14493
|
+
|
|
14494
|
+
/* Hide indeterminate icon by default */
|
|
14495
|
+
.muka-checkbox__icon--indeterminate {
|
|
14496
|
+
position: absolute;
|
|
14497
|
+
}
|
|
14498
|
+
|
|
14499
|
+
/* Hover state - removed per design */
|
|
14500
|
+
|
|
14501
|
+
/* Focus state */
|
|
14502
|
+
.muka-checkbox__input:focus-visible + .muka-checkbox__indicator {
|
|
14503
|
+
outline: 2px solid var(--color-border-focus);
|
|
14504
|
+
outline-offset: 2px;
|
|
14505
|
+
}
|
|
14506
|
+
|
|
14507
|
+
/* Checked state */
|
|
14508
|
+
.muka-checkbox__input:checked + .muka-checkbox__indicator {
|
|
14509
|
+
background-color: var(--checkbox-color-checked-background);
|
|
14510
|
+
border-color: var(--checkbox-color-checked-border);
|
|
14511
|
+
box-shadow: none;
|
|
14299
14512
|
}
|
|
14300
14513
|
|
|
14301
|
-
|
|
14302
|
-
|
|
14303
|
-
|
|
14304
|
-
|
|
14514
|
+
.muka-checkbox__input:checked + .muka-checkbox__indicator .muka-checkbox__icon--check {
|
|
14515
|
+
color: var(--checkbox-color-checked-icon);
|
|
14516
|
+
opacity: 1;
|
|
14517
|
+
transform: scale(1);
|
|
14305
14518
|
}
|
|
14306
14519
|
|
|
14307
|
-
/*
|
|
14308
|
-
.muka-
|
|
14309
|
-
|
|
14310
|
-
|
|
14311
|
-
|
|
14312
|
-
min-width: 0;
|
|
14313
|
-
gap: var(--spacing-2);
|
|
14520
|
+
/* Indeterminate state */
|
|
14521
|
+
.muka-checkbox__input:indeterminate + .muka-checkbox__indicator {
|
|
14522
|
+
background-color: var(--checkbox-color-checked-background);
|
|
14523
|
+
border-color: var(--checkbox-color-checked-border);
|
|
14524
|
+
box-shadow: none;
|
|
14314
14525
|
}
|
|
14315
14526
|
|
|
14316
|
-
.muka-
|
|
14317
|
-
|
|
14318
|
-
flex-direction: column;
|
|
14319
|
-
gap: var(--spacing-1);
|
|
14527
|
+
.muka-checkbox__input:indeterminate + .muka-checkbox__indicator .muka-checkbox__icon--check {
|
|
14528
|
+
opacity: 0;
|
|
14320
14529
|
}
|
|
14321
14530
|
|
|
14322
|
-
|
|
14323
|
-
|
|
14324
|
-
|
|
14531
|
+
.muka-checkbox__input:indeterminate + .muka-checkbox__indicator .muka-checkbox__icon--indeterminate {
|
|
14532
|
+
color: var(--checkbox-color-checked-icon);
|
|
14533
|
+
opacity: 1;
|
|
14534
|
+
transform: scale(1);
|
|
14325
14535
|
}
|
|
14326
14536
|
|
|
14327
|
-
|
|
14328
|
-
|
|
14537
|
+
/* Disabled state */
|
|
14538
|
+
.muka-checkbox--disabled .muka-checkbox__indicator {
|
|
14539
|
+
background-color: var(--checkbox-color-disabled-background);
|
|
14540
|
+
border-color: var(--checkbox-color-disabled-border);
|
|
14541
|
+
box-shadow: none;
|
|
14329
14542
|
}
|
|
14330
14543
|
|
|
14331
|
-
|
|
14332
|
-
.muka-
|
|
14333
|
-
|
|
14334
|
-
font-weight: var(--text-body-lg-regular-fontWeight);
|
|
14335
|
-
font-size: var(--text-body-lg-regular-fontSize);
|
|
14336
|
-
line-height: var(--text-body-lg-regular-lineHeight);
|
|
14337
|
-
color: var(--color-text-default-default);
|
|
14544
|
+
.muka-checkbox__input:disabled:checked + .muka-checkbox__indicator .muka-checkbox__icon--check,
|
|
14545
|
+
.muka-checkbox__input:disabled:indeterminate + .muka-checkbox__indicator .muka-checkbox__icon--indeterminate {
|
|
14546
|
+
color: var(--checkbox-color-disabled-icon);
|
|
14338
14547
|
}
|
|
14339
14548
|
|
|
14340
|
-
|
|
14341
|
-
|
|
14342
|
-
font-
|
|
14343
|
-
font-
|
|
14344
|
-
|
|
14549
|
+
/* Label text */
|
|
14550
|
+
.muka-checkbox__label {
|
|
14551
|
+
font-family: var(--text-label-lg-regular-fontFamily);
|
|
14552
|
+
font-weight: var(--text-label-lg-regular-fontWeight);
|
|
14553
|
+
font-size: var(--text-label-lg-regular-fontSize);
|
|
14554
|
+
line-height: var(--text-label-lg-regular-lineHeight);
|
|
14555
|
+
color: var(--color-text-default-default);
|
|
14345
14556
|
}
|
|
14346
14557
|
|
|
14347
|
-
.muka-checkbox
|
|
14348
|
-
|
|
14558
|
+
.muka-checkbox--sm .muka-checkbox__label {
|
|
14559
|
+
font-family: var(--text-label-md-regular-fontFamily);
|
|
14560
|
+
font-weight: var(--text-label-md-regular-fontWeight);
|
|
14561
|
+
font-size: var(--text-label-md-regular-fontSize);
|
|
14562
|
+
line-height: var(--text-label-md-regular-lineHeight);
|
|
14349
14563
|
}
|
|
14350
14564
|
|
|
14351
|
-
|
|
14352
|
-
|
|
14353
|
-
font-
|
|
14354
|
-
font-
|
|
14355
|
-
|
|
14356
|
-
line-height: var(--text-body-base-regular-lineHeight);
|
|
14357
|
-
color: var(--color-text-subtle-default);
|
|
14565
|
+
.muka-checkbox--lg .muka-checkbox__label {
|
|
14566
|
+
font-family: var(--text-label-xl-regular-fontFamily);
|
|
14567
|
+
font-weight: var(--text-label-xl-regular-fontWeight);
|
|
14568
|
+
font-size: var(--text-label-xl-regular-fontSize);
|
|
14569
|
+
line-height: var(--text-label-xl-regular-lineHeight);
|
|
14358
14570
|
}
|
|
14359
14571
|
|
|
14360
|
-
|
|
14361
|
-
.muka-checkbox-tile--disabled .muka-checkbox-tile__label,
|
|
14362
|
-
.muka-checkbox-tile--disabled .muka-checkbox-tile__icon {
|
|
14572
|
+
.muka-checkbox--disabled .muka-checkbox__label {
|
|
14363
14573
|
color: var(--color-text-subtle-default);
|
|
14364
14574
|
}
|
|
14365
14575
|
|
|
@@ -14504,272 +14714,105 @@ button.muka-chip__trailing[aria-expanded='true'],
|
|
|
14504
14714
|
|
|
14505
14715
|
.muka-chat-photo-grid__tile {
|
|
14506
14716
|
position: relative;
|
|
14507
|
-
display: block;
|
|
14508
|
-
overflow: hidden;
|
|
14509
|
-
min-width: 0;
|
|
14510
|
-
padding: 0;
|
|
14511
|
-
margin: 0;
|
|
14512
|
-
border: none;
|
|
14513
|
-
background-color: var(--chatphotogrid-color-placeholder);
|
|
14514
|
-
aspect-ratio: 1 / 1;
|
|
14515
|
-
}
|
|
14516
|
-
|
|
14517
|
-
button.muka-chat-photo-grid__tile {
|
|
14518
|
-
cursor: pointer;
|
|
14519
|
-
appearance: none;
|
|
14520
|
-
}
|
|
14521
|
-
|
|
14522
|
-
button.muka-chat-photo-grid__tile:focus-visible {
|
|
14523
|
-
outline: var(--border-width-bold) solid var(--color-border-focus);
|
|
14524
|
-
/* Inset, so the grid's overflow clip cannot cut the ring off on corner tiles */
|
|
14525
|
-
outline-offset: calc(-1 * var(--border-width-bold));
|
|
14526
|
-
}
|
|
14527
|
-
|
|
14528
|
-
.muka-chat-photo-grid__image {
|
|
14529
|
-
display: block;
|
|
14530
|
-
width: 100%;
|
|
14531
|
-
height: 100%;
|
|
14532
|
-
object-fit: cover;
|
|
14533
|
-
}
|
|
14534
|
-
|
|
14535
|
-
/* ─── Overflow tile ────────────────────────────────────── */
|
|
14536
|
-
|
|
14537
|
-
.muka-chat-photo-grid__overflow {
|
|
14538
|
-
position: absolute;
|
|
14539
|
-
inset: 0;
|
|
14540
|
-
display: flex;
|
|
14541
|
-
align-items: center;
|
|
14542
|
-
justify-content: center;
|
|
14543
|
-
background-color: var(--chatphotogrid-color-overflow-background);
|
|
14544
|
-
color: var(--chatphotogrid-color-overflow-foreground);
|
|
14545
|
-
font-family: var(--text-body-2xl-regular-fontFamily);
|
|
14546
|
-
font-weight: var(--text-body-2xl-regular-fontWeight);
|
|
14547
|
-
font-size: var(--text-body-2xl-regular-fontSize);
|
|
14548
|
-
line-height: var(--text-body-2xl-regular-lineHeight);
|
|
14549
|
-
}
|
|
14550
|
-
|
|
14551
|
-
/* ─── Layouts ──────────────────────────────────────────── */
|
|
14552
|
-
|
|
14553
|
-
.muka-chat-photo-grid--1 {
|
|
14554
|
-
grid-template-columns: 1fr;
|
|
14555
|
-
}
|
|
14556
|
-
|
|
14557
|
-
.muka-chat-photo-grid--landscape .muka-chat-photo-grid__tile {
|
|
14558
|
-
aspect-ratio: 4 / 3;
|
|
14559
|
-
}
|
|
14560
|
-
|
|
14561
|
-
.muka-chat-photo-grid--portrait .muka-chat-photo-grid__tile {
|
|
14562
|
-
aspect-ratio: 3 / 4;
|
|
14563
|
-
}
|
|
14564
|
-
|
|
14565
|
-
.muka-chat-photo-grid--2 {
|
|
14566
|
-
grid-template-columns: repeat(2, 1fr);
|
|
14567
|
-
}
|
|
14568
|
-
|
|
14569
|
-
.muka-chat-photo-grid--3 {
|
|
14570
|
-
grid-template-columns: repeat(3, 1fr);
|
|
14571
|
-
}
|
|
14572
|
-
|
|
14573
|
-
.muka-chat-photo-grid--4 {
|
|
14574
|
-
grid-template-columns: repeat(2, 1fr);
|
|
14575
|
-
}
|
|
14576
|
-
|
|
14577
|
-
/* 5 photos: a 2-up row above a 3-up row, on a shared 6-column track */
|
|
14578
|
-
.muka-chat-photo-grid--5 {
|
|
14579
|
-
grid-template-columns: repeat(6, 1fr);
|
|
14580
|
-
}
|
|
14581
|
-
|
|
14582
|
-
.muka-chat-photo-grid--5 .muka-chat-photo-grid__tile:nth-child(-n + 2) {
|
|
14583
|
-
grid-column: span 3;
|
|
14584
|
-
}
|
|
14585
|
-
|
|
14586
|
-
.muka-chat-photo-grid--5 .muka-chat-photo-grid__tile:nth-child(n + 3) {
|
|
14587
|
-
grid-column: span 2;
|
|
14588
|
-
}
|
|
14589
|
-
|
|
14590
|
-
.muka-chat-photo-grid--6,
|
|
14591
|
-
.muka-chat-photo-grid--overflow {
|
|
14592
|
-
grid-template-columns: repeat(3, 1fr);
|
|
14593
|
-
}
|
|
14594
|
-
|
|
14595
|
-
/* ─── Print ────────────────────────────────────────────── */
|
|
14596
|
-
|
|
14597
|
-
@media print {
|
|
14598
|
-
.muka-chat-photo-grid {
|
|
14599
|
-
break-inside: avoid;
|
|
14600
|
-
}
|
|
14601
|
-
|
|
14602
|
-
.muka-chat-photo-grid__image {
|
|
14603
|
-
print-color-adjust: exact;
|
|
14604
|
-
-webkit-print-color-adjust: exact;
|
|
14605
|
-
}
|
|
14606
|
-
}
|
|
14607
|
-
|
|
14608
|
-
|
|
14609
|
-
/* Checkbox */
|
|
14610
|
-
/* Checkbox Component Styles - Using Muka Design Tokens */
|
|
14611
|
-
|
|
14612
|
-
/* Wrapper - clickable label container */
|
|
14613
|
-
.muka-checkbox {
|
|
14614
|
-
display: inline-flex;
|
|
14615
|
-
align-items: center;
|
|
14616
|
-
gap: var(--spacing-4);
|
|
14617
|
-
cursor: pointer;
|
|
14618
|
-
user-select: none;
|
|
14619
|
-
}
|
|
14620
|
-
|
|
14621
|
-
.muka-checkbox--disabled {
|
|
14622
|
-
cursor: not-allowed;
|
|
14623
|
-
opacity: 0.6;
|
|
14624
|
-
}
|
|
14625
|
-
|
|
14626
|
-
/* Control container */
|
|
14627
|
-
.muka-checkbox__control {
|
|
14628
|
-
position: relative;
|
|
14629
|
-
display: inline-flex;
|
|
14630
|
-
align-items: center;
|
|
14631
|
-
justify-content: center;
|
|
14632
|
-
flex-shrink: 0;
|
|
14633
|
-
}
|
|
14634
|
-
|
|
14635
|
-
/* Hidden native input */
|
|
14636
|
-
.muka-checkbox__input {
|
|
14637
|
-
position: absolute;
|
|
14638
|
-
width: 1px;
|
|
14639
|
-
height: 1px;
|
|
14640
|
-
padding: 0;
|
|
14641
|
-
margin: -1px;
|
|
14642
|
-
overflow: hidden;
|
|
14643
|
-
clip: rect(0, 0, 0, 0);
|
|
14644
|
-
white-space: nowrap;
|
|
14645
|
-
border: 0;
|
|
14646
|
-
}
|
|
14647
|
-
|
|
14648
|
-
/* Visual indicator (square) */
|
|
14649
|
-
.muka-checkbox__indicator {
|
|
14650
|
-
display: flex;
|
|
14651
|
-
align-items: center;
|
|
14652
|
-
justify-content: center;
|
|
14653
|
-
width: var(--checkbox-size-default);
|
|
14654
|
-
height: var(--checkbox-size-default);
|
|
14655
|
-
border-radius: var(--checkbox-radius);
|
|
14656
|
-
background-color: var(--checkbox-color-default-background);
|
|
14657
|
-
border: var(--border-width-regular) solid var(--checkbox-color-default-border);
|
|
14658
|
-
transition: all 0.15s ease;
|
|
14659
|
-
box-shadow: inset 0 1px 2px 0 rgba(26, 26, 26, 0.15);
|
|
14660
|
-
}
|
|
14661
|
-
|
|
14662
|
-
/* Size variants */
|
|
14663
|
-
.muka-checkbox--sm .muka-checkbox__indicator {
|
|
14664
|
-
width: var(--checkbox-size-sm);
|
|
14665
|
-
height: var(--checkbox-size-sm);
|
|
14717
|
+
display: block;
|
|
14718
|
+
overflow: hidden;
|
|
14719
|
+
min-width: 0;
|
|
14720
|
+
padding: 0;
|
|
14721
|
+
margin: 0;
|
|
14722
|
+
border: none;
|
|
14723
|
+
background-color: var(--chatphotogrid-color-placeholder);
|
|
14724
|
+
aspect-ratio: 1 / 1;
|
|
14666
14725
|
}
|
|
14667
14726
|
|
|
14668
|
-
.muka-
|
|
14669
|
-
|
|
14670
|
-
|
|
14727
|
+
button.muka-chat-photo-grid__tile {
|
|
14728
|
+
cursor: pointer;
|
|
14729
|
+
appearance: none;
|
|
14671
14730
|
}
|
|
14672
14731
|
|
|
14673
|
-
|
|
14674
|
-
|
|
14675
|
-
|
|
14676
|
-
|
|
14677
|
-
color: var(--checkbox-color-default-icon);
|
|
14678
|
-
opacity: 0;
|
|
14679
|
-
transform: scale(0.8);
|
|
14680
|
-
transition: opacity 0.15s ease, transform 0.15s ease;
|
|
14732
|
+
button.muka-chat-photo-grid__tile:focus-visible {
|
|
14733
|
+
outline: var(--border-width-bold) solid var(--color-border-focus);
|
|
14734
|
+
/* Inset, so the grid's overflow clip cannot cut the ring off on corner tiles */
|
|
14735
|
+
outline-offset: calc(-1 * var(--border-width-bold));
|
|
14681
14736
|
}
|
|
14682
14737
|
|
|
14683
|
-
.muka-
|
|
14684
|
-
|
|
14685
|
-
|
|
14738
|
+
.muka-chat-photo-grid__image {
|
|
14739
|
+
display: block;
|
|
14740
|
+
width: 100%;
|
|
14741
|
+
height: 100%;
|
|
14742
|
+
object-fit: cover;
|
|
14686
14743
|
}
|
|
14687
14744
|
|
|
14688
|
-
|
|
14689
|
-
width: var(--checkbox-icon-size-lg);
|
|
14690
|
-
height: var(--checkbox-icon-size-lg);
|
|
14691
|
-
}
|
|
14745
|
+
/* ─── Overflow tile ────────────────────────────────────── */
|
|
14692
14746
|
|
|
14693
|
-
|
|
14694
|
-
.muka-checkbox__icon--indeterminate {
|
|
14747
|
+
.muka-chat-photo-grid__overflow {
|
|
14695
14748
|
position: absolute;
|
|
14749
|
+
inset: 0;
|
|
14750
|
+
display: flex;
|
|
14751
|
+
align-items: center;
|
|
14752
|
+
justify-content: center;
|
|
14753
|
+
background-color: var(--chatphotogrid-color-overflow-background);
|
|
14754
|
+
color: var(--chatphotogrid-color-overflow-foreground);
|
|
14755
|
+
font-family: var(--text-body-2xl-regular-fontFamily);
|
|
14756
|
+
font-weight: var(--text-body-2xl-regular-fontWeight);
|
|
14757
|
+
font-size: var(--text-body-2xl-regular-fontSize);
|
|
14758
|
+
line-height: var(--text-body-2xl-regular-lineHeight);
|
|
14696
14759
|
}
|
|
14697
14760
|
|
|
14698
|
-
/*
|
|
14761
|
+
/* ─── Layouts ──────────────────────────────────────────── */
|
|
14699
14762
|
|
|
14700
|
-
|
|
14701
|
-
|
|
14702
|
-
outline: 2px solid var(--color-border-focus);
|
|
14703
|
-
outline-offset: 2px;
|
|
14763
|
+
.muka-chat-photo-grid--1 {
|
|
14764
|
+
grid-template-columns: 1fr;
|
|
14704
14765
|
}
|
|
14705
14766
|
|
|
14706
|
-
|
|
14707
|
-
|
|
14708
|
-
background-color: var(--checkbox-color-checked-background);
|
|
14709
|
-
border-color: var(--checkbox-color-checked-border);
|
|
14710
|
-
box-shadow: none;
|
|
14767
|
+
.muka-chat-photo-grid--landscape .muka-chat-photo-grid__tile {
|
|
14768
|
+
aspect-ratio: 4 / 3;
|
|
14711
14769
|
}
|
|
14712
14770
|
|
|
14713
|
-
.muka-
|
|
14714
|
-
|
|
14715
|
-
opacity: 1;
|
|
14716
|
-
transform: scale(1);
|
|
14771
|
+
.muka-chat-photo-grid--portrait .muka-chat-photo-grid__tile {
|
|
14772
|
+
aspect-ratio: 3 / 4;
|
|
14717
14773
|
}
|
|
14718
14774
|
|
|
14719
|
-
|
|
14720
|
-
|
|
14721
|
-
background-color: var(--checkbox-color-checked-background);
|
|
14722
|
-
border-color: var(--checkbox-color-checked-border);
|
|
14723
|
-
box-shadow: none;
|
|
14775
|
+
.muka-chat-photo-grid--2 {
|
|
14776
|
+
grid-template-columns: repeat(2, 1fr);
|
|
14724
14777
|
}
|
|
14725
14778
|
|
|
14726
|
-
.muka-
|
|
14727
|
-
|
|
14779
|
+
.muka-chat-photo-grid--3 {
|
|
14780
|
+
grid-template-columns: repeat(3, 1fr);
|
|
14728
14781
|
}
|
|
14729
14782
|
|
|
14730
|
-
.muka-
|
|
14731
|
-
|
|
14732
|
-
opacity: 1;
|
|
14733
|
-
transform: scale(1);
|
|
14783
|
+
.muka-chat-photo-grid--4 {
|
|
14784
|
+
grid-template-columns: repeat(2, 1fr);
|
|
14734
14785
|
}
|
|
14735
14786
|
|
|
14736
|
-
/*
|
|
14737
|
-
.muka-
|
|
14738
|
-
|
|
14739
|
-
border-color: var(--checkbox-color-disabled-border);
|
|
14740
|
-
box-shadow: none;
|
|
14787
|
+
/* 5 photos: a 2-up row above a 3-up row, on a shared 6-column track */
|
|
14788
|
+
.muka-chat-photo-grid--5 {
|
|
14789
|
+
grid-template-columns: repeat(6, 1fr);
|
|
14741
14790
|
}
|
|
14742
14791
|
|
|
14743
|
-
.muka-
|
|
14744
|
-
|
|
14745
|
-
color: var(--checkbox-color-disabled-icon);
|
|
14792
|
+
.muka-chat-photo-grid--5 .muka-chat-photo-grid__tile:nth-child(-n + 2) {
|
|
14793
|
+
grid-column: span 3;
|
|
14746
14794
|
}
|
|
14747
14795
|
|
|
14748
|
-
|
|
14749
|
-
|
|
14750
|
-
font-family: var(--text-label-lg-regular-fontFamily);
|
|
14751
|
-
font-weight: var(--text-label-lg-regular-fontWeight);
|
|
14752
|
-
font-size: var(--text-label-lg-regular-fontSize);
|
|
14753
|
-
line-height: var(--text-label-lg-regular-lineHeight);
|
|
14754
|
-
color: var(--color-text-default-default);
|
|
14796
|
+
.muka-chat-photo-grid--5 .muka-chat-photo-grid__tile:nth-child(n + 3) {
|
|
14797
|
+
grid-column: span 2;
|
|
14755
14798
|
}
|
|
14756
14799
|
|
|
14757
|
-
.muka-
|
|
14758
|
-
|
|
14759
|
-
|
|
14760
|
-
font-size: var(--text-label-md-regular-fontSize);
|
|
14761
|
-
line-height: var(--text-label-md-regular-lineHeight);
|
|
14800
|
+
.muka-chat-photo-grid--6,
|
|
14801
|
+
.muka-chat-photo-grid--overflow {
|
|
14802
|
+
grid-template-columns: repeat(3, 1fr);
|
|
14762
14803
|
}
|
|
14763
14804
|
|
|
14764
|
-
|
|
14765
|
-
font-family: var(--text-label-xl-regular-fontFamily);
|
|
14766
|
-
font-weight: var(--text-label-xl-regular-fontWeight);
|
|
14767
|
-
font-size: var(--text-label-xl-regular-fontSize);
|
|
14768
|
-
line-height: var(--text-label-xl-regular-lineHeight);
|
|
14769
|
-
}
|
|
14805
|
+
/* ─── Print ────────────────────────────────────────────── */
|
|
14770
14806
|
|
|
14771
|
-
|
|
14772
|
-
|
|
14807
|
+
@media print {
|
|
14808
|
+
.muka-chat-photo-grid {
|
|
14809
|
+
break-inside: avoid;
|
|
14810
|
+
}
|
|
14811
|
+
|
|
14812
|
+
.muka-chat-photo-grid__image {
|
|
14813
|
+
print-color-adjust: exact;
|
|
14814
|
+
-webkit-print-color-adjust: exact;
|
|
14815
|
+
}
|
|
14773
14816
|
}
|
|
14774
14817
|
|
|
14775
14818
|
|
|
@@ -15234,6 +15277,58 @@ button.muka-chat-photo-grid__tile:focus-visible {
|
|
|
15234
15277
|
}
|
|
15235
15278
|
|
|
15236
15279
|
|
|
15280
|
+
/* ChatEvent */
|
|
15281
|
+
/* ChatEvent: a line in a chat that isn't a message from a person */
|
|
15282
|
+
|
|
15283
|
+
.muka-chat-event {
|
|
15284
|
+
display: flex;
|
|
15285
|
+
flex-direction: column;
|
|
15286
|
+
align-items: center;
|
|
15287
|
+
gap: var(--spacing-2);
|
|
15288
|
+
width: 100%;
|
|
15289
|
+
padding: 0 var(--spacing-4);
|
|
15290
|
+
box-sizing: border-box;
|
|
15291
|
+
text-align: center;
|
|
15292
|
+
}
|
|
15293
|
+
|
|
15294
|
+
.muka-chat-event__text {
|
|
15295
|
+
margin: 0;
|
|
15296
|
+
max-width: var(--chatbubble-max-width);
|
|
15297
|
+
/* Default text, not subtle: subtle reaches only ~3:1 on the chat surfaces,
|
|
15298
|
+
and this is body text. Size and centring set it apart from messages. */
|
|
15299
|
+
color: var(--color-text-default-default);
|
|
15300
|
+
font-family: var(--text-body-sm-regular-fontFamily);
|
|
15301
|
+
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
15302
|
+
font-size: var(--text-body-sm-regular-fontSize);
|
|
15303
|
+
line-height: var(--text-body-sm-regular-lineHeight);
|
|
15304
|
+
}
|
|
15305
|
+
|
|
15306
|
+
.muka-chat-event__timestamp {
|
|
15307
|
+
white-space: nowrap;
|
|
15308
|
+
}
|
|
15309
|
+
|
|
15310
|
+
.muka-chat-event__media {
|
|
15311
|
+
display: flex;
|
|
15312
|
+
flex-wrap: wrap;
|
|
15313
|
+
justify-content: center;
|
|
15314
|
+
gap: var(--spacing-2);
|
|
15315
|
+
}
|
|
15316
|
+
|
|
15317
|
+
/* Day divider: a small pill */
|
|
15318
|
+
.muka-chat-event__pill {
|
|
15319
|
+
display: inline-flex;
|
|
15320
|
+
align-items: center;
|
|
15321
|
+
padding: var(--spacing-1) var(--spacing-3);
|
|
15322
|
+
border-radius: var(--radius-full);
|
|
15323
|
+
background-color: var(--color-surface-level2);
|
|
15324
|
+
color: var(--color-text-default-default);
|
|
15325
|
+
font-family: var(--text-label-sm-regular-fontFamily);
|
|
15326
|
+
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
15327
|
+
font-size: var(--text-label-sm-regular-fontSize);
|
|
15328
|
+
line-height: var(--text-label-sm-leading);
|
|
15329
|
+
}
|
|
15330
|
+
|
|
15331
|
+
|
|
15237
15332
|
/* ChatComposer */
|
|
15238
15333
|
/* ChatComposer Component Styles */
|
|
15239
15334
|
|
|
@@ -15584,56 +15679,160 @@ button.muka-chat-photo-grid__tile:focus-visible {
|
|
|
15584
15679
|
min-width: 0;
|
|
15585
15680
|
}
|
|
15586
15681
|
|
|
15587
|
-
|
|
15588
|
-
/*
|
|
15589
|
-
/*
|
|
15590
|
-
|
|
15591
|
-
.muka-chat-
|
|
15682
|
+
|
|
15683
|
+
/* ChatAttachmentChip */
|
|
15684
|
+
/* ChatAttachmentChip Component Styles */
|
|
15685
|
+
|
|
15686
|
+
.muka-chat-attachment-chip {
|
|
15687
|
+
position: relative;
|
|
15688
|
+
display: inline-flex;
|
|
15689
|
+
align-items: center;
|
|
15690
|
+
gap: var(--spacing-1);
|
|
15691
|
+
max-width: 240px;
|
|
15692
|
+
padding: var(--spacing-2) var(--spacing-3);
|
|
15693
|
+
background-color: var(--color-surface-level1);
|
|
15694
|
+
border: var(--border-width-regular) solid var(--color-border-default);
|
|
15695
|
+
border-radius: var(--radius-md);
|
|
15696
|
+
overflow: hidden;
|
|
15697
|
+
}
|
|
15698
|
+
|
|
15699
|
+
.muka-chat-attachment-chip--uploading {
|
|
15700
|
+
padding-bottom: calc(var(--spacing-2) + 2px);
|
|
15701
|
+
}
|
|
15702
|
+
|
|
15703
|
+
.muka-chat-attachment-chip--error {
|
|
15704
|
+
border-color: var(--color-state-error-default, var(--color-text-default-default));
|
|
15705
|
+
}
|
|
15706
|
+
|
|
15707
|
+
.muka-chat-attachment-chip--disabled {
|
|
15708
|
+
opacity: 0.5;
|
|
15709
|
+
pointer-events: none;
|
|
15710
|
+
}
|
|
15711
|
+
|
|
15712
|
+
/* ─── Body (icon + text) ───────────────────────────────── */
|
|
15713
|
+
|
|
15714
|
+
.muka-chat-attachment-chip__body {
|
|
15715
|
+
display: inline-flex;
|
|
15716
|
+
align-items: center;
|
|
15717
|
+
gap: var(--spacing-2);
|
|
15718
|
+
min-width: 0;
|
|
15719
|
+
flex: 1 1 auto;
|
|
15720
|
+
background: none;
|
|
15721
|
+
border: none;
|
|
15722
|
+
padding: 0;
|
|
15723
|
+
margin: 0;
|
|
15724
|
+
text-align: left;
|
|
15725
|
+
color: inherit;
|
|
15726
|
+
font: inherit;
|
|
15727
|
+
cursor: default;
|
|
15728
|
+
-webkit-tap-highlight-color: transparent;
|
|
15729
|
+
}
|
|
15730
|
+
|
|
15731
|
+
.muka-chat-attachment-chip--interactive .muka-chat-attachment-chip__body {
|
|
15732
|
+
cursor: pointer;
|
|
15733
|
+
}
|
|
15734
|
+
|
|
15735
|
+
.muka-chat-attachment-chip--interactive .muka-chat-attachment-chip__body:focus-visible {
|
|
15736
|
+
outline: 2px solid var(--color-action-default);
|
|
15737
|
+
outline-offset: 2px;
|
|
15738
|
+
border-radius: var(--radius-sm);
|
|
15739
|
+
}
|
|
15740
|
+
|
|
15741
|
+
.muka-chat-attachment-chip__icon {
|
|
15742
|
+
display: inline-flex;
|
|
15743
|
+
align-items: center;
|
|
15744
|
+
justify-content: center;
|
|
15745
|
+
flex-shrink: 0;
|
|
15746
|
+
color: var(--color-text-subtle-default);
|
|
15747
|
+
}
|
|
15748
|
+
|
|
15749
|
+
.muka-chat-attachment-chip__text {
|
|
15592
15750
|
display: flex;
|
|
15593
15751
|
flex-direction: column;
|
|
15594
|
-
|
|
15595
|
-
|
|
15596
|
-
width: 100%;
|
|
15597
|
-
padding: 0 var(--spacing-4);
|
|
15598
|
-
box-sizing: border-box;
|
|
15599
|
-
text-align: center;
|
|
15752
|
+
min-width: 0;
|
|
15753
|
+
flex: 1 1 auto;
|
|
15600
15754
|
}
|
|
15601
15755
|
|
|
15602
|
-
.muka-chat-
|
|
15603
|
-
margin: 0;
|
|
15604
|
-
max-width: var(--chatbubble-max-width);
|
|
15605
|
-
/* Default text, not subtle: subtle reaches only ~3:1 on the chat surfaces,
|
|
15606
|
-
and this is body text. Size and centring set it apart from messages. */
|
|
15756
|
+
.muka-chat-attachment-chip__name {
|
|
15607
15757
|
color: var(--color-text-default-default);
|
|
15608
15758
|
font-family: var(--text-body-sm-regular-fontFamily);
|
|
15609
15759
|
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
15610
15760
|
font-size: var(--text-body-sm-regular-fontSize);
|
|
15611
15761
|
line-height: var(--text-body-sm-regular-lineHeight);
|
|
15762
|
+
white-space: nowrap;
|
|
15763
|
+
overflow: hidden;
|
|
15764
|
+
text-overflow: ellipsis;
|
|
15612
15765
|
}
|
|
15613
15766
|
|
|
15614
|
-
.muka-chat-
|
|
15767
|
+
.muka-chat-attachment-chip__meta {
|
|
15768
|
+
color: var(--color-text-subtle-default);
|
|
15769
|
+
font-family: var(--text-body-sm-regular-fontFamily);
|
|
15770
|
+
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
15771
|
+
font-size: var(--text-body-sm-regular-fontSize);
|
|
15772
|
+
line-height: var(--text-body-sm-regular-lineHeight);
|
|
15615
15773
|
white-space: nowrap;
|
|
15774
|
+
overflow: hidden;
|
|
15775
|
+
text-overflow: ellipsis;
|
|
15616
15776
|
}
|
|
15617
15777
|
|
|
15618
|
-
.muka-chat-
|
|
15619
|
-
|
|
15620
|
-
flex-wrap: wrap;
|
|
15621
|
-
justify-content: center;
|
|
15622
|
-
gap: var(--spacing-2);
|
|
15778
|
+
.muka-chat-attachment-chip--error .muka-chat-attachment-chip__meta {
|
|
15779
|
+
color: var(--color-state-error-default, var(--color-text-default-default));
|
|
15623
15780
|
}
|
|
15624
15781
|
|
|
15625
|
-
/*
|
|
15626
|
-
|
|
15782
|
+
/* ─── Remove button ────────────────────────────────────── */
|
|
15783
|
+
|
|
15784
|
+
.muka-chat-attachment-chip__remove {
|
|
15627
15785
|
display: inline-flex;
|
|
15628
15786
|
align-items: center;
|
|
15629
|
-
|
|
15630
|
-
|
|
15631
|
-
|
|
15787
|
+
justify-content: center;
|
|
15788
|
+
width: 20px;
|
|
15789
|
+
height: 20px;
|
|
15790
|
+
border: none;
|
|
15791
|
+
background: none;
|
|
15792
|
+
padding: 0;
|
|
15793
|
+
border-radius: var(--radius-sm);
|
|
15794
|
+
cursor: pointer;
|
|
15795
|
+
color: var(--color-text-subtle-default);
|
|
15796
|
+
flex-shrink: 0;
|
|
15797
|
+
-webkit-tap-highlight-color: transparent;
|
|
15798
|
+
}
|
|
15799
|
+
|
|
15800
|
+
.muka-chat-attachment-chip__remove:hover:not(:disabled) {
|
|
15632
15801
|
color: var(--color-text-default-default);
|
|
15633
|
-
|
|
15634
|
-
|
|
15635
|
-
|
|
15636
|
-
|
|
15802
|
+
background-color: var(--color-surface-level2);
|
|
15803
|
+
}
|
|
15804
|
+
|
|
15805
|
+
.muka-chat-attachment-chip__remove:focus-visible {
|
|
15806
|
+
outline: 2px solid var(--color-action-default);
|
|
15807
|
+
outline-offset: 2px;
|
|
15808
|
+
}
|
|
15809
|
+
|
|
15810
|
+
.muka-chat-attachment-chip__remove:disabled {
|
|
15811
|
+
cursor: not-allowed;
|
|
15812
|
+
opacity: 0.5;
|
|
15813
|
+
}
|
|
15814
|
+
|
|
15815
|
+
/* ─── Progress bar ─────────────────────────────────────── */
|
|
15816
|
+
|
|
15817
|
+
.muka-chat-attachment-chip__progress {
|
|
15818
|
+
position: absolute;
|
|
15819
|
+
left: 0;
|
|
15820
|
+
right: 0;
|
|
15821
|
+
bottom: 0;
|
|
15822
|
+
height: 2px;
|
|
15823
|
+
background-color: var(--color-surface-level2);
|
|
15824
|
+
overflow: hidden;
|
|
15825
|
+
}
|
|
15826
|
+
|
|
15827
|
+
.muka-chat-attachment-chip__progress-fill {
|
|
15828
|
+
display: block;
|
|
15829
|
+
height: 100%;
|
|
15830
|
+
background-color: var(--color-action-default);
|
|
15831
|
+
transition: width 0.16s ease;
|
|
15832
|
+
}
|
|
15833
|
+
|
|
15834
|
+
.muka-chat-attachment-chip--error .muka-chat-attachment-chip__progress-fill {
|
|
15835
|
+
background-color: var(--color-state-error-default, var(--color-text-default-default));
|
|
15637
15836
|
}
|
|
15638
15837
|
|
|
15639
15838
|
|
|
@@ -17860,162 +18059,6 @@ button.muka-chat-photo-grid__tile:focus-visible {
|
|
|
17860
18059
|
}
|
|
17861
18060
|
|
|
17862
18061
|
|
|
17863
|
-
/* ChatAttachmentChip */
|
|
17864
|
-
/* ChatAttachmentChip Component Styles */
|
|
17865
|
-
|
|
17866
|
-
.muka-chat-attachment-chip {
|
|
17867
|
-
position: relative;
|
|
17868
|
-
display: inline-flex;
|
|
17869
|
-
align-items: center;
|
|
17870
|
-
gap: var(--spacing-1);
|
|
17871
|
-
max-width: 240px;
|
|
17872
|
-
padding: var(--spacing-2) var(--spacing-3);
|
|
17873
|
-
background-color: var(--color-surface-level1);
|
|
17874
|
-
border: var(--border-width-regular) solid var(--color-border-default);
|
|
17875
|
-
border-radius: var(--radius-md);
|
|
17876
|
-
overflow: hidden;
|
|
17877
|
-
}
|
|
17878
|
-
|
|
17879
|
-
.muka-chat-attachment-chip--uploading {
|
|
17880
|
-
padding-bottom: calc(var(--spacing-2) + 2px);
|
|
17881
|
-
}
|
|
17882
|
-
|
|
17883
|
-
.muka-chat-attachment-chip--error {
|
|
17884
|
-
border-color: var(--color-state-error-default, var(--color-text-default-default));
|
|
17885
|
-
}
|
|
17886
|
-
|
|
17887
|
-
.muka-chat-attachment-chip--disabled {
|
|
17888
|
-
opacity: 0.5;
|
|
17889
|
-
pointer-events: none;
|
|
17890
|
-
}
|
|
17891
|
-
|
|
17892
|
-
/* ─── Body (icon + text) ───────────────────────────────── */
|
|
17893
|
-
|
|
17894
|
-
.muka-chat-attachment-chip__body {
|
|
17895
|
-
display: inline-flex;
|
|
17896
|
-
align-items: center;
|
|
17897
|
-
gap: var(--spacing-2);
|
|
17898
|
-
min-width: 0;
|
|
17899
|
-
flex: 1 1 auto;
|
|
17900
|
-
background: none;
|
|
17901
|
-
border: none;
|
|
17902
|
-
padding: 0;
|
|
17903
|
-
margin: 0;
|
|
17904
|
-
text-align: left;
|
|
17905
|
-
color: inherit;
|
|
17906
|
-
font: inherit;
|
|
17907
|
-
cursor: default;
|
|
17908
|
-
-webkit-tap-highlight-color: transparent;
|
|
17909
|
-
}
|
|
17910
|
-
|
|
17911
|
-
.muka-chat-attachment-chip--interactive .muka-chat-attachment-chip__body {
|
|
17912
|
-
cursor: pointer;
|
|
17913
|
-
}
|
|
17914
|
-
|
|
17915
|
-
.muka-chat-attachment-chip--interactive .muka-chat-attachment-chip__body:focus-visible {
|
|
17916
|
-
outline: 2px solid var(--color-action-default);
|
|
17917
|
-
outline-offset: 2px;
|
|
17918
|
-
border-radius: var(--radius-sm);
|
|
17919
|
-
}
|
|
17920
|
-
|
|
17921
|
-
.muka-chat-attachment-chip__icon {
|
|
17922
|
-
display: inline-flex;
|
|
17923
|
-
align-items: center;
|
|
17924
|
-
justify-content: center;
|
|
17925
|
-
flex-shrink: 0;
|
|
17926
|
-
color: var(--color-text-subtle-default);
|
|
17927
|
-
}
|
|
17928
|
-
|
|
17929
|
-
.muka-chat-attachment-chip__text {
|
|
17930
|
-
display: flex;
|
|
17931
|
-
flex-direction: column;
|
|
17932
|
-
min-width: 0;
|
|
17933
|
-
flex: 1 1 auto;
|
|
17934
|
-
}
|
|
17935
|
-
|
|
17936
|
-
.muka-chat-attachment-chip__name {
|
|
17937
|
-
color: var(--color-text-default-default);
|
|
17938
|
-
font-family: var(--text-body-sm-regular-fontFamily);
|
|
17939
|
-
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
17940
|
-
font-size: var(--text-body-sm-regular-fontSize);
|
|
17941
|
-
line-height: var(--text-body-sm-regular-lineHeight);
|
|
17942
|
-
white-space: nowrap;
|
|
17943
|
-
overflow: hidden;
|
|
17944
|
-
text-overflow: ellipsis;
|
|
17945
|
-
}
|
|
17946
|
-
|
|
17947
|
-
.muka-chat-attachment-chip__meta {
|
|
17948
|
-
color: var(--color-text-subtle-default);
|
|
17949
|
-
font-family: var(--text-body-sm-regular-fontFamily);
|
|
17950
|
-
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
17951
|
-
font-size: var(--text-body-sm-regular-fontSize);
|
|
17952
|
-
line-height: var(--text-body-sm-regular-lineHeight);
|
|
17953
|
-
white-space: nowrap;
|
|
17954
|
-
overflow: hidden;
|
|
17955
|
-
text-overflow: ellipsis;
|
|
17956
|
-
}
|
|
17957
|
-
|
|
17958
|
-
.muka-chat-attachment-chip--error .muka-chat-attachment-chip__meta {
|
|
17959
|
-
color: var(--color-state-error-default, var(--color-text-default-default));
|
|
17960
|
-
}
|
|
17961
|
-
|
|
17962
|
-
/* ─── Remove button ────────────────────────────────────── */
|
|
17963
|
-
|
|
17964
|
-
.muka-chat-attachment-chip__remove {
|
|
17965
|
-
display: inline-flex;
|
|
17966
|
-
align-items: center;
|
|
17967
|
-
justify-content: center;
|
|
17968
|
-
width: 20px;
|
|
17969
|
-
height: 20px;
|
|
17970
|
-
border: none;
|
|
17971
|
-
background: none;
|
|
17972
|
-
padding: 0;
|
|
17973
|
-
border-radius: var(--radius-sm);
|
|
17974
|
-
cursor: pointer;
|
|
17975
|
-
color: var(--color-text-subtle-default);
|
|
17976
|
-
flex-shrink: 0;
|
|
17977
|
-
-webkit-tap-highlight-color: transparent;
|
|
17978
|
-
}
|
|
17979
|
-
|
|
17980
|
-
.muka-chat-attachment-chip__remove:hover:not(:disabled) {
|
|
17981
|
-
color: var(--color-text-default-default);
|
|
17982
|
-
background-color: var(--color-surface-level2);
|
|
17983
|
-
}
|
|
17984
|
-
|
|
17985
|
-
.muka-chat-attachment-chip__remove:focus-visible {
|
|
17986
|
-
outline: 2px solid var(--color-action-default);
|
|
17987
|
-
outline-offset: 2px;
|
|
17988
|
-
}
|
|
17989
|
-
|
|
17990
|
-
.muka-chat-attachment-chip__remove:disabled {
|
|
17991
|
-
cursor: not-allowed;
|
|
17992
|
-
opacity: 0.5;
|
|
17993
|
-
}
|
|
17994
|
-
|
|
17995
|
-
/* ─── Progress bar ─────────────────────────────────────── */
|
|
17996
|
-
|
|
17997
|
-
.muka-chat-attachment-chip__progress {
|
|
17998
|
-
position: absolute;
|
|
17999
|
-
left: 0;
|
|
18000
|
-
right: 0;
|
|
18001
|
-
bottom: 0;
|
|
18002
|
-
height: 2px;
|
|
18003
|
-
background-color: var(--color-surface-level2);
|
|
18004
|
-
overflow: hidden;
|
|
18005
|
-
}
|
|
18006
|
-
|
|
18007
|
-
.muka-chat-attachment-chip__progress-fill {
|
|
18008
|
-
display: block;
|
|
18009
|
-
height: 100%;
|
|
18010
|
-
background-color: var(--color-action-default);
|
|
18011
|
-
transition: width 0.16s ease;
|
|
18012
|
-
}
|
|
18013
|
-
|
|
18014
|
-
.muka-chat-attachment-chip--error .muka-chat-attachment-chip__progress-fill {
|
|
18015
|
-
background-color: var(--color-state-error-default, var(--color-text-default-default));
|
|
18016
|
-
}
|
|
18017
|
-
|
|
18018
|
-
|
|
18019
18062
|
/* ActionSheet */
|
|
18020
18063
|
/* ActionSheet Component Styles */
|
|
18021
18064
|
|