Get scripting working in CPP runtime. This currently only supports in editor workflow, since some additional backend pieces will be required to get it working in CPP in the runtimes.
Co-authored-by: Philip Chung <philterdesign@gmail.com>
Adds distinct start, end and offset properties for List's follow path as requested by Creative team, to behave similarly to Trim paths. This also fixes an issue where modifying strength wouldn't modify its rotation accordingly.
Co-authored-by: Philip Chung <philterdesign@gmail.com>
Adds support for Triggers in Custom Property Groups. This will allow triggers to be keyframed, which can also be bound to ViewModel triggers. Currently an event has to be fired on the timeline in order to fire a ViewModel trigger via a listener.
Co-authored-by: Philip Chung <philterdesign@gmail.com>
Add support for List virtualization as well as a parameter to the ScrollConstraint to support infinite scrolling (Carousel).
There are important caveats with Virtualization enabled:
The List instances enough artboards to fit into their parent's bounds and when not rendered, they are pooled and reused as necessary. Lists can be non-uniform meaning they can consist of more than 1 Artboard (ViewModel) type
Does not currently work when its parent is set to wrap because more complex computations may result when wrapping
In order to use Carousel, virtualization must also be enabled
Infinite scroll only works in a single direction, not both at the same time
Co-authored-by: Philip Chung <philterdesign@gmail.com>
* publishable mixin
* only show components in nested artboard list
* updates
* icons…
* icons
* change increment to boolean
* remove lib component keys in ext
* remove icons
* flag
* remove `didPublish` property
* get this library
* fix ups
* test fixes
* flag inspcetor icons
* move publishable to custom enums
* tool icon fix
* extra flags
* use resolver to check if nestable
* panel sizes
* regen keys
* panel width core default value
Co-authored-by: Alex Gibson <agibson.uk@gmail.com>
* added file asset loader
* tests for asset loader
* made asset loader rcp
* addressed pr comments
feat(CommandQueue) Added request Ids associated with jobs (#9796) 5aedcdc61f
* added request ids that are associated with callbacks for the command queue
* modified tests to check for request id
feat: TextInput - refactor shapes for runtime text input (#9836) 455374455c
* chore: updating runtime defs
* chore: refactor TextStyle into TextStylePaint
* chore: missed hpp files
* chore: missed cpp files
* chore: fix clone of text_style_paint
* feat: more text input at runtime
* chore: cleanup
* chore: add typed child iterator
* chore: missed files
* chore: running runtime input in editor
* feat: completing integration with editor
* chore: missed file
* chore: fix builds with text disabled
* chore: use child for test
* tests: adding more tests for text input
* chore: missed test file
* chore: more coverage for child iterator
* chore: using clipping on text input
* chore: test text input selected text
* chore: dry up iterator
Co-authored-by: Jonathon Copeland <jcopela4@gmail.com>
Co-authored-by: Luigi Rosso <luigi-rosso@users.noreply.github.com>
Adds a data converter to convert a number to a set of List items.
This converter is a quick way to generate list items. It can be assigned a ViewModel, and the converter will generate ViewModelInstanceListItems using the ViewModel's default instance. The ArtboardComponentList inspector now displays ViewModelPropertyLists and ViewModelPropertyNumbers in the combobox which can be selected or pickwhipped.
Co-authored-by: Philip Chung <philterdesign@gmail.com>
In order to make ViewModelInstanceListItems more generic in preparation for supporting other types of "Lists" in the future, we are removing Artboard specific properties from this core object. Instead, we infer the Artboard based on the ViewModel applied to the List Item (we use the first Artboard we find that has a ViewModel bound to it that matches the List Item's ViewModel)
Co-authored-by: Philip Chung <philterdesign@gmail.com>