@revikornmann/muka-ui 0.54.0 → 0.55.0

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.
Files changed (75) hide show
  1. package/dist/cjs/components/ChatEvent/ChatEvent.css +49 -0
  2. package/dist/cjs/components/ChatEvent/ChatEvent.js +23 -0
  3. package/dist/cjs/components/ChatEvent/ChatEvent.js.map +1 -0
  4. package/dist/cjs/components/ChatEvent/index.js +6 -0
  5. package/dist/cjs/components/ChatEvent/index.js.map +1 -0
  6. package/dist/cjs/components/ChatMessage/ChatMessage.css +10 -0
  7. package/dist/cjs/components/ChatMessage/ChatMessage.js +5 -3
  8. package/dist/cjs/components/ChatMessage/ChatMessage.js.map +1 -1
  9. package/dist/cjs/components/ChatMessageStack/ChatMessageStack.js +5 -2
  10. package/dist/cjs/components/ChatMessageStack/ChatMessageStack.js.map +1 -1
  11. package/dist/cjs/components/Divider/Divider.css +27 -0
  12. package/dist/cjs/components/Divider/Divider.js +5 -1
  13. package/dist/cjs/components/Divider/Divider.js.map +1 -1
  14. package/dist/cjs/components/ListItem/ListItem.css +69 -0
  15. package/dist/cjs/components/ListItem/ListItem.js +25 -6
  16. package/dist/cjs/components/ListItem/ListItem.js.map +1 -1
  17. package/dist/cjs/components/TopBar/TopBar.css +22 -0
  18. package/dist/cjs/components/TopBar/TopBar.js +16 -7
  19. package/dist/cjs/components/TopBar/TopBar.js.map +1 -1
  20. package/dist/cjs/components/View/View.js +2 -2
  21. package/dist/cjs/components/View/View.js.map +1 -1
  22. package/dist/cjs/components/index.js +3 -1
  23. package/dist/cjs/components/index.js.map +1 -1
  24. package/dist/esm/components/ChatEvent/ChatEvent.css +49 -0
  25. package/dist/esm/components/ChatEvent/ChatEvent.js +19 -0
  26. package/dist/esm/components/ChatEvent/ChatEvent.js.map +1 -0
  27. package/dist/esm/components/ChatEvent/index.js +2 -0
  28. package/dist/esm/components/ChatEvent/index.js.map +1 -0
  29. package/dist/esm/components/ChatMessage/ChatMessage.css +10 -0
  30. package/dist/esm/components/ChatMessage/ChatMessage.js +5 -3
  31. package/dist/esm/components/ChatMessage/ChatMessage.js.map +1 -1
  32. package/dist/esm/components/ChatMessageStack/ChatMessageStack.js +5 -2
  33. package/dist/esm/components/ChatMessageStack/ChatMessageStack.js.map +1 -1
  34. package/dist/esm/components/Divider/Divider.css +27 -0
  35. package/dist/esm/components/Divider/Divider.js +6 -2
  36. package/dist/esm/components/Divider/Divider.js.map +1 -1
  37. package/dist/esm/components/ListItem/ListItem.css +69 -0
  38. package/dist/esm/components/ListItem/ListItem.js +25 -6
  39. package/dist/esm/components/ListItem/ListItem.js.map +1 -1
  40. package/dist/esm/components/TopBar/TopBar.css +22 -0
  41. package/dist/esm/components/TopBar/TopBar.js +16 -7
  42. package/dist/esm/components/TopBar/TopBar.js.map +1 -1
  43. package/dist/esm/components/View/View.js +2 -2
  44. package/dist/esm/components/View/View.js.map +1 -1
  45. package/dist/esm/components/index.js +1 -0
  46. package/dist/esm/components/index.js.map +1 -1
  47. package/dist/styles/components/ChatEvent.css +49 -0
  48. package/dist/styles/components/ChatMessage.css +10 -0
  49. package/dist/styles/components/Divider.css +27 -0
  50. package/dist/styles/components/ListItem.css +69 -0
  51. package/dist/styles/components/TopBar.css +22 -0
  52. package/dist/styles/index.css +380 -200
  53. package/dist/styles/muka-dark.css +380 -200
  54. package/dist/styles/muka-light.css +380 -200
  55. package/dist/styles/wireframe-dark.css +380 -200
  56. package/dist/styles/wireframe-light.css +380 -200
  57. package/dist/types/components/ChatEvent/ChatEvent.d.ts +33 -0
  58. package/dist/types/components/ChatEvent/ChatEvent.d.ts.map +1 -0
  59. package/dist/types/components/ChatEvent/index.d.ts +2 -0
  60. package/dist/types/components/ChatEvent/index.d.ts.map +1 -0
  61. package/dist/types/components/ChatMessage/ChatMessage.d.ts +8 -3
  62. package/dist/types/components/ChatMessage/ChatMessage.d.ts.map +1 -1
  63. package/dist/types/components/ChatMessageStack/ChatMessageStack.d.ts +4 -2
  64. package/dist/types/components/ChatMessageStack/ChatMessageStack.d.ts.map +1 -1
  65. package/dist/types/components/Divider/Divider.d.ts +6 -0
  66. package/dist/types/components/Divider/Divider.d.ts.map +1 -1
  67. package/dist/types/components/ListItem/ListItem.d.ts +17 -3
  68. package/dist/types/components/ListItem/ListItem.d.ts.map +1 -1
  69. package/dist/types/components/TopBar/TopBar.d.ts +6 -0
  70. package/dist/types/components/TopBar/TopBar.d.ts.map +1 -1
  71. package/dist/types/components/View/View.d.ts +2 -0
  72. package/dist/types/components/View/View.d.ts.map +1 -1
  73. package/dist/types/components/index.d.ts +1 -0
  74. package/dist/types/components/index.d.ts.map +1 -1
  75. package/package.json +1 -1
