react 0.0.0-experimental-a77dd13ed → 0.0.0-experimental-b4f119cdf
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/cjs/react-jsx-dev-runtime.development.js +4 -2
- package/cjs/react-jsx-runtime.development.js +4 -2
- package/cjs/react-jsx-runtime.production.min.js +2 -2
- package/cjs/react-jsx-runtime.profiling.min.js +2 -2
- package/cjs/react-unstable-shared-subset.development.js +3 -2
- package/cjs/react-unstable-shared-subset.production.min.js +5 -5
- package/cjs/react.development.js +3 -2
- package/cjs/react.production.min.js +5 -5
- package/package.json +1 -1
- package/umd/react.development.js +3 -2
- package/umd/react.production.min.js +2 -2
- package/umd/react.profiling.min.js +2 -2
|
@@ -568,6 +568,8 @@ function describeUnknownElementTypeFrameInDEV(type, source, ownerFn) {
|
|
|
568
568
|
return '';
|
|
569
569
|
}
|
|
570
570
|
|
|
571
|
+
var hasOwnProperty = Object.prototype.hasOwnProperty;
|
|
572
|
+
|
|
571
573
|
var loggedTypeFailures = {};
|
|
572
574
|
var ReactDebugCurrentFrame = ReactSharedInternals.ReactDebugCurrentFrame;
|
|
573
575
|
|
|
@@ -586,7 +588,7 @@ function setCurrentlyValidatingElement(element) {
|
|
|
586
588
|
function checkPropTypes(typeSpecs, values, location, componentName, element) {
|
|
587
589
|
{
|
|
588
590
|
// $FlowFixMe This is okay but Flow doesn't know it.
|
|
589
|
-
var has = Function.call.bind(
|
|
591
|
+
var has = Function.call.bind(hasOwnProperty);
|
|
590
592
|
|
|
591
593
|
for (var typeSpecName in typeSpecs) {
|
|
592
594
|
if (has(typeSpecs, typeSpecName)) {
|
|
@@ -632,7 +634,6 @@ function checkPropTypes(typeSpecs, values, location, componentName, element) {
|
|
|
632
634
|
}
|
|
633
635
|
|
|
634
636
|
var ReactCurrentOwner = ReactSharedInternals.ReactCurrentOwner;
|
|
635
|
-
var hasOwnProperty = Object.prototype.hasOwnProperty;
|
|
636
637
|
var RESERVED_PROPS = {
|
|
637
638
|
key: true,
|
|
638
639
|
ref: true,
|
|
@@ -894,6 +895,7 @@ var propTypesMisspellWarningShown;
|
|
|
894
895
|
* @final
|
|
895
896
|
*/
|
|
896
897
|
|
|
898
|
+
|
|
897
899
|
function isValidElement(object) {
|
|
898
900
|
{
|
|
899
901
|
return typeof object === 'object' && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;
|
|
@@ -568,6 +568,8 @@ function describeUnknownElementTypeFrameInDEV(type, source, ownerFn) {
|
|
|
568
568
|
return '';
|
|
569
569
|
}
|
|
570
570
|
|
|
571
|
+
var hasOwnProperty = Object.prototype.hasOwnProperty;
|
|
572
|
+
|
|
571
573
|
var loggedTypeFailures = {};
|
|
572
574
|
var ReactDebugCurrentFrame = ReactSharedInternals.ReactDebugCurrentFrame;
|
|
573
575
|
|
|
@@ -586,7 +588,7 @@ function setCurrentlyValidatingElement(element) {
|
|
|
586
588
|
function checkPropTypes(typeSpecs, values, location, componentName, element) {
|
|
587
589
|
{
|
|
588
590
|
// $FlowFixMe This is okay but Flow doesn't know it.
|
|
589
|
-
var has = Function.call.bind(
|
|
591
|
+
var has = Function.call.bind(hasOwnProperty);
|
|
590
592
|
|
|
591
593
|
for (var typeSpecName in typeSpecs) {
|
|
592
594
|
if (has(typeSpecs, typeSpecName)) {
|
|
@@ -632,7 +634,6 @@ function checkPropTypes(typeSpecs, values, location, componentName, element) {
|
|
|
632
634
|
}
|
|
633
635
|
|
|
634
636
|
var ReactCurrentOwner = ReactSharedInternals.ReactCurrentOwner;
|
|
635
|
-
var hasOwnProperty = Object.prototype.hasOwnProperty;
|
|
636
637
|
var RESERVED_PROPS = {
|
|
637
638
|
key: true,
|
|
638
639
|
ref: true,
|
|
@@ -894,6 +895,7 @@ var propTypesMisspellWarningShown;
|
|
|
894
895
|
* @final
|
|
895
896
|
*/
|
|
896
897
|
|
|
898
|
+
|
|
897
899
|
function isValidElement(object) {
|
|
898
900
|
{
|
|
899
901
|
return typeof object === 'object' && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;
|
|
@@ -6,5 +6,5 @@
|
|
|
6
6
|
* This source code is licensed under the MIT license found in the
|
|
7
7
|
* LICENSE file in the root directory of this source tree.
|
|
8
8
|
*/
|
|
9
|
-
'use strict';require("object-assign");var f=require("react"),g=60103;exports.Fragment=60107;if("function"===typeof Symbol&&Symbol.for){var h=Symbol.for;g=h("react.element");exports.Fragment=h("react.fragment")}var m=
|
|
10
|
-
function q(c,a,k){var b,d={},e=null,l=null;void 0!==k&&(e=""+k);void 0!==a.key&&(e=""+a.key);void 0!==a.ref&&(l=a.ref);for(b in a)
|
|
9
|
+
'use strict';require("object-assign");var f=require("react"),g=60103;exports.Fragment=60107;if("function"===typeof Symbol&&Symbol.for){var h=Symbol.for;g=h("react.element");exports.Fragment=h("react.fragment")}var m=Object.prototype.hasOwnProperty,n=f.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,p={key:!0,ref:!0,__self:!0,__source:!0};
|
|
10
|
+
function q(c,a,k){var b,d={},e=null,l=null;void 0!==k&&(e=""+k);void 0!==a.key&&(e=""+a.key);void 0!==a.ref&&(l=a.ref);for(b in a)m.call(a,b)&&!p.hasOwnProperty(b)&&(d[b]=a[b]);if(c&&c.defaultProps)for(b in a=c.defaultProps,a)void 0===d[b]&&(d[b]=a[b]);return{$$typeof:g,type:c,key:e,ref:l,props:d,_owner:n.current}}exports.jsx=q;exports.jsxs=q;
|
|
@@ -6,5 +6,5 @@
|
|
|
6
6
|
* This source code is licensed under the MIT license found in the
|
|
7
7
|
* LICENSE file in the root directory of this source tree.
|
|
8
8
|
*/
|
|
9
|
-
'use strict';require("object-assign");var f=require("react"),g=60103;exports.Fragment=60107;if("function"===typeof Symbol&&Symbol.for){var h=Symbol.for;g=h("react.element");exports.Fragment=h("react.fragment")}var m=
|
|
10
|
-
function q(c,a,k){var b,d={},e=null,l=null;void 0!==k&&(e=""+k);void 0!==a.key&&(e=""+a.key);void 0!==a.ref&&(l=a.ref);for(b in a)
|
|
9
|
+
'use strict';require("object-assign");var f=require("react"),g=60103;exports.Fragment=60107;if("function"===typeof Symbol&&Symbol.for){var h=Symbol.for;g=h("react.element");exports.Fragment=h("react.fragment")}var m=Object.prototype.hasOwnProperty,n=f.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,p={key:!0,ref:!0,__self:!0,__source:!0};
|
|
10
|
+
function q(c,a,k){var b,d={},e=null,l=null;void 0!==k&&(e=""+k);void 0!==a.key&&(e=""+a.key);void 0!==a.ref&&(l=a.ref);for(b in a)m.call(a,b)&&!p.hasOwnProperty(b)&&(d[b]=a[b]);if(c&&c.defaultProps)for(b in a=c.defaultProps,a)void 0===d[b]&&(d[b]=a[b]);return{$$typeof:g,type:c,key:e,ref:l,props:d,_owner:n.current}}exports.jsx=q;exports.jsxs=q;
|
|
@@ -15,7 +15,7 @@ if (process.env.NODE_ENV !== "production") {
|
|
|
15
15
|
|
|
16
16
|
var _assign = require('object-assign');
|
|
17
17
|
|
|
18
|
-
var ReactVersion = '17.0.
|
|
18
|
+
var ReactVersion = '17.0.3-experimental-b4f119cdf';
|
|
19
19
|
|
|
20
20
|
// ATTENTION
|
|
21
21
|
// When adding new symbols to this file,
|
|
@@ -532,6 +532,7 @@ function getComponentNameFromType(type) {
|
|
|
532
532
|
}
|
|
533
533
|
|
|
534
534
|
var hasOwnProperty = Object.prototype.hasOwnProperty;
|
|
535
|
+
|
|
535
536
|
var RESERVED_PROPS = {
|
|
536
537
|
key: true,
|
|
537
538
|
ref: true,
|
|
@@ -1771,7 +1772,7 @@ function setCurrentlyValidatingElement(element) {
|
|
|
1771
1772
|
function checkPropTypes(typeSpecs, values, location, componentName, element) {
|
|
1772
1773
|
{
|
|
1773
1774
|
// $FlowFixMe This is okay but Flow doesn't know it.
|
|
1774
|
-
var has = Function.call.bind(
|
|
1775
|
+
var has = Function.call.bind(hasOwnProperty);
|
|
1775
1776
|
|
|
1776
1777
|
for (var typeSpecName in typeSpecs) {
|
|
1777
1778
|
if (has(typeSpecs, typeSpecName)) {
|
|
@@ -10,14 +10,14 @@
|
|
|
10
10
|
if("function"===typeof Symbol&&Symbol.for){var u=Symbol.for;n=u("react.element");p=u("react.portal");exports.Fragment=u("react.fragment");exports.StrictMode=u("react.strict_mode");exports.Profiler=u("react.profiler");q=u("react.forward_ref");exports.Suspense=u("react.suspense");exports.unstable_SuspenseList=u("react.suspense_list");r=u("react.memo");t=u("react.lazy");exports.unstable_DebugTracingMode=u("react.debug_trace_mode")}var v="function"===typeof Symbol&&Symbol.iterator;
|
|
11
11
|
function w(a){if(null===a||"object"!==typeof a)return null;a=v&&a[v]||a["@@iterator"];return"function"===typeof a?a:null}function x(a){for(var b="https://reactjs.org/docs/error-decoder.html?invariant="+a,e=1;e<arguments.length;e++)b+="&args[]="+encodeURIComponent(arguments[e]);return"Minified React error #"+a+"; visit "+b+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}
|
|
12
12
|
var y={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},z={};function A(a,b,e){this.props=a;this.context=b;this.refs=z;this.updater=e||y}A.prototype.isReactComponent={};A.prototype.setState=function(a,b){if("object"!==typeof a&&"function"!==typeof a&&null!=a)throw Error(x(85));this.updater.enqueueSetState(this,a,b,"setState")};A.prototype.forceUpdate=function(a){this.updater.enqueueForceUpdate(this,a,"forceUpdate")};
|
|
13
|
-
function B(){}B.prototype=A.prototype;function C(a,b,e){this.props=a;this.context=b;this.refs=z;this.updater=e||y}var D=C.prototype=new B;D.constructor=C;l(D,A.prototype);D.isPureReactComponent=!0;var E={current:null},
|
|
13
|
+
function B(){}B.prototype=A.prototype;function C(a,b,e){this.props=a;this.context=b;this.refs=z;this.updater=e||y}var D=C.prototype=new B;D.constructor=C;l(D,A.prototype);D.isPureReactComponent=!0;var E=Object.prototype.hasOwnProperty,F={current:null},G={key:!0,ref:!0,__self:!0,__source:!0};function H(a,b){return{$$typeof:n,type:a.type,key:b,ref:a.ref,props:a.props,_owner:a._owner}}function I(a){return"object"===typeof a&&null!==a&&a.$$typeof===n}
|
|
14
14
|
function escape(a){var b={"=":"=0",":":"=2"};return"$"+a.replace(/[=:]/g,function(a){return b[a]})}var J=/\/+/g;function K(a,b){return"object"===typeof a&&null!==a&&null!=a.key?escape(""+a.key):b.toString(36)}
|
|
15
15
|
function L(a,b,e,d,c){var k=typeof a;if("undefined"===k||"boolean"===k)a=null;var h=!1;if(null===a)h=!0;else switch(k){case "string":case "number":h=!0;break;case "object":switch(a.$$typeof){case n:case p:h=!0}}if(h)return h=a,c=c(h),a=""===d?"."+K(h,0):d,Array.isArray(c)?(e="",null!=a&&(e=a.replace(J,"$&/")+"/"),L(c,b,e,"",function(a){return a})):null!=c&&(I(c)&&(c=H(c,e+(!c.key||h&&h.key===c.key?"":(""+c.key).replace(J,"$&/")+"/")+a)),b.push(c)),1;h=0;d=""===d?".":d+":";if(Array.isArray(a))for(var g=
|
|
16
16
|
0;g<a.length;g++){k=a[g];var f=d+K(k,g);h+=L(k,b,e,f,c)}else if(f=w(a),"function"===typeof f)for(a=f.call(a),g=0;!(k=a.next()).done;)k=k.value,f=d+K(k,g++),h+=L(k,b,e,f,c);else if("object"===k)throw b=""+a,Error(x(31,"[object Object]"===b?"object with keys {"+Object.keys(a).join(", ")+"}":b));return h}function M(a,b,e){if(null==a)return a;var d=[],c=0;L(a,d,"","",function(a){return b.call(e,a,c++)});return d}
|
|
17
|
-
function N(a){if(-1===a._status){var b=a._result;b=b();a._status=0;a._result=b;b.then(function(b){0===a._status&&(b=b.default,a._status=1,a._result=b)},function(b){0===a._status&&(a._status=2,a._result=b)})}if(1===a._status)return a._result;throw a._result;}var O={current:null},P={ReactCurrentDispatcher:O,ReactCurrentBatchConfig:{transition:0},ReactCurrentOwner:
|
|
17
|
+
function N(a){if(-1===a._status){var b=a._result;b=b();a._status=0;a._result=b;b.then(function(b){0===a._status&&(b=b.default,a._status=1,a._result=b)},function(b){0===a._status&&(a._status=2,a._result=b)})}if(1===a._status)return a._result;throw a._result;}var O={current:null},P={ReactCurrentDispatcher:O,ReactCurrentBatchConfig:{transition:0},ReactCurrentOwner:F,IsSomeRendererActing:{current:!1},assign:l};
|
|
18
18
|
exports.Children={map:M,forEach:function(a,b,e){M(a,function(){b.apply(this,arguments)},e)},count:function(a){var b=0;M(a,function(){b++});return b},toArray:function(a){return M(a,function(a){return a})||[]},only:function(a){if(!I(a))throw Error(x(143));return a}};exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=P;
|
|
19
|
-
exports.cloneElement=function(a,b,e){if(null===a||void 0===a)throw Error(x(267,a));var d=l({},a.props),c=a.key,k=a.ref,h=a._owner;if(null!=b){void 0!==b.ref&&(k=b.ref,h=
|
|
20
|
-
key:c,ref:k,props:d,_owner:h}};exports.createElement=function(a,b,e){var d,c={},k=null,h=null;if(null!=b)for(d in void 0!==b.ref&&(h=b.ref),void 0!==b.key&&(k=""+b.key),b)
|
|
19
|
+
exports.cloneElement=function(a,b,e){if(null===a||void 0===a)throw Error(x(267,a));var d=l({},a.props),c=a.key,k=a.ref,h=a._owner;if(null!=b){void 0!==b.ref&&(k=b.ref,h=F.current);void 0!==b.key&&(c=""+b.key);if(a.type&&a.type.defaultProps)var g=a.type.defaultProps;for(f in b)E.call(b,f)&&!G.hasOwnProperty(f)&&(d[f]=void 0===b[f]&&void 0!==g?g[f]:b[f])}var f=arguments.length-2;if(1===f)d.children=e;else if(1<f){g=Array(f);for(var m=0;m<f;m++)g[m]=arguments[m+2];d.children=g}return{$$typeof:n,type:a.type,
|
|
20
|
+
key:c,ref:k,props:d,_owner:h}};exports.createElement=function(a,b,e){var d,c={},k=null,h=null;if(null!=b)for(d in void 0!==b.ref&&(h=b.ref),void 0!==b.key&&(k=""+b.key),b)E.call(b,d)&&!G.hasOwnProperty(d)&&(c[d]=b[d]);var g=arguments.length-2;if(1===g)c.children=e;else if(1<g){for(var f=Array(g),m=0;m<g;m++)f[m]=arguments[m+2];c.children=f}if(a&&a.defaultProps)for(d in g=a.defaultProps,g)void 0===c[d]&&(c[d]=g[d]);return{$$typeof:n,type:a,key:k,ref:h,props:c,_owner:F.current}};exports.createRef=function(){return{current:null}};
|
|
21
21
|
exports.forwardRef=function(a){return{$$typeof:q,render:a}};exports.isValidElement=I;exports.lazy=function(a){return{$$typeof:t,_payload:{_status:-1,_result:a},_init:N}};exports.memo=function(a,b){return{$$typeof:r,type:a,compare:void 0===b?null:b}};exports.unstable_createMutableSource=function(a,b){return{_getVersion:b,_source:a,_workInProgressVersionPrimary:null,_workInProgressVersionSecondary:null}};exports.unstable_getCacheForType=function(a){return O.current.getCacheForType(a)};
|
|
22
22
|
exports.unstable_useDeferredValue=function(a){return O.current.useDeferredValue(a)};exports.unstable_useMutableSource=function(a,b,e){return O.current.useMutableSource(a,b,e)};exports.unstable_useOpaqueIdentifier=function(){return O.current.useOpaqueIdentifier()};exports.useCallback=function(a,b){return O.current.useCallback(a,b)};exports.useContext=function(a){return O.current.useContext(a)};exports.useDebugValue=function(){};exports.useMemo=function(a,b){return O.current.useMemo(a,b)};
|
|
23
|
-
exports.version="17.0.
|
|
23
|
+
exports.version="17.0.3-experimental-b4f119cdf";
|
package/cjs/react.development.js
CHANGED
|
@@ -15,7 +15,7 @@ if (process.env.NODE_ENV !== "production") {
|
|
|
15
15
|
|
|
16
16
|
var _assign = require('object-assign');
|
|
17
17
|
|
|
18
|
-
var ReactVersion = '17.0.
|
|
18
|
+
var ReactVersion = '17.0.3-experimental-b4f119cdf';
|
|
19
19
|
|
|
20
20
|
// ATTENTION
|
|
21
21
|
// When adding new symbols to this file,
|
|
@@ -532,6 +532,7 @@ function getComponentNameFromType(type) {
|
|
|
532
532
|
}
|
|
533
533
|
|
|
534
534
|
var hasOwnProperty = Object.prototype.hasOwnProperty;
|
|
535
|
+
|
|
535
536
|
var RESERVED_PROPS = {
|
|
536
537
|
key: true,
|
|
537
538
|
ref: true,
|
|
@@ -1915,7 +1916,7 @@ function setCurrentlyValidatingElement(element) {
|
|
|
1915
1916
|
function checkPropTypes(typeSpecs, values, location, componentName, element) {
|
|
1916
1917
|
{
|
|
1917
1918
|
// $FlowFixMe This is okay but Flow doesn't know it.
|
|
1918
|
-
var has = Function.call.bind(
|
|
1919
|
+
var has = Function.call.bind(hasOwnProperty);
|
|
1919
1920
|
|
|
1920
1921
|
for (var typeSpecName in typeSpecs) {
|
|
1921
1922
|
if (has(typeSpecs, typeSpecName)) {
|
|
@@ -11,16 +11,16 @@ if("function"===typeof Symbol&&Symbol.for){var w=Symbol.for;m=w("react.element")
|
|
|
11
11
|
w("react.legacy_hidden");exports.unstable_Cache=w("react.cache")}var x="function"===typeof Symbol&&Symbol.iterator;function y(a){if(null===a||"object"!==typeof a)return null;a=x&&a[x]||a["@@iterator"];return"function"===typeof a?a:null}
|
|
12
12
|
function z(a){for(var b="https://reactjs.org/docs/error-decoder.html?invariant="+a,c=1;c<arguments.length;c++)b+="&args[]="+encodeURIComponent(arguments[c]);return"Minified React error #"+a+"; visit "+b+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var A={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},B={};
|
|
13
13
|
function C(a,b,c){this.props=a;this.context=b;this.refs=B;this.updater=c||A}C.prototype.isReactComponent={};C.prototype.setState=function(a,b){if("object"!==typeof a&&"function"!==typeof a&&null!=a)throw Error(z(85));this.updater.enqueueSetState(this,a,b,"setState")};C.prototype.forceUpdate=function(a){this.updater.enqueueForceUpdate(this,a,"forceUpdate")};function D(){}D.prototype=C.prototype;function E(a,b,c){this.props=a;this.context=b;this.refs=B;this.updater=c||A}var F=E.prototype=new D;
|
|
14
|
-
F.constructor=E;l(F,C.prototype);F.isPureReactComponent=!0;var G={current:null},
|
|
15
|
-
function J(a,b,c){var e,d={},k=null,h=null;if(null!=b)for(e in void 0!==b.ref&&(h=b.ref),void 0!==b.key&&(k=""+b.key),b)
|
|
14
|
+
F.constructor=E;l(F,C.prototype);F.isPureReactComponent=!0;var G=Object.prototype.hasOwnProperty,H={current:null},I={key:!0,ref:!0,__self:!0,__source:!0};
|
|
15
|
+
function J(a,b,c){var e,d={},k=null,h=null;if(null!=b)for(e in void 0!==b.ref&&(h=b.ref),void 0!==b.key&&(k=""+b.key),b)G.call(b,e)&&!I.hasOwnProperty(e)&&(d[e]=b[e]);var g=arguments.length-2;if(1===g)d.children=c;else if(1<g){for(var f=Array(g),n=0;n<g;n++)f[n]=arguments[n+2];d.children=f}if(a&&a.defaultProps)for(e in g=a.defaultProps,g)void 0===d[e]&&(d[e]=g[e]);return{$$typeof:m,type:a,key:k,ref:h,props:d,_owner:H.current}}
|
|
16
16
|
function K(a,b){return{$$typeof:m,type:a.type,key:b,ref:a.ref,props:a.props,_owner:a._owner}}function L(a){return"object"===typeof a&&null!==a&&a.$$typeof===m}function escape(a){var b={"=":"=0",":":"=2"};return"$"+a.replace(/[=:]/g,function(a){return b[a]})}var M=/\/+/g;function N(a,b){return"object"===typeof a&&null!==a&&null!=a.key?escape(""+a.key):b.toString(36)}
|
|
17
17
|
function O(a,b,c,e,d){var k=typeof a;if("undefined"===k||"boolean"===k)a=null;var h=!1;if(null===a)h=!0;else switch(k){case "string":case "number":h=!0;break;case "object":switch(a.$$typeof){case m:case p:h=!0}}if(h)return h=a,d=d(h),a=""===e?"."+N(h,0):e,Array.isArray(d)?(c="",null!=a&&(c=a.replace(M,"$&/")+"/"),O(d,b,c,"",function(a){return a})):null!=d&&(L(d)&&(d=K(d,c+(!d.key||h&&h.key===d.key?"":(""+d.key).replace(M,"$&/")+"/")+a)),b.push(d)),1;h=0;e=""===e?".":e+":";if(Array.isArray(a))for(var g=
|
|
18
18
|
0;g<a.length;g++){k=a[g];var f=e+N(k,g);h+=O(k,b,c,f,d)}else if(f=y(a),"function"===typeof f)for(a=f.call(a),g=0;!(k=a.next()).done;)k=k.value,f=e+N(k,g++),h+=O(k,b,c,f,d);else if("object"===k)throw b=""+a,Error(z(31,"[object Object]"===b?"object with keys {"+Object.keys(a).join(", ")+"}":b));return h}function P(a,b,c){if(null==a)return a;var e=[],d=0;O(a,e,"","",function(a){return b.call(c,a,d++)});return e}
|
|
19
|
-
function Q(a){if(-1===a._status){var b=a._result;b=b();a._status=0;a._result=b;b.then(function(b){0===a._status&&(b=b.default,a._status=1,a._result=b)},function(b){0===a._status&&(a._status=2,a._result=b)})}if(1===a._status)return a._result;throw a._result;}var R={current:null},S={transition:0},T={ReactCurrentDispatcher:R,ReactCurrentBatchConfig:S,ReactCurrentOwner:
|
|
19
|
+
function Q(a){if(-1===a._status){var b=a._result;b=b();a._status=0;a._result=b;b.then(function(b){0===a._status&&(b=b.default,a._status=1,a._result=b)},function(b){0===a._status&&(a._status=2,a._result=b)})}if(1===a._status)return a._result;throw a._result;}var R={current:null},S={transition:0},T={ReactCurrentDispatcher:R,ReactCurrentBatchConfig:S,ReactCurrentOwner:H,IsSomeRendererActing:{current:!1},assign:l};
|
|
20
20
|
exports.Children={map:P,forEach:function(a,b,c){P(a,function(){b.apply(this,arguments)},c)},count:function(a){var b=0;P(a,function(){b++});return b},toArray:function(a){return P(a,function(a){return a})||[]},only:function(a){if(!L(a))throw Error(z(143));return a}};exports.Component=C;exports.PureComponent=E;exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=T;
|
|
21
|
-
exports.cloneElement=function(a,b,c){if(null===a||void 0===a)throw Error(z(267,a));var e=l({},a.props),d=a.key,k=a.ref,h=a._owner;if(null!=b){void 0!==b.ref&&(k=b.ref,h=
|
|
21
|
+
exports.cloneElement=function(a,b,c){if(null===a||void 0===a)throw Error(z(267,a));var e=l({},a.props),d=a.key,k=a.ref,h=a._owner;if(null!=b){void 0!==b.ref&&(k=b.ref,h=H.current);void 0!==b.key&&(d=""+b.key);if(a.type&&a.type.defaultProps)var g=a.type.defaultProps;for(f in b)G.call(b,f)&&!I.hasOwnProperty(f)&&(e[f]=void 0===b[f]&&void 0!==g?g[f]:b[f])}var f=arguments.length-2;if(1===f)e.children=c;else if(1<f){g=Array(f);for(var n=0;n<f;n++)g[n]=arguments[n+2];e.children=g}return{$$typeof:m,type:a.type,
|
|
22
22
|
key:d,ref:k,props:e,_owner:h}};exports.createContext=function(a){a={$$typeof:r,_currentValue:a,_currentValue2:a,_threadCount:0,Provider:null,Consumer:null};a.Provider={$$typeof:q,_context:a};return a.Consumer=a};exports.createElement=J;exports.createFactory=function(a){var b=J.bind(null,a);b.type=a;return b};exports.createRef=function(){return{current:null}};exports.forwardRef=function(a){return{$$typeof:t,render:a}};exports.isValidElement=L;
|
|
23
23
|
exports.lazy=function(a){return{$$typeof:v,_payload:{_status:-1,_result:a},_init:Q}};exports.memo=function(a,b){return{$$typeof:u,type:a,compare:void 0===b?null:b}};exports.unstable_createMutableSource=function(a,b){return{_getVersion:b,_source:a,_workInProgressVersionPrimary:null,_workInProgressVersionSecondary:null}};exports.unstable_getCacheForType=function(a){return R.current.getCacheForType(a)};
|
|
24
24
|
exports.unstable_startTransition=function(a){var b=S.transition;S.transition=1;try{a()}finally{S.transition=b}};exports.unstable_useCacheRefresh=function(){return R.current.useCacheRefresh()};exports.unstable_useDeferredValue=function(a){return R.current.useDeferredValue(a)};exports.unstable_useMutableSource=function(a,b,c){return R.current.useMutableSource(a,b,c)};exports.unstable_useOpaqueIdentifier=function(){return R.current.useOpaqueIdentifier()};exports.unstable_useTransition=function(){return R.current.useTransition()};
|
|
25
25
|
exports.useCallback=function(a,b){return R.current.useCallback(a,b)};exports.useContext=function(a){return R.current.useContext(a)};exports.useDebugValue=function(){};exports.useEffect=function(a,b){return R.current.useEffect(a,b)};exports.useImperativeHandle=function(a,b,c){return R.current.useImperativeHandle(a,b,c)};exports.useLayoutEffect=function(a,b){return R.current.useLayoutEffect(a,b)};exports.useMemo=function(a,b){return R.current.useMemo(a,b)};
|
|
26
|
-
exports.useReducer=function(a,b,c){return R.current.useReducer(a,b,c)};exports.useRef=function(a){return R.current.useRef(a)};exports.useState=function(a){return R.current.useState(a)};exports.version="17.0.
|
|
26
|
+
exports.useReducer=function(a,b,c){return R.current.useReducer(a,b,c)};exports.useRef=function(a){return R.current.useRef(a)};exports.useState=function(a){return R.current.useState(a)};exports.version="17.0.3-experimental-b4f119cdf";
|
package/package.json
CHANGED
package/umd/react.development.js
CHANGED
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
(global = global || self, factory(global.React = {}));
|
|
13
13
|
}(this, (function (exports) { 'use strict';
|
|
14
14
|
|
|
15
|
-
var ReactVersion = '17.0.
|
|
15
|
+
var ReactVersion = '17.0.3-experimental-b4f119cdf';
|
|
16
16
|
|
|
17
17
|
// ATTENTION
|
|
18
18
|
// When adding new symbols to this file,
|
|
@@ -557,6 +557,7 @@
|
|
|
557
557
|
}
|
|
558
558
|
|
|
559
559
|
var hasOwnProperty$1 = Object.prototype.hasOwnProperty;
|
|
560
|
+
|
|
560
561
|
var RESERVED_PROPS = {
|
|
561
562
|
key: true,
|
|
562
563
|
ref: true,
|
|
@@ -1940,7 +1941,7 @@
|
|
|
1940
1941
|
function checkPropTypes(typeSpecs, values, location, componentName, element) {
|
|
1941
1942
|
{
|
|
1942
1943
|
// $FlowFixMe This is okay but Flow doesn't know it.
|
|
1943
|
-
var has = Function.call.bind(
|
|
1944
|
+
var has = Function.call.bind(hasOwnProperty$1);
|
|
1944
1945
|
|
|
1945
1946
|
for (var typeSpecName in typeSpecs) {
|
|
1946
1947
|
if (has(typeSpecs, typeSpecName)) {
|
|
@@ -17,7 +17,7 @@ b&&S(P,b.startTime-a)}}function R(a,b){r=!1;y&&(y=!1,fa(z),z=-1);F=!0;var c=e;tr
|
|
|
17
17
|
b){z=va(function(){a(t())},b)}var v=60103,da=60106;c.Fragment=60107;c.StrictMode=60108;c.Profiler=60114;var ja=60109,ka=60110,la=60112;c.Suspense=60113;c.unstable_SuspenseList=60120;var ma=60115,na=60116;c.unstable_DebugTracingMode=60129;c.unstable_LegacyHidden=60131;c.unstable_Cache=60132;if("function"===typeof Symbol&&Symbol.for){var d=Symbol.for;v=d("react.element");da=d("react.portal");c.Fragment=d("react.fragment");c.StrictMode=d("react.strict_mode");c.Profiler=d("react.profiler");ja=d("react.provider");
|
|
18
18
|
ka=d("react.context");la=d("react.forward_ref");c.Suspense=d("react.suspense");c.unstable_SuspenseList=d("react.suspense_list");ma=d("react.memo");na=d("react.lazy");c.unstable_DebugTracingMode=d("react.debug_trace_mode");c.unstable_LegacyHidden=d("react.legacy_hidden");c.unstable_Cache=d("react.cache")}var V="function"===typeof Symbol&&Symbol.iterator,wa=Object.prototype.hasOwnProperty,U=Object.assign||function(a,b){if(null==a)throw new TypeError("Object.assign target cannot be null or undefined");
|
|
19
19
|
for(var c=Object(a),d=1;d<arguments.length;d++){var h=arguments[d];if(null!=h){var e=void 0;h=Object(h);for(e in h)wa.call(h,e)&&(c[e]=h[e])}}return c},X={isMounted:function(a){return!1},enqueueForceUpdate:function(a,b,c){},enqueueReplaceState:function(a,b,c,d){},enqueueSetState:function(a,b,c,d){}},W={};u.prototype.isReactComponent={};u.prototype.setState=function(a,b){if("object"!==typeof a&&"function"!==typeof a&&null!=a)throw Error(A(85));this.updater.enqueueSetState(this,a,b,"setState")};u.prototype.forceUpdate=
|
|
20
|
-
function(a){this.updater.enqueueForceUpdate(this,a,"forceUpdate")};Y.prototype=u.prototype;d=J.prototype=new Y;d.constructor=J;U(d,u.prototype);d.isPureReactComponent=!0;var K={current:null},
|
|
20
|
+
function(a){this.updater.enqueueForceUpdate(this,a,"forceUpdate")};Y.prototype=u.prototype;d=J.prototype=new Y;d.constructor=J;U(d,u.prototype);d.isPureReactComponent=!0;var ba=Object.prototype.hasOwnProperty,K={current:null},ca={key:!0,ref:!0,__self:!0,__source:!0},ea=/\/+/g,g={current:null},I={transition:0};if("object"===typeof performance&&"function"===typeof performance.now){var xa=performance;var t=function(){return xa.now()}}else{var oa=Date,ya=oa.now();t=function(){return oa.now()-ya}}var p=
|
|
21
21
|
[],q=[],za=1,l=null,e=3,F=!1,r=!1,y=!1,va=window.setTimeout,fa=window.clearTimeout,pa=window.setImmediate;"undefined"!==typeof console&&(d=window.cancelAnimationFrame,"function"!==typeof window.requestAnimationFrame&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),"function"!==typeof d&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"));
|
|
22
22
|
var H=!1,G=null,z=-1,qa=5,ia=0,ra=function(){if(null!==G){var a=t();ia=a+qa;var b=!0;try{b=G(!0,a)}finally{b?T():(H=!1,G=null)}}else H=!1};if("function"===typeof pa)var T=function(){pa(ra)};else{d=new MessageChannel;var Aa=d.port2;d.port1.onmessage=ra;T=function(){Aa.postMessage(null)}}var Ba=0;d={ReactCurrentDispatcher:g,ReactCurrentOwner:K,IsSomeRendererActing:{current:!1},ReactCurrentBatchConfig:I,assign:U,Scheduler:{__proto__:null,unstable_ImmediatePriority:1,unstable_UserBlockingPriority:2,unstable_NormalPriority:3,
|
|
23
23
|
unstable_IdlePriority:5,unstable_LowPriority:4,unstable_runWithPriority:function(a,b){switch(a){case 1:case 2:case 3:case 4:case 5:break;default:a=3}var c=e;e=a;try{return b()}finally{e=c}},unstable_next:function(a){switch(e){case 1:case 2:case 3:var b=3;break;default:b=e}var c=e;e=b;try{return a()}finally{e=c}},unstable_scheduleCallback:function(a,b,c){var d=t();"object"===typeof c&&null!==c?(c=c.delay,c="number"===typeof c&&0<c?d+c:d):c=d;switch(a){case 1:var e=-1;break;case 2:e=250;break;case 5:e=
|
|
@@ -28,5 +28,5 @@ return a}};c.Component=u;c.PureComponent=J;c.__SECRET_INTERNALS_DO_NOT_USE_OR_YO
|
|
|
28
28
|
f){l=Array(f);for(var n=0;n<f;n++)l[n]=arguments[n+2];d.children=l}return{$$typeof:v,type:a.type,key:e,ref:k,props:d,_owner:g}};c.createContext=function(a){a={$$typeof:ka,_currentValue:a,_currentValue2:a,_threadCount:0,Provider:null,Consumer:null};a.Provider={$$typeof:ja,_context:a};return a.Consumer=a};c.createElement=Z;c.createFactory=function(a){var b=Z.bind(null,a);b.type=a;return b};c.createRef=function(){return{current:null}};c.forwardRef=function(a){return{$$typeof:la,render:a}};c.isValidElement=
|
|
29
29
|
L;c.lazy=function(a){return{$$typeof:na,_payload:{_status:-1,_result:a},_init:ua}};c.memo=function(a,b){return{$$typeof:ma,type:a,compare:void 0===b?null:b}};c.unstable_createMutableSource=function(a,b){return{_getVersion:b,_source:a,_workInProgressVersionPrimary:null,_workInProgressVersionSecondary:null}};c.unstable_getCacheForType=function(a){return g.current.getCacheForType(a)};c.unstable_startTransition=function(a){var b=I.transition;I.transition=1;try{a()}finally{I.transition=b}};c.unstable_useCacheRefresh=
|
|
30
30
|
function(){return g.current.useCacheRefresh()};c.unstable_useDeferredValue=function(a){return g.current.useDeferredValue(a)};c.unstable_useMutableSource=function(a,b,c){return g.current.useMutableSource(a,b,c)};c.unstable_useOpaqueIdentifier=function(){return g.current.useOpaqueIdentifier()};c.unstable_useTransition=function(){return g.current.useTransition()};c.useCallback=function(a,b){return g.current.useCallback(a,b)};c.useContext=function(a){return g.current.useContext(a)};c.useDebugValue=function(a,
|
|
31
|
-
b){};c.useEffect=function(a,b){return g.current.useEffect(a,b)};c.useImperativeHandle=function(a,b,c){return g.current.useImperativeHandle(a,b,c)};c.useLayoutEffect=function(a,b){return g.current.useLayoutEffect(a,b)};c.useMemo=function(a,b){return g.current.useMemo(a,b)};c.useReducer=function(a,b,c){return g.current.useReducer(a,b,c)};c.useRef=function(a){return g.current.useRef(a)};c.useState=function(a){return g.current.useState(a)};c.version="17.0.
|
|
31
|
+
b){};c.useEffect=function(a,b){return g.current.useEffect(a,b)};c.useImperativeHandle=function(a,b,c){return g.current.useImperativeHandle(a,b,c)};c.useLayoutEffect=function(a,b){return g.current.useLayoutEffect(a,b)};c.useMemo=function(a,b){return g.current.useMemo(a,b)};c.useReducer=function(a,b,c){return g.current.useReducer(a,b,c)};c.useRef=function(a){return g.current.useRef(a)};c.useState=function(a){return g.current.useState(a)};c.version="17.0.3-experimental-b4f119cdf"});
|
|
32
32
|
})();
|
|
@@ -18,7 +18,7 @@ b){E=za(function(){a(z())},b)}function Aa(a){var b=!1,d=null;t.forEach(function(
|
|
|
18
18
|
(d=!0,f=x)}});if(d)throw f;}function Ea(a,b){var d=!1,f=null;t.forEach(function(e){try{e.onWorkStopped(a,b)}catch(x){d||(d=!0,f=x)}});if(d)throw f;}function Fa(a,b){var d=!1,f=null;t.forEach(function(e){try{e.onWorkCanceled(a,b)}catch(x){d||(d=!0,f=x)}});if(d)throw f;}var B=60103,ia=60106;c.Fragment=60107;c.StrictMode=60108;c.Profiler=60114;var na=60109,oa=60110,pa=60112;c.Suspense=60113;c.unstable_SuspenseList=60120;var qa=60115,ra=60116;c.unstable_DebugTracingMode=60129;c.unstable_LegacyHidden=
|
|
19
19
|
60131;c.unstable_Cache=60132;if("function"===typeof Symbol&&Symbol.for){var g=Symbol.for;B=g("react.element");ia=g("react.portal");c.Fragment=g("react.fragment");c.StrictMode=g("react.strict_mode");c.Profiler=g("react.profiler");na=g("react.provider");oa=g("react.context");pa=g("react.forward_ref");c.Suspense=g("react.suspense");c.unstable_SuspenseList=g("react.suspense_list");qa=g("react.memo");ra=g("react.lazy");c.unstable_DebugTracingMode=g("react.debug_trace_mode");c.unstable_LegacyHidden=g("react.legacy_hidden");
|
|
20
20
|
c.unstable_Cache=g("react.cache")}var aa="function"===typeof Symbol&&Symbol.iterator,Ga=Object.prototype.hasOwnProperty,Z=Object.assign||function(a,b){if(null==a)throw new TypeError("Object.assign target cannot be null or undefined");for(var d=Object(a),f=1;f<arguments.length;f++){var e=arguments[f];if(null!=e){var c=void 0;e=Object(e);for(c in e)Ga.call(e,c)&&(d[c]=e[c])}}return d},ca={isMounted:function(a){return!1},enqueueForceUpdate:function(a,b,d){},enqueueReplaceState:function(a,b,d,c){},enqueueSetState:function(a,
|
|
21
|
-
b,d,c){}},ba={};A.prototype.isReactComponent={};A.prototype.setState=function(a,b){if("object"!==typeof a&&"function"!==typeof a&&null!=a)throw Error(F(85));this.updater.enqueueSetState(this,a,b,"setState")};A.prototype.forceUpdate=function(a){this.updater.enqueueForceUpdate(this,a,"forceUpdate")};da.prototype=A.prototype;g=O.prototype=new da;g.constructor=O;Z(g,A.prototype);g.isPureReactComponent=!0;var P={current:null},
|
|
21
|
+
b,d,c){}},ba={};A.prototype.isReactComponent={};A.prototype.setState=function(a,b){if("object"!==typeof a&&"function"!==typeof a&&null!=a)throw Error(F(85));this.updater.enqueueSetState(this,a,b,"setState")};A.prototype.forceUpdate=function(a){this.updater.enqueueForceUpdate(this,a,"forceUpdate")};da.prototype=A.prototype;g=O.prototype=new da;g.constructor=O;Z(g,A.prototype);g.isPureReactComponent=!0;var fa=Object.prototype.hasOwnProperty,P={current:null},ha={key:!0,ref:!0,__self:!0,__source:!0},
|
|
22
22
|
ja=/\/+/g,n={current:null},N={transition:0};if("object"===typeof performance&&"function"===typeof performance.now){var Ha=performance;var z=function(){return Ha.now()}}else{var sa=Date,Ia=sa.now();z=function(){return sa.now()-Ia}}var u=[],v=[],Ja=1,q=null,m=3,K=!1,y=!1,D=!1,za=window.setTimeout,ka=window.clearTimeout,ta=window.setImmediate;"undefined"!==typeof console&&(g=window.cancelAnimationFrame,"function"!==typeof window.requestAnimationFrame&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),
|
|
23
23
|
"function"!==typeof g&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"));var M=!1,L=null,E=-1,ua=5,ma=0,va=function(){if(null!==L){var a=z();ma=a+ua;var b=!0;try{b=L(!0,a)}finally{b?Y():(M=!1,L=null)}}else M=!1};if("function"===typeof ta)var Y=function(){ta(va)};else{g=new MessageChannel;var Ka=g.port2;g.port1.onmessage=va;Y=function(){Ka.postMessage(null)}}g={__proto__:null,unstable_ImmediatePriority:1,
|
|
24
24
|
unstable_UserBlockingPriority:2,unstable_NormalPriority:3,unstable_IdlePriority:5,unstable_LowPriority:4,unstable_runWithPriority:function(a,b){switch(a){case 1:case 2:case 3:case 4:case 5:break;default:a=3}var d=m;m=a;try{return b()}finally{m=d}},unstable_next:function(a){switch(m){case 1:case 2:case 3:var b=3;break;default:b=m}var d=m;m=b;try{return a()}finally{m=d}},unstable_scheduleCallback:function(a,b,d){var c=z();"object"===typeof d&&null!==d?(d=d.delay,d="number"===typeof d&&0<d?c+d:c):d=
|
|
@@ -33,5 +33,5 @@ a.type.defaultProps;for(l in b)fa.call(b,l)&&!ha.hasOwnProperty(l)&&(d[l]=void 0
|
|
|
33
33
|
function(a){var b=ea.bind(null,a);b.type=a;return b};c.createRef=function(){return{current:null}};c.forwardRef=function(a){return{$$typeof:pa,render:a}};c.isValidElement=Q;c.lazy=function(a){return{$$typeof:ra,_payload:{_status:-1,_result:a},_init:ya}};c.memo=function(a,b){return{$$typeof:qa,type:a,compare:void 0===b?null:b}};c.unstable_createMutableSource=function(a,b){return{_getVersion:b,_source:a,_workInProgressVersionPrimary:null,_workInProgressVersionSecondary:null}};c.unstable_getCacheForType=
|
|
34
34
|
function(a){return n.current.getCacheForType(a)};c.unstable_startTransition=function(a){var b=N.transition;N.transition=1;try{a()}finally{N.transition=b}};c.unstable_useCacheRefresh=function(){return n.current.useCacheRefresh()};c.unstable_useDeferredValue=function(a){return n.current.useDeferredValue(a)};c.unstable_useMutableSource=function(a,b,c){return n.current.useMutableSource(a,b,c)};c.unstable_useOpaqueIdentifier=function(){return n.current.useOpaqueIdentifier()};c.unstable_useTransition=function(){return n.current.useTransition()};
|
|
35
35
|
c.useCallback=function(a,b){return n.current.useCallback(a,b)};c.useContext=function(a){return n.current.useContext(a)};c.useDebugValue=function(a,b){};c.useEffect=function(a,b){return n.current.useEffect(a,b)};c.useImperativeHandle=function(a,b,c){return n.current.useImperativeHandle(a,b,c)};c.useLayoutEffect=function(a,b){return n.current.useLayoutEffect(a,b)};c.useMemo=function(a,b){return n.current.useMemo(a,b)};c.useReducer=function(a,b,c){return n.current.useReducer(a,b,c)};c.useRef=function(a){return n.current.useRef(a)};
|
|
36
|
-
c.useState=function(a){return n.current.useState(a)};c.version="17.0.
|
|
36
|
+
c.useState=function(a){return n.current.useState(a)};c.version="17.0.3-experimental-b4f119cdf"});
|
|
37
37
|
})();
|