@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
@@ -2508,38 +2508,6 @@ body {
2508
2508
  }
2509
2509
 
2510
2510
 
2511
- /* VoiceMessage */
2512
- /* VoiceMessage Component Styles */
2513
-
2514
- .muka-voice-message {
2515
- display: flex;
2516
- align-items: center;
2517
- gap: var(--spacing-3);
2518
- width: 100%;
2519
- min-width: min(16rem, 60vw);
2520
- }
2521
-
2522
- .muka-voice-message__wave {
2523
- flex: 1 1 auto;
2524
- min-width: 0;
2525
- }
2526
-
2527
- .muka-voice-message__time {
2528
- flex: 0 0 auto;
2529
- white-space: nowrap;
2530
- font-size: var(--text-label-sm-regular-fontSize);
2531
- line-height: var(--text-label-sm-leading);
2532
- font-variant-numeric: tabular-nums;
2533
- color: var(--color-text-subtle-default);
2534
- }
2535
-
2536
- /* On the tinted own bubble the surface is the action color, so the timer flips
2537
- * to the inverse text token for contrast. */
2538
- .muka-voice-message--own .muka-voice-message__time {
2539
- color: var(--color-text-default-inverse);
2540
- }
2541
-
2542
-
2543
2511
  /* View */
2544
2512
  /* View Component Styles */
2545
2513
 
@@ -2754,6 +2722,38 @@ body {
2754
2722
  }
2755
2723
 
2756
2724
 
2725
+ /* VoiceMessage */
2726
+ /* VoiceMessage Component Styles */
2727
+
2728
+ .muka-voice-message {
2729
+ display: flex;
2730
+ align-items: center;
2731
+ gap: var(--spacing-3);
2732
+ width: 100%;
2733
+ min-width: min(16rem, 60vw);
2734
+ }
2735
+
2736
+ .muka-voice-message__wave {
2737
+ flex: 1 1 auto;
2738
+ min-width: 0;
2739
+ }
2740
+
2741
+ .muka-voice-message__time {
2742
+ flex: 0 0 auto;
2743
+ white-space: nowrap;
2744
+ font-size: var(--text-label-sm-regular-fontSize);
2745
+ line-height: var(--text-label-sm-leading);
2746
+ font-variant-numeric: tabular-nums;
2747
+ color: var(--color-text-subtle-default);
2748
+ }
2749
+
2750
+ /* On the tinted own bubble the surface is the action color, so the timer flips
2751
+ * to the inverse text token for contrast. */
2752
+ .muka-voice-message--own .muka-voice-message__time {
2753
+ color: var(--color-text-default-inverse);
2754
+ }
2755
+
2756
+
2757
2757
  /* TypingIndicator */
2758
2758
  /* TypingIndicator Component Styles */
2759
2759
 
@@ -3061,6 +3061,28 @@ body {
3061
3061
  color: var(--color-text-subtle-default);
3062
3062
  }
3063
3063
 
3064
+ /* ─── Title with a leading avatar (titleLeading) ─────────
3065
+ The row takes the title's grid cell: the avatar, then the title (block). */
3066
+
3067
+ .muka-topbar__title-row {
3068
+ grid-column: 2;
3069
+ display: flex;
3070
+ align-items: center;
3071
+ justify-content: var(--tb-title-justify);
3072
+ gap: var(--spacing-2);
3073
+ min-width: 0;
3074
+ }
3075
+
3076
+ .muka-topbar__title-row > .muka-topbar__title,
3077
+ .muka-topbar__title-row > .muka-topbar__title-block {
3078
+ min-width: 0;
3079
+ }
3080
+
3081
+ .muka-topbar__title-leading {
3082
+ display: inline-flex;
3083
+ flex-shrink: 0;
3084
+ }
3085
+
3064
3086
  /* ─── Title as a button (titleTrailing) ──────────────────
3065
3087
  Same type as the text title, with a trailing glyph; sized to its content so
3066
3088
  only the title is the hit area, centred (start in the large tier). */