@@ -2573,38 +2573,6 @@ body {
2573
2573
  }
2574
2574
 
2575
2575
 
2576
- /* VoiceMessage */
2577
- /* VoiceMessage Component Styles */
2578
-
2579
- .muka-voice-message {
2580
- display: flex;
2581
- align-items: center;
2582
- gap: var(--spacing-3);
2583
- width: 100%;
2584
- min-width: min(16rem, 60vw);
2585
- }
2586
-
2587
- .muka-voice-message__wave {
2588
- flex: 1 1 auto;
2589
- min-width: 0;
2590
- }
2591
-
2592
- .muka-voice-message__time {
2593
- flex: 0 0 auto;
2594
- white-space: nowrap;
2595
- font-size: var(--text-label-sm-regular-fontSize);
2596
- line-height: var(--text-label-sm-leading);
2597
- font-variant-numeric: tabular-nums;
2598
- color: var(--color-text-subtle-default);
2599
- }
2600
-
2601
- /* On the tinted own bubble the surface is the action color, so the timer flips
2602
- * to the inverse text token for contrast. */
2603
- .muka-voice-message--own .muka-voice-message__time {
2604
- color: var(--color-text-default-inverse);
2605
- }
2606
-
2607
-
2608
2576
  /* View */
2609
2577
  /* View Component Styles */
2610
2578
 
@@ -2819,6 +2787,38 @@ body {
2819
2787
  }
2820
2788
 
2821
2789
 
2790
+ /* VoiceMessage */
2791
+ /* VoiceMessage Component Styles */
2792
+
2793
+ .muka-voice-message {
2794
+ display: flex;
2795
+ align-items: center;
2796
+ gap: var(--spacing-3);
2797
+ width: 100%;
2798
+ min-width: min(16rem, 60vw);
2799
+ }
2800
+
2801
+ .muka-voice-message__wave {
2802
+ flex: 1 1 auto;
2803
+ min-width: 0;
2804
+ }
2805
+
2806
+ .muka-voice-message__time {
2807
+ flex: 0 0 auto;
2808
+ white-space: nowrap;
2809
+ font-size: var(--text-label-sm-regular-fontSize);
2810
+ line-height: var(--text-label-sm-leading);
2811
+ font-variant-numeric: tabular-nums;
2812
+ color: var(--color-text-subtle-default);
2813
+ }
2814
+
2815
+ /* On the tinted own bubble the surface is the action color, so the timer flips
2816
+ * to the inverse text token for contrast. */
2817
+ .muka-voice-message--own .muka-voice-message__time {
2818
+ color: var(--color-text-default-inverse);
2819
+ }
2820
+
2821
+
2822
2822
  /* TypingIndicator */
