@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.
Files changed (72) hide show
  1. package/lib/cjs/components/CourseDashboard/CourseDashboard.d.ts +28 -0
  2. package/lib/cjs/components/CourseDashboard/CourseDashboard.js +39 -0
  3. package/lib/cjs/components/CourseDashboard/constants.d.ts +1 -0
  4. package/lib/cjs/components/CourseDashboard/constants.js +4 -0
  5. package/lib/cjs/components/CourseDashboard/index.d.ts +3 -0
  6. package/lib/cjs/components/CourseDashboard/index.js +5 -0
  7. package/lib/cjs/components/Courses/Courses.d.ts +25 -0
  8. package/lib/cjs/components/Courses/Courses.js +29 -0
  9. package/lib/cjs/components/Courses/constants.d.ts +1 -0
  10. package/lib/cjs/components/Courses/constants.js +4 -0
  11. package/lib/cjs/components/Courses/index.d.ts +3 -0
  12. package/lib/cjs/components/Courses/index.js +5 -0
  13. package/lib/cjs/components/EditCourse/EditCourse.d.ts +27 -0
  14. package/lib/cjs/components/EditCourse/EditCourse.js +29 -0
  15. package/lib/cjs/components/EditCourse/constants.d.ts +1 -0
  16. package/lib/cjs/components/EditCourse/constants.js +4 -0
  17. package/lib/cjs/components/EditCourse/index.d.ts +3 -0
  18. package/lib/cjs/components/EditCourse/index.js +5 -0
  19. package/lib/cjs/components/Event/Event.js +7 -1
  20. package/lib/cjs/components/EventFeed/EventFeed.js +9 -6
  21. package/lib/cjs/components/Lesson/Lesson.d.ts +40 -0
  22. package/lib/cjs/components/Lesson/Lesson.js +146 -0
  23. package/lib/cjs/components/Lesson/constants.d.ts +1 -0
  24. package/lib/cjs/components/Lesson/constants.js +4 -0
  25. package/lib/cjs/components/Lesson/index.d.ts +3 -0
  26. package/lib/cjs/components/Lesson/index.js +5 -0
  27. package/lib/cjs/components/UserFeed/UserFeed.js +10 -3
  28. package/lib/cjs/components/UserProfile/UserProfile.js +21 -7
  29. package/lib/cjs/index.d.ts +2 -1
  30. package/lib/cjs/index.js +3 -1
  31. package/lib/esm/components/CourseDashboard/CourseDashboard.d.ts +28 -0
  32. package/lib/esm/components/CourseDashboard/CourseDashboard.js +35 -0
  33. package/lib/esm/components/CourseDashboard/constants.d.ts +1 -0
  34. package/lib/esm/components/CourseDashboard/constants.js +1 -0
  35. package/lib/esm/components/CourseDashboard/index.d.ts +3 -0
  36. package/lib/esm/components/CourseDashboard/index.js +2 -0
  37. package/lib/esm/components/Courses/Courses.d.ts +25 -0
  38. package/lib/esm/components/Courses/Courses.js +25 -0
  39. package/lib/esm/components/Courses/constants.d.ts +1 -0
  40. package/lib/esm/components/Courses/constants.js +1 -0
  41. package/lib/esm/components/Courses/index.d.ts +3 -0
  42. package/lib/esm/components/Courses/index.js +2 -0
  43. package/lib/esm/components/EditCourse/EditCourse.d.ts +27 -0
  44. package/lib/esm/components/EditCourse/EditCourse.js +25 -0
  45. package/lib/esm/components/EditCourse/constants.d.ts +1 -0
  46. package/lib/esm/components/EditCourse/constants.js +1 -0
  47. package/lib/esm/components/EditCourse/index.d.ts +3 -0
  48. package/lib/esm/components/EditCourse/index.js +2 -0
  49. package/lib/esm/components/Event/Event.js +8 -2
  50. package/lib/esm/components/EventFeed/EventFeed.js +9 -6
  51. package/lib/esm/components/Lesson/Lesson.d.ts +40 -0
  52. package/lib/esm/components/Lesson/Lesson.js +143 -0
  53. package/lib/esm/components/Lesson/constants.d.ts +1 -0
  54. package/lib/esm/components/Lesson/constants.js +1 -0
  55. package/lib/esm/components/Lesson/index.d.ts +3 -0
  56. package/lib/esm/components/Lesson/index.js +2 -0
  57. package/lib/esm/components/UserFeed/UserFeed.js +11 -4
  58. package/lib/esm/components/UserProfile/UserProfile.js +22 -8
  59. package/lib/esm/index.d.ts +2 -1
  60. package/lib/esm/index.js +2 -1
  61. package/lib/umd/165.js +2 -0
  62. package/lib/umd/60a7fdeaadfe844bc015.woff2 +0 -0
  63. package/lib/umd/{e0b2b8a5f2f737384ae5.svg → 6158171e38cbff3c3340.svg} +9 -3
  64. package/lib/umd/{c3528e120c4e831db2ae.woff → b6dbec3d5816ff8baef1.woff} +0 -0
  65. package/lib/umd/{2aa155858f48b8f3911a.eot → ba74e493633796d551d1.ttf} +0 -0
  66. package/lib/umd/{a221d3aba0f6753cfbb7.ttf → c473ce30406a3dad83e1.eot} +0 -0
  67. package/lib/umd/react-templates.js +1 -19
  68. package/lib/umd/react-templates.js.LICENSE.txt +2 -0
  69. package/package.json +128 -123
  70. package/lib/umd/36f3af7f155d916c26ff.woff2 +0 -0
  71. package/lib/umd/555.js +0 -2
  72. /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, } 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 = [
@@ -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
- 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 };
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
- 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 };
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 };