@botiverse/raft-ui 0.57.1 → 0.57.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.57.2](https://github.com/botiverse/raft-design/compare/v0.57.1...v0.57.2) (2026-11-02)
2
+
3
+ ### Fixed
4
+
5
+ - **DrawerContent**: every bottom sheet (`swipeDirection="down"`, the default) draws the grab handle, not only one with `snapPoints`. ([#944](https://github.com/botiverse/raft-design/pull/944))
6
+ - Why: the rule is a grab handle on every bottom sheet; a content-sized sheet had none.
7
+ - Affects: content-sized bottom sheets gain the handle and are 8px taller (the header's `pt-2` under the handle); drawers from other edges without snap points are unchanged. The handle stays `aria-hidden`.
8
+ - Docs: https://raft-design.botiverse.build/components/drawer/
9
+
1
10
  ## [0.57.1](https://github.com/botiverse/raft-design/compare/v0.57.0...v0.57.1) (2026-11-02)
2
11
 
3
12
  ### Fixed
@@ -97,7 +97,7 @@ function DrawerContent({ className, children, portalProps, ...props }) {
97
97
  "data-slot": "drawer-popup",
98
98
  className: popup({ className }),
99
99
  ...props,
100
- children: [hasSnapPoints ? /* @__PURE__ */ jsx(DrawerSwipeHandle, {}) : null, /* @__PURE__ */ jsx(Drawer.Content, {
100
+ children: [hasSnapPoints || swipeDirection === "down" ? /* @__PURE__ */ jsx(DrawerSwipeHandle, {}) : null, /* @__PURE__ */ jsx(Drawer.Content, {
101
101
  "data-slot": "drawer-content",
102
102
  className: content(),
103
103
  children: /* @__PURE__ */ jsx(DialogSheetReset, { children })
@@ -163,7 +163,6 @@ const drawer = tv({
163
163
  },
164
164
  compoundVariants: [{
165
165
  side: "down",
166
- snapPoints: true,
167
166
  class: { header: ["pt-2"] }
168
167
  }, {
169
168
  axis: "y",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@botiverse/raft-ui",
3
- "version": "0.57.1",
3
+ "version": "0.57.2",
4
4
  "description": "React components and CSS foundations for the Raft Design System.",
5
5
  "keywords": [
6
6
  "agent-skills",