@revikornmann/muka-ui 0.64.4 → 0.64.6

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.
@@ -5946,6 +5946,151 @@ body {
5946
5946
  }
5947
5947
 
5948
5948
 
5949
+ /* SiteHeader */
5950
+ /* SiteHeader Component Styles */
5951
+
5952
+ /*
5953
+ * Header for document-scrolling pages. Its colour comes from, in order:
5954
+ * `--muka-site-header-background` (set by the consumer), the surrounding
5955
+ * Page's `--muka-page-background`, and the base surface.
5956
+ *
5957
+ * Safe areas: env(safe-area-inset-*) is 0 outside notched devices. In an app
5958
+ * running edge to edge, the header extends behind the status bar in its own
5959
+ * colour and keeps its content clear of a landscape notch.
5960
+ */
5961
+ .muka-site-header {
5962
+ width: 100%;
5963
+ flex-shrink: 0;
5964
+ background-color: var(--muka-site-header-background, var(--muka-page-background, var(--color-surface-level3)));
5965
+ padding-top: env(safe-area-inset-top, 0px);
5966
+ }
5967
+
5968
+ .muka-site-header--sticky {
5969
+ position: sticky;
5970
+ top: 0;
5971
+ z-index: 30;
5972
+ border-bottom: var(--border-width-regular) solid var(--color-border-default);
5973
+ }
5974
+
5975
+ /*
5976
+ * A header that scrolls away would leave the status bar over the content. A
5977
+ * fixed strip in the header's colour stays behind the status bar instead.
5978
+ * Below Muka's overlays, so a dialog's backdrop dims it with the page.
5979
+ */
5980
+ .muka-site-header:not(.muka-site-header--sticky)::before {
5981
+ content: '';
5982
+ position: fixed;
5983
+ top: 0;
5984
+ left: 0;
5985
+ right: 0;
5986
+ height: env(safe-area-inset-top, 0px);
5987
+ background-color: inherit;
5988
+ pointer-events: none;
5989
+ z-index: 30;
5990
+ }
5991
+
5992
+ .muka-site-header__inner {
5993
+ display: flex;
5994
+ align-items: center;
5995
+ gap: var(--spacing-2);
5996
+ width: 100%;
5997
+ max-width: var(--container-max-width-xl);
5998
+ margin: 0 auto;
5999
+ padding-block: var(--spacing-6);
6000
+ padding-left: max(var(--spacing-4), env(safe-area-inset-left, 0px));
6001
+ padding-right: max(var(--spacing-4), env(safe-area-inset-right, 0px));
6002
+ }
6003
+
6004
+ .muka-site-header__brand {
6005
+ display: flex;
6006
+ align-items: center;
6007
+ flex-shrink: 0;
6008
+ min-width: 0;
6009
+ }
6010
+
6011
+ .muka-site-header__nav {
6012
+ display: none;
6013
+ align-items: center;
6014
+ gap: var(--spacing-1);
6015
+ min-width: 0;
6016
+ }
6017
+
6018
+ .muka-site-header__actions {
6019
+ display: flex;
6020
+ align-items: center;
6021
+ margin-left: auto;
6022
+ min-width: 0;
6023
+ }
6024
+
6025
+ .muka-site-header__action-group {
6026
+ display: flex;
6027
+ align-items: center;
6028
+ gap: var(--spacing-2);
6029
+ }
6030
+
6031
+ /* Small screens: the compact set replaces the full one. */
6032
+ .muka-site-header__action-group--wide {
6033
+ display: none;
6034
+ }
6035
+
6036
+ @media (min-width: 768px) {
6037
+ .muka-site-header__inner {
6038
+ gap: var(--spacing-4);
6039
+ padding-block: var(--spacing-8);
6040
+ }
6041
+
6042
+ .muka-site-header__nav {
6043
+ display: flex;
6044
+ }
6045
+
6046
+ .muka-site-header__action-group--wide {
6047
+ display: flex;
6048
+ }
6049
+
6050
+ .muka-site-header__action-group--compact {
6051
+ display: none;
6052
+ }
6053
+ }
6054
+
6055
+ /*
6056
+ * layout="full" (Figma Public header, Bouwplan): the content spans the width,
6057
+ * the nav sits between brand and actions (space-between), and the inset grows
6058
+ * with the screen: 24/16 on small screens, 16/24 from 768px, 32 from 1536px.
6059
+ * Safe-area insets still win where they are larger.
6060
+ */
6061
+ .muka-site-header--full .muka-site-header__inner {
6062
+ max-width: none;
6063
+ justify-content: space-between;
6064
+ }
6065
+
6066
+ .muka-site-header--full .muka-site-header__actions {
6067
+ margin-left: 0;
6068
+ }
6069
+
6070
+ @media (min-width: 768px) {
6071
+ .muka-site-header--full .muka-site-header__inner {
6072
+ padding-block: var(--spacing-4);
6073
+ padding-left: max(var(--spacing-6), env(safe-area-inset-left, 0px));
6074
+ padding-right: max(var(--spacing-6), env(safe-area-inset-right, 0px));
6075
+ }
6076
+ }
6077
+
6078
+ @media (min-width: 1536px) {
6079
+ .muka-site-header--full .muka-site-header__inner {
6080
+ padding-block: var(--spacing-8);
6081
+ padding-left: max(var(--spacing-8), env(safe-area-inset-left, 0px));
6082
+ padding-right: max(var(--spacing-8), env(safe-area-inset-right, 0px));
6083
+ }
6084
+ }
6085
+
6086
+ /* Small screens: no nav, so the actions take the end on their own. */
6087
+ @media (max-width: 767px) {
6088
+ .muka-site-header--full .muka-site-header__actions {
6089
+ margin-left: auto;
6090
+ }
6091
+ }
6092
+
6093
+
5949
6094
  /* Sheet */
5950
6095
  /* Sheet Component Styles */
5951
6096
 
@@ -6222,217 +6367,72 @@ body {
6222
6367
  }
6223
6368
 
6224
6369
 
