Nnnn conditionnally export images and artboards # Description add support for three features: - set images as guide layers - select which additional artboards are exported with the riv file - select which additional images are exported with the riv file All behind a feature flag until @alxgibsn can work on the UI <img width="274" alt="artboard_include_in_export" src="https://github.com/user-attachments/assets/70248217-466c-417e-a44a-051ea5176cc2" /> <img width="277" alt="image_include_in_export" src="https://github.com/user-attachments/assets/f500183c-f099-46c5-a633-c9362b66ee94" /> <img width="322" alt="set_guide_image_layers" src="https://github.com/user-attachments/assets/6566e9c9-f38d-48a0-a0ba-f60f6c1c6651" /> Diffs= c4dcac3232 Nnnn conditionnally export images and artboards (#9376) Co-authored-by: hernan <hernan@rive.app>
diff --git a/.rive_head b/.rive_head index 5739bfc..a47953f 100644 --- a/.rive_head +++ b/.rive_head
@@ -1 +1 @@ -55918df4047d08c6a6adcdd18f49a010b8e05724 +c4dcac323291c2ed9f26752f0d3fd2c0ef0e9a27
diff --git a/dev/defs/artboard.json b/dev/defs/artboard.json index bb52736..aa198df 100644 --- a/dev/defs/artboard.json +++ b/dev/defs/artboard.json
@@ -99,6 +99,26 @@ }, "description": "A view model instance attached for editing purposes.", "runtime": false + }, + "isLibraryComponent": { + "type": "bool", + "initialValue": "false", + "key": { + "int": 792, + "string": "islibrarycomponent" + }, + "description": "A file can publish updates to library components.", + "runtime": false + }, + "includeInExport": { + "type": "bool", + "initialValue": "false", + "key": { + "int": 802, + "string": "includeinexport" + }, + "description": "If artboard should be exported", + "runtime": false } } } \ No newline at end of file
diff --git a/dev/defs/assets/file_asset.json b/dev/defs/assets/file_asset.json index 3173b81..74a3f18 100644 --- a/dev/defs/assets/file_asset.json +++ b/dev/defs/assets/file_asset.json
@@ -55,6 +55,16 @@ }, "description": "Set the base url of our cdn.", "coop": false + }, + "includeInExport": { + "type": "bool", + "initialValue": "false", + "key": { + "int": 801, + "string": "includeinexport" + }, + "description": "Whether to export the asset regardless of it being used.", + "runtime": false } } -} +} \ No newline at end of file