@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.
@@ -5880,6 +5880,151 @@ body {
5880
5880
  }
5881
5881
 
5882
5882
 
5883
+ /* SiteHeader */
5884
+ /* SiteHeader Component Styles */
5885
+
5886
+ /*
5887
+ * Header for document-scrolling pages. Its colour comes from, in order:
5888
+ * `--muka-site-header-background` (set by the consumer), the surrounding
5889
+ * Page's `--muka-page-background`, and the base surface.
5890
+ *
5891
+ * Safe areas: env(safe-area-inset-*) is 0 outside notched devices. In an app
5892
+ * running edge to edge, the header extends behind the status bar in its own
5893
+ * colour and keeps its content clear of a landscape notch.
5894
+ */
5895
+ .muka-site-header {
5896
+ width: 100%;
5897
+ flex-shrink: 0;
5898
+ background-color: var(--muka-site-header-background, var(--muka-page-background, var(--color-surface-level3)));
5899
+ padding-top: env(safe-area-inset-top, 0px);
5900
+ }
5901
+
5902
+ .muka-site-header--sticky {
5903
+ position: sticky;
5904
+ top: 0;
5905
+ z-index: 30;
5906
+ border-bottom: var(--border-width-regular) solid var(--color-border-default);
5907
+ }
5908
+
5909
+ /*
5910
+ * A header that scrolls away would leave the status bar over the content. A
5911
+ * fixed strip in the header's colour stays behind the status bar instead.
5912
+ * Below Muka's overlays, so a dialog's backdrop dims it with the page.
5913
+ */
5914
+ .muka-site-header:not(.muka-site-header--sticky)::before {
5915
+ content: '';
5916
+ position: fixed;
5917
+ top: 0;
5918
+ left: 0;
5919
+ right: 0;
5920
+ height: env(safe-area-inset-top, 0px);
5921
+ background-color: inherit;
5922
+ pointer-events: none;
5923
+ z-index: 30;
5924
+ }
5925
+
5926
+ .muka-site-header__inner {
5927
+ display: flex;
5928
+ align-items: center;
5929
+ gap: var(--spacing-2);
5930
+ width: 100%;
5931
+ max-width: var(--container-max-width-xl);
5932
+ margin: 0 auto;
5933
+ padding-block: var(--spacing-6);
5934
+ padding-left: max(var(--spacing-4), env(safe-area-inset-left, 0px));
5935
+ padding-right: max(var(--spacing-4), env(safe-area-inset-right, 0px));
5936
+ }
5937
+
5938
+ .muka-site-header__brand {
5939
+ display: flex;
5940
+ align-items: center;
5941
+ flex-shrink: 0;
5942
+ min-width: 0;
5943
+ }
5944
+
5945
+ .muka-site-header__nav {
5946
+ display: none;
5947
+ align-items: center;
5948
+ gap: var(--spacing-1);
5949
+ min-width: 0;
5950
+ }
5951
+
5952
+ .muka-site-header__actions {
5953
+ display: flex;
5954
+ align-items: center;
5955
+ margin-left: auto;
5956
+ min-width: 0;
5957
+ }
5958
+
5959
+ .muka-site-header__action-group {
5960
+ display: flex;
5961
+ align-items: center;
5962
+ gap: var(--spacing-2);
5963
+ }
5964
+
5965
+ /* Small screens: the compact set replaces the full one. */
5966
+ .muka-site-header__action-group--wide {
5967
+ display: none;
5968
+ }
5969
+
5970
+ @media (min-width: 768px) {
5971
+ .muka-site-header__inner {
5972
+ gap: var(--spacing-4);
5973
+ padding-block: var(--spacing-8);
5974
+ }
5975
+
5976
+ .muka-site-header__nav {
5977
+ display: flex;
5978
+ }
5979
+
5980
+ .muka-site-header__action-group--wide {
5981
+ display: flex;
5982
+ }
5983
+
5984
+ .muka-site-header__action-group--compact {
5985
+ display: none;
5986
+ }
5987
+ }
5988
+
5989
+ /*
5990
+ * layout="full" (Figma Public header, Bouwplan): the content spans the width,
5991
+ * the nav sits between brand and actions (space-between), and the inset grows
5992
+ * with the screen: 24/16 on small screens, 16/24 from 768px, 32 from 1536px.
5993
+ * Safe-area insets still win where they are larger.
5994
+ */
5995
+ .muka-site-header--full .muka-site-header__inner {
5996
+ max-width: none;
5997
+ justify-content: space-between;
5998
+ }
5999
+
6000
+ .muka-site-header--full .muka-site-header__actions {
6001
+ margin-left: 0;
6002
+ }
6003
+
6004
+ @media (min-width: 768px) {
6005
+ .muka-site-header--full .muka-site-header__inner {
6006
+ padding-block: var(--spacing-4);
6007
+ padding-left: max(var(--spacing-6), env(safe-area-inset-left, 0px));
6008
+ padding-right: max(var(--spacing-6), env(safe-area-inset-right, 0px));
6009
+ }
6010
+ }
6011
+
6012
+ @media (min-width: 1536px) {
6013
+ .muka-site-header--full .muka-site-header__inner {
6014
+ padding-block: var(--spacing-8);
6015
+ padding-left: max(var(--spacing-8), env(safe-area-inset-left, 0px));
6016
+ padding-right: max(var(--spacing-8), env(safe-area-inset-right, 0px));
6017
+ }
6018
+ }
6019
+
6020
+ /* Small screens: no nav, so the actions take the end on their own. */
6021
+ @media (max-width: 767px) {
6022
+ .muka-site-header--full .muka-site-header__actions {
6023
+ margin-left: auto;
6024
+ }
6025
+ }
6026
+
6027
+
5883
6028
  /* Sheet */
5884
6029
  /* Sheet Component Styles */
5885
6030
 
@@ -6156,217 +6301,72 @@ body {
6156
6301
  }
6157
6302
 
6158
6303
 
6159
- /* SiteHeader */
6160
- /* SiteHeader Component Styles */
6161
-
6162
- /*
6163
- * Header for document-scrolling pages. Its colour comes from, in order:
6164
- * `--muka-site-header-background` (set by the consumer), the surrounding
6165
- * Page's `--muka-page-background`, and the base surface.
6166
- *
6167
- * Safe areas: env(safe-area-inset-*) is 0 outside notched devices. In an app
6168
- * running edge to edge, the header extends behind the status bar in its own
6169
- * colour and keeps its content clear of a landscape notch.
6170
- */
6171
- .muka-site-header {
6172
- width: 100%;
6173
- flex-shrink: 0;
6174
- background-color: var(--muka-site-header-background, var(--muka-page-background, var(--color-surface-level3)));
6175
- padding-top: env(safe-area-inset-top, 0px);
6176
- }
6304
+ /* SegmentGroup */
6305
+ /* SegmentGroup Component Styles - Using Muka Design Tokens */
6177
6306
 
