xmlui 0.9.17 → 0.9.19
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/{apiInterceptorWorker-D94b73xQ.mjs → apiInterceptorWorker-BH8WAcl0.mjs} +1 -1
- package/dist/{index-B6kr6jsm.mjs → index-KE5HIbCX.mjs} +63 -45
- package/dist/index.css +85 -78
- package/dist/scripts/src/components/App/AppNative.js +1 -1
- package/dist/scripts/src/components/HtmlTags/HtmlTags.js +1 -1
- package/dist/scripts/src/components/Markdown/MarkdownNative.js +26 -19
- package/dist/scripts/src/components/NavGroup/NavGroupNative.js +2 -1
- package/dist/scripts/src/components-core/InspectorContext.js +4 -2
- package/dist/style.css +84 -77
- package/dist/xmlui-metadata.mjs +3 -3
- package/dist/xmlui-metadata.umd.js +3 -3
- package/dist/xmlui-standalone.umd.js +150 -125
- package/dist/xmlui.d.ts +1 -0
- package/dist/xmlui.mjs +1 -1
- package/package.json +1 -1
|
@@ -342,7 +342,7 @@ exports.HtmlDetailsMd = (0, ComponentDefs_1.createMetadata)({
|
|
|
342
342
|
defaultThemeVars: {
|
|
343
343
|
"marginTop-HtmlDetails": "1rem",
|
|
344
344
|
"marginBottom-HtmlDetails": "1rem",
|
|
345
|
-
}
|
|
345
|
+
},
|
|
346
346
|
});
|
|
347
347
|
exports.htmlDetailsTagRenderer = (0, renderers_1.createComponentRenderer)("details", exports.HtmlDetailsMd, ({ node, renderChild, extractValue, extractResourceUrl, layoutCss }) => {
|
|
348
348
|
const p = new extractParam_1.PropsTrasform(extractValue, extractResourceUrl, layoutCss, node.props);
|
|
@@ -37,15 +37,22 @@ exports.Markdown = (0, react_1.memo)(function Markdown({ extractValue, removeInd
|
|
|
37
37
|
return ((0, jsx_runtime_1.jsx)("div", { className: Markdown_module_scss_1.default.markdownContent, style: Object.assign({}, style), children: (0, jsx_runtime_1.jsx)(react_markdown_1.default, { remarkPlugins: [remark_gfm_1.default, [bindingExpression, { extractValue }]], rehypePlugins: [rehype_raw_1.default], components: {
|
|
38
38
|
details(_a) {
|
|
39
39
|
var { children, node } = _a, props = __rest(_a, ["children", "node"]);
|
|
40
|
-
return (0, jsx_runtime_1.jsx)("details", Object.assign({ className: HtmlTags_module_scss_1.default.htmlDetails }, props, { children: children }));
|
|
40
|
+
return ((0, jsx_runtime_1.jsx)("details", Object.assign({ className: HtmlTags_module_scss_1.default.htmlDetails }, props, { children: children })));
|
|
41
41
|
},
|
|
42
42
|
video(_a) {
|
|
43
43
|
var { children, node } = _a, props = __rest(_a, ["children", "node"]);
|
|
44
|
-
return (0, jsx_runtime_1.jsx)("video", Object.assign({ className: HtmlTags_module_scss_1.default.htmlVideo }, props, { children: children }));
|
|
44
|
+
return ((0, jsx_runtime_1.jsx)("video", Object.assign({ className: HtmlTags_module_scss_1.default.htmlVideo }, props, { children: children })));
|
|
45
45
|
},
|
|
46
46
|
img(_a) {
|
|
47
47
|
var { children, node } = _a, props = __rest(_a, ["children", "node"]);
|
|
48
|
-
|
|
48
|
+
const src = props === null || props === void 0 ? void 0 : props.src;
|
|
49
|
+
const popOut = props === null || props === void 0 ? void 0 : props["data-popout"];
|
|
50
|
+
if (popOut) {
|
|
51
|
+
return ((0, jsx_runtime_1.jsx)("a", { href: src, target: "_blank", children: (0, jsx_runtime_1.jsx)("img", Object.assign({ className: HtmlTags_module_scss_1.default.htmlImage }, props, { children: children })) }));
|
|
52
|
+
}
|
|
53
|
+
else {
|
|
54
|
+
return ((0, jsx_runtime_1.jsx)("img", Object.assign({ className: HtmlTags_module_scss_1.default.htmlImage }, props, { children: children })));
|
|
55
|
+
}
|
|
49
56
|
},
|
|
50
57
|
h1({ children }) {
|
|
51
58
|
return (0, jsx_runtime_1.jsx)(HeadingNative_1.Heading, { level: "h1", children: children });
|
|
@@ -88,22 +95,22 @@ exports.Markdown = (0, react_1.memo)(function Markdown({ extractValue, removeInd
|
|
|
88
95
|
},
|
|
89
96
|
ol(_a) {
|
|
90
97
|
var { children, node } = _a, props = __rest(_a, ["children", "node"]);
|
|
91
|
-
return (0, jsx_runtime_1.jsx)("ol", Object.assign({ className: HtmlTags_module_scss_1.default.htmlOl }, props, { children: children }));
|
|
98
|
+
return ((0, jsx_runtime_1.jsx)("ol", Object.assign({ className: HtmlTags_module_scss_1.default.htmlOl }, props, { children: children })));
|
|
92
99
|
},
|
|
93
100
|
ul(_a) {
|
|
94
101
|
var { children, node } = _a, props = __rest(_a, ["children", "node"]);
|
|
95
|
-
return (0, jsx_runtime_1.jsx)("ul", Object.assign({ className: HtmlTags_module_scss_1.default.htmlUl }, props, { children: children }));
|
|
102
|
+
return ((0, jsx_runtime_1.jsx)("ul", Object.assign({ className: HtmlTags_module_scss_1.default.htmlUl }, props, { children: children })));
|
|
96
103
|
},
|
|
97
104
|
li(_a) {
|
|
98
105
|
var { children, node } = _a, props = __rest(_a, ["children", "node"]);
|
|
99
|
-
return (0, jsx_runtime_1.jsx)("li", Object.assign({ className: HtmlTags_module_scss_1.default.htmlLi }, props, { children: children }));
|
|
106
|
+
return ((0, jsx_runtime_1.jsx)("li", Object.assign({ className: HtmlTags_module_scss_1.default.htmlLi }, props, { children: (0, jsx_runtime_1.jsx)(TextNative_1.Text, { children: children }) })));
|
|
100
107
|
},
|
|
101
108
|
hr() {
|
|
102
109
|
return (0, jsx_runtime_1.jsx)(HorizontalRule, {});
|
|
103
110
|
},
|
|
104
111
|
a(_a) {
|
|
105
112
|
var { children, href } = _a, props = __rest(_a, ["children", "href"]);
|
|
106
|
-
const allowedProps = [
|
|
113
|
+
const allowedProps = ["style", "disabled", "active", "icon", "onClick"];
|
|
107
114
|
return ((0, jsx_runtime_1.jsx)(LinkNative_1.LocalLink, Object.assign({ to: href }, allowedProps, { children: children })));
|
|
108
115
|
},
|
|
109
116
|
// TODO: somehow get the label from the containing li element
|
|
@@ -154,19 +161,19 @@ const HorizontalRule = () => {
|
|
|
154
161
|
const Blockquote = ({ children, style }) => {
|
|
155
162
|
// Helper function to extract text content from React nodes
|
|
156
163
|
const extractTextContent = (node) => {
|
|
157
|
-
if (typeof node ===
|
|
164
|
+
if (typeof node === "string") {
|
|
158
165
|
return node;
|
|
159
166
|
}
|
|
160
167
|
if (react_2.default.isValidElement(node) && node.props && node.props.children) {
|
|
161
168
|
if (Array.isArray(node.props.children)) {
|
|
162
|
-
return node.props.children.map(extractTextContent).join(
|
|
169
|
+
return node.props.children.map(extractTextContent).join("");
|
|
163
170
|
}
|
|
164
171
|
return extractTextContent(node.props.children);
|
|
165
172
|
}
|
|
166
|
-
return
|
|
173
|
+
return "";
|
|
167
174
|
};
|
|
168
175
|
// Extract all text content
|
|
169
|
-
const allText = react_2.default.Children.toArray(children).map(extractTextContent).join(
|
|
176
|
+
const allText = react_2.default.Children.toArray(children).map(extractTextContent).join("");
|
|
170
177
|
// Check for admonition pattern
|
|
171
178
|
const match = allText.match(/\[!([A-Z]+)\]/);
|
|
172
179
|
const isAdmonition = !!match;
|
|
@@ -174,16 +181,16 @@ const Blockquote = ({ children, style }) => {
|
|
|
174
181
|
const type = match[1].toLowerCase();
|
|
175
182
|
// Map admonition type to emoji
|
|
176
183
|
const emojiMap = {
|
|
177
|
-
info:
|
|
178
|
-
warning:
|
|
179
|
-
danger:
|
|
180
|
-
note:
|
|
181
|
-
tip:
|
|
184
|
+
info: "💡",
|
|
185
|
+
warning: "⚠️",
|
|
186
|
+
danger: "🚫",
|
|
187
|
+
note: "📝",
|
|
188
|
+
tip: "💬",
|
|
182
189
|
};
|
|
183
190
|
// Process children to remove the admonition marker
|
|
184
191
|
const processNode = (node) => {
|
|
185
|
-
if (typeof node ===
|
|
186
|
-
return node.replace(/\[!([A-Z]+)\]\s*/,
|
|
192
|
+
if (typeof node === "string") {
|
|
193
|
+
return node.replace(/\[!([A-Z]+)\]\s*/, "");
|
|
187
194
|
}
|
|
188
195
|
if (react_2.default.isValidElement(node)) {
|
|
189
196
|
// Handle React elements with children
|
|
@@ -205,7 +212,7 @@ const Blockquote = ({ children, style }) => {
|
|
|
205
212
|
};
|
|
206
213
|
const processedChildren = react_2.default.Children.map(children, processNode);
|
|
207
214
|
// Render admonition blockquote with the updated structure
|
|
208
|
-
return ((0, jsx_runtime_1.jsx)("blockquote", { className: Markdown_module_scss_1.default.admonitionBlockquote, style: style, children: (0, jsx_runtime_1.jsxs)("div", { className: Markdown_module_scss_1.default.admonitionContainer, children: [(0, jsx_runtime_1.jsx)("div", { className: `${Markdown_module_scss_1.default.admonitionIcon} ${Markdown_module_scss_1.default[type] ||
|
|
215
|
+
return ((0, jsx_runtime_1.jsx)("blockquote", { className: Markdown_module_scss_1.default.admonitionBlockquote, style: style, children: (0, jsx_runtime_1.jsxs)("div", { className: Markdown_module_scss_1.default.admonitionContainer, children: [(0, jsx_runtime_1.jsx)("div", { className: `${Markdown_module_scss_1.default.admonitionIcon} ${Markdown_module_scss_1.default[type] || ""}`, children: emojiMap[type] || "💡" }), (0, jsx_runtime_1.jsx)("div", { className: Markdown_module_scss_1.default.admonitionContent, children: processedChildren })] }) }));
|
|
209
216
|
}
|
|
210
217
|
return ((0, jsx_runtime_1.jsx)("blockquote", { className: Markdown_module_scss_1.default.blockquote, style: style, children: (0, jsx_runtime_1.jsx)("div", { className: Markdown_module_scss_1.default.blockquoteContainer, children: children }) }));
|
|
211
218
|
};
|
|
@@ -34,7 +34,8 @@ exports.NavGroup = (0, react_1.forwardRef)(function NavGroup({ node, style, labe
|
|
|
34
34
|
const navPanelContext = (0, react_1.useContext)(NavPanelNative_1.NavPanelContext);
|
|
35
35
|
let inline = (appLayoutContext === null || appLayoutContext === void 0 ? void 0 : appLayoutContext.layout) === "vertical" ||
|
|
36
36
|
(appLayoutContext === null || appLayoutContext === void 0 ? void 0 : appLayoutContext.layout) === "vertical-sticky" ||
|
|
37
|
-
(appLayoutContext === null || appLayoutContext === void 0 ? void 0 : appLayoutContext.layout) === "vertical-full-header"
|
|
37
|
+
(appLayoutContext === null || appLayoutContext === void 0 ? void 0 : appLayoutContext.layout) === "vertical-full-header" ||
|
|
38
|
+
(appLayoutContext === null || appLayoutContext === void 0 ? void 0 : appLayoutContext.layout) === "vertical-constrained-width";
|
|
38
39
|
if (navPanelContext !== null) {
|
|
39
40
|
inline = navPanelContext.inDrawer;
|
|
40
41
|
}
|
|
@@ -19,7 +19,7 @@ const InspectorButton_module_scss_1 = __importDefault(require("./InspectorButton
|
|
|
19
19
|
const ComponentRegistryContext_1 = require("../components/ComponentRegistryContext");
|
|
20
20
|
// --- The context object that is used to store the inspector information.
|
|
21
21
|
exports.InspectorContext = (0, react_1.createContext)(null);
|
|
22
|
-
function InspectorProvider({ children, sources, projectCompilation, }) {
|
|
22
|
+
function InspectorProvider({ children, sources, projectCompilation, mockApi, }) {
|
|
23
23
|
const { root } = (0, ThemeContext_1.useTheme)();
|
|
24
24
|
const [inspectable, setInspectable] = (0, react_1.useState)({});
|
|
25
25
|
const [inspectedNode, setInspectedNode] = (0, react_1.useState)(null);
|
|
@@ -61,8 +61,9 @@ function InspectorProvider({ children, sources, projectCompilation, }) {
|
|
|
61
61
|
setDevToolsSide,
|
|
62
62
|
devToolsEnabled: showCode,
|
|
63
63
|
projectCompilation: projectCompilation,
|
|
64
|
+
mockApi,
|
|
64
65
|
};
|
|
65
|
-
}, [devToolsSide, devToolsSize, sources, inspectedNode, showCode, projectCompilation]);
|
|
66
|
+
}, [devToolsSide, devToolsSize, sources, inspectedNode, showCode, projectCompilation, mockApi]);
|
|
66
67
|
return ((0, jsx_runtime_1.jsxs)(exports.InspectorContext.Provider, { value: contextValue, children: [children, process.env.VITE_USER_COMPONENTS_Inspect !== "false" &&
|
|
67
68
|
showCode &&
|
|
68
69
|
inspectedNode !== null &&
|
|
@@ -155,6 +156,7 @@ function useDevTools() {
|
|
|
155
156
|
devToolsSide: context === null || context === void 0 ? void 0 : context.devToolsSide,
|
|
156
157
|
setDevToolsSide: context === null || context === void 0 ? void 0 : context.setDevToolsSide,
|
|
157
158
|
devToolsEnabled: context === null || context === void 0 ? void 0 : context.devToolsEnabled,
|
|
159
|
+
mockApi: context === null || context === void 0 ? void 0 : context.mockApi,
|
|
158
160
|
};
|
|
159
161
|
}
|
|
160
162
|
function useInspector(node, uid) {
|
package/dist/style.css
CHANGED
|
@@ -1617,7 +1617,7 @@ See this source for details: https://css-tricks.com/line-clampin/
|
|
|
1617
1617
|
* This function allows other CSS modules to get the value of the CSS variable specified in $componentVariable.
|
|
1618
1618
|
Optionally, you can provide a $fallbackValue to set the variable's value if that is not defined.
|
|
1619
1619
|
*/
|
|
1620
|
-
.
|
|
1620
|
+
._wrapper_rebcu_13 {
|
|
1621
1621
|
--footer-height: 0px;
|
|
1622
1622
|
--header-height: 0px;
|
|
1623
1623
|
width: 100%;
|
|
@@ -1627,191 +1627,195 @@ See this source for details: https://css-tricks.com/line-clampin/
|
|
|
1627
1627
|
flex-direction: column;
|
|
1628
1628
|
isolation: isolate;
|
|
1629
1629
|
}
|
|
1630
|
-
.
|
|
1630
|
+
._wrapper_rebcu_13._vertical_rebcu_23 {
|
|
1631
1631
|
flex-direction: row;
|
|
1632
1632
|
overflow: initial;
|
|
1633
1633
|
}
|
|
1634
|
-
.
|
|
1634
|
+
._wrapper_rebcu_13._vertical_rebcu_23 ._contentWrapper_rebcu_27 {
|
|
1635
1635
|
overflow: auto;
|
|
1636
1636
|
scroll-padding-block: var(--xmlui-scroll-padding-block-Pages);
|
|
1637
1637
|
position: relative;
|
|
1638
1638
|
scrollbar-gutter: stable both-edges;
|
|
1639
1639
|
}
|
|
1640
|
-
.
|
|
1640
|
+
._wrapper_rebcu_13._vertical_rebcu_23 ._navPanelWrapper_rebcu_33 {
|
|
1641
1641
|
width: var(--xmlui-width-navPanel-App);
|
|
1642
1642
|
flex-shrink: 0;
|
|
1643
1643
|
}
|
|
1644
|
-
.
|
|
1644
|
+
._wrapper_rebcu_13._vertical_rebcu_23 ._PagesWrapper_rebcu_37 {
|
|
1645
1645
|
min-height: initial;
|
|
1646
1646
|
flex: 1;
|
|
1647
1647
|
}
|
|
1648
|
-
.
|
|
1648
|
+
._wrapper_rebcu_13._vertical_rebcu_23 ._footerWrapper_rebcu_41 {
|
|
1649
1649
|
position: static;
|
|
1650
1650
|
}
|
|
1651
|
-
.
|
|
1651
|
+
._wrapper_rebcu_13._vertical_rebcu_23._sticky_rebcu_44 ._contentWrapper_rebcu_27 {
|
|
1652
1652
|
scroll-padding-top: var(--header-height);
|
|
1653
1653
|
}
|
|
1654
|
-
.
|
|
1654
|
+
._wrapper_rebcu_13._vertical_rebcu_23._sticky_rebcu_44 ._footerWrapper_rebcu_41 {
|
|
1655
1655
|
position: sticky;
|
|
1656
1656
|
bottom: 0;
|
|
1657
1657
|
}
|
|
1658
|
-
.
|
|
1658
|
+
._wrapper_rebcu_13._horizontal_rebcu_51 {
|
|
1659
1659
|
overflow: auto;
|
|
1660
1660
|
scroll-padding-block: var(--xmlui-scroll-padding-block-Pages);
|
|
1661
1661
|
}
|
|
1662
|
-
.
|
|
1662
|
+
._wrapper_rebcu_13._horizontal_rebcu_51 ._PagesWrapper_rebcu_37 {
|
|
1663
1663
|
min-height: initial;
|
|
1664
1664
|
}
|
|
1665
|
-
.
|
|
1665
|
+
._wrapper_rebcu_13._horizontal_rebcu_51 ._footerWrapper_rebcu_41 {
|
|
1666
1666
|
position: static;
|
|
1667
1667
|
}
|
|
1668
|
-
.
|
|
1668
|
+
._wrapper_rebcu_13._horizontal_rebcu_51._sticky_rebcu_44 {
|
|
1669
1669
|
scroll-padding-top: var(--header-height);
|
|
1670
1670
|
min-height: 100%;
|
|
1671
1671
|
}
|
|
1672
|
-
.
|
|
1672
|
+
._wrapper_rebcu_13._horizontal_rebcu_51._sticky_rebcu_44 ._footerWrapper_rebcu_41 {
|
|
1673
1673
|
position: sticky;
|
|
1674
1674
|
bottom: 0;
|
|
1675
1675
|
}
|
|
1676
|
-
.
|
|
1676
|
+
._wrapper_rebcu_13._horizontal_rebcu_51 ._navPanelWrapper_rebcu_33 {
|
|
1677
1677
|
border-bottom: var(--xmlui-borderBottom-AppHeader);
|
|
1678
1678
|
justify-content: end;
|
|
1679
1679
|
}
|
|
1680
|
-
.
|
|
1680
|
+
._wrapper_rebcu_13._verticalFullHeader_rebcu_73 {
|
|
1681
1681
|
min-height: 100%;
|
|
1682
1682
|
height: 100%;
|
|
1683
1683
|
overflow: auto;
|
|
1684
1684
|
scroll-padding-block: var(--xmlui-scroll-padding-block-Pages);
|
|
1685
1685
|
}
|
|
1686
|
-
.
|
|
1686
|
+
._wrapper_rebcu_13._verticalFullHeader_rebcu_73 ._navPanelWrapper_rebcu_33 {
|
|
1687
1687
|
width: var(--xmlui-width-navPanel-App);
|
|
1688
1688
|
position: sticky;
|
|
1689
1689
|
height: calc(var(--containerHeight, 100vh) - var(--footer-height) - var(--header-height));
|
|
1690
1690
|
top: var(--header-height);
|
|
1691
1691
|
}
|
|
1692
|
-
.
|
|
1692
|
+
._wrapper_rebcu_13._verticalFullHeader_rebcu_73 ._PagesWrapper_rebcu_37 {
|
|
1693
1693
|
overflow: initial;
|
|
1694
1694
|
min-height: calc(var(--containerHeight, 100vh) - var(--header-height) - var(--footer-height));
|
|
1695
1695
|
height: 100%;
|
|
1696
1696
|
}
|
|
1697
|
-
.
|
|
1697
|
+
._wrapper_rebcu_13._verticalFullHeader_rebcu_73 ._PagesWrapperInner_rebcu_90 {
|
|
1698
1698
|
height: 100%;
|
|
1699
1699
|
}
|
|
1700
|
-
.
|
|
1700
|
+
._wrapper_rebcu_13._verticalFullHeader_rebcu_73 ._PagesWrapperInner_rebcu_90 > .xmlui-page-root {
|
|
1701
1701
|
height: 100%;
|
|
1702
1702
|
}
|
|
1703
|
-
.
|
|
1703
|
+
._wrapper_rebcu_13._verticalFullHeader_rebcu_73 ._footerWrapper_rebcu_41 {
|
|
1704
1704
|
position: sticky;
|
|
1705
1705
|
left: 0;
|
|
1706
1706
|
right: 0;
|
|
1707
1707
|
bottom: 0;
|
|
1708
1708
|
}
|
|
1709
|
-
.
|
|
1709
|
+
._wrapper_rebcu_13._verticalConstrained_rebcu_102 {
|
|
1710
1710
|
min-height: 100%;
|
|
1711
1711
|
height: 100%;
|
|
1712
1712
|
overflow: auto;
|
|
1713
1713
|
scroll-padding-block: var(--xmlui-scroll-padding-block-Pages);
|
|
1714
1714
|
}
|
|
1715
|
-
.
|
|
1716
|
-
max-width: var(--xmlui-maxWidth-App);
|
|
1715
|
+
._wrapper_rebcu_13._verticalConstrained_rebcu_102 ._header_rebcu_108 {
|
|
1716
|
+
max-width: var(--xmlui-maxWidth-content-App);
|
|
1717
1717
|
margin: auto;
|
|
1718
1718
|
}
|
|
1719
|
-
.
|
|
1719
|
+
._wrapper_rebcu_13._verticalConstrained_rebcu_102 ._navPanelWrapper_rebcu_33 {
|
|
1720
1720
|
width: var(--xmlui-width-navPanel-App);
|
|
1721
1721
|
position: sticky;
|
|
1722
1722
|
height: calc(var(--containerHeight, 100vh) - var(--footer-height) - var(--header-height));
|
|
1723
1723
|
top: var(--header-height);
|
|
1724
1724
|
}
|
|
1725
|
-
.
|
|
1725
|
+
._wrapper_rebcu_13._verticalConstrained_rebcu_102 ._PagesWrapper_rebcu_37 {
|
|
1726
1726
|
overflow: initial;
|
|
1727
1727
|
min-height: calc(var(--containerHeight, 100vh) - var(--header-height) - var(--footer-height));
|
|
1728
1728
|
height: 100%;
|
|
1729
1729
|
}
|
|
1730
|
-
.
|
|
1730
|
+
._wrapper_rebcu_13._verticalConstrained_rebcu_102 ._PagesWrapperInner_rebcu_90 {
|
|
1731
1731
|
height: 100%;
|
|
1732
1732
|
}
|
|
1733
|
-
.
|
|
1733
|
+
._wrapper_rebcu_13._verticalConstrained_rebcu_102 ._PagesWrapperInner_rebcu_90 > .xmlui-page-root {
|
|
1734
1734
|
height: 100%;
|
|
1735
1735
|
}
|
|
1736
|
-
.
|
|
1736
|
+
._wrapper_rebcu_13._verticalConstrained_rebcu_102 ._footerWrapper_rebcu_41 {
|
|
1737
1737
|
position: sticky;
|
|
1738
1738
|
left: 0;
|
|
1739
1739
|
right: 0;
|
|
1740
1740
|
bottom: 0;
|
|
1741
1741
|
}
|
|
1742
|
-
.
|
|
1742
|
+
._wrapper_rebcu_13._scrollWholePage_rebcu_135 {
|
|
1743
1743
|
scrollbar-gutter: stable both-edges;
|
|
1744
1744
|
}
|
|
1745
|
-
.
|
|
1745
|
+
._wrapper_rebcu_13._scrollWholePage_rebcu_135 ._headerWrapper_rebcu_138 {
|
|
1746
1746
|
margin-inline: calc(-1 * var(--scrollbar-width));
|
|
1747
1747
|
}
|
|
1748
|
-
.
|
|
1748
|
+
._wrapper_rebcu_13._scrollWholePage_rebcu_135 ._headerWrapper_rebcu_138 > div {
|
|
1749
1749
|
padding-inline: var(--scrollbar-width);
|
|
1750
1750
|
}
|
|
1751
|
-
.
|
|
1751
|
+
._wrapper_rebcu_13._scrollWholePage_rebcu_135 ._footerWrapper_rebcu_41 {
|
|
1752
1752
|
margin-inline: calc(-1 * var(--scrollbar-width));
|
|
1753
1753
|
}
|
|
1754
|
-
.
|
|
1754
|
+
._wrapper_rebcu_13._scrollWholePage_rebcu_135 ._footerWrapper_rebcu_41 > div {
|
|
1755
1755
|
padding-inline: var(--scrollbar-width);
|
|
1756
1756
|
}
|
|
1757
|
-
.
|
|
1757
|
+
._wrapper_rebcu_13._scrollWholePage_rebcu_135._verticalFullHeader_rebcu_73 {
|
|
1758
1758
|
scroll-padding-top: var(--header-height);
|
|
1759
1759
|
}
|
|
1760
|
-
.
|
|
1760
|
+
._wrapper_rebcu_13._scrollWholePage_rebcu_135._verticalFullHeader_rebcu_73 ._content_rebcu_27 {
|
|
1761
1761
|
margin-inline: calc(-1 * var(--scrollbar-width));
|
|
1762
1762
|
}
|
|
1763
|
-
.
|
|
1763
|
+
._wrapper_rebcu_13._scrollWholePage_rebcu_135._verticalFullHeader_rebcu_73 ._contentWrapper_rebcu_27 {
|
|
1764
1764
|
padding-inline: var(--scrollbar-width);
|
|
1765
1765
|
}
|
|
1766
|
-
.
|
|
1766
|
+
._wrapper_rebcu_13._scrollWholePage_rebcu_135._verticalConstrained_rebcu_102 {
|
|
1767
1767
|
scroll-padding-top: var(--header-height);
|
|
1768
1768
|
}
|
|
1769
|
-
.
|
|
1770
|
-
width: var(--xmlui-maxWidth-App);
|
|
1769
|
+
._wrapper_rebcu_13._scrollWholePage_rebcu_135._verticalConstrained_rebcu_102 ._content_rebcu_27 {
|
|
1770
|
+
width: var(--xmlui-maxWidth-content-App);
|
|
1771
1771
|
margin-inline: calc(-1 * var(--scrollbar-width));
|
|
1772
1772
|
margin: auto;
|
|
1773
1773
|
}
|
|
1774
|
-
.
|
|
1774
|
+
._wrapper_rebcu_13._scrollWholePage_rebcu_135._verticalConstrained_rebcu_102 ._contentWrapper_rebcu_27 {
|
|
1775
1775
|
padding-inline: var(--scrollbar-width);
|
|
1776
1776
|
}
|
|
1777
|
-
.
|
|
1778
|
-
width: var(--xmlui-maxWidth-App);
|
|
1777
|
+
._wrapper_rebcu_13._scrollWholePage_rebcu_135._verticalConstrained_rebcu_102 ._headerWrapper_rebcu_138 > div {
|
|
1778
|
+
width: var(--xmlui-maxWidth-content-App);
|
|
1779
1779
|
}
|
|
1780
|
-
.
|
|
1780
|
+
._wrapper_rebcu_13._scrollWholePage_rebcu_135._verticalConstrained_rebcu_102 ._footerWrapper_rebcu_41 {
|
|
1781
1781
|
margin-inline: calc(-1 * var(--scrollbar-width));
|
|
1782
1782
|
}
|
|
1783
|
-
.
|
|
1783
|
+
._wrapper_rebcu_13._scrollWholePage_rebcu_135._verticalConstrained_rebcu_102 ._footerWrapper_rebcu_41 > div {
|
|
1784
1784
|
padding-inline: var(--scrollbar-width);
|
|
1785
1785
|
}
|
|
1786
|
-
.
|
|
1786
|
+
._wrapper_rebcu_13:not(._scrollWholePage_rebcu_135) {
|
|
1787
1787
|
overflow: hidden;
|
|
1788
1788
|
}
|
|
1789
|
-
.
|
|
1789
|
+
._wrapper_rebcu_13:not(._scrollWholePage_rebcu_135) ._content_rebcu_27 {
|
|
1790
1790
|
min-height: 0;
|
|
1791
1791
|
height: 100%;
|
|
1792
1792
|
}
|
|
1793
|
-
.
|
|
1793
|
+
._wrapper_rebcu_13:not(._scrollWholePage_rebcu_135) ._contentWrapper_rebcu_27 {
|
|
1794
1794
|
overflow: initial;
|
|
1795
1795
|
}
|
|
1796
|
-
.
|
|
1796
|
+
._wrapper_rebcu_13:not(._scrollWholePage_rebcu_135)._verticalConstrained_rebcu_102 ._content_rebcu_27 {
|
|
1797
|
+
width: var(--xmlui-maxWidth-content-App);
|
|
1798
|
+
margin: auto;
|
|
1799
|
+
}
|
|
1800
|
+
._wrapper_rebcu_13:not(._scrollWholePage_rebcu_135) ._PagesWrapper_rebcu_37 {
|
|
1797
1801
|
overflow: auto;
|
|
1798
1802
|
scroll-padding-block: var(--xmlui-scroll-padding-block-Pages);
|
|
1799
1803
|
min-height: 0;
|
|
1800
1804
|
height: 100%;
|
|
1801
1805
|
scrollbar-gutter: stable both-edges;
|
|
1802
1806
|
}
|
|
1803
|
-
.
|
|
1807
|
+
._wrapper_rebcu_13:not(._scrollWholePage_rebcu_135) ._PagesWrapperInner_rebcu_90 {
|
|
1804
1808
|
min-height: 100%;
|
|
1805
1809
|
height: 0;
|
|
1806
1810
|
}
|
|
1807
|
-
.
|
|
1811
|
+
._wrapper_rebcu_13._noScrollbarGutters_rebcu_204 {
|
|
1808
1812
|
scrollbar-gutter: auto;
|
|
1809
1813
|
}
|
|
1810
|
-
.
|
|
1814
|
+
._wrapper_rebcu_13._noScrollbarGutters_rebcu_204 ._PagesWrapper_rebcu_37 {
|
|
1811
1815
|
scrollbar-gutter: auto;
|
|
1812
1816
|
}
|
|
1813
1817
|
|
|
1814
|
-
.
|
|
1818
|
+
._headerWrapper_rebcu_138 {
|
|
1815
1819
|
z-index: 1;
|
|
1816
1820
|
min-height: 0;
|
|
1817
1821
|
flex-shrink: 0;
|
|
@@ -1820,17 +1824,17 @@ See this source for details: https://css-tricks.com/line-clampin/
|
|
|
1820
1824
|
box-shadow: var(--xmlui-boxShadow-header-App);
|
|
1821
1825
|
background-color: var(--xmlui-backgroundColor-AppHeader);
|
|
1822
1826
|
}
|
|
1823
|
-
.
|
|
1827
|
+
._headerWrapper_rebcu_138._sticky_rebcu_44 {
|
|
1824
1828
|
position: sticky;
|
|
1825
1829
|
}
|
|
1826
1830
|
|
|
1827
|
-
.
|
|
1831
|
+
._content_rebcu_27 {
|
|
1828
1832
|
display: flex;
|
|
1829
1833
|
flex-direction: row;
|
|
1830
1834
|
isolation: isolate;
|
|
1831
1835
|
}
|
|
1832
1836
|
|
|
1833
|
-
.
|
|
1837
|
+
._contentWrapper_rebcu_27 {
|
|
1834
1838
|
position: relative;
|
|
1835
1839
|
min-width: 0;
|
|
1836
1840
|
flex: 1;
|
|
@@ -1841,21 +1845,21 @@ See this source for details: https://css-tricks.com/line-clampin/
|
|
|
1841
1845
|
border-left: var(--xmlui-borderLeft-content-App);
|
|
1842
1846
|
}
|
|
1843
1847
|
|
|
1844
|
-
.
|
|
1848
|
+
._navPanelWrapper_rebcu_33 {
|
|
1845
1849
|
display: flex;
|
|
1846
1850
|
position: sticky;
|
|
1847
1851
|
top: 0;
|
|
1848
1852
|
}
|
|
1849
|
-
.
|
|
1853
|
+
._navPanelWrapper_rebcu_33:empty {
|
|
1850
1854
|
display: none;
|
|
1851
1855
|
}
|
|
1852
1856
|
|
|
1853
|
-
.
|
|
1857
|
+
._PagesWrapper_rebcu_37 {
|
|
1854
1858
|
flex: 1;
|
|
1855
1859
|
isolation: isolate;
|
|
1856
1860
|
}
|
|
1857
1861
|
|
|
1858
|
-
.
|
|
1862
|
+
._PagesWrapperInner_rebcu_90 {
|
|
1859
1863
|
--page-padding-left: var(--xmlui-space-4);
|
|
1860
1864
|
--page-padding-right: var(--xmlui-space-4);
|
|
1861
1865
|
--page-padding-top: var(--xmlui-space-5);
|
|
@@ -1873,7 +1877,7 @@ See this source for details: https://css-tricks.com/line-clampin/
|
|
|
1873
1877
|
display: flex;
|
|
1874
1878
|
flex-direction: column;
|
|
1875
1879
|
}
|
|
1876
|
-
.
|
|
1880
|
+
._PagesWrapperInner_rebcu_90 > .xmlui-page-root {
|
|
1877
1881
|
padding-top: var(--page-padding-top-override, var(--page-padding-top));
|
|
1878
1882
|
padding-bottom: var(--page-padding-bottom-override, var(--page-padding-bottom));
|
|
1879
1883
|
padding-right: var(--page-padding-right-override, var(--page-padding-right));
|
|
@@ -1885,7 +1889,7 @@ See this source for details: https://css-tricks.com/line-clampin/
|
|
|
1885
1889
|
margin-right: calc(-1 * var(--page-padding-right));
|
|
1886
1890
|
}
|
|
1887
1891
|
|
|
1888
|
-
.
|
|
1892
|
+
._footerWrapper_rebcu_41 {
|
|
1889
1893
|
flex-shrink: 0;
|
|
1890
1894
|
}/*
|
|
1891
1895
|
* This file contains all CSS variables AppEngine uses for styling the UI, including individual visual components.
|
|
@@ -5622,7 +5626,10 @@ button._selectTrigger_1ept5_46._valid_1ept5_37::placeholder {
|
|
|
5622
5626
|
* This function allows other CSS modules to get the value of the CSS variable specified in $componentVariable.
|
|
5623
5627
|
Optionally, you can provide a $fallbackValue to set the variable's value if that is not defined.
|
|
5624
5628
|
*/
|
|
5625
|
-
.
|
|
5629
|
+
._markdownContent_17igw_13 {
|
|
5630
|
+
max-width: var(--xmlui-maxWidth-Markdown);
|
|
5631
|
+
}
|
|
5632
|
+
._markdownContent_17igw_13 ._blockquote_17igw_16 {
|
|
5626
5633
|
position: relative;
|
|
5627
5634
|
margin-top: var(--xmlui-marginTop-Blockquote);
|
|
5628
5635
|
margin-bottom: var(--xmlui-marginBottom-Blockquote);
|
|
@@ -5630,7 +5637,7 @@ button._selectTrigger_1ept5_46._valid_1ept5_37::placeholder {
|
|
|
5630
5637
|
border-radius: var(--xmlui-borderRadius-Blockquote);
|
|
5631
5638
|
padding-left: var(--xmlui-paddingLeft-Blockquote);
|
|
5632
5639
|
}
|
|
5633
|
-
.
|
|
5640
|
+
._markdownContent_17igw_13 ._blockquote_17igw_16::before {
|
|
5634
5641
|
background-color: var(--xmlui-accentColor-Blockquote);
|
|
5635
5642
|
position: absolute;
|
|
5636
5643
|
top: 0;
|
|
@@ -5640,50 +5647,50 @@ button._selectTrigger_1ept5_46._valid_1ept5_37::placeholder {
|
|
|
5640
5647
|
height: 100%;
|
|
5641
5648
|
width: var(--xmlui-accentWidth-Blockquote);
|
|
5642
5649
|
}
|
|
5643
|
-
.
|
|
5644
|
-
padding: 0.5rem;
|
|
5650
|
+
._markdownContent_17igw_13 ._blockquoteContainer_17igw_34 {
|
|
5651
|
+
padding: 0.5rem 0.5rem 0.1rem 0.5rem;
|
|
5645
5652
|
}
|
|
5646
|
-
.
|
|
5653
|
+
._markdownContent_17igw_13 ._admonitionBlockquote_17igw_37 {
|
|
5647
5654
|
margin-top: var(--xmlui-marginTop-Admonition);
|
|
5648
5655
|
margin-bottom: var(--xmlui-marginBottom-Admonition);
|
|
5649
5656
|
background-color: var(--xmlui-backgroundColor-Admonition);
|
|
5650
5657
|
border-radius: var(--xmlui-borderRadius-Admonition);
|
|
5651
5658
|
}
|
|
5652
|
-
.
|
|
5659
|
+
._markdownContent_17igw_13 ._admonitionContainer_17igw_43 {
|
|
5653
5660
|
padding: 0.5rem;
|
|
5654
5661
|
display: flex;
|
|
5655
5662
|
align-items: flex-start;
|
|
5656
5663
|
}
|
|
5657
|
-
.
|
|
5664
|
+
._markdownContent_17igw_13 ._admonitionContent_17igw_48 {
|
|
5658
5665
|
margin-left: var(--xmlui-marginLeft-Admonition-content);
|
|
5659
5666
|
}
|
|
5660
|
-
.
|
|
5667
|
+
._markdownContent_17igw_13 ._admonitionIcon_17igw_51 {
|
|
5661
5668
|
font-size: var(--xmlui-iconSize-Admonition);
|
|
5662
5669
|
line-height: 1;
|
|
5663
5670
|
}
|
|
5664
|
-
.
|
|
5671
|
+
._markdownContent_17igw_13 ._admonitionContent_17igw_48 {
|
|
5665
5672
|
flex: 1;
|
|
5666
5673
|
min-width: 0;
|
|
5667
5674
|
}
|
|
5668
|
-
.
|
|
5675
|
+
._markdownContent_17igw_13 ._admonitionBlockquote_17igw_37 ._admonitionContent_17igw_48 [class*=text_][class*=markdown_] {
|
|
5669
5676
|
margin-top: 0;
|
|
5670
5677
|
margin-bottom: 0;
|
|
5671
5678
|
}
|
|
5672
|
-
.
|
|
5673
|
-
.
|
|
5679
|
+
._markdownContent_17igw_13 li:has(> input[type=checkbox]),
|
|
5680
|
+
._markdownContent_17igw_13 li:has(> input[type=checkbox]) {
|
|
5674
5681
|
display: flex;
|
|
5675
5682
|
align-items: flex-start;
|
|
5676
5683
|
}
|
|
5677
|
-
.
|
|
5678
|
-
.
|
|
5684
|
+
._markdownContent_17igw_13 li:has(> input[type=checkbox]) > input[type=checkbox],
|
|
5685
|
+
._markdownContent_17igw_13 li:has(> input[type=checkbox]) > input[type=checkbox] {
|
|
5679
5686
|
margin-right: 8px;
|
|
5680
5687
|
margin-top: 4px;
|
|
5681
5688
|
flex-shrink: 0;
|
|
5682
5689
|
}
|
|
5683
|
-
.
|
|
5690
|
+
._markdownContent_17igw_13 > *:first-child {
|
|
5684
5691
|
margin-top: 0;
|
|
5685
5692
|
}
|
|
5686
|
-
.
|
|
5693
|
+
._markdownContent_17igw_13 > *:last-child {
|
|
5687
5694
|
margin-bottom: 0;
|
|
5688
5695
|
}
|
|
5689
5696
|
|
package/dist/xmlui-metadata.mjs
CHANGED
|
@@ -3090,7 +3090,7 @@ const ThemeMd = createMetadata({
|
|
|
3090
3090
|
},
|
|
3091
3091
|
opaque: true
|
|
3092
3092
|
});
|
|
3093
|
-
const themeVars$I = `'{"width-navPanel-App": "var(--xmlui-width-navPanel-App)", "boxShadow-header-App": "var(--xmlui-boxShadow-header-App)", "boxShadow-navPanel-App": "var(--xmlui-boxShadow-navPanel-App)", "backgroundColor-content-App": "var(--xmlui-backgroundColor-content-App)", "borderLeft-content-App": "var(--xmlui-borderLeft-content-App)", "maxWidth-content-App": "var(--xmlui-maxWidth-content-App)", "
|
|
3093
|
+
const themeVars$I = `'{"width-navPanel-App": "var(--xmlui-width-navPanel-App)", "boxShadow-header-App": "var(--xmlui-boxShadow-header-App)", "boxShadow-navPanel-App": "var(--xmlui-boxShadow-navPanel-App)", "backgroundColor-content-App": "var(--xmlui-backgroundColor-content-App)", "borderLeft-content-App": "var(--xmlui-borderLeft-content-App)", "maxWidth-content-App": "var(--xmlui-maxWidth-content-App)", "backgroundColor-AppHeader": "var(--xmlui-backgroundColor-AppHeader)", "borderBottom-AppHeader": "var(--xmlui-borderBottom-AppHeader)", "scroll-padding-block-Pages": "var(--xmlui-scroll-padding-block-Pages)"}'`;
|
|
3094
3094
|
const styles$L = {
|
|
3095
3095
|
themeVars: themeVars$I
|
|
3096
3096
|
};
|
|
@@ -15339,7 +15339,7 @@ const LogoMd = createMetadata({
|
|
|
15339
15339
|
status: "experimental",
|
|
15340
15340
|
description: `The \`${COMP$H}\` component represents a logo or a brand symbol. Usually, you use this component in the [\`AppHeader\`](./AppHeader.mdx#logotemplate).`
|
|
15341
15341
|
});
|
|
15342
|
-
const themeVars$f = `'{"accentColor-Blockquote": "var(--xmlui-accentColor-Blockquote)", "accentWidth-Blockquote": "var(--xmlui-accentWidth-Blockquote)", "backgroundColor-Blockquote": "var(--xmlui-backgroundColor-Blockquote)", "paddingLeft-Blockquote": "var(--xmlui-paddingLeft-Blockquote)", "borderRadius-Blockquote": "var(--xmlui-borderRadius-Blockquote)", "marginTop-Blockquote": "var(--xmlui-marginTop-Blockquote)", "marginBottom-Blockquote": "var(--xmlui-marginBottom-Blockquote)", "backgroundColor-Admonition": "var(--xmlui-backgroundColor-Admonition)", "paddingLeft-Admonition": "var(--xmlui-paddingLeft-Admonition)", "borderRadius-Admonition": "var(--xmlui-borderRadius-Admonition)", "iconSize-Admonition": "var(--xmlui-iconSize-Admonition)", "marginTop-Admonition": "var(--xmlui-marginTop-Admonition)", "marginBottom-Admonition": "var(--xmlui-marginBottom-Admonition)", "marginLeft-Admonition-content": "var(--xmlui-marginLeft-Admonition-content)", "marginTop-HtmlVideo": "var(--xmlui-marginTop-HtmlVideo)", "marginBottom-HtmlVideo": "var(--xmlui-marginBottom-HtmlVideo)"}'`;
|
|
15342
|
+
const themeVars$f = `'{"maxWidth-Markdown": "var(--xmlui-maxWidth-Markdown)", "accentColor-Blockquote": "var(--xmlui-accentColor-Blockquote)", "accentWidth-Blockquote": "var(--xmlui-accentWidth-Blockquote)", "backgroundColor-Blockquote": "var(--xmlui-backgroundColor-Blockquote)", "paddingLeft-Blockquote": "var(--xmlui-paddingLeft-Blockquote)", "borderRadius-Blockquote": "var(--xmlui-borderRadius-Blockquote)", "marginTop-Blockquote": "var(--xmlui-marginTop-Blockquote)", "marginBottom-Blockquote": "var(--xmlui-marginBottom-Blockquote)", "backgroundColor-Admonition": "var(--xmlui-backgroundColor-Admonition)", "paddingLeft-Admonition": "var(--xmlui-paddingLeft-Admonition)", "borderRadius-Admonition": "var(--xmlui-borderRadius-Admonition)", "iconSize-Admonition": "var(--xmlui-iconSize-Admonition)", "marginTop-Admonition": "var(--xmlui-marginTop-Admonition)", "marginBottom-Admonition": "var(--xmlui-marginBottom-Admonition)", "marginLeft-Admonition-content": "var(--xmlui-marginLeft-Admonition-content)", "marginTop-HtmlVideo": "var(--xmlui-marginTop-HtmlVideo)", "marginBottom-HtmlVideo": "var(--xmlui-marginBottom-HtmlVideo)"}'`;
|
|
15343
15343
|
const styles$g = {
|
|
15344
15344
|
themeVars: themeVars$f
|
|
15345
15345
|
};
|
|
@@ -15513,7 +15513,7 @@ forwardRef(function NavGroup2({
|
|
|
15513
15513
|
const { level } = useContext(NavGroupContext);
|
|
15514
15514
|
const appLayoutContext = useAppLayoutContext();
|
|
15515
15515
|
const navPanelContext = useContext(NavPanelContext);
|
|
15516
|
-
let inline = (appLayoutContext == null ? void 0 : appLayoutContext.layout) === "vertical" || (appLayoutContext == null ? void 0 : appLayoutContext.layout) === "vertical-sticky" || (appLayoutContext == null ? void 0 : appLayoutContext.layout) === "vertical-full-header";
|
|
15516
|
+
let inline = (appLayoutContext == null ? void 0 : appLayoutContext.layout) === "vertical" || (appLayoutContext == null ? void 0 : appLayoutContext.layout) === "vertical-sticky" || (appLayoutContext == null ? void 0 : appLayoutContext.layout) === "vertical-full-header" || (appLayoutContext == null ? void 0 : appLayoutContext.layout) === "vertical-constrained-width";
|
|
15517
15517
|
if (navPanelContext !== null) {
|
|
15518
15518
|
inline = navPanelContext.inDrawer;
|
|
15519
15519
|
}
|
|
@@ -3087,7 +3087,7 @@
|
|
|
3087
3087
|
},
|
|
3088
3088
|
opaque: true
|
|
3089
3089
|
});
|
|
3090
|
-
const themeVars$I = `'{"width-navPanel-App": "var(--xmlui-width-navPanel-App)", "boxShadow-header-App": "var(--xmlui-boxShadow-header-App)", "boxShadow-navPanel-App": "var(--xmlui-boxShadow-navPanel-App)", "backgroundColor-content-App": "var(--xmlui-backgroundColor-content-App)", "borderLeft-content-App": "var(--xmlui-borderLeft-content-App)", "maxWidth-content-App": "var(--xmlui-maxWidth-content-App)", "
|
|
3090
|
+
const themeVars$I = `'{"width-navPanel-App": "var(--xmlui-width-navPanel-App)", "boxShadow-header-App": "var(--xmlui-boxShadow-header-App)", "boxShadow-navPanel-App": "var(--xmlui-boxShadow-navPanel-App)", "backgroundColor-content-App": "var(--xmlui-backgroundColor-content-App)", "borderLeft-content-App": "var(--xmlui-borderLeft-content-App)", "maxWidth-content-App": "var(--xmlui-maxWidth-content-App)", "backgroundColor-AppHeader": "var(--xmlui-backgroundColor-AppHeader)", "borderBottom-AppHeader": "var(--xmlui-borderBottom-AppHeader)", "scroll-padding-block-Pages": "var(--xmlui-scroll-padding-block-Pages)"}'`;
|
|
3091
3091
|
const styles$L = {
|
|
3092
3092
|
themeVars: themeVars$I
|
|
3093
3093
|
};
|
|
@@ -15336,7 +15336,7 @@
|
|
|
15336
15336
|
status: "experimental",
|
|
15337
15337
|
description: `The \`${COMP$H}\` component represents a logo or a brand symbol. Usually, you use this component in the [\`AppHeader\`](./AppHeader.mdx#logotemplate).`
|
|
15338
15338
|
});
|
|
15339
|
-
const themeVars$f = `'{"accentColor-Blockquote": "var(--xmlui-accentColor-Blockquote)", "accentWidth-Blockquote": "var(--xmlui-accentWidth-Blockquote)", "backgroundColor-Blockquote": "var(--xmlui-backgroundColor-Blockquote)", "paddingLeft-Blockquote": "var(--xmlui-paddingLeft-Blockquote)", "borderRadius-Blockquote": "var(--xmlui-borderRadius-Blockquote)", "marginTop-Blockquote": "var(--xmlui-marginTop-Blockquote)", "marginBottom-Blockquote": "var(--xmlui-marginBottom-Blockquote)", "backgroundColor-Admonition": "var(--xmlui-backgroundColor-Admonition)", "paddingLeft-Admonition": "var(--xmlui-paddingLeft-Admonition)", "borderRadius-Admonition": "var(--xmlui-borderRadius-Admonition)", "iconSize-Admonition": "var(--xmlui-iconSize-Admonition)", "marginTop-Admonition": "var(--xmlui-marginTop-Admonition)", "marginBottom-Admonition": "var(--xmlui-marginBottom-Admonition)", "marginLeft-Admonition-content": "var(--xmlui-marginLeft-Admonition-content)", "marginTop-HtmlVideo": "var(--xmlui-marginTop-HtmlVideo)", "marginBottom-HtmlVideo": "var(--xmlui-marginBottom-HtmlVideo)"}'`;
|
|
15339
|
+
const themeVars$f = `'{"maxWidth-Markdown": "var(--xmlui-maxWidth-Markdown)", "accentColor-Blockquote": "var(--xmlui-accentColor-Blockquote)", "accentWidth-Blockquote": "var(--xmlui-accentWidth-Blockquote)", "backgroundColor-Blockquote": "var(--xmlui-backgroundColor-Blockquote)", "paddingLeft-Blockquote": "var(--xmlui-paddingLeft-Blockquote)", "borderRadius-Blockquote": "var(--xmlui-borderRadius-Blockquote)", "marginTop-Blockquote": "var(--xmlui-marginTop-Blockquote)", "marginBottom-Blockquote": "var(--xmlui-marginBottom-Blockquote)", "backgroundColor-Admonition": "var(--xmlui-backgroundColor-Admonition)", "paddingLeft-Admonition": "var(--xmlui-paddingLeft-Admonition)", "borderRadius-Admonition": "var(--xmlui-borderRadius-Admonition)", "iconSize-Admonition": "var(--xmlui-iconSize-Admonition)", "marginTop-Admonition": "var(--xmlui-marginTop-Admonition)", "marginBottom-Admonition": "var(--xmlui-marginBottom-Admonition)", "marginLeft-Admonition-content": "var(--xmlui-marginLeft-Admonition-content)", "marginTop-HtmlVideo": "var(--xmlui-marginTop-HtmlVideo)", "marginBottom-HtmlVideo": "var(--xmlui-marginBottom-HtmlVideo)"}'`;
|
|
15340
15340
|
const styles$g = {
|
|
15341
15341
|
themeVars: themeVars$f
|
|
15342
15342
|
};
|
|
@@ -15510,7 +15510,7 @@
|
|
|
15510
15510
|
const { level } = React.useContext(NavGroupContext);
|
|
15511
15511
|
const appLayoutContext = useAppLayoutContext();
|
|
15512
15512
|
const navPanelContext = React.useContext(NavPanelContext);
|
|
15513
|
-
let inline = (appLayoutContext == null ? void 0 : appLayoutContext.layout) === "vertical" || (appLayoutContext == null ? void 0 : appLayoutContext.layout) === "vertical-sticky" || (appLayoutContext == null ? void 0 : appLayoutContext.layout) === "vertical-full-header";
|
|
15513
|
+
let inline = (appLayoutContext == null ? void 0 : appLayoutContext.layout) === "vertical" || (appLayoutContext == null ? void 0 : appLayoutContext.layout) === "vertical-sticky" || (appLayoutContext == null ? void 0 : appLayoutContext.layout) === "vertical-full-header" || (appLayoutContext == null ? void 0 : appLayoutContext.layout) === "vertical-constrained-width";
|
|
15514
15514
|
if (navPanelContext !== null) {
|
|
15515
15515
|
inline = navPanelContext.inDrawer;
|
|
15516
15516
|
}
|