@abgov/react-components 7.2.0-dev.22 → 7.2.0-dev.23

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/index.js CHANGED
@@ -4133,14 +4133,25 @@ function GoabScrollPanel({
4133
4133
  footer,
4134
4134
  height,
4135
4135
  testId,
4136
+ direction = "vertical",
4136
4137
  ...rest
4137
4138
  }) {
4138
4139
  const hostStyle = height ? { height } : void 0;
4139
- return /* @__PURE__ */ jsxRuntime.jsxs("goa-scroll-panel", { height, testid: testId, style: hostStyle, ...rest, children: [
4140
- header && /* @__PURE__ */ jsxRuntime.jsx("div", { slot: "header", children: header }),
4141
- children,
4142
- footer && /* @__PURE__ */ jsxRuntime.jsx("div", { slot: "footer", children: footer })
4143
- ] });
4140
+ return /* @__PURE__ */ jsxRuntime.jsxs(
4141
+ "goa-scroll-panel",
4142
+ {
4143
+ height,
4144
+ testid: testId,
4145
+ direction,
4146
+ style: hostStyle,
4147
+ ...rest,
4148
+ children: [
4149
+ header && /* @__PURE__ */ jsxRuntime.jsx("div", { slot: "header", children: header }),
4150
+ children,
4151
+ footer && /* @__PURE__ */ jsxRuntime.jsx("div", { slot: "footer", children: footer })
4152
+ ]
4153
+ }
4154
+ );
4144
4155
  }
4145
4156
  function GoabTable({ onSort, onMultiSort, sortMode, ...props }) {
4146
4157
  const ref = react.useRef(null);