@selfcommunity/react-templates 0.4.8-alpha.2 → 0.4.8-alpha.21

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.
@@ -24,24 +24,31 @@ const Root = (0, styles_1.styled)(react_ui_1.Feed, {
24
24
  const WIDGETS = [
25
25
  {
26
26
  type: 'widget',
27
- component: react_ui_1.UserFollowedCategoriesWidget,
27
+ component: react_ui_1.UserLiveStreamWidget,
28
28
  componentProps: {},
29
29
  column: 'right',
30
30
  position: 0
31
31
  },
32
32
  {
33
33
  type: 'widget',
34
- component: react_ui_1.UserFollowedUsersWidget,
34
+ component: react_ui_1.UserFollowedCategoriesWidget,
35
35
  componentProps: {},
36
36
  column: 'right',
37
37
  position: 1
38
38
  },
39
39
  {
40
40
  type: 'widget',
41
- component: react_ui_1.UserFollowersWidget,
41
+ component: react_ui_1.UserFollowedUsersWidget,
42
42
  componentProps: {},
43
43
  column: 'right',
44
44
  position: 2
45
+ },
46
+ {
47
+ type: 'widget',
48
+ component: react_ui_1.UserFollowersWidget,
49
+ componentProps: {},
50
+ column: 'right',
51
+ position: 3
45
52
  }
46
53
  ];
47
54
  /**
@@ -30,31 +30,38 @@ const Root = (0, styles_1.styled)(material_1.Box, {
30
30
  const WIDGETS_FOLLOWERS = [
31
31
  {
32
32
  type: 'widget',
33
- component: react_ui_1.UserFollowedCategoriesWidget,
33
+ component: react_ui_1.UserLiveStreamWidget,
34
34
  componentProps: {},
35
35
  column: 'right',
36
36
  position: 0
37
37
  },
38
38
  {
39
39
  type: 'widget',
40
- component: react_ui_1.UserFollowedUsersWidget,
40
+ component: react_ui_1.UserFollowedCategoriesWidget,
41
41
  componentProps: {},
42
42
  column: 'right',
43
43
  position: 1
44
44
  },
45
45
  {
46
46
  type: 'widget',
47
- component: react_ui_1.UserFollowersWidget,
47
+ component: react_ui_1.UserFollowedUsersWidget,
48
48
  componentProps: {},
49
49
  column: 'right',
50
50
  position: 2
51
51
  },
52
52
  {
53
53
  type: 'widget',
54
- component: react_ui_1.UserSubscribedGroupsWidget,
54
+ component: react_ui_1.UserFollowersWidget,
55
55
  componentProps: {},
56
56
  column: 'right',
57
57
  position: 3
58
+ },
59
+ {
60
+ type: 'widget',
61
+ component: react_ui_1.UserSubscribedGroupsWidget,
62
+ componentProps: {},
63
+ column: 'right',
64
+ position: 4
58
65
  }
59
66
  ];
60
67
  const WIDGETS_FOLLOWERS_MY_PROFILE = [
@@ -69,24 +76,31 @@ const WIDGETS_FOLLOWERS_MY_PROFILE = [
69
76
  const WIDGETS_CONNECTIONS = [
70
77
  {
71
78
  type: 'widget',
72
- component: react_ui_1.UserFollowedCategoriesWidget,
79
+ component: react_ui_1.UserLiveStreamWidget,
73
80
  componentProps: {},
74
81
  column: 'right',
75
82
  position: 0
76
83
  },
77
84
  {
78
85
  type: 'widget',
79
- component: react_ui_1.UserConnectionsWidget,
86
+ component: react_ui_1.UserFollowedCategoriesWidget,
80
87
  componentProps: {},
81
88
  column: 'right',
82
89
  position: 1
83
90
  },
84
91
  {
85
92
  type: 'widget',
86
- component: react_ui_1.UserSubscribedGroupsWidget,
93
+ component: react_ui_1.UserConnectionsWidget,
87
94
  componentProps: {},
88
95
  column: 'right',
89
96
  position: 2
97
+ },
98
+ {
99
+ type: 'widget',
100
+ component: react_ui_1.UserSubscribedGroupsWidget,
101
+ componentProps: {},
102
+ column: 'right',
103
+ position: 3
90
104
  }
91
105
  ];
92
106
  const WIDGETS_CONNECTIONS_MY_PROFILE = [
@@ -3,7 +3,7 @@ import { useMemo, useRef } from 'react';
3
3
  import { styled } from '@mui/material/styles';
4
4
  import { Endpoints } from '@selfcommunity/api-services';
5
5
  import { useSCFetchUser, useSCUser } from '@selfcommunity/react-core';
6
- import { Feed, FeedObject, FeedObjectSkeleton, InlineComposerWidget, SCFeedObjectTemplateType, UserFollowedCategoriesWidget, UserFollowedUsersWidget, UserFollowersWidget } from '@selfcommunity/react-ui';
6
+ import { Feed, FeedObject, FeedObjectSkeleton, InlineComposerWidget, SCFeedObjectTemplateType, UserFollowedCategoriesWidget, UserFollowedUsersWidget, UserFollowersWidget, UserLiveStreamWidget } from '@selfcommunity/react-ui';
7
7
  import { UserFeedSkeleton } from './index';
8
8
  import { useThemeProps } from '@mui/system';
9
9
  import classNames from 'classnames';
@@ -21,24 +21,31 @@ const Root = styled(Feed, {
21
21
  const WIDGETS = [
22
22
  {
23
23
  type: 'widget',
24
- component: UserFollowedCategoriesWidget,
24
+ component: UserLiveStreamWidget,
25
25
  componentProps: {},
26
26
  column: 'right',
27
27
  position: 0
28
28
  },
29
29
  {
30
30
  type: 'widget',
31
- component: UserFollowedUsersWidget,
31
+ component: UserFollowedCategoriesWidget,
32
32
  componentProps: {},
33
33
  column: 'right',
34
34
  position: 1
35
35
  },
36
36
  {
37
37
  type: 'widget',
38
- component: UserFollowersWidget,
38
+ component: UserFollowedUsersWidget,
39
39
  componentProps: {},
40
40
  column: 'right',
41
41
  position: 2
42
+ },
43
+ {
44
+ type: 'widget',
45
+ component: UserFollowersWidget,
46
+ componentProps: {},
47
+ column: 'right',
48
+ position: 3
42
49
  }
43
50
  ];
44
51
  /**
@@ -2,7 +2,7 @@ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-run
2
2
  import { useEffect, useMemo, useState } from 'react';
3
3
  import { styled } from '@mui/material/styles';
4
4
  import { Box, Button, Icon, Stack, Typography } from '@mui/material';
5
- import { ConnectionUserButton, LoyaltyProgramWidget, TagChip, UserActionIconButton, UserConnectionsRequestsSentWidget, UserConnectionsRequestsWidget, UserConnectionsWidget, UserCounters, UserFollowedCategoriesWidget, UserFollowedUsersWidget, UserFollowersWidget, UserProfileBlocked, UserProfileHeader, UserSubscribedGroupsWidget, } from '@selfcommunity/react-ui';
5
+ import { ConnectionUserButton, LoyaltyProgramWidget, TagChip, UserActionIconButton, UserConnectionsRequestsSentWidget, UserConnectionsRequestsWidget, UserConnectionsWidget, UserCounters, UserFollowedCategoriesWidget, UserFollowedUsersWidget, UserFollowersWidget, UserLiveStreamWidget, UserProfileBlocked, UserProfileHeader, UserSubscribedGroupsWidget } from '@selfcommunity/react-ui';
6
6
  import UserFeed from '../UserFeed';
7
7
  import { SCPreferences, SCRoutes, useSCFetchUser, useSCPreferences, useSCRouting, useSCUser, useSCFetchUserBlockedBy } from '@selfcommunity/react-core';
8
8
  import { SCFeatureName } from '@selfcommunity/types';
@@ -27,31 +27,38 @@ const Root = styled(Box, {
27
27
  const WIDGETS_FOLLOWERS = [
28
28
  {
29
29
  type: 'widget',
30
- component: UserFollowedCategoriesWidget,
30
+ component: UserLiveStreamWidget,
31
31
  componentProps: {},
32
32
  column: 'right',
33
33
  position: 0
34
34
  },
35
35
  {
36
36
  type: 'widget',
37
- component: UserFollowedUsersWidget,
37
+ component: UserFollowedCategoriesWidget,
38
38
  componentProps: {},
39
39
  column: 'right',
40
40
  position: 1
41
41
  },
42
42
  {
43
43
  type: 'widget',
44
- component: UserFollowersWidget,
44
+ component: UserFollowedUsersWidget,
45
45
  componentProps: {},
46
46
  column: 'right',
47
47
  position: 2
48
48
  },
49
49
  {
50
50
  type: 'widget',
51
- component: UserSubscribedGroupsWidget,
51
+ component: UserFollowersWidget,
52
52
  componentProps: {},
53
53
  column: 'right',
54
54
  position: 3
55
+ },
56
+ {
57
+ type: 'widget',
58
+ component: UserSubscribedGroupsWidget,
59
+ componentProps: {},
60
+ column: 'right',
61
+ position: 4
55
62
  }
56
63
  ];
57
64
  const WIDGETS_FOLLOWERS_MY_PROFILE = [
@@ -66,24 +73,31 @@ const WIDGETS_FOLLOWERS_MY_PROFILE = [
66
73
  const WIDGETS_CONNECTIONS = [
67
74
  {
68
75
  type: 'widget',
69
- component: UserFollowedCategoriesWidget,
76
+ component: UserLiveStreamWidget,
70
77
  componentProps: {},
71
78
  column: 'right',
72
79
  position: 0
73
80
  },
74
81
  {
75
82
  type: 'widget',
76
- component: UserConnectionsWidget,
83
+ component: UserFollowedCategoriesWidget,
77
84
  componentProps: {},
78
85
  column: 'right',
79
86
  position: 1
80
87
  },
81
88
  {
82
89
  type: 'widget',
83
- component: UserSubscribedGroupsWidget,
90
+ component: UserConnectionsWidget,
84
91
  componentProps: {},
85
92
  column: 'right',
86
93
  position: 2
94
+ },
95
+ {
96
+ type: 'widget',
97
+ component: UserSubscribedGroupsWidget,
98
+ componentProps: {},
99
+ column: 'right',
100
+ position: 3
87
101
  }
88
102
  ];
89
103
  const WIDGETS_CONNECTIONS_MY_PROFILE = [