v2.0.0-beta
Pre-release
Pre-release
Added
- Pointer subjects for image bindings, including
<pointer>support inglobals.xml, typedbind_srcvalidation/autocomplete, preview/runtime updates, and code generation forlv_image bind_src. (#247) - Design Mode Events section in the Properties panel for adding, editing, and removing event elements (e.g.
event_cb, screen load events) on the selected component. - Generate standard API getters for accessing slots.
- Design Mode support for editing component slots, including adding, duplicating, drag-and-drop reordering, and copy/paste operations in slot layers.
- Memory usage summary feature, including a UI panel with graphs and additions to code export.
- Proper support for
repeat_countandrepeat_delayin animation timelines. - CLI screenshot command for capturing a screen as a PNG.
- Example:
node lved-cli.js screenshot ./testing/test_project screens/main_screen --out main.png --delay 300
- Example:
- Preview inspection for
access="add"/access="get"typed elements (e.g.lv_tabview-tab,lv_dropdown-list) and their contents. - Launch screen Learn by Examples flow to create Tutorials or Examples projects from bundled templates.
- Image
convertsupport allow creating multiple versions of the same source image. <project theme="default or simple">to set a good looking or a minimally styled theme- Support for type
precise_points(supportslv_line) to code export and XML validation. - Support
content,1fr(besidesfr(1)), and validation ingrid_row/column_dsc_array - Responsive target support: targets defined in
project.xmlcan now be referenced infonts,images,views,styles, etc. to create multiple versions of the UI. The Preview supports dynamically switching between them. - Figma Flow plugin to the Editor.
- Proper support for types
px|%andpx|%|contentin widget properties.
Changed
- Launch screen opens on every app launch when signed in with a valid license, including when a project was restored from the previous session.
- Simplified unit selector for Design Mode number inputs (e.g. position and size fields).
- Project opening now enforces Product, Platform, Community, and Evaluation license rules using
product_idandgit_urlproject metadata. - For external tool support - reload the Preview whenever any .xml file in the open project is changed.
Fixed
- Code export tweaks for slot support.
- Confusing UX flow when the user's login has expired (#371).
- UI flow to install emsdk locally, on first compilation
- Setters on widget elements with
access="add"would operate on the widget itself, instead of the child element, in code export. - User-defined event callbacks were not being called (the weak ones stubbed by code export were incorrectly preferred).
- Memory usage monitoring now counts file-backed TinyTTF fonts and file images once per source file.
- Translation strings starting with
$or#being treated as API or const references during validation and code export. - Use Emscripten environment "worker" instead of "web" because the Preview runs in a worker. On some Linux and Mac machines, the preview wouldn't run because of this.