@copilotkit/react-ui 1.66.3 → 1.67.0

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/dist/index.umd.js CHANGED
@@ -2797,7 +2797,7 @@ rehype_sanitize = __toESM(rehype_sanitize);
2797
2797
  * ```
2798
2798
  * For more information about how to customize the styles, check out the [Customize Look & Feel](/guides/custom-look-and-feel/customize-built-in-ui-components) guide.
2799
2799
  */
2800
- function CopilotSidebar(props) {
2800
+ function CopilotSidebar({ fullHeightChildren = false, ...props }) {
2801
2801
  props = {
2802
2802
  ...props,
2803
2803
  className: props.className ? props.className + " copilotKitSidebar" : "copilotKitSidebar"
@@ -2809,7 +2809,11 @@ rehype_sanitize = __toESM(rehype_sanitize);
2809
2809
  setExpandedClassName(open ? "sidebarExpanded" : "");
2810
2810
  };
2811
2811
  return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
2812
- className: `copilotKitSidebarContentWrapper ${expandedClassName}`,
2812
+ className: [
2813
+ "copilotKitSidebarContentWrapper",
2814
+ expandedClassName,
2815
+ fullHeightChildren ? "copilotKitSidebarFullHeightChildren" : ""
2816
+ ].filter(Boolean).join(" "),
2813
2817
  children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(CopilotModal, {
2814
2818
  ...props,
2815
2819
  onSetOpen,