Skip to content

Commit

Permalink
Forgot to build
Browse files Browse the repository at this point in the history
  • Loading branch information
benjaminleonard committed Nov 13, 2023
1 parent 8b270f0 commit 160c80d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 123 deletions.
120 changes: 0 additions & 120 deletions components/dist/index.d.ts

This file was deleted.

6 changes: 4 additions & 2 deletions components/dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -56508,7 +56508,6 @@ var import_jsx_runtime = require("react/jsx-runtime");
var Admonition = ({ node }) => {
const attrs = node.getAttributes();
const content = (0, import_react_asciidoc.getContent)(node);
const contentModel = node.getContentModel();
let icon;
if (attrs.name === "caution") {
icon = /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Error12, {});
Expand All @@ -56522,7 +56521,10 @@ var Admonition = ({ node }) => {
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: "admonition-content content", children: [
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_react_asciidoc.Title, { node }),
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { children: titleCase(attrs.name) }),
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("p", { children: contentModel === "simple" ? html_react_parser_default(content) : /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_react_asciidoc.Content, { blocks: node.getBlocks() }) })
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { children: [
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_react_asciidoc.Title, { node }),
html_react_parser_default(content)
] })
] })
] });
};
Expand Down
2 changes: 1 addition & 1 deletion components/dist/index.js.map

Large diffs are not rendered by default.

0 comments on commit 160c80d

Please sign in to comment.