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