orangy
interactionSource
. Indication
only allows to draw something, but not change how component renders itself, e.g. pseudo-3d button actually moving slightly when pressed, or a component shaking a bit if attempted to interact with it, doing component-specific hover effects, etc. I wonder if anyone already gave it a thought and have ideas/approaches on how to design it?Zach Klippenstein (he/him) [MOD]
04/16/2021, 3:05 PMZach Klippenstein (he/him) [MOD]
04/16/2021, 3:05 PMZach Klippenstein (he/him) [MOD]
04/16/2021, 3:07 PMIndication
returned a Modifier
or something though imo (to be fair, i haven’t actually done much with this part of the api, but it would be nice to not have to implement things like borders from scratch when there are so many nice modifiers)orangy
ButtonStyle
specifying how a button is being presented (colors, corner radius, etc) and then being able to specify a “style-set” for a button with different styles for different states. This way component defines a “protocol” for how to configure it in different states/interactions/transitions, and you could define some “theme” for your app (especially, games and desktop apps). But I didn’t settle on something specific yet and would like to hear different opinions.Adam Powell
04/16/2021, 3:19 PMAdam Powell
04/16/2021, 3:34 PMAdam Powell
04/16/2021, 3:36 PMAdam Powell
04/16/2021, 3:40 PMButton
component that encompasses every potentially styleable attribute of the concept of "button" historically wasn't worth the complexity it introduced in both understandability at any given snapshot in time and maintainability over time.Kirill Grouchnikov
04/16/2021, 3:41 PMKirill Grouchnikov
04/16/2021, 3:44 PMKirill Grouchnikov
04/16/2021, 3:44 PMKirill Grouchnikov
04/16/2021, 3:46 PMKirill Grouchnikov
04/16/2021, 3:46 PMKirill Grouchnikov
04/16/2021, 3:48 PMKirill Grouchnikov
04/16/2021, 3:52 PMAdam Powell
04/16/2021, 3:54 PMAdam Powell
04/16/2021, 3:55 PM