uix 0.7.2
uix: ^0.7.2 copied to clipboard
Library to build Web User Interfaces inspired by React.
0.7.2 #
- Fixed issue with strong mode.
0.7.1 #
- Fixed issue in updating implicit children.
0.7.0 #
- Added support for namespaced attributes.
- Changed interface to specify attributes for virtual
nodes.
vElement('div', attrs: {Attr.id: 'myId'}).Attrclass contains all attributes. - Added
customAttrsproperty to virtual nodes to specify custom attributes likedata-myattr. - Changed interface to specify styles for virtual
nodes.
vElement('div', style: {Style.top: '10px'}).Styleclass contains all styles. - EXPERIMENTAL support for moving html nodes and Components
between different parents with
Anchorobjects. - Added
propsproperty to virtual nodes to specify element properties.Propclass contains all properties. - Adjacent text nodes separated by comments
<---->when rendered to string. And comment nodes ignored when virtual nodes mounted on top of existing html.
0.6.0 #
- Basic form components moved to uix_forms package.
- CSS Transition Container moved to uix_css_transition_container package.
0.5.2 #
- Attributes in VNodes can accept
numandbooltypes for values and will be automatically converted toStrings.booltype will work as html boolean attribute. - Attributes and styles in VNodes can accept
nullvalues. Attributes and styles withnullvalue will be removed from the dom element.
0.5.1 #
- Virtual Nodes for Components are no longer responsible for calling
Component.update()method, and now they're just creating components and passing new data. inject*helper methods are no longer callingComponent.update()method.- If
Component.invalidate()method is called when Scheduler is running tasks for the currentFrame, Component is registered to thecurrentFramewrite task queue, otherwise to thenextFrame. Component.invalidate()will register Component in the Scheduler only when it hasshouldUpdateViewFlags.- When Component is attached to the document, component will be invalidated.
- Added new stream
onNextFrameto the Scheduler.
0.5.0 #
- Fixed wrong sort order for
Schedulerwrite tasks. - Fixed bug with clearing wrong flag for nextTick tasks.
- Removed build step:
ComponentGeneratorandsource_gendependency.
0.4.0 #
createClassNameandvClassNameauto-generated functions removed. Creating Components is now possible with simplenew ClassName()and to create virtual nodes that represent componentsvComponent($ClassName, ...). When metaclasses are implemented in Dart, build step will be completely removed, and it will be possible to create virtual nodes withvComponent(ClassName, ...). And it will be quite easy to migrate existing codebase just by removing$prefix in allvComponentcalls.resetTransientSubscriptions,resetSubscriptionsrenamed tocancelTransientSubscriptionsandcancelSubscriptions.- Added
typeproperty check when looking for similar virtual nodes.