@serhii.olishevskyi/docs 1.2.18 → 1.2.20
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.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +3 -3
- package/dist/index.mjs +3 -3
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -436,7 +436,7 @@ declare const UI: {
|
|
|
436
436
|
Url: typeof UrlComponent;
|
|
437
437
|
};
|
|
438
438
|
Buttons: {
|
|
439
|
-
|
|
439
|
+
Button: React$1.ForwardRefExoticComponent<Omit<ButtonComponentProps, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
440
440
|
CopyClipboardButton: React$1.FC<CopyClipboardButtonComponentProps>;
|
|
441
441
|
RefreshButton: React$1.FC<RefreshButtonComponentProps>;
|
|
442
442
|
};
|
package/dist/index.d.ts
CHANGED
|
@@ -436,7 +436,7 @@ declare const UI: {
|
|
|
436
436
|
Url: typeof UrlComponent;
|
|
437
437
|
};
|
|
438
438
|
Buttons: {
|
|
439
|
-
|
|
439
|
+
Button: React$1.ForwardRefExoticComponent<Omit<ButtonComponentProps, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
440
440
|
CopyClipboardButton: React$1.FC<CopyClipboardButtonComponentProps>;
|
|
441
441
|
RefreshButton: React$1.FC<RefreshButtonComponentProps>;
|
|
442
442
|
};
|
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)(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
|
),
|
|
@@ -5144,7 +5144,7 @@ var UI = {
|
|
|
5144
5144
|
Url: UrlComponent
|
|
5145
5145
|
},
|
|
5146
5146
|
Buttons: {
|
|
5147
|
-
ButtonComponent,
|
|
5147
|
+
Button: ButtonComponent,
|
|
5148
5148
|
CopyClipboardButton: CopyClipboardButtonComponent,
|
|
5149
5149
|
RefreshButton: RefreshButtonComponent
|
|
5150
5150
|
},
|
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,
|
|
@@ -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(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
|
),
|
|
@@ -2228,7 +2228,7 @@ var UI = {
|
|
|
2228
2228
|
Url: UrlComponent
|
|
2229
2229
|
},
|
|
2230
2230
|
Buttons: {
|
|
2231
|
-
ButtonComponent,
|
|
2231
|
+
Button: ButtonComponent,
|
|
2232
2232
|
CopyClipboardButton: CopyClipboardButtonComponent,
|
|
2233
2233
|
RefreshButton: RefreshButtonComponent
|
|
2234
2234
|
},
|