6225
- /* SiteHeader */
6226
- /* SiteHeader Component Styles */
6227
-
6228
- /*
6229
- * Header for document-scrolling pages. Its colour comes from, in order:
6230
- * `--muka-site-header-background` (set by the consumer), the surrounding
6231
- * Page's `--muka-page-background`, and the base surface.
6232
- *
6233
- * Safe areas: env(safe-area-inset-*) is 0 outside notched devices. In an app
6234
- * running edge to edge, the header extends behind the status bar in its own
6235
- * colour and keeps its content clear of a landscape notch.
6236
- */
6237
- .muka-site-header {
6238
- width: 100%;
6239
- flex-shrink: 0;
6240
- background-color: var(--muka-site-header-background, var(--muka-page-background, var(--color-surface-level3)));
6241
- padding-top: env(safe-area-inset-top, 0px);
6242
- }
6370
+ /* SegmentGroup */
6371
+ /* SegmentGroup Component Styles - Using Muka Design Tokens */
6243
6372
 
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);
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;
6249
6383
  }
6250
6384
 
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 {
6385
+ /* Inset shadow on container */
6386
+ .muka-segmentgroup::after {
6257
6387
  content: '';
6258
- position: fixed;
6259
- top: 0;
6260
- left: 0;
6261
- right: 0;
6262
- height: env(safe-area-inset-top, 0px);
6263
- background-color: inherit;
6388
+ position: absolute;
6389
+ inset: 0;
6390
+ border-radius: inherit;
6391
+ box-shadow: var(--segmentgroup-container-shadow);
6264
6392
  pointer-events: none;
6265
- z-index: 30;
6266
6393
  }
6267
6394
 
6268
- .muka-site-header__inner {
6269
- display: flex;
6270
- align-items: center;
6271
- gap: var(--spacing-2);
6395
+ /* Full width variant */
6396
+ .muka-segmentgroup--full-width {
6272
6397
  width: 100%;
6273
- max-width: var(--container-max-width-xl);
6274
- margin: 0 auto;
6275
- padding-block: var(--spacing-6);
6276
- padding-left: max(var(--spacing-4), env(safe-area-inset-left, 0px));
6277
- padding-right: max(var(--spacing-4), env(safe-area-inset-right, 0px));
6278
6398
  }
6279
6399
 
6280
- .muka-site-header__brand {
6281
- display: flex;
6282
- align-items: center;
6283
- flex-shrink: 0;
6284
- min-width: 0;
6400
+ .muka-segmentgroup--full-width .muka-segmentgroup__segment {
6401
+ flex: 1;
6285
6402
  }
6286
6403
 
6287
- .muka-site-header__nav {
6288
- display: none;
6289
- align-items: center;
6290
- gap: var(--spacing-1);
6291
- min-width: 0;
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;
6292
6416
  }
6293
6417
 
6294
- .muka-site-header__actions {
6295
- display: flex;
6418
+ /* Segment button */
6419
+ .muka-segmentgroup__segment {
6420
+ display: inline-flex;
6296
6421
  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;
6416
- }
6417
-
6418
- /* Segment button */
6419
- .muka-segmentgroup__segment {
6420
- display: inline-flex;
6421
- align-items: center;
6422
- justify-content: center;
6423
- gap: var(--segmentgroup-segment-gap);
6424
- border: none;
6425
- background-color: var(--segmentgroup-segment-color-unselected-background);
6426
- color: var(--segmentgroup-segment-color-unselected-foreground);
6427
- border-radius: var(--segmentgroup-segment-radius);
6428
- cursor: pointer;
6429
- transition: background-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
6430
- position: relative;
6431
- outline: none;
6432
- box-shadow: var(--segmentgroup-segment-shadow-unselected);
6433
- font-family: var(--alias-font-plain-family);
6434
- font-weight: var(--segmentgroup-segment-fontWeight);
6435
- z-index: 1; /* Keep above pill */
6422
+ justify-content: center;
6423
+ gap: var(--segmentgroup-segment-gap);
6424
+ border: none;
6425
+ background-color: var(--segmentgroup-segment-color-unselected-background);
6426
+ color: var(--segmentgroup-segment-color-unselected-foreground);
6427
+ border-radius: var(--segmentgroup-segment-radius);
6428
+ cursor: pointer;
6429
+ transition: background-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
6430
+ position: relative;
6431
+ outline: none;
6432
+ box-shadow: var(--segmentgroup-segment-shadow-unselected);
6433
+ font-family: var(--alias-font-plain-family);
6434
+ font-weight: var(--segmentgroup-segment-fontWeight);
6435
+ z-index: 1; /* Keep above pill */
6436
6436
  }
6437
6437
 
6438
6438
  /* Size variants */
@@ -6971,252 +6971,83 @@ body {
6971
6971
  }
6972
6972
 
6973
6973
 
6974
- /* SearchInput */
6975
- /* SearchInput Component Styles */
6976
-
6977
- .muka-search-input {
6978
- display: flex;
6979
- align-items: center;
6980
- gap: var(--spacing-3);
6981
- width: 100%;
6982
- }
6983
-
6984
- /* ─── Field wrapper ───────────────────────────────────── */
6974
+ /* RadioTile */
6975
+ /* RadioTile Component Styles - Using Muka Design Tokens */
6985
6976
 
6986
- .muka-search-input__field {
6987
- flex: 1 1 auto;
6977
+ /* Base tile styles - horizontal */
6978
+ .muka-radio-tile {
6988
6979
  display: flex;
6989
6980
  align-items: center;
6990
- gap: var(--spacing-2);
6991
- background-color: var(--input-field-color-default-background);
6981
+ gap: var(--spacing-4);
6982
+ padding: var(--spacing-4);
6992
6983
  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;
6996
- }
6997
-
6998
- .muka-search-input--focused .muka-search-input__field {
6999
- border-color: var(--input-field-color-focus-border, var(--color-action-default));
6984
+ border-radius: var(--input-field-radius-lg);
6985
+ background-color: var(--color-surface-level3);
6986
+ cursor: pointer;
6987
+ transition: border-color 0.15s ease, border-width 0.15s ease;
6988
+ overflow: hidden;
6989
+ box-sizing: border-box;
7000
6990
  }
7001
6991
 
7002
- /* ─── Sizes ───────────────────────────────────────────── */
7003
-
7004
- .muka-search-input--sm .muka-search-input__field {
7005
- min-height: var(--input-field-height-sm);
7006
- border-radius: var(--input-field-radius-sm);
6992
+ .muka-radio-tile--disabled {
6993
+ cursor: not-allowed;
6994
+ opacity: 0.6;
7007
6995
  }
7008
6996
 
7009
- .muka-search-input--md .muka-search-input__field {
7010
- min-height: var(--input-field-height-default);
6997
+ /* Selected state */
6998
+ .muka-radio-tile[data-checked] {
6999
+ border-width: var(--border-width-bold);
7000
+ border-color: var(--color-action-default);
7011
7001
  }
7012
7002
 
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);
7003
+ /* Vertical layout */
7004
+ .muka-radio-tile--vertical {
7005
+ flex-direction: column;
7006
+ align-items: center;
7007
+ gap: var(--spacing-2);
7008
+ position: relative;
7009
+ width: 160px;
7016
7010
  }
7017
7011
 
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;
7012
+ /* Radio container */
7013
+ .muka-radio-tile__radio {
7014
+ flex-shrink: 0;
7023
7015
  }
7024
7016
 
7025
- .muka-search-input--embedded.muka-search-input--focused .muka-search-input__field {
7026
- border-color: transparent;
7027
- background-color: var(--color-surface-level2);
7017
+ /* Corner-positioned radio for vertical */
7018
+ .muka-radio-tile__radio--corner {
7019
+ position: absolute;
7020
+ top: var(--spacing-4);
7021
+ left: var(--spacing-4);
7028
7022
  }
7029
7023
 
7030
- /* ─── Disabled ────────────────────────────────────────── */
7031
-
7032
- .muka-search-input--disabled .muka-search-input__field {
7033
- opacity: 0.5;
7034
- pointer-events: none;
7024
+ /* Adjust corner position when selected (border is thicker) */
7025
+ .muka-radio-tile[data-checked] .muka-radio-tile__radio--corner {
7026
+ top: calc(var(--spacing-4) - 1px);
7027
+ left: calc(var(--spacing-4) - 1px);
7035
7028
  }
7036
7029
 
7037
- /* ─── Leading icon ────────────────────────────────────── */
7038
-
7039
- .muka-search-input__leading {
7040
- display: inline-flex;
7030
+ /* Icon */
7031
+ .muka-radio-tile__icon {
7032
+ display: flex;
7041
7033
  align-items: center;
7042
7034
  justify-content: center;
7043
7035
  flex-shrink: 0;
7044
- color: var(--color-text-subtle-default);
7036
+ width: var(--icon-size-default);
7037
+ height: var(--icon-size-default);
7038
+ color: var(--color-text-default-default);
7045
7039
  }
7046
7040
 
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;
7041
+ .muka-radio-tile__icon svg {
7042
+ width: 100%;
7043
+ height: 100%;
7063
7044
  }
7064
7045
 
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);
7046
+ /* Image */
7047
+ .muka-radio-tile__image {
7048
+ flex-shrink: 0;
7049
+ overflow: hidden;
7050
+ border-radius: var(--border-radius-sm);
7220
7051
  }
7221
7052
 
7222
7053
  .muka-radio-tile__image img {
@@ -7427,97 +7258,266 @@ body {
7427
7258
  }
7428
7259
 
7429
7260
 
7430
- /* PullToRefresh */
7431
- /* PullToRefresh Component Styles */
7261
+ /* SearchInput */
7262
+ /* SearchInput Component Styles */
7432
7263
 
7433
- .muka-pull-to-refresh {
7434
- position: relative;
7264
+ .muka-search-input {
7435
7265
  display: flex;
7436
- flex-direction: column;
7266
+ align-items: center;
7267
+ gap: var(--spacing-3);
7437
7268
  width: 100%;
7438
- height: 100%;
7439
- overflow: hidden;
7440
7269
  }
7441
7270
 
7442
- .muka-pull-to-refresh__indicator {
7443
- position: absolute;
7444
- top: 0;
7445
- left: 0;
7446
- right: 0;
7447
- display: flex;
7448
- align-items: flex-end;
7449
- justify-content: center;
7450
- padding-bottom: var(--spacing-2);
7451
- color: var(--color-text-subtle-default);
7452
- overflow: hidden;
7453
- pointer-events: none;
7454
- z-index: 1;
7455
- }
7271
+ /* ─── Field wrapper ───────────────────────────────────── */
7456
7272
 
7457
- .muka-pull-to-refresh__chevron {
7458
- display: inline-flex;
7273
+ .muka-search-input__field {
7274
+ flex: 1 1 auto;
7275
+ display: flex;
7459
7276
  align-items: center;
7460
- justify-content: center;
7461
- transition: transform 0.16s ease;
7277
+ gap: var(--spacing-2);
7278
+ background-color: var(--input-field-color-default-background);
7279
+ border: var(--border-width-regular) solid var(--input-field-color-default-border);
7280
+ border-radius: var(--input-field-radius-md);
7281
+ padding: 0 var(--input-field-padding-x);
7282
+ transition: border-color 0.12s ease, background-color 0.12s ease;
7462
7283
  }
7463
7284
 
7464
- .muka-pull-to-refresh__scroller {
7465
- flex: 1 1 auto;
7466
- min-height: 0;
7467
- width: 100%;
7468
- overflow-x: clip;
7469
- overflow-y: auto;
7470
- -webkit-overflow-scrolling: touch;
7471
- overscroll-behavior-y: contain;
7472
- touch-action: pan-y;
7473
- will-change: transform;
7285
+ .muka-search-input--focused .muka-search-input__field {
7286
+ border-color: var(--input-field-color-focus-border, var(--color-action-default));
7474
7287
  }
7475
7288
 
7289
+ /* ─── Sizes ───────────────────────────────────────────── */
7476
7290
 
7477
- /* ProgressTracker */
7478
- /* ProgressTracker Component Styles — Using Muka Design Tokens */
7479
-
7480
- /* ─── Root ──────────────────────────────────────────────── */
7481
- .muka-progress-tracker {
7482
- width: 100%;
7291
+ .muka-search-input--sm .muka-search-input__field {
7292
+ min-height: var(--input-field-height-sm);
7293
+ border-radius: var(--input-field-radius-sm);
7483
7294
  }
7484
7295
 
7485
- .muka-progress-tracker--horizontal {
7486
- padding-bottom: var(--spacing-7);
7296
+ .muka-search-input--md .muka-search-input__field {
7297
+ min-height: var(--input-field-height-default);
7487
7298
  }
7488
7299
 
7489
- /* Scrollable: the root scrolls sideways when the steps don't fit. The inline
7490
- padding leaves room for the first and last labels, which hang past their
7491
- indicators; the scrollbar stays hidden (touch and trackpad still scroll). */
7492
- .muka-progress-tracker--scrollable {
7493
- overflow-x: auto;
7494
- overflow-y: hidden;
7495
- -webkit-overflow-scrolling: touch;
7496
- scrollbar-width: none;
7497
- padding-inline: var(--spacing-12);
7498
- box-sizing: border-box;
7300
+ .muka-search-input--lg .muka-search-input__field {
7301
+ min-height: var(--input-field-height-lg);
7302
+ border-radius: var(--input-field-radius-lg);
7499
7303
  }
7500
7304
 
7501
- .muka-progress-tracker--scrollable::-webkit-scrollbar {
7502
- display: none;
7503
- }
7305
+ /* ─── Embedded variant (e.g. inside TopBar) ───────────── */
7504
7306
 
7505
- /* ─── Track (layered container) ─────────────────────────── */
7506
- .muka-progress-tracker--horizontal .muka-progress-tracker__track {
7507
- position: relative;
7508
- /* Vertical padding = (indicator size - connector height) / 2 = (32 - 4) / 2 = 14px */
7509
- padding-top: 14px;
7510
- padding-bottom: 14px;
7307
+ .muka-search-input--embedded .muka-search-input__field {
7308
+ background-color: var(--color-surface-level1);
7309
+ border-color: transparent;
7511
7310
  }
7512
7311
 
7513
- /* ─── Steps layer (on top) — horizontal ─────────────────── */
7514
- .muka-progress-tracker--horizontal .muka-progress-tracker__steps {
7515
- position: absolute;
7516
- inset: 0;
7517
- display: flex;
7518
- align-items: flex-start;
7519
- justify-content: space-between;
7520
- z-index: 2;
7312
+ .muka-search-input--embedded.muka-search-input--focused .muka-search-input__field {
7313
+ border-color: transparent;
7314
+ background-color: var(--color-surface-level2);
7315
+ }
7316
+
7317
+ /* ─── Disabled ────────────────────────────────────────── */
7318
+
7319
+ .muka-search-input--disabled .muka-search-input__field {
7320
+ opacity: 0.5;
7321
+ pointer-events: none;
7322
+ }
7323
+
7324
+ /* ─── Leading icon ────────────────────────────────────── */
7325
+
7326
+ .muka-search-input__leading {
7327
+ display: inline-flex;
7328
+ align-items: center;
7329
+ justify-content: center;
7330
+ flex-shrink: 0;
7331
+ color: var(--color-text-subtle-default);
7332
+ }
7333
+
7334
+ /* ─── Input element ───────────────────────────────────── */
7335
+
7336
+ .muka-search-input__input {
7337
+ flex: 1 1 auto;
7338
+ min-width: 0;
7339
+ border: none;
7340
+ background: transparent;
7341
+ outline: none;
7342
+ padding: 0;
7343
+ color: var(--color-text-default-default);
7344
+ font-family: var(--text-body-base-regular-fontFamily);
7345
+ font-weight: var(--text-body-base-regular-fontWeight);
7346
+ font-size: var(--text-body-base-regular-fontSize);
7347
+ line-height: var(--text-body-base-regular-lineHeight);
7348
+ appearance: none;
7349
+ -webkit-appearance: none;
7350
+ }
7351
+
7352
+ .muka-search-input__input::placeholder {
7353
+ color: var(--color-text-subtle-default);
7354
+ }
7355
+
7356
+ /* Hide the browser-supplied clear button (WebKit + Edge) */
7357
+ .muka-search-input__input::-webkit-search-cancel-button,
7358
+ .muka-search-input__input::-webkit-search-decoration {
7359
+ -webkit-appearance: none;
7360
+ appearance: none;
7361
+ }
7362
+
7363
+ .muka-search-input__input::-ms-clear {
7364
+ display: none;
7365
+ }
7366
+
7367
+ /* ─── Trailing slot (loading spinner) ─────────────────── */
7368
+
7369
+ .muka-search-input__trailing {
7370
+ display: inline-flex;
7371
+ align-items: center;
7372
+ justify-content: center;
7373
+ flex-shrink: 0;
7374
+ }
7375
+
7376
+ /* ─── Clear button ────────────────────────────────────── */
7377
+
7378
+ .muka-search-input__clear {
7379
+ display: inline-flex;
7380
+ align-items: center;
7381
+ justify-content: center;
7382
+ width: 20px;
7383
+ height: 20px;
7384
+ border: none;
7385
+ background: none;
7386
+ padding: 0;
7387
+ cursor: pointer;
7388
+ color: var(--color-text-subtle-default);
7389
+ flex-shrink: 0;
7390
+ -webkit-tap-highlight-color: transparent;
7391
+ }
7392
+
7393
+ .muka-search-input__clear:hover {
7394
+ color: var(--color-text-default-default);
7395
+ }
7396
+
7397
+ .muka-search-input__clear:focus-visible {
7398
+ outline: 2px solid var(--color-action-default);
7399
+ outline-offset: 2px;
7400
+ border-radius: 50%;
7401
+ }
7402
+
7403
+ /* ─── Cancel button ───────────────────────────────────── */
7404
+
7405
+ .muka-search-input__cancel {
7406
+ flex-shrink: 0;
7407
+ background: none;
7408
+ border: none;
7409
+ padding: var(--spacing-1) var(--spacing-2);
7410
+ cursor: pointer;
7411
+ color: var(--color-action-default);
7412
+ font-family: var(--text-label-md-regular-fontFamily);
7413
+ font-weight: var(--text-label-md-regular-fontWeight);
7414
+ font-size: var(--text-label-md-regular-fontSize);
7415
+ line-height: var(--text-label-md-regular-lineHeight);
7416
+ -webkit-tap-highlight-color: transparent;
7417
+ }
7418
+
7419
+ .muka-search-input__cancel:hover {
7420
+ color: var(--color-action-hover);
7421
+ }
7422
+
7423
+ .muka-search-input__cancel:focus-visible {
7424
+ outline: 2px solid var(--color-action-default);
7425
+ outline-offset: 2px;
7426
+ border-radius: var(--radius-sm);
7427
+ }
7428
+
7429
+
7430
+ /* PullToRefresh */
7431
+ /* PullToRefresh Component Styles */
7432
+
7433
+ .muka-pull-to-refresh {
7434
+ position: relative;
7435
+ display: flex;
7436
+ flex-direction: column;
7437
+ width: 100%;
7438
+ height: 100%;
7439
+ overflow: hidden;
7440
+ }
7441
+
7442
+ .muka-pull-to-refresh__indicator {
7443
+ position: absolute;
7444
+ top: 0;
7445
+ left: 0;
7446
+ right: 0;
7447
+ display: flex;
7448
+ align-items: flex-end;
7449
+ justify-content: center;
7450
+ padding-bottom: var(--spacing-2);
7451
+ color: var(--color-text-subtle-default);
7452
+ overflow: hidden;
7453
+ pointer-events: none;
7454
+ z-index: 1;
7455
+ }
7456
+
7457
+ .muka-pull-to-refresh__chevron {
7458
+ display: inline-flex;
7459
+ align-items: center;
7460
+ justify-content: center;
7461
+ transition: transform 0.16s ease;
7462
+ }
7463
+
7464
+ .muka-pull-to-refresh__scroller {
7465
+ flex: 1 1 auto;
7466
+ min-height: 0;
7467
+ width: 100%;
7468
+ overflow-x: clip;
7469
+ overflow-y: auto;
7470
+ -webkit-overflow-scrolling: touch;
7471
+ overscroll-behavior-y: contain;
7472
+ touch-action: pan-y;
7473
+ will-change: transform;
7474
+ }
7475
+
7476
+
7477
+ /* ProgressTracker */
7478
+ /* ProgressTracker Component Styles — Using Muka Design Tokens */
7479
+
7480
+ /* ─── Root ──────────────────────────────────────────────── */
7481
+ .muka-progress-tracker {
7482
+ width: 100%;
7483
+ }
7484
+
7485
+ .muka-progress-tracker--horizontal {
7486
+ padding-bottom: var(--spacing-7);
7487
+ }
7488
+
7489
+ /* Scrollable: the root scrolls sideways when the steps don't fit. The inline
7490
+ padding leaves room for the first and last labels, which hang past their
7491
+ indicators; the scrollbar stays hidden (touch and trackpad still scroll). */
7492
+ .muka-progress-tracker--scrollable {
7493
+ overflow-x: auto;
7494
+ overflow-y: hidden;
7495
+ -webkit-overflow-scrolling: touch;
7496
+ scrollbar-width: none;
7497
+ padding-inline: var(--spacing-12);
7498
+ box-sizing: border-box;
7499
+ }
7500
+
7501
+ .muka-progress-tracker--scrollable::-webkit-scrollbar {
7502
+ display: none;
7503
+ }
7504
+
7505
+ /* ─── Track (layered container) ─────────────────────────── */
7506
+ .muka-progress-tracker--horizontal .muka-progress-tracker__track {
7507
+ position: relative;
7508
+ /* Vertical padding = (indicator size - connector height) / 2 = (32 - 4) / 2 = 14px */
7509
+ padding-top: 14px;
7510
+ padding-bottom: 14px;
7511
+ }
7512
+
7513
+ /* ─── Steps layer (on top) — horizontal ─────────────────── */
7514
+ .muka-progress-tracker--horizontal .muka-progress-tracker__steps {
7515
+ position: absolute;
7516
+ inset: 0;
7517
+ display: flex;
7518
+ align-items: flex-start;
7519
+ justify-content: space-between;
7520
+ z-index: 2;
7521
7521
  }
7522
7522
 
7523
7523
  /* ─── Individual step — horizontal ──────────────────────── */
@@ -8468,48 +8468,162 @@ button.muka-progress-tracker__tab:focus-visible {
8468
8468
  }
8469
8469
 
8470
8470
 
8471
- /* PriceTag */
8472
- /* PriceTag Component Styles - Using Muka Design Tokens */
8471
+ /* ProfileBadge */
8472
+ /* ProfileBadge Component Styles - Using Muka Design Tokens */
8473
8473
 
8474
- .muka-price-tag {
8475
- display: flex;
8476
- flex-shrink: 0;
8474
+ .muka-profile-badge {
8475
+ display: inline-flex;
8476
+ max-width: 100%;
8477
+ min-width: 0;
8478
+ align-items: center;
8479
+ font-family: var(--text-body-base-regular-fontFamily);
8477
8480
  }
8478
8481
 
8479
- /* Medium: stacked layout (price on top, unit below) */
8480
- .muka-price-tag--md {
8481
- flex-direction: column;
8482
- align-items: flex-end;
8483
- justify-content: center;
8482
+ /* Size variants */
8483
+ .muka-profile-badge--lg {
8484
+ gap: var(--spacing-4); /* 16px */
8484
8485
  }
8485
8486
 
8486
- /* Small: inline layout */
8487
- .muka-price-tag--sm {
8488
- flex-direction: row;
8489
- align-items: center;
8490
- gap: 3px;
8487
+ .muka-profile-badge--md {
8488
+ gap: var(--spacing-3); /* 12px */
8491
8489
  }
8492
8490
 
8493
- /* Amount row: currency + numbers */
8494
- .muka-price-tag__amount {
8495
- display: flex;
8496
- align-items: flex-start;
8497
- gap: var(--spacing-1);
8491
+ .muka-profile-badge--sm {
8492
+ gap: var(--spacing-2); /* 8px */
8498
8493
  }
8499
8494
 
8500
- .muka-price-tag--sm .muka-price-tag__amount {
8501
- align-items: center;
8495
+ .muka-profile-badge__avatar {
8496
+ flex-shrink: 0;
8502
8497
  }
8503
8498
 
8504
- /* Numbers group: whole + decimal + cents */
8505
- .muka-price-tag__numbers {
8499
+ /* Text stack */
8500
+ .muka-profile-badge__text {
8506
8501
  display: flex;
8507
- align-items: baseline;
8502
+ flex-direction: column;
8503
+ align-items: flex-start;
8504
+ min-width: 0;
8508
8505
  }
8509
8506
 
8510
- /* ─── Medium size typography ──────────────────────────── */
8511
-
8512
- .muka-price-tag--md .muka-price-tag__currency {
8507
+ .muka-profile-badge__name {
8508
+ max-width: 100%;
8509
+ overflow: hidden;
8510
+ text-overflow: ellipsis;
8511
+ white-space: nowrap;
8512
+ font-family: var(--text-body-base-regular-fontFamily);
8513
+ font-size: var(--text-body-base-regular-fontSize);
8514
+ font-weight: var(--text-body-base-regular-fontWeight);
8515
+ line-height: var(--text-body-base-regular-lineHeight);
8516
+ color: var(--color-text-default-default);
8517
+ }
8518
+
8519
+ .muka-profile-badge__email {
8520
+ font-family: var(--text-body-xs-regular-fontFamily);
8521
+ font-size: var(--text-body-xs-regular-fontSize);
8522
+ font-weight: var(--text-body-xs-regular-fontWeight);
8523
+ line-height: var(--text-body-xs-regular-lineHeight);
8524
+ color: var(--color-text-subtle-default);
8525
+ }
8526
+
8527
+ /* Clickable state */
8528
+ .muka-profile-badge--clickable {
8529
+ cursor: pointer;
8530
+ border: none;
8531
+ background: none;
8532
+ padding: 0;
8533
+ text-align: left;
8534
+ border-radius: var(--radius-md);
8535
+ transition: opacity 0.2s ease;
8536
+ }
8537
+
8538
+ .muka-profile-badge--clickable:hover {
8539
+ opacity: 0.9;
8540
+ }
8541
+
8542
+ .muka-profile-badge--clickable:active {
8543
+ opacity: 0.8;
8544
+ }
8545
+
8546
+ .muka-profile-badge--clickable:focus-visible {
8547
+ outline: 2px solid var(--color-border-focus);
8548
+ outline-offset: 2px;
8549
+ }
8550
+
8551
+ /* Trailing chevron: the badge opens a menu */
8552
+ .muka-profile-badge__chevron {
8553
+ flex-shrink: 0;
8554
+ }
8555
+
8556
+ /*
8557
+ * A clickable badge with a chevron is a pill (Figma Profile Badge, Bouwplan
8558
+ * header): 4px inset on the avatar side, 12px after the chevron. The border
8559
+ * is an inset shadow so it appears on hover and while the menu is open
8560
+ * without moving the content.
8561
+ */
8562
+ .muka-profile-badge--clickable.muka-profile-badge--with-chevron {
8563
+ padding: var(--spacing-1) var(--spacing-3) var(--spacing-1) var(--spacing-1);
8564
+ border-radius: var(--radius-full);
8565
+ transition: box-shadow 0.2s ease;
8566
+ }
8567
+
8568
+ .muka-profile-badge--clickable.muka-profile-badge--with-chevron:hover,
8569
+ .muka-profile-badge--clickable.muka-profile-badge--with-chevron:active {
8570
+ opacity: 1;
8571
+ }
8572
+
8573
+ .muka-profile-badge--clickable.muka-profile-badge--with-chevron:hover,
8574
+ .muka-profile-badge--clickable.muka-profile-badge--with-chevron[aria-expanded='true'],
8575
+ .muka-profile-badge--clickable.muka-profile-badge--with-chevron[data-state='open'] {
8576
+ box-shadow: inset 0 0 0 var(--border-width-regular) var(--button-color-ghost-border-hover);
8577
+ }
8578
+
8579
+ /* A badge without an avatar keeps the 12px start inset */
8580
+ .muka-profile-badge--clickable.muka-profile-badge--with-chevron:not(:has(.muka-profile-badge__avatar)) {
8581
+ padding-left: var(--spacing-3);
8582
+ }
8583
+
8584
+
8585
+ /* PriceTag */
8586
+ /* PriceTag Component Styles - Using Muka Design Tokens */
8587
+
8588
+ .muka-price-tag {
8589
+ display: flex;
8590
+ flex-shrink: 0;
8591
+ }
8592
+
8593
+ /* Medium: stacked layout (price on top, unit below) */
8594
+ .muka-price-tag--md {
8595
+ flex-direction: column;
8596
+ align-items: flex-end;
8597
+ justify-content: center;
8598
+ }
8599
+
8600
+ /* Small: inline layout */
8601
+ .muka-price-tag--sm {
8602
+ flex-direction: row;
8603
+ align-items: center;
8604
+ gap: 3px;
8605
+ }
8606
+
8607
+ /* Amount row: currency + numbers */
8608
+ .muka-price-tag__amount {
8609
+ display: flex;
8610
+ align-items: flex-start;
8611
+ gap: var(--spacing-1);
8612
+ }
8613
+
8614
+ .muka-price-tag--sm .muka-price-tag__amount {
8615
+ align-items: center;
8616
+ }
8617
+
8618
+ /* Numbers group: whole + decimal + cents */
8619
+ .muka-price-tag__numbers {
8620
+ display: flex;
8621
+ align-items: baseline;
8622
+ }
8623
+
8624
+ /* ─── Medium size typography ──────────────────────────── */
8625
+
8626
+ .muka-price-tag--md .muka-price-tag__currency {
8513
8627
  font-family: var(--text-subheading-md-fontFamily);
8514
8628
  font-weight: var(--text-subheading-md-fontWeight);
8515
8629
  font-size: var(--text-subheading-md-fontSize);
@@ -9227,120 +9341,6 @@ button.muka-progress-tracker__tab:focus-visible {
9227
9341
  }
9228
9342
 
9229
9343
 
9230
- /* ProfileBadge */
9231
- /* ProfileBadge Component Styles - Using Muka Design Tokens */
9232
-
9233
- .muka-profile-badge {
9234
- display: inline-flex;
9235
- max-width: 100%;
9236
- min-width: 0;
9237
- align-items: center;
9238
- font-family: var(--text-body-base-regular-fontFamily);
9239
- }
9240
-
9241
- /* Size variants */
9242
- .muka-profile-badge--lg {
9243
- gap: var(--spacing-4); /* 16px */
9244
- }
9245
-
9246
- .muka-profile-badge--md {
9247
- gap: var(--spacing-3); /* 12px */
9248
- }
9249
-
9250
- .muka-profile-badge--sm {
9251
- gap: var(--spacing-2); /* 8px */
9252
- }
9253
-
9254
- .muka-profile-badge__avatar {
9255
- flex-shrink: 0;
9256
- }
9257
-
9258
- /* Text stack */
9259
- .muka-profile-badge__text {
9260
- display: flex;
9261
- flex-direction: column;
9262
- align-items: flex-start;
9263
- min-width: 0;
9264
- }
9265
-
9266
- .muka-profile-badge__name {
9267
- max-width: 100%;
9268
- overflow: hidden;
9269
- text-overflow: ellipsis;
9270
- white-space: nowrap;
9271
- font-family: var(--text-body-base-regular-fontFamily);
9272
- font-size: var(--text-body-base-regular-fontSize);
9273
- font-weight: var(--text-body-base-regular-fontWeight);
9274
- line-height: var(--text-body-base-regular-lineHeight);
9275
- color: var(--color-text-default-default);
9276
- }
9277
-
9278
- .muka-profile-badge__email {
9279
- font-family: var(--text-body-xs-regular-fontFamily);
9280
- font-size: var(--text-body-xs-regular-fontSize);
9281
- font-weight: var(--text-body-xs-regular-fontWeight);
9282
- line-height: var(--text-body-xs-regular-lineHeight);
9283
- color: var(--color-text-subtle-default);
9284
- }
9285
-
9286
- /* Clickable state */
9287
- .muka-profile-badge--clickable {
9288
- cursor: pointer;
9289
- border: none;
9290
- background: none;
9291
- padding: 0;
9292
- text-align: left;
9293
- border-radius: var(--radius-md);
9294
- transition: opacity 0.2s ease;
9295
- }
9296
-
9297
- .muka-profile-badge--clickable:hover {
9298
- opacity: 0.9;
9299
- }
9300
-
9301
- .muka-profile-badge--clickable:active {
9302
- opacity: 0.8;
9303
- }
9304
-
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;
9313
- }
9314
-
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;
9325
- }
9326
-
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;
9330
- }
9331
-
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);
9336
- }
9337
-
9338
- /* A badge without an avatar keeps the 12px start inset */
9339
- .muka-profile-badge--clickable.muka-profile-badge--with-chevron:not(:has(.muka-profile-badge__avatar)) {
9340
- padding-left: var(--spacing-3);
9341
- }
9342
-
9343
-
9344
9344
  /* PhotoDraftStrip */
9345
9345
  /* PhotoDraftStrip Component Styles */
9346
9346
 
@@ -11676,158 +11676,17 @@ li.muka-listitem {
11676
11676
  }
11677
11677
 
11678
11678
 
11679
- /* EmptyState */
11680
- /* EmptyState Component Styles - Using Muka Design Tokens */
11679
+ /* FAB */
11680
+ /* FAB (Floating Action Button) Component Styles */
11681
11681
 
11682
- .muka-emptystate {
11683
- display: flex;
11684
- flex-direction: column;
11682
+ .muka-fab {
11683
+ position: fixed;
11684
+ z-index: 40;
11685
+
11686
+ display: inline-flex;
11685
11687
  align-items: center;
11686
11688
  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);
11710
- }
11711
-
11712
- /* Visual (icon or illustration) */
11713
- .muka-emptystate__visual {
11714
- display: flex;
11715
- align-items: center;
11716
- justify-content: center;
11717
- color: var(--emptystate-icon-color);
11718
- flex-shrink: 0;
11719
- }
11720
-
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 {
11737
- width: 100%;
11738
- height: 100%;
11739
- }
11740
-
11741
- .muka-emptystate__visual img {
11742
- width: 100%;
11743
- height: 100%;
11744
- object-fit: contain;
11745
- }
11746
-
11747
- /* Content */
11748
- .muka-emptystate__content {
11749
- display: flex;
11750
- flex-direction: column;
11751
- gap: var(--spacing-2);
11752
- }
11753
-
11754
- .muka-emptystate--left .muka-emptystate__content {
11755
- align-items: flex-start;
11756
- }
11757
-
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);
11766
- }
11767
-
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);
11773
- }
11774
-
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);
11780
- }
11781
-
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);
11790
- }
11791
-
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);
11797
- }
11798
-
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);
11804
- }
11805
-
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;
11813
- }
11814
-
11815
- .muka-emptystate--left .muka-emptystate__actions {
11816
- justify-content: flex-start;
11817
- }
11818
-
11819
-
11820
- /* FAB */
11821
- /* FAB (Floating Action Button) Component Styles */
11822
-
11823
- .muka-fab {
11824
- position: fixed;
11825
- z-index: 40;
11826
-
11827
- display: inline-flex;
11828
- align-items: center;
11829
- justify-content: center;
11830
- gap: var(--spacing-2);
11689
+ gap: var(--spacing-2);
11831
11690
 
11832
11691
  border: none;
11833
11692
  cursor: pointer;
@@ -11958,6 +11817,147 @@ li.muka-listitem {
11958
11817
  }
11959
11818
 
11960
11819
 
11820
+ /* EmptyState */
11821
+ /* EmptyState Component Styles - Using Muka Design Tokens */
11822
+
11823
+ .muka-emptystate {
11824
+ display: flex;
11825
+ flex-direction: column;
11826
+ align-items: center;
11827
+ justify-content: center;
11828
+ gap: var(--emptystate-container-gap);
11829
+ max-width: var(--emptystate-container-maxWidth);
11830
+ margin: 0 auto;
11831
+ text-align: center;
11832
+ }
11833
+
11834
+ /* Alignment variants */
11835
+ .muka-emptystate--left {
11836
+ align-items: flex-start;
11837
+ text-align: left;
11838
+ }
11839
+
11840
+ /* Size variants */
11841
+ .muka-emptystate--sm {
11842
+ padding: var(--emptystate-container-padding-sm);
11843
+ }
11844
+
11845
+ .muka-emptystate--md {
11846
+ padding: var(--emptystate-container-padding-md);
11847
+ }
11848
+
11849
+ .muka-emptystate--lg {
11850
+ padding: var(--emptystate-container-padding-lg);
11851
+ }
11852
+
11853
+ /* Visual (icon or illustration) */
11854
+ .muka-emptystate__visual {
11855
+ display: flex;
11856
+ align-items: center;
11857
+ justify-content: center;
11858
+ color: var(--emptystate-icon-color);
11859
+ flex-shrink: 0;
11860
+ }
11861
+
11862
+ .muka-emptystate--sm .muka-emptystate__visual {
11863
+ width: var(--emptystate-icon-size-sm);
11864
+ height: var(--emptystate-icon-size-sm);
11865
+ }
11866
+
11867
+ .muka-emptystate--md .muka-emptystate__visual {
11868
+ width: var(--emptystate-icon-size-md);
11869
+ height: var(--emptystate-icon-size-md);
11870
+ }
11871
+
11872
+ .muka-emptystate--lg .muka-emptystate__visual {
11873
+ width: var(--emptystate-icon-size-lg);
11874
+ height: var(--emptystate-icon-size-lg);
11875
+ }
11876
+
11877
+ .muka-emptystate__visual svg {
11878
+ width: 100%;
11879
+ height: 100%;
11880
+ }
11881
+
11882
+ .muka-emptystate__visual img {
11883
+ width: 100%;
11884
+ height: 100%;
11885
+ object-fit: contain;
11886
+ }
11887
+
11888
+ /* Content */
11889
+ .muka-emptystate__content {
11890
+ display: flex;
11891
+ flex-direction: column;
11892
+ gap: var(--spacing-2);
11893
+ }
11894
+
11895
+ .muka-emptystate--left .muka-emptystate__content {
11896
+ align-items: flex-start;
11897
+ }
11898
+
11899
+ /* Title */
11900
+ .muka-emptystate__title {
11901
+ color: var(--emptystate-title-color);
11902
+ margin: 0;
11903
+ font-family: var(--text-heading-sm-fontFamily);
11904
+ font-weight: var(--text-heading-sm-fontWeight);
11905
+ font-size: var(--text-heading-sm-fontSize);
11906
+ line-height: var(--text-heading-sm-lineHeight);
11907
+ }
11908
+
11909
+ .muka-emptystate--sm .muka-emptystate__title {
11910
+ font-family: var(--text-label-lg-semibold-fontFamily);
11911
+ font-weight: var(--text-label-lg-semibold-fontWeight);
11912
+ font-size: var(--text-label-lg-semibold-fontSize);
11913
+ line-height: var(--text-label-lg-semibold-lineHeight);
11914
+ }
11915
+
11916
+ .muka-emptystate--lg .muka-emptystate__title {
11917
+ font-family: var(--text-heading-md-fontFamily);
11918
+ font-weight: var(--text-heading-md-fontWeight);
11919
+ font-size: var(--text-heading-md-fontSize);
11920
+ line-height: var(--text-heading-md-lineHeight);
11921
+ }
11922
+
11923
+ /* Description */
11924
+ .muka-emptystate__description {
11925
+ color: var(--emptystate-description-color);
11926
+ margin: 0;
11927
+ font-family: var(--text-body-sm-regular-fontFamily);
11928
+ font-weight: var(--text-body-sm-regular-fontWeight);
11929
+ font-size: var(--text-body-sm-regular-fontSize);
11930
+ line-height: var(--text-body-sm-regular-lineHeight);
11931
+ }
11932
+
11933
+ .muka-emptystate--md .muka-emptystate__description {
11934
+ font-family: var(--text-body-base-regular-fontFamily);
11935
+ font-weight: var(--text-body-base-regular-fontWeight);
11936
+ font-size: var(--text-body-base-regular-fontSize);
11937
+ line-height: var(--text-body-base-regular-lineHeight);
11938
+ }
11939
+
11940
+ .muka-emptystate--lg .muka-emptystate__description {
11941
+ font-family: var(--text-body-lg-regular-fontFamily);
11942
+ font-weight: var(--text-body-lg-regular-fontWeight);
11943
+ font-size: var(--text-body-lg-regular-fontSize);
11944
+ line-height: var(--text-body-lg-regular-lineHeight);
11945
+ }
11946
+
11947
+ /* Actions */
11948
+ .muka-emptystate__actions {
11949
+ display: flex;
11950
+ gap: var(--emptystate-actions-gap);
11951
+ margin-top: var(--emptystate-actions-marginTop);
11952
+ flex-wrap: wrap;
11953
+ justify-content: center;
11954
+ }
11955
+
11956
+ .muka-emptystate--left .muka-emptystate__actions {
11957
+ justify-content: flex-start;
11958
+ }
11959
+
11960
+
11961
11961
  /* EmojiPicker */
11962
11962
  /* EmojiPicker Component Styles */
11963
11963