2823
2823
  /* TypingIndicator Component Styles */
2824
2824
 
@@ -3126,6 +3126,28 @@ body {
3126
3126
  color: var(--color-text-subtle-default);
3127
3127
  }
3128
3128
 
3129
+ /* ─── Title with a leading avatar (titleLeading) ─────────
3130
+ The row takes the title's grid cell: the avatar, then the title (block). */
3131
+
3132
+ .muka-topbar__title-row {
3133
+ grid-column: 2;
3134
+ display: flex;
3135
+ align-items: center;
3136
+ justify-content: var(--tb-title-justify);
3137
+ gap: var(--spacing-2);
3138
+ min-width: 0;
3139
+ }
3140
+
3141
+ .muka-topbar__title-row > .muka-topbar__title,
3142
+ .muka-topbar__title-row > .muka-topbar__title-block {
3143
+ min-width: 0;
3144
+ }
3145
+
3146
+ .muka-topbar__title-leading {
3147
+ display: inline-flex;
3148
+ flex-shrink: 0;
3149
+ }
3150
+
3129
3151
  /* ─── Title as a button (titleTrailing) ──────────────────
3130
3152
  Same type as the text title, with a trailing glyph; sized to its content so
3131
3153
  only the title is the hit area, centred (start in the large tier). */
@@ -4228,6 +4250,88 @@ body {
4228
4250
  }
4229
4251
 
4230
4252
 
4253
+ /* TextLink */
4254
+ /* TextLink Component Styles - Using Muka Design Tokens */
4255
+
4256
+ .muka-text-link {
4257
+ display: inline;
4258
+ cursor: pointer;
4259
+ text-decoration: underline;
4260
+ /* Nudge the rule clear of descenders; the Figma underline sits off baseline. */
4261
+ text-underline-offset: 0.2em;
4262
+ text-decoration-thickness: from-font;
4263
+ /* Rounds the focus ring's corners; the link itself has no visible box. */
4264
+ border-radius: var(--border-radius-sm);
4265
+ transition: color var(--motion-duration-micro, 0.15s) var(--motion-easing-enter, ease);
4266
+ }
4267
+
4268
+ /* ─── Sizes ───────────────────────────────────────────────
4269
+ Mirrors the body text scale so a link matches the copy it sits in. */
4270
+ .muka-text-link--sm {
4271
+ font-family: var(--text-body-sm-regular-fontFamily);
4272
+ font-weight: var(--text-body-sm-regular-fontWeight);
4273
+ font-size: var(--text-body-sm-regular-fontSize);
4274
+ line-height: var(--text-body-sm-regular-lineHeight);
4275
+ }
4276
+
4277
+ .muka-text-link--base {
4278
+ font-family: var(--text-body-base-regular-fontFamily);
4279
+ font-weight: var(--text-body-base-regular-fontWeight);
4280
+ font-size: var(--text-body-base-regular-fontSize);
4281
+ line-height: var(--text-body-base-regular-lineHeight);
4282
+ }
4283
+
4284
+ .muka-text-link--lg {
4285
+ font-family: var(--text-body-lg-regular-fontFamily);
4286
+ font-weight: var(--text-body-lg-regular-fontWeight);
4287
+ font-size: var(--text-body-lg-regular-fontSize);
4288
+ line-height: var(--text-body-lg-regular-lineHeight);
4289
+ }
4290
+
4291
+ /* ─── Variant: default (accent) ───────────────────────────
4292
+ Visited repeats the default colour on purpose: the design treats visited and
4293
+ default the same, and pinning it stops the browser's purple from showing. */
4294
+ .muka-text-link--default,
4295
+ .muka-text-link--default:visited {
4296
+ color: var(--color-text-action-default);
4297
+ }
4298
+
4299
+ .muka-text-link--default:hover,
4300
+ .muka-text-link--default:focus-visible {
4301
+ color: var(--color-text-action-hover);
4302
+ }
4303
+
4304
+ .muka-text-link--default:active {
4305
+ color: var(--color-text-action-pressed);
4306
+ }
4307
+
4308
+ /* ─── Variant: subtle (neutral) ───────────────────────────
4309
+ Hover, focus and pressed all darken to the default text colour. */
4310
+ .muka-text-link--subtle,
4311
+ .muka-text-link--subtle:visited {
4312
+ color: var(--color-text-subtle-default);
4313
+ }
4314
+
4315
+ .muka-text-link--subtle:hover,
4316
+ .muka-text-link--subtle:focus-visible,
4317
+ .muka-text-link--subtle:active {
4318
+ color: var(--color-text-default-default);
4319
+ }
4320
+
4321
+ /* ─── Focus ───────────────────────────────────────────────
4322
+ Same ring as every other focusable Muka component. */
4323
+ .muka-text-link:focus-visible {
4324
+ outline: 2px solid var(--color-border-focus);
4325
+ outline-offset: 2px;
4326
+ }
4327
+
4328
+ @media (prefers-reduced-motion: reduce) {
4329
+ .muka-text-link {
4330
+ transition: none;
4331
+ }
4332
+ }
4333
+
4334
+
4231
4335
  /* Textarea */