@@ -4163,6 +4185,88 @@ body {
4163
4185
  }
4164
4186
 
4165
4187
 
4188
+ /* TextLink */
4189
+ /* TextLink Component Styles - Using Muka Design Tokens */
4190
+
4191
+ .muka-text-link {
4192
+ display: inline;
4193
+ cursor: pointer;
4194
+ text-decoration: underline;
4195
+ /* Nudge the rule clear of descenders; the Figma underline sits off baseline. */
4196
+ text-underline-offset: 0.2em;
4197
+ text-decoration-thickness: from-font;
4198
+ /* Rounds the focus ring's corners; the link itself has no visible box. */
4199
+ border-radius: var(--border-radius-sm);
4200
+ transition: color var(--motion-duration-micro, 0.15s) var(--motion-easing-enter, ease);
4201
+ }
4202
+
4203
+ /* ─── Sizes ───────────────────────────────────────────────
4204
+ Mirrors the body text scale so a link matches the copy it sits in. */
4205
+ .muka-text-link--sm {
4206
+ font-family: var(--text-body-sm-regular-fontFamily);
4207
+ font-weight: var(--text-body-sm-regular-fontWeight);
4208
+ font-size: var(--text-body-sm-regular-fontSize);
4209
+ line-height: var(--text-body-sm-regular-lineHeight);
4210
+ }
4211
+
4212
+ .muka-text-link--base {
4213
+ font-family: var(--text-body-base-regular-fontFamily);
4214
+ font-weight: var(--text-body-base-regular-fontWeight);
4215
+ font-size: var(--text-body-base-regular-fontSize);
4216
+ line-height: var(--text-body-base-regular-lineHeight);
4217
+ }
4218
+
4219
+ .muka-text-link--lg {
4220
+ font-family: var(--text-body-lg-regular-fontFamily);
4221
+ font-weight: var(--text-body-lg-regular-fontWeight);
4222
+ font-size: var(--text-body-lg-regular-fontSize);
4223
+ line-height: var(--text-body-lg-regular-lineHeight);
4224
+ }
4225
+
4226
+ /* ─── Variant: default (accent) ───────────────────────────
4227
+ Visited repeats the default colour on purpose: the design treats visited and
4228
+ default the same, and pinning it stops the browser's purple from showing. */
4229
+ .muka-text-link--default,
4230
+ .muka-text-link--default:visited {
4231
+ color: var(--color-text-action-default);
4232
+ }
4233
+
4234
+ .muka-text-link--default:hover,
4235
+ .muka-text-link--default:focus-visible {
4236
+ color: var(--color-text-action-hover);
4237
+ }
4238
+
4239
+ .muka-text-link--default:active {
4240
+ color: var(--color-text-action-pressed);
4241
+ }
4242
+
4243
+ /* ─── Variant: subtle (neutral) ───────────────────────────
4244
+ Hover, focus and pressed all darken to the default text colour. */
4245
+ .muka-text-link--subtle,
4246
+ .muka-text-link--subtle:visited {
4247
+ color: var(--color-text-subtle-default);
4248
+ }
4249
+
4250
+ .muka-text-link--subtle:hover,
4251
+ .muka-text-link--subtle:focus-visible,
4252
+ .muka-text-link--subtle:active {
4253
+ color: var(--color-text-default-default);
4254
+ }
4255
+
4256
+ /* ─── Focus ───────────────────────────────────────────────
4257
+ Same ring as every other focusable Muka component. */
4258
+ .muka-text-link:focus-visible {
4259
+ outline: 2px solid var(--color-border-focus);
4260
+ outline-offset: 2px;
4261
+ }
4262
+
4263
+ @media (prefers-reduced-motion: reduce) {
4264
+ .muka-text-link {
4265
+ transition: none;
4266
+ }
4267
+ }
4268
+
4269
+
4166
4270
  /* Textarea */
4167
4271
  /* Textarea Component Styles - Using Muka Design Tokens */
