Library import doesn't bring the view model behind a nested Stateful Component

Editor version: 0.8.5804

Platform: macOS

Setup

In my Library file:

  • `Arrow` is an artboard with a view model `ArrowVM` containing a boolean `isUp`, which drives the arrow direc /tion through the Arrow state machine. It's marked as a component, and `isUp` is exposed as an Input property in the Properties section of the inspector.

  • `ChipSmall` is an artboard with a view model `ChipVM` containing `amount` (string), `unit` (string) and `isPositive` (boolean). It nests `Arrow` as a stateful component, with `isPositive` bound to Arrow's exposed `isUp` input. `ChipSmall` is also marked as a component, with its properties exposed.

Everything works correctly inside the Library file.


Steps to reproduce

  1. Publish the library.

  2. In a consuming file, add an instance of `ChipSmall` from the Library.

  3. Check which view models landed in the consuming file's Data panel.

  4. Change `amount`, `unit`, and `isPositive`


Expected

`ChipSmall` works the same way it does in the Library file.

`ArrowVM` is an implementation detail of the `Arrow` component. The consuming file shouldn't need to know it exists, so it should either be imported along with the component or not be required at all.

Actual

Only `ChipVM` is imported. `amount` and `unit` work as expected. `ArrowVM` is not imported and changing `isPositive` (which is internally bound to `isUp`) has no effect.

There's nothing on the instance indicating an unresolved reference. The symptom looks like a broken state machine inside `Arrow`. It fails identically in the editor preview and at runtime.

Detaching the component makes it work again, and manually importing `ArrowVM` from the Library into the consuming file fixes it completely, with no other changes.

This worked about three weeks ago. Importing `ChipSmall` brought `ArrowVM` along with it, and the arrow responded immediately.


thrive_checkin_t3_chip.rev