4232
4336
  /* Textarea Component Styles - Using Muka Design Tokens */
4233
4337
 
@@ -4392,88 +4496,6 @@ body {
4392
4496
  }
4393
4497
 
4394
4498
 
4395
- /* TextLink */
4396
- /* TextLink Component Styles - Using Muka Design Tokens */
4397
-
4398
- .muka-text-link {
4399
- display: inline;
4400
- cursor: pointer;
4401
- text-decoration: underline;
4402
- /* Nudge the rule clear of descenders; the Figma underline sits off baseline. */
4403
- text-underline-offset: 0.2em;
4404
- text-decoration-thickness: from-font;
4405
- /* Rounds the focus ring's corners; the link itself has no visible box. */
4406
- border-radius: var(--border-radius-sm);
4407
- transition: color var(--motion-duration-micro, 0.15s) var(--motion-easing-enter, ease);
4408
- }
4409
-
4410
- /* ─── Sizes ───────────────────────────────────────────────
4411
- Mirrors the body text scale so a link matches the copy it sits in. */
4412
- .muka-text-link--sm {
4413
- font-family: var(--text-body-sm-regular-fontFamily);
4414
- font-weight: var(--text-body-sm-regular-fontWeight);
4415
- font-size: var(--text-body-sm-regular-fontSize);
4416
- line-height: var(--text-body-sm-regular-lineHeight);
4417
- }
4418
-
4419
- .muka-text-link--base {
4420
- font-family: var(--text-body-base-regular-fontFamily);
4421
- font-weight: var(--text-body-base-regular-fontWeight);
4422
- font-size: var(--text-body-base-regular-fontSize);
4423
- line-height: var(--text-body-base-regular-lineHeight);
4424
- }
4425
-
4426
- .muka-text-link--lg {
4427
- font-family: var(--text-body-lg-regular-fontFamily);
4428
- font-weight: var(--text-body-lg-regular-fontWeight);
4429
- font-size: var(--text-body-lg-regular-fontSize);
4430
- line-height: var(--text-body-lg-regular-lineHeight);
4431
- }
4432
-
4433
- /* ─── Variant: default (accent) ───────────────────────────
4434
- Visited repeats the default colour on purpose: the design treats visited and
4435
- default the same, and pinning it stops the browser's purple from showing. */
4436
- .muka-text-link--default,
4437
- .muka-text-link--default:visited {
4438
- color: var(--color-text-action-default);
4439
- }
4440
-
4441
- .muka-text-link--default:hover,
4442
- .muka-text-link--default:focus-visible {
4443
- color: var(--color-text-action-hover);
4444
- }
4445
-
4446
- .muka-text-link--default:active {
4447
- color: var(--color-text-action-pressed);
4448
- }
4449
-
4450
- /* ─── Variant: subtle (neutral) ───────────────────────────
4451
- Hover, focus and pressed all darken to the default text colour. */
4452
- .muka-text-link--subtle,
4453
- .muka-text-link--subtle:visited {
4454
- color: var(--color-text-subtle-default);
4455
- }
4456
-
4457
- .muka-text-link--subtle:hover,
4458
- .muka-text-link--subtle:focus-visible,
4459
- .muka-text-link--subtle:active {
4460
- color: var(--color-text-default-default);
4461
- }
4462
-
4463
- /* ─── Focus ───────────────────────────────────────────────
4464
- Same ring as every other focusable Muka component. */
4465
- .muka-text-link:focus-visible {
4466
- outline: 2px solid var(--color-border-focus);
4467
- outline-offset: 2px;
4468
- }
4469
-
4470
- @media (prefers-reduced-motion: reduce) {
4471
- .muka-text-link {
4472
- transition: none;
4473
- }
4474
- }
4475
-
4476
-
4477
4499
  /* Tabs */
