@selfcommunity/react-templates 0.4.5-alpha.8 → 0.4.5-courses.99
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/lib/cjs/components/CourseDashboard/CourseDashboard.d.ts +28 -0
- package/lib/cjs/components/CourseDashboard/CourseDashboard.js +39 -0
- package/lib/cjs/components/CourseDashboard/constants.d.ts +1 -0
- package/lib/cjs/components/CourseDashboard/constants.js +4 -0
- package/lib/cjs/components/CourseDashboard/index.d.ts +3 -0
- package/lib/cjs/components/CourseDashboard/index.js +5 -0
- package/lib/cjs/components/Courses/Courses.d.ts +25 -0
- package/lib/cjs/components/Courses/Courses.js +29 -0
- package/lib/cjs/components/Courses/constants.d.ts +1 -0
- package/lib/cjs/components/Courses/constants.js +4 -0
- package/lib/cjs/components/Courses/index.d.ts +3 -0
- package/lib/cjs/components/Courses/index.js +5 -0
- package/lib/cjs/components/EditCourse/EditCourse.d.ts +27 -0
- package/lib/cjs/components/EditCourse/EditCourse.js +29 -0
- package/lib/cjs/components/EditCourse/constants.d.ts +1 -0
- package/lib/cjs/components/EditCourse/constants.js +4 -0
- package/lib/cjs/components/EditCourse/index.d.ts +3 -0
- package/lib/cjs/components/EditCourse/index.js +5 -0
- package/lib/cjs/components/Event/Event.js +7 -1
- package/lib/cjs/components/EventFeed/EventFeed.js +9 -6
- package/lib/cjs/components/Lesson/Lesson.d.ts +40 -0
- package/lib/cjs/components/Lesson/Lesson.js +146 -0
- package/lib/cjs/components/Lesson/constants.d.ts +1 -0
- package/lib/cjs/components/Lesson/constants.js +4 -0
- package/lib/cjs/components/Lesson/index.d.ts +3 -0
- package/lib/cjs/components/Lesson/index.js +5 -0
- package/lib/cjs/components/UserFeed/UserFeed.js +10 -3
- package/lib/cjs/components/UserProfile/UserProfile.js +21 -7
- package/lib/cjs/index.d.ts +2 -1
- package/lib/cjs/index.js +3 -1
- package/lib/esm/components/CourseDashboard/CourseDashboard.d.ts +28 -0
- package/lib/esm/components/CourseDashboard/CourseDashboard.js +35 -0
- package/lib/esm/components/CourseDashboard/constants.d.ts +1 -0
- package/lib/esm/components/CourseDashboard/constants.js +1 -0
- package/lib/esm/components/CourseDashboard/index.d.ts +3 -0
- package/lib/esm/components/CourseDashboard/index.js +2 -0
- package/lib/esm/components/Courses/Courses.d.ts +25 -0
- package/lib/esm/components/Courses/Courses.js +25 -0
- package/lib/esm/components/Courses/constants.d.ts +1 -0
- package/lib/esm/components/Courses/constants.js +1 -0
- package/lib/esm/components/Courses/index.d.ts +3 -0
- package/lib/esm/components/Courses/index.js +2 -0
- package/lib/esm/components/EditCourse/EditCourse.d.ts +27 -0
- package/lib/esm/components/EditCourse/EditCourse.js +25 -0
- package/lib/esm/components/EditCourse/constants.d.ts +1 -0
- package/lib/esm/components/EditCourse/constants.js +1 -0
- package/lib/esm/components/EditCourse/index.d.ts +3 -0
- package/lib/esm/components/EditCourse/index.js +2 -0
- package/lib/esm/components/Event/Event.js +8 -2
- package/lib/esm/components/EventFeed/EventFeed.js +9 -6
- package/lib/esm/components/Lesson/Lesson.d.ts +40 -0
- package/lib/esm/components/Lesson/Lesson.js +143 -0
- package/lib/esm/components/Lesson/constants.d.ts +1 -0
- package/lib/esm/components/Lesson/constants.js +1 -0
- package/lib/esm/components/Lesson/index.d.ts +3 -0
- package/lib/esm/components/Lesson/index.js +2 -0
- package/lib/esm/components/UserFeed/UserFeed.js +11 -4
- package/lib/esm/components/UserProfile/UserProfile.js +22 -8
- package/lib/esm/index.d.ts +2 -1
- package/lib/esm/index.js +2 -1
- package/lib/umd/165.js +2 -0
- package/lib/umd/60a7fdeaadfe844bc015.woff2 +0 -0
- package/lib/umd/{e0b2b8a5f2f737384ae5.svg → 6158171e38cbff3c3340.svg} +9 -3
- package/lib/umd/{c3528e120c4e831db2ae.woff → b6dbec3d5816ff8baef1.woff} +0 -0
- package/lib/umd/{2aa155858f48b8f3911a.eot → ba74e493633796d551d1.ttf} +0 -0
- package/lib/umd/{a221d3aba0f6753cfbb7.ttf → c473ce30406a3dad83e1.eot} +0 -0
- package/lib/umd/react-templates.js +1 -19
- package/lib/umd/react-templates.js.LICENSE.txt +2 -0
- package/package.json +128 -123
- package/lib/umd/36f3af7f155d916c26ff.woff2 +0 -0
- package/lib/umd/555.js +0 -2
- /package/lib/umd/{555.js.LICENSE.txt → 165.js.LICENSE.txt} +0 -0
|
@@ -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
|
|
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:
|
|
30
|
+
component: UserLiveStreamWidget,
|
|
31
31
|
componentProps: {},
|
|
32
32
|
column: 'right',
|
|
33
33
|
position: 0
|
|
34
34
|
},
|
|
35
35
|
{
|
|
36
36
|
type: 'widget',
|
|
37
|
-
component:
|
|
37
|
+
component: UserFollowedCategoriesWidget,
|
|
38
38
|
componentProps: {},
|
|
39
39
|
column: 'right',
|
|
40
40
|
position: 1
|
|
41
41
|
},
|
|
42
42
|
{
|
|
43
43
|
type: 'widget',
|
|
44
|
-
component:
|
|
44
|
+
component: UserFollowedUsersWidget,
|
|
45
45
|
componentProps: {},
|
|
46
46
|
column: 'right',
|
|
47
47
|
position: 2
|
|
48
48
|
},
|
|
49
49
|
{
|
|
50
50
|
type: 'widget',
|
|
51
|
-
component:
|
|
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:
|
|
76
|
+
component: UserLiveStreamWidget,
|
|
70
77
|
componentProps: {},
|
|
71
78
|
column: 'right',
|
|
72
79
|
position: 0
|
|
73
80
|
},
|
|
74
81
|
{
|
|
75
82
|
type: 'widget',
|
|
76
|
-
component:
|
|
83
|
+
component: UserFollowedCategoriesWidget,
|
|
77
84
|
componentProps: {},
|
|
78
85
|
column: 'right',
|
|
79
86
|
position: 1
|
|
80
87
|
},
|
|
81
88
|
{
|
|
82
89
|
type: 'widget',
|
|
83
|
-
component:
|
|
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 = [
|
package/lib/esm/index.d.ts
CHANGED
|
@@ -11,4 +11,5 @@ import Group, { GroupProps, GroupSkeleton } from './components/Group';
|
|
|
11
11
|
import GroupFeed, { GroupFeedProps, GroupFeedSkeleton } from './components/GroupFeed';
|
|
12
12
|
import Event, { EventProps, EventSkeleton } from './components/Event';
|
|
13
13
|
import EventFeed, { EventFeedProps, EventFeedSkeleton } from './components/EventFeed';
|
|
14
|
-
|
|
14
|
+
import Lesson, { LessonProps } from './components/Lesson';
|
|
15
|
+
export { Category, CategoryProps, CategorySkeleton, CategoryFeed, CategoryFeedProps, CategoryFeedSkeleton, ExploreFeed, ExploreFeedProps, ExploreFeedSkeleton, FeedObjectDetail, FeedObjectDetailProps, FeedObjectDetailSkeleton, MainFeed, MainFeedProps, MainFeedSkeleton, NotificationFeed, NotificationFeedProps, NotificationFeedSkeleton, UserFeed, UserFeedProps, UserFeedSkeleton, UserProfile, UserProfileProps, UserProfileSkeleton, LoyaltyProgramDetail, LoyaltyProgramDetailProps, LoyaltyProgramDetailSkeleton, GroupFeed, GroupFeedProps, GroupFeedSkeleton, Group, GroupProps, GroupSkeleton, Event, EventProps, EventSkeleton, EventFeed, EventFeedProps, EventFeedSkeleton, Lesson, LessonProps };
|
package/lib/esm/index.js
CHANGED
|
@@ -11,4 +11,5 @@ import Group, { GroupSkeleton } from './components/Group';
|
|
|
11
11
|
import GroupFeed, { GroupFeedSkeleton } from './components/GroupFeed';
|
|
12
12
|
import Event, { EventSkeleton } from './components/Event';
|
|
13
13
|
import EventFeed, { EventFeedSkeleton } from './components/EventFeed';
|
|
14
|
-
|
|
14
|
+
import Lesson from './components/Lesson';
|
|
15
|
+
export { Category, CategorySkeleton, CategoryFeed, CategoryFeedSkeleton, ExploreFeed, ExploreFeedSkeleton, FeedObjectDetail, FeedObjectDetailSkeleton, MainFeed, MainFeedSkeleton, NotificationFeed, NotificationFeedSkeleton, UserFeed, UserFeedSkeleton, UserProfile, UserProfileSkeleton, LoyaltyProgramDetail, LoyaltyProgramDetailSkeleton, GroupFeed, GroupFeedSkeleton, Group, GroupSkeleton, Event, EventSkeleton, EventFeed, EventFeedSkeleton, Lesson };
|