@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
package/package.json
CHANGED
|
@@ -1,125 +1,130 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
2
|
+
"name": "@selfcommunity/react-templates",
|
|
3
|
+
"version": "0.4.5-courses.99+885f17e77",
|
|
4
|
+
"license": "MIT",
|
|
5
|
+
"private": false,
|
|
6
|
+
"main": "./lib/cjs/index.js",
|
|
7
|
+
"module": "./lib/esm/index.js",
|
|
8
|
+
"exports": {
|
|
9
|
+
".": {
|
|
10
|
+
"require": "./lib/cjs/index.js",
|
|
11
|
+
"import": "./lib/esm/index.js"
|
|
12
|
+
},
|
|
13
|
+
"./*": {
|
|
14
|
+
"require": "./lib/cjs/*",
|
|
15
|
+
"import": "./lib/esm/*"
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
"sideEffects": false,
|
|
19
|
+
"description": "React Templates Components to integrate a Community created with SelfCommunity.",
|
|
20
|
+
"author": "SelfCommunity <https://www.selfcommunity.com>",
|
|
21
|
+
"keywords": [
|
|
22
|
+
"react",
|
|
23
|
+
"widgets",
|
|
24
|
+
"community",
|
|
25
|
+
"selfcommunity",
|
|
26
|
+
"community templates",
|
|
27
|
+
"selfcommunity templates",
|
|
28
|
+
"react-ui",
|
|
29
|
+
"react-components",
|
|
30
|
+
"react-templates"
|
|
31
|
+
],
|
|
32
|
+
"scripts": {
|
|
33
|
+
"prepare": "install-peers -f",
|
|
34
|
+
"install-peers": "install-peers -f",
|
|
35
|
+
"test": "npm run lint && npm run test-only",
|
|
36
|
+
"test-only": "jest --runInBand",
|
|
37
|
+
"tdd": "jest --watch --runInBand",
|
|
38
|
+
"lint": "eslint ./src test --ext .ts,.tsx,.js",
|
|
39
|
+
"prettier": "prettier './**/*.js' './**/*.css' './**/*.md' --write",
|
|
40
|
+
"prettier-list-different": "prettier './**/*.js' './**/*.css' './**/*.md' --list-different",
|
|
41
|
+
"clean:lib": "rimraf lib",
|
|
42
|
+
"clean:node_modules": "rimraf node_modules",
|
|
43
|
+
"build:commonjs": "tsc -b tsconfig-cjs.build.json",
|
|
44
|
+
"build:esm": "tsc -b tsconfig-esm.build.json",
|
|
45
|
+
"build:umd": "webpack --mode production",
|
|
46
|
+
"build:umd:analyze": "webpack --mode production --profile --json > ./lib/umd/stats.json && webpack-bundle-analyzer ./lib/umd/stats.json",
|
|
47
|
+
"build": "yarn clean:lib && yarn build:commonjs && yarn build:esm && yarn build:umd",
|
|
48
|
+
"prerelease": "yarn run clean:lib && yarn run build"
|
|
49
|
+
},
|
|
50
|
+
"homepage": "https://www.selfcommunity.com",
|
|
51
|
+
"files": [
|
|
52
|
+
"lib"
|
|
53
|
+
],
|
|
54
|
+
"repository": {
|
|
55
|
+
"type": "git",
|
|
56
|
+
"url": "https://github.com/selfcommunity/community-js/tree/main/packages/react-templates"
|
|
57
|
+
},
|
|
58
|
+
"publishConfig": {
|
|
59
|
+
"access": "public"
|
|
60
|
+
},
|
|
61
|
+
"peerDependencies": {
|
|
62
|
+
"@emotion/react": "^11.11.3",
|
|
63
|
+
"@emotion/styled": "^11.11.0",
|
|
64
|
+
"@mui/material": "^5.15.3",
|
|
65
|
+
"react": "^17.0.2 || 18",
|
|
66
|
+
"react-dom": "17 || 18",
|
|
67
|
+
"react-intl": "^6.5.5"
|
|
68
|
+
},
|
|
69
|
+
"dependencies": {
|
|
70
|
+
"@selfcommunity/react-core": "0.6.4-courses.101+885f17e77",
|
|
71
|
+
"@selfcommunity/react-i18n": "0.7.4-courses.101+885f17e77",
|
|
72
|
+
"@selfcommunity/react-ui": "0.10.2-courses.99+885f17e77",
|
|
73
|
+
"@selfcommunity/types": "0.7.4-courses.147+885f17e77",
|
|
74
|
+
"@types/classnames": "^2.3.1",
|
|
75
|
+
"classnames": "^2.3.2"
|
|
76
|
+
},
|
|
77
|
+
"devDependencies": {
|
|
78
|
+
"@babel/core": "^7.7.4",
|
|
79
|
+
"@babel/preset-env": "^7.25.8",
|
|
80
|
+
"@babel/preset-react": "^7.7.4",
|
|
81
|
+
"@babel/preset-typescript": "^7.7.4",
|
|
82
|
+
"@types/chai": "^4.2.14",
|
|
83
|
+
"@types/enzyme": "^3.10.8",
|
|
84
|
+
"@types/jest": "^26.0.20",
|
|
85
|
+
"@types/react": "17 || 18",
|
|
86
|
+
"@types/react-dom": "17 || 18",
|
|
87
|
+
"@types/sinon": "^9.0.10",
|
|
88
|
+
"@typescript-eslint/eslint-plugin": "^4.14.2",
|
|
89
|
+
"@typescript-eslint/parser": "^4.14.2",
|
|
90
|
+
"babel-jest": "^26.6.3",
|
|
91
|
+
"babel-loader": "^8.2.2",
|
|
92
|
+
"babel-preset-env-modules": "^1.0.0",
|
|
93
|
+
"chai": "^4.2.0",
|
|
94
|
+
"cherry-pick": "^0.5.0",
|
|
95
|
+
"enzyme": "^3.10.0",
|
|
96
|
+
"enzyme-adapter-react-16": "^1.15.6",
|
|
97
|
+
"eslint": "^7.19.0",
|
|
98
|
+
"eslint-config-prettier": "^7.2.0",
|
|
99
|
+
"eslint-plugin-import": "^2.22.1",
|
|
100
|
+
"eslint-plugin-mocha": "^8.0.0",
|
|
101
|
+
"eslint-plugin-prettier": "^4.0.0",
|
|
102
|
+
"eslint-plugin-react": "^7.22.0",
|
|
103
|
+
"eslint-plugin-react-hooks": "^4.2.0",
|
|
104
|
+
"faker": "^5.3.1",
|
|
105
|
+
"install-peers-cli": "^2.2.0",
|
|
106
|
+
"jest": "^26.6.3",
|
|
107
|
+
"lodash": "^4.17.15",
|
|
108
|
+
"postcss": "^8.2.4",
|
|
109
|
+
"prettier": "^2.2.1",
|
|
110
|
+
"rimraf": "^3.0.2",
|
|
111
|
+
"sass": "^1.32.6",
|
|
112
|
+
"sinon": "^9.2.4",
|
|
113
|
+
"tslib": "^2.6.2",
|
|
114
|
+
"typescript": "^4.1.3",
|
|
115
|
+
"webpack": "^5.20.1",
|
|
116
|
+
"webpack-bundle-analyzer": "^4.9.0",
|
|
117
|
+
"webpack-cli": "^4.5.0"
|
|
118
|
+
},
|
|
119
|
+
"prettier": {
|
|
120
|
+
"printWidth": 150,
|
|
121
|
+
"bracketSpacing": false,
|
|
122
|
+
"trailingComma": "none",
|
|
123
|
+
"singleQuote": true,
|
|
124
|
+
"bracketSameLine": true
|
|
125
|
+
},
|
|
126
|
+
"bugs": {
|
|
127
|
+
"url": "https://github.com/selfcommunity/community-js/issues"
|
|
128
|
+
},
|
|
129
|
+
"gitHead": "885f17e7746d3308b7db24415a2b1a9913ae6d88"
|
|
125
130
|
}
|
|
Binary file
|