Weekly Sync #34 - Aug 25, 2021 #1651
Replies: 1 comment 1 reply
-
Topics suggestionsDocumentationCreate a documentation website and use sui-studio as a development tool only. This will:
Maybe we can use:
Missing points that we can add:
Some examples: Style systemCheck what changes we can make to improve our style system (Sass). This will:
Somo ideas:
<Box my={2}>
<Button mr={4}>
Click me!
</Button>
<Typography as="p" variant="p1">
hello
</Typography>
</Box> TypesMaybe we can start adding TypeScript support like we are doing in sui-tools. This will:
Components APIUse a compound components based approach to create components. This will:
Most of our current components API is like: <Modal
isOpen={isOpen}
onClose={onClose}
title="Title"
closeIcon={<Icon />}
/> When it could be something like: <Modal isOpen={isOpen} onClose={onClose}>
<ModalHeader>Title</ModalHeader>
<ModalCloseButton />
<ModalContent>
<Lorem count={2} />
</ModalContent>
<ModalFooter>
<Button onClick={onClose}>
Close
</Button>
</ModalFooter>
</Modal> We could also set some agreements and naming conventions so getting used to the components API would be easier. For example, Somo examples: CSS ResetReduce browser inconsistencies in things like default line heights, margins and font sizes of headings, and so on. This will:
This is how chakra-ui does it because uses CSSinJS: <CSSReset /> We could have just a file instead and import it: @import '~@s-ui/sui-components/lib/reset'; AccessibilityWe should make our components usable by as many people as possible and try to provide first class UX, in order to do so we could: |
Beta Was this translation helpful? Give feedback.
-
Notes from our last Weekly meeting
Agenda
see: 5196ed1
Beta Was this translation helpful? Give feedback.
All reactions