4478
4500
  /* Tabs Component Styles - Clean underline style tabs matching Figma */
4479
4501
 
@@ -9241,16 +9263,46 @@ button.muka-progress-tracker__tab:focus-visible {
9241
9263
  }
9242
9264
 
9243
9265
 
9244
- /* NavigationTransition */
9245
- /* NavigationTransition Component Styles */
9246
-
9247
- /* ─── Wrapper ────────────────────────────────────────── */
9248
-
9249
- .muka-nav-transition {
9250
- position: relative;
9251
- height: 100vh;
9252
- overflow: hidden;
9253
- }
9266
+ /* NumberInput */
9267
+ /* NumberInput — reuses Input field styles (../Input/Input.css). */
9268
+ /* Only the prefix/suffix affixes are NumberInput-specific. */
9269
+
9270
+ .muka-numberinput__addon {
9271
+ display: inline-flex;
9272
+ align-items: center;
9273
+ flex: none;
9274
+ color: var(--color-text-subtle-default);
9275
+ font-family: var(--text-input-md-fontFamily);
9276
+ font-size: var(--text-input-md-fontSize);
9277
+ line-height: var(--text-input-md-lineHeight);
9278
+ user-select: none;
9279
+ pointer-events: none;
9280
+ white-space: nowrap;
9281
+ }
9282
+
9283
+ /* Hide the native number spinners — affixes/step API replace them. */
9284
+ .muka-numberinput__field .muka-input__native::-webkit-outer-spin-button,
9285
+ .muka-numberinput__field .muka-input__native::-webkit-inner-spin-button {
9286
+ -webkit-appearance: none;
9287
+ margin: 0;
9288
+ }
9289
+
9290
+ .muka-numberinput__field .muka-input__native {
9291
+ -moz-appearance: textfield;
9292
+ appearance: textfield;
9293
+ }
9294
+
9295
+
9296
+ /* NavigationTransition */
9297
+ /* NavigationTransition Component Styles */
9298
+
9299
+ /* ─── Wrapper ────────────────────────────────────────── */
9300
+
9301
+ .muka-nav-transition {
9302
+ position: relative;
9303
+ height: 100vh;
9304
+ overflow: hidden;
9305
+ }
9254
9306
 
9255
9307
  /* Disable interaction during animation */
