@plusscommunities/pluss-core-app 6.1.7-beta.0 → 7.0.0-beta.0
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/dist/module/components/Attachment.js +1 -1
- package/dist/module/components/Attachment.js.map +1 -1
- package/dist/module/components/AudienceSelectorPage.js +1 -1
- package/dist/module/components/AudienceSelectorPage.js.map +1 -1
- package/dist/module/components/CommentReply.js +1 -1
- package/dist/module/components/CommentReply.js.map +1 -1
- package/dist/module/components/CommentSection.js +1 -1
- package/dist/module/components/CommentSection.js.map +1 -1
- package/dist/module/components/DropDownItem.js +1 -1
- package/dist/module/components/DropDownItem.js.map +1 -1
- package/dist/module/components/FormCardSectionOptionLauncher.js +1 -1
- package/dist/module/components/FormCardSectionOptionLauncher.js.map +1 -1
- package/dist/module/components/GenericInput.js +1 -1
- package/dist/module/components/GenericInput.js.map +1 -1
- package/dist/module/components/GenericInputSection.js +1 -1
- package/dist/module/components/GenericInputSection.js.map +1 -1
- package/dist/module/components/Header.js +1 -1
- package/dist/module/components/Header.js.map +1 -1
- package/dist/module/components/ImagePopup.js +1 -1
- package/dist/module/components/ImagePopup.js.map +1 -1
- package/dist/module/components/ImageUploader.js +1 -1
- package/dist/module/components/ImageUploader.js.map +1 -1
- package/dist/module/components/PDFPopup.js +1 -1
- package/dist/module/components/PDFPopup.js.map +1 -1
- package/dist/module/components/PlussChat.js +1 -1
- package/dist/module/components/PlussChat.js.map +1 -1
- package/dist/module/components/PositionedImage.js +1 -1
- package/dist/module/components/PositionedImage.js.map +1 -1
- package/dist/module/components/SharingTools.js +1 -1
- package/dist/module/components/SharingTools.js.map +1 -1
- package/dist/module/components/expo-image-picker-multiple/ImageTile.js +1 -1
- package/dist/module/components/expo-image-picker-multiple/ImageTile.js.map +1 -1
- package/package.json +4 -3
- package/src/components/Attachment.js +1 -1
- package/src/components/AudienceSelectorPage.js +1 -1
- package/src/components/CommentReply.js +1 -1
- package/src/components/CommentSection.js +5 -6
- package/src/components/DropDownItem.js +1 -1
- package/src/components/FormCardSectionOptionLauncher.js +1 -1
- package/src/components/GenericInput.js +1 -1
- package/src/components/GenericInputSection.js +1 -1
- package/src/components/Header.js +1 -1
- package/src/components/ImagePopup.js +1 -1
- package/src/components/ImageUploader.js +1 -1
- package/src/components/PDFPopup.js +1 -1
- package/src/components/PlussChat.js +1 -1
- package/src/components/PositionedImage.js +1 -1
- package/src/components/SharingTools.js +1 -1
- package/src/components/expo-image-picker-multiple/ImageTile.js +1 -1
|
@@ -3,7 +3,7 @@ import { View, Text, TouchableOpacity, Image, StyleSheet } from 'react-native';
|
|
|
3
3
|
import _ from 'lodash';
|
|
4
4
|
import moment from 'moment';
|
|
5
5
|
import { connect } from 'react-redux';
|
|
6
|
-
import { Icon } from '
|
|
6
|
+
import { Icon } from '@rneui/themed';
|
|
7
7
|
import { getPluralS, getThumb300, get1400, getSiteSettingFromState, getFirstName, getPluralOptions } from '../helper';
|
|
8
8
|
import { getMainBrandingColourFromState, TEXT_DARKEST, BG_GREY, TEXT_LIGHT, LINEGREY } from '../colours';
|
|
9
9
|
import { reactionActions, notificationActions } from '../apis';
|
|
@@ -222,8 +222,8 @@ class CommentSection extends Component {
|
|
|
222
222
|
const minTime = this.isEmpty()
|
|
223
223
|
? 0
|
|
224
224
|
: _.maxBy(this.state.comments, c => {
|
|
225
|
-
|
|
226
|
-
|
|
225
|
+
return c.Timestamp;
|
|
226
|
+
}).Timestamp;
|
|
227
227
|
reactionActions.getComments(this.props.entityId, this.props.entityType, minTime).then(res => {
|
|
228
228
|
this.setState(
|
|
229
229
|
{
|
|
@@ -418,9 +418,8 @@ class CommentSection extends Component {
|
|
|
418
418
|
{profilePics.map((c, i) => {
|
|
419
419
|
return <ProfilePic key={c.Id} style={{ marginRight: -10 }} Diameter={20} ProfilePic={c.User.profilePic} />;
|
|
420
420
|
})}
|
|
421
|
-
<Text style={[styles.commentRepliesText, { marginLeft: 20, color: this.props.colourBrandingMain }]}>{`${
|
|
422
|
-
threadComments.length
|
|
423
|
-
} repl${getPluralOptions(threadComments.length, 'y', 'ies')}`}</Text>
|
|
421
|
+
<Text style={[styles.commentRepliesText, { marginLeft: 20, color: this.props.colourBrandingMain }]}>{`${threadComments.length
|
|
422
|
+
} repl${getPluralOptions(threadComments.length, 'y', 'ies')}`}</Text>
|
|
424
423
|
</View>
|
|
425
424
|
);
|
|
426
425
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React, { Component } from 'react';
|
|
2
2
|
import _ from 'lodash';
|
|
3
3
|
import { Text, TouchableOpacity } from 'react-native';
|
|
4
|
-
import { Icon } from '
|
|
4
|
+
import { Icon } from '@rneui/themed';
|
|
5
5
|
import { connect } from 'react-redux';
|
|
6
6
|
import { TEXT_DARK, getMainBrandingColourFromState } from '../colours';
|
|
7
7
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React, { PureComponent } from 'react';
|
|
2
2
|
import { View, Text, TouchableOpacity } from 'react-native';
|
|
3
|
-
import { Icon } from '
|
|
3
|
+
import { Icon } from '@rneui/themed';
|
|
4
4
|
import { connect } from 'react-redux';
|
|
5
5
|
import { TEXT_DARK, TEXT_LIGHT, getMainBrandingColourFromState } from '../colours';
|
|
6
6
|
import { FormCardSection } from './FormCardSection';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React, { Component } from 'react';
|
|
2
2
|
import _ from 'lodash';
|
|
3
3
|
import { TextInput, View, TouchableWithoutFeedback } from 'react-native';
|
|
4
|
-
import { Icon } from '
|
|
4
|
+
import { Icon } from '@rneui/themed';
|
|
5
5
|
import { TEXT_LIGHT, TEXT_DARK, TEXT_DARKEST } from '../colours';
|
|
6
6
|
import { Pl60Icon } from '../fonts';
|
|
7
7
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React, { PureComponent } from 'react';
|
|
2
2
|
import { View, Text, TouchableOpacity } from 'react-native';
|
|
3
|
-
import { Icon } from '
|
|
3
|
+
import { Icon } from '@rneui/themed';
|
|
4
4
|
import { connect } from 'react-redux';
|
|
5
5
|
import { GenericInput } from './GenericInput';
|
|
6
6
|
import { TEXT_DARKEST, COLOUR_GREEN, COLOUR_GRAPEFRUIT, getMainBrandingColourFromState } from '../colours';
|
package/src/components/Header.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React, { Component } from 'react';
|
|
2
2
|
import { Animated, View, StatusBar, Image, Dimensions, TouchableOpacity, Text, Platform } from 'react-native';
|
|
3
|
-
import { Icon } from '
|
|
3
|
+
import { Icon } from '@rneui/themed';
|
|
4
4
|
import { LinearGradient } from 'expo-linear-gradient';
|
|
5
5
|
import { connect } from 'react-redux';
|
|
6
6
|
// import {
|
|
@@ -3,7 +3,7 @@ import _ from 'lodash';
|
|
|
3
3
|
import moment from 'moment';
|
|
4
4
|
import { Dimensions, Modal, TouchableOpacity, StyleSheet, View, ImageBackground, Text } from 'react-native';
|
|
5
5
|
import ImageViewer from 'react-native-image-zoom-viewer';
|
|
6
|
-
import { Icon } from '
|
|
6
|
+
import { Icon } from '@rneui/themed';
|
|
7
7
|
import { TEXT_DARK } from '../colours';
|
|
8
8
|
import { StatusBarHeight, isVideo, get1400 } from '../helper';
|
|
9
9
|
import { Pl60Icon } from '../fonts';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React, { Component } from 'react';
|
|
2
2
|
import { View, ScrollView, TouchableOpacity, Text, Platform, Linking, Modal, Dimensions, StyleSheet, ImageBackground } from 'react-native';
|
|
3
3
|
import { connect } from 'react-redux';
|
|
4
|
-
import { Icon } from '
|
|
4
|
+
import { Icon } from '@rneui/themed';
|
|
5
5
|
import _ from 'lodash';
|
|
6
6
|
import { Camera } from 'expo-camera';
|
|
7
7
|
import * as MediaLibrary from 'expo-media-library';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React, { Component } from 'react';
|
|
2
2
|
import { View, Text, TouchableOpacity, Modal, Dimensions } from 'react-native';
|
|
3
|
-
import { Icon } from '
|
|
3
|
+
import { Icon } from '@rneui/themed';
|
|
4
4
|
import { WebView } from 'react-native-webview';
|
|
5
5
|
import * as FileSystem from 'expo-file-system';
|
|
6
6
|
import * as Sharing from 'expo-sharing';
|
|
@@ -4,7 +4,7 @@ import { GiftedChat, Bubble, MessageText, Send, InputToolbar, Composer } from 'r
|
|
|
4
4
|
import { connect } from 'react-redux';
|
|
5
5
|
import _ from 'lodash';
|
|
6
6
|
import moment from 'moment';
|
|
7
|
-
import { Icon } from '
|
|
7
|
+
import { Icon } from '@rneui/themed';
|
|
8
8
|
import { getBottomSpace } from 'react-native-iphone-x-helper';
|
|
9
9
|
import { Spinner } from './Spinner';
|
|
10
10
|
import { ProfilePic } from './ProfilePic';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React, { Component } from 'react';
|
|
2
2
|
import { View, Animated, PanResponder, Image, StyleSheet } from 'react-native';
|
|
3
|
-
import { Icon } from '
|
|
3
|
+
import { Icon } from '@rneui/themed';
|
|
4
4
|
import { BOXGREY, TEXT_LIGHT } from '../colours';
|
|
5
5
|
|
|
6
6
|
class PositionedImage extends Component {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React, { Component } from 'react';
|
|
2
2
|
import _ from 'lodash';
|
|
3
3
|
import { TouchableOpacity, StyleSheet, View, Text } from 'react-native';
|
|
4
|
-
import { Icon } from '
|
|
4
|
+
import { Icon } from '@rneui/themed';
|
|
5
5
|
import * as FileSystem from 'expo-file-system';
|
|
6
6
|
import * as Sharing from 'expo-sharing';
|
|
7
7
|
import * as MediaLibrary from 'expo-media-library';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { Dimensions, ImageBackground, TouchableHighlight, View, Text, StyleSheet } from 'react-native';
|
|
3
3
|
import * as MediaLibrary from 'expo-media-library';
|
|
4
|
-
import { Icon } from '
|
|
4
|
+
import { Icon } from '@rneui/themed';
|
|
5
5
|
import moment from 'moment';
|
|
6
6
|
import { getThumb300 } from '../../helper';
|
|
7
7
|
|