4168
4272
 
@@ -4327,88 +4431,6 @@ body {
4327
4431
  }
4328
4432
 
4329
4433
 
4330
- /* TextLink */
4331
- /* TextLink Component Styles - Using Muka Design Tokens */
4332
-
4333
- .muka-text-link {
4334
- display: inline;
4335
- cursor: pointer;
4336
- text-decoration: underline;
4337
- /* Nudge the rule clear of descenders; the Figma underline sits off baseline. */
4338
- text-underline-offset: 0.2em;
4339
- text-decoration-thickness: from-font;
4340
- /* Rounds the focus ring's corners; the link itself has no visible box. */
4341
- border-radius: var(--border-radius-sm);
4342
- transition: color var(--motion-duration-micro, 0.15s) var(--motion-easing-enter, ease);
4343
- }
4344
-
4345
- /* ─── Sizes ───────────────────────────────────────────────
4346
- Mirrors the body text scale so a link matches the copy it sits in. */
4347
- .muka-text-link--sm {
4348
- font-family: var(--text-body-sm-regular-fontFamily);
4349
- font-weight: var(--text-body-sm-regular-fontWeight);
4350
- font-size: var(--text-body-sm-regular-fontSize);
4351
- line-height: var(--text-body-sm-regular-lineHeight);
4352
- }
4353
-
4354
- .muka-text-link--base {
4355
- font-family: var(--text-body-base-regular-fontFamily);
4356
- font-weight: var(--text-body-base-regular-fontWeight);
4357
- font-size: var(--text-body-base-regular-fontSize);
4358
- line-height: var(--text-body-base-regular-lineHeight);
4359
- }
4360
-
4361
- .muka-text-link--lg {
4362
- font-family: var(--text-body-lg-regular-fontFamily);
4363
- font-weight: var(--text-body-lg-regular-fontWeight);
4364
- font-size: var(--text-body-lg-regular-fontSize);
4365
- line-height: var(--text-body-lg-regular-lineHeight);
4366
- }
4367
-
4368
- /* ─── Variant: default (accent) ───────────────────────────
4369
- Visited repeats the default colour on purpose: the design treats visited and
4370
- default the same, and pinning it stops the browser's purple from showing. */
4371
- .muka-text-link--default,
4372
- .muka-text-link--default:visited {
4373
- color: var(--color-text-action-default);
4374
- }
4375
-
4376
- .muka-text-link--default:hover,
4377
- .muka-text-link--default:focus-visible {
4378
- color: var(--color-text-action-hover);
4379
- }
4380
-
4381
- .muka-text-link--default:active {
4382
- color: var(--color-text-action-pressed);
4383
- }
4384
-
4385
- /* ─── Variant: subtle (neutral) ───────────────────────────
4386
- Hover, focus and pressed all darken to the default text colour. */
4387
- .muka-text-link--subtle,
4388
- .muka-text-link--subtle:visited {
4389
- color: var(--color-text-subtle-default);
4390
- }
4391
-
4392
- .muka-text-link--subtle:hover,
4393
- .muka-text-link--subtle:focus-visible,
4394
- .muka-text-link--subtle:active {
4395
- color: var(--color-text-default-default);
4396
- }
4397
-
4398
- /* ─── Focus ───────────────────────────────────────────────
4399
- Same ring as every other focusable Muka component. */
4400
- .muka-text-link:focus-visible {
4401
- outline: 2px solid var(--color-border-focus);
4402
- outline-offset: 2px;
4403
- }
4404
-
4405
- @media (prefers-reduced-motion: reduce) {
4406
- .muka-text-link {
4407
- transition: none;
4408
- }
4409
- }
4410
-
4411
-
4412
4434
  /* Tabs */
4413
4435
  /* Tabs Component Styles - Clean underline style tabs matching Figma */
4414
4436
 
@@ -9176,16 +9198,46 @@ button.muka-progress-tracker__tab:focus-visible {
9176
9198
  }
