@apia/theme 4.0.42 → 4.0.43
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-B2pK-8hw.js} +3 -3
- package/dist/index-B2pK-8hw.js.map +1 -0
- package/dist/index.js +1 -1
- package/dist/{styles.js → styles-Diuey2Pf.js} +2 -2
- package/dist/styles-Diuey2Pf.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;;;;"}
|
|
@@ -8312,10 +8312,10 @@ async function getRemarkable(extensions) {
|
|
|
8312
8312
|
|
|
8313
8313
|
const parseMarkdown = async (options) => {
|
|
8314
8314
|
const markdownLibrary = await getRemarkable(options.extensions);
|
|
8315
|
-
const css = (await import('./styles.js')).markdownParserStyles ?? new ErrorImporting();
|
|
8315
|
+
const css = (await import('./styles-Diuey2Pf.js')).markdownParserStyles ?? new ErrorImporting();
|
|
8316
8316
|
if (css instanceof ErrorImporting)
|
|
8317
8317
|
throw new Error("Could not import css, cannot continue");
|
|
8318
|
-
const html = options.htmlTemplate ?? (await import('./html.js')).markdownHtml ?? new ErrorImporting();
|
|
8318
|
+
const html = options.htmlTemplate ?? (await import('./html-B-K0BIiw.js')).markdownHtml ?? new ErrorImporting();
|
|
8319
8319
|
if (html instanceof ErrorImporting)
|
|
8320
8320
|
throw new Error("Could not import html, cannot continue");
|
|
8321
8321
|
const markdownString = options.content;
|
|
@@ -8824,4 +8824,4 @@ ${pageBreakTag}`;
|
|
|
8824
8824
|
}
|
|
8825
8825
|
|
|
8826
8826
|
export { ApiaThemeProvider as A, MarkdownTableOfContents as B, Form as F, MaterialInput as M, 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 };
|
|
8827
|
-
//# sourceMappingURL=
|
|
8827
|
+
//# sourceMappingURL=index-B2pK-8hw.js.map
|