@plusscommunities/pluss-core-app 8.0.9 → 8.0.11
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.
|
@@ -3,7 +3,6 @@ import _ from "lodash";
|
|
|
3
3
|
import { View, Text, Dimensions } from "react-native";
|
|
4
4
|
import { connect } from "react-redux";
|
|
5
5
|
import { FontAwesome } from "@expo/vector-icons";
|
|
6
|
-
y;
|
|
7
6
|
import { COLOUR_GREEN, TEXT_DARK, getMainBrandingColourFromState } from "../colours";
|
|
8
7
|
import { MiddlePopup } from "./MiddlePopup";
|
|
9
8
|
import { InlineButton } from "./InlineButton";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","PureComponent","_","View","Text","Dimensions","connect","FontAwesome","
|
|
1
|
+
{"version":3,"names":["React","PureComponent","_","View","Text","Dimensions","connect","FontAwesome","COLOUR_GREEN","TEXT_DARK","getMainBrandingColourFromState","MiddlePopup","InlineButton","SCREEN_WIDTH","get","width","WarningPopup","render","createElement","visible","props","onClose","style","styles","popup","padHorizontal","paddingHorizontal","isSuccess","icon","name","text","confirmText","marginTop","infoText","infoTextStyle","onPress","color","ctaButton","colourBrandingMain","button","textStyle","closeText","large","isUndefined","buttonText","maxWidth","paddingVertical","paddingBottom","fontSize","fontFamily","lineHeight","textAlign","mapStateToProps","state","warningPopup"],"sources":["WarningPopup.js"],"sourcesContent":["import React, { PureComponent } from \"react\";\nimport _ from \"lodash\";\nimport { View, Text, Dimensions } from \"react-native\";\nimport { connect } from \"react-redux\";\nimport { FontAwesome } from \"@expo/vector-icons\";\nimport {\n\tCOLOUR_GREEN,\n\tTEXT_DARK,\n\tgetMainBrandingColourFromState,\n} from \"../colours\";\nimport { MiddlePopup } from \"./MiddlePopup\";\nimport { InlineButton } from \"./InlineButton\";\n\nconst SCREEN_WIDTH = Dimensions.get(\"window\").width;\n\nclass WarningPopup extends PureComponent {\n\trender() {\n\t\treturn (\n\t\t\t<MiddlePopup\n\t\t\t\tvisible={this.props.visible}\n\t\t\t\tonClose={this.props.onClose}\n\t\t\t\tstyle={[\n\t\t\t\t\tstyles.popup,\n\t\t\t\t\tthis.props.padHorizontal && { paddingHorizontal: 16 },\n\t\t\t\t]}\n\t\t\t>\n\t\t\t\t{this.props.isSuccess && (\n\t\t\t\t\t<FontAwesome style={styles.icon} name=\"circle-check\" />\n\t\t\t\t)}\n\t\t\t\t<Text style={styles.text}>{this.props.confirmText}</Text>\n\t\t\t\t<View style={{ marginTop: 16, paddingHorizontal: 24 }}>\n\t\t\t\t\t<Text style={[styles.infoText, this.props.infoTextStyle]}>\n\t\t\t\t\t\t{this.props.infoText}\n\t\t\t\t\t</Text>\n\t\t\t\t</View>\n\t\t\t\t<InlineButton\n\t\t\t\t\tonPress={this.props.onClose}\n\t\t\t\t\tcolor={this.props.ctaButton ? this.props.colourBrandingMain : \"#fff\"}\n\t\t\t\t\tstyle={styles.button}\n\t\t\t\t\ttextStyle={[\n\t\t\t\t\t\tstyles.closeText,\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tcolor: this.props.ctaButton\n\t\t\t\t\t\t\t\t? \"#fff\"\n\t\t\t\t\t\t\t\t: this.props.colourBrandingMain,\n\t\t\t\t\t\t},\n\t\t\t\t\t]}\n\t\t\t\t\tlarge\n\t\t\t\t>\n\t\t\t\t\t{!_.isUndefined(this.props.buttonText)\n\t\t\t\t\t\t? this.props.buttonText\n\t\t\t\t\t\t: \"Close\"}\n\t\t\t\t</InlineButton>\n\t\t\t</MiddlePopup>\n\t\t);\n\t}\n}\n\nconst styles = {\n\tpopup: {\n\t\twidth: \"auto\",\n\t\tmaxWidth: SCREEN_WIDTH - 34,\n\t\tpaddingVertical: 16,\n\t},\n\ticon: {\n\t\tmarginTop: 20,\n\t\tpaddingBottom: 16,\n\t\tfontSize: 52,\n\t\tcolor: COLOUR_GREEN,\n\t},\n\ttext: {\n\t\tfontFamily: \"sf-bold\",\n\t\tfontSize: 24,\n\t\tlineHeight: 24,\n\t\tcolor: TEXT_DARK,\n\t\ttextAlign: \"center\",\n\t\tmarginTop: 8,\n\t},\n\tinfoText: {\n\t\tfontFamily: \"sf-regular\",\n\t\tfontSize: 16,\n\t\tlineHeight: 22,\n\t\tcolor: TEXT_DARK,\n\t\ttextAlign: \"left\",\n\t},\n\tbutton: {\n\t\twidth: 130,\n\t\tmarginTop: 20,\n\t},\n\tcloseText: {\n\t\tfontFamily: \"sf-medium\",\n\t\tfontSize: 15,\n\t},\n};\n\nconst mapStateToProps = (state) => {\n\treturn {\n\t\tcolourBrandingMain: getMainBrandingColourFromState(state),\n\t};\n};\n\nconst warningPopup = connect(mapStateToProps, {})(WarningPopup);\nexport { warningPopup as WarningPopup };\n"],"mappings":"AAAA,OAAOA,KAAK,IAAIC,aAAa,QAAQ,OAAO;AAC5C,OAAOC,CAAC,MAAM,QAAQ;AACtB,SAASC,IAAI,EAAEC,IAAI,EAAEC,UAAU,QAAQ,cAAc;AACrD,SAASC,OAAO,QAAQ,aAAa;AACrC,SAASC,WAAW,QAAQ,oBAAoB;AAChD,SACCC,YAAY,EACZC,SAAS,EACTC,8BAA8B,QACxB,YAAY;AACnB,SAASC,WAAW,QAAQ,eAAe;AAC3C,SAASC,YAAY,QAAQ,gBAAgB;AAE7C,MAAMC,YAAY,GAAGR,UAAU,CAACS,GAAG,CAAC,QAAQ,CAAC,CAACC,KAAK;AAEnD,MAAMC,YAAY,SAASf,aAAa,CAAC;EACxCgB,MAAMA,CAAA,EAAG;IACR,oBACCjB,KAAA,CAAAkB,aAAA,CAACP,WAAW;MACXQ,OAAO,EAAE,IAAI,CAACC,KAAK,CAACD,OAAQ;MAC5BE,OAAO,EAAE,IAAI,CAACD,KAAK,CAACC,OAAQ;MAC5BC,KAAK,EAAE,CACNC,MAAM,CAACC,KAAK,EACZ,IAAI,CAACJ,KAAK,CAACK,aAAa,IAAI;QAAEC,iBAAiB,EAAE;MAAG,CAAC;IACpD,GAED,IAAI,CAACN,KAAK,CAACO,S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;EAClB,CAAC;EACDlB,IAAI,EAAE;IACLI,SAAS,EAAE,EAAE;IACbe,aAAa,EAAE,EAAE;IACjBC,QAAQ,EAAE,EAAE;IACZZ,KAAK,EAAE5B;EACR,CAAC;EACDsB,IAAI,EAAE;IACLmB,UAAU,EAAE,SAAS;IACrBD,QAAQ,EAAE,EAAE;IACZE,UAAU,EAAE,EAAE;IACdd,KAAK,EAAE3B,SAAS;IAChB0C,SAAS,EAAE,QAAQ;IACnBnB,SAAS,EAAE;EACZ,CAAC;EACDC,QAAQ,EAAE;IACTgB,UAAU,EAAE,YAAY;IACxBD,QAAQ,EAAE,EAAE;IACZE,UAAU,EAAE,EAAE;IACdd,KAAK,EAAE3B,SAAS;IAChB0C,SAAS,EAAE;EACZ,CAAC;EACDZ,MAAM,EAAE;IACPxB,KAAK,EAAE,GAAG;IACViB,SAAS,EAAE;EACZ,CAAC;EACDS,SAAS,EAAE;IACVQ,UAAU,EAAE,WAAW;IACvBD,QAAQ,EAAE;EACX;AACD,CAAC;AAED,MAAMI,eAAe,GAAIC,KAAK,IAAK;EAClC,OAAO;IACNf,kBAAkB,EAAE5B,8BAA8B,CAAC2C,KAAK;EACzD,CAAC;AACF,CAAC;AAED,MAAMC,YAAY,GAAGhD,OAAO,CAAC8C,eAAe,EAAE,CAAC,CAAC,CAAC,CAACpC,YAAY,CAAC;AAC/D,SAASsC,YAAY,IAAItC,YAAY","ignoreList":[]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@plusscommunities/pluss-core-app",
|
|
3
|
-
"version": "8.0.
|
|
3
|
+
"version": "8.0.11",
|
|
4
4
|
"description": "Core extension package for Pluss Communities platform",
|
|
5
5
|
"main": "dist/module/index.js",
|
|
6
6
|
"module": "dist/module/index.js",
|
|
@@ -22,41 +22,41 @@
|
|
|
22
22
|
"license": "ISC",
|
|
23
23
|
"dependencies": {},
|
|
24
24
|
"peerDependencies": {
|
|
25
|
-
"@expo/vector-icons": "
|
|
26
|
-
"@react-native-async-storage/async-storage": "
|
|
27
|
-
"aws-amplify": "
|
|
28
|
-
"aws-amplify-react-native": "
|
|
29
|
-
"axios": "
|
|
30
|
-
"deprecated-react-native-prop-types": "
|
|
31
|
-
"expo-av": "
|
|
32
|
-
"expo-calendar": "
|
|
33
|
-
"expo-constants": "
|
|
34
|
-
"expo-document-picker": "
|
|
35
|
-
"expo-file-system": "
|
|
36
|
-
"expo-image-manipulator": "
|
|
37
|
-
"expo-image-picker": "
|
|
38
|
-
"expo-linear-gradient": "
|
|
39
|
-
"expo-media-library": "
|
|
40
|
-
"expo-screen-orientation": "
|
|
41
|
-
"expo-sharing": "
|
|
42
|
-
"expo-video-player": "
|
|
43
|
-
"js-cookie": "
|
|
44
|
-
"lodash": "
|
|
45
|
-
"mime-types": "
|
|
46
|
-
"moment": "
|
|
47
|
-
"react": "
|
|
48
|
-
"react-native": "
|
|
49
|
-
"react-native-auto-height-image": "
|
|
50
|
-
"react-native-calendars": "
|
|
51
|
-
"@rneui/base": "
|
|
52
|
-
"@rneui/themed": "
|
|
53
|
-
"react-native-gifted-chat": "
|
|
54
|
-
"react-native-image-zoom-viewer": "
|
|
55
|
-
"react-native-iphone-x-helper": "
|
|
56
|
-
"react-native-vimeo-iframe": "
|
|
57
|
-
"react-native-webview": "
|
|
58
|
-
"react-native-youtube-iframe": "
|
|
59
|
-
"react-redux": "
|
|
25
|
+
"@expo/vector-icons": "*",
|
|
26
|
+
"@react-native-async-storage/async-storage": "*",
|
|
27
|
+
"aws-amplify": "*",
|
|
28
|
+
"aws-amplify-react-native": "*",
|
|
29
|
+
"axios": "*",
|
|
30
|
+
"deprecated-react-native-prop-types": "*",
|
|
31
|
+
"expo-av": "*",
|
|
32
|
+
"expo-calendar": "*",
|
|
33
|
+
"expo-constants": "*",
|
|
34
|
+
"expo-document-picker": "*",
|
|
35
|
+
"expo-file-system": "*",
|
|
36
|
+
"expo-image-manipulator": "*",
|
|
37
|
+
"expo-image-picker": "*",
|
|
38
|
+
"expo-linear-gradient": "*",
|
|
39
|
+
"expo-media-library": "*",
|
|
40
|
+
"expo-screen-orientation": "*",
|
|
41
|
+
"expo-sharing": "*",
|
|
42
|
+
"expo-video-player": "*",
|
|
43
|
+
"js-cookie": "*",
|
|
44
|
+
"lodash": "*",
|
|
45
|
+
"mime-types": "*",
|
|
46
|
+
"moment": "*",
|
|
47
|
+
"react": "*",
|
|
48
|
+
"react-native": "*",
|
|
49
|
+
"react-native-auto-height-image": "*",
|
|
50
|
+
"react-native-calendars": "*",
|
|
51
|
+
"@rneui/base": "*",
|
|
52
|
+
"@rneui/themed": "*",
|
|
53
|
+
"react-native-gifted-chat": "*",
|
|
54
|
+
"react-native-image-zoom-viewer": "*",
|
|
55
|
+
"react-native-iphone-x-helper": "*",
|
|
56
|
+
"react-native-vimeo-iframe": "*",
|
|
57
|
+
"react-native-webview": "*",
|
|
58
|
+
"react-native-youtube-iframe": "*",
|
|
59
|
+
"react-redux": "*"
|
|
60
60
|
},
|
|
61
61
|
"devDependencies": {
|
|
62
62
|
"react-native-builder-bob": "^0.18.2"
|