9177
9199
 
9178
9200
 
9179
- /* NavigationTransition */
9180
- /* NavigationTransition Component Styles */
9181
-
9182
- /* ─── Wrapper ────────────────────────────────────────── */
9183
-
9184
- .muka-nav-transition {
9185
- position: relative;
9186
- height: 100vh;
9187
- overflow: hidden;
9188
- }
9201
+ /* NumberInput */
9202
+ /* NumberInput — reuses Input field styles (../Input/Input.css). */
9203
+ /* Only the prefix/suffix affixes are NumberInput-specific. */
9204
+
9205
+ .muka-numberinput__addon {
9206
+ display: inline-flex;
9207
+ align-items: center;
9208
+ flex: none;
9209
+ color: var(--color-text-subtle-default);
9210
+ font-family: var(--text-input-md-fontFamily);
9211
+ font-size: var(--text-input-md-fontSize);
9212
+ line-height: var(--text-input-md-lineHeight);
9213
+ user-select: none;
9214
+ pointer-events: none;
9215
+ white-space: nowrap;
9216
+ }
9217
+
9218
+ /* Hide the native number spinners — affixes/step API replace them. */
9219
+ .muka-numberinput__field .muka-input__native::-webkit-outer-spin-button,
9220
+ .muka-numberinput__field .muka-input__native::-webkit-inner-spin-button {
9221
+ -webkit-appearance: none;
9222
+ margin: 0;
9223
+ }
9224
+
9225
+ .muka-numberinput__field .muka-input__native {
9226
+ -moz-appearance: textfield;
9227
+ appearance: textfield;
9228
+ }
9229
+
9230
+
9231
+ /* NavigationTransition */
9232
+ /* NavigationTransition Component Styles */
9233
+
9234
+ /* ─── Wrapper ────────────────────────────────────────── */
9235
+
9236
+ .muka-nav-transition {
9237
+ position: relative;
9238
+ height: 100vh;
9239
+ overflow: hidden;
9240
+ }
9189
9241
 
9190
9242
  /* Disable interaction during animation */
