levannta-ui 1.0.44 → 1.0.45-react18

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,7 +1,7 @@
1
1
  {
2
2
  "name": "levannta-ui",
3
- "version": "1.0.44",
4
- "description": "Una biblioteca de componentes UI moderna construida con React 19 y CSS",
3
+ "version": "1.0.45-react18",
4
+ "description": "Una biblioteca de componentes UI moderna construida con React 18 y CSS - Configuración Storybook",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.esm.js",
7
7
  "types": "dist/index.d.ts",
@@ -17,16 +17,15 @@
17
17
  "test": "jest",
18
18
  "lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
19
19
  "preview": "vite preview",
20
- "storybook": "storybook dev -p 6006",
21
- "build-storybook": "storybook build",
22
- "publish:react19": "npm publish --tag react19"
20
+ "storybook": "STORYBOOK_CONFIG_DIR=.storybook-react18 storybook dev -p 6006 -c .storybook-react18",
21
+ "build-storybook": "STORYBOOK_CONFIG_DIR=.storybook-react18 storybook build -c .storybook-react18 -o storybook-static-react18",
22
+ "publish:react18": "npm publish --tag react18"
23
23
  },
24
24
  "dependencies": {
25
25
  "class-variance-authority": "^0.7.0",
26
26
  "clsx": "^2.0.0",
27
- "react": "^19.1.1",
28
- "react-dom": "^19.1.1",
29
- "react-router-dom": "^6.28.0",
27
+ "react": "^18.2.0",
28
+ "react-dom": "^18.2.0",
30
29
  "tailwind-merge": "^2.0.0"
31
30
  },
32
31
  "devDependencies": {
@@ -37,8 +36,8 @@
37
36
  "@storybook/react": "^8.6.14",
38
37
  "@storybook/react-vite": "^8.6.14",
39
38
  "@storybook/test": "^8.6.14",
40
- "@types/react": "^18.3.23",
41
- "@types/react-dom": "^18.3.7",
39
+ "@types/react": "^18.2.79",
40
+ "@types/react-dom": "^18.2.25",
42
41
  "@typescript-eslint/eslint-plugin": "^6.0.0",
43
42
  "@typescript-eslint/parser": "^6.0.0",
44
43
  "@vitejs/plugin-react": "^4.3.4",
@@ -53,16 +52,17 @@
53
52
  "vite-plugin-dts": "^3.9.1"
54
53
  },
55
54
  "peerDependencies": {
56
- "react": "^19.1.1",
57
- "react-dom": "^19.1.1"
55
+ "react": "^18.2.0",
56
+ "react-dom": "^18.2.0"
58
57
  },
59
58
  "keywords": [
60
59
  "react",
61
- "react19",
60
+ "react18",
62
61
  "ui",
63
62
  "components",
64
63
  "design-system",
65
- "levannta"
64
+ "levannta",
65
+ "storybook"
66
66
  ],
67
67
  "author": "Levannta",
68
68
  "license": "MIT",
@@ -76,6 +76,6 @@
76
76
  "homepage": "https://github.com/levannta/levannta-ui#readme",
77
77
  "publishConfig": {
78
78
  "access": "public",
79
- "tag": "react19"
79
+ "tag": "react18"
80
80
  }
81
81
  }