6178
- .muka-site-header--sticky {
6179
- position: sticky;
6180
- top: 0;
6181
- z-index: 30;
6182
- border-bottom: var(--border-width-regular) solid var(--color-border-default);
6307
+ /* Container */
6308
+ .muka-segmentgroup {
6309
+ display: inline-flex;
6310
+ align-items: center;
6311
+ gap: 0;
6312
+ padding: var(--segmentgroup-container-padding);
6313
+ background-color: var(--segmentgroup-container-background);
6314
+ border-radius: var(--segmentgroup-container-radius);
6315
+ position: relative;
6316
+ transition: background-color 0.2s ease, box-shadow 0.2s ease;
6183
6317
  }
6184
6318
 
6185
- /*
6186
- * A header that scrolls away would leave the status bar over the content. A
6187
- * fixed strip in the header's colour stays behind the status bar instead.
6188
- * Below Muka's overlays, so a dialog's backdrop dims it with the page.
6189
- */
6190
- .muka-site-header:not(.muka-site-header--sticky)::before {
6319
+ /* Inset shadow on container */
6320
+ .muka-segmentgroup::after {
6191
6321
  content: '';
6192
- position: fixed;
6193
- top: 0;
6194
- left: 0;
6195
- right: 0;
6196
- height: env(safe-area-inset-top, 0px);
6197
- background-color: inherit;
6322
+ position: absolute;
6323
+ inset: 0;
6324
+ border-radius: inherit;
6325
+ box-shadow: var(--segmentgroup-container-shadow);
6198
6326
  pointer-events: none;
6199
- z-index: 30;
6200
6327
  }
6201
6328
 
6202
- .muka-site-header__inner {
6203
- display: flex;
6204
- align-items: center;
6205
- gap: var(--spacing-2);
6329
+ /* Full width variant */
6330
+ .muka-segmentgroup--full-width {
6206
6331
  width: 100%;
6207
- max-width: var(--container-max-width-xl);
6208
- margin: 0 auto;
6209
- padding-block: var(--spacing-6);
6210
- padding-left: max(var(--spacing-4), env(safe-area-inset-left, 0px));
6211
- padding-right: max(var(--spacing-4), env(safe-area-inset-right, 0px));
6212
6332
  }
6213
6333
 
6214
- .muka-site-header__brand {
6215
- display: flex;
6216
- align-items: center;
6217
- flex-shrink: 0;
6218
- min-width: 0;
6334
+ .muka-segmentgroup--full-width .muka-segmentgroup__segment {
6335
+ flex: 1;
6219
6336
  }
6220
6337
 
6221
- .muka-site-header__nav {
6222
- display: none;
6223
- align-items: center;
6224
- gap: var(--spacing-1);
6225
- min-width: 0;
6338
+ /* Pill */
6339
+ .muka-segmentgroup__pill {
6340
+ position: absolute;
6341
+ top: var(--segmentgroup-container-padding);
6342
+ bottom: var(--segmentgroup-container-padding);
6343
+ left: 0;
6344
+ margin: 0;
6345
+ background-color: var(--segmentgroup-segment-color-selected-background);
6346
+ box-shadow: var(--segmentgroup-segment-shadow-selected);
6347
+ transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), width 0.25s cubic-bezier(0.4, 0, 0.2, 1);
6348
+ z-index: 0;
6349
+ pointer-events: none;
6226
6350
  }
6227
6351
 
6228
- .muka-site-header__actions {
6229
- display: flex;
6352
+ /* Segment button */
6353
+ .muka-segmentgroup__segment {
6354
+ display: inline-flex;
6230
6355
  align-items: center;
6231
- margin-left: auto;
6232
- min-width: 0;
6233
- }
6234
-
6235
- .muka-site-header__action-group {
6236
- display: flex;
6237
- align-items: center;
6238
- gap: var(--spacing-2);
6239
- }
6240
-
6241
- /* Small screens: the compact set replaces the full one. */
6242
- .muka-site-header__action-group--wide {
6243
- display: none;
6244
- }
6245
-
6246
- @media (min-width: 768px) {
6247
- .muka-site-header__inner {
6248
- gap: var(--spacing-4);
6249
- padding-block: var(--spacing-8);
6250
- }
6251
-
6252
- .muka-site-header__nav {
6253
- display: flex;
6254
- }
6255
-
6256
- .muka-site-header__action-group--wide {
6257
- display: flex;
6258
- }
6259
-
6260
- .muka-site-header__action-group--compact {
6261
- display: none;
6262
- }
6263
- }
6264
-
6265
- /*
6266
- * layout="full" (Figma Public header, Bouwplan): the content spans the width,
6267
- * the nav sits between brand and actions (space-between), and the inset grows
6268
- * with the screen: 24/16 on small screens, 16/24 from 768px, 32 from 1536px.
6269
- * Safe-area insets still win where they are larger.
6270
- */
6271
- .muka-site-header--full .muka-site-header__inner {
6272
- max-width: none;
6273
- justify-content: space-between;
6274
- }
6275
-
6276
- .muka-site-header--full .muka-site-header__actions {
6277
- margin-left: 0;
6278
- }
6279
-
6280
- @media (min-width: 768px) {
6281
- .muka-site-header--full .muka-site-header__inner {
6282
- padding-block: var(--spacing-4);
6283
- padding-left: max(var(--spacing-6), env(safe-area-inset-left, 0px));
6284
- padding-right: max(var(--spacing-6), env(safe-area-inset-right, 0px));
6285
- }
6286
- }
6287
-
6288
- @media (min-width: 1536px) {
6289
- .muka-site-header--full .muka-site-header__inner {
6290
- padding-block: var(--spacing-8);
6291
- padding-left: max(var(--spacing-8), env(safe-area-inset-left, 0px));
6292
- padding-right: max(var(--spacing-8), env(safe-area-inset-right, 0px));
6293
- }
6294
- }
6295
-
6296
- /* Small screens: no nav, so the actions take the end on their own. */
6297
- @media (max-width: 767px) {
6298
- .muka-site-header--full .muka-site-header__actions {
6299
- margin-left: auto;
6300
- }
6301
- }
6302
-
6303
-
6304
- /* SegmentGroup */
6305
- /* SegmentGroup Component Styles - Using Muka Design Tokens */
6306
-
6307
- /* Container */
6308
- .muka-segmentgroup {
6309
- display: inline-flex;
6310
- align-items: center;
6311
- gap: 0;
6312
- padding: var(--segmentgroup-container-padding);
6313
- background-color: var(--segmentgroup-container-background);
6314
- border-radius: var(--segmentgroup-container-radius);
6315
- position: relative;
6316
- transition: background-color 0.2s ease, box-shadow 0.2s ease;
6317
- }
6318
-
6319
- /* Inset shadow on container */
6320
- .muka-segmentgroup::after {
6321
- content: '';
6322
- position: absolute;
6323
- inset: 0;
6324
- border-radius: inherit;
6325
- box-shadow: var(--segmentgroup-container-shadow);
6326
- pointer-events: none;
6327
- }
6328
-
6329
- /* Full width variant */
6330
- .muka-segmentgroup--full-width {
6331
- width: 100%;
6332
- }
6333
-
6334
- .muka-segmentgroup--full-width .muka-segmentgroup__segment {
6335
- flex: 1;
6336
- }
6337
-
6338
- /* Pill */
6339
- .muka-segmentgroup__pill {
6340
- position: absolute;
6341
- top: var(--segmentgroup-container-padding);
6342
- bottom: var(--segmentgroup-container-padding);
6343
- left: 0;
6344
- margin: 0;
6345
- background-color: var(--segmentgroup-segment-color-selected-background);
6346
- box-shadow: var(--segmentgroup-segment-shadow-selected);
6347
- transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), width 0.25s cubic-bezier(0.4, 0, 0.2, 1);
6348
- z-index: 0;
6349
- pointer-events: none;
6350
- }
6351
-
6352
- /* Segment button */
6353
- .muka-segmentgroup__segment {
6354
- display: inline-flex;
6355
- align-items: center;
6356
- justify-content: center;
6357
- gap: var(--segmentgroup-segment-gap);
6358
- border: none;
6359
- background-color: var(--segmentgroup-segment-color-unselected-background);
6360
- color: var(--segmentgroup-segment-color-unselected-foreground);
6361
- border-radius: var(--segmentgroup-segment-radius);
6362
- cursor: pointer;
6363
- transition: background-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
6364
- position: relative;
6365
- outline: none;
6366
- box-shadow: var(--segmentgroup-segment-shadow-unselected);
6367
- font-family: var(--alias-font-plain-family);
6368
- font-weight: var(--segmentgroup-segment-fontWeight);
6369
- z-index: 1; /* Keep above pill */
6356
+ justify-content: center;
6357
+ gap: var(--segmentgroup-segment-gap);
6358
+ border: none;
6359
+ background-color: var(--segmentgroup-segment-color-unselected-background);
6360
+ color: var(--segmentgroup-segment-color-unselected-foreground);
6361
+ border-radius: var(--segmentgroup-segment-radius);
6362
+ cursor: pointer;
6363
+ transition: background-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
6364
+ position: relative;
6365
+ outline: none;
6366
+ box-shadow: var(--segmentgroup-segment-shadow-unselected);
6367
+ font-family: var(--alias-font-plain-family);
6368
+ font-weight: var(--segmentgroup-segment-fontWeight);
6369
+ z-index: 1; /* Keep above pill */
6370
6370
  }
6371
6371
 
6372
6372
  /* Size variants */
@@ -6905,252 +6905,83 @@ body {
6905
6905
  }
6906
6906
 
6907
6907
 
6908
- /* SearchInput */
6909
- /* SearchInput Component Styles */
6910
-
6911
- .muka-search-input {
6912
- display: flex;
6913
- align-items: center;
6914
- gap: var(--spacing-3);
6915
- width: 100%;
6916
- }
6917
-
6918
- /* ─── Field wrapper ───────────────────────────────────── */
6908
+ /* RadioTile */
6909
+ /* RadioTile Component Styles - Using Muka Design Tokens */
6919
6910
 
6920
- .muka-search-input__field {
6921
- flex: 1 1 auto;
6911
+ /* Base tile styles - horizontal */
6912
+ .muka-radio-tile {
6922
6913
  display: flex;
6923
6914
  align-items: center;
6924
- gap: var(--spacing-2);
6925
- background-color: var(--input-field-color-default-background);
6915
+ gap: var(--spacing-4);
6916
+ padding: var(--spacing-4);
6926
6917
  border: var(--border-width-regular) solid var(--input-field-color-default-border);
6927
- border-radius: var(--input-field-radius-md);
6928
- padding: 0 var(--input-field-padding-x);
6929
- transition: border-color 0.12s ease, background-color 0.12s ease;
6930
- }
6931
-
6932
- .muka-search-input--focused .muka-search-input__field {
6933
- border-color: var(--input-field-color-focus-border, var(--color-action-default));
6918
+ border-radius: var(--input-field-radius-lg);
6919
+ background-color: var(--color-surface-level3);
6920
+ cursor: pointer;
6921
+ transition: border-color 0.15s ease, border-width 0.15s ease;
6922
+ overflow: hidden;
6923
+ box-sizing: border-box;
6934
6924
  }
6935
6925
 
6936
- /* ─── Sizes ───────────────────────────────────────────── */
6937
-
6938
- .muka-search-input--sm .muka-search-input__field {
6939
- min-height: var(--input-field-height-sm);
6940
- border-radius: var(--input-field-radius-sm);
6926
+ .muka-radio-tile--disabled {
6927
+ cursor: not-allowed;
6928
+ opacity: 0.6;
6941
6929
  }
6942
6930
 
6943
- .muka-search-input--md .muka-search-input__field {
6944
- min-height: var(--input-field-height-default);
6931
+ /* Selected state */
6932
+ .muka-radio-tile[data-checked] {
6933
+ border-width: var(--border-width-bold);
6934
+ border-color: var(--color-action-default);
6945
6935
  }
6946
6936
 
6947
- .muka-search-input--lg .muka-search-input__field {
6948
- min-height: var(--input-field-height-lg);
6949
- border-radius: var(--input-field-radius-lg);
6937
+ /* Vertical layout */
6938
+ .muka-radio-tile--vertical {
6939
+ flex-direction: column;
6940
+ align-items: center;
6941
+ gap: var(--spacing-2);
6942
+ position: relative;
6943
+ width: 160px;
6950
6944
  }
6951
6945
 
6952
- /* ─── Embedded variant (e.g. inside TopBar) ───────────── */
6953
-
6954
- .muka-search-input--embedded .muka-search-input__field {
6955
- background-color: var(--color-surface-level1);
6956
- border-color: transparent;
6946
+ /* Radio container */
6947
+ .muka-radio-tile__radio {
6948
+ flex-shrink: 0;
6957
6949
  }
6958
6950
 
6959
- .muka-search-input--embedded.muka-search-input--focused .muka-search-input__field {
6960
- border-color: transparent;
6961
- background-color: var(--color-surface-level2);
6951
+ /* Corner-positioned radio for vertical */
6952
+ .muka-radio-tile__radio--corner {
6953
+ position: absolute;
6954
+ top: var(--spacing-4);
6955
+ left: var(--spacing-4);
6962
6956
  }
6963
6957
 
6964
- /* ─── Disabled ────────────────────────────────────────── */
6965
-
6966
- .muka-search-input--disabled .muka-search-input__field {
6967
- opacity: 0.5;
6968
- pointer-events: none;
6958
+ /* Adjust corner position when selected (border is thicker) */
6959
+ .muka-radio-tile[data-checked] .muka-radio-tile__radio--corner {
6960
+ top: calc(var(--spacing-4) - 1px);
6961
+ left: calc(var(--spacing-4) - 1px);
6969
6962
  }
6970
6963
 
6971
- /* ─── Leading icon ────────────────────────────────────── */
6972
-
6973
- .muka-search-input__leading {
6974
- display: inline-flex;
6964
+ /* Icon */
6965
+ .muka-radio-tile__icon {
6966
+ display: flex;
6975
6967
  align-items: center;
6976
6968
  justify-content: center;
6977
6969
  flex-shrink: 0;
6978
- color: var(--color-text-subtle-default);
6970
+ width: var(--icon-size-default);
6971
+ height: var(--icon-size-default);
6972
+ color: var(--color-text-default-default);
6979
6973
  }
6980
6974
 
6981
- /* ─── Input element ───────────────────────────────────── */
6982
-
6983
- .muka-search-input__input {
6984
- flex: 1 1 auto;
6985
- min-width: 0;
6986
- border: none;
6987
- background: transparent;
6988
- outline: none;
6989
- padding: 0;
6990
- color: var(--color-text-default-default);
6991
- font-family: var(--text-body-base-regular-fontFamily);
6992
- font-weight: var(--text-body-base-regular-fontWeight);
6993
- font-size: var(--text-body-base-regular-fontSize);
6994
- line-height: var(--text-body-base-regular-lineHeight);
6995
- appearance: none;
6996
- -webkit-appearance: none;
6975
+ .muka-radio-tile__icon svg {
6976
+ width: 100%;
6977
+ height: 100%;
6997
6978
  }
6998
6979
 
6999
- .muka-search-input__input::placeholder {
7000
- color: var(--color-text-subtle-default);
7001
- }
7002
-
7003
- /* Hide the browser-supplied clear button (WebKit + Edge) */
7004
- .muka-search-input__input::-webkit-search-cancel-button,
7005
- .muka-search-input__input::-webkit-search-decoration {
7006
- -webkit-appearance: none;
7007
- appearance: none;
7008
- }
7009
-
7010
- .muka-search-input__input::-ms-clear {
7011
- display: none;
7012
- }
7013
-
7014
- /* ─── Trailing slot (loading spinner) ─────────────────── */
7015
-
7016
- .muka-search-input__trailing {
7017
- display: inline-flex;
7018
- align-items: center;
7019
- justify-content: center;
7020
- flex-shrink: 0;
7021
- }
7022
-
7023
- /* ─── Clear button ────────────────────────────────────── */
7024
-
7025
- .muka-search-input__clear {
7026
- display: inline-flex;
7027
- align-items: center;
7028
- justify-content: center;
7029
- width: 20px;
7030
- height: 20px;
7031
- border: none;
7032
- background: none;
7033
- padding: 0;
7034
- cursor: pointer;
7035
- color: var(--color-text-subtle-default);
7036
- flex-shrink: 0;
7037
- -webkit-tap-highlight-color: transparent;
7038
- }
7039
-
7040
- .muka-search-input__clear:hover {
7041
- color: var(--color-text-default-default);
7042
- }
7043
-
7044
- .muka-search-input__clear:focus-visible {
7045
- outline: 2px solid var(--color-action-default);
7046
- outline-offset: 2px;
7047
- border-radius: 50%;
7048
- }
7049
-
7050
- /* ─── Cancel button ───────────────────────────────────── */
7051
-
7052
- .muka-search-input__cancel {
7053
- flex-shrink: 0;
7054
- background: none;
7055
- border: none;
7056
- padding: var(--spacing-1) var(--spacing-2);
7057
- cursor: pointer;
7058
- color: var(--color-action-default);
7059
- font-family: var(--text-label-md-regular-fontFamily);
7060
- font-weight: var(--text-label-md-regular-fontWeight);
7061
- font-size: var(--text-label-md-regular-fontSize);
7062
- line-height: var(--text-label-md-regular-lineHeight);
7063
- -webkit-tap-highlight-color: transparent;
7064
- }
7065
-
7066
- .muka-search-input__cancel:hover {
7067
- color: var(--color-action-hover);
7068
- }
7069
-
7070
- .muka-search-input__cancel:focus-visible {
7071
- outline: 2px solid var(--color-action-default);
7072
- outline-offset: 2px;
7073
- border-radius: var(--radius-sm);
7074
- }
7075
-
7076
-
7077
- /* RadioTile */
7078
- /* RadioTile Component Styles - Using Muka Design Tokens */
7079
-
7080
- /* Base tile styles - horizontal */
7081
- .muka-radio-tile {
7082
- display: flex;
7083
- align-items: center;
7084
- gap: var(--spacing-4);
7085
- padding: var(--spacing-4);
7086
- border: var(--border-width-regular) solid var(--input-field-color-default-border);
7087
- border-radius: var(--input-field-radius-lg);
7088
- background-color: var(--color-surface-level3);
7089
- cursor: pointer;
7090
- transition: border-color 0.15s ease, border-width 0.15s ease;
7091
- overflow: hidden;
7092
- box-sizing: border-box;
7093
- }
7094
-
7095
- .muka-radio-tile--disabled {
7096
- cursor: not-allowed;
7097
- opacity: 0.6;
7098
- }
7099
-
7100
- /* Selected state */
7101
- .muka-radio-tile[data-checked] {
7102
- border-width: var(--border-width-bold);
7103
- border-color: var(--color-action-default);
7104
- }
7105
-
7106
- /* Vertical layout */
7107
- .muka-radio-tile--vertical {
7108
- flex-direction: column;
7109
- align-items: center;
7110
- gap: var(--spacing-2);
7111
- position: relative;
7112
- width: 160px;
7113
- }
7114
-
7115
- /* Radio container */
7116
- .muka-radio-tile__radio {
7117
- flex-shrink: 0;
7118
- }
7119
-
7120
- /* Corner-positioned radio for vertical */
7121
- .muka-radio-tile__radio--corner {
7122
- position: absolute;
7123
- top: var(--spacing-4);
7124
- left: var(--spacing-4);
7125
- }
7126
-
7127
- /* Adjust corner position when selected (border is thicker) */
7128
- .muka-radio-tile[data-checked] .muka-radio-tile__radio--corner {
7129
- top: calc(var(--spacing-4) - 1px);
7130
- left: calc(var(--spacing-4) - 1px);
7131
- }
7132
-
7133
- /* Icon */
7134
- .muka-radio-tile__icon {
7135
- display: flex;
7136
- align-items: center;
7137
- justify-content: center;
7138
- flex-shrink: 0;
7139
- width: var(--icon-size-default);
7140
- height: var(--icon-size-default);
7141
- color: var(--color-text-default-default);
7142
- }
7143
-
7144
- .muka-radio-tile__icon svg {
7145
- width: 100%;
7146
- height: 100%;
7147
- }
7148
-
7149
- /* Image */
7150
- .muka-radio-tile__image {
7151
- flex-shrink: 0;
7152
- overflow: hidden;
7153
- border-radius: var(--border-radius-sm);
6980
+ /* Image */
6981
+ .muka-radio-tile__image {
6982
+ flex-shrink: 0;
6983
+ overflow: hidden;
6984
+ border-radius: var(--border-radius-sm);
7154
6985
  }
7155
6986
 
7156
6987
  .muka-radio-tile__image img {
@@ -7361,97 +7192,266 @@ body {
7361
7192
  }
7362
7193
 
7363
7194
 
7364
- /* PullToRefresh */
7365
- /* PullToRefresh Component Styles */
7195
+ /* SearchInput */
7196
+ /* SearchInput Component Styles */
7366
7197
 
7367
- .muka-pull-to-refresh {
7368
- position: relative;
7198
+ .muka-search-input {
7369
7199
  display: flex;
7370
- flex-direction: column;
7200
+ align-items: center;
7201
+ gap: var(--spacing-3);
7371
7202
  width: 100%;
7372
- height: 100%;
7373
- overflow: hidden;
7374
7203
  }
7375
7204
 
7376
- .muka-pull-to-refresh__indicator {
7377
- position: absolute;
7378
- top: 0;
7379
- left: 0;
7380
- right: 0;
7381
- display: flex;
7382
- align-items: flex-end;
7383
- justify-content: center;
7384
- padding-bottom: var(--spacing-2);
7385
- color: var(--color-text-subtle-default);
7386
- overflow: hidden;
7387
- pointer-events: none;
7388
- z-index: 1;
7389
- }
7205
+ /* ─── Field wrapper ───────────────────────────────────── */
7390
7206
 
7391
- .muka-pull-to-refresh__chevron {
7392
- display: inline-flex;
7207
+ .muka-search-input__field {
7208
+ flex: 1 1 auto;
7209
+ display: flex;
7393
7210
  align-items: center;
7394
- justify-content: center;
7395
- transition: transform 0.16s ease;
7211
+ gap: var(--spacing-2);
7212
+ background-color: var(--input-field-color-default-background);
7213
+ border: var(--border-width-regular) solid var(--input-field-color-default-border);
7214
+ border-radius: var(--input-field-radius-md);
7215
+ padding: 0 var(--input-field-padding-x);
7216
+ transition: border-color 0.12s ease, background-color 0.12s ease;
7396
7217
  }
7397
7218
 
7398
- .muka-pull-to-refresh__scroller {
7399
- flex: 1 1 auto;
7400
- min-height: 0;
7401
- width: 100%;
7402
- overflow-x: clip;
7403
- overflow-y: auto;
7404
- -webkit-overflow-scrolling: touch;
7405
- overscroll-behavior-y: contain;
7406
- touch-action: pan-y;
7407
- will-change: transform;
7219
+ .muka-search-input--focused .muka-search-input__field {
7220
+ border-color: var(--input-field-color-focus-border, var(--color-action-default));
7408
7221
  }
7409
7222
 
7223
+ /* ─── Sizes ───────────────────────────────────────────── */
7410
7224
 
7411
- /* ProgressTracker */
7412
- /* ProgressTracker Component Styles — Using Muka Design Tokens */
7413
-
7414
- /* ─── Root ──────────────────────────────────────────────── */
7415
- .muka-progress-tracker {
7416
- width: 100%;
7225
+ .muka-search-input--sm .muka-search-input__field {
7226
+ min-height: var(--input-field-height-sm);
7227
+ border-radius: var(--input-field-radius-sm);
7417
7228
  }
7418
7229
 
7419
- .muka-progress-tracker--horizontal {
7420
- padding-bottom: var(--spacing-7);
7230
+ .muka-search-input--md .muka-search-input__field {
7231
+ min-height: var(--input-field-height-default);
7421
7232
  }
7422
7233
 
7423
- /* Scrollable: the root scrolls sideways when the steps don't fit. The inline
7424
- padding leaves room for the first and last labels, which hang past their
7425
- indicators; the scrollbar stays hidden (touch and trackpad still scroll). */
7426
- .muka-progress-tracker--scrollable {
7427
- overflow-x: auto;
7428
- overflow-y: hidden;
7429
- -webkit-overflow-scrolling: touch;
7430
- scrollbar-width: none;
7431
- padding-inline: var(--spacing-12);
7432
- box-sizing: border-box;
7234
+ .muka-search-input--lg .muka-search-input__field {
7235
+ min-height: var(--input-field-height-lg);
7236
+ border-radius: var(--input-field-radius-lg);
7433
7237
  }
7434
7238
 
7435
- .muka-progress-tracker--scrollable::-webkit-scrollbar {
7436
- display: none;
7437
- }
7239
+ /* ─── Embedded variant (e.g. inside TopBar) ───────────── */
7438
7240
 
7439
- /* ─── Track (layered container) ─────────────────────────── */
7440
- .muka-progress-tracker--horizontal .muka-progress-tracker__track {
7441
- position: relative;
7442
- /* Vertical padding = (indicator size - connector height) / 2 = (32 - 4) / 2 = 14px */
7443
- padding-top: 14px;
7444
- padding-bottom: 14px;
7241
+ .muka-search-input--embedded .muka-search-input__field {
7242
+ background-color: var(--color-surface-level1);
7243
+ border-color: transparent;
7445
7244
  }
7446
7245
 
7447
- /* ─── Steps layer (on top) — horizontal ─────────────────── */
7448
- .muka-progress-tracker--horizontal .muka-progress-tracker__steps {
7449
- position: absolute;
7450
- inset: 0;
7451
- display: flex;
7452
- align-items: flex-start;
7453
- justify-content: space-between;
7454
- z-index: 2;
7246
+ .muka-search-input--embedded.muka-search-input--focused .muka-search-input__field {
7247
+ border-color: transparent;
7248
+ background-color: var(--color-surface-level2);
7249
+ }
7250
+
7251
+ /* ─── Disabled ────────────────────────────────────────── */
7252
+
7253
+ .muka-search-input--disabled .muka-search-input__field {
7254
+ opacity: 0.5;
7255
+ pointer-events: none;
7256
+ }
7257
+
7258
+ /* ─── Leading icon ────────────────────────────────────── */
7259
+
7260
+ .muka-search-input__leading {
7261
+ display: inline-flex;
7262
+ align-items: center;
7263
+ justify-content: center;
7264
+ flex-shrink: 0;
7265
+ color: var(--color-text-subtle-default);
7266
+ }
7267
+
7268
+ /* ─── Input element ───────────────────────────────────── */
7269
+
7270
+ .muka-search-input__input {
7271
+ flex: 1 1 auto;
7272
+ min-width: 0;
7273
+ border: none;
7274
+ background: transparent;
7275
+ outline: none;
7276
+ padding: 0;
7277
+ color: var(--color-text-default-default);
7278
+ font-family: var(--text-body-base-regular-fontFamily);
7279
+ font-weight: var(--text-body-base-regular-fontWeight);
7280
+ font-size: var(--text-body-base-regular-fontSize);
7281
+ line-height: var(--text-body-base-regular-lineHeight);
7282
+ appearance: none;
7283
+ -webkit-appearance: none;
7284
+ }
7285
+
7286
+ .muka-search-input__input::placeholder {
7287
+ color: var(--color-text-subtle-default);
7288
+ }
7289
+
7290
+ /* Hide the browser-supplied clear button (WebKit + Edge) */
7291
+ .muka-search-input__input::-webkit-search-cancel-button,
7292
+ .muka-search-input__input::-webkit-search-decoration {
7293
+ -webkit-appearance: none;
7294
+ appearance: none;
7295
+ }
7296
+
7297
+ .muka-search-input__input::-ms-clear {
7298
+ display: none;
7299
+ }
7300
+
7301
+ /* ─── Trailing slot (loading spinner) ─────────────────── */
7302
+
7303
+ .muka-search-input__trailing {
7304
+ display: inline-flex;
7305
+ align-items: center;
7306
+ justify-content: center;
7307
+ flex-shrink: 0;
7308
+ }
7309
+
7310
+ /* ─── Clear button ────────────────────────────────────── */
7311
+
7312
+ .muka-search-input__clear {
7313
+ display: inline-flex;
7314
+ align-items: center;
7315
+ justify-content: center;
7316
+ width: 20px;
7317
+ height: 20px;
7318
+ border: none;
7319
+ background: none;
7320
+ padding: 0;
7321
+ cursor: pointer;
7322
+ color: var(--color-text-subtle-default);
7323
+ flex-shrink: 0;
7324
+ -webkit-tap-highlight-color: transparent;
7325
+ }
7326
+
7327
+ .muka-search-input__clear:hover {
7328
+ color: var(--color-text-default-default);
7329
+ }
7330
+
7331
+ .muka-search-input__clear:focus-visible {
7332
+ outline: 2px solid var(--color-action-default);
7333
+ outline-offset: 2px;
7334
+ border-radius: 50%;
7335
+ }
7336
+
7337
+ /* ─── Cancel button ───────────────────────────────────── */
7338
+
7339
+ .muka-search-input__cancel {
7340
+ flex-shrink: 0;
7341
+ background: none;
7342
+ border: none;
7343
+ padding: var(--spacing-1) var(--spacing-2);
7344
+ cursor: pointer;
7345
+ color: var(--color-action-default);
7346
+ font-family: var(--text-label-md-regular-fontFamily);
7347
+ font-weight: var(--text-label-md-regular-fontWeight);
7348
+ font-size: var(--text-label-md-regular-fontSize);
7349
+ line-height: var(--text-label-md-regular-lineHeight);
7350
+ -webkit-tap-highlight-color: transparent;
7351
+ }
7352
+
7353
+ .muka-search-input__cancel:hover {
7354
+ color: var(--color-action-hover);
7355
+ }
7356
+
7357
+ .muka-search-input__cancel:focus-visible {
7358
+ outline: 2px solid var(--color-action-default);
7359
+ outline-offset: 2px;
7360
+ border-radius: var(--radius-sm);
7361
+ }
7362
+
7363
+
7364
+ /* PullToRefresh */
7365
+ /* PullToRefresh Component Styles */
7366
+
7367
+ .muka-pull-to-refresh {
7368
+ position: relative;
7369
+ display: flex;
7370
+ flex-direction: column;
7371
+ width: 100%;
7372
+ height: 100%;
7373
+ overflow: hidden;
7374
+ }
7375
+
7376
+ .muka-pull-to-refresh__indicator {
7377
+ position: absolute;
7378
+ top: 0;
7379
+ left: 0;
7380
+ right: 0;
7381
+ display: flex;
7382
+ align-items: flex-end;
7383
+ justify-content: center;
7384
+ padding-bottom: var(--spacing-2);
7385
+ color: var(--color-text-subtle-default);
7386
+ overflow: hidden;
7387
+ pointer-events: none;
7388
+ z-index: 1;
7389
+ }
7390
+
7391
+ .muka-pull-to-refresh__chevron {
7392
+ display: inline-flex;
7393
+ align-items: center;
7394
+ justify-content: center;
7395
+ transition: transform 0.16s ease;
7396
+ }
7397
+
7398
+ .muka-pull-to-refresh__scroller {
7399
+ flex: 1 1 auto;
7400
+ min-height: 0;
7401
+ width: 100%;
7402
+ overflow-x: clip;
7403
+ overflow-y: auto;
7404
+ -webkit-overflow-scrolling: touch;
7405
+ overscroll-behavior-y: contain;
7406
+ touch-action: pan-y;
7407
+ will-change: transform;
7408
+ }
7409
+
7410
+
7411
+ /* ProgressTracker */
7412
+ /* ProgressTracker Component Styles — Using Muka Design Tokens */
7413
+
7414
+ /* ─── Root ──────────────────────────────────────────────── */
7415
+ .muka-progress-tracker {
7416
+ width: 100%;
7417
+ }
7418
+
7419
+ .muka-progress-tracker--horizontal {
7420
+ padding-bottom: var(--spacing-7);
7421
+ }
7422
+
7423
+ /* Scrollable: the root scrolls sideways when the steps don't fit. The inline
7424
+ padding leaves room for the first and last labels, which hang past their
7425
+ indicators; the scrollbar stays hidden (touch and trackpad still scroll). */
7426
+ .muka-progress-tracker--scrollable {
7427
+ overflow-x: auto;
7428
+ overflow-y: hidden;
7429
+ -webkit-overflow-scrolling: touch;
7430
+ scrollbar-width: none;
7431
+ padding-inline: var(--spacing-12);
7432
+ box-sizing: border-box;
7433
+ }
7434
+
7435
+ .muka-progress-tracker--scrollable::-webkit-scrollbar {
7436
+ display: none;
7437
+ }
7438
+
7439
+ /* ─── Track (layered container) ─────────────────────────── */
7440
+ .muka-progress-tracker--horizontal .muka-progress-tracker__track {
7441
+ position: relative;
7442
+ /* Vertical padding = (indicator size - connector height) / 2 = (32 - 4) / 2 = 14px */
7443
+ padding-top: 14px;
7444
+ padding-bottom: 14px;
7445
+ }
7446
+
7447
+ /* ─── Steps layer (on top) — horizontal ─────────────────── */
7448
+ .muka-progress-tracker--horizontal .muka-progress-tracker__steps {
7449
+ position: absolute;
7450
+ inset: 0;
7451
+ display: flex;
7452
+ align-items: flex-start;
7453
+ justify-content: space-between;
7454
+ z-index: 2;
7455
7455
  }
7456
7456
 
7457
7457
  /* ─── Individual step — horizontal ──────────────────────── */
@@ -8402,48 +8402,162 @@ button.muka-progress-tracker__tab:focus-visible {
8402
8402
  }
8403
8403
 
8404
8404
 
8405
- /* PriceTag */
8406
- /* PriceTag Component Styles - Using Muka Design Tokens */
8405
+ /* ProfileBadge */
8406
+ /* ProfileBadge Component Styles - Using Muka Design Tokens */
8407
8407
 
8408
- .muka-price-tag {
8409
- display: flex;
8410
- flex-shrink: 0;
8408
+ .muka-profile-badge {
8409
+ display: inline-flex;
8410
+ max-width: 100%;
8411
+ min-width: 0;
8412
+ align-items: center;
8413
+ font-family: var(--text-body-base-regular-fontFamily);
8411
8414
  }
8412
8415
 
8413
- /* Medium: stacked layout (price on top, unit below) */
8414
- .muka-price-tag--md {
8415
- flex-direction: column;
8416
- align-items: flex-end;
8417
- justify-content: center;
8416
+ /* Size variants */
8417
+ .muka-profile-badge--lg {
8418
+ gap: var(--spacing-4); /* 16px */
8418
8419
  }
8419
8420
 
8420
- /* Small: inline layout */
8421
- .muka-price-tag--sm {
8422
- flex-direction: row;
8423
- align-items: center;
8424
- gap: 3px;
8421
+ .muka-profile-badge--md {
8422
+ gap: var(--spacing-3); /* 12px */
8425
8423
  }
8426
8424
 
8427
- /* Amount row: currency + numbers */
8428
- .muka-price-tag__amount {
8429
- display: flex;
8430
- align-items: flex-start;
8431
- gap: var(--spacing-1);
8425
+ .muka-profile-badge--sm {
8426
+ gap: var(--spacing-2); /* 8px */
8432
8427
  }
8433
8428
 
8434
- .muka-price-tag--sm .muka-price-tag__amount {
8435
- align-items: center;
8429
+ .muka-profile-badge__avatar {
8430
+ flex-shrink: 0;
8436
8431
  }
8437
8432
 
8438
- /* Numbers group: whole + decimal + cents */
8439
- .muka-price-tag__numbers {
8433
+ /* Text stack */
8434
+ .muka-profile-badge__text {
8440
8435
  display: flex;
8441
- align-items: baseline;
8436
+ flex-direction: column;
8437
+ align-items: flex-start;
8438
+ min-width: 0;
8442
8439
  }
8443
8440
 
8444
- /* ─── Medium size typography ──────────────────────────── */
8445
-
8446
- .muka-price-tag--md .muka-price-tag__currency {
8441
+ .muka-profile-badge__name {
8442
+ max-width: 100%;
8443
+ overflow: hidden;
8444
+ text-overflow: ellipsis;
8445
+ white-space: nowrap;
8446
+ font-family: var(--text-body-base-regular-fontFamily);
8447
+ font-size: var(--text-body-base-regular-fontSize);
8448
+ font-weight: var(--text-body-base-regular-fontWeight);
8449
+ line-height: var(--text-body-base-regular-lineHeight);
8450
+ color: var(--color-text-default-default);
8451
+ }
8452
+
8453
+ .muka-profile-badge__email {
8454
+ font-family: var(--text-body-xs-regular-fontFamily);
8455
+ font-size: var(--text-body-xs-regular-fontSize);
8456
+ font-weight: var(--text-body-xs-regular-fontWeight);
8457
+ line-height: var(--text-body-xs-regular-lineHeight);
8458
+ color: var(--color-text-subtle-default);
8459
+ }
8460
+
8461
+ /* Clickable state */
8462
+ .muka-profile-badge--clickable {
8463
+ cursor: pointer;
8464
+ border: none;
8465
+ background: none;
8466
+ padding: 0;
8467
+ text-align: left;
8468
+ border-radius: var(--radius-md);
8469
+ transition: opacity 0.2s ease;
8470
+ }
8471
+
8472
+ .muka-profile-badge--clickable:hover {
8473
+ opacity: 0.9;
8474
+ }
8475
+
8476
+ .muka-profile-badge--clickable:active {
8477
+ opacity: 0.8;
8478
+ }
8479
+
8480
+ .muka-profile-badge--clickable:focus-visible {
8481
+ outline: 2px solid var(--color-border-focus);
8482
+ outline-offset: 2px;
8483
+ }
8484
+
8485
+ /* Trailing chevron: the badge opens a menu */
8486
+ .muka-profile-badge__chevron {
8487
+ flex-shrink: 0;
8488
+ }
8489
+
8490
+ /*
8491
+ * A clickable badge with a chevron is a pill (Figma Profile Badge, Bouwplan
8492
+ * header): 4px inset on the avatar side, 12px after the chevron. The border
8493
+ * is an inset shadow so it appears on hover and while the menu is open
8494
+ * without moving the content.
8495
+ */
8496
+ .muka-profile-badge--clickable.muka-profile-badge--with-chevron {
8497
+ padding: var(--spacing-1) var(--spacing-3) var(--spacing-1) var(--spacing-1);
8498
+ border-radius: var(--radius-full);
8499
+ transition: box-shadow 0.2s ease;
8500
+ }
8501
+
8502
+ .muka-profile-badge--clickable.muka-profile-badge--with-chevron:hover,
8503
+ .muka-profile-badge--clickable.muka-profile-badge--with-chevron:active {
8504
+ opacity: 1;
8505
+ }
8506
+
8507
+ .muka-profile-badge--clickable.muka-profile-badge--with-chevron:hover,
8508
+ .muka-profile-badge--clickable.muka-profile-badge--with-chevron[aria-expanded='true'],
8509
+ .muka-profile-badge--clickable.muka-profile-badge--with-chevron[data-state='open'] {
8510
+ box-shadow: inset 0 0 0 var(--border-width-regular) var(--button-color-ghost-border-hover);
8511
+ }
8512
+
8513
+ /* A badge without an avatar keeps the 12px start inset */
8514
+ .muka-profile-badge--clickable.muka-profile-badge--with-chevron:not(:has(.muka-profile-badge__avatar)) {
8515
+ padding-left: var(--spacing-3);
8516
+ }
8517
+
8518
+
8519
+ /* PriceTag */
8520
+ /* PriceTag Component Styles - Using Muka Design Tokens */
8521
+
8522
+ .muka-price-tag {
8523
+ display: flex;
8524
+ flex-shrink: 0;
8525
+ }
8526
+
8527
+ /* Medium: stacked layout (price on top, unit below) */
8528
+ .muka-price-tag--md {
8529
+ flex-direction: column;
8530
+ align-items: flex-end;
8531
+ justify-content: center;
8532
+ }
8533
+
8534
+ /* Small: inline layout */
8535
+ .muka-price-tag--sm {
8536
+ flex-direction: row;
8537
+ align-items: center;
8538
+ gap: 3px;
8539
+ }
8540
+
8541
+ /* Amount row: currency + numbers */
8542
+ .muka-price-tag__amount {
8543
+ display: flex;
8544
+ align-items: flex-start;
8545
+ gap: var(--spacing-1);
8546
+ }
8547
+
8548
+ .muka-price-tag--sm .muka-price-tag__amount {
8549
+ align-items: center;
8550
+ }
8551
+
8552
+ /* Numbers group: whole + decimal + cents */
8553
+ .muka-price-tag__numbers {
8554
+ display: flex;
8555
+ align-items: baseline;
8556
+ }
8557
+
8558
+ /* ─── Medium size typography ──────────────────────────── */
8559
+
8560
+ .muka-price-tag--md .muka-price-tag__currency {
8447
8561
  font-family: var(--text-subheading-md-fontFamily);
8448
8562
  font-weight: var(--text-subheading-md-fontWeight);
8449
8563
  font-size: var(--text-subheading-md-fontSize);
@@ -9161,120 +9275,6 @@ button.muka-progress-tracker__tab:focus-visible {
9161
9275
  }
9162
9276
 
9163
9277
 
9164
- /* ProfileBadge */
9165
- /* ProfileBadge Component Styles - Using Muka Design Tokens */
9166
-
9167
- .muka-profile-badge {
9168
- display: inline-flex;
9169
- max-width: 100%;
9170
- min-width: 0;
9171
- align-items: center;
9172
- font-family: var(--text-body-base-regular-fontFamily);
9173
- }
9174
-
9175
- /* Size variants */
9176
- .muka-profile-badge--lg {
9177
- gap: var(--spacing-4); /* 16px */
9178
- }
9179
-
9180
- .muka-profile-badge--md {
9181
- gap: var(--spacing-3); /* 12px */
9182
- }
9183
-
9184
- .muka-profile-badge--sm {
9185
- gap: var(--spacing-2); /* 8px */
9186
- }
9187
-
9188
- .muka-profile-badge__avatar {
9189
- flex-shrink: 0;
9190
- }
9191
-
9192
- /* Text stack */
9193
- .muka-profile-badge__text {
9194
- display: flex;
9195
- flex-direction: column;
9196
- align-items: flex-start;
9197
- min-width: 0;
9198
- }
9199
-
9200
- .muka-profile-badge__name {
9201
- max-width: 100%;
9202
- overflow: hidden;
9203
- text-overflow: ellipsis;
9204
- white-space: nowrap;
9205
- font-family: var(--text-body-base-regular-fontFamily);
9206
- font-size: var(--text-body-base-regular-fontSize);
9207
- font-weight: var(--text-body-base-regular-fontWeight);
9208
- line-height: var(--text-body-base-regular-lineHeight);
9209
- color: var(--color-text-default-default);
9210
- }
9211
-
9212
- .muka-profile-badge__email {
9213
- font-family: var(--text-body-xs-regular-fontFamily);
9214
- font-size: var(--text-body-xs-regular-fontSize);
9215
- font-weight: var(--text-body-xs-regular-fontWeight);
9216
- line-height: var(--text-body-xs-regular-lineHeight);
9217
- color: var(--color-text-subtle-default);
9218
- }
9219
-
9220
- /* Clickable state */
9221
- .muka-profile-badge--clickable {
9222
- cursor: pointer;
9223
- border: none;
9224
- background: none;
9225
- padding: 0;
9226
- text-align: left;
9227
- border-radius: var(--radius-md);
9228
- transition: opacity 0.2s ease;
9229
- }
9230
-
9231
- .muka-profile-badge--clickable:hover {
9232
- opacity: 0.9;
9233
- }
9234
-
9235
- .muka-profile-badge--clickable:active {
9236
- opacity: 0.8;
9237
- }
9238
-
9239
- .muka-profile-badge--clickable:focus-visible {
9240
- outline: 2px solid var(--color-border-focus);
9241
- outline-offset: 2px;
9242
- }
9243
-
9244
- /* Trailing chevron: the badge opens a menu */
9245
- .muka-profile-badge__chevron {
9246
- flex-shrink: 0;
9247
- }
9248
-
9249
- /*
9250
- * A clickable badge with a chevron is a pill (Figma Profile Badge, Bouwplan
9251
- * header): 4px inset on the avatar side, 12px after the chevron. The border
9252
- * is an inset shadow so it appears on hover and while the menu is open
9253
- * without moving the content.
9254
- */
9255
- .muka-profile-badge--clickable.muka-profile-badge--with-chevron {
9256
- padding: var(--spacing-1) var(--spacing-3) var(--spacing-1) var(--spacing-1);
9257
- border-radius: var(--radius-full);
9258
- transition: box-shadow 0.2s ease;
9259
- }
9260
-
9261
- .muka-profile-badge--clickable.muka-profile-badge--with-chevron:hover,
9262
- .muka-profile-badge--clickable.muka-profile-badge--with-chevron:active {
9263
- opacity: 1;
9264
- }
9265
-
9266
- .muka-profile-badge--clickable.muka-profile-badge--with-chevron:hover,
9267
- .muka-profile-badge--clickable.muka-profile-badge--with-chevron[aria-expanded='true'],
9268
- .muka-profile-badge--clickable.muka-profile-badge--with-chevron[data-state='open'] {
9269
- box-shadow: inset 0 0 0 var(--border-width-regular) var(--button-color-ghost-border-hover);
9270
- }
9271
-
9272
- /* A badge without an avatar keeps the 12px start inset */
9273
- .muka-profile-badge--clickable.muka-profile-badge--with-chevron:not(:has(.muka-profile-badge__avatar)) {
9274
- padding-left: var(--spacing-3);
9275
- }
9276
-
9277
-
9278
9278
  /* PhotoDraftStrip */
9279
9279
  /* PhotoDraftStrip Component Styles */
9280
9280
 
@@ -11610,158 +11610,17 @@ li.muka-listitem {
11610
11610
  }
11611
11611
 
11612
11612
 
11613
- /* EmptyState */
11614
- /* EmptyState Component Styles - Using Muka Design Tokens */
11613
+ /* FAB */
11614
+ /* FAB (Floating Action Button) Component Styles */
11615
11615
 
11616
- .muka-emptystate {
11617
- display: flex;
11618
- flex-direction: column;
11616
+ .muka-fab {
11617
+ position: fixed;
11618
+ z-index: 40;
11619
+
11620
+ display: inline-flex;
11619
11621
  align-items: center;
11620
11622
  justify-content: center;
11621
- gap: var(--emptystate-container-gap);
11622
- max-width: var(--emptystate-container-maxWidth);
11623
- margin: 0 auto;
11624
- text-align: center;
11625
- }
11626
-
11627
- /* Alignment variants */
11628
- .muka-emptystate--left {
11629
- align-items: flex-start;
11630
- text-align: left;
11631
- }
11632
-
11633
- /* Size variants */
11634
- .muka-emptystate--sm {
11635
- padding: var(--emptystate-container-padding-sm);
11636
- }
11637
-
11638
- .muka-emptystate--md {
11639
- padding: var(--emptystate-container-padding-md);
11640
- }
11641
-
11642
- .muka-emptystate--lg {
11643
- padding: var(--emptystate-container-padding-lg);
11644
- }
11645
-
11646
- /* Visual (icon or illustration) */
11647
- .muka-emptystate__visual {
11648
- display: flex;
11649
- align-items: center;
11650
- justify-content: center;
11651
- color: var(--emptystate-icon-color);
11652
- flex-shrink: 0;
11653
- }
11654
-
11655
- .muka-emptystate--sm .muka-emptystate__visual {
11656
- width: var(--emptystate-icon-size-sm);
11657
- height: var(--emptystate-icon-size-sm);
11658
- }
11659
-
11660
- .muka-emptystate--md .muka-emptystate__visual {
11661
- width: var(--emptystate-icon-size-md);
11662
- height: var(--emptystate-icon-size-md);
11663
- }
11664
-
11665
- .muka-emptystate--lg .muka-emptystate__visual {
11666
- width: var(--emptystate-icon-size-lg);
11667
- height: var(--emptystate-icon-size-lg);
11668
- }
11669
-
11670
- .muka-emptystate__visual svg {
11671
- width: 100%;
11672
- height: 100%;
11673
- }
11674
-
11675
- .muka-emptystate__visual img {
11676
- width: 100%;
11677
- height: 100%;
11678
- object-fit: contain;
11679
- }
11680
-
11681
- /* Content */
11682
- .muka-emptystate__content {
11683
- display: flex;
11684
- flex-direction: column;
11685
- gap: var(--spacing-2);
11686
- }
11687
-
11688
- .muka-emptystate--left .muka-emptystate__content {
11689
- align-items: flex-start;
11690
- }
11691
-
11692
- /* Title */
11693
- .muka-emptystate__title {
11694
- color: var(--emptystate-title-color);
11695
- margin: 0;
11696
- font-family: var(--text-heading-sm-fontFamily);
11697
- font-weight: var(--text-heading-sm-fontWeight);
11698
- font-size: var(--text-heading-sm-fontSize);
11699
- line-height: var(--text-heading-sm-lineHeight);
11700
- }
11701
-
11702
- .muka-emptystate--sm .muka-emptystate__title {
11703
- font-family: var(--text-label-lg-semibold-fontFamily);
11704
- font-weight: var(--text-label-lg-semibold-fontWeight);
11705
- font-size: var(--text-label-lg-semibold-fontSize);
11706
- line-height: var(--text-label-lg-semibold-lineHeight);
11707
- }
11708
-
11709
- .muka-emptystate--lg .muka-emptystate__title {
11710
- font-family: var(--text-heading-md-fontFamily);
11711
- font-weight: var(--text-heading-md-fontWeight);
11712
- font-size: var(--text-heading-md-fontSize);
11713
- line-height: var(--text-heading-md-lineHeight);
11714
- }
11715
-
11716
- /* Description */
11717
- .muka-emptystate__description {
11718
- color: var(--emptystate-description-color);
11719
- margin: 0;
11720
- font-family: var(--text-body-sm-regular-fontFamily);
11721
- font-weight: var(--text-body-sm-regular-fontWeight);
11722
- font-size: var(--text-body-sm-regular-fontSize);
11723
- line-height: var(--text-body-sm-regular-lineHeight);
11724
- }
11725
-
11726
- .muka-emptystate--md .muka-emptystate__description {
11727
- font-family: var(--text-body-base-regular-fontFamily);
11728
- font-weight: var(--text-body-base-regular-fontWeight);
11729
- font-size: var(--text-body-base-regular-fontSize);
11730
- line-height: var(--text-body-base-regular-lineHeight);
11731
- }
11732
-
11733
- .muka-emptystate--lg .muka-emptystate__description {
11734
- font-family: var(--text-body-lg-regular-fontFamily);
11735
- font-weight: var(--text-body-lg-regular-fontWeight);
11736
- font-size: var(--text-body-lg-regular-fontSize);
11737
- line-height: var(--text-body-lg-regular-lineHeight);
11738
- }
11739
-
11740
- /* Actions */
11741
- .muka-emptystate__actions {
11742
- display: flex;
11743
- gap: var(--emptystate-actions-gap);
11744
- margin-top: var(--emptystate-actions-marginTop);
11745
- flex-wrap: wrap;
11746
- justify-content: center;
11747
- }
11748
-
11749
- .muka-emptystate--left .muka-emptystate__actions {
11750
- justify-content: flex-start;
11751
- }
11752
-
11753
-
11754
- /* FAB */
11755
- /* FAB (Floating Action Button) Component Styles */
11756
-
11757
- .muka-fab {
11758
- position: fixed;
11759
- z-index: 40;
11760
-
11761
- display: inline-flex;
11762
- align-items: center;
11763
- justify-content: center;
11764
- gap: var(--spacing-2);
11623
+ gap: var(--spacing-2);
11765
11624
 
11766
11625
  border: none;
11767
11626
  cursor: pointer;
@@ -11892,6 +11751,147 @@ li.muka-listitem {
11892
11751
  }
11893
11752
 
11894
11753
 
11754
+ /* EmptyState */
11755
+ /* EmptyState Component Styles - Using Muka Design Tokens */
11756
+
11757
+ .muka-emptystate {
11758
+ display: flex;
11759
+ flex-direction: column;
11760
+ align-items: center;
11761
+ justify-content: center;
11762
+ gap: var(--emptystate-container-gap);
11763
+ max-width: var(--emptystate-container-maxWidth);
11764
+ margin: 0 auto;
11765
+ text-align: center;
11766
+ }
11767
+
11768
+ /* Alignment variants */
11769
+ .muka-emptystate--left {
11770
+ align-items: flex-start;
11771
+ text-align: left;
11772
+ }
11773
+
11774
+ /* Size variants */
11775
+ .muka-emptystate--sm {
11776
+ padding: var(--emptystate-container-padding-sm);
11777
+ }
11778
+
11779
+ .muka-emptystate--md {
11780
+ padding: var(--emptystate-container-padding-md);
11781
+ }
11782
+
11783
+ .muka-emptystate--lg {
11784
+ padding: var(--emptystate-container-padding-lg);
11785
+ }
11786
+
11787
+ /* Visual (icon or illustration) */
11788
+ .muka-emptystate__visual {
11789
+ display: flex;
11790
+ align-items: center;
11791
+ justify-content: center;
11792
+ color: var(--emptystate-icon-color);
11793
+ flex-shrink: 0;
11794
+ }
11795
+
11796
+ .muka-emptystate--sm .muka-emptystate__visual {
11797
+ width: var(--emptystate-icon-size-sm);
11798
+ height: var(--emptystate-icon-size-sm);
11799
+ }
11800
+
11801
+ .muka-emptystate--md .muka-emptystate__visual {
11802
+ width: var(--emptystate-icon-size-md);
11803
+ height: var(--emptystate-icon-size-md);
11804
+ }
11805
+
11806
+ .muka-emptystate--lg .muka-emptystate__visual {
11807
+ width: var(--emptystate-icon-size-lg);
11808
+ height: var(--emptystate-icon-size-lg);
11809
+ }
11810
+
11811
+ .muka-emptystate__visual svg {
11812
+ width: 100%;
11813
+ height: 100%;
11814
+ }
11815
+
11816
+ .muka-emptystate__visual img {
11817
+ width: 100%;
11818
+ height: 100%;
11819
+ object-fit: contain;
11820
+ }
11821
+
11822
+ /* Content */
11823
+ .muka-emptystate__content {
11824
+ display: flex;
11825
+ flex-direction: column;
11826
+ gap: var(--spacing-2);
11827
+ }
11828
+
11829
+ .muka-emptystate--left .muka-emptystate__content {
11830
+ align-items: flex-start;
11831
+ }
11832
+
11833
+ /* Title */
11834
+ .muka-emptystate__title {
11835
+ color: var(--emptystate-title-color);
11836
+ margin: 0;
11837
+ font-family: var(--text-heading-sm-fontFamily);
11838
+ font-weight: var(--text-heading-sm-fontWeight);
11839
+ font-size: var(--text-heading-sm-fontSize);
11840
+ line-height: var(--text-heading-sm-lineHeight);
11841
+ }
11842
+
11843
+ .muka-emptystate--sm .muka-emptystate__title {
11844
+ font-family: var(--text-label-lg-semibold-fontFamily);
11845
+ font-weight: var(--text-label-lg-semibold-fontWeight);
11846
+ font-size: var(--text-label-lg-semibold-fontSize);
11847
+ line-height: var(--text-label-lg-semibold-lineHeight);
11848
+ }
11849
+
11850
+ .muka-emptystate--lg .muka-emptystate__title {
11851
+ font-family: var(--text-heading-md-fontFamily);
11852
+ font-weight: var(--text-heading-md-fontWeight);
11853
+ font-size: var(--text-heading-md-fontSize);
11854
+ line-height: var(--text-heading-md-lineHeight);
11855
+ }
11856
+
11857
+ /* Description */
11858
+ .muka-emptystate__description {
11859
+ color: var(--emptystate-description-color);
11860
+ margin: 0;
11861
+ font-family: var(--text-body-sm-regular-fontFamily);
11862
+ font-weight: var(--text-body-sm-regular-fontWeight);
11863
+ font-size: var(--text-body-sm-regular-fontSize);
11864
+ line-height: var(--text-body-sm-regular-lineHeight);
11865
+ }
11866
+
11867
+ .muka-emptystate--md .muka-emptystate__description {
11868
+ font-family: var(--text-body-base-regular-fontFamily);
11869
+ font-weight: var(--text-body-base-regular-fontWeight);
11870
+ font-size: var(--text-body-base-regular-fontSize);
11871
+ line-height: var(--text-body-base-regular-lineHeight);
11872
+ }
11873
+
11874
+ .muka-emptystate--lg .muka-emptystate__description {
11875
+ font-family: var(--text-body-lg-regular-fontFamily);
11876
+ font-weight: var(--text-body-lg-regular-fontWeight);
11877
+ font-size: var(--text-body-lg-regular-fontSize);
11878
+ line-height: var(--text-body-lg-regular-lineHeight);
11879
+ }
11880
+
11881
+ /* Actions */
11882
+ .muka-emptystate__actions {
11883
+ display: flex;
11884
+ gap: var(--emptystate-actions-gap);
11885
+ margin-top: var(--emptystate-actions-marginTop);
11886
+ flex-wrap: wrap;
11887
+ justify-content: center;
11888
+ }
11889
+
11890
+ .muka-emptystate--left .muka-emptystate__actions {
11891
+ justify-content: flex-start;
11892
+ }
11893
+
11894
+
11895
11895
  /* EmojiPicker */
11896
11896
  /* EmojiPicker Component Styles */
11897
11897