Releases: viewi/viewi
Releases · viewi/viewi
v2.6.4
v2.6.3
v2.6.3
Full Changelog: v2.6.2...v2.6.3
v2.6.2
v2.6.1
v2.6.1
- Added friendly errors output int the terminal during the build
- Build time expressions support:
Executes the code during the build time and injects it as raw HTML content in the place
Syntax:
<div>{# file_get_contents('my-file') #}</div>
Full Changelog: v2.6.0...v2.6.1
v2.6.0
v2.6.0
- Slot data feature by @ivanvoitovych in #47
- IncludeAlways
- DomHelper: getFiles
Full Changelog: v2.5.3...v2.6.0
v2.5.3
v2.5.3
Class to work with session storage on client-side
class BrowserSession
{
public function getItem(string $key): ?string;
public function setItem(string $key, string $value);
public function removeItem(string $key);
public function clear();
}
Override component implementation and template with another one. Use to replace package's components.
Example: BoxHeader
will override BoxLayoutHeader
. Instead of BoxLayoutHeader
, BoxHeader
will be rendered.
#[OverrideComponent(BoxLayoutHeader::class)]
class BoxHeader extends BaseComponent {}
Full Changelog: v2.5.2...v2.5.3
v2.5.2
v2.5.2
- Extended packages functionality
- Refactoring
- Minor rendering fixes for attributes
Full Changelog: v2.5.1...v2.5.2
v2.5.1
v2.4.13
v2.4.12
v2.4.12
- JavaScript
setLocale
fallback to English if does not exist
Full Changelog: v2.4.11...v2.4.12