@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
@@ -1 +1,3 @@
1
1
  /*! (c) 2023 - present: Quentral Srl | https://github.com/selfcommunity/community-js/blob/master/LICENSE.md */
2
+
3
+ /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
package/package.json CHANGED
@@ -1,125 +1,130 @@
1
1
  {
2
- "name": "@selfcommunity/react-templates",
3
- "version": "0.4.5-alpha.8",
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-alpha.3",
71
- "@selfcommunity/react-i18n": "^0.7.4-alpha.2",
72
- "@selfcommunity/react-ui": "^0.10.2-alpha.8",
73
- "@selfcommunity/types": "^0.7.4-alpha.0",
74
- "@types/classnames": "^2.3.1",
75
- "classnames": "^2.3.2"
76
- },
77
- "devDependencies": {
78
- "@types/chai": "^4.2.14",
79
- "@types/enzyme": "^3.10.8",
80
- "@types/jest": "^26.0.20",
81
- "@types/react": "17 || 18",
82
- "@types/react-dom": "17 || 18",
83
- "@types/sinon": "^9.0.10",
84
- "@typescript-eslint/eslint-plugin": "^4.14.2",
85
- "@typescript-eslint/parser": "^4.14.2",
86
- "babel-jest": "^26.6.3",
87
- "chai": "^4.2.0",
88
- "cherry-pick": "^0.5.0",
89
- "enzyme": "^3.10.0",
90
- "enzyme-adapter-react-16": "^1.15.6",
91
- "eslint": "^7.19.0",
92
- "eslint-config-prettier": "^7.2.0",
93
- "eslint-plugin-import": "^2.22.1",
94
- "eslint-plugin-mocha": "^8.0.0",
95
- "eslint-plugin-prettier": "^4.0.0",
96
- "eslint-plugin-react": "^7.22.0",
97
- "eslint-plugin-react-hooks": "^4.2.0",
98
- "faker": "^5.3.1",
99
- "install-peers-cli": "^2.2.0",
100
- "jest": "^26.6.3",
101
- "lodash": "^4.17.15",
102
- "postcss": "^8.2.4",
103
- "prettier": "^2.2.1",
104
- "rimraf": "^3.0.2",
105
- "sass": "^1.32.6",
106
- "sinon": "^9.2.4",
107
- "tslib": "^2.6.2",
108
- "typescript": "^4.1.3",
109
- "webpack": "^5.20.1",
110
- "webpack-atoms": "^17.1.0",
111
- "webpack-bundle-analyzer": "^4.9.0",
112
- "webpack-cli": "^4.5.0"
113
- },
114
- "prettier": {
115
- "printWidth": 150,
116
- "bracketSpacing": false,
117
- "trailingComma": "none",
118
- "singleQuote": true,
119
- "bracketSameLine": true
120
- },
121
- "bugs": {
122
- "url": "https://github.com/selfcommunity/community-js/issues"
123
- },
124
- "gitHead": "fb57a512275bdf5c9121731fef72bdef8a46ef10"
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