@mcp-b/react-components 0.2.1 → 0.2.2

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.
@@ -5,8 +5,10 @@
5
5
  flex-direction: column;
6
6
  width: 100%;
7
7
  /* Hard cap, Codex-style, on the WHOLE unit — collapsed line and expanded
8
- log alike — so toggling never reflows the conversation width. */
9
- max-width: min(100%, 36rem);
8
+ log alike — so toggling never reflows the conversation width. Plain rem,
9
+ not min(100%, …): percentages are ignored in intrinsic-size contributions,
10
+ so the min() let wide nowrap rows inflate content-sized ancestors. */
11
+ max-width: 36rem;
10
12
  /* Whitespace separates the work log from message prose around it */
11
13
  margin-block: 0.5rem;
12
14
  font-family: var(--sigvelo-font-sans);
@@ -121,9 +123,8 @@
121
123
  display: flex;
122
124
  flex-direction: column;
123
125
  gap: 0.375rem;
124
- /* Bounded so expanding never blows out the conversation scroll position */
125
- max-height: 20rem;
126
- overflow-y: auto;
126
+ /* Unbounded on purpose: the expanded log flows in the conversation scroll;
127
+ only subsection panels (group text, shell output, code) are height-capped. */
127
128
  padding-block: 0.125rem 0.5rem;
128
129
  padding-inline: 0.5rem;
129
130
  }
@@ -13,6 +13,9 @@
13
13
  height: 100%;
14
14
  overflow-y: auto;
15
15
  overflow-x: hidden;
16
+ /* Zero intrinsic inline size: wide message content (nowrap activity rows,
17
+ code) must never resize the chat column — overflow clips it instead. */
18
+ contain: inline-size;
16
19
  }
17
20
 
18
21
  .conversation__content {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mcp-b/react-components",
3
- "version": "0.2.1",
3
+ "version": "0.2.2",
4
4
  "description": "MCP-B React components built on Base UI and shared design tokens.",
5
5
  "homepage": "https://design-system.sigvelo.com",
6
6
  "bugs": {
@@ -47,7 +47,7 @@
47
47
  "anser": "^2.3.5",
48
48
  "shiki": "^3.23.0",
49
49
  "streamdown": "^2.5.0",
50
- "@mcp-b/design-tokens": "0.2.1"
50
+ "@mcp-b/design-tokens": "0.2.2"
51
51
  },
52
52
  "devDependencies": {
53
53
  "@storybook/addon-a11y": "^10.4.6",