@contentful/rich-text-react-renderer
Advanced tools
Comparing version 15.20.0 to 15.21.0
@@ -72,2 +72,3 @@ "use strict"; | ||
(0, documents_1.marksDoc)(rich_text_types_1.MARKS.SUBSCRIPT), | ||
(0, documents_1.marksDoc)(rich_text_types_1.MARKS.STRIKETHROUGH), | ||
]; | ||
@@ -74,0 +75,0 @@ docs.forEach(function (doc) { |
@@ -61,2 +61,3 @@ "use strict"; | ||
_b[rich_text_types_1.MARKS.SUBSCRIPT] = function (text) { return react_1.default.createElement("sub", null, text); }, | ||
_b[rich_text_types_1.MARKS.STRIKETHROUGH] = function (text) { return react_1.default.createElement("s", null, text); }, | ||
_b); | ||
@@ -63,0 +64,0 @@ function defaultInline(type, node) { |
@@ -105,2 +105,3 @@ 'use strict'; | ||
MARKS["SUBSCRIPT"] = "subscript"; | ||
MARKS["STRIKETHROUGH"] = "strikethrough"; | ||
})(MARKS || (marks.MARKS = MARKS = {})); | ||
@@ -451,2 +452,3 @@ | ||
_b[dist.MARKS.SUBSCRIPT] = function (text) { return React.createElement("sub", null, text); }, | ||
_b[dist.MARKS.STRIKETHROUGH] = function (text) { return React.createElement("s", null, text); }, | ||
_b); | ||
@@ -453,0 +455,0 @@ function defaultInline(type, node) { |
{ | ||
"name": "@contentful/rich-text-react-renderer", | ||
"version": "15.20.0", | ||
"version": "15.21.0", | ||
"main": "dist/rich-text-react-renderer.es5.js", | ||
@@ -29,3 +29,3 @@ "typings": "dist/types/index.d.ts", | ||
"dependencies": { | ||
"@contentful/rich-text-types": "^16.4.0" | ||
"@contentful/rich-text-types": "^16.5.0" | ||
}, | ||
@@ -46,3 +46,3 @@ "peerDependencies": { | ||
}, | ||
"gitHead": "f39fbb99956d719a695eb917dbddb5af969d52b6" | ||
"gitHead": "88d81d4d994edc17d379367b352f09af6812cdc8" | ||
} |
Sorry, the diff of this file is not supported yet
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
154430
1872