@revikornmann/muka-ui 0.11.0 → 0.12.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 (79) hide show
  1. package/build/manifest.json +20 -0
  2. package/dist/cjs/components/AgentTaskList/AgentTaskList.css +22 -3
  3. package/dist/cjs/components/BottomBar/BottomBar.css +8 -5
  4. package/dist/cjs/components/Button/Button.css +13 -6
  5. package/dist/cjs/components/Button/Button.js +1 -1
  6. package/dist/cjs/components/ChatBubble/ChatBubble.css +251 -31
  7. package/dist/cjs/components/ChatBubble/ChatBubble.js +17 -4
  8. package/dist/cjs/components/ChatBubble/ChatBubble.js.map +1 -1
  9. package/dist/cjs/components/ChatComposer/ChatComposer.css +13 -1
  10. package/dist/cjs/components/ChatMessageList/ChatMessageList.css +17 -1
  11. package/dist/cjs/components/ChatPhotoGrid/ChatPhotoGrid.css +113 -0
  12. package/dist/cjs/components/ChatPhotoGrid/ChatPhotoGrid.js +47 -0
  13. package/dist/cjs/components/ChatPhotoGrid/ChatPhotoGrid.js.map +1 -0
  14. package/dist/cjs/components/ChatPhotoGrid/index.js +11 -0
  15. package/dist/cjs/components/ChatPhotoGrid/index.js.map +1 -0
  16. package/dist/cjs/components/index.js +3 -1
  17. package/dist/cjs/components/index.js.map +1 -1
  18. package/dist/esm/components/AgentTaskList/AgentTaskList.css +22 -3
  19. package/dist/esm/components/BottomBar/BottomBar.css +8 -5
  20. package/dist/esm/components/Button/Button.css +13 -6
  21. package/dist/esm/components/Button/Button.js +1 -1
  22. package/dist/esm/components/ChatBubble/ChatBubble.css +251 -31
  23. package/dist/esm/components/ChatBubble/ChatBubble.js +18 -5
  24. package/dist/esm/components/ChatBubble/ChatBubble.js.map +1 -1
  25. package/dist/esm/components/ChatComposer/ChatComposer.css +13 -1
  26. package/dist/esm/components/ChatMessageList/ChatMessageList.css +17 -1
  27. package/dist/esm/components/ChatPhotoGrid/ChatPhotoGrid.css +113 -0
  28. package/dist/esm/components/ChatPhotoGrid/ChatPhotoGrid.js +43 -0
  29. package/dist/esm/components/ChatPhotoGrid/ChatPhotoGrid.js.map +1 -0
  30. package/dist/esm/components/ChatPhotoGrid/index.js +3 -0
  31. package/dist/esm/components/ChatPhotoGrid/index.js.map +1 -0
  32. package/dist/esm/components/index.js +1 -0
  33. package/dist/esm/components/index.js.map +1 -1
  34. package/dist/styles/components/AgentTaskList.css +22 -3
  35. package/dist/styles/components/BottomBar.css +8 -5
  36. package/dist/styles/components/Button.css +13 -6
  37. package/dist/styles/components/ChatBubble.css +251 -31
  38. package/dist/styles/components/ChatComposer.css +13 -1
  39. package/dist/styles/components/ChatMessageList.css +17 -1
  40. package/dist/styles/components/ChatPhotoGrid.css +113 -0
  41. package/dist/styles/index.css +1025 -574
  42. package/dist/styles/muka-dark.css +1025 -574
  43. package/dist/styles/muka-light.css +1025 -574
  44. package/dist/styles/tokens-bouwplan-dark.css +58 -0
  45. package/dist/styles/tokens-bouwplan-light.css +58 -0
  46. package/dist/styles/tokens-fscl-dark.css +58 -0
  47. package/dist/styles/tokens-fscl-light.css +58 -0
  48. package/dist/styles/tokens-grip-dark.css +58 -0
  49. package/dist/styles/tokens-grip-light.css +58 -0
  50. package/dist/styles/tokens-muka-dark.css +58 -0
  51. package/dist/styles/tokens-muka-light.css +58 -0
  52. package/dist/styles/tokens-wireframe-dark.css +58 -0
  53. package/dist/styles/tokens-wireframe-light.css +58 -0
  54. package/dist/styles/wireframe-dark.css +1025 -574
  55. package/dist/styles/wireframe-light.css +1025 -574
  56. package/dist/types/components/Button/Button.d.ts +1 -1
  57. package/dist/types/components/ChatBubble/ChatBubble.d.ts +63 -8
  58. package/dist/types/components/ChatBubble/ChatBubble.d.ts.map +1 -1
  59. package/dist/types/components/ChatPhotoGrid/ChatPhotoGrid.d.ts +44 -0
  60. package/dist/types/components/ChatPhotoGrid/ChatPhotoGrid.d.ts.map +1 -0
  61. package/dist/types/components/ChatPhotoGrid/index.d.ts +3 -0
  62. package/dist/types/components/ChatPhotoGrid/index.d.ts.map +1 -0
  63. package/dist/types/components/index.d.ts +1 -0
  64. package/dist/types/components/index.d.ts.map +1 -1
  65. package/package.json +1 -1
  66. package/tokens/README.md +14 -0
  67. package/tokens/t2-alias/brand/bouwplan/dark.json +24 -0
  68. package/tokens/t2-alias/brand/bouwplan/light.json +24 -0
  69. package/tokens/t2-alias/brand/fscl/dark.json +24 -0
  70. package/tokens/t2-alias/brand/fscl/light.json +24 -0
  71. package/tokens/t2-alias/brand/grip/dark.json +54 -0
  72. package/tokens/t2-alias/brand/grip/light.json +54 -0
  73. package/tokens/t2-alias/brand/muka/dark.json +54 -0
  74. package/tokens/t2-alias/brand/muka/light.json +54 -0
  75. package/tokens/t2-alias/brand/wireframe/dark.json +54 -0
  76. package/tokens/t2-alias/brand/wireframe/light.json +54 -0
  77. package/tokens/t3-semantics/ui.json +190 -0
  78. package/tokens/t4-components/chatbubble.json +154 -0
  79. package/tokens/t4-components/chatphotogrid.json +32 -0
