My plugin goal is to show a modal that responds to a user’s interaction with design system components. For example:
User drags component to their file
Component has constrained property settings in the right sidebar that align to coded component props (this is the only place we want users to customize components)
User makes a change to the component in the left layers
Modal appears with a message “Whoops! That’s not allowed.”
Is this kind of conditional logic in a plugin possible?
What specific problem(s) are you trying to solve?
The users - are they designers in your team? Why do you want to constrain them? To enforce design system rules? Another option is to use things like peer reviewing changes?