x4js 1.5.32 → 1.5.33

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/lib/esm/index.mjs CHANGED
@@ -4488,6 +4488,13 @@ var _Icon = class extends Component {
4488
4488
  url = url.replaceAll("\\", "");
4489
4489
  this._setSVG(url);
4490
4490
  return;
4491
+ }
4492
+ const reChar = /\s*font-char\s*\(\s*(.+)\s*\)\s*/gi;
4493
+ let match_char = reChar.exec(icon);
4494
+ if (match_char) {
4495
+ this.removeClass("@svg-icon");
4496
+ this.setContent(match_char[1], false);
4497
+ return;
4491
4498
  } else {
4492
4499
  console.error("deprecation error: invalid icon name");
4493
4500
  name = icon;
@@ -15704,7 +15711,7 @@ function setupWSMessaging(closeCB) {
15704
15711
  __name(setupWSMessaging, "setupWSMessaging");
15705
15712
 
15706
15713
  // src/version.ts
15707
- var x4js_version = "1.5.32";
15714
+ var x4js_version = "1.5.33";
15708
15715
  export {
15709
15716
  AbsLayout,
15710
15717
  Application,
@@ -15790,7 +15797,13 @@ export {
15790
15797
  Rect,
15791
15798
  Router,
15792
15799
  SVGComponent,
15800
+ SVGGradient,
15801
+ SVGGroup,
15802
+ SVGItem,
15803
+ SVGPath,
15793
15804
  SVGPathBuilder,
15805
+ SVGShape,
15806
+ SVGText,
15794
15807
  ScrollView,
15795
15808
  Separator,
15796
15809
  Settings,