@primer/react 38.6.3-rc.f8f5fddc3 → 38.7.0-rc.b626e5d83

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.

Potentially problematic release.


This version of @primer/react might be problematic. Click here for more details.

Files changed (78) hide show
  1. package/CHANGELOG.md +48 -1
  2. package/dist/ActionBar/ActionBar.d.ts +8 -0
  3. package/dist/ActionBar/ActionBar.d.ts.map +1 -1
  4. package/dist/ActionBar/ActionBar.js +83 -53
  5. package/dist/ActionBar/index.d.ts +1 -0
  6. package/dist/ActionBar/index.d.ts.map +1 -1
  7. package/dist/Autocomplete/Autocomplete.d.ts +0 -3
  8. package/dist/Autocomplete/Autocomplete.d.ts.map +1 -1
  9. package/dist/Autocomplete/Autocomplete.js +69 -23
  10. package/dist/Autocomplete/AutocompleteContext.d.ts +23 -3
  11. package/dist/Autocomplete/AutocompleteContext.d.ts.map +1 -1
  12. package/dist/Autocomplete/AutocompleteContext.js +20 -1
  13. package/dist/Autocomplete/AutocompleteInput.d.ts.map +1 -1
  14. package/dist/Autocomplete/AutocompleteInput.js +8 -5
  15. package/dist/Autocomplete/AutocompleteMenu.d.ts.map +1 -1
  16. package/dist/Autocomplete/AutocompleteMenu.js +123 -121
  17. package/dist/{BaseStyles-79fd37c4.css → BaseStyles-7e59cc50.css} +2 -2
  18. package/dist/BaseStyles-7e59cc50.css.map +1 -0
  19. package/dist/BaseStyles.module.css.js +1 -1
  20. package/dist/Dialog/{Dialog-1a61e61a.css → Dialog-92b5e3b7.css} +2 -2
  21. package/dist/Dialog/Dialog-92b5e3b7.css.map +1 -0
  22. package/dist/Dialog/Dialog.d.ts.map +1 -1
  23. package/dist/Dialog/Dialog.js +21 -5
  24. package/dist/Dialog/Dialog.module.css.js +1 -1
  25. package/dist/FeatureFlags/DefaultFeatureFlags.d.ts.map +1 -1
  26. package/dist/FeatureFlags/DefaultFeatureFlags.js +1 -0
  27. package/dist/FeatureFlags/FeatureFlags.d.ts +6 -0
  28. package/dist/FeatureFlags/FeatureFlags.d.ts.map +1 -1
  29. package/dist/FeatureFlags/FeatureFlags.js +41 -32
  30. package/dist/FilteredActionList/FilteredActionList.d.ts +6 -1
  31. package/dist/FilteredActionList/FilteredActionList.d.ts.map +1 -1
  32. package/dist/FilteredActionList/FilteredActionList.js +4 -2
  33. package/dist/PageLayout/{PageLayout-c092f3db.css → PageLayout-51007c87.css} +2 -2
  34. package/dist/PageLayout/PageLayout-51007c87.css.map +1 -0
  35. package/dist/PageLayout/PageLayout.d.ts.map +1 -1
  36. package/dist/PageLayout/PageLayout.js +399 -313
  37. package/dist/PageLayout/PageLayout.module.css.js +1 -1
  38. package/dist/PageLayout/paneUtils.d.ts +11 -0
  39. package/dist/PageLayout/paneUtils.d.ts.map +1 -0
  40. package/dist/PageLayout/paneUtils.js +34 -0
  41. package/dist/PageLayout/usePaneWidth.d.ts +2 -1
  42. package/dist/PageLayout/usePaneWidth.d.ts.map +1 -1
  43. package/dist/PageLayout/usePaneWidth.js +56 -44
  44. package/dist/SelectPanel/SelectPanel.d.ts +6 -1
  45. package/dist/SelectPanel/SelectPanel.d.ts.map +1 -1
  46. package/dist/SelectPanel/SelectPanel.js +3 -1
  47. package/dist/TextInput/TextInput-dff8f842.css +2 -0
  48. package/dist/TextInput/TextInput-dff8f842.css.map +1 -0
  49. package/dist/TextInput/TextInput.d.ts +5 -0
  50. package/dist/TextInput/TextInput.d.ts.map +1 -1
  51. package/dist/TextInput/TextInput.js +125 -51
  52. package/dist/TextInput/TextInput.module.css.js +5 -0
  53. package/dist/Textarea/{TextArea-54099020.css → TextArea-53e27580.css} +2 -2
  54. package/dist/Textarea/TextArea-53e27580.css.map +1 -0
  55. package/dist/Textarea/TextArea.module.css.js +2 -2
  56. package/dist/Textarea/Textarea.d.ts +10 -0
  57. package/dist/Textarea/Textarea.d.ts.map +1 -1
  58. package/dist/Textarea/Textarea.js +215 -69
  59. package/dist/ToggleSwitch/ToggleSwitch-40bab513.css +2 -0
  60. package/dist/ToggleSwitch/ToggleSwitch-40bab513.css.map +1 -0
  61. package/dist/ToggleSwitch/ToggleSwitch.module.css.js +1 -1
  62. package/dist/hooks/useFocusZone.d.ts +4 -0
  63. package/dist/hooks/useFocusZone.d.ts.map +1 -1
  64. package/dist/internal/utils/hasInteractiveNodes.d.ts.map +1 -1
  65. package/dist/internal/utils/hasInteractiveNodes.js +22 -16
  66. package/dist/utils/__tests__/character-counter.test.d.ts +2 -0
  67. package/dist/utils/__tests__/character-counter.test.d.ts.map +1 -0
  68. package/dist/utils/character-counter.d.ts +27 -0
  69. package/dist/utils/character-counter.d.ts.map +1 -0
  70. package/dist/utils/character-counter.js +65 -0
  71. package/generated/components.json +16 -0
  72. package/package.json +9 -9
  73. package/dist/BaseStyles-79fd37c4.css.map +0 -1
  74. package/dist/Dialog/Dialog-1a61e61a.css.map +0 -1
  75. package/dist/PageLayout/PageLayout-c092f3db.css.map +0 -1
  76. package/dist/Textarea/TextArea-54099020.css.map +0 -1
  77. package/dist/ToggleSwitch/ToggleSwitch-d1bd60b0.css +0 -2
  78. package/dist/ToggleSwitch/ToggleSwitch-d1bd60b0.css.map +0 -1
@@ -1,5 +1,5 @@
1
1
  import { c } from 'react-compiler-runtime';
