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