@readme/markdown 6.75.0-beta.14 → 6.75.0-beta.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/main.js CHANGED
@@ -14980,6 +14980,7 @@ __webpack_require__.r(__webpack_exports__);
14980
14980
  // EXPORTS
14981
14981
  __webpack_require__.d(__webpack_exports__, {
14982
14982
  "Components": () => (/* reexport */ components_namespaceObject),
14983
+ "compile": () => (/* binding */ index_compile),
14983
14984
  "default": () => (/* binding */ index_0),
14984
14985
  "esast": () => (/* binding */ esast),
14985
14986
  "hast": () => (/* binding */ hast),
@@ -14987,7 +14988,6 @@ __webpack_require__.d(__webpack_exports__, {
14987
14988
  "mdast": () => (/* binding */ mdast),
14988
14989
  "mdx": () => (/* binding */ index_mdx),
14989
14990
  "plain": () => (/* binding */ plain),
14990
- "react": () => (/* binding */ react),
14991
14991
  "reactProcessor": () => (/* binding */ reactProcessor),
14992
14992
  "reactTOC": () => (/* binding */ reactTOC),
14993
14993
  "run": () => (/* binding */ index_run),
@@ -58732,7 +58732,7 @@ var reactProcessor = function (opts) {
58732
58732
  if (opts === void 0) { opts = {}; }
58733
58733
  return core_createProcessor(index_assign({ remarkPlugins: [callouts] }, opts));
58734
58734
  };
58735
- var react = function (text, opts) {
58735
+ var index_compile = function (text, opts) {
58736
58736
  if (opts === void 0) { opts = {}; }
58737
58737
  try {
58738
58738
  var code = compileSync(text, index_assign({ outputFormat: 'function-body', providerImportSource: '@mdx-js/react', remarkPlugins: [callouts] }, opts));
package/dist/main.node.js CHANGED
@@ -14966,6 +14966,7 @@ __webpack_require__.r(__webpack_exports__);
14966
14966
  // EXPORTS
14967
14967
  __webpack_require__.d(__webpack_exports__, {
14968
14968
  "Components": () => (/* reexport */ components_namespaceObject),
14969
+ "compile": () => (/* binding */ index_compile),
14969
14970
  "default": () => (/* binding */ index_0),
14970
14971
  "esast": () => (/* binding */ esast),
14971
14972
  "hast": () => (/* binding */ hast),
@@ -14973,7 +14974,6 @@ __webpack_require__.d(__webpack_exports__, {
14973
14974
  "mdast": () => (/* binding */ mdast),
14974
14975
  "mdx": () => (/* binding */ index_mdx),
14975
14976
  "plain": () => (/* binding */ plain),
14976
- "react": () => (/* binding */ index_react),
14977
14977
  "reactProcessor": () => (/* binding */ reactProcessor),
14978
14978
  "reactTOC": () => (/* binding */ reactTOC),
14979
14979
  "run": () => (/* binding */ index_run),
@@ -59526,7 +59526,7 @@ var dist_default = /*#__PURE__*/__webpack_require__.n(dist);
59526
59526
  var Anchor = __webpack_require__(9);
59527
59527
  var Anchor_default = /*#__PURE__*/__webpack_require__.n(Anchor);
59528
59528
  // EXTERNAL MODULE: ./node_modules/react/index.js
59529
- var react = __webpack_require__(294);
59529
+ var node_modules_react = __webpack_require__(294);
59530
59530
  ;// CONCATENATED MODULE: ./components/Callout/index.tsx
59531
59531
  var __assign = (undefined && undefined.__assign) || function () {
59532
59532
  __assign = Object.assign || function(t) {
@@ -59544,9 +59544,9 @@ var Callout = function (props) {
59544
59544
  var attributes = props.attributes, children = props.children, theme = props.theme, icon = props.icon, heading = props.heading;
59545
59545
  return (
59546
59546
  // @ts-ignore
59547
- react.createElement("blockquote", __assign({}, attributes, { className: "callout callout_".concat(theme), theme: icon }),
59548
- heading && (react.createElement("h3", { className: "callout-heading".concat(heading ? '' : ' empty') },
59549
- react.createElement("span", { className: "callout-icon" }, icon),
59547
+ node_modules_react.createElement("blockquote", __assign({}, attributes, { className: "callout callout_".concat(theme), theme: icon }),
59548
+ heading && (node_modules_react.createElement("h3", { className: "callout-heading".concat(heading ? '' : ' empty') },
59549
+ node_modules_react.createElement("span", { className: "callout-icon" }, icon),
59550
59550
  heading)),
59551
59551
  children));
59552
59552
  };
@@ -60265,7 +60265,7 @@ var reactProcessor = function (opts) {
60265
60265
  if (opts === void 0) { opts = {}; }
60266
60266
  return core_createProcessor(index_assign({ remarkPlugins: [callouts] }, opts));
60267
60267
  };
60268
- var index_react = function (text, opts) {
60268
+ var index_compile = function (text, opts) {
60269
60269
  if (opts === void 0) { opts = {}; }
60270
60270
  try {
60271
60271
  var code = compileSync(text, index_assign({ outputFormat: 'function-body', providerImportSource: '@mdx-js/react', remarkPlugins: [callouts] }, opts));
@@ -60318,7 +60318,7 @@ var plain = function (text, opts) {
60318
60318
  if (opts === void 0) { opts = {}; }
60319
60319
  unimplemented('plain export');
60320
60320
  };
60321
- /* harmony default export */ const index_0 = (index_react);
60321
+ /* harmony default export */ const index_0 = (react);
60322
60322
 
60323
60323
  })();
60324
60324
 
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@readme/markdown",
3
3
  "description": "ReadMe's React-based Markdown parser",
4
4
  "author": "Rafe Goldberg <rafe@readme.io>",
5
- "version": "6.75.0-beta.14",
5
+ "version": "6.75.0-beta.15",
6
6
  "main": "dist/main.node.js",
7
7
  "types": "dist/index.d.ts",
8
8
  "browser": "dist/main.js",