@selfcommunity/react-templates 0.5.0-alpha.28 → 0.5.0-alpha.29

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.
@@ -25,17 +25,24 @@ const Root = (0, material_1.styled)(react_ui_1.Feed, {
25
25
  const WIDGETS = [
26
26
  {
27
27
  type: 'widget',
28
- component: react_ui_1.CategoryTrendingUsersWidget,
28
+ component: react_ui_1.FooterWidget,
29
29
  componentProps: {},
30
30
  column: 'right',
31
31
  position: 0
32
32
  },
33
33
  {
34
34
  type: 'widget',
35
- component: react_ui_1.CategoryTrendingFeedWidget,
35
+ component: react_ui_1.CategoryTrendingUsersWidget,
36
36
  componentProps: {},
37
37
  column: 'right',
38
38
  position: 1
39
+ },
40
+ {
41
+ type: 'widget',
42
+ component: react_ui_1.CategoryTrendingFeedWidget,
43
+ componentProps: {},
44
+ column: 'right',
45
+ position: 2
39
46
  }
40
47
  ];
41
48
  /**
@@ -25,31 +25,38 @@ const Root = (0, material_1.styled)(react_ui_1.Feed, {
25
25
  const WIDGETS = [
26
26
  {
27
27
  type: 'widget',
28
- component: react_ui_1.EventLocationWidget,
28
+ component: react_ui_1.FooterWidget,
29
29
  componentProps: {},
30
30
  column: 'right',
31
31
  position: 0
32
32
  },
33
33
  {
34
34
  type: 'widget',
35
- component: react_ui_1.EventMembersWidget,
35
+ component: react_ui_1.EventLocationWidget,
36
36
  componentProps: {},
37
37
  column: 'right',
38
38
  position: 1
39
39
  },
40
40
  {
41
41
  type: 'widget',
42
- component: react_ui_1.EventMediaWidget,
42
+ component: react_ui_1.EventMembersWidget,
43
43
  componentProps: {},
44
44
  column: 'right',
45
45
  position: 2
46
46
  },
47
47
  {
48
48
  type: 'widget',
49
- component: react_ui_1.RelatedEventsWidget,
49
+ component: react_ui_1.EventMediaWidget,
50
50
  componentProps: {},
51
51
  column: 'right',
52
52
  position: 3
53
+ },
54
+ {
55
+ type: 'widget',
56
+ component: react_ui_1.RelatedEventsWidget,
57
+ componentProps: {},
58
+ column: 'right',
59
+ position: 4
53
60
  }
54
61
  ];
55
62
  /**
@@ -24,31 +24,38 @@ const Root = (0, material_1.styled)(react_ui_1.Feed, {
24
24
  const WIDGETS = [
25
25
  {
26
26
  type: 'widget',
27
- component: react_ui_1.PlatformWidget,
27
+ component: react_ui_1.FooterWidget,
28
28
  componentProps: {},
29
29
  column: 'right',
30
30
  position: 0
31
31
  },
32
32
  {
33
33
  type: 'widget',
34
- component: react_ui_1.LoyaltyProgramWidget,
34
+ component: react_ui_1.PlatformWidget,
35
35
  componentProps: {},
36
36
  column: 'right',
37
37
  position: 1
38
38
  },
39
39
  {
40
40
  type: 'widget',
41
- component: react_ui_1.CategoriesPopularWidget,
41
+ component: react_ui_1.LoyaltyProgramWidget,
42
42
  componentProps: {},
43
43
  column: 'right',
44
44
  position: 2
45
45
  },
46
46
  {
47
47
  type: 'widget',
48
- component: react_ui_1.UserSuggestionWidget,
48
+ component: react_ui_1.CategoriesPopularWidget,
49
49
  componentProps: {},
50
50
  column: 'right',
51
51
  position: 3
52
+ },
53
+ {
54
+ type: 'widget',
55
+ component: react_ui_1.UserSuggestionWidget,
56
+ componentProps: {},
57
+ column: 'right',
58
+ position: 4
52
59
  }
53
60
  ];
54
61
  /**
@@ -25,17 +25,24 @@ const Root = (0, material_1.styled)(react_ui_1.Feed, {
25
25
  const WIDGETS = [
26
26
  {
27
27
  type: 'widget',
28
- component: react_ui_1.GroupInfoWidget,
28
+ component: react_ui_1.FooterWidget,
29
29
  componentProps: {},
30
30
  column: 'right',
31
31
  position: 0
32
32
  },
33
33
  {
34
34
  type: 'widget',
35
- component: react_ui_1.GroupMembersWidget,
35
+ component: react_ui_1.GroupInfoWidget,
36
36
  componentProps: {},
37
37
  column: 'right',
38
38
  position: 1
39
+ },
40
+ {
41
+ type: 'widget',
42
+ component: react_ui_1.GroupMembersWidget,
43
+ componentProps: {},
44
+ column: 'right',
45
+ position: 2
39
46
  }
40
47
  ];
41
48
  /**
@@ -24,31 +24,38 @@ const Root = (0, material_1.styled)(react_ui_1.Feed, {
24
24
  const WIDGETS = [
25
25
  {
26
26
  type: 'widget',
27
- component: react_ui_1.PlatformWidget,
27
+ component: react_ui_1.FooterWidget,
28
28
  componentProps: {},
29
29
  column: 'right',
30
30
  position: 0
31
31
  },
32
32
  {
33
33
  type: 'widget',
34
- component: react_ui_1.LoyaltyProgramWidget,
34
+ component: react_ui_1.PlatformWidget,
35
35
  componentProps: {},
36
36
  column: 'right',
37
37
  position: 1
38
38
  },
39
39
  {
40
40
  type: 'widget',
41
- component: react_ui_1.CategoriesSuggestionWidget,
41
+ component: react_ui_1.LoyaltyProgramWidget,
42
42
  componentProps: {},
43
43
  column: 'right',
44
44
  position: 2
45
45
  },
46
46
  {
47
47
  type: 'widget',
48
- component: react_ui_1.UserSuggestionWidget,
48
+ component: react_ui_1.CategoriesSuggestionWidget,
49
49
  componentProps: {},
50
50
  column: 'right',
51
51
  position: 3
52
+ },
53
+ {
54
+ type: 'widget',
55
+ component: react_ui_1.UserSuggestionWidget,
56
+ componentProps: {},
57
+ column: 'right',
58
+ position: 4
52
59
  }
53
60
  ];
54
61
  /**
@@ -37,31 +37,38 @@ const WIDGETS = [
37
37
  },
38
38
  {
39
39
  type: 'widget',
40
- component: react_ui_1.PlatformWidget,
40
+ component: react_ui_1.FooterWidget,
41
41
  componentProps: {},
42
42
  column: 'right',
43
43
  position: 0
44
44
  },
45
45
  {
46
46
  type: 'widget',
47
- component: react_ui_1.LoyaltyProgramWidget,
47
+ component: react_ui_1.PlatformWidget,
48
48
  componentProps: {},
49
49
  column: 'right',
50
50
  position: 1
51
51
  },
52
52
  {
53
53
  type: 'widget',
54
- component: react_ui_1.CategoriesSuggestionWidget,
54
+ component: react_ui_1.LoyaltyProgramWidget,
55
55
  componentProps: {},
56
56
  column: 'right',
57
57
  position: 2
58
58
  },
59
59
  {
60
60
  type: 'widget',
61
- component: react_ui_1.UserSuggestionWidget,
61
+ component: react_ui_1.CategoriesSuggestionWidget,
62
62
  componentProps: {},
63
63
  column: 'right',
64
64
  position: 3
65
+ },
66
+ {
67
+ type: 'widget',
68
+ component: react_ui_1.UserSuggestionWidget,
69
+ componentProps: {},
70
+ column: 'right',
71
+ position: 4
65
72
  }
66
73
  ];
67
74
  /**
@@ -24,31 +24,38 @@ const Root = (0, material_1.styled)(react_ui_1.Feed, {
24
24
  const WIDGETS = [
25
25
  {
26
26
  type: 'widget',
27
- component: react_ui_1.UserLiveStreamWidget,
27
+ component: react_ui_1.FooterWidget,
28
28
  componentProps: {},
29
29
  column: 'right',
30
30
  position: 0
31
31
  },
32
32
  {
33
33
  type: 'widget',
34
- component: react_ui_1.UserFollowedCategoriesWidget,
34
+ component: react_ui_1.UserLiveStreamWidget,
35
35
  componentProps: {},
36
36
  column: 'right',
37
37
  position: 1
38
38
  },
39
39
  {
40
40
  type: 'widget',
41
- component: react_ui_1.UserFollowedUsersWidget,
41
+ component: react_ui_1.UserFollowedCategoriesWidget,
42
42
  componentProps: {},
43
43
  column: 'right',
44
44
  position: 2
45
45
  },
46
46
  {
47
47
  type: 'widget',
48
- component: react_ui_1.UserFollowersWidget,
48
+ component: react_ui_1.UserFollowedUsersWidget,
49
49
  componentProps: {},
50
50
  column: 'right',
51
51
  position: 3
52
+ },
53
+ {
54
+ type: 'widget',
55
+ component: react_ui_1.UserFollowersWidget,
56
+ componentProps: {},
57
+ column: 'right',
58
+ position: 4
52
59
  }
53
60
  ];
54
61
  /**
@@ -113,7 +120,7 @@ function UserFeed(inProps) {
113
120
  if (scUser === null) {
114
121
  return (0, jsx_runtime_1.jsx)(index_1.UserFeedSkeleton, {});
115
122
  }
116
- return ((0, jsx_runtime_1.jsx)(Root, Object.assign({ id: id, className: (0, classnames_1.default)(classes.root, className), ref: feedRef, endpoint: Object.assign(Object.assign({}, api_services_1.Endpoints.UserFeed), { url: () => api_services_1.Endpoints.UserFeed.url({ id: scUser.id }) }), widgets: _widgets, ItemComponent: react_ui_1.FeedObject, itemPropsGenerator: (scUser, item) => ({
123
+ return ((0, jsx_runtime_1.jsx)(Root, Object.assign({ id: id, className: (0, classnames_1.default)(classes.root, className), ref: feedRef, endpoint: Object.assign(Object.assign({}, api_services_1.Endpoints.UserFeed), { url: () => api_services_1.Endpoints.UserFeed.url({ id: scUser.id }) }), widgets: _widgets, ItemComponent: react_ui_1.FeedObject, itemPropsGenerator: (_scUser, item) => ({
117
124
  feedObject: item[item.type],
118
125
  feedObjectType: item.type,
119
126
  feedObjectActivities: item.activities ? item.activities : null
@@ -1,7 +1,7 @@
1
1
  import { jsx as _jsx, Fragment as _Fragment } from "react/jsx-runtime";
2
2
  import { useMemo, useRef } from 'react';
3
3
  import { styled } from '@mui/material';
4
- import { CategoryTrendingFeedWidget, CategoryTrendingUsersWidget, ContributionUtils, Feed, FeedObject, FeedObjectSkeleton, HiddenPurchasableContent, InlineComposerWidget, SCFeedObjectTemplateType } from '@selfcommunity/react-ui';
4
+ import { CategoryTrendingFeedWidget, CategoryTrendingUsersWidget, ContributionUtils, Feed, FeedObject, FeedObjectSkeleton, FooterWidget, HiddenPurchasableContent, InlineComposerWidget, SCFeedObjectTemplateType } from '@selfcommunity/react-ui';
5
5
  import { Endpoints } from '@selfcommunity/api-services';
6
6
  import { Link, SCPreferences, SCRoutes, UserUtils, useSCFetchCategory, useSCPreferences, useSCRouting, useSCUser } from '@selfcommunity/react-core';
7
7
  import { SCCustomAdvPosition, SCFeatureName, SCFeedTypologyType } from '@selfcommunity/types';
@@ -22,17 +22,24 @@ const Root = styled(Feed, {
22
22
  const WIDGETS = [
23
23
  {
24
24
  type: 'widget',
25
- component: CategoryTrendingUsersWidget,
25
+ component: FooterWidget,
26
26
  componentProps: {},
27
27
  column: 'right',
28
28
  position: 0
29
29
  },
30
30
  {
31
31
  type: 'widget',
32
- component: CategoryTrendingFeedWidget,
32
+ component: CategoryTrendingUsersWidget,
33
33
  componentProps: {},
34
34
  column: 'right',
35
35
  position: 1
36
+ },
37
+ {
38
+ type: 'widget',
39
+ component: CategoryTrendingFeedWidget,
40
+ componentProps: {},
41
+ column: 'right',
42
+ position: 2
36
43
  }
37
44
  ];
38
45
  /**
@@ -1,7 +1,7 @@
1
1
  import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import { useEffect, useMemo, useRef, useState } from 'react';
3
3
  import { styled, Box } from '@mui/material';
4
- import { ContributionUtils, EventInfoWidget, EventLocationWidget, EventMediaWidget, EventMembersWidget, Feed, FeedObject, FeedObjectSkeleton, InlineComposerWidget, RelatedEventsWidget, SCFeedObjectTemplateType } from '@selfcommunity/react-ui';
4
+ import { ContributionUtils, EventInfoWidget, EventLocationWidget, EventMediaWidget, EventMembersWidget, Feed, FeedObject, FeedObjectSkeleton, FooterWidget, InlineComposerWidget, RelatedEventsWidget, SCFeedObjectTemplateType } from '@selfcommunity/react-ui';
5
5
  import { Endpoints } from '@selfcommunity/api-services';
6
6
  import { Link, SCRoutes, useSCFetchEvent, useSCRouting, useSCUser } from '@selfcommunity/react-core';
7
7
  import { SCCustomAdvPosition, SCEventPrivacyType, SCEventSubscriptionStatusType, SCFeedTypologyType } from '@selfcommunity/types';
@@ -22,31 +22,38 @@ const Root = styled(Feed, {
22
22
  const WIDGETS = [
23
23
  {
24
24
  type: 'widget',
25
- component: EventLocationWidget,
25
+ component: FooterWidget,
26
26
  componentProps: {},
27
27
  column: 'right',
28
28
  position: 0
29
29
  },
30
30
  {
31
31
  type: 'widget',
32
- component: EventMembersWidget,
32
+ component: EventLocationWidget,
33
33
  componentProps: {},
34
34
  column: 'right',
35
35
  position: 1
36
36
  },
37
37
  {
38
38
  type: 'widget',
39
- component: EventMediaWidget,
39
+ component: EventMembersWidget,
40
40
  componentProps: {},
41
41
  column: 'right',
42
42
  position: 2
43
43
  },
44
44
  {
45
45
  type: 'widget',
46
- component: RelatedEventsWidget,
46
+ component: EventMediaWidget,
47
47
  componentProps: {},
48
48
  column: 'right',
49
49
  position: 3
50
+ },
51
+ {
52
+ type: 'widget',
53
+ component: RelatedEventsWidget,
54
+ componentProps: {},
55
+ column: 'right',
56
+ position: 4
50
57
  }
51
58
  ];
52
59
  /**
@@ -1,7 +1,7 @@
1
1
  import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import { useContext, useMemo, useRef } from 'react';
3
3
  import { styled } from '@mui/material';
4
- import { CategoriesPopularWidget, Feed, FeedObject, FeedObjectSkeleton, SCFeedObjectTemplateType, InlineComposerWidget, LoyaltyProgramWidget, UserSuggestionWidget, PlatformWidget, OnBoardingWidget } from '@selfcommunity/react-ui';
4
+ import { CategoriesPopularWidget, Feed, FeedObject, FeedObjectSkeleton, SCFeedObjectTemplateType, InlineComposerWidget, LoyaltyProgramWidget, UserSuggestionWidget, PlatformWidget, OnBoardingWidget, FooterWidget } from '@selfcommunity/react-ui';
5
5
  import { Endpoints } from '@selfcommunity/api-services';
6
6
  import { useThemeProps } from '@mui/system';
7
7
  import classNames from 'classnames';
@@ -21,31 +21,38 @@ const Root = styled(Feed, {
21
21
  const WIDGETS = [
22
22
  {
23
23
  type: 'widget',
24
- component: PlatformWidget,
24
+ component: FooterWidget,
25
25
  componentProps: {},
26
26
  column: 'right',
27
27
  position: 0
28
28
  },
29
29
  {
30
30
  type: 'widget',
31
- component: LoyaltyProgramWidget,
31
+ component: PlatformWidget,
32
32
  componentProps: {},
33
33
  column: 'right',
34
34
  position: 1
35
35
  },
36
36
  {
37
37
  type: 'widget',
38
- component: CategoriesPopularWidget,
38
+ component: LoyaltyProgramWidget,
39
39
  componentProps: {},
40
40
  column: 'right',
41
41
  position: 2
42
42
  },
43
43
  {
44
44
  type: 'widget',
45
- component: UserSuggestionWidget,
45
+ component: CategoriesPopularWidget,
46
46
  componentProps: {},
47
47
  column: 'right',
48
48
  position: 3
49
+ },
50
+ {
51
+ type: 'widget',
52
+ component: UserSuggestionWidget,
53
+ componentProps: {},
54
+ column: 'right',
55
+ position: 4
49
56
  }
50
57
  ];
51
58
  /**
@@ -1,7 +1,7 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import { useEffect, useMemo, useRef, useState } from 'react';
3
3
  import { styled } from '@mui/material';
4
- import { ContributionUtils, Feed, FeedObject, FeedObjectSkeleton, GroupInfoWidget, GroupMembersWidget, InlineComposerWidget, SCFeedObjectTemplateType } from '@selfcommunity/react-ui';
4
+ import { ContributionUtils, Feed, FeedObject, FeedObjectSkeleton, FooterWidget, GroupInfoWidget, GroupMembersWidget, InlineComposerWidget, SCFeedObjectTemplateType } from '@selfcommunity/react-ui';
5
5
  import { Endpoints } from '@selfcommunity/api-services';
6
6
  import { Link, SCRoutes, useSCFetchGroup, useSCRouting, useSCUser } from '@selfcommunity/react-core';
7
7
  import { SCCustomAdvPosition, SCFeedTypologyType, SCGroupSubscriptionStatusType } from '@selfcommunity/types';
@@ -22,17 +22,24 @@ const Root = styled(Feed, {
22
22
  const WIDGETS = [
23
23
  {
24
24
  type: 'widget',
25
- component: GroupInfoWidget,
25
+ component: FooterWidget,
26
26
  componentProps: {},
27
27
  column: 'right',
28
28
  position: 0
29
29
  },
30
30
  {
31
31
  type: 'widget',
32
- component: GroupMembersWidget,
32
+ component: GroupInfoWidget,
33
33
  componentProps: {},
34
34
  column: 'right',
35
35
  position: 1
36
+ },
37
+ {
38
+ type: 'widget',
39
+ component: GroupMembersWidget,
40
+ componentProps: {},
41
+ column: 'right',
42
+ position: 2
36
43
  }
37
44
  ];
38
45
  /**
@@ -1,7 +1,7 @@
1
1
  import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import { useContext, useRef } from 'react';
3
3
  import { styled } from '@mui/material';
4
- import { CategoriesSuggestionWidget, Feed, FeedObject, FeedObjectSkeleton, SCFeedObjectTemplateType, InlineComposerWidget, LoyaltyProgramWidget, UserSuggestionWidget, PlatformWidget, OnBoardingWidget } from '@selfcommunity/react-ui';
4
+ import { CategoriesSuggestionWidget, Feed, FeedObject, FeedObjectSkeleton, SCFeedObjectTemplateType, InlineComposerWidget, LoyaltyProgramWidget, UserSuggestionWidget, PlatformWidget, OnBoardingWidget, FooterWidget } from '@selfcommunity/react-ui';
5
5
  import { Endpoints } from '@selfcommunity/api-services';
6
6
  import { SCUserContext, UserUtils } from '@selfcommunity/react-core';
7
7
  import { useThemeProps } from '@mui/system';
@@ -21,31 +21,38 @@ const Root = styled(Feed, {
21
21
  const WIDGETS = [
22
22
  {
23
23
  type: 'widget',
24
- component: PlatformWidget,
24
+ component: FooterWidget,
25
25
  componentProps: {},
26
26
  column: 'right',
27
27
  position: 0
28
28
  },
29
29
  {
30
30
  type: 'widget',
31
- component: LoyaltyProgramWidget,
31
+ component: PlatformWidget,
32
32
  componentProps: {},
33
33
  column: 'right',
34
34
  position: 1
35
35
  },
36
36
  {
37
37
  type: 'widget',
38
- component: CategoriesSuggestionWidget,
38
+ component: LoyaltyProgramWidget,
39
39
  componentProps: {},
40
40
  column: 'right',
41
41
  position: 2
42
42
  },
43
43
  {
44
44
  type: 'widget',
45
- component: UserSuggestionWidget,
45
+ component: CategoriesSuggestionWidget,
46
46
  componentProps: {},
47
47
  column: 'right',
48
48
  position: 3
49
+ },
50
+ {
51
+ type: 'widget',
52
+ component: UserSuggestionWidget,
53
+ componentProps: {},
54
+ column: 'right',
55
+ position: 4
49
56
  }
50
57
  ];
51
58
  /**
@@ -1,7 +1,7 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import { useContext } from 'react';
3
3
  import { styled } from '@mui/material';
4
- import { BroadcastMessages, CategoriesSuggestionWidget, Feed, SCFeedObjectTemplateType, FeedUpdatesWidget, LoyaltyProgramWidget, Notification, NotificationSkeleton, UserSuggestionWidget, PlatformWidget, getUnseenNotificationCounter } from '@selfcommunity/react-ui';
4
+ import { BroadcastMessages, CategoriesSuggestionWidget, Feed, SCFeedObjectTemplateType, FeedUpdatesWidget, LoyaltyProgramWidget, Notification, NotificationSkeleton, UserSuggestionWidget, PlatformWidget, getUnseenNotificationCounter, FooterWidget } from '@selfcommunity/react-ui';
5
5
  import { Endpoints } from '@selfcommunity/api-services';
6
6
  import { SCUserContext } from '@selfcommunity/react-core';
7
7
  import { SCNotificationTopicType } from '@selfcommunity/types';
@@ -34,31 +34,38 @@ const WIDGETS = [
34
34
  },
35
35
  {
36
36
  type: 'widget',
37
- component: PlatformWidget,
37
+ component: FooterWidget,
38
38
  componentProps: {},
39
39
  column: 'right',
40
40
  position: 0
41
41
  },
42
42
  {
43
43
  type: 'widget',
44
- component: LoyaltyProgramWidget,
44
+ component: PlatformWidget,
45
45
  componentProps: {},
46
46
  column: 'right',
47
47
  position: 1
48
48
  },
49
49
  {
50
50
  type: 'widget',
51
- component: CategoriesSuggestionWidget,
51
+ component: LoyaltyProgramWidget,
52
52
  componentProps: {},
53
53
  column: 'right',
54
54
  position: 2
55
55
  },
56
56
  {
57
57
  type: 'widget',
58
- component: UserSuggestionWidget,
58
+ component: CategoriesSuggestionWidget,
59
59
  componentProps: {},
60
60
  column: 'right',
61
61
  position: 3
62
+ },
63
+ {
64
+ type: 'widget',
65
+ component: UserSuggestionWidget,
66
+ componentProps: {},
67
+ column: 'right',
68
+ position: 4
62
69
  }
63
70
  ];
64
71
  /**
@@ -3,7 +3,7 @@ import { useMemo, useRef } from 'react';
3
3
  import { styled } from '@mui/material';
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, UserLiveStreamWidget } from '@selfcommunity/react-ui';
6
+ import { Feed, FeedObject, FeedObjectSkeleton, FooterWidget, 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,31 +21,38 @@ const Root = styled(Feed, {
21
21
  const WIDGETS = [
22
22
  {
23
23
  type: 'widget',
24
- component: UserLiveStreamWidget,
24
+ component: FooterWidget,
25
25
  componentProps: {},
26
26
  column: 'right',
27
27
  position: 0
28
28
  },
29
29
  {
30
30
  type: 'widget',
31
- component: UserFollowedCategoriesWidget,
31
+ component: UserLiveStreamWidget,
32
32
  componentProps: {},
33
33
  column: 'right',
34
34
  position: 1
35
35
  },
36
36
  {
37
37
  type: 'widget',
38
- component: UserFollowedUsersWidget,
38
+ component: UserFollowedCategoriesWidget,
39
39
  componentProps: {},
40
40
  column: 'right',
41
41
  position: 2
42
42
  },
43
43
  {
44
44
  type: 'widget',
45
- component: UserFollowersWidget,
45
+ component: UserFollowedUsersWidget,
46
46
  componentProps: {},
47
47
  column: 'right',
48
48
  position: 3
49
+ },
50
+ {
51
+ type: 'widget',
52
+ component: UserFollowersWidget,
53
+ componentProps: {},
54
+ column: 'right',
55
+ position: 4
49
56
  }
50
57
  ];
51
58
  /**
@@ -110,7 +117,7 @@ export default function UserFeed(inProps) {
110
117
  if (scUser === null) {
111
118
  return _jsx(UserFeedSkeleton, {});
112
119
  }
113
- return (_jsx(Root, Object.assign({ id: id, className: classNames(classes.root, className), ref: feedRef, endpoint: Object.assign(Object.assign({}, Endpoints.UserFeed), { url: () => Endpoints.UserFeed.url({ id: scUser.id }) }), widgets: _widgets, ItemComponent: FeedObject, itemPropsGenerator: (scUser, item) => ({
120
+ return (_jsx(Root, Object.assign({ id: id, className: classNames(classes.root, className), ref: feedRef, endpoint: Object.assign(Object.assign({}, Endpoints.UserFeed), { url: () => Endpoints.UserFeed.url({ id: scUser.id }) }), widgets: _widgets, ItemComponent: FeedObject, itemPropsGenerator: (_scUser, item) => ({
114
121
  feedObject: item[item.type],
115
122
  feedObjectType: item.type,
116
123
  feedObjectActivities: item.activities ? item.activities : null