leafer-ui 1.0.0-rc.20 → 1.0.0-rc.21

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/README.md CHANGED
@@ -4,7 +4,7 @@ Leafer UI 是基于 [Leafer](https://github.com/leaferjs/leafer) 开发的一套
4
4
 
5
5
  提供了常用的 UI 绘图组件,和开箱即用的功能,方便与 Figma、Sketch 等产品进行数据交换,并为跨平台开发提供了统一、丰富的交互事件,如拖拽、旋转、缩放手势等。
6
6
 
7
- 1.0.0-rc.20 已发布 🎉🎉🎉,查看 [更新日志](https://leaferjs.com/ui/update/)。
7
+ 1.0.0-rc.21 已发布 🎉🎉🎉,查看 [更新日志](https://leaferjs.com/ui/update/)。
8
8
 
9
9
  目前产品已经逐步稳定,正式版即将到来,感谢所有参与的朋友们~
10
10
 
package/dist/web.js CHANGED
@@ -1268,7 +1268,8 @@ var LeaferUI = (function (exports) {
1268
1268
  this.warn(...messages);
1269
1269
  }
1270
1270
  warn(...messages) {
1271
- console.warn(this.name, ...messages);
1271
+ if (D$4.showWarn)
1272
+ console.warn(this.name, ...messages);
1272
1273
  }
1273
1274
  repeat(name, ...messages) {
1274
1275
  if (!this.repeatMap[name]) {
@@ -1287,6 +1288,7 @@ var LeaferUI = (function (exports) {
1287
1288
  }
1288
1289
  Debug.filterList = [];
1289
1290
  Debug.excludeList = [];
1291
+ Debug.showWarn = true;
1290
1292
  function getNameList(name) {
1291
1293
  if (!name)
1292
1294
  name = [];
@@ -7482,7 +7484,7 @@ var LeaferUI = (function (exports) {
7482
7484
  var Leafer_1;
7483
7485
  const debug$3 = Debug.get('Leafer');
7484
7486
  exports.Leafer = Leafer_1 = class Leafer extends exports.Group {
7485
- static get version() { return '1.0.0-rc.20'; }
7487
+ static get version() { return '1.0.0-rc.21'; }
7486
7488
  get __tag() { return 'Leafer'; }
7487
7489
  get isApp() { return false; }
7488
7490
  get app() { return this.parent || this; }
@@ -8525,7 +8527,7 @@ var LeaferUI = (function (exports) {
8525
8527
  };
8526
8528
  }
8527
8529
 
8528
- const version = "1.0.0-rc.20";
8530
+ const version = "1.0.0-rc.21";
8529
8531
 
8530
8532
  exports.App = class App extends exports.Leafer {
8531
8533
  get __tag() { return 'App'; }