@evergis/react 4.0.4 → 4.0.6
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 +1 -1
- package/dist/react.esm.js +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -10675,7 +10675,7 @@ const useDashboardHeader = () => {
|
|
|
10675
10675
|
const { url } = options || {};
|
|
10676
10676
|
const renderElement = useHeaderRender(header);
|
|
10677
10677
|
const imageUrl = React.useMemo(() => children?.some(({ id }) => id === "image")
|
|
10678
|
-
? renderElement({ id: "image", wrap: false })
|
|
10678
|
+
? getResourceUrl(renderElement({ id: "image", wrap: false }))
|
|
10679
10679
|
: null, [children, renderElement]);
|
|
10680
10680
|
const image = useFetchImageWithAuth(imageUrl);
|
|
10681
10681
|
const icon = React.useMemo(() => children?.some(({ id }) => id === "icon") ? (renderElement({ id: "icon", wrap: false })) : (jsxRuntime.jsx(uilibGl.Icon, { kind: "logo", style: { width: "2rem", height: "2rem" } })), [children, renderElement]);
|
package/dist/react.esm.js
CHANGED
|
@@ -10673,7 +10673,7 @@ const useDashboardHeader = () => {
|
|
|
10673
10673
|
const { url } = options || {};
|
|
10674
10674
|
const renderElement = useHeaderRender(header);
|
|
10675
10675
|
const imageUrl = useMemo(() => children?.some(({ id }) => id === "image")
|
|
10676
|
-
? renderElement({ id: "image", wrap: false })
|
|
10676
|
+
? getResourceUrl(renderElement({ id: "image", wrap: false }))
|
|
10677
10677
|
: null, [children, renderElement]);
|
|
10678
10678
|
const image = useFetchImageWithAuth(imageUrl);
|
|
10679
10679
|
const icon = useMemo(() => children?.some(({ id }) => id === "icon") ? (renderElement({ id: "icon", wrap: false })) : (jsx(Icon, { kind: "logo", style: { width: "2rem", height: "2rem" } })), [children, renderElement]);
|
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "4.0.
|
|
2
|
+
"version": "4.0.6",
|
|
3
3
|
"name": "@evergis/react",
|
|
4
4
|
"author": "Everpoint",
|
|
5
5
|
"license": "MIT",
|
|
@@ -87,5 +87,5 @@
|
|
|
87
87
|
"uuid": "^13.0.0",
|
|
88
88
|
"wkt": "^0.1.1"
|
|
89
89
|
},
|
|
90
|
-
"gitHead": "
|
|
90
|
+
"gitHead": "3a0c0f5b1c9d9b931054110b0a2fb8321abbe9cf"
|
|
91
91
|
}
|