jpmorganchase / salt-ds

React UI components built with a focus on accessibility, customization and ease-of-use
https://www.saltdesignsystem.com
Apache License 2.0
132 stars 89 forks source link

Define developer principles #1131

Open joshwooding opened 1 year ago

joshwooding commented 1 year ago

Whilst building components there are certain things we want to keep consistent or think about when designing APIs. We should document these and share them.

cc @jpmorganchase/salt-dev

el-dav commented 1 year ago

Some potential topics:

libertymayc commented 1 year ago

CSS standards is one we have discussed a lot, I should move over the confluence notes(/stuff in my head :P) to GitHub as well, and we should discuss overrides in more detail when/if we start encouraging it, and +1 on discussing the last point there too

el-dav commented 1 year ago

CSS standards is one we have discussed a lot, I should move over the confluence notes(/stuff in my head :P) to GitHub as well, and we should discuss overrides in more detail when/if we start encouraging it, and +1 on discussing the last point there too

Yeah sorry, I was including topics for documenting on github in case of new starters or outside contributions

el-dav commented 1 year ago

Created an RFC with a potential implementation of responsive props: https://github.com/jpmorganchase/salt-ds/pull/1158

el-dav commented 1 year ago
el-dav commented 1 year ago
el-dav commented 1 year ago
el-dav commented 1 year ago
el-dav commented 1 year ago
el-dav commented 1 year ago
el-dav commented 1 year ago
el-dav commented 1 year ago
el-dav commented 1 year ago
el-dav commented 1 year ago
el-dav commented 1 year ago
el-dav commented 1 year ago
joshwooding commented 1 year ago
  • Should we have a primitive <Box /> component

    • To allow consumers to hook into our design tokens
    • E.g. in Braid, Chakra UI, or MUI
    • If not, how can we make it easy for consumers to stick to our design principles in their own components?

@el-dav I think this is a separate discussion and deserves its own issue