9191
9243
  .muka-nav-transition--active {
@@ -9701,36 +9753,6 @@ button.muka-progress-tracker__tab:focus-visible {
9701
9753
  }
9702
9754
 
9703
9755
 
9704
- /* NumberInput */
9705
- /* NumberInput — reuses Input field styles (../Input/Input.css). */
9706
- /* Only the prefix/suffix affixes are NumberInput-specific. */
9707
-
9708
- .muka-numberinput__addon {
9709
- display: inline-flex;
9710
- align-items: center;
9711
- flex: none;
9712
- color: var(--color-text-subtle-default);
9713
- font-family: var(--text-input-md-fontFamily);
9714
- font-size: var(--text-input-md-fontSize);
9715
- line-height: var(--text-input-md-lineHeight);
9716
- user-select: none;
9717
- pointer-events: none;
9718
- white-space: nowrap;
9719
- }
9720
-
9721
- /* Hide the native number spinners — affixes/step API replace them. */
9722
- .muka-numberinput__field .muka-input__native::-webkit-outer-spin-button,
9723
- .muka-numberinput__field .muka-input__native::-webkit-inner-spin-button {
9724
- -webkit-appearance: none;
9725
- margin: 0;
9726
- }
9727
-
9728
- .muka-numberinput__field .muka-input__native {
9729
- -moz-appearance: textfield;
9730
- appearance: textfield;
9731
- }
9732
-
9733
-
9734
9756
  /* MediaViewer */
9735
9757
  /* MediaViewer Component Styles - Using Muka Design Tokens */
9736
9758
 
@@ -10125,50 +10147,78 @@ a.muka-listitem {
10125
10147
  width: 100%;
10126
10148
  }
10127
10149
 
10150
+ /* A row rendered as a link reads as a row, not as link text */
10151
+ a.muka-listitem {
10152
+ color: inherit;
10153
+ text-decoration: none;
10154
+ }
10155
+
10128
10156
  /* List item specific styles */
10129
10157
  li.muka-listitem {
10130
10158
  list-style: none;
10131
10159
  }
10132
10160
 
10161
+ /* ─── Tone ─────────────────────────────────────────────── */
10133
10162
 
10134
- /* Label */
10135
- /* Label Component Styles - Using Muka Design Tokens */
10163
+ .muka-listitem--tone-info,
10164
+ .muka-listitem-group--tone-info {
10165
+ background-color: var(--color-state-info-background);
10166
+ }
10136
10167
 
10137
- .muka-label {
10138
- display: inline-flex;
10168
+ .muka-listitem--tone-warning,
10169
+ .muka-listitem-group--tone-warning {
10170
+ background-color: var(--color-state-warning-background);
10171
+ }
10172
+
10173
+ /* ─── Actions beside the row ───────────────────────────── */
10174
+
10175
+ /*
10176
+ * With `actions`, the row (the click target) and the actions are siblings in a
10177
+ * group. The group carries the surface, the tone and the divider; the row
10178
+ * fills the space and the actions sit at the end.
10179
+ */
10180
+ .muka-listitem-group {
10181
+ display: flex;
10139
10182
  align-items: center;
10140
- color: var(--color-text-default-default);
10141
- cursor: pointer;
10183
+ position: relative;
10184
+ background-color: var(--color-surface-level3);
10185
+ list-style: none;
10142
10186
  }
10143
10187
 
10144
- .muka-label--sm {
10145
- font-family: var(--text-label-sm-semibold-fontFamily);
10146
- font-weight: var(--text-label-sm-semibold-fontWeight);
10147
- font-size: var(--text-label-sm-semibold-fontSize);
10148
- line-height: var(--text-label-sm-semibold-lineHeight);
10188
+ .muka-listitem-group--selected {
10189
+ background-color: var(--color-surface-level2);
10149
10190
  }
10150
10191
 
10151
- .muka-label--md {
10152
- font-family: var(--text-label-md-semibold-fontFamily);
10153
- font-weight: var(--text-label-md-semibold-fontWeight);
10154
- font-size: var(--text-label-md-semibold-fontSize);
10155
- line-height: var(--text-label-md-semibold-lineHeight);
10192
+ .muka-listitem-group--disabled {
10193
+ opacity: 0.5;
10156
10194
  }
10157
10195
 
10158
- .muka-label--lg {
10159
- font-family: var(--text-label-lg-semibold-fontFamily);
10160
- font-weight: var(--text-label-lg-semibold-fontWeight);
10161
- font-size: var(--text-label-lg-semibold-fontSize);
10162
- line-height: var(--text-label-lg-semibold-lineHeight);
10196
+ .muka-listitem-group--disabled .muka-listitem--disabled {
10197
+ /* The group already dims; don't dim the row twice */
10198
+ opacity: 1;
10163
10199
  }
10164
10200
 
10165
- .muka-label--disabled {
10166
- color: var(--color-text-subtle-default);
10167
- cursor: not-allowed;
10201
+ .muka-listitem--with-actions {
10202
+ flex: 1;
10203
+ min-width: 0;
10204
+ padding-right: var(--spacing-2);
10205
+ background-color: transparent;
10168
10206
  }
10169
10207
 
10170
- .muka-label__required {
10171
- color: var(--color-state-error-default);
10208
+ .muka-listitem--with-actions.muka-listitem--selected {
10209
+ background-color: transparent;
10210
+ }
10211
+
10212
+ .muka-listitem__actions {
10213
+ display: flex;
10214
+ align-items: center;
10215
+ gap: var(--spacing-2);
10216
+ flex-shrink: 0;
10217
+ padding-right: var(--spacing-4);
10218
+ }
10219
+
10220
+ .muka-listitem-group--no-divider .muka-listitem__divider {
10221
+ display: none;
10172
10222
  }
10173
10223
 
10174
10224
 
@@ -10365,6 +10415,47 @@ li.muka-listitem {
10365
10415
  }
10366
10416
 
10367
10417
 
10418
+ /* Label */
10419
+ /* Label Component Styles - Using Muka Design Tokens */
10420
+
10421
+ .muka-label {
10422
+ display: inline-flex;
10423
+ align-items: center;
10424
+ color: var(--color-text-default-default);
10425
+ cursor: pointer;
10426
+ }
10427
+
10428
+ .muka-label--sm {
10429
+ font-family: var(--text-label-sm-semibold-fontFamily);
10430
+ font-weight: var(--text-label-sm-semibold-fontWeight);
10431
+ font-size: var(--text-label-sm-semibold-fontSize);
10432
+ line-height: var(--text-label-sm-semibold-lineHeight);
10433
+ }
10434
+
10435
+ .muka-label--md {
10436
+ font-family: var(--text-label-md-semibold-fontFamily);
10437
+ font-weight: var(--text-label-md-semibold-fontWeight);
10438
+ font-size: var(--text-label-md-semibold-fontSize);
10439
+ line-height: var(--text-label-md-semibold-lineHeight);
10440
+ }
10441
+
10442
+ .muka-label--lg {
10443
+ font-family: var(--text-label-lg-semibold-fontFamily);
10444
+ font-weight: var(--text-label-lg-semibold-fontWeight);
10445
+ font-size: var(--text-label-lg-semibold-fontSize);
10446
+ line-height: var(--text-label-lg-semibold-lineHeight);
10447
+ }
10448
+
10449
+ .muka-label--disabled {
10450
+ color: var(--color-text-subtle-default);
10451
+ cursor: not-allowed;
10452
+ }
10453
+
10454
+ .muka-label__required {
10455
+ color: var(--color-state-error-default);
10456
+ }
10457
+
10458
+
10368
10459
  /* InputCounter */
10369
10460
  /* InputCounter — numeric field + joined decrement/increment buttons.
10370
10461
  Label, helper and error text reuse Input.css (../Input/Input.css).
@@ -10824,26 +10915,6 @@ li.muka-listitem {
10824
10915
  }
10825
10916
 
10826
10917
 
10827
- /* Form */
10828
- .muka-form {
10829
- display: flex;
10830
- flex-direction: column;
10831
- width: 100%;
10832
- }
10833
-
10834
- .muka-form--gap-sm {
10835
- gap: var(--size-sm);
10836
- }
10837
-
10838
- .muka-form--gap-md {
10839
- gap: var(--size-md);
10840
- }
10841
-
10842
- .muka-form--gap-lg {
10843
- gap: var(--size-lg);
10844
- }
10845
-
10846
-
10847
10918
  /* Icon */
10848
10919
  /* Icon Component Styles - Using Muka Design Tokens */
10849
10920
 
@@ -10898,6 +10969,26 @@ li.muka-listitem {
10898
10969
  }
10899
10970
 
10900
10971
 
10972
+ /* Form */
10973
+ .muka-form {
10974
+ display: flex;
10975
+ flex-direction: column;
10976
+ width: 100%;
10977
+ }
10978
+
10979
+ .muka-form--gap-sm {
10980
+ gap: var(--size-sm);
10981
+ }
10982
+
10983
+ .muka-form--gap-md {
10984
+ gap: var(--size-md);
10985
+ }
10986
+
10987
+ .muka-form--gap-lg {
10988
+ gap: var(--size-lg);
10989
+ }
10990
+
10991
+
10901
10992
  /* FileUpload */
10902
10993
  /* FileUpload Component Styles */
10903
10994
 
@@ -12207,6 +12298,33 @@ li.muka-listitem {
12207
12298
  background-color: var(--separator-color-contrast);
12208
12299
  }
12209
12300
 
12301
+ /* ─── With a label in the middle ───────────────────────── */
12302
+
12303
+ .muka-divider-labelled {
12304
+ display: flex;
12305
+ align-items: center;
12306
+ gap: var(--spacing-3);
12307
+ width: 100%;
12308
+ }
12309
+
12310
+ .muka-divider-labelled > .muka-divider {
12311
+ flex: 1 1 0%;
12312
+ width: auto;
12313
+ }
12314
+
12315
+ .muka-divider-labelled__label {
12316
+ flex-shrink: 0;
12317
+ max-width: 70%;
12318
+ overflow: hidden;
12319
+ text-overflow: ellipsis;
12320
+ white-space: nowrap;
12321
+ color: var(--color-text-default-default);
12322
+ font-family: var(--text-label-sm-regular-fontFamily);
12323
+ font-weight: var(--text-label-sm-regular-fontWeight);
12324
+ font-size: var(--text-label-sm-regular-fontSize);
12325
+ line-height: var(--text-label-sm-leading);
12326
+ }
12327
+
12210
12328
 
12211
12329
  /* Dialog */
12212
12330
  /* Dialog Component Styles */
@@ -14780,6 +14898,68 @@ button.muka-chat-photo-grid__tile:focus-visible {
14780
14898
  }
14781
14899
  }
14782
14900
 
14901
+ /* ─── Muted (a message from another context) ──────────────
14902
+ * The bubble drops its fill and keeps a hairline, so it recedes next to the
14903
+ * current conversation; the text keeps full contrast. */
14904
+
14905
+ .muka-chat-message--muted .muka-chat-message__bubble {
14906
+ background-color: transparent;
14907
+ border-color: var(--chatbubble-color-peer-border);
14908
+ color: var(--color-text-default-default);
14909
+ }
14910
+
14911
+
14912
+ /* ChatEvent */
14913
+ /* ChatEvent: a line in a chat that isn't a message from a person */
14914
+
14915
+ .muka-chat-event {
14916
+ display: flex;
14917
+ flex-direction: column;
14918
+ align-items: center;
14919
+ gap: var(--spacing-2);
14920
+ width: 100%;
14921
+ padding: 0 var(--spacing-4);
14922
+ box-sizing: border-box;
14923
+ text-align: center;
14924
+ }
14925
+
14926
+ .muka-chat-event__text {
14927
+ margin: 0;
14928
+ max-width: var(--chatbubble-max-width);
14929
+ /* Default text, not subtle: subtle reaches only ~3:1 on the chat surfaces,
14930
+ and this is body text. Size and centring set it apart from messages. */
14931
+ color: var(--color-text-default-default);
14932
+ font-family: var(--text-body-sm-regular-fontFamily);
14933
+ font-weight: var(--text-body-sm-regular-fontWeight);
14934
+ font-size: var(--text-body-sm-regular-fontSize);
14935
+ line-height: var(--text-body-sm-regular-lineHeight);
14936
+ }
14937
+
14938
+ .muka-chat-event__timestamp {
14939
+ white-space: nowrap;
14940
+ }
14941
+
14942
+ .muka-chat-event__media {
14943
+ display: flex;
14944
+ flex-wrap: wrap;
14945
+ justify-content: center;
14946
+ gap: var(--spacing-2);
14947
+ }
14948
+
14949
+ /* Day divider: a small pill */
14950
+ .muka-chat-event__pill {
14951
+ display: inline-flex;
14952
+ align-items: center;
14953
+ padding: var(--spacing-1) var(--spacing-3);
14954
+ border-radius: var(--radius-full);
14955
+ background-color: var(--color-surface-level2);
14956
+ color: var(--color-text-default-default);
14957
+ font-family: var(--text-label-sm-regular-fontFamily);
14958
+ font-weight: var(--text-label-sm-regular-fontWeight);
14959
+ font-size: var(--text-label-sm-regular-fontSize);
14960
+ line-height: var(--text-label-sm-leading);
14961
+ }
14962
+
14783
14963
 
14784
14964
  /* ChatComposer */
14785
14965
  /* ChatComposer Component Styles */