@serhii.olishevskyi/docs 1.2.19 → 1.2.21
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/index.js +2 -2
- package/dist/index.mjs +3 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -4678,7 +4678,7 @@ var PageLinkWidget = ({
|
|
|
4678
4678
|
// Эффект подчеркивания, как у ссылки
|
|
4679
4679
|
}
|
|
4680
4680
|
},
|
|
4681
|
-
children: link.text
|
|
4681
|
+
children: typeof link.text === "string" ? /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(TranslateText, { overrideNamespace, children: link.text }) : link.text
|
|
4682
4682
|
}
|
|
4683
4683
|
) : link.href ? /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
|
|
4684
4684
|
import_material21.Link,
|
|
@@ -4834,7 +4834,7 @@ var CollapsedWidgetContainer = (props) => {
|
|
|
4834
4834
|
{
|
|
4835
4835
|
sx: { flexGrow: 1 },
|
|
4836
4836
|
avatar: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(import_material24.Avatar, { sx: { bgcolor: "primary.main" }, children: props.icon }),
|
|
4837
|
-
|
|
4837
|
+
title: typeof props.title === "string" ? /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(import_material24.Typography, { variant: "subtitle1", sx: { fontWeight: "700" }, children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(TranslateText, { overrideNamespace: props.overrideNamespace, children: props.title }) }) : props.title,
|
|
4838
4838
|
subheader: typeof props.subtitle === "string" ? /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(TranslateText, { overrideNamespace: props.overrideNamespace, children: props.subtitle }) : props.subtitle
|
|
4839
4839
|
}
|
|
4840
4840
|
),
|
package/dist/index.mjs
CHANGED
|
@@ -1757,7 +1757,7 @@ var PageLinkWidget = ({
|
|
|
1757
1757
|
// Эффект подчеркивания, как у ссылки
|
|
1758
1758
|
}
|
|
1759
1759
|
},
|
|
1760
|
-
children: link.text
|
|
1760
|
+
children: typeof link.text === "string" ? /* @__PURE__ */ jsx11(TranslateText, { overrideNamespace, children: link.text }) : link.text
|
|
1761
1761
|
}
|
|
1762
1762
|
) : link.href ? /* @__PURE__ */ jsx11(
|
|
1763
1763
|
MuiLink,
|
|
@@ -1875,7 +1875,7 @@ var CheckboxComponent = ({
|
|
|
1875
1875
|
|
|
1876
1876
|
// src/UI/widgets/page/CollapsedWidgetContainer.tsx
|
|
1877
1877
|
import { ExpandMore as ExpandMoreIcon } from "@mui/icons-material";
|
|
1878
|
-
import { Avatar as Avatar3, Box as Box8, Card as Card2, CardContent as CardContent2, CardHeader as CardHeader2, Collapse, Divider as Divider2, IconButton as IconButton7, styled, Tooltip as Tooltip7 } from "@mui/material";
|
|
1878
|
+
import { Avatar as Avatar3, Box as Box8, Card as Card2, CardContent as CardContent2, CardHeader as CardHeader2, Collapse, Divider as Divider2, IconButton as IconButton7, styled, Tooltip as Tooltip7, Typography as Typography7 } from "@mui/material";
|
|
1879
1879
|
import { useState as useState11 } from "react";
|
|
1880
1880
|
import { jsx as jsx14, jsxs as jsxs11 } from "react/jsx-runtime";
|
|
1881
1881
|
var ExpandMore = styled((props) => {
|
|
@@ -1918,7 +1918,7 @@ var CollapsedWidgetContainer = (props) => {
|
|
|
1918
1918
|
{
|
|
1919
1919
|
sx: { flexGrow: 1 },
|
|
1920
1920
|
avatar: /* @__PURE__ */ jsx14(Avatar3, { sx: { bgcolor: "primary.main" }, children: props.icon }),
|
|
1921
|
-
|
|
1921
|
+
title: typeof props.title === "string" ? /* @__PURE__ */ jsx14(Typography7, { variant: "subtitle1", sx: { fontWeight: "700" }, children: /* @__PURE__ */ jsx14(TranslateText, { overrideNamespace: props.overrideNamespace, children: props.title }) }) : props.title,
|
|
1922
1922
|
subheader: typeof props.subtitle === "string" ? /* @__PURE__ */ jsx14(TranslateText, { overrideNamespace: props.overrideNamespace, children: props.subtitle }) : props.subtitle
|
|
1923
1923
|
}
|
|
1924
1924
|
),
|