@apia/theme 4.0.20 → 4.0.25
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-B-K0BIiw.js.map +1 -1
- package/dist/{index-CPRSL7c3.js → index-CQyNuNTG.js} +5 -5
- package/dist/index-CQyNuNTG.js.map +1 -0
- package/dist/index.js +1 -1
- package/dist/{styles-BQMlIi40.js → styles-kOzs6n6L.js} +2 -2
- package/dist/styles-kOzs6n6L.js.map +1 -0
- package/jsx-runtime/dist/jsx-runtime.d.ts +3 -3
- package/jsx-runtime/dist/theme-ui-jsx-runtime.browser.esm.js +2 -2
- package/jsx-runtime/dist/theme-ui-jsx-runtime.cjs.d.ts +2 -2
- package/jsx-runtime/dist/theme-ui-jsx-runtime.cjs.d.ts.map +1 -1
- package/jsx-runtime/dist/theme-ui-jsx-runtime.cjs.dev.js +21 -21
- package/jsx-runtime/dist/theme-ui-jsx-runtime.cjs.js +7 -7
- package/jsx-runtime/dist/theme-ui-jsx-runtime.cjs.prod.js +21 -21
- package/jsx-runtime/dist/theme-ui-jsx-runtime.esm.js +2 -2
- package/jsx-runtime/dist/theme-ui-jsx-runtime.worker.esm.js +2 -2
- package/jsx-runtime/package.json +8 -8
- package/package.json +5 -5
- package/dist/index-CPRSL7c3.js.map +0 -1
- package/dist/styles-BQMlIi40.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"html-B-K0BIiw.js","sources":["../src/markdown/html.ts"],"sourcesContent":["import { IMarkdownHtml } from './types';\
|
|
1
|
+
{"version":3,"file":"html-B-K0BIiw.js","sources":["../src/markdown/html.ts"],"sourcesContent":["import { IMarkdownHtml } from './types';\n\nexport const markdownHtml: IMarkdownHtml = (\n title: string,\n css: string,\n body: string,\n) => `<!DOCTYPE html>\n<html lang=\"en\">\n<head>\n <meta charset=\"UTF-8\">\n <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\n <title>${title}</title>\n <style>\n${css}\n </style>\n</head>\n<body>\n <main id=\"Container\">${body}</main>\n</body>\n</html>`;\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;;;;"}
|
|
@@ -945,9 +945,9 @@ function getThemeColorsObject(theme) {
|
|
|
945
945
|
}
|
|
946
946
|
},
|
|
947
947
|
openTab: {
|
|
948
|
-
backgroundColor: theme.palette.
|
|
949
|
-
color: theme.palette.primary.
|
|
950
|
-
borderColor: theme.palette.
|
|
948
|
+
backgroundColor: theme.palette.background.paper,
|
|
949
|
+
color: theme.palette.primary.main,
|
|
950
|
+
borderColor: theme.palette.border.field
|
|
951
951
|
},
|
|
952
952
|
outline: {
|
|
953
953
|
backgroundColor: theme.palette.background.paper,
|
|
@@ -6953,7 +6953,7 @@ async function getRemarkable(extensions) {
|
|
|
6953
6953
|
|
|
6954
6954
|
const parseMarkdown = async (options) => {
|
|
6955
6955
|
const markdownLibrary = await getRemarkable(options.extensions);
|
|
6956
|
-
const css = (await import('./styles-
|
|
6956
|
+
const css = (await import('./styles-kOzs6n6L.js')).markdownParserStyles ?? new ErrorImporting();
|
|
6957
6957
|
if (css instanceof ErrorImporting)
|
|
6958
6958
|
throw new Error("Could not import css, cannot continue");
|
|
6959
6959
|
const html = options.htmlTemplate ?? (await import('./html-B-K0BIiw.js')).markdownHtml ?? new ErrorImporting();
|
|
@@ -7411,4 +7411,4 @@ class MarkdownBuilder {
|
|
|
7411
7411
|
}
|
|
7412
7412
|
|
|
7413
7413
|
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 };
|
|
7414
|
-
//# sourceMappingURL=index-
|
|
7414
|
+
//# sourceMappingURL=index-CQyNuNTG.js.map
|