react-art 18.3.0-next-dd2d65227-20220708 → 18.3.0-next-e225fa43a-20220711

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.
@@ -61,7 +61,7 @@ function _assertThisInitialized(self) {
61
61
  return self;
62
62
  }
63
63
 
64
- var ReactVersion = '18.3.0-next-dd2d65227-20220708';
64
+ var ReactVersion = '18.3.0-next-e225fa43a-20220711';
65
65
 
66
66
  var LegacyRoot = 0;
67
67
  var ConcurrentRoot = 1;
@@ -205,7 +205,7 @@ d&&(b.callback=d);a=Dc(e,b,g);null!==a&&(Oc(a,e,g,f),Ec(a,e,g));return g}functio
205
205
  var Fg=Array.prototype.slice,Gg=function(){function a(a,c,d,e,f){this._args=Fg.call(arguments)}a.prototype.applyFill=function(a){a.fillLinear.apply(a,this._args)};return a}(),Hg=function(){function a(a,c,d,e,f,g,h){this._args=Fg.call(arguments)}a.prototype.applyFill=function(a){a.fillRadial.apply(a,this._args)};return a}(),Ig=function(){function a(a,c,d,e,f){this._args=Fg.call(arguments)}a.prototype.applyFill=function(a){a.fillImage.apply(a,this._args)};return a}(),Jg=function(a){function b(){return a.apply(this,
206
206
  arguments)||this}ia(b,a);var c=b.prototype;c.componentDidMount=function(){var a=this.props;this._surface=da.Surface(+a.width,+a.height,this._tagRef);a=new Cg(this._surface,0,!1,"",void 0);var b=Bg(3,null,null,0);a.current=b;b.stateNode=a;b.memoizedState={element:null,isDehydrated:!1,cache:null};Ac(b);this._mountNode=a;Dg(this.props.children,this._mountNode,this)};c.componentDidUpdate=function(a){var b=this.props;b.height===a.height&&b.width===a.width||this._surface.resize(+b.width,+b.height);Dg(this.props.children,
207
207
  this._mountNode,this);this._surface.render&&this._surface.render()};c.componentWillUnmount=function(){Dg(null,this._mountNode,this)};c.render=function(){var a=this,b=this.props;return aa.createElement(da.Surface.tagName,{ref:function(b){return a._tagRef=b},accessKey:b.accessKey,className:b.className,draggable:b.draggable,role:b.role,style:b.style,tabIndex:b.tabIndex,title:b.title})};return b}(aa.Component),Kg=function(a){function b(b){var c=a.call(this,b)||this;["height","width","x","y"].forEach(function(a){Object.defineProperty(ja(c),
208
- a,{get:function(){return this._text?this._text[a]:void 0}})});return c}ia(b,a);b.prototype.render=function(){var a=this;return aa.createElement(Ia.TEXT,ha({},this.props,{ref:function(b){return a._text=b}}),Ka(this.props.children))};return b}(aa.Component),Lg={findFiberByHostInstance:function(){return null},bundleType:0,version:"18.3.0-next-dd2d65227-20220708",rendererPackageName:"react-art"};
208
+ a,{get:function(){return this._text?this._text[a]:void 0}})});return c}ia(b,a);b.prototype.render=function(){var a=this;return aa.createElement(Ia.TEXT,ha({},this.props,{ref:function(b){return a._text=b}}),Ka(this.props.children))};return b}(aa.Component),Lg={findFiberByHostInstance:function(){return null},bundleType:0,version:"18.3.0-next-e225fa43a-20220711",rendererPackageName:"react-art"};
209
209
  var Mg={bundleType:Lg.bundleType,version:Lg.version,rendererPackageName:Lg.rendererPackageName,rendererConfig:Lg.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:la.ReactCurrentDispatcher,findHostInstanceByFiber:function(a){a=Fa(a);a=null!==a?Ga(a):null;return null===a?null:a.stateNode},
210
- findFiberByHostInstance:Lg.findFiberByHostInstance||Eg,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.0-next-dd2d65227-20220708"};if("undefined"!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var Ng=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Ng.isDisabled&&Ng.supportsFiber)try{Ta=Ng.inject(Mg),Ua=Ng}catch(a){}}var Og=da.Path;exports.Transform=ca;exports.ClippingRectangle=Ia.CLIPPING_RECTANGLE;exports.Group=Ia.GROUP;
210
+ findFiberByHostInstance:Lg.findFiberByHostInstance||Eg,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.0-next-e225fa43a-20220711"};if("undefined"!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var Ng=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Ng.isDisabled&&Ng.supportsFiber)try{Ta=Ng.inject(Mg),Ua=Ng}catch(a){}}var Og=da.Path;exports.Transform=ca;exports.ClippingRectangle=Ia.CLIPPING_RECTANGLE;exports.Group=Ia.GROUP;
211
211
  exports.LinearGradient=Gg;exports.Path=Og;exports.Pattern=Ig;exports.RadialGradient=Hg;exports.Shape=Ia.SHAPE;exports.Surface=Jg;exports.Text=Kg;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "react-art",
3
3
  "description": "React ART is a JavaScript library for drawing vector graphics using React. It provides declarative and reactive bindings to the ART library. Using the same declarative API you can render the output to either Canvas, SVG or VML (IE8).",
4
- "version": "18.3.0-next-dd2d65227-20220708",
4
+ "version": "18.3.0-next-e225fa43a-20220711",
5
5
  "main": "index.js",
6
6
  "repository": {
7
7
  "type": "git",
@@ -25,10 +25,10 @@
25
25
  "art": "^0.10.1",
26
26
  "create-react-class": "^15.6.2",
27
27
  "loose-envify": "^1.1.0",
28
- "scheduler": "0.24.0-next-dd2d65227-20220708"
28
+ "scheduler": "0.24.0-next-e225fa43a-20220711"
29
29
  },
30
30
  "peerDependencies": {
31
- "react": "18.3.0-next-dd2d65227-20220708"
31
+ "react": "18.3.0-next-e225fa43a-20220711"
32
32
  },
33
33
  "files": [
34
34
  "LICENSE",
@@ -45,7 +45,7 @@
45
45
  return self;
46
46
  }
47
47
 
48
- var ReactVersion = '18.3.0-next-dd2d65227-20220708';
48
+ var ReactVersion = '18.3.0-next-e225fa43a-20220711';
49
49
 
50
50
  var LegacyRoot = 0;
51
51
  var ConcurrentRoot = 1;
@@ -238,6 +238,6 @@ Array.prototype.slice,Gh=function(){function a(a,c,d,e,f){this._args=ge.call(arg
238
238
  arguments)||this}he(b,a);var c=b.prototype;c.componentDidMount=function(){var a=this.props;this._surface=Ma.Surface(+a.width,+a.height,this._tagRef);a=new nh(this._surface,0,!1,"",void 0);var b=ua(3,null,null,0);a.current=b;b.stateNode=a;b.memoizedState={element:null,isDehydrated:!1,cache:null};md(b);this._mountNode=a;$d(this.props.children,this._mountNode,this)};c.componentDidUpdate=function(a,b){b=this.props;b.height===a.height&&b.width===a.width||this._surface.resize(+b.width,+b.height);$d(this.props.children,
239
239
  this._mountNode,this);this._surface.render&&this._surface.render()};c.componentWillUnmount=function(){$d(null,this._mountNode,this)};c.render=function(){var a=this,b=this.props;return ha.createElement(Ma.Surface.tagName,{ref:function(b){return a._tagRef=b},accessKey:b.accessKey,className:b.className,draggable:b.draggable,role:b.role,style:b.style,tabIndex:b.tabIndex,title:b.title})};return b}(ha.Component),Kh=function(a){function b(b){var c=a.call(this,b)||this;["height","width","x","y"].forEach(function(a){Object.defineProperty(ig(c),
240
240
  a,{get:function(){return this._text?this._text[a]:void 0}})});return c}he(b,a);b.prototype.render=function(){var a=this;return ha.createElement(La.TEXT,Mc({},this.props,{ref:function(b){return a._text=b}}),pe(this.props.children))};return b}(ha.Component);(function(a){a={bundleType:a.bundleType,version:a.version,rendererPackageName:a.rendererPackageName,rendererConfig:a.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,
241
- overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:Qa.ReactCurrentDispatcher,findHostInstanceByFiber:oh,findFiberByHostInstance:a.findFiberByHostInstance||ph,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.0-next-dd2d65227-20220708"};if("undefined"===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__)a=!1;else{var b=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(b.isDisabled||
242
- !b.supportsFiber)a=!0;else{try{Qb=b.inject(a),oa=b}catch(c){}a=b.checkDCE?!0:!1}}return a})({findFiberByHostInstance:function(){return null},bundleType:0,version:"18.3.0-next-dd2d65227-20220708",rendererPackageName:"react-art"});var Lh=La.GROUP,Mh=La.SHAPE,Nh=Ma.Path;S.ClippingRectangle=La.CLIPPING_RECTANGLE;S.Group=Lh;S.LinearGradient=Gh;S.Path=Nh;S.Pattern=Ih;S.RadialGradient=Hh;S.Shape=Mh;S.Surface=Jh;S.Text=Kh;S.Transform=U});
241
+ overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:Qa.ReactCurrentDispatcher,findHostInstanceByFiber:oh,findFiberByHostInstance:a.findFiberByHostInstance||ph,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.0-next-e225fa43a-20220711"};if("undefined"===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__)a=!1;else{var b=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(b.isDisabled||
242
+ !b.supportsFiber)a=!0;else{try{Qb=b.inject(a),oa=b}catch(c){}a=b.checkDCE?!0:!1}}return a})({findFiberByHostInstance:function(){return null},bundleType:0,version:"18.3.0-next-e225fa43a-20220711",rendererPackageName:"react-art"});var Lh=La.GROUP,Mh=La.SHAPE,Nh=Ma.Path;S.ClippingRectangle=La.CLIPPING_RECTANGLE;S.Group=Lh;S.LinearGradient=Gh;S.Path=Nh;S.Pattern=Ih;S.RadialGradient=Hh;S.Shape=Mh;S.Surface=Jh;S.Text=Kh;S.Transform=U});
243
243
  })();