@@ -3,69 +3,222 @@
3
3
  .muka-chat-bubble {
4
4
  display: flex;
5
5
  flex-direction: column;
6
- gap: var(--spacing-1);
7
6
  width: 100%;
8
7
  max-width: 100%;
9
8
  }
10
9
 
11
- /* ─── User variant — right-aligned bubble ──────────────── */
10
+ /* ─── Row: avatar rail + bubble + action bar ───────────────
11
+ *
12
+ * A two-row grid rather than a flex column, so the avatar bottom-aligns to the
13
+ * bubble itself and not to the action bar underneath it (Figma 5223:8520).
14
+ */
12
15
 
13
- .muka-chat-bubble--user {
14
- align-items: flex-end;
16
+ .muka-chat-bubble__row {
17
+ display: grid;
18
+ grid-template-columns: minmax(0, 1fr);
19
+ grid-template-areas:
20
+ 'bubble'
21
+ 'actions';
22
+ column-gap: var(--chatbubble-row-gap);
23
+ row-gap: var(--chatbubble-gap);
24
+ width: 100%;
15
25
  }
16
26
 
17
- .muka-chat-bubble--user .muka-chat-bubble__message {
18
- background-color: var(--color-surface-level2);
19
- color: var(--color-text-default-default);
20
- border-radius: var(--radius-lg);
21
- padding: var(--spacing-4);
22
- max-width: min(600px, 100%);
23
- word-break: break-word;
27
+ .muka-chat-bubble--has-avatar .muka-chat-bubble__row {
28
+ grid-template-columns: auto minmax(0, 1fr);
29
+ grid-template-areas:
30
+ 'rail bubble'
31
+ '. actions';
24
32
  }
25
33
 
26
- .muka-chat-bubble--user .muka-chat-bubble__meta {
27
- justify-content: flex-end;
34
+ .muka-chat-bubble--own.muka-chat-bubble--has-avatar .muka-chat-bubble__row {
35
+ grid-template-columns: minmax(0, 1fr) auto;
36
+ grid-template-areas:
37
+ 'bubble rail'
38
+ 'actions .';
28
39
  }
29
40
 
30
- /* ─── Agent variant — no bubble, full width ────────────── */
31
-
32
- .muka-chat-bubble--agent {
33
- align-items: flex-start;
41
+ .muka-chat-bubble__rail {
42
+ grid-area: rail;
43
+ /* Sits on the bubble's baseline, above the action bar */
44
+ align-self: end;
45
+ display: flex;
46
+ justify-content: center;
47
+ min-width: var(--chatbubble-avatar-size);
34
48
  }
35
49
 
36
- .muka-chat-bubble--agent .muka-chat-bubble__message {
37
- color: var(--color-text-default-default);
38
- padding: 0 var(--spacing-2);
50
+ /* ─── Bubble surface ───────────────────────────────────── */
51
+
52
+ .muka-chat-bubble__bubble {
53
+ grid-area: bubble;
54
+ max-width: var(--chatbubble-max-width);
55
+ position: relative;
56
+ display: flex;
57
+ flex-direction: column;
58
+ gap: var(--chatbubble-gap);
39
59
  width: 100%;
60
+ padding: var(--chatbubble-padding);
61
+ border-radius: var(--chatbubble-radius);
62
+ border: var(--border-width-regular) solid transparent;
40
63
  word-break: break-word;
41
64
  }
42
65
 
43
- .muka-chat-bubble--agent .muka-chat-bubble__meta {
44
- justify-content: flex-start;
66
+ .muka-chat-bubble--own .muka-chat-bubble__bubble,
67
+ .muka-chat-bubble--own .muka-chat-bubble__actions {
68
+ justify-self: end;
69
+ }
70
+
71
+ .muka-chat-bubble--own .muka-chat-bubble__bubble {
72
+ background-color: var(--chatbubble-color-own-background);
73
+ border-color: var(--chatbubble-color-own-border);
74
+ color: var(--chatbubble-color-own-foreground);
75
+ /* Room for the inset timestamp in the bottom-right corner */
76
+ padding-right: var(--spacing-6);
77
+ }
78
+
79
+ .muka-chat-bubble--peer .muka-chat-bubble__bubble {
80
+ background-color: var(--chatbubble-color-peer-background);
81
+ border-color: var(--chatbubble-color-peer-border);
82
+ color: var(--chatbubble-color-peer-foreground);
83
+ box-shadow: var(--shadow-level2);
84
+ }
85
+
86
+ .muka-chat-bubble--agent .muka-chat-bubble__bubble {
87
+ background-color: var(--chatbubble-color-agent-background);
88
+ border-color: var(--chatbubble-color-agent-border);
89
+ color: var(--chatbubble-color-agent-foreground);
45
90
  }
46
91
 
47
- /* ─── Message typography ───────────────────────────────── */
92
+ /* ─── Header row (author · meta · time · badge) ────────── */
93
+
94
+ .muka-chat-bubble__header {
95
+ display: flex;
96
+ flex-flow: row wrap;
97
+ align-items: center;
98
+ gap: var(--chatbubble-row-gap);
99
+ }
100
+
101
+ .muka-chat-bubble__author {
102
+ font-family: var(--text-body-base-bold-fontFamily);
103
+ font-weight: var(--text-body-base-bold-fontWeight);
104
+ font-size: var(--text-body-base-bold-fontSize);
105
+ line-height: var(--text-body-base-bold-lineHeight);
106
+ }
107
+
108
+ .muka-chat-bubble__author-meta {
109
+ /* Inherits the variant's body colour from the bubble */
110
+ color: inherit;
111
+ font-family: var(--text-body-base-regular-fontFamily);
112
+ font-weight: var(--text-body-base-regular-fontWeight);
113
+ font-size: var(--text-body-base-regular-fontSize);
114
+ line-height: var(--text-body-base-regular-lineHeight);
115
+ }
116
+
117
+ .muka-chat-bubble__badge {
118
+ display: inline-flex;
119
+ align-items: center;
120
+ }
121
+
122
+ /*
123
+ * Keep the first line of content clear of the absolutely positioned menu
124
+ * button in the bubble's top-right corner.
125
+ */
126
+ .muka-chat-bubble--has-menu .muka-chat-bubble__header,
127
+ .muka-chat-bubble--has-menu.muka-chat-bubble--no-header .muka-chat-bubble__message {
128
+ padding-right: var(--spacing-6);
129
+ }
130
+
131
+ /* ─── Body ─────────────────────────────────────────────── */
132
+
133
+ .muka-chat-bubble__body {
134
+ display: flex;
135
+ flex-direction: column;
136
+ gap: var(--chatbubble-gap);
137
+ min-width: 0;
138
+ }
139
+
140
+ /* The agent balloon spaces its blocks further apart (Figma 5223:8520) */
141
+ .muka-chat-bubble--agent .muka-chat-bubble__body {
142
+ gap: var(--chatbubble-body-gap);
143
+ }
144
+
145
+ .muka-chat-bubble__media {
146
+ min-width: 0;
147
+ }
48
148
 
49
149
  .muka-chat-bubble__message {
50
150
  font-family: var(--text-body-base-regular-fontFamily);
51
151
  font-weight: var(--text-body-base-regular-fontWeight);
52
152
  font-size: var(--text-body-base-regular-fontSize);
53
153
  line-height: var(--text-body-base-regular-lineHeight);
154
+ white-space: pre-wrap;
155
+ word-break: break-word;
54
156
  }
55
157
 
56
- /* ─── Meta row (timestamp + actions) ───────────────────── */
158
+ /* Empty message block should not add a gap of its own */
159
+ .muka-chat-bubble__message:empty {
160
+ display: none;
161
+ }
57
162
 
58
- .muka-chat-bubble__meta {
163
+ /* ─── Embedded card ────────────────────────────────────── */
164
+
165
+ .muka-chat-bubble__embed {
166
+ position: relative;
59
167
  display: flex;
60
- align-items: center;
61
- gap: var(--spacing-1);
168
+ flex-direction: column;
169
+ gap: var(--chatbubble-embed-gap);
170
+ padding: var(--chatbubble-embed-padding);
171
+ border-radius: var(--chatbubble-embed-radius);
172
+ border: var(--border-width-regular) solid transparent;
62
173
  }
63
174
 
175
+ /*
176
+ * The embed sits on the raised surface of its author's role, one step apart
177
+ * from the bubble it is nested in, and reuses that role's border colour.
178
+ */
179
+ .muka-chat-bubble--own .muka-chat-bubble__embed {
180
+ background-color: var(--chatbubble-embed-color-own-background);
181
+ border-color: var(--chatbubble-embed-color-own-border);
182
+ color: var(--chatbubble-embed-color-own-foreground);
183
+ }
184
+
185
+ .muka-chat-bubble--peer .muka-chat-bubble__embed {
186
+ background-color: var(--chatbubble-embed-color-peer-background);
187
+ border-color: var(--chatbubble-embed-color-peer-border);
188
+ color: var(--chatbubble-embed-color-peer-foreground);
189
+ }
190
+
191
+ .muka-chat-bubble--agent .muka-chat-bubble__embed {
192
+ background-color: var(--chatbubble-embed-color-agent-background);
193
+ border-color: var(--chatbubble-embed-color-agent-border);
194
+ color: var(--chatbubble-embed-color-agent-foreground);
195
+ }
196
+
197
+ .muka-chat-bubble__embed-content {
198
+ display: flex;
199
+ flex-direction: column;
200
+ gap: var(--chatbubble-embed-gap);
201
+ min-width: 0;
202
+ }
203
+
204
+ .muka-chat-bubble__embed-copy {
205
+ position: absolute;
206
+ top: var(--chatbubble-embed-padding);
207
+ right: var(--chatbubble-embed-padding);
208
+ }
209
+
210
+ /* ─── Stacked full-width action buttons ────────────────── */
211
+
212
+ .muka-chat-bubble__action-stack {
213
+ display: flex;
214
+ flex-direction: column;
215
+ gap: var(--chatbubble-action-stack-gap);
216
+ }
217
+
218
+ /* ─── Inset timestamp (user variant) ───────────────────── */
219
+
64
220
  .muka-chat-bubble__timestamp {
65
- display: inline-flex;
66
- align-items: center;
67
- padding: 0 var(--spacing-2);
68
- color: var(--color-text-subtle-default);
221
+ color: var(--chatbubble-color-timestamp);
69
222
  font-family: var(--text-body-sm-regular-fontFamily);
70
223
  font-weight: var(--text-body-sm-regular-fontWeight);
71
224
  font-size: var(--text-body-sm-regular-fontSize);
@@ -73,8 +226,75 @@
73
226
  white-space: nowrap;
74
227
  }
75
228
 
229
+ .muka-chat-bubble__timestamp--inset {
230
+ align-self: flex-end;
231
+ }
232
+
233
+ /* ─── Menu affordance ──────────────────────────────────── */
234
+
235
+ .muka-chat-bubble__menu {
236
+ position: absolute;
237
+ top: var(--spacing-1);
238
+ right: var(--spacing-1);
239
+ }
240
+
241
+ /* ─── Meta action row (below the bubble) ───────────────── */
242
+
76
243
  .muka-chat-bubble__actions {
244
+ grid-area: actions;
245
+ max-width: var(--chatbubble-max-width);
77
246
  display: flex;
78
247
  align-items: center;
79
248
  gap: 0;
80
249
  }
250
+
251
+ .muka-chat-bubble--own .muka-chat-bubble__actions,
252
+ .muka-chat-bubble--agent .muka-chat-bubble__actions {
253
+ justify-content: flex-end;
254
+ }
255
+
256
+ /*
257
+ * The meta row uses 32px icon buttons per the design. Expand the pointer/touch
258
+ * target to the 44px WCAG 2.1 AA minimum without changing the visual size.
259
+ */
260
+ .muka-chat-bubble__actions .muka-button--icon-only {
261
+ position: relative;
262
+ }
263
+
264
+ .muka-chat-bubble__actions .muka-button--icon-only::after {
265
+ content: '';
266
+ position: absolute;
267
+ top: 50%;
268
+ left: 50%;
269
+ width: 44px;
270
+ height: 44px;
271
+ transform: translate(-50%, -50%);
272
+ }
273
+
274
+ /* ─── Print ────────────────────────────────────────────── */
275
+
276
+ @media print {
277
+ .muka-chat-bubble__bubble {
278
+ box-shadow: none;
279
+ break-inside: avoid;
280
+ print-color-adjust: exact;
281
+ -webkit-print-color-adjust: exact;
282
+ }
283
+
284
+ .muka-chat-bubble__embed {
285
+ break-inside: avoid;
286
+ print-color-adjust: exact;
287
+ -webkit-print-color-adjust: exact;
288
+ }
289
+
290
+ .muka-chat-bubble__menu,
291
+ .muka-chat-bubble__actions,
292
+ .muka-chat-bubble__embed-copy,
293
+ .muka-chat-bubble__action-stack {
294
+ display: none;
295
+ }
296
+
297
+ .muka-chat-bubble__column {
298
+ max-width: 100%;
299
+ }
300
+ }
@@ -1,20 +1,33 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
1
+ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
2
+ import { Button } from '../Button';
3
+ import { Icon } from '../Icon';
2
4
  import './ChatBubble.css';
3
5
  /**
4
6
  * ChatBubble — a single chat message.
5
7
  *
6
- * Composes with `ChatMessageList`. For agent messages, render an `AgentTaskList`
7
- * above the bubble children if you want to show tool/task progress.
8
+ * Composes with `ChatMessageList`. Pass `<ChatPhotoGrid />` to `media`, an
9
+ * `<AgentTaskList />` above the bubble for tool progress, and a `<Badge />` to
10
+ * `badge` for visibility scope.
8
11
  */
9
- export const ChatBubble = ({ variant, children, timestamp, actions, className = '', }) => {
12
+ export const ChatBubble = ({ variant, children, avatar, author, authorMeta, badge, timestamp, media, embed, onEmbedCopy, embedCopyLabel = 'Copy', actionStack, onCopy, copyLabel = 'Copy', onFeedback, feedback = null, feedbackUpLabel = 'Helpful', feedbackDownLabel = 'Not helpful', onRefresh, refreshLabel = 'Regenerate', actions, onMenuClick, menuLabel = 'Message options', className = '', }) => {
13
+ // The own variant shows its timestamp inside the bubble; the others in the header row.
14
+ const timestampInHeader = variant !== 'own';
15
+ const hasHeader = Boolean(author || badge || (timestampInHeader && timestamp));
10
16
  const classes = [
11
17
  'muka-chat-bubble',
12
18
  `muka-chat-bubble--${variant}`,
19
+ avatar && 'muka-chat-bubble--has-avatar',
20
+ onMenuClick && 'muka-chat-bubble--has-menu',
21
+ !hasHeader && 'muka-chat-bubble--no-header',
13
22
  className,
14
23
  ]
15
24
  .filter(Boolean)
16
25
  .join(' ');
17
- return (_jsxs("div", { className: classes, "data-variant": variant, children: [_jsx("div", { className: "muka-chat-bubble__message", children: children }), (timestamp || actions) && (_jsxs("div", { className: "muka-chat-bubble__meta", children: [timestamp && (_jsx("span", { className: "muka-chat-bubble__timestamp", children: timestamp })), actions && (_jsx("div", { className: "muka-chat-bubble__actions", children: actions }))] }))] }));
26
+ // The rail is only reserved when an avatar is supplied. To keep grouped
27
+ // messages aligned, pass a spacer node for the follow-up messages.
28
+ const rail = avatar ? (_jsx("div", { className: "muka-chat-bubble__rail", children: avatar })) : null;
29
+ const hasActionBar = Boolean(onCopy || onFeedback || onRefresh || actions);
30
+ return (_jsx("div", { className: classes, "data-variant": variant, children: _jsxs("div", { className: "muka-chat-bubble__row", children: [variant !== 'own' ? rail : null, _jsxs("div", { className: "muka-chat-bubble__bubble", children: [hasHeader && (_jsxs("div", { className: "muka-chat-bubble__header", children: [author && (_jsx("span", { className: "muka-chat-bubble__author", children: author })), authorMeta && (_jsx("span", { className: "muka-chat-bubble__author-meta", children: authorMeta })), timestampInHeader && timestamp && (_jsx("span", { className: "muka-chat-bubble__timestamp", children: timestamp })), badge && _jsx("span", { className: "muka-chat-bubble__badge", children: badge })] })), _jsxs("div", { className: "muka-chat-bubble__body", children: [media && _jsx("div", { className: "muka-chat-bubble__media", children: media }), _jsx("div", { className: "muka-chat-bubble__message", children: children }), embed && (_jsxs("div", { className: "muka-chat-bubble__embed", children: [_jsx("div", { className: "muka-chat-bubble__embed-content", children: embed }), onEmbedCopy && (_jsx("div", { className: "muka-chat-bubble__embed-copy", children: _jsx(Button, { variant: "muted", size: "md", iconOnly: true, type: "button", "aria-label": embedCopyLabel, onClick: onEmbedCopy, children: _jsx(Icon, { name: "file-copy", size: "sm" }) }) }))] })), actionStack && (_jsx("div", { className: "muka-chat-bubble__action-stack", children: actionStack }))] }), !timestampInHeader && timestamp && (_jsx("span", { className: "muka-chat-bubble__timestamp muka-chat-bubble__timestamp--inset", children: timestamp })), onMenuClick && (_jsx("div", { className: "muka-chat-bubble__menu", children: _jsx(Button, { variant: "muted", size: "sm", iconOnly: true, type: "button", "aria-label": menuLabel, onClick: onMenuClick, children: _jsx(Icon, { name: "arrow-down-s", size: "xs" }) }) }))] }), hasActionBar && (_jsxs("div", { className: "muka-chat-bubble__actions", children: [onCopy && (_jsx(Button, { variant: "muted", size: "sm", iconOnly: true, type: "button", "aria-label": copyLabel, onClick: onCopy, children: _jsx(Icon, { name: "file-copy", size: "xs" }) })), onFeedback && (_jsxs(_Fragment, { children: [_jsx(Button, { variant: "muted", size: "sm", iconOnly: true, type: "button", "aria-label": feedbackUpLabel, "aria-pressed": feedback === 'up', onClick: () => onFeedback(feedback === 'up' ? null : 'up'), children: _jsx(Icon, { name: "thumb-up", size: "xs" }) }), _jsx(Button, { variant: "muted", size: "sm", iconOnly: true, type: "button", "aria-label": feedbackDownLabel, "aria-pressed": feedback === 'down', onClick: () => onFeedback(feedback === 'down' ? null : 'down'), children: _jsx(Icon, { name: "thumb-down", size: "xs" }) })] })), onRefresh && (_jsx(Button, { variant: "muted", size: "sm", iconOnly: true, type: "button", "aria-label": refreshLabel, onClick: onRefresh, children: _jsx(Icon, { name: "restart", size: "xs" }) })), actions] })), variant === 'own' ? rail : null] }) }));
18
31
  };
19
32
  export default ChatBubble;
20
33
  //# sourceMappingURL=ChatBubble.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ChatBubble.js","sourceRoot":"","sources":["../../../../components/ChatBubble/ChatBubble.tsx"],"names":[],"mappings":";AACA,OAAO,kBAAkB,CAAC;AA0B1B;;;;;GAKG;AACH,MAAM,CAAC,MAAM,UAAU,GAA8B,CAAC,EACpD,OAAO,EACP,QAAQ,EACR,SAAS,EACT,OAAO,EACP,SAAS,GAAG,EAAE,GACf,EAAE,EAAE;IACH,MAAM,OAAO,GAAG;QACd,kBAAkB;QAClB,qBAAqB,OAAO,EAAE;QAC9B,SAAS;KACV;SACE,MAAM,CAAC,OAAO,CAAC;SACf,IAAI,CAAC,GAAG,CAAC,CAAC;IAEb,OAAO,CACL,eAAK,SAAS,EAAE,OAAO,kBAAgB,OAAO,aAC5C,cAAK,SAAS,EAAC,2BAA2B,YAAE,QAAQ,GAAO,EAC1D,CAAC,SAAS,IAAI,OAAO,CAAC,IAAI,CACzB,eAAK,SAAS,EAAC,wBAAwB,aACpC,SAAS,IAAI,CACZ,eAAM,SAAS,EAAC,6BAA6B,YAAE,SAAS,GAAQ,CACjE,EACA,OAAO,IAAI,CACV,cAAK,SAAS,EAAC,2BAA2B,YAAE,OAAO,GAAO,CAC3D,IACG,CACP,IACG,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,UAAU,CAAC"}
1
+ {"version":3,"file":"ChatBubble.js","sourceRoot":"","sources":["../../../../components/ChatBubble/ChatBubble.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AACnC,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAC;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S,IAAI,CACZ,KAAC,MAAM,IACL,OAAO,EAAC,OAAO,EACf,IAAI,EAAC,IAAI,EACT,QAAQ,QACR,IAAI,EAAC,QAAQ,gBACD,YAAY,EACxB,OAAO,EAAE,SAAS,YAElB,KAAC,IAAI,IAAC,IAAI,EAAC,SAAS,EAAC,IAAI,EAAC,IAAI,GAAG,GAC1B,CACV,EAEA,OAAO,IACJ,CACP,EAEA,OAAO,KAAK,KAAK,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,IAC5B,GACF,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,UAAU,CAAC"}
@@ -1,11 +1,15 @@
1
1
  /* ChatComposer Component Styles */
2
2
 
3
+ /*
4
+ * The composer is a bare, fill-width row: no padding, background, border or
5
+ * max-width of its own (Figma 5243:14141). Whatever hosts it owns the
6
+ * container — see BottomBar's `chat` variant.
7
+ */
3
8
  .muka-chat-composer {
4
9
  display: flex;
5
10
  flex-direction: column;
6
11
  gap: var(--spacing-3);
7
12
  width: 100%;
8
- max-width: 768px;
9
13
  }
10
14
 
11
15
  .muka-chat-composer--disabled {
@@ -111,3 +115,11 @@
111
115
  right: var(--spacing-2);
112
116
  transform: translateY(-50%);
113
117
  }
118
+
119
+ /* ─── Print ────────────────────────────────────────────── */
120
+
121
+ @media print {
122
+ .muka-chat-composer {
123
+ display: none;
124
+ }
125
+ }
@@ -19,6 +19,22 @@
19
19
  align-items: stretch;
20
20
  gap: var(--spacing-8);
21
21
  width: 100%;
22
- max-width: 640px;
22
+ max-width: var(--container-max-width-sm);
23
23
  margin: 0 auto;
24
24
  }
25
+
26
+ /* ─── Print ────────────────────────────────────────────── */
27
+
28
+ @media print {
29
+ .muka-chat-message-list {
30
+ overflow: visible;
31
+ height: auto;
32
+ max-height: none;
33
+ background: none;
34
+ padding: 0;
35
+ }
36
+
37
+ .muka-chat-message-list__inner {
38
+ max-width: 100%;
39
+ }
40
+ }
@@ -0,0 +1,113 @@
1
+ /* ChatPhotoGrid Component Styles */
2
+
3
+ .muka-chat-photo-grid {
4
+ display: grid;
5
+ gap: var(--chatphotogrid-gap);
6
+ width: 100%;
7
+ min-width: 0;
8
+ }
9
+
10
+ /* ─── Tiles ────────────────────────────────────────────── */
11
+
12
+ .muka-chat-photo-grid__tile {
13
+ position: relative;
14
+ display: block;
15
+ overflow: hidden;
16
+ min-width: 0;
17
+ padding: 0;
18
+ margin: 0;
19
+ border: none;
20
+ border-radius: var(--chatphotogrid-radius);
21
+ background-color: var(--chatphotogrid-color-placeholder);
22
+ aspect-ratio: 1 / 1;
23
+ }
24
+
25
+ button.muka-chat-photo-grid__tile {
26
+ cursor: pointer;
27
+ appearance: none;
28
+ }
29
+
30
+ button.muka-chat-photo-grid__tile:focus-visible {
31
+ outline: var(--border-width-bold) solid var(--color-border-focus);
32
+ outline-offset: var(--spacing-1);
33
+ }
34
+
35
+ .muka-chat-photo-grid__image {
36
+ display: block;
37
+ width: 100%;
38
+ height: 100%;
39
+ object-fit: cover;
40
+ }
41
+
42
+ /* ─── Overflow tile ────────────────────────────────────── */
43
+
44
+ .muka-chat-photo-grid__overflow {
45
+ position: absolute;
46
+ inset: 0;
47
+ display: flex;
48
+ align-items: center;
49
+ justify-content: center;
50
+ background-color: var(--chatphotogrid-color-overflow-background);
51
+ color: var(--chatphotogrid-color-overflow-foreground);
52
+ font-family: var(--text-body-2xl-regular-fontFamily);
53
+ font-weight: var(--text-body-2xl-regular-fontWeight);
54
+ font-size: var(--text-body-2xl-regular-fontSize);
55
+ line-height: var(--text-body-2xl-regular-lineHeight);
56
+ }
57
+
58
+ /* ─── Layouts ──────────────────────────────────────────── */
59
+
60
+ .muka-chat-photo-grid--1 {
61
+ grid-template-columns: 1fr;
62
+ }
63
+
64
+ .muka-chat-photo-grid--landscape .muka-chat-photo-grid__tile {
65
+ aspect-ratio: 4 / 3;
66
+ }
67
+
68
+ .muka-chat-photo-grid--portrait .muka-chat-photo-grid__tile {
69
+ aspect-ratio: 3 / 4;
70
+ }
71
+
72
+ .muka-chat-photo-grid--2 {
73
+ grid-template-columns: repeat(2, 1fr);
74
+ }
75
+
76
+ .muka-chat-photo-grid--3 {
77
+ grid-template-columns: repeat(3, 1fr);
78
+ }
79
+
80
+ .muka-chat-photo-grid--4 {
81
+ grid-template-columns: repeat(2, 1fr);
82
+ }
83
+
84
+ /* 5 photos: a 2-up row above a 3-up row, on a shared 6-column track */
85
+ .muka-chat-photo-grid--5 {
86
+ grid-template-columns: repeat(6, 1fr);
87
+ }
88
+
89
+ .muka-chat-photo-grid--5 .muka-chat-photo-grid__tile:nth-child(-n + 2) {
90
+ grid-column: span 3;
91
+ }
92
+
93
+ .muka-chat-photo-grid--5 .muka-chat-photo-grid__tile:nth-child(n + 3) {
94
+ grid-column: span 2;
95
+ }
96
+
97
+ .muka-chat-photo-grid--6,
98
+ .muka-chat-photo-grid--overflow {
99
+ grid-template-columns: repeat(3, 1fr);
100
+ }
101
+
102
+ /* ─── Print ────────────────────────────────────────────── */
103
+
104
+ @media print {
105
+ .muka-chat-photo-grid {
106
+ break-inside: avoid;
107
+ }
108
+
109
+ .muka-chat-photo-grid__image {
110
+ print-color-adjust: exact;
111
+ -webkit-print-color-adjust: exact;
112
+ }
113
+ }
@@ -0,0 +1,43 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import './ChatPhotoGrid.css';
3
+ /**
4
+ * ChatPhotoGrid — responsive photo grid for a chat message.
5
+ *
6
+ * Column counts follow the design: 1 → single tile (4:3 or 3:4), 2 → 2 columns,
7
+ * 3 → 3 columns, 4 → 2×2, 5 → a 2-up row above a 3-up row, 6 → 2×3. Beyond
8
+ * `max`, the final tile shows a `+N` overflow badge.
9
+ *
10
+ * Compose into `ChatBubble`'s `media` slot.
11
+ */
12
+ export const ChatPhotoGrid = ({ photos, singleOrientation = 'landscape', max = 6, overflowLabel = (count) => `+${count}`, onOverflowClick, 'aria-label': ariaLabel = 'Photos', className = '', }) => {
13
+ if (photos.length === 0)
14
+ return null;
15
+ const overflowCount = photos.length - max;
16
+ const hasOverflow = overflowCount > 0;
17
+ const visible = hasOverflow ? photos.slice(0, max) : photos;
18
+ const layout = hasOverflow ? 'overflow' : String(visible.length);
19
+ const classes = [
20
+ 'muka-chat-photo-grid',
21
+ `muka-chat-photo-grid--${layout}`,
22
+ visible.length === 1 && `muka-chat-photo-grid--${singleOrientation}`,
23
+ className,
24
+ ]
25
+ .filter(Boolean)
26
+ .join(' ');
27
+ return (_jsx("div", { className: classes, role: "group", "aria-label": ariaLabel, children: visible.map((photo, i) => {
28
+ const isOverflowTile = hasOverflow && i === visible.length - 1;
29
+ const interactive = isOverflowTile ? onOverflowClick : photo.onClick;
30
+ const Tag = interactive ? 'button' : 'div';
31
+ return (_jsxs(Tag, { className: "muka-chat-photo-grid__tile", ...(interactive
32
+ ? {
33
+ type: 'button',
34
+ onClick: interactive,
35
+ 'aria-label': isOverflowTile
36
+ ? overflowLabel(overflowCount)
37
+ : photo.alt || `Photo ${i + 1}`,
38
+ }
39
+ : {}), children: [_jsx("img", { className: "muka-chat-photo-grid__image", src: photo.src, alt: isOverflowTile ? '' : photo.alt || '', loading: "lazy" }), isOverflowTile && (_jsx("span", { className: "muka-chat-photo-grid__overflow", "aria-hidden": "true", children: overflowLabel(overflowCount) }))] }, i));
40
+ }) }));
41
+ };
42
+ export default ChatPhotoGrid;
43
+ //# sourceMappingURL=ChatPhotoGrid.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ChatPhotoGrid.js","sourceRoot":"","sources":["../../../../components/ChatPhotoGrid/ChatPhotoGrid.tsx"],"names":[],"mappings":";AACA,OAAO,qBAAqB,CAAC;AA0C7B;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,aAAa,GAAiC,CAAC,EAC1D,MAAM,EACN,iBAAiB,GAAG,WAAW,EAC/B,GAAG,GAAG,CAAC,EACP,aAAa,GAAG,CAAC,KAAK,EAAE,EAAE,CAAC,IAAI,KAAK,EAAE,EACtC,eA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AiB;wBACvB,OAAO,EAAE,WAAW;wBACpB,YAAY,EAAE,cAAc;4BAC1B,CAAC,CAAC,aAAa,CAAC,aAAa,CAAC;4BAC9B,CAAC,CAAC,KAAK,CAAC,GAAG,IAAI,SAAS,CAAC,GAAG,CAAC,EAAE;qBAClC;oBACH,CAAC,CAAC,EAAE,CAAC,aAEP,cACE,SAAS,EAAC,6BAA6B,EACvC,GAAG,EAAE,KAAK,CAAC,GAAG,EACd,GAAG,EAAE,cAAc,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,KAAK,CAAC,GAAG,IAAI,EAAE,EAC1C,OAAO,EAAC,MAAM,GACd,EACD,cAAc,IAAI,CACjB,eAAM,SAAS,EAAC,gCAAgC,iBAAa,MAAM,YAChE,aAAa,CAAC,aAAa,CAAC,GACxB,CACR,KAtBI,CAAC,CAuBF,CACP,CAAC;QACJ,CAAC,CAAC,GACE,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,aAAa,CAAC"}
@@ -0,0 +1,3 @@
1
+ export { ChatPhotoGrid, } from './ChatPhotoGrid';
2
+ export { default } from './ChatPhotoGrid';
3
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../components/ChatPhotoGrid/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,aAAa,GAGd,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC"}
@@ -64,6 +64,7 @@ export { ActionSheet, } from './ActionSheet';
64
64
  export { SearchInput } from './SearchInput';
65
65
  export { ChatBubble } from './ChatBubble';
66
66
  export { ChatMessageList } from './ChatMessageList';
67
+ export { ChatPhotoGrid, } from './ChatPhotoGrid';
67
68
  export { ChatComposer } from './ChatComposer';
68
69
  export { AgentTaskList, } from './AgentTaskList';
69
70
  export { TypingIndicator } from './TypingIndicator';
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","s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