@mainframework/dropzone 1.0.23 → 1.0.25

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,6 +1,6 @@
1
1
  {
2
2
  "name": "@mainframework/dropzone",
3
- "version": "1.0.23",
3
+ "version": "1.0.25",
4
4
  "description": "A file selection package, without all of the re-rendering issues that come with other dropzone packages",
5
5
  "type": "module",
6
6
  "module": "./dist/index.js",
@@ -21,14 +21,13 @@
21
21
  "homepage": "https://github.com/TerrySlack/mainframework-dropzone#readme",
22
22
  "scripts": {
23
23
  "build:css:dev": "npx @tailwindcss/cli -i ./src/index.css -o ./src/shared/components/FileSelector/tailwind.css --watch",
24
- "build:css:prod": "npx @tailwindcss/cli -i ./src/index.css -o ./src/shared/components/FileSelector/tailwind.css --minify",
24
+ "build:css:prod": "npx @tailwindcss/cli -i ./src/index.css -o ./src/shared/components/FileSelector/tailwind.css --minify && npx postcss ./src/shared/components/FileSelector/tailwind.css -o ./src/shared/components/FileSelector/tailwind.css",
25
25
  "husky": "husky",
26
26
  "clean": "rimraf dist",
27
27
  "lint": "eslint --ext 'ts,tsx' --max-warnings=0 --fix",
28
28
  "lint-staged": "lint-staged",
29
29
  "prebuild": "yarn husky && yarn clean",
30
30
  "copy:cssOld": "copyfiles -a -u 4 src/shared/components/FileSelector/tailwind.css dist/shared/components/FileSelector/",
31
- "buildOld": "yarn build:css:prod && rollup -c && yarn copy:css",
32
31
  "build": "yarn build:css:prod && rollup -c",
33
32
  "test": "jest --config jestconfig.json"
34
33
  },
@@ -40,6 +39,9 @@
40
39
  "optional": false
41
40
  }
42
41
  },
42
+ "sideEffects": [
43
+ "*.css"
44
+ ],
43
45
  "files": [
44
46
  "dist",
45
47
  "LICENSE",
@@ -70,7 +72,7 @@
70
72
  "@rollup/plugin-node-resolve": "^16.0.3",
71
73
  "@rollup/plugin-typescript": "^12.3.0",
72
74
  "@tailwindcss/aspect-ratio": "^0.4.2",
73
- "@tailwindcss/cli": "^4.1.18",
75
+ "@tailwindcss/cli": "^4.2.4",
74
76
  "@tailwindcss/forms": "^0.5.11",
75
77
  "@testing-library/dom": "^10.4.1",
76
78
  "@testing-library/jest-dom": "^6.9.1",
@@ -84,25 +86,27 @@
84
86
  "eslint-config-prettier": "^10.1.8",
85
87
  "eslint-plugin-prettier": "^5.5.5",
86
88
  "eslint-plugin-react": "^7.37.5",
87
- "eslint-plugin-react-hooks": "^7.0.1",
89
+ "eslint-plugin-react-hooks": "^7.1.1",
88
90
  "husky": "^9.1.7",
89
- "jest": "^30.2.0",
91
+ "jest": "^30.3.0",
90
92
  "jest-canvas-mock": "^2.5.2",
91
- "jest-environment-jsdom": "^30.2.0",
92
- "lint-staged": "^16.2.7",
93
- "postcss": "^8.5.6",
94
- "prettier": "^3.8.1",
95
- "react": "^19.2.4",
96
- "react-dom": "^19.2.4",
93
+ "jest-environment-jsdom": "^30.3.0",
94
+ "lint-staged": "^16.4.0",
95
+ "postcss": "^8.5.10",
96
+ "postcss-cli": "^11.0.1",
97
+ "postcss-prefix-selector": "^2.1.1",
98
+ "prettier": "^3.8.3",
99
+ "react": "^19.2.5",
100
+ "react-dom": "^19.2.5",
97
101
  "rimraf": "^6.1.3",
98
- "rollup": "^4.57.1",
99
- "rollup-plugin-dts": "^6.3.0",
102
+ "rollup": "^4.60.2",
103
+ "rollup-plugin-dts": "^6.4.1",
100
104
  "rollup-plugin-postcss": "^4.0.2",
101
- "tailwind-merge": "^3.4.1",
102
- "tailwindcss": "^4.1.18",
103
- "ts-jest": "^29.4.6",
105
+ "tailwind-merge": "^3.5.0",
106
+ "tailwindcss": "^4.2.4",
107
+ "ts-jest": "^29.4.9",
104
108
  "tslib": "^2.8.1",
105
- "typescript": "^5.9.3",
106
- "typescript-eslint": "^8.56.0"
109
+ "typescript": "^6.0.3",
110
+ "typescript-eslint": "^8.59.0"
107
111
  }
108
112
  }