2
- import React, { useRef } from 'react';
2
+ import React, { useRef, memo } from 'react';
3
3
  import { clsx } from 'clsx';
4
4
  import { useId } from '../hooks/useId.js';
5
5
  import { useRefObjectAsForwardedRef } from '../hooks/useRefObjectAsForwardedRef.js';
@@ -10,8 +10,11 @@ import { warning } from '../utils/warning.js';
10
10
  import { getResponsiveAttributes } from '../internal/utils/getResponsiveAttributes.js';
11
11
  import classes from './PageLayout.module.css.js';
12
12
  import { usePaneWidth, isCustomWidthOptions, isPaneWidth, updateAriaValues, ARROW_KEY_STEP } from './usePaneWidth.js';
13
+ import { setDraggingStyles, removeDraggingStyles } from './paneUtils.js';
13
14
  import { jsxs, jsx } from 'react/jsx-runtime';
14
15
 
16
+ const isArrowKey = key => key === 'ArrowLeft' || key === 'ArrowRight' || key === 'ArrowUp' || key === 'ArrowDown';
17
+ const isShrinkKey = key => key === 'ArrowLeft' || key === 'ArrowDown';
15
18
  const PageLayoutContext = /*#__PURE__*/React.createContext({
16
19
  padding: 'normal',
17
20
  rowGap: 'normal',
@@ -19,14 +22,14 @@ const PageLayoutContext = /*#__PURE__*/React.createContext({
19
22
  paneRef: {
20
23
  current: null
21
24
  },
22
- contentRef: {
25
+ contentWrapperRef: {
23
26
  current: null
24
27
  }
25
28
  });
26
29
 
27
30
  // TODO: refs
28
31
  const Root = t0 => {
29
- const $ = c(26);
32
+ const $ = c(22);
30
33
  const {
31
34
  containerWidth: t1,
32
35
  padding: t2,
@@ -42,7 +45,7 @@ const Root = t0 => {
42
45
  const rowGap = t3 === undefined ? "normal" : t3;
43
46
  const columnGap = t4 === undefined ? "normal" : t4;
44
47
  const paneRef = useRef(null);
45
- const contentRef = useRef(null);
48
+ const contentWrapperRef = useRef(null);
46
49
  let t5;
47
50
  if ($[0] !== slotsConfig) {
48
51
  t5 = slotsConfig !== null && slotsConfig !== void 0 ? slotsConfig : {
@@ -62,7 +65,7 @@ const Root = t0 => {
62
65
  rowGap,
63
66
  columnGap,
64
67
  paneRef,
65
- contentRef
68
+ contentWrapperRef
66
69
  };
67
70
  $[2] = columnGap;
68
71
  $[3] = padding;
@@ -72,97 +75,122 @@ const Root = t0 => {
72
75
  t6 = $[5];
73
76
  }
74
77
  const memoizedContextValue = t6;
75
- const t7 = `var(--spacing-${padding})`;
78
+ const t7 = slots.header;
76
79
  let t8;
77
- if ($[6] !== style || $[7] !== t7) {
78
- t8 = {
79
- "--spacing": t7,
80
- ...style
81
- };
82
- $[6] = style;
83
- $[7] = t7;
84
- $[8] = t8;
85
- } else {
86
- t8 = $[8];
87
- }
88
- const t9 = t8;
89
- let t10;
90
- if ($[9] !== className) {
91
- t10 = clsx(classes.PageLayoutRoot, className);
92
- $[9] = className;
93
- $[10] = t10;
94
- } else {
95
- t10 = $[10];
96
- }
97
- const t11 = slots.header;
98
- let t12;
99
- if ($[11] === Symbol.for("react.memo_cache_sentinel")) {
100
- t12 = clsx(classes.PageLayoutContent);
101
- $[11] = t12;
80
+ if ($[6] === Symbol.for("react.memo_cache_sentinel")) {
81
+ t8 = clsx(classes.PageLayoutContent);
82
+ $[6] = t8;
102
83
  } else {
103
- t12 = $[11];
84
+ t8 = $[6];
104
85
  }
105
- let t13;
106
- if ($[12] !== rest) {
107
- t13 = /*#__PURE__*/jsx("div", {
108
- ref: contentRef,
109
- className: t12,
86
+ let t9;
87
+ if ($[7] !== rest) {
88
+ t9 = /*#__PURE__*/jsx("div", {
89
+ className: t8,
110
90
  children: rest
111
91
  });
112
- $[12] = rest;
113
- $[13] = t13;
92
+ $[7] = rest;
93
+ $[8] = t9;
114
94
  } else {
115
- t13 = $[13];
95
+ t9 = $[8];
116
96
  }
117
- let t14;
118
- if ($[14] !== containerWidth || $[15] !== slots.footer || $[16] !== slots.header || $[17] !== t13) {
119
- t14 = /*#__PURE__*/jsxs("div", {
97
+ let t10;
98
+ if ($[9] !== containerWidth || $[10] !== slots.footer || $[11] !== slots.header || $[12] !== t9) {
99
+ t10 = /*#__PURE__*/jsxs("div", {
120
100
  className: classes.PageLayoutWrapper,
121
101
  "data-width": containerWidth,
122
- children: [t11, t13, slots.footer]
102
+ children: [t7, t9, slots.footer]
123
103
  });
124
- $[14] = containerWidth;
125
- $[15] = slots.footer;
126
- $[16] = slots.header;
127
- $[17] = t13;
128
- $[18] = t14;
104
+ $[9] = containerWidth;
105
+ $[10] = slots.footer;
106
+ $[11] = slots.header;
107
+ $[12] = t9;
108
+ $[13] = t10;
129
109
  } else {
130
- t14 = $[18];
110
+ t10 = $[13];
131
111
  }
132
- let t15;
133
- if ($[19] !== t10 || $[20] !== t14 || $[21] !== t9) {
134
- t15 = /*#__PURE__*/jsx("div", {
135
- style: t9,
136
- className: t10,
137
- children: t14
112
+ let t11;
113
+ if ($[14] !== className || $[15] !== padding || $[16] !== style || $[17] !== t10) {
114
+ t11 = /*#__PURE__*/jsx(RootWrapper, {
115
+ style: style,
116
+ padding: padding,
117
+ className: className,
118
+ children: t10
138
119
  });
139
- $[19] = t10;
140
- $[20] = t14;
141
- $[21] = t9;
142
- $[22] = t15;
120
+ $[14] = className;
121
+ $[15] = padding;
122
+ $[16] = style;
123
+ $[17] = t10;
124
+ $[18] = t11;
143
125
  } else {
144
- t15 = $[22];
126
+ t11 = $[18];
145
127
  }
146
- let t16;
147
- if ($[23] !== memoizedContextValue || $[24] !== t15) {
148
- t16 = /*#__PURE__*/jsx(PageLayoutContext.Provider, {
128
+ let t12;
129
+ if ($[19] !== memoizedContextValue || $[20] !== t11) {
130
+ t12 = /*#__PURE__*/jsx(PageLayoutContext.Provider, {
149
131
  value: memoizedContextValue,
150
- children: t15
132
+ children: t11
151
133
  });
152
- $[23] = memoizedContextValue;
153
- $[24] = t15;
154
- $[25] = t16;
134
+ $[19] = memoizedContextValue;
135
+ $[20] = t11;
136
+ $[21] = t12;
155
137
  } else {
156
- t16 = $[25];
138
+ t12 = $[21];
157
139
  }
158
- return t16;
140
+ return t12;
159
141
  };
142
+ const RootWrapper = /*#__PURE__*/memo(t0 => {
143
+ const $ = c(9);
144
+ const {
145
+ style,
146
+ padding,
147
+ children,
148
+ className
149
+ } = t0;
150
+ const t1 = `var(--spacing-${padding})`;
151
+ let t2;
152
+ if ($[0] !== style || $[1] !== t1) {
153
+ t2 = {
154
+ "--spacing": t1,
155
+ ...style
156
+ };
157
+ $[0] = style;
158
+ $[1] = t1;
159
+ $[2] = t2;
160
+ } else {
161
+ t2 = $[2];
162
+ }
163
+ const t3 = t2;
164
+ let t4;
165
+ if ($[3] !== className) {
166
+ t4 = clsx(classes.PageLayoutRoot, className);
167
+ $[3] = className;
168
+ $[4] = t4;
169
+ } else {
170
+ t4 = $[4];
171
+ }
172
+ let t5;
173
+ if ($[5] !== children || $[6] !== t3 || $[7] !== t4) {
174
+ t5 = /*#__PURE__*/jsx("div", {
175
+ style: t3,
176
+ className: t4,
177
+ children: children
178
+ });
179
+ $[5] = children;
180
+ $[6] = t3;
181
+ $[7] = t4;
182
+ $[8] = t5;
183
+ } else {
184
+ t5 = $[8];
185
+ }
186
+ return t5;
187
+ });
160
188
  Root.displayName = 'PageLayout';
161
189
 
162
190
  // ----------------------------------------------------------------------------
163
191
  // Divider (internal)
164
192
 
165
- const HorizontalDivider = t0 => {
193
+ const HorizontalDivider = /*#__PURE__*/memo(t0 => {
166
194
  const $ = c(14);
167
195
  const {
168
196
  variant: t1,
@@ -229,8 +257,9 @@ const HorizontalDivider = t0 => {
229
257
  t8 = $[13];
230
258
  }
231
259
  return t8;
232
- };
233
- const VerticalDivider = t0 => {
260
+ });
261
+ HorizontalDivider.displayName = 'HorizontalDivider';
262
+ const VerticalDivider = /*#__PURE__*/memo(t0 => {
234
263
  const $ = c(12);
235
264
  const {
236
265
  variant: t1,
@@ -283,19 +312,15 @@ const VerticalDivider = t0 => {
283
312
  t5 = $[11];
284
313
  }
285
314
  return t5;
286
- };
287
- const DATA_DRAGGING_ATTR = 'data-dragging';
288
- const isDragging = handle => {
289
- return (handle === null || handle === void 0 ? void 0 : handle.getAttribute(DATA_DRAGGING_ATTR)) === 'true';
290
- };
291
-
315
+ });
316
+ VerticalDivider.displayName = 'VerticalDivider';
292
317
  /**
293
318
  * DragHandle - handles all pointer and keyboard interactions for resizing
294
319
  * ARIA values are set in JSX for SSR accessibility,
295
320
  * then updated via DOM manipulation during drag for performance
296
321
  */
297
- const DragHandle = t0 => {
298
- const $ = c(34);
322
+ const DragHandle = /*#__PURE__*/memo(function DragHandle(t0) {
323
+ const $ = c(35);
299
324
  const {
300
325
  handleRef,
301
326
  onDragStart,
@@ -326,130 +351,185 @@ const DragHandle = t0 => {
326
351
  React.useEffect(t1);
327
352
  const {
328
353
  paneRef,
329
- contentRef
354
+ contentWrapperRef
330
355
  } = React.useContext(PageLayoutContext);
356
+ const isDraggingRef = React.useRef(false);
331
357
  let t2;
332
- if ($[4] !== contentRef || $[5] !== handleRef) {
333
- t2 = dragging => {
334
- if (dragging) {
335
- var _handleRef$current, _contentRef$current;
336
- (_handleRef$current = handleRef.current) === null || _handleRef$current === void 0 ? void 0 : _handleRef$current.setAttribute(DATA_DRAGGING_ATTR, "true");
337
- (_contentRef$current = contentRef.current) === null || _contentRef$current === void 0 ? void 0 : _contentRef$current.setAttribute(DATA_DRAGGING_ATTR, "true");
338
- } else {
339
- var _handleRef$current2, _contentRef$current2;
340
- (_handleRef$current2 = handleRef.current) === null || _handleRef$current2 === void 0 ? void 0 : _handleRef$current2.removeAttribute(DATA_DRAGGING_ATTR);
341
- (_contentRef$current2 = contentRef.current) === null || _contentRef$current2 === void 0 ? void 0 : _contentRef$current2.removeAttribute(DATA_DRAGGING_ATTR);
358
+ if ($[4] !== contentWrapperRef || $[5] !== handleRef || $[6] !== paneRef) {
359
+ t2 = () => {
360
+ if (isDraggingRef.current) {
361
+ return;
342
362
  }
363
+ setDraggingStyles({
364
+ handle: handleRef.current,
365
+ pane: paneRef.current,
366
+ contentWrapper: contentWrapperRef.current
367
+ });
368
+ isDraggingRef.current = true;
343
369
  };
344
- $[4] = contentRef;
370
+ $[4] = contentWrapperRef;
345
371
  $[5] = handleRef;
346
- $[6] = t2;
372
+ $[6] = paneRef;
373
+ $[7] = t2;
347
374
  } else {
348
- t2 = $[6];
375
+ t2 = $[7];
349
376
  }
350
- const setDragging = t2;
377
+ const startDragging = t2;
351
378
  let t3;
352
- if ($[7] !== setDragging) {
353
- t3 = event => {
354
- if (event.button !== 0) {
379
+ if ($[8] !== contentWrapperRef || $[9] !== handleRef || $[10] !== paneRef) {
380
+ t3 = () => {
381
+ if (!isDraggingRef.current) {
355
382
  return;
356
383
  }
357
- event.preventDefault();
358
- const target = event.currentTarget;
359
- target.setPointerCapture(event.pointerId);
360
- stableOnDragStart.current(event.clientX);
361
- setDragging(true);
384
+ removeDraggingStyles({
385
+ handle: handleRef.current,
386
+ pane: paneRef.current,
387
+ contentWrapper: contentWrapperRef.current
388
+ });
389
+ isDraggingRef.current = false;
362
390
  };
363
- $[7] = setDragging;
364
- $[8] = t3;
391
+ $[8] = contentWrapperRef;
392
+ $[9] = handleRef;
393
+ $[10] = paneRef;
394
+ $[11] = t3;
365
395
  } else {
366
- t3 = $[8];
396
+ t3 = $[11];
367
397
  }
368
- const handlePointerDown = t3;
398
+ const endDragging = t3;
369
399
  let t4;
370
- if ($[9] !== handleRef) {
371
- t4 = event_0 => {
372
- if (!isDragging(handleRef.current)) {
400
+ if ($[12] !== startDragging) {
401
+ t4 = event => {
402
+ if (event.button !== 0) {
373
403
  return;
374
404
  }
375
- event_0.preventDefault();
376
- stableOnDrag.current(event_0.clientX, false);
405
+ event.preventDefault();
406
+ const target = event.currentTarget;
407
+ try {
408
+ target.setPointerCapture(event.pointerId);
409
+ } catch {}
410
+ stableOnDragStart.current(event.clientX);
411
+ startDragging();
377
412
  };
378
- $[9] = handleRef;
379
- $[10] = t4;
413
+ $[12] = startDragging;
414
+ $[13] = t4;
380
415
  } else {
381
- t4 = $[10];
416
+ t4 = $[13];
382
417
  }
383
- const handlePointerMove = t4;
418
+ const handlePointerDown = t4;
419
+ const rafIdRef = React.useRef(null);
420
+ const pendingClientXRef = React.useRef(null);
384
421
  let t5;
385
- if ($[11] !== handleRef) {
386
- t5 = event_1 => {
387
- if (!isDragging(handleRef.current)) {
422
+ if ($[14] === Symbol.for("react.memo_cache_sentinel")) {
423
+ t5 = event_0 => {
424
+ if (!isDraggingRef.current) {
388
425
  return;
389
426
  }
390
- event_1.preventDefault();
427
+ event_0.preventDefault();
428
+ pendingClientXRef.current = event_0.clientX;
429
+ if (rafIdRef.current === null) {
430
+ rafIdRef.current = requestAnimationFrame(() => {
431
+ rafIdRef.current = null;
432
+ if (pendingClientXRef.current !== null) {
433
+ stableOnDrag.current(pendingClientXRef.current, false);
434
+ pendingClientXRef.current = null;
435
+ }
436
+ });
437
+ }
391
438
  };
392
- $[11] = handleRef;
393
- $[12] = t5;
439
+ $[14] = t5;
394
440
  } else {
395
- t5 = $[12];
441
+ t5 = $[14];
396
442
  }
397
- const handlePointerUp = t5;
443
+ const handlePointerMove = t5;
398
444
  let t6;
399
- if ($[13] !== handleRef || $[14] !== setDragging) {
400
- t6 = () => {
401
- if (!isDragging(handleRef.current)) {
445
+ if ($[15] === Symbol.for("react.memo_cache_sentinel")) {
446
+ t6 = event_1 => {
447
+ if (!isDraggingRef.current) {
402
448
  return;
403
449
  }
404
- setDragging(false);
405
- stableOnDragEnd.current();
450
+ event_1.preventDefault();
406
451
  };
407
- $[13] = handleRef;
408
- $[14] = setDragging;
409
452
  $[15] = t6;
410
453
  } else {
411
454
  t6 = $[15];
412
455
  }
413
- const handleLostPointerCapture = t6;
456
+ const handlePointerUp = t6;
414
457
  let t7;
415
- if ($[16] !== paneRef || $[17] !== setDragging) {
416
- t7 = event_2 => {
417
- if (event_2.key === "ArrowLeft" || event_2.key === "ArrowRight" || event_2.key === "ArrowUp" || event_2.key === "ArrowDown") {
418
- event_2.preventDefault();
419
- if (!paneRef.current) {
420
- return;
421
- }
422
- const delta = event_2.key === "ArrowLeft" || event_2.key === "ArrowDown" ? -ARROW_KEY_STEP : ARROW_KEY_STEP;
423
- setDragging(true);
424
- stableOnDrag.current(delta, true);
458
+ if ($[16] !== endDragging) {
459
+ t7 = () => {
460
+ if (!isDraggingRef.current) {
461
+ return;
425
462
  }
463
+ if (rafIdRef.current !== null) {
464
+ cancelAnimationFrame(rafIdRef.current);
465
+ rafIdRef.current = null;
466
+ pendingClientXRef.current = null;
467
+ }
468
+ endDragging();
469
+ stableOnDragEnd.current();
426
470
  };
427
- $[16] = paneRef;
428
- $[17] = setDragging;
429
- $[18] = t7;
471
+ $[16] = endDragging;
472
+ $[17] = t7;
430
473
  } else {
431
- t7 = $[18];
474
+ t7 = $[17];
432
475
  }
433
- const handleKeyDown = t7;
476
+ const handleLostPointerCapture = t7;
434
477
  let t8;
435
- if ($[19] !== setDragging) {
436
- t8 = event_3 => {
437
- if (event_3.key === "ArrowLeft" || event_3.key === "ArrowRight" || event_3.key === "ArrowUp" || event_3.key === "ArrowDown") {
438
- event_3.preventDefault();
439
- setDragging(false);
440
- stableOnDragEnd.current();
478
+ if ($[18] !== startDragging) {
479
+ t8 = event_2 => {
480
+ if (!isArrowKey(event_2.key)) {
481
+ return;
482
+ }
483
+ event_2.preventDefault();
484
+ const delta = isShrinkKey(event_2.key) ? -ARROW_KEY_STEP : ARROW_KEY_STEP;
485
+ if (!isDraggingRef.current) {
486
+ startDragging();
441
487
  }
488
+ stableOnDrag.current(delta, true);
442
489
  };
443
- $[19] = setDragging;
444
- $[20] = t8;
490
+ $[18] = startDragging;
491
+ $[19] = t8;
445
492
  } else {
446
- t8 = $[20];
493
+ t8 = $[19];
447
494
  }
448
- const handleKeyUp = t8;
449
- const t9 = ariaValueNow !== undefined ? `Pane width ${ariaValueNow} pixels` : undefined;
495
+ const handleKeyDown = t8;
496
+ let t9;
497
+ if ($[20] !== endDragging) {
498
+ t9 = event_3 => {
499
+ if (!isArrowKey(event_3.key)) {
500
+ return;
501
+ }
502
+ event_3.preventDefault();
503
+ endDragging();
504
+ stableOnDragEnd.current();
505
+ };
506
+ $[20] = endDragging;
507
+ $[21] = t9;
508
+ } else {
509
+ t9 = $[21];
510
+ }
511
+ const handleKeyUp = t9;
450
512
  let t10;
451
- if ($[21] !== ariaValueMax || $[22] !== ariaValueMin || $[23] !== ariaValueNow || $[24] !== handleKeyDown || $[25] !== handleKeyUp || $[26] !== handleLostPointerCapture || $[27] !== handlePointerDown || $[28] !== handlePointerMove || $[29] !== handlePointerUp || $[30] !== handleRef || $[31] !== onDoubleClick || $[32] !== t9) {
452
- t10 = /*#__PURE__*/jsx("div", {
513
+ let t11;
514
+ if ($[22] === Symbol.for("react.memo_cache_sentinel")) {
515
+ t10 = () => () => {
516
+ if (rafIdRef.current !== null) {
517
+ cancelAnimationFrame(rafIdRef.current);
518
+ rafIdRef.current = null;
519
+ }
520
+ };
521
+ t11 = [];
522
+ $[22] = t10;
523
+ $[23] = t11;
524
+ } else {
525
+ t10 = $[22];
526
+ t11 = $[23];
527
+ }
528
+ React.useEffect(t10, t11);
529
+ const t12 = ariaValueNow !== undefined ? `Pane width ${ariaValueNow} pixels` : undefined;
530
+ let t13;
531
+ if ($[24] !== ariaValueMax || $[25] !== ariaValueMin || $[26] !== ariaValueNow || $[27] !== handleKeyDown || $[28] !== handleKeyUp || $[29] !== handleLostPointerCapture || $[30] !== handlePointerDown || $[31] !== handleRef || $[32] !== onDoubleClick || $[33] !== t12) {
532
+ t13 = /*#__PURE__*/jsx("div", {
453
533
  ref: handleRef,
454
534
  className: classes.DraggableHandle,
455
535
  role: "slider",
@@ -457,7 +537,7 @@ const DragHandle = t0 => {
457
537
  "aria-valuemin": ariaValueMin,
458
538
  "aria-valuemax": ariaValueMax,
459
539
  "aria-valuenow": ariaValueNow,
460
- "aria-valuetext": t9,
540
+ "aria-valuetext": t12,
461
541
  tabIndex: 0,
462
542
  onPointerDown: handlePointerDown,
463
543
  onPointerMove: handlePointerMove,
@@ -467,24 +547,22 @@ const DragHandle = t0 => {
467
547
  onKeyUp: handleKeyUp,
468
548
  onDoubleClick: onDoubleClick
469
549
  });
470
- $[21] = ariaValueMax;
471
- $[22] = ariaValueMin;
472
- $[23] = ariaValueNow;
473
- $[24] = handleKeyDown;
474
- $[25] = handleKeyUp;
475
- $[26] = handleLostPointerCapture;
476
- $[27] = handlePointerDown;
477
- $[28] = handlePointerMove;
478
- $[29] = handlePointerUp;
479
- $[30] = handleRef;
480
- $[31] = onDoubleClick;
481
- $[32] = t9;
482
- $[33] = t10;
483
- } else {
484
- t10 = $[33];
485
- }
486
- return t10;
487
- };
550
+ $[24] = ariaValueMax;
551
+ $[25] = ariaValueMin;
552
+ $[26] = ariaValueNow;
553
+ $[27] = handleKeyDown;
554
+ $[28] = handleKeyUp;
555
+ $[29] = handleLostPointerCapture;
556
+ $[30] = handlePointerDown;
557
+ $[31] = handleRef;
558
+ $[32] = onDoubleClick;
559
+ $[33] = t12;
560
+ $[34] = t13;
561
+ } else {
562
+ t13 = $[34];
563
+ }
564
+ return t13;
565
+ });
488
566
 
489
567
  // ----------------------------------------------------------------------------
490
568
  // PageLayout.Header
@@ -627,7 +705,7 @@ const Header = t0 => {
627
705
  };
628
706
  Header.displayName = 'PageLayout.Header';
629
707
  const Content = t0 => {
630
- const $ = c(18);
708
+ const $ = c(19);
631
709
  const {
632
710
  as: t1,
633
711
  "aria-label": label,
@@ -644,6 +722,9 @@ const Content = t0 => {
644
722
  const padding = t3 === undefined ? "none" : t3;
645
723
  const hidden = t4 === undefined ? false : t4;
646
724
  const Component = as;
725
+ const {
726
+ contentWrapperRef
727
+ } = React.useContext(PageLayoutContext);
647
728
  let t5;
648
729
  if ($[0] !== className) {
649
730
  t5 = clsx(classes.ContentWrapper, className);
@@ -688,8 +769,9 @@ const Content = t0 => {
688
769
  t10 = $[9];
689
770
  }
690
771
  let t11;
691
- if ($[10] !== Component || $[11] !== label || $[12] !== labelledBy || $[13] !== style || $[14] !== t10 || $[15] !== t5 || $[16] !== t6) {
772
+ if ($[10] !== Component || $[11] !== contentWrapperRef || $[12] !== label || $[13] !== labelledBy || $[14] !== style || $[15] !== t10 || $[16] !== t5 || $[17] !== t6) {
692
773
  t11 = /*#__PURE__*/jsx(Component, {
774
+ ref: contentWrapperRef,
693
775
  "aria-label": label,
694
776
  "aria-labelledby": labelledBy,
695
777
  style: style,
@@ -698,15 +780,16 @@ const Content = t0 => {
698
780
  children: t10
699
781
  });
700
782
  $[10] = Component;
701
- $[11] = label;
702
- $[12] = labelledBy;
703
- $[13] = style;
704
- $[14] = t10;
705
- $[15] = t5;
706
- $[16] = t6;
707
- $[17] = t11;
783
+ $[11] = contentWrapperRef;
784
+ $[12] = label;
785
+ $[13] = labelledBy;
786
+ $[14] = style;
787
+ $[15] = t10;
788
+ $[16] = t5;
789
+ $[17] = t6;
790
+ $[18] = t11;
708
791
  } else {
709
- t11 = $[17];
792
+ t11 = $[18];
710
793
  }
711
794
  return t11;
712
795
  };
@@ -716,7 +799,7 @@ const overflowProps = {
716
799
  role: 'region'
717
800
  };
718
801
  const Pane = /*#__PURE__*/React.forwardRef((t0, forwardRef) => {
719
- const $ = c(92);
802
+ const $ = c(93);
720
803
  const {
721
804
  "aria-label": label,
722
805
  "aria-labelledby": labelledBy,
@@ -796,30 +879,33 @@ const Pane = /*#__PURE__*/React.forwardRef((t0, forwardRef) => {
796
879
  const {
797
880
  rowGap,
798
881
  columnGap,
799
- paneRef
882
+ paneRef,
883
+ contentWrapperRef
800
884
  } = React.useContext(PageLayoutContext);
801
885
  const handleRef = React.useRef(null);
802
886
  const dragStartClientXRef = React.useRef(0);
803
887
  const dragStartWidthRef = React.useRef(0);
804
888
  const dragMaxWidthRef = React.useRef(0);
805
889
  let t17;
806
- if ($[10] !== minWidth || $[11] !== paneRef || $[12] !== resizable || $[13] !== width || $[14] !== widthStorageKey) {
890
+ if ($[10] !== contentWrapperRef || $[11] !== minWidth || $[12] !== paneRef || $[13] !== resizable || $[14] !== width || $[15] !== widthStorageKey) {
807
891
  t17 = {
808
892
  width,
809
893
  minWidth,
810
894
  resizable,
811
895
  widthStorageKey,
812
896
  paneRef,
813
- handleRef
897
+ handleRef,
898
+ contentWrapperRef
814
899
  };
815
- $[10] = minWidth;
816
- $[11] = paneRef;
817
- $[12] = resizable;
818
- $[13] = width;
819
- $[14] = widthStorageKey;
820
- $[15] = t17;
900
+ $[10] = contentWrapperRef;
901
+ $[11] = minWidth;
902
+ $[12] = paneRef;
903
+ $[13] = resizable;
904
+ $[14] = width;
905
+ $[15] = widthStorageKey;
906
+ $[16] = t17;
821
907
  } else {
822
- t17 = $[15];
908
+ t17 = $[16];
823
909
  }
824
910
  const {
825
911
  currentWidth,
@@ -834,7 +920,7 @@ const Pane = /*#__PURE__*/React.forwardRef((t0, forwardRef) => {
834
920
  const hasOverflow = useOverflow(paneRef);
835
921
  const paneId = useId(id);
836
922
  let labelProp;
837
- if ($[16] !== hasOverflow || $[17] !== label || $[18] !== labelledBy) {
923
+ if ($[17] !== hasOverflow || $[18] !== label || $[19] !== labelledBy) {
838
924
  labelProp = {};
839
925
  if (hasOverflow) {
840
926
  process.env.NODE_ENV !== "production" ? warning(label === undefined && labelledBy === undefined, "The <PageLayout.Pane> has overflow and `aria-label` or `aria-labelledby` has not been set. Please provide `aria-label` or `aria-labelledby` to <PageLayout.Pane> in order to label this region.") : void 0;
@@ -846,115 +932,115 @@ const Pane = /*#__PURE__*/React.forwardRef((t0, forwardRef) => {
846
932
  }
847
933
  }
848
934
  }
849
- $[16] = hasOverflow;
850
- $[17] = label;
851
- $[18] = labelledBy;
852
- $[19] = labelProp;
935
+ $[17] = hasOverflow;
936
+ $[18] = label;
937
+ $[19] = labelledBy;
938
+ $[20] = labelProp;
853
939
  } else {
854
- labelProp = $[19];
940
+ labelProp = $[20];
855
941
  }
856
942
  let t18;
857
- if ($[20] !== className) {
943
+ if ($[21] !== className) {
858
944
  t18 = clsx(classes.PaneWrapper, className);
859
- $[20] = className;
860
- $[21] = t18;
945
+ $[21] = className;
946
+ $[22] = t18;
861
947
  } else {
862
- t18 = $[21];
948
+ t18 = $[22];
863
949
  }
864
950
  const t19 = typeof offsetHeader === "number" ? `${offsetHeader}px` : offsetHeader;
865
951
  const t20 = `var(--spacing-${rowGap})`;
866
952
  const t21 = `var(--spacing-${columnGap})`;
867
953
  let t22;
868
- if ($[22] !== style || $[23] !== t19 || $[24] !== t20 || $[25] !== t21) {
954
+ if ($[23] !== style || $[24] !== t19 || $[25] !== t20 || $[26] !== t21) {
869
955
  t22 = {
870
956
  "--offset-header": t19,
871
957
  "--spacing-row": t20,
872
958
  "--spacing-column": t21,
873
959
  ...style
874
960
  };
875
- $[22] = style;
876
- $[23] = t19;
877
- $[24] = t20;
878
- $[25] = t21;
879
- $[26] = t22;
961
+ $[23] = style;
962
+ $[24] = t19;
963
+ $[25] = t20;
964
+ $[26] = t21;
965
+ $[27] = t22;
880
966
  } else {
881
- t22 = $[26];
967
+ t22 = $[27];
882
968
  }
883
969
  const t23 = t22;
884
970
  let t24;
885
- if ($[27] !== responsiveHidden) {
971
+ if ($[28] !== responsiveHidden) {
886
972
  t24 = getResponsiveAttributes("is-hidden", responsiveHidden);
887
- $[27] = responsiveHidden;
888
- $[28] = t24;
973
+ $[28] = responsiveHidden;
974
+ $[29] = t24;
889
975
  } else {
890
- t24 = $[28];
976
+ t24 = $[29];
891
977
  }
892
978
  let t25;
893
- if ($[29] !== positionProp) {
979
+ if ($[30] !== positionProp) {
894
980
  t25 = getResponsiveAttributes("position", positionProp);
895
- $[29] = positionProp;
896
- $[30] = t25;
981
+ $[30] = positionProp;
982
+ $[31] = t25;
897
983
  } else {
898
- t25 = $[30];
984
+ t25 = $[31];
899
985
  }
900
986
  const t26 = sticky || undefined;
901
987
  let t27;
902
- if ($[31] !== dividerProp || $[32] !== dividerVariant) {
988
+ if ($[32] !== dividerProp || $[33] !== dividerVariant) {
903
989
  t27 = isResponsiveValue(dividerProp) ? dividerProp : {
904
990
  narrow: dividerVariant,
905
991
  regular: "none"
906
992
  };
907
- $[31] = dividerProp;
908
- $[32] = dividerVariant;
909
- $[33] = t27;
993
+ $[32] = dividerProp;
994
+ $[33] = dividerVariant;
995
+ $[34] = t27;
910
996
  } else {
911
- t27 = $[33];
997
+ t27 = $[34];
912
998
  }
913
999
  const t28 = `var(--spacing-${rowGap})`;
914
1000
  let t29;
915
- if ($[34] !== t28) {
1001
+ if ($[35] !== t28) {
916
1002
  t29 = {
917
1003
  "--spacing": t28
918
1004
  };
919
- $[34] = t28;
920
- $[35] = t29;
1005
+ $[35] = t28;
1006
+ $[36] = t29;
921
1007
  } else {
922
- t29 = $[35];
1008
+ t29 = $[36];
923
1009
  }
924
1010
  const t30 = t29;
925
1011
  let t31;
926
- if ($[36] !== positionProp || $[37] !== t27 || $[38] !== t30) {
1012
+ if ($[37] !== positionProp || $[38] !== t27 || $[39] !== t30) {
927
1013
  t31 = /*#__PURE__*/jsx(HorizontalDivider, {
928
1014
  variant: t27,
929
1015
  className: classes.PaneHorizontalDivider,
930
1016
  style: t30,
931
1017
  position: positionProp
932
1018
  });
933
- $[36] = positionProp;
934
- $[37] = t27;
935
- $[38] = t30;
936
- $[39] = t31;
1019
+ $[37] = positionProp;
1020
+ $[38] = t27;
1021
+ $[39] = t30;
1022
+ $[40] = t31;
937
1023
  } else {
938
- t31 = $[39];
1024
+ t31 = $[40];
939
1025
  }
940
1026
  let t32;
941
- if ($[40] !== hasOverflow) {
1027
+ if ($[41] !== hasOverflow) {
942
1028
  t32 = hasOverflow ? overflowProps : {};
943
- $[40] = hasOverflow;
944
- $[41] = t32;
1029
+ $[41] = hasOverflow;
1030
+ $[42] = t32;
945
1031
  } else {
946
- t32 = $[41];
1032
+ t32 = $[42];
947
1033
  }
948
1034
  let t33;
949
- if ($[42] !== id || $[43] !== paneId) {
1035
+ if ($[43] !== id || $[44] !== paneId) {
950
1036
  t33 = id && {
951
1037
  id: paneId
952
1038
  };
953
- $[42] = id;
954
- $[43] = paneId;
955
- $[44] = t33;
1039
+ $[43] = id;
1040
+ $[44] = paneId;
1041
+ $[45] = t33;
956
1042
  } else {
957
- t33 = $[44];
1043
+ t33 = $[45];
958
1044
  }
959
1045
  const t34 = resizable || undefined;
960
1046
  const t35 = `var(--spacing-${padding})`;
@@ -964,7 +1050,7 @@ const Pane = /*#__PURE__*/React.forwardRef((t0, forwardRef) => {
964
1050
  const t39 = `var(--pane-width-${isPaneWidth(width) ? width : "custom"})`;
965
1051
  const t40 = `${currentWidth}px`;
966
1052
  let t41;
967
- if ($[45] !== t35 || $[46] !== t36 || $[47] !== t37 || $[48] !== t38 || $[49] !== t39 || $[50] !== t40) {
1053
+ if ($[46] !== t35 || $[47] !== t36 || $[48] !== t37 || $[49] !== t38 || $[50] !== t39 || $[51] !== t40) {
968
1054
  t41 = {
969
1055
  "--spacing": t35,
970
1056
  "--pane-min-width": t36,
@@ -973,19 +1059,19 @@ const Pane = /*#__PURE__*/React.forwardRef((t0, forwardRef) => {
973
1059
  "--pane-width-size": t39,
974
1060
  "--pane-width": t40
975
1061
  };
976
- $[45] = t35;
977
- $[46] = t36;
978
- $[47] = t37;
979
- $[48] = t38;
980
- $[49] = t39;
981
- $[50] = t40;
982
- $[51] = t41;
1062
+ $[46] = t35;
1063
+ $[47] = t36;
1064
+ $[48] = t37;
1065
+ $[49] = t38;
1066
+ $[50] = t39;
1067
+ $[51] = t40;
1068
+ $[52] = t41;
983
1069
  } else {
984
- t41 = $[51];
1070
+ t41 = $[52];
985
1071
  }
986
1072
  const t42 = t41;
987
1073
  let t43;
988
- if ($[52] !== children || $[53] !== labelProp || $[54] !== paneRef || $[55] !== t32 || $[56] !== t33 || $[57] !== t34 || $[58] !== t42) {
1074
+ if ($[53] !== children || $[54] !== labelProp || $[55] !== paneRef || $[56] !== t32 || $[57] !== t33 || $[58] !== t34 || $[59] !== t42) {
989
1075
  t43 = /*#__PURE__*/jsx("div", {
990
1076
  ref: paneRef,
991
1077
  suppressHydrationWarning: true,
@@ -997,19 +1083,19 @@ const Pane = /*#__PURE__*/React.forwardRef((t0, forwardRef) => {
997
1083
  style: t42,
998
1084
  children: children
999
1085
  });
1000
- $[52] = children;
1001
- $[53] = labelProp;
1002
- $[54] = paneRef;
1003
- $[55] = t32;
1004
- $[56] = t33;
1005
- $[57] = t34;
1006
- $[58] = t42;
1007
- $[59] = t43;
1086
+ $[53] = children;
1087
+ $[54] = labelProp;
1088
+ $[55] = paneRef;
1089
+ $[56] = t32;
1090
+ $[57] = t33;
1091
+ $[58] = t34;
1092
+ $[59] = t42;
1093
+ $[60] = t43;
1008
1094
  } else {
1009
- t43 = $[59];
1095
+ t43 = $[60];
1010
1096
  }
1011
1097
  let t44;
1012
- if ($[60] !== dividerProp || $[61] !== dividerVariant || $[62] !== resizable) {
1098
+ if ($[61] !== dividerProp || $[62] !== dividerVariant || $[63] !== resizable) {
1013
1099
  t44 = isResponsiveValue(dividerProp) ? {
1014
1100
  narrow: "none",
1015
1101
  regular: resizable ? "line" : dividerProp.regular || "none",
@@ -1018,27 +1104,27 @@ const Pane = /*#__PURE__*/React.forwardRef((t0, forwardRef) => {
1018
1104
  narrow: "none",
1019
1105
  regular: resizable ? "line" : dividerVariant
1020
1106
  };
1021
- $[60] = dividerProp;
1022
- $[61] = dividerVariant;
1023
- $[62] = resizable;
1024
- $[63] = t44;
1107
+ $[61] = dividerProp;
1108
+ $[62] = dividerVariant;
1109
+ $[63] = resizable;
1110
+ $[64] = t44;
1025
1111
  } else {
1026
- t44 = $[63];
1112
+ t44 = $[64];
1027
1113
  }
1028
1114
  const t45 = `var(--spacing-${columnGap})`;
1029
1115
  let t46;
1030
- if ($[64] !== t45) {
1116
+ if ($[65] !== t45) {
1031
1117
  t46 = {
1032
1118
  "--spacing": t45
1033
1119
  };
1034
- $[64] = t45;
1035
- $[65] = t46;
1120
+ $[65] = t45;
1121
+ $[66] = t46;
1036
1122
  } else {
1037
- t46 = $[65];
1123
+ t46 = $[66];
1038
1124
  }
1039
1125
  const t47 = t46;
1040
1126
  let t48;
1041
- if ($[66] !== currentWidth || $[67] !== currentWidthRef || $[68] !== getDefaultWidth || $[69] !== getMaxPaneWidth || $[70] !== maxPaneWidth || $[71] !== minPaneWidth || $[72] !== paneRef || $[73] !== position || $[74] !== resizable || $[75] !== saveWidth) {
1127
+ if ($[67] !== currentWidth || $[68] !== currentWidthRef || $[69] !== getDefaultWidth || $[70] !== getMaxPaneWidth || $[71] !== maxPaneWidth || $[72] !== minPaneWidth || $[73] !== paneRef || $[74] !== position || $[75] !== resizable || $[76] !== saveWidth) {
1042
1128
  t48 = resizable ? /*#__PURE__*/jsx(DragHandle, {
1043
1129
  handleRef: handleRef,
1044
1130
  "aria-valuemin": minPaneWidth,
@@ -1096,22 +1182,22 @@ const Pane = /*#__PURE__*/React.forwardRef((t0, forwardRef) => {
1096
1182
  saveWidth(resetWidth);
1097
1183
  }
1098
1184
  }) : null;
1099
- $[66] = currentWidth;
1100
- $[67] = currentWidthRef;
1101
- $[68] = getDefaultWidth;
1102
- $[69] = getMaxPaneWidth;
1103
- $[70] = maxPaneWidth;
1104
- $[71] = minPaneWidth;
1105
- $[72] = paneRef;
1106
- $[73] = position;
1107
- $[74] = resizable;
1108
- $[75] = saveWidth;
1109
- $[76] = t48;
1110
- } else {
1111
- t48 = $[76];
1185
+ $[67] = currentWidth;
1186
+ $[68] = currentWidthRef;
1187
+ $[69] = getDefaultWidth;
1188
+ $[70] = getMaxPaneWidth;
1189
+ $[71] = maxPaneWidth;
1190
+ $[72] = minPaneWidth;
1191
+ $[73] = paneRef;
1192
+ $[74] = position;
1193
+ $[75] = resizable;
1194
+ $[76] = saveWidth;
1195
+ $[77] = t48;
1196
+ } else {
1197
+ t48 = $[77];
1112
1198
  }
1113
1199
  let t49;
1114
- if ($[77] !== positionProp || $[78] !== resizable || $[79] !== t44 || $[80] !== t47 || $[81] !== t48) {
1200
+ if ($[78] !== positionProp || $[79] !== resizable || $[80] !== t44 || $[81] !== t47 || $[82] !== t48) {
1115
1201
  t49 = /*#__PURE__*/jsx(VerticalDivider, {
1116
1202
  variant: t44,
1117
1203
  draggable: resizable,
@@ -1120,17 +1206,17 @@ const Pane = /*#__PURE__*/React.forwardRef((t0, forwardRef) => {
1120
1206
  style: t47,
1121
1207
  children: t48
1122
1208
  });
1123
- $[77] = positionProp;
1124
- $[78] = resizable;
1125
- $[79] = t44;
1126
- $[80] = t47;
1127
- $[81] = t48;
1128
- $[82] = t49;
1209
+ $[78] = positionProp;
1210
+ $[79] = resizable;
1211
+ $[80] = t44;
1212
+ $[81] = t47;
1213
+ $[82] = t48;
1214
+ $[83] = t49;
1129
1215
  } else {
1130
- t49 = $[82];
1216
+ t49 = $[83];
1131
1217
  }
1132
1218
  let t50;
1133
- if ($[83] !== t18 || $[84] !== t23 || $[85] !== t24 || $[86] !== t25 || $[87] !== t26 || $[88] !== t31 || $[89] !== t43 || $[90] !== t49) {
1219
+ if ($[84] !== t18 || $[85] !== t23 || $[86] !== t24 || $[87] !== t25 || $[88] !== t26 || $[89] !== t31 || $[90] !== t43 || $[91] !== t49) {
1134
1220
  t50 = /*#__PURE__*/jsxs("div", {
1135
1221
  className: t18,
1136
1222
  style: t23,
@@ -1139,17 +1225,17 @@ const Pane = /*#__PURE__*/React.forwardRef((t0, forwardRef) => {
1139
1225
  "data-sticky": t26,
1140
1226
  children: [t31, t43, t49]
1141
1227
  });
1142
- $[83] = t18;
1143
- $[84] = t23;
1144
- $[85] = t24;
1145
- $[86] = t25;
1146
- $[87] = t26;
1147
- $[88] = t31;
1148
- $[89] = t43;
1149
- $[90] = t49;
1150
- $[91] = t50;
1151
- } else {
1152
- t50 = $[91];
1228
+ $[84] = t18;
1229
+ $[85] = t23;
1230
+ $[86] = t24;
1231
+ $[87] = t25;
1232
+ $[88] = t26;
1233
+ $[89] = t31;
1234
+ $[90] = t43;
1235
+ $[91] = t49;
1236
+ $[92] = t50;
1237
+ } else {
1238
+ t50 = $[92];
1153
1239
  }
1154
1240
  return t50;
1155
1241
  });