cemtrik-dependencies 1.0.4 → 1.0.5

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 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 running.
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
- * Quick summary
8
- * Version
9
- * [Learn Markdown](https://bitbucket.org/tutorials/markdowndemo)
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
- * Summary of set up
14
- * Configuration
15
- * Dependencies
16
- * Database configuration
17
- * How to run tests
18
- * Deployment instructions
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
- * Writing tests
23
- * Code review
24
- * Other guidelines
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
- * Repo owner or admin
29
- * Other community or team contact
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.4",
3
+ "version": "1.0.5",
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
 
@@ -0,0 +1,8 @@
1
+ import "../assets/cemtrik-icons-v1.0/style.css";
2
+ import "../styles/globals.css";
3
+
4
+ const App = ({ Component, pageProps }) => {
5
+ return <Component {...pageProps} />;
6
+ };
7
+
8
+ export default App;
@@ -0,0 +1,11 @@
1
+ import Avatar from "../components/atoms/Avatar";
2
+
3
+ const TestComponent = () => {
4
+ return (
5
+ <>
6
+ <Avatar />
7
+ </>
8
+ );
9
+ };
10
+
11
+ export default TestComponent;
@@ -0,0 +1,12 @@
1
+ @tailwind base;
2
+ @tailwind components;
3
+ @tailwind utilities;
4
+
5
+ body {
6
+ font-family: "Inter", sans-serif;
7
+ }
8
+
9
+ button {
10
+ transition: none;
11
+ outline: none;
12
+ }