@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.cjs CHANGED
@@ -2778,7 +2778,7 @@ function CopilotPopup(props) {
2778
2778
  * ```
2779
2779
  * 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.
2780
2780
  */
2781
- function CopilotSidebar(props) {
2781
+ function CopilotSidebar({ fullHeightChildren = false, ...props }) {
2782
2782
  props = {
2783
2783
  ...props,
2784
2784
  className: props.className ? props.className + " copilotKitSidebar" : "copilotKitSidebar"
@@ -2789,7 +2789,11 @@ function CopilotSidebar(props) {
2789
2789
  setExpandedClassName(open ? "sidebarExpanded" : "");
2790
2790
  };
2791
2791
  return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
2792
- className: `copilotKitSidebarContentWrapper ${expandedClassName}`,
2792
+ className: [
2793
+ "copilotKitSidebarContentWrapper",
2794
+ expandedClassName,
2795
+ fullHeightChildren ? "copilotKitSidebarFullHeightChildren" : ""
2796
+ ].filter(Boolean).join(" "),
2793
2797
  children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(CopilotModal, {
2794
2798
  ...props,
2795
2799
  onSetOpen,