-
-
Notifications
You must be signed in to change notification settings - Fork 3
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
Release Alpha.0 #10
Comments
Many names for the layout have been suggested. I am going to list them here. <Flex/>
<Grid/>
<Container/> I would suggest creating 3 base elements for layout. However With taffy's roadmap mentioning support for more layout algorithms in future, it makes sense to think of this more broadly. For example <Row/>
<Column/> This can in future fit well with the above, Flex, Grid, Container combo where Grid can be switched between css/morphorm grid. With <Table/> And <HStack/>
<VStack/>
<ZStack/> <Box/> This is also a great option. Short & Concise. Already used by many web UI libraries in their design systems. However it's function varies from what we want here. For example https://theme-ui.com/components/box defined box as
If we want to stick to the nativescript way of naming layouts, this seems most suitable I think. <div/> Since mason & taffy both want to follow the web specification for flex & grid, just calling it a And here's a list of other name suggestions that were discussed upon: <TriniDiv/>
<Layout/>
<FlexLayout/>
<Section/>
<DiView/>
<MasonView/>
<Block/>
<Structure/>
<StyledView/>
<LayoutView/>
<FlexView/>
<GridView/>
<Mason/>
<NSDiv/> |
These look pretty sweet <Flex/>
<Grid/>
<Container/> |
Tests WIP here: https://github.com/herefishyfish/nativescript-mason |
The text was updated successfully, but these errors were encountered: