@wixc3/board-plugins
Advanced tools
Comparing version 3.0.1 to 4.0.0
"use strict"; | ||
var __importDefault = (this && this.__importDefault) || function (mod) { | ||
return (mod && mod.__esModule) ? mod : { "default": mod }; | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.reactContextPlugin = void 0; | ||
const jsx_runtime_1 = require("react/jsx-runtime"); | ||
const board_core_1 = require("@wixc3/board-core"); | ||
const react_1 = __importDefault(require("react")); | ||
// eslint-disable-next-line @typescript-eslint/no-explicit-any | ||
exports.reactContextPlugin = (0, board_core_1.createPlugin)()('React-context', {}, { | ||
wrapRender(props, _metaData, el) { | ||
return react_1.default.createElement(props.context.Provider, { value: props.value }, el); | ||
return (0, jsx_runtime_1.jsx)(props.context.Provider, { value: props.value, children: el }); | ||
}, | ||
@@ -14,0 +11,0 @@ }, (params) => { |
{ | ||
"name": "@wixc3/board-plugins", | ||
"description": "Plugins for boards", | ||
"version": "3.0.1", | ||
"version": "4.0.0", | ||
"main": "dist/index.js", | ||
@@ -14,3 +14,3 @@ "files": [ | ||
"dependencies": { | ||
"@wixc3/react-board": "^3.0.1" | ||
"@wixc3/react-board": "^4.0.0" | ||
}, | ||
@@ -17,0 +17,0 @@ "repository": "https://github.com/wixplosives/codux-core/tree/master/packages/board-plugins", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
9082
105
+ Added@wixc3/board-core@4.6.2(transitive)
+ Added@wixc3/react-board@4.6.2(transitive)
+ Addedreact@19.0.0(transitive)
+ Addedreact-dom@19.0.0(transitive)
+ Addedscheduler@0.25.0(transitive)
- Removed@wixc3/board-core@3.0.1(transitive)
- Removed@wixc3/react-board@3.0.1(transitive)
- Removedjs-tokens@4.0.0(transitive)
- Removedloose-envify@1.4.0(transitive)
- Removedreact@18.3.1(transitive)
- Removedreact-dom@18.3.1(transitive)
- Removedscheduler@0.23.2(transitive)
Updated@wixc3/react-board@^4.0.0