More table cell types
Slowly turning more things into variants
More work on tables
- Headers for sortable columns need 3 states: Ascending, descending, and a default state that indicates they can be sorted.
- The page, frame, and any 'slash naming' determine what the assets panel looks like. Gotta keep things sane.
So here’s an instance where some things don’t slot perfectly into variants.
I have 2 properties: Day and Selected. Toggling
Selected on, changes the
Day property to
Selected Day. Changing the
Day property to anything other than
Selected Day toggles the
Selected property off
Nothing’s broken, but this doesn’t feel quite right.
Adding small details. Gotta save longer sessions for the workweek.
I need to avoid making a ton of variants.
Here, instead of making "Label" and "Label + helper text" variants of text fields, textareas, and dropdowns, you can just instance swap what’s inside the "Label" and "Label + helper text" components.
We’ll see if this ends up being the best approach
The variants feature is new and still in flux. They made a change last night and now text overrides will be preserved, even if the components in the set have different text.
More converting things to variants.
Apparently, text changes don’t get preserved unless the components in the set all have the same text.