react 19.2.0-canary-ac7820a9-20250811 → 19.2.0-canary-f1222f76-20250812

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.
@@ -150,17 +150,8 @@
150
150
  componentName = this.props.ref;
151
151
  return void 0 !== componentName ? componentName : null;
152
152
  }
153
- function ReactElement(
154
- type,
155
- key,
156
- self,
157
- source,
158
- owner,
159
- props,
160
- debugStack,
161
- debugTask
162
- ) {
163
- self = props.ref;
153
+ function ReactElement(type, key, props, owner, debugStack, debugTask) {
154
+ var refProp = props.ref;
164
155
  type = {
165
156
  $$typeof: REACT_ELEMENT_TYPE,
166
157
  type: type,
@@ -168,7 +159,7 @@
168
159
  props: props,
169
160
  _owner: owner
170
161
  };
171
- null !== (void 0 !== self ? self : null)
162
+ null !== (void 0 !== refProp ? refProp : null)
172
163
  ? Object.defineProperty(type, "ref", {
173
164
  enumerable: !1,
174
165
  get: elementRefGetterWithDeprecationWarning
@@ -207,8 +198,6 @@
207
198
  config,
208
199
  maybeKey,
209
200
  isStaticChildren,
210
- source,
211
- self,
212
201
  debugStack,
213
202
  debugTask
214
203
  ) {
@@ -269,10 +258,8 @@
269
258
  return ReactElement(
270
259
  type,
271
260
  children,
272
- self,
273
- source,
274
- getOwner(),
275
261
  maybeKey,
262
+ getOwner(),
276
263
  debugStack,
277
264
  debugTask
278
265
  );
@@ -322,14 +309,7 @@
322
309
  var unknownOwnerDebugTask = createTask(getTaskName(UnknownOwner));
323
310
  var didWarnAboutKeySpread = {};
324
311
  exports.Fragment = REACT_FRAGMENT_TYPE;
325
- exports.jsxDEV = function (
326
- type,
327
- config,
328
- maybeKey,
329
- isStaticChildren,
330
- source,
331
- self
332
- ) {
312
+ exports.jsxDEV = function (type, config, maybeKey, isStaticChildren) {
333
313
  var trackActualOwner =
334
314
  1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;
335
315
  return jsxDEVImpl(
@@ -337,8 +317,6 @@
337
317
  config,
338
318
  maybeKey,
339
319
  isStaticChildren,
340
- source,
341
- self,
342
320
  trackActualOwner
343
321
  ? Error("react-stack-top-frame")
344
322
  : unknownOwnerDebugStack,
@@ -150,17 +150,8 @@
150
150
  componentName = this.props.ref;
151
151
  return void 0 !== componentName ? componentName : null;
152
152
  }
153
- function ReactElement(
154
- type,
155
- key,
156
- self,
157
- source,
158
- owner,
159
- props,
160
- debugStack,
161
- debugTask
162
- ) {
163
- self = props.ref;
153
+ function ReactElement(type, key, props, owner, debugStack, debugTask) {
154
+ var refProp = props.ref;
164
155
  type = {
165
156
  $$typeof: REACT_ELEMENT_TYPE,
166
157
  type: type,
@@ -168,7 +159,7 @@
168
159
  props: props,
169
160
  _owner: owner
170
161
  };
171
- null !== (void 0 !== self ? self : null)
162
+ null !== (void 0 !== refProp ? refProp : null)
172
163
  ? Object.defineProperty(type, "ref", {
173
164
  enumerable: !1,
174
165
  get: elementRefGetterWithDeprecationWarning
@@ -207,8 +198,6 @@
207
198
  config,
208
199
  maybeKey,
209
200
  isStaticChildren,
210
- source,
211
- self,
212
201
  debugStack,
213
202
  debugTask
214
203
  ) {
@@ -269,10 +258,8 @@
269
258
  return ReactElement(
270
259
  type,
271
260
  children,
272
- self,
273
- source,
274
- getOwner(),
275
261
  maybeKey,
262
+ getOwner(),
276
263
  debugStack,
277
264
  debugTask
278
265
  );
@@ -326,7 +313,7 @@
326
313
  var unknownOwnerDebugTask = createTask(getTaskName(UnknownOwner));
327
314
  var didWarnAboutKeySpread = {};
328
315
  exports.Fragment = REACT_FRAGMENT_TYPE;
329
- exports.jsx = function (type, config, maybeKey, source, self) {
316
+ exports.jsx = function (type, config, maybeKey) {
330
317
  var trackActualOwner =
331
318
  1e4 > ReactSharedInternalsServer.recentlyCreatedOwnerStacks++;
332
319
  return jsxDEVImpl(
@@ -334,22 +321,13 @@
334
321
  config,
335
322
  maybeKey,
336
323
  !1,
337
- source,
338
- self,
339
324
  trackActualOwner
340
325
  ? Error("react-stack-top-frame")
341
326
  : unknownOwnerDebugStack,
342
327
  trackActualOwner ? createTask(getTaskName(type)) : unknownOwnerDebugTask
343
328
  );
344
329
  };
345
- exports.jsxDEV = function (
346
- type,
347
- config,
348
- maybeKey,
349
- isStaticChildren,
350
- source,
351
- self
352
- ) {
330
+ exports.jsxDEV = function (type, config, maybeKey, isStaticChildren) {
353
331
  var trackActualOwner =
354
332
  1e4 > ReactSharedInternalsServer.recentlyCreatedOwnerStacks++;
355
333
  return jsxDEVImpl(
@@ -357,15 +335,13 @@
357
335
  config,
358
336
  maybeKey,
359
337
  isStaticChildren,
360
- source,
361
- self,
362
338
  trackActualOwner
363
339
  ? Error("react-stack-top-frame")
364
340
  : unknownOwnerDebugStack,
365
341
  trackActualOwner ? createTask(getTaskName(type)) : unknownOwnerDebugTask
366
342
  );
367
343
  };
368
- exports.jsxs = function (type, config, maybeKey, source, self) {
344
+ exports.jsxs = function (type, config, maybeKey) {
369
345
  var trackActualOwner =
370
346
  1e4 > ReactSharedInternalsServer.recentlyCreatedOwnerStacks++;
371
347
  return jsxDEVImpl(
@@ -373,8 +349,6 @@
373
349
  config,
374
350
  maybeKey,
375
351
  !0,
376
- source,
377
- self,
378
352
  trackActualOwner
379
353
  ? Error("react-stack-top-frame")
380
354
  : unknownOwnerDebugStack,
@@ -150,17 +150,8 @@
150
150
  componentName = this.props.ref;
151
151
  return void 0 !== componentName ? componentName : null;
152
152
  }
153
- function ReactElement(
154
- type,
155
- key,
156
- self,
157
- source,
158
- owner,
159
- props,
160
- debugStack,
161
- debugTask
162
- ) {
163
- self = props.ref;
153
+ function ReactElement(type, key, props, owner, debugStack, debugTask) {
154
+ var refProp = props.ref;
164
155
  type = {
165
156
  $$typeof: REACT_ELEMENT_TYPE,
166
157
  type: type,
@@ -168,7 +159,7 @@
168
159
  props: props,
169
160
  _owner: owner
170
161
  };
171
- null !== (void 0 !== self ? self : null)
162
+ null !== (void 0 !== refProp ? refProp : null)
172
163
  ? Object.defineProperty(type, "ref", {
173
164
  enumerable: !1,
174
165
  get: elementRefGetterWithDeprecationWarning
@@ -207,8 +198,6 @@
207
198
  config,
208
199
  maybeKey,
209
200
  isStaticChildren,
210
- source,
211
- self,
212
201
  debugStack,
213
202
  debugTask
214
203
  ) {
@@ -269,10 +258,8 @@
269
258
  return ReactElement(
270
259
  type,
271
260
  children,
272
- self,
273
- source,
274
- getOwner(),
275
261
  maybeKey,
262
+ getOwner(),
276
263
  debugStack,
277
264
  debugTask
278
265
  );
@@ -322,7 +309,7 @@
322
309
  var unknownOwnerDebugTask = createTask(getTaskName(UnknownOwner));
323
310
  var didWarnAboutKeySpread = {};
324
311
  exports.Fragment = REACT_FRAGMENT_TYPE;
325
- exports.jsx = function (type, config, maybeKey, source, self) {
312
+ exports.jsx = function (type, config, maybeKey) {
326
313
  var trackActualOwner =
327
314
  1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;
328
315
  return jsxDEVImpl(
@@ -330,15 +317,13 @@
330
317
  config,
331
318
  maybeKey,
332
319
  !1,
333
- source,
334
- self,
335
320
  trackActualOwner
336
321
  ? Error("react-stack-top-frame")
337
322
  : unknownOwnerDebugStack,
338
323
  trackActualOwner ? createTask(getTaskName(type)) : unknownOwnerDebugTask
339
324
  );
340
325
  };
341
- exports.jsxs = function (type, config, maybeKey, source, self) {
326
+ exports.jsxs = function (type, config, maybeKey) {
342
327
  var trackActualOwner =
343
328
  1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;
344
329
  return jsxDEVImpl(
@@ -346,8 +331,6 @@
346
331
  config,
347
332
  maybeKey,
348
333
  !0,
349
- source,
350
- self,
351
334
  trackActualOwner
352
335
  ? Error("react-stack-top-frame")
353
336
  : unknownOwnerDebugStack,
@@ -150,17 +150,8 @@
150
150
  componentName = this.props.ref;
151
151
  return void 0 !== componentName ? componentName : null;
152
152
  }
153
- function ReactElement(
154
- type,
155
- key,
156
- self,
157
- source,
158
- owner,
159
- props,
160
- debugStack,
161
- debugTask
162
- ) {
163
- self = props.ref;
153
+ function ReactElement(type, key, props, owner, debugStack, debugTask) {
154
+ var refProp = props.ref;
164
155
  type = {
165
156
  $$typeof: REACT_ELEMENT_TYPE,
166
157
  type: type,
@@ -168,7 +159,7 @@
168
159
  props: props,
169
160
  _owner: owner
170
161
  };
171
- null !== (void 0 !== self ? self : null)
162
+ null !== (void 0 !== refProp ? refProp : null)
172
163
  ? Object.defineProperty(type, "ref", {
173
164
  enumerable: !1,
174
165
  get: elementRefGetterWithDeprecationWarning
@@ -207,8 +198,6 @@
207
198
  config,
208
199
  maybeKey,
209
200
  isStaticChildren,
210
- source,
211
- self,
212
201
  debugStack,
213
202
  debugTask
214
203
  ) {
@@ -269,10 +258,8 @@
269
258
  return ReactElement(
270
259
  type,
271
260
  children,
272
- self,
273
- source,
274
- getOwner(),
275
261
  maybeKey,
262
+ getOwner(),
276
263
  debugStack,
277
264
  debugTask
278
265
  );
@@ -326,7 +313,7 @@
326
313
  var unknownOwnerDebugTask = createTask(getTaskName(UnknownOwner));
327
314
  var didWarnAboutKeySpread = {};
328
315
  exports.Fragment = REACT_FRAGMENT_TYPE;
329
- exports.jsx = function (type, config, maybeKey, source, self) {
316
+ exports.jsx = function (type, config, maybeKey) {
330
317
  var trackActualOwner =
331
318
  1e4 > ReactSharedInternalsServer.recentlyCreatedOwnerStacks++;
332
319
  return jsxDEVImpl(
@@ -334,22 +321,13 @@
334
321
  config,
335
322
  maybeKey,
336
323
  !1,
337
- source,
338
- self,
339
324
  trackActualOwner
340
325
  ? Error("react-stack-top-frame")
341
326
  : unknownOwnerDebugStack,
342
327
  trackActualOwner ? createTask(getTaskName(type)) : unknownOwnerDebugTask
343
328
  );
344
329
  };
345
- exports.jsxDEV = function (
346
- type,
347
- config,
348
- maybeKey,
349
- isStaticChildren,
350
- source,
351
- self
352
- ) {
330
+ exports.jsxDEV = function (type, config, maybeKey, isStaticChildren) {
353
331
  var trackActualOwner =
354
332
  1e4 > ReactSharedInternalsServer.recentlyCreatedOwnerStacks++;
355
333
  return jsxDEVImpl(
@@ -357,15 +335,13 @@
357
335
  config,
358
336
  maybeKey,
359
337
  isStaticChildren,
360
- source,
361
- self,
362
338
  trackActualOwner
363
339
  ? Error("react-stack-top-frame")
364
340
  : unknownOwnerDebugStack,
365
341
  trackActualOwner ? createTask(getTaskName(type)) : unknownOwnerDebugTask
366
342
  );
367
343
  };
368
- exports.jsxs = function (type, config, maybeKey, source, self) {
344
+ exports.jsxs = function (type, config, maybeKey) {
369
345
  var trackActualOwner =
370
346
  1e4 > ReactSharedInternalsServer.recentlyCreatedOwnerStacks++;
371
347
  return jsxDEVImpl(
@@ -373,8 +349,6 @@
373
349
  config,
374
350
  maybeKey,
375
351
  !0,
376
- source,
377
- self,
378
352
  trackActualOwner
379
353
  ? Error("react-stack-top-frame")
380
354
  : unknownOwnerDebugStack,
@@ -197,17 +197,8 @@
197
197
  componentName = this.props.ref;
198
198
  return void 0 !== componentName ? componentName : null;
199
199
  }
200
- function ReactElement(
201
- type,
202
- key,
203
- self,
204
- source,
205
- owner,
206
- props,
207
- debugStack,
208
- debugTask
209
- ) {
210
- self = props.ref;
200
+ function ReactElement(type, key, props, owner, debugStack, debugTask) {
201
+ var refProp = props.ref;
211
202
  type = {
212
203
  $$typeof: REACT_ELEMENT_TYPE,
213
204
  type: type,
@@ -215,7 +206,7 @@
215
206
  props: props,
216
207
  _owner: owner
217
208
  };
218
- null !== (void 0 !== self ? self : null)
209
+ null !== (void 0 !== refProp ? refProp : null)
219
210
  ? Object.defineProperty(type, "ref", {
220
211
  enumerable: !1,
221
212
  get: elementRefGetterWithDeprecationWarning
@@ -253,10 +244,8 @@
253
244
  newKey = ReactElement(
254
245
  oldElement.type,
255
246
  newKey,
256
- void 0,
257
- void 0,
258
- oldElement._owner,
259
247
  oldElement.props,
248
+ oldElement._owner,
260
249
  oldElement._debugStack,
261
250
  oldElement._debugTask
262
251
  );
@@ -972,10 +961,8 @@
972
961
  props = ReactElement(
973
962
  element.type,
974
963
  key,
975
- void 0,
976
- void 0,
977
- owner,
978
964
  props,
965
+ owner,
979
966
  element._debugStack,
980
967
  element._debugTask
981
968
  );
@@ -1051,10 +1038,8 @@
1051
1038
  return ReactElement(
1052
1039
  type,
1053
1040
  node,
1054
- void 0,
1055
- void 0,
1056
- getOwner(),
1057
1041
  i,
1042
+ getOwner(),
1058
1043
  propName ? Error("react-stack-top-frame") : unknownOwnerDebugStack,
1059
1044
  propName ? createTask(getTaskName(type)) : unknownOwnerDebugTask
1060
1045
  );
@@ -1278,7 +1263,7 @@
1278
1263
  exports.useTransition = function () {
1279
1264
  return resolveDispatcher().useTransition();
1280
1265
  };
1281
- exports.version = "19.2.0-canary-ac7820a9-20250811";
1266
+ exports.version = "19.2.0-canary-f1222f76-20250812";
1282
1267
  "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
1283
1268
  "function" ===
1284
1269
  typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
@@ -75,25 +75,18 @@ var isArrayImpl = Array.isArray;
75
75
  function noop() {}
76
76
  var ReactSharedInternals = { H: null, A: null, T: null, S: null },
77
77
  hasOwnProperty = Object.prototype.hasOwnProperty;
78
- function ReactElement(type, key, self, source, owner, props) {
79
- self = props.ref;
78
+ function ReactElement(type, key, props) {
79
+ var refProp = props.ref;
80
80
  return {
81
81
  $$typeof: REACT_ELEMENT_TYPE,
82
82
  type: type,
83
83
  key: key,
84
- ref: void 0 !== self ? self : null,
84
+ ref: void 0 !== refProp ? refProp : null,
85
85
  props: props
86
86
  };
87
87
  }
88
88
  function cloneAndReplaceKey(oldElement, newKey) {
89
- return ReactElement(
90
- oldElement.type,
91
- newKey,
92
- void 0,
93
- void 0,
94
- void 0,
95
- oldElement.props
96
- );
89
+ return ReactElement(oldElement.type, newKey, oldElement.props);
97
90
  }
98
91
  function isValidElement(object) {
99
92
  return (
@@ -376,12 +369,9 @@ exports.cloneElement = function (element, config, children) {
376
369
  "The argument must be a React element, but you passed " + element + "."
377
370
  );
378
371
  var props = assign({}, element.props),
379
- key = element.key,
380
- owner = void 0;
372
+ key = element.key;
381
373
  if (null != config)
382
- for (propName in (void 0 !== config.ref && (owner = void 0),
383
- void 0 !== config.key && (key = "" + config.key),
384
- config))
374
+ for (propName in (void 0 !== config.key && (key = "" + config.key), config))
385
375
  !hasOwnProperty.call(config, propName) ||
386
376
  "key" === propName ||
387
377
  "__self" === propName ||
@@ -395,7 +385,7 @@ exports.cloneElement = function (element, config, children) {
395
385
  childArray[i] = arguments[i + 2];
396
386
  props.children = childArray;
397
387
  }
398
- return ReactElement(element.type, key, void 0, void 0, owner, props);
388
+ return ReactElement(element.type, key, props);
399
389
  };
400
390
  exports.createContext = function (defaultValue) {
401
391
  defaultValue = {
@@ -435,7 +425,7 @@ exports.createElement = function (type, config, children) {
435
425
  for (propName in ((childrenLength = type.defaultProps), childrenLength))
436
426
  void 0 === props[propName] &&
437
427
  (props[propName] = childrenLength[propName]);
438
- return ReactElement(type, key, void 0, void 0, null, props);
428
+ return ReactElement(type, key, props);
439
429
  };
440
430
  exports.createRef = function () {
441
431
  return { current: null };
@@ -543,4 +533,4 @@ exports.useSyncExternalStore = function (
543
533
  exports.useTransition = function () {
544
534
  return ReactSharedInternals.H.useTransition();
545
535
  };
546
- exports.version = "19.2.0-canary-ac7820a9-20250811";
536
+ exports.version = "19.2.0-canary-f1222f76-20250812";
@@ -159,17 +159,8 @@
159
159
  componentName = this.props.ref;
160
160
  return void 0 !== componentName ? componentName : null;
161
161
  }
162
- function ReactElement(
163
- type,
164
- key,
165
- self,
166
- source,
167
- owner,
168
- props,
169
- debugStack,
170
- debugTask
171
- ) {
172
- self = props.ref;
162
+ function ReactElement(type, key, props, owner, debugStack, debugTask) {
163
+ var refProp = props.ref;
173
164
  type = {
174
165
  $$typeof: REACT_ELEMENT_TYPE,
175
166
  type: type,
@@ -177,7 +168,7 @@
177
168
  props: props,
178
169
  _owner: owner
179
170
  };
180
- null !== (void 0 !== self ? self : null)
171
+ null !== (void 0 !== refProp ? refProp : null)
181
172
  ? Object.defineProperty(type, "ref", {
182
173
  enumerable: !1,
183
174
  get: elementRefGetterWithDeprecationWarning
@@ -215,10 +206,8 @@
215
206
  newKey = ReactElement(
216
207
  oldElement.type,
217
208
  newKey,
218
- void 0,
219
- void 0,
220
- oldElement._owner,
221
209
  oldElement.props,
210
+ oldElement._owner,
222
211
  oldElement._debugStack,
223
212
  oldElement._debugTask
224
213
  );
@@ -671,10 +660,8 @@
671
660
  props = ReactElement(
672
661
  element.type,
673
662
  key,
674
- void 0,
675
- void 0,
676
- owner,
677
663
  props,
664
+ owner,
678
665
  element._debugStack,
679
666
  element._debugTask
680
667
  );
@@ -732,10 +719,8 @@
732
719
  return ReactElement(
733
720
  type,
734
721
  node,
735
- void 0,
736
- void 0,
737
- getOwner(),
738
722
  i,
723
+ getOwner(),
739
724
  propName ? Error("react-stack-top-frame") : unknownOwnerDebugStack,
740
725
  propName ? createTask(getTaskName(type)) : unknownOwnerDebugTask
741
726
  );
@@ -850,5 +835,5 @@
850
835
  exports.useMemo = function (create, deps) {
851
836
  return resolveDispatcher().useMemo(create, deps);
852
837
  };
853
- exports.version = "19.2.0-canary-ac7820a9-20250811";
838
+ exports.version = "19.2.0-canary-f1222f76-20250812";
854
839
  })();
@@ -46,25 +46,18 @@ function getIteratorFn(maybeIterable) {
46
46
  }
47
47
  var hasOwnProperty = Object.prototype.hasOwnProperty,
48
48
  assign = Object.assign;
49
- function ReactElement(type, key, self, source, owner, props) {
50
- self = props.ref;
49
+ function ReactElement(type, key, props) {
50
+ var refProp = props.ref;
51
51
  return {
52
52
  $$typeof: REACT_ELEMENT_TYPE,
53
53
  type: type,
54
54
  key: key,
55
- ref: void 0 !== self ? self : null,
55
+ ref: void 0 !== refProp ? refProp : null,
56
56
  props: props
57
57
  };
58
58
  }
59
59
  function cloneAndReplaceKey(oldElement, newKey) {
60
- return ReactElement(
61
- oldElement.type,
62
- newKey,
63
- void 0,
64
- void 0,
65
- void 0,
66
- oldElement.props
67
- );
60
+ return ReactElement(oldElement.type, newKey, oldElement.props);
68
61
  }
69
62
  function isValidElement(object) {
70
63
  return (
@@ -351,12 +344,9 @@ exports.cloneElement = function (element, config, children) {
351
344
  if (null === element || void 0 === element)
352
345
  throw Error(formatProdErrorMessage(267, element));
353
346
  var props = assign({}, element.props),
354
- key = element.key,
355
- owner = void 0;
347
+ key = element.key;
356
348
  if (null != config)
357
- for (propName in (void 0 !== config.ref && (owner = void 0),
358
- void 0 !== config.key && (key = "" + config.key),
359
- config))
349
+ for (propName in (void 0 !== config.key && (key = "" + config.key), config))
360
350
  !hasOwnProperty.call(config, propName) ||
361
351
  "key" === propName ||
362
352
  "__self" === propName ||
@@ -370,7 +360,7 @@ exports.cloneElement = function (element, config, children) {
370
360
  childArray[i] = arguments[i + 2];
371
361
  props.children = childArray;
372
362
  }
373
- return ReactElement(element.type, key, void 0, void 0, owner, props);
363
+ return ReactElement(element.type, key, props);
374
364
  };
375
365
  exports.createElement = function (type, config, children) {
376
366
  var propName,
@@ -394,7 +384,7 @@ exports.createElement = function (type, config, children) {
394
384
  for (propName in ((childrenLength = type.defaultProps), childrenLength))
395
385
  void 0 === props[propName] &&
396
386
  (props[propName] = childrenLength[propName]);
397
- return ReactElement(type, key, void 0, void 0, null, props);
387
+ return ReactElement(type, key, props);
398
388
  };
399
389
  exports.createRef = function () {
400
390
  return { current: null };
@@ -430,4 +420,4 @@ exports.useId = function () {
430
420
  exports.useMemo = function (create, deps) {
431
421
  return ReactSharedInternals.H.useMemo(create, deps);
432
422
  };
433
- exports.version = "19.2.0-canary-ac7820a9-20250811";
423
+ exports.version = "19.2.0-canary-f1222f76-20250812";
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "keywords": [
5
5
  "react"
6
6
  ],
7
- "version": "19.2.0-canary-ac7820a9-20250811",
7
+ "version": "19.2.0-canary-f1222f76-20250812",
8
8
  "homepage": "https://react.dev/",
9
9
  "bugs": "https://github.com/facebook/react/issues",
10
10
  "license": "MIT",