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