@apia/theme 3.0.10 → 3.0.12
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-CbLc78-3.js → index-B8vI1LSQ.js} +13 -2
- package/dist/index-B8vI1LSQ.js.map +1 -0
- package/dist/index.js +1 -1
- package/dist/{styles-BcXeqV9V.js → styles-CmQhZbPb.js} +2 -2
- package/dist/styles-CmQhZbPb.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 +3 -3
- package/dist/index-CbLc78-3.js.map +0 -1
- package/dist/styles-BcXeqV9V.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,YAA8B,GAAA,CACzC,KACA,EAAA,GAAA,EACA,IACG,KAAA,CAAA;AAAA;AAAA;AAAA;AAAA;AAAA,SAAA,EAKM,KAAK,CAAA;AAAA;AAAA,EAEd,GAAG,CAAA;AAAA;AAAA;AAAA;AAAA,uBAAA,EAIoB,IAAI,CAAA;AAAA;AAAA,OAAA;;;;"}
|
|
@@ -2883,6 +2883,15 @@ const modals = {
|
|
|
2883
2883
|
}
|
|
2884
2884
|
}
|
|
2885
2885
|
}
|
|
2886
|
+
},
|
|
2887
|
+
".responsiveTableContext__wrapper": {
|
|
2888
|
+
overflow: "hidden",
|
|
2889
|
+
display: "flex",
|
|
2890
|
+
flexDirection: "column",
|
|
2891
|
+
height: "100%",
|
|
2892
|
+
".responsiveTable__wrapper": {
|
|
2893
|
+
height: "100%"
|
|
2894
|
+
}
|
|
2886
2895
|
}
|
|
2887
2896
|
},
|
|
2888
2897
|
sm: {
|
|
@@ -4549,8 +4558,10 @@ const collector = {
|
|
|
4549
4558
|
formContainer: {
|
|
4550
4559
|
display: "flex",
|
|
4551
4560
|
flexDirection: "column",
|
|
4561
|
+
flexShrink: "1 !important",
|
|
4552
4562
|
minWidth: "min(400px, calc(100vw - 52px))",
|
|
4553
4563
|
overflow: "hidden",
|
|
4564
|
+
pr: 2,
|
|
4554
4565
|
".collector__fields": {
|
|
4555
4566
|
overflow: "auto",
|
|
4556
4567
|
gap: "8px",
|
|
@@ -5297,7 +5308,7 @@ async function getRemarkable(extensions) {
|
|
|
5297
5308
|
|
|
5298
5309
|
const parseMarkdown = async (options) => {
|
|
5299
5310
|
const markdownLibrary = await getRemarkable(options.extensions);
|
|
5300
|
-
const css = (await import('./styles-
|
|
5311
|
+
const css = (await import('./styles-CmQhZbPb.js')).markdownParserStyles ?? new ErrorImporting();
|
|
5301
5312
|
if (css instanceof ErrorImporting)
|
|
5302
5313
|
throw new Error("Could not import css, cannot continue");
|
|
5303
5314
|
const html = options.htmlTemplate ?? (await import('./html-B-K0BIiw.js')).markdownHtml ?? new ErrorImporting();
|
|
@@ -5755,4 +5766,4 @@ class MarkdownBuilder {
|
|
|
5755
5766
|
}
|
|
5756
5767
|
|
|
5757
5768
|
export { ApiaThemeProvider as A, MarkdownBlock as M, 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, MarkdownBuilder as t, useMainTheme as u, parseMarkdown as v, MarkdownList as w, MarkdownParagraph as x, MarkdownTable as y, MarkdownTableOfContents as z };
|
|
5758
|
-
//# sourceMappingURL=index-
|
|
5769
|
+
//# sourceMappingURL=index-B8vI1LSQ.js.map
|