9256
9308
  .muka-nav-transition--active {
@@ -9766,36 +9818,6 @@ button.muka-progress-tracker__tab:focus-visible {
9766
9818
  }
9767
9819
 
9768
9820
 
9769
- /* NumberInput */
9770
- /* NumberInput — reuses Input field styles (../Input/Input.css). */
9771
- /* Only the prefix/suffix affixes are NumberInput-specific. */
9772
-
9773
- .muka-numberinput__addon {
9774
- display: inline-flex;
9775
- align-items: center;
9776
- flex: none;
9777
- color: var(--color-text-subtle-default);
9778
- font-family: var(--text-input-md-fontFamily);
9779
- font-size: var(--text-input-md-fontSize);
9780
- line-height: var(--text-input-md-lineHeight);
9781
- user-select: none;
9782
- pointer-events: none;
9783
- white-space: nowrap;
9784
- }
9785
-
9786
- /* Hide the native number spinners — affixes/step API replace them. */
9787
- .muka-numberinput__field .muka-input__native::-webkit-outer-spin-button,
9788
- .muka-numberinput__field .muka-input__native::-webkit-inner-spin-button {
9789
- -webkit-appearance: none;
9790
- margin: 0;
9791
- }
9792
-
9793
- .muka-numberinput__field .muka-input__native {
9794
- -moz-appearance: textfield;
9795
- appearance: textfield;
9796
- }
9797
-
9798
-
9799
9821
  /* MediaViewer */
9800
9822
  /* MediaViewer Component Styles - Using Muka Design Tokens */
9801
9823
 
@@ -10190,50 +10212,78 @@ a.muka-listitem {
10190
10212
  width: 100%;
10191
10213
  }
10192
10214
 
10215
+ /* A row rendered as a link reads as a row, not as link text */
10216
+ a.muka-listitem {
10217
+ color: inherit;
10218
+ text-decoration: none;
10219
+ }
10220
+
10193
10221
  /* List item specific styles */
10194
10222
  li.muka-listitem {
10195
10223
  list-style: none;
10196
10224
  }
10197
10225
 
10226
+ /* ─── Tone ─────────────────────────────────────────────── */
10198
10227
 
10199
- /* Label */
10200
- /* Label Component Styles - Using Muka Design Tokens */
10228
+ .muka-listitem--tone-info,
10229
+ .muka-listitem-group--tone-info {
10230
+ background-color: var(--color-state-info-background);
10231
+ }
10201
10232
 
10202
- .muka-label {
10203
- display: inline-flex;
10233
+ .muka-listitem--tone-warning,
10234
+ .muka-listitem-group--tone-warning {
10235
+ background-color: var(--color-state-warning-background);
10236
+ }
10237
+
10238
+ /* ─── Actions beside the row ───────────────────────────── */
10239
+
10240
+ /*
10241
+ * With `actions`, the row (the click target) and the actions are siblings in a
10242
+ * group. The group carries the surface, the tone and the divider; the row
10243
+ * fills the space and the actions sit at the end.
10244
+ */
10245
+ .muka-listitem-group {
10246
+ display: flex;
10204
10247
  align-items: center;
10205
- color: var(--color-text-default-default);
10206
- cursor: pointer;
10248
+ position: relative;
10249
+ background-color: var(--color-surface-level3);
10250
+ list-style: none;
10207
10251
  }
10208
10252
 
10209
- .muka-label--sm {
10210
- font-family: var(--text-label-sm-semibold-fontFamily);
10211
- font-weight: var(--text-label-sm-semibold-fontWeight);
10212
- font-size: var(--text-label-sm-semibold-fontSize);
10213
- line-height: var(--text-label-sm-semibold-lineHeight);
10253
+ .muka-listitem-group--selected {
10254
+ background-color: var(--color-surface-level2);
10214
10255
  }
10215
10256
 
10216
- .muka-label--md {
10217
- font-family: var(--text-label-md-semibold-fontFamily);
10218
- font-weight: var(--text-label-md-semibold-fontWeight);
10219
- font-size: var(--text-label-md-semibold-fontSize);
10220
- line-height: var(--text-label-md-semibold-lineHeight);
10257
+ .muka-listitem-group--disabled {
10258
+ opacity: 0.5;
10221
10259
  }
10222
10260
 
10223
- .muka-label--lg {
10224
- font-family: var(--text-label-lg-semibold-fontFamily);
10225
- font-weight: var(--text-label-lg-semibold-fontWeight);
10226
- font-size: var(--text-label-lg-semibold-fontSize);
10227
- line-height: var(--text-label-lg-semibold-lineHeight);
10261
+ .muka-listitem-group--disabled .muka-listitem--disabled {
10262
+ /* The group already dims; don't dim the row twice */
10263
+ opacity: 1;
10228
10264
  }
10229
10265
 
10230
- .muka-label--disabled {
10231
- color: var(--color-text-subtle-default);
10232
- cursor: not-allowed;
10266
+ .muka-listitem--with-actions {
10267
+ flex: 1;
10268
+ min-width: 0;
10269
+ padding-right: var(--spacing-2);
10270
+ background-color: transparent;
10233
10271
  }
10234
10272
 
10235
- .muka-label__required {
10236
- color: var(--color-state-error-default);
10273
+ .muka-listitem--with-actions.muka-listitem--selected {
10274
+ background-color: transparent;
10275
+ }
10276
+
10277
+ .muka-listitem__actions {
10278
+ display: flex;
10279
+ align-items: center;
10280
+ gap: var(--spacing-2);
10281
+ flex-shrink: 0;
10282
+ padding-right: var(--spacing-4);
10283
+ }
10284
+
10285
+ .muka-listitem-group--no-divider .muka-listitem__divider {
10286
+ display: none;
10237
10287
  }
10238
10288
 
10239
10289
 
@@ -10430,6 +10480,47 @@ li.muka-listitem {
10430
10480
  }
10431
10481
 
10432
10482
 
10483
+ /* Label */
10484
+ /* Label Component Styles - Using Muka Design Tokens */
10485
+
10486
+ .muka-label {
10487
+ display: inline-flex;
10488
+ align-items: center;
10489
+ color: var(--color-text-default-default);
10490
+ cursor: pointer;
10491
+ }
10492
+
10493
+ .muka-label--sm {
10494
+ font-family: var(--text-label-sm-semibold-fontFamily);
10495
+ font-weight: var(--text-label-sm-semibold-fontWeight);
10496
+ font-size: var(--text-label-sm-semibold-fontSize);
10497
+ line-height: var(--text-label-sm-semibold-lineHeight);
10498
+ }
10499
+
10500
+ .muka-label--md {
10501
+ font-family: var(--text-label-md-semibold-fontFamily);
10502
+ font-weight: var(--text-label-md-semibold-fontWeight);
10503
+ font-size: var(--text-label-md-semibold-fontSize);
10504
+ line-height: var(--text-label-md-semibold-lineHeight);
10505
+ }
10506
+
10507
+ .muka-label--lg {
10508
+ font-family: var(--text-label-lg-semibold-fontFamily);
10509
+ font-weight: var(--text-label-lg-semibold-fontWeight);
10510
+ font-size: var(--text-label-lg-semibold-fontSize);
10511
+ line-height: var(--text-label-lg-semibold-lineHeight);
10512
+ }
10513
+
10514
+ .muka-label--disabled {
10515
+ color: var(--color-text-subtle-default);
10516
+ cursor: not-allowed;
10517
+ }
10518
+
10519
+ .muka-label__required {
10520
+ color: var(--color-state-error-default);
10521
+ }
10522
+
10523
+
10433
10524
  /* InputCounter */
10434
10525
  /* InputCounter — numeric field + joined decrement/increment buttons.
10435
10526
  Label, helper and error text reuse Input.css (../Input/Input.css).
@@ -10889,26 +10980,6 @@ li.muka-listitem {
10889
10980
  }
10890
10981
 
10891
10982
 
10892
- /* Form */
10893
- .muka-form {
10894
- display: flex;
10895
- flex-direction: column;
10896
- width: 100%;
10897
- }
10898
-
10899
- .muka-form--gap-sm {
10900
- gap: var(--size-sm);
10901
- }
10902
-
10903
- .muka-form--gap-md {
10904
- gap: var(--size-md);
10905
- }
10906
-
10907
- .muka-form--gap-lg {
10908
- gap: var(--size-lg);
10909
- }
10910
-
10911
-
10912
10983
  /* Icon */
10913
10984
  /* Icon Component Styles - Using Muka Design Tokens */
10914
10985
 
@@ -10963,6 +11034,26 @@ li.muka-listitem {
10963
11034
  }
10964
11035
 
10965
11036
 
11037
+ /* Form */
11038
+ .muka-form {
11039
+ display: flex;
11040
+ flex-direction: column;
11041
+ width: 100%;
11042
+ }
11043
+
11044
+ .muka-form--gap-sm {
11045
+ gap: var(--size-sm);
11046
+ }
11047
+
11048
+ .muka-form--gap-md {
11049
+ gap: var(--size-md);
11050
+ }
11051
+
11052
+ .muka-form--gap-lg {
11053
+ gap: var(--size-lg);
11054
+ }
11055
+
11056
+
10966
11057
  /* FileUpload */
10967
11058
  /* FileUpload Component Styles */
10968
11059
 
@@ -12272,6 +12363,33 @@ li.muka-listitem {
12272
12363
  background-color: var(--separator-color-contrast);
12273
12364
  }
12274
12365
 
12366
+ /* ─── With a label in the middle ───────────────────────── */
12367
+
12368
+ .muka-divider-labelled {
12369
+ display: flex;
12370
+ align-items: center;
12371
+ gap: var(--spacing-3);
12372
+ width: 100%;
12373
+ }
12374
+
12375
+ .muka-divider-labelled > .muka-divider {
12376
+ flex: 1 1 0%;
12377
+ width: auto;
12378
+ }
12379
+
12380
+ .muka-divider-labelled__label {
12381
+ flex-shrink: 0;
12382
+ max-width: 70%;
12383
+ overflow: hidden;
12384
+ text-overflow: ellipsis;
12385
+ white-space: nowrap;
12386
+ color: var(--color-text-default-default);
12387
+ font-family: var(--text-label-sm-regular-fontFamily);
12388
+ font-weight: var(--text-label-sm-regular-fontWeight);
12389
+ font-size: var(--text-label-sm-regular-fontSize);
12390
+ line-height: var(--text-label-sm-leading);
12391
+ }
12392
+
12275
12393
 
12276
12394
  /* Dialog */
12277
12395
  /* Dialog Component Styles */
@@ -14845,6 +14963,68 @@ button.muka-chat-photo-grid__tile:focus-visible {
14845
14963
  }
14846
14964
  }
14847
14965
 
14966
+ /* ─── Muted (a message from another context) ──────────────
14967
+ * The bubble drops its fill and keeps a hairline, so it recedes next to the
14968
+ * current conversation; the text keeps full contrast. */
14969
+
14970
+ .muka-chat-message--muted .muka-chat-message__bubble {
14971
+ background-color: transparent;
14972
+ border-color: var(--chatbubble-color-peer-border);
14973
+ color: var(--color-text-default-default);
14974
+ }
14975
+
14976
+
14977
+ /* ChatEvent */
14978
+ /* ChatEvent: a line in a chat that isn't a message from a person */
14979
+
14980
+ .muka-chat-event {
14981
+ display: flex;
14982
+ flex-direction: column;
14983
+ align-items: center;
14984
+ gap: var(--spacing-2);
14985
+ width: 100%;
14986
+ padding: 0 var(--spacing-4);
14987
+ box-sizing: border-box;
14988
+ text-align: center;
14989
+ }
14990
+
14991
+ .muka-chat-event__text {
14992
+ margin: 0;
14993
+ max-width: var(--chatbubble-max-width);
14994
+ /* Default text, not subtle: subtle reaches only ~3:1 on the chat surfaces,
14995
+ and this is body text. Size and centring set it apart from messages. */
14996
+ color: var(--color-text-default-default);
14997
+ font-family: var(--text-body-sm-regular-fontFamily);
14998
+ font-weight: var(--text-body-sm-regular-fontWeight);
14999
+ font-size: var(--text-body-sm-regular-fontSize);
15000
+ line-height: var(--text-body-sm-regular-lineHeight);
15001
+ }
15002
+
15003
+ .muka-chat-event__timestamp {
15004
+ white-space: nowrap;
15005
+ }
15006
+
15007
+ .muka-chat-event__media {
15008
+ display: flex;
15009
+ flex-wrap: wrap;
15010
+ justify-content: center;
15011
+ gap: var(--spacing-2);
15012
+ }
15013
+
15014
+ /* Day divider: a small pill */
15015
+ .muka-chat-event__pill {
15016
+ display: inline-flex;
15017
+ align-items: center;
15018
+ padding: var(--spacing-1) var(--spacing-3);
15019
+ border-radius: var(--radius-full);
15020
+ background-color: var(--color-surface-level2);
15021
+ color: var(--color-text-default-default);
15022
+ font-family: var(--text-label-sm-regular-fontFamily);
15023
+ font-weight: var(--text-label-sm-regular-fontWeight);
15024
+ font-size: var(--text-label-sm-regular-fontSize);
15025
+ line-height: var(--text-label-sm-leading);
15026
+ }
15027
+
14848
15028
 
14849
15029
  /* ChatComposer */
14850
15030
  /* ChatComposer Component Styles */