@botiverse/raft-ui 0.59.1 → 0.59.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.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,12 @@
1
+ ## [0.59.2](https://github.com/botiverse/raft-design/compare/v0.59.1...v0.59.2) (2026-11-03)
2
+
3
+ ### Fixed
4
+
5
+ - **Button**: a Button narrower than its content truncates the content instead of overflowing its border. Its content wrapper (`data-slot="button-content"`) can now shrink to the Button, so a label with `truncate` truncates and icons keep their size. ([#967](https://github.com/botiverse/raft-design/pull/967))
6
+ - Why: a Button given `min-w-0 max-w-full` in a card or a row, holding a long label and an end icon, spilled its content out of its border on both sides, because the content wrapper kept its full width; the wrapper now has `min-w-0 max-w-full`.
7
+ - Affects: only Buttons whose width is constrained below their content; a Button that sizes to its content renders as before.
8
+ - Docs: https://raft-design.botiverse.build/components/button/#content
9
+
1
10
  ## [0.59.0](https://github.com/botiverse/raft-design/compare/v0.58.1...v0.59.0) (2026-11-03)
2
11
 
3
12
  ### Breaking Changes
@@ -33,7 +33,7 @@ const buttonVariants = tv({
33
33
  "disabled:border-line-hairline disabled:bg-fill-muted disabled:bg-none disabled:text-foreground-disabled disabled:ring-0",
34
34
  "aria-disabled:border-line-hairline aria-disabled:bg-fill-muted aria-disabled:bg-none aria-disabled:text-foreground-disabled aria-disabled:ring-0"
35
35
  ],
36
- content: "relative z-10 inline-flex items-center justify-center gap-[inherit] data-[loading=true]:invisible",
36
+ content: "relative z-10 inline-flex min-w-0 max-w-full items-center justify-center gap-[inherit] data-[loading=true]:invisible",
37
37
  loadingIndicator: "pointer-events-none absolute inset-0 z-10 flex items-center justify-center"
38
38
  },
39
39
  variants: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@botiverse/raft-ui",
3
- "version": "0.59.1",
3
+ "version": "0.59.2",
4
4
  "description": "React components and CSS foundations for the Raft Design System.",
5
5
  "keywords": [
6
6
  "agent-skills",