@react-fabric/data 1.0.0-beta.31 → 1.0.0-beta.32

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.
@@ -171,11 +171,14 @@ var JsonEntry = function JsonEntry(_ref3) {
171
171
  icon: expanded ? core.CoreIcons.chevronDown : core.CoreIcons.chevronRight
172
172
  }), labelDisplay]
173
173
  }), display && /*#__PURE__*/jsxRuntime.jsxs("div", {
174
- className: classNames("px-2", inline && "flex-1"),
174
+ className: classNames("px-2 flex flex-nowrap overflow-hidden", inline && "flex-1"),
175
175
  children: [canCopy && /*#__PURE__*/jsxRuntime.jsx(core.Copy, {
176
176
  size: "xs",
177
177
  text: actualValue
178
- }), display]
178
+ }), /*#__PURE__*/jsxRuntime.jsx("div", {
179
+ className: "flex-1",
180
+ children: display
181
+ })]
179
182
  })]
180
183
  }), !showPropertyTree && !children && /*#__PURE__*/jsxRuntime.jsxs("div", {
181
184
  className: classNames("py-2", inline && "flex flex-nowrap items-center"),
@@ -187,11 +190,14 @@ var JsonEntry = function JsonEntry(_ref3) {
187
190
  },
188
191
  children: labelDisplay
189
192
  }), /*#__PURE__*/jsxRuntime.jsxs("div", {
190
- className: classNames("px-2", inline && "flex-1"),
193
+ className: classNames("px-2 flex flex-nowrap overflow-hidden", inline && "flex-1"),
191
194
  children: [canCopy && /*#__PURE__*/jsxRuntime.jsx(core.Copy, {
192
195
  size: "xs",
193
196
  text: value
194
- }), display]
197
+ }), /*#__PURE__*/jsxRuntime.jsx("div", {
198
+ className: "flex-1",
199
+ children: display
200
+ })]
195
201
  })]
196
202
  }), expanded && (children === null || children === void 0 ? void 0 : children.map(function (item) {
197
203
  return /*#__PURE__*/jsxRuntime.jsx(JsonEntry, _objectSpread(_objectSpread({}, item), {}, {
@@ -171,11 +171,14 @@ var JsonEntry = function JsonEntry(_ref3) {
171
171
  icon: expanded ? CoreIcons.chevronDown : CoreIcons.chevronRight
172
172
  }), labelDisplay]
173
173
  }), display && /*#__PURE__*/jsxs("div", {
174
- className: classNames("px-2", inline && "flex-1"),
174
+ className: classNames("px-2 flex flex-nowrap overflow-hidden", inline && "flex-1"),
175
175
  children: [canCopy && /*#__PURE__*/jsx(Copy, {
176
176
  size: "xs",
177
177
  text: actualValue
178
- }), display]
178
+ }), /*#__PURE__*/jsx("div", {
179
+ className: "flex-1",
180
+ children: display
181
+ })]
179
182
  })]
180
183
  }), !showPropertyTree && !children && /*#__PURE__*/jsxs("div", {
181
184
  className: classNames("py-2", inline && "flex flex-nowrap items-center"),
@@ -187,11 +190,14 @@ var JsonEntry = function JsonEntry(_ref3) {
187
190
  },
188
191
  children: labelDisplay
189
192
  }), /*#__PURE__*/jsxs("div", {
190
- className: classNames("px-2", inline && "flex-1"),
193
+ className: classNames("px-2 flex flex-nowrap overflow-hidden", inline && "flex-1"),
191
194
  children: [canCopy && /*#__PURE__*/jsx(Copy, {
192
195
  size: "xs",
193
196
  text: value
194
- }), display]
197
+ }), /*#__PURE__*/jsx("div", {
198
+ className: "flex-1",
199
+ children: display
200
+ })]
195
201
  })]
196
202
  }), expanded && (children === null || children === void 0 ? void 0 : children.map(function (item) {
197
203
  return /*#__PURE__*/jsx(JsonEntry, _objectSpread(_objectSpread({}, item), {}, {
@@ -51,7 +51,7 @@ export interface VirtualGalleryProps<T> extends TestProps {
51
51
  /**
52
52
  * load more callback
53
53
  */
54
- onLoadMore?: () => void;
54
+ onLoadMore?: (page?: number) => void;
55
55
  /**
56
56
  * scroll handler
57
57
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@react-fabric/data",
3
- "version": "1.0.0-beta.31",
3
+ "version": "1.0.0-beta.32",
4
4
  "description": "RUF: Data package",
5
5
  "author": "Adarsh Pastakia <adarshpastakia@outlook.com>",
6
6
  "license": "MIT",
@@ -33,10 +33,10 @@
33
33
  "watch": "npm-run-all -p watch:rollup watch:dts"
34
34
  },
35
35
  "dependencies": {
36
- "@react-fabric/core": "^1.0.0-beta.31",
37
- "@react-fabric/date": "^1.0.0-beta.31",
38
- "@react-fabric/form": "^1.0.0-beta.31",
39
- "@react-fabric/utilities": "^1.0.0-beta.31",
36
+ "@react-fabric/core": "^1.0.0-beta.32",
37
+ "@react-fabric/date": "^1.0.0-beta.32",
38
+ "@react-fabric/form": "^1.0.0-beta.32",
39
+ "@react-fabric/utilities": "^1.0.0-beta.32",
40
40
  "@tanstack/react-virtual": "^3.8.6",
41
41
  "classnames": "^2.5.1",
42
42
  "color": "^4.2.3",
@@ -52,5 +52,5 @@
52
52
  "node": ">=18.12.0",
53
53
  "npm": ">=8.19.0"
54
54
  },
55
- "gitHead": "de71c6875264d385666d0fa441785b9884951561"
55
+ "gitHead": "e8ba7088116f5ae253ed989854d6fdaef2ad7507"
56
56
  }
@@ -283,9 +283,14 @@ const JsonEntry = ({
283
283
  {labelDisplay}
284
284
  </div>
285
285
  {display && (
286
- <div className={classNames("px-2", inline && "flex-1")}>
286
+ <div
287
+ className={classNames(
288
+ "px-2 flex flex-nowrap overflow-hidden",
289
+ inline && "flex-1",
290
+ )}
291
+ >
287
292
  {canCopy && <Copy size="xs" text={actualValue} />}
288
- {display}
293
+ <div className="flex-1">{display}</div>
289
294
  </div>
290
295
  )}
291
296
  </div>
@@ -309,9 +314,14 @@ const JsonEntry = ({
309
314
  >
310
315
  {labelDisplay}
311
316
  </div>
312
- <div className={classNames("px-2", inline && "flex-1")}>
317
+ <div
318
+ className={classNames(
319
+ "px-2 flex flex-nowrap overflow-hidden",
320
+ inline && "flex-1",
321
+ )}
322
+ >
313
323
  {canCopy && <Copy size="xs" text={value} />}
314
- {display}
324
+ <div className="flex-1">{display}</div>
315
325
  </div>
316
326
  </div>
317
327
  )}
@@ -94,7 +94,7 @@ export interface VirtualGalleryProps<T> extends TestProps {
94
94
  /**
95
95
  * load more callback
96
96
  */
97
- onLoadMore?: () => void;
97
+ onLoadMore?: (page?: number) => void;
98
98
  /**
99
99
  * scroll handler
100
100
  */