Skip to content

eWizard.js framework v4.9.0

eWizard CLI 0.11.3

We have released a new version of eWizard CLI - 0.11.3. However, in this sprint we were mainly focused on enhancements in builders and updates in other projects. So, do not waste time and scroll down!

Builders

OCE build: minimize bundle 1.8.0

Our team has implemented several optimizations of slide's bundle while OCE MPA build:

  • Slide's bundle contains only code that is used by that slide.
  • Slide's bundle is tree-shaked while build. More about webpack tree shaking here.

Optimization of copying fonts mechanism in OCE MPA build 1.9.0

The mechanism of copying fonts after the build for OCE MPA has been optimized. Currently, only one font source remains in CSS files after OCE MPA build even though there were several font sources in the initial presentation. Font source which should stay after the build is selected by the following priority:

  • woff
  • ttf
  • otf
  • svg
  • eot
  • woff2
html
@font-face {
    font-family: "Frutiger LT Std";
    src: url("../media/fonts/frutiger_lt_65_bold/frutiger_lt_65_bold.ttf"),
    url("../media/fonts/frutiger_lt_65_bold/frutiger_lt_65_bold.woff"),
    url("../media/fonts/frutiger_lt_65_bold/frutiger_lt_65_bold.eot");
    font-weight: 700;
    font-style: normal;
}

=> after the build

@font-face {
    font-family: "Frutiger LT Std";
    src: url("../media/fonts/frutiger_lt_65_bold/frutiger_lt_65_bold.woff");
    font-weight: 700;
    font-style: normal;
}

Emails

Added align property to root component

Feature update for wiz-root component. Now it has content-align attribute and can be aligned to the left, center or right. This value will build into align attribute. If root component does not have content-align then default value of it will be center.

The meaning of this new attribute is that now we can set align (the align attribute) for the td (cells) of the root table. Previously, we could only specify an alignment for the table (table tag) only.