react-resizable-panels 4.7.5 → 4.7.6

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.
@@ -68,7 +68,8 @@ export declare type GroupProps = HTMLAttributes<HTMLDivElement> & {
68
68
  *
69
69
  * ℹ️ This value allows layouts to be remembered between page reloads.
70
70
  *
71
- * ⚠️ Refer to the documentation for how to avoid layout shift when using server components.
71
+ * ⚠️ Slight layout shift may occur when server-rendering panels with percentage-based default sizes.
72
+ * Refer to the documentation for suggestions on how to minimize the impact of this.
72
73
  */
73
74
  defaultLayout?: Layout | undefined;
74
75
  /**
@@ -191,7 +191,7 @@ function Ye(e) {
191
191
  {
192
192
  let b = -1;
193
193
  for (const f of s)
194
- f.hasAttribute("data-panel") && (b++, f.ariaDisabled === null && (m++, u === -1 && (u = b), c = b));
194
+ f.hasAttribute("data-panel") && (b++, f.hasAttribute("data-disabled") || (m++, u === -1 && (u = b), c = b));
195
195
  }
196
196
  if (m > 1) {
197
197
  let b = -1;
@@ -1920,7 +1920,7 @@ function qt({
1920
1920
  "div",
1921
1921
  {
1922
1922
  ...b,
1923
- "aria-disabled": s || void 0,
1923
+ "data-disabled": s || void 0,
1924
1924
  "data-panel": !0,
1925
1925
  "data-testid": h,
1926
1926
  id: h,