@atjson/renderer-react
Advanced tools
Comparing version 0.23.22 to 0.24.0
@@ -6,2 +6,6 @@ # Change Log | ||
# [0.24.0](https://github.com/CondeNast/atjson/compare/@atjson/renderer-react@0.23.22...@atjson/renderer-react@0.24.0) (2021-01-08) | ||
**Note:** Version bump only for package @atjson/renderer-react | ||
## [0.23.22](https://github.com/CondeNast/atjson/compare/@atjson/renderer-react@0.23.21...@atjson/renderer-react@0.23.22) (2020-11-13) | ||
@@ -8,0 +12,0 @@ |
@@ -28,3 +28,3 @@ "use strict"; | ||
exports.ReactRendererConsumer = exports.ReactRendererContext.Consumer; | ||
exports.ReactRendererProvider = ({ children, value }) => { | ||
const ReactRendererProvider = ({ children, value }) => { | ||
return React.createElement(exports.ReactRendererConsumer, null, (parentComponentMap) => { | ||
@@ -35,2 +35,3 @@ const mergedValues = Object.assign(Object.assign({}, parentComponentMap), value); | ||
}; | ||
exports.ReactRendererProvider = ReactRendererProvider; | ||
class ReactRenderer extends renderer_hir_1.default { | ||
@@ -75,2 +76,2 @@ *root() { | ||
exports.default = ReactRenderer; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7OztBQUNBLHFFQUEwRDtBQUMxRCw2Q0FBK0I7QUFnQi9CLE1BQU0sbUJBQW1CLEdBQUcsRUFBRSxDQUFDO0FBRWxCLFFBQUEsb0JBQW9CLEdBQUcsS0FBSyxDQUFDLGFBQWEsQ0FFcEQsbUJBQW1CLENBQUMsQ0FBQztBQUVYLFFBQUEscUJBQXFCLEdBQUcsNEJBQW9CLENBQUMsUUFBUSxDQUFDO0FBRXRELFFBQUEscUJBQXFCLEdBRTdCLENBQUMsRUFBRSxRQUFRLEVBQUUsS0FBSyxFQUFFL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QixPQUFPLEtBQUssQ0FBQyxhQUFhLENBQ3hCLG1CQUFtQixFQUNuQixVQUFVLENBQUMsVUFBVSxFQUNyQixHQUFHLGtCQUFrQixDQUN0QixDQUFDO2lCQUNIO3FCQUFNO29CQUNMLE9BQU8sa0JBQWtCLENBQUM7aUJBQzNCO1lBQ0gsQ0FBQztTQUNGLENBQUMsQ0FBQztJQUNMLENBQUM7Q0FDRjtBQXpERCxnQ0F5REMifQ== |
{ | ||
"name": "@atjson/renderer-react", | ||
"version": "0.23.22", | ||
"version": "0.24.0", | ||
"description": "Render atjson documents into a React app", | ||
@@ -20,5 +20,5 @@ "main": "dist/commonjs/index.js", | ||
"@atjson/document": "0.24.3", | ||
"@atjson/offset-annotations": "0.35.0" | ||
"@atjson/offset-annotations": "0.36.0" | ||
}, | ||
"gitHead": "2663f671496f15e18de0ea22b22ae5b58f5413bc" | ||
"gitHead": "a0bbd8b8ec9be5ae4bcbc2e909622894e2e388c0" | ||
} |
Sorry, the diff of this file is not supported yet
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
403098
176