mario-core 2.4.8 → 2.5.0

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/package.json CHANGED
@@ -1,93 +1,93 @@
1
- {
2
- "name": "mario-core",
3
- "version": "2.4.8",
4
- "description": "Contains core components && functions for Mario project",
5
- "author": "brss",
6
- "license": "MIT",
7
- "repository": "brss/mario-core",
8
- "main": "dist/index.js",
9
- "module": "dist/index.modern.js",
10
- "source": "src/index.tsx",
11
- "engines": {
12
- "node": ">=10"
13
- },
14
- "scripts": {
15
- "build": "microbundle-crl --no-compress --format modern,cjs",
16
- "start": "microbundle-crl watch --no-compress --format modern,cjs",
17
- "prepare": "run-s build",
18
- "test": "run-s test:unit test:lint test:build",
19
- "test:build": "run-s build",
20
- "test:lint": "eslint .",
21
- "test:unit": "cross-env CI=1 react-scripts test --env=jsdom",
22
- "test:watch": "react-scripts test --env=jsdom"
23
- },
24
- "peerDependencies": {
25
- "react": "^16.0.0",
26
- "react-dom": "*",
27
- "react-router-dom": "*",
28
- "react-redux": "*"
29
- },
30
- "devDependencies": {
31
- "@rollup/plugin-commonjs": "11.0.2",
32
- "@testing-library/jest-dom": "^4.2.4",
33
- "@testing-library/react": "^9.5.0",
34
- "@testing-library/user-event": "^7.2.1",
35
- "@types/date-fns": "^2.6.0",
36
- "@types/jest": "^25.1.4",
37
- "@types/node": "^12.12.38",
38
- "@types/react": "^16.9.27",
39
- "@types/react-datepicker": "^3.1.7",
40
- "@types/react-dom": "^16.9.7",
41
- "@types/react-redux": "^7.1.16",
42
- "@types/react-router-dom": "^5.1.7",
43
- "@types/react-select": "^4.0.13",
44
- "@types/redux-logger": "^3.0.8",
45
- "@types/yup": "^0.29.11",
46
- "@typescript-eslint/eslint-plugin": "^2.26.0",
47
- "@typescript-eslint/parser": "^2.26.0",
48
- "babel-eslint": "^10.0.3",
49
- "cross-env": "^7.0.2",
50
- "eslint": "^6.8.0",
51
- "eslint-config-prettier": "^6.7.0",
52
- "eslint-config-standard": "^14.1.0",
53
- "eslint-config-standard-react": "^9.2.0",
54
- "eslint-plugin-import": "^2.18.2",
55
- "eslint-plugin-node": "^11.0.0",
56
- "eslint-plugin-prettier": "^3.3.1",
57
- "eslint-plugin-promise": "^4.2.1",
58
- "eslint-plugin-react": "^7.17.0",
59
- "eslint-plugin-standard": "^4.0.1",
60
- "gh-pages": "^2.2.0",
61
- "microbundle-crl": "^0.13.10",
62
- "npm-run-all": "^4.1.5",
63
- "prettier": "^2.0.4",
64
- "react-scripts": "^3.4.1",
65
- "redux-logger": "^3.0.6",
66
- "typescript": "^3.7.5"
67
- },
68
- "files": [
69
- "dist"
70
- ],
71
- "dependencies": {
72
- "@coreui/icons": "2.0.0-rc.0",
73
- "@coreui/icons-react": "1.0.2",
74
- "@coreui/react": "3.4.0",
75
- "@reduxjs/toolkit": "^1.5.0",
76
- "@tinymce/tinymce-react": "^3.9.0",
77
- "@types/react-notifications-component": "^2.4.0",
78
- "axios": "^0.21.1",
79
- "bootstrap": "^4.6.0",
80
- "date-fns": "^2.19.0",
81
- "formik": "^2.2.6",
82
- "node-sass": "^5.0.0",
83
- "pusher-js": "^7.0.3",
84
- "react-datepicker": "^3.6.0",
85
- "react-google-recaptcha-v3": "^1.9.3",
86
- "react-icons": "^4.2.0",
87
- "react-notifications-component": "^3.0.4",
88
- "react-select": "^4.1.0",
89
- "reactstrap": "^8.9.0",
90
- "redux-thunk": "^2.3.0",
91
- "yup": "^0.32.9"
92
- }
93
- }
1
+ {
2
+ "name": "mario-core",
3
+ "version": "2.5.0",
4
+ "description": "Contains core components && functions for Mario project",
5
+ "author": "brss",
6
+ "license": "MIT",
7
+ "repository": "brss/mario-core",
8
+ "main": "dist/index.js",
9
+ "module": "dist/index.modern.js",
10
+ "source": "src/index.tsx",
11
+ "engines": {
12
+ "node": ">=10"
13
+ },
14
+ "scripts": {
15
+ "build": "microbundle-crl --no-compress --format modern,cjs",
16
+ "start": "microbundle-crl watch --no-compress --format modern,cjs",
17
+ "prepare": "run-s build",
18
+ "test": "run-s test:unit test:lint test:build",
19
+ "test:build": "run-s build",
20
+ "test:lint": "eslint .",
21
+ "test:unit": "cross-env CI=1 react-scripts test --env=jsdom",
22
+ "test:watch": "react-scripts test --env=jsdom"
23
+ },
24
+ "peerDependencies": {
25
+ "react": "^16.0.0",
26
+ "react-dom": "*",
27
+ "react-router-dom": "*",
28
+ "react-redux": "*"
29
+ },
30
+ "devDependencies": {
31
+ "@rollup/plugin-commonjs": "11.0.2",
32
+ "@testing-library/jest-dom": "^4.2.4",
33
+ "@testing-library/react": "^9.5.0",
34
+ "@testing-library/user-event": "^7.2.1",
35
+ "@types/date-fns": "^2.6.0",
36
+ "@types/jest": "^25.1.4",
37
+ "@types/node": "^12.12.38",
38
+ "@types/react": "^16.9.27",
39
+ "@types/react-datepicker": "^3.1.7",
40
+ "@types/react-dom": "^16.9.7",
41
+ "@types/react-redux": "^7.1.16",
42
+ "@types/react-router-dom": "^5.1.7",
43
+ "@types/react-select": "^4.0.13",
44
+ "@types/redux-logger": "^3.0.8",
45
+ "@types/yup": "^0.29.11",
46
+ "@typescript-eslint/eslint-plugin": "^2.26.0",
47
+ "@typescript-eslint/parser": "^2.26.0",
48
+ "babel-eslint": "^10.0.3",
49
+ "cross-env": "^7.0.2",
50
+ "eslint": "^6.8.0",
51
+ "eslint-config-prettier": "^6.7.0",
52
+ "eslint-config-standard": "^14.1.0",
53
+ "eslint-config-standard-react": "^9.2.0",
54
+ "eslint-plugin-import": "^2.18.2",
55
+ "eslint-plugin-node": "^11.0.0",
56
+ "eslint-plugin-prettier": "^3.3.1",
57
+ "eslint-plugin-promise": "^4.2.1",
58
+ "eslint-plugin-react": "^7.17.0",
59
+ "eslint-plugin-standard": "^4.0.1",
60
+ "gh-pages": "^2.2.0",
61
+ "microbundle-crl": "^0.13.10",
62
+ "npm-run-all": "^4.1.5",
63
+ "prettier": "^2.0.4",
64
+ "react-scripts": "^3.4.1",
65
+ "redux-logger": "^3.0.6",
66
+ "typescript": "^3.7.5"
67
+ },
68
+ "files": [
69
+ "dist"
70
+ ],
71
+ "dependencies": {
72
+ "@coreui/icons": "2.0.0-rc.0",
73
+ "@coreui/icons-react": "1.0.2",
74
+ "@coreui/react": "3.4.0",
75
+ "@reduxjs/toolkit": "^1.5.0",
76
+ "@tinymce/tinymce-react": "^3.9.0",
77
+ "@types/react-notifications-component": "^2.4.0",
78
+ "axios": "^0.21.1",
79
+ "bootstrap": "^4.6.0",
80
+ "date-fns": "^2.19.0",
81
+ "formik": "^2.2.6",
82
+ "node-sass": "^5.0.0",
83
+ "pusher-js": "^7.0.3",
84
+ "react-datepicker": "^3.6.0",
85
+ "react-google-recaptcha-v3": "^1.9.3",
86
+ "react-icons": "^4.2.0",
87
+ "react-notifications-component": "^3.0.4",
88
+ "react-select": "^4.1.0",
89
+ "reactstrap": "^8.9.0",
90
+ "redux-thunk": "^2.3.0",
91
+ "yup": "^0.32.9"
92
+ }
93
+ }
@@ -1,13 +0,0 @@
1
- /// <reference types="react" />
2
- import { S3Object } from "../constants/gallery.types";
3
- interface FormDataMediaType {
4
- file: File;
5
- key?: string;
6
- }
7
- declare const useGalleryDetail: () => {
8
- targetMedia: S3Object | undefined;
9
- selectTargetMedia: import("react").Dispatch<import("react").SetStateAction<S3Object | undefined>>;
10
- openFolder: (key: string) => void;
11
- setFormDataMediaType: import("react").Dispatch<import("react").SetStateAction<FormDataMediaType | undefined>>;
12
- };
13
- export default useGalleryDetail;
@@ -1 +0,0 @@
1
- export declare const setCurrentChildrenId: import("@reduxjs/toolkit").ActionCreatorWithPayload<any, string>;
@@ -1,2 +0,0 @@
1
- declare const parent: import("redux").Reducer<any, import("redux").AnyAction>;
2
- export default parent;
@@ -1 +0,0 @@
1
- export declare const setSubjectCategoryList: import("@reduxjs/toolkit").ActionCreatorWithPayload<any, string>;
@@ -1,2 +0,0 @@
1
- declare const commonReducer: import("redux").Reducer<any, import("redux").AnyAction>;
2
- export default commonReducer;