@mahatisystems/mahati-ui-components 1.2.0 → 1.2.1

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,44 +1,71 @@
1
1
  {
2
2
  "name": "@mahatisystems/mahati-ui-components",
3
- "version": "1.2.0",
3
+ "version": "1.2.1",
4
4
  "main": "./dist/index.js",
5
5
  "module": "./dist/index.mjs",
6
6
  "types": "./dist/index.d.ts",
7
7
  "exports": {
8
8
  ".": {
9
- "types": "./dist/index.d.ts",
10
9
  "import": "./dist/index.mjs",
11
10
  "require": "./dist/index.js"
12
- }
11
+ },
12
+ "./styles": "./dist/index.css",
13
+ "./dist/index.css": "./dist/index.css"
13
14
  },
14
15
  "files": [
15
16
  "dist"
16
17
  ],
17
18
  "scripts": {
18
- "build": "tsup --config tsup.config.ts",
19
- "dev": "tsup --config tsup.config.ts --watch"
19
+ "build:css": "tailwindcss -i ./src/styles/index.css -o ./dist/index.css --minify",
20
+ "build:js": "tsup src/index.ts --config tsup.config.ts --no-clean",
21
+ "build": "rimraf dist && npm run build:css && npm run build:js",
22
+ "build:watch": "tsup src/index.ts --config tsup.config.ts --watch",
23
+ "test": "jest --coverage",
24
+ "lint": "eslint \"src/**/*.{ts,tsx}\"",
25
+ "clean": "rimraf dist",
26
+ "yalc:pub": "npm run build && yalc publish",
27
+ "dev:yalc": "npm run yalc:pub && tsup src/index.ts --config tsup.config.ts --watch --onSuccess \"yalc publish --push\""
20
28
  },
21
- "sideEffects": [
22
- "*.css"
23
- ],
24
29
  "peerDependencies": {
25
- "react": "^19.0.0",
26
- "react-dom": "^19.0.0",
27
- "styled-components": "^6.1.19"
30
+ "react": "^18 || ^19",
31
+ "react-dom": "^18 || ^19"
32
+ },
33
+ "dependencies": {
34
+ "@heroicons/react": "^2.2.0",
35
+ "@radix-ui/react-avatar": "^1.0.4",
36
+ "@radix-ui/react-dialog": "^1.0.5",
37
+ "@radix-ui/react-dropdown-menu": "^2.0.6",
38
+ "@radix-ui/react-slot": "^1.0.2",
39
+ "@radix-ui/react-tooltip": "^1.0.7",
40
+ "chart.js": "^4.5.1",
41
+ "class-variance-authority": "^0.7.0",
42
+ "clsx": "^2.1.1",
43
+ "lucide-react": "^0.553.0",
44
+ "react-chartjs-2": "^5.3.1",
45
+ "react-icons": "^5.5.0",
46
+ "tailwind-merge": "^2.3.0",
47
+ "tailwindcss-animate": "^1.0.7"
28
48
  },
29
49
  "devDependencies": {
30
- "@types/node": "^20.14.9",
31
- "@types/react": "^19.2.2",
32
- "@types/react-dom": "^19.2.1",
33
- "autoprefixer": "^10.4.21",
34
- "postcss": "^8.5.6",
35
- "postcss-import": "^16.1.0",
36
- "postcss-load-config": "^6.0.1",
37
- "postcss-modules": "^6.0.0",
38
- "react": "^19.2.0",
39
- "react-dom": "^19.2.0",
40
- "tailwindcss": "^3.4.17",
41
- "tsup": "^8.5.0",
42
- "typescript": "^5.5.3"
43
- }
50
+ "@swc/core": "^1.15.1",
51
+ "@types/react": "^18.2.0",
52
+ "@types/react-dom": "^18.2.0",
53
+ "@typescript-eslint/eslint-plugin": "^6.0.0",
54
+ "@typescript-eslint/parser": "^6.0.0",
55
+ "autoprefixer": "^10.4.19",
56
+ "eslint": "^8.0.0",
57
+ "eslint-plugin-react": "^7.0.0",
58
+ "eslint-plugin-react-hooks": "^4.0.0",
59
+ "jest": "^29.7.0",
60
+ "jest-environment-jsdom": "^29.7.0",
61
+ "postcss": "^8.4.38",
62
+ "postcss-prefixwrap": "^1.1.0",
63
+ "rimraf": "^5.0.0",
64
+ "tailwindcss": "^3.4.3",
65
+ "tsup": "^8.0.0",
66
+ "typescript": "^5.0.0"
67
+ },
68
+ "sideEffects": [
69
+ "**/*.css"
70
+ ]
44
71
  }