@tanstack/virtual-core 3.0.0-alpha.2 → 3.0.0-beta.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.
@@ -0,0 +1,49 @@
1
+ /**
2
+ * virtual-core
3
+ *
4
+ * Copyright (c) TanStack
5
+ *
6
+ * This source code is licensed under the MIT license found in the
7
+ * LICENSE.md file in the root directory of this source tree.
8
+ *
9
+ * @license MIT
10
+ */
11
+ 'use strict';
12
+
13
+ Object.defineProperty(exports, '__esModule', { value: true });
14
+
15
+ function _extends() {
16
+ _extends = Object.assign ? Object.assign.bind() : function (target) {
17
+ for (var i = 1; i < arguments.length; i++) {
18
+ var source = arguments[i];
19
+
20
+ for (var key in source) {
21
+ if (Object.prototype.hasOwnProperty.call(source, key)) {
22
+ target[key] = source[key];
23
+ }
24
+ }
25
+ }
26
+
27
+ return target;
28
+ };
29
+ return _extends.apply(this, arguments);
30
+ }
31
+
32
+ function _objectWithoutPropertiesLoose(source, excluded) {
33
+ if (source == null) return {};
34
+ var target = {};
35
+ var sourceKeys = Object.keys(source);
36
+ var key, i;
37
+
38
+ for (i = 0; i < sourceKeys.length; i++) {
39
+ key = sourceKeys[i];
40
+ if (excluded.indexOf(key) >= 0) continue;
41
+ target[key] = source[key];
42
+ }
43
+
44
+ return target;
45
+ }
46
+
47
+ exports["extends"] = _extends;
48
+ exports.objectWithoutPropertiesLoose = _objectWithoutPropertiesLoose;
49
+ //# sourceMappingURL=_rollupPluginBabelHelpers.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"_rollupPluginBabelHelpers.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -2669,7 +2669,7 @@ var drawChart = (function (exports) {
2669
2669
  </script>
2670
2670
  <script>
2671
2671
  /*<!--*/
2672
- const data = {"version":2,"tree":{"name":"root","children":[{"name":"index.production.js","children":[{"name":"node_modules/@reach/observe-rect/dist/observe-rect.esm.js","uid":"868a-1"},{"name":"packages/virtual-core/src","children":[{"uid":"868a-3","name":"utils.ts"},{"uid":"868a-5","name":"index.ts"}]}]}],"isRoot":true},"nodeParts":{"868a-1":{"renderedLength":1732,"gzipLength":652,"brotliLength":0,"mainUid":"868a-0"},"868a-3":{"renderedLength":1432,"gzipLength":544,"brotliLength":0,"mainUid":"868a-2"},"868a-5":{"renderedLength":12236,"gzipLength":2743,"brotliLength":0,"mainUid":"868a-4"}},"nodeMetas":{"868a-0":{"id":"/node_modules/@reach/observe-rect/dist/observe-rect.esm.js","moduleParts":{"index.production.js":"868a-1"},"imported":[],"importedBy":[{"uid":"868a-4"}]},"868a-2":{"id":"/packages/virtual-core/src/utils.ts","moduleParts":{"index.production.js":"868a-3"},"imported":[],"importedBy":[{"uid":"868a-4"}]},"868a-4":{"id":"/packages/virtual-core/src/index.ts","moduleParts":{"index.production.js":"868a-5"},"imported":[{"uid":"868a-0"},{"uid":"868a-2"}],"importedBy":[],"isEntry":true}},"env":{"rollup":"2.75.4"},"options":{"gzip":true,"brotli":false,"sourcemap":false}};
2672
+ const data = {"version":2,"tree":{"name":"root","children":[{"name":"index.production.js","children":[{"name":"node_modules/@reach/observe-rect/dist/observe-rect.esm.js","uid":"b7c1-1"},{"name":"packages/virtual-core/src","children":[{"uid":"b7c1-3","name":"utils.ts"},{"uid":"b7c1-5","name":"index.ts"}]}]}],"isRoot":true},"nodeParts":{"b7c1-1":{"renderedLength":1732,"gzipLength":652,"brotliLength":0,"mainUid":"b7c1-0"},"b7c1-3":{"renderedLength":1432,"gzipLength":544,"brotliLength":0,"mainUid":"b7c1-2"},"b7c1-5":{"renderedLength":12236,"gzipLength":2743,"brotliLength":0,"mainUid":"b7c1-4"}},"nodeMetas":{"b7c1-0":{"id":"/node_modules/@reach/observe-rect/dist/observe-rect.esm.js","moduleParts":{"index.production.js":"b7c1-1"},"imported":[],"importedBy":[{"uid":"b7c1-4"}]},"b7c1-2":{"id":"/packages/virtual-core/src/utils.ts","moduleParts":{"index.production.js":"b7c1-3"},"imported":[],"importedBy":[{"uid":"b7c1-4"}]},"b7c1-4":{"id":"/packages/virtual-core/src/index.ts","moduleParts":{"index.production.js":"b7c1-5"},"imported":[{"uid":"b7c1-0"},{"uid":"b7c1-2"}],"importedBy":[],"isEntry":true}},"env":{"rollup":"2.75.4"},"options":{"gzip":true,"brotli":false,"sourcemap":false}};
2673
2673
 
