norma-library 0.0.2 → 0.0.4

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,16 +1,16 @@
1
1
  {
2
2
  "name": "norma-library",
3
3
  "private": false,
4
- "version": "0.0.2",
4
+ "version": "0.0.4",
5
5
  "type": "module",
6
6
  "description": "Norma Library. A React UI kit.",
7
7
  "scripts": {
8
8
  "dev": "vite",
9
- "build": "tsc --jsx react && vite build",
9
+ "build": "tsc && vite build",
10
10
  "preview": "vite preview",
11
- "lint": "eslint 'src/**/*.{js,jsx,ts,tsx}'",
12
- "lint:fix": "eslint --fix 'src/**/*.{jsx,ts,tsx}'",
13
- "format": "prettier --write src//**/*.{ts,tsx,css} --config ./.prettierrc",
11
+ "lint": "eslint 'src/**/**/*.{js,jsx,ts,tsx}'",
12
+ "lint:fix": "eslint --fix 'src/**/**/*.{jsx,ts,tsx}'",
13
+ "format": "prettier --write src//**/**/*.{ts,tsx,css} --config ./.prettierrc",
14
14
  "prepare": "husky install"
15
15
  },
16
16
  "husky": {
@@ -19,7 +19,7 @@
19
19
  }
20
20
  },
21
21
  "lint-staged": {
22
- "src/**/*.{js,jsx,ts,tsx}": [
22
+ "src/**/**/*.{js,jsx,ts,tsx}": [
23
23
  "yarn eslint",
24
24
  "yarn format"
25
25
  ]
@@ -53,12 +53,14 @@
53
53
  "eslint-plugin-react-hooks": "^4.6.0",
54
54
  "eslint-plugin-react-refresh": "^0.4.3",
55
55
  "eslint-plugin-simple-import-sort": "^7.0.0",
56
- "husky": "^8.0.1",
56
+ "husky": "^8.0.3",
57
+ "immer": "^10.0.2",
57
58
  "lint-staged": "^13.0.3",
58
59
  "node": "^20.5.0",
59
60
  "prettier": "^2.7.1",
60
61
  "react": "^18.2.0",
61
62
  "react-dom": "^18.2.0",
63
+ "react-i18next": "^13.0.3",
62
64
  "typescript": "^4.9.5",
63
65
  "vite": "^3.1.0",
64
66
  "vite-plugin-dts": "^1.4.1",
@@ -82,5 +84,11 @@
82
84
  "access": "public"
83
85
  },
84
86
  "homepage": "https://github.com/OlosLive/norma-library",
85
- "license": "MIT"
87
+ "license": "MIT",
88
+ "dependencies": {
89
+ "@emotion/react": "^11.11.1",
90
+ "@emotion/styled": "^11.11.0",
91
+ "@mui/icons-material": "^5.14.3",
92
+ "@mui/material": "^5.14.4"
93
+ }
86
94
  }
@@ -1,5 +0,0 @@
1
- export interface IButton {
2
- label: string;
3
- }
4
- export declare const Button: ({ label }: IButton) => import("react/jsx-runtime").JSX.Element;
5
- //# sourceMappingURL=Button.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["Button.tsx"],"names":[],"mappings":"AAEA,MAAM,WAAW,OAAO;IACtB,KAAK,EAAE,MAAM,CAAA;CACd;AAED,eAAO,MAAM,MAAM,cAAe,OAAO,4CAMxC,CAAA"}
@@ -1,2 +0,0 @@
1
- export { Button } from './Button';
2
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAA"}
@@ -1,5 +0,0 @@
1
- export interface IHelloWorld {
2
- text: string;
3
- }
4
- export declare const Helloworld: ({ text }: IHelloWorld) => import("react/jsx-runtime").JSX.Element;
5
- //# sourceMappingURL=HelloWorld.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"HelloWorld.d.ts","sourceRoot":"","sources":["HelloWorld.tsx"],"names":[],"mappings":"AAEA,MAAM,WAAW,WAAW;IAC1B,IAAI,EAAE,MAAM,CAAA;CACb;AACD,eAAO,MAAM,UAAU,aAAc,WAAW,4CAE/C,CAAA"}
package/dist/index.d.ts DELETED
@@ -1,5 +0,0 @@
1
- export type { IHelloWorld } from './HelloWorld';
2
- export type { IButton } from './Button/Button';
3
- export { Helloworld } from './HelloWorld';
4
- export { Button } from './Button';
5
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,WAAW,EAAE,MAAM,cAAc,CAAA;AAC/C,YAAY,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAA;AAC9C,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AACzC,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAA"}