2020-06-15 19:35:45 +00:00
|
|
|
import { StyleSheet } from 'react-native';
|
|
|
|
|
|
|
|
import sharedStyles from '../../views/Styles';
|
|
|
|
|
|
|
|
export const ITEM_HEIGHT = 48;
|
|
|
|
|
|
|
|
export default StyleSheet.create({
|
|
|
|
container: {
|
|
|
|
overflow: 'hidden',
|
|
|
|
borderTopLeftRadius: 16,
|
|
|
|
borderTopRightRadius: 16
|
|
|
|
},
|
|
|
|
item: {
|
|
|
|
paddingHorizontal: 16,
|
|
|
|
height: ITEM_HEIGHT,
|
|
|
|
alignItems: 'center',
|
|
|
|
flexDirection: 'row'
|
|
|
|
},
|
|
|
|
separator: {
|
|
|
|
marginHorizontal: 16
|
|
|
|
},
|
|
|
|
content: {
|
|
|
|
paddingTop: 16
|
|
|
|
},
|
[NEW] Add/Create/Remove channel on a team (#3090)
* Added Create Team
* Added actionTypes, actions, ENG strings for Teams and updated NewMessageView
* Added createTeam sagas, createTeam reducer, new Team string and update CreateChannelView
* Remove unnecessary actionTypes, reducers and sagas, e2e tests and navigation to team view
* Minor tweaks
* Show TeamChannelsView only if joined the team
* Minor tweak
* Added AddChannelTeamView
* Added permissions, translations strings for teams, deleteTeamRoom and addTeamRooms, AddExistingChannelView, updated CreateChannelView, TeamChannelsView
* Refactor touch component and update removeRoom and deleteRoom methods
* Minor tweaks
* Minor tweaks for removing channels and addExistingChannelView
* Added missing events and fixed channels list
* Minor tweaks for refactored touch component
* Minor tweaks
* Remove unnecesary changes, update TeamChannelsView, AddExistingChannelView, AddChannelTeamView, createChannel, goRoom and Touchable
* Add screens to ModalStack, events, autoJoin, update createChannel, addRoomsToTeam and Touchable
* Minor tweak
* Update loadMessagesForRoom.js
* Updated schema, tag component, touch, AddChannelTeamView, AddExistingChannelView, ActionSheet Item
* Fix unnecessary changes
* Add i18n, update createChannel, AddExistingChannelTeamView, AddChannelTeamView, RightButton and TeamChannelsView
* Updated styles, added tag story
* Minor tweak
* Minor tweaks
* Auto-join tweak
* Minor tweaks
* Minor tweak on search
* One way to refactor :P
* Next level refactor :)
* Fix create group dm
* Refactor renderItem
* Minor bug fixes
* Fix stories
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2021-05-19 21:14:42 +00:00
|
|
|
titleContainer: {
|
|
|
|
flex: 1
|
|
|
|
},
|
2020-06-15 19:35:45 +00:00
|
|
|
title: {
|
|
|
|
fontSize: 16,
|
|
|
|
marginLeft: 16,
|
|
|
|
...sharedStyles.textRegular
|
|
|
|
},
|
|
|
|
handle: {
|
|
|
|
justifyContent: 'center',
|
2020-07-08 20:45:13 +00:00
|
|
|
alignItems: 'center',
|
|
|
|
paddingBottom: 8
|
2020-06-15 19:35:45 +00:00
|
|
|
},
|
|
|
|
handleIndicator: {
|
|
|
|
width: 40,
|
|
|
|
height: 4,
|
|
|
|
borderRadius: 4,
|
|
|
|
margin: 8
|
|
|
|
},
|
|
|
|
backdrop: {
|
|
|
|
...StyleSheet.absoluteFillObject
|
|
|
|
},
|
|
|
|
bottomSheet: {
|
|
|
|
width: '50%',
|
2022-05-19 16:53:45 +00:00
|
|
|
marginHorizontal: '25%'
|
2020-06-15 19:35:45 +00:00
|
|
|
},
|
|
|
|
button: {
|
|
|
|
marginHorizontal: 16,
|
|
|
|
paddingHorizontal: 14,
|
|
|
|
justifyContent: 'center',
|
|
|
|
height: ITEM_HEIGHT,
|
|
|
|
borderRadius: 2,
|
|
|
|
marginBottom: 12
|
|
|
|
},
|
|
|
|
text: {
|
|
|
|
fontSize: 16,
|
2020-11-30 21:47:05 +00:00
|
|
|
...sharedStyles.textMedium,
|
|
|
|
...sharedStyles.textAlignCenter
|
[NEW] Add/Create/Remove channel on a team (#3090)
* Added Create Team
* Added actionTypes, actions, ENG strings for Teams and updated NewMessageView
* Added createTeam sagas, createTeam reducer, new Team string and update CreateChannelView
* Remove unnecessary actionTypes, reducers and sagas, e2e tests and navigation to team view
* Minor tweaks
* Show TeamChannelsView only if joined the team
* Minor tweak
* Added AddChannelTeamView
* Added permissions, translations strings for teams, deleteTeamRoom and addTeamRooms, AddExistingChannelView, updated CreateChannelView, TeamChannelsView
* Refactor touch component and update removeRoom and deleteRoom methods
* Minor tweaks
* Minor tweaks for removing channels and addExistingChannelView
* Added missing events and fixed channels list
* Minor tweaks for refactored touch component
* Minor tweaks
* Remove unnecesary changes, update TeamChannelsView, AddExistingChannelView, AddChannelTeamView, createChannel, goRoom and Touchable
* Add screens to ModalStack, events, autoJoin, update createChannel, addRoomsToTeam and Touchable
* Minor tweak
* Update loadMessagesForRoom.js
* Updated schema, tag component, touch, AddChannelTeamView, AddExistingChannelView, ActionSheet Item
* Fix unnecessary changes
* Add i18n, update createChannel, AddExistingChannelTeamView, AddChannelTeamView, RightButton and TeamChannelsView
* Updated styles, added tag story
* Minor tweak
* Minor tweaks
* Auto-join tweak
* Minor tweaks
* Minor tweak on search
* One way to refactor :P
* Next level refactor :)
* Fix create group dm
* Refactor renderItem
* Minor bug fixes
* Fix stories
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2021-05-19 21:14:42 +00:00
|
|
|
},
|
|
|
|
rightContainer: {
|
|
|
|
paddingLeft: 12
|
2022-06-22 12:24:25 +00:00
|
|
|
},
|
|
|
|
footerButtonsContainer: {
|
|
|
|
flexDirection: 'row',
|
|
|
|
paddingTop: 16
|
|
|
|
},
|
|
|
|
buttonSeparator: {
|
|
|
|
marginRight: 8
|
2020-06-15 19:35:45 +00:00
|
|
|
}
|
|
|
|
});
|