@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
package/dist/styles/index.css
CHANGED
|
@@ -2827,6 +2827,49 @@ body {
|
|
|
2827
2827
|
}
|
|
2828
2828
|
}
|
|
2829
2829
|
|
|
2830
|
+
/* ─── The same motion without a view transition ──────────
|
|
2831
|
+
When React commits a navigation outside a view transition, the browser
|
|
2832
|
+
animates nothing; viewNavigation.ts then puts a copy of the leaving View
|
|
2833
|
+
(.muka-view-ghost) over the page and marks the new View
|
|
2834
|
+
[data-muka-view-entering]. Pop only on small and medium screens: a push
|
|
2835
|
+
would slide over nothing. */
|
|
2836
|
+
.muka-view-ghost {
|
|
2837
|
+
position: fixed;
|
|
2838
|
+
margin: 0;
|
|
2839
|
+
z-index: 40; /* above the app shell (11), below popovers and sheets (50) */
|
|
2840
|
+
pointer-events: none;
|
|
2841
|
+
}
|
|
2842
|
+
|
|
2843
|
+
@media (max-width: 1023px) {
|
|
2844
|
+
:root[data-muka-nav='pop'] .muka-view-ghost {
|
|
2845
|
+
animation: muka-view-to-right var(--motion-duration-view) var(--motion-easing-enter) both;
|
|
2846
|
+
}
|
|
2847
|
+
|
|
2848
|
+
:root[data-muka-nav='pop'] .muka-view[data-muka-view-entering] {
|
|
2849
|
+
animation: muka-view-from-behind var(--motion-duration-view) var(--motion-easing-enter) both;
|
|
2850
|
+
}
|
|
2851
|
+
}
|
|
2852
|
+
|
|
2853
|
+
@media (min-width: 1024px) {
|
|
2854
|
+
:root[data-muka-nav] .muka-view-ghost {
|
|
2855
|
+
animation: muka-view-shift-out var(--motion-duration-exit) var(--motion-easing-exit) both;
|
|
2856
|
+
}
|
|
2857
|
+
|
|
2858
|
+
:root[data-muka-nav] .muka-view[data-muka-view-entering] {
|
|
2859
|
+
animation: muka-view-shift-in var(--motion-duration-micro) var(--motion-easing-enter) both;
|
|
2860
|
+
}
|
|
2861
|
+
|
|
2862
|
+
:root[data-muka-nav='push'] .muka-view[data-muka-view-entering],
|
|
2863
|
+
:root[data-muka-nav='pop'] .muka-view-ghost {
|
|
2864
|
+
--muka-view-shift: var(--spacing-4);
|
|
2865
|
+
}
|
|
2866
|
+
|
|
2867
|
+
:root[data-muka-nav='pop'] .muka-view[data-muka-view-entering],
|
|
2868
|
+
:root[data-muka-nav='push'] .muka-view-ghost {
|
|
2869
|
+
--muka-view-shift: calc(-1 * var(--spacing-4));
|
|
2870
|
+
}
|
|
2871
|
+
}
|
|
2872
|
+
|
|
2830
2873
|
@keyframes muka-view-shift-in {
|
|
2831
2874
|
from { opacity: 0; transform: translateX(var(--muka-view-shift)); }
|
|
2832
2875
|
to { opacity: 1; transform: translateX(0); }
|
|
@@ -5903,151 +5946,6 @@ body {
|
|
|
5903
5946
|
}
|
|
5904
5947
|
|
|
5905
5948
|
|
|
5906
|
-
/* SiteHeader */
|
|
5907
|
-
/* SiteHeader Component Styles */
|
|
5908
|
-
|
|
5909
|
-
/*
|
|
5910
|
-
* Header for document-scrolling pages. Its colour comes from, in order:
|
|
5911
|
-
* `--muka-site-header-background` (set by the consumer), the surrounding
|
|
5912
|
-
* Page's `--muka-page-background`, and the base surface.
|
|
5913
|
-
*
|
|
5914
|
-
* Safe areas: env(safe-area-inset-*) is 0 outside notched devices. In an app
|
|
5915
|
-
* running edge to edge, the header extends behind the status bar in its own
|
|
5916
|
-
* colour and keeps its content clear of a landscape notch.
|
|
5917
|
-
*/
|
|
5918
|
-
.muka-site-header {
|
|
5919
|
-
width: 100%;
|
|
5920
|
-
flex-shrink: 0;
|
|
5921
|
-
background-color: var(--muka-site-header-background, var(--muka-page-background, var(--color-surface-level3)));
|
|
5922
|
-
padding-top: env(safe-area-inset-top, 0px);
|
|
5923
|
-
}
|
|
5924
|
-
|
|
5925
|
-
.muka-site-header--sticky {
|
|
5926
|
-
position: sticky;
|
|
5927
|
-
top: 0;
|
|
5928
|
-
z-index: 30;
|
|
5929
|
-
border-bottom: var(--border-width-regular) solid var(--color-border-default);
|
|
5930
|
-
}
|
|
5931
|
-
|
|
5932
|
-
/*
|
|
5933
|
-
* A header that scrolls away would leave the status bar over the content. A
|
|
5934
|
-
* fixed strip in the header's colour stays behind the status bar instead.
|
|
5935
|
-
* Below Muka's overlays, so a dialog's backdrop dims it with the page.
|
|
5936
|
-
*/
|
|
5937
|
-
.muka-site-header:not(.muka-site-header--sticky)::before {
|
|
5938
|
-
content: '';
|
|
5939
|
-
position: fixed;
|
|
5940
|
-
top: 0;
|
|
5941
|
-
left: 0;
|
|
5942
|
-
right: 0;
|
|
5943
|
-
height: env(safe-area-inset-top, 0px);
|
|
5944
|
-
background-color: inherit;
|
|
5945
|
-
pointer-events: none;
|
|
5946
|
-
z-index: 30;
|
|
5947
|
-
}
|
|
5948
|
-
|
|
5949
|
-
.muka-site-header__inner {
|
|
5950
|
-
display: flex;
|
|
5951
|
-
align-items: center;
|
|
5952
|
-
gap: var(--spacing-2);
|
|
5953
|
-
width: 100%;
|
|
5954
|
-
max-width: var(--container-max-width-xl);
|
|
5955
|
-
margin: 0 auto;
|
|
5956
|
-
padding-block: var(--spacing-6);
|
|
5957
|
-
padding-left: max(var(--spacing-4), env(safe-area-inset-left, 0px));
|
|
5958
|
-
padding-right: max(var(--spacing-4), env(safe-area-inset-right, 0px));
|
|
5959
|
-
}
|
|
5960
|
-
|
|
5961
|
-
.muka-site-header__brand {
|
|
5962
|
-
display: flex;
|
|
5963
|
-
align-items: center;
|
|
5964
|
-
flex-shrink: 0;
|
|
5965
|
-
min-width: 0;
|
|
5966
|
-
}
|
|
5967
|
-
|
|
5968
|
-
.muka-site-header__nav {
|
|
5969
|
-
display: none;
|
|
5970
|
-
align-items: center;
|
|
5971
|
-
gap: var(--spacing-1);
|
|
5972
|
-
min-width: 0;
|
|
5973
|
-
}
|
|
5974
|
-
|
|
5975
|
-
.muka-site-header__actions {
|
|
5976
|
-
display: flex;
|
|
5977
|
-
align-items: center;
|
|
5978
|
-
margin-left: auto;
|
|
5979
|
-
min-width: 0;
|
|
5980
|
-
}
|
|
5981
|
-
|
|
5982
|
-
.muka-site-header__action-group {
|
|
5983
|
-
display: flex;
|
|
5984
|
-
align-items: center;
|
|
5985
|
-
gap: var(--spacing-2);
|
|
5986
|
-
}
|
|
5987
|
-
|
|
5988
|
-
/* Small screens: the compact set replaces the full one. */
|
|
5989
|
-
.muka-site-header__action-group--wide {
|
|
5990
|
-
display: none;
|
|
5991
|
-
}
|
|
5992
|
-
|
|
5993
|
-
@media (min-width: 768px) {
|
|
5994
|
-
.muka-site-header__inner {
|
|
5995
|
-
gap: var(--spacing-4);
|
|
5996
|
-
padding-block: var(--spacing-8);
|
|
5997
|
-
}
|
|
5998
|
-
|
|
5999
|
-
.muka-site-header__nav {
|
|
6000
|
-
display: flex;
|
|
6001
|
-
}
|
|
6002
|
-
|
|
6003
|
-
.muka-site-header__action-group--wide {
|
|
6004
|
-
display: flex;
|
|
6005
|
-
}
|
|
6006
|
-
|
|
6007
|
-
.muka-site-header__action-group--compact {
|
|
6008
|
-
display: none;
|
|
6009
|
-
}
|
|
6010
|
-
}
|
|
6011
|
-
|
|
6012
|
-
/*
|
|
6013
|
-
* layout="full" (Figma Public header, Bouwplan): the content spans the width,
|
|
6014
|
-
* the nav sits between brand and actions (space-between), and the inset grows
|
|
6015
|
-
* with the screen: 24/16 on small screens, 16/24 from 768px, 32 from 1536px.
|
|
6016
|
-
* Safe-area insets still win where they are larger.
|
|
6017
|
-
*/
|
|
6018
|
-
.muka-site-header--full .muka-site-header__inner {
|
|
6019
|
-
max-width: none;
|
|
6020
|
-
justify-content: space-between;
|
|
6021
|
-
}
|
|
6022
|
-
|
|
6023
|
-
.muka-site-header--full .muka-site-header__actions {
|
|
6024
|
-
margin-left: 0;
|
|
6025
|
-
}
|
|
6026
|
-
|
|
6027
|
-
@media (min-width: 768px) {
|
|
6028
|
-
.muka-site-header--full .muka-site-header__inner {
|
|
6029
|
-
padding-block: var(--spacing-4);
|
|
6030
|
-
padding-left: max(var(--spacing-6), env(safe-area-inset-left, 0px));
|
|
6031
|
-
padding-right: max(var(--spacing-6), env(safe-area-inset-right, 0px));
|
|
6032
|
-
}
|
|
6033
|
-
}
|
|
6034
|
-
|
|
6035
|
-
@media (min-width: 1536px) {
|
|
6036
|
-
.muka-site-header--full .muka-site-header__inner {
|
|
6037
|
-
padding-block: var(--spacing-8);
|
|
6038
|
-
padding-left: max(var(--spacing-8), env(safe-area-inset-left, 0px));
|
|
6039
|
-
padding-right: max(var(--spacing-8), env(safe-area-inset-right, 0px));
|
|
6040
|
-
}
|
|
6041
|
-
}
|
|
6042
|
-
|
|
6043
|
-
/* Small screens: no nav, so the actions take the end on their own. */
|
|
6044
|
-
@media (max-width: 767px) {
|
|
6045
|
-
.muka-site-header--full .muka-site-header__actions {
|
|
6046
|
-
margin-left: auto;
|
|
6047
|
-
}
|
|
6048
|
-
}
|
|
6049
|
-
|
|
6050
|
-
|
|
6051
5949
|
/* Sheet */
|
|
6052
5950
|
/* Sheet Component Styles */
|
|
6053
5951
|
|
|
@@ -6324,52 +6222,197 @@ body {
|
|
|
6324
6222
|
}
|
|
6325
6223
|
|
|
6326
6224
|
|
|
6327
|
-
/*
|
|
6328
|
-
/*
|
|
6225
|
+
/* SiteHeader */
|
|
6226
|
+
/* SiteHeader Component Styles */
|
|
6329
6227
|
|
|
6330
|
-
/*
|
|
6331
|
-
|
|
6332
|
-
|
|
6333
|
-
|
|
6334
|
-
|
|
6335
|
-
|
|
6336
|
-
|
|
6337
|
-
|
|
6338
|
-
|
|
6339
|
-
|
|
6228
|
+
/*
|
|
6229
|
+
* Header for document-scrolling pages. Its colour comes from, in order:
|
|
6230
|
+
* `--muka-site-header-background` (set by the consumer), the surrounding
|
|
6231
|
+
* Page's `--muka-page-background`, and the base surface.
|
|
6232
|
+
*
|
|
6233
|
+
* Safe areas: env(safe-area-inset-*) is 0 outside notched devices. In an app
|
|
6234
|
+
* running edge to edge, the header extends behind the status bar in its own
|
|
6235
|
+
* colour and keeps its content clear of a landscape notch.
|
|
6236
|
+
*/
|
|
6237
|
+
.muka-site-header {
|
|
6238
|
+
width: 100%;
|
|
6239
|
+
flex-shrink: 0;
|
|
6240
|
+
background-color: var(--muka-site-header-background, var(--muka-page-background, var(--color-surface-level3)));
|
|
6241
|
+
padding-top: env(safe-area-inset-top, 0px);
|
|
6340
6242
|
}
|
|
6341
6243
|
|
|
6342
|
-
|
|
6343
|
-
|
|
6244
|
+
.muka-site-header--sticky {
|
|
6245
|
+
position: sticky;
|
|
6246
|
+
top: 0;
|
|
6247
|
+
z-index: 30;
|
|
6248
|
+
border-bottom: var(--border-width-regular) solid var(--color-border-default);
|
|
6249
|
+
}
|
|
6250
|
+
|
|
6251
|
+
/*
|
|
6252
|
+
* A header that scrolls away would leave the status bar over the content. A
|
|
6253
|
+
* fixed strip in the header's colour stays behind the status bar instead.
|
|
6254
|
+
* Below Muka's overlays, so a dialog's backdrop dims it with the page.
|
|
6255
|
+
*/
|
|
6256
|
+
.muka-site-header:not(.muka-site-header--sticky)::before {
|
|
6344
6257
|
content: '';
|
|
6345
|
-
position:
|
|
6346
|
-
|
|
6347
|
-
|
|
6348
|
-
|
|
6258
|
+
position: fixed;
|
|
6259
|
+
top: 0;
|
|
6260
|
+
left: 0;
|
|
6261
|
+
right: 0;
|
|
6262
|
+
height: env(safe-area-inset-top, 0px);
|
|
6263
|
+
background-color: inherit;
|
|
6349
6264
|
pointer-events: none;
|
|
6265
|
+
z-index: 30;
|
|
6350
6266
|
}
|
|
6351
6267
|
|
|
6352
|
-
|
|
6353
|
-
|
|
6268
|
+
.muka-site-header__inner {
|
|
6269
|
+
display: flex;
|
|
6270
|
+
align-items: center;
|
|
6271
|
+
gap: var(--spacing-2);
|
|
6354
6272
|
width: 100%;
|
|
6273
|
+
max-width: var(--container-max-width-xl);
|
|
6274
|
+
margin: 0 auto;
|
|
6275
|
+
padding-block: var(--spacing-6);
|
|
6276
|
+
padding-left: max(var(--spacing-4), env(safe-area-inset-left, 0px));
|
|
6277
|
+
padding-right: max(var(--spacing-4), env(safe-area-inset-right, 0px));
|
|
6355
6278
|
}
|
|
6356
6279
|
|
|
6357
|
-
.muka-
|
|
6358
|
-
|
|
6280
|
+
.muka-site-header__brand {
|
|
6281
|
+
display: flex;
|
|
6282
|
+
align-items: center;
|
|
6283
|
+
flex-shrink: 0;
|
|
6284
|
+
min-width: 0;
|
|
6359
6285
|
}
|
|
6360
6286
|
|
|
6361
|
-
|
|
6362
|
-
|
|
6363
|
-
|
|
6364
|
-
|
|
6365
|
-
|
|
6366
|
-
|
|
6367
|
-
|
|
6368
|
-
|
|
6369
|
-
|
|
6370
|
-
|
|
6371
|
-
|
|
6372
|
-
|
|
6287
|
+
.muka-site-header__nav {
|
|
6288
|
+
display: none;
|
|
6289
|
+
align-items: center;
|
|
6290
|
+
gap: var(--spacing-1);
|
|
6291
|
+
min-width: 0;
|
|
6292
|
+
}
|
|
6293
|
+
|
|
6294
|
+
.muka-site-header__actions {
|
|
6295
|
+
display: flex;
|
|
6296
|
+
align-items: center;
|
|
6297
|
+
margin-left: auto;
|
|
6298
|
+
min-width: 0;
|
|
6299
|
+
}
|
|
6300
|
+
|
|
6301
|
+
.muka-site-header__action-group {
|
|
6302
|
+
display: flex;
|
|
6303
|
+
align-items: center;
|
|
6304
|
+
gap: var(--spacing-2);
|
|
6305
|
+
}
|
|
6306
|
+
|
|
6307
|
+
/* Small screens: the compact set replaces the full one. */
|
|
6308
|
+
.muka-site-header__action-group--wide {
|
|
6309
|
+
display: none;
|
|
6310
|
+
}
|
|
6311
|
+
|
|
6312
|
+
@media (min-width: 768px) {
|
|
6313
|
+
.muka-site-header__inner {
|
|
6314
|
+
gap: var(--spacing-4);
|
|
6315
|
+
padding-block: var(--spacing-8);
|
|
6316
|
+
}
|
|
6317
|
+
|
|
6318
|
+
.muka-site-header__nav {
|
|
6319
|
+
display: flex;
|
|
6320
|
+
}
|
|
6321
|
+
|
|
6322
|
+
.muka-site-header__action-group--wide {
|
|
6323
|
+
display: flex;
|
|
6324
|
+
}
|
|
6325
|
+
|
|
6326
|
+
.muka-site-header__action-group--compact {
|
|
6327
|
+
display: none;
|
|
6328
|
+
}
|
|
6329
|
+
}
|
|
6330
|
+
|
|
6331
|
+
/*
|
|
6332
|
+
* layout="full" (Figma Public header, Bouwplan): the content spans the width,
|
|
6333
|
+
* the nav sits between brand and actions (space-between), and the inset grows
|
|
6334
|
+
* with the screen: 24/16 on small screens, 16/24 from 768px, 32 from 1536px.
|
|
6335
|
+
* Safe-area insets still win where they are larger.
|
|
6336
|
+
*/
|
|
6337
|
+
.muka-site-header--full .muka-site-header__inner {
|
|
6338
|
+
max-width: none;
|
|
6339
|
+
justify-content: space-between;
|
|
6340
|
+
}
|
|
6341
|
+
|
|
6342
|
+
.muka-site-header--full .muka-site-header__actions {
|
|
6343
|
+
margin-left: 0;
|
|
6344
|
+
}
|
|
6345
|
+
|
|
6346
|
+
@media (min-width: 768px) {
|
|
6347
|
+
.muka-site-header--full .muka-site-header__inner {
|
|
6348
|
+
padding-block: var(--spacing-4);
|
|
6349
|
+
padding-left: max(var(--spacing-6), env(safe-area-inset-left, 0px));
|
|
6350
|
+
padding-right: max(var(--spacing-6), env(safe-area-inset-right, 0px));
|
|
6351
|
+
}
|
|
6352
|
+
}
|
|
6353
|
+
|
|
6354
|
+
@media (min-width: 1536px) {
|
|
6355
|
+
.muka-site-header--full .muka-site-header__inner {
|
|
6356
|
+
padding-block: var(--spacing-8);
|
|
6357
|
+
padding-left: max(var(--spacing-8), env(safe-area-inset-left, 0px));
|
|
6358
|
+
padding-right: max(var(--spacing-8), env(safe-area-inset-right, 0px));
|
|
6359
|
+
}
|
|
6360
|
+
}
|
|
6361
|
+
|
|
6362
|
+
/* Small screens: no nav, so the actions take the end on their own. */
|
|
6363
|
+
@media (max-width: 767px) {
|
|
6364
|
+
.muka-site-header--full .muka-site-header__actions {
|
|
6365
|
+
margin-left: auto;
|
|
6366
|
+
}
|
|
6367
|
+
}
|
|
6368
|
+
|
|
6369
|
+
|
|
6370
|
+
/* SegmentGroup */
|
|
6371
|
+
/* SegmentGroup Component Styles - Using Muka Design Tokens */
|
|
6372
|
+
|
|
6373
|
+
/* Container */
|
|
6374
|
+
.muka-segmentgroup {
|
|
6375
|
+
display: inline-flex;
|
|
6376
|
+
align-items: center;
|
|
6377
|
+
gap: 0;
|
|
6378
|
+
padding: var(--segmentgroup-container-padding);
|
|
6379
|
+
background-color: var(--segmentgroup-container-background);
|
|
6380
|
+
border-radius: var(--segmentgroup-container-radius);
|
|
6381
|
+
position: relative;
|
|
6382
|
+
transition: background-color 0.2s ease, box-shadow 0.2s ease;
|
|
6383
|
+
}
|
|
6384
|
+
|
|
6385
|
+
/* Inset shadow on container */
|
|
6386
|
+
.muka-segmentgroup::after {
|
|
6387
|
+
content: '';
|
|
6388
|
+
position: absolute;
|
|
6389
|
+
inset: 0;
|
|
6390
|
+
border-radius: inherit;
|
|
6391
|
+
box-shadow: var(--segmentgroup-container-shadow);
|
|
6392
|
+
pointer-events: none;
|
|
6393
|
+
}
|
|
6394
|
+
|
|
6395
|
+
/* Full width variant */
|
|
6396
|
+
.muka-segmentgroup--full-width {
|
|
6397
|
+
width: 100%;
|
|
6398
|
+
}
|
|
6399
|
+
|
|
6400
|
+
.muka-segmentgroup--full-width .muka-segmentgroup__segment {
|
|
6401
|
+
flex: 1;
|
|
6402
|
+
}
|
|
6403
|
+
|
|
6404
|
+
/* Pill */
|
|
6405
|
+
.muka-segmentgroup__pill {
|
|
6406
|
+
position: absolute;
|
|
6407
|
+
top: var(--segmentgroup-container-padding);
|
|
6408
|
+
bottom: var(--segmentgroup-container-padding);
|
|
6409
|
+
left: 0;
|
|
6410
|
+
margin: 0;
|
|
6411
|
+
background-color: var(--segmentgroup-segment-color-selected-background);
|
|
6412
|
+
box-shadow: var(--segmentgroup-segment-shadow-selected);
|
|
6413
|
+
transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), width 0.25s cubic-bezier(0.4, 0, 0.2, 1);
|
|
6414
|
+
z-index: 0;
|
|
6415
|
+
pointer-events: none;
|
|
6373
6416
|
}
|
|
6374
6417
|
|
|
6375
6418
|
/* Segment button */
|
|
@@ -6535,273 +6578,104 @@ body {
|
|
|
6535
6578
|
}
|
|
6536
6579
|
|
|
6537
6580
|
|
|
6538
|
-
/*
|
|
6539
|
-
/*
|
|
6581
|
+
/* Scrollbar */
|
|
6582
|
+
/* Scrollbar — Figma menu scrollbar (32px rail, chevrons, grip thumb) */
|
|
6540
6583
|
|
|
6541
|
-
.muka-
|
|
6584
|
+
.muka-scrollbar {
|
|
6542
6585
|
display: flex;
|
|
6543
|
-
|
|
6544
|
-
|
|
6545
|
-
|
|
6586
|
+
flex-shrink: 0;
|
|
6587
|
+
border-left: var(--border-width-regular) solid var(--color-border-default);
|
|
6588
|
+
background-color: var(--color-surface-level3);
|
|
6589
|
+
user-select: none;
|
|
6546
6590
|
}
|
|
6547
6591
|
|
|
6548
|
-
|
|
6549
|
-
|
|
6550
|
-
|
|
6551
|
-
|
|
6552
|
-
display: flex;
|
|
6553
|
-
align-items: center;
|
|
6554
|
-
gap: var(--spacing-2);
|
|
6555
|
-
background-color: var(--input-field-color-default-background);
|
|
6556
|
-
border: var(--border-width-regular) solid var(--input-field-color-default-border);
|
|
6557
|
-
border-radius: var(--input-field-radius-md);
|
|
6558
|
-
padding: 0 var(--input-field-padding-x);
|
|
6559
|
-
transition: border-color 0.12s ease, background-color 0.12s ease;
|
|
6592
|
+
.muka-scrollbar--vertical {
|
|
6593
|
+
flex-direction: column;
|
|
6594
|
+
width: var(--size-2xl, 32px);
|
|
6595
|
+
align-self: stretch;
|
|
6560
6596
|
}
|
|
6561
6597
|
|
|
6562
|
-
.muka-
|
|
6563
|
-
|
|
6598
|
+
.muka-scrollbar--horizontal {
|
|
6599
|
+
flex-direction: row;
|
|
6600
|
+
height: var(--size-2xl, 32px);
|
|
6601
|
+
width: 100%;
|
|
6602
|
+
border-left: none;
|
|
6603
|
+
border-top: var(--border-width-regular) solid var(--color-border-default);
|
|
6564
6604
|
}
|
|
6565
6605
|
|
|
6566
|
-
|
|
6567
|
-
|
|
6568
|
-
|
|
6569
|
-
|
|
6570
|
-
|
|
6606
|
+
.muka-scrollbar__button {
|
|
6607
|
+
display: flex;
|
|
6608
|
+
align-items: center;
|
|
6609
|
+
justify-content: center;
|
|
6610
|
+
flex-shrink: 0;
|
|
6611
|
+
width: 100%;
|
|
6612
|
+
height: var(--size-2xl, 32px);
|
|
6613
|
+
padding: 0;
|
|
6614
|
+
border: none;
|
|
6615
|
+
background-color: var(--button-color-tertiary-background-default, var(--color-surface-level3));
|
|
6616
|
+
color: var(--color-text-default-default);
|
|
6617
|
+
cursor: pointer;
|
|
6571
6618
|
}
|
|
6572
6619
|
|
|
6573
|
-
.muka-
|
|
6574
|
-
|
|
6620
|
+
.muka-scrollbar--horizontal .muka-scrollbar__button {
|
|
6621
|
+
width: var(--size-2xl, 32px);
|
|
6622
|
+
height: 100%;
|
|
6575
6623
|
}
|
|
6576
6624
|
|
|
6577
|
-
.muka-
|
|
6578
|
-
|
|
6579
|
-
border-radius: var(--input-field-radius-lg);
|
|
6625
|
+
.muka-scrollbar__button:hover {
|
|
6626
|
+
background-color: var(--color-surface-hover);
|
|
6580
6627
|
}
|
|
6581
6628
|
|
|
6582
|
-
|
|
6583
|
-
|
|
6584
|
-
|
|
6585
|
-
|
|
6586
|
-
|
|
6629
|
+
.muka-scrollbar__divider {
|
|
6630
|
+
flex-shrink: 0;
|
|
6631
|
+
width: 100%;
|
|
6632
|
+
height: 1px;
|
|
6633
|
+
background-color: var(--color-border-default);
|
|
6587
6634
|
}
|
|
6588
6635
|
|
|
6589
|
-
.muka-
|
|
6590
|
-
|
|
6591
|
-
|
|
6636
|
+
.muka-scrollbar--horizontal .muka-scrollbar__divider {
|
|
6637
|
+
width: 1px;
|
|
6638
|
+
height: 100%;
|
|
6592
6639
|
}
|
|
6593
6640
|
|
|
6594
|
-
|
|
6595
|
-
|
|
6596
|
-
|
|
6597
|
-
|
|
6598
|
-
|
|
6641
|
+
.muka-scrollbar__track {
|
|
6642
|
+
position: relative;
|
|
6643
|
+
display: flex;
|
|
6644
|
+
flex-direction: column;
|
|
6645
|
+
flex: 1 1 auto;
|
|
6646
|
+
min-height: 0;
|
|
6647
|
+
width: 100%;
|
|
6599
6648
|
}
|
|
6600
6649
|
|
|
6601
|
-
|
|
6650
|
+
.muka-scrollbar--horizontal .muka-scrollbar__track {
|
|
6651
|
+
flex-direction: row;
|
|
6652
|
+
min-width: 0;
|
|
6653
|
+
height: 100%;
|
|
6654
|
+
}
|
|
6602
6655
|
|
|
6603
|
-
.muka-
|
|
6604
|
-
|
|
6656
|
+
.muka-scrollbar__thumb {
|
|
6657
|
+
position: absolute;
|
|
6658
|
+
left: 0;
|
|
6659
|
+
top: 0;
|
|
6660
|
+
z-index: 1;
|
|
6661
|
+
display: flex;
|
|
6605
6662
|
align-items: center;
|
|
6606
6663
|
justify-content: center;
|
|
6607
|
-
|
|
6608
|
-
|
|
6664
|
+
width: 100%;
|
|
6665
|
+
/* Figma: scrollbar thumb fill = surface/level3 */
|
|
6666
|
+
background-color: var(--color-surface-level3);
|
|
6667
|
+
cursor: grab;
|
|
6668
|
+
touch-action: none;
|
|
6609
6669
|
}
|
|
6610
6670
|
|
|
6611
|
-
|
|
6612
|
-
|
|
6613
|
-
|
|
6614
|
-
|
|
6615
|
-
|
|
6616
|
-
|
|
6617
|
-
|
|
6618
|
-
|
|
6619
|
-
padding: 0;
|
|
6620
|
-
color: var(--color-text-default-default);
|
|
6621
|
-
font-family: var(--text-body-base-regular-fontFamily);
|
|
6622
|
-
font-weight: var(--text-body-base-regular-fontWeight);
|
|
6623
|
-
font-size: var(--text-body-base-regular-fontSize);
|
|
6624
|
-
line-height: var(--text-body-base-regular-lineHeight);
|
|
6625
|
-
appearance: none;
|
|
6626
|
-
-webkit-appearance: none;
|
|
6627
|
-
}
|
|
6628
|
-
|
|
6629
|
-
.muka-search-input__input::placeholder {
|
|
6630
|
-
color: var(--color-text-subtle-default);
|
|
6631
|
-
}
|
|
6632
|
-
|
|
6633
|
-
/* Hide the browser-supplied clear button (WebKit + Edge) */
|
|
6634
|
-
.muka-search-input__input::-webkit-search-cancel-button,
|
|
6635
|
-
.muka-search-input__input::-webkit-search-decoration {
|
|
6636
|
-
-webkit-appearance: none;
|
|
6637
|
-
appearance: none;
|
|
6638
|
-
}
|
|
6639
|
-
|
|
6640
|
-
.muka-search-input__input::-ms-clear {
|
|
6641
|
-
display: none;
|
|
6642
|
-
}
|
|
6643
|
-
|
|
6644
|
-
/* ─── Trailing slot (loading spinner) ─────────────────── */
|
|
6645
|
-
|
|
6646
|
-
.muka-search-input__trailing {
|
|
6647
|
-
display: inline-flex;
|
|
6648
|
-
align-items: center;
|
|
6649
|
-
justify-content: center;
|
|
6650
|
-
flex-shrink: 0;
|
|
6651
|
-
}
|
|
6652
|
-
|
|
6653
|
-
/* ─── Clear button ────────────────────────────────────── */
|
|
6654
|
-
|
|
6655
|
-
.muka-search-input__clear {
|
|
6656
|
-
display: inline-flex;
|
|
6657
|
-
align-items: center;
|
|
6658
|
-
justify-content: center;
|
|
6659
|
-
width: 20px;
|
|
6660
|
-
height: 20px;
|
|
6661
|
-
border: none;
|
|
6662
|
-
background: none;
|
|
6663
|
-
padding: 0;
|
|
6664
|
-
cursor: pointer;
|
|
6665
|
-
color: var(--color-text-subtle-default);
|
|
6666
|
-
flex-shrink: 0;
|
|
6667
|
-
-webkit-tap-highlight-color: transparent;
|
|
6668
|
-
}
|
|
6669
|
-
|
|
6670
|
-
.muka-search-input__clear:hover {
|
|
6671
|
-
color: var(--color-text-default-default);
|
|
6672
|
-
}
|
|
6673
|
-
|
|
6674
|
-
.muka-search-input__clear:focus-visible {
|
|
6675
|
-
outline: 2px solid var(--color-action-default);
|
|
6676
|
-
outline-offset: 2px;
|
|
6677
|
-
border-radius: 50%;
|
|
6678
|
-
}
|
|
6679
|
-
|
|
6680
|
-
/* ─── Cancel button ───────────────────────────────────── */
|
|
6681
|
-
|
|
6682
|
-
.muka-search-input__cancel {
|
|
6683
|
-
flex-shrink: 0;
|
|
6684
|
-
background: none;
|
|
6685
|
-
border: none;
|
|
6686
|
-
padding: var(--spacing-1) var(--spacing-2);
|
|
6687
|
-
cursor: pointer;
|
|
6688
|
-
color: var(--color-action-default);
|
|
6689
|
-
font-family: var(--text-label-md-regular-fontFamily);
|
|
6690
|
-
font-weight: var(--text-label-md-regular-fontWeight);
|
|
6691
|
-
font-size: var(--text-label-md-regular-fontSize);
|
|
6692
|
-
line-height: var(--text-label-md-regular-lineHeight);
|
|
6693
|
-
-webkit-tap-highlight-color: transparent;
|
|
6694
|
-
}
|
|
6695
|
-
|
|
6696
|
-
.muka-search-input__cancel:hover {
|
|
6697
|
-
color: var(--color-action-hover);
|
|
6698
|
-
}
|
|
6699
|
-
|
|
6700
|
-
.muka-search-input__cancel:focus-visible {
|
|
6701
|
-
outline: 2px solid var(--color-action-default);
|
|
6702
|
-
outline-offset: 2px;
|
|
6703
|
-
border-radius: var(--radius-sm);
|
|
6704
|
-
}
|
|
6705
|
-
|
|
6706
|
-
|
|
6707
|
-
/* Scrollbar */
|
|
6708
|
-
/* Scrollbar — Figma menu scrollbar (32px rail, chevrons, grip thumb) */
|
|
6709
|
-
|
|
6710
|
-
.muka-scrollbar {
|
|
6711
|
-
display: flex;
|
|
6712
|
-
flex-shrink: 0;
|
|
6713
|
-
border-left: var(--border-width-regular) solid var(--color-border-default);
|
|
6714
|
-
background-color: var(--color-surface-level3);
|
|
6715
|
-
user-select: none;
|
|
6716
|
-
}
|
|
6717
|
-
|
|
6718
|
-
.muka-scrollbar--vertical {
|
|
6719
|
-
flex-direction: column;
|
|
6720
|
-
width: var(--size-2xl, 32px);
|
|
6721
|
-
align-self: stretch;
|
|
6722
|
-
}
|
|
6723
|
-
|
|
6724
|
-
.muka-scrollbar--horizontal {
|
|
6725
|
-
flex-direction: row;
|
|
6726
|
-
height: var(--size-2xl, 32px);
|
|
6727
|
-
width: 100%;
|
|
6728
|
-
border-left: none;
|
|
6729
|
-
border-top: var(--border-width-regular) solid var(--color-border-default);
|
|
6730
|
-
}
|
|
6731
|
-
|
|
6732
|
-
.muka-scrollbar__button {
|
|
6733
|
-
display: flex;
|
|
6734
|
-
align-items: center;
|
|
6735
|
-
justify-content: center;
|
|
6736
|
-
flex-shrink: 0;
|
|
6737
|
-
width: 100%;
|
|
6738
|
-
height: var(--size-2xl, 32px);
|
|
6739
|
-
padding: 0;
|
|
6740
|
-
border: none;
|
|
6741
|
-
background-color: var(--button-color-tertiary-background-default, var(--color-surface-level3));
|
|
6742
|
-
color: var(--color-text-default-default);
|
|
6743
|
-
cursor: pointer;
|
|
6744
|
-
}
|
|
6745
|
-
|
|
6746
|
-
.muka-scrollbar--horizontal .muka-scrollbar__button {
|
|
6747
|
-
width: var(--size-2xl, 32px);
|
|
6748
|
-
height: 100%;
|
|
6749
|
-
}
|
|
6750
|
-
|
|
6751
|
-
.muka-scrollbar__button:hover {
|
|
6752
|
-
background-color: var(--color-surface-hover);
|
|
6753
|
-
}
|
|
6754
|
-
|
|
6755
|
-
.muka-scrollbar__divider {
|
|
6756
|
-
flex-shrink: 0;
|
|
6757
|
-
width: 100%;
|
|
6758
|
-
height: 1px;
|
|
6759
|
-
background-color: var(--color-border-default);
|
|
6760
|
-
}
|
|
6761
|
-
|
|
6762
|
-
.muka-scrollbar--horizontal .muka-scrollbar__divider {
|
|
6763
|
-
width: 1px;
|
|
6764
|
-
height: 100%;
|
|
6765
|
-
}
|
|
6766
|
-
|
|
6767
|
-
.muka-scrollbar__track {
|
|
6768
|
-
position: relative;
|
|
6769
|
-
display: flex;
|
|
6770
|
-
flex-direction: column;
|
|
6771
|
-
flex: 1 1 auto;
|
|
6772
|
-
min-height: 0;
|
|
6773
|
-
width: 100%;
|
|
6774
|
-
}
|
|
6775
|
-
|
|
6776
|
-
.muka-scrollbar--horizontal .muka-scrollbar__track {
|
|
6777
|
-
flex-direction: row;
|
|
6778
|
-
min-width: 0;
|
|
6779
|
-
height: 100%;
|
|
6780
|
-
}
|
|
6781
|
-
|
|
6782
|
-
.muka-scrollbar__thumb {
|
|
6783
|
-
position: absolute;
|
|
6784
|
-
left: 0;
|
|
6785
|
-
top: 0;
|
|
6786
|
-
z-index: 1;
|
|
6787
|
-
display: flex;
|
|
6788
|
-
align-items: center;
|
|
6789
|
-
justify-content: center;
|
|
6790
|
-
width: 100%;
|
|
6791
|
-
/* Figma: scrollbar thumb fill = surface/level3 */
|
|
6792
|
-
background-color: var(--color-surface-level3);
|
|
6793
|
-
cursor: grab;
|
|
6794
|
-
touch-action: none;
|
|
6795
|
-
}
|
|
6796
|
-
|
|
6797
|
-
.muka-scrollbar--horizontal .muka-scrollbar__thumb {
|
|
6798
|
-
left: 0;
|
|
6799
|
-
top: 0;
|
|
6800
|
-
width: auto;
|
|
6801
|
-
height: 100%;
|
|
6802
|
-
margin-left: 0;
|
|
6803
|
-
margin-top: 0;
|
|
6804
|
-
}
|
|
6671
|
+
.muka-scrollbar--horizontal .muka-scrollbar__thumb {
|
|
6672
|
+
left: 0;
|
|
6673
|
+
top: 0;
|
|
6674
|
+
width: auto;
|
|
6675
|
+
height: 100%;
|
|
6676
|
+
margin-left: 0;
|
|
6677
|
+
margin-top: 0;
|
|
6678
|
+
}
|
|
6805
6679
|
|
|
6806
6680
|
.muka-scrollbar__thumb:active {
|
|
6807
6681
|
cursor: grabbing;
|
|
@@ -7097,63 +6971,375 @@ body {
|
|
|
7097
6971
|
}
|
|
7098
6972
|
|
|
7099
6973
|
|
|
7100
|
-
/*
|
|
7101
|
-
/*
|
|
6974
|
+
/* SearchInput */
|
|
6975
|
+
/* SearchInput Component Styles */
|
|
7102
6976
|
|
|
7103
|
-
|
|
7104
|
-
|
|
7105
|
-
display: inline-flex;
|
|
6977
|
+
.muka-search-input {
|
|
6978
|
+
display: flex;
|
|
7106
6979
|
align-items: center;
|
|
7107
|
-
gap: var(--spacing-
|
|
7108
|
-
|
|
7109
|
-
user-select: none;
|
|
6980
|
+
gap: var(--spacing-3);
|
|
6981
|
+
width: 100%;
|
|
7110
6982
|
}
|
|
7111
6983
|
|
|
7112
|
-
|
|
7113
|
-
cursor: not-allowed;
|
|
7114
|
-
opacity: 0.6;
|
|
7115
|
-
}
|
|
6984
|
+
/* ─── Field wrapper ───────────────────────────────────── */
|
|
7116
6985
|
|
|
7117
|
-
|
|
7118
|
-
|
|
7119
|
-
|
|
7120
|
-
display: inline-flex;
|
|
6986
|
+
.muka-search-input__field {
|
|
6987
|
+
flex: 1 1 auto;
|
|
6988
|
+
display: flex;
|
|
7121
6989
|
align-items: center;
|
|
7122
|
-
|
|
7123
|
-
|
|
6990
|
+
gap: var(--spacing-2);
|
|
6991
|
+
background-color: var(--input-field-color-default-background);
|
|
6992
|
+
border: var(--border-width-regular) solid var(--input-field-color-default-border);
|
|
6993
|
+
border-radius: var(--input-field-radius-md);
|
|
6994
|
+
padding: 0 var(--input-field-padding-x);
|
|
6995
|
+
transition: border-color 0.12s ease, background-color 0.12s ease;
|
|
7124
6996
|
}
|
|
7125
6997
|
|
|
7126
|
-
|
|
7127
|
-
|
|
7128
|
-
position: absolute;
|
|
7129
|
-
width: 1px;
|
|
7130
|
-
height: 1px;
|
|
7131
|
-
padding: 0;
|
|
7132
|
-
margin: -1px;
|
|
7133
|
-
overflow: hidden;
|
|
7134
|
-
clip: rect(0, 0, 0, 0);
|
|
7135
|
-
white-space: nowrap;
|
|
7136
|
-
border: 0;
|
|
6998
|
+
.muka-search-input--focused .muka-search-input__field {
|
|
6999
|
+
border-color: var(--input-field-color-focus-border, var(--color-action-default));
|
|
7137
7000
|
}
|
|
7138
7001
|
|
|
7139
|
-
/*
|
|
7140
|
-
.muka-radio__indicator {
|
|
7141
|
-
display: flex;
|
|
7142
|
-
align-items: center;
|
|
7143
|
-
justify-content: center;
|
|
7144
|
-
width: var(--radio-size-default);
|
|
7145
|
-
height: var(--radio-size-default);
|
|
7146
|
-
border-radius: var(--border-radius-full);
|
|
7147
|
-
background-color: var(--radio-color-default-background);
|
|
7148
|
-
border: var(--border-width-regular) solid var(--radio-color-default-border);
|
|
7149
|
-
transition: all 0.15s ease;
|
|
7150
|
-
box-shadow: inset 0 1px 2px 0 rgba(26, 26, 26, 0.15);
|
|
7151
|
-
}
|
|
7002
|
+
/* ─── Sizes ───────────────────────────────────────────── */
|
|
7152
7003
|
|
|
7153
|
-
|
|
7154
|
-
|
|
7155
|
-
|
|
7156
|
-
|
|
7004
|
+
.muka-search-input--sm .muka-search-input__field {
|
|
7005
|
+
min-height: var(--input-field-height-sm);
|
|
7006
|
+
border-radius: var(--input-field-radius-sm);
|
|
7007
|
+
}
|
|
7008
|
+
|
|
7009
|
+
.muka-search-input--md .muka-search-input__field {
|
|
7010
|
+
min-height: var(--input-field-height-default);
|
|
7011
|
+
}
|
|
7012
|
+
|
|
7013
|
+
.muka-search-input--lg .muka-search-input__field {
|
|
7014
|
+
min-height: var(--input-field-height-lg);
|
|
7015
|
+
border-radius: var(--input-field-radius-lg);
|
|
7016
|
+
}
|
|
7017
|
+
|
|
7018
|
+
/* ─── Embedded variant (e.g. inside TopBar) ───────────── */
|
|
7019
|
+
|
|
7020
|
+
.muka-search-input--embedded .muka-search-input__field {
|
|
7021
|
+
background-color: var(--color-surface-level1);
|
|
7022
|
+
border-color: transparent;
|
|
7023
|
+
}
|
|
7024
|
+
|
|
7025
|
+
.muka-search-input--embedded.muka-search-input--focused .muka-search-input__field {
|
|
7026
|
+
border-color: transparent;
|
|
7027
|
+
background-color: var(--color-surface-level2);
|
|
7028
|
+
}
|
|
7029
|
+
|
|
7030
|
+
/* ─── Disabled ────────────────────────────────────────── */
|
|
7031
|
+
|
|
7032
|
+
.muka-search-input--disabled .muka-search-input__field {
|
|
7033
|
+
opacity: 0.5;
|
|
7034
|
+
pointer-events: none;
|
|
7035
|
+
}
|
|
7036
|
+
|
|
7037
|
+
/* ─── Leading icon ────────────────────────────────────── */
|
|
7038
|
+
|
|
7039
|
+
.muka-search-input__leading {
|
|
7040
|
+
display: inline-flex;
|
|
7041
|
+
align-items: center;
|
|
7042
|
+
justify-content: center;
|
|
7043
|
+
flex-shrink: 0;
|
|
7044
|
+
color: var(--color-text-subtle-default);
|
|
7045
|
+
}
|
|
7046
|
+
|
|
7047
|
+
/* ─── Input element ───────────────────────────────────── */
|
|
7048
|
+
|
|
7049
|
+
.muka-search-input__input {
|
|
7050
|
+
flex: 1 1 auto;
|
|
7051
|
+
min-width: 0;
|
|
7052
|
+
border: none;
|
|
7053
|
+
background: transparent;
|
|
7054
|
+
outline: none;
|
|
7055
|
+
padding: 0;
|
|
7056
|
+
color: var(--color-text-default-default);
|
|
7057
|
+
font-family: var(--text-body-base-regular-fontFamily);
|
|
7058
|
+
font-weight: var(--text-body-base-regular-fontWeight);
|
|
7059
|
+
font-size: var(--text-body-base-regular-fontSize);
|
|
7060
|
+
line-height: var(--text-body-base-regular-lineHeight);
|
|
7061
|
+
appearance: none;
|
|
7062
|
+
-webkit-appearance: none;
|
|
7063
|
+
}
|
|
7064
|
+
|
|
7065
|
+
.muka-search-input__input::placeholder {
|
|
7066
|
+
color: var(--color-text-subtle-default);
|
|
7067
|
+
}
|
|
7068
|
+
|
|
7069
|
+
/* Hide the browser-supplied clear button (WebKit + Edge) */
|
|
7070
|
+
.muka-search-input__input::-webkit-search-cancel-button,
|
|
7071
|
+
.muka-search-input__input::-webkit-search-decoration {
|
|
7072
|
+
-webkit-appearance: none;
|
|
7073
|
+
appearance: none;
|
|
7074
|
+
}
|
|
7075
|
+
|
|
7076
|
+
.muka-search-input__input::-ms-clear {
|
|
7077
|
+
display: none;
|
|
7078
|
+
}
|
|
7079
|
+
|
|
7080
|
+
/* ─── Trailing slot (loading spinner) ─────────────────── */
|
|
7081
|
+
|
|
7082
|
+
.muka-search-input__trailing {
|
|
7083
|
+
display: inline-flex;
|
|
7084
|
+
align-items: center;
|
|
7085
|
+
justify-content: center;
|
|
7086
|
+
flex-shrink: 0;
|
|
7087
|
+
}
|
|
7088
|
+
|
|
7089
|
+
/* ─── Clear button ────────────────────────────────────── */
|
|
7090
|
+
|
|
7091
|
+
.muka-search-input__clear {
|
|
7092
|
+
display: inline-flex;
|
|
7093
|
+
align-items: center;
|
|
7094
|
+
justify-content: center;
|
|
7095
|
+
width: 20px;
|
|
7096
|
+
height: 20px;
|
|
7097
|
+
border: none;
|
|
7098
|
+
background: none;
|
|
7099
|
+
padding: 0;
|
|
7100
|
+
cursor: pointer;
|
|
7101
|
+
color: var(--color-text-subtle-default);
|
|
7102
|
+
flex-shrink: 0;
|
|
7103
|
+
-webkit-tap-highlight-color: transparent;
|
|
7104
|
+
}
|
|
7105
|
+
|
|
7106
|
+
.muka-search-input__clear:hover {
|
|
7107
|
+
color: var(--color-text-default-default);
|
|
7108
|
+
}
|
|
7109
|
+
|
|
7110
|
+
.muka-search-input__clear:focus-visible {
|
|
7111
|
+
outline: 2px solid var(--color-action-default);
|
|
7112
|
+
outline-offset: 2px;
|
|
7113
|
+
border-radius: 50%;
|
|
7114
|
+
}
|
|
7115
|
+
|
|
7116
|
+
/* ─── Cancel button ───────────────────────────────────── */
|
|
7117
|
+
|
|
7118
|
+
.muka-search-input__cancel {
|
|
7119
|
+
flex-shrink: 0;
|
|
7120
|
+
background: none;
|
|
7121
|
+
border: none;
|
|
7122
|
+
padding: var(--spacing-1) var(--spacing-2);
|
|
7123
|
+
cursor: pointer;
|
|
7124
|
+
color: var(--color-action-default);
|
|
7125
|
+
font-family: var(--text-label-md-regular-fontFamily);
|
|
7126
|
+
font-weight: var(--text-label-md-regular-fontWeight);
|
|
7127
|
+
font-size: var(--text-label-md-regular-fontSize);
|
|
7128
|
+
line-height: var(--text-label-md-regular-lineHeight);
|
|
7129
|
+
-webkit-tap-highlight-color: transparent;
|
|
7130
|
+
}
|
|
7131
|
+
|
|
7132
|
+
.muka-search-input__cancel:hover {
|
|
7133
|
+
color: var(--color-action-hover);
|
|
7134
|
+
}
|
|
7135
|
+
|
|
7136
|
+
.muka-search-input__cancel:focus-visible {
|
|
7137
|
+
outline: 2px solid var(--color-action-default);
|
|
7138
|
+
outline-offset: 2px;
|
|
7139
|
+
border-radius: var(--radius-sm);
|
|
7140
|
+
}
|
|
7141
|
+
|
|
7142
|
+
|
|
7143
|
+
/* RadioTile */
|
|
7144
|
+
/* RadioTile Component Styles - Using Muka Design Tokens */
|
|
7145
|
+
|
|
7146
|
+
/* Base tile styles - horizontal */
|
|
7147
|
+
.muka-radio-tile {
|
|
7148
|
+
display: flex;
|
|
7149
|
+
align-items: center;
|
|
7150
|
+
gap: var(--spacing-4);
|
|
7151
|
+
padding: var(--spacing-4);
|
|
7152
|
+
border: var(--border-width-regular) solid var(--input-field-color-default-border);
|
|
7153
|
+
border-radius: var(--input-field-radius-lg);
|
|
7154
|
+
background-color: var(--color-surface-level3);
|
|
7155
|
+
cursor: pointer;
|
|
7156
|
+
transition: border-color 0.15s ease, border-width 0.15s ease;
|
|
7157
|
+
overflow: hidden;
|
|
7158
|
+
box-sizing: border-box;
|
|
7159
|
+
}
|
|
7160
|
+
|
|
7161
|
+
.muka-radio-tile--disabled {
|
|
7162
|
+
cursor: not-allowed;
|
|
7163
|
+
opacity: 0.6;
|
|
7164
|
+
}
|
|
7165
|
+
|
|
7166
|
+
/* Selected state */
|
|
7167
|
+
.muka-radio-tile[data-checked] {
|
|
7168
|
+
border-width: var(--border-width-bold);
|
|
7169
|
+
border-color: var(--color-action-default);
|
|
7170
|
+
}
|
|
7171
|
+
|
|
7172
|
+
/* Vertical layout */
|
|
7173
|
+
.muka-radio-tile--vertical {
|
|
7174
|
+
flex-direction: column;
|
|
7175
|
+
align-items: center;
|
|
7176
|
+
gap: var(--spacing-2);
|
|
7177
|
+
position: relative;
|
|
7178
|
+
width: 160px;
|
|
7179
|
+
}
|
|
7180
|
+
|
|
7181
|
+
/* Radio container */
|
|
7182
|
+
.muka-radio-tile__radio {
|
|
7183
|
+
flex-shrink: 0;
|
|
7184
|
+
}
|
|
7185
|
+
|
|
7186
|
+
/* Corner-positioned radio for vertical */
|
|
7187
|
+
.muka-radio-tile__radio--corner {
|
|
7188
|
+
position: absolute;
|
|
7189
|
+
top: var(--spacing-4);
|
|
7190
|
+
left: var(--spacing-4);
|
|
7191
|
+
}
|
|
7192
|
+
|
|
7193
|
+
/* Adjust corner position when selected (border is thicker) */
|
|
7194
|
+
.muka-radio-tile[data-checked] .muka-radio-tile__radio--corner {
|
|
7195
|
+
top: calc(var(--spacing-4) - 1px);
|
|
7196
|
+
left: calc(var(--spacing-4) - 1px);
|
|
7197
|
+
}
|
|
7198
|
+
|
|
7199
|
+
/* Icon */
|
|
7200
|
+
.muka-radio-tile__icon {
|
|
7201
|
+
display: flex;
|
|
7202
|
+
align-items: center;
|
|
7203
|
+
justify-content: center;
|
|
7204
|
+
flex-shrink: 0;
|
|
7205
|
+
width: var(--icon-size-default);
|
|
7206
|
+
height: var(--icon-size-default);
|
|
7207
|
+
color: var(--color-text-default-default);
|
|
7208
|
+
}
|
|
7209
|
+
|
|
7210
|
+
.muka-radio-tile__icon svg {
|
|
7211
|
+
width: 100%;
|
|
7212
|
+
height: 100%;
|
|
7213
|
+
}
|
|
7214
|
+
|
|
7215
|
+
/* Image */
|
|
7216
|
+
.muka-radio-tile__image {
|
|
7217
|
+
flex-shrink: 0;
|
|
7218
|
+
overflow: hidden;
|
|
7219
|
+
border-radius: var(--border-radius-sm);
|
|
7220
|
+
}
|
|
7221
|
+
|
|
7222
|
+
.muka-radio-tile__image img {
|
|
7223
|
+
display: block;
|
|
7224
|
+
width: 100%;
|
|
7225
|
+
height: 100%;
|
|
7226
|
+
object-fit: cover;
|
|
7227
|
+
}
|
|
7228
|
+
|
|
7229
|
+
/* Horizontal image sizing */
|
|
7230
|
+
.muka-radio-tile__image--horizontal {
|
|
7231
|
+
width: 40px;
|
|
7232
|
+
height: 40px;
|
|
7233
|
+
}
|
|
7234
|
+
|
|
7235
|
+
/* Vertical image sizing */
|
|
7236
|
+
.muka-radio-tile--vertical .muka-radio-tile__image {
|
|
7237
|
+
width: 100%;
|
|
7238
|
+
aspect-ratio: 4/3;
|
|
7239
|
+
}
|
|
7240
|
+
|
|
7241
|
+
/* Content container */
|
|
7242
|
+
.muka-radio-tile__content {
|
|
7243
|
+
display: flex;
|
|
7244
|
+
flex-direction: column;
|
|
7245
|
+
flex: 1;
|
|
7246
|
+
min-width: 0;
|
|
7247
|
+
gap: var(--spacing-1);
|
|
7248
|
+
}
|
|
7249
|
+
|
|
7250
|
+
/* Label */
|
|
7251
|
+
.muka-radio-tile__label {
|
|
7252
|
+
font-family: var(--text-body-lg-regular-fontFamily);
|
|
7253
|
+
font-weight: var(--text-body-lg-regular-fontWeight);
|
|
7254
|
+
font-size: var(--text-body-lg-regular-fontSize);
|
|
7255
|
+
line-height: var(--text-body-lg-regular-lineHeight);
|
|
7256
|
+
color: var(--color-text-default-default);
|
|
7257
|
+
}
|
|
7258
|
+
|
|
7259
|
+
.muka-radio-tile__label--bold {
|
|
7260
|
+
font-family: var(--text-label-lg-semibold-fontFamily);
|
|
7261
|
+
font-weight: var(--text-label-lg-semibold-fontWeight);
|
|
7262
|
+
font-size: var(--text-label-lg-semibold-fontSize);
|
|
7263
|
+
line-height: var(--text-label-lg-semibold-lineHeight);
|
|
7264
|
+
}
|
|
7265
|
+
|
|
7266
|
+
.muka-radio-tile__label--center {
|
|
7267
|
+
text-align: center;
|
|
7268
|
+
}
|
|
7269
|
+
|
|
7270
|
+
/* Caption */
|
|
7271
|
+
.muka-radio-tile__caption {
|
|
7272
|
+
font-family: var(--text-body-base-regular-fontFamily);
|
|
7273
|
+
font-weight: var(--text-body-base-regular-fontWeight);
|
|
7274
|
+
font-size: var(--text-body-base-regular-fontSize);
|
|
7275
|
+
line-height: var(--text-body-base-regular-lineHeight);
|
|
7276
|
+
color: var(--color-text-subtle-default);
|
|
7277
|
+
}
|
|
7278
|
+
|
|
7279
|
+
/* Disabled states */
|
|
7280
|
+
.muka-radio-tile--disabled .muka-radio-tile__label,
|
|
7281
|
+
.muka-radio-tile--disabled .muka-radio-tile__icon {
|
|
7282
|
+
color: var(--color-text-subtle-default);
|
|
7283
|
+
}
|
|
7284
|
+
|
|
7285
|
+
|
|
7286
|
+
/* Radio */
|
|
7287
|
+
/* Radio Component Styles - Using Muka Design Tokens */
|
|
7288
|
+
|
|
7289
|
+
/* Wrapper - clickable label container */
|
|
7290
|
+
.muka-radio {
|
|
7291
|
+
display: inline-flex;
|
|
7292
|
+
align-items: center;
|
|
7293
|
+
gap: var(--spacing-4);
|
|
7294
|
+
cursor: pointer;
|
|
7295
|
+
user-select: none;
|
|
7296
|
+
}
|
|
7297
|
+
|
|
7298
|
+
.muka-radio--disabled {
|
|
7299
|
+
cursor: not-allowed;
|
|
7300
|
+
opacity: 0.6;
|
|
7301
|
+
}
|
|
7302
|
+
|
|
7303
|
+
/* Control container */
|
|
7304
|
+
.muka-radio__control {
|
|
7305
|
+
position: relative;
|
|
7306
|
+
display: inline-flex;
|
|
7307
|
+
align-items: center;
|
|
7308
|
+
justify-content: center;
|
|
7309
|
+
flex-shrink: 0;
|
|
7310
|
+
}
|
|
7311
|
+
|
|
7312
|
+
/* Hidden native input */
|
|
7313
|
+
.muka-radio__input {
|
|
7314
|
+
position: absolute;
|
|
7315
|
+
width: 1px;
|
|
7316
|
+
height: 1px;
|
|
7317
|
+
padding: 0;
|
|
7318
|
+
margin: -1px;
|
|
7319
|
+
overflow: hidden;
|
|
7320
|
+
clip: rect(0, 0, 0, 0);
|
|
7321
|
+
white-space: nowrap;
|
|
7322
|
+
border: 0;
|
|
7323
|
+
}
|
|
7324
|
+
|
|
7325
|
+
/* Visual indicator (circle) */
|
|
7326
|
+
.muka-radio__indicator {
|
|
7327
|
+
display: flex;
|
|
7328
|
+
align-items: center;
|
|
7329
|
+
justify-content: center;
|
|
7330
|
+
width: var(--radio-size-default);
|
|
7331
|
+
height: var(--radio-size-default);
|
|
7332
|
+
border-radius: var(--border-radius-full);
|
|
7333
|
+
background-color: var(--radio-color-default-background);
|
|
7334
|
+
border: var(--border-width-regular) solid var(--radio-color-default-border);
|
|
7335
|
+
transition: all 0.15s ease;
|
|
7336
|
+
box-shadow: inset 0 1px 2px 0 rgba(26, 26, 26, 0.15);
|
|
7337
|
+
}
|
|
7338
|
+
|
|
7339
|
+
/* Size variants */
|
|
7340
|
+
.muka-radio--sm .muka-radio__indicator {
|
|
7341
|
+
width: var(--radio-size-sm);
|
|
7342
|
+
height: var(--radio-size-sm);
|
|
7157
7343
|
}
|
|
7158
7344
|
|
|
7159
7345
|
.muka-radio--lg .muka-radio__indicator {
|
|
@@ -7773,225 +7959,82 @@ body {
|
|
|
7773
7959
|
/* Figma: 12px around, 4px more after the label. */
|
|
7774
7960
|
padding: var(--spacing-3) var(--spacing-4) var(--spacing-3) var(--spacing-3);
|
|
7775
7961
|
border: none;
|
|
7776
|
-
border-radius: var(--border-radius-xl) var(--border-radius-xl) 0 0;
|
|
7777
|
-
background-color: var(--muka-progress-tracker-tab-surface);
|
|
7778
|
-
color: var(--color-text-default-default);
|
|
7779
|
-
font: inherit;
|
|
7780
|
-
text-align: left;
|
|
7781
|
-
white-space: nowrap;
|
|
7782
|
-
filter: drop-shadow(0 0 0.5px var(--color-black-alpha-5))
|
|
7783
|
-
drop-shadow(0 8px 8px var(--color-black-alpha-5));
|
|
7784
|
-
}
|
|
7785
|
-
|
|
7786
|
-
/* Concave corners: the tab's bottom flares out into the surface. */
|
|
7787
|
-
.muka-progress-tracker__tab::before,
|
|
7788
|
-
.muka-progress-tracker__tab::after {
|
|
7789
|
-
content: '';
|
|
7790
|
-
position: absolute;
|
|
7791
|
-
bottom: 0;
|
|
7792
|
-
width: var(--border-radius-xl);
|
|
7793
|
-
height: var(--border-radius-xl);
|
|
7794
|
-
pointer-events: none;
|
|
7795
|
-
}
|
|
7796
|
-
|
|
7797
|
-
.muka-progress-tracker__tab::before {
|
|
7798
|
-
right: 100%;
|
|
7799
|
-
background: radial-gradient(
|
|
7800
|
-
circle at 0 0,
|
|
7801
|
-
transparent calc(var(--border-radius-xl) - 0.5px),
|
|
7802
|
-
var(--muka-progress-tracker-tab-surface) var(--border-radius-xl)
|
|
7803
|
-
);
|
|
7804
|
-
}
|
|
7805
|
-
|
|
7806
|
-
.muka-progress-tracker__tab::after {
|
|
7807
|
-
left: 100%;
|
|
7808
|
-
background: radial-gradient(
|
|
7809
|
-
circle at 100% 0,
|
|
7810
|
-
transparent calc(var(--border-radius-xl) - 0.5px),
|
|
7811
|
-
var(--muka-progress-tracker-tab-surface) var(--border-radius-xl)
|
|
7812
|
-
);
|
|
7813
|
-
}
|
|
7814
|
-
|
|
7815
|
-
.muka-progress-tracker__tab--selected {
|
|
7816
|
-
--muka-progress-tracker-tab-surface: var(
|
|
7817
|
-
--muka-progress-tracker-tab-selected,
|
|
7818
|
-
var(--color-surface-level3)
|
|
7819
|
-
);
|
|
7820
|
-
}
|
|
7821
|
-
|
|
7822
|
-
button.muka-progress-tracker__tab {
|
|
7823
|
-
cursor: pointer;
|
|
7824
|
-
}
|
|
7825
|
-
|
|
7826
|
-
button.muka-progress-tracker__tab:not(.muka-progress-tracker__tab--selected):hover {
|
|
7827
|
-
background-image: linear-gradient(var(--color-surface-hover), var(--color-surface-hover));
|
|
7828
|
-
}
|
|
7829
|
-
|
|
7830
|
-
button.muka-progress-tracker__tab:focus-visible {
|
|
7831
|
-
outline: 2px solid var(--color-border-focus);
|
|
7832
|
-
outline-offset: -2px;
|
|
7833
|
-
}
|
|
7834
|
-
|
|
7835
|
-
.muka-progress-tracker--tabs .muka-progress-tracker__label {
|
|
7836
|
-
font-family: var(--text-body-base-regular-fontFamily);
|
|
7837
|
-
font-weight: var(--text-body-base-regular-fontWeight);
|
|
7838
|
-
font-size: var(--text-body-base-regular-fontSize);
|
|
7839
|
-
line-height: var(--text-body-base-regular-lineHeight);
|
|
7840
|
-
}
|
|
7841
|
-
|
|
7842
|
-
.muka-progress-tracker__tab--selected .muka-progress-tracker__label {
|
|
7843
|
-
font-family: var(--text-body-base-bold-fontFamily);
|
|
7844
|
-
font-weight: var(--text-body-base-bold-fontWeight);
|
|
7845
|
-
}
|
|
7846
|
-
|
|
7847
|
-
.muka-progress-tracker--tabs .muka-progress-tracker__indicator--upcoming .muka-progress-tracker__number {
|
|
7848
|
-
font-family: var(--text-label-md-semibold-fontFamily);
|
|
7849
|
-
font-weight: var(--text-label-md-semibold-fontWeight);
|
|
7850
|
-
font-size: var(--text-label-md-semibold-fontSize);
|
|
7851
|
-
line-height: var(--text-label-md-semibold-lineHeight);
|
|
7852
|
-
}
|
|
7853
|
-
|
|
7854
|
-
|
|
7855
|
-
/* RadioTile */
|
|
7856
|
-
/* RadioTile Component Styles - Using Muka Design Tokens */
|
|
7857
|
-
|
|
7858
|
-
/* Base tile styles - horizontal */
|
|
7859
|
-
.muka-radio-tile {
|
|
7860
|
-
display: flex;
|
|
7861
|
-
align-items: center;
|
|
7862
|
-
gap: var(--spacing-4);
|
|
7863
|
-
padding: var(--spacing-4);
|
|
7864
|
-
border: var(--border-width-regular) solid var(--input-field-color-default-border);
|
|
7865
|
-
border-radius: var(--input-field-radius-lg);
|
|
7866
|
-
background-color: var(--color-surface-level3);
|
|
7867
|
-
cursor: pointer;
|
|
7868
|
-
transition: border-color 0.15s ease, border-width 0.15s ease;
|
|
7869
|
-
overflow: hidden;
|
|
7870
|
-
box-sizing: border-box;
|
|
7871
|
-
}
|
|
7872
|
-
|
|
7873
|
-
.muka-radio-tile--disabled {
|
|
7874
|
-
cursor: not-allowed;
|
|
7875
|
-
opacity: 0.6;
|
|
7876
|
-
}
|
|
7877
|
-
|
|
7878
|
-
/* Selected state */
|
|
7879
|
-
.muka-radio-tile[data-checked] {
|
|
7880
|
-
border-width: var(--border-width-bold);
|
|
7881
|
-
border-color: var(--color-action-default);
|
|
7882
|
-
}
|
|
7883
|
-
|
|
7884
|
-
/* Vertical layout */
|
|
7885
|
-
.muka-radio-tile--vertical {
|
|
7886
|
-
flex-direction: column;
|
|
7887
|
-
align-items: center;
|
|
7888
|
-
gap: var(--spacing-2);
|
|
7889
|
-
position: relative;
|
|
7890
|
-
width: 160px;
|
|
7891
|
-
}
|
|
7892
|
-
|
|
7893
|
-
/* Radio container */
|
|
7894
|
-
.muka-radio-tile__radio {
|
|
7895
|
-
flex-shrink: 0;
|
|
7896
|
-
}
|
|
7897
|
-
|
|
7898
|
-
/* Corner-positioned radio for vertical */
|
|
7899
|
-
.muka-radio-tile__radio--corner {
|
|
7900
|
-
position: absolute;
|
|
7901
|
-
top: var(--spacing-4);
|
|
7902
|
-
left: var(--spacing-4);
|
|
7903
|
-
}
|
|
7904
|
-
|
|
7905
|
-
/* Adjust corner position when selected (border is thicker) */
|
|
7906
|
-
.muka-radio-tile[data-checked] .muka-radio-tile__radio--corner {
|
|
7907
|
-
top: calc(var(--spacing-4) - 1px);
|
|
7908
|
-
left: calc(var(--spacing-4) - 1px);
|
|
7909
|
-
}
|
|
7910
|
-
|
|
7911
|
-
/* Icon */
|
|
7912
|
-
.muka-radio-tile__icon {
|
|
7913
|
-
display: flex;
|
|
7914
|
-
align-items: center;
|
|
7915
|
-
justify-content: center;
|
|
7916
|
-
flex-shrink: 0;
|
|
7917
|
-
width: var(--icon-size-default);
|
|
7918
|
-
height: var(--icon-size-default);
|
|
7962
|
+
border-radius: var(--border-radius-xl) var(--border-radius-xl) 0 0;
|
|
7963
|
+
background-color: var(--muka-progress-tracker-tab-surface);
|
|
7919
7964
|
color: var(--color-text-default-default);
|
|
7965
|
+
font: inherit;
|
|
7966
|
+
text-align: left;
|
|
7967
|
+
white-space: nowrap;
|
|
7968
|
+
filter: drop-shadow(0 0 0.5px var(--color-black-alpha-5))
|
|
7969
|
+
drop-shadow(0 8px 8px var(--color-black-alpha-5));
|
|
7920
7970
|
}
|
|
7921
7971
|
|
|
7922
|
-
.
|
|
7923
|
-
|
|
7924
|
-
|
|
7925
|
-
|
|
7926
|
-
|
|
7927
|
-
|
|
7928
|
-
|
|
7929
|
-
|
|
7930
|
-
|
|
7931
|
-
border-radius: var(--border-radius-sm);
|
|
7932
|
-
}
|
|
7933
|
-
|
|
7934
|
-
.muka-radio-tile__image img {
|
|
7935
|
-
display: block;
|
|
7936
|
-
width: 100%;
|
|
7937
|
-
height: 100%;
|
|
7938
|
-
object-fit: cover;
|
|
7972
|
+
/* Concave corners: the tab's bottom flares out into the surface. */
|
|
7973
|
+
.muka-progress-tracker__tab::before,
|
|
7974
|
+
.muka-progress-tracker__tab::after {
|
|
7975
|
+
content: '';
|
|
7976
|
+
position: absolute;
|
|
7977
|
+
bottom: 0;
|
|
7978
|
+
width: var(--border-radius-xl);
|
|
7979
|
+
height: var(--border-radius-xl);
|
|
7980
|
+
pointer-events: none;
|
|
7939
7981
|
}
|
|
7940
7982
|
|
|
7941
|
-
|
|
7942
|
-
|
|
7943
|
-
|
|
7944
|
-
|
|
7983
|
+
.muka-progress-tracker__tab::before {
|
|
7984
|
+
right: 100%;
|
|
7985
|
+
background: radial-gradient(
|
|
7986
|
+
circle at 0 0,
|
|
7987
|
+
transparent calc(var(--border-radius-xl) - 0.5px),
|
|
7988
|
+
var(--muka-progress-tracker-tab-surface) var(--border-radius-xl)
|
|
7989
|
+
);
|
|
7945
7990
|
}
|
|
7946
7991
|
|
|
7947
|
-
|
|
7948
|
-
|
|
7949
|
-
|
|
7950
|
-
|
|
7992
|
+
.muka-progress-tracker__tab::after {
|
|
7993
|
+
left: 100%;
|
|
7994
|
+
background: radial-gradient(
|
|
7995
|
+
circle at 100% 0,
|
|
7996
|
+
transparent calc(var(--border-radius-xl) - 0.5px),
|
|
7997
|
+
var(--muka-progress-tracker-tab-surface) var(--border-radius-xl)
|
|
7998
|
+
);
|
|
7951
7999
|
}
|
|
7952
8000
|
|
|
7953
|
-
|
|
7954
|
-
|
|
7955
|
-
|
|
7956
|
-
|
|
7957
|
-
|
|
7958
|
-
min-width: 0;
|
|
7959
|
-
gap: var(--spacing-1);
|
|
8001
|
+
.muka-progress-tracker__tab--selected {
|
|
8002
|
+
--muka-progress-tracker-tab-surface: var(
|
|
8003
|
+
--muka-progress-tracker-tab-selected,
|
|
8004
|
+
var(--color-surface-level3)
|
|
8005
|
+
);
|
|
7960
8006
|
}
|
|
7961
8007
|
|
|
7962
|
-
|
|
7963
|
-
|
|
7964
|
-
font-family: var(--text-body-lg-regular-fontFamily);
|
|
7965
|
-
font-weight: var(--text-body-lg-regular-fontWeight);
|
|
7966
|
-
font-size: var(--text-body-lg-regular-fontSize);
|
|
7967
|
-
line-height: var(--text-body-lg-regular-lineHeight);
|
|
7968
|
-
color: var(--color-text-default-default);
|
|
8008
|
+
button.muka-progress-tracker__tab {
|
|
8009
|
+
cursor: pointer;
|
|
7969
8010
|
}
|
|
7970
8011
|
|
|
7971
|
-
.muka-
|
|
7972
|
-
|
|
7973
|
-
font-weight: var(--text-label-lg-semibold-fontWeight);
|
|
7974
|
-
font-size: var(--text-label-lg-semibold-fontSize);
|
|
7975
|
-
line-height: var(--text-label-lg-semibold-lineHeight);
|
|
8012
|
+
button.muka-progress-tracker__tab:not(.muka-progress-tracker__tab--selected):hover {
|
|
8013
|
+
background-image: linear-gradient(var(--color-surface-hover), var(--color-surface-hover));
|
|
7976
8014
|
}
|
|
7977
8015
|
|
|
7978
|
-
.muka-
|
|
7979
|
-
|
|
8016
|
+
button.muka-progress-tracker__tab:focus-visible {
|
|
8017
|
+
outline: 2px solid var(--color-border-focus);
|
|
8018
|
+
outline-offset: -2px;
|
|
7980
8019
|
}
|
|
7981
8020
|
|
|
7982
|
-
|
|
7983
|
-
.muka-radio-tile__caption {
|
|
8021
|
+
.muka-progress-tracker--tabs .muka-progress-tracker__label {
|
|
7984
8022
|
font-family: var(--text-body-base-regular-fontFamily);
|
|
7985
8023
|
font-weight: var(--text-body-base-regular-fontWeight);
|
|
7986
8024
|
font-size: var(--text-body-base-regular-fontSize);
|
|
7987
8025
|
line-height: var(--text-body-base-regular-lineHeight);
|
|
7988
|
-
color: var(--color-text-subtle-default);
|
|
7989
8026
|
}
|
|
7990
8027
|
|
|
7991
|
-
|
|
7992
|
-
|
|
7993
|
-
|
|
7994
|
-
|
|
8028
|
+
.muka-progress-tracker__tab--selected .muka-progress-tracker__label {
|
|
8029
|
+
font-family: var(--text-body-base-bold-fontFamily);
|
|
8030
|
+
font-weight: var(--text-body-base-bold-fontWeight);
|
|
8031
|
+
}
|
|
8032
|
+
|
|
8033
|
+
.muka-progress-tracker--tabs .muka-progress-tracker__indicator--upcoming .muka-progress-tracker__number {
|
|
8034
|
+
font-family: var(--text-label-md-semibold-fontFamily);
|
|
8035
|
+
font-weight: var(--text-label-md-semibold-fontWeight);
|
|
8036
|
+
font-size: var(--text-label-md-semibold-fontSize);
|
|
8037
|
+
line-height: var(--text-label-md-semibold-lineHeight);
|
|
7995
8038
|
}
|
|
7996
8039
|
|
|
7997
8040
|
|
|
@@ -8401,172 +8444,27 @@ button.muka-progress-tracker__tab:focus-visible {
|
|
|
8401
8444
|
.muka-progress--circle.muka-progress--indeterminate .muka-progress__circle {
|
|
8402
8445
|
animation: muka-progress-circle-rotate 2s linear infinite;
|
|
8403
8446
|
}
|
|
8404
|
-
|
|
8405
|
-
.muka-progress--circle.muka-progress--indeterminate .muka-progress__fill {
|
|
8406
|
-
animation: muka-progress-circle-dash 1.5s ease-in-out infinite;
|
|
8407
|
-
}
|
|
8408
|
-
|
|
8409
|
-
@keyframes muka-progress-circle-rotate {
|
|
8410
|
-
100% {
|
|
8411
|
-
transform: rotate(270deg);
|
|
8412
|
-
}
|
|
8413
|
-
}
|
|
8414
|
-
|
|
8415
|
-
@keyframes muka-progress-circle-dash {
|
|
8416
|
-
0% {
|
|
8417
|
-
stroke-dashoffset: 220;
|
|
8418
|
-
}
|
|
8419
|
-
50% {
|
|
8420
|
-
stroke-dashoffset: 70;
|
|
8421
|
-
}
|
|
8422
|
-
100% {
|
|
8423
|
-
stroke-dashoffset: 220;
|
|
8424
|
-
}
|
|
8425
|
-
}
|
|
8426
|
-
|
|
8427
|
-
|
|
8428
|
-
/* ProfileBadge */
|
|
8429
|
-
/* ProfileBadge Component Styles - Using Muka Design Tokens */
|
|
8430
|
-
|
|
8431
|
-
.muka-profile-badge {
|
|
8432
|
-
display: inline-flex;
|
|
8433
|
-
max-width: 100%;
|
|
8434
|
-
min-width: 0;
|
|
8435
|
-
align-items: center;
|
|
8436
|
-
font-family: var(--text-body-base-regular-fontFamily);
|
|
8437
|
-
}
|
|
8438
|
-
|
|
8439
|
-
/* Size variants */
|
|
8440
|
-
.muka-profile-badge--lg {
|
|
8441
|
-
gap: var(--spacing-4); /* 16px */
|
|
8442
|
-
}
|
|
8443
|
-
|
|
8444
|
-
.muka-profile-badge--md {
|
|
8445
|
-
gap: var(--spacing-3); /* 12px */
|
|
8446
|
-
}
|
|
8447
|
-
|
|
8448
|
-
.muka-profile-badge--sm {
|
|
8449
|
-
gap: var(--spacing-2); /* 8px */
|
|
8450
|
-
}
|
|
8451
|
-
|
|
8452
|
-
.muka-profile-badge__avatar {
|
|
8453
|
-
flex-shrink: 0;
|
|
8454
|
-
}
|
|
8455
|
-
|
|
8456
|
-
/* Text stack */
|
|
8457
|
-
.muka-profile-badge__text {
|
|
8458
|
-
display: flex;
|
|
8459
|
-
flex-direction: column;
|
|
8460
|
-
align-items: flex-start;
|
|
8461
|
-
min-width: 0;
|
|
8462
|
-
}
|
|
8463
|
-
|
|
8464
|
-
.muka-profile-badge__name {
|
|
8465
|
-
max-width: 100%;
|
|
8466
|
-
overflow: hidden;
|
|
8467
|
-
text-overflow: ellipsis;
|
|
8468
|
-
white-space: nowrap;
|
|
8469
|
-
font-family: var(--text-body-base-regular-fontFamily);
|
|
8470
|
-
font-size: var(--text-body-base-regular-fontSize);
|
|
8471
|
-
font-weight: var(--text-body-base-regular-fontWeight);
|
|
8472
|
-
line-height: var(--text-body-base-regular-lineHeight);
|
|
8473
|
-
color: var(--color-text-default-default);
|
|
8474
|
-
}
|
|
8475
|
-
|
|
8476
|
-
.muka-profile-badge__email {
|
|
8477
|
-
font-family: var(--text-body-xs-regular-fontFamily);
|
|
8478
|
-
font-size: var(--text-body-xs-regular-fontSize);
|
|
8479
|
-
font-weight: var(--text-body-xs-regular-fontWeight);
|
|
8480
|
-
line-height: var(--text-body-xs-regular-lineHeight);
|
|
8481
|
-
color: var(--color-text-subtle-default);
|
|
8482
|
-
}
|
|
8483
|
-
|
|
8484
|
-
/* Clickable state */
|
|
8485
|
-
.muka-profile-badge--clickable {
|
|
8486
|
-
cursor: pointer;
|
|
8487
|
-
border: none;
|
|
8488
|
-
background: none;
|
|
8489
|
-
padding: 0;
|
|
8490
|
-
text-align: left;
|
|
8491
|
-
border-radius: var(--radius-md);
|
|
8492
|
-
transition: opacity 0.2s ease;
|
|
8493
|
-
}
|
|
8494
|
-
|
|
8495
|
-
.muka-profile-badge--clickable:hover {
|
|
8496
|
-
opacity: 0.9;
|
|
8497
|
-
}
|
|
8498
|
-
|
|
8499
|
-
.muka-profile-badge--clickable:active {
|
|
8500
|
-
opacity: 0.8;
|
|
8501
|
-
}
|
|
8502
|
-
|
|
8503
|
-
.muka-profile-badge--clickable:focus-visible {
|
|
8504
|
-
outline: 2px solid var(--color-border-focus);
|
|
8505
|
-
outline-offset: 2px;
|
|
8506
|
-
}
|
|
8507
|
-
|
|
8508
|
-
/* Trailing chevron: the badge opens a menu */
|
|
8509
|
-
.muka-profile-badge__chevron {
|
|
8510
|
-
flex-shrink: 0;
|
|
8511
|
-
}
|
|
8512
|
-
|
|
8513
|
-
/*
|
|
8514
|
-
* A clickable badge with a chevron is a pill (Figma Profile Badge, Bouwplan
|
|
8515
|
-
* header): 4px inset on the avatar side, 12px after the chevron. The border
|
|
8516
|
-
* is an inset shadow so it appears on hover and while the menu is open
|
|
8517
|
-
* without moving the content.
|
|
8518
|
-
*/
|
|
8519
|
-
.muka-profile-badge--clickable.muka-profile-badge--with-chevron {
|
|
8520
|
-
padding: var(--spacing-1) var(--spacing-3) var(--spacing-1) var(--spacing-1);
|
|
8521
|
-
border-radius: var(--radius-full);
|
|
8522
|
-
transition: box-shadow 0.2s ease;
|
|
8523
|
-
}
|
|
8524
|
-
|
|
8525
|
-
.muka-profile-badge--clickable.muka-profile-badge--with-chevron:hover,
|
|
8526
|
-
.muka-profile-badge--clickable.muka-profile-badge--with-chevron:active {
|
|
8527
|
-
opacity: 1;
|
|
8528
|
-
}
|
|
8529
|
-
|
|
8530
|
-
.muka-profile-badge--clickable.muka-profile-badge--with-chevron:hover,
|
|
8531
|
-
.muka-profile-badge--clickable.muka-profile-badge--with-chevron[aria-expanded='true'],
|
|
8532
|
-
.muka-profile-badge--clickable.muka-profile-badge--with-chevron[data-state='open'] {
|
|
8533
|
-
box-shadow: inset 0 0 0 var(--border-width-regular) var(--button-color-ghost-border-hover);
|
|
8534
|
-
}
|
|
8535
|
-
|
|
8536
|
-
/* A badge without an avatar keeps the 12px start inset */
|
|
8537
|
-
.muka-profile-badge--clickable.muka-profile-badge--with-chevron:not(:has(.muka-profile-badge__avatar)) {
|
|
8538
|
-
padding-left: var(--spacing-3);
|
|
8539
|
-
}
|
|
8540
|
-
|
|
8541
|
-
|
|
8542
|
-
/* Popover */
|
|
8543
|
-
/* Popover Component Styles */
|
|
8544
|
-
|
|
8545
|
-
.muka-popover__content {
|
|
8546
|
-
background-color: var(--color-surface-level3);
|
|
8547
|
-
border: var(--border-width-regular) solid var(--color-border-default);
|
|
8548
|
-
border-radius: var(--radius-md);
|
|
8549
|
-
padding: var(--spacing-4);
|
|
8550
|
-
box-shadow: var(--shadow-level3);
|
|
8551
|
-
max-width: 20rem;
|
|
8552
|
-
z-index: 50;
|
|
8553
|
-
animation: muka-popover-fade-in 150ms ease;
|
|
8447
|
+
|
|
8448
|
+
.muka-progress--circle.muka-progress--indeterminate .muka-progress__fill {
|
|
8449
|
+
animation: muka-progress-circle-dash 1.5s ease-in-out infinite;
|
|
8554
8450
|
}
|
|
8555
8451
|
|
|
8556
|
-
@keyframes muka-
|
|
8557
|
-
|
|
8558
|
-
|
|
8559
|
-
transform: scale(0.96);
|
|
8560
|
-
}
|
|
8561
|
-
to {
|
|
8562
|
-
opacity: 1;
|
|
8563
|
-
transform: scale(1);
|
|
8452
|
+
@keyframes muka-progress-circle-rotate {
|
|
8453
|
+
100% {
|
|
8454
|
+
transform: rotate(270deg);
|
|
8564
8455
|
}
|
|
8565
8456
|
}
|
|
8566
8457
|
|
|
8567
|
-
|
|
8568
|
-
|
|
8569
|
-
|
|
8458
|
+
@keyframes muka-progress-circle-dash {
|
|
8459
|
+
0% {
|
|
8460
|
+
stroke-dashoffset: 220;
|
|
8461
|
+
}
|
|
8462
|
+
50% {
|
|
8463
|
+
stroke-dashoffset: 70;
|
|
8464
|
+
}
|
|
8465
|
+
100% {
|
|
8466
|
+
stroke-dashoffset: 220;
|
|
8467
|
+
}
|
|
8570
8468
|
}
|
|
8571
8469
|
|
|
8572
8470
|
|
|
@@ -8667,6 +8565,37 @@ button.muka-progress-tracker__tab:focus-visible {
|
|
|
8667
8565
|
}
|
|
8668
8566
|
|
|
8669
8567
|
|
|
8568
|
+
/* Popover */
|
|
8569
|
+
/* Popover Component Styles */
|
|
8570
|
+
|
|
8571
|
+
.muka-popover__content {
|
|
8572
|
+
background-color: var(--color-surface-level3);
|
|
8573
|
+
border: var(--border-width-regular) solid var(--color-border-default);
|
|
8574
|
+
border-radius: var(--radius-md);
|
|
8575
|
+
padding: var(--spacing-4);
|
|
8576
|
+
box-shadow: var(--shadow-level3);
|
|
8577
|
+
max-width: 20rem;
|
|
8578
|
+
z-index: 50;
|
|
8579
|
+
animation: muka-popover-fade-in 150ms ease;
|
|
8580
|
+
}
|
|
8581
|
+
|
|
8582
|
+
@keyframes muka-popover-fade-in {
|
|
8583
|
+
from {
|
|
8584
|
+
opacity: 0;
|
|
8585
|
+
transform: scale(0.96);
|
|
8586
|
+
}
|
|
8587
|
+
to {
|
|
8588
|
+
opacity: 1;
|
|
8589
|
+
transform: scale(1);
|
|
8590
|
+
}
|
|
8591
|
+
}
|
|
8592
|
+
|
|
8593
|
+
/* Arrow */
|
|
8594
|
+
.muka-popover__arrow {
|
|
8595
|
+
fill: var(--color-surface-level3);
|
|
8596
|
+
}
|
|
8597
|
+
|
|
8598
|
+
|
|
8670
8599
|
/* PlanningGantt */
|
|
8671
8600
|
/* PlanningGantt (MUK-105) — one week per page, never scrolls horizontally. */
|
|
8672
8601
|
|
|
@@ -9064,6 +8993,103 @@ button.muka-progress-tracker__tab:focus-visible {
|
|
|
9064
8993
|
}
|
|
9065
8994
|
|
|
9066
8995
|
|
|
8996
|
+
/* PieChart */
|
|
8997
|
+
/* PieChart Component Styles - Using Muka Design Tokens */
|
|
8998
|
+
|
|
8999
|
+
.muka-piechart {
|
|
9000
|
+
display: inline-flex;
|
|
9001
|
+
align-items: center;
|
|
9002
|
+
gap: var(--spacing-4);
|
|
9003
|
+
}
|
|
9004
|
+
|
|
9005
|
+
/* Legend layout */
|
|
9006
|
+
.muka-piechart--legend-right {
|
|
9007
|
+
flex-direction: row;
|
|
9008
|
+
}
|
|
9009
|
+
|
|
9010
|
+
.muka-piechart--legend-bottom {
|
|
9011
|
+
flex-direction: column;
|
|
9012
|
+
}
|
|
9013
|
+
|
|
9014
|
+
/* ========================================
|
|
9015
|
+
CHART
|
|
9016
|
+
======================================== */
|
|
9017
|
+
|
|
9018
|
+
.muka-piechart__chart {
|
|
9019
|
+
position: relative;
|
|
9020
|
+
flex-shrink: 0;
|
|
9021
|
+
}
|
|
9022
|
+
|
|
9023
|
+
.muka-piechart__chart--sm {
|
|
9024
|
+
width: var(--piechart-size-diameter-sm);
|
|
9025
|
+
height: var(--piechart-size-diameter-sm);
|
|
9026
|
+
}
|
|
9027
|
+
|
|
9028
|
+
.muka-piechart__chart--md {
|
|
9029
|
+
width: var(--piechart-size-diameter-md);
|
|
9030
|
+
height: var(--piechart-size-diameter-md);
|
|
9031
|
+
}
|
|
9032
|
+
|
|
9033
|
+
.muka-piechart__chart--lg {
|
|
9034
|
+
width: var(--piechart-size-diameter-lg);
|
|
9035
|
+
height: var(--piechart-size-diameter-lg);
|
|
9036
|
+
}
|
|
9037
|
+
|
|
9038
|
+
.muka-piechart__svg {
|
|
9039
|
+
display: block;
|
|
9040
|
+
width: 100%;
|
|
9041
|
+
height: 100%;
|
|
9042
|
+
/* Start slices at 12 o'clock instead of 3 o'clock */
|
|
9043
|
+
transform: rotate(-90deg);
|
|
9044
|
+
}
|
|
9045
|
+
|
|
9046
|
+
.muka-piechart__track {
|
|
9047
|
+
fill: none;
|
|
9048
|
+
stroke: var(--piechart-color-track);
|
|
9049
|
+
}
|
|
9050
|
+
|
|
9051
|
+
.muka-piechart__segment {
|
|
9052
|
+
fill: none;
|
|
9053
|
+
}
|
|
9054
|
+
|
|
9055
|
+
/* ========================================
|
|
9056
|
+
LEGEND
|
|
9057
|
+
======================================== */
|
|
9058
|
+
|
|
9059
|
+
.muka-piechart__legend {
|
|
9060
|
+
list-style: none;
|
|
9061
|
+
margin: 0;
|
|
9062
|
+
padding: 0;
|
|
9063
|
+
display: flex;
|
|
9064
|
+
flex-direction: column;
|
|
9065
|
+
gap: var(--spacing-1);
|
|
9066
|
+
}
|
|
9067
|
+
|
|
9068
|
+
.muka-piechart__legend-item {
|
|
9069
|
+
display: flex;
|
|
9070
|
+
align-items: center;
|
|
9071
|
+
gap: var(--spacing-2);
|
|
9072
|
+
font-family: var(--text-body-sm-regular-fontFamily);
|
|
9073
|
+
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
9074
|
+
font-size: var(--text-body-sm-regular-fontSize);
|
|
9075
|
+
line-height: var(--text-body-sm-regular-lineHeight);
|
|
9076
|
+
color: var(--color-text-default-default);
|
|
9077
|
+
}
|
|
9078
|
+
|
|
9079
|
+
.muka-piechart__swatch {
|
|
9080
|
+
flex-shrink: 0;
|
|
9081
|
+
width: var(--spacing-3);
|
|
9082
|
+
height: var(--spacing-3);
|
|
9083
|
+
border-radius: var(--border-radius-sm);
|
|
9084
|
+
}
|
|
9085
|
+
|
|
9086
|
+
.muka-piechart__legend-value {
|
|
9087
|
+
margin-left: auto;
|
|
9088
|
+
padding-left: var(--spacing-2);
|
|
9089
|
+
color: var(--color-text-subtle-default);
|
|
9090
|
+
}
|
|
9091
|
+
|
|
9092
|
+
|
|
9067
9093
|
/* PhotoUploader */
|
|
9068
9094
|
/* PhotoUploader Component Styles - Using Muka Design Tokens */
|
|
9069
9095
|
|
|
@@ -9201,130 +9227,147 @@ button.muka-progress-tracker__tab:focus-visible {
|
|
|
9201
9227
|
}
|
|
9202
9228
|
|
|
9203
9229
|
|
|
9204
|
-
/*
|
|
9205
|
-
/*
|
|
9230
|
+
/* ProfileBadge */
|
|
9231
|
+
/* ProfileBadge Component Styles - Using Muka Design Tokens */
|
|
9206
9232
|
|
|
9207
|
-
.muka-
|
|
9208
|
-
display: flex;
|
|
9233
|
+
.muka-profile-badge {
|
|
9234
|
+
display: inline-flex;
|
|
9235
|
+
max-width: 100%;
|
|
9236
|
+
min-width: 0;
|
|
9209
9237
|
align-items: center;
|
|
9210
|
-
|
|
9211
|
-
width: 100%;
|
|
9212
|
-
padding: var(--spacing-2) 0;
|
|
9238
|
+
font-family: var(--text-body-base-regular-fontFamily);
|
|
9213
9239
|
}
|
|
9214
9240
|
|
|
9215
|
-
|
|
9216
|
-
|
|
9217
|
-
gap: var(--spacing-
|
|
9218
|
-
flex: 1 1 auto;
|
|
9219
|
-
min-width: 0;
|
|
9220
|
-
overflow-x: auto;
|
|
9221
|
-
scroll-behavior: smooth;
|
|
9222
|
-
scrollbar-width: none;
|
|
9241
|
+
/* Size variants */
|
|
9242
|
+
.muka-profile-badge--lg {
|
|
9243
|
+
gap: var(--spacing-4); /* 16px */
|
|
9223
9244
|
}
|
|
9224
9245
|
|
|
9225
|
-
.muka-
|
|
9226
|
-
|
|
9246
|
+
.muka-profile-badge--md {
|
|
9247
|
+
gap: var(--spacing-3); /* 12px */
|
|
9227
9248
|
}
|
|
9228
9249
|
|
|
9229
|
-
.muka-
|
|
9230
|
-
|
|
9250
|
+
.muka-profile-badge--sm {
|
|
9251
|
+
gap: var(--spacing-2); /* 8px */
|
|
9231
9252
|
}
|
|
9232
9253
|
|
|
9254
|
+
.muka-profile-badge__avatar {
|
|
9255
|
+
flex-shrink: 0;
|
|
9256
|
+
}
|
|
9233
9257
|
|
|
9234
|
-
/*
|
|
9235
|
-
|
|
9258
|
+
/* Text stack */
|
|
9259
|
+
.muka-profile-badge__text {
|
|
9260
|
+
display: flex;
|
|
9261
|
+
flex-direction: column;
|
|
9262
|
+
align-items: flex-start;
|
|
9263
|
+
min-width: 0;
|
|
9264
|
+
}
|
|
9236
9265
|
|
|
9237
|
-
.muka-
|
|
9238
|
-
|
|
9239
|
-
|
|
9240
|
-
|
|
9266
|
+
.muka-profile-badge__name {
|
|
9267
|
+
max-width: 100%;
|
|
9268
|
+
overflow: hidden;
|
|
9269
|
+
text-overflow: ellipsis;
|
|
9270
|
+
white-space: nowrap;
|
|
9271
|
+
font-family: var(--text-body-base-regular-fontFamily);
|
|
9272
|
+
font-size: var(--text-body-base-regular-fontSize);
|
|
9273
|
+
font-weight: var(--text-body-base-regular-fontWeight);
|
|
9274
|
+
line-height: var(--text-body-base-regular-lineHeight);
|
|
9275
|
+
color: var(--color-text-default-default);
|
|
9241
9276
|
}
|
|
9242
9277
|
|
|
9243
|
-
|
|
9244
|
-
|
|
9245
|
-
|
|
9278
|
+
.muka-profile-badge__email {
|
|
9279
|
+
font-family: var(--text-body-xs-regular-fontFamily);
|
|
9280
|
+
font-size: var(--text-body-xs-regular-fontSize);
|
|
9281
|
+
font-weight: var(--text-body-xs-regular-fontWeight);
|
|
9282
|
+
line-height: var(--text-body-xs-regular-lineHeight);
|
|
9283
|
+
color: var(--color-text-subtle-default);
|
|
9246
9284
|
}
|
|
9247
9285
|
|
|
9248
|
-
|
|
9249
|
-
|
|
9286
|
+
/* Clickable state */
|
|
9287
|
+
.muka-profile-badge--clickable {
|
|
9288
|
+
cursor: pointer;
|
|
9289
|
+
border: none;
|
|
9290
|
+
background: none;
|
|
9291
|
+
padding: 0;
|
|
9292
|
+
text-align: left;
|
|
9293
|
+
border-radius: var(--radius-md);
|
|
9294
|
+
transition: opacity 0.2s ease;
|
|
9250
9295
|
}
|
|
9251
9296
|
|
|
9252
|
-
|
|
9253
|
-
|
|
9254
|
-
|
|
9297
|
+
.muka-profile-badge--clickable:hover {
|
|
9298
|
+
opacity: 0.9;
|
|
9299
|
+
}
|
|
9255
9300
|
|
|
9256
|
-
.muka-
|
|
9257
|
-
|
|
9258
|
-
flex-shrink: 0;
|
|
9301
|
+
.muka-profile-badge--clickable:active {
|
|
9302
|
+
opacity: 0.8;
|
|
9259
9303
|
}
|
|
9260
9304
|
|
|
9261
|
-
.muka-
|
|
9262
|
-
|
|
9263
|
-
|
|
9305
|
+
.muka-profile-badge--clickable:focus-visible {
|
|
9306
|
+
outline: 2px solid var(--color-border-focus);
|
|
9307
|
+
outline-offset: 2px;
|
|
9308
|
+
}
|
|
9309
|
+
|
|
9310
|
+
/* Trailing chevron: the badge opens a menu */
|
|
9311
|
+
.muka-profile-badge__chevron {
|
|
9312
|
+
flex-shrink: 0;
|
|
9264
9313
|
}
|
|
9265
9314
|
|
|
9266
|
-
|
|
9267
|
-
|
|
9268
|
-
|
|
9315
|
+
/*
|
|
9316
|
+
* A clickable badge with a chevron is a pill (Figma Profile Badge, Bouwplan
|
|
9317
|
+
* header): 4px inset on the avatar side, 12px after the chevron. The border
|
|
9318
|
+
* is an inset shadow so it appears on hover and while the menu is open
|
|
9319
|
+
* without moving the content.
|
|
9320
|
+
*/
|
|
9321
|
+
.muka-profile-badge--clickable.muka-profile-badge--with-chevron {
|
|
9322
|
+
padding: var(--spacing-1) var(--spacing-3) var(--spacing-1) var(--spacing-1);
|
|
9323
|
+
border-radius: var(--radius-full);
|
|
9324
|
+
transition: box-shadow 0.2s ease;
|
|
9269
9325
|
}
|
|
9270
9326
|
|
|
9271
|
-
.muka-
|
|
9272
|
-
|
|
9273
|
-
|
|
9327
|
+
.muka-profile-badge--clickable.muka-profile-badge--with-chevron:hover,
|
|
9328
|
+
.muka-profile-badge--clickable.muka-profile-badge--with-chevron:active {
|
|
9329
|
+
opacity: 1;
|
|
9274
9330
|
}
|
|
9275
9331
|
|
|
9276
|
-
.muka-
|
|
9277
|
-
|
|
9278
|
-
|
|
9279
|
-
|
|
9280
|
-
/* Start slices at 12 o'clock instead of 3 o'clock */
|
|
9281
|
-
transform: rotate(-90deg);
|
|
9332
|
+
.muka-profile-badge--clickable.muka-profile-badge--with-chevron:hover,
|
|
9333
|
+
.muka-profile-badge--clickable.muka-profile-badge--with-chevron[aria-expanded='true'],
|
|
9334
|
+
.muka-profile-badge--clickable.muka-profile-badge--with-chevron[data-state='open'] {
|
|
9335
|
+
box-shadow: inset 0 0 0 var(--border-width-regular) var(--button-color-ghost-border-hover);
|
|
9282
9336
|
}
|
|
9283
9337
|
|
|
9284
|
-
|
|
9285
|
-
|
|
9286
|
-
|
|
9338
|
+
/* A badge without an avatar keeps the 12px start inset */
|
|
9339
|
+
.muka-profile-badge--clickable.muka-profile-badge--with-chevron:not(:has(.muka-profile-badge__avatar)) {
|
|
9340
|
+
padding-left: var(--spacing-3);
|
|
9287
9341
|
}
|
|
9288
9342
|
|
|
9289
|
-
.muka-piechart__segment {
|
|
9290
|
-
fill: none;
|
|
9291
|
-
}
|
|
9292
9343
|
|
|
9293
|
-
/*
|
|
9294
|
-
|
|
9295
|
-
======================================== */
|
|
9344
|
+
/* PhotoDraftStrip */
|
|
9345
|
+
/* PhotoDraftStrip Component Styles */
|
|
9296
9346
|
|
|
9297
|
-
.muka-
|
|
9298
|
-
list-style: none;
|
|
9299
|
-
margin: 0;
|
|
9300
|
-
padding: 0;
|
|
9347
|
+
.muka-photo-draft-strip {
|
|
9301
9348
|
display: flex;
|
|
9302
|
-
|
|
9303
|
-
gap: var(--spacing-
|
|
9349
|
+
align-items: center;
|
|
9350
|
+
gap: var(--spacing-3);
|
|
9351
|
+
width: 100%;
|
|
9352
|
+
padding: var(--spacing-2) 0;
|
|
9304
9353
|
}
|
|
9305
9354
|
|
|
9306
|
-
.muka-
|
|
9355
|
+
.muka-photo-draft-strip__track {
|
|
9307
9356
|
display: flex;
|
|
9308
|
-
align-items: center;
|
|
9309
9357
|
gap: var(--spacing-2);
|
|
9310
|
-
|
|
9311
|
-
|
|
9312
|
-
|
|
9313
|
-
|
|
9314
|
-
|
|
9358
|
+
flex: 1 1 auto;
|
|
9359
|
+
min-width: 0;
|
|
9360
|
+
overflow-x: auto;
|
|
9361
|
+
scroll-behavior: smooth;
|
|
9362
|
+
scrollbar-width: none;
|
|
9315
9363
|
}
|
|
9316
9364
|
|
|
9317
|
-
.muka-
|
|
9318
|
-
|
|
9319
|
-
width: var(--spacing-3);
|
|
9320
|
-
height: var(--spacing-3);
|
|
9321
|
-
border-radius: var(--border-radius-sm);
|
|
9365
|
+
.muka-photo-draft-strip__track::-webkit-scrollbar {
|
|
9366
|
+
display: none;
|
|
9322
9367
|
}
|
|
9323
9368
|
|
|
9324
|
-
.muka-
|
|
9325
|
-
|
|
9326
|
-
padding-left: var(--spacing-2);
|
|
9327
|
-
color: var(--color-text-subtle-default);
|
|
9369
|
+
.muka-photo-draft-strip__item {
|
|
9370
|
+
flex: 0 0 auto;
|
|
9328
9371
|
}
|
|
9329
9372
|
|
|
9330
9373
|
|
|
@@ -9510,34 +9553,6 @@ button.muka-progress-tracker__tab:focus-visible {
|
|
|
9510
9553
|
}
|
|
9511
9554
|
|
|
9512
9555
|
|
|
9513
|
-
/* NavigationTransition */
|
|
9514
|
-
/* NavigationTransition Component Styles */
|
|
9515
|
-
|
|
9516
|
-
/* ─── Wrapper ────────────────────────────────────────── */
|
|
9517
|
-
|
|
9518
|
-
.muka-nav-transition {
|
|
9519
|
-
position: relative;
|
|
9520
|
-
height: 100vh;
|
|
9521
|
-
overflow: hidden;
|
|
9522
|
-
}
|
|
9523
|
-
|
|
9524
|
-
/* Disable interaction during animation */
|
|
9525
|
-
.muka-nav-transition--active {
|
|
9526
|
-
pointer-events: none;
|
|
9527
|
-
}
|
|
9528
|
-
|
|
9529
|
-
/* ─── View slots ─────────────────────────────────────── */
|
|
9530
|
-
|
|
9531
|
-
.muka-nav-transition--active .muka-nav-transition__view {
|
|
9532
|
-
position: absolute;
|
|
9533
|
-
inset: 0;
|
|
9534
|
-
}
|
|
9535
|
-
|
|
9536
|
-
/* Z-index layering */
|
|
9537
|
-
.muka-nav-transition__view--bottom { z-index: 1; }
|
|
9538
|
-
.muka-nav-transition__view--top { z-index: 2; }
|
|
9539
|
-
|
|
9540
|
-
|
|
9541
9556
|
/* NumberInput */
|
|
9542
9557
|
/* NumberInput — reuses Input field styles (../Input/Input.css). */
|
|
9543
9558
|
/* Only the prefix/suffix affixes are NumberInput-specific. */
|
|
@@ -9568,6 +9583,34 @@ button.muka-progress-tracker__tab:focus-visible {
|
|
|
9568
9583
|
}
|
|
9569
9584
|
|
|
9570
9585
|
|
|
9586
|
+
/* NavigationTransition */
|
|
9587
|
+
/* NavigationTransition Component Styles */
|
|
9588
|
+
|
|
9589
|
+
/* ─── Wrapper ────────────────────────────────────────── */
|
|
9590
|
+
|
|
9591
|
+
.muka-nav-transition {
|
|
9592
|
+
position: relative;
|
|
9593
|
+
height: 100vh;
|
|
9594
|
+
overflow: hidden;
|
|
9595
|
+
}
|
|
9596
|
+
|
|
9597
|
+
/* Disable interaction during animation */
|
|
9598
|
+
.muka-nav-transition--active {
|
|
9599
|
+
pointer-events: none;
|
|
9600
|
+
}
|
|
9601
|
+
|
|
9602
|
+
/* ─── View slots ─────────────────────────────────────── */
|
|
9603
|
+
|
|
9604
|
+
.muka-nav-transition--active .muka-nav-transition__view {
|
|
9605
|
+
position: absolute;
|
|
9606
|
+
inset: 0;
|
|
9607
|
+
}
|
|
9608
|
+
|
|
9609
|
+
/* Z-index layering */
|
|
9610
|
+
.muka-nav-transition__view--bottom { z-index: 1; }
|
|
9611
|
+
.muka-nav-transition__view--top { z-index: 2; }
|
|
9612
|
+
|
|
9613
|
+
|
|
9571
9614
|
/* Menu */
|
|
9572
9615
|
/* Menu Component Styles */
|
|
9573
9616
|
|
|
@@ -11541,95 +11584,236 @@ li.muka-listitem {
|
|
|
11541
11584
|
background-color: var(--fileupload-item-color-error-background);
|
|
11542
11585
|
}
|
|
11543
11586
|
|
|
11544
|
-
.muka-fileupload-item--success {
|
|
11545
|
-
background-color: var(--fileupload-item-color-default-background);
|
|
11587
|
+
.muka-fileupload-item--success {
|
|
11588
|
+
background-color: var(--fileupload-item-color-default-background);
|
|
11589
|
+
}
|
|
11590
|
+
|
|
11591
|
+
/* Preview/Icon container */
|
|
11592
|
+
.muka-fileupload-item__preview {
|
|
11593
|
+
display: flex;
|
|
11594
|
+
align-items: center;
|
|
11595
|
+
justify-content: center;
|
|
11596
|
+
flex-shrink: 0;
|
|
11597
|
+
width: var(--fileupload-preview-size);
|
|
11598
|
+
height: var(--fileupload-preview-size);
|
|
11599
|
+
border-radius: var(--fileupload-preview-radius);
|
|
11600
|
+
overflow: hidden;
|
|
11601
|
+
background-color: var(--color-surface-level1);
|
|
11602
|
+
}
|
|
11603
|
+
|
|
11604
|
+
.muka-fileupload-item__thumbnail {
|
|
11605
|
+
width: 100%;
|
|
11606
|
+
height: 100%;
|
|
11607
|
+
object-fit: cover;
|
|
11608
|
+
}
|
|
11609
|
+
|
|
11610
|
+
.muka-fileupload-item__icon {
|
|
11611
|
+
color: var(--color-text-subtle-default);
|
|
11612
|
+
}
|
|
11613
|
+
|
|
11614
|
+
/* File info */
|
|
11615
|
+
.muka-fileupload-item__info {
|
|
11616
|
+
flex: 1;
|
|
11617
|
+
min-width: 0;
|
|
11618
|
+
display: flex;
|
|
11619
|
+
flex-direction: column;
|
|
11620
|
+
gap: var(--spacing-1);
|
|
11621
|
+
}
|
|
11622
|
+
|
|
11623
|
+
.muka-fileupload-item__name {
|
|
11624
|
+
font-family: var(--text-body-sm-regular-fontFamily);
|
|
11625
|
+
font-size: var(--text-body-sm-regular-fontSize);
|
|
11626
|
+
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
11627
|
+
line-height: var(--text-body-sm-regular-lineHeight);
|
|
11628
|
+
color: var(--fileupload-item-color-default-foreground);
|
|
11629
|
+
white-space: nowrap;
|
|
11630
|
+
overflow: hidden;
|
|
11631
|
+
text-overflow: ellipsis;
|
|
11632
|
+
}
|
|
11633
|
+
|
|
11634
|
+
.muka-fileupload-item--error .muka-fileupload-item__name {
|
|
11635
|
+
color: var(--fileupload-item-color-error-foreground);
|
|
11636
|
+
}
|
|
11637
|
+
|
|
11638
|
+
.muka-fileupload-item__meta {
|
|
11639
|
+
font-family: var(--text-label-sm-regular-fontFamily);
|
|
11640
|
+
font-size: var(--text-label-sm-regular-fontSize);
|
|
11641
|
+
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
11642
|
+
line-height: var(--text-label-sm-regular-lineHeight);
|
|
11643
|
+
color: var(--color-text-subtle-default);
|
|
11644
|
+
}
|
|
11645
|
+
|
|
11646
|
+
.muka-fileupload-item__error {
|
|
11647
|
+
color: var(--fileupload-item-color-error-foreground);
|
|
11648
|
+
}
|
|
11649
|
+
|
|
11650
|
+
.muka-fileupload-item__progress {
|
|
11651
|
+
margin-top: var(--spacing-1);
|
|
11652
|
+
}
|
|
11653
|
+
|
|
11654
|
+
/* Actions */
|
|
11655
|
+
.muka-fileupload-item__actions {
|
|
11656
|
+
display: flex;
|
|
11657
|
+
align-items: center;
|
|
11658
|
+
gap: var(--spacing-2);
|
|
11659
|
+
flex-shrink: 0;
|
|
11660
|
+
}
|
|
11661
|
+
|
|
11662
|
+
.muka-fileupload-item__status-icon--success {
|
|
11663
|
+
color: var(--fileupload-item-color-success-foreground);
|
|
11664
|
+
}
|
|
11665
|
+
|
|
11666
|
+
.muka-fileupload-item__status-icon--error {
|
|
11667
|
+
color: var(--fileupload-item-color-error-foreground);
|
|
11668
|
+
}
|
|
11669
|
+
|
|
11670
|
+
.muka-fileupload-item__remove {
|
|
11671
|
+
opacity: 0.7;
|
|
11672
|
+
}
|
|
11673
|
+
|
|
11674
|
+
.muka-fileupload-item__remove:hover {
|
|
11675
|
+
opacity: 1;
|
|
11676
|
+
}
|
|
11677
|
+
|
|
11678
|
+
|
|
11679
|
+
/* EmptyState */
|
|
11680
|
+
/* EmptyState Component Styles - Using Muka Design Tokens */
|
|
11681
|
+
|
|
11682
|
+
.muka-emptystate {
|
|
11683
|
+
display: flex;
|
|
11684
|
+
flex-direction: column;
|
|
11685
|
+
align-items: center;
|
|
11686
|
+
justify-content: center;
|
|
11687
|
+
gap: var(--emptystate-container-gap);
|
|
11688
|
+
max-width: var(--emptystate-container-maxWidth);
|
|
11689
|
+
margin: 0 auto;
|
|
11690
|
+
text-align: center;
|
|
11691
|
+
}
|
|
11692
|
+
|
|
11693
|
+
/* Alignment variants */
|
|
11694
|
+
.muka-emptystate--left {
|
|
11695
|
+
align-items: flex-start;
|
|
11696
|
+
text-align: left;
|
|
11697
|
+
}
|
|
11698
|
+
|
|
11699
|
+
/* Size variants */
|
|
11700
|
+
.muka-emptystate--sm {
|
|
11701
|
+
padding: var(--emptystate-container-padding-sm);
|
|
11702
|
+
}
|
|
11703
|
+
|
|
11704
|
+
.muka-emptystate--md {
|
|
11705
|
+
padding: var(--emptystate-container-padding-md);
|
|
11706
|
+
}
|
|
11707
|
+
|
|
11708
|
+
.muka-emptystate--lg {
|
|
11709
|
+
padding: var(--emptystate-container-padding-lg);
|
|
11546
11710
|
}
|
|
11547
11711
|
|
|
11548
|
-
/*
|
|
11549
|
-
.muka-
|
|
11712
|
+
/* Visual (icon or illustration) */
|
|
11713
|
+
.muka-emptystate__visual {
|
|
11550
11714
|
display: flex;
|
|
11551
11715
|
align-items: center;
|
|
11552
11716
|
justify-content: center;
|
|
11717
|
+
color: var(--emptystate-icon-color);
|
|
11553
11718
|
flex-shrink: 0;
|
|
11554
|
-
width: var(--fileupload-preview-size);
|
|
11555
|
-
height: var(--fileupload-preview-size);
|
|
11556
|
-
border-radius: var(--fileupload-preview-radius);
|
|
11557
|
-
overflow: hidden;
|
|
11558
|
-
background-color: var(--color-surface-level1);
|
|
11559
11719
|
}
|
|
11560
11720
|
|
|
11561
|
-
.muka-
|
|
11721
|
+
.muka-emptystate--sm .muka-emptystate__visual {
|
|
11722
|
+
width: var(--emptystate-icon-size-sm);
|
|
11723
|
+
height: var(--emptystate-icon-size-sm);
|
|
11724
|
+
}
|
|
11725
|
+
|
|
11726
|
+
.muka-emptystate--md .muka-emptystate__visual {
|
|
11727
|
+
width: var(--emptystate-icon-size-md);
|
|
11728
|
+
height: var(--emptystate-icon-size-md);
|
|
11729
|
+
}
|
|
11730
|
+
|
|
11731
|
+
.muka-emptystate--lg .muka-emptystate__visual {
|
|
11732
|
+
width: var(--emptystate-icon-size-lg);
|
|
11733
|
+
height: var(--emptystate-icon-size-lg);
|
|
11734
|
+
}
|
|
11735
|
+
|
|
11736
|
+
.muka-emptystate__visual svg {
|
|
11562
11737
|
width: 100%;
|
|
11563
11738
|
height: 100%;
|
|
11564
|
-
object-fit: cover;
|
|
11565
11739
|
}
|
|
11566
11740
|
|
|
11567
|
-
.muka-
|
|
11568
|
-
|
|
11741
|
+
.muka-emptystate__visual img {
|
|
11742
|
+
width: 100%;
|
|
11743
|
+
height: 100%;
|
|
11744
|
+
object-fit: contain;
|
|
11569
11745
|
}
|
|
11570
11746
|
|
|
11571
|
-
/*
|
|
11572
|
-
.muka-
|
|
11573
|
-
flex: 1;
|
|
11574
|
-
min-width: 0;
|
|
11747
|
+
/* Content */
|
|
11748
|
+
.muka-emptystate__content {
|
|
11575
11749
|
display: flex;
|
|
11576
11750
|
flex-direction: column;
|
|
11577
|
-
gap: var(--spacing-
|
|
11578
|
-
}
|
|
11579
|
-
|
|
11580
|
-
.muka-fileupload-item__name {
|
|
11581
|
-
font-family: var(--text-body-sm-regular-fontFamily);
|
|
11582
|
-
font-size: var(--text-body-sm-regular-fontSize);
|
|
11583
|
-
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
11584
|
-
line-height: var(--text-body-sm-regular-lineHeight);
|
|
11585
|
-
color: var(--fileupload-item-color-default-foreground);
|
|
11586
|
-
white-space: nowrap;
|
|
11587
|
-
overflow: hidden;
|
|
11588
|
-
text-overflow: ellipsis;
|
|
11751
|
+
gap: var(--spacing-2);
|
|
11589
11752
|
}
|
|
11590
11753
|
|
|
11591
|
-
.muka-
|
|
11592
|
-
|
|
11754
|
+
.muka-emptystate--left .muka-emptystate__content {
|
|
11755
|
+
align-items: flex-start;
|
|
11593
11756
|
}
|
|
11594
11757
|
|
|
11595
|
-
|
|
11596
|
-
|
|
11597
|
-
|
|
11598
|
-
|
|
11599
|
-
|
|
11600
|
-
|
|
11758
|
+
/* Title */
|
|
11759
|
+
.muka-emptystate__title {
|
|
11760
|
+
color: var(--emptystate-title-color);
|
|
11761
|
+
margin: 0;
|
|
11762
|
+
font-family: var(--text-heading-sm-fontFamily);
|
|
11763
|
+
font-weight: var(--text-heading-sm-fontWeight);
|
|
11764
|
+
font-size: var(--text-heading-sm-fontSize);
|
|
11765
|
+
line-height: var(--text-heading-sm-lineHeight);
|
|
11601
11766
|
}
|
|
11602
11767
|
|
|
11603
|
-
.muka-
|
|
11604
|
-
|
|
11768
|
+
.muka-emptystate--sm .muka-emptystate__title {
|
|
11769
|
+
font-family: var(--text-label-lg-semibold-fontFamily);
|
|
11770
|
+
font-weight: var(--text-label-lg-semibold-fontWeight);
|
|
11771
|
+
font-size: var(--text-label-lg-semibold-fontSize);
|
|
11772
|
+
line-height: var(--text-label-lg-semibold-lineHeight);
|
|
11605
11773
|
}
|
|
11606
11774
|
|
|
11607
|
-
.muka-
|
|
11608
|
-
|
|
11775
|
+
.muka-emptystate--lg .muka-emptystate__title {
|
|
11776
|
+
font-family: var(--text-heading-md-fontFamily);
|
|
11777
|
+
font-weight: var(--text-heading-md-fontWeight);
|
|
11778
|
+
font-size: var(--text-heading-md-fontSize);
|
|
11779
|
+
line-height: var(--text-heading-md-lineHeight);
|
|
11609
11780
|
}
|
|
11610
11781
|
|
|
11611
|
-
/*
|
|
11612
|
-
.muka-
|
|
11613
|
-
|
|
11614
|
-
|
|
11615
|
-
|
|
11616
|
-
|
|
11782
|
+
/* Description */
|
|
11783
|
+
.muka-emptystate__description {
|
|
11784
|
+
color: var(--emptystate-description-color);
|
|
11785
|
+
margin: 0;
|
|
11786
|
+
font-family: var(--text-body-sm-regular-fontFamily);
|
|
11787
|
+
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
11788
|
+
font-size: var(--text-body-sm-regular-fontSize);
|
|
11789
|
+
line-height: var(--text-body-sm-regular-lineHeight);
|
|
11617
11790
|
}
|
|
11618
11791
|
|
|
11619
|
-
.muka-
|
|
11620
|
-
|
|
11792
|
+
.muka-emptystate--md .muka-emptystate__description {
|
|
11793
|
+
font-family: var(--text-body-base-regular-fontFamily);
|
|
11794
|
+
font-weight: var(--text-body-base-regular-fontWeight);
|
|
11795
|
+
font-size: var(--text-body-base-regular-fontSize);
|
|
11796
|
+
line-height: var(--text-body-base-regular-lineHeight);
|
|
11621
11797
|
}
|
|
11622
11798
|
|
|
11623
|
-
.muka-
|
|
11624
|
-
|
|
11799
|
+
.muka-emptystate--lg .muka-emptystate__description {
|
|
11800
|
+
font-family: var(--text-body-lg-regular-fontFamily);
|
|
11801
|
+
font-weight: var(--text-body-lg-regular-fontWeight);
|
|
11802
|
+
font-size: var(--text-body-lg-regular-fontSize);
|
|
11803
|
+
line-height: var(--text-body-lg-regular-lineHeight);
|
|
11625
11804
|
}
|
|
11626
11805
|
|
|
11627
|
-
|
|
11628
|
-
|
|
11806
|
+
/* Actions */
|
|
11807
|
+
.muka-emptystate__actions {
|
|
11808
|
+
display: flex;
|
|
11809
|
+
gap: var(--emptystate-actions-gap);
|
|
11810
|
+
margin-top: var(--emptystate-actions-marginTop);
|
|
11811
|
+
flex-wrap: wrap;
|
|
11812
|
+
justify-content: center;
|
|
11629
11813
|
}
|
|
11630
11814
|
|
|
11631
|
-
.muka-
|
|
11632
|
-
|
|
11815
|
+
.muka-emptystate--left .muka-emptystate__actions {
|
|
11816
|
+
justify-content: flex-start;
|
|
11633
11817
|
}
|
|
11634
11818
|
|
|
11635
11819
|
|
|
@@ -11722,196 +11906,55 @@ li.muka-listitem {
|
|
|
11722
11906
|
align-items: center;
|
|
11723
11907
|
justify-content: center;
|
|
11724
11908
|
width: 24px;
|
|
11725
|
-
height: 24px;
|
|
11726
|
-
}
|
|
11727
|
-
|
|
11728
|
-
.muka-fab__icon svg {
|
|
11729
|
-
width: 100%;
|
|
11730
|
-
height: 100%;
|
|
11731
|
-
}
|
|
11732
|
-
|
|
11733
|
-
.muka-fab__label {
|
|
11734
|
-
font-family: var(--text-label-md-semibold-fontFamily);
|
|
11735
|
-
font-weight: var(--text-label-md-semibold-fontWeight);
|
|
11736
|
-
font-size: var(--text-label-md-semibold-fontSize);
|
|
11737
|
-
line-height: var(--text-label-md-semibold-lineHeight);
|
|
11738
|
-
}
|
|
11739
|
-
|
|
11740
|
-
/* ─── Positioning ─────────────────────────────────────── */
|
|
11741
|
-
|
|
11742
|
-
.muka-fab--bottom-right {
|
|
11743
|
-
right: var(--spacing-4);
|
|
11744
|
-
bottom: var(--spacing-4);
|
|
11745
|
-
}
|
|
11746
|
-
|
|
11747
|
-
.muka-fab--bottom-left {
|
|
11748
|
-
left: var(--spacing-4);
|
|
11749
|
-
bottom: var(--spacing-4);
|
|
11750
|
-
}
|
|
11751
|
-
|
|
11752
|
-
.muka-fab--bottom-center {
|
|
11753
|
-
left: 50%;
|
|
11754
|
-
bottom: var(--spacing-4);
|
|
11755
|
-
transform: translateX(-50%);
|
|
11756
|
-
}
|
|
11757
|
-
|
|
11758
|
-
.muka-fab--bottom-center:active {
|
|
11759
|
-
transform: translateX(-50%) scale(0.96);
|
|
11760
|
-
}
|
|
11761
|
-
|
|
11762
|
-
/* Add the iOS home-indicator inset to the bottom offset. */
|
|
11763
|
-
.muka-fab:not(.muka-fab--no-safe-area) {
|
|
11764
|
-
bottom: calc(var(--spacing-4) + env(safe-area-inset-bottom));
|
|
11765
|
-
}
|
|
11766
|
-
|
|
11767
|
-
/* Lateral safe-area for landscape iPhone with notch. */
|
|
11768
|
-
.muka-fab--bottom-right:not(.muka-fab--no-safe-area) {
|
|
11769
|
-
right: max(var(--spacing-4), env(safe-area-inset-right));
|
|
11770
|
-
}
|
|
11771
|
-
|
|
11772
|
-
.muka-fab--bottom-left:not(.muka-fab--no-safe-area) {
|
|
11773
|
-
left: max(var(--spacing-4), env(safe-area-inset-left));
|
|
11774
|
-
}
|
|
11775
|
-
|
|
11776
|
-
|
|
11777
|
-
/* EmptyState */
|
|
11778
|
-
/* EmptyState Component Styles - Using Muka Design Tokens */
|
|
11779
|
-
|
|
11780
|
-
.muka-emptystate {
|
|
11781
|
-
display: flex;
|
|
11782
|
-
flex-direction: column;
|
|
11783
|
-
align-items: center;
|
|
11784
|
-
justify-content: center;
|
|
11785
|
-
gap: var(--emptystate-container-gap);
|
|
11786
|
-
max-width: var(--emptystate-container-maxWidth);
|
|
11787
|
-
margin: 0 auto;
|
|
11788
|
-
text-align: center;
|
|
11789
|
-
}
|
|
11790
|
-
|
|
11791
|
-
/* Alignment variants */
|
|
11792
|
-
.muka-emptystate--left {
|
|
11793
|
-
align-items: flex-start;
|
|
11794
|
-
text-align: left;
|
|
11795
|
-
}
|
|
11796
|
-
|
|
11797
|
-
/* Size variants */
|
|
11798
|
-
.muka-emptystate--sm {
|
|
11799
|
-
padding: var(--emptystate-container-padding-sm);
|
|
11800
|
-
}
|
|
11801
|
-
|
|
11802
|
-
.muka-emptystate--md {
|
|
11803
|
-
padding: var(--emptystate-container-padding-md);
|
|
11804
|
-
}
|
|
11805
|
-
|
|
11806
|
-
.muka-emptystate--lg {
|
|
11807
|
-
padding: var(--emptystate-container-padding-lg);
|
|
11808
|
-
}
|
|
11809
|
-
|
|
11810
|
-
/* Visual (icon or illustration) */
|
|
11811
|
-
.muka-emptystate__visual {
|
|
11812
|
-
display: flex;
|
|
11813
|
-
align-items: center;
|
|
11814
|
-
justify-content: center;
|
|
11815
|
-
color: var(--emptystate-icon-color);
|
|
11816
|
-
flex-shrink: 0;
|
|
11817
|
-
}
|
|
11818
|
-
|
|
11819
|
-
.muka-emptystate--sm .muka-emptystate__visual {
|
|
11820
|
-
width: var(--emptystate-icon-size-sm);
|
|
11821
|
-
height: var(--emptystate-icon-size-sm);
|
|
11822
|
-
}
|
|
11823
|
-
|
|
11824
|
-
.muka-emptystate--md .muka-emptystate__visual {
|
|
11825
|
-
width: var(--emptystate-icon-size-md);
|
|
11826
|
-
height: var(--emptystate-icon-size-md);
|
|
11827
|
-
}
|
|
11828
|
-
|
|
11829
|
-
.muka-emptystate--lg .muka-emptystate__visual {
|
|
11830
|
-
width: var(--emptystate-icon-size-lg);
|
|
11831
|
-
height: var(--emptystate-icon-size-lg);
|
|
11832
|
-
}
|
|
11833
|
-
|
|
11834
|
-
.muka-emptystate__visual svg {
|
|
11835
|
-
width: 100%;
|
|
11836
|
-
height: 100%;
|
|
11837
|
-
}
|
|
11838
|
-
|
|
11839
|
-
.muka-emptystate__visual img {
|
|
11840
|
-
width: 100%;
|
|
11841
|
-
height: 100%;
|
|
11842
|
-
object-fit: contain;
|
|
11843
|
-
}
|
|
11844
|
-
|
|
11845
|
-
/* Content */
|
|
11846
|
-
.muka-emptystate__content {
|
|
11847
|
-
display: flex;
|
|
11848
|
-
flex-direction: column;
|
|
11849
|
-
gap: var(--spacing-2);
|
|
11909
|
+
height: 24px;
|
|
11850
11910
|
}
|
|
11851
11911
|
|
|
11852
|
-
.muka-
|
|
11853
|
-
|
|
11912
|
+
.muka-fab__icon svg {
|
|
11913
|
+
width: 100%;
|
|
11914
|
+
height: 100%;
|
|
11854
11915
|
}
|
|
11855
11916
|
|
|
11856
|
-
|
|
11857
|
-
|
|
11858
|
-
|
|
11859
|
-
|
|
11860
|
-
|
|
11861
|
-
font-weight: var(--text-heading-sm-fontWeight);
|
|
11862
|
-
font-size: var(--text-heading-sm-fontSize);
|
|
11863
|
-
line-height: var(--text-heading-sm-lineHeight);
|
|
11917
|
+
.muka-fab__label {
|
|
11918
|
+
font-family: var(--text-label-md-semibold-fontFamily);
|
|
11919
|
+
font-weight: var(--text-label-md-semibold-fontWeight);
|
|
11920
|
+
font-size: var(--text-label-md-semibold-fontSize);
|
|
11921
|
+
line-height: var(--text-label-md-semibold-lineHeight);
|
|
11864
11922
|
}
|
|
11865
11923
|
|
|
11866
|
-
|
|
11867
|
-
|
|
11868
|
-
|
|
11869
|
-
|
|
11870
|
-
|
|
11924
|
+
/* ─── Positioning ─────────────────────────────────────── */
|
|
11925
|
+
|
|
11926
|
+
.muka-fab--bottom-right {
|
|
11927
|
+
right: var(--spacing-4);
|
|
11928
|
+
bottom: var(--spacing-4);
|
|
11871
11929
|
}
|
|
11872
11930
|
|
|
11873
|
-
.muka-
|
|
11874
|
-
|
|
11875
|
-
|
|
11876
|
-
font-size: var(--text-heading-md-fontSize);
|
|
11877
|
-
line-height: var(--text-heading-md-lineHeight);
|
|
11931
|
+
.muka-fab--bottom-left {
|
|
11932
|
+
left: var(--spacing-4);
|
|
11933
|
+
bottom: var(--spacing-4);
|
|
11878
11934
|
}
|
|
11879
11935
|
|
|
11880
|
-
|
|
11881
|
-
|
|
11882
|
-
|
|
11883
|
-
|
|
11884
|
-
font-family: var(--text-body-sm-regular-fontFamily);
|
|
11885
|
-
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
11886
|
-
font-size: var(--text-body-sm-regular-fontSize);
|
|
11887
|
-
line-height: var(--text-body-sm-regular-lineHeight);
|
|
11936
|
+
.muka-fab--bottom-center {
|
|
11937
|
+
left: 50%;
|
|
11938
|
+
bottom: var(--spacing-4);
|
|
11939
|
+
transform: translateX(-50%);
|
|
11888
11940
|
}
|
|
11889
11941
|
|
|
11890
|
-
.muka-
|
|
11891
|
-
|
|
11892
|
-
font-weight: var(--text-body-base-regular-fontWeight);
|
|
11893
|
-
font-size: var(--text-body-base-regular-fontSize);
|
|
11894
|
-
line-height: var(--text-body-base-regular-lineHeight);
|
|
11942
|
+
.muka-fab--bottom-center:active {
|
|
11943
|
+
transform: translateX(-50%) scale(0.96);
|
|
11895
11944
|
}
|
|
11896
11945
|
|
|
11897
|
-
|
|
11898
|
-
|
|
11899
|
-
|
|
11900
|
-
font-size: var(--text-body-lg-regular-fontSize);
|
|
11901
|
-
line-height: var(--text-body-lg-regular-lineHeight);
|
|
11946
|
+
/* Add the iOS home-indicator inset to the bottom offset. */
|
|
11947
|
+
.muka-fab:not(.muka-fab--no-safe-area) {
|
|
11948
|
+
bottom: calc(var(--spacing-4) + env(safe-area-inset-bottom));
|
|
11902
11949
|
}
|
|
11903
11950
|
|
|
11904
|
-
/*
|
|
11905
|
-
.muka-
|
|
11906
|
-
|
|
11907
|
-
gap: var(--emptystate-actions-gap);
|
|
11908
|
-
margin-top: var(--emptystate-actions-marginTop);
|
|
11909
|
-
flex-wrap: wrap;
|
|
11910
|
-
justify-content: center;
|
|
11951
|
+
/* Lateral safe-area for landscape iPhone with notch. */
|
|
11952
|
+
.muka-fab--bottom-right:not(.muka-fab--no-safe-area) {
|
|
11953
|
+
right: max(var(--spacing-4), env(safe-area-inset-right));
|
|
11911
11954
|
}
|
|
11912
11955
|
|
|
11913
|
-
.muka-
|
|
11914
|
-
|
|
11956
|
+
.muka-fab--bottom-left:not(.muka-fab--no-safe-area) {
|
|
11957
|
+
left: max(var(--spacing-4), env(safe-area-inset-left));
|
|
11915
11958
|
}
|
|
11916
11959
|
|
|
11917
11960
|
|
|
@@ -12132,36 +12175,224 @@ li.muka-listitem {
|
|
|
12132
12175
|
color: var(--color-text-subtle-default);
|
|
12133
12176
|
}
|
|
12134
12177
|
|
|
12135
|
-
.muka-dropdown-select__field--sm .muka-dropdown-select__chevron {
|
|
12136
|
-
width: var(--size-xl, 1.5rem);
|
|
12137
|
-
height: var(--size-xl, 1.5rem);
|
|
12178
|
+
.muka-dropdown-select__field--sm .muka-dropdown-select__chevron {
|
|
12179
|
+
width: var(--size-xl, 1.5rem);
|
|
12180
|
+
height: var(--size-xl, 1.5rem);
|
|
12181
|
+
}
|
|
12182
|
+
|
|
12183
|
+
.muka-dropdown-select__menu-button:focus-visible {
|
|
12184
|
+
outline: 2px solid var(--color-border-focus, var(--color-action-default));
|
|
12185
|
+
outline-offset: 2px;
|
|
12186
|
+
}
|
|
12187
|
+
|
|
12188
|
+
.muka-dropdown-select__helper {
|
|
12189
|
+
margin: 0;
|
|
12190
|
+
color: var(--color-text-subtle-default);
|
|
12191
|
+
font-family: var(--text-label-sm-regular-fontFamily);
|
|
12192
|
+
font-size: var(--text-label-sm-regular-fontSize);
|
|
12193
|
+
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
12194
|
+
line-height: var(--text-label-sm-regular-lineHeight);
|
|
12195
|
+
}
|
|
12196
|
+
|
|
12197
|
+
.muka-dropdown-select__error {
|
|
12198
|
+
margin: 0;
|
|
12199
|
+
color: var(--color-state-error-default);
|
|
12200
|
+
font-family: var(--text-label-sm-regular-fontFamily);
|
|
12201
|
+
font-size: var(--text-label-sm-regular-fontSize);
|
|
12202
|
+
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
12203
|
+
line-height: var(--text-label-sm-regular-lineHeight);
|
|
12204
|
+
}
|
|
12205
|
+
|
|
12206
|
+
.muka-dropdown-select__menu {
|
|
12207
|
+
/* Uses Menu min-width (280px); grows with long labels; left-aligned to the field. */
|
|
12208
|
+
}
|
|
12209
|
+
|
|
12210
|
+
|
|
12211
|
+
/* Drawer */
|
|
12212
|
+
/* Drawer Component Styles */
|
|
12213
|
+
|
|
12214
|
+
/* Size tokens (local to Drawer) */
|
|
12215
|
+
.muka-drawer {
|
|
12216
|
+
--drawer-width-sm: 18rem;
|
|
12217
|
+
--drawer-width-md: 26rem;
|
|
12218
|
+
--drawer-width-lg: 36rem;
|
|
12219
|
+
}
|
|
12220
|
+
|
|
12221
|
+
/* Reset native dialog */
|
|
12222
|
+
.muka-drawer {
|
|
12223
|
+
border: none;
|
|
12224
|
+
padding: 0;
|
|
12225
|
+
max-width: none;
|
|
12226
|
+
max-height: none;
|
|
12227
|
+
background: transparent;
|
|
12228
|
+
overflow: visible;
|
|
12229
|
+
}
|
|
12230
|
+
|
|
12231
|
+
/* Backdrop */
|
|
12232
|
+
.muka-drawer::backdrop {
|
|
12233
|
+
background-color: var(--color-surface-backdrop);
|
|
12234
|
+
-webkit-backdrop-filter: blur(var(--effect-blur-backdrop));
|
|
12235
|
+
backdrop-filter: blur(var(--effect-blur-backdrop));
|
|
12236
|
+
opacity: 0;
|
|
12237
|
+
transition: opacity 200ms ease;
|
|
12238
|
+
}
|
|
12239
|
+
|
|
12240
|
+
.muka-drawer--slide-in::backdrop {
|
|
12241
|
+
opacity: 1;
|
|
12242
|
+
}
|
|
12243
|
+
|
|
12244
|
+
/* Surface */
|
|
12245
|
+
.muka-drawer__surface {
|
|
12246
|
+
display: flex;
|
|
12247
|
+
flex-direction: column;
|
|
12248
|
+
background-color: var(--color-surface-level3);
|
|
12249
|
+
box-shadow: var(--shadow-level5);
|
|
12250
|
+
height: 100%;
|
|
12251
|
+
overflow: hidden;
|
|
12252
|
+
position: fixed;
|
|
12253
|
+
transition: transform 200ms cubic-bezier(0.16, 1, 0.3, 1);
|
|
12254
|
+
}
|
|
12255
|
+
|
|
12256
|
+
/* Side positioning + initial transforms */
|
|
12257
|
+
.muka-drawer--right .muka-drawer__surface {
|
|
12258
|
+
top: 0;
|
|
12259
|
+
right: 0;
|
|
12260
|
+
bottom: 0;
|
|
12261
|
+
border-radius: var(--radius-lg) 0 0 var(--radius-lg);
|
|
12262
|
+
transform: translateX(100%);
|
|
12263
|
+
}
|
|
12264
|
+
|
|
12265
|
+
.muka-drawer--left .muka-drawer__surface {
|
|
12266
|
+
top: 0;
|
|
12267
|
+
left: 0;
|
|
12268
|
+
bottom: 0;
|
|
12269
|
+
border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
|
|
12270
|
+
transform: translateX(-100%);
|
|
12271
|
+
}
|
|
12272
|
+
|
|
12273
|
+
.muka-drawer--bottom .muka-drawer__surface {
|
|
12274
|
+
left: 0;
|
|
12275
|
+
right: 0;
|
|
12276
|
+
bottom: 0;
|
|
12277
|
+
border-radius: var(--radius-lg) var(--radius-lg) 0 0;
|
|
12278
|
+
transform: translateY(100%);
|
|
12279
|
+
}
|
|
12280
|
+
|
|
12281
|
+
.muka-drawer--top .muka-drawer__surface {
|
|
12282
|
+
left: 0;
|
|
12283
|
+
right: 0;
|
|
12284
|
+
top: 0;
|
|
12285
|
+
border-radius: 0 0 var(--radius-lg) var(--radius-lg);
|
|
12286
|
+
transform: translateY(-100%);
|
|
12287
|
+
}
|
|
12288
|
+
|
|
12289
|
+
/* Slide-in state */
|
|
12290
|
+
.muka-drawer--slide-in .muka-drawer__surface {
|
|
12291
|
+
transform: translate(0, 0);
|
|
12292
|
+
}
|
|
12293
|
+
|
|
12294
|
+
/* Width sizes (left/right) */
|
|
12295
|
+
.muka-drawer--right .muka-drawer__surface,
|
|
12296
|
+
.muka-drawer--left .muka-drawer__surface {
|
|
12297
|
+
width: var(--drawer-width-md);
|
|
12298
|
+
}
|
|
12299
|
+
|
|
12300
|
+
.muka-drawer--sm.muka-drawer--right .muka-drawer__surface,
|
|
12301
|
+
.muka-drawer--sm.muka-drawer--left .muka-drawer__surface {
|
|
12302
|
+
width: var(--drawer-width-sm);
|
|
12303
|
+
}
|
|
12304
|
+
|
|
12305
|
+
.muka-drawer--lg.muka-drawer--right .muka-drawer__surface,
|
|
12306
|
+
.muka-drawer--lg.muka-drawer--left .muka-drawer__surface {
|
|
12307
|
+
width: var(--drawer-width-lg);
|
|
12308
|
+
}
|
|
12309
|
+
|
|
12310
|
+
.muka-drawer--full.muka-drawer--right .muka-drawer__surface,
|
|
12311
|
+
.muka-drawer--full.muka-drawer--left .muka-drawer__surface {
|
|
12312
|
+
width: 100%;
|
|
12313
|
+
}
|
|
12314
|
+
|
|
12315
|
+
/* Height sizes (top/bottom) */
|
|
12316
|
+
.muka-drawer--top .muka-drawer__surface,
|
|
12317
|
+
.muka-drawer--bottom .muka-drawer__surface {
|
|
12318
|
+
height: auto;
|
|
12319
|
+
max-height: 80vh;
|
|
12320
|
+
}
|
|
12321
|
+
|
|
12322
|
+
.muka-drawer--full.muka-drawer--top .muka-drawer__surface,
|
|
12323
|
+
.muka-drawer--full.muka-drawer--bottom .muka-drawer__surface {
|
|
12324
|
+
max-height: 100vh;
|
|
12325
|
+
}
|
|
12326
|
+
|
|
12327
|
+
/* Header: the shared TopBar, raised above the scrolling body like in Dialog */
|
|
12328
|
+
.muka-drawer .muka-topbar {
|
|
12329
|
+
position: relative;
|
|
12330
|
+
z-index: 1;
|
|
12331
|
+
flex-shrink: 0;
|
|
12332
|
+
}
|
|
12333
|
+
|
|
12334
|
+
/* Body */
|
|
12335
|
+
.muka-drawer__body {
|
|
12336
|
+
flex: 1;
|
|
12337
|
+
overflow-y: auto;
|
|
12338
|
+
padding: var(--drawer-padding-x);
|
|
12339
|
+
}
|
|
12340
|
+
|
|
12341
|
+
/* Roomier body on desktop; the header and footer keep their padding */
|
|
12342
|
+
@media (min-width: 1024px) {
|
|
12343
|
+
.muka-drawer__body {
|
|
12344
|
+
padding: var(--drawer-padding-x-desktop);
|
|
12345
|
+
}
|
|
12346
|
+
}
|
|
12347
|
+
|
|
12348
|
+
/* Footer */
|
|
12349
|
+
.muka-drawer__footer {
|
|
12350
|
+
padding: var(--spacing-4);
|
|
12351
|
+
border-top: var(--border-width-regular) solid var(--color-border-default);
|
|
12352
|
+
flex-shrink: 0;
|
|
12353
|
+
}
|
|
12354
|
+
|
|
12355
|
+
/* ─── Safe areas (notch, status bar, home indicator) ────
|
|
12356
|
+
env(safe-area-inset-*) is 0 outside notched devices, so these only change
|
|
12357
|
+
an app running edge to edge (viewport-fit=cover, e.g. an iOS shell). */
|
|
12358
|
+
|
|
12359
|
+
/* Top edge. Side, top and full-height drawers reach the status bar: their
|
|
12360
|
+
TopBar pads for it; without a header the surface does. A bottom drawer
|
|
12361
|
+
stops short of it, so its TopBar must not. */
|
|
12362
|
+
.muka-drawer--right .muka-drawer__surface:not(:has(> .muka-topbar)),
|
|
12363
|
+
.muka-drawer--left .muka-drawer__surface:not(:has(> .muka-topbar)),
|
|
12364
|
+
.muka-drawer--top .muka-drawer__surface:not(:has(> .muka-topbar)) {
|
|
12365
|
+
padding-top: env(safe-area-inset-top, 0px);
|
|
12138
12366
|
}
|
|
12139
12367
|
|
|
12140
|
-
.muka-
|
|
12141
|
-
|
|
12142
|
-
outline-offset: 2px;
|
|
12368
|
+
.muka-drawer--bottom:not(.muka-drawer--full) .muka-topbar {
|
|
12369
|
+
padding-top: 0;
|
|
12143
12370
|
}
|
|
12144
12371
|
|
|
12145
|
-
.
|
|
12146
|
-
|
|
12147
|
-
|
|
12148
|
-
|
|
12149
|
-
font-size: var(--text-label-sm-regular-fontSize);
|
|
12150
|
-
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
12151
|
-
line-height: var(--text-label-sm-regular-lineHeight);
|
|
12372
|
+
/* Bottom edge. Side and bottom drawers reach the home indicator: the footer
|
|
12373
|
+
pads for it, or the surface when there is no footer. */
|
|
12374
|
+
.muka-drawer:not(.muka-drawer--top) .muka-drawer__footer {
|
|
12375
|
+
padding-bottom: calc(var(--spacing-4) + env(safe-area-inset-bottom, 0px));
|
|
12152
12376
|
}
|
|
12153
12377
|
|
|
12154
|
-
.muka-
|
|
12155
|
-
|
|
12156
|
-
color: var(--color-state-error-default);
|
|
12157
|
-
font-family: var(--text-label-sm-regular-fontFamily);
|
|
12158
|
-
font-size: var(--text-label-sm-regular-fontSize);
|
|
12159
|
-
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
12160
|
-
line-height: var(--text-label-sm-regular-lineHeight);
|
|
12378
|
+
.muka-drawer:not(.muka-drawer--top) .muka-drawer__surface:not(:has(> .muka-drawer__footer)) {
|
|
12379
|
+
padding-bottom: env(safe-area-inset-bottom, 0px);
|
|
12161
12380
|
}
|
|
12162
12381
|
|
|
12163
|
-
.
|
|
12164
|
-
|
|
12382
|
+
/* Sides (landscape notch): the edge the drawer is attached to. The TopBar
|
|
12383
|
+
already insets its own content. */
|
|
12384
|
+
@media (max-width: 1023px) {
|
|
12385
|
+
.muka-drawer--left .muka-drawer__body,
|
|
12386
|
+
.muka-drawer--top .muka-drawer__body,
|
|
12387
|
+
.muka-drawer--bottom .muka-drawer__body {
|
|
12388
|
+
padding-left: max(var(--drawer-padding-x), env(safe-area-inset-left, 0px));
|
|
12389
|
+
}
|
|
12390
|
+
|
|
12391
|
+
.muka-drawer--right .muka-drawer__body,
|
|
12392
|
+
.muka-drawer--top .muka-drawer__body,
|
|
12393
|
+
.muka-drawer--bottom .muka-drawer__body {
|
|
12394
|
+
padding-right: max(var(--drawer-padding-x), env(safe-area-inset-right, 0px));
|
|
12395
|
+
}
|
|
12165
12396
|
}
|
|
12166
12397
|
|
|
12167
12398
|
|
|
@@ -13640,258 +13871,70 @@ li.muka-listitem {
|
|
|
13640
13871
|
flex-wrap: wrap;
|
|
13641
13872
|
gap: var(--spacing-2);
|
|
13642
13873
|
align-items: center;
|
|
13643
|
-
min-width: 0;
|
|
13644
|
-
width: 100%;
|
|
13645
|
-
position: relative;
|
|
13646
|
-
z-index: 1;
|
|
13647
|
-
}
|
|
13648
|
-
|
|
13649
|
-
.muka-combobox__input {
|
|
13650
|
-
flex: 1 1 5rem;
|
|
13651
|
-
min-width: 5rem;
|
|
13652
|
-
min-height: 2rem;
|
|
13653
|
-
margin: 0;
|
|
13654
|
-
padding: 0 var(--spacing-1);
|
|
13655
|
-
border: none;
|
|
13656
|
-
outline: none;
|
|
13657
|
-
background: transparent;
|
|
13658
|
-
color: var(--input-field-color-default-foreground);
|
|
13659
|
-
caret-color: var(--input-field-color-default-foreground);
|
|
13660
|
-
font-family: var(--text-label-md-regular-fontFamily);
|
|
13661
|
-
font-size: var(--text-label-md-regular-fontSize);
|
|
13662
|
-
font-weight: var(--text-label-md-regular-fontWeight);
|
|
13663
|
-
line-height: var(--text-label-md-regular-lineHeight);
|
|
13664
|
-
}
|
|
13665
|
-
|
|
13666
|
-
.muka-combobox__input::placeholder {
|
|
13667
|
-
color: var(--color-text-subtle-default);
|
|
13668
|
-
}
|
|
13669
|
-
|
|
13670
|
-
.muka-combobox__helper {
|
|
13671
|
-
margin: 0;
|
|
13672
|
-
color: var(--color-text-subtle-default);
|
|
13673
|
-
font-family: var(--text-label-sm-regular-fontFamily);
|
|
13674
|
-
font-size: var(--text-label-sm-regular-fontSize);
|
|
13675
|
-
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
13676
|
-
line-height: var(--text-label-sm-regular-lineHeight);
|
|
13677
|
-
}
|
|
13678
|
-
|
|
13679
|
-
.muka-combobox__error {
|
|
13680
|
-
margin: 0;
|
|
13681
|
-
color: var(--color-state-error-default);
|
|
13682
|
-
font-family: var(--text-label-sm-regular-fontFamily);
|
|
13683
|
-
font-size: var(--text-label-sm-regular-fontSize);
|
|
13684
|
-
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
13685
|
-
line-height: var(--text-label-sm-regular-lineHeight);
|
|
13686
|
-
}
|
|
13687
|
-
|
|
13688
|
-
.muka-combobox__menu-anchor {
|
|
13689
|
-
position: absolute;
|
|
13690
|
-
inset: 0;
|
|
13691
|
-
z-index: 0;
|
|
13692
|
-
width: 100%;
|
|
13693
|
-
height: 100%;
|
|
13694
|
-
margin: 0;
|
|
13695
|
-
padding: 0;
|
|
13696
|
-
border: none;
|
|
13697
|
-
background: transparent;
|
|
13698
|
-
pointer-events: none;
|
|
13699
|
-
opacity: 0;
|
|
13700
|
-
}
|
|
13701
|
-
|
|
13702
|
-
.muka-combobox__menu {
|
|
13703
|
-
/* Prefer Menu token min-width (280px); may exceed the field when left-aligned. */
|
|
13704
|
-
min-width: var(--menu-content-min-width);
|
|
13705
|
-
width: max-content;
|
|
13706
|
-
max-width: min(100vw - 2rem, 24rem);
|
|
13707
|
-
}
|
|
13708
|
-
|
|
13709
|
-
|
|
13710
|
-
/* Drawer */
|
|
13711
|
-
/* Drawer Component Styles */
|
|
13712
|
-
|
|
13713
|
-
/* Size tokens (local to Drawer) */
|
|
13714
|
-
.muka-drawer {
|
|
13715
|
-
--drawer-width-sm: 18rem;
|
|
13716
|
-
--drawer-width-md: 26rem;
|
|
13717
|
-
--drawer-width-lg: 36rem;
|
|
13718
|
-
}
|
|
13719
|
-
|
|
13720
|
-
/* Reset native dialog */
|
|
13721
|
-
.muka-drawer {
|
|
13722
|
-
border: none;
|
|
13723
|
-
padding: 0;
|
|
13724
|
-
max-width: none;
|
|
13725
|
-
max-height: none;
|
|
13726
|
-
background: transparent;
|
|
13727
|
-
overflow: visible;
|
|
13728
|
-
}
|
|
13729
|
-
|
|
13730
|
-
/* Backdrop */
|
|
13731
|
-
.muka-drawer::backdrop {
|
|
13732
|
-
background-color: var(--color-surface-backdrop);
|
|
13733
|
-
-webkit-backdrop-filter: blur(var(--effect-blur-backdrop));
|
|
13734
|
-
backdrop-filter: blur(var(--effect-blur-backdrop));
|
|
13735
|
-
opacity: 0;
|
|
13736
|
-
transition: opacity 200ms ease;
|
|
13737
|
-
}
|
|
13738
|
-
|
|
13739
|
-
.muka-drawer--slide-in::backdrop {
|
|
13740
|
-
opacity: 1;
|
|
13741
|
-
}
|
|
13742
|
-
|
|
13743
|
-
/* Surface */
|
|
13744
|
-
.muka-drawer__surface {
|
|
13745
|
-
display: flex;
|
|
13746
|
-
flex-direction: column;
|
|
13747
|
-
background-color: var(--color-surface-level3);
|
|
13748
|
-
box-shadow: var(--shadow-level5);
|
|
13749
|
-
height: 100%;
|
|
13750
|
-
overflow: hidden;
|
|
13751
|
-
position: fixed;
|
|
13752
|
-
transition: transform 200ms cubic-bezier(0.16, 1, 0.3, 1);
|
|
13753
|
-
}
|
|
13754
|
-
|
|
13755
|
-
/* Side positioning + initial transforms */
|
|
13756
|
-
.muka-drawer--right .muka-drawer__surface {
|
|
13757
|
-
top: 0;
|
|
13758
|
-
right: 0;
|
|
13759
|
-
bottom: 0;
|
|
13760
|
-
border-radius: var(--radius-lg) 0 0 var(--radius-lg);
|
|
13761
|
-
transform: translateX(100%);
|
|
13762
|
-
}
|
|
13763
|
-
|
|
13764
|
-
.muka-drawer--left .muka-drawer__surface {
|
|
13765
|
-
top: 0;
|
|
13766
|
-
left: 0;
|
|
13767
|
-
bottom: 0;
|
|
13768
|
-
border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
|
|
13769
|
-
transform: translateX(-100%);
|
|
13770
|
-
}
|
|
13771
|
-
|
|
13772
|
-
.muka-drawer--bottom .muka-drawer__surface {
|
|
13773
|
-
left: 0;
|
|
13774
|
-
right: 0;
|
|
13775
|
-
bottom: 0;
|
|
13776
|
-
border-radius: var(--radius-lg) var(--radius-lg) 0 0;
|
|
13777
|
-
transform: translateY(100%);
|
|
13778
|
-
}
|
|
13779
|
-
|
|
13780
|
-
.muka-drawer--top .muka-drawer__surface {
|
|
13781
|
-
left: 0;
|
|
13782
|
-
right: 0;
|
|
13783
|
-
top: 0;
|
|
13784
|
-
border-radius: 0 0 var(--radius-lg) var(--radius-lg);
|
|
13785
|
-
transform: translateY(-100%);
|
|
13786
|
-
}
|
|
13787
|
-
|
|
13788
|
-
/* Slide-in state */
|
|
13789
|
-
.muka-drawer--slide-in .muka-drawer__surface {
|
|
13790
|
-
transform: translate(0, 0);
|
|
13791
|
-
}
|
|
13792
|
-
|
|
13793
|
-
/* Width sizes (left/right) */
|
|
13794
|
-
.muka-drawer--right .muka-drawer__surface,
|
|
13795
|
-
.muka-drawer--left .muka-drawer__surface {
|
|
13796
|
-
width: var(--drawer-width-md);
|
|
13797
|
-
}
|
|
13798
|
-
|
|
13799
|
-
.muka-drawer--sm.muka-drawer--right .muka-drawer__surface,
|
|
13800
|
-
.muka-drawer--sm.muka-drawer--left .muka-drawer__surface {
|
|
13801
|
-
width: var(--drawer-width-sm);
|
|
13802
|
-
}
|
|
13803
|
-
|
|
13804
|
-
.muka-drawer--lg.muka-drawer--right .muka-drawer__surface,
|
|
13805
|
-
.muka-drawer--lg.muka-drawer--left .muka-drawer__surface {
|
|
13806
|
-
width: var(--drawer-width-lg);
|
|
13807
|
-
}
|
|
13808
|
-
|
|
13809
|
-
.muka-drawer--full.muka-drawer--right .muka-drawer__surface,
|
|
13810
|
-
.muka-drawer--full.muka-drawer--left .muka-drawer__surface {
|
|
13811
|
-
width: 100%;
|
|
13812
|
-
}
|
|
13813
|
-
|
|
13814
|
-
/* Height sizes (top/bottom) */
|
|
13815
|
-
.muka-drawer--top .muka-drawer__surface,
|
|
13816
|
-
.muka-drawer--bottom .muka-drawer__surface {
|
|
13817
|
-
height: auto;
|
|
13818
|
-
max-height: 80vh;
|
|
13819
|
-
}
|
|
13820
|
-
|
|
13821
|
-
.muka-drawer--full.muka-drawer--top .muka-drawer__surface,
|
|
13822
|
-
.muka-drawer--full.muka-drawer--bottom .muka-drawer__surface {
|
|
13823
|
-
max-height: 100vh;
|
|
13824
|
-
}
|
|
13825
|
-
|
|
13826
|
-
/* Header: the shared TopBar, raised above the scrolling body like in Dialog */
|
|
13827
|
-
.muka-drawer .muka-topbar {
|
|
13828
|
-
position: relative;
|
|
13829
|
-
z-index: 1;
|
|
13830
|
-
flex-shrink: 0;
|
|
13831
|
-
}
|
|
13832
|
-
|
|
13833
|
-
/* Body */
|
|
13834
|
-
.muka-drawer__body {
|
|
13835
|
-
flex: 1;
|
|
13836
|
-
overflow-y: auto;
|
|
13837
|
-
padding: var(--drawer-padding-x);
|
|
13838
|
-
}
|
|
13839
|
-
|
|
13840
|
-
/* Roomier body on desktop; the header and footer keep their padding */
|
|
13841
|
-
@media (min-width: 1024px) {
|
|
13842
|
-
.muka-drawer__body {
|
|
13843
|
-
padding: var(--drawer-padding-x-desktop);
|
|
13844
|
-
}
|
|
13874
|
+
min-width: 0;
|
|
13875
|
+
width: 100%;
|
|
13876
|
+
position: relative;
|
|
13877
|
+
z-index: 1;
|
|
13845
13878
|
}
|
|
13846
13879
|
|
|
13847
|
-
|
|
13848
|
-
|
|
13849
|
-
|
|
13850
|
-
|
|
13851
|
-
|
|
13880
|
+
.muka-combobox__input {
|
|
13881
|
+
flex: 1 1 5rem;
|
|
13882
|
+
min-width: 5rem;
|
|
13883
|
+
min-height: 2rem;
|
|
13884
|
+
margin: 0;
|
|
13885
|
+
padding: 0 var(--spacing-1);
|
|
13886
|
+
border: none;
|
|
13887
|
+
outline: none;
|
|
13888
|
+
background: transparent;
|
|
13889
|
+
color: var(--input-field-color-default-foreground);
|
|
13890
|
+
caret-color: var(--input-field-color-default-foreground);
|
|
13891
|
+
font-family: var(--text-label-md-regular-fontFamily);
|
|
13892
|
+
font-size: var(--text-label-md-regular-fontSize);
|
|
13893
|
+
font-weight: var(--text-label-md-regular-fontWeight);
|
|
13894
|
+
line-height: var(--text-label-md-regular-lineHeight);
|
|
13852
13895
|
}
|
|
13853
13896
|
|
|
13854
|
-
|
|
13855
|
-
|
|
13856
|
-
an app running edge to edge (viewport-fit=cover, e.g. an iOS shell). */
|
|
13857
|
-
|
|
13858
|
-
/* Top edge. Side, top and full-height drawers reach the status bar: their
|
|
13859
|
-
TopBar pads for it; without a header the surface does. A bottom drawer
|
|
13860
|
-
stops short of it, so its TopBar must not. */
|
|
13861
|
-
.muka-drawer--right .muka-drawer__surface:not(:has(> .muka-topbar)),
|
|
13862
|
-
.muka-drawer--left .muka-drawer__surface:not(:has(> .muka-topbar)),
|
|
13863
|
-
.muka-drawer--top .muka-drawer__surface:not(:has(> .muka-topbar)) {
|
|
13864
|
-
padding-top: env(safe-area-inset-top, 0px);
|
|
13897
|
+
.muka-combobox__input::placeholder {
|
|
13898
|
+
color: var(--color-text-subtle-default);
|
|
13865
13899
|
}
|
|
13866
13900
|
|
|
13867
|
-
.muka-
|
|
13868
|
-
|
|
13901
|
+
.muka-combobox__helper {
|
|
13902
|
+
margin: 0;
|
|
13903
|
+
color: var(--color-text-subtle-default);
|
|
13904
|
+
font-family: var(--text-label-sm-regular-fontFamily);
|
|
13905
|
+
font-size: var(--text-label-sm-regular-fontSize);
|
|
13906
|
+
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
13907
|
+
line-height: var(--text-label-sm-regular-lineHeight);
|
|
13869
13908
|
}
|
|
13870
13909
|
|
|
13871
|
-
|
|
13872
|
-
|
|
13873
|
-
|
|
13874
|
-
|
|
13910
|
+
.muka-combobox__error {
|
|
13911
|
+
margin: 0;
|
|
13912
|
+
color: var(--color-state-error-default);
|
|
13913
|
+
font-family: var(--text-label-sm-regular-fontFamily);
|
|
13914
|
+
font-size: var(--text-label-sm-regular-fontSize);
|
|
13915
|
+
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
13916
|
+
line-height: var(--text-label-sm-regular-lineHeight);
|
|
13875
13917
|
}
|
|
13876
13918
|
|
|
13877
|
-
.muka-
|
|
13878
|
-
|
|
13919
|
+
.muka-combobox__menu-anchor {
|
|
13920
|
+
position: absolute;
|
|
13921
|
+
inset: 0;
|
|
13922
|
+
z-index: 0;
|
|
13923
|
+
width: 100%;
|
|
13924
|
+
height: 100%;
|
|
13925
|
+
margin: 0;
|
|
13926
|
+
padding: 0;
|
|
13927
|
+
border: none;
|
|
13928
|
+
background: transparent;
|
|
13929
|
+
pointer-events: none;
|
|
13930
|
+
opacity: 0;
|
|
13879
13931
|
}
|
|
13880
13932
|
|
|
13881
|
-
|
|
13882
|
-
|
|
13883
|
-
|
|
13884
|
-
|
|
13885
|
-
|
|
13886
|
-
.muka-drawer--bottom .muka-drawer__body {
|
|
13887
|
-
padding-left: max(var(--drawer-padding-x), env(safe-area-inset-left, 0px));
|
|
13888
|
-
}
|
|
13889
|
-
|
|
13890
|
-
.muka-drawer--right .muka-drawer__body,
|
|
13891
|
-
.muka-drawer--top .muka-drawer__body,
|
|
13892
|
-
.muka-drawer--bottom .muka-drawer__body {
|
|
13893
|
-
padding-right: max(var(--drawer-padding-x), env(safe-area-inset-right, 0px));
|
|
13894
|
-
}
|
|
13933
|
+
.muka-combobox__menu {
|
|
13934
|
+
/* Prefer Menu token min-width (280px); may exceed the field when left-aligned. */
|
|
13935
|
+
min-width: var(--menu-content-min-width);
|
|
13936
|
+
width: max-content;
|
|
13937
|
+
max-width: min(100vw - 2rem, 24rem);
|
|
13895
13938
|
}
|
|
13896
13939
|
|
|
13897
13940
|
|
|
@@ -14358,74 +14401,241 @@ button.muka-chip__trailing[aria-expanded='true'],
|
|
|
14358
14401
|
object-fit: cover;
|
|
14359
14402
|
}
|
|
14360
14403
|
|
|
14361
|
-
/* Horizontal image sizing */
|
|
14362
|
-
.muka-checkbox-tile__image--horizontal {
|
|
14363
|
-
width: 40px;
|
|
14364
|
-
height: 40px;
|
|
14404
|
+
/* Horizontal image sizing */
|
|
14405
|
+
.muka-checkbox-tile__image--horizontal {
|
|
14406
|
+
width: 40px;
|
|
14407
|
+
height: 40px;
|
|
14408
|
+
}
|
|
14409
|
+
|
|
14410
|
+
/* Vertical image sizing */
|
|
14411
|
+
.muka-checkbox-tile--vertical .muka-checkbox-tile__image {
|
|
14412
|
+
width: 100%;
|
|
14413
|
+
aspect-ratio: 4/3;
|
|
14414
|
+
}
|
|
14415
|
+
|
|
14416
|
+
/* Content container */
|
|
14417
|
+
.muka-checkbox-tile__content {
|
|
14418
|
+
display: flex;
|
|
14419
|
+
flex-direction: column;
|
|
14420
|
+
flex: 1;
|
|
14421
|
+
min-width: 0;
|
|
14422
|
+
gap: var(--spacing-2);
|
|
14423
|
+
}
|
|
14424
|
+
|
|
14425
|
+
.muka-checkbox-tile__content-inner {
|
|
14426
|
+
display: flex;
|
|
14427
|
+
flex-direction: column;
|
|
14428
|
+
gap: var(--spacing-1);
|
|
14429
|
+
}
|
|
14430
|
+
|
|
14431
|
+
/* Chip slot (replaces badge; use Chip component) */
|
|
14432
|
+
.muka-checkbox-tile__chip {
|
|
14433
|
+
flex-shrink: 0;
|
|
14434
|
+
}
|
|
14435
|
+
|
|
14436
|
+
.muka-checkbox-tile__chip--vertical {
|
|
14437
|
+
margin-top: var(--spacing-1);
|
|
14438
|
+
}
|
|
14439
|
+
|
|
14440
|
+
/* Label */
|
|
14441
|
+
.muka-checkbox-tile__label {
|
|
14442
|
+
font-family: var(--text-body-lg-regular-fontFamily);
|
|
14443
|
+
font-weight: var(--text-body-lg-regular-fontWeight);
|
|
14444
|
+
font-size: var(--text-body-lg-regular-fontSize);
|
|
14445
|
+
line-height: var(--text-body-lg-regular-lineHeight);
|
|
14446
|
+
color: var(--color-text-default-default);
|
|
14447
|
+
}
|
|
14448
|
+
|
|
14449
|
+
.muka-checkbox-tile__label--bold {
|
|
14450
|
+
font-family: var(--text-label-lg-semibold-fontFamily);
|
|
14451
|
+
font-weight: var(--text-label-lg-semibold-fontWeight);
|
|
14452
|
+
font-size: var(--text-label-lg-semibold-fontSize);
|
|
14453
|
+
line-height: var(--text-label-lg-semibold-lineHeight);
|
|
14454
|
+
}
|
|
14455
|
+
|
|
14456
|
+
.muka-checkbox-tile__label--center {
|
|
14457
|
+
text-align: center;
|
|
14458
|
+
}
|
|
14459
|
+
|
|
14460
|
+
/* Caption */
|
|
14461
|
+
.muka-checkbox-tile__caption {
|
|
14462
|
+
font-family: var(--text-body-base-regular-fontFamily);
|
|
14463
|
+
font-weight: var(--text-body-base-regular-fontWeight);
|
|
14464
|
+
font-size: var(--text-body-base-regular-fontSize);
|
|
14465
|
+
line-height: var(--text-body-base-regular-lineHeight);
|
|
14466
|
+
color: var(--color-text-subtle-default);
|
|
14467
|
+
}
|
|
14468
|
+
|
|
14469
|
+
/* Disabled states */
|
|
14470
|
+
.muka-checkbox-tile--disabled .muka-checkbox-tile__label,
|
|
14471
|
+
.muka-checkbox-tile--disabled .muka-checkbox-tile__icon {
|
|
14472
|
+
color: var(--color-text-subtle-default);
|
|
14473
|
+
}
|
|
14474
|
+
|
|
14475
|
+
|
|
14476
|
+
/* Checkbox */
|
|
14477
|
+
/* Checkbox Component Styles - Using Muka Design Tokens */
|
|
14478
|
+
|
|
14479
|
+
/* Wrapper - clickable label container */
|
|
14480
|
+
.muka-checkbox {
|
|
14481
|
+
display: inline-flex;
|
|
14482
|
+
align-items: center;
|
|
14483
|
+
gap: var(--spacing-4);
|
|
14484
|
+
cursor: pointer;
|
|
14485
|
+
user-select: none;
|
|
14486
|
+
}
|
|
14487
|
+
|
|
14488
|
+
.muka-checkbox--disabled {
|
|
14489
|
+
cursor: not-allowed;
|
|
14490
|
+
opacity: 0.6;
|
|
14491
|
+
}
|
|
14492
|
+
|
|
14493
|
+
/* Control container */
|
|
14494
|
+
.muka-checkbox__control {
|
|
14495
|
+
position: relative;
|
|
14496
|
+
display: inline-flex;
|
|
14497
|
+
align-items: center;
|
|
14498
|
+
justify-content: center;
|
|
14499
|
+
flex-shrink: 0;
|
|
14500
|
+
}
|
|
14501
|
+
|
|
14502
|
+
/* Hidden native input */
|
|
14503
|
+
.muka-checkbox__input {
|
|
14504
|
+
position: absolute;
|
|
14505
|
+
width: 1px;
|
|
14506
|
+
height: 1px;
|
|
14507
|
+
padding: 0;
|
|
14508
|
+
margin: -1px;
|
|
14509
|
+
overflow: hidden;
|
|
14510
|
+
clip: rect(0, 0, 0, 0);
|
|
14511
|
+
white-space: nowrap;
|
|
14512
|
+
border: 0;
|
|
14513
|
+
}
|
|
14514
|
+
|
|
14515
|
+
/* Visual indicator (square) */
|
|
14516
|
+
.muka-checkbox__indicator {
|
|
14517
|
+
display: flex;
|
|
14518
|
+
align-items: center;
|
|
14519
|
+
justify-content: center;
|
|
14520
|
+
width: var(--checkbox-size-default);
|
|
14521
|
+
height: var(--checkbox-size-default);
|
|
14522
|
+
border-radius: var(--checkbox-radius);
|
|
14523
|
+
background-color: var(--checkbox-color-default-background);
|
|
14524
|
+
border: var(--border-width-regular) solid var(--checkbox-color-default-border);
|
|
14525
|
+
transition: all 0.15s ease;
|
|
14526
|
+
box-shadow: inset 0 1px 2px 0 rgba(26, 26, 26, 0.15);
|
|
14527
|
+
}
|
|
14528
|
+
|
|
14529
|
+
/* Size variants */
|
|
14530
|
+
.muka-checkbox--sm .muka-checkbox__indicator {
|
|
14531
|
+
width: var(--checkbox-size-sm);
|
|
14532
|
+
height: var(--checkbox-size-sm);
|
|
14533
|
+
}
|
|
14534
|
+
|
|
14535
|
+
.muka-checkbox--lg .muka-checkbox__indicator {
|
|
14536
|
+
width: var(--checkbox-size-lg);
|
|
14537
|
+
height: var(--checkbox-size-lg);
|
|
14538
|
+
}
|
|
14539
|
+
|
|
14540
|
+
/* Icon inside checkbox */
|
|
14541
|
+
.muka-checkbox__icon {
|
|
14542
|
+
width: var(--checkbox-icon-size-default);
|
|
14543
|
+
height: var(--checkbox-icon-size-default);
|
|
14544
|
+
color: var(--checkbox-color-default-icon);
|
|
14545
|
+
opacity: 0;
|
|
14546
|
+
transform: scale(0.8);
|
|
14547
|
+
transition: opacity 0.15s ease, transform 0.15s ease;
|
|
14548
|
+
}
|
|
14549
|
+
|
|
14550
|
+
.muka-checkbox--sm .muka-checkbox__icon {
|
|
14551
|
+
width: var(--checkbox-icon-size-sm);
|
|
14552
|
+
height: var(--checkbox-icon-size-sm);
|
|
14553
|
+
}
|
|
14554
|
+
|
|
14555
|
+
.muka-checkbox--lg .muka-checkbox__icon {
|
|
14556
|
+
width: var(--checkbox-icon-size-lg);
|
|
14557
|
+
height: var(--checkbox-icon-size-lg);
|
|
14558
|
+
}
|
|
14559
|
+
|
|
14560
|
+
/* Hide indeterminate icon by default */
|
|
14561
|
+
.muka-checkbox__icon--indeterminate {
|
|
14562
|
+
position: absolute;
|
|
14563
|
+
}
|
|
14564
|
+
|
|
14565
|
+
/* Hover state - removed per design */
|
|
14566
|
+
|
|
14567
|
+
/* Focus state */
|
|
14568
|
+
.muka-checkbox__input:focus-visible + .muka-checkbox__indicator {
|
|
14569
|
+
outline: 2px solid var(--color-border-focus);
|
|
14570
|
+
outline-offset: 2px;
|
|
14571
|
+
}
|
|
14572
|
+
|
|
14573
|
+
/* Checked state */
|
|
14574
|
+
.muka-checkbox__input:checked + .muka-checkbox__indicator {
|
|
14575
|
+
background-color: var(--checkbox-color-checked-background);
|
|
14576
|
+
border-color: var(--checkbox-color-checked-border);
|
|
14577
|
+
box-shadow: none;
|
|
14365
14578
|
}
|
|
14366
14579
|
|
|
14367
|
-
|
|
14368
|
-
|
|
14369
|
-
|
|
14370
|
-
|
|
14580
|
+
.muka-checkbox__input:checked + .muka-checkbox__indicator .muka-checkbox__icon--check {
|
|
14581
|
+
color: var(--checkbox-color-checked-icon);
|
|
14582
|
+
opacity: 1;
|
|
14583
|
+
transform: scale(1);
|
|
14371
14584
|
}
|
|
14372
14585
|
|
|
14373
|
-
/*
|
|
14374
|
-
.muka-
|
|
14375
|
-
|
|
14376
|
-
|
|
14377
|
-
|
|
14378
|
-
min-width: 0;
|
|
14379
|
-
gap: var(--spacing-2);
|
|
14586
|
+
/* Indeterminate state */
|
|
14587
|
+
.muka-checkbox__input:indeterminate + .muka-checkbox__indicator {
|
|
14588
|
+
background-color: var(--checkbox-color-checked-background);
|
|
14589
|
+
border-color: var(--checkbox-color-checked-border);
|
|
14590
|
+
box-shadow: none;
|
|
14380
14591
|
}
|
|
14381
14592
|
|
|
14382
|
-
.muka-
|
|
14383
|
-
|
|
14384
|
-
flex-direction: column;
|
|
14385
|
-
gap: var(--spacing-1);
|
|
14593
|
+
.muka-checkbox__input:indeterminate + .muka-checkbox__indicator .muka-checkbox__icon--check {
|
|
14594
|
+
opacity: 0;
|
|
14386
14595
|
}
|
|
14387
14596
|
|
|
14388
|
-
|
|
14389
|
-
|
|
14390
|
-
|
|
14597
|
+
.muka-checkbox__input:indeterminate + .muka-checkbox__indicator .muka-checkbox__icon--indeterminate {
|
|
14598
|
+
color: var(--checkbox-color-checked-icon);
|
|
14599
|
+
opacity: 1;
|
|
14600
|
+
transform: scale(1);
|
|
14391
14601
|
}
|
|
14392
14602
|
|
|
14393
|
-
|
|
14394
|
-
|
|
14603
|
+
/* Disabled state */
|
|
14604
|
+
.muka-checkbox--disabled .muka-checkbox__indicator {
|
|
14605
|
+
background-color: var(--checkbox-color-disabled-background);
|
|
14606
|
+
border-color: var(--checkbox-color-disabled-border);
|
|
14607
|
+
box-shadow: none;
|
|
14395
14608
|
}
|
|
14396
14609
|
|
|
14397
|
-
|
|
14398
|
-
.muka-
|
|
14399
|
-
|
|
14400
|
-
font-weight: var(--text-body-lg-regular-fontWeight);
|
|
14401
|
-
font-size: var(--text-body-lg-regular-fontSize);
|
|
14402
|
-
line-height: var(--text-body-lg-regular-lineHeight);
|
|
14403
|
-
color: var(--color-text-default-default);
|
|
14610
|
+
.muka-checkbox__input:disabled:checked + .muka-checkbox__indicator .muka-checkbox__icon--check,
|
|
14611
|
+
.muka-checkbox__input:disabled:indeterminate + .muka-checkbox__indicator .muka-checkbox__icon--indeterminate {
|
|
14612
|
+
color: var(--checkbox-color-disabled-icon);
|
|
14404
14613
|
}
|
|
14405
14614
|
|
|
14406
|
-
|
|
14407
|
-
|
|
14408
|
-
font-
|
|
14409
|
-
font-
|
|
14410
|
-
|
|
14615
|
+
/* Label text */
|
|
14616
|
+
.muka-checkbox__label {
|
|
14617
|
+
font-family: var(--text-label-lg-regular-fontFamily);
|
|
14618
|
+
font-weight: var(--text-label-lg-regular-fontWeight);
|
|
14619
|
+
font-size: var(--text-label-lg-regular-fontSize);
|
|
14620
|
+
line-height: var(--text-label-lg-regular-lineHeight);
|
|
14621
|
+
color: var(--color-text-default-default);
|
|
14411
14622
|
}
|
|
14412
14623
|
|
|
14413
|
-
.muka-checkbox
|
|
14414
|
-
|
|
14624
|
+
.muka-checkbox--sm .muka-checkbox__label {
|
|
14625
|
+
font-family: var(--text-label-md-regular-fontFamily);
|
|
14626
|
+
font-weight: var(--text-label-md-regular-fontWeight);
|
|
14627
|
+
font-size: var(--text-label-md-regular-fontSize);
|
|
14628
|
+
line-height: var(--text-label-md-regular-lineHeight);
|
|
14415
14629
|
}
|
|
14416
14630
|
|
|
14417
|
-
|
|
14418
|
-
|
|
14419
|
-
font-
|
|
14420
|
-
font-
|
|
14421
|
-
|
|
14422
|
-
line-height: var(--text-body-base-regular-lineHeight);
|
|
14423
|
-
color: var(--color-text-subtle-default);
|
|
14631
|
+
.muka-checkbox--lg .muka-checkbox__label {
|
|
14632
|
+
font-family: var(--text-label-xl-regular-fontFamily);
|
|
14633
|
+
font-weight: var(--text-label-xl-regular-fontWeight);
|
|
14634
|
+
font-size: var(--text-label-xl-regular-fontSize);
|
|
14635
|
+
line-height: var(--text-label-xl-regular-lineHeight);
|
|
14424
14636
|
}
|
|
14425
14637
|
|
|
14426
|
-
|
|
14427
|
-
.muka-checkbox-tile--disabled .muka-checkbox-tile__label,
|
|
14428
|
-
.muka-checkbox-tile--disabled .muka-checkbox-tile__icon {
|
|
14638
|
+
.muka-checkbox--disabled .muka-checkbox__label {
|
|
14429
14639
|
color: var(--color-text-subtle-default);
|
|
14430
14640
|
}
|
|
14431
14641
|
|
|
@@ -14570,272 +14780,105 @@ button.muka-chip__trailing[aria-expanded='true'],
|
|
|
14570
14780
|
|
|
14571
14781
|
.muka-chat-photo-grid__tile {
|
|
14572
14782
|
position: relative;
|
|
14573
|
-
display: block;
|
|
14574
|
-
overflow: hidden;
|
|
14575
|
-
min-width: 0;
|
|
14576
|
-
padding: 0;
|
|
14577
|
-
margin: 0;
|
|
14578
|
-
border: none;
|
|
14579
|
-
background-color: var(--chatphotogrid-color-placeholder);
|
|
14580
|
-
aspect-ratio: 1 / 1;
|
|
14581
|
-
}
|
|
14582
|
-
|
|
14583
|
-
button.muka-chat-photo-grid__tile {
|
|
14584
|
-
cursor: pointer;
|
|
14585
|
-
appearance: none;
|
|
14586
|
-
}
|
|
14587
|
-
|
|
14588
|
-
button.muka-chat-photo-grid__tile:focus-visible {
|
|
14589
|
-
outline: var(--border-width-bold) solid var(--color-border-focus);
|
|
14590
|
-
/* Inset, so the grid's overflow clip cannot cut the ring off on corner tiles */
|
|
14591
|
-
outline-offset: calc(-1 * var(--border-width-bold));
|
|
14592
|
-
}
|
|
14593
|
-
|
|
14594
|
-
.muka-chat-photo-grid__image {
|
|
14595
|
-
display: block;
|
|
14596
|
-
width: 100%;
|
|
14597
|
-
height: 100%;
|
|
14598
|
-
object-fit: cover;
|
|
14599
|
-
}
|
|
14600
|
-
|
|
14601
|
-
/* ─── Overflow tile ────────────────────────────────────── */
|
|
14602
|
-
|
|
14603
|
-
.muka-chat-photo-grid__overflow {
|
|
14604
|
-
position: absolute;
|
|
14605
|
-
inset: 0;
|
|
14606
|
-
display: flex;
|
|
14607
|
-
align-items: center;
|
|
14608
|
-
justify-content: center;
|
|
14609
|
-
background-color: var(--chatphotogrid-color-overflow-background);
|
|
14610
|
-
color: var(--chatphotogrid-color-overflow-foreground);
|
|
14611
|
-
font-family: var(--text-body-2xl-regular-fontFamily);
|
|
14612
|
-
font-weight: var(--text-body-2xl-regular-fontWeight);
|
|
14613
|
-
font-size: var(--text-body-2xl-regular-fontSize);
|
|
14614
|
-
line-height: var(--text-body-2xl-regular-lineHeight);
|
|
14615
|
-
}
|
|
14616
|
-
|
|
14617
|
-
/* ─── Layouts ──────────────────────────────────────────── */
|
|
14618
|
-
|
|
14619
|
-
.muka-chat-photo-grid--1 {
|
|
14620
|
-
grid-template-columns: 1fr;
|
|
14621
|
-
}
|
|
14622
|
-
|
|
14623
|
-
.muka-chat-photo-grid--landscape .muka-chat-photo-grid__tile {
|
|
14624
|
-
aspect-ratio: 4 / 3;
|
|
14625
|
-
}
|
|
14626
|
-
|
|
14627
|
-
.muka-chat-photo-grid--portrait .muka-chat-photo-grid__tile {
|
|
14628
|
-
aspect-ratio: 3 / 4;
|
|
14629
|
-
}
|
|
14630
|
-
|
|
14631
|
-
.muka-chat-photo-grid--2 {
|
|
14632
|
-
grid-template-columns: repeat(2, 1fr);
|
|
14633
|
-
}
|
|
14634
|
-
|
|
14635
|
-
.muka-chat-photo-grid--3 {
|
|
14636
|
-
grid-template-columns: repeat(3, 1fr);
|
|
14637
|
-
}
|
|
14638
|
-
|
|
14639
|
-
.muka-chat-photo-grid--4 {
|
|
14640
|
-
grid-template-columns: repeat(2, 1fr);
|
|
14641
|
-
}
|
|
14642
|
-
|
|
14643
|
-
/* 5 photos: a 2-up row above a 3-up row, on a shared 6-column track */
|
|
14644
|
-
.muka-chat-photo-grid--5 {
|
|
14645
|
-
grid-template-columns: repeat(6, 1fr);
|
|
14646
|
-
}
|
|
14647
|
-
|
|
14648
|
-
.muka-chat-photo-grid--5 .muka-chat-photo-grid__tile:nth-child(-n + 2) {
|
|
14649
|
-
grid-column: span 3;
|
|
14650
|
-
}
|
|
14651
|
-
|
|
14652
|
-
.muka-chat-photo-grid--5 .muka-chat-photo-grid__tile:nth-child(n + 3) {
|
|
14653
|
-
grid-column: span 2;
|
|
14654
|
-
}
|
|
14655
|
-
|
|
14656
|
-
.muka-chat-photo-grid--6,
|
|
14657
|
-
.muka-chat-photo-grid--overflow {
|
|
14658
|
-
grid-template-columns: repeat(3, 1fr);
|
|
14659
|
-
}
|
|
14660
|
-
|
|
14661
|
-
/* ─── Print ────────────────────────────────────────────── */
|
|
14662
|
-
|
|
14663
|
-
@media print {
|
|
14664
|
-
.muka-chat-photo-grid {
|
|
14665
|
-
break-inside: avoid;
|
|
14666
|
-
}
|
|
14667
|
-
|
|
14668
|
-
.muka-chat-photo-grid__image {
|
|
14669
|
-
print-color-adjust: exact;
|
|
14670
|
-
-webkit-print-color-adjust: exact;
|
|
14671
|
-
}
|
|
14672
|
-
}
|
|
14673
|
-
|
|
14674
|
-
|
|
14675
|
-
/* Checkbox */
|
|
14676
|
-
/* Checkbox Component Styles - Using Muka Design Tokens */
|
|
14677
|
-
|
|
14678
|
-
/* Wrapper - clickable label container */
|
|
14679
|
-
.muka-checkbox {
|
|
14680
|
-
display: inline-flex;
|
|
14681
|
-
align-items: center;
|
|
14682
|
-
gap: var(--spacing-4);
|
|
14683
|
-
cursor: pointer;
|
|
14684
|
-
user-select: none;
|
|
14685
|
-
}
|
|
14686
|
-
|
|
14687
|
-
.muka-checkbox--disabled {
|
|
14688
|
-
cursor: not-allowed;
|
|
14689
|
-
opacity: 0.6;
|
|
14690
|
-
}
|
|
14691
|
-
|
|
14692
|
-
/* Control container */
|
|
14693
|
-
.muka-checkbox__control {
|
|
14694
|
-
position: relative;
|
|
14695
|
-
display: inline-flex;
|
|
14696
|
-
align-items: center;
|
|
14697
|
-
justify-content: center;
|
|
14698
|
-
flex-shrink: 0;
|
|
14699
|
-
}
|
|
14700
|
-
|
|
14701
|
-
/* Hidden native input */
|
|
14702
|
-
.muka-checkbox__input {
|
|
14703
|
-
position: absolute;
|
|
14704
|
-
width: 1px;
|
|
14705
|
-
height: 1px;
|
|
14706
|
-
padding: 0;
|
|
14707
|
-
margin: -1px;
|
|
14708
|
-
overflow: hidden;
|
|
14709
|
-
clip: rect(0, 0, 0, 0);
|
|
14710
|
-
white-space: nowrap;
|
|
14711
|
-
border: 0;
|
|
14712
|
-
}
|
|
14713
|
-
|
|
14714
|
-
/* Visual indicator (square) */
|
|
14715
|
-
.muka-checkbox__indicator {
|
|
14716
|
-
display: flex;
|
|
14717
|
-
align-items: center;
|
|
14718
|
-
justify-content: center;
|
|
14719
|
-
width: var(--checkbox-size-default);
|
|
14720
|
-
height: var(--checkbox-size-default);
|
|
14721
|
-
border-radius: var(--checkbox-radius);
|
|
14722
|
-
background-color: var(--checkbox-color-default-background);
|
|
14723
|
-
border: var(--border-width-regular) solid var(--checkbox-color-default-border);
|
|
14724
|
-
transition: all 0.15s ease;
|
|
14725
|
-
box-shadow: inset 0 1px 2px 0 rgba(26, 26, 26, 0.15);
|
|
14726
|
-
}
|
|
14727
|
-
|
|
14728
|
-
/* Size variants */
|
|
14729
|
-
.muka-checkbox--sm .muka-checkbox__indicator {
|
|
14730
|
-
width: var(--checkbox-size-sm);
|
|
14731
|
-
height: var(--checkbox-size-sm);
|
|
14783
|
+
display: block;
|
|
14784
|
+
overflow: hidden;
|
|
14785
|
+
min-width: 0;
|
|
14786
|
+
padding: 0;
|
|
14787
|
+
margin: 0;
|
|
14788
|
+
border: none;
|
|
14789
|
+
background-color: var(--chatphotogrid-color-placeholder);
|
|
14790
|
+
aspect-ratio: 1 / 1;
|
|
14732
14791
|
}
|
|
14733
14792
|
|
|
14734
|
-
.muka-
|
|
14735
|
-
|
|
14736
|
-
|
|
14793
|
+
button.muka-chat-photo-grid__tile {
|
|
14794
|
+
cursor: pointer;
|
|
14795
|
+
appearance: none;
|
|
14737
14796
|
}
|
|
14738
14797
|
|
|
14739
|
-
|
|
14740
|
-
|
|
14741
|
-
|
|
14742
|
-
|
|
14743
|
-
color: var(--checkbox-color-default-icon);
|
|
14744
|
-
opacity: 0;
|
|
14745
|
-
transform: scale(0.8);
|
|
14746
|
-
transition: opacity 0.15s ease, transform 0.15s ease;
|
|
14798
|
+
button.muka-chat-photo-grid__tile:focus-visible {
|
|
14799
|
+
outline: var(--border-width-bold) solid var(--color-border-focus);
|
|
14800
|
+
/* Inset, so the grid's overflow clip cannot cut the ring off on corner tiles */
|
|
14801
|
+
outline-offset: calc(-1 * var(--border-width-bold));
|
|
14747
14802
|
}
|
|
14748
14803
|
|
|
14749
|
-
.muka-
|
|
14750
|
-
|
|
14751
|
-
|
|
14804
|
+
.muka-chat-photo-grid__image {
|
|
14805
|
+
display: block;
|
|
14806
|
+
width: 100%;
|
|
14807
|
+
height: 100%;
|
|
14808
|
+
object-fit: cover;
|
|
14752
14809
|
}
|
|
14753
14810
|
|
|
14754
|
-
|
|
14755
|
-
width: var(--checkbox-icon-size-lg);
|
|
14756
|
-
height: var(--checkbox-icon-size-lg);
|
|
14757
|
-
}
|
|
14811
|
+
/* ─── Overflow tile ────────────────────────────────────── */
|
|
14758
14812
|
|
|
14759
|
-
|
|
14760
|
-
.muka-checkbox__icon--indeterminate {
|
|
14813
|
+
.muka-chat-photo-grid__overflow {
|
|
14761
14814
|
position: absolute;
|
|
14815
|
+
inset: 0;
|
|
14816
|
+
display: flex;
|
|
14817
|
+
align-items: center;
|
|
14818
|
+
justify-content: center;
|
|
14819
|
+
background-color: var(--chatphotogrid-color-overflow-background);
|
|
14820
|
+
color: var(--chatphotogrid-color-overflow-foreground);
|
|
14821
|
+
font-family: var(--text-body-2xl-regular-fontFamily);
|
|
14822
|
+
font-weight: var(--text-body-2xl-regular-fontWeight);
|
|
14823
|
+
font-size: var(--text-body-2xl-regular-fontSize);
|
|
14824
|
+
line-height: var(--text-body-2xl-regular-lineHeight);
|
|
14762
14825
|
}
|
|
14763
14826
|
|
|
14764
|
-
/*
|
|
14827
|
+
/* ─── Layouts ──────────────────────────────────────────── */
|
|
14765
14828
|
|
|
14766
|
-
|
|
14767
|
-
|
|
14768
|
-
outline: 2px solid var(--color-border-focus);
|
|
14769
|
-
outline-offset: 2px;
|
|
14829
|
+
.muka-chat-photo-grid--1 {
|
|
14830
|
+
grid-template-columns: 1fr;
|
|
14770
14831
|
}
|
|
14771
14832
|
|
|
14772
|
-
|
|
14773
|
-
|
|
14774
|
-
background-color: var(--checkbox-color-checked-background);
|
|
14775
|
-
border-color: var(--checkbox-color-checked-border);
|
|
14776
|
-
box-shadow: none;
|
|
14833
|
+
.muka-chat-photo-grid--landscape .muka-chat-photo-grid__tile {
|
|
14834
|
+
aspect-ratio: 4 / 3;
|
|
14777
14835
|
}
|
|
14778
14836
|
|
|
14779
|
-
.muka-
|
|
14780
|
-
|
|
14781
|
-
opacity: 1;
|
|
14782
|
-
transform: scale(1);
|
|
14837
|
+
.muka-chat-photo-grid--portrait .muka-chat-photo-grid__tile {
|
|
14838
|
+
aspect-ratio: 3 / 4;
|
|
14783
14839
|
}
|
|
14784
14840
|
|
|
14785
|
-
|
|
14786
|
-
|
|
14787
|
-
background-color: var(--checkbox-color-checked-background);
|
|
14788
|
-
border-color: var(--checkbox-color-checked-border);
|
|
14789
|
-
box-shadow: none;
|
|
14841
|
+
.muka-chat-photo-grid--2 {
|
|
14842
|
+
grid-template-columns: repeat(2, 1fr);
|
|
14790
14843
|
}
|
|
14791
14844
|
|
|
14792
|
-
.muka-
|
|
14793
|
-
|
|
14845
|
+
.muka-chat-photo-grid--3 {
|
|
14846
|
+
grid-template-columns: repeat(3, 1fr);
|
|
14794
14847
|
}
|
|
14795
14848
|
|
|
14796
|
-
.muka-
|
|
14797
|
-
|
|
14798
|
-
opacity: 1;
|
|
14799
|
-
transform: scale(1);
|
|
14849
|
+
.muka-chat-photo-grid--4 {
|
|
14850
|
+
grid-template-columns: repeat(2, 1fr);
|
|
14800
14851
|
}
|
|
14801
14852
|
|
|
14802
|
-
/*
|
|
14803
|
-
.muka-
|
|
14804
|
-
|
|
14805
|
-
border-color: var(--checkbox-color-disabled-border);
|
|
14806
|
-
box-shadow: none;
|
|
14853
|
+
/* 5 photos: a 2-up row above a 3-up row, on a shared 6-column track */
|
|
14854
|
+
.muka-chat-photo-grid--5 {
|
|
14855
|
+
grid-template-columns: repeat(6, 1fr);
|
|
14807
14856
|
}
|
|
14808
14857
|
|
|
14809
|
-
.muka-
|
|
14810
|
-
|
|
14811
|
-
color: var(--checkbox-color-disabled-icon);
|
|
14858
|
+
.muka-chat-photo-grid--5 .muka-chat-photo-grid__tile:nth-child(-n + 2) {
|
|
14859
|
+
grid-column: span 3;
|
|
14812
14860
|
}
|
|
14813
14861
|
|
|
14814
|
-
|
|
14815
|
-
|
|
14816
|
-
font-family: var(--text-label-lg-regular-fontFamily);
|
|
14817
|
-
font-weight: var(--text-label-lg-regular-fontWeight);
|
|
14818
|
-
font-size: var(--text-label-lg-regular-fontSize);
|
|
14819
|
-
line-height: var(--text-label-lg-regular-lineHeight);
|
|
14820
|
-
color: var(--color-text-default-default);
|
|
14862
|
+
.muka-chat-photo-grid--5 .muka-chat-photo-grid__tile:nth-child(n + 3) {
|
|
14863
|
+
grid-column: span 2;
|
|
14821
14864
|
}
|
|
14822
14865
|
|
|
14823
|
-
.muka-
|
|
14824
|
-
|
|
14825
|
-
|
|
14826
|
-
font-size: var(--text-label-md-regular-fontSize);
|
|
14827
|
-
line-height: var(--text-label-md-regular-lineHeight);
|
|
14866
|
+
.muka-chat-photo-grid--6,
|
|
14867
|
+
.muka-chat-photo-grid--overflow {
|
|
14868
|
+
grid-template-columns: repeat(3, 1fr);
|
|
14828
14869
|
}
|
|
14829
14870
|
|
|
14830
|
-
|
|
14831
|
-
font-family: var(--text-label-xl-regular-fontFamily);
|
|
14832
|
-
font-weight: var(--text-label-xl-regular-fontWeight);
|
|
14833
|
-
font-size: var(--text-label-xl-regular-fontSize);
|
|
14834
|
-
line-height: var(--text-label-xl-regular-lineHeight);
|
|
14835
|
-
}
|
|
14871
|
+
/* ─── Print ────────────────────────────────────────────── */
|
|
14836
14872
|
|
|
14837
|
-
|
|
14838
|
-
|
|
14873
|
+
@media print {
|
|
14874
|
+
.muka-chat-photo-grid {
|
|
14875
|
+
break-inside: avoid;
|
|
14876
|
+
}
|
|
14877
|
+
|
|
14878
|
+
.muka-chat-photo-grid__image {
|
|
14879
|
+
print-color-adjust: exact;
|
|
14880
|
+
-webkit-print-color-adjust: exact;
|
|
14881
|
+
}
|
|
14839
14882
|
}
|
|
14840
14883
|
|
|
14841
14884
|
|
|
@@ -15300,6 +15343,58 @@ button.muka-chat-photo-grid__tile:focus-visible {
|
|
|
15300
15343
|
}
|
|
15301
15344
|
|
|
15302
15345
|
|
|
15346
|
+
/* ChatEvent */
|
|
15347
|
+
/* ChatEvent: a line in a chat that isn't a message from a person */
|
|
15348
|
+
|
|
15349
|
+
.muka-chat-event {
|
|
15350
|
+
display: flex;
|
|
15351
|
+
flex-direction: column;
|
|
15352
|
+
align-items: center;
|
|
15353
|
+
gap: var(--spacing-2);
|
|
15354
|
+
width: 100%;
|
|
15355
|
+
padding: 0 var(--spacing-4);
|
|
15356
|
+
box-sizing: border-box;
|
|
15357
|
+
text-align: center;
|
|
15358
|
+
}
|
|
15359
|
+
|
|
15360
|
+
.muka-chat-event__text {
|
|
15361
|
+
margin: 0;
|
|
15362
|
+
max-width: var(--chatbubble-max-width);
|
|
15363
|
+
/* Default text, not subtle: subtle reaches only ~3:1 on the chat surfaces,
|
|
15364
|
+
and this is body text. Size and centring set it apart from messages. */
|
|
15365
|
+
color: var(--color-text-default-default);
|
|
15366
|
+
font-family: var(--text-body-sm-regular-fontFamily);
|
|
15367
|
+
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
15368
|
+
font-size: var(--text-body-sm-regular-fontSize);
|
|
15369
|
+
line-height: var(--text-body-sm-regular-lineHeight);
|
|
15370
|
+
}
|
|
15371
|
+
|
|
15372
|
+
.muka-chat-event__timestamp {
|
|
15373
|
+
white-space: nowrap;
|
|
15374
|
+
}
|
|
15375
|
+
|
|
15376
|
+
.muka-chat-event__media {
|
|
15377
|
+
display: flex;
|
|
15378
|
+
flex-wrap: wrap;
|
|
15379
|
+
justify-content: center;
|
|
15380
|
+
gap: var(--spacing-2);
|
|
15381
|
+
}
|
|
15382
|
+
|
|
15383
|
+
/* Day divider: a small pill */
|
|
15384
|
+
.muka-chat-event__pill {
|
|
15385
|
+
display: inline-flex;
|
|
15386
|
+
align-items: center;
|
|
15387
|
+
padding: var(--spacing-1) var(--spacing-3);
|
|
15388
|
+
border-radius: var(--radius-full);
|
|
15389
|
+
background-color: var(--color-surface-level2);
|
|
15390
|
+
color: var(--color-text-default-default);
|
|
15391
|
+
font-family: var(--text-label-sm-regular-fontFamily);
|
|
15392
|
+
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
15393
|
+
font-size: var(--text-label-sm-regular-fontSize);
|
|
15394
|
+
line-height: var(--text-label-sm-leading);
|
|
15395
|
+
}
|
|
15396
|
+
|
|
15397
|
+
|
|
15303
15398
|
/* ChatComposer */
|
|
15304
15399
|
/* ChatComposer Component Styles */
|
|
15305
15400
|
|
|
@@ -15650,56 +15745,160 @@ button.muka-chat-photo-grid__tile:focus-visible {
|
|
|
15650
15745
|
min-width: 0;
|
|
15651
15746
|
}
|
|
15652
15747
|
|
|
15653
|
-
|
|
15654
|
-
/*
|
|
15655
|
-
/*
|
|
15656
|
-
|
|
15657
|
-
.muka-chat-
|
|
15748
|
+
|
|
15749
|
+
/* ChatAttachmentChip */
|
|
15750
|
+
/* ChatAttachmentChip Component Styles */
|
|
15751
|
+
|
|
15752
|
+
.muka-chat-attachment-chip {
|
|
15753
|
+
position: relative;
|
|
15754
|
+
display: inline-flex;
|
|
15755
|
+
align-items: center;
|
|
15756
|
+
gap: var(--spacing-1);
|
|
15757
|
+
max-width: 240px;
|
|
15758
|
+
padding: var(--spacing-2) var(--spacing-3);
|
|
15759
|
+
background-color: var(--color-surface-level1);
|
|
15760
|
+
border: var(--border-width-regular) solid var(--color-border-default);
|
|
15761
|
+
border-radius: var(--radius-md);
|
|
15762
|
+
overflow: hidden;
|
|
15763
|
+
}
|
|
15764
|
+
|
|
15765
|
+
.muka-chat-attachment-chip--uploading {
|
|
15766
|
+
padding-bottom: calc(var(--spacing-2) + 2px);
|
|
15767
|
+
}
|
|
15768
|
+
|
|
15769
|
+
.muka-chat-attachment-chip--error {
|
|
15770
|
+
border-color: var(--color-state-error-default, var(--color-text-default-default));
|
|
15771
|
+
}
|
|
15772
|
+
|
|
15773
|
+
.muka-chat-attachment-chip--disabled {
|
|
15774
|
+
opacity: 0.5;
|
|
15775
|
+
pointer-events: none;
|
|
15776
|
+
}
|
|
15777
|
+
|
|
15778
|
+
/* ─── Body (icon + text) ───────────────────────────────── */
|
|
15779
|
+
|
|
15780
|
+
.muka-chat-attachment-chip__body {
|
|
15781
|
+
display: inline-flex;
|
|
15782
|
+
align-items: center;
|
|
15783
|
+
gap: var(--spacing-2);
|
|
15784
|
+
min-width: 0;
|
|
15785
|
+
flex: 1 1 auto;
|
|
15786
|
+
background: none;
|
|
15787
|
+
border: none;
|
|
15788
|
+
padding: 0;
|
|
15789
|
+
margin: 0;
|
|
15790
|
+
text-align: left;
|
|
15791
|
+
color: inherit;
|
|
15792
|
+
font: inherit;
|
|
15793
|
+
cursor: default;
|
|
15794
|
+
-webkit-tap-highlight-color: transparent;
|
|
15795
|
+
}
|
|
15796
|
+
|
|
15797
|
+
.muka-chat-attachment-chip--interactive .muka-chat-attachment-chip__body {
|
|
15798
|
+
cursor: pointer;
|
|
15799
|
+
}
|
|
15800
|
+
|
|
15801
|
+
.muka-chat-attachment-chip--interactive .muka-chat-attachment-chip__body:focus-visible {
|
|
15802
|
+
outline: 2px solid var(--color-action-default);
|
|
15803
|
+
outline-offset: 2px;
|
|
15804
|
+
border-radius: var(--radius-sm);
|
|
15805
|
+
}
|
|
15806
|
+
|
|
15807
|
+
.muka-chat-attachment-chip__icon {
|
|
15808
|
+
display: inline-flex;
|
|
15809
|
+
align-items: center;
|
|
15810
|
+
justify-content: center;
|
|
15811
|
+
flex-shrink: 0;
|
|
15812
|
+
color: var(--color-text-subtle-default);
|
|
15813
|
+
}
|
|
15814
|
+
|
|
15815
|
+
.muka-chat-attachment-chip__text {
|
|
15658
15816
|
display: flex;
|
|
15659
15817
|
flex-direction: column;
|
|
15660
|
-
|
|
15661
|
-
|
|
15662
|
-
width: 100%;
|
|
15663
|
-
padding: 0 var(--spacing-4);
|
|
15664
|
-
box-sizing: border-box;
|
|
15665
|
-
text-align: center;
|
|
15818
|
+
min-width: 0;
|
|
15819
|
+
flex: 1 1 auto;
|
|
15666
15820
|
}
|
|
15667
15821
|
|
|
15668
|
-
.muka-chat-
|
|
15669
|
-
margin: 0;
|
|
15670
|
-
max-width: var(--chatbubble-max-width);
|
|
15671
|
-
/* Default text, not subtle: subtle reaches only ~3:1 on the chat surfaces,
|
|
15672
|
-
and this is body text. Size and centring set it apart from messages. */
|
|
15822
|
+
.muka-chat-attachment-chip__name {
|
|
15673
15823
|
color: var(--color-text-default-default);
|
|
15674
15824
|
font-family: var(--text-body-sm-regular-fontFamily);
|
|
15675
15825
|
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
15676
15826
|
font-size: var(--text-body-sm-regular-fontSize);
|
|
15677
15827
|
line-height: var(--text-body-sm-regular-lineHeight);
|
|
15828
|
+
white-space: nowrap;
|
|
15829
|
+
overflow: hidden;
|
|
15830
|
+
text-overflow: ellipsis;
|
|
15678
15831
|
}
|
|
15679
15832
|
|
|
15680
|
-
.muka-chat-
|
|
15833
|
+
.muka-chat-attachment-chip__meta {
|
|
15834
|
+
color: var(--color-text-subtle-default);
|
|
15835
|
+
font-family: var(--text-body-sm-regular-fontFamily);
|
|
15836
|
+
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
15837
|
+
font-size: var(--text-body-sm-regular-fontSize);
|
|
15838
|
+
line-height: var(--text-body-sm-regular-lineHeight);
|
|
15681
15839
|
white-space: nowrap;
|
|
15840
|
+
overflow: hidden;
|
|
15841
|
+
text-overflow: ellipsis;
|
|
15682
15842
|
}
|
|
15683
15843
|
|
|
15684
|
-
.muka-chat-
|
|
15685
|
-
|
|
15686
|
-
flex-wrap: wrap;
|
|
15687
|
-
justify-content: center;
|
|
15688
|
-
gap: var(--spacing-2);
|
|
15844
|
+
.muka-chat-attachment-chip--error .muka-chat-attachment-chip__meta {
|
|
15845
|
+
color: var(--color-state-error-default, var(--color-text-default-default));
|
|
15689
15846
|
}
|
|
15690
15847
|
|
|
15691
|
-
/*
|
|
15692
|
-
|
|
15848
|
+
/* ─── Remove button ────────────────────────────────────── */
|
|
15849
|
+
|
|
15850
|
+
.muka-chat-attachment-chip__remove {
|
|
15693
15851
|
display: inline-flex;
|
|
15694
15852
|
align-items: center;
|
|
15695
|
-
|
|
15696
|
-
|
|
15697
|
-
|
|
15853
|
+
justify-content: center;
|
|
15854
|
+
width: 20px;
|
|
15855
|
+
height: 20px;
|
|
15856
|
+
border: none;
|
|
15857
|
+
background: none;
|
|
15858
|
+
padding: 0;
|
|
15859
|
+
border-radius: var(--radius-sm);
|
|
15860
|
+
cursor: pointer;
|
|
15861
|
+
color: var(--color-text-subtle-default);
|
|
15862
|
+
flex-shrink: 0;
|
|
15863
|
+
-webkit-tap-highlight-color: transparent;
|
|
15864
|
+
}
|
|
15865
|
+
|
|
15866
|
+
.muka-chat-attachment-chip__remove:hover:not(:disabled) {
|
|
15698
15867
|
color: var(--color-text-default-default);
|
|
15699
|
-
|
|
15700
|
-
|
|
15701
|
-
|
|
15702
|
-
|
|
15868
|
+
background-color: var(--color-surface-level2);
|
|
15869
|
+
}
|
|
15870
|
+
|
|
15871
|
+
.muka-chat-attachment-chip__remove:focus-visible {
|
|
15872
|
+
outline: 2px solid var(--color-action-default);
|
|
15873
|
+
outline-offset: 2px;
|
|
15874
|
+
}
|
|
15875
|
+
|
|
15876
|
+
.muka-chat-attachment-chip__remove:disabled {
|
|
15877
|
+
cursor: not-allowed;
|
|
15878
|
+
opacity: 0.5;
|
|
15879
|
+
}
|
|
15880
|
+
|
|
15881
|
+
/* ─── Progress bar ─────────────────────────────────────── */
|
|
15882
|
+
|
|
15883
|
+
.muka-chat-attachment-chip__progress {
|
|
15884
|
+
position: absolute;
|
|
15885
|
+
left: 0;
|
|
15886
|
+
right: 0;
|
|
15887
|
+
bottom: 0;
|
|
15888
|
+
height: 2px;
|
|
15889
|
+
background-color: var(--color-surface-level2);
|
|
15890
|
+
overflow: hidden;
|
|
15891
|
+
}
|
|
15892
|
+
|
|
15893
|
+
.muka-chat-attachment-chip__progress-fill {
|
|
15894
|
+
display: block;
|
|
15895
|
+
height: 100%;
|
|
15896
|
+
background-color: var(--color-action-default);
|
|
15897
|
+
transition: width 0.16s ease;
|
|
15898
|
+
}
|
|
15899
|
+
|
|
15900
|
+
.muka-chat-attachment-chip--error .muka-chat-attachment-chip__progress-fill {
|
|
15901
|
+
background-color: var(--color-state-error-default, var(--color-text-default-default));
|
|
15703
15902
|
}
|
|
15704
15903
|
|
|
15705
15904
|
|
|
@@ -17926,162 +18125,6 @@ button.muka-chat-photo-grid__tile:focus-visible {
|
|
|
17926
18125
|
}
|
|
17927
18126
|
|
|
17928
18127
|
|
|
17929
|
-
/* ChatAttachmentChip */
|
|
17930
|
-
/* ChatAttachmentChip Component Styles */
|
|
17931
|
-
|
|
17932
|
-
.muka-chat-attachment-chip {
|
|
17933
|
-
position: relative;
|
|
17934
|
-
display: inline-flex;
|
|
17935
|
-
align-items: center;
|
|
17936
|
-
gap: var(--spacing-1);
|
|
17937
|
-
max-width: 240px;
|
|
17938
|
-
padding: var(--spacing-2) var(--spacing-3);
|
|
17939
|
-
background-color: var(--color-surface-level1);
|
|
17940
|
-
border: var(--border-width-regular) solid var(--color-border-default);
|
|
17941
|
-
border-radius: var(--radius-md);
|
|
17942
|
-
overflow: hidden;
|
|
17943
|
-
}
|
|
17944
|
-
|
|
17945
|
-
.muka-chat-attachment-chip--uploading {
|
|
17946
|
-
padding-bottom: calc(var(--spacing-2) + 2px);
|
|
17947
|
-
}
|
|
17948
|
-
|
|
17949
|
-
.muka-chat-attachment-chip--error {
|
|
17950
|
-
border-color: var(--color-state-error-default, var(--color-text-default-default));
|
|
17951
|
-
}
|
|
17952
|
-
|
|
17953
|
-
.muka-chat-attachment-chip--disabled {
|
|
17954
|
-
opacity: 0.5;
|
|
17955
|
-
pointer-events: none;
|
|
17956
|
-
}
|
|
17957
|
-
|
|
17958
|
-
/* ─── Body (icon + text) ───────────────────────────────── */
|
|
17959
|
-
|
|
17960
|
-
.muka-chat-attachment-chip__body {
|
|
17961
|
-
display: inline-flex;
|
|
17962
|
-
align-items: center;
|
|
17963
|
-
gap: var(--spacing-2);
|
|
17964
|
-
min-width: 0;
|
|
17965
|
-
flex: 1 1 auto;
|
|
17966
|
-
background: none;
|
|
17967
|
-
border: none;
|
|
17968
|
-
padding: 0;
|
|
17969
|
-
margin: 0;
|
|
17970
|
-
text-align: left;
|
|
17971
|
-
color: inherit;
|
|
17972
|
-
font: inherit;
|
|
17973
|
-
cursor: default;
|
|
17974
|
-
-webkit-tap-highlight-color: transparent;
|
|
17975
|
-
}
|
|
17976
|
-
|
|
17977
|
-
.muka-chat-attachment-chip--interactive .muka-chat-attachment-chip__body {
|
|
17978
|
-
cursor: pointer;
|
|
17979
|
-
}
|
|
17980
|
-
|
|
17981
|
-
.muka-chat-attachment-chip--interactive .muka-chat-attachment-chip__body:focus-visible {
|
|
17982
|
-
outline: 2px solid var(--color-action-default);
|
|
17983
|
-
outline-offset: 2px;
|
|
17984
|
-
border-radius: var(--radius-sm);
|
|
17985
|
-
}
|
|
17986
|
-
|
|
17987
|
-
.muka-chat-attachment-chip__icon {
|
|
17988
|
-
display: inline-flex;
|
|
17989
|
-
align-items: center;
|
|
17990
|
-
justify-content: center;
|
|
17991
|
-
flex-shrink: 0;
|
|
17992
|
-
color: var(--color-text-subtle-default);
|
|
17993
|
-
}
|
|
17994
|
-
|
|
17995
|
-
.muka-chat-attachment-chip__text {
|
|
17996
|
-
display: flex;
|
|
17997
|
-
flex-direction: column;
|
|
17998
|
-
min-width: 0;
|
|
17999
|
-
flex: 1 1 auto;
|
|
18000
|
-
}
|
|
18001
|
-
|
|
18002
|
-
.muka-chat-attachment-chip__name {
|
|
18003
|
-
color: var(--color-text-default-default);
|
|
18004
|
-
font-family: var(--text-body-sm-regular-fontFamily);
|
|
18005
|
-
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
18006
|
-
font-size: var(--text-body-sm-regular-fontSize);
|
|
18007
|
-
line-height: var(--text-body-sm-regular-lineHeight);
|
|
18008
|
-
white-space: nowrap;
|
|
18009
|
-
overflow: hidden;
|
|
18010
|
-
text-overflow: ellipsis;
|
|
18011
|
-
}
|
|
18012
|
-
|
|
18013
|
-
.muka-chat-attachment-chip__meta {
|
|
18014
|
-
color: var(--color-text-subtle-default);
|
|
18015
|
-
font-family: var(--text-body-sm-regular-fontFamily);
|
|
18016
|
-
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
18017
|
-
font-size: var(--text-body-sm-regular-fontSize);
|
|
18018
|
-
line-height: var(--text-body-sm-regular-lineHeight);
|
|
18019
|
-
white-space: nowrap;
|
|
18020
|
-
overflow: hidden;
|
|
18021
|
-
text-overflow: ellipsis;
|
|
18022
|
-
}
|
|
18023
|
-
|
|
18024
|
-
.muka-chat-attachment-chip--error .muka-chat-attachment-chip__meta {
|
|
18025
|
-
color: var(--color-state-error-default, var(--color-text-default-default));
|
|
18026
|
-
}
|
|
18027
|
-
|
|
18028
|
-
/* ─── Remove button ────────────────────────────────────── */
|
|
18029
|
-
|
|
18030
|
-
.muka-chat-attachment-chip__remove {
|
|
18031
|
-
display: inline-flex;
|
|
18032
|
-
align-items: center;
|
|
18033
|
-
justify-content: center;
|
|
18034
|
-
width: 20px;
|
|
18035
|
-
height: 20px;
|
|
18036
|
-
border: none;
|
|
18037
|
-
background: none;
|
|
18038
|
-
padding: 0;
|
|
18039
|
-
border-radius: var(--radius-sm);
|
|
18040
|
-
cursor: pointer;
|
|
18041
|
-
color: var(--color-text-subtle-default);
|
|
18042
|
-
flex-shrink: 0;
|
|
18043
|
-
-webkit-tap-highlight-color: transparent;
|
|
18044
|
-
}
|
|
18045
|
-
|
|
18046
|
-
.muka-chat-attachment-chip__remove:hover:not(:disabled) {
|
|
18047
|
-
color: var(--color-text-default-default);
|
|
18048
|
-
background-color: var(--color-surface-level2);
|
|
18049
|
-
}
|
|
18050
|
-
|
|
18051
|
-
.muka-chat-attachment-chip__remove:focus-visible {
|
|
18052
|
-
outline: 2px solid var(--color-action-default);
|
|
18053
|
-
outline-offset: 2px;
|
|
18054
|
-
}
|
|
18055
|
-
|
|
18056
|
-
.muka-chat-attachment-chip__remove:disabled {
|
|
18057
|
-
cursor: not-allowed;
|
|
18058
|
-
opacity: 0.5;
|
|
18059
|
-
}
|
|
18060
|
-
|
|
18061
|
-
/* ─── Progress bar ─────────────────────────────────────── */
|
|
18062
|
-
|
|
18063
|
-
.muka-chat-attachment-chip__progress {
|
|
18064
|
-
position: absolute;
|
|
18065
|
-
left: 0;
|
|
18066
|
-
right: 0;
|
|
18067
|
-
bottom: 0;
|
|
18068
|
-
height: 2px;
|
|
18069
|
-
background-color: var(--color-surface-level2);
|
|
18070
|
-
overflow: hidden;
|
|
18071
|
-
}
|
|
18072
|
-
|
|
18073
|
-
.muka-chat-attachment-chip__progress-fill {
|
|
18074
|
-
display: block;
|
|
18075
|
-
height: 100%;
|
|
18076
|
-
background-color: var(--color-action-default);
|
|
18077
|
-
transition: width 0.16s ease;
|
|
18078
|
-
}
|
|
18079
|
-
|
|
18080
|
-
.muka-chat-attachment-chip--error .muka-chat-attachment-chip__progress-fill {
|
|
18081
|
-
background-color: var(--color-state-error-default, var(--color-text-default-default));
|
|
18082
|
-
}
|
|
18083
|
-
|
|
18084
|
-
|
|
18085
18128
|
/* ActionSheet */
|
|
18086
18129
|
/* ActionSheet Component Styles */
|
|
18087
18130
|
|