@algenium/blocks 1.2.1-rc.1 → 1.2.1-rc.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/dist/index.js CHANGED
@@ -6797,7 +6797,7 @@ function ChatSidebar({
6797
6797
  } = useChatSidebar();
6798
6798
  useEffect(() => {
6799
6799
  if (!isOpen || typeof window === "undefined") return;
6800
- const mq = window.matchMedia("(max-width: 639px)");
6800
+ const mq = window.matchMedia("(max-width: 767px)");
6801
6801
  const apply = () => {
6802
6802
  if (mq.matches) document.body.style.overflow = "hidden";
6803
6803
  else document.body.style.overflow = "";
@@ -6825,7 +6825,7 @@ function ChatSidebar({
6825
6825
  className: cn(
6826
6826
  "flex min-h-0 flex-col bg-background",
6827
6827
  "fixed top-[var(--sidebar-top)] right-0 bottom-0 left-0 z-[100] w-full max-w-none border-0 shadow-none",
6828
- "sm:relative sm:inset-auto sm:z-auto sm:h-full sm:w-[360px] sm:max-w-[360px] sm:shrink-0 sm:border-l sm:shadow-none xl:w-[400px] xl:max-w-[400px]",
6828
+ "md:relative md:inset-auto md:z-auto md:h-full md:w-[360px] md:max-w-[360px] md:shrink-0 md:border-l md:shadow-none xl:w-[400px] xl:max-w-[400px]",
6829
6829
  className
6830
6830
  ),
6831
6831
  children: view === "list" ? /* @__PURE__ */ jsxs(Fragment, { children: [
@@ -6925,7 +6925,7 @@ function ChatSidebar({
6925
6925
  "div",
6926
6926
  {
6927
6927
  style: cssVars,
6928
- className: "fixed top-[var(--sidebar-top)] right-0 bottom-0 left-0 z-[90] bg-black/50 sm:hidden",
6928
+ className: "fixed top-[var(--sidebar-top)] right-0 bottom-0 left-0 z-[90] bg-black/50 md:hidden",
6929
6929
  "aria-hidden": true,
6930
6930
  onClick: close
6931
6931
  }