2674
2674
  const run = () => {
2675
2675
  const width = window.innerWidth;
@@ -8,17 +8,17 @@
8
8
  "children": [
9
9
  {
10
10
  "name": "node_modules/@reach/observe-rect/dist/observe-rect.esm.js",
11
- "uid": "868a-7"
11
+ "uid": "b7c1-7"
12
12
  },
13
13
  {
14
14
  "name": "packages/virtual-core/src",
15
15
  "children": [
16
16
  {
17
- "uid": "868a-9",
17
+ "uid": "b7c1-9",
18
18
  "name": "utils.ts"
19
19
  },
20
20
  {
21
- "uid": "868a-11",
21
+ "uid": "b7c1-11",
22
22
  "name": "index.ts"
23
23
  }
24
24
  ]
@@ -29,61 +29,61 @@
29
29
  "isRoot": true
30
30
  },
31
31
  "nodeParts": {
32
- "868a-7": {
32
+ "b7c1-7": {
33
33
  "renderedLength": 1732,
34
34
  "gzipLength": 652,
35
35
  "brotliLength": 0,
36
- "mainUid": "868a-6"
36
+ "mainUid": "b7c1-6"
37
37
  },
38
- "868a-9": {
38
+ "b7c1-9": {
39
39
  "renderedLength": 1432,
40
40
  "gzipLength": 544,
41
41
  "brotliLength": 0,
42
- "mainUid": "868a-8"
42
+ "mainUid": "b7c1-8"
43
43
  },
44
- "868a-11": {
44
+ "b7c1-11": {
45
45
  "renderedLength": 12236,
46
46
  "gzipLength": 2743,
47
47
  "brotliLength": 0,
48
- "mainUid": "868a-10"
48
+ "mainUid": "b7c1-10"
49
49
  }
50
50
  },
51
51
  "nodeMetas": {
52
- "868a-6": {
52
+ "b7c1-6": {
53
53
  "id": "/node_modules/@reach/observe-rect/dist/observe-rect.esm.js",
54
54
  "moduleParts": {
55
- "index.production.js": "868a-7"
55
+ "index.production.js": "b7c1-7"
56
56
  },
57
57
  "imported": [],
58
58
  "importedBy": [
59
59
  {
60
- "uid": "868a-10"
60
+ "uid": "b7c1-10"
61
61
  }
62
62
  ]
63
63
  },
64
- "868a-8": {
64
+ "b7c1-8": {
65
65
  "id": "/packages/virtual-core/src/utils.ts",
66
66
  "moduleParts": {
67
- "index.production.js": "868a-9"
67
+ "index.production.js": "b7c1-9"
68
68
  },
69
69
  "imported": [],
70
70
  "importedBy": [
71
71
  {
72
- "uid": "868a-10"
72
+ "uid": "b7c1-10"
73
73
  }
74
74
  ]
75
75
  },
76
- "868a-10": {
76
+ "b7c1-10": {
77
77
  "id": "/packages/virtual-core/src/index.ts",
78
78
  "moduleParts": {
79
- "index.production.js": "868a-11"
79
+ "index.production.js": "b7c1-11"
80
80
  },
81
81
  "imported": [
82
82
  {
83
- "uid": "868a-6"
83
+ "uid": "b7c1-6"
84
84
  },
85
85
  {
86
- "uid": "868a-8"
86
+ "uid": "b7c1-8"
87
87
  }
88
88
  ],
89
89
  "importedBy": [],
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tanstack/virtual-core",
3
3
  "author": "Tanner Linsley",
4
- "version": "3.0.0-alpha.2",
4
+ "version": "3.0.0-beta.0",
5
5
  "description": "Headless UI for virtualizing scrollable elements in TS/JS + Frameworks",
6
6
  "license": "MIT",
7
7
  "homepage": "https://github.com/tanstack/virtual#readme",