@apia/theme 4.0.73 → 4.0.77
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/{html.js → html-B-K0BIiw.js} +1 -1
- package/dist/html-B-K0BIiw.js.map +1 -0
- package/dist/{index2.js → index-B5IemJX6.js} +3 -3
- package/dist/index-B5IemJX6.js.map +1 -0
- package/dist/index.js +1 -1
- package/dist/{styles.js → styles-SJODSvxM.js} +2 -2
- package/dist/styles-SJODSvxM.js.map +1 -0
- package/package.json +3 -3
- package/dist/html.js.map +0 -1
- package/dist/index2.js.map +0 -1
- package/dist/styles.js.map +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"html-B-K0BIiw.js","sources":["../src/markdown/html.ts"],"sourcesContent":["import { IMarkdownHtml } from './types';\r\n\r\nexport const markdownHtml: IMarkdownHtml = (\r\n title: string,\r\n css: string,\r\n body: string,\r\n) => `<!DOCTYPE html>\r\n<html lang=\"en\">\r\n<head>\r\n <meta charset=\"UTF-8\">\r\n <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\r\n <title>${title}</title>\r\n <style>\r\n${css}\r\n </style>\r\n</head>\r\n<body>\r\n <main id=\"Container\">${body}</main>\r\n</body>\r\n</html>`;\r\n"],"names":[],"mappings":"AAEO,MAAM,YAAA,GAA8B,CACzC,KAAA,EACA,GAAA,EACA,IAAA,KACG,CAAA;AAAA;AAAA;AAAA;AAAA;AAAA,SAAA,EAKM,KAAK,CAAA;AAAA;AAAA,EAEd,GAAG;AAAA;AAAA;AAAA;AAAA,uBAAA,EAIoB,IAAI,CAAA;AAAA;AAAA,OAAA;;;;"}
|
|
@@ -9124,10 +9124,10 @@ async function getRemarkable(extensions) {
|
|
|
9124
9124
|
|
|
9125
9125
|
const parseMarkdown = async (options) => {
|
|
9126
9126
|
const markdownLibrary = await getRemarkable(options.extensions);
|
|
9127
|
-
const css = (await import('./styles.js')).markdownParserStyles ?? new ErrorImporting();
|
|
9127
|
+
const css = (await import('./styles-SJODSvxM.js')).markdownParserStyles ?? new ErrorImporting();
|
|
9128
9128
|
if (css instanceof ErrorImporting)
|
|
9129
9129
|
throw new Error("Could not import css, cannot continue");
|
|
9130
|
-
const html = options.htmlTemplate ?? (await import('./html.js')).markdownHtml ?? new ErrorImporting();
|
|
9130
|
+
const html = options.htmlTemplate ?? (await import('./html-B-K0BIiw.js')).markdownHtml ?? new ErrorImporting();
|
|
9131
9131
|
if (html instanceof ErrorImporting)
|
|
9132
9132
|
throw new Error("Could not import html, cannot continue");
|
|
9133
9133
|
const markdownString = options.content;
|
|
@@ -9636,4 +9636,4 @@ ${pageBreakTag}`;
|
|
|
9636
9636
|
}
|
|
9637
9637
|
|
|
9638
9638
|
export { ApiaThemeProvider as A, MarkdownTableOfContents as B, Form as F, MaterialInput as M, Switch$1 as S, Table as T, getColorStates as a, getColorsAndStatesByDefinition as b, getColorsAndStatesByPath as c, getColorsByDefinition as d, getColorsByPath as e, getOneColorState as f, getColorState as g, applyStatesGetColor as h, makeStyledComponent as i, injectStyles as j, getSpacingLayouts as k, spacing as l, markdownExtensions as m, smallButton as n, focusOutline as o, parsePalette as p, getVariant as q, responsive$1 as r, spacingLayouts as s, MarkdownBlock as t, useMainTheme as u, MarkdownBuilder as v, parseMarkdown as w, MarkdownList as x, MarkdownParagraph as y, MarkdownTable as z };
|
|
9639
|
-
//# sourceMappingURL=
|
|
9639
|
+
//# sourceMappingURL=index-B5IemJX6.js.map
|