@pittorica/stack-react 0.21.0 → 0.22.0

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,46 +1,41 @@
1
1
  {
2
2
  "name": "@pittorica/stack-react",
3
- "version": "0.21.0",
4
- "private": false,
5
- "author": {
6
- "name": "Davide Di Criscito"
7
- },
3
+ "version": "0.22.0",
8
4
  "type": "module",
9
- "exports": {
10
- ".": {
11
- "types": "./dist/index.d.ts",
12
- "import": "./dist/index.js",
13
- "require": "./dist/index.cjs"
14
- }
15
- },
16
5
  "main": "./dist/index.js",
6
+ "module": "./dist/index.js",
7
+ "types": "./dist/index.d.ts",
8
+ "files": [
9
+ "dist"
10
+ ],
17
11
  "dependencies": {
18
- "@vanilla-extract/css": "^1.18.0",
19
- "@vanilla-extract/recipes": "^0.5.7",
20
- "clsx": "^2.1.1",
21
- "react": "^19.2.3",
22
- "react-dom": "^19.2.3",
23
- "@pittorica/box-react": "0.21.0",
24
- "@pittorica/styles": "0.21.0"
12
+ "@pittorica/flex-react": "0.22.0"
25
13
  },
26
14
  "devDependencies": {
27
- "@types/node": "^25.0.10",
28
- "@types/react": "^19.2.9",
15
+ "@testing-library/jest-dom": "^6.9.1",
16
+ "@testing-library/react": "^14.0.0",
17
+ "@types/react": "^19.2.3",
29
18
  "@types/react-dom": "^19.2.3",
30
- "@vanilla-extract/vite-plugin": "^5.1.4",
31
- "@vitejs/plugin-react": "^5.1.2",
32
- "babel-plugin-react-compiler": "^1.0.0",
33
- "typescript": "~5.9.3",
34
- "vite": "7.3.1",
35
- "vite-plugin-dts": "^4.5.4"
19
+ "@vitejs/plugin-react": "^4.0.0",
20
+ "jsdom": "^22.0.0",
21
+ "typescript": "^5.0.0",
22
+ "vite": "^5.0.0",
23
+ "vitest": "^2.1.9",
24
+ "@pittorica/theme-react": "0.22.0",
25
+ "pittorica": "0.22.0",
26
+ "@pittorica/box-react": "0.22.0"
36
27
  },
37
- "publishConfig": {
38
- "access": "public"
28
+ "peerDependencies": {
29
+ "react": ">=19",
30
+ "react-dom": ">=19"
39
31
  },
40
32
  "scripts": {
41
- "build": "tsc -b && vite build",
33
+ "build": "npm run clean && npm run build:js && npm run build:types",
34
+ "build:js": "vite build",
35
+ "build:types": "tsc -p tsconfig.json",
36
+ "clean": "rm -rf dist",
42
37
  "dev": "vite",
43
- "lint": "eslint .",
44
- "preview": "vite preview"
38
+ "test": "vitest run",
39
+ "test:watch": "vitest"
45
40
  }
46
41
  }
@@ -1,18 +0,0 @@
1
-
2
- > @pittorica/stack-react@0.21.0 build /home/runner/work/ui/ui/packages/stack-react
3
- > tsc -b && vite build
4
-
5
- vite v7.3.1 building client environment for production...
6
- transforming...
7
- ✓ 31 modules transformed.
8
- rendering chunks...
9
- 
10
- [vite:dts] Start generate declaration files...
11
- computing gzip size...
12
- [vite:dts] Declaration files built in 5648ms.
13
- 
14
- dist/stack-react.css  0.85 kB │ gzip: 0.25 kB
15
- dist/index.js 397.48 kB │ gzip: 72.37 kB │ map: 514.69 kB
16
- dist/stack-react.css  0.85 kB │ gzip: 0.25 kB
17
- dist/index.cjs 397.65 kB │ gzip: 72.41 kB │ map: 514.71 kB
18
- ✓ built in 14.39s