Add coexistence checks to all enqueue methods to prevent loading both React and Grid.js assets simultaneously. Changes: - ReactAdmin.php: Only enqueue React assets when ?react=1 - Init.php: Skip Grid.js when React active on admin pages - Form.php, Coupon.php, Access.php: Restore classic assets when ?react=0 - Customer.php, Product.php, License.php: Add coexistence checks Now the toggle between Classic and React versions works correctly. Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>
57 lines
1.5 KiB
JSON
57 lines
1.5 KiB
JSON
{
|
|
"name": "reakit",
|
|
"version": "1.3.11",
|
|
"description": "Toolkit for building accessible rich web apps with React",
|
|
"sideEffects": false,
|
|
"license": "MIT",
|
|
"repository": "https://github.com/reakit/reakit",
|
|
"main": "lib/index.js",
|
|
"module": "es/index.js",
|
|
"unpkg": "dist/reakit.min.js",
|
|
"types": "ts",
|
|
"author": {
|
|
"name": "Diego Haz",
|
|
"email": "hazdiego@gmail.com",
|
|
"url": "https://github.com/diegohaz"
|
|
},
|
|
"funding": {
|
|
"type": "opencollective",
|
|
"url": "https://opencollective.com/ariakit"
|
|
},
|
|
"scripts": {
|
|
"test": "jest",
|
|
"coverage": "yarn test --coverage",
|
|
"postcoverage": "open-cli coverage/lcov-report/index.html",
|
|
"lint": "eslint . --ext js,ts,tsx",
|
|
"clean": "node ../../scripts/build/clean.js",
|
|
"build": "node ../../scripts/build/build.js",
|
|
"keys": "node ../../scripts/build/keys.js",
|
|
"docs": "node ../../scripts/build/docs.js",
|
|
"preversion": "yarn lint && yarn test && yarn build",
|
|
"postpublish": "yarn clean"
|
|
},
|
|
"keywords": [
|
|
"reakit",
|
|
"a11y",
|
|
"react",
|
|
"ui",
|
|
"toolkit",
|
|
"components"
|
|
],
|
|
"dependencies": {
|
|
"@popperjs/core": "^2.5.4",
|
|
"body-scroll-lock": "^3.1.5",
|
|
"reakit-system": "^0.15.2",
|
|
"reakit-utils": "^0.15.2",
|
|
"reakit-warning": "^0.6.2"
|
|
},
|
|
"peerDependencies": {
|
|
"react": "^16.8.0 || ^17.0.0",
|
|
"react-dom": "^16.8.0 || ^17.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/body-scroll-lock": "2.6.1"
|
|
},
|
|
"gitHead": "a263b6a79d0a8cf8e4a28fe51467dd8290b1b30c"
|
|
}
|