@botiverse/raft-ui 0.60.2 → 0.60.3

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/CHANGELOG.md CHANGED
@@ -1,3 +1,12 @@
1
+ ## [0.60.3](https://github.com/botiverse/raft-design/compare/v0.60.2...v0.60.3) (2026-11-04)
2
+
3
+ ### Fixed
4
+
5
+ - **Tooltip**: a tooltip whose only child is a component (the reaction tooltip's names) no longer gets an empty text slot and 6px of extra space on the right. ([#986](https://github.com/botiverse/raft-design/pull/986))
6
+ - Why: TooltipContent treats any component child as a possible leading icon, since lucide icons are components. With nothing after it, the names went into the icon slot, followed by an empty text slot and the 6px gap, so the padding read 10px on the left and 16px on the right.
7
+ - Affects: a tooltip with a single component child now renders it as plain content. An icon followed by text, and a leading Kbd, are unchanged.
8
+ - Docs: https://raft-design.botiverse.build/components/tooltip/
9
+
1
10
  ## [0.60.2](https://github.com/botiverse/raft-design/compare/v0.60.1...v0.60.2) (2026-11-04)
2
11
 
3
12
  ### Fixed
@@ -120,6 +120,10 @@ function partitionTooltipBodyChildren(children) {
120
120
  seenNonIcon = true;
121
121
  rest.push(item);
122
122
  }
123
+ if (rest.length === 0) return {
124
+ icons: [],
125
+ rest: items
126
+ };
123
127
  return {
124
128
  icons,
125
129
  rest
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@botiverse/raft-ui",
3
- "version": "0.60.2",
3
+ "version": "0.60.3",
4
4
  "description": "React components and CSS foundations for the Raft Design System.",
5
5
  "keywords": [
6
6
  "agent-skills",