@plusscommunities/pluss-circles-web 1.0.13 → 1.0.15-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/index.cjs.js +128 -75
- package/dist/index.esm.js +201 -149
- package/dist/index.umd.js +129 -76
- package/package.json +2 -2
- package/src/components/FeaturePickerContent.js +38 -0
- package/src/feature.config.js +12 -0
- package/src/index.js +1 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@plusscommunities/pluss-circles-web",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.15-beta.0",
|
|
4
4
|
"description": "Extension package to enable circles on Pluss Communities Platform",
|
|
5
5
|
"main": "dist/index.cjs.js",
|
|
6
6
|
"scripts": {
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
37
|
"@babel/runtime": "^7.14.0",
|
|
38
|
-
"@plusscommunities/pluss-core-web": "1.4.
|
|
38
|
+
"@plusscommunities/pluss-core-web": "1.4.14-beta.0",
|
|
39
39
|
"lodash": "^4.17.4",
|
|
40
40
|
"moment": "^2.18.1",
|
|
41
41
|
"react": "^16.14.0",
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { PlussCore } from '../feature.config';
|
|
3
|
+
|
|
4
|
+
const { Components, Colours } = PlussCore;
|
|
5
|
+
|
|
6
|
+
export default () => {
|
|
7
|
+
return (
|
|
8
|
+
<div className="fp2_widget_content fp2_widget_content-circles">
|
|
9
|
+
<div className="fp2_widget_content_vListing">
|
|
10
|
+
<div className="fp2_widget_silhouette fp2_widget_silhouette-circle">
|
|
11
|
+
<Components.SVGIcon icon={'groups3'} colour={Colours.hexToRGBAstring(Colours.COLOUR_BRANDING_MAIN, 0.5)} />
|
|
12
|
+
</div>
|
|
13
|
+
<div className="flex-1">
|
|
14
|
+
<div className="fp2_widget_silhouette fp2_widget_silhouette-textLine"></div>
|
|
15
|
+
<div className="fp2_widget_silhouette fp2_widget_silhouette-textLineFull"></div>
|
|
16
|
+
</div>
|
|
17
|
+
</div>
|
|
18
|
+
<div className="fp2_widget_content_vListing">
|
|
19
|
+
<div className="fp2_widget_silhouette fp2_widget_silhouette-circle">
|
|
20
|
+
<Components.SVGIcon icon={'groups3'} colour={Colours.hexToRGBAstring(Colours.COLOUR_BRANDING_MAIN, 0.5)} />
|
|
21
|
+
</div>
|
|
22
|
+
<div className="flex-1">
|
|
23
|
+
<div className="fp2_widget_silhouette fp2_widget_silhouette-textLine"></div>
|
|
24
|
+
<div className="fp2_widget_silhouette fp2_widget_silhouette-textLineFull"></div>
|
|
25
|
+
</div>
|
|
26
|
+
</div>
|
|
27
|
+
<div className="fp2_widget_content_vListing">
|
|
28
|
+
<div className="fp2_widget_silhouette fp2_widget_silhouette-circle">
|
|
29
|
+
<Components.SVGIcon icon={'groups3'} colour={Colours.hexToRGBAstring(Colours.COLOUR_BRANDING_MAIN, 0.5)} />
|
|
30
|
+
</div>
|
|
31
|
+
<div className="flex-1">
|
|
32
|
+
<div className="fp2_widget_silhouette fp2_widget_silhouette-textLine"></div>
|
|
33
|
+
<div className="fp2_widget_silhouette fp2_widget_silhouette-textLineFull"></div>
|
|
34
|
+
</div>
|
|
35
|
+
</div>
|
|
36
|
+
</div>
|
|
37
|
+
);
|
|
38
|
+
};
|
package/src/feature.config.js
CHANGED
|
@@ -24,6 +24,18 @@ const FeatureConfig = {
|
|
|
24
24
|
default: values.allowPublicKeyDefault,
|
|
25
25
|
},
|
|
26
26
|
],
|
|
27
|
+
featurePickerInfo: {
|
|
28
|
+
image:
|
|
29
|
+
'https://pluss-prd-uploads.s3.ap-southeast-2.amazonaws.com/uploads/users/ap-southeast-2:80aecdcb-9955-493e-a341-2f2263f64777/public/e4a5948c40908e2137f0a65eb1/groups.jpg',
|
|
30
|
+
text: (
|
|
31
|
+
<>
|
|
32
|
+
<p>Open and closed group chat - where your community does its planning, discussing and sharing.</p>
|
|
33
|
+
<p>Keep them open for any member to join, or private to the admins - {values.textFeatureTitle} gives you that control.</p>
|
|
34
|
+
<p>Your {values.textFeatureTitle} activity will keep the app close to your communities hands.</p>
|
|
35
|
+
</>
|
|
36
|
+
),
|
|
37
|
+
layoutDisclaimer: true,
|
|
38
|
+
},
|
|
27
39
|
menu: {
|
|
28
40
|
order: 11,
|
|
29
41
|
text: values.textFeatureTitle,
|
package/src/index.js
CHANGED
|
@@ -12,3 +12,4 @@ export { default as ViewFull } from './components/ViewFull';
|
|
|
12
12
|
export { default as PreviewWidget } from './components/PreviewWidget';
|
|
13
13
|
export { default as PreviewFull } from './components/PreviewFull';
|
|
14
14
|
export { default as PreviewGrid } from './components/PreviewGrid';
|
|
15
|
+
export { default as FeaturePickerContent } from './components/FeaturePickerContent';
|