-
Notifications
You must be signed in to change notification settings - Fork 11
feat(CSSTable): Add CSS variable table #54
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
dfaddc2 to
ced3f2a
Compare
3b3705b to
df1fe65
Compare
thatblindgeye
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some initial comments below
| type Value = { | ||
| name: string | ||
| value: string | ||
| values?: string[] | ||
| } | ||
|
|
||
| type FileList = { | ||
| [key: string]: { | ||
| name: string | ||
| value: string | ||
| values?: Value[] | ||
| } | ||
| } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For Value, could we instead type the values property as Value[], then in FileList type the key as Value?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| <List isPlain> | ||
| <ListItem>{property}</ListItem> | ||
| {values.map((entry: string) => ( | ||
| <ListItem key={entry} icon={<LevelUpAltIcon className="rotate-90-deg" />}> | ||
| {entry} | ||
| </ListItem> | ||
| ))} | ||
| </List> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This can be a followup, but we should revisit how we're connecting these items. Right now in Org they're rendered as separate list siblings which I don't thin conveys the relationship well. Either having each item be a nested list of the previous item, or maybe a tree view, might help convey that relationship better.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tucking this here so it doesn't get forgotten: #57
265eaa7 to
58d5b7a
Compare
wise-king-sullyman
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is great 💪
I have a handful of nits but nothing big:
|
Addressed Austin feedback! |
Co-authored-by: Austin Sullivan <[email protected]>
wise-king-sullyman
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🥳
|
🎉 This PR is included in version 1.7.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |

To run:
Can test at http://localhost:${yourPortHere}/get-started/contribute
Questions:
It seems expand all isn't be used - do we need this? I dropped it.
If types look bizarre, let me know. I am basing it on the data I am seeing, but totally possible it's off. Original wasn't typed. I don't really know what these types need to be.
Do we need any other backend here? I got this hooked up to pull in old docs format.
Screenshot