@theoremjs/react 0.3.5-next.1028.g2b8b746 → 0.3.5-next.1029.g543179b

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@theoremjs/react",
3
- "version": "0.3.5-next.1028.g2b8b746",
3
+ "version": "0.3.5-next.1029.g543179b",
4
4
  "description": "React bindings for Theorem: headless hooks + transport, an Astryx chat UI, and a Web-standard server handler.",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -60,8 +60,8 @@
60
60
  "@stylexjs/stylex": "0.19.0",
61
61
  "react": "^19.0.0",
62
62
  "react-dom": "^19.0.0",
63
- "@theoremjs/agents": "^0.3.5-next.1028.g2b8b746",
64
- "@theoremjs/web": "^0.3.5-next.1028.g2b8b746"
63
+ "@theoremjs/agents": "^0.3.5-next.1029.g543179b",
64
+ "@theoremjs/web": "^0.3.5-next.1029.g543179b"
65
65
  },
66
66
  "peerDependenciesMeta": {
67
67
  "@astryxdesign/core": {
@@ -223,7 +223,7 @@ function userParts(parts, renderRef) {
223
223
  function UserBlock({ block, metadata }) {
224
224
  const renderRef = useContext(RenderRef);
225
225
  if (block.kind === 'user-text')
226
- return (_jsx(ChatMessageBubble, { metadata: metadata, children: renderRef && block.parts ? _jsx("div", { children: userParts(block.parts, renderRef) }) : block.text }));
226
+ return (_jsx(ChatMessageBubble, { metadata: metadata, children: _jsx("div", { style: { whiteSpace: 'pre-wrap' }, children: renderRef && block.parts ? userParts(block.parts, renderRef) : block.text }) }));
227
227
  if (block.kind !== 'user-attachment' && block.kind !== 'user-voice')
228
228
  return null;
229
229
  return _jsx(UserFile, { block: block });