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>
93 lines
2.5 KiB
JSON
93 lines
2.5 KiB
JSON
{
|
|
"name": "@wordpress/components",
|
|
"version": "25.16.0",
|
|
"description": "UI components for WordPress.",
|
|
"author": "The WordPress Contributors",
|
|
"license": "GPL-2.0-or-later",
|
|
"keywords": [
|
|
"wordpress",
|
|
"gutenberg",
|
|
"components"
|
|
],
|
|
"homepage": "https://github.com/WordPress/gutenberg/tree/HEAD/packages/components/README.md",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/WordPress/gutenberg.git",
|
|
"directory": "packages/components"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/WordPress/gutenberg/issues"
|
|
},
|
|
"engines": {
|
|
"node": ">=12"
|
|
},
|
|
"main": "build/index.js",
|
|
"module": "build-module/index.js",
|
|
"react-native": "src/index",
|
|
"sideEffects": [
|
|
"build-style/**",
|
|
"src/**/*.scss"
|
|
],
|
|
"types": "build-types",
|
|
"dependencies": {
|
|
"@ariakit/react": "^0.3.12",
|
|
"@babel/runtime": "^7.16.0",
|
|
"@emotion/cache": "^11.7.1",
|
|
"@emotion/css": "^11.7.1",
|
|
"@emotion/react": "^11.7.1",
|
|
"@emotion/serialize": "^1.0.2",
|
|
"@emotion/styled": "^11.6.0",
|
|
"@emotion/utils": "^1.0.0",
|
|
"@floating-ui/react-dom": "^2.0.1",
|
|
"@types/gradient-parser": "0.1.3",
|
|
"@types/highlight-words-core": "1.2.1",
|
|
"@use-gesture/react": "^10.2.24",
|
|
"@wordpress/a11y": "^3.50.0",
|
|
"@wordpress/compose": "^6.27.0",
|
|
"@wordpress/date": "^4.50.0",
|
|
"@wordpress/deprecated": "^3.50.0",
|
|
"@wordpress/dom": "^3.50.0",
|
|
"@wordpress/element": "^5.27.0",
|
|
"@wordpress/escape-html": "^2.50.0",
|
|
"@wordpress/hooks": "^3.50.0",
|
|
"@wordpress/html-entities": "^3.50.0",
|
|
"@wordpress/i18n": "^4.50.0",
|
|
"@wordpress/icons": "^9.41.0",
|
|
"@wordpress/is-shallow-equal": "^4.50.0",
|
|
"@wordpress/keycodes": "^3.50.0",
|
|
"@wordpress/primitives": "^3.48.0",
|
|
"@wordpress/private-apis": "^0.32.0",
|
|
"@wordpress/rich-text": "^6.27.0",
|
|
"@wordpress/warning": "^2.50.0",
|
|
"change-case": "^4.1.2",
|
|
"classnames": "^2.3.1",
|
|
"colord": "^2.7.0",
|
|
"date-fns": "^2.28.0",
|
|
"deepmerge": "^4.3.0",
|
|
"dom-scroll-into-view": "^1.2.1",
|
|
"downshift": "^6.0.15",
|
|
"fast-deep-equal": "^3.1.3",
|
|
"framer-motion": "^10.13.0",
|
|
"gradient-parser": "^0.1.5",
|
|
"highlight-words-core": "^1.2.2",
|
|
"is-plain-object": "^5.0.0",
|
|
"memize": "^2.1.0",
|
|
"path-to-regexp": "^6.2.1",
|
|
"re-resizable": "^6.4.0",
|
|
"react-colorful": "^5.3.1",
|
|
"reakit": "^1.3.11",
|
|
"remove-accents": "^0.5.0",
|
|
"use-lilius": "^2.0.1",
|
|
"uuid": "^9.0.1",
|
|
"valtio": "1.7.0"
|
|
},
|
|
"peerDependencies": {
|
|
"react": "^18.0.0",
|
|
"react-dom": "^18.0.0"
|
|
},
|
|
"publishConfig": {
|
|
"access": "public"
|
|
},
|
|
"gitHead": "45de2cb4212fed7f2763e95f10300d1ff9d0ec08"
|
|
}
|