@messenger-box/slack-ui-mobile 10.0.2-alpha.5 → 10.0.3-alpha.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/components/AppRootContextProviderComponent.js +2 -5
- package/lib/components/AppRootContextProviderComponent.js.map +1 -1
- package/lib/components/Channels/ChannelsByAlphabeticalAccordion.js +16 -81
- package/lib/components/Channels/ChannelsByAlphabeticalAccordion.js.map +1 -1
- package/lib/components/CustomBottomTabs/CustomBottomTabs.js +60 -75
- package/lib/components/CustomBottomTabs/CustomBottomTabs.js.map +1 -1
- package/lib/components/CustomDrawer/CustomDrawer.js +78 -185
- package/lib/components/CustomDrawer/CustomDrawer.js.map +1 -1
- package/lib/components/Header/Header.js +1 -8
- package/lib/components/Header/Header.js.map +1 -1
- package/lib/components/Header/styles.js +14 -14
- package/lib/components/Header/styles.js.map +1 -1
- package/lib/components/LoadingSpinner/index.js +6 -29
- package/lib/components/LoadingSpinner/index.js.map +1 -1
- package/lib/components/NavigationHeader/InboxNavigationHeader.js +84 -176
- package/lib/components/NavigationHeader/InboxNavigationHeader.js.map +1 -1
- package/lib/components/NavigationHeader/NavigationHeader.js +154 -276
- package/lib/components/NavigationHeader/NavigationHeader.js.map +1 -1
- package/lib/components/NavigationHeader/NavigationHeaderChat.js +25 -66
- package/lib/components/NavigationHeader/NavigationHeaderChat.js.map +1 -1
- package/lib/components/NavigationHeader/index.js +1 -1
- package/lib/components/SlackSearchInput/Suggestion.js +40 -14
- package/lib/components/SlackSearchInput/Suggestion.js.map +1 -1
- package/lib/components/SlackSearchInput/Tag.js +43 -17
- package/lib/components/SlackSearchInput/Tag.js.map +1 -1
- package/lib/components/SlackSearchInput/index.js +57 -114
- package/lib/components/SlackSearchInput/index.js.map +1 -1
- package/lib/components/Tiles/Tiles.js +1 -8
- package/lib/components/Tiles/Tiles.js.map +1 -1
- package/lib/components/Tiles/styles.js +14 -14
- package/lib/components/Tiles/styles.js.map +1 -1
- package/lib/components/VirtualizedScrollView/VirtualizedScrollView.js +27 -17
- package/lib/components/VirtualizedScrollView/VirtualizedScrollView.js.map +1 -1
- package/lib/components/WorkSpaceDrawer/WorkSpaceDrawer.js +86 -193
- package/lib/components/WorkSpaceDrawer/WorkSpaceDrawer.js.map +1 -1
- package/lib/compute.js +222 -234
- package/lib/compute.js.map +1 -1
- package/lib/config/env-config.js +14 -12
- package/lib/config/env-config.js.map +1 -1
- package/lib/constants/Colors.js +52 -56
- package/lib/constants/Colors.js.map +1 -1
- package/lib/constants/Layout.js +2 -2
- package/lib/constants/Layout.js.map +1 -1
- package/lib/constants/device.js +4 -12
- package/lib/constants/device.js.map +1 -1
- package/lib/constants/fonts.js +5 -5
- package/lib/constants/fonts.js.map +1 -1
- package/lib/constants/globalStyles.js +13 -13
- package/lib/constants/globalStyles.js.map +1 -1
- package/lib/constants/preloadImages.js +11 -22
- package/lib/constants/preloadImages.js.map +1 -1
- package/lib/constants/routes.js +37 -43
- package/lib/constants/routes.js.map +1 -1
- package/lib/hooks/useCachedResources.js +32 -18
- package/lib/hooks/useCachedResources.js.map +1 -1
- package/lib/hooks/useColorScheme.js +1 -4
- package/lib/hooks/useColorScheme.js.map +1 -1
- package/lib/hooks/useDisclose.js.map +1 -1
- package/lib/hooks/useDrawerLayout.js +33 -104
- package/lib/hooks/useDrawerLayout.js.map +1 -1
- package/lib/hooks/useExpoNotificationProvider.js +35 -41
- package/lib/hooks/useExpoNotificationProvider.js.map +1 -1
- package/lib/index.js.map +1 -1
- package/lib/locales/index.js +4 -4
- package/lib/locales/index.js.map +1 -1
- package/lib/module.js +1 -4
- package/lib/module.js.map +1 -1
- package/lib/navigation/ActivityNavigator.js +31 -25
- package/lib/navigation/ActivityNavigator.js.map +1 -1
- package/lib/navigation/ExploreNavigator.js +199 -440
- package/lib/navigation/ExploreNavigator.js.map +1 -1
- package/lib/navigation/InboxNavigator.js +69 -128
- package/lib/navigation/InboxNavigator.js.map +1 -1
- package/lib/navigation/SearchTabNavigation.js +60 -138
- package/lib/navigation/SearchTabNavigation.js.map +1 -1
- package/lib/navigation/TeamTabNavigation.js +52 -41
- package/lib/navigation/TeamTabNavigation.js.map +1 -1
- package/lib/screens/Account/AccountScreen.js +51 -239
- package/lib/screens/Account/AccountScreen.js.map +1 -1
- package/lib/screens/Activity/ActivityScreen.js +1 -9
- package/lib/screens/Activity/ActivityScreen.js.map +1 -1
- package/lib/screens/Channels/Add/AddName.js +25 -115
- package/lib/screens/Channels/Add/AddName.js.map +1 -1
- package/lib/screens/Channels/Add/AddVisibility.js +43 -111
- package/lib/screens/Channels/Add/AddVisibility.js.map +1 -1
- package/lib/screens/Channels/AddChannel.js +25 -100
- package/lib/screens/Channels/AddChannel.js.map +1 -1
- package/lib/screens/Channels/Channels.js +65 -190
- package/lib/screens/Channels/Channels.js.map +1 -1
- package/lib/screens/Files/FilesScreen.js +1 -12
- package/lib/screens/Files/FilesScreen.js.map +1 -1
- package/lib/screens/Home/Components/Channels/Channels.js +53 -190
- package/lib/screens/Home/Components/Channels/Channels.js.map +1 -1
- package/lib/screens/Home/Components/DirectChannels/DirectChannels.js +99 -285
- package/lib/screens/Home/Components/DirectChannels/DirectChannels.js.map +1 -1
- package/lib/screens/Home/Components/Teams/Teams.js +34 -122
- package/lib/screens/Home/Components/Teams/Teams.js.map +1 -1
- package/lib/screens/Home/Components/TopCommonSlider/TopCommonSlider.js +36 -59
- package/lib/screens/Home/Components/TopCommonSlider/TopCommonSlider.js.map +1 -1
- package/lib/screens/Home/HomeScreen.js +113 -242
- package/lib/screens/Home/HomeScreen.js.map +1 -1
- package/lib/screens/Home/styles.js +27 -27
- package/lib/screens/Home/styles.js.map +1 -1
- package/lib/screens/Inbox/InboxChannelDetail.js +124 -430
- package/lib/screens/Inbox/InboxChannelDetail.js.map +1 -1
- package/lib/screens/Inbox/InboxDialogMessages.js +21 -4
- package/lib/screens/Inbox/InboxDialogMessages.js.map +1 -1
- package/lib/screens/Inbox/InboxScreen.js +27 -11
- package/lib/screens/Inbox/InboxScreen.js.map +1 -1
- package/lib/screens/Inbox/InboxThreadMessages.js +21 -7
- package/lib/screens/Inbox/InboxThreadMessages.js.map +1 -1
- package/lib/screens/Inbox/InboxThreads.js +21 -6
- package/lib/screens/Inbox/InboxThreads.js.map +1 -1
- package/lib/screens/Login.js +7 -63
- package/lib/screens/Login.js.map +1 -1
- package/lib/screens/Notification/NotificationsScreen.js +3 -5
- package/lib/screens/Notification/NotificationsScreen.js.map +1 -1
- package/lib/screens/Organization/AddWorkspace.js +52 -180
- package/lib/screens/Organization/AddWorkspace.js.map +1 -1
- package/lib/screens/Organization/CreateOrganization.js +20 -80
- package/lib/screens/Organization/CreateOrganization.js.map +1 -1
- package/lib/screens/Organization/InitialChannelOnboarding.js +26 -148
- package/lib/screens/Organization/InitialChannelOnboarding.js.map +1 -1
- package/lib/screens/Organization/InitializeOrganizationChannel.js +23 -76
- package/lib/screens/Organization/InitializeOrganizationChannel.js.map +1 -1
- package/lib/screens/Organization/InviteOrganizationMembers.js +15 -98
- package/lib/screens/Organization/InviteOrganizationMembers.js.map +1 -1
- package/lib/screens/Peoples/AddByEmail.js +33 -130
- package/lib/screens/Peoples/AddByEmail.js.map +1 -1
- package/lib/screens/Peoples/AddFromContacts.js +79 -155
- package/lib/screens/Peoples/AddFromContacts.js.map +1 -1
- package/lib/screens/Peoples/AddPeople.js +127 -236
- package/lib/screens/Peoples/AddPeople.js.map +1 -1
- package/lib/screens/Peoples/People.js +9 -13
- package/lib/screens/Peoples/People.js.map +1 -1
- package/lib/screens/Profile/ProfileScreen.js +25 -83
- package/lib/screens/Profile/ProfileScreen.js.map +1 -1
- package/lib/screens/Saved/SavedScreen.js +1 -9
- package/lib/screens/Saved/SavedScreen.js.map +1 -1
- package/lib/screens/Search/Channels.js +52 -123
- package/lib/screens/Search/Channels.js.map +1 -1
- package/lib/screens/Search/Files.js +5 -24
- package/lib/screens/Search/Files.js.map +1 -1
- package/lib/screens/Search/JumpTo.js +44 -127
- package/lib/screens/Search/JumpTo.js.map +1 -1
- package/lib/screens/Search/People.js +52 -123
- package/lib/screens/Search/People.js.map +1 -1
- package/lib/screens/Search/Recents.js +52 -123
- package/lib/screens/Search/Recents.js.map +1 -1
- package/lib/screens/Search/SearchAddChannel.js +224 -427
- package/lib/screens/Search/SearchAddChannel.js.map +1 -1
- package/lib/screens/Search/SearchChannelPeople.js +86 -230
- package/lib/screens/Search/SearchChannelPeople.js.map +1 -1
- package/lib/screens/Search/SearchScreen.js +39 -41
- package/lib/screens/Search/SearchScreen.js.map +1 -1
- package/lib/screens/Search/styles.js +26 -26
- package/lib/screens/Search/styles.js.map +1 -1
- package/lib/screens/Teams/AddTeam.js +26 -103
- package/lib/screens/Teams/AddTeam.js.map +1 -1
- package/lib/screens/Teams/Components/Channels/Channels.js +54 -88
- package/lib/screens/Teams/Components/Channels/Channels.js.map +1 -1
- package/lib/screens/Teams/Components/Members/Members.js +24 -81
- package/lib/screens/Teams/Components/Members/Members.js.map +1 -1
- package/lib/screens/Teams/Team.js +48 -47
- package/lib/screens/Teams/Team.js.map +1 -1
- package/lib/screens/Teams/Teams.js +59 -140
- package/lib/screens/Teams/Teams.js.map +1 -1
- package/lib/screens/Wiki/WikiScreen.js +1 -12
- package/lib/screens/Wiki/WikiScreen.js.map +1 -1
- package/lib/theme/index.js +0 -2
- package/lib/theme/index.js.map +1 -1
- package/package.json +3 -3
- package/lib/components/AddMemberToChannel/AddMemberToChannel.d.ts +0 -3
- package/lib/components/AddMemberToChannel/index.d.ts +0 -2
- package/lib/components/AppRootContextProviderComponent.d.ts +0 -6
- package/lib/components/CachedImage/consts.d.ts +0 -2
- package/lib/components/CachedImage/index.d.ts +0 -8
- package/lib/components/Channels/ChannelsByAlphabeticalAccordion.d.ts +0 -8
- package/lib/components/Channels/index.d.ts +0 -2
- package/lib/components/CustomBottomTabs/CustomBottomTabs.d.ts +0 -3
- package/lib/components/CustomBottomTabs/index.d.ts +0 -2
- package/lib/components/CustomDrawer/CustomDrawer.d.ts +0 -3
- package/lib/components/CustomDrawer/index.d.ts +0 -2
- package/lib/components/Header/Header.d.ts +0 -8
- package/lib/components/Header/index.d.ts +0 -2
- package/lib/components/Header/styles.d.ts +0 -43
- package/lib/components/LoadingSpinner/index.d.ts +0 -7
- package/lib/components/NavigationComponent/NavigationComponent.d.ts +0 -8
- package/lib/components/NavigationComponent/index.d.ts +0 -1
- package/lib/components/NavigationHeader/InboxNavigationHeader.d.ts +0 -3
- package/lib/components/NavigationHeader/NavigationHeader.d.ts +0 -5
- package/lib/components/NavigationHeader/NavigationHeaderChat.d.ts +0 -3
- package/lib/components/NavigationHeader/index.d.ts +0 -5
- package/lib/components/RootNavigation.d.ts +0 -3
- package/lib/components/Search/AddByEmail.d.ts +0 -3
- package/lib/components/Search/AddChannel.d.ts +0 -3
- package/lib/components/Search/AddFromContacts.d.ts +0 -3
- package/lib/components/Search/AddPeople.d.ts +0 -3
- package/lib/components/Search/AddTeam.d.ts +0 -3
- package/lib/components/Search/Channels.d.ts +0 -3
- package/lib/components/Search/People.d.ts +0 -5
- package/lib/components/SlackSearchInput/Suggestion.d.ts +0 -8
- package/lib/components/SlackSearchInput/Tag.d.ts +0 -8
- package/lib/components/SlackSearchInput/index.d.ts +0 -61
- package/lib/components/Tiles/Tiles.d.ts +0 -7
- package/lib/components/Tiles/index.d.ts +0 -2
- package/lib/components/Tiles/styles.d.ts +0 -40
- package/lib/components/VirtualizedScrollView/VirtualizedScrollView.d.ts +0 -3
- package/lib/components/VirtualizedScrollView/index.d.ts +0 -2
- package/lib/components/WorkSpaceDrawer/WorkSpaceDrawer.d.ts +0 -3
- package/lib/components/WorkSpaceDrawer/index.d.ts +0 -2
- package/lib/components/index.d.ts +0 -11
- package/lib/compute.d.ts +0 -5
- package/lib/config/env-config.d.ts +0 -5
- package/lib/config/index.d.ts +0 -1
- package/lib/constants/Colors.d.ts +0 -61
- package/lib/constants/Layout.d.ts +0 -8
- package/lib/constants/device.d.ts +0 -10
- package/lib/constants/fonts.d.ts +0 -8
- package/lib/constants/globalStyles.d.ts +0 -202
- package/lib/constants/index.d.ts +0 -8
- package/lib/constants/preloadImages.d.ts +0 -14
- package/lib/constants/routes.d.ts +0 -36
- package/lib/hooks/index.d.ts +0 -6
- package/lib/hooks/useCachedResources.d.ts +0 -1
- package/lib/hooks/useColorScheme.d.ts +0 -2
- package/lib/hooks/useColorScheme.web.d.ts +0 -1
- package/lib/hooks/useDisclose.d.ts +0 -5
- package/lib/hooks/useDrawerLayout.d.ts +0 -18
- package/lib/hooks/useExpoNotificationProvider.d.ts +0 -7
- package/lib/hooks/useIsAuthenticated.d.ts +0 -2
- package/lib/index.d.ts +0 -10
- package/lib/locales/en/index.d.ts +0 -3
- package/lib/locales/fr/index.d.ts +0 -2
- package/lib/locales/index.d.ts +0 -1
- package/lib/module.d.ts +0 -3
- package/lib/navigation/AccountNavigator.d.ts +0 -2
- package/lib/navigation/ActivityNavigator.d.ts +0 -2
- package/lib/navigation/ExploreNavigator.d.ts +0 -2
- package/lib/navigation/InboxNavigator.d.ts +0 -2
- package/lib/navigation/InboxTabNavigation.d.ts +0 -3
- package/lib/navigation/MentionsNavigator.d.ts +0 -2
- package/lib/navigation/SearchNavigator.d.ts +0 -2
- package/lib/navigation/SearchTabNavigation.d.ts +0 -3
- package/lib/navigation/TeamTabNavigation.d.ts +0 -3
- package/lib/navigation/index.d.ts +0 -3
- package/lib/screens/Account/AccountScreen.d.ts +0 -3
- package/lib/screens/Account/index.d.ts +0 -2
- package/lib/screens/Activity/ActivityScreen.d.ts +0 -7
- package/lib/screens/Activity/index.d.ts +0 -2
- package/lib/screens/Activity/styles.d.ts +0 -85
- package/lib/screens/Channels/Add/AddName.d.ts +0 -3
- package/lib/screens/Channels/Add/AddVisibility.d.ts +0 -3
- package/lib/screens/Channels/Add/index.d.ts +0 -3
- package/lib/screens/Channels/AddChannel.d.ts +0 -3
- package/lib/screens/Channels/Channels.d.ts +0 -3
- package/lib/screens/Channels/index.d.ts +0 -4
- package/lib/screens/Files/FilesScreen.d.ts +0 -6
- package/lib/screens/Files/index.d.ts +0 -2
- package/lib/screens/Home/Components/Channels/Channels.d.ts +0 -9
- package/lib/screens/Home/Components/Channels/index.d.ts +0 -2
- package/lib/screens/Home/Components/DirectChannels/DirectChannels.d.ts +0 -3
- package/lib/screens/Home/Components/DirectChannels/index.d.ts +0 -2
- package/lib/screens/Home/Components/Teams/Teams.d.ts +0 -7
- package/lib/screens/Home/Components/Teams/index.d.ts +0 -2
- package/lib/screens/Home/Components/TopCommonSlider/TopCommonSlider.d.ts +0 -3
- package/lib/screens/Home/Components/TopCommonSlider/index.d.ts +0 -2
- package/lib/screens/Home/HomeScreen.d.ts +0 -3
- package/lib/screens/Home/index.d.ts +0 -2
- package/lib/screens/Home/styles.d.ts +0 -86
- package/lib/screens/Inbox/InboxChannelDetail.d.ts +0 -3
- package/lib/screens/Inbox/InboxDialogMessages.d.ts +0 -3
- package/lib/screens/Inbox/InboxScreen.d.ts +0 -3
- package/lib/screens/Inbox/InboxThreadMessages.d.ts +0 -3
- package/lib/screens/Inbox/InboxThreads.d.ts +0 -3
- package/lib/screens/Inbox/index.d.ts +0 -3
- package/lib/screens/Login.d.ts +0 -3
- package/lib/screens/Notification/NotificationsScreen.d.ts +0 -2
- package/lib/screens/Notification/index.d.ts +0 -2
- package/lib/screens/Organization/AddWorkspace.d.ts +0 -3
- package/lib/screens/Organization/CreateOrganization.d.ts +0 -3
- package/lib/screens/Organization/InitialChannelOnboarding.d.ts +0 -3
- package/lib/screens/Organization/InitializeOrganizationChannel.d.ts +0 -3
- package/lib/screens/Organization/InviteOrganizationMembers.d.ts +0 -3
- package/lib/screens/Organization/index.d.ts +0 -6
- package/lib/screens/Peoples/AddByEmail.d.ts +0 -3
- package/lib/screens/Peoples/AddFromContacts.d.ts +0 -3
- package/lib/screens/Peoples/AddPeople.d.ts +0 -3
- package/lib/screens/Peoples/People.d.ts +0 -3
- package/lib/screens/Peoples/index.d.ts +0 -5
- package/lib/screens/Profile/ProfileScreen.d.ts +0 -3
- package/lib/screens/Profile/index.d.ts +0 -2
- package/lib/screens/Profile/styles.d.ts +0 -83
- package/lib/screens/Saved/SavedScreen.d.ts +0 -7
- package/lib/screens/Saved/index.d.ts +0 -2
- package/lib/screens/Saved/styles.d.ts +0 -85
- package/lib/screens/Search/Channels.d.ts +0 -6
- package/lib/screens/Search/Files.d.ts +0 -3
- package/lib/screens/Search/JumpTo.d.ts +0 -4
- package/lib/screens/Search/People.d.ts +0 -6
- package/lib/screens/Search/Recents.d.ts +0 -6
- package/lib/screens/Search/SearchAddChannel.d.ts +0 -4
- package/lib/screens/Search/SearchChannelPeople.d.ts +0 -4
- package/lib/screens/Search/SearchScreen.d.ts +0 -5
- package/lib/screens/Search/index.d.ts +0 -5
- package/lib/screens/Search/styles.d.ts +0 -83
- package/lib/screens/Teams/AddTeam.d.ts +0 -3
- package/lib/screens/Teams/Components/Channels/Channels.d.ts +0 -3
- package/lib/screens/Teams/Components/Channels/index.d.ts +0 -2
- package/lib/screens/Teams/Components/Members/Members.d.ts +0 -8
- package/lib/screens/Teams/Components/Members/index.d.ts +0 -2
- package/lib/screens/Teams/Team.d.ts +0 -7
- package/lib/screens/Teams/Teams.d.ts +0 -3
- package/lib/screens/Teams/index.d.ts +0 -4
- package/lib/screens/Wiki/WikiScreen.d.ts +0 -6
- package/lib/screens/Wiki/index.d.ts +0 -2
- package/lib/screens/index.d.ts +0 -16
- package/lib/theme/index.d.ts +0 -11
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { FlatListProps, TextInputProps, TextStyle, ViewStyle } from 'react-native';
|
|
3
|
-
export type Tag = any;
|
|
4
|
-
export type Suggestion = any;
|
|
5
|
-
export type inputProps = TextInputProps;
|
|
6
|
-
export type SlackInputProps = {
|
|
7
|
-
/** array of tags to render */
|
|
8
|
-
tags: Tag[];
|
|
9
|
-
/** array of all possible suggestions that the autocomplete pulls from */
|
|
10
|
-
suggestions?: Suggestion[];
|
|
11
|
-
/** function called when tags needs to be updated */
|
|
12
|
-
onChangeTags: (newTags: Tag[]) => void;
|
|
13
|
-
/** given a tag, returns the string that should be rendered in a Tag */
|
|
14
|
-
labelExtractor: (tag: Tag) => string;
|
|
15
|
-
/** called when a tag is pressed, instead of calling `onChangeTags` with the pressed tag removed */
|
|
16
|
-
onTagPress?: (tag: Tag) => void;
|
|
17
|
-
/** an array of characters that should trigger a new tag and clear the TextInput
|
|
18
|
-
* @default [',', ' ', ';', '\n'] */
|
|
19
|
-
parseChars?: string[];
|
|
20
|
-
/** called when the user types a character in parseChars and should therefore add a new tag
|
|
21
|
-
* if undefined, will call `onChangeTags` with `[...tags, userInputText]`
|
|
22
|
-
*/
|
|
23
|
-
onAddNewTag?: (userInput: string) => void;
|
|
24
|
-
/** whether or not to allow the user to create a Tag that doesn't come from `suggestions`
|
|
25
|
-
* @default true
|
|
26
|
-
*/
|
|
27
|
-
allowCustomTags?: boolean;
|
|
28
|
-
/** called when a suggestion is pressed
|
|
29
|
-
* defaultly calls `onChangeTags` with `[...tags, pressedSuggestion]`
|
|
30
|
-
*/
|
|
31
|
-
onSuggestionPress?: (suggestion: Suggestion) => void;
|
|
32
|
-
/** given a Suggestion, returns a string that can be compared to the user's search */
|
|
33
|
-
suggestionExtractor?: (suggestion: Suggestion) => string;
|
|
34
|
-
/** a function for filtering suggestions based on the TextInput value */
|
|
35
|
-
filterSuggestions?: (text: string) => Suggestion[];
|
|
36
|
-
/** a function that returns a custom tag component */
|
|
37
|
-
renderTag?: (tag: Tag, onPress: (tag: Tag) => void, index?: any) => JSX.Element;
|
|
38
|
-
/** a function that returns a custom suggestion component */
|
|
39
|
-
renderSuggestion?: (suggestion: Suggestion, onPress: (tag: Suggestion) => void, index?: any) => JSX.Element;
|
|
40
|
-
/** any custom TextInputProps */
|
|
41
|
-
inputProps?: Partial<inputProps>;
|
|
42
|
-
/** any additional FlatListProps */
|
|
43
|
-
flatListProps?: Partial<FlatListProps<any>>;
|
|
44
|
-
flatListGluestackUiProps?: any;
|
|
45
|
-
/** style for the outer-most View that houses both the tagContainer and suggestion list */
|
|
46
|
-
containerStyle?: ViewStyle;
|
|
47
|
-
/** styles for the container View that houses the tags and the input */
|
|
48
|
-
tagContainerStyle?: ViewStyle;
|
|
49
|
-
/** styles for the TextInput component */
|
|
50
|
-
inputStyle?: TextStyle;
|
|
51
|
-
/** styles for the FlatList that renders suggestions */
|
|
52
|
-
flatListStyle?: ViewStyle;
|
|
53
|
-
/** styles for the container View of FlatList that renders suggestions */
|
|
54
|
-
flatListContainerStyle?: ViewStyle;
|
|
55
|
-
renderLeftElement?: () => JSX.Element;
|
|
56
|
-
renderRightElement?: () => JSX.Element;
|
|
57
|
-
isSetInputFocusOut?: boolean;
|
|
58
|
-
};
|
|
59
|
-
export declare const SlackInput: ({ tags, suggestions, labelExtractor, suggestionExtractor, onChangeTags, onTagPress, parseChars, allowCustomTags, onAddNewTag, onSuggestionPress, filterSuggestions, renderTag, renderSuggestion, renderLeftElement, renderRightElement, containerStyle, tagContainerStyle, inputStyle, flatListStyle, flatListContainerStyle, inputProps, flatListProps, flatListGluestackUiProps, isSetInputFocusOut, }: SlackInputProps) => React.JSX.Element;
|
|
60
|
-
declare const _default: React.MemoExoticComponent<({ tags, suggestions, labelExtractor, suggestionExtractor, onChangeTags, onTagPress, parseChars, allowCustomTags, onAddNewTag, onSuggestionPress, filterSuggestions, renderTag, renderSuggestion, renderLeftElement, renderRightElement, containerStyle, tagContainerStyle, inputStyle, flatListStyle, flatListContainerStyle, inputProps, flatListProps, flatListGluestackUiProps, isSetInputFocusOut, }: SlackInputProps) => React.JSX.Element>;
|
|
61
|
-
export default _default;
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
declare const styles: {
|
|
2
|
-
container: {
|
|
3
|
-
width: "90%";
|
|
4
|
-
flexDirection: "row";
|
|
5
|
-
alignSelf: "center";
|
|
6
|
-
marginTop: number;
|
|
7
|
-
alignItems: "center";
|
|
8
|
-
};
|
|
9
|
-
filterImage: {
|
|
10
|
-
width: number;
|
|
11
|
-
height: number;
|
|
12
|
-
resizeMode: "cover";
|
|
13
|
-
tintColor: string;
|
|
14
|
-
};
|
|
15
|
-
detailsLabel: {
|
|
16
|
-
color: string;
|
|
17
|
-
fontSize: number;
|
|
18
|
-
marginLeft: number;
|
|
19
|
-
};
|
|
20
|
-
descriptionLabel: {
|
|
21
|
-
fontSize: number;
|
|
22
|
-
lineHeight: number;
|
|
23
|
-
};
|
|
24
|
-
pricesLabel: {
|
|
25
|
-
fontSize: number;
|
|
26
|
-
marginVertical: number;
|
|
27
|
-
};
|
|
28
|
-
oldPriceLabel: {
|
|
29
|
-
color: string;
|
|
30
|
-
textDecorationLine: "line-through";
|
|
31
|
-
};
|
|
32
|
-
newPriceLabel: {
|
|
33
|
-
fontWeight: "bold";
|
|
34
|
-
};
|
|
35
|
-
totalPriceLabel: {
|
|
36
|
-
color: string;
|
|
37
|
-
textDecorationLine: "underline";
|
|
38
|
-
};
|
|
39
|
-
};
|
|
40
|
-
export default styles;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import Header from './Header';
|
|
2
|
-
import Tiles from './Tiles';
|
|
3
|
-
import CustomDrawer from './CustomDrawer';
|
|
4
|
-
import CustomBottomTabs from './CustomBottomTabs';
|
|
5
|
-
import NavigationHeader, { InboxNavigationHeader, chatNavigationHeader } from './NavigationHeader';
|
|
6
|
-
import LoadingSpinner, { LoadingSpinnerDefault } from './LoadingSpinner';
|
|
7
|
-
import WorkSpaceDrawer from './WorkSpaceDrawer';
|
|
8
|
-
import { ChannelsByAlphabeticalAccordion } from './Channels';
|
|
9
|
-
import { SlackInput } from './SlackSearchInput';
|
|
10
|
-
import AppRootContextProviderComponent from './AppRootContextProviderComponent';
|
|
11
|
-
export { LoadingSpinnerDefault, LoadingSpinner, Header, Tiles, NavigationHeader, chatNavigationHeader, CustomDrawer, CustomBottomTabs, WorkSpaceDrawer, InboxNavigationHeader, ChannelsByAlphabeticalAccordion, SlackInput, AppRootContextProviderComponent, };
|
package/lib/compute.d.ts
DELETED
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { IRouteData } from '@common-stack/client-react/lib/interfaces/router.js';
|
|
2
|
-
import { IPageStore } from '@adminide-stack/core/lib/interfaces/page-store.js';
|
|
3
|
-
export declare const slackUiPageStore: IPageStore[];
|
|
4
|
-
declare const filteredRoutes: IRouteData[];
|
|
5
|
-
export { filteredRoutes };
|
package/lib/config/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './env-config';
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
primaryBgColor: string;
|
|
3
|
-
primaryBgLightColor: string;
|
|
4
|
-
primaryButtonPressBgColor: string;
|
|
5
|
-
toggleButtonBgColor: string;
|
|
6
|
-
black: string;
|
|
7
|
-
black20: string;
|
|
8
|
-
black30: string;
|
|
9
|
-
black40: string;
|
|
10
|
-
black50: string;
|
|
11
|
-
black70: string;
|
|
12
|
-
white: string;
|
|
13
|
-
white0: string;
|
|
14
|
-
white10: string;
|
|
15
|
-
blue: string;
|
|
16
|
-
green: string;
|
|
17
|
-
red: string;
|
|
18
|
-
yellow: string;
|
|
19
|
-
blueSend: string;
|
|
20
|
-
grey: string;
|
|
21
|
-
greyIcon: string;
|
|
22
|
-
greyLine: string;
|
|
23
|
-
greyTime: string;
|
|
24
|
-
purple: string;
|
|
25
|
-
slackBlack: string;
|
|
26
|
-
light: {
|
|
27
|
-
text: string;
|
|
28
|
-
background: string;
|
|
29
|
-
tint: string;
|
|
30
|
-
tabIconDefault: string;
|
|
31
|
-
tabIconSelected: string;
|
|
32
|
-
black: string;
|
|
33
|
-
black20: string;
|
|
34
|
-
black30: string;
|
|
35
|
-
black40: string;
|
|
36
|
-
black50: string;
|
|
37
|
-
black70: string;
|
|
38
|
-
white: string;
|
|
39
|
-
white0: string;
|
|
40
|
-
white10: string;
|
|
41
|
-
blue: string;
|
|
42
|
-
green: string;
|
|
43
|
-
red: string;
|
|
44
|
-
yellow: string;
|
|
45
|
-
blueSend: string;
|
|
46
|
-
grey: string;
|
|
47
|
-
greyIcon: string;
|
|
48
|
-
greyLine: string;
|
|
49
|
-
greyTime: string;
|
|
50
|
-
purple: string;
|
|
51
|
-
slackBlack: string;
|
|
52
|
-
};
|
|
53
|
-
dark: {
|
|
54
|
-
text: string;
|
|
55
|
-
background: string;
|
|
56
|
-
tint: string;
|
|
57
|
-
tabIconDefault: string;
|
|
58
|
-
tabIconSelected: string;
|
|
59
|
-
};
|
|
60
|
-
};
|
|
61
|
-
export default _default;
|
package/lib/constants/fonts.d.ts
DELETED
|
@@ -1,202 +0,0 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
activeOpacity: number;
|
|
3
|
-
container: {
|
|
4
|
-
backgroundColor: string;
|
|
5
|
-
flex: number;
|
|
6
|
-
};
|
|
7
|
-
flexCenter: {
|
|
8
|
-
alignItems: string;
|
|
9
|
-
justifyContent: string;
|
|
10
|
-
};
|
|
11
|
-
flexRow: {
|
|
12
|
-
flexDirection: string;
|
|
13
|
-
};
|
|
14
|
-
flexRowCenterAlign: {
|
|
15
|
-
alignItems: string;
|
|
16
|
-
flexDirection: string;
|
|
17
|
-
};
|
|
18
|
-
flexRowCenter: {
|
|
19
|
-
alignItems: string;
|
|
20
|
-
flexDirection: string;
|
|
21
|
-
justifyContent: string;
|
|
22
|
-
};
|
|
23
|
-
flexRowSpace: {
|
|
24
|
-
alignItems: string;
|
|
25
|
-
flexDirection: string;
|
|
26
|
-
justifyContent: string;
|
|
27
|
-
};
|
|
28
|
-
navHeaderStyle: {
|
|
29
|
-
backgroundColor: string;
|
|
30
|
-
borderBottomWidth: number;
|
|
31
|
-
elevation: number;
|
|
32
|
-
};
|
|
33
|
-
containerNavBlocks: {
|
|
34
|
-
height: number;
|
|
35
|
-
justifyContent: string;
|
|
36
|
-
overflow: string;
|
|
37
|
-
};
|
|
38
|
-
flex1: {
|
|
39
|
-
flex: number;
|
|
40
|
-
};
|
|
41
|
-
flex2: {
|
|
42
|
-
flex: number;
|
|
43
|
-
};
|
|
44
|
-
flex3: {
|
|
45
|
-
flex: number;
|
|
46
|
-
};
|
|
47
|
-
flex4: {
|
|
48
|
-
flex: number;
|
|
49
|
-
};
|
|
50
|
-
flex5: {
|
|
51
|
-
flex: number;
|
|
52
|
-
};
|
|
53
|
-
textCiruBold14: {
|
|
54
|
-
fontFamily: string;
|
|
55
|
-
fontSize: number;
|
|
56
|
-
};
|
|
57
|
-
textCiruBold16: {
|
|
58
|
-
fontFamily: string;
|
|
59
|
-
fontSize: number;
|
|
60
|
-
};
|
|
61
|
-
textCiruBold18: {
|
|
62
|
-
fontFamily: string;
|
|
63
|
-
fontSize: number;
|
|
64
|
-
};
|
|
65
|
-
textCiruBook12: {
|
|
66
|
-
fontFamily: string;
|
|
67
|
-
fontSize: number;
|
|
68
|
-
};
|
|
69
|
-
textCiruBook14: {
|
|
70
|
-
fontFamily: string;
|
|
71
|
-
fontSize: number;
|
|
72
|
-
};
|
|
73
|
-
textCiruBook16: {
|
|
74
|
-
fontFamily: string;
|
|
75
|
-
fontSize: number;
|
|
76
|
-
};
|
|
77
|
-
textCiruBook18: {
|
|
78
|
-
fontFamily: string;
|
|
79
|
-
fontSize: number;
|
|
80
|
-
};
|
|
81
|
-
textLarsBold14: {
|
|
82
|
-
fontFamily: string;
|
|
83
|
-
fontSize: number;
|
|
84
|
-
};
|
|
85
|
-
textLarsBold16: {
|
|
86
|
-
fontFamily: string;
|
|
87
|
-
fontSize: number;
|
|
88
|
-
};
|
|
89
|
-
textLarsBold18: {
|
|
90
|
-
fontFamily: string;
|
|
91
|
-
fontSize: number;
|
|
92
|
-
};
|
|
93
|
-
textLarsItalic14: {
|
|
94
|
-
fontFamily: string;
|
|
95
|
-
fontSize: number;
|
|
96
|
-
};
|
|
97
|
-
textLarsItalic16: {
|
|
98
|
-
fontFamily: string;
|
|
99
|
-
fontSize: number;
|
|
100
|
-
};
|
|
101
|
-
textLarsItalic18: {
|
|
102
|
-
fontFamily: string;
|
|
103
|
-
fontSize: number;
|
|
104
|
-
};
|
|
105
|
-
textLarsThin14: {
|
|
106
|
-
fontFamily: string;
|
|
107
|
-
fontSize: number;
|
|
108
|
-
};
|
|
109
|
-
textLarsThin16: {
|
|
110
|
-
fontFamily: string;
|
|
111
|
-
fontSize: number;
|
|
112
|
-
};
|
|
113
|
-
textLarsThin18: {
|
|
114
|
-
fontFamily: string;
|
|
115
|
-
fontSize: number;
|
|
116
|
-
};
|
|
117
|
-
spacer24: {
|
|
118
|
-
height: number;
|
|
119
|
-
};
|
|
120
|
-
spacer48: {
|
|
121
|
-
height: number;
|
|
122
|
-
};
|
|
123
|
-
spacer64: {
|
|
124
|
-
height: number;
|
|
125
|
-
};
|
|
126
|
-
spacer88: {
|
|
127
|
-
height: number;
|
|
128
|
-
};
|
|
129
|
-
spacer128: {
|
|
130
|
-
height: number;
|
|
131
|
-
};
|
|
132
|
-
mB8: {
|
|
133
|
-
marginBottom: number;
|
|
134
|
-
};
|
|
135
|
-
mL8: {
|
|
136
|
-
marginLeft: number;
|
|
137
|
-
};
|
|
138
|
-
mL16: {
|
|
139
|
-
marginLeft: number;
|
|
140
|
-
};
|
|
141
|
-
mR8: {
|
|
142
|
-
marginRight: number;
|
|
143
|
-
};
|
|
144
|
-
mR16: {
|
|
145
|
-
marginRight: number;
|
|
146
|
-
};
|
|
147
|
-
mR24: {
|
|
148
|
-
marginRight: number;
|
|
149
|
-
};
|
|
150
|
-
mR48: {
|
|
151
|
-
marginRight: number;
|
|
152
|
-
};
|
|
153
|
-
mR64: {
|
|
154
|
-
marginRight: number;
|
|
155
|
-
};
|
|
156
|
-
mT4: {
|
|
157
|
-
marginTop: number;
|
|
158
|
-
};
|
|
159
|
-
mT8: {
|
|
160
|
-
marginTop: number;
|
|
161
|
-
};
|
|
162
|
-
mT16: {
|
|
163
|
-
marginTop: number;
|
|
164
|
-
};
|
|
165
|
-
mH24: {
|
|
166
|
-
marginHorizontal: number;
|
|
167
|
-
};
|
|
168
|
-
mV16: {
|
|
169
|
-
marginVertical: number;
|
|
170
|
-
};
|
|
171
|
-
mV24: {
|
|
172
|
-
marginVertical: number;
|
|
173
|
-
};
|
|
174
|
-
mV32: {
|
|
175
|
-
marginVertical: number;
|
|
176
|
-
};
|
|
177
|
-
p4: {
|
|
178
|
-
padding: number;
|
|
179
|
-
};
|
|
180
|
-
p8: {
|
|
181
|
-
padding: number;
|
|
182
|
-
};
|
|
183
|
-
p16: {
|
|
184
|
-
padding: number;
|
|
185
|
-
};
|
|
186
|
-
p24: {
|
|
187
|
-
padding: number;
|
|
188
|
-
};
|
|
189
|
-
pH4: {
|
|
190
|
-
paddingHorizontal: number;
|
|
191
|
-
};
|
|
192
|
-
pH8: {
|
|
193
|
-
paddingHorizontal: number;
|
|
194
|
-
};
|
|
195
|
-
pH16: {
|
|
196
|
-
paddingHorizontal: number;
|
|
197
|
-
};
|
|
198
|
-
pH24: {
|
|
199
|
-
paddingHorizontal: number;
|
|
200
|
-
};
|
|
201
|
-
};
|
|
202
|
-
export default _default;
|
package/lib/constants/index.d.ts
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import colors from './Colors';
|
|
2
|
-
import device from './device';
|
|
3
|
-
import fonts from './fonts';
|
|
4
|
-
import gStyle from './globalStyles';
|
|
5
|
-
import images from './preloadImages';
|
|
6
|
-
import Layout from './Layout';
|
|
7
|
-
import { NavigationRoutes } from './routes';
|
|
8
|
-
export { colors, device, fonts, gStyle, images, NavigationRoutes, Layout };
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
user: any;
|
|
3
|
-
contrastAdjustment: any;
|
|
4
|
-
notificationBellOff: any;
|
|
5
|
-
pushNotification: any;
|
|
6
|
-
send: any;
|
|
7
|
-
saveForLater: any;
|
|
8
|
-
chat: any;
|
|
9
|
-
comment: any;
|
|
10
|
-
filter: any;
|
|
11
|
-
downArrow: any;
|
|
12
|
-
rightArrow: any;
|
|
13
|
-
};
|
|
14
|
-
export default _default;
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
export declare enum NavigationRoutes {
|
|
2
|
-
Login = "MainStack.Login",
|
|
3
|
-
Logout = "MainStack.Logout",
|
|
4
|
-
SignUp = "MainStack.SignUp",
|
|
5
|
-
Home = "MainStack.Layout.Home",
|
|
6
|
-
Inbox = "MainStack.Layout.Inbox",
|
|
7
|
-
Activity = "MainStack.Layout.Activity",
|
|
8
|
-
Explore = "MainStack.Layout.Home.Explore",
|
|
9
|
-
Saved = "MainStack.Layout.Saved",
|
|
10
|
-
AddWorkSpace = "MainStack.AddWorkSpace",
|
|
11
|
-
CreateOrganization = "MainStack.CreateOrganization",
|
|
12
|
-
InviteOrganizationMembers = "MainStack.InviteOrganizationMembers",
|
|
13
|
-
InitializeOrganizationChannel = "MainStack.InitializeOrganizationChannel",
|
|
14
|
-
InitialChannelOnboarding = "MainStack.InitialChannelOnboarding",
|
|
15
|
-
UserAccount = "MainStack.UserAccount",
|
|
16
|
-
Profile = "MainStack.Profile",
|
|
17
|
-
Search = "MainStack.Search",
|
|
18
|
-
DialogMessages = "MainStack.Inbox.DialogMessages",
|
|
19
|
-
InboxChannelDetail = "MainStack.Inbox.ChannelDetail",
|
|
20
|
-
SearchAddChannel = "MainStack.SearchAddChannel",
|
|
21
|
-
Messages = "MainStack.Message",
|
|
22
|
-
JumpTo = "MainStack.JumpTo",
|
|
23
|
-
Threads = "MainStack.Inbox.Threads",
|
|
24
|
-
ThreadMessages = "MainStack.Inbox.ThreadMessages",
|
|
25
|
-
Channels = "MainStack.Channels",
|
|
26
|
-
AddChannel = "MainStack.AddChannel",
|
|
27
|
-
AddChannelVisibility = "MainStack.AddChannelVisibility",
|
|
28
|
-
Teams = "MainStack.Teams",
|
|
29
|
-
ViewTeam = "MainStack.Team",
|
|
30
|
-
AddPeople = "MainStack.AddPeople",
|
|
31
|
-
AddPeopleByEmail = "MainStack.AddPeopleByEmail",
|
|
32
|
-
AddPeopleFromContacts = "MainStack.AddPeopleFromContacts",
|
|
33
|
-
SearchChannelPeople = "MainStack.SearchChannelPeople",
|
|
34
|
-
Peoples = "MainStack.Peoples",
|
|
35
|
-
AddTeam = "MainStack.AddTeam"
|
|
36
|
-
}
|
package/lib/hooks/index.d.ts
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import useCachedResources from './useCachedResources';
|
|
2
|
-
import useColorScheme from './useColorScheme';
|
|
3
|
-
import { DrawerLayoutContext, DrawerLayoutProvider, useDrawerLayout } from './useDrawerLayout';
|
|
4
|
-
import { ExpoNotificationContext, ExpoNotificationProvider, useExpoNotification } from './useExpoNotificationProvider';
|
|
5
|
-
import { useDisclose } from './useDisclose';
|
|
6
|
-
export { useColorScheme, useCachedResources, ExpoNotificationContext, ExpoNotificationProvider, useExpoNotification, DrawerLayoutContext, DrawerLayoutProvider, useDrawerLayout, useDisclose, };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export default function useCachedResources(): boolean;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export default function useColorScheme(): string;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export declare const DrawerLayoutContext: React.Context<{
|
|
3
|
-
open: boolean;
|
|
4
|
-
setOpen: () => void;
|
|
5
|
-
appConfiguredRoutes: {};
|
|
6
|
-
swipeEnabled: boolean;
|
|
7
|
-
setSwipeEnabled: () => void;
|
|
8
|
-
drawerContent: any;
|
|
9
|
-
setDrawerContent: () => void;
|
|
10
|
-
headerAnimationOffsetValue: number;
|
|
11
|
-
setHeaderAnimationOffsetValue: () => void;
|
|
12
|
-
orgName: string;
|
|
13
|
-
setOrgName: () => void;
|
|
14
|
-
organizationDetail: string;
|
|
15
|
-
setOrganizationDetail: () => void;
|
|
16
|
-
}>;
|
|
17
|
-
export declare function DrawerLayoutProvider({ children, configuredRoutes, defaultDrawer }: any): React.JSX.Element;
|
|
18
|
-
export declare function useDrawerLayout(): any;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export declare const ExpoNotificationContext: React.Context<{
|
|
3
|
-
expoToken: any;
|
|
4
|
-
setExpoToken: () => void;
|
|
5
|
-
}>;
|
|
6
|
-
export declare function ExpoNotificationProvider({ children }: any): React.JSX.Element;
|
|
7
|
-
export declare function useExpoNotification(): any;
|
package/lib/index.d.ts
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { Feature } from '@common-stack/client-react';
|
|
2
|
-
export * from './navigation';
|
|
3
|
-
export * from './constants';
|
|
4
|
-
export * from './screens';
|
|
5
|
-
export * from './components';
|
|
6
|
-
export * from './hooks';
|
|
7
|
-
export * from './theme';
|
|
8
|
-
export * from './locales';
|
|
9
|
-
declare const _default: Feature;
|
|
10
|
-
export default _default;
|
package/lib/locales/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
package/lib/module.d.ts
DELETED