@react-stately/layout 3.4.3-nightly.3084 → 3.4.3-nightly.3091

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/main.js CHANGED
@@ -1,4 +1,4 @@
1
- var $bz2xS$reactstatelyvirtualizer = require("@react-stately/virtualizer");
1
+ var $5t6DB$reactstatelyvirtualizer = require("@react-stately/virtualizer");
2
2
 
3
3
  function $parcel$exportWildcard(dest, source) {
4
4
  Object.keys(source).forEach(function(key) {
@@ -19,12 +19,12 @@ function $parcel$exportWildcard(dest, source) {
19
19
  function $parcel$export(e, n, v, s) {
20
20
  Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true});
21
21
  }
22
- var $aed36882df94379f$exports = {};
22
+ var $8abb5663c9b3120c$exports = {};
23
23
 
24
- $parcel$export($aed36882df94379f$exports, "ListLayout", () => $aed36882df94379f$export$cacbb3924155d68e);
24
+ $parcel$export($8abb5663c9b3120c$exports, "ListLayout", () => $8abb5663c9b3120c$export$cacbb3924155d68e);
25
25
 
26
- const $aed36882df94379f$var$DEFAULT_HEIGHT = 48;
27
- class $aed36882df94379f$export$cacbb3924155d68e extends $bz2xS$reactstatelyvirtualizer.Layout {
26
+ const $8abb5663c9b3120c$var$DEFAULT_HEIGHT = 48;
27
+ class $8abb5663c9b3120c$export$cacbb3924155d68e extends $5t6DB$reactstatelyvirtualizer.Layout {
28
28
  /**
29
29
  * Creates a new ListLayout with options. See the list of properties below for a description
30
30
  * of the options that can be provided.
@@ -94,8 +94,8 @@ class $aed36882df94379f$export$cacbb3924155d68e extends $bz2xS$reactstatelyvirtu
94
94
  nodes.push(layoutNode);
95
95
  }
96
96
  if (this.isLoading) {
97
- let rect = new $bz2xS$reactstatelyvirtualizer.Rect(0, y, this.virtualizer.visibleRect.width, this.loaderHeight ?? this.virtualizer.visibleRect.height);
98
- let loader = new $bz2xS$reactstatelyvirtualizer.LayoutInfo('loader', 'loader', rect);
97
+ let rect = new $5t6DB$reactstatelyvirtualizer.Rect(0, y, this.virtualizer.visibleRect.width, this.loaderHeight ?? this.virtualizer.visibleRect.height);
98
+ let loader = new $5t6DB$reactstatelyvirtualizer.LayoutInfo('loader', 'loader', rect);
99
99
  this.layoutInfos.set('loader', loader);
100
100
  nodes.push({
101
101
  layoutInfo: loader
@@ -103,15 +103,15 @@ class $aed36882df94379f$export$cacbb3924155d68e extends $bz2xS$reactstatelyvirtu
103
103
  y = loader.rect.maxY;
104
104
  }
105
105
  if (nodes.length === 0) {
106
- let rect = new $bz2xS$reactstatelyvirtualizer.Rect(0, y, this.virtualizer.visibleRect.width, this.placeholderHeight ?? this.virtualizer.visibleRect.height);
107
- let placeholder = new $bz2xS$reactstatelyvirtualizer.LayoutInfo('placeholder', 'placeholder', rect);
106
+ let rect = new $5t6DB$reactstatelyvirtualizer.Rect(0, y, this.virtualizer.visibleRect.width, this.placeholderHeight ?? this.virtualizer.visibleRect.height);
107
+ let placeholder = new $5t6DB$reactstatelyvirtualizer.LayoutInfo('placeholder', 'placeholder', rect);
108
108
  this.layoutInfos.set('placeholder', placeholder);
109
109
  nodes.push({
110
110
  layoutInfo: placeholder
111
111
  });
112
112
  y = placeholder.rect.maxY;
113
113
  }
114
- this.contentSize = new $bz2xS$reactstatelyvirtualizer.Size(this.virtualizer.visibleRect.width, y + this.padding);
114
+ this.contentSize = new $5t6DB$reactstatelyvirtualizer.Size(this.virtualizer.visibleRect.width, y + this.padding);
115
115
  return nodes;
116
116
  }
117
117
  buildChild(node, x, y) {
@@ -153,14 +153,14 @@ class $aed36882df94379f$export$cacbb3924155d68e extends $bz2xS$reactstatelyvirtu
153
153
  isEstimated = true;
154
154
  }
155
155
  }
156
- if (rectHeight == null) rectHeight = $aed36882df94379f$var$DEFAULT_HEIGHT;
157
- let headerRect = new $bz2xS$reactstatelyvirtualizer.Rect(0, y, width, rectHeight);
158
- let header = new $bz2xS$reactstatelyvirtualizer.LayoutInfo('header', node.key + ':header', headerRect);
156
+ if (rectHeight == null) rectHeight = $8abb5663c9b3120c$var$DEFAULT_HEIGHT;
157
+ let headerRect = new $5t6DB$reactstatelyvirtualizer.Rect(0, y, width, rectHeight);
158
+ let header = new $5t6DB$reactstatelyvirtualizer.LayoutInfo('header', node.key + ':header', headerRect);
159
159
  header.estimatedSize = isEstimated;
160
160
  header.parentKey = node.key;
161
161
  y += header.rect.height;
162
- let rect = new $bz2xS$reactstatelyvirtualizer.Rect(0, y, width, 0);
163
- let layoutInfo = new $bz2xS$reactstatelyvirtualizer.LayoutInfo(node.type, node.key, rect);
162
+ let rect = new $5t6DB$reactstatelyvirtualizer.Rect(0, y, width, 0);
163
+ let layoutInfo = new $5t6DB$reactstatelyvirtualizer.LayoutInfo(node.type, node.key, rect);
164
164
  let startY = y;
165
165
  let children = [];
166
166
  for (let child of node.childNodes){
@@ -195,10 +195,10 @@ class $aed36882df94379f$export$cacbb3924155d68e extends $bz2xS$reactstatelyvirtu
195
195
  isEstimated = true;
196
196
  }
197
197
  }
198
- if (rectHeight == null) rectHeight = $aed36882df94379f$var$DEFAULT_HEIGHT;
198
+ if (rectHeight == null) rectHeight = $8abb5663c9b3120c$var$DEFAULT_HEIGHT;
199
199
  if (typeof this.indentationForItem === 'function') x += this.indentationForItem(this.collection, node.key) || 0;
200
- let rect = new $bz2xS$reactstatelyvirtualizer.Rect(x, y, width - x, rectHeight);
201
- let layoutInfo = new $bz2xS$reactstatelyvirtualizer.LayoutInfo(node.type, node.key, rect);
200
+ let rect = new $5t6DB$reactstatelyvirtualizer.Rect(x, y, width - x, rectHeight);
201
+ let layoutInfo = new $5t6DB$reactstatelyvirtualizer.LayoutInfo(node.type, node.key, rect);
202
202
  layoutInfo.estimatedSize = isEstimated;
203
203
  return {
204
204
  layoutInfo: layoutInfo
@@ -345,12 +345,12 @@ class $aed36882df94379f$export$cacbb3924155d68e extends $bz2xS$reactstatelyvirtu
345
345
  }
346
346
 
347
347
 
348
- var $df0363d94e6d34b1$exports = {};
348
+ var $f28e1b71e907159b$exports = {};
349
349
 
350
- $parcel$export($df0363d94e6d34b1$exports, "TableLayout", () => $df0363d94e6d34b1$export$62444c3c724b1b20);
350
+ $parcel$export($f28e1b71e907159b$exports, "TableLayout", () => $f28e1b71e907159b$export$62444c3c724b1b20);
351
351
 
352
352
 
353
- class $df0363d94e6d34b1$export$62444c3c724b1b20 extends $aed36882df94379f$export$cacbb3924155d68e {
353
+ class $f28e1b71e907159b$export$62444c3c724b1b20 extends $8abb5663c9b3120c$export$cacbb3924155d68e {
354
354
  constructor(options){
355
355
  super(options);
356
356
  this.wasLoading = false;
@@ -370,7 +370,7 @@ class $df0363d94e6d34b1$export$62444c3c724b1b20 extends $aed36882df94379f$export
370
370
  let header = this.buildHeader();
371
371
  let body = this.buildBody(0);
372
372
  body.layoutInfo.rect.width = Math.max(header.layoutInfo.rect.width, body.layoutInfo.rect.width);
373
- this.contentSize = new $bz2xS$reactstatelyvirtualizer.Size(body.layoutInfo.rect.width, body.layoutInfo.rect.maxY);
373
+ this.contentSize = new $5t6DB$reactstatelyvirtualizer.Size(body.layoutInfo.rect.width, body.layoutInfo.rect.maxY);
374
374
  return [
375
375
  header,
376
376
  body
@@ -417,8 +417,8 @@ class $df0363d94e6d34b1$export$62444c3c724b1b20 extends $aed36882df94379f$export
417
417
  return width;
418
418
  }
419
419
  buildHeader() {
420
- let rect = new $bz2xS$reactstatelyvirtualizer.Rect(0, 0, 0, 0);
421
- let layoutInfo = new $bz2xS$reactstatelyvirtualizer.LayoutInfo('header', 'header', rect);
420
+ let rect = new $5t6DB$reactstatelyvirtualizer.Rect(0, 0, 0, 0);
421
+ let layoutInfo = new $5t6DB$reactstatelyvirtualizer.LayoutInfo('header', 'header', rect);
422
422
  let y = 0;
423
423
  let width = 0;
424
424
  let children = [];
@@ -438,8 +438,8 @@ class $df0363d94e6d34b1$export$62444c3c724b1b20 extends $aed36882df94379f$export
438
438
  };
439
439
  }
440
440
  buildHeaderRow(headerRow, x, y) {
441
- let rect = new $bz2xS$reactstatelyvirtualizer.Rect(0, y, 0, 0);
442
- let row = new $bz2xS$reactstatelyvirtualizer.LayoutInfo('headerrow', headerRow.key, rect);
441
+ let rect = new $5t6DB$reactstatelyvirtualizer.Rect(0, y, 0, 0);
442
+ let row = new $5t6DB$reactstatelyvirtualizer.LayoutInfo('headerrow', headerRow.key, rect);
443
443
  let height = 0;
444
444
  let columns = [];
445
445
  for (let cell of headerRow.childNodes){
@@ -500,8 +500,8 @@ class $df0363d94e6d34b1$export$62444c3c724b1b20 extends $aed36882df94379f$export
500
500
  buildColumn(node, x, y) {
501
501
  let width = this.getColumnWidth(node);
502
502
  let { height: height , isEstimated: isEstimated } = this.getEstimatedHeight(node, width, this.headingHeight, this.estimatedHeadingHeight);
503
- let rect = new $bz2xS$reactstatelyvirtualizer.Rect(x, y, width, height);
504
- let layoutInfo = new $bz2xS$reactstatelyvirtualizer.LayoutInfo(node.type, node.key, rect);
503
+ let rect = new $5t6DB$reactstatelyvirtualizer.Rect(x, y, width, height);
504
+ let layoutInfo = new $5t6DB$reactstatelyvirtualizer.LayoutInfo(node.type, node.key, rect);
505
505
  layoutInfo.isSticky = node.props?.isSelectionCell;
506
506
  layoutInfo.zIndex = layoutInfo.isSticky ? 2 : 1;
507
507
  layoutInfo.estimatedSize = isEstimated;
@@ -510,8 +510,8 @@ class $df0363d94e6d34b1$export$62444c3c724b1b20 extends $aed36882df94379f$export
510
510
  };
511
511
  }
512
512
  buildBody(y) {
513
- let rect = new $bz2xS$reactstatelyvirtualizer.Rect(0, y, 0, 0);
514
- let layoutInfo = new $bz2xS$reactstatelyvirtualizer.LayoutInfo('rowgroup', 'body', rect);
513
+ let rect = new $5t6DB$reactstatelyvirtualizer.Rect(0, y, 0, 0);
514
+ let layoutInfo = new $5t6DB$reactstatelyvirtualizer.LayoutInfo('rowgroup', 'body', rect);
515
515
  let startY = y;
516
516
  let width = 0;
517
517
  let children = [];
@@ -523,8 +523,8 @@ class $df0363d94e6d34b1$export$62444c3c724b1b20 extends $aed36882df94379f$export
523
523
  children.push(layoutNode);
524
524
  }
525
525
  if (this.isLoading) {
526
- let rect = new $bz2xS$reactstatelyvirtualizer.Rect(0, y, width || this.virtualizer.visibleRect.width, children.length === 0 ? this.virtualizer.visibleRect.height : 60);
527
- let loader = new $bz2xS$reactstatelyvirtualizer.LayoutInfo('loader', 'loader', rect);
526
+ let rect = new $5t6DB$reactstatelyvirtualizer.Rect(0, y, width || this.virtualizer.visibleRect.width, children.length === 0 ? this.virtualizer.visibleRect.height : 60);
527
+ let loader = new $5t6DB$reactstatelyvirtualizer.LayoutInfo('loader', 'loader', rect);
528
528
  loader.parentKey = 'body';
529
529
  loader.isSticky = children.length === 0;
530
530
  this.layoutInfos.set('loader', loader);
@@ -534,8 +534,8 @@ class $df0363d94e6d34b1$export$62444c3c724b1b20 extends $aed36882df94379f$export
534
534
  y = loader.rect.maxY;
535
535
  width = Math.max(width, rect.width);
536
536
  } else if (children.length === 0) {
537
- let rect = new $bz2xS$reactstatelyvirtualizer.Rect(0, y, this.virtualizer.visibleRect.width, this.virtualizer.visibleRect.height);
538
- let empty = new $bz2xS$reactstatelyvirtualizer.LayoutInfo('empty', 'empty', rect);
537
+ let rect = new $5t6DB$reactstatelyvirtualizer.Rect(0, y, this.virtualizer.visibleRect.width, this.virtualizer.visibleRect.height);
538
+ let empty = new $5t6DB$reactstatelyvirtualizer.LayoutInfo('empty', 'empty', rect);
539
539
  empty.parentKey = 'body';
540
540
  empty.isSticky = true;
541
541
  this.layoutInfos.set('empty', empty);
@@ -569,8 +569,8 @@ class $df0363d94e6d34b1$export$62444c3c724b1b20 extends $aed36882df94379f$export
569
569
  }
570
570
  }
571
571
  buildRow(node, x, y) {
572
- let rect = new $bz2xS$reactstatelyvirtualizer.Rect(x, y, 0, 0);
573
- let layoutInfo = new $bz2xS$reactstatelyvirtualizer.LayoutInfo('row', node.key, rect);
572
+ let rect = new $5t6DB$reactstatelyvirtualizer.Rect(x, y, 0, 0);
573
+ let layoutInfo = new $5t6DB$reactstatelyvirtualizer.LayoutInfo('row', node.key, rect);
574
574
  let children = [];
575
575
  let height = 0;
576
576
  for (let child of node.childNodes){
@@ -590,8 +590,8 @@ class $df0363d94e6d34b1$export$62444c3c724b1b20 extends $aed36882df94379f$export
590
590
  buildCell(node, x, y) {
591
591
  let width = this.getColumnWidth(node);
592
592
  let { height: height , isEstimated: isEstimated } = this.getEstimatedHeight(node, width, this.rowHeight, this.estimatedRowHeight);
593
- let rect = new $bz2xS$reactstatelyvirtualizer.Rect(x, y, width, height);
594
- let layoutInfo = new $bz2xS$reactstatelyvirtualizer.LayoutInfo(node.type, node.key, rect);
593
+ let rect = new $5t6DB$reactstatelyvirtualizer.Rect(x, y, width, height);
594
+ let layoutInfo = new $5t6DB$reactstatelyvirtualizer.LayoutInfo(node.type, node.key, rect);
595
595
  layoutInfo.isSticky = node.props?.isSelectionCell;
596
596
  layoutInfo.zIndex = layoutInfo.isSticky ? 2 : 1;
597
597
  layoutInfo.estimatedSize = isEstimated;
@@ -675,8 +675,8 @@ class $df0363d94e6d34b1$export$62444c3c724b1b20 extends $aed36882df94379f$export
675
675
  }
676
676
 
677
677
 
678
- $parcel$exportWildcard(module.exports, $aed36882df94379f$exports);
679
- $parcel$exportWildcard(module.exports, $df0363d94e6d34b1$exports);
678
+ $parcel$exportWildcard(module.exports, $8abb5663c9b3120c$exports);
679
+ $parcel$exportWildcard(module.exports, $f28e1b71e907159b$exports);
680
680
 
681
681
 
682
682
  //# sourceMappingURL=main.js.map
package/dist/module.js CHANGED
@@ -1,14 +1,14 @@
1
- import {Rect as $lwi4v$Rect, LayoutInfo as $lwi4v$LayoutInfo, Size as $lwi4v$Size, Layout as $lwi4v$Layout} from "@react-stately/virtualizer";
1
+ import {Rect as $k07vD$Rect, LayoutInfo as $k07vD$LayoutInfo, Size as $k07vD$Size, Layout as $k07vD$Layout} from "@react-stately/virtualizer";
2
2
 
3
3
  function $parcel$export(e, n, v, s) {
4
4
  Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true});
5
5
  }
6
- var $5c162b33e5b4dfc0$exports = {};
6
+ var $3789d65031eec0e6$exports = {};
7
7
 
8
- $parcel$export($5c162b33e5b4dfc0$exports, "ListLayout", () => $5c162b33e5b4dfc0$export$cacbb3924155d68e);
8
+ $parcel$export($3789d65031eec0e6$exports, "ListLayout", () => $3789d65031eec0e6$export$cacbb3924155d68e);
9
9
 
10
- const $5c162b33e5b4dfc0$var$DEFAULT_HEIGHT = 48;
11
- class $5c162b33e5b4dfc0$export$cacbb3924155d68e extends $lwi4v$Layout {
10
+ const $3789d65031eec0e6$var$DEFAULT_HEIGHT = 48;
11
+ class $3789d65031eec0e6$export$cacbb3924155d68e extends $k07vD$Layout {
12
12
  /**
13
13
  * Creates a new ListLayout with options. See the list of properties below for a description
14
14
  * of the options that can be provided.
@@ -78,8 +78,8 @@ class $5c162b33e5b4dfc0$export$cacbb3924155d68e extends $lwi4v$Layout {
78
78
  nodes.push(layoutNode);
79
79
  }
80
80
  if (this.isLoading) {
81
- let rect = new $lwi4v$Rect(0, y, this.virtualizer.visibleRect.width, this.loaderHeight ?? this.virtualizer.visibleRect.height);
82
- let loader = new $lwi4v$LayoutInfo('loader', 'loader', rect);
81
+ let rect = new $k07vD$Rect(0, y, this.virtualizer.visibleRect.width, this.loaderHeight ?? this.virtualizer.visibleRect.height);
82
+ let loader = new $k07vD$LayoutInfo('loader', 'loader', rect);
83
83
  this.layoutInfos.set('loader', loader);
84
84
  nodes.push({
85
85
  layoutInfo: loader
@@ -87,15 +87,15 @@ class $5c162b33e5b4dfc0$export$cacbb3924155d68e extends $lwi4v$Layout {
87
87
  y = loader.rect.maxY;
88
88
  }
89
89
  if (nodes.length === 0) {
90
- let rect = new $lwi4v$Rect(0, y, this.virtualizer.visibleRect.width, this.placeholderHeight ?? this.virtualizer.visibleRect.height);
91
- let placeholder = new $lwi4v$LayoutInfo('placeholder', 'placeholder', rect);
90
+ let rect = new $k07vD$Rect(0, y, this.virtualizer.visibleRect.width, this.placeholderHeight ?? this.virtualizer.visibleRect.height);
91
+ let placeholder = new $k07vD$LayoutInfo('placeholder', 'placeholder', rect);
92
92
  this.layoutInfos.set('placeholder', placeholder);
93
93
  nodes.push({
94
94
  layoutInfo: placeholder
95
95
  });
96
96
  y = placeholder.rect.maxY;
97
97
  }
98
- this.contentSize = new $lwi4v$Size(this.virtualizer.visibleRect.width, y + this.padding);
98
+ this.contentSize = new $k07vD$Size(this.virtualizer.visibleRect.width, y + this.padding);
99
99
  return nodes;
100
100
  }
101
101
  buildChild(node, x, y) {
@@ -137,14 +137,14 @@ class $5c162b33e5b4dfc0$export$cacbb3924155d68e extends $lwi4v$Layout {
137
137
  isEstimated = true;
138
138
  }
139
139
  }
140
- if (rectHeight == null) rectHeight = $5c162b33e5b4dfc0$var$DEFAULT_HEIGHT;
141
- let headerRect = new $lwi4v$Rect(0, y, width, rectHeight);
142
- let header = new $lwi4v$LayoutInfo('header', node.key + ':header', headerRect);
140
+ if (rectHeight == null) rectHeight = $3789d65031eec0e6$var$DEFAULT_HEIGHT;
141
+ let headerRect = new $k07vD$Rect(0, y, width, rectHeight);
142
+ let header = new $k07vD$LayoutInfo('header', node.key + ':header', headerRect);
143
143
  header.estimatedSize = isEstimated;
144
144
  header.parentKey = node.key;
145
145
  y += header.rect.height;
146
- let rect = new $lwi4v$Rect(0, y, width, 0);
147
- let layoutInfo = new $lwi4v$LayoutInfo(node.type, node.key, rect);
146
+ let rect = new $k07vD$Rect(0, y, width, 0);
147
+ let layoutInfo = new $k07vD$LayoutInfo(node.type, node.key, rect);
148
148
  let startY = y;
149
149
  let children = [];
150
150
  for (let child of node.childNodes){
@@ -179,10 +179,10 @@ class $5c162b33e5b4dfc0$export$cacbb3924155d68e extends $lwi4v$Layout {
179
179
  isEstimated = true;
180
180
  }
181
181
  }
182
- if (rectHeight == null) rectHeight = $5c162b33e5b4dfc0$var$DEFAULT_HEIGHT;
182
+ if (rectHeight == null) rectHeight = $3789d65031eec0e6$var$DEFAULT_HEIGHT;
183
183
  if (typeof this.indentationForItem === 'function') x += this.indentationForItem(this.collection, node.key) || 0;
184
- let rect = new $lwi4v$Rect(x, y, width - x, rectHeight);
185
- let layoutInfo = new $lwi4v$LayoutInfo(node.type, node.key, rect);
184
+ let rect = new $k07vD$Rect(x, y, width - x, rectHeight);
185
+ let layoutInfo = new $k07vD$LayoutInfo(node.type, node.key, rect);
186
186
  layoutInfo.estimatedSize = isEstimated;
187
187
  return {
188
188
  layoutInfo: layoutInfo
@@ -329,12 +329,12 @@ class $5c162b33e5b4dfc0$export$cacbb3924155d68e extends $lwi4v$Layout {
329
329
  }
330
330
 
331
331
 
332
- var $69cac3683b58c7d1$exports = {};
332
+ var $869b950335a69eea$exports = {};
333
333
 
334
- $parcel$export($69cac3683b58c7d1$exports, "TableLayout", () => $69cac3683b58c7d1$export$62444c3c724b1b20);
334
+ $parcel$export($869b950335a69eea$exports, "TableLayout", () => $869b950335a69eea$export$62444c3c724b1b20);
335
335
 
336
336
 
337
- class $69cac3683b58c7d1$export$62444c3c724b1b20 extends $5c162b33e5b4dfc0$export$cacbb3924155d68e {
337
+ class $869b950335a69eea$export$62444c3c724b1b20 extends $3789d65031eec0e6$export$cacbb3924155d68e {
338
338
  constructor(options){
339
339
  super(options);
340
340
  this.wasLoading = false;
@@ -354,7 +354,7 @@ class $69cac3683b58c7d1$export$62444c3c724b1b20 extends $5c162b33e5b4dfc0$export
354
354
  let header = this.buildHeader();
355
355
  let body = this.buildBody(0);
356
356
  body.layoutInfo.rect.width = Math.max(header.layoutInfo.rect.width, body.layoutInfo.rect.width);
357
- this.contentSize = new $lwi4v$Size(body.layoutInfo.rect.width, body.layoutInfo.rect.maxY);
357
+ this.contentSize = new $k07vD$Size(body.layoutInfo.rect.width, body.layoutInfo.rect.maxY);
358
358
  return [
359
359
  header,
360
360
  body
@@ -401,8 +401,8 @@ class $69cac3683b58c7d1$export$62444c3c724b1b20 extends $5c162b33e5b4dfc0$export
401
401
  return width;
402
402
  }
403
403
  buildHeader() {
404
- let rect = new $lwi4v$Rect(0, 0, 0, 0);
405
- let layoutInfo = new $lwi4v$LayoutInfo('header', 'header', rect);
404
+ let rect = new $k07vD$Rect(0, 0, 0, 0);
405
+ let layoutInfo = new $k07vD$LayoutInfo('header', 'header', rect);
406
406
  let y = 0;
407
407
  let width = 0;
408
408
  let children = [];
@@ -422,8 +422,8 @@ class $69cac3683b58c7d1$export$62444c3c724b1b20 extends $5c162b33e5b4dfc0$export
422
422
  };
423
423
  }
424
424
  buildHeaderRow(headerRow, x, y) {
425
- let rect = new $lwi4v$Rect(0, y, 0, 0);
426
- let row = new $lwi4v$LayoutInfo('headerrow', headerRow.key, rect);
425
+ let rect = new $k07vD$Rect(0, y, 0, 0);
426
+ let row = new $k07vD$LayoutInfo('headerrow', headerRow.key, rect);
427
427
  let height = 0;
428
428
  let columns = [];
429
429
  for (let cell of headerRow.childNodes){
@@ -484,8 +484,8 @@ class $69cac3683b58c7d1$export$62444c3c724b1b20 extends $5c162b33e5b4dfc0$export
484
484
  buildColumn(node, x, y) {
485
485
  let width = this.getColumnWidth(node);
486
486
  let { height: height , isEstimated: isEstimated } = this.getEstimatedHeight(node, width, this.headingHeight, this.estimatedHeadingHeight);
487
- let rect = new $lwi4v$Rect(x, y, width, height);
488
- let layoutInfo = new $lwi4v$LayoutInfo(node.type, node.key, rect);
487
+ let rect = new $k07vD$Rect(x, y, width, height);
488
+ let layoutInfo = new $k07vD$LayoutInfo(node.type, node.key, rect);
489
489
  layoutInfo.isSticky = node.props?.isSelectionCell;
490
490
  layoutInfo.zIndex = layoutInfo.isSticky ? 2 : 1;
491
491
  layoutInfo.estimatedSize = isEstimated;
@@ -494,8 +494,8 @@ class $69cac3683b58c7d1$export$62444c3c724b1b20 extends $5c162b33e5b4dfc0$export
494
494
  };
495
495
  }
496
496
  buildBody(y) {
497
- let rect = new $lwi4v$Rect(0, y, 0, 0);
498
- let layoutInfo = new $lwi4v$LayoutInfo('rowgroup', 'body', rect);
497
+ let rect = new $k07vD$Rect(0, y, 0, 0);
498
+ let layoutInfo = new $k07vD$LayoutInfo('rowgroup', 'body', rect);
499
499
  let startY = y;
500
500
  let width = 0;
501
501
  let children = [];
@@ -507,8 +507,8 @@ class $69cac3683b58c7d1$export$62444c3c724b1b20 extends $5c162b33e5b4dfc0$export
507
507
  children.push(layoutNode);
508
508
  }
509
509
  if (this.isLoading) {
510
- let rect = new $lwi4v$Rect(0, y, width || this.virtualizer.visibleRect.width, children.length === 0 ? this.virtualizer.visibleRect.height : 60);
511
- let loader = new $lwi4v$LayoutInfo('loader', 'loader', rect);
510
+ let rect = new $k07vD$Rect(0, y, width || this.virtualizer.visibleRect.width, children.length === 0 ? this.virtualizer.visibleRect.height : 60);
511
+ let loader = new $k07vD$LayoutInfo('loader', 'loader', rect);
512
512
  loader.parentKey = 'body';
513
513
  loader.isSticky = children.length === 0;
514
514
  this.layoutInfos.set('loader', loader);
@@ -518,8 +518,8 @@ class $69cac3683b58c7d1$export$62444c3c724b1b20 extends $5c162b33e5b4dfc0$export
518
518
  y = loader.rect.maxY;
519
519
  width = Math.max(width, rect.width);
520
520
  } else if (children.length === 0) {
521
- let rect = new $lwi4v$Rect(0, y, this.virtualizer.visibleRect.width, this.virtualizer.visibleRect.height);
522
- let empty = new $lwi4v$LayoutInfo('empty', 'empty', rect);
521
+ let rect = new $k07vD$Rect(0, y, this.virtualizer.visibleRect.width, this.virtualizer.visibleRect.height);
522
+ let empty = new $k07vD$LayoutInfo('empty', 'empty', rect);
523
523
  empty.parentKey = 'body';
524
524
  empty.isSticky = true;
525
525
  this.layoutInfos.set('empty', empty);
@@ -553,8 +553,8 @@ class $69cac3683b58c7d1$export$62444c3c724b1b20 extends $5c162b33e5b4dfc0$export
553
553
  }
554
554
  }
555
555
  buildRow(node, x, y) {
556
- let rect = new $lwi4v$Rect(x, y, 0, 0);
557
- let layoutInfo = new $lwi4v$LayoutInfo('row', node.key, rect);
556
+ let rect = new $k07vD$Rect(x, y, 0, 0);
557
+ let layoutInfo = new $k07vD$LayoutInfo('row', node.key, rect);
558
558
  let children = [];
559
559
  let height = 0;
560
560
  for (let child of node.childNodes){
@@ -574,8 +574,8 @@ class $69cac3683b58c7d1$export$62444c3c724b1b20 extends $5c162b33e5b4dfc0$export
574
574
  buildCell(node, x, y) {
575
575
  let width = this.getColumnWidth(node);
576
576
  let { height: height , isEstimated: isEstimated } = this.getEstimatedHeight(node, width, this.rowHeight, this.estimatedRowHeight);
577
- let rect = new $lwi4v$Rect(x, y, width, height);
578
- let layoutInfo = new $lwi4v$LayoutInfo(node.type, node.key, rect);
577
+ let rect = new $k07vD$Rect(x, y, width, height);
578
+ let layoutInfo = new $k07vD$LayoutInfo(node.type, node.key, rect);
579
579
  layoutInfo.isSticky = node.props?.isSelectionCell;
580
580
  layoutInfo.zIndex = layoutInfo.isSticky ? 2 : 1;
581
581
  layoutInfo.estimatedSize = isEstimated;
@@ -661,5 +661,5 @@ class $69cac3683b58c7d1$export$62444c3c724b1b20 extends $5c162b33e5b4dfc0$export
661
661
 
662
662
 
663
663
 
664
- export {$5c162b33e5b4dfc0$export$cacbb3924155d68e as ListLayout, $69cac3683b58c7d1$export$62444c3c724b1b20 as TableLayout};
664
+ export {$3789d65031eec0e6$export$cacbb3924155d68e as ListLayout, $869b950335a69eea$export$62444c3c724b1b20 as TableLayout};
665
665
  //# sourceMappingURL=module.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@react-stately/layout",
3
- "version": "3.4.3-nightly.3084+480974741",
3
+ "version": "3.4.3-nightly.3091+2815eea07",
4
4
  "description": "Spectrum UI components in React",
5
5
  "license": "Apache-2.0",
6
6
  "main": "dist/main.js",
@@ -18,10 +18,10 @@
18
18
  },
19
19
  "dependencies": {
20
20
  "@babel/runtime": "^7.6.2",
21
- "@react-stately/virtualizer": "3.1.7-nightly.3084+480974741",
22
- "@react-types/grid": "3.0.1-nightly.3084+480974741",
23
- "@react-types/shared": "3.0.0-nightly.1393+480974741",
24
- "@react-types/table": "3.1.1-nightly.3084+480974741"
21
+ "@react-stately/virtualizer": "3.1.7-nightly.3091+2815eea07",
22
+ "@react-types/grid": "3.0.1-nightly.3091+2815eea07",
23
+ "@react-types/shared": "3.0.0-nightly.1400+2815eea07",
24
+ "@react-types/table": "3.1.1-nightly.3091+2815eea07"
25
25
  },
26
26
  "peerDependencies": {
27
27
  "react": "^16.8.0 || ^17.0.0-rc.1"
@@ -29,5 +29,5 @@
29
29
  "publishConfig": {
30
30
  "access": "public"
31
31
  },
32
- "gitHead": "480974741ca38d66a154cecb8f63207b1f015aa9"
32
+ "gitHead": "2815eea077010e5490ff9df3c5d79fa1588ca689"
33
33
  }