onecart-ui 1.0.5 → 1.0.7

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.
Files changed (2) hide show
  1. package/README.md +2 -2
  2. package/package.json +8 -8
package/README.md CHANGED
@@ -364,11 +364,11 @@ This package includes all the components, tokens, and utilities needed to build
364
364
 
365
365
  ### React Version Compatibility
366
366
 
367
- This package is compatible with React versions from 16.8.0 through the latest versions (including React 17, 18, and 19).
367
+ This package is compatible with React versions from 16.8.0 through 18.x.
368
368
 
369
369
  ### React Native Compatibility
370
370
 
371
- This library is designed to work with React Native versions from 0.60.0 through the latest versions (including 0.70.x, 0.71.x, 0.72.x and 0.73.x). When using with React Native, make sure to follow these steps:
371
+ This library is designed to work with React Native versions from 0.60.0 through 0.73.0 that are compatible with React 18.x. When using with React Native, make sure to follow these steps:
372
372
 
373
373
  1. Install the required dependencies:
374
374
  ```bash
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "onecart-ui",
3
- "version": "1.0.5",
3
+ "version": "1.0.7",
4
4
  "description": "Cross-platform React and React Native component library with white-label support",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.esm.js",
@@ -36,7 +36,7 @@
36
36
  "license": "MIT",
37
37
  "peerDependencies": {
38
38
  "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0",
39
- "react-native": ">=0.60.0 || >=0.70.0 || >=0.71.0 || >=0.72.0 || >=0.73.0"
39
+ "react-native": ">=0.60.0 || >=0.70.0 || >=0.71.0 || >=0.72.0 || 0.73.0"
40
40
  },
41
41
  "devDependencies": {
42
42
  "@babel/core": "7.28.0",
@@ -52,17 +52,17 @@
52
52
  "@storybook/addon-webpack5-compiler-swc": "^3.0.0",
53
53
  "@storybook/react-webpack5": "^9.0.4",
54
54
  "@types/jest": "^29.5.14",
55
- "@types/react": "^19.1.6",
56
- "@types/react-dom": "^19.1.5",
55
+ "@types/react": "^19.0.0",
56
+ "@types/react-dom": "^19.0.0",
57
57
  "@types/react-native": "^0.72.8",
58
58
  "@typescript-eslint/eslint-plugin": "^8.33.0",
59
59
  "@typescript-eslint/parser": "^8.33.0",
60
60
  "eslint": "^9.28.0",
61
61
  "eslint-plugin-storybook": "^9.0.4",
62
62
  "jest": "^29.7.0",
63
- "metro-react-native-babel-preset": "0.77.0",
64
- "react": "^19.1.0",
65
- "react-dom": "^19.1.0",
63
+ "metro-react-native-babel-preset": "0.76.8",
64
+ "react": "^19.0.0",
65
+ "react-dom": "^19.0.0",
66
66
  "rollup": "^2.79.2",
67
67
  "rollup-plugin-peer-deps-external": "^2.2.4",
68
68
  "rollup-plugin-terser": "^7.0.2",
@@ -72,7 +72,7 @@
72
72
  },
73
73
  "dependencies": {
74
74
  "figma-token-engine": "^0.3.0",
75
- "react-native-web": "^0.20.0",
75
+ "react-native-web": "^0.19.10",
76
76
  "style-dictionary": "^4.4.0"
77
77
  }
78
78
  }