@apia/theme 4.0.17 → 4.0.18
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-B5yux0Do.js → index-Dn_wc72C.js} +9 -2
- package/dist/index-Dn_wc72C.js.map +1 -0
- package/dist/index.js +1 -1
- package/dist/{styles-CXru8otC.js → styles-BVjRzTR5.js} +2 -2
- package/dist/styles-BVjRzTR5.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-B5yux0Do.js.map +0 -1
- package/dist/styles-CXru8otC.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;AAAA;AAAA;AAAA;AAAA,uBAAA,EAIoB,IAAI,CAAA;AAAA;AAAA,OAAA;;;;"}
|
|
@@ -4709,6 +4709,10 @@ const autocomplete = {
|
|
|
4709
4709
|
background: "form.fields.disabled.backgroundColor",
|
|
4710
4710
|
borderColor: "form.fields.disabled.backgroundColor"
|
|
4711
4711
|
},
|
|
4712
|
+
".autocomplete__search.readOnly": {
|
|
4713
|
+
background: "form.fields.readonly.backgroundColor",
|
|
4714
|
+
borderColor: "form.fields.readonly.backgroundColor"
|
|
4715
|
+
},
|
|
4712
4716
|
".autocomplete__icons": {
|
|
4713
4717
|
alignItems: "center",
|
|
4714
4718
|
display: "flex",
|
|
@@ -4729,6 +4733,9 @@ const autocomplete = {
|
|
|
4729
4733
|
}
|
|
4730
4734
|
},
|
|
4731
4735
|
optionsContainer: {
|
|
4736
|
+
background: "palette.background.paper",
|
|
4737
|
+
border: "1px solid",
|
|
4738
|
+
borderColor: "palette.border.field",
|
|
4732
4739
|
"&.autocomplete__options__box": {
|
|
4733
4740
|
background: "palette.background.paper",
|
|
4734
4741
|
border: "1px solid",
|
|
@@ -6812,7 +6819,7 @@ async function getRemarkable(extensions) {
|
|
|
6812
6819
|
|
|
6813
6820
|
const parseMarkdown = async (options) => {
|
|
6814
6821
|
const markdownLibrary = await getRemarkable(options.extensions);
|
|
6815
|
-
const css = (await import('./styles-
|
|
6822
|
+
const css = (await import('./styles-BVjRzTR5.js')).markdownParserStyles ?? new ErrorImporting();
|
|
6816
6823
|
if (css instanceof ErrorImporting)
|
|
6817
6824
|
throw new Error("Could not import css, cannot continue");
|
|
6818
6825
|
const html = options.htmlTemplate ?? (await import('./html-B-K0BIiw.js')).markdownHtml ?? new ErrorImporting();
|
|
@@ -7270,4 +7277,4 @@ class MarkdownBuilder {
|
|
|
7270
7277
|
}
|
|
7271
7278
|
|
|
7272
7279
|
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 };
|
|
7273
|
-
//# sourceMappingURL=index-
|
|
7280
|
+
//# sourceMappingURL=index-Dn_wc72C.js.map
|