DirectedEdges / specs-plugin

33 stars 0 forks source link

Difference .visible when comparing prop values #12

Open nathanacurtis opened 1 year ago

nathanacurtis commented 1 year ago

Related to

7

9

Problem statement

While the BOOLEAN prop type is gaining traction, many aging components still use VARIANT props to show hide content, and in many cases this remains the preferred and possibly only way to associate displayed content (like an error) with a prop that also controls visual attributes.

While the artwork does reveal this difference visually, it's not denoted as a difference in exhibit content.

Solution

Add an attribute denoting the difference in the layer's .visible property.

Example

Github primer Note the extra subcomponent line of error/success image

nathanacurtis commented 1 year ago

Curious about @jamesmelzer's opinion on this one.

nathanacurtis commented 8 months ago

Overlaps with #131