cemtrik-dependencies 1.0.4 → 1.0.6
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/README.md +21 -20
- package/package.json +3 -2
- package/src/components/atoms/Alert/index.js +2 -2
- package/src/pages/_app.js +8 -0
- package/src/pages/index.js +11 -0
- package/src/styles/globals.css +12 -0
package/README.md
CHANGED
|
@@ -1,29 +1,30 @@
|
|
|
1
|
-
# README
|
|
1
|
+
# README
|
|
2
2
|
|
|
3
|
-
This README would normally document whatever steps are necessary to get your application up and
|
|
3
|
+
This README would normally document whatever steps are necessary to get your application up and
|
|
4
|
+
running.
|
|
4
5
|
|
|
5
|
-
### What is this repository for?
|
|
6
|
+
### What is this repository for?
|
|
6
7
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
- Quick summary
|
|
9
|
+
- Version
|
|
10
|
+
- [Learn Markdown](https://bitbucket.org/tutorials/markdowndemo)
|
|
10
11
|
|
|
11
|
-
### How do I get set up?
|
|
12
|
+
### How do I get set up?
|
|
12
13
|
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
14
|
+
- Summary of set up
|
|
15
|
+
- Configuration
|
|
16
|
+
- Dependencies
|
|
17
|
+
- Database configuration
|
|
18
|
+
- How to run tests
|
|
19
|
+
- Deployment instructions
|
|
19
20
|
|
|
20
|
-
### Contribution guidelines
|
|
21
|
+
### Contribution guidelines
|
|
21
22
|
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
- Writing tests
|
|
24
|
+
- Code review
|
|
25
|
+
- Other guidelines
|
|
25
26
|
|
|
26
|
-
### Who do I talk to?
|
|
27
|
+
### Who do I talk to?
|
|
27
28
|
|
|
28
|
-
|
|
29
|
-
|
|
29
|
+
- Repo owner or admin
|
|
30
|
+
- Other community or team contact
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cemtrik-dependencies",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.6",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"dev": "next dev -p 3000",
|
|
6
6
|
"build": "next build",
|
|
@@ -44,7 +44,8 @@
|
|
|
44
44
|
"postcss-loader": "^6.1.1",
|
|
45
45
|
"prettier": "^2.8.8",
|
|
46
46
|
"style-loader": "^3.3.3",
|
|
47
|
-
"tailwindcss": "^2.2.19"
|
|
47
|
+
"tailwindcss": "^2.2.19",
|
|
48
|
+
"webpack": "^5.85.0"
|
|
48
49
|
},
|
|
49
50
|
"lint-staged": {
|
|
50
51
|
"*.(js|ts)": "npm run lint"
|
|
@@ -52,7 +52,7 @@ const Alert = ({ type = "info", title, message, active = false, time = 1000, dis
|
|
|
52
52
|
useEffect(() => {
|
|
53
53
|
if (active) {
|
|
54
54
|
timeout = window.setTimeout(() => {
|
|
55
|
-
setIsOpen(false);
|
|
55
|
+
// setIsOpen(false);
|
|
56
56
|
dispatch({
|
|
57
57
|
type: "ALERT",
|
|
58
58
|
payload: { title: "", message: "", typeAlert: "", active: false },
|
|
@@ -61,7 +61,7 @@ const Alert = ({ type = "info", title, message, active = false, time = 1000, dis
|
|
|
61
61
|
return setIsOpen(true);
|
|
62
62
|
}
|
|
63
63
|
|
|
64
|
-
setIsOpen(false);
|
|
64
|
+
// setIsOpen(false);
|
|
65
65
|
return () => window.clearTimeout(timeout);
|
|
66
66
|
}, [active, dispatch, time]);
|
|
67
67
|
|