@antv/g-lite 2.2.7 → 2.2.9

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/dist/index.esm.js CHANGED
@@ -1,8 +1,8 @@
1
1
  /*!
2
2
  * @antv/g-lite
3
3
  * @description A core module for rendering engine implements DOM API.
4
- * @version 2.2.7
5
- * @date 11/27/2024, 9:20:36 AM
4
+ * @version 2.2.9
5
+ * @date 11/27/2024, 2:16:03 PM
6
6
  * @author AntVis
7
7
  * @docs https://g.antv.antgroup.com/
8
8
  */
@@ -13206,6 +13206,7 @@ var CustomElement = /*#__PURE__*/function (_DisplayObject) {
13206
13206
  _inherits(CustomElement, _DisplayObject);
13207
13207
  return _createClass(CustomElement);
13208
13208
  }(DisplayObject);
13209
+ CustomElement.PARSED_STYLE_LIST = new Set(['class', 'className', 'clipPath', 'cursor', 'draggable', 'droppable', 'opacity', 'pointerEvents', 'transform', 'transformOrigin', 'zIndex', 'visibility']);
13209
13210
 
13210
13211
  var Ellipse = /*#__PURE__*/function (_DisplayObject) {
13211
13212
  function Ellipse() {
@@ -13239,6 +13240,7 @@ var Fragment = /*#__PURE__*/function (_DisplayObject) {
13239
13240
  _inherits(Fragment, _DisplayObject);
13240
13241
  return _createClass(Fragment);
13241
13242
  }(DisplayObject);
13243
+ Fragment.PARSED_STYLE_LIST = new Set(['class', 'className']);
13242
13244
 
13243
13245
  /**
13244
13246
  * its attributes are inherited by its children.
@@ -15580,8 +15582,6 @@ var Canvas = /*#__PURE__*/function (_EventTarget) {
15580
15582
  if (this.context.rBushRoot) {
15581
15583
  // clear rbush
15582
15584
  this.context.rBushRoot.clear();
15583
- this.context.rBushRoot = null;
15584
- this.context.renderingContext.root = null;
15585
15585
  }
15586
15586
  if (!skipTriggerEvent) {
15587
15587
  this.dispatchEvent(new CustomEvent(CanvasEvent.AFTER_DESTROY));